[2025-01-07 00:00:01] Production.INFO: ==16699== Lock acquired, processing the job...
[2025-01-07 00:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:00:01] Production.INFO: neon service started
[2025-01-07 00:00:01] Production.INFO: neon service started
[2025-01-07 00:00:01] Production.INFO: ==16699== Releasing lock...
[2025-01-07 00:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:00:01] Production.INFO: ==16703== Lock acquired, processing the job...
[2025-01-07 00:00:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:00:01] Production.INFO: ==16703== Releasing lock...
[2025-01-07 00:00:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:00:01] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:00:01] Production.INFO: ==16701== Lock acquired, processing the job...
[2025-01-06 19:00:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 19:00:02] Production.INFO: ==16701== Releasing lock...
[2025-01-06 19:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 19:00:03] Production.INFO: ==16705== Lock acquired, processing the job...
[2025-01-06 19:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-06 19:00:03] Production.INFO: ==16707== Lock acquired, processing the job...
[2025-01-06 19:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:00:03] Production.INFO: ==16709== Lock acquired, processing the job...
[2025-01-06 19:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-06 19:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-06 19:00:03] Production.INFO: ==16705== Releasing lock...
[2025-01-06 19:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-06 19:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-06 19:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:00:03] Production.INFO: ==16716== Lock acquired, processing the job...
[2025-01-06 19:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:00:03] Production.INFO: ==16711== Lock acquired, processing the job...
[2025-01-06 19:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:00:03] Production.INFO: ==16713== Lock acquired, processing the job...
[2025-01-06 19:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:00:03] Production.INFO: ==16709== Releasing lock...
[2025-01-06 19:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:00:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:00:03] Production.INFO: ==16718== Lock acquired, processing the job...
[2025-01-06 19:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-06 19:00:03] Production.INFO: ==16720== Lock acquired, processing the job...
[2025-01-06 19:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:00:03] Production.INFO: Account Balance Start.
[2025-01-06 19:00:03] Production.INFO: CreateAllLog Start
[2025-01-06 19:00:03] Production.INFO: 117
[2025-01-06 19:00:03] Production.INFO: Date 2024-12-08
[2025-01-06 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-06 19:00:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:00:03] Production.INFO: count ==21
[2025-01-06 19:00:03] Production.INFO: Date 2024-12-09
[2025-01-06 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-06 19:00:04] Production.INFO: count ==21
[2025-01-06 19:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189552') start
[2025-01-06 19:00:04] Production.ERROR: done
[2025-01-06 19:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:00:04] Production.INFO: Date 2024-12-10
[2025-01-06 19:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:00:04] Production.ERROR: done
[2025-01-06 19:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189552') end
[2025-01-06 19:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:00:04] Production.INFO: 1
[2025-01-06 19:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:00:04] Production.INFO: Date 2024-12-11
[2025-01-06 19:00:04] Production.INFO: ==16720== Releasing lock...
[2025-01-06 19:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:00:04] Production.ERROR: done
[2025-01-06 19:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-06 19:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14189553', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) start
[2025-01-06 19:00:04] Production.INFO: Date 2024-12-12
[2025-01-06 19:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:00:04] Production.INFO: Date 2024-12-13
[2025-01-06 19:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:00:04] Production.INFO: Date 2024-12-14
[2025-01-06 19:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:00:04] Production.INFO: Date 2024-12-15
[2025-01-06 19:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:00:04] Production.INFO: Date 2024-12-16
[2025-01-06 19:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:00:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:00:04] Production.INFO: Date 2024-12-18
[2025-01-06 19:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:00:04] Production.INFO: Date 2024-12-19
[2025-01-06 19:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:00:04] Production.INFO: Date 2024-12-20
[2025-01-06 19:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:00:04] Production.INFO: Date 2024-12-21
[2025-01-06 19:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:00:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:00:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:00:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:00:04] Production.INFO: Date 2024-12-25
[2025-01-06 19:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:00:04] Production.INFO: Date 2024-12-26
[2025-01-06 19:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:00:04] Production.INFO: Date 2024-12-27
[2025-01-06 19:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:00:04] Production.INFO: Date 2024-12-28
[2025-01-06 19:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:00:04] Production.INFO: Date 2024-12-29
[2025-01-06 19:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:00:04] Production.INFO: Date 2024-12-30
[2025-01-06 19:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:00:04] Production.INFO: Date 2024-12-31
[2025-01-06 19:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:00:04] Production.INFO: Date 2025-01-01
[2025-01-06 19:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:00:04] Production.INFO: Date 2025-01-02
[2025-01-06 19:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:00:05] Production.INFO: Date 2025-01-03
[2025-01-06 19:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:00:05] Production.INFO: Date 2025-01-04
[2025-01-06 19:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:00:05] Production.INFO: Date 2025-01-05
[2025-01-06 19:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:00:05] Production.INFO: Date 2025-01-06
[2025-01-06 19:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:00:05] Production.INFO: Total Charge 0
[2025-01-06 19:00:05] Production.INFO: CreateAllLog End
[2025-01-06 19:00:05] Production.INFO: Account Balance End.
[2025-01-06 19:00:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:00:05] Production.INFO: ==16713== Releasing lock...
[2025-01-06 19:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:00:05
[end_date_ymd] => 2025-01-06 19:00:05
[RateCDR] => 1
)
[2025-01-06 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-06 16:00:05' and `end` < '2025-01-06 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-06 19:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14189553', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) end
[2025-01-06 19:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-06 19:00:08] Production.INFO: ProcessCDR(1,14189553,1,1,2)
[2025-01-06 19:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14189553,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14189553,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:00:08] Production.INFO: ==16718== Releasing lock...
[2025-01-06 19:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-06 19:00:08] Production.INFO: 26 MB #Memory Used#
[2025-01-06 19:00:14] Production.ERROR: CronJobId end10
[2025-01-06 19:00:14] Production.INFO: ==16711== Releasing lock...
[2025-01-06 19:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:00:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:00:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:00:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:00:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:00:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:00:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:00:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:00:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:00:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:00:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:00:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:00:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:00:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:00:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:00:15] Production.INFO: call_cost start
[2025-01-06 19:00:15] Production.INFO: call_cost end
[2025-01-06 19:00:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:00:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:00:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:00:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:00:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:00:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:00:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:00:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:00:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:00:15] Production.INFO: ==16707== Releasing lock...
[2025-01-06 19:00:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:00:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:00:19] Production.INFO: count ==3221
[2025-01-06 19:00:20] Production.ERROR: pbx CDR StartTime 2025-01-06 16:00:05 - End Time 2025-01-06 19:00:05
[2025-01-06 19:00:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189554', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189554', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189554', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189554', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:00:20] Production.INFO: ProcessCDR(1,14189554,1,1,2)
[2025-01-06 19:00:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189554,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189554,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189554,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189554,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189554', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189554', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:00:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:00:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:00:23] Production.INFO: ==16716== Releasing lock...
[2025-01-06 19:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:00:23] Production.INFO: 52 MB #Memory Used#
[2025-01-07 00:01:01] Production.INFO: ==16869== Lock acquired, processing the job...
[2025-01-07 00:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:01:01] Production.INFO: neon service started
[2025-01-07 00:01:02] Production.INFO: neon service started
[2025-01-07 00:01:02] Production.INFO: ==16869== Releasing lock...
[2025-01-07 00:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 19:01:02] Production.INFO: ==16880== Lock acquired, processing the job...
[2025-01-06 19:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:01:02] Production.INFO: ==16882== Lock acquired, processing the job...
[2025-01-07 00:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:01:02] Production.INFO: ==16882== Releasing lock...
[2025-01-07 00:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:01:02] Production.INFO: ==16880== Releasing lock...
[2025-01-06 19:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 19:01:03] Production.INFO: ==16889== Lock acquired, processing the job...
[2025-01-06 19:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:01:03] Production.INFO: ==16893== Lock acquired, processing the job...
[2025-01-06 19:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:01:03] Production.INFO: ==16885== Lock acquired, processing the job...
[2025-01-06 19:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:01:04] Production.INFO: ==16887== Lock acquired, processing the job...
[2025-01-06 19:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:01:04] Production.INFO: ==16891== Lock acquired, processing the job...
[2025-01-06 19:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:01:04] Production.INFO: ==16895== Lock acquired, processing the job...
[2025-01-06 19:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:01:04] Production.ERROR: done
[2025-01-06 19:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 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-06 19:01:04] Production.INFO: Account Balance Start.
[2025-01-06 19:01:04] Production.INFO: CreateAllLog Start
[2025-01-06 19:01:04] Production.INFO: 117
[2025-01-06 19:01:04] Production.INFO: Date 2024-12-08
[2025-01-06 19:01:04] Production.INFO: count ==21
[2025-01-06 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-06 19:01:04] Production.INFO: count ==21
[2025-01-06 19:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:01:04] Production.ERROR: done
[2025-01-06 19:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189557') start
[2025-01-06 19:01:04] Production.INFO: Date 2024-12-09
[2025-01-06 19:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:01:04] Production.INFO: ==16887== Releasing lock...
[2025-01-06 19:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189557') end
[2025-01-06 19:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:01:04] Production.INFO: 1
[2025-01-06 19:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:01:04] Production.INFO: Date 2024-12-10
[2025-01-06 19:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:01:04] Production.INFO: Date 2024-12-11
[2025-01-06 19:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:01:04] Production.INFO: ==16895== Releasing lock...
[2025-01-06 19:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:01:04] Production.INFO: Date 2024-12-12
[2025-01-06 19:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:01:04] Production.INFO: Date 2024-12-13
[2025-01-06 19:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:01:04] Production.INFO: Date 2024-12-14
[2025-01-06 19:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:01:04] Production.INFO: Date 2024-12-15
[2025-01-06 19:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:01:04] Production.INFO: Date 2024-12-16
[2025-01-06 19:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:01:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:01:05] Production.INFO: Date 2024-12-18
[2025-01-06 19:01:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:01:05] Production.INFO: Date 2024-12-19
[2025-01-06 19:01:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:01:05] Production.INFO: Date 2024-12-20
[2025-01-06 19:01:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:01:05] Production.INFO: Date 2024-12-21
[2025-01-06 19:01:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:01:05] Production.INFO: Date 2024-12-22
[2025-01-06 19:01:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:01:05] Production.INFO: Date 2024-12-23
[2025-01-06 19:01:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:01:05] Production.INFO: Date 2024-12-24
[2025-01-06 19:01:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:01:05] Production.INFO: Date 2024-12-25
[2025-01-06 19:01:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:01:05
[end_date_ymd] => 2025-01-06 19:01:05
[RateCDR] => 1
)
[2025-01-06 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-06 16:01:05' and `end` < '2025-01-06 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-06 19:01:05] Production.INFO: Date 2024-12-26
[2025-01-06 19:01:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:01:05] Production.INFO: Date 2024-12-27
[2025-01-06 19:01:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:01:05] Production.INFO: Date 2024-12-28
[2025-01-06 19:01:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:01:05] Production.INFO: Date 2024-12-29
[2025-01-06 19:01:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:01:05] Production.INFO: Date 2024-12-30
[2025-01-06 19:01:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:01:05] Production.INFO: Date 2024-12-31
[2025-01-06 19:01:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:01:05] Production.INFO: Date 2025-01-01
[2025-01-06 19:01:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:01:05] Production.INFO: Date 2025-01-02
[2025-01-06 19:01:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:01:05] Production.INFO: Date 2025-01-03
[2025-01-06 19:01:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:01:05] Production.INFO: Date 2025-01-04
[2025-01-06 19:01:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:01:05] Production.INFO: Date 2025-01-05
[2025-01-06 19:01:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:01:05] Production.INFO: Date 2025-01-06
[2025-01-06 19:01:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:01:05] Production.INFO: Total Charge 0
[2025-01-06 19:01:06] Production.INFO: CreateAllLog End
[2025-01-06 19:01:06] Production.INFO: Account Balance End.
[2025-01-06 19:01:06] Production.ERROR: CronJobId end 12
[2025-01-06 19:01:06] Production.INFO: ==16891== Releasing lock...
[2025-01-06 19:01:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:01:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:01:11] Production.ERROR: CronJobId end10
[2025-01-06 19:01:11] Production.INFO: ==16889== Releasing lock...
[2025-01-06 19:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:01:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:01:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:01:14] Production.INFO: call_cost start
[2025-01-06 19:01:14] Production.INFO: call_cost end
[2025-01-06 19:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:01:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:01:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:01:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:01:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:01:15] Production.INFO: ==16885== Releasing lock...
[2025-01-06 19:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:01:18] Production.INFO: count ==3143
[2025-01-06 19:01:19] Production.ERROR: pbx CDR StartTime 2025-01-06 16:01:05 - End Time 2025-01-06 19:01:05
[2025-01-06 19:01:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189559', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189559', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189559', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189559', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:01:19] Production.INFO: ProcessCDR(1,14189559,1,1,2)
[2025-01-06 19:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189559,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189559,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189559,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:01:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189559,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189559', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189559', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:01:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:01:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:01:23] Production.INFO: ==16893== Releasing lock...
[2025-01-06 19:01:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:01:23] Production.INFO: 52 MB #Memory Used#
[2025-01-07 00:02:01] Production.INFO: ==16962== Lock acquired, processing the job...
[2025-01-07 00:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:02:01] Production.INFO: neon service started
[2025-01-07 00:02:01] Production.INFO: neon service started
[2025-01-07 00:02:01] Production.INFO: ==16962== Releasing lock...
[2025-01-07 00:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:02:01] Production.INFO: ==16966== Lock acquired, processing the job...
[2025-01-07 00:02:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:02:01] Production.INFO: ==16966== Releasing lock...
[2025-01-07 00:02:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:02:01] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:02:02] Production.INFO: ==16964== Lock acquired, processing the job...
[2025-01-06 19:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 19:02:02] Production.INFO: ==16964== Releasing lock...
[2025-01-06 19:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 19:02:03] Production.INFO: ==16968== Lock acquired, processing the job...
[2025-01-06 19:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:02:03] Production.INFO: ==16970== Lock acquired, processing the job...
[2025-01-06 19:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:02:03] Production.INFO: ==16974== Lock acquired, processing the job...
[2025-01-06 19:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:02:03] Production.INFO: Account Balance Start.
[2025-01-06 19:02:03] Production.INFO: CreateAllLog Start
[2025-01-06 19:02:03] Production.INFO: 117
[2025-01-06 19:02:03] Production.INFO: Date 2024-12-08
[2025-01-06 19:02:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:02:03] Production.INFO: Date 2024-12-09
[2025-01-06 19:02:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:02:03] Production.INFO: Date 2024-12-10
[2025-01-06 19:02:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:02:03] Production.INFO: Date 2024-12-11
[2025-01-06 19:02:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:02:03] Production.INFO: Date 2024-12-12
[2025-01-06 19:02:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:02:03] Production.INFO: Date 2024-12-13
[2025-01-06 19:02:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:02:03] Production.INFO: ==16972== Lock acquired, processing the job...
[2025-01-06 19:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:02:03] Production.INFO: ==16970== Releasing lock...
[2025-01-06 19:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:02:03] Production.INFO: Date 2024-12-14
[2025-01-06 19:02:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:02:03] Production.INFO: Date 2024-12-15
[2025-01-06 19:02:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:02:03] Production.INFO: Date 2024-12-16
[2025-01-06 19:02:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:02:03] Production.INFO: ==16976== Lock acquired, processing the job...
[2025-01-06 19:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:02:03] Production.INFO: ==16978== Lock acquired, processing the job...
[2025-01-06 19:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:02:03] Production.INFO: Date 2024-12-17
[2025-01-06 19:02:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:02:03] Production.INFO: Date 2024-12-18
[2025-01-06 19:02:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:02:03] Production.INFO: Date 2024-12-19
[2025-01-06 19:02:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:02:03] Production.INFO: Date 2024-12-20
[2025-01-06 19:02:03] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 19:02:03] Production.INFO: Date 2024-12-21
[2025-01-06 19:02:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:02:03] Production.INFO: count ==21
[2025-01-06 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-06 19:02:03] Production.INFO: count ==21
[2025-01-06 19:02:03] Production.INFO: Date 2024-12-22
[2025-01-06 19:02:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189563') start
[2025-01-06 19:02:03] Production.INFO: Date 2024-12-23
[2025-01-06 19:02:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:02:03] Production.ERROR: done
[2025-01-06 19:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:02:03] Production.INFO: Date 2024-12-24
[2025-01-06 19:02:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:02:04] Production.INFO: Date 2024-12-25
[2025-01-06 19:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:02:04] Production.INFO: Date 2024-12-26
[2025-01-06 19:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189563') end
[2025-01-06 19:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:02:04] Production.INFO: 1
[2025-01-06 19:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:02:04] Production.INFO: Date 2024-12-27
[2025-01-06 19:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:02:04] Production.ERROR: done
[2025-01-06 19:02:04] Production.INFO: ==16978== Releasing lock...
[2025-01-06 19:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:02:04] Production.INFO: Date 2024-12-28
[2025-01-06 19:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:02:04] Production.INFO: Date 2024-12-29
[2025-01-06 19:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:02:04] Production.INFO: Date 2024-12-30
[2025-01-06 19:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:02:04] Production.INFO: Date 2024-12-31
[2025-01-06 19:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:02:04] Production.INFO: Date 2025-01-01
[2025-01-06 19:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:02:04] Production.INFO: Date 2025-01-02
[2025-01-06 19:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:02:04] Production.INFO: Date 2025-01-03
[2025-01-06 19:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:02:04] Production.INFO: Date 2025-01-04
[2025-01-06 19:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:02:04] Production.INFO: Date 2025-01-05
[2025-01-06 19:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:02:04] Production.INFO: Date 2025-01-06
[2025-01-06 19:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:02:04] Production.INFO: Total Charge 0
[2025-01-06 19:02:04] Production.INFO: CreateAllLog End
[2025-01-06 19:02:04] Production.INFO: Account Balance End.
[2025-01-06 19:02:04] Production.ERROR: CronJobId end 12
[2025-01-06 19:02:04] Production.INFO: ==16974== Releasing lock...
[2025-01-06 19:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:02:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:02:04
[end_date_ymd] => 2025-01-06 19:02:04
[RateCDR] => 1
)
[2025-01-06 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-06 16:02:04' and `end` < '2025-01-06 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-06 19:02:12] Production.ERROR: CronJobId end10
[2025-01-06 19:02:12] Production.INFO: ==16972== Releasing lock...
[2025-01-06 19:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:02:13] Production.INFO: call_cost start
[2025-01-06 19:02:13] Production.INFO: call_cost end
[2025-01-06 19:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:02:14] Production.INFO: ==16968== Releasing lock...
[2025-01-06 19:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:02:18] Production.INFO: count ==3105
[2025-01-06 19:02:19] Production.ERROR: pbx CDR StartTime 2025-01-06 16:02:04 - End Time 2025-01-06 19:02:04
[2025-01-06 19:02:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189564', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189564', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189564', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189564', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:02:19] Production.INFO: ProcessCDR(1,14189564,1,1,2)
[2025-01-06 19:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189564,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189564,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189564,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189564,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189564', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189564', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:02:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:02:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:02:22] Production.INFO: ==16976== Releasing lock...
[2025-01-06 19:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:02:22] Production.INFO: 51.5 MB #Memory Used#
[2025-01-07 00:03:01] Production.INFO: ==17043== Lock acquired, processing the job...
[2025-01-07 00:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:03:01] Production.INFO: neon service started
[2025-01-07 00:03:01] Production.INFO: neon service started
[2025-01-07 00:03:01] Production.INFO: ==17043== Releasing lock...
[2025-01-07 00:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 19:03:02] Production.INFO: ==17045== Lock acquired, processing the job...
[2025-01-06 19:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:03:02] Production.INFO: ==17047== Lock acquired, processing the job...
[2025-01-07 00:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:03:02] Production.INFO: ==17047== Releasing lock...
[2025-01-07 00:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:03:02] Production.INFO: ==17045== Releasing lock...
[2025-01-06 19:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 19:03:03] Production.INFO: ==17050== Lock acquired, processing the job...
[2025-01-06 19:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:03:03] Production.INFO: ==17052== Lock acquired, processing the job...
[2025-01-06 19:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:03:03] Production.INFO: ==17060== Lock acquired, processing the job...
[2025-01-06 19:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:03:03] Production.INFO: ==17054== Lock acquired, processing the job...
[2025-01-06 19:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:03:03] Production.INFO: ==17056== Lock acquired, processing the job...
[2025-01-06 19:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 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-06 19:03:03] Production.INFO: ==17052== Releasing lock...
[2025-01-06 19:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:03:03] Production.INFO: ==17058== Lock acquired, processing the job...
[2025-01-06 19:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:03:03] Production.INFO: count ==21
[2025-01-06 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-06 19:03:03] Production.INFO: count ==21
[2025-01-06 19:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189567') start
[2025-01-06 19:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:03:03] Production.INFO: Account Balance Start.
[2025-01-06 19:03:03] Production.INFO: CreateAllLog Start
[2025-01-06 19:03:03] Production.INFO: 117
[2025-01-06 19:03:03] Production.INFO: Date 2024-12-08
[2025-01-06 19:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:03:04] Production.INFO: Date 2024-12-09
[2025-01-06 19:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:03:04] Production.INFO: Date 2024-12-10
[2025-01-06 19:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189567') end
[2025-01-06 19:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:03:04] Production.INFO: 1
[2025-01-06 19:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:03:04] Production.INFO: ==17060== Releasing lock...
[2025-01-06 19:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:03:04] Production.INFO: Date 2024-12-11
[2025-01-06 19:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:03:04] Production.INFO: Date 2024-12-12
[2025-01-06 19:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:03:04] Production.INFO: Date 2024-12-13
[2025-01-06 19:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:03:04] Production.INFO: Date 2024-12-14
[2025-01-06 19:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:03:04] Production.INFO: Date 2024-12-15
[2025-01-06 19:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:03:04] Production.ERROR: done
[2025-01-06 19:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:03:04] Production.INFO: Date 2024-12-16
[2025-01-06 19:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:03:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:03:04] Production.INFO: Date 2024-12-18
[2025-01-06 19:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:03:04] Production.INFO: Date 2024-12-19
[2025-01-06 19:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:03:04] Production.ERROR: done
[2025-01-06 19:03:04] Production.INFO: Date 2024-12-20
[2025-01-06 19:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:03:04] Production.INFO: Date 2024-12-21
[2025-01-06 19:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:03:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:03:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:03:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:03:04] Production.INFO: Date 2024-12-25
[2025-01-06 19:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:03:05] Production.INFO: Date 2024-12-26
[2025-01-06 19:03:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:03:05] Production.INFO: Date 2024-12-27
[2025-01-06 19:03:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:03:05] Production.INFO: Date 2024-12-28
[2025-01-06 19:03:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:03:05] Production.INFO: Date 2024-12-29
[2025-01-06 19:03:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:03:05] Production.INFO: Date 2024-12-30
[2025-01-06 19:03:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:03:05] Production.INFO: Date 2024-12-31
[2025-01-06 19:03:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:03:05] Production.INFO: Date 2025-01-01
[2025-01-06 19:03:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:03:05] Production.INFO: Date 2025-01-02
[2025-01-06 19:03:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:03:05
[end_date_ymd] => 2025-01-06 19:03:05
[RateCDR] => 1
)
[2025-01-06 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-06 16:03:05' and `end` < '2025-01-06 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-06 19:03:05] Production.INFO: Date 2025-01-03
[2025-01-06 19:03:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:03:05] Production.INFO: Date 2025-01-04
[2025-01-06 19:03:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:03:05] Production.INFO: Date 2025-01-05
[2025-01-06 19:03:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:03:05] Production.INFO: Date 2025-01-06
[2025-01-06 19:03:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:03:05] Production.INFO: Total Charge 0
[2025-01-06 19:03:05] Production.INFO: CreateAllLog End
[2025-01-06 19:03:05] Production.INFO: Account Balance End.
[2025-01-06 19:03:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:03:05] Production.INFO: ==17056== Releasing lock...
[2025-01-06 19:03:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:03:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:03:11] Production.ERROR: CronJobId end10
[2025-01-06 19:03:11] Production.INFO: ==17054== Releasing lock...
[2025-01-06 19:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:03:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:03:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:03:14] Production.INFO: call_cost start
[2025-01-06 19:03:14] Production.INFO: call_cost end
[2025-01-06 19:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:03:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:03:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:03:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:03:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:03:15] Production.INFO: ==17050== Releasing lock...
[2025-01-06 19:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:03:19] Production.INFO: count ==3086
[2025-01-06 19:03:20] Production.ERROR: pbx CDR StartTime 2025-01-06 16:03:05 - End Time 2025-01-06 19:03:05
[2025-01-06 19:03:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189569', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189569', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189569', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189569', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:03:20] Production.INFO: ProcessCDR(1,14189569,1,1,2)
[2025-01-06 19:03:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189569,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:03:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189569,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:03:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189569,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:03:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189569,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189569', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189569', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:03:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:03:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:03:23] Production.INFO: ==17058== Releasing lock...
[2025-01-06 19:03:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:03:23] Production.INFO: 51.25 MB #Memory Used#
[2025-01-07 00:04:02] Production.INFO: ==17123== Lock acquired, processing the job...
[2025-01-07 00:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:04:02] Production.INFO: neon service started
[2025-01-07 00:04:02] Production.INFO: neon service started
[2025-01-07 00:04:02] Production.INFO: ==17123== Releasing lock...
[2025-01-07 00:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:04:02] Production.INFO: ==17128== Lock acquired, processing the job...
[2025-01-07 00:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-06 19:04:02] Production.INFO: ==17126== Lock acquired, processing the job...
[2025-01-06 19:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:04:02] Production.INFO: ==17128== Releasing lock...
[2025-01-07 00:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:04:03] Production.INFO: ==17126== Releasing lock...
[2025-01-06 19:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:04:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 19:04:04] Production.INFO: ==17132== Lock acquired, processing the job...
[2025-01-06 19:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:04:04] Production.INFO: ==17130== Lock acquired, processing the job...
[2025-01-06 19:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:04:04] Production.INFO: ==17140== Lock acquired, processing the job...
[2025-01-06 19:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:04:04] Production.INFO: ==17134== Lock acquired, processing the job...
[2025-01-06 19:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:04:04] Production.INFO: ==17136== Lock acquired, processing the job...
[2025-01-06 19:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:04:04] Production.INFO: ==17138== Lock acquired, processing the job...
[2025-01-06 19:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 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-06 19:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:04:04] Production.INFO: Account Balance Start.
[2025-01-06 19:04:04] Production.INFO: CreateAllLog Start
[2025-01-06 19:04:04] Production.INFO: 117
[2025-01-06 19:04:04] Production.INFO: count ==21
[2025-01-06 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-06 19:04:04] Production.INFO: count ==21
[2025-01-06 19:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189572') start
[2025-01-06 19:04:04] Production.INFO: ==17132== Releasing lock...
[2025-01-06 19:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:04:04] Production.INFO: Date 2024-12-08
[2025-01-06 19:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:04:04] Production.INFO: Date 2024-12-09
[2025-01-06 19:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:04:04] Production.INFO: Date 2024-12-10
[2025-01-06 19:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189572') end
[2025-01-06 19:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:04:04] Production.INFO: 1
[2025-01-06 19:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:04:04] Production.INFO: Date 2024-12-11
[2025-01-06 19:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:04:04] Production.ERROR: done
[2025-01-06 19:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:04:04] Production.INFO: ==17140== Releasing lock...
[2025-01-06 19:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:04:04] Production.INFO: Date 2024-12-12
[2025-01-06 19:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:04:04] Production.INFO: Date 2024-12-13
[2025-01-06 19:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:04:04] Production.INFO: Date 2024-12-14
[2025-01-06 19:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:04:04] Production.INFO: Date 2024-12-15
[2025-01-06 19:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:04:04] Production.ERROR: done
[2025-01-06 19:04:04] Production.INFO: Date 2024-12-16
[2025-01-06 19:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:04:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:04:04] Production.INFO: Date 2024-12-18
[2025-01-06 19:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:04:05] Production.INFO: Date 2024-12-19
[2025-01-06 19:04:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:04:05] Production.INFO: Date 2024-12-20
[2025-01-06 19:04:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:04:05] Production.INFO: Date 2024-12-21
[2025-01-06 19:04:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:04:05] Production.INFO: Date 2024-12-22
[2025-01-06 19:04:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:04:05] Production.INFO: Date 2024-12-23
[2025-01-06 19:04:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:04:05] Production.INFO: Date 2024-12-24
[2025-01-06 19:04:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:04:05] Production.INFO: Date 2024-12-25
[2025-01-06 19:04:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:04:05] Production.INFO: Date 2024-12-26
[2025-01-06 19:04:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:04:05] Production.INFO: Date 2024-12-27
[2025-01-06 19:04:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:04:05] Production.INFO: Date 2024-12-28
[2025-01-06 19:04:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:04:05] Production.INFO: Date 2024-12-29
[2025-01-06 19:04:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:04:05] Production.INFO: Date 2024-12-30
[2025-01-06 19:04:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:04:05] Production.INFO: Date 2024-12-31
[2025-01-06 19:04:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:04:05] Production.INFO: Date 2025-01-01
[2025-01-06 19:04:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:04:05] Production.INFO: Date 2025-01-02
[2025-01-06 19:04:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:04:05] Production.INFO: Date 2025-01-03
[2025-01-06 19:04:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:04:05] Production.INFO: Date 2025-01-04
[2025-01-06 19:04:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:04:05] Production.INFO: Date 2025-01-05
[2025-01-06 19:04:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:04:05] Production.INFO: Date 2025-01-06
[2025-01-06 19:04:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:04:05] Production.INFO: Total Charge 0
[2025-01-06 19:04:05] Production.INFO: CreateAllLog End
[2025-01-06 19:04:05] Production.INFO: Account Balance End.
[2025-01-06 19:04:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:04:05] Production.INFO: ==17136== Releasing lock...
[2025-01-06 19:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:04:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:04:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:04:06
[end_date_ymd] => 2025-01-06 19:04:06
[RateCDR] => 1
)
[2025-01-06 19:04:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 16:04:06' and `end` < '2025-01-06 19:04:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 19:04:13] Production.ERROR: CronJobId end10
[2025-01-06 19:04:13] Production.INFO: ==17134== Releasing lock...
[2025-01-06 19:04:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:04:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:04:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:04:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:04:14] Production.INFO: call_cost start
[2025-01-06 19:04:14] Production.INFO: call_cost end
[2025-01-06 19:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:04:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:04:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:04:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:04:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:04:15] Production.INFO: ==17130== Releasing lock...
[2025-01-06 19:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:04:19] Production.INFO: count ==3049
[2025-01-06 19:04:20] Production.ERROR: pbx CDR StartTime 2025-01-06 16:04:06 - End Time 2025-01-06 19:04:06
[2025-01-06 19:04:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189574', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189574', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189574', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189574', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:04:20] Production.INFO: ProcessCDR(1,14189574,1,1,2)
[2025-01-06 19:04:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189574,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:04:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189574,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:04:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189574,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:04:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189574,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189574', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189574', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:04:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:04:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:04:23] Production.INFO: ==17138== Releasing lock...
[2025-01-06 19:04:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:04:23] Production.INFO: 50.75 MB #Memory Used#
[2025-01-07 00:05:01] Production.INFO: ==17285== Lock acquired, processing the job...
[2025-01-07 00:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:05:01] Production.INFO: neon service started
[2025-01-07 00:05:01] Production.INFO: neon service started
[2025-01-07 00:05:01] Production.INFO: ==17285== Releasing lock...
[2025-01-07 00:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:05:02] Production.INFO: ==17289== Lock acquired, processing the job...
[2025-01-07 00:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:05:02] Production.INFO: ==17289== Releasing lock...
[2025-01-07 00:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:05:02] Production.INFO: ==17287== Lock acquired, processing the job...
[2025-01-06 19:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 19:05:02] Production.INFO: ==17287== Releasing lock...
[2025-01-06 19:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 19:05:03] Production.INFO: ==17298== Lock acquired, processing the job...
[2025-01-06 19:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:05:03] Production.INFO: ==17300== Lock acquired, processing the job...
[2025-01-06 19:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:05:03] Production.INFO: Account Balance Start.
[2025-01-06 19:05:03] Production.INFO: CreateAllLog Start
[2025-01-06 19:05:03] Production.INFO: 117
[2025-01-06 19:05:03] Production.INFO: Date 2024-12-08
[2025-01-06 19:05:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:05:03] Production.INFO: Date 2024-12-09
[2025-01-06 19:05:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:05:03] Production.INFO: Date 2024-12-10
[2025-01-06 19:05:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:05:03] Production.INFO: Date 2024-12-11
[2025-01-06 19:05:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:05:03] Production.INFO: ==17292== Lock acquired, processing the job...
[2025-01-06 19:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:05:03] Production.INFO: Date 2024-12-12
[2025-01-06 19:05:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:05:03] Production.INFO: ==17294== Lock acquired, processing the job...
[2025-01-06 19:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:05:03] Production.INFO: Date 2024-12-13
[2025-01-06 19:05:03] Production.INFO: ==17296== Lock acquired, processing the job...
[2025-01-06 19:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:05:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:05:03] Production.INFO: ==17302== Lock acquired, processing the job...
[2025-01-06 19:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:05:03] Production.INFO: Date 2024-12-14
[2025-01-06 19:05:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:05:03] Production.ERROR: done
[2025-01-06 19:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:05:03] Production.INFO: Date 2024-12-15
[2025-01-06 19:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:05:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:05:03] Production.INFO: Date 2024-12-16
[2025-01-06 19:05:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:05:03] Production.INFO: count ==21
[2025-01-06 19:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:05:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:05:04] Production.INFO: Date 2024-12-18
[2025-01-06 19:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 19:05:04] Production.INFO: count ==21
[2025-01-06 19:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189578') start
[2025-01-06 19:05:04] Production.ERROR: done
[2025-01-06 19:05:04] Production.INFO: Date 2024-12-19
[2025-01-06 19:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:05:04] Production.INFO: Date 2024-12-20
[2025-01-06 19:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:05:04] Production.INFO: ==17294== Releasing lock...
[2025-01-06 19:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:05:04] Production.INFO: Date 2024-12-21
[2025-01-06 19:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189578') end
[2025-01-06 19:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:05:04] Production.INFO: 1
[2025-01-06 19:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:05:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:05:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:05:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:05:04] Production.INFO: ==17302== Releasing lock...
[2025-01-06 19:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:05:04] Production.INFO: Date 2024-12-25
[2025-01-06 19:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:05:04] Production.INFO: Date 2024-12-26
[2025-01-06 19:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:05:04] Production.INFO: Date 2024-12-27
[2025-01-06 19:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:05:04] Production.INFO: Date 2024-12-28
[2025-01-06 19:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:05:04] Production.INFO: Date 2024-12-29
[2025-01-06 19:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:05:04] Production.INFO: Date 2024-12-30
[2025-01-06 19:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:05:04] Production.INFO: Date 2024-12-31
[2025-01-06 19:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:05:04] Production.INFO: Date 2025-01-01
[2025-01-06 19:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:05:04] Production.INFO: Date 2025-01-02
[2025-01-06 19:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:05:04] Production.INFO: Date 2025-01-03
[2025-01-06 19:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:05:04] Production.INFO: Date 2025-01-04
[2025-01-06 19:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:05:04] Production.INFO: Date 2025-01-05
[2025-01-06 19:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:05:04] Production.INFO: Date 2025-01-06
[2025-01-06 19:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:05:04] Production.INFO: Total Charge 0
[2025-01-06 19:05:04] Production.INFO: CreateAllLog End
[2025-01-06 19:05:04] Production.INFO: Account Balance End.
[2025-01-06 19:05:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:05:05] Production.INFO: ==17298== Releasing lock...
[2025-01-06 19:05:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:05:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:05:05
[end_date_ymd] => 2025-01-06 19:05:05
[RateCDR] => 1
)
[2025-01-06 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-06 16:05:05' and `end` < '2025-01-06 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-06 19:05:13] Production.ERROR: CronJobId end10
[2025-01-06 19:05:13] Production.INFO: ==17296== Releasing lock...
[2025-01-06 19:05:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:05:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:05:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:05:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:05:14] Production.INFO: call_cost start
[2025-01-06 19:05:14] Production.INFO: call_cost end
[2025-01-06 19:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:05:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:05:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:05:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:05:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:05:15] Production.INFO: ==17292== Releasing lock...
[2025-01-06 19:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:05:18] Production.INFO: count ==3028
[2025-01-06 19:05:19] Production.ERROR: pbx CDR StartTime 2025-01-06 16:05:05 - End Time 2025-01-06 19:05:05
[2025-01-06 19:05:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189579', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189579', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189579', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189579', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:05:19] Production.INFO: ProcessCDR(1,14189579,1,1,2)
[2025-01-06 19:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189579,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:05:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189579,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:05:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189579,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:05:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189579,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:05:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189579', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:05:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189579', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:05:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:05:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:05:24] Production.INFO: ==17300== Releasing lock...
[2025-01-06 19:05:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:05:24] Production.INFO: 51.5 MB #Memory Used#
[2025-01-07 00:06:02] Production.INFO: ==17370== Lock acquired, processing the job...
[2025-01-07 00:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:06:02] Production.INFO: neon service started
[2025-01-07 00:06:02] Production.INFO: neon service started
[2025-01-07 00:06:02] Production.INFO: ==17370== Releasing lock...
[2025-01-07 00:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 19:06:02] Production.INFO: ==17372== Lock acquired, processing the job...
[2025-01-06 19:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 19:06:02] Production.INFO: ==17372== Releasing lock...
[2025-01-06 19:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:06:03] Production.INFO: ==17374== Lock acquired, processing the job...
[2025-01-07 00:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:06:03] Production.INFO: ==17374== Releasing lock...
[2025-01-07 00:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:06:03] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:06:03] Production.INFO: ==17376== Lock acquired, processing the job...
[2025-01-06 19:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:06:03] Production.INFO: ==17384== Lock acquired, processing the job...
[2025-01-06 19:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:06:04] Production.INFO: ==17380== Lock acquired, processing the job...
[2025-01-06 19:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:06:04] Production.INFO: ==17378== Lock acquired, processing the job...
[2025-01-06 19:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:06:04] Production.INFO: ==17382== Lock acquired, processing the job...
[2025-01-06 19:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:06:04] Production.ERROR: done
[2025-01-06 19:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:06:04] Production.INFO: ==17386== Lock acquired, processing the job...
[2025-01-06 19:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:06:04] Production.ERROR: done
[2025-01-06 19:06:04] Production.INFO: Account Balance Start.
[2025-01-06 19:06:04] Production.INFO: CreateAllLog Start
[2025-01-06 19:06:04] Production.INFO: 117
[2025-01-06 19:06:04] Production.INFO: Date 2024-12-08
[2025-01-06 19:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:06:04] Production.INFO: count ==21
[2025-01-06 19:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:06:04] Production.INFO: count ==21
[2025-01-06 19:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189582') start
[2025-01-06 19:06:04] Production.INFO: Date 2024-12-09
[2025-01-06 19:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:06:04] Production.INFO: ==17378== Releasing lock...
[2025-01-06 19:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:06:04] Production.INFO: Date 2024-12-10
[2025-01-06 19:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:06:04] Production.INFO: Date 2024-12-11
[2025-01-06 19:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189582') end
[2025-01-06 19:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:06:04] Production.INFO: 1
[2025-01-06 19:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:06:04] Production.INFO: Date 2024-12-12
[2025-01-06 19:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:06:04] Production.INFO: Date 2024-12-13
[2025-01-06 19:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:06:04] Production.INFO: ==17386== Releasing lock...
[2025-01-06 19:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:06:04] Production.INFO: Date 2024-12-14
[2025-01-06 19:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:06:04] Production.INFO: Date 2024-12-15
[2025-01-06 19:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:06:04] Production.INFO: Date 2024-12-16
[2025-01-06 19:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:06:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:06:04] Production.INFO: Date 2024-12-18
[2025-01-06 19:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:06:05] Production.INFO: Date 2024-12-19
[2025-01-06 19:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:06:05] Production.INFO: Date 2024-12-20
[2025-01-06 19:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:06:05] Production.INFO: Date 2024-12-21
[2025-01-06 19:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:06:05] Production.INFO: Date 2024-12-22
[2025-01-06 19:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:06:05] Production.INFO: Date 2024-12-23
[2025-01-06 19:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:06:05] Production.INFO: Date 2024-12-24
[2025-01-06 19:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:06:05] Production.INFO: Date 2024-12-25
[2025-01-06 19:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:06:05] Production.INFO: Date 2024-12-26
[2025-01-06 19:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:06:05] Production.INFO: Date 2024-12-27
[2025-01-06 19:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:06:05] Production.INFO: Date 2024-12-28
[2025-01-06 19:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:06:05] Production.INFO: Date 2024-12-29
[2025-01-06 19:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:06:05] Production.INFO: Date 2024-12-30
[2025-01-06 19:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:06:05] Production.INFO: Date 2024-12-31
[2025-01-06 19:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:06:05] Production.INFO: Date 2025-01-01
[2025-01-06 19:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:06:05] Production.INFO: Date 2025-01-02
[2025-01-06 19:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:06:05] Production.INFO: Date 2025-01-03
[2025-01-06 19:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:06:05] Production.INFO: Date 2025-01-04
[2025-01-06 19:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:06:05] Production.INFO: Date 2025-01-05
[2025-01-06 19:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:06:05] Production.INFO: Date 2025-01-06
[2025-01-06 19:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:06:05] Production.INFO: Total Charge 0
[2025-01-06 19:06:05] Production.INFO: CreateAllLog End
[2025-01-06 19:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:06:05
[end_date_ymd] => 2025-01-06 19:06:05
[RateCDR] => 1
)
[2025-01-06 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-06 16:06:05' and `end` < '2025-01-06 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-06 19:06:05] Production.INFO: Account Balance End.
[2025-01-06 19:06:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:06:05] Production.INFO: ==17382== Releasing lock...
[2025-01-06 19:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:06:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:06:12] Production.ERROR: CronJobId end10
[2025-01-06 19:06:12] Production.INFO: ==17380== Releasing lock...
[2025-01-06 19:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:06:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:06:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:06:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:06:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:06:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:06:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:06:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:06:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:06:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:06:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:06:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:06:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:06:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:06:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:06:14] Production.INFO: call_cost start
[2025-01-06 19:06:14] Production.INFO: call_cost end
[2025-01-06 19:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:06:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:06:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:06:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:06:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:06:15] Production.INFO: ==17376== Releasing lock...
[2025-01-06 19:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:06:18] Production.INFO: count ==3030
[2025-01-06 19:06:19] Production.ERROR: pbx CDR StartTime 2025-01-06 16:06:05 - End Time 2025-01-06 19:06:05
[2025-01-06 19:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189584', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189584', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189584', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189584', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:06:20] Production.INFO: ProcessCDR(1,14189584,1,1,2)
[2025-01-06 19:06:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189584,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:06:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189584,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:06:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189584,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:06:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189584,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189584', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189584', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:06:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:06:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:06:23] Production.INFO: ==17384== Releasing lock...
[2025-01-06 19:06:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:06:23] Production.INFO: 50.5 MB #Memory Used#
[2025-01-07 00:07:01] Production.INFO: ==17454== Lock acquired, processing the job...
[2025-01-07 00:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:07:01] Production.INFO: neon service started
[2025-01-07 00:07:01] Production.INFO: neon service started
[2025-01-07 00:07:01] Production.INFO: ==17454== Releasing lock...
[2025-01-07 00:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 19:07:02] Production.INFO: ==17456== Lock acquired, processing the job...
[2025-01-06 19:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 19:07:02] Production.INFO: ==17456== Releasing lock...
[2025-01-06 19:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:07:02] Production.INFO: ==17458== Lock acquired, processing the job...
[2025-01-07 00:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:07:02] Production.INFO: ==17458== Releasing lock...
[2025-01-07 00:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:07:03] Production.INFO: ==17471== Lock acquired, processing the job...
[2025-01-06 19:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:07:03] Production.INFO: ==17469== Lock acquired, processing the job...
[2025-01-06 19:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:07:03] Production.INFO: ==17461== Lock acquired, processing the job...
[2025-01-06 19:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 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-06 19:07:03] Production.INFO: ==17465== Lock acquired, processing the job...
[2025-01-06 19:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:07:03] Production.INFO: ==17463== Lock acquired, processing the job...
[2025-01-06 19:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:07:03] Production.INFO: ==17467== Lock acquired, processing the job...
[2025-01-06 19:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:07:03] Production.INFO: count ==21
[2025-01-06 19:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 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-06 19:07:03] Production.INFO: count ==21
[2025-01-06 19:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189585') start
[2025-01-06 19:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:07:03] Production.INFO: Account Balance Start.
[2025-01-06 19:07:03] Production.INFO: CreateAllLog Start
[2025-01-06 19:07:03] Production.INFO: 117
[2025-01-06 19:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:07:03] Production.INFO: Date 2024-12-08
[2025-01-06 19:07:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189585') end
[2025-01-06 19:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:07:03] Production.INFO: 1
[2025-01-06 19:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:07:03] Production.ERROR: done
[2025-01-06 19:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:07:03] Production.INFO: Date 2024-12-09
[2025-01-06 19:07:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:07:03] Production.INFO: ==17471== Releasing lock...
[2025-01-06 19:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:07:03] Production.INFO: Date 2024-12-10
[2025-01-06 19:07:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:07:03] Production.INFO: ==17463== Releasing lock...
[2025-01-06 19:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:07:03] Production.INFO: Date 2024-12-11
[2025-01-06 19:07:03] Production.ERROR: done
[2025-01-06 19:07:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:07:03] Production.INFO: Date 2024-12-12
[2025-01-06 19:07:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:07:04] Production.INFO: Date 2024-12-13
[2025-01-06 19:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:07:04] Production.INFO: Date 2024-12-14
[2025-01-06 19:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:07:04] Production.INFO: Date 2024-12-15
[2025-01-06 19:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:07:04] Production.INFO: Date 2024-12-16
[2025-01-06 19:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:07:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:07:04] Production.INFO: Date 2024-12-18
[2025-01-06 19:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:07:04] Production.INFO: Date 2024-12-19
[2025-01-06 19:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:07:04] Production.INFO: Date 2024-12-20
[2025-01-06 19:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:07:04] Production.INFO: Date 2024-12-21
[2025-01-06 19:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:07:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:07:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:07:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:07:04] Production.INFO: Date 2024-12-25
[2025-01-06 19:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:07:04] Production.INFO: Date 2024-12-26
[2025-01-06 19:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:07:04] Production.INFO: Date 2024-12-27
[2025-01-06 19:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:07:04] Production.INFO: Date 2024-12-28
[2025-01-06 19:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:07:04] Production.INFO: Date 2024-12-29
[2025-01-06 19:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:07:04] Production.INFO: Date 2024-12-30
[2025-01-06 19:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:07:04] Production.INFO: Date 2024-12-31
[2025-01-06 19:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:07:04] Production.INFO: Date 2025-01-01
[2025-01-06 19:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:07:04] Production.INFO: Date 2025-01-02
[2025-01-06 19:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:07:04] Production.INFO: Date 2025-01-03
[2025-01-06 19:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:07:04] Production.INFO: Date 2025-01-04
[2025-01-06 19:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:07:04
[end_date_ymd] => 2025-01-06 19:07:04
[RateCDR] => 1
)
[2025-01-06 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-06 16:07:04' and `end` < '2025-01-06 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-06 19:07:04] Production.INFO: Date 2025-01-05
[2025-01-06 19:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:07:04] Production.INFO: Date 2025-01-06
[2025-01-06 19:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:07:04] Production.INFO: Total Charge 0
[2025-01-06 19:07:04] Production.INFO: CreateAllLog End
[2025-01-06 19:07:05] Production.INFO: Account Balance End.
[2025-01-06 19:07:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:07:05] Production.INFO: ==17467== Releasing lock...
[2025-01-06 19:07:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:07:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:07:12] Production.ERROR: CronJobId end10
[2025-01-06 19:07:12] Production.INFO: ==17465== Releasing lock...
[2025-01-06 19:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:07:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:07:12] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:07:12] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:07:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:07:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:07:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:07:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:07:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:07:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:07:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:07:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:07:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:07:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:07:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:07:13] Production.INFO: call_cost start
[2025-01-06 19:07:13] Production.INFO: call_cost end
[2025-01-06 19:07:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:07:13] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:07:13] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:07:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:07:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:07:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:07:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:07:13] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:07:13] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:07:13] Production.INFO: ==17461== Releasing lock...
[2025-01-06 19:07:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:07:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:07:18] Production.INFO: count ==3007
[2025-01-06 19:07:19] Production.ERROR: pbx CDR StartTime 2025-01-06 16:07:04 - End Time 2025-01-06 19:07:04
[2025-01-06 19:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189589', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189589', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189589', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189589', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:07:19] Production.INFO: ProcessCDR(1,14189589,1,1,2)
[2025-01-06 19:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189589,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:07:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189589,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:07:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189589,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:07:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189589,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189589', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189589', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:07:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:07:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:07:23] Production.INFO: ==17469== Releasing lock...
[2025-01-06 19:07:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:07:23] Production.INFO: 51.5 MB #Memory Used#
[2025-01-07 00:08:02] Production.INFO: ==17656== Lock acquired, processing the job...
[2025-01-07 00:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:08:02] Production.INFO: neon service started
[2025-01-07 00:08:02] Production.INFO: neon service started
[2025-01-07 00:08:02] Production.INFO: ==17656== Releasing lock...
[2025-01-07 00:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 19:08:02] Production.INFO: ==17658== Lock acquired, processing the job...
[2025-01-06 19:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 19:08:02] Production.INFO: ==17658== Releasing lock...
[2025-01-06 19:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:08:02] Production.INFO: ==17660== Lock acquired, processing the job...
[2025-01-07 00:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:08:03] Production.INFO: ==17660== Releasing lock...
[2025-01-07 00:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:08:03] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:08:03] Production.INFO: ==17672== Lock acquired, processing the job...
[2025-01-06 19:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:08:03] Production.INFO: ==17664== Lock acquired, processing the job...
[2025-01-06 19:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:08:03] Production.INFO: ==17662== Lock acquired, processing the job...
[2025-01-06 19:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 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-06 19:08:03] Production.INFO: ==17666== Lock acquired, processing the job...
[2025-01-06 19:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:08:03] Production.INFO: ==17668== Lock acquired, processing the job...
[2025-01-06 19:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:08:03] Production.INFO: count ==21
[2025-01-06 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-06 19:08:03] Production.INFO: count ==21
[2025-01-06 19:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189590') start
[2025-01-06 19:08:03] Production.INFO: ==17670== Lock acquired, processing the job...
[2025-01-06 19:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:08:03] Production.INFO: Account Balance Start.
[2025-01-06 19:08:03] Production.INFO: CreateAllLog Start
[2025-01-06 19:08:03] Production.INFO: 117
[2025-01-06 19:08:03] Production.INFO: ==17664== Releasing lock...
[2025-01-06 19:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:08:03] Production.INFO: Date 2024-12-08
[2025-01-06 19:08:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:08:03] Production.INFO: Date 2024-12-09
[2025-01-06 19:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189590') end
[2025-01-06 19:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:08:04] Production.INFO: 1
[2025-01-06 19:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:08:04] Production.INFO: ==17672== Releasing lock...
[2025-01-06 19:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:08:04] Production.INFO: Date 2024-12-10
[2025-01-06 19:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:08:04] Production.INFO: Date 2024-12-11
[2025-01-06 19:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:08:04] Production.INFO: Date 2024-12-12
[2025-01-06 19:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:08:04] Production.INFO: Date 2024-12-13
[2025-01-06 19:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:08:04] Production.INFO: Date 2024-12-14
[2025-01-06 19:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:08:04] Production.ERROR: done
[2025-01-06 19:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:08:04] Production.INFO: Date 2024-12-15
[2025-01-06 19:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:08:04] Production.INFO: Date 2024-12-16
[2025-01-06 19:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:08:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:08:04] Production.INFO: Date 2024-12-18
[2025-01-06 19:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:08:04] Production.ERROR: done
[2025-01-06 19:08:04] Production.INFO: Date 2024-12-19
[2025-01-06 19:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:08:04] Production.INFO: Date 2024-12-20
[2025-01-06 19:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:08:04] Production.INFO: Date 2024-12-21
[2025-01-06 19:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:08:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:08:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:08:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:08:04] Production.INFO: Date 2024-12-25
[2025-01-06 19:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:08:04] Production.INFO: Date 2024-12-26
[2025-01-06 19:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:08:04] Production.INFO: Date 2024-12-27
[2025-01-06 19:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:08:04] Production.INFO: Date 2024-12-28
[2025-01-06 19:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:08:04] Production.INFO: Date 2024-12-29
[2025-01-06 19:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:08:04] Production.INFO: Date 2024-12-30
[2025-01-06 19:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:08:04] Production.INFO: Date 2024-12-31
[2025-01-06 19:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:08:04] Production.INFO: Date 2025-01-01
[2025-01-06 19:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:08:04] Production.INFO: Date 2025-01-02
[2025-01-06 19:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:08:04] Production.INFO: Date 2025-01-03
[2025-01-06 19:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:08:04] Production.INFO: Date 2025-01-04
[2025-01-06 19:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:08:04] Production.INFO: Date 2025-01-05
[2025-01-06 19:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:08:04] Production.INFO: Date 2025-01-06
[2025-01-06 19:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:08:04] Production.INFO: Total Charge 0
[2025-01-06 19:08:04] Production.INFO: CreateAllLog End
[2025-01-06 19:08:05] Production.INFO: Account Balance End.
[2025-01-06 19:08:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:08:05] Production.INFO: ==17668== Releasing lock...
[2025-01-06 19:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:08:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:08:05
[end_date_ymd] => 2025-01-06 19:08:05
[RateCDR] => 1
)
[2025-01-06 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-06 16:08:05' and `end` < '2025-01-06 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-06 19:08:12] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:362
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(362): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_update...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(363): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#4 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->statement()
#5 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::getOutstandingAmount()
#6 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_updateSOAOffSet(1,0))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(363): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#2 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->statement()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::getOutstandingAmount()
#4 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#7 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 {main}
[2025-01-06 19:08:12] Production.ERROR: CronJobId end10
[2025-01-06 19:08:12] Production.INFO: ==17666== Releasing lock...
[2025-01-06 19:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:08:14] Production.INFO: call_cost start
[2025-01-06 19:08:14] Production.INFO: call_cost end
[2025-01-06 19:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:08:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:08:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:08:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:08:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:08:15] Production.INFO: ==17662== Releasing lock...
[2025-01-06 19:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:08:18] Production.INFO: count ==2986
[2025-01-06 19:08:19] Production.ERROR: pbx CDR StartTime 2025-01-06 16:08:05 - End Time 2025-01-06 19:08:05
[2025-01-06 19:08:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189594', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189594', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189594', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189594', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:08:19] Production.INFO: ProcessCDR(1,14189594,1,1,2)
[2025-01-06 19:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189594,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:08:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189594,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:08:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189594,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:08:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189594,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189594', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189594', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:08:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:08:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:08:24] Production.INFO: ==17670== Releasing lock...
[2025-01-06 19:08:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:08:24] Production.INFO: 50.25 MB #Memory Used#
[2025-01-07 00:09:01] Production.INFO: ==17743== Lock acquired, processing the job...
[2025-01-07 00:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:09:01] Production.INFO: neon service started
[2025-01-07 00:09:01] Production.INFO: neon service started
[2025-01-07 00:09:01] Production.INFO: ==17743== Releasing lock...
[2025-01-07 00:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 19:09:01] Production.INFO: ==17745== Lock acquired, processing the job...
[2025-01-06 19:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 19:09:02] Production.INFO: ==17745== Releasing lock...
[2025-01-06 19:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:09:02] Production.INFO: ==17747== Lock acquired, processing the job...
[2025-01-07 00:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:09:02] Production.INFO: ==17747== Releasing lock...
[2025-01-07 00:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:09:02] Production.INFO: ==17749== Lock acquired, processing the job...
[2025-01-06 19:09:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:09:02] Production.INFO: ==17753== Lock acquired, processing the job...
[2025-01-06 19:09:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:09:02] Production.INFO: ==17751== Lock acquired, processing the job...
[2025-01-06 19:09:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:09:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:09:03] Production.INFO: ==17758== Lock acquired, processing the job...
[2025-01-06 19:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:09:03] Production.INFO: ==17760== Lock acquired, processing the job...
[2025-01-06 19:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:09:03] Production.INFO: ==17756== Lock acquired, processing the job...
[2025-01-06 19:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:09:03] Production.INFO: ==17751== Releasing lock...
[2025-01-06 19:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:09:03] Production.INFO: Account Balance Start.
[2025-01-06 19:09:03] Production.INFO: CreateAllLog Start
[2025-01-06 19:09:03] Production.INFO: 117
[2025-01-06 19:09:03] Production.INFO: Date 2024-12-08
[2025-01-06 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-06 19:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:09:03] Production.INFO: count ==21
[2025-01-06 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-06 19:09:03] Production.INFO: count ==21
[2025-01-06 19:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189598') start
[2025-01-06 19:09:03] Production.INFO: Date 2024-12-09
[2025-01-06 19:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:09:03] Production.INFO: Date 2024-12-10
[2025-01-06 19:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:09:03] Production.ERROR: done
[2025-01-06 19:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:09:03] Production.INFO: Date 2024-12-11
[2025-01-06 19:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:09:03] Production.INFO: Date 2024-12-12
[2025-01-06 19:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:09:03] Production.INFO: Date 2024-12-13
[2025-01-06 19:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189598') end
[2025-01-06 19:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:09:03] Production.INFO: 1
[2025-01-06 19:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:09:03] Production.INFO: ==17760== Releasing lock...
[2025-01-06 19:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:09:03] Production.ERROR: done
[2025-01-06 19:09:03] Production.INFO: Date 2024-12-14
[2025-01-06 19:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:09:03] Production.INFO: Date 2024-12-15
[2025-01-06 19:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:09:03] Production.INFO: Date 2024-12-16
[2025-01-06 19:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:09:03] Production.INFO: Date 2024-12-17
[2025-01-06 19:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:09:03] Production.INFO: Date 2024-12-18
[2025-01-06 19:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:09:03] Production.INFO: Date 2024-12-19
[2025-01-06 19:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:09:03] Production.INFO: Date 2024-12-20
[2025-01-06 19:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:09:04] Production.INFO: Date 2024-12-21
[2025-01-06 19:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:09:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:09:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:09:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:09:04] Production.INFO: Date 2024-12-25
[2025-01-06 19:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:09:04] Production.INFO: Date 2024-12-26
[2025-01-06 19:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:09:04] Production.INFO: Date 2024-12-27
[2025-01-06 19:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:09:04] Production.INFO: Date 2024-12-28
[2025-01-06 19:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:09:04] Production.INFO: Date 2024-12-29
[2025-01-06 19:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:09:04] Production.INFO: Date 2024-12-30
[2025-01-06 19:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:09:04] Production.INFO: Date 2024-12-31
[2025-01-06 19:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:09:04] Production.INFO: Date 2025-01-01
[2025-01-06 19:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:09:04] Production.INFO: Date 2025-01-02
[2025-01-06 19:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:09:04] Production.INFO: Date 2025-01-03
[2025-01-06 19:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:09:04] Production.INFO: Date 2025-01-04
[2025-01-06 19:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:09:04] Production.INFO: Date 2025-01-05
[2025-01-06 19:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:09:04] Production.INFO: Date 2025-01-06
[2025-01-06 19:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:09:04] Production.INFO: Total Charge 0
[2025-01-06 19:09:04] Production.INFO: CreateAllLog End
[2025-01-06 19:09:04] Production.INFO: Account Balance End.
[2025-01-06 19:09:04] Production.ERROR: CronJobId end 12
[2025-01-06 19:09:04] Production.INFO: ==17756== Releasing lock...
[2025-01-06 19:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:09:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:09:04
[end_date_ymd] => 2025-01-06 19:09:04
[RateCDR] => 1
)
[2025-01-06 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-06 16:09:04' and `end` < '2025-01-06 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-06 19:09:11] Production.ERROR: CronJobId end10
[2025-01-06 19:09:11] Production.INFO: ==17753== Releasing lock...
[2025-01-06 19:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:09:13] Production.INFO: call_cost start
[2025-01-06 19:09:13] Production.INFO: call_cost end
[2025-01-06 19:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:09:14] Production.INFO: ==17749== Releasing lock...
[2025-01-06 19:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:09:18] Production.INFO: count ==2965
[2025-01-06 19:09:19] Production.ERROR: pbx CDR StartTime 2025-01-06 16:09:04 - End Time 2025-01-06 19:09:04
[2025-01-06 19:09:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189599', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189599', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189599', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189599', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:09:19] Production.INFO: ProcessCDR(1,14189599,1,1,2)
[2025-01-06 19:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189599,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:09:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189599,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:09:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189599,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:09:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189599,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:09:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189599', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:09:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189599', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:09:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:09:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:09:24] Production.INFO: ==17758== Releasing lock...
[2025-01-06 19:09:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:09:24] Production.INFO: 50 MB #Memory Used#
[2025-01-07 00:10:01] Production.INFO: ==17823== Lock acquired, processing the job...
[2025-01-07 00:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:10:02] Production.INFO: neon service started
[2025-01-07 00:10:02] Production.INFO: neon service started
[2025-01-07 00:10:02] Production.INFO: ==17823== Releasing lock...
[2025-01-07 00:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 19:10:02] Production.INFO: ==17825== Lock acquired, processing the job...
[2025-01-06 19:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:10:02] Production.INFO: ==17827== Lock acquired, processing the job...
[2025-01-07 00:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:10:02] Production.INFO: ==17827== Releasing lock...
[2025-01-07 00:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:10:03] Production.INFO: ==17825== Releasing lock...
[2025-01-06 19:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 19:10:03] Production.INFO: ==17832== Lock acquired, processing the job...
[2025-01-06 19:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:10:03] Production.INFO: ==17834== Lock acquired, processing the job...
[2025-01-06 19:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:10:03] Production.INFO: ==17830== Lock acquired, processing the job...
[2025-01-06 19:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-06 19:10:04] Production.INFO: ==17838== Lock acquired, processing the job...
[2025-01-06 19:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:10:04] Production.INFO: Account Balance Start.
[2025-01-06 19:10:04] Production.INFO: CreateAllLog Start
[2025-01-06 19:10:04] Production.INFO: 117
[2025-01-06 19:10:04] Production.INFO: Date 2024-12-08
[2025-01-06 19:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-06 19:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 19:10:04] Production.ERROR: CronJob PID - 17832
[2025-01-06 19:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-06 19:10:04] Production.ERROR: CronJob ID - 5
[2025-01-06 19:10:04] Production.ERROR: CronJob Last Run Time 2025-01-06 19:10:00
[2025-01-06 19:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 19:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 19:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 19:10:04] Production.ERROR: CronJob PID - 17834
[2025-01-06 19:10:04] Production.ERROR: CronJob Title - Account Block
[2025-01-06 19:10:04] Production.ERROR: CronJob ID - 7
[2025-01-06 19:10:04] Production.ERROR: CronJob Last Run Time 2025-01-06 19:10:00
[2025-01-06 19:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 19:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 19:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 19:10:04] Production.ERROR: CronJob PID - 17838
[2025-01-06 19:10:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-06 19:10:04] Production.ERROR: CronJob ID - 12
[2025-01-06 19:10:04] Production.ERROR: CronJob Last Run Time 2025-01-06 19:10:00
[2025-01-06 19:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 19:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 19:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:10:04] Production.INFO: ==17836== Lock acquired, processing the job...
[2025-01-06 19:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-06 19:10:04] Production.INFO: ==17830== Releasing lock...
[2025-01-06 19:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-06 19:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-06 19:10:04] Production.INFO: Date 2024-12-09
[2025-01-06 19:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:10:04] Production.INFO: Date 2024-12-10
[2025-01-06 19:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:10:04] Production.INFO: ==17834== Releasing lock...
[2025-01-06 19:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:10:04] Production.INFO: Date 2024-12-11
[2025-01-06 19:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:10:04] Production.INFO: ==17840== Lock acquired, processing the job...
[2025-01-06 19:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:10:04] Production.INFO: ==17842== Lock acquired, processing the job...
[2025-01-06 19:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-06 19:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:10:04] Production.INFO: Date 2024-12-12
[2025-01-06 19:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:10:04] Production.INFO: ==17844== Lock acquired, processing the job...
[2025-01-06 19:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:10:04] Production.INFO: Date 2024-12-13
[2025-01-06 19:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:10:04] Production.INFO: Date 2024-12-14
[2025-01-06 19:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:10:04] Production.INFO: Date 2024-12-15
[2025-01-06 19:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:10:04] Production.INFO: Date 2024-12-16
[2025-01-06 19:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:10:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:10:04] Production.ERROR: done
[2025-01-06 19:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 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-06 19:10:04] Production.INFO: count ==21
[2025-01-06 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-06 19:10:04] Production.INFO: count ==21
[2025-01-06 19:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189603') start
[2025-01-06 19:10:04] Production.ERROR: done
[2025-01-06 19:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189603') end
[2025-01-06 19:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:10:04] Production.INFO: 1
[2025-01-06 19:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:10:04] Production.INFO: Date 2024-12-18
[2025-01-06 19:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:10:04] Production.ERROR: done
[2025-01-06 19:10:05] Production.INFO: Date 2024-12-19
[2025-01-06 19:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:10:05] Production.INFO: Date 2024-12-20
[2025-01-06 19:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:10:05] Production.INFO: ==17844== Releasing lock...
[2025-01-06 19:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:10:05] Production.INFO: Date 2024-12-21
[2025-01-06 19:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-06 19:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14189605', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) start
[2025-01-06 19:10:05] Production.INFO: Date 2024-12-22
[2025-01-06 19:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:10:05] Production.INFO: Date 2024-12-23
[2025-01-06 19:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:10:05] Production.INFO: Date 2024-12-24
[2025-01-06 19:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:10:05] Production.INFO: Date 2024-12-25
[2025-01-06 19:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:10:05] Production.INFO: Date 2024-12-26
[2025-01-06 19:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:10:05] Production.INFO: Date 2024-12-27
[2025-01-06 19:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:10:05] Production.INFO: Date 2024-12-28
[2025-01-06 19:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:10:05] Production.INFO: Date 2024-12-29
[2025-01-06 19:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:10:05] Production.INFO: Date 2024-12-30
[2025-01-06 19:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:10:05
[end_date_ymd] => 2025-01-06 19:10:05
[RateCDR] => 1
)
[2025-01-06 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-06 16:10:05' and `end` < '2025-01-06 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-06 19:10:05] Production.INFO: Date 2024-12-31
[2025-01-06 19:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:10:06] Production.INFO: Date 2025-01-01
[2025-01-06 19:10:06] Production.INFO: Reseller ==> 0
[2025-01-06 19:10:06] Production.INFO: Date 2025-01-02
[2025-01-06 19:10:06] Production.INFO: Reseller ==> 0
[2025-01-06 19:10:06] Production.INFO: Date 2025-01-03
[2025-01-06 19:10:06] Production.INFO: Reseller ==> 0
[2025-01-06 19:10:06] Production.INFO: Date 2025-01-04
[2025-01-06 19:10:06] Production.INFO: Reseller ==> 0
[2025-01-06 19:10:06] Production.INFO: Date 2025-01-05
[2025-01-06 19:10:06] Production.INFO: Reseller ==> 0
[2025-01-06 19:10:06] Production.INFO: Date 2025-01-06
[2025-01-06 19:10:06] Production.INFO: Reseller ==> 0
[2025-01-06 19:10:06] Production.INFO: Total Charge 0
[2025-01-06 19:10:06] Production.INFO: CreateAllLog End
[2025-01-06 19:10:06] Production.INFO: Account Balance End.
[2025-01-06 19:10:06] Production.ERROR: CronJobId end 12
[2025-01-06 19:10:06] Production.INFO: ==17838== Releasing lock...
[2025-01-06 19:10:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:10:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14189605', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) end
[2025-01-06 19:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-06 19:10:09] Production.INFO: ProcessCDR(1,14189605,1,1,2)
[2025-01-06 19:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14189605,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14189605,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:10:09] Production.INFO: ==17842== Releasing lock...
[2025-01-06 19:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-06 19:10:09] Production.INFO: 26 MB #Memory Used#
[2025-01-06 19:10:14] Production.ERROR: CronJobId end10
[2025-01-06 19:10:14] Production.INFO: ==17836== Releasing lock...
[2025-01-06 19:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:10:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:10:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:10:16] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:10:16] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:10:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:10:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:10:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:10:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:10:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:10:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:10:16] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:10:16] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:10:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:10:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:10:16] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:10:16] Production.INFO: call_cost start
[2025-01-06 19:10:16] Production.INFO: call_cost end
[2025-01-06 19:10:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:10:17] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:10:17] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:10:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:10:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:10:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:10:17] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:10:17] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:10:17] Production.INFO: ==17832== Releasing lock...
[2025-01-06 19:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:10:19] Production.INFO: count ==2939
[2025-01-06 19:10:20] Production.ERROR: pbx CDR StartTime 2025-01-06 16:10:05 - End Time 2025-01-06 19:10:05
[2025-01-06 19:10:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189604', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189604', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189604', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189604', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:10:20] Production.INFO: ProcessCDR(1,14189604,1,1,2)
[2025-01-06 19:10:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189604,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:10:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189604,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:10:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189604,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:10:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189604,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:10:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189604', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:10:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189604', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:10:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:10:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:10:25] Production.INFO: ==17840== Releasing lock...
[2025-01-06 19:10:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:10:25] Production.INFO: 50 MB #Memory Used#
[2025-01-07 00:11:01] Production.INFO: ==17905== Lock acquired, processing the job...
[2025-01-07 00:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:11:01] Production.INFO: neon service started
[2025-01-07 00:11:01] Production.INFO: neon service started
[2025-01-07 00:11:01] Production.INFO: ==17905== Releasing lock...
[2025-01-07 00:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:11:01] Production.INFO: ==17909== Lock acquired, processing the job...
[2025-01-07 00:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:11:01] Production.INFO: ==17909== Releasing lock...
[2025-01-07 00:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:11:01] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:11:01] Production.INFO: ==17907== Lock acquired, processing the job...
[2025-01-06 19:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 19:11:02] Production.INFO: ==17907== Releasing lock...
[2025-01-06 19:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 19:11:02] Production.INFO: ==17916== Lock acquired, processing the job...
[2025-01-06 19:11:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:11:02] Production.INFO: ==17912== Lock acquired, processing the job...
[2025-01-06 19:11:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:11:03] Production.INFO: ==17918== Lock acquired, processing the job...
[2025-01-06 19:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:11:03] Production.INFO: Account Balance Start.
[2025-01-06 19:11:03] Production.INFO: CreateAllLog Start
[2025-01-06 19:11:03] Production.INFO: 117
[2025-01-06 19:11:03] Production.INFO: Date 2024-12-08
[2025-01-06 19:11:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:11:03] Production.INFO: Date 2024-12-09
[2025-01-06 19:11:03] Production.INFO: ==17914== Lock acquired, processing the job...
[2025-01-06 19:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:11:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:11:03] Production.INFO: Date 2024-12-10
[2025-01-06 19:11:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:11:03] Production.INFO: Date 2024-12-11
[2025-01-06 19:11:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:11:03] Production.INFO: ==17920== Lock acquired, processing the job...
[2025-01-06 19:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:11:03] Production.INFO: Date 2024-12-12
[2025-01-06 19:11:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:11:03] Production.INFO: ==17922== Lock acquired, processing the job...
[2025-01-06 19:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:11:03] Production.INFO: Date 2024-12-13
[2025-01-06 19:11:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:11:03] Production.INFO: Date 2024-12-14
[2025-01-06 19:11:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:11:03] Production.INFO: Date 2024-12-15
[2025-01-06 19:11:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:11:03] Production.INFO: Date 2024-12-16
[2025-01-06 19:11:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:11:03] Production.INFO: ==17914== Releasing lock...
[2025-01-06 19:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 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-06 19:11:03] Production.INFO: count ==21
[2025-01-06 19:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:11:03] Production.INFO: count ==21
[2025-01-06 19:11:03] Production.INFO: Date 2024-12-17
[2025-01-06 19:11:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189609') start
[2025-01-06 19:11:03] Production.INFO: Date 2024-12-18
[2025-01-06 19:11:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:11:03] Production.ERROR: done
[2025-01-06 19:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:11:03] Production.INFO: Date 2024-12-19
[2025-01-06 19:11:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189609') end
[2025-01-06 19:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:11:03] Production.INFO: 1
[2025-01-06 19:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:11:03] Production.INFO: Date 2024-12-20
[2025-01-06 19:11:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:11:03] Production.INFO: Date 2024-12-21
[2025-01-06 19:11:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:11:03] Production.INFO: Date 2024-12-22
[2025-01-06 19:11:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:11:03] Production.INFO: ==17922== Releasing lock...
[2025-01-06 19:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:11:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:11:04] Production.ERROR: done
[2025-01-06 19:11:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:11:04] Production.INFO: Date 2024-12-25
[2025-01-06 19:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:11:04] Production.INFO: Date 2024-12-26
[2025-01-06 19:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:11:04] Production.INFO: Date 2024-12-27
[2025-01-06 19:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:11:04] Production.INFO: Date 2024-12-28
[2025-01-06 19:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:11:04] Production.INFO: Date 2024-12-29
[2025-01-06 19:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:11:04] Production.INFO: Date 2024-12-30
[2025-01-06 19:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:11:04] Production.INFO: Date 2024-12-31
[2025-01-06 19:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:11:04] Production.INFO: Date 2025-01-01
[2025-01-06 19:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:11:04] Production.INFO: Date 2025-01-02
[2025-01-06 19:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:11:04] Production.INFO: Date 2025-01-03
[2025-01-06 19:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:11:04] Production.INFO: Date 2025-01-04
[2025-01-06 19:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:11:04] Production.INFO: Date 2025-01-05
[2025-01-06 19:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:11:04] Production.INFO: Date 2025-01-06
[2025-01-06 19:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:11:04] Production.INFO: Total Charge 0
[2025-01-06 19:11:04] Production.INFO: CreateAllLog End
[2025-01-06 19:11:04] Production.INFO: Account Balance End.
[2025-01-06 19:11:04] Production.ERROR: CronJobId end 12
[2025-01-06 19:11:04] Production.INFO: ==17918== Releasing lock...
[2025-01-06 19:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:11:05
[end_date_ymd] => 2025-01-06 19:11:05
[RateCDR] => 1
)
[2025-01-06 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-06 16:11:05' and `end` < '2025-01-06 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-06 19:11:11] Production.ERROR: CronJobId end10
[2025-01-06 19:11:11] Production.INFO: ==17916== Releasing lock...
[2025-01-06 19:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:11:13] Production.INFO: call_cost start
[2025-01-06 19:11:13] Production.INFO: call_cost end
[2025-01-06 19:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:11:14] Production.INFO: ==17912== Releasing lock...
[2025-01-06 19:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:11:18] Production.INFO: count ==2883
[2025-01-06 19:11:19] Production.ERROR: pbx CDR StartTime 2025-01-06 16:11:05 - End Time 2025-01-06 19:11:05
[2025-01-06 19:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189610', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189610', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189610', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189610', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:11:19] Production.INFO: ProcessCDR(1,14189610,1,1,2)
[2025-01-06 19:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189610,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189610,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189610,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189610,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189610', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189610', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:11:22] Production.INFO: ==17920== Releasing lock...
[2025-01-06 19:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:11:22] Production.INFO: 49.5 MB #Memory Used#
[2025-01-07 00:12:01] Production.INFO: ==18068== Lock acquired, processing the job...
[2025-01-07 00:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:12:01] Production.INFO: neon service started
[2025-01-07 00:12:01] Production.INFO: neon service started
[2025-01-07 00:12:01] Production.INFO: ==18068== Releasing lock...
[2025-01-07 00:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 19:12:02] Production.INFO: ==18070== Lock acquired, processing the job...
[2025-01-06 19:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:12:02] Production.INFO: ==18072== Lock acquired, processing the job...
[2025-01-07 00:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:12:02] Production.INFO: ==18072== Releasing lock...
[2025-01-07 00:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:12:02] Production.INFO: ==18070== Releasing lock...
[2025-01-06 19:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 19:12:03] Production.INFO: ==18075== Lock acquired, processing the job...
[2025-01-06 19:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:12:03] Production.INFO: ==18077== Lock acquired, processing the job...
[2025-01-06 19:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:12:03] Production.INFO: ==18084== Lock acquired, processing the job...
[2025-01-06 19:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:12:03] Production.INFO: ==18079== Lock acquired, processing the job...
[2025-01-06 19:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:12:03] Production.INFO: ==18081== Lock acquired, processing the job...
[2025-01-06 19:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:12:03] Production.INFO: ==18077== Releasing lock...
[2025-01-06 19:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:12:03] Production.INFO: ==18086== Lock acquired, processing the job...
[2025-01-06 19:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:12:03] Production.INFO: Account Balance Start.
[2025-01-06 19:12:03] Production.INFO: CreateAllLog Start
[2025-01-06 19:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:12:04] Production.INFO: 117
[2025-01-06 19:12:04] Production.ERROR: done
[2025-01-06 19:12:04] Production.INFO: Date 2024-12-08
[2025-01-06 19:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:12:04] Production.INFO: Date 2024-12-09
[2025-01-06 19:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:12:04] Production.INFO: count ==21
[2025-01-06 19:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:12:04] Production.INFO: Date 2024-12-10
[2025-01-06 19:12:04] Production.INFO: count ==21
[2025-01-06 19:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189614') start
[2025-01-06 19:12:04] Production.ERROR: done
[2025-01-06 19:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:12:04] Production.INFO: Date 2024-12-11
[2025-01-06 19:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:12:04] Production.INFO: Date 2024-12-12
[2025-01-06 19:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189614') end
[2025-01-06 19:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:12:04] Production.INFO: 1
[2025-01-06 19:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:12:04] Production.INFO: ==18086== Releasing lock...
[2025-01-06 19:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:12:04] Production.INFO: Date 2024-12-13
[2025-01-06 19:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:12:04] Production.INFO: Date 2024-12-14
[2025-01-06 19:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:12:04] Production.INFO: Date 2024-12-15
[2025-01-06 19:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:12:04] Production.INFO: Date 2024-12-16
[2025-01-06 19:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:12:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:12:04] Production.INFO: Date 2024-12-18
[2025-01-06 19:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:12:04] Production.INFO: Date 2024-12-19
[2025-01-06 19:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:12:04] Production.INFO: Date 2024-12-20
[2025-01-06 19:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:12:04] Production.INFO: Date 2024-12-21
[2025-01-06 19:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:12:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:12:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:12:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:12:04] Production.INFO: Date 2024-12-25
[2025-01-06 19:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:12:04] Production.INFO: Date 2024-12-26
[2025-01-06 19:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:12:04] Production.INFO: Date 2024-12-27
[2025-01-06 19:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:12:04] Production.INFO: Date 2024-12-28
[2025-01-06 19:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:12:04] Production.INFO: Date 2024-12-29
[2025-01-06 19:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:12:04] Production.INFO: Date 2024-12-30
[2025-01-06 19:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:12:04] Production.INFO: Date 2024-12-31
[2025-01-06 19:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:12:04] Production.INFO: Date 2025-01-01
[2025-01-06 19:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:12:04] Production.INFO: Date 2025-01-02
[2025-01-06 19:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:12:05] Production.INFO: Date 2025-01-03
[2025-01-06 19:12:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:12:05] Production.INFO: Date 2025-01-04
[2025-01-06 19:12:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:12:05] Production.INFO: Date 2025-01-05
[2025-01-06 19:12:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:12:05] Production.INFO: Date 2025-01-06
[2025-01-06 19:12:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:12:05] Production.INFO: Total Charge 0
[2025-01-06 19:12:05] Production.INFO: CreateAllLog End
[2025-01-06 19:12:05] Production.INFO: Account Balance End.
[2025-01-06 19:12:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:12:05] Production.INFO: ==18081== Releasing lock...
[2025-01-06 19:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:12:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:12:05
[end_date_ymd] => 2025-01-06 19:12:05
[RateCDR] => 1
)
[2025-01-06 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-06 16:12:05' and `end` < '2025-01-06 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-06 19:12:13] Production.ERROR: CronJobId end10
[2025-01-06 19:12:13] Production.INFO: ==18079== Releasing lock...
[2025-01-06 19:12:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:12:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:12:14] Production.INFO: call_cost start
[2025-01-06 19:12:14] Production.INFO: call_cost end
[2025-01-06 19:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:12:14] Production.INFO: ==18075== Releasing lock...
[2025-01-06 19:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:12:18] Production.INFO: count ==2855
[2025-01-06 19:12:19] Production.ERROR: pbx CDR StartTime 2025-01-06 16:12:05 - End Time 2025-01-06 19:12:05
[2025-01-06 19:12:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189615', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189615', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189615', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189615', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:12:19] Production.INFO: ProcessCDR(1,14189615,1,1,2)
[2025-01-06 19:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189615,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189615,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189615,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189615,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189615', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189615', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:12:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:12:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:12:22] Production.INFO: ==18084== Releasing lock...
[2025-01-06 19:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:12:22] Production.INFO: 49.5 MB #Memory Used#
[2025-01-07 00:13:02] Production.INFO: ==18153== Lock acquired, processing the job...
[2025-01-07 00:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:13:02] Production.INFO: neon service started
[2025-01-07 00:13:02] Production.INFO: neon service started
[2025-01-07 00:13:02] Production.INFO: ==18153== Releasing lock...
[2025-01-07 00:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:13:02] Production.INFO: ==18158== Lock acquired, processing the job...
[2025-01-07 00:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:13:02] Production.INFO: ==18158== Releasing lock...
[2025-01-07 00:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:13:02] Production.INFO: ==18156== Lock acquired, processing the job...
[2025-01-06 19:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 19:13:03] Production.INFO: ==18156== Releasing lock...
[2025-01-06 19:13:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:13:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 19:13:03] Production.INFO: ==18161== Lock acquired, processing the job...
[2025-01-06 19:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:13:03] Production.INFO: ==18164== Lock acquired, processing the job...
[2025-01-06 19:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:13:03] Production.INFO: ==18172== Lock acquired, processing the job...
[2025-01-06 19:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 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-06 19:13:04] Production.INFO: ==18166== Lock acquired, processing the job...
[2025-01-06 19:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:13:04] Production.INFO: count ==21
[2025-01-06 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-06 19:13:04] Production.INFO: count ==21
[2025-01-06 19:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189618') start
[2025-01-06 19:13:04] Production.INFO: ==18168== Lock acquired, processing the job...
[2025-01-06 19:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:13:04] Production.INFO: ==18164== Releasing lock...
[2025-01-06 19:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:13:04] Production.INFO: ==18170== Lock acquired, processing the job...
[2025-01-06 19:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:13:04] Production.INFO: Account Balance Start.
[2025-01-06 19:13:04] Production.INFO: CreateAllLog Start
[2025-01-06 19:13:04] Production.INFO: 117
[2025-01-06 19:13:04] Production.INFO: Date 2024-12-08
[2025-01-06 19:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189618') end
[2025-01-06 19:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:13:04] Production.INFO: 1
[2025-01-06 19:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:13:04] Production.INFO: Date 2024-12-09
[2025-01-06 19:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:13:04] Production.INFO: Date 2024-12-10
[2025-01-06 19:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:13:04] Production.INFO: ==18172== Releasing lock...
[2025-01-06 19:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:13:04] Production.INFO: Date 2024-12-11
[2025-01-06 19:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:13:04] Production.INFO: Date 2024-12-12
[2025-01-06 19:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:13:04] Production.INFO: Date 2024-12-13
[2025-01-06 19:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:13:04] Production.INFO: Date 2024-12-14
[2025-01-06 19:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:13:04] Production.ERROR: done
[2025-01-06 19:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:13:04] Production.INFO: Date 2024-12-15
[2025-01-06 19:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:13:04] Production.INFO: Date 2024-12-16
[2025-01-06 19:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:13:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:13:04] Production.ERROR: done
[2025-01-06 19:13:05] Production.INFO: Date 2024-12-18
[2025-01-06 19:13:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:13:05] Production.INFO: Date 2024-12-19
[2025-01-06 19:13:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:13:05] Production.INFO: Date 2024-12-20
[2025-01-06 19:13:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:13:05] Production.INFO: Date 2024-12-21
[2025-01-06 19:13:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:13:05] Production.INFO: Date 2024-12-22
[2025-01-06 19:13:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:13:05] Production.INFO: Date 2024-12-23
[2025-01-06 19:13:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:13:05] Production.INFO: Date 2024-12-24
[2025-01-06 19:13:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:13:05] Production.INFO: Date 2024-12-25
[2025-01-06 19:13:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:13:05] Production.INFO: Date 2024-12-26
[2025-01-06 19:13:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:13:05] Production.INFO: Date 2024-12-27
[2025-01-06 19:13:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:13:05] Production.INFO: Date 2024-12-28
[2025-01-06 19:13:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:13:05] Production.INFO: Date 2024-12-29
[2025-01-06 19:13:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:13:05] Production.INFO: Date 2024-12-30
[2025-01-06 19:13:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:13:05] Production.INFO: Date 2024-12-31
[2025-01-06 19:13:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:13:05] Production.INFO: Date 2025-01-01
[2025-01-06 19:13:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:13:05] Production.INFO: Date 2025-01-02
[2025-01-06 19:13:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:13:05] Production.INFO: Date 2025-01-03
[2025-01-06 19:13:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:13:05] Production.INFO: Date 2025-01-04
[2025-01-06 19:13:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:13:05] Production.INFO: Date 2025-01-05
[2025-01-06 19:13:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:13:05] Production.INFO: Date 2025-01-06
[2025-01-06 19:13:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:13:05] Production.INFO: Total Charge 0
[2025-01-06 19:13:05] Production.INFO: CreateAllLog End
[2025-01-06 19:13:05] Production.INFO: Account Balance End.
[2025-01-06 19:13:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:13:05] Production.INFO: ==18168== Releasing lock...
[2025-01-06 19:13:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:13:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:13:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:13:06
[end_date_ymd] => 2025-01-06 19:13:06
[RateCDR] => 1
)
[2025-01-06 19:13:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 16:13:06' and `end` < '2025-01-06 19:13:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 19:13:13] Production.ERROR: CronJobId end10
[2025-01-06 19:13:13] Production.INFO: ==18166== Releasing lock...
[2025-01-06 19:13:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:13:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:13:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:13:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:13:14] Production.INFO: call_cost start
[2025-01-06 19:13:14] Production.INFO: call_cost end
[2025-01-06 19:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:13:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:13:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:13:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:13:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:13:15] Production.INFO: ==18161== Releasing lock...
[2025-01-06 19:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:13:19] Production.INFO: count ==2845
[2025-01-06 19:13:20] Production.ERROR: pbx CDR StartTime 2025-01-06 16:13:06 - End Time 2025-01-06 19:13:06
[2025-01-06 19:13:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189620', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189620', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189620', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189620', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:13:20] Production.INFO: ProcessCDR(1,14189620,1,1,2)
[2025-01-06 19:13:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189620,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:13:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189620,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:13:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189620,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:13:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189620,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:13:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189620', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:13:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189620', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:13:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:13:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:13:24] Production.INFO: ==18170== Releasing lock...
[2025-01-06 19:13:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:13:24] Production.INFO: 49.5 MB #Memory Used#
[2025-01-07 00:14:01] Production.INFO: ==18241== Lock acquired, processing the job...
[2025-01-07 00:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:14:01] Production.INFO: neon service started
[2025-01-07 00:14:01] Production.INFO: neon service started
[2025-01-07 00:14:01] Production.INFO: ==18241== Releasing lock...
[2025-01-07 00:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 19:14:02] Production.INFO: ==18243== Lock acquired, processing the job...
[2025-01-06 19:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:14:02] Production.INFO: ==18245== Lock acquired, processing the job...
[2025-01-07 00:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:14:02] Production.INFO: ==18245== Releasing lock...
[2025-01-07 00:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:14:02] Production.INFO: ==18243== Releasing lock...
[2025-01-06 19:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 19:14:03] Production.INFO: ==18248== Lock acquired, processing the job...
[2025-01-06 19:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:14:03] Production.INFO: ==18254== Lock acquired, processing the job...
[2025-01-06 19:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:14:03] Production.INFO: ==18256== Lock acquired, processing the job...
[2025-01-06 19:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:14:03] Production.INFO: Account Balance Start.
[2025-01-06 19:14:03] Production.INFO: CreateAllLog Start
[2025-01-06 19:14:03] Production.INFO: 117
[2025-01-06 19:14:03] Production.INFO: Date 2024-12-08
[2025-01-06 19:14:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:14:03] Production.INFO: Date 2024-12-09
[2025-01-06 19:14:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:14:03] Production.INFO: Date 2024-12-10
[2025-01-06 19:14:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:14:03] Production.INFO: ==18258== Lock acquired, processing the job...
[2025-01-06 19:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:14:03] Production.INFO: ==18250== Lock acquired, processing the job...
[2025-01-06 19:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:14:03] Production.INFO: ==18252== Lock acquired, processing the job...
[2025-01-06 19:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:14:03] Production.INFO: Date 2024-12-11
[2025-01-06 19:14:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:14:03] Production.INFO: Date 2024-12-12
[2025-01-06 19:14:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:14:03] Production.ERROR: done
[2025-01-06 19:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:14:03] Production.INFO: Date 2024-12-13
[2025-01-06 19:14:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 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-06 19:14:03] Production.INFO: Date 2024-12-14
[2025-01-06 19:14:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:14:04] Production.INFO: count ==21
[2025-01-06 19:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:14:04] Production.INFO: count ==21
[2025-01-06 19:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189623') start
[2025-01-06 19:14:04] Production.INFO: Date 2024-12-15
[2025-01-06 19:14:04] Production.ERROR: done
[2025-01-06 19:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:14:04] Production.INFO: Date 2024-12-16
[2025-01-06 19:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:14:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:14:04] Production.INFO: ==18250== Releasing lock...
[2025-01-06 19:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:14:04] Production.INFO: Date 2024-12-18
[2025-01-06 19:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189623') end
[2025-01-06 19:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:14:04] Production.INFO: 1
[2025-01-06 19:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:14:04] Production.INFO: Date 2024-12-19
[2025-01-06 19:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:14:04] Production.INFO: ==18258== Releasing lock...
[2025-01-06 19:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:14:04] Production.INFO: Date 2024-12-20
[2025-01-06 19:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:14:04] Production.INFO: Date 2024-12-21
[2025-01-06 19:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:14:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:14:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:14:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:14:04] Production.INFO: Date 2024-12-25
[2025-01-06 19:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:14:04] Production.INFO: Date 2024-12-26
[2025-01-06 19:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:14:04] Production.INFO: Date 2024-12-27
[2025-01-06 19:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:14:04] Production.INFO: Date 2024-12-28
[2025-01-06 19:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:14:04] Production.INFO: Date 2024-12-29
[2025-01-06 19:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:14:04] Production.INFO: Date 2024-12-30
[2025-01-06 19:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:14:04] Production.INFO: Date 2024-12-31
[2025-01-06 19:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:14:04] Production.INFO: Date 2025-01-01
[2025-01-06 19:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:14:04] Production.INFO: Date 2025-01-02
[2025-01-06 19:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:14:04] Production.INFO: Date 2025-01-03
[2025-01-06 19:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:14:04] Production.INFO: Date 2025-01-04
[2025-01-06 19:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:14:05] Production.INFO: Date 2025-01-05
[2025-01-06 19:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:14:05] Production.INFO: Date 2025-01-06
[2025-01-06 19:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:14:05] Production.INFO: Total Charge 0
[2025-01-06 19:14:05] Production.INFO: CreateAllLog End
[2025-01-06 19:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:14:05
[end_date_ymd] => 2025-01-06 19:14:05
[RateCDR] => 1
)
[2025-01-06 19:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 16:14:05' and `end` < '2025-01-06 19:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 19:14:05] Production.INFO: Account Balance End.
[2025-01-06 19:14:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:14:05] Production.INFO: ==18254== Releasing lock...
[2025-01-06 19:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:14:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:14:12] Production.ERROR: CronJobId end10
[2025-01-06 19:14:12] Production.INFO: ==18252== Releasing lock...
[2025-01-06 19:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:14:13] Production.INFO: call_cost start
[2025-01-06 19:14:13] Production.INFO: call_cost end
[2025-01-06 19:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:14:14] Production.INFO: ==18248== Releasing lock...
[2025-01-06 19:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:14:18] Production.INFO: count ==2822
[2025-01-06 19:14:19] Production.ERROR: pbx CDR StartTime 2025-01-06 16:14:05 - End Time 2025-01-06 19:14:05
[2025-01-06 19:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189625', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189625', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189625', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189625', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:14:19] Production.INFO: ProcessCDR(1,14189625,1,1,2)
[2025-01-06 19:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189625,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:14:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189625,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:14:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189625,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:14:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189625,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189625', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189625', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:14:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:14:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:14:23] Production.INFO: ==18256== Releasing lock...
[2025-01-06 19:14:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:14:23] Production.INFO: 49.25 MB #Memory Used#
[2025-01-07 00:15:02] Production.INFO: ==18403== Lock acquired, processing the job...
[2025-01-07 00:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:15:02] Production.INFO: neon service started
[2025-01-07 00:15:02] Production.INFO: neon service started
[2025-01-07 00:15:02] Production.INFO: ==18403== Releasing lock...
[2025-01-07 00:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:15:02] Production.INFO: ==18407== Lock acquired, processing the job...
[2025-01-07 00:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:15:02] Production.INFO: ==18407== Releasing lock...
[2025-01-07 00:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:15:02] Production.INFO: ==18405== Lock acquired, processing the job...
[2025-01-06 19:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 19:15:02] Production.INFO: ==18405== Releasing lock...
[2025-01-06 19:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 19:15:03] Production.INFO: ==18411== Lock acquired, processing the job...
[2025-01-06 19:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:15:03] Production.INFO: ==18417== Lock acquired, processing the job...
[2025-01-06 19:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:15:03] Production.INFO: ==18409== Lock acquired, processing the job...
[2025-01-06 19:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:15:03] Production.INFO: ==18413== Lock acquired, processing the job...
[2025-01-06 19:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:15:03] Production.INFO: ==18415== Lock acquired, processing the job...
[2025-01-06 19:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:15:04] Production.INFO: ==18411== Releasing lock...
[2025-01-06 19:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:15:04] Production.INFO: ==18419== Lock acquired, processing the job...
[2025-01-06 19:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:15:04] Production.INFO: Account Balance Start.
[2025-01-06 19:15:04] Production.INFO: CreateAllLog Start
[2025-01-06 19:15:04] Production.INFO: 117
[2025-01-06 19:15:04] Production.INFO: Date 2024-12-08
[2025-01-06 19:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:15:04] Production.ERROR: done
[2025-01-06 19:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:15:04] Production.INFO: Date 2024-12-09
[2025-01-06 19:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:15:04] Production.INFO: count ==21
[2025-01-06 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-06 19:15:04] Production.INFO: count ==21
[2025-01-06 19:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189629') start
[2025-01-06 19:15:04] Production.ERROR: done
[2025-01-06 19:15:04] Production.INFO: Date 2024-12-10
[2025-01-06 19:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:15:04] Production.INFO: Date 2024-12-11
[2025-01-06 19:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:15:04] Production.INFO: Date 2024-12-12
[2025-01-06 19:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:15:04] Production.INFO: Date 2024-12-13
[2025-01-06 19:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189629') end
[2025-01-06 19:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:15:04] Production.INFO: 1
[2025-01-06 19:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:15:04] Production.INFO: Date 2024-12-14
[2025-01-06 19:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:15:04] Production.INFO: Date 2024-12-15
[2025-01-06 19:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:15:04] Production.INFO: Date 2024-12-16
[2025-01-06 19:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:15:04] Production.INFO: ==18419== Releasing lock...
[2025-01-06 19:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:15:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:15:04] Production.INFO: Date 2024-12-18
[2025-01-06 19:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:15:04] Production.INFO: Date 2024-12-19
[2025-01-06 19:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:15:04] Production.INFO: Date 2024-12-20
[2025-01-06 19:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:15:04] Production.INFO: Date 2024-12-21
[2025-01-06 19:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:15:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:15:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:15:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:15:04] Production.INFO: Date 2024-12-25
[2025-01-06 19:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:15:04] Production.INFO: Date 2024-12-26
[2025-01-06 19:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:15:04] Production.INFO: Date 2024-12-27
[2025-01-06 19:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:15:05] Production.INFO: Date 2024-12-28
[2025-01-06 19:15:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:15:05] Production.INFO: Date 2024-12-29
[2025-01-06 19:15:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:15:05] Production.INFO: Date 2024-12-30
[2025-01-06 19:15:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:15:05] Production.INFO: Date 2024-12-31
[2025-01-06 19:15:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:15:05] Production.INFO: Date 2025-01-01
[2025-01-06 19:15:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:15:05] Production.INFO: Date 2025-01-02
[2025-01-06 19:15:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:15:05] Production.INFO: Date 2025-01-03
[2025-01-06 19:15:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:15:05] Production.INFO: Date 2025-01-04
[2025-01-06 19:15:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:15:05] Production.INFO: Date 2025-01-05
[2025-01-06 19:15:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:15:05] Production.INFO: Date 2025-01-06
[2025-01-06 19:15:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:15:05] Production.INFO: Total Charge 0
[2025-01-06 19:15:05] Production.INFO: CreateAllLog End
[2025-01-06 19:15:05] Production.INFO: Account Balance End.
[2025-01-06 19:15:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:15:05] Production.INFO: ==18415== Releasing lock...
[2025-01-06 19:15:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:15:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:15:05
[end_date_ymd] => 2025-01-06 19:15:05
[RateCDR] => 1
)
[2025-01-06 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-06 16:15:05' and `end` < '2025-01-06 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-06 19:15:13] Production.ERROR: CronJobId end10
[2025-01-06 19:15:13] Production.INFO: ==18413== Releasing lock...
[2025-01-06 19:15:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:15:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:15:14] Production.INFO: call_cost start
[2025-01-06 19:15:14] Production.INFO: call_cost end
[2025-01-06 19:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:15:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:15:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:15:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:15:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:15:15] Production.INFO: ==18409== Releasing lock...
[2025-01-06 19:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:15:20] Production.INFO: count ==2801
[2025-01-06 19:15:20] Production.ERROR: pbx CDR StartTime 2025-01-06 16:15:05 - End Time 2025-01-06 19:15:05
[2025-01-06 19:15:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189630', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189630', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189630', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189630', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:15:21] Production.INFO: ProcessCDR(1,14189630,1,1,2)
[2025-01-06 19:15:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189630,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:15:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189630,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:15:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189630,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:15:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189630,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:15:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189630', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:15:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189630', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:15:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:15:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:15:24] Production.INFO: ==18417== Releasing lock...
[2025-01-06 19:15:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:15:24] Production.INFO: 49 MB #Memory Used#
[2025-01-07 00:16:01] Production.INFO: ==18482== Lock acquired, processing the job...
[2025-01-07 00:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:16:01] Production.INFO: neon service started
[2025-01-07 00:16:01] Production.INFO: neon service started
[2025-01-07 00:16:01] Production.INFO: ==18482== Releasing lock...
[2025-01-07 00:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 19:16:02] Production.INFO: ==18484== Lock acquired, processing the job...
[2025-01-06 19:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:16:02] Production.INFO: ==18486== Lock acquired, processing the job...
[2025-01-07 00:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-06 19:16:02] Production.INFO: ==18484== Releasing lock...
[2025-01-06 19:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:16:02] Production.INFO: ==18486== Releasing lock...
[2025-01-07 00:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:16:03] Production.INFO: ==18497== Lock acquired, processing the job...
[2025-01-06 19:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:16:03] Production.INFO: ==18499== Lock acquired, processing the job...
[2025-01-06 19:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:16:03] Production.INFO: ==18489== Lock acquired, processing the job...
[2025-01-06 19:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:16:03] Production.INFO: ==18491== Lock acquired, processing the job...
[2025-01-06 19:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:16:03] Production.INFO: ==18493== Lock acquired, processing the job...
[2025-01-06 19:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:16:03] Production.INFO: ==18495== Lock acquired, processing the job...
[2025-01-06 19:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:16:03] Production.INFO: count ==21
[2025-01-06 19:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:16:03] Production.INFO: count ==21
[2025-01-06 19:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189631') start
[2025-01-06 19:16:03] Production.INFO: Account Balance Start.
[2025-01-06 19:16:03] Production.INFO: CreateAllLog Start
[2025-01-06 19:16:03] Production.INFO: 117
[2025-01-06 19:16:03] Production.INFO: Date 2024-12-08
[2025-01-06 19:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:16:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189631') end
[2025-01-06 19:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:16:03] Production.INFO: 1
[2025-01-06 19:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:16:03] Production.INFO: Date 2024-12-09
[2025-01-06 19:16:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:16:03] Production.INFO: ==18499== Releasing lock...
[2025-01-06 19:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:16:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:16:03] Production.ERROR: done
[2025-01-06 19:16:03] Production.INFO: Date 2024-12-10
[2025-01-06 19:16:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:16:03] Production.INFO: Date 2024-12-11
[2025-01-06 19:16:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:16:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:16:03] Production.INFO: ==18491== Releasing lock...
[2025-01-06 19:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:16:03] Production.INFO: Date 2024-12-12
[2025-01-06 19:16:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:16:03] Production.ERROR: done
[2025-01-06 19:16:03] Production.INFO: Date 2024-12-13
[2025-01-06 19:16:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:16:03] Production.INFO: Date 2024-12-14
[2025-01-06 19:16:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:16:04] Production.INFO: Date 2024-12-15
[2025-01-06 19:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:16:04] Production.INFO: Date 2024-12-16
[2025-01-06 19:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:16:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:16:04] Production.INFO: Date 2024-12-18
[2025-01-06 19:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:16:04] Production.INFO: Date 2024-12-19
[2025-01-06 19:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:16:04] Production.INFO: Date 2024-12-20
[2025-01-06 19:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:16:04] Production.INFO: Date 2024-12-21
[2025-01-06 19:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:16:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:16:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:16:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:16:04] Production.INFO: Date 2024-12-25
[2025-01-06 19:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:16:04] Production.INFO: Date 2024-12-26
[2025-01-06 19:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:16:04] Production.INFO: Date 2024-12-27
[2025-01-06 19:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:16:04] Production.INFO: Date 2024-12-28
[2025-01-06 19:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:16:04] Production.INFO: Date 2024-12-29
[2025-01-06 19:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:16:04] Production.INFO: Date 2024-12-30
[2025-01-06 19:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:16:04] Production.INFO: Date 2024-12-31
[2025-01-06 19:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:16:04] Production.INFO: Date 2025-01-01
[2025-01-06 19:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:16:04] Production.INFO: Date 2025-01-02
[2025-01-06 19:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:16:04] Production.INFO: Date 2025-01-03
[2025-01-06 19:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:16:04] Production.INFO: Date 2025-01-04
[2025-01-06 19:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:16:04] Production.INFO: Date 2025-01-05
[2025-01-06 19:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:16:04] Production.INFO: Date 2025-01-06
[2025-01-06 19:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:16:04] Production.INFO: Total Charge 0
[2025-01-06 19:16:04] Production.INFO: CreateAllLog End
[2025-01-06 19:16:05] Production.INFO: Account Balance End.
[2025-01-06 19:16:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:16:05] Production.INFO: ==18495== Releasing lock...
[2025-01-06 19:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:16:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:16:05
[end_date_ymd] => 2025-01-06 19:16:05
[RateCDR] => 1
)
[2025-01-06 19:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 16:16:05' and `end` < '2025-01-06 19:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 19:16:11] Production.ERROR: CronJobId end10
[2025-01-06 19:16:11] Production.INFO: ==18493== Releasing lock...
[2025-01-06 19:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:16:13] Production.INFO: call_cost start
[2025-01-06 19:16:13] Production.INFO: call_cost end
[2025-01-06 19:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:16:14] Production.INFO: ==18489== Releasing lock...
[2025-01-06 19:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:16:18] Production.INFO: count ==2784
[2025-01-06 19:16:19] Production.ERROR: pbx CDR StartTime 2025-01-06 16:16:05 - End Time 2025-01-06 19:16:05
[2025-01-06 19:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189635', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189635', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189635', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189635', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:16:19] Production.INFO: ProcessCDR(1,14189635,1,1,2)
[2025-01-06 19:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189635,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189635,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189635,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189635,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189635', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189635', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:16:22] Production.INFO: ==18497== Releasing lock...
[2025-01-06 19:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:16:22] Production.INFO: 49 MB #Memory Used#
[2025-01-07 00:17:02] Production.INFO: ==18563== Lock acquired, processing the job...
[2025-01-07 00:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:17:02] Production.INFO: neon service started
[2025-01-07 00:17:02] Production.INFO: neon service started
[2025-01-07 00:17:02] Production.INFO: ==18563== Releasing lock...
[2025-01-07 00:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 19:17:02] Production.INFO: ==18565== Lock acquired, processing the job...
[2025-01-06 19:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 19:17:02] Production.INFO: ==18565== Releasing lock...
[2025-01-06 19:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:17:02] Production.INFO: ==18567== Lock acquired, processing the job...
[2025-01-07 00:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:17:02] Production.INFO: ==18567== Releasing lock...
[2025-01-07 00:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:17:03] Production.INFO: ==18569== Lock acquired, processing the job...
[2025-01-06 19:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:17:03] Production.INFO: ==18577== Lock acquired, processing the job...
[2025-01-06 19:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:17:03] Production.INFO: ==18573== Lock acquired, processing the job...
[2025-01-06 19:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:17:03] Production.INFO: ==18571== Lock acquired, processing the job...
[2025-01-06 19:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:17:03] Production.INFO: ==18575== Lock acquired, processing the job...
[2025-01-06 19:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:17:03] Production.INFO: ==18579== Lock acquired, processing the job...
[2025-01-06 19:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:17:03] Production.ERROR: done
[2025-01-06 19:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:17:04] Production.INFO: Account Balance Start.
[2025-01-06 19:17:04] Production.INFO: CreateAllLog Start
[2025-01-06 19:17:04] Production.INFO: 117
[2025-01-06 19:17:04] Production.INFO: Date 2024-12-08
[2025-01-06 19:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:17:04] Production.ERROR: done
[2025-01-06 19:17:04] Production.INFO: Date 2024-12-09
[2025-01-06 19:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:17:04] Production.INFO: Date 2024-12-10
[2025-01-06 19:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:17:04] Production.INFO: count ==21
[2025-01-06 19:17:04] Production.INFO: Date 2024-12-11
[2025-01-06 19:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:17:04] Production.INFO: count ==21
[2025-01-06 19:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189639') start
[2025-01-06 19:17:04] Production.INFO: Date 2024-12-12
[2025-01-06 19:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:17:04] Production.INFO: Date 2024-12-13
[2025-01-06 19:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:17:04] Production.INFO: Date 2024-12-14
[2025-01-06 19:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189639') end
[2025-01-06 19:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:17:04] Production.INFO: 1
[2025-01-06 19:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:17:04] Production.INFO: Date 2024-12-15
[2025-01-06 19:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:17:04] Production.INFO: ==18571== Releasing lock...
[2025-01-06 19:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:17:04] Production.INFO: ==18579== Releasing lock...
[2025-01-06 19:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:17:04] Production.INFO: Date 2024-12-16
[2025-01-06 19:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:17:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:17:04] Production.INFO: Date 2024-12-18
[2025-01-06 19:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:17:04] Production.INFO: Date 2024-12-19
[2025-01-06 19:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:17:04] Production.INFO: Date 2024-12-20
[2025-01-06 19:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:17:04] Production.INFO: Date 2024-12-21
[2025-01-06 19:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:17:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:17:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:17:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:17:05] Production.INFO: Date 2024-12-25
[2025-01-06 19:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:17:05] Production.INFO: Date 2024-12-26
[2025-01-06 19:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:17:05] Production.INFO: Date 2024-12-27
[2025-01-06 19:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:17:05] Production.INFO: Date 2024-12-28
[2025-01-06 19:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:17:05] Production.INFO: Date 2024-12-29
[2025-01-06 19:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:17:05] Production.INFO: Date 2024-12-30
[2025-01-06 19:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:17:05] Production.INFO: Date 2024-12-31
[2025-01-06 19:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:17:05] Production.INFO: Date 2025-01-01
[2025-01-06 19:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:17:05] Production.INFO: Date 2025-01-02
[2025-01-06 19:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:17:05] Production.INFO: Date 2025-01-03
[2025-01-06 19:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:17:05] Production.INFO: Date 2025-01-04
[2025-01-06 19:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:17:05] Production.INFO: Date 2025-01-05
[2025-01-06 19:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:17:05] Production.INFO: Date 2025-01-06
[2025-01-06 19:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:17:05
[end_date_ymd] => 2025-01-06 19:17:05
[RateCDR] => 1
)
[2025-01-06 19:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 16:17:05' and `end` < '2025-01-06 19:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 19:17:05] Production.INFO: Total Charge 0
[2025-01-06 19:17:05] Production.INFO: CreateAllLog End
[2025-01-06 19:17:05] Production.INFO: Account Balance End.
[2025-01-06 19:17:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:17:05] Production.INFO: ==18575== Releasing lock...
[2025-01-06 19:17:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:17:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:17:12] Production.ERROR: CronJobId end10
[2025-01-06 19:17:12] Production.INFO: ==18573== Releasing lock...
[2025-01-06 19:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:17:14] Production.INFO: call_cost start
[2025-01-06 19:17:14] Production.INFO: call_cost end
[2025-01-06 19:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:17:14] Production.INFO: ==18569== Releasing lock...
[2025-01-06 19:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:17:18] Production.INFO: count ==2771
[2025-01-06 19:17:19] Production.ERROR: pbx CDR StartTime 2025-01-06 16:17:05 - End Time 2025-01-06 19:17:05
[2025-01-06 19:17:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189640', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189640', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189640', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189640', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:17:19] Production.INFO: ProcessCDR(1,14189640,1,1,2)
[2025-01-06 19:17:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189640,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:17:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189640,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:17:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189640,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189640,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189640', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189640', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:17:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:17:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:17:22] Production.INFO: ==18577== Releasing lock...
[2025-01-06 19:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:17:22] Production.INFO: 48.75 MB #Memory Used#
[2025-01-07 00:18:01] Production.INFO: ==18650== Lock acquired, processing the job...
[2025-01-07 00:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:18:01] Production.INFO: neon service started
[2025-01-07 00:18:01] Production.INFO: neon service started
[2025-01-07 00:18:01] Production.INFO: ==18650== Releasing lock...
[2025-01-07 00:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 19:18:01] Production.INFO: ==18652== Lock acquired, processing the job...
[2025-01-06 19:18:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:18:02] Production.INFO: ==18654== Lock acquired, processing the job...
[2025-01-07 00:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:18:02] Production.INFO: ==18654== Releasing lock...
[2025-01-07 00:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:18:02] Production.INFO: ==18652== Releasing lock...
[2025-01-06 19:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 19:18:02] Production.INFO: ==18658== Lock acquired, processing the job...
[2025-01-06 19:18:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:18:03] Production.INFO: ==18660== Lock acquired, processing the job...
[2025-01-06 19:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:18:03] Production.INFO: ==18656== Lock acquired, processing the job...
[2025-01-06 19:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:18:03] Production.INFO: ==18664== Lock acquired, processing the job...
[2025-01-06 19:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:18:03] Production.INFO: ==18658== Releasing lock...
[2025-01-06 19:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:18:03] Production.INFO: ==18666== Lock acquired, processing the job...
[2025-01-06 19:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:18:03] Production.INFO: ==18662== Lock acquired, processing the job...
[2025-01-06 19:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:18:03] Production.ERROR: done
[2025-01-06 19:18:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:18:03] Production.INFO: Account Balance Start.
[2025-01-06 19:18:03] Production.INFO: CreateAllLog Start
[2025-01-06 19:18:03] Production.INFO: 117
[2025-01-06 19:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:18:03] Production.INFO: Date 2024-12-08
[2025-01-06 19:18:03] Production.INFO: count ==21
[2025-01-06 19:18:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:18:03] Production.INFO: count ==21
[2025-01-06 19:18:03] Production.INFO: Date 2024-12-09
[2025-01-06 19:18:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189644') start
[2025-01-06 19:18:03] Production.ERROR: done
[2025-01-06 19:18:03] Production.INFO: Date 2024-12-10
[2025-01-06 19:18:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:18:03] Production.INFO: Date 2024-12-11
[2025-01-06 19:18:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:18:03] Production.INFO: Date 2024-12-12
[2025-01-06 19:18:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189644') end
[2025-01-06 19:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:18:03] Production.INFO: 1
[2025-01-06 19:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:18:03] Production.INFO: Date 2024-12-13
[2025-01-06 19:18:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:18:03] Production.INFO: Date 2024-12-14
[2025-01-06 19:18:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:18:03] Production.INFO: ==18666== Releasing lock...
[2025-01-06 19:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:18:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:18:03] Production.INFO: Date 2024-12-15
[2025-01-06 19:18:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:18:04] Production.INFO: Date 2024-12-16
[2025-01-06 19:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:18:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:18:04] Production.INFO: Date 2024-12-18
[2025-01-06 19:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:18:04] Production.INFO: Date 2024-12-19
[2025-01-06 19:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:18:04] Production.INFO: Date 2024-12-20
[2025-01-06 19:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:18:04] Production.INFO: Date 2024-12-21
[2025-01-06 19:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:18:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:18:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:18:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:18:04] Production.INFO: Date 2024-12-25
[2025-01-06 19:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:18:04] Production.INFO: Date 2024-12-26
[2025-01-06 19:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:18:04] Production.INFO: Date 2024-12-27
[2025-01-06 19:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:18:04] Production.INFO: Date 2024-12-28
[2025-01-06 19:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:18:04] Production.INFO: Date 2024-12-29
[2025-01-06 19:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:18:04] Production.INFO: Date 2024-12-30
[2025-01-06 19:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:18:04] Production.INFO: Date 2024-12-31
[2025-01-06 19:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:18:04] Production.INFO: Date 2025-01-01
[2025-01-06 19:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:18:04] Production.INFO: Date 2025-01-02
[2025-01-06 19:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:18:04] Production.INFO: Date 2025-01-03
[2025-01-06 19:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:18:04] Production.INFO: Date 2025-01-04
[2025-01-06 19:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:18:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:18:04
[end_date_ymd] => 2025-01-06 19:18:04
[RateCDR] => 1
)
[2025-01-06 19: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-06 16:18:04' and `end` < '2025-01-06 19: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-06 19:18:04] Production.INFO: Date 2025-01-05
[2025-01-06 19:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:18:04] Production.INFO: Date 2025-01-06
[2025-01-06 19:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:18:04] Production.INFO: Total Charge 0
[2025-01-06 19:18:04] Production.INFO: CreateAllLog End
[2025-01-06 19:18:04] Production.INFO: Account Balance End.
[2025-01-06 19:18:04] Production.ERROR: CronJobId end 12
[2025-01-06 19:18:04] Production.INFO: ==18662== Releasing lock...
[2025-01-06 19:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:18:11] Production.ERROR: CronJobId end10
[2025-01-06 19:18:11] Production.INFO: ==18660== Releasing lock...
[2025-01-06 19:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:18:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:18:12] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:18:12] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:18:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:18:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:18:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:18:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:18:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:18:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:18:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:18:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:18:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:18:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:18:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:18:12] Production.INFO: call_cost start
[2025-01-06 19:18:12] Production.INFO: call_cost end
[2025-01-06 19:18:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:18:13] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:18:13] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:18:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:18:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:18:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:18:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:18:13] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:18:13] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:18:13] Production.INFO: ==18656== Releasing lock...
[2025-01-06 19:18:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:18:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:18:17] Production.INFO: count ==2748
[2025-01-06 19:18:18] Production.ERROR: pbx CDR StartTime 2025-01-06 16:18:04 - End Time 2025-01-06 19:18:04
[2025-01-06 19:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189645', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189645', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189645', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189645', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:18:18] Production.INFO: ProcessCDR(1,14189645,1,1,2)
[2025-01-06 19:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189645,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189645,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189645,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189645,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189645', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189645', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:18:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:18:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:18:21] Production.INFO: ==18664== Releasing lock...
[2025-01-06 19:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:18:21] Production.INFO: 48.75 MB #Memory Used#
[2025-01-07 00:19:01] Production.INFO: ==18731== Lock acquired, processing the job...
[2025-01-07 00:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:19:01] Production.INFO: neon service started
[2025-01-07 00:19:01] Production.INFO: neon service started
[2025-01-07 00:19:01] Production.INFO: ==18731== Releasing lock...
[2025-01-07 00:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 19:19:02] Production.INFO: ==18733== Lock acquired, processing the job...
[2025-01-06 19:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:19:02] Production.INFO: ==18735== Lock acquired, processing the job...
[2025-01-07 00:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-06 19:19:02] Production.INFO: ==18733== Releasing lock...
[2025-01-06 19:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:19:02] Production.INFO: ==18735== Releasing lock...
[2025-01-07 00:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:19:03] Production.INFO: ==18737== Lock acquired, processing the job...
[2025-01-06 19:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:19:03] Production.INFO: ==18745== Lock acquired, processing the job...
[2025-01-06 19:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:19:03] Production.INFO: ==18748== Lock acquired, processing the job...
[2025-01-06 19:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:19:03] Production.INFO: ==18739== Lock acquired, processing the job...
[2025-01-06 19:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:19:03] Production.INFO: ==18741== Lock acquired, processing the job...
[2025-01-06 19:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 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-06 19:19:03] Production.INFO: ==18743== Lock acquired, processing the job...
[2025-01-06 19:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:19:03] Production.INFO: count ==21
[2025-01-06 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-06 19:19:03] Production.INFO: count ==21
[2025-01-06 19:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189646') start
[2025-01-06 19:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:19:03] Production.INFO: Account Balance Start.
[2025-01-06 19:19:03] Production.INFO: CreateAllLog Start
[2025-01-06 19:19:03] Production.INFO: 117
[2025-01-06 19:19:03] Production.INFO: Date 2024-12-08
[2025-01-06 19:19:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:19:03] Production.INFO: Date 2024-12-09
[2025-01-06 19:19:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189646') end
[2025-01-06 19:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:19:03] Production.INFO: 1
[2025-01-06 19:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:19:03] Production.INFO: ==18748== Releasing lock...
[2025-01-06 19:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:19:03] Production.INFO: Date 2024-12-10
[2025-01-06 19:19:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:19:03] Production.ERROR: done
[2025-01-06 19:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:19:03] Production.INFO: Date 2024-12-11
[2025-01-06 19:19:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:19:03] Production.INFO: Date 2024-12-12
[2025-01-06 19:19:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:19:03] Production.INFO: Date 2024-12-13
[2025-01-06 19:19:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:19:03] Production.INFO: ==18739== Releasing lock...
[2025-01-06 19:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:19:03] Production.INFO: Date 2024-12-14
[2025-01-06 19:19:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:19:03] Production.ERROR: done
[2025-01-06 19:19:04] Production.INFO: Date 2024-12-15
[2025-01-06 19:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:19:04] Production.INFO: Date 2024-12-16
[2025-01-06 19:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:19:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:19:04] Production.INFO: Date 2024-12-18
[2025-01-06 19:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:19:04] Production.INFO: Date 2024-12-19
[2025-01-06 19:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:19:04] Production.INFO: Date 2024-12-20
[2025-01-06 19:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:19:04] Production.INFO: Date 2024-12-21
[2025-01-06 19:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:19:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:19:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:19:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:19:04] Production.INFO: Date 2024-12-25
[2025-01-06 19:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:19:04] Production.INFO: Date 2024-12-26
[2025-01-06 19:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:19:04] Production.INFO: Date 2024-12-27
[2025-01-06 19:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:19:04] Production.INFO: Date 2024-12-28
[2025-01-06 19:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:19:04] Production.INFO: Date 2024-12-29
[2025-01-06 19:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:19:04] Production.INFO: Date 2024-12-30
[2025-01-06 19:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:19:04] Production.INFO: Date 2024-12-31
[2025-01-06 19:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:19:04] Production.INFO: Date 2025-01-01
[2025-01-06 19:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:19:04] Production.INFO: Date 2025-01-02
[2025-01-06 19:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:19:04] Production.INFO: Date 2025-01-03
[2025-01-06 19:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:19:04] Production.INFO: Date 2025-01-04
[2025-01-06 19:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:19:04] Production.INFO: Date 2025-01-05
[2025-01-06 19:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:19:04] Production.INFO: Date 2025-01-06
[2025-01-06 19:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:19:05] Production.INFO: Total Charge 0
[2025-01-06 19:19:05] Production.INFO: CreateAllLog End
[2025-01-06 19:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:19:05
[end_date_ymd] => 2025-01-06 19:19:05
[RateCDR] => 1
)
[2025-01-06 19:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 16:19:05' and `end` < '2025-01-06 19:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 19:19:05] Production.INFO: Account Balance End.
[2025-01-06 19:19:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:19:05] Production.INFO: ==18743== Releasing lock...
[2025-01-06 19:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:19:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:19:12] Production.ERROR: CronJobId end10
[2025-01-06 19:19:12] Production.INFO: ==18741== Releasing lock...
[2025-01-06 19:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:19:13] Production.INFO: call_cost start
[2025-01-06 19:19:13] Production.INFO: call_cost end
[2025-01-06 19:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:19:14] Production.INFO: ==18737== Releasing lock...
[2025-01-06 19:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:19:18] Production.INFO: count ==2736
[2025-01-06 19:19:19] Production.ERROR: pbx CDR StartTime 2025-01-06 16:19:05 - End Time 2025-01-06 19:19:05
[2025-01-06 19:19:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189650', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189650', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189650', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189650', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:19:19] Production.INFO: ProcessCDR(1,14189650,1,1,2)
[2025-01-06 19:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189650,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189650,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189650,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189650,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189650', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189650', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:19:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:19:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:19:22] Production.INFO: ==18745== Releasing lock...
[2025-01-06 19:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:19:22] Production.INFO: 48.5 MB #Memory Used#
[2025-01-07 00:20:02] Production.INFO: ==18811== Lock acquired, processing the job...
[2025-01-07 00:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:20:02] Production.INFO: neon service started
[2025-01-07 00:20:02] Production.INFO: neon service started
[2025-01-07 00:20:02] Production.INFO: ==18811== Releasing lock...
[2025-01-07 00:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 19:20:02] Production.INFO: ==18814== Lock acquired, processing the job...
[2025-01-06 19:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 19:20:03] Production.INFO: ==18814== Releasing lock...
[2025-01-06 19:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:20:03] Production.INFO: ==18816== Lock acquired, processing the job...
[2025-01-07 00:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:20:03] Production.INFO: ==18816== Releasing lock...
[2025-01-07 00:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:20:03] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:20:03] Production.INFO: ==18818== Lock acquired, processing the job...
[2025-01-06 19:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-06 19:20:04] Production.INFO: ==18820== Lock acquired, processing the job...
[2025-01-06 19:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-06 19:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-06 19:20:04] Production.INFO: ==18818== Releasing lock...
[2025-01-06 19:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-06 19:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-06 19:20:04] Production.INFO: ==18822== Lock acquired, processing the job...
[2025-01-06 19:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:20:04] Production.INFO: ==18824== Lock acquired, processing the job...
[2025-01-06 19:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:20:04] Production.INFO: ==18826== Lock acquired, processing the job...
[2025-01-06 19:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:20:04] Production.INFO: Account Balance Start.
[2025-01-06 19:20:04] Production.INFO: CreateAllLog Start
[2025-01-06 19:20:04] Production.INFO: 117
[2025-01-06 19:20:04] Production.INFO: Date 2024-12-08
[2025-01-06 19:20:04] Production.INFO: ==18828== Lock acquired, processing the job...
[2025-01-06 19:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:20:04] Production.INFO: Date 2024-12-09
[2025-01-06 19:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:20:04] Production.INFO: Date 2024-12-10
[2025-01-06 19:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:20:04] Production.INFO: ==18830== Lock acquired, processing the job...
[2025-01-06 19:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-06 19:20:04] Production.INFO: ==18832== Lock acquired, processing the job...
[2025-01-06 19:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:20:04] Production.INFO: Date 2024-12-11
[2025-01-06 19:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:20:04] Production.INFO: ==18822== Releasing lock...
[2025-01-06 19:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:20:04] Production.INFO: Date 2024-12-12
[2025-01-06 19:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:20:04] Production.ERROR: done
[2025-01-06 19:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 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-06 19:20:04] Production.INFO: Date 2024-12-13
[2025-01-06 19:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:20:04] Production.INFO: count ==21
[2025-01-06 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-06 19:20:04] Production.INFO: count ==21
[2025-01-06 19:20:04] Production.ERROR: done
[2025-01-06 19:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189654') start
[2025-01-06 19:20:04] Production.ERROR: done
[2025-01-06 19:20:04] Production.INFO: Date 2024-12-14
[2025-01-06 19:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:20:04] Production.INFO: Date 2024-12-15
[2025-01-06 19:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14189654') end
[2025-01-06 19:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:20:05] Production.INFO: 1
[2025-01-06 19:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:20:05] Production.INFO: Date 2024-12-16
[2025-01-06 19:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:20:05] Production.INFO: ==18832== Releasing lock...
[2025-01-06 19:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-06 19:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14189656', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) start
[2025-01-06 19:20:05] Production.INFO: Date 2024-12-17
[2025-01-06 19:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:20:05] Production.INFO: Date 2024-12-18
[2025-01-06 19:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:20:05] Production.INFO: Date 2024-12-19
[2025-01-06 19:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:20:05] Production.INFO: Date 2024-12-20
[2025-01-06 19:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:20:05] Production.INFO: Date 2024-12-21
[2025-01-06 19:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:20:05] Production.INFO: Date 2024-12-22
[2025-01-06 19:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:20:05] Production.INFO: Date 2024-12-23
[2025-01-06 19:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:20:05] Production.INFO: Date 2024-12-24
[2025-01-06 19:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:20:05] Production.INFO: Date 2024-12-25
[2025-01-06 19:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:20:05] Production.INFO: Date 2024-12-26
[2025-01-06 19:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:20:05] Production.INFO: Date 2024-12-27
[2025-01-06 19:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:20:05] Production.INFO: Date 2024-12-28
[2025-01-06 19:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:20:05] Production.INFO: Date 2024-12-29
[2025-01-06 19:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:20:06] Production.INFO: Date 2024-12-30
[2025-01-06 19:20:06] Production.INFO: Reseller ==> 0
[2025-01-06 19:20:06] Production.INFO: Date 2024-12-31
[2025-01-06 19:20:06] Production.INFO: Reseller ==> 0
[2025-01-06 19:20:06] Production.INFO: Date 2025-01-01
[2025-01-06 19:20:06] Production.INFO: Reseller ==> 0
[2025-01-06 19:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:20:06
[end_date_ymd] => 2025-01-06 19:20:06
[RateCDR] => 1
)
[2025-01-06 19:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 16:20:06' and `end` < '2025-01-06 19:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 19:20:06] Production.INFO: Date 2025-01-02
[2025-01-06 19:20:06] Production.INFO: Reseller ==> 0
[2025-01-06 19:20:06] Production.INFO: Date 2025-01-03
[2025-01-06 19:20:06] Production.INFO: Reseller ==> 0
[2025-01-06 19:20:06] Production.INFO: Date 2025-01-04
[2025-01-06 19:20:06] Production.INFO: Reseller ==> 0
[2025-01-06 19:20:06] Production.INFO: Date 2025-01-05
[2025-01-06 19:20:06] Production.INFO: Reseller ==> 0
[2025-01-06 19:20:06] Production.INFO: Date 2025-01-06
[2025-01-06 19:20:06] Production.INFO: Reseller ==> 0
[2025-01-06 19:20:06] Production.INFO: Total Charge 0
[2025-01-06 19:20:06] Production.INFO: CreateAllLog End
[2025-01-06 19:20:06] Production.INFO: Account Balance End.
[2025-01-06 19:20:06] Production.ERROR: CronJobId end 12
[2025-01-06 19:20:06] Production.INFO: ==18826== Releasing lock...
[2025-01-06 19:20:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:20:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14189656', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) end
[2025-01-06 19:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-06 19:20:08] Production.INFO: ProcessCDR(1,14189656,1,1,2)
[2025-01-06 19:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14189656,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14189656,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:20:08] Production.INFO: ==18830== Releasing lock...
[2025-01-06 19:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-06 19:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-06 19:20:14] Production.ERROR: CronJobId end10
[2025-01-06 19:20:14] Production.INFO: ==18824== Releasing lock...
[2025-01-06 19:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:20:15] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:20:15] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:20:15] Production.INFO: call_cost start
[2025-01-06 19:20:15] Production.INFO: call_cost end
[2025-01-06 19:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:20:16] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:20:16] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:20:16] Production.INFO: ==18820== Releasing lock...
[2025-01-06 19:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:20:20] Production.INFO: count ==2723
[2025-01-06 19:20:21] Production.ERROR: pbx CDR StartTime 2025-01-06 16:20:06 - End Time 2025-01-06 19:20:06
[2025-01-06 19:20:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:20:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189655', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:20:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189655', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:20:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189655', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:20:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189655', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:20:21] Production.INFO: ProcessCDR(1,14189655,1,1,2)
[2025-01-06 19:20:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189655,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:20:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189655,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:20:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189655,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:20:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189655,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189655', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189655', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:20:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:20:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:20:24] Production.INFO: ==18828== Releasing lock...
[2025-01-06 19:20:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:20:24] Production.INFO: 48.75 MB #Memory Used#
[2025-01-07 00:21:01] Production.INFO: ==18887== Lock acquired, processing the job...
[2025-01-07 00:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:21:01] Production.INFO: neon service started
[2025-01-07 00:21:01] Production.INFO: neon service started
[2025-01-07 00:21:01] Production.INFO: ==18887== Releasing lock...
[2025-01-07 00:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:21:02] Production.INFO: ==18891== Lock acquired, processing the job...
[2025-01-07 00:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:21:02] Production.INFO: ==18891== Releasing lock...
[2025-01-07 00:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:21:02] Production.INFO: ==18889== Lock acquired, processing the job...
[2025-01-06 19:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 19:21:02] Production.INFO: ==18889== Releasing lock...
[2025-01-06 19:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 19:21:03] Production.INFO: ==18900== Lock acquired, processing the job...
[2025-01-06 19:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:21:03] Production.INFO: Account Balance Start.
[2025-01-06 19:21:03] Production.INFO: CreateAllLog Start
[2025-01-06 19:21:03] Production.INFO: 117
[2025-01-06 19:21:03] Production.INFO: Date 2024-12-08
[2025-01-06 19:21:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:21:03] Production.INFO: Date 2024-12-09
[2025-01-06 19:21:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:21:03] Production.INFO: Date 2024-12-10
[2025-01-06 19:21:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:21:03] Production.INFO: Date 2024-12-11
[2025-01-06 19:21:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:21:03] Production.INFO: ==18894== Lock acquired, processing the job...
[2025-01-06 19:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:21:03] Production.INFO: Date 2024-12-12
[2025-01-06 19:21:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:21:03] Production.INFO: Date 2024-12-13
[2025-01-06 19:21:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:21:03] Production.INFO: ==18896== Lock acquired, processing the job...
[2025-01-06 19:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:21:03] Production.INFO: ==18904== Lock acquired, processing the job...
[2025-01-06 19:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:21:03] Production.INFO: ==18898== Lock acquired, processing the job...
[2025-01-06 19:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:21:03] Production.INFO: Date 2024-12-14
[2025-01-06 19:21:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:21:03] Production.INFO: Date 2024-12-15
[2025-01-06 19:21:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:21:03] Production.INFO: Date 2024-12-16
[2025-01-06 19:21:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:21:03] Production.INFO: ==18902== Lock acquired, processing the job...
[2025-01-06 19:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:21:03] Production.INFO: Date 2024-12-17
[2025-01-06 19:21:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:21:03] Production.INFO: count ==21
[2025-01-06 19:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:21:03] Production.INFO: count ==21
[2025-01-06 19:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189660') start
[2025-01-06 19:21:03] Production.INFO: Date 2024-12-18
[2025-01-06 19:21:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:21:03] Production.INFO: Date 2024-12-19
[2025-01-06 19:21:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189660') end
[2025-01-06 19:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:21:03] Production.INFO: 1
[2025-01-06 19:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:21:03] Production.INFO: Date 2024-12-20
[2025-01-06 19:21:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:21:03] Production.INFO: ==18904== Releasing lock...
[2025-01-06 19:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:21:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:21:03] Production.INFO: Date 2024-12-21
[2025-01-06 19:21:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:21:03] Production.INFO: ==18896== Releasing lock...
[2025-01-06 19:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:21:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:21:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:21:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:21:04] Production.ERROR: done
[2025-01-06 19:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:21:04] Production.INFO: Date 2024-12-25
[2025-01-06 19:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:21:04] Production.INFO: Date 2024-12-26
[2025-01-06 19:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:21:04] Production.INFO: Date 2024-12-27
[2025-01-06 19:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:21:04] Production.ERROR: done
[2025-01-06 19:21:04] Production.INFO: Date 2024-12-28
[2025-01-06 19:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:21:04] Production.INFO: Date 2024-12-29
[2025-01-06 19:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:21:04] Production.INFO: Date 2024-12-30
[2025-01-06 19:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:21:04] Production.INFO: Date 2024-12-31
[2025-01-06 19:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:21:04] Production.INFO: Date 2025-01-01
[2025-01-06 19:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:21:04] Production.INFO: Date 2025-01-02
[2025-01-06 19:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:21:04] Production.INFO: Date 2025-01-03
[2025-01-06 19:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:21:04] Production.INFO: Date 2025-01-04
[2025-01-06 19:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:21:04] Production.INFO: Date 2025-01-05
[2025-01-06 19:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:21:04] Production.INFO: Date 2025-01-06
[2025-01-06 19:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:21:04] Production.INFO: Total Charge 0
[2025-01-06 19:21:04] Production.INFO: CreateAllLog End
[2025-01-06 19:21:04] Production.INFO: Account Balance End.
[2025-01-06 19:21:04] Production.ERROR: CronJobId end 12
[2025-01-06 19:21:04] Production.INFO: ==18900== Releasing lock...
[2025-01-06 19:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:21:05
[end_date_ymd] => 2025-01-06 19:21:05
[RateCDR] => 1
)
[2025-01-06 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-06 16:21:05' and `end` < '2025-01-06 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-06 19:21:12] Production.ERROR: CronJobId end10
[2025-01-06 19:21:12] Production.INFO: ==18898== Releasing lock...
[2025-01-06 19:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:21:13] Production.INFO: call_cost start
[2025-01-06 19:21:13] Production.INFO: call_cost end
[2025-01-06 19:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:21:14] Production.INFO: ==18894== Releasing lock...
[2025-01-06 19:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:21:18] Production.INFO: count ==2640
[2025-01-06 19:21:19] Production.ERROR: pbx CDR StartTime 2025-01-06 16:21:05 - End Time 2025-01-06 19:21:05
[2025-01-06 19:21:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189661', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189661', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189661', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189661', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:21:19] Production.INFO: ProcessCDR(1,14189661,1,1,2)
[2025-01-06 19:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189661,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189661,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189661,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189661,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189661', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189661', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:21:22] Production.INFO: ==18902== Releasing lock...
[2025-01-06 19:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:21:22] Production.INFO: 48 MB #Memory Used#
[2025-01-07 00:22:02] Production.INFO: ==18961== Lock acquired, processing the job...
[2025-01-07 00:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:22:02] Production.INFO: neon service started
[2025-01-07 00:22:02] Production.INFO: neon service started
[2025-01-07 00:22:02] Production.INFO: ==18961== Releasing lock...
[2025-01-07 00:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:22:02] Production.INFO: ==18965== Lock acquired, processing the job...
[2025-01-07 00:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:22:02] Production.INFO: ==18965== Releasing lock...
[2025-01-07 00:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:22:02] Production.INFO: ==18963== Lock acquired, processing the job...
[2025-01-06 19:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 19:22:02] Production.INFO: ==18963== Releasing lock...
[2025-01-06 19:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 19:22:03] Production.INFO: ==18971== Lock acquired, processing the job...
[2025-01-06 19:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:22:03] Production.INFO: ==18975== Lock acquired, processing the job...
[2025-01-06 19:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:22:03] Production.INFO: ==18967== Lock acquired, processing the job...
[2025-01-06 19:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:22:03] Production.INFO: ==18969== Lock acquired, processing the job...
[2025-01-06 19:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:22:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:22:04] Production.INFO: ==18977== Lock acquired, processing the job...
[2025-01-06 19:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:22:04] Production.INFO: ==18973== Lock acquired, processing the job...
[2025-01-06 19:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:22:04] Production.ERROR: done
[2025-01-06 19:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:22:04] Production.INFO: Account Balance Start.
[2025-01-06 19:22:04] Production.INFO: CreateAllLog Start
[2025-01-06 19:22:04] Production.INFO: 117
[2025-01-06 19:22:04] Production.INFO: Date 2024-12-08
[2025-01-06 19:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:22:04] Production.INFO: count ==21
[2025-01-06 19:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:22:04] Production.INFO: count ==21
[2025-01-06 19:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189664') start
[2025-01-06 19:22:04] Production.INFO: ==18969== Releasing lock...
[2025-01-06 19:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:22:04] Production.INFO: Date 2024-12-09
[2025-01-06 19:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:22:04] Production.ERROR: done
[2025-01-06 19:22:04] Production.INFO: Date 2024-12-10
[2025-01-06 19:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:22:04] Production.INFO: Date 2024-12-11
[2025-01-06 19:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189664') end
[2025-01-06 19:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:22:04] Production.INFO: 1
[2025-01-06 19:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:22:04] Production.INFO: Date 2024-12-12
[2025-01-06 19:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:22:04] Production.INFO: ==18977== Releasing lock...
[2025-01-06 19:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:22:04] Production.INFO: Date 2024-12-13
[2025-01-06 19:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:22:04] Production.INFO: Date 2024-12-14
[2025-01-06 19:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:22:04] Production.INFO: Date 2024-12-15
[2025-01-06 19:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:22:04] Production.INFO: Date 2024-12-16
[2025-01-06 19:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:22:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:22:04] Production.INFO: Date 2024-12-18
[2025-01-06 19:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:22:04] Production.INFO: Date 2024-12-19
[2025-01-06 19:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:22:04] Production.INFO: Date 2024-12-20
[2025-01-06 19:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:22:04] Production.INFO: Date 2024-12-21
[2025-01-06 19:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:22:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:22:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:22:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:22:05] Production.INFO: Date 2024-12-25
[2025-01-06 19:22:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:22:05] Production.INFO: Date 2024-12-26
[2025-01-06 19:22:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:22:05] Production.INFO: Date 2024-12-27
[2025-01-06 19:22:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:22:05] Production.INFO: Date 2024-12-28
[2025-01-06 19:22:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:22:05] Production.INFO: Date 2024-12-29
[2025-01-06 19:22:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:22:05] Production.INFO: Date 2024-12-30
[2025-01-06 19:22:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:22:05] Production.INFO: Date 2024-12-31
[2025-01-06 19:22:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:22:05] Production.INFO: Date 2025-01-01
[2025-01-06 19:22:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:22:05] Production.INFO: Date 2025-01-02
[2025-01-06 19:22:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:22:05] Production.INFO: Date 2025-01-03
[2025-01-06 19:22:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:22:05] Production.INFO: Date 2025-01-04
[2025-01-06 19:22:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:22:05] Production.INFO: Date 2025-01-05
[2025-01-06 19:22:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:22:05] Production.INFO: Date 2025-01-06
[2025-01-06 19:22:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:22:05] Production.INFO: Total Charge 0
[2025-01-06 19:22:05] Production.INFO: CreateAllLog End
[2025-01-06 19:22:05] Production.INFO: Account Balance End.
[2025-01-06 19:22:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:22:05] Production.INFO: ==18973== Releasing lock...
[2025-01-06 19:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:22:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:22:05
[end_date_ymd] => 2025-01-06 19:22:05
[RateCDR] => 1
)
[2025-01-06 19:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 16:22:05' and `end` < '2025-01-06 19:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 19:22:12] Production.ERROR: CronJobId end10
[2025-01-06 19:22:12] Production.INFO: ==18971== Releasing lock...
[2025-01-06 19:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:22:13] Production.INFO: call_cost start
[2025-01-06 19:22:13] Production.INFO: call_cost end
[2025-01-06 19:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:22:14] Production.INFO: ==18967== Releasing lock...
[2025-01-06 19:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:22:19] Production.INFO: count ==2617
[2025-01-06 19:22:20] Production.ERROR: pbx CDR StartTime 2025-01-06 16:22:05 - End Time 2025-01-06 19:22:05
[2025-01-06 19:22:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189666', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189666', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189666', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189666', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:22:20] Production.INFO: ProcessCDR(1,14189666,1,1,2)
[2025-01-06 19:22:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189666,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:22:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189666,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:22:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189666,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:22:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189666,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189666', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189666', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:22:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:22:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:22:23] Production.INFO: ==18975== Releasing lock...
[2025-01-06 19:22:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:22:23] Production.INFO: 47.75 MB #Memory Used#
[2025-01-07 00:23:01] Production.INFO: ==19035== Lock acquired, processing the job...
[2025-01-07 00:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:23:01] Production.INFO: neon service started
[2025-01-07 00:23:01] Production.INFO: neon service started
[2025-01-07 00:23:01] Production.INFO: ==19035== Releasing lock...
[2025-01-07 00:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:23:01] Production.INFO: ==19039== Lock acquired, processing the job...
[2025-01-07 00:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:23:01] Production.INFO: ==19039== Releasing lock...
[2025-01-07 00:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:23:01] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:23:02] Production.INFO: ==19037== Lock acquired, processing the job...
[2025-01-06 19:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 19:23:02] Production.INFO: ==19037== Releasing lock...
[2025-01-06 19:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 19:23:02] Production.INFO: ==19042== Lock acquired, processing the job...
[2025-01-06 19:23:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:23:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:23:03] Production.INFO: ==19046== Lock acquired, processing the job...
[2025-01-06 19:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:23:03] Production.INFO: ==19048== Lock acquired, processing the job...
[2025-01-06 19:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:23:03] Production.INFO: ==19044== Lock acquired, processing the job...
[2025-01-06 19:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:23:03] Production.INFO: Account Balance Start.
[2025-01-06 19:23:03] Production.INFO: CreateAllLog Start
[2025-01-06 19:23:03] Production.INFO: 117
[2025-01-06 19:23:03] Production.INFO: Date 2024-12-08
[2025-01-06 19:23:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:23:03] Production.INFO: Date 2024-12-09
[2025-01-06 19:23:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:23:03] Production.INFO: Date 2024-12-10
[2025-01-06 19:23:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:23:03] Production.INFO: Date 2024-12-11
[2025-01-06 19:23:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:23:03] Production.INFO: ==19050== Lock acquired, processing the job...
[2025-01-06 19:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:23:03] Production.INFO: Date 2024-12-12
[2025-01-06 19:23:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:23:03] Production.INFO: Date 2024-12-13
[2025-01-06 19:23:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:23:03] Production.INFO: Date 2024-12-14
[2025-01-06 19:23:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:23:03] Production.INFO: Date 2024-12-15
[2025-01-06 19:23:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:23:03] Production.INFO: ==19052== Lock acquired, processing the job...
[2025-01-06 19:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:23:03] Production.INFO: Date 2024-12-16
[2025-01-06 19:23:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:23:03] Production.INFO: Date 2024-12-17
[2025-01-06 19:23:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:23:03] Production.INFO: Date 2024-12-18
[2025-01-06 19:23:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:23:03] Production.INFO: ==19044== Releasing lock...
[2025-01-06 19:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:23:03] Production.INFO: Date 2024-12-19
[2025-01-06 19:23:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:23:03] Production.INFO: Date 2024-12-20
[2025-01-06 19:23:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:23:03] Production.INFO: Date 2024-12-21
[2025-01-06 19:23:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:23:03] Production.INFO: count ==21
[2025-01-06 19:23:03] Production.INFO: Date 2024-12-22
[2025-01-06 19:23:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:23:03] Production.INFO: count ==21
[2025-01-06 19:23:03] Production.ERROR: done
[2025-01-06 19:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189670') start
[2025-01-06 19:23:03] Production.ERROR: done
[2025-01-06 19:23:03] Production.INFO: Date 2024-12-23
[2025-01-06 19:23:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:23:03] Production.INFO: Date 2024-12-24
[2025-01-06 19:23:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189670') end
[2025-01-06 19:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:23:04] Production.INFO: 1
[2025-01-06 19:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:23:04] Production.INFO: ==19052== Releasing lock...
[2025-01-06 19:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:23:04] Production.INFO: Date 2024-12-25
[2025-01-06 19:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:23:04] Production.INFO: Date 2024-12-26
[2025-01-06 19:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:23:04] Production.INFO: Date 2024-12-27
[2025-01-06 19:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:23:04] Production.INFO: Date 2024-12-28
[2025-01-06 19:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:23:04] Production.INFO: Date 2024-12-29
[2025-01-06 19:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:23:04] Production.INFO: Date 2024-12-30
[2025-01-06 19:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:23:04] Production.INFO: Date 2024-12-31
[2025-01-06 19:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:23:04] Production.INFO: Date 2025-01-01
[2025-01-06 19:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:23:04] Production.INFO: Date 2025-01-02
[2025-01-06 19:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:23:04] Production.INFO: Date 2025-01-03
[2025-01-06 19:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:23:04] Production.INFO: Date 2025-01-04
[2025-01-06 19:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:23:04] Production.INFO: Date 2025-01-05
[2025-01-06 19:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:23:04] Production.INFO: Date 2025-01-06
[2025-01-06 19:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:23:04] Production.INFO: Total Charge 0
[2025-01-06 19:23:04] Production.INFO: CreateAllLog End
[2025-01-06 19:23:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:23:04
[end_date_ymd] => 2025-01-06 19:23:04
[RateCDR] => 1
)
[2025-01-06 19:23:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 16:23:04' and `end` < '2025-01-06 19:23:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 19:23:04] Production.INFO: Account Balance End.
[2025-01-06 19:23:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:23:05] Production.INFO: ==19048== Releasing lock...
[2025-01-06 19:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:23:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:23:12] Production.ERROR: CronJobId end10
[2025-01-06 19:23:12] Production.INFO: ==19046== Releasing lock...
[2025-01-06 19:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:23:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:23:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:23:14] Production.INFO: call_cost start
[2025-01-06 19:23:14] Production.INFO: call_cost end
[2025-01-06 19:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:23:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:23:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:23:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:23:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:23:15] Production.INFO: ==19042== Releasing lock...
[2025-01-06 19:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:23:18] Production.INFO: count ==2611
[2025-01-06 19:23:18] Production.ERROR: pbx CDR StartTime 2025-01-06 16:23:04 - End Time 2025-01-06 19:23:04
[2025-01-06 19:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189671', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189671', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189671', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189671', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:23:18] Production.INFO: ProcessCDR(1,14189671,1,1,2)
[2025-01-06 19:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189671,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:23:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189671,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:23:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189671,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:23:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189671,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189671', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189671', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:23:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:23:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:23:23] Production.INFO: ==19050== Releasing lock...
[2025-01-06 19:23:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:23:23] Production.INFO: 47.75 MB #Memory Used#
[2025-01-07 00:24:01] Production.INFO: ==19155== Lock acquired, processing the job...
[2025-01-07 00:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:24:01] Production.INFO: neon service started
[2025-01-07 00:24:01] Production.INFO: neon service started
[2025-01-07 00:24:01] Production.INFO: ==19155== Releasing lock...
[2025-01-07 00:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 19:24:02] Production.INFO: ==19157== Lock acquired, processing the job...
[2025-01-06 19:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:24:02] Production.INFO: ==19159== Lock acquired, processing the job...
[2025-01-07 00:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:24:02] Production.INFO: ==19159== Releasing lock...
[2025-01-07 00:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:24:02] Production.INFO: ==19157== Releasing lock...
[2025-01-06 19:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 19:24:03] Production.INFO: ==19166== Lock acquired, processing the job...
[2025-01-06 19:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:24:03] Production.INFO: ==19172== Lock acquired, processing the job...
[2025-01-06 19:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:24:03] Production.INFO: ==19162== Lock acquired, processing the job...
[2025-01-06 19:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:24:03] Production.INFO: ==19164== Lock acquired, processing the job...
[2025-01-06 19:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:24:04] Production.INFO: ==19168== Lock acquired, processing the job...
[2025-01-06 19:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:24:04] Production.INFO: ==19170== Lock acquired, processing the job...
[2025-01-06 19:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:24:04] Production.INFO: count ==21
[2025-01-06 19:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:24:04] Production.INFO: count ==21
[2025-01-06 19:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189672') start
[2025-01-06 19:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:24:04] Production.INFO: Account Balance Start.
[2025-01-06 19:24:04] Production.INFO: CreateAllLog Start
[2025-01-06 19:24:04] Production.INFO: 117
[2025-01-06 19:24:04] Production.INFO: Date 2024-12-08
[2025-01-06 19:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189672') end
[2025-01-06 19:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:24:04] Production.INFO: 1
[2025-01-06 19:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:24:04] Production.INFO: Date 2024-12-09
[2025-01-06 19:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:24:04] Production.INFO: ==19164== Releasing lock...
[2025-01-06 19:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:24:04] Production.INFO: ==19172== Releasing lock...
[2025-01-06 19:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:24:04] Production.INFO: Date 2024-12-10
[2025-01-06 19:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:24:04] Production.INFO: Date 2024-12-11
[2025-01-06 19:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:24:04] Production.INFO: Date 2024-12-12
[2025-01-06 19:24:04] Production.ERROR: done
[2025-01-06 19:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:24:04] Production.INFO: Date 2024-12-13
[2025-01-06 19:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:24:04] Production.ERROR: done
[2025-01-06 19:24:04] Production.INFO: Date 2024-12-14
[2025-01-06 19:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:24:04] Production.INFO: Date 2024-12-15
[2025-01-06 19:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:24:04] Production.INFO: Date 2024-12-16
[2025-01-06 19:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:24:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:24:04] Production.INFO: Date 2024-12-18
[2025-01-06 19:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:24:04] Production.INFO: Date 2024-12-19
[2025-01-06 19:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:24:05] Production.INFO: Date 2024-12-20
[2025-01-06 19:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:24:05] Production.INFO: Date 2024-12-21
[2025-01-06 19:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:24:05] Production.INFO: Date 2024-12-22
[2025-01-06 19:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:24:05] Production.INFO: Date 2024-12-23
[2025-01-06 19:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:24:05] Production.INFO: Date 2024-12-24
[2025-01-06 19:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:24:05] Production.INFO: Date 2024-12-25
[2025-01-06 19:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:24:05] Production.INFO: Date 2024-12-26
[2025-01-06 19:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:24:05] Production.INFO: Date 2024-12-27
[2025-01-06 19:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:24:05] Production.INFO: Date 2024-12-28
[2025-01-06 19:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:24:05] Production.INFO: Date 2024-12-29
[2025-01-06 19:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:24:05] Production.INFO: Date 2024-12-30
[2025-01-06 19:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:24:05] Production.INFO: Date 2024-12-31
[2025-01-06 19:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:24:05] Production.INFO: Date 2025-01-01
[2025-01-06 19:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:24:05] Production.INFO: Date 2025-01-02
[2025-01-06 19:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:24:05] Production.INFO: Date 2025-01-03
[2025-01-06 19:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:24:05] Production.INFO: Date 2025-01-04
[2025-01-06 19:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:24:05] Production.INFO: Date 2025-01-05
[2025-01-06 19:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:24:05] Production.INFO: Date 2025-01-06
[2025-01-06 19:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:24:05] Production.INFO: Total Charge 0
[2025-01-06 19:24:05] Production.INFO: CreateAllLog End
[2025-01-06 19:24:05] Production.INFO: Account Balance End.
[2025-01-06 19:24:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:24:05] Production.INFO: ==19168== Releasing lock...
[2025-01-06 19:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:24:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:24:05
[end_date_ymd] => 2025-01-06 19:24:05
[RateCDR] => 1
)
[2025-01-06 19:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 16:24:05' and `end` < '2025-01-06 19:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 19:24:12] Production.ERROR: CronJobId end10
[2025-01-06 19:24:12] Production.INFO: ==19166== Releasing lock...
[2025-01-06 19:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:24:14] Production.INFO: call_cost start
[2025-01-06 19:24:14] Production.INFO: call_cost end
[2025-01-06 19:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:24:14] Production.INFO: ==19162== Releasing lock...
[2025-01-06 19:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:24:19] Production.INFO: count ==2589
[2025-01-06 19:24:19] Production.ERROR: pbx CDR StartTime 2025-01-06 16:24:05 - End Time 2025-01-06 19:24:05
[2025-01-06 19:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189676', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189676', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189676', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189676', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:24:19] Production.INFO: ProcessCDR(1,14189676,1,1,2)
[2025-01-06 19:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189676,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189676,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189676,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:24:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189676,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189676', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189676', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:24:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:24:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:24:23] Production.INFO: ==19170== Releasing lock...
[2025-01-06 19:24:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:24:23] Production.INFO: 47.5 MB #Memory Used#
[2025-01-07 00:25:01] Production.INFO: ==19235== Lock acquired, processing the job...
[2025-01-07 00:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:25:01] Production.INFO: neon service started
[2025-01-07 00:25:01] Production.INFO: neon service started
[2025-01-07 00:25:01] Production.INFO: ==19235== Releasing lock...
[2025-01-07 00:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 19:25:01] Production.INFO: ==19237== Lock acquired, processing the job...
[2025-01-06 19:25:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 19:25:01] Production.INFO: ==19237== Releasing lock...
[2025-01-06 19:25:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:25:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:25:02] Production.INFO: ==19239== Lock acquired, processing the job...
[2025-01-07 00:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:25:02] Production.INFO: ==19239== Releasing lock...
[2025-01-07 00:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:25:02] Production.INFO: ==19244== Lock acquired, processing the job...
[2025-01-06 19:25:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:25:02] Production.INFO: ==19252== Lock acquired, processing the job...
[2025-01-06 19:25:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:25:02] Production.INFO: ==19242== Lock acquired, processing the job...
[2025-01-06 19:25:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:25:03] Production.INFO: ==19246== Lock acquired, processing the job...
[2025-01-06 19:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 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-06 19:25:03] Production.INFO: count ==21
[2025-01-06 19:25:03] Production.INFO: ==19248== Lock acquired, processing the job...
[2025-01-06 19:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 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-06 19:25:03] Production.INFO: count ==21
[2025-01-06 19:25:03] Production.INFO: ==19250== Lock acquired, processing the job...
[2025-01-06 19:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189678') start
[2025-01-06 19:25:03] Production.INFO: Account Balance Start.
[2025-01-06 19:25:03] Production.INFO: CreateAllLog Start
[2025-01-06 19:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:25:03] Production.INFO: 117
[2025-01-06 19:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:25:03] Production.INFO: Date 2024-12-08
[2025-01-06 19:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:25:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:25:03] Production.INFO: ==19244== Releasing lock...
[2025-01-06 19:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:25:03] Production.INFO: Date 2024-12-09
[2025-01-06 19:25:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:25:03] Production.INFO: Date 2024-12-10
[2025-01-06 19:25:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189678') end
[2025-01-06 19:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:25:03] Production.INFO: 1
[2025-01-06 19:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:25:03] Production.INFO: Date 2024-12-11
[2025-01-06 19:25:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:25:03] Production.INFO: ==19252== Releasing lock...
[2025-01-06 19:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:25:03] Production.INFO: Date 2024-12-12
[2025-01-06 19:25:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:25:03] Production.INFO: Date 2024-12-13
[2025-01-06 19:25:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:25:03] Production.INFO: Date 2024-12-14
[2025-01-06 19:25:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:25:03] Production.INFO: Date 2024-12-15
[2025-01-06 19:25:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:25:03] Production.ERROR: done
[2025-01-06 19:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:25:03] Production.INFO: Date 2024-12-16
[2025-01-06 19:25:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:25:03] Production.INFO: Date 2024-12-17
[2025-01-06 19:25:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:25:03] Production.ERROR: done
[2025-01-06 19:25:03] Production.INFO: Date 2024-12-18
[2025-01-06 19:25:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:25:03] Production.INFO: Date 2024-12-19
[2025-01-06 19:25:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:25:03] Production.INFO: Date 2024-12-20
[2025-01-06 19:25:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:25:03] Production.INFO: Date 2024-12-21
[2025-01-06 19:25:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:25:03] Production.INFO: Date 2024-12-22
[2025-01-06 19:25:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:25:03] Production.INFO: Date 2024-12-23
[2025-01-06 19:25:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:25:03] Production.INFO: Date 2024-12-24
[2025-01-06 19:25:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:25:04] Production.INFO: Date 2024-12-25
[2025-01-06 19:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:25:04] Production.INFO: Date 2024-12-26
[2025-01-06 19:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:25:04] Production.INFO: Date 2024-12-27
[2025-01-06 19:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:25:04] Production.INFO: Date 2024-12-28
[2025-01-06 19:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:25:04] Production.INFO: Date 2024-12-29
[2025-01-06 19:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:25:04] Production.INFO: Date 2024-12-30
[2025-01-06 19:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:25:04] Production.INFO: Date 2024-12-31
[2025-01-06 19:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:25:04] Production.INFO: Date 2025-01-01
[2025-01-06 19:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:25:04] Production.INFO: Date 2025-01-02
[2025-01-06 19:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:25:04] Production.INFO: Date 2025-01-03
[2025-01-06 19:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:25:04] Production.INFO: Date 2025-01-04
[2025-01-06 19:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:25:04] Production.INFO: Date 2025-01-05
[2025-01-06 19:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:25:04] Production.INFO: Date 2025-01-06
[2025-01-06 19:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:25:04] Production.INFO: Total Charge 0
[2025-01-06 19:25:04] Production.INFO: CreateAllLog End
[2025-01-06 19:25:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:25:04
[end_date_ymd] => 2025-01-06 19:25:04
[RateCDR] => 1
)
[2025-01-06 19:25:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 16:25:04' and `end` < '2025-01-06 19:25:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 19:25:04] Production.INFO: Account Balance End.
[2025-01-06 19:25:04] Production.ERROR: CronJobId end 12
[2025-01-06 19:25:04] Production.INFO: ==19248== Releasing lock...
[2025-01-06 19:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:25:11] Production.ERROR: CronJobId end10
[2025-01-06 19:25:11] Production.INFO: ==19246== Releasing lock...
[2025-01-06 19:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:25:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:25:12] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:25:12] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:25:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:25:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:25:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:25:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:25:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:25:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:25:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:25:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:25:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:25:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:25:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:25:13] Production.INFO: call_cost start
[2025-01-06 19:25:13] Production.INFO: call_cost end
[2025-01-06 19:25:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:25:13] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:25:14] Production.INFO: ==19242== Releasing lock...
[2025-01-06 19:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:25:18] Production.INFO: count ==2578
[2025-01-06 19:25:19] Production.ERROR: pbx CDR StartTime 2025-01-06 16:25:04 - End Time 2025-01-06 19:25:04
[2025-01-06 19:25:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189681', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189681', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189681', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189681', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:25:19] Production.INFO: ProcessCDR(1,14189681,1,1,2)
[2025-01-06 19:25:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189681,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:25:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189681,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:25:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189681,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189681,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189681', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189681', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:25:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:25:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:25:22] Production.INFO: ==19250== Releasing lock...
[2025-01-06 19:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:25:22] Production.INFO: 47.5 MB #Memory Used#
[2025-01-07 00:26:01] Production.INFO: ==19317== Lock acquired, processing the job...
[2025-01-07 00:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:26:01] Production.INFO: neon service started
[2025-01-07 00:26:01] Production.INFO: neon service started
[2025-01-07 00:26:01] Production.INFO: ==19317== Releasing lock...
[2025-01-07 00:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 19:26:02] Production.INFO: ==19319== Lock acquired, processing the job...
[2025-01-06 19:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 19:26:02] Production.INFO: ==19319== Releasing lock...
[2025-01-06 19:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:26:02] Production.INFO: ==19321== Lock acquired, processing the job...
[2025-01-07 00:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:26:02] Production.INFO: ==19321== Releasing lock...
[2025-01-07 00:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:26:03] Production.INFO: ==19328== Lock acquired, processing the job...
[2025-01-06 19:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:26:03] Production.INFO: ==19332== Lock acquired, processing the job...
[2025-01-06 19:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:26:03] Production.INFO: ==19324== Lock acquired, processing the job...
[2025-01-06 19:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:26:03] Production.INFO: ==19326== Lock acquired, processing the job...
[2025-01-06 19:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:26:03] Production.INFO: ==19330== Lock acquired, processing the job...
[2025-01-06 19:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:26:03] Production.INFO: ==19334== Lock acquired, processing the job...
[2025-01-06 19:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:26:03] Production.INFO: Account Balance Start.
[2025-01-06 19:26:03] Production.INFO: CreateAllLog Start
[2025-01-06 19:26:03] Production.INFO: 117
[2025-01-06 19:26:03] Production.INFO: Date 2024-12-08
[2025-01-06 19:26:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:26:03] Production.INFO: Date 2024-12-09
[2025-01-06 19:26:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:26:03] Production.INFO: count ==21
[2025-01-06 19:26:03] Production.INFO: Date 2024-12-10
[2025-01-06 19:26:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:26:03] Production.ERROR: done
[2025-01-06 19:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:26:03] Production.INFO: Date 2024-12-11
[2025-01-06 19:26:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:26:03] Production.INFO: count ==21
[2025-01-06 19:26:04] Production.INFO: Date 2024-12-12
[2025-01-06 19:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189685') start
[2025-01-06 19:26:04] Production.INFO: Date 2024-12-13
[2025-01-06 19:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:26:04] Production.INFO: Date 2024-12-14
[2025-01-06 19:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:26:04] Production.INFO: ==19326== Releasing lock...
[2025-01-06 19:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:26:04] Production.ERROR: done
[2025-01-06 19:26:04] Production.INFO: Date 2024-12-15
[2025-01-06 19:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189685') end
[2025-01-06 19:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:26:04] Production.INFO: 1
[2025-01-06 19:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:26:04] Production.INFO: Date 2024-12-16
[2025-01-06 19:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:26:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:26:04] Production.INFO: ==19334== Releasing lock...
[2025-01-06 19:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:26:04] Production.INFO: Date 2024-12-18
[2025-01-06 19:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:26:04] Production.INFO: Date 2024-12-19
[2025-01-06 19:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:26:04] Production.INFO: Date 2024-12-20
[2025-01-06 19:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:26:04] Production.INFO: Date 2024-12-21
[2025-01-06 19:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:26:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:26:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:26:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:26:04] Production.INFO: Date 2024-12-25
[2025-01-06 19:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:26:04] Production.INFO: Date 2024-12-26
[2025-01-06 19:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:26:04] Production.INFO: Date 2024-12-27
[2025-01-06 19:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:26:04] Production.INFO: Date 2024-12-28
[2025-01-06 19:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:26:04] Production.INFO: Date 2024-12-29
[2025-01-06 19:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:26:04] Production.INFO: Date 2024-12-30
[2025-01-06 19:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:26:04] Production.INFO: Date 2024-12-31
[2025-01-06 19:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:26:04] Production.INFO: Date 2025-01-01
[2025-01-06 19:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:26:04] Production.INFO: Date 2025-01-02
[2025-01-06 19:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:26:04] Production.INFO: Date 2025-01-03
[2025-01-06 19:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:26:04] Production.INFO: Date 2025-01-04
[2025-01-06 19:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:26:04] Production.INFO: Date 2025-01-05
[2025-01-06 19:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:26:04] Production.INFO: Date 2025-01-06
[2025-01-06 19:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:26:04] Production.INFO: Total Charge 0
[2025-01-06 19:26:04] Production.INFO: CreateAllLog End
[2025-01-06 19:26:05] Production.INFO: Account Balance End.
[2025-01-06 19:26:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:26:05] Production.INFO: ==19330== Releasing lock...
[2025-01-06 19:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:26:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:26:05
[end_date_ymd] => 2025-01-06 19:26:05
[RateCDR] => 1
)
[2025-01-06 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-06 16:26:05' and `end` < '2025-01-06 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-06 19:26:11] Production.ERROR: CronJobId end10
[2025-01-06 19:26:11] Production.INFO: ==19328== Releasing lock...
[2025-01-06 19:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:26:13] Production.INFO: call_cost start
[2025-01-06 19:26:13] Production.INFO: call_cost end
[2025-01-06 19:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:26:14] Production.INFO: ==19324== Releasing lock...
[2025-01-06 19:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:26:18] Production.INFO: count ==2561
[2025-01-06 19:26:19] Production.ERROR: pbx CDR StartTime 2025-01-06 16:26:05 - End Time 2025-01-06 19:26:05
[2025-01-06 19:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189686', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189686', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189686', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189686', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:26:19] Production.INFO: ProcessCDR(1,14189686,1,1,2)
[2025-01-06 19:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189686,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:26:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189686,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:26:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189686,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:26:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189686,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189686', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189686', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:26:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:26:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:26:23] Production.INFO: ==19332== Releasing lock...
[2025-01-06 19:26:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:26:23] Production.INFO: 47.25 MB #Memory Used#
[2025-01-07 00:27:02] Production.INFO: ==19403== Lock acquired, processing the job...
[2025-01-07 00:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:27:02] Production.INFO: neon service started
[2025-01-07 00:27:02] Production.INFO: neon service started
[2025-01-07 00:27:02] Production.INFO: ==19403== Releasing lock...
[2025-01-07 00:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:27:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-06 19:27:02] Production.INFO: ==19405== Lock acquired, processing the job...
[2025-01-06 19:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 19:27:02] Production.INFO: ==19405== Releasing lock...
[2025-01-06 19:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:27:02] Production.INFO: ==19407== Lock acquired, processing the job...
[2025-01-07 00:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:27:02] Production.INFO: ==19407== Releasing lock...
[2025-01-07 00:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:27:03] Production.INFO: ==19418== Lock acquired, processing the job...
[2025-01-06 19:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:27:03] Production.INFO: ==19420== Lock acquired, processing the job...
[2025-01-06 19:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:27:03] Production.INFO: ==19410== Lock acquired, processing the job...
[2025-01-06 19:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:27:03] Production.INFO: ==19412== Lock acquired, processing the job...
[2025-01-06 19:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:27:03] Production.INFO: ==19414== Lock acquired, processing the job...
[2025-01-06 19:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:27:04] Production.INFO: ==19416== Lock acquired, processing the job...
[2025-01-06 19:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:27:04] Production.ERROR: done
[2025-01-06 19:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:27:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:27:04] Production.INFO: count ==21
[2025-01-06 19:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:27:04] Production.INFO: count ==21
[2025-01-06 19:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189687') start
[2025-01-06 19:27:04] Production.ERROR: done
[2025-01-06 19:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:27:04] Production.INFO: Account Balance Start.
[2025-01-06 19:27:04] Production.INFO: CreateAllLog Start
[2025-01-06 19:27:04] Production.INFO: 117
[2025-01-06 19:27:04] Production.INFO: Date 2024-12-08
[2025-01-06 19:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189687') end
[2025-01-06 19:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:27:04] Production.INFO: 1
[2025-01-06 19:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:27:04] Production.INFO: ==19412== Releasing lock...
[2025-01-06 19:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:27:04] Production.INFO: ==19420== Releasing lock...
[2025-01-06 19:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:27:04] Production.INFO: Date 2024-12-09
[2025-01-06 19:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:27:04] Production.INFO: Date 2024-12-10
[2025-01-06 19:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:27:04] Production.INFO: Date 2024-12-11
[2025-01-06 19:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:27:04] Production.INFO: Date 2024-12-12
[2025-01-06 19:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:27:04] Production.INFO: Date 2024-12-13
[2025-01-06 19:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:27:04] Production.INFO: Date 2024-12-14
[2025-01-06 19:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:27:04] Production.INFO: Date 2024-12-15
[2025-01-06 19:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:27:04] Production.INFO: Date 2024-12-16
[2025-01-06 19:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:27:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:27:04] Production.INFO: Date 2024-12-18
[2025-01-06 19:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:27:04] Production.INFO: Date 2024-12-19
[2025-01-06 19:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:27:04] Production.INFO: Date 2024-12-20
[2025-01-06 19:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:27:04] Production.INFO: Date 2024-12-21
[2025-01-06 19:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:27:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:27:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:27:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:27:04] Production.INFO: Date 2024-12-25
[2025-01-06 19:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:27:04] Production.INFO: Date 2024-12-26
[2025-01-06 19:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:27:04] Production.INFO: Date 2024-12-27
[2025-01-06 19:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:27:04] Production.INFO: Date 2024-12-28
[2025-01-06 19:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:27:04] Production.INFO: Date 2024-12-29
[2025-01-06 19:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:27:04] Production.INFO: Date 2024-12-30
[2025-01-06 19:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:27:04] Production.INFO: Date 2024-12-31
[2025-01-06 19:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:27:04] Production.INFO: Date 2025-01-01
[2025-01-06 19:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:27:05] Production.INFO: Date 2025-01-02
[2025-01-06 19:27:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:27:05] Production.INFO: Date 2025-01-03
[2025-01-06 19:27:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:27:05] Production.INFO: Date 2025-01-04
[2025-01-06 19:27:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:27:05] Production.INFO: Date 2025-01-05
[2025-01-06 19:27:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:27:05] Production.INFO: Date 2025-01-06
[2025-01-06 19:27:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:27:05] Production.INFO: Total Charge 0
[2025-01-06 19:27:05] Production.INFO: CreateAllLog End
[2025-01-06 19:27:05] Production.INFO: Account Balance End.
[2025-01-06 19:27:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:27:05] Production.INFO: ==19416== Releasing lock...
[2025-01-06 19:27:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:27:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:27:05
[end_date_ymd] => 2025-01-06 19:27:05
[RateCDR] => 1
)
[2025-01-06 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-06 16:27:05' and `end` < '2025-01-06 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-06 19:27:13] Production.ERROR: CronJobId end10
[2025-01-06 19:27:13] Production.INFO: ==19414== Releasing lock...
[2025-01-06 19:27:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:27:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:27:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:27:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:27:15] Production.INFO: call_cost start
[2025-01-06 19:27:15] Production.INFO: call_cost end
[2025-01-06 19:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:27:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:27:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:27:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:27:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:27:15] Production.INFO: ==19410== Releasing lock...
[2025-01-06 19:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:27:18] Production.INFO: count ==2548
[2025-01-06 19:27:19] Production.ERROR: pbx CDR StartTime 2025-01-06 16:27:05 - End Time 2025-01-06 19:27:05
[2025-01-06 19:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189691', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189691', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189691', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189691', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:27:19] Production.INFO: ProcessCDR(1,14189691,1,1,2)
[2025-01-06 19:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189691,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:27:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189691,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:27:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189691,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:27:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189691,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:27:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189691', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:27:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189691', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:27:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:27:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:27:24] Production.INFO: ==19418== Releasing lock...
[2025-01-06 19:27:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:27:24] Production.INFO: 47.25 MB #Memory Used#
[2025-01-07 00:28:01] Production.INFO: ==19491== Lock acquired, processing the job...
[2025-01-07 00:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:28:01] Production.INFO: neon service started
[2025-01-07 00:28:01] Production.INFO: neon service started
[2025-01-07 00:28:01] Production.INFO: ==19491== Releasing lock...
[2025-01-07 00:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 19:28:02] Production.INFO: ==19493== Lock acquired, processing the job...
[2025-01-06 19:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 19:28:02] Production.INFO: ==19493== Releasing lock...
[2025-01-06 19:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:28:02] Production.INFO: ==19495== Lock acquired, processing the job...
[2025-01-07 00:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:28:02] Production.INFO: ==19495== Releasing lock...
[2025-01-07 00:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:28:03] Production.INFO: ==19498== Lock acquired, processing the job...
[2025-01-06 19:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:28:03] Production.INFO: ==19502== Lock acquired, processing the job...
[2025-01-06 19:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:28:03] Production.INFO: ==19500== Lock acquired, processing the job...
[2025-01-06 19:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:28:03] Production.INFO: ==19504== Lock acquired, processing the job...
[2025-01-06 19:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:28:03] Production.INFO: ==19506== Lock acquired, processing the job...
[2025-01-06 19:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:28:03] Production.INFO: Account Balance Start.
[2025-01-06 19:28:03] Production.INFO: CreateAllLog Start
[2025-01-06 19:28:03] Production.INFO: 117
[2025-01-06 19:28:03] Production.INFO: Date 2024-12-08
[2025-01-06 19:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:28:03] Production.INFO: ==19508== Lock acquired, processing the job...
[2025-01-06 19:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:28:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:28:03] Production.INFO: Date 2024-12-09
[2025-01-06 19:28:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:28:03] Production.INFO: Date 2024-12-10
[2025-01-06 19:28:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:28:03] Production.INFO: ==19500== Releasing lock...
[2025-01-06 19:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:28:03] Production.INFO: Date 2024-12-11
[2025-01-06 19:28:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:28:03] Production.INFO: Date 2024-12-12
[2025-01-06 19:28:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:28:03] Production.INFO: Date 2024-12-13
[2025-01-06 19:28:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:28:03] Production.INFO: count ==21
[2025-01-06 19:28:03] Production.INFO: Date 2024-12-14
[2025-01-06 19:28:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:28:03] Production.ERROR: done
[2025-01-06 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-06 19:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:28:04] Production.INFO: count ==21
[2025-01-06 19:28:04] Production.INFO: Date 2024-12-15
[2025-01-06 19:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189695') start
[2025-01-06 19:28:04] Production.INFO: Date 2024-12-16
[2025-01-06 19:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:28:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:28:04] Production.INFO: Date 2024-12-18
[2025-01-06 19:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:28:04] Production.ERROR: done
[2025-01-06 19:28:04] Production.INFO: Date 2024-12-19
[2025-01-06 19:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189695') end
[2025-01-06 19:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:28:04] Production.INFO: 1
[2025-01-06 19:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:28:04] Production.INFO: Date 2024-12-20
[2025-01-06 19:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:28:04] Production.INFO: Date 2024-12-21
[2025-01-06 19:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:28:04] Production.INFO: ==19508== Releasing lock...
[2025-01-06 19:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:28:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:28:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:28:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:28:04] Production.INFO: Date 2024-12-25
[2025-01-06 19:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:28:04] Production.INFO: Date 2024-12-26
[2025-01-06 19:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:28:04] Production.INFO: Date 2024-12-27
[2025-01-06 19:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:28:04] Production.INFO: Date 2024-12-28
[2025-01-06 19:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:28:04] Production.INFO: Date 2024-12-29
[2025-01-06 19:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:28:04] Production.INFO: Date 2024-12-30
[2025-01-06 19:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:28:04] Production.INFO: Date 2024-12-31
[2025-01-06 19:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:28:04] Production.INFO: Date 2025-01-01
[2025-01-06 19:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:28:04] Production.INFO: Date 2025-01-02
[2025-01-06 19:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:28:04] Production.INFO: Date 2025-01-03
[2025-01-06 19:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:28:04] Production.INFO: Date 2025-01-04
[2025-01-06 19:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:28:04] Production.INFO: Date 2025-01-05
[2025-01-06 19:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:28:04] Production.INFO: Date 2025-01-06
[2025-01-06 19:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:28:04] Production.INFO: Total Charge 0
[2025-01-06 19:28:04] Production.INFO: CreateAllLog End
[2025-01-06 19:28:05] Production.INFO: Account Balance End.
[2025-01-06 19:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:28:05
[end_date_ymd] => 2025-01-06 19:28:05
[RateCDR] => 1
)
[2025-01-06 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-06 16:28:05' and `end` < '2025-01-06 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-06 19:28:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:28:05] Production.INFO: ==19504== Releasing lock...
[2025-01-06 19:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:28:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:28:13] Production.ERROR: CronJobId end10
[2025-01-06 19:28:13] Production.INFO: ==19502== Releasing lock...
[2025-01-06 19:28:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:28:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:28:14] Production.INFO: call_cost start
[2025-01-06 19:28:14] Production.INFO: call_cost end
[2025-01-06 19:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:28:14] Production.INFO: ==19498== Releasing lock...
[2025-01-06 19:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:28:18] Production.INFO: count ==2527
[2025-01-06 19:28:19] Production.ERROR: pbx CDR StartTime 2025-01-06 16:28:05 - End Time 2025-01-06 19:28:05
[2025-01-06 19:28:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189696', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189696', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189696', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189696', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:28:19] Production.INFO: ProcessCDR(1,14189696,1,1,2)
[2025-01-06 19:28:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189696,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:28:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189696,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:28:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189696,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:28:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189696,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189696', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189696', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:28:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:28:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:28:23] Production.INFO: ==19506== Releasing lock...
[2025-01-06 19:28:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:28:23] Production.INFO: 47 MB #Memory Used#
[2025-01-07 00:29:02] Production.INFO: ==19571== Lock acquired, processing the job...
[2025-01-07 00:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:29:02] Production.INFO: neon service started
[2025-01-07 00:29:02] Production.INFO: neon service started
[2025-01-07 00:29:02] Production.INFO: ==19571== Releasing lock...
[2025-01-07 00:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:29:02] Production.INFO: ==19575== Lock acquired, processing the job...
[2025-01-07 00:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:29:02] Production.INFO: ==19575== Releasing lock...
[2025-01-07 00:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:29:02] Production.INFO: ==19573== Lock acquired, processing the job...
[2025-01-06 19:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 19:29:02] Production.INFO: ==19573== Releasing lock...
[2025-01-06 19:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 19:29:03] Production.INFO: ==19578== Lock acquired, processing the job...
[2025-01-06 19:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:29:03] Production.INFO: ==19584== Lock acquired, processing the job...
[2025-01-06 19:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:29:03] Production.INFO: Account Balance Start.
[2025-01-06 19:29:03] Production.INFO: CreateAllLog Start
[2025-01-06 19:29:03] Production.INFO: 117
[2025-01-06 19:29:03] Production.INFO: Date 2024-12-08
[2025-01-06 19:29:03] Production.INFO: ==19589== Lock acquired, processing the job...
[2025-01-06 19:29:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:29:03] Production.INFO: Date 2024-12-09
[2025-01-06 19:29:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:29:03] Production.INFO: Date 2024-12-10
[2025-01-06 19:29:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:29:03] Production.INFO: Date 2024-12-11
[2025-01-06 19:29:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:29:03] Production.INFO: Date 2024-12-12
[2025-01-06 19:29:03] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 19:29:03] Production.INFO: Date 2024-12-13
[2025-01-06 19:29:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:29:03] Production.INFO: ==19580== Lock acquired, processing the job...
[2025-01-06 19:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:29:03] Production.INFO: count ==21
[2025-01-06 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-06 19:29:03] Production.INFO: count ==21
[2025-01-06 19:29:03] Production.INFO: Date 2024-12-14
[2025-01-06 19:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189699') start
[2025-01-06 19:29:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:29:03] Production.INFO: ==19582== Lock acquired, processing the job...
[2025-01-06 19:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:29:03] Production.INFO: ==19587== Lock acquired, processing the job...
[2025-01-06 19:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:29:04] Production.INFO: Date 2024-12-15
[2025-01-06 19:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:29:04] Production.INFO: Date 2024-12-16
[2025-01-06 19:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:29:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189699') end
[2025-01-06 19:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:29:04] Production.INFO: 1
[2025-01-06 19:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:29:04] Production.INFO: Date 2024-12-18
[2025-01-06 19:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:29:04] Production.INFO: ==19589== Releasing lock...
[2025-01-06 19:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:29:04] Production.INFO: Date 2024-12-19
[2025-01-06 19:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:29:04] Production.ERROR: done
[2025-01-06 19:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:29:04] Production.INFO: Date 2024-12-20
[2025-01-06 19:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:29:04] Production.ERROR: done
[2025-01-06 19:29:04] Production.INFO: Date 2024-12-21
[2025-01-06 19:29:04] Production.INFO: ==19580== Releasing lock...
[2025-01-06 19:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:29:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:29:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:29:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:29:04] Production.INFO: Date 2024-12-25
[2025-01-06 19:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:29:04] Production.INFO: Date 2024-12-26
[2025-01-06 19:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:29:04] Production.INFO: Date 2024-12-27
[2025-01-06 19:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:29:04] Production.INFO: Date 2024-12-28
[2025-01-06 19:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:29:04] Production.INFO: Date 2024-12-29
[2025-01-06 19:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:29:04] Production.INFO: Date 2024-12-30
[2025-01-06 19:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:29:05] Production.INFO: Date 2024-12-31
[2025-01-06 19:29:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:29:05] Production.INFO: Date 2025-01-01
[2025-01-06 19:29:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:29:05] Production.INFO: Date 2025-01-02
[2025-01-06 19:29:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:29:05] Production.INFO: Date 2025-01-03
[2025-01-06 19:29:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:29:05] Production.INFO: Date 2025-01-04
[2025-01-06 19:29:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:29:05] Production.INFO: Date 2025-01-05
[2025-01-06 19:29:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:29:05] Production.INFO: Date 2025-01-06
[2025-01-06 19:29:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:29:05] Production.INFO: Total Charge 0
[2025-01-06 19:29:05] Production.INFO: CreateAllLog End
[2025-01-06 19:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:29:05
[end_date_ymd] => 2025-01-06 19:29:05
[RateCDR] => 1
)
[2025-01-06 19:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 16:29:05' and `end` < '2025-01-06 19:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 19:29:05] Production.INFO: Account Balance End.
[2025-01-06 19:29:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:29:05] Production.INFO: ==19584== Releasing lock...
[2025-01-06 19:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:29:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:29:12] Production.ERROR: CronJobId end10
[2025-01-06 19:29:12] Production.INFO: ==19582== Releasing lock...
[2025-01-06 19:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:29:14] Production.INFO: call_cost start
[2025-01-06 19:29:14] Production.INFO: call_cost end
[2025-01-06 19:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:29:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:29:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:29:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:29:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:29:15] Production.INFO: ==19578== Releasing lock...
[2025-01-06 19:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:29:19] Production.INFO: count ==2514
[2025-01-06 19:29:20] Production.ERROR: pbx CDR StartTime 2025-01-06 16:29:05 - End Time 2025-01-06 19:29:05
[2025-01-06 19:29:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189701', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189701', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189701', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189701', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:29:20] Production.INFO: ProcessCDR(1,14189701,1,1,2)
[2025-01-06 19:29:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189701,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:29:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189701,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:29:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189701,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:29:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189701,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:29:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189701', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:29:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189701', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:29:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:29:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:29:25] Production.INFO: ==19587== Releasing lock...
[2025-01-06 19:29:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:29:25] Production.INFO: 47 MB #Memory Used#
[2025-01-07 00:30:01] Production.INFO: ==19653== Lock acquired, processing the job...
[2025-01-07 00:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:30:01] Production.INFO: neon service started
[2025-01-07 00:30:01] Production.INFO: neon service started
[2025-01-07 00:30:01] Production.INFO: ==19653== Releasing lock...
[2025-01-07 00:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 19:30:02] Production.INFO: ==19655== Lock acquired, processing the job...
[2025-01-06 19:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:30:02] Production.INFO: ==19657== Lock acquired, processing the job...
[2025-01-07 00:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:30:02] Production.INFO: ==19657== Releasing lock...
[2025-01-07 00:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:30:02] Production.INFO: ==19655== Releasing lock...
[2025-01-06 19:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 19:30:03] Production.INFO: ==19668== Lock acquired, processing the job...
[2025-01-06 19:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:30:03] Production.INFO: ==19670== Lock acquired, processing the job...
[2025-01-06 19:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:30:03] Production.INFO: Account Balance Start.
[2025-01-06 19:30:03] Production.INFO: CreateAllLog Start
[2025-01-06 19:30:03] Production.INFO: 117
[2025-01-06 19:30:03] Production.INFO: Date 2024-12-08
[2025-01-06 19:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:30:03] Production.INFO: ==19672== Lock acquired, processing the job...
[2025-01-06 19:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-06 19:30:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:30:03] Production.INFO: ==19660== Lock acquired, processing the job...
[2025-01-06 19:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-06 19:30:03] Production.INFO: ==19662== Lock acquired, processing the job...
[2025-01-06 19:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:30:03] Production.INFO: Date 2024-12-09
[2025-01-06 19:30:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:30:03] Production.INFO: Date 2024-12-10
[2025-01-06 19:30:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:30:03] Production.INFO: ==19664== Lock acquired, processing the job...
[2025-01-06 19:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:30:03] Production.INFO: ==19666== Lock acquired, processing the job...
[2025-01-06 19:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:30:03] Production.INFO: Date 2024-12-11
[2025-01-06 19:30:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:30:03] Production.INFO: Date 2024-12-12
[2025-01-06 19:30:03] Production.INFO: ==19674== Lock acquired, processing the job...
[2025-01-06 19:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:30:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-06 19:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 19:30:03] Production.ERROR: CronJob PID - 19662
[2025-01-06 19:30:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-06 19:30:03] Production.ERROR: CronJob ID - 5
[2025-01-06 19:30:03] Production.ERROR: CronJob Last Run Time 2025-01-06 19:30:00
[2025-01-06 19:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 19:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 19:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 19:30:03] Production.ERROR: CronJob PID - 19664
[2025-01-06 19:30:03] Production.ERROR: CronJob Title - Account Block
[2025-01-06 19:30:03] Production.ERROR: CronJob ID - 7
[2025-01-06 19:30:03] Production.ERROR: CronJob Last Run Time 2025-01-06 19:30:00
[2025-01-06 19:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 19:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 19:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 19:30:03] Production.ERROR: CronJob PID - 19666
[2025-01-06 19:30:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-06 19:30:03] Production.ERROR: CronJob ID - 10
[2025-01-06 19:30:03] Production.ERROR: CronJob Last Run Time 2025-01-06 19:30:00
[2025-01-06 19:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 19:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 19:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 19:30:03] Production.ERROR: CronJob PID - 19668
[2025-01-06 19:30:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-06 19:30:03] Production.ERROR: CronJob ID - 12
[2025-01-06 19:30:03] Production.ERROR: CronJob Last Run Time 2025-01-06 19:30:00
[2025-01-06 19:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 19:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 19:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 19:30:03] Production.ERROR: CronJob PID - 19670
[2025-01-06 19:30:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-06 19:30:03] Production.ERROR: CronJob ID - 16
[2025-01-06 19:30:03] Production.ERROR: CronJob Last Run Time 2025-01-06 19:30:00
[2025-01-06 19:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 19:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 19:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 19:30:03] Production.ERROR: CronJob PID - 19672
[2025-01-06 19:30:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-06 19:30:03] Production.ERROR: CronJob ID - 17
[2025-01-06 19:30:03] Production.ERROR: CronJob Last Run Time 2025-01-06 19:30:00
[2025-01-06 19:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 19:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 19:30:04] Production.ERROR: done
[2025-01-06 19:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-06 19:30:04] Production.INFO: ==19660== Releasing lock...
[2025-01-06 19:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-06 19:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-06 19:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:30:04] Production.INFO: Date 2024-12-13
[2025-01-06 19:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 19:30:04] Production.INFO: count ==21
[2025-01-06 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-06 19:30:04] Production.INFO: count ==21
[2025-01-06 19:30:04] Production.ERROR: done
[2025-01-06 19:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189705') start
[2025-01-06 19:30:04] Production.ERROR: done
[2025-01-06 19:30:04] Production.INFO: Date 2024-12-14
[2025-01-06 19:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:30:04] Production.INFO: ==19664== Releasing lock...
[2025-01-06 19:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:30:04] Production.INFO: Date 2024-12-15
[2025-01-06 19:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189705') end
[2025-01-06 19:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:30:04] Production.INFO: 1
[2025-01-06 19:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-06 19:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14189707', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) start
[2025-01-06 19:30:04] Production.INFO: Date 2024-12-16
[2025-01-06 19:30:04] Production.INFO: ==19674== Releasing lock...
[2025-01-06 19:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:30:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:30:04] Production.INFO: Date 2024-12-18
[2025-01-06 19:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:30:04] Production.INFO: Date 2024-12-19
[2025-01-06 19:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:30:04] Production.INFO: Date 2024-12-20
[2025-01-06 19:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:30:04] Production.INFO: Date 2024-12-21
[2025-01-06 19:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:30:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:30:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:30:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:30:04] Production.INFO: Date 2024-12-25
[2025-01-06 19:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:30:04] Production.INFO: Date 2024-12-26
[2025-01-06 19:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:30:04] Production.INFO: Date 2024-12-27
[2025-01-06 19:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:30:04] Production.INFO: Date 2024-12-28
[2025-01-06 19:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:30:05] Production.INFO: Date 2024-12-29
[2025-01-06 19:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:30:05] Production.INFO: Date 2024-12-30
[2025-01-06 19:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:30:05] Production.INFO: Date 2024-12-31
[2025-01-06 19:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:30:05] Production.INFO: Date 2025-01-01
[2025-01-06 19:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:30:05] Production.INFO: Date 2025-01-02
[2025-01-06 19:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:30:05] Production.INFO: Date 2025-01-03
[2025-01-06 19:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:30:05] Production.INFO: Date 2025-01-04
[2025-01-06 19:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:30:05] Production.INFO: Date 2025-01-05
[2025-01-06 19:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:30:05] Production.INFO: Date 2025-01-06
[2025-01-06 19:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:30:05] Production.INFO: Total Charge 0
[2025-01-06 19:30:05] Production.INFO: CreateAllLog End
[2025-01-06 19:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:30:05
[end_date_ymd] => 2025-01-06 19:30:05
[RateCDR] => 1
)
[2025-01-06 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-06 16:30:05' and `end` < '2025-01-06 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-06 19:30:05] Production.INFO: Account Balance End.
[2025-01-06 19:30:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:30:05] Production.INFO: ==19668== Releasing lock...
[2025-01-06 19:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14189707', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) end
[2025-01-06 19:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-06 19:30:08] Production.INFO: ProcessCDR(1,14189707,1,1,2)
[2025-01-06 19:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14189707,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14189707,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:30:09] Production.INFO: ==19672== Releasing lock...
[2025-01-06 19:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-06 19:30:09] Production.INFO: 26 MB #Memory Used#
[2025-01-06 19:30:14] Production.ERROR: CronJobId end10
[2025-01-06 19:30:14] Production.INFO: ==19666== Releasing lock...
[2025-01-06 19:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:30:15] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:30:15] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:30:15] Production.INFO: call_cost start
[2025-01-06 19:30:15] Production.INFO: call_cost end
[2025-01-06 19:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:30:16] Production.INFO: ==19662== Releasing lock...
[2025-01-06 19:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:30:18] Production.INFO: count ==2494
[2025-01-06 19:30:19] Production.ERROR: pbx CDR StartTime 2025-01-06 16:30:05 - End Time 2025-01-06 19:30:05
[2025-01-06 19:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189706', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189706', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189706', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189706', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:30:19] Production.INFO: ProcessCDR(1,14189706,1,1,2)
[2025-01-06 19:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189706,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189706,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189706,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189706,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189706', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189706', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:30:22] Production.INFO: ==19670== Releasing lock...
[2025-01-06 19:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:30:22] Production.INFO: 47 MB #Memory Used#
[2025-01-07 00:31:01] Production.INFO: ==19742== Lock acquired, processing the job...
[2025-01-07 00:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:31:01] Production.INFO: neon service started
[2025-01-07 00:31:01] Production.INFO: neon service started
[2025-01-07 00:31:01] Production.INFO: ==19742== Releasing lock...
[2025-01-07 00:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:31:01] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 00:31:02] Production.INFO: ==19746== Lock acquired, processing the job...
[2025-01-07 00:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:31:02] Production.INFO: ==19746== Releasing lock...
[2025-01-07 00:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:31:02] Production.INFO: ==19744== Lock acquired, processing the job...
[2025-01-06 19:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 19:31:02] Production.INFO: ==19744== Releasing lock...
[2025-01-06 19:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 19:31:03] Production.INFO: ==19755== Lock acquired, processing the job...
[2025-01-06 19:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:31:03] Production.INFO: ==19757== Lock acquired, processing the job...
[2025-01-06 19:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:31:03] Production.INFO: Account Balance Start.
[2025-01-06 19:31:03] Production.INFO: CreateAllLog Start
[2025-01-06 19:31:03] Production.INFO: 117
[2025-01-06 19:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:31:03] Production.INFO: Date 2024-12-08
[2025-01-06 19:31:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:31:03] Production.INFO: Date 2024-12-09
[2025-01-06 19:31:03] Production.INFO: ==19749== Lock acquired, processing the job...
[2025-01-06 19:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:31:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:31:03] Production.INFO: Date 2024-12-10
[2025-01-06 19:31:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:31:03] Production.INFO: ==19753== Lock acquired, processing the job...
[2025-01-06 19:31:03] Production.INFO: ==19751== Lock acquired, processing the job...
[2025-01-06 19:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:31:03] Production.INFO: ==19759== Lock acquired, processing the job...
[2025-01-06 19:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:31:03] Production.INFO: Date 2024-12-11
[2025-01-06 19:31:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:31:03] Production.INFO: Date 2024-12-12
[2025-01-06 19:31:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:31:03] Production.INFO: Date 2024-12-13
[2025-01-06 19:31:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:31:03] Production.INFO: Date 2024-12-14
[2025-01-06 19:31:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:31:03] Production.ERROR: done
[2025-01-06 19:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:31:03] Production.INFO: Date 2024-12-15
[2025-01-06 19:31:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:31:03] Production.INFO: Date 2024-12-16
[2025-01-06 19:31:03] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 19:31:03] Production.INFO: count ==21
[2025-01-06 19:31:03] Production.ERROR: done
[2025-01-06 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-06 19:31:03] Production.INFO: count ==21
[2025-01-06 19:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189711') start
[2025-01-06 19:31:03] Production.INFO: Date 2024-12-17
[2025-01-06 19:31:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189711') end
[2025-01-06 19:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:31:04] Production.INFO: 1
[2025-01-06 19:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:31:04] Production.INFO: Date 2024-12-18
[2025-01-06 19:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:31:04] Production.INFO: Date 2024-12-19
[2025-01-06 19:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:31:04] Production.INFO: ==19751== Releasing lock...
[2025-01-06 19:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:31:04] Production.INFO: ==19759== Releasing lock...
[2025-01-06 19:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:31:04] Production.INFO: Date 2024-12-20
[2025-01-06 19:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:31:04] Production.INFO: Date 2024-12-21
[2025-01-06 19:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:31:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:31:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:31:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:31:04] Production.INFO: Date 2024-12-25
[2025-01-06 19:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:31:04] Production.INFO: Date 2024-12-26
[2025-01-06 19:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:31:04] Production.INFO: Date 2024-12-27
[2025-01-06 19:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:31:04] Production.INFO: Date 2024-12-28
[2025-01-06 19:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:31:04] Production.INFO: Date 2024-12-29
[2025-01-06 19:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:31:04] Production.INFO: Date 2024-12-30
[2025-01-06 19:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:31:04] Production.INFO: Date 2024-12-31
[2025-01-06 19:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:31:04] Production.INFO: Date 2025-01-01
[2025-01-06 19:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:31:04] Production.INFO: Date 2025-01-02
[2025-01-06 19:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:31:04] Production.INFO: Date 2025-01-03
[2025-01-06 19:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:31:04] Production.INFO: Date 2025-01-04
[2025-01-06 19:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:31:04] Production.INFO: Date 2025-01-05
[2025-01-06 19:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:31:04] Production.INFO: Date 2025-01-06
[2025-01-06 19:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:31:04] Production.INFO: Total Charge 0
[2025-01-06 19:31:04] Production.INFO: CreateAllLog End
[2025-01-06 19:31:04] Production.INFO: Account Balance End.
[2025-01-06 19:31:04] Production.ERROR: CronJobId end 12
[2025-01-06 19:31:04] Production.INFO: ==19755== Releasing lock...
[2025-01-06 19:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:31:05
[end_date_ymd] => 2025-01-06 19:31:05
[RateCDR] => 1
)
[2025-01-06 19:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 16:31:05' and `end` < '2025-01-06 19:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 19:31:11] Production.ERROR: CronJobId end10
[2025-01-06 19:31:11] Production.INFO: ==19753== Releasing lock...
[2025-01-06 19:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:31:12] Production.INFO: call_cost start
[2025-01-06 19:31:12] Production.INFO: call_cost end
[2025-01-06 19:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:31:13] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:31:13] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:31:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:31:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:31:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:31:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:31:13] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:31:13] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:31:13] Production.INFO: ==19749== Releasing lock...
[2025-01-06 19:31:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:31:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:31:18] Production.INFO: count ==2418
[2025-01-06 19:31:18] Production.ERROR: pbx CDR StartTime 2025-01-06 16:31:05 - End Time 2025-01-06 19:31:05
[2025-01-06 19:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189712', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189712', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189712', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189712', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:31:18] Production.INFO: ProcessCDR(1,14189712,1,1,2)
[2025-01-06 19:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189712,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189712,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189712,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189712,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189712', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189712', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:31:21] Production.INFO: ==19757== Releasing lock...
[2025-01-06 19:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:31:21] Production.INFO: 46.25 MB #Memory Used#
[2025-01-07 00:32:02] Production.INFO: ==19821== Lock acquired, processing the job...
[2025-01-07 00:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:32:02] Production.INFO: neon service started
[2025-01-07 00:32:02] Production.INFO: neon service started
[2025-01-07 00:32:02] Production.INFO: ==19821== Releasing lock...
[2025-01-07 00:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 19:32:02] Production.INFO: ==19823== Lock acquired, processing the job...
[2025-01-06 19:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 19:32:02] Production.INFO: ==19823== Releasing lock...
[2025-01-06 19:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:32:03] Production.INFO: ==19825== Lock acquired, processing the job...
[2025-01-07 00:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:32:03] Production.INFO: ==19825== Releasing lock...
[2025-01-07 00:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:32:03] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:32:03] Production.INFO: ==19835== Lock acquired, processing the job...
[2025-01-06 19:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:32:03] Production.INFO: ==19827== Lock acquired, processing the job...
[2025-01-06 19:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:32:03] Production.INFO: ==19831== Lock acquired, processing the job...
[2025-01-06 19:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:32:03] Production.INFO: ==19829== Lock acquired, processing the job...
[2025-01-06 19:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:32:03] Production.INFO: ==19837== Lock acquired, processing the job...
[2025-01-06 19:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:32:03] Production.INFO: ==19833== Lock acquired, processing the job...
[2025-01-06 19:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19: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-06 19:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:32:04] Production.INFO: Account Balance Start.
[2025-01-06 19:32:04] Production.INFO: CreateAllLog Start
[2025-01-06 19:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:32:04] Production.INFO: 117
[2025-01-06 19:32:04] Production.INFO: count ==21
[2025-01-06 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-06 19:32:04] Production.INFO: count ==21
[2025-01-06 19:32:04] Production.INFO: Date 2024-12-08
[2025-01-06 19:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189715') start
[2025-01-06 19:32:04] Production.ERROR: done
[2025-01-06 19:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:32:04] Production.INFO: Date 2024-12-09
[2025-01-06 19:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189715') end
[2025-01-06 19:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:32:04] Production.INFO: 1
[2025-01-06 19:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:32:04] Production.INFO: ==19837== Releasing lock...
[2025-01-06 19:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:32:04] Production.ERROR: done
[2025-01-06 19:32:04] Production.INFO: ==19829== Releasing lock...
[2025-01-06 19:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:32:04] Production.INFO: Date 2024-12-10
[2025-01-06 19:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:32:04] Production.INFO: Date 2024-12-11
[2025-01-06 19:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:32:04] Production.INFO: Date 2024-12-12
[2025-01-06 19:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:32:04] Production.INFO: Date 2024-12-13
[2025-01-06 19:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:32:04] Production.INFO: Date 2024-12-14
[2025-01-06 19:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:32:04] Production.INFO: Date 2024-12-15
[2025-01-06 19:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:32:04] Production.INFO: Date 2024-12-16
[2025-01-06 19:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:32:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:32:04] Production.INFO: Date 2024-12-18
[2025-01-06 19:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:32:04] Production.INFO: Date 2024-12-19
[2025-01-06 19:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:32:04] Production.INFO: Date 2024-12-20
[2025-01-06 19:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:32:04] Production.INFO: Date 2024-12-21
[2025-01-06 19:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:32:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:32:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:32:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:32:04] Production.INFO: Date 2024-12-25
[2025-01-06 19:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:32:04] Production.INFO: Date 2024-12-26
[2025-01-06 19:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:32:04] Production.INFO: Date 2024-12-27
[2025-01-06 19:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:32:04] Production.INFO: Date 2024-12-28
[2025-01-06 19:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:32:04] Production.INFO: Date 2024-12-29
[2025-01-06 19:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:32:04] Production.INFO: Date 2024-12-30
[2025-01-06 19:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:32:05] Production.INFO: Date 2024-12-31
[2025-01-06 19:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:32:05] Production.INFO: Date 2025-01-01
[2025-01-06 19:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:32:05] Production.INFO: Date 2025-01-02
[2025-01-06 19:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:32:05] Production.INFO: Date 2025-01-03
[2025-01-06 19:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:32:05] Production.INFO: Date 2025-01-04
[2025-01-06 19:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:32:05] Production.INFO: Date 2025-01-05
[2025-01-06 19:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:32:05] Production.INFO: Date 2025-01-06
[2025-01-06 19:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:32:05] Production.INFO: Total Charge 0
[2025-01-06 19:32:05] Production.INFO: CreateAllLog End
[2025-01-06 19:32:05] Production.INFO: Account Balance End.
[2025-01-06 19:32:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:32:05] Production.INFO: ==19833== Releasing lock...
[2025-01-06 19:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:32:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:32:05
[end_date_ymd] => 2025-01-06 19:32:05
[RateCDR] => 1
)
[2025-01-06 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-06 16:32:05' and `end` < '2025-01-06 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-06 19:32:11] Production.ERROR: CronJobId end10
[2025-01-06 19:32:11] Production.INFO: ==19831== Releasing lock...
[2025-01-06 19:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:32:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:32:12] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:32:12] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:32:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:32:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:32:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:32:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:32:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:32:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:32:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:32:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:32:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:32:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:32:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:32:13] Production.INFO: call_cost start
[2025-01-06 19:32:13] Production.INFO: call_cost end
[2025-01-06 19:32:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:32:13] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:32:13] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:32:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:32:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:32:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:32:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:32:13] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:32:13] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:32:13] Production.INFO: ==19827== Releasing lock...
[2025-01-06 19:32:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:32:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:32:19] Production.INFO: count ==2402
[2025-01-06 19:32:20] Production.ERROR: pbx CDR StartTime 2025-01-06 16:32:05 - End Time 2025-01-06 19:32:05
[2025-01-06 19:32:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189717', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189717', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189717', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189717', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:32:20] Production.INFO: ProcessCDR(1,14189717,1,1,2)
[2025-01-06 19:32:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189717,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:32:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189717,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:32:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189717,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:32:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189717,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189717', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189717', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:32:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:32:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:32:23] Production.INFO: ==19835== Releasing lock...
[2025-01-06 19:32:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:32:23] Production.INFO: 46 MB #Memory Used#
[2025-01-07 00:33:01] Production.INFO: ==19902== Lock acquired, processing the job...
[2025-01-07 00:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:33:01] Production.INFO: neon service started
[2025-01-07 00:33:01] Production.INFO: neon service started
[2025-01-07 00:33:01] Production.INFO: ==19902== Releasing lock...
[2025-01-07 00:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:33:02] Production.INFO: ==19906== Lock acquired, processing the job...
[2025-01-07 00:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:33:02] Production.INFO: ==19906== Releasing lock...
[2025-01-07 00:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:33:02] Production.INFO: ==19904== Lock acquired, processing the job...
[2025-01-06 19:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 19:33:02] Production.INFO: ==19904== Releasing lock...
[2025-01-06 19:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 19:33:03] Production.INFO: ==19911== Lock acquired, processing the job...
[2025-01-06 19:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:33:03] Production.INFO: ==19909== Lock acquired, processing the job...
[2025-01-06 19:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:33:03] Production.INFO: ==19919== Lock acquired, processing the job...
[2025-01-06 19:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:33:03] Production.INFO: ==19911== Releasing lock...
[2025-01-06 19:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 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-06 19:33:03] Production.INFO: count ==21
[2025-01-06 19:33:03] Production.INFO: ==19913== Lock acquired, processing the job...
[2025-01-06 19:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:33:03] Production.INFO: ==19915== Lock acquired, processing the job...
[2025-01-06 19:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 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-06 19:33:03] Production.INFO: count ==21
[2025-01-06 19:33:03] Production.INFO: ==19917== Lock acquired, processing the job...
[2025-01-06 19:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189720') start
[2025-01-06 19:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189720') end
[2025-01-06 19:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:33:04] Production.INFO: 1
[2025-01-06 19:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:33:04] Production.INFO: ==19919== Releasing lock...
[2025-01-06 19:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:33:04] Production.INFO: Account Balance Start.
[2025-01-06 19:33:04] Production.INFO: CreateAllLog Start
[2025-01-06 19:33:04] Production.INFO: 117
[2025-01-06 19:33:04] Production.INFO: Date 2024-12-08
[2025-01-06 19:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:33:04] Production.INFO: Date 2024-12-09
[2025-01-06 19:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:33:04] Production.ERROR: done
[2025-01-06 19:33:04] Production.INFO: Date 2024-12-10
[2025-01-06 19:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:33:04] Production.INFO: Date 2024-12-11
[2025-01-06 19:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:33:04] Production.INFO: Date 2024-12-12
[2025-01-06 19:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:33:04] Production.ERROR: done
[2025-01-06 19:33:04] Production.INFO: Date 2024-12-13
[2025-01-06 19:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:33:04] Production.INFO: Date 2024-12-14
[2025-01-06 19:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:33:04] Production.INFO: Date 2024-12-15
[2025-01-06 19:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:33:04] Production.INFO: Date 2024-12-16
[2025-01-06 19:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:33:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:33:04] Production.INFO: Date 2024-12-18
[2025-01-06 19:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:33:04] Production.INFO: Date 2024-12-19
[2025-01-06 19:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:33:04] Production.INFO: Date 2024-12-20
[2025-01-06 19:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:33:04] Production.INFO: Date 2024-12-21
[2025-01-06 19:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:33:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:33:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:33:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:33:04] Production.INFO: Date 2024-12-25
[2025-01-06 19:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:33:04] Production.INFO: Date 2024-12-26
[2025-01-06 19:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:33:05] Production.INFO: Date 2024-12-27
[2025-01-06 19:33:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:33:05] Production.INFO: Date 2024-12-28
[2025-01-06 19:33:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:33:05] Production.INFO: Date 2024-12-29
[2025-01-06 19:33:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:33:05] Production.INFO: Date 2024-12-30
[2025-01-06 19:33:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:33:05] Production.INFO: Date 2024-12-31
[2025-01-06 19:33:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:33:05] Production.INFO: Date 2025-01-01
[2025-01-06 19:33:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:33:05] Production.INFO: Date 2025-01-02
[2025-01-06 19:33:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:33:05] Production.INFO: Date 2025-01-03
[2025-01-06 19:33:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:33:05] Production.INFO: Date 2025-01-04
[2025-01-06 19:33:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:33:05] Production.INFO: Date 2025-01-05
[2025-01-06 19:33:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:33:05] Production.INFO: Date 2025-01-06
[2025-01-06 19:33:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:33:05] Production.INFO: Total Charge 0
[2025-01-06 19:33:05] Production.INFO: CreateAllLog End
[2025-01-06 19:33:05] Production.INFO: Account Balance End.
[2025-01-06 19:33:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:33:05] Production.INFO: ==19915== Releasing lock...
[2025-01-06 19:33:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:33:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:33:05
[end_date_ymd] => 2025-01-06 19:33:05
[RateCDR] => 1
)
[2025-01-06 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-06 16:33:05' and `end` < '2025-01-06 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-06 19:33:12] Production.ERROR: CronJobId end10
[2025-01-06 19:33:12] Production.INFO: ==19913== Releasing lock...
[2025-01-06 19:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:33:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:33:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:33:14] Production.INFO: call_cost start
[2025-01-06 19:33:14] Production.INFO: call_cost end
[2025-01-06 19:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:33:14] Production.INFO: ==19909== Releasing lock...
[2025-01-06 19:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:33:18] Production.INFO: count ==2388
[2025-01-06 19:33:19] Production.ERROR: pbx CDR StartTime 2025-01-06 16:33:05 - End Time 2025-01-06 19:33:05
[2025-01-06 19:33:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189722', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189722', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189722', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189722', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:33:19] Production.INFO: ProcessCDR(1,14189722,1,1,2)
[2025-01-06 19:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189722,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:33:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189722,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:33:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189722,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189722,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189722', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189722', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:33:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:33:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:33:22] Production.INFO: ==19917== Releasing lock...
[2025-01-06 19:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:33:22] Production.INFO: 46.25 MB #Memory Used#
[2025-01-07 00:34:02] Production.INFO: ==19986== Lock acquired, processing the job...
[2025-01-07 00:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:34:02] Production.INFO: neon service started
[2025-01-07 00:34:02] Production.INFO: neon service started
[2025-01-07 00:34:02] Production.INFO: ==19986== Releasing lock...
[2025-01-07 00:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:34:02] Production.INFO: ==19990== Lock acquired, processing the job...
[2025-01-07 00:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:34:02] Production.INFO: ==19990== Releasing lock...
[2025-01-07 00:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:34:02] Production.INFO: ==19988== Lock acquired, processing the job...
[2025-01-06 19:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 19:34:03] Production.INFO: ==19988== Releasing lock...
[2025-01-06 19:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:34:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 19:34:03] Production.INFO: ==19994== Lock acquired, processing the job...
[2025-01-06 19:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:34:03] Production.INFO: ==19996== Lock acquired, processing the job...
[2025-01-06 19:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:34:03] Production.INFO: ==19998== Lock acquired, processing the job...
[2025-01-06 19:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:34:03] Production.INFO: ==19992== Lock acquired, processing the job...
[2025-01-06 19:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:34:04] Production.INFO: ==19994== Releasing lock...
[2025-01-06 19:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:34:04] Production.INFO: ==20000== Lock acquired, processing the job...
[2025-01-06 19:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:34:04] Production.INFO: Account Balance Start.
[2025-01-06 19:34:04] Production.INFO: CreateAllLog Start
[2025-01-06 19:34:04] Production.INFO: 117
[2025-01-06 19:34:04] Production.INFO: Date 2024-12-08
[2025-01-06 19:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:34:04] Production.INFO: Date 2024-12-09
[2025-01-06 19:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:34:04] Production.INFO: Date 2024-12-10
[2025-01-06 19:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:34:04] Production.INFO: Date 2024-12-11
[2025-01-06 19:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:34:04] Production.INFO: Date 2024-12-12
[2025-01-06 19:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:34:04] Production.INFO: ==20003== Lock acquired, processing the job...
[2025-01-06 19:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:34:04] Production.INFO: Date 2024-12-13
[2025-01-06 19:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:34:04] Production.INFO: Date 2024-12-14
[2025-01-06 19:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 19:34:04] Production.ERROR: done
[2025-01-06 19:34:04] Production.INFO: count ==21
[2025-01-06 19:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 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-06 19:34:04] Production.INFO: count ==21
[2025-01-06 19:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189726') start
[2025-01-06 19:34:04] Production.INFO: Date 2024-12-15
[2025-01-06 19:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:34:04] Production.INFO: Date 2024-12-16
[2025-01-06 19:34:04] Production.ERROR: done
[2025-01-06 19:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:34:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:34:04] Production.INFO: Date 2024-12-18
[2025-01-06 19:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189726') end
[2025-01-06 19:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:34:04] Production.INFO: 1
[2025-01-06 19:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:34:04] Production.INFO: Date 2024-12-19
[2025-01-06 19:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:34:04] Production.INFO: Date 2024-12-20
[2025-01-06 19:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:34:04] Production.INFO: ==20003== Releasing lock...
[2025-01-06 19:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:34:04] Production.INFO: Date 2024-12-21
[2025-01-06 19:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:34:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:34:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:34:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:34:05] Production.INFO: Date 2024-12-25
[2025-01-06 19:34:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:34:05] Production.INFO: Date 2024-12-26
[2025-01-06 19:34:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:34:05] Production.INFO: Date 2024-12-27
[2025-01-06 19:34:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:34:05] Production.INFO: Date 2024-12-28
[2025-01-06 19:34:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:34:05] Production.INFO: Date 2024-12-29
[2025-01-06 19:34:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:34:05] Production.INFO: Date 2024-12-30
[2025-01-06 19:34:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:34:05] Production.INFO: Date 2024-12-31
[2025-01-06 19:34:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:34:05] Production.INFO: Date 2025-01-01
[2025-01-06 19:34:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:34:05] Production.INFO: Date 2025-01-02
[2025-01-06 19:34:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:34:05] Production.INFO: Date 2025-01-03
[2025-01-06 19:34:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:34:05] Production.INFO: Date 2025-01-04
[2025-01-06 19:34:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:34:05] Production.INFO: Date 2025-01-05
[2025-01-06 19:34:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:34:05] Production.INFO: Date 2025-01-06
[2025-01-06 19:34:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:34:05] Production.INFO: Total Charge 0
[2025-01-06 19:34:05] Production.INFO: CreateAllLog End
[2025-01-06 19:34:05] Production.INFO: Account Balance End.
[2025-01-06 19:34:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:34:05] Production.INFO: ==19998== Releasing lock...
[2025-01-06 19:34:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:34:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:34:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:34:06
[end_date_ymd] => 2025-01-06 19:34:06
[RateCDR] => 1
)
[2025-01-06 19:34:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 16:34:06' and `end` < '2025-01-06 19:34:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 19:34:13] Production.ERROR: CronJobId end10
[2025-01-06 19:34:13] Production.INFO: ==19996== Releasing lock...
[2025-01-06 19:34:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:34:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:34:13] Production.INFO: call_cost start
[2025-01-06 19:34:13] Production.INFO: call_cost end
[2025-01-06 19:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:34:14] Production.INFO: ==19992== Releasing lock...
[2025-01-06 19:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:34:19] Production.INFO: count ==2381
[2025-01-06 19:34:20] Production.ERROR: pbx CDR StartTime 2025-01-06 16:34:06 - End Time 2025-01-06 19:34:06
[2025-01-06 19:34:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189727', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189727', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189727', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189727', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:34:20] Production.INFO: ProcessCDR(1,14189727,1,1,2)
[2025-01-06 19:34:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189727,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:34:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189727,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:34:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189727,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:34:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189727,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189727', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189727', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:34:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:34:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:34:23] Production.INFO: ==20000== Releasing lock...
[2025-01-06 19:34:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:34:23] Production.INFO: 46.25 MB #Memory Used#
[2025-01-07 00:35:01] Production.INFO: ==20065== Lock acquired, processing the job...
[2025-01-07 00:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:35:01] Production.INFO: neon service started
[2025-01-07 00:35:01] Production.INFO: neon service started
[2025-01-07 00:35:01] Production.INFO: ==20065== Releasing lock...
[2025-01-07 00:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:35:02] Production.INFO: ==20069== Lock acquired, processing the job...
[2025-01-07 00:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:35:02] Production.INFO: ==20069== Releasing lock...
[2025-01-07 00:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:35:02] Production.INFO: ==20067== Lock acquired, processing the job...
[2025-01-06 19:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 19:35:02] Production.INFO: ==20067== Releasing lock...
[2025-01-06 19:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 19:35:03] Production.INFO: ==20075== Lock acquired, processing the job...
[2025-01-06 19:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:35:03] Production.INFO: ==20077== Lock acquired, processing the job...
[2025-01-06 19:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:35:03] Production.INFO: ==20079== Lock acquired, processing the job...
[2025-01-06 19:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:35:03] Production.INFO: Account Balance Start.
[2025-01-06 19:35:03] Production.INFO: CreateAllLog Start
[2025-01-06 19:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:35:03] Production.INFO: 117
[2025-01-06 19:35:03] Production.INFO: Date 2024-12-08
[2025-01-06 19:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:35:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:35:03] Production.INFO: Date 2024-12-09
[2025-01-06 19:35:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:35:03] Production.INFO: Date 2024-12-10
[2025-01-06 19:35:03] Production.INFO: ==20071== Lock acquired, processing the job...
[2025-01-06 19:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:35:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:35:03] Production.INFO: Date 2024-12-11
[2025-01-06 19:35:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:35:03] Production.INFO: Date 2024-12-12
[2025-01-06 19:35:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:35:03] Production.INFO: ==20073== Lock acquired, processing the job...
[2025-01-06 19:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:35:03] Production.INFO: ==20081== Lock acquired, processing the job...
[2025-01-06 19:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:35:03] Production.INFO: Date 2024-12-13
[2025-01-06 19:35:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:35:03] Production.INFO: Date 2024-12-14
[2025-01-06 19:35:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:35:03] Production.INFO: Date 2024-12-15
[2025-01-06 19:35:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:35:03] Production.ERROR: done
[2025-01-06 19:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 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-06 19:35:03] Production.INFO: Date 2024-12-16
[2025-01-06 19:35:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:35:03] Production.INFO: count ==21
[2025-01-06 19:35:03] Production.INFO: Date 2024-12-17
[2025-01-06 19:35:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:35:03] Production.INFO: count ==21
[2025-01-06 19:35:03] Production.ERROR: done
[2025-01-06 19:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189730') start
[2025-01-06 19:35:03] Production.INFO: Date 2024-12-18
[2025-01-06 19:35:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:35:04] Production.INFO: Date 2024-12-19
[2025-01-06 19:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:35:04] Production.INFO: Date 2024-12-20
[2025-01-06 19:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:35:04] Production.INFO: Date 2024-12-21
[2025-01-06 19:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189730') end
[2025-01-06 19:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:35:04] Production.INFO: 1
[2025-01-06 19:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:35:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:35:04] Production.INFO: ==20073== Releasing lock...
[2025-01-06 19:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:35:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:35:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:35:04] Production.INFO: ==20081== Releasing lock...
[2025-01-06 19:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:35:04] Production.INFO: Date 2024-12-25
[2025-01-06 19:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:35:04] Production.INFO: Date 2024-12-26
[2025-01-06 19:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:35:04] Production.INFO: Date 2024-12-27
[2025-01-06 19:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:35:04] Production.INFO: Date 2024-12-28
[2025-01-06 19:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:35:04] Production.INFO: Date 2024-12-29
[2025-01-06 19:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:35:04] Production.INFO: Date 2024-12-30
[2025-01-06 19:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:35:04] Production.INFO: Date 2024-12-31
[2025-01-06 19:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:35:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:35:04
[end_date_ymd] => 2025-01-06 19:35:04
[RateCDR] => 1
)
[2025-01-06 19:35:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 16:35:04' and `end` < '2025-01-06 19:35:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 19:35:04] Production.INFO: Date 2025-01-01
[2025-01-06 19:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:35:04] Production.INFO: Date 2025-01-02
[2025-01-06 19:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:35:05] Production.INFO: Date 2025-01-03
[2025-01-06 19:35:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:35:05] Production.INFO: Date 2025-01-04
[2025-01-06 19:35:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:35:05] Production.INFO: Date 2025-01-05
[2025-01-06 19:35:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:35:05] Production.INFO: Date 2025-01-06
[2025-01-06 19:35:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:35:05] Production.INFO: Total Charge 0
[2025-01-06 19:35:05] Production.INFO: CreateAllLog End
[2025-01-06 19:35:05] Production.INFO: Account Balance End.
[2025-01-06 19:35:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:35:05] Production.INFO: ==20077== Releasing lock...
[2025-01-06 19:35:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:35:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:35:13] Production.ERROR: CronJobId end10
[2025-01-06 19:35:13] Production.INFO: ==20075== Releasing lock...
[2025-01-06 19:35:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:35:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:35:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:35:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:35:14] Production.INFO: call_cost start
[2025-01-06 19:35:14] Production.INFO: call_cost end
[2025-01-06 19:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:35:14] Production.INFO: ==20071== Releasing lock...
[2025-01-06 19:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:35:18] Production.INFO: count ==2359
[2025-01-06 19:35:18] Production.ERROR: pbx CDR StartTime 2025-01-06 16:35:04 - End Time 2025-01-06 19:35:04
[2025-01-06 19:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189732', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189732', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189732', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189732', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:35:18] Production.INFO: ProcessCDR(1,14189732,1,1,2)
[2025-01-06 19:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189732,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:35:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189732,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:35:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189732,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:35:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189732,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189732', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189732', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:35:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:35:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:35:23] Production.INFO: ==20079== Releasing lock...
[2025-01-06 19:35:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:35:23] Production.INFO: 46 MB #Memory Used#
[2025-01-07 00:36:02] Production.INFO: ==20143== Lock acquired, processing the job...
[2025-01-07 00:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:36:02] Production.INFO: neon service started
[2025-01-07 00:36:02] Production.INFO: neon service started
[2025-01-07 00:36:02] Production.INFO: ==20143== Releasing lock...
[2025-01-07 00:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 19:36:02] Production.INFO: ==20145== Lock acquired, processing the job...
[2025-01-06 19:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 19:36:02] Production.INFO: ==20145== Releasing lock...
[2025-01-06 19:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:36:02] Production.INFO: ==20147== Lock acquired, processing the job...
[2025-01-07 00:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:36:03] Production.INFO: ==20147== Releasing lock...
[2025-01-07 00:36:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:36:03] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:36:03] Production.INFO: ==20152== Lock acquired, processing the job...
[2025-01-06 19:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:36:03] Production.INFO: ==20150== Lock acquired, processing the job...
[2025-01-06 19:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:36:03] Production.INFO: ==20158== Lock acquired, processing the job...
[2025-01-06 19:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:36:03] Production.INFO: ==20156== Lock acquired, processing the job...
[2025-01-06 19:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:36:03] Production.INFO: ==20154== Lock acquired, processing the job...
[2025-01-06 19:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:36:03] Production.INFO: Account Balance Start.
[2025-01-06 19:36:03] Production.INFO: CreateAllLog Start
[2025-01-06 19:36:03] Production.INFO: 117
[2025-01-06 19:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:36:03] Production.INFO: ==20160== Lock acquired, processing the job...
[2025-01-06 19:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:36:03] Production.INFO: Date 2024-12-08
[2025-01-06 19:36:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:36:03] Production.INFO: ==20152== Releasing lock...
[2025-01-06 19:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:36:03] Production.INFO: Date 2024-12-09
[2025-01-06 19:36:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:36:04] Production.INFO: Date 2024-12-10
[2025-01-06 19:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:36:04] Production.INFO: count ==21
[2025-01-06 19:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:36:04] Production.INFO: count ==21
[2025-01-06 19:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189736') start
[2025-01-06 19:36:04] Production.INFO: Date 2024-12-11
[2025-01-06 19:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:36:04] Production.ERROR: done
[2025-01-06 19:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:36:04] Production.INFO: Date 2024-12-12
[2025-01-06 19:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189736') end
[2025-01-06 19:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:36:04] Production.INFO: 1
[2025-01-06 19:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:36:04] Production.INFO: Date 2024-12-13
[2025-01-06 19:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:36:04] Production.INFO: ==20160== Releasing lock...
[2025-01-06 19:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:36:04] Production.ERROR: done
[2025-01-06 19:36:04] Production.INFO: Date 2024-12-14
[2025-01-06 19:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:36:04] Production.INFO: Date 2024-12-15
[2025-01-06 19:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:36:04] Production.INFO: Date 2024-12-16
[2025-01-06 19:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:36:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:36:04] Production.INFO: Date 2024-12-18
[2025-01-06 19:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:36:04] Production.INFO: Date 2024-12-19
[2025-01-06 19:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:36:04] Production.INFO: Date 2024-12-20
[2025-01-06 19:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:36:04] Production.INFO: Date 2024-12-21
[2025-01-06 19:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:36:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:36:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:36:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:36:04] Production.INFO: Date 2024-12-25
[2025-01-06 19:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:36:05] Production.INFO: Date 2024-12-26
[2025-01-06 19:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:36:05] Production.INFO: Date 2024-12-27
[2025-01-06 19:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:36:05] Production.INFO: Date 2024-12-28
[2025-01-06 19:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:36:05] Production.INFO: Date 2024-12-29
[2025-01-06 19:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:36:05
[end_date_ymd] => 2025-01-06 19:36:05
[RateCDR] => 1
)
[2025-01-06 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-06 16:36:05' and `end` < '2025-01-06 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-06 19:36:05] Production.INFO: Date 2024-12-30
[2025-01-06 19:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:36:05] Production.INFO: Date 2024-12-31
[2025-01-06 19:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:36:05] Production.INFO: Date 2025-01-01
[2025-01-06 19:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:36:05] Production.INFO: Date 2025-01-02
[2025-01-06 19:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:36:05] Production.INFO: Date 2025-01-03
[2025-01-06 19:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:36:05] Production.INFO: Date 2025-01-04
[2025-01-06 19:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:36:05] Production.INFO: Date 2025-01-05
[2025-01-06 19:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:36:05] Production.INFO: Date 2025-01-06
[2025-01-06 19:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:36:05] Production.INFO: Total Charge 0
[2025-01-06 19:36:05] Production.INFO: CreateAllLog End
[2025-01-06 19:36:05] Production.INFO: Account Balance End.
[2025-01-06 19:36:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:36:05] Production.INFO: ==20156== Releasing lock...
[2025-01-06 19:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:36:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:36:12] Production.ERROR: CronJobId end10
[2025-01-06 19:36:12] Production.INFO: ==20154== Releasing lock...
[2025-01-06 19:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:36:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:36:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:36:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:36:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:36:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:36:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:36:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:36:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:36:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:36:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:36:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:36:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:36:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:36:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:36:14] Production.INFO: call_cost start
[2025-01-06 19:36:14] Production.INFO: call_cost end
[2025-01-06 19:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:36:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:36:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:36:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:36:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:36:15] Production.INFO: ==20150== Releasing lock...
[2025-01-06 19:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:36:18] Production.INFO: count ==2342
[2025-01-06 19:36:19] Production.ERROR: pbx CDR StartTime 2025-01-06 16:36:05 - End Time 2025-01-06 19:36:05
[2025-01-06 19:36:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189737', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189737', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189737', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189737', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:36:19] Production.INFO: ProcessCDR(1,14189737,1,1,2)
[2025-01-06 19:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189737,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189737,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189737,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189737,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189737', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189737', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:36:22] Production.INFO: ==20158== Releasing lock...
[2025-01-06 19:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:36:22] Production.INFO: 45.75 MB #Memory Used#
[2025-01-07 00:37:01] Production.INFO: ==20227== Lock acquired, processing the job...
[2025-01-07 00:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:37:01] Production.INFO: neon service started
[2025-01-07 00:37:01] Production.INFO: neon service started
[2025-01-07 00:37:01] Production.INFO: ==20227== Releasing lock...
[2025-01-07 00:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 19:37:02] Production.INFO: ==20229== Lock acquired, processing the job...
[2025-01-06 19:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:37:02] Production.INFO: ==20231== Lock acquired, processing the job...
[2025-01-07 00:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:37:02] Production.INFO: ==20231== Releasing lock...
[2025-01-07 00:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:37:02] Production.INFO: ==20229== Releasing lock...
[2025-01-06 19:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 19:37:03] Production.INFO: ==20238== Lock acquired, processing the job...
[2025-01-06 19:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:37:03] Production.INFO: ==20242== Lock acquired, processing the job...
[2025-01-06 19:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:37:03] Production.INFO: ==20234== Lock acquired, processing the job...
[2025-01-06 19:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:37:03] Production.INFO: ==20236== Lock acquired, processing the job...
[2025-01-06 19:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:37:03] Production.INFO: ==20240== Lock acquired, processing the job...
[2025-01-06 19:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:37:03] Production.INFO: ==20244== Lock acquired, processing the job...
[2025-01-06 19:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:37:03] Production.INFO: Account Balance Start.
[2025-01-06 19:37:03] Production.INFO: CreateAllLog Start
[2025-01-06 19:37:03] Production.INFO: 117
[2025-01-06 19:37:03] Production.INFO: Date 2024-12-08
[2025-01-06 19:37:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:37:03] Production.ERROR: done
[2025-01-06 19:37:03] Production.INFO: Date 2024-12-09
[2025-01-06 19:37:03] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 19:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:37:03] Production.INFO: count ==21
[2025-01-06 19:37:03] Production.INFO: Date 2024-12-10
[2025-01-06 19:37:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:37:03] Production.INFO: Date 2024-12-11
[2025-01-06 19:37:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:37:03] Production.INFO: ==20236== Releasing lock...
[2025-01-06 19:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 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-06 19:37:03] Production.INFO: count ==21
[2025-01-06 19:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189741') start
[2025-01-06 19:37:03] Production.ERROR: done
[2025-01-06 19:37:04] Production.INFO: Date 2024-12-12
[2025-01-06 19:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:37:04] Production.INFO: Date 2024-12-13
[2025-01-06 19:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:37:04] Production.INFO: Date 2024-12-14
[2025-01-06 19:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:37:04] Production.INFO: Date 2024-12-15
[2025-01-06 19:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189741') end
[2025-01-06 19:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:37:04] Production.INFO: 1
[2025-01-06 19:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:37:04] Production.INFO: Date 2024-12-16
[2025-01-06 19:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:37:04] Production.INFO: ==20244== Releasing lock...
[2025-01-06 19:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:37:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:37:04] Production.INFO: Date 2024-12-18
[2025-01-06 19:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:37:04] Production.INFO: Date 2024-12-19
[2025-01-06 19:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:37:04] Production.INFO: Date 2024-12-20
[2025-01-06 19:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:37:04] Production.INFO: Date 2024-12-21
[2025-01-06 19:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:37:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:37:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:37:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:37:04] Production.INFO: Date 2024-12-25
[2025-01-06 19:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:37:04] Production.INFO: Date 2024-12-26
[2025-01-06 19:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:37:04] Production.INFO: Date 2024-12-27
[2025-01-06 19:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:37:04] Production.INFO: Date 2024-12-28
[2025-01-06 19:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:37:04] Production.INFO: Date 2024-12-29
[2025-01-06 19:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:37:04] Production.INFO: Date 2024-12-30
[2025-01-06 19:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:37:04] Production.INFO: Date 2024-12-31
[2025-01-06 19:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:37:04] Production.INFO: Date 2025-01-01
[2025-01-06 19:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:37:04] Production.INFO: Date 2025-01-02
[2025-01-06 19:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:37:05] Production.INFO: Date 2025-01-03
[2025-01-06 19:37:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:37:05] Production.INFO: Date 2025-01-04
[2025-01-06 19:37:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:37:05] Production.INFO: Date 2025-01-05
[2025-01-06 19:37:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:37:05] Production.INFO: Date 2025-01-06
[2025-01-06 19:37:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:37:05
[end_date_ymd] => 2025-01-06 19:37:05
[RateCDR] => 1
)
[2025-01-06 19:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 16:37:05' and `end` < '2025-01-06 19:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 19:37:05] Production.INFO: Total Charge 0
[2025-01-06 19:37:05] Production.INFO: CreateAllLog End
[2025-01-06 19:37:05] Production.INFO: Account Balance End.
[2025-01-06 19:37:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:37:05] Production.INFO: ==20240== Releasing lock...
[2025-01-06 19:37:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:37:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:37:11] Production.ERROR: CronJobId end10
[2025-01-06 19:37:11] Production.INFO: ==20238== Releasing lock...
[2025-01-06 19:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:37:13] Production.INFO: call_cost start
[2025-01-06 19:37:13] Production.INFO: call_cost end
[2025-01-06 19:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:37:14] Production.INFO: ==20234== Releasing lock...
[2025-01-06 19:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:37:18] Production.INFO: count ==2337
[2025-01-06 19:37:19] Production.ERROR: pbx CDR StartTime 2025-01-06 16:37:05 - End Time 2025-01-06 19:37:05
[2025-01-06 19:37:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189742', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189742', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189742', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189742', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:37:19] Production.INFO: ProcessCDR(1,14189742,1,1,2)
[2025-01-06 19:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189742,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:37:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189742,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:37:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189742,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:37:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189742,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189742', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189742', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:37:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:37:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:37:23] Production.INFO: ==20242== Releasing lock...
[2025-01-06 19:37:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:37:23] Production.INFO: 45.5 MB #Memory Used#
[2025-01-07 00:38:02] Production.INFO: ==20310== Lock acquired, processing the job...
[2025-01-07 00:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:38:02] Production.INFO: neon service started
[2025-01-07 00:38:02] Production.INFO: neon service started
[2025-01-07 00:38:02] Production.INFO: ==20310== Releasing lock...
[2025-01-07 00:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 19:38:02] Production.INFO: ==20312== Lock acquired, processing the job...
[2025-01-06 19:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:38:02] Production.INFO: ==20314== Lock acquired, processing the job...
[2025-01-07 00:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:38:02] Production.INFO: ==20314== Releasing lock...
[2025-01-07 00:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:38:03] Production.INFO: ==20312== Releasing lock...
[2025-01-06 19:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 19:38:03] Production.INFO: ==20317== Lock acquired, processing the job...
[2025-01-06 19:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:38:03] Production.INFO: ==20319== Lock acquired, processing the job...
[2025-01-06 19:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:38:03] Production.INFO: ==20325== Lock acquired, processing the job...
[2025-01-06 19:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:38:04] Production.INFO: ==20321== Lock acquired, processing the job...
[2025-01-06 19:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:38:04] Production.INFO: ==20319== Releasing lock...
[2025-01-06 19:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:38:04] Production.INFO: ==20323== Lock acquired, processing the job...
[2025-01-06 19:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:38:04] Production.ERROR: done
[2025-01-06 19:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:38:04] Production.INFO: ==20327== Lock acquired, processing the job...
[2025-01-06 19:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:38:04] Production.INFO: Account Balance Start.
[2025-01-06 19:38:04] Production.INFO: CreateAllLog Start
[2025-01-06 19:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:38:04] Production.INFO: 117
[2025-01-06 19:38:04] Production.INFO: Date 2024-12-08
[2025-01-06 19:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:38:04] Production.ERROR: done
[2025-01-06 19:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:38:04] Production.INFO: Date 2024-12-09
[2025-01-06 19:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:38:04] Production.INFO: count ==21
[2025-01-06 19:38:04] Production.INFO: Date 2024-12-10
[2025-01-06 19:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:38:04] Production.INFO: count ==21
[2025-01-06 19:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189747') start
[2025-01-06 19:38:04] Production.INFO: Date 2024-12-11
[2025-01-06 19:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189747') end
[2025-01-06 19:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:38:04] Production.INFO: 1
[2025-01-06 19:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:38:04] Production.INFO: Date 2024-12-12
[2025-01-06 19:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:38:04] Production.INFO: ==20327== Releasing lock...
[2025-01-06 19:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:38:04] Production.INFO: Date 2024-12-13
[2025-01-06 19:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:38:04] Production.INFO: Date 2024-12-14
[2025-01-06 19:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:38:04] Production.INFO: Date 2024-12-15
[2025-01-06 19:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:38:04] Production.INFO: Date 2024-12-16
[2025-01-06 19:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:38:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:38:04] Production.INFO: Date 2024-12-18
[2025-01-06 19:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:38:04] Production.INFO: Date 2024-12-19
[2025-01-06 19:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:38:04] Production.INFO: Date 2024-12-20
[2025-01-06 19:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:38:04] Production.INFO: Date 2024-12-21
[2025-01-06 19:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:38:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:38:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:38:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:38:05] Production.INFO: Date 2024-12-25
[2025-01-06 19:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:38:05] Production.INFO: Date 2024-12-26
[2025-01-06 19:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:38:05] Production.INFO: Date 2024-12-27
[2025-01-06 19:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:38:05] Production.INFO: Date 2024-12-28
[2025-01-06 19:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:38:05] Production.INFO: Date 2024-12-29
[2025-01-06 19:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:38:05] Production.INFO: Date 2024-12-30
[2025-01-06 19:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:38:05] Production.INFO: Date 2024-12-31
[2025-01-06 19:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:38:05] Production.INFO: Date 2025-01-01
[2025-01-06 19:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:38:05] Production.INFO: Date 2025-01-02
[2025-01-06 19:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:38:05] Production.INFO: Date 2025-01-03
[2025-01-06 19:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:38:05] Production.INFO: Date 2025-01-04
[2025-01-06 19:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:38:05] Production.INFO: Date 2025-01-05
[2025-01-06 19:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:38:05] Production.INFO: Date 2025-01-06
[2025-01-06 19:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:38:05] Production.INFO: Total Charge 0
[2025-01-06 19:38:05] Production.INFO: CreateAllLog End
[2025-01-06 19:38:05] Production.INFO: Account Balance End.
[2025-01-06 19:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:38:05
[end_date_ymd] => 2025-01-06 19:38:05
[RateCDR] => 1
)
[2025-01-06 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-06 16:38:05' and `end` < '2025-01-06 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-06 19:38:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:38:05] Production.INFO: ==20323== Releasing lock...
[2025-01-06 19:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:38:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:38:12] Production.ERROR: CronJobId end10
[2025-01-06 19:38:12] Production.INFO: ==20321== Releasing lock...
[2025-01-06 19:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:38:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:38:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:38:14] Production.INFO: call_cost start
[2025-01-06 19:38:14] Production.INFO: call_cost end
[2025-01-06 19:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:38:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:38:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:38:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:38:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:38:15] Production.INFO: ==20317== Releasing lock...
[2025-01-06 19:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:38:19] Production.INFO: count ==2338
[2025-01-06 19:38:20] Production.ERROR: pbx CDR StartTime 2025-01-06 16:38:05 - End Time 2025-01-06 19:38:05
[2025-01-06 19:38:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189746', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189746', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189746', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189746', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:38:20] Production.INFO: ProcessCDR(1,14189746,1,1,2)
[2025-01-06 19:38:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189746,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:38:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189746,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:38:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189746,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:38:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189746,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:38:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189746', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:38:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189746', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:38:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:38:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:38:24] Production.INFO: ==20325== Releasing lock...
[2025-01-06 19:38:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:38:24] Production.INFO: 45.75 MB #Memory Used#
[2025-01-07 00:39:01] Production.INFO: ==20389== Lock acquired, processing the job...
[2025-01-07 00:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:39:01] Production.INFO: neon service started
[2025-01-07 00:39:01] Production.INFO: neon service started
[2025-01-07 00:39:01] Production.INFO: ==20389== Releasing lock...
[2025-01-07 00:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 19:39:02] Production.INFO: ==20391== Lock acquired, processing the job...
[2025-01-06 19:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:39:02] Production.INFO: ==20393== Lock acquired, processing the job...
[2025-01-07 00:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:39:02] Production.INFO: ==20393== Releasing lock...
[2025-01-07 00:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:39:02] Production.INFO: ==20391== Releasing lock...
[2025-01-06 19:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 19:39:03] Production.INFO: ==20400== Lock acquired, processing the job...
[2025-01-06 19:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:39:03] Production.INFO: ==20406== Lock acquired, processing the job...
[2025-01-06 19:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 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-06 19:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:39:03] Production.INFO: count ==21
[2025-01-06 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-06 19:39:03] Production.INFO: count ==21
[2025-01-06 19:39:03] Production.INFO: ==20396== Lock acquired, processing the job...
[2025-01-06 19:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189748') start
[2025-01-06 19:39:03] Production.INFO: ==20398== Lock acquired, processing the job...
[2025-01-06 19:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189748') end
[2025-01-06 19:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:39:03] Production.INFO: 1
[2025-01-06 19:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:39:03] Production.INFO: ==20402== Lock acquired, processing the job...
[2025-01-06 19:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:39:03] Production.INFO: ==20404== Lock acquired, processing the job...
[2025-01-06 19:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:39:03] Production.INFO: ==20406== Releasing lock...
[2025-01-06 19:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:39:03] Production.INFO: Account Balance Start.
[2025-01-06 19:39:03] Production.INFO: CreateAllLog Start
[2025-01-06 19:39:03] Production.INFO: 117
[2025-01-06 19:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:39:03] Production.INFO: Date 2024-12-08
[2025-01-06 19:39:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:39:03] Production.INFO: Date 2024-12-09
[2025-01-06 19:39:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:39:04] Production.INFO: Date 2024-12-10
[2025-01-06 19:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:39:04] Production.INFO: Date 2024-12-11
[2025-01-06 19:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:39:04] Production.INFO: Date 2024-12-12
[2025-01-06 19:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:39:04] Production.INFO: Date 2024-12-13
[2025-01-06 19:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:39:04] Production.INFO: Date 2024-12-14
[2025-01-06 19:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:39:04] Production.INFO: Date 2024-12-15
[2025-01-06 19:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:39:04] Production.INFO: Date 2024-12-16
[2025-01-06 19:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:39:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:39:04] Production.INFO: Date 2024-12-18
[2025-01-06 19:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:39:04] Production.ERROR: done
[2025-01-06 19:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:39:04] Production.INFO: ==20398== Releasing lock...
[2025-01-06 19:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:39:04] Production.INFO: Date 2024-12-19
[2025-01-06 19:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:39:04] Production.ERROR: done
[2025-01-06 19:39:04] Production.INFO: Date 2024-12-20
[2025-01-06 19:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:39:04] Production.INFO: Date 2024-12-21
[2025-01-06 19:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:39:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:39:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:39:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:39:04] Production.INFO: Date 2024-12-25
[2025-01-06 19:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:39:04] Production.INFO: Date 2024-12-26
[2025-01-06 19:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:39:04] Production.INFO: Date 2024-12-27
[2025-01-06 19:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:39:05] Production.INFO: Date 2024-12-28
[2025-01-06 19:39:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:39:05] Production.INFO: Date 2024-12-29
[2025-01-06 19:39:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:39:05] Production.INFO: Date 2024-12-30
[2025-01-06 19:39:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:39:05] Production.INFO: Date 2024-12-31
[2025-01-06 19:39:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:39:05] Production.INFO: Date 2025-01-01
[2025-01-06 19:39:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:39:05] Production.INFO: Date 2025-01-02
[2025-01-06 19:39:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:39:05
[end_date_ymd] => 2025-01-06 19:39:05
[RateCDR] => 1
)
[2025-01-06 19:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 16:39:05' and `end` < '2025-01-06 19:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 19:39:05] Production.INFO: Date 2025-01-03
[2025-01-06 19:39:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:39:05] Production.INFO: Date 2025-01-04
[2025-01-06 19:39:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:39:05] Production.INFO: Date 2025-01-05
[2025-01-06 19:39:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:39:05] Production.INFO: Date 2025-01-06
[2025-01-06 19:39:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:39:05] Production.INFO: Total Charge 0
[2025-01-06 19:39:05] Production.INFO: CreateAllLog End
[2025-01-06 19:39:05] Production.INFO: Account Balance End.
[2025-01-06 19:39:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:39:05] Production.INFO: ==20402== Releasing lock...
[2025-01-06 19:39:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:39:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:39:12] Production.ERROR: CronJobId end10
[2025-01-06 19:39:12] Production.INFO: ==20400== Releasing lock...
[2025-01-06 19:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:39:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:39:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:39:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:39:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:39:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:39:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:39:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:39:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:39:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:39:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:39:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:39:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:39:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:39:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:39:14] Production.INFO: call_cost start
[2025-01-06 19:39:14] Production.INFO: call_cost end
[2025-01-06 19:39:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:39:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:39:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:39:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:39:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:39:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:39:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:39:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:39:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:39:15] Production.INFO: ==20396== Releasing lock...
[2025-01-06 19:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:39:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:39:19] Production.INFO: count ==2336
[2025-01-06 19:39:20] Production.ERROR: pbx CDR StartTime 2025-01-06 16:39:05 - End Time 2025-01-06 19:39:05
[2025-01-06 19:39:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189752', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189752', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189752', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189752', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:39:20] Production.INFO: ProcessCDR(1,14189752,1,1,2)
[2025-01-06 19:39:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189752,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:39:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189752,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:39:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189752,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:39:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189752,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189752', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189752', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:39:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:39:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:39:23] Production.INFO: ==20404== Releasing lock...
[2025-01-06 19:39:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:39:23] Production.INFO: 45.5 MB #Memory Used#
[2025-01-07 00:40:02] Production.INFO: ==20510== Lock acquired, processing the job...
[2025-01-07 00:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:40:02] Production.INFO: neon service started
[2025-01-07 00:40:02] Production.INFO: neon service started
[2025-01-07 00:40:02] Production.INFO: ==20510== Releasing lock...
[2025-01-07 00:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 19:40:02] Production.INFO: ==20512== Lock acquired, processing the job...
[2025-01-06 19:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 19:40:02] Production.INFO: ==20512== Releasing lock...
[2025-01-06 19:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:40:02] Production.INFO: ==20514== Lock acquired, processing the job...
[2025-01-07 00:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:40:03] Production.INFO: ==20514== Releasing lock...
[2025-01-07 00:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:40:03] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:40:03] Production.INFO: ==20516== Lock acquired, processing the job...
[2025-01-06 19:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-06 19:40:03] Production.INFO: ==20518== Lock acquired, processing the job...
[2025-01-06 19:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-06 19:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-06 19:40:03] Production.INFO: ==20516== Releasing lock...
[2025-01-06 19:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-06 19:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-06 19:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:40:03] Production.INFO: ==20522== Lock acquired, processing the job...
[2025-01-06 19:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:40:04] Production.INFO: ==20520== Lock acquired, processing the job...
[2025-01-06 19:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:40:04] Production.INFO: ==20526== Lock acquired, processing the job...
[2025-01-06 19:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:40:04] Production.INFO: ==20524== Lock acquired, processing the job...
[2025-01-06 19:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:40:04] Production.INFO: ==20529== Lock acquired, processing the job...
[2025-01-06 19:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-06 19:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:40:04] Production.INFO: ==20531== Lock acquired, processing the job...
[2025-01-06 19:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:40:04] Production.INFO: Account Balance Start.
[2025-01-06 19:40:04] Production.INFO: CreateAllLog Start
[2025-01-06 19:40:04] Production.INFO: 117
[2025-01-06 19:40:04] Production.INFO: Date 2024-12-08
[2025-01-06 19:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:40:04] Production.INFO: Date 2024-12-09
[2025-01-06 19:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:40:04] Production.INFO: ==20520== Releasing lock...
[2025-01-06 19:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:40:04] Production.ERROR: done
[2025-01-06 19:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:40:04] Production.INFO: Date 2024-12-10
[2025-01-06 19:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:40:04] Production.ERROR: done
[2025-01-06 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-06 19:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-06 19:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14189757', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) start
[2025-01-06 19:40:04] Production.INFO: count ==21
[2025-01-06 19:40:04] Production.INFO: Date 2024-12-11
[2025-01-06 19:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 19:40:04] Production.INFO: count ==21
[2025-01-06 19:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189756') start
[2025-01-06 19:40:04] Production.INFO: Date 2024-12-12
[2025-01-06 19:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:40:04] Production.ERROR: done
[2025-01-06 19:40:04] Production.INFO: Date 2024-12-13
[2025-01-06 19:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:40:04] Production.INFO: Date 2024-12-14
[2025-01-06 19:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189756') end
[2025-01-06 19:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:40:04] Production.INFO: 1
[2025-01-06 19:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:40:04] Production.INFO: Date 2024-12-15
[2025-01-06 19:40:04] Production.INFO: ==20531== Releasing lock...
[2025-01-06 19:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:40:04] Production.INFO: Date 2024-12-16
[2025-01-06 19:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:40:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:40:05] Production.INFO: Date 2024-12-18
[2025-01-06 19:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:40:05] Production.INFO: Date 2024-12-19
[2025-01-06 19:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:40:05] Production.INFO: Date 2024-12-20
[2025-01-06 19:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:40:05] Production.INFO: Date 2024-12-21
[2025-01-06 19:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:40:05] Production.INFO: Date 2024-12-22
[2025-01-06 19:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:40:05] Production.INFO: Date 2024-12-23
[2025-01-06 19:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:40:05] Production.INFO: Date 2024-12-24
[2025-01-06 19:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:40:05] Production.INFO: Date 2024-12-25
[2025-01-06 19:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:40:05] Production.INFO: Date 2024-12-26
[2025-01-06 19:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:40:05] Production.INFO: Date 2024-12-27
[2025-01-06 19:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:40:05] Production.INFO: Date 2024-12-28
[2025-01-06 19:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:40:05] Production.INFO: Date 2024-12-29
[2025-01-06 19:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:40:05] Production.INFO: Date 2024-12-30
[2025-01-06 19:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:40:05] Production.INFO: Date 2024-12-31
[2025-01-06 19:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:40:05] Production.INFO: Date 2025-01-01
[2025-01-06 19:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:40:05] Production.INFO: Date 2025-01-02
[2025-01-06 19:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:40:05] Production.INFO: Date 2025-01-03
[2025-01-06 19:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:40:05] Production.INFO: Date 2025-01-04
[2025-01-06 19:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:40:05] Production.INFO: Date 2025-01-05
[2025-01-06 19:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:40:05] Production.INFO: Date 2025-01-06
[2025-01-06 19:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:40:05] Production.INFO: Total Charge 0
[2025-01-06 19:40:05] Production.INFO: CreateAllLog End
[2025-01-06 19:40:05] Production.INFO: Account Balance End.
[2025-01-06 19:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:40:05
[end_date_ymd] => 2025-01-06 19:40:05
[RateCDR] => 1
)
[2025-01-06 19:40:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 16:40:05' and `end` < '2025-01-06 19:40:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 19:40:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:40:05] Production.INFO: ==20524== Releasing lock...
[2025-01-06 19:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14189757', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) end
[2025-01-06 19:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-06 19:40:08] Production.INFO: ProcessCDR(1,14189757,1,1,2)
[2025-01-06 19:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14189757,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14189757,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:40:09] Production.INFO: ==20529== Releasing lock...
[2025-01-06 19:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-06 19:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-06 19:40:14] Production.ERROR: CronJobId end10
[2025-01-06 19:40:14] Production.INFO: ==20522== Releasing lock...
[2025-01-06 19:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:40:15] Production.INFO: call_cost start
[2025-01-06 19:40:15] Production.INFO: call_cost end
[2025-01-06 19:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:40:15] Production.INFO: ==20518== Releasing lock...
[2025-01-06 19:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:40:19] Production.INFO: count ==2331
[2025-01-06 19:40:19] Production.ERROR: pbx CDR StartTime 2025-01-06 16:40:05 - End Time 2025-01-06 19:40:05
[2025-01-06 19:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189758', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189758', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189758', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189758', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:40:19] Production.INFO: ProcessCDR(1,14189758,1,1,2)
[2025-01-06 19:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189758,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189758,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189758,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189758,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189758', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189758', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:40:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:40:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:40:23] Production.INFO: ==20526== Releasing lock...
[2025-01-06 19:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:40:23] Production.INFO: 45.5 MB #Memory Used#
[2025-01-07 00:41:01] Production.INFO: ==20597== Lock acquired, processing the job...
[2025-01-07 00:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:41:01] Production.INFO: neon service started
[2025-01-07 00:41:01] Production.INFO: neon service started
[2025-01-07 00:41:01] Production.INFO: ==20597== Releasing lock...
[2025-01-07 00:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 19:41:02] Production.INFO: ==20599== Lock acquired, processing the job...
[2025-01-06 19:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:41:02] Production.INFO: ==20601== Lock acquired, processing the job...
[2025-01-07 00:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:41:02] Production.INFO: ==20601== Releasing lock...
[2025-01-07 00:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:41:02] Production.INFO: ==20599== Releasing lock...
[2025-01-06 19:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 19:41:03] Production.INFO: ==20608== Lock acquired, processing the job...
[2025-01-06 19:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:41:03] Production.INFO: ==20612== Lock acquired, processing the job...
[2025-01-06 19:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:41:03] Production.INFO: ==20604== Lock acquired, processing the job...
[2025-01-06 19:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:41:03] Production.INFO: ==20606== Lock acquired, processing the job...
[2025-01-06 19:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:41:03] Production.INFO: ==20610== Lock acquired, processing the job...
[2025-01-06 19:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:41:03] Production.INFO: ==20614== Lock acquired, processing the job...
[2025-01-06 19:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:41:03] Production.INFO: Account Balance Start.
[2025-01-06 19:41:03] Production.INFO: CreateAllLog Start
[2025-01-06 19:41:03] Production.INFO: 117
[2025-01-06 19:41:03] Production.INFO: Date 2024-12-08
[2025-01-06 19:41:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:41:03] Production.ERROR: done
[2025-01-06 19:41:03] Production.INFO: Date 2024-12-09
[2025-01-06 19:41:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 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-06 19:41:03] Production.INFO: Date 2024-12-10
[2025-01-06 19:41:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:41:03] Production.INFO: Date 2024-12-11
[2025-01-06 19:41:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:41:03] Production.INFO: count ==21
[2025-01-06 19:41:03] Production.INFO: Date 2024-12-12
[2025-01-06 19:41:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:41:03] Production.INFO: ==20606== Releasing lock...
[2025-01-06 19:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:41:03] Production.ERROR: done
[2025-01-06 19:41:03] Production.INFO: count ==21
[2025-01-06 19:41:03] Production.INFO: Date 2024-12-13
[2025-01-06 19:41:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:41:03] Production.INFO: Date 2024-12-14
[2025-01-06 19:41:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189762') start
[2025-01-06 19:41:04] Production.INFO: Date 2024-12-15
[2025-01-06 19:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189762') end
[2025-01-06 19:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:41:04] Production.INFO: 1
[2025-01-06 19:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:41:04] Production.INFO: Date 2024-12-16
[2025-01-06 19:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:41:04] Production.INFO: ==20614== Releasing lock...
[2025-01-06 19:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:41:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:41:04] Production.INFO: Date 2024-12-18
[2025-01-06 19:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:41:04] Production.INFO: Date 2024-12-19
[2025-01-06 19:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:41:04] Production.INFO: Date 2024-12-20
[2025-01-06 19:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:41:04] Production.INFO: Date 2024-12-21
[2025-01-06 19:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:41:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:41:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:41:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:41:04] Production.INFO: Date 2024-12-25
[2025-01-06 19:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:41:04] Production.INFO: Date 2024-12-26
[2025-01-06 19:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:41:04] Production.INFO: Date 2024-12-27
[2025-01-06 19:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:41:04] Production.INFO: Date 2024-12-28
[2025-01-06 19:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:41:04] Production.INFO: Date 2024-12-29
[2025-01-06 19:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:41:04] Production.INFO: Date 2024-12-30
[2025-01-06 19:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:41:04] Production.INFO: Date 2024-12-31
[2025-01-06 19:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:41:04] Production.INFO: Date 2025-01-01
[2025-01-06 19:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:41:04] Production.INFO: Date 2025-01-02
[2025-01-06 19:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:41:04] Production.INFO: Date 2025-01-03
[2025-01-06 19:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:41:04] Production.INFO: Date 2025-01-04
[2025-01-06 19:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:41:04] Production.INFO: Date 2025-01-05
[2025-01-06 19:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:41:04] Production.INFO: Date 2025-01-06
[2025-01-06 19:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:41:04] Production.INFO: Total Charge 0
[2025-01-06 19:41:04] Production.INFO: CreateAllLog End
[2025-01-06 19:41:05] Production.INFO: Account Balance End.
[2025-01-06 19:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:41:05
[end_date_ymd] => 2025-01-06 19:41:05
[RateCDR] => 1
)
[2025-01-06 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-06 16:41:05' and `end` < '2025-01-06 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-06 19:41:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:41:05] Production.INFO: ==20610== Releasing lock...
[2025-01-06 19:41:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:41:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:41:12] Production.ERROR: CronJobId end10
[2025-01-06 19:41:12] Production.INFO: ==20608== Releasing lock...
[2025-01-06 19:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:41:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:41:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:41:14] Production.INFO: call_cost start
[2025-01-06 19:41:14] Production.INFO: call_cost end
[2025-01-06 19:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:41:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:41:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:41:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:41:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:41:15] Production.INFO: ==20604== Releasing lock...
[2025-01-06 19:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:41:18] Production.INFO: count ==2285
[2025-01-06 19:41:18] Production.ERROR: pbx CDR StartTime 2025-01-06 16:41:05 - End Time 2025-01-06 19:41:05
[2025-01-06 19:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189763', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189763', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189763', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189763', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:41:18] Production.INFO: ProcessCDR(1,14189763,1,1,2)
[2025-01-06 19:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189763,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189763,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189763,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189763,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189763', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189763', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:41:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:41:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:41:22] Production.INFO: ==20612== Releasing lock...
[2025-01-06 19:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:41:22] Production.INFO: 45.25 MB #Memory Used#
[2025-01-07 00:42:02] Production.INFO: ==20684== Lock acquired, processing the job...
[2025-01-07 00:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:42:02] Production.INFO: neon service started
[2025-01-07 00:42:02] Production.INFO: neon service started
[2025-01-07 00:42:02] Production.INFO: ==20684== Releasing lock...
[2025-01-07 00:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:42:02] Production.INFO: ==20688== Lock acquired, processing the job...
[2025-01-07 00:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:42:02] Production.INFO: ==20688== Releasing lock...
[2025-01-07 00:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:42:02] Production.INFO: ==20686== Lock acquired, processing the job...
[2025-01-06 19:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 19:42:02] Production.INFO: ==20686== Releasing lock...
[2025-01-06 19:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 19:42:03] Production.INFO: ==20690== Lock acquired, processing the job...
[2025-01-06 19:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:42:03] Production.INFO: ==20692== Lock acquired, processing the job...
[2025-01-06 19:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:42:03] Production.INFO: ==20697== Lock acquired, processing the job...
[2025-01-06 19:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:42:03] Production.INFO: Account Balance Start.
[2025-01-06 19:42:03] Production.INFO: CreateAllLog Start
[2025-01-06 19:42:03] Production.INFO: 117
[2025-01-06 19:42:03] Production.INFO: Date 2024-12-08
[2025-01-06 19:42:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:42:03] Production.INFO: Date 2024-12-09
[2025-01-06 19:42:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:42:03] Production.INFO: Date 2024-12-10
[2025-01-06 19:42:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:42:03] Production.INFO: ==20694== Lock acquired, processing the job...
[2025-01-06 19:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:42:03] Production.INFO: Date 2024-12-11
[2025-01-06 19:42:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:42:04] Production.INFO: Date 2024-12-12
[2025-01-06 19:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:42:04] Production.INFO: ==20701== Lock acquired, processing the job...
[2025-01-06 19:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:42:04] Production.INFO: ==20692== Releasing lock...
[2025-01-06 19:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:42:04] Production.INFO: ==20699== Lock acquired, processing the job...
[2025-01-06 19:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:42:04] Production.INFO: Date 2024-12-13
[2025-01-06 19:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:42:04] Production.INFO: Date 2024-12-14
[2025-01-06 19:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:42:04] Production.INFO: Date 2024-12-15
[2025-01-06 19:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 19:42:04] Production.INFO: Date 2024-12-16
[2025-01-06 19:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:42:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:42:04] Production.INFO: count ==21
[2025-01-06 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-06 19:42:04] Production.INFO: count ==21
[2025-01-06 19:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189767') start
[2025-01-06 19:42:04] Production.INFO: Date 2024-12-18
[2025-01-06 19:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:42:04] Production.INFO: Date 2024-12-19
[2025-01-06 19:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:42:04] Production.INFO: Date 2024-12-20
[2025-01-06 19:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189767') end
[2025-01-06 19:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:42:04] Production.INFO: 1
[2025-01-06 19:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:42:04] Production.INFO: Date 2024-12-21
[2025-01-06 19:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:42:04] Production.INFO: ==20701== Releasing lock...
[2025-01-06 19:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:42:04] Production.ERROR: done
[2025-01-06 19:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:42:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:42:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:42:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:42:04] Production.ERROR: done
[2025-01-06 19:42:04] Production.INFO: Date 2024-12-25
[2025-01-06 19:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:42:04] Production.INFO: Date 2024-12-26
[2025-01-06 19:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:42:04] Production.INFO: Date 2024-12-27
[2025-01-06 19:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:42:04] Production.INFO: Date 2024-12-28
[2025-01-06 19:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:42:04] Production.INFO: Date 2024-12-29
[2025-01-06 19:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:42:04] Production.INFO: Date 2024-12-30
[2025-01-06 19:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:42:05] Production.INFO: Date 2024-12-31
[2025-01-06 19:42:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:42:05] Production.INFO: Date 2025-01-01
[2025-01-06 19:42:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:42:05] Production.INFO: Date 2025-01-02
[2025-01-06 19:42:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:42:05] Production.INFO: Date 2025-01-03
[2025-01-06 19:42:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:42:05] Production.INFO: Date 2025-01-04
[2025-01-06 19:42:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:42:05] Production.INFO: Date 2025-01-05
[2025-01-06 19:42:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:42:05] Production.INFO: Date 2025-01-06
[2025-01-06 19:42:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:42:05] Production.INFO: Total Charge 0
[2025-01-06 19:42:05] Production.INFO: CreateAllLog End
[2025-01-06 19:42:05] Production.INFO: Account Balance End.
[2025-01-06 19:42:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:42:05] Production.INFO: ==20697== Releasing lock...
[2025-01-06 19:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:42:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:42:05
[end_date_ymd] => 2025-01-06 19:42:05
[RateCDR] => 1
)
[2025-01-06 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-06 16:42:05' and `end` < '2025-01-06 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-06 19:42:13] Production.ERROR: CronJobId end10
[2025-01-06 19:42:13] Production.INFO: ==20694== Releasing lock...
[2025-01-06 19:42:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:42:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:42:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:42:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:42:14] Production.INFO: call_cost start
[2025-01-06 19:42:14] Production.INFO: call_cost end
[2025-01-06 19:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:42:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:42:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:42:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:42:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:42:15] Production.INFO: ==20690== Releasing lock...
[2025-01-06 19:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:42:18] Production.INFO: count ==2273
[2025-01-06 19:42:19] Production.ERROR: pbx CDR StartTime 2025-01-06 16:42:05 - End Time 2025-01-06 19:42:05
[2025-01-06 19:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189768', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189768', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189768', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189768', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:42:19] Production.INFO: ProcessCDR(1,14189768,1,1,2)
[2025-01-06 19:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189768,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189768,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189768,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189768,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189768', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189768', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:42:22] Production.INFO: ==20699== Releasing lock...
[2025-01-06 19:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:42:22] Production.INFO: 45.25 MB #Memory Used#
[2025-01-07 00:43:01] Production.INFO: ==20771== Lock acquired, processing the job...
[2025-01-07 00:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:43:01] Production.INFO: neon service started
[2025-01-07 00:43:01] Production.INFO: neon service started
[2025-01-07 00:43:01] Production.INFO: ==20771== Releasing lock...
[2025-01-07 00:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 19:43:01] Production.INFO: ==20773== Lock acquired, processing the job...
[2025-01-06 19:43:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 19:43:02] Production.INFO: ==20773== Releasing lock...
[2025-01-06 19:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:43:02] Production.INFO: ==20775== Lock acquired, processing the job...
[2025-01-07 00:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:43:02] Production.INFO: ==20775== Releasing lock...
[2025-01-07 00:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:43:02] Production.INFO: ==20777== Lock acquired, processing the job...
[2025-01-06 19:43:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:43:02] Production.INFO: ==20781== Lock acquired, processing the job...
[2025-01-06 19:43:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:43:03] Production.INFO: ==20779== Lock acquired, processing the job...
[2025-01-06 19:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:43:03] Production.INFO: ==20783== Lock acquired, processing the job...
[2025-01-06 19:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:43:03] Production.INFO: ==20785== Lock acquired, processing the job...
[2025-01-06 19:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:43:03] Production.INFO: Account Balance Start.
[2025-01-06 19:43:03] Production.INFO: CreateAllLog Start
[2025-01-06 19:43:03] Production.INFO: 117
[2025-01-06 19:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:43:03] Production.INFO: Date 2024-12-08
[2025-01-06 19:43:03] Production.INFO: ==20787== Lock acquired, processing the job...
[2025-01-06 19:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:43:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:43:03] Production.INFO: Date 2024-12-09
[2025-01-06 19:43:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:43:03] Production.INFO: Date 2024-12-10
[2025-01-06 19:43:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:43:03] Production.INFO: ==20779== Releasing lock...
[2025-01-06 19:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:43:03] Production.INFO: Date 2024-12-11
[2025-01-06 19:43:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:43:03] Production.INFO: Date 2024-12-12
[2025-01-06 19:43:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:43:03] Production.INFO: Date 2024-12-13
[2025-01-06 19:43:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:43:03] Production.INFO: count ==21
[2025-01-06 19:43:03] Production.ERROR: done
[2025-01-06 19:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:43:03] Production.INFO: Date 2024-12-14
[2025-01-06 19:43:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:43:03] Production.INFO: Date 2024-12-15
[2025-01-06 19:43:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:43:03] Production.INFO: Date 2024-12-16
[2025-01-06 19:43:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:43:03] Production.INFO: count ==21
[2025-01-06 19:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189772') start
[2025-01-06 19:43:03] Production.ERROR: done
[2025-01-06 19:43:03] Production.INFO: Date 2024-12-17
[2025-01-06 19:43:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:43:03] Production.INFO: Date 2024-12-18
[2025-01-06 19:43:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189772') end
[2025-01-06 19:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:43:03] Production.INFO: 1
[2025-01-06 19:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:43:04] Production.INFO: Date 2024-12-19
[2025-01-06 19:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:43:04] Production.INFO: ==20787== Releasing lock...
[2025-01-06 19:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:43:04] Production.INFO: Date 2024-12-20
[2025-01-06 19:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:43:04] Production.INFO: Date 2024-12-21
[2025-01-06 19:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:43:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:43:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:43:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:43:04] Production.INFO: Date 2024-12-25
[2025-01-06 19:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:43:04] Production.INFO: Date 2024-12-26
[2025-01-06 19:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:43:04] Production.INFO: Date 2024-12-27
[2025-01-06 19:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:43:04] Production.INFO: Date 2024-12-28
[2025-01-06 19:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:43:04] Production.INFO: Date 2024-12-29
[2025-01-06 19:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:43:04] Production.INFO: Date 2024-12-30
[2025-01-06 19:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:43:04] Production.INFO: Date 2024-12-31
[2025-01-06 19:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:43:04] Production.INFO: Date 2025-01-01
[2025-01-06 19:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:43:04] Production.INFO: Date 2025-01-02
[2025-01-06 19:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:43:04] Production.INFO: Date 2025-01-03
[2025-01-06 19:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:43:04] Production.INFO: Date 2025-01-04
[2025-01-06 19:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:43:04] Production.INFO: Date 2025-01-05
[2025-01-06 19:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:43:04] Production.INFO: Date 2025-01-06
[2025-01-06 19:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:43:04] Production.INFO: Total Charge 0
[2025-01-06 19:43:04] Production.INFO: CreateAllLog End
[2025-01-06 19:43:04] Production.INFO: Account Balance End.
[2025-01-06 19:43:04] Production.ERROR: CronJobId end 12
[2025-01-06 19:43:04] Production.INFO: ==20783== Releasing lock...
[2025-01-06 19:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:43:05
[end_date_ymd] => 2025-01-06 19:43:05
[RateCDR] => 1
)
[2025-01-06 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-06 16:43:05' and `end` < '2025-01-06 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-06 19:43:12] Production.ERROR: CronJobId end10
[2025-01-06 19:43:12] Production.INFO: ==20781== Releasing lock...
[2025-01-06 19:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:43:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:43:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:43:14] Production.INFO: call_cost start
[2025-01-06 19:43:14] Production.INFO: call_cost end
[2025-01-06 19:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:43:14] Production.INFO: ==20777== Releasing lock...
[2025-01-06 19:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:43:18] Production.INFO: count ==2261
[2025-01-06 19:43:18] Production.ERROR: pbx CDR StartTime 2025-01-06 16:43:05 - End Time 2025-01-06 19:43:05
[2025-01-06 19:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189773', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189773', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189773', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189773', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:43:18] Production.INFO: ProcessCDR(1,14189773,1,1,2)
[2025-01-06 19:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189773,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189773,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189773,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189773,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189773', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189773', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:43:21] Production.INFO: ==20785== Releasing lock...
[2025-01-06 19:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:43:21] Production.INFO: 45 MB #Memory Used#
[2025-01-07 00:44:01] Production.INFO: ==20851== Lock acquired, processing the job...
[2025-01-07 00:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:44:01] Production.INFO: neon service started
[2025-01-07 00:44:01] Production.INFO: neon service started
[2025-01-07 00:44:01] Production.INFO: ==20851== Releasing lock...
[2025-01-07 00:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 19:44:02] Production.INFO: ==20853== Lock acquired, processing the job...
[2025-01-06 19:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:44:02] Production.INFO: ==20855== Lock acquired, processing the job...
[2025-01-07 00:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:44:02] Production.INFO: ==20855== Releasing lock...
[2025-01-07 00:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:44:02] Production.INFO: ==20853== Releasing lock...
[2025-01-06 19:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 19:44:03] Production.INFO: ==20858== Lock acquired, processing the job...
[2025-01-06 19:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:44:03] Production.INFO: ==20860== Lock acquired, processing the job...
[2025-01-06 19:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:44:03] Production.INFO: ==20868== Lock acquired, processing the job...
[2025-01-06 19:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:44:03] Production.INFO: ==20860== Releasing lock...
[2025-01-06 19:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:44:03] Production.INFO: count ==21
[2025-01-06 19:44:03] Production.INFO: ==20866== Lock acquired, processing the job...
[2025-01-06 19:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:44:03] Production.INFO: count ==21
[2025-01-06 19:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189776') start
[2025-01-06 19:44:03] Production.INFO: ==20864== Lock acquired, processing the job...
[2025-01-06 19:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:44:03] Production.INFO: ==20862== Lock acquired, processing the job...
[2025-01-06 19:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189776') end
[2025-01-06 19:44:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:44:03] Production.INFO: 1
[2025-01-06 19:44:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:44:03] Production.INFO: Account Balance Start.
[2025-01-06 19:44:03] Production.INFO: CreateAllLog Start
[2025-01-06 19:44:03] Production.INFO: 117
[2025-01-06 19:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:44:04] Production.INFO: Date 2024-12-08
[2025-01-06 19:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:44:04] Production.INFO: ==20868== Releasing lock...
[2025-01-06 19:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:44:04] Production.INFO: Date 2024-12-09
[2025-01-06 19:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:44:04] Production.INFO: Date 2024-12-10
[2025-01-06 19:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:44:04] Production.INFO: Date 2024-12-11
[2025-01-06 19:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:44:04] Production.INFO: Date 2024-12-12
[2025-01-06 19:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:44:04] Production.ERROR: done
[2025-01-06 19:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:44:04] Production.INFO: Date 2024-12-13
[2025-01-06 19:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:44:04] Production.INFO: Date 2024-12-14
[2025-01-06 19:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:44:04] Production.INFO: Date 2024-12-15
[2025-01-06 19:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:44:04] Production.INFO: Date 2024-12-16
[2025-01-06 19:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:44:04] Production.ERROR: done
[2025-01-06 19:44:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:44:04] Production.INFO: Date 2024-12-18
[2025-01-06 19:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:44:04] Production.INFO: Date 2024-12-19
[2025-01-06 19:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:44:04] Production.INFO: Date 2024-12-20
[2025-01-06 19:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:44:04] Production.INFO: Date 2024-12-21
[2025-01-06 19:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:44:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:44:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:44:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:44:04] Production.INFO: Date 2024-12-25
[2025-01-06 19:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:44:04] Production.INFO: Date 2024-12-26
[2025-01-06 19:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:44:05] Production.INFO: Date 2024-12-27
[2025-01-06 19:44:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:44:05] Production.INFO: Date 2024-12-28
[2025-01-06 19:44:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:44:05] Production.INFO: Date 2024-12-29
[2025-01-06 19:44:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:44:05] Production.INFO: Date 2024-12-30
[2025-01-06 19:44:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:44:05] Production.INFO: Date 2024-12-31
[2025-01-06 19:44:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:44:05] Production.INFO: Date 2025-01-01
[2025-01-06 19:44:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:44:05] Production.INFO: Date 2025-01-02
[2025-01-06 19:44:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:44:05] Production.INFO: Date 2025-01-03
[2025-01-06 19:44:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:44:05] Production.INFO: Date 2025-01-04
[2025-01-06 19:44:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:44:05] Production.INFO: Date 2025-01-05
[2025-01-06 19:44:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:44:05] Production.INFO: Date 2025-01-06
[2025-01-06 19:44:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:44:05
[end_date_ymd] => 2025-01-06 19:44:05
[RateCDR] => 1
)
[2025-01-06 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-06 16:44:05' and `end` < '2025-01-06 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-06 19:44:05] Production.INFO: Total Charge 0
[2025-01-06 19:44:05] Production.INFO: CreateAllLog End
[2025-01-06 19:44:05] Production.INFO: Account Balance End.
[2025-01-06 19:44:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:44:05] Production.INFO: ==20864== Releasing lock...
[2025-01-06 19:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:44:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:44:12] Production.ERROR: CronJobId end10
[2025-01-06 19:44:12] Production.INFO: ==20862== Releasing lock...
[2025-01-06 19:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:44:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:44:12] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:44:12] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:44:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:44:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:44:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:44:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:44:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:44:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:44:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:44:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:44:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:44:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:44:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:44:13] Production.INFO: call_cost start
[2025-01-06 19:44:13] Production.INFO: call_cost end
[2025-01-06 19:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:44:14] Production.INFO: ==20858== Releasing lock...
[2025-01-06 19:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:44:18] Production.INFO: count ==2253
[2025-01-06 19:44:19] Production.ERROR: pbx CDR StartTime 2025-01-06 16:44:05 - End Time 2025-01-06 19:44:05
[2025-01-06 19:44:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189778', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189778', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189778', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189778', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:44:19] Production.INFO: ProcessCDR(1,14189778,1,1,2)
[2025-01-06 19:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189778,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:44:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189778,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:44:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189778,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:44:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189778,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189778', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:44:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189778', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:44:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:44:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:44:24] Production.INFO: ==20866== Releasing lock...
[2025-01-06 19:44:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:44:24] Production.INFO: 45 MB #Memory Used#
[2025-01-07 00:45:01] Production.INFO: ==20932== Lock acquired, processing the job...
[2025-01-07 00:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:45:01] Production.INFO: neon service started
[2025-01-07 00:45:01] Production.INFO: neon service started
[2025-01-07 00:45:01] Production.INFO: ==20932== Releasing lock...
[2025-01-07 00:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:45:01] Production.INFO: ==20936== Lock acquired, processing the job...
[2025-01-07 00:45:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:45:01] Production.INFO: ==20936== Releasing lock...
[2025-01-07 00:45:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:45:01] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:45:01] Production.INFO: ==20934== Lock acquired, processing the job...
[2025-01-06 19:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 19:45:02] Production.INFO: ==20934== Releasing lock...
[2025-01-06 19:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 19:45:02] Production.INFO: ==20940== Lock acquired, processing the job...
[2025-01-06 19:45:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:45:02] Production.INFO: ==20942== Lock acquired, processing the job...
[2025-01-06 19:45:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:45:02] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:45:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:45:02] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:45:02] Production.INFO: ==20947== Lock acquired, processing the job...
[2025-01-06 19:45:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:45:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:45:03] Production.INFO: ==20938== Lock acquired, processing the job...
[2025-01-06 19:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:45:03] Production.INFO: ==20945== Lock acquired, processing the job...
[2025-01-06 19:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:45:03] Production.INFO: ==20949== Lock acquired, processing the job...
[2025-01-06 19:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:45:03] Production.INFO: ==20940== Releasing lock...
[2025-01-06 19:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:45:03] Production.INFO: Account Balance Start.
[2025-01-06 19:45:03] Production.INFO: CreateAllLog Start
[2025-01-06 19:45:03] Production.INFO: 117
[2025-01-06 19:45:03] Production.INFO: Date 2024-12-08
[2025-01-06 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-06 19:45:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:45:03] Production.INFO: count ==21
[2025-01-06 19:45:03] Production.INFO: Date 2024-12-09
[2025-01-06 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-06 19:45:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:45:03] Production.INFO: count ==21
[2025-01-06 19:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189781') start
[2025-01-06 19:45:03] Production.ERROR: done
[2025-01-06 19:45:03] Production.INFO: Date 2024-12-10
[2025-01-06 19:45:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:45:03] Production.INFO: Date 2024-12-11
[2025-01-06 19:45:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:45:03] Production.ERROR: done
[2025-01-06 19:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189781') end
[2025-01-06 19:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:45:03] Production.INFO: 1
[2025-01-06 19:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:45:03] Production.INFO: Date 2024-12-12
[2025-01-06 19:45:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:45:03] Production.INFO: Date 2024-12-13
[2025-01-06 19:45:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:45:03] Production.INFO: Date 2024-12-14
[2025-01-06 19:45:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:45:03] Production.INFO: ==20949== Releasing lock...
[2025-01-06 19:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:45:03] Production.INFO: Date 2024-12-15
[2025-01-06 19:45:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:45:03] Production.INFO: Date 2024-12-16
[2025-01-06 19:45:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:45:03] Production.INFO: Date 2024-12-17
[2025-01-06 19:45:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:45:03] Production.INFO: Date 2024-12-18
[2025-01-06 19:45:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:45:03] Production.INFO: Date 2024-12-19
[2025-01-06 19:45:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:45:03] Production.INFO: Date 2024-12-20
[2025-01-06 19:45:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:45:03] Production.INFO: Date 2024-12-21
[2025-01-06 19:45:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:45:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:45:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:45:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:45:04] Production.INFO: Date 2024-12-25
[2025-01-06 19:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:45:04] Production.INFO: Date 2024-12-26
[2025-01-06 19:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:45:04] Production.INFO: Date 2024-12-27
[2025-01-06 19:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:45:04] Production.INFO: Date 2024-12-28
[2025-01-06 19:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:45:04] Production.INFO: Date 2024-12-29
[2025-01-06 19:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:45:04] Production.INFO: Date 2024-12-30
[2025-01-06 19:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:45:04] Production.INFO: Date 2024-12-31
[2025-01-06 19:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:45:04] Production.INFO: Date 2025-01-01
[2025-01-06 19:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:45:04] Production.INFO: Date 2025-01-02
[2025-01-06 19:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:45:04] Production.INFO: Date 2025-01-03
[2025-01-06 19:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:45:04] Production.INFO: Date 2025-01-04
[2025-01-06 19:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:45:04] Production.INFO: Date 2025-01-05
[2025-01-06 19:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:45:04] Production.INFO: Date 2025-01-06
[2025-01-06 19:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:45:04] Production.INFO: Total Charge 0
[2025-01-06 19:45:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:45:04
[end_date_ymd] => 2025-01-06 19:45:04
[RateCDR] => 1
)
[2025-01-06 19:45:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 16:45:04' and `end` < '2025-01-06 19:45:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 19:45:04] Production.INFO: CreateAllLog End
[2025-01-06 19:45:05] Production.INFO: Account Balance End.
[2025-01-06 19:45:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:45:05] Production.INFO: ==20945== Releasing lock...
[2025-01-06 19:45:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:45:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:45:11] Production.ERROR: CronJobId end10
[2025-01-06 19:45:11] Production.INFO: ==20942== Releasing lock...
[2025-01-06 19:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:45:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:45:12] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:45:12] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:45:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:45:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:45:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:45:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:45:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:45:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:45:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:45:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:45:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:45:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:45:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:45:13] Production.INFO: call_cost start
[2025-01-06 19:45:13] Production.INFO: call_cost end
[2025-01-06 19:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:45:14] Production.INFO: ==20938== Releasing lock...
[2025-01-06 19:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:45:17] Production.INFO: count ==2234
[2025-01-06 19:45:18] Production.ERROR: pbx CDR StartTime 2025-01-06 16:45:04 - End Time 2025-01-06 19:45:04
[2025-01-06 19:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189783', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189783', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189783', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189783', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:45:18] Production.INFO: ProcessCDR(1,14189783,1,1,2)
[2025-01-06 19:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189783,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:45:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189783,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:45:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189783,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:45:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189783,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189783', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189783', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:45:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:45:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:45:23] Production.INFO: ==20947== Releasing lock...
[2025-01-06 19:45:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:45:23] Production.INFO: 45 MB #Memory Used#
[2025-01-07 00:46:01] Production.INFO: ==21010== Lock acquired, processing the job...
[2025-01-07 00:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:46:01] Production.INFO: neon service started
[2025-01-07 00:46:01] Production.INFO: neon service started
[2025-01-07 00:46:01] Production.INFO: ==21010== Releasing lock...
[2025-01-07 00:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:46:01] Production.INFO: ==21014== Lock acquired, processing the job...
[2025-01-07 00:46:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:46:02] Production.INFO: ==21014== Releasing lock...
[2025-01-07 00:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:46:02] Production.INFO: ==21012== Lock acquired, processing the job...
[2025-01-06 19:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 19:46:02] Production.INFO: ==21012== Releasing lock...
[2025-01-06 19:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 19:46:03] Production.INFO: ==21016== Lock acquired, processing the job...
[2025-01-06 19:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:46:03] Production.INFO: ==21018== Lock acquired, processing the job...
[2025-01-06 19:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:46:03] Production.INFO: ==21024== Lock acquired, processing the job...
[2025-01-06 19:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:46:03] Production.INFO: ==21020== Lock acquired, processing the job...
[2025-01-06 19:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:46:03] Production.INFO: ==21022== Lock acquired, processing the job...
[2025-01-06 19:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:46:03] Production.INFO: ==21018== Releasing lock...
[2025-01-06 19:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:46:03] Production.INFO: ==21026== Lock acquired, processing the job...
[2025-01-06 19:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:46:03] Production.INFO: Account Balance Start.
[2025-01-06 19:46:03] Production.INFO: CreateAllLog Start
[2025-01-06 19:46:03] Production.INFO: 117
[2025-01-06 19:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:46:03] Production.INFO: Date 2024-12-08
[2025-01-06 19:46:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:46:03] Production.INFO: Date 2024-12-09
[2025-01-06 19:46:03] Production.INFO: count ==21
[2025-01-06 19:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:46:03] Production.INFO: count ==21
[2025-01-06 19:46:03] Production.ERROR: done
[2025-01-06 19:46:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189787') start
[2025-01-06 19:46:03] Production.INFO: Date 2024-12-10
[2025-01-06 19:46:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:46:03] Production.INFO: Date 2024-12-11
[2025-01-06 19:46:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189787') end
[2025-01-06 19:46:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:46:03] Production.INFO: 1
[2025-01-06 19:46:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:46:03] Production.INFO: Date 2024-12-12
[2025-01-06 19:46:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:46:03] Production.INFO: ==21026== Releasing lock...
[2025-01-06 19:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:46:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:46:03] Production.INFO: Date 2024-12-13
[2025-01-06 19:46:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:46:03] Production.ERROR: done
[2025-01-06 19:46:03] Production.INFO: Date 2024-12-14
[2025-01-06 19:46:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:46:03] Production.INFO: Date 2024-12-15
[2025-01-06 19:46:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:46:03] Production.INFO: Date 2024-12-16
[2025-01-06 19:46:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:46:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:46:04] Production.INFO: Date 2024-12-18
[2025-01-06 19:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:46:04] Production.INFO: Date 2024-12-19
[2025-01-06 19:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:46:04] Production.INFO: Date 2024-12-20
[2025-01-06 19:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:46:04] Production.INFO: Date 2024-12-21
[2025-01-06 19:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:46:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:46:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:46:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:46:04] Production.INFO: Date 2024-12-25
[2025-01-06 19:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:46:04] Production.INFO: Date 2024-12-26
[2025-01-06 19:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:46:04] Production.INFO: Date 2024-12-27
[2025-01-06 19:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:46:04] Production.INFO: Date 2024-12-28
[2025-01-06 19:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:46:04] Production.INFO: Date 2024-12-29
[2025-01-06 19:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:46:04] Production.INFO: Date 2024-12-30
[2025-01-06 19:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:46:04] Production.INFO: Date 2024-12-31
[2025-01-06 19:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:46:04] Production.INFO: Date 2025-01-01
[2025-01-06 19:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:46:04] Production.INFO: Date 2025-01-02
[2025-01-06 19:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:46:04] Production.INFO: Date 2025-01-03
[2025-01-06 19:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:46:04] Production.INFO: Date 2025-01-04
[2025-01-06 19:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:46:04] Production.INFO: Date 2025-01-05
[2025-01-06 19:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:46:04] Production.INFO: Date 2025-01-06
[2025-01-06 19:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:46:04] Production.INFO: Total Charge 0
[2025-01-06 19:46:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:46:04
[end_date_ymd] => 2025-01-06 19:46:04
[RateCDR] => 1
)
[2025-01-06 19: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-06 16:46:04' and `end` < '2025-01-06 19: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-06 19:46:04] Production.INFO: CreateAllLog End
[2025-01-06 19:46:05] Production.INFO: Account Balance End.
[2025-01-06 19:46:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:46:05] Production.INFO: ==21022== Releasing lock...
[2025-01-06 19:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:46:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:46:13] Production.ERROR: CronJobId end10
[2025-01-06 19:46:13] Production.INFO: ==21020== Releasing lock...
[2025-01-06 19:46:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:46:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:46:13] Production.INFO: call_cost start
[2025-01-06 19:46:13] Production.INFO: call_cost end
[2025-01-06 19:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:46:14] Production.INFO: ==21016== Releasing lock...
[2025-01-06 19:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:46:18] Production.INFO: count ==2216
[2025-01-06 19:46:18] Production.ERROR: pbx CDR StartTime 2025-01-06 16:46:04 - End Time 2025-01-06 19:46:04
[2025-01-06 19:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189788', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189788', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189788', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189788', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:46:18] Production.INFO: ProcessCDR(1,14189788,1,1,2)
[2025-01-06 19:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189788,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189788,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189788,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189788,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189788', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189788', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:46:22] Production.INFO: ==21024== Releasing lock...
[2025-01-06 19:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:46:22] Production.INFO: 44.75 MB #Memory Used#
[2025-01-07 00:47:02] Production.INFO: ==21097== Lock acquired, processing the job...
[2025-01-07 00:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:47:02] Production.INFO: neon service started
[2025-01-07 00:47:02] Production.INFO: neon service started
[2025-01-07 00:47:02] Production.INFO: ==21097== Releasing lock...
[2025-01-07 00:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 19:47:02] Production.INFO: ==21099== Lock acquired, processing the job...
[2025-01-06 19:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 19:47:02] Production.INFO: ==21099== Releasing lock...
[2025-01-06 19:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:47:02] Production.INFO: ==21101== Lock acquired, processing the job...
[2025-01-07 00:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:47:02] Production.INFO: ==21101== Releasing lock...
[2025-01-07 00:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:47:03] Production.INFO: ==21107== Lock acquired, processing the job...
[2025-01-06 19:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:47:03] Production.INFO: ==21103== Lock acquired, processing the job...
[2025-01-06 19:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:47:03] Production.INFO: ==21105== Lock acquired, processing the job...
[2025-01-06 19:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:47:03] Production.INFO: ==21113== Lock acquired, processing the job...
[2025-01-06 19:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:47:03] Production.INFO: ==21109== Lock acquired, processing the job...
[2025-01-06 19:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:47:03] Production.INFO: ==21111== Lock acquired, processing the job...
[2025-01-06 19:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 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-06 19:47:03] Production.INFO: ==21105== Releasing lock...
[2025-01-06 19:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:47:03] Production.INFO: count ==21
[2025-01-06 19:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:47:04] Production.INFO: count ==21
[2025-01-06 19:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189791') start
[2025-01-06 19:47:04] Production.INFO: Account Balance Start.
[2025-01-06 19:47:04] Production.INFO: CreateAllLog Start
[2025-01-06 19:47:04] Production.INFO: 117
[2025-01-06 19:47:04] Production.INFO: Date 2024-12-08
[2025-01-06 19:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:47:04] Production.INFO: Date 2024-12-09
[2025-01-06 19:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:47:04] Production.INFO: Date 2024-12-10
[2025-01-06 19:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:47:04] Production.INFO: Date 2024-12-11
[2025-01-06 19:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189791') end
[2025-01-06 19:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:47:04] Production.INFO: 1
[2025-01-06 19:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:47:04] Production.INFO: Date 2024-12-12
[2025-01-06 19:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:47:04] Production.INFO: ==21113== Releasing lock...
[2025-01-06 19:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:47:04] Production.INFO: Date 2024-12-13
[2025-01-06 19:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:47:04] Production.INFO: Date 2024-12-14
[2025-01-06 19:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:47:04] Production.ERROR: done
[2025-01-06 19:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:47:04] Production.INFO: Date 2024-12-15
[2025-01-06 19:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:47:04] Production.INFO: Date 2024-12-16
[2025-01-06 19:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:47:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:47:04] Production.ERROR: done
[2025-01-06 19:47:04] Production.INFO: Date 2024-12-18
[2025-01-06 19:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:47:04] Production.INFO: Date 2024-12-19
[2025-01-06 19:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:47:04] Production.INFO: Date 2024-12-20
[2025-01-06 19:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:47:04] Production.INFO: Date 2024-12-21
[2025-01-06 19:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:47:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:47:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:47:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:47:04] Production.INFO: Date 2024-12-25
[2025-01-06 19:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:47:04] Production.INFO: Date 2024-12-26
[2025-01-06 19:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:47:05] Production.INFO: Date 2024-12-27
[2025-01-06 19:47:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:47:05] Production.INFO: Date 2024-12-28
[2025-01-06 19:47:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:47:05] Production.INFO: Date 2024-12-29
[2025-01-06 19:47:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:47:05] Production.INFO: Date 2024-12-30
[2025-01-06 19:47:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:47:05] Production.INFO: Date 2024-12-31
[2025-01-06 19:47:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:47:05] Production.INFO: Date 2025-01-01
[2025-01-06 19:47:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:47:05] Production.INFO: Date 2025-01-02
[2025-01-06 19:47:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:47:05] Production.INFO: Date 2025-01-03
[2025-01-06 19:47:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:47:05] Production.INFO: Date 2025-01-04
[2025-01-06 19:47:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:47:05] Production.INFO: Date 2025-01-05
[2025-01-06 19:47:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:47:05] Production.INFO: Date 2025-01-06
[2025-01-06 19:47:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:47:05] Production.INFO: Total Charge 0
[2025-01-06 19:47:05] Production.INFO: CreateAllLog End
[2025-01-06 19:47:05] Production.INFO: Account Balance End.
[2025-01-06 19:47:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:47:05] Production.INFO: ==21109== Releasing lock...
[2025-01-06 19:47:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:47:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:47:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:47:06
[end_date_ymd] => 2025-01-06 19:47:06
[RateCDR] => 1
)
[2025-01-06 19:47:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 16:47:06' and `end` < '2025-01-06 19:47:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 19:47:11] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_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-06 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-06 19:47:12] Production.ERROR: CronJobId end10
[2025-01-06 19:47:12] Production.INFO: ==21107== Releasing lock...
[2025-01-06 19:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:47:13] Production.INFO: call_cost start
[2025-01-06 19:47:13] Production.INFO: call_cost end
[2025-01-06 19:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:47:14] Production.INFO: ==21103== Releasing lock...
[2025-01-06 19:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:47:19] Production.INFO: count ==2185
[2025-01-06 19:47:20] Production.ERROR: pbx CDR StartTime 2025-01-06 16:47:06 - End Time 2025-01-06 19:47:06
[2025-01-06 19:47:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:47:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189793', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:47:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189793', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:47:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189793', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:47:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189793', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:47:20] Production.INFO: ProcessCDR(1,14189793,1,1,2)
[2025-01-06 19:47:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189793,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:47:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189793,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:47:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189793,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:47:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189793,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:47:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189793', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:47:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189793', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:47:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:47:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:47:24] Production.INFO: ==21111== Releasing lock...
[2025-01-06 19:47:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:47:24] Production.INFO: 44.5 MB #Memory Used#
[2025-01-07 00:48:01] Production.INFO: ==21177== Lock acquired, processing the job...
[2025-01-07 00:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:48:01] Production.INFO: neon service started
[2025-01-07 00:48:01] Production.INFO: neon service started
[2025-01-07 00:48:01] Production.INFO: ==21177== Releasing lock...
[2025-01-07 00:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 19:48:01] Production.INFO: ==21179== Lock acquired, processing the job...
[2025-01-06 19:48:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 19:48:02] Production.INFO: ==21179== Releasing lock...
[2025-01-06 19:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:48:02] Production.INFO: ==21181== Lock acquired, processing the job...
[2025-01-07 00:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:48:02] Production.INFO: ==21181== Releasing lock...
[2025-01-07 00:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:48:03] Production.INFO: ==21190== Lock acquired, processing the job...
[2025-01-06 19:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:48:03] Production.INFO: ==21195== Lock acquired, processing the job...
[2025-01-06 19:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:48:03] Production.INFO: ==21184== Lock acquired, processing the job...
[2025-01-06 19:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:48:03] Production.INFO: Account Balance Start.
[2025-01-06 19:48:03] Production.INFO: CreateAllLog Start
[2025-01-06 19:48:03] Production.INFO: 117
[2025-01-06 19:48:03] Production.INFO: Date 2024-12-08
[2025-01-06 19:48:03] Production.INFO: ==21186== Lock acquired, processing the job...
[2025-01-06 19:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:48:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:48:03] Production.INFO: ==21188== Lock acquired, processing the job...
[2025-01-06 19:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:48:03] Production.INFO: Date 2024-12-09
[2025-01-06 19:48:03] Production.INFO: count ==21
[2025-01-06 19:48:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:48:03] Production.INFO: count ==21
[2025-01-06 19:48:03] Production.INFO: ==21193== Lock acquired, processing the job...
[2025-01-06 19:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189795') start
[2025-01-06 19:48:03] Production.INFO: Date 2024-12-10
[2025-01-06 19:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:48:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189795') end
[2025-01-06 19:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:48:03] Production.INFO: 1
[2025-01-06 19:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:48:03] Production.INFO: ==21195== Releasing lock...
[2025-01-06 19:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:48:03] Production.INFO: Date 2024-12-11
[2025-01-06 19:48:03] Production.INFO: ==21186== Releasing lock...
[2025-01-06 19:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:48:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:48:03] Production.ERROR: done
[2025-01-06 19:48:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:48:03] Production.INFO: Date 2024-12-12
[2025-01-06 19:48:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:48:03] Production.INFO: Date 2024-12-13
[2025-01-06 19:48:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:48:03] Production.INFO: Date 2024-12-14
[2025-01-06 19:48:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:48:03] Production.INFO: Date 2024-12-15
[2025-01-06 19:48:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:48:03] Production.INFO: Date 2024-12-16
[2025-01-06 19:48:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:48:03] Production.ERROR: done
[2025-01-06 19:48:03] Production.INFO: Date 2024-12-17
[2025-01-06 19:48:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:48:03] Production.INFO: Date 2024-12-18
[2025-01-06 19:48:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:48:03] Production.INFO: Date 2024-12-19
[2025-01-06 19:48:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:48:04] Production.INFO: Date 2024-12-20
[2025-01-06 19:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:48:04] Production.INFO: Date 2024-12-21
[2025-01-06 19:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:48:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:48:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:48:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:48:04] Production.INFO: Date 2024-12-25
[2025-01-06 19:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:48:04] Production.INFO: Date 2024-12-26
[2025-01-06 19:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:48:04] Production.INFO: Date 2024-12-27
[2025-01-06 19:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:48:04] Production.INFO: Date 2024-12-28
[2025-01-06 19:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:48:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:48:04
[end_date_ymd] => 2025-01-06 19:48:04
[RateCDR] => 1
)
[2025-01-06 19: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-06 16:48:04' and `end` < '2025-01-06 19: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-06 19:48:04] Production.INFO: Date 2024-12-29
[2025-01-06 19:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:48:04] Production.INFO: Date 2024-12-30
[2025-01-06 19:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:48:04] Production.INFO: Date 2024-12-31
[2025-01-06 19:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:48:04] Production.INFO: Date 2025-01-01
[2025-01-06 19:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:48:04] Production.INFO: Date 2025-01-02
[2025-01-06 19:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:48:05] Production.INFO: Date 2025-01-03
[2025-01-06 19:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:48:05] Production.INFO: Date 2025-01-04
[2025-01-06 19:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:48:05] Production.INFO: Date 2025-01-05
[2025-01-06 19:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:48:05] Production.INFO: Date 2025-01-06
[2025-01-06 19:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:48:05] Production.INFO: Total Charge 0
[2025-01-06 19:48:05] Production.INFO: CreateAllLog End
[2025-01-06 19:48:05] Production.INFO: Account Balance End.
[2025-01-06 19:48:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:48:05] Production.INFO: ==21190== Releasing lock...
[2025-01-06 19:48:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:48:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:48:11] Production.ERROR: CronJobId end10
[2025-01-06 19:48:11] Production.INFO: ==21188== Releasing lock...
[2025-01-06 19:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:48:13] Production.INFO: call_cost start
[2025-01-06 19:48:13] Production.INFO: call_cost end
[2025-01-06 19:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:48:14] Production.INFO: ==21184== Releasing lock...
[2025-01-06 19:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:48:18] Production.INFO: count ==2158
[2025-01-06 19:48:18] Production.ERROR: pbx CDR StartTime 2025-01-06 16:48:04 - End Time 2025-01-06 19:48:04
[2025-01-06 19:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189798', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189798', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189798', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189798', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:48:19] Production.INFO: ProcessCDR(1,14189798,1,1,2)
[2025-01-06 19:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189798,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189798,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189798,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189798,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189798', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189798', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:48:22] Production.INFO: ==21193== Releasing lock...
[2025-01-06 19:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:48:22] Production.INFO: 44.25 MB #Memory Used#
[2025-01-07 00:49:01] Production.INFO: ==21266== Lock acquired, processing the job...
[2025-01-07 00:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:49:01] Production.INFO: neon service started
[2025-01-07 00:49:01] Production.INFO: neon service started
[2025-01-07 00:49:01] Production.INFO: ==21266== Releasing lock...
[2025-01-07 00:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 19:49:02] Production.INFO: ==21268== Lock acquired, processing the job...
[2025-01-06 19:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:49:02] Production.INFO: ==21270== Lock acquired, processing the job...
[2025-01-07 00:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:49:02] Production.INFO: ==21270== Releasing lock...
[2025-01-07 00:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:49:02] Production.INFO: ==21268== Releasing lock...
[2025-01-06 19:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 19:49:03] Production.INFO: ==21273== Lock acquired, processing the job...
[2025-01-06 19:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:49:03] Production.INFO: ==21275== Lock acquired, processing the job...
[2025-01-06 19:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:49:03] Production.INFO: ==21279== Lock acquired, processing the job...
[2025-01-06 19:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:49:03] Production.INFO: Account Balance Start.
[2025-01-06 19:49:03] Production.INFO: CreateAllLog Start
[2025-01-06 19:49:03] Production.INFO: 117
[2025-01-06 19:49:03] Production.INFO: Date 2024-12-08
[2025-01-06 19:49:03] Production.INFO: ==21277== Lock acquired, processing the job...
[2025-01-06 19:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:49:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:49:03] Production.INFO: Date 2024-12-09
[2025-01-06 19:49:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:49:03] Production.INFO: ==21283== Lock acquired, processing the job...
[2025-01-06 19:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:49:03] Production.INFO: Date 2024-12-10
[2025-01-06 19:49:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:49:03] Production.INFO: Date 2024-12-11
[2025-01-06 19:49:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:49:03] Production.INFO: ==21281== Lock acquired, processing the job...
[2025-01-06 19:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:49:04] Production.INFO: Date 2024-12-12
[2025-01-06 19:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:49:04] Production.INFO: ==21275== Releasing lock...
[2025-01-06 19:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:49:04] Production.INFO: Date 2024-12-13
[2025-01-06 19:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:49:04] Production.INFO: Date 2024-12-14
[2025-01-06 19:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:49:04] Production.INFO: Date 2024-12-15
[2025-01-06 19:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:49:04] Production.INFO: count ==21
[2025-01-06 19:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:49:04] Production.INFO: count ==21
[2025-01-06 19:49:04] Production.INFO: Date 2024-12-16
[2025-01-06 19:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:49:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189802') start
[2025-01-06 19:49:04] Production.ERROR: done
[2025-01-06 19:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:49:04] Production.INFO: Date 2024-12-18
[2025-01-06 19:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:49:04] Production.INFO: Date 2024-12-19
[2025-01-06 19:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:49:04] Production.INFO: Date 2024-12-20
[2025-01-06 19:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189802') end
[2025-01-06 19:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:49:04] Production.INFO: 1
[2025-01-06 19:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:49:04] Production.ERROR: done
[2025-01-06 19:49:04] Production.INFO: ==21283== Releasing lock...
[2025-01-06 19:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:49:04] Production.INFO: Date 2024-12-21
[2025-01-06 19:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:49:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:49:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:49:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:49:04] Production.INFO: Date 2024-12-25
[2025-01-06 19:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:49:04] Production.INFO: Date 2024-12-26
[2025-01-06 19:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:49:04] Production.INFO: Date 2024-12-27
[2025-01-06 19:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:49:04] Production.INFO: Date 2024-12-28
[2025-01-06 19:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:49:04] Production.INFO: Date 2024-12-29
[2025-01-06 19:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:49:04] Production.INFO: Date 2024-12-30
[2025-01-06 19:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:49:04] Production.INFO: Date 2024-12-31
[2025-01-06 19:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:49:05] Production.INFO: Date 2025-01-01
[2025-01-06 19:49:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:49:05] Production.INFO: Date 2025-01-02
[2025-01-06 19:49:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:49:05] Production.INFO: Date 2025-01-03
[2025-01-06 19:49:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:49:05] Production.INFO: Date 2025-01-04
[2025-01-06 19:49:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:49:05] Production.INFO: Date 2025-01-05
[2025-01-06 19:49:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:49:05] Production.INFO: Date 2025-01-06
[2025-01-06 19:49:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:49:05] Production.INFO: Total Charge 0
[2025-01-06 19:49:05] Production.INFO: CreateAllLog End
[2025-01-06 19:49:05] Production.INFO: Account Balance End.
[2025-01-06 19:49:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:49:05] Production.INFO: ==21279== Releasing lock...
[2025-01-06 19:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:49:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:49:05
[end_date_ymd] => 2025-01-06 19:49:05
[RateCDR] => 1
)
[2025-01-06 19: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-06 16:49:05' and `end` < '2025-01-06 19: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-06 19:49:12] Production.ERROR: CronJobId end10
[2025-01-06 19:49:12] Production.INFO: ==21277== Releasing lock...
[2025-01-06 19:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:49:13] Production.INFO: call_cost start
[2025-01-06 19:49:13] Production.INFO: call_cost end
[2025-01-06 19:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:49:14] Production.INFO: ==21273== Releasing lock...
[2025-01-06 19:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:49:20] Production.INFO: count ==2147
[2025-01-06 19:49:20] Production.ERROR: pbx CDR StartTime 2025-01-06 16:49:05 - End Time 2025-01-06 19:49:05
[2025-01-06 19:49:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189803', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189803', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189803', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189803', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:49:20] Production.INFO: ProcessCDR(1,14189803,1,1,2)
[2025-01-06 19:49:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189803,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:49:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189803,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:49:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189803,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:49:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189803,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:49:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189803', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:49:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189803', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:49:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:49:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:49:24] Production.INFO: ==21281== Releasing lock...
[2025-01-06 19:49:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:49:24] Production.INFO: 44.25 MB #Memory Used#
[2025-01-07 00:50:01] Production.INFO: ==21346== Lock acquired, processing the job...
[2025-01-07 00:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:50:01] Production.INFO: neon service started
[2025-01-07 00:50:01] Production.INFO: neon service started
[2025-01-07 00:50:01] Production.INFO: ==21346== Releasing lock...
[2025-01-07 00:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 19:50:01] Production.INFO: ==21348== Lock acquired, processing the job...
[2025-01-06 19:50:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:50:02] Production.INFO: ==21350== Lock acquired, processing the job...
[2025-01-07 00:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:50:02] Production.INFO: ==21350== Releasing lock...
[2025-01-07 00:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:50:02] Production.INFO: ==21348== Releasing lock...
[2025-01-06 19:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 19:50:03] Production.INFO: ==21353== Lock acquired, processing the job...
[2025-01-06 19:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-06 19:50:03] Production.INFO: ==21362== Lock acquired, processing the job...
[2025-01-06 19:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-06 19:50:03] Production.INFO: ==21356== Lock acquired, processing the job...
[2025-01-06 19:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:50:03] Production.INFO: ==21366== Lock acquired, processing the job...
[2025-01-06 19:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-06 19:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-06 19:50:03] Production.INFO: ==21353== Releasing lock...
[2025-01-06 19:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-06 19:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-06 19:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:50:03] Production.INFO: Account Balance Start.
[2025-01-06 19:50:03] Production.INFO: CreateAllLog Start
[2025-01-06 19:50:03] Production.INFO: 117
[2025-01-06 19:50:03] Production.INFO: Date 2024-12-08
[2025-01-06 19:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:50:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:50:03] Production.INFO: Date 2024-12-09
[2025-01-06 19:50:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:50:03] Production.INFO: ==21358== Lock acquired, processing the job...
[2025-01-06 19:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:50:03] Production.INFO: Date 2024-12-10
[2025-01-06 19:50:03] Production.INFO: ==21360== Lock acquired, processing the job...
[2025-01-06 19:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:50:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:50:03] Production.INFO: Date 2024-12-11
[2025-01-06 19:50:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:50:03] Production.ERROR: done
[2025-01-06 19:50:03] Production.INFO: Date 2024-12-12
[2025-01-06 19:50:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:50:03] Production.INFO: ==21364== Lock acquired, processing the job...
[2025-01-06 19:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:50:03] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-06 19:50:03] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14189807', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) start
[2025-01-06 19:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:50:03] Production.INFO: Date 2024-12-13
[2025-01-06 19:50:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:50:03] Production.INFO: ==21368== Lock acquired, processing the job...
[2025-01-06 19:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:50:03] Production.INFO: Date 2024-12-14
[2025-01-06 19:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:50:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19: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-06 19:50:03] Production.INFO: Date 2024-12-15
[2025-01-06 19:50:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:50:04] Production.INFO: count ==21
[2025-01-06 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-06 19:50:04] Production.INFO: count ==21
[2025-01-06 19:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189808') start
[2025-01-06 19:50:04] Production.INFO: Date 2024-12-16
[2025-01-06 19:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:50:04] Production.INFO: ==21358== Releasing lock...
[2025-01-06 19:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:50:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:50:04] Production.INFO: Date 2024-12-18
[2025-01-06 19:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:50:04] Production.ERROR: done
[2025-01-06 19:50:04] Production.INFO: Date 2024-12-19
[2025-01-06 19:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:50:04] Production.INFO: Date 2024-12-20
[2025-01-06 19:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:50:04] Production.INFO: Date 2024-12-21
[2025-01-06 19:50:04] Production.ERROR: done
[2025-01-06 19:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189808') end
[2025-01-06 19:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:50:04] Production.INFO: 1
[2025-01-06 19:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:50:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:50:04] Production.INFO: ==21368== Releasing lock...
[2025-01-06 19:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:50:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:50:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:50:04] Production.INFO: Date 2024-12-25
[2025-01-06 19:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:50:04] Production.INFO: Date 2024-12-26
[2025-01-06 19:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:50:04] Production.INFO: Date 2024-12-27
[2025-01-06 19:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:50:04] Production.INFO: Date 2024-12-28
[2025-01-06 19:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:50:04] Production.INFO: Date 2024-12-29
[2025-01-06 19:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:50:04] Production.INFO: Date 2024-12-30
[2025-01-06 19:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:50:05] Production.INFO: Date 2024-12-31
[2025-01-06 19:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:50:05] Production.INFO: Date 2025-01-01
[2025-01-06 19:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:50:05] Production.INFO: Date 2025-01-02
[2025-01-06 19:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:50:05] Production.INFO: Date 2025-01-03
[2025-01-06 19:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:50:05] Production.INFO: Date 2025-01-04
[2025-01-06 19:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:50:05] Production.INFO: Date 2025-01-05
[2025-01-06 19:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:50:05] Production.INFO: Date 2025-01-06
[2025-01-06 19:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:50:05] Production.INFO: Total Charge 0
[2025-01-06 19:50:05] Production.INFO: CreateAllLog End
[2025-01-06 19:50:05] Production.INFO: Account Balance End.
[2025-01-06 19:50:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:50:05] Production.INFO: ==21362== Releasing lock...
[2025-01-06 19:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:50:05
[end_date_ymd] => 2025-01-06 19:50:05
[RateCDR] => 1
)
[2025-01-06 19:50:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 16:50:05' and `end` < '2025-01-06 19:50:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 19:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14189807', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) end
[2025-01-06 19:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-06 19:50:08] Production.INFO: ProcessCDR(1,14189807,1,1,2)
[2025-01-06 19:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14189807,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14189807,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:50:08] Production.INFO: ==21366== Releasing lock...
[2025-01-06 19:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-06 19:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-06 19:50:13] Production.ERROR: CronJobId end10
[2025-01-06 19:50:13] Production.INFO: ==21360== Releasing lock...
[2025-01-06 19:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:50:15] Production.INFO: call_cost start
[2025-01-06 19:50:15] Production.INFO: call_cost end
[2025-01-06 19:50:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:50:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:50:16] Production.INFO: ==21356== Releasing lock...
[2025-01-06 19:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:50:19] Production.INFO: count ==2123
[2025-01-06 19:50:19] Production.ERROR: pbx CDR StartTime 2025-01-06 16:50:05 - End Time 2025-01-06 19:50:05
[2025-01-06 19:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189809', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189809', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189809', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189809', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:50:19] Production.INFO: ProcessCDR(1,14189809,1,1,2)
[2025-01-06 19:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189809,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189809,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189809,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189809,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189809', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189809', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:50:22] Production.INFO: ==21364== Releasing lock...
[2025-01-06 19:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:50:22] Production.INFO: 44 MB #Memory Used#
[2025-01-07 00:51:01] Production.INFO: ==21430== Lock acquired, processing the job...
[2025-01-07 00:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:51:01] Production.INFO: neon service started
[2025-01-07 00:51:01] Production.INFO: neon service started
[2025-01-07 00:51:01] Production.INFO: ==21430== Releasing lock...
[2025-01-07 00:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 19:51:02] Production.INFO: ==21432== Lock acquired, processing the job...
[2025-01-06 19:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 19:51:02] Production.INFO: ==21432== Releasing lock...
[2025-01-06 19:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:51:02] Production.INFO: ==21434== Lock acquired, processing the job...
[2025-01-07 00:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:51:02] Production.INFO: ==21434== Releasing lock...
[2025-01-07 00:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:51:03] Production.INFO: ==21440== Lock acquired, processing the job...
[2025-01-06 19:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:51:03] Production.INFO: ==21438== Lock acquired, processing the job...
[2025-01-06 19:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:51:03] Production.INFO: ==21442== Lock acquired, processing the job...
[2025-01-06 19:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:51:03] Production.INFO: ==21444== Lock acquired, processing the job...
[2025-01-06 19:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:51:03] Production.INFO: Account Balance Start.
[2025-01-06 19:51:03] Production.INFO: CreateAllLog Start
[2025-01-06 19:51:03] Production.INFO: 117
[2025-01-06 19:51:03] Production.INFO: Date 2024-12-08
[2025-01-06 19:51:03] Production.INFO: ==21448== Lock acquired, processing the job...
[2025-01-06 19:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:51:03] Production.INFO: ==21446== Lock acquired, processing the job...
[2025-01-06 19:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:51:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:51:03] Production.INFO: Date 2024-12-09
[2025-01-06 19:51:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:51:03] Production.INFO: Date 2024-12-10
[2025-01-06 19:51:03] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 19:51:03] Production.INFO: count ==21
[2025-01-06 19:51:03] Production.INFO: Date 2024-12-11
[2025-01-06 19:51:03] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 19:51:03] Production.INFO: count ==21
[2025-01-06 19:51:03] Production.INFO: Date 2024-12-12
[2025-01-06 19:51:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:51:03] Production.INFO: Date 2024-12-13
[2025-01-06 19:51:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189813') start
[2025-01-06 19:51:03] Production.INFO: ==21440== Releasing lock...
[2025-01-06 19:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:51:04] Production.ERROR: done
[2025-01-06 19:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:51:04] Production.INFO: Date 2024-12-14
[2025-01-06 19:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189813') end
[2025-01-06 19:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:51:04] Production.INFO: 1
[2025-01-06 19:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:51:04] Production.INFO: Date 2024-12-15
[2025-01-06 19:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:51:04] Production.INFO: Date 2024-12-16
[2025-01-06 19:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:51:04] Production.ERROR: done
[2025-01-06 19:51:04] Production.INFO: ==21448== Releasing lock...
[2025-01-06 19:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:51:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:51:04] Production.INFO: Date 2024-12-18
[2025-01-06 19:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:51:04] Production.INFO: Date 2024-12-19
[2025-01-06 19:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:51:04] Production.INFO: Date 2024-12-20
[2025-01-06 19:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:51:04] Production.INFO: Date 2024-12-21
[2025-01-06 19:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:51:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:51:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:51:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:51:04] Production.INFO: Date 2024-12-25
[2025-01-06 19:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:51:04] Production.INFO: Date 2024-12-26
[2025-01-06 19:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:51:04] Production.INFO: Date 2024-12-27
[2025-01-06 19:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:51:04] Production.INFO: Date 2024-12-28
[2025-01-06 19:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:51:04] Production.INFO: Date 2024-12-29
[2025-01-06 19:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:51:04] Production.INFO: Date 2024-12-30
[2025-01-06 19:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:51:04] Production.INFO: Date 2024-12-31
[2025-01-06 19:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:51:04] Production.INFO: Date 2025-01-01
[2025-01-06 19:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:51:04] Production.INFO: Date 2025-01-02
[2025-01-06 19:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:51:04] Production.INFO: Date 2025-01-03
[2025-01-06 19:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:51:04] Production.INFO: Date 2025-01-04
[2025-01-06 19:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:51:04] Production.INFO: Date 2025-01-05
[2025-01-06 19:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:51:05
[end_date_ymd] => 2025-01-06 19:51:05
[RateCDR] => 1
)
[2025-01-06 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-06 16:51:05' and `end` < '2025-01-06 19:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 19:51:05] Production.INFO: Date 2025-01-06
[2025-01-06 19:51:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:51:05] Production.INFO: Total Charge 0
[2025-01-06 19:51:05] Production.INFO: CreateAllLog End
[2025-01-06 19:51:05] Production.INFO: Account Balance End.
[2025-01-06 19:51:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:51:05] Production.INFO: ==21444== Releasing lock...
[2025-01-06 19:51:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:51:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:51:12] Production.ERROR: CronJobId end10
[2025-01-06 19:51:12] Production.INFO: ==21442== Releasing lock...
[2025-01-06 19:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:51:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:51:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:51:13] Production.INFO: call_cost start
[2025-01-06 19:51:13] Production.INFO: call_cost end
[2025-01-06 19:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:51:14] Production.INFO: ==21438== Releasing lock...
[2025-01-06 19:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:51:19] Production.INFO: count ==2010
[2025-01-06 19:51:19] Production.ERROR: pbx CDR StartTime 2025-01-06 16:51:05 - End Time 2025-01-06 19:51:05
[2025-01-06 19:51:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189814', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189814', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189814', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189814', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:51:19] Production.INFO: ProcessCDR(1,14189814,1,1,2)
[2025-01-06 19:51:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189814,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189814,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189814,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:51:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189814,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189814', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189814', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:51:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:51:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:51:23] Production.INFO: ==21446== Releasing lock...
[2025-01-06 19:51:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:51:23] Production.INFO: 43.25 MB #Memory Used#
[2025-01-07 00:52:02] Production.INFO: ==21512== Lock acquired, processing the job...
[2025-01-07 00:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:52:02] Production.INFO: neon service started
[2025-01-07 00:52:02] Production.INFO: neon service started
[2025-01-07 00:52:02] Production.INFO: ==21512== Releasing lock...
[2025-01-07 00:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 19:52:02] Production.INFO: ==21515== Lock acquired, processing the job...
[2025-01-06 19:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:52:03] Production.INFO: ==21517== Lock acquired, processing the job...
[2025-01-07 00:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:52:03] Production.INFO: ==21517== Releasing lock...
[2025-01-07 00:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:52:03] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:52:03] Production.INFO: ==21515== Releasing lock...
[2025-01-06 19:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:52:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 19:52:04] Production.INFO: ==21525== Lock acquired, processing the job...
[2025-01-06 19:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:52:04] Production.INFO: ==21523== Lock acquired, processing the job...
[2025-01-06 19:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:52:04] Production.INFO: ==21519== Lock acquired, processing the job...
[2025-01-06 19:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:52:04] Production.INFO: Account Balance Start.
[2025-01-06 19:52:04] Production.INFO: CreateAllLog Start
[2025-01-06 19:52:04] Production.INFO: 117
[2025-01-06 19:52:04] Production.INFO: Date 2024-12-08
[2025-01-06 19:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:52:04] Production.INFO: ==21521== Lock acquired, processing the job...
[2025-01-06 19:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:52:04] Production.INFO: Date 2024-12-09
[2025-01-06 19:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:52:04] Production.INFO: Date 2024-12-10
[2025-01-06 19:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:52:04] Production.INFO: Date 2024-12-11
[2025-01-06 19:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:52:04] Production.INFO: Date 2024-12-12
[2025-01-06 19:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:52:04] Production.INFO: Date 2024-12-13
[2025-01-06 19:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:52:04] Production.INFO: Date 2024-12-14
[2025-01-06 19:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:52:04] Production.INFO: ==21527== Lock acquired, processing the job...
[2025-01-06 19:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:52:04] Production.INFO: Date 2024-12-15
[2025-01-06 19:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:52:04] Production.INFO: Date 2024-12-16
[2025-01-06 19:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:52:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:52:04] Production.INFO: ==21529== Lock acquired, processing the job...
[2025-01-06 19:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:52:04] Production.INFO: Date 2024-12-18
[2025-01-06 19:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:52:04] Production.INFO: Date 2024-12-19
[2025-01-06 19:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:52:04] Production.INFO: ==21521== Releasing lock...
[2025-01-06 19:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:52:04] Production.INFO: Date 2024-12-20
[2025-01-06 19:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:52:04] Production.INFO: Date 2024-12-21
[2025-01-06 19:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:52:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:52:04] Production.ERROR: done
[2025-01-06 19:52:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:52:04] Production.INFO: Date 2024-12-24
[2025-01-06 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-06 19:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:52:05] Production.ERROR: done
[2025-01-06 19:52:05] Production.INFO: Date 2024-12-25
[2025-01-06 19:52:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:52:05] Production.INFO: count ==21
[2025-01-06 19:52:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:52:05] Production.INFO: count ==21
[2025-01-06 19:52:05] Production.ERROR: PBX CALL prc_importPBXExtension('14189818') start
[2025-01-06 19:52:05] Production.INFO: Date 2024-12-26
[2025-01-06 19:52:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:52:05] Production.INFO: Date 2024-12-27
[2025-01-06 19:52:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:52:05] Production.ERROR: PBX CALL prc_importPBXExtension('14189818') end
[2025-01-06 19:52:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:52:05] Production.INFO: 1
[2025-01-06 19:52:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:52:05] Production.INFO: Date 2024-12-28
[2025-01-06 19:52:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:52:05] Production.INFO: Date 2024-12-29
[2025-01-06 19:52:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:52:05] Production.INFO: Date 2024-12-30
[2025-01-06 19:52:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:52:05] Production.INFO: Date 2024-12-31
[2025-01-06 19:52:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:52:05] Production.INFO: ==21529== Releasing lock...
[2025-01-06 19:52:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:52:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:52:05] Production.INFO: Date 2025-01-01
[2025-01-06 19:52:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:52:05] Production.INFO: Date 2025-01-02
[2025-01-06 19:52:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:52:05] Production.INFO: Date 2025-01-03
[2025-01-06 19:52:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:52:05] Production.INFO: Date 2025-01-04
[2025-01-06 19:52:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:52:05] Production.INFO: Date 2025-01-05
[2025-01-06 19:52:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:52:05] Production.INFO: Date 2025-01-06
[2025-01-06 19:52:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:52:05] Production.INFO: Total Charge 0
[2025-01-06 19:52:05] Production.INFO: CreateAllLog End
[2025-01-06 19:52:05] Production.INFO: Account Balance End.
[2025-01-06 19:52:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:52:05] Production.INFO: ==21525== Releasing lock...
[2025-01-06 19:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:52:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:52:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:52:06
[end_date_ymd] => 2025-01-06 19:52:06
[RateCDR] => 1
)
[2025-01-06 19: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-06 16:52:06' and `end` < '2025-01-06 19: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-06 19:52:13] Production.ERROR: CronJobId end10
[2025-01-06 19:52:13] Production.INFO: ==21523== Releasing lock...
[2025-01-06 19:52:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:52:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:52:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:52:15] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:52:15] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:52:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:52:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:52:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:52:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:52:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:52:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:52:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:52:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:52:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:52:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:52:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:52:15] Production.INFO: call_cost start
[2025-01-06 19:52:15] Production.INFO: call_cost end
[2025-01-06 19:52:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:52:16] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:52:16] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:52:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:52:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:52:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:52:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:52:16] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:52:16] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:52:16] Production.INFO: ==21519== Releasing lock...
[2025-01-06 19:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:52:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:52:19] Production.INFO: count ==1991
[2025-01-06 19:52:19] Production.ERROR: pbx CDR StartTime 2025-01-06 16:52:06 - End Time 2025-01-06 19:52:06
[2025-01-06 19:52:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189819', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189819', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189819', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189819', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:52:19] Production.INFO: ProcessCDR(1,14189819,1,1,2)
[2025-01-06 19:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189819,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189819,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189819,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189819,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189819', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189819', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:52:22] Production.INFO: ==21527== Releasing lock...
[2025-01-06 19:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:52:22] Production.INFO: 43 MB #Memory Used#
[2025-01-07 00:53:01] Production.INFO: ==21593== Lock acquired, processing the job...
[2025-01-07 00:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:53:01] Production.INFO: neon service started
[2025-01-07 00:53:01] Production.INFO: neon service started
[2025-01-07 00:53:01] Production.INFO: ==21593== Releasing lock...
[2025-01-07 00:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 19:53:02] Production.INFO: ==21595== Lock acquired, processing the job...
[2025-01-06 19:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:53:02] Production.INFO: ==21597== Lock acquired, processing the job...
[2025-01-07 00:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-06 19:53:02] Production.INFO: ==21595== Releasing lock...
[2025-01-06 19:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:53:02] Production.INFO: ==21597== Releasing lock...
[2025-01-07 00:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:53:03] Production.INFO: ==21601== Lock acquired, processing the job...
[2025-01-06 19:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:53:03] Production.INFO: ==21603== Lock acquired, processing the job...
[2025-01-06 19:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:53:03] Production.INFO: ==21599== Lock acquired, processing the job...
[2025-01-06 19:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:53:03] Production.INFO: ==21605== Lock acquired, processing the job...
[2025-01-06 19:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:53:03] Production.INFO: ==21601== Releasing lock...
[2025-01-06 19:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:53:03] Production.INFO: Account Balance Start.
[2025-01-06 19:53:03] Production.INFO: CreateAllLog Start
[2025-01-06 19:53:03] Production.INFO: 117
[2025-01-06 19:53:03] Production.INFO: ==21607== Lock acquired, processing the job...
[2025-01-06 19:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:53:03] Production.INFO: Date 2024-12-08
[2025-01-06 19:53:03] Production.INFO: ==21610== Lock acquired, processing the job...
[2025-01-06 19:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:53:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:53:03] Production.INFO: Date 2024-12-09
[2025-01-06 19:53:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:53:03] Production.INFO: Date 2024-12-10
[2025-01-06 19:53:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:53:03] Production.INFO: Date 2024-12-11
[2025-01-06 19:53:03] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 19:53:03] Production.INFO: count ==21
[2025-01-06 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-06 19:53:03] Production.INFO: count ==21
[2025-01-06 19:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189823') start
[2025-01-06 19:53:03] Production.INFO: Date 2024-12-12
[2025-01-06 19:53:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:53:04] Production.ERROR: done
[2025-01-06 19:53:04] Production.INFO: Date 2024-12-13
[2025-01-06 19:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189823') end
[2025-01-06 19:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:53:04] Production.INFO: 1
[2025-01-06 19:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:53:04] Production.INFO: Date 2024-12-14
[2025-01-06 19:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:53:04] Production.INFO: Date 2024-12-15
[2025-01-06 19:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:53:04] Production.INFO: ==21610== Releasing lock...
[2025-01-06 19:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:53:04] Production.ERROR: done
[2025-01-06 19:53:04] Production.INFO: Date 2024-12-16
[2025-01-06 19:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:53:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:53:04] Production.INFO: Date 2024-12-18
[2025-01-06 19:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:53:04] Production.INFO: Date 2024-12-19
[2025-01-06 19:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:53:04] Production.INFO: Date 2024-12-20
[2025-01-06 19:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:53:04] Production.INFO: Date 2024-12-21
[2025-01-06 19:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:53:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:53:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:53:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:53:04] Production.INFO: Date 2024-12-25
[2025-01-06 19:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:53:04] Production.INFO: Date 2024-12-26
[2025-01-06 19:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:53:04] Production.INFO: Date 2024-12-27
[2025-01-06 19:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:53:04] Production.INFO: Date 2024-12-28
[2025-01-06 19:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:53:04] Production.INFO: Date 2024-12-29
[2025-01-06 19:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:53:04] Production.INFO: Date 2024-12-30
[2025-01-06 19:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:53:04] Production.INFO: Date 2024-12-31
[2025-01-06 19:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:53:05] Production.INFO: Date 2025-01-01
[2025-01-06 19:53:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:53:05] Production.INFO: Date 2025-01-02
[2025-01-06 19:53:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:53:05] Production.INFO: Date 2025-01-03
[2025-01-06 19:53:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:53:05] Production.INFO: Date 2025-01-04
[2025-01-06 19:53:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:53:05] Production.INFO: Date 2025-01-05
[2025-01-06 19:53:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:53:05] Production.INFO: Date 2025-01-06
[2025-01-06 19:53:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:53:05] Production.INFO: Total Charge 0
[2025-01-06 19:53:05] Production.INFO: CreateAllLog End
[2025-01-06 19:53:05] Production.INFO: Account Balance End.
[2025-01-06 19:53:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:53:05] Production.INFO: ==21605== Releasing lock...
[2025-01-06 19:53:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:53:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:53:05
[end_date_ymd] => 2025-01-06 19:53:05
[RateCDR] => 1
)
[2025-01-06 19:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 16:53:05' and `end` < '2025-01-06 19:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 19:53:12] Production.ERROR: CronJobId end10
[2025-01-06 19:53:12] Production.INFO: ==21603== Releasing lock...
[2025-01-06 19:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:53:13] Production.INFO: call_cost start
[2025-01-06 19:53:13] Production.INFO: call_cost end
[2025-01-06 19:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:53:14] Production.INFO: ==21599== Releasing lock...
[2025-01-06 19:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:53:18] Production.INFO: count ==1975
[2025-01-06 19:53:19] Production.ERROR: pbx CDR StartTime 2025-01-06 16:53:05 - End Time 2025-01-06 19:53:05
[2025-01-06 19:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189824', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189824', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189824', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189824', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:53:19] Production.INFO: ProcessCDR(1,14189824,1,1,2)
[2025-01-06 19:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189824,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189824,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189824,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189824,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189824', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189824', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:53:22] Production.INFO: ==21607== Releasing lock...
[2025-01-06 19:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:53:22] Production.INFO: 42.5 MB #Memory Used#
[2025-01-07 00:54:02] Production.INFO: ==21682== Lock acquired, processing the job...
[2025-01-07 00:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:54:02] Production.INFO: neon service started
[2025-01-07 00:54:02] Production.INFO: neon service started
[2025-01-07 00:54:02] Production.INFO: ==21682== Releasing lock...
[2025-01-07 00:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:54:02] Production.INFO: ==21686== Lock acquired, processing the job...
[2025-01-07 00:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:54:02] Production.INFO: ==21686== Releasing lock...
[2025-01-07 00:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:54:03] Production.INFO: ==21684== Lock acquired, processing the job...
[2025-01-06 19:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 19:54:03] Production.INFO: ==21684== Releasing lock...
[2025-01-06 19:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:54:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 19:54:04] Production.INFO: ==21689== Lock acquired, processing the job...
[2025-01-06 19:54:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:54:04] Production.INFO: ==21695== Lock acquired, processing the job...
[2025-01-06 19:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:54:04] Production.INFO: ==21691== Lock acquired, processing the job...
[2025-01-06 19:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:54:04] Production.INFO: ==21697== Lock acquired, processing the job...
[2025-01-06 19:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:54:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:54:04] Production.INFO: Account Balance Start.
[2025-01-06 19:54:04] Production.INFO: CreateAllLog Start
[2025-01-06 19:54:04] Production.INFO: 117
[2025-01-06 19:54:04] Production.INFO: Date 2024-12-08
[2025-01-06 19:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:54:04] Production.INFO: ==21693== Lock acquired, processing the job...
[2025-01-06 19:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:54:04] Production.INFO: Date 2024-12-09
[2025-01-06 19:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:54:04] Production.INFO: Date 2024-12-10
[2025-01-06 19:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:54:04] Production.INFO: Date 2024-12-11
[2025-01-06 19:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:54:04] Production.INFO: ==21699== Lock acquired, processing the job...
[2025-01-06 19:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:54:04] Production.INFO: Date 2024-12-12
[2025-01-06 19:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:54:04] Production.INFO: Date 2024-12-13
[2025-01-06 19:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:54:04] Production.INFO: Date 2024-12-14
[2025-01-06 19:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:54:04] Production.INFO: Date 2024-12-15
[2025-01-06 19:54:04] Production.ERROR: done
[2025-01-06 19:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:54:04] Production.INFO: Date 2024-12-16
[2025-01-06 19:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:54:04] Production.INFO: count ==21
[2025-01-06 19:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:54:04] Production.INFO: count ==21
[2025-01-06 19:54:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189828') start
[2025-01-06 19:54:04] Production.INFO: Date 2024-12-18
[2025-01-06 19:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:54:04] Production.INFO: Date 2024-12-19
[2025-01-06 19:54:04] Production.INFO: ==21691== Releasing lock...
[2025-01-06 19:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:54:04] Production.ERROR: done
[2025-01-06 19:54:04] Production.INFO: Date 2024-12-20
[2025-01-06 19:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:54:04] Production.INFO: Date 2024-12-21
[2025-01-06 19:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189828') end
[2025-01-06 19:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:54:04] Production.INFO: 1
[2025-01-06 19:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:54:04] Production.INFO: ==21699== Releasing lock...
[2025-01-06 19:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:54:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:54:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:54:05] Production.INFO: Date 2024-12-24
[2025-01-06 19:54:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:54:05] Production.INFO: Date 2024-12-25
[2025-01-06 19:54:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:54:05] Production.INFO: Date 2024-12-26
[2025-01-06 19:54:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:54:05] Production.INFO: Date 2024-12-27
[2025-01-06 19:54:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:54:05] Production.INFO: Date 2024-12-28
[2025-01-06 19:54:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:54:05] Production.INFO: Date 2024-12-29
[2025-01-06 19:54:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:54:05] Production.INFO: Date 2024-12-30
[2025-01-06 19:54:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:54:05] Production.INFO: Date 2024-12-31
[2025-01-06 19:54:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:54:05] Production.INFO: Date 2025-01-01
[2025-01-06 19:54:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:54:05] Production.INFO: Date 2025-01-02
[2025-01-06 19:54:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:54:05] Production.INFO: Date 2025-01-03
[2025-01-06 19:54:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:54:05] Production.INFO: Date 2025-01-04
[2025-01-06 19:54:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:54:05] Production.INFO: Date 2025-01-05
[2025-01-06 19:54:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:54:05] Production.INFO: Date 2025-01-06
[2025-01-06 19:54:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:54:05] Production.INFO: Total Charge 0
[2025-01-06 19:54:05] Production.INFO: CreateAllLog End
[2025-01-06 19:54:05] Production.INFO: Account Balance End.
[2025-01-06 19:54:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:54:05] Production.INFO: ==21695== Releasing lock...
[2025-01-06 19:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:54:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:54:05
[end_date_ymd] => 2025-01-06 19:54:05
[RateCDR] => 1
)
[2025-01-06 19:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 16:54:05' and `end` < '2025-01-06 19:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 19:54:14] Production.ERROR: CronJobId end10
[2025-01-06 19:54:14] Production.INFO: ==21693== Releasing lock...
[2025-01-06 19:54:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:54:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:54:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:54:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:54:15] Production.INFO: call_cost start
[2025-01-06 19:54:15] Production.INFO: call_cost end
[2025-01-06 19:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:54:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:54:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:54:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:54:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:54:15] Production.INFO: ==21689== Releasing lock...
[2025-01-06 19:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:54:21] Production.INFO: count ==1956
[2025-01-06 19:54:22] Production.ERROR: pbx CDR StartTime 2025-01-06 16:54:05 - End Time 2025-01-06 19:54:05
[2025-01-06 19:54:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:54:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189829', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:54:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189829', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:54:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189829', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:54:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189829', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:54:22] Production.INFO: ProcessCDR(1,14189829,1,1,2)
[2025-01-06 19:54:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189829,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:54:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189829,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:54:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189829,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:54:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189829,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:54:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189829', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:54:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189829', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:54:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:54:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:54:25] Production.INFO: ==21697== Releasing lock...
[2025-01-06 19:54:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:54:25] Production.INFO: 42.75 MB #Memory Used#
[2025-01-07 00:55:01] Production.INFO: ==21803== Lock acquired, processing the job...
[2025-01-07 00:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:55:01] Production.INFO: neon service started
[2025-01-07 00:55:01] Production.INFO: neon service started
[2025-01-07 00:55:01] Production.INFO: ==21803== Releasing lock...
[2025-01-07 00:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 19:55:02] Production.INFO: ==21805== Lock acquired, processing the job...
[2025-01-06 19:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 19:55:02] Production.INFO: ==21805== Releasing lock...
[2025-01-06 19:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:55:02] Production.INFO: ==21807== Lock acquired, processing the job...
[2025-01-07 00:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:55:02] Production.INFO: ==21807== Releasing lock...
[2025-01-07 00:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:55:03] Production.INFO: ==21809== Lock acquired, processing the job...
[2025-01-06 19:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:55:03] Production.INFO: ==21811== Lock acquired, processing the job...
[2025-01-06 19:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:55:03] Production.INFO: ==21813== Lock acquired, processing the job...
[2025-01-06 19:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:55:03] Production.INFO: ==21811== Releasing lock...
[2025-01-06 19:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:55:03] Production.INFO: ==21815== Lock acquired, processing the job...
[2025-01-06 19:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:55:03] Production.INFO: ==21817== Lock acquired, processing the job...
[2025-01-06 19:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:55:03] Production.INFO: Account Balance Start.
[2025-01-06 19:55:03] Production.INFO: CreateAllLog Start
[2025-01-06 19:55:03] Production.INFO: 117
[2025-01-06 19:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:55:03] Production.INFO: Date 2024-12-08
[2025-01-06 19:55:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:55:03] Production.INFO: Date 2024-12-09
[2025-01-06 19:55:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:55:03] Production.INFO: Date 2024-12-10
[2025-01-06 19:55:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:55:03] Production.INFO: Date 2024-12-11
[2025-01-06 19:55:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:55:03] Production.INFO: ==21819== Lock acquired, processing the job...
[2025-01-06 19:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:55:03] Production.INFO: Date 2024-12-12
[2025-01-06 19:55:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:55:04] Production.INFO: Date 2024-12-13
[2025-01-06 19:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:55:04] Production.INFO: Date 2024-12-14
[2025-01-06 19:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 19:55:04] Production.INFO: Date 2024-12-15
[2025-01-06 19:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:55:04] Production.INFO: count ==21
[2025-01-06 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-06 19:55:04] Production.INFO: count ==21
[2025-01-06 19:55:04] Production.INFO: Date 2024-12-16
[2025-01-06 19:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189833') start
[2025-01-06 19:55:04] Production.ERROR: done
[2025-01-06 19:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189833') end
[2025-01-06 19:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:55:04] Production.INFO: 1
[2025-01-06 19:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:55:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:55:04] Production.INFO: Date 2024-12-18
[2025-01-06 19:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:55:04] Production.INFO: Date 2024-12-19
[2025-01-06 19:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:55:04] Production.INFO: ==21819== Releasing lock...
[2025-01-06 19:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:55:04] Production.ERROR: done
[2025-01-06 19:55:04] Production.INFO: Date 2024-12-20
[2025-01-06 19:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:55:04] Production.INFO: Date 2024-12-21
[2025-01-06 19:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:55:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:55:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:55:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:55:04] Production.INFO: Date 2024-12-25
[2025-01-06 19:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:55:04] Production.INFO: Date 2024-12-26
[2025-01-06 19:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:55:04] Production.INFO: Date 2024-12-27
[2025-01-06 19:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:55:04] Production.INFO: Date 2024-12-28
[2025-01-06 19:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:55:04] Production.INFO: Date 2024-12-29
[2025-01-06 19:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:55:04] Production.INFO: Date 2024-12-30
[2025-01-06 19:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:55:04] Production.INFO: Date 2024-12-31
[2025-01-06 19:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:55:04] Production.INFO: Date 2025-01-01
[2025-01-06 19:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:55:04] Production.INFO: Date 2025-01-02
[2025-01-06 19:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:55:05] Production.INFO: Date 2025-01-03
[2025-01-06 19:55:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:55:05] Production.INFO: Date 2025-01-04
[2025-01-06 19:55:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:55:05] Production.INFO: Date 2025-01-05
[2025-01-06 19:55:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:55:05] Production.INFO: Date 2025-01-06
[2025-01-06 19:55:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:55:05] Production.INFO: Total Charge 0
[2025-01-06 19:55:05] Production.INFO: CreateAllLog End
[2025-01-06 19:55:05] Production.INFO: Account Balance End.
[2025-01-06 19:55:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:55:05] Production.INFO: ==21815== Releasing lock...
[2025-01-06 19:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:55:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:55:05
[end_date_ymd] => 2025-01-06 19:55:05
[RateCDR] => 1
)
[2025-01-06 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-06 16:55:05' and `end` < '2025-01-06 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-06 19:55:13] Production.ERROR: CronJobId end10
[2025-01-06 19:55:13] Production.INFO: ==21813== Releasing lock...
[2025-01-06 19:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:55:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:55:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:55:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:55:14] Production.INFO: call_cost start
[2025-01-06 19:55:14] Production.INFO: call_cost end
[2025-01-06 19:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:55:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:55:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:55:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:55:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:55:15] Production.INFO: ==21809== Releasing lock...
[2025-01-06 19:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:55:20] Production.INFO: count ==1938
[2025-01-06 19:55:20] Production.ERROR: pbx CDR StartTime 2025-01-06 16:55:05 - End Time 2025-01-06 19:55:05
[2025-01-06 19:55:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:55:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189834', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:55:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189834', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:55:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189834', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:55:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189834', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:55:20] Production.INFO: ProcessCDR(1,14189834,1,1,2)
[2025-01-06 19:55:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189834,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:55:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189834,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:55:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189834,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:55:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189834,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189834', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189834', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:55:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:55:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:55:23] Production.INFO: ==21817== Releasing lock...
[2025-01-06 19:55:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:55:23] Production.INFO: 42.5 MB #Memory Used#
[2025-01-07 00:56:01] Production.INFO: ==21891== Lock acquired, processing the job...
[2025-01-07 00:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:56:01] Production.INFO: neon service started
[2025-01-07 00:56:01] Production.INFO: neon service started
[2025-01-07 00:56:01] Production.INFO: ==21891== Releasing lock...
[2025-01-07 00:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 19:56:01] Production.INFO: ==21893== Lock acquired, processing the job...
[2025-01-06 19:56:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 19:56:02] Production.INFO: ==21893== Releasing lock...
[2025-01-06 19:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:56:02] Production.INFO: ==21895== Lock acquired, processing the job...
[2025-01-07 00:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:56:02] Production.INFO: ==21895== Releasing lock...
[2025-01-07 00:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:56:02] Production.INFO: ==21904== Lock acquired, processing the job...
[2025-01-06 19:56:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:56:02] Production.INFO: Account Balance Start.
[2025-01-06 19:56:02] Production.INFO: CreateAllLog Start
[2025-01-06 19:56:02] Production.INFO: 117
[2025-01-06 19:56:03] Production.INFO: Date 2024-12-08
[2025-01-06 19:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:56:03] Production.INFO: Date 2024-12-09
[2025-01-06 19:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:56:03] Production.INFO: Date 2024-12-10
[2025-01-06 19:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:56:03] Production.INFO: ==21900== Lock acquired, processing the job...
[2025-01-06 19:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:56:03] Production.INFO: Date 2024-12-11
[2025-01-06 19:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:56:03] Production.INFO: ==21898== Lock acquired, processing the job...
[2025-01-06 19:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:56:03] Production.INFO: ==21908== Lock acquired, processing the job...
[2025-01-06 19:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:56:03] Production.INFO: Date 2024-12-12
[2025-01-06 19:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:56:03] Production.INFO: Date 2024-12-13
[2025-01-06 19:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:56:03] Production.INFO: ==21902== Lock acquired, processing the job...
[2025-01-06 19:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:56:03] Production.INFO: Date 2024-12-14
[2025-01-06 19:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:56:03] Production.INFO: ==21906== Lock acquired, processing the job...
[2025-01-06 19:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 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-06 19:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:56:03] Production.INFO: Date 2024-12-15
[2025-01-06 19:56:03] Production.INFO: count ==21
[2025-01-06 19:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 19:56:03] Production.INFO: count ==21
[2025-01-06 19:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189837') start
[2025-01-06 19:56:03] Production.INFO: Date 2024-12-16
[2025-01-06 19:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:56:03] Production.INFO: Date 2024-12-17
[2025-01-06 19:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:56:03] Production.INFO: Date 2024-12-18
[2025-01-06 19:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189837') end
[2025-01-06 19:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:56:03] Production.INFO: 1
[2025-01-06 19:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:56:03] Production.INFO: ==21908== Releasing lock...
[2025-01-06 19:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:56:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:56:03] Production.INFO: Date 2024-12-19
[2025-01-06 19:56:03] Production.INFO: ==21900== Releasing lock...
[2025-01-06 19:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:56:03] Production.ERROR: done
[2025-01-06 19:56:03] Production.INFO: Date 2024-12-20
[2025-01-06 19:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:56:03] Production.INFO: Date 2024-12-21
[2025-01-06 19:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:56:03] Production.INFO: Date 2024-12-22
[2025-01-06 19:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:56:03] Production.INFO: Date 2024-12-23
[2025-01-06 19:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:56:03] Production.INFO: Date 2024-12-24
[2025-01-06 19:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:56:03] Production.ERROR: done
[2025-01-06 19:56:03] Production.INFO: Date 2024-12-25
[2025-01-06 19:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:56:03] Production.INFO: Date 2024-12-26
[2025-01-06 19:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:56:03] Production.INFO: Date 2024-12-27
[2025-01-06 19:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:56:03] Production.INFO: Date 2024-12-28
[2025-01-06 19:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:56:04] Production.INFO: Date 2024-12-29
[2025-01-06 19:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:56:04] Production.INFO: Date 2024-12-30
[2025-01-06 19:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:56:04] Production.INFO: Date 2024-12-31
[2025-01-06 19:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:56:04] Production.INFO: Date 2025-01-01
[2025-01-06 19:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:56:04] Production.INFO: Date 2025-01-02
[2025-01-06 19:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:56:04] Production.INFO: Date 2025-01-03
[2025-01-06 19:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:56:04] Production.INFO: Date 2025-01-04
[2025-01-06 19:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:56:04] Production.INFO: Date 2025-01-05
[2025-01-06 19:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:56:04] Production.INFO: Date 2025-01-06
[2025-01-06 19:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:56:04] Production.INFO: Total Charge 0
[2025-01-06 19:56:04] Production.INFO: CreateAllLog End
[2025-01-06 19:56:04] Production.INFO: Account Balance End.
[2025-01-06 19:56:04] Production.ERROR: CronJobId end 12
[2025-01-06 19:56:04] Production.INFO: ==21904== Releasing lock...
[2025-01-06 19:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:56:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:56:04
[end_date_ymd] => 2025-01-06 19:56:04
[RateCDR] => 1
)
[2025-01-06 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-06 16:56:04' and `end` < '2025-01-06 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-06 19:56:12] Production.ERROR: CronJobId end10
[2025-01-06 19:56:12] Production.INFO: ==21902== Releasing lock...
[2025-01-06 19:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:56:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:56:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:56:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:56:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:56:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:56:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:56:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:56:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:56:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:56:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:56:13] Production.INFO: call_cost start
[2025-01-06 19:56:13] Production.INFO: call_cost end
[2025-01-06 19:56:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:56:13] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:56:13] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:56:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:56:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:56:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:56:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:56:13] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:56:13] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:56:13] Production.INFO: ==21898== Releasing lock...
[2025-01-06 19:56:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:56:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:56:17] Production.INFO: count ==1929
[2025-01-06 19:56:18] Production.ERROR: pbx CDR StartTime 2025-01-06 16:56:04 - End Time 2025-01-06 19:56:04
[2025-01-06 19:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189839', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189839', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189839', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189839', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:56:18] Production.INFO: ProcessCDR(1,14189839,1,1,2)
[2025-01-06 19:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189839,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189839,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189839,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189839,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189839', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189839', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:56:21] Production.INFO: ==21906== Releasing lock...
[2025-01-06 19:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:56:21] Production.INFO: 42.75 MB #Memory Used#
[2025-01-07 00:57:01] Production.INFO: ==21977== Lock acquired, processing the job...
[2025-01-07 00:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:57:01] Production.INFO: neon service started
[2025-01-07 00:57:01] Production.INFO: neon service started
[2025-01-07 00:57:01] Production.INFO: ==21977== Releasing lock...
[2025-01-07 00:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 19:57:02] Production.INFO: ==21979== Lock acquired, processing the job...
[2025-01-06 19:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 19:57:02] Production.INFO: ==21979== Releasing lock...
[2025-01-06 19:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:57:02] Production.INFO: ==21981== Lock acquired, processing the job...
[2025-01-07 00:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:57:02] Production.INFO: ==21981== Releasing lock...
[2025-01-07 00:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:57:03] Production.INFO: ==21987== Lock acquired, processing the job...
[2025-01-06 19:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:57:03] Production.INFO: ==21994== Lock acquired, processing the job...
[2025-01-06 19:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:57:03] Production.INFO: ==21985== Lock acquired, processing the job...
[2025-01-06 19:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:57:03] Production.INFO: ==21983== Lock acquired, processing the job...
[2025-01-06 19:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:57:03] Production.INFO: count ==21
[2025-01-06 19:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:57:03] Production.INFO: count ==21
[2025-01-06 19:57:03] Production.INFO: ==21989== Lock acquired, processing the job...
[2025-01-06 19:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189840') start
[2025-01-06 19:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:57:03] Production.INFO: ==21992== Lock acquired, processing the job...
[2025-01-06 19:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:57:03] Production.INFO: Account Balance Start.
[2025-01-06 19:57:03] Production.INFO: CreateAllLog Start
[2025-01-06 19:57:03] Production.INFO: 117
[2025-01-06 19:57:03] Production.INFO: Date 2024-12-08
[2025-01-06 19:57:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:57:03] Production.INFO: Date 2024-12-09
[2025-01-06 19:57:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:57:03] Production.INFO: Date 2024-12-10
[2025-01-06 19:57:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189840') end
[2025-01-06 19:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:57:03] Production.INFO: 1
[2025-01-06 19:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:57:03] Production.INFO: Date 2024-12-11
[2025-01-06 19:57:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:57:03] Production.INFO: Date 2024-12-12
[2025-01-06 19:57:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:57:03] Production.INFO: ==21994== Releasing lock...
[2025-01-06 19:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:57:03] Production.INFO: ==21985== Releasing lock...
[2025-01-06 19:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:57:03] Production.INFO: Date 2024-12-13
[2025-01-06 19:57:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:57:03] Production.INFO: Date 2024-12-14
[2025-01-06 19:57:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:57:03] Production.INFO: Date 2024-12-15
[2025-01-06 19:57:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:57:03] Production.INFO: Date 2024-12-16
[2025-01-06 19:57:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:57:03] Production.ERROR: done
[2025-01-06 19:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:57:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:57:04] Production.INFO: Date 2024-12-18
[2025-01-06 19:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:57:04] Production.INFO: Date 2024-12-19
[2025-01-06 19:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:57:04] Production.INFO: Date 2024-12-20
[2025-01-06 19:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:57:04] Production.ERROR: done
[2025-01-06 19:57:04] Production.INFO: Date 2024-12-21
[2025-01-06 19:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:57:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:57:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:57:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:57:04] Production.INFO: Date 2024-12-25
[2025-01-06 19:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:57:04] Production.INFO: Date 2024-12-26
[2025-01-06 19:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:57:04] Production.INFO: Date 2024-12-27
[2025-01-06 19:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:57:04] Production.INFO: Date 2024-12-28
[2025-01-06 19:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:57:04] Production.INFO: Date 2024-12-29
[2025-01-06 19:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:57:04] Production.INFO: Date 2024-12-30
[2025-01-06 19:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:57:05] Production.INFO: Date 2024-12-31
[2025-01-06 19:57:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:57:05
[end_date_ymd] => 2025-01-06 19:57:05
[RateCDR] => 1
)
[2025-01-06 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-06 16:57:05' and `end` < '2025-01-06 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-06 19:57:05] Production.INFO: Date 2025-01-01
[2025-01-06 19:57:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:57:05] Production.INFO: Date 2025-01-02
[2025-01-06 19:57:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:57:05] Production.INFO: Date 2025-01-03
[2025-01-06 19:57:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:57:05] Production.INFO: Date 2025-01-04
[2025-01-06 19:57:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:57:05] Production.INFO: Date 2025-01-05
[2025-01-06 19:57:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:57:05] Production.INFO: Date 2025-01-06
[2025-01-06 19:57:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:57:05] Production.INFO: Total Charge 0
[2025-01-06 19:57:05] Production.INFO: CreateAllLog End
[2025-01-06 19:57:05] Production.INFO: Account Balance End.
[2025-01-06 19:57:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:57:05] Production.INFO: ==21989== Releasing lock...
[2025-01-06 19:57:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:57:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:57:11] Production.ERROR: CronJobId end10
[2025-01-06 19:57:11] Production.INFO: ==21987== Releasing lock...
[2025-01-06 19:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:57:13] Production.INFO: call_cost start
[2025-01-06 19:57:13] Production.INFO: call_cost end
[2025-01-06 19:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:57:14] Production.INFO: ==21983== Releasing lock...
[2025-01-06 19:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:57:18] Production.INFO: count ==1906
[2025-01-06 19:57:18] Production.ERROR: pbx CDR StartTime 2025-01-06 16:57:05 - End Time 2025-01-06 19:57:05
[2025-01-06 19:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189844', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189844', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189844', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189844', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:57:18] Production.INFO: ProcessCDR(1,14189844,1,1,2)
[2025-01-06 19:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189844,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189844,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189844,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189844,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189844', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189844', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:57:22] Production.INFO: ==21992== Releasing lock...
[2025-01-06 19:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:57:22] Production.INFO: 42 MB #Memory Used#
[2025-01-07 00:58:02] Production.INFO: ==22063== Lock acquired, processing the job...
[2025-01-07 00:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:58:02] Production.INFO: neon service started
[2025-01-07 00:58:02] Production.INFO: neon service started
[2025-01-07 00:58:02] Production.INFO: ==22063== Releasing lock...
[2025-01-07 00:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 19:58:02] Production.INFO: ==22065== Lock acquired, processing the job...
[2025-01-06 19:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 19:58:02] Production.INFO: ==22065== Releasing lock...
[2025-01-06 19:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:58:02] Production.INFO: ==22067== Lock acquired, processing the job...
[2025-01-07 00:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:58:02] Production.INFO: ==22067== Releasing lock...
[2025-01-07 00:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:58:03] Production.INFO: ==22069== Lock acquired, processing the job...
[2025-01-06 19:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 19:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:58:03] Production.INFO: ==22071== Lock acquired, processing the job...
[2025-01-06 19:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:58:03] Production.INFO: ==22080== Lock acquired, processing the job...
[2025-01-06 19:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:58:03] Production.INFO: ==22071== Releasing lock...
[2025-01-06 19:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:58:04] Production.INFO: ==22073== Lock acquired, processing the job...
[2025-01-06 19:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:58:04] Production.INFO: ==22075== Lock acquired, processing the job...
[2025-01-06 19:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:58:04] Production.INFO: count ==21
[2025-01-06 19:58:04] Production.INFO: ==22078== Lock acquired, processing the job...
[2025-01-06 19:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 19:58:04] Production.INFO: count ==21
[2025-01-06 19:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189847') start
[2025-01-06 19:58:04] Production.INFO: Account Balance Start.
[2025-01-06 19:58:04] Production.INFO: CreateAllLog Start
[2025-01-06 19:58:04] Production.INFO: 117
[2025-01-06 19:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:58:04] Production.INFO: Date 2024-12-08
[2025-01-06 19:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:58:04] Production.INFO: Date 2024-12-09
[2025-01-06 19:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:58:04] Production.INFO: Date 2024-12-10
[2025-01-06 19:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:58:04] Production.INFO: Date 2024-12-11
[2025-01-06 19:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:58:04] Production.INFO: Date 2024-12-12
[2025-01-06 19:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189847') end
[2025-01-06 19:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:58:04] Production.INFO: 1
[2025-01-06 19:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:58:04] Production.INFO: ==22080== Releasing lock...
[2025-01-06 19:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:58:04] Production.INFO: Date 2024-12-13
[2025-01-06 19:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:58:04] Production.INFO: Date 2024-12-14
[2025-01-06 19:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:58:04] Production.INFO: Date 2024-12-15
[2025-01-06 19:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:58:04] Production.INFO: Date 2024-12-16
[2025-01-06 19:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:58:04] Production.ERROR: done
[2025-01-06 19:58:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:58:04] Production.INFO: Date 2024-12-18
[2025-01-06 19:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:58:04] Production.INFO: Date 2024-12-19
[2025-01-06 19:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:58:04] Production.INFO: Date 2024-12-20
[2025-01-06 19:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:58:04] Production.ERROR: done
[2025-01-06 19:58:04] Production.INFO: Date 2024-12-21
[2025-01-06 19:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:58:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:58:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:58:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:58:04] Production.INFO: Date 2024-12-25
[2025-01-06 19:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:58:05] Production.INFO: Date 2024-12-26
[2025-01-06 19:58:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:58:05] Production.INFO: Date 2024-12-27
[2025-01-06 19:58:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:58:05] Production.INFO: Date 2024-12-28
[2025-01-06 19:58:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:58:05] Production.INFO: Date 2024-12-29
[2025-01-06 19:58:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:58:05] Production.INFO: Date 2024-12-30
[2025-01-06 19:58:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:58:05] Production.INFO: Date 2024-12-31
[2025-01-06 19:58:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:58:05] Production.INFO: Date 2025-01-01
[2025-01-06 19:58:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:58:05] Production.INFO: Date 2025-01-02
[2025-01-06 19:58:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:58:05] Production.INFO: Date 2025-01-03
[2025-01-06 19:58:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:58:05] Production.INFO: Date 2025-01-04
[2025-01-06 19:58:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:58:05] Production.INFO: Date 2025-01-05
[2025-01-06 19:58:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:58:05] Production.INFO: Date 2025-01-06
[2025-01-06 19:58:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:58:05] Production.INFO: Total Charge 0
[2025-01-06 19:58:05] Production.INFO: CreateAllLog End
[2025-01-06 19:58:05] Production.INFO: Account Balance End.
[2025-01-06 19:58:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:58:05] Production.INFO: ==22075== Releasing lock...
[2025-01-06 19:58:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:58:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:58:05
[end_date_ymd] => 2025-01-06 19:58:05
[RateCDR] => 1
)
[2025-01-06 19:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 16:58:05' and `end` < '2025-01-06 19:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 19:58:12] Production.ERROR: CronJobId end10
[2025-01-06 19:58:12] Production.INFO: ==22073== Releasing lock...
[2025-01-06 19:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:58:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:58:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:58:14] Production.INFO: call_cost start
[2025-01-06 19:58:14] Production.INFO: call_cost end
[2025-01-06 19:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:58:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:58:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:58:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:58:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:58:15] Production.INFO: ==22069== Releasing lock...
[2025-01-06 19:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:58:19] Production.INFO: count ==1904
[2025-01-06 19:58:20] Production.ERROR: pbx CDR StartTime 2025-01-06 16:58:05 - End Time 2025-01-06 19:58:05
[2025-01-06 19:58:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189849', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189849', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189849', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189849', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:58:20] Production.INFO: ProcessCDR(1,14189849,1,1,2)
[2025-01-06 19:58:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189849,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:58:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189849,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:58:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189849,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:58:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189849,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:58:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189849', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:58:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189849', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:58:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:58:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:58:24] Production.INFO: ==22078== Releasing lock...
[2025-01-06 19:58:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:58:24] Production.INFO: 42.25 MB #Memory Used#
[2025-01-07 00:59:01] Production.INFO: ==22144== Lock acquired, processing the job...
[2025-01-07 00:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 00:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 00:59:01] Production.INFO: neon service started
[2025-01-07 00:59:01] Production.INFO: neon service started
[2025-01-07 00:59:01] Production.INFO: ==22144== Releasing lock...
[2025-01-07 00:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 00:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 19:59:02] Production.INFO: ==22146== Lock acquired, processing the job...
[2025-01-06 19:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:59:02] Production.INFO: ==22148== Lock acquired, processing the job...
[2025-01-07 00:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:59:02] Production.INFO: ==22148== Releasing lock...
[2025-01-07 00:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 00:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 19:59:02] Production.INFO: ==22146== Releasing lock...
[2025-01-06 19:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 19:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 19:59:03] Production.INFO: ==22156== Lock acquired, processing the job...
[2025-01-06 19:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 19:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 19:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 19:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 19:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 19:59:03] Production.INFO: ==22162== Lock acquired, processing the job...
[2025-01-06 19:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 19:59:03] Production.INFO: ==22152== Lock acquired, processing the job...
[2025-01-06 19:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 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-06 19:59:03] Production.INFO: count ==21
[2025-01-06 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-06 19:59:03] Production.INFO: count ==21
[2025-01-06 19:59:03] Production.INFO: ==22154== Lock acquired, processing the job...
[2025-01-06 19:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 19:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189850') start
[2025-01-06 19:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 19:59:03] Production.INFO: ==22158== Lock acquired, processing the job...
[2025-01-06 19:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 19:59:03] Production.INFO: ==22160== Lock acquired, processing the job...
[2025-01-06 19:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 19:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189850') end
[2025-01-06 19:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 19:59:03] Production.INFO: 1
[2025-01-06 19:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 19:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 19:59:03] Production.INFO: Account Balance Start.
[2025-01-06 19:59:03] Production.INFO: CreateAllLog Start
[2025-01-06 19:59:03] Production.INFO: 117
[2025-01-06 19:59:03] Production.INFO: Date 2024-12-08
[2025-01-06 19:59:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:59:03] Production.INFO: ==22162== Releasing lock...
[2025-01-06 19:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 19:59:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 19:59:03] Production.INFO: Date 2024-12-09
[2025-01-06 19:59:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:59:03] Production.INFO: Date 2024-12-10
[2025-01-06 19:59:03] Production.INFO: Reseller ==> 0
[2025-01-06 19:59:04] Production.INFO: Date 2024-12-11
[2025-01-06 19:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:59:04] Production.INFO: Date 2024-12-12
[2025-01-06 19:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:59:04] Production.INFO: ==22154== Releasing lock...
[2025-01-06 19:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 19:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 19:59:04] Production.INFO: Date 2024-12-13
[2025-01-06 19:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:59:04] Production.ERROR: done
[2025-01-06 19:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 19:59:04] Production.INFO: Date 2024-12-14
[2025-01-06 19:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:59:04] Production.ERROR: done
[2025-01-06 19:59:04] Production.INFO: Date 2024-12-15
[2025-01-06 19:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:59:04] Production.INFO: Date 2024-12-16
[2025-01-06 19:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:59:04] Production.INFO: Date 2024-12-17
[2025-01-06 19:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:59:04] Production.INFO: Date 2024-12-18
[2025-01-06 19:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:59:04] Production.INFO: Date 2024-12-19
[2025-01-06 19:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:59:04] Production.INFO: Date 2024-12-20
[2025-01-06 19:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:59:04] Production.INFO: Date 2024-12-21
[2025-01-06 19:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:59:04] Production.INFO: Date 2024-12-22
[2025-01-06 19:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:59:04] Production.INFO: Date 2024-12-23
[2025-01-06 19:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:59:04] Production.INFO: Date 2024-12-24
[2025-01-06 19:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:59:04] Production.INFO: Date 2024-12-25
[2025-01-06 19:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:59:04] Production.INFO: Date 2024-12-26
[2025-01-06 19:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:59:04] Production.INFO: Date 2024-12-27
[2025-01-06 19:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:59:04] Production.INFO: Date 2024-12-28
[2025-01-06 19:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:59:04] Production.INFO: Date 2024-12-29
[2025-01-06 19:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:59:04] Production.INFO: Date 2024-12-30
[2025-01-06 19:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:59:04] Production.INFO: Date 2024-12-31
[2025-01-06 19:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 19:59:05] Production.INFO: Date 2025-01-01
[2025-01-06 19:59:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:59:05] Production.INFO: Date 2025-01-02
[2025-01-06 19:59:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:59:05] Production.INFO: Date 2025-01-03
[2025-01-06 19:59:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:59:05] Production.INFO: Date 2025-01-04
[2025-01-06 19:59:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:59:05] Production.INFO: Date 2025-01-05
[2025-01-06 19:59:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:59:05] Production.INFO: Date 2025-01-06
[2025-01-06 19:59:05] Production.INFO: Reseller ==> 0
[2025-01-06 19:59:05] Production.INFO: Total Charge 0
[2025-01-06 19:59:05] Production.INFO: CreateAllLog End
[2025-01-06 19:59:05] Production.INFO: Account Balance End.
[2025-01-06 19:59:05] Production.ERROR: CronJobId end 12
[2025-01-06 19:59:05] Production.INFO: ==22158== Releasing lock...
[2025-01-06 19:59:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 19:59:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 19:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 16:59:05
[end_date_ymd] => 2025-01-06 19:59:05
[RateCDR] => 1
)
[2025-01-06 19:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 16:59:05' and `end` < '2025-01-06 19:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 19:59:12] Production.ERROR: CronJobId end10
[2025-01-06 19:59:12] Production.INFO: ==22156== Releasing lock...
[2025-01-06 19:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 19:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 19:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 19:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 19:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 19:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 19:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 19:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 19:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 19:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 19:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 19:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 19:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 19:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 19:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 19:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 19:59:14] Production.INFO: call_cost start
[2025-01-06 19:59:14] Production.INFO: call_cost end
[2025-01-06 19:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 19:59:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 19:59:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 19:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 19:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 19:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 19:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 19:59:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 19:59:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 19:59:15] Production.INFO: ==22152== Releasing lock...
[2025-01-06 19:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 19:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 19:59:18] Production.INFO: count ==1899
[2025-01-06 19:59:19] Production.ERROR: pbx CDR StartTime 2025-01-06 16:59:05 - End Time 2025-01-06 19:59:05
[2025-01-06 19:59:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 19:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189854', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189854', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189854', 'tblTempVendorCDR_20' ) start
[2025-01-06 19:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189854', 'tblTempVendorCDR_20' ) end
[2025-01-06 19:59:19] Production.INFO: ProcessCDR(1,14189854,1,1,2)
[2025-01-06 19:59:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189854,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:59:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189854,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 19:59:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189854,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189854,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 19:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189854', 'tblTempUsageDetail_20' ) start
[2025-01-06 19:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189854', 'tblTempUsageDetail_20' ) end
[2025-01-06 19:59:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 19:59:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 19:59:22] Production.INFO: ==22160== Releasing lock...
[2025-01-06 19:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 19:59:22] Production.INFO: 42 MB #Memory Used#
[2025-01-07 01:00:02] Production.INFO: ==22227== Lock acquired, processing the job...
[2025-01-07 01:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:00:02] Production.INFO: neon service started
[2025-01-07 01:00:02] Production.INFO: neon service started
[2025-01-07 01:00:02] Production.INFO: ==22227== Releasing lock...
[2025-01-07 01:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:00:02] Production.INFO: ==22229== Lock acquired, processing the job...
[2025-01-06 20:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:00:02] Production.INFO: ==22231== Lock acquired, processing the job...
[2025-01-07 01:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-06 20:00:02] Production.INFO: ==22229== Releasing lock...
[2025-01-06 20:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:00:02] Production.INFO: ==22231== Releasing lock...
[2025-01-07 01:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:00:03] Production.INFO: ==22235== Lock acquired, processing the job...
[2025-01-06 20:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:00:03] Production.INFO: ==22237== Lock acquired, processing the job...
[2025-01-06 20:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:00:03] Production.INFO: ==22239== Lock acquired, processing the job...
[2025-01-06 20:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:00:03] Production.INFO: ==22244== Lock acquired, processing the job...
[2025-01-06 20:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:00:04] Production.INFO: ==22233== Lock acquired, processing the job...
[2025-01-06 20:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-06 20:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-06 20:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 20:00:04] Production.ERROR: CronJob PID - 22235
[2025-01-06 20:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-06 20:00:04] Production.ERROR: CronJob ID - 5
[2025-01-06 20:00:04] Production.ERROR: CronJob Last Run Time 2025-01-06 20:00:00
[2025-01-06 20:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 20:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 20:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 20:00:04] Production.ERROR: CronJob PID - 22237
[2025-01-06 20:00:04] Production.ERROR: CronJob Title - Account Block
[2025-01-06 20:00:04] Production.ERROR: CronJob ID - 7
[2025-01-06 20:00:04] Production.ERROR: CronJob Last Run Time 2025-01-06 20:00:00
[2025-01-06 20:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 20:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 20:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 20:00:04] Production.ERROR: CronJob PID - 22239
[2025-01-06 20:00:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-06 20:00:04] Production.ERROR: CronJob ID - 10
[2025-01-06 20:00:04] Production.ERROR: CronJob Last Run Time 2025-01-06 20:00:00
[2025-01-06 20:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 20:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 20:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 20:00:04] Production.ERROR: CronJob PID - 22244
[2025-01-06 20:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-06 20:00:04] Production.ERROR: CronJob ID - 16
[2025-01-06 20:00:04] Production.ERROR: CronJob Last Run Time 2025-01-06 20:00:00
[2025-01-06 20:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 20:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 20:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:00:04] Production.INFO: ==22241== Lock acquired, processing the job...
[2025-01-06 20:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-06 20:00:04] Production.INFO: ==22233== Releasing lock...
[2025-01-06 20:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-06 20:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-06 20:00:04] Production.INFO: ==22248== Lock acquired, processing the job...
[2025-01-06 20:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:00:04] Production.INFO: ==22237== Releasing lock...
[2025-01-06 20:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:00:04] Production.INFO: ==22246== Lock acquired, processing the job...
[2025-01-06 20:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-06 20:00:04] Production.INFO: Account Balance Start.
[2025-01-06 20:00:04] Production.INFO: CreateAllLog Start
[2025-01-06 20:00:04] Production.INFO: 117
[2025-01-06 20:00:04] Production.INFO: Date 2024-12-08
[2025-01-06 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-06 20:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:00:04] Production.INFO: Date 2024-12-09
[2025-01-06 20:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:00:04] Production.INFO: Date 2024-12-10
[2025-01-06 20:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:00:04] Production.INFO: count ==21
[2025-01-06 20:00:04] Production.ERROR: done
[2025-01-06 20:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 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-06 20:00:04] Production.INFO: count ==21
[2025-01-06 20:00:04] Production.INFO: Date 2024-12-11
[2025-01-06 20:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189858') start
[2025-01-06 20:00:04] Production.INFO: Date 2024-12-12
[2025-01-06 20:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:00:04] Production.ERROR: done
[2025-01-06 20:00:04] Production.INFO: Date 2024-12-13
[2025-01-06 20:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189858') end
[2025-01-06 20:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:00:04] Production.INFO: 1
[2025-01-06 20:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:00:04] Production.INFO: Date 2024-12-14
[2025-01-06 20:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:00:04] Production.INFO: Date 2024-12-15
[2025-01-06 20:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:00:04] Production.INFO: ==22248== Releasing lock...
[2025-01-06 20:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:00:04] Production.ERROR: done
[2025-01-06 20:00:04] Production.INFO: Date 2024-12-16
[2025-01-06 20:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-06 20:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14189860', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) start
[2025-01-06 20:00:04] Production.INFO: Date 2024-12-17
[2025-01-06 20:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:00:04] Production.INFO: Date 2024-12-18
[2025-01-06 20:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:00:05] Production.INFO: Date 2024-12-19
[2025-01-06 20:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:00:05] Production.INFO: Date 2024-12-20
[2025-01-06 20:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:00:05] Production.INFO: Date 2024-12-21
[2025-01-06 20:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:00:05] Production.INFO: Date 2024-12-22
[2025-01-06 20:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:00:05] Production.INFO: Date 2024-12-23
[2025-01-06 20:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:00:05] Production.INFO: Date 2024-12-24
[2025-01-06 20:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:00:05] Production.INFO: Date 2024-12-25
[2025-01-06 20:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:00:05] Production.INFO: Date 2024-12-26
[2025-01-06 20:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:00:05] Production.INFO: Date 2024-12-27
[2025-01-06 20:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:00:05] Production.INFO: Date 2024-12-28
[2025-01-06 20:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:00:05] Production.INFO: Date 2024-12-29
[2025-01-06 20:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:00:05] Production.INFO: Date 2024-12-30
[2025-01-06 20:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:00:05] Production.INFO: Date 2024-12-31
[2025-01-06 20:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:00:05] Production.INFO: Date 2025-01-01
[2025-01-06 20:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:00:05] Production.INFO: Date 2025-01-02
[2025-01-06 20:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:00:05] Production.INFO: Date 2025-01-03
[2025-01-06 20:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:00:05] Production.INFO: Date 2025-01-04
[2025-01-06 20:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:00:05] Production.INFO: Date 2025-01-05
[2025-01-06 20:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:00:05] Production.INFO: Date 2025-01-06
[2025-01-06 20:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:00:05] Production.INFO: Total Charge 0
[2025-01-06 20:00:05] Production.INFO: CreateAllLog End
[2025-01-06 20:00:05] Production.INFO: Account Balance End.
[2025-01-06 20:00:05] Production.ERROR: CronJobId end 12
[2025-01-06 20:00:05] Production.INFO: ==22241== Releasing lock...
[2025-01-06 20:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:00:05
[end_date_ymd] => 2025-01-06 20:00:05
[RateCDR] => 1
)
[2025-01-06 20:00:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 17:00:05' and `end` < '2025-01-06 20:00:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 20:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14189860', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) end
[2025-01-06 20:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-06 20:00:09] Production.INFO: ProcessCDR(1,14189860,1,1,2)
[2025-01-06 20:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14189860,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14189860,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:00:09] Production.INFO: ==22246== Releasing lock...
[2025-01-06 20:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-06 20:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-06 20:00:13] Production.ERROR: CronJobId end10
[2025-01-06 20:00:13] Production.INFO: ==22239== Releasing lock...
[2025-01-06 20:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:00:15] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:00:15] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:00:15] Production.INFO: call_cost start
[2025-01-06 20:00:15] Production.INFO: call_cost end
[2025-01-06 20:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:00:16] Production.INFO: ==22235== Releasing lock...
[2025-01-06 20:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:00:19] Production.INFO: count ==1878
[2025-01-06 20:00:19] Production.ERROR: pbx CDR StartTime 2025-01-06 17:00:05 - End Time 2025-01-06 20:00:05
[2025-01-06 20:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189859', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189859', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189859', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189859', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:00:19] Production.INFO: ProcessCDR(1,14189859,1,1,2)
[2025-01-06 20:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189859,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189859,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189859,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189859,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189859', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189859', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:00:22] Production.INFO: ==22244== Releasing lock...
[2025-01-06 20:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:00:22] Production.INFO: 42.25 MB #Memory Used#
[2025-01-07 01:01:01] Production.INFO: ==22355== Lock acquired, processing the job...
[2025-01-07 01:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:01:01] Production.INFO: neon service started
[2025-01-07 01:01:01] Production.INFO: neon service started
[2025-01-07 01:01:01] Production.INFO: ==22355== Releasing lock...
[2025-01-07 01:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:01:01] Production.INFO: ==22368== Lock acquired, processing the job...
[2025-01-06 20:01:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 20:01:02] Production.INFO: ==22368== Releasing lock...
[2025-01-06 20:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:01:02] Production.INFO: ==22370== Lock acquired, processing the job...
[2025-01-07 01:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:01:02] Production.INFO: ==22370== Releasing lock...
[2025-01-07 01:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:01:03] Production.INFO: ==22382== Lock acquired, processing the job...
[2025-01-06 20:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:01:03] Production.INFO: ==22380== Lock acquired, processing the job...
[2025-01-06 20:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:01:03] Production.INFO: ==22374== Lock acquired, processing the job...
[2025-01-06 20:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:01:03] Production.INFO: Account Balance Start.
[2025-01-06 20:01:03] Production.INFO: CreateAllLog Start
[2025-01-06 20:01:03] Production.INFO: 117
[2025-01-06 20:01:03] Production.INFO: Date 2024-12-08
[2025-01-06 20:01:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:01:03] Production.INFO: ==22376== Lock acquired, processing the job...
[2025-01-06 20:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:01:03] Production.INFO: ==22378== Lock acquired, processing the job...
[2025-01-06 20:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:01:03] Production.INFO: ==22384== Lock acquired, processing the job...
[2025-01-06 20:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:01:03] Production.INFO: Date 2024-12-09
[2025-01-06 20:01:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:01:03] Production.INFO: Date 2024-12-10
[2025-01-06 20:01:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:01:03] Production.INFO: Date 2024-12-11
[2025-01-06 20:01:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:01:03] Production.INFO: Date 2024-12-12
[2025-01-06 20:01:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:01:03] Production.ERROR: done
[2025-01-06 20:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:01:03] Production.INFO: Date 2024-12-13
[2025-01-06 20:01:03] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 20:01:03] Production.INFO: Date 2024-12-14
[2025-01-06 20:01:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:01:03] Production.INFO: count ==21
[2025-01-06 20:01:03] Production.ERROR: done
[2025-01-06 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-06 20:01:03] Production.INFO: count ==21
[2025-01-06 20:01:03] Production.INFO: Date 2024-12-15
[2025-01-06 20:01:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:01:03] Production.INFO: ==22376== Releasing lock...
[2025-01-06 20:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189864') start
[2025-01-06 20:01:03] Production.INFO: Date 2024-12-16
[2025-01-06 20:01:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:01:03] Production.INFO: Date 2024-12-17
[2025-01-06 20:01:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:01:04] Production.INFO: Date 2024-12-18
[2025-01-06 20:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:01:04] Production.INFO: Date 2024-12-19
[2025-01-06 20:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:01:04] Production.INFO: Date 2024-12-20
[2025-01-06 20:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189864') end
[2025-01-06 20:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:01:04] Production.INFO: 1
[2025-01-06 20:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:01:04] Production.INFO: ==22384== Releasing lock...
[2025-01-06 20:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:01:04] Production.INFO: Date 2024-12-21
[2025-01-06 20:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:01:04] Production.INFO: Date 2024-12-22
[2025-01-06 20:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:01:04] Production.INFO: Date 2024-12-23
[2025-01-06 20:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:01:04] Production.INFO: Date 2024-12-24
[2025-01-06 20:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:01:04] Production.INFO: Date 2024-12-25
[2025-01-06 20:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:01:04] Production.INFO: Date 2024-12-26
[2025-01-06 20:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:01:04] Production.INFO: Date 2024-12-27
[2025-01-06 20:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:01:04] Production.INFO: Date 2024-12-28
[2025-01-06 20:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:01:04] Production.INFO: Date 2024-12-29
[2025-01-06 20:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:01:04] Production.INFO: Date 2024-12-30
[2025-01-06 20:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:01:04] Production.INFO: Date 2024-12-31
[2025-01-06 20:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:01:04] Production.INFO: Date 2025-01-01
[2025-01-06 20:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:01:04] Production.INFO: Date 2025-01-02
[2025-01-06 20:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:01:04] Production.INFO: Date 2025-01-03
[2025-01-06 20:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:01:04] Production.INFO: Date 2025-01-04
[2025-01-06 20:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:01:04] Production.INFO: Date 2025-01-05
[2025-01-06 20:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:01:04] Production.INFO: Date 2025-01-06
[2025-01-06 20:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:01:04] Production.INFO: Total Charge 0
[2025-01-06 20:01:04] Production.INFO: CreateAllLog End
[2025-01-06 20:01:04] Production.INFO: Account Balance End.
[2025-01-06 20:01:04] Production.ERROR: CronJobId end 12
[2025-01-06 20:01:04] Production.INFO: ==22380== Releasing lock...
[2025-01-06 20:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:01:05
[end_date_ymd] => 2025-01-06 20:01:05
[RateCDR] => 1
)
[2025-01-06 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-06 17:01:05' and `end` < '2025-01-06 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-06 20:01:13] Production.ERROR: CronJobId end10
[2025-01-06 20:01:13] Production.INFO: ==22378== Releasing lock...
[2025-01-06 20:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:01:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:01:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:01:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:01:14] Production.INFO: call_cost start
[2025-01-06 20:01:14] Production.INFO: call_cost end
[2025-01-06 20:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:01:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:01:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:01:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:01:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:01:15] Production.INFO: ==22374== Releasing lock...
[2025-01-06 20:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:01:18] Production.INFO: count ==1757
[2025-01-06 20:01:18] Production.ERROR: pbx CDR StartTime 2025-01-06 17:01:05 - End Time 2025-01-06 20:01:05
[2025-01-06 20:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189865', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189865', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189865', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189865', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:01:18] Production.INFO: ProcessCDR(1,14189865,1,1,2)
[2025-01-06 20:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189865,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189865,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189865,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189865,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189865', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189865', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:01:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:01:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:01:21] Production.INFO: ==22382== Releasing lock...
[2025-01-06 20:01:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:01:21] Production.INFO: 41 MB #Memory Used#
[2025-01-07 01:02:02] Production.INFO: ==22452== Lock acquired, processing the job...
[2025-01-07 01:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:02:02] Production.INFO: neon service started
[2025-01-07 01:02:02] Production.INFO: neon service started
[2025-01-07 01:02:02] Production.INFO: ==22452== Releasing lock...
[2025-01-07 01:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:02:02] Production.INFO: ==22456== Lock acquired, processing the job...
[2025-01-07 01:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-06 20:02:02] Production.INFO: ==22454== Lock acquired, processing the job...
[2025-01-06 20:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:02:02] Production.INFO: ==22456== Releasing lock...
[2025-01-07 01:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:02:03] Production.INFO: ==22454== Releasing lock...
[2025-01-06 20:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:02:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 20:02:03] Production.INFO: ==22465== Lock acquired, processing the job...
[2025-01-06 20:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:02:03] Production.INFO: ==22467== Lock acquired, processing the job...
[2025-01-06 20:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:02:03] Production.INFO: Account Balance Start.
[2025-01-06 20:02:03] Production.INFO: CreateAllLog Start
[2025-01-06 20:02:03] Production.INFO: 117
[2025-01-06 20:02:03] Production.INFO: Date 2024-12-08
[2025-01-06 20:02:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:02:04] Production.INFO: Date 2024-12-09
[2025-01-06 20:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:02:04] Production.INFO: ==22459== Lock acquired, processing the job...
[2025-01-06 20:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:02:04] Production.INFO: ==22463== Lock acquired, processing the job...
[2025-01-06 20:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:02:04] Production.INFO: ==22461== Lock acquired, processing the job...
[2025-01-06 20:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:02:04] Production.INFO: Date 2024-12-10
[2025-01-06 20:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:02:04] Production.INFO: ==22469== Lock acquired, processing the job...
[2025-01-06 20:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:02:04] Production.INFO: Date 2024-12-11
[2025-01-06 20:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:02:04] Production.INFO: Date 2024-12-12
[2025-01-06 20:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:02:04] Production.ERROR: done
[2025-01-06 20:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:02:04] Production.INFO: Date 2024-12-13
[2025-01-06 20:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:02:04] Production.INFO: count ==21
[2025-01-06 20:02:04] Production.INFO: Date 2024-12-14
[2025-01-06 20:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:02:04] Production.INFO: count ==21
[2025-01-06 20:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189867') start
[2025-01-06 20:02:04] Production.ERROR: done
[2025-01-06 20:02:04] Production.INFO: Date 2024-12-15
[2025-01-06 20:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189867') end
[2025-01-06 20:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:02:04] Production.INFO: 1
[2025-01-06 20:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:02:04] Production.INFO: Date 2024-12-16
[2025-01-06 20:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:02:04] Production.INFO: Date 2024-12-17
[2025-01-06 20:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:02:04] Production.INFO: ==22469== Releasing lock...
[2025-01-06 20:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:02:04] Production.INFO: ==22461== Releasing lock...
[2025-01-06 20:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:02:04] Production.INFO: Date 2024-12-18
[2025-01-06 20:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:02:04] Production.INFO: Date 2024-12-19
[2025-01-06 20:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:02:04] Production.INFO: Date 2024-12-20
[2025-01-06 20:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:02:04] Production.INFO: Date 2024-12-21
[2025-01-06 20:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:02:04] Production.INFO: Date 2024-12-22
[2025-01-06 20:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:02:04] Production.INFO: Date 2024-12-23
[2025-01-06 20:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:02:04] Production.INFO: Date 2024-12-24
[2025-01-06 20:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:02:05] Production.INFO: Date 2024-12-25
[2025-01-06 20:02:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:02:05] Production.INFO: Date 2024-12-26
[2025-01-06 20:02:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:02:05] Production.INFO: Date 2024-12-27
[2025-01-06 20:02:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:02:05] Production.INFO: Date 2024-12-28
[2025-01-06 20:02:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:02:05] Production.INFO: Date 2024-12-29
[2025-01-06 20:02:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:02:05] Production.INFO: Date 2024-12-30
[2025-01-06 20:02:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:02:05] Production.INFO: Date 2024-12-31
[2025-01-06 20:02:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:02:05] Production.INFO: Date 2025-01-01
[2025-01-06 20:02:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:02:05] Production.INFO: Date 2025-01-02
[2025-01-06 20:02:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:02:05] Production.INFO: Date 2025-01-03
[2025-01-06 20:02:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:02:05] Production.INFO: Date 2025-01-04
[2025-01-06 20:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:02:05
[end_date_ymd] => 2025-01-06 20:02:05
[RateCDR] => 1
)
[2025-01-06 20:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 17:02:05' and `end` < '2025-01-06 20:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 20:02:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:02:05] Production.INFO: Date 2025-01-05
[2025-01-06 20:02:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:02:05] Production.INFO: Date 2025-01-06
[2025-01-06 20:02:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:02:05] Production.INFO: Total Charge 0
[2025-01-06 20:02:05] Production.INFO: CreateAllLog End
[2025-01-06 20:02:05] Production.INFO: Account Balance End.
[2025-01-06 20:02:05] Production.ERROR: CronJobId end 12
[2025-01-06 20:02:05] Production.INFO: ==22465== Releasing lock...
[2025-01-06 20:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:02:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:02:12] Production.ERROR: CronJobId end10
[2025-01-06 20:02:12] Production.INFO: ==22463== Releasing lock...
[2025-01-06 20:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:02:13] Production.INFO: call_cost start
[2025-01-06 20:02:13] Production.INFO: call_cost end
[2025-01-06 20:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:02:14] Production.INFO: ==22459== Releasing lock...
[2025-01-06 20:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:02:18] Production.INFO: count ==1749
[2025-01-06 20:02:19] Production.ERROR: pbx CDR StartTime 2025-01-06 17:02:05 - End Time 2025-01-06 20:02:05
[2025-01-06 20:02:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189870', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189870', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189870', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189870', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:02:19] Production.INFO: ProcessCDR(1,14189870,1,1,2)
[2025-01-06 20:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189870,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189870,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189870,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189870,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189870', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189870', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:02:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:02:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:02:22] Production.INFO: ==22467== Releasing lock...
[2025-01-06 20:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:02:22] Production.INFO: 41 MB #Memory Used#
[2025-01-07 01:03:01] Production.INFO: ==22533== Lock acquired, processing the job...
[2025-01-07 01:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:03:01] Production.INFO: neon service started
[2025-01-07 01:03:01] Production.INFO: neon service started
[2025-01-07 01:03:01] Production.INFO: ==22533== Releasing lock...
[2025-01-07 01:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:03:01] Production.INFO: ==22535== Lock acquired, processing the job...
[2025-01-06 20:03:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 20:03:02] Production.INFO: ==22535== Releasing lock...
[2025-01-06 20:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:03:02] Production.INFO: ==22537== Lock acquired, processing the job...
[2025-01-07 01:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:03:02] Production.INFO: ==22537== Releasing lock...
[2025-01-07 01:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:03:02] Production.INFO: ==22541== Lock acquired, processing the job...
[2025-01-06 20:03:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:03:03] Production.INFO: ==22550== Lock acquired, processing the job...
[2025-01-06 20:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:03:03] Production.INFO: ==22539== Lock acquired, processing the job...
[2025-01-06 20:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:03:03] Production.INFO: ==22543== Lock acquired, processing the job...
[2025-01-06 20:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:03:03] Production.INFO: ==22547== Lock acquired, processing the job...
[2025-01-06 20:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:03:03] Production.INFO: ==22545== Lock acquired, processing the job...
[2025-01-06 20:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 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-06 20:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:03:03] Production.INFO: count ==21
[2025-01-06 20:03:03] Production.INFO: ==22541== Releasing lock...
[2025-01-06 20:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 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-06 20:03:03] Production.INFO: count ==21
[2025-01-06 20:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189872') start
[2025-01-06 20:03:03] Production.INFO: Account Balance Start.
[2025-01-06 20:03:03] Production.INFO: CreateAllLog Start
[2025-01-06 20:03:03] Production.INFO: 117
[2025-01-06 20:03:03] Production.INFO: Date 2024-12-08
[2025-01-06 20:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:03:03] Production.INFO: Date 2024-12-09
[2025-01-06 20:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189872') end
[2025-01-06 20:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:03:03] Production.INFO: 1
[2025-01-06 20:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:03:03] Production.INFO: Date 2024-12-10
[2025-01-06 20:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:03:03] Production.INFO: Date 2024-12-11
[2025-01-06 20:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:03:03] Production.INFO: ==22550== Releasing lock...
[2025-01-06 20:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:03:03] Production.ERROR: done
[2025-01-06 20:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:03:03] Production.INFO: Date 2024-12-12
[2025-01-06 20:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:03:03] Production.INFO: Date 2024-12-13
[2025-01-06 20:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:03:03] Production.INFO: Date 2024-12-14
[2025-01-06 20:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:03:03] Production.INFO: Date 2024-12-15
[2025-01-06 20:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:03:03] Production.INFO: Date 2024-12-16
[2025-01-06 20:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:03:03] Production.ERROR: done
[2025-01-06 20:03:03] Production.INFO: Date 2024-12-17
[2025-01-06 20:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:03:03] Production.INFO: Date 2024-12-18
[2025-01-06 20:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:03:03] Production.INFO: Date 2024-12-19
[2025-01-06 20:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:03:03] Production.INFO: Date 2024-12-20
[2025-01-06 20:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:03:03] Production.INFO: Date 2024-12-21
[2025-01-06 20:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:03:03] Production.INFO: Date 2024-12-22
[2025-01-06 20:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:03:03] Production.INFO: Date 2024-12-23
[2025-01-06 20:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:03:03] Production.INFO: Date 2024-12-24
[2025-01-06 20:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:03:03] Production.INFO: Date 2024-12-25
[2025-01-06 20:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:03:04] Production.INFO: Date 2024-12-26
[2025-01-06 20:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:03:04] Production.INFO: Date 2024-12-27
[2025-01-06 20:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:03:04] Production.INFO: Date 2024-12-28
[2025-01-06 20:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:03:04] Production.INFO: Date 2024-12-29
[2025-01-06 20:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:03:04] Production.INFO: Date 2024-12-30
[2025-01-06 20:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:03:04] Production.INFO: Date 2024-12-31
[2025-01-06 20:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:03:04] Production.INFO: Date 2025-01-01
[2025-01-06 20:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:03:04] Production.INFO: Date 2025-01-02
[2025-01-06 20:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:03:04] Production.INFO: Date 2025-01-03
[2025-01-06 20:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:03:04] Production.INFO: Date 2025-01-04
[2025-01-06 20:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:03:04] Production.INFO: Date 2025-01-05
[2025-01-06 20:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:03:04] Production.INFO: Date 2025-01-06
[2025-01-06 20:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:03:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:03:04
[end_date_ymd] => 2025-01-06 20:03:04
[RateCDR] => 1
)
[2025-01-06 20:03:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 17:03:04' and `end` < '2025-01-06 20:03:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 20:03:04] Production.INFO: Total Charge 0
[2025-01-06 20:03:04] Production.INFO: CreateAllLog End
[2025-01-06 20:03:04] Production.INFO: Account Balance End.
[2025-01-06 20:03:04] Production.ERROR: CronJobId end 12
[2025-01-06 20:03:04] Production.INFO: ==22545== Releasing lock...
[2025-01-06 20:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:03:12] Production.ERROR: CronJobId end10
[2025-01-06 20:03:12] Production.INFO: ==22543== Releasing lock...
[2025-01-06 20:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:03:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:03:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:03:13] Production.INFO: call_cost start
[2025-01-06 20:03:13] Production.INFO: call_cost end
[2025-01-06 20:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:03:14] Production.INFO: ==22539== Releasing lock...
[2025-01-06 20:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:03:17] Production.INFO: count ==1739
[2025-01-06 20:03:18] Production.ERROR: pbx CDR StartTime 2025-01-06 17:03:04 - End Time 2025-01-06 20:03:04
[2025-01-06 20:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189875', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189875', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189875', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189875', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:03:18] Production.INFO: ProcessCDR(1,14189875,1,1,2)
[2025-01-06 20:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189875,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189875,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189875,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189875,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189875', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189875', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:03:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:03:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:03:22] Production.INFO: ==22547== Releasing lock...
[2025-01-06 20:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:03:22] Production.INFO: 41 MB #Memory Used#
[2025-01-07 01:04:01] Production.INFO: ==22616== Lock acquired, processing the job...
[2025-01-07 01:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:04:01] Production.INFO: neon service started
[2025-01-07 01:04:01] Production.INFO: neon service started
[2025-01-07 01:04:01] Production.INFO: ==22616== Releasing lock...
[2025-01-07 01:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:04:02] Production.INFO: ==22621== Lock acquired, processing the job...
[2025-01-07 01:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:04:02] Production.INFO: ==22621== Releasing lock...
[2025-01-07 01:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:04:02] Production.INFO: ==22619== Lock acquired, processing the job...
[2025-01-06 20:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 20:04:02] Production.INFO: ==22619== Releasing lock...
[2025-01-06 20:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 20:04:03] Production.INFO: ==22623== Lock acquired, processing the job...
[2025-01-06 20:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:04:03] Production.INFO: ==22629== Lock acquired, processing the job...
[2025-01-06 20:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:04:03] Production.INFO: ==22631== Lock acquired, processing the job...
[2025-01-06 20:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:04:03] Production.INFO: ==22625== Lock acquired, processing the job...
[2025-01-06 20:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:04:03] Production.INFO: ==22633== Lock acquired, processing the job...
[2025-01-06 20:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:04:03] Production.INFO: Account Balance Start.
[2025-01-06 20:04:03] Production.INFO: CreateAllLog Start
[2025-01-06 20:04:03] Production.INFO: ==22627== Lock acquired, processing the job...
[2025-01-06 20:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:04:03] Production.INFO: 117
[2025-01-06 20:04:03] Production.INFO: Date 2024-12-08
[2025-01-06 20:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:04:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:04:03] Production.INFO: count ==21
[2025-01-06 20:04:03] Production.INFO: Date 2024-12-09
[2025-01-06 20:04:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:04:03] Production.INFO: count ==21
[2025-01-06 20:04:03] Production.INFO: Date 2024-12-10
[2025-01-06 20:04:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:04:03] Production.INFO: Date 2024-12-11
[2025-01-06 20:04:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189878') start
[2025-01-06 20:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:04:03] Production.INFO: Date 2024-12-12
[2025-01-06 20:04:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:04:03] Production.INFO: Date 2024-12-13
[2025-01-06 20:04:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:04:04] Production.INFO: Date 2024-12-14
[2025-01-06 20:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:04:04] Production.ERROR: done
[2025-01-06 20:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:04:04] Production.INFO: Date 2024-12-15
[2025-01-06 20:04:04] Production.INFO: ==22625== Releasing lock...
[2025-01-06 20:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:04:04] Production.INFO: Date 2024-12-16
[2025-01-06 20:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189878') end
[2025-01-06 20:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:04:04] Production.INFO: 1
[2025-01-06 20:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:04:04] Production.INFO: Date 2024-12-17
[2025-01-06 20:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:04:04] Production.INFO: ==22633== Releasing lock...
[2025-01-06 20:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:04:04] Production.ERROR: done
[2025-01-06 20:04:04] Production.INFO: Date 2024-12-18
[2025-01-06 20:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:04:04] Production.INFO: Date 2024-12-19
[2025-01-06 20:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:04:04] Production.INFO: Date 2024-12-20
[2025-01-06 20:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:04:04] Production.INFO: Date 2024-12-21
[2025-01-06 20:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:04:04] Production.INFO: Date 2024-12-22
[2025-01-06 20:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:04:04] Production.INFO: Date 2024-12-23
[2025-01-06 20:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:04:04] Production.INFO: Date 2024-12-24
[2025-01-06 20:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:04:04] Production.INFO: Date 2024-12-25
[2025-01-06 20:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:04:04] Production.INFO: Date 2024-12-26
[2025-01-06 20:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:04:04] Production.INFO: Date 2024-12-27
[2025-01-06 20:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:04:04] Production.INFO: Date 2024-12-28
[2025-01-06 20:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:04:04] Production.INFO: Date 2024-12-29
[2025-01-06 20:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:04:04] Production.INFO: Date 2024-12-30
[2025-01-06 20:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:04:04] Production.INFO: Date 2024-12-31
[2025-01-06 20:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:04:04] Production.INFO: Date 2025-01-01
[2025-01-06 20:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:04:04] Production.INFO: Date 2025-01-02
[2025-01-06 20:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:04:04] Production.INFO: Date 2025-01-03
[2025-01-06 20:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:04:04] Production.INFO: Date 2025-01-04
[2025-01-06 20:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:04:04] Production.INFO: Date 2025-01-05
[2025-01-06 20:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:04:04] Production.INFO: Date 2025-01-06
[2025-01-06 20:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:04:04] Production.INFO: Total Charge 0
[2025-01-06 20:04:04] Production.INFO: CreateAllLog End
[2025-01-06 20:04:04] Production.INFO: Account Balance End.
[2025-01-06 20:04:05] Production.ERROR: CronJobId end 12
[2025-01-06 20:04:05] Production.INFO: ==22629== Releasing lock...
[2025-01-06 20:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:04:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:04:05
[end_date_ymd] => 2025-01-06 20:04:05
[RateCDR] => 1
)
[2025-01-06 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-06 17:04:05' and `end` < '2025-01-06 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-06 20:04:12] Production.ERROR: CronJobId end10
[2025-01-06 20:04:12] Production.INFO: ==22627== Releasing lock...
[2025-01-06 20:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:04:13] Production.INFO: call_cost start
[2025-01-06 20:04:13] Production.INFO: call_cost end
[2025-01-06 20:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:04:14] Production.INFO: ==22623== Releasing lock...
[2025-01-06 20:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:04:18] Production.INFO: count ==1740
[2025-01-06 20:04:19] Production.ERROR: pbx CDR StartTime 2025-01-06 17:04:05 - End Time 2025-01-06 20:04:05
[2025-01-06 20:04:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189880', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189880', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189880', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189880', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:04:19] Production.INFO: ProcessCDR(1,14189880,1,1,2)
[2025-01-06 20:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189880,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189880,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189880,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189880,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189880', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189880', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:04:22] Production.INFO: ==22631== Releasing lock...
[2025-01-06 20:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:04:22] Production.INFO: 41 MB #Memory Used#
[2025-01-07 01:05:02] Production.INFO: ==22707== Lock acquired, processing the job...
[2025-01-07 01:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:05:02] Production.INFO: neon service started
[2025-01-07 01:05:02] Production.INFO: neon service started
[2025-01-07 01:05:02] Production.INFO: ==22707== Releasing lock...
[2025-01-07 01:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:05:02] Production.INFO: ==22710== Lock acquired, processing the job...
[2025-01-06 20:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 20:05:02] Production.INFO: ==22710== Releasing lock...
[2025-01-06 20:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:05:03] Production.INFO: ==22712== Lock acquired, processing the job...
[2025-01-07 01:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:05:03] Production.INFO: ==22712== Releasing lock...
[2025-01-07 01:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:05:03] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:05:03] Production.INFO: ==22722== Lock acquired, processing the job...
[2025-01-06 20:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:05:03] Production.INFO: ==22724== Lock acquired, processing the job...
[2025-01-06 20:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:05:03] Production.INFO: ==22714== Lock acquired, processing the job...
[2025-01-06 20:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:05:03] Production.INFO: ==22716== Lock acquired, processing the job...
[2025-01-06 20:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:05:03] Production.INFO: ==22720== Lock acquired, processing the job...
[2025-01-06 20:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:05:03] Production.INFO: ==22718== Lock acquired, processing the job...
[2025-01-06 20:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 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-06 20:05:04] Production.INFO: count ==21
[2025-01-06 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-06 20:05:04] Production.INFO: count ==21
[2025-01-06 20:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189881') start
[2025-01-06 20:05:04] Production.INFO: Account Balance Start.
[2025-01-06 20:05:04] Production.INFO: CreateAllLog Start
[2025-01-06 20:05:04] Production.INFO: 117
[2025-01-06 20:05:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:05:04] Production.INFO: Date 2024-12-08
[2025-01-06 20:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189881') end
[2025-01-06 20:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:05:04] Production.INFO: 1
[2025-01-06 20:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:05:04] Production.INFO: Date 2024-12-09
[2025-01-06 20:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:05:04] Production.INFO: Date 2024-12-10
[2025-01-06 20:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:05:04] Production.INFO: Date 2024-12-11
[2025-01-06 20:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:05:04] Production.ERROR: done
[2025-01-06 20:05:04] Production.INFO: ==22724== Releasing lock...
[2025-01-06 20:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:05:04] Production.INFO: Date 2024-12-12
[2025-01-06 20:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:05:04] Production.INFO: Date 2024-12-13
[2025-01-06 20:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:05:04] Production.INFO: Date 2024-12-14
[2025-01-06 20:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:05:04] Production.INFO: Date 2024-12-15
[2025-01-06 20:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:05:04] Production.INFO: Date 2024-12-16
[2025-01-06 20:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:05:04] Production.INFO: Date 2024-12-17
[2025-01-06 20:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:05:04] Production.ERROR: done
[2025-01-06 20:05:04] Production.INFO: ==22716== Releasing lock...
[2025-01-06 20:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:05:04] Production.INFO: Date 2024-12-18
[2025-01-06 20:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:05:04] Production.INFO: Date 2024-12-19
[2025-01-06 20:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:05:04] Production.INFO: Date 2024-12-20
[2025-01-06 20:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:05:04] Production.INFO: Date 2024-12-21
[2025-01-06 20:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:05:04] Production.INFO: Date 2024-12-22
[2025-01-06 20:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:05:04] Production.INFO: Date 2024-12-23
[2025-01-06 20:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:05:04] Production.INFO: Date 2024-12-24
[2025-01-06 20:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:05:04] Production.INFO: Date 2024-12-25
[2025-01-06 20:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:05:04] Production.INFO: Date 2024-12-26
[2025-01-06 20:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:05:04] Production.INFO: Date 2024-12-27
[2025-01-06 20:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:05:05] Production.INFO: Date 2024-12-28
[2025-01-06 20:05:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:05:05] Production.INFO: Date 2024-12-29
[2025-01-06 20:05:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:05:05] Production.INFO: Date 2024-12-30
[2025-01-06 20:05:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:05:05
[end_date_ymd] => 2025-01-06 20:05:05
[RateCDR] => 1
)
[2025-01-06 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-06 17:05:05' and `end` < '2025-01-06 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-06 20:05:05] Production.INFO: Date 2024-12-31
[2025-01-06 20:05:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:05:05] Production.INFO: Date 2025-01-01
[2025-01-06 20:05:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:05:05] Production.INFO: Date 2025-01-02
[2025-01-06 20:05:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:05:05] Production.INFO: Date 2025-01-03
[2025-01-06 20:05:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:05:05] Production.INFO: Date 2025-01-04
[2025-01-06 20:05:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:05:05] Production.INFO: Date 2025-01-05
[2025-01-06 20:05:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:05:05] Production.INFO: Date 2025-01-06
[2025-01-06 20:05:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:05:05] Production.INFO: Total Charge 0
[2025-01-06 20:05:05] Production.INFO: CreateAllLog End
[2025-01-06 20:05:05] Production.INFO: Account Balance End.
[2025-01-06 20:05:05] Production.ERROR: CronJobId end 12
[2025-01-06 20:05:05] Production.INFO: ==22720== Releasing lock...
[2025-01-06 20:05:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:05:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:05:11] Production.ERROR: CronJobId end10
[2025-01-06 20:05:11] Production.INFO: ==22718== Releasing lock...
[2025-01-06 20:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:05:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:05:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:05:13] Production.INFO: call_cost start
[2025-01-06 20:05:13] Production.INFO: call_cost end
[2025-01-06 20:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:05:14] Production.INFO: ==22714== Releasing lock...
[2025-01-06 20:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:05:18] Production.INFO: count ==1740
[2025-01-06 20:05:18] Production.ERROR: pbx CDR StartTime 2025-01-06 17:05:05 - End Time 2025-01-06 20:05:05
[2025-01-06 20:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189885', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189885', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189885', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189885', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:05:18] Production.INFO: ProcessCDR(1,14189885,1,1,2)
[2025-01-06 20:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189885,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:05:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189885,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:05:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189885,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:05:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189885,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189885', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189885', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:05:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:05:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:05:23] Production.INFO: ==22722== Releasing lock...
[2025-01-06 20:05:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:05:23] Production.INFO: 40.75 MB #Memory Used#
[2025-01-07 01:06:01] Production.INFO: ==22791== Lock acquired, processing the job...
[2025-01-07 01:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:06:01] Production.INFO: neon service started
[2025-01-07 01:06:01] Production.INFO: neon service started
[2025-01-07 01:06:01] Production.INFO: ==22791== Releasing lock...
[2025-01-07 01:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:06:02] Production.INFO: ==22793== Lock acquired, processing the job...
[2025-01-06 20:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 20:06:02] Production.INFO: ==22793== Releasing lock...
[2025-01-06 20:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:06:02] Production.INFO: ==22795== Lock acquired, processing the job...
[2025-01-07 01:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:06:02] Production.INFO: ==22795== Releasing lock...
[2025-01-07 01:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:06:03] Production.INFO: ==22804== Lock acquired, processing the job...
[2025-01-06 20:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:06:03] Production.INFO: Account Balance Start.
[2025-01-06 20:06:03] Production.INFO: CreateAllLog Start
[2025-01-06 20:06:03] Production.INFO: 117
[2025-01-06 20:06:03] Production.INFO: Date 2024-12-08
[2025-01-06 20:06:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:06:03] Production.INFO: Date 2024-12-09
[2025-01-06 20:06:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:06:03] Production.INFO: Date 2024-12-10
[2025-01-06 20:06:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:06:03] Production.INFO: Date 2024-12-11
[2025-01-06 20:06:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:06:03] Production.INFO: Date 2024-12-12
[2025-01-06 20:06:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:06:03] Production.INFO: Date 2024-12-13
[2025-01-06 20:06:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:06:03] Production.INFO: ==22797== Lock acquired, processing the job...
[2025-01-06 20:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:06:03] Production.INFO: ==22799== Lock acquired, processing the job...
[2025-01-06 20:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:06:03] Production.INFO: ==22802== Lock acquired, processing the job...
[2025-01-06 20:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:06:03] Production.INFO: ==22808== Lock acquired, processing the job...
[2025-01-06 20:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:06:03] Production.INFO: Date 2024-12-14
[2025-01-06 20:06:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:06:03] Production.INFO: Date 2024-12-15
[2025-01-06 20:06:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:06:03] Production.INFO: ==22806== Lock acquired, processing the job...
[2025-01-06 20:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:06:03] Production.INFO: Date 2024-12-16
[2025-01-06 20:06:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:06:03] Production.INFO: Date 2024-12-17
[2025-01-06 20:06:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:06:03] Production.INFO: Date 2024-12-18
[2025-01-06 20:06:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:06:03] Production.INFO: Date 2024-12-19
[2025-01-06 20:06:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:06:03] Production.INFO: count ==21
[2025-01-06 20:06:03] Production.INFO: Date 2024-12-20
[2025-01-06 20:06:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:06:03] Production.INFO: count ==21
[2025-01-06 20:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189888') start
[2025-01-06 20:06:03] Production.INFO: Date 2024-12-21
[2025-01-06 20:06:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189888') end
[2025-01-06 20:06:03] Production.INFO: Date 2024-12-22
[2025-01-06 20:06:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:06:03] Production.INFO: 1
[2025-01-06 20:06:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:06:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:06:03] Production.INFO: ==22799== Releasing lock...
[2025-01-06 20:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:06:04] Production.INFO: Date 2024-12-23
[2025-01-06 20:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:06:04] Production.ERROR: done
[2025-01-06 20:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:06:04] Production.INFO: ==22808== Releasing lock...
[2025-01-06 20:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:06:04] Production.INFO: Date 2024-12-24
[2025-01-06 20:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:06:04] Production.INFO: Date 2024-12-25
[2025-01-06 20:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:06:04] Production.INFO: Date 2024-12-26
[2025-01-06 20:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:06:04] Production.ERROR: done
[2025-01-06 20:06:04] Production.INFO: Date 2024-12-27
[2025-01-06 20:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:06:04] Production.INFO: Date 2024-12-28
[2025-01-06 20:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:06:04] Production.INFO: Date 2024-12-29
[2025-01-06 20:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:06:04] Production.INFO: Date 2024-12-30
[2025-01-06 20:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:06:04] Production.INFO: Date 2024-12-31
[2025-01-06 20:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:06:04] Production.INFO: Date 2025-01-01
[2025-01-06 20:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:06:04] Production.INFO: Date 2025-01-02
[2025-01-06 20:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:06:04] Production.INFO: Date 2025-01-03
[2025-01-06 20:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:06:04] Production.INFO: Date 2025-01-04
[2025-01-06 20:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:06:04] Production.INFO: Date 2025-01-05
[2025-01-06 20:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:06:04] Production.INFO: Date 2025-01-06
[2025-01-06 20:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:06:04] Production.INFO: Total Charge 0
[2025-01-06 20:06:04] Production.INFO: CreateAllLog End
[2025-01-06 20:06:04] Production.INFO: Account Balance End.
[2025-01-06 20:06:04] Production.ERROR: CronJobId end 12
[2025-01-06 20:06:04] Production.INFO: ==22804== Releasing lock...
[2025-01-06 20:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:06:05
[end_date_ymd] => 2025-01-06 20:06:05
[RateCDR] => 1
)
[2025-01-06 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-06 17:06:05' and `end` < '2025-01-06 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-06 20:06:11] Production.ERROR: CronJobId end10
[2025-01-06 20:06:11] Production.INFO: ==22802== Releasing lock...
[2025-01-06 20:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:06:13] Production.INFO: call_cost start
[2025-01-06 20:06:13] Production.INFO: call_cost end
[2025-01-06 20:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:06:14] Production.INFO: ==22797== Releasing lock...
[2025-01-06 20:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:06:18] Production.INFO: count ==1725
[2025-01-06 20:06:18] Production.ERROR: pbx CDR StartTime 2025-01-06 17:06:05 - End Time 2025-01-06 20:06:05
[2025-01-06 20:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189890', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189890', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189890', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189890', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:06:18] Production.INFO: ProcessCDR(1,14189890,1,1,2)
[2025-01-06 20:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189890,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189890,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189890,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189890,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189890', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189890', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:06:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:06:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:06:21] Production.INFO: ==22806== Releasing lock...
[2025-01-06 20:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:06:21] Production.INFO: 40.75 MB #Memory Used#
[2025-01-07 01:07:02] Production.INFO: ==22875== Lock acquired, processing the job...
[2025-01-07 01:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:07:02] Production.INFO: neon service started
[2025-01-07 01:07:02] Production.INFO: neon service started
[2025-01-07 01:07:02] Production.INFO: ==22875== Releasing lock...
[2025-01-07 01:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:07:02] Production.INFO: ==22878== Lock acquired, processing the job...
[2025-01-06 20:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 20:07:02] Production.INFO: ==22878== Releasing lock...
[2025-01-06 20:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:07:02] Production.INFO: ==22880== Lock acquired, processing the job...
[2025-01-07 01:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:07:02] Production.INFO: ==22880== Releasing lock...
[2025-01-07 01:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:07:03] Production.INFO: ==22882== Lock acquired, processing the job...
[2025-01-06 20:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:07:03] Production.INFO: ==22886== Lock acquired, processing the job...
[2025-01-06 20:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:07:03] Production.INFO: ==22884== Lock acquired, processing the job...
[2025-01-06 20:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:07:03] Production.INFO: ==22890== Lock acquired, processing the job...
[2025-01-06 20:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:07:03] Production.INFO: ==22888== Lock acquired, processing the job...
[2025-01-06 20:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:07:03] Production.INFO: Account Balance Start.
[2025-01-06 20:07:03] Production.INFO: CreateAllLog Start
[2025-01-06 20:07:03] Production.INFO: 117
[2025-01-06 20:07:03] Production.INFO: Date 2024-12-08
[2025-01-06 20:07:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:07:03] Production.INFO: ==22893== Lock acquired, processing the job...
[2025-01-06 20:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:07:03] Production.INFO: Date 2024-12-09
[2025-01-06 20:07:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:07:04] Production.INFO: Date 2024-12-10
[2025-01-06 20:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:07:04] Production.INFO: Date 2024-12-11
[2025-01-06 20:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:07:04] Production.INFO: Date 2024-12-12
[2025-01-06 20:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:07:04] Production.INFO: ==22884== Releasing lock...
[2025-01-06 20:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:07:04] Production.ERROR: done
[2025-01-06 20:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:07:04] Production.INFO: Date 2024-12-13
[2025-01-06 20:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 20:07:04] Production.INFO: Date 2024-12-14
[2025-01-06 20:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:07:04] Production.INFO: count ==21
[2025-01-06 20:07:04] Production.INFO: Date 2024-12-15
[2025-01-06 20:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 20:07:04] Production.INFO: count ==21
[2025-01-06 20:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189894') start
[2025-01-06 20:07:04] Production.ERROR: done
[2025-01-06 20:07:04] Production.INFO: Date 2024-12-16
[2025-01-06 20:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:07:04] Production.INFO: Date 2024-12-17
[2025-01-06 20:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189894') end
[2025-01-06 20:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:07:04] Production.INFO: 1
[2025-01-06 20:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:07:04] Production.INFO: Date 2024-12-18
[2025-01-06 20:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:07:04] Production.INFO: Date 2024-12-19
[2025-01-06 20:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:07:04] Production.INFO: ==22893== Releasing lock...
[2025-01-06 20:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:07:04] Production.INFO: Date 2024-12-20
[2025-01-06 20:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:07:04] Production.INFO: Date 2024-12-21
[2025-01-06 20:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:07:04] Production.INFO: Date 2024-12-22
[2025-01-06 20:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:07:04] Production.INFO: Date 2024-12-23
[2025-01-06 20:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:07:04] Production.INFO: Date 2024-12-24
[2025-01-06 20:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:07:04] Production.INFO: Date 2024-12-25
[2025-01-06 20:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:07:04] Production.INFO: Date 2024-12-26
[2025-01-06 20:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:07:04] Production.INFO: Date 2024-12-27
[2025-01-06 20:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:07:04] Production.INFO: Date 2024-12-28
[2025-01-06 20:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:07:04] Production.INFO: Date 2024-12-29
[2025-01-06 20:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:07:04] Production.INFO: Date 2024-12-30
[2025-01-06 20:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:07:04] Production.INFO: Date 2024-12-31
[2025-01-06 20:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:07:05] Production.INFO: Date 2025-01-01
[2025-01-06 20:07:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:07:05] Production.INFO: Date 2025-01-02
[2025-01-06 20:07:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:07:05] Production.INFO: Date 2025-01-03
[2025-01-06 20:07:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:07:05] Production.INFO: Date 2025-01-04
[2025-01-06 20:07:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:07:05] Production.INFO: Date 2025-01-05
[2025-01-06 20:07:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:07:05] Production.INFO: Date 2025-01-06
[2025-01-06 20:07:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:07:05] Production.INFO: Total Charge 0
[2025-01-06 20:07:05] Production.INFO: CreateAllLog End
[2025-01-06 20:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:07:05
[end_date_ymd] => 2025-01-06 20:07:05
[RateCDR] => 1
)
[2025-01-06 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-06 17:07:05' and `end` < '2025-01-06 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-06 20:07:05] Production.INFO: Account Balance End.
[2025-01-06 20:07:05] Production.ERROR: CronJobId end 12
[2025-01-06 20:07:05] Production.INFO: ==22888== Releasing lock...
[2025-01-06 20:07:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:07:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:07:12] Production.ERROR: CronJobId end10
[2025-01-06 20:07:12] Production.INFO: ==22886== Releasing lock...
[2025-01-06 20:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:07:14] Production.INFO: call_cost start
[2025-01-06 20:07:14] Production.INFO: call_cost end
[2025-01-06 20:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:07:14] Production.INFO: ==22882== Releasing lock...
[2025-01-06 20:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:07:18] Production.INFO: count ==1723
[2025-01-06 20:07:18] Production.ERROR: pbx CDR StartTime 2025-01-06 17:07:05 - End Time 2025-01-06 20:07:05
[2025-01-06 20:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189895', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189895', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189895', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189895', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:07:18] Production.INFO: ProcessCDR(1,14189895,1,1,2)
[2025-01-06 20:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189895,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189895,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189895,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189895,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189895', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189895', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:07:21] Production.INFO: ==22890== Releasing lock...
[2025-01-06 20:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:07:21] Production.INFO: 41 MB #Memory Used#
[2025-01-07 01:08:01] Production.INFO: ==22960== Lock acquired, processing the job...
[2025-01-07 01:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:08:01] Production.INFO: neon service started
[2025-01-07 01:08:01] Production.INFO: neon service started
[2025-01-07 01:08:01] Production.INFO: ==22960== Releasing lock...
[2025-01-07 01:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:08:01] Production.INFO: ==22966== Lock acquired, processing the job...
[2025-01-07 01:08:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:08:02] Production.INFO: ==22966== Releasing lock...
[2025-01-07 01:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:08:02] Production.INFO: ==22964== Lock acquired, processing the job...
[2025-01-06 20:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 20:08:02] Production.INFO: ==22964== Releasing lock...
[2025-01-06 20:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 20:08:03] Production.INFO: ==22969== Lock acquired, processing the job...
[2025-01-06 20:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:08:03] Production.INFO: ==22971== Lock acquired, processing the job...
[2025-01-06 20:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:08:03] Production.INFO: ==22977== Lock acquired, processing the job...
[2025-01-06 20:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:08:03] Production.INFO: ==22975== Lock acquired, processing the job...
[2025-01-06 20:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:08:03] Production.INFO: ==22971== Releasing lock...
[2025-01-06 20:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:08:03] Production.INFO: ==22973== Lock acquired, processing the job...
[2025-01-06 20:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:08:03] Production.INFO: ==22979== Lock acquired, processing the job...
[2025-01-06 20:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:08:03] Production.INFO: Account Balance Start.
[2025-01-06 20:08:03] Production.INFO: CreateAllLog Start
[2025-01-06 20:08:03] Production.INFO: 117
[2025-01-06 20:08:03] Production.INFO: Date 2024-12-08
[2025-01-06 20:08:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:08:03] Production.ERROR: done
[2025-01-06 20:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:08:03] Production.INFO: Date 2024-12-09
[2025-01-06 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-06 20:08:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:08:03] Production.INFO: Date 2024-12-10
[2025-01-06 20:08:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:08:03] Production.INFO: count ==21
[2025-01-06 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-06 20:08:03] Production.INFO: count ==21
[2025-01-06 20:08:03] Production.ERROR: done
[2025-01-06 20:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189899') start
[2025-01-06 20:08:03] Production.INFO: Date 2024-12-11
[2025-01-06 20:08:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:08:04] Production.INFO: Date 2024-12-12
[2025-01-06 20:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:08:04] Production.INFO: Date 2024-12-13
[2025-01-06 20:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189899') end
[2025-01-06 20:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:08:04] Production.INFO: 1
[2025-01-06 20:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:08:04] Production.INFO: ==22979== Releasing lock...
[2025-01-06 20:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:08:04] Production.INFO: Date 2024-12-14
[2025-01-06 20:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:08:04] Production.INFO: Date 2024-12-15
[2025-01-06 20:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:08:04] Production.INFO: Date 2024-12-16
[2025-01-06 20:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:08:04] Production.INFO: Date 2024-12-17
[2025-01-06 20:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:08:04] Production.INFO: Date 2024-12-18
[2025-01-06 20:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:08:04] Production.INFO: Date 2024-12-19
[2025-01-06 20:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:08:04] Production.INFO: Date 2024-12-20
[2025-01-06 20:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:08:04] Production.INFO: Date 2024-12-21
[2025-01-06 20:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:08:04] Production.INFO: Date 2024-12-22
[2025-01-06 20:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:08:04] Production.INFO: Date 2024-12-23
[2025-01-06 20:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:08:04] Production.INFO: Date 2024-12-24
[2025-01-06 20:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:08:04] Production.INFO: Date 2024-12-25
[2025-01-06 20:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:08:04] Production.INFO: Date 2024-12-26
[2025-01-06 20:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:08:04] Production.INFO: Date 2024-12-27
[2025-01-06 20:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:08:05] Production.INFO: Date 2024-12-28
[2025-01-06 20:08:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:08:05] Production.INFO: Date 2024-12-29
[2025-01-06 20:08:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:08:05] Production.INFO: Date 2024-12-30
[2025-01-06 20:08:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:08:05
[end_date_ymd] => 2025-01-06 20:08:05
[RateCDR] => 1
)
[2025-01-06 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-06 17:08:05' and `end` < '2025-01-06 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-06 20:08:05] Production.INFO: Date 2024-12-31
[2025-01-06 20:08:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:08:05] Production.INFO: Date 2025-01-01
[2025-01-06 20:08:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:08:05] Production.INFO: Date 2025-01-02
[2025-01-06 20:08:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:08:05] Production.INFO: Date 2025-01-03
[2025-01-06 20:08:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:08:05] Production.INFO: Date 2025-01-04
[2025-01-06 20:08:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:08:05] Production.INFO: Date 2025-01-05
[2025-01-06 20:08:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:08:05] Production.INFO: Date 2025-01-06
[2025-01-06 20:08:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:08:05] Production.INFO: Total Charge 0
[2025-01-06 20:08:05] Production.INFO: CreateAllLog End
[2025-01-06 20:08:05] Production.INFO: Account Balance End.
[2025-01-06 20:08:05] Production.ERROR: CronJobId end 12
[2025-01-06 20:08:05] Production.INFO: ==22975== Releasing lock...
[2025-01-06 20:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:08:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:08:12] Production.ERROR: CronJobId end10
[2025-01-06 20:08:12] Production.INFO: ==22973== Releasing lock...
[2025-01-06 20:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:08:14] Production.INFO: call_cost start
[2025-01-06 20:08:14] Production.INFO: call_cost end
[2025-01-06 20:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:08:14] Production.INFO: ==22969== Releasing lock...
[2025-01-06 20:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:08:18] Production.INFO: count ==1718
[2025-01-06 20:08:18] Production.ERROR: pbx CDR StartTime 2025-01-06 17:08:05 - End Time 2025-01-06 20:08:05
[2025-01-06 20:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189900', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189900', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189900', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189900', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:08:18] Production.INFO: ProcessCDR(1,14189900,1,1,2)
[2025-01-06 20:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189900,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189900,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189900,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189900,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189900', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189900', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:08:21] Production.INFO: ==22977== Releasing lock...
[2025-01-06 20:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:08:21] Production.INFO: 41 MB #Memory Used#
[2025-01-07 01:09:02] Production.INFO: ==23049== Lock acquired, processing the job...
[2025-01-07 01:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:09:02] Production.INFO: neon service started
[2025-01-07 01:09:02] Production.INFO: neon service started
[2025-01-07 01:09:02] Production.INFO: ==23049== Releasing lock...
[2025-01-07 01:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:09:02] Production.INFO: ==23051== Lock acquired, processing the job...
[2025-01-06 20:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:09:02] Production.INFO: ==23053== Lock acquired, processing the job...
[2025-01-07 01:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:09:02] Production.INFO: ==23053== Releasing lock...
[2025-01-07 01:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:09:03] Production.INFO: ==23051== Releasing lock...
[2025-01-06 20:09:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:09:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 20:09:03] Production.INFO: ==23061== Lock acquired, processing the job...
[2025-01-06 20:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:09:03] Production.INFO: ==23067== Lock acquired, processing the job...
[2025-01-06 20:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:09:04] Production.INFO: ==23057== Lock acquired, processing the job...
[2025-01-06 20:09:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:09:04] Production.INFO: count ==21
[2025-01-06 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-06 20:09:04] Production.INFO: ==23059== Lock acquired, processing the job...
[2025-01-06 20:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:09:04] Production.INFO: count ==21
[2025-01-06 20:09:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:09:04] Production.INFO: ==23063== Lock acquired, processing the job...
[2025-01-06 20:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:09:04] Production.INFO: ==23065== Lock acquired, processing the job...
[2025-01-06 20:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189901') start
[2025-01-06 20:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189901') end
[2025-01-06 20:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:09:04] Production.INFO: 1
[2025-01-06 20:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:09:04] Production.INFO: Account Balance Start.
[2025-01-06 20:09:04] Production.INFO: CreateAllLog Start
[2025-01-06 20:09:04] Production.INFO: 117
[2025-01-06 20:09:04] Production.INFO: ==23067== Releasing lock...
[2025-01-06 20:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:09:04] Production.INFO: Date 2024-12-08
[2025-01-06 20:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:09:04] Production.INFO: Date 2024-12-09
[2025-01-06 20:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:09:04] Production.INFO: Date 2024-12-10
[2025-01-06 20:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:09:04] Production.INFO: ==23059== Releasing lock...
[2025-01-06 20:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:09:04] Production.INFO: Date 2024-12-11
[2025-01-06 20:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:09:04] Production.ERROR: done
[2025-01-06 20:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:09:04] Production.INFO: Date 2024-12-12
[2025-01-06 20:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:09:04] Production.INFO: Date 2024-12-13
[2025-01-06 20:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:09:04] Production.INFO: Date 2024-12-14
[2025-01-06 20:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:09:04] Production.INFO: Date 2024-12-15
[2025-01-06 20:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:09:04] Production.ERROR: done
[2025-01-06 20:09:04] Production.INFO: Date 2024-12-16
[2025-01-06 20:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:09:05] Production.INFO: Date 2024-12-17
[2025-01-06 20:09:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:09:05] Production.INFO: Date 2024-12-18
[2025-01-06 20:09:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:09:05] Production.INFO: Date 2024-12-19
[2025-01-06 20:09:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:09:05] Production.INFO: Date 2024-12-20
[2025-01-06 20:09:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:09:05] Production.INFO: Date 2024-12-21
[2025-01-06 20:09:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:09:05] Production.INFO: Date 2024-12-22
[2025-01-06 20:09:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:09:05] Production.INFO: Date 2024-12-23
[2025-01-06 20:09:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:09:05] Production.INFO: Date 2024-12-24
[2025-01-06 20:09:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:09:05] Production.INFO: Date 2024-12-25
[2025-01-06 20:09:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:09:05] Production.INFO: Date 2024-12-26
[2025-01-06 20:09:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:09:05] Production.INFO: Date 2024-12-27
[2025-01-06 20:09:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:09:05] Production.INFO: Date 2024-12-28
[2025-01-06 20:09:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:09:05] Production.INFO: Date 2024-12-29
[2025-01-06 20:09:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:09:05] Production.INFO: Date 2024-12-30
[2025-01-06 20:09:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:09:05] Production.INFO: Date 2024-12-31
[2025-01-06 20:09:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:09:05] Production.INFO: Date 2025-01-01
[2025-01-06 20:09:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:09:05] Production.INFO: Date 2025-01-02
[2025-01-06 20:09:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:09:05] Production.INFO: Date 2025-01-03
[2025-01-06 20:09:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:09:05] Production.INFO: Date 2025-01-04
[2025-01-06 20:09:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:09:05] Production.INFO: Date 2025-01-05
[2025-01-06 20:09:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:09:05] Production.INFO: Date 2025-01-06
[2025-01-06 20:09:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:09:05] Production.INFO: Total Charge 0
[2025-01-06 20:09:05] Production.INFO: CreateAllLog End
[2025-01-06 20:09:05] Production.INFO: Account Balance End.
[2025-01-06 20:09:05] Production.ERROR: CronJobId end 12
[2025-01-06 20:09:05] Production.INFO: ==23063== Releasing lock...
[2025-01-06 20:09:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:09:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:09:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:09:06
[end_date_ymd] => 2025-01-06 20:09:06
[RateCDR] => 1
)
[2025-01-06 20:09:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 17:09:06' and `end` < '2025-01-06 20:09:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 20:09:12] Production.ERROR: CronJobId end10
[2025-01-06 20:09:12] Production.INFO: ==23061== Releasing lock...
[2025-01-06 20:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:09:13] Production.INFO: call_cost start
[2025-01-06 20:09:13] Production.INFO: call_cost end
[2025-01-06 20:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:09:14] Production.INFO: ==23057== Releasing lock...
[2025-01-06 20:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:09:19] Production.INFO: count ==1713
[2025-01-06 20:09:19] Production.ERROR: pbx CDR StartTime 2025-01-06 17:09:06 - End Time 2025-01-06 20:09:06
[2025-01-06 20:09:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189905', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189905', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189905', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189905', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:09:19] Production.INFO: ProcessCDR(1,14189905,1,1,2)
[2025-01-06 20:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189905,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189905,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189905,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189905,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189905', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189905', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:09:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:09:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:09:22] Production.INFO: ==23065== Releasing lock...
[2025-01-06 20:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:09:22] Production.INFO: 41.5 MB #Memory Used#
[2025-01-07 01:10:01] Production.INFO: ==23139== Lock acquired, processing the job...
[2025-01-07 01:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:10:01] Production.INFO: neon service started
[2025-01-07 01:10:01] Production.INFO: neon service started
[2025-01-07 01:10:01] Production.INFO: ==23139== Releasing lock...
[2025-01-07 01:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:10:01] Production.INFO: ==23141== Lock acquired, processing the job...
[2025-01-06 20:10:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:10:02] Production.INFO: ==23143== Lock acquired, processing the job...
[2025-01-07 01:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-06 20:10:02] Production.INFO: ==23141== Releasing lock...
[2025-01-06 20:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:10:02] Production.INFO: ==23143== Releasing lock...
[2025-01-07 01:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:10:03] Production.INFO: ==23146== Lock acquired, processing the job...
[2025-01-06 20:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-06 20:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-06 20:10:03] Production.INFO: ==23148== Lock acquired, processing the job...
[2025-01-06 20:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-06 20:10:03] Production.INFO: ==23146== Releasing lock...
[2025-01-06 20:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-06 20:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-06 20:10:03] Production.INFO: ==23150== Lock acquired, processing the job...
[2025-01-06 20:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:10:03] Production.INFO: ==23156== Lock acquired, processing the job...
[2025-01-06 20:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:10:03] Production.INFO: ==23152== Lock acquired, processing the job...
[2025-01-06 20:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:10:03] Production.INFO: ==23158== Lock acquired, processing the job...
[2025-01-06 20:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-06 20:10:03] Production.INFO: ==23154== Lock acquired, processing the job...
[2025-01-06 20:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:10:03] Production.INFO: ==23160== Lock acquired, processing the job...
[2025-01-06 20:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:10:03] Production.INFO: ==23150== Releasing lock...
[2025-01-06 20:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:10:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:10:03] Production.ERROR: done
[2025-01-06 20:10:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:10:03] Production.INFO: Account Balance Start.
[2025-01-06 20:10:03] Production.INFO: CreateAllLog Start
[2025-01-06 20:10:03] Production.INFO: 117
[2025-01-06 20:10:03] Production.INFO: Date 2024-12-08
[2025-01-06 20:10:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:10:03] Production.INFO: Date 2024-12-09
[2025-01-06 20:10:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:10:03] Production.ERROR: done
[2025-01-06 20:10:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:10:03] Production.INFO: count ==21
[2025-01-06 20:10:03] Production.INFO: Date 2024-12-10
[2025-01-06 20:10:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:10:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:10:03] Production.INFO: count ==21
[2025-01-06 20:10:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189909') start
[2025-01-06 20:10:04] Production.INFO: Date 2024-12-11
[2025-01-06 20:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:10:04] Production.INFO: Date 2024-12-12
[2025-01-06 20:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189909') end
[2025-01-06 20:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:10:04] Production.INFO: 1
[2025-01-06 20:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:10:04] Production.INFO: Date 2024-12-13
[2025-01-06 20:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:10:04] Production.ERROR: done
[2025-01-06 20:10:04] Production.INFO: Date 2024-12-14
[2025-01-06 20:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:10:04] Production.INFO: ==23160== Releasing lock...
[2025-01-06 20:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-06 20:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14189911', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) start
[2025-01-06 20:10:04] Production.INFO: Date 2024-12-15
[2025-01-06 20:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:10:04] Production.INFO: Date 2024-12-16
[2025-01-06 20:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:10:04] Production.INFO: Date 2024-12-17
[2025-01-06 20:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:10:04] Production.INFO: Date 2024-12-18
[2025-01-06 20:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:10:04] Production.INFO: Date 2024-12-19
[2025-01-06 20:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:10:04] Production.INFO: Date 2024-12-20
[2025-01-06 20:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:10:04] Production.INFO: Date 2024-12-21
[2025-01-06 20:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:10:04] Production.INFO: Date 2024-12-22
[2025-01-06 20:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:10:04] Production.INFO: Date 2024-12-23
[2025-01-06 20:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:10:04] Production.INFO: Date 2024-12-24
[2025-01-06 20:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:10:04] Production.INFO: Date 2024-12-25
[2025-01-06 20:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:10:04] Production.INFO: Date 2024-12-26
[2025-01-06 20:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:10:04] Production.INFO: Date 2024-12-27
[2025-01-06 20:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:10:04] Production.INFO: Date 2024-12-28
[2025-01-06 20:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:10:04] Production.INFO: Date 2024-12-29
[2025-01-06 20:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:10:04] Production.INFO: Date 2024-12-30
[2025-01-06 20:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:10:04] Production.INFO: Date 2024-12-31
[2025-01-06 20:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:10:04] Production.INFO: Date 2025-01-01
[2025-01-06 20:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:10:04] Production.INFO: Date 2025-01-02
[2025-01-06 20:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:10:04] Production.INFO: Date 2025-01-03
[2025-01-06 20:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:10:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:10:04
[end_date_ymd] => 2025-01-06 20:10:04
[RateCDR] => 1
)
[2025-01-06 20:10:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 17:10:04' and `end` < '2025-01-06 20:10:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 20:10:04] Production.INFO: Date 2025-01-04
[2025-01-06 20:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:10:05] Production.INFO: Date 2025-01-05
[2025-01-06 20:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:10:05] Production.INFO: Date 2025-01-06
[2025-01-06 20:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:10:05] Production.INFO: Total Charge 0
[2025-01-06 20:10:05] Production.INFO: CreateAllLog End
[2025-01-06 20:10:05] Production.INFO: Account Balance End.
[2025-01-06 20:10:05] Production.ERROR: CronJobId end 12
[2025-01-06 20:10:05] Production.INFO: ==23154== Releasing lock...
[2025-01-06 20:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:10:07] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14189911', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) end
[2025-01-06 20:10:07] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-06 20:10:07] Production.INFO: ProcessCDR(1,14189911,1,1,2)
[2025-01-06 20:10:07] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14189911,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14189911,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:10:08] Production.INFO: ==23158== Releasing lock...
[2025-01-06 20:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-06 20:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-06 20:10:14] Production.ERROR: CronJobId end10
[2025-01-06 20:10:14] Production.INFO: ==23152== Releasing lock...
[2025-01-06 20:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:10:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:10:15] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:10:15] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:10:15] Production.INFO: call_cost start
[2025-01-06 20:10:15] Production.INFO: call_cost end
[2025-01-06 20:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:10:16] Production.INFO: ==23148== Releasing lock...
[2025-01-06 20:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:10:18] Production.INFO: count ==1702
[2025-01-06 20:10:18] Production.ERROR: pbx CDR StartTime 2025-01-06 17:10:04 - End Time 2025-01-06 20:10:04
[2025-01-06 20:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189910', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189910', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189910', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189910', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:10:18] Production.INFO: ProcessCDR(1,14189910,1,1,2)
[2025-01-06 20:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189910,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189910,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189910,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:10:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189910,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189910', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189910', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:10:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:10:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:10:21] Production.INFO: ==23156== Releasing lock...
[2025-01-06 20:10:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:10:21] Production.INFO: 41 MB #Memory Used#
[2025-01-07 01:11:01] Production.INFO: ==23263== Lock acquired, processing the job...
[2025-01-07 01:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:11:01] Production.INFO: neon service started
[2025-01-07 01:11:01] Production.INFO: neon service started
[2025-01-07 01:11:01] Production.INFO: ==23263== Releasing lock...
[2025-01-07 01:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:11:02] Production.INFO: ==23265== Lock acquired, processing the job...
[2025-01-06 20:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 20:11:02] Production.INFO: ==23265== Releasing lock...
[2025-01-06 20:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:11:02] Production.INFO: ==23267== Lock acquired, processing the job...
[2025-01-07 01:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:11:02] Production.INFO: ==23267== Releasing lock...
[2025-01-07 01:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:11:03] Production.INFO: ==23270== Lock acquired, processing the job...
[2025-01-06 20:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:11:03] Production.INFO: ==23272== Lock acquired, processing the job...
[2025-01-06 20:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:11:03] Production.INFO: ==23280== Lock acquired, processing the job...
[2025-01-06 20:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:11:03] Production.INFO: ==23274== Lock acquired, processing the job...
[2025-01-06 20:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 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-06 20:11:03] Production.INFO: count ==21
[2025-01-06 20:11:03] Production.INFO: ==23276== Lock acquired, processing the job...
[2025-01-06 20:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:11:03] Production.INFO: ==23278== Lock acquired, processing the job...
[2025-01-06 20:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 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-06 20:11:03] Production.INFO: ==23272== Releasing lock...
[2025-01-06 20:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:11:03] Production.INFO: count ==21
[2025-01-06 20:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189913') start
[2025-01-06 20:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:11:03] Production.INFO: Account Balance Start.
[2025-01-06 20:11:03] Production.INFO: CreateAllLog Start
[2025-01-06 20:11:03] Production.INFO: 117
[2025-01-06 20:11:03] Production.INFO: Date 2024-12-08
[2025-01-06 20:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189913') end
[2025-01-06 20:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:11:03] Production.INFO: 1
[2025-01-06 20:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:11:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:11:03] Production.INFO: ==23280== Releasing lock...
[2025-01-06 20:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:11:03] Production.INFO: Date 2024-12-09
[2025-01-06 20:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:11:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:11:04] Production.INFO: Date 2024-12-10
[2025-01-06 20:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:11:04] Production.INFO: Date 2024-12-11
[2025-01-06 20:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:11:04] Production.INFO: Date 2024-12-12
[2025-01-06 20:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:11:04] Production.ERROR: done
[2025-01-06 20:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:11:04] Production.INFO: Date 2024-12-13
[2025-01-06 20:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:11:04] Production.INFO: Date 2024-12-14
[2025-01-06 20:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:11:04] Production.INFO: Date 2024-12-15
[2025-01-06 20:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:11:04] Production.INFO: Date 2024-12-16
[2025-01-06 20:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:11:04] Production.ERROR: done
[2025-01-06 20:11:04] Production.INFO: Date 2024-12-17
[2025-01-06 20:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:11:04] Production.INFO: Date 2024-12-18
[2025-01-06 20:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:11:04] Production.INFO: Date 2024-12-19
[2025-01-06 20:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:11:04] Production.INFO: Date 2024-12-20
[2025-01-06 20:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:11:04] Production.INFO: Date 2024-12-21
[2025-01-06 20:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:11:04] Production.INFO: Date 2024-12-22
[2025-01-06 20:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:11:04] Production.INFO: Date 2024-12-23
[2025-01-06 20:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:11:04] Production.INFO: Date 2024-12-24
[2025-01-06 20:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:11:04] Production.INFO: Date 2024-12-25
[2025-01-06 20:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:11:04] Production.INFO: Date 2024-12-26
[2025-01-06 20:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:11:04] Production.INFO: Date 2024-12-27
[2025-01-06 20:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:11:04] Production.INFO: Date 2024-12-28
[2025-01-06 20:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:11:04] Production.INFO: Date 2024-12-29
[2025-01-06 20:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:11:04] Production.INFO: Date 2024-12-30
[2025-01-06 20:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:11:04] Production.INFO: Date 2024-12-31
[2025-01-06 20:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:11:04] Production.INFO: Date 2025-01-01
[2025-01-06 20:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:11:04] Production.INFO: Date 2025-01-02
[2025-01-06 20:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:11:04] Production.INFO: Date 2025-01-03
[2025-01-06 20:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:11:04] Production.INFO: Date 2025-01-04
[2025-01-06 20:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:11:04] Production.INFO: Date 2025-01-05
[2025-01-06 20:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:11:04] Production.INFO: Date 2025-01-06
[2025-01-06 20:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:11:04] Production.INFO: Total Charge 0
[2025-01-06 20:11:05] Production.INFO: CreateAllLog End
[2025-01-06 20:11:05] Production.INFO: Account Balance End.
[2025-01-06 20:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:11:05
[end_date_ymd] => 2025-01-06 20:11:05
[RateCDR] => 1
)
[2025-01-06 20:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 17:11:05' and `end` < '2025-01-06 20:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 20:11:05] Production.ERROR: CronJobId end 12
[2025-01-06 20:11:05] Production.INFO: ==23276== Releasing lock...
[2025-01-06 20:11:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:11:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:11:13] Production.ERROR: CronJobId end10
[2025-01-06 20:11:13] Production.INFO: ==23274== Releasing lock...
[2025-01-06 20:11:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:11:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:11:14] Production.INFO: call_cost start
[2025-01-06 20:11:14] Production.INFO: call_cost end
[2025-01-06 20:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:11:14] Production.INFO: ==23270== Releasing lock...
[2025-01-06 20:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:11:19] Production.INFO: count ==1643
[2025-01-06 20:11:19] Production.ERROR: pbx CDR StartTime 2025-01-06 17:11:05 - End Time 2025-01-06 20:11:05
[2025-01-06 20:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189916', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189916', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189916', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189916', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:11:19] Production.INFO: ProcessCDR(1,14189916,1,1,2)
[2025-01-06 20:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189916,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189916,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189916,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189916,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189916', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189916', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:11:22] Production.INFO: ==23278== Releasing lock...
[2025-01-06 20:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:11:22] Production.INFO: 40.5 MB #Memory Used#
[2025-01-07 01:12:01] Production.INFO: ==23344== Lock acquired, processing the job...
[2025-01-07 01:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:12:01] Production.INFO: neon service started
[2025-01-07 01:12:01] Production.INFO: neon service started
[2025-01-07 01:12:01] Production.INFO: ==23344== Releasing lock...
[2025-01-07 01:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:12:02] Production.INFO: ==23346== Lock acquired, processing the job...
[2025-01-06 20:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:12:02] Production.INFO: ==23348== Lock acquired, processing the job...
[2025-01-07 01:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:12:02] Production.INFO: ==23348== Releasing lock...
[2025-01-07 01:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:12:02] Production.INFO: ==23346== Releasing lock...
[2025-01-06 20:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 20:12:03] Production.INFO: ==23351== Lock acquired, processing the job...
[2025-01-06 20:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:12:03] Production.INFO: ==23357== Lock acquired, processing the job...
[2025-01-06 20:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:12:03] Production.INFO: ==23359== Lock acquired, processing the job...
[2025-01-06 20:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:12:03] Production.INFO: Account Balance Start.
[2025-01-06 20:12:03] Production.INFO: CreateAllLog Start
[2025-01-06 20:12:03] Production.INFO: 117
[2025-01-06 20:12:03] Production.INFO: Date 2024-12-08
[2025-01-06 20:12:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:12:03] Production.INFO: Date 2024-12-09
[2025-01-06 20:12:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:12:03] Production.INFO: Date 2024-12-10
[2025-01-06 20:12:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:12:03] Production.INFO: ==23353== Lock acquired, processing the job...
[2025-01-06 20:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:12:03] Production.INFO: ==23355== Lock acquired, processing the job...
[2025-01-06 20:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:12:03] Production.INFO: Date 2024-12-11
[2025-01-06 20:12:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:12:03] Production.INFO: Date 2024-12-12
[2025-01-06 20:12:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:12:03] Production.INFO: ==23361== Lock acquired, processing the job...
[2025-01-06 20:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:12:03] Production.ERROR: done
[2025-01-06 20:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:12:03] Production.INFO: Date 2024-12-13
[2025-01-06 20:12:03] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 20:12:03] Production.INFO: Date 2024-12-14
[2025-01-06 20:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:12:03] Production.INFO: count ==21
[2025-01-06 20:12:03] Production.ERROR: done
[2025-01-06 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-06 20:12:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:12:03] Production.INFO: count ==21
[2025-01-06 20:12:03] Production.INFO: Date 2024-12-15
[2025-01-06 20:12:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189920') start
[2025-01-06 20:12:03] Production.INFO: Date 2024-12-16
[2025-01-06 20:12:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:12:03] Production.INFO: ==23353== Releasing lock...
[2025-01-06 20:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:12:03] Production.INFO: Date 2024-12-17
[2025-01-06 20:12:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189920') end
[2025-01-06 20:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:12:04] Production.INFO: 1
[2025-01-06 20:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:12:04] Production.INFO: Date 2024-12-18
[2025-01-06 20:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:12:04] Production.INFO: ==23361== Releasing lock...
[2025-01-06 20:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:12:04] Production.INFO: Date 2024-12-19
[2025-01-06 20:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:12:04] Production.INFO: Date 2024-12-20
[2025-01-06 20:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:12:04] Production.INFO: Date 2024-12-21
[2025-01-06 20:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:12:04] Production.INFO: Date 2024-12-22
[2025-01-06 20:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:12:04] Production.INFO: Date 2024-12-23
[2025-01-06 20:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:12:04] Production.INFO: Date 2024-12-24
[2025-01-06 20:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:12:04] Production.INFO: Date 2024-12-25
[2025-01-06 20:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:12:04] Production.INFO: Date 2024-12-26
[2025-01-06 20:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:12:04] Production.INFO: Date 2024-12-27
[2025-01-06 20:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:12:04] Production.INFO: Date 2024-12-28
[2025-01-06 20:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:12:04] Production.INFO: Date 2024-12-29
[2025-01-06 20:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:12:04] Production.INFO: Date 2024-12-30
[2025-01-06 20:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:12:04] Production.INFO: Date 2024-12-31
[2025-01-06 20:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:12:04] Production.INFO: Date 2025-01-01
[2025-01-06 20:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:12:04] Production.INFO: Date 2025-01-02
[2025-01-06 20:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:12:04] Production.INFO: Date 2025-01-03
[2025-01-06 20:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:12:04] Production.INFO: Date 2025-01-04
[2025-01-06 20:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:12:04] Production.INFO: Date 2025-01-05
[2025-01-06 20:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:12:04] Production.INFO: Date 2025-01-06
[2025-01-06 20:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:12:04] Production.INFO: Total Charge 0
[2025-01-06 20:12:04] Production.INFO: CreateAllLog End
[2025-01-06 20:12:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:12:04
[end_date_ymd] => 2025-01-06 20:12:04
[RateCDR] => 1
)
[2025-01-06 20: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-06 17:12:04' and `end` < '2025-01-06 20: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-06 20:12:04] Production.INFO: Account Balance End.
[2025-01-06 20:12:04] Production.ERROR: CronJobId end 12
[2025-01-06 20:12:04] Production.INFO: ==23357== Releasing lock...
[2025-01-06 20:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:12:12] Production.ERROR: CronJobId end10
[2025-01-06 20:12:12] Production.INFO: ==23355== Releasing lock...
[2025-01-06 20:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:12:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:12:12] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:12:12] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:12:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:12:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:12:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:12:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:12:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:12:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:12:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:12:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:12:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:12:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:12:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:12:13] Production.INFO: call_cost start
[2025-01-06 20:12:13] Production.INFO: call_cost end
[2025-01-06 20:12:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:12:13] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:12:13] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:12:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:12:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:12:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:12:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:12:13] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:12:13] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:12:13] Production.INFO: ==23351== Releasing lock...
[2025-01-06 20:12:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:12:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:12:17] Production.INFO: count ==1636
[2025-01-06 20:12:18] Production.ERROR: pbx CDR StartTime 2025-01-06 17:12:04 - End Time 2025-01-06 20:12:04
[2025-01-06 20:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189921', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189921', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189921', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189921', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:12:18] Production.INFO: ProcessCDR(1,14189921,1,1,2)
[2025-01-06 20:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189921,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189921,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189921,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189921,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189921', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189921', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:12:21] Production.INFO: ==23359== Releasing lock...
[2025-01-06 20:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:12:21] Production.INFO: 40 MB #Memory Used#
[2025-01-07 01:13:01] Production.INFO: ==23427== Lock acquired, processing the job...
[2025-01-07 01:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:13:01] Production.INFO: neon service started
[2025-01-07 01:13:01] Production.INFO: neon service started
[2025-01-07 01:13:01] Production.INFO: ==23427== Releasing lock...
[2025-01-07 01:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:13:02] Production.INFO: ==23430== Lock acquired, processing the job...
[2025-01-06 20:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 20:13:02] Production.INFO: ==23430== Releasing lock...
[2025-01-06 20:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:13:02] Production.INFO: ==23432== Lock acquired, processing the job...
[2025-01-07 01:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:13:02] Production.INFO: ==23432== Releasing lock...
[2025-01-07 01:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:13:03] Production.INFO: ==23438== Lock acquired, processing the job...
[2025-01-06 20:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:13:03] Production.INFO: ==23442== Lock acquired, processing the job...
[2025-01-06 20:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:13:03] Production.INFO: ==23436== Lock acquired, processing the job...
[2025-01-06 20:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:13:03] Production.INFO: ==23434== Lock acquired, processing the job...
[2025-01-06 20:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:13:03] Production.INFO: ==23440== Lock acquired, processing the job...
[2025-01-06 20:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:13:03] Production.INFO: ==23444== Lock acquired, processing the job...
[2025-01-06 20:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:13:03] Production.INFO: Account Balance Start.
[2025-01-06 20:13:03] Production.INFO: CreateAllLog Start
[2025-01-06 20:13:03] Production.INFO: 117
[2025-01-06 20:13:03] Production.INFO: Date 2024-12-08
[2025-01-06 20:13:03] Production.ERROR: done
[2025-01-06 20:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:13:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:13:03] Production.INFO: count ==21
[2025-01-06 20:13:03] Production.INFO: Date 2024-12-09
[2025-01-06 20:13:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:13:03] Production.INFO: count ==21
[2025-01-06 20:13:03] Production.ERROR: done
[2025-01-06 20:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189924') start
[2025-01-06 20:13:03] Production.INFO: Date 2024-12-10
[2025-01-06 20:13:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:13:03] Production.INFO: Date 2024-12-11
[2025-01-06 20:13:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:13:04] Production.INFO: Date 2024-12-12
[2025-01-06 20:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:13:04] Production.INFO: Date 2024-12-13
[2025-01-06 20:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:13:04] Production.INFO: ==23436== Releasing lock...
[2025-01-06 20:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:13:04] Production.INFO: Date 2024-12-14
[2025-01-06 20:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:13:04] Production.INFO: Date 2024-12-15
[2025-01-06 20:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:13:04] Production.INFO: Date 2024-12-16
[2025-01-06 20:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189924') end
[2025-01-06 20:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:13:04] Production.INFO: 1
[2025-01-06 20:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:13:04] Production.INFO: Date 2024-12-17
[2025-01-06 20:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:13:04] Production.INFO: Date 2024-12-18
[2025-01-06 20:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:13:04] Production.INFO: ==23444== Releasing lock...
[2025-01-06 20:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:13:04] Production.INFO: Date 2024-12-19
[2025-01-06 20:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:13:04] Production.INFO: Date 2024-12-20
[2025-01-06 20:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:13:04] Production.INFO: Date 2024-12-21
[2025-01-06 20:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:13:04] Production.INFO: Date 2024-12-22
[2025-01-06 20:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:13:04] Production.INFO: Date 2024-12-23
[2025-01-06 20:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:13:04] Production.INFO: Date 2024-12-24
[2025-01-06 20:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:13:04] Production.INFO: Date 2024-12-25
[2025-01-06 20:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:13:04] Production.INFO: Date 2024-12-26
[2025-01-06 20:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:13:04] Production.INFO: Date 2024-12-27
[2025-01-06 20:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:13:04] Production.INFO: Date 2024-12-28
[2025-01-06 20:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:13:04] Production.INFO: Date 2024-12-29
[2025-01-06 20:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:13:04] Production.INFO: Date 2024-12-30
[2025-01-06 20:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:13:04] Production.INFO: Date 2024-12-31
[2025-01-06 20:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:13:04] Production.INFO: Date 2025-01-01
[2025-01-06 20:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:13:04] Production.INFO: Date 2025-01-02
[2025-01-06 20:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:13:04] Production.INFO: Date 2025-01-03
[2025-01-06 20:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:13:04] Production.INFO: Date 2025-01-04
[2025-01-06 20:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:13:04] Production.INFO: Date 2025-01-05
[2025-01-06 20:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:13:04] Production.INFO: Date 2025-01-06
[2025-01-06 20:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:13:04] Production.INFO: Total Charge 0
[2025-01-06 20:13:04] Production.INFO: CreateAllLog End
[2025-01-06 20:13:04] Production.INFO: Account Balance End.
[2025-01-06 20:13:04] Production.ERROR: CronJobId end 12
[2025-01-06 20:13:04] Production.INFO: ==23440== Releasing lock...
[2025-01-06 20:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:13:05
[end_date_ymd] => 2025-01-06 20:13:05
[RateCDR] => 1
)
[2025-01-06 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-06 17:13:05' and `end` < '2025-01-06 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-06 20:13:11] Production.ERROR: CronJobId end10
[2025-01-06 20:13:11] Production.INFO: ==23438== Releasing lock...
[2025-01-06 20:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:13:13] Production.INFO: call_cost start
[2025-01-06 20:13:13] Production.INFO: call_cost end
[2025-01-06 20:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:13:14] Production.INFO: ==23434== Releasing lock...
[2025-01-06 20:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:13:18] Production.INFO: count ==1625
[2025-01-06 20:13:18] Production.ERROR: pbx CDR StartTime 2025-01-06 17:13:05 - End Time 2025-01-06 20:13:05
[2025-01-06 20:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189926', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189926', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189926', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189926', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:13:18] Production.INFO: ProcessCDR(1,14189926,1,1,2)
[2025-01-06 20:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189926,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189926,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189926,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189926,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189926', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189926', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:13:21] Production.INFO: ==23442== Releasing lock...
[2025-01-06 20:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:13:21] Production.INFO: 40.25 MB #Memory Used#
[2025-01-07 01:14:02] Production.INFO: ==23513== Lock acquired, processing the job...
[2025-01-07 01:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:14:02] Production.INFO: neon service started
[2025-01-07 01:14:02] Production.INFO: neon service started
[2025-01-07 01:14:02] Production.INFO: ==23513== Releasing lock...
[2025-01-07 01:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:14:02] Production.INFO: ==23515== Lock acquired, processing the job...
[2025-01-06 20:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:14:02] Production.INFO: ==23517== Lock acquired, processing the job...
[2025-01-07 01:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:14:02] Production.INFO: ==23517== Releasing lock...
[2025-01-07 01:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:14:03] Production.INFO: ==23515== Releasing lock...
[2025-01-06 20:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:14:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 20:14:03] Production.INFO: ==23522== Lock acquired, processing the job...
[2025-01-06 20:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:14:03] Production.INFO: ==23520== Lock acquired, processing the job...
[2025-01-06 20:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:14:04] Production.INFO: ==23526== Lock acquired, processing the job...
[2025-01-06 20:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:14:04] Production.INFO: Account Balance Start.
[2025-01-06 20:14:04] Production.INFO: CreateAllLog Start
[2025-01-06 20:14:04] Production.INFO: 117
[2025-01-06 20:14:04] Production.INFO: ==23522== Releasing lock...
[2025-01-06 20:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:14:04] Production.INFO: Date 2024-12-08
[2025-01-06 20:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:14:04] Production.INFO: ==23524== Lock acquired, processing the job...
[2025-01-06 20:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:14:04] Production.INFO: Date 2024-12-09
[2025-01-06 20:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:14:04] Production.INFO: Date 2024-12-10
[2025-01-06 20:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:14:04] Production.INFO: Date 2024-12-11
[2025-01-06 20:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:14:04] Production.INFO: Date 2024-12-12
[2025-01-06 20:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:14:04] Production.INFO: Date 2024-12-13
[2025-01-06 20:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:14:04] Production.INFO: Date 2024-12-14
[2025-01-06 20:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:14:04] Production.INFO: ==23528== Lock acquired, processing the job...
[2025-01-06 20:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:14:04] Production.INFO: Date 2024-12-15
[2025-01-06 20:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:14:04] Production.INFO: Date 2024-12-16
[2025-01-06 20:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:14:04] Production.INFO: ==23530== Lock acquired, processing the job...
[2025-01-06 20:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:14:04] Production.INFO: Date 2024-12-17
[2025-01-06 20:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:14:04] Production.INFO: Date 2024-12-18
[2025-01-06 20:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:14:04] Production.INFO: Date 2024-12-19
[2025-01-06 20:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:14:04] Production.INFO: Date 2024-12-20
[2025-01-06 20:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:14:04] Production.INFO: Date 2024-12-21
[2025-01-06 20:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:14:04] Production.INFO: count ==21
[2025-01-06 20:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:14:04] Production.INFO: count ==21
[2025-01-06 20:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189930') start
[2025-01-06 20:14:04] Production.INFO: Date 2024-12-22
[2025-01-06 20:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189930') end
[2025-01-06 20:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:14:04] Production.INFO: 1
[2025-01-06 20:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:14:04] Production.ERROR: done
[2025-01-06 20:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:14:04] Production.INFO: Date 2024-12-23
[2025-01-06 20:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:14:04] Production.INFO: ==23530== Releasing lock...
[2025-01-06 20:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:14:04] Production.INFO: Date 2024-12-24
[2025-01-06 20:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:14:04] Production.INFO: Date 2024-12-25
[2025-01-06 20:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:14:04] Production.ERROR: done
[2025-01-06 20:14:04] Production.INFO: Date 2024-12-26
[2025-01-06 20:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:14:05] Production.INFO: Date 2024-12-27
[2025-01-06 20:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:14:05] Production.INFO: Date 2024-12-28
[2025-01-06 20:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:14:05] Production.INFO: Date 2024-12-29
[2025-01-06 20:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:14:05] Production.INFO: Date 2024-12-30
[2025-01-06 20:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:14:05] Production.INFO: Date 2024-12-31
[2025-01-06 20:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:14:05] Production.INFO: Date 2025-01-01
[2025-01-06 20:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:14:05] Production.INFO: Date 2025-01-02
[2025-01-06 20:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:14:05] Production.INFO: Date 2025-01-03
[2025-01-06 20:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:14:05] Production.INFO: Date 2025-01-04
[2025-01-06 20:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:14:05] Production.INFO: Date 2025-01-05
[2025-01-06 20:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:14:05] Production.INFO: Date 2025-01-06
[2025-01-06 20:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:14:05] Production.INFO: Total Charge 0
[2025-01-06 20:14:05] Production.INFO: CreateAllLog End
[2025-01-06 20:14:05] Production.INFO: Account Balance End.
[2025-01-06 20:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:14:05
[end_date_ymd] => 2025-01-06 20:14:05
[RateCDR] => 1
)
[2025-01-06 20:14:05] Production.ERROR: CronJobId end 12
[2025-01-06 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-06 17:14:05' and `end` < '2025-01-06 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-06 20:14:05] Production.INFO: ==23526== Releasing lock...
[2025-01-06 20:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:14:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:14:13] Production.ERROR: CronJobId end10
[2025-01-06 20:14:13] Production.INFO: ==23524== Releasing lock...
[2025-01-06 20:14:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:14:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:14:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:14:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:14:14] Production.INFO: call_cost start
[2025-01-06 20:14:14] Production.INFO: call_cost end
[2025-01-06 20:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:14:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:14:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:14:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:14:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:14:15] Production.INFO: ==23520== Releasing lock...
[2025-01-06 20:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:14:18] Production.INFO: count ==1627
[2025-01-06 20:14:19] Production.ERROR: pbx CDR StartTime 2025-01-06 17:14:05 - End Time 2025-01-06 20:14:05
[2025-01-06 20:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189931', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189931', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189931', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189931', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:14:19] Production.INFO: ProcessCDR(1,14189931,1,1,2)
[2025-01-06 20:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189931,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189931,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189931,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189931,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189931', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189931', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:14:22] Production.INFO: ==23528== Releasing lock...
[2025-01-06 20:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:14:22] Production.INFO: 40.5 MB #Memory Used#
[2025-01-07 01:15:01] Production.INFO: ==23598== Lock acquired, processing the job...
[2025-01-07 01:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:15:01] Production.INFO: neon service started
[2025-01-07 01:15:01] Production.INFO: neon service started
[2025-01-07 01:15:01] Production.INFO: ==23598== Releasing lock...
[2025-01-07 01:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:15:02] Production.INFO: ==23600== Lock acquired, processing the job...
[2025-01-06 20:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 20:15:02] Production.INFO: ==23600== Releasing lock...
[2025-01-06 20:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:15:02] Production.INFO: ==23602== Lock acquired, processing the job...
[2025-01-07 01:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:15:02] Production.INFO: ==23602== Releasing lock...
[2025-01-07 01:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:15:03] Production.INFO: ==23611== Lock acquired, processing the job...
[2025-01-06 20:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:15:03] Production.INFO: ==23615== Lock acquired, processing the job...
[2025-01-06 20:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:15:03] Production.INFO: Account Balance Start.
[2025-01-06 20:15:03] Production.INFO: CreateAllLog Start
[2025-01-06 20:15:03] Production.INFO: 117
[2025-01-06 20:15:03] Production.INFO: Date 2024-12-08
[2025-01-06 20:15:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:15:03] Production.INFO: Date 2024-12-09
[2025-01-06 20:15:03] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 20:15:03] Production.INFO: Date 2024-12-10
[2025-01-06 20:15:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:15:03] Production.INFO: ==23605== Lock acquired, processing the job...
[2025-01-06 20:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:15:03] Production.INFO: count ==21
[2025-01-06 20:15:03] Production.INFO: Date 2024-12-11
[2025-01-06 20:15:03] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 20:15:03] Production.INFO: count ==21
[2025-01-06 20:15:03] Production.INFO: ==23607== Lock acquired, processing the job...
[2025-01-06 20:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189933') start
[2025-01-06 20:15:03] Production.INFO: ==23609== Lock acquired, processing the job...
[2025-01-06 20:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:15:03] Production.INFO: Date 2024-12-12
[2025-01-06 20:15:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:15:03] Production.INFO: ==23613== Lock acquired, processing the job...
[2025-01-06 20:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:15:03] Production.INFO: Date 2024-12-13
[2025-01-06 20:15:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189933') end
[2025-01-06 20:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:15:03] Production.INFO: 1
[2025-01-06 20:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:15:03] Production.INFO: Date 2024-12-14
[2025-01-06 20:15:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:15:03] Production.INFO: Date 2024-12-15
[2025-01-06 20:15:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:15:03] Production.INFO: ==23615== Releasing lock...
[2025-01-06 20:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:15:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:15:03] Production.INFO: Date 2024-12-16
[2025-01-06 20:15:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:15:03] Production.INFO: Date 2024-12-17
[2025-01-06 20:15:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:15:03] Production.ERROR: done
[2025-01-06 20:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:15:03] Production.INFO: Date 2024-12-18
[2025-01-06 20:15:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:15:03] Production.INFO: Date 2024-12-19
[2025-01-06 20:15:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:15:03] Production.INFO: Date 2024-12-20
[2025-01-06 20:15:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:15:03] Production.INFO: ==23607== Releasing lock...
[2025-01-06 20:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:15:03] Production.INFO: Date 2024-12-21
[2025-01-06 20:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:15:04] Production.ERROR: done
[2025-01-06 20:15:04] Production.INFO: Date 2024-12-22
[2025-01-06 20:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:15:04] Production.INFO: Date 2024-12-23
[2025-01-06 20:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:15:04] Production.INFO: Date 2024-12-24
[2025-01-06 20:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:15:04] Production.INFO: Date 2024-12-25
[2025-01-06 20:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:15:04] Production.INFO: Date 2024-12-26
[2025-01-06 20:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:15:04] Production.INFO: Date 2024-12-27
[2025-01-06 20:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:15:04] Production.INFO: Date 2024-12-28
[2025-01-06 20:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:15:04] Production.INFO: Date 2024-12-29
[2025-01-06 20:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:15:04] Production.INFO: Date 2024-12-30
[2025-01-06 20:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:15:04] Production.INFO: Date 2024-12-31
[2025-01-06 20:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:15:04] Production.INFO: Date 2025-01-01
[2025-01-06 20:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:15:04] Production.INFO: Date 2025-01-02
[2025-01-06 20:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:15:04] Production.INFO: Date 2025-01-03
[2025-01-06 20:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:15:04] Production.INFO: Date 2025-01-04
[2025-01-06 20:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:15:04] Production.INFO: Date 2025-01-05
[2025-01-06 20:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:15:04] Production.INFO: Date 2025-01-06
[2025-01-06 20:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:15:04] Production.INFO: Total Charge 0
[2025-01-06 20:15:04] Production.INFO: CreateAllLog End
[2025-01-06 20:15:04] Production.INFO: Account Balance End.
[2025-01-06 20:15:05] Production.ERROR: CronJobId end 12
[2025-01-06 20:15:05] Production.INFO: ==23611== Releasing lock...
[2025-01-06 20:15:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:15:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:15:05
[end_date_ymd] => 2025-01-06 20:15:05
[RateCDR] => 1
)
[2025-01-06 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-06 17:15:05' and `end` < '2025-01-06 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-06 20:15:13] Production.ERROR: CronJobId end10
[2025-01-06 20:15:13] Production.INFO: ==23609== Releasing lock...
[2025-01-06 20:15:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:15:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:15:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:15:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:15:15] Production.INFO: call_cost start
[2025-01-06 20:15:15] Production.INFO: call_cost end
[2025-01-06 20:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:15:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:15:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:15:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:15:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:15:15] Production.INFO: ==23605== Releasing lock...
[2025-01-06 20:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:15:18] Production.INFO: count ==1624
[2025-01-06 20:15:18] Production.ERROR: pbx CDR StartTime 2025-01-06 17:15:05 - End Time 2025-01-06 20:15:05
[2025-01-06 20:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189936', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189936', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189936', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189936', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:15:18] Production.INFO: ProcessCDR(1,14189936,1,1,2)
[2025-01-06 20:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189936,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189936,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189936,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189936,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189936', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189936', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:15:21] Production.INFO: ==23613== Releasing lock...
[2025-01-06 20:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:15:21] Production.INFO: 40.5 MB #Memory Used#
[2025-01-07 01:16:02] Production.INFO: ==23685== Lock acquired, processing the job...
[2025-01-07 01:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:16:02] Production.INFO: neon service started
[2025-01-07 01:16:02] Production.INFO: neon service started
[2025-01-07 01:16:02] Production.INFO: ==23685== Releasing lock...
[2025-01-07 01:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:16:02] Production.INFO: ==23687== Lock acquired, processing the job...
[2025-01-06 20:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 20:16:02] Production.INFO: ==23687== Releasing lock...
[2025-01-06 20:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:16:02] Production.INFO: ==23689== Lock acquired, processing the job...
[2025-01-07 01:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:16:02] Production.INFO: ==23689== Releasing lock...
[2025-01-07 01:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:16:03] Production.INFO: ==23698== Lock acquired, processing the job...
[2025-01-06 20:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:16:03] Production.INFO: Account Balance Start.
[2025-01-06 20:16:03] Production.INFO: CreateAllLog Start
[2025-01-06 20:16:03] Production.INFO: 117
[2025-01-06 20:16:03] Production.INFO: Date 2024-12-08
[2025-01-06 20:16:03] Production.INFO: ==23702== Lock acquired, processing the job...
[2025-01-06 20:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:16:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:16:03] Production.INFO: Date 2024-12-09
[2025-01-06 20:16:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:16:03] Production.INFO: Date 2024-12-10
[2025-01-06 20:16:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:16:03] Production.INFO: Date 2024-12-11
[2025-01-06 20:16:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:16:03] Production.INFO: ==23692== Lock acquired, processing the job...
[2025-01-06 20:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 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-06 20:16:03] Production.INFO: Date 2024-12-12
[2025-01-06 20:16:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:16:03] Production.INFO: count ==21
[2025-01-06 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-06 20:16:03] Production.INFO: ==23694== Lock acquired, processing the job...
[2025-01-06 20:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:16:03] Production.INFO: count ==21
[2025-01-06 20:16:03] Production.INFO: ==23696== Lock acquired, processing the job...
[2025-01-06 20:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:16:03] Production.INFO: ==23700== Lock acquired, processing the job...
[2025-01-06 20:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:16:03] Production.INFO: Date 2024-12-13
[2025-01-06 20:16:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189938') start
[2025-01-06 20:16:03] Production.INFO: Date 2024-12-14
[2025-01-06 20:16:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:16:03] Production.INFO: Date 2024-12-15
[2025-01-06 20:16:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:16:04] Production.INFO: Date 2024-12-16
[2025-01-06 20:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189938') end
[2025-01-06 20:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:16:04] Production.INFO: 1
[2025-01-06 20:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:16:04] Production.INFO: Date 2024-12-17
[2025-01-06 20:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:16:04] Production.INFO: ==23702== Releasing lock...
[2025-01-06 20:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:16:04] Production.INFO: Date 2024-12-18
[2025-01-06 20:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:16:04] Production.INFO: Date 2024-12-19
[2025-01-06 20:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:16:04] Production.ERROR: done
[2025-01-06 20:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:16:04] Production.INFO: ==23694== Releasing lock...
[2025-01-06 20:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:16:04] Production.INFO: Date 2024-12-20
[2025-01-06 20:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:16:04] Production.INFO: Date 2024-12-21
[2025-01-06 20:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:16:04] Production.ERROR: done
[2025-01-06 20:16:04] Production.INFO: Date 2024-12-22
[2025-01-06 20:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:16:04] Production.INFO: Date 2024-12-23
[2025-01-06 20:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:16:04] Production.INFO: Date 2024-12-24
[2025-01-06 20:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:16:04] Production.INFO: Date 2024-12-25
[2025-01-06 20:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:16:04] Production.INFO: Date 2024-12-26
[2025-01-06 20:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:16:04] Production.INFO: Date 2024-12-27
[2025-01-06 20:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:16:04] Production.INFO: Date 2024-12-28
[2025-01-06 20:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:16:04] Production.INFO: Date 2024-12-29
[2025-01-06 20:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:16:04] Production.INFO: Date 2024-12-30
[2025-01-06 20:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:16:04] Production.INFO: Date 2024-12-31
[2025-01-06 20:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:16:04] Production.INFO: Date 2025-01-01
[2025-01-06 20:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:16:05] Production.INFO: Date 2025-01-02
[2025-01-06 20:16:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:16:05] Production.INFO: Date 2025-01-03
[2025-01-06 20:16:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:16:05] Production.INFO: Date 2025-01-04
[2025-01-06 20:16:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:16:05] Production.INFO: Date 2025-01-05
[2025-01-06 20:16:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:16:05] Production.INFO: Date 2025-01-06
[2025-01-06 20:16:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:16:05] Production.INFO: Total Charge 0
[2025-01-06 20:16:05] Production.INFO: CreateAllLog End
[2025-01-06 20:16:05] Production.INFO: Account Balance End.
[2025-01-06 20:16:05] Production.ERROR: CronJobId end 12
[2025-01-06 20:16:05] Production.INFO: ==23698== Releasing lock...
[2025-01-06 20:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:16:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:16:05
[end_date_ymd] => 2025-01-06 20:16:05
[RateCDR] => 1
)
[2025-01-06 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-06 17:16:05' and `end` < '2025-01-06 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-06 20:16:14] Production.ERROR: CronJobId end10
[2025-01-06 20:16:14] Production.INFO: ==23696== Releasing lock...
[2025-01-06 20:16:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:16:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:16:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:16:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:16:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:16:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:16:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:16:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:16:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:16:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:16:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:16:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:16:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:16:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:16:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:16:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:16:15] Production.INFO: call_cost start
[2025-01-06 20:16:15] Production.INFO: call_cost end
[2025-01-06 20:16:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:16:16] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:16:16] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:16:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:16:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:16:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:16:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:16:16] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:16:16] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:16:16] Production.INFO: ==23692== Releasing lock...
[2025-01-06 20:16:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:16:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:16:18] Production.INFO: count ==1621
[2025-01-06 20:16:18] Production.ERROR: pbx CDR StartTime 2025-01-06 17:16:05 - End Time 2025-01-06 20:16:05
[2025-01-06 20:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189941', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189941', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189941', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189941', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:16:18] Production.INFO: ProcessCDR(1,14189941,1,1,2)
[2025-01-06 20:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189941,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189941,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189941,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189941,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189941', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189941', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:16:21] Production.INFO: ==23700== Releasing lock...
[2025-01-06 20:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:16:21] Production.INFO: 40.25 MB #Memory Used#
[2025-01-07 01:17:01] Production.INFO: ==23767== Lock acquired, processing the job...
[2025-01-07 01:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:17:01] Production.INFO: neon service started
[2025-01-07 01:17:01] Production.INFO: neon service started
[2025-01-07 01:17:01] Production.INFO: ==23767== Releasing lock...
[2025-01-07 01:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:17:01] Production.INFO: ==23769== Lock acquired, processing the job...
[2025-01-06 20:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:17:02] Production.INFO: ==23771== Lock acquired, processing the job...
[2025-01-07 01:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-06 20:17:02] Production.INFO: ==23769== Releasing lock...
[2025-01-06 20:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:17:02] Production.INFO: ==23771== Releasing lock...
[2025-01-07 01:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:17:03] Production.INFO: ==23782== Lock acquired, processing the job...
[2025-01-06 20:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:17:03] Production.INFO: ==23784== Lock acquired, processing the job...
[2025-01-06 20:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 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-06 20:17:03] Production.INFO: ==23774== Lock acquired, processing the job...
[2025-01-06 20:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:17:03] Production.INFO: ==23776== Lock acquired, processing the job...
[2025-01-06 20:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:17:03] Production.INFO: count ==21
[2025-01-06 20:17:03] Production.INFO: ==23778== Lock acquired, processing the job...
[2025-01-06 20:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 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-06 20:17:03] Production.INFO: count ==21
[2025-01-06 20:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189942') start
[2025-01-06 20:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:17:03] Production.INFO: ==23780== Lock acquired, processing the job...
[2025-01-06 20:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189942') end
[2025-01-06 20:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:17:03] Production.INFO: 1
[2025-01-06 20:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:17:03] Production.ERROR: done
[2025-01-06 20:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:17:03] Production.INFO: ==23784== Releasing lock...
[2025-01-06 20:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:17:03] Production.INFO: Account Balance Start.
[2025-01-06 20:17:03] Production.INFO: CreateAllLog Start
[2025-01-06 20:17:03] Production.INFO: 117
[2025-01-06 20:17:03] Production.INFO: Date 2024-12-08
[2025-01-06 20:17:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:17:03] Production.INFO: ==23776== Releasing lock...
[2025-01-06 20:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:17:03] Production.ERROR: done
[2025-01-06 20:17:03] Production.INFO: Date 2024-12-09
[2025-01-06 20:17:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:17:03] Production.INFO: Date 2024-12-10
[2025-01-06 20:17:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:17:03] Production.INFO: Date 2024-12-11
[2025-01-06 20:17:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:17:03] Production.INFO: Date 2024-12-12
[2025-01-06 20:17:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:17:03] Production.INFO: Date 2024-12-13
[2025-01-06 20:17:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:17:03] Production.INFO: Date 2024-12-14
[2025-01-06 20:17:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:17:03] Production.INFO: Date 2024-12-15
[2025-01-06 20:17:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:17:03] Production.INFO: Date 2024-12-16
[2025-01-06 20:17:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:17:03] Production.INFO: Date 2024-12-17
[2025-01-06 20:17:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:17:03] Production.INFO: Date 2024-12-18
[2025-01-06 20:17:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:17:03] Production.INFO: Date 2024-12-19
[2025-01-06 20:17:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:17:03] Production.INFO: Date 2024-12-20
[2025-01-06 20:17:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:17:04] Production.INFO: Date 2024-12-21
[2025-01-06 20:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:17:04] Production.INFO: Date 2024-12-22
[2025-01-06 20:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:17:04] Production.INFO: Date 2024-12-23
[2025-01-06 20:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:17:04] Production.INFO: Date 2024-12-24
[2025-01-06 20:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:17:04] Production.INFO: Date 2024-12-25
[2025-01-06 20:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:17:04] Production.INFO: Date 2024-12-26
[2025-01-06 20:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:17:04] Production.INFO: Date 2024-12-27
[2025-01-06 20:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:17:04] Production.INFO: Date 2024-12-28
[2025-01-06 20:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:17:04] Production.INFO: Date 2024-12-29
[2025-01-06 20:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:17:04] Production.INFO: Date 2024-12-30
[2025-01-06 20:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:17:04] Production.INFO: Date 2024-12-31
[2025-01-06 20:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:17:04] Production.INFO: Date 2025-01-01
[2025-01-06 20:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:17:04] Production.INFO: Date 2025-01-02
[2025-01-06 20:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:17:04] Production.INFO: Date 2025-01-03
[2025-01-06 20:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:17:04] Production.INFO: Date 2025-01-04
[2025-01-06 20:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:17:04] Production.INFO: Date 2025-01-05
[2025-01-06 20:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:17:04] Production.INFO: Date 2025-01-06
[2025-01-06 20:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:17:04] Production.INFO: Total Charge 0
[2025-01-06 20:17:04] Production.INFO: CreateAllLog End
[2025-01-06 20:17:04] Production.INFO: Account Balance End.
[2025-01-06 20:17:04] Production.ERROR: CronJobId end 12
[2025-01-06 20:17:04] Production.INFO: ==23780== Releasing lock...
[2025-01-06 20:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:17:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:17:04
[end_date_ymd] => 2025-01-06 20:17:04
[RateCDR] => 1
)
[2025-01-06 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-06 17:17:04' and `end` < '2025-01-06 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-06 20:17:13] Production.ERROR: CronJobId end10
[2025-01-06 20:17:13] Production.INFO: ==23778== Releasing lock...
[2025-01-06 20:17:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:17:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:17:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:17:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:17:14] Production.INFO: call_cost start
[2025-01-06 20:17:14] Production.INFO: call_cost end
[2025-01-06 20:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:17:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:17:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:17:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:17:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:17:15] Production.INFO: ==23774== Releasing lock...
[2025-01-06 20:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:17:19] Production.INFO: count ==1616
[2025-01-06 20:17:19] Production.ERROR: pbx CDR StartTime 2025-01-06 17:17:04 - End Time 2025-01-06 20:17:04
[2025-01-06 20:17:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189946', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189946', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189946', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189946', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:17:19] Production.INFO: ProcessCDR(1,14189946,1,1,2)
[2025-01-06 20:17:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189946,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:17:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189946,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:17:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189946,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189946,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189946', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189946', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:17:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:17:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:17:22] Production.INFO: ==23782== Releasing lock...
[2025-01-06 20:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:17:22] Production.INFO: 40.25 MB #Memory Used#
[2025-01-07 01:18:01] Production.INFO: ==23861== Lock acquired, processing the job...
[2025-01-07 01:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:18:01] Production.INFO: neon service started
[2025-01-07 01:18:01] Production.INFO: neon service started
[2025-01-07 01:18:01] Production.INFO: ==23861== Releasing lock...
[2025-01-07 01:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:18:02] Production.INFO: ==23865== Lock acquired, processing the job...
[2025-01-07 01:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:18:02] Production.INFO: ==23865== Releasing lock...
[2025-01-07 01:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:18:02] Production.INFO: ==23863== Lock acquired, processing the job...
[2025-01-06 20:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 20:18:02] Production.INFO: ==23863== Releasing lock...
[2025-01-06 20:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 20:18:03] Production.INFO: ==23869== Lock acquired, processing the job...
[2025-01-06 20:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:18:03] Production.INFO: ==23873== Lock acquired, processing the job...
[2025-01-06 20:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:18:03] Production.INFO: ==23875== Lock acquired, processing the job...
[2025-01-06 20:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:18:03] Production.INFO: Account Balance Start.
[2025-01-06 20:18:03] Production.INFO: CreateAllLog Start
[2025-01-06 20:18:03] Production.INFO: 117
[2025-01-06 20:18:03] Production.INFO: Date 2024-12-08
[2025-01-06 20:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:18:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:18:03] Production.INFO: ==23871== Lock acquired, processing the job...
[2025-01-06 20:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:18:03] Production.INFO: ==23867== Lock acquired, processing the job...
[2025-01-06 20:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:18:03] Production.INFO: ==23877== Lock acquired, processing the job...
[2025-01-06 20:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:18:03] Production.INFO: ==23869== Releasing lock...
[2025-01-06 20:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:18:04] Production.INFO: Date 2024-12-09
[2025-01-06 20:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:18:04] Production.ERROR: done
[2025-01-06 20:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:18:04] Production.INFO: Date 2024-12-10
[2025-01-06 20:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:18:04] Production.INFO: count ==21
[2025-01-06 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-06 20:18:04] Production.INFO: count ==21
[2025-01-06 20:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189949') start
[2025-01-06 20:18:04] Production.ERROR: done
[2025-01-06 20:18:04] Production.INFO: Date 2024-12-11
[2025-01-06 20:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189949') end
[2025-01-06 20:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:18:04] Production.INFO: 1
[2025-01-06 20:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:18:04] Production.INFO: Date 2024-12-12
[2025-01-06 20:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:18:04] Production.INFO: Date 2024-12-13
[2025-01-06 20:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:18:04] Production.INFO: ==23877== Releasing lock...
[2025-01-06 20:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:18:04] Production.INFO: Date 2024-12-14
[2025-01-06 20:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:18:04] Production.INFO: Date 2024-12-15
[2025-01-06 20:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:18:04] Production.INFO: Date 2024-12-16
[2025-01-06 20:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:18:04] Production.INFO: Date 2024-12-17
[2025-01-06 20:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:18:04] Production.INFO: Date 2024-12-18
[2025-01-06 20:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:18:04] Production.INFO: Date 2024-12-19
[2025-01-06 20:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:18:04] Production.INFO: Date 2024-12-20
[2025-01-06 20:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:18:04] Production.INFO: Date 2024-12-21
[2025-01-06 20:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:18:05] Production.INFO: Date 2024-12-22
[2025-01-06 20:18:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:18:05] Production.INFO: Date 2024-12-23
[2025-01-06 20:18:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:18:05] Production.INFO: Date 2024-12-24
[2025-01-06 20:18:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:18:05] Production.INFO: Date 2024-12-25
[2025-01-06 20:18:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:18:05] Production.INFO: Date 2024-12-26
[2025-01-06 20:18:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:18:05] Production.INFO: Date 2024-12-27
[2025-01-06 20:18:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:18:05] Production.INFO: Date 2024-12-28
[2025-01-06 20:18:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:18:05] Production.INFO: Date 2024-12-29
[2025-01-06 20:18:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:18:05] Production.INFO: Date 2024-12-30
[2025-01-06 20:18:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:18:05] Production.INFO: Date 2024-12-31
[2025-01-06 20:18:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:18:05] Production.INFO: Date 2025-01-01
[2025-01-06 20:18:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:18:05] Production.INFO: Date 2025-01-02
[2025-01-06 20:18:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:18:05] Production.INFO: Date 2025-01-03
[2025-01-06 20:18:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:18:05] Production.INFO: Date 2025-01-04
[2025-01-06 20:18:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:18:05] Production.INFO: Date 2025-01-05
[2025-01-06 20:18:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:18:05] Production.INFO: Date 2025-01-06
[2025-01-06 20:18:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:18:05
[end_date_ymd] => 2025-01-06 20:18:05
[RateCDR] => 1
)
[2025-01-06 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-06 17:18:05' and `end` < '2025-01-06 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-06 20:18:05] Production.INFO: Total Charge 0
[2025-01-06 20:18:05] Production.INFO: CreateAllLog End
[2025-01-06 20:18:05] Production.INFO: Account Balance End.
[2025-01-06 20:18:05] Production.ERROR: CronJobId end 12
[2025-01-06 20:18:05] Production.INFO: ==23873== Releasing lock...
[2025-01-06 20:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:18:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:18:13] Production.ERROR: CronJobId end10
[2025-01-06 20:18:13] Production.INFO: ==23871== Releasing lock...
[2025-01-06 20:18:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:18:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:18:13] Production.INFO: call_cost start
[2025-01-06 20:18:13] Production.INFO: call_cost end
[2025-01-06 20:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:18:14] Production.INFO: ==23867== Releasing lock...
[2025-01-06 20:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:18:20] Production.INFO: count ==1616
[2025-01-06 20:18:20] Production.ERROR: pbx CDR StartTime 2025-01-06 17:18:05 - End Time 2025-01-06 20:18:05
[2025-01-06 20:18:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189951', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189951', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189951', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189951', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:18:20] Production.INFO: ProcessCDR(1,14189951,1,1,2)
[2025-01-06 20:18:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189951,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:18:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189951,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:18:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189951,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:18:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189951,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189951', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189951', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:18:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:18:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:18:23] Production.INFO: ==23875== Releasing lock...
[2025-01-06 20:18:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:18:23] Production.INFO: 40.25 MB #Memory Used#
[2025-01-07 01:19:02] Production.INFO: ==23940== Lock acquired, processing the job...
[2025-01-07 01:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:19:02] Production.INFO: neon service started
[2025-01-07 01:19:02] Production.INFO: neon service started
[2025-01-07 01:19:02] Production.INFO: ==23940== Releasing lock...
[2025-01-07 01:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:19:02] Production.INFO: ==23944== Lock acquired, processing the job...
[2025-01-07 01:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:19:02] Production.INFO: ==23944== Releasing lock...
[2025-01-07 01:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:19:02] Production.INFO: ==23942== Lock acquired, processing the job...
[2025-01-06 20:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 20:19:02] Production.INFO: ==23942== Releasing lock...
[2025-01-06 20:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 20:19:03] Production.INFO: ==23947== Lock acquired, processing the job...
[2025-01-06 20:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:19:03] Production.INFO: ==23951== Lock acquired, processing the job...
[2025-01-06 20:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:19:03] Production.INFO: ==23955== Lock acquired, processing the job...
[2025-01-06 20:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:19:03] Production.INFO: ==23949== Lock acquired, processing the job...
[2025-01-06 20:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:19:03] Production.INFO: ==23953== Lock acquired, processing the job...
[2025-01-06 20:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:19:04] Production.INFO: Account Balance Start.
[2025-01-06 20:19:04] Production.INFO: CreateAllLog Start
[2025-01-06 20:19:04] Production.INFO: 117
[2025-01-06 20:19:04] Production.INFO: Date 2024-12-08
[2025-01-06 20:19:04] Production.INFO: ==23957== Lock acquired, processing the job...
[2025-01-06 20:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:19:04] Production.ERROR: done
[2025-01-06 20:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:19:04] Production.INFO: Date 2024-12-09
[2025-01-06 20:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:19:04] Production.INFO: Date 2024-12-10
[2025-01-06 20:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:19:04] Production.ERROR: done
[2025-01-06 20:19:04] Production.INFO: count ==21
[2025-01-06 20:19:04] Production.INFO: Date 2024-12-11
[2025-01-06 20:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:19:04] Production.INFO: count ==21
[2025-01-06 20:19:04] Production.INFO: Date 2024-12-12
[2025-01-06 20:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:19:04] Production.INFO: ==23949== Releasing lock...
[2025-01-06 20:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189955') start
[2025-01-06 20:19:04] Production.INFO: Date 2024-12-13
[2025-01-06 20:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:19:04] Production.INFO: Date 2024-12-14
[2025-01-06 20:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:19:04] Production.INFO: Date 2024-12-15
[2025-01-06 20:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189955') end
[2025-01-06 20:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:19:04] Production.INFO: 1
[2025-01-06 20:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:19:04] Production.INFO: Date 2024-12-16
[2025-01-06 20:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:19:04] Production.INFO: Date 2024-12-17
[2025-01-06 20:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:19:04] Production.INFO: ==23957== Releasing lock...
[2025-01-06 20:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:19:04] Production.INFO: Date 2024-12-18
[2025-01-06 20:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:19:04] Production.INFO: Date 2024-12-19
[2025-01-06 20:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:19:04] Production.INFO: Date 2024-12-20
[2025-01-06 20:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:19:04] Production.INFO: Date 2024-12-21
[2025-01-06 20:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:19:05] Production.INFO: Date 2024-12-22
[2025-01-06 20:19:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:19:05] Production.INFO: Date 2024-12-23
[2025-01-06 20:19:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:19:05] Production.INFO: Date 2024-12-24
[2025-01-06 20:19:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:19:05] Production.INFO: Date 2024-12-25
[2025-01-06 20:19:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:19:05] Production.INFO: Date 2024-12-26
[2025-01-06 20:19:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:19:05] Production.INFO: Date 2024-12-27
[2025-01-06 20:19:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:19:05] Production.INFO: Date 2024-12-28
[2025-01-06 20:19:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:19:05] Production.INFO: Date 2024-12-29
[2025-01-06 20:19:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:19:05] Production.INFO: Date 2024-12-30
[2025-01-06 20:19:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:19:05] Production.INFO: Date 2024-12-31
[2025-01-06 20:19:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:19:05] Production.INFO: Date 2025-01-01
[2025-01-06 20:19:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:19:05] Production.INFO: Date 2025-01-02
[2025-01-06 20:19:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:19:05] Production.INFO: Date 2025-01-03
[2025-01-06 20:19:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:19:05] Production.INFO: Date 2025-01-04
[2025-01-06 20:19:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:19:05] Production.INFO: Date 2025-01-05
[2025-01-06 20:19:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:19:05] Production.INFO: Date 2025-01-06
[2025-01-06 20:19:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:19:05] Production.INFO: Total Charge 0
[2025-01-06 20:19:05] Production.INFO: CreateAllLog End
[2025-01-06 20:19:05] Production.INFO: Account Balance End.
[2025-01-06 20:19:05] Production.ERROR: CronJobId end 12
[2025-01-06 20:19:05] Production.INFO: ==23953== Releasing lock...
[2025-01-06 20:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:19:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:19:05
[end_date_ymd] => 2025-01-06 20:19:05
[RateCDR] => 1
)
[2025-01-06 20:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 17:19:05' and `end` < '2025-01-06 20:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 20:19:13] Production.ERROR: CronJobId end10
[2025-01-06 20:19:13] Production.INFO: ==23951== Releasing lock...
[2025-01-06 20:19:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:19:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:19:13] Production.INFO: call_cost start
[2025-01-06 20:19:13] Production.INFO: call_cost end
[2025-01-06 20:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:19:14] Production.INFO: ==23947== Releasing lock...
[2025-01-06 20:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:19:18] Production.INFO: count ==1621
[2025-01-06 20:19:19] Production.ERROR: pbx CDR StartTime 2025-01-06 17:19:05 - End Time 2025-01-06 20:19:05
[2025-01-06 20:19:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189956', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189956', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189956', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189956', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:19:19] Production.INFO: ProcessCDR(1,14189956,1,1,2)
[2025-01-06 20:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189956,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189956,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189956,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189956,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189956', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189956', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:19:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:19:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:19:22] Production.INFO: ==23955== Releasing lock...
[2025-01-06 20:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:19:22] Production.INFO: 40.75 MB #Memory Used#
[2025-01-07 01:20:01] Production.INFO: ==24025== Lock acquired, processing the job...
[2025-01-07 01:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:20:01] Production.INFO: neon service started
[2025-01-07 01:20:01] Production.INFO: neon service started
[2025-01-07 01:20:01] Production.INFO: ==24025== Releasing lock...
[2025-01-07 01:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:20:02] Production.INFO: ==24027== Lock acquired, processing the job...
[2025-01-06 20:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 20:20:02] Production.INFO: ==24027== Releasing lock...
[2025-01-06 20:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:20:02] Production.INFO: ==24029== Lock acquired, processing the job...
[2025-01-07 01:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:20:02] Production.INFO: ==24029== Releasing lock...
[2025-01-07 01:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:20:03] Production.INFO: ==24032== Lock acquired, processing the job...
[2025-01-06 20:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-06 20:20:03] Production.INFO: ==24034== Lock acquired, processing the job...
[2025-01-06 20:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:20:03] Production.INFO: ==24038== Lock acquired, processing the job...
[2025-01-06 20:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-06 20:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 20:20:03] Production.ERROR: CronJob PID - 24034
[2025-01-06 20:20:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-06 20:20:03] Production.ERROR: CronJob ID - 5
[2025-01-06 20:20:03] Production.ERROR: CronJob Last Run Time 2025-01-06 20:20:00
[2025-01-06 20:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 20:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 20:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-06 20:20:03] Production.INFO: ==24032== Releasing lock...
[2025-01-06 20:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-06 20:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-06 20:20:03] Production.INFO: ==24036== Lock acquired, processing the job...
[2025-01-06 20:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:20:03] Production.INFO: ==24040== Lock acquired, processing the job...
[2025-01-06 20:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:20:03] Production.INFO: ==24045== Lock acquired, processing the job...
[2025-01-06 20:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-06 20:20:03] Production.INFO: ==24047== Lock acquired, processing the job...
[2025-01-06 20:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:20:03] Production.INFO: ==24042== Lock acquired, processing the job...
[2025-01-06 20:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:20:04] Production.INFO: Account Balance Start.
[2025-01-06 20:20:04] Production.INFO: CreateAllLog Start
[2025-01-06 20:20:04] Production.INFO: 117
[2025-01-06 20:20:04] Production.INFO: ==24036== Releasing lock...
[2025-01-06 20:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:20:04] Production.INFO: Date 2024-12-08
[2025-01-06 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-06 20:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:20:04] Production.INFO: count ==21
[2025-01-06 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-06 20:20:04] Production.INFO: count ==21
[2025-01-06 20:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189960') start
[2025-01-06 20:20:04] Production.INFO: Date 2024-12-09
[2025-01-06 20:20:04] Production.ERROR: done
[2025-01-06 20:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189960') end
[2025-01-06 20:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:20:04] Production.INFO: 1
[2025-01-06 20:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:20:04] Production.INFO: Date 2024-12-10
[2025-01-06 20:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:20:04] Production.INFO: Date 2024-12-11
[2025-01-06 20:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:20:04] Production.INFO: ==24047== Releasing lock...
[2025-01-06 20:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:20:04] Production.ERROR: done
[2025-01-06 20:20:04] Production.INFO: Date 2024-12-12
[2025-01-06 20:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-06 20:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14189961', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) start
[2025-01-06 20:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:20:04] Production.ERROR: done
[2025-01-06 20:20:04] Production.INFO: Date 2024-12-13
[2025-01-06 20:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:20:04] Production.INFO: Date 2024-12-14
[2025-01-06 20:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:20:04] Production.INFO: Date 2024-12-15
[2025-01-06 20:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:20:05] Production.INFO: Date 2024-12-16
[2025-01-06 20:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:20:05] Production.INFO: Date 2024-12-17
[2025-01-06 20:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:20:05] Production.INFO: Date 2024-12-18
[2025-01-06 20:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:20:05] Production.INFO: Date 2024-12-19
[2025-01-06 20:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:20:05] Production.INFO: Date 2024-12-20
[2025-01-06 20:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:20:05] Production.INFO: Date 2024-12-21
[2025-01-06 20:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:20:05] Production.INFO: Date 2024-12-22
[2025-01-06 20:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:20:05] Production.INFO: Date 2024-12-23
[2025-01-06 20:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:20:05] Production.INFO: Date 2024-12-24
[2025-01-06 20:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:20:05] Production.INFO: Date 2024-12-25
[2025-01-06 20:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:20:05] Production.INFO: Date 2024-12-26
[2025-01-06 20:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:20:05] Production.INFO: Date 2024-12-27
[2025-01-06 20:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:20:05] Production.INFO: Date 2024-12-28
[2025-01-06 20:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:20:05] Production.INFO: Date 2024-12-29
[2025-01-06 20:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:20:05] Production.INFO: Date 2024-12-30
[2025-01-06 20:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:20:05] Production.INFO: Date 2024-12-31
[2025-01-06 20:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:20:05] Production.INFO: Date 2025-01-01
[2025-01-06 20:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:20:05] Production.INFO: Date 2025-01-02
[2025-01-06 20:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:20:05] Production.INFO: Date 2025-01-03
[2025-01-06 20:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:20:05] Production.INFO: Date 2025-01-04
[2025-01-06 20:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:20:05] Production.INFO: Date 2025-01-05
[2025-01-06 20:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:20:05] Production.INFO: Date 2025-01-06
[2025-01-06 20:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:20:05] Production.INFO: Total Charge 0
[2025-01-06 20:20:05] Production.INFO: CreateAllLog End
[2025-01-06 20:20:05] Production.INFO: Account Balance End.
[2025-01-06 20:20:05] Production.ERROR: CronJobId end 12
[2025-01-06 20:20:05] Production.INFO: ==24040== Releasing lock...
[2025-01-06 20:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:20:06
[end_date_ymd] => 2025-01-06 20:20:06
[RateCDR] => 1
)
[2025-01-06 20:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 17:20:06' and `end` < '2025-01-06 20:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 20:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14189961', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) end
[2025-01-06 20:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-06 20:20:08] Production.INFO: ProcessCDR(1,14189961,1,1,2)
[2025-01-06 20:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14189961,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14189961,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:20:09] Production.INFO: ==24045== Releasing lock...
[2025-01-06 20:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-06 20:20:09] Production.INFO: 26 MB #Memory Used#
[2025-01-06 20:20:15] Production.ERROR: CronJobId end10
[2025-01-06 20:20:15] Production.INFO: ==24038== Releasing lock...
[2025-01-06 20:20:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:20:15] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:20:15] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:20:15] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:20:16] Production.INFO: call_cost start
[2025-01-06 20:20:16] Production.INFO: call_cost end
[2025-01-06 20:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:20:17] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:20:17] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:20:17] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:20:17] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:20:17] Production.INFO: ==24034== Releasing lock...
[2025-01-06 20:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:20:20] Production.INFO: count ==1604
[2025-01-06 20:20:20] Production.ERROR: pbx CDR StartTime 2025-01-06 17:20:06 - End Time 2025-01-06 20:20:06
[2025-01-06 20:20:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189962', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189962', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189962', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189962', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:20:20] Production.INFO: ProcessCDR(1,14189962,1,1,2)
[2025-01-06 20:20:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189962,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189962,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189962,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189962,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189962', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189962', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:20:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:20:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:20:23] Production.INFO: ==24042== Releasing lock...
[2025-01-06 20:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:20:23] Production.INFO: 39.75 MB #Memory Used#
[2025-01-07 01:21:02] Production.INFO: ==24111== Lock acquired, processing the job...
[2025-01-07 01:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:21:02] Production.INFO: neon service started
[2025-01-07 01:21:02] Production.INFO: neon service started
[2025-01-07 01:21:02] Production.INFO: ==24111== Releasing lock...
[2025-01-07 01:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:21:02] Production.INFO: ==24116== Lock acquired, processing the job...
[2025-01-07 01:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:21:02] Production.INFO: ==24116== Releasing lock...
[2025-01-07 01:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:21:02] Production.INFO: ==24114== Lock acquired, processing the job...
[2025-01-06 20:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 20:21:02] Production.INFO: ==24114== Releasing lock...
[2025-01-06 20:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 20:21:03] Production.INFO: ==24120== Lock acquired, processing the job...
[2025-01-06 20:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:21:03] Production.INFO: ==24122== Lock acquired, processing the job...
[2025-01-06 20:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:21:03] Production.INFO: ==24126== Lock acquired, processing the job...
[2025-01-06 20:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:21:03] Production.INFO: ==24122== Releasing lock...
[2025-01-06 20:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:21:03] Production.INFO: ==24124== Lock acquired, processing the job...
[2025-01-06 20:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:21:03] Production.INFO: Account Balance Start.
[2025-01-06 20:21:03] Production.INFO: CreateAllLog Start
[2025-01-06 20:21:03] Production.INFO: 117
[2025-01-06 20:21:03] Production.INFO: Date 2024-12-08
[2025-01-06 20:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:21:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:21:03] Production.INFO: ==24128== Lock acquired, processing the job...
[2025-01-06 20:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:21:03] Production.INFO: ==24130== Lock acquired, processing the job...
[2025-01-06 20:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:21:03] Production.INFO: Date 2024-12-09
[2025-01-06 20:21:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:21:04] Production.INFO: Date 2024-12-10
[2025-01-06 20:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:21:04] Production.INFO: Date 2024-12-11
[2025-01-06 20:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:21:04] Production.INFO: Date 2024-12-12
[2025-01-06 20:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 20:21:04] Production.INFO: Date 2024-12-13
[2025-01-06 20:21:04] Production.INFO: count ==21
[2025-01-06 20:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 20:21:04] Production.INFO: count ==21
[2025-01-06 20:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189966') start
[2025-01-06 20:21:04] Production.ERROR: done
[2025-01-06 20:21:04] Production.INFO: Date 2024-12-14
[2025-01-06 20:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189966') end
[2025-01-06 20:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:21:04] Production.INFO: 1
[2025-01-06 20:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:21:04] Production.INFO: Date 2024-12-15
[2025-01-06 20:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:21:04] Production.INFO: ==24130== Releasing lock...
[2025-01-06 20:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:21:04] Production.ERROR: done
[2025-01-06 20:21:04] Production.INFO: Date 2024-12-16
[2025-01-06 20:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:21:04] Production.INFO: Date 2024-12-17
[2025-01-06 20:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:21:04] Production.INFO: Date 2024-12-18
[2025-01-06 20:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:21:04] Production.INFO: Date 2024-12-19
[2025-01-06 20:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:21:04] Production.INFO: Date 2024-12-20
[2025-01-06 20:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:21:04] Production.INFO: Date 2024-12-21
[2025-01-06 20:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:21:05] Production.INFO: Date 2024-12-22
[2025-01-06 20:21:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:21:05] Production.INFO: Date 2024-12-23
[2025-01-06 20:21:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:21:05] Production.INFO: Date 2024-12-24
[2025-01-06 20:21:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:21:05] Production.INFO: Date 2024-12-25
[2025-01-06 20:21:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:21:05] Production.INFO: Date 2024-12-26
[2025-01-06 20:21:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:21:05] Production.INFO: Date 2024-12-27
[2025-01-06 20:21:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:21:05] Production.INFO: Date 2024-12-28
[2025-01-06 20:21:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:21:05] Production.INFO: Date 2024-12-29
[2025-01-06 20:21:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:21:05
[end_date_ymd] => 2025-01-06 20:21:05
[RateCDR] => 1
)
[2025-01-06 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-06 17:21:05' and `end` < '2025-01-06 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-06 20:21:05] Production.INFO: Date 2024-12-30
[2025-01-06 20:21:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:21:05] Production.INFO: Date 2024-12-31
[2025-01-06 20:21:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:21:05] Production.INFO: Date 2025-01-01
[2025-01-06 20:21:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:21:05] Production.INFO: Date 2025-01-02
[2025-01-06 20:21:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:21:05] Production.INFO: Date 2025-01-03
[2025-01-06 20:21:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:21:05] Production.INFO: Date 2025-01-04
[2025-01-06 20:21:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:21:06] Production.INFO: Date 2025-01-05
[2025-01-06 20:21:06] Production.INFO: Reseller ==> 0
[2025-01-06 20:21:06] Production.INFO: Date 2025-01-06
[2025-01-06 20:21:06] Production.INFO: Reseller ==> 0
[2025-01-06 20:21:06] Production.INFO: Total Charge 0
[2025-01-06 20:21:06] Production.INFO: CreateAllLog End
[2025-01-06 20:21:06] Production.INFO: Account Balance End.
[2025-01-06 20:21:06] Production.ERROR: CronJobId end 12
[2025-01-06 20:21:06] Production.INFO: ==24126== Releasing lock...
[2025-01-06 20:21:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:21:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:21:13] Production.ERROR: CronJobId end10
[2025-01-06 20:21:13] Production.INFO: ==24124== Releasing lock...
[2025-01-06 20:21:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:21:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:21:14] Production.INFO: call_cost start
[2025-01-06 20:21:14] Production.INFO: call_cost end
[2025-01-06 20:21:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:21:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:21:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:21:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:21:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:21:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:21:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:21:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:21:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:21:15] Production.INFO: ==24120== Releasing lock...
[2025-01-06 20:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:21:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:21:20] Production.INFO: count ==1556
[2025-01-06 20:21:21] Production.ERROR: pbx CDR StartTime 2025-01-06 17:21:05 - End Time 2025-01-06 20:21:05
[2025-01-06 20:21:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189967', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189967', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189967', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189967', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:21:21] Production.INFO: ProcessCDR(1,14189967,1,1,2)
[2025-01-06 20:21:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189967,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:21:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189967,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:21:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189967,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:21:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189967,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:21:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189967', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:21:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189967', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:21:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:21:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:21:24] Production.INFO: ==24128== Releasing lock...
[2025-01-06 20:21:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:21:24] Production.INFO: 40 MB #Memory Used#
[2025-01-07 01:22:01] Production.INFO: ==24195== Lock acquired, processing the job...
[2025-01-07 01:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:22:01] Production.INFO: neon service started
[2025-01-07 01:22:01] Production.INFO: neon service started
[2025-01-07 01:22:01] Production.INFO: ==24195== Releasing lock...
[2025-01-07 01:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:22:01] Production.INFO: ==24197== Lock acquired, processing the job...
[2025-01-06 20:22:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 20:22:02] Production.INFO: ==24197== Releasing lock...
[2025-01-06 20:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:22:02] Production.INFO: ==24199== Lock acquired, processing the job...
[2025-01-07 01:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:22:02] Production.INFO: ==24199== Releasing lock...
[2025-01-07 01:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:22:03] Production.INFO: ==24203== Lock acquired, processing the job...
[2025-01-06 20:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:22:03] Production.INFO: ==24205== Lock acquired, processing the job...
[2025-01-06 20:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:22:03] Production.INFO: ==24201== Lock acquired, processing the job...
[2025-01-06 20:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:22:03] Production.INFO: ==24209== Lock acquired, processing the job...
[2025-01-06 20:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:22:03] Production.INFO: ==24207== Lock acquired, processing the job...
[2025-01-06 20:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:22:03] Production.INFO: Account Balance Start.
[2025-01-06 20:22:03] Production.INFO: CreateAllLog Start
[2025-01-06 20:22:03] Production.INFO: 117
[2025-01-06 20:22:03] Production.INFO: Date 2024-12-08
[2025-01-06 20:22:03] Production.INFO: ==24212== Lock acquired, processing the job...
[2025-01-06 20:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:22:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:22:03] Production.INFO: ==24203== Releasing lock...
[2025-01-06 20:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:22:03] Production.INFO: Date 2024-12-09
[2025-01-06 20:22:03] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 20:22:03] Production.INFO: Date 2024-12-10
[2025-01-06 20:22:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:22:03] Production.INFO: Date 2024-12-11
[2025-01-06 20:22:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:22:03] Production.INFO: count ==21
[2025-01-06 20:22:03] Production.INFO: Date 2024-12-12
[2025-01-06 20:22:03] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 20:22:03] Production.INFO: count ==21
[2025-01-06 20:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189971') start
[2025-01-06 20:22:03] Production.ERROR: done
[2025-01-06 20:22:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:22:03] Production.INFO: Date 2024-12-13
[2025-01-06 20:22:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:22:03] Production.INFO: Date 2024-12-14
[2025-01-06 20:22:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189971') end
[2025-01-06 20:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:22:03] Production.INFO: 1
[2025-01-06 20:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:22:03] Production.INFO: Date 2024-12-15
[2025-01-06 20:22:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:22:03] Production.INFO: Date 2024-12-16
[2025-01-06 20:22:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:22:03] Production.INFO: ==24212== Releasing lock...
[2025-01-06 20:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:22:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:22:03] Production.INFO: Date 2024-12-17
[2025-01-06 20:22:03] Production.ERROR: done
[2025-01-06 20:22:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:22:03] Production.INFO: Date 2024-12-18
[2025-01-06 20:22:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:22:03] Production.INFO: Date 2024-12-19
[2025-01-06 20:22:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:22:04] Production.INFO: Date 2024-12-20
[2025-01-06 20:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:22:04] Production.INFO: Date 2024-12-21
[2025-01-06 20:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:22:04] Production.INFO: Date 2024-12-22
[2025-01-06 20:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:22:04] Production.INFO: Date 2024-12-23
[2025-01-06 20:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:22:04] Production.INFO: Date 2024-12-24
[2025-01-06 20:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:22:04] Production.INFO: Date 2024-12-25
[2025-01-06 20:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:22:04] Production.INFO: Date 2024-12-26
[2025-01-06 20:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:22:04] Production.INFO: Date 2024-12-27
[2025-01-06 20:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:22:04] Production.INFO: Date 2024-12-28
[2025-01-06 20:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:22:04] Production.INFO: Date 2024-12-29
[2025-01-06 20:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:22:04] Production.INFO: Date 2024-12-30
[2025-01-06 20:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:22:04] Production.INFO: Date 2024-12-31
[2025-01-06 20:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:22:04] Production.INFO: Date 2025-01-01
[2025-01-06 20:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:22:04] Production.INFO: Date 2025-01-02
[2025-01-06 20:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:22:04] Production.INFO: Date 2025-01-03
[2025-01-06 20:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:22:04] Production.INFO: Date 2025-01-04
[2025-01-06 20:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:22:04] Production.INFO: Date 2025-01-05
[2025-01-06 20:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:22:04] Production.INFO: Date 2025-01-06
[2025-01-06 20:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:22:04] Production.INFO: Total Charge 0
[2025-01-06 20:22:04] Production.INFO: CreateAllLog End
[2025-01-06 20:22:04] Production.INFO: Account Balance End.
[2025-01-06 20:22:04] Production.ERROR: CronJobId end 12
[2025-01-06 20:22:04] Production.INFO: ==24207== Releasing lock...
[2025-01-06 20:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:22:05
[end_date_ymd] => 2025-01-06 20:22:05
[RateCDR] => 1
)
[2025-01-06 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-06 17:22:05' and `end` < '2025-01-06 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-06 20:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:22:13] Production.ERROR: CronJobId end10
[2025-01-06 20:22:13] Production.INFO: ==24205== Releasing lock...
[2025-01-06 20:22:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:22:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:22:13] Production.INFO: call_cost start
[2025-01-06 20:22:13] Production.INFO: call_cost end
[2025-01-06 20:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:22:14] Production.INFO: ==24201== Releasing lock...
[2025-01-06 20:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:22:19] Production.INFO: count ==1548
[2025-01-06 20:22:19] Production.ERROR: pbx CDR StartTime 2025-01-06 17:22:05 - End Time 2025-01-06 20:22:05
[2025-01-06 20:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189972', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189972', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189972', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189972', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:22:19] Production.INFO: ProcessCDR(1,14189972,1,1,2)
[2025-01-06 20:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189972,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189972,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189972,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189972,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189972', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189972', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:22:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:22:23] Production.INFO: ==24209== Releasing lock...
[2025-01-06 20:22:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:22:23] Production.INFO: 40 MB #Memory Used#
[2025-01-07 01:23:01] Production.INFO: ==24293== Lock acquired, processing the job...
[2025-01-07 01:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:23:01] Production.INFO: neon service started
[2025-01-07 01:23:01] Production.INFO: neon service started
[2025-01-07 01:23:01] Production.INFO: ==24293== Releasing lock...
[2025-01-07 01:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:23:02] Production.INFO: ==24295== Lock acquired, processing the job...
[2025-01-06 20:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 20:23:02] Production.INFO: ==24295== Releasing lock...
[2025-01-06 20:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:23:02] Production.INFO: ==24297== Lock acquired, processing the job...
[2025-01-07 01:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:23:02] Production.INFO: ==24297== Releasing lock...
[2025-01-07 01:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:23:03] Production.INFO: ==24301== Lock acquired, processing the job...
[2025-01-06 20:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:23:03] Production.INFO: ==24309== Lock acquired, processing the job...
[2025-01-06 20:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:23:03] Production.INFO: ==24299== Lock acquired, processing the job...
[2025-01-06 20:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:23:03] Production.INFO: ==24301== Releasing lock...
[2025-01-06 20:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:23:03] Production.INFO: ==24303== Lock acquired, processing the job...
[2025-01-06 20:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 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-06 20:23:03] Production.INFO: ==24305== Lock acquired, processing the job...
[2025-01-06 20:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:23:03] Production.INFO: count ==21
[2025-01-06 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-06 20:23:03] Production.INFO: ==24307== Lock acquired, processing the job...
[2025-01-06 20:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:23:03] Production.INFO: count ==21
[2025-01-06 20:23:03] Production.INFO: Account Balance Start.
[2025-01-06 20:23:03] Production.INFO: CreateAllLog Start
[2025-01-06 20:23:03] Production.INFO: 117
[2025-01-06 20:23:03] Production.INFO: Date 2024-12-08
[2025-01-06 20:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189974') start
[2025-01-06 20:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:23:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189974') end
[2025-01-06 20:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:23:04] Production.INFO: 1
[2025-01-06 20:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:23:04] Production.INFO: Date 2024-12-09
[2025-01-06 20:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:23:04] Production.INFO: ==24309== Releasing lock...
[2025-01-06 20:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:23:04] Production.INFO: Date 2024-12-10
[2025-01-06 20:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:23:04] Production.ERROR: done
[2025-01-06 20:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:23:04] Production.INFO: Date 2024-12-11
[2025-01-06 20:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:23:04] Production.ERROR: done
[2025-01-06 20:23:04] Production.INFO: Date 2024-12-12
[2025-01-06 20:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:23:04] Production.INFO: Date 2024-12-13
[2025-01-06 20:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:23:04] Production.INFO: Date 2024-12-14
[2025-01-06 20:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:23:04] Production.INFO: Date 2024-12-15
[2025-01-06 20:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:23:04] Production.INFO: Date 2024-12-16
[2025-01-06 20:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:23:04] Production.INFO: Date 2024-12-17
[2025-01-06 20:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:23:04] Production.INFO: Date 2024-12-18
[2025-01-06 20:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:23:04] Production.INFO: Date 2024-12-19
[2025-01-06 20:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:23:04] Production.INFO: Date 2024-12-20
[2025-01-06 20:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:23:04] Production.INFO: Date 2024-12-21
[2025-01-06 20:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:23:04] Production.INFO: Date 2024-12-22
[2025-01-06 20:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:23:04] Production.INFO: Date 2024-12-23
[2025-01-06 20:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:23:04] Production.INFO: Date 2024-12-24
[2025-01-06 20:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:23:04] Production.INFO: Date 2024-12-25
[2025-01-06 20:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:23:04] Production.INFO: Date 2024-12-26
[2025-01-06 20:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:23:04] Production.INFO: Date 2024-12-27
[2025-01-06 20:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:23:04] Production.INFO: Date 2024-12-28
[2025-01-06 20:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:23:04] Production.INFO: Date 2024-12-29
[2025-01-06 20:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:23:04] Production.INFO: Date 2024-12-30
[2025-01-06 20:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:23:04] Production.INFO: Date 2024-12-31
[2025-01-06 20:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:23:04] Production.INFO: Date 2025-01-01
[2025-01-06 20:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:23:04] Production.INFO: Date 2025-01-02
[2025-01-06 20:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:23:04] Production.INFO: Date 2025-01-03
[2025-01-06 20:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:23:04] Production.INFO: Date 2025-01-04
[2025-01-06 20:23:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:23:05] Production.INFO: Date 2025-01-05
[2025-01-06 20:23:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:23:05] Production.INFO: Date 2025-01-06
[2025-01-06 20:23:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:23:05] Production.INFO: Total Charge 0
[2025-01-06 20:23:05] Production.INFO: CreateAllLog End
[2025-01-06 20:23:05] Production.INFO: Account Balance End.
[2025-01-06 20:23:05] Production.ERROR: CronJobId end 12
[2025-01-06 20:23:05] Production.INFO: ==24305== Releasing lock...
[2025-01-06 20:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:23:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:23:05
[end_date_ymd] => 2025-01-06 20:23:05
[RateCDR] => 1
)
[2025-01-06 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-06 17:23:05' and `end` < '2025-01-06 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-06 20:23:16] Production.ERROR: CronJobId end10
[2025-01-06 20:23:16] Production.INFO: ==24303== Releasing lock...
[2025-01-06 20:23:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:23:16] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:23:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:23:16] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:23:16] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:23:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:23:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:23:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:23:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:23:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:23:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:23:16] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:23:16] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:23:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:23:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:23:16] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:23:16] Production.INFO: call_cost start
[2025-01-06 20:23:16] Production.INFO: call_cost end
[2025-01-06 20:23:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:23:17] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:23:17] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:23:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:23:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:23:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:23:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:23:17] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:23:17] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:23:17] Production.INFO: ==24299== Releasing lock...
[2025-01-06 20:23:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:23:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:23:18] Production.INFO: count ==1543
[2025-01-06 20:23:18] Production.ERROR: pbx CDR StartTime 2025-01-06 17:23:05 - End Time 2025-01-06 20:23:05
[2025-01-06 20:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189977', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189977', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189977', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189977', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:23:18] Production.INFO: ProcessCDR(1,14189977,1,1,2)
[2025-01-06 20:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189977,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189977,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189977,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189977,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189977', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189977', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:23:21] Production.INFO: ==24307== Releasing lock...
[2025-01-06 20:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:23:21] Production.INFO: 39.75 MB #Memory Used#
[2025-01-07 01:24:02] Production.INFO: ==24377== Lock acquired, processing the job...
[2025-01-07 01:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:24:02] Production.INFO: neon service started
[2025-01-07 01:24:02] Production.INFO: neon service started
[2025-01-07 01:24:02] Production.INFO: ==24377== Releasing lock...
[2025-01-07 01:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:24:02] Production.INFO: ==24379== Lock acquired, processing the job...
[2025-01-06 20:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 20:24:02] Production.INFO: ==24379== Releasing lock...
[2025-01-06 20:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:24:03] Production.INFO: ==24381== Lock acquired, processing the job...
[2025-01-07 01:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:24:03] Production.INFO: ==24381== Releasing lock...
[2025-01-07 01:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:24:03] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:24:03] Production.INFO: ==24383== Lock acquired, processing the job...
[2025-01-06 20:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:24:03] Production.INFO: ==24389== Lock acquired, processing the job...
[2025-01-06 20:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:24:04] Production.INFO: ==24393== Lock acquired, processing the job...
[2025-01-06 20:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:24:04] Production.INFO: ==24387== Lock acquired, processing the job...
[2025-01-06 20:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:24:04] Production.INFO: ==24385== Lock acquired, processing the job...
[2025-01-06 20:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:24:04] Production.INFO: Account Balance Start.
[2025-01-06 20:24:04] Production.INFO: CreateAllLog Start
[2025-01-06 20:24:04] Production.INFO: 117
[2025-01-06 20:24:04] Production.INFO: Date 2024-12-08
[2025-01-06 20:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:24:04] Production.INFO: ==24391== Lock acquired, processing the job...
[2025-01-06 20:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:24:04] Production.INFO: Date 2024-12-09
[2025-01-06 20:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:24:04] Production.INFO: count ==21
[2025-01-06 20:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:24:04] Production.INFO: count ==21
[2025-01-06 20:24:04] Production.INFO: Date 2024-12-10
[2025-01-06 20:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189980') start
[2025-01-06 20:24:04] Production.INFO: Date 2024-12-11
[2025-01-06 20:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:24:04] Production.INFO: Date 2024-12-12
[2025-01-06 20:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189980') end
[2025-01-06 20:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:24:04] Production.INFO: 1
[2025-01-06 20:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:24:04] Production.INFO: Date 2024-12-13
[2025-01-06 20:24:04] Production.ERROR: done
[2025-01-06 20:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:24:04] Production.INFO: ==24393== Releasing lock...
[2025-01-06 20:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:24:04] Production.INFO: Date 2024-12-14
[2025-01-06 20:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:24:04] Production.INFO: Date 2024-12-15
[2025-01-06 20:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:24:04] Production.INFO: Date 2024-12-16
[2025-01-06 20:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:24:04] Production.INFO: ==24385== Releasing lock...
[2025-01-06 20:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:24:04] Production.ERROR: done
[2025-01-06 20:24:04] Production.INFO: Date 2024-12-17
[2025-01-06 20:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:24:04] Production.INFO: Date 2024-12-18
[2025-01-06 20:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:24:04] Production.INFO: Date 2024-12-19
[2025-01-06 20:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:24:04] Production.INFO: Date 2024-12-20
[2025-01-06 20:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:24:04] Production.INFO: Date 2024-12-21
[2025-01-06 20:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:24:05] Production.INFO: Date 2024-12-22
[2025-01-06 20:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:24:05] Production.INFO: Date 2024-12-23
[2025-01-06 20:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:24:05] Production.INFO: Date 2024-12-24
[2025-01-06 20:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:24:05] Production.INFO: Date 2024-12-25
[2025-01-06 20:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:24:05] Production.INFO: Date 2024-12-26
[2025-01-06 20:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:24:05] Production.INFO: Date 2024-12-27
[2025-01-06 20:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:24:05] Production.INFO: Date 2024-12-28
[2025-01-06 20:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:24:05] Production.INFO: Date 2024-12-29
[2025-01-06 20:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:24:05] Production.INFO: Date 2024-12-30
[2025-01-06 20:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:24:05] Production.INFO: Date 2024-12-31
[2025-01-06 20:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:24:05] Production.INFO: Date 2025-01-01
[2025-01-06 20:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:24:05] Production.INFO: Date 2025-01-02
[2025-01-06 20:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:24:05] Production.INFO: Date 2025-01-03
[2025-01-06 20:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:24:05] Production.INFO: Date 2025-01-04
[2025-01-06 20:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:24:05] Production.INFO: Date 2025-01-05
[2025-01-06 20:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:24:05] Production.INFO: Date 2025-01-06
[2025-01-06 20:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:24:05] Production.INFO: Total Charge 0
[2025-01-06 20:24:05] Production.INFO: CreateAllLog End
[2025-01-06 20:24:05] Production.INFO: Account Balance End.
[2025-01-06 20:24:05] Production.ERROR: CronJobId end 12
[2025-01-06 20:24:05] Production.INFO: ==24389== Releasing lock...
[2025-01-06 20:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:24:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:24:05
[end_date_ymd] => 2025-01-06 20:24:05
[RateCDR] => 1
)
[2025-01-06 20:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 17:24:05' and `end` < '2025-01-06 20:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 20:24:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:24:15] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:24:15] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:24:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:24:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:24:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:24:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:24:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:24:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:24:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:24:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:24:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:24:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:24:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:24:15] Production.ERROR: CronJobId end10
[2025-01-06 20:24:15] Production.INFO: ==24387== Releasing lock...
[2025-01-06 20:24:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:24:15] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:24:15] Production.INFO: call_cost start
[2025-01-06 20:24:15] Production.INFO: call_cost end
[2025-01-06 20:24:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:24:16] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:24:16] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:24:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:24:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:24:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:24:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:24:16] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:24:16] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:24:16] Production.INFO: ==24383== Releasing lock...
[2025-01-06 20:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:24:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:24:19] Production.INFO: count ==1536
[2025-01-06 20:24:19] Production.ERROR: pbx CDR StartTime 2025-01-06 17:24:05 - End Time 2025-01-06 20:24:05
[2025-01-06 20:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189982', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189982', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189982', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189982', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:24:19] Production.INFO: ProcessCDR(1,14189982,1,1,2)
[2025-01-06 20:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189982,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189982,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189982,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189982,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189982', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189982', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:24:22] Production.INFO: ==24391== Releasing lock...
[2025-01-06 20:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:24:22] Production.INFO: 39.5 MB #Memory Used#
[2025-01-07 01:25:01] Production.INFO: ==24462== Lock acquired, processing the job...
[2025-01-07 01:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:25:01] Production.INFO: neon service started
[2025-01-07 01:25:01] Production.INFO: neon service started
[2025-01-07 01:25:01] Production.INFO: ==24462== Releasing lock...
[2025-01-07 01:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:25:02] Production.INFO: ==24464== Lock acquired, processing the job...
[2025-01-06 20:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 20:25:02] Production.INFO: ==24464== Releasing lock...
[2025-01-06 20:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:25:02] Production.INFO: ==24466== Lock acquired, processing the job...
[2025-01-07 01:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:25:02] Production.INFO: ==24466== Releasing lock...
[2025-01-07 01:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:25:03] Production.INFO: ==24469== Lock acquired, processing the job...
[2025-01-06 20:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:25:03] Production.INFO: ==24471== Lock acquired, processing the job...
[2025-01-06 20:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:25:03] Production.INFO: ==24477== Lock acquired, processing the job...
[2025-01-06 20:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:25:03] Production.INFO: ==24473== Lock acquired, processing the job...
[2025-01-06 20:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:25:03] Production.INFO: ==24475== Lock acquired, processing the job...
[2025-01-06 20:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:25:03] Production.INFO: ==24479== Lock acquired, processing the job...
[2025-01-06 20:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:25:03] Production.INFO: Account Balance Start.
[2025-01-06 20:25:03] Production.INFO: CreateAllLog Start
[2025-01-06 20:25:03] Production.INFO: 117
[2025-01-06 20:25:03] Production.INFO: count ==21
[2025-01-06 20:25:03] Production.ERROR: done
[2025-01-06 20:25:03] Production.INFO: ==24471== Releasing lock...
[2025-01-06 20:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:25:03] Production.INFO: count ==21
[2025-01-06 20:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189985') start
[2025-01-06 20:25:03] Production.INFO: Date 2024-12-08
[2025-01-06 20:25:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:25:03] Production.INFO: Date 2024-12-09
[2025-01-06 20:25:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:25:03] Production.INFO: Date 2024-12-10
[2025-01-06 20:25:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:25:03] Production.INFO: Date 2024-12-11
[2025-01-06 20:25:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:25:03] Production.ERROR: done
[2025-01-06 20:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189985') end
[2025-01-06 20:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:25:03] Production.INFO: 1
[2025-01-06 20:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:25:03] Production.INFO: Date 2024-12-12
[2025-01-06 20:25:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:25:03] Production.INFO: Date 2024-12-13
[2025-01-06 20:25:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:25:03] Production.INFO: Date 2024-12-14
[2025-01-06 20:25:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:25:03] Production.INFO: ==24479== Releasing lock...
[2025-01-06 20:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:25:03] Production.INFO: Date 2024-12-15
[2025-01-06 20:25:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:25:04] Production.INFO: Date 2024-12-16
[2025-01-06 20:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:25:04] Production.INFO: Date 2024-12-17
[2025-01-06 20:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:25:04] Production.INFO: Date 2024-12-18
[2025-01-06 20:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:25:04] Production.INFO: Date 2024-12-19
[2025-01-06 20:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:25:04] Production.INFO: Date 2024-12-20
[2025-01-06 20:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:25:04] Production.INFO: Date 2024-12-21
[2025-01-06 20:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:25:04] Production.INFO: Date 2024-12-22
[2025-01-06 20:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:25:04] Production.INFO: Date 2024-12-23
[2025-01-06 20:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:25:04] Production.INFO: Date 2024-12-24
[2025-01-06 20:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:25:04] Production.INFO: Date 2024-12-25
[2025-01-06 20:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:25:04] Production.INFO: Date 2024-12-26
[2025-01-06 20:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:25:04] Production.INFO: Date 2024-12-27
[2025-01-06 20:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:25:04] Production.INFO: Date 2024-12-28
[2025-01-06 20:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:25:04] Production.INFO: Date 2024-12-29
[2025-01-06 20:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:25:04] Production.INFO: Date 2024-12-30
[2025-01-06 20:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:25:04] Production.INFO: Date 2024-12-31
[2025-01-06 20:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:25:04] Production.INFO: Date 2025-01-01
[2025-01-06 20:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:25:04] Production.INFO: Date 2025-01-02
[2025-01-06 20:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:25:04] Production.INFO: Date 2025-01-03
[2025-01-06 20:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:25:04] Production.INFO: Date 2025-01-04
[2025-01-06 20:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:25:04] Production.INFO: Date 2025-01-05
[2025-01-06 20:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:25:05
[end_date_ymd] => 2025-01-06 20:25:05
[RateCDR] => 1
)
[2025-01-06 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-06 17:25:05' and `end` < '2025-01-06 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-06 20:25:05] Production.INFO: Date 2025-01-06
[2025-01-06 20:25:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:25:05] Production.INFO: Total Charge 0
[2025-01-06 20:25:05] Production.INFO: CreateAllLog End
[2025-01-06 20:25:05] Production.INFO: Account Balance End.
[2025-01-06 20:25:05] Production.ERROR: CronJobId end 12
[2025-01-06 20:25:05] Production.INFO: ==24475== Releasing lock...
[2025-01-06 20:25:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:25:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:25:12] Production.ERROR: CronJobId end10
[2025-01-06 20:25:12] Production.INFO: ==24473== Releasing lock...
[2025-01-06 20:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:25:14] Production.INFO: call_cost start
[2025-01-06 20:25:14] Production.INFO: call_cost end
[2025-01-06 20:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:25:14] Production.INFO: ==24469== Releasing lock...
[2025-01-06 20:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:25:17] Production.INFO: count ==1532
[2025-01-06 20:25:18] Production.ERROR: pbx CDR StartTime 2025-01-06 17:25:05 - End Time 2025-01-06 20:25:05
[2025-01-06 20:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189987', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189987', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189987', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189987', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:25:18] Production.INFO: ProcessCDR(1,14189987,1,1,2)
[2025-01-06 20:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189987,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189987,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189987,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189987,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189987', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189987', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:25:21] Production.INFO: ==24477== Releasing lock...
[2025-01-06 20:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:25:21] Production.INFO: 39.75 MB #Memory Used#
[2025-01-07 01:26:02] Production.INFO: ==24546== Lock acquired, processing the job...
[2025-01-07 01:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:26:02] Production.INFO: neon service started
[2025-01-07 01:26:02] Production.INFO: neon service started
[2025-01-07 01:26:02] Production.INFO: ==24546== Releasing lock...
[2025-01-07 01:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:26:02] Production.INFO: ==24551== Lock acquired, processing the job...
[2025-01-07 01:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:26:02] Production.INFO: ==24551== Releasing lock...
[2025-01-07 01:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:26:02] Production.INFO: ==24549== Lock acquired, processing the job...
[2025-01-06 20:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 20:26:02] Production.INFO: ==24549== Releasing lock...
[2025-01-06 20:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 20:26:03] Production.INFO: ==24554== Lock acquired, processing the job...
[2025-01-06 20:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:26:03] Production.INFO: ==24558== Lock acquired, processing the job...
[2025-01-06 20:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:26:03] Production.INFO: ==24556== Lock acquired, processing the job...
[2025-01-06 20:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:26:03] Production.INFO: ==24564== Lock acquired, processing the job...
[2025-01-06 20:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:26:04] Production.INFO: ==24560== Lock acquired, processing the job...
[2025-01-06 20:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:26:04] Production.INFO: ==24562== Lock acquired, processing the job...
[2025-01-06 20:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:26:04] Production.INFO: count ==21
[2025-01-06 20:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:26:04] Production.INFO: Account Balance Start.
[2025-01-06 20:26:04] Production.INFO: CreateAllLog Start
[2025-01-06 20:26:04] Production.INFO: 117
[2025-01-06 20:26:04] Production.INFO: ==24556== Releasing lock...
[2025-01-06 20:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:26:04] Production.INFO: count ==21
[2025-01-06 20:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189990') start
[2025-01-06 20:26:04] Production.INFO: Date 2024-12-08
[2025-01-06 20:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:26:04] Production.INFO: Date 2024-12-09
[2025-01-06 20:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189990') end
[2025-01-06 20:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:26:04] Production.INFO: 1
[2025-01-06 20:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:26:04] Production.INFO: Date 2024-12-10
[2025-01-06 20:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:26:04] Production.ERROR: done
[2025-01-06 20:26:04] Production.INFO: ==24564== Releasing lock...
[2025-01-06 20:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:26:04] Production.INFO: Date 2024-12-11
[2025-01-06 20:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:26:04] Production.INFO: Date 2024-12-12
[2025-01-06 20:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:26:04] Production.INFO: Date 2024-12-13
[2025-01-06 20:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:26:04] Production.INFO: Date 2024-12-14
[2025-01-06 20:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:26:04] Production.ERROR: done
[2025-01-06 20:26:04] Production.INFO: Date 2024-12-15
[2025-01-06 20:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:26:04] Production.INFO: Date 2024-12-16
[2025-01-06 20:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:26:04] Production.INFO: Date 2024-12-17
[2025-01-06 20:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:26:04] Production.INFO: Date 2024-12-18
[2025-01-06 20:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:26:05] Production.INFO: Date 2024-12-19
[2025-01-06 20:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:26:05] Production.INFO: Date 2024-12-20
[2025-01-06 20:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:26:05] Production.INFO: Date 2024-12-21
[2025-01-06 20:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:26:05] Production.INFO: Date 2024-12-22
[2025-01-06 20:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:26:05] Production.INFO: Date 2024-12-23
[2025-01-06 20:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:26:05] Production.INFO: Date 2024-12-24
[2025-01-06 20:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:26:05] Production.INFO: Date 2024-12-25
[2025-01-06 20:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:26:05] Production.INFO: Date 2024-12-26
[2025-01-06 20:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:26:05] Production.INFO: Date 2024-12-27
[2025-01-06 20:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:26:05] Production.INFO: Date 2024-12-28
[2025-01-06 20:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:26:05] Production.INFO: Date 2024-12-29
[2025-01-06 20:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:26:05] Production.INFO: Date 2024-12-30
[2025-01-06 20:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:26:05] Production.INFO: Date 2024-12-31
[2025-01-06 20:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:26:05] Production.INFO: Date 2025-01-01
[2025-01-06 20:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:26:05] Production.INFO: Date 2025-01-02
[2025-01-06 20:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:26:05] Production.INFO: Date 2025-01-03
[2025-01-06 20:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:26:05] Production.INFO: Date 2025-01-04
[2025-01-06 20:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:26:05
[end_date_ymd] => 2025-01-06 20:26:05
[RateCDR] => 1
)
[2025-01-06 20:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 17:26:05' and `end` < '2025-01-06 20:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 20:26:05] Production.INFO: Date 2025-01-05
[2025-01-06 20:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:26:05] Production.INFO: Date 2025-01-06
[2025-01-06 20:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:26:05] Production.INFO: Total Charge 0
[2025-01-06 20:26:05] Production.INFO: CreateAllLog End
[2025-01-06 20:26:05] Production.INFO: Account Balance End.
[2025-01-06 20:26:06] Production.ERROR: CronJobId end 12
[2025-01-06 20:26:06] Production.INFO: ==24560== Releasing lock...
[2025-01-06 20:26:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:26:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:26:12] Production.ERROR: CronJobId end10
[2025-01-06 20:26:12] Production.INFO: ==24558== Releasing lock...
[2025-01-06 20:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:26:14] Production.INFO: call_cost start
[2025-01-06 20:26:14] Production.INFO: call_cost end
[2025-01-06 20:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:26:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:26:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:26:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:26:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:26:15] Production.INFO: ==24554== Releasing lock...
[2025-01-06 20:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:26:18] Production.INFO: count ==1523
[2025-01-06 20:26:18] Production.ERROR: pbx CDR StartTime 2025-01-06 17:26:05 - End Time 2025-01-06 20:26:05
[2025-01-06 20:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189992', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189992', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189992', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189992', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:26:19] Production.INFO: ProcessCDR(1,14189992,1,1,2)
[2025-01-06 20:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189992,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189992,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189992,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189992,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189992', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189992', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:26:21] Production.INFO: ==24562== Releasing lock...
[2025-01-06 20:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:26:21] Production.INFO: 39.75 MB #Memory Used#
[2025-01-07 01:27:01] Production.INFO: ==24669== Lock acquired, processing the job...
[2025-01-07 01:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:27:01] Production.INFO: neon service started
[2025-01-07 01:27:01] Production.INFO: neon service started
[2025-01-07 01:27:01] Production.INFO: ==24669== Releasing lock...
[2025-01-07 01:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:27:02] Production.INFO: ==24671== Lock acquired, processing the job...
[2025-01-06 20:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:27:02] Production.INFO: ==24673== Lock acquired, processing the job...
[2025-01-07 01:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:27:02] Production.INFO: ==24673== Releasing lock...
[2025-01-07 01:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:27:02] Production.INFO: ==24671== Releasing lock...
[2025-01-06 20:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:27:02] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:27:03] Production.INFO: ==24676== Lock acquired, processing the job...
[2025-01-06 20:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:27:03] Production.INFO: ==24678== Lock acquired, processing the job...
[2025-01-06 20:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:27:03] Production.INFO: ==24687== Lock acquired, processing the job...
[2025-01-06 20:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:27:03] Production.INFO: ==24680== Lock acquired, processing the job...
[2025-01-06 20:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:27:03] Production.INFO: ==24682== Lock acquired, processing the job...
[2025-01-06 20:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:27:03] Production.INFO: count ==21
[2025-01-06 20:27:03] Production.INFO: ==24678== Releasing lock...
[2025-01-06 20:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:27:03] Production.INFO: count ==21
[2025-01-06 20:27:03] Production.INFO: ==24685== Lock acquired, processing the job...
[2025-01-06 20:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189995') start
[2025-01-06 20:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:27:03] Production.INFO: Account Balance Start.
[2025-01-06 20:27:03] Production.INFO: CreateAllLog Start
[2025-01-06 20:27:03] Production.INFO: 117
[2025-01-06 20:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:27:03] Production.INFO: Date 2024-12-08
[2025-01-06 20:27:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:27:03] Production.INFO: Date 2024-12-09
[2025-01-06 20:27:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189995') end
[2025-01-06 20:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:27:03] Production.INFO: 1
[2025-01-06 20:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:27:03] Production.INFO: Date 2024-12-10
[2025-01-06 20:27:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:27:03] Production.INFO: ==24687== Releasing lock...
[2025-01-06 20:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:27:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:27:03] Production.INFO: Date 2024-12-11
[2025-01-06 20:27:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:27:03] Production.INFO: Date 2024-12-12
[2025-01-06 20:27:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:27:03] Production.INFO: Date 2024-12-13
[2025-01-06 20:27:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:27:03] Production.INFO: Date 2024-12-14
[2025-01-06 20:27:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:27:04] Production.INFO: Date 2024-12-15
[2025-01-06 20:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:27:04] Production.INFO: Date 2024-12-16
[2025-01-06 20:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:27:04] Production.ERROR: done
[2025-01-06 20:27:04] Production.INFO: Date 2024-12-17
[2025-01-06 20:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:27:04] Production.INFO: Date 2024-12-18
[2025-01-06 20:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:27:04] Production.INFO: Date 2024-12-19
[2025-01-06 20:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:27:04] Production.INFO: Date 2024-12-20
[2025-01-06 20:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:27:04] Production.ERROR: done
[2025-01-06 20:27:04] Production.INFO: Date 2024-12-21
[2025-01-06 20:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:27:04] Production.INFO: Date 2024-12-22
[2025-01-06 20:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:27:04] Production.INFO: Date 2024-12-23
[2025-01-06 20:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:27:04] Production.INFO: Date 2024-12-24
[2025-01-06 20:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:27:04] Production.INFO: Date 2024-12-25
[2025-01-06 20:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:27:04] Production.INFO: Date 2024-12-26
[2025-01-06 20:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:27:04] Production.INFO: Date 2024-12-27
[2025-01-06 20:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:27:04] Production.INFO: Date 2024-12-28
[2025-01-06 20:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:27:04] Production.INFO: Date 2024-12-29
[2025-01-06 20:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:27:04] Production.INFO: Date 2024-12-30
[2025-01-06 20:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:27:04] Production.INFO: Date 2024-12-31
[2025-01-06 20:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:27:04] Production.INFO: Date 2025-01-01
[2025-01-06 20:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:27:04] Production.INFO: Date 2025-01-02
[2025-01-06 20:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:27:04] Production.INFO: Date 2025-01-03
[2025-01-06 20:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:27:04] Production.INFO: Date 2025-01-04
[2025-01-06 20:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:27:04] Production.INFO: Date 2025-01-05
[2025-01-06 20:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:27:04] Production.INFO: Date 2025-01-06
[2025-01-06 20:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:27:04] Production.INFO: Total Charge 0
[2025-01-06 20:27:04] Production.INFO: CreateAllLog End
[2025-01-06 20:27:04] Production.INFO: Account Balance End.
[2025-01-06 20:27:05] Production.ERROR: CronJobId end 12
[2025-01-06 20:27:05] Production.INFO: ==24682== Releasing lock...
[2025-01-06 20:27:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:27:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:27:05
[end_date_ymd] => 2025-01-06 20:27:05
[RateCDR] => 1
)
[2025-01-06 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-06 17:27:05' and `end` < '2025-01-06 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-06 20:27:11] Production.ERROR: CronJobId end10
[2025-01-06 20:27:11] Production.INFO: ==24680== Releasing lock...
[2025-01-06 20:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:27:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:27:12] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:27:12] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:27:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:27:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:27:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:27:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:27:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:27:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:27:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:27:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:27:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:27:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:27:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:27:13] Production.INFO: call_cost start
[2025-01-06 20:27:13] Production.INFO: call_cost end
[2025-01-06 20:27:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:27:13] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:27:13] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:27:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:27:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:27:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:27:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:27:13] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:27:13] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:27:13] Production.INFO: ==24676== Releasing lock...
[2025-01-06 20:27:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:27:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:27:18] Production.INFO: count ==1525
[2025-01-06 20:27:18] Production.ERROR: pbx CDR StartTime 2025-01-06 17:27:05 - End Time 2025-01-06 20:27:05
[2025-01-06 20:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189997', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14189997', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189997', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14189997', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:27:18] Production.INFO: ProcessCDR(1,14189997,1,1,2)
[2025-01-06 20:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14189997,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14189997,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14189997,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14189997,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189997', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14189997', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:27:21] Production.INFO: ==24685== Releasing lock...
[2025-01-06 20:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:27:21] Production.INFO: 39.75 MB #Memory Used#
[2025-01-07 01:28:02] Production.INFO: ==24749== Lock acquired, processing the job...
[2025-01-07 01:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:28:02] Production.INFO: neon service started
[2025-01-07 01:28:02] Production.INFO: neon service started
[2025-01-07 01:28:02] Production.INFO: ==24749== Releasing lock...
[2025-01-07 01:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:28:02] Production.INFO: ==24751== Lock acquired, processing the job...
[2025-01-06 20:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 20:28:02] Production.INFO: ==24751== Releasing lock...
[2025-01-06 20:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:28:02] Production.INFO: ==24753== Lock acquired, processing the job...
[2025-01-07 01:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:28:02] Production.INFO: ==24753== Releasing lock...
[2025-01-07 01:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:28:03] Production.INFO: ==24762== Lock acquired, processing the job...
[2025-01-06 20:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:28:03] Production.INFO: ==24768== Lock acquired, processing the job...
[2025-01-06 20:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:28:03] Production.INFO: count ==21
[2025-01-06 20:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:28:03] Production.INFO: count ==21
[2025-01-06 20:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14189998') start
[2025-01-06 20:28:03] Production.INFO: ==24760== Lock acquired, processing the job...
[2025-01-06 20:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14189998') end
[2025-01-06 20:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:28:04] Production.INFO: 1
[2025-01-06 20:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:28:04] Production.INFO: ==24758== Lock acquired, processing the job...
[2025-01-06 20:28:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:28:04] Production.INFO: ==24768== Releasing lock...
[2025-01-06 20:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:28:04] Production.INFO: ==24764== Lock acquired, processing the job...
[2025-01-06 20:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:28:04] Production.INFO: ==24766== Lock acquired, processing the job...
[2025-01-06 20:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:28:04] Production.INFO: Account Balance Start.
[2025-01-06 20:28:04] Production.INFO: CreateAllLog Start
[2025-01-06 20:28:04] Production.INFO: 117
[2025-01-06 20:28:04] Production.INFO: Date 2024-12-08
[2025-01-06 20:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:28:04] Production.INFO: Date 2024-12-09
[2025-01-06 20:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:28:04] Production.INFO: Date 2024-12-10
[2025-01-06 20:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:28:04] Production.INFO: Date 2024-12-11
[2025-01-06 20:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:28:04] Production.INFO: Date 2024-12-12
[2025-01-06 20:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:28:04] Production.INFO: Date 2024-12-13
[2025-01-06 20:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:28:04] Production.INFO: Date 2024-12-14
[2025-01-06 20:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:28:04] Production.ERROR: done
[2025-01-06 20:28:04] Production.INFO: Date 2024-12-15
[2025-01-06 20:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:28:04] Production.INFO: Date 2024-12-16
[2025-01-06 20:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:28:04] Production.INFO: Date 2024-12-17
[2025-01-06 20:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:28:04] Production.INFO: ==24760== Releasing lock...
[2025-01-06 20:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:28:04] Production.ERROR: done
[2025-01-06 20:28:04] Production.INFO: Date 2024-12-18
[2025-01-06 20:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:28:04] Production.INFO: Date 2024-12-19
[2025-01-06 20:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:28:04] Production.INFO: Date 2024-12-20
[2025-01-06 20:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:28:04] Production.INFO: Date 2024-12-21
[2025-01-06 20:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:28:04] Production.INFO: Date 2024-12-22
[2025-01-06 20:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:28:04] Production.INFO: Date 2024-12-23
[2025-01-06 20:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:28:04] Production.INFO: Date 2024-12-24
[2025-01-06 20:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:28:04] Production.INFO: Date 2024-12-25
[2025-01-06 20:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:28:04] Production.INFO: Date 2024-12-26
[2025-01-06 20:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:28:04] Production.INFO: Date 2024-12-27
[2025-01-06 20:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:28:04] Production.INFO: Date 2024-12-28
[2025-01-06 20:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:28:04] Production.INFO: Date 2024-12-29
[2025-01-06 20:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:28:05] Production.INFO: Date 2024-12-30
[2025-01-06 20:28:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:28:05] Production.INFO: Date 2024-12-31
[2025-01-06 20:28:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:28:05] Production.INFO: Date 2025-01-01
[2025-01-06 20:28:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:28:05] Production.INFO: Date 2025-01-02
[2025-01-06 20:28:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:28:05] Production.INFO: Date 2025-01-03
[2025-01-06 20:28:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:28:05] Production.INFO: Date 2025-01-04
[2025-01-06 20:28:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:28:05] Production.INFO: Date 2025-01-05
[2025-01-06 20:28:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:28:05] Production.INFO: Date 2025-01-06
[2025-01-06 20:28:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:28:05] Production.INFO: Total Charge 0
[2025-01-06 20:28:05] Production.INFO: CreateAllLog End
[2025-01-06 20:28:05] Production.INFO: Account Balance End.
[2025-01-06 20:28:05] Production.ERROR: CronJobId end 12
[2025-01-06 20:28:05] Production.INFO: ==24764== Releasing lock...
[2025-01-06 20:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:28:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:28:05
[end_date_ymd] => 2025-01-06 20:28:05
[RateCDR] => 1
)
[2025-01-06 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-06 17:28:05' and `end` < '2025-01-06 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-06 20:28:13] Production.ERROR: CronJobId end10
[2025-01-06 20:28:13] Production.INFO: ==24762== Releasing lock...
[2025-01-06 20:28:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:28:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:28:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:28:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:28:14] Production.INFO: call_cost start
[2025-01-06 20:28:14] Production.INFO: call_cost end
[2025-01-06 20:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:28:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:28:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:28:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:28:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:28:15] Production.INFO: ==24758== Releasing lock...
[2025-01-06 20:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:28:19] Production.INFO: count ==1506
[2025-01-06 20:28:20] Production.ERROR: pbx CDR StartTime 2025-01-06 17:28:05 - End Time 2025-01-06 20:28:05
[2025-01-06 20:28:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190002', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190002', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190002', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190002', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:28:20] Production.INFO: ProcessCDR(1,14190002,1,1,2)
[2025-01-06 20:28:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190002,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:28:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190002,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:28:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190002,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:28:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190002,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190002', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190002', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:28:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:28:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:28:23] Production.INFO: ==24766== Releasing lock...
[2025-01-06 20:28:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:28:23] Production.INFO: 39.25 MB #Memory Used#
[2025-01-07 01:29:01] Production.INFO: ==24834== Lock acquired, processing the job...
[2025-01-07 01:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:29:01] Production.INFO: neon service started
[2025-01-07 01:29:01] Production.INFO: neon service started
[2025-01-07 01:29:01] Production.INFO: ==24834== Releasing lock...
[2025-01-07 01:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:29:01] Production.INFO: ==24837== Lock acquired, processing the job...
[2025-01-06 20:29:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 20:29:02] Production.INFO: ==24837== Releasing lock...
[2025-01-06 20:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:29:02] Production.INFO: ==24839== Lock acquired, processing the job...
[2025-01-07 01:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:29:02] Production.INFO: ==24839== Releasing lock...
[2025-01-07 01:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:29:03] Production.INFO: ==24844== Lock acquired, processing the job...
[2025-01-06 20:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:29:03] Production.INFO: ==24852== Lock acquired, processing the job...
[2025-01-06 20:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 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-06 20:29:03] Production.INFO: count ==21
[2025-01-06 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-06 20:29:03] Production.INFO: count ==21
[2025-01-06 20:29:03] Production.INFO: ==24842== Lock acquired, processing the job...
[2025-01-06 20:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190004') start
[2025-01-06 20:29:03] Production.INFO: ==24846== Lock acquired, processing the job...
[2025-01-06 20:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190004') end
[2025-01-06 20:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:29:03] Production.INFO: 1
[2025-01-06 20:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:29:03] Production.INFO: ==24852== Releasing lock...
[2025-01-06 20:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:29:03] Production.INFO: ==24848== Lock acquired, processing the job...
[2025-01-06 20:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:29:03] Production.INFO: ==24850== Lock acquired, processing the job...
[2025-01-06 20:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:29:03] Production.INFO: ==24844== Releasing lock...
[2025-01-06 20:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:29:03] Production.INFO: Account Balance Start.
[2025-01-06 20:29:03] Production.INFO: CreateAllLog Start
[2025-01-06 20:29:03] Production.INFO: 117
[2025-01-06 20:29:03] Production.INFO: Date 2024-12-08
[2025-01-06 20:29:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:29:03] Production.INFO: Date 2024-12-09
[2025-01-06 20:29:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:29:03] Production.INFO: Date 2024-12-10
[2025-01-06 20:29:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:29:03] Production.ERROR: done
[2025-01-06 20:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:29:03] Production.INFO: Date 2024-12-11
[2025-01-06 20:29:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:29:03] Production.INFO: Date 2024-12-12
[2025-01-06 20:29:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:29:03] Production.INFO: Date 2024-12-13
[2025-01-06 20:29:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:29:03] Production.INFO: Date 2024-12-14
[2025-01-06 20:29:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:29:03] Production.ERROR: done
[2025-01-06 20:29:03] Production.INFO: Date 2024-12-15
[2025-01-06 20:29:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:29:03] Production.INFO: Date 2024-12-16
[2025-01-06 20:29:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:29:04] Production.INFO: Date 2024-12-17
[2025-01-06 20:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:29:04] Production.INFO: Date 2024-12-18
[2025-01-06 20:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:29:04] Production.INFO: Date 2024-12-19
[2025-01-06 20:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:29:04] Production.INFO: Date 2024-12-20
[2025-01-06 20:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:29:04] Production.INFO: Date 2024-12-21
[2025-01-06 20:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:29:04] Production.INFO: Date 2024-12-22
[2025-01-06 20:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:29:04] Production.INFO: Date 2024-12-23
[2025-01-06 20:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:29:04] Production.INFO: Date 2024-12-24
[2025-01-06 20:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:29:04] Production.INFO: Date 2024-12-25
[2025-01-06 20:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:29:04] Production.INFO: Date 2024-12-26
[2025-01-06 20:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:29:04] Production.INFO: Date 2024-12-27
[2025-01-06 20:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:29:04] Production.INFO: Date 2024-12-28
[2025-01-06 20:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:29:04] Production.INFO: Date 2024-12-29
[2025-01-06 20:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:29:04] Production.INFO: Date 2024-12-30
[2025-01-06 20:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:29:04] Production.INFO: Date 2024-12-31
[2025-01-06 20:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:29:04] Production.INFO: Date 2025-01-01
[2025-01-06 20:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:29:04] Production.INFO: Date 2025-01-02
[2025-01-06 20:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:29:04] Production.INFO: Date 2025-01-03
[2025-01-06 20:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:29:04] Production.INFO: Date 2025-01-04
[2025-01-06 20:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:29:04] Production.INFO: Date 2025-01-05
[2025-01-06 20:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:29:04] Production.INFO: Date 2025-01-06
[2025-01-06 20:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:29:04] Production.INFO: Total Charge 0
[2025-01-06 20:29:04] Production.INFO: CreateAllLog End
[2025-01-06 20:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:29:05
[end_date_ymd] => 2025-01-06 20:29:05
[RateCDR] => 1
)
[2025-01-06 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-06 17:29:05' and `end` < '2025-01-06 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-06 20:29:05] Production.INFO: Account Balance End.
[2025-01-06 20:29:05] Production.ERROR: CronJobId end 12
[2025-01-06 20:29:05] Production.INFO: ==24848== Releasing lock...
[2025-01-06 20:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:29:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:29:13] Production.ERROR: CronJobId end10
[2025-01-06 20:29:13] Production.INFO: ==24846== Releasing lock...
[2025-01-06 20:29:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:29:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:29:14] Production.INFO: call_cost start
[2025-01-06 20:29:14] Production.INFO: call_cost end
[2025-01-06 20:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:29:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:29:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:29:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:29:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:29:15] Production.INFO: ==24842== Releasing lock...
[2025-01-06 20:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:29:18] Production.INFO: count ==1499
[2025-01-06 20:29:19] Production.ERROR: pbx CDR StartTime 2025-01-06 17:29:05 - End Time 2025-01-06 20:29:05
[2025-01-06 20:29:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190007', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190007', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190007', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190007', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:29:19] Production.INFO: ProcessCDR(1,14190007,1,1,2)
[2025-01-06 20:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190007,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:29:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190007,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:29:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190007,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190007,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190007', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190007', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:29:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:29:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:29:22] Production.INFO: ==24850== Releasing lock...
[2025-01-06 20:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:29:22] Production.INFO: 39.25 MB #Memory Used#
[2025-01-07 01:30:02] Production.INFO: ==24918== Lock acquired, processing the job...
[2025-01-07 01:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:30:02] Production.INFO: neon service started
[2025-01-07 01:30:02] Production.INFO: neon service started
[2025-01-07 01:30:02] Production.INFO: ==24918== Releasing lock...
[2025-01-07 01:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:30:02] Production.INFO: ==24920== Lock acquired, processing the job...
[2025-01-06 20:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:30:02] Production.INFO: ==24922== Lock acquired, processing the job...
[2025-01-07 01:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:30:02] Production.INFO: ==24922== Releasing lock...
[2025-01-07 01:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:30:02] Production.INFO: ==24920== Releasing lock...
[2025-01-06 20:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 20:30:03] Production.INFO: ==24925== Lock acquired, processing the job...
[2025-01-06 20:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-06 20:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-06 20:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-06 20:30:03] Production.INFO: ==24925== Releasing lock...
[2025-01-06 20:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-06 20:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-06 20:30:03] Production.INFO: ==24927== Lock acquired, processing the job...
[2025-01-06 20:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:30:04] Production.INFO: ==24931== Lock acquired, processing the job...
[2025-01-06 20:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:30:04] Production.INFO: ==24935== Lock acquired, processing the job...
[2025-01-06 20:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:30:04] Production.INFO: ==24929== Lock acquired, processing the job...
[2025-01-06 20:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:30:04] Production.INFO: ==24933== Lock acquired, processing the job...
[2025-01-06 20:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:30:04] Production.INFO: ==24937== Lock acquired, processing the job...
[2025-01-06 20:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-06 20:30:04] Production.INFO: ==24939== Lock acquired, processing the job...
[2025-01-06 20:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:30:04] Production.ERROR: done
[2025-01-06 20:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:30:04] Production.INFO: Account Balance Start.
[2025-01-06 20:30:04] Production.INFO: CreateAllLog Start
[2025-01-06 20:30:04] Production.INFO: 117
[2025-01-06 20:30:04] Production.ERROR: done
[2025-01-06 20:30:04] Production.INFO: Date 2024-12-08
[2025-01-06 20:30:04] Production.INFO: ==24929== Releasing lock...
[2025-01-06 20:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:30:04] Production.INFO: Date 2024-12-09
[2025-01-06 20:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:30:04] Production.INFO: Date 2024-12-10
[2025-01-06 20:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:30:04] Production.INFO: Date 2024-12-11
[2025-01-06 20:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:30:04] Production.INFO: count ==21
[2025-01-06 20:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:30:04] Production.INFO: count ==21
[2025-01-06 20:30:05] Production.INFO: Date 2024-12-12
[2025-01-06 20:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14190011') start
[2025-01-06 20:30:05] Production.ERROR: done
[2025-01-06 20:30:05] Production.INFO: Date 2024-12-13
[2025-01-06 20:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:30:05] Production.INFO: Date 2024-12-14
[2025-01-06 20:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14190011') end
[2025-01-06 20:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:30:05] Production.INFO: 1
[2025-01-06 20:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:30:05] Production.INFO: Date 2024-12-15
[2025-01-06 20:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:30:05] Production.INFO: Date 2024-12-16
[2025-01-06 20:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-06 20:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14190013', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) start
[2025-01-06 20:30:05] Production.INFO: ==24939== Releasing lock...
[2025-01-06 20:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:30:05] Production.INFO: Date 2024-12-17
[2025-01-06 20:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:30:05] Production.INFO: Date 2024-12-18
[2025-01-06 20:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:30:05] Production.INFO: Date 2024-12-19
[2025-01-06 20:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:30:05] Production.INFO: Date 2024-12-20
[2025-01-06 20:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:30:05] Production.INFO: Date 2024-12-21
[2025-01-06 20:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:30:05] Production.INFO: Date 2024-12-22
[2025-01-06 20:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:30:05] Production.INFO: Date 2024-12-23
[2025-01-06 20:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:30:05] Production.INFO: Date 2024-12-24
[2025-01-06 20:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:30:05] Production.INFO: Date 2024-12-25
[2025-01-06 20:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:30:05] Production.INFO: Date 2024-12-26
[2025-01-06 20:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:30:05] Production.INFO: Date 2024-12-27
[2025-01-06 20:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:30:05] Production.INFO: Date 2024-12-28
[2025-01-06 20:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:30:05] Production.INFO: Date 2024-12-29
[2025-01-06 20:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:30:05] Production.INFO: Date 2024-12-30
[2025-01-06 20:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:30:05] Production.INFO: Date 2024-12-31
[2025-01-06 20:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:30:06] Production.INFO: Date 2025-01-01
[2025-01-06 20:30:06] Production.INFO: Reseller ==> 0
[2025-01-06 20:30:06] Production.INFO: Date 2025-01-02
[2025-01-06 20:30:06] Production.INFO: Reseller ==> 0
[2025-01-06 20:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:30:06
[end_date_ymd] => 2025-01-06 20:30:06
[RateCDR] => 1
)
[2025-01-06 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-06 17:30:06' and `end` < '2025-01-06 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-06 20:30:06] Production.INFO: Date 2025-01-03
[2025-01-06 20:30:06] Production.INFO: Reseller ==> 0
[2025-01-06 20:30:06] Production.INFO: Date 2025-01-04
[2025-01-06 20:30:06] Production.INFO: Reseller ==> 0
[2025-01-06 20:30:06] Production.INFO: Date 2025-01-05
[2025-01-06 20:30:06] Production.INFO: Reseller ==> 0
[2025-01-06 20:30:06] Production.INFO: Date 2025-01-06
[2025-01-06 20:30:06] Production.INFO: Reseller ==> 0
[2025-01-06 20:30:06] Production.INFO: Total Charge 0
[2025-01-06 20:30:06] Production.INFO: CreateAllLog End
[2025-01-06 20:30:06] Production.INFO: Account Balance End.
[2025-01-06 20:30:06] Production.ERROR: CronJobId end 12
[2025-01-06 20:30:06] Production.INFO: ==24933== Releasing lock...
[2025-01-06 20:30:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:30:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14190013', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) end
[2025-01-06 20:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-06 20:30:09] Production.INFO: ProcessCDR(1,14190013,1,1,2)
[2025-01-06 20:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14190013,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14190013,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:30:09] Production.INFO: ==24937== Releasing lock...
[2025-01-06 20:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-06 20:30:09] Production.INFO: 26 MB #Memory Used#
[2025-01-06 20:30:15] Production.ERROR: CronJobId end10
[2025-01-06 20:30:15] Production.INFO: ==24931== Releasing lock...
[2025-01-06 20:30:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:30:15] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:30:16] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:30:16] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:30:16] Production.INFO: call_cost start
[2025-01-06 20:30:16] Production.INFO: call_cost end
[2025-01-06 20:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:30:17] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:30:17] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:30:17] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:30:17] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:30:17] Production.INFO: ==24927== Releasing lock...
[2025-01-06 20:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:30:20] Production.INFO: count ==1496
[2025-01-06 20:30:20] Production.ERROR: pbx CDR StartTime 2025-01-06 17:30:06 - End Time 2025-01-06 20:30:06
[2025-01-06 20:30:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190012', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190012', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190012', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190012', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:30:20] Production.INFO: ProcessCDR(1,14190012,1,1,2)
[2025-01-06 20:30:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190012,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:30:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190012,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:30:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190012,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:30:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190012,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190012', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190012', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:30:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:30:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:30:24] Production.INFO: ==24935== Releasing lock...
[2025-01-06 20:30:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:30:24] Production.INFO: 39.5 MB #Memory Used#
[2025-01-07 01:31:01] Production.INFO: ==25008== Lock acquired, processing the job...
[2025-01-07 01:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:31:01] Production.INFO: neon service started
[2025-01-07 01:31:01] Production.INFO: neon service started
[2025-01-07 01:31:01] Production.INFO: ==25008== Releasing lock...
[2025-01-07 01:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:31:01] Production.INFO: 25.5 MB #Memory Used#
[2025-01-06 20:31:01] Production.INFO: ==25011== Lock acquired, processing the job...
[2025-01-06 20:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 20:31:02] Production.INFO: ==25011== Releasing lock...
[2025-01-06 20:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:31:02] Production.INFO: ==25013== Lock acquired, processing the job...
[2025-01-07 01:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:31:02] Production.INFO: ==25013== Releasing lock...
[2025-01-07 01:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:31:03] Production.INFO: ==25023== Lock acquired, processing the job...
[2025-01-06 20:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:31:03] Production.INFO: ==25027== Lock acquired, processing the job...
[2025-01-06 20:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:31:03] Production.INFO: ==25017== Lock acquired, processing the job...
[2025-01-06 20:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:31:03] Production.INFO: ==25019== Lock acquired, processing the job...
[2025-01-06 20:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:31:03] Production.INFO: Account Balance Start.
[2025-01-06 20:31:03] Production.INFO: CreateAllLog Start
[2025-01-06 20:31:03] Production.INFO: 117
[2025-01-06 20:31:03] Production.INFO: Date 2024-12-08
[2025-01-06 20:31:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:31:03] Production.INFO: ==25021== Lock acquired, processing the job...
[2025-01-06 20:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 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-06 20:31:03] Production.INFO: Date 2024-12-09
[2025-01-06 20:31:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:31:03] Production.INFO: count ==21
[2025-01-06 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-06 20:31:03] Production.INFO: count ==21
[2025-01-06 20:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190015') start
[2025-01-06 20:31:03] Production.INFO: ==25025== Lock acquired, processing the job...
[2025-01-06 20:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:31:03] Production.INFO: Date 2024-12-10
[2025-01-06 20:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:31:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:31:03] Production.INFO: Date 2024-12-11
[2025-01-06 20:31:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:31:03] Production.INFO: Date 2024-12-12
[2025-01-06 20:31:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190015') end
[2025-01-06 20:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:31:03] Production.INFO: 1
[2025-01-06 20:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:31:03] Production.INFO: Date 2024-12-13
[2025-01-06 20:31:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:31:03] Production.INFO: ==25027== Releasing lock...
[2025-01-06 20:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:31:03] Production.INFO: ==25019== Releasing lock...
[2025-01-06 20:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:31:03] Production.INFO: Date 2024-12-14
[2025-01-06 20:31:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:31:03] Production.ERROR: done
[2025-01-06 20:31:03] Production.INFO: Date 2024-12-15
[2025-01-06 20:31:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:31:04] Production.INFO: Date 2024-12-16
[2025-01-06 20:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:31:04] Production.ERROR: done
[2025-01-06 20:31:04] Production.INFO: Date 2024-12-17
[2025-01-06 20:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:31:04] Production.INFO: Date 2024-12-18
[2025-01-06 20:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:31:04] Production.INFO: Date 2024-12-19
[2025-01-06 20:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:31:04] Production.INFO: Date 2024-12-20
[2025-01-06 20:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:31:04] Production.INFO: Date 2024-12-21
[2025-01-06 20:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:31:04] Production.INFO: Date 2024-12-22
[2025-01-06 20:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:31:04] Production.INFO: Date 2024-12-23
[2025-01-06 20:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:31:04] Production.INFO: Date 2024-12-24
[2025-01-06 20:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:31:04] Production.INFO: Date 2024-12-25
[2025-01-06 20:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:31:04] Production.INFO: Date 2024-12-26
[2025-01-06 20:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:31:04] Production.INFO: Date 2024-12-27
[2025-01-06 20:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:31:04] Production.INFO: Date 2024-12-28
[2025-01-06 20:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:31:04] Production.INFO: Date 2024-12-29
[2025-01-06 20:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:31:04] Production.INFO: Date 2024-12-30
[2025-01-06 20:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:31:04] Production.INFO: Date 2024-12-31
[2025-01-06 20:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:31:04] Production.INFO: Date 2025-01-01
[2025-01-06 20:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:31:04] Production.INFO: Date 2025-01-02
[2025-01-06 20:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:31:04] Production.INFO: Date 2025-01-03
[2025-01-06 20:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:31:04] Production.INFO: Date 2025-01-04
[2025-01-06 20:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:31:04] Production.INFO: Date 2025-01-05
[2025-01-06 20:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:31:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:31:04
[end_date_ymd] => 2025-01-06 20:31:04
[RateCDR] => 1
)
[2025-01-06 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-06 17:31:04' and `end` < '2025-01-06 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-06 20:31:05] Production.INFO: Date 2025-01-06
[2025-01-06 20:31:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:31:05] Production.INFO: Total Charge 0
[2025-01-06 20:31:05] Production.INFO: CreateAllLog End
[2025-01-06 20:31:05] Production.INFO: Account Balance End.
[2025-01-06 20:31:05] Production.ERROR: CronJobId end 12
[2025-01-06 20:31:05] Production.INFO: ==25023== Releasing lock...
[2025-01-06 20:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:31:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:31:13] Production.ERROR: CronJobId end10
[2025-01-06 20:31:13] Production.INFO: ==25021== Releasing lock...
[2025-01-06 20:31:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:31:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:31:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:31:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:31:14] Production.INFO: call_cost start
[2025-01-06 20:31:14] Production.INFO: call_cost end
[2025-01-06 20:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:31:14] Production.INFO: ==25017== Releasing lock...
[2025-01-06 20:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:31:17] Production.INFO: count ==1449
[2025-01-06 20:31:18] Production.ERROR: pbx CDR StartTime 2025-01-06 17:31:04 - End Time 2025-01-06 20:31:04
[2025-01-06 20:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190018', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190018', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190018', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190018', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:31:18] Production.INFO: ProcessCDR(1,14190018,1,1,2)
[2025-01-06 20:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190018,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190018,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190018,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190018,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190018', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190018', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:31:21] Production.INFO: ==25025== Releasing lock...
[2025-01-06 20:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:31:21] Production.INFO: 39.25 MB #Memory Used#
[2025-01-07 01:32:02] Production.INFO: ==25092== Lock acquired, processing the job...
[2025-01-07 01:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:32:02] Production.INFO: neon service started
[2025-01-07 01:32:02] Production.INFO: neon service started
[2025-01-07 01:32:02] Production.INFO: ==25092== Releasing lock...
[2025-01-07 01:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:32:02] Production.INFO: ==25096== Lock acquired, processing the job...
[2025-01-07 01:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:32:02] Production.INFO: ==25096== Releasing lock...
[2025-01-07 01:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:32:02] Production.INFO: ==25094== Lock acquired, processing the job...
[2025-01-06 20:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 20:32:02] Production.INFO: ==25094== Releasing lock...
[2025-01-06 20:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 20:32:03] Production.INFO: ==25099== Lock acquired, processing the job...
[2025-01-06 20:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:32:03] Production.INFO: ==25103== Lock acquired, processing the job...
[2025-01-06 20:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:32:03] Production.INFO: ==25109== Lock acquired, processing the job...
[2025-01-06 20:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 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-06 20:32:03] Production.INFO: ==25101== Lock acquired, processing the job...
[2025-01-06 20:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:32:03] Production.INFO: count ==21
[2025-01-06 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-06 20:32:03] Production.INFO: count ==21
[2025-01-06 20:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190020') start
[2025-01-06 20:32:04] Production.INFO: ==25105== Lock acquired, processing the job...
[2025-01-06 20:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:32:04] Production.INFO: ==25107== Lock acquired, processing the job...
[2025-01-06 20:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190020') end
[2025-01-06 20:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:32:04] Production.INFO: 1
[2025-01-06 20:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:32:04] Production.INFO: ==25109== Releasing lock...
[2025-01-06 20:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:32:04] Production.INFO: Account Balance Start.
[2025-01-06 20:32:04] Production.INFO: CreateAllLog Start
[2025-01-06 20:32:04] Production.INFO: 117
[2025-01-06 20:32:04] Production.INFO: Date 2024-12-08
[2025-01-06 20:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:32:04] Production.INFO: Date 2024-12-09
[2025-01-06 20:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:32:04] Production.INFO: ==25101== Releasing lock...
[2025-01-06 20:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:32:04] Production.ERROR: done
[2025-01-06 20:32:04] Production.INFO: Date 2024-12-10
[2025-01-06 20:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:32:04] Production.INFO: Date 2024-12-11
[2025-01-06 20:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:32:04] Production.ERROR: done
[2025-01-06 20:32:04] Production.INFO: Date 2024-12-12
[2025-01-06 20:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:32:04] Production.INFO: Date 2024-12-13
[2025-01-06 20:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:32:04] Production.INFO: Date 2024-12-14
[2025-01-06 20:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:32:04] Production.INFO: Date 2024-12-15
[2025-01-06 20:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:32:04] Production.INFO: Date 2024-12-16
[2025-01-06 20:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:32:04] Production.INFO: Date 2024-12-17
[2025-01-06 20:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:32:04] Production.INFO: Date 2024-12-18
[2025-01-06 20:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:32:05] Production.INFO: Date 2024-12-19
[2025-01-06 20:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:32:05] Production.INFO: Date 2024-12-20
[2025-01-06 20:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:32:05] Production.INFO: Date 2024-12-21
[2025-01-06 20:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:32:05] Production.INFO: Date 2024-12-22
[2025-01-06 20:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:32:05] Production.INFO: Date 2024-12-23
[2025-01-06 20:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:32:05
[end_date_ymd] => 2025-01-06 20:32:05
[RateCDR] => 1
)
[2025-01-06 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-06 17:32:05' and `end` < '2025-01-06 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-06 20:32:05] Production.INFO: Date 2024-12-24
[2025-01-06 20:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:32:05] Production.INFO: Date 2024-12-25
[2025-01-06 20:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:32:05] Production.INFO: Date 2024-12-26
[2025-01-06 20:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:32:05] Production.INFO: Date 2024-12-27
[2025-01-06 20:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:32:05] Production.INFO: Date 2024-12-28
[2025-01-06 20:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:32:05] Production.INFO: Date 2024-12-29
[2025-01-06 20:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:32:05] Production.INFO: Date 2024-12-30
[2025-01-06 20:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:32:05] Production.INFO: Date 2024-12-31
[2025-01-06 20:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:32:05] Production.INFO: Date 2025-01-01
[2025-01-06 20:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:32:06] Production.INFO: Date 2025-01-02
[2025-01-06 20:32:06] Production.INFO: Reseller ==> 0
[2025-01-06 20:32:06] Production.INFO: Date 2025-01-03
[2025-01-06 20:32:06] Production.INFO: Reseller ==> 0
[2025-01-06 20:32:06] Production.INFO: Date 2025-01-04
[2025-01-06 20:32:06] Production.INFO: Reseller ==> 0
[2025-01-06 20:32:06] Production.INFO: Date 2025-01-05
[2025-01-06 20:32:06] Production.INFO: Reseller ==> 0
[2025-01-06 20:32:06] Production.INFO: Date 2025-01-06
[2025-01-06 20:32:06] Production.INFO: Reseller ==> 0
[2025-01-06 20:32:06] Production.INFO: Total Charge 0
[2025-01-06 20:32:06] Production.INFO: CreateAllLog End
[2025-01-06 20:32:06] Production.INFO: Account Balance End.
[2025-01-06 20:32:06] Production.ERROR: CronJobId end 12
[2025-01-06 20:32:06] Production.INFO: ==25105== Releasing lock...
[2025-01-06 20:32:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:32:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:32:13] Production.ERROR: CronJobId end10
[2025-01-06 20:32:13] Production.INFO: ==25103== Releasing lock...
[2025-01-06 20:32:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:32:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:32:14] Production.INFO: call_cost start
[2025-01-06 20:32:14] Production.INFO: call_cost end
[2025-01-06 20:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:32:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:32:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:32:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:32:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:32:15] Production.INFO: ==25099== Releasing lock...
[2025-01-06 20:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:32:18] Production.INFO: count ==1449
[2025-01-06 20:32:19] Production.ERROR: pbx CDR StartTime 2025-01-06 17:32:05 - End Time 2025-01-06 20:32:05
[2025-01-06 20:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190023', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190023', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190023', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190023', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:32:19] Production.INFO: ProcessCDR(1,14190023,1,1,2)
[2025-01-06 20:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190023,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:32:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190023,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:32:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190023,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:32:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190023,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190023', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190023', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:32:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:32:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:32:23] Production.INFO: ==25107== Releasing lock...
[2025-01-06 20:32:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:32:23] Production.INFO: 38.75 MB #Memory Used#
[2025-01-07 01:33:01] Production.INFO: ==25175== Lock acquired, processing the job...
[2025-01-07 01:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:33:01] Production.INFO: neon service started
[2025-01-07 01:33:01] Production.INFO: neon service started
[2025-01-07 01:33:01] Production.INFO: ==25175== Releasing lock...
[2025-01-07 01:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:33:01] Production.INFO: ==25180== Lock acquired, processing the job...
[2025-01-07 01:33:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:33:01] Production.INFO: ==25180== Releasing lock...
[2025-01-07 01:33:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:33:01] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:33:01] Production.INFO: ==25178== Lock acquired, processing the job...
[2025-01-06 20:33:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 20:33:02] Production.INFO: ==25178== Releasing lock...
[2025-01-06 20:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 20:33:02] Production.INFO: ==25185== Lock acquired, processing the job...
[2025-01-06 20:33:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:33:03] Production.INFO: ==25187== Lock acquired, processing the job...
[2025-01-06 20:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:33:03] Production.INFO: ==25191== Lock acquired, processing the job...
[2025-01-06 20:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:33:03] Production.INFO: ==25185== Releasing lock...
[2025-01-06 20:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:33:03] Production.INFO: ==25183== Lock acquired, processing the job...
[2025-01-06 20:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:33:03] Production.INFO: ==25193== Lock acquired, processing the job...
[2025-01-06 20:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:33:03] Production.INFO: ==25189== Lock acquired, processing the job...
[2025-01-06 20:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 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-06 20:33:03] Production.ERROR: done
[2025-01-06 20:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:33:03] Production.INFO: Account Balance Start.
[2025-01-06 20:33:03] Production.INFO: CreateAllLog Start
[2025-01-06 20:33:03] Production.INFO: count ==21
[2025-01-06 20:33:03] Production.INFO: 117
[2025-01-06 20:33:03] Production.INFO: Date 2024-12-08
[2025-01-06 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-06 20:33:03] Production.INFO: count ==21
[2025-01-06 20:33:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190026') start
[2025-01-06 20:33:03] Production.ERROR: done
[2025-01-06 20:33:03] Production.INFO: Date 2024-12-09
[2025-01-06 20:33:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:33:03] Production.INFO: Date 2024-12-10
[2025-01-06 20:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190026') end
[2025-01-06 20:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:33:03] Production.INFO: 1
[2025-01-06 20:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:33:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:33:03] Production.INFO: Date 2024-12-11
[2025-01-06 20:33:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:33:03] Production.INFO: ==25193== Releasing lock...
[2025-01-06 20:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:33:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:33:03] Production.INFO: Date 2024-12-12
[2025-01-06 20:33:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:33:03] Production.INFO: Date 2024-12-13
[2025-01-06 20:33:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:33:03] Production.INFO: Date 2024-12-14
[2025-01-06 20:33:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:33:04] Production.INFO: Date 2024-12-15
[2025-01-06 20:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:33:04] Production.INFO: Date 2024-12-16
[2025-01-06 20:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:33:04] Production.INFO: Date 2024-12-17
[2025-01-06 20:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:33:04] Production.INFO: Date 2024-12-18
[2025-01-06 20:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:33:04] Production.INFO: Date 2024-12-19
[2025-01-06 20:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:33:04] Production.INFO: Date 2024-12-20
[2025-01-06 20:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:33:04] Production.INFO: Date 2024-12-21
[2025-01-06 20:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:33:04] Production.INFO: Date 2024-12-22
[2025-01-06 20:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:33:04] Production.INFO: Date 2024-12-23
[2025-01-06 20:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:33:04] Production.INFO: Date 2024-12-24
[2025-01-06 20:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:33:04] Production.INFO: Date 2024-12-25
[2025-01-06 20:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:33:04] Production.INFO: Date 2024-12-26
[2025-01-06 20:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:33:04] Production.INFO: Date 2024-12-27
[2025-01-06 20:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:33:04] Production.INFO: Date 2024-12-28
[2025-01-06 20:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:33:04] Production.INFO: Date 2024-12-29
[2025-01-06 20:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:33:04] Production.INFO: Date 2024-12-30
[2025-01-06 20:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:33:04] Production.INFO: Date 2024-12-31
[2025-01-06 20:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:33:04] Production.INFO: Date 2025-01-01
[2025-01-06 20:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:33:04] Production.INFO: Date 2025-01-02
[2025-01-06 20:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:33:04] Production.INFO: Date 2025-01-03
[2025-01-06 20:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:33:04] Production.INFO: Date 2025-01-04
[2025-01-06 20:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:33:04] Production.INFO: Date 2025-01-05
[2025-01-06 20:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:33:04] Production.INFO: Date 2025-01-06
[2025-01-06 20:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:33:04] Production.INFO: Total Charge 0
[2025-01-06 20:33:04] Production.INFO: CreateAllLog End
[2025-01-06 20:33:04] Production.INFO: Account Balance End.
[2025-01-06 20:33:05] Production.ERROR: CronJobId end 12
[2025-01-06 20:33:05] Production.INFO: ==25189== Releasing lock...
[2025-01-06 20:33:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:33:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:33:05
[end_date_ymd] => 2025-01-06 20:33:05
[RateCDR] => 1
)
[2025-01-06 20:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 17:33:05' and `end` < '2025-01-06 20:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 20:33:12] Production.ERROR: CronJobId end10
[2025-01-06 20:33:12] Production.INFO: ==25187== Releasing lock...
[2025-01-06 20:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:33:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:33:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:33:13] Production.INFO: call_cost start
[2025-01-06 20:33:13] Production.INFO: call_cost end
[2025-01-06 20:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:33:14] Production.INFO: ==25183== Releasing lock...
[2025-01-06 20:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:33:18] Production.INFO: count ==1443
[2025-01-06 20:33:19] Production.ERROR: pbx CDR StartTime 2025-01-06 17:33:05 - End Time 2025-01-06 20:33:05
[2025-01-06 20:33:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190028', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190028', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190028', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190028', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:33:19] Production.INFO: ProcessCDR(1,14190028,1,1,2)
[2025-01-06 20:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190028,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:33:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190028,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:33:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190028,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190028,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190028', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190028', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:33:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:33:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:33:22] Production.INFO: ==25191== Releasing lock...
[2025-01-06 20:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:33:22] Production.INFO: 39 MB #Memory Used#
[2025-01-07 01:34:01] Production.INFO: ==25262== Lock acquired, processing the job...
[2025-01-07 01:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:34:01] Production.INFO: neon service started
[2025-01-07 01:34:01] Production.INFO: neon service started
[2025-01-07 01:34:01] Production.INFO: ==25262== Releasing lock...
[2025-01-07 01:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:34:02] Production.INFO: ==25264== Lock acquired, processing the job...
[2025-01-06 20:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 20:34:02] Production.INFO: ==25264== Releasing lock...
[2025-01-06 20:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:34:02] Production.INFO: ==25266== Lock acquired, processing the job...
[2025-01-07 01:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:34:02] Production.INFO: ==25266== Releasing lock...
[2025-01-07 01:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:34:03] Production.INFO: ==25270== Lock acquired, processing the job...
[2025-01-06 20:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:34:03] Production.INFO: ==25276== Lock acquired, processing the job...
[2025-01-06 20:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:34:03] Production.INFO: ==25272== Lock acquired, processing the job...
[2025-01-06 20:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:34:03] Production.INFO: ==25274== Lock acquired, processing the job...
[2025-01-06 20:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:34:03] Production.INFO: ==25268== Lock acquired, processing the job...
[2025-01-06 20:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:34:03] Production.INFO: ==25278== Lock acquired, processing the job...
[2025-01-06 20:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:34:03] Production.INFO: Account Balance Start.
[2025-01-06 20:34:03] Production.INFO: CreateAllLog Start
[2025-01-06 20:34:03] Production.INFO: 117
[2025-01-06 20:34:03] Production.INFO: Date 2024-12-08
[2025-01-06 20:34:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:34:03] Production.INFO: ==25270== Releasing lock...
[2025-01-06 20:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:34:03] Production.INFO: Date 2024-12-09
[2025-01-06 20:34:03] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 20:34:03] Production.ERROR: done
[2025-01-06 20:34:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:34:03] Production.INFO: Date 2024-12-10
[2025-01-06 20:34:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:34:03] Production.INFO: count ==21
[2025-01-06 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-06 20:34:03] Production.INFO: count ==21
[2025-01-06 20:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190032') start
[2025-01-06 20:34:03] Production.INFO: Date 2024-12-11
[2025-01-06 20:34:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:34:03] Production.INFO: Date 2024-12-12
[2025-01-06 20:34:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:34:03] Production.ERROR: done
[2025-01-06 20:34:04] Production.INFO: Date 2024-12-13
[2025-01-06 20:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:34:04] Production.INFO: Date 2024-12-14
[2025-01-06 20:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190032') end
[2025-01-06 20:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:34:04] Production.INFO: 1
[2025-01-06 20:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:34:04] Production.INFO: Date 2024-12-15
[2025-01-06 20:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:34:04] Production.INFO: ==25278== Releasing lock...
[2025-01-06 20:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:34:04] Production.INFO: Date 2024-12-16
[2025-01-06 20:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:34:04] Production.INFO: Date 2024-12-17
[2025-01-06 20:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:34:04] Production.INFO: Date 2024-12-18
[2025-01-06 20:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:34:04] Production.INFO: Date 2024-12-19
[2025-01-06 20:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:34:04] Production.INFO: Date 2024-12-20
[2025-01-06 20:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:34:04] Production.INFO: Date 2024-12-21
[2025-01-06 20:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:34:04] Production.INFO: Date 2024-12-22
[2025-01-06 20:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:34:04] Production.INFO: Date 2024-12-23
[2025-01-06 20:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:34:04] Production.INFO: Date 2024-12-24
[2025-01-06 20:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:34:04] Production.INFO: Date 2024-12-25
[2025-01-06 20:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:34:04] Production.INFO: Date 2024-12-26
[2025-01-06 20:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:34:04] Production.INFO: Date 2024-12-27
[2025-01-06 20:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:34:04] Production.INFO: Date 2024-12-28
[2025-01-06 20:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:34:04] Production.INFO: Date 2024-12-29
[2025-01-06 20:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:34:04] Production.INFO: Date 2024-12-30
[2025-01-06 20:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:34:04] Production.INFO: Date 2024-12-31
[2025-01-06 20:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:34:04] Production.INFO: Date 2025-01-01
[2025-01-06 20:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:34:04] Production.INFO: Date 2025-01-02
[2025-01-06 20:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:34:04] Production.INFO: Date 2025-01-03
[2025-01-06 20:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:34:04] Production.INFO: Date 2025-01-04
[2025-01-06 20:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:34:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:34:04
[end_date_ymd] => 2025-01-06 20:34:04
[RateCDR] => 1
)
[2025-01-06 20: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-06 17:34:04' and `end` < '2025-01-06 20: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-06 20:34:04] Production.INFO: Date 2025-01-05
[2025-01-06 20:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:34:04] Production.INFO: Date 2025-01-06
[2025-01-06 20:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:34:04] Production.INFO: Total Charge 0
[2025-01-06 20:34:04] Production.INFO: CreateAllLog End
[2025-01-06 20:34:05] Production.INFO: Account Balance End.
[2025-01-06 20:34:05] Production.ERROR: CronJobId end 12
[2025-01-06 20:34:05] Production.INFO: ==25274== Releasing lock...
[2025-01-06 20:34:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:34:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:34:12] Production.ERROR: CronJobId end10
[2025-01-06 20:34:12] Production.INFO: ==25272== Releasing lock...
[2025-01-06 20:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:34:13] Production.INFO: call_cost start
[2025-01-06 20:34:13] Production.INFO: call_cost end
[2025-01-06 20:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:34:14] Production.INFO: ==25268== Releasing lock...
[2025-01-06 20:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:34:17] Production.INFO: count ==1445
[2025-01-06 20:34:18] Production.ERROR: pbx CDR StartTime 2025-01-06 17:34:04 - End Time 2025-01-06 20:34:04
[2025-01-06 20:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190033', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190033', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190033', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190033', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:34:18] Production.INFO: ProcessCDR(1,14190033,1,1,2)
[2025-01-06 20:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190033,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190033,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190033,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190033,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190033', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190033', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:34:21] Production.INFO: ==25276== Releasing lock...
[2025-01-06 20:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:34:21] Production.INFO: 39.25 MB #Memory Used#
[2025-01-07 01:35:02] Production.INFO: ==25344== Lock acquired, processing the job...
[2025-01-07 01:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:35:02] Production.INFO: neon service started
[2025-01-07 01:35:02] Production.INFO: neon service started
[2025-01-07 01:35:02] Production.INFO: ==25344== Releasing lock...
[2025-01-07 01:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:35:03] Production.INFO: ==25346== Lock acquired, processing the job...
[2025-01-06 20:35:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:35:03] Production.INFO: ==25348== Lock acquired, processing the job...
[2025-01-07 01:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:35:03] Production.INFO: ==25348== Releasing lock...
[2025-01-07 01:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:35:03] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:35:03] Production.INFO: ==25346== Releasing lock...
[2025-01-06 20:35:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:35:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 20:35:04] Production.INFO: ==25357== Lock acquired, processing the job...
[2025-01-06 20:35:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:35:04] Production.INFO: ==25353== Lock acquired, processing the job...
[2025-01-06 20:35:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:35:04] Production.INFO: ==25363== Lock acquired, processing the job...
[2025-01-06 20:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:35:04] Production.INFO: ==25355== Lock acquired, processing the job...
[2025-01-06 20:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:35:04] Production.INFO: ==25359== Lock acquired, processing the job...
[2025-01-06 20:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:35:04] Production.INFO: ==25361== Lock acquired, processing the job...
[2025-01-06 20:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:35:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:35:05] Production.INFO: count ==21
[2025-01-06 20:35:05] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:35:05] Production.INFO: Account Balance Start.
[2025-01-06 20:35:05] Production.INFO: CreateAllLog Start
[2025-01-06 20:35:05] Production.INFO: 117
[2025-01-06 20:35:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:35:05] Production.INFO: count ==21
[2025-01-06 20:35:05] Production.INFO: Date 2024-12-08
[2025-01-06 20:35:05] Production.ERROR: PBX CALL prc_importPBXExtension('14190034') start
[2025-01-06 20:35:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:35:05] Production.INFO: Date 2024-12-09
[2025-01-06 20:35:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:35:05] Production.INFO: Date 2024-12-10
[2025-01-06 20:35:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:35:05] Production.INFO: Date 2024-12-11
[2025-01-06 20:35:05] Production.INFO: ==25355== Releasing lock...
[2025-01-06 20:35:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:35:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:35:05] Production.ERROR: PBX CALL prc_importPBXExtension('14190034') end
[2025-01-06 20:35:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:35:05] Production.INFO: 1
[2025-01-06 20:35:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:35:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:35:05] Production.INFO: Date 2024-12-12
[2025-01-06 20:35:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:35:05] Production.INFO: Date 2024-12-13
[2025-01-06 20:35:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:35:05] Production.INFO: Date 2024-12-14
[2025-01-06 20:35:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:35:05] Production.INFO: ==25363== Releasing lock...
[2025-01-06 20:35:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:35:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:35:05] Production.INFO: Date 2024-12-15
[2025-01-06 20:35:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:35:05] Production.INFO: Date 2024-12-16
[2025-01-06 20:35:05] Production.ERROR: done
[2025-01-06 20:35:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:35:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:35:05] Production.INFO: Date 2024-12-17
[2025-01-06 20:35:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:35:05] Production.INFO: Date 2024-12-18
[2025-01-06 20:35:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:35:05] Production.INFO: Date 2024-12-19
[2025-01-06 20:35:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:35:05] Production.ERROR: done
[2025-01-06 20:35:05] Production.INFO: Date 2024-12-20
[2025-01-06 20:35:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:35:06] Production.INFO: Date 2024-12-21
[2025-01-06 20:35:06] Production.INFO: Reseller ==> 0
[2025-01-06 20:35:06] Production.INFO: Date 2024-12-22
[2025-01-06 20:35:06] Production.INFO: Reseller ==> 0
[2025-01-06 20:35:06] Production.INFO: Date 2024-12-23
[2025-01-06 20:35:06] Production.INFO: Reseller ==> 0
[2025-01-06 20:35:06] Production.INFO: Date 2024-12-24
[2025-01-06 20:35:06] Production.INFO: Reseller ==> 0
[2025-01-06 20:35:06] Production.INFO: Date 2024-12-25
[2025-01-06 20:35:06] Production.INFO: Reseller ==> 0
[2025-01-06 20:35:06] Production.INFO: Date 2024-12-26
[2025-01-06 20:35:06] Production.INFO: Reseller ==> 0
[2025-01-06 20:35:06] Production.INFO: Date 2024-12-27
[2025-01-06 20:35:06] Production.INFO: Reseller ==> 0
[2025-01-06 20:35:06] Production.INFO: Date 2024-12-28
[2025-01-06 20:35:06] Production.INFO: Reseller ==> 0
[2025-01-06 20:35:06] Production.INFO: Date 2024-12-29
[2025-01-06 20:35:06] Production.INFO: Reseller ==> 0
[2025-01-06 20:35:06] Production.INFO: Date 2024-12-30
[2025-01-06 20:35:06] Production.INFO: Reseller ==> 0
[2025-01-06 20:35:06] Production.INFO: Date 2024-12-31
[2025-01-06 20:35:06] Production.INFO: Reseller ==> 0
[2025-01-06 20:35:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:35:06
[end_date_ymd] => 2025-01-06 20:35:06
[RateCDR] => 1
)
[2025-01-06 20:35:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 17:35:06' and `end` < '2025-01-06 20:35:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 20:35:06] Production.INFO: Date 2025-01-01
[2025-01-06 20:35:06] Production.INFO: Reseller ==> 0
[2025-01-06 20:35:06] Production.INFO: Date 2025-01-02
[2025-01-06 20:35:06] Production.INFO: Reseller ==> 0
[2025-01-06 20:35:06] Production.INFO: Date 2025-01-03
[2025-01-06 20:35:06] Production.INFO: Reseller ==> 0
[2025-01-06 20:35:06] Production.INFO: Date 2025-01-04
[2025-01-06 20:35:06] Production.INFO: Reseller ==> 0
[2025-01-06 20:35:06] Production.INFO: Date 2025-01-05
[2025-01-06 20:35:06] Production.INFO: Reseller ==> 0
[2025-01-06 20:35:06] Production.INFO: Date 2025-01-06
[2025-01-06 20:35:06] Production.INFO: Reseller ==> 0
[2025-01-06 20:35:06] Production.INFO: Total Charge 0
[2025-01-06 20:35:06] Production.INFO: CreateAllLog End
[2025-01-06 20:35:07] Production.INFO: Account Balance End.
[2025-01-06 20:35:07] Production.ERROR: CronJobId end 12
[2025-01-06 20:35:07] Production.INFO: ==25359== Releasing lock...
[2025-01-06 20:35:07] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:35:07] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:35:13] Production.ERROR: CronJobId end10
[2025-01-06 20:35:13] Production.INFO: ==25357== Releasing lock...
[2025-01-06 20:35:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:35:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:35:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:35:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:35:15] Production.INFO: call_cost start
[2025-01-06 20:35:15] Production.INFO: call_cost end
[2025-01-06 20:35:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:35:16] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:35:16] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:35:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:35:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:35:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:35:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:35:16] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:35:16] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:35:16] Production.INFO: ==25353== Releasing lock...
[2025-01-06 20:35:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:35:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:35:19] Production.INFO: count ==1437
[2025-01-06 20:35:20] Production.ERROR: pbx CDR StartTime 2025-01-06 17:35:06 - End Time 2025-01-06 20:35:06
[2025-01-06 20:35:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:35:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190038', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:35:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190038', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:35:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190038', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:35:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190038', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:35:20] Production.INFO: ProcessCDR(1,14190038,1,1,2)
[2025-01-06 20:35:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190038,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:35:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190038,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:35:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190038,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:35:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190038,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190038', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190038', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:35:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:35:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:35:23] Production.INFO: ==25361== Releasing lock...
[2025-01-06 20:35:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:35:23] Production.INFO: 39.25 MB #Memory Used#
[2025-01-07 01:36:02] Production.INFO: ==25424== Lock acquired, processing the job...
[2025-01-07 01:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:36:02] Production.INFO: neon service started
[2025-01-07 01:36:02] Production.INFO: neon service started
[2025-01-07 01:36:02] Production.INFO: ==25424== Releasing lock...
[2025-01-07 01:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:36:02] Production.INFO: ==25427== Lock acquired, processing the job...
[2025-01-06 20:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 20:36:02] Production.INFO: ==25427== Releasing lock...
[2025-01-06 20:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:36:02] Production.INFO: ==25429== Lock acquired, processing the job...
[2025-01-07 01:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:36:03] Production.INFO: ==25429== Releasing lock...
[2025-01-07 01:36:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:36:03] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:36:03] Production.INFO: ==25431== Lock acquired, processing the job...
[2025-01-06 20:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:36:03] Production.INFO: ==25435== Lock acquired, processing the job...
[2025-01-06 20:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:36:03] Production.INFO: ==25433== Lock acquired, processing the job...
[2025-01-06 20:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:36:03] Production.INFO: ==25439== Lock acquired, processing the job...
[2025-01-06 20:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:36:03] Production.INFO: ==25437== Lock acquired, processing the job...
[2025-01-06 20:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:36:03] Production.INFO: ==25441== Lock acquired, processing the job...
[2025-01-06 20:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:36:03] Production.INFO: Account Balance Start.
[2025-01-06 20:36:03] Production.INFO: CreateAllLog Start
[2025-01-06 20:36:03] Production.INFO: 117
[2025-01-06 20:36:03] Production.INFO: Date 2024-12-08
[2025-01-06 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-06 20:36:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:36:04] Production.INFO: Date 2024-12-09
[2025-01-06 20:36:04] Production.INFO: count ==21
[2025-01-06 20:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:36:04] Production.INFO: count ==21
[2025-01-06 20:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190042') start
[2025-01-06 20:36:04] Production.INFO: Date 2024-12-10
[2025-01-06 20:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:36:04] Production.INFO: Date 2024-12-11
[2025-01-06 20:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190042') end
[2025-01-06 20:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:36:04] Production.INFO: 1
[2025-01-06 20:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:36:04] Production.INFO: Date 2024-12-12
[2025-01-06 20:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:36:04] Production.INFO: ==25441== Releasing lock...
[2025-01-06 20:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:36:04] Production.INFO: Date 2024-12-13
[2025-01-06 20:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:36:04] Production.ERROR: done
[2025-01-06 20:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:36:04] Production.INFO: ==25433== Releasing lock...
[2025-01-06 20:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:36:04] Production.INFO: Date 2024-12-14
[2025-01-06 20:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:36:04] Production.ERROR: done
[2025-01-06 20:36:04] Production.INFO: Date 2024-12-15
[2025-01-06 20:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:36:04] Production.INFO: Date 2024-12-16
[2025-01-06 20:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:36:04] Production.INFO: Date 2024-12-17
[2025-01-06 20:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:36:04] Production.INFO: Date 2024-12-18
[2025-01-06 20:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:36:04] Production.INFO: Date 2024-12-19
[2025-01-06 20:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:36:04] Production.INFO: Date 2024-12-20
[2025-01-06 20:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:36:04] Production.INFO: Date 2024-12-21
[2025-01-06 20:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:36:04] Production.INFO: Date 2024-12-22
[2025-01-06 20:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:36:04] Production.INFO: Date 2024-12-23
[2025-01-06 20:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:36:04] Production.INFO: Date 2024-12-24
[2025-01-06 20:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:36:04] Production.INFO: Date 2024-12-25
[2025-01-06 20:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:36:04] Production.INFO: Date 2024-12-26
[2025-01-06 20:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:36:04] Production.INFO: Date 2024-12-27
[2025-01-06 20:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:36:05] Production.INFO: Date 2024-12-28
[2025-01-06 20:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:36:05] Production.INFO: Date 2024-12-29
[2025-01-06 20:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:36:05] Production.INFO: Date 2024-12-30
[2025-01-06 20:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:36:05] Production.INFO: Date 2024-12-31
[2025-01-06 20:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:36:05] Production.INFO: Date 2025-01-01
[2025-01-06 20:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:36:05] Production.INFO: Date 2025-01-02
[2025-01-06 20:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:36:05] Production.INFO: Date 2025-01-03
[2025-01-06 20:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:36:05] Production.INFO: Date 2025-01-04
[2025-01-06 20:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:36:05
[end_date_ymd] => 2025-01-06 20:36:05
[RateCDR] => 1
)
[2025-01-06 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-06 17:36:05' and `end` < '2025-01-06 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-06 20:36:05] Production.INFO: Date 2025-01-05
[2025-01-06 20:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:36:05] Production.INFO: Date 2025-01-06
[2025-01-06 20:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:36:05] Production.INFO: Total Charge 0
[2025-01-06 20:36:05] Production.INFO: CreateAllLog End
[2025-01-06 20:36:05] Production.INFO: Account Balance End.
[2025-01-06 20:36:05] Production.ERROR: CronJobId end 12
[2025-01-06 20:36:05] Production.INFO: ==25437== Releasing lock...
[2025-01-06 20:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:36:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:36:11] Production.ERROR: CronJobId end10
[2025-01-06 20:36:11] Production.INFO: ==25435== Releasing lock...
[2025-01-06 20:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:36:13] Production.INFO: call_cost start
[2025-01-06 20:36:13] Production.INFO: call_cost end
[2025-01-06 20:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:36:14] Production.INFO: ==25431== Releasing lock...
[2025-01-06 20:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:36:20] Production.INFO: count ==1440
[2025-01-06 20:36:20] Production.ERROR: pbx CDR StartTime 2025-01-06 17:36:05 - End Time 2025-01-06 20:36:05
[2025-01-06 20:36:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190043', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190043', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190043', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190043', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:36:20] Production.INFO: ProcessCDR(1,14190043,1,1,2)
[2025-01-06 20:36:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190043,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:36:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190043,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:36:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190043,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:36:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190043,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190043', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190043', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:36:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:36:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:36:23] Production.INFO: ==25439== Releasing lock...
[2025-01-06 20:36:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:36:23] Production.INFO: 39.25 MB #Memory Used#
[2025-01-07 01:37:01] Production.INFO: ==25507== Lock acquired, processing the job...
[2025-01-07 01:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:37:01] Production.INFO: neon service started
[2025-01-07 01:37:01] Production.INFO: neon service started
[2025-01-07 01:37:01] Production.INFO: ==25507== Releasing lock...
[2025-01-07 01:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:37:01] Production.INFO: ==25511== Lock acquired, processing the job...
[2025-01-07 01:37:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:37:01] Production.INFO: ==25511== Releasing lock...
[2025-01-07 01:37:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:37:01] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:37:02] Production.INFO: ==25509== Lock acquired, processing the job...
[2025-01-06 20:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 20:37:02] Production.INFO: ==25509== Releasing lock...
[2025-01-06 20:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 20:37:03] Production.INFO: ==25513== Lock acquired, processing the job...
[2025-01-06 20:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:37:03] Production.INFO: ==25515== Lock acquired, processing the job...
[2025-01-06 20:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:37:03] Production.INFO: ==25522== Lock acquired, processing the job...
[2025-01-06 20:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:37:03] Production.INFO: ==25517== Lock acquired, processing the job...
[2025-01-06 20:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:37:03] Production.INFO: ==25515== Releasing lock...
[2025-01-06 20:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:37:03] Production.INFO: ==25519== Lock acquired, processing the job...
[2025-01-06 20:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:37:03] Production.INFO: ==25524== Lock acquired, processing the job...
[2025-01-06 20:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:37:03] Production.INFO: Account Balance Start.
[2025-01-06 20:37:03] Production.INFO: CreateAllLog Start
[2025-01-06 20:37:03] Production.INFO: 117
[2025-01-06 20:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:37:03] Production.INFO: Date 2024-12-08
[2025-01-06 20:37:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:37:03] Production.INFO: Date 2024-12-09
[2025-01-06 20:37:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:37:03] Production.INFO: Date 2024-12-10
[2025-01-06 20:37:03] Production.ERROR: done
[2025-01-06 20:37:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:37:03] Production.INFO: Date 2024-12-11
[2025-01-06 20:37:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:37:03] Production.INFO: Date 2024-12-12
[2025-01-06 20:37:03] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 20:37:03] Production.INFO: Date 2024-12-13
[2025-01-06 20:37:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:37:03] Production.INFO: count ==21
[2025-01-06 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-06 20:37:03] Production.INFO: count ==21
[2025-01-06 20:37:04] Production.ERROR: done
[2025-01-06 20:37:04] Production.INFO: Date 2024-12-14
[2025-01-06 20:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190047') start
[2025-01-06 20:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:37:04] Production.INFO: Date 2024-12-15
[2025-01-06 20:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:37:04] Production.INFO: Date 2024-12-16
[2025-01-06 20:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:37:04] Production.INFO: Date 2024-12-17
[2025-01-06 20:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190047') end
[2025-01-06 20:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:37:04] Production.INFO: 1
[2025-01-06 20:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:37:04] Production.INFO: Date 2024-12-18
[2025-01-06 20:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:37:04] Production.INFO: Date 2024-12-19
[2025-01-06 20:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:37:04] Production.INFO: ==25524== Releasing lock...
[2025-01-06 20:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:37:04] Production.INFO: Date 2024-12-20
[2025-01-06 20:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:37:04] Production.INFO: Date 2024-12-21
[2025-01-06 20:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:37:04] Production.INFO: Date 2024-12-22
[2025-01-06 20:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:37:04] Production.INFO: Date 2024-12-23
[2025-01-06 20:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:37:04] Production.INFO: Date 2024-12-24
[2025-01-06 20:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:37:04] Production.INFO: Date 2024-12-25
[2025-01-06 20:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:37:04] Production.INFO: Date 2024-12-26
[2025-01-06 20:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:37:04] Production.INFO: Date 2024-12-27
[2025-01-06 20:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:37:04] Production.INFO: Date 2024-12-28
[2025-01-06 20:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:37:04] Production.INFO: Date 2024-12-29
[2025-01-06 20:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:37:04] Production.INFO: Date 2024-12-30
[2025-01-06 20:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:37:04] Production.INFO: Date 2024-12-31
[2025-01-06 20:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:37:04] Production.INFO: Date 2025-01-01
[2025-01-06 20:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:37:04] Production.INFO: Date 2025-01-02
[2025-01-06 20:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:37:04] Production.INFO: Date 2025-01-03
[2025-01-06 20:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:37:05] Production.INFO: Date 2025-01-04
[2025-01-06 20:37:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:37:05] Production.INFO: Date 2025-01-05
[2025-01-06 20:37:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:37:05] Production.INFO: Date 2025-01-06
[2025-01-06 20:37:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:37:05] Production.INFO: Total Charge 0
[2025-01-06 20:37:05] Production.INFO: CreateAllLog End
[2025-01-06 20:37:05] Production.INFO: Account Balance End.
[2025-01-06 20:37:05] Production.ERROR: CronJobId end 12
[2025-01-06 20:37:05] Production.INFO: ==25519== Releasing lock...
[2025-01-06 20:37:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:37:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:37:05
[end_date_ymd] => 2025-01-06 20:37:05
[RateCDR] => 1
)
[2025-01-06 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-06 17:37:05' and `end` < '2025-01-06 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-06 20:37:12] Production.ERROR: CronJobId end10
[2025-01-06 20:37:12] Production.INFO: ==25517== Releasing lock...
[2025-01-06 20:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:37:13] Production.INFO: call_cost start
[2025-01-06 20:37:13] Production.INFO: call_cost end
[2025-01-06 20:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:37:14] Production.INFO: ==25513== Releasing lock...
[2025-01-06 20:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:37:19] Production.INFO: count ==1440
[2025-01-06 20:37:19] Production.ERROR: pbx CDR StartTime 2025-01-06 17:37:05 - End Time 2025-01-06 20:37:05
[2025-01-06 20:37:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190048', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190048', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190048', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190048', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:37:19] Production.INFO: ProcessCDR(1,14190048,1,1,2)
[2025-01-06 20:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190048,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:37:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190048,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:37:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190048,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:37:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190048,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:37:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190048', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:37:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190048', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:37:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:37:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:37:24] Production.INFO: ==25522== Releasing lock...
[2025-01-06 20:37:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:37:24] Production.INFO: 39 MB #Memory Used#
[2025-01-07 01:38:01] Production.INFO: ==25592== Lock acquired, processing the job...
[2025-01-07 01:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:38:01] Production.INFO: neon service started
[2025-01-07 01:38:01] Production.INFO: neon service started
[2025-01-07 01:38:01] Production.INFO: ==25592== Releasing lock...
[2025-01-07 01:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:38:02] Production.INFO: ==25596== Lock acquired, processing the job...
[2025-01-07 01:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:38:02] Production.INFO: ==25596== Releasing lock...
[2025-01-07 01:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:38:02] Production.INFO: ==25594== Lock acquired, processing the job...
[2025-01-06 20:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 20:38:02] Production.INFO: ==25594== Releasing lock...
[2025-01-06 20:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 20:38:03] Production.INFO: ==25598== Lock acquired, processing the job...
[2025-01-06 20:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:38:03] Production.INFO: ==25600== Lock acquired, processing the job...
[2025-01-06 20:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:38:03] Production.INFO: ==25606== Lock acquired, processing the job...
[2025-01-06 20:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:38:03] Production.INFO: ==25602== Lock acquired, processing the job...
[2025-01-06 20:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:38:03] Production.INFO: ==25608== Lock acquired, processing the job...
[2025-01-06 20:38:03] Production.INFO: ==25604== Lock acquired, processing the job...
[2025-01-06 20:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:38:03] Production.ERROR: done
[2025-01-06 20:38:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 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-06 20:38:04] Production.INFO: ==25600== Releasing lock...
[2025-01-06 20:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:38:04] Production.INFO: count ==21
[2025-01-06 20:38:04] Production.INFO: Account Balance Start.
[2025-01-06 20:38:04] Production.INFO: CreateAllLog Start
[2025-01-06 20:38:04] Production.INFO: 117
[2025-01-06 20:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:38:04] Production.INFO: count ==21
[2025-01-06 20:38:04] Production.INFO: Date 2024-12-08
[2025-01-06 20:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190051') start
[2025-01-06 20:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:38:04] Production.ERROR: done
[2025-01-06 20:38:04] Production.INFO: Date 2024-12-09
[2025-01-06 20:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:38:04] Production.INFO: Date 2024-12-10
[2025-01-06 20:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190051') end
[2025-01-06 20:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:38:04] Production.INFO: 1
[2025-01-06 20:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:38:04] Production.INFO: Date 2024-12-11
[2025-01-06 20:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:38:04] Production.INFO: Date 2024-12-12
[2025-01-06 20:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:38:04] Production.INFO: ==25608== Releasing lock...
[2025-01-06 20:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:38:04] Production.INFO: Date 2024-12-13
[2025-01-06 20:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:38:04] Production.INFO: Date 2024-12-14
[2025-01-06 20:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:38:04] Production.INFO: Date 2024-12-15
[2025-01-06 20:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:38:04] Production.INFO: Date 2024-12-16
[2025-01-06 20:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:38:04] Production.INFO: Date 2024-12-17
[2025-01-06 20:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:38:04] Production.INFO: Date 2024-12-18
[2025-01-06 20:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:38:04] Production.INFO: Date 2024-12-19
[2025-01-06 20:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:38:04] Production.INFO: Date 2024-12-20
[2025-01-06 20:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:38:04] Production.INFO: Date 2024-12-21
[2025-01-06 20:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:38:04] Production.INFO: Date 2024-12-22
[2025-01-06 20:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:38:04] Production.INFO: Date 2024-12-23
[2025-01-06 20:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:38:04] Production.INFO: Date 2024-12-24
[2025-01-06 20:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:38:04] Production.INFO: Date 2024-12-25
[2025-01-06 20:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:38:04] Production.INFO: Date 2024-12-26
[2025-01-06 20:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:38:04] Production.INFO: Date 2024-12-27
[2025-01-06 20:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:38:04] Production.INFO: Date 2024-12-28
[2025-01-06 20:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:38:04] Production.INFO: Date 2024-12-29
[2025-01-06 20:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:38:05] Production.INFO: Date 2024-12-30
[2025-01-06 20:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:38:05] Production.INFO: Date 2024-12-31
[2025-01-06 20:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:38:05] Production.INFO: Date 2025-01-01
[2025-01-06 20:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:38:05] Production.INFO: Date 2025-01-02
[2025-01-06 20:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:38:05] Production.INFO: Date 2025-01-03
[2025-01-06 20:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:38:05] Production.INFO: Date 2025-01-04
[2025-01-06 20:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:38:05] Production.INFO: Date 2025-01-05
[2025-01-06 20:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:38:05] Production.INFO: Date 2025-01-06
[2025-01-06 20:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:38:05] Production.INFO: Total Charge 0
[2025-01-06 20:38:05] Production.INFO: CreateAllLog End
[2025-01-06 20:38:05] Production.INFO: Account Balance End.
[2025-01-06 20:38:05] Production.ERROR: CronJobId end 12
[2025-01-06 20:38:05] Production.INFO: ==25604== Releasing lock...
[2025-01-06 20:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:38:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:38:05
[end_date_ymd] => 2025-01-06 20:38:05
[RateCDR] => 1
)
[2025-01-06 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-06 17:38:05' and `end` < '2025-01-06 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-06 20:38:12] Production.ERROR: CronJobId end10
[2025-01-06 20:38:12] Production.INFO: ==25602== Releasing lock...
[2025-01-06 20:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:38:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:38:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:38:14] Production.INFO: call_cost start
[2025-01-06 20:38:14] Production.INFO: call_cost end
[2025-01-06 20:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:38:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:38:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:38:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:38:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:38:15] Production.INFO: ==25598== Releasing lock...
[2025-01-06 20:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:38:19] Production.INFO: count ==1436
[2025-01-06 20:38:19] Production.ERROR: pbx CDR StartTime 2025-01-06 17:38:05 - End Time 2025-01-06 20:38:05
[2025-01-06 20:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190053', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190053', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190053', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190053', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:38:19] Production.INFO: ProcessCDR(1,14190053,1,1,2)
[2025-01-06 20:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190053,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190053,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190053,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:38:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190053,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190053', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190053', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:38:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:38:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:38:23] Production.INFO: ==25606== Releasing lock...
[2025-01-06 20:38:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:38:23] Production.INFO: 39 MB #Memory Used#
[2025-01-07 01:39:02] Production.INFO: ==25674== Lock acquired, processing the job...
[2025-01-07 01:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:39:02] Production.INFO: neon service started
[2025-01-07 01:39:02] Production.INFO: neon service started
[2025-01-07 01:39:02] Production.INFO: ==25674== Releasing lock...
[2025-01-07 01:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:39:02] Production.INFO: ==25676== Lock acquired, processing the job...
[2025-01-06 20:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:39:03] Production.INFO: ==25678== Lock acquired, processing the job...
[2025-01-07 01:39:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:39:03] Production.INFO: ==25678== Releasing lock...
[2025-01-07 01:39:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:39:03] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:39:03] Production.INFO: ==25676== Releasing lock...
[2025-01-06 20:39:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:39:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 20:39:04] Production.INFO: ==25682== Lock acquired, processing the job...
[2025-01-06 20:39:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:39:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:39:04] Production.INFO: ==25686== Lock acquired, processing the job...
[2025-01-06 20:39:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:39:04] Production.INFO: ==25690== Lock acquired, processing the job...
[2025-01-06 20:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:39:04] Production.INFO: ==25684== Lock acquired, processing the job...
[2025-01-06 20:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:39:04] Production.INFO: ==25688== Lock acquired, processing the job...
[2025-01-06 20:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:39:04] Production.INFO: ==25692== Lock acquired, processing the job...
[2025-01-06 20:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:39:04] Production.ERROR: done
[2025-01-06 20:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:39:04] Production.INFO: Account Balance Start.
[2025-01-06 20:39:04] Production.INFO: CreateAllLog Start
[2025-01-06 20:39:04] Production.INFO: 117
[2025-01-06 20:39:04] Production.INFO: Date 2024-12-08
[2025-01-06 20:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:39:04] Production.INFO: count ==21
[2025-01-06 20:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:39:04] Production.INFO: count ==21
[2025-01-06 20:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190057') start
[2025-01-06 20:39:04] Production.INFO: ==25684== Releasing lock...
[2025-01-06 20:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:39:04] Production.ERROR: done
[2025-01-06 20:39:04] Production.INFO: Date 2024-12-09
[2025-01-06 20:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:39:05] Production.INFO: Date 2024-12-10
[2025-01-06 20:39:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:39:05] Production.INFO: Date 2024-12-11
[2025-01-06 20:39:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:39:05] Production.ERROR: PBX CALL prc_importPBXExtension('14190057') end
[2025-01-06 20:39:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:39:05] Production.INFO: 1
[2025-01-06 20:39:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:39:05] Production.INFO: Date 2024-12-12
[2025-01-06 20:39:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:39:05] Production.INFO: Date 2024-12-13
[2025-01-06 20:39:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:39:05] Production.INFO: ==25692== Releasing lock...
[2025-01-06 20:39:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:39:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:39:05] Production.INFO: Date 2024-12-14
[2025-01-06 20:39:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:39:05] Production.INFO: Date 2024-12-15
[2025-01-06 20:39:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:39:05] Production.INFO: Date 2024-12-16
[2025-01-06 20:39:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:39:05] Production.INFO: Date 2024-12-17
[2025-01-06 20:39:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:39:05] Production.INFO: Date 2024-12-18
[2025-01-06 20:39:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:39:05] Production.INFO: Date 2024-12-19
[2025-01-06 20:39:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:39:05] Production.INFO: Date 2024-12-20
[2025-01-06 20:39:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:39:05] Production.INFO: Date 2024-12-21
[2025-01-06 20:39:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:39:05] Production.INFO: Date 2024-12-22
[2025-01-06 20:39:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:39:05] Production.INFO: Date 2024-12-23
[2025-01-06 20:39:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:39:05] Production.INFO: Date 2024-12-24
[2025-01-06 20:39:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:39:05] Production.INFO: Date 2024-12-25
[2025-01-06 20:39:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:39:05] Production.INFO: Date 2024-12-26
[2025-01-06 20:39:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:39:05] Production.INFO: Date 2024-12-27
[2025-01-06 20:39:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:39:05] Production.INFO: Date 2024-12-28
[2025-01-06 20:39:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:39:05] Production.INFO: Date 2024-12-29
[2025-01-06 20:39:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:39:05] Production.INFO: Date 2024-12-30
[2025-01-06 20:39:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:39:05] Production.INFO: Date 2024-12-31
[2025-01-06 20:39:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:39:05] Production.INFO: Date 2025-01-01
[2025-01-06 20:39:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:39:05] Production.INFO: Date 2025-01-02
[2025-01-06 20:39:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:39:05] Production.INFO: Date 2025-01-03
[2025-01-06 20:39:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:39:05] Production.INFO: Date 2025-01-04
[2025-01-06 20:39:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:39:05] Production.INFO: Date 2025-01-05
[2025-01-06 20:39:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:39:05
[end_date_ymd] => 2025-01-06 20:39:05
[RateCDR] => 1
)
[2025-01-06 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-06 17:39:05' and `end` < '2025-01-06 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-06 20:39:05] Production.INFO: Date 2025-01-06
[2025-01-06 20:39:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:39:06] Production.INFO: Total Charge 0
[2025-01-06 20:39:06] Production.INFO: CreateAllLog End
[2025-01-06 20:39:06] Production.INFO: Account Balance End.
[2025-01-06 20:39:06] Production.ERROR: CronJobId end 12
[2025-01-06 20:39:06] Production.INFO: ==25688== Releasing lock...
[2025-01-06 20:39:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:39:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:39:13] Production.ERROR: CronJobId end10
[2025-01-06 20:39:13] Production.INFO: ==25686== Releasing lock...
[2025-01-06 20:39:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:39:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:39:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:39:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:39:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:39:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:39:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:39:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:39:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:39:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:39:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:39:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:39:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:39:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:39:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:39:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:39:14] Production.INFO: call_cost start
[2025-01-06 20:39:14] Production.INFO: call_cost end
[2025-01-06 20:39:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:39:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:39:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:39:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:39:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:39:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:39:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:39:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:39:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:39:15] Production.INFO: ==25682== Releasing lock...
[2025-01-06 20:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:39:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:39:18] Production.INFO: count ==1434
[2025-01-06 20:39:19] Production.ERROR: pbx CDR StartTime 2025-01-06 17:39:05 - End Time 2025-01-06 20:39:05
[2025-01-06 20:39:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190058', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190058', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190058', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190058', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:39:19] Production.INFO: ProcessCDR(1,14190058,1,1,2)
[2025-01-06 20:39:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190058,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:39:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190058,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:39:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190058,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190058,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190058', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190058', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:39:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:39:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:39:22] Production.INFO: ==25690== Releasing lock...
[2025-01-06 20:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:39:22] Production.INFO: 38.75 MB #Memory Used#
[2025-01-07 01:40:01] Production.INFO: ==25754== Lock acquired, processing the job...
[2025-01-07 01:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:40:01] Production.INFO: neon service started
[2025-01-07 01:40:01] Production.INFO: neon service started
[2025-01-07 01:40:01] Production.INFO: ==25754== Releasing lock...
[2025-01-07 01:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:40:02] Production.INFO: ==25756== Lock acquired, processing the job...
[2025-01-06 20:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:40:02] Production.INFO: ==25758== Lock acquired, processing the job...
[2025-01-07 01:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-06 20:40:02] Production.INFO: ==25756== Releasing lock...
[2025-01-06 20:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:40:02] Production.INFO: ==25758== Releasing lock...
[2025-01-07 01:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:40:03] Production.INFO: ==25760== Lock acquired, processing the job...
[2025-01-06 20:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-06 20:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-06 20:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-06 20:40:03] Production.INFO: ==25760== Releasing lock...
[2025-01-06 20:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-06 20:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-06 20:40:03] Production.INFO: ==25765== Lock acquired, processing the job...
[2025-01-06 20:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:40:03] Production.INFO: ==25762== Lock acquired, processing the job...
[2025-01-06 20:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:40:03] Production.INFO: ==25769== Lock acquired, processing the job...
[2025-01-06 20:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:40:03] Production.INFO: ==25773== Lock acquired, processing the job...
[2025-01-06 20:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-06 20:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:40:03] Production.INFO: ==25767== Lock acquired, processing the job...
[2025-01-06 20:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:40:03] Production.INFO: Account Balance Start.
[2025-01-06 20:40:03] Production.INFO: CreateAllLog Start
[2025-01-06 20:40:03] Production.INFO: 117
[2025-01-06 20:40:03] Production.INFO: ==25771== Lock acquired, processing the job...
[2025-01-06 20:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:40:03] Production.INFO: Date 2024-12-08
[2025-01-06 20:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:40:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:40:03] Production.INFO: Date 2024-12-09
[2025-01-06 20:40:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:40:03] Production.INFO: Date 2024-12-10
[2025-01-06 20:40:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:40:03] Production.INFO: ==25775== Lock acquired, processing the job...
[2025-01-06 20:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:40:04] Production.INFO: ==25765== Releasing lock...
[2025-01-06 20:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:40:04] Production.INFO: Date 2024-12-11
[2025-01-06 20:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 20:40:04] Production.INFO: Date 2024-12-12
[2025-01-06 20:40:04] Production.ERROR: done
[2025-01-06 20:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:40:04] Production.ERROR: done
[2025-01-06 20:40:04] Production.INFO: count ==21
[2025-01-06 20:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 20:40:04] Production.INFO: count ==21
[2025-01-06 20:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190062') start
[2025-01-06 20:40:04] Production.INFO: Date 2024-12-13
[2025-01-06 20:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:40:04] Production.INFO: Date 2024-12-14
[2025-01-06 20:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-06 20:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14190063', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) start
[2025-01-06 20:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:40:04] Production.ERROR: done
[2025-01-06 20:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190062') end
[2025-01-06 20:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:40:04] Production.INFO: 1
[2025-01-06 20:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:40:04] Production.INFO: Date 2024-12-15
[2025-01-06 20:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:40:04] Production.INFO: Date 2024-12-16
[2025-01-06 20:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:40:04] Production.INFO: ==25775== Releasing lock...
[2025-01-06 20:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:40:04] Production.INFO: Date 2024-12-17
[2025-01-06 20:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:40:04] Production.INFO: Date 2024-12-18
[2025-01-06 20:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:40:04] Production.INFO: Date 2024-12-19
[2025-01-06 20:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:40:04] Production.INFO: Date 2024-12-20
[2025-01-06 20:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:40:04] Production.INFO: Date 2024-12-21
[2025-01-06 20:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:40:04] Production.INFO: Date 2024-12-22
[2025-01-06 20:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:40:04] Production.INFO: Date 2024-12-23
[2025-01-06 20:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:40:04] Production.INFO: Date 2024-12-24
[2025-01-06 20:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:40:04] Production.INFO: Date 2024-12-25
[2025-01-06 20:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:40:04] Production.INFO: Date 2024-12-26
[2025-01-06 20:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:40:04] Production.INFO: Date 2024-12-27
[2025-01-06 20:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:40:04] Production.INFO: Date 2024-12-28
[2025-01-06 20:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:40:04] Production.INFO: Date 2024-12-29
[2025-01-06 20:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:40:05] Production.INFO: Date 2024-12-30
[2025-01-06 20:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:40:05] Production.INFO: Date 2024-12-31
[2025-01-06 20:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:40:05] Production.INFO: Date 2025-01-01
[2025-01-06 20:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:40:05] Production.INFO: Date 2025-01-02
[2025-01-06 20:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:40:05] Production.INFO: Date 2025-01-03
[2025-01-06 20:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:40:05] Production.INFO: Date 2025-01-04
[2025-01-06 20:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:40:05] Production.INFO: Date 2025-01-05
[2025-01-06 20:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:40:05] Production.INFO: Date 2025-01-06
[2025-01-06 20:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:40:05] Production.INFO: Total Charge 0
[2025-01-06 20:40:05] Production.INFO: CreateAllLog End
[2025-01-06 20:40:05] Production.INFO: Account Balance End.
[2025-01-06 20:40:05] Production.ERROR: CronJobId end 12
[2025-01-06 20:40:05] Production.INFO: ==25769== Releasing lock...
[2025-01-06 20:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:40:05
[end_date_ymd] => 2025-01-06 20:40:05
[RateCDR] => 1
)
[2025-01-06 20:40:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 17:40:05' and `end` < '2025-01-06 20:40:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 20:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14190063', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) end
[2025-01-06 20:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-06 20:40:08] Production.INFO: ProcessCDR(1,14190063,1,1,2)
[2025-01-06 20:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14190063,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14190063,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:40:08] Production.INFO: ==25773== Releasing lock...
[2025-01-06 20:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-06 20:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-06 20:40:14] Production.ERROR: CronJobId end10
[2025-01-06 20:40:14] Production.INFO: ==25767== Releasing lock...
[2025-01-06 20:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:40:15] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:40:15] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:40:15] Production.INFO: call_cost start
[2025-01-06 20:40:15] Production.INFO: call_cost end
[2025-01-06 20:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:40:16] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:40:16] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:40:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:40:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:40:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:40:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:40:16] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:40:16] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:40:16] Production.INFO: ==25762== Releasing lock...
[2025-01-06 20:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:40:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:40:19] Production.INFO: count ==1429
[2025-01-06 20:40:19] Production.ERROR: pbx CDR StartTime 2025-01-06 17:40:05 - End Time 2025-01-06 20:40:05
[2025-01-06 20:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190064', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190064', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190064', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190064', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:40:19] Production.INFO: ProcessCDR(1,14190064,1,1,2)
[2025-01-06 20:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190064,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:40:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190064,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:40:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190064,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:40:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190064,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190064', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190064', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:40:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:40:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:40:24] Production.INFO: ==25771== Releasing lock...
[2025-01-06 20:40:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:40:24] Production.INFO: 39.5 MB #Memory Used#
[2025-01-07 01:41:02] Production.INFO: ==25842== Lock acquired, processing the job...
[2025-01-07 01:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:41:02] Production.INFO: neon service started
[2025-01-07 01:41:02] Production.INFO: neon service started
[2025-01-07 01:41:02] Production.INFO: ==25842== Releasing lock...
[2025-01-07 01:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:41:02] Production.INFO: ==25844== Lock acquired, processing the job...
[2025-01-06 20:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 20:41:02] Production.INFO: ==25844== Releasing lock...
[2025-01-06 20:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:41:02] Production.INFO: ==25846== Lock acquired, processing the job...
[2025-01-07 01:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:41:03] Production.INFO: ==25846== Releasing lock...
[2025-01-07 01:41:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:41:03] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:41:03] Production.INFO: ==25854== Lock acquired, processing the job...
[2025-01-06 20:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:41:03] Production.INFO: Account Balance Start.
[2025-01-06 20:41:03] Production.INFO: CreateAllLog Start
[2025-01-06 20:41:03] Production.INFO: ==25858== Lock acquired, processing the job...
[2025-01-06 20:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:41:03] Production.INFO: 117
[2025-01-06 20:41:03] Production.INFO: Date 2024-12-08
[2025-01-06 20:41:03] Production.INFO: ==25848== Lock acquired, processing the job...
[2025-01-06 20:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:41:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:41:03] Production.INFO: ==25850== Lock acquired, processing the job...
[2025-01-06 20:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:41:03] Production.INFO: Date 2024-12-09
[2025-01-06 20:41:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:41:03] Production.INFO: ==25856== Lock acquired, processing the job...
[2025-01-06 20:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:41:03] Production.INFO: ==25852== Lock acquired, processing the job...
[2025-01-06 20:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:41:03] Production.INFO: Date 2024-12-10
[2025-01-06 20:41:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:41:03] Production.INFO: count ==21
[2025-01-06 20:41:03] Production.INFO: Date 2024-12-11
[2025-01-06 20:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:41:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:41:03] Production.INFO: count ==21
[2025-01-06 20:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:41:03] Production.INFO: Date 2024-12-12
[2025-01-06 20:41:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190066') start
[2025-01-06 20:41:04] Production.INFO: Date 2024-12-13
[2025-01-06 20:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:41:04] Production.INFO: Date 2024-12-14
[2025-01-06 20:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:41:04] Production.INFO: Date 2024-12-15
[2025-01-06 20:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190066') end
[2025-01-06 20:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:41:04] Production.INFO: 1
[2025-01-06 20:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:41:04] Production.INFO: ==25858== Releasing lock...
[2025-01-06 20:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:41:04] Production.INFO: ==25850== Releasing lock...
[2025-01-06 20:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:41:04] Production.ERROR: done
[2025-01-06 20:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:41:04] Production.INFO: Date 2024-12-16
[2025-01-06 20:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:41:04] Production.INFO: Date 2024-12-17
[2025-01-06 20:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:41:04] Production.INFO: Date 2024-12-18
[2025-01-06 20:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:41:04] Production.INFO: Date 2024-12-19
[2025-01-06 20:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:41:04] Production.ERROR: done
[2025-01-06 20:41:04] Production.INFO: Date 2024-12-20
[2025-01-06 20:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:41:04] Production.INFO: Date 2024-12-21
[2025-01-06 20:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:41:04] Production.INFO: Date 2024-12-22
[2025-01-06 20:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:41:04] Production.INFO: Date 2024-12-23
[2025-01-06 20:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:41:04] Production.INFO: Date 2024-12-24
[2025-01-06 20:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:41:04] Production.INFO: Date 2024-12-25
[2025-01-06 20:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:41:04] Production.INFO: Date 2024-12-26
[2025-01-06 20:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:41:04] Production.INFO: Date 2024-12-27
[2025-01-06 20:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:41:04] Production.INFO: Date 2024-12-28
[2025-01-06 20:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:41:04] Production.INFO: Date 2024-12-29
[2025-01-06 20:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:41:04] Production.INFO: Date 2024-12-30
[2025-01-06 20:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:41:04] Production.INFO: Date 2024-12-31
[2025-01-06 20:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:41:04] Production.INFO: Date 2025-01-01
[2025-01-06 20:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:41:04] Production.INFO: Date 2025-01-02
[2025-01-06 20:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:41:04] Production.INFO: Date 2025-01-03
[2025-01-06 20:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:41:05] Production.INFO: Date 2025-01-04
[2025-01-06 20:41:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:41:05] Production.INFO: Date 2025-01-05
[2025-01-06 20:41:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:41:05] Production.INFO: Date 2025-01-06
[2025-01-06 20:41:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:41:05] Production.INFO: Total Charge 0
[2025-01-06 20:41:05] Production.INFO: CreateAllLog End
[2025-01-06 20:41:05] Production.INFO: Account Balance End.
[2025-01-06 20:41:05] Production.ERROR: CronJobId end 12
[2025-01-06 20:41:05] Production.INFO: ==25854== Releasing lock...
[2025-01-06 20:41:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:41:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:41:05
[end_date_ymd] => 2025-01-06 20:41:05
[RateCDR] => 1
)
[2025-01-06 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-06 17:41:05' and `end` < '2025-01-06 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-06 20:41:12] Production.ERROR: CronJobId end10
[2025-01-06 20:41:12] Production.INFO: ==25852== Releasing lock...
[2025-01-06 20:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:41:13] Production.INFO: call_cost start
[2025-01-06 20:41:13] Production.INFO: call_cost end
[2025-01-06 20:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:41:14] Production.INFO: ==25848== Releasing lock...
[2025-01-06 20:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:41:19] Production.INFO: count ==1336
[2025-01-06 20:41:19] Production.ERROR: pbx CDR StartTime 2025-01-06 17:41:05 - End Time 2025-01-06 20:41:05
[2025-01-06 20:41:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190069', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190069', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190069', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190069', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:41:19] Production.INFO: ProcessCDR(1,14190069,1,1,2)
[2025-01-06 20:41:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190069,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:41:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190069,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:41:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190069,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190069,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190069', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190069', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:41:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:41:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:41:22] Production.INFO: ==25856== Releasing lock...
[2025-01-06 20:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:41:22] Production.INFO: 38.5 MB #Memory Used#
[2025-01-07 01:42:01] Production.INFO: ==25965== Lock acquired, processing the job...
[2025-01-07 01:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:42:01] Production.INFO: neon service started
[2025-01-07 01:42:01] Production.INFO: neon service started
[2025-01-07 01:42:01] Production.INFO: ==25965== Releasing lock...
[2025-01-07 01:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:42:02] Production.INFO: ==25967== Lock acquired, processing the job...
[2025-01-06 20:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 20:42:02] Production.INFO: ==25967== Releasing lock...
[2025-01-06 20:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:42:02] Production.INFO: ==25969== Lock acquired, processing the job...
[2025-01-07 01:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:42:02] Production.INFO: ==25969== Releasing lock...
[2025-01-07 01:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:42:03] Production.INFO: ==25980== Lock acquired, processing the job...
[2025-01-06 20:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:42:03] Production.INFO: ==25972== Lock acquired, processing the job...
[2025-01-06 20:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:42:03] Production.INFO: ==25982== Lock acquired, processing the job...
[2025-01-06 20:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:42:03] Production.INFO: ==25974== Lock acquired, processing the job...
[2025-01-06 20:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:42:03] Production.INFO: ==25976== Lock acquired, processing the job...
[2025-01-06 20:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:42:03] Production.INFO: ==25978== Lock acquired, processing the job...
[2025-01-06 20:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 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-06 20:42:03] Production.INFO: count ==21
[2025-01-06 20:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 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-06 20:42:03] Production.INFO: count ==21
[2025-01-06 20:42:03] Production.INFO: Account Balance Start.
[2025-01-06 20:42:03] Production.INFO: CreateAllLog Start
[2025-01-06 20:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190071') start
[2025-01-06 20:42:03] Production.INFO: 117
[2025-01-06 20:42:03] Production.INFO: Date 2024-12-08
[2025-01-06 20:42:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:42:03] Production.ERROR: done
[2025-01-06 20:42:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:42:03] Production.INFO: Date 2024-12-09
[2025-01-06 20:42:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:42:03] Production.INFO: Date 2024-12-10
[2025-01-06 20:42:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:42:03] Production.INFO: Date 2024-12-11
[2025-01-06 20:42:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190071') end
[2025-01-06 20:42:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:42:03] Production.INFO: 1
[2025-01-06 20:42:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:42:03] Production.INFO: Date 2024-12-12
[2025-01-06 20:42:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:42:03] Production.INFO: ==25974== Releasing lock...
[2025-01-06 20:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:42:03] Production.ERROR: done
[2025-01-06 20:42:03] Production.INFO: Date 2024-12-13
[2025-01-06 20:42:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:42:04] Production.INFO: ==25982== Releasing lock...
[2025-01-06 20:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:42:04] Production.INFO: Date 2024-12-14
[2025-01-06 20:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:42:04] Production.INFO: Date 2024-12-15
[2025-01-06 20:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:42:04] Production.INFO: Date 2024-12-16
[2025-01-06 20:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:42:04] Production.INFO: Date 2024-12-17
[2025-01-06 20:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:42:04] Production.INFO: Date 2024-12-18
[2025-01-06 20:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:42:04] Production.INFO: Date 2024-12-19
[2025-01-06 20:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:42:04] Production.INFO: Date 2024-12-20
[2025-01-06 20:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:42:04] Production.INFO: Date 2024-12-21
[2025-01-06 20:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:42:04] Production.INFO: Date 2024-12-22
[2025-01-06 20:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:42:04] Production.INFO: Date 2024-12-23
[2025-01-06 20:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:42:04] Production.INFO: Date 2024-12-24
[2025-01-06 20:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:42:04] Production.INFO: Date 2024-12-25
[2025-01-06 20:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:42:04] Production.INFO: Date 2024-12-26
[2025-01-06 20:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:42:04] Production.INFO: Date 2024-12-27
[2025-01-06 20:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:42:04] Production.INFO: Date 2024-12-28
[2025-01-06 20:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:42:04] Production.INFO: Date 2024-12-29
[2025-01-06 20:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:42:04] Production.INFO: Date 2024-12-30
[2025-01-06 20:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:42:04] Production.INFO: Date 2024-12-31
[2025-01-06 20:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:42:04] Production.INFO: Date 2025-01-01
[2025-01-06 20:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:42:04] Production.INFO: Date 2025-01-02
[2025-01-06 20:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:42:04] Production.INFO: Date 2025-01-03
[2025-01-06 20:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:42:04] Production.INFO: Date 2025-01-04
[2025-01-06 20:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:42:04] Production.INFO: Date 2025-01-05
[2025-01-06 20:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:42:04] Production.INFO: Date 2025-01-06
[2025-01-06 20:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:42:04] Production.INFO: Total Charge 0
[2025-01-06 20:42:04] Production.INFO: CreateAllLog End
[2025-01-06 20:42:05] Production.INFO: Account Balance End.
[2025-01-06 20:42:05] Production.ERROR: CronJobId end 12
[2025-01-06 20:42:05] Production.INFO: ==25978== Releasing lock...
[2025-01-06 20:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:42:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:42:05
[end_date_ymd] => 2025-01-06 20:42:05
[RateCDR] => 1
)
[2025-01-06 20:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 17:42:05' and `end` < '2025-01-06 20:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 20:42:12] Production.ERROR: CronJobId end10
[2025-01-06 20:42:12] Production.INFO: ==25976== Releasing lock...
[2025-01-06 20:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:42:14] Production.INFO: call_cost start
[2025-01-06 20:42:14] Production.INFO: call_cost end
[2025-01-06 20:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:42:14] Production.INFO: ==25972== Releasing lock...
[2025-01-06 20:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:42:19] Production.INFO: count ==1331
[2025-01-06 20:42:19] Production.ERROR: pbx CDR StartTime 2025-01-06 17:42:05 - End Time 2025-01-06 20:42:05
[2025-01-06 20:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190074', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190074', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190074', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190074', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:42:19] Production.INFO: ProcessCDR(1,14190074,1,1,2)
[2025-01-06 20:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190074,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190074,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190074,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190074,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190074', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190074', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:42:22] Production.INFO: ==25980== Releasing lock...
[2025-01-06 20:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:42:22] Production.INFO: 38.5 MB #Memory Used#
[2025-01-07 01:43:02] Production.INFO: ==26046== Lock acquired, processing the job...
[2025-01-07 01:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:43:02] Production.INFO: neon service started
[2025-01-07 01:43:02] Production.INFO: neon service started
[2025-01-07 01:43:02] Production.INFO: ==26046== Releasing lock...
[2025-01-07 01:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:43:02] Production.INFO: ==26048== Lock acquired, processing the job...
[2025-01-06 20:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 20:43:02] Production.INFO: ==26048== Releasing lock...
[2025-01-06 20:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:43:02] Production.INFO: ==26050== Lock acquired, processing the job...
[2025-01-07 01:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:43:02] Production.INFO: ==26050== Releasing lock...
[2025-01-07 01:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:43:03] Production.INFO: ==26057== Lock acquired, processing the job...
[2025-01-06 20:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:43:03] Production.INFO: ==26061== Lock acquired, processing the job...
[2025-01-06 20:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:43:03] Production.INFO: ==26053== Lock acquired, processing the job...
[2025-01-06 20:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:43:03] Production.INFO: ==26055== Lock acquired, processing the job...
[2025-01-06 20:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:43:03] Production.INFO: ==26059== Lock acquired, processing the job...
[2025-01-06 20:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:43:03] Production.INFO: ==26063== Lock acquired, processing the job...
[2025-01-06 20:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:43:03] Production.INFO: Account Balance Start.
[2025-01-06 20:43:03] Production.INFO: CreateAllLog Start
[2025-01-06 20:43:03] Production.INFO: 117
[2025-01-06 20:43:03] Production.INFO: Date 2024-12-08
[2025-01-06 20:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:43:04] Production.INFO: count ==21
[2025-01-06 20:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:43:04] Production.INFO: count ==21
[2025-01-06 20:43:04] Production.ERROR: done
[2025-01-06 20:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190078') start
[2025-01-06 20:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:43:04] Production.INFO: Date 2024-12-09
[2025-01-06 20:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:43:04] Production.INFO: Date 2024-12-10
[2025-01-06 20:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:43:04] Production.ERROR: done
[2025-01-06 20:43:04] Production.INFO: Date 2024-12-11
[2025-01-06 20:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190078') end
[2025-01-06 20:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:43:04] Production.INFO: 1
[2025-01-06 20:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:43:04] Production.INFO: ==26055== Releasing lock...
[2025-01-06 20:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:43:04] Production.INFO: ==26063== Releasing lock...
[2025-01-06 20:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:43:04] Production.INFO: Date 2024-12-12
[2025-01-06 20:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:43:04] Production.INFO: Date 2024-12-13
[2025-01-06 20:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:43:04] Production.INFO: Date 2024-12-14
[2025-01-06 20:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:43:04] Production.INFO: Date 2024-12-15
[2025-01-06 20:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:43:04] Production.INFO: Date 2024-12-16
[2025-01-06 20:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:43:04] Production.INFO: Date 2024-12-17
[2025-01-06 20:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:43:04] Production.INFO: Date 2024-12-18
[2025-01-06 20:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:43:04] Production.INFO: Date 2024-12-19
[2025-01-06 20:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:43:04] Production.INFO: Date 2024-12-20
[2025-01-06 20:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:43:04] Production.INFO: Date 2024-12-21
[2025-01-06 20:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:43:04] Production.INFO: Date 2024-12-22
[2025-01-06 20:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:43:04] Production.INFO: Date 2024-12-23
[2025-01-06 20:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:43:04] Production.INFO: Date 2024-12-24
[2025-01-06 20:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:43:04] Production.INFO: Date 2024-12-25
[2025-01-06 20:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:43:04] Production.INFO: Date 2024-12-26
[2025-01-06 20:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:43:04] Production.INFO: Date 2024-12-27
[2025-01-06 20:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:43:04] Production.INFO: Date 2024-12-28
[2025-01-06 20:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:43:04] Production.INFO: Date 2024-12-29
[2025-01-06 20:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:43:04] Production.INFO: Date 2024-12-30
[2025-01-06 20:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:43:04] Production.INFO: Date 2024-12-31
[2025-01-06 20:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:43:04] Production.INFO: Date 2025-01-01
[2025-01-06 20:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:43:04] Production.INFO: Date 2025-01-02
[2025-01-06 20:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:43:04] Production.INFO: Date 2025-01-03
[2025-01-06 20:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:43:05] Production.INFO: Date 2025-01-04
[2025-01-06 20:43:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:43:05] Production.INFO: Date 2025-01-05
[2025-01-06 20:43:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:43:05] Production.INFO: Date 2025-01-06
[2025-01-06 20:43:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:43:05] Production.INFO: Total Charge 0
[2025-01-06 20:43:05] Production.INFO: CreateAllLog End
[2025-01-06 20:43:05] Production.INFO: Account Balance End.
[2025-01-06 20:43:05] Production.ERROR: CronJobId end 12
[2025-01-06 20:43:05] Production.INFO: ==26059== Releasing lock...
[2025-01-06 20:43:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:43:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:43:05
[end_date_ymd] => 2025-01-06 20:43:05
[RateCDR] => 1
)
[2025-01-06 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-06 17:43:05' and `end` < '2025-01-06 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-06 20:43:12] Production.ERROR: CronJobId end10
[2025-01-06 20:43:12] Production.INFO: ==26057== Releasing lock...
[2025-01-06 20:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:43:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:43:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:43:14] Production.INFO: call_cost start
[2025-01-06 20:43:14] Production.INFO: call_cost end
[2025-01-06 20:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:43:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:43:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:43:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:43:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:43:15] Production.INFO: ==26053== Releasing lock...
[2025-01-06 20:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:43:19] Production.INFO: count ==1328
[2025-01-06 20:43:19] Production.ERROR: pbx CDR StartTime 2025-01-06 17:43:05 - End Time 2025-01-06 20:43:05
[2025-01-06 20:43:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190079', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190079', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190079', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190079', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:43:19] Production.INFO: ProcessCDR(1,14190079,1,1,2)
[2025-01-06 20:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190079,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:43:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190079,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:43:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190079,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190079,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190079', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190079', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:43:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:43:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:43:22] Production.INFO: ==26061== Releasing lock...
[2025-01-06 20:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:43:22] Production.INFO: 38.25 MB #Memory Used#
[2025-01-07 01:44:01] Production.INFO: ==26125== Lock acquired, processing the job...
[2025-01-07 01:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:44:01] Production.INFO: neon service started
[2025-01-07 01:44:01] Production.INFO: neon service started
[2025-01-07 01:44:01] Production.INFO: ==26125== Releasing lock...
[2025-01-07 01:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:44:01] Production.INFO: ==26127== Lock acquired, processing the job...
[2025-01-06 20:44:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 20:44:02] Production.INFO: ==26127== Releasing lock...
[2025-01-06 20:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:44:02] Production.INFO: ==26129== Lock acquired, processing the job...
[2025-01-07 01:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:44:02] Production.INFO: ==26129== Releasing lock...
[2025-01-07 01:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:44:02] Production.INFO: ==26133== Lock acquired, processing the job...
[2025-01-06 20:44:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:44:03] Production.INFO: ==26137== Lock acquired, processing the job...
[2025-01-06 20:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:44:03] Production.INFO: ==26135== Lock acquired, processing the job...
[2025-01-06 20:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:44:03] Production.INFO: ==26131== Lock acquired, processing the job...
[2025-01-06 20:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:44:03] Production.INFO: ==26133== Releasing lock...
[2025-01-06 20:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:44:03] Production.INFO: Account Balance Start.
[2025-01-06 20:44:03] Production.INFO: CreateAllLog Start
[2025-01-06 20:44:03] Production.INFO: 117
[2025-01-06 20:44:03] Production.INFO: Date 2024-12-08
[2025-01-06 20:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:44:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:44:03] Production.INFO: Date 2024-12-09
[2025-01-06 20:44:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:44:03] Production.INFO: ==26139== Lock acquired, processing the job...
[2025-01-06 20:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:44:03] Production.INFO: ==26141== Lock acquired, processing the job...
[2025-01-06 20:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:44:03] Production.INFO: Date 2024-12-10
[2025-01-06 20:44:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:44:03] Production.INFO: Date 2024-12-11
[2025-01-06 20:44:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:44:03] Production.INFO: Date 2024-12-12
[2025-01-06 20:44:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:44:03] Production.INFO: Date 2024-12-13
[2025-01-06 20:44:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:44:03] Production.INFO: Date 2024-12-14
[2025-01-06 20:44:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:44:03] Production.INFO: Date 2024-12-15
[2025-01-06 20:44:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:44:03] Production.INFO: Date 2024-12-16
[2025-01-06 20:44:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:44:03] Production.INFO: count ==21
[2025-01-06 20:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:44:03] Production.INFO: count ==21
[2025-01-06 20:44:03] Production.INFO: Date 2024-12-17
[2025-01-06 20:44:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190083') start
[2025-01-06 20:44:03] Production.INFO: Date 2024-12-18
[2025-01-06 20:44:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:44:03] Production.INFO: Date 2024-12-19
[2025-01-06 20:44:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:44:03] Production.INFO: Date 2024-12-20
[2025-01-06 20:44:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:44:03] Production.INFO: Date 2024-12-21
[2025-01-06 20:44:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190083') end
[2025-01-06 20:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:44:04] Production.INFO: 1
[2025-01-06 20:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:44:04] Production.ERROR: done
[2025-01-06 20:44:04] Production.INFO: Date 2024-12-22
[2025-01-06 20:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:44:04] Production.INFO: ==26141== Releasing lock...
[2025-01-06 20:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:44:04] Production.INFO: Date 2024-12-23
[2025-01-06 20:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:44:04] Production.INFO: Date 2024-12-24
[2025-01-06 20:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:44:04] Production.INFO: Date 2024-12-25
[2025-01-06 20:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:44:04] Production.INFO: Date 2024-12-26
[2025-01-06 20:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:44:04] Production.INFO: Date 2024-12-27
[2025-01-06 20:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:44:04] Production.ERROR: done
[2025-01-06 20:44:04] Production.INFO: Date 2024-12-28
[2025-01-06 20:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:44:04] Production.INFO: Date 2024-12-29
[2025-01-06 20:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:44:04] Production.INFO: Date 2024-12-30
[2025-01-06 20:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:44:04] Production.INFO: Date 2024-12-31
[2025-01-06 20:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:44:04] Production.INFO: Date 2025-01-01
[2025-01-06 20:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:44:04] Production.INFO: Date 2025-01-02
[2025-01-06 20:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:44:04] Production.INFO: Date 2025-01-03
[2025-01-06 20:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:44:04] Production.INFO: Date 2025-01-04
[2025-01-06 20:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:44:04] Production.INFO: Date 2025-01-05
[2025-01-06 20:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:44:04] Production.INFO: Date 2025-01-06
[2025-01-06 20:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:44:04] Production.INFO: Total Charge 0
[2025-01-06 20:44:04] Production.INFO: CreateAllLog End
[2025-01-06 20:44:04] Production.INFO: Account Balance End.
[2025-01-06 20:44:04] Production.ERROR: CronJobId end 12
[2025-01-06 20:44:04] Production.INFO: ==26137== Releasing lock...
[2025-01-06 20:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:44:05
[end_date_ymd] => 2025-01-06 20:44:05
[RateCDR] => 1
)
[2025-01-06 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-06 17:44:05' and `end` < '2025-01-06 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-06 20:44:12] Production.ERROR: CronJobId end10
[2025-01-06 20:44:12] Production.INFO: ==26135== Releasing lock...
[2025-01-06 20:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:44:13] Production.INFO: call_cost start
[2025-01-06 20:44:13] Production.INFO: call_cost end
[2025-01-06 20:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:44:14] Production.INFO: ==26131== Releasing lock...
[2025-01-06 20:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:44:18] Production.INFO: count ==1315
[2025-01-06 20:44:18] Production.ERROR: pbx CDR StartTime 2025-01-06 17:44:05 - End Time 2025-01-06 20:44:05
[2025-01-06 20:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190084', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190084', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190084', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190084', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:44:18] Production.INFO: ProcessCDR(1,14190084,1,1,2)
[2025-01-06 20:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190084,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:44:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190084,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190084,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:44:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190084,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190084', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190084', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:44:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:44:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:44:23] Production.INFO: ==26139== Releasing lock...
[2025-01-06 20:44:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:44:23] Production.INFO: 38.5 MB #Memory Used#
[2025-01-07 01:45:02] Production.INFO: ==26208== Lock acquired, processing the job...
[2025-01-07 01:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:45:02] Production.INFO: neon service started
[2025-01-07 01:45:02] Production.INFO: neon service started
[2025-01-07 01:45:02] Production.INFO: ==26208== Releasing lock...
[2025-01-07 01:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:45:02] Production.INFO: ==26211== Lock acquired, processing the job...
[2025-01-06 20:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 20:45:02] Production.INFO: ==26211== Releasing lock...
[2025-01-06 20:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:45:03] Production.INFO: ==26213== Lock acquired, processing the job...
[2025-01-07 01:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:45:03] Production.INFO: ==26213== Releasing lock...
[2025-01-07 01:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:45:03] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:45:03] Production.INFO: ==26215== Lock acquired, processing the job...
[2025-01-06 20:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:45:03] Production.INFO: ==26217== Lock acquired, processing the job...
[2025-01-06 20:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:45:03] Production.INFO: ==26221== Lock acquired, processing the job...
[2025-01-06 20:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:45:03] Production.INFO: ==26219== Lock acquired, processing the job...
[2025-01-06 20:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:45:04] Production.INFO: ==26225== Lock acquired, processing the job...
[2025-01-06 20:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:45:04] Production.INFO: ==26217== Releasing lock...
[2025-01-06 20:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:45:04] Production.INFO: Account Balance Start.
[2025-01-06 20:45:04] Production.INFO: CreateAllLog Start
[2025-01-06 20:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:45:04] Production.INFO: 117
[2025-01-06 20:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:45:04] Production.INFO: Date 2024-12-08
[2025-01-06 20:45:04] Production.INFO: ==26223== Lock acquired, processing the job...
[2025-01-06 20:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:45:04] Production.INFO: Date 2024-12-09
[2025-01-06 20:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:45:04] Production.INFO: Date 2024-12-10
[2025-01-06 20:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:45:04] Production.INFO: count ==21
[2025-01-06 20:45:04] Production.INFO: Date 2024-12-11
[2025-01-06 20:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:45:04] Production.INFO: Date 2024-12-12
[2025-01-06 20:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:45:04] Production.INFO: count ==21
[2025-01-06 20:45:04] Production.INFO: Date 2024-12-13
[2025-01-06 20:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190088') start
[2025-01-06 20:45:04] Production.INFO: Date 2024-12-14
[2025-01-06 20:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:45:04] Production.INFO: Date 2024-12-15
[2025-01-06 20:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:45:04] Production.INFO: Date 2024-12-16
[2025-01-06 20:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:45:04] Production.ERROR: done
[2025-01-06 20:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:45:04] Production.INFO: Date 2024-12-17
[2025-01-06 20:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190088') end
[2025-01-06 20:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:45:04] Production.INFO: 1
[2025-01-06 20:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:45:04] Production.INFO: Date 2024-12-18
[2025-01-06 20:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:45:04] Production.INFO: Date 2024-12-19
[2025-01-06 20:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:45:04] Production.INFO: Date 2024-12-20
[2025-01-06 20:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:45:04] Production.INFO: Date 2024-12-21
[2025-01-06 20:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:45:04] Production.INFO: Date 2024-12-22
[2025-01-06 20:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:45:04] Production.INFO: ==26225== Releasing lock...
[2025-01-06 20:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:45:04] Production.ERROR: done
[2025-01-06 20:45:04] Production.INFO: Date 2024-12-23
[2025-01-06 20:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:45:04] Production.INFO: Date 2024-12-24
[2025-01-06 20:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:45:04] Production.INFO: Date 2024-12-25
[2025-01-06 20:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:45:04] Production.INFO: Date 2024-12-26
[2025-01-06 20:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:45:05] Production.INFO: Date 2024-12-27
[2025-01-06 20:45:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:45:05] Production.INFO: Date 2024-12-28
[2025-01-06 20:45:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:45:05] Production.INFO: Date 2024-12-29
[2025-01-06 20:45:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:45:05] Production.INFO: Date 2024-12-30
[2025-01-06 20:45:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:45:05] Production.INFO: Date 2024-12-31
[2025-01-06 20:45:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:45:05] Production.INFO: Date 2025-01-01
[2025-01-06 20:45:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:45:05] Production.INFO: Date 2025-01-02
[2025-01-06 20:45:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:45:05] Production.INFO: Date 2025-01-03
[2025-01-06 20:45:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:45:05] Production.INFO: Date 2025-01-04
[2025-01-06 20:45:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:45:05] Production.INFO: Date 2025-01-05
[2025-01-06 20:45:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:45:05] Production.INFO: Date 2025-01-06
[2025-01-06 20:45:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:45:05] Production.INFO: Total Charge 0
[2025-01-06 20:45:05] Production.INFO: CreateAllLog End
[2025-01-06 20:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:45:05
[end_date_ymd] => 2025-01-06 20:45:05
[RateCDR] => 1
)
[2025-01-06 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-06 17:45:05' and `end` < '2025-01-06 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-06 20:45:05] Production.INFO: Account Balance End.
[2025-01-06 20:45:05] Production.ERROR: CronJobId end 12
[2025-01-06 20:45:05] Production.INFO: ==26221== Releasing lock...
[2025-01-06 20:45:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:45:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:45:13] Production.ERROR: CronJobId end10
[2025-01-06 20:45:13] Production.INFO: ==26219== Releasing lock...
[2025-01-06 20:45:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:45:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:45:14] Production.INFO: call_cost start
[2025-01-06 20:45:14] Production.INFO: call_cost end
[2025-01-06 20:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:45:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:45:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:45:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:45:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:45:15] Production.INFO: ==26215== Releasing lock...
[2025-01-06 20:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:45:18] Production.INFO: count ==1309
[2025-01-06 20:45:18] Production.ERROR: pbx CDR StartTime 2025-01-06 17:45:05 - End Time 2025-01-06 20:45:05
[2025-01-06 20:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190089', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190089', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190089', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190089', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:45:18] Production.INFO: ProcessCDR(1,14190089,1,1,2)
[2025-01-06 20:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190089,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190089,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190089,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:45:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190089,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190089', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190089', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:45:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:45:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:45:22] Production.INFO: ==26223== Releasing lock...
[2025-01-06 20:45:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:45:22] Production.INFO: 38.25 MB #Memory Used#
[2025-01-07 01:46:01] Production.INFO: ==26289== Lock acquired, processing the job...
[2025-01-07 01:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:46:01] Production.INFO: neon service started
[2025-01-07 01:46:01] Production.INFO: neon service started
[2025-01-07 01:46:01] Production.INFO: ==26289== Releasing lock...
[2025-01-07 01:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:46:02] Production.INFO: ==26291== Lock acquired, processing the job...
[2025-01-06 20:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:46:02] Production.INFO: ==26293== Lock acquired, processing the job...
[2025-01-07 01:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:46:02] Production.INFO: ==26293== Releasing lock...
[2025-01-07 01:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:46:02] Production.INFO: ==26291== Releasing lock...
[2025-01-06 20:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 20:46:03] Production.INFO: ==26306== Lock acquired, processing the job...
[2025-01-06 20:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:46:03] Production.INFO: ==26302== Lock acquired, processing the job...
[2025-01-06 20:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:46:03] Production.INFO: Account Balance Start.
[2025-01-06 20:46:03] Production.INFO: CreateAllLog Start
[2025-01-06 20:46:03] Production.INFO: 117
[2025-01-06 20:46:03] Production.INFO: Date 2024-12-08
[2025-01-06 20:46:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:46:03] Production.INFO: ==26296== Lock acquired, processing the job...
[2025-01-06 20:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:46:03] Production.INFO: Date 2024-12-09
[2025-01-06 20:46:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:46:03] Production.INFO: ==26298== Lock acquired, processing the job...
[2025-01-06 20:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:46:03] Production.INFO: ==26300== Lock acquired, processing the job...
[2025-01-06 20:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:46:03] Production.INFO: Date 2024-12-10
[2025-01-06 20:46:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:46:03] Production.INFO: count ==21
[2025-01-06 20:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:46:03] Production.INFO: count ==21
[2025-01-06 20:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190091') start
[2025-01-06 20:46:03] Production.INFO: ==26304== Lock acquired, processing the job...
[2025-01-06 20:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:46:03] Production.INFO: Date 2024-12-11
[2025-01-06 20:46:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:46:03] Production.INFO: Date 2024-12-12
[2025-01-06 20:46:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190091') end
[2025-01-06 20:46:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:46:03] Production.INFO: 1
[2025-01-06 20:46:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:46:03] Production.INFO: Date 2024-12-13
[2025-01-06 20:46:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:46:03] Production.INFO: ==26306== Releasing lock...
[2025-01-06 20:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:46:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:46:04] Production.INFO: Date 2024-12-14
[2025-01-06 20:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:46:04] Production.INFO: Date 2024-12-15
[2025-01-06 20:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:46:04] Production.INFO: Date 2024-12-16
[2025-01-06 20:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:46:04] Production.INFO: Date 2024-12-17
[2025-01-06 20:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:46:04] Production.INFO: ==26298== Releasing lock...
[2025-01-06 20:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:46:04] Production.INFO: Date 2024-12-18
[2025-01-06 20:46:04] Production.ERROR: done
[2025-01-06 20:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:46:04] Production.INFO: Date 2024-12-19
[2025-01-06 20:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:46:04] Production.INFO: Date 2024-12-20
[2025-01-06 20:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:46:04] Production.INFO: Date 2024-12-21
[2025-01-06 20:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:46:04] Production.INFO: Date 2024-12-22
[2025-01-06 20:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:46:04] Production.ERROR: done
[2025-01-06 20:46:04] Production.INFO: Date 2024-12-23
[2025-01-06 20:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:46:04] Production.INFO: Date 2024-12-24
[2025-01-06 20:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:46:04] Production.INFO: Date 2024-12-25
[2025-01-06 20:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:46:04] Production.INFO: Date 2024-12-26
[2025-01-06 20:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:46:04] Production.INFO: Date 2024-12-27
[2025-01-06 20:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:46:04] Production.INFO: Date 2024-12-28
[2025-01-06 20:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:46:04] Production.INFO: Date 2024-12-29
[2025-01-06 20:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:46:04] Production.INFO: Date 2024-12-30
[2025-01-06 20:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:46:04] Production.INFO: Date 2024-12-31
[2025-01-06 20:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:46:04] Production.INFO: Date 2025-01-01
[2025-01-06 20:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:46:04] Production.INFO: Date 2025-01-02
[2025-01-06 20:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:46:04] Production.INFO: Date 2025-01-03
[2025-01-06 20:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:46:04] Production.INFO: Date 2025-01-04
[2025-01-06 20:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:46:04] Production.INFO: Date 2025-01-05
[2025-01-06 20:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:46:04] Production.INFO: Date 2025-01-06
[2025-01-06 20:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:46:04] Production.INFO: Total Charge 0
[2025-01-06 20:46:04] Production.INFO: CreateAllLog End
[2025-01-06 20:46:05] Production.INFO: Account Balance End.
[2025-01-06 20:46:05] Production.ERROR: CronJobId end 12
[2025-01-06 20:46:05] Production.INFO: ==26302== Releasing lock...
[2025-01-06 20:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:46:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:46:05
[end_date_ymd] => 2025-01-06 20:46:05
[RateCDR] => 1
)
[2025-01-06 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-06 17:46:05' and `end` < '2025-01-06 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-06 20:46:12] Production.ERROR: CronJobId end10
[2025-01-06 20:46:12] Production.INFO: ==26300== Releasing lock...
[2025-01-06 20:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:46:13] Production.INFO: call_cost start
[2025-01-06 20:46:13] Production.INFO: call_cost end
[2025-01-06 20:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:46:14] Production.INFO: ==26296== Releasing lock...
[2025-01-06 20:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:46:18] Production.INFO: count ==1304
[2025-01-06 20:46:18] Production.ERROR: pbx CDR StartTime 2025-01-06 17:46:05 - End Time 2025-01-06 20:46:05
[2025-01-06 20:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190094', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190094', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190094', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190094', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:46:18] Production.INFO: ProcessCDR(1,14190094,1,1,2)
[2025-01-06 20:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190094,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190094,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190094,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190094,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190094', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190094', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:46:21] Production.INFO: ==26304== Releasing lock...
[2025-01-06 20:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:46:21] Production.INFO: 37.75 MB #Memory Used#
[2025-01-07 01:47:02] Production.INFO: ==26377== Lock acquired, processing the job...
[2025-01-07 01:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:47:02] Production.INFO: neon service started
[2025-01-07 01:47:02] Production.INFO: neon service started
[2025-01-07 01:47:02] Production.INFO: ==26377== Releasing lock...
[2025-01-07 01:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:47:02] Production.INFO: ==26381== Lock acquired, processing the job...
[2025-01-07 01:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:47:02] Production.INFO: ==26381== Releasing lock...
[2025-01-07 01:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:47:02] Production.INFO: ==26379== Lock acquired, processing the job...
[2025-01-06 20:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 20:47:02] Production.INFO: ==26379== Releasing lock...
[2025-01-06 20:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 20:47:03] Production.INFO: ==26388== Lock acquired, processing the job...
[2025-01-06 20:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:47:03] Production.INFO: ==26390== Lock acquired, processing the job...
[2025-01-06 20:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:47:03] Production.INFO: ==26384== Lock acquired, processing the job...
[2025-01-06 20:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:47:04] Production.INFO: Account Balance Start.
[2025-01-06 20:47:04] Production.INFO: CreateAllLog Start
[2025-01-06 20:47:04] Production.INFO: 117
[2025-01-06 20:47:04] Production.INFO: ==26386== Lock acquired, processing the job...
[2025-01-06 20:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:47:04] Production.INFO: Date 2024-12-08
[2025-01-06 20:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:47:04] Production.INFO: Date 2024-12-09
[2025-01-06 20:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:47:04] Production.INFO: ==26394== Lock acquired, processing the job...
[2025-01-06 20:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:47:04] Production.INFO: Date 2024-12-10
[2025-01-06 20:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:47:04] Production.INFO: ==26392== Lock acquired, processing the job...
[2025-01-06 20:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:47:04] Production.INFO: Date 2024-12-11
[2025-01-06 20:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:47:04] Production.INFO: Date 2024-12-12
[2025-01-06 20:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:47:04] Production.INFO: count ==21
[2025-01-06 20:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:47:04] Production.INFO: count ==21
[2025-01-06 20:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190098') start
[2025-01-06 20:47:04] Production.INFO: Date 2024-12-13
[2025-01-06 20:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190098') end
[2025-01-06 20:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:47:04] Production.INFO: 1
[2025-01-06 20:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:47:04] Production.ERROR: done
[2025-01-06 20:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:47:04] Production.INFO: ==26386== Releasing lock...
[2025-01-06 20:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:47:04] Production.INFO: Date 2024-12-14
[2025-01-06 20:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:47:04] Production.INFO: ==26394== Releasing lock...
[2025-01-06 20:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:47:04] Production.INFO: Date 2024-12-15
[2025-01-06 20:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:47:04] Production.ERROR: done
[2025-01-06 20:47:04] Production.INFO: Date 2024-12-16
[2025-01-06 20:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:47:04] Production.INFO: Date 2024-12-17
[2025-01-06 20:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:47:05] Production.INFO: Date 2024-12-18
[2025-01-06 20:47:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:47:05] Production.INFO: Date 2024-12-19
[2025-01-06 20:47:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:47:05] Production.INFO: Date 2024-12-20
[2025-01-06 20:47:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:47:05] Production.INFO: Date 2024-12-21
[2025-01-06 20:47:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:47:05] Production.INFO: Date 2024-12-22
[2025-01-06 20:47:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:47:05] Production.INFO: Date 2024-12-23
[2025-01-06 20:47:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:47:05] Production.INFO: Date 2024-12-24
[2025-01-06 20:47:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:47:05] Production.INFO: Date 2024-12-25
[2025-01-06 20:47:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:47:05] Production.INFO: Date 2024-12-26
[2025-01-06 20:47:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:47:05] Production.INFO: Date 2024-12-27
[2025-01-06 20:47:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:47:05] Production.INFO: Date 2024-12-28
[2025-01-06 20:47:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:47:05] Production.INFO: Date 2024-12-29
[2025-01-06 20:47:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:47:05] Production.INFO: Date 2024-12-30
[2025-01-06 20:47:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:47:05] Production.INFO: Date 2024-12-31
[2025-01-06 20:47:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:47:05] Production.INFO: Date 2025-01-01
[2025-01-06 20:47:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:47:05] Production.INFO: Date 2025-01-02
[2025-01-06 20:47:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:47:05] Production.INFO: Date 2025-01-03
[2025-01-06 20:47:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:47:05] Production.INFO: Date 2025-01-04
[2025-01-06 20:47:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:47:05] Production.INFO: Date 2025-01-05
[2025-01-06 20:47:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:47:05] Production.INFO: Date 2025-01-06
[2025-01-06 20:47:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:47:05] Production.INFO: Total Charge 0
[2025-01-06 20:47:05] Production.INFO: CreateAllLog End
[2025-01-06 20:47:05] Production.INFO: Account Balance End.
[2025-01-06 20:47:05] Production.ERROR: CronJobId end 12
[2025-01-06 20:47:05] Production.INFO: ==26390== Releasing lock...
[2025-01-06 20:47:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:47:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:47:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:47:06
[end_date_ymd] => 2025-01-06 20:47:06
[RateCDR] => 1
)
[2025-01-06 20:47:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 17:47:06' and `end` < '2025-01-06 20:47:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 20:47:13] Production.ERROR: CronJobId end10
[2025-01-06 20:47:13] Production.INFO: ==26388== Releasing lock...
[2025-01-06 20:47:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:47:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:47:14] Production.INFO: call_cost start
[2025-01-06 20:47:14] Production.INFO: call_cost end
[2025-01-06 20:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:47:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:47:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:47:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:47:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:47:15] Production.INFO: ==26384== Releasing lock...
[2025-01-06 20:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:47:19] Production.INFO: count ==1302
[2025-01-06 20:47:19] Production.ERROR: pbx CDR StartTime 2025-01-06 17:47:06 - End Time 2025-01-06 20:47:06
[2025-01-06 20:47:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190099', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190099', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190099', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190099', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:47:19] Production.INFO: ProcessCDR(1,14190099,1,1,2)
[2025-01-06 20:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190099,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:47:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190099,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:47:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190099,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190099,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190099', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190099', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:47:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:47:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:47:22] Production.INFO: ==26392== Releasing lock...
[2025-01-06 20:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:47:22] Production.INFO: 38 MB #Memory Used#
[2025-01-07 01:48:01] Production.INFO: ==26460== Lock acquired, processing the job...
[2025-01-07 01:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:48:01] Production.INFO: neon service started
[2025-01-07 01:48:01] Production.INFO: neon service started
[2025-01-07 01:48:01] Production.INFO: ==26460== Releasing lock...
[2025-01-07 01:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:48:01] Production.INFO: ==26462== Lock acquired, processing the job...
[2025-01-06 20:48:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 20:48:02] Production.INFO: ==26462== Releasing lock...
[2025-01-06 20:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:48:02] Production.INFO: ==26465== Lock acquired, processing the job...
[2025-01-07 01:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:48:02] Production.INFO: ==26465== Releasing lock...
[2025-01-07 01:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:48:03] Production.INFO: ==26467== Lock acquired, processing the job...
[2025-01-06 20:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:48:03] Production.INFO: ==26471== Lock acquired, processing the job...
[2025-01-06 20:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:48:03] Production.INFO: ==26473== Lock acquired, processing the job...
[2025-01-06 20:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:48:03] Production.INFO: ==26469== Lock acquired, processing the job...
[2025-01-06 20:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:48:03] Production.INFO: Account Balance Start.
[2025-01-06 20:48:03] Production.INFO: CreateAllLog Start
[2025-01-06 20:48:03] Production.INFO: 117
[2025-01-06 20:48:03] Production.INFO: ==26475== Lock acquired, processing the job...
[2025-01-06 20:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:48:03] Production.INFO: Date 2024-12-08
[2025-01-06 20:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:48:03] Production.INFO: ==26477== Lock acquired, processing the job...
[2025-01-06 20:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:48:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:48:03] Production.INFO: Date 2024-12-09
[2025-01-06 20:48:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:48:03] Production.INFO: Date 2024-12-10
[2025-01-06 20:48:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:48:03] Production.INFO: Date 2024-12-11
[2025-01-06 20:48:03] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 20:48:03] Production.INFO: count ==21
[2025-01-06 20:48:03] Production.INFO: ==26469== Releasing lock...
[2025-01-06 20:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 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-06 20:48:03] Production.INFO: count ==21
[2025-01-06 20:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190103') start
[2025-01-06 20:48:03] Production.INFO: Date 2024-12-12
[2025-01-06 20:48:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:48:03] Production.ERROR: done
[2025-01-06 20:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190103') end
[2025-01-06 20:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:48:03] Production.INFO: 1
[2025-01-06 20:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:48:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:48:03] Production.INFO: Date 2024-12-13
[2025-01-06 20:48:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:48:03] Production.INFO: ==26477== Releasing lock...
[2025-01-06 20:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:48:03] Production.INFO: Date 2024-12-14
[2025-01-06 20:48:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:48:03] Production.INFO: Date 2024-12-15
[2025-01-06 20:48:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:48:04] Production.ERROR: done
[2025-01-06 20:48:04] Production.INFO: Date 2024-12-16
[2025-01-06 20:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:48:04] Production.INFO: Date 2024-12-17
[2025-01-06 20:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:48:04] Production.INFO: Date 2024-12-18
[2025-01-06 20:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:48:04] Production.INFO: Date 2024-12-19
[2025-01-06 20:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:48:04] Production.INFO: Date 2024-12-20
[2025-01-06 20:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:48:04] Production.INFO: Date 2024-12-21
[2025-01-06 20:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:48:04] Production.INFO: Date 2024-12-22
[2025-01-06 20:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:48:04] Production.INFO: Date 2024-12-23
[2025-01-06 20:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:48:04] Production.INFO: Date 2024-12-24
[2025-01-06 20:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:48:04] Production.INFO: Date 2024-12-25
[2025-01-06 20:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:48:04] Production.INFO: Date 2024-12-26
[2025-01-06 20:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:48:04] Production.INFO: Date 2024-12-27
[2025-01-06 20:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:48:04] Production.INFO: Date 2024-12-28
[2025-01-06 20:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:48:04] Production.INFO: Date 2024-12-29
[2025-01-06 20:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:48:04] Production.INFO: Date 2024-12-30
[2025-01-06 20:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:48:04] Production.INFO: Date 2024-12-31
[2025-01-06 20:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:48:04] Production.INFO: Date 2025-01-01
[2025-01-06 20:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:48:04] Production.INFO: Date 2025-01-02
[2025-01-06 20:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:48:04] Production.INFO: Date 2025-01-03
[2025-01-06 20:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:48:04] Production.INFO: Date 2025-01-04
[2025-01-06 20:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:48:04] Production.INFO: Date 2025-01-05
[2025-01-06 20:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:48:04] Production.INFO: Date 2025-01-06
[2025-01-06 20:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:48:04] Production.INFO: Total Charge 0
[2025-01-06 20:48:04] Production.INFO: CreateAllLog End
[2025-01-06 20:48:04] Production.INFO: Account Balance End.
[2025-01-06 20:48:04] Production.ERROR: CronJobId end 12
[2025-01-06 20:48:04] Production.INFO: ==26473== Releasing lock...
[2025-01-06 20:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:48:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:48:04
[end_date_ymd] => 2025-01-06 20:48:04
[RateCDR] => 1
)
[2025-01-06 20: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-06 17:48:04' and `end` < '2025-01-06 20: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-06 20:48:12] Production.ERROR: CronJobId end10
[2025-01-06 20:48:12] Production.INFO: ==26471== Releasing lock...
[2025-01-06 20:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:48:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:48:12] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:48:12] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:48:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:48:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:48:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:48:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:48:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:48:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:48:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:48:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:48:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:48:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:48:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:48:13] Production.INFO: call_cost start
[2025-01-06 20:48:13] Production.INFO: call_cost end
[2025-01-06 20:48:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:48:13] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:48:13] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:48:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:48:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:48:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:48:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:48:13] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:48:13] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:48:13] Production.INFO: ==26467== Releasing lock...
[2025-01-06 20:48:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:48:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:48:18] Production.INFO: count ==1306
[2025-01-06 20:48:18] Production.ERROR: pbx CDR StartTime 2025-01-06 17:48:04 - End Time 2025-01-06 20:48:04
[2025-01-06 20:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190104', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190104', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190104', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190104', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:48:18] Production.INFO: ProcessCDR(1,14190104,1,1,2)
[2025-01-06 20:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190104,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190104,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190104,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190104,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190104', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190104', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:48:22] Production.INFO: ==26475== Releasing lock...
[2025-01-06 20:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:48:22] Production.INFO: 37.75 MB #Memory Used#
[2025-01-07 01:49:01] Production.INFO: ==26544== Lock acquired, processing the job...
[2025-01-07 01:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:49:01] Production.INFO: neon service started
[2025-01-07 01:49:01] Production.INFO: neon service started
[2025-01-07 01:49:01] Production.INFO: ==26544== Releasing lock...
[2025-01-07 01:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:49:02] Production.INFO: ==26546== Lock acquired, processing the job...
[2025-01-06 20:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 20:49:02] Production.INFO: ==26546== Releasing lock...
[2025-01-06 20:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:49:02] Production.INFO: ==26548== Lock acquired, processing the job...
[2025-01-07 01:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:49:02] Production.INFO: ==26548== Releasing lock...
[2025-01-07 01:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:49:03] Production.INFO: ==26553== Lock acquired, processing the job...
[2025-01-06 20:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:49:03] Production.INFO: ==26557== Lock acquired, processing the job...
[2025-01-06 20:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:49:03] Production.INFO: ==26551== Lock acquired, processing the job...
[2025-01-06 20:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:49:03] Production.INFO: ==26555== Lock acquired, processing the job...
[2025-01-06 20:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:49:03] Production.INFO: ==26561== Lock acquired, processing the job...
[2025-01-06 20:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:49:03] Production.INFO: ==26559== Lock acquired, processing the job...
[2025-01-06 20:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:49:03] Production.INFO: Account Balance Start.
[2025-01-06 20:49:03] Production.INFO: CreateAllLog Start
[2025-01-06 20:49:03] Production.INFO: 117
[2025-01-06 20:49:03] Production.INFO: Date 2024-12-08
[2025-01-06 20:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 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-06 20:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:49:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:49:03] Production.INFO: Date 2024-12-09
[2025-01-06 20:49:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:49:03] Production.INFO: count ==21
[2025-01-06 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-06 20:49:03] Production.INFO: count ==21
[2025-01-06 20:49:03] Production.INFO: Date 2024-12-10
[2025-01-06 20:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190108') start
[2025-01-06 20:49:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:49:03] Production.INFO: Date 2024-12-11
[2025-01-06 20:49:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:49:03] Production.INFO: Date 2024-12-12
[2025-01-06 20:49:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:49:03] Production.INFO: Date 2024-12-13
[2025-01-06 20:49:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:49:03] Production.INFO: ==26553== Releasing lock...
[2025-01-06 20:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:49:03] Production.INFO: Date 2024-12-14
[2025-01-06 20:49:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190108') end
[2025-01-06 20:49:03] Production.INFO: Date 2024-12-15
[2025-01-06 20:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:49:03] Production.INFO: 1
[2025-01-06 20:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:49:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:49:03] Production.INFO: Date 2024-12-16
[2025-01-06 20:49:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:49:04] Production.INFO: ==26561== Releasing lock...
[2025-01-06 20:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:49:04] Production.ERROR: done
[2025-01-06 20:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:49:04] Production.INFO: Date 2024-12-17
[2025-01-06 20:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:49:04] Production.INFO: Date 2024-12-18
[2025-01-06 20:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:49:04] Production.INFO: Date 2024-12-19
[2025-01-06 20:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:49:04] Production.INFO: Date 2024-12-20
[2025-01-06 20:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:49:04] Production.ERROR: done
[2025-01-06 20:49:04] Production.INFO: Date 2024-12-21
[2025-01-06 20:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:49:04] Production.INFO: Date 2024-12-22
[2025-01-06 20:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:49:04] Production.INFO: Date 2024-12-23
[2025-01-06 20:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:49:04] Production.INFO: Date 2024-12-24
[2025-01-06 20:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:49:04] Production.INFO: Date 2024-12-25
[2025-01-06 20:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:49:04] Production.INFO: Date 2024-12-26
[2025-01-06 20:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:49:04] Production.INFO: Date 2024-12-27
[2025-01-06 20:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:49:04] Production.INFO: Date 2024-12-28
[2025-01-06 20:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:49:04] Production.INFO: Date 2024-12-29
[2025-01-06 20:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:49:04] Production.INFO: Date 2024-12-30
[2025-01-06 20:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:49:04] Production.INFO: Date 2024-12-31
[2025-01-06 20:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:49:04] Production.INFO: Date 2025-01-01
[2025-01-06 20:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:49:04] Production.INFO: Date 2025-01-02
[2025-01-06 20:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:49:04] Production.INFO: Date 2025-01-03
[2025-01-06 20:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:49:04] Production.INFO: Date 2025-01-04
[2025-01-06 20:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:49:04] Production.INFO: Date 2025-01-05
[2025-01-06 20:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:49:04] Production.INFO: Date 2025-01-06
[2025-01-06 20:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:49:05] Production.INFO: Total Charge 0
[2025-01-06 20:49:05] Production.INFO: CreateAllLog End
[2025-01-06 20:49:05] Production.INFO: Account Balance End.
[2025-01-06 20:49:05] Production.ERROR: CronJobId end 12
[2025-01-06 20:49:05] Production.INFO: ==26557== Releasing lock...
[2025-01-06 20:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:49:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:49:05
[end_date_ymd] => 2025-01-06 20:49:05
[RateCDR] => 1
)
[2025-01-06 20:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 17:49:05' and `end` < '2025-01-06 20:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 20:49:12] Production.ERROR: CronJobId end10
[2025-01-06 20:49:12] Production.INFO: ==26555== Releasing lock...
[2025-01-06 20:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:49:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:49:12] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:49:12] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:49:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:49:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:49:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:49:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:49:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:49:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:49:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:49:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:49:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:49:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:49:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:49:13] Production.INFO: call_cost start
[2025-01-06 20:49:13] Production.INFO: call_cost end
[2025-01-06 20:49:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:49:13] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:49:13] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:49:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:49:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:49:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:49:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:49:13] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:49:13] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:49:13] Production.INFO: ==26551== Releasing lock...
[2025-01-06 20:49:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:49:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:49:18] Production.INFO: count ==1307
[2025-01-06 20:49:18] Production.ERROR: pbx CDR StartTime 2025-01-06 17:49:05 - End Time 2025-01-06 20:49:05
[2025-01-06 20:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190109', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190109', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190109', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190109', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:49:18] Production.INFO: ProcessCDR(1,14190109,1,1,2)
[2025-01-06 20:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190109,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190109,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190109,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190109,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190109', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190109', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:49:21] Production.INFO: ==26559== Releasing lock...
[2025-01-06 20:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:49:21] Production.INFO: 38.5 MB #Memory Used#
[2025-01-07 01:50:02] Production.INFO: ==26628== Lock acquired, processing the job...
[2025-01-07 01:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:50:02] Production.INFO: neon service started
[2025-01-07 01:50:02] Production.INFO: neon service started
[2025-01-07 01:50:02] Production.INFO: ==26628== Releasing lock...
[2025-01-07 01:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:50:02] Production.INFO: ==26632== Lock acquired, processing the job...
[2025-01-07 01:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:50:02] Production.INFO: ==26632== Releasing lock...
[2025-01-07 01:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:50:02] Production.INFO: ==26630== Lock acquired, processing the job...
[2025-01-06 20:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 20:50:03] Production.INFO: ==26630== Releasing lock...
[2025-01-06 20:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 20:50:04] Production.INFO: ==26635== Lock acquired, processing the job...
[2025-01-06 20:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-06 20:50:04] Production.INFO: ==26641== Lock acquired, processing the job...
[2025-01-06 20:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:50:04] Production.INFO: ==26645== Lock acquired, processing the job...
[2025-01-06 20:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:50:04] Production.INFO: ==26637== Lock acquired, processing the job...
[2025-01-06 20:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:50:04] Production.INFO: ==26647== Lock acquired, processing the job...
[2025-01-06 20:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-06 20:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-06 20:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 20:50:04] Production.ERROR: CronJob PID - 26641
[2025-01-06 20:50:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-06 20:50:04] Production.ERROR: CronJob ID - 10
[2025-01-06 20:50:04] Production.ERROR: CronJob Last Run Time 2025-01-06 20:50:00
[2025-01-06 20:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 20:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 20:50:04] Production.INFO: ==26639== Lock acquired, processing the job...
[2025-01-06 20:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-06 20:50:04] Production.INFO: ==26635== Releasing lock...
[2025-01-06 20:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-06 20:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-06 20:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:50:04] Production.INFO: ==26643== Lock acquired, processing the job...
[2025-01-06 20:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:50:04] Production.INFO: ==26649== Lock acquired, processing the job...
[2025-01-06 20:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:50:04] Production.ERROR: done
[2025-01-06 20:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:50:04] Production.INFO: Account Balance Start.
[2025-01-06 20:50:04] Production.INFO: CreateAllLog Start
[2025-01-06 20:50:04] Production.INFO: 117
[2025-01-06 20:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:50:04] Production.INFO: count ==21
[2025-01-06 20:50:04] Production.INFO: Date 2024-12-08
[2025-01-06 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-06 20:50:04] Production.INFO: count ==21
[2025-01-06 20:50:04] Production.ERROR: done
[2025-01-06 20:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190112') start
[2025-01-06 20:50:04] Production.ERROR: done
[2025-01-06 20:50:04] Production.INFO: ==26639== Releasing lock...
[2025-01-06 20:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-06 20:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14190114', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) start
[2025-01-06 20:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190112') end
[2025-01-06 20:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:50:04] Production.INFO: 1
[2025-01-06 20:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:50:05] Production.INFO: Date 2024-12-09
[2025-01-06 20:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:50:05] Production.INFO: ==26649== Releasing lock...
[2025-01-06 20:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:50:05] Production.INFO: Date 2024-12-10
[2025-01-06 20:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:50:05] Production.INFO: Date 2024-12-11
[2025-01-06 20:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:50:05] Production.INFO: Date 2024-12-12
[2025-01-06 20:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:50:05] Production.INFO: Date 2024-12-13
[2025-01-06 20:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:50:05] Production.INFO: Date 2024-12-14
[2025-01-06 20:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:50:05] Production.INFO: Date 2024-12-15
[2025-01-06 20:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:50:05] Production.INFO: Date 2024-12-16
[2025-01-06 20:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:50:05] Production.INFO: Date 2024-12-17
[2025-01-06 20:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:50:05] Production.INFO: Date 2024-12-18
[2025-01-06 20:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:50:05] Production.INFO: Date 2024-12-19
[2025-01-06 20:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:50:05] Production.INFO: Date 2024-12-20
[2025-01-06 20:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:50:05] Production.INFO: Date 2024-12-21
[2025-01-06 20:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:50:05] Production.INFO: Date 2024-12-22
[2025-01-06 20:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:50:05] Production.INFO: Date 2024-12-23
[2025-01-06 20:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:50:05] Production.INFO: Date 2024-12-24
[2025-01-06 20:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:50:05] Production.INFO: Date 2024-12-25
[2025-01-06 20:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:50:05] Production.INFO: Date 2024-12-26
[2025-01-06 20:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:50:05] Production.INFO: Date 2024-12-27
[2025-01-06 20:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:50:05] Production.INFO: Date 2024-12-28
[2025-01-06 20:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:50:05] Production.INFO: Date 2024-12-29
[2025-01-06 20:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:50:05] Production.INFO: Date 2024-12-30
[2025-01-06 20:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:50:05] Production.INFO: Date 2024-12-31
[2025-01-06 20:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:50:05] Production.INFO: Date 2025-01-01
[2025-01-06 20:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:50:05] Production.INFO: Date 2025-01-02
[2025-01-06 20:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:50:05] Production.INFO: Date 2025-01-03
[2025-01-06 20:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:50:05] Production.INFO: Date 2025-01-04
[2025-01-06 20:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:50:05] Production.INFO: Date 2025-01-05
[2025-01-06 20:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:50:05] Production.INFO: Date 2025-01-06
[2025-01-06 20:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:50:06] Production.INFO: Total Charge 0
[2025-01-06 20:50:06] Production.INFO: CreateAllLog End
[2025-01-06 20:50:06] Production.INFO: Account Balance End.
[2025-01-06 20:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:50:06
[end_date_ymd] => 2025-01-06 20:50:06
[RateCDR] => 1
)
[2025-01-06 20:50:06] Production.ERROR: CronJobId end 12
[2025-01-06 20:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 17:50:06' and `end` < '2025-01-06 20:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 20:50:06] Production.INFO: ==26643== Releasing lock...
[2025-01-06 20:50:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:50:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14190114', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) end
[2025-01-06 20:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-06 20:50:09] Production.INFO: ProcessCDR(1,14190114,1,1,2)
[2025-01-06 20:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14190114,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14190114,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:50:09] Production.INFO: ==26647== Releasing lock...
[2025-01-06 20:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-06 20:50:09] Production.INFO: 26 MB #Memory Used#
[2025-01-06 20:50:14] Production.ERROR: CronJobId end10
[2025-01-06 20:50:14] Production.INFO: ==26641== Releasing lock...
[2025-01-06 20:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:50:15] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:50:15] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:50:15] Production.INFO: call_cost start
[2025-01-06 20:50:15] Production.INFO: call_cost end
[2025-01-06 20:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:50:16] Production.INFO: ==26637== Releasing lock...
[2025-01-06 20:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:50:19] Production.INFO: count ==1306
[2025-01-06 20:50:19] Production.ERROR: pbx CDR StartTime 2025-01-06 17:50:06 - End Time 2025-01-06 20:50:06
[2025-01-06 20:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190115', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190115', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190115', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190115', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:50:20] Production.INFO: ProcessCDR(1,14190115,1,1,2)
[2025-01-06 20:50:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190115,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190115,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190115,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:50:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190115,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190115', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190115', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:50:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:50:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:50:23] Production.INFO: ==26645== Releasing lock...
[2025-01-06 20:50:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:50:23] Production.INFO: 37.75 MB #Memory Used#
[2025-01-07 01:51:01] Production.INFO: ==26721== Lock acquired, processing the job...
[2025-01-07 01:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:51:01] Production.INFO: neon service started
[2025-01-07 01:51:01] Production.INFO: neon service started
[2025-01-07 01:51:01] Production.INFO: ==26721== Releasing lock...
[2025-01-07 01:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:51:02] Production.INFO: ==26723== Lock acquired, processing the job...
[2025-01-06 20:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:51:02] Production.INFO: ==26725== Lock acquired, processing the job...
[2025-01-07 01:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-06 20:51:02] Production.INFO: ==26723== Releasing lock...
[2025-01-06 20:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:51:02] Production.INFO: ==26725== Releasing lock...
[2025-01-07 01:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:51:03] Production.INFO: ==26735== Lock acquired, processing the job...
[2025-01-06 20:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:51:03] Production.INFO: ==26737== Lock acquired, processing the job...
[2025-01-06 20:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:51:03] Production.INFO: ==26727== Lock acquired, processing the job...
[2025-01-06 20:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 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-06 20:51:03] Production.INFO: ==26729== Lock acquired, processing the job...
[2025-01-06 20:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:51:03] Production.INFO: count ==21
[2025-01-06 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-06 20:51:03] Production.INFO: ==26731== Lock acquired, processing the job...
[2025-01-06 20:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:51:03] Production.INFO: count ==21
[2025-01-06 20:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190116') start
[2025-01-06 20:51:03] Production.INFO: ==26733== Lock acquired, processing the job...
[2025-01-06 20:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190116') end
[2025-01-06 20:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:51:03] Production.INFO: 1
[2025-01-06 20:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:51:03] Production.INFO: Account Balance Start.
[2025-01-06 20:51:03] Production.INFO: CreateAllLog Start
[2025-01-06 20:51:03] Production.INFO: 117
[2025-01-06 20:51:03] Production.INFO: Date 2024-12-08
[2025-01-06 20:51:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:51:03] Production.INFO: ==26737== Releasing lock...
[2025-01-06 20:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:51:03] Production.INFO: Date 2024-12-09
[2025-01-06 20:51:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:51:03] Production.ERROR: done
[2025-01-06 20:51:03] Production.INFO: Date 2024-12-10
[2025-01-06 20:51:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:51:03] Production.INFO: ==26729== Releasing lock...
[2025-01-06 20:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:51:03] Production.INFO: Date 2024-12-11
[2025-01-06 20:51:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:51:03] Production.INFO: Date 2024-12-12
[2025-01-06 20:51:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:51:04] Production.ERROR: done
[2025-01-06 20:51:04] Production.INFO: Date 2024-12-13
[2025-01-06 20:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:51:04] Production.INFO: Date 2024-12-14
[2025-01-06 20:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:51:04] Production.INFO: Date 2024-12-15
[2025-01-06 20:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:51:04] Production.INFO: Date 2024-12-16
[2025-01-06 20:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:51:04] Production.INFO: Date 2024-12-17
[2025-01-06 20:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:51:04] Production.INFO: Date 2024-12-18
[2025-01-06 20:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:51:04] Production.INFO: Date 2024-12-19
[2025-01-06 20:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:51:04] Production.INFO: Date 2024-12-20
[2025-01-06 20:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:51:04] Production.INFO: Date 2024-12-21
[2025-01-06 20:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:51:04] Production.INFO: Date 2024-12-22
[2025-01-06 20:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:51:04] Production.INFO: Date 2024-12-23
[2025-01-06 20:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:51:04] Production.INFO: Date 2024-12-24
[2025-01-06 20:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:51:04] Production.INFO: Date 2024-12-25
[2025-01-06 20:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:51:04] Production.INFO: Date 2024-12-26
[2025-01-06 20:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:51:04] Production.INFO: Date 2024-12-27
[2025-01-06 20:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:51:04] Production.INFO: Date 2024-12-28
[2025-01-06 20:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:51:04] Production.INFO: Date 2024-12-29
[2025-01-06 20:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:51:04] Production.INFO: Date 2024-12-30
[2025-01-06 20:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:51:04] Production.INFO: Date 2024-12-31
[2025-01-06 20:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:51:04] Production.INFO: Date 2025-01-01
[2025-01-06 20:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:51:04] Production.INFO: Date 2025-01-02
[2025-01-06 20:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:51:04] Production.INFO: Date 2025-01-03
[2025-01-06 20:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:51:04] Production.INFO: Date 2025-01-04
[2025-01-06 20:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:51:04] Production.INFO: Date 2025-01-05
[2025-01-06 20:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:51:04] Production.INFO: Date 2025-01-06
[2025-01-06 20:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:51:04] Production.INFO: Total Charge 0
[2025-01-06 20:51:04] Production.INFO: CreateAllLog End
[2025-01-06 20:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:51:05
[end_date_ymd] => 2025-01-06 20:51:05
[RateCDR] => 1
)
[2025-01-06 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-06 17:51:05' and `end` < '2025-01-06 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-06 20:51:05] Production.INFO: Account Balance End.
[2025-01-06 20:51:05] Production.ERROR: CronJobId end 12
[2025-01-06 20:51:05] Production.INFO: ==26733== Releasing lock...
[2025-01-06 20:51:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:51:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:51:12] Production.ERROR: CronJobId end10
[2025-01-06 20:51:12] Production.INFO: ==26731== Releasing lock...
[2025-01-06 20:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:51:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:51:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:51:14] Production.INFO: call_cost start
[2025-01-06 20:51:14] Production.INFO: call_cost end
[2025-01-06 20:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:51:14] Production.INFO: ==26727== Releasing lock...
[2025-01-06 20:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:51:18] Production.INFO: count ==1265
[2025-01-06 20:51:18] Production.ERROR: pbx CDR StartTime 2025-01-06 17:51:05 - End Time 2025-01-06 20:51:05
[2025-01-06 20:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190120', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190120', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190120', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190120', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:51:18] Production.INFO: ProcessCDR(1,14190120,1,1,2)
[2025-01-06 20:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190120,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190120,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190120,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190120,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190120', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190120', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:51:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:51:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:51:21] Production.INFO: ==26735== Releasing lock...
[2025-01-06 20:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:51:21] Production.INFO: 37.75 MB #Memory Used#
[2025-01-07 01:52:02] Production.INFO: ==26822== Lock acquired, processing the job...
[2025-01-07 01:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:52:02] Production.INFO: neon service started
[2025-01-07 01:52:02] Production.INFO: neon service started
[2025-01-07 01:52:02] Production.INFO: ==26822== Releasing lock...
[2025-01-07 01:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:52:02] Production.INFO: ==26824== Lock acquired, processing the job...
[2025-01-06 20:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 20:52:03] Production.INFO: ==26824== Releasing lock...
[2025-01-06 20:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:52:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:52:03] Production.INFO: ==26826== Lock acquired, processing the job...
[2025-01-07 01:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:52:03] Production.INFO: ==26826== Releasing lock...
[2025-01-07 01:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:52:03] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:52:04] Production.INFO: ==26839== Lock acquired, processing the job...
[2025-01-06 20:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:52:04] Production.INFO: ==26837== Lock acquired, processing the job...
[2025-01-06 20:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 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-06 20:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:52:04] Production.INFO: count ==21
[2025-01-06 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-06 20:52:04] Production.INFO: count ==21
[2025-01-06 20:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190121') start
[2025-01-06 20:52:04] Production.INFO: ==26829== Lock acquired, processing the job...
[2025-01-06 20:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:52:04] Production.INFO: ==26831== Lock acquired, processing the job...
[2025-01-06 20:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:52:04] Production.INFO: ==26833== Lock acquired, processing the job...
[2025-01-06 20:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:52:04] Production.INFO: ==26835== Lock acquired, processing the job...
[2025-01-06 20:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190121') end
[2025-01-06 20:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:52:04] Production.INFO: 1
[2025-01-06 20:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:52:04] Production.INFO: ==26839== Releasing lock...
[2025-01-06 20:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:52:04] Production.ERROR: done
[2025-01-06 20:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:52:04] Production.INFO: Account Balance Start.
[2025-01-06 20:52:04] Production.INFO: CreateAllLog Start
[2025-01-06 20:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:52:04] Production.INFO: 117
[2025-01-06 20:52:04] Production.INFO: Date 2024-12-08
[2025-01-06 20:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:52:04] Production.ERROR: done
[2025-01-06 20:52:04] Production.INFO: Date 2024-12-09
[2025-01-06 20:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:52:04] Production.INFO: Date 2024-12-10
[2025-01-06 20:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:52:04] Production.INFO: Date 2024-12-11
[2025-01-06 20:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:52:04] Production.INFO: Date 2024-12-12
[2025-01-06 20:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:52:04] Production.INFO: ==26831== Releasing lock...
[2025-01-06 20:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:52:04] Production.INFO: Date 2024-12-13
[2025-01-06 20:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:52:05] Production.INFO: Date 2024-12-14
[2025-01-06 20:52:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:52:05] Production.INFO: Date 2024-12-15
[2025-01-06 20:52:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:52:05] Production.INFO: Date 2024-12-16
[2025-01-06 20:52:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:52:05] Production.INFO: Date 2024-12-17
[2025-01-06 20:52:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:52:05] Production.INFO: Date 2024-12-18
[2025-01-06 20:52:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:52:05] Production.INFO: Date 2024-12-19
[2025-01-06 20:52:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:52:05] Production.INFO: Date 2024-12-20
[2025-01-06 20:52:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:52:05] Production.INFO: Date 2024-12-21
[2025-01-06 20:52:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:52:05] Production.INFO: Date 2024-12-22
[2025-01-06 20:52:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:52:05] Production.INFO: Date 2024-12-23
[2025-01-06 20:52:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:52:05] Production.INFO: Date 2024-12-24
[2025-01-06 20:52:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:52:05] Production.INFO: Date 2024-12-25
[2025-01-06 20:52:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:52:05] Production.INFO: Date 2024-12-26
[2025-01-06 20:52:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:52:05] Production.INFO: Date 2024-12-27
[2025-01-06 20:52:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:52:05] Production.INFO: Date 2024-12-28
[2025-01-06 20:52:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:52:05] Production.INFO: Date 2024-12-29
[2025-01-06 20:52:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:52:05] Production.INFO: Date 2024-12-30
[2025-01-06 20:52:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:52:05] Production.INFO: Date 2024-12-31
[2025-01-06 20:52:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:52:05] Production.INFO: Date 2025-01-01
[2025-01-06 20:52:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:52:05] Production.INFO: Date 2025-01-02
[2025-01-06 20:52:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:52:05] Production.INFO: Date 2025-01-03
[2025-01-06 20:52:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:52:05] Production.INFO: Date 2025-01-04
[2025-01-06 20:52:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:52:05] Production.INFO: Date 2025-01-05
[2025-01-06 20:52:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:52:05] Production.INFO: Date 2025-01-06
[2025-01-06 20:52:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:52:05] Production.INFO: Total Charge 0
[2025-01-06 20:52:05] Production.INFO: CreateAllLog End
[2025-01-06 20:52:05] Production.INFO: Account Balance End.
[2025-01-06 20:52:05] Production.ERROR: CronJobId end 12
[2025-01-06 20:52:05] Production.INFO: ==26835== Releasing lock...
[2025-01-06 20:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:52:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:52:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:52:06
[end_date_ymd] => 2025-01-06 20:52:06
[RateCDR] => 1
)
[2025-01-06 20:52:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 17:52:06' and `end` < '2025-01-06 20:52:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 20:52:15] Production.ERROR: CronJobId end10
[2025-01-06 20:52:15] Production.INFO: ==26833== Releasing lock...
[2025-01-06 20:52:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:52:15] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:52:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:52:16] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:52:16] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:52:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:52:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:52:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:52:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:52:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:52:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:52:16] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:52:16] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:52:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:52:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:52:16] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:52:16] Production.INFO: call_cost start
[2025-01-06 20:52:16] Production.INFO: call_cost end
[2025-01-06 20:52:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:52:17] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:52:17] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:52:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:52:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:52:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:52:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:52:17] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:52:17] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:52:17] Production.INFO: ==26829== Releasing lock...
[2025-01-06 20:52:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:52:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:52:21] Production.INFO: count ==1260
[2025-01-06 20:52:21] Production.ERROR: pbx CDR StartTime 2025-01-06 17:52:06 - End Time 2025-01-06 20:52:06
[2025-01-06 20:52:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190125', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190125', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190125', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190125', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:52:21] Production.INFO: ProcessCDR(1,14190125,1,1,2)
[2025-01-06 20:52:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190125,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:52:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190125,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:52:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190125,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:52:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190125,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:52:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190125', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:52:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190125', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:52:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:52:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:52:24] Production.INFO: ==26837== Releasing lock...
[2025-01-06 20:52:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:52:24] Production.INFO: 38 MB #Memory Used#
[2025-01-07 01:53:01] Production.INFO: ==26916== Lock acquired, processing the job...
[2025-01-07 01:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:53:01] Production.INFO: neon service started
[2025-01-07 01:53:01] Production.INFO: neon service started
[2025-01-07 01:53:01] Production.INFO: ==26916== Releasing lock...
[2025-01-07 01:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:53:02] Production.INFO: ==26919== Lock acquired, processing the job...
[2025-01-06 20:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 20:53:02] Production.INFO: ==26919== Releasing lock...
[2025-01-06 20:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:53:02] Production.INFO: ==26921== Lock acquired, processing the job...
[2025-01-07 01:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:53:02] Production.INFO: ==26921== Releasing lock...
[2025-01-07 01:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:53:03] Production.INFO: ==26923== Lock acquired, processing the job...
[2025-01-06 20:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:53:03] Production.INFO: ==26927== Lock acquired, processing the job...
[2025-01-06 20:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:53:03] Production.INFO: ==26933== Lock acquired, processing the job...
[2025-01-06 20:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 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-06 20:53:03] Production.INFO: count ==21
[2025-01-06 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-06 20:53:03] Production.INFO: count ==21
[2025-01-06 20:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190127') start
[2025-01-06 20:53:03] Production.INFO: ==26925== Lock acquired, processing the job...
[2025-01-06 20:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:53:03] Production.INFO: ==26929== Lock acquired, processing the job...
[2025-01-06 20:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190127') end
[2025-01-06 20:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:53:03] Production.INFO: 1
[2025-01-06 20:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:53:03] Production.INFO: ==26931== Lock acquired, processing the job...
[2025-01-06 20:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:53:04] Production.INFO: ==26933== Releasing lock...
[2025-01-06 20:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:53:04] Production.INFO: Account Balance Start.
[2025-01-06 20:53:04] Production.INFO: CreateAllLog Start
[2025-01-06 20:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:53:04] Production.INFO: 117
[2025-01-06 20:53:04] Production.INFO: Date 2024-12-08
[2025-01-06 20:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:53:04] Production.INFO: Date 2024-12-09
[2025-01-06 20:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:53:04] Production.INFO: Date 2024-12-10
[2025-01-06 20:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:53:04] Production.INFO: ==26925== Releasing lock...
[2025-01-06 20:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:53:04] Production.INFO: Date 2024-12-11
[2025-01-06 20:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:53:04] Production.ERROR: done
[2025-01-06 20:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:53:04] Production.INFO: Date 2024-12-12
[2025-01-06 20:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:53:04] Production.ERROR: done
[2025-01-06 20:53:04] Production.INFO: Date 2024-12-13
[2025-01-06 20:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:53:04] Production.INFO: Date 2024-12-14
[2025-01-06 20:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:53:04] Production.INFO: Date 2024-12-15
[2025-01-06 20:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:53:04] Production.INFO: Date 2024-12-16
[2025-01-06 20:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:53:04] Production.INFO: Date 2024-12-17
[2025-01-06 20:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:53:04] Production.INFO: Date 2024-12-18
[2025-01-06 20:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:53:04] Production.INFO: Date 2024-12-19
[2025-01-06 20:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:53:04] Production.INFO: Date 2024-12-20
[2025-01-06 20:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:53:04] Production.INFO: Date 2024-12-21
[2025-01-06 20:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:53:04] Production.INFO: Date 2024-12-22
[2025-01-06 20:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:53:04] Production.INFO: Date 2024-12-23
[2025-01-06 20:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:53:04] Production.INFO: Date 2024-12-24
[2025-01-06 20:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:53:05] Production.INFO: Date 2024-12-25
[2025-01-06 20:53:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:53:05] Production.INFO: Date 2024-12-26
[2025-01-06 20:53:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:53:05] Production.INFO: Date 2024-12-27
[2025-01-06 20:53:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:53:05] Production.INFO: Date 2024-12-28
[2025-01-06 20:53:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:53:05] Production.INFO: Date 2024-12-29
[2025-01-06 20:53:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:53:05] Production.INFO: Date 2024-12-30
[2025-01-06 20:53:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:53:05] Production.INFO: Date 2024-12-31
[2025-01-06 20:53:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:53:05] Production.INFO: Date 2025-01-01
[2025-01-06 20:53:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:53:05] Production.INFO: Date 2025-01-02
[2025-01-06 20:53:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:53:05] Production.INFO: Date 2025-01-03
[2025-01-06 20:53:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:53:05] Production.INFO: Date 2025-01-04
[2025-01-06 20:53:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:53:05] Production.INFO: Date 2025-01-05
[2025-01-06 20:53:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:53:05] Production.INFO: Date 2025-01-06
[2025-01-06 20:53:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:53:05] Production.INFO: Total Charge 0
[2025-01-06 20:53:05] Production.INFO: CreateAllLog End
[2025-01-06 20:53:05] Production.INFO: Account Balance End.
[2025-01-06 20:53:05] Production.ERROR: CronJobId end 12
[2025-01-06 20:53:05] Production.INFO: ==26929== Releasing lock...
[2025-01-06 20:53:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:53:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:53:05
[end_date_ymd] => 2025-01-06 20:53:05
[RateCDR] => 1
)
[2025-01-06 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-06 17:53:05' and `end` < '2025-01-06 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-06 20:53:12] Production.ERROR: CronJobId end10
[2025-01-06 20:53:12] Production.INFO: ==26927== Releasing lock...
[2025-01-06 20:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:53:14] Production.INFO: call_cost start
[2025-01-06 20:53:14] Production.INFO: call_cost end
[2025-01-06 20:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:53:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:53:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:53:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:53:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:53:15] Production.INFO: ==26923== Releasing lock...
[2025-01-06 20:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:53:19] Production.INFO: count ==1258
[2025-01-06 20:53:19] Production.ERROR: pbx CDR StartTime 2025-01-06 17:53:05 - End Time 2025-01-06 20:53:05
[2025-01-06 20:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190130', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190130', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190130', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190130', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:53:19] Production.INFO: ProcessCDR(1,14190130,1,1,2)
[2025-01-06 20:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190130,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190130,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190130,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190130,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190130', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190130', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:53:22] Production.INFO: ==26931== Releasing lock...
[2025-01-06 20:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:53:22] Production.INFO: 37.5 MB #Memory Used#
[2025-01-07 01:54:02] Production.INFO: ==27013== Lock acquired, processing the job...
[2025-01-07 01:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:54:02] Production.INFO: neon service started
[2025-01-07 01:54:02] Production.INFO: neon service started
[2025-01-07 01:54:02] Production.INFO: ==27013== Releasing lock...
[2025-01-07 01:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:54:03] Production.INFO: ==27015== Lock acquired, processing the job...
[2025-01-06 20:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:54:03] Production.INFO: ==27017== Lock acquired, processing the job...
[2025-01-07 01:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:54:03] Production.INFO: ==27017== Releasing lock...
[2025-01-07 01:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:54:03] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:54:03] Production.INFO: ==27015== Releasing lock...
[2025-01-06 20:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:54:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 20:54:04] Production.INFO: ==27020== Lock acquired, processing the job...
[2025-01-06 20:54:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:54:04] Production.INFO: ==27022== Lock acquired, processing the job...
[2025-01-06 20:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:54:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:54:04] Production.INFO: ==27024== Lock acquired, processing the job...
[2025-01-06 20:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:54:04] Production.INFO: ==27026== Lock acquired, processing the job...
[2025-01-06 20:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:54:04] Production.INFO: ==27028== Lock acquired, processing the job...
[2025-01-06 20:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:54:04] Production.INFO: ==27022== Releasing lock...
[2025-01-06 20:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:54:04] Production.INFO: ==27030== Lock acquired, processing the job...
[2025-01-06 20:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:54:04] Production.INFO: Account Balance Start.
[2025-01-06 20:54:04] Production.INFO: CreateAllLog Start
[2025-01-06 20:54:04] Production.INFO: 117
[2025-01-06 20:54:04] Production.INFO: Date 2024-12-08
[2025-01-06 20:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:54:04] Production.INFO: Date 2024-12-09
[2025-01-06 20:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:54:04] Production.INFO: Date 2024-12-10
[2025-01-06 20:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:54:04] Production.INFO: Date 2024-12-11
[2025-01-06 20:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:54:04] Production.INFO: count ==21
[2025-01-06 20:54:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:54:05] Production.INFO: count ==21
[2025-01-06 20:54:05] Production.ERROR: PBX CALL prc_importPBXExtension('14190134') start
[2025-01-06 20:54:05] Production.INFO: Date 2024-12-12
[2025-01-06 20:54:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:54:05] Production.ERROR: done
[2025-01-06 20:54:05] Production.INFO: Date 2024-12-13
[2025-01-06 20:54:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:54:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:54:05] Production.INFO: Date 2024-12-14
[2025-01-06 20:54:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:54:05] Production.ERROR: PBX CALL prc_importPBXExtension('14190134') end
[2025-01-06 20:54:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:54:05] Production.INFO: 1
[2025-01-06 20:54:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:54:05] Production.INFO: Date 2024-12-15
[2025-01-06 20:54:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:54:05] Production.INFO: Date 2024-12-16
[2025-01-06 20:54:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:54:05] Production.INFO: Date 2024-12-17
[2025-01-06 20:54:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:54:05] Production.INFO: ==27030== Releasing lock...
[2025-01-06 20:54:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:54:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:54:05] Production.INFO: Date 2024-12-18
[2025-01-06 20:54:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:54:05] Production.ERROR: done
[2025-01-06 20:54:05] Production.INFO: Date 2024-12-19
[2025-01-06 20:54:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:54:05] Production.INFO: Date 2024-12-20
[2025-01-06 20:54:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:54:05] Production.INFO: Date 2024-12-21
[2025-01-06 20:54:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:54:05] Production.INFO: Date 2024-12-22
[2025-01-06 20:54:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:54:05] Production.INFO: Date 2024-12-23
[2025-01-06 20:54:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:54:05] Production.INFO: Date 2024-12-24
[2025-01-06 20:54:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:54:05] Production.INFO: Date 2024-12-25
[2025-01-06 20:54:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:54:05] Production.INFO: Date 2024-12-26
[2025-01-06 20:54:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:54:05] Production.INFO: Date 2024-12-27
[2025-01-06 20:54:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:54:05] Production.INFO: Date 2024-12-28
[2025-01-06 20:54:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:54:05] Production.INFO: Date 2024-12-29
[2025-01-06 20:54:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:54:05] Production.INFO: Date 2024-12-30
[2025-01-06 20:54:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:54:05] Production.INFO: Date 2024-12-31
[2025-01-06 20:54:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:54:05] Production.INFO: Date 2025-01-01
[2025-01-06 20:54:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:54:05] Production.INFO: Date 2025-01-02
[2025-01-06 20:54:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:54:05] Production.INFO: Date 2025-01-03
[2025-01-06 20:54:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:54:05] Production.INFO: Date 2025-01-04
[2025-01-06 20:54:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:54:05] Production.INFO: Date 2025-01-05
[2025-01-06 20:54:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:54:05] Production.INFO: Date 2025-01-06
[2025-01-06 20:54:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:54:05] Production.INFO: Total Charge 0
[2025-01-06 20:54:06] Production.INFO: CreateAllLog End
[2025-01-06 20:54:06] Production.INFO: Account Balance End.
[2025-01-06 20:54:06] Production.ERROR: CronJobId end 12
[2025-01-06 20:54:06] Production.INFO: ==27026== Releasing lock...
[2025-01-06 20:54:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:54:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:54:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:54:06
[end_date_ymd] => 2025-01-06 20:54:06
[RateCDR] => 1
)
[2025-01-06 20:54:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 17:54:06' and `end` < '2025-01-06 20:54:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 20:54:13] Production.ERROR: CronJobId end10
[2025-01-06 20:54:13] Production.INFO: ==27024== Releasing lock...
[2025-01-06 20:54:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:54:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:54:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:54:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:54:14] Production.INFO: call_cost start
[2025-01-06 20:54:14] Production.INFO: call_cost end
[2025-01-06 20:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:54:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:54:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:54:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:54:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:54:15] Production.INFO: ==27020== Releasing lock...
[2025-01-06 20:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:54:20] Production.INFO: count ==1253
[2025-01-06 20:54:20] Production.ERROR: pbx CDR StartTime 2025-01-06 17:54:06 - End Time 2025-01-06 20:54:06
[2025-01-06 20:54:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190135', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190135', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190135', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190135', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:54:20] Production.INFO: ProcessCDR(1,14190135,1,1,2)
[2025-01-06 20:54:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190135,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:54:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190135,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:54:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190135,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:54:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190135,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190135', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190135', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:54:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:54:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:54:23] Production.INFO: ==27028== Releasing lock...
[2025-01-06 20:54:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:54:23] Production.INFO: 38 MB #Memory Used#
[2025-01-07 01:55:01] Production.INFO: ==27117== Lock acquired, processing the job...
[2025-01-07 01:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:55:01] Production.INFO: neon service started
[2025-01-07 01:55:01] Production.INFO: neon service started
[2025-01-07 01:55:01] Production.INFO: ==27117== Releasing lock...
[2025-01-07 01:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:55:02] Production.INFO: ==27120== Lock acquired, processing the job...
[2025-01-06 20:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:55:02] Production.INFO: ==27122== Lock acquired, processing the job...
[2025-01-07 01:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:55:02] Production.INFO: ==27122== Releasing lock...
[2025-01-07 01:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:55:02] Production.INFO: ==27120== Releasing lock...
[2025-01-06 20:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 20:55:03] Production.INFO: ==27124== Lock acquired, processing the job...
[2025-01-06 20:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:55:03] Production.INFO: ==27128== Lock acquired, processing the job...
[2025-01-06 20:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:55:03] Production.INFO: ==27132== Lock acquired, processing the job...
[2025-01-06 20:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:55:03] Production.INFO: ==27126== Lock acquired, processing the job...
[2025-01-06 20:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:55:04] Production.INFO: ==27130== Lock acquired, processing the job...
[2025-01-06 20:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:55:04] Production.INFO: ==27134== Lock acquired, processing the job...
[2025-01-06 20:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:55:04] Production.ERROR: done
[2025-01-06 20:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:55:04] Production.INFO: Account Balance Start.
[2025-01-06 20:55:04] Production.INFO: CreateAllLog Start
[2025-01-06 20:55:04] Production.INFO: 117
[2025-01-06 20:55:04] Production.INFO: Date 2024-12-08
[2025-01-06 20:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:55:04] Production.INFO: ==27126== Releasing lock...
[2025-01-06 20:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:55:04] Production.ERROR: done
[2025-01-06 20:55:04] Production.INFO: Date 2024-12-09
[2025-01-06 20:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:55:04] Production.INFO: Date 2024-12-10
[2025-01-06 20:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:55:04] Production.INFO: Date 2024-12-11
[2025-01-06 20:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:55:04] Production.INFO: count ==21
[2025-01-06 20:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:55:04] Production.INFO: count ==21
[2025-01-06 20:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190139') start
[2025-01-06 20:55:04] Production.INFO: Date 2024-12-12
[2025-01-06 20:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:55:04] Production.INFO: Date 2024-12-13
[2025-01-06 20:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:55:04] Production.INFO: Date 2024-12-14
[2025-01-06 20:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190139') end
[2025-01-06 20:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:55:04] Production.INFO: 1
[2025-01-06 20:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:55:04] Production.INFO: Date 2024-12-15
[2025-01-06 20:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:55:04] Production.INFO: Date 2024-12-16
[2025-01-06 20:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:55:04] Production.INFO: ==27134== Releasing lock...
[2025-01-06 20:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:55:04] Production.INFO: Date 2024-12-17
[2025-01-06 20:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:55:04] Production.INFO: Date 2024-12-18
[2025-01-06 20:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:55:04] Production.INFO: Date 2024-12-19
[2025-01-06 20:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:55:04] Production.INFO: Date 2024-12-20
[2025-01-06 20:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:55:05] Production.INFO: Date 2024-12-21
[2025-01-06 20:55:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:55:05] Production.INFO: Date 2024-12-22
[2025-01-06 20:55:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:55:05] Production.INFO: Date 2024-12-23
[2025-01-06 20:55:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:55:05] Production.INFO: Date 2024-12-24
[2025-01-06 20:55:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:55:05] Production.INFO: Date 2024-12-25
[2025-01-06 20:55:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:55:05] Production.INFO: Date 2024-12-26
[2025-01-06 20:55:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:55:05] Production.INFO: Date 2024-12-27
[2025-01-06 20:55:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:55:05] Production.INFO: Date 2024-12-28
[2025-01-06 20:55:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:55:05] Production.INFO: Date 2024-12-29
[2025-01-06 20:55:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:55:05] Production.INFO: Date 2024-12-30
[2025-01-06 20:55:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:55:05
[end_date_ymd] => 2025-01-06 20:55:05
[RateCDR] => 1
)
[2025-01-06 20:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 17:55:05' and `end` < '2025-01-06 20:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 20:55:05] Production.INFO: Date 2024-12-31
[2025-01-06 20:55:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:55:05] Production.INFO: Date 2025-01-01
[2025-01-06 20:55:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:55:05] Production.INFO: Date 2025-01-02
[2025-01-06 20:55:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:55:05] Production.INFO: Date 2025-01-03
[2025-01-06 20:55:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:55:05] Production.INFO: Date 2025-01-04
[2025-01-06 20:55:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:55:05] Production.INFO: Date 2025-01-05
[2025-01-06 20:55:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:55:05] Production.INFO: Date 2025-01-06
[2025-01-06 20:55:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:55:05] Production.INFO: Total Charge 0
[2025-01-06 20:55:05] Production.INFO: CreateAllLog End
[2025-01-06 20:55:05] Production.INFO: Account Balance End.
[2025-01-06 20:55:05] Production.ERROR: CronJobId end 12
[2025-01-06 20:55:05] Production.INFO: ==27130== Releasing lock...
[2025-01-06 20:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:55:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:55:13] Production.ERROR: CronJobId end10
[2025-01-06 20:55:13] Production.INFO: ==27128== Releasing lock...
[2025-01-06 20:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:55:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:55:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:55:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:55:14] Production.INFO: call_cost start
[2025-01-06 20:55:14] Production.INFO: call_cost end
[2025-01-06 20:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:55:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:55:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:55:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:55:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:55:15] Production.INFO: ==27124== Releasing lock...
[2025-01-06 20:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:55:18] Production.INFO: count ==1252
[2025-01-06 20:55:18] Production.ERROR: pbx CDR StartTime 2025-01-06 17:55:05 - End Time 2025-01-06 20:55:05
[2025-01-06 20:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190140', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190140', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190140', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190140', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:55:18] Production.INFO: ProcessCDR(1,14190140,1,1,2)
[2025-01-06 20:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190140,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190140,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190140,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190140,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190140', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190140', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:55:21] Production.INFO: ==27132== Releasing lock...
[2025-01-06 20:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:55:21] Production.INFO: 38 MB #Memory Used#
[2025-01-07 01:56:02] Production.INFO: ==27210== Lock acquired, processing the job...
[2025-01-07 01:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:56:02] Production.INFO: neon service started
[2025-01-07 01:56:02] Production.INFO: neon service started
[2025-01-07 01:56:02] Production.INFO: ==27210== Releasing lock...
[2025-01-07 01:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:56:02] Production.INFO: ==27213== Lock acquired, processing the job...
[2025-01-06 20:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 20:56:03] Production.INFO: ==27213== Releasing lock...
[2025-01-06 20:56:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:56:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:56:03] Production.INFO: ==27215== Lock acquired, processing the job...
[2025-01-07 01:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:56:03] Production.INFO: ==27215== Releasing lock...
[2025-01-07 01:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:56:03] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:56:03] Production.INFO: ==27217== Lock acquired, processing the job...
[2025-01-06 20:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:56:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:56:04] Production.INFO: ==27221== Lock acquired, processing the job...
[2025-01-06 20:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:56:04] Production.INFO: ==27225== Lock acquired, processing the job...
[2025-01-06 20:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:56:04] Production.INFO: ==27219== Lock acquired, processing the job...
[2025-01-06 20:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:56:04] Production.INFO: ==27223== Lock acquired, processing the job...
[2025-01-06 20:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:56:04] Production.INFO: ==27227== Lock acquired, processing the job...
[2025-01-06 20:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:56:04] Production.INFO: Account Balance Start.
[2025-01-06 20:56:04] Production.INFO: CreateAllLog Start
[2025-01-06 20:56:04] Production.ERROR: done
[2025-01-06 20:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:56:04] Production.INFO: 117
[2025-01-06 20:56:04] Production.INFO: Date 2024-12-08
[2025-01-06 20:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:56:04] Production.INFO: Date 2024-12-09
[2025-01-06 20:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:56:04] Production.INFO: Date 2024-12-10
[2025-01-06 20:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:56:04] Production.INFO: count ==21
[2025-01-06 20:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:56:04] Production.INFO: Date 2024-12-11
[2025-01-06 20:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:56:04] Production.INFO: count ==21
[2025-01-06 20:56:04] Production.ERROR: done
[2025-01-06 20:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190144') start
[2025-01-06 20:56:04] Production.INFO: Date 2024-12-12
[2025-01-06 20:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:56:04] Production.INFO: Date 2024-12-13
[2025-01-06 20:56:04] Production.INFO: ==27219== Releasing lock...
[2025-01-06 20:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:56:04] Production.INFO: Date 2024-12-14
[2025-01-06 20:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:56:04] Production.INFO: Date 2024-12-15
[2025-01-06 20:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190144') end
[2025-01-06 20:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:56:04] Production.INFO: 1
[2025-01-06 20:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:56:04] Production.INFO: ==27227== Releasing lock...
[2025-01-06 20:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:56:04] Production.INFO: Date 2024-12-16
[2025-01-06 20:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:56:05] Production.INFO: Date 2024-12-17
[2025-01-06 20:56:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:56:05] Production.INFO: Date 2024-12-18
[2025-01-06 20:56:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:56:05] Production.INFO: Date 2024-12-19
[2025-01-06 20:56:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:56:05] Production.INFO: Date 2024-12-20
[2025-01-06 20:56:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:56:05] Production.INFO: Date 2024-12-21
[2025-01-06 20:56:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:56:05] Production.INFO: Date 2024-12-22
[2025-01-06 20:56:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:56:05] Production.INFO: Date 2024-12-23
[2025-01-06 20:56:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:56:05] Production.INFO: Date 2024-12-24
[2025-01-06 20:56:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:56:05] Production.INFO: Date 2024-12-25
[2025-01-06 20:56:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:56:05] Production.INFO: Date 2024-12-26
[2025-01-06 20:56:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:56:05] Production.INFO: Date 2024-12-27
[2025-01-06 20:56:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:56:05] Production.INFO: Date 2024-12-28
[2025-01-06 20:56:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:56:05] Production.INFO: Date 2024-12-29
[2025-01-06 20:56:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:56:05] Production.INFO: Date 2024-12-30
[2025-01-06 20:56:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:56:05] Production.INFO: Date 2024-12-31
[2025-01-06 20:56:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:56:05] Production.INFO: Date 2025-01-01
[2025-01-06 20:56:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:56:05] Production.INFO: Date 2025-01-02
[2025-01-06 20:56:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:56:05] Production.INFO: Date 2025-01-03
[2025-01-06 20:56:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:56:05] Production.INFO: Date 2025-01-04
[2025-01-06 20:56:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:56:05] Production.INFO: Date 2025-01-05
[2025-01-06 20:56:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:56:05] Production.INFO: Date 2025-01-06
[2025-01-06 20:56:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:56:05] Production.INFO: Total Charge 0
[2025-01-06 20:56:05] Production.INFO: CreateAllLog End
[2025-01-06 20:56:05] Production.INFO: Account Balance End.
[2025-01-06 20:56:05] Production.ERROR: CronJobId end 12
[2025-01-06 20:56:05] Production.INFO: ==27223== Releasing lock...
[2025-01-06 20:56:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:56:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:56:05
[end_date_ymd] => 2025-01-06 20:56:05
[RateCDR] => 1
)
[2025-01-06 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-06 17:56:05' and `end` < '2025-01-06 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-06 20:56:13] Production.ERROR: CronJobId end10
[2025-01-06 20:56:13] Production.INFO: ==27221== Releasing lock...
[2025-01-06 20:56:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:56:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:56:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:56:15] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:56:15] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:56:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:56:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:56:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:56:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:56:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:56:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:56:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:56:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:56:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:56:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:56:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:56:15] Production.INFO: call_cost start
[2025-01-06 20:56:15] Production.INFO: call_cost end
[2025-01-06 20:56:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:56:16] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:56:16] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:56:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:56:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:56:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:56:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:56:16] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:56:16] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:56:16] Production.INFO: ==27217== Releasing lock...
[2025-01-06 20:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:56:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:56:18] Production.INFO: count ==1254
[2025-01-06 20:56:19] Production.ERROR: pbx CDR StartTime 2025-01-06 17:56:05 - End Time 2025-01-06 20:56:05
[2025-01-06 20:56:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190145', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190145', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190145', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190145', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:56:19] Production.INFO: ProcessCDR(1,14190145,1,1,2)
[2025-01-06 20:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190145,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190145,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190145,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190145,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190145', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190145', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:56:22] Production.INFO: ==27225== Releasing lock...
[2025-01-06 20:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:56:22] Production.INFO: 38 MB #Memory Used#
[2025-01-07 01:57:01] Production.INFO: ==27307== Lock acquired, processing the job...
[2025-01-07 01:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:57:01] Production.INFO: neon service started
[2025-01-07 01:57:01] Production.INFO: neon service started
[2025-01-07 01:57:01] Production.INFO: ==27307== Releasing lock...
[2025-01-07 01:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:57:02] Production.INFO: ==27309== Lock acquired, processing the job...
[2025-01-06 20:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 20:57:02] Production.INFO: ==27309== Releasing lock...
[2025-01-06 20:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:57:02] Production.INFO: ==27311== Lock acquired, processing the job...
[2025-01-07 01:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:57:02] Production.INFO: ==27311== Releasing lock...
[2025-01-07 01:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:57:03] Production.INFO: ==27316== Lock acquired, processing the job...
[2025-01-06 20:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:57:03] Production.INFO: ==27322== Lock acquired, processing the job...
[2025-01-06 20:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:57:03] Production.INFO: ==27314== Lock acquired, processing the job...
[2025-01-06 20:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:57:03] Production.INFO: ==27318== Lock acquired, processing the job...
[2025-01-06 20:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:57:03] Production.INFO: ==27320== Lock acquired, processing the job...
[2025-01-06 20:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:57:03] Production.INFO: ==27316== Releasing lock...
[2025-01-06 20:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:57:03] Production.INFO: ==27324== Lock acquired, processing the job...
[2025-01-06 20:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:57:03] Production.INFO: Account Balance Start.
[2025-01-06 20:57:03] Production.INFO: CreateAllLog Start
[2025-01-06 20:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:57:03] Production.INFO: 117
[2025-01-06 20:57:03] Production.INFO: Date 2024-12-08
[2025-01-06 20:57:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:57:03] Production.ERROR: done
[2025-01-06 20:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:57:03] Production.INFO: Date 2024-12-09
[2025-01-06 20:57:03] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 20:57:03] Production.INFO: Date 2024-12-10
[2025-01-06 20:57:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:57:03] Production.INFO: Date 2024-12-11
[2025-01-06 20:57:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:57:03] Production.INFO: count ==21
[2025-01-06 20:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:57:04] Production.INFO: count ==21
[2025-01-06 20:57:04] Production.ERROR: done
[2025-01-06 20:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190149') start
[2025-01-06 20:57:04] Production.INFO: Date 2024-12-12
[2025-01-06 20:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:57:04] Production.INFO: Date 2024-12-13
[2025-01-06 20:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:57:04] Production.INFO: Date 2024-12-14
[2025-01-06 20:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:57:04] Production.INFO: Date 2024-12-15
[2025-01-06 20:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190149') end
[2025-01-06 20:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:57:04] Production.INFO: 1
[2025-01-06 20:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:57:04] Production.INFO: Date 2024-12-16
[2025-01-06 20:57:04] Production.INFO: ==27324== Releasing lock...
[2025-01-06 20:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:57:04] Production.INFO: Date 2024-12-17
[2025-01-06 20:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:57:04] Production.INFO: Date 2024-12-18
[2025-01-06 20:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:57:04] Production.INFO: Date 2024-12-19
[2025-01-06 20:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:57:04] Production.INFO: Date 2024-12-20
[2025-01-06 20:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:57:04] Production.INFO: Date 2024-12-21
[2025-01-06 20:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:57:04] Production.INFO: Date 2024-12-22
[2025-01-06 20:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:57:04] Production.INFO: Date 2024-12-23
[2025-01-06 20:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:57:04] Production.INFO: Date 2024-12-24
[2025-01-06 20:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:57:04] Production.INFO: Date 2024-12-25
[2025-01-06 20:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:57:04] Production.INFO: Date 2024-12-26
[2025-01-06 20:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:57:04] Production.INFO: Date 2024-12-27
[2025-01-06 20:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:57:04] Production.INFO: Date 2024-12-28
[2025-01-06 20:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:57:04] Production.INFO: Date 2024-12-29
[2025-01-06 20:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:57:04] Production.INFO: Date 2024-12-30
[2025-01-06 20:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:57:04] Production.INFO: Date 2024-12-31
[2025-01-06 20:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:57:04] Production.INFO: Date 2025-01-01
[2025-01-06 20:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:57:04] Production.INFO: Date 2025-01-02
[2025-01-06 20:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:57:04] Production.INFO: Date 2025-01-03
[2025-01-06 20:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:57:04] Production.INFO: Date 2025-01-04
[2025-01-06 20:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:57:04] Production.INFO: Date 2025-01-05
[2025-01-06 20:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:57:04] Production.INFO: Date 2025-01-06
[2025-01-06 20:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:57:05] Production.INFO: Total Charge 0
[2025-01-06 20:57:05] Production.INFO: CreateAllLog End
[2025-01-06 20:57:05] Production.INFO: Account Balance End.
[2025-01-06 20:57:05] Production.ERROR: CronJobId end 12
[2025-01-06 20:57:05] Production.INFO: ==27320== Releasing lock...
[2025-01-06 20:57:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:57:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:57:05
[end_date_ymd] => 2025-01-06 20:57:05
[RateCDR] => 1
)
[2025-01-06 20:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 17:57:05' and `end` < '2025-01-06 20:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 20:57:12] Production.ERROR: CronJobId end10
[2025-01-06 20:57:12] Production.INFO: ==27318== Releasing lock...
[2025-01-06 20:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:57:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:57:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:57:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:57:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:57:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:57:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:57:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:57:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:57:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:57:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:57:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:57:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:57:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:57:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:57:14] Production.INFO: call_cost start
[2025-01-06 20:57:14] Production.INFO: call_cost end
[2025-01-06 20:57:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:57:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:57:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:57:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:57:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:57:15] Production.INFO: ==27314== Releasing lock...
[2025-01-06 20:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:57:19] Production.INFO: count ==1257
[2025-01-06 20:57:19] Production.ERROR: pbx CDR StartTime 2025-01-06 17:57:05 - End Time 2025-01-06 20:57:05
[2025-01-06 20:57:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190150', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190150', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190150', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190150', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:57:19] Production.INFO: ProcessCDR(1,14190150,1,1,2)
[2025-01-06 20:57:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190150,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:57:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190150,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:57:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190150,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:57:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190150,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:57:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190150', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:57:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190150', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:57:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:57:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:57:24] Production.INFO: ==27322== Releasing lock...
[2025-01-06 20:57:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:57:24] Production.INFO: 38 MB #Memory Used#
[2025-01-07 01:58:02] Production.INFO: ==27439== Lock acquired, processing the job...
[2025-01-07 01:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:58:02] Production.INFO: neon service started
[2025-01-07 01:58:02] Production.INFO: neon service started
[2025-01-07 01:58:02] Production.INFO: ==27439== Releasing lock...
[2025-01-07 01:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:58:02] Production.INFO: ==27441== Lock acquired, processing the job...
[2025-01-06 20:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 20:58:02] Production.INFO: ==27441== Releasing lock...
[2025-01-06 20:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:58:03] Production.INFO: ==27443== Lock acquired, processing the job...
[2025-01-07 01:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:58:03] Production.INFO: ==27443== Releasing lock...
[2025-01-07 01:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:58:03] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:58:03] Production.INFO: ==27450== Lock acquired, processing the job...
[2025-01-06 20:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:58:03] Production.INFO: ==27448== Lock acquired, processing the job...
[2025-01-06 20:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:58:03] Production.INFO: ==27446== Lock acquired, processing the job...
[2025-01-06 20:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:58:03] Production.INFO: ==27454== Lock acquired, processing the job...
[2025-01-06 20:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:58:03] Production.INFO: ==27452== Lock acquired, processing the job...
[2025-01-06 20:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:58:03] Production.INFO: ==27456== Lock acquired, processing the job...
[2025-01-06 20:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:58:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:58:04] Production.INFO: Account Balance Start.
[2025-01-06 20:58:04] Production.INFO: CreateAllLog Start
[2025-01-06 20:58:04] Production.INFO: 117
[2025-01-06 20:58:04] Production.INFO: Date 2024-12-08
[2025-01-06 20:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:58:04] Production.INFO: Date 2024-12-09
[2025-01-06 20:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:58:04] Production.INFO: ==27448== Releasing lock...
[2025-01-06 20:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:58:04] Production.INFO: Date 2024-12-10
[2025-01-06 20:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 20:58:04] Production.INFO: Date 2024-12-11
[2025-01-06 20:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:58:04] Production.INFO: count ==21
[2025-01-06 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-06 20:58:04] Production.INFO: count ==21
[2025-01-06 20:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190154') start
[2025-01-06 20:58:04] Production.ERROR: done
[2025-01-06 20:58:04] Production.INFO: Date 2024-12-12
[2025-01-06 20:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:58:04] Production.INFO: Date 2024-12-13
[2025-01-06 20:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:58:04] Production.INFO: Date 2024-12-14
[2025-01-06 20:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:58:04] Production.INFO: Date 2024-12-15
[2025-01-06 20:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:58:04] Production.INFO: Date 2024-12-16
[2025-01-06 20:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:58:04] Production.INFO: Date 2024-12-17
[2025-01-06 20:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190154') end
[2025-01-06 20:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:58:04] Production.INFO: 1
[2025-01-06 20:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:58:04] Production.INFO: ==27456== Releasing lock...
[2025-01-06 20:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:58:04] Production.ERROR: done
[2025-01-06 20:58:04] Production.INFO: Date 2024-12-18
[2025-01-06 20:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:58:04] Production.INFO: Date 2024-12-19
[2025-01-06 20:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:58:04] Production.INFO: Date 2024-12-20
[2025-01-06 20:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:58:04] Production.INFO: Date 2024-12-21
[2025-01-06 20:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:58:04] Production.INFO: Date 2024-12-22
[2025-01-06 20:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:58:04] Production.INFO: Date 2024-12-23
[2025-01-06 20:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:58:04] Production.INFO: Date 2024-12-24
[2025-01-06 20:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:58:04] Production.INFO: Date 2024-12-25
[2025-01-06 20:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:58:04] Production.INFO: Date 2024-12-26
[2025-01-06 20:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:58:05] Production.INFO: Date 2024-12-27
[2025-01-06 20:58:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:58:05] Production.INFO: Date 2024-12-28
[2025-01-06 20:58:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:58:05] Production.INFO: Date 2024-12-29
[2025-01-06 20:58:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:58:05] Production.INFO: Date 2024-12-30
[2025-01-06 20:58:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:58:05] Production.INFO: Date 2024-12-31
[2025-01-06 20:58:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:58:05] Production.INFO: Date 2025-01-01
[2025-01-06 20:58:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:58:05] Production.INFO: Date 2025-01-02
[2025-01-06 20:58:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:58:05] Production.INFO: Date 2025-01-03
[2025-01-06 20:58:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:58:05] Production.INFO: Date 2025-01-04
[2025-01-06 20:58:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:58:05] Production.INFO: Date 2025-01-05
[2025-01-06 20:58:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:58:05] Production.INFO: Date 2025-01-06
[2025-01-06 20:58:05] Production.INFO: Reseller ==> 0
[2025-01-06 20:58:05] Production.INFO: Total Charge 0
[2025-01-06 20:58:05] Production.INFO: CreateAllLog End
[2025-01-06 20:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:58:05
[end_date_ymd] => 2025-01-06 20:58:05
[RateCDR] => 1
)
[2025-01-06 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-06 17:58:05' and `end` < '2025-01-06 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-06 20:58:05] Production.INFO: Account Balance End.
[2025-01-06 20:58:05] Production.ERROR: CronJobId end 12
[2025-01-06 20:58:05] Production.INFO: ==27452== Releasing lock...
[2025-01-06 20:58:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:58:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:58:13] Production.ERROR: CronJobId end10
[2025-01-06 20:58:13] Production.INFO: ==27450== Releasing lock...
[2025-01-06 20:58:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:58:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:58:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:58:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:58:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:58:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:58:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:58:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:58:15] Production.INFO: call_cost start
[2025-01-06 20:58:15] Production.INFO: call_cost end
[2025-01-06 20:58:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:58:16] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:58:16] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:58:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:58:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:58:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:58:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:58:16] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:58:16] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:58:16] Production.INFO: ==27446== Releasing lock...
[2025-01-06 20:58:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:58:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:58:19] Production.INFO: count ==1258
[2025-01-06 20:58:19] Production.ERROR: pbx CDR StartTime 2025-01-06 17:58:05 - End Time 2025-01-06 20:58:05
[2025-01-06 20:58:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190155', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190155', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190155', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190155', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:58:19] Production.INFO: ProcessCDR(1,14190155,1,1,2)
[2025-01-06 20:58:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190155,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:58:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190155,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:58:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190155,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:58:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190155,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190155', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190155', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:58:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:58:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:58:23] Production.INFO: ==27454== Releasing lock...
[2025-01-06 20:58:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:58:23] Production.INFO: 37.75 MB #Memory Used#
[2025-01-07 01:59:01] Production.INFO: ==27533== Lock acquired, processing the job...
[2025-01-07 01:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 01:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 01:59:01] Production.INFO: neon service started
[2025-01-07 01:59:01] Production.INFO: neon service started
[2025-01-07 01:59:01] Production.INFO: ==27533== Releasing lock...
[2025-01-07 01:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 01:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 20:59:02] Production.INFO: ==27535== Lock acquired, processing the job...
[2025-01-06 20:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 20:59:02] Production.INFO: ==27535== Releasing lock...
[2025-01-06 20:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 20:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:59:02] Production.INFO: ==27537== Lock acquired, processing the job...
[2025-01-07 01:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:59:02] Production.INFO: ==27537== Releasing lock...
[2025-01-07 01:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 01:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 20:59:03] Production.INFO: ==27547== Lock acquired, processing the job...
[2025-01-06 20:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 20:59:03] Production.INFO: ==27539== Lock acquired, processing the job...
[2025-01-06 20:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 20:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 20:59:03] Production.INFO: ==27550== Lock acquired, processing the job...
[2025-01-06 20:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 20:59:03] Production.INFO: ==27541== Lock acquired, processing the job...
[2025-01-06 20:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 20:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 20:59:03] Production.INFO: ==27543== Lock acquired, processing the job...
[2025-01-06 20:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 20:59:03] Production.INFO: ==27545== Lock acquired, processing the job...
[2025-01-06 20:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 20:59:03] Production.INFO: count ==21
[2025-01-06 20:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 20:59:03] Production.INFO: count ==21
[2025-01-06 20:59:03] Production.INFO: Account Balance Start.
[2025-01-06 20:59:03] Production.INFO: CreateAllLog Start
[2025-01-06 20:59:03] Production.INFO: 117
[2025-01-06 20:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190156') start
[2025-01-06 20:59:03] Production.INFO: Date 2024-12-08
[2025-01-06 20:59:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 20:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 20:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 20:59:03] Production.INFO: Date 2024-12-09
[2025-01-06 20:59:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 20:59:03] Production.ERROR: done
[2025-01-06 20:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 20:59:03] Production.INFO: Date 2024-12-10
[2025-01-06 20:59:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:59:03] Production.INFO: Date 2024-12-11
[2025-01-06 20:59:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190156') end
[2025-01-06 20:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 20:59:03] Production.INFO: 1
[2025-01-06 20:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 20:59:03] Production.INFO: Date 2024-12-12
[2025-01-06 20:59:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:59:03] Production.INFO: ==27550== Releasing lock...
[2025-01-06 20:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 20:59:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 20:59:03] Production.INFO: Date 2024-12-13
[2025-01-06 20:59:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:59:03] Production.ERROR: done
[2025-01-06 20:59:03] Production.INFO: Date 2024-12-14
[2025-01-06 20:59:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:59:03] Production.INFO: Date 2024-12-15
[2025-01-06 20:59:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:59:03] Production.INFO: ==27541== Releasing lock...
[2025-01-06 20:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 20:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 20:59:03] Production.INFO: Date 2024-12-16
[2025-01-06 20:59:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:59:03] Production.INFO: Date 2024-12-17
[2025-01-06 20:59:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:59:03] Production.INFO: Date 2024-12-18
[2025-01-06 20:59:03] Production.INFO: Reseller ==> 0
[2025-01-06 20:59:04] Production.INFO: Date 2024-12-19
[2025-01-06 20:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:59:04] Production.INFO: Date 2024-12-20
[2025-01-06 20:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:59:04] Production.INFO: Date 2024-12-21
[2025-01-06 20:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:59:04] Production.INFO: Date 2024-12-22
[2025-01-06 20:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:59:04] Production.INFO: Date 2024-12-23
[2025-01-06 20:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:59:04] Production.INFO: Date 2024-12-24
[2025-01-06 20:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:59:04] Production.INFO: Date 2024-12-25
[2025-01-06 20:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:59:04] Production.INFO: Date 2024-12-26
[2025-01-06 20:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:59:04] Production.INFO: Date 2024-12-27
[2025-01-06 20:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:59:04] Production.INFO: Date 2024-12-28
[2025-01-06 20:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:59:04] Production.INFO: Date 2024-12-29
[2025-01-06 20:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:59:04] Production.INFO: Date 2024-12-30
[2025-01-06 20:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:59:04] Production.INFO: Date 2024-12-31
[2025-01-06 20:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:59:04] Production.INFO: Date 2025-01-01
[2025-01-06 20:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:59:04] Production.INFO: Date 2025-01-02
[2025-01-06 20:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:59:04] Production.INFO: Date 2025-01-03
[2025-01-06 20:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:59:04] Production.INFO: Date 2025-01-04
[2025-01-06 20:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:59:04] Production.INFO: Date 2025-01-05
[2025-01-06 20:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:59:04] Production.INFO: Date 2025-01-06
[2025-01-06 20:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 20:59:04] Production.INFO: Total Charge 0
[2025-01-06 20:59:04] Production.INFO: CreateAllLog End
[2025-01-06 20:59:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 17:59:04
[end_date_ymd] => 2025-01-06 20:59:04
[RateCDR] => 1
)
[2025-01-06 20:59:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 17:59:04' and `end` < '2025-01-06 20:59:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 20:59:04] Production.INFO: Account Balance End.
[2025-01-06 20:59:04] Production.ERROR: CronJobId end 12
[2025-01-06 20:59:04] Production.INFO: ==27545== Releasing lock...
[2025-01-06 20:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 20:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 20:59:13] Production.ERROR: CronJobId end10
[2025-01-06 20:59:13] Production.INFO: ==27543== Releasing lock...
[2025-01-06 20:59:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 20:59:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 20:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 20:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 20:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 20:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 20:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 20:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 20:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 20:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 20:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 20:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 20:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 20:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 20:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 20:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 20:59:13] Production.INFO: call_cost start
[2025-01-06 20:59:13] Production.INFO: call_cost end
[2025-01-06 20:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 20:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 20:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 20:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 20:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 20:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 20:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 20:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 20:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 20:59:14] Production.INFO: ==27539== Releasing lock...
[2025-01-06 20:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 20:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 20:59:17] Production.INFO: count ==1253
[2025-01-06 20:59:17] Production.ERROR: pbx CDR StartTime 2025-01-06 17:59:04 - End Time 2025-01-06 20:59:04
[2025-01-06 20:59:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 20:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190160', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190160', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190160', 'tblTempVendorCDR_20' ) start
[2025-01-06 20:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190160', 'tblTempVendorCDR_20' ) end
[2025-01-06 20:59:17] Production.INFO: ProcessCDR(1,14190160,1,1,2)
[2025-01-06 20:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190160,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:59:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190160,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 20:59:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190160,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190160,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 20:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190160', 'tblTempUsageDetail_20' ) start
[2025-01-06 20:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190160', 'tblTempUsageDetail_20' ) end
[2025-01-06 20:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 20:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 20:59:21] Production.INFO: ==27547== Releasing lock...
[2025-01-06 20:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 20:59:21] Production.INFO: 38 MB #Memory Used#
[2025-01-07 02:00:02] Production.INFO: ==27632== Lock acquired, processing the job...
[2025-01-07 02:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:00:02] Production.INFO: neon service started
[2025-01-07 02:00:02] Production.INFO: neon service started
[2025-01-07 02:00:02] Production.INFO: ==27632== Releasing lock...
[2025-01-07 02:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 21:00:02] Production.INFO: ==27634== Lock acquired, processing the job...
[2025-01-06 21:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 21:00:02] Production.INFO: ==27634== Releasing lock...
[2025-01-06 21:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:00:02] Production.INFO: ==27636== Lock acquired, processing the job...
[2025-01-07 02:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:00:03] Production.INFO: ==27636== Releasing lock...
[2025-01-07 02:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:00:03] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:00:03] Production.INFO: ==27639== Lock acquired, processing the job...
[2025-01-06 21:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-06 21:00:03] Production.INFO: ==27641== Lock acquired, processing the job...
[2025-01-06 21:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:00:03] Production.INFO: ==27643== Lock acquired, processing the job...
[2025-01-06 21:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-06 21:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 21:00:03] Production.ERROR: CronJob PID - 27641
[2025-01-06 21:00:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-06 21:00:03] Production.ERROR: CronJob ID - 5
[2025-01-06 21:00:03] Production.ERROR: CronJob Last Run Time 2025-01-06 21:00:00
[2025-01-06 21:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 21:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 21:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-06 21:00:03] Production.INFO: ==27639== Releasing lock...
[2025-01-06 21:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-06 21:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-06 21:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:00:04] Production.INFO: ==27643== Releasing lock...
[2025-01-06 21:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:00:04] Production.INFO: ==27647== Lock acquired, processing the job...
[2025-01-06 21:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:00:04] Production.INFO: ==27645== Lock acquired, processing the job...
[2025-01-06 21:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:00:04] Production.INFO: ==27649== Lock acquired, processing the job...
[2025-01-06 21:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:00:04] Production.INFO: ==27651== Lock acquired, processing the job...
[2025-01-06 21:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-06 21:00:04] Production.INFO: Account Balance Start.
[2025-01-06 21:00:04] Production.INFO: CreateAllLog Start
[2025-01-06 21:00:04] Production.INFO: 117
[2025-01-06 21:00:04] Production.INFO: Date 2024-12-08
[2025-01-06 21:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:00:04] Production.INFO: ==27653== Lock acquired, processing the job...
[2025-01-06 21:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:00:04] Production.INFO: Date 2024-12-09
[2025-01-06 21:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:00:04] Production.INFO: Date 2024-12-10
[2025-01-06 21:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:00:04] Production.INFO: Date 2024-12-11
[2025-01-06 21:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:00:04] Production.ERROR: done
[2025-01-06 21:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 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-06 21:00:04] Production.INFO: Date 2024-12-12
[2025-01-06 21:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:00:04] Production.INFO: count ==21
[2025-01-06 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-06 21:00:04] Production.INFO: count ==21
[2025-01-06 21:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190164') start
[2025-01-06 21:00:04] Production.ERROR: done
[2025-01-06 21:00:04] Production.INFO: Date 2024-12-13
[2025-01-06 21:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-06 21:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14190165', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) start
[2025-01-06 21:00:04] Production.INFO: Date 2024-12-14
[2025-01-06 21:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190164') end
[2025-01-06 21:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:00:04] Production.INFO: 1
[2025-01-06 21:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:00:04] Production.INFO: Date 2024-12-15
[2025-01-06 21:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:00:04] Production.INFO: ==27653== Releasing lock...
[2025-01-06 21:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:00:04] Production.ERROR: done
[2025-01-06 21:00:05] Production.INFO: Date 2024-12-16
[2025-01-06 21:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:00:05] Production.INFO: Date 2024-12-17
[2025-01-06 21:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:00:05] Production.INFO: Date 2024-12-18
[2025-01-06 21:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:00:05] Production.INFO: Date 2024-12-19
[2025-01-06 21:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:00:05] Production.INFO: Date 2024-12-20
[2025-01-06 21:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:00:05] Production.INFO: Date 2024-12-21
[2025-01-06 21:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:00:05] Production.INFO: Date 2024-12-22
[2025-01-06 21:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:00:05] Production.INFO: Date 2024-12-23
[2025-01-06 21:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:00:05] Production.INFO: Date 2024-12-24
[2025-01-06 21:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:00:05] Production.INFO: Date 2024-12-25
[2025-01-06 21:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:00:05] Production.INFO: Date 2024-12-26
[2025-01-06 21:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:00:05] Production.INFO: Date 2024-12-27
[2025-01-06 21:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:00:05] Production.INFO: Date 2024-12-28
[2025-01-06 21:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:00:05] Production.INFO: Date 2024-12-29
[2025-01-06 21:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:00:05] Production.INFO: Date 2024-12-30
[2025-01-06 21:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:00:05] Production.INFO: Date 2024-12-31
[2025-01-06 21:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:00:05] Production.INFO: Date 2025-01-01
[2025-01-06 21:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:00:05] Production.INFO: Date 2025-01-02
[2025-01-06 21:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:00:05] Production.INFO: Date 2025-01-03
[2025-01-06 21:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:00:06] Production.INFO: Date 2025-01-04
[2025-01-06 21:00:06] Production.INFO: Reseller ==> 0
[2025-01-06 21:00:06] Production.INFO: Date 2025-01-05
[2025-01-06 21:00:06] Production.INFO: Reseller ==> 0
[2025-01-06 21:00:06] Production.INFO: Date 2025-01-06
[2025-01-06 21:00:06] Production.INFO: Reseller ==> 0
[2025-01-06 21:00:06] Production.INFO: Total Charge 0
[2025-01-06 21:00:06] Production.INFO: CreateAllLog End
[2025-01-06 21:00:06] Production.INFO: Account Balance End.
[2025-01-06 21:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:00:06
[end_date_ymd] => 2025-01-06 21:00:06
[RateCDR] => 1
)
[2025-01-06 21:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 18:00:06' and `end` < '2025-01-06 21:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 21:00:06] Production.ERROR: CronJobId end 12
[2025-01-06 21:00:06] Production.INFO: ==27647== Releasing lock...
[2025-01-06 21:00:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:00:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14190165', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) end
[2025-01-06 21:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-06 21:00:08] Production.INFO: ProcessCDR(1,14190165,1,1,2)
[2025-01-06 21:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14190165,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14190165,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:00:09] Production.INFO: ==27651== Releasing lock...
[2025-01-06 21:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-06 21:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-06 21:00:15] Production.ERROR: CronJobId end10
[2025-01-06 21:00:15] Production.INFO: ==27645== Releasing lock...
[2025-01-06 21:00:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:00:15] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:00:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:00:16] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:00:16] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:00:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:00:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:00:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:00:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:00:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:00:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:00:16] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:00:16] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:00:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:00:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:00:16] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:00:16] Production.INFO: call_cost start
[2025-01-06 21:00:16] Production.INFO: call_cost end
[2025-01-06 21:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:00:17] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:00:17] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:00:17] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:00:17] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:00:17] Production.INFO: ==27641== Releasing lock...
[2025-01-06 21:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:00:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:00:19] Production.INFO: count ==1250
[2025-01-06 21:00:19] Production.ERROR: pbx CDR StartTime 2025-01-06 18:00:06 - End Time 2025-01-06 21:00:06
[2025-01-06 21:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190166', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190166', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190166', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190166', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:00:19] Production.INFO: ProcessCDR(1,14190166,1,1,2)
[2025-01-06 21:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190166,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190166,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190166,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190166,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190166', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190166', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:00:22] Production.INFO: ==27649== Releasing lock...
[2025-01-06 21:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:00:22] Production.INFO: 37.75 MB #Memory Used#
[2025-01-07 02:01:01] Production.INFO: ==27738== Lock acquired, processing the job...
[2025-01-07 02:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:01:01] Production.INFO: neon service started
[2025-01-07 02:01:01] Production.INFO: neon service started
[2025-01-07 02:01:01] Production.INFO: ==27738== Releasing lock...
[2025-01-07 02:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 21:01:02] Production.INFO: ==27744== Lock acquired, processing the job...
[2025-01-06 21:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:01:02] Production.INFO: ==27746== Lock acquired, processing the job...
[2025-01-07 02:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:01:02] Production.INFO: ==27746== Releasing lock...
[2025-01-07 02:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:01:02] Production.INFO: ==27744== Releasing lock...
[2025-01-06 21:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 21:01:03] Production.INFO: ==27749== Lock acquired, processing the job...
[2025-01-06 21:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:01:03] Production.INFO: ==27753== Lock acquired, processing the job...
[2025-01-06 21:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:01:03] Production.INFO: ==27755== Lock acquired, processing the job...
[2025-01-06 21:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:01:03] Production.INFO: Account Balance Start.
[2025-01-06 21:01:03] Production.INFO: CreateAllLog Start
[2025-01-06 21:01:03] Production.INFO: 117
[2025-01-06 21:01:03] Production.INFO: Date 2024-12-08
[2025-01-06 21:01:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:01:03] Production.INFO: ==27751== Lock acquired, processing the job...
[2025-01-06 21:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:01:03] Production.INFO: Date 2024-12-09
[2025-01-06 21:01:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:01:03] Production.INFO: Date 2024-12-10
[2025-01-06 21:01:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:01:03] Production.INFO: Date 2024-12-11
[2025-01-06 21:01:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:01:03] Production.INFO: Date 2024-12-12
[2025-01-06 21:01:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:01:03] Production.INFO: ==27757== Lock acquired, processing the job...
[2025-01-06 21:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:01:03] Production.INFO: Date 2024-12-13
[2025-01-06 21:01:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:01:03] Production.INFO: Date 2024-12-14
[2025-01-06 21:01:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:01:03] Production.INFO: ==27759== Lock acquired, processing the job...
[2025-01-06 21:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:01:03] Production.INFO: Date 2024-12-15
[2025-01-06 21:01:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:01:03] Production.INFO: Date 2024-12-16
[2025-01-06 21:01:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:01:03] Production.INFO: Date 2024-12-17
[2025-01-06 21:01:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:01:03] Production.INFO: Date 2024-12-18
[2025-01-06 21:01:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:01:03] Production.INFO: Date 2024-12-19
[2025-01-06 21:01:03] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 21:01:03] Production.INFO: Date 2024-12-20
[2025-01-06 21:01:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:01:03] Production.INFO: count ==21
[2025-01-06 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-06 21:01:04] Production.INFO: count ==21
[2025-01-06 21:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190170') start
[2025-01-06 21:01:04] Production.INFO: ==27751== Releasing lock...
[2025-01-06 21:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:01:04] Production.INFO: Date 2024-12-21
[2025-01-06 21:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:01:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:01:04] Production.ERROR: done
[2025-01-06 21:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:01:04] Production.INFO: Date 2024-12-23
[2025-01-06 21:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190170') end
[2025-01-06 21:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:01:04] Production.INFO: 1
[2025-01-06 21:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:01:04] Production.INFO: Date 2024-12-24
[2025-01-06 21:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:01:04] Production.INFO: ==27759== Releasing lock...
[2025-01-06 21:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:01:04] Production.ERROR: done
[2025-01-06 21:01:04] Production.INFO: Date 2024-12-25
[2025-01-06 21:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:01:04] Production.INFO: Date 2024-12-26
[2025-01-06 21:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:01:04] Production.INFO: Date 2024-12-27
[2025-01-06 21:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:01:04] Production.INFO: Date 2024-12-28
[2025-01-06 21:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:01:04] Production.INFO: Date 2024-12-29
[2025-01-06 21:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:01:04] Production.INFO: Date 2024-12-30
[2025-01-06 21:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:01:05] Production.INFO: Date 2024-12-31
[2025-01-06 21:01:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:01:05] Production.INFO: Date 2025-01-01
[2025-01-06 21:01:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:01:05] Production.INFO: Date 2025-01-02
[2025-01-06 21:01:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:01:05] Production.INFO: Date 2025-01-03
[2025-01-06 21:01:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:01:05] Production.INFO: Date 2025-01-04
[2025-01-06 21:01:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:01:05] Production.INFO: Date 2025-01-05
[2025-01-06 21:01:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:01:05] Production.INFO: Date 2025-01-06
[2025-01-06 21:01:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:01:05] Production.INFO: Total Charge 0
[2025-01-06 21:01:05] Production.INFO: CreateAllLog End
[2025-01-06 21:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:01:05
[end_date_ymd] => 2025-01-06 21:01:05
[RateCDR] => 1
)
[2025-01-06 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-06 18:01:05' and `end` < '2025-01-06 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-06 21:01:05] Production.INFO: Account Balance End.
[2025-01-06 21:01:05] Production.ERROR: CronJobId end 12
[2025-01-06 21:01:05] Production.INFO: ==27755== Releasing lock...
[2025-01-06 21:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:01:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:01:13] Production.ERROR: CronJobId end10
[2025-01-06 21:01:13] Production.INFO: ==27753== Releasing lock...
[2025-01-06 21:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:01:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:01:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:01:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:01:15] Production.INFO: call_cost start
[2025-01-06 21:01:15] Production.INFO: call_cost end
[2025-01-06 21:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:01:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:01:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:01:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:01:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:01:15] Production.INFO: ==27749== Releasing lock...
[2025-01-06 21:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:01:18] Production.INFO: count ==1225
[2025-01-06 21:01:18] Production.ERROR: pbx CDR StartTime 2025-01-06 18:01:05 - End Time 2025-01-06 21:01:05
[2025-01-06 21:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190171', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190171', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190171', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190171', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:01:18] Production.INFO: ProcessCDR(1,14190171,1,1,2)
[2025-01-06 21:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190171,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190171,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190171,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190171,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190171', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190171', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:01:22] Production.INFO: ==27757== Releasing lock...
[2025-01-06 21:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:01:22] Production.INFO: 37.75 MB #Memory Used#
[2025-01-07 02:02:02] Production.INFO: ==27842== Lock acquired, processing the job...
[2025-01-07 02:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:02:02] Production.INFO: neon service started
[2025-01-07 02:02:02] Production.INFO: neon service started
[2025-01-07 02:02:02] Production.INFO: ==27842== Releasing lock...
[2025-01-07 02:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 21:02:02] Production.INFO: ==27844== Lock acquired, processing the job...
[2025-01-06 21:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 21:02:02] Production.INFO: ==27844== Releasing lock...
[2025-01-06 21:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:02:02] Production.INFO: ==27846== Lock acquired, processing the job...
[2025-01-07 02:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:02:02] Production.INFO: ==27846== Releasing lock...
[2025-01-07 02:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:02:03] Production.INFO: ==27848== Lock acquired, processing the job...
[2025-01-06 21:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:02:03] Production.INFO: ==27854== Lock acquired, processing the job...
[2025-01-06 21:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:02:03] Production.INFO: ==27858== Lock acquired, processing the job...
[2025-01-06 21:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:02:03] Production.INFO: Account Balance Start.
[2025-01-06 21:02:03] Production.INFO: CreateAllLog Start
[2025-01-06 21:02:03] Production.INFO: 117
[2025-01-06 21:02:03] Production.INFO: Date 2024-12-08
[2025-01-06 21:02:03] Production.INFO: ==27850== Lock acquired, processing the job...
[2025-01-06 21:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:02:03] Production.INFO: ==27852== Lock acquired, processing the job...
[2025-01-06 21:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:02:03] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 21:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:02:03] Production.INFO: Date 2024-12-09
[2025-01-06 21:02:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:02:03] Production.INFO: ==27856== Lock acquired, processing the job...
[2025-01-06 21:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:02:03] Production.INFO: count ==21
[2025-01-06 21:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 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-06 21:02:03] Production.INFO: count ==21
[2025-01-06 21:02:03] Production.INFO: Date 2024-12-10
[2025-01-06 21:02:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190174') start
[2025-01-06 21:02:03] Production.INFO: Date 2024-12-11
[2025-01-06 21:02:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190174') end
[2025-01-06 21:02:04] Production.INFO: Date 2024-12-12
[2025-01-06 21:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:02:04] Production.INFO: 1
[2025-01-06 21:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:02:04] Production.INFO: Date 2024-12-13
[2025-01-06 21:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:02:04] Production.INFO: Date 2024-12-14
[2025-01-06 21:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:02:04] Production.INFO: ==27858== Releasing lock...
[2025-01-06 21:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:02:04] Production.ERROR: done
[2025-01-06 21:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:02:04] Production.INFO: ==27850== Releasing lock...
[2025-01-06 21:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:02:04] Production.ERROR: done
[2025-01-06 21:02:04] Production.INFO: Date 2024-12-15
[2025-01-06 21:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:02:04] Production.INFO: Date 2024-12-16
[2025-01-06 21:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:02:04] Production.INFO: Date 2024-12-17
[2025-01-06 21:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:02:04] Production.INFO: Date 2024-12-18
[2025-01-06 21:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:02:04] Production.INFO: Date 2024-12-19
[2025-01-06 21:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:02:04] Production.INFO: Date 2024-12-20
[2025-01-06 21:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:02:04] Production.INFO: Date 2024-12-21
[2025-01-06 21:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:02:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:02:05] Production.INFO: Date 2024-12-23
[2025-01-06 21:02:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:02:05] Production.INFO: Date 2024-12-24
[2025-01-06 21:02:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:02:05] Production.INFO: Date 2024-12-25
[2025-01-06 21:02:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:02:05] Production.INFO: Date 2024-12-26
[2025-01-06 21:02:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:02:05] Production.INFO: Date 2024-12-27
[2025-01-06 21:02:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:02:05] Production.INFO: Date 2024-12-28
[2025-01-06 21:02:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:02:05] Production.INFO: Date 2024-12-29
[2025-01-06 21:02:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:02:05] Production.INFO: Date 2024-12-30
[2025-01-06 21:02:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:02:05] Production.INFO: Date 2024-12-31
[2025-01-06 21:02:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:02:05] Production.INFO: Date 2025-01-01
[2025-01-06 21:02:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:02:05] Production.INFO: Date 2025-01-02
[2025-01-06 21:02:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:02:05] Production.INFO: Date 2025-01-03
[2025-01-06 21:02:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:02:05] Production.INFO: Date 2025-01-04
[2025-01-06 21:02:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:02:05] Production.INFO: Date 2025-01-05
[2025-01-06 21:02:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:02:05] Production.INFO: Date 2025-01-06
[2025-01-06 21:02:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:02:05] Production.INFO: Total Charge 0
[2025-01-06 21:02:05] Production.INFO: CreateAllLog End
[2025-01-06 21:02:05] Production.INFO: Account Balance End.
[2025-01-06 21:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:02:05
[end_date_ymd] => 2025-01-06 21:02:05
[RateCDR] => 1
)
[2025-01-06 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-06 18:02:05' and `end` < '2025-01-06 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-06 21:02:05] Production.ERROR: CronJobId end 12
[2025-01-06 21:02:05] Production.INFO: ==27854== Releasing lock...
[2025-01-06 21:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:02:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:02:13] Production.ERROR: CronJobId end10
[2025-01-06 21:02:13] Production.INFO: ==27852== Releasing lock...
[2025-01-06 21:02:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:02:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:02:14] Production.INFO: call_cost start
[2025-01-06 21:02:14] Production.INFO: call_cost end
[2025-01-06 21:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:02:14] Production.INFO: ==27848== Releasing lock...
[2025-01-06 21:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:02:18] Production.INFO: count ==1221
[2025-01-06 21:02:19] Production.ERROR: pbx CDR StartTime 2025-01-06 18:02:05 - End Time 2025-01-06 21:02:05
[2025-01-06 21:02:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190176', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190176', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190176', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190176', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:02:19] Production.INFO: ProcessCDR(1,14190176,1,1,2)
[2025-01-06 21:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190176,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190176,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190176,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190176,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190176', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190176', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:02:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:02:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:02:22] Production.INFO: ==27856== Releasing lock...
[2025-01-06 21:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:02:22] Production.INFO: 37.75 MB #Memory Used#
[2025-01-07 02:03:01] Production.INFO: ==27934== Lock acquired, processing the job...
[2025-01-07 02:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:03:01] Production.INFO: neon service started
[2025-01-07 02:03:01] Production.INFO: neon service started
[2025-01-07 02:03:01] Production.INFO: ==27934== Releasing lock...
[2025-01-07 02:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 21:03:01] Production.INFO: ==27936== Lock acquired, processing the job...
[2025-01-06 21:03:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 21:03:02] Production.INFO: ==27936== Releasing lock...
[2025-01-06 21:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:03:02] Production.INFO: ==27938== Lock acquired, processing the job...
[2025-01-07 02:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:03:02] Production.INFO: ==27938== Releasing lock...
[2025-01-07 02:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:03:02] Production.INFO: ==27948== Lock acquired, processing the job...
[2025-01-06 21:03:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:03:02] Production.INFO: Account Balance Start.
[2025-01-06 21:03:02] Production.INFO: CreateAllLog Start
[2025-01-06 21:03:02] Production.INFO: 117
[2025-01-06 21:03:02] Production.INFO: Date 2024-12-08
[2025-01-06 21:03:02] Production.INFO: Reseller ==> 0
[2025-01-06 21:03:02] Production.INFO: Date 2024-12-09
[2025-01-06 21:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:03:03] Production.INFO: Date 2024-12-10
[2025-01-06 21:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:03:03] Production.INFO: Date 2024-12-11
[2025-01-06 21:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:03:03] Production.INFO: Date 2024-12-12
[2025-01-06 21:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:03:03] Production.INFO: ==27942== Lock acquired, processing the job...
[2025-01-06 21:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:03:03] Production.INFO: Date 2024-12-13
[2025-01-06 21:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:03:03] Production.INFO: ==27944== Lock acquired, processing the job...
[2025-01-06 21:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:03:03] Production.INFO: Date 2024-12-14
[2025-01-06 21:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:03:03] Production.INFO: ==27946== Lock acquired, processing the job...
[2025-01-06 21:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:03:03] Production.INFO: Date 2024-12-15
[2025-01-06 21:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:03:03] Production.INFO: Date 2024-12-16
[2025-01-06 21:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:03:03] Production.INFO: ==27950== Lock acquired, processing the job...
[2025-01-06 21:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:03:03] Production.INFO: Date 2024-12-17
[2025-01-06 21:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:03:03] Production.INFO: Date 2024-12-18
[2025-01-06 21:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:03:03] Production.INFO: Date 2024-12-19
[2025-01-06 21:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:03:03] Production.INFO: ==27952== Lock acquired, processing the job...
[2025-01-06 21:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:03:03] Production.INFO: Date 2024-12-20
[2025-01-06 21:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:03:03] Production.INFO: ==27944== Releasing lock...
[2025-01-06 21:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:03:03] Production.INFO: Date 2024-12-21
[2025-01-06 21:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:03:03] Production.INFO: Date 2024-12-22
[2025-01-06 21:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:03:03] Production.INFO: count ==21
[2025-01-06 21:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:03:03] Production.INFO: count ==21
[2025-01-06 21:03:03] Production.INFO: Date 2024-12-23
[2025-01-06 21:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190180') start
[2025-01-06 21:03:03] Production.ERROR: done
[2025-01-06 21:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:03:03] Production.INFO: Date 2024-12-24
[2025-01-06 21:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190180') end
[2025-01-06 21:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:03:03] Production.INFO: 1
[2025-01-06 21:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:03:03] Production.INFO: Date 2024-12-25
[2025-01-06 21:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:03:03] Production.INFO: ==27952== Releasing lock...
[2025-01-06 21:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:03:04] Production.ERROR: done
[2025-01-06 21:03:04] Production.INFO: Date 2024-12-26
[2025-01-06 21:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:03:04] Production.INFO: Date 2024-12-27
[2025-01-06 21:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:03:04] Production.INFO: Date 2024-12-28
[2025-01-06 21:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:03:04] Production.INFO: Date 2024-12-29
[2025-01-06 21:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:03:04] Production.INFO: Date 2024-12-30
[2025-01-06 21:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:03:04] Production.INFO: Date 2024-12-31
[2025-01-06 21:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:03:04] Production.INFO: Date 2025-01-01
[2025-01-06 21:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:03:05] Production.INFO: Date 2025-01-02
[2025-01-06 21:03:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:03:05] Production.INFO: Date 2025-01-03
[2025-01-06 21:03:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:03:05
[end_date_ymd] => 2025-01-06 21:03:05
[RateCDR] => 1
)
[2025-01-06 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-06 18:03:05' and `end` < '2025-01-06 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-06 21:03:05] Production.INFO: Date 2025-01-04
[2025-01-06 21:03:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:03:05] Production.INFO: Date 2025-01-05
[2025-01-06 21:03:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:03:05] Production.INFO: Date 2025-01-06
[2025-01-06 21:03:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:03:05] Production.INFO: Total Charge 0
[2025-01-06 21:03:05] Production.INFO: CreateAllLog End
[2025-01-06 21:03:05] Production.INFO: Account Balance End.
[2025-01-06 21:03:05] Production.ERROR: CronJobId end 12
[2025-01-06 21:03:05] Production.INFO: ==27948== Releasing lock...
[2025-01-06 21:03:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:03:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:03:11] Production.ERROR: CronJobId end10
[2025-01-06 21:03:11] Production.INFO: ==27946== Releasing lock...
[2025-01-06 21:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:03:13] Production.INFO: call_cost start
[2025-01-06 21:03:13] Production.INFO: call_cost end
[2025-01-06 21:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:03:14] Production.INFO: ==27942== Releasing lock...
[2025-01-06 21:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:03:18] Production.INFO: count ==1220
[2025-01-06 21:03:18] Production.ERROR: pbx CDR StartTime 2025-01-06 18:03:05 - End Time 2025-01-06 21:03:05
[2025-01-06 21:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190181', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190181', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190181', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190181', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:03:18] Production.INFO: ProcessCDR(1,14190181,1,1,2)
[2025-01-06 21:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190181,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190181,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190181,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190181,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190181', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190181', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:03:21] Production.INFO: ==27950== Releasing lock...
[2025-01-06 21:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:03:21] Production.INFO: 37.5 MB #Memory Used#
[2025-01-07 02:04:01] Production.INFO: ==28031== Lock acquired, processing the job...
[2025-01-07 02:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:04:01] Production.INFO: neon service started
[2025-01-07 02:04:01] Production.INFO: neon service started
[2025-01-07 02:04:01] Production.INFO: ==28031== Releasing lock...
[2025-01-07 02:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:04:02] Production.INFO: ==28035== Lock acquired, processing the job...
[2025-01-07 02:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:04:02] Production.INFO: ==28035== Releasing lock...
[2025-01-07 02:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:04:02] Production.INFO: ==28033== Lock acquired, processing the job...
[2025-01-06 21:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 21:04:02] Production.INFO: ==28033== Releasing lock...
[2025-01-06 21:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 21:04:03] Production.INFO: ==28039== Lock acquired, processing the job...
[2025-01-06 21:04:03] Production.INFO: ==28037== Lock acquired, processing the job...
[2025-01-06 21:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:04:03] Production.INFO: ==28043== Lock acquired, processing the job...
[2025-01-06 21:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:04:03] Production.INFO: ==28041== Lock acquired, processing the job...
[2025-01-06 21:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:04:03] Production.INFO: Account Balance Start.
[2025-01-06 21:04:03] Production.INFO: CreateAllLog Start
[2025-01-06 21:04:03] Production.INFO: 117
[2025-01-06 21:04:03] Production.INFO: Date 2024-12-08
[2025-01-06 21:04:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:04:03] Production.INFO: Date 2024-12-09
[2025-01-06 21:04:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:04:03] Production.INFO: Date 2024-12-10
[2025-01-06 21:04:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:04:03] Production.INFO: ==28045== Lock acquired, processing the job...
[2025-01-06 21:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:04:03] Production.INFO: Date 2024-12-11
[2025-01-06 21:04:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:04:03] Production.INFO: ==28039== Releasing lock...
[2025-01-06 21:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:04:03] Production.INFO: Date 2024-12-12
[2025-01-06 21:04:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:04:03] Production.INFO: Date 2024-12-13
[2025-01-06 21:04:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:04:03] Production.INFO: Date 2024-12-14
[2025-01-06 21:04:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:04:03] Production.INFO: ==28047== Lock acquired, processing the job...
[2025-01-06 21:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:04:03] Production.INFO: Date 2024-12-15
[2025-01-06 21:04:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:04:03] Production.INFO: Date 2024-12-16
[2025-01-06 21:04:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:04:04] Production.INFO: Date 2024-12-17
[2025-01-06 21:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:04:04] Production.INFO: Date 2024-12-18
[2025-01-06 21:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:04:04] Production.INFO: Date 2024-12-19
[2025-01-06 21:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:04:04] Production.INFO: count ==21
[2025-01-06 21:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:04:04] Production.INFO: Date 2024-12-20
[2025-01-06 21:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:04:04] Production.INFO: count ==21
[2025-01-06 21:04:04] Production.INFO: Date 2024-12-21
[2025-01-06 21:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:04:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190185') start
[2025-01-06 21:04:04] Production.ERROR: done
[2025-01-06 21:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190185') end
[2025-01-06 21:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:04:04] Production.INFO: 1
[2025-01-06 21:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:04:04] Production.INFO: ==28047== Releasing lock...
[2025-01-06 21:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:04:04] Production.INFO: Date 2024-12-23
[2025-01-06 21:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:04:04] Production.ERROR: done
[2025-01-06 21:04:04] Production.INFO: Date 2024-12-24
[2025-01-06 21:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:04:04] Production.INFO: Date 2024-12-25
[2025-01-06 21:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:04:04] Production.INFO: Date 2024-12-26
[2025-01-06 21:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:04:04] Production.INFO: Date 2024-12-27
[2025-01-06 21:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:04:04] Production.INFO: Date 2024-12-28
[2025-01-06 21:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:04:04] Production.INFO: Date 2024-12-29
[2025-01-06 21:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:04:04] Production.INFO: Date 2024-12-30
[2025-01-06 21:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:04:04] Production.INFO: Date 2024-12-31
[2025-01-06 21:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:04:04] Production.INFO: Date 2025-01-01
[2025-01-06 21:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:04:04] Production.INFO: Date 2025-01-02
[2025-01-06 21:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:04:04] Production.INFO: Date 2025-01-03
[2025-01-06 21:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:04:04] Production.INFO: Date 2025-01-04
[2025-01-06 21:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:04:04] Production.INFO: Date 2025-01-05
[2025-01-06 21:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:04:04] Production.INFO: Date 2025-01-06
[2025-01-06 21:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:04:04] Production.INFO: Total Charge 0
[2025-01-06 21:04:04] Production.INFO: CreateAllLog End
[2025-01-06 21:04:05] Production.INFO: Account Balance End.
[2025-01-06 21:04:05] Production.ERROR: CronJobId end 12
[2025-01-06 21:04:05] Production.INFO: ==28043== Releasing lock...
[2025-01-06 21:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:04:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:04:05
[end_date_ymd] => 2025-01-06 21:04:05
[RateCDR] => 1
)
[2025-01-06 21:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 18:04:05' and `end` < '2025-01-06 21:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 21:04:12] Production.ERROR: CronJobId end10
[2025-01-06 21:04:12] Production.INFO: ==28041== Releasing lock...
[2025-01-06 21:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:04:13] Production.INFO: call_cost start
[2025-01-06 21:04:13] Production.INFO: call_cost end
[2025-01-06 21:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:04:14] Production.INFO: ==28037== Releasing lock...
[2025-01-06 21:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:04:18] Production.INFO: count ==1211
[2025-01-06 21:04:18] Production.ERROR: pbx CDR StartTime 2025-01-06 18:04:05 - End Time 2025-01-06 21:04:05
[2025-01-06 21:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190186', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190186', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190186', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190186', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:04:18] Production.INFO: ProcessCDR(1,14190186,1,1,2)
[2025-01-06 21:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190186,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190186,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190186,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:04:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190186,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190186', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190186', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:04:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:04:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:04:23] Production.INFO: ==28045== Releasing lock...
[2025-01-06 21:04:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:04:23] Production.INFO: 38 MB #Memory Used#
[2025-01-07 02:05:02] Production.INFO: ==28122== Lock acquired, processing the job...
[2025-01-07 02:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:05:02] Production.INFO: neon service started
[2025-01-07 02:05:02] Production.INFO: neon service started
[2025-01-07 02:05:02] Production.INFO: ==28122== Releasing lock...
[2025-01-07 02:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 21:05:02] Production.INFO: ==28124== Lock acquired, processing the job...
[2025-01-06 21:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 21:05:02] Production.INFO: ==28124== Releasing lock...
[2025-01-06 21:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:05:02] Production.INFO: ==28126== Lock acquired, processing the job...
[2025-01-07 02:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:05:03] Production.INFO: ==28126== Releasing lock...
[2025-01-07 02:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:05:03] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:05:03] Production.INFO: ==28136== Lock acquired, processing the job...
[2025-01-06 21:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:05:03] Production.INFO: ==28140== Lock acquired, processing the job...
[2025-01-06 21:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:05:03] Production.INFO: Account Balance Start.
[2025-01-06 21:05:03] Production.INFO: CreateAllLog Start
[2025-01-06 21:05:03] Production.INFO: 117
[2025-01-06 21:05:03] Production.INFO: Date 2024-12-08
[2025-01-06 21:05:03] Production.INFO: ==28130== Lock acquired, processing the job...
[2025-01-06 21:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:05:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:05:03] Production.INFO: ==28132== Lock acquired, processing the job...
[2025-01-06 21:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:05:03] Production.INFO: ==28134== Lock acquired, processing the job...
[2025-01-06 21:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:05:03] Production.INFO: Date 2024-12-09
[2025-01-06 21:05:03] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 21:05:03] Production.INFO: Date 2024-12-10
[2025-01-06 21:05:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:05:03] Production.INFO: count ==21
[2025-01-06 21:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 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-06 21:05:03] Production.INFO: count ==21
[2025-01-06 21:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190188') start
[2025-01-06 21:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:05:04] Production.INFO: ==28138== Lock acquired, processing the job...
[2025-01-06 21:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:05:04] Production.INFO: Date 2024-12-11
[2025-01-06 21:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190188') end
[2025-01-06 21:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:05:04] Production.INFO: 1
[2025-01-06 21:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:05:04] Production.INFO: Date 2024-12-12
[2025-01-06 21:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:05:04] Production.INFO: ==28140== Releasing lock...
[2025-01-06 21:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:05:04] Production.INFO: ==28132== Releasing lock...
[2025-01-06 21:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:05:04] Production.ERROR: done
[2025-01-06 21:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:05:04] Production.INFO: Date 2024-12-13
[2025-01-06 21:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:05:04] Production.INFO: Date 2024-12-14
[2025-01-06 21:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:05:04] Production.INFO: Date 2024-12-15
[2025-01-06 21:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:05:04] Production.ERROR: done
[2025-01-06 21:05:04] Production.INFO: Date 2024-12-16
[2025-01-06 21:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:05:04] Production.INFO: Date 2024-12-17
[2025-01-06 21:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:05:04] Production.INFO: Date 2024-12-18
[2025-01-06 21:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:05:04] Production.INFO: Date 2024-12-19
[2025-01-06 21:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:05:04] Production.INFO: Date 2024-12-20
[2025-01-06 21:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:05:04] Production.INFO: Date 2024-12-21
[2025-01-06 21:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:05:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:05:04] Production.INFO: Date 2024-12-23
[2025-01-06 21:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:05:05] Production.INFO: Date 2024-12-24
[2025-01-06 21:05:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:05:05] Production.INFO: Date 2024-12-25
[2025-01-06 21:05:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:05:05] Production.INFO: Date 2024-12-26
[2025-01-06 21:05:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:05:05] Production.INFO: Date 2024-12-27
[2025-01-06 21:05:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:05:05] Production.INFO: Date 2024-12-28
[2025-01-06 21:05:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:05:05] Production.INFO: Date 2024-12-29
[2025-01-06 21:05:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:05:05] Production.INFO: Date 2024-12-30
[2025-01-06 21:05:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:05:05] Production.INFO: Date 2024-12-31
[2025-01-06 21:05:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:05:05] Production.INFO: Date 2025-01-01
[2025-01-06 21:05:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:05:05] Production.INFO: Date 2025-01-02
[2025-01-06 21:05:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:05:05] Production.INFO: Date 2025-01-03
[2025-01-06 21:05:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:05:05
[end_date_ymd] => 2025-01-06 21:05:05
[RateCDR] => 1
)
[2025-01-06 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-06 18:05:05' and `end` < '2025-01-06 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-06 21:05:05] Production.INFO: Date 2025-01-04
[2025-01-06 21:05:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:05:05] Production.INFO: Date 2025-01-05
[2025-01-06 21:05:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:05:05] Production.INFO: Date 2025-01-06
[2025-01-06 21:05:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:05:05] Production.INFO: Total Charge 0
[2025-01-06 21:05:05] Production.INFO: CreateAllLog End
[2025-01-06 21:05:05] Production.INFO: Account Balance End.
[2025-01-06 21:05:05] Production.ERROR: CronJobId end 12
[2025-01-06 21:05:05] Production.INFO: ==28136== Releasing lock...
[2025-01-06 21:05:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:05:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:05:12] Production.ERROR: CronJobId end10
[2025-01-06 21:05:12] Production.INFO: ==28134== Releasing lock...
[2025-01-06 21:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:05:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:05:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:05:14] Production.INFO: call_cost start
[2025-01-06 21:05:14] Production.INFO: call_cost end
[2025-01-06 21:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:05:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:05:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:05:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:05:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:05:15] Production.INFO: ==28130== Releasing lock...
[2025-01-06 21:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:05:18] Production.INFO: count ==1186
[2025-01-06 21:05:19] Production.ERROR: pbx CDR StartTime 2025-01-06 18:05:05 - End Time 2025-01-06 21:05:05
[2025-01-06 21:05:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190191', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190191', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190191', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190191', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:05:19] Production.INFO: ProcessCDR(1,14190191,1,1,2)
[2025-01-06 21:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190191,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:05:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190191,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:05:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190191,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190191,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190191', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190191', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:05:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:05:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:05:22] Production.INFO: ==28138== Releasing lock...
[2025-01-06 21:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:05:22] Production.INFO: 37.25 MB #Memory Used#
[2025-01-07 02:06:01] Production.INFO: ==28218== Lock acquired, processing the job...
[2025-01-07 02:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:06:01] Production.INFO: neon service started
[2025-01-07 02:06:01] Production.INFO: neon service started
[2025-01-07 02:06:01] Production.INFO: ==28218== Releasing lock...
[2025-01-07 02:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 21:06:02] Production.INFO: ==28220== Lock acquired, processing the job...
[2025-01-06 21:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 21:06:02] Production.INFO: ==28220== Releasing lock...
[2025-01-06 21:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:06:02] Production.INFO: ==28223== Lock acquired, processing the job...
[2025-01-07 02:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:06:02] Production.INFO: ==28223== Releasing lock...
[2025-01-07 02:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:06:03] Production.INFO: ==28225== Lock acquired, processing the job...
[2025-01-06 21:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:06:03] Production.INFO: ==28229== Lock acquired, processing the job...
[2025-01-06 21:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:06:03] Production.INFO: ==28233== Lock acquired, processing the job...
[2025-01-06 21:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:06:03] Production.INFO: ==28227== Lock acquired, processing the job...
[2025-01-06 21:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:06:03] Production.INFO: ==28231== Lock acquired, processing the job...
[2025-01-06 21:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:06:03] Production.INFO: ==28235== Lock acquired, processing the job...
[2025-01-06 21:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:06:03] Production.INFO: Account Balance Start.
[2025-01-06 21:06:03] Production.INFO: CreateAllLog Start
[2025-01-06 21:06:03] Production.INFO: 117
[2025-01-06 21:06:03] Production.INFO: Date 2024-12-08
[2025-01-06 21:06:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:06:03] Production.INFO: Date 2024-12-09
[2025-01-06 21:06:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:06:03] Production.INFO: Date 2024-12-10
[2025-01-06 21:06:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:06:03] Production.INFO: Date 2024-12-11
[2025-01-06 21:06:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:06:03] Production.INFO: Date 2024-12-12
[2025-01-06 21:06:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:06:03] Production.INFO: Date 2024-12-13
[2025-01-06 21:06:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:06:03] Production.INFO: Date 2024-12-14
[2025-01-06 21:06:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:06:03] Production.INFO: count ==21
[2025-01-06 21:06:03] Production.INFO: Date 2024-12-15
[2025-01-06 21:06:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:06:03] Production.INFO: count ==21
[2025-01-06 21:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190195') start
[2025-01-06 21:06:03] Production.INFO: ==28227== Releasing lock...
[2025-01-06 21:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:06:03] Production.INFO: Date 2024-12-16
[2025-01-06 21:06:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:06:03] Production.ERROR: done
[2025-01-06 21:06:04] Production.INFO: Date 2024-12-17
[2025-01-06 21:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190195') end
[2025-01-06 21:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:06:04] Production.INFO: 1
[2025-01-06 21:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:06:04] Production.INFO: Date 2024-12-18
[2025-01-06 21:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:06:04] Production.INFO: Date 2024-12-19
[2025-01-06 21:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:06:04] Production.INFO: ==28235== Releasing lock...
[2025-01-06 21:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:06:04] Production.INFO: Date 2024-12-20
[2025-01-06 21:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:06:04] Production.ERROR: done
[2025-01-06 21:06:04] Production.INFO: Date 2024-12-21
[2025-01-06 21:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:06:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:06:04] Production.INFO: Date 2024-12-23
[2025-01-06 21:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:06:04] Production.INFO: Date 2024-12-24
[2025-01-06 21:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:06:04] Production.INFO: Date 2024-12-25
[2025-01-06 21:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:06:04] Production.INFO: Date 2024-12-26
[2025-01-06 21:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:06:04] Production.INFO: Date 2024-12-27
[2025-01-06 21:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:06:04] Production.INFO: Date 2024-12-28
[2025-01-06 21:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:06:04] Production.INFO: Date 2024-12-29
[2025-01-06 21:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:06:04] Production.INFO: Date 2024-12-30
[2025-01-06 21:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:06:04] Production.INFO: Date 2024-12-31
[2025-01-06 21:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:06:04] Production.INFO: Date 2025-01-01
[2025-01-06 21:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:06:04] Production.INFO: Date 2025-01-02
[2025-01-06 21:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:06:04] Production.INFO: Date 2025-01-03
[2025-01-06 21:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:06:04] Production.INFO: Date 2025-01-04
[2025-01-06 21:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:06:04] Production.INFO: Date 2025-01-05
[2025-01-06 21:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:06:04] Production.INFO: Date 2025-01-06
[2025-01-06 21:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:06:04] Production.INFO: Total Charge 0
[2025-01-06 21:06:04] Production.INFO: CreateAllLog End
[2025-01-06 21:06:04] Production.INFO: Account Balance End.
[2025-01-06 21:06:04] Production.ERROR: CronJobId end 12
[2025-01-06 21:06:04] Production.INFO: ==28231== Releasing lock...
[2025-01-06 21:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:06:05
[end_date_ymd] => 2025-01-06 21:06:05
[RateCDR] => 1
)
[2025-01-06 21:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 18:06:05' and `end` < '2025-01-06 21:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 21:06:11] Production.ERROR: CronJobId end10
[2025-01-06 21:06:11] Production.INFO: ==28229== Releasing lock...
[2025-01-06 21:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:06:13] Production.INFO: call_cost start
[2025-01-06 21:06:13] Production.INFO: call_cost end
[2025-01-06 21:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:06:14] Production.INFO: ==28225== Releasing lock...
[2025-01-06 21:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:06:18] Production.INFO: count ==1183
[2025-01-06 21:06:19] Production.ERROR: pbx CDR StartTime 2025-01-06 18:06:05 - End Time 2025-01-06 21:06:05
[2025-01-06 21:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190196', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190196', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190196', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190196', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:06:19] Production.INFO: ProcessCDR(1,14190196,1,1,2)
[2025-01-06 21:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190196,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190196,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190196,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190196,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190196', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190196', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:06:22] Production.INFO: ==28233== Releasing lock...
[2025-01-06 21:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:06:22] Production.INFO: 37.25 MB #Memory Used#
[2025-01-07 02:07:02] Production.INFO: ==28310== Lock acquired, processing the job...
[2025-01-07 02:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:07:02] Production.INFO: neon service started
[2025-01-07 02:07:02] Production.INFO: neon service started
[2025-01-07 02:07:02] Production.INFO: ==28310== Releasing lock...
[2025-01-07 02:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 21:07:02] Production.INFO: ==28312== Lock acquired, processing the job...
[2025-01-06 21:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:07:02] Production.INFO: ==28314== Lock acquired, processing the job...
[2025-01-07 02:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:07:02] Production.INFO: ==28314== Releasing lock...
[2025-01-07 02:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:07:02] Production.INFO: ==28312== Releasing lock...
[2025-01-06 21:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 21:07:03] Production.INFO: ==28318== Lock acquired, processing the job...
[2025-01-06 21:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:07:03] Production.INFO: ==28326== Lock acquired, processing the job...
[2025-01-06 21:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:07:03] Production.INFO: ==28320== Lock acquired, processing the job...
[2025-01-06 21:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:07:03] Production.INFO: ==28324== Lock acquired, processing the job...
[2025-01-06 21:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:07:03] Production.INFO: ==28322== Lock acquired, processing the job...
[2025-01-06 21:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:07:03] Production.INFO: ==28328== Lock acquired, processing the job...
[2025-01-06 21:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:07:03] Production.INFO: Account Balance Start.
[2025-01-06 21:07:03] Production.INFO: CreateAllLog Start
[2025-01-06 21:07:03] Production.INFO: 117
[2025-01-06 21:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:07:03] Production.INFO: Date 2024-12-08
[2025-01-06 21:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:07:04] Production.INFO: count ==21
[2025-01-06 21:07:04] Production.INFO: Date 2024-12-09
[2025-01-06 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-06 21:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:07:04] Production.INFO: count ==21
[2025-01-06 21:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190200') start
[2025-01-06 21:07:04] Production.INFO: Date 2024-12-10
[2025-01-06 21:07:04] Production.ERROR: done
[2025-01-06 21:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:07:04] Production.INFO: Date 2024-12-11
[2025-01-06 21:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:07:04] Production.INFO: ==28320== Releasing lock...
[2025-01-06 21:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190200') end
[2025-01-06 21:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:07:04] Production.INFO: 1
[2025-01-06 21:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:07:04] Production.INFO: Date 2024-12-12
[2025-01-06 21:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:07:04] Production.INFO: Date 2024-12-13
[2025-01-06 21:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:07:04] Production.INFO: ==28328== Releasing lock...
[2025-01-06 21:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:07:04] Production.INFO: Date 2024-12-14
[2025-01-06 21:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:07:04] Production.INFO: Date 2024-12-15
[2025-01-06 21:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:07:04] Production.ERROR: done
[2025-01-06 21:07:04] Production.INFO: Date 2024-12-16
[2025-01-06 21:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:07:04] Production.INFO: Date 2024-12-17
[2025-01-06 21:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:07:04] Production.INFO: Date 2024-12-18
[2025-01-06 21:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:07:04] Production.INFO: Date 2024-12-19
[2025-01-06 21:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:07:04] Production.INFO: Date 2024-12-20
[2025-01-06 21:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:07:04] Production.INFO: Date 2024-12-21
[2025-01-06 21:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:07:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:07:04] Production.INFO: Date 2024-12-23
[2025-01-06 21:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:07:04] Production.INFO: Date 2024-12-24
[2025-01-06 21:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:07:04] Production.INFO: Date 2024-12-25
[2025-01-06 21:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:07:04] Production.INFO: Date 2024-12-26
[2025-01-06 21:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:07:04] Production.INFO: Date 2024-12-27
[2025-01-06 21:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:07:04] Production.INFO: Date 2024-12-28
[2025-01-06 21:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:07:04] Production.INFO: Date 2024-12-29
[2025-01-06 21:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:07:05] Production.INFO: Date 2024-12-30
[2025-01-06 21:07:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:07:05] Production.INFO: Date 2024-12-31
[2025-01-06 21:07:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:07:05] Production.INFO: Date 2025-01-01
[2025-01-06 21:07:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:07:05] Production.INFO: Date 2025-01-02
[2025-01-06 21:07:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:07:05] Production.INFO: Date 2025-01-03
[2025-01-06 21:07:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:07:05] Production.INFO: Date 2025-01-04
[2025-01-06 21:07:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:07:05] Production.INFO: Date 2025-01-05
[2025-01-06 21:07:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:07:05] Production.INFO: Date 2025-01-06
[2025-01-06 21:07:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:07:05] Production.INFO: Total Charge 0
[2025-01-06 21:07:05] Production.INFO: CreateAllLog End
[2025-01-06 21:07:05] Production.INFO: Account Balance End.
[2025-01-06 21:07:05] Production.ERROR: CronJobId end 12
[2025-01-06 21:07:05] Production.INFO: ==28324== Releasing lock...
[2025-01-06 21:07:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:07:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:07:05
[end_date_ymd] => 2025-01-06 21:07:05
[RateCDR] => 1
)
[2025-01-06 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-06 18:07:05' and `end` < '2025-01-06 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-06 21:07:12] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:362
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(362): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_update...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(363): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#4 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->statement()
#5 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::getOutstandingAmount()
#6 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_updateSOAOffSet(1,0))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(363): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#2 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->statement()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::getOutstandingAmount()
#4 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#7 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 {main}
[2025-01-06 21:07:12] Production.ERROR: CronJobId end10
[2025-01-06 21:07:12] Production.INFO: ==28322== Releasing lock...
[2025-01-06 21:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:07:13] Production.INFO: call_cost start
[2025-01-06 21:07:13] Production.INFO: call_cost end
[2025-01-06 21:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:07:14] Production.INFO: ==28318== Releasing lock...
[2025-01-06 21:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:07:18] Production.INFO: count ==1177
[2025-01-06 21:07:18] Production.ERROR: pbx CDR StartTime 2025-01-06 18:07:05 - End Time 2025-01-06 21:07:05
[2025-01-06 21:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190201', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190201', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190201', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190201', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:07:18] Production.INFO: ProcessCDR(1,14190201,1,1,2)
[2025-01-06 21:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190201,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190201,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190201,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190201,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190201', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190201', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:07:21] Production.INFO: ==28326== Releasing lock...
[2025-01-06 21:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:07:21] Production.INFO: 37 MB #Memory Used#
[2025-01-07 02:08:01] Production.INFO: ==28405== Lock acquired, processing the job...
[2025-01-07 02:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:08:01] Production.INFO: neon service started
[2025-01-07 02:08:01] Production.INFO: neon service started
[2025-01-07 02:08:01] Production.INFO: ==28405== Releasing lock...
[2025-01-07 02:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 21:08:02] Production.INFO: ==28407== Lock acquired, processing the job...
[2025-01-06 21:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 21:08:02] Production.INFO: ==28407== Releasing lock...
[2025-01-06 21:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:08:02] Production.INFO: ==28409== Lock acquired, processing the job...
[2025-01-07 02:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:08:02] Production.INFO: ==28409== Releasing lock...
[2025-01-07 02:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:08:03] Production.INFO: ==28414== Lock acquired, processing the job...
[2025-01-06 21:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:08:03] Production.INFO: ==28422== Lock acquired, processing the job...
[2025-01-06 21:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:08:03] Production.INFO: ==28412== Lock acquired, processing the job...
[2025-01-06 21:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:08:03] Production.INFO: ==28414== Releasing lock...
[2025-01-06 21:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:08:03] Production.INFO: ==28416== Lock acquired, processing the job...
[2025-01-06 21:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:08:03] Production.INFO: ==28418== Lock acquired, processing the job...
[2025-01-06 21:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:08:03] Production.INFO: count ==21
[2025-01-06 21:08:03] Production.INFO: ==28420== Lock acquired, processing the job...
[2025-01-06 21:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:08:03] Production.INFO: count ==21
[2025-01-06 21:08:03] Production.INFO: Account Balance Start.
[2025-01-06 21:08:03] Production.INFO: CreateAllLog Start
[2025-01-06 21:08:03] Production.INFO: 117
[2025-01-06 21:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190204') start
[2025-01-06 21:08:03] Production.INFO: Date 2024-12-08
[2025-01-06 21:08:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:08:03] Production.INFO: Date 2024-12-09
[2025-01-06 21:08:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:08:03] Production.INFO: Date 2024-12-10
[2025-01-06 21:08:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190204') end
[2025-01-06 21:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:08:03] Production.INFO: 1
[2025-01-06 21:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:08:03] Production.INFO: Date 2024-12-11
[2025-01-06 21:08:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:08:03] Production.INFO: Date 2024-12-12
[2025-01-06 21:08:03] Production.INFO: ==28422== Releasing lock...
[2025-01-06 21:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:08:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:08:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:08:03] Production.INFO: Date 2024-12-13
[2025-01-06 21:08:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:08:03] Production.INFO: Date 2024-12-14
[2025-01-06 21:08:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:08:04] Production.ERROR: done
[2025-01-06 21:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:08:04] Production.INFO: Date 2024-12-15
[2025-01-06 21:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:08:04] Production.INFO: Date 2024-12-16
[2025-01-06 21:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:08:04] Production.INFO: Date 2024-12-17
[2025-01-06 21:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:08:04] Production.INFO: Date 2024-12-18
[2025-01-06 21:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:08:04] Production.ERROR: done
[2025-01-06 21:08:04] Production.INFO: Date 2024-12-19
[2025-01-06 21:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:08:04] Production.INFO: Date 2024-12-20
[2025-01-06 21:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:08:04] Production.INFO: Date 2024-12-21
[2025-01-06 21:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:08:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:08:04] Production.INFO: Date 2024-12-23
[2025-01-06 21:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:08:04] Production.INFO: Date 2024-12-24
[2025-01-06 21:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:08:04] Production.INFO: Date 2024-12-25
[2025-01-06 21:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:08:04] Production.INFO: Date 2024-12-26
[2025-01-06 21:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:08:04] Production.INFO: Date 2024-12-27
[2025-01-06 21:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:08:04] Production.INFO: Date 2024-12-28
[2025-01-06 21:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:08:04] Production.INFO: Date 2024-12-29
[2025-01-06 21:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:08:04] Production.INFO: Date 2024-12-30
[2025-01-06 21:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:08:04] Production.INFO: Date 2024-12-31
[2025-01-06 21:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:08:04] Production.INFO: Date 2025-01-01
[2025-01-06 21:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:08:04] Production.INFO: Date 2025-01-02
[2025-01-06 21:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:08:04] Production.INFO: Date 2025-01-03
[2025-01-06 21:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:08:04] Production.INFO: Date 2025-01-04
[2025-01-06 21:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:08:04] Production.INFO: Date 2025-01-05
[2025-01-06 21:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:08:04] Production.INFO: Date 2025-01-06
[2025-01-06 21:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:08:04] Production.INFO: Total Charge 0
[2025-01-06 21:08:04] Production.INFO: CreateAllLog End
[2025-01-06 21:08:05] Production.INFO: Account Balance End.
[2025-01-06 21:08:05] Production.ERROR: CronJobId end 12
[2025-01-06 21:08:05] Production.INFO: ==28418== Releasing lock...
[2025-01-06 21:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:08:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:08:05
[end_date_ymd] => 2025-01-06 21:08:05
[RateCDR] => 1
)
[2025-01-06 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-06 18:08:05' and `end` < '2025-01-06 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-06 21:08:11] Production.ERROR: CronJobId end10
[2025-01-06 21:08:11] Production.INFO: ==28416== Releasing lock...
[2025-01-06 21:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:08:14] Production.INFO: call_cost start
[2025-01-06 21:08:14] Production.INFO: call_cost end
[2025-01-06 21:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:08:14] Production.INFO: ==28412== Releasing lock...
[2025-01-06 21:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:08:19] Production.INFO: count ==1174
[2025-01-06 21:08:19] Production.ERROR: pbx CDR StartTime 2025-01-06 18:08:05 - End Time 2025-01-06 21:08:05
[2025-01-06 21:08:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190206', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190206', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190206', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190206', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:08:19] Production.INFO: ProcessCDR(1,14190206,1,1,2)
[2025-01-06 21:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190206,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190206,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190206,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:08:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190206,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190206', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190206', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:08:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:08:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:08:23] Production.INFO: ==28420== Releasing lock...
[2025-01-06 21:08:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:08:23] Production.INFO: 36.5 MB #Memory Used#
[2025-01-07 02:09:02] Production.INFO: ==28497== Lock acquired, processing the job...
[2025-01-07 02:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:09:02] Production.INFO: neon service started
[2025-01-07 02:09:02] Production.INFO: neon service started
[2025-01-07 02:09:02] Production.INFO: ==28497== Releasing lock...
[2025-01-07 02:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 21:09:02] Production.INFO: ==28499== Lock acquired, processing the job...
[2025-01-06 21:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 21:09:02] Production.INFO: ==28499== Releasing lock...
[2025-01-06 21:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:09:02] Production.INFO: ==28501== Lock acquired, processing the job...
[2025-01-07 02:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:09:02] Production.INFO: ==28501== Releasing lock...
[2025-01-07 02:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:09:03] Production.INFO: ==28510== Lock acquired, processing the job...
[2025-01-06 21:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:09:03] Production.INFO: ==28504== Lock acquired, processing the job...
[2025-01-06 21:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:09:03] Production.INFO: Account Balance Start.
[2025-01-06 21:09:03] Production.INFO: CreateAllLog Start
[2025-01-06 21:09:03] Production.INFO: 117
[2025-01-06 21:09:03] Production.INFO: Date 2024-12-08
[2025-01-06 21:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:09:03] Production.INFO: Date 2024-12-09
[2025-01-06 21:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:09:03] Production.INFO: Date 2024-12-10
[2025-01-06 21:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:09:03] Production.INFO: ==28506== Lock acquired, processing the job...
[2025-01-06 21:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:09:03] Production.INFO: ==28508== Lock acquired, processing the job...
[2025-01-06 21:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:09:03] Production.INFO: Date 2024-12-11
[2025-01-06 21:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:09:03] Production.INFO: ==28514== Lock acquired, processing the job...
[2025-01-06 21:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:09:03] Production.INFO: ==28512== Lock acquired, processing the job...
[2025-01-06 21:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:09:03] Production.INFO: Date 2024-12-12
[2025-01-06 21:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:09:03] Production.INFO: Date 2024-12-13
[2025-01-06 21:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 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-06 21:09:04] Production.INFO: count ==21
[2025-01-06 21:09:04] Production.INFO: Date 2024-12-14
[2025-01-06 21:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:09:04] Production.INFO: count ==21
[2025-01-06 21:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190210') start
[2025-01-06 21:09:04] Production.INFO: ==28506== Releasing lock...
[2025-01-06 21:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:09:04] Production.INFO: Date 2024-12-15
[2025-01-06 21:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:09:04] Production.INFO: Date 2024-12-16
[2025-01-06 21:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190210') end
[2025-01-06 21:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:09:04] Production.INFO: 1
[2025-01-06 21:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:09:04] Production.ERROR: done
[2025-01-06 21:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:09:04] Production.INFO: Date 2024-12-17
[2025-01-06 21:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:09:04] Production.INFO: Date 2024-12-18
[2025-01-06 21:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:09:04] Production.INFO: Date 2024-12-19
[2025-01-06 21:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:09:04] Production.INFO: ==28514== Releasing lock...
[2025-01-06 21:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:09:04] Production.ERROR: done
[2025-01-06 21:09:04] Production.INFO: Date 2024-12-20
[2025-01-06 21:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:09:04] Production.INFO: Date 2024-12-21
[2025-01-06 21:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:09:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:09:04] Production.INFO: Date 2024-12-23
[2025-01-06 21:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:09:04] Production.INFO: Date 2024-12-24
[2025-01-06 21:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:09:04] Production.INFO: Date 2024-12-25
[2025-01-06 21:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:09:04] Production.INFO: Date 2024-12-26
[2025-01-06 21:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:09:04] Production.INFO: Date 2024-12-27
[2025-01-06 21:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:09:04] Production.INFO: Date 2024-12-28
[2025-01-06 21:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:09:04] Production.INFO: Date 2024-12-29
[2025-01-06 21:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:09:04] Production.INFO: Date 2024-12-30
[2025-01-06 21:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:09:04] Production.INFO: Date 2024-12-31
[2025-01-06 21:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:09:04] Production.INFO: Date 2025-01-01
[2025-01-06 21:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:09:04] Production.INFO: Date 2025-01-02
[2025-01-06 21:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:09:04] Production.INFO: Date 2025-01-03
[2025-01-06 21:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:09:04] Production.INFO: Date 2025-01-04
[2025-01-06 21:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:09:04] Production.INFO: Date 2025-01-05
[2025-01-06 21:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:09:04] Production.INFO: Date 2025-01-06
[2025-01-06 21:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:09:04] Production.INFO: Total Charge 0
[2025-01-06 21:09:04] Production.INFO: CreateAllLog End
[2025-01-06 21:09:05] Production.INFO: Account Balance End.
[2025-01-06 21:09:05] Production.ERROR: CronJobId end 12
[2025-01-06 21:09:05] Production.INFO: ==28510== Releasing lock...
[2025-01-06 21:09:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:09:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:09:05
[end_date_ymd] => 2025-01-06 21:09:05
[RateCDR] => 1
)
[2025-01-06 21:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 18:09:05' and `end` < '2025-01-06 21:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 21:09:12] Production.ERROR: CronJobId end10
[2025-01-06 21:09:12] Production.INFO: ==28508== Releasing lock...
[2025-01-06 21:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:09:14] Production.INFO: call_cost start
[2025-01-06 21:09:14] Production.INFO: call_cost end
[2025-01-06 21:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:09:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:09:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:09:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:09:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:09:15] Production.INFO: ==28504== Releasing lock...
[2025-01-06 21:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:09:18] Production.INFO: count ==1164
[2025-01-06 21:09:18] Production.ERROR: pbx CDR StartTime 2025-01-06 18:09:05 - End Time 2025-01-06 21:09:05
[2025-01-06 21:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190211', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190211', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190211', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190211', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:09:18] Production.INFO: ProcessCDR(1,14190211,1,1,2)
[2025-01-06 21:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190211,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190211,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190211,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190211,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190211', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190211', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:09:21] Production.INFO: ==28512== Releasing lock...
[2025-01-06 21:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:09:21] Production.INFO: 36.75 MB #Memory Used#
[2025-01-07 02:10:01] Production.INFO: ==28587== Lock acquired, processing the job...
[2025-01-07 02:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:10:01] Production.INFO: neon service started
[2025-01-07 02:10:01] Production.INFO: neon service started
[2025-01-07 02:10:01] Production.INFO: ==28587== Releasing lock...
[2025-01-07 02:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:10:02] Production.INFO: ==28591== Lock acquired, processing the job...
[2025-01-07 02:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-06 21:10:02] Production.INFO: ==28589== Lock acquired, processing the job...
[2025-01-06 21:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:10:02] Production.INFO: ==28591== Releasing lock...
[2025-01-07 02:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:10:02] Production.INFO: ==28589== Releasing lock...
[2025-01-06 21:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 21:10:03] Production.INFO: ==28596== Lock acquired, processing the job...
[2025-01-06 21:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:10:03] Production.INFO: ==28600== Lock acquired, processing the job...
[2025-01-06 21:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:10:03] Production.INFO: ==28594== Lock acquired, processing the job...
[2025-01-06 21:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-06 21:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:10:03] Production.INFO: ==28598== Lock acquired, processing the job...
[2025-01-06 21:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-06 21:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 21:10:03] Production.ERROR: CronJob PID - 28596
[2025-01-06 21:10:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-06 21:10:03] Production.ERROR: CronJob ID - 5
[2025-01-06 21:10:03] Production.ERROR: CronJob Last Run Time 2025-01-06 21:10:00
[2025-01-06 21:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 21:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 21:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 21:10:03] Production.ERROR: CronJob PID - 28600
[2025-01-06 21:10:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-06 21:10:03] Production.ERROR: CronJob ID - 10
[2025-01-06 21:10:03] Production.ERROR: CronJob Last Run Time 2025-01-06 21:10:00
[2025-01-06 21:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 21:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 21:10:03] Production.INFO: ==28608== Lock acquired, processing the job...
[2025-01-06 21:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-06 21:10:03] Production.INFO: ==28594== Releasing lock...
[2025-01-06 21:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-06 21:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-06 21:10:03] Production.INFO: ==28602== Lock acquired, processing the job...
[2025-01-06 21:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:10:04] Production.INFO: ==28604== Lock acquired, processing the job...
[2025-01-06 21:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 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-06 21:10:04] Production.INFO: ==28606== Lock acquired, processing the job...
[2025-01-06 21:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-06 21:10:04] Production.INFO: count ==21
[2025-01-06 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-06 21:10:04] Production.INFO: count ==21
[2025-01-06 21:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:10:04] Production.INFO: Account Balance Start.
[2025-01-06 21:10:04] Production.INFO: CreateAllLog Start
[2025-01-06 21:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190214') start
[2025-01-06 21:10:04] Production.INFO: 117
[2025-01-06 21:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:10:04] Production.INFO: Date 2024-12-08
[2025-01-06 21:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:10:04] Production.INFO: Date 2024-12-09
[2025-01-06 21:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190214') end
[2025-01-06 21:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:10:04] Production.INFO: 1
[2025-01-06 21:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:10:04] Production.INFO: Date 2024-12-10
[2025-01-06 21:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:10:04] Production.INFO: Date 2024-12-11
[2025-01-06 21:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:10:04] Production.INFO: ==28608== Releasing lock...
[2025-01-06 21:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:10:04] Production.INFO: ==28598== Releasing lock...
[2025-01-06 21:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:10:04] Production.INFO: Date 2024-12-12
[2025-01-06 21:10:04] Production.ERROR: done
[2025-01-06 21:10:04] Production.ERROR: done
[2025-01-06 21:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:10:04] Production.INFO: Date 2024-12-13
[2025-01-06 21:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-06 21:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14190216', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) start
[2025-01-06 21:10:04] Production.INFO: Date 2024-12-14
[2025-01-06 21:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:10:04] Production.ERROR: done
[2025-01-06 21:10:04] Production.INFO: Date 2024-12-15
[2025-01-06 21:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:10:04] Production.INFO: Date 2024-12-16
[2025-01-06 21:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:10:04] Production.INFO: Date 2024-12-17
[2025-01-06 21:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:10:04] Production.INFO: Date 2024-12-18
[2025-01-06 21:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:10:04] Production.INFO: Date 2024-12-19
[2025-01-06 21:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:10:05] Production.INFO: Date 2024-12-20
[2025-01-06 21:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:10:05] Production.INFO: Date 2024-12-21
[2025-01-06 21:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:10:05] Production.INFO: Date 2024-12-22
[2025-01-06 21:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:10:05] Production.INFO: Date 2024-12-23
[2025-01-06 21:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:10:05] Production.INFO: Date 2024-12-24
[2025-01-06 21:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:10:05] Production.INFO: Date 2024-12-25
[2025-01-06 21:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:10:05] Production.INFO: Date 2024-12-26
[2025-01-06 21:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:10:05] Production.INFO: Date 2024-12-27
[2025-01-06 21:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:10:05] Production.INFO: Date 2024-12-28
[2025-01-06 21:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:10:05] Production.INFO: Date 2024-12-29
[2025-01-06 21:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:10:05] Production.INFO: Date 2024-12-30
[2025-01-06 21:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:10:05] Production.INFO: Date 2024-12-31
[2025-01-06 21:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:10:05] Production.INFO: Date 2025-01-01
[2025-01-06 21:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:10:05] Production.INFO: Date 2025-01-02
[2025-01-06 21:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:10:05] Production.INFO: Date 2025-01-03
[2025-01-06 21:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:10:05] Production.INFO: Date 2025-01-04
[2025-01-06 21:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:10:05] Production.INFO: Date 2025-01-05
[2025-01-06 21:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:10:05] Production.INFO: Date 2025-01-06
[2025-01-06 21:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:10:05] Production.INFO: Total Charge 0
[2025-01-06 21:10:05] Production.INFO: CreateAllLog End
[2025-01-06 21:10:05] Production.INFO: Account Balance End.
[2025-01-06 21:10:05] Production.ERROR: CronJobId end 12
[2025-01-06 21:10:05] Production.INFO: ==28602== Releasing lock...
[2025-01-06 21:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:10:06
[end_date_ymd] => 2025-01-06 21:10:06
[RateCDR] => 1
)
[2025-01-06 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-06 18:10:06' and `end` < '2025-01-06 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-06 21:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14190216', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) end
[2025-01-06 21:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-06 21:10:09] Production.INFO: ProcessCDR(1,14190216,1,1,2)
[2025-01-06 21:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14190216,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14190216,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:10:09] Production.INFO: ==28606== Releasing lock...
[2025-01-06 21:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-06 21:10:09] Production.INFO: 26 MB #Memory Used#
[2025-01-06 21:10:13] Production.ERROR: CronJobId end10
[2025-01-06 21:10:13] Production.INFO: ==28600== Releasing lock...
[2025-01-06 21:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:10:14] Production.INFO: call_cost start
[2025-01-06 21:10:14] Production.INFO: call_cost end
[2025-01-06 21:10:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:10:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:10:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:10:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:10:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:10:15] Production.INFO: ==28596== Releasing lock...
[2025-01-06 21:10:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:10:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:10:19] Production.INFO: count ==1163
[2025-01-06 21:10:19] Production.ERROR: pbx CDR StartTime 2025-01-06 18:10:06 - End Time 2025-01-06 21:10:06
[2025-01-06 21:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190217', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190217', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190217', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190217', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:10:19] Production.INFO: ProcessCDR(1,14190217,1,1,2)
[2025-01-06 21:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190217,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:10:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190217,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:10:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190217,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:10:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190217,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190217', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190217', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:10:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:10:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:10:23] Production.INFO: ==28604== Releasing lock...
[2025-01-06 21:10:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:10:23] Production.INFO: 37.25 MB #Memory Used#
[2025-01-07 02:11:02] Production.INFO: ==28681== Lock acquired, processing the job...
[2025-01-07 02:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:11:02] Production.INFO: neon service started
[2025-01-07 02:11:02] Production.INFO: neon service started
[2025-01-07 02:11:02] Production.INFO: ==28681== Releasing lock...
[2025-01-07 02:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 21:11:02] Production.INFO: ==28683== Lock acquired, processing the job...
[2025-01-06 21:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:11:02] Production.INFO: ==28685== Lock acquired, processing the job...
[2025-01-07 02:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:11:02] Production.INFO: ==28685== Releasing lock...
[2025-01-07 02:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:11:02] Production.INFO: ==28683== Releasing lock...
[2025-01-06 21:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 21:11:03] Production.INFO: ==28695== Lock acquired, processing the job...
[2025-01-06 21:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:11:03] Production.INFO: ==28687== Lock acquired, processing the job...
[2025-01-06 21:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:11:03] Production.INFO: ==28698== Lock acquired, processing the job...
[2025-01-06 21:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:11:03] Production.INFO: ==28689== Lock acquired, processing the job...
[2025-01-06 21:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:11:03] Production.INFO: ==28691== Lock acquired, processing the job...
[2025-01-06 21:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:11:03] Production.INFO: ==28693== Lock acquired, processing the job...
[2025-01-06 21:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:11:04] Production.INFO: Account Balance Start.
[2025-01-06 21:11:04] Production.INFO: CreateAllLog Start
[2025-01-06 21:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:11:04] Production.INFO: 117
[2025-01-06 21:11:04] Production.INFO: Date 2024-12-08
[2025-01-06 21:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:11:04] Production.INFO: count ==21
[2025-01-06 21:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:11:04] Production.INFO: count ==21
[2025-01-06 21:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190219') start
[2025-01-06 21:11:04] Production.INFO: Date 2024-12-09
[2025-01-06 21:11:04] Production.ERROR: done
[2025-01-06 21:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:11:04] Production.INFO: Date 2024-12-10
[2025-01-06 21:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190219') end
[2025-01-06 21:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:11:04] Production.INFO: 1
[2025-01-06 21:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:11:04] Production.INFO: Date 2024-12-11
[2025-01-06 21:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:11:04] Production.INFO: ==28698== Releasing lock...
[2025-01-06 21:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:11:04] Production.INFO: Date 2024-12-12
[2025-01-06 21:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:11:04] Production.ERROR: done
[2025-01-06 21:11:04] Production.INFO: Date 2024-12-13
[2025-01-06 21:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:11:04] Production.INFO: ==28689== Releasing lock...
[2025-01-06 21:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:11:04] Production.INFO: Date 2024-12-14
[2025-01-06 21:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:11:04] Production.INFO: Date 2024-12-15
[2025-01-06 21:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:11:04] Production.INFO: Date 2024-12-16
[2025-01-06 21:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:11:04] Production.INFO: Date 2024-12-17
[2025-01-06 21:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:11:04] Production.INFO: Date 2024-12-18
[2025-01-06 21:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:11:04] Production.INFO: Date 2024-12-19
[2025-01-06 21:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:11:04] Production.INFO: Date 2024-12-20
[2025-01-06 21:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:11:04] Production.INFO: Date 2024-12-21
[2025-01-06 21:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:11:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:11:04] Production.INFO: Date 2024-12-23
[2025-01-06 21:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:11:04] Production.INFO: Date 2024-12-24
[2025-01-06 21:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:11:04] Production.INFO: Date 2024-12-25
[2025-01-06 21:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:11:04] Production.INFO: Date 2024-12-26
[2025-01-06 21:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:11:04] Production.INFO: Date 2024-12-27
[2025-01-06 21:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:11:04] Production.INFO: Date 2024-12-28
[2025-01-06 21:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:11:05] Production.INFO: Date 2024-12-29
[2025-01-06 21:11:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:11:05] Production.INFO: Date 2024-12-30
[2025-01-06 21:11:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:11:05] Production.INFO: Date 2024-12-31
[2025-01-06 21:11:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:11:05] Production.INFO: Date 2025-01-01
[2025-01-06 21:11:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:11:05] Production.INFO: Date 2025-01-02
[2025-01-06 21:11:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:11:05] Production.INFO: Date 2025-01-03
[2025-01-06 21:11:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:11:05] Production.INFO: Date 2025-01-04
[2025-01-06 21:11:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:11:05] Production.INFO: Date 2025-01-05
[2025-01-06 21:11:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:11:05] Production.INFO: Date 2025-01-06
[2025-01-06 21:11:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:11:05] Production.INFO: Total Charge 0
[2025-01-06 21:11:05] Production.INFO: CreateAllLog End
[2025-01-06 21:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:11:05
[end_date_ymd] => 2025-01-06 21:11:05
[RateCDR] => 1
)
[2025-01-06 21:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 18:11:05' and `end` < '2025-01-06 21:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 21:11:05] Production.INFO: Account Balance End.
[2025-01-06 21:11:05] Production.ERROR: CronJobId end 12
[2025-01-06 21:11:05] Production.INFO: ==28693== Releasing lock...
[2025-01-06 21:11:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:11:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:11:13] Production.ERROR: CronJobId end10
[2025-01-06 21:11:13] Production.INFO: ==28691== Releasing lock...
[2025-01-06 21:11:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:11:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:11:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:11:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:11:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:11:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:11:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:11:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:11:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:11:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:11:15] Production.INFO: call_cost start
[2025-01-06 21:11:15] Production.INFO: call_cost end
[2025-01-06 21:11:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:11:16] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:11:16] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:11:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:11:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:11:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:11:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:11:16] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:11:16] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:11:16] Production.INFO: ==28687== Releasing lock...
[2025-01-06 21:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:11:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:11:18] Production.INFO: count ==1143
[2025-01-06 21:11:18] Production.ERROR: pbx CDR StartTime 2025-01-06 18:11:05 - End Time 2025-01-06 21:11:05
[2025-01-06 21:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190222', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190222', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190222', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190222', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:11:18] Production.INFO: ProcessCDR(1,14190222,1,1,2)
[2025-01-06 21:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190222,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190222,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190222,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190222,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190222', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190222', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:11:21] Production.INFO: ==28695== Releasing lock...
[2025-01-06 21:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:11:21] Production.INFO: 36.25 MB #Memory Used#
[2025-01-07 02:12:01] Production.INFO: ==28768== Lock acquired, processing the job...
[2025-01-07 02:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:12:01] Production.INFO: neon service started
[2025-01-07 02:12:01] Production.INFO: neon service started
[2025-01-07 02:12:01] Production.INFO: ==28768== Releasing lock...
[2025-01-07 02:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 21:12:01] Production.INFO: ==28770== Lock acquired, processing the job...
[2025-01-06 21:12:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 21:12:02] Production.INFO: ==28770== Releasing lock...
[2025-01-06 21:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:12:02] Production.INFO: ==28772== Lock acquired, processing the job...
[2025-01-07 02:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:12:02] Production.INFO: ==28772== Releasing lock...
[2025-01-07 02:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:12:02] Production.INFO: ==28782== Lock acquired, processing the job...
[2025-01-06 21:12:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:12:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:12:03] Production.INFO: ==28778== Lock acquired, processing the job...
[2025-01-06 21:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:12:03] Production.INFO: ==28774== Lock acquired, processing the job...
[2025-01-06 21:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:12:03] Production.INFO: ==28776== Lock acquired, processing the job...
[2025-01-06 21:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:12:03] Production.INFO: ==28780== Lock acquired, processing the job...
[2025-01-06 21:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:12:03] Production.ERROR: done
[2025-01-06 21:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:12:03] Production.INFO: ==28784== Lock acquired, processing the job...
[2025-01-06 21:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:12:03] Production.ERROR: done
[2025-01-06 21:12:03] Production.INFO: Account Balance Start.
[2025-01-06 21:12:03] Production.INFO: CreateAllLog Start
[2025-01-06 21:12:03] Production.INFO: 117
[2025-01-06 21:12:03] Production.INFO: Date 2024-12-08
[2025-01-06 21:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:12:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:12:03] Production.INFO: count ==21
[2025-01-06 21:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:12:03] Production.INFO: Date 2024-12-09
[2025-01-06 21:12:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:12:03] Production.INFO: count ==21
[2025-01-06 21:12:03] Production.INFO: Date 2024-12-10
[2025-01-06 21:12:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190224') start
[2025-01-06 21:12:03] Production.INFO: Date 2024-12-11
[2025-01-06 21:12:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:12:03] Production.INFO: ==28776== Releasing lock...
[2025-01-06 21:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:12:03] Production.INFO: Date 2024-12-12
[2025-01-06 21:12:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190224') end
[2025-01-06 21:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:12:03] Production.INFO: 1
[2025-01-06 21:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:12:03] Production.INFO: Date 2024-12-13
[2025-01-06 21:12:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:12:03] Production.INFO: Date 2024-12-14
[2025-01-06 21:12:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:12:03] Production.INFO: ==28784== Releasing lock...
[2025-01-06 21:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:12:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:12:03] Production.INFO: Date 2024-12-15
[2025-01-06 21:12:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:12:03] Production.INFO: Date 2024-12-16
[2025-01-06 21:12:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:12:03] Production.INFO: Date 2024-12-17
[2025-01-06 21:12:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:12:03] Production.INFO: Date 2024-12-18
[2025-01-06 21:12:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:12:04] Production.INFO: Date 2024-12-19
[2025-01-06 21:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:12:04] Production.INFO: Date 2024-12-20
[2025-01-06 21:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:12:04] Production.INFO: Date 2024-12-21
[2025-01-06 21:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:12:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:12:04] Production.INFO: Date 2024-12-23
[2025-01-06 21:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:12:04] Production.INFO: Date 2024-12-24
[2025-01-06 21:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:12:04] Production.INFO: Date 2024-12-25
[2025-01-06 21:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:12:04] Production.INFO: Date 2024-12-26
[2025-01-06 21:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:12:04] Production.INFO: Date 2024-12-27
[2025-01-06 21:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:12:04] Production.INFO: Date 2024-12-28
[2025-01-06 21:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:12:04] Production.INFO: Date 2024-12-29
[2025-01-06 21:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:12:04] Production.INFO: Date 2024-12-30
[2025-01-06 21:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:12:04] Production.INFO: Date 2024-12-31
[2025-01-06 21:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:12:04] Production.INFO: Date 2025-01-01
[2025-01-06 21:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:12:04] Production.INFO: Date 2025-01-02
[2025-01-06 21:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:12:04] Production.INFO: Date 2025-01-03
[2025-01-06 21:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:12:04] Production.INFO: Date 2025-01-04
[2025-01-06 21:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:12:04] Production.INFO: Date 2025-01-05
[2025-01-06 21:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:12:04] Production.INFO: Date 2025-01-06
[2025-01-06 21:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:12:04] Production.INFO: Total Charge 0
[2025-01-06 21:12:04] Production.INFO: CreateAllLog End
[2025-01-06 21:12:04] Production.INFO: Account Balance End.
[2025-01-06 21:12:04] Production.ERROR: CronJobId end 12
[2025-01-06 21:12:04] Production.INFO: ==28780== Releasing lock...
[2025-01-06 21:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:12:05
[end_date_ymd] => 2025-01-06 21:12:05
[RateCDR] => 1
)
[2025-01-06 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-06 18:12:05' and `end` < '2025-01-06 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-06 21:12:12] Production.ERROR: CronJobId end10
[2025-01-06 21:12:12] Production.INFO: ==28778== Releasing lock...
[2025-01-06 21:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:12:13] Production.INFO: call_cost start
[2025-01-06 21:12:13] Production.INFO: call_cost end
[2025-01-06 21:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:12:14] Production.INFO: ==28774== Releasing lock...
[2025-01-06 21:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:12:17] Production.INFO: count ==1141
[2025-01-06 21:12:18] Production.ERROR: pbx CDR StartTime 2025-01-06 18:12:05 - End Time 2025-01-06 21:12:05
[2025-01-06 21:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190227', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190227', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190227', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190227', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:12:18] Production.INFO: ProcessCDR(1,14190227,1,1,2)
[2025-01-06 21:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190227,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190227,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190227,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190227,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190227', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190227', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:12:21] Production.INFO: ==28782== Releasing lock...
[2025-01-06 21:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:12:21] Production.INFO: 36.5 MB #Memory Used#
[2025-01-07 02:13:01] Production.INFO: ==28884== Lock acquired, processing the job...
[2025-01-07 02:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:13:01] Production.INFO: neon service started
[2025-01-07 02:13:01] Production.INFO: neon service started
[2025-01-07 02:13:01] Production.INFO: ==28884== Releasing lock...
[2025-01-07 02:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 21:13:02] Production.INFO: ==28886== Lock acquired, processing the job...
[2025-01-06 21:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 21:13:02] Production.INFO: ==28886== Releasing lock...
[2025-01-06 21:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:13:02] Production.INFO: ==28888== Lock acquired, processing the job...
[2025-01-07 02:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:13:02] Production.INFO: ==28888== Releasing lock...
[2025-01-07 02:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:13:03] Production.INFO: ==28897== Lock acquired, processing the job...
[2025-01-06 21:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:13:03] Production.INFO: ==28899== Lock acquired, processing the job...
[2025-01-06 21:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:13:03] Production.INFO: Account Balance Start.
[2025-01-06 21:13:03] Production.INFO: CreateAllLog Start
[2025-01-06 21:13:03] Production.INFO: 117
[2025-01-06 21:13:03] Production.INFO: Date 2024-12-08
[2025-01-06 21:13:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:13:03] Production.INFO: ==28891== Lock acquired, processing the job...
[2025-01-06 21:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:13:03] Production.INFO: Date 2024-12-09
[2025-01-06 21:13:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:13:03] Production.INFO: Date 2024-12-10
[2025-01-06 21:13:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:13:03] Production.INFO: ==28893== Lock acquired, processing the job...
[2025-01-06 21:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:13:03] Production.INFO: Date 2024-12-11
[2025-01-06 21:13:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:13:03] Production.INFO: ==28895== Lock acquired, processing the job...
[2025-01-06 21:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:13:03] Production.INFO: ==28901== Lock acquired, processing the job...
[2025-01-06 21:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:13:03] Production.INFO: Date 2024-12-12
[2025-01-06 21:13:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:13:03] Production.ERROR: done
[2025-01-06 21:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:13:03] Production.INFO: Date 2024-12-13
[2025-01-06 21:13:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 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-06 21:13:03] Production.INFO: Date 2024-12-14
[2025-01-06 21:13:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:13:03] Production.INFO: count ==21
[2025-01-06 21:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 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-06 21:13:03] Production.INFO: count ==21
[2025-01-06 21:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190230') start
[2025-01-06 21:13:03] Production.ERROR: done
[2025-01-06 21:13:03] Production.INFO: Date 2024-12-15
[2025-01-06 21:13:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:13:04] Production.INFO: Date 2024-12-16
[2025-01-06 21:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190230') end
[2025-01-06 21:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:13:04] Production.INFO: 1
[2025-01-06 21:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:13:04] Production.INFO: Date 2024-12-17
[2025-01-06 21:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:13:04] Production.INFO: ==28901== Releasing lock...
[2025-01-06 21:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:13:04] Production.INFO: ==28893== Releasing lock...
[2025-01-06 21:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:13:04] Production.INFO: Date 2024-12-18
[2025-01-06 21:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:13:04] Production.INFO: Date 2024-12-19
[2025-01-06 21:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:13:04] Production.INFO: Date 2024-12-20
[2025-01-06 21:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:13:04] Production.INFO: Date 2024-12-21
[2025-01-06 21:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:13:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:13:04] Production.INFO: Date 2024-12-23
[2025-01-06 21:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:13:04] Production.INFO: Date 2024-12-24
[2025-01-06 21:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:13:04] Production.INFO: Date 2024-12-25
[2025-01-06 21:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:13:04] Production.INFO: Date 2024-12-26
[2025-01-06 21:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:13:04] Production.INFO: Date 2024-12-27
[2025-01-06 21:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:13:04] Production.INFO: Date 2024-12-28
[2025-01-06 21:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:13:04] Production.INFO: Date 2024-12-29
[2025-01-06 21:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:13:04] Production.INFO: Date 2024-12-30
[2025-01-06 21:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:13:04] Production.INFO: Date 2024-12-31
[2025-01-06 21:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:13:04] Production.INFO: Date 2025-01-01
[2025-01-06 21:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:13:04] Production.INFO: Date 2025-01-02
[2025-01-06 21:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:13:04] Production.INFO: Date 2025-01-03
[2025-01-06 21:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:13:04] Production.INFO: Date 2025-01-04
[2025-01-06 21:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:13:04] Production.INFO: Date 2025-01-05
[2025-01-06 21:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:13:04] Production.INFO: Date 2025-01-06
[2025-01-06 21:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:13:04] Production.INFO: Total Charge 0
[2025-01-06 21:13:04] Production.INFO: CreateAllLog End
[2025-01-06 21:13:05] Production.INFO: Account Balance End.
[2025-01-06 21:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:13:05
[end_date_ymd] => 2025-01-06 21:13:05
[RateCDR] => 1
)
[2025-01-06 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-06 18:13:05' and `end` < '2025-01-06 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-06 21:13:05] Production.ERROR: CronJobId end 12
[2025-01-06 21:13:05] Production.INFO: ==28897== Releasing lock...
[2025-01-06 21:13:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:13:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:13:11] Production.ERROR: CronJobId end10
[2025-01-06 21:13:11] Production.INFO: ==28895== Releasing lock...
[2025-01-06 21:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:13:13] Production.INFO: call_cost start
[2025-01-06 21:13:13] Production.INFO: call_cost end
[2025-01-06 21:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:13:14] Production.INFO: ==28891== Releasing lock...
[2025-01-06 21:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:13:19] Production.INFO: count ==1137
[2025-01-06 21:13:19] Production.ERROR: pbx CDR StartTime 2025-01-06 18:13:05 - End Time 2025-01-06 21:13:05
[2025-01-06 21:13:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190232', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190232', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190232', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190232', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:13:19] Production.INFO: ProcessCDR(1,14190232,1,1,2)
[2025-01-06 21:13:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190232,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:13:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190232,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:13:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190232,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190232,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190232', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190232', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:13:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:13:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:13:22] Production.INFO: ==28899== Releasing lock...
[2025-01-06 21:13:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:13:22] Production.INFO: 36.5 MB #Memory Used#
[2025-01-07 02:14:02] Production.INFO: ==28971== Lock acquired, processing the job...
[2025-01-07 02:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:14:02] Production.INFO: neon service started
[2025-01-07 02:14:02] Production.INFO: neon service started
[2025-01-07 02:14:02] Production.INFO: ==28971== Releasing lock...
[2025-01-07 02:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 21:14:02] Production.INFO: ==28973== Lock acquired, processing the job...
[2025-01-06 21:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:14:02] Production.INFO: ==28975== Lock acquired, processing the job...
[2025-01-07 02:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:14:03] Production.INFO: ==28975== Releasing lock...
[2025-01-07 02:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:14:03] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:14:03] Production.INFO: ==28973== Releasing lock...
[2025-01-06 21:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:14:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 21:14:03] Production.INFO: ==28980== Lock acquired, processing the job...
[2025-01-06 21:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:14:04] Production.INFO: ==28984== Lock acquired, processing the job...
[2025-01-06 21:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:14:04] Production.INFO: Account Balance Start.
[2025-01-06 21:14:04] Production.INFO: CreateAllLog Start
[2025-01-06 21:14:04] Production.INFO: 117
[2025-01-06 21:14:04] Production.INFO: Date 2024-12-08
[2025-01-06 21:14:04] Production.INFO: ==28988== Lock acquired, processing the job...
[2025-01-06 21:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:14:04] Production.INFO: Date 2024-12-09
[2025-01-06 21:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:14:04] Production.INFO: Date 2024-12-10
[2025-01-06 21:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 21:14:04] Production.INFO: count ==21
[2025-01-06 21:14:04] Production.INFO: Date 2024-12-11
[2025-01-06 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-06 21:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:14:04] Production.INFO: count ==21
[2025-01-06 21:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190235') start
[2025-01-06 21:14:04] Production.INFO: ==28978== Lock acquired, processing the job...
[2025-01-06 21:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:14:04] Production.INFO: ==28982== Lock acquired, processing the job...
[2025-01-06 21:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:14:04] Production.INFO: ==28980== Releasing lock...
[2025-01-06 21:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:14:04] Production.INFO: Date 2024-12-12
[2025-01-06 21:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:14:04] Production.INFO: ==28986== Lock acquired, processing the job...
[2025-01-06 21:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:14:04] Production.INFO: Date 2024-12-13
[2025-01-06 21:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190235') end
[2025-01-06 21:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:14:04] Production.INFO: 1
[2025-01-06 21:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:14:04] Production.INFO: ==28988== Releasing lock...
[2025-01-06 21:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:14:04] Production.INFO: Date 2024-12-14
[2025-01-06 21:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:14:04] Production.INFO: Date 2024-12-15
[2025-01-06 21:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:14:04] Production.INFO: Date 2024-12-16
[2025-01-06 21:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:14:04] Production.INFO: Date 2024-12-17
[2025-01-06 21:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:14:04] Production.INFO: Date 2024-12-18
[2025-01-06 21:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:14:04] Production.INFO: Date 2024-12-19
[2025-01-06 21:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:14:04] Production.INFO: Date 2024-12-20
[2025-01-06 21:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:14:04] Production.ERROR: done
[2025-01-06 21:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:14:04] Production.INFO: Date 2024-12-21
[2025-01-06 21:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:14:04] Production.ERROR: done
[2025-01-06 21:14:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:14:04] Production.INFO: Date 2024-12-23
[2025-01-06 21:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:14:05] Production.INFO: Date 2024-12-24
[2025-01-06 21:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:14:05] Production.INFO: Date 2024-12-25
[2025-01-06 21:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:14:05] Production.INFO: Date 2024-12-26
[2025-01-06 21:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:14:05] Production.INFO: Date 2024-12-27
[2025-01-06 21:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:14:05] Production.INFO: Date 2024-12-28
[2025-01-06 21:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:14:05] Production.INFO: Date 2024-12-29
[2025-01-06 21:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:14:05] Production.INFO: Date 2024-12-30
[2025-01-06 21:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:14:05] Production.INFO: Date 2024-12-31
[2025-01-06 21:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:14:05] Production.INFO: Date 2025-01-01
[2025-01-06 21:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:14:05] Production.INFO: Date 2025-01-02
[2025-01-06 21:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:14:05] Production.INFO: Date 2025-01-03
[2025-01-06 21:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:14:05] Production.INFO: Date 2025-01-04
[2025-01-06 21:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:14:05] Production.INFO: Date 2025-01-05
[2025-01-06 21:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:14:05] Production.INFO: Date 2025-01-06
[2025-01-06 21:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:14:05] Production.INFO: Total Charge 0
[2025-01-06 21:14:05] Production.INFO: CreateAllLog End
[2025-01-06 21:14:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:14:06
[end_date_ymd] => 2025-01-06 21:14:06
[RateCDR] => 1
)
[2025-01-06 21:14:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 18:14:06' and `end` < '2025-01-06 21:14:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 21:14:06] Production.INFO: Account Balance End.
[2025-01-06 21:14:06] Production.ERROR: CronJobId end 12
[2025-01-06 21:14:06] Production.INFO: ==28984== Releasing lock...
[2025-01-06 21:14:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:14:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:14:12] Production.ERROR: CronJobId end10
[2025-01-06 21:14:12] Production.INFO: ==28982== Releasing lock...
[2025-01-06 21:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:14:13] Production.INFO: call_cost start
[2025-01-06 21:14:13] Production.INFO: call_cost end
[2025-01-06 21:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:14:14] Production.INFO: ==28978== Releasing lock...
[2025-01-06 21:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:14:19] Production.INFO: count ==1126
[2025-01-06 21:14:19] Production.ERROR: pbx CDR StartTime 2025-01-06 18:14:06 - End Time 2025-01-06 21:14:06
[2025-01-06 21:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190237', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190237', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190237', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190237', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:14:19] Production.INFO: ProcessCDR(1,14190237,1,1,2)
[2025-01-06 21:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190237,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190237,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190237,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190237,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190237', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190237', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:14:22] Production.INFO: ==28986== Releasing lock...
[2025-01-06 21:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:14:22] Production.INFO: 36.75 MB #Memory Used#
[2025-01-07 02:15:01] Production.INFO: ==29050== Lock acquired, processing the job...
[2025-01-07 02:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:15:01] Production.INFO: neon service started
[2025-01-07 02:15:01] Production.INFO: neon service started
[2025-01-07 02:15:01] Production.INFO: ==29050== Releasing lock...
[2025-01-07 02:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:15:02] Production.INFO: ==29056== Lock acquired, processing the job...
[2025-01-07 02:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:15:02] Production.INFO: ==29056== Releasing lock...
[2025-01-07 02:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:15:02] Production.INFO: ==29054== Lock acquired, processing the job...
[2025-01-06 21:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 21:15:02] Production.INFO: ==29054== Releasing lock...
[2025-01-06 21:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 21:15:03] Production.INFO: ==29059== Lock acquired, processing the job...
[2025-01-06 21:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:15:03] Production.INFO: ==29061== Lock acquired, processing the job...
[2025-01-06 21:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:15:03] Production.INFO: ==29063== Lock acquired, processing the job...
[2025-01-06 21:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:15:03] Production.INFO: ==29065== Lock acquired, processing the job...
[2025-01-06 21:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:15:03] Production.INFO: Account Balance Start.
[2025-01-06 21:15:03] Production.INFO: CreateAllLog Start
[2025-01-06 21:15:03] Production.INFO: 117
[2025-01-06 21:15:03] Production.INFO: ==29061== Releasing lock...
[2025-01-06 21:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:15:03] Production.INFO: Date 2024-12-08
[2025-01-06 21:15:03] Production.INFO: ==29069== Lock acquired, processing the job...
[2025-01-06 21:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:15:03] Production.INFO: ==29067== Lock acquired, processing the job...
[2025-01-06 21:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:15:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:15:03] Production.INFO: Date 2024-12-09
[2025-01-06 21:15:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:15:03] Production.INFO: Date 2024-12-10
[2025-01-06 21:15:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:15:03] Production.INFO: Date 2024-12-11
[2025-01-06 21:15:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:15:03] Production.INFO: Date 2024-12-12
[2025-01-06 21:15:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:15:03] Production.INFO: Date 2024-12-13
[2025-01-06 21:15:03] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 21:15:04] Production.INFO: Date 2024-12-14
[2025-01-06 21:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:15:04] Production.INFO: count ==21
[2025-01-06 21:15:04] Production.INFO: Date 2024-12-15
[2025-01-06 21:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:15:04] Production.INFO: Date 2024-12-16
[2025-01-06 21:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:15:04] Production.INFO: count ==21
[2025-01-06 21:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190241') start
[2025-01-06 21:15:04] Production.ERROR: done
[2025-01-06 21:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:15:04] Production.INFO: Date 2024-12-17
[2025-01-06 21:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190241') end
[2025-01-06 21:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:15:04] Production.INFO: 1
[2025-01-06 21:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:15:04] Production.INFO: Date 2024-12-18
[2025-01-06 21:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:15:04] Production.INFO: Date 2024-12-19
[2025-01-06 21:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:15:04] Production.INFO: Date 2024-12-20
[2025-01-06 21:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:15:04] Production.INFO: Date 2024-12-21
[2025-01-06 21:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:15:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:15:04] Production.INFO: ==29069== Releasing lock...
[2025-01-06 21:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:15:04] Production.INFO: Date 2024-12-23
[2025-01-06 21:15:04] Production.ERROR: done
[2025-01-06 21:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:15:04] Production.INFO: Date 2024-12-24
[2025-01-06 21:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:15:04] Production.INFO: Date 2024-12-25
[2025-01-06 21:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:15:04] Production.INFO: Date 2024-12-26
[2025-01-06 21:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:15:04] Production.INFO: Date 2024-12-27
[2025-01-06 21:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:15:04] Production.INFO: Date 2024-12-28
[2025-01-06 21:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:15:04] Production.INFO: Date 2024-12-29
[2025-01-06 21:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:15:04] Production.INFO: Date 2024-12-30
[2025-01-06 21:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:15:04] Production.INFO: Date 2024-12-31
[2025-01-06 21:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:15:04] Production.INFO: Date 2025-01-01
[2025-01-06 21:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:15:04] Production.INFO: Date 2025-01-02
[2025-01-06 21:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:15:04] Production.INFO: Date 2025-01-03
[2025-01-06 21:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:15:04] Production.INFO: Date 2025-01-04
[2025-01-06 21:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:15:04] Production.INFO: Date 2025-01-05
[2025-01-06 21:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:15:04] Production.INFO: Date 2025-01-06
[2025-01-06 21:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:15:04] Production.INFO: Total Charge 0
[2025-01-06 21:15:04] Production.INFO: CreateAllLog End
[2025-01-06 21:15:05] Production.INFO: Account Balance End.
[2025-01-06 21:15:05] Production.ERROR: CronJobId end 12
[2025-01-06 21:15:05] Production.INFO: ==29065== Releasing lock...
[2025-01-06 21:15:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:15:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:15:05
[end_date_ymd] => 2025-01-06 21:15:05
[RateCDR] => 1
)
[2025-01-06 21:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 18:15:05' and `end` < '2025-01-06 21:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 21:15:11] Production.ERROR: CronJobId end10
[2025-01-06 21:15:11] Production.INFO: ==29063== Releasing lock...
[2025-01-06 21:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:15:13] Production.INFO: call_cost start
[2025-01-06 21:15:13] Production.INFO: call_cost end
[2025-01-06 21:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:15:14] Production.INFO: ==29059== Releasing lock...
[2025-01-06 21:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:15:18] Production.INFO: count ==1101
[2025-01-06 21:15:18] Production.ERROR: pbx CDR StartTime 2025-01-06 18:15:05 - End Time 2025-01-06 21:15:05
[2025-01-06 21:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190242', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190242', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190242', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190242', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:15:18] Production.INFO: ProcessCDR(1,14190242,1,1,2)
[2025-01-06 21:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190242,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190242,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190242,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190242,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190242', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190242', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:15:21] Production.INFO: ==29067== Releasing lock...
[2025-01-06 21:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:15:21] Production.INFO: 36 MB #Memory Used#
[2025-01-07 02:16:02] Production.INFO: ==29131== Lock acquired, processing the job...
[2025-01-07 02:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:16:02] Production.INFO: neon service started
[2025-01-07 02:16:02] Production.INFO: neon service started
[2025-01-07 02:16:02] Production.INFO: ==29131== Releasing lock...
[2025-01-07 02:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 21:16:02] Production.INFO: ==29133== Lock acquired, processing the job...
[2025-01-06 21:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:16:02] Production.INFO: ==29135== Lock acquired, processing the job...
[2025-01-07 02:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:16:02] Production.INFO: ==29135== Releasing lock...
[2025-01-07 02:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:16:03] Production.INFO: ==29133== Releasing lock...
[2025-01-06 21:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:16:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 21:16:04] Production.INFO: ==29142== Lock acquired, processing the job...
[2025-01-06 21:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:16:04] Production.INFO: ==29146== Lock acquired, processing the job...
[2025-01-06 21:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:16:04] Production.INFO: ==29138== Lock acquired, processing the job...
[2025-01-06 21:16:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:16:04] Production.INFO: ==29140== Lock acquired, processing the job...
[2025-01-06 21:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:16:04] Production.INFO: ==29144== Lock acquired, processing the job...
[2025-01-06 21:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:16:04] Production.INFO: ==29148== Lock acquired, processing the job...
[2025-01-06 21:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:16:04] Production.INFO: Account Balance Start.
[2025-01-06 21:16:04] Production.INFO: CreateAllLog Start
[2025-01-06 21:16:04] Production.INFO: 117
[2025-01-06 21:16:04] Production.INFO: Date 2024-12-08
[2025-01-06 21:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:16:04] Production.INFO: Date 2024-12-09
[2025-01-06 21:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:16:04] Production.ERROR: done
[2025-01-06 21:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:16:04] Production.INFO: count ==21
[2025-01-06 21:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:16:04] Production.INFO: count ==21
[2025-01-06 21:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190246') start
[2025-01-06 21:16:04] Production.INFO: Date 2024-12-10
[2025-01-06 21:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:16:04] Production.INFO: Date 2024-12-11
[2025-01-06 21:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:16:04] Production.INFO: Date 2024-12-12
[2025-01-06 21:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:16:04] Production.INFO: ==29140== Releasing lock...
[2025-01-06 21:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:16:04] Production.ERROR: done
[2025-01-06 21:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190246') end
[2025-01-06 21:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:16:04] Production.INFO: 1
[2025-01-06 21:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:16:04] Production.INFO: Date 2024-12-13
[2025-01-06 21:16:04] Production.INFO: ==29148== Releasing lock...
[2025-01-06 21:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:16:04] Production.INFO: Date 2024-12-14
[2025-01-06 21:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:16:04] Production.INFO: Date 2024-12-15
[2025-01-06 21:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:16:04] Production.INFO: Date 2024-12-16
[2025-01-06 21:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:16:04] Production.INFO: Date 2024-12-17
[2025-01-06 21:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:16:04] Production.INFO: Date 2024-12-18
[2025-01-06 21:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:16:05] Production.INFO: Date 2024-12-19
[2025-01-06 21:16:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:16:05] Production.INFO: Date 2024-12-20
[2025-01-06 21:16:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:16:05] Production.INFO: Date 2024-12-21
[2025-01-06 21:16:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:16:05] Production.INFO: Date 2024-12-22
[2025-01-06 21:16:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:16:05] Production.INFO: Date 2024-12-23
[2025-01-06 21:16:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:16:05] Production.INFO: Date 2024-12-24
[2025-01-06 21:16:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:16:05] Production.INFO: Date 2024-12-25
[2025-01-06 21:16:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:16:05] Production.INFO: Date 2024-12-26
[2025-01-06 21:16:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:16:05] Production.INFO: Date 2024-12-27
[2025-01-06 21:16:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:16:05] Production.INFO: Date 2024-12-28
[2025-01-06 21:16:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:16:05] Production.INFO: Date 2024-12-29
[2025-01-06 21:16:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:16:05] Production.INFO: Date 2024-12-30
[2025-01-06 21:16:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:16:05] Production.INFO: Date 2024-12-31
[2025-01-06 21:16:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:16:05] Production.INFO: Date 2025-01-01
[2025-01-06 21:16:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:16:05] Production.INFO: Date 2025-01-02
[2025-01-06 21:16:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:16:05] Production.INFO: Date 2025-01-03
[2025-01-06 21:16:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:16:05] Production.INFO: Date 2025-01-04
[2025-01-06 21:16:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:16:05] Production.INFO: Date 2025-01-05
[2025-01-06 21:16:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:16:05] Production.INFO: Date 2025-01-06
[2025-01-06 21:16:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:16:05] Production.INFO: Total Charge 0
[2025-01-06 21:16:05] Production.INFO: CreateAllLog End
[2025-01-06 21:16:05] Production.INFO: Account Balance End.
[2025-01-06 21:16:05] Production.ERROR: CronJobId end 12
[2025-01-06 21:16:05] Production.INFO: ==29144== Releasing lock...
[2025-01-06 21:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:16:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:16:05
[end_date_ymd] => 2025-01-06 21:16:05
[RateCDR] => 1
)
[2025-01-06 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-06 18:16:05' and `end` < '2025-01-06 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-06 21:16:12] Production.ERROR: CronJobId end10
[2025-01-06 21:16:12] Production.INFO: ==29142== Releasing lock...
[2025-01-06 21:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:16:14] Production.INFO: call_cost start
[2025-01-06 21:16:14] Production.INFO: call_cost end
[2025-01-06 21:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:16:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:16:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:16:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:16:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:16:15] Production.INFO: ==29138== Releasing lock...
[2025-01-06 21:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:16:21] Production.INFO: count ==1093
[2025-01-06 21:16:22] Production.ERROR: pbx CDR StartTime 2025-01-06 18:16:05 - End Time 2025-01-06 21:16:05
[2025-01-06 21:16:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:16:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190247', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:16:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190247', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:16:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190247', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:16:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190247', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:16:22] Production.INFO: ProcessCDR(1,14190247,1,1,2)
[2025-01-06 21:16:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190247,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:16:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190247,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:16:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190247,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:16:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190247,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:16:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190247', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:16:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190247', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:16:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:16:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:16:25] Production.INFO: ==29146== Releasing lock...
[2025-01-06 21:16:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:16:25] Production.INFO: 36.25 MB #Memory Used#
[2025-01-07 02:17:01] Production.INFO: ==29214== Lock acquired, processing the job...
[2025-01-07 02:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:17:01] Production.INFO: neon service started
[2025-01-07 02:17:01] Production.INFO: neon service started
[2025-01-07 02:17:01] Production.INFO: ==29214== Releasing lock...
[2025-01-07 02:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:17:02] Production.INFO: ==29218== Lock acquired, processing the job...
[2025-01-07 02:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:17:02] Production.INFO: ==29218== Releasing lock...
[2025-01-07 02:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:17:02] Production.INFO: ==29216== Lock acquired, processing the job...
[2025-01-06 21:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 21:17:02] Production.INFO: ==29216== Releasing lock...
[2025-01-06 21:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 21:17:03] Production.INFO: ==29222== Lock acquired, processing the job...
[2025-01-06 21:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:17:03] Production.INFO: ==29224== Lock acquired, processing the job...
[2025-01-06 21:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:17:03] Production.INFO: ==29228== Lock acquired, processing the job...
[2025-01-06 21:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:17:03] Production.INFO: ==29220== Lock acquired, processing the job...
[2025-01-06 21:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:17:03] Production.INFO: ==29231== Lock acquired, processing the job...
[2025-01-06 21:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:17:03] Production.INFO: ==29226== Lock acquired, processing the job...
[2025-01-06 21:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:17:03] Production.ERROR: done
[2025-01-06 21:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 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-06 21:17:03] Production.INFO: count ==21
[2025-01-06 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-06 21:17:03] Production.INFO: ==29222== Releasing lock...
[2025-01-06 21:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:17:03] Production.INFO: count ==21
[2025-01-06 21:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190249') start
[2025-01-06 21:17:03] Production.INFO: Account Balance Start.
[2025-01-06 21:17:03] Production.INFO: CreateAllLog Start
[2025-01-06 21:17:03] Production.INFO: 117
[2025-01-06 21:17:03] Production.ERROR: done
[2025-01-06 21:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190249') end
[2025-01-06 21:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:17:03] Production.INFO: 1
[2025-01-06 21:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:17:03] Production.INFO: Date 2024-12-08
[2025-01-06 21:17:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:17:04] Production.INFO: ==29231== Releasing lock...
[2025-01-06 21:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:17:04] Production.INFO: Date 2024-12-09
[2025-01-06 21:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:17:04] Production.INFO: Date 2024-12-10
[2025-01-06 21:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:17:04] Production.INFO: Date 2024-12-11
[2025-01-06 21:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:17:04] Production.INFO: Date 2024-12-12
[2025-01-06 21:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:17:04] Production.INFO: Date 2024-12-13
[2025-01-06 21:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:17:04] Production.INFO: Date 2024-12-14
[2025-01-06 21:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:17:04] Production.INFO: Date 2024-12-15
[2025-01-06 21:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:17:04] Production.INFO: Date 2024-12-16
[2025-01-06 21:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:17:04] Production.INFO: Date 2024-12-17
[2025-01-06 21:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:17:05
[end_date_ymd] => 2025-01-06 21:17:05
[RateCDR] => 1
)
[2025-01-06 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-06 18:17:05' and `end` < '2025-01-06 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-06 21:17:05] Production.INFO: Date 2024-12-18
[2025-01-06 21:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:17:05] Production.INFO: Date 2024-12-19
[2025-01-06 21:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:17:05] Production.INFO: Date 2024-12-20
[2025-01-06 21:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:17:05] Production.INFO: Date 2024-12-21
[2025-01-06 21:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:17:05] Production.INFO: Date 2024-12-22
[2025-01-06 21:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:17:05] Production.INFO: Date 2024-12-23
[2025-01-06 21:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:17:05] Production.INFO: Date 2024-12-24
[2025-01-06 21:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:17:05] Production.INFO: Date 2024-12-25
[2025-01-06 21:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:17:05] Production.INFO: Date 2024-12-26
[2025-01-06 21:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:17:05] Production.INFO: Date 2024-12-27
[2025-01-06 21:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:17:05] Production.INFO: Date 2024-12-28
[2025-01-06 21:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:17:05] Production.INFO: Date 2024-12-29
[2025-01-06 21:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:17:05] Production.INFO: Date 2024-12-30
[2025-01-06 21:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:17:05] Production.INFO: Date 2024-12-31
[2025-01-06 21:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:17:05] Production.INFO: Date 2025-01-01
[2025-01-06 21:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:17:05] Production.INFO: Date 2025-01-02
[2025-01-06 21:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:17:05] Production.INFO: Date 2025-01-03
[2025-01-06 21:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:17:05] Production.INFO: Date 2025-01-04
[2025-01-06 21:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:17:05] Production.INFO: Date 2025-01-05
[2025-01-06 21:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:17:05] Production.INFO: Date 2025-01-06
[2025-01-06 21:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:17:05] Production.INFO: Total Charge 0
[2025-01-06 21:17:05] Production.INFO: CreateAllLog End
[2025-01-06 21:17:05] Production.INFO: Account Balance End.
[2025-01-06 21:17:05] Production.ERROR: CronJobId end 12
[2025-01-06 21:17:05] Production.INFO: ==29226== Releasing lock...
[2025-01-06 21:17:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:17:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:17:12] Production.ERROR: CronJobId end10
[2025-01-06 21:17:12] Production.INFO: ==29224== Releasing lock...
[2025-01-06 21:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:17:13] Production.INFO: call_cost start
[2025-01-06 21:17:13] Production.INFO: call_cost end
[2025-01-06 21:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:17:14] Production.INFO: ==29220== Releasing lock...
[2025-01-06 21:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:17:17] Production.INFO: count ==1087
[2025-01-06 21:17:18] Production.ERROR: pbx CDR StartTime 2025-01-06 18:17:05 - End Time 2025-01-06 21:17:05
[2025-01-06 21:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190252', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190252', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190252', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190252', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:17:18] Production.INFO: ProcessCDR(1,14190252,1,1,2)
[2025-01-06 21:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190252,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190252,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190252,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190252,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190252', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190252', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:17:21] Production.INFO: ==29228== Releasing lock...
[2025-01-06 21:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:17:21] Production.INFO: 36.25 MB #Memory Used#
[2025-01-07 02:18:02] Production.INFO: ==29302== Lock acquired, processing the job...
[2025-01-07 02:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:18:02] Production.INFO: neon service started
[2025-01-07 02:18:02] Production.INFO: neon service started
[2025-01-07 02:18:02] Production.INFO: ==29302== Releasing lock...
[2025-01-07 02:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:18:02] Production.INFO: ==29306== Lock acquired, processing the job...
[2025-01-07 02:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:18:02] Production.INFO: ==29306== Releasing lock...
[2025-01-07 02:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:18:02] Production.INFO: ==29304== Lock acquired, processing the job...
[2025-01-06 21:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 21:18:03] Production.INFO: ==29304== Releasing lock...
[2025-01-06 21:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:18:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 21:18:03] Production.INFO: ==29313== Lock acquired, processing the job...
[2025-01-06 21:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:18:03] Production.INFO: ==29309== Lock acquired, processing the job...
[2025-01-06 21:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:18:03] Production.INFO: ==29315== Lock acquired, processing the job...
[2025-01-06 21:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:18:04] Production.INFO: ==29311== Lock acquired, processing the job...
[2025-01-06 21:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:18:04] Production.INFO: Account Balance Start.
[2025-01-06 21:18:04] Production.INFO: CreateAllLog Start
[2025-01-06 21:18:04] Production.INFO: 117
[2025-01-06 21:18:04] Production.INFO: Date 2024-12-08
[2025-01-06 21:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:18:04] Production.INFO: ==29317== Lock acquired, processing the job...
[2025-01-06 21:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:18:04] Production.INFO: ==29319== Lock acquired, processing the job...
[2025-01-06 21:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:18:04] Production.INFO: Date 2024-12-09
[2025-01-06 21:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:18:04] Production.INFO: Date 2024-12-10
[2025-01-06 21:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:18:04] Production.INFO: Date 2024-12-11
[2025-01-06 21:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:18:04] Production.INFO: count ==21
[2025-01-06 21:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:18:04] Production.INFO: count ==21
[2025-01-06 21:18:04] Production.INFO: Date 2024-12-12
[2025-01-06 21:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190256') start
[2025-01-06 21:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:18:04] Production.INFO: ==29311== Releasing lock...
[2025-01-06 21:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:18:04] Production.ERROR: done
[2025-01-06 21:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:18:04] Production.INFO: Date 2024-12-13
[2025-01-06 21:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190256') end
[2025-01-06 21:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:18:04] Production.INFO: 1
[2025-01-06 21:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:18:04] Production.INFO: Date 2024-12-14
[2025-01-06 21:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:18:04] Production.INFO: ==29319== Releasing lock...
[2025-01-06 21:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:18:04] Production.ERROR: done
[2025-01-06 21:18:04] Production.INFO: Date 2024-12-15
[2025-01-06 21:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:18:04] Production.INFO: Date 2024-12-16
[2025-01-06 21:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:18:04] Production.INFO: Date 2024-12-17
[2025-01-06 21:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:18:04] Production.INFO: Date 2024-12-18
[2025-01-06 21:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:18:04] Production.INFO: Date 2024-12-19
[2025-01-06 21:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:18:04] Production.INFO: Date 2024-12-20
[2025-01-06 21:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:18:04] Production.INFO: Date 2024-12-21
[2025-01-06 21:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:18:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:18:04] Production.INFO: Date 2024-12-23
[2025-01-06 21:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:18:04] Production.INFO: Date 2024-12-24
[2025-01-06 21:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:18:04] Production.INFO: Date 2024-12-25
[2025-01-06 21:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:18:04] Production.INFO: Date 2024-12-26
[2025-01-06 21:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:18:04] Production.INFO: Date 2024-12-27
[2025-01-06 21:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:18:05] Production.INFO: Date 2024-12-28
[2025-01-06 21:18:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:18:05] Production.INFO: Date 2024-12-29
[2025-01-06 21:18:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:18:05] Production.INFO: Date 2024-12-30
[2025-01-06 21:18:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:18:05] Production.INFO: Date 2024-12-31
[2025-01-06 21:18:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:18:05] Production.INFO: Date 2025-01-01
[2025-01-06 21:18:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:18:05] Production.INFO: Date 2025-01-02
[2025-01-06 21:18:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:18:05] Production.INFO: Date 2025-01-03
[2025-01-06 21:18:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:18:05] Production.INFO: Date 2025-01-04
[2025-01-06 21:18:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:18:05] Production.INFO: Date 2025-01-05
[2025-01-06 21:18:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:18:05] Production.INFO: Date 2025-01-06
[2025-01-06 21:18:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:18:05] Production.INFO: Total Charge 0
[2025-01-06 21:18:05] Production.INFO: CreateAllLog End
[2025-01-06 21:18:05] Production.INFO: Account Balance End.
[2025-01-06 21:18:05] Production.ERROR: CronJobId end 12
[2025-01-06 21:18:05] Production.INFO: ==29315== Releasing lock...
[2025-01-06 21:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:18:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:18:05
[end_date_ymd] => 2025-01-06 21:18:05
[RateCDR] => 1
)
[2025-01-06 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-06 18:18:05' and `end` < '2025-01-06 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-06 21:18:14] Production.ERROR: CronJobId end10
[2025-01-06 21:18:14] Production.INFO: ==29313== Releasing lock...
[2025-01-06 21:18:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:18:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:18:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:18:15] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:18:15] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:18:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:18:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:18:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:18:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:18:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:18:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:18:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:18:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:18:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:18:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:18:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:18:15] Production.INFO: call_cost start
[2025-01-06 21:18:15] Production.INFO: call_cost end
[2025-01-06 21:18:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:18:16] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:18:16] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:18:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:18:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:18:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:18:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:18:16] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:18:16] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:18:16] Production.INFO: ==29309== Releasing lock...
[2025-01-06 21:18:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:18:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:18:20] Production.INFO: count ==1085
[2025-01-06 21:18:20] Production.ERROR: pbx CDR StartTime 2025-01-06 18:18:05 - End Time 2025-01-06 21:18:05
[2025-01-06 21:18:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190257', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190257', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190257', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190257', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:18:20] Production.INFO: ProcessCDR(1,14190257,1,1,2)
[2025-01-06 21:18:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190257,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:18:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190257,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:18:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190257,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:18:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190257,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190257', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190257', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:18:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:18:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:18:23] Production.INFO: ==29317== Releasing lock...
[2025-01-06 21:18:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:18:23] Production.INFO: 36 MB #Memory Used#
[2025-01-07 02:19:01] Production.INFO: ==29379== Lock acquired, processing the job...
[2025-01-07 02:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:19:01] Production.INFO: neon service started
[2025-01-07 02:19:01] Production.INFO: neon service started
[2025-01-07 02:19:01] Production.INFO: ==29379== Releasing lock...
[2025-01-07 02:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:19:01] Production.INFO: ==29383== Lock acquired, processing the job...
[2025-01-07 02:19:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:19:01] Production.INFO: ==29383== Releasing lock...
[2025-01-07 02:19:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:19:01] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:19:02] Production.INFO: ==29381== Lock acquired, processing the job...
[2025-01-06 21:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 21:19:02] Production.INFO: ==29381== Releasing lock...
[2025-01-06 21:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 21:19:03] Production.INFO: ==29385== Lock acquired, processing the job...
[2025-01-06 21:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:19:03] Production.INFO: ==29387== Lock acquired, processing the job...
[2025-01-06 21:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:19:03] Production.INFO: ==29392== Lock acquired, processing the job...
[2025-01-06 21:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:19:03] Production.INFO: Account Balance Start.
[2025-01-06 21:19:03] Production.INFO: CreateAllLog Start
[2025-01-06 21:19:03] Production.INFO: 117
[2025-01-06 21:19:03] Production.INFO: Date 2024-12-08
[2025-01-06 21:19:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:19:03] Production.INFO: Date 2024-12-09
[2025-01-06 21:19:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:19:03] Production.INFO: Date 2024-12-10
[2025-01-06 21:19:03] Production.INFO: ==29389== Lock acquired, processing the job...
[2025-01-06 21:19:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:19:03] Production.INFO: Date 2024-12-11
[2025-01-06 21:19:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:19:03] Production.INFO: Date 2024-12-12
[2025-01-06 21:19:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:19:03] Production.INFO: ==29394== Lock acquired, processing the job...
[2025-01-06 21:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:19:03] Production.INFO: ==29387== Releasing lock...
[2025-01-06 21:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:19:03] Production.INFO: Date 2024-12-13
[2025-01-06 21:19:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:19:03] Production.INFO: ==29396== Lock acquired, processing the job...
[2025-01-06 21:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:19:03] Production.INFO: Date 2024-12-14
[2025-01-06 21:19:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:19:03] Production.INFO: Date 2024-12-15
[2025-01-06 21:19:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:19:03] Production.INFO: Date 2024-12-16
[2025-01-06 21:19:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:19:03] Production.INFO: Date 2024-12-17
[2025-01-06 21:19:03] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 21:19:03] Production.INFO: Date 2024-12-18
[2025-01-06 21:19:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:19:03] Production.INFO: Date 2024-12-19
[2025-01-06 21:19:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:19:03] Production.INFO: Date 2024-12-20
[2025-01-06 21:19:03] Production.INFO: count ==21
[2025-01-06 21:19:03] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 21:19:03] Production.INFO: count ==21
[2025-01-06 21:19:03] Production.ERROR: done
[2025-01-06 21:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:19:03] Production.INFO: Date 2024-12-21
[2025-01-06 21:19:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190261') start
[2025-01-06 21:19:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:19:04] Production.INFO: Date 2024-12-23
[2025-01-06 21:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:19:04] Production.INFO: Date 2024-12-24
[2025-01-06 21:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:19:04] Production.ERROR: done
[2025-01-06 21:19:04] Production.INFO: Date 2024-12-25
[2025-01-06 21:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190261') end
[2025-01-06 21:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:19:04] Production.INFO: 1
[2025-01-06 21:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:19:04] Production.INFO: Date 2024-12-26
[2025-01-06 21:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:19:04] Production.INFO: ==29396== Releasing lock...
[2025-01-06 21:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:19:04] Production.INFO: Date 2024-12-27
[2025-01-06 21:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:19:04] Production.INFO: Date 2024-12-28
[2025-01-06 21:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:19:04] Production.INFO: Date 2024-12-29
[2025-01-06 21:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:19:04] Production.INFO: Date 2024-12-30
[2025-01-06 21:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:19:04] Production.INFO: Date 2024-12-31
[2025-01-06 21:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:19:04] Production.INFO: Date 2025-01-01
[2025-01-06 21:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:19:04] Production.INFO: Date 2025-01-02
[2025-01-06 21:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:19:04] Production.INFO: Date 2025-01-03
[2025-01-06 21:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:19:04] Production.INFO: Date 2025-01-04
[2025-01-06 21:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:19:04] Production.INFO: Date 2025-01-05
[2025-01-06 21:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:19:04] Production.INFO: Date 2025-01-06
[2025-01-06 21:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:19:04] Production.INFO: Total Charge 0
[2025-01-06 21:19:04] Production.INFO: CreateAllLog End
[2025-01-06 21:19:04] Production.INFO: Account Balance End.
[2025-01-06 21:19:05] Production.ERROR: CronJobId end 12
[2025-01-06 21:19:05] Production.INFO: ==29392== Releasing lock...
[2025-01-06 21:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:19:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:19:05
[end_date_ymd] => 2025-01-06 21:19:05
[RateCDR] => 1
)
[2025-01-06 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-06 18:19:05' and `end` < '2025-01-06 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-06 21:19:13] Production.ERROR: CronJobId end10
[2025-01-06 21:19:13] Production.INFO: ==29389== Releasing lock...
[2025-01-06 21:19:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:19:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:19:13] Production.INFO: call_cost start
[2025-01-06 21:19:13] Production.INFO: call_cost end
[2025-01-06 21:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:19:14] Production.INFO: ==29385== Releasing lock...
[2025-01-06 21:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:19:18] Production.INFO: count ==1085
[2025-01-06 21:19:18] Production.ERROR: pbx CDR StartTime 2025-01-06 18:19:05 - End Time 2025-01-06 21:19:05
[2025-01-06 21:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190262', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190262', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190262', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190262', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:19:18] Production.INFO: ProcessCDR(1,14190262,1,1,2)
[2025-01-06 21:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190262,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190262,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190262,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190262,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190262', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190262', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:19:21] Production.INFO: ==29394== Releasing lock...
[2025-01-06 21:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:19:21] Production.INFO: 36 MB #Memory Used#
[2025-01-07 02:20:01] Production.INFO: ==29467== Lock acquired, processing the job...
[2025-01-07 02:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:20:01] Production.INFO: neon service started
[2025-01-07 02:20:02] Production.INFO: neon service started
[2025-01-07 02:20:02] Production.INFO: ==29467== Releasing lock...
[2025-01-07 02:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 21:20:02] Production.INFO: ==29469== Lock acquired, processing the job...
[2025-01-06 21:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:20:02] Production.INFO: ==29471== Lock acquired, processing the job...
[2025-01-07 02:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:20:02] Production.INFO: ==29471== Releasing lock...
[2025-01-07 02:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:20:03] Production.INFO: ==29469== Releasing lock...
[2025-01-06 21:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 21:20:04] Production.INFO: ==29480== Lock acquired, processing the job...
[2025-01-06 21:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:20:04] Production.INFO: ==29482== Lock acquired, processing the job...
[2025-01-06 21:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:20:04] Production.INFO: ==29474== Lock acquired, processing the job...
[2025-01-06 21:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-06 21:20:04] Production.INFO: ==29488== Lock acquired, processing the job...
[2025-01-06 21:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:20:04] Production.INFO: Account Balance Start.
[2025-01-06 21:20:04] Production.INFO: CreateAllLog Start
[2025-01-06 21:20:04] Production.INFO: 117
[2025-01-06 21:20:04] Production.INFO: Date 2024-12-08
[2025-01-06 21:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-06 21:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 21:20:04] Production.ERROR: CronJob PID - 29480
[2025-01-06 21:20:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-06 21:20:04] Production.ERROR: CronJob ID - 10
[2025-01-06 21:20:04] Production.ERROR: CronJob Last Run Time 2025-01-06 21:20:00
[2025-01-06 21:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 21:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 21:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 21:20:04] Production.ERROR: CronJob PID - 29482
[2025-01-06 21:20:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-06 21:20:04] Production.ERROR: CronJob ID - 12
[2025-01-06 21:20:04] Production.ERROR: CronJob Last Run Time 2025-01-06 21:20:00
[2025-01-06 21:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 21:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 21:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 21:20:04] Production.ERROR: CronJob PID - 29488
[2025-01-06 21:20:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-06 21:20:04] Production.ERROR: CronJob ID - 19
[2025-01-06 21:20:04] Production.ERROR: CronJob Last Run Time 2025-01-06 21:20:00
[2025-01-06 21:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 21:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 21:20:04] Production.INFO: Date 2024-12-09
[2025-01-06 21:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-06 21:20:04] Production.INFO: ==29474== Releasing lock...
[2025-01-06 21:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-06 21:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-06 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-06 21:20:04] Production.INFO: Date 2024-12-10
[2025-01-06 21:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:20:04] Production.INFO: count ==21
[2025-01-06 21:20:04] Production.INFO: ==29476== Lock acquired, processing the job...
[2025-01-06 21:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 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-06 21:20:04] Production.INFO: count ==21
[2025-01-06 21:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190264') start
[2025-01-06 21:20:04] Production.INFO: Date 2024-12-11
[2025-01-06 21:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:20:04] Production.INFO: ==29478== Lock acquired, processing the job...
[2025-01-06 21:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:20:04] Production.INFO: Date 2024-12-12
[2025-01-06 21:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:20:04] Production.INFO: ==29486== Lock acquired, processing the job...
[2025-01-06 21:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-06 21:20:04] Production.INFO: Date 2024-12-13
[2025-01-06 21:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:20:04] Production.INFO: ==29484== Lock acquired, processing the job...
[2025-01-06 21:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190264') end
[2025-01-06 21:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:20:04] Production.INFO: 1
[2025-01-06 21:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:20:04] Production.INFO: Date 2024-12-14
[2025-01-06 21:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:20:04] Production.INFO: ==29488== Releasing lock...
[2025-01-06 21:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:20:04] Production.INFO: Date 2024-12-15
[2025-01-06 21:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:20:04] Production.INFO: Date 2024-12-16
[2025-01-06 21:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:20:04] Production.ERROR: done
[2025-01-06 21:20:04] Production.INFO: Date 2024-12-17
[2025-01-06 21:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:20:04] Production.INFO: ==29478== Releasing lock...
[2025-01-06 21:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:20:04] Production.ERROR: done
[2025-01-06 21:20:05] Production.INFO: Date 2024-12-18
[2025-01-06 21:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:20:05] Production.INFO: Date 2024-12-19
[2025-01-06 21:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-06 21:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14190267', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) start
[2025-01-06 21:20:05] Production.INFO: Date 2024-12-20
[2025-01-06 21:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:20:05] Production.INFO: Date 2024-12-21
[2025-01-06 21:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:20:05] Production.ERROR: done
[2025-01-06 21:20:05] Production.INFO: Date 2024-12-22
[2025-01-06 21:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:20:05] Production.INFO: Date 2024-12-23
[2025-01-06 21:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:20:05] Production.INFO: Date 2024-12-24
[2025-01-06 21:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:20:05] Production.INFO: Date 2024-12-25
[2025-01-06 21:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:20:05] Production.INFO: Date 2024-12-26
[2025-01-06 21:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:20:05] Production.INFO: Date 2024-12-27
[2025-01-06 21:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:20:05] Production.INFO: Date 2024-12-28
[2025-01-06 21:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:20:05] Production.INFO: Date 2024-12-29
[2025-01-06 21:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:20:05] Production.INFO: Date 2024-12-30
[2025-01-06 21:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:20:05] Production.INFO: Date 2024-12-31
[2025-01-06 21:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:20:05] Production.INFO: Date 2025-01-01
[2025-01-06 21:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:20:05] Production.INFO: Date 2025-01-02
[2025-01-06 21:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:20:05] Production.INFO: Date 2025-01-03
[2025-01-06 21:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:20:05] Production.INFO: Date 2025-01-04
[2025-01-06 21:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:20:05] Production.INFO: Date 2025-01-05
[2025-01-06 21:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:20:05] Production.INFO: Date 2025-01-06
[2025-01-06 21:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:20:05] Production.INFO: Total Charge 0
[2025-01-06 21:20:05] Production.INFO: CreateAllLog End
[2025-01-06 21:20:05] Production.INFO: Account Balance End.
[2025-01-06 21:20:05] Production.ERROR: CronJobId end 12
[2025-01-06 21:20:05] Production.INFO: ==29482== Releasing lock...
[2025-01-06 21:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:20:06
[end_date_ymd] => 2025-01-06 21:20:06
[RateCDR] => 1
)
[2025-01-06 21:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 18:20:06' and `end` < '2025-01-06 21:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 21:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14190267', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) end
[2025-01-06 21:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-06 21:20:09] Production.INFO: ProcessCDR(1,14190267,1,1,2)
[2025-01-06 21:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14190267,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14190267,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:20:09] Production.INFO: ==29486== Releasing lock...
[2025-01-06 21:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-06 21:20:09] Production.INFO: 26 MB #Memory Used#
[2025-01-06 21:20:14] Production.ERROR: CronJobId end10
[2025-01-06 21:20:14] Production.INFO: ==29480== Releasing lock...
[2025-01-06 21:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:20:15] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:20:15] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:20:15] Production.INFO: call_cost start
[2025-01-06 21:20:15] Production.INFO: call_cost end
[2025-01-06 21:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:20:16] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:20:16] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:20:16] Production.INFO: ==29476== Releasing lock...
[2025-01-06 21:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:20:20] Production.INFO: count ==1083
[2025-01-06 21:20:20] Production.ERROR: pbx CDR StartTime 2025-01-06 18:20:06 - End Time 2025-01-06 21:20:06
[2025-01-06 21:20:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190268', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190268', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190268', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190268', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:20:20] Production.INFO: ProcessCDR(1,14190268,1,1,2)
[2025-01-06 21:20:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190268,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190268,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190268,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190268,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190268', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190268', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:20:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:20:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:20:23] Production.INFO: ==29484== Releasing lock...
[2025-01-06 21:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:20:23] Production.INFO: 36 MB #Memory Used#
[2025-01-07 02:21:01] Production.INFO: ==29550== Lock acquired, processing the job...
[2025-01-07 02:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:21:01] Production.INFO: neon service started
[2025-01-07 02:21:01] Production.INFO: neon service started
[2025-01-07 02:21:01] Production.INFO: ==29550== Releasing lock...
[2025-01-07 02:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 21:21:01] Production.INFO: ==29552== Lock acquired, processing the job...
[2025-01-06 21:21:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 21:21:02] Production.INFO: ==29552== Releasing lock...
[2025-01-06 21:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:21:02] Production.INFO: ==29554== Lock acquired, processing the job...
[2025-01-07 02:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:21:02] Production.INFO: ==29554== Releasing lock...
[2025-01-07 02:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:21:02] Production.INFO: ==29557== Lock acquired, processing the job...
[2025-01-06 21:21:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:21:03] Production.INFO: ==29559== Lock acquired, processing the job...
[2025-01-06 21:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:21:03] Production.INFO: ==29561== Lock acquired, processing the job...
[2025-01-06 21:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:21:03] Production.INFO: ==29565== Lock acquired, processing the job...
[2025-01-06 21:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:21:03] Production.INFO: ==29563== Lock acquired, processing the job...
[2025-01-06 21:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:21:03] Production.INFO: ==29567== Lock acquired, processing the job...
[2025-01-06 21:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:21:03] Production.INFO: Account Balance Start.
[2025-01-06 21:21:03] Production.INFO: CreateAllLog Start
[2025-01-06 21:21:03] Production.INFO: 117
[2025-01-06 21:21:03] Production.INFO: Date 2024-12-08
[2025-01-06 21:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:21:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:21:03] Production.INFO: Date 2024-12-09
[2025-01-06 21:21:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:21:03] Production.INFO: ==29559== Releasing lock...
[2025-01-06 21:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 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-06 21:21:03] Production.INFO: Date 2024-12-10
[2025-01-06 21:21:03] Production.INFO: count ==21
[2025-01-06 21:21:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:21:03] Production.ERROR: done
[2025-01-06 21:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 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-06 21:21:03] Production.INFO: count ==21
[2025-01-06 21:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190272') start
[2025-01-06 21:21:03] Production.INFO: Date 2024-12-11
[2025-01-06 21:21:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:21:03] Production.ERROR: done
[2025-01-06 21:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190272') end
[2025-01-06 21:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:21:03] Production.INFO: 1
[2025-01-06 21:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:21:03] Production.INFO: Date 2024-12-12
[2025-01-06 21:21:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:21:03] Production.INFO: ==29567== Releasing lock...
[2025-01-06 21:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:21:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:21:03] Production.INFO: Date 2024-12-13
[2025-01-06 21:21:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:21:03] Production.INFO: Date 2024-12-14
[2025-01-06 21:21:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:21:03] Production.INFO: Date 2024-12-15
[2025-01-06 21:21:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:21:03] Production.INFO: Date 2024-12-16
[2025-01-06 21:21:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:21:03] Production.INFO: Date 2024-12-17
[2025-01-06 21:21:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:21:03] Production.INFO: Date 2024-12-18
[2025-01-06 21:21:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:21:04] Production.INFO: Date 2024-12-19
[2025-01-06 21:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:21:04] Production.INFO: Date 2024-12-20
[2025-01-06 21:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:21:04] Production.INFO: Date 2024-12-21
[2025-01-06 21:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:21:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:21:04] Production.INFO: Date 2024-12-23
[2025-01-06 21:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:21:04] Production.INFO: Date 2024-12-24
[2025-01-06 21:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:21:04] Production.INFO: Date 2024-12-25
[2025-01-06 21:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:21:04] Production.INFO: Date 2024-12-26
[2025-01-06 21:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:21:04] Production.INFO: Date 2024-12-27
[2025-01-06 21:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:21:04] Production.INFO: Date 2024-12-28
[2025-01-06 21:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:21:04] Production.INFO: Date 2024-12-29
[2025-01-06 21:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:21:04] Production.INFO: Date 2024-12-30
[2025-01-06 21:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:21:04] Production.INFO: Date 2024-12-31
[2025-01-06 21:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:21:04] Production.INFO: Date 2025-01-01
[2025-01-06 21:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:21:04] Production.INFO: Date 2025-01-02
[2025-01-06 21:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:21:04] Production.INFO: Date 2025-01-03
[2025-01-06 21:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:21:04] Production.INFO: Date 2025-01-04
[2025-01-06 21:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:21:04] Production.INFO: Date 2025-01-05
[2025-01-06 21:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:21:04] Production.INFO: Date 2025-01-06
[2025-01-06 21:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:21:04] Production.INFO: Total Charge 0
[2025-01-06 21:21:04] Production.INFO: CreateAllLog End
[2025-01-06 21:21:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:21:04
[end_date_ymd] => 2025-01-06 21:21:04
[RateCDR] => 1
)
[2025-01-06 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-06 18:21:04' and `end` < '2025-01-06 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-06 21:21:04] Production.INFO: Account Balance End.
[2025-01-06 21:21:04] Production.ERROR: CronJobId end 12
[2025-01-06 21:21:04] Production.INFO: ==29563== Releasing lock...
[2025-01-06 21:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:21:12] Production.ERROR: CronJobId end10
[2025-01-06 21:21:12] Production.INFO: ==29561== Releasing lock...
[2025-01-06 21:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:21:13] Production.INFO: call_cost start
[2025-01-06 21:21:13] Production.INFO: call_cost end
[2025-01-06 21:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:21:14] Production.INFO: ==29557== Releasing lock...
[2025-01-06 21:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:21:18] Production.INFO: count ==1050
[2025-01-06 21:21:18] Production.ERROR: pbx CDR StartTime 2025-01-06 18:21:04 - End Time 2025-01-06 21:21:04
[2025-01-06 21:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190273', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190273', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190273', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190273', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:21:18] Production.INFO: ProcessCDR(1,14190273,1,1,2)
[2025-01-06 21:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190273,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190273,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190273,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190273,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190273', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190273', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:21:21] Production.INFO: ==29565== Releasing lock...
[2025-01-06 21:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:21:21] Production.INFO: 36 MB #Memory Used#
[2025-01-07 02:22:01] Production.INFO: ==29632== Lock acquired, processing the job...
[2025-01-07 02:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:22:01] Production.INFO: neon service started
[2025-01-07 02:22:01] Production.INFO: neon service started
[2025-01-07 02:22:01] Production.INFO: ==29632== Releasing lock...
[2025-01-07 02:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 21:22:02] Production.INFO: ==29634== Lock acquired, processing the job...
[2025-01-06 21:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 21:22:02] Production.INFO: ==29634== Releasing lock...
[2025-01-06 21:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:22:02] Production.INFO: ==29636== Lock acquired, processing the job...
[2025-01-07 02:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:22:02] Production.INFO: ==29636== Releasing lock...
[2025-01-07 02:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:22:03] Production.INFO: ==29644== Lock acquired, processing the job...
[2025-01-06 21:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:22:03] Production.INFO: ==29642== Lock acquired, processing the job...
[2025-01-06 21:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:22:03] Production.INFO: Account Balance Start.
[2025-01-06 21:22:03] Production.INFO: CreateAllLog Start
[2025-01-06 21:22:03] Production.INFO: 117
[2025-01-06 21:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:22:03] Production.INFO: Date 2024-12-08
[2025-01-06 21:22:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:22:03] Production.INFO: ==29638== Lock acquired, processing the job...
[2025-01-06 21:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:22:03] Production.INFO: Date 2024-12-09
[2025-01-06 21:22:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:22:03] Production.INFO: Date 2024-12-10
[2025-01-06 21:22:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:22:03] Production.INFO: ==29640== Lock acquired, processing the job...
[2025-01-06 21:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:22:03] Production.INFO: Date 2024-12-11
[2025-01-06 21:22:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:22:03] Production.INFO: Date 2024-12-12
[2025-01-06 21:22:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:22:03] Production.INFO: Date 2024-12-13
[2025-01-06 21:22:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:22:03] Production.INFO: Date 2024-12-14
[2025-01-06 21:22:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:22:03] Production.INFO: ==29648== Lock acquired, processing the job...
[2025-01-06 21:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:22:03] Production.INFO: ==29646== Lock acquired, processing the job...
[2025-01-06 21:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:22:03] Production.INFO: Date 2024-12-15
[2025-01-06 21:22:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 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-06 21:22:03] Production.INFO: Date 2024-12-16
[2025-01-06 21:22:03] Production.INFO: count ==21
[2025-01-06 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-06 21:22:03] Production.INFO: count ==21
[2025-01-06 21:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190277') start
[2025-01-06 21:22:04] Production.ERROR: done
[2025-01-06 21:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190277') end
[2025-01-06 21:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:22:04] Production.INFO: 1
[2025-01-06 21:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:22:04] Production.INFO: Date 2024-12-17
[2025-01-06 21:22:04] Production.INFO: ==29640== Releasing lock...
[2025-01-06 21:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:22:04] Production.INFO: ==29648== Releasing lock...
[2025-01-06 21:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:22:04] Production.ERROR: done
[2025-01-06 21:22:04] Production.INFO: Date 2024-12-18
[2025-01-06 21:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:22:04] Production.INFO: Date 2024-12-19
[2025-01-06 21:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:22:04] Production.INFO: Date 2024-12-20
[2025-01-06 21:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:22:04] Production.INFO: Date 2024-12-21
[2025-01-06 21:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:22:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:22:04] Production.INFO: Date 2024-12-23
[2025-01-06 21:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:22:04] Production.INFO: Date 2024-12-24
[2025-01-06 21:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:22:04] Production.INFO: Date 2024-12-25
[2025-01-06 21:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:22:04] Production.INFO: Date 2024-12-26
[2025-01-06 21:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:22:04] Production.INFO: Date 2024-12-27
[2025-01-06 21:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:22:04] Production.INFO: Date 2024-12-28
[2025-01-06 21:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:22:04] Production.INFO: Date 2024-12-29
[2025-01-06 21:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:22:05] Production.INFO: Date 2024-12-30
[2025-01-06 21:22:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:22:05] Production.INFO: Date 2024-12-31
[2025-01-06 21:22:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:22:05] Production.INFO: Date 2025-01-01
[2025-01-06 21:22:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:22:05] Production.INFO: Date 2025-01-02
[2025-01-06 21:22:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:22:05] Production.INFO: Date 2025-01-03
[2025-01-06 21:22:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:22:05] Production.INFO: Date 2025-01-04
[2025-01-06 21:22:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:22:05] Production.INFO: Date 2025-01-05
[2025-01-06 21:22:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:22:05] Production.INFO: Date 2025-01-06
[2025-01-06 21:22:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:22:05] Production.INFO: Total Charge 0
[2025-01-06 21:22:05] Production.INFO: CreateAllLog End
[2025-01-06 21:22:05] Production.INFO: Account Balance End.
[2025-01-06 21:22:05] Production.ERROR: CronJobId end 12
[2025-01-06 21:22:05] Production.INFO: ==29644== Releasing lock...
[2025-01-06 21:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:22:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:22:05
[end_date_ymd] => 2025-01-06 21:22:05
[RateCDR] => 1
)
[2025-01-06 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-06 18:22:05' and `end` < '2025-01-06 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-06 21:22:12] Production.ERROR: CronJobId end10
[2025-01-06 21:22:12] Production.INFO: ==29642== Releasing lock...
[2025-01-06 21:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:22:14] Production.INFO: call_cost start
[2025-01-06 21:22:14] Production.INFO: call_cost end
[2025-01-06 21:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:22:14] Production.INFO: ==29638== Releasing lock...
[2025-01-06 21:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:22:19] Production.INFO: count ==1049
[2025-01-06 21:22:19] Production.ERROR: pbx CDR StartTime 2025-01-06 18:22:05 - End Time 2025-01-06 21:22:05
[2025-01-06 21:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190278', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190278', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190278', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190278', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:22:19] Production.INFO: ProcessCDR(1,14190278,1,1,2)
[2025-01-06 21:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190278,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190278,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190278,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190278,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190278', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190278', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:22:22] Production.INFO: ==29646== Releasing lock...
[2025-01-06 21:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:22:22] Production.INFO: 36 MB #Memory Used#
[2025-01-07 02:23:02] Production.INFO: ==29713== Lock acquired, processing the job...
[2025-01-07 02:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:23:02] Production.INFO: neon service started
[2025-01-07 02:23:02] Production.INFO: neon service started
[2025-01-07 02:23:02] Production.INFO: ==29713== Releasing lock...
[2025-01-07 02:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:23:02] Production.INFO: ==29717== Lock acquired, processing the job...
[2025-01-07 02:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-06 21:23:02] Production.INFO: ==29715== Lock acquired, processing the job...
[2025-01-06 21:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:23:02] Production.INFO: ==29717== Releasing lock...
[2025-01-07 02:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:23:03] Production.INFO: ==29715== Releasing lock...
[2025-01-06 21:23:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:23:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 21:23:03] Production.INFO: ==29724== Lock acquired, processing the job...
[2025-01-06 21:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:23:04] Production.INFO: ==29728== Lock acquired, processing the job...
[2025-01-06 21:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:23:04] Production.INFO: ==29720== Lock acquired, processing the job...
[2025-01-06 21:23:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:23:04] Production.INFO: ==29722== Lock acquired, processing the job...
[2025-01-06 21:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:23:04] Production.INFO: ==29726== Lock acquired, processing the job...
[2025-01-06 21:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:23:04] Production.INFO: ==29730== Lock acquired, processing the job...
[2025-01-06 21:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:23:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:23:04] Production.INFO: Account Balance Start.
[2025-01-06 21:23:04] Production.INFO: CreateAllLog Start
[2025-01-06 21:23:04] Production.INFO: 117
[2025-01-06 21:23:04] Production.ERROR: done
[2025-01-06 21:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:23:04] Production.INFO: Date 2024-12-08
[2025-01-06 21:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:23:04] Production.INFO: count ==21
[2025-01-06 21:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:23:04] Production.INFO: count ==21
[2025-01-06 21:23:04] Production.ERROR: done
[2025-01-06 21:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190282') start
[2025-01-06 21:23:04] Production.INFO: Date 2024-12-09
[2025-01-06 21:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:23:04] Production.INFO: ==29722== Releasing lock...
[2025-01-06 21:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:23:04] Production.INFO: Date 2024-12-10
[2025-01-06 21:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:23:04] Production.INFO: Date 2024-12-11
[2025-01-06 21:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190282') end
[2025-01-06 21:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:23:04] Production.INFO: 1
[2025-01-06 21:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:23:04] Production.INFO: Date 2024-12-12
[2025-01-06 21:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:23:04] Production.INFO: ==29730== Releasing lock...
[2025-01-06 21:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:23:04] Production.INFO: Date 2024-12-13
[2025-01-06 21:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:23:05] Production.INFO: Date 2024-12-14
[2025-01-06 21:23:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:23:05] Production.INFO: Date 2024-12-15
[2025-01-06 21:23:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:23:05] Production.INFO: Date 2024-12-16
[2025-01-06 21:23:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:23:05] Production.INFO: Date 2024-12-17
[2025-01-06 21:23:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:23:05] Production.INFO: Date 2024-12-18
[2025-01-06 21:23:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:23:05] Production.INFO: Date 2024-12-19
[2025-01-06 21:23:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:23:05] Production.INFO: Date 2024-12-20
[2025-01-06 21:23:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:23:05] Production.INFO: Date 2024-12-21
[2025-01-06 21:23:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:23:05] Production.INFO: Date 2024-12-22
[2025-01-06 21:23:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:23:05] Production.INFO: Date 2024-12-23
[2025-01-06 21:23:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:23:05] Production.INFO: Date 2024-12-24
[2025-01-06 21:23:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:23:05] Production.INFO: Date 2024-12-25
[2025-01-06 21:23:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:23:05] Production.INFO: Date 2024-12-26
[2025-01-06 21:23:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:23:05] Production.INFO: Date 2024-12-27
[2025-01-06 21:23:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:23:05] Production.INFO: Date 2024-12-28
[2025-01-06 21:23:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:23:05] Production.INFO: Date 2024-12-29
[2025-01-06 21:23:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:23:05] Production.INFO: Date 2024-12-30
[2025-01-06 21:23:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:23:05] Production.INFO: Date 2024-12-31
[2025-01-06 21:23:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:23:05] Production.INFO: Date 2025-01-01
[2025-01-06 21:23:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:23:05] Production.INFO: Date 2025-01-02
[2025-01-06 21:23:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:23:05] Production.INFO: Date 2025-01-03
[2025-01-06 21:23:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:23:05] Production.INFO: Date 2025-01-04
[2025-01-06 21:23:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:23:05] Production.INFO: Date 2025-01-05
[2025-01-06 21:23:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:23:05] Production.INFO: Date 2025-01-06
[2025-01-06 21:23:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:23:05] Production.INFO: Total Charge 0
[2025-01-06 21:23:05] Production.INFO: CreateAllLog End
[2025-01-06 21:23:06] Production.INFO: Account Balance End.
[2025-01-06 21:23:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:23:06
[end_date_ymd] => 2025-01-06 21:23:06
[RateCDR] => 1
)
[2025-01-06 21:23:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 18:23:06' and `end` < '2025-01-06 21:23:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 21:23:06] Production.ERROR: CronJobId end 12
[2025-01-06 21:23:06] Production.INFO: ==29726== Releasing lock...
[2025-01-06 21:23:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:23:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:23:12] Production.ERROR: CronJobId end10
[2025-01-06 21:23:12] Production.INFO: ==29724== Releasing lock...
[2025-01-06 21:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:23:13] Production.INFO: call_cost start
[2025-01-06 21:23:13] Production.INFO: call_cost end
[2025-01-06 21:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:23:14] Production.INFO: ==29720== Releasing lock...
[2025-01-06 21:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:23:21] Production.INFO: count ==1048
[2025-01-06 21:23:21] Production.ERROR: pbx CDR StartTime 2025-01-06 18:23:06 - End Time 2025-01-06 21:23:06
[2025-01-06 21:23:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190283', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190283', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190283', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190283', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:23:21] Production.INFO: ProcessCDR(1,14190283,1,1,2)
[2025-01-06 21:23:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190283,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:23:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190283,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:23:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190283,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:23:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190283,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:23:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190283', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:23:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190283', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:23:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:23:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:23:26] Production.INFO: ==29728== Releasing lock...
[2025-01-06 21:23:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:23:26] Production.INFO: 35.75 MB #Memory Used#
[2025-01-07 02:24:01] Production.INFO: ==29791== Lock acquired, processing the job...
[2025-01-07 02:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:24:01] Production.INFO: neon service started
[2025-01-07 02:24:01] Production.INFO: neon service started
[2025-01-07 02:24:01] Production.INFO: ==29791== Releasing lock...
[2025-01-07 02:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 21:24:02] Production.INFO: ==29793== Lock acquired, processing the job...
[2025-01-06 21:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 21:24:02] Production.INFO: ==29793== Releasing lock...
[2025-01-06 21:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:24:02] Production.INFO: ==29795== Lock acquired, processing the job...
[2025-01-07 02:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:24:02] Production.INFO: ==29795== Releasing lock...
[2025-01-07 02:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:24:03] Production.INFO: ==29806== Lock acquired, processing the job...
[2025-01-06 21:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:24:03] Production.INFO: ==29808== Lock acquired, processing the job...
[2025-01-06 21:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:24:03] Production.INFO: ==29804== Lock acquired, processing the job...
[2025-01-06 21:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:24:03] Production.INFO: ==29799== Lock acquired, processing the job...
[2025-01-06 21:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 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-06 21:24:03] Production.INFO: ==29797== Lock acquired, processing the job...
[2025-01-06 21:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:24:03] Production.INFO: ==29802== Lock acquired, processing the job...
[2025-01-06 21:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:24:03] Production.INFO: count ==21
[2025-01-06 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-06 21:24:03] Production.INFO: count ==21
[2025-01-06 21:24:03] Production.INFO: Account Balance Start.
[2025-01-06 21:24:03] Production.INFO: CreateAllLog Start
[2025-01-06 21:24:03] Production.INFO: 117
[2025-01-06 21:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190284') start
[2025-01-06 21:24:03] Production.INFO: Date 2024-12-08
[2025-01-06 21:24:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:24:03] Production.INFO: Date 2024-12-09
[2025-01-06 21:24:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:24:03] Production.ERROR: done
[2025-01-06 21:24:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:24:03] Production.INFO: Date 2024-12-10
[2025-01-06 21:24:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:24:03] Production.INFO: Date 2024-12-11
[2025-01-06 21:24:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190284') end
[2025-01-06 21:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:24:03] Production.INFO: 1
[2025-01-06 21:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:24:03] Production.INFO: Date 2024-12-12
[2025-01-06 21:24:03] Production.INFO: ==29808== Releasing lock...
[2025-01-06 21:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:24:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:24:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:24:04] Production.INFO: Date 2024-12-13
[2025-01-06 21:24:04] Production.ERROR: done
[2025-01-06 21:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:24:04] Production.INFO: Date 2024-12-14
[2025-01-06 21:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:24:04] Production.INFO: ==29799== Releasing lock...
[2025-01-06 21:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:24:04] Production.INFO: Date 2024-12-15
[2025-01-06 21:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:24:04] Production.INFO: Date 2024-12-16
[2025-01-06 21:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:24:04] Production.INFO: Date 2024-12-17
[2025-01-06 21:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:24:04] Production.INFO: Date 2024-12-18
[2025-01-06 21:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:24:04] Production.INFO: Date 2024-12-19
[2025-01-06 21:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:24:04] Production.INFO: Date 2024-12-20
[2025-01-06 21:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:24:04] Production.INFO: Date 2024-12-21
[2025-01-06 21:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:24:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:24:04] Production.INFO: Date 2024-12-23
[2025-01-06 21:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:24:04] Production.INFO: Date 2024-12-24
[2025-01-06 21:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:24:04] Production.INFO: Date 2024-12-25
[2025-01-06 21:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:24:04] Production.INFO: Date 2024-12-26
[2025-01-06 21:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:24:04] Production.INFO: Date 2024-12-27
[2025-01-06 21:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:24:04] Production.INFO: Date 2024-12-28
[2025-01-06 21:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:24:04] Production.INFO: Date 2024-12-29
[2025-01-06 21:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:24:04] Production.INFO: Date 2024-12-30
[2025-01-06 21:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:24:04] Production.INFO: Date 2024-12-31
[2025-01-06 21:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:24:04] Production.INFO: Date 2025-01-01
[2025-01-06 21:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:24:04] Production.INFO: Date 2025-01-02
[2025-01-06 21:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:24:04] Production.INFO: Date 2025-01-03
[2025-01-06 21:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:24:04] Production.INFO: Date 2025-01-04
[2025-01-06 21:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:24:04] Production.INFO: Date 2025-01-05
[2025-01-06 21:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:24:04] Production.INFO: Date 2025-01-06
[2025-01-06 21:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:24:04] Production.INFO: Total Charge 0
[2025-01-06 21:24:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:24:04
[end_date_ymd] => 2025-01-06 21:24:04
[RateCDR] => 1
)
[2025-01-06 21:24:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 18:24:04' and `end` < '2025-01-06 21:24:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 21:24:04] Production.INFO: CreateAllLog End
[2025-01-06 21:24:05] Production.INFO: Account Balance End.
[2025-01-06 21:24:05] Production.ERROR: CronJobId end 12
[2025-01-06 21:24:05] Production.INFO: ==29804== Releasing lock...
[2025-01-06 21:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:24:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:24:12] Production.ERROR: CronJobId end10
[2025-01-06 21:24:12] Production.INFO: ==29802== Releasing lock...
[2025-01-06 21:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:24:13] Production.INFO: call_cost start
[2025-01-06 21:24:13] Production.INFO: call_cost end
[2025-01-06 21:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:24:14] Production.INFO: ==29797== Releasing lock...
[2025-01-06 21:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:24:17] Production.INFO: count ==1048
[2025-01-06 21:24:18] Production.ERROR: pbx CDR StartTime 2025-01-06 18:24:04 - End Time 2025-01-06 21:24:04
[2025-01-06 21:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190288', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190288', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190288', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190288', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:24:18] Production.INFO: ProcessCDR(1,14190288,1,1,2)
[2025-01-06 21:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190288,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190288,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190288,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190288,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190288', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190288', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:24:22] Production.INFO: ==29806== Releasing lock...
[2025-01-06 21:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:24:22] Production.INFO: 35.75 MB #Memory Used#
[2025-01-07 02:25:02] Production.INFO: ==29873== Lock acquired, processing the job...
[2025-01-07 02:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:25:02] Production.INFO: neon service started
[2025-01-07 02:25:02] Production.INFO: neon service started
[2025-01-07 02:25:02] Production.INFO: ==29873== Releasing lock...
[2025-01-07 02:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:25:02] Production.INFO: ==29877== Lock acquired, processing the job...
[2025-01-07 02:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:25:02] Production.INFO: ==29877== Releasing lock...
[2025-01-07 02:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:25:02] Production.INFO: ==29875== Lock acquired, processing the job...
[2025-01-06 21:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 21:25:03] Production.INFO: ==29875== Releasing lock...
[2025-01-06 21:25:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:25:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 21:25:03] Production.INFO: ==29883== Lock acquired, processing the job...
[2025-01-06 21:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:25:03] Production.INFO: ==29888== Lock acquired, processing the job...
[2025-01-06 21:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:25:04] Production.INFO: ==29879== Lock acquired, processing the job...
[2025-01-06 21:25:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:25:04] Production.INFO: ==29881== Lock acquired, processing the job...
[2025-01-06 21:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:25:04] Production.INFO: ==29885== Lock acquired, processing the job...
[2025-01-06 21:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:25:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:25:04] Production.INFO: ==29890== Lock acquired, processing the job...
[2025-01-06 21:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:25:04] Production.INFO: Account Balance Start.
[2025-01-06 21:25:04] Production.INFO: CreateAllLog Start
[2025-01-06 21:25:04] Production.INFO: 117
[2025-01-06 21:25:04] Production.INFO: Date 2024-12-08
[2025-01-06 21:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:25:04] Production.INFO: Date 2024-12-09
[2025-01-06 21:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:25:04] Production.ERROR: done
[2025-01-06 21:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:25:04] Production.INFO: Date 2024-12-10
[2025-01-06 21:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:25:04] Production.INFO: count ==21
[2025-01-06 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-06 21:25:04] Production.INFO: count ==21
[2025-01-06 21:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190292') start
[2025-01-06 21:25:04] Production.INFO: ==29881== Releasing lock...
[2025-01-06 21:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:25:04] Production.ERROR: done
[2025-01-06 21:25:04] Production.INFO: Date 2024-12-11
[2025-01-06 21:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:25:04] Production.INFO: Date 2024-12-12
[2025-01-06 21:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:25:04] Production.INFO: Date 2024-12-13
[2025-01-06 21:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:25:04] Production.INFO: Date 2024-12-14
[2025-01-06 21:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190292') end
[2025-01-06 21:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:25:04] Production.INFO: 1
[2025-01-06 21:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:25:04] Production.INFO: ==29890== Releasing lock...
[2025-01-06 21:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:25:04] Production.INFO: Date 2024-12-15
[2025-01-06 21:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:25:04] Production.INFO: Date 2024-12-16
[2025-01-06 21:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:25:04] Production.INFO: Date 2024-12-17
[2025-01-06 21:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:25:04] Production.INFO: Date 2024-12-18
[2025-01-06 21:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:25:04] Production.INFO: Date 2024-12-19
[2025-01-06 21:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:25:05] Production.INFO: Date 2024-12-20
[2025-01-06 21:25:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:25:05] Production.INFO: Date 2024-12-21
[2025-01-06 21:25:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:25:05] Production.INFO: Date 2024-12-22
[2025-01-06 21:25:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:25:05] Production.INFO: Date 2024-12-23
[2025-01-06 21:25:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:25:05] Production.INFO: Date 2024-12-24
[2025-01-06 21:25:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:25:05] Production.INFO: Date 2024-12-25
[2025-01-06 21:25:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:25:05] Production.INFO: Date 2024-12-26
[2025-01-06 21:25:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:25:05] Production.INFO: Date 2024-12-27
[2025-01-06 21:25:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:25:05] Production.INFO: Date 2024-12-28
[2025-01-06 21:25:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:25:05] Production.INFO: Date 2024-12-29
[2025-01-06 21:25:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:25:05] Production.INFO: Date 2024-12-30
[2025-01-06 21:25:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:25:05] Production.INFO: Date 2024-12-31
[2025-01-06 21:25:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:25:05] Production.INFO: Date 2025-01-01
[2025-01-06 21:25:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:25:05] Production.INFO: Date 2025-01-02
[2025-01-06 21:25:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:25:05] Production.INFO: Date 2025-01-03
[2025-01-06 21:25:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:25:05
[end_date_ymd] => 2025-01-06 21:25:05
[RateCDR] => 1
)
[2025-01-06 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-06 18:25:05' and `end` < '2025-01-06 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-06 21:25:05] Production.INFO: Date 2025-01-04
[2025-01-06 21:25:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:25:05] Production.INFO: Date 2025-01-05
[2025-01-06 21:25:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:25:05] Production.INFO: Date 2025-01-06
[2025-01-06 21:25:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:25:05] Production.INFO: Total Charge 0
[2025-01-06 21:25:05] Production.INFO: CreateAllLog End
[2025-01-06 21:25:05] Production.INFO: Account Balance End.
[2025-01-06 21:25:05] Production.ERROR: CronJobId end 12
[2025-01-06 21:25:05] Production.INFO: ==29885== Releasing lock...
[2025-01-06 21:25:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:25:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:25:12] Production.ERROR: CronJobId end10
[2025-01-06 21:25:12] Production.INFO: ==29883== Releasing lock...
[2025-01-06 21:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:25:13] Production.INFO: call_cost start
[2025-01-06 21:25:13] Production.INFO: call_cost end
[2025-01-06 21:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:25:14] Production.INFO: ==29879== Releasing lock...
[2025-01-06 21:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:25:18] Production.INFO: count ==1062
[2025-01-06 21:25:18] Production.ERROR: pbx CDR StartTime 2025-01-06 18:25:05 - End Time 2025-01-06 21:25:05
[2025-01-06 21:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190293', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190293', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190293', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190293', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:25:18] Production.INFO: ProcessCDR(1,14190293,1,1,2)
[2025-01-06 21:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190293,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190293,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190293,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190293,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190293', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190293', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:25:21] Production.INFO: ==29888== Releasing lock...
[2025-01-06 21:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:25:21] Production.INFO: 35.75 MB #Memory Used#
[2025-01-07 02:26:01] Production.INFO: ==29953== Lock acquired, processing the job...
[2025-01-07 02:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:26:01] Production.INFO: neon service started
[2025-01-07 02:26:01] Production.INFO: neon service started
[2025-01-07 02:26:01] Production.INFO: ==29953== Releasing lock...
[2025-01-07 02:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 21:26:02] Production.INFO: ==29955== Lock acquired, processing the job...
[2025-01-06 21:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:26:02] Production.INFO: ==29957== Lock acquired, processing the job...
[2025-01-07 02:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:26:02] Production.INFO: ==29957== Releasing lock...
[2025-01-07 02:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:26:02] Production.INFO: ==29955== Releasing lock...
[2025-01-06 21:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 21:26:03] Production.INFO: ==29966== Lock acquired, processing the job...
[2025-01-06 21:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:26:03] Production.INFO: Account Balance Start.
[2025-01-06 21:26:03] Production.INFO: CreateAllLog Start
[2025-01-06 21:26:03] Production.INFO: 117
[2025-01-06 21:26:03] Production.INFO: Date 2024-12-08
[2025-01-06 21:26:03] Production.INFO: ==29970== Lock acquired, processing the job...
[2025-01-06 21:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:26:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:26:03] Production.INFO: Date 2024-12-09
[2025-01-06 21:26:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:26:03] Production.INFO: Date 2024-12-10
[2025-01-06 21:26:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:26:03] Production.INFO: Date 2024-12-11
[2025-01-06 21:26:03] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 21:26:03] Production.INFO: count ==21
[2025-01-06 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-06 21:26:03] Production.INFO: Date 2024-12-12
[2025-01-06 21:26:03] Production.INFO: count ==21
[2025-01-06 21:26:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190295') start
[2025-01-06 21:26:03] Production.INFO: ==29964== Lock acquired, processing the job...
[2025-01-06 21:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:26:03] Production.INFO: ==29962== Lock acquired, processing the job...
[2025-01-06 21:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:26:03] Production.INFO: ==29960== Lock acquired, processing the job...
[2025-01-06 21:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:26:03] Production.INFO: ==29968== Lock acquired, processing the job...
[2025-01-06 21:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:26:03] Production.INFO: Date 2024-12-13
[2025-01-06 21:26:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:26:03] Production.INFO: Date 2024-12-14
[2025-01-06 21:26:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190295') end
[2025-01-06 21:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:26:03] Production.INFO: 1
[2025-01-06 21:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:26:03] Production.INFO: Date 2024-12-15
[2025-01-06 21:26:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:26:03] Production.INFO: Date 2024-12-16
[2025-01-06 21:26:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:26:03] Production.INFO: ==29970== Releasing lock...
[2025-01-06 21:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:26:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:26:03] Production.INFO: Date 2024-12-17
[2025-01-06 21:26:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:26:03] Production.INFO: Date 2024-12-18
[2025-01-06 21:26:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:26:03] Production.INFO: Date 2024-12-19
[2025-01-06 21:26:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:26:04] Production.ERROR: done
[2025-01-06 21:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:26:04] Production.INFO: Date 2024-12-20
[2025-01-06 21:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:26:04] Production.INFO: Date 2024-12-21
[2025-01-06 21:26:04] Production.INFO: ==29962== Releasing lock...
[2025-01-06 21:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:26:04] Production.ERROR: done
[2025-01-06 21:26:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:26:04] Production.INFO: Date 2024-12-23
[2025-01-06 21:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:26:04] Production.INFO: Date 2024-12-24
[2025-01-06 21:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:26:04] Production.INFO: Date 2024-12-25
[2025-01-06 21:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:26:04] Production.INFO: Date 2024-12-26
[2025-01-06 21:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:26:04] Production.INFO: Date 2024-12-27
[2025-01-06 21:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:26:04] Production.INFO: Date 2024-12-28
[2025-01-06 21:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:26:04] Production.INFO: Date 2024-12-29
[2025-01-06 21:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:26:04] Production.INFO: Date 2024-12-30
[2025-01-06 21:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:26:04] Production.INFO: Date 2024-12-31
[2025-01-06 21:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:26:04] Production.INFO: Date 2025-01-01
[2025-01-06 21:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:26:04] Production.INFO: Date 2025-01-02
[2025-01-06 21:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:26:04] Production.INFO: Date 2025-01-03
[2025-01-06 21:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:26:04] Production.INFO: Date 2025-01-04
[2025-01-06 21:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:26:04] Production.INFO: Date 2025-01-05
[2025-01-06 21:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:26:04] Production.INFO: Date 2025-01-06
[2025-01-06 21:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:26:04] Production.INFO: Total Charge 0
[2025-01-06 21:26:04] Production.INFO: CreateAllLog End
[2025-01-06 21:26:04] Production.INFO: Account Balance End.
[2025-01-06 21:26:04] Production.ERROR: CronJobId end 12
[2025-01-06 21:26:04] Production.INFO: ==29966== Releasing lock...
[2025-01-06 21:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:26:05
[end_date_ymd] => 2025-01-06 21:26:05
[RateCDR] => 1
)
[2025-01-06 21:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 18:26:05' and `end` < '2025-01-06 21:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 21:26:11] Production.ERROR: CronJobId end10
[2025-01-06 21:26:11] Production.INFO: ==29964== Releasing lock...
[2025-01-06 21:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:26:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:26:12] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:26:12] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:26:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:26:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:26:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:26:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:26:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:26:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:26:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:26:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:26:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:26:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:26:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:26:13] Production.INFO: call_cost start
[2025-01-06 21:26:13] Production.INFO: call_cost end
[2025-01-06 21:26:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:26:13] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:26:13] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:26:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:26:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:26:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:26:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:26:13] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:26:13] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:26:13] Production.INFO: ==29960== Releasing lock...
[2025-01-06 21:26:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:26:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:26:19] Production.INFO: count ==1060
[2025-01-06 21:26:19] Production.ERROR: pbx CDR StartTime 2025-01-06 18:26:05 - End Time 2025-01-06 21:26:05
[2025-01-06 21:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190298', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190298', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190298', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190298', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:26:19] Production.INFO: ProcessCDR(1,14190298,1,1,2)
[2025-01-06 21:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190298,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190298,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190298,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190298,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190298', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190298', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:26:22] Production.INFO: ==29968== Releasing lock...
[2025-01-06 21:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:26:22] Production.INFO: 35.75 MB #Memory Used#
[2025-01-07 02:27:02] Production.INFO: ==30033== Lock acquired, processing the job...
[2025-01-07 02:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:27:02] Production.INFO: neon service started
[2025-01-07 02:27:02] Production.INFO: neon service started
[2025-01-07 02:27:02] Production.INFO: ==30033== Releasing lock...
[2025-01-07 02:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:27:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-06 21:27:02] Production.INFO: ==30035== Lock acquired, processing the job...
[2025-01-06 21:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 21:27:02] Production.INFO: ==30035== Releasing lock...
[2025-01-06 21:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:27:03] Production.INFO: ==30037== Lock acquired, processing the job...
[2025-01-07 02:27:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:27:03] Production.INFO: ==30037== Releasing lock...
[2025-01-07 02:27:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:27:03] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:27:03] Production.INFO: ==30039== Lock acquired, processing the job...
[2025-01-06 21:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:27:03] Production.INFO: ==30045== Lock acquired, processing the job...
[2025-01-06 21:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:27:03] Production.INFO: ==30041== Lock acquired, processing the job...
[2025-01-06 21:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:27:03] Production.INFO: ==30047== Lock acquired, processing the job...
[2025-01-06 21:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:27:03] Production.INFO: ==30043== Lock acquired, processing the job...
[2025-01-06 21:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:27:03] Production.INFO: Account Balance Start.
[2025-01-06 21:27:03] Production.INFO: CreateAllLog Start
[2025-01-06 21:27:03] Production.INFO: 117
[2025-01-06 21:27:03] Production.INFO: Date 2024-12-08
[2025-01-06 21:27:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:27:03] Production.INFO: Date 2024-12-09
[2025-01-06 21:27:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:27:04] Production.INFO: ==30049== Lock acquired, processing the job...
[2025-01-06 21:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:27:04] Production.INFO: Date 2024-12-10
[2025-01-06 21:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:27:04] Production.INFO: Date 2024-12-11
[2025-01-06 21:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 21:27:04] Production.INFO: Date 2024-12-12
[2025-01-06 21:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:27:04] Production.INFO: count ==21
[2025-01-06 21:27:04] Production.INFO: ==30041== Releasing lock...
[2025-01-06 21:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 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-06 21:27:04] Production.INFO: count ==21
[2025-01-06 21:27:04] Production.INFO: Date 2024-12-13
[2025-01-06 21:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190302') start
[2025-01-06 21:27:04] Production.ERROR: done
[2025-01-06 21:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:27:04] Production.INFO: Date 2024-12-14
[2025-01-06 21:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:27:04] Production.ERROR: done
[2025-01-06 21:27:04] Production.INFO: Date 2024-12-15
[2025-01-06 21:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190302') end
[2025-01-06 21:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:27:04] Production.INFO: 1
[2025-01-06 21:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:27:04] Production.INFO: Date 2024-12-16
[2025-01-06 21:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:27:04] Production.INFO: ==30049== Releasing lock...
[2025-01-06 21:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:27:04] Production.INFO: Date 2024-12-17
[2025-01-06 21:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:27:04] Production.INFO: Date 2024-12-18
[2025-01-06 21:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:27:04] Production.INFO: Date 2024-12-19
[2025-01-06 21:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:27:04] Production.INFO: Date 2024-12-20
[2025-01-06 21:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:27:04] Production.INFO: Date 2024-12-21
[2025-01-06 21:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:27:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:27:04] Production.INFO: Date 2024-12-23
[2025-01-06 21:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:27:04] Production.INFO: Date 2024-12-24
[2025-01-06 21:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:27:04] Production.INFO: Date 2024-12-25
[2025-01-06 21:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:27:04] Production.INFO: Date 2024-12-26
[2025-01-06 21:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:27:05] Production.INFO: Date 2024-12-27
[2025-01-06 21:27:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:27:05] Production.INFO: Date 2024-12-28
[2025-01-06 21:27:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:27:05] Production.INFO: Date 2024-12-29
[2025-01-06 21:27:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:27:05] Production.INFO: Date 2024-12-30
[2025-01-06 21:27:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:27:05] Production.INFO: Date 2024-12-31
[2025-01-06 21:27:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:27:05] Production.INFO: Date 2025-01-01
[2025-01-06 21:27:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:27:05] Production.INFO: Date 2025-01-02
[2025-01-06 21:27:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:27:05] Production.INFO: Date 2025-01-03
[2025-01-06 21:27:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:27:05] Production.INFO: Date 2025-01-04
[2025-01-06 21:27:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:27:05] Production.INFO: Date 2025-01-05
[2025-01-06 21:27:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:27:05] Production.INFO: Date 2025-01-06
[2025-01-06 21:27:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:27:05] Production.INFO: Total Charge 0
[2025-01-06 21:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:27:05
[end_date_ymd] => 2025-01-06 21:27:05
[RateCDR] => 1
)
[2025-01-06 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-06 18:27:05' and `end` < '2025-01-06 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-06 21:27:05] Production.INFO: CreateAllLog End
[2025-01-06 21:27:05] Production.INFO: Account Balance End.
[2025-01-06 21:27:05] Production.ERROR: CronJobId end 12
[2025-01-06 21:27:05] Production.INFO: ==30045== Releasing lock...
[2025-01-06 21:27:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:27:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:27:12] Production.ERROR: CronJobId end10
[2025-01-06 21:27:12] Production.INFO: ==30043== Releasing lock...
[2025-01-06 21:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:27:13] Production.INFO: call_cost start
[2025-01-06 21:27:13] Production.INFO: call_cost end
[2025-01-06 21:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:27:14] Production.INFO: ==30039== Releasing lock...
[2025-01-06 21:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:27:18] Production.INFO: count ==1045
[2025-01-06 21:27:18] Production.ERROR: pbx CDR StartTime 2025-01-06 18:27:05 - End Time 2025-01-06 21:27:05
[2025-01-06 21:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190303', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190303', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190303', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190303', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:27:18] Production.INFO: ProcessCDR(1,14190303,1,1,2)
[2025-01-06 21:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190303,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190303,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190303,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190303,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190303', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190303', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:27:21] Production.INFO: ==30047== Releasing lock...
[2025-01-06 21:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:27:21] Production.INFO: 36 MB #Memory Used#
[2025-01-07 02:28:01] Production.INFO: ==30114== Lock acquired, processing the job...
[2025-01-07 02:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:28:01] Production.INFO: neon service started
[2025-01-07 02:28:01] Production.INFO: neon service started
[2025-01-07 02:28:01] Production.INFO: ==30114== Releasing lock...
[2025-01-07 02:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 21:28:02] Production.INFO: ==30116== Lock acquired, processing the job...
[2025-01-06 21:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 21:28:02] Production.INFO: ==30116== Releasing lock...
[2025-01-06 21:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:28:02] Production.INFO: ==30118== Lock acquired, processing the job...
[2025-01-07 02:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:28:02] Production.INFO: ==30118== Releasing lock...
[2025-01-07 02:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:28:03] Production.INFO: ==30122== Lock acquired, processing the job...
[2025-01-06 21:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:28:03] Production.INFO: ==30120== Lock acquired, processing the job...
[2025-01-06 21:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:28:03] Production.INFO: ==30131== Lock acquired, processing the job...
[2025-01-06 21:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:28:03] Production.INFO: ==30128== Lock acquired, processing the job...
[2025-01-06 21:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:28:03] Production.INFO: ==30124== Lock acquired, processing the job...
[2025-01-06 21:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 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-06 21:28:03] Production.INFO: ==30126== Lock acquired, processing the job...
[2025-01-06 21:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:28:03] Production.INFO: count ==21
[2025-01-06 21:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 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-06 21:28:03] Production.INFO: count ==21
[2025-01-06 21:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190305') start
[2025-01-06 21:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:28:03] Production.INFO: ==30122== Releasing lock...
[2025-01-06 21:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190305') end
[2025-01-06 21:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:28:03] Production.INFO: 1
[2025-01-06 21:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:28:03] Production.INFO: Account Balance Start.
[2025-01-06 21:28:03] Production.INFO: CreateAllLog Start
[2025-01-06 21:28:03] Production.INFO: 117
[2025-01-06 21:28:03] Production.INFO: Date 2024-12-08
[2025-01-06 21:28:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:28:03] Production.INFO: Date 2024-12-09
[2025-01-06 21:28:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:28:03] Production.INFO: Date 2024-12-10
[2025-01-06 21:28:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:28:03] Production.INFO: Date 2024-12-11
[2025-01-06 21:28:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:28:03] Production.INFO: Date 2024-12-12
[2025-01-06 21:28:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:28:03] Production.INFO: ==30131== Releasing lock...
[2025-01-06 21:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:28:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:28:03] Production.ERROR: done
[2025-01-06 21:28:03] Production.INFO: Date 2024-12-13
[2025-01-06 21:28:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:28:03] Production.INFO: Date 2024-12-14
[2025-01-06 21:28:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:28:03] Production.INFO: Date 2024-12-15
[2025-01-06 21:28:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:28:03] Production.INFO: Date 2024-12-16
[2025-01-06 21:28:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:28:03] Production.INFO: Date 2024-12-17
[2025-01-06 21:28:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:28:04] Production.ERROR: done
[2025-01-06 21:28:04] Production.INFO: Date 2024-12-18
[2025-01-06 21:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:28:04] Production.INFO: Date 2024-12-19
[2025-01-06 21:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:28:04] Production.INFO: Date 2024-12-20
[2025-01-06 21:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:28:04] Production.INFO: Date 2024-12-21
[2025-01-06 21:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:28:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:28:04] Production.INFO: Date 2024-12-23
[2025-01-06 21:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:28:04] Production.INFO: Date 2024-12-24
[2025-01-06 21:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:28:04] Production.INFO: Date 2024-12-25
[2025-01-06 21:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:28:04] Production.INFO: Date 2024-12-26
[2025-01-06 21:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:28:04] Production.INFO: Date 2024-12-27
[2025-01-06 21:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:28:04] Production.INFO: Date 2024-12-28
[2025-01-06 21:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:28:04] Production.INFO: Date 2024-12-29
[2025-01-06 21:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:28:04] Production.INFO: Date 2024-12-30
[2025-01-06 21:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:28:04] Production.INFO: Date 2024-12-31
[2025-01-06 21:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:28:04] Production.INFO: Date 2025-01-01
[2025-01-06 21:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:28:04] Production.INFO: Date 2025-01-02
[2025-01-06 21:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:28:04] Production.INFO: Date 2025-01-03
[2025-01-06 21:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:28:04] Production.INFO: Date 2025-01-04
[2025-01-06 21:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:28:04] Production.INFO: Date 2025-01-05
[2025-01-06 21:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:28:04] Production.INFO: Date 2025-01-06
[2025-01-06 21:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:28:04] Production.INFO: Total Charge 0
[2025-01-06 21:28:04] Production.INFO: CreateAllLog End
[2025-01-06 21:28:04] Production.INFO: Account Balance End.
[2025-01-06 21:28:04] Production.ERROR: CronJobId end 12
[2025-01-06 21:28:04] Production.INFO: ==30126== Releasing lock...
[2025-01-06 21:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:28:05
[end_date_ymd] => 2025-01-06 21:28:05
[RateCDR] => 1
)
[2025-01-06 21:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 18:28:05' and `end` < '2025-01-06 21:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 21:28:11] Production.ERROR: CronJobId end10
[2025-01-06 21:28:11] Production.INFO: ==30124== Releasing lock...
[2025-01-06 21:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:28:13] Production.INFO: call_cost start
[2025-01-06 21:28:13] Production.INFO: call_cost end
[2025-01-06 21:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:28:14] Production.INFO: ==30120== Releasing lock...
[2025-01-06 21:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:28:18] Production.INFO: count ==1055
[2025-01-06 21:28:18] Production.ERROR: pbx CDR StartTime 2025-01-06 18:28:05 - End Time 2025-01-06 21:28:05
[2025-01-06 21:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190308', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190308', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190308', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190308', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:28:18] Production.INFO: ProcessCDR(1,14190308,1,1,2)
[2025-01-06 21:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190308,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190308,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190308,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190308,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190308', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190308', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:28:21] Production.INFO: ==30128== Releasing lock...
[2025-01-06 21:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:28:21] Production.INFO: 36 MB #Memory Used#
[2025-01-07 02:29:02] Production.INFO: ==30226== Lock acquired, processing the job...
[2025-01-07 02:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:29:02] Production.INFO: neon service started
[2025-01-07 02:29:02] Production.INFO: neon service started
[2025-01-07 02:29:02] Production.INFO: ==30226== Releasing lock...
[2025-01-07 02:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 21:29:02] Production.INFO: ==30228== Lock acquired, processing the job...
[2025-01-06 21:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:29:02] Production.INFO: ==30230== Lock acquired, processing the job...
[2025-01-07 02:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-06 21:29:02] Production.INFO: ==30228== Releasing lock...
[2025-01-06 21:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:29:02] Production.INFO: ==30230== Releasing lock...
[2025-01-07 02:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:29:03] Production.INFO: ==30243== Lock acquired, processing the job...
[2025-01-06 21:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:29:03] Production.INFO: ==30239== Lock acquired, processing the job...
[2025-01-06 21:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 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-06 21:29:03] Production.INFO: count ==21
[2025-01-06 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-06 21:29:03] Production.INFO: count ==21
[2025-01-06 21:29:03] Production.INFO: Account Balance Start.
[2025-01-06 21:29:03] Production.INFO: CreateAllLog Start
[2025-01-06 21:29:03] Production.INFO: 117
[2025-01-06 21:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190309') start
[2025-01-06 21:29:03] Production.INFO: Date 2024-12-08
[2025-01-06 21:29:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:29:03] Production.INFO: Date 2024-12-09
[2025-01-06 21:29:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:29:03] Production.INFO: Date 2024-12-10
[2025-01-06 21:29:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190309') end
[2025-01-06 21:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:29:03] Production.INFO: 1
[2025-01-06 21:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:29:03] Production.INFO: Date 2024-12-11
[2025-01-06 21:29:03] Production.INFO: ==30243== Releasing lock...
[2025-01-06 21:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:29:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:29:03] Production.INFO: Date 2024-12-12
[2025-01-06 21:29:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:29:03] Production.INFO: ==30233== Lock acquired, processing the job...
[2025-01-06 21:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:29:04] Production.INFO: Date 2024-12-13
[2025-01-06 21:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:29:04] Production.INFO: ==30241== Lock acquired, processing the job...
[2025-01-06 21:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:29:04] Production.INFO: ==30235== Lock acquired, processing the job...
[2025-01-06 21:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:29:04] Production.INFO: ==30237== Lock acquired, processing the job...
[2025-01-06 21:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:29:04] Production.INFO: Date 2024-12-14
[2025-01-06 21:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:29:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:29:04] Production.INFO: Date 2024-12-15
[2025-01-06 21:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:29:04] Production.INFO: Date 2024-12-16
[2025-01-06 21:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:29:04] Production.INFO: Date 2024-12-17
[2025-01-06 21:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:29:04] Production.ERROR: done
[2025-01-06 21:29:04] Production.INFO: Date 2024-12-18
[2025-01-06 21:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:29:04] Production.INFO: Date 2024-12-19
[2025-01-06 21:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:29:04] Production.INFO: Date 2024-12-20
[2025-01-06 21:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:29:04] Production.INFO: Date 2024-12-21
[2025-01-06 21:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:29:04] Production.ERROR: done
[2025-01-06 21:29:04] Production.INFO: ==30235== Releasing lock...
[2025-01-06 21:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:29:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:29:04] Production.INFO: Date 2024-12-23
[2025-01-06 21:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:29:04] Production.INFO: Date 2024-12-24
[2025-01-06 21:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:29:04] Production.INFO: Date 2024-12-25
[2025-01-06 21:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:29:04] Production.INFO: Date 2024-12-26
[2025-01-06 21:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:29:04] Production.INFO: Date 2024-12-27
[2025-01-06 21:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:29:04] Production.INFO: Date 2024-12-28
[2025-01-06 21:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:29:04] Production.INFO: Date 2024-12-29
[2025-01-06 21:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:29:04] Production.INFO: Date 2024-12-30
[2025-01-06 21:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:29:04] Production.INFO: Date 2024-12-31
[2025-01-06 21:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:29:04] Production.INFO: Date 2025-01-01
[2025-01-06 21:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:29:04] Production.INFO: Date 2025-01-02
[2025-01-06 21:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:29:04] Production.INFO: Date 2025-01-03
[2025-01-06 21:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:29:04] Production.INFO: Date 2025-01-04
[2025-01-06 21:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:29:04] Production.INFO: Date 2025-01-05
[2025-01-06 21:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:29:04] Production.INFO: Date 2025-01-06
[2025-01-06 21:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:29:05] Production.INFO: Total Charge 0
[2025-01-06 21:29:05] Production.INFO: CreateAllLog End
[2025-01-06 21:29:05] Production.INFO: Account Balance End.
[2025-01-06 21:29:05] Production.ERROR: CronJobId end 12
[2025-01-06 21:29:05] Production.INFO: ==30239== Releasing lock...
[2025-01-06 21:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:29:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:29:05
[end_date_ymd] => 2025-01-06 21:29:05
[RateCDR] => 1
)
[2025-01-06 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-06 18:29:05' and `end` < '2025-01-06 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-06 21:29:12] Production.ERROR: CronJobId end10
[2025-01-06 21:29:12] Production.INFO: ==30237== Releasing lock...
[2025-01-06 21:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:29:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:29:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:29:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:29:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:29:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:29:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:29:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:29:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:29:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:29:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:29:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:29:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:29:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:29:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:29:15] Production.INFO: call_cost start
[2025-01-06 21:29:15] Production.INFO: call_cost end
[2025-01-06 21:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:29:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:29:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:29:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:29:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:29:15] Production.INFO: ==30233== Releasing lock...
[2025-01-06 21:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:29:19] Production.INFO: count ==1053
[2025-01-06 21:29:20] Production.ERROR: pbx CDR StartTime 2025-01-06 18:29:05 - End Time 2025-01-06 21:29:05
[2025-01-06 21:29:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190313', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190313', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190313', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190313', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:29:20] Production.INFO: ProcessCDR(1,14190313,1,1,2)
[2025-01-06 21:29:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190313,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:29:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190313,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:29:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190313,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:29:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190313,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190313', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190313', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:29:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:29:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:29:23] Production.INFO: ==30241== Releasing lock...
[2025-01-06 21:29:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:29:23] Production.INFO: 36.5 MB #Memory Used#
[2025-01-07 02:30:01] Production.INFO: ==30306== Lock acquired, processing the job...
[2025-01-07 02:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:30:01] Production.INFO: neon service started
[2025-01-07 02:30:01] Production.INFO: neon service started
[2025-01-07 02:30:01] Production.INFO: ==30306== Releasing lock...
[2025-01-07 02:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 21:30:02] Production.INFO: ==30308== Lock acquired, processing the job...
[2025-01-06 21:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:30:02] Production.INFO: ==30310== Lock acquired, processing the job...
[2025-01-07 02:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:30:02] Production.INFO: ==30310== Releasing lock...
[2025-01-07 02:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:30:02] Production.INFO: ==30308== Releasing lock...
[2025-01-06 21:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 21:30:03] Production.INFO: ==30313== Lock acquired, processing the job...
[2025-01-06 21:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-06 21:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-06 21:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-06 21:30:03] Production.INFO: ==30313== Releasing lock...
[2025-01-06 21:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-06 21:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-06 21:30:03] Production.INFO: ==30317== Lock acquired, processing the job...
[2025-01-06 21:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:30:03] Production.INFO: ==30315== Lock acquired, processing the job...
[2025-01-06 21:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:30:03] Production.INFO: ==30319== Lock acquired, processing the job...
[2025-01-06 21:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:30:03] Production.INFO: ==30325== Lock acquired, processing the job...
[2025-01-06 21:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-06 21:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:30:03] Production.INFO: ==30317== Releasing lock...
[2025-01-06 21:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:30:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:30:03] Production.INFO: ==30321== Lock acquired, processing the job...
[2025-01-06 21:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:30:03] Production.INFO: ==30323== Lock acquired, processing the job...
[2025-01-06 21:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:30:04] Production.INFO: ==30327== Lock acquired, processing the job...
[2025-01-06 21:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:30:04] Production.INFO: Account Balance Start.
[2025-01-06 21:30:04] Production.INFO: CreateAllLog Start
[2025-01-06 21:30:04] Production.INFO: 117
[2025-01-06 21:30:04] Production.INFO: Date 2024-12-08
[2025-01-06 21:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:30:04] Production.ERROR: done
[2025-01-06 21:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:30:04] Production.INFO: Date 2024-12-09
[2025-01-06 21:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:30:04] Production.INFO: count ==21
[2025-01-06 21:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:30:04] Production.INFO: count ==21
[2025-01-06 21:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190317') start
[2025-01-06 21:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-06 21:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14190318', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) start
[2025-01-06 21:30:04] Production.ERROR: done
[2025-01-06 21:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:30:04] Production.INFO: Date 2024-12-10
[2025-01-06 21:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190317') end
[2025-01-06 21:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:30:04] Production.INFO: 1
[2025-01-06 21:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:30:04] Production.INFO: ==30327== Releasing lock...
[2025-01-06 21:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:30:04] Production.INFO: Date 2024-12-11
[2025-01-06 21:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:30:04] Production.ERROR: done
[2025-01-06 21:30:04] Production.INFO: Date 2024-12-12
[2025-01-06 21:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:30:04] Production.INFO: Date 2024-12-13
[2025-01-06 21:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:30:04] Production.INFO: Date 2024-12-14
[2025-01-06 21:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:30:04] Production.INFO: Date 2024-12-15
[2025-01-06 21:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:30:04] Production.INFO: Date 2024-12-16
[2025-01-06 21:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:30:04] Production.INFO: Date 2024-12-17
[2025-01-06 21:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:30:04] Production.INFO: Date 2024-12-18
[2025-01-06 21:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:30:04] Production.INFO: Date 2024-12-19
[2025-01-06 21:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:30:04] Production.INFO: Date 2024-12-20
[2025-01-06 21:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:30:05] Production.INFO: Date 2024-12-21
[2025-01-06 21:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:30:05] Production.INFO: Date 2024-12-22
[2025-01-06 21:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:30:05] Production.INFO: Date 2024-12-23
[2025-01-06 21:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:30:05] Production.INFO: Date 2024-12-24
[2025-01-06 21:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:30:05] Production.INFO: Date 2024-12-25
[2025-01-06 21:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:30:05] Production.INFO: Date 2024-12-26
[2025-01-06 21:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:30:05] Production.INFO: Date 2024-12-27
[2025-01-06 21:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:30:05] Production.INFO: Date 2024-12-28
[2025-01-06 21:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:30:05] Production.INFO: Date 2024-12-29
[2025-01-06 21:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:30:05] Production.INFO: Date 2024-12-30
[2025-01-06 21:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:30:05] Production.INFO: Date 2024-12-31
[2025-01-06 21:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:30:05] Production.INFO: Date 2025-01-01
[2025-01-06 21:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:30:05] Production.INFO: Date 2025-01-02
[2025-01-06 21:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:30:05] Production.INFO: Date 2025-01-03
[2025-01-06 21:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:30:05] Production.INFO: Date 2025-01-04
[2025-01-06 21:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:30:05] Production.INFO: Date 2025-01-05
[2025-01-06 21:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:30:05] Production.INFO: Date 2025-01-06
[2025-01-06 21:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:30:05] Production.INFO: Total Charge 0
[2025-01-06 21:30:05] Production.INFO: CreateAllLog End
[2025-01-06 21:30:05] Production.INFO: Account Balance End.
[2025-01-06 21:30:05] Production.ERROR: CronJobId end 12
[2025-01-06 21:30:05] Production.INFO: ==30321== Releasing lock...
[2025-01-06 21:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:30:05
[end_date_ymd] => 2025-01-06 21:30:05
[RateCDR] => 1
)
[2025-01-06 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-06 18:30:05' and `end` < '2025-01-06 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-06 21:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14190318', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) end
[2025-01-06 21:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-06 21:30:08] Production.INFO: ProcessCDR(1,14190318,1,1,2)
[2025-01-06 21:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14190318,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14190318,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:30:08] Production.INFO: ==30325== Releasing lock...
[2025-01-06 21:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-06 21:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-06 21:30:13] Production.ERROR: CronJobId end10
[2025-01-06 21:30:13] Production.INFO: ==30319== Releasing lock...
[2025-01-06 21:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:30:15] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:30:15] Production.INFO: call_cost start
[2025-01-06 21:30:15] Production.INFO: call_cost end
[2025-01-06 21:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:30:16] Production.INFO: ==30315== Releasing lock...
[2025-01-06 21:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:30:18] Production.INFO: count ==1043
[2025-01-06 21:30:19] Production.ERROR: pbx CDR StartTime 2025-01-06 18:30:05 - End Time 2025-01-06 21:30:05
[2025-01-06 21:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190319', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190319', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190319', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190319', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:30:19] Production.INFO: ProcessCDR(1,14190319,1,1,2)
[2025-01-06 21:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190319,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190319,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190319,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190319,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190319', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190319', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:30:22] Production.INFO: ==30323== Releasing lock...
[2025-01-06 21:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:30:22] Production.INFO: 35.75 MB #Memory Used#
[2025-01-07 02:31:02] Production.INFO: ==30388== Lock acquired, processing the job...
[2025-01-07 02:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:31:02] Production.INFO: neon service started
[2025-01-07 02:31:02] Production.INFO: neon service started
[2025-01-07 02:31:02] Production.INFO: ==30388== Releasing lock...
[2025-01-07 02:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:31:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-06 21:31:02] Production.INFO: ==30390== Lock acquired, processing the job...
[2025-01-06 21:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:31:02] Production.INFO: ==30392== Lock acquired, processing the job...
[2025-01-07 02:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-06 21:31:02] Production.INFO: ==30390== Releasing lock...
[2025-01-06 21:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:31:02] Production.INFO: ==30392== Releasing lock...
[2025-01-07 02:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:31:03] Production.INFO: ==30405== Lock acquired, processing the job...
[2025-01-06 21:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 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-06 21:31:03] Production.INFO: ==30402== Lock acquired, processing the job...
[2025-01-06 21:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:31:03] Production.INFO: count ==21
[2025-01-06 21:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 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-06 21:31:03] Production.INFO: count ==21
[2025-01-06 21:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190320') start
[2025-01-06 21:31:04] Production.INFO: ==30398== Lock acquired, processing the job...
[2025-01-06 21:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:31:04] Production.INFO: ==30396== Lock acquired, processing the job...
[2025-01-06 21:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:31:04] Production.INFO: ==30394== Lock acquired, processing the job...
[2025-01-06 21:31:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:31:04] Production.ERROR: done
[2025-01-06 21:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190320') end
[2025-01-06 21:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:31:04] Production.INFO: 1
[2025-01-06 21:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:31:04] Production.INFO: ==30400== Lock acquired, processing the job...
[2025-01-06 21:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:31:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:31:04] Production.INFO: ==30405== Releasing lock...
[2025-01-06 21:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:31:04] Production.INFO: Account Balance Start.
[2025-01-06 21:31:04] Production.INFO: CreateAllLog Start
[2025-01-06 21:31:04] Production.INFO: 117
[2025-01-06 21:31:04] Production.INFO: Date 2024-12-08
[2025-01-06 21:31:04] Production.ERROR: done
[2025-01-06 21:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:31:04] Production.INFO: Date 2024-12-09
[2025-01-06 21:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:31:04] Production.INFO: Date 2024-12-10
[2025-01-06 21:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:31:04] Production.INFO: Date 2024-12-11
[2025-01-06 21:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:31:04] Production.INFO: Date 2024-12-12
[2025-01-06 21:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:31:04] Production.INFO: Date 2024-12-13
[2025-01-06 21:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:31:04] Production.INFO: Date 2024-12-14
[2025-01-06 21:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:31:04] Production.INFO: Date 2024-12-15
[2025-01-06 21:31:04] Production.INFO: ==30396== Releasing lock...
[2025-01-06 21:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:31:04] Production.INFO: Date 2024-12-16
[2025-01-06 21:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:31:04] Production.INFO: Date 2024-12-17
[2025-01-06 21:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:31:04] Production.INFO: Date 2024-12-18
[2025-01-06 21:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:31:04] Production.INFO: Date 2024-12-19
[2025-01-06 21:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:31:04] Production.INFO: Date 2024-12-20
[2025-01-06 21:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:31:04] Production.INFO: Date 2024-12-21
[2025-01-06 21:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:31:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:31:04] Production.INFO: Date 2024-12-23
[2025-01-06 21:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:31:04] Production.INFO: Date 2024-12-24
[2025-01-06 21:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:31:04] Production.INFO: Date 2024-12-25
[2025-01-06 21:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:31:04] Production.INFO: Date 2024-12-26
[2025-01-06 21:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:31:04] Production.INFO: Date 2024-12-27
[2025-01-06 21:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:31:04] Production.INFO: Date 2024-12-28
[2025-01-06 21:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:31:04] Production.INFO: Date 2024-12-29
[2025-01-06 21:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:31:04] Production.INFO: Date 2024-12-30
[2025-01-06 21:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:31:05] Production.INFO: Date 2024-12-31
[2025-01-06 21:31:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:31:05] Production.INFO: Date 2025-01-01
[2025-01-06 21:31:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:31:05] Production.INFO: Date 2025-01-02
[2025-01-06 21:31:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:31:05] Production.INFO: Date 2025-01-03
[2025-01-06 21:31:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:31:05] Production.INFO: Date 2025-01-04
[2025-01-06 21:31:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:31:05
[end_date_ymd] => 2025-01-06 21:31:05
[RateCDR] => 1
)
[2025-01-06 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-06 18:31:05' and `end` < '2025-01-06 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-06 21:31:05] Production.INFO: Date 2025-01-05
[2025-01-06 21:31:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:31:05] Production.INFO: Date 2025-01-06
[2025-01-06 21:31:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:31:05] Production.INFO: Total Charge 0
[2025-01-06 21:31:05] Production.INFO: CreateAllLog End
[2025-01-06 21:31:05] Production.INFO: Account Balance End.
[2025-01-06 21:31:05] Production.ERROR: CronJobId end 12
[2025-01-06 21:31:05] Production.INFO: ==30400== Releasing lock...
[2025-01-06 21:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:31:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:31:13] Production.ERROR: CronJobId end10
[2025-01-06 21:31:13] Production.INFO: ==30398== Releasing lock...
[2025-01-06 21:31:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:31:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:31:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:31:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:31:13] Production.INFO: call_cost start
[2025-01-06 21:31:13] Production.INFO: call_cost end
[2025-01-06 21:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:31:14] Production.INFO: ==30394== Releasing lock...
[2025-01-06 21:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:31:18] Production.INFO: count ==1058
[2025-01-06 21:31:18] Production.ERROR: pbx CDR StartTime 2025-01-06 18:31:05 - End Time 2025-01-06 21:31:05
[2025-01-06 21:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190324', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190324', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190324', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190324', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:31:18] Production.INFO: ProcessCDR(1,14190324,1,1,2)
[2025-01-06 21:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190324,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190324,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190324,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190324,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190324', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190324', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:31:21] Production.INFO: ==30402== Releasing lock...
[2025-01-06 21:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:31:21] Production.INFO: 36 MB #Memory Used#
[2025-01-07 02:32:01] Production.INFO: ==30463== Lock acquired, processing the job...
[2025-01-07 02:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:32:01] Production.INFO: neon service started
[2025-01-07 02:32:01] Production.INFO: neon service started
[2025-01-07 02:32:01] Production.INFO: ==30463== Releasing lock...
[2025-01-07 02:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 21:32:02] Production.INFO: ==30465== Lock acquired, processing the job...
[2025-01-06 21:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:32:02] Production.INFO: ==30467== Lock acquired, processing the job...
[2025-01-07 02:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:32:02] Production.INFO: ==30467== Releasing lock...
[2025-01-07 02:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:32:02] Production.INFO: ==30465== Releasing lock...
[2025-01-06 21:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 21:32:03] Production.INFO: ==30470== Lock acquired, processing the job...
[2025-01-06 21:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:32:03] Production.INFO: ==30474== Lock acquired, processing the job...
[2025-01-06 21:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:32:03] Production.INFO: ==30472== Lock acquired, processing the job...
[2025-01-06 21:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:32:03] Production.INFO: ==30478== Lock acquired, processing the job...
[2025-01-06 21:32:03] Production.INFO: ==30476== Lock acquired, processing the job...
[2025-01-06 21:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:32:03] Production.INFO: ==30480== Lock acquired, processing the job...
[2025-01-06 21:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:32:03] Production.INFO: Account Balance Start.
[2025-01-06 21:32:03] Production.INFO: CreateAllLog Start
[2025-01-06 21:32:03] Production.INFO: 117
[2025-01-06 21:32:03] Production.INFO: Date 2024-12-08
[2025-01-06 21:32:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:32:03] Production.INFO: Date 2024-12-09
[2025-01-06 21:32:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:32:03] Production.INFO: Date 2024-12-10
[2025-01-06 21:32:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:32:03] Production.INFO: ==30472== Releasing lock...
[2025-01-06 21:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:32:03] Production.INFO: Date 2024-12-11
[2025-01-06 21:32:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:32:04] Production.INFO: Date 2024-12-12
[2025-01-06 21:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:32:04] Production.INFO: Date 2024-12-13
[2025-01-06 21:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:32:04] Production.INFO: Date 2024-12-14
[2025-01-06 21:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 21:32:04] Production.INFO: Date 2024-12-15
[2025-01-06 21:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:32:04] Production.INFO: Date 2024-12-16
[2025-01-06 21:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:32:04] Production.INFO: Date 2024-12-17
[2025-01-06 21:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:32:04] Production.INFO: count ==21
[2025-01-06 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-06 21:32:04] Production.INFO: count ==21
[2025-01-06 21:32:04] Production.ERROR: done
[2025-01-06 21:32:04] Production.INFO: Date 2024-12-18
[2025-01-06 21:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190328') start
[2025-01-06 21:32:04] Production.INFO: Date 2024-12-19
[2025-01-06 21:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:32:04] Production.INFO: Date 2024-12-20
[2025-01-06 21:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:32:04] Production.INFO: Date 2024-12-21
[2025-01-06 21:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:32:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190328') end
[2025-01-06 21:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:32:04] Production.INFO: 1
[2025-01-06 21:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:32:04] Production.INFO: Date 2024-12-23
[2025-01-06 21:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:32:04] Production.ERROR: done
[2025-01-06 21:32:04] Production.INFO: ==30480== Releasing lock...
[2025-01-06 21:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:32:04] Production.INFO: Date 2024-12-24
[2025-01-06 21:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:32:04] Production.INFO: Date 2024-12-25
[2025-01-06 21:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:32:04] Production.INFO: Date 2024-12-26
[2025-01-06 21:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:32:04] Production.INFO: Date 2024-12-27
[2025-01-06 21:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:32:04] Production.INFO: Date 2024-12-28
[2025-01-06 21:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:32:04] Production.INFO: Date 2024-12-29
[2025-01-06 21:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:32:04] Production.INFO: Date 2024-12-30
[2025-01-06 21:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:32:04] Production.INFO: Date 2024-12-31
[2025-01-06 21:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:32:04] Production.INFO: Date 2025-01-01
[2025-01-06 21:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:32:04] Production.INFO: Date 2025-01-02
[2025-01-06 21:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:32:04] Production.INFO: Date 2025-01-03
[2025-01-06 21:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:32:04] Production.INFO: Date 2025-01-04
[2025-01-06 21:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:32:05] Production.INFO: Date 2025-01-05
[2025-01-06 21:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:32:05] Production.INFO: Date 2025-01-06
[2025-01-06 21:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:32:05] Production.INFO: Total Charge 0
[2025-01-06 21:32:05] Production.INFO: CreateAllLog End
[2025-01-06 21:32:05] Production.INFO: Account Balance End.
[2025-01-06 21:32:05] Production.ERROR: CronJobId end 12
[2025-01-06 21:32:05] Production.INFO: ==30476== Releasing lock...
[2025-01-06 21:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:32:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:32:05
[end_date_ymd] => 2025-01-06 21:32:05
[RateCDR] => 1
)
[2025-01-06 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-06 18:32:05' and `end` < '2025-01-06 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-06 21:32:12] Production.ERROR: CronJobId end10
[2025-01-06 21:32:12] Production.INFO: ==30474== Releasing lock...
[2025-01-06 21:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:32:13] Production.INFO: call_cost start
[2025-01-06 21:32:13] Production.INFO: call_cost end
[2025-01-06 21:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:32:14] Production.INFO: ==30470== Releasing lock...
[2025-01-06 21:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:32:19] Production.INFO: count ==1059
[2025-01-06 21:32:19] Production.ERROR: pbx CDR StartTime 2025-01-06 18:32:05 - End Time 2025-01-06 21:32:05
[2025-01-06 21:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190329', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190329', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190329', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190329', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:32:19] Production.INFO: ProcessCDR(1,14190329,1,1,2)
[2025-01-06 21:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190329,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:32:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190329,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:32:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190329,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:32:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190329,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:32:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190329', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:32:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190329', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:32:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:32:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:32:24] Production.INFO: ==30478== Releasing lock...
[2025-01-06 21:32:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:32:24] Production.INFO: 36.25 MB #Memory Used#
[2025-01-07 02:33:02] Production.INFO: ==30537== Lock acquired, processing the job...
[2025-01-07 02:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:33:02] Production.INFO: neon service started
[2025-01-07 02:33:02] Production.INFO: neon service started
[2025-01-07 02:33:02] Production.INFO: ==30537== Releasing lock...
[2025-01-07 02:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 21:33:02] Production.INFO: ==30539== Lock acquired, processing the job...
[2025-01-06 21:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:33:02] Production.INFO: ==30541== Lock acquired, processing the job...
[2025-01-07 02:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:33:02] Production.INFO: ==30541== Releasing lock...
[2025-01-07 02:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:33:03] Production.INFO: ==30539== Releasing lock...
[2025-01-06 21:33:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:33:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 21:33:03] Production.INFO: ==30544== Lock acquired, processing the job...
[2025-01-06 21:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:33:03] Production.INFO: ==30546== Lock acquired, processing the job...
[2025-01-06 21:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:33:03] Production.INFO: ==30550== Lock acquired, processing the job...
[2025-01-06 21:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:33:03] Production.INFO: Account Balance Start.
[2025-01-06 21:33:03] Production.INFO: CreateAllLog Start
[2025-01-06 21:33:03] Production.INFO: 117
[2025-01-06 21:33:03] Production.INFO: Date 2024-12-08
[2025-01-06 21:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:33:04] Production.INFO: ==30548== Lock acquired, processing the job...
[2025-01-06 21:33:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:33:04] Production.INFO: ==30552== Lock acquired, processing the job...
[2025-01-06 21:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:33:04] Production.INFO: Date 2024-12-09
[2025-01-06 21:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:33:04] Production.INFO: Date 2024-12-10
[2025-01-06 21:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:33:04] Production.INFO: ==30546== Releasing lock...
[2025-01-06 21:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:33:04] Production.INFO: Date 2024-12-11
[2025-01-06 21:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:33:04] Production.INFO: Date 2024-12-12
[2025-01-06 21:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:33:04] Production.INFO: Date 2024-12-13
[2025-01-06 21:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:33:04] Production.INFO: Date 2024-12-14
[2025-01-06 21:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:33:04] Production.INFO: Date 2024-12-15
[2025-01-06 21:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:33:04] Production.INFO: ==30554== Lock acquired, processing the job...
[2025-01-06 21:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:33:04] Production.INFO: Date 2024-12-16
[2025-01-06 21:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:33:04] Production.INFO: Date 2024-12-17
[2025-01-06 21:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:33:04] Production.INFO: count ==21
[2025-01-06 21:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:33:04] Production.INFO: Date 2024-12-18
[2025-01-06 21:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:33:04] Production.INFO: count ==21
[2025-01-06 21:33:04] Production.ERROR: done
[2025-01-06 21:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190333') start
[2025-01-06 21:33:04] Production.INFO: Date 2024-12-19
[2025-01-06 21:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:33:04] Production.INFO: Date 2024-12-20
[2025-01-06 21:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:33:04] Production.INFO: Date 2024-12-21
[2025-01-06 21:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:33:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:33:04] Production.ERROR: done
[2025-01-06 21:33:04] Production.INFO: Date 2024-12-23
[2025-01-06 21:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:33:04] Production.INFO: Date 2024-12-24
[2025-01-06 21:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190333') end
[2025-01-06 21:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:33:04] Production.INFO: 1
[2025-01-06 21:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:33:04] Production.INFO: ==30554== Releasing lock...
[2025-01-06 21:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:33:04] Production.INFO: Date 2024-12-25
[2025-01-06 21:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:33:04] Production.INFO: Date 2024-12-26
[2025-01-06 21:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:33:04] Production.INFO: Date 2024-12-27
[2025-01-06 21:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:33:04] Production.INFO: Date 2024-12-28
[2025-01-06 21:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:33:04] Production.INFO: Date 2024-12-29
[2025-01-06 21:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:33:04] Production.INFO: Date 2024-12-30
[2025-01-06 21:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:33:04] Production.INFO: Date 2024-12-31
[2025-01-06 21:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:33:04] Production.INFO: Date 2025-01-01
[2025-01-06 21:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:33:04] Production.INFO: Date 2025-01-02
[2025-01-06 21:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:33:05] Production.INFO: Date 2025-01-03
[2025-01-06 21:33:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:33:05] Production.INFO: Date 2025-01-04
[2025-01-06 21:33:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:33:05] Production.INFO: Date 2025-01-05
[2025-01-06 21:33:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:33:05] Production.INFO: Date 2025-01-06
[2025-01-06 21:33:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:33:05] Production.INFO: Total Charge 0
[2025-01-06 21:33:05] Production.INFO: CreateAllLog End
[2025-01-06 21:33:05] Production.INFO: Account Balance End.
[2025-01-06 21:33:05] Production.ERROR: CronJobId end 12
[2025-01-06 21:33:05] Production.INFO: ==30550== Releasing lock...
[2025-01-06 21:33:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:33:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:33:05
[end_date_ymd] => 2025-01-06 21:33:05
[RateCDR] => 1
)
[2025-01-06 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-06 18:33:05' and `end` < '2025-01-06 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-06 21:33:12] Production.ERROR: CronJobId end10
[2025-01-06 21:33:12] Production.INFO: ==30548== Releasing lock...
[2025-01-06 21:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:33:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:33:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:33:13] Production.INFO: call_cost start
[2025-01-06 21:33:13] Production.INFO: call_cost end
[2025-01-06 21:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:33:14] Production.INFO: ==30544== Releasing lock...
[2025-01-06 21:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:33:19] Production.INFO: count ==1062
[2025-01-06 21:33:19] Production.ERROR: pbx CDR StartTime 2025-01-06 18:33:05 - End Time 2025-01-06 21:33:05
[2025-01-06 21:33:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190334', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190334', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190334', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190334', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:33:19] Production.INFO: ProcessCDR(1,14190334,1,1,2)
[2025-01-06 21:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190334,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:33:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190334,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:33:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190334,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190334,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190334', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190334', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:33:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:33:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:33:23] Production.INFO: ==30552== Releasing lock...
[2025-01-06 21:33:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:33:23] Production.INFO: 35.75 MB #Memory Used#
[2025-01-07 02:34:01] Production.INFO: ==30619== Lock acquired, processing the job...
[2025-01-07 02:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:34:01] Production.INFO: neon service started
[2025-01-07 02:34:01] Production.INFO: neon service started
[2025-01-07 02:34:01] Production.INFO: ==30619== Releasing lock...
[2025-01-07 02:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 21:34:02] Production.INFO: ==30621== Lock acquired, processing the job...
[2025-01-06 21:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:34:02] Production.INFO: ==30623== Lock acquired, processing the job...
[2025-01-07 02:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:34:02] Production.INFO: ==30623== Releasing lock...
[2025-01-07 02:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:34:02] Production.INFO: ==30621== Releasing lock...
[2025-01-06 21:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 21:34:03] Production.INFO: ==30630== Lock acquired, processing the job...
[2025-01-06 21:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:34:03] Production.INFO: ==30636== Lock acquired, processing the job...
[2025-01-06 21:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:34:03] Production.INFO: count ==21
[2025-01-06 21:34:03] Production.INFO: ==30626== Lock acquired, processing the job...
[2025-01-06 21:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:34:03] Production.INFO: count ==21
[2025-01-06 21:34:03] Production.INFO: ==30628== Lock acquired, processing the job...
[2025-01-06 21:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190335') start
[2025-01-06 21:34:03] Production.INFO: ==30632== Lock acquired, processing the job...
[2025-01-06 21:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:34:03] Production.INFO: ==30634== Lock acquired, processing the job...
[2025-01-06 21:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:34:03] Production.INFO: Account Balance Start.
[2025-01-06 21:34:03] Production.INFO: CreateAllLog Start
[2025-01-06 21:34:03] Production.INFO: 117
[2025-01-06 21:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190335') end
[2025-01-06 21:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:34:03] Production.INFO: 1
[2025-01-06 21:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:34:03] Production.INFO: Date 2024-12-08
[2025-01-06 21:34:03] Production.INFO: ==30636== Releasing lock...
[2025-01-06 21:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:34:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:34:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:34:03] Production.INFO: Date 2024-12-09
[2025-01-06 21:34:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:34:03] Production.INFO: Date 2024-12-10
[2025-01-06 21:34:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:34:03] Production.INFO: Date 2024-12-11
[2025-01-06 21:34:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:34:03] Production.INFO: Date 2024-12-12
[2025-01-06 21:34:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:34:03] Production.INFO: ==30628== Releasing lock...
[2025-01-06 21:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:34:04] Production.ERROR: done
[2025-01-06 21:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:34:04] Production.ERROR: done
[2025-01-06 21:34:04] Production.INFO: Date 2024-12-13
[2025-01-06 21:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:34:04] Production.INFO: Date 2024-12-14
[2025-01-06 21:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:34:04] Production.INFO: Date 2024-12-15
[2025-01-06 21:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:34:04] Production.INFO: Date 2024-12-16
[2025-01-06 21:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:34:04] Production.INFO: Date 2024-12-17
[2025-01-06 21:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:34:04] Production.INFO: Date 2024-12-18
[2025-01-06 21:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:34:04] Production.INFO: Date 2024-12-19
[2025-01-06 21:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:34:04] Production.INFO: Date 2024-12-20
[2025-01-06 21:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:34:04] Production.INFO: Date 2024-12-21
[2025-01-06 21:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:34:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:34:04] Production.INFO: Date 2024-12-23
[2025-01-06 21:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:34:04] Production.INFO: Date 2024-12-24
[2025-01-06 21:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:34:04] Production.INFO: Date 2024-12-25
[2025-01-06 21:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:34:04] Production.INFO: Date 2024-12-26
[2025-01-06 21:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:34:04] Production.INFO: Date 2024-12-27
[2025-01-06 21:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:34:04] Production.INFO: Date 2024-12-28
[2025-01-06 21:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:34:04] Production.INFO: Date 2024-12-29
[2025-01-06 21:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:34:04] Production.INFO: Date 2024-12-30
[2025-01-06 21:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:34:04] Production.INFO: Date 2024-12-31
[2025-01-06 21:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:34:04] Production.INFO: Date 2025-01-01
[2025-01-06 21:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:34:04] Production.INFO: Date 2025-01-02
[2025-01-06 21:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:34:04] Production.INFO: Date 2025-01-03
[2025-01-06 21:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:34:04] Production.INFO: Date 2025-01-04
[2025-01-06 21:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:34:04] Production.INFO: Date 2025-01-05
[2025-01-06 21:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:34:04] Production.INFO: Date 2025-01-06
[2025-01-06 21:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:34:05] Production.INFO: Total Charge 0
[2025-01-06 21:34:05] Production.INFO: CreateAllLog End
[2025-01-06 21:34:05] Production.INFO: Account Balance End.
[2025-01-06 21:34:05] Production.ERROR: CronJobId end 12
[2025-01-06 21:34:05] Production.INFO: ==30632== Releasing lock...
[2025-01-06 21:34:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:34:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:34:05
[end_date_ymd] => 2025-01-06 21:34:05
[RateCDR] => 1
)
[2025-01-06 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-06 18:34:05' and `end` < '2025-01-06 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-06 21:34:12] Production.ERROR: CronJobId end10
[2025-01-06 21:34:12] Production.INFO: ==30630== Releasing lock...
[2025-01-06 21:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:34:13] Production.INFO: call_cost start
[2025-01-06 21:34:13] Production.INFO: call_cost end
[2025-01-06 21:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:34:14] Production.INFO: ==30626== Releasing lock...
[2025-01-06 21:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:34:19] Production.INFO: count ==1060
[2025-01-06 21:34:19] Production.ERROR: pbx CDR StartTime 2025-01-06 18:34:05 - End Time 2025-01-06 21:34:05
[2025-01-06 21:34:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190339', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190339', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190339', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190339', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:34:19] Production.INFO: ProcessCDR(1,14190339,1,1,2)
[2025-01-06 21:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190339,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:34:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190339,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:34:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190339,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190339,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190339', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190339', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:34:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:34:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:34:22] Production.INFO: ==30634== Releasing lock...
[2025-01-06 21:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:34:22] Production.INFO: 35.75 MB #Memory Used#
[2025-01-07 02:35:01] Production.INFO: ==30701== Lock acquired, processing the job...
[2025-01-07 02:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:35:01] Production.INFO: neon service started
[2025-01-07 02:35:01] Production.INFO: neon service started
[2025-01-07 02:35:01] Production.INFO: ==30701== Releasing lock...
[2025-01-07 02:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 21:35:02] Production.INFO: ==30703== Lock acquired, processing the job...
[2025-01-06 21:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:35:02] Production.INFO: ==30705== Lock acquired, processing the job...
[2025-01-07 02:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:35:02] Production.INFO: ==30705== Releasing lock...
[2025-01-07 02:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:35:02] Production.INFO: ==30703== Releasing lock...
[2025-01-06 21:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 21:35:03] Production.INFO: ==30712== Lock acquired, processing the job...
[2025-01-06 21:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:35:03] Production.INFO: ==30714== Lock acquired, processing the job...
[2025-01-06 21:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:35:03] Production.INFO: ==30716== Lock acquired, processing the job...
[2025-01-06 21:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:35:03] Production.INFO: Account Balance Start.
[2025-01-06 21:35:03] Production.INFO: CreateAllLog Start
[2025-01-06 21:35:03] Production.INFO: 117
[2025-01-06 21:35:03] Production.INFO: Date 2024-12-08
[2025-01-06 21:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:35:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:35:03] Production.INFO: ==30708== Lock acquired, processing the job...
[2025-01-06 21:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:35:03] Production.INFO: ==30710== Lock acquired, processing the job...
[2025-01-06 21:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:35:03] Production.INFO: Date 2024-12-09
[2025-01-06 21:35:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:35:03] Production.INFO: Date 2024-12-10
[2025-01-06 21:35:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:35:03] Production.INFO: ==30718== Lock acquired, processing the job...
[2025-01-06 21:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:35:03] Production.INFO: Date 2024-12-11
[2025-01-06 21:35:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:35:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:35:04] Production.INFO: Date 2024-12-12
[2025-01-06 21:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:35:04] Production.INFO: count ==21
[2025-01-06 21:35:04] Production.INFO: Date 2024-12-13
[2025-01-06 21:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:35:04] Production.INFO: count ==21
[2025-01-06 21:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190342') start
[2025-01-06 21:35:04] Production.INFO: Date 2024-12-14
[2025-01-06 21:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:35:04] Production.ERROR: done
[2025-01-06 21:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190342') end
[2025-01-06 21:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:35:04] Production.INFO: 1
[2025-01-06 21:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:35:04] Production.INFO: Date 2024-12-15
[2025-01-06 21:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:35:04] Production.INFO: Date 2024-12-16
[2025-01-06 21:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:35:04] Production.INFO: ==30718== Releasing lock...
[2025-01-06 21:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:35:04] Production.ERROR: done
[2025-01-06 21:35:04] Production.INFO: Date 2024-12-17
[2025-01-06 21:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:35:04] Production.INFO: Date 2024-12-18
[2025-01-06 21:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:35:04] Production.INFO: Date 2024-12-19
[2025-01-06 21:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:35:04] Production.INFO: Date 2024-12-20
[2025-01-06 21:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:35:04] Production.INFO: Date 2024-12-21
[2025-01-06 21:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:35:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:35:04] Production.INFO: Date 2024-12-23
[2025-01-06 21:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:35:04] Production.INFO: ==30710== Releasing lock...
[2025-01-06 21:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:35:04] Production.INFO: Date 2024-12-24
[2025-01-06 21:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:35:04] Production.INFO: Date 2024-12-25
[2025-01-06 21:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:35:04] Production.INFO: Date 2024-12-26
[2025-01-06 21:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:35:04] Production.INFO: Date 2024-12-27
[2025-01-06 21:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:35:05] Production.INFO: Date 2024-12-28
[2025-01-06 21:35:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:35:05] Production.INFO: Date 2024-12-29
[2025-01-06 21:35:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:35:05] Production.INFO: Date 2024-12-30
[2025-01-06 21:35:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:35:05] Production.INFO: Date 2024-12-31
[2025-01-06 21:35:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:35:05] Production.INFO: Date 2025-01-01
[2025-01-06 21:35:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:35:05] Production.INFO: Date 2025-01-02
[2025-01-06 21:35:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:35:05] Production.INFO: Date 2025-01-03
[2025-01-06 21:35:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:35:05] Production.INFO: Date 2025-01-04
[2025-01-06 21:35:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:35:05] Production.INFO: Date 2025-01-05
[2025-01-06 21:35:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:35:05] Production.INFO: Date 2025-01-06
[2025-01-06 21:35:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:35:05] Production.INFO: Total Charge 0
[2025-01-06 21:35:05] Production.INFO: CreateAllLog End
[2025-01-06 21:35:05] Production.INFO: Account Balance End.
[2025-01-06 21:35:05] Production.ERROR: CronJobId end 12
[2025-01-06 21:35:05] Production.INFO: ==30714== Releasing lock...
[2025-01-06 21:35:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:35:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:35:05
[end_date_ymd] => 2025-01-06 21:35:05
[RateCDR] => 1
)
[2025-01-06 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-06 18:35:05' and `end` < '2025-01-06 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-06 21:35:12] Production.ERROR: CronJobId end10
[2025-01-06 21:35:12] Production.INFO: ==30712== Releasing lock...
[2025-01-06 21:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:35:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:35:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:35:13] Production.INFO: call_cost start
[2025-01-06 21:35:13] Production.INFO: call_cost end
[2025-01-06 21:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:35:14] Production.INFO: ==30708== Releasing lock...
[2025-01-06 21:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:35:18] Production.INFO: count ==1059
[2025-01-06 21:35:18] Production.ERROR: pbx CDR StartTime 2025-01-06 18:35:05 - End Time 2025-01-06 21:35:05
[2025-01-06 21:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190344', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190344', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190344', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190344', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:35:18] Production.INFO: ProcessCDR(1,14190344,1,1,2)
[2025-01-06 21:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190344,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190344,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190344,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:35:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190344,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190344', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190344', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:35:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:35:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:35:22] Production.INFO: ==30716== Releasing lock...
[2025-01-06 21:35:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:35:22] Production.INFO: 36.25 MB #Memory Used#
[2025-01-07 02:36:01] Production.INFO: ==30775== Lock acquired, processing the job...
[2025-01-07 02:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:36:01] Production.INFO: neon service started
[2025-01-07 02:36:01] Production.INFO: neon service started
[2025-01-07 02:36:01] Production.INFO: ==30775== Releasing lock...
[2025-01-07 02:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:36:01] Production.INFO: ==30779== Lock acquired, processing the job...
[2025-01-07 02:36:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:36:01] Production.INFO: ==30779== Releasing lock...
[2025-01-07 02:36:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:36:01] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:36:01] Production.INFO: ==30777== Lock acquired, processing the job...
[2025-01-06 21:36:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 21:36:02] Production.INFO: ==30777== Releasing lock...
[2025-01-06 21:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 21:36:02] Production.INFO: ==30782== Lock acquired, processing the job...
[2025-01-06 21:36:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:36:03] Production.INFO: ==30784== Lock acquired, processing the job...
[2025-01-06 21:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:36:03] Production.INFO: ==30790== Lock acquired, processing the job...
[2025-01-06 21:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:36:03] Production.INFO: ==30784== Releasing lock...
[2025-01-06 21:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:36:03] Production.INFO: ==30786== Lock acquired, processing the job...
[2025-01-06 21:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:36:03] Production.INFO: ==30788== Lock acquired, processing the job...
[2025-01-06 21:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:36:03] Production.INFO: ==30792== Lock acquired, processing the job...
[2025-01-06 21:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:36:03] Production.INFO: Account Balance Start.
[2025-01-06 21:36:03] Production.INFO: CreateAllLog Start
[2025-01-06 21:36:03] Production.INFO: 117
[2025-01-06 21:36:03] Production.INFO: Date 2024-12-08
[2025-01-06 21:36:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:36:03] Production.ERROR: done
[2025-01-06 21:36:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:36:03] Production.INFO: Date 2024-12-09
[2025-01-06 21:36:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:36:03] Production.INFO: count ==21
[2025-01-06 21:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:36:03] Production.INFO: count ==21
[2025-01-06 21:36:03] Production.INFO: Date 2024-12-10
[2025-01-06 21:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190348') start
[2025-01-06 21:36:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:36:03] Production.INFO: Date 2024-12-11
[2025-01-06 21:36:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:36:03] Production.INFO: Date 2024-12-12
[2025-01-06 21:36:03] Production.ERROR: done
[2025-01-06 21:36:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190348') end
[2025-01-06 21:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:36:03] Production.INFO: 1
[2025-01-06 21:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:36:03] Production.INFO: ==30792== Releasing lock...
[2025-01-06 21:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:36:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:36:03] Production.INFO: Date 2024-12-13
[2025-01-06 21:36:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:36:03] Production.INFO: Date 2024-12-14
[2025-01-06 21:36:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:36:03] Production.INFO: Date 2024-12-15
[2025-01-06 21:36:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:36:04] Production.INFO: Date 2024-12-16
[2025-01-06 21:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:36:04] Production.INFO: Date 2024-12-17
[2025-01-06 21:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:36:04] Production.INFO: Date 2024-12-18
[2025-01-06 21:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:36:04] Production.INFO: Date 2024-12-19
[2025-01-06 21:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:36:04] Production.INFO: Date 2024-12-20
[2025-01-06 21:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:36:04] Production.INFO: Date 2024-12-21
[2025-01-06 21:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:36:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:36:04] Production.INFO: Date 2024-12-23
[2025-01-06 21:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:36:04] Production.INFO: Date 2024-12-24
[2025-01-06 21:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:36:04] Production.INFO: Date 2024-12-25
[2025-01-06 21:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:36:04] Production.INFO: Date 2024-12-26
[2025-01-06 21:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:36:04] Production.INFO: Date 2024-12-27
[2025-01-06 21:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:36:04] Production.INFO: Date 2024-12-28
[2025-01-06 21:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:36:04] Production.INFO: Date 2024-12-29
[2025-01-06 21:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:36:04] Production.INFO: Date 2024-12-30
[2025-01-06 21:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:36:04] Production.INFO: Date 2024-12-31
[2025-01-06 21:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:36:04] Production.INFO: Date 2025-01-01
[2025-01-06 21:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:36:04] Production.INFO: Date 2025-01-02
[2025-01-06 21:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:36:04] Production.INFO: Date 2025-01-03
[2025-01-06 21:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:36:04] Production.INFO: Date 2025-01-04
[2025-01-06 21:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:36:04] Production.INFO: Date 2025-01-05
[2025-01-06 21:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:36:04] Production.INFO: Date 2025-01-06
[2025-01-06 21:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:36:04] Production.INFO: Total Charge 0
[2025-01-06 21:36:04] Production.INFO: CreateAllLog End
[2025-01-06 21:36:04] Production.INFO: Account Balance End.
[2025-01-06 21:36:04] Production.ERROR: CronJobId end 12
[2025-01-06 21:36:04] Production.INFO: ==30788== Releasing lock...
[2025-01-06 21:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:36:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:36:04
[end_date_ymd] => 2025-01-06 21:36:04
[RateCDR] => 1
)
[2025-01-06 21:36:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 18:36:04' and `end` < '2025-01-06 21:36:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 21:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:36:13] Production.ERROR: CronJobId end10
[2025-01-06 21:36:13] Production.INFO: ==30786== Releasing lock...
[2025-01-06 21:36:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:36:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:36:13] Production.INFO: call_cost start
[2025-01-06 21:36:13] Production.INFO: call_cost end
[2025-01-06 21:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:36:14] Production.INFO: ==30782== Releasing lock...
[2025-01-06 21:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:36:19] Production.INFO: count ==1058
[2025-01-06 21:36:20] Production.ERROR: pbx CDR StartTime 2025-01-06 18:36:04 - End Time 2025-01-06 21:36:04
[2025-01-06 21:36:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190349', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190349', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190349', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190349', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:36:20] Production.INFO: ProcessCDR(1,14190349,1,1,2)
[2025-01-06 21:36:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190349,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:36:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190349,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:36:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190349,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:36:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190349,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190349', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190349', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:36:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:36:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:36:23] Production.INFO: ==30790== Releasing lock...
[2025-01-06 21:36:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:36:23] Production.INFO: 36 MB #Memory Used#
[2025-01-07 02:37:01] Production.INFO: ==30850== Lock acquired, processing the job...
[2025-01-07 02:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:37:01] Production.INFO: neon service started
[2025-01-07 02:37:01] Production.INFO: neon service started
[2025-01-07 02:37:01] Production.INFO: ==30850== Releasing lock...
[2025-01-07 02:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:37:02] Production.INFO: ==30854== Lock acquired, processing the job...
[2025-01-07 02:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:37:02] Production.INFO: ==30854== Releasing lock...
[2025-01-07 02:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:37:02] Production.INFO: ==30852== Lock acquired, processing the job...
[2025-01-06 21:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 21:37:02] Production.INFO: ==30852== Releasing lock...
[2025-01-06 21:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 21:37:03] Production.INFO: ==30857== Lock acquired, processing the job...
[2025-01-06 21:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:37:03] Production.INFO: ==30861== Lock acquired, processing the job...
[2025-01-06 21:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:37:03] Production.INFO: ==30867== Lock acquired, processing the job...
[2025-01-06 21:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:37:03] Production.INFO: ==30859== Lock acquired, processing the job...
[2025-01-06 21:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:37:03] Production.INFO: ==30865== Lock acquired, processing the job...
[2025-01-06 21:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 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-06 21:37:03] Production.INFO: ==30863== Lock acquired, processing the job...
[2025-01-06 21:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:37:03] Production.INFO: count ==21
[2025-01-06 21:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 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-06 21:37:03] Production.INFO: count ==21
[2025-01-06 21:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190351') start
[2025-01-06 21:37:04] Production.INFO: Account Balance Start.
[2025-01-06 21:37:04] Production.INFO: CreateAllLog Start
[2025-01-06 21:37:04] Production.INFO: 117
[2025-01-06 21:37:04] Production.INFO: Date 2024-12-08
[2025-01-06 21:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:37:04] Production.INFO: ==30859== Releasing lock...
[2025-01-06 21:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:37:04] Production.INFO: Date 2024-12-09
[2025-01-06 21:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:37:04] Production.INFO: Date 2024-12-10
[2025-01-06 21:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190351') end
[2025-01-06 21:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:37:04] Production.INFO: 1
[2025-01-06 21:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:37:04] Production.INFO: Date 2024-12-11
[2025-01-06 21:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:37:04] Production.INFO: Date 2024-12-12
[2025-01-06 21:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:37:04] Production.INFO: ==30867== Releasing lock...
[2025-01-06 21:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:37:04] Production.INFO: Date 2024-12-13
[2025-01-06 21:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:37:04] Production.ERROR: done
[2025-01-06 21:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:37:04] Production.INFO: Date 2024-12-14
[2025-01-06 21:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:37:04] Production.INFO: Date 2024-12-15
[2025-01-06 21:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:37:04] Production.INFO: Date 2024-12-16
[2025-01-06 21:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:37:04] Production.INFO: Date 2024-12-17
[2025-01-06 21:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:37:04] Production.ERROR: done
[2025-01-06 21:37:04] Production.INFO: Date 2024-12-18
[2025-01-06 21:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:37:04] Production.INFO: Date 2024-12-19
[2025-01-06 21:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:37:04] Production.INFO: Date 2024-12-20
[2025-01-06 21:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:37:04] Production.INFO: Date 2024-12-21
[2025-01-06 21:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:37:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:37:04] Production.INFO: Date 2024-12-23
[2025-01-06 21:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:37:04] Production.INFO: Date 2024-12-24
[2025-01-06 21:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:37:04] Production.INFO: Date 2024-12-25
[2025-01-06 21:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:37:04] Production.INFO: Date 2024-12-26
[2025-01-06 21:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:37:04] Production.INFO: Date 2024-12-27
[2025-01-06 21:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:37:04] Production.INFO: Date 2024-12-28
[2025-01-06 21:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:37:04] Production.INFO: Date 2024-12-29
[2025-01-06 21:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:37:05] Production.INFO: Date 2024-12-30
[2025-01-06 21:37:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:37:05] Production.INFO: Date 2024-12-31
[2025-01-06 21:37:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:37:05] Production.INFO: Date 2025-01-01
[2025-01-06 21:37:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:37:05] Production.INFO: Date 2025-01-02
[2025-01-06 21:37:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:37:05] Production.INFO: Date 2025-01-03
[2025-01-06 21:37:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:37:05] Production.INFO: Date 2025-01-04
[2025-01-06 21:37:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:37:05] Production.INFO: Date 2025-01-05
[2025-01-06 21:37:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:37:05] Production.INFO: Date 2025-01-06
[2025-01-06 21:37:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:37:05] Production.INFO: Total Charge 0
[2025-01-06 21:37:05] Production.INFO: CreateAllLog End
[2025-01-06 21:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:37:05
[end_date_ymd] => 2025-01-06 21:37:05
[RateCDR] => 1
)
[2025-01-06 21:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 18:37:05' and `end` < '2025-01-06 21:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 21:37:05] Production.INFO: Account Balance End.
[2025-01-06 21:37:05] Production.ERROR: CronJobId end 12
[2025-01-06 21:37:05] Production.INFO: ==30863== Releasing lock...
[2025-01-06 21:37:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:37:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:37:13] Production.ERROR: CronJobId end10
[2025-01-06 21:37:13] Production.INFO: ==30861== Releasing lock...
[2025-01-06 21:37:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:37:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:37:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:37:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:37:14] Production.INFO: call_cost start
[2025-01-06 21:37:14] Production.INFO: call_cost end
[2025-01-06 21:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:37:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:37:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:37:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:37:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:37:15] Production.INFO: ==30857== Releasing lock...
[2025-01-06 21:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:37:18] Production.INFO: count ==1053
[2025-01-06 21:37:18] Production.ERROR: pbx CDR StartTime 2025-01-06 18:37:05 - End Time 2025-01-06 21:37:05
[2025-01-06 21:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190354', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190354', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190354', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190354', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:37:18] Production.INFO: ProcessCDR(1,14190354,1,1,2)
[2025-01-06 21:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190354,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190354,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190354,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190354,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190354', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190354', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:37:21] Production.INFO: ==30865== Releasing lock...
[2025-01-06 21:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:37:21] Production.INFO: 36 MB #Memory Used#
[2025-01-07 02:38:02] Production.INFO: ==30927== Lock acquired, processing the job...
[2025-01-07 02:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:38:02] Production.INFO: neon service started
[2025-01-07 02:38:02] Production.INFO: neon service started
[2025-01-07 02:38:02] Production.INFO: ==30927== Releasing lock...
[2025-01-07 02:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 21:38:02] Production.INFO: ==30929== Lock acquired, processing the job...
[2025-01-06 21:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 21:38:03] Production.INFO: ==30929== Releasing lock...
[2025-01-06 21:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:38:03] Production.INFO: ==30931== Lock acquired, processing the job...
[2025-01-07 02:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:38:03] Production.INFO: ==30931== Releasing lock...
[2025-01-07 02:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:38:03] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:38:03] Production.INFO: ==30933== Lock acquired, processing the job...
[2025-01-06 21:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:38:03] Production.INFO: ==30937== Lock acquired, processing the job...
[2025-01-06 21:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:38:03] Production.INFO: ==30935== Lock acquired, processing the job...
[2025-01-06 21:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:38:04] Production.INFO: ==30939== Lock acquired, processing the job...
[2025-01-06 21:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:38:04] Production.INFO: ==30943== Lock acquired, processing the job...
[2025-01-06 21:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:38:04] Production.INFO: ==30941== Lock acquired, processing the job...
[2025-01-06 21:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:38:04] Production.INFO: Account Balance Start.
[2025-01-06 21:38:04] Production.INFO: CreateAllLog Start
[2025-01-06 21:38:04] Production.INFO: 117
[2025-01-06 21:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:38:04] Production.INFO: Date 2024-12-08
[2025-01-06 21:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:38:04] Production.INFO: count ==21
[2025-01-06 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-06 21:38:04] Production.INFO: count ==21
[2025-01-06 21:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190357') start
[2025-01-06 21:38:04] Production.INFO: Date 2024-12-09
[2025-01-06 21:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:38:04] Production.INFO: Date 2024-12-10
[2025-01-06 21:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:38:04] Production.INFO: Date 2024-12-11
[2025-01-06 21:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:38:04] Production.INFO: ==30935== Releasing lock...
[2025-01-06 21:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190357') end
[2025-01-06 21:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:38:04] Production.INFO: 1
[2025-01-06 21:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:38:04] Production.INFO: Date 2024-12-12
[2025-01-06 21:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:38:04] Production.INFO: ==30943== Releasing lock...
[2025-01-06 21:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:38:04] Production.ERROR: done
[2025-01-06 21:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:38:04] Production.INFO: Date 2024-12-13
[2025-01-06 21:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:38:04] Production.INFO: Date 2024-12-14
[2025-01-06 21:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:38:04] Production.INFO: Date 2024-12-15
[2025-01-06 21:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:38:04] Production.INFO: Date 2024-12-16
[2025-01-06 21:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:38:04] Production.INFO: Date 2024-12-17
[2025-01-06 21:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:38:04] Production.ERROR: done
[2025-01-06 21:38:04] Production.INFO: Date 2024-12-18
[2025-01-06 21:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:38:04] Production.INFO: Date 2024-12-19
[2025-01-06 21:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:38:05] Production.INFO: Date 2024-12-20
[2025-01-06 21:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:38:05] Production.INFO: Date 2024-12-21
[2025-01-06 21:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:38:05] Production.INFO: Date 2024-12-22
[2025-01-06 21:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:38:05] Production.INFO: Date 2024-12-23
[2025-01-06 21:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:38:05] Production.INFO: Date 2024-12-24
[2025-01-06 21:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:38:05] Production.INFO: Date 2024-12-25
[2025-01-06 21:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:38:05] Production.INFO: Date 2024-12-26
[2025-01-06 21:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:38:05] Production.INFO: Date 2024-12-27
[2025-01-06 21:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:38:05] Production.INFO: Date 2024-12-28
[2025-01-06 21:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:38:05] Production.INFO: Date 2024-12-29
[2025-01-06 21:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:38:05] Production.INFO: Date 2024-12-30
[2025-01-06 21:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:38:05] Production.INFO: Date 2024-12-31
[2025-01-06 21:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:38:05] Production.INFO: Date 2025-01-01
[2025-01-06 21:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:38:05] Production.INFO: Date 2025-01-02
[2025-01-06 21:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:38:05] Production.INFO: Date 2025-01-03
[2025-01-06 21:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:38:05] Production.INFO: Date 2025-01-04
[2025-01-06 21:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:38:05] Production.INFO: Date 2025-01-05
[2025-01-06 21:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:38:05] Production.INFO: Date 2025-01-06
[2025-01-06 21:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:38:05] Production.INFO: Total Charge 0
[2025-01-06 21:38:05] Production.INFO: CreateAllLog End
[2025-01-06 21:38:05] Production.INFO: Account Balance End.
[2025-01-06 21:38:05] Production.ERROR: CronJobId end 12
[2025-01-06 21:38:05] Production.INFO: ==30939== Releasing lock...
[2025-01-06 21:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:38:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:38:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:38:06
[end_date_ymd] => 2025-01-06 21:38:06
[RateCDR] => 1
)
[2025-01-06 21:38:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 18:38:06' and `end` < '2025-01-06 21:38:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 21:38:13] Production.ERROR: CronJobId end10
[2025-01-06 21:38:13] Production.INFO: ==30937== Releasing lock...
[2025-01-06 21:38:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:38:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:38:13] Production.INFO: call_cost start
[2025-01-06 21:38:13] Production.INFO: call_cost end
[2025-01-06 21:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:38:14] Production.INFO: ==30933== Releasing lock...
[2025-01-06 21:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:38:18] Production.INFO: count ==1038
[2025-01-06 21:38:19] Production.ERROR: pbx CDR StartTime 2025-01-06 18:38:06 - End Time 2025-01-06 21:38:06
[2025-01-06 21:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190359', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190359', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190359', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190359', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:38:19] Production.INFO: ProcessCDR(1,14190359,1,1,2)
[2025-01-06 21:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190359,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190359,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190359,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190359,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190359', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190359', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:38:22] Production.INFO: ==30941== Releasing lock...
[2025-01-06 21:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:38:22] Production.INFO: 36 MB #Memory Used#
[2025-01-07 02:39:01] Production.INFO: ==30999== Lock acquired, processing the job...
[2025-01-07 02:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:39:01] Production.INFO: neon service started
[2025-01-07 02:39:01] Production.INFO: neon service started
[2025-01-07 02:39:01] Production.INFO: ==30999== Releasing lock...
[2025-01-07 02:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:39:02] Production.INFO: ==31004== Lock acquired, processing the job...
[2025-01-07 02:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:39:02] Production.INFO: ==31004== Releasing lock...
[2025-01-07 02:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:39:02] Production.INFO: ==31002== Lock acquired, processing the job...
[2025-01-06 21:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 21:39:02] Production.INFO: ==31002== Releasing lock...
[2025-01-06 21:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 21:39:03] Production.INFO: ==31006== Lock acquired, processing the job...
[2025-01-06 21:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:39:03] Production.INFO: ==31008== Lock acquired, processing the job...
[2025-01-06 21:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:39:03] Production.INFO: ==31012== Lock acquired, processing the job...
[2025-01-06 21:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:39:03] Production.INFO: Account Balance Start.
[2025-01-06 21:39:03] Production.INFO: CreateAllLog Start
[2025-01-06 21:39:03] Production.INFO: 117
[2025-01-06 21:39:03] Production.INFO: Date 2024-12-08
[2025-01-06 21:39:03] Production.INFO: ==31010== Lock acquired, processing the job...
[2025-01-06 21:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:39:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:39:03] Production.INFO: Date 2024-12-09
[2025-01-06 21:39:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:39:03] Production.INFO: Date 2024-12-10
[2025-01-06 21:39:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:39:03] Production.INFO: ==31014== Lock acquired, processing the job...
[2025-01-06 21:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:39:03] Production.INFO: Date 2024-12-11
[2025-01-06 21:39:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:39:03] Production.INFO: ==31008== Releasing lock...
[2025-01-06 21:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:39:03] Production.INFO: Date 2024-12-12
[2025-01-06 21:39:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:39:03] Production.INFO: Date 2024-12-13
[2025-01-06 21:39:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:39:03] Production.INFO: Date 2024-12-14
[2025-01-06 21:39:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:39:03] Production.INFO: ==31016== Lock acquired, processing the job...
[2025-01-06 21:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:39:03] Production.INFO: Date 2024-12-15
[2025-01-06 21:39:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:39:03] Production.INFO: Date 2024-12-16
[2025-01-06 21:39:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:39:03] Production.INFO: Date 2024-12-17
[2025-01-06 21:39:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:39:03] Production.INFO: Date 2024-12-18
[2025-01-06 21:39:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:39:03] Production.INFO: Date 2024-12-19
[2025-01-06 21:39:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:39:04] Production.INFO: Date 2024-12-20
[2025-01-06 21:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:39:04] Production.ERROR: done
[2025-01-06 21:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:39:04] Production.INFO: count ==21
[2025-01-06 21:39:04] Production.INFO: Date 2024-12-21
[2025-01-06 21:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:39:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:39:04] Production.INFO: count ==21
[2025-01-06 21:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:39:04] Production.ERROR: done
[2025-01-06 21:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190363') start
[2025-01-06 21:39:04] Production.INFO: Date 2024-12-23
[2025-01-06 21:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:39:04] Production.INFO: Date 2024-12-24
[2025-01-06 21:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:39:04] Production.INFO: Date 2024-12-25
[2025-01-06 21:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:39:04] Production.INFO: Date 2024-12-26
[2025-01-06 21:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:39:04] Production.INFO: Date 2024-12-27
[2025-01-06 21:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190363') end
[2025-01-06 21:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:39:04] Production.INFO: 1
[2025-01-06 21:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:39:04] Production.INFO: Date 2024-12-28
[2025-01-06 21:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:39:04] Production.INFO: Date 2024-12-29
[2025-01-06 21:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:39:04] Production.INFO: ==31016== Releasing lock...
[2025-01-06 21:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:39:04] Production.INFO: Date 2024-12-30
[2025-01-06 21:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:39:04] Production.INFO: Date 2024-12-31
[2025-01-06 21:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:39:04] Production.INFO: Date 2025-01-01
[2025-01-06 21:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:39:04] Production.INFO: Date 2025-01-02
[2025-01-06 21:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:39:04] Production.INFO: Date 2025-01-03
[2025-01-06 21:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:39:04] Production.INFO: Date 2025-01-04
[2025-01-06 21:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:39:04] Production.INFO: Date 2025-01-05
[2025-01-06 21:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:39:04] Production.INFO: Date 2025-01-06
[2025-01-06 21:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:39:04] Production.INFO: Total Charge 0
[2025-01-06 21:39:04] Production.INFO: CreateAllLog End
[2025-01-06 21:39:04] Production.INFO: Account Balance End.
[2025-01-06 21:39:04] Production.ERROR: CronJobId end 12
[2025-01-06 21:39:04] Production.INFO: ==31012== Releasing lock...
[2025-01-06 21:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:39:05
[end_date_ymd] => 2025-01-06 21:39:05
[RateCDR] => 1
)
[2025-01-06 21:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 18:39:05' and `end` < '2025-01-06 21:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 21:39:13] Production.ERROR: CronJobId end10
[2025-01-06 21:39:13] Production.INFO: ==31010== Releasing lock...
[2025-01-06 21:39:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:39:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:39:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:39:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:39:14] Production.INFO: call_cost start
[2025-01-06 21:39:14] Production.INFO: call_cost end
[2025-01-06 21:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:39:14] Production.INFO: ==31006== Releasing lock...
[2025-01-06 21:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:39:20] Production.INFO: count ==1033
[2025-01-06 21:39:20] Production.ERROR: pbx CDR StartTime 2025-01-06 18:39:05 - End Time 2025-01-06 21:39:05
[2025-01-06 21:39:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190364', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190364', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190364', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190364', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:39:20] Production.INFO: ProcessCDR(1,14190364,1,1,2)
[2025-01-06 21:39:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190364,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:39:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190364,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:39:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190364,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:39:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190364,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:39:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190364', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:39:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190364', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:39:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:39:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:39:24] Production.INFO: ==31014== Releasing lock...
[2025-01-06 21:39:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:39:24] Production.INFO: 35.5 MB #Memory Used#
[2025-01-07 02:40:02] Production.INFO: ==31077== Lock acquired, processing the job...
[2025-01-07 02:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:40:02] Production.INFO: neon service started
[2025-01-07 02:40:02] Production.INFO: neon service started
[2025-01-07 02:40:02] Production.INFO: ==31077== Releasing lock...
[2025-01-07 02:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 21:40:02] Production.INFO: ==31079== Lock acquired, processing the job...
[2025-01-06 21:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:40:02] Production.INFO: ==31081== Lock acquired, processing the job...
[2025-01-07 02:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:40:02] Production.INFO: ==31081== Releasing lock...
[2025-01-07 02:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:40:03] Production.INFO: ==31079== Releasing lock...
[2025-01-06 21:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 21:40:03] Production.INFO: ==31086== Lock acquired, processing the job...
[2025-01-06 21:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:40:04] Production.INFO: ==31084== Lock acquired, processing the job...
[2025-01-06 21:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-06 21:40:04] Production.INFO: ==31092== Lock acquired, processing the job...
[2025-01-06 21:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-06 21:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 21:40:04] Production.ERROR: CronJob PID - 31086
[2025-01-06 21:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-06 21:40:04] Production.ERROR: CronJob ID - 5
[2025-01-06 21:40:04] Production.ERROR: CronJob Last Run Time 2025-01-06 21:40:00
[2025-01-06 21:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 21:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 21:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 21:40:04] Production.ERROR: CronJob PID - 31092
[2025-01-06 21:40:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-06 21:40:04] Production.ERROR: CronJob ID - 12
[2025-01-06 21:40:04] Production.ERROR: CronJob Last Run Time 2025-01-06 21:40:00
[2025-01-06 21:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 21:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 21:40:04] Production.INFO: ==31088== Lock acquired, processing the job...
[2025-01-06 21:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:40:04] Production.INFO: ==31096== Lock acquired, processing the job...
[2025-01-06 21:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-06 21:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-06 21:40:04] Production.INFO: ==31084== Releasing lock...
[2025-01-06 21:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-06 21:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-06 21:40:04] Production.INFO: Account Balance Start.
[2025-01-06 21:40:04] Production.INFO: CreateAllLog Start
[2025-01-06 21:40:04] Production.INFO: ==31090== Lock acquired, processing the job...
[2025-01-06 21:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:40:04] Production.INFO: 117
[2025-01-06 21:40:04] Production.INFO: Date 2024-12-08
[2025-01-06 21:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:40:04] Production.INFO: Date 2024-12-09
[2025-01-06 21:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:40:04] Production.INFO: ==31094== Lock acquired, processing the job...
[2025-01-06 21:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:40:04] Production.INFO: ==31098== Lock acquired, processing the job...
[2025-01-06 21:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:40:04] Production.INFO: Date 2024-12-10
[2025-01-06 21:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:40:04] Production.INFO: Date 2024-12-11
[2025-01-06 21:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:40:04] Production.INFO: Date 2024-12-12
[2025-01-06 21:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:40:04] Production.INFO: Date 2024-12-13
[2025-01-06 21:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:40:04] Production.ERROR: done
[2025-01-06 21:40:04] Production.INFO: Date 2024-12-14
[2025-01-06 21:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:40:04] Production.INFO: Date 2024-12-15
[2025-01-06 21:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:40:04] Production.INFO: Date 2024-12-16
[2025-01-06 21:40:04] Production.INFO: count ==21
[2025-01-06 21:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 21:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-06 21:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14190369', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) start
[2025-01-06 21:40:04] Production.INFO: count ==21
[2025-01-06 21:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190368') start
[2025-01-06 21:40:04] Production.INFO: ==31088== Releasing lock...
[2025-01-06 21:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:40:04] Production.INFO: Date 2024-12-17
[2025-01-06 21:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:40:04] Production.ERROR: done
[2025-01-06 21:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:40:04] Production.INFO: Date 2024-12-18
[2025-01-06 21:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:40:04] Production.INFO: Date 2024-12-19
[2025-01-06 21:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190368') end
[2025-01-06 21:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:40:04] Production.INFO: 1
[2025-01-06 21:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:40:04] Production.INFO: Date 2024-12-20
[2025-01-06 21:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:40:05] Production.INFO: Date 2024-12-21
[2025-01-06 21:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:40:05] Production.ERROR: done
[2025-01-06 21:40:05] Production.INFO: ==31098== Releasing lock...
[2025-01-06 21:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:40:05] Production.INFO: Date 2024-12-22
[2025-01-06 21:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:40:05] Production.INFO: Date 2024-12-23
[2025-01-06 21:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:40:05] Production.INFO: Date 2024-12-24
[2025-01-06 21:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:40:05] Production.INFO: Date 2024-12-25
[2025-01-06 21:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:40:05] Production.INFO: Date 2024-12-26
[2025-01-06 21:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:40:05] Production.INFO: Date 2024-12-27
[2025-01-06 21:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:40:05] Production.INFO: Date 2024-12-28
[2025-01-06 21:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:40:05] Production.INFO: Date 2024-12-29
[2025-01-06 21:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:40:05] Production.INFO: Date 2024-12-30
[2025-01-06 21:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:40:05] Production.INFO: Date 2024-12-31
[2025-01-06 21:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:40:05] Production.INFO: Date 2025-01-01
[2025-01-06 21:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:40:05] Production.INFO: Date 2025-01-02
[2025-01-06 21:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:40:05] Production.INFO: Date 2025-01-03
[2025-01-06 21:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:40:05] Production.INFO: Date 2025-01-04
[2025-01-06 21:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:40:05] Production.INFO: Date 2025-01-05
[2025-01-06 21:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:40:05] Production.INFO: Date 2025-01-06
[2025-01-06 21:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:40:05] Production.INFO: Total Charge 0
[2025-01-06 21:40:06] Production.INFO: CreateAllLog End
[2025-01-06 21:40:06] Production.INFO: Account Balance End.
[2025-01-06 21:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:40:06
[end_date_ymd] => 2025-01-06 21:40:06
[RateCDR] => 1
)
[2025-01-06 21:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 18:40:06' and `end` < '2025-01-06 21:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 21:40:06] Production.ERROR: CronJobId end 12
[2025-01-06 21:40:06] Production.INFO: ==31092== Releasing lock...
[2025-01-06 21:40:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:40:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14190369', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) end
[2025-01-06 21:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-06 21:40:08] Production.INFO: ProcessCDR(1,14190369,1,1,2)
[2025-01-06 21:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14190369,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14190369,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:40:08] Production.INFO: ==31096== Releasing lock...
[2025-01-06 21:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-06 21:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-06 21:40:14] Production.ERROR: CronJobId end10
[2025-01-06 21:40:14] Production.INFO: ==31090== Releasing lock...
[2025-01-06 21:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:40:15] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:40:15] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:40:15] Production.INFO: call_cost start
[2025-01-06 21:40:15] Production.INFO: call_cost end
[2025-01-06 21:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:40:16] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:40:16] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:40:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:40:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:40:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:40:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:40:16] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:40:16] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:40:16] Production.INFO: ==31086== Releasing lock...
[2025-01-06 21:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:40:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:40:19] Production.INFO: count ==1032
[2025-01-06 21:40:19] Production.ERROR: pbx CDR StartTime 2025-01-06 18:40:06 - End Time 2025-01-06 21:40:06
[2025-01-06 21:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190370', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190370', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190370', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190370', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:40:19] Production.INFO: ProcessCDR(1,14190370,1,1,2)
[2025-01-06 21:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190370,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190370,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190370,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190370,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190370', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190370', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:40:22] Production.INFO: ==31094== Releasing lock...
[2025-01-06 21:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:40:22] Production.INFO: 35.5 MB #Memory Used#
[2025-01-07 02:41:01] Production.INFO: ==31158== Lock acquired, processing the job...
[2025-01-07 02:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:41:01] Production.INFO: neon service started
[2025-01-07 02:41:01] Production.INFO: neon service started
[2025-01-07 02:41:01] Production.INFO: ==31158== Releasing lock...
[2025-01-07 02:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:41:02] Production.INFO: ==31162== Lock acquired, processing the job...
[2025-01-07 02:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:41:02] Production.INFO: ==31162== Releasing lock...
[2025-01-07 02:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:41:02] Production.INFO: ==31160== Lock acquired, processing the job...
[2025-01-06 21:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 21:41:02] Production.INFO: ==31160== Releasing lock...
[2025-01-06 21:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 21:41:03] Production.INFO: ==31173== Lock acquired, processing the job...
[2025-01-06 21:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:41:03] Production.INFO: ==31169== Lock acquired, processing the job...
[2025-01-06 21:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:41:03] Production.INFO: ==31165== Lock acquired, processing the job...
[2025-01-06 21:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:41:03] Production.INFO: ==31167== Lock acquired, processing the job...
[2025-01-06 21:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:41:03] Production.INFO: ==31171== Lock acquired, processing the job...
[2025-01-06 21:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:41:03] Production.ERROR: done
[2025-01-06 21:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:41:03] Production.INFO: ==31175== Lock acquired, processing the job...
[2025-01-06 21:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:41:03] Production.INFO: Account Balance Start.
[2025-01-06 21:41:03] Production.INFO: CreateAllLog Start
[2025-01-06 21:41:03] Production.INFO: 117
[2025-01-06 21:41:03] Production.ERROR: done
[2025-01-06 21:41:03] Production.INFO: Date 2024-12-08
[2025-01-06 21:41:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:41:03] Production.INFO: count ==21
[2025-01-06 21:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:41:03] Production.INFO: Date 2024-12-09
[2025-01-06 21:41:03] Production.INFO: count ==21
[2025-01-06 21:41:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190375') start
[2025-01-06 21:41:04] Production.INFO: Date 2024-12-10
[2025-01-06 21:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:41:04] Production.INFO: ==31167== Releasing lock...
[2025-01-06 21:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190375') end
[2025-01-06 21:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:41:04] Production.INFO: 1
[2025-01-06 21:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:41:04] Production.INFO: Date 2024-12-11
[2025-01-06 21:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:41:04] Production.INFO: Date 2024-12-12
[2025-01-06 21:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:41:04] Production.INFO: ==31175== Releasing lock...
[2025-01-06 21:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:41:04] Production.INFO: Date 2024-12-13
[2025-01-06 21:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:41:04] Production.INFO: Date 2024-12-14
[2025-01-06 21:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:41:04] Production.INFO: Date 2024-12-15
[2025-01-06 21:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:41:04] Production.INFO: Date 2024-12-16
[2025-01-06 21:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:41:04] Production.INFO: Date 2024-12-17
[2025-01-06 21:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:41:04] Production.INFO: Date 2024-12-18
[2025-01-06 21:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:41:04] Production.INFO: Date 2024-12-19
[2025-01-06 21:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:41:04] Production.INFO: Date 2024-12-20
[2025-01-06 21:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:41:04] Production.INFO: Date 2024-12-21
[2025-01-06 21:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:41:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:41:04] Production.INFO: Date 2024-12-23
[2025-01-06 21:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:41:04] Production.INFO: Date 2024-12-24
[2025-01-06 21:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:41:04] Production.INFO: Date 2024-12-25
[2025-01-06 21:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:41:04] Production.INFO: Date 2024-12-26
[2025-01-06 21:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:41:04
[end_date_ymd] => 2025-01-06 21:41:04
[RateCDR] => 1
)
[2025-01-06 21:41:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 18:41:04' and `end` < '2025-01-06 21:41:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 21:41:04] Production.INFO: Date 2024-12-27
[2025-01-06 21:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:41:04] Production.INFO: Date 2024-12-28
[2025-01-06 21:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:41:04] Production.INFO: Date 2024-12-29
[2025-01-06 21:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:41:05] Production.INFO: Date 2024-12-30
[2025-01-06 21:41:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:41:05] Production.INFO: Date 2024-12-31
[2025-01-06 21:41:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:41:05] Production.INFO: Date 2025-01-01
[2025-01-06 21:41:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:41:05] Production.INFO: Date 2025-01-02
[2025-01-06 21:41:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:41:05] Production.INFO: Date 2025-01-03
[2025-01-06 21:41:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:41:05] Production.INFO: Date 2025-01-04
[2025-01-06 21:41:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:41:05] Production.INFO: Date 2025-01-05
[2025-01-06 21:41:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:41:05] Production.INFO: Date 2025-01-06
[2025-01-06 21:41:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:41:05] Production.INFO: Total Charge 0
[2025-01-06 21:41:05] Production.INFO: CreateAllLog End
[2025-01-06 21:41:05] Production.INFO: Account Balance End.
[2025-01-06 21:41:05] Production.ERROR: CronJobId end 12
[2025-01-06 21:41:05] Production.INFO: ==31171== Releasing lock...
[2025-01-06 21:41:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:41:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:41:12] Production.ERROR: CronJobId end10
[2025-01-06 21:41:12] Production.INFO: ==31169== Releasing lock...
[2025-01-06 21:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:41:14] Production.INFO: call_cost start
[2025-01-06 21:41:14] Production.INFO: call_cost end
[2025-01-06 21:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:41:14] Production.INFO: ==31165== Releasing lock...
[2025-01-06 21:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:41:18] Production.INFO: count ==1040
[2025-01-06 21:41:19] Production.ERROR: pbx CDR StartTime 2025-01-06 18:41:04 - End Time 2025-01-06 21:41:04
[2025-01-06 21:41:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190374', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190374', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190374', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190374', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:41:19] Production.INFO: ProcessCDR(1,14190374,1,1,2)
[2025-01-06 21:41:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190374,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:41:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190374,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:41:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190374,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190374,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190374', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190374', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:41:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:41:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:41:22] Production.INFO: ==31173== Releasing lock...
[2025-01-06 21:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:41:22] Production.INFO: 35.75 MB #Memory Used#
[2025-01-07 02:42:02] Production.INFO: ==31236== Lock acquired, processing the job...
[2025-01-07 02:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:42:02] Production.INFO: neon service started
[2025-01-07 02:42:02] Production.INFO: neon service started
[2025-01-07 02:42:02] Production.INFO: ==31236== Releasing lock...
[2025-01-07 02:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 21:42:02] Production.INFO: ==31238== Lock acquired, processing the job...
[2025-01-06 21:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 21:42:02] Production.INFO: ==31238== Releasing lock...
[2025-01-06 21:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:42:03] Production.INFO: ==31240== Lock acquired, processing the job...
[2025-01-07 02:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:42:03] Production.INFO: ==31240== Releasing lock...
[2025-01-07 02:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:42:03] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:42:03] Production.INFO: ==31243== Lock acquired, processing the job...
[2025-01-06 21:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:42:03] Production.INFO: ==31247== Lock acquired, processing the job...
[2025-01-06 21:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:42:03] Production.INFO: ==31245== Lock acquired, processing the job...
[2025-01-06 21:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:42:03] Production.INFO: ==31251== Lock acquired, processing the job...
[2025-01-06 21:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:42:03] Production.INFO: ==31249== Lock acquired, processing the job...
[2025-01-06 21:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:42:03] Production.INFO: ==31253== Lock acquired, processing the job...
[2025-01-06 21:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:42:03] Production.INFO: Account Balance Start.
[2025-01-06 21:42:03] Production.INFO: CreateAllLog Start
[2025-01-06 21:42:03] Production.INFO: 117
[2025-01-06 21:42:03] Production.INFO: Date 2024-12-08
[2025-01-06 21:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:42:04] Production.INFO: Date 2024-12-09
[2025-01-06 21:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:42:04] Production.INFO: count ==21
[2025-01-06 21:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:42:04] Production.INFO: count ==21
[2025-01-06 21:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190379') start
[2025-01-06 21:42:04] Production.INFO: Date 2024-12-10
[2025-01-06 21:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:42:04] Production.INFO: Date 2024-12-11
[2025-01-06 21:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:42:04] Production.ERROR: done
[2025-01-06 21:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:42:04] Production.INFO: Date 2024-12-12
[2025-01-06 21:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:42:04] Production.INFO: Date 2024-12-13
[2025-01-06 21:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:42:04] Production.INFO: Date 2024-12-14
[2025-01-06 21:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:42:04] Production.INFO: Date 2024-12-15
[2025-01-06 21:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190379') end
[2025-01-06 21:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:42:04] Production.INFO: 1
[2025-01-06 21:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:42:04] Production.INFO: Date 2024-12-16
[2025-01-06 21:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:42:04] Production.INFO: ==31245== Releasing lock...
[2025-01-06 21:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:42:04] Production.INFO: Date 2024-12-17
[2025-01-06 21:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:42:04] Production.INFO: Date 2024-12-18
[2025-01-06 21:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:42:04] Production.INFO: ==31253== Releasing lock...
[2025-01-06 21:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:42:04] Production.INFO: Date 2024-12-19
[2025-01-06 21:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:42:04] Production.ERROR: done
[2025-01-06 21:42:04] Production.INFO: Date 2024-12-20
[2025-01-06 21:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:42:04] Production.INFO: Date 2024-12-21
[2025-01-06 21:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:42:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:42:04] Production.INFO: Date 2024-12-23
[2025-01-06 21:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:42:04] Production.INFO: Date 2024-12-24
[2025-01-06 21:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:42:04] Production.INFO: Date 2024-12-25
[2025-01-06 21:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:42:04] Production.INFO: Date 2024-12-26
[2025-01-06 21:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:42:04] Production.INFO: Date 2024-12-27
[2025-01-06 21:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:42:04] Production.INFO: Date 2024-12-28
[2025-01-06 21:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:42:04] Production.INFO: Date 2024-12-29
[2025-01-06 21:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:42:04] Production.INFO: Date 2024-12-30
[2025-01-06 21:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:42:04] Production.INFO: Date 2024-12-31
[2025-01-06 21:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:42:04] Production.INFO: Date 2025-01-01
[2025-01-06 21:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:42:04] Production.INFO: Date 2025-01-02
[2025-01-06 21:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:42:04] Production.INFO: Date 2025-01-03
[2025-01-06 21:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:42:04] Production.INFO: Date 2025-01-04
[2025-01-06 21:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:42:04] Production.INFO: Date 2025-01-05
[2025-01-06 21:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:42:05] Production.INFO: Date 2025-01-06
[2025-01-06 21:42:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:42:05] Production.INFO: Total Charge 0
[2025-01-06 21:42:05] Production.INFO: CreateAllLog End
[2025-01-06 21:42:05] Production.INFO: Account Balance End.
[2025-01-06 21:42:05] Production.ERROR: CronJobId end 12
[2025-01-06 21:42:05] Production.INFO: ==31249== Releasing lock...
[2025-01-06 21:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:42:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:42:05
[end_date_ymd] => 2025-01-06 21:42:05
[RateCDR] => 1
)
[2025-01-06 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-06 18:42:05' and `end` < '2025-01-06 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-06 21:42:12] Production.ERROR: CronJobId end10
[2025-01-06 21:42:12] Production.INFO: ==31247== Releasing lock...
[2025-01-06 21:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:42:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:42:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:42:14] Production.INFO: call_cost start
[2025-01-06 21:42:14] Production.INFO: call_cost end
[2025-01-06 21:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:42:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:42:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:42:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:42:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:42:15] Production.INFO: ==31243== Releasing lock...
[2025-01-06 21:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:42:18] Production.INFO: count ==1039
[2025-01-06 21:42:18] Production.ERROR: pbx CDR StartTime 2025-01-06 18:42:05 - End Time 2025-01-06 21:42:05
[2025-01-06 21:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190380', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190380', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190380', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190380', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:42:18] Production.INFO: ProcessCDR(1,14190380,1,1,2)
[2025-01-06 21:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190380,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190380,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190380,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190380,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190380', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190380', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:42:22] Production.INFO: ==31251== Releasing lock...
[2025-01-06 21:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:42:22] Production.INFO: 35.75 MB #Memory Used#
[2025-01-07 02:43:01] Production.INFO: ==31316== Lock acquired, processing the job...
[2025-01-07 02:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:43:01] Production.INFO: neon service started
[2025-01-07 02:43:01] Production.INFO: neon service started
[2025-01-07 02:43:01] Production.INFO: ==31316== Releasing lock...
[2025-01-07 02:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:43:02] Production.INFO: ==31320== Lock acquired, processing the job...
[2025-01-07 02:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:43:02] Production.INFO: ==31320== Releasing lock...
[2025-01-07 02:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:43:02] Production.INFO: ==31318== Lock acquired, processing the job...
[2025-01-06 21:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 21:43:02] Production.INFO: ==31318== Releasing lock...
[2025-01-06 21:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 21:43:03] Production.INFO: ==31327== Lock acquired, processing the job...
[2025-01-06 21:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:43:03] Production.INFO: ==31323== Lock acquired, processing the job...
[2025-01-06 21:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:43:03] Production.INFO: ==31331== Lock acquired, processing the job...
[2025-01-06 21:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:43:03] Production.INFO: ==31325== Lock acquired, processing the job...
[2025-01-06 21:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:43:03] Production.INFO: ==31329== Lock acquired, processing the job...
[2025-01-06 21:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:43:03] Production.INFO: ==31333== Lock acquired, processing the job...
[2025-01-06 21:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:43:03] Production.INFO: Account Balance Start.
[2025-01-06 21:43:03] Production.INFO: CreateAllLog Start
[2025-01-06 21:43:03] Production.INFO: 117
[2025-01-06 21:43:03] Production.INFO: Date 2024-12-08
[2025-01-06 21:43:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:43:03] Production.INFO: Date 2024-12-09
[2025-01-06 21:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:43:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:43:03] Production.ERROR: done
[2025-01-06 21:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:43:03] Production.INFO: ==31325== Releasing lock...
[2025-01-06 21:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:43:03] Production.INFO: Date 2024-12-10
[2025-01-06 21:43:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:43:03] Production.INFO: Date 2024-12-11
[2025-01-06 21:43:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:43:03] Production.INFO: count ==21
[2025-01-06 21:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:43:03] Production.INFO: count ==21
[2025-01-06 21:43:03] Production.INFO: Date 2024-12-12
[2025-01-06 21:43:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:43:03] Production.ERROR: done
[2025-01-06 21:43:03] Production.INFO: Date 2024-12-13
[2025-01-06 21:43:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190384') start
[2025-01-06 21:43:04] Production.INFO: Date 2024-12-14
[2025-01-06 21:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:43:04] Production.INFO: Date 2024-12-15
[2025-01-06 21:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190384') end
[2025-01-06 21:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:43:04] Production.INFO: 1
[2025-01-06 21:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:43:04] Production.INFO: Date 2024-12-16
[2025-01-06 21:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:43:04] Production.INFO: ==31333== Releasing lock...
[2025-01-06 21:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:43:04] Production.INFO: Date 2024-12-17
[2025-01-06 21:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:43:04] Production.INFO: Date 2024-12-18
[2025-01-06 21:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:43:04] Production.INFO: Date 2024-12-19
[2025-01-06 21:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:43:04] Production.INFO: Date 2024-12-20
[2025-01-06 21:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:43:04] Production.INFO: Date 2024-12-21
[2025-01-06 21:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:43:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:43:04] Production.INFO: Date 2024-12-23
[2025-01-06 21:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:43:04] Production.INFO: Date 2024-12-24
[2025-01-06 21:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:43:04] Production.INFO: Date 2024-12-25
[2025-01-06 21:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:43:04] Production.INFO: Date 2024-12-26
[2025-01-06 21:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:43:04] Production.INFO: Date 2024-12-27
[2025-01-06 21:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:43:04] Production.INFO: Date 2024-12-28
[2025-01-06 21:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:43:04] Production.INFO: Date 2024-12-29
[2025-01-06 21:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:43:04] Production.INFO: Date 2024-12-30
[2025-01-06 21:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:43:04] Production.INFO: Date 2024-12-31
[2025-01-06 21:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:43:04] Production.INFO: Date 2025-01-01
[2025-01-06 21:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:43:04] Production.INFO: Date 2025-01-02
[2025-01-06 21:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:43:04] Production.INFO: Date 2025-01-03
[2025-01-06 21:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:43:04] Production.INFO: Date 2025-01-04
[2025-01-06 21:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:43:04] Production.INFO: Date 2025-01-05
[2025-01-06 21:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:43:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:43:04
[end_date_ymd] => 2025-01-06 21:43:04
[RateCDR] => 1
)
[2025-01-06 21: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-06 18:43:04' and `end` < '2025-01-06 21: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-06 21:43:04] Production.INFO: Date 2025-01-06
[2025-01-06 21:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:43:04] Production.INFO: Total Charge 0
[2025-01-06 21:43:04] Production.INFO: CreateAllLog End
[2025-01-06 21:43:05] Production.INFO: Account Balance End.
[2025-01-06 21:43:05] Production.ERROR: CronJobId end 12
[2025-01-06 21:43:05] Production.INFO: ==31329== Releasing lock...
[2025-01-06 21:43:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:43:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:43:11] Production.ERROR: CronJobId end10
[2025-01-06 21:43:11] Production.INFO: ==31327== Releasing lock...
[2025-01-06 21:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:43:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:43:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:43:13] Production.INFO: call_cost start
[2025-01-06 21:43:13] Production.INFO: call_cost end
[2025-01-06 21:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:43:14] Production.INFO: ==31323== Releasing lock...
[2025-01-06 21:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:43:19] Production.INFO: count ==1040
[2025-01-06 21:43:19] Production.ERROR: pbx CDR StartTime 2025-01-06 18:43:04 - End Time 2025-01-06 21:43:04
[2025-01-06 21:43:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190385', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190385', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190385', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190385', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:43:19] Production.INFO: ProcessCDR(1,14190385,1,1,2)
[2025-01-06 21:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190385,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:43:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190385,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:43:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190385,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:43:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190385,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190385', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190385', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:43:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:43:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:43:23] Production.INFO: ==31331== Releasing lock...
[2025-01-06 21:43:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:43:23] Production.INFO: 35.75 MB #Memory Used#
[2025-01-07 02:44:02] Production.INFO: ==31389== Lock acquired, processing the job...
[2025-01-07 02:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:44:02] Production.INFO: neon service started
[2025-01-07 02:44:02] Production.INFO: neon service started
[2025-01-07 02:44:02] Production.INFO: ==31389== Releasing lock...
[2025-01-07 02:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 21:44:02] Production.INFO: ==31391== Lock acquired, processing the job...
[2025-01-06 21:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:44:02] Production.INFO: ==31393== Lock acquired, processing the job...
[2025-01-07 02:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-06 21:44:02] Production.INFO: ==31391== Releasing lock...
[2025-01-06 21:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:44:02] Production.INFO: ==31393== Releasing lock...
[2025-01-07 02:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:44:03] Production.INFO: ==31397== Lock acquired, processing the job...
[2025-01-06 21:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:44:03] Production.INFO: ==31401== Lock acquired, processing the job...
[2025-01-06 21:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:44:03] Production.INFO: Account Balance Start.
[2025-01-06 21:44:03] Production.INFO: CreateAllLog Start
[2025-01-06 21:44:03] Production.INFO: 117
[2025-01-06 21:44:03] Production.INFO: ==31406== Lock acquired, processing the job...
[2025-01-06 21:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:44:03] Production.INFO: Date 2024-12-08
[2025-01-06 21:44:03] Production.INFO: ==31395== Lock acquired, processing the job...
[2025-01-06 21:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:44:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:44:03] Production.INFO: Date 2024-12-09
[2025-01-06 21:44:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:44:03] Production.INFO: ==31399== Lock acquired, processing the job...
[2025-01-06 21:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 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-06 21:44:03] Production.INFO: Date 2024-12-10
[2025-01-06 21:44:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:44:03] Production.INFO: count ==21
[2025-01-06 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-06 21:44:03] Production.INFO: count ==21
[2025-01-06 21:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190388') start
[2025-01-06 21:44:03] Production.INFO: Date 2024-12-11
[2025-01-06 21:44:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:44:04] Production.INFO: ==31404== Lock acquired, processing the job...
[2025-01-06 21:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:44:04] Production.INFO: ==31397== Releasing lock...
[2025-01-06 21:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:44:04] Production.INFO: Date 2024-12-12
[2025-01-06 21:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:44:04] Production.INFO: Date 2024-12-13
[2025-01-06 21:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190388') end
[2025-01-06 21:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:44:04] Production.INFO: 1
[2025-01-06 21:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:44:04] Production.INFO: Date 2024-12-14
[2025-01-06 21:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:44:04] Production.INFO: Date 2024-12-15
[2025-01-06 21:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:44:04] Production.INFO: ==31406== Releasing lock...
[2025-01-06 21:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:44:04] Production.INFO: Date 2024-12-16
[2025-01-06 21:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:44:04] Production.INFO: Date 2024-12-17
[2025-01-06 21:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:44:04] Production.INFO: Date 2024-12-18
[2025-01-06 21:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:44:04] Production.ERROR: done
[2025-01-06 21:44:04] Production.INFO: Date 2024-12-19
[2025-01-06 21:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:44:04] Production.ERROR: done
[2025-01-06 21:44:04] Production.INFO: Date 2024-12-20
[2025-01-06 21:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:44:04] Production.INFO: Date 2024-12-21
[2025-01-06 21:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:44:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:44:04] Production.INFO: Date 2024-12-23
[2025-01-06 21:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:44:04] Production.INFO: Date 2024-12-24
[2025-01-06 21:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:44:04] Production.INFO: Date 2024-12-25
[2025-01-06 21:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:44:04] Production.INFO: Date 2024-12-26
[2025-01-06 21:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:44:05] Production.INFO: Date 2024-12-27
[2025-01-06 21:44:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:44:05] Production.INFO: Date 2024-12-28
[2025-01-06 21:44:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:44:05] Production.INFO: Date 2024-12-29
[2025-01-06 21:44:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:44:05] Production.INFO: Date 2024-12-30
[2025-01-06 21:44:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:44:05] Production.INFO: Date 2024-12-31
[2025-01-06 21:44:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:44:05] Production.INFO: Date 2025-01-01
[2025-01-06 21:44:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:44:05] Production.INFO: Date 2025-01-02
[2025-01-06 21:44:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:44:05] Production.INFO: Date 2025-01-03
[2025-01-06 21:44:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:44:05] Production.INFO: Date 2025-01-04
[2025-01-06 21:44:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:44:05] Production.INFO: Date 2025-01-05
[2025-01-06 21:44:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:44:05] Production.INFO: Date 2025-01-06
[2025-01-06 21:44:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:44:05] Production.INFO: Total Charge 0
[2025-01-06 21:44:05] Production.INFO: CreateAllLog End
[2025-01-06 21:44:05] Production.INFO: Account Balance End.
[2025-01-06 21:44:05] Production.ERROR: CronJobId end 12
[2025-01-06 21:44:05] Production.INFO: ==31401== Releasing lock...
[2025-01-06 21:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:44:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:44:05
[end_date_ymd] => 2025-01-06 21:44:05
[RateCDR] => 1
)
[2025-01-06 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-06 18:44:05' and `end` < '2025-01-06 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-06 21:44:12] Production.ERROR: CronJobId end10
[2025-01-06 21:44:12] Production.INFO: ==31399== Releasing lock...
[2025-01-06 21:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:44:13] Production.INFO: call_cost start
[2025-01-06 21:44:13] Production.INFO: call_cost end
[2025-01-06 21:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:44:14] Production.INFO: ==31395== Releasing lock...
[2025-01-06 21:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:44:19] Production.INFO: count ==1040
[2025-01-06 21:44:20] Production.ERROR: pbx CDR StartTime 2025-01-06 18:44:05 - End Time 2025-01-06 21:44:05
[2025-01-06 21:44:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:44:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190390', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:44:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190390', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:44:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190390', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:44:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190390', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:44:20] Production.INFO: ProcessCDR(1,14190390,1,1,2)
[2025-01-06 21:44:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190390,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:44:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190390,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:44:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190390,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:44:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190390,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:44:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190390', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:44:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190390', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:44:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:44:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:44:24] Production.INFO: ==31404== Releasing lock...
[2025-01-06 21:44:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:44:24] Production.INFO: 35.75 MB #Memory Used#
[2025-01-07 02:45:01] Production.INFO: ==31502== Lock acquired, processing the job...
[2025-01-07 02:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:45:01] Production.INFO: neon service started
[2025-01-07 02:45:01] Production.INFO: neon service started
[2025-01-07 02:45:01] Production.INFO: ==31502== Releasing lock...
[2025-01-07 02:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 21:45:01] Production.INFO: ==31505== Lock acquired, processing the job...
[2025-01-06 21:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:45:02] Production.INFO: ==31507== Lock acquired, processing the job...
[2025-01-07 02:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:45:02] Production.INFO: ==31507== Releasing lock...
[2025-01-07 02:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:45:02] Production.INFO: ==31505== Releasing lock...
[2025-01-06 21:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 21:45:03] Production.INFO: ==31513== Lock acquired, processing the job...
[2025-01-06 21:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:45:03] Production.INFO: ==31517== Lock acquired, processing the job...
[2025-01-06 21:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:45:03] Production.INFO: ==31509== Lock acquired, processing the job...
[2025-01-06 21:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:45:03] Production.INFO: ==31511== Lock acquired, processing the job...
[2025-01-06 21:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:45:03] Production.INFO: ==31515== Lock acquired, processing the job...
[2025-01-06 21:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:45:03] Production.INFO: ==31519== Lock acquired, processing the job...
[2025-01-06 21:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:45:03] Production.INFO: Account Balance Start.
[2025-01-06 21:45:03] Production.INFO: CreateAllLog Start
[2025-01-06 21:45:03] Production.INFO: 117
[2025-01-06 21:45:03] Production.INFO: Date 2024-12-08
[2025-01-06 21:45:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:45:03] Production.INFO: Date 2024-12-09
[2025-01-06 21:45:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:45:03] Production.ERROR: done
[2025-01-06 21:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:45:03] Production.INFO: Date 2024-12-10
[2025-01-06 21:45:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:45:03] Production.INFO: count ==21
[2025-01-06 21:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:45:03] Production.INFO: count ==21
[2025-01-06 21:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190394') start
[2025-01-06 21:45:03] Production.ERROR: done
[2025-01-06 21:45:03] Production.INFO: ==31511== Releasing lock...
[2025-01-06 21:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:45:03] Production.INFO: Date 2024-12-11
[2025-01-06 21:45:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:45:03] Production.INFO: Date 2024-12-12
[2025-01-06 21:45:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190394') end
[2025-01-06 21:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:45:03] Production.INFO: 1
[2025-01-06 21:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:45:03] Production.INFO: ==31519== Releasing lock...
[2025-01-06 21:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:45:03] Production.INFO: Date 2024-12-13
[2025-01-06 21:45:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:45:03] Production.INFO: Date 2024-12-14
[2025-01-06 21:45:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:45:03] Production.INFO: Date 2024-12-15
[2025-01-06 21:45:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:45:03] Production.INFO: Date 2024-12-16
[2025-01-06 21:45:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:45:03] Production.INFO: Date 2024-12-17
[2025-01-06 21:45:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:45:03] Production.INFO: Date 2024-12-18
[2025-01-06 21:45:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:45:03] Production.INFO: Date 2024-12-19
[2025-01-06 21:45:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:45:04] Production.INFO: Date 2024-12-20
[2025-01-06 21:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:45:04] Production.INFO: Date 2024-12-21
[2025-01-06 21:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:45:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:45:04] Production.INFO: Date 2024-12-23
[2025-01-06 21:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:45:04] Production.INFO: Date 2024-12-24
[2025-01-06 21:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:45:04] Production.INFO: Date 2024-12-25
[2025-01-06 21:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:45:04] Production.INFO: Date 2024-12-26
[2025-01-06 21:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:45:04] Production.INFO: Date 2024-12-27
[2025-01-06 21:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:45:04] Production.INFO: Date 2024-12-28
[2025-01-06 21:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:45:04] Production.INFO: Date 2024-12-29
[2025-01-06 21:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:45:04] Production.INFO: Date 2024-12-30
[2025-01-06 21:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:45:04] Production.INFO: Date 2024-12-31
[2025-01-06 21:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:45:04] Production.INFO: Date 2025-01-01
[2025-01-06 21:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:45:04] Production.INFO: Date 2025-01-02
[2025-01-06 21:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:45:04] Production.INFO: Date 2025-01-03
[2025-01-06 21:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:45:04] Production.INFO: Date 2025-01-04
[2025-01-06 21:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:45:04] Production.INFO: Date 2025-01-05
[2025-01-06 21:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:45:04] Production.INFO: Date 2025-01-06
[2025-01-06 21:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:45:04] Production.INFO: Total Charge 0
[2025-01-06 21:45:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:45:04
[end_date_ymd] => 2025-01-06 21:45:04
[RateCDR] => 1
)
[2025-01-06 21:45:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 18:45:04' and `end` < '2025-01-06 21:45:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 21:45:04] Production.INFO: CreateAllLog End
[2025-01-06 21:45:05] Production.INFO: Account Balance End.
[2025-01-06 21:45:05] Production.ERROR: CronJobId end 12
[2025-01-06 21:45:05] Production.INFO: ==31515== Releasing lock...
[2025-01-06 21:45:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:45:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:45:12] Production.ERROR: CronJobId end10
[2025-01-06 21:45:12] Production.INFO: ==31513== Releasing lock...
[2025-01-06 21:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:45:14] Production.INFO: call_cost start
[2025-01-06 21:45:14] Production.INFO: call_cost end
[2025-01-06 21:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:45:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:45:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:45:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:45:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:45:15] Production.INFO: ==31509== Releasing lock...
[2025-01-06 21:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:45:17] Production.INFO: count ==1038
[2025-01-06 21:45:18] Production.ERROR: pbx CDR StartTime 2025-01-06 18:45:04 - End Time 2025-01-06 21:45:04
[2025-01-06 21:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190395', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190395', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190395', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190395', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:45:18] Production.INFO: ProcessCDR(1,14190395,1,1,2)
[2025-01-06 21:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190395,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190395,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190395,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190395,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190395', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190395', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:45:21] Production.INFO: ==31517== Releasing lock...
[2025-01-06 21:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:45:21] Production.INFO: 35.75 MB #Memory Used#
[2025-01-07 02:46:01] Production.INFO: ==31579== Lock acquired, processing the job...
[2025-01-07 02:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:46:01] Production.INFO: neon service started
[2025-01-07 02:46:02] Production.INFO: neon service started
[2025-01-07 02:46:02] Production.INFO: ==31579== Releasing lock...
[2025-01-07 02:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 21:46:02] Production.INFO: ==31581== Lock acquired, processing the job...
[2025-01-06 21:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:46:02] Production.INFO: ==31583== Lock acquired, processing the job...
[2025-01-07 02:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:46:02] Production.INFO: ==31583== Releasing lock...
[2025-01-07 02:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:46:02] Production.INFO: ==31581== Releasing lock...
[2025-01-06 21:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 21:46:03] Production.INFO: ==31590== Lock acquired, processing the job...
[2025-01-06 21:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:46:03] Production.INFO: ==31592== Lock acquired, processing the job...
[2025-01-06 21:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:46:03] Production.INFO: ==31586== Lock acquired, processing the job...
[2025-01-06 21:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:46:03] Production.INFO: ==31588== Lock acquired, processing the job...
[2025-01-06 21:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:46:04] Production.INFO: Account Balance Start.
[2025-01-06 21:46:04] Production.INFO: CreateAllLog Start
[2025-01-06 21:46:04] Production.INFO: 117
[2025-01-06 21:46:04] Production.INFO: Date 2024-12-08
[2025-01-06 21:46:04] Production.INFO: ==31594== Lock acquired, processing the job...
[2025-01-06 21:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:46:04] Production.INFO: Date 2024-12-09
[2025-01-06 21:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:46:04] Production.INFO: Date 2024-12-10
[2025-01-06 21:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:46:04] Production.INFO: Date 2024-12-11
[2025-01-06 21:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:46:04] Production.INFO: Date 2024-12-12
[2025-01-06 21:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:46:04] Production.INFO: ==31596== Lock acquired, processing the job...
[2025-01-06 21:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:46:04] Production.INFO: Date 2024-12-13
[2025-01-06 21:46:04] Production.INFO: ==31588== Releasing lock...
[2025-01-06 21:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:46:04] Production.INFO: Date 2024-12-14
[2025-01-06 21:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:46:04] Production.INFO: Date 2024-12-15
[2025-01-06 21:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:46:04] Production.INFO: Date 2024-12-16
[2025-01-06 21:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:46:04] Production.INFO: Date 2024-12-17
[2025-01-06 21:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:46:04] Production.ERROR: done
[2025-01-06 21:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:46:04] Production.INFO: Date 2024-12-18
[2025-01-06 21:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:46:04] Production.INFO: Date 2024-12-19
[2025-01-06 21:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:46:04] Production.INFO: count ==21
[2025-01-06 21:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:46:04] Production.INFO: count ==21
[2025-01-06 21:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190399') start
[2025-01-06 21:46:04] Production.ERROR: done
[2025-01-06 21:46:04] Production.INFO: Date 2024-12-20
[2025-01-06 21:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190399') end
[2025-01-06 21:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:46:04] Production.INFO: 1
[2025-01-06 21:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:46:04] Production.INFO: ==31596== Releasing lock...
[2025-01-06 21:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:46:04] Production.INFO: Date 2024-12-21
[2025-01-06 21:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:46:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:46:05] Production.INFO: Date 2024-12-23
[2025-01-06 21:46:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:46:05] Production.INFO: Date 2024-12-24
[2025-01-06 21:46:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:46:05] Production.INFO: Date 2024-12-25
[2025-01-06 21:46:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:46:05] Production.INFO: Date 2024-12-26
[2025-01-06 21:46:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:46:05] Production.INFO: Date 2024-12-27
[2025-01-06 21:46:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:46:05] Production.INFO: Date 2024-12-28
[2025-01-06 21:46:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:46:05] Production.INFO: Date 2024-12-29
[2025-01-06 21:46:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:46:05] Production.INFO: Date 2024-12-30
[2025-01-06 21:46:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:46:05] Production.INFO: Date 2024-12-31
[2025-01-06 21:46:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:46:05] Production.INFO: Date 2025-01-01
[2025-01-06 21:46:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:46:05] Production.INFO: Date 2025-01-02
[2025-01-06 21:46:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:46:05] Production.INFO: Date 2025-01-03
[2025-01-06 21:46:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:46:05] Production.INFO: Date 2025-01-04
[2025-01-06 21:46:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:46:05] Production.INFO: Date 2025-01-05
[2025-01-06 21:46:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:46:05] Production.INFO: Date 2025-01-06
[2025-01-06 21:46:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:46:05] Production.INFO: Total Charge 0
[2025-01-06 21:46:05] Production.INFO: CreateAllLog End
[2025-01-06 21:46:05] Production.INFO: Account Balance End.
[2025-01-06 21:46:05] Production.ERROR: CronJobId end 12
[2025-01-06 21:46:05] Production.INFO: ==31592== Releasing lock...
[2025-01-06 21:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:46:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:46:05
[end_date_ymd] => 2025-01-06 21:46:05
[RateCDR] => 1
)
[2025-01-06 21:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 18:46:05' and `end` < '2025-01-06 21:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 21:46:12] Production.ERROR: CronJobId end10
[2025-01-06 21:46:12] Production.INFO: ==31590== Releasing lock...
[2025-01-06 21:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:46:13] Production.INFO: call_cost start
[2025-01-06 21:46:13] Production.INFO: call_cost end
[2025-01-06 21:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:46:14] Production.INFO: ==31586== Releasing lock...
[2025-01-06 21:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:46:18] Production.INFO: count ==1038
[2025-01-06 21:46:19] Production.ERROR: pbx CDR StartTime 2025-01-06 18:46:05 - End Time 2025-01-06 21:46:05
[2025-01-06 21:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190400', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190400', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190400', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190400', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:46:19] Production.INFO: ProcessCDR(1,14190400,1,1,2)
[2025-01-06 21:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190400,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:46:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190400,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:46:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190400,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190400,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190400', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190400', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:46:22] Production.INFO: ==31594== Releasing lock...
[2025-01-06 21:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:46:22] Production.INFO: 35.75 MB #Memory Used#
[2025-01-07 02:47:01] Production.INFO: ==31656== Lock acquired, processing the job...
[2025-01-07 02:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:47:01] Production.INFO: neon service started
[2025-01-07 02:47:01] Production.INFO: neon service started
[2025-01-07 02:47:01] Production.INFO: ==31656== Releasing lock...
[2025-01-07 02:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 21:47:01] Production.INFO: ==31658== Lock acquired, processing the job...
[2025-01-06 21:47:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 21:47:02] Production.INFO: ==31658== Releasing lock...
[2025-01-06 21:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:47:02] Production.INFO: ==31660== Lock acquired, processing the job...
[2025-01-07 02:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:47:02] Production.INFO: ==31660== Releasing lock...
[2025-01-07 02:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:47:02] Production.INFO: ==31667== Lock acquired, processing the job...
[2025-01-06 21:47:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:47:02] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:47:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:47:02] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:47:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:47:03] Production.INFO: ==31673== Lock acquired, processing the job...
[2025-01-06 21:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:47:03] Production.INFO: ==31663== Lock acquired, processing the job...
[2025-01-06 21:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:47:03] Production.INFO: ==31665== Lock acquired, processing the job...
[2025-01-06 21:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 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-06 21:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:47:03] Production.INFO: count ==21
[2025-01-06 21:47:03] Production.INFO: ==31669== Lock acquired, processing the job...
[2025-01-06 21:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 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-06 21:47:03] Production.INFO: count ==21
[2025-01-06 21:47:03] Production.INFO: ==31671== Lock acquired, processing the job...
[2025-01-06 21:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190401') start
[2025-01-06 21:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190401') end
[2025-01-06 21:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:47:03] Production.INFO: 1
[2025-01-06 21:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:47:03] Production.INFO: Account Balance Start.
[2025-01-06 21:47:03] Production.INFO: CreateAllLog Start
[2025-01-06 21:47:03] Production.INFO: 117
[2025-01-06 21:47:03] Production.INFO: Date 2024-12-08
[2025-01-06 21:47:03] Production.INFO: ==31673== Releasing lock...
[2025-01-06 21:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:47:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:47:03] Production.INFO: Date 2024-12-09
[2025-01-06 21:47:03] Production.INFO: ==31665== Releasing lock...
[2025-01-06 21:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:47:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:47:03] Production.INFO: Date 2024-12-10
[2025-01-06 21:47:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:47:03] Production.INFO: Date 2024-12-11
[2025-01-06 21:47:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:47:03] Production.INFO: Date 2024-12-12
[2025-01-06 21:47:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:47:03] Production.ERROR: done
[2025-01-06 21:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:47:03] Production.INFO: Date 2024-12-13
[2025-01-06 21:47:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:47:03] Production.ERROR: done
[2025-01-06 21:47:03] Production.INFO: Date 2024-12-14
[2025-01-06 21:47:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:47:03] Production.INFO: Date 2024-12-15
[2025-01-06 21:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:47:04] Production.INFO: Date 2024-12-16
[2025-01-06 21:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:47:04] Production.INFO: Date 2024-12-17
[2025-01-06 21:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:47:04] Production.INFO: Date 2024-12-18
[2025-01-06 21:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:47:04] Production.INFO: Date 2024-12-19
[2025-01-06 21:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:47:04] Production.INFO: Date 2024-12-20
[2025-01-06 21:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:47:04] Production.INFO: Date 2024-12-21
[2025-01-06 21:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:47:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:47:04] Production.INFO: Date 2024-12-23
[2025-01-06 21:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:47:04] Production.INFO: Date 2024-12-24
[2025-01-06 21:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:47:04] Production.INFO: Date 2024-12-25
[2025-01-06 21:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:47:04] Production.INFO: Date 2024-12-26
[2025-01-06 21:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:47:04] Production.INFO: Date 2024-12-27
[2025-01-06 21:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:47:04] Production.INFO: Date 2024-12-28
[2025-01-06 21:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:47:04] Production.INFO: Date 2024-12-29
[2025-01-06 21:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:47:04] Production.INFO: Date 2024-12-30
[2025-01-06 21:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:47:04] Production.INFO: Date 2024-12-31
[2025-01-06 21:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:47:04] Production.INFO: Date 2025-01-01
[2025-01-06 21:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:47:04] Production.INFO: Date 2025-01-02
[2025-01-06 21:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:47:04] Production.INFO: Date 2025-01-03
[2025-01-06 21:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:47:04] Production.INFO: Date 2025-01-04
[2025-01-06 21:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:47:04] Production.INFO: Date 2025-01-05
[2025-01-06 21:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:47:04] Production.INFO: Date 2025-01-06
[2025-01-06 21:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:47:04] Production.INFO: Total Charge 0
[2025-01-06 21:47:04] Production.INFO: CreateAllLog End
[2025-01-06 21:47:04] Production.INFO: Account Balance End.
[2025-01-06 21:47:04] Production.ERROR: CronJobId end 12
[2025-01-06 21:47:04] Production.INFO: ==31669== Releasing lock...
[2025-01-06 21:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:47:05
[end_date_ymd] => 2025-01-06 21:47:05
[RateCDR] => 1
)
[2025-01-06 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-06 18:47:05' and `end` < '2025-01-06 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-06 21:47:11] Production.ERROR: CronJobId end10
[2025-01-06 21:47:11] Production.INFO: ==31667== Releasing lock...
[2025-01-06 21:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:47:13] Production.INFO: call_cost start
[2025-01-06 21:47:13] Production.INFO: call_cost end
[2025-01-06 21:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:47:14] Production.INFO: ==31663== Releasing lock...
[2025-01-06 21:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:47:18] Production.INFO: count ==1032
[2025-01-06 21:47:18] Production.ERROR: pbx CDR StartTime 2025-01-06 18:47:05 - End Time 2025-01-06 21:47:05
[2025-01-06 21:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190405', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190405', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190405', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190405', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:47:18] Production.INFO: ProcessCDR(1,14190405,1,1,2)
[2025-01-06 21:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190405,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190405,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190405,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190405,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190405', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190405', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:47:21] Production.INFO: ==31671== Releasing lock...
[2025-01-06 21:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:47:21] Production.INFO: 35.5 MB #Memory Used#
[2025-01-07 02:48:02] Production.INFO: ==31738== Lock acquired, processing the job...
[2025-01-07 02:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:48:02] Production.INFO: neon service started
[2025-01-07 02:48:02] Production.INFO: neon service started
[2025-01-07 02:48:02] Production.INFO: ==31738== Releasing lock...
[2025-01-07 02:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:48:02] Production.INFO: ==31742== Lock acquired, processing the job...
[2025-01-07 02:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:48:02] Production.INFO: ==31742== Releasing lock...
[2025-01-07 02:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:48:02] Production.INFO: ==31740== Lock acquired, processing the job...
[2025-01-06 21:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 21:48:03] Production.INFO: ==31740== Releasing lock...
[2025-01-06 21:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:48:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 21:48:03] Production.INFO: ==31749== Lock acquired, processing the job...
[2025-01-06 21:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:48:04] Production.INFO: ==31755== Lock acquired, processing the job...
[2025-01-06 21:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:48:04] Production.INFO: ==31745== Lock acquired, processing the job...
[2025-01-06 21:48:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:48:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:48:04] Production.INFO: ==31747== Lock acquired, processing the job...
[2025-01-06 21:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:48:04] Production.INFO: count ==21
[2025-01-06 21:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:48:04] Production.INFO: count ==21
[2025-01-06 21:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190406') start
[2025-01-06 21:48:04] Production.INFO: ==31751== Lock acquired, processing the job...
[2025-01-06 21:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:48:04] Production.INFO: ==31753== Lock acquired, processing the job...
[2025-01-06 21:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190406') end
[2025-01-06 21:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:48:04] Production.INFO: 1
[2025-01-06 21:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:48:04] Production.INFO: Account Balance Start.
[2025-01-06 21:48:04] Production.INFO: CreateAllLog Start
[2025-01-06 21:48:04] Production.INFO: 117
[2025-01-06 21:48:04] Production.INFO: ==31755== Releasing lock...
[2025-01-06 21:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:48:04] Production.INFO: ==31747== Releasing lock...
[2025-01-06 21:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:48:04] Production.INFO: Date 2024-12-08
[2025-01-06 21:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:48:04] Production.INFO: Date 2024-12-09
[2025-01-06 21:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:48:04] Production.INFO: Date 2024-12-10
[2025-01-06 21:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:48:04] Production.ERROR: done
[2025-01-06 21:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:48:04] Production.INFO: Date 2024-12-11
[2025-01-06 21:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:48:04] Production.INFO: Date 2024-12-12
[2025-01-06 21:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:48:05] Production.INFO: Date 2024-12-13
[2025-01-06 21:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:48:05] Production.INFO: Date 2024-12-14
[2025-01-06 21:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:48:05] Production.INFO: Date 2024-12-15
[2025-01-06 21:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:48:05] Production.ERROR: done
[2025-01-06 21:48:05] Production.INFO: Date 2024-12-16
[2025-01-06 21:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:48:05] Production.INFO: Date 2024-12-17
[2025-01-06 21:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:48:05] Production.INFO: Date 2024-12-18
[2025-01-06 21:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:48:05] Production.INFO: Date 2024-12-19
[2025-01-06 21:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:48:05] Production.INFO: Date 2024-12-20
[2025-01-06 21:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:48:05] Production.INFO: Date 2024-12-21
[2025-01-06 21:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:48:05] Production.INFO: Date 2024-12-22
[2025-01-06 21:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:48:05] Production.INFO: Date 2024-12-23
[2025-01-06 21:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:48:05] Production.INFO: Date 2024-12-24
[2025-01-06 21:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:48:05] Production.INFO: Date 2024-12-25
[2025-01-06 21:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:48:05] Production.INFO: Date 2024-12-26
[2025-01-06 21:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:48:05] Production.INFO: Date 2024-12-27
[2025-01-06 21:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:48:05] Production.INFO: Date 2024-12-28
[2025-01-06 21:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:48:05] Production.INFO: Date 2024-12-29
[2025-01-06 21:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:48:05] Production.INFO: Date 2024-12-30
[2025-01-06 21:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:48:05] Production.INFO: Date 2024-12-31
[2025-01-06 21:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:48:05] Production.INFO: Date 2025-01-01
[2025-01-06 21:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:48:05] Production.INFO: Date 2025-01-02
[2025-01-06 21:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:48:05] Production.INFO: Date 2025-01-03
[2025-01-06 21:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:48:05] Production.INFO: Date 2025-01-04
[2025-01-06 21:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:48:05] Production.INFO: Date 2025-01-05
[2025-01-06 21:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:48:05] Production.INFO: Date 2025-01-06
[2025-01-06 21:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:48:06] Production.INFO: Total Charge 0
[2025-01-06 21:48:06] Production.INFO: CreateAllLog End
[2025-01-06 21:48:06] Production.INFO: Account Balance End.
[2025-01-06 21:48:06] Production.ERROR: CronJobId end 12
[2025-01-06 21:48:06] Production.INFO: ==31751== Releasing lock...
[2025-01-06 21:48:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:48:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:48:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:48:06
[end_date_ymd] => 2025-01-06 21:48:06
[RateCDR] => 1
)
[2025-01-06 21:48:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 18:48:06' and `end` < '2025-01-06 21:48:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 21:48:13] Production.ERROR: CronJobId end10
[2025-01-06 21:48:13] Production.INFO: ==31749== Releasing lock...
[2025-01-06 21:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:48:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:48:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:48:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:48:15] Production.INFO: call_cost start
[2025-01-06 21:48:15] Production.INFO: call_cost end
[2025-01-06 21:48:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:48:16] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:48:16] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:48:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:48:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:48:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:48:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:48:16] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:48:16] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:48:16] Production.INFO: ==31745== Releasing lock...
[2025-01-06 21:48:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:48:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:48:21] Production.INFO: count ==1033
[2025-01-06 21:48:21] Production.ERROR: pbx CDR StartTime 2025-01-06 18:48:06 - End Time 2025-01-06 21:48:06
[2025-01-06 21:48:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190410', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190410', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190410', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190410', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:48:21] Production.INFO: ProcessCDR(1,14190410,1,1,2)
[2025-01-06 21:48:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190410,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:48:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190410,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:48:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190410,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:48:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190410,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:48:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190410', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:48:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190410', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:48:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:48:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:48:25] Production.INFO: ==31753== Releasing lock...
[2025-01-06 21:48:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:48:25] Production.INFO: 35.75 MB #Memory Used#
[2025-01-07 02:49:01] Production.INFO: ==31818== Lock acquired, processing the job...
[2025-01-07 02:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:49:01] Production.INFO: neon service started
[2025-01-07 02:49:01] Production.INFO: neon service started
[2025-01-07 02:49:01] Production.INFO: ==31818== Releasing lock...
[2025-01-07 02:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 21:49:01] Production.INFO: ==31820== Lock acquired, processing the job...
[2025-01-06 21:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 21:49:02] Production.INFO: ==31820== Releasing lock...
[2025-01-06 21:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:49:02] Production.INFO: ==31822== Lock acquired, processing the job...
[2025-01-07 02:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:49:02] Production.INFO: ==31822== Releasing lock...
[2025-01-07 02:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:49:02] Production.INFO: ==31825== Lock acquired, processing the job...
[2025-01-06 21:49:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:49:03] Production.INFO: ==31831== Lock acquired, processing the job...
[2025-01-06 21:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:49:03] Production.INFO: ==31827== Lock acquired, processing the job...
[2025-01-06 21:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:49:03] Production.INFO: Account Balance Start.
[2025-01-06 21:49:03] Production.INFO: CreateAllLog Start
[2025-01-06 21:49:03] Production.INFO: ==31835== Lock acquired, processing the job...
[2025-01-06 21:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:49:03] Production.INFO: ==31829== Lock acquired, processing the job...
[2025-01-06 21:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:49:03] Production.INFO: 117
[2025-01-06 21:49:03] Production.INFO: Date 2024-12-08
[2025-01-06 21:49:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:49:03] Production.INFO: Date 2024-12-09
[2025-01-06 21:49:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:49:03] Production.INFO: ==31833== Lock acquired, processing the job...
[2025-01-06 21:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:49:03] Production.INFO: Date 2024-12-10
[2025-01-06 21:49:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:49:03] Production.INFO: Date 2024-12-11
[2025-01-06 21:49:03] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 21:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:49:03] Production.INFO: Date 2024-12-12
[2025-01-06 21:49:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:49:03] Production.INFO: count ==21
[2025-01-06 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-06 21:49:03] Production.INFO: Date 2024-12-13
[2025-01-06 21:49:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:49:03] Production.INFO: count ==21
[2025-01-06 21:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190414') start
[2025-01-06 21:49:03] Production.INFO: Date 2024-12-14
[2025-01-06 21:49:03] Production.INFO: ==31827== Releasing lock...
[2025-01-06 21:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:49:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190414') end
[2025-01-06 21:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:49:03] Production.INFO: 1
[2025-01-06 21:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:49:03] Production.INFO: Date 2024-12-15
[2025-01-06 21:49:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:49:03] Production.INFO: ==31835== Releasing lock...
[2025-01-06 21:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:49:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:49:03] Production.INFO: Date 2024-12-16
[2025-01-06 21:49:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:49:03] Production.ERROR: done
[2025-01-06 21:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:49:03] Production.INFO: Date 2024-12-17
[2025-01-06 21:49:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:49:03] Production.INFO: Date 2024-12-18
[2025-01-06 21:49:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:49:03] Production.ERROR: done
[2025-01-06 21:49:03] Production.INFO: Date 2024-12-19
[2025-01-06 21:49:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:49:03] Production.INFO: Date 2024-12-20
[2025-01-06 21:49:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:49:04] Production.INFO: Date 2024-12-21
[2025-01-06 21:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:49:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:49:04] Production.INFO: Date 2024-12-23
[2025-01-06 21:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:49:04] Production.INFO: Date 2024-12-24
[2025-01-06 21:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:49:04] Production.INFO: Date 2024-12-25
[2025-01-06 21:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:49:04] Production.INFO: Date 2024-12-26
[2025-01-06 21:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:49:04] Production.INFO: Date 2024-12-27
[2025-01-06 21:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:49:04] Production.INFO: Date 2024-12-28
[2025-01-06 21:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:49:04] Production.INFO: Date 2024-12-29
[2025-01-06 21:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:49:04] Production.INFO: Date 2024-12-30
[2025-01-06 21:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:49:04] Production.INFO: Date 2024-12-31
[2025-01-06 21:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:49:04] Production.INFO: Date 2025-01-01
[2025-01-06 21:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:49:04] Production.INFO: Date 2025-01-02
[2025-01-06 21:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:49:04] Production.INFO: Date 2025-01-03
[2025-01-06 21:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:49:04] Production.INFO: Date 2025-01-04
[2025-01-06 21:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:49:04] Production.INFO: Date 2025-01-05
[2025-01-06 21:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:49:04] Production.INFO: Date 2025-01-06
[2025-01-06 21:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:49:04] Production.INFO: Total Charge 0
[2025-01-06 21:49:04] Production.INFO: CreateAllLog End
[2025-01-06 21:49:05] Production.INFO: Account Balance End.
[2025-01-06 21:49:05] Production.ERROR: CronJobId end 12
[2025-01-06 21:49:05] Production.INFO: ==31831== Releasing lock...
[2025-01-06 21:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:49:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:49:05
[end_date_ymd] => 2025-01-06 21:49:05
[RateCDR] => 1
)
[2025-01-06 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-06 18:49:05' and `end` < '2025-01-06 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-06 21:49:11] Production.ERROR: CronJobId end10
[2025-01-06 21:49:11] Production.INFO: ==31829== Releasing lock...
[2025-01-06 21:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:49:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:49:12] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:49:12] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:49:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:49:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:49:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:49:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:49:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:49:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:49:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:49:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:49:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:49:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:49:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:49:12] Production.INFO: call_cost start
[2025-01-06 21:49:12] Production.INFO: call_cost end
[2025-01-06 21:49:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:49:13] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:49:13] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:49:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:49:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:49:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:49:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:49:13] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:49:13] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:49:13] Production.INFO: ==31825== Releasing lock...
[2025-01-06 21:49:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:49:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:49:18] Production.INFO: count ==1020
[2025-01-06 21:49:18] Production.ERROR: pbx CDR StartTime 2025-01-06 18:49:05 - End Time 2025-01-06 21:49:05
[2025-01-06 21:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190415', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190415', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190415', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190415', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:49:18] Production.INFO: ProcessCDR(1,14190415,1,1,2)
[2025-01-06 21:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190415,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190415,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190415,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190415,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190415', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190415', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:49:21] Production.INFO: ==31833== Releasing lock...
[2025-01-06 21:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:49:21] Production.INFO: 35.5 MB #Memory Used#
[2025-01-07 02:50:01] Production.INFO: ==31895== Lock acquired, processing the job...
[2025-01-07 02:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:50:01] Production.INFO: neon service started
[2025-01-07 02:50:01] Production.INFO: neon service started
[2025-01-07 02:50:01] Production.INFO: ==31895== Releasing lock...
[2025-01-07 02:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:50:02] Production.INFO: ==31899== Lock acquired, processing the job...
[2025-01-07 02:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:50:02] Production.INFO: ==31899== Releasing lock...
[2025-01-07 02:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:50:02] Production.INFO: ==31897== Lock acquired, processing the job...
[2025-01-06 21:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 21:50:02] Production.INFO: ==31897== Releasing lock...
[2025-01-06 21:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 21:50:03] Production.INFO: ==31904== Lock acquired, processing the job...
[2025-01-06 21:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:50:03] Production.INFO: ==31908== Lock acquired, processing the job...
[2025-01-06 21:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:50:03] Production.INFO: ==31912== Lock acquired, processing the job...
[2025-01-06 21:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:50:03] Production.INFO: ==31910== Lock acquired, processing the job...
[2025-01-06 21:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:50:04] Production.INFO: ==31902== Lock acquired, processing the job...
[2025-01-06 21:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-06 21:50:04] Production.INFO: Account Balance Start.
[2025-01-06 21:50:04] Production.INFO: CreateAllLog Start
[2025-01-06 21:50:04] Production.INFO: 117
[2025-01-06 21:50:04] Production.INFO: Date 2024-12-08
[2025-01-06 21:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:50:04] Production.INFO: Date 2024-12-09
[2025-01-06 21:50:04] Production.INFO: ==31906== Lock acquired, processing the job...
[2025-01-06 21:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-06 21:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 21:50:04] Production.ERROR: CronJob PID - 31904
[2025-01-06 21:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-06 21:50:04] Production.ERROR: CronJob ID - 5
[2025-01-06 21:50:04] Production.ERROR: CronJob Last Run Time 2025-01-06 21:50:00
[2025-01-06 21:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 21:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 21:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 21:50:04] Production.ERROR: CronJob PID - 31906
[2025-01-06 21:50:04] Production.ERROR: CronJob Title - Account Block
[2025-01-06 21:50:04] Production.ERROR: CronJob ID - 7
[2025-01-06 21:50:04] Production.ERROR: CronJob Last Run Time 2025-01-06 21:50:00
[2025-01-06 21:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 21:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 21:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 21:50:04] Production.ERROR: CronJob PID - 31908
[2025-01-06 21:50:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-06 21:50:04] Production.ERROR: CronJob ID - 10
[2025-01-06 21:50:04] Production.ERROR: CronJob Last Run Time 2025-01-06 21:50:00
[2025-01-06 21:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 21:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 21:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 21:50:04] Production.ERROR: CronJob PID - 31910
[2025-01-06 21:50:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-06 21:50:04] Production.ERROR: CronJob ID - 12
[2025-01-06 21:50:04] Production.ERROR: CronJob Last Run Time 2025-01-06 21:50:00
[2025-01-06 21:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 21:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 21:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 21:50:04] Production.ERROR: CronJob PID - 31912
[2025-01-06 21:50:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-06 21:50:04] Production.ERROR: CronJob ID - 16
[2025-01-06 21:50:04] Production.ERROR: CronJob Last Run Time 2025-01-06 21:50:00
[2025-01-06 21:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 21:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 21:50:04] Production.INFO: Date 2024-12-10
[2025-01-06 21:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-06 21:50:04] Production.INFO: ==31902== Releasing lock...
[2025-01-06 21:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-06 21:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-06 21:50:04] Production.INFO: Date 2024-12-11
[2025-01-06 21:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:50:04] Production.INFO: ==31914== Lock acquired, processing the job...
[2025-01-06 21:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-06 21:50:04] Production.INFO: ==31916== Lock acquired, processing the job...
[2025-01-06 21:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:50:04] Production.INFO: Date 2024-12-12
[2025-01-06 21:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:50:04] Production.ERROR: done
[2025-01-06 21:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:50:04] Production.INFO: Date 2024-12-13
[2025-01-06 21:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:50:04] Production.ERROR: done
[2025-01-06 21:50:04] Production.INFO: Date 2024-12-14
[2025-01-06 21:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:50:04] Production.INFO: Date 2024-12-15
[2025-01-06 21:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:50:04] Production.INFO: count ==21
[2025-01-06 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-06 21:50:04] Production.INFO: count ==21
[2025-01-06 21:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190419') start
[2025-01-06 21:50:04] Production.INFO: ==31906== Releasing lock...
[2025-01-06 21:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:50:04] Production.ERROR: done
[2025-01-06 21:50:04] Production.INFO: Date 2024-12-16
[2025-01-06 21:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:50:04] Production.INFO: Date 2024-12-17
[2025-01-06 21:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-06 21:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14190421', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) start
[2025-01-06 21:50:04] Production.INFO: Date 2024-12-18
[2025-01-06 21:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190419') end
[2025-01-06 21:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:50:04] Production.INFO: 1
[2025-01-06 21:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:50:05] Production.INFO: Date 2024-12-19
[2025-01-06 21:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:50:05] Production.INFO: ==31916== Releasing lock...
[2025-01-06 21:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:50:05] Production.INFO: Date 2024-12-20
[2025-01-06 21:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:50:05] Production.INFO: Date 2024-12-21
[2025-01-06 21:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:50:05] Production.INFO: Date 2024-12-22
[2025-01-06 21:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:50:05] Production.INFO: Date 2024-12-23
[2025-01-06 21:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:50:05] Production.INFO: Date 2024-12-24
[2025-01-06 21:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:50:05] Production.INFO: Date 2024-12-25
[2025-01-06 21:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:50:05] Production.INFO: Date 2024-12-26
[2025-01-06 21:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:50:05] Production.INFO: Date 2024-12-27
[2025-01-06 21:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:50:05] Production.INFO: Date 2024-12-28
[2025-01-06 21:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:50:05] Production.INFO: Date 2024-12-29
[2025-01-06 21:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:50:05] Production.INFO: Date 2024-12-30
[2025-01-06 21:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:50:05] Production.INFO: Date 2024-12-31
[2025-01-06 21:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:50:05] Production.INFO: Date 2025-01-01
[2025-01-06 21:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:50:05] Production.INFO: Date 2025-01-02
[2025-01-06 21:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:50:05] Production.INFO: Date 2025-01-03
[2025-01-06 21:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:50:05] Production.INFO: Date 2025-01-04
[2025-01-06 21:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:50:05] Production.INFO: Date 2025-01-05
[2025-01-06 21:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:50:05] Production.INFO: Date 2025-01-06
[2025-01-06 21:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:50:05] Production.INFO: Total Charge 0
[2025-01-06 21:50:05] Production.INFO: CreateAllLog End
[2025-01-06 21:50:05] Production.INFO: Account Balance End.
[2025-01-06 21:50:05] Production.ERROR: CronJobId end 12
[2025-01-06 21:50:05] Production.INFO: ==31910== Releasing lock...
[2025-01-06 21:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:50:06
[end_date_ymd] => 2025-01-06 21:50:06
[RateCDR] => 1
)
[2025-01-06 21:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 18:50:06' and `end` < '2025-01-06 21:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 21:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14190421', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) end
[2025-01-06 21:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-06 21:50:09] Production.INFO: ProcessCDR(1,14190421,1,1,2)
[2025-01-06 21:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14190421,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14190421,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:50:09] Production.INFO: ==31914== Releasing lock...
[2025-01-06 21:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-06 21:50:09] Production.INFO: 26 MB #Memory Used#
[2025-01-06 21:50:14] Production.ERROR: CronJobId end10
[2025-01-06 21:50:14] Production.INFO: ==31908== Releasing lock...
[2025-01-06 21:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:50:15] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:50:15] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:50:16] Production.INFO: call_cost start
[2025-01-06 21:50:16] Production.INFO: call_cost end
[2025-01-06 21:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:50:16] Production.INFO: ==31904== Releasing lock...
[2025-01-06 21:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:50:19] Production.INFO: count ==1021
[2025-01-06 21:50:19] Production.ERROR: pbx CDR StartTime 2025-01-06 18:50:06 - End Time 2025-01-06 21:50:06
[2025-01-06 21:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190420', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190420', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190420', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190420', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:50:19] Production.INFO: ProcessCDR(1,14190420,1,1,2)
[2025-01-06 21:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190420,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190420,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190420,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190420,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190420', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190420', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:50:22] Production.INFO: ==31912== Releasing lock...
[2025-01-06 21:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:50:22] Production.INFO: 35.5 MB #Memory Used#
[2025-01-07 02:51:02] Production.INFO: ==31974== Lock acquired, processing the job...
[2025-01-07 02:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:51:02] Production.INFO: neon service started
[2025-01-07 02:51:02] Production.INFO: neon service started
[2025-01-07 02:51:02] Production.INFO: ==31974== Releasing lock...
[2025-01-07 02:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 21:51:02] Production.INFO: ==31976== Lock acquired, processing the job...
[2025-01-06 21:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 21:51:02] Production.INFO: ==31976== Releasing lock...
[2025-01-06 21:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:51:03] Production.INFO: ==31978== Lock acquired, processing the job...
[2025-01-07 02:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:51:03] Production.INFO: ==31978== Releasing lock...
[2025-01-07 02:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:51:03] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:51:03] Production.INFO: ==31981== Lock acquired, processing the job...
[2025-01-06 21:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:51:03] Production.INFO: ==31985== Lock acquired, processing the job...
[2025-01-06 21:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:51:03] Production.INFO: ==31987== Lock acquired, processing the job...
[2025-01-06 21:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:51:03] Production.INFO: Account Balance Start.
[2025-01-06 21:51:03] Production.INFO: CreateAllLog Start
[2025-01-06 21:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:51:03] Production.INFO: 117
[2025-01-06 21:51:03] Production.INFO: Date 2024-12-08
[2025-01-06 21:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:51:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:51:03] Production.INFO: Date 2024-12-09
[2025-01-06 21:51:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:51:03] Production.INFO: Date 2024-12-10
[2025-01-06 21:51:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:51:03] Production.INFO: Date 2024-12-11
[2025-01-06 21:51:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:51:03] Production.INFO: Date 2024-12-12
[2025-01-06 21:51:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:51:03] Production.INFO: ==31983== Lock acquired, processing the job...
[2025-01-06 21:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:51:03] Production.INFO: Date 2024-12-13
[2025-01-06 21:51:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:51:03] Production.INFO: ==31989== Lock acquired, processing the job...
[2025-01-06 21:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:51:04] Production.INFO: Date 2024-12-14
[2025-01-06 21:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:51:04] Production.INFO: ==31991== Lock acquired, processing the job...
[2025-01-06 21:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:51:04] Production.INFO: Date 2024-12-15
[2025-01-06 21:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:51:04] Production.INFO: Date 2024-12-16
[2025-01-06 21:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:51:04] Production.INFO: count ==21
[2025-01-06 21:51:04] Production.INFO: Date 2024-12-17
[2025-01-06 21:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:51:04] Production.INFO: Date 2024-12-18
[2025-01-06 21:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:51:04] Production.INFO: Date 2024-12-19
[2025-01-06 21:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:51:04] Production.INFO: count ==21
[2025-01-06 21:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:51:04] Production.INFO: ==31983== Releasing lock...
[2025-01-06 21:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:51:04] Production.ERROR: done
[2025-01-06 21:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190425') start
[2025-01-06 21:51:04] Production.INFO: Date 2024-12-20
[2025-01-06 21:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:51:04] Production.INFO: Date 2024-12-21
[2025-01-06 21:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:51:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:51:04] Production.INFO: Date 2024-12-23
[2025-01-06 21:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:51:04] Production.INFO: Date 2024-12-24
[2025-01-06 21:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:51:04] Production.INFO: Date 2024-12-25
[2025-01-06 21:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190425') end
[2025-01-06 21:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:51:04] Production.INFO: 1
[2025-01-06 21:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:51:04] Production.ERROR: done
[2025-01-06 21:51:04] Production.INFO: Date 2024-12-26
[2025-01-06 21:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:51:04] Production.INFO: Date 2024-12-27
[2025-01-06 21:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:51:04] Production.INFO: ==31991== Releasing lock...
[2025-01-06 21:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:51:04] Production.INFO: Date 2024-12-28
[2025-01-06 21:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:51:04] Production.INFO: Date 2024-12-29
[2025-01-06 21:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:51:04] Production.INFO: Date 2024-12-30
[2025-01-06 21:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:51:04] Production.INFO: Date 2024-12-31
[2025-01-06 21:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:51:04] Production.INFO: Date 2025-01-01
[2025-01-06 21:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:51:05] Production.INFO: Date 2025-01-02
[2025-01-06 21:51:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:51:05] Production.INFO: Date 2025-01-03
[2025-01-06 21:51:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:51:05] Production.INFO: Date 2025-01-04
[2025-01-06 21:51:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:51:05] Production.INFO: Date 2025-01-05
[2025-01-06 21:51:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:51:05] Production.INFO: Date 2025-01-06
[2025-01-06 21:51:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:51:05] Production.INFO: Total Charge 0
[2025-01-06 21:51:05] Production.INFO: CreateAllLog End
[2025-01-06 21:51:05] Production.INFO: Account Balance End.
[2025-01-06 21:51:05] Production.ERROR: CronJobId end 12
[2025-01-06 21:51:05] Production.INFO: ==31987== Releasing lock...
[2025-01-06 21:51:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:51:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:51:05
[end_date_ymd] => 2025-01-06 21:51:05
[RateCDR] => 1
)
[2025-01-06 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-06 18:51:05' and `end` < '2025-01-06 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-06 21:51:13] Production.ERROR: CronJobId end10
[2025-01-06 21:51:13] Production.INFO: ==31985== Releasing lock...
[2025-01-06 21:51:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:51:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:51:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:51:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:51:14] Production.INFO: call_cost start
[2025-01-06 21:51:14] Production.INFO: call_cost end
[2025-01-06 21:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:51:14] Production.INFO: ==31981== Releasing lock...
[2025-01-06 21:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:51:18] Production.INFO: count ==979
[2025-01-06 21:51:18] Production.ERROR: pbx CDR StartTime 2025-01-06 18:51:05 - End Time 2025-01-06 21:51:05
[2025-01-06 21:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190426', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190426', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190426', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190426', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:51:18] Production.INFO: ProcessCDR(1,14190426,1,1,2)
[2025-01-06 21:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190426,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190426,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190426,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190426,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190426', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190426', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:51:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:51:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:51:21] Production.INFO: ==31989== Releasing lock...
[2025-01-06 21:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:51:21] Production.INFO: 35 MB #Memory Used#
[2025-01-07 02:52:01] Production.INFO: ==32049== Lock acquired, processing the job...
[2025-01-07 02:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:52:01] Production.INFO: neon service started
[2025-01-07 02:52:01] Production.INFO: neon service started
[2025-01-07 02:52:01] Production.INFO: ==32049== Releasing lock...
[2025-01-07 02:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:52:02] Production.INFO: ==32053== Lock acquired, processing the job...
[2025-01-07 02:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:52:02] Production.INFO: ==32053== Releasing lock...
[2025-01-07 02:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:52:02] Production.INFO: ==32051== Lock acquired, processing the job...
[2025-01-06 21:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 21:52:02] Production.INFO: ==32051== Releasing lock...
[2025-01-06 21:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 21:52:03] Production.INFO: ==32056== Lock acquired, processing the job...
[2025-01-06 21:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:52:03] Production.INFO: ==32058== Lock acquired, processing the job...
[2025-01-06 21:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:52:03] Production.INFO: ==32064== Lock acquired, processing the job...
[2025-01-06 21:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:52:03] Production.INFO: ==32060== Lock acquired, processing the job...
[2025-01-06 21:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:52:03] Production.INFO: ==32062== Lock acquired, processing the job...
[2025-01-06 21:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:52:03] Production.INFO: ==32058== Releasing lock...
[2025-01-06 21:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:52:03] Production.ERROR: done
[2025-01-06 21:52:03] Production.INFO: ==32066== Lock acquired, processing the job...
[2025-01-06 21:52:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:52:03] Production.ERROR: done
[2025-01-06 21:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:52:03] Production.INFO: Account Balance Start.
[2025-01-06 21:52:03] Production.INFO: CreateAllLog Start
[2025-01-06 21:52:03] Production.INFO: 117
[2025-01-06 21:52:03] Production.INFO: Date 2024-12-08
[2025-01-06 21:52:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:52:03] Production.INFO: Date 2024-12-09
[2025-01-06 21:52:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:52:03] Production.INFO: Date 2024-12-10
[2025-01-06 21:52:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:52:03] Production.INFO: count ==21
[2025-01-06 21:52:03] Production.INFO: Date 2024-12-11
[2025-01-06 21:52:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:52:04] Production.INFO: count ==21
[2025-01-06 21:52:04] Production.INFO: Date 2024-12-12
[2025-01-06 21:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190430') start
[2025-01-06 21:52:04] Production.INFO: Date 2024-12-13
[2025-01-06 21:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:52:04] Production.INFO: Date 2024-12-14
[2025-01-06 21:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:52:04] Production.INFO: Date 2024-12-15
[2025-01-06 21:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190430') end
[2025-01-06 21:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:52:04] Production.INFO: 1
[2025-01-06 21:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:52:04] Production.INFO: Date 2024-12-16
[2025-01-06 21:52:04] Production.INFO: ==32066== Releasing lock...
[2025-01-06 21:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:52:04] Production.INFO: Date 2024-12-17
[2025-01-06 21:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:52:04] Production.INFO: Date 2024-12-18
[2025-01-06 21:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:52:04] Production.INFO: Date 2024-12-19
[2025-01-06 21:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:52:04] Production.INFO: Date 2024-12-20
[2025-01-06 21:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:52:04] Production.INFO: Date 2024-12-21
[2025-01-06 21:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:52:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:52:04] Production.INFO: Date 2024-12-23
[2025-01-06 21:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:52:04] Production.INFO: Date 2024-12-24
[2025-01-06 21:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:52:04] Production.INFO: Date 2024-12-25
[2025-01-06 21:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:52:04] Production.INFO: Date 2024-12-26
[2025-01-06 21:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:52:04] Production.INFO: Date 2024-12-27
[2025-01-06 21:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:52:04] Production.INFO: Date 2024-12-28
[2025-01-06 21:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:52:04] Production.INFO: Date 2024-12-29
[2025-01-06 21:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:52:04] Production.INFO: Date 2024-12-30
[2025-01-06 21:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:52:04] Production.INFO: Date 2024-12-31
[2025-01-06 21:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:52:04] Production.INFO: Date 2025-01-01
[2025-01-06 21:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:52:04] Production.INFO: Date 2025-01-02
[2025-01-06 21:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:52:04] Production.INFO: Date 2025-01-03
[2025-01-06 21:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:52:04] Production.INFO: Date 2025-01-04
[2025-01-06 21:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:52:04] Production.INFO: Date 2025-01-05
[2025-01-06 21:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:52:04] Production.INFO: Date 2025-01-06
[2025-01-06 21:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:52:05] Production.INFO: Total Charge 0
[2025-01-06 21:52:05] Production.INFO: CreateAllLog End
[2025-01-06 21:52:05] Production.INFO: Account Balance End.
[2025-01-06 21:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:52:05
[end_date_ymd] => 2025-01-06 21:52:05
[RateCDR] => 1
)
[2025-01-06 21:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 18:52:05' and `end` < '2025-01-06 21:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 21:52:05] Production.ERROR: CronJobId end 12
[2025-01-06 21:52:05] Production.INFO: ==32062== Releasing lock...
[2025-01-06 21:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:52:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:52:11] Production.ERROR: CronJobId end10
[2025-01-06 21:52:11] Production.INFO: ==32060== Releasing lock...
[2025-01-06 21:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:52:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:52:12] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:52:12] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:52:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:52:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:52:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:52:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:52:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:52:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:52:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:52:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:52:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:52:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:52:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:52:13] Production.INFO: call_cost start
[2025-01-06 21:52:13] Production.INFO: call_cost end
[2025-01-06 21:52:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:52:13] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:52:13] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:52:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:52:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:52:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:52:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:52:13] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:52:13] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:52:13] Production.INFO: ==32056== Releasing lock...
[2025-01-06 21:52:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:52:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:52:20] Production.INFO: count ==961
[2025-01-06 21:52:21] Production.ERROR: pbx CDR StartTime 2025-01-06 18:52:05 - End Time 2025-01-06 21:52:05
[2025-01-06 21:52:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190431', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190431', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190431', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190431', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:52:21] Production.INFO: ProcessCDR(1,14190431,1,1,2)
[2025-01-06 21:52:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190431,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:52:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190431,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:52:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190431,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:52:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190431,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:52:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190431', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:52:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190431', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:52:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:52:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:52:24] Production.INFO: ==32064== Releasing lock...
[2025-01-06 21:52:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:52:24] Production.INFO: 35.25 MB #Memory Used#
[2025-01-07 02:53:02] Production.INFO: ==32126== Lock acquired, processing the job...
[2025-01-07 02:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:53:02] Production.INFO: neon service started
[2025-01-07 02:53:02] Production.INFO: neon service started
[2025-01-07 02:53:02] Production.INFO: ==32126== Releasing lock...
[2025-01-07 02:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:53:02] Production.INFO: ==32130== Lock acquired, processing the job...
[2025-01-07 02:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:53:02] Production.INFO: ==32130== Releasing lock...
[2025-01-07 02:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:53:02] Production.INFO: ==32128== Lock acquired, processing the job...
[2025-01-06 21:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 21:53:02] Production.INFO: ==32128== Releasing lock...
[2025-01-06 21:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 21:53:03] Production.INFO: ==32133== Lock acquired, processing the job...
[2025-01-06 21:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:53:03] Production.INFO: ==32137== Lock acquired, processing the job...
[2025-01-06 21:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:53:03] Production.INFO: ==32141== Lock acquired, processing the job...
[2025-01-06 21:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:53:03] Production.INFO: ==32135== Lock acquired, processing the job...
[2025-01-06 21:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:53:03] Production.INFO: ==32139== Lock acquired, processing the job...
[2025-01-06 21:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:53:04] Production.INFO: ==32143== Lock acquired, processing the job...
[2025-01-06 21:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:53:04] Production.ERROR: done
[2025-01-06 21:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:53:04] Production.INFO: Account Balance Start.
[2025-01-06 21:53:04] Production.INFO: CreateAllLog Start
[2025-01-06 21:53:04] Production.INFO: 117
[2025-01-06 21:53:04] Production.INFO: Date 2024-12-08
[2025-01-06 21:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:53:04] Production.ERROR: done
[2025-01-06 21:53:04] Production.INFO: count ==21
[2025-01-06 21:53:04] Production.INFO: Date 2024-12-09
[2025-01-06 21:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:53:04] Production.INFO: count ==21
[2025-01-06 21:53:04] Production.INFO: ==32135== Releasing lock...
[2025-01-06 21:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190435') start
[2025-01-06 21:53:04] Production.INFO: Date 2024-12-10
[2025-01-06 21:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:53:04] Production.INFO: Date 2024-12-11
[2025-01-06 21:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:53:04] Production.INFO: Date 2024-12-12
[2025-01-06 21:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190435') end
[2025-01-06 21:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:53:04] Production.INFO: 1
[2025-01-06 21:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:53:04] Production.INFO: ==32143== Releasing lock...
[2025-01-06 21:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:53:04] Production.INFO: Date 2024-12-13
[2025-01-06 21:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:53:04] Production.INFO: Date 2024-12-14
[2025-01-06 21:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:53:04] Production.INFO: Date 2024-12-15
[2025-01-06 21:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:53:04] Production.INFO: Date 2024-12-16
[2025-01-06 21:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:53:04] Production.INFO: Date 2024-12-17
[2025-01-06 21:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:53:04] Production.INFO: Date 2024-12-18
[2025-01-06 21:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:53:04] Production.INFO: Date 2024-12-19
[2025-01-06 21:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:53:04] Production.INFO: Date 2024-12-20
[2025-01-06 21:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:53:04] Production.INFO: Date 2024-12-21
[2025-01-06 21:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:53:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:53:04] Production.INFO: Date 2024-12-23
[2025-01-06 21:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:53:04] Production.INFO: Date 2024-12-24
[2025-01-06 21:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:53:04] Production.INFO: Date 2024-12-25
[2025-01-06 21:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:53:04] Production.INFO: Date 2024-12-26
[2025-01-06 21:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:53:04] Production.INFO: Date 2024-12-27
[2025-01-06 21:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:53:05] Production.INFO: Date 2024-12-28
[2025-01-06 21:53:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:53:05] Production.INFO: Date 2024-12-29
[2025-01-06 21:53:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:53:05] Production.INFO: Date 2024-12-30
[2025-01-06 21:53:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:53:05] Production.INFO: Date 2024-12-31
[2025-01-06 21:53:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:53:05] Production.INFO: Date 2025-01-01
[2025-01-06 21:53:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:53:05] Production.INFO: Date 2025-01-02
[2025-01-06 21:53:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:53:05] Production.INFO: Date 2025-01-03
[2025-01-06 21:53:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:53:05] Production.INFO: Date 2025-01-04
[2025-01-06 21:53:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:53:05] Production.INFO: Date 2025-01-05
[2025-01-06 21:53:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:53:05] Production.INFO: Date 2025-01-06
[2025-01-06 21:53:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:53:05] Production.INFO: Total Charge 0
[2025-01-06 21:53:05] Production.INFO: CreateAllLog End
[2025-01-06 21:53:05] Production.INFO: Account Balance End.
[2025-01-06 21:53:05] Production.ERROR: CronJobId end 12
[2025-01-06 21:53:05] Production.INFO: ==32139== Releasing lock...
[2025-01-06 21:53:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:53:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:53:05
[end_date_ymd] => 2025-01-06 21:53:05
[RateCDR] => 1
)
[2025-01-06 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-06 18:53:05' and `end` < '2025-01-06 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-06 21:53:12] Production.ERROR: CronJobId end10
[2025-01-06 21:53:12] Production.INFO: ==32137== Releasing lock...
[2025-01-06 21:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:53:13] Production.INFO: call_cost start
[2025-01-06 21:53:13] Production.INFO: call_cost end
[2025-01-06 21:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:53:14] Production.INFO: ==32133== Releasing lock...
[2025-01-06 21:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:53:18] Production.INFO: count ==945
[2025-01-06 21:53:18] Production.ERROR: pbx CDR StartTime 2025-01-06 18:53:05 - End Time 2025-01-06 21:53:05
[2025-01-06 21:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190436', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190436', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190436', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190436', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:53:18] Production.INFO: ProcessCDR(1,14190436,1,1,2)
[2025-01-06 21:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190436,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190436,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190436,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190436,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190436', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190436', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:53:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:53:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:53:21] Production.INFO: ==32141== Releasing lock...
[2025-01-06 21:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:53:21] Production.INFO: 34.75 MB #Memory Used#
[2025-01-07 02:54:01] Production.INFO: ==32202== Lock acquired, processing the job...
[2025-01-07 02:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:54:01] Production.INFO: neon service started
[2025-01-07 02:54:01] Production.INFO: neon service started
[2025-01-07 02:54:01] Production.INFO: ==32202== Releasing lock...
[2025-01-07 02:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 21:54:01] Production.INFO: ==32205== Lock acquired, processing the job...
[2025-01-06 21:54:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 21:54:02] Production.INFO: ==32205== Releasing lock...
[2025-01-06 21:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:54:02] Production.INFO: ==32207== Lock acquired, processing the job...
[2025-01-07 02:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:54:02] Production.INFO: ==32207== Releasing lock...
[2025-01-07 02:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:54:03] Production.INFO: ==32209== Lock acquired, processing the job...
[2025-01-06 21:54:03] Production.INFO: ==32217== Lock acquired, processing the job...
[2025-01-06 21:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:54:03] Production.INFO: ==32213== Lock acquired, processing the job...
[2025-01-06 21:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:54:03] Production.INFO: ==32211== Lock acquired, processing the job...
[2025-01-06 21:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:54:03] Production.INFO: ==32215== Lock acquired, processing the job...
[2025-01-06 21:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:54:03] Production.INFO: ==32219== Lock acquired, processing the job...
[2025-01-06 21:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:54:03] Production.ERROR: done
[2025-01-06 21:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:54:03] Production.INFO: Account Balance Start.
[2025-01-06 21:54:03] Production.INFO: CreateAllLog Start
[2025-01-06 21:54:03] Production.INFO: 117
[2025-01-06 21:54:03] Production.INFO: Date 2024-12-08
[2025-01-06 21:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:54:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:54:03] Production.INFO: count ==21
[2025-01-06 21:54:03] Production.ERROR: done
[2025-01-06 21:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:54:03] Production.INFO: count ==21
[2025-01-06 21:54:03] Production.INFO: Date 2024-12-09
[2025-01-06 21:54:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190440') start
[2025-01-06 21:54:03] Production.INFO: ==32211== Releasing lock...
[2025-01-06 21:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:54:03] Production.INFO: Date 2024-12-10
[2025-01-06 21:54:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:54:03] Production.INFO: Date 2024-12-11
[2025-01-06 21:54:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190440') end
[2025-01-06 21:54:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:54:03] Production.INFO: 1
[2025-01-06 21:54:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:54:03] Production.INFO: Date 2024-12-12
[2025-01-06 21:54:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:54:03] Production.INFO: Date 2024-12-13
[2025-01-06 21:54:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:54:04] Production.INFO: Date 2024-12-14
[2025-01-06 21:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:54:04] Production.INFO: ==32219== Releasing lock...
[2025-01-06 21:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:54:04] Production.INFO: Date 2024-12-15
[2025-01-06 21:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:54:04] Production.INFO: Date 2024-12-16
[2025-01-06 21:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:54:04] Production.INFO: Date 2024-12-17
[2025-01-06 21:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:54:04] Production.INFO: Date 2024-12-18
[2025-01-06 21:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:54:04] Production.INFO: Date 2024-12-19
[2025-01-06 21:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:54:04] Production.INFO: Date 2024-12-20
[2025-01-06 21:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:54:04] Production.INFO: Date 2024-12-21
[2025-01-06 21:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:54:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:54:04] Production.INFO: Date 2024-12-23
[2025-01-06 21:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:54:04] Production.INFO: Date 2024-12-24
[2025-01-06 21:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:54:04] Production.INFO: Date 2024-12-25
[2025-01-06 21:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:54:04] Production.INFO: Date 2024-12-26
[2025-01-06 21:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:54:04] Production.INFO: Date 2024-12-27
[2025-01-06 21:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:54:04] Production.INFO: Date 2024-12-28
[2025-01-06 21:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:54:04] Production.INFO: Date 2024-12-29
[2025-01-06 21:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:54:04] Production.INFO: Date 2024-12-30
[2025-01-06 21:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:54:04] Production.INFO: Date 2024-12-31
[2025-01-06 21:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:54:04] Production.INFO: Date 2025-01-01
[2025-01-06 21:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:54:04] Production.INFO: Date 2025-01-02
[2025-01-06 21:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:54:04] Production.INFO: Date 2025-01-03
[2025-01-06 21:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:54:04] Production.INFO: Date 2025-01-04
[2025-01-06 21:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:54:04] Production.INFO: Date 2025-01-05
[2025-01-06 21:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:54:05] Production.INFO: Date 2025-01-06
[2025-01-06 21:54:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:54:05] Production.INFO: Total Charge 0
[2025-01-06 21:54:05] Production.INFO: CreateAllLog End
[2025-01-06 21:54:05] Production.INFO: Account Balance End.
[2025-01-06 21:54:05] Production.ERROR: CronJobId end 12
[2025-01-06 21:54:05] Production.INFO: ==32215== Releasing lock...
[2025-01-06 21:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:54:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:54:05
[end_date_ymd] => 2025-01-06 21:54:05
[RateCDR] => 1
)
[2025-01-06 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-06 18:54:05' and `end` < '2025-01-06 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-06 21:54:13] Production.ERROR: CronJobId end10
[2025-01-06 21:54:13] Production.INFO: ==32213== Releasing lock...
[2025-01-06 21:54:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:54:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:54:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:54:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:54:15] Production.INFO: call_cost start
[2025-01-06 21:54:15] Production.INFO: call_cost end
[2025-01-06 21:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:54:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:54:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:54:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:54:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:54:15] Production.INFO: ==32209== Releasing lock...
[2025-01-06 21:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:54:18] Production.INFO: count ==934
[2025-01-06 21:54:18] Production.ERROR: pbx CDR StartTime 2025-01-06 18:54:05 - End Time 2025-01-06 21:54:05
[2025-01-06 21:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190441', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190441', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190441', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190441', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:54:18] Production.INFO: ProcessCDR(1,14190441,1,1,2)
[2025-01-06 21:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190441,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190441,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190441,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190441,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190441', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190441', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:54:21] Production.INFO: ==32217== Releasing lock...
[2025-01-06 21:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:54:21] Production.INFO: 34.75 MB #Memory Used#
[2025-01-07 02:55:02] Production.INFO: ==32284== Lock acquired, processing the job...
[2025-01-07 02:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:55:02] Production.INFO: neon service started
[2025-01-07 02:55:02] Production.INFO: neon service started
[2025-01-07 02:55:02] Production.INFO: ==32284== Releasing lock...
[2025-01-07 02:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 21:55:02] Production.INFO: ==32287== Lock acquired, processing the job...
[2025-01-06 21:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:55:02] Production.INFO: ==32289== Lock acquired, processing the job...
[2025-01-07 02:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:55:02] Production.INFO: ==32289== Releasing lock...
[2025-01-07 02:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:55:03] Production.INFO: ==32287== Releasing lock...
[2025-01-06 21:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:55:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 21:55:03] Production.INFO: ==32291== Lock acquired, processing the job...
[2025-01-06 21:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:55:03] Production.INFO: ==32293== Lock acquired, processing the job...
[2025-01-06 21:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:55:03] Production.INFO: ==32297== Lock acquired, processing the job...
[2025-01-06 21:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:55:03] Production.INFO: Account Balance Start.
[2025-01-06 21:55:03] Production.INFO: CreateAllLog Start
[2025-01-06 21:55:03] Production.INFO: 117
[2025-01-06 21:55:03] Production.INFO: Date 2024-12-08
[2025-01-06 21:55:03] Production.INFO: ==32295== Lock acquired, processing the job...
[2025-01-06 21:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:55:04] Production.INFO: Date 2024-12-09
[2025-01-06 21:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:55:04] Production.INFO: Date 2024-12-10
[2025-01-06 21:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:55:04] Production.INFO: ==32293== Releasing lock...
[2025-01-06 21:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:55:04] Production.INFO: Date 2024-12-11
[2025-01-06 21:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:55:04] Production.INFO: Date 2024-12-12
[2025-01-06 21:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:55:04] Production.INFO: ==32301== Lock acquired, processing the job...
[2025-01-06 21:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:55:04] Production.INFO: ==32299== Lock acquired, processing the job...
[2025-01-06 21:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:55:04] Production.INFO: Date 2024-12-13
[2025-01-06 21:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:55:04] Production.INFO: Date 2024-12-14
[2025-01-06 21:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:55:04] Production.INFO: Date 2024-12-15
[2025-01-06 21:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:55:04] Production.INFO: Date 2024-12-16
[2025-01-06 21:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 21:55:04] Production.INFO: Date 2024-12-17
[2025-01-06 21:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:55:04] Production.INFO: count ==21
[2025-01-06 21:55:04] Production.INFO: Date 2024-12-18
[2025-01-06 21:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 21:55:04] Production.INFO: count ==21
[2025-01-06 21:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190445') start
[2025-01-06 21:55:04] Production.INFO: Date 2024-12-19
[2025-01-06 21:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:55:04] Production.ERROR: done
[2025-01-06 21:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:55:04] Production.INFO: Date 2024-12-20
[2025-01-06 21:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:55:04] Production.INFO: Date 2024-12-21
[2025-01-06 21:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190445') end
[2025-01-06 21:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:55:04] Production.INFO: 1
[2025-01-06 21:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:55:04] Production.ERROR: done
[2025-01-06 21:55:04] Production.INFO: ==32301== Releasing lock...
[2025-01-06 21:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:55:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:55:04] Production.INFO: Date 2024-12-23
[2025-01-06 21:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:55:04] Production.INFO: Date 2024-12-24
[2025-01-06 21:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:55:04] Production.INFO: Date 2024-12-25
[2025-01-06 21:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:55:04] Production.INFO: Date 2024-12-26
[2025-01-06 21:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:55:04] Production.INFO: Date 2024-12-27
[2025-01-06 21:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:55:05] Production.INFO: Date 2024-12-28
[2025-01-06 21:55:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:55:05] Production.INFO: Date 2024-12-29
[2025-01-06 21:55:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:55:05] Production.INFO: Date 2024-12-30
[2025-01-06 21:55:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:55:05] Production.INFO: Date 2024-12-31
[2025-01-06 21:55:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:55:05] Production.INFO: Date 2025-01-01
[2025-01-06 21:55:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:55:05] Production.INFO: Date 2025-01-02
[2025-01-06 21:55:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:55:05] Production.INFO: Date 2025-01-03
[2025-01-06 21:55:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:55:05] Production.INFO: Date 2025-01-04
[2025-01-06 21:55:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:55:05] Production.INFO: Date 2025-01-05
[2025-01-06 21:55:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:55:05] Production.INFO: Date 2025-01-06
[2025-01-06 21:55:05] Production.INFO: Reseller ==> 0
[2025-01-06 21:55:05] Production.INFO: Total Charge 0
[2025-01-06 21:55:05] Production.INFO: CreateAllLog End
[2025-01-06 21:55:05] Production.INFO: Account Balance End.
[2025-01-06 21:55:05] Production.ERROR: CronJobId end 12
[2025-01-06 21:55:05] Production.INFO: ==32297== Releasing lock...
[2025-01-06 21:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:55:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:55:05
[end_date_ymd] => 2025-01-06 21:55:05
[RateCDR] => 1
)
[2025-01-06 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-06 18:55:05' and `end` < '2025-01-06 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-06 21:55:12] Production.ERROR: CronJobId end10
[2025-01-06 21:55:12] Production.INFO: ==32295== Releasing lock...
[2025-01-06 21:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:55:14] Production.INFO: call_cost start
[2025-01-06 21:55:14] Production.INFO: call_cost end
[2025-01-06 21:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:55:14] Production.INFO: ==32291== Releasing lock...
[2025-01-06 21:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:55:18] Production.INFO: count ==933
[2025-01-06 21:55:18] Production.ERROR: pbx CDR StartTime 2025-01-06 18:55:05 - End Time 2025-01-06 21:55:05
[2025-01-06 21:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190446', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190446', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190446', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190446', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:55:18] Production.INFO: ProcessCDR(1,14190446,1,1,2)
[2025-01-06 21:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190446,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190446,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190446,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190446,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190446', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190446', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:55:22] Production.INFO: ==32299== Releasing lock...
[2025-01-06 21:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:55:22] Production.INFO: 34.75 MB #Memory Used#
[2025-01-07 02:56:01] Production.INFO: ==32359== Lock acquired, processing the job...
[2025-01-07 02:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:56:01] Production.INFO: neon service started
[2025-01-07 02:56:01] Production.INFO: neon service started
[2025-01-07 02:56:01] Production.INFO: ==32359== Releasing lock...
[2025-01-07 02:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 21:56:01] Production.INFO: ==32361== Lock acquired, processing the job...
[2025-01-06 21:56:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 21:56:02] Production.INFO: ==32361== Releasing lock...
[2025-01-06 21:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:56:02] Production.INFO: ==32363== Lock acquired, processing the job...
[2025-01-07 02:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:56:02] Production.INFO: ==32363== Releasing lock...
[2025-01-07 02:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:56:03] Production.INFO: ==32371== Lock acquired, processing the job...
[2025-01-06 21:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:56:03] Production.INFO: Account Balance Start.
[2025-01-06 21:56:03] Production.INFO: CreateAllLog Start
[2025-01-06 21:56:03] Production.INFO: 117
[2025-01-06 21:56:03] Production.INFO: Date 2024-12-08
[2025-01-06 21:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:56:03] Production.INFO: ==32375== Lock acquired, processing the job...
[2025-01-06 21:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:56:03] Production.INFO: Date 2024-12-09
[2025-01-06 21:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:56:03] Production.INFO: Date 2024-12-10
[2025-01-06 21:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:56:03] Production.INFO: Date 2024-12-11
[2025-01-06 21:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:56:03] Production.INFO: Date 2024-12-12
[2025-01-06 21:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:56:03] Production.INFO: Date 2024-12-13
[2025-01-06 21:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:56:03] Production.INFO: ==32365== Lock acquired, processing the job...
[2025-01-06 21:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 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-06 21:56:03] Production.INFO: Date 2024-12-14
[2025-01-06 21:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:56:03] Production.INFO: ==32367== Lock acquired, processing the job...
[2025-01-06 21:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:56:03] Production.INFO: Date 2024-12-15
[2025-01-06 21:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:56:03] Production.INFO: count ==21
[2025-01-06 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-06 21:56:03] Production.INFO: ==32369== Lock acquired, processing the job...
[2025-01-06 21:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:56:03] Production.INFO: count ==21
[2025-01-06 21:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190448') start
[2025-01-06 21:56:03] Production.INFO: Date 2024-12-16
[2025-01-06 21:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:56:03] Production.INFO: ==32373== Lock acquired, processing the job...
[2025-01-06 21:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:56:03] Production.INFO: Date 2024-12-17
[2025-01-06 21:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:56:03] Production.INFO: Date 2024-12-18
[2025-01-06 21:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:56:03] Production.INFO: Date 2024-12-19
[2025-01-06 21:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190448') end
[2025-01-06 21:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:56:03] Production.INFO: 1
[2025-01-06 21:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:56:03] Production.INFO: ==32375== Releasing lock...
[2025-01-06 21:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:56:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:56:03] Production.INFO: Date 2024-12-20
[2025-01-06 21:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:56:03] Production.INFO: Date 2024-12-21
[2025-01-06 21:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:56:03] Production.INFO: Date 2024-12-22
[2025-01-06 21:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:56:03] Production.INFO: ==32367== Releasing lock...
[2025-01-06 21:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:56:03] Production.INFO: Date 2024-12-23
[2025-01-06 21:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:56:03] Production.INFO: Date 2024-12-24
[2025-01-06 21:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:56:03] Production.INFO: Date 2024-12-25
[2025-01-06 21:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:56:03] Production.ERROR: done
[2025-01-06 21:56:03] Production.INFO: Date 2024-12-26
[2025-01-06 21:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:56:03] Production.INFO: Date 2024-12-27
[2025-01-06 21:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:56:04] Production.INFO: Date 2024-12-28
[2025-01-06 21:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:56:04] Production.INFO: Date 2024-12-29
[2025-01-06 21:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:56:04] Production.ERROR: done
[2025-01-06 21:56:04] Production.INFO: Date 2024-12-30
[2025-01-06 21:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:56:04] Production.INFO: Date 2024-12-31
[2025-01-06 21:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:56:04] Production.INFO: Date 2025-01-01
[2025-01-06 21:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:56:04] Production.INFO: Date 2025-01-02
[2025-01-06 21:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:56:04] Production.INFO: Date 2025-01-03
[2025-01-06 21:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:56:04] Production.INFO: Date 2025-01-04
[2025-01-06 21:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:56:04] Production.INFO: Date 2025-01-05
[2025-01-06 21:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:56:04] Production.INFO: Date 2025-01-06
[2025-01-06 21:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:56:04] Production.INFO: Total Charge 0
[2025-01-06 21:56:04] Production.INFO: CreateAllLog End
[2025-01-06 21:56:04] Production.INFO: Account Balance End.
[2025-01-06 21:56:04] Production.ERROR: CronJobId end 12
[2025-01-06 21:56:04] Production.INFO: ==32371== Releasing lock...
[2025-01-06 21:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:56:05
[end_date_ymd] => 2025-01-06 21:56:05
[RateCDR] => 1
)
[2025-01-06 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-06 18:56:05' and `end` < '2025-01-06 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-06 21:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:56:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:56:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:56:13] Production.ERROR: CronJobId end10
[2025-01-06 21:56:13] Production.INFO: ==32369== Releasing lock...
[2025-01-06 21:56:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:56:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:56:13] Production.INFO: call_cost start
[2025-01-06 21:56:13] Production.INFO: call_cost end
[2025-01-06 21:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:56:14] Production.INFO: ==32365== Releasing lock...
[2025-01-06 21:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:56:17] Production.INFO: count ==935
[2025-01-06 21:56:18] Production.ERROR: pbx CDR StartTime 2025-01-06 18:56:05 - End Time 2025-01-06 21:56:05
[2025-01-06 21:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190451', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190451', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190451', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190451', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:56:18] Production.INFO: ProcessCDR(1,14190451,1,1,2)
[2025-01-06 21:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190451,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190451,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190451,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190451,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190451', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190451', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:56:21] Production.INFO: ==32373== Releasing lock...
[2025-01-06 21:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:56:21] Production.INFO: 34.75 MB #Memory Used#
[2025-01-07 02:57:01] Production.INFO: ==32444== Lock acquired, processing the job...
[2025-01-07 02:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:57:01] Production.INFO: neon service started
[2025-01-07 02:57:01] Production.INFO: neon service started
[2025-01-07 02:57:01] Production.INFO: ==32444== Releasing lock...
[2025-01-07 02:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 21:57:02] Production.INFO: ==32446== Lock acquired, processing the job...
[2025-01-06 21:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:57:02] Production.INFO: ==32448== Lock acquired, processing the job...
[2025-01-07 02:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-06 21:57:02] Production.INFO: ==32446== Releasing lock...
[2025-01-06 21:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:57:02] Production.INFO: ==32448== Releasing lock...
[2025-01-07 02:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:57:03] Production.INFO: ==32458== Lock acquired, processing the job...
[2025-01-06 21:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:57:03] Production.INFO: ==32460== Lock acquired, processing the job...
[2025-01-06 21:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:57:03] Production.INFO: ==32450== Lock acquired, processing the job...
[2025-01-06 21:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 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-06 21:57:03] Production.INFO: ==32452== Lock acquired, processing the job...
[2025-01-06 21:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:57:03] Production.INFO: count ==21
[2025-01-06 21:57:03] Production.INFO: ==32454== Lock acquired, processing the job...
[2025-01-06 21:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:57:03] Production.INFO: ==32456== Lock acquired, processing the job...
[2025-01-06 21:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:57:03] Production.INFO: count ==21
[2025-01-06 21:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190452') start
[2025-01-06 21:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190452') end
[2025-01-06 21:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:57:03] Production.INFO: 1
[2025-01-06 21:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:57:03] Production.INFO: Account Balance Start.
[2025-01-06 21:57:03] Production.INFO: CreateAllLog Start
[2025-01-06 21:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:57:03] Production.INFO: 117
[2025-01-06 21:57:03] Production.INFO: Date 2024-12-08
[2025-01-06 21:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:57:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:57:03] Production.INFO: ==32460== Releasing lock...
[2025-01-06 21:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:57:03] Production.ERROR: done
[2025-01-06 21:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:57:03] Production.INFO: Date 2024-12-09
[2025-01-06 21:57:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:57:04] Production.INFO: Date 2024-12-10
[2025-01-06 21:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:57:04] Production.ERROR: done
[2025-01-06 21:57:04] Production.INFO: Date 2024-12-11
[2025-01-06 21:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:57:04] Production.INFO: Date 2024-12-12
[2025-01-06 21:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:57:04] Production.INFO: Date 2024-12-13
[2025-01-06 21:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:57:04] Production.INFO: ==32452== Releasing lock...
[2025-01-06 21:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:57:04] Production.INFO: Date 2024-12-14
[2025-01-06 21:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:57:04] Production.INFO: Date 2024-12-15
[2025-01-06 21:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:57:04] Production.INFO: Date 2024-12-16
[2025-01-06 21:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:57:04] Production.INFO: Date 2024-12-17
[2025-01-06 21:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:57:04] Production.INFO: Date 2024-12-18
[2025-01-06 21:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:57:04] Production.INFO: Date 2024-12-19
[2025-01-06 21:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:57:04] Production.INFO: Date 2024-12-20
[2025-01-06 21:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:57:04] Production.INFO: Date 2024-12-21
[2025-01-06 21:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:57:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:57:04] Production.INFO: Date 2024-12-23
[2025-01-06 21:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:57:04] Production.INFO: Date 2024-12-24
[2025-01-06 21:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:57:04] Production.INFO: Date 2024-12-25
[2025-01-06 21:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:57:04] Production.INFO: Date 2024-12-26
[2025-01-06 21:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:57:04] Production.INFO: Date 2024-12-27
[2025-01-06 21:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:57:04] Production.INFO: Date 2024-12-28
[2025-01-06 21:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:57:04] Production.INFO: Date 2024-12-29
[2025-01-06 21:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:57:04] Production.INFO: Date 2024-12-30
[2025-01-06 21:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:57:04] Production.INFO: Date 2024-12-31
[2025-01-06 21:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:57:04] Production.INFO: Date 2025-01-01
[2025-01-06 21:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:57:04] Production.INFO: Date 2025-01-02
[2025-01-06 21:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:57:04] Production.INFO: Date 2025-01-03
[2025-01-06 21:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:57:04] Production.INFO: Date 2025-01-04
[2025-01-06 21:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:57:04] Production.INFO: Date 2025-01-05
[2025-01-06 21:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:57:04] Production.INFO: Date 2025-01-06
[2025-01-06 21:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:57:04] Production.INFO: Total Charge 0
[2025-01-06 21:57:05] Production.INFO: CreateAllLog End
[2025-01-06 21:57:05] Production.INFO: Account Balance End.
[2025-01-06 21:57:05] Production.ERROR: CronJobId end 12
[2025-01-06 21:57:05] Production.INFO: ==32456== Releasing lock...
[2025-01-06 21:57:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:57:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:57:05
[end_date_ymd] => 2025-01-06 21:57:05
[RateCDR] => 1
)
[2025-01-06 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-06 18:57:05' and `end` < '2025-01-06 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-06 21:57:12] Production.ERROR: CronJobId end10
[2025-01-06 21:57:12] Production.INFO: ==32454== Releasing lock...
[2025-01-06 21:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:57:13] Production.INFO: call_cost start
[2025-01-06 21:57:13] Production.INFO: call_cost end
[2025-01-06 21:57:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:57:13] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:57:13] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:57:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:57:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:57:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:57:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:57:13] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:57:13] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:57:13] Production.INFO: ==32450== Releasing lock...
[2025-01-06 21:57:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:57:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:57:20] Production.INFO: count ==938
[2025-01-06 21:57:20] Production.ERROR: pbx CDR StartTime 2025-01-06 18:57:05 - End Time 2025-01-06 21:57:05
[2025-01-06 21:57:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190456', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190456', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190456', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190456', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:57:20] Production.INFO: ProcessCDR(1,14190456,1,1,2)
[2025-01-06 21:57:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190456,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:57:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190456,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:57:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190456,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:57:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190456,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190456', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190456', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:57:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:57:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:57:23] Production.INFO: ==32458== Releasing lock...
[2025-01-06 21:57:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:57:23] Production.INFO: 35 MB #Memory Used#
[2025-01-07 02:58:01] Production.INFO: ==32514== Lock acquired, processing the job...
[2025-01-07 02:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:58:01] Production.INFO: neon service started
[2025-01-07 02:58:01] Production.INFO: neon service started
[2025-01-07 02:58:01] Production.INFO: ==32514== Releasing lock...
[2025-01-07 02:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:58:01] Production.INFO: ==32518== Lock acquired, processing the job...
[2025-01-07 02:58:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:58:01] Production.INFO: ==32518== Releasing lock...
[2025-01-07 02:58:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:58:01] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:58:01] Production.INFO: ==32516== Lock acquired, processing the job...
[2025-01-06 21:58:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 21:58:02] Production.INFO: ==32516== Releasing lock...
[2025-01-06 21:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 21:58:02] Production.INFO: ==32522== Lock acquired, processing the job...
[2025-01-06 21:58:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:58:02] Production.INFO: ==32520== Lock acquired, processing the job...
[2025-01-06 21:58:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:58:02] Production.INFO: ==32526== Lock acquired, processing the job...
[2025-01-06 21:58:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:58:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:58:03] Production.INFO: ==32524== Lock acquired, processing the job...
[2025-01-06 21:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:58:03] Production.INFO: Account Balance Start.
[2025-01-06 21:58:03] Production.INFO: CreateAllLog Start
[2025-01-06 21:58:03] Production.INFO: ==32522== Releasing lock...
[2025-01-06 21:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:58:03] Production.INFO: 117
[2025-01-06 21:58:03] Production.INFO: Date 2024-12-08
[2025-01-06 21:58:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:58:03] Production.INFO: ==32530== Lock acquired, processing the job...
[2025-01-06 21:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:58:03] Production.INFO: Date 2024-12-09
[2025-01-06 21:58:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:58:03] Production.INFO: Date 2024-12-10
[2025-01-06 21:58:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:58:03] Production.INFO: Date 2024-12-11
[2025-01-06 21:58:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:58:03] Production.INFO: ==32528== Lock acquired, processing the job...
[2025-01-06 21:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:58:03] Production.INFO: Date 2024-12-12
[2025-01-06 21:58:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:58:03] Production.INFO: Date 2024-12-13
[2025-01-06 21:58:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:58:03] Production.INFO: Date 2024-12-14
[2025-01-06 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-06 21:58:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:58:03] Production.INFO: count ==21
[2025-01-06 21:58:03] Production.INFO: Date 2024-12-15
[2025-01-06 21:58:03] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 21:58:03] Production.INFO: count ==21
[2025-01-06 21:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190460') start
[2025-01-06 21:58:03] Production.INFO: Date 2024-12-16
[2025-01-06 21:58:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:58:03] Production.INFO: Date 2024-12-17
[2025-01-06 21:58:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190460') end
[2025-01-06 21:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:58:03] Production.INFO: 1
[2025-01-06 21:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:58:03] Production.ERROR: done
[2025-01-06 21:58:03] Production.INFO: ==32530== Releasing lock...
[2025-01-06 21:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:58:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:58:03] Production.INFO: Date 2024-12-18
[2025-01-06 21:58:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:58:03] Production.INFO: Date 2024-12-19
[2025-01-06 21:58:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:58:03] Production.INFO: Date 2024-12-20
[2025-01-06 21:58:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:58:03] Production.ERROR: done
[2025-01-06 21:58:04] Production.INFO: Date 2024-12-21
[2025-01-06 21:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:58:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:58:04] Production.INFO: Date 2024-12-23
[2025-01-06 21:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:58:04] Production.INFO: Date 2024-12-24
[2025-01-06 21:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:58:04] Production.INFO: Date 2024-12-25
[2025-01-06 21:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:58:04] Production.INFO: Date 2024-12-26
[2025-01-06 21:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:58:04] Production.INFO: Date 2024-12-27
[2025-01-06 21:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:58:04] Production.INFO: Date 2024-12-28
[2025-01-06 21:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:58:04] Production.INFO: Date 2024-12-29
[2025-01-06 21:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:58:04] Production.INFO: Date 2024-12-30
[2025-01-06 21:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:58:04] Production.INFO: Date 2024-12-31
[2025-01-06 21:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:58:04] Production.INFO: Date 2025-01-01
[2025-01-06 21:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:58:04] Production.INFO: Date 2025-01-02
[2025-01-06 21:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:58:04] Production.INFO: Date 2025-01-03
[2025-01-06 21:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:58:04] Production.INFO: Date 2025-01-04
[2025-01-06 21:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:58:04] Production.INFO: Date 2025-01-05
[2025-01-06 21:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:58:04] Production.INFO: Date 2025-01-06
[2025-01-06 21:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:58:04] Production.INFO: Total Charge 0
[2025-01-06 21:58:04] Production.INFO: CreateAllLog End
[2025-01-06 21:58:04] Production.INFO: Account Balance End.
[2025-01-06 21:58:04] Production.ERROR: CronJobId end 12
[2025-01-06 21:58:04] Production.INFO: ==32526== Releasing lock...
[2025-01-06 21:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:58:05
[end_date_ymd] => 2025-01-06 21:58:05
[RateCDR] => 1
)
[2025-01-06 21:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 18:58:05' and `end` < '2025-01-06 21:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 21:58:12] Production.ERROR: CronJobId end10
[2025-01-06 21:58:12] Production.INFO: ==32524== Releasing lock...
[2025-01-06 21:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:58:13] Production.INFO: call_cost start
[2025-01-06 21:58:13] Production.INFO: call_cost end
[2025-01-06 21:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:58:14] Production.INFO: ==32520== Releasing lock...
[2025-01-06 21:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:58:17] Production.INFO: count ==929
[2025-01-06 21:58:18] Production.ERROR: pbx CDR StartTime 2025-01-06 18:58:05 - End Time 2025-01-06 21:58:05
[2025-01-06 21:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190461', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190461', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190461', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190461', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:58:18] Production.INFO: ProcessCDR(1,14190461,1,1,2)
[2025-01-06 21:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190461,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190461,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190461,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190461,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190461', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190461', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:58:21] Production.INFO: ==32528== Releasing lock...
[2025-01-06 21:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:58:21] Production.INFO: 34.5 MB #Memory Used#
[2025-01-07 02:59:01] Production.INFO: ==32588== Lock acquired, processing the job...
[2025-01-07 02:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 02:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 02:59:01] Production.INFO: neon service started
[2025-01-07 02:59:01] Production.INFO: neon service started
[2025-01-07 02:59:01] Production.INFO: ==32588== Releasing lock...
[2025-01-07 02:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 02:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 21:59:02] Production.INFO: ==32590== Lock acquired, processing the job...
[2025-01-06 21:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 21:59:02] Production.INFO: ==32590== Releasing lock...
[2025-01-06 21:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 21:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:59:02] Production.INFO: ==32592== Lock acquired, processing the job...
[2025-01-07 02:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:59:02] Production.INFO: ==32592== Releasing lock...
[2025-01-07 02:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 02:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 21:59:03] Production.INFO: ==32597== Lock acquired, processing the job...
[2025-01-06 21:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 21:59:03] Production.INFO: ==32599== Lock acquired, processing the job...
[2025-01-06 21:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 21:59:03] Production.INFO: ==32595== Lock acquired, processing the job...
[2025-01-06 21:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 21:59:03] Production.INFO: ==32601== Lock acquired, processing the job...
[2025-01-06 21:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 21:59:03] Production.INFO: ==32605== Lock acquired, processing the job...
[2025-01-06 21:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 21:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 21:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 21:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 21:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 21:59:03] Production.INFO: Account Balance Start.
[2025-01-06 21:59:03] Production.INFO: CreateAllLog Start
[2025-01-06 21:59:03] Production.INFO: 117
[2025-01-06 21:59:03] Production.INFO: Date 2024-12-08
[2025-01-06 21:59:03] Production.INFO: ==32603== Lock acquired, processing the job...
[2025-01-06 21:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 21:59:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 21:59:03] Production.INFO: Date 2024-12-09
[2025-01-06 21:59:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 21:59:03] Production.INFO: Date 2024-12-10
[2025-01-06 21:59:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:59:03] Production.INFO: count ==21
[2025-01-06 21:59:03] Production.INFO: Date 2024-12-11
[2025-01-06 21:59:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 21:59:03] Production.INFO: count ==21
[2025-01-06 21:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190465') start
[2025-01-06 21:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190465') end
[2025-01-06 21:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 21:59:03] Production.INFO: 1
[2025-01-06 21:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 21:59:03] Production.INFO: Date 2024-12-12
[2025-01-06 21:59:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:59:03] Production.INFO: Date 2024-12-13
[2025-01-06 21:59:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:59:03] Production.INFO: Date 2024-12-14
[2025-01-06 21:59:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:59:03] Production.INFO: ==32597== Releasing lock...
[2025-01-06 21:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 21:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 21:59:03] Production.INFO: ==32605== Releasing lock...
[2025-01-06 21:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 21:59:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 21:59:03] Production.ERROR: done
[2025-01-06 21:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 21:59:03] Production.INFO: Date 2024-12-15
[2025-01-06 21:59:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:59:03] Production.INFO: Date 2024-12-16
[2025-01-06 21:59:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:59:03] Production.INFO: Date 2024-12-17
[2025-01-06 21:59:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:59:03] Production.ERROR: done
[2025-01-06 21:59:03] Production.INFO: Date 2024-12-18
[2025-01-06 21:59:03] Production.INFO: Reseller ==> 0
[2025-01-06 21:59:04] Production.INFO: Date 2024-12-19
[2025-01-06 21:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:59:04] Production.INFO: Date 2024-12-20
[2025-01-06 21:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:59:04] Production.INFO: Date 2024-12-21
[2025-01-06 21:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:59:04] Production.INFO: Date 2024-12-22
[2025-01-06 21:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:59:04] Production.INFO: Date 2024-12-23
[2025-01-06 21:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:59:04] Production.INFO: Date 2024-12-24
[2025-01-06 21:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:59:04] Production.INFO: Date 2024-12-25
[2025-01-06 21:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:59:04] Production.INFO: Date 2024-12-26
[2025-01-06 21:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:59:04] Production.INFO: Date 2024-12-27
[2025-01-06 21:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:59:04] Production.INFO: Date 2024-12-28
[2025-01-06 21:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:59:04] Production.INFO: Date 2024-12-29
[2025-01-06 21:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:59:04] Production.INFO: Date 2024-12-30
[2025-01-06 21:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:59:04] Production.INFO: Date 2024-12-31
[2025-01-06 21:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:59:04] Production.INFO: Date 2025-01-01
[2025-01-06 21:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:59:04] Production.INFO: Date 2025-01-02
[2025-01-06 21:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:59:04] Production.INFO: Date 2025-01-03
[2025-01-06 21:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:59:04] Production.INFO: Date 2025-01-04
[2025-01-06 21:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:59:04] Production.INFO: Date 2025-01-05
[2025-01-06 21:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:59:04] Production.INFO: Date 2025-01-06
[2025-01-06 21:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 21:59:04] Production.INFO: Total Charge 0
[2025-01-06 21:59:04] Production.INFO: CreateAllLog End
[2025-01-06 21:59:04] Production.INFO: Account Balance End.
[2025-01-06 21:59:04] Production.ERROR: CronJobId end 12
[2025-01-06 21:59:04] Production.INFO: ==32601== Releasing lock...
[2025-01-06 21:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 21:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 21:59:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 18:59:04
[end_date_ymd] => 2025-01-06 21:59:04
[RateCDR] => 1
)
[2025-01-06 21: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-06 18:59:04' and `end` < '2025-01-06 21: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-06 21:59:11] Production.ERROR: CronJobId end10
[2025-01-06 21:59:11] Production.INFO: ==32599== Releasing lock...
[2025-01-06 21:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 21:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 21:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 21:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 21:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 21:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 21:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 21:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 21:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 21:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 21:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 21:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 21:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 21:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 21:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 21:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 21:59:13] Production.INFO: call_cost start
[2025-01-06 21:59:13] Production.INFO: call_cost end
[2025-01-06 21:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 21:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 21:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 21:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 21:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 21:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 21:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 21:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 21:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 21:59:14] Production.INFO: ==32595== Releasing lock...
[2025-01-06 21:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 21:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 21:59:17] Production.INFO: count ==918
[2025-01-06 21:59:17] Production.ERROR: pbx CDR StartTime 2025-01-06 18:59:04 - End Time 2025-01-06 21:59:04
[2025-01-06 21:59:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 21:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190466', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190466', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190466', 'tblTempVendorCDR_20' ) start
[2025-01-06 21:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190466', 'tblTempVendorCDR_20' ) end
[2025-01-06 21:59:17] Production.INFO: ProcessCDR(1,14190466,1,1,2)
[2025-01-06 21:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190466,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:59:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190466,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 21:59:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190466,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:59:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190466,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 21:59:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190466', 'tblTempUsageDetail_20' ) start
[2025-01-06 21:59:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190466', 'tblTempUsageDetail_20' ) end
[2025-01-06 21:59:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 21:59:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 21:59:20] Production.INFO: ==32603== Releasing lock...
[2025-01-06 21:59:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 21:59:20] Production.INFO: 34.5 MB #Memory Used#
[2025-01-07 03:00:02] Production.INFO: ==32699== Lock acquired, processing the job...
[2025-01-07 03:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:00:02] Production.INFO: neon service started
[2025-01-07 03:00:02] Production.INFO: neon service started
[2025-01-07 03:00:02] Production.INFO: ==32699== Releasing lock...
[2025-01-07 03:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:00:02] Production.INFO: ==32701== Lock acquired, processing the job...
[2025-01-06 22:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 22:00:03] Production.INFO: ==32701== Releasing lock...
[2025-01-06 22:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:00:03] Production.INFO: ==32703== Lock acquired, processing the job...
[2025-01-07 03:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:00:03] Production.INFO: ==32703== Releasing lock...
[2025-01-07 03:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:00:03] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:00:04] Production.INFO: ==32705== Lock acquired, processing the job...
[2025-01-06 22:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-06 22:00:04] Production.INFO: ==32709== Lock acquired, processing the job...
[2025-01-06 22:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-06 22:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-06 22:00:04] Production.INFO: ==32705== Releasing lock...
[2025-01-06 22:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-06 22:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-06 22:00:04] Production.INFO: ==32707== Lock acquired, processing the job...
[2025-01-06 22:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:00:04] Production.INFO: ==32718== Lock acquired, processing the job...
[2025-01-06 22:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:00:04] Production.INFO: ==32720== Lock acquired, processing the job...
[2025-01-06 22:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-06 22:00:04] Production.INFO: ==32711== Lock acquired, processing the job...
[2025-01-06 22:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:00:04] Production.INFO: ==32713== Lock acquired, processing the job...
[2025-01-06 22:00:04] Production.INFO: bulkautopaymentcapture-command-bulkautopaymentcapture-companyid-1-cronjobid-11 #Starts#
[2025-01-06 22:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:00:04] Production.INFO: ==32716== Lock acquired, processing the job...
[2025-01-06 22:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:00:04] Production.INFO: ==32722== Lock acquired, processing the job...
[2025-01-06 22:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:00:04] Production.INFO: ==32709== Releasing lock...
[2025-01-06 22:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:00:04] Production.INFO: Account Balance Start.
[2025-01-06 22:00:04] Production.INFO: CreateAllLog Start
[2025-01-06 22:00:04] Production.INFO: 117
[2025-01-06 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '5', '0', '1' )
[2025-01-06 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '7', '0', '1' )
[2025-01-06 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '8', '0', '1' )
[2025-01-06 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '13', '0', '1' )
[2025-01-06 22:00:04] Production.INFO: Date 2024-12-08
[2025-01-06 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '14', '0', '1' )
[2025-01-06 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '17', '0', '1' )
[2025-01-06 22:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '19', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '21', '0', '1' )
[2025-01-06 22:00:05] Production.ERROR: done
[2025-01-06 22:00:05] Production.ERROR: done
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '25', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '26', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '20', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '32', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '33', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '37', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '41', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '43', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '45', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '49', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '47', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '52', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '53', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '54', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '57', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '58', '0', '1' )
[2025-01-06 22:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-06 22:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14190471', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) start
[2025-01-06 22:00:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:00:05] Production.INFO: Date 2024-12-09
[2025-01-06 22:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:00:05] Production.INFO: count ==21
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '34', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:00:05] Production.INFO: count ==21
[2025-01-06 22:00:05] Production.ERROR: done
[2025-01-06 22:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14190470') start
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '59', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '63', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '65', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '67', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '73', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '74', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '70', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '82', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '83', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '84', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '85', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '93', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '95', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '92', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '86', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '78', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '87', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '88', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 3
[2025-01-06 22:00:05] Production.INFO: Date 2024-12-10
[2025-01-06 22:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '90', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '98', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: Date 2024-12-11
[2025-01-06 22:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '99', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '97', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '100', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '101', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '102', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '104', '0', '1' )
[2025-01-06 22:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14190470') end
[2025-01-06 22:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:00:05] Production.INFO: 1
[2025-01-06 22:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:00:05] Production.INFO: ==32722== Releasing lock...
[2025-01-06 22:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.INFO: Date 2024-12-12
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '106', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '107', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '110', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '111', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '113', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '114', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '115', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.INFO: Date 2024-12-13
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '119', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '121', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '123', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '124', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '127', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '131', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '130', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 4
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '134', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: Date 2024-12-14
[2025-01-06 22:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '137', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: Date 2024-12-15
[2025-01-06 22:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '138', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: Date 2024-12-16
[2025-01-06 22:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '136', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: Date 2024-12-17
[2025-01-06 22:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '139', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '140', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: Date 2024-12-18
[2025-01-06 22:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:00:05] Production.INFO: Date 2024-12-19
[2025-01-06 22:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '146', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: Date 2024-12-20
[2025-01-06 22:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 4
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '147', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '151', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: Date 2024-12-21
[2025-01-06 22:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '153', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '154', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '155', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '157', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 0
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '149', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 1
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '160', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '152', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '161', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '165', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '166', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '183', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: Date 2024-12-22
[2025-01-06 22:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '184', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '185', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '187', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '195', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '190', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 1
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '192', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '193', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 2
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '205', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: Date 2024-12-23
[2025-01-06 22:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '208', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 1
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '207', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 20
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '206', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 17
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '182', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '211', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '188', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '226', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '227', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: Date 2024-12-24
[2025-01-06 22:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '189', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '229', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '230', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '232', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '236', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 0
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '239', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-06 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '241', '0', '1' )
[2025-01-06 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-06 22:00:05] Production.INFO: Date 2024-12-25
[2025-01-06 22:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:00:05] Production.INFO: Date 2024-12-26
[2025-01-06 22:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:00:05] Production.INFO: Date 2024-12-27
[2025-01-06 22:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:00:05] Production.INFO: Date 2024-12-28
[2025-01-06 22:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:00:05] Production.INFO: Date 2024-12-29
[2025-01-06 22:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:00:05] Production.INFO: Date 2024-12-30
[2025-01-06 22:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:00:05] Production.INFO: Date 2024-12-31
[2025-01-06 22:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:00:05] Production.INFO: Date 2025-01-01
[2025-01-06 22:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:00:05] Production.INFO: Date 2025-01-02
[2025-01-06 22:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:00:05] Production.INFO: Date 2025-01-03
[2025-01-06 22:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:00:05] Production.INFO: Date 2025-01-04
[2025-01-06 22:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:00:06] Production.INFO: Date 2025-01-05
[2025-01-06 22:00:06] Production.INFO: Reseller ==> 0
[2025-01-06 22:00:06] Production.INFO: Date 2025-01-06
[2025-01-06 22:00:06] Production.INFO: Reseller ==> 0
[2025-01-06 22:00:06] Production.INFO: Total Charge 0
[2025-01-06 22:00:06] Production.INFO: CreateAllLog End
[2025-01-06 22:00:06] Production.INFO: Account Balance End.
[2025-01-06 22:00:06] Production.ERROR: CronJobId end 12
[2025-01-06 22:00:06] Production.INFO: ==32716== Releasing lock...
[2025-01-06 22:00:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:00:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:00:06
[end_date_ymd] => 2025-01-06 22:00:06
[RateCDR] => 1
)
[2025-01-06 22:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 19:00:06' and `end` < '2025-01-06 22:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 22:00:07] Production.ERROR: CronJobId end11
[2025-01-06 22:00:07] Production.INFO: ==32713== Releasing lock...
[2025-01-06 22:00:07] Production.INFO: bulkautopaymentcapture-command-bulkautopaymentcapture-companyid-1-cronjobid-11 #Stops#
[2025-01-06 22:00:07] Production.INFO: 30.5 MB #Memory Used#
[2025-01-06 22:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14190471', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) end
[2025-01-06 22:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-06 22:00:09] Production.INFO: ProcessCDR(1,14190471,1,1,2)
[2025-01-06 22:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14190471,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14190471,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:00:09] Production.INFO: ==32720== Releasing lock...
[2025-01-06 22:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-06 22:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-06 22:00:15] Production.ERROR: CronJobId end10
[2025-01-06 22:00:15] Production.INFO: ==32711== Releasing lock...
[2025-01-06 22:00:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:00:15] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:00:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:00:16] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:00:16] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:00:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:00:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:00:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:00:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:00:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:00:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:00:16] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:00:16] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:00:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:00:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:00:16] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:00:16] Production.INFO: call_cost start
[2025-01-06 22:00:16] Production.INFO: call_cost end
[2025-01-06 22:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:00:17] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:00:17] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:00:17] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:00:17] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:00:17] Production.INFO: ==32707== Releasing lock...
[2025-01-06 22:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:00:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:00:19] Production.INFO: count ==902
[2025-01-06 22:00:19] Production.ERROR: pbx CDR StartTime 2025-01-06 19:00:06 - End Time 2025-01-06 22:00:06
[2025-01-06 22:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190472', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190472', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190472', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190472', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:00:19] Production.INFO: ProcessCDR(1,14190472,1,1,2)
[2025-01-06 22:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190472,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190472,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190472,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190472,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190472', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190472', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:00:22] Production.INFO: ==32718== Releasing lock...
[2025-01-06 22:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:00:22] Production.INFO: 34.25 MB #Memory Used#
[2025-01-07 03:01:01] Production.INFO: ==318== Lock acquired, processing the job...
[2025-01-07 03:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:01:02] Production.INFO: neon service started
[2025-01-07 03:01:02] Production.INFO: neon service started
[2025-01-07 03:01:02] Production.INFO: ==318== Releasing lock...
[2025-01-07 03:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:01:02] Production.INFO: ==333== Lock acquired, processing the job...
[2025-01-07 03:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:01:02] Production.INFO: ==333== Releasing lock...
[2025-01-07 03:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:01:02] Production.INFO: ==331== Lock acquired, processing the job...
[2025-01-06 22:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 22:01:02] Production.INFO: ==331== Releasing lock...
[2025-01-06 22:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 22:01:03] Production.INFO: ==352== Lock acquired, processing the job...
[2025-01-06 22:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:01:03] Production.INFO: ==336== Lock acquired, processing the job...
[2025-01-06 22:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:01:03] Production.INFO: ==338== Lock acquired, processing the job...
[2025-01-06 22:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:01:03] Production.INFO: ==358== Lock acquired, processing the job...
[2025-01-06 22:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:01:03] Production.INFO: ==356== Lock acquired, processing the job...
[2025-01-06 22:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:01:03] Production.INFO: ==354== Lock acquired, processing the job...
[2025-01-06 22:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 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-06 22:01:03] Production.INFO: count ==21
[2025-01-06 22: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-06 22:01:04] Production.INFO: count ==21
[2025-01-06 22:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190474') start
[2025-01-06 22:01:04] Production.INFO: Account Balance Start.
[2025-01-06 22:01:04] Production.INFO: CreateAllLog Start
[2025-01-06 22:01:04] Production.INFO: 117
[2025-01-06 22:01:04] Production.ERROR: done
[2025-01-06 22:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:01:04] Production.INFO: Date 2024-12-08
[2025-01-06 22:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:01:04] Production.ERROR: done
[2025-01-06 22:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190474') end
[2025-01-06 22:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:01:04] Production.INFO: 1
[2025-01-06 22:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:01:04] Production.INFO: ==358== Releasing lock...
[2025-01-06 22:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:01:04] Production.INFO: Date 2024-12-09
[2025-01-06 22:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:01:04] Production.INFO: Date 2024-12-10
[2025-01-06 22:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:01:04] Production.INFO: ==338== Releasing lock...
[2025-01-06 22:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:01:04] Production.INFO: Date 2024-12-11
[2025-01-06 22:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:01:04] Production.INFO: Date 2024-12-12
[2025-01-06 22:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:01:04] Production.INFO: Date 2024-12-13
[2025-01-06 22:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:01:04] Production.INFO: Date 2024-12-14
[2025-01-06 22:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:01:04] Production.INFO: Date 2024-12-15
[2025-01-06 22:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:01:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:01:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:01:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:01:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:01:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:01:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:01:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:01:05] Production.INFO: Date 2024-12-23
[2025-01-06 22:01:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:01:05] Production.INFO: Date 2024-12-24
[2025-01-06 22:01:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:01:05] Production.INFO: Date 2024-12-25
[2025-01-06 22:01:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:01:05] Production.INFO: Date 2024-12-26
[2025-01-06 22:01:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:01:05] Production.INFO: Date 2024-12-27
[2025-01-06 22:01:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:01:05] Production.INFO: Date 2024-12-28
[2025-01-06 22:01:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:01:05] Production.INFO: Date 2024-12-29
[2025-01-06 22:01:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:01:05] Production.INFO: Date 2024-12-30
[2025-01-06 22:01:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:01:05] Production.INFO: Date 2024-12-31
[2025-01-06 22:01:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:01:05] Production.INFO: Date 2025-01-01
[2025-01-06 22:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:01:05
[end_date_ymd] => 2025-01-06 22:01:05
[RateCDR] => 1
)
[2025-01-06 22:01:05] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 19:01:05' and `end` < '2025-01-06 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-06 22:01:05] Production.INFO: Date 2025-01-02
[2025-01-06 22:01:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:01:05] Production.INFO: Date 2025-01-03
[2025-01-06 22:01:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:01:05] Production.INFO: Date 2025-01-04
[2025-01-06 22:01:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:01:05] Production.INFO: Date 2025-01-05
[2025-01-06 22:01:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:01:05] Production.INFO: Date 2025-01-06
[2025-01-06 22:01:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:01:05] Production.INFO: Total Charge 0
[2025-01-06 22:01:05] Production.INFO: CreateAllLog End
[2025-01-06 22:01:05] Production.INFO: Account Balance End.
[2025-01-06 22:01:05] Production.ERROR: CronJobId end 12
[2025-01-06 22:01:05] Production.INFO: ==354== Releasing lock...
[2025-01-06 22:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:01:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:01:13] Production.ERROR: CronJobId end10
[2025-01-06 22:01:13] Production.INFO: ==352== Releasing lock...
[2025-01-06 22:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:01:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:01:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:01:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:01:15] Production.INFO: call_cost start
[2025-01-06 22:01:15] Production.INFO: call_cost end
[2025-01-06 22:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:01:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:01:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:01:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:01:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:01:15] Production.INFO: ==336== Releasing lock...
[2025-01-06 22:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:01:18] Production.INFO: count ==903
[2025-01-06 22:01:18] Production.ERROR: pbx CDR StartTime 2025-01-06 19:01:05 - End Time 2025-01-06 22:01:05
[2025-01-06 22:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190477', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190477', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190477', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190477', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:01:18] Production.INFO: ProcessCDR(1,14190477,1,1,2)
[2025-01-06 22:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190477,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190477,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190477,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190477,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190477', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190477', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:01:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:01:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:01:21] Production.INFO: ==356== Releasing lock...
[2025-01-06 22:01:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:01:21] Production.INFO: 34.25 MB #Memory Used#
[2025-01-07 03:02:01] Production.INFO: ==420== Lock acquired, processing the job...
[2025-01-07 03:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:02:01] Production.INFO: neon service started
[2025-01-07 03:02:01] Production.INFO: neon service started
[2025-01-07 03:02:01] Production.INFO: ==420== Releasing lock...
[2025-01-07 03:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:02:01] Production.INFO: ==422== Lock acquired, processing the job...
[2025-01-06 22:02:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 22:02:02] Production.INFO: ==422== Releasing lock...
[2025-01-06 22:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:02:02] Production.INFO: ==424== Lock acquired, processing the job...
[2025-01-07 03:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:02:02] Production.INFO: ==424== Releasing lock...
[2025-01-07 03:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:02:03] Production.INFO: ==432== Lock acquired, processing the job...
[2025-01-06 22:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:02:03] Production.INFO: ==426== Lock acquired, processing the job...
[2025-01-06 22:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:02:03] Production.INFO: ==436== Lock acquired, processing the job...
[2025-01-06 22:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:02:03] Production.INFO: ==428== Lock acquired, processing the job...
[2025-01-06 22:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:02:03] Production.INFO: Account Balance Start.
[2025-01-06 22:02:03] Production.INFO: CreateAllLog Start
[2025-01-06 22:02:03] Production.INFO: 117
[2025-01-06 22:02:03] Production.INFO: Date 2024-12-08
[2025-01-06 22:02:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:02:03] Production.INFO: Date 2024-12-09
[2025-01-06 22:02:03] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 22:02:03] Production.INFO: Date 2024-12-10
[2025-01-06 22:02:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:02:03] Production.INFO: ==430== Lock acquired, processing the job...
[2025-01-06 22:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:02:03] Production.INFO: Date 2024-12-11
[2025-01-06 22:02:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:02:03] Production.INFO: count ==21
[2025-01-06 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-06 22:02:03] Production.INFO: count ==21
[2025-01-06 22:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190479') start
[2025-01-06 22:02:03] Production.INFO: ==434== Lock acquired, processing the job...
[2025-01-06 22:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:02:03] Production.INFO: Date 2024-12-12
[2025-01-06 22:02:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190479') end
[2025-01-06 22:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:02:03] Production.INFO: 1
[2025-01-06 22:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:02:03] Production.INFO: Date 2024-12-13
[2025-01-06 22:02:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:02:03] Production.INFO: ==436== Releasing lock...
[2025-01-06 22:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:02:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:02:03] Production.INFO: Date 2024-12-14
[2025-01-06 22:02:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:02:03] Production.INFO: Date 2024-12-15
[2025-01-06 22:02:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:02:03] Production.INFO: ==428== Releasing lock...
[2025-01-06 22:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:02:03] Production.INFO: Date 2024-12-16
[2025-01-06 22:02:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:02:03] Production.ERROR: done
[2025-01-06 22:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:02:03] Production.ERROR: done
[2025-01-06 22:02:03] Production.INFO: Date 2024-12-17
[2025-01-06 22:02:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:02:03] Production.INFO: Date 2024-12-18
[2025-01-06 22:02:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:02:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:02:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:02:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:02:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:02:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:02:04] Production.INFO: Date 2024-12-24
[2025-01-06 22:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:02:04] Production.INFO: Date 2024-12-25
[2025-01-06 22:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:02:04] Production.INFO: Date 2024-12-26
[2025-01-06 22:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:02:04] Production.INFO: Date 2024-12-27
[2025-01-06 22:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:02:04] Production.INFO: Date 2024-12-28
[2025-01-06 22:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:02:04] Production.INFO: Date 2024-12-29
[2025-01-06 22:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:02:04] Production.INFO: Date 2024-12-30
[2025-01-06 22:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:02:04] Production.INFO: Date 2024-12-31
[2025-01-06 22:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:02:04] Production.INFO: Date 2025-01-01
[2025-01-06 22:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:02:04] Production.INFO: Date 2025-01-02
[2025-01-06 22:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:02:04] Production.INFO: Date 2025-01-03
[2025-01-06 22:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:02:04] Production.INFO: Date 2025-01-04
[2025-01-06 22:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:02:04] Production.INFO: Date 2025-01-05
[2025-01-06 22:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:02:04] Production.INFO: Date 2025-01-06
[2025-01-06 22:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:02:04] Production.INFO: Total Charge 0
[2025-01-06 22:02:04] Production.INFO: CreateAllLog End
[2025-01-06 22:02:04] Production.INFO: Account Balance End.
[2025-01-06 22:02:04] Production.ERROR: CronJobId end 12
[2025-01-06 22:02:04] Production.INFO: ==432== Releasing lock...
[2025-01-06 22:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:02:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:02:04
[end_date_ymd] => 2025-01-06 22:02:04
[RateCDR] => 1
)
[2025-01-06 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-06 19:02:04' and `end` < '2025-01-06 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-06 22:02:13] Production.ERROR: CronJobId end10
[2025-01-06 22:02:13] Production.INFO: ==430== Releasing lock...
[2025-01-06 22:02:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:02:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:02:13] Production.INFO: call_cost start
[2025-01-06 22:02:13] Production.INFO: call_cost end
[2025-01-06 22:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:02:14] Production.INFO: ==426== Releasing lock...
[2025-01-06 22:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:02:17] Production.INFO: count ==886
[2025-01-06 22:02:17] Production.ERROR: pbx CDR StartTime 2025-01-06 19:02:04 - End Time 2025-01-06 22:02:04
[2025-01-06 22:02:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190482', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190482', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190482', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190482', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:02:17] Production.INFO: ProcessCDR(1,14190482,1,1,2)
[2025-01-06 22:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190482,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:02:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190482,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:02:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190482,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:02:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190482,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:02:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190482', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:02:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190482', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:02:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:02:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:02:20] Production.INFO: ==434== Releasing lock...
[2025-01-06 22:02:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:02:20] Production.INFO: 34 MB #Memory Used#
[2025-01-07 03:03:01] Production.INFO: ==494== Lock acquired, processing the job...
[2025-01-07 03:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:03:01] Production.INFO: neon service started
[2025-01-07 03:03:01] Production.INFO: neon service started
[2025-01-07 03:03:01] Production.INFO: ==494== Releasing lock...
[2025-01-07 03:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:03:02] Production.INFO: ==497== Lock acquired, processing the job...
[2025-01-06 22:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:03:02] Production.INFO: ==499== Lock acquired, processing the job...
[2025-01-07 03:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-06 22:03:02] Production.INFO: ==497== Releasing lock...
[2025-01-06 22:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:03:02] Production.INFO: ==499== Releasing lock...
[2025-01-07 03:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:03:03] Production.INFO: ==506== Lock acquired, processing the job...
[2025-01-06 22:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:03:03] Production.INFO: ==508== Lock acquired, processing the job...
[2025-01-06 22:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:03:03] Production.INFO: ==502== Lock acquired, processing the job...
[2025-01-06 22:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:03:03] Production.INFO: Account Balance Start.
[2025-01-06 22:03:03] Production.INFO: CreateAllLog Start
[2025-01-06 22:03:03] Production.INFO: 117
[2025-01-06 22:03:03] Production.INFO: Date 2024-12-08
[2025-01-06 22:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:03:03] Production.INFO: Date 2024-12-09
[2025-01-06 22:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:03:03] Production.INFO: ==504== Lock acquired, processing the job...
[2025-01-06 22:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:03:03] Production.INFO: Date 2024-12-10
[2025-01-06 22:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:03:03] Production.INFO: Date 2024-12-11
[2025-01-06 22:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:03:03] Production.INFO: ==510== Lock acquired, processing the job...
[2025-01-06 22:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:03:03] Production.INFO: Date 2024-12-12
[2025-01-06 22:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:03:03] Production.INFO: ==512== Lock acquired, processing the job...
[2025-01-06 22:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:03:03] Production.INFO: Date 2024-12-13
[2025-01-06 22:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:03:03] Production.INFO: Date 2024-12-14
[2025-01-06 22:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:03:03] Production.INFO: Date 2024-12-15
[2025-01-06 22:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:03:03] Production.INFO: ==504== Releasing lock...
[2025-01-06 22:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:03:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:03:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:03:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:03:04] Production.ERROR: done
[2025-01-06 22:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22: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-06 22:03:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:03:04] Production.INFO: count ==21
[2025-01-06 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-06 22:03:04] Production.INFO: count ==21
[2025-01-06 22:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190486') start
[2025-01-06 22:03:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:03:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:03:04] Production.ERROR: done
[2025-01-06 22:03:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190486') end
[2025-01-06 22:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:03:04] Production.INFO: 1
[2025-01-06 22:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:03:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:03:04] Production.INFO: Date 2024-12-24
[2025-01-06 22:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:03:04] Production.INFO: ==512== Releasing lock...
[2025-01-06 22:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:03:04] Production.INFO: Date 2024-12-25
[2025-01-06 22:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:03:04] Production.INFO: Date 2024-12-26
[2025-01-06 22:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:03:04] Production.INFO: Date 2024-12-27
[2025-01-06 22:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:03:04] Production.INFO: Date 2024-12-28
[2025-01-06 22:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:03:04] Production.INFO: Date 2024-12-29
[2025-01-06 22:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:03:04] Production.INFO: Date 2024-12-30
[2025-01-06 22:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:03:04] Production.INFO: Date 2024-12-31
[2025-01-06 22:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:03:05] Production.INFO: Date 2025-01-01
[2025-01-06 22:03:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:03:05] Production.INFO: Date 2025-01-02
[2025-01-06 22:03:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:03:05] Production.INFO: Date 2025-01-03
[2025-01-06 22:03:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:03:05] Production.INFO: Date 2025-01-04
[2025-01-06 22:03:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:03:05] Production.INFO: Date 2025-01-05
[2025-01-06 22:03:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:03:05] Production.INFO: Date 2025-01-06
[2025-01-06 22:03:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:03:05] Production.INFO: Total Charge 0
[2025-01-06 22:03:05] Production.INFO: CreateAllLog End
[2025-01-06 22:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:03:05
[end_date_ymd] => 2025-01-06 22:03:05
[RateCDR] => 1
)
[2025-01-06 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-06 19:03:05' and `end` < '2025-01-06 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-06 22:03:05] Production.INFO: Account Balance End.
[2025-01-06 22:03:05] Production.ERROR: CronJobId end 12
[2025-01-06 22:03:05] Production.INFO: ==508== Releasing lock...
[2025-01-06 22:03:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:03:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:03:13] Production.ERROR: CronJobId end10
[2025-01-06 22:03:13] Production.INFO: ==506== Releasing lock...
[2025-01-06 22:03:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:03:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:03:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:03:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:03:14] Production.INFO: call_cost start
[2025-01-06 22:03:15] Production.INFO: call_cost end
[2025-01-06 22:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:03:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:03:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:03:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:03:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:03:15] Production.INFO: ==502== Releasing lock...
[2025-01-06 22:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:03:19] Production.INFO: count ==877
[2025-01-06 22:03:19] Production.ERROR: pbx CDR StartTime 2025-01-06 19:03:05 - End Time 2025-01-06 22:03:05
[2025-01-06 22:03:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190487', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190487', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190487', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190487', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:03:19] Production.INFO: ProcessCDR(1,14190487,1,1,2)
[2025-01-06 22:03:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190487,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190487,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190487,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190487,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190487', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190487', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:03:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:03:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:03:22] Production.INFO: ==510== Releasing lock...
[2025-01-06 22:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:03:22] Production.INFO: 33.75 MB #Memory Used#
[2025-01-07 03:04:02] Production.INFO: ==571== Lock acquired, processing the job...
[2025-01-07 03:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:04:02] Production.INFO: neon service started
[2025-01-07 03:04:02] Production.INFO: neon service started
[2025-01-07 03:04:02] Production.INFO: ==571== Releasing lock...
[2025-01-07 03:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:04:02] Production.INFO: ==573== Lock acquired, processing the job...
[2025-01-06 22:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:04:02] Production.INFO: ==575== Lock acquired, processing the job...
[2025-01-07 03:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:04:03] Production.INFO: ==575== Releasing lock...
[2025-01-07 03:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:04:03] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:04:03] Production.INFO: ==573== Releasing lock...
[2025-01-06 22:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:04:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 22:04:03] Production.INFO: ==583== Lock acquired, processing the job...
[2025-01-06 22:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:04:04] Production.INFO: ==585== Lock acquired, processing the job...
[2025-01-06 22:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:04:04] Production.INFO: ==581== Lock acquired, processing the job...
[2025-01-06 22:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:04:04] Production.INFO: Account Balance Start.
[2025-01-06 22:04:04] Production.INFO: CreateAllLog Start
[2025-01-06 22:04:04] Production.INFO: 117
[2025-01-06 22:04:04] Production.INFO: Date 2024-12-08
[2025-01-06 22:04:04] Production.INFO: ==579== Lock acquired, processing the job...
[2025-01-06 22:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:04:04] Production.INFO: Date 2024-12-09
[2025-01-06 22:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:04:04] Production.INFO: Date 2024-12-10
[2025-01-06 22:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:04:04] Production.INFO: ==589== Lock acquired, processing the job...
[2025-01-06 22:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:04:04] Production.INFO: ==587== Lock acquired, processing the job...
[2025-01-06 22:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:04:04] Production.INFO: Date 2024-12-11
[2025-01-06 22:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:04:04] Production.INFO: Date 2024-12-12
[2025-01-06 22:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:04:04] Production.INFO: Date 2024-12-13
[2025-01-06 22:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:04:04] Production.INFO: Date 2024-12-14
[2025-01-06 22:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:04:04] Production.INFO: count ==21
[2025-01-06 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-06 22:04:04] Production.INFO: count ==21
[2025-01-06 22:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190491') start
[2025-01-06 22:04:04] Production.INFO: ==581== Releasing lock...
[2025-01-06 22:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:04:04] Production.INFO: Date 2024-12-15
[2025-01-06 22:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:04:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:04:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:04:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:04:04] Production.ERROR: done
[2025-01-06 22:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190491') end
[2025-01-06 22:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:04:04] Production.INFO: 1
[2025-01-06 22:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:04:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:04:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:04:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:04:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:04:04] Production.INFO: ==589== Releasing lock...
[2025-01-06 22:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:04:05] Production.ERROR: done
[2025-01-06 22:04:05] Production.INFO: Date 2024-12-23
[2025-01-06 22:04:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:04:05] Production.INFO: Date 2024-12-24
[2025-01-06 22:04:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:04:05] Production.INFO: Date 2024-12-25
[2025-01-06 22:04:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:04:05] Production.INFO: Date 2024-12-26
[2025-01-06 22:04:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:04:05] Production.INFO: Date 2024-12-27
[2025-01-06 22:04:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:04:05] Production.INFO: Date 2024-12-28
[2025-01-06 22:04:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:04:05] Production.INFO: Date 2024-12-29
[2025-01-06 22:04:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:04:05] Production.INFO: Date 2024-12-30
[2025-01-06 22:04:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:04:05] Production.INFO: Date 2024-12-31
[2025-01-06 22:04:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:04:05] Production.INFO: Date 2025-01-01
[2025-01-06 22:04:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:04:05] Production.INFO: Date 2025-01-02
[2025-01-06 22:04:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:04:05] Production.INFO: Date 2025-01-03
[2025-01-06 22:04:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:04:05] Production.INFO: Date 2025-01-04
[2025-01-06 22:04:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:04:05] Production.INFO: Date 2025-01-05
[2025-01-06 22:04:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:04:05] Production.INFO: Date 2025-01-06
[2025-01-06 22:04:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:04:05] Production.INFO: Total Charge 0
[2025-01-06 22:04:05] Production.INFO: CreateAllLog End
[2025-01-06 22:04:05] Production.INFO: Account Balance End.
[2025-01-06 22:04:06] Production.ERROR: CronJobId end 12
[2025-01-06 22:04:06] Production.INFO: ==585== Releasing lock...
[2025-01-06 22:04:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:04:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:04:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:04:06
[end_date_ymd] => 2025-01-06 22:04:06
[RateCDR] => 1
)
[2025-01-06 22: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-06 19:04:06' and `end` < '2025-01-06 22: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-06 22:04:13] Production.ERROR: CronJobId end10
[2025-01-06 22:04:13] Production.INFO: ==583== Releasing lock...
[2025-01-06 22:04:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:04:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:04:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:04:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:04:14] Production.INFO: call_cost start
[2025-01-06 22:04:14] Production.INFO: call_cost end
[2025-01-06 22:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:04:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:04:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:04:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:04:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:04:15] Production.INFO: ==579== Releasing lock...
[2025-01-06 22:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:04:19] Production.INFO: count ==880
[2025-01-06 22:04:19] Production.ERROR: pbx CDR StartTime 2025-01-06 19:04:06 - End Time 2025-01-06 22:04:06
[2025-01-06 22:04:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190492', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190492', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190492', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190492', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:04:19] Production.INFO: ProcessCDR(1,14190492,1,1,2)
[2025-01-06 22:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190492,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190492,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190492,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190492,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190492', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190492', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:04:22] Production.INFO: ==587== Releasing lock...
[2025-01-06 22:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:04:22] Production.INFO: 34 MB #Memory Used#
[2025-01-07 03:05:01] Production.INFO: ==648== Lock acquired, processing the job...
[2025-01-07 03:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:05:01] Production.INFO: neon service started
[2025-01-07 03:05:01] Production.INFO: neon service started
[2025-01-07 03:05:01] Production.INFO: ==648== Releasing lock...
[2025-01-07 03:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:05:02] Production.INFO: ==650== Lock acquired, processing the job...
[2025-01-06 22:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 22:05:02] Production.INFO: ==650== Releasing lock...
[2025-01-06 22:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:05:02] Production.INFO: ==652== Lock acquired, processing the job...
[2025-01-07 03:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:05:02] Production.INFO: ==652== Releasing lock...
[2025-01-07 03:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:05:03] Production.INFO: ==665== Lock acquired, processing the job...
[2025-01-06 22:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:05:03] Production.INFO: ==674== Lock acquired, processing the job...
[2025-01-06 22:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:05:03] Production.INFO: Account Balance Start.
[2025-01-06 22:05:03] Production.INFO: CreateAllLog Start
[2025-01-06 22:05:03] Production.INFO: 117
[2025-01-06 22:05:03] Production.INFO: Date 2024-12-08
[2025-01-06 22:05:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:05:03] Production.INFO: Date 2024-12-09
[2025-01-06 22:05:03] Production.INFO: ==654== Lock acquired, processing the job...
[2025-01-06 22:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:05:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:05:03] Production.INFO: count ==21
[2025-01-06 22:05:03] Production.INFO: Date 2024-12-10
[2025-01-06 22:05:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:05:03] Production.INFO: count ==21
[2025-01-06 22:05:03] Production.INFO: ==656== Lock acquired, processing the job...
[2025-01-06 22:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:05:03] Production.INFO: Date 2024-12-11
[2025-01-06 22:05:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190494') start
[2025-01-06 22:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:05:03] Production.INFO: Date 2024-12-12
[2025-01-06 22:05:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:05:03] Production.INFO: Date 2024-12-13
[2025-01-06 22:05:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:05:03] Production.INFO: ==663== Lock acquired, processing the job...
[2025-01-06 22:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:05:03] Production.INFO: Date 2024-12-14
[2025-01-06 22:05:03] Production.INFO: ==670== Lock acquired, processing the job...
[2025-01-06 22:05:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190494') end
[2025-01-06 22:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:05:03] Production.INFO: 1
[2025-01-06 22:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:05:03] Production.INFO: Date 2024-12-15
[2025-01-06 22:05:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:05:03] Production.INFO: Date 2024-12-16
[2025-01-06 22:05:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:05:03] Production.INFO: Date 2024-12-17
[2025-01-06 22:05:03] Production.INFO: ==674== Releasing lock...
[2025-01-06 22:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:05:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:05:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:05:03] Production.INFO: Date 2024-12-18
[2025-01-06 22:05:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:05:03] Production.INFO: Date 2024-12-19
[2025-01-06 22:05:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:05:03] Production.INFO: ==656== Releasing lock...
[2025-01-06 22:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:05:03] Production.INFO: Date 2024-12-20
[2025-01-06 22:05:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:05:03] Production.INFO: Date 2024-12-21
[2025-01-06 22:05:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:05:03] Production.INFO: Date 2024-12-22
[2025-01-06 22:05:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:05:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:05:04] Production.ERROR: done
[2025-01-06 22:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:05:04] Production.INFO: Date 2024-12-24
[2025-01-06 22:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:05:04] Production.INFO: Date 2024-12-25
[2025-01-06 22:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:05:04] Production.INFO: Date 2024-12-26
[2025-01-06 22:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:05:04] Production.INFO: Date 2024-12-27
[2025-01-06 22:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:05:04] Production.ERROR: done
[2025-01-06 22:05:04] Production.INFO: Date 2024-12-28
[2025-01-06 22:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:05:04] Production.INFO: Date 2024-12-29
[2025-01-06 22:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:05:04] Production.INFO: Date 2024-12-30
[2025-01-06 22:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:05:04] Production.INFO: Date 2024-12-31
[2025-01-06 22:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:05:04] Production.INFO: Date 2025-01-01
[2025-01-06 22:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:05:04] Production.INFO: Date 2025-01-02
[2025-01-06 22:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:05:04] Production.INFO: Date 2025-01-03
[2025-01-06 22:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:05:04] Production.INFO: Date 2025-01-04
[2025-01-06 22:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:05:04] Production.INFO: Date 2025-01-05
[2025-01-06 22:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:05:04] Production.INFO: Date 2025-01-06
[2025-01-06 22:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:05:04] Production.INFO: Total Charge 0
[2025-01-06 22:05:04] Production.INFO: CreateAllLog End
[2025-01-06 22:05:04] Production.INFO: Account Balance End.
[2025-01-06 22:05:04] Production.ERROR: CronJobId end 12
[2025-01-06 22:05:04] Production.INFO: ==665== Releasing lock...
[2025-01-06 22:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:05:05
[end_date_ymd] => 2025-01-06 22:05:05
[RateCDR] => 1
)
[2025-01-06 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-06 19:05:05' and `end` < '2025-01-06 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-06 22:05:12] Production.ERROR: CronJobId end10
[2025-01-06 22:05:12] Production.INFO: ==663== Releasing lock...
[2025-01-06 22:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:05:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:05:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:05:14] Production.INFO: call_cost start
[2025-01-06 22:05:14] Production.INFO: call_cost end
[2025-01-06 22:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:05:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:05:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:05:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:05:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:05:15] Production.INFO: ==654== Releasing lock...
[2025-01-06 22:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:05:18] Production.INFO: count ==877
[2025-01-06 22:05:18] Production.ERROR: pbx CDR StartTime 2025-01-06 19:05:05 - End Time 2025-01-06 22:05:05
[2025-01-06 22:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190497', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190497', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190497', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190497', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:05:18] Production.INFO: ProcessCDR(1,14190497,1,1,2)
[2025-01-06 22:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190497,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190497,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190497,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190497,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190497', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190497', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:05:21] Production.INFO: ==670== Releasing lock...
[2025-01-06 22:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:05:21] Production.INFO: 34 MB #Memory Used#
[2025-01-07 03:06:02] Production.INFO: ==748== Lock acquired, processing the job...
[2025-01-07 03:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:06:02] Production.INFO: neon service started
[2025-01-07 03:06:02] Production.INFO: neon service started
[2025-01-07 03:06:02] Production.INFO: ==748== Releasing lock...
[2025-01-07 03:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:06:03] Production.INFO: ==753== Lock acquired, processing the job...
[2025-01-07 03:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:06:03] Production.INFO: ==753== Releasing lock...
[2025-01-07 03:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:06:03] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:06:03] Production.INFO: ==751== Lock acquired, processing the job...
[2025-01-06 22:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 22:06:03] Production.INFO: ==751== Releasing lock...
[2025-01-06 22:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 22:06:04] Production.INFO: ==762== Lock acquired, processing the job...
[2025-01-06 22:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:06:04] Production.INFO: Account Balance Start.
[2025-01-06 22:06:04] Production.INFO: CreateAllLog Start
[2025-01-06 22:06:04] Production.INFO: 117
[2025-01-06 22:06:04] Production.INFO: Date 2024-12-08
[2025-01-06 22:06:04] Production.INFO: ==766== Lock acquired, processing the job...
[2025-01-06 22:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:06:04] Production.INFO: ==756== Lock acquired, processing the job...
[2025-01-06 22:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:06:04] Production.INFO: Date 2024-12-09
[2025-01-06 22:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:06:04] Production.INFO: ==764== Lock acquired, processing the job...
[2025-01-06 22:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:06:04] Production.INFO: ==758== Lock acquired, processing the job...
[2025-01-06 22:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:06:04] Production.INFO: Date 2024-12-10
[2025-01-06 22:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:06:04] Production.INFO: count ==21
[2025-01-06 22:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:06:04] Production.INFO: ==760== Lock acquired, processing the job...
[2025-01-06 22:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 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-06 22:06:04] Production.INFO: Date 2024-12-11
[2025-01-06 22:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:06:04] Production.INFO: count ==21
[2025-01-06 22:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190499') start
[2025-01-06 22:06:04] Production.INFO: Date 2024-12-12
[2025-01-06 22:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:06:04] Production.INFO: Date 2024-12-13
[2025-01-06 22:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:06:04] Production.INFO: Date 2024-12-14
[2025-01-06 22:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190499') end
[2025-01-06 22:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:06:04] Production.INFO: 1
[2025-01-06 22:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:06:04] Production.INFO: Date 2024-12-15
[2025-01-06 22:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:06:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:06:04] Production.ERROR: done
[2025-01-06 22:06:04] Production.INFO: ==766== Releasing lock...
[2025-01-06 22:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:06:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:06:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:06:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:06:04] Production.INFO: ==758== Releasing lock...
[2025-01-06 22:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:06:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:06:05] Production.INFO: Date 2024-12-21
[2025-01-06 22:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:06:05] Production.ERROR: done
[2025-01-06 22:06:05] Production.INFO: Date 2024-12-22
[2025-01-06 22:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:06:05] Production.INFO: Date 2024-12-23
[2025-01-06 22:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:06:05] Production.INFO: Date 2024-12-24
[2025-01-06 22:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:06:05] Production.INFO: Date 2024-12-25
[2025-01-06 22:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:06:05] Production.INFO: Date 2024-12-26
[2025-01-06 22:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:06:05] Production.INFO: Date 2024-12-27
[2025-01-06 22:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:06:05] Production.INFO: Date 2024-12-28
[2025-01-06 22:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:06:05] Production.INFO: Date 2024-12-29
[2025-01-06 22:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:06:05] Production.INFO: Date 2024-12-30
[2025-01-06 22:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:06:05] Production.INFO: Date 2024-12-31
[2025-01-06 22:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:06:05] Production.INFO: Date 2025-01-01
[2025-01-06 22:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:06:05] Production.INFO: Date 2025-01-02
[2025-01-06 22:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:06:05
[end_date_ymd] => 2025-01-06 22:06:05
[RateCDR] => 1
)
[2025-01-06 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-06 19:06:05' and `end` < '2025-01-06 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-06 22:06:05] Production.INFO: Date 2025-01-03
[2025-01-06 22:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:06:05] Production.INFO: Date 2025-01-04
[2025-01-06 22:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:06:05] Production.INFO: Date 2025-01-05
[2025-01-06 22:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:06:05] Production.INFO: Date 2025-01-06
[2025-01-06 22:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:06:05] Production.INFO: Total Charge 0
[2025-01-06 22:06:05] Production.INFO: CreateAllLog End
[2025-01-06 22:06:06] Production.INFO: Account Balance End.
[2025-01-06 22:06:06] Production.ERROR: CronJobId end 12
[2025-01-06 22:06:06] Production.INFO: ==762== Releasing lock...
[2025-01-06 22:06:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:06:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:06:14] Production.ERROR: CronJobId end10
[2025-01-06 22:06:14] Production.INFO: ==760== Releasing lock...
[2025-01-06 22:06:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:06:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:06:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:06:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:06:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:06:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:06:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:06:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:06:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:06:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:06:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:06:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:06:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:06:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:06:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:06:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:06:14] Production.INFO: call_cost start
[2025-01-06 22:06:14] Production.INFO: call_cost end
[2025-01-06 22:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:06:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:06:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:06:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:06:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:06:15] Production.INFO: ==756== Releasing lock...
[2025-01-06 22:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:06:21] Production.INFO: count ==875
[2025-01-06 22:06:21] Production.ERROR: pbx CDR StartTime 2025-01-06 19:06:05 - End Time 2025-01-06 22:06:05
[2025-01-06 22:06:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190502', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190502', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190502', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190502', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:06:21] Production.INFO: ProcessCDR(1,14190502,1,1,2)
[2025-01-06 22:06:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190502,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:06:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190502,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:06:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190502,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:06:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190502,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:06:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190502', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:06:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190502', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:06:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:06:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:06:24] Production.INFO: ==764== Releasing lock...
[2025-01-06 22:06:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:06:24] Production.INFO: 33.75 MB #Memory Used#
[2025-01-07 03:07:02] Production.INFO: ==820== Lock acquired, processing the job...
[2025-01-07 03:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:07:02] Production.INFO: neon service started
[2025-01-07 03:07:02] Production.INFO: neon service started
[2025-01-07 03:07:02] Production.INFO: ==820== Releasing lock...
[2025-01-07 03:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:07:02] Production.INFO: ==824== Lock acquired, processing the job...
[2025-01-07 03:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:07:02] Production.INFO: ==824== Releasing lock...
[2025-01-07 03:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:07:02] Production.INFO: ==822== Lock acquired, processing the job...
[2025-01-06 22:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 22:07:02] Production.INFO: ==822== Releasing lock...
[2025-01-06 22:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 22:07:03] Production.INFO: ==833== Lock acquired, processing the job...
[2025-01-06 22:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:07:03] Production.INFO: ==835== Lock acquired, processing the job...
[2025-01-06 22:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:07:03] Production.INFO: ==827== Lock acquired, processing the job...
[2025-01-06 22:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:07:03] Production.INFO: Account Balance Start.
[2025-01-06 22:07:03] Production.INFO: CreateAllLog Start
[2025-01-06 22:07:03] Production.INFO: 117
[2025-01-06 22:07:03] Production.INFO: Date 2024-12-08
[2025-01-06 22:07:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:07:03] Production.INFO: Date 2024-12-09
[2025-01-06 22:07:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:07:03] Production.INFO: Date 2024-12-10
[2025-01-06 22:07:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:07:03] Production.INFO: ==829== Lock acquired, processing the job...
[2025-01-06 22:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:07:03] Production.INFO: Date 2024-12-11
[2025-01-06 22:07:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:07:03] Production.INFO: ==831== Lock acquired, processing the job...
[2025-01-06 22:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:07:04] Production.INFO: ==837== Lock acquired, processing the job...
[2025-01-06 22:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:07:04] Production.INFO: Date 2024-12-12
[2025-01-06 22:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:07:04] Production.INFO: Date 2024-12-13
[2025-01-06 22:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:07:04] Production.INFO: Date 2024-12-14
[2025-01-06 22:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:07:04] Production.ERROR: done
[2025-01-06 22:07:04] Production.INFO: Date 2024-12-15
[2025-01-06 22:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 22:07:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:07:04] Production.INFO: count ==21
[2025-01-06 22:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 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-06 22:07:04] Production.INFO: count ==21
[2025-01-06 22:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:07:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:07:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:07:04] Production.ERROR: done
[2025-01-06 22:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190506') start
[2025-01-06 22:07:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:07:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:07:04] Production.INFO: ==829== Releasing lock...
[2025-01-06 22:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190506') end
[2025-01-06 22:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:07:04] Production.INFO: 1
[2025-01-06 22:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:07:04] Production.INFO: ==837== Releasing lock...
[2025-01-06 22:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:07:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:07:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:07:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:07:04] Production.INFO: Date 2024-12-24
[2025-01-06 22:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:07:04] Production.INFO: Date 2024-12-25
[2025-01-06 22:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:07:04] Production.INFO: Date 2024-12-26
[2025-01-06 22:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:07:04] Production.INFO: Date 2024-12-27
[2025-01-06 22:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:07:04] Production.INFO: Date 2024-12-28
[2025-01-06 22:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:07:04] Production.INFO: Date 2024-12-29
[2025-01-06 22:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:07:04] Production.INFO: Date 2024-12-30
[2025-01-06 22:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:07:04] Production.INFO: Date 2024-12-31
[2025-01-06 22:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:07:04] Production.INFO: Date 2025-01-01
[2025-01-06 22:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:07:04] Production.INFO: Date 2025-01-02
[2025-01-06 22:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:07:04] Production.INFO: Date 2025-01-03
[2025-01-06 22:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:07:04] Production.INFO: Date 2025-01-04
[2025-01-06 22:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:07:04] Production.INFO: Date 2025-01-05
[2025-01-06 22:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:07:04] Production.INFO: Date 2025-01-06
[2025-01-06 22:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:07:05] Production.INFO: Total Charge 0
[2025-01-06 22:07:05] Production.INFO: CreateAllLog End
[2025-01-06 22:07:05] Production.INFO: Account Balance End.
[2025-01-06 22:07:05] Production.ERROR: CronJobId end 12
[2025-01-06 22:07:05] Production.INFO: ==833== Releasing lock...
[2025-01-06 22:07:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:07:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:07:05
[end_date_ymd] => 2025-01-06 22:07:05
[RateCDR] => 1
)
[2025-01-06 22:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 19:07:05' and `end` < '2025-01-06 22:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 22:07:13] Production.ERROR: CronJobId end10
[2025-01-06 22:07:13] Production.INFO: ==831== Releasing lock...
[2025-01-06 22:07:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:07:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:07:14] Production.INFO: call_cost start
[2025-01-06 22:07:14] Production.INFO: call_cost end
[2025-01-06 22:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:07:15] Production.INFO: ==827== Releasing lock...
[2025-01-06 22:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:07:18] Production.INFO: count ==862
[2025-01-06 22:07:18] Production.ERROR: pbx CDR StartTime 2025-01-06 19:07:05 - End Time 2025-01-06 22:07:05
[2025-01-06 22:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190507', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190507', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190507', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190507', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:07:18] Production.INFO: ProcessCDR(1,14190507,1,1,2)
[2025-01-06 22:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190507,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190507,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190507,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190507,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190507', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190507', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:07:21] Production.INFO: ==835== Releasing lock...
[2025-01-06 22:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:07:21] Production.INFO: 33.75 MB #Memory Used#
[2025-01-07 03:08:01] Production.INFO: ==897== Lock acquired, processing the job...
[2025-01-07 03:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:08:01] Production.INFO: neon service started
[2025-01-07 03:08:01] Production.INFO: neon service started
[2025-01-07 03:08:01] Production.INFO: ==897== Releasing lock...
[2025-01-07 03:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:08:02] Production.INFO: ==899== Lock acquired, processing the job...
[2025-01-06 22:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:08:02] Production.INFO: ==901== Lock acquired, processing the job...
[2025-01-07 03:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:08:02] Production.INFO: ==901== Releasing lock...
[2025-01-07 03:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:08:02] Production.INFO: ==899== Releasing lock...
[2025-01-06 22:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 22:08:03] Production.INFO: ==906== Lock acquired, processing the job...
[2025-01-06 22:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:08:03] Production.INFO: ==904== Lock acquired, processing the job...
[2025-01-06 22:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:08:03] Production.INFO: ==912== Lock acquired, processing the job...
[2025-01-06 22:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:08:03] Production.INFO: ==908== Lock acquired, processing the job...
[2025-01-06 22:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:08:03] Production.INFO: ==910== Lock acquired, processing the job...
[2025-01-06 22:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:08:03] Production.INFO: Account Balance Start.
[2025-01-06 22:08:03] Production.INFO: CreateAllLog Start
[2025-01-06 22:08:03] Production.INFO: 117
[2025-01-06 22:08:03] Production.INFO: Date 2024-12-08
[2025-01-06 22:08:03] Production.INFO: ==914== Lock acquired, processing the job...
[2025-01-06 22:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:08:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:08:03] Production.INFO: Date 2024-12-09
[2025-01-06 22:08:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:08:03] Production.INFO: Date 2024-12-10
[2025-01-06 22:08:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:08:03] Production.INFO: ==906== Releasing lock...
[2025-01-06 22:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 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-06 22:08:03] Production.INFO: Date 2024-12-11
[2025-01-06 22:08:03] Production.INFO: count ==21
[2025-01-06 22:08:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:08:04] Production.INFO: count ==21
[2025-01-06 22:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190511') start
[2025-01-06 22:08:04] Production.ERROR: done
[2025-01-06 22:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:08:04] Production.INFO: Date 2024-12-12
[2025-01-06 22:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:08:04] Production.INFO: Date 2024-12-13
[2025-01-06 22:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:08:04] Production.INFO: Date 2024-12-14
[2025-01-06 22:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:08:04] Production.INFO: Date 2024-12-15
[2025-01-06 22:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190511') end
[2025-01-06 22:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:08:04] Production.INFO: 1
[2025-01-06 22:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:08:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:08:04] Production.ERROR: done
[2025-01-06 22:08:04] Production.INFO: ==914== Releasing lock...
[2025-01-06 22:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:08:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:08:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:08:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:08:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:08:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:08:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:08:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:08:04] Production.INFO: Date 2024-12-24
[2025-01-06 22:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:08:04] Production.INFO: Date 2024-12-25
[2025-01-06 22:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:08:04] Production.INFO: Date 2024-12-26
[2025-01-06 22:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:08:04] Production.INFO: Date 2024-12-27
[2025-01-06 22:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:08:04] Production.INFO: Date 2024-12-28
[2025-01-06 22:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:08:04] Production.INFO: Date 2024-12-29
[2025-01-06 22:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:08:04] Production.INFO: Date 2024-12-30
[2025-01-06 22:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:08:04] Production.INFO: Date 2024-12-31
[2025-01-06 22:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:08:04] Production.INFO: Date 2025-01-01
[2025-01-06 22:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:08:04] Production.INFO: Date 2025-01-02
[2025-01-06 22:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:08:05] Production.INFO: Date 2025-01-03
[2025-01-06 22:08:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:08:05] Production.INFO: Date 2025-01-04
[2025-01-06 22:08:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:08:05] Production.INFO: Date 2025-01-05
[2025-01-06 22:08:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:08:05] Production.INFO: Date 2025-01-06
[2025-01-06 22:08:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:08:05] Production.INFO: Total Charge 0
[2025-01-06 22:08:05] Production.INFO: CreateAllLog End
[2025-01-06 22:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:08:05
[end_date_ymd] => 2025-01-06 22:08:05
[RateCDR] => 1
)
[2025-01-06 22:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 19:08:05' and `end` < '2025-01-06 22:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 22:08:05] Production.INFO: Account Balance End.
[2025-01-06 22:08:05] Production.ERROR: CronJobId end 12
[2025-01-06 22:08:05] Production.INFO: ==910== Releasing lock...
[2025-01-06 22:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:08:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:08:12] Production.ERROR: CronJobId end10
[2025-01-06 22:08:12] Production.INFO: ==908== Releasing lock...
[2025-01-06 22:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:08:14] Production.INFO: call_cost start
[2025-01-06 22:08:14] Production.INFO: call_cost end
[2025-01-06 22:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:08:14] Production.INFO: ==904== Releasing lock...
[2025-01-06 22:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:08:18] Production.INFO: count ==860
[2025-01-06 22:08:18] Production.ERROR: pbx CDR StartTime 2025-01-06 19:08:05 - End Time 2025-01-06 22:08:05
[2025-01-06 22:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190512', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190512', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190512', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190512', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:08:18] Production.INFO: ProcessCDR(1,14190512,1,1,2)
[2025-01-06 22:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190512,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190512,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190512,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190512,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190512', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190512', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:08:21] Production.INFO: ==912== Releasing lock...
[2025-01-06 22:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:08:21] Production.INFO: 33.75 MB #Memory Used#
[2025-01-07 03:09:01] Production.INFO: ==970== Lock acquired, processing the job...
[2025-01-07 03:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:09:01] Production.INFO: neon service started
[2025-01-07 03:09:01] Production.INFO: neon service started
[2025-01-07 03:09:01] Production.INFO: ==970== Releasing lock...
[2025-01-07 03:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:09:02] Production.INFO: ==972== Lock acquired, processing the job...
[2025-01-06 22:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 22:09:02] Production.INFO: ==972== Releasing lock...
[2025-01-06 22:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:09:02] Production.INFO: ==974== Lock acquired, processing the job...
[2025-01-07 03:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:09:02] Production.INFO: ==974== Releasing lock...
[2025-01-07 03:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:09:03] Production.INFO: ==979== Lock acquired, processing the job...
[2025-01-06 22:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:09:03] Production.INFO: ==983== Lock acquired, processing the job...
[2025-01-06 22:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:09:03] Production.INFO: ==981== Lock acquired, processing the job...
[2025-01-06 22:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:09:03] Production.INFO: Account Balance Start.
[2025-01-06 22:09:03] Production.INFO: CreateAllLog Start
[2025-01-06 22:09:03] Production.INFO: 117
[2025-01-06 22:09:03] Production.INFO: Date 2024-12-08
[2025-01-06 22:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:09:03] Production.INFO: Date 2024-12-09
[2025-01-06 22:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:09:03] Production.INFO: ==979== Releasing lock...
[2025-01-06 22:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:09:03] Production.INFO: Date 2024-12-10
[2025-01-06 22:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:09:03] Production.INFO: Date 2024-12-11
[2025-01-06 22:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:09:03] Production.INFO: Date 2024-12-12
[2025-01-06 22:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:09:03] Production.INFO: Date 2024-12-13
[2025-01-06 22:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:09:03] Production.INFO: ==977== Lock acquired, processing the job...
[2025-01-06 22:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:09:03] Production.INFO: Date 2024-12-14
[2025-01-06 22:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:09:03] Production.INFO: Date 2024-12-15
[2025-01-06 22:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:09:03] Production.INFO: ==985== Lock acquired, processing the job...
[2025-01-06 22:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:09:03] Production.INFO: Date 2024-12-16
[2025-01-06 22:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:09:03] Production.INFO: ==987== Lock acquired, processing the job...
[2025-01-06 22:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:09:03] Production.INFO: Date 2024-12-17
[2025-01-06 22:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:09:03] Production.INFO: Date 2024-12-18
[2025-01-06 22:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:09:03] Production.INFO: Date 2024-12-19
[2025-01-06 22:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:09:03] Production.INFO: Date 2024-12-20
[2025-01-06 22:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:09:03] Production.INFO: Date 2024-12-21
[2025-01-06 22:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:09:03] Production.INFO: Date 2024-12-22
[2025-01-06 22:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 22:09:03] Production.INFO: Date 2024-12-23
[2025-01-06 22:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:09:03] Production.INFO: count ==21
[2025-01-06 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-06 22:09:03] Production.INFO: count ==21
[2025-01-06 22:09:04] Production.INFO: Date 2024-12-24
[2025-01-06 22:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190516') start
[2025-01-06 22:09:04] Production.INFO: Date 2024-12-25
[2025-01-06 22:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:09:04] Production.INFO: Date 2024-12-26
[2025-01-06 22:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:09:04] Production.INFO: Date 2024-12-27
[2025-01-06 22:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:09:04] Production.ERROR: done
[2025-01-06 22:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:09:04] Production.INFO: Date 2024-12-28
[2025-01-06 22:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190516') end
[2025-01-06 22:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:09:04] Production.INFO: 1
[2025-01-06 22:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:09:04] Production.INFO: ==987== Releasing lock...
[2025-01-06 22:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:09:04] Production.ERROR: done
[2025-01-06 22:09:04] Production.INFO: Date 2024-12-29
[2025-01-06 22:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:09:04] Production.INFO: Date 2024-12-30
[2025-01-06 22:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:09:04] Production.INFO: Date 2024-12-31
[2025-01-06 22:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:09:04] Production.INFO: Date 2025-01-01
[2025-01-06 22:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:09:04] Production.INFO: Date 2025-01-02
[2025-01-06 22:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:09:04] Production.INFO: Date 2025-01-03
[2025-01-06 22:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:09:04] Production.INFO: Date 2025-01-04
[2025-01-06 22:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:09:04] Production.INFO: Date 2025-01-05
[2025-01-06 22:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:09:04] Production.INFO: Date 2025-01-06
[2025-01-06 22:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:09:04] Production.INFO: Total Charge 0
[2025-01-06 22:09:04] Production.INFO: CreateAllLog End
[2025-01-06 22:09:04] Production.INFO: Account Balance End.
[2025-01-06 22:09:04] Production.ERROR: CronJobId end 12
[2025-01-06 22:09:04] Production.INFO: ==983== Releasing lock...
[2025-01-06 22:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:09:05
[end_date_ymd] => 2025-01-06 22:09:05
[RateCDR] => 1
)
[2025-01-06 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-06 19:09:05' and `end` < '2025-01-06 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-06 22:09:12] Production.ERROR: CronJobId end10
[2025-01-06 22:09:12] Production.INFO: ==981== Releasing lock...
[2025-01-06 22:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:09:12] Production.INFO: call_cost start
[2025-01-06 22:09:12] Production.INFO: call_cost end
[2025-01-06 22:09:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:09:13] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:09:13] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:09:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:09:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:09:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:09:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:09:13] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:09:13] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:09:13] Production.INFO: ==977== Releasing lock...
[2025-01-06 22:09:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:09:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:09:18] Production.INFO: count ==858
[2025-01-06 22:09:18] Production.ERROR: pbx CDR StartTime 2025-01-06 19:09:05 - End Time 2025-01-06 22:09:05
[2025-01-06 22:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190517', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190517', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190517', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190517', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:09:18] Production.INFO: ProcessCDR(1,14190517,1,1,2)
[2025-01-06 22:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190517,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190517,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190517,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190517,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190517', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190517', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:09:21] Production.INFO: ==985== Releasing lock...
[2025-01-06 22:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:09:21] Production.INFO: 33.75 MB #Memory Used#
[2025-01-07 03:10:02] Production.INFO: ==1041== Lock acquired, processing the job...
[2025-01-07 03:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:10:02] Production.INFO: neon service started
[2025-01-07 03:10:02] Production.INFO: neon service started
[2025-01-07 03:10:02] Production.INFO: ==1041== Releasing lock...
[2025-01-07 03:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:10:02] Production.INFO: ==1043== Lock acquired, processing the job...
[2025-01-06 22:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 22:10:03] Production.INFO: ==1043== Releasing lock...
[2025-01-06 22:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:10:03] Production.INFO: ==1045== Lock acquired, processing the job...
[2025-01-07 03:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:10:03] Production.INFO: ==1045== Releasing lock...
[2025-01-07 03:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:10:03] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:10:04] Production.INFO: ==1055== Lock acquired, processing the job...
[2025-01-06 22:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:10:04] Production.INFO: ==1047== Lock acquired, processing the job...
[2025-01-06 22:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-06 22:10:04] Production.INFO: Account Balance Start.
[2025-01-06 22:10:04] Production.INFO: CreateAllLog Start
[2025-01-06 22:10:04] Production.INFO: 117
[2025-01-06 22:10:04] Production.INFO: Date 2024-12-08
[2025-01-06 22:10:04] Production.INFO: ==1049== Lock acquired, processing the job...
[2025-01-06 22:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:10:04] Production.INFO: ==1059== Lock acquired, processing the job...
[2025-01-06 22:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-06 22:10:04] Production.INFO: Date 2024-12-09
[2025-01-06 22:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-06 22:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 22:10:04] Production.ERROR: CronJob PID - 1055
[2025-01-06 22:10:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-06 22:10:04] Production.ERROR: CronJob ID - 12
[2025-01-06 22:10:04] Production.ERROR: CronJob Last Run Time 2025-01-06 22:10:00
[2025-01-06 22:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 22:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 22:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-06 22:10:04] Production.INFO: ==1047== Releasing lock...
[2025-01-06 22:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-06 22:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-06 22:10:04] Production.INFO: Date 2024-12-10
[2025-01-06 22:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:10:04] Production.INFO: ==1051== Lock acquired, processing the job...
[2025-01-06 22:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:10:04] Production.INFO: Date 2024-12-11
[2025-01-06 22:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:10:04] Production.INFO: ==1062== Lock acquired, processing the job...
[2025-01-06 22:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:10:04] Production.INFO: ==1053== Lock acquired, processing the job...
[2025-01-06 22:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:10:04] Production.INFO: Date 2024-12-12
[2025-01-06 22:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:10:04] Production.INFO: ==1057== Lock acquired, processing the job...
[2025-01-06 22:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:10:04] Production.INFO: Date 2024-12-13
[2025-01-06 22:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:10:04] Production.INFO: Date 2024-12-14
[2025-01-06 22:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:10:04] Production.INFO: Date 2024-12-15
[2025-01-06 22:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 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-06 22:10:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:10:04] Production.INFO: count ==21
[2025-01-06 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-06 22:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:10:04] Production.INFO: count ==21
[2025-01-06 22:10:04] Production.ERROR: done
[2025-01-06 22:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190521') start
[2025-01-06 22:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:10:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-06 22:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14190522', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) start
[2025-01-06 22:10:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190521') end
[2025-01-06 22:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:10:04] Production.INFO: 1
[2025-01-06 22:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:10:04] Production.ERROR: done
[2025-01-06 22:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:10:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:10:04] Production.INFO: ==1051== Releasing lock...
[2025-01-06 22:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:10:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:10:05] Production.INFO: ==1062== Releasing lock...
[2025-01-06 22:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:10:05] Production.ERROR: done
[2025-01-06 22:10:05] Production.INFO: Date 2024-12-21
[2025-01-06 22:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:10:05] Production.INFO: Date 2024-12-22
[2025-01-06 22:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:10:05] Production.INFO: Date 2024-12-23
[2025-01-06 22:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:10:05] Production.INFO: Date 2024-12-24
[2025-01-06 22:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:10:05] Production.INFO: Date 2024-12-25
[2025-01-06 22:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:10:05] Production.INFO: Date 2024-12-26
[2025-01-06 22:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:10:05] Production.INFO: Date 2024-12-27
[2025-01-06 22:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:10:05] Production.INFO: Date 2024-12-28
[2025-01-06 22:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:10:05] Production.INFO: Date 2024-12-29
[2025-01-06 22:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:10:05] Production.INFO: Date 2024-12-30
[2025-01-06 22:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:10:05] Production.INFO: Date 2024-12-31
[2025-01-06 22:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:10:05] Production.INFO: Date 2025-01-01
[2025-01-06 22:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:10:05] Production.INFO: Date 2025-01-02
[2025-01-06 22:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:10:05] Production.INFO: Date 2025-01-03
[2025-01-06 22:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:10:05] Production.INFO: Date 2025-01-04
[2025-01-06 22:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:10:05] Production.INFO: Date 2025-01-05
[2025-01-06 22:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:10:05] Production.INFO: Date 2025-01-06
[2025-01-06 22:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:10:05] Production.INFO: Total Charge 0
[2025-01-06 22:10:05] Production.INFO: CreateAllLog End
[2025-01-06 22:10:05] Production.INFO: Account Balance End.
[2025-01-06 22:10:05] Production.ERROR: CronJobId end 12
[2025-01-06 22:10:05] Production.INFO: ==1055== Releasing lock...
[2025-01-06 22:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:10:06
[end_date_ymd] => 2025-01-06 22:10:06
[RateCDR] => 1
)
[2025-01-06 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-06 19:10:06' and `end` < '2025-01-06 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-06 22:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14190522', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) end
[2025-01-06 22:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-06 22:10:09] Production.INFO: ProcessCDR(1,14190522,1,1,2)
[2025-01-06 22:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14190522,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14190522,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:10:09] Production.INFO: ==1059== Releasing lock...
[2025-01-06 22:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-06 22:10:09] Production.INFO: 26 MB #Memory Used#
[2025-01-06 22:10:13] Production.ERROR: CronJobId end10
[2025-01-06 22:10:13] Production.INFO: ==1053== Releasing lock...
[2025-01-06 22:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:10:15] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:10:15] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:10:15] Production.INFO: call_cost start
[2025-01-06 22:10:15] Production.INFO: call_cost end
[2025-01-06 22:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:10:16] Production.INFO: ==1049== Releasing lock...
[2025-01-06 22:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:10:19] Production.INFO: count ==857
[2025-01-06 22:10:19] Production.ERROR: pbx CDR StartTime 2025-01-06 19:10:06 - End Time 2025-01-06 22:10:06
[2025-01-06 22:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190523', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190523', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190523', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190523', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:10:19] Production.INFO: ProcessCDR(1,14190523,1,1,2)
[2025-01-06 22:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190523,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190523,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190523,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190523,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190523', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190523', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:10:22] Production.INFO: ==1057== Releasing lock...
[2025-01-06 22:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:10:22] Production.INFO: 33.75 MB #Memory Used#
[2025-01-07 03:11:01] Production.INFO: ==1118== Lock acquired, processing the job...
[2025-01-07 03:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:11:01] Production.INFO: neon service started
[2025-01-07 03:11:01] Production.INFO: neon service started
[2025-01-07 03:11:01] Production.INFO: ==1118== Releasing lock...
[2025-01-07 03:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:11:02] Production.INFO: ==1120== Lock acquired, processing the job...
[2025-01-06 22:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 22:11:02] Production.INFO: ==1120== Releasing lock...
[2025-01-06 22:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:11:02] Production.INFO: ==1123== Lock acquired, processing the job...
[2025-01-07 03:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:11:02] Production.INFO: ==1123== Releasing lock...
[2025-01-07 03:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:11:03] Production.INFO: ==1133== Lock acquired, processing the job...
[2025-01-06 22:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:11:03] Production.INFO: ==1135== Lock acquired, processing the job...
[2025-01-06 22:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:11:03] Production.INFO: Account Balance Start.
[2025-01-06 22:11:03] Production.INFO: CreateAllLog Start
[2025-01-06 22:11:03] Production.INFO: 117
[2025-01-06 22:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:11:03] Production.INFO: Date 2024-12-08
[2025-01-06 22:11:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:11:03] Production.INFO: ==1125== Lock acquired, processing the job...
[2025-01-06 22:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:11:03] Production.INFO: Date 2024-12-09
[2025-01-06 22:11:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:11:03] Production.INFO: ==1129== Lock acquired, processing the job...
[2025-01-06 22:11:03] Production.INFO: ==1127== Lock acquired, processing the job...
[2025-01-06 22:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:11:03] Production.INFO: Date 2024-12-10
[2025-01-06 22:11:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:11:03] Production.INFO: Date 2024-12-11
[2025-01-06 22:11:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:11:03] Production.INFO: Date 2024-12-12
[2025-01-06 22:11:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:11:03] Production.INFO: ==1138== Lock acquired, processing the job...
[2025-01-06 22:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:11:03] Production.INFO: Date 2024-12-13
[2025-01-06 22:11:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:11:03] Production.INFO: Date 2024-12-14
[2025-01-06 22:11:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:11:03] Production.ERROR: done
[2025-01-06 22:11:03] Production.INFO: Date 2024-12-15
[2025-01-06 22:11:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:11:03] Production.INFO: Date 2024-12-16
[2025-01-06 22:11:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 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-06 22:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:11:03] Production.INFO: count ==21
[2025-01-06 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-06 22:11:03] Production.INFO: count ==21
[2025-01-06 22:11:03] Production.INFO: Date 2024-12-17
[2025-01-06 22:11:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190527') start
[2025-01-06 22:11:03] Production.ERROR: done
[2025-01-06 22:11:03] Production.INFO: ==1127== Releasing lock...
[2025-01-06 22:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:11:03] Production.INFO: Date 2024-12-18
[2025-01-06 22:11:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:11:03] Production.INFO: Date 2024-12-19
[2025-01-06 22:11:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:11:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190527') end
[2025-01-06 22:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:11:04] Production.INFO: 1
[2025-01-06 22:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:11:04] Production.INFO: ==1138== Releasing lock...
[2025-01-06 22:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:11:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:11:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:11:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:11:04] Production.INFO: Date 2024-12-24
[2025-01-06 22:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:11:04] Production.INFO: Date 2024-12-25
[2025-01-06 22:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:11:04] Production.INFO: Date 2024-12-26
[2025-01-06 22:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:11:04] Production.INFO: Date 2024-12-27
[2025-01-06 22:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:11:04] Production.INFO: Date 2024-12-28
[2025-01-06 22:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:11:04] Production.INFO: Date 2024-12-29
[2025-01-06 22:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:11:04] Production.INFO: Date 2024-12-30
[2025-01-06 22:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:11:04] Production.INFO: Date 2024-12-31
[2025-01-06 22:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:11:04] Production.INFO: Date 2025-01-01
[2025-01-06 22:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:11:04] Production.INFO: Date 2025-01-02
[2025-01-06 22:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:11:04] Production.INFO: Date 2025-01-03
[2025-01-06 22:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:11:04] Production.INFO: Date 2025-01-04
[2025-01-06 22:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:11:04] Production.INFO: Date 2025-01-05
[2025-01-06 22:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:11:04] Production.INFO: Date 2025-01-06
[2025-01-06 22:11:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:11:04] Production.INFO: Total Charge 0
[2025-01-06 22:11:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:11:04
[end_date_ymd] => 2025-01-06 22:11:04
[RateCDR] => 1
)
[2025-01-06 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-06 19:11:04' and `end` < '2025-01-06 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-06 22:11:04] Production.INFO: CreateAllLog End
[2025-01-06 22:11:04] Production.INFO: Account Balance End.
[2025-01-06 22:11:04] Production.ERROR: CronJobId end 12
[2025-01-06 22:11:04] Production.INFO: ==1133== Releasing lock...
[2025-01-06 22:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:11:11] Production.ERROR: CronJobId end10
[2025-01-06 22:11:11] Production.INFO: ==1129== Releasing lock...
[2025-01-06 22:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:11:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:11:12] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:11:12] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:11:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:11:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:11:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:11:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:11:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:11:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:11:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:11:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:11:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:11:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:11:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:11:12] Production.INFO: call_cost start
[2025-01-06 22:11:12] Production.INFO: call_cost end
[2025-01-06 22:11:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:11:13] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:11:13] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:11:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:11:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:11:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:11:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:11:13] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:11:13] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:11:13] Production.INFO: ==1125== Releasing lock...
[2025-01-06 22:11:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:11:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:11:18] Production.INFO: count ==819
[2025-01-06 22:11:18] Production.ERROR: pbx CDR StartTime 2025-01-06 19:11:04 - End Time 2025-01-06 22:11:04
[2025-01-06 22:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190528', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190528', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190528', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190528', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:11:18] Production.INFO: ProcessCDR(1,14190528,1,1,2)
[2025-01-06 22:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190528,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190528,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190528,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190528,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190528', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190528', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:11:22] Production.INFO: ==1135== Releasing lock...
[2025-01-06 22:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:11:22] Production.INFO: 33.5 MB #Memory Used#
[2025-01-07 03:12:02] Production.INFO: ==1196== Lock acquired, processing the job...
[2025-01-07 03:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:12:02] Production.INFO: neon service started
[2025-01-07 03:12:02] Production.INFO: neon service started
[2025-01-07 03:12:02] Production.INFO: ==1196== Releasing lock...
[2025-01-07 03:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:12:02] Production.INFO: ==1200== Lock acquired, processing the job...
[2025-01-07 03:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:12:02] Production.INFO: ==1200== Releasing lock...
[2025-01-07 03:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:12:02] Production.INFO: ==1198== Lock acquired, processing the job...
[2025-01-06 22:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 22:12:02] Production.INFO: ==1198== Releasing lock...
[2025-01-06 22:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 22:12:03] Production.INFO: ==1203== Lock acquired, processing the job...
[2025-01-06 22:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:12:03] Production.INFO: ==1205== Lock acquired, processing the job...
[2025-01-06 22:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:12:03] Production.INFO: ==1211== Lock acquired, processing the job...
[2025-01-06 22:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:12:04] Production.INFO: ==1209== Lock acquired, processing the job...
[2025-01-06 22:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:12:04] Production.INFO: ==1207== Lock acquired, processing the job...
[2025-01-06 22:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:12:04] Production.INFO: ==1213== Lock acquired, processing the job...
[2025-01-06 22:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:12:04] Production.INFO: Account Balance Start.
[2025-01-06 22:12:04] Production.INFO: CreateAllLog Start
[2025-01-06 22:12:04] Production.INFO: ==1205== Releasing lock...
[2025-01-06 22:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:12:04] Production.INFO: 117
[2025-01-06 22:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:12:04] Production.INFO: Date 2024-12-08
[2025-01-06 22:12:04] Production.ERROR: done
[2025-01-06 22:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:12:04] Production.INFO: count ==21
[2025-01-06 22:12:04] Production.INFO: Date 2024-12-09
[2025-01-06 22:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:12:04] Production.INFO: count ==21
[2025-01-06 22:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190532') start
[2025-01-06 22:12:04] Production.ERROR: done
[2025-01-06 22:12:04] Production.INFO: Date 2024-12-10
[2025-01-06 22:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190532') end
[2025-01-06 22:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:12:04] Production.INFO: 1
[2025-01-06 22:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:12:04] Production.INFO: ==1213== Releasing lock...
[2025-01-06 22:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:12:04] Production.INFO: Date 2024-12-11
[2025-01-06 22:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:12:04] Production.INFO: Date 2024-12-12
[2025-01-06 22:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:12:04] Production.INFO: Date 2024-12-13
[2025-01-06 22:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:12:04] Production.INFO: Date 2024-12-14
[2025-01-06 22:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:12:04] Production.INFO: Date 2024-12-15
[2025-01-06 22:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:12:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:12:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:12:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:12:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:12:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:12:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:12:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:12:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:12:05] Production.INFO: Date 2024-12-24
[2025-01-06 22:12:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:12:05] Production.INFO: Date 2024-12-25
[2025-01-06 22:12:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:12:05] Production.INFO: Date 2024-12-26
[2025-01-06 22:12:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:12:05] Production.INFO: Date 2024-12-27
[2025-01-06 22:12:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:12:05] Production.INFO: Date 2024-12-28
[2025-01-06 22:12:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:12:05] Production.INFO: Date 2024-12-29
[2025-01-06 22:12:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:12:05] Production.INFO: Date 2024-12-30
[2025-01-06 22:12:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:12:05] Production.INFO: Date 2024-12-31
[2025-01-06 22:12:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:12:05] Production.INFO: Date 2025-01-01
[2025-01-06 22:12:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:12:05] Production.INFO: Date 2025-01-02
[2025-01-06 22:12:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:12:05] Production.INFO: Date 2025-01-03
[2025-01-06 22:12:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:12:05] Production.INFO: Date 2025-01-04
[2025-01-06 22:12:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:12:05] Production.INFO: Date 2025-01-05
[2025-01-06 22:12:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:12:05] Production.INFO: Date 2025-01-06
[2025-01-06 22:12:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:12:05] Production.INFO: Total Charge 0
[2025-01-06 22:12:05] Production.INFO: CreateAllLog End
[2025-01-06 22:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:12:05
[end_date_ymd] => 2025-01-06 22:12:05
[RateCDR] => 1
)
[2025-01-06 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-06 19:12:05' and `end` < '2025-01-06 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-06 22:12:05] Production.INFO: Account Balance End.
[2025-01-06 22:12:05] Production.ERROR: CronJobId end 12
[2025-01-06 22:12:05] Production.INFO: ==1209== Releasing lock...
[2025-01-06 22:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:12:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:12:13] Production.ERROR: CronJobId end10
[2025-01-06 22:12:13] Production.INFO: ==1207== Releasing lock...
[2025-01-06 22:12:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:12:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:12:13] Production.INFO: call_cost start
[2025-01-06 22:12:13] Production.INFO: call_cost end
[2025-01-06 22:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:12:14] Production.INFO: ==1203== Releasing lock...
[2025-01-06 22:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:12:18] Production.INFO: count ==819
[2025-01-06 22:12:18] Production.ERROR: pbx CDR StartTime 2025-01-06 19:12:05 - End Time 2025-01-06 22:12:05
[2025-01-06 22:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190533', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190533', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190533', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190533', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:12:18] Production.INFO: ProcessCDR(1,14190533,1,1,2)
[2025-01-06 22:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190533,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190533,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190533,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190533,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190533', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190533', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:12:21] Production.INFO: ==1211== Releasing lock...
[2025-01-06 22:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:12:21] Production.INFO: 33.5 MB #Memory Used#
[2025-01-07 03:13:01] Production.INFO: ==1280== Lock acquired, processing the job...
[2025-01-07 03:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:13:01] Production.INFO: neon service started
[2025-01-07 03:13:01] Production.INFO: neon service started
[2025-01-07 03:13:01] Production.INFO: ==1280== Releasing lock...
[2025-01-07 03:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:13:01] Production.INFO: ==1282== Lock acquired, processing the job...
[2025-01-06 22:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 22:13:02] Production.INFO: ==1282== Releasing lock...
[2025-01-06 22:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:13:02] Production.INFO: ==1284== Lock acquired, processing the job...
[2025-01-07 03:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:13:02] Production.INFO: ==1284== Releasing lock...
[2025-01-07 03:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:13:02] Production.INFO: ==1286== Lock acquired, processing the job...
[2025-01-06 22:13:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:13:03] Production.INFO: ==1292== Lock acquired, processing the job...
[2025-01-06 22:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:13:03] Production.INFO: ==1296== Lock acquired, processing the job...
[2025-01-06 22:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 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-06 22:13:03] Production.INFO: Account Balance Start.
[2025-01-06 22:13:03] Production.INFO: CreateAllLog Start
[2025-01-06 22:13:03] Production.INFO: 117
[2025-01-06 22:13:03] Production.INFO: ==1294== Lock acquired, processing the job...
[2025-01-06 22:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:13:03] Production.INFO: count ==21
[2025-01-06 22:13:03] Production.INFO: Date 2024-12-08
[2025-01-06 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-06 22:13:03] Production.INFO: count ==21
[2025-01-06 22:13:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190536') start
[2025-01-06 22:13:03] Production.INFO: ==1288== Lock acquired, processing the job...
[2025-01-06 22:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:13:03] Production.INFO: Date 2024-12-09
[2025-01-06 22:13:03] Production.INFO: ==1290== Lock acquired, processing the job...
[2025-01-06 22:13:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:13:03] Production.INFO: Date 2024-12-10
[2025-01-06 22:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190536') end
[2025-01-06 22:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:13:03] Production.INFO: 1
[2025-01-06 22:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:13:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:13:03] Production.INFO: ==1296== Releasing lock...
[2025-01-06 22:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:13:03] Production.INFO: Date 2024-12-11
[2025-01-06 22:13:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:13:03] Production.INFO: Date 2024-12-12
[2025-01-06 22:13:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:13:03] Production.INFO: Date 2024-12-13
[2025-01-06 22:13:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:13:03] Production.INFO: Date 2024-12-14
[2025-01-06 22:13:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:13:03] Production.INFO: Date 2024-12-15
[2025-01-06 22:13:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:13:03] Production.ERROR: done
[2025-01-06 22:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:13:03] Production.INFO: ==1288== Releasing lock...
[2025-01-06 22:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:13:03] Production.INFO: Date 2024-12-16
[2025-01-06 22:13:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:13:03] Production.INFO: Date 2024-12-17
[2025-01-06 22:13:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:13:03] Production.INFO: Date 2024-12-18
[2025-01-06 22:13:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:13:03] Production.ERROR: done
[2025-01-06 22:13:03] Production.INFO: Date 2024-12-19
[2025-01-06 22:13:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:13:03] Production.INFO: Date 2024-12-20
[2025-01-06 22:13:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:13:03] Production.INFO: Date 2024-12-21
[2025-01-06 22:13:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:13:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:13:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:13:04] Production.INFO: Date 2024-12-24
[2025-01-06 22:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:13:04] Production.INFO: Date 2024-12-25
[2025-01-06 22:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:13:04] Production.INFO: Date 2024-12-26
[2025-01-06 22:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:13:04] Production.INFO: Date 2024-12-27
[2025-01-06 22:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:13:04] Production.INFO: Date 2024-12-28
[2025-01-06 22:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:13:04] Production.INFO: Date 2024-12-29
[2025-01-06 22:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:13:04] Production.INFO: Date 2024-12-30
[2025-01-06 22:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:13:04] Production.INFO: Date 2024-12-31
[2025-01-06 22:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:13:04] Production.INFO: Date 2025-01-01
[2025-01-06 22:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:13:04] Production.INFO: Date 2025-01-02
[2025-01-06 22:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:13:04] Production.INFO: Date 2025-01-03
[2025-01-06 22:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:13:04] Production.INFO: Date 2025-01-04
[2025-01-06 22:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:13:04] Production.INFO: Date 2025-01-05
[2025-01-06 22:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:13:04] Production.INFO: Date 2025-01-06
[2025-01-06 22:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:13:04] Production.INFO: Total Charge 0
[2025-01-06 22:13:04] Production.INFO: CreateAllLog End
[2025-01-06 22:13:04] Production.INFO: Account Balance End.
[2025-01-06 22:13:04] Production.ERROR: CronJobId end 12
[2025-01-06 22:13:04] Production.INFO: ==1292== Releasing lock...
[2025-01-06 22:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:13:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:13:04
[end_date_ymd] => 2025-01-06 22:13:04
[RateCDR] => 1
)
[2025-01-06 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-06 19:13:04' and `end` < '2025-01-06 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-06 22:13:12] Production.ERROR: CronJobId end10
[2025-01-06 22:13:12] Production.INFO: ==1290== Releasing lock...
[2025-01-06 22:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:13:14] Production.INFO: call_cost start
[2025-01-06 22:13:14] Production.INFO: call_cost end
[2025-01-06 22:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:13:14] Production.INFO: ==1286== Releasing lock...
[2025-01-06 22:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:13:17] Production.INFO: count ==819
[2025-01-06 22:13:17] Production.ERROR: pbx CDR StartTime 2025-01-06 19:13:04 - End Time 2025-01-06 22:13:04
[2025-01-06 22:13:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190538', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190538', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190538', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190538', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:13:17] Production.INFO: ProcessCDR(1,14190538,1,1,2)
[2025-01-06 22:13:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190538,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190538,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190538,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190538,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190538', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190538', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:13:21] Production.INFO: ==1294== Releasing lock...
[2025-01-06 22:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:13:21] Production.INFO: 33.25 MB #Memory Used#
[2025-01-07 03:14:02] Production.INFO: ==1353== Lock acquired, processing the job...
[2025-01-07 03:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:14:02] Production.INFO: neon service started
[2025-01-07 03:14:02] Production.INFO: neon service started
[2025-01-07 03:14:02] Production.INFO: ==1353== Releasing lock...
[2025-01-07 03:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:14:02] Production.INFO: ==1355== Lock acquired, processing the job...
[2025-01-06 22:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:14:02] Production.INFO: ==1357== Lock acquired, processing the job...
[2025-01-07 03:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:14:02] Production.INFO: ==1357== Releasing lock...
[2025-01-07 03:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:14:03] Production.INFO: ==1355== Releasing lock...
[2025-01-06 22:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:14:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 22:14:03] Production.INFO: ==1360== Lock acquired, processing the job...
[2025-01-06 22:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:14:03] Production.INFO: ==1362== Lock acquired, processing the job...
[2025-01-06 22:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:14:03] Production.INFO: ==1368== Lock acquired, processing the job...
[2025-01-06 22:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:14:04] Production.INFO: ==1364== Lock acquired, processing the job...
[2025-01-06 22:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:14:04] Production.INFO: ==1366== Lock acquired, processing the job...
[2025-01-06 22:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:14:04] Production.INFO: ==1370== Lock acquired, processing the job...
[2025-01-06 22:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:14:04] Production.ERROR: done
[2025-01-06 22:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:14:04] Production.INFO: ==1362== Releasing lock...
[2025-01-06 22:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:14:04] Production.INFO: Account Balance Start.
[2025-01-06 22:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:14:04] Production.INFO: CreateAllLog Start
[2025-01-06 22:14:04] Production.INFO: 117
[2025-01-06 22:14:04] Production.INFO: Date 2024-12-08
[2025-01-06 22:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:14:04] Production.INFO: count ==21
[2025-01-06 22:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 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-06 22:14:04] Production.INFO: count ==21
[2025-01-06 22:14:04] Production.INFO: Date 2024-12-09
[2025-01-06 22:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:14:04] Production.INFO: Date 2024-12-10
[2025-01-06 22:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190541') start
[2025-01-06 22:14:04] Production.ERROR: done
[2025-01-06 22:14:04] Production.INFO: Date 2024-12-11
[2025-01-06 22:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:14:04] Production.INFO: Date 2024-12-12
[2025-01-06 22:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:14:04] Production.INFO: Date 2024-12-13
[2025-01-06 22:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190541') end
[2025-01-06 22:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:14:04] Production.INFO: 1
[2025-01-06 22:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:14:04] Production.INFO: ==1370== Releasing lock...
[2025-01-06 22:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:14:04] Production.INFO: Date 2024-12-14
[2025-01-06 22:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:14:04] Production.INFO: Date 2024-12-15
[2025-01-06 22:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:14:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:14:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:14:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:14:05] Production.INFO: Date 2024-12-19
[2025-01-06 22:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:14:05] Production.INFO: Date 2024-12-20
[2025-01-06 22:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:14:05] Production.INFO: Date 2024-12-21
[2025-01-06 22:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:14:05] Production.INFO: Date 2024-12-22
[2025-01-06 22:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:14:05] Production.INFO: Date 2024-12-23
[2025-01-06 22:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:14:05] Production.INFO: Date 2024-12-24
[2025-01-06 22:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:14:05] Production.INFO: Date 2024-12-25
[2025-01-06 22:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:14:05] Production.INFO: Date 2024-12-26
[2025-01-06 22:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:14:05] Production.INFO: Date 2024-12-27
[2025-01-06 22:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:14:05] Production.INFO: Date 2024-12-28
[2025-01-06 22:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:14:05] Production.INFO: Date 2024-12-29
[2025-01-06 22:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:14:05] Production.INFO: Date 2024-12-30
[2025-01-06 22:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:14:05] Production.INFO: Date 2024-12-31
[2025-01-06 22:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:14:05] Production.INFO: Date 2025-01-01
[2025-01-06 22:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:14:05] Production.INFO: Date 2025-01-02
[2025-01-06 22:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:14:05] Production.INFO: Date 2025-01-03
[2025-01-06 22:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:14:05] Production.INFO: Date 2025-01-04
[2025-01-06 22:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:14:05] Production.INFO: Date 2025-01-05
[2025-01-06 22:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:14:05] Production.INFO: Date 2025-01-06
[2025-01-06 22:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:14:05] Production.INFO: Total Charge 0
[2025-01-06 22:14:05] Production.INFO: CreateAllLog End
[2025-01-06 22:14:05] Production.INFO: Account Balance End.
[2025-01-06 22:14:05] Production.ERROR: CronJobId end 12
[2025-01-06 22:14:05] Production.INFO: ==1366== Releasing lock...
[2025-01-06 22:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:14:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:14:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:14:06
[end_date_ymd] => 2025-01-06 22:14:06
[RateCDR] => 1
)
[2025-01-06 22: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-06 19:14:06' and `end` < '2025-01-06 22: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-06 22:14:13] Production.ERROR: CronJobId end10
[2025-01-06 22:14:13] Production.INFO: ==1364== Releasing lock...
[2025-01-06 22:14:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:14:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:14:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:14:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:14:14] Production.INFO: call_cost start
[2025-01-06 22:14:14] Production.INFO: call_cost end
[2025-01-06 22:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:14:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:14:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:14:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:14:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:14:15] Production.INFO: ==1360== Releasing lock...
[2025-01-06 22:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:14:18] Production.INFO: count ==818
[2025-01-06 22:14:19] Production.ERROR: pbx CDR StartTime 2025-01-06 19:14:06 - End Time 2025-01-06 22:14:06
[2025-01-06 22:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190543', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190543', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190543', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190543', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:14:19] Production.INFO: ProcessCDR(1,14190543,1,1,2)
[2025-01-06 22:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190543,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190543,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190543,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190543,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190543', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190543', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:14:22] Production.INFO: ==1368== Releasing lock...
[2025-01-06 22:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:14:22] Production.INFO: 33.25 MB #Memory Used#
[2025-01-07 03:15:01] Production.INFO: ==1424== Lock acquired, processing the job...
[2025-01-07 03:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:15:01] Production.INFO: neon service started
[2025-01-07 03:15:01] Production.INFO: neon service started
[2025-01-07 03:15:01] Production.INFO: ==1424== Releasing lock...
[2025-01-07 03:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:15:01] Production.INFO: ==1426== Lock acquired, processing the job...
[2025-01-06 22:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 22:15:02] Production.INFO: ==1426== Releasing lock...
[2025-01-06 22:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:15:02] Production.INFO: ==1428== Lock acquired, processing the job...
[2025-01-07 03:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:15:02] Production.INFO: ==1428== Releasing lock...
[2025-01-07 03:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:15:03] Production.INFO: ==1430== Lock acquired, processing the job...
[2025-01-06 22:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:15:03] Production.INFO: ==1432== Lock acquired, processing the job...
[2025-01-06 22:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:15:03] Production.INFO: ==1440== Lock acquired, processing the job...
[2025-01-06 22:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:15:03] Production.INFO: ==1438== Lock acquired, processing the job...
[2025-01-06 22:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:15:03] Production.INFO: ==1434== Lock acquired, processing the job...
[2025-01-06 22:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:15:03] Production.INFO: ==1436== Lock acquired, processing the job...
[2025-01-06 22:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 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-06 22:15:03] Production.INFO: count ==21
[2025-01-06 22:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 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-06 22:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:15:03] Production.INFO: count ==21
[2025-01-06 22:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190546') start
[2025-01-06 22:15:03] Production.INFO: Account Balance Start.
[2025-01-06 22:15:03] Production.INFO: CreateAllLog Start
[2025-01-06 22:15:03] Production.INFO: 117
[2025-01-06 22:15:03] Production.INFO: Date 2024-12-08
[2025-01-06 22:15:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190546') end
[2025-01-06 22:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:15:03] Production.INFO: 1
[2025-01-06 22:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:15:03] Production.INFO: Date 2024-12-09
[2025-01-06 22:15:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:15:03] Production.INFO: Date 2024-12-10
[2025-01-06 22:15:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:15:03] Production.INFO: Date 2024-12-11
[2025-01-06 22:15:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:15:03] Production.INFO: ==1440== Releasing lock...
[2025-01-06 22:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:15:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:15:03] Production.INFO: ==1432== Releasing lock...
[2025-01-06 22:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:15:03] Production.INFO: Date 2024-12-12
[2025-01-06 22:15:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:15:03] Production.ERROR: done
[2025-01-06 22:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:15:03] Production.INFO: Date 2024-12-13
[2025-01-06 22:15:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:15:03] Production.INFO: Date 2024-12-14
[2025-01-06 22:15:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:15:03] Production.INFO: Date 2024-12-15
[2025-01-06 22:15:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:15:03] Production.INFO: Date 2024-12-16
[2025-01-06 22:15:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:15:03] Production.INFO: Date 2024-12-17
[2025-01-06 22:15:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:15:03] Production.ERROR: done
[2025-01-06 22:15:03] Production.INFO: Date 2024-12-18
[2025-01-06 22:15:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:15:03] Production.INFO: Date 2024-12-19
[2025-01-06 22:15:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:15:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:15:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:15:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:15:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:15:04] Production.INFO: Date 2024-12-24
[2025-01-06 22:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:15:04] Production.INFO: Date 2024-12-25
[2025-01-06 22:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:15:04] Production.INFO: Date 2024-12-26
[2025-01-06 22:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:15:04] Production.INFO: Date 2024-12-27
[2025-01-06 22:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:15:04] Production.INFO: Date 2024-12-28
[2025-01-06 22:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:15:04] Production.INFO: Date 2024-12-29
[2025-01-06 22:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:15:04] Production.INFO: Date 2024-12-30
[2025-01-06 22:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:15:04] Production.INFO: Date 2024-12-31
[2025-01-06 22:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:15:04] Production.INFO: Date 2025-01-01
[2025-01-06 22:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:15:04] Production.INFO: Date 2025-01-02
[2025-01-06 22:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:15:04] Production.INFO: Date 2025-01-03
[2025-01-06 22:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:15:04] Production.INFO: Date 2025-01-04
[2025-01-06 22:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:15:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:15:04
[end_date_ymd] => 2025-01-06 22:15:04
[RateCDR] => 1
)
[2025-01-06 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-06 19:15:04' and `end` < '2025-01-06 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-06 22:15:04] Production.INFO: Date 2025-01-05
[2025-01-06 22:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:15:04] Production.INFO: Date 2025-01-06
[2025-01-06 22:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:15:04] Production.INFO: Total Charge 0
[2025-01-06 22:15:04] Production.INFO: CreateAllLog End
[2025-01-06 22:15:05] Production.INFO: Account Balance End.
[2025-01-06 22:15:05] Production.ERROR: CronJobId end 12
[2025-01-06 22:15:05] Production.INFO: ==1436== Releasing lock...
[2025-01-06 22:15:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:15:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:15:12] Production.ERROR: CronJobId end10
[2025-01-06 22:15:12] Production.INFO: ==1434== Releasing lock...
[2025-01-06 22:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:15:13] Production.INFO: call_cost start
[2025-01-06 22:15:13] Production.INFO: call_cost end
[2025-01-06 22:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:15:14] Production.INFO: ==1430== Releasing lock...
[2025-01-06 22:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:15:17] Production.INFO: count ==821
[2025-01-06 22:15:17] Production.ERROR: pbx CDR StartTime 2025-01-06 19:15:04 - End Time 2025-01-06 22:15:04
[2025-01-06 22:15:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190548', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190548', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190548', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190548', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:15:17] Production.INFO: ProcessCDR(1,14190548,1,1,2)
[2025-01-06 22:15:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190548,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:15:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190548,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:15:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190548,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:15:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190548,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:15:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190548', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190548', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:15:21] Production.INFO: ==1438== Releasing lock...
[2025-01-06 22:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:15:21] Production.INFO: 33.5 MB #Memory Used#
[2025-01-07 03:16:01] Production.INFO: ==1577== Lock acquired, processing the job...
[2025-01-07 03:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:16:01] Production.INFO: neon service started
[2025-01-07 03:16:01] Production.INFO: neon service started
[2025-01-07 03:16:01] Production.INFO: ==1577== Releasing lock...
[2025-01-07 03:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:16:02] Production.INFO: ==1579== Lock acquired, processing the job...
[2025-01-06 22:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 22:16:02] Production.INFO: ==1579== Releasing lock...
[2025-01-06 22:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:16:02] Production.INFO: ==1581== Lock acquired, processing the job...
[2025-01-07 03:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:16:02] Production.INFO: ==1581== Releasing lock...
[2025-01-07 03:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:16:03] Production.INFO: ==1583== Lock acquired, processing the job...
[2025-01-06 22:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:16:03] Production.INFO: ==1589== Lock acquired, processing the job...
[2025-01-06 22:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:16:03] Production.INFO: ==1585== Lock acquired, processing the job...
[2025-01-06 22:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:16:03] Production.INFO: Account Balance Start.
[2025-01-06 22:16:03] Production.INFO: CreateAllLog Start
[2025-01-06 22:16:03] Production.INFO: 117
[2025-01-06 22:16:03] Production.INFO: Date 2024-12-08
[2025-01-06 22:16:03] Production.INFO: ==1587== Lock acquired, processing the job...
[2025-01-06 22:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:16:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:16:03] Production.INFO: ==1593== Lock acquired, processing the job...
[2025-01-06 22:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:16:03] Production.INFO: Date 2024-12-09
[2025-01-06 22:16:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:16:03] Production.INFO: Date 2024-12-10
[2025-01-06 22:16:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:16:03] Production.INFO: Date 2024-12-11
[2025-01-06 22:16:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:16:03] Production.INFO: ==1591== Lock acquired, processing the job...
[2025-01-06 22:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:16:03] Production.INFO: Date 2024-12-12
[2025-01-06 22:16:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:16:03] Production.INFO: count ==21
[2025-01-06 22:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:16:03] Production.INFO: Date 2024-12-13
[2025-01-06 22:16:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:16:03] Production.INFO: count ==21
[2025-01-06 22:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:16:03] Production.INFO: ==1585== Releasing lock...
[2025-01-06 22:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:16:04] Production.INFO: Date 2024-12-14
[2025-01-06 22:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190552') start
[2025-01-06 22:16:04] Production.INFO: Date 2024-12-15
[2025-01-06 22:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:16:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:16:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190552') end
[2025-01-06 22:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:16:04] Production.INFO: 1
[2025-01-06 22:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:16:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:16:04] Production.INFO: ==1593== Releasing lock...
[2025-01-06 22:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:16:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:16:04] Production.ERROR: done
[2025-01-06 22:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:16:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:16:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:16:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:16:04] Production.ERROR: done
[2025-01-06 22:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:16:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:16:04] Production.INFO: Date 2024-12-24
[2025-01-06 22:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:16:04] Production.INFO: Date 2024-12-25
[2025-01-06 22:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:16:04] Production.INFO: Date 2024-12-26
[2025-01-06 22:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:16:04] Production.INFO: Date 2024-12-27
[2025-01-06 22:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:16:04] Production.INFO: Date 2024-12-28
[2025-01-06 22:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:16:04] Production.INFO: Date 2024-12-29
[2025-01-06 22:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:16:04] Production.INFO: Date 2024-12-30
[2025-01-06 22:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:16:05
[end_date_ymd] => 2025-01-06 22:16:05
[RateCDR] => 1
)
[2025-01-06 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-06 19:16:05' and `end` < '2025-01-06 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-06 22:16:05] Production.INFO: Date 2024-12-31
[2025-01-06 22:16:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:16:05] Production.INFO: Date 2025-01-01
[2025-01-06 22:16:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:16:05] Production.INFO: Date 2025-01-02
[2025-01-06 22:16:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:16:05] Production.INFO: Date 2025-01-03
[2025-01-06 22:16:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:16:05] Production.INFO: Date 2025-01-04
[2025-01-06 22:16:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:16:05] Production.INFO: Date 2025-01-05
[2025-01-06 22:16:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:16:05] Production.INFO: Date 2025-01-06
[2025-01-06 22:16:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:16:05] Production.INFO: Total Charge 0
[2025-01-06 22:16:05] Production.INFO: CreateAllLog End
[2025-01-06 22:16:05] Production.INFO: Account Balance End.
[2025-01-06 22:16:05] Production.ERROR: CronJobId end 12
[2025-01-06 22:16:05] Production.INFO: ==1589== Releasing lock...
[2025-01-06 22:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:16:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:16:13] Production.ERROR: CronJobId end10
[2025-01-06 22:16:13] Production.INFO: ==1587== Releasing lock...
[2025-01-06 22:16:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:16:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:16:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:16:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:16:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:16:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:16:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:16:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:16:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:16:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:16:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:16:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:16:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:16:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:16:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:16:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:16:14] Production.INFO: call_cost start
[2025-01-06 22:16:14] Production.INFO: call_cost end
[2025-01-06 22:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:16:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:16:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:16:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:16:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:16:15] Production.INFO: ==1583== Releasing lock...
[2025-01-06 22:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:16:18] Production.INFO: count ==821
[2025-01-06 22:16:18] Production.ERROR: pbx CDR StartTime 2025-01-06 19:16:05 - End Time 2025-01-06 22:16:05
[2025-01-06 22:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190553', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190553', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190553', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190553', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:16:18] Production.INFO: ProcessCDR(1,14190553,1,1,2)
[2025-01-06 22:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190553,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190553,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190553,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190553,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190553', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190553', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:16:21] Production.INFO: ==1591== Releasing lock...
[2025-01-06 22:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:16:21] Production.INFO: 33.5 MB #Memory Used#
[2025-01-07 03:17:02] Production.INFO: ==1649== Lock acquired, processing the job...
[2025-01-07 03:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:17:02] Production.INFO: neon service started
[2025-01-07 03:17:02] Production.INFO: neon service started
[2025-01-07 03:17:02] Production.INFO: ==1649== Releasing lock...
[2025-01-07 03:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:17:02] Production.INFO: ==1651== Lock acquired, processing the job...
[2025-01-06 22:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 22:17:02] Production.INFO: ==1651== Releasing lock...
[2025-01-06 22:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:17:03] Production.INFO: ==1653== Lock acquired, processing the job...
[2025-01-07 03:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:17:03] Production.INFO: ==1653== Releasing lock...
[2025-01-07 03:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:17:03] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:17:03] Production.INFO: ==1655== Lock acquired, processing the job...
[2025-01-06 22:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:17:03] Production.INFO: ==1663== Lock acquired, processing the job...
[2025-01-06 22:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:17:04] Production.INFO: ==1657== Lock acquired, processing the job...
[2025-01-06 22:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:17:04] Production.INFO: ==1659== Lock acquired, processing the job...
[2025-01-06 22:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:17:04] Production.INFO: ==1661== Lock acquired, processing the job...
[2025-01-06 22:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:17:04] Production.INFO: ==1665== Lock acquired, processing the job...
[2025-01-06 22:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:17:04] Production.INFO: Account Balance Start.
[2025-01-06 22:17:04] Production.INFO: CreateAllLog Start
[2025-01-06 22:17:04] Production.INFO: 117
[2025-01-06 22:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:17:04] Production.INFO: Date 2024-12-08
[2025-01-06 22:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:17:04] Production.ERROR: done
[2025-01-06 22:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:17:04] Production.INFO: Date 2024-12-09
[2025-01-06 22:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 22: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-06 22:17:04] Production.INFO: Date 2024-12-10
[2025-01-06 22:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:17:04] Production.INFO: count ==21
[2025-01-06 22:17:04] Production.INFO: Date 2024-12-11
[2025-01-06 22:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 22: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-06 22:17:04] Production.INFO: count ==21
[2025-01-06 22:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190557') start
[2025-01-06 22:17:04] Production.INFO: Date 2024-12-12
[2025-01-06 22:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:17:04] Production.ERROR: done
[2025-01-06 22:17:04] Production.INFO: Date 2024-12-13
[2025-01-06 22:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:17:04] Production.INFO: Date 2024-12-14
[2025-01-06 22:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190557') end
[2025-01-06 22:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:17:04] Production.INFO: 1
[2025-01-06 22:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:17:04] Production.INFO: Date 2024-12-15
[2025-01-06 22:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:17:04] Production.INFO: ==1657== Releasing lock...
[2025-01-06 22:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:17:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:17:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:17:04] Production.INFO: ==1665== Releasing lock...
[2025-01-06 22:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:17:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:17:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:17:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:17:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:17:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:17:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:17:05] Production.INFO: Date 2024-12-24
[2025-01-06 22:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:17:05] Production.INFO: Date 2024-12-25
[2025-01-06 22:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:17:05] Production.INFO: Date 2024-12-26
[2025-01-06 22:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:17:05] Production.INFO: Date 2024-12-27
[2025-01-06 22:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:17:05] Production.INFO: Date 2024-12-28
[2025-01-06 22:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:17:05] Production.INFO: Date 2024-12-29
[2025-01-06 22:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:17:05] Production.INFO: Date 2024-12-30
[2025-01-06 22:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:17:05] Production.INFO: Date 2024-12-31
[2025-01-06 22:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:17:05] Production.INFO: Date 2025-01-01
[2025-01-06 22:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:17:05] Production.INFO: Date 2025-01-02
[2025-01-06 22:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:17:05] Production.INFO: Date 2025-01-03
[2025-01-06 22:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:17:05] Production.INFO: Date 2025-01-04
[2025-01-06 22:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:17:05] Production.INFO: Date 2025-01-05
[2025-01-06 22:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:17:05] Production.INFO: Date 2025-01-06
[2025-01-06 22:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:17:05] Production.INFO: Total Charge 0
[2025-01-06 22:17:05] Production.INFO: CreateAllLog End
[2025-01-06 22:17:05] Production.INFO: Account Balance End.
[2025-01-06 22:17:05] Production.ERROR: CronJobId end 12
[2025-01-06 22:17:05] Production.INFO: ==1661== Releasing lock...
[2025-01-06 22:17:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:17:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:17:05
[end_date_ymd] => 2025-01-06 22:17:05
[RateCDR] => 1
)
[2025-01-06 22:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 19:17:05' and `end` < '2025-01-06 22:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 22:17:13] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:362
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(362): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_update...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(363): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#4 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->statement()
#5 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::getOutstandingAmount()
#6 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_updateSOAOffSet(1,0))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(363): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#2 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->statement()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::getOutstandingAmount()
#4 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#7 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 {main}
[2025-01-06 22:17:13] Production.ERROR: CronJobId end10
[2025-01-06 22:17:13] Production.INFO: ==1659== Releasing lock...
[2025-01-06 22:17:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:17:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:17:14] Production.INFO: call_cost start
[2025-01-06 22:17:14] Production.INFO: call_cost end
[2025-01-06 22:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:17:14] Production.INFO: ==1655== Releasing lock...
[2025-01-06 22:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:17:20] Production.INFO: count ==821
[2025-01-06 22:17:20] Production.ERROR: pbx CDR StartTime 2025-01-06 19:17:05 - End Time 2025-01-06 22:17:05
[2025-01-06 22:17:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190558', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190558', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190558', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190558', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:17:20] Production.INFO: ProcessCDR(1,14190558,1,1,2)
[2025-01-06 22:17:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190558,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:17:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190558,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:17:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190558,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:17:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190558,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190558', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190558', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:17:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:17:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:17:23] Production.INFO: ==1663== Releasing lock...
[2025-01-06 22:17:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:17:23] Production.INFO: 33.5 MB #Memory Used#
[2025-01-07 03:18:01] Production.INFO: ==1724== Lock acquired, processing the job...
[2025-01-07 03:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:18:01] Production.INFO: neon service started
[2025-01-07 03:18:01] Production.INFO: neon service started
[2025-01-07 03:18:01] Production.INFO: ==1724== Releasing lock...
[2025-01-07 03:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:18:02] Production.INFO: ==1728== Lock acquired, processing the job...
[2025-01-07 03:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:18:02] Production.INFO: ==1728== Releasing lock...
[2025-01-07 03:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:18:02] Production.INFO: ==1726== Lock acquired, processing the job...
[2025-01-06 22:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 22:18:02] Production.INFO: ==1726== Releasing lock...
[2025-01-06 22:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 22:18:03] Production.INFO: ==1737== Lock acquired, processing the job...
[2025-01-06 22:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:18:03] Production.INFO: ==1739== Lock acquired, processing the job...
[2025-01-06 22:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:18:03] Production.INFO: Account Balance Start.
[2025-01-06 22:18:03] Production.INFO: CreateAllLog Start
[2025-01-06 22:18:03] Production.INFO: 117
[2025-01-06 22:18:03] Production.INFO: Date 2024-12-08
[2025-01-06 22:18:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:18:03] Production.INFO: ==1731== Lock acquired, processing the job...
[2025-01-06 22:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:18:03] Production.INFO: ==1733== Lock acquired, processing the job...
[2025-01-06 22:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:18:03] Production.INFO: Date 2024-12-09
[2025-01-06 22:18:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:18:03] Production.INFO: ==1735== Lock acquired, processing the job...
[2025-01-06 22:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:18:03] Production.INFO: ==1741== Lock acquired, processing the job...
[2025-01-06 22:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:18:03] Production.INFO: Date 2024-12-10
[2025-01-06 22:18:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:18:03] Production.INFO: Date 2024-12-11
[2025-01-06 22:18:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:18:03] Production.ERROR: done
[2025-01-06 22:18:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 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-06 22:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:18:03] Production.INFO: Date 2024-12-12
[2025-01-06 22:18:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:18:03] Production.INFO: count ==21
[2025-01-06 22:18:03] Production.ERROR: done
[2025-01-06 22:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:18:03] Production.INFO: count ==21
[2025-01-06 22:18:04] Production.INFO: Date 2024-12-13
[2025-01-06 22:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190562') start
[2025-01-06 22:18:04] Production.INFO: ==1733== Releasing lock...
[2025-01-06 22:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:18:04] Production.INFO: Date 2024-12-14
[2025-01-06 22:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190562') end
[2025-01-06 22:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:18:04] Production.INFO: 1
[2025-01-06 22:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:18:04] Production.INFO: Date 2024-12-15
[2025-01-06 22:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:18:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:18:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:18:04] Production.INFO: ==1741== Releasing lock...
[2025-01-06 22:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:18:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:18:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:18:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:18:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:18:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:18:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:18:04] Production.INFO: Date 2024-12-24
[2025-01-06 22:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:18:04] Production.INFO: Date 2024-12-25
[2025-01-06 22:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:18:04] Production.INFO: Date 2024-12-26
[2025-01-06 22:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:18:04] Production.INFO: Date 2024-12-27
[2025-01-06 22:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:18:04] Production.INFO: Date 2024-12-28
[2025-01-06 22:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:18:04] Production.INFO: Date 2024-12-29
[2025-01-06 22:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:18:04] Production.INFO: Date 2024-12-30
[2025-01-06 22:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:18:04] Production.INFO: Date 2024-12-31
[2025-01-06 22:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:18:04] Production.INFO: Date 2025-01-01
[2025-01-06 22:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:18:04] Production.INFO: Date 2025-01-02
[2025-01-06 22:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:18:04] Production.INFO: Date 2025-01-03
[2025-01-06 22:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:18:04] Production.INFO: Date 2025-01-04
[2025-01-06 22:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:18:04] Production.INFO: Date 2025-01-05
[2025-01-06 22:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:18:04] Production.INFO: Date 2025-01-06
[2025-01-06 22:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:18:04] Production.INFO: Total Charge 0
[2025-01-06 22:18:04] Production.INFO: CreateAllLog End
[2025-01-06 22:18:05] Production.INFO: Account Balance End.
[2025-01-06 22:18:05] Production.ERROR: CronJobId end 12
[2025-01-06 22:18:05] Production.INFO: ==1737== Releasing lock...
[2025-01-06 22:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:18:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:18:05
[end_date_ymd] => 2025-01-06 22:18:05
[RateCDR] => 1
)
[2025-01-06 22:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 19:18:05' and `end` < '2025-01-06 22:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 22:18:13] Production.ERROR: CronJobId end10
[2025-01-06 22:18:13] Production.INFO: ==1735== Releasing lock...
[2025-01-06 22:18:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:18:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:18:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:18:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:18:14] Production.INFO: call_cost start
[2025-01-06 22:18:14] Production.INFO: call_cost end
[2025-01-06 22:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:18:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:18:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:18:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:18:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:18:15] Production.INFO: ==1731== Releasing lock...
[2025-01-06 22:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:18:18] Production.INFO: count ==821
[2025-01-06 22:18:18] Production.ERROR: pbx CDR StartTime 2025-01-06 19:18:05 - End Time 2025-01-06 22:18:05
[2025-01-06 22:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190563', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190563', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190563', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190563', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:18:18] Production.INFO: ProcessCDR(1,14190563,1,1,2)
[2025-01-06 22:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190563,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:18:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190563,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:18:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190563,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:18:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190563,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190563', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190563', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:18:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:18:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:18:23] Production.INFO: ==1739== Releasing lock...
[2025-01-06 22:18:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:18:23] Production.INFO: 33.25 MB #Memory Used#
[2025-01-07 03:19:02] Production.INFO: ==1796== Lock acquired, processing the job...
[2025-01-07 03:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:19:02] Production.INFO: neon service started
[2025-01-07 03:19:02] Production.INFO: neon service started
[2025-01-07 03:19:02] Production.INFO: ==1796== Releasing lock...
[2025-01-07 03:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:19:02] Production.INFO: ==1798== Lock acquired, processing the job...
[2025-01-06 22:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 22:19:02] Production.INFO: ==1798== Releasing lock...
[2025-01-06 22:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:19:03] Production.INFO: ==1800== Lock acquired, processing the job...
[2025-01-07 03:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:19:03] Production.INFO: ==1800== Releasing lock...
[2025-01-07 03:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:19:03] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:19:03] Production.INFO: ==1802== Lock acquired, processing the job...
[2025-01-06 22:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:19:03] Production.INFO: ==1804== Lock acquired, processing the job...
[2025-01-06 22:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:19:03] Production.INFO: ==1806== Lock acquired, processing the job...
[2025-01-06 22:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:19:04] Production.INFO: ==1808== Lock acquired, processing the job...
[2025-01-06 22:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:19:04] Production.INFO: ==1812== Lock acquired, processing the job...
[2025-01-06 22:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:19:04] Production.INFO: Account Balance Start.
[2025-01-06 22:19:04] Production.INFO: CreateAllLog Start
[2025-01-06 22:19:04] Production.INFO: 117
[2025-01-06 22:19:04] Production.INFO: Date 2024-12-08
[2025-01-06 22:19:04] Production.INFO: ==1810== Lock acquired, processing the job...
[2025-01-06 22:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:19:04] Production.INFO: ==1804== Releasing lock...
[2025-01-06 22:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:19:04] Production.INFO: Date 2024-12-09
[2025-01-06 22:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:19:04] Production.INFO: Date 2024-12-10
[2025-01-06 22:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:19:04] Production.INFO: count ==21
[2025-01-06 22:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:19:04] Production.INFO: count ==21
[2025-01-06 22:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190567') start
[2025-01-06 22:19:04] Production.INFO: Date 2024-12-11
[2025-01-06 22:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:19:04] Production.INFO: Date 2024-12-12
[2025-01-06 22:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190567') end
[2025-01-06 22:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:19:04] Production.INFO: 1
[2025-01-06 22:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:19:04] Production.INFO: Date 2024-12-13
[2025-01-06 22:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:19:04] Production.INFO: Date 2024-12-14
[2025-01-06 22:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:19:04] Production.INFO: ==1812== Releasing lock...
[2025-01-06 22:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:19:04] Production.ERROR: done
[2025-01-06 22:19:04] Production.INFO: Date 2024-12-15
[2025-01-06 22:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:19:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:19:04] Production.ERROR: done
[2025-01-06 22:19:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:19:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:19:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:19:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:19:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:19:05] Production.INFO: Date 2024-12-22
[2025-01-06 22:19:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:19:05] Production.INFO: Date 2024-12-23
[2025-01-06 22:19:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:19:05] Production.INFO: Date 2024-12-24
[2025-01-06 22:19:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:19:05] Production.INFO: Date 2024-12-25
[2025-01-06 22:19:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:19:05] Production.INFO: Date 2024-12-26
[2025-01-06 22:19:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:19:05] Production.INFO: Date 2024-12-27
[2025-01-06 22:19:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:19:05] Production.INFO: Date 2024-12-28
[2025-01-06 22:19:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:19:05] Production.INFO: Date 2024-12-29
[2025-01-06 22:19:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:19:05] Production.INFO: Date 2024-12-30
[2025-01-06 22:19:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:19:05] Production.INFO: Date 2024-12-31
[2025-01-06 22:19:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:19:05] Production.INFO: Date 2025-01-01
[2025-01-06 22:19:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:19:05] Production.INFO: Date 2025-01-02
[2025-01-06 22:19:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:19:05] Production.INFO: Date 2025-01-03
[2025-01-06 22:19:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:19:05] Production.INFO: Date 2025-01-04
[2025-01-06 22:19:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:19:05] Production.INFO: Date 2025-01-05
[2025-01-06 22:19:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:19:05] Production.INFO: Date 2025-01-06
[2025-01-06 22:19:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:19:05] Production.INFO: Total Charge 0
[2025-01-06 22:19:05] Production.INFO: CreateAllLog End
[2025-01-06 22:19:05] Production.INFO: Account Balance End.
[2025-01-06 22:19:05] Production.ERROR: CronJobId end 12
[2025-01-06 22:19:05] Production.INFO: ==1808== Releasing lock...
[2025-01-06 22:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:19:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:19:05
[end_date_ymd] => 2025-01-06 22:19:05
[RateCDR] => 1
)
[2025-01-06 22:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 19:19:05' and `end` < '2025-01-06 22:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 22:19:12] Production.ERROR: CronJobId end10
[2025-01-06 22:19:12] Production.INFO: ==1806== Releasing lock...
[2025-01-06 22:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:19:13] Production.INFO: call_cost start
[2025-01-06 22:19:13] Production.INFO: call_cost end
[2025-01-06 22:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:19:14] Production.INFO: ==1802== Releasing lock...
[2025-01-06 22:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:19:20] Production.INFO: count ==821
[2025-01-06 22:19:20] Production.ERROR: pbx CDR StartTime 2025-01-06 19:19:05 - End Time 2025-01-06 22:19:05
[2025-01-06 22:19:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190568', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190568', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190568', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190568', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:19:20] Production.INFO: ProcessCDR(1,14190568,1,1,2)
[2025-01-06 22:19:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190568,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:19:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190568,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:19:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190568,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:19:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190568,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190568', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190568', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:19:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:19:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:19:23] Production.INFO: ==1810== Releasing lock...
[2025-01-06 22:19:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:19:23] Production.INFO: 33.25 MB #Memory Used#
[2025-01-07 03:20:01] Production.INFO: ==1871== Lock acquired, processing the job...
[2025-01-07 03:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:20:01] Production.INFO: neon service started
[2025-01-07 03:20:01] Production.INFO: neon service started
[2025-01-07 03:20:01] Production.INFO: ==1871== Releasing lock...
[2025-01-07 03:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:20:02] Production.INFO: ==1873== Lock acquired, processing the job...
[2025-01-06 22:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:20:02] Production.INFO: ==1875== Lock acquired, processing the job...
[2025-01-07 03:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-06 22:20:02] Production.INFO: ==1873== Releasing lock...
[2025-01-06 22:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:20:02] Production.INFO: ==1875== Releasing lock...
[2025-01-07 03:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:20:03] Production.INFO: ==1883== Lock acquired, processing the job...
[2025-01-06 22:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:20:03] Production.INFO: ==1890== Lock acquired, processing the job...
[2025-01-06 22:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-06 22:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:20:03] Production.INFO: ==1892== Lock acquired, processing the job...
[2025-01-06 22:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:20:03] Production.INFO: ==1879== Lock acquired, processing the job...
[2025-01-06 22:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:20:03] Production.INFO: ==1877== Lock acquired, processing the job...
[2025-01-06 22:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-06 22:20:03] Production.INFO: ==1881== Lock acquired, processing the job...
[2025-01-06 22:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:20:03] Production.INFO: ==1886== Lock acquired, processing the job...
[2025-01-06 22:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:20:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:20:03] Production.INFO: ==1888== Lock acquired, processing the job...
[2025-01-06 22:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-06 22:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 22:20:03] Production.ERROR: CronJob PID - 1879
[2025-01-06 22:20:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-06 22:20:03] Production.ERROR: CronJob ID - 5
[2025-01-06 22:20:03] Production.ERROR: CronJob Last Run Time 2025-01-06 22:20:00
[2025-01-06 22:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 22:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 22:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 22:20:03] Production.ERROR: CronJob PID - 1881
[2025-01-06 22:20:03] Production.ERROR: CronJob Title - Account Block
[2025-01-06 22:20:03] Production.ERROR: CronJob ID - 7
[2025-01-06 22:20:03] Production.ERROR: CronJob Last Run Time 2025-01-06 22:20:00
[2025-01-06 22:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 22:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 22:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 22:20:03] Production.ERROR: CronJob PID - 1883
[2025-01-06 22:20:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-06 22:20:03] Production.ERROR: CronJob ID - 10
[2025-01-06 22:20:03] Production.ERROR: CronJob Last Run Time 2025-01-06 22:20:00
[2025-01-06 22:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 22:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 22:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 22:20:03] Production.ERROR: CronJob PID - 1890
[2025-01-06 22:20:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-06 22:20:03] Production.ERROR: CronJob ID - 17
[2025-01-06 22:20:03] Production.ERROR: CronJob Last Run Time 2025-01-06 22:20:00
[2025-01-06 22:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 22:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 22:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 22:20:03] Production.ERROR: CronJob PID - 1892
[2025-01-06 22:20:03] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-06 22:20:03] Production.ERROR: CronJob ID - 19
[2025-01-06 22:20:03] Production.ERROR: CronJob Last Run Time 2025-01-06 22:20:00
[2025-01-06 22:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 22:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 22:20:03] Production.INFO: count ==21
[2025-01-06 22:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-06 22:20:03] Production.INFO: ==1877== Releasing lock...
[2025-01-06 22:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-06 22:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-06 22:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 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-06 22:20:04] Production.INFO: count ==21
[2025-01-06 22:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190569') start
[2025-01-06 22:20:04] Production.ERROR: done
[2025-01-06 22:20:04] Production.INFO: Account Balance Start.
[2025-01-06 22:20:04] Production.INFO: CreateAllLog Start
[2025-01-06 22:20:04] Production.INFO: 117
[2025-01-06 22:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190569') end
[2025-01-06 22:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:20:04] Production.INFO: 1
[2025-01-06 22:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-06 22:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14190573', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) start
[2025-01-06 22:20:04] Production.INFO: Date 2024-12-08
[2025-01-06 22:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:20:04] Production.INFO: ==1892== Releasing lock...
[2025-01-06 22:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:20:04] Production.ERROR: done
[2025-01-06 22:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:20:04] Production.INFO: Date 2024-12-09
[2025-01-06 22:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:20:04] Production.INFO: ==1881== Releasing lock...
[2025-01-06 22:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:20:04] Production.ERROR: done
[2025-01-06 22:20:04] Production.INFO: Date 2024-12-10
[2025-01-06 22:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:20:04] Production.INFO: Date 2024-12-11
[2025-01-06 22:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:20:04] Production.INFO: Date 2024-12-12
[2025-01-06 22:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:20:04] Production.INFO: Date 2024-12-13
[2025-01-06 22:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:20:04] Production.INFO: Date 2024-12-14
[2025-01-06 22:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:20:04] Production.INFO: Date 2024-12-15
[2025-01-06 22:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:20:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:20:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:20:05] Production.INFO: Date 2024-12-18
[2025-01-06 22:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:20:05] Production.INFO: Date 2024-12-19
[2025-01-06 22:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:20:05] Production.INFO: Date 2024-12-20
[2025-01-06 22:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:20:05] Production.INFO: Date 2024-12-21
[2025-01-06 22:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:20:05] Production.INFO: Date 2024-12-22
[2025-01-06 22:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:20:05] Production.INFO: Date 2024-12-23
[2025-01-06 22:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:20:05] Production.INFO: Date 2024-12-24
[2025-01-06 22:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:20:05] Production.INFO: Date 2024-12-25
[2025-01-06 22:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:20:05] Production.INFO: Date 2024-12-26
[2025-01-06 22:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:20:05] Production.INFO: Date 2024-12-27
[2025-01-06 22:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:20:05] Production.INFO: Date 2024-12-28
[2025-01-06 22:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:20:05] Production.INFO: Date 2024-12-29
[2025-01-06 22:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:20:05] Production.INFO: Date 2024-12-30
[2025-01-06 22:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:20:05] Production.INFO: Date 2024-12-31
[2025-01-06 22:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:20:05] Production.INFO: Date 2025-01-01
[2025-01-06 22:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:20:05] Production.INFO: Date 2025-01-02
[2025-01-06 22:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:20:05] Production.INFO: Date 2025-01-03
[2025-01-06 22:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:20:05] Production.INFO: Date 2025-01-04
[2025-01-06 22:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:20:05] Production.INFO: Date 2025-01-05
[2025-01-06 22:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:20:05] Production.INFO: Date 2025-01-06
[2025-01-06 22:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:20:05
[end_date_ymd] => 2025-01-06 22:20:05
[RateCDR] => 1
)
[2025-01-06 22:20:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 19:20:05' and `end` < '2025-01-06 22:20:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 22:20:05] Production.INFO: Total Charge 0
[2025-01-06 22:20:05] Production.INFO: CreateAllLog End
[2025-01-06 22:20:06] Production.INFO: Account Balance End.
[2025-01-06 22:20:06] Production.ERROR: CronJobId end 12
[2025-01-06 22:20:06] Production.INFO: ==1886== Releasing lock...
[2025-01-06 22:20:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:20:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14190573', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) end
[2025-01-06 22:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-06 22:20:09] Production.INFO: ProcessCDR(1,14190573,1,1,2)
[2025-01-06 22:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14190573,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14190573,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:20:09] Production.INFO: ==1890== Releasing lock...
[2025-01-06 22:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-06 22:20:09] Production.INFO: 26 MB #Memory Used#
[2025-01-06 22:20:14] Production.ERROR: CronJobId end10
[2025-01-06 22:20:14] Production.INFO: ==1883== Releasing lock...
[2025-01-06 22:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:20:16] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:20:16] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:20:16] Production.INFO: call_cost start
[2025-01-06 22:20:16] Production.INFO: call_cost end
[2025-01-06 22:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:20:17] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:20:17] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:20:17] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:20:17] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:20:17] Production.INFO: ==1879== Releasing lock...
[2025-01-06 22:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:20:18] Production.INFO: count ==821
[2025-01-06 22:20:18] Production.ERROR: pbx CDR StartTime 2025-01-06 19:20:05 - End Time 2025-01-06 22:20:05
[2025-01-06 22:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190574', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190574', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190574', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190574', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:20:19] Production.INFO: ProcessCDR(1,14190574,1,1,2)
[2025-01-06 22:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190574,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190574,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190574,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190574,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190574', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190574', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:20:22] Production.INFO: ==1888== Releasing lock...
[2025-01-06 22:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:20:22] Production.INFO: 33.5 MB #Memory Used#
[2025-01-07 03:21:02] Production.INFO: ==1950== Lock acquired, processing the job...
[2025-01-07 03:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:21:02] Production.INFO: neon service started
[2025-01-07 03:21:02] Production.INFO: neon service started
[2025-01-07 03:21:02] Production.INFO: ==1950== Releasing lock...
[2025-01-07 03:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:21:02] Production.INFO: ==1952== Lock acquired, processing the job...
[2025-01-06 22:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:21:02] Production.INFO: ==1954== Lock acquired, processing the job...
[2025-01-07 03:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:21:02] Production.INFO: ==1954== Releasing lock...
[2025-01-07 03:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:21:02] Production.INFO: ==1952== Releasing lock...
[2025-01-06 22:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 22:21:03] Production.INFO: ==1956== Lock acquired, processing the job...
[2025-01-06 22:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:21:03] Production.INFO: ==1958== Lock acquired, processing the job...
[2025-01-06 22:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:21:03] Production.INFO: ==1966== Lock acquired, processing the job...
[2025-01-06 22:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:21:03] Production.INFO: ==1962== Lock acquired, processing the job...
[2025-01-06 22:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:21:03] Production.INFO: count ==21
[2025-01-06 22:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:21:03] Production.INFO: count ==21
[2025-01-06 22:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190576') start
[2025-01-06 22:21:03] Production.INFO: ==1960== Lock acquired, processing the job...
[2025-01-06 22:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:21:03] Production.INFO: Account Balance Start.
[2025-01-06 22:21:03] Production.INFO: CreateAllLog Start
[2025-01-06 22:21:03] Production.INFO: 117
[2025-01-06 22:21:03] Production.INFO: Date 2024-12-08
[2025-01-06 22:21:03] Production.INFO: ==1964== Lock acquired, processing the job...
[2025-01-06 22:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190576') end
[2025-01-06 22:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:21:03] Production.INFO: 1
[2025-01-06 22:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:21:04] Production.INFO: ==1966== Releasing lock...
[2025-01-06 22:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:21:04] Production.INFO: ==1958== Releasing lock...
[2025-01-06 22:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:21:04] Production.INFO: Date 2024-12-09
[2025-01-06 22:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:21:04] Production.INFO: Date 2024-12-10
[2025-01-06 22:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:21:04] Production.INFO: Date 2024-12-11
[2025-01-06 22:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:21:04] Production.INFO: Date 2024-12-12
[2025-01-06 22:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:21:04] Production.INFO: Date 2024-12-13
[2025-01-06 22:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:21:04] Production.ERROR: done
[2025-01-06 22:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:21:04] Production.INFO: Date 2024-12-14
[2025-01-06 22:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:21:04] Production.INFO: Date 2024-12-15
[2025-01-06 22:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:21:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:21:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:21:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:21:04] Production.ERROR: done
[2025-01-06 22:21:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:21:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:21:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:21:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:21:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:21:04] Production.INFO: Date 2024-12-24
[2025-01-06 22:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:21:04] Production.INFO: Date 2024-12-25
[2025-01-06 22:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:21:04] Production.INFO: Date 2024-12-26
[2025-01-06 22:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:21:04] Production.INFO: Date 2024-12-27
[2025-01-06 22:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:21:05] Production.INFO: Date 2024-12-28
[2025-01-06 22:21:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:21:05] Production.INFO: Date 2024-12-29
[2025-01-06 22:21:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:21:05] Production.INFO: Date 2024-12-30
[2025-01-06 22:21:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:21:05] Production.INFO: Date 2024-12-31
[2025-01-06 22:21:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:21:05] Production.INFO: Date 2025-01-01
[2025-01-06 22:21:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:21:05] Production.INFO: Date 2025-01-02
[2025-01-06 22:21:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:21:05] Production.INFO: Date 2025-01-03
[2025-01-06 22:21:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:21:05] Production.INFO: Date 2025-01-04
[2025-01-06 22:21:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:21:05] Production.INFO: Date 2025-01-05
[2025-01-06 22:21:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:21:05] Production.INFO: Date 2025-01-06
[2025-01-06 22:21:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:21:05
[end_date_ymd] => 2025-01-06 22:21:05
[RateCDR] => 1
)
[2025-01-06 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-06 19:21:05' and `end` < '2025-01-06 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-06 22:21:05] Production.INFO: Total Charge 0
[2025-01-06 22:21:05] Production.INFO: CreateAllLog End
[2025-01-06 22:21:05] Production.INFO: Account Balance End.
[2025-01-06 22:21:05] Production.ERROR: CronJobId end 12
[2025-01-06 22:21:05] Production.INFO: ==1962== Releasing lock...
[2025-01-06 22:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:21:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:21:12] Production.ERROR: CronJobId end10
[2025-01-06 22:21:12] Production.INFO: ==1960== Releasing lock...
[2025-01-06 22:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:21:14] Production.INFO: call_cost start
[2025-01-06 22:21:14] Production.INFO: call_cost end
[2025-01-06 22:21:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:21:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:21:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:21:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:21:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:21:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:21:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:21:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:21:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:21:15] Production.INFO: ==1956== Releasing lock...
[2025-01-06 22:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:21:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:21:18] Production.INFO: count ==817
[2025-01-06 22:21:18] Production.ERROR: pbx CDR StartTime 2025-01-06 19:21:05 - End Time 2025-01-06 22:21:05
[2025-01-06 22:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190579', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190579', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190579', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190579', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:21:18] Production.INFO: ProcessCDR(1,14190579,1,1,2)
[2025-01-06 22:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190579,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190579,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190579,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190579,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190579', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190579', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:21:21] Production.INFO: ==1964== Releasing lock...
[2025-01-06 22:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:21:21] Production.INFO: 33.75 MB #Memory Used#
[2025-01-07 03:22:01] Production.INFO: ==2023== Lock acquired, processing the job...
[2025-01-07 03:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:22:01] Production.INFO: neon service started
[2025-01-07 03:22:01] Production.INFO: neon service started
[2025-01-07 03:22:01] Production.INFO: ==2023== Releasing lock...
[2025-01-07 03:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:22:02] Production.INFO: ==2025== Lock acquired, processing the job...
[2025-01-06 22:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:22:02] Production.INFO: ==2027== Lock acquired, processing the job...
[2025-01-07 03:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:22:02] Production.INFO: ==2027== Releasing lock...
[2025-01-07 03:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:22:02] Production.INFO: ==2025== Releasing lock...
[2025-01-06 22:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 22:22:03] Production.INFO: ==2030== Lock acquired, processing the job...
[2025-01-06 22:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:22:03] Production.INFO: ==2034== Lock acquired, processing the job...
[2025-01-06 22:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:22:03] Production.INFO: ==2036== Lock acquired, processing the job...
[2025-01-06 22:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:22:03] Production.INFO: ==2032== Lock acquired, processing the job...
[2025-01-06 22:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:22:03] Production.INFO: Account Balance Start.
[2025-01-06 22:22:03] Production.INFO: CreateAllLog Start
[2025-01-06 22:22:03] Production.INFO: 117
[2025-01-06 22:22:03] Production.INFO: Date 2024-12-08
[2025-01-06 22:22:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:22:03] Production.INFO: Date 2024-12-09
[2025-01-06 22:22:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:22:03] Production.INFO: ==2038== Lock acquired, processing the job...
[2025-01-06 22:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:22:03] Production.INFO: ==2040== Lock acquired, processing the job...
[2025-01-06 22:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:22:03] Production.INFO: Date 2024-12-10
[2025-01-06 22:22:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:22:03] Production.INFO: Date 2024-12-11
[2025-01-06 22:22:03] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 22:22:03] Production.INFO: count ==21
[2025-01-06 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-06 22:22:03] Production.INFO: Date 2024-12-12
[2025-01-06 22:22:03] Production.INFO: count ==21
[2025-01-06 22:22:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190583') start
[2025-01-06 22:22:04] Production.ERROR: done
[2025-01-06 22:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:22:04] Production.INFO: ==2032== Releasing lock...
[2025-01-06 22:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190583') end
[2025-01-06 22:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:22:04] Production.INFO: 1
[2025-01-06 22:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:22:04] Production.INFO: ==2040== Releasing lock...
[2025-01-06 22:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:22:04] Production.INFO: Date 2024-12-13
[2025-01-06 22:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:22:04] Production.INFO: Date 2024-12-14
[2025-01-06 22:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:22:04] Production.INFO: Date 2024-12-15
[2025-01-06 22:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:22:04] Production.ERROR: done
[2025-01-06 22:22:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:22:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:22:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:22:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:22:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:22:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:22:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:22:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:22:04] Production.INFO: Date 2024-12-24
[2025-01-06 22:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:22:04] Production.INFO: Date 2024-12-25
[2025-01-06 22:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:22:04] Production.INFO: Date 2024-12-26
[2025-01-06 22:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:22:04] Production.INFO: Date 2024-12-27
[2025-01-06 22:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:22:04] Production.INFO: Date 2024-12-28
[2025-01-06 22:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:22:04] Production.INFO: Date 2024-12-29
[2025-01-06 22:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:22:04] Production.INFO: Date 2024-12-30
[2025-01-06 22:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:22:04] Production.INFO: Date 2024-12-31
[2025-01-06 22:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:22:04] Production.INFO: Date 2025-01-01
[2025-01-06 22:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:22:04] Production.INFO: Date 2025-01-02
[2025-01-06 22:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:22:05] Production.INFO: Date 2025-01-03
[2025-01-06 22:22:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:22:05] Production.INFO: Date 2025-01-04
[2025-01-06 22:22:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:22:05] Production.INFO: Date 2025-01-05
[2025-01-06 22:22:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:22:05] Production.INFO: Date 2025-01-06
[2025-01-06 22:22:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:22:05
[end_date_ymd] => 2025-01-06 22:22:05
[RateCDR] => 1
)
[2025-01-06 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-06 19:22:05' and `end` < '2025-01-06 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-06 22:22:05] Production.INFO: Total Charge 0
[2025-01-06 22:22:05] Production.INFO: CreateAllLog End
[2025-01-06 22:22:05] Production.INFO: Account Balance End.
[2025-01-06 22:22:05] Production.ERROR: CronJobId end 12
[2025-01-06 22:22:05] Production.INFO: ==2036== Releasing lock...
[2025-01-06 22:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:22:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:22:12] Production.ERROR: CronJobId end10
[2025-01-06 22:22:12] Production.INFO: ==2034== Releasing lock...
[2025-01-06 22:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:22:13] Production.INFO: call_cost start
[2025-01-06 22:22:13] Production.INFO: call_cost end
[2025-01-06 22:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:22:14] Production.INFO: ==2030== Releasing lock...
[2025-01-06 22:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:22:17] Production.INFO: count ==817
[2025-01-06 22:22:18] Production.ERROR: pbx CDR StartTime 2025-01-06 19:22:05 - End Time 2025-01-06 22:22:05
[2025-01-06 22:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190584', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190584', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190584', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190584', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:22:18] Production.INFO: ProcessCDR(1,14190584,1,1,2)
[2025-01-06 22:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190584,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190584,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190584,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190584,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190584', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190584', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:22:21] Production.INFO: ==2038== Releasing lock...
[2025-01-06 22:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:22:21] Production.INFO: 33.75 MB #Memory Used#
[2025-01-07 03:23:02] Production.INFO: ==2093== Lock acquired, processing the job...
[2025-01-07 03:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:23:02] Production.INFO: neon service started
[2025-01-07 03:23:02] Production.INFO: neon service started
[2025-01-07 03:23:02] Production.INFO: ==2093== Releasing lock...
[2025-01-07 03:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:23:02] Production.INFO: ==2095== Lock acquired, processing the job...
[2025-01-06 22:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:23:02] Production.INFO: ==2097== Lock acquired, processing the job...
[2025-01-07 03:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-06 22:23:02] Production.INFO: ==2095== Releasing lock...
[2025-01-06 22:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:23:02] Production.INFO: ==2097== Releasing lock...
[2025-01-07 03:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:23:03] Production.INFO: ==2099== Lock acquired, processing the job...
[2025-01-06 22:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:23:03] Production.INFO: ==2101== Lock acquired, processing the job...
[2025-01-06 22:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:23:03] Production.INFO: ==2105== Lock acquired, processing the job...
[2025-01-06 22:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:23:03] Production.INFO: ==2103== Lock acquired, processing the job...
[2025-01-06 22:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:23:03] Production.INFO: Account Balance Start.
[2025-01-06 22:23:03] Production.INFO: CreateAllLog Start
[2025-01-06 22:23:03] Production.INFO: 117
[2025-01-06 22:23:03] Production.INFO: Date 2024-12-08
[2025-01-06 22:23:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:23:03] Production.INFO: ==2107== Lock acquired, processing the job...
[2025-01-06 22:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:23:03] Production.INFO: ==2101== Releasing lock...
[2025-01-06 22:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:23:03] Production.INFO: Date 2024-12-09
[2025-01-06 22:23:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:23:03] Production.INFO: Date 2024-12-10
[2025-01-06 22:23:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:23:03] Production.INFO: Date 2024-12-11
[2025-01-06 22:23:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:23:03] Production.INFO: ==2109== Lock acquired, processing the job...
[2025-01-06 22:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:23:03] Production.INFO: Date 2024-12-12
[2025-01-06 22:23:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:23:04] Production.INFO: Date 2024-12-13
[2025-01-06 22:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:23:04] Production.INFO: count ==21
[2025-01-06 22:23:04] Production.ERROR: done
[2025-01-06 22:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:23:04] Production.INFO: count ==21
[2025-01-06 22:23:04] Production.INFO: Date 2024-12-14
[2025-01-06 22:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190588') start
[2025-01-06 22:23:04] Production.INFO: Date 2024-12-15
[2025-01-06 22:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190588') end
[2025-01-06 22:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:23:04] Production.INFO: 1
[2025-01-06 22:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:23:04] Production.ERROR: done
[2025-01-06 22:23:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:23:04] Production.INFO: ==2109== Releasing lock...
[2025-01-06 22:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:23:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:23:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:23:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:23:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:23:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:23:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:23:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:23:05] Production.INFO: Date 2024-12-24
[2025-01-06 22:23:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:23:05] Production.INFO: Date 2024-12-25
[2025-01-06 22:23:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:23:05] Production.INFO: Date 2024-12-26
[2025-01-06 22:23:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:23:05] Production.INFO: Date 2024-12-27
[2025-01-06 22:23:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:23:05] Production.INFO: Date 2024-12-28
[2025-01-06 22:23:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:23:05] Production.INFO: Date 2024-12-29
[2025-01-06 22:23:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:23:05] Production.INFO: Date 2024-12-30
[2025-01-06 22:23:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:23:05] Production.INFO: Date 2024-12-31
[2025-01-06 22:23:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:23:05] Production.INFO: Date 2025-01-01
[2025-01-06 22:23:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:23:05
[end_date_ymd] => 2025-01-06 22:23:05
[RateCDR] => 1
)
[2025-01-06 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-06 19:23:05' and `end` < '2025-01-06 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-06 22:23:05] Production.INFO: Date 2025-01-02
[2025-01-06 22:23:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:23:05] Production.INFO: Date 2025-01-03
[2025-01-06 22:23:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:23:05] Production.INFO: Date 2025-01-04
[2025-01-06 22:23:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:23:05] Production.INFO: Date 2025-01-05
[2025-01-06 22:23:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:23:05] Production.INFO: Date 2025-01-06
[2025-01-06 22:23:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:23:05] Production.INFO: Total Charge 0
[2025-01-06 22:23:05] Production.INFO: CreateAllLog End
[2025-01-06 22:23:05] Production.INFO: Account Balance End.
[2025-01-06 22:23:05] Production.ERROR: CronJobId end 12
[2025-01-06 22:23:05] Production.INFO: ==2105== Releasing lock...
[2025-01-06 22:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:23:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:23:12] Production.ERROR: CronJobId end10
[2025-01-06 22:23:12] Production.INFO: ==2103== Releasing lock...
[2025-01-06 22:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:23:14] Production.INFO: call_cost start
[2025-01-06 22:23:14] Production.INFO: call_cost end
[2025-01-06 22:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:23:14] Production.INFO: ==2099== Releasing lock...
[2025-01-06 22:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:23:18] Production.INFO: count ==815
[2025-01-06 22:23:18] Production.ERROR: pbx CDR StartTime 2025-01-06 19:23:05 - End Time 2025-01-06 22:23:05
[2025-01-06 22:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190589', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190589', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190589', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190589', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:23:18] Production.INFO: ProcessCDR(1,14190589,1,1,2)
[2025-01-06 22:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190589,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190589,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190589,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190589,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190589', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190589', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:23:21] Production.INFO: ==2107== Releasing lock...
[2025-01-06 22:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:23:21] Production.INFO: 33.25 MB #Memory Used#
[2025-01-07 03:24:01] Production.INFO: ==2166== Lock acquired, processing the job...
[2025-01-07 03:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:24:01] Production.INFO: neon service started
[2025-01-07 03:24:01] Production.INFO: neon service started
[2025-01-07 03:24:01] Production.INFO: ==2166== Releasing lock...
[2025-01-07 03:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:24:02] Production.INFO: ==2168== Lock acquired, processing the job...
[2025-01-06 22:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:24:02] Production.INFO: ==2170== Lock acquired, processing the job...
[2025-01-07 03:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:24:02] Production.INFO: ==2170== Releasing lock...
[2025-01-07 03:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:24:02] Production.INFO: ==2168== Releasing lock...
[2025-01-06 22:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 22:24:03] Production.INFO: ==2173== Lock acquired, processing the job...
[2025-01-06 22:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:24:03] Production.INFO: ==2177== Lock acquired, processing the job...
[2025-01-06 22:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:24:03] Production.INFO: ==2175== Lock acquired, processing the job...
[2025-01-06 22:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:24:03] Production.INFO: ==2181== Lock acquired, processing the job...
[2025-01-06 22:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:24:03] Production.INFO: ==2179== Lock acquired, processing the job...
[2025-01-06 22:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:24:03] Production.INFO: ==2183== Lock acquired, processing the job...
[2025-01-06 22:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:24:03] Production.INFO: ==2175== Releasing lock...
[2025-01-06 22:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 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-06 22:24:04] Production.INFO: count ==21
[2025-01-06 22:24:04] Production.INFO: Account Balance Start.
[2025-01-06 22:24:04] Production.INFO: CreateAllLog Start
[2025-01-06 22:24:04] Production.INFO: 117
[2025-01-06 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-06 22:24:04] Production.INFO: count ==21
[2025-01-06 22:24:04] Production.ERROR: done
[2025-01-06 22:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190592') start
[2025-01-06 22:24:04] Production.INFO: Date 2024-12-08
[2025-01-06 22:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:24:04] Production.INFO: Date 2024-12-09
[2025-01-06 22:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190592') end
[2025-01-06 22:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:24:04] Production.INFO: 1
[2025-01-06 22:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:24:04] Production.INFO: Date 2024-12-10
[2025-01-06 22:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:24:04] Production.ERROR: done
[2025-01-06 22:24:04] Production.INFO: Date 2024-12-11
[2025-01-06 22:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:24:04] Production.INFO: ==2183== Releasing lock...
[2025-01-06 22:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:24:04] Production.INFO: Date 2024-12-12
[2025-01-06 22:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:24:04] Production.INFO: Date 2024-12-13
[2025-01-06 22:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:24:04] Production.INFO: Date 2024-12-14
[2025-01-06 22:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:24:04] Production.INFO: Date 2024-12-15
[2025-01-06 22:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:24:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:24:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:24:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:24:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:24:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:24:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:24:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:24:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:24:05] Production.INFO: Date 2024-12-24
[2025-01-06 22:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:24:05] Production.INFO: Date 2024-12-25
[2025-01-06 22:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:24:05] Production.INFO: Date 2024-12-26
[2025-01-06 22:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:24:05] Production.INFO: Date 2024-12-27
[2025-01-06 22:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:24:05] Production.INFO: Date 2024-12-28
[2025-01-06 22:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:24:05] Production.INFO: Date 2024-12-29
[2025-01-06 22:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:24:05] Production.INFO: Date 2024-12-30
[2025-01-06 22:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:24:05] Production.INFO: Date 2024-12-31
[2025-01-06 22:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:24:05] Production.INFO: Date 2025-01-01
[2025-01-06 22:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:24:05] Production.INFO: Date 2025-01-02
[2025-01-06 22:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:24:05] Production.INFO: Date 2025-01-03
[2025-01-06 22:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:24:05] Production.INFO: Date 2025-01-04
[2025-01-06 22:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:24:05] Production.INFO: Date 2025-01-05
[2025-01-06 22:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:24:05] Production.INFO: Date 2025-01-06
[2025-01-06 22:24:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:24:05] Production.INFO: Total Charge 0
[2025-01-06 22:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:24:05
[end_date_ymd] => 2025-01-06 22:24:05
[RateCDR] => 1
)
[2025-01-06 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-06 19:24:05' and `end` < '2025-01-06 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-06 22:24:05] Production.INFO: CreateAllLog End
[2025-01-06 22:24:05] Production.INFO: Account Balance End.
[2025-01-06 22:24:05] Production.ERROR: CronJobId end 12
[2025-01-06 22:24:05] Production.INFO: ==2179== Releasing lock...
[2025-01-06 22:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:24:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:24:11] Production.ERROR: CronJobId end10
[2025-01-06 22:24:11] Production.INFO: ==2177== Releasing lock...
[2025-01-06 22:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:24:13] Production.INFO: call_cost start
[2025-01-06 22:24:13] Production.INFO: call_cost end
[2025-01-06 22:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:24:14] Production.INFO: ==2173== Releasing lock...
[2025-01-06 22:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:24:19] Production.INFO: count ==817
[2025-01-06 22:24:19] Production.ERROR: pbx CDR StartTime 2025-01-06 19:24:05 - End Time 2025-01-06 22:24:05
[2025-01-06 22:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190594', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190594', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190594', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190594', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:24:19] Production.INFO: ProcessCDR(1,14190594,1,1,2)
[2025-01-06 22:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190594,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:24:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190594,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:24:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190594,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:24:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190594,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:24:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190594', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:24:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190594', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:24:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:24:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:24:24] Production.INFO: ==2181== Releasing lock...
[2025-01-06 22:24:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:24:24] Production.INFO: 33.5 MB #Memory Used#
[2025-01-07 03:25:02] Production.INFO: ==2239== Lock acquired, processing the job...
[2025-01-07 03:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:25:02] Production.INFO: neon service started
[2025-01-07 03:25:02] Production.INFO: neon service started
[2025-01-07 03:25:02] Production.INFO: ==2239== Releasing lock...
[2025-01-07 03:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:25:02] Production.INFO: ==2241== Lock acquired, processing the job...
[2025-01-06 22:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 22:25:02] Production.INFO: ==2241== Releasing lock...
[2025-01-06 22:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:25:02] Production.INFO: ==2243== Lock acquired, processing the job...
[2025-01-07 03:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:25:02] Production.INFO: ==2243== Releasing lock...
[2025-01-07 03:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:25:03] Production.INFO: ==2249== Lock acquired, processing the job...
[2025-01-06 22:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:25:03] Production.INFO: ==2255== Lock acquired, processing the job...
[2025-01-06 22:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 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-06 22:25:03] Production.INFO: ==2245== Lock acquired, processing the job...
[2025-01-06 22:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:25:03] Production.INFO: ==2247== Lock acquired, processing the job...
[2025-01-06 22:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:25:03] Production.INFO: count ==21
[2025-01-06 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-06 22:25:03] Production.INFO: count ==21
[2025-01-06 22:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190595') start
[2025-01-06 22:25:03] Production.INFO: ==2253== Lock acquired, processing the job...
[2025-01-06 22:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:25:03] Production.INFO: ==2251== Lock acquired, processing the job...
[2025-01-06 22:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190595') end
[2025-01-06 22:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:25:03] Production.INFO: 1
[2025-01-06 22:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:25:03] Production.INFO: Account Balance Start.
[2025-01-06 22:25:03] Production.INFO: CreateAllLog Start
[2025-01-06 22:25:03] Production.INFO: 117
[2025-01-06 22:25:03] Production.INFO: Date 2024-12-08
[2025-01-06 22:25:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:25:03] Production.INFO: Date 2024-12-09
[2025-01-06 22:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:25:04] Production.INFO: Date 2024-12-10
[2025-01-06 22:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:25:04] Production.INFO: ==2247== Releasing lock...
[2025-01-06 22:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:25:04] Production.INFO: ==2255== Releasing lock...
[2025-01-06 22:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:25:04] Production.INFO: Date 2024-12-11
[2025-01-06 22:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:25:04] Production.INFO: Date 2024-12-12
[2025-01-06 22:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:25:04] Production.INFO: Date 2024-12-13
[2025-01-06 22:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:25:04] Production.ERROR: done
[2025-01-06 22:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:25:04] Production.INFO: Date 2024-12-14
[2025-01-06 22:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:25:04] Production.ERROR: done
[2025-01-06 22:25:04] Production.INFO: Date 2024-12-15
[2025-01-06 22:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:25:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:25:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:25:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:25:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:25:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:25:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:25:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:25:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:25:04] Production.INFO: Date 2024-12-24
[2025-01-06 22:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:25:04] Production.INFO: Date 2024-12-25
[2025-01-06 22:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:25:04] Production.INFO: Date 2024-12-26
[2025-01-06 22:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:25:04] Production.INFO: Date 2024-12-27
[2025-01-06 22:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:25:04] Production.INFO: Date 2024-12-28
[2025-01-06 22:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:25:04] Production.INFO: Date 2024-12-29
[2025-01-06 22:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:25:04] Production.INFO: Date 2024-12-30
[2025-01-06 22:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:25:04] Production.INFO: Date 2024-12-31
[2025-01-06 22:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:25:05] Production.INFO: Date 2025-01-01
[2025-01-06 22:25:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:25:05] Production.INFO: Date 2025-01-02
[2025-01-06 22:25:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:25:05] Production.INFO: Date 2025-01-03
[2025-01-06 22:25:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:25:05] Production.INFO: Date 2025-01-04
[2025-01-06 22:25:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:25:05] Production.INFO: Date 2025-01-05
[2025-01-06 22:25:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:25:05] Production.INFO: Date 2025-01-06
[2025-01-06 22:25:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:25:05] Production.INFO: Total Charge 0
[2025-01-06 22:25:05] Production.INFO: CreateAllLog End
[2025-01-06 22:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:25:05
[end_date_ymd] => 2025-01-06 22:25:05
[RateCDR] => 1
)
[2025-01-06 22:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 19:25:05' and `end` < '2025-01-06 22:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 22:25:05] Production.INFO: Account Balance End.
[2025-01-06 22:25:05] Production.ERROR: CronJobId end 12
[2025-01-06 22:25:05] Production.INFO: ==2251== Releasing lock...
[2025-01-06 22:25:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:25:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:25:12] Production.ERROR: CronJobId end10
[2025-01-06 22:25:12] Production.INFO: ==2249== Releasing lock...
[2025-01-06 22:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:25:14] Production.INFO: call_cost start
[2025-01-06 22:25:14] Production.INFO: call_cost end
[2025-01-06 22:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:25:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:25:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:25:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:25:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:25:15] Production.INFO: ==2245== Releasing lock...
[2025-01-06 22:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:25:19] Production.INFO: count ==817
[2025-01-06 22:25:19] Production.ERROR: pbx CDR StartTime 2025-01-06 19:25:05 - End Time 2025-01-06 22:25:05
[2025-01-06 22:25:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190599', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190599', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190599', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190599', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:25:19] Production.INFO: ProcessCDR(1,14190599,1,1,2)
[2025-01-06 22:25:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190599,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:25:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190599,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:25:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190599,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190599,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190599', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190599', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:25:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:25:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:25:22] Production.INFO: ==2253== Releasing lock...
[2025-01-06 22:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:25:22] Production.INFO: 33.5 MB #Memory Used#
[2025-01-07 03:26:01] Production.INFO: ==2309== Lock acquired, processing the job...
[2025-01-07 03:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:26:01] Production.INFO: neon service started
[2025-01-07 03:26:01] Production.INFO: neon service started
[2025-01-07 03:26:01] Production.INFO: ==2309== Releasing lock...
[2025-01-07 03:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:26:01] Production.INFO: ==2313== Lock acquired, processing the job...
[2025-01-07 03:26:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:26:01] Production.INFO: ==2313== Releasing lock...
[2025-01-07 03:26:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:26:01] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:26:02] Production.INFO: ==2311== Lock acquired, processing the job...
[2025-01-06 22:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 22:26:02] Production.INFO: ==2311== Releasing lock...
[2025-01-06 22:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 22:26:03] Production.INFO: ==2318== Lock acquired, processing the job...
[2025-01-06 22:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:26:03] Production.INFO: ==2320== Lock acquired, processing the job...
[2025-01-06 22:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:26:03] Production.INFO: ==2315== Lock acquired, processing the job...
[2025-01-06 22:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:26:03] Production.INFO: ==2326== Lock acquired, processing the job...
[2025-01-06 22:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:26:03] Production.INFO: ==2318== Releasing lock...
[2025-01-06 22:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 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-06 22:26:03] Production.INFO: ==2324== Lock acquired, processing the job...
[2025-01-06 22:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:26:03] Production.INFO: count ==21
[2025-01-06 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-06 22:26:03] Production.INFO: ==2322== Lock acquired, processing the job...
[2025-01-06 22:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:26:03] Production.INFO: count ==21
[2025-01-06 22:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190602') start
[2025-01-06 22:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:26:03] Production.INFO: Account Balance Start.
[2025-01-06 22:26:03] Production.INFO: CreateAllLog Start
[2025-01-06 22:26:03] Production.INFO: 117
[2025-01-06 22:26:03] Production.INFO: Date 2024-12-08
[2025-01-06 22:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190602') end
[2025-01-06 22:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:26:04] Production.INFO: 1
[2025-01-06 22:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:26:04] Production.INFO: Date 2024-12-09
[2025-01-06 22:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:26:04] Production.INFO: ==2326== Releasing lock...
[2025-01-06 22:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:26:04] Production.INFO: Date 2024-12-10
[2025-01-06 22:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:26:04] Production.INFO: Date 2024-12-11
[2025-01-06 22:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:26:04] Production.ERROR: done
[2025-01-06 22:26:04] Production.INFO: Date 2024-12-12
[2025-01-06 22:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:26:04] Production.INFO: Date 2024-12-13
[2025-01-06 22:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:26:04] Production.INFO: Date 2024-12-14
[2025-01-06 22:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:26:04] Production.INFO: Date 2024-12-15
[2025-01-06 22:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:26:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:26:04] Production.ERROR: done
[2025-01-06 22:26:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:26:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:26:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:26:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:26:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:26:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:26:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:26:04] Production.INFO: Date 2024-12-24
[2025-01-06 22:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:26:04] Production.INFO: Date 2024-12-25
[2025-01-06 22:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:26:04] Production.INFO: Date 2024-12-26
[2025-01-06 22:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:26:04] Production.INFO: Date 2024-12-27
[2025-01-06 22:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:26:04] Production.INFO: Date 2024-12-28
[2025-01-06 22:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:26:04] Production.INFO: Date 2024-12-29
[2025-01-06 22:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:26:04] Production.INFO: Date 2024-12-30
[2025-01-06 22:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:26:05] Production.INFO: Date 2024-12-31
[2025-01-06 22:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:26:05] Production.INFO: Date 2025-01-01
[2025-01-06 22:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:26:05] Production.INFO: Date 2025-01-02
[2025-01-06 22:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:26:05] Production.INFO: Date 2025-01-03
[2025-01-06 22:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:26:05] Production.INFO: Date 2025-01-04
[2025-01-06 22:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:26:05] Production.INFO: Date 2025-01-05
[2025-01-06 22:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:26:05] Production.INFO: Date 2025-01-06
[2025-01-06 22:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:26:05] Production.INFO: Total Charge 0
[2025-01-06 22:26:05] Production.INFO: CreateAllLog End
[2025-01-06 22:26:05] Production.INFO: Account Balance End.
[2025-01-06 22:26:05] Production.ERROR: CronJobId end 12
[2025-01-06 22:26:05] Production.INFO: ==2322== Releasing lock...
[2025-01-06 22:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:26:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:26:05
[end_date_ymd] => 2025-01-06 22:26:05
[RateCDR] => 1
)
[2025-01-06 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-06 19:26:05' and `end` < '2025-01-06 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-06 22:26:13] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:362
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(362): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_update...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(363): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#4 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->statement()
#5 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::getOutstandingAmount()
#6 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_updateSOAOffSet(1,0))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(363): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#2 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->statement()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::getOutstandingAmount()
#4 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#7 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 {main}
[2025-01-06 22:26:13] Production.ERROR: CronJobId end10
[2025-01-06 22:26:13] Production.INFO: ==2320== Releasing lock...
[2025-01-06 22:26:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:26:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:26:14] Production.INFO: call_cost start
[2025-01-06 22:26:14] Production.INFO: call_cost end
[2025-01-06 22:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:26:14] Production.INFO: ==2315== Releasing lock...
[2025-01-06 22:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:26:19] Production.INFO: count ==816
[2025-01-06 22:26:20] Production.ERROR: pbx CDR StartTime 2025-01-06 19:26:05 - End Time 2025-01-06 22:26:05
[2025-01-06 22:26:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190604', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190604', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190604', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190604', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:26:20] Production.INFO: ProcessCDR(1,14190604,1,1,2)
[2025-01-06 22:26:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190604,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:26:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190604,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:26:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190604,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:26:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190604,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190604', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190604', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:26:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:26:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:26:23] Production.INFO: ==2324== Releasing lock...
[2025-01-06 22:26:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:26:23] Production.INFO: 33.5 MB #Memory Used#
[2025-01-07 03:27:01] Production.INFO: ==2382== Lock acquired, processing the job...
[2025-01-07 03:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:27:01] Production.INFO: neon service started
[2025-01-07 03:27:02] Production.INFO: neon service started
[2025-01-07 03:27:02] Production.INFO: ==2382== Releasing lock...
[2025-01-07 03:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:27:02] Production.INFO: ==2384== Lock acquired, processing the job...
[2025-01-06 22:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 22:27:02] Production.INFO: ==2384== Releasing lock...
[2025-01-06 22:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:27:02] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:27:02] Production.INFO: ==2386== Lock acquired, processing the job...
[2025-01-07 03:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:27:02] Production.INFO: ==2386== Releasing lock...
[2025-01-07 03:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:27:03] Production.INFO: ==2396== Lock acquired, processing the job...
[2025-01-06 22:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:27:03] Production.INFO: ==2388== Lock acquired, processing the job...
[2025-01-06 22:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:27:03] Production.INFO: ==2398== Lock acquired, processing the job...
[2025-01-06 22:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:27:03] Production.INFO: ==2390== Lock acquired, processing the job...
[2025-01-06 22:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:27:03] Production.INFO: ==2392== Lock acquired, processing the job...
[2025-01-06 22:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:27:03] Production.INFO: ==2394== Lock acquired, processing the job...
[2025-01-06 22:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:27:03] Production.INFO: Account Balance Start.
[2025-01-06 22:27:03] Production.INFO: CreateAllLog Start
[2025-01-06 22:27:03] Production.INFO: 117
[2025-01-06 22:27:03] Production.INFO: count ==21
[2025-01-06 22:27:03] Production.INFO: Date 2024-12-08
[2025-01-06 22:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:27:03] Production.INFO: count ==21
[2025-01-06 22:27:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190606') start
[2025-01-06 22:27:03] Production.ERROR: done
[2025-01-06 22:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:27:03] Production.INFO: Date 2024-12-09
[2025-01-06 22:27:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:27:04] Production.INFO: Date 2024-12-10
[2025-01-06 22:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:27:04] Production.INFO: Date 2024-12-11
[2025-01-06 22:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190606') end
[2025-01-06 22:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:27:04] Production.INFO: 1
[2025-01-06 22:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:27:04] Production.INFO: ==2390== Releasing lock...
[2025-01-06 22:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:27:04] Production.ERROR: done
[2025-01-06 22:27:04] Production.INFO: ==2398== Releasing lock...
[2025-01-06 22:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:27:04] Production.INFO: Date 2024-12-12
[2025-01-06 22:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:27:04] Production.INFO: Date 2024-12-13
[2025-01-06 22:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:27:04] Production.INFO: Date 2024-12-14
[2025-01-06 22:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:27:04] Production.INFO: Date 2024-12-15
[2025-01-06 22:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:27:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:27:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:27:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:27:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:27:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:27:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:27:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:27:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:27:04] Production.INFO: Date 2024-12-24
[2025-01-06 22:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:27:04] Production.INFO: Date 2024-12-25
[2025-01-06 22:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:27:04] Production.INFO: Date 2024-12-26
[2025-01-06 22:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:27:04] Production.INFO: Date 2024-12-27
[2025-01-06 22:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:27:04] Production.INFO: Date 2024-12-28
[2025-01-06 22:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:27:04] Production.INFO: Date 2024-12-29
[2025-01-06 22:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:27:04] Production.INFO: Date 2024-12-30
[2025-01-06 22:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:27:04] Production.INFO: Date 2024-12-31
[2025-01-06 22:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:27:04] Production.INFO: Date 2025-01-01
[2025-01-06 22:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:27:05] Production.INFO: Date 2025-01-02
[2025-01-06 22:27:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:27:05] Production.INFO: Date 2025-01-03
[2025-01-06 22:27:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:27:05] Production.INFO: Date 2025-01-04
[2025-01-06 22:27:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:27:05] Production.INFO: Date 2025-01-05
[2025-01-06 22:27:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:27:05] Production.INFO: Date 2025-01-06
[2025-01-06 22:27:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:27:05] Production.INFO: Total Charge 0
[2025-01-06 22:27:05] Production.INFO: CreateAllLog End
[2025-01-06 22:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:27:05
[end_date_ymd] => 2025-01-06 22:27:05
[RateCDR] => 1
)
[2025-01-06 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-06 19:27:05' and `end` < '2025-01-06 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-06 22:27:05] Production.INFO: Account Balance End.
[2025-01-06 22:27:05] Production.ERROR: CronJobId end 12
[2025-01-06 22:27:05] Production.INFO: ==2394== Releasing lock...
[2025-01-06 22:27:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:27:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:27:12] Production.ERROR: CronJobId end10
[2025-01-06 22:27:12] Production.INFO: ==2392== Releasing lock...
[2025-01-06 22:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:27:14] Production.INFO: call_cost start
[2025-01-06 22:27:14] Production.INFO: call_cost end
[2025-01-06 22:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:27:14] Production.INFO: ==2388== Releasing lock...
[2025-01-06 22:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:27:19] Production.INFO: count ==814
[2025-01-06 22:27:19] Production.ERROR: pbx CDR StartTime 2025-01-06 19:27:05 - End Time 2025-01-06 22:27:05
[2025-01-06 22:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190609', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190609', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190609', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190609', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:27:19] Production.INFO: ProcessCDR(1,14190609,1,1,2)
[2025-01-06 22:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190609,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:27:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190609,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:27:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190609,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190609,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190609', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190609', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:27:22] Production.INFO: ==2396== Releasing lock...
[2025-01-06 22:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:27:22] Production.INFO: 33.25 MB #Memory Used#
[2025-01-07 03:28:01] Production.INFO: ==2452== Lock acquired, processing the job...
[2025-01-07 03:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:28:01] Production.INFO: neon service started
[2025-01-07 03:28:01] Production.INFO: neon service started
[2025-01-07 03:28:01] Production.INFO: ==2452== Releasing lock...
[2025-01-07 03:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:28:01] Production.INFO: ==2456== Lock acquired, processing the job...
[2025-01-07 03:28:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:28:01] Production.INFO: ==2456== Releasing lock...
[2025-01-07 03:28:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:28:01] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:28:01] Production.INFO: ==2454== Lock acquired, processing the job...
[2025-01-06 22:28:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 22:28:02] Production.INFO: ==2454== Releasing lock...
[2025-01-06 22:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 22:28:02] Production.INFO: ==2459== Lock acquired, processing the job...
[2025-01-06 22:28:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:28:03] Production.INFO: ==2463== Lock acquired, processing the job...
[2025-01-06 22:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:28:03] Production.INFO: ==2467== Lock acquired, processing the job...
[2025-01-06 22:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:28:03] Production.INFO: ==2461== Lock acquired, processing the job...
[2025-01-06 22:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:28:03] Production.INFO: ==2465== Lock acquired, processing the job...
[2025-01-06 22:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:28:03] Production.INFO: ==2469== Lock acquired, processing the job...
[2025-01-06 22:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:28:03] Production.INFO: Account Balance Start.
[2025-01-06 22:28:03] Production.INFO: CreateAllLog Start
[2025-01-06 22:28:03] Production.INFO: 117
[2025-01-06 22:28:03] Production.INFO: Date 2024-12-08
[2025-01-06 22:28:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:28:03] Production.INFO: Date 2024-12-09
[2025-01-06 22:28:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:28:03] Production.INFO: Date 2024-12-10
[2025-01-06 22:28:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:28:03] Production.ERROR: done
[2025-01-06 22:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:28:03] Production.INFO: Date 2024-12-11
[2025-01-06 22:28:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:28:03] Production.INFO: count ==21
[2025-01-06 22:28:03] Production.INFO: ==2461== Releasing lock...
[2025-01-06 22:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:28:03] Production.INFO: Date 2024-12-12
[2025-01-06 22:28:03] Production.INFO: count ==21
[2025-01-06 22:28:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190613') start
[2025-01-06 22:28:03] Production.ERROR: done
[2025-01-06 22:28:03] Production.INFO: Date 2024-12-13
[2025-01-06 22:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190613') end
[2025-01-06 22:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:28:04] Production.INFO: 1
[2025-01-06 22:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:28:04] Production.INFO: Date 2024-12-14
[2025-01-06 22:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:28:04] Production.INFO: Date 2024-12-15
[2025-01-06 22:28:04] Production.INFO: ==2469== Releasing lock...
[2025-01-06 22:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:28:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:28:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:28:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:28:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:28:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:28:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:28:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:28:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:28:04] Production.INFO: Date 2024-12-24
[2025-01-06 22:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:28:04] Production.INFO: Date 2024-12-25
[2025-01-06 22:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:28:04] Production.INFO: Date 2024-12-26
[2025-01-06 22:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:28:04] Production.INFO: Date 2024-12-27
[2025-01-06 22:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:28:04] Production.INFO: Date 2024-12-28
[2025-01-06 22:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:28:04] Production.INFO: Date 2024-12-29
[2025-01-06 22:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:28:04] Production.INFO: Date 2024-12-30
[2025-01-06 22:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:28:04] Production.INFO: Date 2024-12-31
[2025-01-06 22:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:28:04] Production.INFO: Date 2025-01-01
[2025-01-06 22:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:28:04] Production.INFO: Date 2025-01-02
[2025-01-06 22:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:28:04] Production.INFO: Date 2025-01-03
[2025-01-06 22:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:28:04] Production.INFO: Date 2025-01-04
[2025-01-06 22:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:28:04] Production.INFO: Date 2025-01-05
[2025-01-06 22:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:28:04] Production.INFO: Date 2025-01-06
[2025-01-06 22:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:28:05] Production.INFO: Total Charge 0
[2025-01-06 22:28:05] Production.INFO: CreateAllLog End
[2025-01-06 22:28:05] Production.INFO: Account Balance End.
[2025-01-06 22:28:05] Production.ERROR: CronJobId end 12
[2025-01-06 22:28:05] Production.INFO: ==2465== Releasing lock...
[2025-01-06 22:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:28:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:28:05
[end_date_ymd] => 2025-01-06 22:28:05
[RateCDR] => 1
)
[2025-01-06 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-06 19:28:05' and `end` < '2025-01-06 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-06 22:28:12] Production.ERROR: CronJobId end10
[2025-01-06 22:28:12] Production.INFO: ==2463== Releasing lock...
[2025-01-06 22:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:28:13] Production.INFO: call_cost start
[2025-01-06 22:28:13] Production.INFO: call_cost end
[2025-01-06 22:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:28:14] Production.INFO: ==2459== Releasing lock...
[2025-01-06 22:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:28:18] Production.INFO: count ==813
[2025-01-06 22:28:18] Production.ERROR: pbx CDR StartTime 2025-01-06 19:28:05 - End Time 2025-01-06 22:28:05
[2025-01-06 22:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190614', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190614', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190614', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190614', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:28:18] Production.INFO: ProcessCDR(1,14190614,1,1,2)
[2025-01-06 22:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190614,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190614,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190614,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190614,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190614', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190614', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:28:21] Production.INFO: ==2467== Releasing lock...
[2025-01-06 22:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:28:21] Production.INFO: 33.5 MB #Memory Used#
[2025-01-07 03:29:01] Production.INFO: ==2529== Lock acquired, processing the job...
[2025-01-07 03:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:29:01] Production.INFO: neon service started
[2025-01-07 03:29:01] Production.INFO: neon service started
[2025-01-07 03:29:01] Production.INFO: ==2529== Releasing lock...
[2025-01-07 03:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:29:02] Production.INFO: ==2531== Lock acquired, processing the job...
[2025-01-06 22:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:29:02] Production.INFO: ==2533== Lock acquired, processing the job...
[2025-01-07 03:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:29:02] Production.INFO: ==2533== Releasing lock...
[2025-01-07 03:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:29:02] Production.INFO: ==2531== Releasing lock...
[2025-01-06 22:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 22:29:03] Production.INFO: ==2538== Lock acquired, processing the job...
[2025-01-06 22:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:29:03] Production.INFO: ==2542== Lock acquired, processing the job...
[2025-01-06 22:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:29:03] Production.INFO: Account Balance Start.
[2025-01-06 22:29:03] Production.INFO: CreateAllLog Start
[2025-01-06 22:29:03] Production.INFO: 117
[2025-01-06 22:29:03] Production.INFO: Date 2024-12-08
[2025-01-06 22:29:03] Production.INFO: ==2544== Lock acquired, processing the job...
[2025-01-06 22:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:29:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:29:03] Production.INFO: Date 2024-12-09
[2025-01-06 22:29:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:29:03] Production.INFO: Date 2024-12-10
[2025-01-06 22:29:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:29:03] Production.INFO: Date 2024-12-11
[2025-01-06 22:29:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:29:03] Production.INFO: ==2536== Lock acquired, processing the job...
[2025-01-06 22:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:29:03] Production.INFO: Date 2024-12-12
[2025-01-06 22:29:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:29:03] Production.INFO: Date 2024-12-13
[2025-01-06 22:29:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:29:03] Production.INFO: ==2538== Releasing lock...
[2025-01-06 22:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:29:03] Production.INFO: ==2540== Lock acquired, processing the job...
[2025-01-06 22:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:29:03] Production.INFO: Date 2024-12-14
[2025-01-06 22:29:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:29:03] Production.INFO: Date 2024-12-15
[2025-01-06 22:29:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:29:03] Production.INFO: ==2546== Lock acquired, processing the job...
[2025-01-06 22:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:29:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:29:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:29:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:29:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:29:04] Production.ERROR: done
[2025-01-06 22:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:29:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:29:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:29:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:29:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:29:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:29:04] Production.ERROR: done
[2025-01-06 22:29:04] Production.INFO: Date 2024-12-24
[2025-01-06 22:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:29:04] Production.INFO: count ==21
[2025-01-06 22:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:29:04] Production.INFO: count ==21
[2025-01-06 22:29:04] Production.INFO: Date 2024-12-25
[2025-01-06 22:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:29:04] Production.INFO: Date 2024-12-26
[2025-01-06 22:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190618') start
[2025-01-06 22:29:04] Production.INFO: Date 2024-12-27
[2025-01-06 22:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:29:04] Production.INFO: Date 2024-12-28
[2025-01-06 22:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:29:04] Production.INFO: Date 2024-12-29
[2025-01-06 22:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:29:04] Production.INFO: Date 2024-12-30
[2025-01-06 22:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190618') end
[2025-01-06 22:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:29:04] Production.INFO: 1
[2025-01-06 22:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:29:04] Production.INFO: Date 2024-12-31
[2025-01-06 22:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:29:04] Production.INFO: Date 2025-01-01
[2025-01-06 22:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:29:04] Production.INFO: ==2546== Releasing lock...
[2025-01-06 22:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:29:04] Production.INFO: Date 2025-01-02
[2025-01-06 22:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:29:04] Production.INFO: Date 2025-01-03
[2025-01-06 22:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:29:04] Production.INFO: Date 2025-01-04
[2025-01-06 22:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:29:04] Production.INFO: Date 2025-01-05
[2025-01-06 22:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:29:04] Production.INFO: Date 2025-01-06
[2025-01-06 22:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:29:04] Production.INFO: Total Charge 0
[2025-01-06 22:29:04] Production.INFO: CreateAllLog End
[2025-01-06 22:29:05] Production.INFO: Account Balance End.
[2025-01-06 22:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:29:05
[end_date_ymd] => 2025-01-06 22:29:05
[RateCDR] => 1
)
[2025-01-06 22:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 19:29:05' and `end` < '2025-01-06 22:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 22:29:05] Production.ERROR: CronJobId end 12
[2025-01-06 22:29:05] Production.INFO: ==2542== Releasing lock...
[2025-01-06 22:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:29:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:29:12] Production.ERROR: CronJobId end10
[2025-01-06 22:29:12] Production.INFO: ==2540== Releasing lock...
[2025-01-06 22:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:29:14] Production.INFO: call_cost start
[2025-01-06 22:29:14] Production.INFO: call_cost end
[2025-01-06 22:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:29:14] Production.INFO: ==2536== Releasing lock...
[2025-01-06 22:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:29:18] Production.INFO: count ==812
[2025-01-06 22:29:18] Production.ERROR: pbx CDR StartTime 2025-01-06 19:29:05 - End Time 2025-01-06 22:29:05
[2025-01-06 22:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190619', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190619', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190619', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190619', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:29:18] Production.INFO: ProcessCDR(1,14190619,1,1,2)
[2025-01-06 22:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190619,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190619,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190619,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190619,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190619', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190619', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:29:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:29:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:29:21] Production.INFO: ==2544== Releasing lock...
[2025-01-06 22:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:29:21] Production.INFO: 33.5 MB #Memory Used#
[2025-01-07 03:30:02] Production.INFO: ==2613== Lock acquired, processing the job...
[2025-01-07 03:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:30:02] Production.INFO: neon service started
[2025-01-07 03:30:02] Production.INFO: neon service started
[2025-01-07 03:30:02] Production.INFO: ==2613== Releasing lock...
[2025-01-07 03:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:30:02] Production.INFO: ==2615== Lock acquired, processing the job...
[2025-01-06 22:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 22:30:02] Production.INFO: ==2615== Releasing lock...
[2025-01-06 22:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:30:03] Production.INFO: ==2617== Lock acquired, processing the job...
[2025-01-07 03:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:30:03] Production.INFO: ==2617== Releasing lock...
[2025-01-07 03:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:30:03] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:30:03] Production.INFO: ==2621== Lock acquired, processing the job...
[2025-01-06 22:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:30:03] Production.INFO: ==2619== Lock acquired, processing the job...
[2025-01-06 22:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-06 22:30:04] Production.INFO: ==2627== Lock acquired, processing the job...
[2025-01-06 22:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:30:04] Production.INFO: ==2629== Lock acquired, processing the job...
[2025-01-06 22:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:30:04] Production.INFO: ==2623== Lock acquired, processing the job...
[2025-01-06 22:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-06 22:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 22:30:04] Production.ERROR: CronJob PID - 2621
[2025-01-06 22:30:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-06 22:30:04] Production.ERROR: CronJob ID - 5
[2025-01-06 22:30:04] Production.ERROR: CronJob Last Run Time 2025-01-06 22:30:00
[2025-01-06 22:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 22:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 22:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 22:30:04] Production.ERROR: CronJob PID - 2627
[2025-01-06 22:30:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-06 22:30:04] Production.ERROR: CronJob ID - 12
[2025-01-06 22:30:04] Production.ERROR: CronJob Last Run Time 2025-01-06 22:30:00
[2025-01-06 22:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 22:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 22:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 22:30:04] Production.ERROR: CronJob PID - 2629
[2025-01-06 22:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-06 22:30:04] Production.ERROR: CronJob ID - 16
[2025-01-06 22:30:04] Production.ERROR: CronJob Last Run Time 2025-01-06 22:30:00
[2025-01-06 22:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 22:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 22:30:04] Production.INFO: ==2625== Lock acquired, processing the job...
[2025-01-06 22:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:30:04] Production.INFO: Account Balance Start.
[2025-01-06 22:30:04] Production.INFO: CreateAllLog Start
[2025-01-06 22:30:04] Production.INFO: 117
[2025-01-06 22:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-06 22:30:04] Production.INFO: ==2619== Releasing lock...
[2025-01-06 22:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-06 22:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-06 22:30:04] Production.INFO: Date 2024-12-08
[2025-01-06 22:30:04] Production.INFO: ==2631== Lock acquired, processing the job...
[2025-01-06 22:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-06 22:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:30:04] Production.INFO: ==2633== Lock acquired, processing the job...
[2025-01-06 22:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:30:04] Production.INFO: Date 2024-12-09
[2025-01-06 22:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:30:04] Production.INFO: Date 2024-12-10
[2025-01-06 22:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:30:04] Production.INFO: Date 2024-12-11
[2025-01-06 22:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:30:04] Production.ERROR: done
[2025-01-06 22:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 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-06 22:30:04] Production.INFO: Date 2024-12-12
[2025-01-06 22:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:30:04] Production.INFO: count ==21
[2025-01-06 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-06 22:30:04] Production.INFO: count ==21
[2025-01-06 22:30:04] Production.INFO: Date 2024-12-13
[2025-01-06 22:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190623') start
[2025-01-06 22:30:04] Production.ERROR: done
[2025-01-06 22:30:04] Production.INFO: ==2623== Releasing lock...
[2025-01-06 22:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:30:04] Production.INFO: Date 2024-12-14
[2025-01-06 22:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:30:04] Production.INFO: Date 2024-12-15
[2025-01-06 22:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:30:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:30:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:30:04] Production.ERROR: done
[2025-01-06 22:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190623') end
[2025-01-06 22:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:30:04] Production.INFO: 1
[2025-01-06 22:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:30:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:30:04] Production.INFO: ==2633== Releasing lock...
[2025-01-06 22:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:30:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-06 22:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14190625', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) start
[2025-01-06 22:30:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:30:05] Production.INFO: Date 2024-12-21
[2025-01-06 22:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:30:05] Production.INFO: Date 2024-12-22
[2025-01-06 22:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:30:05] Production.INFO: Date 2024-12-23
[2025-01-06 22:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:30:05] Production.INFO: Date 2024-12-24
[2025-01-06 22:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:30:05] Production.INFO: Date 2024-12-25
[2025-01-06 22:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:30:05] Production.INFO: Date 2024-12-26
[2025-01-06 22:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:30:05] Production.INFO: Date 2024-12-27
[2025-01-06 22:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:30:05] Production.INFO: Date 2024-12-28
[2025-01-06 22:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:30:05] Production.INFO: Date 2024-12-29
[2025-01-06 22:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:30:05] Production.INFO: Date 2024-12-30
[2025-01-06 22:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:30:05] Production.INFO: Date 2024-12-31
[2025-01-06 22:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:30:05] Production.INFO: Date 2025-01-01
[2025-01-06 22:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:30:05] Production.INFO: Date 2025-01-02
[2025-01-06 22:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:30:05] Production.INFO: Date 2025-01-03
[2025-01-06 22:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:30:05] Production.INFO: Date 2025-01-04
[2025-01-06 22:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:30:05] Production.INFO: Date 2025-01-05
[2025-01-06 22:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:30:05] Production.INFO: Date 2025-01-06
[2025-01-06 22:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:30:05] Production.INFO: Total Charge 0
[2025-01-06 22:30:05] Production.INFO: CreateAllLog End
[2025-01-06 22:30:05] Production.INFO: Account Balance End.
[2025-01-06 22:30:05] Production.ERROR: CronJobId end 12
[2025-01-06 22:30:05] Production.INFO: ==2627== Releasing lock...
[2025-01-06 22:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:30:06
[end_date_ymd] => 2025-01-06 22:30:06
[RateCDR] => 1
)
[2025-01-06 22:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 19:30:06' and `end` < '2025-01-06 22:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 22:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14190625', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) end
[2025-01-06 22:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-06 22:30:08] Production.INFO: ProcessCDR(1,14190625,1,1,2)
[2025-01-06 22:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14190625,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14190625,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:30:08] Production.INFO: ==2631== Releasing lock...
[2025-01-06 22:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-06 22:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-06 22:30:15] Production.ERROR: CronJobId end10
[2025-01-06 22:30:15] Production.INFO: ==2625== Releasing lock...
[2025-01-06 22:30:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:30:15] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:30:15] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:30:15] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:30:16] Production.INFO: call_cost start
[2025-01-06 22:30:16] Production.INFO: call_cost end
[2025-01-06 22:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:30:16] Production.INFO: ==2621== Releasing lock...
[2025-01-06 22:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:30:19] Production.INFO: count ==815
[2025-01-06 22:30:19] Production.ERROR: pbx CDR StartTime 2025-01-06 19:30:06 - End Time 2025-01-06 22:30:06
[2025-01-06 22:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190624', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190624', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190624', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190624', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:30:19] Production.INFO: ProcessCDR(1,14190624,1,1,2)
[2025-01-06 22:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190624,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190624,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190624,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:30:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190624,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190624', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190624', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:30:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:30:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:30:23] Production.INFO: ==2629== Releasing lock...
[2025-01-06 22:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:30:23] Production.INFO: 33.25 MB #Memory Used#
[2025-01-07 03:31:01] Production.INFO: ==2698== Lock acquired, processing the job...
[2025-01-07 03:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:31:01] Production.INFO: neon service started
[2025-01-07 03:31:01] Production.INFO: neon service started
[2025-01-07 03:31:01] Production.INFO: ==2698== Releasing lock...
[2025-01-07 03:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:31:02] Production.INFO: ==2700== Lock acquired, processing the job...
[2025-01-06 22:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:31:02] Production.INFO: ==2702== Lock acquired, processing the job...
[2025-01-07 03:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-06 22:31:02] Production.INFO: ==2700== Releasing lock...
[2025-01-06 22:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:31:02] Production.INFO: ==2702== Releasing lock...
[2025-01-07 03:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:31:02] Production.INFO: 26 MB #Memory Used#
[2025-01-06 22:31:03] Production.INFO: ==2709== Lock acquired, processing the job...
[2025-01-06 22:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:31:03] Production.INFO: ==2713== Lock acquired, processing the job...
[2025-01-06 22:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:31:03] Production.INFO: ==2705== Lock acquired, processing the job...
[2025-01-06 22:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:31:03] Production.INFO: ==2707== Lock acquired, processing the job...
[2025-01-06 22:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:31:03] Production.INFO: ==2711== Lock acquired, processing the job...
[2025-01-06 22:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:31:03] Production.INFO: ==2715== Lock acquired, processing the job...
[2025-01-06 22:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:31:03] Production.ERROR: done
[2025-01-06 22:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:31:03] Production.ERROR: done
[2025-01-06 22:31:03] Production.INFO: Account Balance Start.
[2025-01-06 22:31:03] Production.INFO: CreateAllLog Start
[2025-01-06 22:31:03] Production.INFO: 117
[2025-01-06 22:31:03] Production.INFO: Date 2024-12-08
[2025-01-06 22:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:31:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:31:03] Production.INFO: Date 2024-12-09
[2025-01-06 22:31:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:31:03] Production.INFO: Date 2024-12-10
[2025-01-06 22:31:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:31:03] Production.INFO: count ==21
[2025-01-06 22:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:31:03] Production.INFO: count ==21
[2025-01-06 22:31:03] Production.INFO: Date 2024-12-11
[2025-01-06 22:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190629') start
[2025-01-06 22:31:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:31:03] Production.INFO: Date 2024-12-12
[2025-01-06 22:31:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:31:03] Production.INFO: ==2707== Releasing lock...
[2025-01-06 22:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:31:03] Production.INFO: Date 2024-12-13
[2025-01-06 22:31:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190629') end
[2025-01-06 22:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:31:03] Production.INFO: 1
[2025-01-06 22:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:31:03] Production.INFO: Date 2024-12-14
[2025-01-06 22:31:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:31:04] Production.INFO: ==2715== Releasing lock...
[2025-01-06 22:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:31:04] Production.INFO: Date 2024-12-15
[2025-01-06 22:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:31:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:31:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:31:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:31:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:31:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:31:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:31:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:31:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:31:04] Production.INFO: Date 2024-12-24
[2025-01-06 22:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:31:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:31:04
[end_date_ymd] => 2025-01-06 22:31:04
[RateCDR] => 1
)
[2025-01-06 22:31:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 19:31:04' and `end` < '2025-01-06 22:31:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 22:31:04] Production.INFO: Date 2024-12-25
[2025-01-06 22:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:31:04] Production.INFO: Date 2024-12-26
[2025-01-06 22:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:31:04] Production.INFO: Date 2024-12-27
[2025-01-06 22:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:31:04] Production.INFO: Date 2024-12-28
[2025-01-06 22:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:31:04] Production.INFO: Date 2024-12-29
[2025-01-06 22:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:31:04] Production.INFO: Date 2024-12-30
[2025-01-06 22:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:31:04] Production.INFO: Date 2024-12-31
[2025-01-06 22:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:31:04] Production.INFO: Date 2025-01-01
[2025-01-06 22:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:31:04] Production.INFO: Date 2025-01-02
[2025-01-06 22:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:31:04] Production.INFO: Date 2025-01-03
[2025-01-06 22:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:31:05] Production.INFO: Date 2025-01-04
[2025-01-06 22:31:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:31:05] Production.INFO: Date 2025-01-05
[2025-01-06 22:31:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:31:05] Production.INFO: Date 2025-01-06
[2025-01-06 22:31:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:31:05] Production.INFO: Total Charge 0
[2025-01-06 22:31:05] Production.INFO: CreateAllLog End
[2025-01-06 22:31:05] Production.INFO: Account Balance End.
[2025-01-06 22:31:05] Production.ERROR: CronJobId end 12
[2025-01-06 22:31:05] Production.INFO: ==2711== Releasing lock...
[2025-01-06 22:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:31:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:31:12] Production.ERROR: CronJobId end10
[2025-01-06 22:31:12] Production.INFO: ==2709== Releasing lock...
[2025-01-06 22:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:31:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:31:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:31:14] Production.INFO: call_cost start
[2025-01-06 22:31:14] Production.INFO: call_cost end
[2025-01-06 22:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:31:14] Production.INFO: ==2705== Releasing lock...
[2025-01-06 22:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:31:17] Production.INFO: count ==805
[2025-01-06 22:31:17] Production.ERROR: pbx CDR StartTime 2025-01-06 19:31:04 - End Time 2025-01-06 22:31:04
[2025-01-06 22:31:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190630', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190630', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190630', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190630', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:31:17] Production.INFO: ProcessCDR(1,14190630,1,1,2)
[2025-01-06 22:31:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190630,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:31:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190630,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:31:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190630,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:31:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190630,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:31:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190630', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:31:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190630', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:31:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:31:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:31:20] Production.INFO: ==2713== Releasing lock...
[2025-01-06 22:31:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:31:20] Production.INFO: 33.25 MB #Memory Used#
[2025-01-07 03:32:02] Production.INFO: ==2810== Lock acquired, processing the job...
[2025-01-07 03:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:32:02] Production.INFO: neon service started
[2025-01-07 03:32:02] Production.INFO: neon service started
[2025-01-07 03:32:02] Production.INFO: ==2810== Releasing lock...
[2025-01-07 03:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:32:02] Production.INFO: ==2813== Lock acquired, processing the job...
[2025-01-06 22:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:32:02] Production.INFO: ==2815== Lock acquired, processing the job...
[2025-01-07 03:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:32:02] Production.INFO: ==2815== Releasing lock...
[2025-01-07 03:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:32:03] Production.INFO: ==2813== Releasing lock...
[2025-01-06 22:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 22:32:03] Production.INFO: ==2823== Lock acquired, processing the job...
[2025-01-06 22:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:32:04] Production.INFO: ==2827== Lock acquired, processing the job...
[2025-01-06 22:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:32:04] Production.INFO: Account Balance Start.
[2025-01-06 22:32:04] Production.INFO: CreateAllLog Start
[2025-01-06 22:32:04] Production.INFO: 117
[2025-01-06 22:32:04] Production.INFO: Date 2024-12-08
[2025-01-06 22:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:32:04] Production.INFO: Date 2024-12-09
[2025-01-06 22:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:32:04] Production.INFO: ==2817== Lock acquired, processing the job...
[2025-01-06 22:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:32:04] Production.INFO: ==2819== Lock acquired, processing the job...
[2025-01-06 22:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:32:04] Production.INFO: ==2821== Lock acquired, processing the job...
[2025-01-06 22:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:32:04] Production.INFO: count ==21
[2025-01-06 22:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:32:04] Production.INFO: Date 2024-12-10
[2025-01-06 22:32:04] Production.INFO: count ==21
[2025-01-06 22:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190632') start
[2025-01-06 22:32:04] Production.INFO: Date 2024-12-11
[2025-01-06 22:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:32:04] Production.INFO: ==2825== Lock acquired, processing the job...
[2025-01-06 22:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:32:04] Production.INFO: Date 2024-12-12
[2025-01-06 22:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190632') end
[2025-01-06 22:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:32:04] Production.INFO: 1
[2025-01-06 22:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:32:04] Production.INFO: Date 2024-12-13
[2025-01-06 22:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:32:04] Production.INFO: Date 2024-12-14
[2025-01-06 22:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:32:04] Production.INFO: ==2827== Releasing lock...
[2025-01-06 22:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:32:04] Production.INFO: Date 2024-12-15
[2025-01-06 22:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:32:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:32:04] Production.ERROR: done
[2025-01-06 22:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:32:04] Production.INFO: ==2819== Releasing lock...
[2025-01-06 22:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:32:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:32:04] Production.ERROR: done
[2025-01-06 22:32:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:32:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:32:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:32:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:32:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:32:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:32:05] Production.INFO: Date 2024-12-24
[2025-01-06 22:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:32:05] Production.INFO: Date 2024-12-25
[2025-01-06 22:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:32:05] Production.INFO: Date 2024-12-26
[2025-01-06 22:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:32:05] Production.INFO: Date 2024-12-27
[2025-01-06 22:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:32:05] Production.INFO: Date 2024-12-28
[2025-01-06 22:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:32:05] Production.INFO: Date 2024-12-29
[2025-01-06 22:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:32:05] Production.INFO: Date 2024-12-30
[2025-01-06 22:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:32:05] Production.INFO: Date 2024-12-31
[2025-01-06 22:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:32:05
[end_date_ymd] => 2025-01-06 22:32:05
[RateCDR] => 1
)
[2025-01-06 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-06 19:32:05' and `end` < '2025-01-06 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-06 22:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:32:05] Production.INFO: Date 2025-01-01
[2025-01-06 22:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:32:05] Production.INFO: Date 2025-01-02
[2025-01-06 22:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:32:05] Production.INFO: Date 2025-01-03
[2025-01-06 22:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:32:05] Production.INFO: Date 2025-01-04
[2025-01-06 22:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:32:05] Production.INFO: Date 2025-01-05
[2025-01-06 22:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:32:05] Production.INFO: Date 2025-01-06
[2025-01-06 22:32:06] Production.INFO: Reseller ==> 0
[2025-01-06 22:32:06] Production.INFO: Total Charge 0
[2025-01-06 22:32:06] Production.INFO: CreateAllLog End
[2025-01-06 22:32:06] Production.INFO: Account Balance End.
[2025-01-06 22:32:06] Production.ERROR: CronJobId end 12
[2025-01-06 22:32:06] Production.INFO: ==2823== Releasing lock...
[2025-01-06 22:32:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:32:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:32:12] Production.ERROR: CronJobId end10
[2025-01-06 22:32:12] Production.INFO: ==2821== Releasing lock...
[2025-01-06 22:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:32:14] Production.INFO: call_cost start
[2025-01-06 22:32:14] Production.INFO: call_cost end
[2025-01-06 22:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:32:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:32:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:32:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:32:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:32:15] Production.INFO: ==2817== Releasing lock...
[2025-01-06 22:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:32:19] Production.INFO: count ==805
[2025-01-06 22:32:19] Production.ERROR: pbx CDR StartTime 2025-01-06 19:32:05 - End Time 2025-01-06 22:32:05
[2025-01-06 22:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190635', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190635', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190635', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190635', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:32:19] Production.INFO: ProcessCDR(1,14190635,1,1,2)
[2025-01-06 22:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190635,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190635,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190635,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190635,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190635', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190635', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:32:22] Production.INFO: ==2825== Releasing lock...
[2025-01-06 22:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:32:22] Production.INFO: 33.25 MB #Memory Used#
[2025-01-07 03:33:01] Production.INFO: ==2887== Lock acquired, processing the job...
[2025-01-07 03:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:33:01] Production.INFO: neon service started
[2025-01-07 03:33:01] Production.INFO: neon service started
[2025-01-07 03:33:01] Production.INFO: ==2887== Releasing lock...
[2025-01-07 03:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:33:01] Production.INFO: ==2891== Lock acquired, processing the job...
[2025-01-07 03:33:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:33:01] Production.INFO: ==2891== Releasing lock...
[2025-01-07 03:33:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:33:01] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:33:02] Production.INFO: ==2889== Lock acquired, processing the job...
[2025-01-06 22:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 22:33:02] Production.INFO: ==2889== Releasing lock...
[2025-01-06 22:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 22:33:03] Production.INFO: ==2895== Lock acquired, processing the job...
[2025-01-06 22:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:33:03] Production.INFO: ==2893== Lock acquired, processing the job...
[2025-01-06 22:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:33:03] Production.INFO: ==2897== Lock acquired, processing the job...
[2025-01-06 22:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:33:03] Production.INFO: ==2895== Releasing lock...
[2025-01-06 22:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:33:03] Production.INFO: ==2899== Lock acquired, processing the job...
[2025-01-06 22:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:33:03] Production.INFO: ==2901== Lock acquired, processing the job...
[2025-01-06 22:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:33:03] Production.INFO: ==2904== Lock acquired, processing the job...
[2025-01-06 22:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:33:03] Production.INFO: Account Balance Start.
[2025-01-06 22:33:03] Production.INFO: CreateAllLog Start
[2025-01-06 22:33:03] Production.INFO: 117
[2025-01-06 22:33:03] Production.INFO: Date 2024-12-08
[2025-01-06 22:33:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:33:03] Production.INFO: Date 2024-12-09
[2025-01-06 22:33:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:33:03] Production.INFO: Date 2024-12-10
[2025-01-06 22:33:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:33:03] Production.INFO: count ==21
[2025-01-06 22:33:03] Production.INFO: Date 2024-12-11
[2025-01-06 22:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:33:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:33:03] Production.INFO: count ==21
[2025-01-06 22:33:03] Production.ERROR: done
[2025-01-06 22:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190639') start
[2025-01-06 22:33:03] Production.INFO: Date 2024-12-12
[2025-01-06 22:33:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:33:04] Production.INFO: Date 2024-12-13
[2025-01-06 22:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190639') end
[2025-01-06 22:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:33:04] Production.INFO: 1
[2025-01-06 22:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:33:04] Production.ERROR: done
[2025-01-06 22:33:04] Production.INFO: Date 2024-12-14
[2025-01-06 22:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:33:04] Production.INFO: Date 2024-12-15
[2025-01-06 22:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:33:04] Production.INFO: ==2904== Releasing lock...
[2025-01-06 22:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:33:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:33:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:33:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:33:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:33:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:33:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:33:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:33:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:33:04] Production.INFO: Date 2024-12-24
[2025-01-06 22:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:33:04] Production.INFO: Date 2024-12-25
[2025-01-06 22:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:33:04] Production.INFO: Date 2024-12-26
[2025-01-06 22:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:33:04] Production.INFO: Date 2024-12-27
[2025-01-06 22:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:33:04] Production.INFO: Date 2024-12-28
[2025-01-06 22:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:33:04] Production.INFO: Date 2024-12-29
[2025-01-06 22:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:33:04] Production.INFO: Date 2024-12-30
[2025-01-06 22:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:33:04] Production.INFO: Date 2024-12-31
[2025-01-06 22:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:33:04] Production.INFO: Date 2025-01-01
[2025-01-06 22:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:33:05] Production.INFO: Date 2025-01-02
[2025-01-06 22:33:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:33:05] Production.INFO: Date 2025-01-03
[2025-01-06 22:33:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:33:05] Production.INFO: Date 2025-01-04
[2025-01-06 22:33:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:33:05] Production.INFO: Date 2025-01-05
[2025-01-06 22:33:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:33:05] Production.INFO: Date 2025-01-06
[2025-01-06 22:33:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:33:05] Production.INFO: Total Charge 0
[2025-01-06 22:33:05] Production.INFO: CreateAllLog End
[2025-01-06 22:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:33:05
[end_date_ymd] => 2025-01-06 22:33:05
[RateCDR] => 1
)
[2025-01-06 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-06 19:33:05' and `end` < '2025-01-06 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-06 22:33:05] Production.INFO: Account Balance End.
[2025-01-06 22:33:05] Production.ERROR: CronJobId end 12
[2025-01-06 22:33:05] Production.INFO: ==2899== Releasing lock...
[2025-01-06 22:33:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:33:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:33:10] Production.ERROR: CronJobId end10
[2025-01-06 22:33:10] Production.INFO: ==2897== Releasing lock...
[2025-01-06 22:33:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:33:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:33:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:33:12] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:33:12] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:33:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:33:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:33:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:33:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:33:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:33:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:33:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:33:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:33:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:33:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:33:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:33:12] Production.INFO: call_cost start
[2025-01-06 22:33:12] Production.INFO: call_cost end
[2025-01-06 22:33:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:33:13] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:33:13] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:33:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:33:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:33:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:33:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:33:13] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:33:13] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:33:13] Production.INFO: ==2893== Releasing lock...
[2025-01-06 22:33:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:33:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:33:19] Production.INFO: count ==805
[2025-01-06 22:33:20] Production.ERROR: pbx CDR StartTime 2025-01-06 19:33:05 - End Time 2025-01-06 22:33:05
[2025-01-06 22:33:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190640', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190640', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190640', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190640', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:33:20] Production.INFO: ProcessCDR(1,14190640,1,1,2)
[2025-01-06 22:33:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190640,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:33:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190640,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:33:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190640,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:33:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190640,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190640', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190640', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:33:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:33:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:33:23] Production.INFO: ==2901== Releasing lock...
[2025-01-06 22:33:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:33:23] Production.INFO: 33.25 MB #Memory Used#
[2025-01-07 03:34:01] Production.INFO: ==2964== Lock acquired, processing the job...
[2025-01-07 03:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:34:02] Production.INFO: neon service started
[2025-01-07 03:34:02] Production.INFO: neon service started
[2025-01-07 03:34:02] Production.INFO: ==2964== Releasing lock...
[2025-01-07 03:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:34:02] Production.INFO: ==2968== Lock acquired, processing the job...
[2025-01-07 03:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:34:02] Production.INFO: ==2968== Releasing lock...
[2025-01-07 03:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:34:02] Production.INFO: ==2966== Lock acquired, processing the job...
[2025-01-06 22:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 22:34:02] Production.INFO: ==2966== Releasing lock...
[2025-01-06 22:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 22:34:03] Production.INFO: ==2976== Lock acquired, processing the job...
[2025-01-06 22:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:34:03] Production.INFO: ==2978== Lock acquired, processing the job...
[2025-01-06 22:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:34:03] Production.INFO: Account Balance Start.
[2025-01-06 22:34:03] Production.INFO: CreateAllLog Start
[2025-01-06 22:34:03] Production.INFO: 117
[2025-01-06 22:34:03] Production.INFO: Date 2024-12-08
[2025-01-06 22:34:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:34:03] Production.INFO: Date 2024-12-09
[2025-01-06 22:34:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:34:03] Production.INFO: ==2970== Lock acquired, processing the job...
[2025-01-06 22:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:34:03] Production.INFO: ==2972== Lock acquired, processing the job...
[2025-01-06 22:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:34:03] Production.INFO: Date 2024-12-10
[2025-01-06 22:34:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:34:03] Production.INFO: ==2974== Lock acquired, processing the job...
[2025-01-06 22:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:34:03] Production.ERROR: done
[2025-01-06 22:34:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:34:03] Production.INFO: ==2981== Lock acquired, processing the job...
[2025-01-06 22:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:34:04] Production.INFO: Date 2024-12-11
[2025-01-06 22:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:34:04] Production.INFO: Date 2024-12-12
[2025-01-06 22:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:34:04] Production.INFO: Date 2024-12-13
[2025-01-06 22:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:34:04] Production.INFO: Date 2024-12-14
[2025-01-06 22:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:34:04] Production.ERROR: done
[2025-01-06 22:34:04] Production.INFO: Date 2024-12-15
[2025-01-06 22:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:34:04] Production.INFO: count ==21
[2025-01-06 22:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:34:04] Production.INFO: count ==21
[2025-01-06 22:34:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190644') start
[2025-01-06 22:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:34:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:34:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190644') end
[2025-01-06 22:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:34:04] Production.INFO: 1
[2025-01-06 22:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:34:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:34:04] Production.INFO: ==2981== Releasing lock...
[2025-01-06 22:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:34:04] Production.INFO: ==2972== Releasing lock...
[2025-01-06 22:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:34:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:34:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:34:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:34:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:34:04] Production.INFO: Date 2024-12-24
[2025-01-06 22:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:34:04] Production.INFO: Date 2024-12-25
[2025-01-06 22:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:34:04] Production.INFO: Date 2024-12-26
[2025-01-06 22:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:34:04] Production.INFO: Date 2024-12-27
[2025-01-06 22:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:34:04] Production.INFO: Date 2024-12-28
[2025-01-06 22:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:34:04] Production.INFO: Date 2024-12-29
[2025-01-06 22:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:34:04] Production.INFO: Date 2024-12-30
[2025-01-06 22:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:34:04] Production.INFO: Date 2024-12-31
[2025-01-06 22:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:34:04] Production.INFO: Date 2025-01-01
[2025-01-06 22:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:34:04] Production.INFO: Date 2025-01-02
[2025-01-06 22:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:34:05] Production.INFO: Date 2025-01-03
[2025-01-06 22:34:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:34:05] Production.INFO: Date 2025-01-04
[2025-01-06 22:34:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:34:05] Production.INFO: Date 2025-01-05
[2025-01-06 22:34:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:34:05] Production.INFO: Date 2025-01-06
[2025-01-06 22:34:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:34:05] Production.INFO: Total Charge 0
[2025-01-06 22:34:05] Production.INFO: CreateAllLog End
[2025-01-06 22:34:05] Production.INFO: Account Balance End.
[2025-01-06 22:34:05] Production.ERROR: CronJobId end 12
[2025-01-06 22:34:05] Production.INFO: ==2976== Releasing lock...
[2025-01-06 22:34:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:34:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:34:05
[end_date_ymd] => 2025-01-06 22:34:05
[RateCDR] => 1
)
[2025-01-06 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-06 19:34:05' and `end` < '2025-01-06 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-06 22:34:11] Production.ERROR: CronJobId end10
[2025-01-06 22:34:11] Production.INFO: ==2974== Releasing lock...
[2025-01-06 22:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:34:13] Production.INFO: call_cost start
[2025-01-06 22:34:13] Production.INFO: call_cost end
[2025-01-06 22:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:34:14] Production.INFO: ==2970== Releasing lock...
[2025-01-06 22:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:34:18] Production.INFO: count ==803
[2025-01-06 22:34:18] Production.ERROR: pbx CDR StartTime 2025-01-06 19:34:05 - End Time 2025-01-06 22:34:05
[2025-01-06 22:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190645', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190645', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190645', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190645', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:34:18] Production.INFO: ProcessCDR(1,14190645,1,1,2)
[2025-01-06 22:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190645,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190645,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190645,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190645,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190645', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190645', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:34:21] Production.INFO: ==2978== Releasing lock...
[2025-01-06 22:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:34:21] Production.INFO: 33.25 MB #Memory Used#
[2025-01-07 03:35:01] Production.INFO: ==3051== Lock acquired, processing the job...
[2025-01-07 03:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:35:01] Production.INFO: neon service started
[2025-01-07 03:35:01] Production.INFO: neon service started
[2025-01-07 03:35:01] Production.INFO: ==3051== Releasing lock...
[2025-01-07 03:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:35:01] Production.INFO: ==3053== Lock acquired, processing the job...
[2025-01-06 22:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 22:35:02] Production.INFO: ==3053== Releasing lock...
[2025-01-06 22:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:35:02] Production.INFO: ==3055== Lock acquired, processing the job...
[2025-01-07 03:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:35:02] Production.INFO: ==3055== Releasing lock...
[2025-01-07 03:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:35:03] Production.INFO: ==3065== Lock acquired, processing the job...
[2025-01-06 22:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:35:03] Production.INFO: ==3067== Lock acquired, processing the job...
[2025-01-06 22:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:35:03] Production.INFO: ==3059== Lock acquired, processing the job...
[2025-01-06 22:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:35:03] Production.INFO: ==3057== Lock acquired, processing the job...
[2025-01-06 22:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:35:03] Production.INFO: ==3061== Lock acquired, processing the job...
[2025-01-06 22:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:35:03] Production.INFO: count ==21
[2025-01-06 22:35:03] Production.INFO: ==3063== Lock acquired, processing the job...
[2025-01-06 22:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:35:03] Production.INFO: count ==21
[2025-01-06 22:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190646') start
[2025-01-06 22:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190646') end
[2025-01-06 22:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:35:03] Production.INFO: 1
[2025-01-06 22:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:35:03] Production.INFO: Account Balance Start.
[2025-01-06 22:35:03] Production.INFO: CreateAllLog Start
[2025-01-06 22:35:03] Production.INFO: 117
[2025-01-06 22:35:03] Production.INFO: ==3067== Releasing lock...
[2025-01-06 22:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:35:03] Production.ERROR: done
[2025-01-06 22:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:35:03] Production.INFO: Date 2024-12-08
[2025-01-06 22:35:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:35:03] Production.INFO: Date 2024-12-09
[2025-01-06 22:35:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:35:03] Production.INFO: Date 2024-12-10
[2025-01-06 22:35:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:35:03] Production.INFO: Date 2024-12-11
[2025-01-06 22:35:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:35:03] Production.INFO: ==3059== Releasing lock...
[2025-01-06 22:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:35:03] Production.ERROR: done
[2025-01-06 22:35:04] Production.INFO: Date 2024-12-12
[2025-01-06 22:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:35:04] Production.INFO: Date 2024-12-13
[2025-01-06 22:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:35:04] Production.INFO: Date 2024-12-14
[2025-01-06 22:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:35:04] Production.INFO: Date 2024-12-15
[2025-01-06 22:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:35:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:35:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:35:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:35:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:35:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:35:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:35:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:35:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:35:04] Production.INFO: Date 2024-12-24
[2025-01-06 22:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:35:04] Production.INFO: Date 2024-12-25
[2025-01-06 22:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:35:04] Production.INFO: Date 2024-12-26
[2025-01-06 22:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:35:04] Production.INFO: Date 2024-12-27
[2025-01-06 22:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:35:04] Production.INFO: Date 2024-12-28
[2025-01-06 22:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:35:04] Production.INFO: Date 2024-12-29
[2025-01-06 22:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:35:04] Production.INFO: Date 2024-12-30
[2025-01-06 22:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:35:04] Production.INFO: Date 2024-12-31
[2025-01-06 22:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:35:04] Production.INFO: Date 2025-01-01
[2025-01-06 22:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:35:04] Production.INFO: Date 2025-01-02
[2025-01-06 22:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:35:04] Production.INFO: Date 2025-01-03
[2025-01-06 22:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:35:04] Production.INFO: Date 2025-01-04
[2025-01-06 22:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:35:04] Production.INFO: Date 2025-01-05
[2025-01-06 22:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:35:04] Production.INFO: Date 2025-01-06
[2025-01-06 22:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:35:04] Production.INFO: Total Charge 0
[2025-01-06 22:35:04] Production.INFO: CreateAllLog End
[2025-01-06 22:35:05] Production.INFO: Account Balance End.
[2025-01-06 22:35:05] Production.ERROR: CronJobId end 12
[2025-01-06 22:35:05] Production.INFO: ==3063== Releasing lock...
[2025-01-06 22:35:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:35:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:35:05
[end_date_ymd] => 2025-01-06 22:35:05
[RateCDR] => 1
)
[2025-01-06 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-06 19:35:05' and `end` < '2025-01-06 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-06 22:35:12] Production.ERROR: CronJobId end10
[2025-01-06 22:35:12] Production.INFO: ==3061== Releasing lock...
[2025-01-06 22:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:35:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:35:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:35:13] Production.INFO: call_cost start
[2025-01-06 22:35:13] Production.INFO: call_cost end
[2025-01-06 22:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:35:14] Production.INFO: ==3057== Releasing lock...
[2025-01-06 22:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:35:18] Production.INFO: count ==799
[2025-01-06 22:35:18] Production.ERROR: pbx CDR StartTime 2025-01-06 19:35:05 - End Time 2025-01-06 22:35:05
[2025-01-06 22:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190650', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190650', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190650', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190650', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:35:18] Production.INFO: ProcessCDR(1,14190650,1,1,2)
[2025-01-06 22:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190650,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:35:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190650,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:35:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190650,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:35:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190650,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190650', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190650', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:35:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:35:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:35:23] Production.INFO: ==3065== Releasing lock...
[2025-01-06 22:35:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:35:23] Production.INFO: 33.25 MB #Memory Used#
[2025-01-07 03:36:01] Production.INFO: ==3149== Lock acquired, processing the job...
[2025-01-07 03:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:36:02] Production.INFO: neon service started
[2025-01-07 03:36:02] Production.INFO: neon service started
[2025-01-07 03:36:02] Production.INFO: ==3149== Releasing lock...
[2025-01-07 03:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:36:02] Production.INFO: ==3151== Lock acquired, processing the job...
[2025-01-06 22:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 22:36:02] Production.INFO: ==3151== Releasing lock...
[2025-01-06 22:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:36:02] Production.INFO: ==3153== Lock acquired, processing the job...
[2025-01-07 03:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:36:02] Production.INFO: ==3153== Releasing lock...
[2025-01-07 03:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:36:03] Production.INFO: ==3159== Lock acquired, processing the job...
[2025-01-06 22:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:36:03] Production.INFO: ==3155== Lock acquired, processing the job...
[2025-01-06 22:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:36:03] Production.INFO: ==3163== Lock acquired, processing the job...
[2025-01-06 22:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:36:03] Production.INFO: ==3157== Lock acquired, processing the job...
[2025-01-06 22:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:36:03] Production.INFO: ==3161== Lock acquired, processing the job...
[2025-01-06 22:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:36:03] Production.INFO: ==3165== Lock acquired, processing the job...
[2025-01-06 22:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:36:03] Production.INFO: Account Balance Start.
[2025-01-06 22:36:03] Production.INFO: CreateAllLog Start
[2025-01-06 22:36:03] Production.INFO: 117
[2025-01-06 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-06 22:36:03] Production.INFO: count ==21
[2025-01-06 22:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:36:04] Production.ERROR: done
[2025-01-06 22:36:04] Production.INFO: count ==21
[2025-01-06 22:36:04] Production.INFO: Date 2024-12-08
[2025-01-06 22:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190653') start
[2025-01-06 22:36:04] Production.INFO: Date 2024-12-09
[2025-01-06 22:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190653') end
[2025-01-06 22:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:36:04] Production.INFO: 1
[2025-01-06 22:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:36:04] Production.ERROR: done
[2025-01-06 22:36:04] Production.INFO: Date 2024-12-10
[2025-01-06 22:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:36:04] Production.INFO: Date 2024-12-11
[2025-01-06 22:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:36:04] Production.INFO: ==3165== Releasing lock...
[2025-01-06 22:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:36:04] Production.INFO: Date 2024-12-12
[2025-01-06 22:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:36:04] Production.INFO: Date 2024-12-13
[2025-01-06 22:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:36:04] Production.INFO: ==3157== Releasing lock...
[2025-01-06 22:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:36:04] Production.INFO: Date 2024-12-14
[2025-01-06 22:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:36:04] Production.INFO: Date 2024-12-15
[2025-01-06 22:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:36:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:36:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:36:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:36:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:36:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:36:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:36:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:36:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:36:04] Production.INFO: Date 2024-12-24
[2025-01-06 22:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:36:04] Production.INFO: Date 2024-12-25
[2025-01-06 22:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:36:04] Production.INFO: Date 2024-12-26
[2025-01-06 22:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:36:04] Production.INFO: Date 2024-12-27
[2025-01-06 22:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:36:04] Production.INFO: Date 2024-12-28
[2025-01-06 22:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:36:04] Production.INFO: Date 2024-12-29
[2025-01-06 22:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:36:05] Production.INFO: Date 2024-12-30
[2025-01-06 22:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:36:05] Production.INFO: Date 2024-12-31
[2025-01-06 22:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:36:05] Production.INFO: Date 2025-01-01
[2025-01-06 22:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:36:05] Production.INFO: Date 2025-01-02
[2025-01-06 22:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:36:05] Production.INFO: Date 2025-01-03
[2025-01-06 22:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:36:05
[end_date_ymd] => 2025-01-06 22:36:05
[RateCDR] => 1
)
[2025-01-06 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-06 19:36:05' and `end` < '2025-01-06 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-06 22:36:05] Production.INFO: Date 2025-01-04
[2025-01-06 22:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:36:05] Production.INFO: Date 2025-01-05
[2025-01-06 22:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:36:05] Production.INFO: Date 2025-01-06
[2025-01-06 22:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:36:05] Production.INFO: Total Charge 0
[2025-01-06 22:36:05] Production.INFO: CreateAllLog End
[2025-01-06 22:36:05] Production.INFO: Account Balance End.
[2025-01-06 22:36:05] Production.ERROR: CronJobId end 12
[2025-01-06 22:36:05] Production.INFO: ==3161== Releasing lock...
[2025-01-06 22:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:36:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:36:13] Production.ERROR: CronJobId end10
[2025-01-06 22:36:13] Production.INFO: ==3159== Releasing lock...
[2025-01-06 22:36:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:36:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:36:13] Production.INFO: call_cost start
[2025-01-06 22:36:13] Production.INFO: call_cost end
[2025-01-06 22:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:36:14] Production.INFO: ==3155== Releasing lock...
[2025-01-06 22:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:36:18] Production.INFO: count ==801
[2025-01-06 22:36:18] Production.ERROR: pbx CDR StartTime 2025-01-06 19:36:05 - End Time 2025-01-06 22:36:05
[2025-01-06 22:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190655', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190655', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190655', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190655', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:36:18] Production.INFO: ProcessCDR(1,14190655,1,1,2)
[2025-01-06 22:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190655,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190655,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190655,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190655,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190655', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190655', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:36:22] Production.INFO: ==3163== Releasing lock...
[2025-01-06 22:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:36:22] Production.INFO: 33.25 MB #Memory Used#
[2025-01-07 03:37:01] Production.INFO: ==3243== Lock acquired, processing the job...
[2025-01-07 03:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:37:01] Production.INFO: neon service started
[2025-01-07 03:37:01] Production.INFO: neon service started
[2025-01-07 03:37:01] Production.INFO: ==3243== Releasing lock...
[2025-01-07 03:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:37:01] Production.INFO: ==3245== Lock acquired, processing the job...
[2025-01-06 22:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 22:37:02] Production.INFO: ==3245== Releasing lock...
[2025-01-06 22:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:37:02] Production.INFO: ==3247== Lock acquired, processing the job...
[2025-01-07 03:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:37:02] Production.INFO: ==3247== Releasing lock...
[2025-01-07 03:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:37:02] Production.INFO: ==3257== Lock acquired, processing the job...
[2025-01-06 22:37:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:37:03] Production.INFO: ==3259== Lock acquired, processing the job...
[2025-01-06 22:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:37:03] Production.INFO: ==3249== Lock acquired, processing the job...
[2025-01-06 22:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:37:03] Production.INFO: ==3251== Lock acquired, processing the job...
[2025-01-06 22:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:37:03] Production.INFO: count ==21
[2025-01-06 22:37:03] Production.INFO: ==3253== Lock acquired, processing the job...
[2025-01-06 22:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:37:03] Production.INFO: count ==21
[2025-01-06 22:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190656') start
[2025-01-06 22:37:03] Production.INFO: ==3255== Lock acquired, processing the job...
[2025-01-06 22:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190656') end
[2025-01-06 22:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:37:03] Production.INFO: 1
[2025-01-06 22:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:37:03] Production.ERROR: done
[2025-01-06 22:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:37:03] Production.INFO: ==3259== Releasing lock...
[2025-01-06 22:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:37:03] Production.ERROR: done
[2025-01-06 22:37:03] Production.INFO: Account Balance Start.
[2025-01-06 22:37:03] Production.INFO: CreateAllLog Start
[2025-01-06 22:37:03] Production.INFO: 117
[2025-01-06 22:37:03] Production.INFO: ==3251== Releasing lock...
[2025-01-06 22:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:37:03] Production.INFO: Date 2024-12-08
[2025-01-06 22:37:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:37:03] Production.INFO: Date 2024-12-09
[2025-01-06 22:37:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:37:03] Production.INFO: Date 2024-12-10
[2025-01-06 22:37:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:37:03] Production.INFO: Date 2024-12-11
[2025-01-06 22:37:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:37:03] Production.INFO: Date 2024-12-12
[2025-01-06 22:37:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:37:03] Production.INFO: Date 2024-12-13
[2025-01-06 22:37:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:37:03] Production.INFO: Date 2024-12-14
[2025-01-06 22:37:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:37:03] Production.INFO: Date 2024-12-15
[2025-01-06 22:37:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:37:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:37:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:37:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:37:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:37:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:37:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:37:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:37:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:37:04] Production.INFO: Date 2024-12-24
[2025-01-06 22:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:37:04] Production.INFO: Date 2024-12-25
[2025-01-06 22:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:37:04] Production.INFO: Date 2024-12-26
[2025-01-06 22:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:37:04] Production.INFO: Date 2024-12-27
[2025-01-06 22:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:37:04] Production.INFO: Date 2024-12-28
[2025-01-06 22:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:37:04] Production.INFO: Date 2024-12-29
[2025-01-06 22:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:37:04] Production.INFO: Date 2024-12-30
[2025-01-06 22:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:37:04] Production.INFO: Date 2024-12-31
[2025-01-06 22:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:37:04] Production.INFO: Date 2025-01-01
[2025-01-06 22:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:37:04] Production.INFO: Date 2025-01-02
[2025-01-06 22:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:37:04] Production.INFO: Date 2025-01-03
[2025-01-06 22:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:37:04] Production.INFO: Date 2025-01-04
[2025-01-06 22:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:37:04] Production.INFO: Date 2025-01-05
[2025-01-06 22:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:37:04] Production.INFO: Date 2025-01-06
[2025-01-06 22:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:37:04] Production.INFO: Total Charge 0
[2025-01-06 22:37:04] Production.INFO: CreateAllLog End
[2025-01-06 22:37:04] Production.INFO: Account Balance End.
[2025-01-06 22:37:04] Production.ERROR: CronJobId end 12
[2025-01-06 22:37:04] Production.INFO: ==3255== Releasing lock...
[2025-01-06 22:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:37:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:37:04
[end_date_ymd] => 2025-01-06 22:37:04
[RateCDR] => 1
)
[2025-01-06 22:37:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 19:37:04' and `end` < '2025-01-06 22:37:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 22:37:11] Production.ERROR: CronJobId end10
[2025-01-06 22:37:11] Production.INFO: ==3253== Releasing lock...
[2025-01-06 22:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:37:13] Production.INFO: call_cost start
[2025-01-06 22:37:13] Production.INFO: call_cost end
[2025-01-06 22:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:37:14] Production.INFO: ==3249== Releasing lock...
[2025-01-06 22:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:37:17] Production.INFO: count ==800
[2025-01-06 22:37:18] Production.ERROR: pbx CDR StartTime 2025-01-06 19:37:04 - End Time 2025-01-06 22:37:04
[2025-01-06 22:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190660', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190660', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190660', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190660', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:37:18] Production.INFO: ProcessCDR(1,14190660,1,1,2)
[2025-01-06 22:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190660,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190660,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190660,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190660,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190660', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190660', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:37:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:37:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:37:22] Production.INFO: ==3257== Releasing lock...
[2025-01-06 22:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:37:22] Production.INFO: 33.25 MB #Memory Used#
[2025-01-07 03:38:01] Production.INFO: ==3337== Lock acquired, processing the job...
[2025-01-07 03:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:38:01] Production.INFO: neon service started
[2025-01-07 03:38:02] Production.INFO: neon service started
[2025-01-07 03:38:02] Production.INFO: ==3337== Releasing lock...
[2025-01-07 03:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:38:02] Production.INFO: ==3339== Lock acquired, processing the job...
[2025-01-06 22:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:38:02] Production.INFO: ==3341== Lock acquired, processing the job...
[2025-01-07 03:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:38:02] Production.INFO: ==3341== Releasing lock...
[2025-01-07 03:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:38:02] Production.INFO: ==3339== Releasing lock...
[2025-01-06 22:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 22:38:03] Production.INFO: ==3350== Lock acquired, processing the job...
[2025-01-06 22:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:38:03] Production.INFO: Account Balance Start.
[2025-01-06 22:38:03] Production.INFO: CreateAllLog Start
[2025-01-06 22:38:03] Production.INFO: 117
[2025-01-06 22:38:03] Production.INFO: Date 2024-12-08
[2025-01-06 22:38:03] Production.INFO: ==3354== Lock acquired, processing the job...
[2025-01-06 22:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:38:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:38:03] Production.INFO: Date 2024-12-09
[2025-01-06 22:38:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:38:03] Production.INFO: Date 2024-12-10
[2025-01-06 22:38:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:38:03] Production.INFO: Date 2024-12-11
[2025-01-06 22:38:03] Production.INFO: Reseller ==> 0
[2025-01-06 22: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-06 22:38:04] Production.INFO: Date 2024-12-12
[2025-01-06 22:38:04] Production.INFO: count ==21
[2025-01-06 22:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:38:04] Production.INFO: Date 2024-12-13
[2025-01-06 22:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:38:04] Production.INFO: ==3344== Lock acquired, processing the job...
[2025-01-06 22:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 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-06 22:38:04] Production.INFO: count ==21
[2025-01-06 22:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190662') start
[2025-01-06 22:38:04] Production.INFO: Date 2024-12-14
[2025-01-06 22:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:38:04] Production.INFO: ==3346== Lock acquired, processing the job...
[2025-01-06 22:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:38:04] Production.INFO: ==3348== Lock acquired, processing the job...
[2025-01-06 22:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:38:04] Production.INFO: Date 2024-12-15
[2025-01-06 22:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:38:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:38:04] Production.INFO: ==3352== Lock acquired, processing the job...
[2025-01-06 22:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190662') end
[2025-01-06 22:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:38:04] Production.INFO: 1
[2025-01-06 22:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:38:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:38:04] Production.INFO: ==3354== Releasing lock...
[2025-01-06 22:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:38:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:38:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:38:04] Production.INFO: ==3346== Releasing lock...
[2025-01-06 22:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:38:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:38:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:38:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:38:04] Production.ERROR: done
[2025-01-06 22:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:38:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:38:04] Production.ERROR: done
[2025-01-06 22:38:04] Production.INFO: Date 2024-12-24
[2025-01-06 22:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:38:04] Production.INFO: Date 2024-12-25
[2025-01-06 22:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:38:04] Production.INFO: Date 2024-12-26
[2025-01-06 22:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:38:04] Production.INFO: Date 2024-12-27
[2025-01-06 22:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:38:04] Production.INFO: Date 2024-12-28
[2025-01-06 22:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:38:04] Production.INFO: Date 2024-12-29
[2025-01-06 22:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:38:04] Production.INFO: Date 2024-12-30
[2025-01-06 22:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:38:04] Production.INFO: Date 2024-12-31
[2025-01-06 22:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:38:04] Production.INFO: Date 2025-01-01
[2025-01-06 22:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:38:05] Production.INFO: Date 2025-01-02
[2025-01-06 22:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:38:05] Production.INFO: Date 2025-01-03
[2025-01-06 22:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:38:05] Production.INFO: Date 2025-01-04
[2025-01-06 22:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:38:05] Production.INFO: Date 2025-01-05
[2025-01-06 22:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:38:05] Production.INFO: Date 2025-01-06
[2025-01-06 22:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:38:05] Production.INFO: Total Charge 0
[2025-01-06 22:38:05] Production.INFO: CreateAllLog End
[2025-01-06 22:38:05] Production.INFO: Account Balance End.
[2025-01-06 22:38:05] Production.ERROR: CronJobId end 12
[2025-01-06 22:38:05] Production.INFO: ==3350== Releasing lock...
[2025-01-06 22:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:38:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:38:05
[end_date_ymd] => 2025-01-06 22:38:05
[RateCDR] => 1
)
[2025-01-06 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-06 19:38:05' and `end` < '2025-01-06 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-06 22:38:11] Production.ERROR: CronJobId end10
[2025-01-06 22:38:11] Production.INFO: ==3348== Releasing lock...
[2025-01-06 22:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:38:14] Production.INFO: call_cost start
[2025-01-06 22:38:14] Production.INFO: call_cost end
[2025-01-06 22:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:38:14] Production.INFO: ==3344== Releasing lock...
[2025-01-06 22:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:38:20] Production.INFO: count ==798
[2025-01-06 22:38:20] Production.ERROR: pbx CDR StartTime 2025-01-06 19:38:05 - End Time 2025-01-06 22:38:05
[2025-01-06 22:38:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190665', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190665', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190665', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190665', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:38:20] Production.INFO: ProcessCDR(1,14190665,1,1,2)
[2025-01-06 22:38:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190665,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:38:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190665,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:38:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190665,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:38:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190665,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:38:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190665', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:38:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190665', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:38:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:38:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:38:24] Production.INFO: ==3352== Releasing lock...
[2025-01-06 22:38:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:38:24] Production.INFO: 33.25 MB #Memory Used#
[2025-01-07 03:39:01] Production.INFO: ==3432== Lock acquired, processing the job...
[2025-01-07 03:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:39:01] Production.INFO: neon service started
[2025-01-07 03:39:01] Production.INFO: neon service started
[2025-01-07 03:39:01] Production.INFO: ==3432== Releasing lock...
[2025-01-07 03:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:39:01] Production.INFO: ==3436== Lock acquired, processing the job...
[2025-01-07 03:39:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:39:01] Production.INFO: ==3436== Releasing lock...
[2025-01-07 03:39:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:39:01] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:39:01] Production.INFO: ==3434== Lock acquired, processing the job...
[2025-01-06 22:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 22:39:02] Production.INFO: ==3434== Releasing lock...
[2025-01-06 22:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 22:39:03] Production.INFO: ==3447== Lock acquired, processing the job...
[2025-01-06 22:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:39:03] Production.INFO: ==3444== Lock acquired, processing the job...
[2025-01-06 22:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:39:03] Production.INFO: ==3438== Lock acquired, processing the job...
[2025-01-06 22:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:39:03] Production.INFO: ==3440== Lock acquired, processing the job...
[2025-01-06 22:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:39:03] Production.INFO: Account Balance Start.
[2025-01-06 22:39:03] Production.INFO: CreateAllLog Start
[2025-01-06 22:39:03] Production.INFO: 117
[2025-01-06 22:39:03] Production.INFO: ==3442== Lock acquired, processing the job...
[2025-01-06 22:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:39:03] Production.INFO: Date 2024-12-08
[2025-01-06 22:39:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:39:03] Production.INFO: ==3449== Lock acquired, processing the job...
[2025-01-06 22:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:39:03] Production.ERROR: done
[2025-01-06 22:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:39:03] Production.INFO: Date 2024-12-09
[2025-01-06 22:39:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 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-06 22:39:03] Production.INFO: Date 2024-12-10
[2025-01-06 22:39:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:39:03] Production.INFO: count ==21
[2025-01-06 22:39:03] Production.ERROR: done
[2025-01-06 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-06 22:39:03] Production.INFO: count ==21
[2025-01-06 22:39:03] Production.INFO: Date 2024-12-11
[2025-01-06 22:39:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190669') start
[2025-01-06 22:39:03] Production.INFO: Date 2024-12-12
[2025-01-06 22:39:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:39:03] Production.INFO: ==3440== Releasing lock...
[2025-01-06 22:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:39:03] Production.INFO: Date 2024-12-13
[2025-01-06 22:39:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:39:03] Production.INFO: Date 2024-12-14
[2025-01-06 22:39:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:39:03] Production.INFO: Date 2024-12-15
[2025-01-06 22:39:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190669') end
[2025-01-06 22:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:39:03] Production.INFO: 1
[2025-01-06 22:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:39:03] Production.INFO: Date 2024-12-16
[2025-01-06 22:39:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:39:03] Production.INFO: Date 2024-12-17
[2025-01-06 22:39:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:39:03] Production.INFO: ==3449== Releasing lock...
[2025-01-06 22:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:39:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:39:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:39:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:39:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:39:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:39:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:39:04] Production.INFO: Date 2024-12-24
[2025-01-06 22:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:39:04] Production.INFO: Date 2024-12-25
[2025-01-06 22:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:39:04] Production.INFO: Date 2024-12-26
[2025-01-06 22:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:39:04] Production.INFO: Date 2024-12-27
[2025-01-06 22:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:39:04] Production.INFO: Date 2024-12-28
[2025-01-06 22:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:39:04] Production.INFO: Date 2024-12-29
[2025-01-06 22:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:39:04] Production.INFO: Date 2024-12-30
[2025-01-06 22:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:39:04] Production.INFO: Date 2024-12-31
[2025-01-06 22:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:39:04] Production.INFO: Date 2025-01-01
[2025-01-06 22:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:39:04] Production.INFO: Date 2025-01-02
[2025-01-06 22:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:39:04] Production.INFO: Date 2025-01-03
[2025-01-06 22:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:39:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:39:04
[end_date_ymd] => 2025-01-06 22:39:04
[RateCDR] => 1
)
[2025-01-06 22:39:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 19:39:04' and `end` < '2025-01-06 22:39:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 22:39:04] Production.INFO: Date 2025-01-04
[2025-01-06 22:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:39:04] Production.INFO: Date 2025-01-05
[2025-01-06 22:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:39:04] Production.INFO: Date 2025-01-06
[2025-01-06 22:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:39:04] Production.INFO: Total Charge 0
[2025-01-06 22:39:04] Production.INFO: CreateAllLog End
[2025-01-06 22:39:04] Production.INFO: Account Balance End.
[2025-01-06 22:39:04] Production.ERROR: CronJobId end 12
[2025-01-06 22:39:04] Production.INFO: ==3444== Releasing lock...
[2025-01-06 22:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:39:12] Production.ERROR: CronJobId end10
[2025-01-06 22:39:12] Production.INFO: ==3442== Releasing lock...
[2025-01-06 22:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:39:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:39:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:39:13] Production.INFO: call_cost start
[2025-01-06 22:39:13] Production.INFO: call_cost end
[2025-01-06 22:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:39:14] Production.INFO: ==3438== Releasing lock...
[2025-01-06 22:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:39:18] Production.INFO: count ==787
[2025-01-06 22:39:18] Production.ERROR: pbx CDR StartTime 2025-01-06 19:39:04 - End Time 2025-01-06 22:39:04
[2025-01-06 22:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190670', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190670', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190670', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190670', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:39:18] Production.INFO: ProcessCDR(1,14190670,1,1,2)
[2025-01-06 22:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190670,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190670,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190670,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190670,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190670', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190670', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:39:21] Production.INFO: ==3447== Releasing lock...
[2025-01-06 22:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:39:21] Production.INFO: 33.25 MB #Memory Used#
[2025-01-07 03:40:01] Production.INFO: ==3528== Lock acquired, processing the job...
[2025-01-07 03:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:40:01] Production.INFO: neon service started
[2025-01-07 03:40:01] Production.INFO: neon service started
[2025-01-07 03:40:01] Production.INFO: ==3528== Releasing lock...
[2025-01-07 03:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:40:02] Production.INFO: ==3530== Lock acquired, processing the job...
[2025-01-06 22:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:40:02] Production.INFO: ==3532== Lock acquired, processing the job...
[2025-01-07 03:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-06 22:40:02] Production.INFO: ==3530== Releasing lock...
[2025-01-06 22:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:40:02] Production.INFO: ==3532== Releasing lock...
[2025-01-07 03:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:40:03] Production.INFO: ==3537== Lock acquired, processing the job...
[2025-01-06 22:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:40:03] Production.INFO: ==3534== Lock acquired, processing the job...
[2025-01-06 22:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-06 22:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-06 22:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 22:40:03] Production.ERROR: CronJob PID - 3537
[2025-01-06 22:40:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-06 22:40:03] Production.ERROR: CronJob ID - 5
[2025-01-06 22:40:03] Production.ERROR: CronJob Last Run Time 2025-01-06 22:40:00
[2025-01-06 22:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 22:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 22:40:03] Production.INFO: ==3539== Lock acquired, processing the job...
[2025-01-06 22:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-06 22:40:03] Production.INFO: ==3534== Releasing lock...
[2025-01-06 22:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-06 22:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-06 22:40:03] Production.INFO: ==3551== Lock acquired, processing the job...
[2025-01-06 22:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:40:03] Production.INFO: ==3549== Lock acquired, processing the job...
[2025-01-06 22:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-06 22:40:03] Production.INFO: ==3541== Lock acquired, processing the job...
[2025-01-06 22:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:40:03] Production.INFO: ==3544== Lock acquired, processing the job...
[2025-01-06 22:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:40:03] Production.INFO: ==3546== Lock acquired, processing the job...
[2025-01-06 22:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:40:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:40:04] Production.INFO: Account Balance Start.
[2025-01-06 22:40:04] Production.INFO: CreateAllLog Start
[2025-01-06 22:40:04] Production.INFO: 117
[2025-01-06 22:40:04] Production.INFO: count ==21
[2025-01-06 22:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 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-06 22:40:04] Production.INFO: count ==21
[2025-01-06 22:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190672') start
[2025-01-06 22:40:04] Production.INFO: Date 2024-12-08
[2025-01-06 22:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:40:04] Production.ERROR: done
[2025-01-06 22:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190672') end
[2025-01-06 22:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:40:04] Production.INFO: 1
[2025-01-06 22:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:40:04] Production.INFO: Date 2024-12-09
[2025-01-06 22:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:40:04] Production.INFO: ==3551== Releasing lock...
[2025-01-06 22:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-06 22:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14190675', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) start
[2025-01-06 22:40:04] Production.INFO: ==3539== Releasing lock...
[2025-01-06 22:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:40:04] Production.ERROR: done
[2025-01-06 22:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:40:04] Production.INFO: Date 2024-12-10
[2025-01-06 22:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:40:04] Production.ERROR: done
[2025-01-06 22:40:04] Production.INFO: Date 2024-12-11
[2025-01-06 22:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:40:04] Production.INFO: Date 2024-12-12
[2025-01-06 22:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:40:04] Production.INFO: Date 2024-12-13
[2025-01-06 22:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:40:04] Production.INFO: Date 2024-12-14
[2025-01-06 22:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:40:04] Production.INFO: Date 2024-12-15
[2025-01-06 22:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:40:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:40:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:40:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:40:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:40:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:40:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:40:05] Production.INFO: Date 2024-12-22
[2025-01-06 22:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:40:05] Production.INFO: Date 2024-12-23
[2025-01-06 22:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:40:05] Production.INFO: Date 2024-12-24
[2025-01-06 22:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:40:05] Production.INFO: Date 2024-12-25
[2025-01-06 22:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:40:05] Production.INFO: Date 2024-12-26
[2025-01-06 22:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:40:05] Production.INFO: Date 2024-12-27
[2025-01-06 22:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:40:05] Production.INFO: Date 2024-12-28
[2025-01-06 22:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:40:05] Production.INFO: Date 2024-12-29
[2025-01-06 22:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:40:05] Production.INFO: Date 2024-12-30
[2025-01-06 22:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:40:05] Production.INFO: Date 2024-12-31
[2025-01-06 22:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:40:05] Production.INFO: Date 2025-01-01
[2025-01-06 22:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:40:05] Production.INFO: Date 2025-01-02
[2025-01-06 22:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:40:05] Production.INFO: Date 2025-01-03
[2025-01-06 22:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:40:05] Production.INFO: Date 2025-01-04
[2025-01-06 22:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:40:05] Production.INFO: Date 2025-01-05
[2025-01-06 22:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:40:05] Production.INFO: Date 2025-01-06
[2025-01-06 22:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:40:05] Production.INFO: Total Charge 0
[2025-01-06 22:40:05] Production.INFO: CreateAllLog End
[2025-01-06 22:40:05] Production.INFO: Account Balance End.
[2025-01-06 22:40:05] Production.ERROR: CronJobId end 12
[2025-01-06 22:40:05] Production.INFO: ==3544== Releasing lock...
[2025-01-06 22:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:40:05
[end_date_ymd] => 2025-01-06 22:40:05
[RateCDR] => 1
)
[2025-01-06 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-06 19:40:05' and `end` < '2025-01-06 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-06 22:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14190675', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) end
[2025-01-06 22:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-06 22:40:08] Production.INFO: ProcessCDR(1,14190675,1,1,2)
[2025-01-06 22:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14190675,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14190675,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:40:09] Production.INFO: ==3549== Releasing lock...
[2025-01-06 22:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-06 22:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-06 22:40:13] Production.ERROR: CronJobId end10
[2025-01-06 22:40:13] Production.INFO: ==3541== Releasing lock...
[2025-01-06 22:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:40:14] Production.INFO: call_cost start
[2025-01-06 22:40:14] Production.INFO: call_cost end
[2025-01-06 22:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:40:15] Production.INFO: ==3537== Releasing lock...
[2025-01-06 22:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:40:18] Production.INFO: count ==786
[2025-01-06 22:40:18] Production.ERROR: pbx CDR StartTime 2025-01-06 19:40:05 - End Time 2025-01-06 22:40:05
[2025-01-06 22:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190676', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190676', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190676', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190676', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:40:18] Production.INFO: ProcessCDR(1,14190676,1,1,2)
[2025-01-06 22:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190676,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190676,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190676,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190676,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190676', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190676', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:40:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:40:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:40:21] Production.INFO: ==3546== Releasing lock...
[2025-01-06 22:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:40:21] Production.INFO: 33 MB #Memory Used#
[2025-01-07 03:41:02] Production.INFO: ==3634== Lock acquired, processing the job...
[2025-01-07 03:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:41:02] Production.INFO: neon service started
[2025-01-07 03:41:02] Production.INFO: neon service started
[2025-01-07 03:41:02] Production.INFO: ==3634== Releasing lock...
[2025-01-07 03:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:41:02] Production.INFO: ==3636== Lock acquired, processing the job...
[2025-01-06 22:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 22:41:02] Production.INFO: ==3636== Releasing lock...
[2025-01-06 22:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:41:02] Production.INFO: ==3638== Lock acquired, processing the job...
[2025-01-07 03:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:41:03] Production.INFO: ==3638== Releasing lock...
[2025-01-07 03:41:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:41:03] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:41:03] Production.INFO: ==3640== Lock acquired, processing the job...
[2025-01-06 22:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:41:03] Production.INFO: ==3642== Lock acquired, processing the job...
[2025-01-06 22:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:41:03] Production.INFO: ==3644== Lock acquired, processing the job...
[2025-01-06 22:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:41:03] Production.INFO: ==3646== Lock acquired, processing the job...
[2025-01-06 22:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:41:04] Production.INFO: ==3648== Lock acquired, processing the job...
[2025-01-06 22:41:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:41:04] Production.INFO: Account Balance Start.
[2025-01-06 22:41:04] Production.INFO: CreateAllLog Start
[2025-01-06 22:41:04] Production.INFO: 117
[2025-01-06 22:41:04] Production.INFO: Date 2024-12-08
[2025-01-06 22:41:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:41:04] Production.INFO: ==3650== Lock acquired, processing the job...
[2025-01-06 22:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:41:04] Production.INFO: ==3642== Releasing lock...
[2025-01-06 22:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:41:04] Production.INFO: Date 2024-12-09
[2025-01-06 22:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:41:04] Production.INFO: Date 2024-12-10
[2025-01-06 22:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:41:04] Production.ERROR: done
[2025-01-06 22:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:41:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:41:04] Production.INFO: Date 2024-12-11
[2025-01-06 22:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:41:04] Production.INFO: count ==21
[2025-01-06 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-06 22:41:04] Production.INFO: count ==21
[2025-01-06 22:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190680') start
[2025-01-06 22:41:04] Production.INFO: Date 2024-12-12
[2025-01-06 22:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190680') end
[2025-01-06 22:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:41:04] Production.INFO: 1
[2025-01-06 22:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:41:04] Production.INFO: Date 2024-12-13
[2025-01-06 22:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:41:04] Production.ERROR: done
[2025-01-06 22:41:04] Production.INFO: ==3650== Releasing lock...
[2025-01-06 22:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:41:04] Production.INFO: Date 2024-12-14
[2025-01-06 22:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:41:04] Production.INFO: Date 2024-12-15
[2025-01-06 22:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:41:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:41:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:41:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:41:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:41:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:41:05] Production.INFO: Date 2024-12-21
[2025-01-06 22:41:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:41:05] Production.INFO: Date 2024-12-22
[2025-01-06 22:41:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:41:05] Production.INFO: Date 2024-12-23
[2025-01-06 22:41:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:41:05] Production.INFO: Date 2024-12-24
[2025-01-06 22:41:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:41:05] Production.INFO: Date 2024-12-25
[2025-01-06 22:41:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:41:05] Production.INFO: Date 2024-12-26
[2025-01-06 22:41:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:41:05] Production.INFO: Date 2024-12-27
[2025-01-06 22:41:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:41:05] Production.INFO: Date 2024-12-28
[2025-01-06 22:41:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:41:05] Production.INFO: Date 2024-12-29
[2025-01-06 22:41:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:41:05] Production.INFO: Date 2024-12-30
[2025-01-06 22:41:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:41:05] Production.INFO: Date 2024-12-31
[2025-01-06 22:41:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:41:05] Production.INFO: Date 2025-01-01
[2025-01-06 22:41:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:41:05] Production.INFO: Date 2025-01-02
[2025-01-06 22:41:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:41:05] Production.INFO: Date 2025-01-03
[2025-01-06 22:41:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:41:05] Production.INFO: Date 2025-01-04
[2025-01-06 22:41:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:41:05] Production.INFO: Date 2025-01-05
[2025-01-06 22:41:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:41:05] Production.INFO: Date 2025-01-06
[2025-01-06 22:41:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:41:05] Production.INFO: Total Charge 0
[2025-01-06 22:41:05] Production.INFO: CreateAllLog End
[2025-01-06 22:41:05] Production.INFO: Account Balance End.
[2025-01-06 22:41:05] Production.ERROR: CronJobId end 12
[2025-01-06 22:41:05] Production.INFO: ==3646== Releasing lock...
[2025-01-06 22:41:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:41:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:41:05
[end_date_ymd] => 2025-01-06 22:41:05
[RateCDR] => 1
)
[2025-01-06 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-06 19:41:05' and `end` < '2025-01-06 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-06 22:41:12] Production.ERROR: CronJobId end10
[2025-01-06 22:41:12] Production.INFO: ==3644== Releasing lock...
[2025-01-06 22:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:41:13] Production.INFO: call_cost start
[2025-01-06 22:41:13] Production.INFO: call_cost end
[2025-01-06 22:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:41:14] Production.INFO: ==3640== Releasing lock...
[2025-01-06 22:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:41:18] Production.INFO: count ==760
[2025-01-06 22:41:18] Production.ERROR: pbx CDR StartTime 2025-01-06 19:41:05 - End Time 2025-01-06 22:41:05
[2025-01-06 22:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190681', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190681', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190681', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190681', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:41:18] Production.INFO: ProcessCDR(1,14190681,1,1,2)
[2025-01-06 22:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190681,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190681,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190681,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190681,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190681', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190681', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:41:21] Production.INFO: ==3648== Releasing lock...
[2025-01-06 22:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:41:21] Production.INFO: 33 MB #Memory Used#
[2025-01-07 03:42:01] Production.INFO: ==3724== Lock acquired, processing the job...
[2025-01-07 03:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:42:01] Production.INFO: neon service started
[2025-01-07 03:42:01] Production.INFO: neon service started
[2025-01-07 03:42:01] Production.INFO: ==3724== Releasing lock...
[2025-01-07 03:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:42:02] Production.INFO: ==3726== Lock acquired, processing the job...
[2025-01-06 22:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 22:42:02] Production.INFO: ==3726== Releasing lock...
[2025-01-06 22:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:42:02] Production.INFO: ==3728== Lock acquired, processing the job...
[2025-01-07 03:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:42:02] Production.INFO: ==3728== Releasing lock...
[2025-01-07 03:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:42:03] Production.INFO: ==3736== Lock acquired, processing the job...
[2025-01-06 22:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:42:03] Production.INFO: ==3740== Lock acquired, processing the job...
[2025-01-06 22:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:42:03] Production.INFO: Account Balance Start.
[2025-01-06 22:42:03] Production.INFO: CreateAllLog Start
[2025-01-06 22:42:03] Production.INFO: 117
[2025-01-06 22:42:03] Production.INFO: Date 2024-12-08
[2025-01-06 22:42:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:42:03] Production.INFO: ==3730== Lock acquired, processing the job...
[2025-01-06 22:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 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-06 22:42:03] Production.INFO: Date 2024-12-09
[2025-01-06 22:42:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:42:03] Production.INFO: Date 2024-12-10
[2025-01-06 22:42:03] Production.INFO: count ==21
[2025-01-06 22:42:03] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 22:42:03] Production.INFO: count ==21
[2025-01-06 22:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:42:03] Production.INFO: ==3732== Lock acquired, processing the job...
[2025-01-06 22:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:42:03] Production.INFO: Date 2024-12-11
[2025-01-06 22:42:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190683') start
[2025-01-06 22:42:03] Production.INFO: ==3734== Lock acquired, processing the job...
[2025-01-06 22:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:42:03] Production.INFO: Date 2024-12-12
[2025-01-06 22:42:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:42:03] Production.INFO: ==3738== Lock acquired, processing the job...
[2025-01-06 22:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:42:03] Production.INFO: Date 2024-12-13
[2025-01-06 22:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190683') end
[2025-01-06 22:42:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:42:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:42:03] Production.INFO: 1
[2025-01-06 22:42:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:42:03] Production.INFO: Date 2024-12-14
[2025-01-06 22:42:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:42:03] Production.INFO: Date 2024-12-15
[2025-01-06 22:42:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:42:03] Production.INFO: ==3740== Releasing lock...
[2025-01-06 22:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:42:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:42:03] Production.INFO: Date 2024-12-16
[2025-01-06 22:42:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:42:03] Production.INFO: Date 2024-12-17
[2025-01-06 22:42:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:42:03] Production.INFO: Date 2024-12-18
[2025-01-06 22:42:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:42:03] Production.INFO: Date 2024-12-19
[2025-01-06 22:42:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:42:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:42:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:42:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:42:04] Production.ERROR: done
[2025-01-06 22:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:42:04] Production.INFO: ==3732== Releasing lock...
[2025-01-06 22:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:42:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:42:04] Production.INFO: Date 2024-12-24
[2025-01-06 22:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:42:04] Production.INFO: Date 2024-12-25
[2025-01-06 22:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:42:04] Production.INFO: Date 2024-12-26
[2025-01-06 22:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:42:04] Production.ERROR: done
[2025-01-06 22:42:04] Production.INFO: Date 2024-12-27
[2025-01-06 22:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:42:04] Production.INFO: Date 2024-12-28
[2025-01-06 22:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:42:04] Production.INFO: Date 2024-12-29
[2025-01-06 22:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:42:04] Production.INFO: Date 2024-12-30
[2025-01-06 22:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:42:04] Production.INFO: Date 2024-12-31
[2025-01-06 22:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:42:04] Production.INFO: Date 2025-01-01
[2025-01-06 22:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:42:04] Production.INFO: Date 2025-01-02
[2025-01-06 22:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:42:04] Production.INFO: Date 2025-01-03
[2025-01-06 22:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:42:04] Production.INFO: Date 2025-01-04
[2025-01-06 22:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:42:04] Production.INFO: Date 2025-01-05
[2025-01-06 22:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:42:04] Production.INFO: Date 2025-01-06
[2025-01-06 22:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:42:04] Production.INFO: Total Charge 0
[2025-01-06 22:42:04] Production.INFO: CreateAllLog End
[2025-01-06 22:42:04] Production.INFO: Account Balance End.
[2025-01-06 22:42:04] Production.ERROR: CronJobId end 12
[2025-01-06 22:42:04] Production.INFO: ==3736== Releasing lock...
[2025-01-06 22:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:42:05
[end_date_ymd] => 2025-01-06 22:42:05
[RateCDR] => 1
)
[2025-01-06 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-06 19:42:05' and `end` < '2025-01-06 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-06 22:42:12] Production.ERROR: CronJobId end10
[2025-01-06 22:42:12] Production.INFO: ==3734== Releasing lock...
[2025-01-06 22:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:42:14] Production.INFO: call_cost start
[2025-01-06 22:42:14] Production.INFO: call_cost end
[2025-01-06 22:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:42:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:42:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:42:15] Production.INFO: ==3730== Releasing lock...
[2025-01-06 22:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:42:18] Production.INFO: count ==760
[2025-01-06 22:42:18] Production.ERROR: pbx CDR StartTime 2025-01-06 19:42:05 - End Time 2025-01-06 22:42:05
[2025-01-06 22:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190686', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190686', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190686', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190686', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:42:18] Production.INFO: ProcessCDR(1,14190686,1,1,2)
[2025-01-06 22:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190686,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190686,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190686,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190686,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190686', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190686', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:42:21] Production.INFO: ==3738== Releasing lock...
[2025-01-06 22:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:42:21] Production.INFO: 33 MB #Memory Used#
[2025-01-07 03:43:02] Production.INFO: ==3830== Lock acquired, processing the job...
[2025-01-07 03:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:43:02] Production.INFO: neon service started
[2025-01-07 03:43:02] Production.INFO: neon service started
[2025-01-07 03:43:02] Production.INFO: ==3830== Releasing lock...
[2025-01-07 03:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:43:02] Production.INFO: ==3832== Lock acquired, processing the job...
[2025-01-06 22:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:43:02] Production.INFO: ==3834== Lock acquired, processing the job...
[2025-01-07 03:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:43:02] Production.INFO: ==3834== Releasing lock...
[2025-01-07 03:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:43:03] Production.INFO: ==3832== Releasing lock...
[2025-01-06 22:43:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:43:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 22:43:03] Production.INFO: ==3837== Lock acquired, processing the job...
[2025-01-06 22:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:43:03] Production.INFO: ==3843== Lock acquired, processing the job...
[2025-01-06 22:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:43:03] Production.INFO: ==3845== Lock acquired, processing the job...
[2025-01-06 22:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:43:04] Production.INFO: Account Balance Start.
[2025-01-06 22:43:04] Production.INFO: CreateAllLog Start
[2025-01-06 22:43:04] Production.INFO: 117
[2025-01-06 22:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:43:04] Production.INFO: Date 2024-12-08
[2025-01-06 22:43:04] Production.INFO: ==3839== Lock acquired, processing the job...
[2025-01-06 22:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:43:04] Production.INFO: Date 2024-12-09
[2025-01-06 22:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:43:04] Production.INFO: ==3841== Lock acquired, processing the job...
[2025-01-06 22:43:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:43:04] Production.INFO: Date 2024-12-10
[2025-01-06 22:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:43:04] Production.INFO: Date 2024-12-11
[2025-01-06 22:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:43:04] Production.INFO: ==3847== Lock acquired, processing the job...
[2025-01-06 22:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:43:04] Production.INFO: Date 2024-12-12
[2025-01-06 22:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:43:04] Production.INFO: count ==21
[2025-01-06 22:43:04] Production.INFO: Date 2024-12-13
[2025-01-06 22:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:43:04] Production.ERROR: done
[2025-01-06 22:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:43:04] Production.INFO: count ==21
[2025-01-06 22:43:04] Production.INFO: Date 2024-12-14
[2025-01-06 22:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190689') start
[2025-01-06 22:43:04] Production.INFO: Date 2024-12-15
[2025-01-06 22:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:43:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:43:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190689') end
[2025-01-06 22:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:43:04] Production.INFO: 1
[2025-01-06 22:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:43:04] Production.ERROR: done
[2025-01-06 22:43:04] Production.INFO: ==3847== Releasing lock...
[2025-01-06 22:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:43:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:43:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:43:04] Production.INFO: ==3839== Releasing lock...
[2025-01-06 22:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:43:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:43:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:43:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:43:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:43:04] Production.INFO: Date 2024-12-24
[2025-01-06 22:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:43:04] Production.INFO: Date 2024-12-25
[2025-01-06 22:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:43:04] Production.INFO: Date 2024-12-26
[2025-01-06 22:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:43:04] Production.INFO: Date 2024-12-27
[2025-01-06 22:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:43:04] Production.INFO: Date 2024-12-28
[2025-01-06 22:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:43:05] Production.INFO: Date 2024-12-29
[2025-01-06 22:43:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:43:05] Production.INFO: Date 2024-12-30
[2025-01-06 22:43:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:43:05
[end_date_ymd] => 2025-01-06 22:43:05
[RateCDR] => 1
)
[2025-01-06 22:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 19:43:05' and `end` < '2025-01-06 22:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 22:43:05] Production.INFO: Date 2024-12-31
[2025-01-06 22:43:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:43:05] Production.INFO: Date 2025-01-01
[2025-01-06 22:43:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:43:05] Production.INFO: Date 2025-01-02
[2025-01-06 22:43:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:43:05] Production.INFO: Date 2025-01-03
[2025-01-06 22:43:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:43:05] Production.INFO: Date 2025-01-04
[2025-01-06 22:43:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:43:05] Production.INFO: Date 2025-01-05
[2025-01-06 22:43:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:43:05] Production.INFO: Date 2025-01-06
[2025-01-06 22:43:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:43:05] Production.INFO: Total Charge 0
[2025-01-06 22:43:05] Production.INFO: CreateAllLog End
[2025-01-06 22:43:05] Production.INFO: Account Balance End.
[2025-01-06 22:43:05] Production.ERROR: CronJobId end 12
[2025-01-06 22:43:05] Production.INFO: ==3843== Releasing lock...
[2025-01-06 22:43:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:43:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:43:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:43:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:43:13] Production.ERROR: CronJobId end10
[2025-01-06 22:43:13] Production.INFO: ==3841== Releasing lock...
[2025-01-06 22:43:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:43:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:43:14] Production.INFO: call_cost start
[2025-01-06 22:43:14] Production.INFO: call_cost end
[2025-01-06 22:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:43:14] Production.INFO: ==3837== Releasing lock...
[2025-01-06 22:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:43:18] Production.INFO: count ==760
[2025-01-06 22:43:18] Production.ERROR: pbx CDR StartTime 2025-01-06 19:43:05 - End Time 2025-01-06 22:43:05
[2025-01-06 22:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190691', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190691', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190691', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190691', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:43:18] Production.INFO: ProcessCDR(1,14190691,1,1,2)
[2025-01-06 22:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190691,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190691,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190691,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190691,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190691', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190691', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:43:21] Production.INFO: ==3845== Releasing lock...
[2025-01-06 22:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:43:21] Production.INFO: 33 MB #Memory Used#
[2025-01-07 03:44:01] Production.INFO: ==3926== Lock acquired, processing the job...
[2025-01-07 03:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:44:01] Production.INFO: neon service started
[2025-01-07 03:44:01] Production.INFO: neon service started
[2025-01-07 03:44:01] Production.INFO: ==3926== Releasing lock...
[2025-01-07 03:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:44:01] Production.INFO: ==3931== Lock acquired, processing the job...
[2025-01-07 03:44:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:44:01] Production.INFO: ==3931== Releasing lock...
[2025-01-07 03:44:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:44:01] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:44:02] Production.INFO: ==3929== Lock acquired, processing the job...
[2025-01-06 22:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 22:44:02] Production.INFO: ==3929== Releasing lock...
[2025-01-06 22:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 22:44:03] Production.INFO: ==3933== Lock acquired, processing the job...
[2025-01-06 22:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:44:03] Production.INFO: ==3943== Lock acquired, processing the job...
[2025-01-06 22:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:44:03] Production.INFO: ==3935== Lock acquired, processing the job...
[2025-01-06 22:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:44:03] Production.INFO: count ==21
[2025-01-06 22:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:44:03] Production.INFO: ==3937== Lock acquired, processing the job...
[2025-01-06 22:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:44:03] Production.INFO: count ==21
[2025-01-06 22:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190693') start
[2025-01-06 22:44:03] Production.INFO: ==3939== Lock acquired, processing the job...
[2025-01-06 22:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:44:03] Production.INFO: ==3941== Lock acquired, processing the job...
[2025-01-06 22:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190693') end
[2025-01-06 22:44:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:44:03] Production.INFO: 1
[2025-01-06 22:44:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:44:03] Production.INFO: ==3943== Releasing lock...
[2025-01-06 22:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:44:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:44:03] Production.INFO: Account Balance Start.
[2025-01-06 22:44:03] Production.INFO: CreateAllLog Start
[2025-01-06 22:44:03] Production.INFO: 117
[2025-01-06 22:44:03] Production.INFO: Date 2024-12-08
[2025-01-06 22:44:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:44:03] Production.INFO: Date 2024-12-09
[2025-01-06 22:44:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:44:03] Production.INFO: ==3935== Releasing lock...
[2025-01-06 22:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:44:03] Production.INFO: Date 2024-12-10
[2025-01-06 22:44:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:44:03] Production.INFO: Date 2024-12-11
[2025-01-06 22:44:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:44:04] Production.INFO: Date 2024-12-12
[2025-01-06 22:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:44:04] Production.ERROR: done
[2025-01-06 22:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:44:04] Production.INFO: Date 2024-12-13
[2025-01-06 22:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:44:04] Production.INFO: Date 2024-12-14
[2025-01-06 22:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:44:04] Production.INFO: Date 2024-12-15
[2025-01-06 22:44:04] Production.ERROR: done
[2025-01-06 22:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:44:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:44:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:44:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:44:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:44:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:44:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:44:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:44:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:44:04] Production.INFO: Date 2024-12-24
[2025-01-06 22:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:44:04] Production.INFO: Date 2024-12-25
[2025-01-06 22:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:44:04] Production.INFO: Date 2024-12-26
[2025-01-06 22:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:44:04] Production.INFO: Date 2024-12-27
[2025-01-06 22:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:44:04] Production.INFO: Date 2024-12-28
[2025-01-06 22:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:44:04] Production.INFO: Date 2024-12-29
[2025-01-06 22:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:44:04] Production.INFO: Date 2024-12-30
[2025-01-06 22:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:44:04] Production.INFO: Date 2024-12-31
[2025-01-06 22:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:44:04] Production.INFO: Date 2025-01-01
[2025-01-06 22:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:44:04] Production.INFO: Date 2025-01-02
[2025-01-06 22:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:44:04] Production.INFO: Date 2025-01-03
[2025-01-06 22:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:44:04] Production.INFO: Date 2025-01-04
[2025-01-06 22:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:44:04] Production.INFO: Date 2025-01-05
[2025-01-06 22:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:44:04] Production.INFO: Date 2025-01-06
[2025-01-06 22:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:44:04] Production.INFO: Total Charge 0
[2025-01-06 22:44:04] Production.INFO: CreateAllLog End
[2025-01-06 22:44:05] Production.INFO: Account Balance End.
[2025-01-06 22:44:05] Production.ERROR: CronJobId end 12
[2025-01-06 22:44:05] Production.INFO: ==3939== Releasing lock...
[2025-01-06 22:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:44:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:44:05
[end_date_ymd] => 2025-01-06 22:44:05
[RateCDR] => 1
)
[2025-01-06 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-06 19:44:05' and `end` < '2025-01-06 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-06 22:44:12] Production.ERROR: CronJobId end10
[2025-01-06 22:44:12] Production.INFO: ==3937== Releasing lock...
[2025-01-06 22:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:44:13] Production.INFO: call_cost start
[2025-01-06 22:44:13] Production.INFO: call_cost end
[2025-01-06 22:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:44:14] Production.INFO: ==3933== Releasing lock...
[2025-01-06 22:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:44:18] Production.INFO: count ==753
[2025-01-06 22:44:18] Production.ERROR: pbx CDR StartTime 2025-01-06 19:44:05 - End Time 2025-01-06 22:44:05
[2025-01-06 22:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190696', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190696', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190696', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190696', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:44:18] Production.INFO: ProcessCDR(1,14190696,1,1,2)
[2025-01-06 22:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190696,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190696,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190696,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190696,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190696', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190696', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:44:21] Production.INFO: ==3941== Releasing lock...
[2025-01-06 22:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:44:21] Production.INFO: 32.75 MB #Memory Used#
[2025-01-07 03:45:01] Production.INFO: ==4032== Lock acquired, processing the job...
[2025-01-07 03:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:45:02] Production.INFO: neon service started
[2025-01-07 03:45:02] Production.INFO: neon service started
[2025-01-07 03:45:02] Production.INFO: ==4032== Releasing lock...
[2025-01-07 03:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:45:02] Production.INFO: ==4034== Lock acquired, processing the job...
[2025-01-06 22:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 22:45:02] Production.INFO: ==4034== Releasing lock...
[2025-01-06 22:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:45:02] Production.INFO: ==4036== Lock acquired, processing the job...
[2025-01-07 03:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:45:02] Production.INFO: ==4036== Releasing lock...
[2025-01-07 03:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:45:03] Production.INFO: ==4038== Lock acquired, processing the job...
[2025-01-06 22:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:45:03] Production.INFO: ==4040== Lock acquired, processing the job...
[2025-01-06 22:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:45:03] Production.INFO: ==4042== Lock acquired, processing the job...
[2025-01-06 22:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:45:03] Production.INFO: ==4044== Lock acquired, processing the job...
[2025-01-06 22:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:45:03] Production.INFO: ==4046== Lock acquired, processing the job...
[2025-01-06 22:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:45:03] Production.INFO: Account Balance Start.
[2025-01-06 22:45:03] Production.INFO: CreateAllLog Start
[2025-01-06 22:45:03] Production.INFO: 117
[2025-01-06 22:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:45:03] Production.INFO: Date 2024-12-08
[2025-01-06 22:45:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:45:03] Production.INFO: ==4048== Lock acquired, processing the job...
[2025-01-06 22:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:45:03] Production.INFO: Date 2024-12-09
[2025-01-06 22:45:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:45:03] Production.INFO: ==4040== Releasing lock...
[2025-01-06 22:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:45:03] Production.INFO: Date 2024-12-10
[2025-01-06 22:45:03] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 22:45:03] Production.INFO: Date 2024-12-11
[2025-01-06 22:45:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:45:03] Production.INFO: count ==21
[2025-01-06 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-06 22:45:03] Production.INFO: Date 2024-12-12
[2025-01-06 22:45:03] Production.INFO: count ==21
[2025-01-06 22:45:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:45:03] Production.ERROR: done
[2025-01-06 22:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190700') start
[2025-01-06 22:45:04] Production.INFO: Date 2024-12-13
[2025-01-06 22:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:45:04] Production.INFO: Date 2024-12-14
[2025-01-06 22:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:45:04] Production.INFO: Date 2024-12-15
[2025-01-06 22:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190700') end
[2025-01-06 22:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:45:04] Production.INFO: 1
[2025-01-06 22:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:45:04] Production.ERROR: done
[2025-01-06 22:45:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:45:04] Production.INFO: ==4048== Releasing lock...
[2025-01-06 22:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:45:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:45:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:45:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:45:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:45:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:45:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:45:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:45:04] Production.INFO: Date 2024-12-24
[2025-01-06 22:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:45:04] Production.INFO: Date 2024-12-25
[2025-01-06 22:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:45:04] Production.INFO: Date 2024-12-26
[2025-01-06 22:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:45:04] Production.INFO: Date 2024-12-27
[2025-01-06 22:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:45:04] Production.INFO: Date 2024-12-28
[2025-01-06 22:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:45:04] Production.INFO: Date 2024-12-29
[2025-01-06 22:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:45:04] Production.INFO: Date 2024-12-30
[2025-01-06 22:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:45:04] Production.INFO: Date 2024-12-31
[2025-01-06 22:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:45:04] Production.INFO: Date 2025-01-01
[2025-01-06 22:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:45:04] Production.INFO: Date 2025-01-02
[2025-01-06 22:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:45:04] Production.INFO: Date 2025-01-03
[2025-01-06 22:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:45:04] Production.INFO: Date 2025-01-04
[2025-01-06 22:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:45:04] Production.INFO: Date 2025-01-05
[2025-01-06 22:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:45:04] Production.INFO: Date 2025-01-06
[2025-01-06 22:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:45:04] Production.INFO: Total Charge 0
[2025-01-06 22:45:04] Production.INFO: CreateAllLog End
[2025-01-06 22:45:05] Production.INFO: Account Balance End.
[2025-01-06 22:45:05] Production.ERROR: CronJobId end 12
[2025-01-06 22:45:05] Production.INFO: ==4044== Releasing lock...
[2025-01-06 22:45:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:45:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:45:05
[end_date_ymd] => 2025-01-06 22:45:05
[RateCDR] => 1
)
[2025-01-06 22:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 19:45:05' and `end` < '2025-01-06 22:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 22:45:11] Production.ERROR: CronJobId end10
[2025-01-06 22:45:11] Production.INFO: ==4042== Releasing lock...
[2025-01-06 22:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:45:13] Production.INFO: call_cost start
[2025-01-06 22:45:13] Production.INFO: call_cost end
[2025-01-06 22:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:45:14] Production.INFO: ==4038== Releasing lock...
[2025-01-06 22:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:45:18] Production.INFO: count ==746
[2025-01-06 22:45:18] Production.ERROR: pbx CDR StartTime 2025-01-06 19:45:05 - End Time 2025-01-06 22:45:05
[2025-01-06 22:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190701', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190701', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190701', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190701', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:45:18] Production.INFO: ProcessCDR(1,14190701,1,1,2)
[2025-01-06 22:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190701,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190701,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190701,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190701,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190701', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190701', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:45:21] Production.INFO: ==4046== Releasing lock...
[2025-01-06 22:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:45:21] Production.INFO: 32.75 MB #Memory Used#
[2025-01-07 03:46:01] Production.INFO: ==4134== Lock acquired, processing the job...
[2025-01-07 03:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:46:01] Production.INFO: neon service started
[2025-01-07 03:46:01] Production.INFO: neon service started
[2025-01-07 03:46:01] Production.INFO: ==4134== Releasing lock...
[2025-01-07 03:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:46:01] Production.INFO: ==4136== Lock acquired, processing the job...
[2025-01-06 22:46:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 22:46:02] Production.INFO: ==4136== Releasing lock...
[2025-01-06 22:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:46:02] Production.INFO: ==4138== Lock acquired, processing the job...
[2025-01-07 03:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:46:02] Production.INFO: ==4138== Releasing lock...
[2025-01-07 03:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:46:03] Production.INFO: ==4147== Lock acquired, processing the job...
[2025-01-06 22:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:46:03] Production.INFO: ==4149== Lock acquired, processing the job...
[2025-01-06 22:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:46:03] Production.INFO: Account Balance Start.
[2025-01-06 22:46:03] Production.INFO: CreateAllLog Start
[2025-01-06 22:46:03] Production.INFO: 117
[2025-01-06 22:46:03] Production.INFO: Date 2024-12-08
[2025-01-06 22:46:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:46:03] Production.INFO: ==4140== Lock acquired, processing the job...
[2025-01-06 22:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:46:03] Production.INFO: Date 2024-12-09
[2025-01-06 22:46:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:46:03] Production.INFO: Date 2024-12-10
[2025-01-06 22:46:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:46:03] Production.INFO: ==4142== Lock acquired, processing the job...
[2025-01-06 22:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:46:03] Production.INFO: Date 2024-12-11
[2025-01-06 22:46:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:46:03] Production.INFO: ==4145== Lock acquired, processing the job...
[2025-01-06 22:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:46:03] Production.INFO: Date 2024-12-12
[2025-01-06 22:46:03] Production.INFO: ==4151== Lock acquired, processing the job...
[2025-01-06 22:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:46:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:46:03] Production.INFO: Date 2024-12-13
[2025-01-06 22:46:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:46:03] Production.INFO: Date 2024-12-14
[2025-01-06 22:46:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:46:03] Production.ERROR: done
[2025-01-06 22:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:46:03] Production.INFO: count ==21
[2025-01-06 22: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-06 22:46:03] Production.INFO: count ==21
[2025-01-06 22:46:03] Production.INFO: Date 2024-12-15
[2025-01-06 22:46:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190704') start
[2025-01-06 22:46:03] Production.ERROR: done
[2025-01-06 22:46:03] Production.INFO: Date 2024-12-16
[2025-01-06 22:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190704') end
[2025-01-06 22:46:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:46:03] Production.INFO: 1
[2025-01-06 22:46:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:46:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:46:03] Production.INFO: ==4151== Releasing lock...
[2025-01-06 22:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:46:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:46:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:46:04] Production.INFO: ==4142== Releasing lock...
[2025-01-06 22:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:46:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:46:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:46:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:46:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:46:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:46:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:46:04] Production.INFO: Date 2024-12-24
[2025-01-06 22:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:46:04] Production.INFO: Date 2024-12-25
[2025-01-06 22:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:46:04] Production.INFO: Date 2024-12-26
[2025-01-06 22:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:46:04] Production.INFO: Date 2024-12-27
[2025-01-06 22:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:46:04] Production.INFO: Date 2024-12-28
[2025-01-06 22:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:46:04] Production.INFO: Date 2024-12-29
[2025-01-06 22:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:46:04] Production.INFO: Date 2024-12-30
[2025-01-06 22:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:46:04] Production.INFO: Date 2024-12-31
[2025-01-06 22:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:46:04] Production.INFO: Date 2025-01-01
[2025-01-06 22:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:46:04] Production.INFO: Date 2025-01-02
[2025-01-06 22:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:46:04] Production.INFO: Date 2025-01-03
[2025-01-06 22:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:46:04] Production.INFO: Date 2025-01-04
[2025-01-06 22:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:46:04] Production.INFO: Date 2025-01-05
[2025-01-06 22:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:46:04] Production.INFO: Date 2025-01-06
[2025-01-06 22:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:46:05] Production.INFO: Total Charge 0
[2025-01-06 22:46:05] Production.INFO: CreateAllLog End
[2025-01-06 22:46:05] Production.INFO: Account Balance End.
[2025-01-06 22:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:46:05
[end_date_ymd] => 2025-01-06 22:46:05
[RateCDR] => 1
)
[2025-01-06 22:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 19:46:05' and `end` < '2025-01-06 22:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 22:46:05] Production.ERROR: CronJobId end 12
[2025-01-06 22:46:05] Production.INFO: ==4147== Releasing lock...
[2025-01-06 22:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:46:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:46:11] Production.ERROR: CronJobId end10
[2025-01-06 22:46:11] Production.INFO: ==4145== Releasing lock...
[2025-01-06 22:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:46:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:46:12] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:46:12] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:46:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:46:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:46:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:46:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:46:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:46:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:46:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:46:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:46:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:46:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:46:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:46:13] Production.INFO: call_cost start
[2025-01-06 22:46:13] Production.INFO: call_cost end
[2025-01-06 22:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:46:14] Production.INFO: ==4140== Releasing lock...
[2025-01-06 22:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:46:18] Production.INFO: count ==739
[2025-01-06 22:46:18] Production.ERROR: pbx CDR StartTime 2025-01-06 19:46:05 - End Time 2025-01-06 22:46:05
[2025-01-06 22:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190706', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190706', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190706', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190706', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:46:18] Production.INFO: ProcessCDR(1,14190706,1,1,2)
[2025-01-06 22:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190706,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:46:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190706,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:46:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190706,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190706,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190706', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190706', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:46:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:46:23] Production.INFO: ==4149== Releasing lock...
[2025-01-06 22:46:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:46:23] Production.INFO: 32.75 MB #Memory Used#
[2025-01-07 03:47:01] Production.INFO: ==4273== Lock acquired, processing the job...
[2025-01-07 03:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:47:01] Production.INFO: neon service started
[2025-01-07 03:47:01] Production.INFO: neon service started
[2025-01-07 03:47:01] Production.INFO: ==4273== Releasing lock...
[2025-01-07 03:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:47:02] Production.INFO: ==4275== Lock acquired, processing the job...
[2025-01-06 22:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 22:47:02] Production.INFO: ==4275== Releasing lock...
[2025-01-06 22:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:47:02] Production.INFO: ==4277== Lock acquired, processing the job...
[2025-01-07 03:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:47:02] Production.INFO: ==4277== Releasing lock...
[2025-01-07 03:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:47:03] Production.INFO: ==4281== Lock acquired, processing the job...
[2025-01-06 22:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:47:03] Production.INFO: ==4279== Lock acquired, processing the job...
[2025-01-06 22:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:47:03] Production.INFO: ==4289== Lock acquired, processing the job...
[2025-01-06 22:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:47:03] Production.INFO: ==4283== Lock acquired, processing the job...
[2025-01-06 22:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:47:03] Production.INFO: ==4285== Lock acquired, processing the job...
[2025-01-06 22:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 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-06 22:47:03] Production.INFO: ==4287== Lock acquired, processing the job...
[2025-01-06 22:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:47:03] Production.INFO: count ==21
[2025-01-06 22:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 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-06 22:47:03] Production.INFO: Account Balance Start.
[2025-01-06 22:47:03] Production.INFO: CreateAllLog Start
[2025-01-06 22:47:03] Production.INFO: 117
[2025-01-06 22:47:03] Production.INFO: count ==21
[2025-01-06 22:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:47:03] Production.INFO: Date 2024-12-08
[2025-01-06 22:47:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190708') start
[2025-01-06 22:47:03] Production.INFO: Date 2024-12-09
[2025-01-06 22:47:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:47:03] Production.INFO: ==4281== Releasing lock...
[2025-01-06 22:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:47:03] Production.INFO: Date 2024-12-10
[2025-01-06 22:47:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:47:03] Production.INFO: Date 2024-12-11
[2025-01-06 22:47:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:47:03] Production.INFO: Date 2024-12-12
[2025-01-06 22:47:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190708') end
[2025-01-06 22:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:47:03] Production.INFO: 1
[2025-01-06 22:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:47:03] Production.INFO: Date 2024-12-13
[2025-01-06 22:47:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:47:04] Production.INFO: ==4289== Releasing lock...
[2025-01-06 22:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:47:04] Production.INFO: Date 2024-12-14
[2025-01-06 22:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:47:04] Production.ERROR: done
[2025-01-06 22:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:47:04] Production.INFO: Date 2024-12-15
[2025-01-06 22:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:47:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:47:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:47:04] Production.ERROR: done
[2025-01-06 22:47:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:47:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:47:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:47:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:47:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:47:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:47:04] Production.INFO: Date 2024-12-24
[2025-01-06 22:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:47:04] Production.INFO: Date 2024-12-25
[2025-01-06 22:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:47:04] Production.INFO: Date 2024-12-26
[2025-01-06 22:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:47:04] Production.INFO: Date 2024-12-27
[2025-01-06 22:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:47:04] Production.INFO: Date 2024-12-28
[2025-01-06 22:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:47:04] Production.INFO: Date 2024-12-29
[2025-01-06 22:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:47:04] Production.INFO: Date 2024-12-30
[2025-01-06 22:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:47:05] Production.INFO: Date 2024-12-31
[2025-01-06 22:47:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:47:05
[end_date_ymd] => 2025-01-06 22:47:05
[RateCDR] => 1
)
[2025-01-06 22:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 19:47:05' and `end` < '2025-01-06 22:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 22:47:05] Production.INFO: Date 2025-01-01
[2025-01-06 22:47:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:47:05] Production.INFO: Date 2025-01-02
[2025-01-06 22:47:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:47:05] Production.INFO: Date 2025-01-03
[2025-01-06 22:47:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:47:05] Production.INFO: Date 2025-01-04
[2025-01-06 22:47:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:47:05] Production.INFO: Date 2025-01-05
[2025-01-06 22:47:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:47:05] Production.INFO: Date 2025-01-06
[2025-01-06 22:47:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:47:05] Production.INFO: Total Charge 0
[2025-01-06 22:47:05] Production.INFO: CreateAllLog End
[2025-01-06 22:47:05] Production.INFO: Account Balance End.
[2025-01-06 22:47:05] Production.ERROR: CronJobId end 12
[2025-01-06 22:47:05] Production.INFO: ==4285== Releasing lock...
[2025-01-06 22:47:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:47:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:47:13] Production.ERROR: CronJobId end10
[2025-01-06 22:47:13] Production.INFO: ==4283== Releasing lock...
[2025-01-06 22:47:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:47:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:47:13] Production.INFO: call_cost start
[2025-01-06 22:47:13] Production.INFO: call_cost end
[2025-01-06 22:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:47:14] Production.INFO: ==4279== Releasing lock...
[2025-01-06 22:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:47:19] Production.INFO: count ==738
[2025-01-06 22:47:19] Production.ERROR: pbx CDR StartTime 2025-01-06 19:47:05 - End Time 2025-01-06 22:47:05
[2025-01-06 22:47:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190711', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190711', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190711', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190711', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:47:19] Production.INFO: ProcessCDR(1,14190711,1,1,2)
[2025-01-06 22:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190711,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:47:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190711,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:47:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190711,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190711,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190711', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190711', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:47:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:47:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:47:22] Production.INFO: ==4287== Releasing lock...
[2025-01-06 22:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:47:22] Production.INFO: 32.75 MB #Memory Used#
[2025-01-07 03:48:02] Production.INFO: ==4376== Lock acquired, processing the job...
[2025-01-07 03:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:48:02] Production.INFO: neon service started
[2025-01-07 03:48:02] Production.INFO: neon service started
[2025-01-07 03:48:02] Production.INFO: ==4376== Releasing lock...
[2025-01-07 03:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:48:02] Production.INFO: ==4380== Lock acquired, processing the job...
[2025-01-07 03:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-06 22:48:02] Production.INFO: ==4378== Lock acquired, processing the job...
[2025-01-06 22:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:48:02] Production.INFO: ==4380== Releasing lock...
[2025-01-07 03:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:48:03] Production.INFO: ==4378== Releasing lock...
[2025-01-06 22:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:48:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 22:48:03] Production.INFO: ==4385== Lock acquired, processing the job...
[2025-01-06 22:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:48:04] Production.INFO: ==4391== Lock acquired, processing the job...
[2025-01-06 22:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:48:04] Production.INFO: ==4387== Lock acquired, processing the job...
[2025-01-06 22:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:48:04] Production.INFO: ==4395== Lock acquired, processing the job...
[2025-01-06 22:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:48:04] Production.INFO: Account Balance Start.
[2025-01-06 22:48:04] Production.INFO: CreateAllLog Start
[2025-01-06 22:48:04] Production.INFO: 117
[2025-01-06 22:48:04] Production.INFO: Date 2024-12-08
[2025-01-06 22:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:48:04] Production.INFO: Date 2024-12-09
[2025-01-06 22:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:48:04] Production.INFO: ==4389== Lock acquired, processing the job...
[2025-01-06 22:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:48:04] Production.INFO: ==4393== Lock acquired, processing the job...
[2025-01-06 22:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:48:04] Production.INFO: Date 2024-12-10
[2025-01-06 22:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:48:04] Production.INFO: Date 2024-12-11
[2025-01-06 22:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:48:04] Production.INFO: Date 2024-12-12
[2025-01-06 22:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:48:04] Production.INFO: Date 2024-12-13
[2025-01-06 22:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:48:04] Production.INFO: count ==21
[2025-01-06 22:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 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-06 22:48:04] Production.INFO: count ==21
[2025-01-06 22:48:04] Production.INFO: Date 2024-12-14
[2025-01-06 22:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190715') start
[2025-01-06 22:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:48:04] Production.INFO: Date 2024-12-15
[2025-01-06 22:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:48:04] Production.INFO: ==4387== Releasing lock...
[2025-01-06 22:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:48:04] Production.ERROR: done
[2025-01-06 22:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:48:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:48:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190715') end
[2025-01-06 22:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:48:04] Production.INFO: 1
[2025-01-06 22:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:48:04] Production.ERROR: done
[2025-01-06 22:48:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:48:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:48:04] Production.INFO: ==4395== Releasing lock...
[2025-01-06 22:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:48:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:48:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:48:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:48:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:48:05] Production.INFO: Date 2024-12-24
[2025-01-06 22:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:48:05] Production.INFO: Date 2024-12-25
[2025-01-06 22:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:48:05] Production.INFO: Date 2024-12-26
[2025-01-06 22:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:48:05] Production.INFO: Date 2024-12-27
[2025-01-06 22:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:48:05] Production.INFO: Date 2024-12-28
[2025-01-06 22:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:48:05] Production.INFO: Date 2024-12-29
[2025-01-06 22:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:48:05] Production.INFO: Date 2024-12-30
[2025-01-06 22:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:48:05] Production.INFO: Date 2024-12-31
[2025-01-06 22:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:48:05] Production.INFO: Date 2025-01-01
[2025-01-06 22:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:48:05] Production.INFO: Date 2025-01-02
[2025-01-06 22:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:48:05] Production.INFO: Date 2025-01-03
[2025-01-06 22:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:48:05] Production.INFO: Date 2025-01-04
[2025-01-06 22:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:48:05] Production.INFO: Date 2025-01-05
[2025-01-06 22:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:48:05] Production.INFO: Date 2025-01-06
[2025-01-06 22:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:48:05
[end_date_ymd] => 2025-01-06 22:48:05
[RateCDR] => 1
)
[2025-01-06 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-06 19:48:05' and `end` < '2025-01-06 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-06 22:48:05] Production.INFO: Total Charge 0
[2025-01-06 22:48:05] Production.INFO: CreateAllLog End
[2025-01-06 22:48:05] Production.INFO: Account Balance End.
[2025-01-06 22:48:05] Production.ERROR: CronJobId end 12
[2025-01-06 22:48:05] Production.INFO: ==4391== Releasing lock...
[2025-01-06 22:48:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:48:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:48:13] Production.ERROR: CronJobId end10
[2025-01-06 22:48:13] Production.INFO: ==4389== Releasing lock...
[2025-01-06 22:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:48:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:48:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:48:15] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:48:15] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:48:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:48:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:48:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:48:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:48:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:48:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:48:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:48:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:48:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:48:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:48:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:48:15] Production.INFO: call_cost start
[2025-01-06 22:48:15] Production.INFO: call_cost end
[2025-01-06 22:48:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:48:16] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:48:16] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:48:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:48:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:48:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:48:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:48:16] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:48:16] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:48:16] Production.INFO: ==4385== Releasing lock...
[2025-01-06 22:48:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:48:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:48:21] Production.INFO: count ==738
[2025-01-06 22:48:21] Production.ERROR: pbx CDR StartTime 2025-01-06 19:48:05 - End Time 2025-01-06 22:48:05
[2025-01-06 22:48:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190716', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190716', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190716', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190716', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:48:21] Production.INFO: ProcessCDR(1,14190716,1,1,2)
[2025-01-06 22:48:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190716,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:48:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190716,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:48:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190716,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:48:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190716,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:48:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190716', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:48:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190716', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:48:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:48:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:48:24] Production.INFO: ==4393== Releasing lock...
[2025-01-06 22:48:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:48:24] Production.INFO: 32.75 MB #Memory Used#
[2025-01-07 03:49:01] Production.INFO: ==4480== Lock acquired, processing the job...
[2025-01-07 03:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:49:01] Production.INFO: neon service started
[2025-01-07 03:49:01] Production.INFO: neon service started
[2025-01-07 03:49:01] Production.INFO: ==4480== Releasing lock...
[2025-01-07 03:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:49:02] Production.INFO: ==4482== Lock acquired, processing the job...
[2025-01-06 22:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 22:49:02] Production.INFO: ==4482== Releasing lock...
[2025-01-06 22:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:49:02] Production.INFO: ==4484== Lock acquired, processing the job...
[2025-01-07 03:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:49:02] Production.INFO: ==4484== Releasing lock...
[2025-01-07 03:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:49:03] Production.INFO: ==4486== Lock acquired, processing the job...
[2025-01-06 22:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:49:03] Production.INFO: ==4490== Lock acquired, processing the job...
[2025-01-06 22:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:49:03] Production.INFO: ==4488== Lock acquired, processing the job...
[2025-01-06 22:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:49:03] Production.INFO: ==4494== Lock acquired, processing the job...
[2025-01-06 22:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:49:03] Production.INFO: ==4492== Lock acquired, processing the job...
[2025-01-06 22:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:49:03] Production.INFO: ==4496== Lock acquired, processing the job...
[2025-01-06 22:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:49:03] Production.INFO: Account Balance Start.
[2025-01-06 22:49:03] Production.INFO: CreateAllLog Start
[2025-01-06 22:49:03] Production.INFO: 117
[2025-01-06 22:49:03] Production.INFO: Date 2024-12-08
[2025-01-06 22:49:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:49:03] Production.ERROR: done
[2025-01-06 22:49:03] Production.INFO: ==4488== Releasing lock...
[2025-01-06 22:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:49:03] Production.INFO: count ==21
[2025-01-06 22:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:49:03] Production.INFO: Date 2024-12-09
[2025-01-06 22:49:03] Production.INFO: count ==21
[2025-01-06 22:49:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190720') start
[2025-01-06 22:49:03] Production.ERROR: done
[2025-01-06 22:49:03] Production.INFO: Date 2024-12-10
[2025-01-06 22:49:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:49:03] Production.INFO: Date 2024-12-11
[2025-01-06 22:49:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:49:03] Production.INFO: Date 2024-12-12
[2025-01-06 22:49:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190720') end
[2025-01-06 22:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:49:03] Production.INFO: 1
[2025-01-06 22:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:49:03] Production.INFO: Date 2024-12-13
[2025-01-06 22:49:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:49:03] Production.INFO: ==4496== Releasing lock...
[2025-01-06 22:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:49:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:49:03] Production.INFO: Date 2024-12-14
[2025-01-06 22:49:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:49:04] Production.INFO: Date 2024-12-15
[2025-01-06 22:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:49:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:49:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:49:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:49:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:49:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:49:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:49:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:49:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:49:04] Production.INFO: Date 2024-12-24
[2025-01-06 22:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:49:04] Production.INFO: Date 2024-12-25
[2025-01-06 22:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:49:04] Production.INFO: Date 2024-12-26
[2025-01-06 22:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:49:04] Production.INFO: Date 2024-12-27
[2025-01-06 22:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:49:04] Production.INFO: Date 2024-12-28
[2025-01-06 22:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:49:04] Production.INFO: Date 2024-12-29
[2025-01-06 22:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:49:04] Production.INFO: Date 2024-12-30
[2025-01-06 22:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:49:04] Production.INFO: Date 2024-12-31
[2025-01-06 22:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:49:04] Production.INFO: Date 2025-01-01
[2025-01-06 22:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:49:04] Production.INFO: Date 2025-01-02
[2025-01-06 22:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:49:04] Production.INFO: Date 2025-01-03
[2025-01-06 22:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:49:04] Production.INFO: Date 2025-01-04
[2025-01-06 22:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:49:04] Production.INFO: Date 2025-01-05
[2025-01-06 22:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:49:04] Production.INFO: Date 2025-01-06
[2025-01-06 22:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:49:04] Production.INFO: Total Charge 0
[2025-01-06 22:49:04] Production.INFO: CreateAllLog End
[2025-01-06 22:49:04] Production.INFO: Account Balance End.
[2025-01-06 22:49:04] Production.ERROR: CronJobId end 12
[2025-01-06 22:49:04] Production.INFO: ==4492== Releasing lock...
[2025-01-06 22:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:49:05
[end_date_ymd] => 2025-01-06 22:49:05
[RateCDR] => 1
)
[2025-01-06 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-06 19:49:05' and `end` < '2025-01-06 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-06 22:49:13] Production.ERROR: CronJobId end10
[2025-01-06 22:49:13] Production.INFO: ==4490== Releasing lock...
[2025-01-06 22:49:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:49:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:49:14] Production.INFO: call_cost start
[2025-01-06 22:49:14] Production.INFO: call_cost end
[2025-01-06 22:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:49:14] Production.INFO: ==4486== Releasing lock...
[2025-01-06 22:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:49:17] Production.INFO: count ==737
[2025-01-06 22:49:17] Production.ERROR: pbx CDR StartTime 2025-01-06 19:49:05 - End Time 2025-01-06 22:49:05
[2025-01-06 22:49:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190721', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190721', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190721', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190721', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:49:18] Production.INFO: ProcessCDR(1,14190721,1,1,2)
[2025-01-06 22:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190721,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:49:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190721,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:49:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190721,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190721,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190721', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190721', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:49:21] Production.INFO: ==4494== Releasing lock...
[2025-01-06 22:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:49:21] Production.INFO: 32.75 MB #Memory Used#
[2025-01-07 03:50:02] Production.INFO: ==4585== Lock acquired, processing the job...
[2025-01-07 03:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:50:02] Production.INFO: neon service started
[2025-01-07 03:50:02] Production.INFO: neon service started
[2025-01-07 03:50:02] Production.INFO: ==4585== Releasing lock...
[2025-01-07 03:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:50:02] Production.INFO: ==4587== Lock acquired, processing the job...
[2025-01-06 22:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:50:02] Production.INFO: ==4589== Lock acquired, processing the job...
[2025-01-07 03:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:50:02] Production.INFO: ==4589== Releasing lock...
[2025-01-07 03:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:50:02] Production.INFO: ==4587== Releasing lock...
[2025-01-06 22:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 22:50:03] Production.INFO: ==4599== Lock acquired, processing the job...
[2025-01-06 22:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:50:03] Production.INFO: Account Balance Start.
[2025-01-06 22:50:03] Production.INFO: CreateAllLog Start
[2025-01-06 22:50:03] Production.INFO: 117
[2025-01-06 22:50:03] Production.INFO: Date 2024-12-08
[2025-01-06 22:50:03] Production.INFO: ==4591== Lock acquired, processing the job...
[2025-01-06 22:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-06 22:50:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:50:03] Production.INFO: ==4605== Lock acquired, processing the job...
[2025-01-06 22:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-06 22:50:03] Production.INFO: ==4593== Lock acquired, processing the job...
[2025-01-06 22:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-06 22:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 22:50:04] Production.ERROR: CronJob PID - 4599
[2025-01-06 22:50:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-06 22:50:04] Production.ERROR: CronJob ID - 12
[2025-01-06 22:50:04] Production.ERROR: CronJob Last Run Time 2025-01-06 22:50:00
[2025-01-06 22:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 22:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 22:50:04] Production.INFO: Date 2024-12-09
[2025-01-06 22:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-06 22:50:04] Production.INFO: ==4591== Releasing lock...
[2025-01-06 22:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-06 22:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-06 22:50:04] Production.INFO: ==4595== Lock acquired, processing the job...
[2025-01-06 22:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:50:04] Production.INFO: ==4608== Lock acquired, processing the job...
[2025-01-06 22:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:50:04] Production.INFO: Date 2024-12-10
[2025-01-06 22:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:50:04] Production.INFO: ==4597== Lock acquired, processing the job...
[2025-01-06 22:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:50:04] Production.INFO: Date 2024-12-11
[2025-01-06 22:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 22:50:04] Production.INFO: Date 2024-12-12
[2025-01-06 22:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:50:04] Production.INFO: count ==21
[2025-01-06 22:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:50:04] Production.INFO: ==4602== Lock acquired, processing the job...
[2025-01-06 22:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 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-06 22:50:04] Production.INFO: count ==21
[2025-01-06 22:50:04] Production.INFO: Date 2024-12-13
[2025-01-06 22:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190723') start
[2025-01-06 22:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:50:04] Production.INFO: Date 2024-12-14
[2025-01-06 22:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:50:04] Production.ERROR: done
[2025-01-06 22:50:04] Production.INFO: Date 2024-12-15
[2025-01-06 22:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190723') end
[2025-01-06 22:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:50:04] Production.INFO: 1
[2025-01-06 22:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:50:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-06 22:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14190726', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) start
[2025-01-06 22:50:04] Production.ERROR: done
[2025-01-06 22:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:50:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:50:04] Production.INFO: ==4595== Releasing lock...
[2025-01-06 22:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:50:04] Production.INFO: ==4608== Releasing lock...
[2025-01-06 22:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:50:04] Production.ERROR: done
[2025-01-06 22:50:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:50:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:50:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:50:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:50:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:50:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:50:04] Production.INFO: Date 2024-12-24
[2025-01-06 22:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:50:04] Production.INFO: Date 2024-12-25
[2025-01-06 22:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:50:04] Production.INFO: Date 2024-12-26
[2025-01-06 22:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:50:05] Production.INFO: Date 2024-12-27
[2025-01-06 22:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:50:05] Production.INFO: Date 2024-12-28
[2025-01-06 22:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:50:05] Production.INFO: Date 2024-12-29
[2025-01-06 22:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:50:05] Production.INFO: Date 2024-12-30
[2025-01-06 22:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:50:05] Production.INFO: Date 2024-12-31
[2025-01-06 22:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:50:05] Production.INFO: Date 2025-01-01
[2025-01-06 22:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:50:05] Production.INFO: Date 2025-01-02
[2025-01-06 22:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:50:05] Production.INFO: Date 2025-01-03
[2025-01-06 22:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:50:05] Production.INFO: Date 2025-01-04
[2025-01-06 22:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:50:05] Production.INFO: Date 2025-01-05
[2025-01-06 22:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:50:05] Production.INFO: Date 2025-01-06
[2025-01-06 22:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:50:05] Production.INFO: Total Charge 0
[2025-01-06 22:50:05] Production.INFO: CreateAllLog End
[2025-01-06 22:50:05] Production.INFO: Account Balance End.
[2025-01-06 22:50:05] Production.ERROR: CronJobId end 12
[2025-01-06 22:50:05] Production.INFO: ==4599== Releasing lock...
[2025-01-06 22:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:50:05
[end_date_ymd] => 2025-01-06 22:50:05
[RateCDR] => 1
)
[2025-01-06 22:50:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 19:50:05' and `end` < '2025-01-06 22:50:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 22:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14190726', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) end
[2025-01-06 22:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-06 22:50:08] Production.INFO: ProcessCDR(1,14190726,1,1,2)
[2025-01-06 22:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14190726,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14190726,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:50:08] Production.INFO: ==4605== Releasing lock...
[2025-01-06 22:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-06 22:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-06 22:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:50:14] Production.ERROR: CronJobId end10
[2025-01-06 22:50:14] Production.INFO: ==4597== Releasing lock...
[2025-01-06 22:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:50:15] Production.INFO: call_cost start
[2025-01-06 22:50:15] Production.INFO: call_cost end
[2025-01-06 22:50:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:50:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:50:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:50:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:50:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:50:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:50:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:50:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:50:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:50:15] Production.INFO: ==4593== Releasing lock...
[2025-01-06 22:50:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:50:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:50:18] Production.INFO: count ==735
[2025-01-06 22:50:18] Production.ERROR: pbx CDR StartTime 2025-01-06 19:50:05 - End Time 2025-01-06 22:50:05
[2025-01-06 22:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190727', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190727', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190727', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190727', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:50:18] Production.INFO: ProcessCDR(1,14190727,1,1,2)
[2025-01-06 22:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190727,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190727,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190727,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190727,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190727', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190727', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:50:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:50:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:50:21] Production.INFO: ==4602== Releasing lock...
[2025-01-06 22:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:50:21] Production.INFO: 32.75 MB #Memory Used#
[2025-01-07 03:51:01] Production.INFO: ==4688== Lock acquired, processing the job...
[2025-01-07 03:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:51:01] Production.INFO: neon service started
[2025-01-07 03:51:01] Production.INFO: neon service started
[2025-01-07 03:51:01] Production.INFO: ==4688== Releasing lock...
[2025-01-07 03:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:51:01] Production.INFO: ==4690== Lock acquired, processing the job...
[2025-01-06 22:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 22:51:02] Production.INFO: ==4690== Releasing lock...
[2025-01-06 22:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:51:02] Production.INFO: ==4692== Lock acquired, processing the job...
[2025-01-07 03:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:51:02] Production.INFO: ==4692== Releasing lock...
[2025-01-07 03:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:51:03] Production.INFO: ==4696== Lock acquired, processing the job...
[2025-01-06 22:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:51:03] Production.INFO: ==4702== Lock acquired, processing the job...
[2025-01-06 22:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:51:03] Production.INFO: ==4704== Lock acquired, processing the job...
[2025-01-06 22:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:51:03] Production.INFO: ==4694== Lock acquired, processing the job...
[2025-01-06 22:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:51:03] Production.INFO: ==4698== Lock acquired, processing the job...
[2025-01-06 22:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:51:03] Production.INFO: ==4700== Lock acquired, processing the job...
[2025-01-06 22:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:51:03] Production.INFO: ==4696== Releasing lock...
[2025-01-06 22:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:51:03] Production.INFO: count ==21
[2025-01-06 22:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:51:03] Production.INFO: count ==21
[2025-01-06 22:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190729') start
[2025-01-06 22:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:51:03] Production.INFO: Account Balance Start.
[2025-01-06 22:51:03] Production.INFO: CreateAllLog Start
[2025-01-06 22:51:03] Production.INFO: 117
[2025-01-06 22:51:03] Production.INFO: Date 2024-12-08
[2025-01-06 22:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:51:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190729') end
[2025-01-06 22:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:51:03] Production.INFO: 1
[2025-01-06 22:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:51:03] Production.INFO: Date 2024-12-09
[2025-01-06 22:51:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:51:03] Production.INFO: Date 2024-12-10
[2025-01-06 22:51:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:51:03] Production.INFO: ==4704== Releasing lock...
[2025-01-06 22:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:51:03] Production.ERROR: done
[2025-01-06 22:51:03] Production.INFO: Date 2024-12-11
[2025-01-06 22:51:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:51:03] Production.ERROR: done
[2025-01-06 22:51:03] Production.INFO: Date 2024-12-12
[2025-01-06 22:51:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:51:03] Production.INFO: Date 2024-12-13
[2025-01-06 22:51:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:51:03] Production.INFO: Date 2024-12-14
[2025-01-06 22:51:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:51:03] Production.INFO: Date 2024-12-15
[2025-01-06 22:51:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:51:03] Production.INFO: Date 2024-12-16
[2025-01-06 22:51:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:51:03] Production.INFO: Date 2024-12-17
[2025-01-06 22:51:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:51:03] Production.INFO: Date 2024-12-18
[2025-01-06 22:51:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:51:03] Production.INFO: Date 2024-12-19
[2025-01-06 22:51:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:51:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:51:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:51:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:51:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:51:04] Production.INFO: Date 2024-12-24
[2025-01-06 22:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:51:04] Production.INFO: Date 2024-12-25
[2025-01-06 22:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:51:04] Production.INFO: Date 2024-12-26
[2025-01-06 22:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:51:04] Production.INFO: Date 2024-12-27
[2025-01-06 22:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:51:04] Production.INFO: Date 2024-12-28
[2025-01-06 22:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:51:04] Production.INFO: Date 2024-12-29
[2025-01-06 22:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:51:04] Production.INFO: Date 2024-12-30
[2025-01-06 22:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:51:04] Production.INFO: Date 2024-12-31
[2025-01-06 22:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:51:04] Production.INFO: Date 2025-01-01
[2025-01-06 22:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:51:04] Production.INFO: Date 2025-01-02
[2025-01-06 22:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:51:04] Production.INFO: Date 2025-01-03
[2025-01-06 22:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:51:04] Production.INFO: Date 2025-01-04
[2025-01-06 22:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:51:04] Production.INFO: Date 2025-01-05
[2025-01-06 22:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:51:04] Production.INFO: Date 2025-01-06
[2025-01-06 22:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:51:04] Production.INFO: Total Charge 0
[2025-01-06 22:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:51:04
[end_date_ymd] => 2025-01-06 22:51:04
[RateCDR] => 1
)
[2025-01-06 22:51:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 19:51:04' and `end` < '2025-01-06 22:51:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 22:51:04] Production.INFO: CreateAllLog End
[2025-01-06 22:51:04] Production.INFO: Account Balance End.
[2025-01-06 22:51:04] Production.ERROR: CronJobId end 12
[2025-01-06 22:51:04] Production.INFO: ==4700== Releasing lock...
[2025-01-06 22:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:51:11] Production.ERROR: CronJobId end10
[2025-01-06 22:51:11] Production.INFO: ==4698== Releasing lock...
[2025-01-06 22:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:51:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:51:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:51:13] Production.INFO: call_cost start
[2025-01-06 22:51:13] Production.INFO: call_cost end
[2025-01-06 22:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:51:14] Production.INFO: ==4694== Releasing lock...
[2025-01-06 22:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:51:17] Production.INFO: count ==707
[2025-01-06 22:51:17] Production.ERROR: pbx CDR StartTime 2025-01-06 19:51:04 - End Time 2025-01-06 22:51:04
[2025-01-06 22:51:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190732', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190732', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190732', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190732', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:51:17] Production.INFO: ProcessCDR(1,14190732,1,1,2)
[2025-01-06 22:51:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190732,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:51:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190732,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:51:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190732,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:51:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190732,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:51:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190732', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:51:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190732', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:51:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:51:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:51:20] Production.INFO: ==4702== Releasing lock...
[2025-01-06 22:51:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:51:20] Production.INFO: 32.75 MB #Memory Used#
[2025-01-07 03:52:02] Production.INFO: ==4787== Lock acquired, processing the job...
[2025-01-07 03:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:52:02] Production.INFO: neon service started
[2025-01-07 03:52:02] Production.INFO: neon service started
[2025-01-07 03:52:02] Production.INFO: ==4787== Releasing lock...
[2025-01-07 03:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:52:02] Production.INFO: ==4789== Lock acquired, processing the job...
[2025-01-06 22:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 22:52:02] Production.INFO: ==4789== Releasing lock...
[2025-01-06 22:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:52:02] Production.INFO: ==4791== Lock acquired, processing the job...
[2025-01-07 03:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:52:02] Production.INFO: ==4791== Releasing lock...
[2025-01-07 03:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:52:03] Production.INFO: ==4793== Lock acquired, processing the job...
[2025-01-06 22:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:52:03] Production.INFO: ==4797== Lock acquired, processing the job...
[2025-01-06 22:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:52:03] Production.INFO: ==4799== Lock acquired, processing the job...
[2025-01-06 22:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:52:03] Production.INFO: ==4795== Lock acquired, processing the job...
[2025-01-06 22:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:52:03] Production.INFO: Account Balance Start.
[2025-01-06 22:52:03] Production.INFO: CreateAllLog Start
[2025-01-06 22:52:03] Production.INFO: 117
[2025-01-06 22:52:03] Production.INFO: Date 2024-12-08
[2025-01-06 22:52:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:52:03] Production.INFO: Date 2024-12-09
[2025-01-06 22:52:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:52:03] Production.INFO: Date 2024-12-10
[2025-01-06 22:52:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:52:03] Production.INFO: ==4801== Lock acquired, processing the job...
[2025-01-06 22:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:52:03] Production.INFO: Date 2024-12-11
[2025-01-06 22:52:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:52:03] Production.INFO: ==4803== Lock acquired, processing the job...
[2025-01-06 22:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:52:03] Production.INFO: Date 2024-12-12
[2025-01-06 22:52:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:52:03] Production.INFO: Date 2024-12-13
[2025-01-06 22:52:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:52:03] Production.INFO: Date 2024-12-14
[2025-01-06 22:52:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:52:04] Production.INFO: ==4795== Releasing lock...
[2025-01-06 22:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:52:04] Production.INFO: Date 2024-12-15
[2025-01-06 22:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 22: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-06 22:52:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:52:04] Production.INFO: count ==21
[2025-01-06 22: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-06 22:52:04] Production.INFO: count ==21
[2025-01-06 22:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190736') start
[2025-01-06 22:52:04] Production.ERROR: done
[2025-01-06 22:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:52:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:52:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:52:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:52:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190736') end
[2025-01-06 22:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:52:04] Production.INFO: 1
[2025-01-06 22:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:52:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:52:04] Production.ERROR: done
[2025-01-06 22:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:52:04] Production.INFO: ==4803== Releasing lock...
[2025-01-06 22:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:52:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:52:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:52:04] Production.INFO: Date 2024-12-24
[2025-01-06 22:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:52:04] Production.INFO: Date 2024-12-25
[2025-01-06 22:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:52:04] Production.INFO: Date 2024-12-26
[2025-01-06 22:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:52:04] Production.INFO: Date 2024-12-27
[2025-01-06 22:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:52:04] Production.INFO: Date 2024-12-28
[2025-01-06 22:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:52:04] Production.INFO: Date 2024-12-29
[2025-01-06 22:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:52:05] Production.INFO: Date 2024-12-30
[2025-01-06 22:52:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:52:05] Production.INFO: Date 2024-12-31
[2025-01-06 22:52:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:52:05] Production.INFO: Date 2025-01-01
[2025-01-06 22:52:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:52:05] Production.INFO: Date 2025-01-02
[2025-01-06 22:52:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:52:05] Production.INFO: Date 2025-01-03
[2025-01-06 22:52:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:52:05] Production.INFO: Date 2025-01-04
[2025-01-06 22:52:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:52:05] Production.INFO: Date 2025-01-05
[2025-01-06 22:52:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:52:05] Production.INFO: Date 2025-01-06
[2025-01-06 22:52:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:52:05] Production.INFO: Total Charge 0
[2025-01-06 22:52:05] Production.INFO: CreateAllLog End
[2025-01-06 22:52:05] Production.INFO: Account Balance End.
[2025-01-06 22:52:05] Production.ERROR: CronJobId end 12
[2025-01-06 22:52:05] Production.INFO: ==4799== Releasing lock...
[2025-01-06 22:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:52:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:52:05
[end_date_ymd] => 2025-01-06 22:52:05
[RateCDR] => 1
)
[2025-01-06 22:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 19:52:05' and `end` < '2025-01-06 22:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 22:52:12] Production.ERROR: CronJobId end10
[2025-01-06 22:52:12] Production.INFO: ==4797== Releasing lock...
[2025-01-06 22:52:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:52:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:52:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:52:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:52:14] Production.INFO: call_cost start
[2025-01-06 22:52:14] Production.INFO: call_cost end
[2025-01-06 22:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:52:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:52:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:52:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:52:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:52:15] Production.INFO: ==4793== Releasing lock...
[2025-01-06 22:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:52:18] Production.INFO: count ==707
[2025-01-06 22:52:18] Production.ERROR: pbx CDR StartTime 2025-01-06 19:52:05 - End Time 2025-01-06 22:52:05
[2025-01-06 22:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190737', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190737', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190737', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190737', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:52:18] Production.INFO: ProcessCDR(1,14190737,1,1,2)
[2025-01-06 22:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190737,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190737,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190737,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190737,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190737', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190737', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:52:21] Production.INFO: ==4801== Releasing lock...
[2025-01-06 22:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:52:21] Production.INFO: 32.75 MB #Memory Used#
[2025-01-07 03:53:01] Production.INFO: ==4880== Lock acquired, processing the job...
[2025-01-07 03:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:53:01] Production.INFO: neon service started
[2025-01-07 03:53:01] Production.INFO: neon service started
[2025-01-07 03:53:01] Production.INFO: ==4880== Releasing lock...
[2025-01-07 03:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:53:01] Production.INFO: ==4886== Lock acquired, processing the job...
[2025-01-07 03:53:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:53:01] Production.INFO: ==4886== Releasing lock...
[2025-01-07 03:53:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:53:01] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:53:01] Production.INFO: ==4884== Lock acquired, processing the job...
[2025-01-06 22:53:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 22:53:02] Production.INFO: ==4884== Releasing lock...
[2025-01-06 22:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 22:53:03] Production.INFO: ==4891== Lock acquired, processing the job...
[2025-01-06 22:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:53:03] Production.INFO: ==4889== Lock acquired, processing the job...
[2025-01-06 22:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:53:03] Production.INFO: ==4899== Lock acquired, processing the job...
[2025-01-06 22:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:53:03] Production.INFO: ==4893== Lock acquired, processing the job...
[2025-01-06 22:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:53:03] Production.INFO: ==4895== Lock acquired, processing the job...
[2025-01-06 22:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 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-06 22:53:03] Production.INFO: ==4897== Lock acquired, processing the job...
[2025-01-06 22:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:53:03] Production.INFO: count ==21
[2025-01-06 22:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:53:03] Production.INFO: Account Balance Start.
[2025-01-06 22:53:03] Production.INFO: CreateAllLog Start
[2025-01-06 22:53:03] Production.INFO: 117
[2025-01-06 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-06 22:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:53:03] Production.INFO: count ==21
[2025-01-06 22:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:53:03] Production.INFO: Date 2024-12-08
[2025-01-06 22:53:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190740') start
[2025-01-06 22:53:03] Production.INFO: Date 2024-12-09
[2025-01-06 22:53:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:53:03] Production.INFO: ==4891== Releasing lock...
[2025-01-06 22:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:53:03] Production.INFO: Date 2024-12-10
[2025-01-06 22:53:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190740') end
[2025-01-06 22:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:53:03] Production.INFO: 1
[2025-01-06 22:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:53:03] Production.INFO: Date 2024-12-11
[2025-01-06 22:53:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:53:03] Production.INFO: ==4899== Releasing lock...
[2025-01-06 22:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:53:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:53:03] Production.ERROR: done
[2025-01-06 22:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:53:03] Production.INFO: Date 2024-12-12
[2025-01-06 22:53:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:53:03] Production.INFO: Date 2024-12-13
[2025-01-06 22:53:03] Production.ERROR: done
[2025-01-06 22:53:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:53:03] Production.INFO: Date 2024-12-14
[2025-01-06 22:53:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:53:03] Production.INFO: Date 2024-12-15
[2025-01-06 22:53:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:53:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:53:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:53:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:53:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:53:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:53:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:53:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:53:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:53:04] Production.INFO: Date 2024-12-24
[2025-01-06 22:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:53:04] Production.INFO: Date 2024-12-25
[2025-01-06 22:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:53:04] Production.INFO: Date 2024-12-26
[2025-01-06 22:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:53:04] Production.INFO: Date 2024-12-27
[2025-01-06 22:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:53:04] Production.INFO: Date 2024-12-28
[2025-01-06 22:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:53:04] Production.INFO: Date 2024-12-29
[2025-01-06 22:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:53:04] Production.INFO: Date 2024-12-30
[2025-01-06 22:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:53:04] Production.INFO: Date 2024-12-31
[2025-01-06 22:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:53:04] Production.INFO: Date 2025-01-01
[2025-01-06 22:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:53:04] Production.INFO: Date 2025-01-02
[2025-01-06 22:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:53:04] Production.INFO: Date 2025-01-03
[2025-01-06 22:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:53:04] Production.INFO: Date 2025-01-04
[2025-01-06 22:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:53:04] Production.INFO: Date 2025-01-05
[2025-01-06 22:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:53:04] Production.INFO: Date 2025-01-06
[2025-01-06 22:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:53:04] Production.INFO: Total Charge 0
[2025-01-06 22:53:04] Production.INFO: CreateAllLog End
[2025-01-06 22:53:04] Production.INFO: Account Balance End.
[2025-01-06 22:53:04] Production.ERROR: CronJobId end 12
[2025-01-06 22:53:04] Production.INFO: ==4895== Releasing lock...
[2025-01-06 22:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:53:05
[end_date_ymd] => 2025-01-06 22:53:05
[RateCDR] => 1
)
[2025-01-06 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-06 19:53:05' and `end` < '2025-01-06 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-06 22:53:12] Production.ERROR: CronJobId end10
[2025-01-06 22:53:12] Production.INFO: ==4893== Releasing lock...
[2025-01-06 22:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:53:13] Production.INFO: call_cost start
[2025-01-06 22:53:13] Production.INFO: call_cost end
[2025-01-06 22:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:53:14] Production.INFO: ==4889== Releasing lock...
[2025-01-06 22:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:53:18] Production.INFO: count ==707
[2025-01-06 22:53:18] Production.ERROR: pbx CDR StartTime 2025-01-06 19:53:05 - End Time 2025-01-06 22:53:05
[2025-01-06 22:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190742', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190742', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190742', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190742', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:53:18] Production.INFO: ProcessCDR(1,14190742,1,1,2)
[2025-01-06 22:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190742,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190742,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190742,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190742,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190742', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190742', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:53:22] Production.INFO: ==4897== Releasing lock...
[2025-01-06 22:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:53:22] Production.INFO: 32.75 MB #Memory Used#
[2025-01-07 03:54:01] Production.INFO: ==4976== Lock acquired, processing the job...
[2025-01-07 03:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:54:01] Production.INFO: neon service started
[2025-01-07 03:54:01] Production.INFO: neon service started
[2025-01-07 03:54:01] Production.INFO: ==4976== Releasing lock...
[2025-01-07 03:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:54:02] Production.INFO: ==4978== Lock acquired, processing the job...
[2025-01-06 22:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 22:54:02] Production.INFO: ==4978== Releasing lock...
[2025-01-06 22:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:54:02] Production.INFO: ==4980== Lock acquired, processing the job...
[2025-01-07 03:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:54:02] Production.INFO: ==4980== Releasing lock...
[2025-01-07 03:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:54:03] Production.INFO: ==4990== Lock acquired, processing the job...
[2025-01-06 22:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:54:03] Production.INFO: ==4984== Lock acquired, processing the job...
[2025-01-06 22:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:54:03] Production.INFO: ==4982== Lock acquired, processing the job...
[2025-01-06 22:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:54:03] Production.INFO: ==4986== Lock acquired, processing the job...
[2025-01-06 22:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:54:03] Production.INFO: ==4988== Lock acquired, processing the job...
[2025-01-06 22:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:54:03] Production.INFO: ==4992== Lock acquired, processing the job...
[2025-01-06 22:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:54:03] Production.INFO: Account Balance Start.
[2025-01-06 22:54:03] Production.INFO: CreateAllLog Start
[2025-01-06 22:54:03] Production.INFO: 117
[2025-01-06 22:54:03] Production.INFO: Date 2024-12-08
[2025-01-06 22:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:54:03] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 22:54:03] Production.INFO: count ==21
[2025-01-06 22:54:03] Production.INFO: Date 2024-12-09
[2025-01-06 22:54:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:54:03] Production.ERROR: done
[2025-01-06 22:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:54:03] Production.INFO: count ==21
[2025-01-06 22:54:03] Production.INFO: Date 2024-12-10
[2025-01-06 22:54:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:54:04] Production.INFO: Date 2024-12-11
[2025-01-06 22:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190746') start
[2025-01-06 22:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:54:04] Production.ERROR: done
[2025-01-06 22:54:04] Production.INFO: Date 2024-12-12
[2025-01-06 22:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:54:04] Production.INFO: Date 2024-12-13
[2025-01-06 22:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:54:04] Production.INFO: ==4984== Releasing lock...
[2025-01-06 22:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190746') end
[2025-01-06 22:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:54:04] Production.INFO: 1
[2025-01-06 22:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:54:04] Production.INFO: Date 2024-12-14
[2025-01-06 22:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:54:04] Production.INFO: Date 2024-12-15
[2025-01-06 22:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:54:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:54:04] Production.INFO: ==4992== Releasing lock...
[2025-01-06 22:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:54:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:54:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:54:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:54:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:54:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:54:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:54:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:54:04] Production.INFO: Date 2024-12-24
[2025-01-06 22:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:54:04] Production.INFO: Date 2024-12-25
[2025-01-06 22:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:54:04] Production.INFO: Date 2024-12-26
[2025-01-06 22:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:54:04] Production.INFO: Date 2024-12-27
[2025-01-06 22:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:54:04] Production.INFO: Date 2024-12-28
[2025-01-06 22:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:54:04] Production.INFO: Date 2024-12-29
[2025-01-06 22:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:54:04] Production.INFO: Date 2024-12-30
[2025-01-06 22:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:54:04] Production.INFO: Date 2024-12-31
[2025-01-06 22:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:54:04] Production.INFO: Date 2025-01-01
[2025-01-06 22:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:54:04] Production.INFO: Date 2025-01-02
[2025-01-06 22:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:54:04] Production.INFO: Date 2025-01-03
[2025-01-06 22:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:54:04] Production.INFO: Date 2025-01-04
[2025-01-06 22:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:54:04] Production.INFO: Date 2025-01-05
[2025-01-06 22:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:54:04] Production.INFO: Date 2025-01-06
[2025-01-06 22:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:54:05] Production.INFO: Total Charge 0
[2025-01-06 22:54:05] Production.INFO: CreateAllLog End
[2025-01-06 22:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:54:05
[end_date_ymd] => 2025-01-06 22:54:05
[RateCDR] => 1
)
[2025-01-06 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-06 19:54:05' and `end` < '2025-01-06 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-06 22:54:05] Production.INFO: Account Balance End.
[2025-01-06 22:54:05] Production.ERROR: CronJobId end 12
[2025-01-06 22:54:05] Production.INFO: ==4988== Releasing lock...
[2025-01-06 22:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:54:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:54:12] Production.ERROR: CronJobId end10
[2025-01-06 22:54:12] Production.INFO: ==4986== Releasing lock...
[2025-01-06 22:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:54:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:54:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:54:14] Production.INFO: call_cost start
[2025-01-06 22:54:14] Production.INFO: call_cost end
[2025-01-06 22:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:54:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:54:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:54:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:54:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:54:15] Production.INFO: ==4982== Releasing lock...
[2025-01-06 22:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:54:17] Production.INFO: count ==704
[2025-01-06 22:54:18] Production.ERROR: pbx CDR StartTime 2025-01-06 19:54:05 - End Time 2025-01-06 22:54:05
[2025-01-06 22:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190747', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190747', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190747', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190747', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:54:18] Production.INFO: ProcessCDR(1,14190747,1,1,2)
[2025-01-06 22:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190747,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190747,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190747,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190747,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190747', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190747', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:54:21] Production.INFO: ==4990== Releasing lock...
[2025-01-06 22:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:54:21] Production.INFO: 32.75 MB #Memory Used#
[2025-01-07 03:55:02] Production.INFO: ==5076== Lock acquired, processing the job...
[2025-01-07 03:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:55:02] Production.INFO: neon service started
[2025-01-07 03:55:02] Production.INFO: neon service started
[2025-01-07 03:55:02] Production.INFO: ==5076== Releasing lock...
[2025-01-07 03:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:55:02] Production.INFO: ==5078== Lock acquired, processing the job...
[2025-01-06 22:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 22:55:02] Production.INFO: ==5078== Releasing lock...
[2025-01-06 22:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:55:02] Production.INFO: ==5080== Lock acquired, processing the job...
[2025-01-07 03:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:55:03] Production.INFO: ==5080== Releasing lock...
[2025-01-07 03:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:55:03] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:55:03] Production.INFO: ==5082== Lock acquired, processing the job...
[2025-01-06 22:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:55:03] Production.INFO: ==5088== Lock acquired, processing the job...
[2025-01-06 22:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:55:03] Production.INFO: ==5084== Lock acquired, processing the job...
[2025-01-06 22:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:55:03] Production.INFO: ==5090== Lock acquired, processing the job...
[2025-01-06 22:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:55:03] Production.INFO: ==5086== Lock acquired, processing the job...
[2025-01-06 22:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:55:03] Production.INFO: Account Balance Start.
[2025-01-06 22:55:03] Production.INFO: CreateAllLog Start
[2025-01-06 22:55:03] Production.INFO: 117
[2025-01-06 22:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:55:03] Production.INFO: Date 2024-12-08
[2025-01-06 22:55:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:55:03] Production.INFO: ==5092== Lock acquired, processing the job...
[2025-01-06 22:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:55:03] Production.INFO: Date 2024-12-09
[2025-01-06 22:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:55:04] Production.INFO: Date 2024-12-10
[2025-01-06 22:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 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-06 22:55:04] Production.INFO: count ==21
[2025-01-06 22:55:04] Production.INFO: Date 2024-12-11
[2025-01-06 22:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 22:55:04] Production.INFO: count ==21
[2025-01-06 22:55:04] Production.ERROR: done
[2025-01-06 22:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190751') start
[2025-01-06 22:55:04] Production.INFO: Date 2024-12-12
[2025-01-06 22:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:55:04] Production.INFO: ==5084== Releasing lock...
[2025-01-06 22:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:55:04] Production.INFO: Date 2024-12-13
[2025-01-06 22:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190751') end
[2025-01-06 22:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:55:04] Production.INFO: 1
[2025-01-06 22:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:55:04] Production.ERROR: done
[2025-01-06 22:55:04] Production.INFO: ==5092== Releasing lock...
[2025-01-06 22:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:55:04] Production.INFO: Date 2024-12-14
[2025-01-06 22:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:55:04] Production.INFO: Date 2024-12-15
[2025-01-06 22:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:55:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:55:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:55:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:55:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:55:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:55:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:55:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:55:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:55:04] Production.INFO: Date 2024-12-24
[2025-01-06 22:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:55:04] Production.INFO: Date 2024-12-25
[2025-01-06 22:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:55:04] Production.INFO: Date 2024-12-26
[2025-01-06 22:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:55:04] Production.INFO: Date 2024-12-27
[2025-01-06 22:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:55:04] Production.INFO: Date 2024-12-28
[2025-01-06 22:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:55:04] Production.INFO: Date 2024-12-29
[2025-01-06 22:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:55:04] Production.INFO: Date 2024-12-30
[2025-01-06 22:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:55:05
[end_date_ymd] => 2025-01-06 22:55:05
[RateCDR] => 1
)
[2025-01-06 22:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 19:55:05' and `end` < '2025-01-06 22:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 22:55:05] Production.INFO: Date 2024-12-31
[2025-01-06 22:55:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:55:05] Production.INFO: Date 2025-01-01
[2025-01-06 22:55:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:55:05] Production.INFO: Date 2025-01-02
[2025-01-06 22:55:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:55:05] Production.INFO: Date 2025-01-03
[2025-01-06 22:55:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:55:05] Production.INFO: Date 2025-01-04
[2025-01-06 22:55:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:55:05] Production.INFO: Date 2025-01-05
[2025-01-06 22:55:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:55:05] Production.INFO: Date 2025-01-06
[2025-01-06 22:55:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:55:05] Production.INFO: Total Charge 0
[2025-01-06 22:55:05] Production.INFO: CreateAllLog End
[2025-01-06 22:55:05] Production.INFO: Account Balance End.
[2025-01-06 22:55:05] Production.ERROR: CronJobId end 12
[2025-01-06 22:55:05] Production.INFO: ==5088== Releasing lock...
[2025-01-06 22:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:55:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:55:12] Production.ERROR: CronJobId end10
[2025-01-06 22:55:12] Production.INFO: ==5086== Releasing lock...
[2025-01-06 22:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:55:13] Production.INFO: call_cost start
[2025-01-06 22:55:13] Production.INFO: call_cost end
[2025-01-06 22:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:55:14] Production.INFO: ==5082== Releasing lock...
[2025-01-06 22:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:55:19] Production.INFO: count ==704
[2025-01-06 22:55:19] Production.ERROR: pbx CDR StartTime 2025-01-06 19:55:05 - End Time 2025-01-06 22:55:05
[2025-01-06 22:55:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190752', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190752', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190752', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190752', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:55:19] Production.INFO: ProcessCDR(1,14190752,1,1,2)
[2025-01-06 22:55:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190752,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190752,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190752,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190752,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190752', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190752', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:55:22] Production.INFO: ==5090== Releasing lock...
[2025-01-06 22:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:55:22] Production.INFO: 32.75 MB #Memory Used#
[2025-01-07 03:56:01] Production.INFO: ==5169== Lock acquired, processing the job...
[2025-01-07 03:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:56:01] Production.INFO: neon service started
[2025-01-07 03:56:01] Production.INFO: neon service started
[2025-01-07 03:56:01] Production.INFO: ==5169== Releasing lock...
[2025-01-07 03:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:56:02] Production.INFO: ==5171== Lock acquired, processing the job...
[2025-01-06 22:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:56:02] Production.INFO: ==5173== Lock acquired, processing the job...
[2025-01-07 03:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:56:02] Production.INFO: ==5173== Releasing lock...
[2025-01-07 03:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:56:02] Production.INFO: ==5171== Releasing lock...
[2025-01-06 22:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 22:56:03] Production.INFO: ==5176== Lock acquired, processing the job...
[2025-01-06 22:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:56:03] Production.INFO: ==5178== Lock acquired, processing the job...
[2025-01-06 22:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:56:03] Production.INFO: ==5184== Lock acquired, processing the job...
[2025-01-06 22:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:56:03] Production.INFO: ==5180== Lock acquired, processing the job...
[2025-01-06 22:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:56:03] Production.INFO: ==5182== Lock acquired, processing the job...
[2025-01-06 22:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:56:03] Production.INFO: Account Balance Start.
[2025-01-06 22:56:03] Production.INFO: CreateAllLog Start
[2025-01-06 22:56:03] Production.INFO: 117
[2025-01-06 22:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:56:03] Production.INFO: Date 2024-12-08
[2025-01-06 22:56:03] Production.INFO: ==5186== Lock acquired, processing the job...
[2025-01-06 22:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:56:03] Production.INFO: Date 2024-12-09
[2025-01-06 22:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:56:03] Production.ERROR: done
[2025-01-06 22:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:56:03] Production.INFO: Date 2024-12-10
[2025-01-06 22:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:56:03] Production.INFO: Date 2024-12-11
[2025-01-06 22:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 22:56:03] Production.INFO: Date 2024-12-12
[2025-01-06 22:56:03] Production.INFO: count ==21
[2025-01-06 22:56:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:56:03] Production.INFO: count ==21
[2025-01-06 22:56:04] Production.INFO: Date 2024-12-13
[2025-01-06 22:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190756') start
[2025-01-06 22:56:04] Production.INFO: ==5178== Releasing lock...
[2025-01-06 22:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:56:04] Production.INFO: Date 2024-12-14
[2025-01-06 22:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:56:04] Production.ERROR: done
[2025-01-06 22:56:04] Production.INFO: Date 2024-12-15
[2025-01-06 22:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:56:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:56:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190756') end
[2025-01-06 22:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:56:04] Production.INFO: 1
[2025-01-06 22:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:56:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:56:04] Production.INFO: ==5186== Releasing lock...
[2025-01-06 22:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:56:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:56:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:56:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:56:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:56:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:56:04] Production.INFO: Date 2024-12-24
[2025-01-06 22:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:56:04] Production.INFO: Date 2024-12-25
[2025-01-06 22:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:56:04] Production.INFO: Date 2024-12-26
[2025-01-06 22:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:56:04] Production.INFO: Date 2024-12-27
[2025-01-06 22:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:56:04] Production.INFO: Date 2024-12-28
[2025-01-06 22:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:56:04] Production.INFO: Date 2024-12-29
[2025-01-06 22:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:56:04] Production.INFO: Date 2024-12-30
[2025-01-06 22:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:56:04] Production.INFO: Date 2024-12-31
[2025-01-06 22:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:56:04] Production.INFO: Date 2025-01-01
[2025-01-06 22:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:56:04] Production.INFO: Date 2025-01-02
[2025-01-06 22:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:56:04] Production.INFO: Date 2025-01-03
[2025-01-06 22:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:56:04] Production.INFO: Date 2025-01-04
[2025-01-06 22:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:56:04] Production.INFO: Date 2025-01-05
[2025-01-06 22:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:56:04] Production.INFO: Date 2025-01-06
[2025-01-06 22:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:56:05] Production.INFO: Total Charge 0
[2025-01-06 22:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:56:05
[end_date_ymd] => 2025-01-06 22:56:05
[RateCDR] => 1
)
[2025-01-06 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-06 19:56:05' and `end` < '2025-01-06 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-06 22:56:05] Production.INFO: CreateAllLog End
[2025-01-06 22:56:05] Production.INFO: Account Balance End.
[2025-01-06 22:56:05] Production.ERROR: CronJobId end 12
[2025-01-06 22:56:05] Production.INFO: ==5182== Releasing lock...
[2025-01-06 22:56:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:56:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:56:11] Production.ERROR: CronJobId end10
[2025-01-06 22:56:11] Production.INFO: ==5180== Releasing lock...
[2025-01-06 22:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:56:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:56:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:56:13] Production.INFO: call_cost start
[2025-01-06 22:56:13] Production.INFO: call_cost end
[2025-01-06 22:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:56:14] Production.INFO: ==5176== Releasing lock...
[2025-01-06 22:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:56:17] Production.INFO: count ==704
[2025-01-06 22:56:17] Production.ERROR: pbx CDR StartTime 2025-01-06 19:56:05 - End Time 2025-01-06 22:56:05
[2025-01-06 22:56:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190757', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190757', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190757', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190757', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:56:18] Production.INFO: ProcessCDR(1,14190757,1,1,2)
[2025-01-06 22:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190757,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:56:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190757,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:56:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190757,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190757,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190757', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190757', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:56:21] Production.INFO: ==5184== Releasing lock...
[2025-01-06 22:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:56:21] Production.INFO: 32.75 MB #Memory Used#
[2025-01-07 03:57:02] Production.INFO: ==5257== Lock acquired, processing the job...
[2025-01-07 03:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:57:02] Production.INFO: neon service started
[2025-01-07 03:57:02] Production.INFO: neon service started
[2025-01-07 03:57:02] Production.INFO: ==5257== Releasing lock...
[2025-01-07 03:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:57:02] Production.INFO: ==5261== Lock acquired, processing the job...
[2025-01-07 03:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:57:02] Production.INFO: ==5261== Releasing lock...
[2025-01-07 03:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:57:02] Production.INFO: ==5259== Lock acquired, processing the job...
[2025-01-06 22:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 22:57:02] Production.INFO: ==5259== Releasing lock...
[2025-01-06 22:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 22:57:03] Production.INFO: ==5264== Lock acquired, processing the job...
[2025-01-06 22:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:57:03] Production.INFO: ==5266== Lock acquired, processing the job...
[2025-01-06 22:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:57:03] Production.INFO: ==5268== Lock acquired, processing the job...
[2025-01-06 22:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:57:03] Production.INFO: ==5270== Lock acquired, processing the job...
[2025-01-06 22:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:57:03] Production.INFO: ==5272== Lock acquired, processing the job...
[2025-01-06 22:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:57:03] Production.INFO: ==5266== Releasing lock...
[2025-01-06 22:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:57:03] Production.INFO: ==5274== Lock acquired, processing the job...
[2025-01-06 22:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:57:04] Production.INFO: Account Balance Start.
[2025-01-06 22:57:04] Production.INFO: CreateAllLog Start
[2025-01-06 22:57:04] Production.INFO: 117
[2025-01-06 22:57:04] Production.INFO: Date 2024-12-08
[2025-01-06 22:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:57:04] Production.INFO: count ==21
[2025-01-06 22:57:04] Production.INFO: Date 2024-12-09
[2025-01-06 22:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:57:04] Production.INFO: count ==21
[2025-01-06 22:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190761') start
[2025-01-06 22:57:04] Production.ERROR: done
[2025-01-06 22:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:57:04] Production.INFO: Date 2024-12-10
[2025-01-06 22:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:57:04] Production.INFO: Date 2024-12-11
[2025-01-06 22:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190761') end
[2025-01-06 22:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:57:04] Production.INFO: 1
[2025-01-06 22:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:57:04] Production.INFO: Date 2024-12-12
[2025-01-06 22:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:57:04] Production.ERROR: done
[2025-01-06 22:57:04] Production.INFO: Date 2024-12-13
[2025-01-06 22:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:57:04] Production.INFO: ==5274== Releasing lock...
[2025-01-06 22:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:57:04] Production.INFO: Date 2024-12-14
[2025-01-06 22:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:57:04] Production.INFO: Date 2024-12-15
[2025-01-06 22:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:57:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:57:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:57:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:57:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:57:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:57:05] Production.INFO: Date 2024-12-21
[2025-01-06 22:57:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:57:05] Production.INFO: Date 2024-12-22
[2025-01-06 22:57:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:57:05] Production.INFO: Date 2024-12-23
[2025-01-06 22:57:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:57:05] Production.INFO: Date 2024-12-24
[2025-01-06 22:57:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:57:05] Production.INFO: Date 2024-12-25
[2025-01-06 22:57:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:57:05] Production.INFO: Date 2024-12-26
[2025-01-06 22:57:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:57:05] Production.INFO: Date 2024-12-27
[2025-01-06 22:57:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:57:05] Production.INFO: Date 2024-12-28
[2025-01-06 22:57:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:57:05] Production.INFO: Date 2024-12-29
[2025-01-06 22:57:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:57:05] Production.INFO: Date 2024-12-30
[2025-01-06 22:57:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:57:05] Production.INFO: Date 2024-12-31
[2025-01-06 22:57:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:57:05] Production.INFO: Date 2025-01-01
[2025-01-06 22:57:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:57:05] Production.INFO: Date 2025-01-02
[2025-01-06 22:57:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:57:05] Production.INFO: Date 2025-01-03
[2025-01-06 22:57:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:57:05] Production.INFO: Date 2025-01-04
[2025-01-06 22:57:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:57:05] Production.INFO: Date 2025-01-05
[2025-01-06 22:57:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:57:05] Production.INFO: Date 2025-01-06
[2025-01-06 22:57:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:57:05] Production.INFO: Total Charge 0
[2025-01-06 22:57:05] Production.INFO: CreateAllLog End
[2025-01-06 22:57:05] Production.INFO: Account Balance End.
[2025-01-06 22:57:05] Production.ERROR: CronJobId end 12
[2025-01-06 22:57:05] Production.INFO: ==5270== Releasing lock...
[2025-01-06 22:57:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:57:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:57:05
[end_date_ymd] => 2025-01-06 22:57:05
[RateCDR] => 1
)
[2025-01-06 22:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 19:57:05' and `end` < '2025-01-06 22:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 22:57:13] Production.ERROR: CronJobId end10
[2025-01-06 22:57:13] Production.INFO: ==5268== Releasing lock...
[2025-01-06 22:57:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:57:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:57:14] Production.INFO: call_cost start
[2025-01-06 22:57:14] Production.INFO: call_cost end
[2025-01-06 22:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:57:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:57:15] Production.INFO: ==5264== Releasing lock...
[2025-01-06 22:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:57:18] Production.INFO: count ==704
[2025-01-06 22:57:18] Production.ERROR: pbx CDR StartTime 2025-01-06 19:57:05 - End Time 2025-01-06 22:57:05
[2025-01-06 22:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190762', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190762', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190762', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190762', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:57:18] Production.INFO: ProcessCDR(1,14190762,1,1,2)
[2025-01-06 22:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190762,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190762,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190762,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190762,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190762', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190762', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:57:21] Production.INFO: ==5272== Releasing lock...
[2025-01-06 22:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:57:21] Production.INFO: 32.75 MB #Memory Used#
[2025-01-07 03:58:01] Production.INFO: ==5351== Lock acquired, processing the job...
[2025-01-07 03:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:58:01] Production.INFO: neon service started
[2025-01-07 03:58:01] Production.INFO: neon service started
[2025-01-07 03:58:01] Production.INFO: ==5351== Releasing lock...
[2025-01-07 03:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:58:01] Production.INFO: ==5353== Lock acquired, processing the job...
[2025-01-06 22:58:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 22:58:02] Production.INFO: ==5353== Releasing lock...
[2025-01-06 22:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:58:02] Production.INFO: ==5355== Lock acquired, processing the job...
[2025-01-07 03:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:58:02] Production.INFO: ==5355== Releasing lock...
[2025-01-07 03:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:58:03] Production.INFO: ==5360== Lock acquired, processing the job...
[2025-01-06 22:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:58:03] Production.INFO: ==5366== Lock acquired, processing the job...
[2025-01-06 22:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:58:03] Production.INFO: ==5362== Lock acquired, processing the job...
[2025-01-06 22:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:58:03] Production.INFO: ==5368== Lock acquired, processing the job...
[2025-01-06 22:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:58:03] Production.INFO: ==5364== Lock acquired, processing the job...
[2025-01-06 22:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:58:03] Production.INFO: ==5370== Lock acquired, processing the job...
[2025-01-06 22:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:58:03] Production.INFO: Account Balance Start.
[2025-01-06 22:58:03] Production.INFO: CreateAllLog Start
[2025-01-06 22:58:03] Production.INFO: 117
[2025-01-06 22:58:03] Production.INFO: Date 2024-12-08
[2025-01-06 22:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:58:03] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 22:58:03] Production.INFO: Date 2024-12-09
[2025-01-06 22:58:03] Production.INFO: count ==21
[2025-01-06 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-06 22:58:03] Production.INFO: count ==21
[2025-01-06 22:58:03] Production.ERROR: done
[2025-01-06 22:58:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190766') start
[2025-01-06 22:58:03] Production.INFO: Date 2024-12-10
[2025-01-06 22:58:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:58:03] Production.ERROR: done
[2025-01-06 22:58:03] Production.INFO: ==5362== Releasing lock...
[2025-01-06 22:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190766') end
[2025-01-06 22:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:58:03] Production.INFO: 1
[2025-01-06 22:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:58:03] Production.INFO: ==5370== Releasing lock...
[2025-01-06 22:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:58:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:58:03] Production.INFO: Date 2024-12-11
[2025-01-06 22:58:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:58:03] Production.INFO: Date 2024-12-12
[2025-01-06 22:58:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:58:03] Production.INFO: Date 2024-12-13
[2025-01-06 22:58:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:58:03] Production.INFO: Date 2024-12-14
[2025-01-06 22:58:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:58:03] Production.INFO: Date 2024-12-15
[2025-01-06 22:58:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:58:03] Production.INFO: Date 2024-12-16
[2025-01-06 22:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:58:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:58:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:58:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:58:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:58:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:58:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:58:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:58:04] Production.INFO: Date 2024-12-24
[2025-01-06 22:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:58:04] Production.INFO: Date 2024-12-25
[2025-01-06 22:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:58:04] Production.INFO: Date 2024-12-26
[2025-01-06 22:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:58:04] Production.INFO: Date 2024-12-27
[2025-01-06 22:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:58:04] Production.INFO: Date 2024-12-28
[2025-01-06 22:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:58:04] Production.INFO: Date 2024-12-29
[2025-01-06 22:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:58:04] Production.INFO: Date 2024-12-30
[2025-01-06 22:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:58:04] Production.INFO: Date 2024-12-31
[2025-01-06 22:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:58:04] Production.INFO: Date 2025-01-01
[2025-01-06 22:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:58:04] Production.INFO: Date 2025-01-02
[2025-01-06 22:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:58:04] Production.INFO: Date 2025-01-03
[2025-01-06 22:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:58:04] Production.INFO: Date 2025-01-04
[2025-01-06 22:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:58:04] Production.INFO: Date 2025-01-05
[2025-01-06 22:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:58:04] Production.INFO: Date 2025-01-06
[2025-01-06 22:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:58:04] Production.INFO: Total Charge 0
[2025-01-06 22:58:04] Production.INFO: CreateAllLog End
[2025-01-06 22:58:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:58:04
[end_date_ymd] => 2025-01-06 22:58:04
[RateCDR] => 1
)
[2025-01-06 22:58:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 19:58:04' and `end` < '2025-01-06 22:58:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 22:58:05] Production.INFO: Account Balance End.
[2025-01-06 22:58:05] Production.ERROR: CronJobId end 12
[2025-01-06 22:58:05] Production.INFO: ==5366== Releasing lock...
[2025-01-06 22:58:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:58:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:58:13] Production.ERROR: CronJobId end10
[2025-01-06 22:58:13] Production.INFO: ==5364== Releasing lock...
[2025-01-06 22:58:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:58:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:58:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:58:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:58:15] Production.INFO: call_cost start
[2025-01-06 22:58:15] Production.INFO: call_cost end
[2025-01-06 22:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:58:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:58:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:58:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:58:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:58:15] Production.INFO: ==5360== Releasing lock...
[2025-01-06 22:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:58:17] Production.INFO: count ==703
[2025-01-06 22:58:17] Production.ERROR: pbx CDR StartTime 2025-01-06 19:58:04 - End Time 2025-01-06 22:58:04
[2025-01-06 22:58:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190767', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190767', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190767', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190767', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:58:17] Production.INFO: ProcessCDR(1,14190767,1,1,2)
[2025-01-06 22:58:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190767,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190767,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190767,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190767,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190767', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190767', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:58:21] Production.INFO: ==5368== Releasing lock...
[2025-01-06 22:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:58:21] Production.INFO: 32.75 MB #Memory Used#
[2025-01-07 03:59:01] Production.INFO: ==5444== Lock acquired, processing the job...
[2025-01-07 03:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 03:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 03:59:01] Production.INFO: neon service started
[2025-01-07 03:59:01] Production.INFO: neon service started
[2025-01-07 03:59:01] Production.INFO: ==5444== Releasing lock...
[2025-01-07 03:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 03:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 22:59:02] Production.INFO: ==5448== Lock acquired, processing the job...
[2025-01-06 22:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:59:02] Production.INFO: ==5450== Lock acquired, processing the job...
[2025-01-07 03:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:59:02] Production.INFO: ==5450== Releasing lock...
[2025-01-07 03:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 03:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 22:59:02] Production.INFO: ==5448== Releasing lock...
[2025-01-06 22:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 22:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 22:59:03] Production.INFO: ==5453== Lock acquired, processing the job...
[2025-01-06 22:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 22:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 22:59:03] Production.INFO: ==5455== Lock acquired, processing the job...
[2025-01-06 22:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 22:59:03] Production.INFO: ==5457== Lock acquired, processing the job...
[2025-01-06 22:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 22:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 22:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 22:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 22:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 22:59:03] Production.INFO: ==5455== Releasing lock...
[2025-01-06 22:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 22:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 22:59:03] Production.INFO: ==5459== Lock acquired, processing the job...
[2025-01-06 22:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 22:59:03] Production.INFO: Account Balance Start.
[2025-01-06 22:59:03] Production.INFO: CreateAllLog Start
[2025-01-06 22:59:03] Production.INFO: 117
[2025-01-06 22:59:03] Production.INFO: Date 2024-12-08
[2025-01-06 22:59:03] Production.INFO: Reseller ==> 0
[2025-01-06 22:59:04] Production.INFO: ==5461== Lock acquired, processing the job...
[2025-01-06 22:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 22:59:04] Production.INFO: ==5463== Lock acquired, processing the job...
[2025-01-06 22:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 22:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 22:59:04] Production.INFO: Date 2024-12-09
[2025-01-06 22:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:59:04] Production.INFO: Date 2024-12-10
[2025-01-06 22:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:59:04] Production.INFO: Date 2024-12-11
[2025-01-06 22:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:59:04] Production.INFO: Date 2024-12-12
[2025-01-06 22:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:59:04] Production.INFO: count ==21
[2025-01-06 22:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 22:59:04] Production.INFO: count ==21
[2025-01-06 22:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190771') start
[2025-01-06 22:59:04] Production.INFO: Date 2024-12-13
[2025-01-06 22:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:59:04] Production.ERROR: done
[2025-01-06 22:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 22:59:04] Production.INFO: Date 2024-12-14
[2025-01-06 22:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:59:04] Production.INFO: Date 2024-12-15
[2025-01-06 22:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190771') end
[2025-01-06 22:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 22:59:04] Production.INFO: 1
[2025-01-06 22:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 22:59:04] Production.INFO: ==5463== Releasing lock...
[2025-01-06 22:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 22:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 22:59:04] Production.INFO: Date 2024-12-16
[2025-01-06 22:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:59:04] Production.ERROR: done
[2025-01-06 22:59:04] Production.INFO: Date 2024-12-17
[2025-01-06 22:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:59:04] Production.INFO: Date 2024-12-18
[2025-01-06 22:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:59:04] Production.INFO: Date 2024-12-19
[2025-01-06 22:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:59:04] Production.INFO: Date 2024-12-20
[2025-01-06 22:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:59:04] Production.INFO: Date 2024-12-21
[2025-01-06 22:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:59:04] Production.INFO: Date 2024-12-22
[2025-01-06 22:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:59:04] Production.INFO: Date 2024-12-23
[2025-01-06 22:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:59:04] Production.INFO: Date 2024-12-24
[2025-01-06 22:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:59:04] Production.INFO: Date 2024-12-25
[2025-01-06 22:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:59:04] Production.INFO: Date 2024-12-26
[2025-01-06 22:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:59:04] Production.INFO: Date 2024-12-27
[2025-01-06 22:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:59:04] Production.INFO: Date 2024-12-28
[2025-01-06 22:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:59:04] Production.INFO: Date 2024-12-29
[2025-01-06 22:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:59:04] Production.INFO: Date 2024-12-30
[2025-01-06 22:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:59:04] Production.INFO: Date 2024-12-31
[2025-01-06 22:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:59:04] Production.INFO: Date 2025-01-01
[2025-01-06 22:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:59:04] Production.INFO: Date 2025-01-02
[2025-01-06 22:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:59:04] Production.INFO: Date 2025-01-03
[2025-01-06 22:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 22:59:05] Production.INFO: Date 2025-01-04
[2025-01-06 22:59:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:59:05] Production.INFO: Date 2025-01-05
[2025-01-06 22:59:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:59:05] Production.INFO: Date 2025-01-06
[2025-01-06 22:59:05] Production.INFO: Reseller ==> 0
[2025-01-06 22:59:05] Production.INFO: Total Charge 0
[2025-01-06 22:59:05] Production.INFO: CreateAllLog End
[2025-01-06 22:59:05] Production.INFO: Account Balance End.
[2025-01-06 22:59:05] Production.ERROR: CronJobId end 12
[2025-01-06 22:59:05] Production.INFO: ==5459== Releasing lock...
[2025-01-06 22:59:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 22:59:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 22:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 19:59:05
[end_date_ymd] => 2025-01-06 22:59:05
[RateCDR] => 1
)
[2025-01-06 22:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 19:59:05' and `end` < '2025-01-06 22:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 22:59:11] Production.ERROR: CronJobId end10
[2025-01-06 22:59:11] Production.INFO: ==5457== Releasing lock...
[2025-01-06 22:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 22:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 22:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 22:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 22:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 22:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 22:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 22:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 22:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 22:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 22:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 22:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 22:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 22:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 22:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 22:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 22:59:13] Production.INFO: call_cost start
[2025-01-06 22:59:13] Production.INFO: call_cost end
[2025-01-06 22:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 22:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 22:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 22:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 22:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 22:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 22:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 22:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 22:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 22:59:14] Production.INFO: ==5453== Releasing lock...
[2025-01-06 22:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 22:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 22:59:20] Production.INFO: count ==706
[2025-01-06 22:59:21] Production.ERROR: pbx CDR StartTime 2025-01-06 19:59:05 - End Time 2025-01-06 22:59:05
[2025-01-06 22:59:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 22:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190772', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190772', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190772', 'tblTempVendorCDR_20' ) start
[2025-01-06 22:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190772', 'tblTempVendorCDR_20' ) end
[2025-01-06 22:59:21] Production.INFO: ProcessCDR(1,14190772,1,1,2)
[2025-01-06 22:59:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190772,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:59:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190772,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 22:59:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190772,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:59:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190772,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 22:59:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190772', 'tblTempUsageDetail_20' ) start
[2025-01-06 22:59:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190772', 'tblTempUsageDetail_20' ) end
[2025-01-06 22:59:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 22:59:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 22:59:24] Production.INFO: ==5461== Releasing lock...
[2025-01-06 22:59:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 22:59:24] Production.INFO: 32.75 MB #Memory Used#
[2025-01-07 04:00:02] Production.INFO: ==5532== Lock acquired, processing the job...
[2025-01-07 04:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:00:02] Production.INFO: neon service started
[2025-01-07 04:00:02] Production.INFO: neon service started
[2025-01-07 04:00:02] Production.INFO: ==5532== Releasing lock...
[2025-01-07 04:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:00:02] Production.INFO: ==5536== Lock acquired, processing the job...
[2025-01-07 04:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:00:02] Production.INFO: ==5536== Releasing lock...
[2025-01-07 04:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:00:02] Production.INFO: ==5534== Lock acquired, processing the job...
[2025-01-06 23:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 23:00:03] Production.INFO: ==5534== Releasing lock...
[2025-01-06 23:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 23:00:04] Production.INFO: ==5542== Lock acquired, processing the job...
[2025-01-06 23:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:00:04] Production.INFO: ==5538== Lock acquired, processing the job...
[2025-01-06 23:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-06 23:00:04] Production.INFO: ==5549== Lock acquired, processing the job...
[2025-01-06 23:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:00:04] Production.INFO: ==5551== Lock acquired, processing the job...
[2025-01-06 23:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-06 23:00:04] Production.INFO: ==5540== Lock acquired, processing the job...
[2025-01-06 23:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:00:04] Production.INFO: ==5542== Releasing lock...
[2025-01-06 23:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:00:04] Production.INFO: ==5545== Lock acquired, processing the job...
[2025-01-06 23:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-06 23:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 23:00:04] Production.ERROR: CronJob PID - 5540
[2025-01-06 23:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-06 23:00:04] Production.ERROR: CronJob ID - 5
[2025-01-06 23:00:04] Production.ERROR: CronJob Last Run Time 2025-01-06 23:00:00
[2025-01-06 23:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 23:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 23:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 23:00:04] Production.ERROR: CronJob PID - 5549
[2025-01-06 23:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-06 23:00:04] Production.ERROR: CronJob ID - 16
[2025-01-06 23:00:04] Production.ERROR: CronJob Last Run Time 2025-01-06 23:00:00
[2025-01-06 23:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 23:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 23:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 23:00:04] Production.ERROR: CronJob PID - 5551
[2025-01-06 23:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-06 23:00:04] Production.ERROR: CronJob ID - 17
[2025-01-06 23:00:04] Production.ERROR: CronJob Last Run Time 2025-01-06 23:00:00
[2025-01-06 23:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 23:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 23:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-06 23:00:04] Production.INFO: ==5538== Releasing lock...
[2025-01-06 23:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-06 23:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-06 23:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:00:04] Production.INFO: ==5547== Lock acquired, processing the job...
[2025-01-06 23:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:00:04] Production.INFO: ==5553== Lock acquired, processing the job...
[2025-01-06 23:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:00:04] Production.ERROR: done
[2025-01-06 23:00:04] Production.INFO: Account Balance Start.
[2025-01-06 23:00:04] Production.INFO: CreateAllLog Start
[2025-01-06 23:00:04] Production.INFO: 117
[2025-01-06 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-06 23:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-06 23:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14190777', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) start
[2025-01-06 23:00:04] Production.INFO: Date 2024-12-08
[2025-01-06 23:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:00:04] Production.INFO: count ==21
[2025-01-06 23:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 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-06 23:00:04] Production.INFO: count ==21
[2025-01-06 23:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190776') start
[2025-01-06 23:00:04] Production.ERROR: done
[2025-01-06 23:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:00:04] Production.INFO: Date 2024-12-09
[2025-01-06 23:00:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14190776') end
[2025-01-06 23:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:00:05] Production.INFO: 1
[2025-01-06 23:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:00:05] Production.INFO: Date 2024-12-10
[2025-01-06 23:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:00:05] Production.INFO: Date 2024-12-11
[2025-01-06 23:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:00:05] Production.INFO: ==5553== Releasing lock...
[2025-01-06 23:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:00:05] Production.ERROR: done
[2025-01-06 23:00:05] Production.INFO: Date 2024-12-12
[2025-01-06 23:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:00:05] Production.INFO: Date 2024-12-13
[2025-01-06 23:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:00:05] Production.INFO: Date 2024-12-14
[2025-01-06 23:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:00:05] Production.INFO: Date 2024-12-15
[2025-01-06 23:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:00:05] Production.INFO: Date 2024-12-16
[2025-01-06 23:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:00:05] Production.INFO: Date 2024-12-17
[2025-01-06 23:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:00:05] Production.INFO: Date 2024-12-18
[2025-01-06 23:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:00:05] Production.INFO: Date 2024-12-19
[2025-01-06 23:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:00:05] Production.INFO: Date 2024-12-20
[2025-01-06 23:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:00:05] Production.INFO: Date 2024-12-21
[2025-01-06 23:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:00:05] Production.INFO: Date 2024-12-22
[2025-01-06 23:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:00:05] Production.INFO: Date 2024-12-23
[2025-01-06 23:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:00:05] Production.INFO: Date 2024-12-24
[2025-01-06 23:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:00:05] Production.INFO: Date 2024-12-25
[2025-01-06 23:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:00:05] Production.INFO: Date 2024-12-26
[2025-01-06 23:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:00:05] Production.INFO: Date 2024-12-27
[2025-01-06 23:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:00:05] Production.INFO: Date 2024-12-28
[2025-01-06 23:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:00:05] Production.INFO: Date 2024-12-29
[2025-01-06 23:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:00:05] Production.INFO: Date 2024-12-30
[2025-01-06 23:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:00:05] Production.INFO: Date 2024-12-31
[2025-01-06 23:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:00:05] Production.INFO: Date 2025-01-01
[2025-01-06 23:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:00:05] Production.INFO: Date 2025-01-02
[2025-01-06 23:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:00:05] Production.INFO: Date 2025-01-03
[2025-01-06 23:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:00:05] Production.INFO: Date 2025-01-04
[2025-01-06 23:00:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:00:06] Production.INFO: Date 2025-01-05
[2025-01-06 23:00:06] Production.INFO: Reseller ==> 0
[2025-01-06 23:00:06] Production.INFO: Date 2025-01-06
[2025-01-06 23:00:06] Production.INFO: Reseller ==> 0
[2025-01-06 23:00:06] Production.INFO: Total Charge 0
[2025-01-06 23:00:06] Production.INFO: CreateAllLog End
[2025-01-06 23:00:06] Production.INFO: Account Balance End.
[2025-01-06 23:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:00:06
[end_date_ymd] => 2025-01-06 23:00:06
[RateCDR] => 1
)
[2025-01-06 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-06 20:00:06' and `end` < '2025-01-06 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-06 23:00:06] Production.ERROR: CronJobId end 12
[2025-01-06 23:00:06] Production.INFO: ==5547== Releasing lock...
[2025-01-06 23:00:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:00:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14190777', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) end
[2025-01-06 23:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-06 23:00:08] Production.INFO: ProcessCDR(1,14190777,1,1,2)
[2025-01-06 23:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14190777,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14190777,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:00:08] Production.INFO: ==5551== Releasing lock...
[2025-01-06 23:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-06 23:00:08] Production.INFO: 26 MB #Memory Used#
[2025-01-06 23:00:14] Production.ERROR: CronJobId end10
[2025-01-06 23:00:14] Production.INFO: ==5545== Releasing lock...
[2025-01-06 23:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:00:15] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:00:15] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:00:15] Production.INFO: call_cost start
[2025-01-06 23:00:15] Production.INFO: call_cost end
[2025-01-06 23:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:00:16] Production.INFO: ==5540== Releasing lock...
[2025-01-06 23:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:00:19] Production.INFO: count ==706
[2025-01-06 23:00:19] Production.ERROR: pbx CDR StartTime 2025-01-06 20:00:06 - End Time 2025-01-06 23:00:06
[2025-01-06 23:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190778', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190778', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190778', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190778', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:00:19] Production.INFO: ProcessCDR(1,14190778,1,1,2)
[2025-01-06 23:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190778,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190778,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190778,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190778,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190778', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190778', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:00:22] Production.INFO: ==5549== Releasing lock...
[2025-01-06 23:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:00:22] Production.INFO: 32.75 MB #Memory Used#
[2025-01-07 04:01:01] Production.INFO: ==5663== Lock acquired, processing the job...
[2025-01-07 04:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:01:01] Production.INFO: neon service started
[2025-01-07 04:01:01] Production.INFO: neon service started
[2025-01-07 04:01:01] Production.INFO: ==5663== Releasing lock...
[2025-01-07 04:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:01:02] Production.INFO: ==5675== Lock acquired, processing the job...
[2025-01-07 04:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:01:02] Production.INFO: ==5675== Releasing lock...
[2025-01-07 04:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:01:02] Production.INFO: ==5673== Lock acquired, processing the job...
[2025-01-06 23:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 23:01:02] Production.INFO: ==5673== Releasing lock...
[2025-01-06 23:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 23:01:03] Production.INFO: ==5681== Lock acquired, processing the job...
[2025-01-06 23:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:01:03] Production.INFO: ==5683== Lock acquired, processing the job...
[2025-01-06 23:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:01:03] Production.INFO: ==5677== Lock acquired, processing the job...
[2025-01-06 23:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:01:03] Production.INFO: Account Balance Start.
[2025-01-06 23:01:03] Production.INFO: CreateAllLog Start
[2025-01-06 23:01:03] Production.INFO: 117
[2025-01-06 23:01:03] Production.INFO: ==5679== Lock acquired, processing the job...
[2025-01-06 23:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:01:03] Production.INFO: Date 2024-12-08
[2025-01-06 23:01:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:01:03] Production.INFO: Date 2024-12-09
[2025-01-06 23:01:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:01:03] Production.INFO: Date 2024-12-10
[2025-01-06 23:01:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:01:03] Production.INFO: Date 2024-12-11
[2025-01-06 23:01:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:01:03] Production.INFO: Date 2024-12-12
[2025-01-06 23:01:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:01:03] Production.INFO: ==5685== Lock acquired, processing the job...
[2025-01-06 23:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:01:03] Production.INFO: Date 2024-12-13
[2025-01-06 23:01:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:01:03] Production.INFO: Date 2024-12-14
[2025-01-06 23:01:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:01:03] Production.INFO: Date 2024-12-15
[2025-01-06 23:01:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:01:03] Production.INFO: Date 2024-12-16
[2025-01-06 23:01:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:01:03] Production.INFO: ==5688== Lock acquired, processing the job...
[2025-01-06 23:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:01:03] Production.INFO: Date 2024-12-17
[2025-01-06 23:01:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:01:03] Production.INFO: ==5679== Releasing lock...
[2025-01-06 23:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:01:03] Production.INFO: Date 2024-12-18
[2025-01-06 23:01:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:01:03] Production.INFO: Date 2024-12-19
[2025-01-06 23:01:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:01:03] Production.INFO: Date 2024-12-20
[2025-01-06 23:01:03] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 23:01:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:01:04] Production.INFO: count ==21
[2025-01-06 23:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:01:04] Production.INFO: count ==21
[2025-01-06 23:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190782') start
[2025-01-06 23:01:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:01:04] Production.ERROR: done
[2025-01-06 23:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:01:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190782') end
[2025-01-06 23:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:01:04] Production.INFO: 1
[2025-01-06 23:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:01:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:01:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:01:04] Production.INFO: ==5688== Releasing lock...
[2025-01-06 23:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:01:04] Production.INFO: Date 2024-12-26
[2025-01-06 23:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:01:04] Production.ERROR: done
[2025-01-06 23:01:04] Production.INFO: Date 2024-12-27
[2025-01-06 23:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:01:04] Production.INFO: Date 2024-12-28
[2025-01-06 23:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:01:04] Production.INFO: Date 2024-12-29
[2025-01-06 23:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:01:04] Production.INFO: Date 2024-12-30
[2025-01-06 23:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:01:04] Production.INFO: Date 2024-12-31
[2025-01-06 23:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:01:04] Production.INFO: Date 2025-01-01
[2025-01-06 23:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:01:04] Production.INFO: Date 2025-01-02
[2025-01-06 23:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:01:04] Production.INFO: Date 2025-01-03
[2025-01-06 23:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:01:04] Production.INFO: Date 2025-01-04
[2025-01-06 23:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:01:04] Production.INFO: Date 2025-01-05
[2025-01-06 23:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:01:04] Production.INFO: Date 2025-01-06
[2025-01-06 23:01:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:01:04] Production.INFO: Total Charge 0
[2025-01-06 23:01:05] Production.INFO: CreateAllLog End
[2025-01-06 23:01:05] Production.INFO: Account Balance End.
[2025-01-06 23:01:05] Production.ERROR: CronJobId end 12
[2025-01-06 23:01:05] Production.INFO: ==5683== Releasing lock...
[2025-01-06 23:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:01:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:01:05
[end_date_ymd] => 2025-01-06 23:01:05
[RateCDR] => 1
)
[2025-01-06 23:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 20:01:05' and `end` < '2025-01-06 23:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 23:01:13] Production.ERROR: CronJobId end10
[2025-01-06 23:01:13] Production.INFO: ==5681== Releasing lock...
[2025-01-06 23:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:01:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:01:13] Production.INFO: call_cost start
[2025-01-06 23:01:13] Production.INFO: call_cost end
[2025-01-06 23:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:01:14] Production.INFO: ==5677== Releasing lock...
[2025-01-06 23:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:01:19] Production.INFO: count ==707
[2025-01-06 23:01:19] Production.ERROR: pbx CDR StartTime 2025-01-06 20:01:05 - End Time 2025-01-06 23:01:05
[2025-01-06 23:01:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190783', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190783', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190783', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190783', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:01:19] Production.INFO: ProcessCDR(1,14190783,1,1,2)
[2025-01-06 23:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190783,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190783,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190783,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190783,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190783', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190783', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:01:22] Production.INFO: ==5685== Releasing lock...
[2025-01-06 23:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:01:22] Production.INFO: 32.75 MB #Memory Used#
[2025-01-07 04:02:02] Production.INFO: ==5791== Lock acquired, processing the job...
[2025-01-07 04:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:02:02] Production.INFO: neon service started
[2025-01-07 04:02:02] Production.INFO: neon service started
[2025-01-07 04:02:02] Production.INFO: ==5791== Releasing lock...
[2025-01-07 04:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:02:02] Production.INFO: ==5795== Lock acquired, processing the job...
[2025-01-07 04:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:02:02] Production.INFO: ==5795== Releasing lock...
[2025-01-07 04:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:02:02] Production.INFO: ==5793== Lock acquired, processing the job...
[2025-01-06 23:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 23:02:02] Production.INFO: ==5793== Releasing lock...
[2025-01-06 23:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 23:02:03] Production.INFO: ==5798== Lock acquired, processing the job...
[2025-01-06 23:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:02:03] Production.INFO: ==5800== Lock acquired, processing the job...
[2025-01-06 23:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:02:03] Production.INFO: ==5808== Lock acquired, processing the job...
[2025-01-06 23:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:02:03] Production.INFO: ==5802== Lock acquired, processing the job...
[2025-01-06 23:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:02:03] Production.INFO: count ==21
[2025-01-06 23:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:02:03] Production.INFO: count ==21
[2025-01-06 23:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190786') start
[2025-01-06 23:02:04] Production.INFO: ==5800== Releasing lock...
[2025-01-06 23:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:02:04] Production.INFO: ==5804== Lock acquired, processing the job...
[2025-01-06 23:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:02:04] Production.INFO: ==5806== Lock acquired, processing the job...
[2025-01-06 23:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190786') end
[2025-01-06 23:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:02:04] Production.INFO: 1
[2025-01-06 23:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:02:04] Production.INFO: Account Balance Start.
[2025-01-06 23:02:04] Production.INFO: CreateAllLog Start
[2025-01-06 23:02:04] Production.INFO: 117
[2025-01-06 23:02:04] Production.INFO: Date 2024-12-08
[2025-01-06 23:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:02:04] Production.INFO: Date 2024-12-09
[2025-01-06 23:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:02:04] Production.INFO: ==5808== Releasing lock...
[2025-01-06 23:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:02:04] Production.INFO: Date 2024-12-10
[2025-01-06 23:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:02:04] Production.INFO: Date 2024-12-11
[2025-01-06 23:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:02:04] Production.INFO: Date 2024-12-12
[2025-01-06 23:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:02:04] Production.INFO: Date 2024-12-13
[2025-01-06 23:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:02:04] Production.INFO: Date 2024-12-14
[2025-01-06 23:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:02:04] Production.ERROR: done
[2025-01-06 23:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:02:04] Production.INFO: Date 2024-12-15
[2025-01-06 23:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:02:04] Production.INFO: Date 2024-12-16
[2025-01-06 23:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:02:04] Production.INFO: Date 2024-12-17
[2025-01-06 23:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:02:04] Production.INFO: Date 2024-12-18
[2025-01-06 23:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:02:04] Production.ERROR: done
[2025-01-06 23:02:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:02:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:02:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:02:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:02:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:02:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:02:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:02:04] Production.INFO: Date 2024-12-26
[2025-01-06 23:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:02:04] Production.INFO: Date 2024-12-27
[2025-01-06 23:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:02:04] Production.INFO: Date 2024-12-28
[2025-01-06 23:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:02:04] Production.INFO: Date 2024-12-29
[2025-01-06 23:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:02:04] Production.INFO: Date 2024-12-30
[2025-01-06 23:02:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:02:05] Production.INFO: Date 2024-12-31
[2025-01-06 23:02:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:02:05] Production.INFO: Date 2025-01-01
[2025-01-06 23:02:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:02:05] Production.INFO: Date 2025-01-02
[2025-01-06 23:02:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:02:05] Production.INFO: Date 2025-01-03
[2025-01-06 23:02:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:02:05] Production.INFO: Date 2025-01-04
[2025-01-06 23:02:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:02:05] Production.INFO: Date 2025-01-05
[2025-01-06 23:02:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:02:05] Production.INFO: Date 2025-01-06
[2025-01-06 23:02:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:02:05] Production.INFO: Total Charge 0
[2025-01-06 23:02:05] Production.INFO: CreateAllLog End
[2025-01-06 23:02:05] Production.INFO: Account Balance End.
[2025-01-06 23:02:05] Production.ERROR: CronJobId end 12
[2025-01-06 23:02:05] Production.INFO: ==5804== Releasing lock...
[2025-01-06 23:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:02:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:02:05
[end_date_ymd] => 2025-01-06 23:02:05
[RateCDR] => 1
)
[2025-01-06 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-06 20:02:05' and `end` < '2025-01-06 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-06 23:02:12] Production.ERROR: CronJobId end10
[2025-01-06 23:02:12] Production.INFO: ==5802== Releasing lock...
[2025-01-06 23:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:02:13] Production.INFO: call_cost start
[2025-01-06 23:02:13] Production.INFO: call_cost end
[2025-01-06 23:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:02:14] Production.INFO: ==5798== Releasing lock...
[2025-01-06 23:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:02:18] Production.INFO: count ==710
[2025-01-06 23:02:18] Production.ERROR: pbx CDR StartTime 2025-01-06 20:02:05 - End Time 2025-01-06 23:02:05
[2025-01-06 23:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190788', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190788', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190788', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190788', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:02:18] Production.INFO: ProcessCDR(1,14190788,1,1,2)
[2025-01-06 23:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190788,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190788,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190788,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190788,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190788', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190788', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:02:21] Production.INFO: ==5806== Releasing lock...
[2025-01-06 23:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:02:21] Production.INFO: 32.75 MB #Memory Used#
[2025-01-07 04:03:01] Production.INFO: ==5912== Lock acquired, processing the job...
[2025-01-07 04:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:03:01] Production.INFO: neon service started
[2025-01-07 04:03:01] Production.INFO: neon service started
[2025-01-07 04:03:01] Production.INFO: ==5912== Releasing lock...
[2025-01-07 04:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 23:03:01] Production.INFO: ==5915== Lock acquired, processing the job...
[2025-01-06 23:03:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 23:03:02] Production.INFO: ==5915== Releasing lock...
[2025-01-06 23:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:03:02] Production.INFO: ==5917== Lock acquired, processing the job...
[2025-01-07 04:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:03:02] Production.INFO: ==5917== Releasing lock...
[2025-01-07 04:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:03:02] Production.INFO: ==5921== Lock acquired, processing the job...
[2025-01-06 23:03:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:03:03] Production.INFO: ==5919== Lock acquired, processing the job...
[2025-01-06 23:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:03:03] Production.INFO: ==5923== Lock acquired, processing the job...
[2025-01-06 23:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:03:03] Production.INFO: ==5921== Releasing lock...
[2025-01-06 23:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:03:03] Production.INFO: ==5927== Lock acquired, processing the job...
[2025-01-06 23:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:03:03] Production.INFO: ==5925== Lock acquired, processing the job...
[2025-01-06 23:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:03:03] Production.INFO: ==5929== Lock acquired, processing the job...
[2025-01-06 23:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:03:03] Production.INFO: Account Balance Start.
[2025-01-06 23:03:03] Production.INFO: CreateAllLog Start
[2025-01-06 23:03:03] Production.INFO: 117
[2025-01-06 23:03:03] Production.INFO: Date 2024-12-08
[2025-01-06 23:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:03:03] Production.INFO: Date 2024-12-09
[2025-01-06 23:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:03:03] Production.INFO: Date 2024-12-10
[2025-01-06 23:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:03:03] Production.INFO: Date 2024-12-11
[2025-01-06 23:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:03:03] Production.INFO: Date 2024-12-12
[2025-01-06 23:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:03:03] Production.INFO: Date 2024-12-13
[2025-01-06 23:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:03:03] Production.INFO: Date 2024-12-14
[2025-01-06 23:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:03:03] Production.INFO: count ==21
[2025-01-06 23:03:03] Production.INFO: Date 2024-12-15
[2025-01-06 23:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:03:03] Production.INFO: count ==21
[2025-01-06 23:03:03] Production.ERROR: done
[2025-01-06 23:03:03] Production.INFO: Date 2024-12-16
[2025-01-06 23:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:03:03] Production.INFO: Date 2024-12-17
[2025-01-06 23:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190792') start
[2025-01-06 23:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:03:03] Production.INFO: Date 2024-12-18
[2025-01-06 23:03:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:03:04] Production.ERROR: done
[2025-01-06 23:03:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:03:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:03:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190792') end
[2025-01-06 23:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:03:04] Production.INFO: 1
[2025-01-06 23:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:03:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:03:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:03:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:03:04] Production.INFO: ==5929== Releasing lock...
[2025-01-06 23:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:03:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:03:04] Production.INFO: Date 2024-12-26
[2025-01-06 23:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:03:04] Production.INFO: Date 2024-12-27
[2025-01-06 23:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:03:04] Production.INFO: Date 2024-12-28
[2025-01-06 23:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:03:04] Production.INFO: Date 2024-12-29
[2025-01-06 23:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:03:04] Production.INFO: Date 2024-12-30
[2025-01-06 23:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:03:04] Production.INFO: Date 2024-12-31
[2025-01-06 23:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:03:04] Production.INFO: Date 2025-01-01
[2025-01-06 23:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:03:04] Production.INFO: Date 2025-01-02
[2025-01-06 23:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:03:04] Production.INFO: Date 2025-01-03
[2025-01-06 23:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:03:04] Production.INFO: Date 2025-01-04
[2025-01-06 23:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:03:04] Production.INFO: Date 2025-01-05
[2025-01-06 23:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:03:04] Production.INFO: Date 2025-01-06
[2025-01-06 23:03:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:03:04] Production.INFO: Total Charge 0
[2025-01-06 23:03:04] Production.INFO: CreateAllLog End
[2025-01-06 23:03:04] Production.INFO: Account Balance End.
[2025-01-06 23:03:04] Production.ERROR: CronJobId end 12
[2025-01-06 23:03:04] Production.INFO: ==5925== Releasing lock...
[2025-01-06 23:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:03:05
[end_date_ymd] => 2025-01-06 23:03:05
[RateCDR] => 1
)
[2025-01-06 23:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 20:03:05' and `end` < '2025-01-06 23:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 23:03:12] Production.ERROR: CronJobId end10
[2025-01-06 23:03:12] Production.INFO: ==5923== Releasing lock...
[2025-01-06 23:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:03:13] Production.INFO: call_cost start
[2025-01-06 23:03:13] Production.INFO: call_cost end
[2025-01-06 23:03:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:03:13] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:03:13] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:03:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:03:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:03:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:03:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:03:13] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:03:13] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:03:13] Production.INFO: ==5919== Releasing lock...
[2025-01-06 23:03:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:03:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:03:17] Production.INFO: count ==706
[2025-01-06 23:03:17] Production.ERROR: pbx CDR StartTime 2025-01-06 20:03:05 - End Time 2025-01-06 23:03:05
[2025-01-06 23:03:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190793', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190793', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190793', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190793', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:03:18] Production.INFO: ProcessCDR(1,14190793,1,1,2)
[2025-01-06 23:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190793,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:03:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190793,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:03:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190793,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190793,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190793', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190793', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:03:21] Production.INFO: ==5927== Releasing lock...
[2025-01-06 23:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:03:21] Production.INFO: 32.75 MB #Memory Used#
[2025-01-07 04:04:01] Production.INFO: ==5998== Lock acquired, processing the job...
[2025-01-07 04:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:04:01] Production.INFO: neon service started
[2025-01-07 04:04:02] Production.INFO: neon service started
[2025-01-07 04:04:02] Production.INFO: ==5998== Releasing lock...
[2025-01-07 04:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 23:04:02] Production.INFO: ==6000== Lock acquired, processing the job...
[2025-01-06 23:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:04:02] Production.INFO: ==6002== Lock acquired, processing the job...
[2025-01-07 04:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:04:02] Production.INFO: ==6002== Releasing lock...
[2025-01-07 04:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:04:02] Production.INFO: ==6000== Releasing lock...
[2025-01-06 23:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 23:04:03] Production.INFO: ==6011== Lock acquired, processing the job...
[2025-01-06 23:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:04:03] Production.INFO: ==6017== Lock acquired, processing the job...
[2025-01-06 23:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:04:03] Production.INFO: Account Balance Start.
[2025-01-06 23:04:03] Production.INFO: CreateAllLog Start
[2025-01-06 23:04:03] Production.INFO: 117
[2025-01-06 23:04:03] Production.INFO: ==6004== Lock acquired, processing the job...
[2025-01-06 23:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:04:03] Production.INFO: Date 2024-12-08
[2025-01-06 23:04:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:04:03] Production.INFO: ==6006== Lock acquired, processing the job...
[2025-01-06 23:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:04:03] Production.INFO: Date 2024-12-09
[2025-01-06 23:04:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:04:03] Production.INFO: count ==21
[2025-01-06 23:04:03] Production.INFO: ==6009== Lock acquired, processing the job...
[2025-01-06 23:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:04:03] Production.INFO: count ==21
[2025-01-06 23:04:03] Production.INFO: ==6014== Lock acquired, processing the job...
[2025-01-06 23:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190795') start
[2025-01-06 23:04:03] Production.INFO: Date 2024-12-10
[2025-01-06 23:04:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190795') end
[2025-01-06 23:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:04:03] Production.INFO: 1
[2025-01-06 23:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:04:03] Production.INFO: Date 2024-12-11
[2025-01-06 23:04:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:04:03] Production.INFO: Date 2024-12-12
[2025-01-06 23:04:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:04:03] Production.INFO: Date 2024-12-13
[2025-01-06 23:04:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:04:04] Production.INFO: ==6017== Releasing lock...
[2025-01-06 23:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:04:04] Production.INFO: Date 2024-12-14
[2025-01-06 23:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:04:04] Production.INFO: Date 2024-12-15
[2025-01-06 23:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:04:04] Production.INFO: Date 2024-12-16
[2025-01-06 23:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:04:04] Production.INFO: Date 2024-12-17
[2025-01-06 23:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:04:04] Production.INFO: ==6006== Releasing lock...
[2025-01-06 23:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:04:04] Production.ERROR: done
[2025-01-06 23:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:04:04] Production.INFO: Date 2024-12-18
[2025-01-06 23:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:04:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:04:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:04:04] Production.ERROR: done
[2025-01-06 23:04:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:04:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:04:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:04:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:04:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:04:04] Production.INFO: Date 2024-12-26
[2025-01-06 23:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:04:04] Production.INFO: Date 2024-12-27
[2025-01-06 23:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:04:04] Production.INFO: Date 2024-12-28
[2025-01-06 23:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:04:04] Production.INFO: Date 2024-12-29
[2025-01-06 23:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:04:04] Production.INFO: Date 2024-12-30
[2025-01-06 23:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:04:04] Production.INFO: Date 2024-12-31
[2025-01-06 23:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:04:04] Production.INFO: Date 2025-01-01
[2025-01-06 23:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:04:04] Production.INFO: Date 2025-01-02
[2025-01-06 23:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:04:04] Production.INFO: Date 2025-01-03
[2025-01-06 23:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:04:04] Production.INFO: Date 2025-01-04
[2025-01-06 23:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:04:04] Production.INFO: Date 2025-01-05
[2025-01-06 23:04:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:04:05] Production.INFO: Date 2025-01-06
[2025-01-06 23:04:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:04:05] Production.INFO: Total Charge 0
[2025-01-06 23:04:05] Production.INFO: CreateAllLog End
[2025-01-06 23:04:05] Production.INFO: Account Balance End.
[2025-01-06 23:04:05] Production.ERROR: CronJobId end 12
[2025-01-06 23:04:05] Production.INFO: ==6011== Releasing lock...
[2025-01-06 23:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:04:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:04:05
[end_date_ymd] => 2025-01-06 23:04:05
[RateCDR] => 1
)
[2025-01-06 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-06 20:04:05' and `end` < '2025-01-06 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-06 23:04:11] Production.ERROR: CronJobId end10
[2025-01-06 23:04:11] Production.INFO: ==6009== Releasing lock...
[2025-01-06 23:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:04:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:04:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:04:14] Production.INFO: call_cost start
[2025-01-06 23:04:14] Production.INFO: call_cost end
[2025-01-06 23:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:04:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:04:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:04:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:04:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:04:15] Production.INFO: ==6004== Releasing lock...
[2025-01-06 23:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:04:19] Production.INFO: count ==700
[2025-01-06 23:04:19] Production.ERROR: pbx CDR StartTime 2025-01-06 20:04:05 - End Time 2025-01-06 23:04:05
[2025-01-06 23:04:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190798', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190798', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190798', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190798', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:04:19] Production.INFO: ProcessCDR(1,14190798,1,1,2)
[2025-01-06 23:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190798,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190798,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190798,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190798,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190798', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190798', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:04:22] Production.INFO: ==6014== Releasing lock...
[2025-01-06 23:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:04:22] Production.INFO: 32.75 MB #Memory Used#
[2025-01-07 04:05:01] Production.INFO: ==6165== Lock acquired, processing the job...
[2025-01-07 04:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:05:01] Production.INFO: neon service started
[2025-01-07 04:05:01] Production.INFO: neon service started
[2025-01-07 04:05:01] Production.INFO: ==6165== Releasing lock...
[2025-01-07 04:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 23:05:01] Production.INFO: ==6167== Lock acquired, processing the job...
[2025-01-06 23:05:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:05:02] Production.INFO: ==6169== Lock acquired, processing the job...
[2025-01-07 04:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-06 23:05:02] Production.INFO: ==6167== Releasing lock...
[2025-01-06 23:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:05:02] Production.INFO: ==6169== Releasing lock...
[2025-01-07 04:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:05:03] Production.INFO: ==6177== Lock acquired, processing the job...
[2025-01-06 23:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:05:03] Production.INFO: ==6181== Lock acquired, processing the job...
[2025-01-06 23:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:05:03] Production.INFO: ==6171== Lock acquired, processing the job...
[2025-01-06 23:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:05:03] Production.INFO: ==6173== Lock acquired, processing the job...
[2025-01-06 23:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:05:03] Production.INFO: Account Balance Start.
[2025-01-06 23:05:03] Production.INFO: CreateAllLog Start
[2025-01-06 23:05:03] Production.INFO: 117
[2025-01-06 23:05:03] Production.INFO: Date 2024-12-08
[2025-01-06 23:05:03] Production.INFO: ==6175== Lock acquired, processing the job...
[2025-01-06 23:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 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-06 23:05:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:05:03] Production.INFO: count ==21
[2025-01-06 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-06 23:05:03] Production.INFO: count ==21
[2025-01-06 23:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190800') start
[2025-01-06 23:05:03] Production.INFO: Date 2024-12-09
[2025-01-06 23:05:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:05:03] Production.INFO: ==6179== Lock acquired, processing the job...
[2025-01-06 23:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:05:03] Production.INFO: Date 2024-12-10
[2025-01-06 23:05:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:05:03] Production.INFO: Date 2024-12-11
[2025-01-06 23:05:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190800') end
[2025-01-06 23:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:05:03] Production.INFO: 1
[2025-01-06 23:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:05:03] Production.INFO: Date 2024-12-12
[2025-01-06 23:05:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:05:03] Production.INFO: Date 2024-12-13
[2025-01-06 23:05:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:05:03] Production.INFO: ==6181== Releasing lock...
[2025-01-06 23:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:05:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:05:03] Production.INFO: ==6173== Releasing lock...
[2025-01-06 23:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:05:03] Production.INFO: Date 2024-12-14
[2025-01-06 23:05:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:05:03] Production.INFO: Date 2024-12-15
[2025-01-06 23:05:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:05:03] Production.INFO: Date 2024-12-16
[2025-01-06 23:05:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:05:03] Production.INFO: Date 2024-12-17
[2025-01-06 23:05:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:05:03] Production.ERROR: done
[2025-01-06 23:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:05:03] Production.ERROR: done
[2025-01-06 23:05:03] Production.INFO: Date 2024-12-18
[2025-01-06 23:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:05:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:05:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:05:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:05:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:05:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:05:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:05:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:05:04] Production.INFO: Date 2024-12-26
[2025-01-06 23:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:05:04] Production.INFO: Date 2024-12-27
[2025-01-06 23:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:05:04] Production.INFO: Date 2024-12-28
[2025-01-06 23:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:05:04] Production.INFO: Date 2024-12-29
[2025-01-06 23:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:05:04] Production.INFO: Date 2024-12-30
[2025-01-06 23:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:05:04] Production.INFO: Date 2024-12-31
[2025-01-06 23:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:05:04] Production.INFO: Date 2025-01-01
[2025-01-06 23:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:05:04] Production.INFO: Date 2025-01-02
[2025-01-06 23:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:05:04] Production.INFO: Date 2025-01-03
[2025-01-06 23:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:05:04] Production.INFO: Date 2025-01-04
[2025-01-06 23:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:05:04] Production.INFO: Date 2025-01-05
[2025-01-06 23:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:05:04] Production.INFO: Date 2025-01-06
[2025-01-06 23:05:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:05:04] Production.INFO: Total Charge 0
[2025-01-06 23:05:04] Production.INFO: CreateAllLog End
[2025-01-06 23:05:04] Production.INFO: Account Balance End.
[2025-01-06 23:05:04] Production.ERROR: CronJobId end 12
[2025-01-06 23:05:04] Production.INFO: ==6177== Releasing lock...
[2025-01-06 23:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:05:05
[end_date_ymd] => 2025-01-06 23:05:05
[RateCDR] => 1
)
[2025-01-06 23:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 20:05:05' and `end` < '2025-01-06 23:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 23:05:12] Production.ERROR: CronJobId end10
[2025-01-06 23:05:12] Production.INFO: ==6175== Releasing lock...
[2025-01-06 23:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:05:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:05:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:05:14] Production.INFO: call_cost start
[2025-01-06 23:05:14] Production.INFO: call_cost end
[2025-01-06 23:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:05:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:05:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:05:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:05:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:05:15] Production.INFO: ==6171== Releasing lock...
[2025-01-06 23:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:05:18] Production.INFO: count ==695
[2025-01-06 23:05:18] Production.ERROR: pbx CDR StartTime 2025-01-06 20:05:05 - End Time 2025-01-06 23:05:05
[2025-01-06 23:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190803', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190803', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190803', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190803', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:05:18] Production.INFO: ProcessCDR(1,14190803,1,1,2)
[2025-01-06 23:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190803,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190803,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190803,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190803,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190803', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190803', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:05:21] Production.INFO: ==6179== Releasing lock...
[2025-01-06 23:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:05:21] Production.INFO: 32.75 MB #Memory Used#
[2025-01-07 04:06:01] Production.INFO: ==6249== Lock acquired, processing the job...
[2025-01-07 04:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:06:01] Production.INFO: neon service started
[2025-01-07 04:06:01] Production.INFO: neon service started
[2025-01-07 04:06:01] Production.INFO: ==6249== Releasing lock...
[2025-01-07 04:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 23:06:02] Production.INFO: ==6251== Lock acquired, processing the job...
[2025-01-06 23:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:06:02] Production.INFO: ==6253== Lock acquired, processing the job...
[2025-01-07 04:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:06:02] Production.INFO: ==6253== Releasing lock...
[2025-01-07 04:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:06:03] Production.INFO: ==6251== Releasing lock...
[2025-01-06 23:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 23:06:03] Production.INFO: ==6256== Lock acquired, processing the job...
[2025-01-06 23:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:06:03] Production.INFO: ==6260== Lock acquired, processing the job...
[2025-01-06 23:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:06:03] Production.INFO: ==6266== Lock acquired, processing the job...
[2025-01-06 23:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:06:03] Production.INFO: ==6258== Lock acquired, processing the job...
[2025-01-06 23:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:06:04] Production.INFO: ==6262== Lock acquired, processing the job...
[2025-01-06 23:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:06:04] Production.INFO: Account Balance Start.
[2025-01-06 23:06:04] Production.INFO: CreateAllLog Start
[2025-01-06 23:06:04] Production.INFO: 117
[2025-01-06 23:06:04] Production.INFO: count ==21
[2025-01-06 23:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:06:04] Production.INFO: count ==21
[2025-01-06 23:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190805') start
[2025-01-06 23:06:04] Production.INFO: Date 2024-12-08
[2025-01-06 23:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:06:04] Production.INFO: ==6264== Lock acquired, processing the job...
[2025-01-06 23:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:06:04] Production.INFO: Date 2024-12-09
[2025-01-06 23:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:06:04] Production.INFO: Date 2024-12-10
[2025-01-06 23:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190805') end
[2025-01-06 23:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:06:04] Production.INFO: 1
[2025-01-06 23:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:06:04] Production.INFO: Date 2024-12-11
[2025-01-06 23:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:06:04] Production.INFO: ==6266== Releasing lock...
[2025-01-06 23:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:06:04] Production.INFO: Date 2024-12-12
[2025-01-06 23:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:06:04] Production.INFO: Date 2024-12-13
[2025-01-06 23:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:06:04] Production.INFO: ==6258== Releasing lock...
[2025-01-06 23:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:06:04] Production.INFO: Date 2024-12-14
[2025-01-06 23:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:06:04] Production.ERROR: done
[2025-01-06 23:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:06:04] Production.INFO: Date 2024-12-15
[2025-01-06 23:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:06:04] Production.INFO: Date 2024-12-16
[2025-01-06 23:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:06:04] Production.INFO: Date 2024-12-17
[2025-01-06 23:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:06:04] Production.INFO: Date 2024-12-18
[2025-01-06 23:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:06:04] Production.ERROR: done
[2025-01-06 23:06:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:06:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:06:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:06:05] Production.INFO: Date 2024-12-21
[2025-01-06 23:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:06:05] Production.INFO: Date 2024-12-22
[2025-01-06 23:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:06:05] Production.INFO: Date 2024-12-23
[2025-01-06 23:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:06:05] Production.INFO: Date 2024-12-24
[2025-01-06 23:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:06:05] Production.INFO: Date 2024-12-25
[2025-01-06 23:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:06:05] Production.INFO: Date 2024-12-26
[2025-01-06 23:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:06:05] Production.INFO: Date 2024-12-27
[2025-01-06 23:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:06:05] Production.INFO: Date 2024-12-28
[2025-01-06 23:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:06:05] Production.INFO: Date 2024-12-29
[2025-01-06 23:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:06:05] Production.INFO: Date 2024-12-30
[2025-01-06 23:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:06:05] Production.INFO: Date 2024-12-31
[2025-01-06 23:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:06:05] Production.INFO: Date 2025-01-01
[2025-01-06 23:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:06:05] Production.INFO: Date 2025-01-02
[2025-01-06 23:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:06:05] Production.INFO: Date 2025-01-03
[2025-01-06 23:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:06:05] Production.INFO: Date 2025-01-04
[2025-01-06 23:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:06:05] Production.INFO: Date 2025-01-05
[2025-01-06 23:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:06:05] Production.INFO: Date 2025-01-06
[2025-01-06 23:06:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:06:05] Production.INFO: Total Charge 0
[2025-01-06 23:06:05] Production.INFO: CreateAllLog End
[2025-01-06 23:06:05] Production.INFO: Account Balance End.
[2025-01-06 23:06:05] Production.ERROR: CronJobId end 12
[2025-01-06 23:06:05] Production.INFO: ==6262== Releasing lock...
[2025-01-06 23:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:06:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:06:05
[end_date_ymd] => 2025-01-06 23:06:05
[RateCDR] => 1
)
[2025-01-06 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-06 20:06:05' and `end` < '2025-01-06 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-06 23:06:12] Production.ERROR: CronJobId end10
[2025-01-06 23:06:12] Production.INFO: ==6260== Releasing lock...
[2025-01-06 23:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:06:13] Production.INFO: call_cost start
[2025-01-06 23:06:13] Production.INFO: call_cost end
[2025-01-06 23:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:06:14] Production.INFO: ==6256== Releasing lock...
[2025-01-06 23:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:06:18] Production.INFO: count ==695
[2025-01-06 23:06:18] Production.ERROR: pbx CDR StartTime 2025-01-06 20:06:05 - End Time 2025-01-06 23:06:05
[2025-01-06 23:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190808', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190808', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190808', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190808', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:06:18] Production.INFO: ProcessCDR(1,14190808,1,1,2)
[2025-01-06 23:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190808,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190808,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190808,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190808,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190808', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190808', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:06:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:06:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:06:21] Production.INFO: ==6264== Releasing lock...
[2025-01-06 23:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:06:21] Production.INFO: 32.75 MB #Memory Used#
[2025-01-07 04:07:01] Production.INFO: ==6329== Lock acquired, processing the job...
[2025-01-07 04:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:07:01] Production.INFO: neon service started
[2025-01-07 04:07:01] Production.INFO: neon service started
[2025-01-07 04:07:01] Production.INFO: ==6329== Releasing lock...
[2025-01-07 04:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 23:07:01] Production.INFO: ==6331== Lock acquired, processing the job...
[2025-01-06 23:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 23:07:02] Production.INFO: ==6331== Releasing lock...
[2025-01-06 23:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:07:02] Production.INFO: ==6333== Lock acquired, processing the job...
[2025-01-07 04:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:07:02] Production.INFO: ==6333== Releasing lock...
[2025-01-07 04:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:07:03] Production.INFO: ==6335== Lock acquired, processing the job...
[2025-01-06 23:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:07:03] Production.INFO: ==6337== Lock acquired, processing the job...
[2025-01-06 23:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:07:03] Production.INFO: ==6339== Lock acquired, processing the job...
[2025-01-06 23:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:07:03] Production.INFO: ==6344== Lock acquired, processing the job...
[2025-01-06 23:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:07:03] Production.INFO: ==6342== Lock acquired, processing the job...
[2025-01-06 23:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:07:03] Production.INFO: ==6346== Lock acquired, processing the job...
[2025-01-06 23:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:07:03] Production.INFO: ==6337== Releasing lock...
[2025-01-06 23:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:07:03] Production.INFO: Account Balance Start.
[2025-01-06 23:07:03] Production.INFO: CreateAllLog Start
[2025-01-06 23:07:03] Production.INFO: 117
[2025-01-06 23:07:03] Production.INFO: Date 2024-12-08
[2025-01-06 23:07:03] Production.ERROR: done
[2025-01-06 23:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:07:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:07:03] Production.INFO: Date 2024-12-09
[2025-01-06 23:07:03] Production.INFO: count ==21
[2025-01-06 23:07:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:07:03] Production.INFO: count ==21
[2025-01-06 23:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190812') start
[2025-01-06 23:07:03] Production.ERROR: done
[2025-01-06 23:07:03] Production.INFO: Date 2024-12-10
[2025-01-06 23:07:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:07:03] Production.INFO: Date 2024-12-11
[2025-01-06 23:07:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:07:03] Production.INFO: Date 2024-12-12
[2025-01-06 23:07:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190812') end
[2025-01-06 23:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:07:03] Production.INFO: 1
[2025-01-06 23:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:07:03] Production.INFO: Date 2024-12-13
[2025-01-06 23:07:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:07:03] Production.INFO: Date 2024-12-14
[2025-01-06 23:07:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:07:03] Production.INFO: ==6346== Releasing lock...
[2025-01-06 23:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:07:03] Production.INFO: Date 2024-12-15
[2025-01-06 23:07:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:07:03] Production.INFO: Date 2024-12-16
[2025-01-06 23:07:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:07:04] Production.INFO: Date 2024-12-17
[2025-01-06 23:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:07:04] Production.INFO: Date 2024-12-18
[2025-01-06 23:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:07:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:07:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:07:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:07:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:07:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:07:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:07:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:07:04] Production.INFO: Date 2024-12-26
[2025-01-06 23:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:07:04] Production.INFO: Date 2024-12-27
[2025-01-06 23:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:07:04] Production.INFO: Date 2024-12-28
[2025-01-06 23:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:07:04] Production.INFO: Date 2024-12-29
[2025-01-06 23:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:07:04] Production.INFO: Date 2024-12-30
[2025-01-06 23:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:07:04] Production.INFO: Date 2024-12-31
[2025-01-06 23:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:07:04] Production.INFO: Date 2025-01-01
[2025-01-06 23:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:07:04] Production.INFO: Date 2025-01-02
[2025-01-06 23:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:07:04] Production.INFO: Date 2025-01-03
[2025-01-06 23:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:07:04] Production.INFO: Date 2025-01-04
[2025-01-06 23:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:07:04] Production.INFO: Date 2025-01-05
[2025-01-06 23:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:07:04] Production.INFO: Date 2025-01-06
[2025-01-06 23:07:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:07:04] Production.INFO: Total Charge 0
[2025-01-06 23:07:04] Production.INFO: CreateAllLog End
[2025-01-06 23:07:04] Production.INFO: Account Balance End.
[2025-01-06 23:07:04] Production.ERROR: CronJobId end 12
[2025-01-06 23:07:04] Production.INFO: ==6342== Releasing lock...
[2025-01-06 23:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:07:04
[end_date_ymd] => 2025-01-06 23:07:04
[RateCDR] => 1
)
[2025-01-06 23:07:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 20:07:04' and `end` < '2025-01-06 23:07:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 23:07:13] Production.ERROR: CronJobId end10
[2025-01-06 23:07:13] Production.INFO: ==6339== Releasing lock...
[2025-01-06 23:07:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:07:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:07:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:07:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:07:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:07:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:07:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:07:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:07:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:07:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:07:14] Production.INFO: call_cost start
[2025-01-06 23:07:14] Production.INFO: call_cost end
[2025-01-06 23:07:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:07:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:07:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:07:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:07:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:07:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:07:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:07:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:07:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:07:15] Production.INFO: ==6335== Releasing lock...
[2025-01-06 23:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:07:17] Production.INFO: count ==694
[2025-01-06 23:07:17] Production.ERROR: pbx CDR StartTime 2025-01-06 20:07:04 - End Time 2025-01-06 23:07:04
[2025-01-06 23:07:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190813', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190813', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190813', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190813', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:07:17] Production.INFO: ProcessCDR(1,14190813,1,1,2)
[2025-01-06 23:07:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190813,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:07:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190813,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:07:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190813,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190813,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190813', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190813', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:07:21] Production.INFO: ==6344== Releasing lock...
[2025-01-06 23:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:07:21] Production.INFO: 32.75 MB #Memory Used#
[2025-01-07 04:08:02] Production.INFO: ==6489== Lock acquired, processing the job...
[2025-01-07 04:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:08:02] Production.INFO: neon service started
[2025-01-07 04:08:02] Production.INFO: neon service started
[2025-01-07 04:08:02] Production.INFO: ==6489== Releasing lock...
[2025-01-07 04:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 23:08:02] Production.INFO: ==6494== Lock acquired, processing the job...
[2025-01-06 23:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 23:08:02] Production.INFO: ==6494== Releasing lock...
[2025-01-06 23:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:08:02] Production.INFO: ==6496== Lock acquired, processing the job...
[2025-01-07 04:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:08:03] Production.INFO: ==6496== Releasing lock...
[2025-01-07 04:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:08:03] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:08:03] Production.INFO: ==6498== Lock acquired, processing the job...
[2025-01-06 23:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:08:03] Production.INFO: ==6504== Lock acquired, processing the job...
[2025-01-06 23:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:08:03] Production.INFO: ==6500== Lock acquired, processing the job...
[2025-01-06 23:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:08:03] Production.INFO: ==6502== Lock acquired, processing the job...
[2025-01-06 23:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:08:03] Production.INFO: Account Balance Start.
[2025-01-06 23:08:03] Production.INFO: CreateAllLog Start
[2025-01-06 23:08:03] Production.INFO: 117
[2025-01-06 23:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:08:04] Production.INFO: Date 2024-12-08
[2025-01-06 23:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:08:04] Production.INFO: ==6508== Lock acquired, processing the job...
[2025-01-06 23:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:08:04] Production.INFO: ==6506== Lock acquired, processing the job...
[2025-01-06 23:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:08:04] Production.INFO: Date 2024-12-09
[2025-01-06 23:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:08:04] Production.INFO: Date 2024-12-10
[2025-01-06 23:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:08:04] Production.INFO: Date 2024-12-11
[2025-01-06 23:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:08:04] Production.INFO: ==6500== Releasing lock...
[2025-01-06 23:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:08:04] Production.INFO: Date 2024-12-12
[2025-01-06 23:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:08:04] Production.INFO: Date 2024-12-13
[2025-01-06 23:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:08:04] Production.INFO: Date 2024-12-14
[2025-01-06 23:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:08:04] Production.INFO: count ==21
[2025-01-06 23:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:08:04] Production.INFO: count ==21
[2025-01-06 23:08:04] Production.INFO: Date 2024-12-15
[2025-01-06 23:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:08:04] Production.ERROR: done
[2025-01-06 23:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190817') start
[2025-01-06 23:08:04] Production.INFO: Date 2024-12-16
[2025-01-06 23:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:08:04] Production.INFO: Date 2024-12-17
[2025-01-06 23:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190817') end
[2025-01-06 23:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:08:04] Production.INFO: 1
[2025-01-06 23:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:08:04] Production.INFO: Date 2024-12-18
[2025-01-06 23:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:08:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:08:04] Production.INFO: ==6508== Releasing lock...
[2025-01-06 23:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:08:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:08:04] Production.ERROR: done
[2025-01-06 23:08:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:08:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:08:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:08:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:08:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:08:04] Production.INFO: Date 2024-12-26
[2025-01-06 23:08:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:08:05] Production.INFO: Date 2024-12-27
[2025-01-06 23:08:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:08:05] Production.INFO: Date 2024-12-28
[2025-01-06 23:08:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:08:05] Production.INFO: Date 2024-12-29
[2025-01-06 23:08:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:08:05] Production.INFO: Date 2024-12-30
[2025-01-06 23:08:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:08:05] Production.INFO: Date 2024-12-31
[2025-01-06 23:08:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:08:05] Production.INFO: Date 2025-01-01
[2025-01-06 23:08:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:08:05] Production.INFO: Date 2025-01-02
[2025-01-06 23:08:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:08:05] Production.INFO: Date 2025-01-03
[2025-01-06 23:08:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:08:05] Production.INFO: Date 2025-01-04
[2025-01-06 23:08:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:08:05] Production.INFO: Date 2025-01-05
[2025-01-06 23:08:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:08:05] Production.INFO: Date 2025-01-06
[2025-01-06 23:08:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:08:05] Production.INFO: Total Charge 0
[2025-01-06 23:08:05] Production.INFO: CreateAllLog End
[2025-01-06 23:08:05] Production.INFO: Account Balance End.
[2025-01-06 23:08:05] Production.ERROR: CronJobId end 12
[2025-01-06 23:08:05] Production.INFO: ==6504== Releasing lock...
[2025-01-06 23:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:08:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:08:05
[end_date_ymd] => 2025-01-06 23:08:05
[RateCDR] => 1
)
[2025-01-06 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-06 20:08:05' and `end` < '2025-01-06 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-06 23:08:13] Production.ERROR: CronJobId end10
[2025-01-06 23:08:13] Production.INFO: ==6502== Releasing lock...
[2025-01-06 23:08:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:08:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:08:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:08:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:08:14] Production.INFO: call_cost start
[2025-01-06 23:08:14] Production.INFO: call_cost end
[2025-01-06 23:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:08:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:08:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:08:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:08:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:08:15] Production.INFO: ==6498== Releasing lock...
[2025-01-06 23:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:08:19] Production.INFO: count ==694
[2025-01-06 23:08:19] Production.ERROR: pbx CDR StartTime 2025-01-06 20:08:05 - End Time 2025-01-06 23:08:05
[2025-01-06 23:08:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190818', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190818', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190818', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190818', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:08:19] Production.INFO: ProcessCDR(1,14190818,1,1,2)
[2025-01-06 23:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190818,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190818,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190818,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190818,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190818', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190818', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:08:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:08:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:08:22] Production.INFO: ==6506== Releasing lock...
[2025-01-06 23:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:08:22] Production.INFO: 32.75 MB #Memory Used#
[2025-01-07 04:09:01] Production.INFO: ==6572== Lock acquired, processing the job...
[2025-01-07 04:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:09:01] Production.INFO: neon service started
[2025-01-07 04:09:01] Production.INFO: neon service started
[2025-01-07 04:09:01] Production.INFO: ==6572== Releasing lock...
[2025-01-07 04:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 23:09:01] Production.INFO: ==6574== Lock acquired, processing the job...
[2025-01-06 23:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 23:09:02] Production.INFO: ==6574== Releasing lock...
[2025-01-06 23:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:09:02] Production.INFO: ==6576== Lock acquired, processing the job...
[2025-01-07 04:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:09:02] Production.INFO: ==6576== Releasing lock...
[2025-01-07 04:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:09:02] Production.INFO: ==6578== Lock acquired, processing the job...
[2025-01-06 23:09:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:09:03] Production.INFO: ==6586== Lock acquired, processing the job...
[2025-01-06 23:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:09:03] Production.INFO: ==6588== Lock acquired, processing the job...
[2025-01-06 23:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:09:03] Production.INFO: ==6580== Lock acquired, processing the job...
[2025-01-06 23:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:09:03] Production.INFO: ==6584== Lock acquired, processing the job...
[2025-01-06 23:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:09:03] Production.INFO: ==6582== Lock acquired, processing the job...
[2025-01-06 23:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:09:03] Production.INFO: count ==21
[2025-01-06 23:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:09:03] Production.INFO: count ==21
[2025-01-06 23:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190820') start
[2025-01-06 23:09:03] Production.INFO: Account Balance Start.
[2025-01-06 23:09:03] Production.INFO: CreateAllLog Start
[2025-01-06 23:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:09:03] Production.INFO: 117
[2025-01-06 23:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:09:03] Production.INFO: Date 2024-12-08
[2025-01-06 23:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190820') end
[2025-01-06 23:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:09:03] Production.INFO: 1
[2025-01-06 23:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:09:03] Production.INFO: Date 2024-12-09
[2025-01-06 23:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:09:03] Production.INFO: ==6588== Releasing lock...
[2025-01-06 23:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:09:03] Production.INFO: Date 2024-12-10
[2025-01-06 23:09:03] Production.ERROR: done
[2025-01-06 23:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:09:03] Production.INFO: Date 2024-12-11
[2025-01-06 23:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:09:03] Production.INFO: Date 2024-12-12
[2025-01-06 23:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:09:03] Production.INFO: ==6580== Releasing lock...
[2025-01-06 23:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:09:03] Production.INFO: Date 2024-12-13
[2025-01-06 23:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:09:03] Production.ERROR: done
[2025-01-06 23:09:03] Production.INFO: Date 2024-12-14
[2025-01-06 23:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:09:03] Production.INFO: Date 2024-12-15
[2025-01-06 23:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:09:03] Production.INFO: Date 2024-12-16
[2025-01-06 23:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:09:03] Production.INFO: Date 2024-12-17
[2025-01-06 23:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:09:03] Production.INFO: Date 2024-12-18
[2025-01-06 23:09:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:09:03] Production.INFO: Date 2024-12-19
[2025-01-06 23:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:09:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:09:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:09:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:09:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:09:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:09:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:09:04] Production.INFO: Date 2024-12-26
[2025-01-06 23:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:09:04] Production.INFO: Date 2024-12-27
[2025-01-06 23:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:09:04] Production.INFO: Date 2024-12-28
[2025-01-06 23:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:09:04] Production.INFO: Date 2024-12-29
[2025-01-06 23:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:09:04] Production.INFO: Date 2024-12-30
[2025-01-06 23:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:09:04] Production.INFO: Date 2024-12-31
[2025-01-06 23:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:09:04] Production.INFO: Date 2025-01-01
[2025-01-06 23:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:09:04] Production.INFO: Date 2025-01-02
[2025-01-06 23:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:09:04] Production.INFO: Date 2025-01-03
[2025-01-06 23:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:09:04] Production.INFO: Date 2025-01-04
[2025-01-06 23:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:09:04] Production.INFO: Date 2025-01-05
[2025-01-06 23:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:09:04] Production.INFO: Date 2025-01-06
[2025-01-06 23:09:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:09:04] Production.INFO: Total Charge 0
[2025-01-06 23:09:04] Production.INFO: CreateAllLog End
[2025-01-06 23:09:04] Production.INFO: Account Balance End.
[2025-01-06 23:09:04] Production.ERROR: CronJobId end 12
[2025-01-06 23:09:04] Production.INFO: ==6584== Releasing lock...
[2025-01-06 23:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:09:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:09:04
[end_date_ymd] => 2025-01-06 23:09:04
[RateCDR] => 1
)
[2025-01-06 23:09:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 20:09:04' and `end` < '2025-01-06 23:09:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 23:09:11] Production.ERROR: CronJobId end10
[2025-01-06 23:09:11] Production.INFO: ==6582== Releasing lock...
[2025-01-06 23:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:09:13] Production.INFO: call_cost start
[2025-01-06 23:09:13] Production.INFO: call_cost end
[2025-01-06 23:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:09:14] Production.INFO: ==6578== Releasing lock...
[2025-01-06 23:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:09:17] Production.INFO: count ==697
[2025-01-06 23:09:17] Production.ERROR: pbx CDR StartTime 2025-01-06 20:09:04 - End Time 2025-01-06 23:09:04
[2025-01-06 23:09:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190823', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190823', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190823', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190823', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:09:17] Production.INFO: ProcessCDR(1,14190823,1,1,2)
[2025-01-06 23:09:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190823,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:09:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190823,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:09:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190823,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:09:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190823,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:09:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190823', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190823', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:09:21] Production.INFO: ==6586== Releasing lock...
[2025-01-06 23:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:09:21] Production.INFO: 32.5 MB #Memory Used#
[2025-01-07 04:10:01] Production.INFO: ==6652== Lock acquired, processing the job...
[2025-01-07 04:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:10:01] Production.INFO: neon service started
[2025-01-07 04:10:01] Production.INFO: neon service started
[2025-01-07 04:10:01] Production.INFO: ==6652== Releasing lock...
[2025-01-07 04:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 23:10:02] Production.INFO: ==6654== Lock acquired, processing the job...
[2025-01-06 23:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 23:10:02] Production.INFO: ==6654== Releasing lock...
[2025-01-06 23:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:10:02] Production.INFO: ==6656== Lock acquired, processing the job...
[2025-01-07 04:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:10:02] Production.INFO: ==6656== Releasing lock...
[2025-01-07 04:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:10:03] Production.INFO: ==6658== Lock acquired, processing the job...
[2025-01-06 23:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-06 23:10:03] Production.INFO: ==6666== Lock acquired, processing the job...
[2025-01-06 23:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:10:03] Production.INFO: ==6660== Lock acquired, processing the job...
[2025-01-06 23:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-06 23:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-06 23:10:03] Production.INFO: ==6658== Releasing lock...
[2025-01-06 23:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-06 23:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-06 23:10:03] Production.INFO: ==6664== Lock acquired, processing the job...
[2025-01-06 23:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:10:03] Production.INFO: ==6662== Lock acquired, processing the job...
[2025-01-06 23:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:10:03] Production.INFO: Account Balance Start.
[2025-01-06 23:10:03] Production.INFO: CreateAllLog Start
[2025-01-06 23:10:03] Production.INFO: 117
[2025-01-06 23:10:03] Production.INFO: ==6672== Lock acquired, processing the job...
[2025-01-06 23:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:10:03] Production.INFO: Date 2024-12-08
[2025-01-06 23:10:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:10:03] Production.INFO: Date 2024-12-09
[2025-01-06 23:10:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:10:04] Production.INFO: ==6668== Lock acquired, processing the job...
[2025-01-06 23:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:10:04] Production.INFO: Date 2024-12-10
[2025-01-06 23:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:10:04] Production.INFO: Date 2024-12-11
[2025-01-06 23:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:10:04] Production.INFO: count ==21
[2025-01-06 23:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:10:04] Production.INFO: count ==21
[2025-01-06 23:10:04] Production.INFO: ==6670== Lock acquired, processing the job...
[2025-01-06 23:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-06 23:10:04] Production.INFO: Date 2024-12-12
[2025-01-06 23:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190827') start
[2025-01-06 23:10:04] Production.INFO: Date 2024-12-13
[2025-01-06 23:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:10:04] Production.INFO: Date 2024-12-14
[2025-01-06 23:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:10:04] Production.INFO: Date 2024-12-15
[2025-01-06 23:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190827') end
[2025-01-06 23:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:10:04] Production.INFO: 1
[2025-01-06 23:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:10:04] Production.INFO: Date 2024-12-16
[2025-01-06 23:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:10:04] Production.ERROR: done
[2025-01-06 23:10:04] Production.INFO: ==6662== Releasing lock...
[2025-01-06 23:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:10:04] Production.INFO: ==6672== Releasing lock...
[2025-01-06 23:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:10:04] Production.INFO: Date 2024-12-17
[2025-01-06 23:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:10:04] Production.INFO: Date 2024-12-18
[2025-01-06 23:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:10:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:10:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:10:04] Production.ERROR: done
[2025-01-06 23:10:04] Production.ERROR: done
[2025-01-06 23:10:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:10:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:10:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:10:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:10:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:10:04] Production.INFO: Date 2024-12-26
[2025-01-06 23:10:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-06 23:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14190829', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) start
[2025-01-06 23:10:05] Production.INFO: Date 2024-12-27
[2025-01-06 23:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:10:05] Production.INFO: Date 2024-12-28
[2025-01-06 23:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:10:05] Production.INFO: Date 2024-12-29
[2025-01-06 23:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:10:05] Production.INFO: Date 2024-12-30
[2025-01-06 23:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:10:05] Production.INFO: Date 2024-12-31
[2025-01-06 23:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:10:05] Production.INFO: Date 2025-01-01
[2025-01-06 23:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:10:05] Production.INFO: Date 2025-01-02
[2025-01-06 23:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:10:05] Production.INFO: Date 2025-01-03
[2025-01-06 23:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:10:05] Production.INFO: Date 2025-01-04
[2025-01-06 23:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:10:05] Production.INFO: Date 2025-01-05
[2025-01-06 23:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:10:05] Production.INFO: Date 2025-01-06
[2025-01-06 23:10:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:10:05] Production.INFO: Total Charge 0
[2025-01-06 23:10:05] Production.INFO: CreateAllLog End
[2025-01-06 23:10:05] Production.INFO: Account Balance End.
[2025-01-06 23:10:05] Production.ERROR: CronJobId end 12
[2025-01-06 23:10:05] Production.INFO: ==6666== Releasing lock...
[2025-01-06 23:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:10:06
[end_date_ymd] => 2025-01-06 23:10:06
[RateCDR] => 1
)
[2025-01-06 23:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 20:10:06' and `end` < '2025-01-06 23:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 23:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14190829', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) end
[2025-01-06 23:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-06 23:10:09] Production.INFO: ProcessCDR(1,14190829,1,1,2)
[2025-01-06 23:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14190829,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14190829,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:10:09] Production.INFO: ==6670== Releasing lock...
[2025-01-06 23:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-06 23:10:09] Production.INFO: 26 MB #Memory Used#
[2025-01-06 23:10:14] Production.ERROR: CronJobId end10
[2025-01-06 23:10:14] Production.INFO: ==6664== Releasing lock...
[2025-01-06 23:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:10:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:10:15] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:10:15] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:10:15] Production.INFO: call_cost start
[2025-01-06 23:10:15] Production.INFO: call_cost end
[2025-01-06 23:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:10:16] Production.INFO: ==6660== Releasing lock...
[2025-01-06 23:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:10:18] Production.INFO: count ==696
[2025-01-06 23:10:19] Production.ERROR: pbx CDR StartTime 2025-01-06 20:10:06 - End Time 2025-01-06 23:10:06
[2025-01-06 23:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190828', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190828', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190828', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190828', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:10:19] Production.INFO: ProcessCDR(1,14190828,1,1,2)
[2025-01-06 23:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190828,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190828,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190828,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190828,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190828', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190828', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:10:22] Production.INFO: ==6668== Releasing lock...
[2025-01-06 23:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:10:22] Production.INFO: 32.5 MB #Memory Used#
[2025-01-07 04:11:02] Production.INFO: ==6736== Lock acquired, processing the job...
[2025-01-07 04:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:11:02] Production.INFO: neon service started
[2025-01-07 04:11:02] Production.INFO: neon service started
[2025-01-07 04:11:02] Production.INFO: ==6736== Releasing lock...
[2025-01-07 04:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 23:11:03] Production.INFO: ==6738== Lock acquired, processing the job...
[2025-01-06 23:11:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:11:03] Production.INFO: ==6740== Lock acquired, processing the job...
[2025-01-07 04:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:11:03] Production.INFO: ==6740== Releasing lock...
[2025-01-07 04:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:11:03] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:11:03] Production.INFO: ==6738== Releasing lock...
[2025-01-06 23:11:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:11:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 23:11:04] Production.INFO: ==6747== Lock acquired, processing the job...
[2025-01-06 23:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:11:04] Production.INFO: ==6753== Lock acquired, processing the job...
[2025-01-06 23:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:11:04] Production.INFO: ==6743== Lock acquired, processing the job...
[2025-01-06 23:11:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:11:04] Production.INFO: ==6745== Lock acquired, processing the job...
[2025-01-06 23:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:11:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:11:04] Production.INFO: count ==21
[2025-01-06 23:11:04] Production.INFO: ==6749== Lock acquired, processing the job...
[2025-01-06 23:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:11:04] Production.INFO: count ==21
[2025-01-06 23:11:04] Production.INFO: ==6751== Lock acquired, processing the job...
[2025-01-06 23:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190830') start
[2025-01-06 23:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:11:04] Production.INFO: Account Balance Start.
[2025-01-06 23:11:04] Production.INFO: CreateAllLog Start
[2025-01-06 23:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190830') end
[2025-01-06 23:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:11:04] Production.INFO: 1
[2025-01-06 23:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:11:04] Production.INFO: 117
[2025-01-06 23:11:05] Production.INFO: Date 2024-12-08
[2025-01-06 23:11:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:11:05] Production.INFO: Date 2024-12-09
[2025-01-06 23:11:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:11:05] Production.INFO: Date 2024-12-10
[2025-01-06 23:11:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:11:05] Production.INFO: ==6753== Releasing lock...
[2025-01-06 23:11:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:11:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:11:05] Production.ERROR: done
[2025-01-06 23:11:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:11:05] Production.INFO: Date 2024-12-11
[2025-01-06 23:11:05] Production.INFO: ==6745== Releasing lock...
[2025-01-06 23:11:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:11:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:11:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:11:05] Production.INFO: Date 2024-12-12
[2025-01-06 23:11:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:11:05] Production.INFO: Date 2024-12-13
[2025-01-06 23:11:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:11:05] Production.INFO: Date 2024-12-14
[2025-01-06 23:11:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:11:05] Production.INFO: Date 2024-12-15
[2025-01-06 23:11:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:11:05] Production.INFO: Date 2024-12-16
[2025-01-06 23:11:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:11:05] Production.ERROR: done
[2025-01-06 23:11:05] Production.INFO: Date 2024-12-17
[2025-01-06 23:11:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:11:05] Production.INFO: Date 2024-12-18
[2025-01-06 23:11:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:11:05] Production.INFO: Date 2024-12-19
[2025-01-06 23:11:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:11:05] Production.INFO: Date 2024-12-20
[2025-01-06 23:11:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:11:05] Production.INFO: Date 2024-12-21
[2025-01-06 23:11:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:11:05] Production.INFO: Date 2024-12-22
[2025-01-06 23:11:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:11:05] Production.INFO: Date 2024-12-23
[2025-01-06 23:11:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:11:05] Production.INFO: Date 2024-12-24
[2025-01-06 23:11:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:11:05] Production.INFO: Date 2024-12-25
[2025-01-06 23:11:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:11:05] Production.INFO: Date 2024-12-26
[2025-01-06 23:11:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:11:06] Production.INFO: Date 2024-12-27
[2025-01-06 23:11:06] Production.INFO: Reseller ==> 0
[2025-01-06 23:11:06] Production.INFO: Date 2024-12-28
[2025-01-06 23:11:06] Production.INFO: Reseller ==> 0
[2025-01-06 23:11:06] Production.INFO: Date 2024-12-29
[2025-01-06 23:11:06] Production.INFO: Reseller ==> 0
[2025-01-06 23:11:06] Production.INFO: Date 2024-12-30
[2025-01-06 23:11:06] Production.INFO: Reseller ==> 0
[2025-01-06 23:11:06] Production.INFO: Date 2024-12-31
[2025-01-06 23:11:06] Production.INFO: Reseller ==> 0
[2025-01-06 23:11:06] Production.INFO: Date 2025-01-01
[2025-01-06 23:11:06] Production.INFO: Reseller ==> 0
[2025-01-06 23:11:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:11:06
[end_date_ymd] => 2025-01-06 23:11:06
[RateCDR] => 1
)
[2025-01-06 23:11:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 20:11:06' and `end` < '2025-01-06 23:11:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 23:11:06] Production.INFO: Date 2025-01-02
[2025-01-06 23:11:06] Production.INFO: Reseller ==> 0
[2025-01-06 23:11:06] Production.INFO: Date 2025-01-03
[2025-01-06 23:11:06] Production.INFO: Reseller ==> 0
[2025-01-06 23:11:06] Production.INFO: Date 2025-01-04
[2025-01-06 23:11:06] Production.INFO: Reseller ==> 0
[2025-01-06 23:11:06] Production.INFO: Date 2025-01-05
[2025-01-06 23:11:06] Production.INFO: Reseller ==> 0
[2025-01-06 23:11:06] Production.INFO: Date 2025-01-06
[2025-01-06 23:11:06] Production.INFO: Reseller ==> 0
[2025-01-06 23:11:06] Production.INFO: Total Charge 0
[2025-01-06 23:11:06] Production.INFO: CreateAllLog End
[2025-01-06 23:11:06] Production.INFO: Account Balance End.
[2025-01-06 23:11:06] Production.ERROR: CronJobId end 12
[2025-01-06 23:11:06] Production.INFO: ==6749== Releasing lock...
[2025-01-06 23:11:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:11:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:11:12] Production.ERROR: CronJobId end10
[2025-01-06 23:11:12] Production.INFO: ==6747== Releasing lock...
[2025-01-06 23:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:11:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:11:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:11:14] Production.INFO: call_cost start
[2025-01-06 23:11:14] Production.INFO: call_cost end
[2025-01-06 23:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:11:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:11:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:11:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:11:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:11:15] Production.INFO: ==6743== Releasing lock...
[2025-01-06 23:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:11:19] Production.INFO: count ==672
[2025-01-06 23:11:19] Production.ERROR: pbx CDR StartTime 2025-01-06 20:11:06 - End Time 2025-01-06 23:11:06
[2025-01-06 23:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190834', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190834', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190834', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190834', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:11:19] Production.INFO: ProcessCDR(1,14190834,1,1,2)
[2025-01-06 23:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190834,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190834,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190834,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190834,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190834', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190834', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:11:22] Production.INFO: ==6751== Releasing lock...
[2025-01-06 23:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:11:22] Production.INFO: 32.5 MB #Memory Used#
[2025-01-07 04:12:02] Production.INFO: ==6892== Lock acquired, processing the job...
[2025-01-07 04:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:12:02] Production.INFO: neon service started
[2025-01-07 04:12:02] Production.INFO: neon service started
[2025-01-07 04:12:02] Production.INFO: ==6892== Releasing lock...
[2025-01-07 04:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 23:12:02] Production.INFO: ==6894== Lock acquired, processing the job...
[2025-01-06 23:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:12:02] Production.INFO: ==6896== Lock acquired, processing the job...
[2025-01-07 04:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:12:02] Production.INFO: ==6896== Releasing lock...
[2025-01-07 04:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:12:03] Production.INFO: ==6894== Releasing lock...
[2025-01-06 23:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:12:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 23:12:04] Production.INFO: ==6899== Lock acquired, processing the job...
[2025-01-06 23:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:12:04] Production.INFO: ==6901== Lock acquired, processing the job...
[2025-01-06 23:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:12:04] Production.INFO: ==6903== Lock acquired, processing the job...
[2025-01-06 23:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:12:04] Production.INFO: ==6905== Lock acquired, processing the job...
[2025-01-06 23:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:12:04] Production.INFO: ==6907== Lock acquired, processing the job...
[2025-01-06 23:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:12:04] Production.INFO: ==6909== Lock acquired, processing the job...
[2025-01-06 23:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:12:04] Production.INFO: Account Balance Start.
[2025-01-06 23:12:04] Production.INFO: CreateAllLog Start
[2025-01-06 23:12:04] Production.INFO: 117
[2025-01-06 23:12:04] Production.INFO: Date 2024-12-08
[2025-01-06 23:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:12:04] Production.INFO: Date 2024-12-09
[2025-01-06 23:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:12:04] Production.INFO: Date 2024-12-10
[2025-01-06 23:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:12:04] Production.INFO: Date 2024-12-11
[2025-01-06 23:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:12:04] Production.INFO: ==6901== Releasing lock...
[2025-01-06 23:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:12:04] Production.INFO: Date 2024-12-12
[2025-01-06 23:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:12:04] Production.INFO: count ==21
[2025-01-06 23:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:12:04] Production.INFO: count ==21
[2025-01-06 23:12:04] Production.INFO: Date 2024-12-13
[2025-01-06 23:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190838') start
[2025-01-06 23:12:04] Production.INFO: Date 2024-12-14
[2025-01-06 23:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:12:04] Production.ERROR: done
[2025-01-06 23:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:12:04] Production.INFO: Date 2024-12-15
[2025-01-06 23:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:12:04] Production.INFO: Date 2024-12-16
[2025-01-06 23:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190838') end
[2025-01-06 23:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:12:04] Production.INFO: 1
[2025-01-06 23:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:12:04] Production.INFO: Date 2024-12-17
[2025-01-06 23:12:04] Production.ERROR: done
[2025-01-06 23:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:12:04] Production.INFO: ==6909== Releasing lock...
[2025-01-06 23:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:12:04] Production.INFO: Date 2024-12-18
[2025-01-06 23:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:12:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:12:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:12:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:12:05] Production.INFO: Date 2024-12-21
[2025-01-06 23:12:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:12:05] Production.INFO: Date 2024-12-22
[2025-01-06 23:12:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:12:05] Production.INFO: Date 2024-12-23
[2025-01-06 23:12:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:12:05] Production.INFO: Date 2024-12-24
[2025-01-06 23:12:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:12:05] Production.INFO: Date 2024-12-25
[2025-01-06 23:12:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:12:05] Production.INFO: Date 2024-12-26
[2025-01-06 23:12:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:12:05] Production.INFO: Date 2024-12-27
[2025-01-06 23:12:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:12:05] Production.INFO: Date 2024-12-28
[2025-01-06 23:12:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:12:05] Production.INFO: Date 2024-12-29
[2025-01-06 23:12:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:12:05] Production.INFO: Date 2024-12-30
[2025-01-06 23:12:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:12:05] Production.INFO: Date 2024-12-31
[2025-01-06 23:12:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:12:05
[end_date_ymd] => 2025-01-06 23:12:05
[RateCDR] => 1
)
[2025-01-06 23:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 20:12:05' and `end` < '2025-01-06 23:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 23:12:05] Production.INFO: Date 2025-01-01
[2025-01-06 23:12:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:12:05] Production.INFO: Date 2025-01-02
[2025-01-06 23:12:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:12:05] Production.INFO: Date 2025-01-03
[2025-01-06 23:12:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:12:05] Production.INFO: Date 2025-01-04
[2025-01-06 23:12:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:12:05] Production.INFO: Date 2025-01-05
[2025-01-06 23:12:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:12:05] Production.INFO: Date 2025-01-06
[2025-01-06 23:12:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:12:05] Production.INFO: Total Charge 0
[2025-01-06 23:12:05] Production.INFO: CreateAllLog End
[2025-01-06 23:12:05] Production.INFO: Account Balance End.
[2025-01-06 23:12:06] Production.ERROR: CronJobId end 12
[2025-01-06 23:12:06] Production.INFO: ==6905== Releasing lock...
[2025-01-06 23:12:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:12:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:12:12] Production.ERROR: CronJobId end10
[2025-01-06 23:12:12] Production.INFO: ==6903== Releasing lock...
[2025-01-06 23:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:12:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:12:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:12:14] Production.INFO: call_cost start
[2025-01-06 23:12:14] Production.INFO: call_cost end
[2025-01-06 23:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:12:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:12:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:12:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:12:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:12:15] Production.INFO: ==6899== Releasing lock...
[2025-01-06 23:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:12:19] Production.INFO: count ==672
[2025-01-06 23:12:19] Production.ERROR: pbx CDR StartTime 2025-01-06 20:12:05 - End Time 2025-01-06 23:12:05
[2025-01-06 23:12:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190839', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190839', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190839', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190839', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:12:19] Production.INFO: ProcessCDR(1,14190839,1,1,2)
[2025-01-06 23:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190839,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190839,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190839,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:12:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190839,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190839', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190839', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:12:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:12:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:12:23] Production.INFO: ==6907== Releasing lock...
[2025-01-06 23:12:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:12:23] Production.INFO: 32.5 MB #Memory Used#
[2025-01-07 04:13:01] Production.INFO: ==6972== Lock acquired, processing the job...
[2025-01-07 04:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:13:01] Production.INFO: neon service started
[2025-01-07 04:13:01] Production.INFO: neon service started
[2025-01-07 04:13:01] Production.INFO: ==6972== Releasing lock...
[2025-01-07 04:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 23:13:01] Production.INFO: ==6975== Lock acquired, processing the job...
[2025-01-06 23:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 23:13:02] Production.INFO: ==6975== Releasing lock...
[2025-01-06 23:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:13:02] Production.INFO: ==6977== Lock acquired, processing the job...
[2025-01-07 04:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:13:02] Production.INFO: ==6977== Releasing lock...
[2025-01-07 04:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:13:03] Production.INFO: ==6983== Lock acquired, processing the job...
[2025-01-06 23:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:13:03] Production.INFO: ==6989== Lock acquired, processing the job...
[2025-01-06 23:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:13:03] Production.INFO: ==6979== Lock acquired, processing the job...
[2025-01-06 23:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:13:03] Production.INFO: count ==21
[2025-01-06 23:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:13:03] Production.INFO: count ==21
[2025-01-06 23:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190840') start
[2025-01-06 23:13:03] Production.INFO: ==6981== Lock acquired, processing the job...
[2025-01-06 23:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:13:03] Production.INFO: ==6985== Lock acquired, processing the job...
[2025-01-06 23:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190840') end
[2025-01-06 23:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:13:03] Production.INFO: 1
[2025-01-06 23:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:13:03] Production.INFO: ==6987== Lock acquired, processing the job...
[2025-01-06 23:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:13:03] Production.INFO: ==6989== Releasing lock...
[2025-01-06 23:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:13:03] Production.INFO: Account Balance Start.
[2025-01-06 23:13:03] Production.INFO: CreateAllLog Start
[2025-01-06 23:13:03] Production.INFO: 117
[2025-01-06 23:13:03] Production.INFO: Date 2024-12-08
[2025-01-06 23:13:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:13:03] Production.INFO: Date 2024-12-09
[2025-01-06 23:13:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:13:03] Production.INFO: Date 2024-12-10
[2025-01-06 23:13:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:13:03] Production.INFO: Date 2024-12-11
[2025-01-06 23:13:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:13:03] Production.ERROR: done
[2025-01-06 23:13:03] Production.INFO: ==6981== Releasing lock...
[2025-01-06 23:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:13:03] Production.INFO: Date 2024-12-12
[2025-01-06 23:13:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:13:03] Production.INFO: Date 2024-12-13
[2025-01-06 23:13:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:13:03] Production.ERROR: done
[2025-01-06 23:13:04] Production.INFO: Date 2024-12-14
[2025-01-06 23:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:13:04] Production.INFO: Date 2024-12-15
[2025-01-06 23:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:13:04] Production.INFO: Date 2024-12-16
[2025-01-06 23:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:13:04] Production.INFO: Date 2024-12-17
[2025-01-06 23:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:13:04] Production.INFO: Date 2024-12-18
[2025-01-06 23:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:13:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:13:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:13:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:13:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:13:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:13:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:13:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:13:04] Production.INFO: Date 2024-12-26
[2025-01-06 23:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:13:04] Production.INFO: Date 2024-12-27
[2025-01-06 23:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:13:04] Production.INFO: Date 2024-12-28
[2025-01-06 23:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:13:04] Production.INFO: Date 2024-12-29
[2025-01-06 23:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:13:04] Production.INFO: Date 2024-12-30
[2025-01-06 23:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:13:04] Production.INFO: Date 2024-12-31
[2025-01-06 23:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:13:04] Production.INFO: Date 2025-01-01
[2025-01-06 23:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:13:04] Production.INFO: Date 2025-01-02
[2025-01-06 23:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:13:04] Production.INFO: Date 2025-01-03
[2025-01-06 23:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:13:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:13:04
[end_date_ymd] => 2025-01-06 23:13:04
[RateCDR] => 1
)
[2025-01-06 23: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-06 20:13:04' and `end` < '2025-01-06 23: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-06 23:13:04] Production.INFO: Date 2025-01-04
[2025-01-06 23:13:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:13:05] Production.INFO: Date 2025-01-05
[2025-01-06 23:13:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:13:05] Production.INFO: Date 2025-01-06
[2025-01-06 23:13:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:13:05] Production.INFO: Total Charge 0
[2025-01-06 23:13:05] Production.INFO: CreateAllLog End
[2025-01-06 23:13:05] Production.INFO: Account Balance End.
[2025-01-06 23:13:05] Production.ERROR: CronJobId end 12
[2025-01-06 23:13:05] Production.INFO: ==6985== Releasing lock...
[2025-01-06 23:13:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:13:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:13:11] Production.ERROR: CronJobId end10
[2025-01-06 23:13:11] Production.INFO: ==6983== Releasing lock...
[2025-01-06 23:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:13:13] Production.INFO: call_cost start
[2025-01-06 23:13:13] Production.INFO: call_cost end
[2025-01-06 23:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:13:14] Production.INFO: ==6979== Releasing lock...
[2025-01-06 23:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:13:17] Production.INFO: count ==667
[2025-01-06 23:13:17] Production.ERROR: pbx CDR StartTime 2025-01-06 20:13:04 - End Time 2025-01-06 23:13:04
[2025-01-06 23:13:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190844', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190844', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190844', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190844', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:13:18] Production.INFO: ProcessCDR(1,14190844,1,1,2)
[2025-01-06 23:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190844,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190844,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190844,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190844,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190844', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190844', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:13:21] Production.INFO: ==6987== Releasing lock...
[2025-01-06 23:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:13:21] Production.INFO: 32.5 MB #Memory Used#
[2025-01-07 04:14:02] Production.INFO: ==7047== Lock acquired, processing the job...
[2025-01-07 04:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:14:02] Production.INFO: neon service started
[2025-01-07 04:14:02] Production.INFO: neon service started
[2025-01-07 04:14:02] Production.INFO: ==7047== Releasing lock...
[2025-01-07 04:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:14:02] Production.INFO: ==7051== Lock acquired, processing the job...
[2025-01-07 04:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:14:02] Production.INFO: ==7051== Releasing lock...
[2025-01-07 04:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:14:02] Production.INFO: ==7049== Lock acquired, processing the job...
[2025-01-06 23:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 23:14:02] Production.INFO: ==7049== Releasing lock...
[2025-01-06 23:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 23:14:03] Production.INFO: ==7062== Lock acquired, processing the job...
[2025-01-06 23:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:14:03] Production.INFO: ==7054== Lock acquired, processing the job...
[2025-01-06 23:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:14:03] Production.ERROR: done
[2025-01-06 23:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:14:03] Production.INFO: ==7056== Lock acquired, processing the job...
[2025-01-06 23:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:14:04] Production.INFO: ==7058== Lock acquired, processing the job...
[2025-01-06 23:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:14:04] Production.INFO: ==7060== Lock acquired, processing the job...
[2025-01-06 23:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:14:04] Production.ERROR: done
[2025-01-06 23:14:04] Production.INFO: ==7064== Lock acquired, processing the job...
[2025-01-06 23:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:14:04] Production.INFO: Account Balance Start.
[2025-01-06 23:14:04] Production.INFO: CreateAllLog Start
[2025-01-06 23:14:04] Production.INFO: 117
[2025-01-06 23:14:04] Production.INFO: Date 2024-12-08
[2025-01-06 23:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 23:14:04] Production.INFO: Date 2024-12-09
[2025-01-06 23:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:14:04] Production.INFO: count ==21
[2025-01-06 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-06 23:14:04] Production.INFO: count ==21
[2025-01-06 23:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190849') start
[2025-01-06 23:14:04] Production.INFO: Date 2024-12-10
[2025-01-06 23:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:14:04] Production.INFO: Date 2024-12-11
[2025-01-06 23:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:14:04] Production.INFO: ==7056== Releasing lock...
[2025-01-06 23:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:14:04] Production.INFO: Date 2024-12-12
[2025-01-06 23:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190849') end
[2025-01-06 23:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:14:04] Production.INFO: 1
[2025-01-06 23:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:14:04] Production.INFO: ==7064== Releasing lock...
[2025-01-06 23:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:14:04] Production.INFO: Date 2024-12-13
[2025-01-06 23:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:14:04] Production.INFO: Date 2024-12-14
[2025-01-06 23:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:14:04] Production.INFO: Date 2024-12-15
[2025-01-06 23:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:14:04] Production.INFO: Date 2024-12-16
[2025-01-06 23:14:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:14:04
[end_date_ymd] => 2025-01-06 23:14:04
[RateCDR] => 1
)
[2025-01-06 23:14:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 20:14:04' and `end` < '2025-01-06 23:14:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 23:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:14:04] Production.INFO: Date 2024-12-17
[2025-01-06 23:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:14:04] Production.INFO: Date 2024-12-18
[2025-01-06 23:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:14:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:14:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:14:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:14:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:14:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:14:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:14:05] Production.INFO: Date 2024-12-24
[2025-01-06 23:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:14:05] Production.INFO: Date 2024-12-25
[2025-01-06 23:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:14:05] Production.INFO: Date 2024-12-26
[2025-01-06 23:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:14:05] Production.INFO: Date 2024-12-27
[2025-01-06 23:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:14:05] Production.INFO: Date 2024-12-28
[2025-01-06 23:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:14:05] Production.INFO: Date 2024-12-29
[2025-01-06 23:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:14:05] Production.INFO: Date 2024-12-30
[2025-01-06 23:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:14:05] Production.INFO: Date 2024-12-31
[2025-01-06 23:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:14:05] Production.INFO: Date 2025-01-01
[2025-01-06 23:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:14:05] Production.INFO: Date 2025-01-02
[2025-01-06 23:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:14:05] Production.INFO: Date 2025-01-03
[2025-01-06 23:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:14:05] Production.INFO: Date 2025-01-04
[2025-01-06 23:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:14:05] Production.INFO: Date 2025-01-05
[2025-01-06 23:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:14:05] Production.INFO: Date 2025-01-06
[2025-01-06 23:14:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:14:05] Production.INFO: Total Charge 0
[2025-01-06 23:14:05] Production.INFO: CreateAllLog End
[2025-01-06 23:14:05] Production.INFO: Account Balance End.
[2025-01-06 23:14:05] Production.ERROR: CronJobId end 12
[2025-01-06 23:14:05] Production.INFO: ==7060== Releasing lock...
[2025-01-06 23:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:14:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:14:13] Production.ERROR: CronJobId end10
[2025-01-06 23:14:13] Production.INFO: ==7058== Releasing lock...
[2025-01-06 23:14:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:14:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:14:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:14:15] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:14:15] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:14:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:14:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:14:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:14:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:14:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:14:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:14:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:14:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:14:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:14:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:14:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:14:15] Production.INFO: call_cost start
[2025-01-06 23:14:15] Production.INFO: call_cost end
[2025-01-06 23:14:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:14:16] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:14:16] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:14:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:14:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:14:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:14:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:14:16] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:14:16] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:14:16] Production.INFO: ==7054== Releasing lock...
[2025-01-06 23:14:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:14:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:14:17] Production.INFO: count ==665
[2025-01-06 23:14:17] Production.ERROR: pbx CDR StartTime 2025-01-06 20:14:04 - End Time 2025-01-06 23:14:04
[2025-01-06 23:14:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190847', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190847', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190847', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190847', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:14:17] Production.INFO: ProcessCDR(1,14190847,1,1,2)
[2025-01-06 23:14:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190847,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190847,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190847,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190847,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190847', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190847', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:14:22] Production.INFO: ==7062== Releasing lock...
[2025-01-06 23:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:14:22] Production.INFO: 32.25 MB #Memory Used#
[2025-01-07 04:15:01] Production.INFO: ==7201== Lock acquired, processing the job...
[2025-01-07 04:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:15:01] Production.INFO: neon service started
[2025-01-07 04:15:01] Production.INFO: neon service started
[2025-01-07 04:15:01] Production.INFO: ==7201== Releasing lock...
[2025-01-07 04:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 23:15:01] Production.INFO: ==7203== Lock acquired, processing the job...
[2025-01-06 23:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 23:15:02] Production.INFO: ==7203== Releasing lock...
[2025-01-06 23:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:15:02] Production.INFO: ==7205== Lock acquired, processing the job...
[2025-01-07 04:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:15:02] Production.INFO: ==7205== Releasing lock...
[2025-01-07 04:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:15:03] Production.INFO: ==7215== Lock acquired, processing the job...
[2025-01-06 23:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:15:03] Production.INFO: ==7211== Lock acquired, processing the job...
[2025-01-06 23:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:15:03] Production.INFO: ==7207== Lock acquired, processing the job...
[2025-01-06 23:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:15:03] Production.INFO: ==7209== Lock acquired, processing the job...
[2025-01-06 23:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:15:03] Production.INFO: ==7213== Lock acquired, processing the job...
[2025-01-06 23:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:15:03] Production.INFO: ==7217== Lock acquired, processing the job...
[2025-01-06 23:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:15:03] Production.INFO: Account Balance Start.
[2025-01-06 23:15:03] Production.INFO: CreateAllLog Start
[2025-01-06 23:15:03] Production.INFO: 117
[2025-01-06 23:15:03] Production.ERROR: done
[2025-01-06 23:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:15:03] Production.INFO: Date 2024-12-08
[2025-01-06 23:15:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:15:03] Production.INFO: Date 2024-12-09
[2025-01-06 23:15:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:15:03] Production.INFO: count ==21
[2025-01-06 23:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:15:03] Production.INFO: count ==21
[2025-01-06 23:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190853') start
[2025-01-06 23:15:03] Production.INFO: Date 2024-12-10
[2025-01-06 23:15:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:15:03] Production.ERROR: done
[2025-01-06 23:15:03] Production.INFO: ==7209== Releasing lock...
[2025-01-06 23:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190853') end
[2025-01-06 23:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:15:03] Production.INFO: 1
[2025-01-06 23:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:15:03] Production.INFO: ==7217== Releasing lock...
[2025-01-06 23:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:15:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:15:03] Production.INFO: Date 2024-12-11
[2025-01-06 23:15:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:15:04] Production.INFO: Date 2024-12-12
[2025-01-06 23:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:15:04] Production.INFO: Date 2024-12-13
[2025-01-06 23:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:15:04] Production.INFO: Date 2024-12-14
[2025-01-06 23:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:15:04] Production.INFO: Date 2024-12-15
[2025-01-06 23:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:15:04] Production.INFO: Date 2024-12-16
[2025-01-06 23:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:15:04] Production.INFO: Date 2024-12-17
[2025-01-06 23:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:15:04] Production.INFO: Date 2024-12-18
[2025-01-06 23:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:15:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:15:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:15:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:15:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:15:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:15:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:15:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:15:04] Production.INFO: Date 2024-12-26
[2025-01-06 23:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:15:04] Production.INFO: Date 2024-12-27
[2025-01-06 23:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:15:04] Production.INFO: Date 2024-12-28
[2025-01-06 23:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:15:04] Production.INFO: Date 2024-12-29
[2025-01-06 23:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:15:04] Production.INFO: Date 2024-12-30
[2025-01-06 23:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:15:04] Production.INFO: Date 2024-12-31
[2025-01-06 23:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:15:04] Production.INFO: Date 2025-01-01
[2025-01-06 23:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:15:04] Production.INFO: Date 2025-01-02
[2025-01-06 23:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:15:04] Production.INFO: Date 2025-01-03
[2025-01-06 23:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:15:04] Production.INFO: Date 2025-01-04
[2025-01-06 23:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:15:04] Production.INFO: Date 2025-01-05
[2025-01-06 23:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:15:04] Production.INFO: Date 2025-01-06
[2025-01-06 23:15:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:15:04] Production.INFO: Total Charge 0
[2025-01-06 23:15:04] Production.INFO: CreateAllLog End
[2025-01-06 23:15:04] Production.INFO: Account Balance End.
[2025-01-06 23:15:04] Production.ERROR: CronJobId end 12
[2025-01-06 23:15:04] Production.INFO: ==7213== Releasing lock...
[2025-01-06 23:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:15:05
[end_date_ymd] => 2025-01-06 23:15:05
[RateCDR] => 1
)
[2025-01-06 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-06 20:15:05' and `end` < '2025-01-06 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-06 23:15:12] Production.ERROR: CronJobId end10
[2025-01-06 23:15:12] Production.INFO: ==7211== Releasing lock...
[2025-01-06 23:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:15:13] Production.INFO: call_cost start
[2025-01-06 23:15:13] Production.INFO: call_cost end
[2025-01-06 23:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:15:14] Production.INFO: ==7207== Releasing lock...
[2025-01-06 23:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:15:18] Production.INFO: count ==665
[2025-01-06 23:15:18] Production.ERROR: pbx CDR StartTime 2025-01-06 20:15:05 - End Time 2025-01-06 23:15:05
[2025-01-06 23:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190854', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190854', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190854', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190854', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:15:18] Production.INFO: ProcessCDR(1,14190854,1,1,2)
[2025-01-06 23:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190854,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190854,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190854,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190854,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190854', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190854', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:15:21] Production.INFO: ==7215== Releasing lock...
[2025-01-06 23:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:15:21] Production.INFO: 32.25 MB #Memory Used#
[2025-01-07 04:16:01] Production.INFO: ==7282== Lock acquired, processing the job...
[2025-01-07 04:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:16:01] Production.INFO: neon service started
[2025-01-07 04:16:01] Production.INFO: neon service started
[2025-01-07 04:16:01] Production.INFO: ==7282== Releasing lock...
[2025-01-07 04:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 23:16:02] Production.INFO: ==7285== Lock acquired, processing the job...
[2025-01-06 23:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 23:16:02] Production.INFO: ==7285== Releasing lock...
[2025-01-06 23:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:16:02] Production.INFO: ==7287== Lock acquired, processing the job...
[2025-01-07 04:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:16:02] Production.INFO: ==7287== Releasing lock...
[2025-01-07 04:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:16:03] Production.INFO: ==7293== Lock acquired, processing the job...
[2025-01-06 23:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:16:03] Production.INFO: ==7299== Lock acquired, processing the job...
[2025-01-06 23:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:16:03] Production.INFO: ==7289== Lock acquired, processing the job...
[2025-01-06 23:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:16:03] Production.INFO: ==7291== Lock acquired, processing the job...
[2025-01-06 23:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:16:03] Production.INFO: count ==21
[2025-01-06 23:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:16:03] Production.INFO: count ==21
[2025-01-06 23:16:03] Production.INFO: ==7297== Lock acquired, processing the job...
[2025-01-06 23:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190855') start
[2025-01-06 23:16:03] Production.INFO: ==7295== Lock acquired, processing the job...
[2025-01-06 23:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:16:03] Production.INFO: Account Balance Start.
[2025-01-06 23:16:03] Production.INFO: CreateAllLog Start
[2025-01-06 23:16:03] Production.INFO: 117
[2025-01-06 23:16:03] Production.INFO: Date 2024-12-08
[2025-01-06 23:16:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190855') end
[2025-01-06 23:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:16:03] Production.INFO: 1
[2025-01-06 23:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:16:03] Production.INFO: Date 2024-12-09
[2025-01-06 23:16:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:16:03] Production.INFO: Date 2024-12-10
[2025-01-06 23:16:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:16:03] Production.INFO: ==7299== Releasing lock...
[2025-01-06 23:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:16:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:16:04] Production.INFO: Date 2024-12-11
[2025-01-06 23:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:16:04] Production.INFO: ==7291== Releasing lock...
[2025-01-06 23:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:16:04] Production.INFO: Date 2024-12-12
[2025-01-06 23:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:16:04] Production.INFO: Date 2024-12-13
[2025-01-06 23:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:16:04] Production.INFO: Date 2024-12-14
[2025-01-06 23:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:16:04] Production.INFO: Date 2024-12-15
[2025-01-06 23:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:16:04] Production.INFO: Date 2024-12-16
[2025-01-06 23:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:16:04] Production.INFO: Date 2024-12-17
[2025-01-06 23:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:16:04] Production.INFO: Date 2024-12-18
[2025-01-06 23:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:16:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:16:04] Production.ERROR: done
[2025-01-06 23:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:16:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:16:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:16:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:16:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:16:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:16:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:16:04] Production.INFO: Date 2024-12-26
[2025-01-06 23:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:16:04] Production.INFO: Date 2024-12-27
[2025-01-06 23:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:16:04] Production.INFO: Date 2024-12-28
[2025-01-06 23:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:16:04] Production.INFO: Date 2024-12-29
[2025-01-06 23:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:16:04] Production.ERROR: done
[2025-01-06 23:16:04] Production.INFO: Date 2024-12-30
[2025-01-06 23:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:16:04] Production.INFO: Date 2024-12-31
[2025-01-06 23:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:16:04] Production.INFO: Date 2025-01-01
[2025-01-06 23:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:16:04] Production.INFO: Date 2025-01-02
[2025-01-06 23:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:16:04] Production.INFO: Date 2025-01-03
[2025-01-06 23:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:16:04] Production.INFO: Date 2025-01-04
[2025-01-06 23:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:16:04] Production.INFO: Date 2025-01-05
[2025-01-06 23:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:16:04] Production.INFO: Date 2025-01-06
[2025-01-06 23:16:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:16:04] Production.INFO: Total Charge 0
[2025-01-06 23:16:04] Production.INFO: CreateAllLog End
[2025-01-06 23:16:05] Production.INFO: Account Balance End.
[2025-01-06 23:16:05] Production.ERROR: CronJobId end 12
[2025-01-06 23:16:05] Production.INFO: ==7295== Releasing lock...
[2025-01-06 23:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:16:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:16:05
[end_date_ymd] => 2025-01-06 23:16:05
[RateCDR] => 1
)
[2025-01-06 23:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 20:16:05' and `end` < '2025-01-06 23:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 23:16:13] Production.ERROR: CronJobId end10
[2025-01-06 23:16:13] Production.INFO: ==7293== Releasing lock...
[2025-01-06 23:16:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:16:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:16:13] Production.INFO: call_cost start
[2025-01-06 23:16:13] Production.INFO: call_cost end
[2025-01-06 23:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:16:14] Production.INFO: ==7289== Releasing lock...
[2025-01-06 23:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:16:19] Production.INFO: count ==661
[2025-01-06 23:16:19] Production.ERROR: pbx CDR StartTime 2025-01-06 20:16:05 - End Time 2025-01-06 23:16:05
[2025-01-06 23:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190859', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190859', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190859', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190859', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:16:19] Production.INFO: ProcessCDR(1,14190859,1,1,2)
[2025-01-06 23:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190859,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:16:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190859,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:16:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190859,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:16:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190859,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:16:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190859', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:16:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190859', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:16:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:16:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:16:24] Production.INFO: ==7297== Releasing lock...
[2025-01-06 23:16:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:16:24] Production.INFO: 32.25 MB #Memory Used#
[2025-01-07 04:17:02] Production.INFO: ==7361== Lock acquired, processing the job...
[2025-01-07 04:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:17:02] Production.INFO: neon service started
[2025-01-07 04:17:02] Production.INFO: neon service started
[2025-01-07 04:17:02] Production.INFO: ==7361== Releasing lock...
[2025-01-07 04:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 23:17:02] Production.INFO: ==7363== Lock acquired, processing the job...
[2025-01-06 23:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 23:17:03] Production.INFO: ==7363== Releasing lock...
[2025-01-06 23:17:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:17:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:17:03] Production.INFO: ==7365== Lock acquired, processing the job...
[2025-01-07 04:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:17:03] Production.INFO: ==7365== Releasing lock...
[2025-01-07 04:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:17:03] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:17:04] Production.INFO: ==7367== Lock acquired, processing the job...
[2025-01-06 23:17:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:17:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:17:04] Production.INFO: ==7369== Lock acquired, processing the job...
[2025-01-06 23:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:17:04] Production.INFO: ==7377== Lock acquired, processing the job...
[2025-01-06 23:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:17:04] Production.INFO: ==7371== Lock acquired, processing the job...
[2025-01-06 23:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:17:04] Production.INFO: ==7375== Lock acquired, processing the job...
[2025-01-06 23:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:17:04] Production.INFO: ==7373== Lock acquired, processing the job...
[2025-01-06 23:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:17:04] Production.INFO: Account Balance Start.
[2025-01-06 23:17:04] Production.INFO: CreateAllLog Start
[2025-01-06 23:17:04] Production.INFO: 117
[2025-01-06 23:17:04] Production.INFO: count ==21
[2025-01-06 23:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:17:04] Production.INFO: count ==21
[2025-01-06 23:17:04] Production.INFO: Date 2024-12-08
[2025-01-06 23:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190862') start
[2025-01-06 23:17:04] Production.INFO: Date 2024-12-09
[2025-01-06 23:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:17:04] Production.INFO: Date 2024-12-10
[2025-01-06 23:17:04] Production.INFO: ==7369== Releasing lock...
[2025-01-06 23:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:17:04] Production.INFO: Date 2024-12-11
[2025-01-06 23:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190862') end
[2025-01-06 23:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:17:04] Production.INFO: 1
[2025-01-06 23:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:17:04] Production.INFO: Date 2024-12-12
[2025-01-06 23:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:17:04] Production.INFO: Date 2024-12-13
[2025-01-06 23:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:17:04] Production.INFO: Date 2024-12-14
[2025-01-06 23:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:17:04] Production.INFO: ==7377== Releasing lock...
[2025-01-06 23:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:17:04] Production.ERROR: done
[2025-01-06 23:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:17:04] Production.INFO: Date 2024-12-15
[2025-01-06 23:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:17:04] Production.INFO: Date 2024-12-16
[2025-01-06 23:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:17:04] Production.INFO: Date 2024-12-17
[2025-01-06 23:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:17:04] Production.INFO: Date 2024-12-18
[2025-01-06 23:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:17:04] Production.ERROR: done
[2025-01-06 23:17:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:17:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:17:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:17:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:17:05] Production.INFO: Date 2024-12-22
[2025-01-06 23:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:17:05] Production.INFO: Date 2024-12-23
[2025-01-06 23:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:17:05] Production.INFO: Date 2024-12-24
[2025-01-06 23:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:17:05] Production.INFO: Date 2024-12-25
[2025-01-06 23:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:17:05] Production.INFO: Date 2024-12-26
[2025-01-06 23:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:17:05] Production.INFO: Date 2024-12-27
[2025-01-06 23:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:17:05] Production.INFO: Date 2024-12-28
[2025-01-06 23:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:17:05] Production.INFO: Date 2024-12-29
[2025-01-06 23:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:17:05] Production.INFO: Date 2024-12-30
[2025-01-06 23:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:17:05] Production.INFO: Date 2024-12-31
[2025-01-06 23:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:17:05] Production.INFO: Date 2025-01-01
[2025-01-06 23:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:17:05] Production.INFO: Date 2025-01-02
[2025-01-06 23:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:17:05] Production.INFO: Date 2025-01-03
[2025-01-06 23:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:17:05] Production.INFO: Date 2025-01-04
[2025-01-06 23:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:17:05] Production.INFO: Date 2025-01-05
[2025-01-06 23:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:17:05] Production.INFO: Date 2025-01-06
[2025-01-06 23:17:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:17:05] Production.INFO: Total Charge 0
[2025-01-06 23:17:05] Production.INFO: CreateAllLog End
[2025-01-06 23:17:05] Production.INFO: Account Balance End.
[2025-01-06 23:17:05] Production.ERROR: CronJobId end 12
[2025-01-06 23:17:05] Production.INFO: ==7373== Releasing lock...
[2025-01-06 23:17:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:17:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:17:05
[end_date_ymd] => 2025-01-06 23:17:05
[RateCDR] => 1
)
[2025-01-06 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-06 20:17:05' and `end` < '2025-01-06 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-06 23:17:13] Production.ERROR: CronJobId end10
[2025-01-06 23:17:13] Production.INFO: ==7371== Releasing lock...
[2025-01-06 23:17:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:17:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:17:14] Production.INFO: call_cost start
[2025-01-06 23:17:14] Production.INFO: call_cost end
[2025-01-06 23:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:17:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:17:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:17:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:17:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:17:15] Production.INFO: ==7367== Releasing lock...
[2025-01-06 23:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:17:18] Production.INFO: count ==664
[2025-01-06 23:17:18] Production.ERROR: pbx CDR StartTime 2025-01-06 20:17:05 - End Time 2025-01-06 23:17:05
[2025-01-06 23:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190864', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190864', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190864', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190864', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:17:19] Production.INFO: ProcessCDR(1,14190864,1,1,2)
[2025-01-06 23:17:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190864,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:17:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190864,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:17:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190864,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190864,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190864', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190864', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:17:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:17:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:17:22] Production.INFO: ==7375== Releasing lock...
[2025-01-06 23:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:17:22] Production.INFO: 32.25 MB #Memory Used#
[2025-01-07 04:18:01] Production.INFO: ==7478== Lock acquired, processing the job...
[2025-01-07 04:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:18:01] Production.INFO: neon service started
[2025-01-07 04:18:01] Production.INFO: neon service started
[2025-01-07 04:18:01] Production.INFO: ==7478== Releasing lock...
[2025-01-07 04:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:18:02] Production.INFO: ==7483== Lock acquired, processing the job...
[2025-01-07 04:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:18:02] Production.INFO: ==7483== Releasing lock...
[2025-01-07 04:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:18:02] Production.INFO: ==7481== Lock acquired, processing the job...
[2025-01-06 23:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 23:18:02] Production.INFO: ==7481== Releasing lock...
[2025-01-06 23:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 23:18:03] Production.INFO: ==7487== Lock acquired, processing the job...
[2025-01-06 23:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:18:03] Production.INFO: ==7495== Lock acquired, processing the job...
[2025-01-06 23:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:18:03] Production.INFO: ==7485== Lock acquired, processing the job...
[2025-01-06 23:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:18:03] Production.INFO: ==7489== Lock acquired, processing the job...
[2025-01-06 23:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 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-06 23:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:18:03] Production.INFO: count ==21
[2025-01-06 23:18:03] Production.INFO: ==7491== Lock acquired, processing the job...
[2025-01-06 23:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 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-06 23:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:18:03] Production.INFO: count ==21
[2025-01-06 23:18:03] Production.INFO: ==7487== Releasing lock...
[2025-01-06 23:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190866') start
[2025-01-06 23:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:18:03] Production.INFO: ==7493== Lock acquired, processing the job...
[2025-01-06 23:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190866') end
[2025-01-06 23:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:18:04] Production.INFO: 1
[2025-01-06 23:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:18:04] Production.INFO: ==7495== Releasing lock...
[2025-01-06 23:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:18:04] Production.INFO: Account Balance Start.
[2025-01-06 23:18:04] Production.INFO: CreateAllLog Start
[2025-01-06 23:18:04] Production.INFO: 117
[2025-01-06 23:18:04] Production.INFO: Date 2024-12-08
[2025-01-06 23:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:18:04] Production.INFO: Date 2024-12-09
[2025-01-06 23:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:18:04] Production.INFO: Date 2024-12-10
[2025-01-06 23:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:18:04] Production.INFO: Date 2024-12-11
[2025-01-06 23:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:18:04] Production.INFO: Date 2024-12-12
[2025-01-06 23:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:18:04] Production.ERROR: done
[2025-01-06 23:18:04] Production.INFO: Date 2024-12-13
[2025-01-06 23:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:18:04] Production.INFO: Date 2024-12-14
[2025-01-06 23:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:18:04] Production.INFO: Date 2024-12-15
[2025-01-06 23:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:18:04] Production.INFO: Date 2024-12-16
[2025-01-06 23:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:18:04] Production.INFO: Date 2024-12-17
[2025-01-06 23:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:18:04] Production.ERROR: done
[2025-01-06 23:18:04] Production.INFO: Date 2024-12-18
[2025-01-06 23:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:18:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:18:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:18:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:18:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:18:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:18:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:18:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:18:04] Production.INFO: Date 2024-12-26
[2025-01-06 23:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:18:04] Production.INFO: Date 2024-12-27
[2025-01-06 23:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:18:04] Production.INFO: Date 2024-12-28
[2025-01-06 23:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:18:04] Production.INFO: Date 2024-12-29
[2025-01-06 23:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:18:04] Production.INFO: Date 2024-12-30
[2025-01-06 23:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:18:04] Production.INFO: Date 2024-12-31
[2025-01-06 23:18:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:18:05] Production.INFO: Date 2025-01-01
[2025-01-06 23:18:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:18:05] Production.INFO: Date 2025-01-02
[2025-01-06 23:18:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:18:05] Production.INFO: Date 2025-01-03
[2025-01-06 23:18:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:18:05] Production.INFO: Date 2025-01-04
[2025-01-06 23:18:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:18:05] Production.INFO: Date 2025-01-05
[2025-01-06 23:18:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:18:05] Production.INFO: Date 2025-01-06
[2025-01-06 23:18:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:18:05] Production.INFO: Total Charge 0
[2025-01-06 23:18:05] Production.INFO: CreateAllLog End
[2025-01-06 23:18:05] Production.INFO: Account Balance End.
[2025-01-06 23:18:05] Production.ERROR: CronJobId end 12
[2025-01-06 23:18:05] Production.INFO: ==7491== Releasing lock...
[2025-01-06 23:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:18:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:18:05
[end_date_ymd] => 2025-01-06 23:18:05
[RateCDR] => 1
)
[2025-01-06 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-06 20:18:05' and `end` < '2025-01-06 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-06 23:18:12] Production.ERROR: CronJobId end10
[2025-01-06 23:18:12] Production.INFO: ==7489== Releasing lock...
[2025-01-06 23:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:18:14] Production.INFO: call_cost start
[2025-01-06 23:18:14] Production.INFO: call_cost end
[2025-01-06 23:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:18:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:18:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:18:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:18:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:18:15] Production.INFO: ==7485== Releasing lock...
[2025-01-06 23:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:18:19] Production.INFO: count ==664
[2025-01-06 23:18:19] Production.ERROR: pbx CDR StartTime 2025-01-06 20:18:05 - End Time 2025-01-06 23:18:05
[2025-01-06 23:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190869', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190869', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190869', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190869', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:18:19] Production.INFO: ProcessCDR(1,14190869,1,1,2)
[2025-01-06 23:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190869,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190869,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190869,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190869,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190869', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190869', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:18:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:18:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:18:23] Production.INFO: ==7493== Releasing lock...
[2025-01-06 23:18:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:18:23] Production.INFO: 32.25 MB #Memory Used#
[2025-01-07 04:19:02] Production.INFO: ==7555== Lock acquired, processing the job...
[2025-01-07 04:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:19:02] Production.INFO: neon service started
[2025-01-07 04:19:02] Production.INFO: neon service started
[2025-01-07 04:19:02] Production.INFO: ==7555== Releasing lock...
[2025-01-07 04:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 23:19:02] Production.INFO: ==7557== Lock acquired, processing the job...
[2025-01-06 23:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 23:19:02] Production.INFO: ==7557== Releasing lock...
[2025-01-06 23:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:19:02] Production.INFO: ==7559== Lock acquired, processing the job...
[2025-01-07 04:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:19:03] Production.INFO: ==7559== Releasing lock...
[2025-01-07 04:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:19:03] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:19:03] Production.INFO: ==7561== Lock acquired, processing the job...
[2025-01-06 23:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:19:03] Production.INFO: ==7565== Lock acquired, processing the job...
[2025-01-06 23:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:19:03] Production.INFO: ==7567== Lock acquired, processing the job...
[2025-01-06 23:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:19:03] Production.INFO: Account Balance Start.
[2025-01-06 23:19:03] Production.INFO: CreateAllLog Start
[2025-01-06 23:19:03] Production.INFO: 117
[2025-01-06 23:19:03] Production.INFO: Date 2024-12-08
[2025-01-06 23:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:19:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:19:03] Production.INFO: Date 2024-12-09
[2025-01-06 23:19:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:19:03] Production.INFO: Date 2024-12-10
[2025-01-06 23:19:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:19:03] Production.INFO: ==7563== Lock acquired, processing the job...
[2025-01-06 23:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:19:03] Production.INFO: Date 2024-12-11
[2025-01-06 23:19:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:19:03] Production.INFO: Date 2024-12-12
[2025-01-06 23:19:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:19:03] Production.INFO: Date 2024-12-13
[2025-01-06 23:19:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:19:04] Production.INFO: ==7569== Lock acquired, processing the job...
[2025-01-06 23:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:19:04] Production.INFO: Date 2024-12-14
[2025-01-06 23:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:19:04] Production.INFO: Date 2024-12-15
[2025-01-06 23:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:19:04] Production.INFO: Date 2024-12-16
[2025-01-06 23:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:19:04] Production.INFO: ==7571== Lock acquired, processing the job...
[2025-01-06 23:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:19:04] Production.INFO: Date 2024-12-17
[2025-01-06 23:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:19:04] Production.INFO: Date 2024-12-18
[2025-01-06 23:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:19:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:19:04] Production.INFO: count ==21
[2025-01-06 23:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:19:04] Production.INFO: count ==21
[2025-01-06 23:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190873') start
[2025-01-06 23:19:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:19:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:19:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:19:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:19:04] Production.INFO: ==7563== Releasing lock...
[2025-01-06 23:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190873') end
[2025-01-06 23:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:19:04] Production.INFO: 1
[2025-01-06 23:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:19:04] Production.ERROR: done
[2025-01-06 23:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:19:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:19:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:19:04] Production.INFO: Date 2024-12-26
[2025-01-06 23:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:19:04] Production.INFO: Date 2024-12-27
[2025-01-06 23:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:19:04] Production.INFO: ==7571== Releasing lock...
[2025-01-06 23:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:19:04] Production.ERROR: done
[2025-01-06 23:19:04] Production.INFO: Date 2024-12-28
[2025-01-06 23:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:19:04] Production.INFO: Date 2024-12-29
[2025-01-06 23:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:19:04] Production.INFO: Date 2024-12-30
[2025-01-06 23:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:19:04] Production.INFO: Date 2024-12-31
[2025-01-06 23:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:19:04] Production.INFO: Date 2025-01-01
[2025-01-06 23:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:19:04] Production.INFO: Date 2025-01-02
[2025-01-06 23:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:19:04] Production.INFO: Date 2025-01-03
[2025-01-06 23:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:19:04] Production.INFO: Date 2025-01-04
[2025-01-06 23:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:19:04] Production.INFO: Date 2025-01-05
[2025-01-06 23:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:19:04] Production.INFO: Date 2025-01-06
[2025-01-06 23:19:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:19:04] Production.INFO: Total Charge 0
[2025-01-06 23:19:05] Production.INFO: CreateAllLog End
[2025-01-06 23:19:05] Production.INFO: Account Balance End.
[2025-01-06 23:19:05] Production.ERROR: CronJobId end 12
[2025-01-06 23:19:05] Production.INFO: ==7567== Releasing lock...
[2025-01-06 23:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:19:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:19:05
[end_date_ymd] => 2025-01-06 23:19:05
[RateCDR] => 1
)
[2025-01-06 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-06 20:19:05' and `end` < '2025-01-06 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-06 23:19:12] Production.ERROR: CronJobId end10
[2025-01-06 23:19:12] Production.INFO: ==7565== Releasing lock...
[2025-01-06 23:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:19:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:19:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:19:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:19:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:19:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:19:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:19:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:19:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:19:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:19:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:19:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:19:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:19:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:19:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:19:14] Production.INFO: call_cost start
[2025-01-06 23:19:14] Production.INFO: call_cost end
[2025-01-06 23:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:19:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:19:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:19:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:19:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:19:15] Production.INFO: ==7561== Releasing lock...
[2025-01-06 23:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:19:18] Production.INFO: count ==663
[2025-01-06 23:19:18] Production.ERROR: pbx CDR StartTime 2025-01-06 20:19:05 - End Time 2025-01-06 23:19:05
[2025-01-06 23:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190874', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190874', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190874', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190874', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:19:18] Production.INFO: ProcessCDR(1,14190874,1,1,2)
[2025-01-06 23:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190874,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190874,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190874,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190874,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190874', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190874', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:19:21] Production.INFO: ==7569== Releasing lock...
[2025-01-06 23:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:19:21] Production.INFO: 32.25 MB #Memory Used#
[2025-01-07 04:20:01] Production.INFO: ==7627== Lock acquired, processing the job...
[2025-01-07 04:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:20:01] Production.INFO: neon service started
[2025-01-07 04:20:01] Production.INFO: neon service started
[2025-01-07 04:20:01] Production.INFO: ==7627== Releasing lock...
[2025-01-07 04:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 23:20:02] Production.INFO: ==7629== Lock acquired, processing the job...
[2025-01-06 23:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:20:02] Production.INFO: ==7631== Lock acquired, processing the job...
[2025-01-07 04:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-06 23:20:02] Production.INFO: ==7629== Releasing lock...
[2025-01-06 23:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:20:02] Production.INFO: ==7631== Releasing lock...
[2025-01-07 04:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:20:03] Production.INFO: ==7633== Lock acquired, processing the job...
[2025-01-06 23:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-06 23:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-06 23:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-06 23:20:03] Production.INFO: ==7633== Releasing lock...
[2025-01-06 23:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-06 23:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-06 23:20:03] Production.INFO: ==7635== Lock acquired, processing the job...
[2025-01-06 23:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:20:03] Production.INFO: ==7637== Lock acquired, processing the job...
[2025-01-06 23:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:20:03] Production.INFO: ==7641== Lock acquired, processing the job...
[2025-01-06 23:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:20:03] Production.INFO: ==7639== Lock acquired, processing the job...
[2025-01-06 23:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:20:03] Production.INFO: Account Balance Start.
[2025-01-06 23:20:03] Production.INFO: CreateAllLog Start
[2025-01-06 23:20:03] Production.INFO: 117
[2025-01-06 23:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:20:03] Production.INFO: Date 2024-12-08
[2025-01-06 23:20:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:20:03] Production.INFO: ==7643== Lock acquired, processing the job...
[2025-01-06 23:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:20:03] Production.INFO: ==7645== Lock acquired, processing the job...
[2025-01-06 23:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-06 23:20:03] Production.INFO: ==7637== Releasing lock...
[2025-01-06 23:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:20:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:20:03] Production.INFO: ==7647== Lock acquired, processing the job...
[2025-01-06 23:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:20:03] Production.INFO: Date 2024-12-09
[2025-01-06 23:20:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:20:03] Production.INFO: Date 2024-12-10
[2025-01-06 23:20:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:20:03] Production.INFO: Date 2024-12-11
[2025-01-06 23:20:03] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 23:20:04] Production.INFO: Date 2024-12-12
[2025-01-06 23:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:20:04] Production.INFO: count ==21
[2025-01-06 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-06 23:20:04] Production.INFO: count ==21
[2025-01-06 23:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190878') start
[2025-01-06 23:20:04] Production.ERROR: done
[2025-01-06 23:20:04] Production.ERROR: done
[2025-01-06 23:20:04] Production.INFO: Date 2024-12-13
[2025-01-06 23:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:20:04] Production.INFO: Date 2024-12-14
[2025-01-06 23:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-06 23:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14190879', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) start
[2025-01-06 23:20:04] Production.INFO: Date 2024-12-15
[2025-01-06 23:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190878') end
[2025-01-06 23:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:20:04] Production.INFO: 1
[2025-01-06 23:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:20:04] Production.INFO: Date 2024-12-16
[2025-01-06 23:20:04] Production.INFO: ==7647== Releasing lock...
[2025-01-06 23:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:20:04] Production.ERROR: done
[2025-01-06 23:20:04] Production.INFO: Date 2024-12-17
[2025-01-06 23:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:20:04] Production.INFO: Date 2024-12-18
[2025-01-06 23:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:20:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:20:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:20:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:20:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:20:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:20:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:20:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:20:04] Production.INFO: Date 2024-12-26
[2025-01-06 23:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:20:04] Production.INFO: Date 2024-12-27
[2025-01-06 23:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:20:04] Production.INFO: Date 2024-12-28
[2025-01-06 23:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:20:04] Production.INFO: Date 2024-12-29
[2025-01-06 23:20:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:20:05] Production.INFO: Date 2024-12-30
[2025-01-06 23:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:20:05] Production.INFO: Date 2024-12-31
[2025-01-06 23:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:20:05] Production.INFO: Date 2025-01-01
[2025-01-06 23:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:20:05] Production.INFO: Date 2025-01-02
[2025-01-06 23:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:20:05] Production.INFO: Date 2025-01-03
[2025-01-06 23:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:20:05] Production.INFO: Date 2025-01-04
[2025-01-06 23:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:20:05] Production.INFO: Date 2025-01-05
[2025-01-06 23:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:20:05] Production.INFO: Date 2025-01-06
[2025-01-06 23:20:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:20:05] Production.INFO: Total Charge 0
[2025-01-06 23:20:05] Production.INFO: CreateAllLog End
[2025-01-06 23:20:05] Production.INFO: Account Balance End.
[2025-01-06 23:20:05] Production.ERROR: CronJobId end 12
[2025-01-06 23:20:05] Production.INFO: ==7641== Releasing lock...
[2025-01-06 23:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:20:05
[end_date_ymd] => 2025-01-06 23:20:05
[RateCDR] => 1
)
[2025-01-06 23:20:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 20:20:05' and `end` < '2025-01-06 23:20:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 23:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14190879', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) end
[2025-01-06 23:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-06 23:20:08] Production.INFO: ProcessCDR(1,14190879,1,1,2)
[2025-01-06 23:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14190879,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14190879,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:20:08] Production.INFO: ==7645== Releasing lock...
[2025-01-06 23:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-06 23:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-06 23:20:13] Production.ERROR: CronJobId end10
[2025-01-06 23:20:13] Production.INFO: ==7639== Releasing lock...
[2025-01-06 23:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:20:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:20:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:20:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:20:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:20:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:20:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:20:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:20:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:20:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:20:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:20:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:20:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:20:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:20:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:20:14] Production.INFO: call_cost start
[2025-01-06 23:20:14] Production.INFO: call_cost end
[2025-01-06 23:20:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:20:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:20:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:20:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:20:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:20:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:20:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:20:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:20:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:20:14] Production.INFO: ==7635== Releasing lock...
[2025-01-06 23:20:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:20:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:20:18] Production.INFO: count ==663
[2025-01-06 23:20:18] Production.ERROR: pbx CDR StartTime 2025-01-06 20:20:05 - End Time 2025-01-06 23:20:05
[2025-01-06 23:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190880', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190880', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190880', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190880', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:20:18] Production.INFO: ProcessCDR(1,14190880,1,1,2)
[2025-01-06 23:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190880,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190880,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190880,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:20:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190880,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190880', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190880', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:20:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:20:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:20:21] Production.INFO: ==7643== Releasing lock...
[2025-01-06 23:20:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:20:21] Production.INFO: 32.25 MB #Memory Used#
[2025-01-07 04:21:02] Production.INFO: ==7702== Lock acquired, processing the job...
[2025-01-07 04:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:21:02] Production.INFO: neon service started
[2025-01-07 04:21:02] Production.INFO: neon service started
[2025-01-07 04:21:02] Production.INFO: ==7702== Releasing lock...
[2025-01-07 04:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:21:02] Production.INFO: ==7706== Lock acquired, processing the job...
[2025-01-07 04:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:21:02] Production.INFO: ==7706== Releasing lock...
[2025-01-07 04:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:21:02] Production.INFO: ==7704== Lock acquired, processing the job...
[2025-01-06 23:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 23:21:02] Production.INFO: ==7704== Releasing lock...
[2025-01-06 23:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 23:21:03] Production.INFO: ==7714== Lock acquired, processing the job...
[2025-01-06 23:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:21:03] Production.INFO: ==7712== Lock acquired, processing the job...
[2025-01-06 23:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:21:03] Production.INFO: Account Balance Start.
[2025-01-06 23:21:03] Production.INFO: CreateAllLog Start
[2025-01-06 23:21:03] Production.INFO: 117
[2025-01-06 23:21:03] Production.INFO: Date 2024-12-08
[2025-01-06 23:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:21:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:21:03] Production.INFO: Date 2024-12-09
[2025-01-06 23:21:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:21:03] Production.INFO: Date 2024-12-10
[2025-01-06 23:21:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:21:03] Production.INFO: Date 2024-12-11
[2025-01-06 23:21:03] Production.INFO: ==7708== Lock acquired, processing the job...
[2025-01-06 23:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:21:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:21:03] Production.INFO: ==7710== Lock acquired, processing the job...
[2025-01-06 23:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:21:04] Production.INFO: Date 2024-12-12
[2025-01-06 23:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:21:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:21:04] Production.INFO: Date 2024-12-13
[2025-01-06 23:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:21:04] Production.INFO: ==7716== Lock acquired, processing the job...
[2025-01-06 23:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:21:04] Production.INFO: Date 2024-12-14
[2025-01-06 23:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:21:04] Production.INFO: ==7718== Lock acquired, processing the job...
[2025-01-06 23:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:21:04] Production.INFO: Date 2024-12-15
[2025-01-06 23:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:21:04] Production.INFO: Date 2024-12-16
[2025-01-06 23:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:21:04] Production.INFO: Date 2024-12-17
[2025-01-06 23:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:21:04] Production.INFO: Date 2024-12-18
[2025-01-06 23:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 23:21:04] Production.INFO: count ==21
[2025-01-06 23:21:04] Production.ERROR: done
[2025-01-06 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-06 23:21:04] Production.INFO: count ==21
[2025-01-06 23:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190884') start
[2025-01-06 23:21:04] Production.INFO: ==7710== Releasing lock...
[2025-01-06 23:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:21:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:21:04] Production.ERROR: done
[2025-01-06 23:21:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190884') end
[2025-01-06 23:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:21:04] Production.INFO: 1
[2025-01-06 23:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:21:04] Production.INFO: ==7718== Releasing lock...
[2025-01-06 23:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:21:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:21:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:21:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:21:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:21:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:21:04] Production.INFO: Date 2024-12-26
[2025-01-06 23:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:21:04] Production.INFO: Date 2024-12-27
[2025-01-06 23:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:21:04] Production.INFO: Date 2024-12-28
[2025-01-06 23:21:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:21:05] Production.INFO: Date 2024-12-29
[2025-01-06 23:21:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:21:05] Production.INFO: Date 2024-12-30
[2025-01-06 23:21:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:21:05] Production.INFO: Date 2024-12-31
[2025-01-06 23:21:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:21:05] Production.INFO: Date 2025-01-01
[2025-01-06 23:21:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:21:05] Production.INFO: Date 2025-01-02
[2025-01-06 23:21:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:21:05] Production.INFO: Date 2025-01-03
[2025-01-06 23:21:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:21:05] Production.INFO: Date 2025-01-04
[2025-01-06 23:21:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:21:05] Production.INFO: Date 2025-01-05
[2025-01-06 23:21:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:21:05] Production.INFO: Date 2025-01-06
[2025-01-06 23:21:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:21:05
[end_date_ymd] => 2025-01-06 23:21:05
[RateCDR] => 1
)
[2025-01-06 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-06 20:21:05' and `end` < '2025-01-06 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-06 23:21:05] Production.INFO: Total Charge 0
[2025-01-06 23:21:05] Production.INFO: CreateAllLog End
[2025-01-06 23:21:05] Production.INFO: Account Balance End.
[2025-01-06 23:21:05] Production.ERROR: CronJobId end 12
[2025-01-06 23:21:05] Production.INFO: ==7714== Releasing lock...
[2025-01-06 23:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:21:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:21:12] Production.ERROR: CronJobId end10
[2025-01-06 23:21:12] Production.INFO: ==7712== Releasing lock...
[2025-01-06 23:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:21:13] Production.INFO: call_cost start
[2025-01-06 23:21:13] Production.INFO: call_cost end
[2025-01-06 23:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:21:14] Production.INFO: ==7708== Releasing lock...
[2025-01-06 23:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:21:19] Production.INFO: count ==688
[2025-01-06 23:21:19] Production.ERROR: pbx CDR StartTime 2025-01-06 20:21:05 - End Time 2025-01-06 23:21:05
[2025-01-06 23:21:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190885', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190885', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190885', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190885', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:21:19] Production.INFO: ProcessCDR(1,14190885,1,1,2)
[2025-01-06 23:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190885,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:21:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190885,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:21:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190885,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:21:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190885,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190885', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190885', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:21:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:21:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:21:23] Production.INFO: ==7716== Releasing lock...
[2025-01-06 23:21:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:21:23] Production.INFO: 32.75 MB #Memory Used#
[2025-01-07 04:22:01] Production.INFO: ==7771== Lock acquired, processing the job...
[2025-01-07 04:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:22:01] Production.INFO: neon service started
[2025-01-07 04:22:01] Production.INFO: neon service started
[2025-01-07 04:22:01] Production.INFO: ==7771== Releasing lock...
[2025-01-07 04:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:22:01] Production.INFO: ==7775== Lock acquired, processing the job...
[2025-01-07 04:22:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:22:02] Production.INFO: ==7775== Releasing lock...
[2025-01-07 04:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:22:02] Production.INFO: ==7773== Lock acquired, processing the job...
[2025-01-06 23:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 23:22:02] Production.INFO: ==7773== Releasing lock...
[2025-01-06 23:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 23:22:03] Production.INFO: ==7778== Lock acquired, processing the job...
[2025-01-06 23:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:22:03] Production.INFO: ==7788== Lock acquired, processing the job...
[2025-01-06 23:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:22:03] Production.INFO: count ==21
[2025-01-06 23:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:22:03] Production.INFO: count ==21
[2025-01-06 23:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190886') start
[2025-01-06 23:22:03] Production.INFO: ==7780== Lock acquired, processing the job...
[2025-01-06 23:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:22:03] Production.INFO: ==7782== Lock acquired, processing the job...
[2025-01-06 23:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:22:03] Production.INFO: ==7784== Lock acquired, processing the job...
[2025-01-06 23:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:22:03] Production.INFO: ==7786== Lock acquired, processing the job...
[2025-01-06 23:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190886') end
[2025-01-06 23:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:22:03] Production.INFO: 1
[2025-01-06 23:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:22:03] Production.INFO: ==7788== Releasing lock...
[2025-01-06 23:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:22:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:22:03] Production.INFO: Account Balance Start.
[2025-01-06 23:22:03] Production.INFO: CreateAllLog Start
[2025-01-06 23:22:03] Production.INFO: 117
[2025-01-06 23:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:22:03] Production.INFO: Date 2024-12-08
[2025-01-06 23:22:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:22:03] Production.INFO: Date 2024-12-09
[2025-01-06 23:22:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:22:03] Production.INFO: Date 2024-12-10
[2025-01-06 23:22:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:22:03] Production.INFO: ==7780== Releasing lock...
[2025-01-06 23:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:22:03] Production.INFO: Date 2024-12-11
[2025-01-06 23:22:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:22:03] Production.INFO: Date 2024-12-12
[2025-01-06 23:22:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:22:04] Production.ERROR: done
[2025-01-06 23:22:04] Production.INFO: Date 2024-12-13
[2025-01-06 23:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:22:04] Production.INFO: Date 2024-12-14
[2025-01-06 23:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:22:04] Production.ERROR: done
[2025-01-06 23:22:04] Production.INFO: Date 2024-12-15
[2025-01-06 23:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:22:04] Production.INFO: Date 2024-12-16
[2025-01-06 23:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:22:04] Production.INFO: Date 2024-12-17
[2025-01-06 23:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:22:04] Production.INFO: Date 2024-12-18
[2025-01-06 23:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:22:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:22:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:22:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:22:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:22:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:22:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:22:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:22:04] Production.INFO: Date 2024-12-26
[2025-01-06 23:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:22:04] Production.INFO: Date 2024-12-27
[2025-01-06 23:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:22:04] Production.INFO: Date 2024-12-28
[2025-01-06 23:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:22:04] Production.INFO: Date 2024-12-29
[2025-01-06 23:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:22:04] Production.INFO: Date 2024-12-30
[2025-01-06 23:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:22:04] Production.INFO: Date 2024-12-31
[2025-01-06 23:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:22:04] Production.INFO: Date 2025-01-01
[2025-01-06 23:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:22:04] Production.INFO: Date 2025-01-02
[2025-01-06 23:22:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:22:05] Production.INFO: Date 2025-01-03
[2025-01-06 23:22:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:22:05] Production.INFO: Date 2025-01-04
[2025-01-06 23:22:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:22:05] Production.INFO: Date 2025-01-05
[2025-01-06 23:22:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:22:05] Production.INFO: Date 2025-01-06
[2025-01-06 23:22:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:22:05] Production.INFO: Total Charge 0
[2025-01-06 23:22:05] Production.INFO: CreateAllLog End
[2025-01-06 23:22:05] Production.INFO: Account Balance End.
[2025-01-06 23:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:22:05
[end_date_ymd] => 2025-01-06 23:22:05
[RateCDR] => 1
)
[2025-01-06 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-06 20:22:05' and `end` < '2025-01-06 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-06 23:22:05] Production.ERROR: CronJobId end 12
[2025-01-06 23:22:05] Production.INFO: ==7784== Releasing lock...
[2025-01-06 23:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:22:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:22:12] Production.ERROR: CronJobId end10
[2025-01-06 23:22:12] Production.INFO: ==7782== Releasing lock...
[2025-01-06 23:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:22:14] Production.INFO: call_cost start
[2025-01-06 23:22:14] Production.INFO: call_cost end
[2025-01-06 23:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:22:14] Production.INFO: ==7778== Releasing lock...
[2025-01-06 23:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:22:18] Production.INFO: count ==689
[2025-01-06 23:22:18] Production.ERROR: pbx CDR StartTime 2025-01-06 20:22:05 - End Time 2025-01-06 23:22:05
[2025-01-06 23:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190890', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190890', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190890', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190890', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:22:18] Production.INFO: ProcessCDR(1,14190890,1,1,2)
[2025-01-06 23:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190890,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190890,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190890,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190890,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190890', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190890', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:22:22] Production.INFO: ==7786== Releasing lock...
[2025-01-06 23:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:22:22] Production.INFO: 32.5 MB #Memory Used#
[2025-01-07 04:23:02] Production.INFO: ==7847== Lock acquired, processing the job...
[2025-01-07 04:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:23:02] Production.INFO: neon service started
[2025-01-07 04:23:02] Production.INFO: neon service started
[2025-01-07 04:23:02] Production.INFO: ==7847== Releasing lock...
[2025-01-07 04:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:23:02] Production.INFO: ==7852== Lock acquired, processing the job...
[2025-01-07 04:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:23:02] Production.INFO: ==7852== Releasing lock...
[2025-01-07 04:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:23:02] Production.INFO: ==7850== Lock acquired, processing the job...
[2025-01-06 23:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 23:23:02] Production.INFO: ==7850== Releasing lock...
[2025-01-06 23:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 23:23:03] Production.INFO: ==7854== Lock acquired, processing the job...
[2025-01-06 23:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:23:03] Production.INFO: ==7856== Lock acquired, processing the job...
[2025-01-06 23:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:23:03] Production.INFO: ==7862== Lock acquired, processing the job...
[2025-01-06 23:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:23:03] Production.INFO: ==7864== Lock acquired, processing the job...
[2025-01-06 23:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:23:03] Production.INFO: ==7858== Lock acquired, processing the job...
[2025-01-06 23:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:23:03] Production.INFO: ==7856== Releasing lock...
[2025-01-06 23:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:23:03] Production.INFO: ==7860== Lock acquired, processing the job...
[2025-01-06 23:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:23:03] Production.INFO: count ==21
[2025-01-06 23:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:23:03] Production.ERROR: done
[2025-01-06 23:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:23:03] Production.INFO: count ==21
[2025-01-06 23:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:23:03] Production.INFO: Account Balance Start.
[2025-01-06 23:23:03] Production.INFO: CreateAllLog Start
[2025-01-06 23:23:03] Production.INFO: 117
[2025-01-06 23:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190893') start
[2025-01-06 23:23:03] Production.INFO: Date 2024-12-08
[2025-01-06 23:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:23:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:23:04] Production.INFO: Date 2024-12-09
[2025-01-06 23:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190893') end
[2025-01-06 23:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:23:04] Production.INFO: 1
[2025-01-06 23:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:23:04] Production.INFO: Date 2024-12-10
[2025-01-06 23:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:23:04] Production.INFO: ==7864== Releasing lock...
[2025-01-06 23:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:23:04] Production.ERROR: done
[2025-01-06 23:23:04] Production.INFO: Date 2024-12-11
[2025-01-06 23:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:23:04] Production.INFO: Date 2024-12-12
[2025-01-06 23:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:23:04] Production.INFO: Date 2024-12-13
[2025-01-06 23:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:23:04] Production.INFO: Date 2024-12-14
[2025-01-06 23:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:23:04] Production.INFO: Date 2024-12-15
[2025-01-06 23:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:23:04] Production.INFO: Date 2024-12-16
[2025-01-06 23:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:23:04] Production.INFO: Date 2024-12-17
[2025-01-06 23:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:23:04] Production.INFO: Date 2024-12-18
[2025-01-06 23:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:23:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:23:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:23:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:23:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:23:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:23:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:23:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:23:04] Production.INFO: Date 2024-12-26
[2025-01-06 23:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:23:04] Production.INFO: Date 2024-12-27
[2025-01-06 23:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:23:04] Production.INFO: Date 2024-12-28
[2025-01-06 23:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:23:04] Production.INFO: Date 2024-12-29
[2025-01-06 23:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:23:04] Production.INFO: Date 2024-12-30
[2025-01-06 23:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:23:04] Production.INFO: Date 2024-12-31
[2025-01-06 23:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:23:04] Production.INFO: Date 2025-01-01
[2025-01-06 23:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:23:04] Production.INFO: Date 2025-01-02
[2025-01-06 23:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:23:04] Production.INFO: Date 2025-01-03
[2025-01-06 23:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:23:04] Production.INFO: Date 2025-01-04
[2025-01-06 23:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:23:04] Production.INFO: Date 2025-01-05
[2025-01-06 23:23:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:23:05] Production.INFO: Date 2025-01-06
[2025-01-06 23:23:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:23:05] Production.INFO: Total Charge 0
[2025-01-06 23:23:05] Production.INFO: CreateAllLog End
[2025-01-06 23:23:05] Production.INFO: Account Balance End.
[2025-01-06 23:23:05] Production.ERROR: CronJobId end 12
[2025-01-06 23:23:05] Production.INFO: ==7860== Releasing lock...
[2025-01-06 23:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:23:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:23:05
[end_date_ymd] => 2025-01-06 23:23:05
[RateCDR] => 1
)
[2025-01-06 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-06 20:23:05' and `end` < '2025-01-06 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-06 23:23:11] Production.ERROR: CronJobId end10
[2025-01-06 23:23:11] Production.INFO: ==7858== Releasing lock...
[2025-01-06 23:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:23:14] Production.INFO: call_cost start
[2025-01-06 23:23:14] Production.INFO: call_cost end
[2025-01-06 23:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:23:14] Production.INFO: ==7854== Releasing lock...
[2025-01-06 23:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:23:19] Production.INFO: count ==690
[2025-01-06 23:23:19] Production.ERROR: pbx CDR StartTime 2025-01-06 20:23:05 - End Time 2025-01-06 23:23:05
[2025-01-06 23:23:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190895', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190895', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190895', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190895', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:23:19] Production.INFO: ProcessCDR(1,14190895,1,1,2)
[2025-01-06 23:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190895,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:23:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190895,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:23:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190895,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:23:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190895,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190895', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:23:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190895', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:23:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:23:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:23:24] Production.INFO: ==7862== Releasing lock...
[2025-01-06 23:23:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:23:24] Production.INFO: 32.75 MB #Memory Used#
[2025-01-07 04:24:01] Production.INFO: ==7921== Lock acquired, processing the job...
[2025-01-07 04:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:24:01] Production.INFO: neon service started
[2025-01-07 04:24:01] Production.INFO: neon service started
[2025-01-07 04:24:01] Production.INFO: ==7921== Releasing lock...
[2025-01-07 04:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:24:01] Production.INFO: ==7926== Lock acquired, processing the job...
[2025-01-07 04:24:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:24:01] Production.INFO: ==7926== Releasing lock...
[2025-01-07 04:24:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:24:01] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:24:01] Production.INFO: ==7924== Lock acquired, processing the job...
[2025-01-06 23:24:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 23:24:02] Production.INFO: ==7924== Releasing lock...
[2025-01-06 23:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 23:24:03] Production.INFO: ==7929== Lock acquired, processing the job...
[2025-01-06 23:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:24:03] Production.INFO: ==7931== Lock acquired, processing the job...
[2025-01-06 23:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:24:03] Production.INFO: ==7933== Lock acquired, processing the job...
[2025-01-06 23:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:24:03] Production.INFO: ==7931== Releasing lock...
[2025-01-06 23:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:24:03] Production.INFO: ==7935== Lock acquired, processing the job...
[2025-01-06 23:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:24:03] Production.INFO: Account Balance Start.
[2025-01-06 23:24:03] Production.INFO: CreateAllLog Start
[2025-01-06 23:24:03] Production.INFO: 117
[2025-01-06 23:24:03] Production.INFO: Date 2024-12-08
[2025-01-06 23:24:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:24:03] Production.INFO: ==7937== Lock acquired, processing the job...
[2025-01-06 23:24:03] Production.INFO: ==7939== Lock acquired, processing the job...
[2025-01-06 23:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:24:03] Production.INFO: Date 2024-12-09
[2025-01-06 23:24:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:24:03] Production.INFO: Date 2024-12-10
[2025-01-06 23:24:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:24:03] Production.INFO: Date 2024-12-11
[2025-01-06 23:24:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:24:03] Production.INFO: Date 2024-12-12
[2025-01-06 23:24:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:24:03] Production.INFO: Date 2024-12-13
[2025-01-06 23:24:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:24:03] Production.INFO: Date 2024-12-14
[2025-01-06 23:24:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:24:03] Production.INFO: count ==21
[2025-01-06 23:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:24:03] Production.INFO: count ==21
[2025-01-06 23:24:03] Production.INFO: Date 2024-12-15
[2025-01-06 23:24:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190899') start
[2025-01-06 23:24:03] Production.INFO: Date 2024-12-16
[2025-01-06 23:24:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:24:03] Production.INFO: Date 2024-12-17
[2025-01-06 23:24:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:24:04] Production.INFO: Date 2024-12-18
[2025-01-06 23:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:24:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:24:04] Production.ERROR: done
[2025-01-06 23:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190899') end
[2025-01-06 23:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:24:04] Production.INFO: 1
[2025-01-06 23:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:24:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:24:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:24:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:24:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:24:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:24:04] Production.ERROR: done
[2025-01-06 23:24:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:24:04] Production.INFO: ==7939== Releasing lock...
[2025-01-06 23:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:24:04] Production.INFO: Date 2024-12-26
[2025-01-06 23:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:24:04] Production.INFO: Date 2024-12-27
[2025-01-06 23:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:24:04] Production.INFO: Date 2024-12-28
[2025-01-06 23:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:24:04] Production.INFO: Date 2024-12-29
[2025-01-06 23:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:24:04] Production.INFO: Date 2024-12-30
[2025-01-06 23:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:24:04] Production.INFO: Date 2024-12-31
[2025-01-06 23:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:24:04] Production.INFO: Date 2025-01-01
[2025-01-06 23:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:24:04] Production.INFO: Date 2025-01-02
[2025-01-06 23:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:24:04] Production.INFO: Date 2025-01-03
[2025-01-06 23:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:24:04] Production.INFO: Date 2025-01-04
[2025-01-06 23:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:24:04] Production.INFO: Date 2025-01-05
[2025-01-06 23:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:24:04] Production.INFO: Date 2025-01-06
[2025-01-06 23:24:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:24:04] Production.INFO: Total Charge 0
[2025-01-06 23:24:04] Production.INFO: CreateAllLog End
[2025-01-06 23:24:04] Production.INFO: Account Balance End.
[2025-01-06 23:24:04] Production.ERROR: CronJobId end 12
[2025-01-06 23:24:04] Production.INFO: ==7935== Releasing lock...
[2025-01-06 23:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:24:05
[end_date_ymd] => 2025-01-06 23:24:05
[RateCDR] => 1
)
[2025-01-06 23:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 20:24:05' and `end` < '2025-01-06 23:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 23:24:12] Production.ERROR: CronJobId end10
[2025-01-06 23:24:12] Production.INFO: ==7933== Releasing lock...
[2025-01-06 23:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:24:13] Production.INFO: call_cost start
[2025-01-06 23:24:13] Production.INFO: call_cost end
[2025-01-06 23:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:24:14] Production.INFO: ==7929== Releasing lock...
[2025-01-06 23:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:24:19] Production.INFO: count ==679
[2025-01-06 23:24:19] Production.ERROR: pbx CDR StartTime 2025-01-06 20:24:05 - End Time 2025-01-06 23:24:05
[2025-01-06 23:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190900', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190900', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190900', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190900', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:24:19] Production.INFO: ProcessCDR(1,14190900,1,1,2)
[2025-01-06 23:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190900,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190900,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190900,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190900,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190900', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190900', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:24:22] Production.INFO: ==7937== Releasing lock...
[2025-01-06 23:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:24:22] Production.INFO: 32.5 MB #Memory Used#
[2025-01-07 04:25:01] Production.INFO: ==7995== Lock acquired, processing the job...
[2025-01-07 04:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:25:01] Production.INFO: neon service started
[2025-01-07 04:25:01] Production.INFO: neon service started
[2025-01-07 04:25:01] Production.INFO: ==7995== Releasing lock...
[2025-01-07 04:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 23:25:02] Production.INFO: ==7997== Lock acquired, processing the job...
[2025-01-06 23:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 23:25:02] Production.INFO: ==7997== Releasing lock...
[2025-01-06 23:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:25:02] Production.INFO: ==7999== Lock acquired, processing the job...
[2025-01-07 04:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:25:02] Production.INFO: ==7999== Releasing lock...
[2025-01-07 04:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:25:03] Production.INFO: ==8006== Lock acquired, processing the job...
[2025-01-06 23:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:25:03] Production.INFO: ==8008== Lock acquired, processing the job...
[2025-01-06 23:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:25:03] Production.INFO: Account Balance Start.
[2025-01-06 23:25:03] Production.INFO: CreateAllLog Start
[2025-01-06 23:25:03] Production.INFO: 117
[2025-01-06 23:25:03] Production.INFO: Date 2024-12-08
[2025-01-06 23:25:03] Production.INFO: ==8002== Lock acquired, processing the job...
[2025-01-06 23:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:25:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:25:03] Production.INFO: Date 2024-12-09
[2025-01-06 23:25:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:25:03] Production.INFO: ==8004== Lock acquired, processing the job...
[2025-01-06 23:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:25:03] Production.INFO: Date 2024-12-10
[2025-01-06 23:25:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:25:03] Production.INFO: Date 2024-12-11
[2025-01-06 23:25:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:25:03] Production.INFO: Date 2024-12-12
[2025-01-06 23:25:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:25:03] Production.INFO: ==8010== Lock acquired, processing the job...
[2025-01-06 23:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:25:03] Production.INFO: Date 2024-12-13
[2025-01-06 23:25:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:25:03] Production.INFO: ==8012== Lock acquired, processing the job...
[2025-01-06 23:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:25:03] Production.INFO: Date 2024-12-14
[2025-01-06 23:25:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:25:03] Production.INFO: Date 2024-12-15
[2025-01-06 23:25:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:25:03] Production.INFO: Date 2024-12-16
[2025-01-06 23:25:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:25:03] Production.INFO: Date 2024-12-17
[2025-01-06 23:25:03] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 23:25:03] Production.INFO: count ==21
[2025-01-06 23:25:03] Production.INFO: Date 2024-12-18
[2025-01-06 23:25:04] Production.INFO: ==8004== Releasing lock...
[2025-01-06 23:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 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-06 23:25:04] Production.INFO: count ==21
[2025-01-06 23:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190904') start
[2025-01-06 23:25:04] Production.ERROR: done
[2025-01-06 23:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:25:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190904') end
[2025-01-06 23:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:25:04] Production.INFO: 1
[2025-01-06 23:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:25:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:25:04] Production.INFO: ==8012== Releasing lock...
[2025-01-06 23:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:25:04] Production.ERROR: done
[2025-01-06 23:25:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:25:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:25:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:25:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:25:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:25:04] Production.INFO: Date 2024-12-26
[2025-01-06 23:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:25:04] Production.INFO: Date 2024-12-27
[2025-01-06 23:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:25:04] Production.INFO: Date 2024-12-28
[2025-01-06 23:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:25:04] Production.INFO: Date 2024-12-29
[2025-01-06 23:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:25:04] Production.INFO: Date 2024-12-30
[2025-01-06 23:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:25:04] Production.INFO: Date 2024-12-31
[2025-01-06 23:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:25:04] Production.INFO: Date 2025-01-01
[2025-01-06 23:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:25:04] Production.INFO: Date 2025-01-02
[2025-01-06 23:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:25:04] Production.INFO: Date 2025-01-03
[2025-01-06 23:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:25:04] Production.INFO: Date 2025-01-04
[2025-01-06 23:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:25:04] Production.INFO: Date 2025-01-05
[2025-01-06 23:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:25:04] Production.INFO: Date 2025-01-06
[2025-01-06 23:25:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:25:04] Production.INFO: Total Charge 0
[2025-01-06 23:25:04] Production.INFO: CreateAllLog End
[2025-01-06 23:25:05] Production.INFO: Account Balance End.
[2025-01-06 23:25:05] Production.ERROR: CronJobId end 12
[2025-01-06 23:25:05] Production.INFO: ==8008== Releasing lock...
[2025-01-06 23:25:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:25:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:25:05
[end_date_ymd] => 2025-01-06 23:25:05
[RateCDR] => 1
)
[2025-01-06 23:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 20:25:05' and `end` < '2025-01-06 23:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 23:25:13] Production.ERROR: CronJobId end10
[2025-01-06 23:25:13] Production.INFO: ==8006== Releasing lock...
[2025-01-06 23:25:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:25:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:25:14] Production.INFO: call_cost start
[2025-01-06 23:25:14] Production.INFO: call_cost end
[2025-01-06 23:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:25:14] Production.INFO: ==8002== Releasing lock...
[2025-01-06 23:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:25:18] Production.INFO: count ==680
[2025-01-06 23:25:18] Production.ERROR: pbx CDR StartTime 2025-01-06 20:25:05 - End Time 2025-01-06 23:25:05
[2025-01-06 23:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190905', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190905', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190905', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190905', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:25:18] Production.INFO: ProcessCDR(1,14190905,1,1,2)
[2025-01-06 23:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190905,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190905,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190905,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190905,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190905', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190905', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:25:21] Production.INFO: ==8010== Releasing lock...
[2025-01-06 23:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:25:21] Production.INFO: 32.5 MB #Memory Used#
[2025-01-07 04:26:02] Production.INFO: ==8072== Lock acquired, processing the job...
[2025-01-07 04:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:26:02] Production.INFO: neon service started
[2025-01-07 04:26:02] Production.INFO: neon service started
[2025-01-07 04:26:02] Production.INFO: ==8072== Releasing lock...
[2025-01-07 04:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 23:26:03] Production.INFO: ==8074== Lock acquired, processing the job...
[2025-01-06 23:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:26:03] Production.INFO: ==8076== Lock acquired, processing the job...
[2025-01-07 04:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:26:03] Production.INFO: ==8076== Releasing lock...
[2025-01-07 04:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:26:03] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:26:03] Production.INFO: ==8074== Releasing lock...
[2025-01-06 23:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:26:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 23:26:04] Production.INFO: ==8079== Lock acquired, processing the job...
[2025-01-06 23:26:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:26:04] Production.INFO: ==8089== Lock acquired, processing the job...
[2025-01-06 23:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 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-06 23:26:04] Production.INFO: ==8081== Lock acquired, processing the job...
[2025-01-06 23:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:26:04] Production.INFO: ==8083== Lock acquired, processing the job...
[2025-01-06 23:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:26:04] Production.INFO: count ==21
[2025-01-06 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-06 23:26:04] Production.INFO: count ==21
[2025-01-06 23:26:04] Production.INFO: ==8085== Lock acquired, processing the job...
[2025-01-06 23:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190907') start
[2025-01-06 23:26:04] Production.INFO: ==8087== Lock acquired, processing the job...
[2025-01-06 23:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190907') end
[2025-01-06 23:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:26:04] Production.INFO: 1
[2025-01-06 23:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:26:04] Production.INFO: Account Balance Start.
[2025-01-06 23:26:04] Production.INFO: CreateAllLog Start
[2025-01-06 23:26:04] Production.INFO: 117
[2025-01-06 23:26:04] Production.INFO: Date 2024-12-08
[2025-01-06 23:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:26:04] Production.INFO: ==8089== Releasing lock...
[2025-01-06 23:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:26:04] Production.INFO: Date 2024-12-09
[2025-01-06 23:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:26:04] Production.INFO: Date 2024-12-10
[2025-01-06 23:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:26:04] Production.INFO: Date 2024-12-11
[2025-01-06 23:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:26:04] Production.ERROR: done
[2025-01-06 23:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:26:04] Production.INFO: ==8081== Releasing lock...
[2025-01-06 23:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:26:04] Production.INFO: Date 2024-12-12
[2025-01-06 23:26:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:26:05] Production.INFO: Date 2024-12-13
[2025-01-06 23:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:26:05] Production.INFO: Date 2024-12-14
[2025-01-06 23:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:26:05] Production.INFO: Date 2024-12-15
[2025-01-06 23:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:26:05] Production.ERROR: done
[2025-01-06 23:26:05] Production.INFO: Date 2024-12-16
[2025-01-06 23:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:26:05] Production.INFO: Date 2024-12-17
[2025-01-06 23:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:26:05] Production.INFO: Date 2024-12-18
[2025-01-06 23:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:26:05] Production.INFO: Date 2024-12-19
[2025-01-06 23:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:26:05] Production.INFO: Date 2024-12-20
[2025-01-06 23:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:26:05] Production.INFO: Date 2024-12-21
[2025-01-06 23:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:26:05] Production.INFO: Date 2024-12-22
[2025-01-06 23:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:26:05] Production.INFO: Date 2024-12-23
[2025-01-06 23:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:26:05] Production.INFO: Date 2024-12-24
[2025-01-06 23:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:26:05] Production.INFO: Date 2024-12-25
[2025-01-06 23:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:26:05] Production.INFO: Date 2024-12-26
[2025-01-06 23:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:26:05] Production.INFO: Date 2024-12-27
[2025-01-06 23:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:26:05] Production.INFO: Date 2024-12-28
[2025-01-06 23:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:26:05] Production.INFO: Date 2024-12-29
[2025-01-06 23:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:26:05] Production.INFO: Date 2024-12-30
[2025-01-06 23:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:26:05] Production.INFO: Date 2024-12-31
[2025-01-06 23:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:26:05] Production.INFO: Date 2025-01-01
[2025-01-06 23:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:26:05] Production.INFO: Date 2025-01-02
[2025-01-06 23:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:26:05] Production.INFO: Date 2025-01-03
[2025-01-06 23:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:26:05] Production.INFO: Date 2025-01-04
[2025-01-06 23:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:26:05] Production.INFO: Date 2025-01-05
[2025-01-06 23:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:26:05] Production.INFO: Date 2025-01-06
[2025-01-06 23:26:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:26:05] Production.INFO: Total Charge 0
[2025-01-06 23:26:05] Production.INFO: CreateAllLog End
[2025-01-06 23:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:26:05
[end_date_ymd] => 2025-01-06 23:26:05
[RateCDR] => 1
)
[2025-01-06 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-06 20:26:05' and `end` < '2025-01-06 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-06 23:26:06] Production.INFO: Account Balance End.
[2025-01-06 23:26:06] Production.ERROR: CronJobId end 12
[2025-01-06 23:26:06] Production.INFO: ==8085== Releasing lock...
[2025-01-06 23:26:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:26:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:26:12] Production.ERROR: CronJobId end10
[2025-01-06 23:26:12] Production.INFO: ==8083== Releasing lock...
[2025-01-06 23:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:26:13] Production.INFO: call_cost start
[2025-01-06 23:26:13] Production.INFO: call_cost end
[2025-01-06 23:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:26:14] Production.INFO: ==8079== Releasing lock...
[2025-01-06 23:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:26:19] Production.INFO: count ==681
[2025-01-06 23:26:19] Production.ERROR: pbx CDR StartTime 2025-01-06 20:26:05 - End Time 2025-01-06 23:26:05
[2025-01-06 23:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190910', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190910', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190910', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190910', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:26:20] Production.INFO: ProcessCDR(1,14190910,1,1,2)
[2025-01-06 23:26:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190910,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:26:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190910,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:26:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190910,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:26:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190910,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:26:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190910', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:26:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190910', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:26:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:26:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:26:24] Production.INFO: ==8087== Releasing lock...
[2025-01-06 23:26:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:26:24] Production.INFO: 32.5 MB #Memory Used#
[2025-01-07 04:27:01] Production.INFO: ==8144== Lock acquired, processing the job...
[2025-01-07 04:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:27:01] Production.INFO: neon service started
[2025-01-07 04:27:01] Production.INFO: neon service started
[2025-01-07 04:27:01] Production.INFO: ==8144== Releasing lock...
[2025-01-07 04:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:27:02] Production.INFO: ==8148== Lock acquired, processing the job...
[2025-01-07 04:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:27:02] Production.INFO: ==8148== Releasing lock...
[2025-01-07 04:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:27:02] Production.INFO: ==8146== Lock acquired, processing the job...
[2025-01-06 23:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 23:27:02] Production.INFO: ==8146== Releasing lock...
[2025-01-06 23:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:27:02] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:27:03] Production.INFO: ==8151== Lock acquired, processing the job...
[2025-01-06 23:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:27:03] Production.INFO: ==8157== Lock acquired, processing the job...
[2025-01-06 23:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:27:03] Production.INFO: ==8159== Lock acquired, processing the job...
[2025-01-06 23:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:27:03] Production.INFO: Account Balance Start.
[2025-01-06 23:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:27:03] Production.INFO: CreateAllLog Start
[2025-01-06 23:27:03] Production.INFO: 117
[2025-01-06 23:27:03] Production.INFO: Date 2024-12-08
[2025-01-06 23:27:03] Production.INFO: ==8153== Lock acquired, processing the job...
[2025-01-06 23:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:27:03] Production.INFO: ==8155== Lock acquired, processing the job...
[2025-01-06 23:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:27:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:27:03] Production.INFO: Date 2024-12-09
[2025-01-06 23:27:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:27:03] Production.INFO: Date 2024-12-10
[2025-01-06 23:27:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:27:03] Production.INFO: ==8162== Lock acquired, processing the job...
[2025-01-06 23:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:27:03] Production.INFO: Date 2024-12-11
[2025-01-06 23:27:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:27:04] Production.INFO: Date 2024-12-12
[2025-01-06 23:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:27:04] Production.ERROR: done
[2025-01-06 23:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:27:04] Production.INFO: Date 2024-12-13
[2025-01-06 23:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:27:04] Production.INFO: count ==21
[2025-01-06 23:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:27:04] Production.INFO: count ==21
[2025-01-06 23:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190914') start
[2025-01-06 23:27:04] Production.INFO: Date 2024-12-14
[2025-01-06 23:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:27:04] Production.INFO: Date 2024-12-15
[2025-01-06 23:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:27:04] Production.ERROR: done
[2025-01-06 23:27:04] Production.INFO: Date 2024-12-16
[2025-01-06 23:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:27:04] Production.INFO: ==8153== Releasing lock...
[2025-01-06 23:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190914') end
[2025-01-06 23:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:27:04] Production.INFO: 1
[2025-01-06 23:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:27:04] Production.INFO: Date 2024-12-17
[2025-01-06 23:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:27:04] Production.INFO: ==8162== Releasing lock...
[2025-01-06 23:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:27:04] Production.INFO: Date 2024-12-18
[2025-01-06 23:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:27:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:27:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:27:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:27:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:27:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:27:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:27:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:27:04] Production.INFO: Date 2024-12-26
[2025-01-06 23:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:27:04] Production.INFO: Date 2024-12-27
[2025-01-06 23:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:27:04] Production.INFO: Date 2024-12-28
[2025-01-06 23:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:27:04] Production.INFO: Date 2024-12-29
[2025-01-06 23:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:27:04] Production.INFO: Date 2024-12-30
[2025-01-06 23:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:27:04] Production.INFO: Date 2024-12-31
[2025-01-06 23:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:27:04] Production.INFO: Date 2025-01-01
[2025-01-06 23:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:27:04] Production.INFO: Date 2025-01-02
[2025-01-06 23:27:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:27:05] Production.INFO: Date 2025-01-03
[2025-01-06 23:27:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:27:05] Production.INFO: Date 2025-01-04
[2025-01-06 23:27:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:27:05] Production.INFO: Date 2025-01-05
[2025-01-06 23:27:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:27:05] Production.INFO: Date 2025-01-06
[2025-01-06 23:27:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:27:05] Production.INFO: Total Charge 0
[2025-01-06 23:27:05] Production.INFO: CreateAllLog End
[2025-01-06 23:27:05] Production.INFO: Account Balance End.
[2025-01-06 23:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:27:05
[end_date_ymd] => 2025-01-06 23:27:05
[RateCDR] => 1
)
[2025-01-06 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-06 20:27:05' and `end` < '2025-01-06 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-06 23:27:05] Production.ERROR: CronJobId end 12
[2025-01-06 23:27:05] Production.INFO: ==8157== Releasing lock...
[2025-01-06 23:27:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:27:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:27:13] Production.ERROR: CronJobId end10
[2025-01-06 23:27:13] Production.INFO: ==8155== Releasing lock...
[2025-01-06 23:27:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:27:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:27:14] Production.INFO: call_cost start
[2025-01-06 23:27:14] Production.INFO: call_cost end
[2025-01-06 23:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:27:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:27:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:27:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:27:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:27:15] Production.INFO: ==8151== Releasing lock...
[2025-01-06 23:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:27:18] Production.INFO: count ==680
[2025-01-06 23:27:18] Production.ERROR: pbx CDR StartTime 2025-01-06 20:27:05 - End Time 2025-01-06 23:27:05
[2025-01-06 23:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190915', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190915', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190915', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190915', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:27:18] Production.INFO: ProcessCDR(1,14190915,1,1,2)
[2025-01-06 23:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190915,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190915,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190915,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190915,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190915', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190915', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:27:21] Production.INFO: ==8159== Releasing lock...
[2025-01-06 23:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:27:21] Production.INFO: 32.5 MB #Memory Used#
[2025-01-07 04:28:01] Production.INFO: ==8217== Lock acquired, processing the job...
[2025-01-07 04:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:28:01] Production.INFO: neon service started
[2025-01-07 04:28:01] Production.INFO: neon service started
[2025-01-07 04:28:01] Production.INFO: ==8217== Releasing lock...
[2025-01-07 04:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 23:28:01] Production.INFO: ==8219== Lock acquired, processing the job...
[2025-01-06 23:28:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 23:28:02] Production.INFO: ==8219== Releasing lock...
[2025-01-06 23:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:28:02] Production.INFO: ==8221== Lock acquired, processing the job...
[2025-01-07 04:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:28:02] Production.INFO: ==8221== Releasing lock...
[2025-01-07 04:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:28:02] Production.INFO: ==8233== Lock acquired, processing the job...
[2025-01-06 23:28:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:28:02] Production.INFO: ==8231== Lock acquired, processing the job...
[2025-01-06 23:28:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:28:03] Production.INFO: ==8223== Lock acquired, processing the job...
[2025-01-06 23:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:28:03] Production.INFO: ==8225== Lock acquired, processing the job...
[2025-01-06 23:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:28:03] Production.INFO: ==8227== Lock acquired, processing the job...
[2025-01-06 23:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:28:03] Production.INFO: count ==21
[2025-01-06 23:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:28:03] Production.INFO: count ==21
[2025-01-06 23:28:03] Production.INFO: ==8229== Lock acquired, processing the job...
[2025-01-06 23:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190916') start
[2025-01-06 23:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:28:03] Production.INFO: Account Balance Start.
[2025-01-06 23:28:03] Production.INFO: CreateAllLog Start
[2025-01-06 23:28:03] Production.INFO: 117
[2025-01-06 23:28:03] Production.INFO: Date 2024-12-08
[2025-01-06 23:28:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190916') end
[2025-01-06 23:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:28:03] Production.INFO: 1
[2025-01-06 23:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:28:03] Production.INFO: Date 2024-12-09
[2025-01-06 23:28:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:28:03] Production.INFO: ==8233== Releasing lock...
[2025-01-06 23:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:28:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:28:03] Production.ERROR: done
[2025-01-06 23:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:28:03] Production.INFO: Date 2024-12-10
[2025-01-06 23:28:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:28:03] Production.ERROR: done
[2025-01-06 23:28:03] Production.INFO: Date 2024-12-11
[2025-01-06 23:28:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:28:03] Production.INFO: ==8225== Releasing lock...
[2025-01-06 23:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:28:03] Production.INFO: Date 2024-12-12
[2025-01-06 23:28:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:28:03] Production.INFO: Date 2024-12-13
[2025-01-06 23:28:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:28:03] Production.INFO: Date 2024-12-14
[2025-01-06 23:28:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:28:03] Production.INFO: Date 2024-12-15
[2025-01-06 23:28:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:28:03] Production.INFO: Date 2024-12-16
[2025-01-06 23:28:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:28:03] Production.INFO: Date 2024-12-17
[2025-01-06 23:28:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:28:03] Production.INFO: Date 2024-12-18
[2025-01-06 23:28:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:28:03] Production.INFO: Date 2024-12-19
[2025-01-06 23:28:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:28:03] Production.INFO: Date 2024-12-20
[2025-01-06 23:28:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:28:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:28:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:28:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:28:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:28:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:28:04] Production.INFO: Date 2024-12-26
[2025-01-06 23:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:28:04] Production.INFO: Date 2024-12-27
[2025-01-06 23:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:28:04] Production.INFO: Date 2024-12-28
[2025-01-06 23:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:28:04] Production.INFO: Date 2024-12-29
[2025-01-06 23:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:28:04] Production.INFO: Date 2024-12-30
[2025-01-06 23:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:28:04] Production.INFO: Date 2024-12-31
[2025-01-06 23:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:28:04] Production.INFO: Date 2025-01-01
[2025-01-06 23:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:28:04] Production.INFO: Date 2025-01-02
[2025-01-06 23:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:28:04] Production.INFO: Date 2025-01-03
[2025-01-06 23:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:28:04] Production.INFO: Date 2025-01-04
[2025-01-06 23:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:28:04] Production.INFO: Date 2025-01-05
[2025-01-06 23:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:28:04] Production.INFO: Date 2025-01-06
[2025-01-06 23:28:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:28:04] Production.INFO: Total Charge 0
[2025-01-06 23:28:04] Production.INFO: CreateAllLog End
[2025-01-06 23:28:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:28:04
[end_date_ymd] => 2025-01-06 23:28:04
[RateCDR] => 1
)
[2025-01-06 23:28:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 20:28:04' and `end` < '2025-01-06 23:28:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 23:28:04] Production.INFO: Account Balance End.
[2025-01-06 23:28:04] Production.ERROR: CronJobId end 12
[2025-01-06 23:28:04] Production.INFO: ==8229== Releasing lock...
[2025-01-06 23:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:28:11] Production.ERROR: CronJobId end10
[2025-01-06 23:28:11] Production.INFO: ==8227== Releasing lock...
[2025-01-06 23:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:28:12] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:28:12] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:28:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:28:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:28:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:28:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:28:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:28:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:28:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:28:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:28:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:28:12] Production.INFO: call_cost start
[2025-01-06 23:28:12] Production.INFO: call_cost end
[2025-01-06 23:28:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:28:13] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:28:13] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:28:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:28:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:28:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:28:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:28:13] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:28:13] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:28:13] Production.INFO: ==8223== Releasing lock...
[2025-01-06 23:28:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:28:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:28:17] Production.INFO: count ==681
[2025-01-06 23:28:17] Production.ERROR: pbx CDR StartTime 2025-01-06 20:28:04 - End Time 2025-01-06 23:28:04
[2025-01-06 23:28:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190920', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190920', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190920', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190920', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:28:17] Production.INFO: ProcessCDR(1,14190920,1,1,2)
[2025-01-06 23:28:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190920,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190920,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190920,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190920,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190920', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190920', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:28:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:28:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:28:22] Production.INFO: ==8231== Releasing lock...
[2025-01-06 23:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:28:22] Production.INFO: 32.5 MB #Memory Used#
[2025-01-07 04:29:01] Production.INFO: ==8287== Lock acquired, processing the job...
[2025-01-07 04:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:29:01] Production.INFO: neon service started
[2025-01-07 04:29:01] Production.INFO: neon service started
[2025-01-07 04:29:01] Production.INFO: ==8287== Releasing lock...
[2025-01-07 04:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:29:02] Production.INFO: ==8291== Lock acquired, processing the job...
[2025-01-07 04:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:29:02] Production.INFO: ==8291== Releasing lock...
[2025-01-07 04:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:29:02] Production.INFO: ==8289== Lock acquired, processing the job...
[2025-01-06 23:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 23:29:02] Production.INFO: ==8289== Releasing lock...
[2025-01-06 23:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 23:29:03] Production.INFO: ==8300== Lock acquired, processing the job...
[2025-01-06 23:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:29:03] Production.INFO: ==8302== Lock acquired, processing the job...
[2025-01-06 23:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:29:03] Production.INFO: ==8294== Lock acquired, processing the job...
[2025-01-06 23:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:29:03] Production.INFO: Account Balance Start.
[2025-01-06 23:29:03] Production.INFO: CreateAllLog Start
[2025-01-06 23:29:03] Production.INFO: 117
[2025-01-06 23:29:03] Production.INFO: ==8296== Lock acquired, processing the job...
[2025-01-06 23:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:29:03] Production.INFO: Date 2024-12-08
[2025-01-06 23:29:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:29:03] Production.INFO: ==8298== Lock acquired, processing the job...
[2025-01-06 23:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:29:03] Production.INFO: ==8304== Lock acquired, processing the job...
[2025-01-06 23:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:29:03] Production.INFO: Date 2024-12-09
[2025-01-06 23:29:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:29:03] Production.INFO: Date 2024-12-10
[2025-01-06 23:29:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:29:03] Production.INFO: Date 2024-12-11
[2025-01-06 23:29:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:29:03] Production.ERROR: done
[2025-01-06 23:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 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-06 23:29:03] Production.INFO: Date 2024-12-12
[2025-01-06 23:29:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:29:03] Production.INFO: count ==21
[2025-01-06 23:29:03] Production.INFO: Date 2024-12-13
[2025-01-06 23:29:03] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 23:29:03] Production.INFO: count ==21
[2025-01-06 23:29:04] Production.INFO: ==8296== Releasing lock...
[2025-01-06 23:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190924') start
[2025-01-06 23:29:04] Production.ERROR: done
[2025-01-06 23:29:04] Production.INFO: Date 2024-12-14
[2025-01-06 23:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:29:04] Production.INFO: Date 2024-12-15
[2025-01-06 23:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:29:04] Production.INFO: Date 2024-12-16
[2025-01-06 23:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:29:04] Production.INFO: Date 2024-12-17
[2025-01-06 23:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190924') end
[2025-01-06 23:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:29:04] Production.INFO: 1
[2025-01-06 23:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:29:04] Production.INFO: Date 2024-12-18
[2025-01-06 23:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:29:04] Production.INFO: ==8304== Releasing lock...
[2025-01-06 23:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:29:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:29:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:29:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:29:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:29:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:29:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:29:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:29:04] Production.INFO: Date 2024-12-26
[2025-01-06 23:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:29:04] Production.INFO: Date 2024-12-27
[2025-01-06 23:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:29:04] Production.INFO: Date 2024-12-28
[2025-01-06 23:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:29:04] Production.INFO: Date 2024-12-29
[2025-01-06 23:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:29:04] Production.INFO: Date 2024-12-30
[2025-01-06 23:29:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:29:05] Production.INFO: Date 2024-12-31
[2025-01-06 23:29:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:29:05] Production.INFO: Date 2025-01-01
[2025-01-06 23:29:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:29:05] Production.INFO: Date 2025-01-02
[2025-01-06 23:29:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:29:05] Production.INFO: Date 2025-01-03
[2025-01-06 23:29:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:29:05] Production.INFO: Date 2025-01-04
[2025-01-06 23:29:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:29:05
[end_date_ymd] => 2025-01-06 23:29:05
[RateCDR] => 1
)
[2025-01-06 23:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 20:29:05' and `end` < '2025-01-06 23:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 23:29:05] Production.INFO: Date 2025-01-05
[2025-01-06 23:29:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:29:05] Production.INFO: Date 2025-01-06
[2025-01-06 23:29:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:29:05] Production.INFO: Total Charge 0
[2025-01-06 23:29:05] Production.INFO: CreateAllLog End
[2025-01-06 23:29:05] Production.INFO: Account Balance End.
[2025-01-06 23:29:05] Production.ERROR: CronJobId end 12
[2025-01-06 23:29:05] Production.INFO: ==8300== Releasing lock...
[2025-01-06 23:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:29:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:29:13] Production.ERROR: CronJobId end10
[2025-01-06 23:29:13] Production.INFO: ==8298== Releasing lock...
[2025-01-06 23:29:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:29:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:29:14] Production.INFO: call_cost start
[2025-01-06 23:29:14] Production.INFO: call_cost end
[2025-01-06 23:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:29:14] Production.INFO: ==8294== Releasing lock...
[2025-01-06 23:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:29:18] Production.INFO: count ==681
[2025-01-06 23:29:18] Production.ERROR: pbx CDR StartTime 2025-01-06 20:29:05 - End Time 2025-01-06 23:29:05
[2025-01-06 23:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190925', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190925', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190925', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190925', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:29:18] Production.INFO: ProcessCDR(1,14190925,1,1,2)
[2025-01-06 23:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190925,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190925,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190925,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190925,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190925', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190925', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:29:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:29:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:29:21] Production.INFO: ==8302== Releasing lock...
[2025-01-06 23:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:29:21] Production.INFO: 32.5 MB #Memory Used#
[2025-01-07 04:30:02] Production.INFO: ==8360== Lock acquired, processing the job...
[2025-01-07 04:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:30:02] Production.INFO: neon service started
[2025-01-07 04:30:02] Production.INFO: neon service started
[2025-01-07 04:30:02] Production.INFO: ==8360== Releasing lock...
[2025-01-07 04:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 23:30:02] Production.INFO: ==8362== Lock acquired, processing the job...
[2025-01-06 23:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:30:02] Production.INFO: ==8364== Lock acquired, processing the job...
[2025-01-07 04:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:30:02] Production.INFO: ==8364== Releasing lock...
[2025-01-07 04:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:30:03] Production.INFO: ==8362== Releasing lock...
[2025-01-06 23:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 23:30:04] Production.INFO: ==8366== Lock acquired, processing the job...
[2025-01-06 23:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-06 23:30:04] Production.INFO: ==8373== Lock acquired, processing the job...
[2025-01-06 23:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:30:04] Production.INFO: ==8368== Lock acquired, processing the job...
[2025-01-06 23:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-06 23:30:04] Production.INFO: ==8375== Lock acquired, processing the job...
[2025-01-06 23:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 23:30:04] Production.ERROR: CronJob PID - 8368
[2025-01-06 23:30:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-06 23:30:04] Production.ERROR: CronJob ID - 5
[2025-01-06 23:30:04] Production.ERROR: CronJob Last Run Time 2025-01-06 23:30:00
[2025-01-06 23:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 23:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 23:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 23:30:04] Production.ERROR: CronJob PID - 8373
[2025-01-06 23:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-06 23:30:04] Production.ERROR: CronJob ID - 10
[2025-01-06 23:30:04] Production.ERROR: CronJob Last Run Time 2025-01-06 23:30:00
[2025-01-06 23:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 23:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 23:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-06 23:30:04] Production.INFO: ==8366== Releasing lock...
[2025-01-06 23:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-06 23:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-06 23:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:30:04] Production.INFO: ==8370== Lock acquired, processing the job...
[2025-01-06 23:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:30:04] Production.INFO: ==8381== Lock acquired, processing the job...
[2025-01-06 23:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:30:04] Production.INFO: Account Balance Start.
[2025-01-06 23:30:04] Production.INFO: CreateAllLog Start
[2025-01-06 23:30:04] Production.INFO: 117
[2025-01-06 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-06 23:30:04] Production.INFO: Date 2024-12-08
[2025-01-06 23:30:04] Production.INFO: ==8377== Lock acquired, processing the job...
[2025-01-06 23:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:30:04] Production.INFO: count ==21
[2025-01-06 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-06 23:30:04] Production.INFO: count ==21
[2025-01-06 23:30:04] Production.INFO: ==8379== Lock acquired, processing the job...
[2025-01-06 23:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-06 23:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190929') start
[2025-01-06 23:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:30:04] Production.INFO: Date 2024-12-09
[2025-01-06 23:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:30:04] Production.INFO: ==8370== Releasing lock...
[2025-01-06 23:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:30:04] Production.INFO: Date 2024-12-10
[2025-01-06 23:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190929') end
[2025-01-06 23:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:30:04] Production.INFO: 1
[2025-01-06 23:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:30:04] Production.INFO: Date 2024-12-11
[2025-01-06 23:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:30:04] Production.INFO: Date 2024-12-12
[2025-01-06 23:30:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:30:04] Production.INFO: ==8381== Releasing lock...
[2025-01-06 23:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:30:05] Production.ERROR: done
[2025-01-06 23:30:05] Production.ERROR: done
[2025-01-06 23:30:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:30:05] Production.INFO: Date 2024-12-13
[2025-01-06 23:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-06 23:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14190930', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) start
[2025-01-06 23:30:05] Production.INFO: Date 2024-12-14
[2025-01-06 23:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:30:05] Production.INFO: Date 2024-12-15
[2025-01-06 23:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:30:05] Production.ERROR: done
[2025-01-06 23:30:05] Production.INFO: Date 2024-12-16
[2025-01-06 23:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:30:05] Production.INFO: Date 2024-12-17
[2025-01-06 23:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:30:05] Production.INFO: Date 2024-12-18
[2025-01-06 23:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:30:05] Production.INFO: Date 2024-12-19
[2025-01-06 23:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:30:05] Production.INFO: Date 2024-12-20
[2025-01-06 23:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:30:05] Production.INFO: Date 2024-12-21
[2025-01-06 23:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:30:05] Production.INFO: Date 2024-12-22
[2025-01-06 23:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:30:05] Production.INFO: Date 2024-12-23
[2025-01-06 23:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:30:05] Production.INFO: Date 2024-12-24
[2025-01-06 23:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:30:05] Production.INFO: Date 2024-12-25
[2025-01-06 23:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:30:05] Production.INFO: Date 2024-12-26
[2025-01-06 23:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:30:05] Production.INFO: Date 2024-12-27
[2025-01-06 23:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:30:05] Production.INFO: Date 2024-12-28
[2025-01-06 23:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:30:05] Production.INFO: Date 2024-12-29
[2025-01-06 23:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:30:05] Production.INFO: Date 2024-12-30
[2025-01-06 23:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:30:05] Production.INFO: Date 2024-12-31
[2025-01-06 23:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:30:05] Production.INFO: Date 2025-01-01
[2025-01-06 23:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:30:05] Production.INFO: Date 2025-01-02
[2025-01-06 23:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:30:05] Production.INFO: Date 2025-01-03
[2025-01-06 23:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:30:05] Production.INFO: Date 2025-01-04
[2025-01-06 23:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:30:05] Production.INFO: Date 2025-01-05
[2025-01-06 23:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:30:05] Production.INFO: Date 2025-01-06
[2025-01-06 23:30:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:30:05] Production.INFO: Total Charge 0
[2025-01-06 23:30:05] Production.INFO: CreateAllLog End
[2025-01-06 23:30:06] Production.INFO: Account Balance End.
[2025-01-06 23:30:06] Production.ERROR: CronJobId end 12
[2025-01-06 23:30:06] Production.INFO: ==8375== Releasing lock...
[2025-01-06 23:30:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:30:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:30:06
[end_date_ymd] => 2025-01-06 23:30:06
[RateCDR] => 1
)
[2025-01-06 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-06 20:30:06' and `end` < '2025-01-06 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-06 23:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14190930', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) end
[2025-01-06 23:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-06 23:30:09] Production.INFO: ProcessCDR(1,14190930,1,1,2)
[2025-01-06 23:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14190930,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14190930,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:30:09] Production.INFO: ==8379== Releasing lock...
[2025-01-06 23:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-06 23:30:09] Production.INFO: 26 MB #Memory Used#
[2025-01-06 23:30:14] Production.ERROR: CronJobId end10
[2025-01-06 23:30:14] Production.INFO: ==8373== Releasing lock...
[2025-01-06 23:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:30:15] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:30:15] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:30:15] Production.INFO: call_cost start
[2025-01-06 23:30:15] Production.INFO: call_cost end
[2025-01-06 23:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:30:16] Production.INFO: ==8368== Releasing lock...
[2025-01-06 23:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:30:19] Production.INFO: count ==682
[2025-01-06 23:30:19] Production.ERROR: pbx CDR StartTime 2025-01-06 20:30:06 - End Time 2025-01-06 23:30:06
[2025-01-06 23:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190931', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190931', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190931', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190931', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:30:19] Production.INFO: ProcessCDR(1,14190931,1,1,2)
[2025-01-06 23:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190931,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:30:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190931,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:30:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190931,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:30:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190931,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190931', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190931', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:30:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:30:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:30:23] Production.INFO: ==8377== Releasing lock...
[2025-01-06 23:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:30:23] Production.INFO: 32.5 MB #Memory Used#
[2025-01-07 04:31:01] Production.INFO: ==8435== Lock acquired, processing the job...
[2025-01-07 04:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:31:01] Production.INFO: neon service started
[2025-01-07 04:31:01] Production.INFO: neon service started
[2025-01-07 04:31:01] Production.INFO: ==8435== Releasing lock...
[2025-01-07 04:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 23:31:02] Production.INFO: ==8437== Lock acquired, processing the job...
[2025-01-06 23:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 23:31:02] Production.INFO: ==8437== Releasing lock...
[2025-01-06 23:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:31:02] Production.INFO: ==8439== Lock acquired, processing the job...
[2025-01-07 04:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:31:02] Production.INFO: ==8439== Releasing lock...
[2025-01-07 04:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:31:02] Production.INFO: 26 MB #Memory Used#
[2025-01-06 23:31:03] Production.INFO: ==8441== Lock acquired, processing the job...
[2025-01-06 23:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:31:03] Production.INFO: ==8444== Lock acquired, processing the job...
[2025-01-06 23:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:31:03] Production.INFO: ==8448== Lock acquired, processing the job...
[2025-01-06 23:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:31:03] Production.INFO: Account Balance Start.
[2025-01-06 23:31:03] Production.INFO: CreateAllLog Start
[2025-01-06 23:31:03] Production.INFO: 117
[2025-01-06 23:31:03] Production.INFO: Date 2024-12-08
[2025-01-06 23:31:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:31:03] Production.INFO: Date 2024-12-09
[2025-01-06 23:31:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:31:03] Production.INFO: Date 2024-12-10
[2025-01-06 23:31:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:31:03] Production.INFO: Date 2024-12-11
[2025-01-06 23:31:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:31:03] Production.INFO: Date 2024-12-12
[2025-01-06 23:31:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:31:03] Production.INFO: Date 2024-12-13
[2025-01-06 23:31:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:31:03] Production.INFO: ==8444== Releasing lock...
[2025-01-06 23:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:31:03] Production.INFO: Date 2024-12-14
[2025-01-06 23:31:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:31:03] Production.INFO: ==8446== Lock acquired, processing the job...
[2025-01-06 23:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:31:03] Production.INFO: Date 2024-12-15
[2025-01-06 23:31:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:31:03] Production.INFO: Date 2024-12-16
[2025-01-06 23:31:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:31:03] Production.INFO: Date 2024-12-17
[2025-01-06 23:31:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:31:03] Production.INFO: ==8450== Lock acquired, processing the job...
[2025-01-06 23:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:31:03] Production.INFO: ==8452== Lock acquired, processing the job...
[2025-01-06 23:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:31:03] Production.INFO: Date 2024-12-18
[2025-01-06 23:31:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:31:03] Production.INFO: Date 2024-12-19
[2025-01-06 23:31:03] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 23:31:03] Production.INFO: Date 2024-12-20
[2025-01-06 23:31:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:31:03] Production.INFO: count ==21
[2025-01-06 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-06 23:31:03] Production.INFO: count ==21
[2025-01-06 23:31:03] Production.INFO: Date 2024-12-21
[2025-01-06 23:31:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190935') start
[2025-01-06 23:31:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:31:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:31:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:31:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190935') end
[2025-01-06 23:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:31:04] Production.INFO: 1
[2025-01-06 23:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:31:04] Production.ERROR: done
[2025-01-06 23:31:04] Production.INFO: Date 2024-12-26
[2025-01-06 23:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:31:04] Production.INFO: ==8452== Releasing lock...
[2025-01-06 23:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:31:04] Production.INFO: Date 2024-12-27
[2025-01-06 23:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:31:04] Production.INFO: Date 2024-12-28
[2025-01-06 23:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:31:04] Production.INFO: Date 2024-12-29
[2025-01-06 23:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:31:04] Production.ERROR: done
[2025-01-06 23:31:04] Production.INFO: Date 2024-12-30
[2025-01-06 23:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:31:04] Production.INFO: Date 2024-12-31
[2025-01-06 23:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:31:04] Production.INFO: Date 2025-01-01
[2025-01-06 23:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:31:04] Production.INFO: Date 2025-01-02
[2025-01-06 23:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:31:04] Production.INFO: Date 2025-01-03
[2025-01-06 23:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:31:04] Production.INFO: Date 2025-01-04
[2025-01-06 23:31:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:31:05] Production.INFO: Date 2025-01-05
[2025-01-06 23:31:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:31:05] Production.INFO: Date 2025-01-06
[2025-01-06 23:31:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:31:05] Production.INFO: Total Charge 0
[2025-01-06 23:31:05] Production.INFO: CreateAllLog End
[2025-01-06 23:31:05] Production.INFO: Account Balance End.
[2025-01-06 23:31:05] Production.ERROR: CronJobId end 12
[2025-01-06 23:31:05] Production.INFO: ==8448== Releasing lock...
[2025-01-06 23:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:31:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:31:05
[end_date_ymd] => 2025-01-06 23:31:05
[RateCDR] => 1
)
[2025-01-06 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-06 20:31:05' and `end` < '2025-01-06 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-06 23:31:12] Production.ERROR: CronJobId end10
[2025-01-06 23:31:12] Production.INFO: ==8446== Releasing lock...
[2025-01-06 23:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:31:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:31:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:31:14] Production.INFO: call_cost start
[2025-01-06 23:31:14] Production.INFO: call_cost end
[2025-01-06 23:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:31:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:31:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:31:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:31:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:31:15] Production.INFO: ==8441== Releasing lock...
[2025-01-06 23:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:31:18] Production.INFO: count ==699
[2025-01-06 23:31:18] Production.ERROR: pbx CDR StartTime 2025-01-06 20:31:05 - End Time 2025-01-06 23:31:05
[2025-01-06 23:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190936', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190936', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190936', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190936', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:31:18] Production.INFO: ProcessCDR(1,14190936,1,1,2)
[2025-01-06 23:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190936,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190936,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190936,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190936,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190936', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190936', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:31:21] Production.INFO: ==8450== Releasing lock...
[2025-01-06 23:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:31:21] Production.INFO: 32.75 MB #Memory Used#
[2025-01-07 04:32:02] Production.INFO: ==8505== Lock acquired, processing the job...
[2025-01-07 04:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:32:02] Production.INFO: neon service started
[2025-01-07 04:32:02] Production.INFO: neon service started
[2025-01-07 04:32:02] Production.INFO: ==8505== Releasing lock...
[2025-01-07 04:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 23:32:02] Production.INFO: ==8508== Lock acquired, processing the job...
[2025-01-06 23:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:32:03] Production.INFO: ==8510== Lock acquired, processing the job...
[2025-01-07 04:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-06 23:32:03] Production.INFO: ==8508== Releasing lock...
[2025-01-06 23:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:32:03] Production.INFO: ==8510== Releasing lock...
[2025-01-07 04:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:32:03] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:32:03] Production.INFO: ==8512== Lock acquired, processing the job...
[2025-01-06 23:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:32:03] Production.INFO: ==8518== Lock acquired, processing the job...
[2025-01-06 23:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:32:04] Production.INFO: ==8522== Lock acquired, processing the job...
[2025-01-06 23:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:32:04] Production.INFO: Account Balance Start.
[2025-01-06 23:32:04] Production.INFO: CreateAllLog Start
[2025-01-06 23:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:32:04] Production.INFO: 117
[2025-01-06 23:32:04] Production.INFO: Date 2024-12-08
[2025-01-06 23:32:04] Production.INFO: ==8514== Lock acquired, processing the job...
[2025-01-06 23:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 23:32:04] Production.INFO: count ==21
[2025-01-06 23:32:04] Production.INFO: Date 2024-12-09
[2025-01-06 23:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 23:32:04] Production.INFO: ==8516== Lock acquired, processing the job...
[2025-01-06 23:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:32:04] Production.INFO: count ==21
[2025-01-06 23:32:04] Production.INFO: Date 2024-12-10
[2025-01-06 23:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190939') start
[2025-01-06 23:32:04] Production.INFO: Date 2024-12-11
[2025-01-06 23:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:32:04] Production.INFO: ==8520== Lock acquired, processing the job...
[2025-01-06 23:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190939') end
[2025-01-06 23:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:32:04] Production.INFO: 1
[2025-01-06 23:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:32:04] Production.INFO: ==8522== Releasing lock...
[2025-01-06 23:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:32:04] Production.INFO: Date 2024-12-12
[2025-01-06 23:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:32:04] Production.INFO: Date 2024-12-13
[2025-01-06 23:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:32:04] Production.INFO: Date 2024-12-14
[2025-01-06 23:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:32:04] Production.INFO: Date 2024-12-15
[2025-01-06 23:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:32:04] Production.INFO: ==8514== Releasing lock...
[2025-01-06 23:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:32:04] Production.INFO: Date 2024-12-16
[2025-01-06 23:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:32:04] Production.INFO: Date 2024-12-17
[2025-01-06 23:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:32:04] Production.INFO: Date 2024-12-18
[2025-01-06 23:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:32:04] Production.ERROR: done
[2025-01-06 23:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:32:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:32:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:32:04] Production.ERROR: done
[2025-01-06 23:32:05] Production.INFO: Date 2024-12-20
[2025-01-06 23:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:32:05] Production.INFO: Date 2024-12-21
[2025-01-06 23:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:32:05] Production.INFO: Date 2024-12-22
[2025-01-06 23:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:32:05] Production.INFO: Date 2024-12-23
[2025-01-06 23:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:32:05] Production.INFO: Date 2024-12-24
[2025-01-06 23:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:32:05] Production.INFO: Date 2024-12-25
[2025-01-06 23:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:32:05] Production.INFO: Date 2024-12-26
[2025-01-06 23:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:32:05] Production.INFO: Date 2024-12-27
[2025-01-06 23:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:32:05] Production.INFO: Date 2024-12-28
[2025-01-06 23:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:32:05] Production.INFO: Date 2024-12-29
[2025-01-06 23:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:32:05] Production.INFO: Date 2024-12-30
[2025-01-06 23:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:32:05] Production.INFO: Date 2024-12-31
[2025-01-06 23:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:32:05] Production.INFO: Date 2025-01-01
[2025-01-06 23:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:32:05] Production.INFO: Date 2025-01-02
[2025-01-06 23:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:32:05] Production.INFO: Date 2025-01-03
[2025-01-06 23:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:32:05] Production.INFO: Date 2025-01-04
[2025-01-06 23:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:32:05] Production.INFO: Date 2025-01-05
[2025-01-06 23:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:32:05
[end_date_ymd] => 2025-01-06 23:32:05
[RateCDR] => 1
)
[2025-01-06 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-06 20:32:05' and `end` < '2025-01-06 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-06 23:32:05] Production.INFO: Date 2025-01-06
[2025-01-06 23:32:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:32:05] Production.INFO: Total Charge 0
[2025-01-06 23:32:05] Production.INFO: CreateAllLog End
[2025-01-06 23:32:06] Production.INFO: Account Balance End.
[2025-01-06 23:32:06] Production.ERROR: CronJobId end 12
[2025-01-06 23:32:06] Production.INFO: ==8518== Releasing lock...
[2025-01-06 23:32:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:32:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:32:14] Production.ERROR: CronJobId end10
[2025-01-06 23:32:14] Production.INFO: ==8516== Releasing lock...
[2025-01-06 23:32:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:32:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:32:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:32:15] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:32:15] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:32:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:32:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:32:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:32:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:32:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:32:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:32:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:32:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:32:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:32:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:32:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:32:15] Production.INFO: call_cost start
[2025-01-06 23:32:15] Production.INFO: call_cost end
[2025-01-06 23:32:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:32:16] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:32:16] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:32:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:32:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:32:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:32:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:32:16] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:32:16] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:32:16] Production.INFO: ==8512== Releasing lock...
[2025-01-06 23:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:32:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:32:20] Production.INFO: count ==698
[2025-01-06 23:32:20] Production.ERROR: pbx CDR StartTime 2025-01-06 20:32:05 - End Time 2025-01-06 23:32:05
[2025-01-06 23:32:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190941', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190941', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190941', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190941', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:32:20] Production.INFO: ProcessCDR(1,14190941,1,1,2)
[2025-01-06 23:32:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190941,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:32:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190941,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:32:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190941,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:32:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190941,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:32:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190941', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:32:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190941', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:32:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:32:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:32:24] Production.INFO: ==8520== Releasing lock...
[2025-01-06 23:32:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:32:24] Production.INFO: 32.5 MB #Memory Used#
[2025-01-07 04:33:01] Production.INFO: ==8578== Lock acquired, processing the job...
[2025-01-07 04:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:33:01] Production.INFO: neon service started
[2025-01-07 04:33:01] Production.INFO: neon service started
[2025-01-07 04:33:01] Production.INFO: ==8578== Releasing lock...
[2025-01-07 04:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 23:33:02] Production.INFO: ==8580== Lock acquired, processing the job...
[2025-01-06 23:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 23:33:02] Production.INFO: ==8580== Releasing lock...
[2025-01-06 23:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:33:02] Production.INFO: ==8582== Lock acquired, processing the job...
[2025-01-07 04:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:33:02] Production.INFO: ==8582== Releasing lock...
[2025-01-07 04:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:33:03] Production.INFO: ==8590== Lock acquired, processing the job...
[2025-01-06 23:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:33:03] Production.INFO: Account Balance Start.
[2025-01-06 23:33:03] Production.INFO: CreateAllLog Start
[2025-01-06 23:33:03] Production.INFO: 117
[2025-01-06 23:33:03] Production.INFO: ==8584== Lock acquired, processing the job...
[2025-01-06 23:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:33:03] Production.INFO: Date 2024-12-08
[2025-01-06 23:33:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:33:03] Production.INFO: Date 2024-12-09
[2025-01-06 23:33:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:33:03] Production.INFO: Date 2024-12-10
[2025-01-06 23:33:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:33:03] Production.INFO: ==8586== Lock acquired, processing the job...
[2025-01-06 23:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:33:03] Production.INFO: ==8594== Lock acquired, processing the job...
[2025-01-06 23:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:33:03] Production.INFO: Date 2024-12-11
[2025-01-06 23:33:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:33:03] Production.INFO: Date 2024-12-12
[2025-01-06 23:33:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:33:03] Production.INFO: Date 2024-12-13
[2025-01-06 23:33:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:33:03] Production.INFO: ==8588== Lock acquired, processing the job...
[2025-01-06 23:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:33:03] Production.INFO: Date 2024-12-14
[2025-01-06 23:33:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:33:03] Production.INFO: Date 2024-12-15
[2025-01-06 23:33:03] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 23:33:03] Production.INFO: Date 2024-12-16
[2025-01-06 23:33:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:33:03] Production.INFO: count ==21
[2025-01-06 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-06 23:33:03] Production.INFO: count ==21
[2025-01-06 23:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190944') start
[2025-01-06 23:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:33:03] Production.INFO: ==8592== Lock acquired, processing the job...
[2025-01-06 23:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:33:03] Production.INFO: Date 2024-12-17
[2025-01-06 23:33:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:33:03] Production.INFO: Date 2024-12-18
[2025-01-06 23:33:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190944') end
[2025-01-06 23:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:33:04] Production.INFO: 1
[2025-01-06 23:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:33:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:33:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:33:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:33:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:33:04] Production.INFO: ==8594== Releasing lock...
[2025-01-06 23:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:33:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:33:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:33:04] Production.INFO: ==8586== Releasing lock...
[2025-01-06 23:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:33:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:33:04] Production.ERROR: done
[2025-01-06 23:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:33:04] Production.INFO: Date 2024-12-26
[2025-01-06 23:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:33:04] Production.INFO: Date 2024-12-27
[2025-01-06 23:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:33:04] Production.INFO: Date 2024-12-28
[2025-01-06 23:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:33:04] Production.ERROR: done
[2025-01-06 23:33:04] Production.INFO: Date 2024-12-29
[2025-01-06 23:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:33:04] Production.INFO: Date 2024-12-30
[2025-01-06 23:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:33:04] Production.INFO: Date 2024-12-31
[2025-01-06 23:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:33:04] Production.INFO: Date 2025-01-01
[2025-01-06 23:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:33:04] Production.INFO: Date 2025-01-02
[2025-01-06 23:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:33:04] Production.INFO: Date 2025-01-03
[2025-01-06 23:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:33:04] Production.INFO: Date 2025-01-04
[2025-01-06 23:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:33:04] Production.INFO: Date 2025-01-05
[2025-01-06 23:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:33:04] Production.INFO: Date 2025-01-06
[2025-01-06 23:33:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:33:04] Production.INFO: Total Charge 0
[2025-01-06 23:33:04] Production.INFO: CreateAllLog End
[2025-01-06 23:33:05] Production.INFO: Account Balance End.
[2025-01-06 23:33:05] Production.ERROR: CronJobId end 12
[2025-01-06 23:33:05] Production.INFO: ==8590== Releasing lock...
[2025-01-06 23:33:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:33:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:33:05
[end_date_ymd] => 2025-01-06 23:33:05
[RateCDR] => 1
)
[2025-01-06 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-06 20:33:05' and `end` < '2025-01-06 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-06 23:33:11] Production.ERROR: CronJobId end10
[2025-01-06 23:33:11] Production.INFO: ==8588== Releasing lock...
[2025-01-06 23:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:33:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:33:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:33:13] Production.INFO: call_cost start
[2025-01-06 23:33:13] Production.INFO: call_cost end
[2025-01-06 23:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:33:14] Production.INFO: ==8584== Releasing lock...
[2025-01-06 23:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:33:19] Production.INFO: count ==696
[2025-01-06 23:33:19] Production.ERROR: pbx CDR StartTime 2025-01-06 20:33:05 - End Time 2025-01-06 23:33:05
[2025-01-06 23:33:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190946', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190946', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190946', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190946', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:33:19] Production.INFO: ProcessCDR(1,14190946,1,1,2)
[2025-01-06 23:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190946,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:33:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190946,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:33:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190946,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:33:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190946,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190946', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190946', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:33:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:33:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:33:23] Production.INFO: ==8592== Releasing lock...
[2025-01-06 23:33:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:33:23] Production.INFO: 32.5 MB #Memory Used#
[2025-01-07 04:34:02] Production.INFO: ==8687== Lock acquired, processing the job...
[2025-01-07 04:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:34:02] Production.INFO: neon service started
[2025-01-07 04:34:02] Production.INFO: neon service started
[2025-01-07 04:34:02] Production.INFO: ==8687== Releasing lock...
[2025-01-07 04:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:34:02] Production.INFO: ==8691== Lock acquired, processing the job...
[2025-01-07 04:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-06 23:34:03] Production.INFO: ==8689== Lock acquired, processing the job...
[2025-01-06 23:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:34:03] Production.INFO: ==8691== Releasing lock...
[2025-01-07 04:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:34:03] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:34:03] Production.INFO: ==8689== Releasing lock...
[2025-01-06 23:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:34:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 23:34:04] Production.INFO: ==8698== Lock acquired, processing the job...
[2025-01-06 23:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:34:04] Production.INFO: ==8694== Lock acquired, processing the job...
[2025-01-06 23:34:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:34:04] Production.INFO: ==8704== Lock acquired, processing the job...
[2025-01-06 23:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:34:04] Production.INFO: ==8696== Lock acquired, processing the job...
[2025-01-06 23:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:34:04] Production.INFO: ==8700== Lock acquired, processing the job...
[2025-01-06 23:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:34:04] Production.INFO: count ==21
[2025-01-06 23:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:34:04] Production.INFO: count ==21
[2025-01-06 23:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190948') start
[2025-01-06 23:34:04] Production.INFO: ==8702== Lock acquired, processing the job...
[2025-01-06 23:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190948') end
[2025-01-06 23:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:34:04] Production.INFO: 1
[2025-01-06 23:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:34:04] Production.INFO: Account Balance Start.
[2025-01-06 23:34:04] Production.INFO: CreateAllLog Start
[2025-01-06 23:34:04] Production.INFO: 117
[2025-01-06 23:34:04] Production.INFO: ==8704== Releasing lock...
[2025-01-06 23:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:34:04] Production.INFO: Date 2024-12-08
[2025-01-06 23:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:34:04] Production.INFO: Date 2024-12-09
[2025-01-06 23:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:34:04] Production.INFO: Date 2024-12-10
[2025-01-06 23:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:34:04] Production.INFO: ==8696== Releasing lock...
[2025-01-06 23:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:34:04] Production.INFO: Date 2024-12-11
[2025-01-06 23:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:34:04] Production.INFO: Date 2024-12-12
[2025-01-06 23:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:34:04] Production.INFO: Date 2024-12-13
[2025-01-06 23:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:34:04] Production.INFO: Date 2024-12-14
[2025-01-06 23:34:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:34:04] Production.ERROR: done
[2025-01-06 23:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:34:05] Production.INFO: Date 2024-12-15
[2025-01-06 23:34:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:34:05] Production.INFO: Date 2024-12-16
[2025-01-06 23:34:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:34:05] Production.INFO: Date 2024-12-17
[2025-01-06 23:34:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:34:05] Production.INFO: Date 2024-12-18
[2025-01-06 23:34:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:34:05] Production.ERROR: done
[2025-01-06 23:34:05] Production.INFO: Date 2024-12-19
[2025-01-06 23:34:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:34:05] Production.INFO: Date 2024-12-20
[2025-01-06 23:34:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:34:05] Production.INFO: Date 2024-12-21
[2025-01-06 23:34:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:34:05] Production.INFO: Date 2024-12-22
[2025-01-06 23:34:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:34:05] Production.INFO: Date 2024-12-23
[2025-01-06 23:34:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:34:05] Production.INFO: Date 2024-12-24
[2025-01-06 23:34:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:34:05] Production.INFO: Date 2024-12-25
[2025-01-06 23:34:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:34:05] Production.INFO: Date 2024-12-26
[2025-01-06 23:34:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:34:05] Production.INFO: Date 2024-12-27
[2025-01-06 23:34:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:34:05] Production.INFO: Date 2024-12-28
[2025-01-06 23:34:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:34:05] Production.INFO: Date 2024-12-29
[2025-01-06 23:34:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:34:05] Production.INFO: Date 2024-12-30
[2025-01-06 23:34:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:34:05] Production.INFO: Date 2024-12-31
[2025-01-06 23:34:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:34:05] Production.INFO: Date 2025-01-01
[2025-01-06 23:34:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:34:05] Production.INFO: Date 2025-01-02
[2025-01-06 23:34:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:34:05] Production.INFO: Date 2025-01-03
[2025-01-06 23:34:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:34:05] Production.INFO: Date 2025-01-04
[2025-01-06 23:34:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:34:05] Production.INFO: Date 2025-01-05
[2025-01-06 23:34:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:34:05] Production.INFO: Date 2025-01-06
[2025-01-06 23:34:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:34:05] Production.INFO: Total Charge 0
[2025-01-06 23:34:05] Production.INFO: CreateAllLog End
[2025-01-06 23:34:06] Production.INFO: Account Balance End.
[2025-01-06 23:34:06] Production.ERROR: CronJobId end 12
[2025-01-06 23:34:06] Production.INFO: ==8700== Releasing lock...
[2025-01-06 23:34:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:34:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:34:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:34:06
[end_date_ymd] => 2025-01-06 23:34:06
[RateCDR] => 1
)
[2025-01-06 23:34:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 20:34:06' and `end` < '2025-01-06 23:34:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 23:34:13] Production.ERROR: CronJobId end10
[2025-01-06 23:34:13] Production.INFO: ==8698== Releasing lock...
[2025-01-06 23:34:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:34:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:34:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:34:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:34:15] Production.INFO: call_cost start
[2025-01-06 23:34:15] Production.INFO: call_cost end
[2025-01-06 23:34:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:34:16] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:34:16] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:34:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:34:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:34:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:34:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:34:16] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:34:16] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:34:16] Production.INFO: ==8694== Releasing lock...
[2025-01-06 23:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:34:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:34:19] Production.INFO: count ==689
[2025-01-06 23:34:19] Production.ERROR: pbx CDR StartTime 2025-01-06 20:34:06 - End Time 2025-01-06 23:34:06
[2025-01-06 23:34:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190951', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190951', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190951', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190951', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:34:19] Production.INFO: ProcessCDR(1,14190951,1,1,2)
[2025-01-06 23:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190951,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:34:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190951,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:34:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190951,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190951,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190951', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190951', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:34:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:34:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:34:22] Production.INFO: ==8702== Releasing lock...
[2025-01-06 23:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:34:22] Production.INFO: 32.5 MB #Memory Used#
[2025-01-07 04:35:01] Production.INFO: ==8758== Lock acquired, processing the job...
[2025-01-07 04:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:35:01] Production.INFO: neon service started
[2025-01-07 04:35:01] Production.INFO: neon service started
[2025-01-07 04:35:01] Production.INFO: ==8758== Releasing lock...
[2025-01-07 04:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 23:35:02] Production.INFO: ==8760== Lock acquired, processing the job...
[2025-01-06 23:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 23:35:02] Production.INFO: ==8760== Releasing lock...
[2025-01-06 23:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:35:02] Production.INFO: ==8762== Lock acquired, processing the job...
[2025-01-07 04:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:35:02] Production.INFO: ==8762== Releasing lock...
[2025-01-07 04:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:35:03] Production.INFO: ==8773== Lock acquired, processing the job...
[2025-01-06 23:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:35:03] Production.INFO: ==8771== Lock acquired, processing the job...
[2025-01-06 23:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:35:03] Production.INFO: ==8765== Lock acquired, processing the job...
[2025-01-06 23:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:35:03] Production.INFO: ==8767== Lock acquired, processing the job...
[2025-01-06 23:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:35:03] Production.INFO: ==8769== Lock acquired, processing the job...
[2025-01-06 23:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:35:03] Production.INFO: Account Balance Start.
[2025-01-06 23:35:03] Production.INFO: CreateAllLog Start
[2025-01-06 23:35:03] Production.INFO: 117
[2025-01-06 23:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:35:03] Production.INFO: Date 2024-12-08
[2025-01-06 23:35:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:35:03] Production.INFO: Date 2024-12-09
[2025-01-06 23:35:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:35:03] Production.INFO: Date 2024-12-10
[2025-01-06 23:35:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:35:03] Production.INFO: ==8775== Lock acquired, processing the job...
[2025-01-06 23:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:35:03] Production.ERROR: done
[2025-01-06 23:35:03] Production.INFO: Date 2024-12-11
[2025-01-06 23:35:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:35:03] Production.INFO: count ==21
[2025-01-06 23:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:35:03] Production.INFO: count ==21
[2025-01-06 23:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190955') start
[2025-01-06 23:35:03] Production.INFO: Date 2024-12-12
[2025-01-06 23:35:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:35:03] Production.ERROR: done
[2025-01-06 23:35:03] Production.INFO: ==8767== Releasing lock...
[2025-01-06 23:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190955') end
[2025-01-06 23:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:35:03] Production.INFO: 1
[2025-01-06 23:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:35:03] Production.INFO: Date 2024-12-13
[2025-01-06 23:35:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:35:03] Production.INFO: Date 2024-12-14
[2025-01-06 23:35:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:35:03] Production.INFO: ==8775== Releasing lock...
[2025-01-06 23:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:35:04] Production.INFO: Date 2024-12-15
[2025-01-06 23:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:35:04] Production.INFO: Date 2024-12-16
[2025-01-06 23:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:35:04] Production.INFO: Date 2024-12-17
[2025-01-06 23:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:35:04] Production.INFO: Date 2024-12-18
[2025-01-06 23:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:35:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:35:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:35:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:35:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:35:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:35:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:35:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:35:04] Production.INFO: Date 2024-12-26
[2025-01-06 23:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:35:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:35:04
[end_date_ymd] => 2025-01-06 23:35:04
[RateCDR] => 1
)
[2025-01-06 23:35:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 20:35:04' and `end` < '2025-01-06 23:35:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 23:35:04] Production.INFO: Date 2024-12-27
[2025-01-06 23:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:35:04] Production.INFO: Date 2024-12-28
[2025-01-06 23:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:35:04] Production.INFO: Date 2024-12-29
[2025-01-06 23:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:35:04] Production.INFO: Date 2024-12-30
[2025-01-06 23:35:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:35:05] Production.INFO: Date 2024-12-31
[2025-01-06 23:35:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:35:05] Production.INFO: Date 2025-01-01
[2025-01-06 23:35:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:35:05] Production.INFO: Date 2025-01-02
[2025-01-06 23:35:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:35:05] Production.INFO: Date 2025-01-03
[2025-01-06 23:35:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:35:05] Production.INFO: Date 2025-01-04
[2025-01-06 23:35:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:35:05] Production.INFO: Date 2025-01-05
[2025-01-06 23:35:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:35:05] Production.INFO: Date 2025-01-06
[2025-01-06 23:35:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:35:05] Production.INFO: Total Charge 0
[2025-01-06 23:35:05] Production.INFO: CreateAllLog End
[2025-01-06 23:35:05] Production.INFO: Account Balance End.
[2025-01-06 23:35:05] Production.ERROR: CronJobId end 12
[2025-01-06 23:35:05] Production.INFO: ==8771== Releasing lock...
[2025-01-06 23:35:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:35:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:35:12] Production.ERROR: CronJobId end10
[2025-01-06 23:35:12] Production.INFO: ==8769== Releasing lock...
[2025-01-06 23:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:35:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:35:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:35:13] Production.INFO: call_cost start
[2025-01-06 23:35:13] Production.INFO: call_cost end
[2025-01-06 23:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:35:14] Production.INFO: ==8765== Releasing lock...
[2025-01-06 23:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:35:17] Production.INFO: count ==692
[2025-01-06 23:35:17] Production.ERROR: pbx CDR StartTime 2025-01-06 20:35:04 - End Time 2025-01-06 23:35:04
[2025-01-06 23:35:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190956', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190956', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190956', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190956', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:35:17] Production.INFO: ProcessCDR(1,14190956,1,1,2)
[2025-01-06 23:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190956,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:35:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190956,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:35:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190956,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190956,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190956', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190956', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:35:21] Production.INFO: ==8773== Releasing lock...
[2025-01-06 23:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:35:21] Production.INFO: 32.5 MB #Memory Used#
[2025-01-07 04:36:02] Production.INFO: ==8828== Lock acquired, processing the job...
[2025-01-07 04:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:36:02] Production.INFO: neon service started
[2025-01-07 04:36:02] Production.INFO: neon service started
[2025-01-07 04:36:02] Production.INFO: ==8828== Releasing lock...
[2025-01-07 04:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 23:36:02] Production.INFO: ==8830== Lock acquired, processing the job...
[2025-01-06 23:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:36:02] Production.INFO: ==8832== Lock acquired, processing the job...
[2025-01-07 04:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:36:02] Production.INFO: ==8832== Releasing lock...
[2025-01-07 04:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:36:03] Production.INFO: ==8830== Releasing lock...
[2025-01-06 23:36:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:36:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 23:36:03] Production.INFO: ==8837== Lock acquired, processing the job...
[2025-01-06 23:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:36:03] Production.INFO: ==8845== Lock acquired, processing the job...
[2025-01-06 23:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:36:03] Production.INFO: ==8835== Lock acquired, processing the job...
[2025-01-06 23:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:36:04] Production.INFO: ==8837== Releasing lock...
[2025-01-06 23:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:36:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:36:04] Production.INFO: ==8839== Lock acquired, processing the job...
[2025-01-06 23:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:36:04] Production.INFO: count ==21
[2025-01-06 23:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:36:04] Production.INFO: count ==21
[2025-01-06 23:36:04] Production.INFO: ==8841== Lock acquired, processing the job...
[2025-01-06 23:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:36:04] Production.INFO: ==8843== Lock acquired, processing the job...
[2025-01-06 23:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190958') start
[2025-01-06 23:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190958') end
[2025-01-06 23:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:36:04] Production.INFO: 1
[2025-01-06 23:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:36:04] Production.INFO: Account Balance Start.
[2025-01-06 23:36:04] Production.INFO: CreateAllLog Start
[2025-01-06 23:36:04] Production.INFO: 117
[2025-01-06 23:36:04] Production.INFO: Date 2024-12-08
[2025-01-06 23:36:04] Production.INFO: ==8845== Releasing lock...
[2025-01-06 23:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:36:04] Production.INFO: Date 2024-12-09
[2025-01-06 23:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:36:04] Production.ERROR: done
[2025-01-06 23:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:36:04] Production.INFO: Date 2024-12-10
[2025-01-06 23:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:36:04] Production.ERROR: done
[2025-01-06 23:36:04] Production.INFO: Date 2024-12-11
[2025-01-06 23:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:36:04] Production.INFO: Date 2024-12-12
[2025-01-06 23:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:36:04] Production.INFO: Date 2024-12-13
[2025-01-06 23:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:36:04] Production.INFO: Date 2024-12-14
[2025-01-06 23:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:36:04] Production.INFO: Date 2024-12-15
[2025-01-06 23:36:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:36:05] Production.INFO: Date 2024-12-16
[2025-01-06 23:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:36:05] Production.INFO: Date 2024-12-17
[2025-01-06 23:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:36:05] Production.INFO: Date 2024-12-18
[2025-01-06 23:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:36:05] Production.INFO: Date 2024-12-19
[2025-01-06 23:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:36:05] Production.INFO: Date 2024-12-20
[2025-01-06 23:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:36:05] Production.INFO: Date 2024-12-21
[2025-01-06 23:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:36:05] Production.INFO: Date 2024-12-22
[2025-01-06 23:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:36:05] Production.INFO: Date 2024-12-23
[2025-01-06 23:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:36:05] Production.INFO: Date 2024-12-24
[2025-01-06 23:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:36:05] Production.INFO: Date 2024-12-25
[2025-01-06 23:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:36:05] Production.INFO: Date 2024-12-26
[2025-01-06 23:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:36:05] Production.INFO: Date 2024-12-27
[2025-01-06 23:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:36:05] Production.INFO: Date 2024-12-28
[2025-01-06 23:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:36:05] Production.INFO: Date 2024-12-29
[2025-01-06 23:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:36:05] Production.INFO: Date 2024-12-30
[2025-01-06 23:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:36:05] Production.INFO: Date 2024-12-31
[2025-01-06 23:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:36:05] Production.INFO: Date 2025-01-01
[2025-01-06 23:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:36:05] Production.INFO: Date 2025-01-02
[2025-01-06 23:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:36:05] Production.INFO: Date 2025-01-03
[2025-01-06 23:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:36:05] Production.INFO: Date 2025-01-04
[2025-01-06 23:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:36:05] Production.INFO: Date 2025-01-05
[2025-01-06 23:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:36:05] Production.INFO: Date 2025-01-06
[2025-01-06 23:36:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:36:05] Production.INFO: Total Charge 0
[2025-01-06 23:36:05] Production.INFO: CreateAllLog End
[2025-01-06 23:36:05] Production.INFO: Account Balance End.
[2025-01-06 23:36:05] Production.ERROR: CronJobId end 12
[2025-01-06 23:36:05] Production.INFO: ==8841== Releasing lock...
[2025-01-06 23:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:36:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:36:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:36:06
[end_date_ymd] => 2025-01-06 23:36:06
[RateCDR] => 1
)
[2025-01-06 23: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-06 20:36:06' and `end` < '2025-01-06 23: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-06 23:36:13] Production.ERROR: CronJobId end10
[2025-01-06 23:36:13] Production.INFO: ==8839== Releasing lock...
[2025-01-06 23:36:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:36:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:36:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:36:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:36:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:36:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:36:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:36:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:36:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:36:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:36:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:36:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:36:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:36:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:36:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:36:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:36:14] Production.INFO: call_cost start
[2025-01-06 23:36:14] Production.INFO: call_cost end
[2025-01-06 23:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:36:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:36:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:36:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:36:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:36:15] Production.INFO: ==8835== Releasing lock...
[2025-01-06 23:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:36:20] Production.INFO: count ==683
[2025-01-06 23:36:20] Production.ERROR: pbx CDR StartTime 2025-01-06 20:36:06 - End Time 2025-01-06 23:36:06
[2025-01-06 23:36:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190961', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190961', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190961', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190961', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:36:20] Production.INFO: ProcessCDR(1,14190961,1,1,2)
[2025-01-06 23:36:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190961,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:36:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190961,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:36:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190961,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:36:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190961,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190961', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190961', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:36:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:36:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:36:23] Production.INFO: ==8843== Releasing lock...
[2025-01-06 23:36:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:36:23] Production.INFO: 32.5 MB #Memory Used#
[2025-01-07 04:37:01] Production.INFO: ==8900== Lock acquired, processing the job...
[2025-01-07 04:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:37:01] Production.INFO: neon service started
[2025-01-07 04:37:01] Production.INFO: neon service started
[2025-01-07 04:37:01] Production.INFO: ==8900== Releasing lock...
[2025-01-07 04:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 23:37:02] Production.INFO: ==8903== Lock acquired, processing the job...
[2025-01-06 23:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 23:37:02] Production.INFO: ==8903== Releasing lock...
[2025-01-06 23:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:37:02] Production.INFO: ==8905== Lock acquired, processing the job...
[2025-01-07 04:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:37:02] Production.INFO: ==8905== Releasing lock...
[2025-01-07 04:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:37:03] Production.INFO: ==8907== Lock acquired, processing the job...
[2025-01-06 23:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:37:03] Production.INFO: ==8909== Lock acquired, processing the job...
[2025-01-06 23:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:37:03] Production.INFO: ==8918== Lock acquired, processing the job...
[2025-01-06 23:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:37:03] Production.INFO: ==8909== Releasing lock...
[2025-01-06 23:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:37:03] Production.INFO: ==8911== Lock acquired, processing the job...
[2025-01-06 23:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:37:03] Production.INFO: ==8913== Lock acquired, processing the job...
[2025-01-06 23:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:37:03] Production.INFO: count ==21
[2025-01-06 23:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:37:03] Production.INFO: ==8916== Lock acquired, processing the job...
[2025-01-06 23:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:37:03] Production.INFO: count ==21
[2025-01-06 23:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190964') start
[2025-01-06 23:37:03] Production.INFO: Account Balance Start.
[2025-01-06 23:37:03] Production.INFO: CreateAllLog Start
[2025-01-06 23:37:03] Production.INFO: 117
[2025-01-06 23:37:03] Production.INFO: Date 2024-12-08
[2025-01-06 23:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:37:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:37:03] Production.INFO: Date 2024-12-09
[2025-01-06 23:37:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190964') end
[2025-01-06 23:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:37:03] Production.INFO: 1
[2025-01-06 23:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:37:03] Production.INFO: Date 2024-12-10
[2025-01-06 23:37:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:37:03] Production.INFO: Date 2024-12-11
[2025-01-06 23:37:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:37:03] Production.INFO: ==8918== Releasing lock...
[2025-01-06 23:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:37:03] Production.INFO: Date 2024-12-12
[2025-01-06 23:37:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:37:03] Production.INFO: Date 2024-12-13
[2025-01-06 23:37:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:37:04] Production.INFO: Date 2024-12-14
[2025-01-06 23:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:37:04] Production.INFO: Date 2024-12-15
[2025-01-06 23:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:37:04] Production.INFO: Date 2024-12-16
[2025-01-06 23:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:37:04] Production.INFO: Date 2024-12-17
[2025-01-06 23:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:37:04] Production.ERROR: done
[2025-01-06 23:37:04] Production.INFO: Date 2024-12-18
[2025-01-06 23:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:37:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:37:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:37:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:37:04] Production.ERROR: done
[2025-01-06 23:37:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:37:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:37:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:37:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:37:04] Production.INFO: Date 2024-12-26
[2025-01-06 23:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:37:04] Production.INFO: Date 2024-12-27
[2025-01-06 23:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:37:04] Production.INFO: Date 2024-12-28
[2025-01-06 23:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:37:04] Production.INFO: Date 2024-12-29
[2025-01-06 23:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:37:04] Production.INFO: Date 2024-12-30
[2025-01-06 23:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:37:04] Production.INFO: Date 2024-12-31
[2025-01-06 23:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:37:04] Production.INFO: Date 2025-01-01
[2025-01-06 23:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:37:04] Production.INFO: Date 2025-01-02
[2025-01-06 23:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:37:04] Production.INFO: Date 2025-01-03
[2025-01-06 23:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:37:04] Production.INFO: Date 2025-01-04
[2025-01-06 23:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:37:04] Production.INFO: Date 2025-01-05
[2025-01-06 23:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:37:04] Production.INFO: Date 2025-01-06
[2025-01-06 23:37:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:37:04] Production.INFO: Total Charge 0
[2025-01-06 23:37:04] Production.INFO: CreateAllLog End
[2025-01-06 23:37:04] Production.INFO: Account Balance End.
[2025-01-06 23:37:04] Production.ERROR: CronJobId end 12
[2025-01-06 23:37:04] Production.INFO: ==8913== Releasing lock...
[2025-01-06 23:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:37:05
[end_date_ymd] => 2025-01-06 23:37:05
[RateCDR] => 1
)
[2025-01-06 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-06 20:37:05' and `end` < '2025-01-06 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-06 23:37:13] Production.ERROR: CronJobId end10
[2025-01-06 23:37:13] Production.INFO: ==8911== Releasing lock...
[2025-01-06 23:37:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:37:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:37:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:37:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:37:14] Production.INFO: call_cost start
[2025-01-06 23:37:14] Production.INFO: call_cost end
[2025-01-06 23:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:37:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:37:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:37:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:37:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:37:15] Production.INFO: ==8907== Releasing lock...
[2025-01-06 23:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:37:19] Production.INFO: count ==679
[2025-01-06 23:37:19] Production.ERROR: pbx CDR StartTime 2025-01-06 20:37:05 - End Time 2025-01-06 23:37:05
[2025-01-06 23:37:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190966', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190966', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190966', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190966', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:37:19] Production.INFO: ProcessCDR(1,14190966,1,1,2)
[2025-01-06 23:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190966,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190966,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190966,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190966,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190966', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190966', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:37:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:37:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:37:22] Production.INFO: ==8916== Releasing lock...
[2025-01-06 23:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:37:22] Production.INFO: 32.5 MB #Memory Used#
[2025-01-07 04:38:02] Production.INFO: ==8974== Lock acquired, processing the job...
[2025-01-07 04:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:38:02] Production.INFO: neon service started
[2025-01-07 04:38:02] Production.INFO: neon service started
[2025-01-07 04:38:02] Production.INFO: ==8974== Releasing lock...
[2025-01-07 04:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 23:38:02] Production.INFO: ==8976== Lock acquired, processing the job...
[2025-01-06 23:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 23:38:02] Production.INFO: ==8976== Releasing lock...
[2025-01-06 23:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:38:03] Production.INFO: ==8978== Lock acquired, processing the job...
[2025-01-07 04:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:38:03] Production.INFO: ==8978== Releasing lock...
[2025-01-07 04:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:38:03] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:38:03] Production.INFO: ==8980== Lock acquired, processing the job...
[2025-01-06 23:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:38:03] Production.INFO: ==8982== Lock acquired, processing the job...
[2025-01-06 23:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:38:03] Production.INFO: ==8989== Lock acquired, processing the job...
[2025-01-06 23:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:38:04] Production.INFO: ==8985== Lock acquired, processing the job...
[2025-01-06 23:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:38:04] Production.INFO: ==8987== Lock acquired, processing the job...
[2025-01-06 23:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:38:04] Production.ERROR: done
[2025-01-06 23:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:38:04] Production.INFO: ==8991== Lock acquired, processing the job...
[2025-01-06 23:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:38:04] Production.INFO: Account Balance Start.
[2025-01-06 23:38:04] Production.INFO: CreateAllLog Start
[2025-01-06 23:38:04] Production.INFO: 117
[2025-01-06 23:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:38:04] Production.INFO: Date 2024-12-08
[2025-01-06 23:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:38:04] Production.INFO: ==8982== Releasing lock...
[2025-01-06 23:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:38:04] Production.ERROR: done
[2025-01-06 23:38:04] Production.INFO: Date 2024-12-09
[2025-01-06 23:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:38:04] Production.INFO: Date 2024-12-10
[2025-01-06 23:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:38:04] Production.INFO: Date 2024-12-11
[2025-01-06 23:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:38:04] Production.INFO: Date 2024-12-12
[2025-01-06 23:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:38:04] Production.INFO: count ==21
[2025-01-06 23:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:38:04] Production.INFO: count ==21
[2025-01-06 23:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190970') start
[2025-01-06 23:38:04] Production.INFO: Date 2024-12-13
[2025-01-06 23:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:38:04] Production.INFO: Date 2024-12-14
[2025-01-06 23:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:38:04] Production.INFO: Date 2024-12-15
[2025-01-06 23:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190970') end
[2025-01-06 23:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:38:04] Production.INFO: 1
[2025-01-06 23:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:38:04] Production.INFO: Date 2024-12-16
[2025-01-06 23:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:38:04] Production.INFO: ==8991== Releasing lock...
[2025-01-06 23:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:38:04] Production.INFO: Date 2024-12-17
[2025-01-06 23:38:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:38:05] Production.INFO: Date 2024-12-18
[2025-01-06 23:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:38:05
[end_date_ymd] => 2025-01-06 23:38:05
[RateCDR] => 1
)
[2025-01-06 23:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 20:38:05' and `end` < '2025-01-06 23:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 23:38:05] Production.INFO: Date 2024-12-19
[2025-01-06 23:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:38:05] Production.INFO: Date 2024-12-20
[2025-01-06 23:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:38:05] Production.INFO: Date 2024-12-21
[2025-01-06 23:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:38:05] Production.INFO: Date 2024-12-22
[2025-01-06 23:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:38:05] Production.INFO: Date 2024-12-23
[2025-01-06 23:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:38:05] Production.INFO: Date 2024-12-24
[2025-01-06 23:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:38:05] Production.INFO: Date 2024-12-25
[2025-01-06 23:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:38:05] Production.INFO: Date 2024-12-26
[2025-01-06 23:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:38:05] Production.INFO: Date 2024-12-27
[2025-01-06 23:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:38:05] Production.INFO: Date 2024-12-28
[2025-01-06 23:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:38:05] Production.INFO: Date 2024-12-29
[2025-01-06 23:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:38:05] Production.INFO: Date 2024-12-30
[2025-01-06 23:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:38:05] Production.INFO: Date 2024-12-31
[2025-01-06 23:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:38:05] Production.INFO: Date 2025-01-01
[2025-01-06 23:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:38:05] Production.INFO: Date 2025-01-02
[2025-01-06 23:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:38:05] Production.INFO: Date 2025-01-03
[2025-01-06 23:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:38:05] Production.INFO: Date 2025-01-04
[2025-01-06 23:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:38:05] Production.INFO: Date 2025-01-05
[2025-01-06 23:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:38:05] Production.INFO: Date 2025-01-06
[2025-01-06 23:38:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:38:05] Production.INFO: Total Charge 0
[2025-01-06 23:38:05] Production.INFO: CreateAllLog End
[2025-01-06 23:38:06] Production.INFO: Account Balance End.
[2025-01-06 23:38:06] Production.ERROR: CronJobId end 12
[2025-01-06 23:38:06] Production.INFO: ==8987== Releasing lock...
[2025-01-06 23:38:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:38:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:38:13] Production.ERROR: CronJobId end10
[2025-01-06 23:38:13] Production.INFO: ==8985== Releasing lock...
[2025-01-06 23:38:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:38:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:38:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:38:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:38:14] Production.INFO: call_cost start
[2025-01-06 23:38:14] Production.INFO: call_cost end
[2025-01-06 23:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:38:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:38:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:38:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:38:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:38:15] Production.INFO: ==8980== Releasing lock...
[2025-01-06 23:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:38:20] Production.INFO: count ==674
[2025-01-06 23:38:20] Production.ERROR: pbx CDR StartTime 2025-01-06 20:38:05 - End Time 2025-01-06 23:38:05
[2025-01-06 23:38:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190971', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190971', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190971', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190971', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:38:20] Production.INFO: ProcessCDR(1,14190971,1,1,2)
[2025-01-06 23:38:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190971,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:38:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190971,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:38:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190971,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:38:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190971,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:38:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190971', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:38:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190971', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:38:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:38:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:38:24] Production.INFO: ==8989== Releasing lock...
[2025-01-06 23:38:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:38:24] Production.INFO: 32.5 MB #Memory Used#
[2025-01-07 04:39:01] Production.INFO: ==9043== Lock acquired, processing the job...
[2025-01-07 04:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:39:01] Production.INFO: neon service started
[2025-01-07 04:39:01] Production.INFO: neon service started
[2025-01-07 04:39:01] Production.INFO: ==9043== Releasing lock...
[2025-01-07 04:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 23:39:01] Production.INFO: ==9045== Lock acquired, processing the job...
[2025-01-06 23:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:39:02] Production.INFO: ==9047== Lock acquired, processing the job...
[2025-01-07 04:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-06 23:39:02] Production.INFO: ==9045== Releasing lock...
[2025-01-06 23:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:39:02] Production.INFO: ==9047== Releasing lock...
[2025-01-07 04:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:39:02] Production.INFO: ==9049== Lock acquired, processing the job...
[2025-01-06 23:39:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:39:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:39:03] Production.INFO: ==9051== Lock acquired, processing the job...
[2025-01-06 23:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:39:03] Production.INFO: ==9055== Lock acquired, processing the job...
[2025-01-06 23:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:39:03] Production.INFO: Account Balance Start.
[2025-01-06 23:39:03] Production.INFO: CreateAllLog Start
[2025-01-06 23:39:03] Production.INFO: 117
[2025-01-06 23:39:03] Production.INFO: Date 2024-12-08
[2025-01-06 23:39:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:39:03] Production.INFO: Date 2024-12-09
[2025-01-06 23:39:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:39:03] Production.INFO: ==9051== Releasing lock...
[2025-01-06 23:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:39:03] Production.INFO: Date 2024-12-10
[2025-01-06 23:39:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:39:03] Production.INFO: Date 2024-12-11
[2025-01-06 23:39:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:39:03] Production.INFO: ==9053== Lock acquired, processing the job...
[2025-01-06 23:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:39:03] Production.INFO: Date 2024-12-12
[2025-01-06 23:39:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:39:03] Production.INFO: Date 2024-12-13
[2025-01-06 23:39:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:39:03] Production.INFO: ==9057== Lock acquired, processing the job...
[2025-01-06 23:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:39:03] Production.INFO: Date 2024-12-14
[2025-01-06 23:39:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:39:03] Production.INFO: ==9059== Lock acquired, processing the job...
[2025-01-06 23:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:39:03] Production.INFO: Date 2024-12-15
[2025-01-06 23:39:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:39:03] Production.INFO: Date 2024-12-16
[2025-01-06 23:39:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:39:03] Production.INFO: Date 2024-12-17
[2025-01-06 23:39:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:39:03] Production.INFO: Date 2024-12-18
[2025-01-06 23:39:03] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 23:39:03] Production.INFO: Date 2024-12-19
[2025-01-06 23:39:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:39:03] Production.INFO: count ==21
[2025-01-06 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-06 23:39:03] Production.INFO: count ==21
[2025-01-06 23:39:03] Production.INFO: Date 2024-12-20
[2025-01-06 23:39:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190975') start
[2025-01-06 23:39:03] Production.INFO: Date 2024-12-21
[2025-01-06 23:39:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190975') end
[2025-01-06 23:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:39:03] Production.INFO: 1
[2025-01-06 23:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:39:03] Production.INFO: ==9059== Releasing lock...
[2025-01-06 23:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:39:03] Production.ERROR: done
[2025-01-06 23:39:03] Production.INFO: Date 2024-12-22
[2025-01-06 23:39:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:39:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:39:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:39:04] Production.ERROR: done
[2025-01-06 23:39:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:39:04] Production.INFO: Date 2024-12-26
[2025-01-06 23:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:39:04] Production.INFO: Date 2024-12-27
[2025-01-06 23:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:39:04] Production.INFO: Date 2024-12-28
[2025-01-06 23:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:39:04] Production.INFO: Date 2024-12-29
[2025-01-06 23:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:39:04] Production.INFO: Date 2024-12-30
[2025-01-06 23:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:39:04] Production.INFO: Date 2024-12-31
[2025-01-06 23:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:39:04] Production.INFO: Date 2025-01-01
[2025-01-06 23:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:39:04] Production.INFO: Date 2025-01-02
[2025-01-06 23:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:39:04] Production.INFO: Date 2025-01-03
[2025-01-06 23:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:39:04] Production.INFO: Date 2025-01-04
[2025-01-06 23:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:39:04] Production.INFO: Date 2025-01-05
[2025-01-06 23:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:39:04] Production.INFO: Date 2025-01-06
[2025-01-06 23:39:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:39:04] Production.INFO: Total Charge 0
[2025-01-06 23:39:04] Production.INFO: CreateAllLog End
[2025-01-06 23:39:04] Production.INFO: Account Balance End.
[2025-01-06 23:39:04] Production.ERROR: CronJobId end 12
[2025-01-06 23:39:04] Production.INFO: ==9055== Releasing lock...
[2025-01-06 23:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:39:05
[end_date_ymd] => 2025-01-06 23:39:05
[RateCDR] => 1
)
[2025-01-06 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-06 20:39:05' and `end` < '2025-01-06 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-06 23:39:12] Production.ERROR: CronJobId end10
[2025-01-06 23:39:12] Production.INFO: ==9053== Releasing lock...
[2025-01-06 23:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:39:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:39:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:39:14] Production.INFO: call_cost start
[2025-01-06 23:39:14] Production.INFO: call_cost end
[2025-01-06 23:39:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:39:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:39:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:39:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:39:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:39:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:39:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:39:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:39:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:39:15] Production.INFO: ==9049== Releasing lock...
[2025-01-06 23:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:39:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:39:18] Production.INFO: count ==673
[2025-01-06 23:39:18] Production.ERROR: pbx CDR StartTime 2025-01-06 20:39:05 - End Time 2025-01-06 23:39:05
[2025-01-06 23:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190976', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190976', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190976', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190976', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:39:18] Production.INFO: ProcessCDR(1,14190976,1,1,2)
[2025-01-06 23:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190976,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190976,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190976,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190976,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190976', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190976', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:39:21] Production.INFO: ==9057== Releasing lock...
[2025-01-06 23:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:39:21] Production.INFO: 32.5 MB #Memory Used#
[2025-01-07 04:40:02] Production.INFO: ==9119== Lock acquired, processing the job...
[2025-01-07 04:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:40:02] Production.INFO: neon service started
[2025-01-07 04:40:02] Production.INFO: neon service started
[2025-01-07 04:40:02] Production.INFO: ==9119== Releasing lock...
[2025-01-07 04:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 23:40:02] Production.INFO: ==9121== Lock acquired, processing the job...
[2025-01-06 23:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:40:02] Production.INFO: ==9123== Lock acquired, processing the job...
[2025-01-07 04:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:40:02] Production.INFO: ==9123== Releasing lock...
[2025-01-07 04:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:40:03] Production.INFO: ==9121== Releasing lock...
[2025-01-06 23:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 23:40:04] Production.INFO: ==9130== Lock acquired, processing the job...
[2025-01-06 23:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:40:04] Production.INFO: ==9132== Lock acquired, processing the job...
[2025-01-06 23:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:40:04] Production.INFO: ==9134== Lock acquired, processing the job...
[2025-01-06 23:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:40:04] Production.INFO: Account Balance Start.
[2025-01-06 23:40:04] Production.INFO: CreateAllLog Start
[2025-01-06 23:40:04] Production.INFO: 117
[2025-01-06 23:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:40:04] Production.INFO: Date 2024-12-08
[2025-01-06 23:40:04] Production.INFO: ==9138== Lock acquired, processing the job...
[2025-01-06 23:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-06 23:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:40:04] Production.INFO: Date 2024-12-09
[2025-01-06 23:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:40:04] Production.INFO: Date 2024-12-10
[2025-01-06 23:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:40:04] Production.INFO: ==9128== Lock acquired, processing the job...
[2025-01-06 23:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:40:04] Production.INFO: Date 2024-12-11
[2025-01-06 23:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:40:04] Production.INFO: ==9126== Lock acquired, processing the job...
[2025-01-06 23:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-06 23:40:04] Production.INFO: Date 2024-12-12
[2025-01-06 23:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:40:04] Production.INFO: Date 2024-12-13
[2025-01-06 23:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:40:04] Production.INFO: ==9130== Releasing lock...
[2025-01-06 23:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:40:04] Production.INFO: ==9136== Lock acquired, processing the job...
[2025-01-06 23:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-06 23:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 23:40:04] Production.ERROR: CronJob PID - 9128
[2025-01-06 23:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-06 23:40:04] Production.ERROR: CronJob ID - 5
[2025-01-06 23:40:04] Production.ERROR: CronJob Last Run Time 2025-01-06 23:40:00
[2025-01-06 23:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 23:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 23:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 23:40:04] Production.ERROR: CronJob PID - 9132
[2025-01-06 23:40:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-06 23:40:04] Production.ERROR: CronJob ID - 10
[2025-01-06 23:40:04] Production.ERROR: CronJob Last Run Time 2025-01-06 23:40:00
[2025-01-06 23:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 23:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 23:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 23:40:04] Production.ERROR: CronJob PID - 9134
[2025-01-06 23:40:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-06 23:40:04] Production.ERROR: CronJob ID - 12
[2025-01-06 23:40:04] Production.ERROR: CronJob Last Run Time 2025-01-06 23:40:00
[2025-01-06 23:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 23:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 23:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-06 23:40:04] Production.ERROR: CronJob PID - 9138
[2025-01-06 23:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-06 23:40:04] Production.ERROR: CronJob ID - 17
[2025-01-06 23:40:04] Production.ERROR: CronJob Last Run Time 2025-01-06 23:40:00
[2025-01-06 23:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-06 23:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-06 23:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:40:04] Production.INFO: Date 2024-12-14
[2025-01-06 23:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:40:04] Production.INFO: ==9140== Lock acquired, processing the job...
[2025-01-06 23:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:40:04] Production.INFO: Date 2024-12-15
[2025-01-06 23:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:40:04] Production.INFO: Date 2024-12-16
[2025-01-06 23:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-06 23:40:04] Production.INFO: ==9126== Releasing lock...
[2025-01-06 23:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-06 23:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-06 23:40:04] Production.ERROR: done
[2025-01-06 23:40:04] Production.INFO: Date 2024-12-17
[2025-01-06 23:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:40:04] Production.INFO: Date 2024-12-18
[2025-01-06 23:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-06 23:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14190980', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) start
[2025-01-06 23:40:04] Production.ERROR: done
[2025-01-06 23:40:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:40:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:40:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:40:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:40:04] Production.INFO: count ==21
[2025-01-06 23:40:04] Production.INFO: Date 2024-12-22
[2025-01-06 23: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-06 23:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:40:05] Production.INFO: count ==21
[2025-01-06 23:40:05] Production.ERROR: done
[2025-01-06 23:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14190981') start
[2025-01-06 23:40:05] Production.INFO: Date 2024-12-23
[2025-01-06 23:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:40:05] Production.INFO: Date 2024-12-24
[2025-01-06 23:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:40:05] Production.INFO: Date 2024-12-25
[2025-01-06 23:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:40:05] Production.INFO: Date 2024-12-26
[2025-01-06 23:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14190981') end
[2025-01-06 23:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:40:05] Production.INFO: 1
[2025-01-06 23:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:40:05] Production.INFO: Date 2024-12-27
[2025-01-06 23:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:40:05] Production.INFO: Date 2024-12-28
[2025-01-06 23:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:40:05] Production.INFO: ==9140== Releasing lock...
[2025-01-06 23:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:40:05] Production.INFO: Date 2024-12-29
[2025-01-06 23:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:40:05] Production.INFO: Date 2024-12-30
[2025-01-06 23:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:40:05] Production.INFO: Date 2024-12-31
[2025-01-06 23:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:40:05] Production.INFO: Date 2025-01-01
[2025-01-06 23:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:40:05] Production.INFO: Date 2025-01-02
[2025-01-06 23:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:40:05] Production.INFO: Date 2025-01-03
[2025-01-06 23:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:40:05] Production.INFO: Date 2025-01-04
[2025-01-06 23:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:40:05] Production.INFO: Date 2025-01-05
[2025-01-06 23:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:40:05] Production.INFO: Date 2025-01-06
[2025-01-06 23:40:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:40:05] Production.INFO: Total Charge 0
[2025-01-06 23:40:05] Production.INFO: CreateAllLog End
[2025-01-06 23:40:05] Production.INFO: Account Balance End.
[2025-01-06 23:40:05] Production.ERROR: CronJobId end 12
[2025-01-06 23:40:05] Production.INFO: ==9134== Releasing lock...
[2025-01-06 23:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:40:06
[end_date_ymd] => 2025-01-06 23:40:06
[RateCDR] => 1
)
[2025-01-06 23:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 20:40:06' and `end` < '2025-01-06 23:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 23:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14190980', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) end
[2025-01-06 23:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-06 23:40:09] Production.INFO: ProcessCDR(1,14190980,1,1,2)
[2025-01-06 23:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14190980,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14190980,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:40:09] Production.INFO: ==9138== Releasing lock...
[2025-01-06 23:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-06 23:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-06 23:40:14] Production.ERROR: CronJobId end10
[2025-01-06 23:40:14] Production.INFO: ==9132== Releasing lock...
[2025-01-06 23:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:40:15] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:40:15] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:40:16] Production.INFO: call_cost start
[2025-01-06 23:40:16] Production.INFO: call_cost end
[2025-01-06 23:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:40:17] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:40:17] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:40:17] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:40:17] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:40:17] Production.INFO: ==9128== Releasing lock...
[2025-01-06 23:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:40:19] Production.INFO: count ==672
[2025-01-06 23:40:19] Production.ERROR: pbx CDR StartTime 2025-01-06 20:40:06 - End Time 2025-01-06 23:40:06
[2025-01-06 23:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190982', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190982', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190982', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190982', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:40:19] Production.INFO: ProcessCDR(1,14190982,1,1,2)
[2025-01-06 23:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190982,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190982,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190982,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190982,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190982', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190982', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:40:22] Production.INFO: ==9136== Releasing lock...
[2025-01-06 23:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:40:22] Production.INFO: 32.5 MB #Memory Used#
[2025-01-07 04:41:01] Production.INFO: ==9195== Lock acquired, processing the job...
[2025-01-07 04:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:41:01] Production.INFO: neon service started
[2025-01-07 04:41:01] Production.INFO: neon service started
[2025-01-07 04:41:01] Production.INFO: ==9195== Releasing lock...
[2025-01-07 04:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 23:41:02] Production.INFO: ==9197== Lock acquired, processing the job...
[2025-01-06 23:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:41:02] Production.INFO: ==9199== Lock acquired, processing the job...
[2025-01-07 04:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-06 23:41:02] Production.INFO: ==9197== Releasing lock...
[2025-01-06 23:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:41:02] Production.INFO: ==9199== Releasing lock...
[2025-01-07 04:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:41:03] Production.INFO: ==9206== Lock acquired, processing the job...
[2025-01-06 23:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:41:03] Production.INFO: ==9210== Lock acquired, processing the job...
[2025-01-06 23:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:41:03] Production.INFO: ==9202== Lock acquired, processing the job...
[2025-01-06 23:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:41:03] Production.INFO: ==9204== Lock acquired, processing the job...
[2025-01-06 23:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:41:03] Production.INFO: ==9208== Lock acquired, processing the job...
[2025-01-06 23:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:41:03] Production.INFO: ==9212== Lock acquired, processing the job...
[2025-01-06 23:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:41:03] Production.ERROR: done
[2025-01-06 23:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:41:03] Production.INFO: Account Balance Start.
[2025-01-06 23:41:03] Production.INFO: CreateAllLog Start
[2025-01-06 23:41:03] Production.INFO: 117
[2025-01-06 23:41:03] Production.INFO: Date 2024-12-08
[2025-01-06 23:41:03] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 23:41:03] Production.INFO: count ==21
[2025-01-06 23:41:03] Production.INFO: Date 2024-12-09
[2025-01-06 23:41:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:41:03] Production.INFO: count ==21
[2025-01-06 23:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190985') start
[2025-01-06 23:41:03] Production.ERROR: done
[2025-01-06 23:41:03] Production.INFO: Date 2024-12-10
[2025-01-06 23:41:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:41:03] Production.INFO: ==9204== Releasing lock...
[2025-01-06 23:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:41:03] Production.INFO: Date 2024-12-11
[2025-01-06 23:41:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190985') end
[2025-01-06 23:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:41:03] Production.INFO: 1
[2025-01-06 23:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:41:03] Production.INFO: Date 2024-12-12
[2025-01-06 23:41:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:41:04] Production.INFO: ==9212== Releasing lock...
[2025-01-06 23:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:41:04] Production.INFO: Date 2024-12-13
[2025-01-06 23:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:41:04] Production.INFO: Date 2024-12-14
[2025-01-06 23:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:41:04] Production.INFO: Date 2024-12-15
[2025-01-06 23:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:41:04] Production.INFO: Date 2024-12-16
[2025-01-06 23:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:41:04] Production.INFO: Date 2024-12-17
[2025-01-06 23:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:41:04] Production.INFO: Date 2024-12-18
[2025-01-06 23:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:41:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:41:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:41:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:41:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:41:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:41:04
[end_date_ymd] => 2025-01-06 23:41:04
[RateCDR] => 1
)
[2025-01-06 23:41:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 20:41:04' and `end` < '2025-01-06 23:41:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 23:41:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:41:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:41:04] Production.INFO: Date 2024-12-26
[2025-01-06 23:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:41:04] Production.INFO: Date 2024-12-27
[2025-01-06 23:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:41:04] Production.INFO: Date 2024-12-28
[2025-01-06 23:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:41:04] Production.INFO: Date 2024-12-29
[2025-01-06 23:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:41:04] Production.INFO: Date 2024-12-30
[2025-01-06 23:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:41:04] Production.INFO: Date 2024-12-31
[2025-01-06 23:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:41:04] Production.INFO: Date 2025-01-01
[2025-01-06 23:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:41:04] Production.INFO: Date 2025-01-02
[2025-01-06 23:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:41:04] Production.INFO: Date 2025-01-03
[2025-01-06 23:41:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:41:05] Production.INFO: Date 2025-01-04
[2025-01-06 23:41:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:41:05] Production.INFO: Date 2025-01-05
[2025-01-06 23:41:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:41:05] Production.INFO: Date 2025-01-06
[2025-01-06 23:41:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:41:05] Production.INFO: Total Charge 0
[2025-01-06 23:41:05] Production.INFO: CreateAllLog End
[2025-01-06 23:41:05] Production.INFO: Account Balance End.
[2025-01-06 23:41:05] Production.ERROR: CronJobId end 12
[2025-01-06 23:41:05] Production.INFO: ==9208== Releasing lock...
[2025-01-06 23:41:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:41:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:41:12] Production.ERROR: CronJobId end10
[2025-01-06 23:41:12] Production.INFO: ==9206== Releasing lock...
[2025-01-06 23:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:41:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:41:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:41:14] Production.INFO: call_cost start
[2025-01-06 23:41:14] Production.INFO: call_cost end
[2025-01-06 23:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:41:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:41:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:41:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:41:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:41:15] Production.INFO: ==9202== Releasing lock...
[2025-01-06 23:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:41:17] Production.INFO: count ==660
[2025-01-06 23:41:17] Production.ERROR: pbx CDR StartTime 2025-01-06 20:41:04 - End Time 2025-01-06 23:41:04
[2025-01-06 23:41:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190987', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190987', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190987', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190987', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:41:17] Production.INFO: ProcessCDR(1,14190987,1,1,2)
[2025-01-06 23:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190987,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:41:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190987,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:41:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190987,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:41:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190987,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:41:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190987', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:41:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190987', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:41:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:41:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:41:20] Production.INFO: ==9210== Releasing lock...
[2025-01-06 23:41:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:41:20] Production.INFO: 32.25 MB #Memory Used#
[2025-01-07 04:42:02] Production.INFO: ==9265== Lock acquired, processing the job...
[2025-01-07 04:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:42:02] Production.INFO: neon service started
[2025-01-07 04:42:02] Production.INFO: neon service started
[2025-01-07 04:42:02] Production.INFO: ==9265== Releasing lock...
[2025-01-07 04:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 23:42:02] Production.INFO: ==9267== Lock acquired, processing the job...
[2025-01-06 23:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 23:42:02] Production.INFO: ==9267== Releasing lock...
[2025-01-06 23:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:42:02] Production.INFO: ==9269== Lock acquired, processing the job...
[2025-01-07 04:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:42:02] Production.INFO: ==9269== Releasing lock...
[2025-01-07 04:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:42:03] Production.INFO: ==9271== Lock acquired, processing the job...
[2025-01-06 23:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:42:03] Production.INFO: ==9273== Lock acquired, processing the job...
[2025-01-06 23:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:42:03] Production.INFO: ==9275== Lock acquired, processing the job...
[2025-01-06 23:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:42:03] Production.INFO: ==9273== Releasing lock...
[2025-01-06 23:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:42:04] Production.INFO: ==9279== Lock acquired, processing the job...
[2025-01-06 23:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:42:04] Production.INFO: ==9277== Lock acquired, processing the job...
[2025-01-06 23:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:42:04] Production.INFO: ==9281== Lock acquired, processing the job...
[2025-01-06 23:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:42:04] Production.INFO: Account Balance Start.
[2025-01-06 23:42:04] Production.INFO: CreateAllLog Start
[2025-01-06 23:42:04] Production.INFO: 117
[2025-01-06 23:42:04] Production.INFO: Date 2024-12-08
[2025-01-06 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-06 23:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:42:04] Production.INFO: count ==21
[2025-01-06 23:42:04] Production.ERROR: done
[2025-01-06 23:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 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-06 23:42:04] Production.INFO: count ==21
[2025-01-06 23:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190991') start
[2025-01-06 23:42:04] Production.INFO: Date 2024-12-09
[2025-01-06 23:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:42:04] Production.INFO: Date 2024-12-10
[2025-01-06 23:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:42:04] Production.ERROR: done
[2025-01-06 23:42:04] Production.INFO: Date 2024-12-11
[2025-01-06 23:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:42:04] Production.INFO: Date 2024-12-12
[2025-01-06 23:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:42:04] Production.INFO: Date 2024-12-13
[2025-01-06 23:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14190991') end
[2025-01-06 23:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:42:04] Production.INFO: 1
[2025-01-06 23:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:42:04] Production.INFO: Date 2024-12-14
[2025-01-06 23:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:42:04] Production.INFO: Date 2024-12-15
[2025-01-06 23:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:42:04] Production.INFO: Date 2024-12-16
[2025-01-06 23:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:42:04] Production.INFO: Date 2024-12-17
[2025-01-06 23:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:42:04] Production.INFO: ==9281== Releasing lock...
[2025-01-06 23:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:42:04] Production.INFO: Date 2024-12-18
[2025-01-06 23:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:42:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:42:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:42:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:42:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:42:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:42:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:42:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:42:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:42:05] Production.INFO: Date 2024-12-26
[2025-01-06 23:42:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:42:05] Production.INFO: Date 2024-12-27
[2025-01-06 23:42:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:42:05] Production.INFO: Date 2024-12-28
[2025-01-06 23:42:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:42:05] Production.INFO: Date 2024-12-29
[2025-01-06 23:42:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:42:05] Production.INFO: Date 2024-12-30
[2025-01-06 23:42:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:42:05] Production.INFO: Date 2024-12-31
[2025-01-06 23:42:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:42:05] Production.INFO: Date 2025-01-01
[2025-01-06 23:42:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:42:05] Production.INFO: Date 2025-01-02
[2025-01-06 23:42:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:42:05] Production.INFO: Date 2025-01-03
[2025-01-06 23:42:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:42:05] Production.INFO: Date 2025-01-04
[2025-01-06 23:42:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:42:05] Production.INFO: Date 2025-01-05
[2025-01-06 23:42:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:42:05] Production.INFO: Date 2025-01-06
[2025-01-06 23:42:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:42:05] Production.INFO: Total Charge 0
[2025-01-06 23:42:05] Production.INFO: CreateAllLog End
[2025-01-06 23:42:05] Production.INFO: Account Balance End.
[2025-01-06 23:42:05] Production.ERROR: CronJobId end 12
[2025-01-06 23:42:05] Production.INFO: ==9277== Releasing lock...
[2025-01-06 23:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:42:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:42:05
[end_date_ymd] => 2025-01-06 23:42:05
[RateCDR] => 1
)
[2025-01-06 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-06 20:42:05' and `end` < '2025-01-06 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-06 23:42:13] Production.ERROR: CronJobId end10
[2025-01-06 23:42:13] Production.INFO: ==9275== Releasing lock...
[2025-01-06 23:42:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:42:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:42:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:42:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:42:14] Production.INFO: call_cost start
[2025-01-06 23:42:14] Production.INFO: call_cost end
[2025-01-06 23:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:42:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:42:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:42:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:42:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:42:15] Production.INFO: ==9271== Releasing lock...
[2025-01-06 23:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:42:18] Production.INFO: count ==657
[2025-01-06 23:42:18] Production.ERROR: pbx CDR StartTime 2025-01-06 20:42:05 - End Time 2025-01-06 23:42:05
[2025-01-06 23:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190992', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190992', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190992', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190992', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:42:18] Production.INFO: ProcessCDR(1,14190992,1,1,2)
[2025-01-06 23:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190992,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190992,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190992,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190992,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190992', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190992', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:42:21] Production.INFO: ==9279== Releasing lock...
[2025-01-06 23:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:42:21] Production.INFO: 32.25 MB #Memory Used#
[2025-01-07 04:43:01] Production.INFO: ==9338== Lock acquired, processing the job...
[2025-01-07 04:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:43:01] Production.INFO: neon service started
[2025-01-07 04:43:01] Production.INFO: neon service started
[2025-01-07 04:43:01] Production.INFO: ==9338== Releasing lock...
[2025-01-07 04:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:43:01] Production.INFO: ==9342== Lock acquired, processing the job...
[2025-01-07 04:43:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:43:01] Production.INFO: ==9342== Releasing lock...
[2025-01-07 04:43:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:43:01] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:43:02] Production.INFO: ==9340== Lock acquired, processing the job...
[2025-01-06 23:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 23:43:02] Production.INFO: ==9340== Releasing lock...
[2025-01-06 23:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 23:43:03] Production.INFO: ==9349== Lock acquired, processing the job...
[2025-01-06 23:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:43:03] Production.INFO: ==9355== Lock acquired, processing the job...
[2025-01-06 23:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:43:03] Production.INFO: ==9345== Lock acquired, processing the job...
[2025-01-06 23:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:43:03] Production.INFO: ==9347== Lock acquired, processing the job...
[2025-01-06 23:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:43:03] Production.INFO: count ==21
[2025-01-06 23:43:03] Production.INFO: ==9351== Lock acquired, processing the job...
[2025-01-06 23:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:43:03] Production.INFO: count ==21
[2025-01-06 23:43:03] Production.INFO: ==9353== Lock acquired, processing the job...
[2025-01-06 23:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190993') start
[2025-01-06 23:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:43:03] Production.INFO: Account Balance Start.
[2025-01-06 23:43:03] Production.INFO: CreateAllLog Start
[2025-01-06 23:43:03] Production.INFO: 117
[2025-01-06 23:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14190993') end
[2025-01-06 23:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:43:03] Production.INFO: 1
[2025-01-06 23:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:43:03] Production.INFO: ==9355== Releasing lock...
[2025-01-06 23:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:43:03] Production.INFO: Date 2024-12-08
[2025-01-06 23:43:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:43:03] Production.INFO: Date 2024-12-09
[2025-01-06 23:43:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:43:03] Production.INFO: Date 2024-12-10
[2025-01-06 23:43:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:43:04] Production.INFO: Date 2024-12-11
[2025-01-06 23:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:43:04] Production.ERROR: done
[2025-01-06 23:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:43:04] Production.INFO: Date 2024-12-12
[2025-01-06 23:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:43:04] Production.INFO: Date 2024-12-13
[2025-01-06 23:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:43:04] Production.INFO: ==9347== Releasing lock...
[2025-01-06 23:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:43:04] Production.INFO: Date 2024-12-14
[2025-01-06 23:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:43:04] Production.ERROR: done
[2025-01-06 23:43:04] Production.INFO: Date 2024-12-15
[2025-01-06 23:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:43:04] Production.INFO: Date 2024-12-16
[2025-01-06 23:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:43:04] Production.INFO: Date 2024-12-17
[2025-01-06 23:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:43:04] Production.INFO: Date 2024-12-18
[2025-01-06 23:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:43:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:43:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:43:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:43:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:43:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:43:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:43:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:43:04] Production.INFO: Date 2024-12-26
[2025-01-06 23:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:43:04] Production.INFO: Date 2024-12-27
[2025-01-06 23:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:43:04] Production.INFO: Date 2024-12-28
[2025-01-06 23:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:43:04] Production.INFO: Date 2024-12-29
[2025-01-06 23:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:43:04] Production.INFO: Date 2024-12-30
[2025-01-06 23:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:43:04] Production.INFO: Date 2024-12-31
[2025-01-06 23:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:43:04] Production.INFO: Date 2025-01-01
[2025-01-06 23:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:43:04] Production.INFO: Date 2025-01-02
[2025-01-06 23:43:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:43:05] Production.INFO: Date 2025-01-03
[2025-01-06 23:43:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:43:05] Production.INFO: Date 2025-01-04
[2025-01-06 23:43:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:43:05] Production.INFO: Date 2025-01-05
[2025-01-06 23:43:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:43:05] Production.INFO: Date 2025-01-06
[2025-01-06 23:43:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:43:05] Production.INFO: Total Charge 0
[2025-01-06 23:43:05] Production.INFO: CreateAllLog End
[2025-01-06 23:43:05] Production.INFO: Account Balance End.
[2025-01-06 23:43:05] Production.ERROR: CronJobId end 12
[2025-01-06 23:43:05] Production.INFO: ==9351== Releasing lock...
[2025-01-06 23:43:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:43:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:43:05
[end_date_ymd] => 2025-01-06 23:43:05
[RateCDR] => 1
)
[2025-01-06 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-06 20:43:05' and `end` < '2025-01-06 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-06 23:43:12] Production.ERROR: CronJobId end10
[2025-01-06 23:43:12] Production.INFO: ==9349== Releasing lock...
[2025-01-06 23:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:43:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:43:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:43:13] Production.INFO: call_cost start
[2025-01-06 23:43:13] Production.INFO: call_cost end
[2025-01-06 23:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:43:14] Production.INFO: ==9345== Releasing lock...
[2025-01-06 23:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:43:19] Production.INFO: count ==657
[2025-01-06 23:43:19] Production.ERROR: pbx CDR StartTime 2025-01-06 20:43:05 - End Time 2025-01-06 23:43:05
[2025-01-06 23:43:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190997', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14190997', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190997', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14190997', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:43:19] Production.INFO: ProcessCDR(1,14190997,1,1,2)
[2025-01-06 23:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14190997,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:43:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14190997,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:43:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14190997,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:43:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14190997,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:43:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190997', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:43:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14190997', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:43:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:43:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:43:24] Production.INFO: ==9353== Releasing lock...
[2025-01-06 23:43:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:43:24] Production.INFO: 32.5 MB #Memory Used#
[2025-01-07 04:44:02] Production.INFO: ==9409== Lock acquired, processing the job...
[2025-01-07 04:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:44:02] Production.INFO: neon service started
[2025-01-07 04:44:02] Production.INFO: neon service started
[2025-01-07 04:44:02] Production.INFO: ==9409== Releasing lock...
[2025-01-07 04:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 23:44:02] Production.INFO: ==9411== Lock acquired, processing the job...
[2025-01-06 23:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 23:44:02] Production.INFO: ==9411== Releasing lock...
[2025-01-06 23:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:44:02] Production.INFO: ==9413== Lock acquired, processing the job...
[2025-01-07 04:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:44:02] Production.INFO: ==9413== Releasing lock...
[2025-01-07 04:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:44:03] Production.INFO: ==9424== Lock acquired, processing the job...
[2025-01-06 23:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:44:03] Production.INFO: ==9422== Lock acquired, processing the job...
[2025-01-06 23:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:44:03] Production.INFO: ==9415== Lock acquired, processing the job...
[2025-01-06 23:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:44:03] Production.INFO: ==9417== Lock acquired, processing the job...
[2025-01-06 23:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:44:03] Production.INFO: Account Balance Start.
[2025-01-06 23:44:03] Production.INFO: CreateAllLog Start
[2025-01-06 23:44:03] Production.INFO: ==9420== Lock acquired, processing the job...
[2025-01-06 23:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:44:03] Production.INFO: 117
[2025-01-06 23:44:03] Production.INFO: Date 2024-12-08
[2025-01-06 23:44:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:44:03] Production.INFO: ==9426== Lock acquired, processing the job...
[2025-01-06 23:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:44:03] Production.INFO: Date 2024-12-09
[2025-01-06 23:44:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 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-06 23:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:44:03] Production.INFO: Date 2024-12-10
[2025-01-06 23:44:03] Production.INFO: count ==21
[2025-01-06 23:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:44:04] Production.INFO: count ==21
[2025-01-06 23:44:04] Production.ERROR: done
[2025-01-06 23:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191001') start
[2025-01-06 23:44:04] Production.INFO: Date 2024-12-11
[2025-01-06 23:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:44:04] Production.INFO: ==9417== Releasing lock...
[2025-01-06 23:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:44:04] Production.INFO: Date 2024-12-12
[2025-01-06 23:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:44:04] Production.INFO: Date 2024-12-13
[2025-01-06 23:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:44:04] Production.ERROR: done
[2025-01-06 23:44:04] Production.INFO: Date 2024-12-14
[2025-01-06 23:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191001') end
[2025-01-06 23:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:44:04] Production.INFO: 1
[2025-01-06 23:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:44:04] Production.INFO: Date 2024-12-15
[2025-01-06 23:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:44:04] Production.INFO: ==9426== Releasing lock...
[2025-01-06 23:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:44:04] Production.INFO: Date 2024-12-16
[2025-01-06 23:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:44:04] Production.INFO: Date 2024-12-17
[2025-01-06 23:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:44:04] Production.INFO: Date 2024-12-18
[2025-01-06 23:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:44:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:44:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:44:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:44:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:44:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:44:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:44:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:44:04] Production.INFO: Date 2024-12-26
[2025-01-06 23:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:44:04] Production.INFO: Date 2024-12-27
[2025-01-06 23:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:44:04] Production.INFO: Date 2024-12-28
[2025-01-06 23:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:44:04] Production.INFO: Date 2024-12-29
[2025-01-06 23:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:44:04] Production.INFO: Date 2024-12-30
[2025-01-06 23:44:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:44:05] Production.INFO: Date 2024-12-31
[2025-01-06 23:44:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:44:05] Production.INFO: Date 2025-01-01
[2025-01-06 23:44:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:44:05] Production.INFO: Date 2025-01-02
[2025-01-06 23:44:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:44:05
[end_date_ymd] => 2025-01-06 23:44:05
[RateCDR] => 1
)
[2025-01-06 23:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 20:44:05' and `end` < '2025-01-06 23:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 23:44:05] Production.INFO: Date 2025-01-03
[2025-01-06 23:44:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:44:05] Production.INFO: Date 2025-01-04
[2025-01-06 23:44:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:44:05] Production.INFO: Date 2025-01-05
[2025-01-06 23:44:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:44:05] Production.INFO: Date 2025-01-06
[2025-01-06 23:44:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:44:05] Production.INFO: Total Charge 0
[2025-01-06 23:44:05] Production.INFO: CreateAllLog End
[2025-01-06 23:44:05] Production.INFO: Account Balance End.
[2025-01-06 23:44:05] Production.ERROR: CronJobId end 12
[2025-01-06 23:44:05] Production.INFO: ==9422== Releasing lock...
[2025-01-06 23:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:44:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:44:13] Production.ERROR: CronJobId end10
[2025-01-06 23:44:13] Production.INFO: ==9420== Releasing lock...
[2025-01-06 23:44:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:44:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:44:13] Production.INFO: call_cost start
[2025-01-06 23:44:13] Production.INFO: call_cost end
[2025-01-06 23:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:44:14] Production.INFO: ==9415== Releasing lock...
[2025-01-06 23:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:44:19] Production.INFO: count ==655
[2025-01-06 23:44:20] Production.ERROR: pbx CDR StartTime 2025-01-06 20:44:05 - End Time 2025-01-06 23:44:05
[2025-01-06 23:44:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:44:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191002', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:44:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191002', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:44:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191002', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:44:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191002', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:44:20] Production.INFO: ProcessCDR(1,14191002,1,1,2)
[2025-01-06 23:44:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191002,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:44:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191002,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:44:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191002,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:44:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191002,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191002', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191002', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:44:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:44:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:44:23] Production.INFO: ==9424== Releasing lock...
[2025-01-06 23:44:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:44:23] Production.INFO: 32.25 MB #Memory Used#
[2025-01-07 04:45:01] Production.INFO: ==9480== Lock acquired, processing the job...
[2025-01-07 04:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:45:01] Production.INFO: neon service started
[2025-01-07 04:45:01] Production.INFO: neon service started
[2025-01-07 04:45:01] Production.INFO: ==9480== Releasing lock...
[2025-01-07 04:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 23:45:01] Production.INFO: ==9482== Lock acquired, processing the job...
[2025-01-06 23:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:45:02] Production.INFO: ==9484== Lock acquired, processing the job...
[2025-01-07 04:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:45:02] Production.INFO: ==9484== Releasing lock...
[2025-01-07 04:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:45:02] Production.INFO: ==9482== Releasing lock...
[2025-01-06 23:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 23:45:03] Production.INFO: ==9489== Lock acquired, processing the job...
[2025-01-06 23:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:45:03] Production.INFO: ==9491== Lock acquired, processing the job...
[2025-01-06 23:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:45:03] Production.INFO: ==9493== Lock acquired, processing the job...
[2025-01-06 23:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:45:03] Production.INFO: ==9487== Lock acquired, processing the job...
[2025-01-06 23:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:45:03] Production.INFO: Account Balance Start.
[2025-01-06 23:45:03] Production.INFO: CreateAllLog Start
[2025-01-06 23:45:03] Production.INFO: 117
[2025-01-06 23:45:03] Production.INFO: Date 2024-12-08
[2025-01-06 23:45:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:45:03] Production.INFO: ==9495== Lock acquired, processing the job...
[2025-01-06 23:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:45:03] Production.INFO: Date 2024-12-09
[2025-01-06 23:45:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:45:03] Production.INFO: ==9489== Releasing lock...
[2025-01-06 23:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:45:03] Production.INFO: Date 2024-12-10
[2025-01-06 23:45:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:45:03] Production.INFO: ==9497== Lock acquired, processing the job...
[2025-01-06 23:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:45:03] Production.INFO: Date 2024-12-11
[2025-01-06 23:45:03] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 23:45:03] Production.INFO: Date 2024-12-12
[2025-01-06 23:45:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:45:03] Production.INFO: count ==21
[2025-01-06 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-06 23:45:03] Production.INFO: count ==21
[2025-01-06 23:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191006') start
[2025-01-06 23:45:03] Production.INFO: Date 2024-12-13
[2025-01-06 23:45:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:45:03] Production.INFO: Date 2024-12-14
[2025-01-06 23:45:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:45:03] Production.INFO: Date 2024-12-15
[2025-01-06 23:45:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:45:03] Production.INFO: Date 2024-12-16
[2025-01-06 23:45:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191006') end
[2025-01-06 23:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:45:03] Production.INFO: 1
[2025-01-06 23:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:45:03] Production.ERROR: done
[2025-01-06 23:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:45:03] Production.INFO: Date 2024-12-17
[2025-01-06 23:45:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:45:03] Production.INFO: ==9497== Releasing lock...
[2025-01-06 23:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:45:03] Production.INFO: Date 2024-12-18
[2025-01-06 23:45:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:45:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:45:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:45:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:45:04] Production.ERROR: done
[2025-01-06 23:45:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:45:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:45:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:45:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:45:04] Production.INFO: Date 2024-12-26
[2025-01-06 23:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:45:04] Production.INFO: Date 2024-12-27
[2025-01-06 23:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:45:04] Production.INFO: Date 2024-12-28
[2025-01-06 23:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:45:04] Production.INFO: Date 2024-12-29
[2025-01-06 23:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:45:04] Production.INFO: Date 2024-12-30
[2025-01-06 23:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:45:04] Production.INFO: Date 2024-12-31
[2025-01-06 23:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:45:04] Production.INFO: Date 2025-01-01
[2025-01-06 23:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:45:04] Production.INFO: Date 2025-01-02
[2025-01-06 23:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:45:04] Production.INFO: Date 2025-01-03
[2025-01-06 23:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:45:04] Production.INFO: Date 2025-01-04
[2025-01-06 23:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:45:04] Production.INFO: Date 2025-01-05
[2025-01-06 23:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:45:04] Production.INFO: Date 2025-01-06
[2025-01-06 23:45:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:45:04] Production.INFO: Total Charge 0
[2025-01-06 23:45:04] Production.INFO: CreateAllLog End
[2025-01-06 23:45:04] Production.INFO: Account Balance End.
[2025-01-06 23:45:04] Production.ERROR: CronJobId end 12
[2025-01-06 23:45:04] Production.INFO: ==9493== Releasing lock...
[2025-01-06 23:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:45:05
[end_date_ymd] => 2025-01-06 23:45:05
[RateCDR] => 1
)
[2025-01-06 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-06 20:45:05' and `end` < '2025-01-06 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-06 23:45:12] Production.ERROR: CronJobId end10
[2025-01-06 23:45:12] Production.INFO: ==9491== Releasing lock...
[2025-01-06 23:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:45:13] Production.INFO: call_cost start
[2025-01-06 23:45:13] Production.INFO: call_cost end
[2025-01-06 23:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:45:14] Production.INFO: ==9487== Releasing lock...
[2025-01-06 23:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:45:17] Production.INFO: count ==655
[2025-01-06 23:45:18] Production.ERROR: pbx CDR StartTime 2025-01-06 20:45:05 - End Time 2025-01-06 23:45:05
[2025-01-06 23:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191007', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191007', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191007', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191007', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:45:18] Production.INFO: ProcessCDR(1,14191007,1,1,2)
[2025-01-06 23:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191007,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191007,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191007,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191007,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191007', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191007', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:45:21] Production.INFO: ==9495== Releasing lock...
[2025-01-06 23:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:45:21] Production.INFO: 32.25 MB #Memory Used#
[2025-01-07 04:46:01] Production.INFO: ==9555== Lock acquired, processing the job...
[2025-01-07 04:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:46:02] Production.INFO: neon service started
[2025-01-07 04:46:02] Production.INFO: neon service started
[2025-01-07 04:46:02] Production.INFO: ==9555== Releasing lock...
[2025-01-07 04:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:46:02] Production.INFO: ==9559== Lock acquired, processing the job...
[2025-01-07 04:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:46:02] Production.INFO: ==9559== Releasing lock...
[2025-01-07 04:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:46:02] Production.INFO: ==9557== Lock acquired, processing the job...
[2025-01-06 23:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 23:46:02] Production.INFO: ==9557== Releasing lock...
[2025-01-06 23:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 23:46:03] Production.INFO: ==9570== Lock acquired, processing the job...
[2025-01-06 23:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:46:03] Production.INFO: ==9568== Lock acquired, processing the job...
[2025-01-06 23:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:46:03] Production.INFO: ==9562== Lock acquired, processing the job...
[2025-01-06 23:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:46:03] Production.INFO: Account Balance Start.
[2025-01-06 23:46:03] Production.INFO: CreateAllLog Start
[2025-01-06 23:46:03] Production.INFO: 117
[2025-01-06 23:46:03] Production.INFO: Date 2024-12-08
[2025-01-06 23:46:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:46:03] Production.INFO: ==9566== Lock acquired, processing the job...
[2025-01-06 23:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:46:03] Production.ERROR: done
[2025-01-06 23:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:46:03] Production.INFO: ==9564== Lock acquired, processing the job...
[2025-01-06 23:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:46:04] Production.INFO: Date 2024-12-09
[2025-01-06 23:46:04] Production.INFO: ==9572== Lock acquired, processing the job...
[2025-01-06 23:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:46:04] Production.INFO: Date 2024-12-10
[2025-01-06 23:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:46:04] Production.INFO: Date 2024-12-11
[2025-01-06 23:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:46:04] Production.ERROR: done
[2025-01-06 23:46:04] Production.INFO: Date 2024-12-12
[2025-01-06 23:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 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-06 23:46:04] Production.INFO: Date 2024-12-13
[2025-01-06 23:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:46:04] Production.INFO: count ==21
[2025-01-06 23:46:04] Production.INFO: Date 2024-12-14
[2025-01-06 23:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 23:46:04] Production.INFO: count ==21
[2025-01-06 23:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191010') start
[2025-01-06 23:46:04] Production.INFO: Date 2024-12-15
[2025-01-06 23:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:46:04] Production.INFO: Date 2024-12-16
[2025-01-06 23:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191010') end
[2025-01-06 23:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:46:04] Production.INFO: 1
[2025-01-06 23:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:46:04] Production.INFO: Date 2024-12-17
[2025-01-06 23:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:46:04] Production.INFO: Date 2024-12-18
[2025-01-06 23:46:04] Production.INFO: ==9564== Releasing lock...
[2025-01-06 23:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:46:04] Production.INFO: ==9572== Releasing lock...
[2025-01-06 23:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:46:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:46:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:46:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:46:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:46:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:46:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:46:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:46:04] Production.INFO: Date 2024-12-26
[2025-01-06 23:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:46:04] Production.INFO: Date 2024-12-27
[2025-01-06 23:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:46:04] Production.INFO: Date 2024-12-28
[2025-01-06 23:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:46:04] Production.INFO: Date 2024-12-29
[2025-01-06 23:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:46:04] Production.INFO: Date 2024-12-30
[2025-01-06 23:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:46:04] Production.INFO: Date 2024-12-31
[2025-01-06 23:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:46:04] Production.INFO: Date 2025-01-01
[2025-01-06 23:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:46:04] Production.INFO: Date 2025-01-02
[2025-01-06 23:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:46:04] Production.INFO: Date 2025-01-03
[2025-01-06 23:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:46:04] Production.INFO: Date 2025-01-04
[2025-01-06 23:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:46:04] Production.INFO: Date 2025-01-05
[2025-01-06 23:46:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:46:05] Production.INFO: Date 2025-01-06
[2025-01-06 23:46:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:46:05] Production.INFO: Total Charge 0
[2025-01-06 23:46:05] Production.INFO: CreateAllLog End
[2025-01-06 23:46:05] Production.INFO: Account Balance End.
[2025-01-06 23:46:05] Production.ERROR: CronJobId end 12
[2025-01-06 23:46:05] Production.INFO: ==9568== Releasing lock...
[2025-01-06 23:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:46:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:46:05
[end_date_ymd] => 2025-01-06 23:46:05
[RateCDR] => 1
)
[2025-01-06 23:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 20:46:05' and `end` < '2025-01-06 23:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 23:46:12] Production.ERROR: CronJobId end10
[2025-01-06 23:46:12] Production.INFO: ==9566== Releasing lock...
[2025-01-06 23:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:46:14] Production.INFO: call_cost start
[2025-01-06 23:46:14] Production.INFO: call_cost end
[2025-01-06 23:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:46:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:46:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:46:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:46:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:46:15] Production.INFO: ==9562== Releasing lock...
[2025-01-06 23:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:46:18] Production.INFO: count ==655
[2025-01-06 23:46:18] Production.ERROR: pbx CDR StartTime 2025-01-06 20:46:05 - End Time 2025-01-06 23:46:05
[2025-01-06 23:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191011', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191011', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191011', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191011', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:46:18] Production.INFO: ProcessCDR(1,14191011,1,1,2)
[2025-01-06 23:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191011,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191011,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191011,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191011,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191011', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191011', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:46:21] Production.INFO: ==9570== Releasing lock...
[2025-01-06 23:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:46:21] Production.INFO: 32.25 MB #Memory Used#
[2025-01-07 04:47:01] Production.INFO: ==9629== Lock acquired, processing the job...
[2025-01-07 04:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:47:01] Production.INFO: neon service started
[2025-01-07 04:47:01] Production.INFO: neon service started
[2025-01-07 04:47:01] Production.INFO: ==9629== Releasing lock...
[2025-01-07 04:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:47:01] Production.INFO: ==9633== Lock acquired, processing the job...
[2025-01-07 04:47:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:47:01] Production.INFO: ==9633== Releasing lock...
[2025-01-07 04:47:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:47:01] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:47:01] Production.INFO: ==9631== Lock acquired, processing the job...
[2025-01-06 23:47:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 23:47:02] Production.INFO: ==9631== Releasing lock...
[2025-01-06 23:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 23:47:02] Production.INFO: ==9639== Lock acquired, processing the job...
[2025-01-06 23:47:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:47:03] Production.INFO: ==9645== Lock acquired, processing the job...
[2025-01-06 23:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:47:03] Production.INFO: ==9635== Lock acquired, processing the job...
[2025-01-06 23:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 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-06 23:47:03] Production.INFO: ==9637== Lock acquired, processing the job...
[2025-01-06 23:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:47:03] Production.INFO: count ==21
[2025-01-06 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-06 23:47:03] Production.INFO: count ==21
[2025-01-06 23:47:03] Production.INFO: ==9641== Lock acquired, processing the job...
[2025-01-06 23:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:47:03] Production.INFO: ==9643== Lock acquired, processing the job...
[2025-01-06 23:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191013') start
[2025-01-06 23:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191013') end
[2025-01-06 23:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:47:03] Production.INFO: 1
[2025-01-06 23:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:47:03] Production.INFO: ==9645== Releasing lock...
[2025-01-06 23:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:47:03] Production.INFO: Account Balance Start.
[2025-01-06 23:47:03] Production.INFO: CreateAllLog Start
[2025-01-06 23:47:03] Production.INFO: 117
[2025-01-06 23:47:03] Production.INFO: Date 2024-12-08
[2025-01-06 23:47:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:47:03] Production.INFO: Date 2024-12-09
[2025-01-06 23:47:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:47:03] Production.INFO: Date 2024-12-10
[2025-01-06 23:47:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:47:03] Production.INFO: Date 2024-12-11
[2025-01-06 23:47:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:47:03] Production.INFO: Date 2024-12-12
[2025-01-06 23:47:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:47:03] Production.INFO: ==9637== Releasing lock...
[2025-01-06 23:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:47:03] Production.INFO: Date 2024-12-13
[2025-01-06 23:47:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:47:03] Production.INFO: Date 2024-12-14
[2025-01-06 23:47:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:47:03] Production.INFO: Date 2024-12-15
[2025-01-06 23:47:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:47:03] Production.INFO: Date 2024-12-16
[2025-01-06 23:47:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:47:03] Production.ERROR: done
[2025-01-06 23:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:47:03] Production.INFO: Date 2024-12-17
[2025-01-06 23:47:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:47:03] Production.INFO: Date 2024-12-18
[2025-01-06 23:47:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:47:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:47:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:47:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:47:04] Production.ERROR: done
[2025-01-06 23:47:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:47:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:47:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:47:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:47:04] Production.INFO: Date 2024-12-26
[2025-01-06 23:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:47:04] Production.INFO: Date 2024-12-27
[2025-01-06 23:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:47:04] Production.INFO: Date 2024-12-28
[2025-01-06 23:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:47:04] Production.INFO: Date 2024-12-29
[2025-01-06 23:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:47:04] Production.INFO: Date 2024-12-30
[2025-01-06 23:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:47:04] Production.INFO: Date 2024-12-31
[2025-01-06 23:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:47:04] Production.INFO: Date 2025-01-01
[2025-01-06 23:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:47:04] Production.INFO: Date 2025-01-02
[2025-01-06 23:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:47:04] Production.INFO: Date 2025-01-03
[2025-01-06 23:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:47:04] Production.INFO: Date 2025-01-04
[2025-01-06 23:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:47:04] Production.INFO: Date 2025-01-05
[2025-01-06 23:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:47:04] Production.INFO: Date 2025-01-06
[2025-01-06 23:47:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:47:04] Production.INFO: Total Charge 0
[2025-01-06 23:47:04] Production.INFO: CreateAllLog End
[2025-01-06 23:47:04] Production.INFO: Account Balance End.
[2025-01-06 23:47:04] Production.ERROR: CronJobId end 12
[2025-01-06 23:47:04] Production.INFO: ==9641== Releasing lock...
[2025-01-06 23:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:47:05
[end_date_ymd] => 2025-01-06 23:47:05
[RateCDR] => 1
)
[2025-01-06 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-06 20:47:05' and `end` < '2025-01-06 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-06 23:47:11] Production.ERROR: CronJobId end10
[2025-01-06 23:47:11] Production.INFO: ==9639== Releasing lock...
[2025-01-06 23:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:47:13] Production.INFO: call_cost start
[2025-01-06 23:47:13] Production.INFO: call_cost end
[2025-01-06 23:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:47:14] Production.INFO: ==9635== Releasing lock...
[2025-01-06 23:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:47:18] Production.INFO: count ==651
[2025-01-06 23:47:18] Production.ERROR: pbx CDR StartTime 2025-01-06 20:47:05 - End Time 2025-01-06 23:47:05
[2025-01-06 23:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191017', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191017', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191017', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191017', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:47:18] Production.INFO: ProcessCDR(1,14191017,1,1,2)
[2025-01-06 23:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191017,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191017,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191017,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191017,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191017', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191017', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:47:21] Production.INFO: ==9643== Releasing lock...
[2025-01-06 23:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:47:21] Production.INFO: 32.25 MB #Memory Used#
[2025-01-07 04:48:01] Production.INFO: ==9705== Lock acquired, processing the job...
[2025-01-07 04:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:48:01] Production.INFO: neon service started
[2025-01-07 04:48:01] Production.INFO: neon service started
[2025-01-07 04:48:01] Production.INFO: ==9705== Releasing lock...
[2025-01-07 04:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:48:02] Production.INFO: ==9710== Lock acquired, processing the job...
[2025-01-07 04:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:48:02] Production.INFO: ==9710== Releasing lock...
[2025-01-07 04:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:48:02] Production.INFO: ==9708== Lock acquired, processing the job...
[2025-01-06 23:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 23:48:02] Production.INFO: ==9708== Releasing lock...
[2025-01-06 23:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 23:48:03] Production.INFO: ==9718== Lock acquired, processing the job...
[2025-01-06 23:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:48:03] Production.INFO: ==9722== Lock acquired, processing the job...
[2025-01-06 23:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:48:03] Production.INFO: Account Balance Start.
[2025-01-06 23:48:03] Production.INFO: CreateAllLog Start
[2025-01-06 23:48:03] Production.INFO: 117
[2025-01-06 23:48:03] Production.INFO: ==9712== Lock acquired, processing the job...
[2025-01-06 23:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:48:03] Production.INFO: Date 2024-12-08
[2025-01-06 23:48:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:48:03] Production.INFO: Date 2024-12-09
[2025-01-06 23:48:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:48:03] Production.INFO: ==9716== Lock acquired, processing the job...
[2025-01-06 23:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:48:03] Production.INFO: count ==21
[2025-01-06 23:48:03] Production.INFO: ==9714== Lock acquired, processing the job...
[2025-01-06 23:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:48:03] Production.INFO: ==9720== Lock acquired, processing the job...
[2025-01-06 23:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:48:03] Production.INFO: count ==21
[2025-01-06 23:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191019') start
[2025-01-06 23:48:03] Production.INFO: Date 2024-12-10
[2025-01-06 23:48:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:48:03] Production.INFO: Date 2024-12-11
[2025-01-06 23:48:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:48:03] Production.INFO: Date 2024-12-12
[2025-01-06 23:48:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191019') end
[2025-01-06 23:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:48:03] Production.INFO: 1
[2025-01-06 23:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:48:03] Production.INFO: ==9722== Releasing lock...
[2025-01-06 23:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:48:03] Production.INFO: Date 2024-12-13
[2025-01-06 23:48:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:48:03] Production.INFO: Date 2024-12-14
[2025-01-06 23:48:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:48:03] Production.INFO: Date 2024-12-15
[2025-01-06 23:48:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:48:04] Production.INFO: Date 2024-12-16
[2025-01-06 23:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:48:04] Production.ERROR: done
[2025-01-06 23:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:48:04] Production.INFO: Date 2024-12-17
[2025-01-06 23:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:48:04] Production.INFO: ==9714== Releasing lock...
[2025-01-06 23:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:48:04] Production.INFO: Date 2024-12-18
[2025-01-06 23:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:48:04] Production.ERROR: done
[2025-01-06 23:48:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:48:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:48:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:48:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:48:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:48:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:48:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:48:04] Production.INFO: Date 2024-12-26
[2025-01-06 23:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:48:04] Production.INFO: Date 2024-12-27
[2025-01-06 23:48:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:48:05] Production.INFO: Date 2024-12-28
[2025-01-06 23:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:48:05] Production.INFO: Date 2024-12-29
[2025-01-06 23:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:48:05] Production.INFO: Date 2024-12-30
[2025-01-06 23:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:48:05] Production.INFO: Date 2024-12-31
[2025-01-06 23:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:48:05] Production.INFO: Date 2025-01-01
[2025-01-06 23:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:48:05
[end_date_ymd] => 2025-01-06 23:48:05
[RateCDR] => 1
)
[2025-01-06 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-06 20:48:05' and `end` < '2025-01-06 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-06 23:48:05] Production.INFO: Date 2025-01-02
[2025-01-06 23:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:48:05] Production.INFO: Date 2025-01-03
[2025-01-06 23:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:48:05] Production.INFO: Date 2025-01-04
[2025-01-06 23:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:48:05] Production.INFO: Date 2025-01-05
[2025-01-06 23:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:48:05] Production.INFO: Date 2025-01-06
[2025-01-06 23:48:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:48:05] Production.INFO: Total Charge 0
[2025-01-06 23:48:05] Production.INFO: CreateAllLog End
[2025-01-06 23:48:05] Production.INFO: Account Balance End.
[2025-01-06 23:48:05] Production.ERROR: CronJobId end 12
[2025-01-06 23:48:05] Production.INFO: ==9718== Releasing lock...
[2025-01-06 23:48:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:48:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:48:12] Production.ERROR: CronJobId end10
[2025-01-06 23:48:12] Production.INFO: ==9716== Releasing lock...
[2025-01-06 23:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:48:14] Production.INFO: call_cost start
[2025-01-06 23:48:14] Production.INFO: call_cost end
[2025-01-06 23:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:48:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:48:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:48:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:48:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:48:15] Production.INFO: ==9712== Releasing lock...
[2025-01-06 23:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:48:18] Production.INFO: count ==643
[2025-01-06 23:48:18] Production.ERROR: pbx CDR StartTime 2025-01-06 20:48:05 - End Time 2025-01-06 23:48:05
[2025-01-06 23:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191022', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191022', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191022', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191022', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:48:18] Production.INFO: ProcessCDR(1,14191022,1,1,2)
[2025-01-06 23:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191022,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191022,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191022,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191022,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191022', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191022', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:48:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:48:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:48:21] Production.INFO: ==9720== Releasing lock...
[2025-01-06 23:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:48:21] Production.INFO: 32.25 MB #Memory Used#
[2025-01-07 04:49:02] Production.INFO: ==9785== Lock acquired, processing the job...
[2025-01-07 04:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:49:02] Production.INFO: neon service started
[2025-01-07 04:49:02] Production.INFO: neon service started
[2025-01-07 04:49:02] Production.INFO: ==9785== Releasing lock...
[2025-01-07 04:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:49:02] Production.INFO: ==9789== Lock acquired, processing the job...
[2025-01-07 04:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:49:02] Production.INFO: ==9789== Releasing lock...
[2025-01-07 04:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:49:02] Production.INFO: ==9787== Lock acquired, processing the job...
[2025-01-06 23:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 23:49:02] Production.INFO: ==9787== Releasing lock...
[2025-01-06 23:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 23:49:03] Production.INFO: ==9797== Lock acquired, processing the job...
[2025-01-06 23:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:49:03] Production.INFO: ==9801== Lock acquired, processing the job...
[2025-01-06 23:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:49:03] Production.INFO: ==9791== Lock acquired, processing the job...
[2025-01-06 23:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:49:03] Production.INFO: Account Balance Start.
[2025-01-06 23:49:03] Production.INFO: CreateAllLog Start
[2025-01-06 23:49:03] Production.INFO: ==9793== Lock acquired, processing the job...
[2025-01-06 23:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:49:03] Production.INFO: 117
[2025-01-06 23:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23: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-06 23:49:04] Production.INFO: Date 2024-12-08
[2025-01-06 23:49:04] Production.INFO: ==9795== Lock acquired, processing the job...
[2025-01-06 23:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:49:04] Production.INFO: count ==21
[2025-01-06 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-06 23:49:04] Production.INFO: count ==21
[2025-01-06 23:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191024') start
[2025-01-06 23:49:04] Production.INFO: ==9799== Lock acquired, processing the job...
[2025-01-06 23:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:49:04] Production.INFO: Date 2024-12-09
[2025-01-06 23:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:49:04] Production.INFO: Date 2024-12-10
[2025-01-06 23:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:49:04] Production.INFO: Date 2024-12-11
[2025-01-06 23:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191024') end
[2025-01-06 23:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:49:04] Production.INFO: 1
[2025-01-06 23:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:49:04] Production.INFO: Date 2024-12-12
[2025-01-06 23:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:49:04] Production.INFO: Date 2024-12-13
[2025-01-06 23:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:49:04] Production.INFO: Date 2024-12-14
[2025-01-06 23:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:49:04] Production.INFO: ==9793== Releasing lock...
[2025-01-06 23:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:49:04] Production.INFO: Date 2024-12-15
[2025-01-06 23:49:04] Production.INFO: ==9801== Releasing lock...
[2025-01-06 23:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:49:04] Production.INFO: Date 2024-12-16
[2025-01-06 23:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:49:04] Production.INFO: Date 2024-12-17
[2025-01-06 23:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:49:04] Production.INFO: Date 2024-12-18
[2025-01-06 23:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:49:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:49:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:49:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:49:04] Production.ERROR: done
[2025-01-06 23:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:49:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:49:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:49:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:49:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:49:04] Production.ERROR: done
[2025-01-06 23:49:04] Production.INFO: Date 2024-12-26
[2025-01-06 23:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:49:04] Production.INFO: Date 2024-12-27
[2025-01-06 23:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:49:04] Production.INFO: Date 2024-12-28
[2025-01-06 23:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:49:04] Production.INFO: Date 2024-12-29
[2025-01-06 23:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:49:04] Production.INFO: Date 2024-12-30
[2025-01-06 23:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:49:04] Production.INFO: Date 2024-12-31
[2025-01-06 23:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:49:04] Production.INFO: Date 2025-01-01
[2025-01-06 23:49:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:49:04] Production.INFO: Date 2025-01-02
[2025-01-06 23:49:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:49:05] Production.INFO: Date 2025-01-03
[2025-01-06 23:49:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:49:05] Production.INFO: Date 2025-01-04
[2025-01-06 23:49:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:49:05] Production.INFO: Date 2025-01-05
[2025-01-06 23:49:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:49:05] Production.INFO: Date 2025-01-06
[2025-01-06 23:49:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:49:05] Production.INFO: Total Charge 0
[2025-01-06 23:49:05] Production.INFO: CreateAllLog End
[2025-01-06 23:49:05] Production.INFO: Account Balance End.
[2025-01-06 23:49:05] Production.ERROR: CronJobId end 12
[2025-01-06 23:49:05] Production.INFO: ==9797== Releasing lock...
[2025-01-06 23:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:49:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:49:05
[end_date_ymd] => 2025-01-06 23:49:05
[RateCDR] => 1
)
[2025-01-06 23:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 20:49:05' and `end` < '2025-01-06 23:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 23:49:13] Production.ERROR: CronJobId end10
[2025-01-06 23:49:13] Production.INFO: ==9795== Releasing lock...
[2025-01-06 23:49:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:49:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:49:14] Production.INFO: call_cost start
[2025-01-06 23:49:14] Production.INFO: call_cost end
[2025-01-06 23:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:49:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:49:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:49:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:49:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:49:15] Production.INFO: ==9791== Releasing lock...
[2025-01-06 23:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:49:19] Production.INFO: count ==636
[2025-01-06 23:49:19] Production.ERROR: pbx CDR StartTime 2025-01-06 20:49:05 - End Time 2025-01-06 23:49:05
[2025-01-06 23:49:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191027', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191027', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191027', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191027', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:49:19] Production.INFO: ProcessCDR(1,14191027,1,1,2)
[2025-01-06 23:49:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191027,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:49:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191027,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:49:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191027,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191027,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191027', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191027', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:49:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:49:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:49:22] Production.INFO: ==9799== Releasing lock...
[2025-01-06 23:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:49:22] Production.INFO: 32.25 MB #Memory Used#
[2025-01-07 04:50:01] Production.INFO: ==9912== Lock acquired, processing the job...
[2025-01-07 04:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:50:01] Production.INFO: neon service started
[2025-01-07 04:50:01] Production.INFO: neon service started
[2025-01-07 04:50:01] Production.INFO: ==9912== Releasing lock...
[2025-01-07 04:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 23:50:02] Production.INFO: ==9914== Lock acquired, processing the job...
[2025-01-06 23:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 23:50:02] Production.INFO: ==9914== Releasing lock...
[2025-01-06 23:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:50:02] Production.INFO: ==9916== Lock acquired, processing the job...
[2025-01-07 04:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:50:02] Production.INFO: ==9916== Releasing lock...
[2025-01-07 04:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:50:03] Production.INFO: ==9918== Lock acquired, processing the job...
[2025-01-06 23:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-06 23:50:03] Production.INFO: ==9922== Lock acquired, processing the job...
[2025-01-06 23:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:50:03] Production.INFO: ==9924== Lock acquired, processing the job...
[2025-01-06 23:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-06 23:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-06 23:50:03] Production.INFO: ==9920== Lock acquired, processing the job...
[2025-01-06 23:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:50:03] Production.INFO: ==9918== Releasing lock...
[2025-01-06 23:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-06 23:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-06 23:50:03] Production.INFO: ==9926== Lock acquired, processing the job...
[2025-01-06 23:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:50:03] Production.INFO: Account Balance Start.
[2025-01-06 23:50:03] Production.INFO: CreateAllLog Start
[2025-01-06 23:50:03] Production.INFO: 117
[2025-01-06 23:50:03] Production.INFO: Date 2024-12-08
[2025-01-06 23:50:03] Production.INFO: ==9928== Lock acquired, processing the job...
[2025-01-06 23:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:50:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:50:03] Production.INFO: ==9922== Releasing lock...
[2025-01-06 23:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:50:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:50:03] Production.INFO: ==9930== Lock acquired, processing the job...
[2025-01-06 23:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-06 23:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:50:03] Production.INFO: Date 2024-12-09
[2025-01-06 23:50:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:50:03] Production.INFO: ==9932== Lock acquired, processing the job...
[2025-01-06 23:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:50:03] Production.INFO: Date 2024-12-10
[2025-01-06 23:50:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:50:04] Production.INFO: Date 2024-12-11
[2025-01-06 23:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:50:04] Production.INFO: Date 2024-12-12
[2025-01-06 23:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 23:50:04] Production.INFO: count ==21
[2025-01-06 23:50:04] Production.ERROR: done
[2025-01-06 23:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 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-06 23:50:04] Production.INFO: Date 2024-12-13
[2025-01-06 23:50:04] Production.INFO: count ==21
[2025-01-06 23:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191031') start
[2025-01-06 23:50:04] Production.ERROR: done
[2025-01-06 23:50:04] Production.INFO: Date 2024-12-14
[2025-01-06 23:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:50:04] Production.ERROR: done
[2025-01-06 23:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-06 23:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14191032', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) start
[2025-01-06 23:50:04] Production.INFO: Date 2024-12-15
[2025-01-06 23:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:50:04] Production.INFO: Date 2024-12-16
[2025-01-06 23:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:50:04] Production.INFO: Date 2024-12-17
[2025-01-06 23:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191031') end
[2025-01-06 23:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:50:04] Production.INFO: 1
[2025-01-06 23:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:50:04] Production.INFO: ==9932== Releasing lock...
[2025-01-06 23:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:50:04] Production.INFO: Date 2024-12-18
[2025-01-06 23:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:50:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:50:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:50:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:50:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:50:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:50:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:50:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:50:04] Production.INFO: Date 2024-12-26
[2025-01-06 23:50:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:50:05] Production.INFO: Date 2024-12-27
[2025-01-06 23:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:50:05] Production.INFO: Date 2024-12-28
[2025-01-06 23:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:50:05] Production.INFO: Date 2024-12-29
[2025-01-06 23:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:50:05] Production.INFO: Date 2024-12-30
[2025-01-06 23:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:50:05] Production.INFO: Date 2024-12-31
[2025-01-06 23:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:50:05] Production.INFO: Date 2025-01-01
[2025-01-06 23:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:50:05] Production.INFO: Date 2025-01-02
[2025-01-06 23:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:50:05] Production.INFO: Date 2025-01-03
[2025-01-06 23:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:50:05] Production.INFO: Date 2025-01-04
[2025-01-06 23:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:50:05] Production.INFO: Date 2025-01-05
[2025-01-06 23:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:50:05] Production.INFO: Date 2025-01-06
[2025-01-06 23:50:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:50:05] Production.INFO: Total Charge 0
[2025-01-06 23:50:05] Production.INFO: CreateAllLog End
[2025-01-06 23:50:05] Production.INFO: Account Balance End.
[2025-01-06 23:50:05] Production.ERROR: CronJobId end 12
[2025-01-06 23:50:05] Production.INFO: ==9926== Releasing lock...
[2025-01-06 23:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:50:05
[end_date_ymd] => 2025-01-06 23:50:05
[RateCDR] => 1
)
[2025-01-06 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-06 20:50:05' and `end` < '2025-01-06 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-06 23:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14191032', 'tblTempUsageDetail_20reseller','2025-01-06','2025-01-06','1' ) end
[2025-01-06 23:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-06 23:50:08] Production.INFO: ProcessCDR(1,14191032,1,1,2)
[2025-01-06 23:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14191032,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14191032,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:50:08] Production.INFO: ==9930== Releasing lock...
[2025-01-06 23:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-06 23:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-06 23:50:15] Production.ERROR: CronJobId end10
[2025-01-06 23:50:15] Production.INFO: ==9924== Releasing lock...
[2025-01-06 23:50:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:50:15] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:50:15] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:50:15] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:50:16] Production.INFO: call_cost start
[2025-01-06 23:50:16] Production.INFO: call_cost end
[2025-01-06 23:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:50:16] Production.INFO: ==9920== Releasing lock...
[2025-01-06 23:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:50:18] Production.INFO: count ==636
[2025-01-06 23:50:18] Production.ERROR: pbx CDR StartTime 2025-01-06 20:50:05 - End Time 2025-01-06 23:50:05
[2025-01-06 23:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191033', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191033', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191033', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191033', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:50:18] Production.INFO: ProcessCDR(1,14191033,1,1,2)
[2025-01-06 23:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191033,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191033,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191033,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191033,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191033', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191033', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:50:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:50:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:50:21] Production.INFO: ==9928== Releasing lock...
[2025-01-06 23:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:50:21] Production.INFO: 32.25 MB #Memory Used#
[2025-01-07 04:51:02] Production.INFO: ==10011== Lock acquired, processing the job...
[2025-01-07 04:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:51:02] Production.INFO: neon service started
[2025-01-07 04:51:02] Production.INFO: neon service started
[2025-01-07 04:51:02] Production.INFO: ==10011== Releasing lock...
[2025-01-07 04:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 23:51:02] Production.INFO: ==10013== Lock acquired, processing the job...
[2025-01-06 23:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 23:51:02] Production.INFO: ==10013== Releasing lock...
[2025-01-06 23:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:51:02] Production.INFO: ==10015== Lock acquired, processing the job...
[2025-01-07 04:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:51:02] Production.INFO: ==10015== Releasing lock...
[2025-01-07 04:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:51:03] Production.INFO: ==10018== Lock acquired, processing the job...
[2025-01-06 23:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:51:03] Production.INFO: ==10020== Lock acquired, processing the job...
[2025-01-06 23:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:51:03] Production.INFO: ==10022== Lock acquired, processing the job...
[2025-01-06 23:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:51:03] Production.INFO: ==10024== Lock acquired, processing the job...
[2025-01-06 23:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:51:03] Production.INFO: ==10028== Lock acquired, processing the job...
[2025-01-06 23:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:51:03] Production.INFO: Account Balance Start.
[2025-01-06 23:51:03] Production.INFO: CreateAllLog Start
[2025-01-06 23:51:03] Production.INFO: 117
[2025-01-06 23:51:03] Production.INFO: ==10026== Lock acquired, processing the job...
[2025-01-06 23:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:51:03] Production.INFO: Date 2024-12-08
[2025-01-06 23:51:03] Production.INFO: ==10020== Releasing lock...
[2025-01-06 23:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:51:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:51:03] Production.INFO: Date 2024-12-09
[2025-01-06 23:51:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:51:04] Production.INFO: Date 2024-12-10
[2025-01-06 23:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:51:04] Production.INFO: Date 2024-12-11
[2025-01-06 23:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:51:04] Production.INFO: count ==21
[2025-01-06 23:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:51:04] Production.INFO: count ==21
[2025-01-06 23:51:04] Production.INFO: Date 2024-12-12
[2025-01-06 23:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191037') start
[2025-01-06 23:51:04] Production.INFO: Date 2024-12-13
[2025-01-06 23:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:51:04] Production.INFO: Date 2024-12-14
[2025-01-06 23:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:51:04] Production.INFO: Date 2024-12-15
[2025-01-06 23:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:51:04] Production.ERROR: done
[2025-01-06 23:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:51:04] Production.INFO: Date 2024-12-16
[2025-01-06 23:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:51:04] Production.INFO: Date 2024-12-17
[2025-01-06 23:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:51:04] Production.INFO: Date 2024-12-18
[2025-01-06 23:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:51:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:51:04] Production.ERROR: done
[2025-01-06 23:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191037') end
[2025-01-06 23:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:51:04] Production.INFO: 1
[2025-01-06 23:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:51:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:51:04] Production.INFO: ==10028== Releasing lock...
[2025-01-06 23:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:51:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:51:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:51:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:51:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:51:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:51:04] Production.INFO: Date 2024-12-26
[2025-01-06 23:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:51:04] Production.INFO: Date 2024-12-27
[2025-01-06 23:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:51:04] Production.INFO: Date 2024-12-28
[2025-01-06 23:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:51:04] Production.INFO: Date 2024-12-29
[2025-01-06 23:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:51:04] Production.INFO: Date 2024-12-30
[2025-01-06 23:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:51:04] Production.INFO: Date 2024-12-31
[2025-01-06 23:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:51:04] Production.INFO: Date 2025-01-01
[2025-01-06 23:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:51:04] Production.INFO: Date 2025-01-02
[2025-01-06 23:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:51:04] Production.INFO: Date 2025-01-03
[2025-01-06 23:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:51:04] Production.INFO: Date 2025-01-04
[2025-01-06 23:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:51:04] Production.INFO: Date 2025-01-05
[2025-01-06 23:51:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:51:05] Production.INFO: Date 2025-01-06
[2025-01-06 23:51:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:51:05] Production.INFO: Total Charge 0
[2025-01-06 23:51:05] Production.INFO: CreateAllLog End
[2025-01-06 23:51:05] Production.INFO: Account Balance End.
[2025-01-06 23:51:05] Production.ERROR: CronJobId end 12
[2025-01-06 23:51:05] Production.INFO: ==10024== Releasing lock...
[2025-01-06 23:51:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:51:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:51:05
[end_date_ymd] => 2025-01-06 23:51:05
[RateCDR] => 1
)
[2025-01-06 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-06 20:51:05' and `end` < '2025-01-06 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-06 23:51:12] Production.ERROR: CronJobId end10
[2025-01-06 23:51:12] Production.INFO: ==10022== Releasing lock...
[2025-01-06 23:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:51:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:51:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:51:14] Production.INFO: call_cost start
[2025-01-06 23:51:14] Production.INFO: call_cost end
[2025-01-06 23:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:51:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:51:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:51:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:51:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:51:15] Production.INFO: ==10018== Releasing lock...
[2025-01-06 23:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:51:18] Production.INFO: count ==626
[2025-01-06 23:51:18] Production.ERROR: pbx CDR StartTime 2025-01-06 20:51:05 - End Time 2025-01-06 23:51:05
[2025-01-06 23:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191038', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191038', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191038', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191038', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:51:18] Production.INFO: ProcessCDR(1,14191038,1,1,2)
[2025-01-06 23:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191038,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191038,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191038,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191038,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191038', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191038', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:51:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:51:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:51:21] Production.INFO: ==10026== Releasing lock...
[2025-01-06 23:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:51:21] Production.INFO: 32 MB #Memory Used#
[2025-01-07 04:52:01] Production.INFO: ==10101== Lock acquired, processing the job...
[2025-01-07 04:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:52:01] Production.INFO: neon service started
[2025-01-07 04:52:01] Production.INFO: neon service started
[2025-01-07 04:52:01] Production.INFO: ==10101== Releasing lock...
[2025-01-07 04:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 23:52:01] Production.INFO: ==10103== Lock acquired, processing the job...
[2025-01-06 23:52:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 23:52:02] Production.INFO: ==10103== Releasing lock...
[2025-01-06 23:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:52:02] Production.INFO: ==10105== Lock acquired, processing the job...
[2025-01-07 04:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:52:02] Production.INFO: ==10105== Releasing lock...
[2025-01-07 04:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:52:03] Production.INFO: ==10115== Lock acquired, processing the job...
[2025-01-06 23:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:52:03] Production.INFO: ==10117== Lock acquired, processing the job...
[2025-01-06 23:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:52:03] Production.INFO: ==10109== Lock acquired, processing the job...
[2025-01-06 23:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:52:03] Production.INFO: ==10107== Lock acquired, processing the job...
[2025-01-06 23:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:52:03] Production.INFO: ==10113== Lock acquired, processing the job...
[2025-01-06 23:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:52:03] Production.INFO: ==10111== Lock acquired, processing the job...
[2025-01-06 23:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:52:03] Production.INFO: count ==21
[2025-01-06 23:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:52:03] Production.INFO: count ==21
[2025-01-06 23:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191039') start
[2025-01-06 23:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:52:03] Production.INFO: Account Balance Start.
[2025-01-06 23:52:03] Production.ERROR: done
[2025-01-06 23:52:03] Production.INFO: CreateAllLog Start
[2025-01-06 23:52:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:52:03] Production.INFO: 117
[2025-01-06 23:52:03] Production.INFO: Date 2024-12-08
[2025-01-06 23:52:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:52:03] Production.INFO: Date 2024-12-09
[2025-01-06 23:52:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:52:03] Production.INFO: Date 2024-12-10
[2025-01-06 23:52:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:52:03] Production.ERROR: done
[2025-01-06 23:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191039') end
[2025-01-06 23:52:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:52:03] Production.INFO: 1
[2025-01-06 23:52:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:52:03] Production.INFO: ==10109== Releasing lock...
[2025-01-06 23:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:52:03] Production.INFO: Date 2024-12-11
[2025-01-06 23:52:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:52:03] Production.INFO: ==10117== Releasing lock...
[2025-01-06 23:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:52:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:52:03] Production.INFO: Date 2024-12-12
[2025-01-06 23:52:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:52:03] Production.INFO: Date 2024-12-13
[2025-01-06 23:52:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:52:03] Production.INFO: Date 2024-12-14
[2025-01-06 23:52:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:52:03] Production.INFO: Date 2024-12-15
[2025-01-06 23:52:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:52:03] Production.INFO: Date 2024-12-16
[2025-01-06 23:52:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:52:04] Production.INFO: Date 2024-12-17
[2025-01-06 23:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:52:04] Production.INFO: Date 2024-12-18
[2025-01-06 23:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:52:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:52:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:52:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:52:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:52:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:52:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:52:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:52:04] Production.INFO: Date 2024-12-26
[2025-01-06 23:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:52:04] Production.INFO: Date 2024-12-27
[2025-01-06 23:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:52:04] Production.INFO: Date 2024-12-28
[2025-01-06 23:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:52:04] Production.INFO: Date 2024-12-29
[2025-01-06 23:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:52:04] Production.INFO: Date 2024-12-30
[2025-01-06 23:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:52:04] Production.INFO: Date 2024-12-31
[2025-01-06 23:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:52:04] Production.INFO: Date 2025-01-01
[2025-01-06 23:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:52:04] Production.INFO: Date 2025-01-02
[2025-01-06 23:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:52:04] Production.INFO: Date 2025-01-03
[2025-01-06 23:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:52:04] Production.INFO: Date 2025-01-04
[2025-01-06 23:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:52:04] Production.INFO: Date 2025-01-05
[2025-01-06 23:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:52:04] Production.INFO: Date 2025-01-06
[2025-01-06 23:52:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:52:04] Production.INFO: Total Charge 0
[2025-01-06 23:52:04] Production.INFO: CreateAllLog End
[2025-01-06 23:52:04] Production.INFO: Account Balance End.
[2025-01-06 23:52:05] Production.ERROR: CronJobId end 12
[2025-01-06 23:52:05] Production.INFO: ==10113== Releasing lock...
[2025-01-06 23:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:52:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:52:05
[end_date_ymd] => 2025-01-06 23:52:05
[RateCDR] => 1
)
[2025-01-06 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-06 20:52:05' and `end` < '2025-01-06 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-06 23:52:12] Production.ERROR: CronJobId end10
[2025-01-06 23:52:12] Production.INFO: ==10111== Releasing lock...
[2025-01-06 23:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:52:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:52:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:52:13] Production.INFO: call_cost start
[2025-01-06 23:52:13] Production.INFO: call_cost end
[2025-01-06 23:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:52:14] Production.INFO: ==10107== Releasing lock...
[2025-01-06 23:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:52:17] Production.INFO: count ==626
[2025-01-06 23:52:18] Production.ERROR: pbx CDR StartTime 2025-01-06 20:52:05 - End Time 2025-01-06 23:52:05
[2025-01-06 23:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191043', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191043', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191043', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191043', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:52:18] Production.INFO: ProcessCDR(1,14191043,1,1,2)
[2025-01-06 23:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191043,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191043,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191043,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191043,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191043', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191043', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:52:21] Production.INFO: ==10115== Releasing lock...
[2025-01-06 23:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:52:21] Production.INFO: 32 MB #Memory Used#
[2025-01-07 04:53:01] Production.INFO: ==10189== Lock acquired, processing the job...
[2025-01-07 04:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:53:01] Production.INFO: neon service started
[2025-01-07 04:53:01] Production.INFO: neon service started
[2025-01-07 04:53:01] Production.INFO: ==10189== Releasing lock...
[2025-01-07 04:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 23:53:02] Production.INFO: ==10191== Lock acquired, processing the job...
[2025-01-06 23:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 23:53:02] Production.INFO: ==10191== Releasing lock...
[2025-01-06 23:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:53:02] Production.INFO: ==10193== Lock acquired, processing the job...
[2025-01-07 04:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:53:02] Production.INFO: ==10193== Releasing lock...
[2025-01-07 04:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:53:03] Production.INFO: ==10196== Lock acquired, processing the job...
[2025-01-06 23:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:53:03] Production.INFO: ==10198== Lock acquired, processing the job...
[2025-01-06 23:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:53:03] Production.INFO: ==10200== Lock acquired, processing the job...
[2025-01-06 23:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:53:03] Production.INFO: ==10206== Lock acquired, processing the job...
[2025-01-06 23:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:53:03] Production.INFO: ==10202== Lock acquired, processing the job...
[2025-01-06 23:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:53:03] Production.INFO: ==10204== Lock acquired, processing the job...
[2025-01-06 23:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:53:03] Production.INFO: count ==21
[2025-01-06 23:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:53:03] Production.INFO: count ==21
[2025-01-06 23:53:03] Production.INFO: Account Balance Start.
[2025-01-06 23:53:03] Production.INFO: CreateAllLog Start
[2025-01-06 23:53:03] Production.INFO: 117
[2025-01-06 23:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191046') start
[2025-01-06 23:53:03] Production.INFO: Date 2024-12-08
[2025-01-06 23:53:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:53:03] Production.INFO: ==10198== Releasing lock...
[2025-01-06 23:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:53:03] Production.INFO: Date 2024-12-09
[2025-01-06 23:53:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:53:03] Production.INFO: Date 2024-12-10
[2025-01-06 23:53:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191046') end
[2025-01-06 23:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:53:03] Production.INFO: 1
[2025-01-06 23:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:53:04] Production.INFO: Date 2024-12-11
[2025-01-06 23:53:04] Production.INFO: ==10206== Releasing lock...
[2025-01-06 23:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:53:04] Production.INFO: Date 2024-12-12
[2025-01-06 23:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:53:04] Production.INFO: Date 2024-12-13
[2025-01-06 23:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:53:04] Production.INFO: Date 2024-12-14
[2025-01-06 23:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:53:04] Production.INFO: Date 2024-12-15
[2025-01-06 23:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:53:04] Production.INFO: Date 2024-12-16
[2025-01-06 23:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:53:04] Production.ERROR: done
[2025-01-06 23:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:53:04] Production.INFO: Date 2024-12-17
[2025-01-06 23:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:53:04] Production.INFO: Date 2024-12-18
[2025-01-06 23:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:53:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:53:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:53:04] Production.ERROR: done
[2025-01-06 23:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:53:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:53:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:53:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:53:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:53:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:53:04] Production.INFO: Date 2024-12-26
[2025-01-06 23:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:53:04] Production.INFO: Date 2024-12-27
[2025-01-06 23:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:53:04] Production.INFO: Date 2024-12-28
[2025-01-06 23:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:53:04] Production.INFO: Date 2024-12-29
[2025-01-06 23:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:53:04] Production.INFO: Date 2024-12-30
[2025-01-06 23:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:53:04] Production.INFO: Date 2024-12-31
[2025-01-06 23:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:53:04] Production.INFO: Date 2025-01-01
[2025-01-06 23:53:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:53:05] Production.INFO: Date 2025-01-02
[2025-01-06 23:53:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:53:05] Production.INFO: Date 2025-01-03
[2025-01-06 23:53:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:53:05] Production.INFO: Date 2025-01-04
[2025-01-06 23:53:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:53:05] Production.INFO: Date 2025-01-05
[2025-01-06 23:53:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:53:05] Production.INFO: Date 2025-01-06
[2025-01-06 23:53:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:53:05] Production.INFO: Total Charge 0
[2025-01-06 23:53:05] Production.INFO: CreateAllLog End
[2025-01-06 23:53:05] Production.INFO: Account Balance End.
[2025-01-06 23:53:05] Production.ERROR: CronJobId end 12
[2025-01-06 23:53:05] Production.INFO: ==10202== Releasing lock...
[2025-01-06 23:53:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:53:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:53:05
[end_date_ymd] => 2025-01-06 23:53:05
[RateCDR] => 1
)
[2025-01-06 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-06 20:53:05' and `end` < '2025-01-06 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-06 23:53:13] Production.ERROR: CronJobId end10
[2025-01-06 23:53:13] Production.INFO: ==10200== Releasing lock...
[2025-01-06 23:53:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:53:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:53:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:53:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:53:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:53:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:53:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:53:14] Production.INFO: call_cost start
[2025-01-06 23:53:14] Production.INFO: call_cost end
[2025-01-06 23:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:53:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:53:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:53:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:53:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:53:15] Production.INFO: ==10196== Releasing lock...
[2025-01-06 23:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:53:18] Production.INFO: count ==626
[2025-01-06 23:53:18] Production.ERROR: pbx CDR StartTime 2025-01-06 20:53:05 - End Time 2025-01-06 23:53:05
[2025-01-06 23:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191048', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191048', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191048', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191048', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:53:18] Production.INFO: ProcessCDR(1,14191048,1,1,2)
[2025-01-06 23:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191048,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191048,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191048,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191048,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191048', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191048', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:53:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:53:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:53:21] Production.INFO: ==10204== Releasing lock...
[2025-01-06 23:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:53:21] Production.INFO: 32 MB #Memory Used#
[2025-01-07 04:54:01] Production.INFO: ==10285== Lock acquired, processing the job...
[2025-01-07 04:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:54:01] Production.INFO: neon service started
[2025-01-07 04:54:01] Production.INFO: neon service started
[2025-01-07 04:54:01] Production.INFO: ==10285== Releasing lock...
[2025-01-07 04:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 23:54:01] Production.INFO: ==10291== Lock acquired, processing the job...
[2025-01-06 23:54:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 23:54:02] Production.INFO: ==10291== Releasing lock...
[2025-01-06 23:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:54:02] Production.INFO: ==10293== Lock acquired, processing the job...
[2025-01-07 04:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:54:02] Production.INFO: ==10293== Releasing lock...
[2025-01-07 04:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:54:03] Production.INFO: ==10295== Lock acquired, processing the job...
[2025-01-06 23:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:54:03] Production.INFO: ==10301== Lock acquired, processing the job...
[2025-01-06 23:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:54:03] Production.INFO: ==10305== Lock acquired, processing the job...
[2025-01-06 23:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:54:03] Production.INFO: ==10297== Lock acquired, processing the job...
[2025-01-06 23:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:54:03] Production.INFO: ==10299== Lock acquired, processing the job...
[2025-01-06 23:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:54:03] Production.INFO: Account Balance Start.
[2025-01-06 23:54:03] Production.INFO: CreateAllLog Start
[2025-01-06 23:54:03] Production.INFO: 117
[2025-01-06 23:54:03] Production.INFO: ==10303== Lock acquired, processing the job...
[2025-01-06 23:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:54:03] Production.INFO: count ==21
[2025-01-06 23:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:54:03] Production.INFO: Date 2024-12-08
[2025-01-06 23:54:03] Production.INFO: count ==21
[2025-01-06 23:54:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191050') start
[2025-01-06 23:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191050') end
[2025-01-06 23:54:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:54:03] Production.INFO: 1
[2025-01-06 23:54:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:54:03] Production.INFO: Date 2024-12-09
[2025-01-06 23:54:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:54:03] Production.INFO: ==10305== Releasing lock...
[2025-01-06 23:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:54:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:54:03] Production.INFO: ==10297== Releasing lock...
[2025-01-06 23:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:54:03] Production.INFO: Date 2024-12-10
[2025-01-06 23:54:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:54:03] Production.ERROR: done
[2025-01-06 23:54:03] Production.INFO: Date 2024-12-11
[2025-01-06 23:54:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:54:03] Production.INFO: Date 2024-12-12
[2025-01-06 23:54:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:54:03] Production.INFO: Date 2024-12-13
[2025-01-06 23:54:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:54:03] Production.INFO: Date 2024-12-14
[2025-01-06 23:54:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:54:03] Production.INFO: Date 2024-12-15
[2025-01-06 23:54:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:54:03] Production.ERROR: done
[2025-01-06 23:54:03] Production.INFO: Date 2024-12-16
[2025-01-06 23:54:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:54:04] Production.INFO: Date 2024-12-17
[2025-01-06 23:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:54:04] Production.INFO: Date 2024-12-18
[2025-01-06 23:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:54:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:54:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:54:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:54:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:54:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:54:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:54:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:54:04] Production.INFO: Date 2024-12-26
[2025-01-06 23:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:54:04] Production.INFO: Date 2024-12-27
[2025-01-06 23:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:54:04] Production.INFO: Date 2024-12-28
[2025-01-06 23:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:54:04] Production.INFO: Date 2024-12-29
[2025-01-06 23:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:54:04] Production.INFO: Date 2024-12-30
[2025-01-06 23:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:54:04] Production.INFO: Date 2024-12-31
[2025-01-06 23:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:54:04] Production.INFO: Date 2025-01-01
[2025-01-06 23:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:54:04] Production.INFO: Date 2025-01-02
[2025-01-06 23:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:54:04] Production.INFO: Date 2025-01-03
[2025-01-06 23:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:54:04] Production.INFO: Date 2025-01-04
[2025-01-06 23:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:54:04] Production.INFO: Date 2025-01-05
[2025-01-06 23:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:54:04] Production.INFO: Date 2025-01-06
[2025-01-06 23:54:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:54:04] Production.INFO: Total Charge 0
[2025-01-06 23:54:04] Production.INFO: CreateAllLog End
[2025-01-06 23:54:04] Production.INFO: Account Balance End.
[2025-01-06 23:54:05] Production.ERROR: CronJobId end 12
[2025-01-06 23:54:05] Production.INFO: ==10301== Releasing lock...
[2025-01-06 23:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:54:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:54:05
[end_date_ymd] => 2025-01-06 23:54:05
[RateCDR] => 1
)
[2025-01-06 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-06 20:54:05' and `end` < '2025-01-06 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-06 23:54:12] Production.ERROR: CronJobId end10
[2025-01-06 23:54:12] Production.INFO: ==10299== Releasing lock...
[2025-01-06 23:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:54:13] Production.INFO: call_cost start
[2025-01-06 23:54:13] Production.INFO: call_cost end
[2025-01-06 23:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:54:14] Production.INFO: ==10295== Releasing lock...
[2025-01-06 23:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:54:18] Production.INFO: count ==621
[2025-01-06 23:54:18] Production.ERROR: pbx CDR StartTime 2025-01-06 20:54:05 - End Time 2025-01-06 23:54:05
[2025-01-06 23:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191053', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191053', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191053', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191053', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:54:18] Production.INFO: ProcessCDR(1,14191053,1,1,2)
[2025-01-06 23:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191053,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191053,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191053,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191053,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191053', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191053', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:54:21] Production.INFO: ==10303== Releasing lock...
[2025-01-06 23:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:54:21] Production.INFO: 32 MB #Memory Used#
[2025-01-07 04:55:01] Production.INFO: ==10382== Lock acquired, processing the job...
[2025-01-07 04:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:55:01] Production.INFO: neon service started
[2025-01-07 04:55:01] Production.INFO: neon service started
[2025-01-07 04:55:01] Production.INFO: ==10382== Releasing lock...
[2025-01-07 04:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:55:02] Production.INFO: ==10386== Lock acquired, processing the job...
[2025-01-07 04:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:55:02] Production.INFO: ==10386== Releasing lock...
[2025-01-07 04:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:55:02] Production.INFO: ==10384== Lock acquired, processing the job...
[2025-01-06 23:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 23:55:02] Production.INFO: ==10384== Releasing lock...
[2025-01-06 23:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 23:55:03] Production.INFO: ==10394== Lock acquired, processing the job...
[2025-01-06 23:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:55:03] Production.INFO: ==10396== Lock acquired, processing the job...
[2025-01-06 23:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:55:03] Production.INFO: ==10390== Lock acquired, processing the job...
[2025-01-06 23:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:55:03] Production.INFO: ==10398== Lock acquired, processing the job...
[2025-01-06 23:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:55:03] Production.INFO: ==10400== Lock acquired, processing the job...
[2025-01-06 23:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:55:03] Production.INFO: Account Balance Start.
[2025-01-06 23:55:03] Production.INFO: CreateAllLog Start
[2025-01-06 23:55:03] Production.INFO: 117
[2025-01-06 23:55:03] Production.INFO: Date 2024-12-08
[2025-01-06 23:55:03] Production.INFO: ==10394== Releasing lock...
[2025-01-06 23:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:55:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:55:03] Production.INFO: ==10402== Lock acquired, processing the job...
[2025-01-06 23:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:55:03] Production.INFO: Date 2024-12-09
[2025-01-06 23:55:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:55:03] Production.INFO: Date 2024-12-10
[2025-01-06 23:55:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:55:03] Production.INFO: Date 2024-12-11
[2025-01-06 23:55:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:55:03] Production.INFO: Date 2024-12-12
[2025-01-06 23:55:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:55:03] Production.INFO: Date 2024-12-13
[2025-01-06 23:55:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:55:04] Production.INFO: Date 2024-12-14
[2025-01-06 23:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:55:04] Production.INFO: count ==21
[2025-01-06 23:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:55:04] Production.INFO: count ==21
[2025-01-06 23:55:04] Production.INFO: Date 2024-12-15
[2025-01-06 23:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:55:04] Production.INFO: Date 2024-12-16
[2025-01-06 23:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191057') start
[2025-01-06 23:55:04] Production.INFO: Date 2024-12-17
[2025-01-06 23:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:55:04] Production.ERROR: done
[2025-01-06 23:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:55:04] Production.INFO: Date 2024-12-18
[2025-01-06 23:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:55:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:55:04] Production.ERROR: done
[2025-01-06 23:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191057') end
[2025-01-06 23:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:55:04] Production.INFO: 1
[2025-01-06 23:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:55:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:55:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:55:04] Production.INFO: ==10402== Releasing lock...
[2025-01-06 23:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:55:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:55:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:55:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:55:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:55:04] Production.INFO: Date 2024-12-26
[2025-01-06 23:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:55:04] Production.INFO: Date 2024-12-27
[2025-01-06 23:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:55:04] Production.INFO: Date 2024-12-28
[2025-01-06 23:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:55:04] Production.INFO: Date 2024-12-29
[2025-01-06 23:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:55:04] Production.INFO: Date 2024-12-30
[2025-01-06 23:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:55:04] Production.INFO: Date 2024-12-31
[2025-01-06 23:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:55:04] Production.INFO: Date 2025-01-01
[2025-01-06 23:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:55:04] Production.INFO: Date 2025-01-02
[2025-01-06 23:55:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:55:05] Production.INFO: Date 2025-01-03
[2025-01-06 23:55:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:55:05] Production.INFO: Date 2025-01-04
[2025-01-06 23:55:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:55:05] Production.INFO: Date 2025-01-05
[2025-01-06 23:55:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:55:05] Production.INFO: Date 2025-01-06
[2025-01-06 23:55:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:55:05] Production.INFO: Total Charge 0
[2025-01-06 23:55:05] Production.INFO: CreateAllLog End
[2025-01-06 23:55:05] Production.INFO: Account Balance End.
[2025-01-06 23:55:05] Production.ERROR: CronJobId end 12
[2025-01-06 23:55:05] Production.INFO: ==10398== Releasing lock...
[2025-01-06 23:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:55:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:55:05
[end_date_ymd] => 2025-01-06 23:55:05
[RateCDR] => 1
)
[2025-01-06 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-06 20:55:05' and `end` < '2025-01-06 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-06 23:55:12] Production.ERROR: CronJobId end10
[2025-01-06 23:55:12] Production.INFO: ==10396== Releasing lock...
[2025-01-06 23:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:55:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:55:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:55:14] Production.INFO: call_cost start
[2025-01-06 23:55:14] Production.INFO: call_cost end
[2025-01-06 23:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:55:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:55:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:55:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:55:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:55:15] Production.INFO: ==10390== Releasing lock...
[2025-01-06 23:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:55:18] Production.INFO: count ==619
[2025-01-06 23:55:18] Production.ERROR: pbx CDR StartTime 2025-01-06 20:55:05 - End Time 2025-01-06 23:55:05
[2025-01-06 23:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191058', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191058', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191058', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191058', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:55:18] Production.INFO: ProcessCDR(1,14191058,1,1,2)
[2025-01-06 23:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191058,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191058,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191058,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191058,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191058', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191058', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:55:21] Production.INFO: ==10400== Releasing lock...
[2025-01-06 23:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:55:21] Production.INFO: 32 MB #Memory Used#
[2025-01-07 04:56:02] Production.INFO: ==10476== Lock acquired, processing the job...
[2025-01-07 04:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:56:02] Production.INFO: neon service started
[2025-01-07 04:56:02] Production.INFO: neon service started
[2025-01-07 04:56:02] Production.INFO: ==10476== Releasing lock...
[2025-01-07 04:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:56:02] Production.INFO: ==10480== Lock acquired, processing the job...
[2025-01-07 04:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:56:02] Production.INFO: ==10480== Releasing lock...
[2025-01-07 04:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:56:02] Production.INFO: ==10478== Lock acquired, processing the job...
[2025-01-06 23:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 23:56:03] Production.INFO: ==10478== Releasing lock...
[2025-01-06 23:56:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:56:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 23:56:03] Production.INFO: ==10489== Lock acquired, processing the job...
[2025-01-06 23:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:56:03] Production.INFO: ==10483== Lock acquired, processing the job...
[2025-01-06 23:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:56:03] Production.INFO: Account Balance Start.
[2025-01-06 23:56:03] Production.INFO: CreateAllLog Start
[2025-01-06 23:56:03] Production.INFO: 117
[2025-01-06 23:56:03] Production.INFO: ==10485== Lock acquired, processing the job...
[2025-01-06 23:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:56:03] Production.INFO: Date 2024-12-08
[2025-01-06 23:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:56:04] Production.INFO: ==10493== Lock acquired, processing the job...
[2025-01-06 23:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:56:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:56:04] Production.INFO: ==10487== Lock acquired, processing the job...
[2025-01-06 23:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:56:04] Production.INFO: Date 2024-12-09
[2025-01-06 23:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:56:04] Production.INFO: Date 2024-12-10
[2025-01-06 23:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:56:04] Production.INFO: Date 2024-12-11
[2025-01-06 23:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:56:04] Production.INFO: Date 2024-12-12
[2025-01-06 23:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 23:56:04] Production.INFO: Date 2024-12-13
[2025-01-06 23:56:04] Production.INFO: count ==21
[2025-01-06 23:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 23:56:04] Production.INFO: count ==21
[2025-01-06 23:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191062') start
[2025-01-06 23:56:04] Production.INFO: ==10491== Lock acquired, processing the job...
[2025-01-06 23:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:56:04] Production.INFO: Date 2024-12-14
[2025-01-06 23:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:56:04] Production.INFO: Date 2024-12-15
[2025-01-06 23:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191062') end
[2025-01-06 23:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:56:04] Production.INFO: ==10485== Releasing lock...
[2025-01-06 23:56:04] Production.INFO: 1
[2025-01-06 23:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:56:04] Production.INFO: Date 2024-12-16
[2025-01-06 23:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:56:04] Production.INFO: ==10493== Releasing lock...
[2025-01-06 23:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:56:04] Production.INFO: Date 2024-12-17
[2025-01-06 23:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:56:04] Production.ERROR: done
[2025-01-06 23:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:56:04] Production.INFO: Date 2024-12-18
[2025-01-06 23:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:56:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:56:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:56:04] Production.ERROR: done
[2025-01-06 23:56:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:56:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:56:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:56:05] Production.INFO: Date 2024-12-23
[2025-01-06 23:56:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:56:05] Production.INFO: Date 2024-12-24
[2025-01-06 23:56:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:56:05] Production.INFO: Date 2024-12-25
[2025-01-06 23:56:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:56:05] Production.INFO: Date 2024-12-26
[2025-01-06 23:56:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:56:05] Production.INFO: Date 2024-12-27
[2025-01-06 23:56:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:56:05] Production.INFO: Date 2024-12-28
[2025-01-06 23:56:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:56:05] Production.INFO: Date 2024-12-29
[2025-01-06 23:56:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:56:05] Production.INFO: Date 2024-12-30
[2025-01-06 23:56:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:56:05] Production.INFO: Date 2024-12-31
[2025-01-06 23:56:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:56:05] Production.INFO: Date 2025-01-01
[2025-01-06 23:56:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:56:05] Production.INFO: Date 2025-01-02
[2025-01-06 23:56:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:56:05] Production.INFO: Date 2025-01-03
[2025-01-06 23:56:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:56:05] Production.INFO: Date 2025-01-04
[2025-01-06 23:56:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:56:05] Production.INFO: Date 2025-01-05
[2025-01-06 23:56:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:56:05] Production.INFO: Date 2025-01-06
[2025-01-06 23:56:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:56:05] Production.INFO: Total Charge 0
[2025-01-06 23:56:05] Production.INFO: CreateAllLog End
[2025-01-06 23:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:56:05
[end_date_ymd] => 2025-01-06 23:56:05
[RateCDR] => 1
)
[2025-01-06 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-06 20:56:05' and `end` < '2025-01-06 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-06 23:56:05] Production.INFO: Account Balance End.
[2025-01-06 23:56:05] Production.ERROR: CronJobId end 12
[2025-01-06 23:56:05] Production.INFO: ==10489== Releasing lock...
[2025-01-06 23:56:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:56:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:56:13] Production.ERROR: CronJobId end10
[2025-01-06 23:56:13] Production.INFO: ==10487== Releasing lock...
[2025-01-06 23:56:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:56:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:56:14] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:56:14] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:56:14] Production.INFO: call_cost start
[2025-01-06 23:56:14] Production.INFO: call_cost end
[2025-01-06 23:56:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:56:15] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:56:15] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:56:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:56:15] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:56:15] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:56:15] Production.INFO: ==10483== Releasing lock...
[2025-01-06 23:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:56:18] Production.INFO: count ==618
[2025-01-06 23:56:18] Production.ERROR: pbx CDR StartTime 2025-01-06 20:56:05 - End Time 2025-01-06 23:56:05
[2025-01-06 23:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191063', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191063', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191063', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191063', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:56:18] Production.INFO: ProcessCDR(1,14191063,1,1,2)
[2025-01-06 23:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191063,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191063,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191063,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191063,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191063', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191063', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:56:21] Production.INFO: ==10491== Releasing lock...
[2025-01-06 23:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:56:21] Production.INFO: 32 MB #Memory Used#
[2025-01-07 04:57:01] Production.INFO: ==10565== Lock acquired, processing the job...
[2025-01-07 04:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:57:01] Production.INFO: neon service started
[2025-01-07 04:57:01] Production.INFO: neon service started
[2025-01-07 04:57:01] Production.INFO: ==10565== Releasing lock...
[2025-01-07 04:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 23:57:02] Production.INFO: ==10567== Lock acquired, processing the job...
[2025-01-06 23:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 23:57:02] Production.INFO: ==10567== Releasing lock...
[2025-01-06 23:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:57:02] Production.INFO: ==10569== Lock acquired, processing the job...
[2025-01-07 04:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:57:02] Production.INFO: ==10569== Releasing lock...
[2025-01-07 04:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:57:03] Production.INFO: ==10571== Lock acquired, processing the job...
[2025-01-06 23:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:57:03] Production.INFO: ==10573== Lock acquired, processing the job...
[2025-01-06 23:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:57:03] Production.INFO: ==10580== Lock acquired, processing the job...
[2025-01-06 23:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:57:03] Production.INFO: ==10575== Lock acquired, processing the job...
[2025-01-06 23:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:57:03] Production.INFO: ==10573== Releasing lock...
[2025-01-06 23:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:57:03] Production.INFO: ==10578== Lock acquired, processing the job...
[2025-01-06 23:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:57:03] Production.INFO: ==10582== Lock acquired, processing the job...
[2025-01-06 23:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:57:03] Production.ERROR: done
[2025-01-06 23:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:57:03] Production.INFO: Account Balance Start.
[2025-01-06 23:57:03] Production.INFO: CreateAllLog Start
[2025-01-06 23:57:03] Production.INFO: 117
[2025-01-06 23:57:03] Production.INFO: Date 2024-12-08
[2025-01-06 23:57:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:57:03] Production.INFO: Date 2024-12-09
[2025-01-06 23:57:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:57:03] Production.ERROR: done
[2025-01-06 23:57:03] Production.INFO: Date 2024-12-10
[2025-01-06 23:57:03] Production.INFO: Reseller ==> 0
[2025-01-06 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-06 23:57:03] Production.INFO: Date 2024-12-11
[2025-01-06 23:57:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:57:03] Production.INFO: count ==21
[2025-01-06 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-06 23:57:03] Production.INFO: count ==21
[2025-01-06 23:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191067') start
[2025-01-06 23:57:03] Production.INFO: Date 2024-12-12
[2025-01-06 23:57:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:57:03] Production.INFO: Date 2024-12-13
[2025-01-06 23:57:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:57:03] Production.INFO: Date 2024-12-14
[2025-01-06 23:57:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:57:03] Production.INFO: Date 2024-12-15
[2025-01-06 23:57:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:57:03] Production.INFO: Date 2024-12-16
[2025-01-06 23:57:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:57:04] Production.INFO: Date 2024-12-17
[2025-01-06 23:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191067') end
[2025-01-06 23:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:57:04] Production.INFO: 1
[2025-01-06 23:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:57:04] Production.INFO: ==10582== Releasing lock...
[2025-01-06 23:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:57:04] Production.INFO: Date 2024-12-18
[2025-01-06 23:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:57:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:57:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:57:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:57:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:57:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:57:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:57:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:57:04] Production.INFO: Date 2024-12-26
[2025-01-06 23:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:57:04] Production.INFO: Date 2024-12-27
[2025-01-06 23:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:57:04] Production.INFO: Date 2024-12-28
[2025-01-06 23:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:57:04] Production.INFO: Date 2024-12-29
[2025-01-06 23:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:57:04] Production.INFO: Date 2024-12-30
[2025-01-06 23:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:57:04] Production.INFO: Date 2024-12-31
[2025-01-06 23:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:57:04] Production.INFO: Date 2025-01-01
[2025-01-06 23:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:57:04] Production.INFO: Date 2025-01-02
[2025-01-06 23:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:57:04] Production.INFO: Date 2025-01-03
[2025-01-06 23:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:57:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:57:04
[end_date_ymd] => 2025-01-06 23:57:04
[RateCDR] => 1
)
[2025-01-06 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-06 20:57:04' and `end` < '2025-01-06 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-06 23:57:04] Production.INFO: Date 2025-01-04
[2025-01-06 23:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:57:04] Production.INFO: Date 2025-01-05
[2025-01-06 23:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:57:04] Production.INFO: Date 2025-01-06
[2025-01-06 23:57:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:57:04] Production.INFO: Total Charge 0
[2025-01-06 23:57:04] Production.INFO: CreateAllLog End
[2025-01-06 23:57:05] Production.INFO: Account Balance End.
[2025-01-06 23:57:05] Production.ERROR: CronJobId end 12
[2025-01-06 23:57:05] Production.INFO: ==10578== Releasing lock...
[2025-01-06 23:57:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:57:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:57:13] Production.ERROR: CronJobId end10
[2025-01-06 23:57:13] Production.INFO: ==10575== Releasing lock...
[2025-01-06 23:57:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:57:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:57:13] Production.INFO: call_cost start
[2025-01-06 23:57:13] Production.INFO: call_cost end
[2025-01-06 23:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:57:14] Production.INFO: ==10571== Releasing lock...
[2025-01-06 23:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:57:17] Production.INFO: count ==616
[2025-01-06 23:57:17] Production.ERROR: pbx CDR StartTime 2025-01-06 20:57:04 - End Time 2025-01-06 23:57:04
[2025-01-06 23:57:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191068', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191068', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191068', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191068', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:57:17] Production.INFO: ProcessCDR(1,14191068,1,1,2)
[2025-01-06 23:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191068,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:57:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191068,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:57:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191068,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191068,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191068', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191068', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:57:21] Production.INFO: ==10580== Releasing lock...
[2025-01-06 23:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:57:21] Production.INFO: 32 MB #Memory Used#
[2025-01-07 04:58:02] Production.INFO: ==10653== Lock acquired, processing the job...
[2025-01-07 04:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:58:02] Production.INFO: neon service started
[2025-01-07 04:58:02] Production.INFO: neon service started
[2025-01-07 04:58:02] Production.INFO: ==10653== Releasing lock...
[2025-01-07 04:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-06 23:58:02] Production.INFO: ==10655== Lock acquired, processing the job...
[2025-01-06 23:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:58:02] Production.INFO: ==10657== Lock acquired, processing the job...
[2025-01-07 04:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:58:02] Production.INFO: ==10657== Releasing lock...
[2025-01-07 04:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:58:02] Production.INFO: ==10655== Releasing lock...
[2025-01-06 23:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 23:58:03] Production.INFO: ==10660== Lock acquired, processing the job...
[2025-01-06 23:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:58:03] Production.INFO: ==10666== Lock acquired, processing the job...
[2025-01-06 23:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:58:03] Production.INFO: ==10668== Lock acquired, processing the job...
[2025-01-06 23:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:58:03] Production.INFO: Account Balance Start.
[2025-01-06 23:58:03] Production.INFO: CreateAllLog Start
[2025-01-06 23:58:03] Production.INFO: 117
[2025-01-06 23:58:03] Production.INFO: Date 2024-12-08
[2025-01-06 23:58:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:58:03] Production.INFO: Date 2024-12-09
[2025-01-06 23:58:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:58:03] Production.INFO: Date 2024-12-10
[2025-01-06 23:58:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:58:03] Production.INFO: ==10664== Lock acquired, processing the job...
[2025-01-06 23:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:58:03] Production.INFO: Date 2024-12-11
[2025-01-06 23:58:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:58:03] Production.INFO: Date 2024-12-12
[2025-01-06 23:58:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:58:04] Production.INFO: ==10662== Lock acquired, processing the job...
[2025-01-06 23:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:58:04] Production.INFO: Date 2024-12-13
[2025-01-06 23:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:58:04] Production.INFO: Date 2024-12-14
[2025-01-06 23:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:58:04] Production.INFO: ==10670== Lock acquired, processing the job...
[2025-01-06 23:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:58:04] Production.ERROR: done
[2025-01-06 23:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:58:04] Production.INFO: Date 2024-12-15
[2025-01-06 23:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:58:04] Production.INFO: Date 2024-12-16
[2025-01-06 23:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:58:04] Production.ERROR: done
[2025-01-06 23:58:04] Production.INFO: count ==21
[2025-01-06 23:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:58:04] Production.INFO: Date 2024-12-17
[2025-01-06 23:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:58:04] Production.INFO: count ==21
[2025-01-06 23:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191072') start
[2025-01-06 23:58:04] Production.INFO: Date 2024-12-18
[2025-01-06 23:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:58:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191072') end
[2025-01-06 23:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:58:04] Production.INFO: 1
[2025-01-06 23:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:58:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:58:04] Production.INFO: ==10662== Releasing lock...
[2025-01-06 23:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:58:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:58:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:58:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:58:04] Production.INFO: ==10670== Releasing lock...
[2025-01-06 23:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:58:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:58:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:58:04] Production.INFO: Date 2024-12-26
[2025-01-06 23:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:58:04] Production.INFO: Date 2024-12-27
[2025-01-06 23:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:58:04] Production.INFO: Date 2024-12-28
[2025-01-06 23:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:58:04] Production.INFO: Date 2024-12-29
[2025-01-06 23:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:58:04] Production.INFO: Date 2024-12-30
[2025-01-06 23:58:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:58:05] Production.INFO: Date 2024-12-31
[2025-01-06 23:58:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:58:05] Production.INFO: Date 2025-01-01
[2025-01-06 23:58:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:58:05] Production.INFO: Date 2025-01-02
[2025-01-06 23:58:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:58:05] Production.INFO: Date 2025-01-03
[2025-01-06 23:58:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:58:05] Production.INFO: Date 2025-01-04
[2025-01-06 23:58:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:58:05] Production.INFO: Date 2025-01-05
[2025-01-06 23:58:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:58:05] Production.INFO: Date 2025-01-06
[2025-01-06 23:58:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:58:05] Production.INFO: Total Charge 0
[2025-01-06 23:58:05] Production.INFO: CreateAllLog End
[2025-01-06 23:58:05] Production.INFO: Account Balance End.
[2025-01-06 23:58:05] Production.ERROR: CronJobId end 12
[2025-01-06 23:58:05] Production.INFO: ==10666== Releasing lock...
[2025-01-06 23:58:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:58:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:58:05
[end_date_ymd] => 2025-01-06 23:58:05
[RateCDR] => 1
)
[2025-01-06 23:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 20:58:05' and `end` < '2025-01-06 23:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-06 23:58:14] Production.ERROR: CronJobId end10
[2025-01-06 23:58:14] Production.INFO: ==10664== Releasing lock...
[2025-01-06 23:58:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:58:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:58:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:58:15] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:58:15] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:58:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:58:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:58:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:58:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:58:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:58:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:58:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:58:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:58:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:58:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:58:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:58:15] Production.INFO: call_cost start
[2025-01-06 23:58:15] Production.INFO: call_cost end
[2025-01-06 23:58:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:58:16] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:58:16] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:58:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:58:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:58:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:58:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:58:16] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:58:16] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:58:16] Production.INFO: ==10660== Releasing lock...
[2025-01-06 23:58:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:58:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:58:18] Production.INFO: count ==610
[2025-01-06 23:58:18] Production.ERROR: pbx CDR StartTime 2025-01-06 20:58:05 - End Time 2025-01-06 23:58:05
[2025-01-06 23:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191073', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191073', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191073', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191073', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:58:18] Production.INFO: ProcessCDR(1,14191073,1,1,2)
[2025-01-06 23:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191073,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191073,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191073,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191073,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191073', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191073', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:58:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:58:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:58:22] Production.INFO: ==10668== Releasing lock...
[2025-01-06 23:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:58:22] Production.INFO: 32 MB #Memory Used#
[2025-01-07 04:59:01] Production.INFO: ==10745== Lock acquired, processing the job...
[2025-01-07 04:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 04:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 04:59:01] Production.INFO: neon service started
[2025-01-07 04:59:01] Production.INFO: neon service started
[2025-01-07 04:59:01] Production.INFO: ==10745== Releasing lock...
[2025-01-07 04:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 04:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:59:01] Production.INFO: ==10749== Lock acquired, processing the job...
[2025-01-07 04:59:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:59:02] Production.INFO: ==10749== Releasing lock...
[2025-01-07 04:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 04:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-06 23:59:02] Production.INFO: ==10747== Lock acquired, processing the job...
[2025-01-06 23:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-06 23:59:02] Production.INFO: ==10747== Releasing lock...
[2025-01-06 23:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-06 23:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-06 23:59:03] Production.INFO: ==10755== Lock acquired, processing the job...
[2025-01-06 23:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-06 23:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250106Live done
[2025-01-06 23:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106Live done
[2025-01-06 23:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250106Live)
[2025-01-06 23:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-06','2025-01-06','120250106Live')
[2025-01-06 23:59:03] Production.INFO: ==10751== Lock acquired, processing the job...
[2025-01-06 23:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-06 23:59:03] Production.INFO: ==10753== Lock acquired, processing the job...
[2025-01-06 23:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-06 23:59:03] Production.INFO: ==10761== Lock acquired, processing the job...
[2025-01-06 23:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-06 23:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-06 23:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:59:03] Production.INFO: count ==21
[2025-01-06 23:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-06 23:59:03] Production.INFO: count ==21
[2025-01-06 23:59:03] Production.INFO: ==10757== Lock acquired, processing the job...
[2025-01-06 23:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-06 23:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191075') start
[2025-01-06 23:59:03] Production.INFO: ==10759== Lock acquired, processing the job...
[2025-01-06 23:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-06 23:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-06 23:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191075') end
[2025-01-06 23:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-06 23:59:03] Production.INFO: 1
[2025-01-06 23:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-06 23:59:03] Production.INFO: ==10761== Releasing lock...
[2025-01-06 23:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-06 23:59:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-06 23:59:03] Production.INFO: Account Balance Start.
[2025-01-06 23:59:03] Production.INFO: CreateAllLog Start
[2025-01-06 23:59:03] Production.INFO: 117
[2025-01-06 23:59:03] Production.INFO: ==10753== Releasing lock...
[2025-01-06 23:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-06 23:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-06 23:59:03] Production.INFO: Date 2024-12-08
[2025-01-06 23:59:03] Production.INFO: Reseller ==> 0
[2025-01-06 23:59:04] Production.INFO: Date 2024-12-09
[2025-01-06 23:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:59:04] Production.ERROR: done
[2025-01-06 23:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-06 23:59:04] Production.INFO: Date 2024-12-10
[2025-01-06 23:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:59:04] Production.INFO: Date 2024-12-11
[2025-01-06 23:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:59:04] Production.INFO: Date 2024-12-12
[2025-01-06 23:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:59:04] Production.INFO: Date 2024-12-13
[2025-01-06 23:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:59:04] Production.INFO: Date 2024-12-14
[2025-01-06 23:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:59:04] Production.ERROR: done
[2025-01-06 23:59:04] Production.INFO: Date 2024-12-15
[2025-01-06 23:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:59:04] Production.INFO: Date 2024-12-16
[2025-01-06 23:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:59:04] Production.INFO: Date 2024-12-17
[2025-01-06 23:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:59:04] Production.INFO: Date 2024-12-18
[2025-01-06 23:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:59:04] Production.INFO: Date 2024-12-19
[2025-01-06 23:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:59:04] Production.INFO: Date 2024-12-20
[2025-01-06 23:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:59:04] Production.INFO: Date 2024-12-21
[2025-01-06 23:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:59:04] Production.INFO: Date 2024-12-22
[2025-01-06 23:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:59:04] Production.INFO: Date 2024-12-23
[2025-01-06 23:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:59:04] Production.INFO: Date 2024-12-24
[2025-01-06 23:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:59:04] Production.INFO: Date 2024-12-25
[2025-01-06 23:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:59:04] Production.INFO: Date 2024-12-26
[2025-01-06 23:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:59:04] Production.INFO: Date 2024-12-27
[2025-01-06 23:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:59:04] Production.INFO: Date 2024-12-28
[2025-01-06 23:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:59:04] Production.INFO: Date 2024-12-29
[2025-01-06 23:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:59:04] Production.INFO: Date 2024-12-30
[2025-01-06 23:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:59:04] Production.INFO: Date 2024-12-31
[2025-01-06 23:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:59:04] Production.INFO: Date 2025-01-01
[2025-01-06 23:59:04] Production.INFO: Reseller ==> 0
[2025-01-06 23:59:05] Production.INFO: Date 2025-01-02
[2025-01-06 23:59:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:59:05] Production.INFO: Date 2025-01-03
[2025-01-06 23:59:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:59:05] Production.INFO: Date 2025-01-04
[2025-01-06 23:59:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:59:05] Production.INFO: Date 2025-01-05
[2025-01-06 23:59:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:59:05] Production.INFO: Date 2025-01-06
[2025-01-06 23:59:05] Production.INFO: Reseller ==> 0
[2025-01-06 23:59:05] Production.INFO: Total Charge 0
[2025-01-06 23:59:05] Production.INFO: CreateAllLog End
[2025-01-06 23:59:05] Production.INFO: Account Balance End.
[2025-01-06 23:59:05] Production.ERROR: CronJobId end 12
[2025-01-06 23:59:05] Production.INFO: ==10757== Releasing lock...
[2025-01-06 23:59:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-06 23:59:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-06 23:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 20:59:05
[end_date_ymd] => 2025-01-06 23:59:05
[RateCDR] => 1
)
[2025-01-06 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-06 20:59:05' and `end` < '2025-01-06 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-06 23:59:13] Production.ERROR: CronJobId end10
[2025-01-06 23:59:13] Production.INFO: ==10755== Releasing lock...
[2025-01-06 23:59:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-06 23:59:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-06 23:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-06 23:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-06 23:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-06 23:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-06 23:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-06 23:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-06 23:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-06 23:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-06 23:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-06 23:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-06 23:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-06 23:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-06 23:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-06 23:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-06 23:59:13] Production.INFO: call_cost start
[2025-01-06 23:59:13] Production.INFO: call_cost end
[2025-01-06 23:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-06 23:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-06 23:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-06 23:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-06 23:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-06 23:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-06 23:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-06 23:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-06 23:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-06 23:59:14] Production.INFO: ==10751== Releasing lock...
[2025-01-06 23:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-06 23:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-06 23:59:19] Production.INFO: count ==610
[2025-01-06 23:59:19] Production.ERROR: pbx CDR StartTime 2025-01-06 20:59:05 - End Time 2025-01-06 23:59:05
[2025-01-06 23:59:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-06 23:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191078', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191078', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191078', 'tblTempVendorCDR_20' ) start
[2025-01-06 23:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191078', 'tblTempVendorCDR_20' ) end
[2025-01-06 23:59:19] Production.INFO: ProcessCDR(1,14191078,1,1,2)
[2025-01-06 23:59:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191078,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:59:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191078,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-06 23:59:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191078,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191078,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-06 23:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191078', 'tblTempUsageDetail_20' ) start
[2025-01-06 23:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191078', 'tblTempUsageDetail_20' ) end
[2025-01-06 23:59:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-06 23:59:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-06 23:59:22] Production.INFO: ==10759== Releasing lock...
[2025-01-06 23:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-06 23:59:22] Production.INFO: 32 MB #Memory Used#
[2025-01-07 05:00:02] Production.INFO: ==10833== Lock acquired, processing the job...
[2025-01-07 05:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:00:02] Production.INFO: neon service started
[2025-01-07 05:00:02] Production.INFO: neon service started
[2025-01-07 05:00:02] Production.INFO: ==10833== Releasing lock...
[2025-01-07 05:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:00:02] Production.INFO: ==10835== Lock acquired, processing the job...
[2025-01-07 00:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:00:02] Production.INFO: ==10837== Lock acquired, processing the job...
[2025-01-07 05:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:00:02] Production.INFO: ==10837== Releasing lock...
[2025-01-07 05:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:00:02] Production.INFO: ==10835== Releasing lock...
[2025-01-07 00:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:00:03] Production.INFO: ==10839== Lock acquired, processing the job...
[2025-01-07 00:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 00:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 00:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 00:00:03] Production.INFO: ==10839== Releasing lock...
[2025-01-07 00:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 00:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 00:00:03] Production.INFO: ==10841== Lock acquired, processing the job...
[2025-01-07 00:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:00:03] Production.INFO: ==10843== Lock acquired, processing the job...
[2025-01-07 00:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:00:03] Production.INFO: ==10845== Lock acquired, processing the job...
[2025-01-07 00:00:03] Production.INFO: createsummary-command-createsummary-companyid-1-cronjobid-9 #Starts#
[2025-01-07 00:00:04] Production.INFO: ==10847== Lock acquired, processing the job...
[2025-01-07 00:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:00:04] Production.INFO: ==10849== Lock acquired, processing the job...
[2025-01-07 00:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:00:04] Production.INFO: ==10852== Lock acquired, processing the job...
[2025-01-07 00:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:00:04] Production.INFO: ==10856== Lock acquired, processing the job...
[2025-01-07 00:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:00:04] Production.INFO: ==10854== Lock acquired, processing the job...
[2025-01-07 00:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 00:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:00:04] Production.INFO: Account Balance Start.
[2025-01-07 00:00:04] Production.INFO: CreateAllLog Start
[2025-01-07 00:00:04] Production.INFO: 117
[2025-01-07 00:00:04] Production.INFO: Date 2024-12-08
[2025-01-07 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-07 00:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:00:04] Production.INFO: count ==21
[2025-01-07 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-07 00:00:04] Production.INFO: count ==21
[2025-01-07 00:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191082') start
[2025-01-07 00:00:04] Production.INFO: Date 2024-12-09
[2025-01-07 00:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:00:04] Production.INFO: Date 2024-12-10
[2025-01-07 00:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:00:04] Production.INFO: ==10843== Releasing lock...
[2025-01-07 00:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:00:04] Production.INFO: Date 2024-12-11
[2025-01-07 00:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:00:04] Production.INFO: Date 2024-12-12
[2025-01-07 00:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191082') end
[2025-01-07 00:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:00:04] Production.INFO: 1
[2025-01-07 00:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:00:04] Production.INFO: Date 2024-12-13
[2025-01-07 00:00:04] Production.ERROR: done
[2025-01-07 00:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:00:04] Production.INFO: ==10856== Releasing lock...
[2025-01-07 00:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:00:04] Production.INFO: Date 2024-12-14
[2025-01-07 00:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:00:04] Production.ERROR: done
[2025-01-07 00:00:04] Production.INFO: Date 2024-12-15
[2025-01-07 00:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:00:05] Production.ERROR: done
[2025-01-07 00:00:05] Production.INFO: Date 2024-12-16
[2025-01-07 00:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 00:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14191083', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 00:00:05] Production.INFO: Date 2024-12-17
[2025-01-07 00:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:00:05] Production.INFO: next invoice date
[2025-01-07 00:00:05] Production.INFO: 2025-02-07
[2025-01-07 00:00:05] Production.INFO: getdaysdiff
[2025-01-07 00:00:05] Production.INFO: +31
[2025-01-07 00:00:05] Production.INFO: call prc_setAccountDiscountPlan (155,11,1,31,31,'RMScheduler',2025-01-07 00:00:05,1,0,,,0)
[2025-01-07 00:00:05] Production.INFO: Date 2024-12-18
[2025-01-07 00:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:00:05] Production.INFO: Date 2024-12-19
[2025-01-07 00:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:00:05] Production.INFO: Date 2024-12-20
[2025-01-07 00:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:00:05] Production.INFO: next invoice date
[2025-01-07 00:00:05] Production.INFO: 2025-02-07
[2025-01-07 00:00:05] Production.INFO: getdaysdiff
[2025-01-07 00:00:05] Production.INFO: +31
[2025-01-07 00:00:05] Production.INFO: call prc_setAccountDiscountPlan (232,16,1,31,31,'RMScheduler',2025-01-07 00:00:05,1,0,,,0)
[2025-01-07 00:00:05] Production.INFO: Date 2024-12-21
[2025-01-07 00:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:00:05] Production.INFO: Date 2024-12-22
[2025-01-07 00:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:00:05] Production.INFO: Date 2024-12-23
[2025-01-07 00:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:00:05] Production.INFO: Date 2024-12-24
[2025-01-07 00:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:00:05] Production.INFO: next invoice date
[2025-01-07 00:00:05] Production.INFO: 2025-02-07
[2025-01-07 00:00:05] Production.INFO: getdaysdiff
[2025-01-07 00:00:05] Production.INFO: +31
[2025-01-07 00:00:05] Production.INFO: call prc_setAccountDiscountPlan (232,13,2,31,31,'RMScheduler',2025-01-07 00:00:05,1,0,,,0)
[2025-01-07 00:00:05] Production.INFO: Date 2024-12-25
[2025-01-07 00:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:00:05] Production.INFO: Date 2024-12-26
[2025-01-07 00:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:00:05] Production.INFO: next invoice date
[2025-01-07 00:00:05] Production.INFO: 2025-02-07
[2025-01-07 00:00:05] Production.INFO: getdaysdiff
[2025-01-07 00:00:05] Production.INFO: Date 2024-12-27
[2025-01-07 00:00:05] Production.INFO: +31
[2025-01-07 00:00:05] Production.INFO: call prc_setAccountDiscountPlan (232,11,1,31,31,'RMScheduler',2025-01-07 00:00:05,0,0,,,0)
[2025-01-07 00:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:00:05] Production.INFO: Date 2024-12-28
[2025-01-07 00:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:00:05] Production.INFO: Date 2024-12-29
[2025-01-07 00:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:00:05] Production.INFO: Date 2024-12-30
[2025-01-07 00:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:00:05] Production.INFO: Date 2024-12-31
[2025-01-07 00:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:00:05] Production.INFO: next invoice date
[2025-01-07 00:00:05] Production.INFO: 2025-02-07
[2025-01-07 00:00:05] Production.INFO: getdaysdiff
[2025-01-07 00:00:05] Production.INFO: +31
[2025-01-07 00:00:05] Production.INFO: call prc_setAccountDiscountPlan (232,13,2,31,31,'RMScheduler',2025-01-07 00:00:05,0,0,,,0)
[2025-01-07 00:00:05] Production.INFO: Date 2025-01-01
[2025-01-07 00:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:00:05] Production.INFO: Date 2025-01-02
[2025-01-07 00:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:00:05] Production.INFO: Date 2025-01-03
[2025-01-07 00:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:00:05] Production.INFO: Date 2025-01-04
[2025-01-07 00:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:00:05] Production.INFO: Date 2025-01-05
[2025-01-07 00:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:00:05] Production.INFO: Date 2025-01-06
[2025-01-07 00:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:00:05] Production.INFO: Date 2025-01-07
[2025-01-07 00:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:00:05] Production.INFO: Total Charge 0
[2025-01-07 00:00:05] Production.INFO: CreateAllLog End
[2025-01-07 00:00:06] Production.INFO: Account Balance End.
[2025-01-07 00:00:06] Production.ERROR: CronJobId end 12
[2025-01-07 00:00:06] Production.INFO: ==10849== Releasing lock...
[2025-01-07 00:00:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:00:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:00:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:00:07
[end_date_ymd] => 2025-01-07 00:00:07
[RateCDR] => 1
)
[2025-01-07 00:00:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 21:00:07' and `end` < '2025-01-07 00:00:07'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 00:00:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14191083', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 00:00:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 00:00:10] Production.INFO: ProcessCDR(1,14191083,1,1,2)
[2025-01-07 00:00:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14191083,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:00:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14191083,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:00:10] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:00:10] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:00:10] Production.INFO: ==10854== Releasing lock...
[2025-01-07 00:00:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 00:00:10] Production.INFO: 26 MB #Memory Used#
[2025-01-07 00:00:11] Production.ERROR: tmp_tblUsageDetailsReport_120250103 done
[2025-01-07 00:00:11] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250103 done
[2025-01-07 00:00:11] Production.ERROR: DELETE FROM tmp_tblUsageDetailsReport_120250103
[2025-01-07 00:00:13] Production.INFO: call prc_generateSummary(1,'2025-01-03','2025-01-03','120250103')
[2025-01-07 00:00:17] Production.INFO: call prc_generateVendorSummary(1,'2025-01-03','2025-01-03','120250103')
[2025-01-07 00:00:18] Production.ERROR: CronJobId end10
[2025-01-07 00:00:18] Production.INFO: ==10847== Releasing lock...
[2025-01-07 00:00:18] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:00:18] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:00:20] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:00:20] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:00:20] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:00:20] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:00:20] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:00:20] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:00:20] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:00:20] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:00:20] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:00:20] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:00:20] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:00:20] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:00:20] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:00:20] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:00:20] Production.INFO: count ==609
[2025-01-07 00:00:21] Production.ERROR: pbx CDR StartTime 2025-01-06 21:00:07 - End Time 2025-01-07 00:00:07
[2025-01-07 00:00:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191084', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:00:21] Production.INFO: call_cost start
[2025-01-07 00:00:21] Production.INFO: call_cost end
[2025-01-07 00:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191084', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191084', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191084', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:00:21] Production.INFO: ProcessCDR(1,14191084,1,1,2)
[2025-01-07 00:00:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191084,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:00:21] Production.ERROR: tmp_tblUsageDetailsReport_120250104 done
[2025-01-07 00:00:21] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250104 done
[2025-01-07 00:00:21] Production.ERROR: DELETE FROM tmp_tblUsageDetailsReport_120250104
[2025-01-07 00:00:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191084,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:00:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191084,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:00:22] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:00:22] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:00:22] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:00:22] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:00:22] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:00:22] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:00:22] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:00:22] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:00:22] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:00:22] Production.INFO: ==10841== Releasing lock...
[2025-01-07 00:00:22] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:00:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:00:23] Production.INFO: call prc_generateSummary(1,'2025-01-04','2025-01-04','120250104')
[2025-01-07 00:00:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191084,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:00:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191084', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:00:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191084', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:00:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:00:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:00:26] Production.INFO: call prc_generateVendorSummary(1,'2025-01-04','2025-01-04','120250104')
[2025-01-07 00:00:26] Production.INFO: ==10852== Releasing lock...
[2025-01-07 00:00:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:00:26] Production.INFO: 34.25 MB #Memory Used#
[2025-01-07 00:00:29] Production.ERROR: tmp_tblUsageDetailsReport_120250105 done
[2025-01-07 00:00:29] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250105 done
[2025-01-07 00:00:29] Production.ERROR: DELETE FROM tmp_tblUsageDetailsReport_120250105
[2025-01-07 00:00:29] Production.INFO: call prc_generateSummary(1,'2025-01-05','2025-01-05','120250105')
[2025-01-07 00:00:32] Production.INFO: call prc_generateVendorSummary(1,'2025-01-05','2025-01-05','120250105')
[2025-01-07 00:00:34] Production.ERROR: tmp_tblUsageDetailsReport_120250106 done
[2025-01-07 00:00:34] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106 done
[2025-01-07 00:00:34] Production.ERROR: DELETE FROM tmp_tblUsageDetailsReport_120250106
[2025-01-07 00:00:35] Production.INFO: call prc_generateSummary(1,'2025-01-06','2025-01-06','120250106')
[2025-01-07 00:00:38] Production.INFO: call prc_generateVendorSummary(1,'2025-01-06','2025-01-06','120250106')
[2025-01-07 00:00:41] Production.ERROR: CronJobId end9
[2025-01-07 00:00:41] Production.INFO: ==10845== Releasing lock...
[2025-01-07 00:00:41] Production.INFO: createsummary-command-createsummary-companyid-1-cronjobid-9 #Stops#
[2025-01-07 00:00:41] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:01:01] Production.INFO: ==10928== Lock acquired, processing the job...
[2025-01-07 05:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:01:01] Production.INFO: neon service started
[2025-01-07 05:01:01] Production.INFO: neon service started
[2025-01-07 05:01:01] Production.INFO: ==10928== Releasing lock...
[2025-01-07 05:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:01:01] Production.INFO: ==10944== Lock acquired, processing the job...
[2025-01-07 00:01:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:01:02] Production.INFO: ==10944== Releasing lock...
[2025-01-07 00:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:01:02] Production.INFO: ==10946== Lock acquired, processing the job...
[2025-01-07 05:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:01:02] Production.INFO: ==10946== Releasing lock...
[2025-01-07 05:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:01:02] Production.INFO: ==10948== Lock acquired, processing the job...
[2025-01-07 00:01:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:01:02] Production.INFO: ==10950== Lock acquired, processing the job...
[2025-01-07 00:01:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:01:02] Production.INFO: ==10958== Lock acquired, processing the job...
[2025-01-07 00:01:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:01:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:01:03] Production.INFO: ==10952== Lock acquired, processing the job...
[2025-01-07 00:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:01:03] Production.INFO: count ==21
[2025-01-07 00:01:03] Production.INFO: ==10954== Lock acquired, processing the job...
[2025-01-07 00:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:01:03] Production.INFO: count ==21
[2025-01-07 00:01:03] Production.INFO: ==10956== Lock acquired, processing the job...
[2025-01-07 00:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191087') start
[2025-01-07 00:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:01:03] Production.INFO: ==10950== Releasing lock...
[2025-01-07 00:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191087') end
[2025-01-07 00:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:01:03] Production.INFO: 1
[2025-01-07 00:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:01:03] Production.INFO: ==10958== Releasing lock...
[2025-01-07 00:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:01:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:01:03] Production.INFO: Account Balance Start.
[2025-01-07 00:01:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:01:03] Production.INFO: 117
[2025-01-07 00:01:03] Production.INFO: Date 2024-12-08
[2025-01-07 00:01:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:01:03] Production.INFO: Date 2024-12-09
[2025-01-07 00:01:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:01:03] Production.INFO: Date 2024-12-10
[2025-01-07 00:01:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:01:03] Production.ERROR: done
[2025-01-07 00:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:01:03] Production.INFO: Date 2024-12-11
[2025-01-07 00:01:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:01:03] Production.INFO: Date 2024-12-12
[2025-01-07 00:01:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:01:03] Production.ERROR: done
[2025-01-07 00:01:03] Production.INFO: Date 2024-12-13
[2025-01-07 00:01:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:01:03] Production.INFO: Date 2024-12-14
[2025-01-07 00:01:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:01:04] Production.INFO: Date 2024-12-15
[2025-01-07 00:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:01:04] Production.INFO: Date 2024-12-16
[2025-01-07 00:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:01:04] Production.INFO: Date 2024-12-17
[2025-01-07 00:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:01:04] Production.INFO: Date 2024-12-18
[2025-01-07 00:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:01:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:01:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:01:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:01:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:01:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:01:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:01:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:01:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:01:04] Production.INFO: Date 2024-12-27
[2025-01-07 00:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:01:04] Production.INFO: Date 2024-12-28
[2025-01-07 00:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:01:04] Production.INFO: Date 2024-12-29
[2025-01-07 00:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:01:04] Production.INFO: Date 2024-12-30
[2025-01-07 00:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:01:04] Production.INFO: Date 2024-12-31
[2025-01-07 00:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:01:04] Production.INFO: Date 2025-01-01
[2025-01-07 00:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:01:04] Production.INFO: Date 2025-01-02
[2025-01-07 00:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:01:04] Production.INFO: Date 2025-01-03
[2025-01-07 00:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:01:04] Production.INFO: Date 2025-01-04
[2025-01-07 00:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:01:04] Production.INFO: Date 2025-01-05
[2025-01-07 00:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:01:04] Production.INFO: Date 2025-01-06
[2025-01-07 00:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:01:04] Production.INFO: Date 2025-01-07
[2025-01-07 00:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:01:04] Production.INFO: Total Charge 0
[2025-01-07 00:01:04] Production.INFO: CreateAllLog End
[2025-01-07 00:01:04] Production.INFO: Account Balance End.
[2025-01-07 00:01:04] Production.ERROR: CronJobId end 12
[2025-01-07 00:01:04] Production.INFO: ==10954== Releasing lock...
[2025-01-07 00:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:01:05
[end_date_ymd] => 2025-01-07 00:01:05
[RateCDR] => 1
)
[2025-01-07 00:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 21:01:05' and `end` < '2025-01-07 00:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 00:01:12] Production.ERROR: CronJobId end10
[2025-01-07 00:01:12] Production.INFO: ==10952== Releasing lock...
[2025-01-07 00:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:01:13] Production.INFO: call_cost start
[2025-01-07 00:01:13] Production.INFO: call_cost end
[2025-01-07 00:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:01:14] Production.INFO: ==10948== Releasing lock...
[2025-01-07 00:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:01:18] Production.INFO: count ==593
[2025-01-07 00:01:18] Production.ERROR: pbx CDR StartTime 2025-01-06 21:01:05 - End Time 2025-01-07 00:01:05
[2025-01-07 00:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191089', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191089', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191089', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191089', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:01:18] Production.INFO: ProcessCDR(1,14191089,1,1,2)
[2025-01-07 00:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191089,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191089,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191089,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191089,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191089', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191089', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:01:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:01:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:01:21] Production.INFO: ==10956== Releasing lock...
[2025-01-07 00:01:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:01:21] Production.INFO: 31.75 MB #Memory Used#
[2025-01-07 05:02:01] Production.INFO: ==11035== Lock acquired, processing the job...
[2025-01-07 05:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:02:01] Production.INFO: neon service started
[2025-01-07 05:02:01] Production.INFO: neon service started
[2025-01-07 05:02:01] Production.INFO: ==11035== Releasing lock...
[2025-01-07 05:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:02:02] Production.INFO: ==11037== Lock acquired, processing the job...
[2025-01-07 00:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:02:02] Production.INFO: ==11037== Releasing lock...
[2025-01-07 00:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:02:02] Production.INFO: ==11039== Lock acquired, processing the job...
[2025-01-07 05:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:02:02] Production.INFO: ==11039== Releasing lock...
[2025-01-07 05:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:02:03] Production.INFO: ==11043== Lock acquired, processing the job...
[2025-01-07 00:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:02:03] Production.INFO: ==11041== Lock acquired, processing the job...
[2025-01-07 00:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:02:03] Production.INFO: ==11051== Lock acquired, processing the job...
[2025-01-07 00:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:02:03] Production.INFO: ==11043== Releasing lock...
[2025-01-07 00:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 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-07 00:02:03] Production.INFO: ==11047== Lock acquired, processing the job...
[2025-01-07 00:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:02:03] Production.INFO: ==11049== Lock acquired, processing the job...
[2025-01-07 00:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:02:03] Production.INFO: ==11045== Lock acquired, processing the job...
[2025-01-07 00:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:02:03] Production.INFO: count ==21
[2025-01-07 00:02:03] Production.INFO: Account Balance Start.
[2025-01-07 00:02:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:02:03] Production.INFO: 117
[2025-01-07 00:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 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-07 00:02:03] Production.INFO: count ==21
[2025-01-07 00:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191091') start
[2025-01-07 00:02:03] Production.INFO: Date 2024-12-08
[2025-01-07 00:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:02:03] Production.INFO: Date 2024-12-09
[2025-01-07 00:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:02:03] Production.INFO: Date 2024-12-10
[2025-01-07 00:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191091') end
[2025-01-07 00:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:02:03] Production.INFO: 1
[2025-01-07 00:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:02:03] Production.INFO: Date 2024-12-11
[2025-01-07 00:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:02:03] Production.INFO: Date 2024-12-12
[2025-01-07 00:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:02:03] Production.INFO: Date 2024-12-13
[2025-01-07 00:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:02:03] Production.INFO: ==11051== Releasing lock...
[2025-01-07 00:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:02:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:02:04] Production.INFO: Date 2024-12-14
[2025-01-07 00:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:02:04] Production.INFO: Date 2024-12-15
[2025-01-07 00:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:02:04] Production.INFO: Date 2024-12-16
[2025-01-07 00:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:02:04] Production.INFO: Date 2024-12-17
[2025-01-07 00:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:02:04] Production.ERROR: done
[2025-01-07 00:02:04] Production.INFO: Date 2024-12-18
[2025-01-07 00:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:02:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:02:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:02:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:02:04] Production.ERROR: done
[2025-01-07 00:02:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:02:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:02:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:02:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:02:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:02:04] Production.INFO: Date 2024-12-27
[2025-01-07 00:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:02:04] Production.INFO: Date 2024-12-28
[2025-01-07 00:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:02:04] Production.INFO: Date 2024-12-29
[2025-01-07 00:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:02:04] Production.INFO: Date 2024-12-30
[2025-01-07 00:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:02:04] Production.INFO: Date 2024-12-31
[2025-01-07 00:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:02:04] Production.INFO: Date 2025-01-01
[2025-01-07 00:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:02:04] Production.INFO: Date 2025-01-02
[2025-01-07 00:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:02:04] Production.INFO: Date 2025-01-03
[2025-01-07 00:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:02:04] Production.INFO: Date 2025-01-04
[2025-01-07 00:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:02:04] Production.INFO: Date 2025-01-05
[2025-01-07 00:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:02:04] Production.INFO: Date 2025-01-06
[2025-01-07 00:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:02:04] Production.INFO: Date 2025-01-07
[2025-01-07 00:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:02:05] Production.INFO: Total Charge 0
[2025-01-07 00:02:05] Production.INFO: CreateAllLog End
[2025-01-07 00:02:05] Production.INFO: Account Balance End.
[2025-01-07 00:02:05] Production.ERROR: CronJobId end 12
[2025-01-07 00:02:05] Production.INFO: ==11047== Releasing lock...
[2025-01-07 00:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:02:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:02:05
[end_date_ymd] => 2025-01-07 00:02:05
[RateCDR] => 1
)
[2025-01-07 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-06 21:02:05' and `end` < '2025-01-07 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-07 00:02:11] Production.ERROR: CronJobId end10
[2025-01-07 00:02:11] Production.INFO: ==11045== Releasing lock...
[2025-01-07 00:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:02:13] Production.INFO: call_cost start
[2025-01-07 00:02:13] Production.INFO: call_cost end
[2025-01-07 00:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:02:14] Production.INFO: ==11041== Releasing lock...
[2025-01-07 00:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:02:27] Production.INFO: count ==138
[2025-01-07 00:02:27] Production.ERROR: pbx CDR StartTime 2025-01-06 21:02:05 - End Time 2025-01-07 00:02:05
[2025-01-07 00:02:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:02:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191094', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:02:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191094', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:02:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191094', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:02:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191094', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:02:27] Production.INFO: ProcessCDR(1,14191094,1,1,2)
[2025-01-07 00:02:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191094,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:02:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191094,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:02:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191094,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:02:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191094,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:02:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191094', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:02:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191094', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:02:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:02:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:02:30] Production.INFO: ==11049== Releasing lock...
[2025-01-07 00:02:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:02:30] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 05:03:01] Production.INFO: ==11125== Lock acquired, processing the job...
[2025-01-07 05:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:03:01] Production.INFO: neon service started
[2025-01-07 05:03:01] Production.INFO: neon service started
[2025-01-07 05:03:01] Production.INFO: ==11125== Releasing lock...
[2025-01-07 05:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:03:01] Production.INFO: ==11127== Lock acquired, processing the job...
[2025-01-07 00:03:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:03:02] Production.INFO: ==11127== Releasing lock...
[2025-01-07 00:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:03:02] Production.INFO: ==11129== Lock acquired, processing the job...
[2025-01-07 05:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:03:02] Production.INFO: ==11129== Releasing lock...
[2025-01-07 05:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:03:02] Production.INFO: ==11134== Lock acquired, processing the job...
[2025-01-07 00:03:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:03:02] Production.INFO: ==11142== Lock acquired, processing the job...
[2025-01-07 00:03:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:03:03] Production.INFO: count ==21
[2025-01-07 00:03:03] Production.INFO: ==11132== Lock acquired, processing the job...
[2025-01-07 00:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:03:03] Production.INFO: ==11134== Releasing lock...
[2025-01-07 00:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:03:03] Production.INFO: count ==21
[2025-01-07 00:03:03] Production.INFO: ==11136== Lock acquired, processing the job...
[2025-01-07 00:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191096') start
[2025-01-07 00:03:03] Production.INFO: ==11138== Lock acquired, processing the job...
[2025-01-07 00:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:03:03] Production.INFO: ==11140== Lock acquired, processing the job...
[2025-01-07 00:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191096') end
[2025-01-07 00:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:03:03] Production.INFO: 1
[2025-01-07 00:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:03:03] Production.INFO: ==11142== Releasing lock...
[2025-01-07 00:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:03:03] Production.INFO: Account Balance Start.
[2025-01-07 00:03:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:03:03] Production.INFO: 117
[2025-01-07 00:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:03:03] Production.INFO: Date 2024-12-08
[2025-01-07 00:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:03:03] Production.INFO: Date 2024-12-09
[2025-01-07 00:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:03:03] Production.INFO: Date 2024-12-10
[2025-01-07 00:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:03:03] Production.INFO: Date 2024-12-11
[2025-01-07 00:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:03:03] Production.INFO: Date 2024-12-12
[2025-01-07 00:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:03:03] Production.INFO: Date 2024-12-13
[2025-01-07 00:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:03:03] Production.INFO: Date 2024-12-14
[2025-01-07 00:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:03:03] Production.ERROR: done
[2025-01-07 00:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:03:03] Production.INFO: Date 2024-12-15
[2025-01-07 00:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:03:03] Production.INFO: Date 2024-12-16
[2025-01-07 00:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:03:03] Production.INFO: Date 2024-12-17
[2025-01-07 00:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:03:03] Production.ERROR: done
[2025-01-07 00:03:03] Production.INFO: Date 2024-12-18
[2025-01-07 00:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:03:03] Production.INFO: Date 2024-12-19
[2025-01-07 00:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:03:03] Production.INFO: Date 2024-12-20
[2025-01-07 00:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:03:03] Production.INFO: Date 2024-12-21
[2025-01-07 00:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:03:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:03:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:03:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:03:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:03:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:03:04] Production.INFO: Date 2024-12-27
[2025-01-07 00:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:03:04] Production.INFO: Date 2024-12-28
[2025-01-07 00:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:03:04] Production.INFO: Date 2024-12-29
[2025-01-07 00:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:03:04] Production.INFO: Date 2024-12-30
[2025-01-07 00:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:03:04] Production.INFO: Date 2024-12-31
[2025-01-07 00:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:03:04] Production.INFO: Date 2025-01-01
[2025-01-07 00:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:03:04] Production.INFO: Date 2025-01-02
[2025-01-07 00:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:03:04] Production.INFO: Date 2025-01-03
[2025-01-07 00:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:03:04] Production.INFO: Date 2025-01-04
[2025-01-07 00:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:03:04] Production.INFO: Date 2025-01-05
[2025-01-07 00:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:03:04] Production.INFO: Date 2025-01-06
[2025-01-07 00:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:03:04] Production.INFO: Date 2025-01-07
[2025-01-07 00:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:03:04] Production.INFO: Total Charge 0
[2025-01-07 00:03:04] Production.INFO: CreateAllLog End
[2025-01-07 00:03:04] Production.INFO: Account Balance End.
[2025-01-07 00:03:04] Production.ERROR: CronJobId end 12
[2025-01-07 00:03:04] Production.INFO: ==11138== Releasing lock...
[2025-01-07 00:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:03:05
[end_date_ymd] => 2025-01-07 00:03:05
[RateCDR] => 1
)
[2025-01-07 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-06 21:03:05' and `end` < '2025-01-07 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-07 00:03:10] Production.ERROR: CronJobId end10
[2025-01-07 00:03:10] Production.INFO: ==11136== Releasing lock...
[2025-01-07 00:03:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:03:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:03:12] Production.INFO: call_cost start
[2025-01-07 00:03:12] Production.INFO: call_cost end
[2025-01-07 00:03:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:03:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:03:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:03:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:03:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:03:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:03:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:03:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:03:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:03:13] Production.INFO: ==11132== Releasing lock...
[2025-01-07 00:03:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:03:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:03:21] Production.INFO: count ==137
[2025-01-07 00:03:21] Production.ERROR: pbx CDR StartTime 2025-01-06 21:03:05 - End Time 2025-01-07 00:03:05
[2025-01-07 00:03:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191099', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191099', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191099', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191099', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:03:21] Production.INFO: ProcessCDR(1,14191099,1,1,2)
[2025-01-07 00:03:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191099,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:03:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191099,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:03:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191099,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:03:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191099,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:03:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191099', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:03:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191099', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:03:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:03:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:03:24] Production.INFO: ==11140== Releasing lock...
[2025-01-07 00:03:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:03:24] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 05:04:01] Production.INFO: ==11211== Lock acquired, processing the job...
[2025-01-07 05:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:04:01] Production.INFO: neon service started
[2025-01-07 05:04:01] Production.INFO: neon service started
[2025-01-07 05:04:01] Production.INFO: ==11211== Releasing lock...
[2025-01-07 05:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:04:02] Production.INFO: ==11213== Lock acquired, processing the job...
[2025-01-07 00:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:04:02] Production.INFO: ==11215== Lock acquired, processing the job...
[2025-01-07 05:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:04:02] Production.INFO: ==11215== Releasing lock...
[2025-01-07 05:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:04:02] Production.INFO: ==11213== Releasing lock...
[2025-01-07 00:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:04:03] Production.INFO: ==11218== Lock acquired, processing the job...
[2025-01-07 00:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:04:03] Production.INFO: ==11220== Lock acquired, processing the job...
[2025-01-07 00:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:04:03] Production.INFO: ==11228== Lock acquired, processing the job...
[2025-01-07 00:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 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-07 00:04:03] Production.INFO: ==11222== Lock acquired, processing the job...
[2025-01-07 00:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:04:03] Production.INFO: ==11226== Lock acquired, processing the job...
[2025-01-07 00:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:04:03] Production.INFO: count ==21
[2025-01-07 00:04:03] Production.INFO: ==11224== Lock acquired, processing the job...
[2025-01-07 00:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 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-07 00:04:03] Production.INFO: count ==21
[2025-01-07 00:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191102') start
[2025-01-07 00:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:04:03] Production.INFO: Account Balance Start.
[2025-01-07 00:04:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:04:03] Production.INFO: 117
[2025-01-07 00:04:03] Production.INFO: Date 2024-12-08
[2025-01-07 00:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:04:03] Production.INFO: Date 2024-12-09
[2025-01-07 00:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:04:03] Production.INFO: ==11220== Releasing lock...
[2025-01-07 00:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191102') end
[2025-01-07 00:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:04:03] Production.INFO: 1
[2025-01-07 00:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:04:03] Production.INFO: Date 2024-12-10
[2025-01-07 00:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:04:04] Production.INFO: Date 2024-12-11
[2025-01-07 00:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:04:04] Production.INFO: Date 2024-12-12
[2025-01-07 00:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:04:04] Production.INFO: ==11228== Releasing lock...
[2025-01-07 00:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:04:04] Production.ERROR: done
[2025-01-07 00:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:04:04] Production.INFO: Date 2024-12-13
[2025-01-07 00:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:04:04] Production.INFO: Date 2024-12-14
[2025-01-07 00:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:04:04] Production.INFO: Date 2024-12-15
[2025-01-07 00:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:04:04] Production.INFO: Date 2024-12-16
[2025-01-07 00:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:04:04] Production.ERROR: done
[2025-01-07 00:04:04] Production.INFO: Date 2024-12-17
[2025-01-07 00:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:04:04] Production.INFO: Date 2024-12-18
[2025-01-07 00:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:04:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:04:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:04:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:04:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:04:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:04:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:04:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:04:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:04:04] Production.INFO: Date 2024-12-27
[2025-01-07 00:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:04:04] Production.INFO: Date 2024-12-28
[2025-01-07 00:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:04:04] Production.INFO: Date 2024-12-29
[2025-01-07 00:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:04:04] Production.INFO: Date 2024-12-30
[2025-01-07 00:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:04:04] Production.INFO: Date 2024-12-31
[2025-01-07 00:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:04:04] Production.INFO: Date 2025-01-01
[2025-01-07 00:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:04:04] Production.INFO: Date 2025-01-02
[2025-01-07 00:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:04:04] Production.INFO: Date 2025-01-03
[2025-01-07 00:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:04:04] Production.INFO: Date 2025-01-04
[2025-01-07 00:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:04:04] Production.INFO: Date 2025-01-05
[2025-01-07 00:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:04:04] Production.INFO: Date 2025-01-06
[2025-01-07 00:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:04:05] Production.INFO: Date 2025-01-07
[2025-01-07 00:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:04:05] Production.INFO: Total Charge 0
[2025-01-07 00:04:05] Production.INFO: CreateAllLog End
[2025-01-07 00:04:05] Production.INFO: Account Balance End.
[2025-01-07 00:04:05] Production.ERROR: CronJobId end 12
[2025-01-07 00:04:05] Production.INFO: ==11224== Releasing lock...
[2025-01-07 00:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:04:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:04:05
[end_date_ymd] => 2025-01-07 00:04:05
[RateCDR] => 1
)
[2025-01-07 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-06 21:04:05' and `end` < '2025-01-07 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-07 00:04:12] Production.ERROR: CronJobId end10
[2025-01-07 00:04:12] Production.INFO: ==11222== Releasing lock...
[2025-01-07 00:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:04:14] Production.INFO: call_cost start
[2025-01-07 00:04:14] Production.INFO: call_cost end
[2025-01-07 00:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:04:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:04:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:04:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:04:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:04:15] Production.INFO: ==11218== Releasing lock...
[2025-01-07 00:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:04:20] Production.INFO: count ==136
[2025-01-07 00:04:20] Production.ERROR: pbx CDR StartTime 2025-01-06 21:04:05 - End Time 2025-01-07 00:04:05
[2025-01-07 00:04:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191104', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191104', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191104', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191104', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:04:20] Production.INFO: ProcessCDR(1,14191104,1,1,2)
[2025-01-07 00:04:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191104,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:04:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191104,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:04:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191104,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:04:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191104,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:04:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191104', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:04:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191104', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:04:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:04:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:04:24] Production.INFO: ==11226== Releasing lock...
[2025-01-07 00:04:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:04:24] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 05:05:01] Production.INFO: ==11344== Lock acquired, processing the job...
[2025-01-07 05:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:05:01] Production.INFO: neon service started
[2025-01-07 05:05:01] Production.INFO: neon service started
[2025-01-07 05:05:01] Production.INFO: ==11344== Releasing lock...
[2025-01-07 05:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:05:01] Production.INFO: ==11347== Lock acquired, processing the job...
[2025-01-07 00:05:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:05:01] Production.INFO: ==11347== Releasing lock...
[2025-01-07 00:05:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:05:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:05:02] Production.INFO: ==11349== Lock acquired, processing the job...
[2025-01-07 05:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:05:02] Production.INFO: ==11349== Releasing lock...
[2025-01-07 05:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:05:02] Production.INFO: ==11359== Lock acquired, processing the job...
[2025-01-07 00:05:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:05:02] Production.INFO: ==11361== Lock acquired, processing the job...
[2025-01-07 00:05:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:05:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:05:02] Production.INFO: ==11351== Lock acquired, processing the job...
[2025-01-07 00:05:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:05:02] Production.INFO: ==11353== Lock acquired, processing the job...
[2025-01-07 00:05:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00: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-07 00:05:03] Production.INFO: ==11355== Lock acquired, processing the job...
[2025-01-07 00:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:05:03] Production.INFO: count ==21
[2025-01-07 00: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-07 00:05:03] Production.INFO: count ==21
[2025-01-07 00:05:03] Production.INFO: ==11357== Lock acquired, processing the job...
[2025-01-07 00:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191105') start
[2025-01-07 00:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:05:03] Production.ERROR: done
[2025-01-07 00:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191105') end
[2025-01-07 00:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:05:03] Production.INFO: 1
[2025-01-07 00:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:05:03] Production.INFO: Account Balance Start.
[2025-01-07 00:05:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:05:03] Production.INFO: 117
[2025-01-07 00:05:03] Production.INFO: Date 2024-12-08
[2025-01-07 00:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:05:03] Production.INFO: ==11361== Releasing lock...
[2025-01-07 00:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:05:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:05:03] Production.ERROR: done
[2025-01-07 00:05:03] Production.INFO: ==11353== Releasing lock...
[2025-01-07 00:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:05:03] Production.INFO: Date 2024-12-09
[2025-01-07 00:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:05:03] Production.INFO: Date 2024-12-10
[2025-01-07 00:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:05:03] Production.INFO: Date 2024-12-11
[2025-01-07 00:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:05:03] Production.INFO: Date 2024-12-12
[2025-01-07 00:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:05:03] Production.INFO: Date 2024-12-13
[2025-01-07 00:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:05:03] Production.INFO: Date 2024-12-14
[2025-01-07 00:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:05:03] Production.INFO: Date 2024-12-15
[2025-01-07 00:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:05:03] Production.INFO: Date 2024-12-16
[2025-01-07 00:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:05:03] Production.INFO: Date 2024-12-17
[2025-01-07 00:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:05:03] Production.INFO: Date 2024-12-18
[2025-01-07 00:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:05:03] Production.INFO: Date 2024-12-19
[2025-01-07 00:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:05:03] Production.INFO: Date 2024-12-20
[2025-01-07 00:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:05:03] Production.INFO: Date 2024-12-21
[2025-01-07 00:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:05:03] Production.INFO: Date 2024-12-22
[2025-01-07 00:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:05:03] Production.INFO: Date 2024-12-23
[2025-01-07 00:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:05:03] Production.INFO: Date 2024-12-24
[2025-01-07 00:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:05:03] Production.INFO: Date 2024-12-25
[2025-01-07 00:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:05:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:05:04] Production.INFO: Date 2024-12-27
[2025-01-07 00:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:05:04] Production.INFO: Date 2024-12-28
[2025-01-07 00:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:05:04] Production.INFO: Date 2024-12-29
[2025-01-07 00:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:05:04] Production.INFO: Date 2024-12-30
[2025-01-07 00:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:05:04] Production.INFO: Date 2024-12-31
[2025-01-07 00:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:05:04] Production.INFO: Date 2025-01-01
[2025-01-07 00:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:05:04] Production.INFO: Date 2025-01-02
[2025-01-07 00:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:05:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:05:04
[end_date_ymd] => 2025-01-07 00:05:04
[RateCDR] => 1
)
[2025-01-07 00: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-06 21:05:04' and `end` < '2025-01-07 00: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-07 00:05:04] Production.INFO: Date 2025-01-03
[2025-01-07 00:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:05:04] Production.INFO: Date 2025-01-04
[2025-01-07 00:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:05:04] Production.INFO: Date 2025-01-05
[2025-01-07 00:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:05:04] Production.INFO: Date 2025-01-06
[2025-01-07 00:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:05:04] Production.INFO: Date 2025-01-07
[2025-01-07 00:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:05:04] Production.INFO: Total Charge 0
[2025-01-07 00:05:04] Production.INFO: CreateAllLog End
[2025-01-07 00:05:04] Production.INFO: Account Balance End.
[2025-01-07 00:05:04] Production.ERROR: CronJobId end 12
[2025-01-07 00:05:04] Production.INFO: ==11357== Releasing lock...
[2025-01-07 00:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:05:11] Production.ERROR: CronJobId end10
[2025-01-07 00:05:11] Production.INFO: ==11355== Releasing lock...
[2025-01-07 00:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:05:12] Production.INFO: call_cost start
[2025-01-07 00:05:12] Production.INFO: call_cost end
[2025-01-07 00:05:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:05:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:05:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:05:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:05:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:05:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:05:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:05:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:05:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:05:13] Production.INFO: ==11351== Releasing lock...
[2025-01-07 00:05:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:05:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:05:21] Production.INFO: count ==136
[2025-01-07 00:05:21] Production.ERROR: pbx CDR StartTime 2025-01-06 21:05:04 - End Time 2025-01-07 00:05:04
[2025-01-07 00:05:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191109', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191109', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191109', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191109', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:05:21] Production.INFO: ProcessCDR(1,14191109,1,1,2)
[2025-01-07 00:05:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191109,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:05:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191109,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:05:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191109,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:05:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191109,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:05:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191109', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:05:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191109', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:05:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:05:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:05:24] Production.INFO: ==11359== Releasing lock...
[2025-01-07 00:05:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:05:24] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 05:06:01] Production.INFO: ==11432== Lock acquired, processing the job...
[2025-01-07 05:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:06:01] Production.INFO: neon service started
[2025-01-07 05:06:01] Production.INFO: neon service started
[2025-01-07 05:06:01] Production.INFO: ==11432== Releasing lock...
[2025-01-07 05:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:06:02] Production.INFO: ==11436== Lock acquired, processing the job...
[2025-01-07 05:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:06:02] Production.INFO: ==11436== Releasing lock...
[2025-01-07 05:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:06:02] Production.INFO: ==11434== Lock acquired, processing the job...
[2025-01-07 00:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:06:02] Production.INFO: ==11434== Releasing lock...
[2025-01-07 00:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:06:03] Production.INFO: ==11441== Lock acquired, processing the job...
[2025-01-07 00:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:06:03] Production.INFO: ==11443== Lock acquired, processing the job...
[2025-01-07 00:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:06:03] Production.INFO: ==11447== Lock acquired, processing the job...
[2025-01-07 00:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:06:03] Production.INFO: Account Balance Start.
[2025-01-07 00:06:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:06:03] Production.INFO: 117
[2025-01-07 00:06:03] Production.INFO: Date 2024-12-08
[2025-01-07 00:06:03] Production.INFO: ==11445== Lock acquired, processing the job...
[2025-01-07 00:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:06:03] Production.INFO: Date 2024-12-09
[2025-01-07 00:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:06:03] Production.INFO: Date 2024-12-10
[2025-01-07 00:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:06:03] Production.INFO: ==11449== Lock acquired, processing the job...
[2025-01-07 00:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:06:03] Production.INFO: Date 2024-12-11
[2025-01-07 00:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:06:03] Production.INFO: Date 2024-12-12
[2025-01-07 00:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:06:03] Production.INFO: ==11451== Lock acquired, processing the job...
[2025-01-07 00:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:06:03] Production.INFO: Date 2024-12-13
[2025-01-07 00:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:06:03] Production.INFO: ==11443== Releasing lock...
[2025-01-07 00:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:06:03] Production.INFO: Date 2024-12-14
[2025-01-07 00:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:06:03] Production.INFO: Date 2024-12-15
[2025-01-07 00:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 00:06:03] Production.INFO: Date 2024-12-16
[2025-01-07 00:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:06:03] Production.INFO: Date 2024-12-17
[2025-01-07 00:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:06:03] Production.INFO: Date 2024-12-18
[2025-01-07 00:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:06:03] Production.INFO: count ==21
[2025-01-07 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-07 00:06:03] Production.INFO: count ==21
[2025-01-07 00:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191113') start
[2025-01-07 00:06:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:06:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:06:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:06:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:06:04] Production.ERROR: done
[2025-01-07 00:06:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191113') end
[2025-01-07 00:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:06:04] Production.INFO: 1
[2025-01-07 00:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:06:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:06:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:06:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:06:04] Production.INFO: ==11451== Releasing lock...
[2025-01-07 00:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:06:04] Production.INFO: Date 2024-12-27
[2025-01-07 00:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:06:04] Production.ERROR: done
[2025-01-07 00:06:04] Production.INFO: Date 2024-12-28
[2025-01-07 00:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:06:04] Production.INFO: Date 2024-12-29
[2025-01-07 00:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:06:04] Production.INFO: Date 2024-12-30
[2025-01-07 00:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:06:04] Production.INFO: Date 2024-12-31
[2025-01-07 00:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:06:04] Production.INFO: Date 2025-01-01
[2025-01-07 00:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:06:04] Production.INFO: Date 2025-01-02
[2025-01-07 00:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:06:04] Production.INFO: Date 2025-01-03
[2025-01-07 00:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:06:04] Production.INFO: Date 2025-01-04
[2025-01-07 00:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:06:04] Production.INFO: Date 2025-01-05
[2025-01-07 00:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:06:04] Production.INFO: Date 2025-01-06
[2025-01-07 00:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:06:04] Production.INFO: Date 2025-01-07
[2025-01-07 00:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:06:04] Production.INFO: Total Charge 0
[2025-01-07 00:06:04] Production.INFO: CreateAllLog End
[2025-01-07 00:06:05] Production.INFO: Account Balance End.
[2025-01-07 00:06:05] Production.ERROR: CronJobId end 12
[2025-01-07 00:06:05] Production.INFO: ==11447== Releasing lock...
[2025-01-07 00:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:06:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:06:05
[end_date_ymd] => 2025-01-07 00:06:05
[RateCDR] => 1
)
[2025-01-07 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-06 21:06:05' and `end` < '2025-01-07 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-07 00:06:12] Production.ERROR: CronJobId end10
[2025-01-07 00:06:12] Production.INFO: ==11445== Releasing lock...
[2025-01-07 00:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:06:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:06:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:06:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:06:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:06:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:06:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:06:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:06:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:06:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:06:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:06:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:06:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:06:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:06:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:06:13] Production.INFO: call_cost start
[2025-01-07 00:06:13] Production.INFO: call_cost end
[2025-01-07 00:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:06:14] Production.INFO: ==11441== Releasing lock...
[2025-01-07 00:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:06:18] Production.INFO: count ==134
[2025-01-07 00:06:18] Production.ERROR: pbx CDR StartTime 2025-01-06 21:06:05 - End Time 2025-01-07 00:06:05
[2025-01-07 00:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191114', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191114', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191114', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191114', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:06:18] Production.INFO: ProcessCDR(1,14191114,1,1,2)
[2025-01-07 00:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191114,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191114,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191114,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191114,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191114', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191114', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:06:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:06:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:06:21] Production.INFO: ==11449== Releasing lock...
[2025-01-07 00:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:06:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 05:07:02] Production.INFO: ==11526== Lock acquired, processing the job...
[2025-01-07 05:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:07:02] Production.INFO: neon service started
[2025-01-07 05:07:02] Production.INFO: neon service started
[2025-01-07 05:07:02] Production.INFO: ==11526== Releasing lock...
[2025-01-07 05:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:07:02] Production.INFO: ==11528== Lock acquired, processing the job...
[2025-01-07 00:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:07:02] Production.INFO: ==11528== Releasing lock...
[2025-01-07 00:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:07:03] Production.INFO: ==11530== Lock acquired, processing the job...
[2025-01-07 05:07:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:07:03] Production.INFO: ==11530== Releasing lock...
[2025-01-07 05:07:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:07:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:07:03] Production.INFO: ==11536== Lock acquired, processing the job...
[2025-01-07 00:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:07:03] Production.INFO: ==11540== Lock acquired, processing the job...
[2025-01-07 00:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:07:03] Production.INFO: ==11538== Lock acquired, processing the job...
[2025-01-07 00:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:07:03] Production.INFO: Account Balance Start.
[2025-01-07 00:07:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:07:03] Production.INFO: 117
[2025-01-07 00:07:03] Production.INFO: ==11544== Lock acquired, processing the job...
[2025-01-07 00:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:07:03] Production.INFO: Date 2024-12-08
[2025-01-07 00:07:03] Production.INFO: ==11534== Lock acquired, processing the job...
[2025-01-07 00:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:07:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 00:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:07:04] Production.INFO: count ==21
[2025-01-07 00:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:07:04] Production.INFO: count ==21
[2025-01-07 00:07:04] Production.INFO: Date 2024-12-09
[2025-01-07 00:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:07:04] Production.INFO: ==11536== Releasing lock...
[2025-01-07 00:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191117') start
[2025-01-07 00:07:04] Production.INFO: ==11542== Lock acquired, processing the job...
[2025-01-07 00:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:07:04] Production.INFO: Date 2024-12-10
[2025-01-07 00:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:07:04] Production.INFO: Date 2024-12-11
[2025-01-07 00:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191117') end
[2025-01-07 00:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:07:04] Production.INFO: 1
[2025-01-07 00:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:07:04] Production.INFO: Date 2024-12-12
[2025-01-07 00:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:07:04] Production.INFO: Date 2024-12-13
[2025-01-07 00:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:07:04] Production.INFO: ==11544== Releasing lock...
[2025-01-07 00:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:07:04] Production.INFO: Date 2024-12-14
[2025-01-07 00:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:07:04] Production.INFO: Date 2024-12-15
[2025-01-07 00:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:07:04] Production.ERROR: done
[2025-01-07 00:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:07:04] Production.INFO: Date 2024-12-16
[2025-01-07 00:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:07:04] Production.INFO: Date 2024-12-17
[2025-01-07 00:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:07:04] Production.INFO: Date 2024-12-18
[2025-01-07 00:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:07:04] Production.ERROR: done
[2025-01-07 00:07:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:07:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:07:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:07:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:07:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:07:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:07:05] Production.INFO: Date 2024-12-25
[2025-01-07 00:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:07:05] Production.INFO: Date 2024-12-26
[2025-01-07 00:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:07:05] Production.INFO: Date 2024-12-27
[2025-01-07 00:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:07:05] Production.INFO: Date 2024-12-28
[2025-01-07 00:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:07:05] Production.INFO: Date 2024-12-29
[2025-01-07 00:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:07:05] Production.INFO: Date 2024-12-30
[2025-01-07 00:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:07:05] Production.INFO: Date 2024-12-31
[2025-01-07 00:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:07:05] Production.INFO: Date 2025-01-01
[2025-01-07 00:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:07:05] Production.INFO: Date 2025-01-02
[2025-01-07 00:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:07:05] Production.INFO: Date 2025-01-03
[2025-01-07 00:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:07:05] Production.INFO: Date 2025-01-04
[2025-01-07 00:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:07:05] Production.INFO: Date 2025-01-05
[2025-01-07 00:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:07:05] Production.INFO: Date 2025-01-06
[2025-01-07 00:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:07:05] Production.INFO: Date 2025-01-07
[2025-01-07 00:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:07:05] Production.INFO: Total Charge 0
[2025-01-07 00:07:05] Production.INFO: CreateAllLog End
[2025-01-07 00:07:05] Production.INFO: Account Balance End.
[2025-01-07 00:07:05] Production.ERROR: CronJobId end 12
[2025-01-07 00:07:06] Production.INFO: ==11540== Releasing lock...
[2025-01-07 00:07:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:07:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:07:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:07:06
[end_date_ymd] => 2025-01-07 00:07:06
[RateCDR] => 1
)
[2025-01-07 00:07:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 21:07:06' and `end` < '2025-01-07 00:07:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 00:07:11] Production.ERROR: CronJobId end10
[2025-01-07 00:07:11] Production.INFO: ==11538== Releasing lock...
[2025-01-07 00:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:07:14] Production.INFO: call_cost start
[2025-01-07 00:07:14] Production.INFO: call_cost end
[2025-01-07 00:07:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:07:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:07:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:07:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:07:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:07:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:07:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:07:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:07:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:07:15] Production.INFO: ==11534== Releasing lock...
[2025-01-07 00:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:07:18] Production.INFO: count ==134
[2025-01-07 00:07:18] Production.ERROR: pbx CDR StartTime 2025-01-06 21:07:06 - End Time 2025-01-07 00:07:06
[2025-01-07 00:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191119', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191119', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191119', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191119', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:07:18] Production.INFO: ProcessCDR(1,14191119,1,1,2)
[2025-01-07 00:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191119,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191119,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191119,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191119,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191119', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191119', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:07:21] Production.INFO: ==11542== Releasing lock...
[2025-01-07 00:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:07:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 05:08:01] Production.INFO: ==11625== Lock acquired, processing the job...
[2025-01-07 05:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:08:01] Production.INFO: neon service started
[2025-01-07 05:08:01] Production.INFO: neon service started
[2025-01-07 05:08:01] Production.INFO: ==11625== Releasing lock...
[2025-01-07 05:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:08:02] Production.INFO: ==11630== Lock acquired, processing the job...
[2025-01-07 05:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:08:02] Production.INFO: ==11630== Releasing lock...
[2025-01-07 05:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:08:02] Production.INFO: ==11628== Lock acquired, processing the job...
[2025-01-07 00:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:08:02] Production.INFO: ==11628== Releasing lock...
[2025-01-07 00:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:08:03] Production.INFO: ==11632== Lock acquired, processing the job...
[2025-01-07 00:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:08:03] Production.INFO: ==11636== Lock acquired, processing the job...
[2025-01-07 00:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:08:03] Production.INFO: ==11634== Lock acquired, processing the job...
[2025-01-07 00:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:08:03] Production.INFO: ==11640== Lock acquired, processing the job...
[2025-01-07 00:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:08:03] Production.INFO: ==11638== Lock acquired, processing the job...
[2025-01-07 00:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:08:03] Production.INFO: ==11642== Lock acquired, processing the job...
[2025-01-07 00:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:08:03] Production.INFO: Account Balance Start.
[2025-01-07 00:08:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:08:03] Production.INFO: 117
[2025-01-07 00:08:04] Production.INFO: Date 2024-12-08
[2025-01-07 00:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:08:04] Production.INFO: Date 2024-12-09
[2025-01-07 00:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:08:04] Production.INFO: count ==21
[2025-01-07 00:08:04] Production.ERROR: done
[2025-01-07 00:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:08:04] Production.INFO: ==11634== Releasing lock...
[2025-01-07 00:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:08:04] Production.INFO: count ==21
[2025-01-07 00:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191123') start
[2025-01-07 00:08:04] Production.INFO: Date 2024-12-10
[2025-01-07 00:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:08:04] Production.ERROR: done
[2025-01-07 00:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191123') end
[2025-01-07 00:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:08:04] Production.INFO: 1
[2025-01-07 00:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:08:04] Production.INFO: Date 2024-12-11
[2025-01-07 00:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:08:04] Production.INFO: ==11642== Releasing lock...
[2025-01-07 00:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:08:04] Production.INFO: Date 2024-12-12
[2025-01-07 00:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:08:04] Production.INFO: Date 2024-12-13
[2025-01-07 00:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:08:04] Production.INFO: Date 2024-12-14
[2025-01-07 00:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:08:04] Production.INFO: Date 2024-12-15
[2025-01-07 00:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:08:04] Production.INFO: Date 2024-12-16
[2025-01-07 00:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:08:04] Production.INFO: Date 2024-12-17
[2025-01-07 00:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:08:04] Production.INFO: Date 2024-12-18
[2025-01-07 00:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:08:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:08:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:08:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:08:05] Production.INFO: Date 2024-12-22
[2025-01-07 00:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:08:05] Production.INFO: Date 2024-12-23
[2025-01-07 00:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:08:05] Production.INFO: Date 2024-12-24
[2025-01-07 00:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:08:05] Production.INFO: Date 2024-12-25
[2025-01-07 00:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:08:05] Production.INFO: Date 2024-12-26
[2025-01-07 00:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:08:05] Production.INFO: Date 2024-12-27
[2025-01-07 00:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:08:05] Production.INFO: Date 2024-12-28
[2025-01-07 00:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:08:05] Production.INFO: Date 2024-12-29
[2025-01-07 00:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:08:05] Production.INFO: Date 2024-12-30
[2025-01-07 00:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:08:05] Production.INFO: Date 2024-12-31
[2025-01-07 00:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:08:05] Production.INFO: Date 2025-01-01
[2025-01-07 00:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:08:05] Production.INFO: Date 2025-01-02
[2025-01-07 00:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:08:05] Production.INFO: Date 2025-01-03
[2025-01-07 00:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:08:05] Production.INFO: Date 2025-01-04
[2025-01-07 00:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:08:05] Production.INFO: Date 2025-01-05
[2025-01-07 00:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:08:05] Production.INFO: Date 2025-01-06
[2025-01-07 00:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:08:05] Production.INFO: Date 2025-01-07
[2025-01-07 00:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:08:05] Production.INFO: Total Charge 0
[2025-01-07 00:08:05] Production.INFO: CreateAllLog End
[2025-01-07 00:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:08:05
[end_date_ymd] => 2025-01-07 00:08:05
[RateCDR] => 1
)
[2025-01-07 00:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 21:08:05' and `end` < '2025-01-07 00:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 00:08:05] Production.INFO: Account Balance End.
[2025-01-07 00:08:06] Production.ERROR: CronJobId end 12
[2025-01-07 00:08:06] Production.INFO: ==11638== Releasing lock...
[2025-01-07 00:08:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:08:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:08:11] Production.ERROR: CronJobId end10
[2025-01-07 00:08:11] Production.INFO: ==11636== Releasing lock...
[2025-01-07 00:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:08:14] Production.INFO: call_cost start
[2025-01-07 00:08:14] Production.INFO: call_cost end
[2025-01-07 00:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:08:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:08:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:08:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:08:15] Production.INFO: ==11632== Releasing lock...
[2025-01-07 00:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:08:18] Production.INFO: count ==134
[2025-01-07 00:08:18] Production.ERROR: pbx CDR StartTime 2025-01-06 21:08:05 - End Time 2025-01-07 00:08:05
[2025-01-07 00:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191124', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191124', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191124', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191124', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:08:18] Production.INFO: ProcessCDR(1,14191124,1,1,2)
[2025-01-07 00:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191124,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191124,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191124,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191124,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191124', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191124', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:08:21] Production.INFO: ==11640== Releasing lock...
[2025-01-07 00:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:08:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 05:09:02] Production.INFO: ==11714== Lock acquired, processing the job...
[2025-01-07 05:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:09:02] Production.INFO: neon service started
[2025-01-07 05:09:02] Production.INFO: neon service started
[2025-01-07 05:09:02] Production.INFO: ==11714== Releasing lock...
[2025-01-07 05:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:09:02] Production.INFO: ==11716== Lock acquired, processing the job...
[2025-01-07 00:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:09:02] Production.INFO: ==11716== Releasing lock...
[2025-01-07 00:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:09:02] Production.INFO: ==11718== Lock acquired, processing the job...
[2025-01-07 05:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:09:02] Production.INFO: ==11718== Releasing lock...
[2025-01-07 05:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:09:03] Production.INFO: ==11725== Lock acquired, processing the job...
[2025-01-07 00:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:09:03] Production.INFO: ==11729== Lock acquired, processing the job...
[2025-01-07 00:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:09:03] Production.INFO: ==11721== Lock acquired, processing the job...
[2025-01-07 00:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:09:03] Production.INFO: ==11723== Lock acquired, processing the job...
[2025-01-07 00:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:09:03] Production.INFO: ==11727== Lock acquired, processing the job...
[2025-01-07 00:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:09:03] Production.INFO: ==11731== Lock acquired, processing the job...
[2025-01-07 00:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:09:03] Production.INFO: Account Balance Start.
[2025-01-07 00:09:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:09:03] Production.INFO: 117
[2025-01-07 00:09:03] Production.INFO: Date 2024-12-08
[2025-01-07 00:09:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 00:09:03] Production.INFO: Date 2024-12-09
[2025-01-07 00:09:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:09:03] Production.INFO: count ==21
[2025-01-07 00:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:09:04] Production.INFO: count ==21
[2025-01-07 00:09:04] Production.INFO: Date 2024-12-10
[2025-01-07 00:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191128') start
[2025-01-07 00:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:09:04] Production.ERROR: done
[2025-01-07 00:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:09:04] Production.INFO: Date 2024-12-11
[2025-01-07 00:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:09:04] Production.INFO: Date 2024-12-12
[2025-01-07 00:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:09:04] Production.INFO: Date 2024-12-13
[2025-01-07 00:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191128') end
[2025-01-07 00:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:09:04] Production.INFO: 1
[2025-01-07 00:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:09:04] Production.INFO: Date 2024-12-14
[2025-01-07 00:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:09:04] Production.ERROR: done
[2025-01-07 00:09:04] Production.INFO: Date 2024-12-15
[2025-01-07 00:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:09:04] Production.INFO: ==11731== Releasing lock...
[2025-01-07 00:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:09:04] Production.INFO: ==11723== Releasing lock...
[2025-01-07 00:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:09:04] Production.INFO: Date 2024-12-16
[2025-01-07 00:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:09:04] Production.INFO: Date 2024-12-17
[2025-01-07 00:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:09:04] Production.INFO: Date 2024-12-18
[2025-01-07 00:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:09:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:09:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:09:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:09:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:09:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:09:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:09:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:09:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:09:04] Production.INFO: Date 2024-12-27
[2025-01-07 00:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:09:04] Production.INFO: Date 2024-12-28
[2025-01-07 00:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:09:04] Production.INFO: Date 2024-12-29
[2025-01-07 00:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:09:04] Production.INFO: Date 2024-12-30
[2025-01-07 00:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:09:04] Production.INFO: Date 2024-12-31
[2025-01-07 00:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:09:04] Production.INFO: Date 2025-01-01
[2025-01-07 00:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:09:04] Production.INFO: Date 2025-01-02
[2025-01-07 00:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:09:04] Production.INFO: Date 2025-01-03
[2025-01-07 00:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:09:04] Production.INFO: Date 2025-01-04
[2025-01-07 00:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:09:04] Production.INFO: Date 2025-01-05
[2025-01-07 00:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:09:04] Production.INFO: Date 2025-01-06
[2025-01-07 00:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:09:04] Production.INFO: Date 2025-01-07
[2025-01-07 00:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:09:04] Production.INFO: Total Charge 0
[2025-01-07 00:09:04] Production.INFO: CreateAllLog End
[2025-01-07 00:09:05] Production.INFO: Account Balance End.
[2025-01-07 00:09:05] Production.ERROR: CronJobId end 12
[2025-01-07 00:09:05] Production.INFO: ==11727== Releasing lock...
[2025-01-07 00:09:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:09:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:09:05
[end_date_ymd] => 2025-01-07 00:09:05
[RateCDR] => 1
)
[2025-01-07 00:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 21:09:05' and `end` < '2025-01-07 00:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 00:09:11] Production.ERROR: CronJobId end10
[2025-01-07 00:09:11] Production.INFO: ==11725== Releasing lock...
[2025-01-07 00:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:09:13] Production.INFO: call_cost start
[2025-01-07 00:09:13] Production.INFO: call_cost end
[2025-01-07 00:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:09:14] Production.INFO: ==11721== Releasing lock...
[2025-01-07 00:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:09:18] Production.INFO: count ==133
[2025-01-07 00:09:18] Production.ERROR: pbx CDR StartTime 2025-01-06 21:09:05 - End Time 2025-01-07 00:09:05
[2025-01-07 00:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191129', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191129', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191129', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191129', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:09:18] Production.INFO: ProcessCDR(1,14191129,1,1,2)
[2025-01-07 00:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191129,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191129,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191129,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191129,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191129', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191129', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:09:21] Production.INFO: ==11729== Releasing lock...
[2025-01-07 00:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:09:21] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 05:10:01] Production.INFO: ==11797== Lock acquired, processing the job...
[2025-01-07 05:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:10:01] Production.INFO: neon service started
[2025-01-07 05:10:01] Production.INFO: neon service started
[2025-01-07 05:10:01] Production.INFO: ==11797== Releasing lock...
[2025-01-07 05:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:10:01] Production.INFO: ==11801== Lock acquired, processing the job...
[2025-01-07 00:10:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:10:02] Production.INFO: ==11801== Releasing lock...
[2025-01-07 00:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:10:02] Production.INFO: ==11803== Lock acquired, processing the job...
[2025-01-07 05:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:10:02] Production.INFO: ==11803== Releasing lock...
[2025-01-07 05:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:10:03] Production.INFO: ==11811== Lock acquired, processing the job...
[2025-01-07 00:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:10:03] Production.INFO: ==11813== Lock acquired, processing the job...
[2025-01-07 00:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:10:03] Production.INFO: ==11805== Lock acquired, processing the job...
[2025-01-07 00:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 00:10:03] Production.INFO: ==11807== Lock acquired, processing the job...
[2025-01-07 00:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:10:03] Production.INFO: Account Balance Start.
[2025-01-07 00:10:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:10:03] Production.INFO: 117
[2025-01-07 00:10:03] Production.INFO: Date 2024-12-08
[2025-01-07 00:10:03] Production.INFO: ==11819== Lock acquired, processing the job...
[2025-01-07 00:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:10:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:10:03] Production.INFO: Date 2024-12-09
[2025-01-07 00:10:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:10:03] Production.INFO: ==11809== Lock acquired, processing the job...
[2025-01-07 00:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:10:03] Production.INFO: Date 2024-12-10
[2025-01-07 00:10:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 00:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 00:10:03] Production.ERROR: CronJob PID - 11807
[2025-01-07 00:10:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-07 00:10:03] Production.ERROR: CronJob ID - 5
[2025-01-07 00:10:03] Production.ERROR: CronJob Last Run Time 2025-01-07 00:10:00
[2025-01-07 00:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 00:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 00:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 00:10:03] Production.ERROR: CronJob PID - 11811
[2025-01-07 00:10:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-07 00:10:03] Production.ERROR: CronJob ID - 10
[2025-01-07 00:10:03] Production.ERROR: CronJob Last Run Time 2025-01-07 00:10:00
[2025-01-07 00:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 00:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 00:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 00:10:03] Production.ERROR: CronJob PID - 11813
[2025-01-07 00:10:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-07 00:10:03] Production.ERROR: CronJob ID - 12
[2025-01-07 00:10:03] Production.ERROR: CronJob Last Run Time 2025-01-07 00:10:00
[2025-01-07 00:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 00:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 00:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 00:10:03] Production.ERROR: CronJob PID - 11819
[2025-01-07 00:10:03] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-07 00:10:03] Production.ERROR: CronJob ID - 19
[2025-01-07 00:10:03] Production.ERROR: CronJob Last Run Time 2025-01-07 00:10:00
[2025-01-07 00:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 00:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 00:10:03] Production.INFO: Date 2024-12-11
[2025-01-07 00:10:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:10:03] Production.INFO: Date 2024-12-12
[2025-01-07 00:10:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 00:10:03] Production.INFO: ==11805== Releasing lock...
[2025-01-07 00:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 00:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 00: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-07 00:10:03] Production.INFO: count ==21
[2025-01-07 00: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-07 00:10:03] Production.INFO: count ==21
[2025-01-07 00:10:03] Production.INFO: Date 2024-12-13
[2025-01-07 00:10:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:10:03] Production.INFO: ==11815== Lock acquired, processing the job...
[2025-01-07 00:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:10:03] Production.INFO: ==11817== Lock acquired, processing the job...
[2025-01-07 00:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 00:10:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191132') start
[2025-01-07 00:10:03] Production.INFO: Date 2024-12-14
[2025-01-07 00:10:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:10:03] Production.INFO: Date 2024-12-15
[2025-01-07 00:10:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:10:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191132') end
[2025-01-07 00:10:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:10:03] Production.INFO: 1
[2025-01-07 00:10:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:10:03] Production.INFO: Date 2024-12-16
[2025-01-07 00:10:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:10:03] Production.INFO: Date 2024-12-17
[2025-01-07 00:10:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:10:04] Production.INFO: ==11819== Releasing lock...
[2025-01-07 00:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:10:04] Production.INFO: Date 2024-12-18
[2025-01-07 00:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:10:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:10:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:10:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:10:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:10:04] Production.INFO: ==11809== Releasing lock...
[2025-01-07 00:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:10:04] Production.ERROR: done
[2025-01-07 00:10:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 00:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14191134', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 00:10:04] Production.ERROR: done
[2025-01-07 00:10:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:10:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:10:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:10:04] Production.ERROR: done
[2025-01-07 00:10:04] Production.INFO: Date 2024-12-27
[2025-01-07 00:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:10:04] Production.INFO: Date 2024-12-28
[2025-01-07 00:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:10:04] Production.INFO: Date 2024-12-29
[2025-01-07 00:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:10:04] Production.INFO: Date 2024-12-30
[2025-01-07 00:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:10:04] Production.INFO: Date 2024-12-31
[2025-01-07 00:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:10:04] Production.INFO: Date 2025-01-01
[2025-01-07 00:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:10:04] Production.INFO: Date 2025-01-02
[2025-01-07 00:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:10:04] Production.INFO: Date 2025-01-03
[2025-01-07 00:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:10:04] Production.INFO: Date 2025-01-04
[2025-01-07 00:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:10:04] Production.INFO: Date 2025-01-05
[2025-01-07 00:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:10:04] Production.INFO: Date 2025-01-06
[2025-01-07 00:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:10:04] Production.INFO: Date 2025-01-07
[2025-01-07 00:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:10:04] Production.INFO: Total Charge 0
[2025-01-07 00:10:04] Production.INFO: CreateAllLog End
[2025-01-07 00:10:04] Production.INFO: Account Balance End.
[2025-01-07 00:10:05] Production.ERROR: CronJobId end 12
[2025-01-07 00:10:05] Production.INFO: ==11813== Releasing lock...
[2025-01-07 00:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:10:05
[end_date_ymd] => 2025-01-07 00:10:05
[RateCDR] => 1
)
[2025-01-07 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-06 21:10:05' and `end` < '2025-01-07 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-07 00:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14191134', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 00:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 00:10:08] Production.INFO: ProcessCDR(1,14191134,1,1,2)
[2025-01-07 00:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14191134,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14191134,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:10:08] Production.INFO: ==11817== Releasing lock...
[2025-01-07 00:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 00:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-07 00:10:12] Production.ERROR: CronJobId end10
[2025-01-07 00:10:12] Production.INFO: ==11811== Releasing lock...
[2025-01-07 00:10:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:10:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:10:14] Production.INFO: call_cost start
[2025-01-07 00:10:14] Production.INFO: call_cost end
[2025-01-07 00:10:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:10:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:10:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:10:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:10:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:10:15] Production.INFO: ==11807== Releasing lock...
[2025-01-07 00:10:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:10:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:10:18] Production.INFO: count ==135
[2025-01-07 00:10:18] Production.ERROR: pbx CDR StartTime 2025-01-06 21:10:05 - End Time 2025-01-07 00:10:05
[2025-01-07 00:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191135', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191135', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191135', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191135', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:10:18] Production.INFO: ProcessCDR(1,14191135,1,1,2)
[2025-01-07 00:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191135,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191135,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191135,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:10:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191135,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191135', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191135', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:10:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:10:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:10:21] Production.INFO: ==11815== Releasing lock...
[2025-01-07 00:10:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:10:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 05:11:01] Production.INFO: ==11887== Lock acquired, processing the job...
[2025-01-07 05:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:11:01] Production.INFO: neon service started
[2025-01-07 05:11:01] Production.INFO: neon service started
[2025-01-07 05:11:01] Production.INFO: ==11887== Releasing lock...
[2025-01-07 05:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:11:02] Production.INFO: ==11889== Lock acquired, processing the job...
[2025-01-07 00:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:11:02] Production.INFO: ==11889== Releasing lock...
[2025-01-07 00:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:11:02] Production.INFO: ==11891== Lock acquired, processing the job...
[2025-01-07 05:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:11:02] Production.INFO: ==11891== Releasing lock...
[2025-01-07 05:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:11:03] Production.INFO: ==11893== Lock acquired, processing the job...
[2025-01-07 00:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:11:03] Production.INFO: ==11899== Lock acquired, processing the job...
[2025-01-07 00:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:11:03] Production.INFO: Account Balance Start.
[2025-01-07 00:11:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:11:03] Production.INFO: 117
[2025-01-07 00:11:03] Production.INFO: Date 2024-12-08
[2025-01-07 00:11:03] Production.INFO: ==11903== Lock acquired, processing the job...
[2025-01-07 00:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:11:03] Production.INFO: Date 2024-12-09
[2025-01-07 00:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:11:03] Production.INFO: Date 2024-12-10
[2025-01-07 00:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 00:11:03] Production.INFO: Date 2024-12-11
[2025-01-07 00:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:11:03] Production.INFO: count ==21
[2025-01-07 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-07 00:11:03] Production.INFO: count ==21
[2025-01-07 00:11:03] Production.INFO: Date 2024-12-12
[2025-01-07 00:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191138') start
[2025-01-07 00:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:11:03] Production.INFO: Date 2024-12-13
[2025-01-07 00:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:11:03] Production.INFO: Date 2024-12-14
[2025-01-07 00:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:11:03] Production.INFO: ==11897== Lock acquired, processing the job...
[2025-01-07 00:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:11:03] Production.INFO: ==11895== Lock acquired, processing the job...
[2025-01-07 00:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:11:03] Production.INFO: Date 2024-12-15
[2025-01-07 00:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191138') end
[2025-01-07 00:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:11:03] Production.INFO: 1
[2025-01-07 00:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:11:03] Production.INFO: Date 2024-12-16
[2025-01-07 00:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:11:03] Production.INFO: Date 2024-12-17
[2025-01-07 00:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:11:03] Production.INFO: ==11903== Releasing lock...
[2025-01-07 00:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:11:03] Production.INFO: ==11901== Lock acquired, processing the job...
[2025-01-07 00:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:11:03] Production.INFO: Date 2024-12-18
[2025-01-07 00:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:11:03] Production.INFO: Date 2024-12-19
[2025-01-07 00:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:11:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:11:04] Production.INFO: ==11895== Releasing lock...
[2025-01-07 00:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:11:04] Production.ERROR: done
[2025-01-07 00:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:11:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:11:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:11:04] Production.ERROR: done
[2025-01-07 00:11:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:11:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:11:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:11:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:11:04] Production.INFO: Date 2024-12-27
[2025-01-07 00:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:11:04] Production.INFO: Date 2024-12-28
[2025-01-07 00:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:11:05] Production.INFO: Date 2024-12-29
[2025-01-07 00:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:11:05] Production.INFO: Date 2024-12-30
[2025-01-07 00:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:11:05] Production.INFO: Date 2024-12-31
[2025-01-07 00:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:11:05] Production.INFO: Date 2025-01-01
[2025-01-07 00:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:11:05] Production.INFO: Date 2025-01-02
[2025-01-07 00:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:11:05] Production.INFO: Date 2025-01-03
[2025-01-07 00:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:11:05] Production.INFO: Date 2025-01-04
[2025-01-07 00:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:11:05] Production.INFO: Date 2025-01-05
[2025-01-07 00:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:11:05] Production.INFO: Date 2025-01-06
[2025-01-07 00:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:11:05] Production.INFO: Date 2025-01-07
[2025-01-07 00:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:11:05] Production.INFO: Total Charge 0
[2025-01-07 00:11:05] Production.INFO: CreateAllLog End
[2025-01-07 00:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:11:05
[end_date_ymd] => 2025-01-07 00:11:05
[RateCDR] => 1
)
[2025-01-07 00:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 21:11:05' and `end` < '2025-01-07 00:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 00:11:05] Production.INFO: Account Balance End.
[2025-01-07 00:11:05] Production.ERROR: CronJobId end 12
[2025-01-07 00:11:05] Production.INFO: ==11899== Releasing lock...
[2025-01-07 00:11:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:11:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:11:11] Production.ERROR: CronJobId end10
[2025-01-07 00:11:11] Production.INFO: ==11897== Releasing lock...
[2025-01-07 00:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:11:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:11:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:11:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:11:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:11:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:11:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:11:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:11:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:11:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:11:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:11:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:11:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:11:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:11:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:11:13] Production.INFO: call_cost start
[2025-01-07 00:11:13] Production.INFO: call_cost end
[2025-01-07 00:11:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:11:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:11:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:11:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:11:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:11:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:11:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:11:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:11:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:11:13] Production.INFO: ==11893== Releasing lock...
[2025-01-07 00:11:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:11:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:11:18] Production.INFO: count ==149
[2025-01-07 00:11:18] Production.ERROR: pbx CDR StartTime 2025-01-06 21:11:05 - End Time 2025-01-07 00:11:05
[2025-01-07 00:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191140', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191140', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191140', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191140', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:11:18] Production.INFO: ProcessCDR(1,14191140,1,1,2)
[2025-01-07 00:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191140,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191140,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191140,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191140,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191140', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191140', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:11:21] Production.INFO: ==11901== Releasing lock...
[2025-01-07 00:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:11:21] Production.INFO: 29.75 MB #Memory Used#
[2025-01-07 05:12:01] Production.INFO: ==11968== Lock acquired, processing the job...
[2025-01-07 05:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:12:01] Production.INFO: neon service started
[2025-01-07 05:12:01] Production.INFO: neon service started
[2025-01-07 05:12:01] Production.INFO: ==11968== Releasing lock...
[2025-01-07 05:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:12:01] Production.INFO: ==11970== Lock acquired, processing the job...
[2025-01-07 00:12:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:12:02] Production.INFO: ==11972== Lock acquired, processing the job...
[2025-01-07 05:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:12:02] Production.INFO: ==11970== Releasing lock...
[2025-01-07 00:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:12:02] Production.INFO: ==11972== Releasing lock...
[2025-01-07 05:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:12:02] Production.INFO: ==11979== Lock acquired, processing the job...
[2025-01-07 00:12:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:12:02] Production.INFO: ==11975== Lock acquired, processing the job...
[2025-01-07 00:12:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:12:03] Production.INFO: ==11983== Lock acquired, processing the job...
[2025-01-07 00:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:12:03] Production.INFO: ==11977== Lock acquired, processing the job...
[2025-01-07 00:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:12:03] Production.INFO: ==11981== Lock acquired, processing the job...
[2025-01-07 00:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:12:03] Production.INFO: ==11985== Lock acquired, processing the job...
[2025-01-07 00:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:12:03] Production.INFO: Account Balance Start.
[2025-01-07 00:12:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:12:03] Production.INFO: 117
[2025-01-07 00:12:03] Production.INFO: Date 2024-12-08
[2025-01-07 00:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:12:03] Production.INFO: Date 2024-12-09
[2025-01-07 00:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:12:03] Production.INFO: count ==21
[2025-01-07 00:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:12:03] Production.INFO: count ==21
[2025-01-07 00:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191144') start
[2025-01-07 00:12:03] Production.INFO: Date 2024-12-10
[2025-01-07 00:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:12:03] Production.INFO: ==11977== Releasing lock...
[2025-01-07 00:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191144') end
[2025-01-07 00:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:12:03] Production.INFO: 1
[2025-01-07 00:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:12:03] Production.ERROR: done
[2025-01-07 00:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:12:03] Production.INFO: Date 2024-12-11
[2025-01-07 00:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:12:03] Production.INFO: Date 2024-12-12
[2025-01-07 00:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:12:03] Production.INFO: ==11985== Releasing lock...
[2025-01-07 00:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:12:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:12:03] Production.ERROR: done
[2025-01-07 00:12:03] Production.INFO: Date 2024-12-13
[2025-01-07 00:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:12:03] Production.INFO: Date 2024-12-14
[2025-01-07 00:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:12:03] Production.INFO: Date 2024-12-15
[2025-01-07 00:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:12:03] Production.INFO: Date 2024-12-16
[2025-01-07 00:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:12:03] Production.INFO: Date 2024-12-17
[2025-01-07 00:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:12:04] Production.INFO: Date 2024-12-18
[2025-01-07 00:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:12:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:12:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:12:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:12:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:12:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:12:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:12:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:12:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:12:04] Production.INFO: Date 2024-12-27
[2025-01-07 00:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:12:04] Production.INFO: Date 2024-12-28
[2025-01-07 00:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:12:04] Production.INFO: Date 2024-12-29
[2025-01-07 00:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:12:04] Production.INFO: Date 2024-12-30
[2025-01-07 00:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:12:04] Production.INFO: Date 2024-12-31
[2025-01-07 00:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:12:04] Production.INFO: Date 2025-01-01
[2025-01-07 00:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:12:04] Production.INFO: Date 2025-01-02
[2025-01-07 00:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:12:04] Production.INFO: Date 2025-01-03
[2025-01-07 00:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:12:04] Production.INFO: Date 2025-01-04
[2025-01-07 00:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:12:04] Production.INFO: Date 2025-01-05
[2025-01-07 00:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:12:04] Production.INFO: Date 2025-01-06
[2025-01-07 00:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:12:04] Production.INFO: Date 2025-01-07
[2025-01-07 00:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:12:04] Production.INFO: Total Charge 0
[2025-01-07 00:12:04] Production.INFO: CreateAllLog End
[2025-01-07 00:12:05] Production.INFO: Account Balance End.
[2025-01-07 00:12:05] Production.ERROR: CronJobId end 12
[2025-01-07 00:12:05] Production.INFO: ==11981== Releasing lock...
[2025-01-07 00:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:12:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:12:05
[end_date_ymd] => 2025-01-07 00:12:05
[RateCDR] => 1
)
[2025-01-07 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-06 21:12:05' and `end` < '2025-01-07 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-07 00:12:11] Production.ERROR: CronJobId end10
[2025-01-07 00:12:11] Production.INFO: ==11979== Releasing lock...
[2025-01-07 00:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:12:13] Production.INFO: call_cost start
[2025-01-07 00:12:13] Production.INFO: call_cost end
[2025-01-07 00:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:12:14] Production.INFO: ==11975== Releasing lock...
[2025-01-07 00:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:12:17] Production.INFO: count ==149
[2025-01-07 00:12:18] Production.ERROR: pbx CDR StartTime 2025-01-06 21:12:05 - End Time 2025-01-07 00:12:05
[2025-01-07 00:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191145', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191145', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191145', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191145', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:12:18] Production.INFO: ProcessCDR(1,14191145,1,1,2)
[2025-01-07 00:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191145,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:12:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191145,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:12:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191145,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191145,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191145', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191145', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:12:21] Production.INFO: ==11983== Releasing lock...
[2025-01-07 00:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:12:21] Production.INFO: 29.75 MB #Memory Used#
[2025-01-07 05:13:01] Production.INFO: ==12045== Lock acquired, processing the job...
[2025-01-07 05:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:13:01] Production.INFO: neon service started
[2025-01-07 05:13:01] Production.INFO: neon service started
[2025-01-07 05:13:01] Production.INFO: ==12045== Releasing lock...
[2025-01-07 05:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:13:02] Production.INFO: ==12047== Lock acquired, processing the job...
[2025-01-07 00:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:13:02] Production.INFO: ==12049== Lock acquired, processing the job...
[2025-01-07 05:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:13:02] Production.INFO: ==12047== Releasing lock...
[2025-01-07 00:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:13:02] Production.INFO: ==12049== Releasing lock...
[2025-01-07 05:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:13:03] Production.INFO: ==12053== Lock acquired, processing the job...
[2025-01-07 00:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:13:03] Production.INFO: ==12061== Lock acquired, processing the job...
[2025-01-07 00:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:13:03] Production.INFO: ==12051== Lock acquired, processing the job...
[2025-01-07 00:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:13:03] Production.INFO: ==12055== Lock acquired, processing the job...
[2025-01-07 00:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 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-07 00:13:03] Production.INFO: ==12059== Lock acquired, processing the job...
[2025-01-07 00:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:13:03] Production.INFO: ==12057== Lock acquired, processing the job...
[2025-01-07 00:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:13:03] Production.INFO: count ==21
[2025-01-07 00:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 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-07 00:13:03] Production.INFO: count ==21
[2025-01-07 00:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191147') start
[2025-01-07 00:13:03] Production.INFO: ==12053== Releasing lock...
[2025-01-07 00:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:13:03] Production.INFO: Account Balance Start.
[2025-01-07 00:13:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:13:03] Production.INFO: 117
[2025-01-07 00:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:13:03] Production.INFO: Date 2024-12-08
[2025-01-07 00:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191147') end
[2025-01-07 00:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:13:03] Production.INFO: 1
[2025-01-07 00:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:13:03] Production.ERROR: done
[2025-01-07 00:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:13:03] Production.INFO: Date 2024-12-09
[2025-01-07 00:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:13:03] Production.INFO: Date 2024-12-10
[2025-01-07 00:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:13:03] Production.INFO: ==12061== Releasing lock...
[2025-01-07 00:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:13:04] Production.ERROR: done
[2025-01-07 00:13:04] Production.INFO: Date 2024-12-11
[2025-01-07 00:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:13:04] Production.INFO: Date 2024-12-12
[2025-01-07 00:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:13:04] Production.INFO: Date 2024-12-13
[2025-01-07 00:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:13:04] Production.INFO: Date 2024-12-14
[2025-01-07 00:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:13:04] Production.INFO: Date 2024-12-15
[2025-01-07 00:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:13:04] Production.INFO: Date 2024-12-16
[2025-01-07 00:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:13:04] Production.INFO: Date 2024-12-17
[2025-01-07 00:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:13:04] Production.INFO: Date 2024-12-18
[2025-01-07 00:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:13:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:13:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:13:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:13:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:13:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:13:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:13:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:13:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:13:04] Production.INFO: Date 2024-12-27
[2025-01-07 00:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:13:04] Production.INFO: Date 2024-12-28
[2025-01-07 00:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:13:04] Production.INFO: Date 2024-12-29
[2025-01-07 00:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:13:04] Production.INFO: Date 2024-12-30
[2025-01-07 00:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:13:04] Production.INFO: Date 2024-12-31
[2025-01-07 00:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:13:04] Production.INFO: Date 2025-01-01
[2025-01-07 00:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:13:04] Production.INFO: Date 2025-01-02
[2025-01-07 00:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:13:04] Production.INFO: Date 2025-01-03
[2025-01-07 00:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:13:04] Production.INFO: Date 2025-01-04
[2025-01-07 00:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:13:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:13:04
[end_date_ymd] => 2025-01-07 00:13:04
[RateCDR] => 1
)
[2025-01-07 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-06 21:13:04' and `end` < '2025-01-07 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-07 00:13:04] Production.INFO: Date 2025-01-05
[2025-01-07 00:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:13:05] Production.INFO: Date 2025-01-06
[2025-01-07 00:13:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:13:05] Production.INFO: Date 2025-01-07
[2025-01-07 00:13:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:13:05] Production.INFO: Total Charge 0
[2025-01-07 00:13:05] Production.INFO: CreateAllLog End
[2025-01-07 00:13:05] Production.INFO: Account Balance End.
[2025-01-07 00:13:05] Production.ERROR: CronJobId end 12
[2025-01-07 00:13:05] Production.INFO: ==12057== Releasing lock...
[2025-01-07 00:13:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:13:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:13:11] Production.ERROR: CronJobId end10
[2025-01-07 00:13:11] Production.INFO: ==12055== Releasing lock...
[2025-01-07 00:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:13:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:13:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:13:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:13:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:13:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:13:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:13:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:13:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:13:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:13:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:13:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:13:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:13:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:13:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:13:13] Production.INFO: call_cost start
[2025-01-07 00:13:13] Production.INFO: call_cost end
[2025-01-07 00:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:13:14] Production.INFO: ==12051== Releasing lock...
[2025-01-07 00:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:13:17] Production.INFO: count ==149
[2025-01-07 00:13:17] Production.ERROR: pbx CDR StartTime 2025-01-06 21:13:04 - End Time 2025-01-07 00:13:04
[2025-01-07 00:13:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191150', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191150', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191150', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191150', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:13:17] Production.INFO: ProcessCDR(1,14191150,1,1,2)
[2025-01-07 00:13:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191150,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:13:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191150,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:13:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191150,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:13:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191150,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191150', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191150', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:13:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:13:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:13:20] Production.INFO: ==12059== Releasing lock...
[2025-01-07 00:13:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:13:20] Production.INFO: 29.75 MB #Memory Used#
[2025-01-07 05:14:02] Production.INFO: ==12121== Lock acquired, processing the job...
[2025-01-07 05:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:14:02] Production.INFO: neon service started
[2025-01-07 05:14:02] Production.INFO: neon service started
[2025-01-07 05:14:02] Production.INFO: ==12121== Releasing lock...
[2025-01-07 05:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:14:02] Production.INFO: ==12123== Lock acquired, processing the job...
[2025-01-07 00:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:14:02] Production.INFO: ==12125== Lock acquired, processing the job...
[2025-01-07 05:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:14:02] Production.INFO: ==12125== Releasing lock...
[2025-01-07 05:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:14:03] Production.INFO: ==12123== Releasing lock...
[2025-01-07 00:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:14:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:14:04] Production.INFO: ==12128== Lock acquired, processing the job...
[2025-01-07 00:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:14:04] Production.INFO: ==12130== Lock acquired, processing the job...
[2025-01-07 00:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:14:04] Production.INFO: ==12132== Lock acquired, processing the job...
[2025-01-07 00:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:14:04] Production.INFO: ==12136== Lock acquired, processing the job...
[2025-01-07 00:14:04] Production.INFO: xeropaymentimport-command-xeropaymentimport-companyid-1-cronjobid-14 #Starts#
[2025-01-07 00:14:04] Production.INFO: ==12138== Lock acquired, processing the job...
[2025-01-07 00:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:14:04] Production.INFO: ==12134== Lock acquired, processing the job...
[2025-01-07 00:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:14:04] Production.INFO: -- Xero Api Check --
[2025-01-07 00:14:04] Production.INFO: ==12140== Lock acquired, processing the job...
[2025-01-07 00:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:14:04] Production.INFO: Account Balance Start.
[2025-01-07 00:14:04] Production.INFO: CreateAllLog Start
[2025-01-07 00:14:04] Production.INFO: 117
[2025-01-07 00:14:04] Production.INFO: Date 2024-12-08
[2025-01-07 00:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:14:04] Production.INFO: Date 2024-12-09
[2025-01-07 00:14:04] Production.INFO: ==12130== Releasing lock...
[2025-01-07 00:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 00:14:04] Production.INFO: Date 2024-12-10
[2025-01-07 00:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:14:04] Production.INFO: count ==21
[2025-01-07 00:14:04] Production.ERROR: done
[2025-01-07 00:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 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-07 00:14:04] Production.INFO: count ==21
[2025-01-07 00:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191154') start
[2025-01-07 00:14:04] Production.INFO: Date 2024-12-11
[2025-01-07 00:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:14:04] Production.INFO: Date 2024-12-12
[2025-01-07 00:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:14:04] Production.ERROR: done
[2025-01-07 00:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191154') end
[2025-01-07 00:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:14:04] Production.INFO: 1
[2025-01-07 00:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:14:04] Production.INFO: ==12140== Releasing lock...
[2025-01-07 00:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:14:04] Production.INFO: Date 2024-12-13
[2025-01-07 00:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:14:05] Production.INFO: Date 2024-12-14
[2025-01-07 00:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:14:05] Production.INFO: Date 2024-12-15
[2025-01-07 00:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:14:05] Production.INFO: Date 2024-12-16
[2025-01-07 00:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:14:05] Production.INFO: Date 2024-12-17
[2025-01-07 00:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:14:05] Production.INFO: Date 2024-12-18
[2025-01-07 00:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:14:05] Production.INFO: Date 2024-12-19
[2025-01-07 00:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:14:05] Production.INFO: Date 2024-12-20
[2025-01-07 00:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:14:05] Production.INFO: Date 2024-12-21
[2025-01-07 00:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:14:05] Production.INFO: Date 2024-12-22
[2025-01-07 00:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:14:05] Production.INFO: Date 2024-12-23
[2025-01-07 00:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:14:05] Production.INFO: Date 2024-12-24
[2025-01-07 00:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:14:05] Production.INFO: Date 2024-12-25
[2025-01-07 00:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:14:05] Production.INFO: Date 2024-12-26
[2025-01-07 00:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:14:05] Production.INFO: Date 2024-12-27
[2025-01-07 00:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:14:05] Production.INFO: Date 2024-12-28
[2025-01-07 00:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:14:05] Production.INFO: Date 2024-12-29
[2025-01-07 00:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:14:05] Production.INFO: Date 2024-12-30
[2025-01-07 00:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:14:05] Production.INFO: Date 2024-12-31
[2025-01-07 00:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:14:05] Production.INFO: Date 2025-01-01
[2025-01-07 00:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:14:05] Production.INFO: Date 2025-01-02
[2025-01-07 00:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:14:05] Production.INFO: Date 2025-01-03
[2025-01-07 00:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:14:05] Production.INFO: Date 2025-01-04
[2025-01-07 00:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:14:05] Production.INFO: Date 2025-01-05
[2025-01-07 00:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:14:05] Production.INFO: Date 2025-01-06
[2025-01-07 00:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:14:05] Production.INFO: Date 2025-01-07
[2025-01-07 00:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:14:05] Production.INFO: Total Charge 0
[2025-01-07 00:14:05] Production.INFO: CreateAllLog End
[2025-01-07 00:14:05] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 856
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 1.548256
[namelookup_time] => 0.535971
[connect_time] => 0.625308
[pretransfer_time] => 1.091299
[size_upload] => 82
[size_download] => 2755
[speed_download] => 1779
[speed_upload] => 52
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 1.548169
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 2.22.251.19
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 34266
)
[2025-01-07 00:14:05] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyMjY4NDUsImV4cCI6MTczNjIyNzE0NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjI2ODQ1LCJhdF9oYXNoIjoiaXZtbTg2UHBMWWVFSVJvWVo4U3d2USIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.UqxMkuNxL9TT-70pu6SQxqUsbfVIYF4qdB075i-UdsNqwOrfyrTzszdrRWnLuptSqqsAapVJwVojyL1IbbNOR0_CC5lanhhATeFEGrVskTkj09Ug6MtXPRdhfgvStwj3OXmajVkBX789xCB-E5PwiyfOeKEWT54oue53PrT4InFCt-_YHaxvuyMglzOLJsRQ6uQMDhR5ONPz0e2PsCIKw1ar8jUh5_sXXl00PX6_eVmUR7A8FjpsFvDznubUdSvlzmqiRCXSLB8cdYlsXjoOpHEHRUkW1-mzmsSx8X1bJMLD0x87JSaF4XcUwdSb2WJYEpslTv8qNQ7Y3djnesgM2w
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyMjY4NDUsImV4cCI6MTczNjIyODY0NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.JQLnsgTakpGflSReaC0XFSip0t5g-jjfAP6SvWhEplzJbQbXFNRHpE60bXaz3sqjy9wXlt2KcBdaVeuyWLcHDQMORfvSBixdGvQ3VxwdrxBQR064FHwVv5rDBssDJlpgflUWMDtn8LE96xSHEZLgkkmGY4fnWBgqI0Tu5i-qrytn1A3m186j3njI3bWYlCgPHQjLBLRRg6T-2kjyYkWbNgondFzA1SH4S8YuNgVhdfb5fzCAP1DvyWHxf_pa_zj_XH9qCwD8X2vIwsM7kjl9ZJRKOTxl55PUucBdK4nYRIvykL1rHFzLK6srhc0jQSF61chURd-TKYMpXyZiqnIVZA
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => pBQsKhiuVCiA0dZ51lMSaj34NK2NNaCAA2bdICuDHsI
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 00:14:05] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyMjY4NDUsImV4cCI6MTczNjIyNzE0NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjI2ODQ1LCJhdF9oYXNoIjoiaXZtbTg2UHBMWWVFSVJvWVo4U3d2USIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.UqxMkuNxL9TT-70pu6SQxqUsbfVIYF4qdB075i-UdsNqwOrfyrTzszdrRWnLuptSqqsAapVJwVojyL1IbbNOR0_CC5lanhhATeFEGrVskTkj09Ug6MtXPRdhfgvStwj3OXmajVkBX789xCB-E5PwiyfOeKEWT54oue53PrT4InFCt-_YHaxvuyMglzOLJsRQ6uQMDhR5ONPz0e2PsCIKw1ar8jUh5_sXXl00PX6_eVmUR7A8FjpsFvDznubUdSvlzmqiRCXSLB8cdYlsXjoOpHEHRUkW1-mzmsSx8X1bJMLD0x87JSaF4XcUwdSb2WJYEpslTv8qNQ7Y3djnesgM2w
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyMjY4NDUsImV4cCI6MTczNjIyODY0NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.JQLnsgTakpGflSReaC0XFSip0t5g-jjfAP6SvWhEplzJbQbXFNRHpE60bXaz3sqjy9wXlt2KcBdaVeuyWLcHDQMORfvSBixdGvQ3VxwdrxBQR064FHwVv5rDBssDJlpgflUWMDtn8LE96xSHEZLgkkmGY4fnWBgqI0Tu5i-qrytn1A3m186j3njI3bWYlCgPHQjLBLRRg6T-2kjyYkWbNgondFzA1SH4S8YuNgVhdfb5fzCAP1DvyWHxf_pa_zj_XH9qCwD8X2vIwsM7kjl9ZJRKOTxl55PUucBdK4nYRIvykL1rHFzLK6srhc0jQSF61chURd-TKYMpXyZiqnIVZA
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => pBQsKhiuVCiA0dZ51lMSaj34NK2NNaCAA2bdICuDHsI
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 00:14:05] Production.ERROR: Invoice Payment Date 2025-01-06 00:00:00
[2025-01-07 00:14:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Payments?where=Date>=DateTime(2025,01,06)
[2025-01-07 00:14:06] Production.INFO: Account Balance End.
[2025-01-07 00:14:06] Production.ERROR: CronJobId end 12
[2025-01-07 00:14:06] Production.INFO: ==12134== Releasing lock...
[2025-01-07 00:14:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:14:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:14:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:14:06
[end_date_ymd] => 2025-01-07 00:14:06
[RateCDR] => 1
)
[2025-01-07 00:14:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 21:14:06' and `end` < '2025-01-07 00:14:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 00:14:08] Production.INFO: Batch insert start
[2025-01-07 00:14:08] Production.INFO: global counter1
[2025-01-07 00:14:08] Production.INFO: insertion start
[2025-01-07 00:14:08] Production.INFO: last batch insert 1
[2025-01-07 00:14:08] Production.INFO: insertion end
[2025-01-07 00:14:08] Production.INFO: CALL prc_importPaymentAccounting ('3785b5d0-ccb6-11ef-af07-11642dc2b3c0') start
[2025-01-07 00:14:08] Production.INFO: CALL prc_importPaymentAccounting ('3785b5d0-ccb6-11ef-af07-11642dc2b3c0') end
[2025-01-07 00:14:08] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
1 =>
array (
'Message' => ' Invalid InvoiceNumber : Expenses - 18 May 2018',
),
)
[2025-01-07 00:14:08] Production.INFO: 2
[2025-01-07 00:14:08] Production.ERROR: CronJobId end14
[2025-01-07 00:14:08] Production.INFO: ==12136== Releasing lock...
[2025-01-07 00:14:08] Production.INFO: xeropaymentimport-command-xeropaymentimport-companyid-1-cronjobid-14 #Stops#
[2025-01-07 00:14:08] Production.INFO: 26 MB #Memory Used#
[2025-01-07 00:14:12] Production.ERROR: CronJobId end10
[2025-01-07 00:14:12] Production.INFO: ==12132== Releasing lock...
[2025-01-07 00:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:14:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:14:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:14:14] Production.INFO: call_cost start
[2025-01-07 00:14:14] Production.INFO: call_cost end
[2025-01-07 00:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:14:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:14:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:14:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:14:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:14:15] Production.INFO: ==12128== Releasing lock...
[2025-01-07 00:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:14:18] Production.INFO: count ==149
[2025-01-07 00:14:19] Production.ERROR: pbx CDR StartTime 2025-01-06 21:14:06 - End Time 2025-01-07 00:14:06
[2025-01-07 00:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191155', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191155', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191155', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191155', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:14:19] Production.INFO: ProcessCDR(1,14191155,1,1,2)
[2025-01-07 00:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191155,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191155,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191155,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191155,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191155', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191155', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:14:22] Production.INFO: ==12138== Releasing lock...
[2025-01-07 00:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:14:22] Production.INFO: 29.75 MB #Memory Used#
[2025-01-07 05:15:01] Production.INFO: ==12204== Lock acquired, processing the job...
[2025-01-07 05:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:15:01] Production.INFO: neon service started
[2025-01-07 05:15:01] Production.INFO: neon service started
[2025-01-07 05:15:01] Production.INFO: ==12204== Releasing lock...
[2025-01-07 05:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:15:01] Production.INFO: ==12206== Lock acquired, processing the job...
[2025-01-07 00:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:15:02] Production.INFO: ==12206== Releasing lock...
[2025-01-07 00:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:15:02] Production.INFO: ==12208== Lock acquired, processing the job...
[2025-01-07 05:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:15:02] Production.INFO: ==12208== Releasing lock...
[2025-01-07 05:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:15:02] Production.INFO: ==12220== Lock acquired, processing the job...
[2025-01-07 00:15:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:15:03] Production.INFO: count ==21
[2025-01-07 00:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:15:03] Production.INFO: count ==21
[2025-01-07 00:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191156') start
[2025-01-07 00:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191156') end
[2025-01-07 00:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:15:03] Production.INFO: 1
[2025-01-07 00:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:15:03] Production.INFO: ==12210== Lock acquired, processing the job...
[2025-01-07 00:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:15:03] Production.INFO: ==12220== Releasing lock...
[2025-01-07 00:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:15:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:15:03] Production.INFO: ==12212== Lock acquired, processing the job...
[2025-01-07 00:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:15:03] Production.INFO: ==12218== Lock acquired, processing the job...
[2025-01-07 00:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:15:03] Production.INFO: ==12214== Lock acquired, processing the job...
[2025-01-07 00:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:15:03] Production.INFO: ==12216== Lock acquired, processing the job...
[2025-01-07 00:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:15:03] Production.INFO: Account Balance Start.
[2025-01-07 00:15:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:15:03] Production.INFO: 117
[2025-01-07 00:15:03] Production.INFO: Date 2024-12-08
[2025-01-07 00:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:15:03] Production.INFO: Date 2024-12-09
[2025-01-07 00:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:15:03] Production.INFO: Date 2024-12-10
[2025-01-07 00:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:15:03] Production.INFO: Date 2024-12-11
[2025-01-07 00:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:15:03] Production.INFO: ==12212== Releasing lock...
[2025-01-07 00:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:15:03] Production.INFO: Date 2024-12-12
[2025-01-07 00:15:03] Production.ERROR: done
[2025-01-07 00:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:15:03] Production.INFO: Date 2024-12-13
[2025-01-07 00:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:15:03] Production.INFO: Date 2024-12-14
[2025-01-07 00:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:15:03] Production.INFO: Date 2024-12-15
[2025-01-07 00:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:15:03] Production.INFO: Date 2024-12-16
[2025-01-07 00:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:15:03] Production.INFO: Date 2024-12-17
[2025-01-07 00:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:15:04] Production.ERROR: done
[2025-01-07 00:15:04] Production.INFO: Date 2024-12-18
[2025-01-07 00:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:15:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:15:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:15:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:15:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:15:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:15:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:15:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:15:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:15:04] Production.INFO: Date 2024-12-27
[2025-01-07 00:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:15:04] Production.INFO: Date 2024-12-28
[2025-01-07 00:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:15:04] Production.INFO: Date 2024-12-29
[2025-01-07 00:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:15:04] Production.INFO: Date 2024-12-30
[2025-01-07 00:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:15:04] Production.INFO: Date 2024-12-31
[2025-01-07 00:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:15:04] Production.INFO: Date 2025-01-01
[2025-01-07 00:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:15:04] Production.INFO: Date 2025-01-02
[2025-01-07 00:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:15:04] Production.INFO: Date 2025-01-03
[2025-01-07 00:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:15:04] Production.INFO: Date 2025-01-04
[2025-01-07 00:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:15:04] Production.INFO: Date 2025-01-05
[2025-01-07 00:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:15:04] Production.INFO: Date 2025-01-06
[2025-01-07 00:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:15:04] Production.INFO: Date 2025-01-07
[2025-01-07 00:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:15:04] Production.INFO: Total Charge 0
[2025-01-07 00:15:04] Production.INFO: CreateAllLog End
[2025-01-07 00:15:04] Production.INFO: Account Balance End.
[2025-01-07 00:15:04] Production.ERROR: CronJobId end 12
[2025-01-07 00:15:04] Production.INFO: ==12216== Releasing lock...
[2025-01-07 00:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:15:05
[end_date_ymd] => 2025-01-07 00:15:05
[RateCDR] => 1
)
[2025-01-07 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-06 21:15:05' and `end` < '2025-01-07 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-07 00:15:12] Production.ERROR: CronJobId end10
[2025-01-07 00:15:12] Production.INFO: ==12214== Releasing lock...
[2025-01-07 00:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:15:14] Production.INFO: call_cost start
[2025-01-07 00:15:14] Production.INFO: call_cost end
[2025-01-07 00:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:15:14] Production.INFO: ==12210== Releasing lock...
[2025-01-07 00:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:15:18] Production.INFO: count ==149
[2025-01-07 00:15:18] Production.ERROR: pbx CDR StartTime 2025-01-06 21:15:05 - End Time 2025-01-07 00:15:05
[2025-01-07 00:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191160', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191160', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191160', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191160', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:15:18] Production.INFO: ProcessCDR(1,14191160,1,1,2)
[2025-01-07 00:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191160,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191160,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191160,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191160,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191160', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191160', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:15:21] Production.INFO: ==12218== Releasing lock...
[2025-01-07 00:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:15:21] Production.INFO: 29.75 MB #Memory Used#
[2025-01-07 05:16:02] Production.INFO: ==12279== Lock acquired, processing the job...
[2025-01-07 05:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:16:02] Production.INFO: neon service started
[2025-01-07 05:16:02] Production.INFO: neon service started
[2025-01-07 05:16:02] Production.INFO: ==12279== Releasing lock...
[2025-01-07 05:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:16:02] Production.INFO: ==12284== Lock acquired, processing the job...
[2025-01-07 05:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:16:02] Production.INFO: ==12284== Releasing lock...
[2025-01-07 05:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:16:02] Production.INFO: ==12282== Lock acquired, processing the job...
[2025-01-07 00:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:16:02] Production.INFO: ==12282== Releasing lock...
[2025-01-07 00:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:16:03] Production.INFO: ==12288== Lock acquired, processing the job...
[2025-01-07 00:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:16:03] Production.INFO: ==12286== Lock acquired, processing the job...
[2025-01-07 00:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:16:03] Production.INFO: ==12294== Lock acquired, processing the job...
[2025-01-07 00:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:16:03] Production.INFO: ==12288== Releasing lock...
[2025-01-07 00:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:16:03] Production.INFO: ==12290== Lock acquired, processing the job...
[2025-01-07 00:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:16:03] Production.INFO: ==12296== Lock acquired, processing the job...
[2025-01-07 00:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:16:03] Production.INFO: ==12292== Lock acquired, processing the job...
[2025-01-07 00:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:16:04] Production.INFO: Account Balance Start.
[2025-01-07 00:16:04] Production.INFO: CreateAllLog Start
[2025-01-07 00:16:04] Production.INFO: 117
[2025-01-07 00:16:04] Production.INFO: count ==21
[2025-01-07 00:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:16:04] Production.INFO: count ==21
[2025-01-07 00:16:04] Production.INFO: Date 2024-12-08
[2025-01-07 00:16:04] Production.ERROR: done
[2025-01-07 00:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191163') start
[2025-01-07 00:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:16:04] Production.INFO: Date 2024-12-09
[2025-01-07 00:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191163') end
[2025-01-07 00:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:16:04] Production.INFO: 1
[2025-01-07 00:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:16:04] Production.ERROR: done
[2025-01-07 00:16:04] Production.INFO: Date 2024-12-10
[2025-01-07 00:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:16:04] Production.INFO: ==12296== Releasing lock...
[2025-01-07 00:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:16:04] Production.INFO: Date 2024-12-11
[2025-01-07 00:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:16:04] Production.INFO: Date 2024-12-12
[2025-01-07 00:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:16:04] Production.INFO: Date 2024-12-13
[2025-01-07 00:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:16:04] Production.INFO: Date 2024-12-14
[2025-01-07 00:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:16:04] Production.INFO: Date 2024-12-15
[2025-01-07 00:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:16:04] Production.INFO: Date 2024-12-16
[2025-01-07 00:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:16:04] Production.INFO: Date 2024-12-17
[2025-01-07 00:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:16:04] Production.INFO: Date 2024-12-18
[2025-01-07 00:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:16:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:16:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:16:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:16:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:16:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:16:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:16:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:16:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:16:04] Production.INFO: Date 2024-12-27
[2025-01-07 00:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:16:04] Production.INFO: Date 2024-12-28
[2025-01-07 00:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:16:04] Production.INFO: Date 2024-12-29
[2025-01-07 00:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:16:04] Production.INFO: Date 2024-12-30
[2025-01-07 00:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:16:05] Production.INFO: Date 2024-12-31
[2025-01-07 00:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:16:05] Production.INFO: Date 2025-01-01
[2025-01-07 00:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:16:05] Production.INFO: Date 2025-01-02
[2025-01-07 00:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:16:05] Production.INFO: Date 2025-01-03
[2025-01-07 00:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:16:05] Production.INFO: Date 2025-01-04
[2025-01-07 00:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:16:05] Production.INFO: Date 2025-01-05
[2025-01-07 00:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:16:05] Production.INFO: Date 2025-01-06
[2025-01-07 00:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:16:05] Production.INFO: Date 2025-01-07
[2025-01-07 00:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:16:05] Production.INFO: Total Charge 0
[2025-01-07 00:16:05] Production.INFO: CreateAllLog End
[2025-01-07 00:16:05] Production.INFO: Account Balance End.
[2025-01-07 00:16:05] Production.ERROR: CronJobId end 12
[2025-01-07 00:16:05] Production.INFO: ==12292== Releasing lock...
[2025-01-07 00:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:16:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:16:05
[end_date_ymd] => 2025-01-07 00:16:05
[RateCDR] => 1
)
[2025-01-07 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-06 21:16:05' and `end` < '2025-01-07 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-07 00:16:10] Production.ERROR: CronJobId end10
[2025-01-07 00:16:10] Production.INFO: ==12290== Releasing lock...
[2025-01-07 00:16:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:16:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:16:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:16:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:16:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:16:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:16:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:16:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:16:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:16:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:16:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:16:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:16:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:16:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:16:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:16:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:16:13] Production.INFO: call_cost start
[2025-01-07 00:16:13] Production.INFO: call_cost end
[2025-01-07 00:16:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:16:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:16:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:16:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:16:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:16:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:16:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:16:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:16:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:16:13] Production.INFO: ==12286== Releasing lock...
[2025-01-07 00:16:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:16:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:16:18] Production.INFO: count ==149
[2025-01-07 00:16:18] Production.ERROR: pbx CDR StartTime 2025-01-06 21:16:05 - End Time 2025-01-07 00:16:05
[2025-01-07 00:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191165', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191165', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191165', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191165', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:16:18] Production.INFO: ProcessCDR(1,14191165,1,1,2)
[2025-01-07 00:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191165,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191165,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191165,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191165,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191165', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191165', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:16:21] Production.INFO: ==12294== Releasing lock...
[2025-01-07 00:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:16:21] Production.INFO: 29.75 MB #Memory Used#
[2025-01-07 05:17:01] Production.INFO: ==12354== Lock acquired, processing the job...
[2025-01-07 05:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:17:01] Production.INFO: neon service started
[2025-01-07 05:17:01] Production.INFO: neon service started
[2025-01-07 05:17:01] Production.INFO: ==12354== Releasing lock...
[2025-01-07 05:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:17:01] Production.INFO: ==12356== Lock acquired, processing the job...
[2025-01-07 00:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:17:02] Production.INFO: ==12358== Lock acquired, processing the job...
[2025-01-07 05:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:17:02] Production.INFO: ==12358== Releasing lock...
[2025-01-07 05:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:17:02] Production.INFO: ==12356== Releasing lock...
[2025-01-07 00:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:17:03] Production.INFO: ==12362== Lock acquired, processing the job...
[2025-01-07 00:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:17:03] Production.INFO: ==12365== Lock acquired, processing the job...
[2025-01-07 00:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:17:03] Production.INFO: ==12369== Lock acquired, processing the job...
[2025-01-07 00:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:17:03] Production.INFO: ==12360== Lock acquired, processing the job...
[2025-01-07 00:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:17:03] Production.INFO: ==12367== Lock acquired, processing the job...
[2025-01-07 00:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:17:03] Production.INFO: ==12371== Lock acquired, processing the job...
[2025-01-07 00:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:17:03] Production.INFO: Account Balance Start.
[2025-01-07 00:17:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:17:03] Production.INFO: 117
[2025-01-07 00:17:03] Production.INFO: Date 2024-12-08
[2025-01-07 00:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:17:03] Production.INFO: ==12362== Releasing lock...
[2025-01-07 00:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:17:03] Production.ERROR: done
[2025-01-07 00:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:17:03] Production.INFO: Date 2024-12-09
[2025-01-07 00:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:17:03] Production.INFO: Date 2024-12-10
[2025-01-07 00:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:17:03] Production.INFO: count ==21
[2025-01-07 00:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:17:03] Production.INFO: Date 2024-12-11
[2025-01-07 00:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:17:03] Production.INFO: count ==21
[2025-01-07 00:17:03] Production.INFO: Date 2024-12-12
[2025-01-07 00:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191169') start
[2025-01-07 00:17:03] Production.INFO: Date 2024-12-13
[2025-01-07 00:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:17:03] Production.ERROR: done
[2025-01-07 00:17:03] Production.INFO: Date 2024-12-14
[2025-01-07 00:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:17:03] Production.INFO: Date 2024-12-15
[2025-01-07 00:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:17:03] Production.INFO: Date 2024-12-16
[2025-01-07 00:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191169') end
[2025-01-07 00:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:17:03] Production.INFO: 1
[2025-01-07 00:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:17:03] Production.INFO: ==12371== Releasing lock...
[2025-01-07 00:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:17:03] Production.INFO: Date 2024-12-17
[2025-01-07 00:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:17:03] Production.INFO: Date 2024-12-18
[2025-01-07 00:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:17:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:17:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:17:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:17:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:17:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:17:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:17:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:17:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:17:04] Production.INFO: Date 2024-12-27
[2025-01-07 00:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:17:04] Production.INFO: Date 2024-12-28
[2025-01-07 00:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:17:04] Production.INFO: Date 2024-12-29
[2025-01-07 00:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:17:04] Production.INFO: Date 2024-12-30
[2025-01-07 00:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:17:04] Production.INFO: Date 2024-12-31
[2025-01-07 00:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:17:04] Production.INFO: Date 2025-01-01
[2025-01-07 00:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:17:04] Production.INFO: Date 2025-01-02
[2025-01-07 00:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:17:04] Production.INFO: Date 2025-01-03
[2025-01-07 00:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:17:04] Production.INFO: Date 2025-01-04
[2025-01-07 00:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:17:04] Production.INFO: Date 2025-01-05
[2025-01-07 00:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:17:04] Production.INFO: Date 2025-01-06
[2025-01-07 00:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:17:04] Production.INFO: Date 2025-01-07
[2025-01-07 00:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:17:04] Production.INFO: Total Charge 0
[2025-01-07 00:17:04] Production.INFO: CreateAllLog End
[2025-01-07 00:17:04] Production.INFO: Account Balance End.
[2025-01-07 00:17:04] Production.ERROR: CronJobId end 12
[2025-01-07 00:17:04] Production.INFO: ==12367== Releasing lock...
[2025-01-07 00:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:17:05
[end_date_ymd] => 2025-01-07 00:17:05
[RateCDR] => 1
)
[2025-01-07 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-06 21:17:05' and `end` < '2025-01-07 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-07 00:17:11] Production.ERROR: CronJobId end10
[2025-01-07 00:17:11] Production.INFO: ==12365== Releasing lock...
[2025-01-07 00:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:17:14] Production.INFO: call_cost start
[2025-01-07 00:17:14] Production.INFO: call_cost end
[2025-01-07 00:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:17:14] Production.INFO: ==12360== Releasing lock...
[2025-01-07 00:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:17:17] Production.INFO: count ==149
[2025-01-07 00:17:18] Production.ERROR: pbx CDR StartTime 2025-01-06 21:17:05 - End Time 2025-01-07 00:17:05
[2025-01-07 00:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191170', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191170', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191170', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191170', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:17:18] Production.INFO: ProcessCDR(1,14191170,1,1,2)
[2025-01-07 00:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191170,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:17:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191170,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:17:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191170,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191170,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191170', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191170', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:17:21] Production.INFO: ==12369== Releasing lock...
[2025-01-07 00:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:17:21] Production.INFO: 29.75 MB #Memory Used#
[2025-01-07 05:18:01] Production.INFO: ==12440== Lock acquired, processing the job...
[2025-01-07 05:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:18:01] Production.INFO: neon service started
[2025-01-07 05:18:01] Production.INFO: neon service started
[2025-01-07 05:18:01] Production.INFO: ==12440== Releasing lock...
[2025-01-07 05:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:18:02] Production.INFO: ==12442== Lock acquired, processing the job...
[2025-01-07 00:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:18:02] Production.INFO: ==12444== Lock acquired, processing the job...
[2025-01-07 05:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:18:02] Production.INFO: ==12444== Releasing lock...
[2025-01-07 05:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:18:02] Production.INFO: ==12442== Releasing lock...
[2025-01-07 00:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:18:03] Production.INFO: ==12447== Lock acquired, processing the job...
[2025-01-07 00:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:18:03] Production.INFO: ==12449== Lock acquired, processing the job...
[2025-01-07 00:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:18:03] Production.INFO: ==12457== Lock acquired, processing the job...
[2025-01-07 00:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:18:03] Production.INFO: ==12449== Releasing lock...
[2025-01-07 00:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:18:04] Production.INFO: ==12451== Lock acquired, processing the job...
[2025-01-07 00:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:18:04] Production.INFO: count ==21
[2025-01-07 00:18:04] Production.INFO: ==12453== Lock acquired, processing the job...
[2025-01-07 00:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:18:04] Production.INFO: count ==21
[2025-01-07 00:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191173') start
[2025-01-07 00:18:04] Production.INFO: ==12455== Lock acquired, processing the job...
[2025-01-07 00:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191173') end
[2025-01-07 00:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:18:04] Production.INFO: 1
[2025-01-07 00:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:18:04] Production.INFO: ==12457== Releasing lock...
[2025-01-07 00:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:18:04] Production.INFO: Account Balance Start.
[2025-01-07 00:18:04] Production.INFO: CreateAllLog Start
[2025-01-07 00:18:04] Production.INFO: 117
[2025-01-07 00:18:04] Production.INFO: Date 2024-12-08
[2025-01-07 00:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:18:04] Production.INFO: Date 2024-12-09
[2025-01-07 00:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:18:04] Production.INFO: Date 2024-12-10
[2025-01-07 00:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:18:04] Production.INFO: Date 2024-12-11
[2025-01-07 00:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:18:04] Production.INFO: Date 2024-12-12
[2025-01-07 00:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:18:04] Production.INFO: Date 2024-12-13
[2025-01-07 00:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:18:04] Production.INFO: Date 2024-12-14
[2025-01-07 00:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:18:04] Production.ERROR: done
[2025-01-07 00:18:04] Production.INFO: Date 2024-12-15
[2025-01-07 00:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:18:04] Production.INFO: Date 2024-12-16
[2025-01-07 00:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:18:04] Production.INFO: Date 2024-12-17
[2025-01-07 00:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:18:04] Production.INFO: Date 2024-12-18
[2025-01-07 00:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:18:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:18:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:18:04] Production.ERROR: done
[2025-01-07 00:18:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:18:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:18:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:18:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:18:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:18:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:18:05] Production.INFO: Date 2024-12-27
[2025-01-07 00:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:18:05] Production.INFO: Date 2024-12-28
[2025-01-07 00:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:18:05] Production.INFO: Date 2024-12-29
[2025-01-07 00:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:18:05] Production.INFO: Date 2024-12-30
[2025-01-07 00:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:18:05] Production.INFO: Date 2024-12-31
[2025-01-07 00:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:18:05] Production.INFO: Date 2025-01-01
[2025-01-07 00:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:18:05] Production.INFO: Date 2025-01-02
[2025-01-07 00:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:18:05] Production.INFO: Date 2025-01-03
[2025-01-07 00:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:18:05] Production.INFO: Date 2025-01-04
[2025-01-07 00:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:18:05] Production.INFO: Date 2025-01-05
[2025-01-07 00:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:18:05] Production.INFO: Date 2025-01-06
[2025-01-07 00:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:18:05] Production.INFO: Date 2025-01-07
[2025-01-07 00:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:18:05] Production.INFO: Total Charge 0
[2025-01-07 00:18:05] Production.INFO: CreateAllLog End
[2025-01-07 00:18:05] Production.INFO: Account Balance End.
[2025-01-07 00:18:05] Production.ERROR: CronJobId end 12
[2025-01-07 00:18:05] Production.INFO: ==12453== Releasing lock...
[2025-01-07 00:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:18:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:18:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:18:06
[end_date_ymd] => 2025-01-07 00:18:06
[RateCDR] => 1
)
[2025-01-07 00:18:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 21:18:06' and `end` < '2025-01-07 00:18:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 00:18:12] Production.ERROR: CronJobId end10
[2025-01-07 00:18:12] Production.INFO: ==12451== Releasing lock...
[2025-01-07 00:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:18:14] Production.INFO: call_cost start
[2025-01-07 00:18:14] Production.INFO: call_cost end
[2025-01-07 00:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:18:14] Production.INFO: ==12447== Releasing lock...
[2025-01-07 00:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:18:19] Production.INFO: count ==149
[2025-01-07 00:18:19] Production.ERROR: pbx CDR StartTime 2025-01-06 21:18:06 - End Time 2025-01-07 00:18:06
[2025-01-07 00:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191175', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191175', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191175', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191175', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:18:19] Production.INFO: ProcessCDR(1,14191175,1,1,2)
[2025-01-07 00:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191175,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191175,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191175,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191175,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191175', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191175', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:18:22] Production.INFO: ==12455== Releasing lock...
[2025-01-07 00:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:18:22] Production.INFO: 29.75 MB #Memory Used#
[2025-01-07 05:19:02] Production.INFO: ==12512== Lock acquired, processing the job...
[2025-01-07 05:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:19:02] Production.INFO: neon service started
[2025-01-07 05:19:02] Production.INFO: neon service started
[2025-01-07 05:19:02] Production.INFO: ==12512== Releasing lock...
[2025-01-07 05:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:19:02] Production.INFO: ==12514== Lock acquired, processing the job...
[2025-01-07 00:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:19:02] Production.INFO: ==12516== Lock acquired, processing the job...
[2025-01-07 05:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:19:02] Production.INFO: ==12516== Releasing lock...
[2025-01-07 05:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:19:03] Production.INFO: ==12514== Releasing lock...
[2025-01-07 00:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:19:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:19:03] Production.INFO: ==12524== Lock acquired, processing the job...
[2025-01-07 00:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:19:03] Production.INFO: ==12518== Lock acquired, processing the job...
[2025-01-07 00:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:19:03] Production.INFO: ==12520== Lock acquired, processing the job...
[2025-01-07 00:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:19:03] Production.INFO: Account Balance Start.
[2025-01-07 00:19:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:19:03] Production.INFO: 117
[2025-01-07 00:19:03] Production.INFO: ==12526== Lock acquired, processing the job...
[2025-01-07 00:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:19:03] Production.INFO: Date 2024-12-08
[2025-01-07 00:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:19:03] Production.INFO: ==12522== Lock acquired, processing the job...
[2025-01-07 00:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:19:03] Production.INFO: Date 2024-12-09
[2025-01-07 00:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:19:03] Production.INFO: Date 2024-12-10
[2025-01-07 00:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:19:04] Production.INFO: ==12529== Lock acquired, processing the job...
[2025-01-07 00:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:19:04] Production.ERROR: done
[2025-01-07 00:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:19:04] Production.INFO: ==12520== Releasing lock...
[2025-01-07 00:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:19:04] Production.INFO: Date 2024-12-11
[2025-01-07 00:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:19:04] Production.INFO: Date 2024-12-12
[2025-01-07 00:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:19:04] Production.INFO: count ==21
[2025-01-07 00:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:19:04] Production.INFO: count ==21
[2025-01-07 00:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191179') start
[2025-01-07 00:19:04] Production.INFO: Date 2024-12-13
[2025-01-07 00:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:19:04] Production.ERROR: done
[2025-01-07 00:19:04] Production.INFO: Date 2024-12-14
[2025-01-07 00:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:19:04] Production.INFO: Date 2024-12-15
[2025-01-07 00:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:19:04] Production.INFO: Date 2024-12-16
[2025-01-07 00:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:19:04] Production.INFO: Date 2024-12-17
[2025-01-07 00:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191179') end
[2025-01-07 00:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:19:04] Production.INFO: 1
[2025-01-07 00:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:19:04] Production.INFO: Date 2024-12-18
[2025-01-07 00:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:19:04] Production.INFO: ==12529== Releasing lock...
[2025-01-07 00:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:19:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:19:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:19:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:19:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:19:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:19:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:19:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:19:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:19:04] Production.INFO: Date 2024-12-27
[2025-01-07 00:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:19:04] Production.INFO: Date 2024-12-28
[2025-01-07 00:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:19:04] Production.INFO: Date 2024-12-29
[2025-01-07 00:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:19:04] Production.INFO: Date 2024-12-30
[2025-01-07 00:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:19:04] Production.INFO: Date 2024-12-31
[2025-01-07 00:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:19:04] Production.INFO: Date 2025-01-01
[2025-01-07 00:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:19:04] Production.INFO: Date 2025-01-02
[2025-01-07 00:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:19:04] Production.INFO: Date 2025-01-03
[2025-01-07 00:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:19:05] Production.INFO: Date 2025-01-04
[2025-01-07 00:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:19:05] Production.INFO: Date 2025-01-05
[2025-01-07 00:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:19:05] Production.INFO: Date 2025-01-06
[2025-01-07 00:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:19:05] Production.INFO: Date 2025-01-07
[2025-01-07 00:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:19:05] Production.INFO: Total Charge 0
[2025-01-07 00:19:05] Production.INFO: CreateAllLog End
[2025-01-07 00:19:05] Production.INFO: Account Balance End.
[2025-01-07 00:19:05] Production.ERROR: CronJobId end 12
[2025-01-07 00:19:05] Production.INFO: ==12524== Releasing lock...
[2025-01-07 00:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:19:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:19:05
[end_date_ymd] => 2025-01-07 00:19:05
[RateCDR] => 1
)
[2025-01-07 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-06 21:19:05' and `end` < '2025-01-07 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-07 00:19:12] Production.ERROR: CronJobId end10
[2025-01-07 00:19:12] Production.INFO: ==12522== Releasing lock...
[2025-01-07 00:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:19:13] Production.INFO: call_cost start
[2025-01-07 00:19:13] Production.INFO: call_cost end
[2025-01-07 00:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:19:14] Production.INFO: ==12518== Releasing lock...
[2025-01-07 00:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:19:18] Production.INFO: count ==149
[2025-01-07 00:19:18] Production.ERROR: pbx CDR StartTime 2025-01-06 21:19:05 - End Time 2025-01-07 00:19:05
[2025-01-07 00:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191180', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191180', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191180', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191180', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:19:18] Production.INFO: ProcessCDR(1,14191180,1,1,2)
[2025-01-07 00:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191180,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191180,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191180,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191180,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191180', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191180', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:19:21] Production.INFO: ==12526== Releasing lock...
[2025-01-07 00:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:19:21] Production.INFO: 29.75 MB #Memory Used#
[2025-01-07 05:20:01] Production.INFO: ==12583== Lock acquired, processing the job...
[2025-01-07 05:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:20:01] Production.INFO: neon service started
[2025-01-07 05:20:01] Production.INFO: neon service started
[2025-01-07 05:20:01] Production.INFO: ==12583== Releasing lock...
[2025-01-07 05:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:20:02] Production.INFO: ==12585== Lock acquired, processing the job...
[2025-01-07 00:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:20:02] Production.INFO: ==12587== Lock acquired, processing the job...
[2025-01-07 05:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:20:02] Production.INFO: ==12587== Releasing lock...
[2025-01-07 05:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:20:02] Production.INFO: ==12585== Releasing lock...
[2025-01-07 00:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:20:03] Production.INFO: ==12590== Lock acquired, processing the job...
[2025-01-07 00:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 00:20:03] Production.INFO: ==12594== Lock acquired, processing the job...
[2025-01-07 00:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 00:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 00:20:03] Production.INFO: ==12590== Releasing lock...
[2025-01-07 00:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 00:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 00:20:03] Production.INFO: ==12598== Lock acquired, processing the job...
[2025-01-07 00:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:20:03] Production.INFO: ==12592== Lock acquired, processing the job...
[2025-01-07 00:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:20:03] Production.INFO: ==12600== Lock acquired, processing the job...
[2025-01-07 00:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:20:03] Production.INFO: Account Balance Start.
[2025-01-07 00:20:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:20:03] Production.INFO: 117
[2025-01-07 00:20:03] Production.INFO: Date 2024-12-08
[2025-01-07 00:20:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:20:03] Production.INFO: ==12594== Releasing lock...
[2025-01-07 00:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:20:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:20:03] Production.INFO: ==12596== Lock acquired, processing the job...
[2025-01-07 00:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:20:03] Production.INFO: Date 2024-12-09
[2025-01-07 00:20:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:20:03] Production.INFO: Date 2024-12-10
[2025-01-07 00:20:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:20:04] Production.INFO: Date 2024-12-11
[2025-01-07 00:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:20:04] Production.INFO: Date 2024-12-12
[2025-01-07 00:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:20:04] Production.INFO: ==12602== Lock acquired, processing the job...
[2025-01-07 00:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 00:20:04] Production.INFO: Date 2024-12-13
[2025-01-07 00:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:20:04] Production.INFO: ==12604== Lock acquired, processing the job...
[2025-01-07 00:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:20:04] Production.INFO: Date 2024-12-14
[2025-01-07 00:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:20:04] Production.INFO: Date 2024-12-15
[2025-01-07 00:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:20:04] Production.ERROR: done
[2025-01-07 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-07 00:20:04] Production.INFO: Date 2024-12-16
[2025-01-07 00:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:20:04] Production.INFO: Date 2024-12-17
[2025-01-07 00:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:20:04] Production.INFO: count ==21
[2025-01-07 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-07 00:20:04] Production.INFO: count ==21
[2025-01-07 00:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191184') start
[2025-01-07 00:20:04] Production.ERROR: done
[2025-01-07 00:20:04] Production.INFO: Date 2024-12-18
[2025-01-07 00:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:20:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:20:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:20:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191184') end
[2025-01-07 00:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:20:04] Production.INFO: 1
[2025-01-07 00:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:20:04] Production.ERROR: done
[2025-01-07 00:20:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 00:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14191186', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 00:20:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:20:04] Production.INFO: ==12604== Releasing lock...
[2025-01-07 00:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:20:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:20:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:20:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:20:05] Production.INFO: Date 2024-12-27
[2025-01-07 00:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:20:05] Production.INFO: Date 2024-12-28
[2025-01-07 00:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:20:05] Production.INFO: Date 2024-12-29
[2025-01-07 00:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:20:05] Production.INFO: Date 2024-12-30
[2025-01-07 00:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:20:05] Production.INFO: Date 2024-12-31
[2025-01-07 00:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:20:05] Production.INFO: Date 2025-01-01
[2025-01-07 00:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:20:05] Production.INFO: Date 2025-01-02
[2025-01-07 00:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:20:05] Production.INFO: Date 2025-01-03
[2025-01-07 00:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:20:05] Production.INFO: Date 2025-01-04
[2025-01-07 00:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:20:05] Production.INFO: Date 2025-01-05
[2025-01-07 00:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:20:05
[end_date_ymd] => 2025-01-07 00:20:05
[RateCDR] => 1
)
[2025-01-07 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-06 21:20:05' and `end` < '2025-01-07 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-07 00:20:05] Production.INFO: Date 2025-01-06
[2025-01-07 00:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:20:05] Production.INFO: Date 2025-01-07
[2025-01-07 00:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:20:05] Production.INFO: Total Charge 0
[2025-01-07 00:20:05] Production.INFO: CreateAllLog End
[2025-01-07 00:20:05] Production.INFO: Account Balance End.
[2025-01-07 00:20:05] Production.ERROR: CronJobId end 12
[2025-01-07 00:20:05] Production.INFO: ==12598== Releasing lock...
[2025-01-07 00:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14191186', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 00:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 00:20:09] Production.INFO: ProcessCDR(1,14191186,1,1,2)
[2025-01-07 00:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14191186,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14191186,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:20:09] Production.INFO: ==12602== Releasing lock...
[2025-01-07 00:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 00:20:09] Production.INFO: 26 MB #Memory Used#
[2025-01-07 00:20:12] Production.ERROR: CronJobId end10
[2025-01-07 00:20:12] Production.INFO: ==12596== Releasing lock...
[2025-01-07 00:20:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:20:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:20:14] Production.INFO: call_cost start
[2025-01-07 00:20:14] Production.INFO: call_cost end
[2025-01-07 00:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:20:15] Production.INFO: ==12592== Releasing lock...
[2025-01-07 00:20:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:20:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:20:18] Production.INFO: count ==158
[2025-01-07 00:20:18] Production.ERROR: pbx CDR StartTime 2025-01-06 21:20:05 - End Time 2025-01-07 00:20:05
[2025-01-07 00:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191185', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191185', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191185', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191185', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:20:18] Production.INFO: ProcessCDR(1,14191185,1,1,2)
[2025-01-07 00:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191185,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191185,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191185,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:20:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191185,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191185', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191185', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:20:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:20:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:20:21] Production.INFO: ==12600== Releasing lock...
[2025-01-07 00:20:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:20:21] Production.INFO: 29.75 MB #Memory Used#
[2025-01-07 05:21:02] Production.INFO: ==12704== Lock acquired, processing the job...
[2025-01-07 05:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:21:02] Production.INFO: neon service started
[2025-01-07 05:21:02] Production.INFO: neon service started
[2025-01-07 05:21:02] Production.INFO: ==12704== Releasing lock...
[2025-01-07 05:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:21:02] Production.INFO: ==12706== Lock acquired, processing the job...
[2025-01-07 00:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:21:02] Production.INFO: ==12708== Lock acquired, processing the job...
[2025-01-07 05:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:21:02] Production.INFO: ==12708== Releasing lock...
[2025-01-07 05:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:21:03] Production.INFO: ==12706== Releasing lock...
[2025-01-07 00:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:21:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:21:03] Production.INFO: ==12715== Lock acquired, processing the job...
[2025-01-07 00:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:21:03] Production.INFO: ==12711== Lock acquired, processing the job...
[2025-01-07 00:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:21:03] Production.INFO: ==12717== Lock acquired, processing the job...
[2025-01-07 00:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:21:03] Production.INFO: Account Balance Start.
[2025-01-07 00:21:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:21:03] Production.INFO: 117
[2025-01-07 00:21:03] Production.INFO: Date 2024-12-08
[2025-01-07 00:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:21:03] Production.INFO: Date 2024-12-09
[2025-01-07 00:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:21:03] Production.INFO: Date 2024-12-10
[2025-01-07 00:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:21:04] Production.INFO: Date 2024-12-11
[2025-01-07 00:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:21:04] Production.INFO: Date 2024-12-12
[2025-01-07 00:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:21:04] Production.INFO: Date 2024-12-13
[2025-01-07 00:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:21:04] Production.INFO: ==12713== Lock acquired, processing the job...
[2025-01-07 00:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:21:04] Production.INFO: Date 2024-12-14
[2025-01-07 00:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:21:04] Production.INFO: Date 2024-12-15
[2025-01-07 00:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:21:04] Production.INFO: Date 2024-12-16
[2025-01-07 00:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:21:04] Production.INFO: Date 2024-12-17
[2025-01-07 00:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:21:04] Production.INFO: Date 2024-12-18
[2025-01-07 00:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:21:04] Production.INFO: ==12719== Lock acquired, processing the job...
[2025-01-07 00:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:21:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:21:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:21:04] Production.INFO: ==12721== Lock acquired, processing the job...
[2025-01-07 00:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:21:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:21:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:21:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:21:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:21:04] Production.INFO: ==12713== Releasing lock...
[2025-01-07 00:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:21:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:21:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:21:04] Production.INFO: Date 2024-12-27
[2025-01-07 00:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:21:04] Production.INFO: count ==21
[2025-01-07 00:21:04] Production.ERROR: done
[2025-01-07 00:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:21:04] Production.INFO: count ==21
[2025-01-07 00:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191190') start
[2025-01-07 00:21:04] Production.INFO: Date 2024-12-28
[2025-01-07 00:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:21:04] Production.ERROR: done
[2025-01-07 00:21:04] Production.INFO: Date 2024-12-29
[2025-01-07 00:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191190') end
[2025-01-07 00:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:21:04] Production.INFO: 1
[2025-01-07 00:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:21:04] Production.INFO: Date 2024-12-30
[2025-01-07 00:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:21:04] Production.INFO: Date 2024-12-31
[2025-01-07 00:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:21:04] Production.INFO: ==12721== Releasing lock...
[2025-01-07 00:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:21:05] Production.INFO: Date 2025-01-01
[2025-01-07 00:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:21:05] Production.INFO: Date 2025-01-02
[2025-01-07 00:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:21:05] Production.INFO: Date 2025-01-03
[2025-01-07 00:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:21:05] Production.INFO: Date 2025-01-04
[2025-01-07 00:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:21:05] Production.INFO: Date 2025-01-05
[2025-01-07 00:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:21:05] Production.INFO: Date 2025-01-06
[2025-01-07 00:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:21:05] Production.INFO: Date 2025-01-07
[2025-01-07 00:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:21:05] Production.INFO: Total Charge 0
[2025-01-07 00:21:05] Production.INFO: CreateAllLog End
[2025-01-07 00:21:05] Production.INFO: Account Balance End.
[2025-01-07 00:21:05] Production.ERROR: CronJobId end 12
[2025-01-07 00:21:05] Production.INFO: ==12717== Releasing lock...
[2025-01-07 00:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:21:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:21:05
[end_date_ymd] => 2025-01-07 00:21:05
[RateCDR] => 1
)
[2025-01-07 00:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 21:21:05' and `end` < '2025-01-07 00:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 00:21:11] Production.ERROR: CronJobId end10
[2025-01-07 00:21:11] Production.INFO: ==12715== Releasing lock...
[2025-01-07 00:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:21:13] Production.INFO: call_cost start
[2025-01-07 00:21:13] Production.INFO: call_cost end
[2025-01-07 00:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:21:14] Production.INFO: ==12711== Releasing lock...
[2025-01-07 00:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:21:18] Production.INFO: count ==168
[2025-01-07 00:21:18] Production.ERROR: pbx CDR StartTime 2025-01-06 21:21:05 - End Time 2025-01-07 00:21:05
[2025-01-07 00:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191191', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191191', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191191', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191191', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:21:18] Production.INFO: ProcessCDR(1,14191191,1,1,2)
[2025-01-07 00:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191191,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191191,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191191,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191191,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191191', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191191', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:21:22] Production.INFO: ==12719== Releasing lock...
[2025-01-07 00:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:21:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 05:22:01] Production.INFO: ==12785== Lock acquired, processing the job...
[2025-01-07 05:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:22:01] Production.INFO: neon service started
[2025-01-07 05:22:01] Production.INFO: neon service started
[2025-01-07 05:22:01] Production.INFO: ==12785== Releasing lock...
[2025-01-07 05:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:22:01] Production.INFO: ==12787== Lock acquired, processing the job...
[2025-01-07 00:22:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:22:02] Production.INFO: ==12787== Releasing lock...
[2025-01-07 00:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:22:02] Production.INFO: ==12789== Lock acquired, processing the job...
[2025-01-07 05:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:22:02] Production.INFO: ==12789== Releasing lock...
[2025-01-07 05:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:22:03] Production.INFO: ==12801== Lock acquired, processing the job...
[2025-01-07 00:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:22:03] Production.INFO: count ==21
[2025-01-07 00:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:22:03] Production.INFO: count ==21
[2025-01-07 00:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191192') start
[2025-01-07 00:22:03] Production.INFO: ==12791== Lock acquired, processing the job...
[2025-01-07 00:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191192') end
[2025-01-07 00:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:22:03] Production.INFO: 1
[2025-01-07 00:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:22:03] Production.INFO: ==12801== Releasing lock...
[2025-01-07 00:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:22:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:22:03] Production.INFO: ==12793== Lock acquired, processing the job...
[2025-01-07 00:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:22:03] Production.INFO: ==12799== Lock acquired, processing the job...
[2025-01-07 00:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:22:03] Production.INFO: ==12795== Lock acquired, processing the job...
[2025-01-07 00:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:22:03] Production.INFO: ==12797== Lock acquired, processing the job...
[2025-01-07 00:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:22:03] Production.INFO: Account Balance Start.
[2025-01-07 00:22:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:22:03] Production.INFO: 117
[2025-01-07 00:22:03] Production.INFO: Date 2024-12-08
[2025-01-07 00:22:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:22:03] Production.INFO: Date 2024-12-09
[2025-01-07 00:22:03] Production.INFO: ==12793== Releasing lock...
[2025-01-07 00:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:22:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:22:03] Production.ERROR: done
[2025-01-07 00:22:03] Production.INFO: Date 2024-12-10
[2025-01-07 00:22:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:22:03] Production.INFO: Date 2024-12-11
[2025-01-07 00:22:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:22:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:22:03] Production.INFO: Date 2024-12-12
[2025-01-07 00:22:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:22:03] Production.INFO: Date 2024-12-13
[2025-01-07 00:22:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:22:03] Production.INFO: Date 2024-12-14
[2025-01-07 00:22:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:22:04] Production.ERROR: done
[2025-01-07 00:22:04] Production.INFO: Date 2024-12-15
[2025-01-07 00:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:22:04] Production.INFO: Date 2024-12-16
[2025-01-07 00:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:22:04] Production.INFO: Date 2024-12-17
[2025-01-07 00:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:22:04] Production.INFO: Date 2024-12-18
[2025-01-07 00:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:22:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:22:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:22:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:22:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:22:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:22:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:22:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:22:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:22:04] Production.INFO: Date 2024-12-27
[2025-01-07 00:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:22:04] Production.INFO: Date 2024-12-28
[2025-01-07 00:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:22:04] Production.INFO: Date 2024-12-29
[2025-01-07 00:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:22:04] Production.INFO: Date 2024-12-30
[2025-01-07 00:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:22:04] Production.INFO: Date 2024-12-31
[2025-01-07 00:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:22:04] Production.INFO: Date 2025-01-01
[2025-01-07 00:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:22:04] Production.INFO: Date 2025-01-02
[2025-01-07 00:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:22:04] Production.INFO: Date 2025-01-03
[2025-01-07 00:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:22:04] Production.INFO: Date 2025-01-04
[2025-01-07 00:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:22:04] Production.INFO: Date 2025-01-05
[2025-01-07 00:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:22:04] Production.INFO: Date 2025-01-06
[2025-01-07 00:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:22:04] Production.INFO: Date 2025-01-07
[2025-01-07 00:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:22:04] Production.INFO: Total Charge 0
[2025-01-07 00:22:04] Production.INFO: CreateAllLog End
[2025-01-07 00:22:05] Production.INFO: Account Balance End.
[2025-01-07 00:22:05] Production.ERROR: CronJobId end 12
[2025-01-07 00:22:05] Production.INFO: ==12797== Releasing lock...
[2025-01-07 00:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:22:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:22:05
[end_date_ymd] => 2025-01-07 00:22:05
[RateCDR] => 1
)
[2025-01-07 00:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 21:22:05' and `end` < '2025-01-07 00:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 00:22:10] Production.ERROR: CronJobId end10
[2025-01-07 00:22:10] Production.INFO: ==12795== Releasing lock...
[2025-01-07 00:22:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:22:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:22:13] Production.INFO: call_cost start
[2025-01-07 00:22:13] Production.INFO: call_cost end
[2025-01-07 00:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:22:14] Production.INFO: ==12791== Releasing lock...
[2025-01-07 00:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:22:18] Production.INFO: count ==168
[2025-01-07 00:22:18] Production.ERROR: pbx CDR StartTime 2025-01-06 21:22:05 - End Time 2025-01-07 00:22:05
[2025-01-07 00:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191196', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191196', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191196', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191196', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:22:18] Production.INFO: ProcessCDR(1,14191196,1,1,2)
[2025-01-07 00:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191196,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191196,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191196,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191196,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191196', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191196', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:22:21] Production.INFO: ==12799== Releasing lock...
[2025-01-07 00:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:22:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 05:23:02] Production.INFO: ==12859== Lock acquired, processing the job...
[2025-01-07 05:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:23:02] Production.INFO: neon service started
[2025-01-07 05:23:02] Production.INFO: neon service started
[2025-01-07 05:23:02] Production.INFO: ==12859== Releasing lock...
[2025-01-07 05:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:23:02] Production.INFO: ==12861== Lock acquired, processing the job...
[2025-01-07 00:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:23:02] Production.INFO: ==12861== Releasing lock...
[2025-01-07 00:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:23:02] Production.INFO: ==12863== Lock acquired, processing the job...
[2025-01-07 05:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:23:02] Production.INFO: ==12863== Releasing lock...
[2025-01-07 05:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:23:03] Production.INFO: ==12871== Lock acquired, processing the job...
[2025-01-07 00:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:23:03] Production.INFO: ==12865== Lock acquired, processing the job...
[2025-01-07 00:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:23:03] Production.INFO: ==12867== Lock acquired, processing the job...
[2025-01-07 00:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:23:03] Production.INFO: ==12875== Lock acquired, processing the job...
[2025-01-07 00:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:23:03] Production.INFO: Account Balance Start.
[2025-01-07 00:23:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:23:03] Production.INFO: 117
[2025-01-07 00:23:03] Production.INFO: Date 2024-12-08
[2025-01-07 00:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:23:03] Production.INFO: ==12869== Lock acquired, processing the job...
[2025-01-07 00:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:23:03] Production.INFO: Date 2024-12-09
[2025-01-07 00:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:23:03] Production.INFO: ==12873== Lock acquired, processing the job...
[2025-01-07 00:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 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-07 00:23:03] Production.INFO: Date 2024-12-10
[2025-01-07 00:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:23:03] Production.INFO: count ==21
[2025-01-07 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-07 00:23:03] Production.INFO: count ==21
[2025-01-07 00:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:23:03] Production.INFO: Date 2024-12-11
[2025-01-07 00:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191200') start
[2025-01-07 00:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:23:03] Production.INFO: ==12867== Releasing lock...
[2025-01-07 00:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:23:03] Production.INFO: Date 2024-12-12
[2025-01-07 00:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191200') end
[2025-01-07 00:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:23:04] Production.INFO: 1
[2025-01-07 00:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:23:04] Production.INFO: Date 2024-12-13
[2025-01-07 00:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:23:04] Production.INFO: ==12875== Releasing lock...
[2025-01-07 00:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:23:04] Production.INFO: Date 2024-12-14
[2025-01-07 00:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:23:04] Production.INFO: Date 2024-12-15
[2025-01-07 00:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:23:04] Production.INFO: Date 2024-12-16
[2025-01-07 00:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:23:04] Production.INFO: Date 2024-12-17
[2025-01-07 00:23:04] Production.ERROR: done
[2025-01-07 00:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:23:04] Production.INFO: Date 2024-12-18
[2025-01-07 00:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:23:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:23:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:23:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:23:04] Production.ERROR: done
[2025-01-07 00:23:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:23:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:23:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:23:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:23:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:23:04] Production.INFO: Date 2024-12-27
[2025-01-07 00:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:23:04] Production.INFO: Date 2024-12-28
[2025-01-07 00:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:23:04] Production.INFO: Date 2024-12-29
[2025-01-07 00:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:23:04] Production.INFO: Date 2024-12-30
[2025-01-07 00:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:23:04] Production.INFO: Date 2024-12-31
[2025-01-07 00:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:23:04] Production.INFO: Date 2025-01-01
[2025-01-07 00:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:23:04] Production.INFO: Date 2025-01-02
[2025-01-07 00:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:23:04] Production.INFO: Date 2025-01-03
[2025-01-07 00:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:23:04] Production.INFO: Date 2025-01-04
[2025-01-07 00:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:23:04] Production.INFO: Date 2025-01-05
[2025-01-07 00:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:23:04] Production.INFO: Date 2025-01-06
[2025-01-07 00:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:23:04] Production.INFO: Date 2025-01-07
[2025-01-07 00:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:23:04] Production.INFO: Total Charge 0
[2025-01-07 00:23:05] Production.INFO: CreateAllLog End
[2025-01-07 00:23:05] Production.INFO: Account Balance End.
[2025-01-07 00:23:05] Production.ERROR: CronJobId end 12
[2025-01-07 00:23:05] Production.INFO: ==12871== Releasing lock...
[2025-01-07 00:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:23:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:23:05
[end_date_ymd] => 2025-01-07 00:23:05
[RateCDR] => 1
)
[2025-01-07 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-06 21:23:05' and `end` < '2025-01-07 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-07 00:23:11] Production.ERROR: CronJobId end10
[2025-01-07 00:23:11] Production.INFO: ==12869== Releasing lock...
[2025-01-07 00:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:23:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:23:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:23:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:23:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:23:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:23:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:23:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:23:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:23:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:23:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:23:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:23:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:23:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:23:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:23:12] Production.INFO: call_cost start
[2025-01-07 00:23:12] Production.INFO: call_cost end
[2025-01-07 00:23:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:23:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:23:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:23:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:23:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:23:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:23:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:23:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:23:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:23:13] Production.INFO: ==12865== Releasing lock...
[2025-01-07 00:23:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:23:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:23:18] Production.INFO: count ==167
[2025-01-07 00:23:18] Production.ERROR: pbx CDR StartTime 2025-01-06 21:23:05 - End Time 2025-01-07 00:23:05
[2025-01-07 00:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191201', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191201', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191201', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191201', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:23:18] Production.INFO: ProcessCDR(1,14191201,1,1,2)
[2025-01-07 00:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191201,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191201,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191201,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191201,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191201', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191201', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:23:21] Production.INFO: ==12873== Releasing lock...
[2025-01-07 00:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:23:21] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 05:24:01] Production.INFO: ==12928== Lock acquired, processing the job...
[2025-01-07 05:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:24:01] Production.INFO: neon service started
[2025-01-07 05:24:01] Production.INFO: neon service started
[2025-01-07 05:24:01] Production.INFO: ==12928== Releasing lock...
[2025-01-07 05:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:24:02] Production.INFO: ==12932== Lock acquired, processing the job...
[2025-01-07 05:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:24:02] Production.INFO: ==12932== Releasing lock...
[2025-01-07 05:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:24:02] Production.INFO: ==12930== Lock acquired, processing the job...
[2025-01-07 00:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:24:02] Production.INFO: ==12930== Releasing lock...
[2025-01-07 00:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:24:03] Production.INFO: ==12935== Lock acquired, processing the job...
[2025-01-07 00:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:24:03] Production.INFO: ==12941== Lock acquired, processing the job...
[2025-01-07 00:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:24:03] Production.INFO: ==12943== Lock acquired, processing the job...
[2025-01-07 00:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:24:03] Production.INFO: Account Balance Start.
[2025-01-07 00:24:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:24:03] Production.INFO: 117
[2025-01-07 00:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:24:03] Production.INFO: Date 2024-12-08
[2025-01-07 00:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:24:03] Production.INFO: ==12937== Lock acquired, processing the job...
[2025-01-07 00:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:24:03] Production.INFO: Date 2024-12-09
[2025-01-07 00:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:24:03] Production.INFO: ==12939== Lock acquired, processing the job...
[2025-01-07 00:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:24:03] Production.INFO: Date 2024-12-10
[2025-01-07 00:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:24:03] Production.INFO: Date 2024-12-11
[2025-01-07 00:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:24:03] Production.INFO: ==12945== Lock acquired, processing the job...
[2025-01-07 00:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:24:03] Production.INFO: Date 2024-12-12
[2025-01-07 00:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:24:03] Production.ERROR: done
[2025-01-07 00:24:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:24:03] Production.INFO: Date 2024-12-13
[2025-01-07 00:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:24:03] Production.INFO: Date 2024-12-14
[2025-01-07 00:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:24:03] Production.INFO: Date 2024-12-15
[2025-01-07 00:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:24:03] Production.INFO: ==12937== Releasing lock...
[2025-01-07 00:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:24:03] Production.INFO: count ==21
[2025-01-07 00:24:03] Production.INFO: Date 2024-12-16
[2025-01-07 00:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:24:03] Production.INFO: count ==21
[2025-01-07 00:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191205') start
[2025-01-07 00:24:03] Production.ERROR: done
[2025-01-07 00:24:03] Production.INFO: Date 2024-12-17
[2025-01-07 00:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:24:03] Production.INFO: Date 2024-12-18
[2025-01-07 00:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:24:03] Production.INFO: Date 2024-12-19
[2025-01-07 00:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:24:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191205') end
[2025-01-07 00:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:24:04] Production.INFO: 1
[2025-01-07 00:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:24:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:24:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:24:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:24:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:24:04] Production.INFO: ==12945== Releasing lock...
[2025-01-07 00:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:24:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:24:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:24:04] Production.INFO: Date 2024-12-27
[2025-01-07 00:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:24:04] Production.INFO: Date 2024-12-28
[2025-01-07 00:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:24:04] Production.INFO: Date 2024-12-29
[2025-01-07 00:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:24:04] Production.INFO: Date 2024-12-30
[2025-01-07 00:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:24:04] Production.INFO: Date 2024-12-31
[2025-01-07 00:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:24:04] Production.INFO: Date 2025-01-01
[2025-01-07 00:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:24:04] Production.INFO: Date 2025-01-02
[2025-01-07 00:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:24:04] Production.INFO: Date 2025-01-03
[2025-01-07 00:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:24:04] Production.INFO: Date 2025-01-04
[2025-01-07 00:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:24:04] Production.INFO: Date 2025-01-05
[2025-01-07 00:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:24:04] Production.INFO: Date 2025-01-06
[2025-01-07 00:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:24:04] Production.INFO: Date 2025-01-07
[2025-01-07 00:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:24:04] Production.INFO: Total Charge 0
[2025-01-07 00:24:04] Production.INFO: CreateAllLog End
[2025-01-07 00:24:04] Production.INFO: Account Balance End.
[2025-01-07 00:24:04] Production.ERROR: CronJobId end 12
[2025-01-07 00:24:04] Production.INFO: ==12941== Releasing lock...
[2025-01-07 00:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:24:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:24:04
[end_date_ymd] => 2025-01-07 00:24:04
[RateCDR] => 1
)
[2025-01-07 00: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-06 21:24:04' and `end` < '2025-01-07 00: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-07 00:24:11] Production.ERROR: CronJobId end10
[2025-01-07 00:24:11] Production.INFO: ==12939== Releasing lock...
[2025-01-07 00:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:24:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:24:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:24:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:24:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:24:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:24:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:24:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:24:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:24:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:24:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:24:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:24:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:24:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:24:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:24:13] Production.INFO: call_cost start
[2025-01-07 00:24:13] Production.INFO: call_cost end
[2025-01-07 00:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:24:14] Production.INFO: ==12935== Releasing lock...
[2025-01-07 00:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:24:17] Production.INFO: count ==159
[2025-01-07 00:24:17] Production.ERROR: pbx CDR StartTime 2025-01-06 21:24:04 - End Time 2025-01-07 00:24:04
[2025-01-07 00:24:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191206', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191206', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191206', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191206', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:24:17] Production.INFO: ProcessCDR(1,14191206,1,1,2)
[2025-01-07 00:24:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191206,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:24:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191206,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:24:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191206,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:24:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191206,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:24:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191206', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:24:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191206', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:24:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:24:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:24:20] Production.INFO: ==12943== Releasing lock...
[2025-01-07 00:24:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:24:20] Production.INFO: 29.75 MB #Memory Used#
[2025-01-07 05:25:01] Production.INFO: ==13001== Lock acquired, processing the job...
[2025-01-07 05:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:25:01] Production.INFO: neon service started
[2025-01-07 05:25:01] Production.INFO: neon service started
[2025-01-07 05:25:01] Production.INFO: ==13001== Releasing lock...
[2025-01-07 05:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:25:02] Production.INFO: ==13003== Lock acquired, processing the job...
[2025-01-07 00:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:25:02] Production.INFO: ==13003== Releasing lock...
[2025-01-07 00:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:25:02] Production.INFO: ==13005== Lock acquired, processing the job...
[2025-01-07 05:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:25:02] Production.INFO: ==13005== Releasing lock...
[2025-01-07 05:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:25:03] Production.INFO: ==13011== Lock acquired, processing the job...
[2025-01-07 00:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:25:03] Production.INFO: ==13007== Lock acquired, processing the job...
[2025-01-07 00:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:25:03] Production.INFO: ==13009== Lock acquired, processing the job...
[2025-01-07 00:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:25:03] Production.INFO: ==13013== Lock acquired, processing the job...
[2025-01-07 00:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:25:03] Production.INFO: ==13015== Lock acquired, processing the job...
[2025-01-07 00:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:25:03] Production.INFO: Account Balance Start.
[2025-01-07 00:25:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:25:03] Production.INFO: 117
[2025-01-07 00:25:03] Production.INFO: Date 2024-12-08
[2025-01-07 00:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:25:03] Production.INFO: ==13017== Lock acquired, processing the job...
[2025-01-07 00:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:25:03] Production.INFO: Date 2024-12-09
[2025-01-07 00:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:25:03] Production.INFO: Date 2024-12-10
[2025-01-07 00:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:25:04] Production.INFO: ==13009== Releasing lock...
[2025-01-07 00:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:25:04] Production.INFO: Date 2024-12-11
[2025-01-07 00:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:25:04] Production.INFO: Date 2024-12-12
[2025-01-07 00:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:25:04] Production.INFO: Date 2024-12-13
[2025-01-07 00:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:25:04] Production.INFO: Date 2024-12-14
[2025-01-07 00:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:25:04] Production.INFO: count ==21
[2025-01-07 00:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:25:04] Production.INFO: count ==21
[2025-01-07 00:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191210') start
[2025-01-07 00:25:04] Production.ERROR: done
[2025-01-07 00:25:04] Production.INFO: Date 2024-12-15
[2025-01-07 00:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:25:04] Production.INFO: Date 2024-12-16
[2025-01-07 00:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:25:04] Production.ERROR: done
[2025-01-07 00:25:04] Production.INFO: Date 2024-12-17
[2025-01-07 00:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191210') end
[2025-01-07 00:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:25:04] Production.INFO: 1
[2025-01-07 00:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:25:04] Production.INFO: ==13017== Releasing lock...
[2025-01-07 00:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:25:04] Production.INFO: Date 2024-12-18
[2025-01-07 00:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:25:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:25:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:25:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:25:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:25:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:25:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:25:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:25:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:25:04] Production.INFO: Date 2024-12-27
[2025-01-07 00:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:25:04] Production.INFO: Date 2024-12-28
[2025-01-07 00:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:25:05] Production.INFO: Date 2024-12-29
[2025-01-07 00:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:25:05] Production.INFO: Date 2024-12-30
[2025-01-07 00:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:25:05] Production.INFO: Date 2024-12-31
[2025-01-07 00:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:25:05] Production.INFO: Date 2025-01-01
[2025-01-07 00:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:25:05] Production.INFO: Date 2025-01-02
[2025-01-07 00:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:25:05] Production.INFO: Date 2025-01-03
[2025-01-07 00:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:25:05] Production.INFO: Date 2025-01-04
[2025-01-07 00:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:25:05] Production.INFO: Date 2025-01-05
[2025-01-07 00:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:25:05] Production.INFO: Date 2025-01-06
[2025-01-07 00:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:25:05] Production.INFO: Date 2025-01-07
[2025-01-07 00:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:25:05] Production.INFO: Total Charge 0
[2025-01-07 00:25:05] Production.INFO: CreateAllLog End
[2025-01-07 00:25:05] Production.INFO: Account Balance End.
[2025-01-07 00:25:05] Production.ERROR: CronJobId end 12
[2025-01-07 00:25:05] Production.INFO: ==13013== Releasing lock...
[2025-01-07 00:25:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:25:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:25:05
[end_date_ymd] => 2025-01-07 00:25:05
[RateCDR] => 1
)
[2025-01-07 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-06 21:25:05' and `end` < '2025-01-07 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-07 00:25:10] Production.ERROR: CronJobId end10
[2025-01-07 00:25:10] Production.INFO: ==13011== Releasing lock...
[2025-01-07 00:25:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:25:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:25:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:25:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:25:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:25:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:25:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:25:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:25:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:25:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:25:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:25:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:25:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:25:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:25:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:25:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:25:12] Production.INFO: call_cost start
[2025-01-07 00:25:12] Production.INFO: call_cost end
[2025-01-07 00:25:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:25:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:25:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:25:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:25:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:25:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:25:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:25:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:25:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:25:13] Production.INFO: ==13007== Releasing lock...
[2025-01-07 00:25:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:25:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:25:18] Production.INFO: count ==152
[2025-01-07 00:25:18] Production.ERROR: pbx CDR StartTime 2025-01-06 21:25:05 - End Time 2025-01-07 00:25:05
[2025-01-07 00:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191211', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191211', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191211', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191211', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:25:18] Production.INFO: ProcessCDR(1,14191211,1,1,2)
[2025-01-07 00:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191211,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191211,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191211,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191211,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191211', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191211', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:25:21] Production.INFO: ==13015== Releasing lock...
[2025-01-07 00:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:25:21] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 05:26:02] Production.INFO: ==13071== Lock acquired, processing the job...
[2025-01-07 05:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:26:02] Production.INFO: neon service started
[2025-01-07 05:26:02] Production.INFO: neon service started
[2025-01-07 05:26:02] Production.INFO: ==13071== Releasing lock...
[2025-01-07 05:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:26:02] Production.INFO: ==13074== Lock acquired, processing the job...
[2025-01-07 00:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:26:02] Production.INFO: ==13076== Lock acquired, processing the job...
[2025-01-07 05:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:26:02] Production.INFO: ==13076== Releasing lock...
[2025-01-07 05:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:26:03] Production.INFO: ==13074== Releasing lock...
[2025-01-07 00:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:26:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:26:03] Production.INFO: ==13082== Lock acquired, processing the job...
[2025-01-07 00:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:26:04] Production.INFO: ==13086== Lock acquired, processing the job...
[2025-01-07 00:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:26:04] Production.INFO: ==13078== Lock acquired, processing the job...
[2025-01-07 00:26:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:26:04] Production.INFO: ==13080== Lock acquired, processing the job...
[2025-01-07 00:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:26:04] Production.INFO: ==13084== Lock acquired, processing the job...
[2025-01-07 00:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:26:04] Production.INFO: ==13088== Lock acquired, processing the job...
[2025-01-07 00:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:26:04] Production.INFO: Account Balance Start.
[2025-01-07 00:26:04] Production.INFO: CreateAllLog Start
[2025-01-07 00:26:04] Production.INFO: 117
[2025-01-07 00:26:04] Production.INFO: Date 2024-12-08
[2025-01-07 00:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:26:04] Production.ERROR: done
[2025-01-07 00:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:26:04] Production.INFO: Date 2024-12-09
[2025-01-07 00:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:26:04] Production.INFO: Date 2024-12-10
[2025-01-07 00:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 00:26:04] Production.INFO: Date 2024-12-11
[2025-01-07 00:26:04] Production.INFO: count ==21
[2025-01-07 00:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:26:04] Production.ERROR: done
[2025-01-07 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-07 00:26:04] Production.INFO: Date 2024-12-12
[2025-01-07 00:26:04] Production.INFO: count ==21
[2025-01-07 00:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191215') start
[2025-01-07 00:26:04] Production.INFO: ==13080== Releasing lock...
[2025-01-07 00:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:26:04] Production.INFO: Date 2024-12-13
[2025-01-07 00:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:26:04] Production.INFO: Date 2024-12-14
[2025-01-07 00:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:26:04] Production.INFO: Date 2024-12-15
[2025-01-07 00:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191215') end
[2025-01-07 00:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:26:04] Production.INFO: 1
[2025-01-07 00:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:26:04] Production.INFO: ==13088== Releasing lock...
[2025-01-07 00:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:26:04] Production.INFO: Date 2024-12-16
[2025-01-07 00:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:26:04] Production.INFO: Date 2024-12-17
[2025-01-07 00:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:26:04] Production.INFO: Date 2024-12-18
[2025-01-07 00:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:26:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:26:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:26:05] Production.INFO: Date 2024-12-21
[2025-01-07 00:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:26:05] Production.INFO: Date 2024-12-22
[2025-01-07 00:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:26:05] Production.INFO: Date 2024-12-23
[2025-01-07 00:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:26:05] Production.INFO: Date 2024-12-24
[2025-01-07 00:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:26:05] Production.INFO: Date 2024-12-25
[2025-01-07 00:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:26:05] Production.INFO: Date 2024-12-26
[2025-01-07 00:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:26:05] Production.INFO: Date 2024-12-27
[2025-01-07 00:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:26:05] Production.INFO: Date 2024-12-28
[2025-01-07 00:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:26:05] Production.INFO: Date 2024-12-29
[2025-01-07 00:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:26:05] Production.INFO: Date 2024-12-30
[2025-01-07 00:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:26:05] Production.INFO: Date 2024-12-31
[2025-01-07 00:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:26:05] Production.INFO: Date 2025-01-01
[2025-01-07 00:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:26:05] Production.INFO: Date 2025-01-02
[2025-01-07 00:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:26:05] Production.INFO: Date 2025-01-03
[2025-01-07 00:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:26:05] Production.INFO: Date 2025-01-04
[2025-01-07 00:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:26:05] Production.INFO: Date 2025-01-05
[2025-01-07 00:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:26:05] Production.INFO: Date 2025-01-06
[2025-01-07 00:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:26:05] Production.INFO: Date 2025-01-07
[2025-01-07 00:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:26:05] Production.INFO: Total Charge 0
[2025-01-07 00:26:05] Production.INFO: CreateAllLog End
[2025-01-07 00:26:05] Production.INFO: Account Balance End.
[2025-01-07 00:26:05] Production.ERROR: CronJobId end 12
[2025-01-07 00:26:05] Production.INFO: ==13084== Releasing lock...
[2025-01-07 00:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:26:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:26:05
[end_date_ymd] => 2025-01-07 00:26:05
[RateCDR] => 1
)
[2025-01-07 00:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 21:26:05' and `end` < '2025-01-07 00:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 00:26:12] Production.ERROR: CronJobId end10
[2025-01-07 00:26:12] Production.INFO: ==13082== Releasing lock...
[2025-01-07 00:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:26:14] Production.INFO: call_cost start
[2025-01-07 00:26:14] Production.INFO: call_cost end
[2025-01-07 00:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:26:14] Production.INFO: ==13078== Releasing lock...
[2025-01-07 00:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:26:18] Production.INFO: count ==152
[2025-01-07 00:26:18] Production.ERROR: pbx CDR StartTime 2025-01-06 21:26:05 - End Time 2025-01-07 00:26:05
[2025-01-07 00:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191216', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191216', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191216', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191216', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:26:18] Production.INFO: ProcessCDR(1,14191216,1,1,2)
[2025-01-07 00:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191216,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191216,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191216,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191216,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191216', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191216', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:26:21] Production.INFO: ==13086== Releasing lock...
[2025-01-07 00:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:26:21] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 05:27:01] Production.INFO: ==13144== Lock acquired, processing the job...
[2025-01-07 05:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:27:01] Production.INFO: neon service started
[2025-01-07 05:27:01] Production.INFO: neon service started
[2025-01-07 05:27:01] Production.INFO: ==13144== Releasing lock...
[2025-01-07 05:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:27:02] Production.INFO: ==13146== Lock acquired, processing the job...
[2025-01-07 00:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:27:02] Production.INFO: ==13146== Releasing lock...
[2025-01-07 00:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:27:02] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:27:02] Production.INFO: ==13148== Lock acquired, processing the job...
[2025-01-07 05:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:27:02] Production.INFO: ==13148== Releasing lock...
[2025-01-07 05:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:27:03] Production.INFO: ==13150== Lock acquired, processing the job...
[2025-01-07 00:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:27:03] Production.INFO: ==13152== Lock acquired, processing the job...
[2025-01-07 00:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:27:03] Production.INFO: ==13154== Lock acquired, processing the job...
[2025-01-07 00:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:27:03] Production.INFO: ==13156== Lock acquired, processing the job...
[2025-01-07 00:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:27:03] Production.INFO: ==13152== Releasing lock...
[2025-01-07 00:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:27:03] Production.INFO: ==13160== Lock acquired, processing the job...
[2025-01-07 00:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:27:03] Production.INFO: ==13158== Lock acquired, processing the job...
[2025-01-07 00:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:27:03] Production.INFO: Account Balance Start.
[2025-01-07 00:27:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:27:03] Production.INFO: 117
[2025-01-07 00:27:03] Production.INFO: Date 2024-12-08
[2025-01-07 00:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:27:03] Production.INFO: Date 2024-12-09
[2025-01-07 00:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 00:27:03] Production.INFO: count ==21
[2025-01-07 00:27:03] Production.INFO: Date 2024-12-10
[2025-01-07 00:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 00:27:03] Production.INFO: count ==21
[2025-01-07 00:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191220') start
[2025-01-07 00:27:03] Production.INFO: Date 2024-12-11
[2025-01-07 00:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:27:03] Production.ERROR: done
[2025-01-07 00:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:27:03] Production.INFO: Date 2024-12-12
[2025-01-07 00:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191220') end
[2025-01-07 00:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:27:03] Production.INFO: 1
[2025-01-07 00:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:27:03] Production.INFO: Date 2024-12-13
[2025-01-07 00:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:27:03] Production.INFO: Date 2024-12-14
[2025-01-07 00:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:27:03] Production.INFO: ==13160== Releasing lock...
[2025-01-07 00:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:27:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:27:03] Production.ERROR: done
[2025-01-07 00:27:03] Production.INFO: Date 2024-12-15
[2025-01-07 00:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:27:03] Production.INFO: Date 2024-12-16
[2025-01-07 00:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:27:04] Production.INFO: Date 2024-12-17
[2025-01-07 00:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:27:04] Production.INFO: Date 2024-12-18
[2025-01-07 00:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:27:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:27:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:27:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:27:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:27:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:27:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:27:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:27:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:27:04] Production.INFO: Date 2024-12-27
[2025-01-07 00:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:27:04] Production.INFO: Date 2024-12-28
[2025-01-07 00:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:27:04] Production.INFO: Date 2024-12-29
[2025-01-07 00:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:27:04] Production.INFO: Date 2024-12-30
[2025-01-07 00:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:27:04] Production.INFO: Date 2024-12-31
[2025-01-07 00:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:27:04] Production.INFO: Date 2025-01-01
[2025-01-07 00:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:27:04] Production.INFO: Date 2025-01-02
[2025-01-07 00:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:27:04] Production.INFO: Date 2025-01-03
[2025-01-07 00:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:27:04] Production.INFO: Date 2025-01-04
[2025-01-07 00:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:27:04] Production.INFO: Date 2025-01-05
[2025-01-07 00:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:27:04] Production.INFO: Date 2025-01-06
[2025-01-07 00:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:27:04] Production.INFO: Date 2025-01-07
[2025-01-07 00:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:27:04] Production.INFO: Total Charge 0
[2025-01-07 00:27:04] Production.INFO: CreateAllLog End
[2025-01-07 00:27:04] Production.INFO: Account Balance End.
[2025-01-07 00:27:04] Production.ERROR: CronJobId end 12
[2025-01-07 00:27:04] Production.INFO: ==13156== Releasing lock...
[2025-01-07 00:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:27:05
[end_date_ymd] => 2025-01-07 00:27:05
[RateCDR] => 1
)
[2025-01-07 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-06 21:27:05' and `end` < '2025-01-07 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-07 00:27:10] Production.ERROR: CronJobId end10
[2025-01-07 00:27:10] Production.INFO: ==13154== Releasing lock...
[2025-01-07 00:27:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:27:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:27:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:27:11] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:27:11] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:27:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:27:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:27:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:27:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:27:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:27:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:27:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:27:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:27:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:27:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:27:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:27:11] Production.INFO: call_cost start
[2025-01-07 00:27:11] Production.INFO: call_cost end
[2025-01-07 00:27:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:27:12] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:27:12] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:27:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:27:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:27:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:27:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:27:12] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:27:12] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:27:12] Production.INFO: ==13150== Releasing lock...
[2025-01-07 00:27:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:27:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:27:18] Production.INFO: count ==147
[2025-01-07 00:27:18] Production.ERROR: pbx CDR StartTime 2025-01-06 21:27:05 - End Time 2025-01-07 00:27:05
[2025-01-07 00:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191221', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191221', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191221', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191221', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:27:18] Production.INFO: ProcessCDR(1,14191221,1,1,2)
[2025-01-07 00:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191221,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191221,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191221,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191221,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191221', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191221', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:27:21] Production.INFO: ==13158== Releasing lock...
[2025-01-07 00:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:27:21] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 05:28:02] Production.INFO: ==13216== Lock acquired, processing the job...
[2025-01-07 05:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:28:02] Production.INFO: neon service started
[2025-01-07 05:28:02] Production.INFO: neon service started
[2025-01-07 05:28:02] Production.INFO: ==13216== Releasing lock...
[2025-01-07 05:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:28:02] Production.INFO: ==13218== Lock acquired, processing the job...
[2025-01-07 00:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:28:02] Production.INFO: ==13220== Lock acquired, processing the job...
[2025-01-07 05:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:28:02] Production.INFO: ==13220== Releasing lock...
[2025-01-07 05:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:28:03] Production.INFO: ==13218== Releasing lock...
[2025-01-07 00:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:28:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:28:03] Production.INFO: ==13223== Lock acquired, processing the job...
[2025-01-07 00:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:28:03] Production.INFO: ==13227== Lock acquired, processing the job...
[2025-01-07 00:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:28:04] Production.INFO: ==13231== Lock acquired, processing the job...
[2025-01-07 00:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:28:04] Production.INFO: ==13225== Lock acquired, processing the job...
[2025-01-07 00:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:28:04] Production.INFO: ==13229== Lock acquired, processing the job...
[2025-01-07 00:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:28:04] Production.INFO: ==13233== Lock acquired, processing the job...
[2025-01-07 00:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:28:04] Production.INFO: Account Balance Start.
[2025-01-07 00:28:04] Production.INFO: CreateAllLog Start
[2025-01-07 00:28:04] Production.INFO: 117
[2025-01-07 00:28:04] Production.INFO: Date 2024-12-08
[2025-01-07 00:28:04] Production.ERROR: done
[2025-01-07 00:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:28:04] Production.INFO: Date 2024-12-09
[2025-01-07 00:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:28:04] Production.INFO: Date 2024-12-10
[2025-01-07 00:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 00:28:04] Production.INFO: Date 2024-12-11
[2025-01-07 00:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:28:04] Production.INFO: count ==21
[2025-01-07 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-07 00:28:04] Production.ERROR: done
[2025-01-07 00:28:04] Production.INFO: count ==21
[2025-01-07 00:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191225') start
[2025-01-07 00:28:04] Production.INFO: Date 2024-12-12
[2025-01-07 00:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:28:04] Production.INFO: Date 2024-12-13
[2025-01-07 00:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:28:04] Production.INFO: ==13225== Releasing lock...
[2025-01-07 00:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:28:04] Production.INFO: Date 2024-12-14
[2025-01-07 00:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:28:04] Production.INFO: Date 2024-12-15
[2025-01-07 00:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191225') end
[2025-01-07 00:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:28:04] Production.INFO: 1
[2025-01-07 00:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:28:04] Production.INFO: Date 2024-12-16
[2025-01-07 00:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:28:04] Production.INFO: ==13233== Releasing lock...
[2025-01-07 00:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:28:04] Production.INFO: Date 2024-12-17
[2025-01-07 00:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:28:04] Production.INFO: Date 2024-12-18
[2025-01-07 00:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:28:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:28:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:28:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:28:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:28:05] Production.INFO: Date 2024-12-23
[2025-01-07 00:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:28:05] Production.INFO: Date 2024-12-24
[2025-01-07 00:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:28:05] Production.INFO: Date 2024-12-25
[2025-01-07 00:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:28:05] Production.INFO: Date 2024-12-26
[2025-01-07 00:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:28:05] Production.INFO: Date 2024-12-27
[2025-01-07 00:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:28:05] Production.INFO: Date 2024-12-28
[2025-01-07 00:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:28:05] Production.INFO: Date 2024-12-29
[2025-01-07 00:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:28:05] Production.INFO: Date 2024-12-30
[2025-01-07 00:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:28:05] Production.INFO: Date 2024-12-31
[2025-01-07 00:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:28:05] Production.INFO: Date 2025-01-01
[2025-01-07 00:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:28:05] Production.INFO: Date 2025-01-02
[2025-01-07 00:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:28:05] Production.INFO: Date 2025-01-03
[2025-01-07 00:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:28:05] Production.INFO: Date 2025-01-04
[2025-01-07 00:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:28:05] Production.INFO: Date 2025-01-05
[2025-01-07 00:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:28:05] Production.INFO: Date 2025-01-06
[2025-01-07 00:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:28:05] Production.INFO: Date 2025-01-07
[2025-01-07 00:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:28:05] Production.INFO: Total Charge 0
[2025-01-07 00:28:05] Production.INFO: CreateAllLog End
[2025-01-07 00:28:05] Production.INFO: Account Balance End.
[2025-01-07 00:28:05] Production.ERROR: CronJobId end 12
[2025-01-07 00:28:05] Production.INFO: ==13229== Releasing lock...
[2025-01-07 00:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:28:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:28:05
[end_date_ymd] => 2025-01-07 00:28:05
[RateCDR] => 1
)
[2025-01-07 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-06 21:28:05' and `end` < '2025-01-07 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-07 00:28:11] Production.ERROR: CronJobId end10
[2025-01-07 00:28:11] Production.INFO: ==13227== Releasing lock...
[2025-01-07 00:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:28:13] Production.INFO: call_cost start
[2025-01-07 00:28:13] Production.INFO: call_cost end
[2025-01-07 00:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:28:14] Production.INFO: ==13223== Releasing lock...
[2025-01-07 00:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:28:18] Production.INFO: count ==138
[2025-01-07 00:28:18] Production.ERROR: pbx CDR StartTime 2025-01-06 21:28:05 - End Time 2025-01-07 00:28:05
[2025-01-07 00:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191226', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191226', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191226', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191226', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:28:18] Production.INFO: ProcessCDR(1,14191226,1,1,2)
[2025-01-07 00:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191226,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191226,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191226,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191226,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191226', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191226', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:28:21] Production.INFO: ==13231== Releasing lock...
[2025-01-07 00:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:28:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 05:29:01] Production.INFO: ==13287== Lock acquired, processing the job...
[2025-01-07 05:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:29:01] Production.INFO: neon service started
[2025-01-07 05:29:01] Production.INFO: neon service started
[2025-01-07 05:29:01] Production.INFO: ==13287== Releasing lock...
[2025-01-07 05:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:29:02] Production.INFO: ==13289== Lock acquired, processing the job...
[2025-01-07 00:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:29:02] Production.INFO: ==13291== Lock acquired, processing the job...
[2025-01-07 05:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:29:02] Production.INFO: ==13291== Releasing lock...
[2025-01-07 05:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:29:02] Production.INFO: ==13289== Releasing lock...
[2025-01-07 00:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:29:03] Production.INFO: ==13297== Lock acquired, processing the job...
[2025-01-07 00:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:29:03] Production.INFO: ==13293== Lock acquired, processing the job...
[2025-01-07 00:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:29:03] Production.INFO: ==13302== Lock acquired, processing the job...
[2025-01-07 00:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:29:03] Production.INFO: ==13295== Lock acquired, processing the job...
[2025-01-07 00:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:29:03] Production.INFO: ==13300== Lock acquired, processing the job...
[2025-01-07 00:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:29:03] Production.INFO: ==13304== Lock acquired, processing the job...
[2025-01-07 00:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:29:03] Production.ERROR: done
[2025-01-07 00:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:29:03] Production.INFO: Account Balance Start.
[2025-01-07 00:29:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:29:03] Production.INFO: 117
[2025-01-07 00:29:03] Production.INFO: Date 2024-12-08
[2025-01-07 00:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:29:03] Production.INFO: ==13295== Releasing lock...
[2025-01-07 00:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 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-07 00:29:03] Production.INFO: Date 2024-12-09
[2025-01-07 00:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:29:03] Production.INFO: count ==21
[2025-01-07 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-07 00:29:03] Production.INFO: count ==21
[2025-01-07 00:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191230') start
[2025-01-07 00:29:03] Production.ERROR: done
[2025-01-07 00:29:03] Production.INFO: Date 2024-12-10
[2025-01-07 00:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:29:03] Production.INFO: Date 2024-12-11
[2025-01-07 00:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191230') end
[2025-01-07 00:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:29:03] Production.INFO: 1
[2025-01-07 00:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:29:03] Production.INFO: Date 2024-12-12
[2025-01-07 00:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:29:03] Production.INFO: ==13304== Releasing lock...
[2025-01-07 00:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:29:03] Production.INFO: Date 2024-12-13
[2025-01-07 00:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:29:04] Production.INFO: Date 2024-12-14
[2025-01-07 00:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:29:04] Production.INFO: Date 2024-12-15
[2025-01-07 00:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:29:04] Production.INFO: Date 2024-12-16
[2025-01-07 00:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:29:04] Production.INFO: Date 2024-12-17
[2025-01-07 00:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:29:04] Production.INFO: Date 2024-12-18
[2025-01-07 00:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:29:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:29:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:29:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:29:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:29:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:29:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:29:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:29:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:29:04] Production.INFO: Date 2024-12-27
[2025-01-07 00:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:29:04] Production.INFO: Date 2024-12-28
[2025-01-07 00:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:29:04] Production.INFO: Date 2024-12-29
[2025-01-07 00:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:29:04] Production.INFO: Date 2024-12-30
[2025-01-07 00:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:29:04] Production.INFO: Date 2024-12-31
[2025-01-07 00:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:29:04] Production.INFO: Date 2025-01-01
[2025-01-07 00:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:29:04] Production.INFO: Date 2025-01-02
[2025-01-07 00:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:29:04] Production.INFO: Date 2025-01-03
[2025-01-07 00:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:29:04] Production.INFO: Date 2025-01-04
[2025-01-07 00:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:29:04] Production.INFO: Date 2025-01-05
[2025-01-07 00:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:29:04] Production.INFO: Date 2025-01-06
[2025-01-07 00:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:29:04] Production.INFO: Date 2025-01-07
[2025-01-07 00:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:29:04] Production.INFO: Total Charge 0
[2025-01-07 00:29:04] Production.INFO: CreateAllLog End
[2025-01-07 00:29:04] Production.INFO: Account Balance End.
[2025-01-07 00:29:04] Production.ERROR: CronJobId end 12
[2025-01-07 00:29:04] Production.INFO: ==13300== Releasing lock...
[2025-01-07 00:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:29:05
[end_date_ymd] => 2025-01-07 00:29:05
[RateCDR] => 1
)
[2025-01-07 00:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 21:29:05' and `end` < '2025-01-07 00:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 00:29:11] Production.ERROR: CronJobId end10
[2025-01-07 00:29:11] Production.INFO: ==13297== Releasing lock...
[2025-01-07 00:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:29:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:29:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:29:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:29:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:29:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:29:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:29:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:29:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:29:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:29:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:29:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:29:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:29:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:29:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:29:12] Production.INFO: call_cost start
[2025-01-07 00:29:12] Production.INFO: call_cost end
[2025-01-07 00:29:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:29:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:29:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:29:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:29:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:29:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:29:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:29:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:29:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:29:13] Production.INFO: ==13293== Releasing lock...
[2025-01-07 00:29:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:29:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:29:17] Production.INFO: count ==140
[2025-01-07 00:29:17] Production.ERROR: pbx CDR StartTime 2025-01-06 21:29:05 - End Time 2025-01-07 00:29:05
[2025-01-07 00:29:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191231', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191231', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191231', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191231', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:29:17] Production.INFO: ProcessCDR(1,14191231,1,1,2)
[2025-01-07 00:29:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191231,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:29:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191231,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:29:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191231,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:29:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191231,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191231', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191231', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:29:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:29:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:29:21] Production.INFO: ==13302== Releasing lock...
[2025-01-07 00:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:29:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 05:30:02] Production.INFO: ==13358== Lock acquired, processing the job...
[2025-01-07 05:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:30:02] Production.INFO: neon service started
[2025-01-07 05:30:02] Production.INFO: neon service started
[2025-01-07 05:30:02] Production.INFO: ==13358== Releasing lock...
[2025-01-07 05:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:30:02] Production.INFO: ==13360== Lock acquired, processing the job...
[2025-01-07 00:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:30:02] Production.INFO: ==13360== Releasing lock...
[2025-01-07 00:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:30:02] Production.INFO: ==13362== Lock acquired, processing the job...
[2025-01-07 05:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:30:02] Production.INFO: ==13362== Releasing lock...
[2025-01-07 05:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:30:03] Production.INFO: ==13365== Lock acquired, processing the job...
[2025-01-07 00:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 00:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 00:30:03] Production.INFO: ==13367== Lock acquired, processing the job...
[2025-01-07 00:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 00:30:03] Production.INFO: ==13365== Releasing lock...
[2025-01-07 00:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 00:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 00:30:03] Production.INFO: ==13371== Lock acquired, processing the job...
[2025-01-07 00:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:30:03] Production.INFO: ==13369== Lock acquired, processing the job...
[2025-01-07 00:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:30:03] Production.INFO: ==13375== Lock acquired, processing the job...
[2025-01-07 00:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:30:04] Production.INFO: ==13373== Lock acquired, processing the job...
[2025-01-07 00:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:30:04] Production.INFO: ==13377== Lock acquired, processing the job...
[2025-01-07 00:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 00:30:04] Production.INFO: ==13379== Lock acquired, processing the job...
[2025-01-07 00:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:30:04] Production.INFO: Account Balance Start.
[2025-01-07 00:30:04] Production.INFO: CreateAllLog Start
[2025-01-07 00:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:30:04] Production.INFO: 117
[2025-01-07 00:30:04] Production.INFO: Date 2024-12-08
[2025-01-07 00:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 00:30:04] Production.INFO: count ==21
[2025-01-07 00:30:04] Production.INFO: ==13369== Releasing lock...
[2025-01-07 00:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:30:04] Production.ERROR: done
[2025-01-07 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-07 00:30:04] Production.INFO: count ==21
[2025-01-07 00:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:30:04] Production.INFO: Date 2024-12-09
[2025-01-07 00:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191235') start
[2025-01-07 00:30:04] Production.INFO: Date 2024-12-10
[2025-01-07 00:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:30:04] Production.ERROR: done
[2025-01-07 00:30:04] Production.INFO: Date 2024-12-11
[2025-01-07 00:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:30:04] Production.INFO: Date 2024-12-12
[2025-01-07 00:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:30:04] Production.INFO: Date 2024-12-13
[2025-01-07 00:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 00:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14191236', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 00:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191235') end
[2025-01-07 00:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:30:04] Production.INFO: 1
[2025-01-07 00:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:30:04] Production.ERROR: done
[2025-01-07 00:30:04] Production.INFO: Date 2024-12-14
[2025-01-07 00:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:30:04] Production.INFO: Date 2024-12-15
[2025-01-07 00:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:30:04] Production.INFO: Date 2024-12-16
[2025-01-07 00:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:30:04] Production.INFO: ==13379== Releasing lock...
[2025-01-07 00:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:30:05] Production.INFO: Date 2024-12-17
[2025-01-07 00:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:30:05] Production.INFO: Date 2024-12-18
[2025-01-07 00:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:30:05] Production.INFO: Date 2024-12-19
[2025-01-07 00:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:30:05] Production.INFO: Date 2024-12-20
[2025-01-07 00:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:30:05] Production.INFO: Date 2024-12-21
[2025-01-07 00:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:30:05] Production.INFO: Date 2024-12-22
[2025-01-07 00:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:30:05] Production.INFO: Date 2024-12-23
[2025-01-07 00:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:30:05] Production.INFO: Date 2024-12-24
[2025-01-07 00:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:30:05] Production.INFO: Date 2024-12-25
[2025-01-07 00:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:30:05] Production.INFO: Date 2024-12-26
[2025-01-07 00:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:30:05] Production.INFO: Date 2024-12-27
[2025-01-07 00:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:30:05] Production.INFO: Date 2024-12-28
[2025-01-07 00:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:30:05] Production.INFO: Date 2024-12-29
[2025-01-07 00:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:30:05] Production.INFO: Date 2024-12-30
[2025-01-07 00:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:30:05] Production.INFO: Date 2024-12-31
[2025-01-07 00:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:30:05] Production.INFO: Date 2025-01-01
[2025-01-07 00:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:30:05] Production.INFO: Date 2025-01-02
[2025-01-07 00:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:30:05] Production.INFO: Date 2025-01-03
[2025-01-07 00:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:30:05] Production.INFO: Date 2025-01-04
[2025-01-07 00:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:30:05] Production.INFO: Date 2025-01-05
[2025-01-07 00:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:30:05] Production.INFO: Date 2025-01-06
[2025-01-07 00:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:30:05] Production.INFO: Date 2025-01-07
[2025-01-07 00:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:30:05] Production.INFO: Total Charge 0
[2025-01-07 00:30:05] Production.INFO: CreateAllLog End
[2025-01-07 00:30:05] Production.INFO: Account Balance End.
[2025-01-07 00:30:05] Production.ERROR: CronJobId end 12
[2025-01-07 00:30:05] Production.INFO: ==13373== Releasing lock...
[2025-01-07 00:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:30:06
[end_date_ymd] => 2025-01-07 00:30:06
[RateCDR] => 1
)
[2025-01-07 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-06 21:30:06' and `end` < '2025-01-07 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-07 00:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14191236', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 00:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 00:30:09] Production.INFO: ProcessCDR(1,14191236,1,1,2)
[2025-01-07 00:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14191236,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14191236,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:30:09] Production.INFO: ==13377== Releasing lock...
[2025-01-07 00:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 00:30:09] Production.INFO: 26 MB #Memory Used#
[2025-01-07 00:30:12] Production.ERROR: CronJobId end10
[2025-01-07 00:30:12] Production.INFO: ==13371== Releasing lock...
[2025-01-07 00:30:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:30:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:30:14] Production.INFO: call_cost start
[2025-01-07 00:30:14] Production.INFO: call_cost end
[2025-01-07 00:30:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:30:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:30:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:30:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:30:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:30:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:30:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:30:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:30:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:30:15] Production.INFO: ==13367== Releasing lock...
[2025-01-07 00:30:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:30:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:30:19] Production.INFO: count ==135
[2025-01-07 00:30:19] Production.ERROR: pbx CDR StartTime 2025-01-06 21:30:06 - End Time 2025-01-07 00:30:06
[2025-01-07 00:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191237', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191237', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191237', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191237', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:30:19] Production.INFO: ProcessCDR(1,14191237,1,1,2)
[2025-01-07 00:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191237,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191237,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191237,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191237,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191237', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191237', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:30:22] Production.INFO: ==13375== Releasing lock...
[2025-01-07 00:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:30:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 05:31:01] Production.INFO: ==13432== Lock acquired, processing the job...
[2025-01-07 05:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:31:01] Production.INFO: neon service started
[2025-01-07 05:31:01] Production.INFO: neon service started
[2025-01-07 05:31:01] Production.INFO: ==13432== Releasing lock...
[2025-01-07 05:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:31:01] Production.INFO: ==13434== Lock acquired, processing the job...
[2025-01-07 00:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:31:02] Production.INFO: ==13436== Lock acquired, processing the job...
[2025-01-07 05:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:31:02] Production.INFO: ==13434== Releasing lock...
[2025-01-07 00:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:31:02] Production.INFO: ==13436== Releasing lock...
[2025-01-07 05:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:31:02] Production.INFO: 26 MB #Memory Used#
[2025-01-07 00:31:02] Production.INFO: ==13447== Lock acquired, processing the job...
[2025-01-07 00:31:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:31:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:31:03] Production.INFO: ==13439== Lock acquired, processing the job...
[2025-01-07 00:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:31:03] Production.INFO: ==13441== Lock acquired, processing the job...
[2025-01-07 00:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:31:03] Production.INFO: ==13443== Lock acquired, processing the job...
[2025-01-07 00:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:31:03] Production.INFO: ==13445== Lock acquired, processing the job...
[2025-01-07 00:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:31:03] Production.INFO: ==13449== Lock acquired, processing the job...
[2025-01-07 00:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:31:03] Production.ERROR: done
[2025-01-07 00:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 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-07 00:31:03] Production.INFO: count ==21
[2025-01-07 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-07 00:31:03] Production.INFO: count ==21
[2025-01-07 00:31:03] Production.INFO: Account Balance Start.
[2025-01-07 00:31:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:31:03] Production.ERROR: done
[2025-01-07 00:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191240') start
[2025-01-07 00:31:03] Production.INFO: 117
[2025-01-07 00:31:03] Production.INFO: ==13441== Releasing lock...
[2025-01-07 00:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:31:03] Production.INFO: Date 2024-12-08
[2025-01-07 00:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191240') end
[2025-01-07 00:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:31:03] Production.INFO: 1
[2025-01-07 00:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:31:03] Production.INFO: Date 2024-12-09
[2025-01-07 00:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:31:03] Production.INFO: ==13449== Releasing lock...
[2025-01-07 00:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:31:03] Production.INFO: Date 2024-12-10
[2025-01-07 00:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:31:03] Production.INFO: Date 2024-12-11
[2025-01-07 00:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:31:04] Production.INFO: Date 2024-12-12
[2025-01-07 00:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:31:04] Production.INFO: Date 2024-12-13
[2025-01-07 00:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:31:04] Production.INFO: Date 2024-12-14
[2025-01-07 00:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:31:04] Production.INFO: Date 2024-12-15
[2025-01-07 00:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:31:04] Production.INFO: Date 2024-12-16
[2025-01-07 00:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:31:04] Production.INFO: Date 2024-12-17
[2025-01-07 00:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:31:04] Production.INFO: Date 2024-12-18
[2025-01-07 00:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:31:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:31:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:31:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:31:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:31:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:31:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:31:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:31:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:31:04] Production.INFO: Date 2024-12-27
[2025-01-07 00:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:31:04] Production.INFO: Date 2024-12-28
[2025-01-07 00:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:31:04] Production.INFO: Date 2024-12-29
[2025-01-07 00:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:31:04] Production.INFO: Date 2024-12-30
[2025-01-07 00:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:31:04] Production.INFO: Date 2024-12-31
[2025-01-07 00:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:31:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:31:04
[end_date_ymd] => 2025-01-07 00:31:04
[RateCDR] => 1
)
[2025-01-07 00:31:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 21:31:04' and `end` < '2025-01-07 00:31:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 00:31:04] Production.INFO: Date 2025-01-01
[2025-01-07 00:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:31:04] Production.INFO: Date 2025-01-02
[2025-01-07 00:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:31:04] Production.INFO: Date 2025-01-03
[2025-01-07 00:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:31:04] Production.INFO: Date 2025-01-04
[2025-01-07 00:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:31:04] Production.INFO: Date 2025-01-05
[2025-01-07 00:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:31:04] Production.INFO: Date 2025-01-06
[2025-01-07 00:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:31:04] Production.INFO: Date 2025-01-07
[2025-01-07 00:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:31:05] Production.INFO: Total Charge 0
[2025-01-07 00:31:05] Production.INFO: CreateAllLog End
[2025-01-07 00:31:05] Production.INFO: Account Balance End.
[2025-01-07 00:31:05] Production.ERROR: CronJobId end 12
[2025-01-07 00:31:05] Production.INFO: ==13445== Releasing lock...
[2025-01-07 00:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:31:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:31:11] Production.ERROR: CronJobId end10
[2025-01-07 00:31:11] Production.INFO: ==13443== Releasing lock...
[2025-01-07 00:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:31:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:31:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:31:13] Production.INFO: call_cost start
[2025-01-07 00:31:13] Production.INFO: call_cost end
[2025-01-07 00:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:31:14] Production.INFO: ==13439== Releasing lock...
[2025-01-07 00:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:31:17] Production.INFO: count ==134
[2025-01-07 00:31:17] Production.ERROR: pbx CDR StartTime 2025-01-06 21:31:04 - End Time 2025-01-07 00:31:04
[2025-01-07 00:31:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191242', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191242', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191242', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191242', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:31:17] Production.INFO: ProcessCDR(1,14191242,1,1,2)
[2025-01-07 00:31:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191242,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:31:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191242,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:31:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191242,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:31:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191242,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:31:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191242', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:31:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191242', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:31:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:31:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:31:20] Production.INFO: ==13447== Releasing lock...
[2025-01-07 00:31:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:31:20] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 05:32:01] Production.INFO: ==13506== Lock acquired, processing the job...
[2025-01-07 05:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:32:01] Production.INFO: neon service started
[2025-01-07 05:32:01] Production.INFO: neon service started
[2025-01-07 05:32:01] Production.INFO: ==13506== Releasing lock...
[2025-01-07 05:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:32:02] Production.INFO: ==13510== Lock acquired, processing the job...
[2025-01-07 05:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:32:02] Production.INFO: ==13510== Releasing lock...
[2025-01-07 05:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:32:02] Production.INFO: ==13508== Lock acquired, processing the job...
[2025-01-07 00:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:32:02] Production.INFO: ==13508== Releasing lock...
[2025-01-07 00:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:32:03] Production.INFO: ==13512== Lock acquired, processing the job...
[2025-01-07 00:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:32:03] Production.INFO: ==13518== Lock acquired, processing the job...
[2025-01-07 00:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:32:03] Production.INFO: ==13520== Lock acquired, processing the job...
[2025-01-07 00:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:32:03] Production.INFO: Account Balance Start.
[2025-01-07 00:32:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:32:03] Production.INFO: 117
[2025-01-07 00:32:03] Production.INFO: Date 2024-12-08
[2025-01-07 00:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:32:03] Production.INFO: ==13514== Lock acquired, processing the job...
[2025-01-07 00:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:32:03] Production.INFO: Date 2024-12-09
[2025-01-07 00:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:32:03] Production.INFO: Date 2024-12-10
[2025-01-07 00:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:32:03] Production.INFO: Date 2024-12-11
[2025-01-07 00:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:32:03] Production.INFO: ==13516== Lock acquired, processing the job...
[2025-01-07 00:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:32:03] Production.INFO: Date 2024-12-12
[2025-01-07 00:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:32:03] Production.INFO: ==13522== Lock acquired, processing the job...
[2025-01-07 00:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:32:03] Production.INFO: Date 2024-12-13
[2025-01-07 00:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:32:03] Production.ERROR: done
[2025-01-07 00:32:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:32:03] Production.INFO: Date 2024-12-14
[2025-01-07 00:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:32:04] Production.INFO: Date 2024-12-15
[2025-01-07 00:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 00:32:04] Production.ERROR: done
[2025-01-07 00:32:04] Production.INFO: Date 2024-12-16
[2025-01-07 00:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:32:04] Production.INFO: count ==21
[2025-01-07 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-07 00:32:04] Production.INFO: count ==21
[2025-01-07 00:32:04] Production.INFO: Date 2024-12-17
[2025-01-07 00:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191246') start
[2025-01-07 00:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:32:04] Production.INFO: Date 2024-12-18
[2025-01-07 00:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:32:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:32:04] Production.INFO: ==13514== Releasing lock...
[2025-01-07 00:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:32:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:32:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:32:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:32:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191246') end
[2025-01-07 00:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:32:04] Production.INFO: 1
[2025-01-07 00:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:32:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:32:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:32:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:32:04] Production.INFO: Date 2024-12-27
[2025-01-07 00:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:32:04] Production.INFO: ==13522== Releasing lock...
[2025-01-07 00:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:32:04] Production.INFO: Date 2024-12-28
[2025-01-07 00:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:32:04] Production.INFO: Date 2024-12-29
[2025-01-07 00:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:32:04] Production.INFO: Date 2024-12-30
[2025-01-07 00:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:32:04] Production.INFO: Date 2024-12-31
[2025-01-07 00:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:32:04] Production.INFO: Date 2025-01-01
[2025-01-07 00:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:32:04] Production.INFO: Date 2025-01-02
[2025-01-07 00:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:32:04] Production.INFO: Date 2025-01-03
[2025-01-07 00:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:32:04] Production.INFO: Date 2025-01-04
[2025-01-07 00:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:32:04] Production.INFO: Date 2025-01-05
[2025-01-07 00:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:32:04] Production.INFO: Date 2025-01-06
[2025-01-07 00:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:32:04] Production.INFO: Date 2025-01-07
[2025-01-07 00:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:32:04] Production.INFO: Total Charge 0
[2025-01-07 00:32:04] Production.INFO: CreateAllLog End
[2025-01-07 00:32:04] Production.INFO: Account Balance End.
[2025-01-07 00:32:04] Production.ERROR: CronJobId end 12
[2025-01-07 00:32:04] Production.INFO: ==13518== Releasing lock...
[2025-01-07 00:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:32:05
[end_date_ymd] => 2025-01-07 00:32:05
[RateCDR] => 1
)
[2025-01-07 00:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 21:32:05' and `end` < '2025-01-07 00:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 00:32:10] Production.ERROR: CronJobId end10
[2025-01-07 00:32:10] Production.INFO: ==13516== Releasing lock...
[2025-01-07 00:32:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:32:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:32:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:32:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:32:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:32:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:32:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:32:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:32:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:32:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:32:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:32:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:32:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:32:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:32:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:32:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:32:13] Production.INFO: call_cost start
[2025-01-07 00:32:13] Production.INFO: call_cost end
[2025-01-07 00:32:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:32:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:32:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:32:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:32:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:32:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:32:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:32:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:32:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:32:13] Production.INFO: ==13512== Releasing lock...
[2025-01-07 00:32:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:32:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:32:18] Production.INFO: count ==130
[2025-01-07 00:32:18] Production.ERROR: pbx CDR StartTime 2025-01-06 21:32:05 - End Time 2025-01-07 00:32:05
[2025-01-07 00:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191247', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191247', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191247', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191247', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:32:18] Production.INFO: ProcessCDR(1,14191247,1,1,2)
[2025-01-07 00:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191247,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191247,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191247,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191247,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191247', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191247', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:32:21] Production.INFO: ==13520== Releasing lock...
[2025-01-07 00:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:32:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 05:33:02] Production.INFO: ==13580== Lock acquired, processing the job...
[2025-01-07 05:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:33:02] Production.INFO: neon service started
[2025-01-07 05:33:02] Production.INFO: neon service started
[2025-01-07 05:33:02] Production.INFO: ==13580== Releasing lock...
[2025-01-07 05:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:33:02] Production.INFO: ==13582== Lock acquired, processing the job...
[2025-01-07 00:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:33:02] Production.INFO: ==13584== Lock acquired, processing the job...
[2025-01-07 05:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:33:02] Production.INFO: ==13584== Releasing lock...
[2025-01-07 05:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:33:03] Production.INFO: ==13582== Releasing lock...
[2025-01-07 00:33:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:33:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:33:03] Production.INFO: ==13589== Lock acquired, processing the job...
[2025-01-07 00:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:33:04] Production.INFO: ==13597== Lock acquired, processing the job...
[2025-01-07 00:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:33:04] Production.INFO: ==13587== Lock acquired, processing the job...
[2025-01-07 00:33:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:33:04] Production.INFO: ==13591== Lock acquired, processing the job...
[2025-01-07 00:33:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:33:04] Production.INFO: count ==21
[2025-01-07 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-07 00:33:04] Production.INFO: count ==21
[2025-01-07 00:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191249') start
[2025-01-07 00:33:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:33:04] Production.INFO: ==13593== Lock acquired, processing the job...
[2025-01-07 00:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:33:04] Production.INFO: ==13589== Releasing lock...
[2025-01-07 00:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:33:04] Production.INFO: ==13595== Lock acquired, processing the job...
[2025-01-07 00:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191249') end
[2025-01-07 00:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:33:04] Production.INFO: 1
[2025-01-07 00:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:33:04] Production.INFO: ==13597== Releasing lock...
[2025-01-07 00:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:33:04] Production.INFO: Account Balance Start.
[2025-01-07 00:33:04] Production.INFO: CreateAllLog Start
[2025-01-07 00:33:04] Production.INFO: 117
[2025-01-07 00:33:04] Production.INFO: Date 2024-12-08
[2025-01-07 00:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:33:04] Production.INFO: Date 2024-12-09
[2025-01-07 00:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:33:04] Production.INFO: Date 2024-12-10
[2025-01-07 00:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:33:04] Production.INFO: Date 2024-12-11
[2025-01-07 00:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:33:04] Production.INFO: Date 2024-12-12
[2025-01-07 00:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:33:04] Production.INFO: Date 2024-12-13
[2025-01-07 00:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:33:04] Production.INFO: Date 2024-12-14
[2025-01-07 00:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:33:04] Production.INFO: Date 2024-12-15
[2025-01-07 00:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:33:04] Production.INFO: Date 2024-12-16
[2025-01-07 00:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:33:04] Production.INFO: Date 2024-12-17
[2025-01-07 00:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:33:04] Production.INFO: Date 2024-12-18
[2025-01-07 00:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:33:04] Production.ERROR: done
[2025-01-07 00:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:33:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:33:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:33:05] Production.ERROR: done
[2025-01-07 00:33:05] Production.INFO: Date 2024-12-21
[2025-01-07 00:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:33:05] Production.INFO: Date 2024-12-22
[2025-01-07 00:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:33:05] Production.INFO: Date 2024-12-23
[2025-01-07 00:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:33:05] Production.INFO: Date 2024-12-24
[2025-01-07 00:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:33:05] Production.INFO: Date 2024-12-25
[2025-01-07 00:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:33:05] Production.INFO: Date 2024-12-26
[2025-01-07 00:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:33:05] Production.INFO: Date 2024-12-27
[2025-01-07 00:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:33:05] Production.INFO: Date 2024-12-28
[2025-01-07 00:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:33:05] Production.INFO: Date 2024-12-29
[2025-01-07 00:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:33:05] Production.INFO: Date 2024-12-30
[2025-01-07 00:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:33:05] Production.INFO: Date 2024-12-31
[2025-01-07 00:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:33:05] Production.INFO: Date 2025-01-01
[2025-01-07 00:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:33:05] Production.INFO: Date 2025-01-02
[2025-01-07 00:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:33:05] Production.INFO: Date 2025-01-03
[2025-01-07 00:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:33:05] Production.INFO: Date 2025-01-04
[2025-01-07 00:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:33:05] Production.INFO: Date 2025-01-05
[2025-01-07 00:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:33:05] Production.INFO: Date 2025-01-06
[2025-01-07 00:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:33:05] Production.INFO: Date 2025-01-07
[2025-01-07 00:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:33:05] Production.INFO: Total Charge 0
[2025-01-07 00:33:05] Production.INFO: CreateAllLog End
[2025-01-07 00:33:05] Production.INFO: Account Balance End.
[2025-01-07 00:33:05] Production.ERROR: CronJobId end 12
[2025-01-07 00:33:05] Production.INFO: ==13593== Releasing lock...
[2025-01-07 00:33:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:33:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:33:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:33:06
[end_date_ymd] => 2025-01-07 00:33:06
[RateCDR] => 1
)
[2025-01-07 00: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-06 21:33:06' and `end` < '2025-01-07 00: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-07 00:33:12] Production.ERROR: CronJobId end10
[2025-01-07 00:33:12] Production.INFO: ==13591== Releasing lock...
[2025-01-07 00:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:33:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:33:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:33:14] Production.INFO: call_cost start
[2025-01-07 00:33:14] Production.INFO: call_cost end
[2025-01-07 00:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:33:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:33:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:33:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:33:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:33:15] Production.INFO: ==13587== Releasing lock...
[2025-01-07 00:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:33:19] Production.INFO: count ==133
[2025-01-07 00:33:19] Production.ERROR: pbx CDR StartTime 2025-01-06 21:33:06 - End Time 2025-01-07 00:33:06
[2025-01-07 00:33:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191252', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191252', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191252', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191252', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:33:19] Production.INFO: ProcessCDR(1,14191252,1,1,2)
[2025-01-07 00:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191252,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:33:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191252,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:33:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191252,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191252,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191252', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191252', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:33:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:33:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:33:22] Production.INFO: ==13595== Releasing lock...
[2025-01-07 00:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:33:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 05:34:01] Production.INFO: ==13651== Lock acquired, processing the job...
[2025-01-07 05:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:34:01] Production.INFO: neon service started
[2025-01-07 05:34:01] Production.INFO: neon service started
[2025-01-07 05:34:01] Production.INFO: ==13651== Releasing lock...
[2025-01-07 05:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:34:02] Production.INFO: ==13655== Lock acquired, processing the job...
[2025-01-07 05:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:34:02] Production.INFO: ==13655== Releasing lock...
[2025-01-07 05:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:34:02] Production.INFO: ==13653== Lock acquired, processing the job...
[2025-01-07 00:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:34:02] Production.INFO: ==13653== Releasing lock...
[2025-01-07 00:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:34:03] Production.INFO: ==13664== Lock acquired, processing the job...
[2025-01-07 00:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:34:03] Production.INFO: Account Balance Start.
[2025-01-07 00:34:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:34:03] Production.INFO: 117
[2025-01-07 00:34:03] Production.INFO: Date 2024-12-08
[2025-01-07 00:34:03] Production.INFO: ==13668== Lock acquired, processing the job...
[2025-01-07 00:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:34:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:34:03] Production.INFO: Date 2024-12-09
[2025-01-07 00:34:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:34:03] Production.INFO: ==13658== Lock acquired, processing the job...
[2025-01-07 00:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:34:03] Production.INFO: Date 2024-12-10
[2025-01-07 00:34:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:34:03] Production.INFO: Date 2024-12-11
[2025-01-07 00:34:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:34:03] Production.INFO: count ==21
[2025-01-07 00:34:03] Production.INFO: ==13660== Lock acquired, processing the job...
[2025-01-07 00:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:34:03] Production.INFO: count ==21
[2025-01-07 00:34:03] Production.INFO: ==13662== Lock acquired, processing the job...
[2025-01-07 00:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:34:03] Production.INFO: Date 2024-12-12
[2025-01-07 00:34:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191254') start
[2025-01-07 00:34:03] Production.INFO: ==13666== Lock acquired, processing the job...
[2025-01-07 00:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:34:03] Production.INFO: Date 2024-12-13
[2025-01-07 00:34:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191254') end
[2025-01-07 00:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:34:03] Production.INFO: 1
[2025-01-07 00:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:34:03] Production.INFO: Date 2024-12-14
[2025-01-07 00:34:03] Production.INFO: ==13668== Releasing lock...
[2025-01-07 00:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:34:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:34:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:34:03] Production.INFO: Date 2024-12-15
[2025-01-07 00:34:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:34:03] Production.INFO: Date 2024-12-16
[2025-01-07 00:34:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:34:03] Production.INFO: ==13660== Releasing lock...
[2025-01-07 00:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:34:03] Production.INFO: Date 2024-12-17
[2025-01-07 00:34:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:34:04] Production.INFO: Date 2024-12-18
[2025-01-07 00:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:34:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:34:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:34:04] Production.ERROR: done
[2025-01-07 00:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:34:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:34:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:34:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:34:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:34:04] Production.ERROR: done
[2025-01-07 00:34:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:34:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:34:04] Production.INFO: Date 2024-12-27
[2025-01-07 00:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:34:04] Production.INFO: Date 2024-12-28
[2025-01-07 00:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:34:04] Production.INFO: Date 2024-12-29
[2025-01-07 00:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:34:04] Production.INFO: Date 2024-12-30
[2025-01-07 00:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:34:04] Production.INFO: Date 2024-12-31
[2025-01-07 00:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:34:04] Production.INFO: Date 2025-01-01
[2025-01-07 00:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:34:04] Production.INFO: Date 2025-01-02
[2025-01-07 00:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:34:04] Production.INFO: Date 2025-01-03
[2025-01-07 00:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:34:04] Production.INFO: Date 2025-01-04
[2025-01-07 00:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:34:04] Production.INFO: Date 2025-01-05
[2025-01-07 00:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:34:04] Production.INFO: Date 2025-01-06
[2025-01-07 00:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:34:04] Production.INFO: Date 2025-01-07
[2025-01-07 00:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:34:04] Production.INFO: Total Charge 0
[2025-01-07 00:34:04] Production.INFO: CreateAllLog End
[2025-01-07 00:34:04] Production.INFO: Account Balance End.
[2025-01-07 00:34:04] Production.ERROR: CronJobId end 12
[2025-01-07 00:34:04] Production.INFO: ==13664== Releasing lock...
[2025-01-07 00:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:34:05
[end_date_ymd] => 2025-01-07 00:34:05
[RateCDR] => 1
)
[2025-01-07 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-06 21:34:05' and `end` < '2025-01-07 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-07 00:34:10] Production.ERROR: CronJobId end10
[2025-01-07 00:34:10] Production.INFO: ==13662== Releasing lock...
[2025-01-07 00:34:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:34:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:34:13] Production.INFO: call_cost start
[2025-01-07 00:34:13] Production.INFO: call_cost end
[2025-01-07 00:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:34:14] Production.INFO: ==13658== Releasing lock...
[2025-01-07 00:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:34:18] Production.INFO: count ==137
[2025-01-07 00:34:18] Production.ERROR: pbx CDR StartTime 2025-01-06 21:34:05 - End Time 2025-01-07 00:34:05
[2025-01-07 00:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191257', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191257', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191257', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191257', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:34:18] Production.INFO: ProcessCDR(1,14191257,1,1,2)
[2025-01-07 00:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191257,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191257,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191257,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191257,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191257', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191257', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:34:21] Production.INFO: ==13666== Releasing lock...
[2025-01-07 00:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:34:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 05:35:02] Production.INFO: ==13723== Lock acquired, processing the job...
[2025-01-07 05:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:35:02] Production.INFO: neon service started
[2025-01-07 05:35:02] Production.INFO: neon service started
[2025-01-07 05:35:02] Production.INFO: ==13723== Releasing lock...
[2025-01-07 05:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:35:02] Production.INFO: ==13725== Lock acquired, processing the job...
[2025-01-07 00:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:35:02] Production.INFO: ==13727== Lock acquired, processing the job...
[2025-01-07 05:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:35:02] Production.INFO: ==13727== Releasing lock...
[2025-01-07 05:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:35:02] Production.INFO: ==13725== Releasing lock...
[2025-01-07 00:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:35:03] Production.INFO: ==13730== Lock acquired, processing the job...
[2025-01-07 00:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:35:03] Production.INFO: ==13736== Lock acquired, processing the job...
[2025-01-07 00:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:35:03] Production.INFO: ==13738== Lock acquired, processing the job...
[2025-01-07 00:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:35:03] Production.INFO: Account Balance Start.
[2025-01-07 00:35:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:35:03] Production.INFO: 117
[2025-01-07 00:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:35:03] Production.INFO: Date 2024-12-08
[2025-01-07 00:35:03] Production.INFO: ==13732== Lock acquired, processing the job...
[2025-01-07 00:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:35:03] Production.INFO: Date 2024-12-09
[2025-01-07 00:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:35:03] Production.INFO: ==13734== Lock acquired, processing the job...
[2025-01-07 00:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:35:03] Production.INFO: Date 2024-12-10
[2025-01-07 00:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:35:03] Production.INFO: ==13740== Lock acquired, processing the job...
[2025-01-07 00:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:35:03] Production.INFO: Date 2024-12-11
[2025-01-07 00:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:35:03] Production.INFO: Date 2024-12-12
[2025-01-07 00:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:35:03] Production.INFO: Date 2024-12-13
[2025-01-07 00:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:35:04] Production.INFO: Date 2024-12-14
[2025-01-07 00:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:35:04] Production.INFO: Date 2024-12-15
[2025-01-07 00:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:35:04] Production.INFO: ==13732== Releasing lock...
[2025-01-07 00:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:35:04] Production.ERROR: done
[2025-01-07 00:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:35:04] Production.INFO: Date 2024-12-16
[2025-01-07 00:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:35:04] Production.INFO: count ==21
[2025-01-07 00:35:04] Production.INFO: Date 2024-12-17
[2025-01-07 00:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:35:04] Production.INFO: count ==21
[2025-01-07 00:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191261') start
[2025-01-07 00:35:04] Production.INFO: Date 2024-12-18
[2025-01-07 00:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:35:04] Production.ERROR: done
[2025-01-07 00:35:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:35:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191261') end
[2025-01-07 00:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:35:04] Production.INFO: 1
[2025-01-07 00:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:35:04] Production.INFO: ==13740== Releasing lock...
[2025-01-07 00:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:35:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:35:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:35:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:35:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:35:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:35:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:35:04] Production.INFO: Date 2024-12-27
[2025-01-07 00:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:35:04] Production.INFO: Date 2024-12-28
[2025-01-07 00:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:35:04] Production.INFO: Date 2024-12-29
[2025-01-07 00:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:35:04] Production.INFO: Date 2024-12-30
[2025-01-07 00:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:35:04] Production.INFO: Date 2024-12-31
[2025-01-07 00:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:35:04] Production.INFO: Date 2025-01-01
[2025-01-07 00:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:35:04] Production.INFO: Date 2025-01-02
[2025-01-07 00:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:35:04] Production.INFO: Date 2025-01-03
[2025-01-07 00:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:35:04] Production.INFO: Date 2025-01-04
[2025-01-07 00:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:35:05] Production.INFO: Date 2025-01-05
[2025-01-07 00:35:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:35:05] Production.INFO: Date 2025-01-06
[2025-01-07 00:35:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:35:05] Production.INFO: Date 2025-01-07
[2025-01-07 00:35:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:35:05] Production.INFO: Total Charge 0
[2025-01-07 00:35:05] Production.INFO: CreateAllLog End
[2025-01-07 00:35:05] Production.INFO: Account Balance End.
[2025-01-07 00:35:05] Production.ERROR: CronJobId end 12
[2025-01-07 00:35:05] Production.INFO: ==13736== Releasing lock...
[2025-01-07 00:35:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:35:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:35:05
[end_date_ymd] => 2025-01-07 00:35:05
[RateCDR] => 1
)
[2025-01-07 00:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 21:35:05' and `end` < '2025-01-07 00:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 00:35:11] Production.ERROR: CronJobId end10
[2025-01-07 00:35:11] Production.INFO: ==13734== Releasing lock...
[2025-01-07 00:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:35:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:35:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:35:13] Production.INFO: call_cost start
[2025-01-07 00:35:13] Production.INFO: call_cost end
[2025-01-07 00:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:35:14] Production.INFO: ==13730== Releasing lock...
[2025-01-07 00:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:35:18] Production.INFO: count ==137
[2025-01-07 00:35:18] Production.ERROR: pbx CDR StartTime 2025-01-06 21:35:05 - End Time 2025-01-07 00:35:05
[2025-01-07 00:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191262', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191262', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191262', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191262', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:35:18] Production.INFO: ProcessCDR(1,14191262,1,1,2)
[2025-01-07 00:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191262,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191262,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191262,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191262,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191262', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191262', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:35:21] Production.INFO: ==13738== Releasing lock...
[2025-01-07 00:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:35:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 05:36:01] Production.INFO: ==13800== Lock acquired, processing the job...
[2025-01-07 05:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:36:01] Production.INFO: neon service started
[2025-01-07 05:36:01] Production.INFO: neon service started
[2025-01-07 05:36:01] Production.INFO: ==13800== Releasing lock...
[2025-01-07 05:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:36:01] Production.INFO: ==13802== Lock acquired, processing the job...
[2025-01-07 00:36:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:36:02] Production.INFO: ==13802== Releasing lock...
[2025-01-07 00:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:36:02] Production.INFO: ==13804== Lock acquired, processing the job...
[2025-01-07 05:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:36:02] Production.INFO: ==13804== Releasing lock...
[2025-01-07 05:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:36:03] Production.INFO: ==13814== Lock acquired, processing the job...
[2025-01-07 00:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:36:03] Production.INFO: ==13806== Lock acquired, processing the job...
[2025-01-07 00:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:36:03] Production.INFO: ==13816== Lock acquired, processing the job...
[2025-01-07 00:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 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-07 00:36:03] Production.INFO: ==13808== Lock acquired, processing the job...
[2025-01-07 00:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:36:03] Production.INFO: count ==21
[2025-01-07 00:36:03] Production.INFO: ==13810== Lock acquired, processing the job...
[2025-01-07 00:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:36:03] Production.INFO: ==13812== Lock acquired, processing the job...
[2025-01-07 00:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 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-07 00:36:03] Production.INFO: count ==21
[2025-01-07 00:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191263') start
[2025-01-07 00:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:36:03] Production.INFO: Account Balance Start.
[2025-01-07 00:36:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:36:03] Production.INFO: 117
[2025-01-07 00:36:03] Production.ERROR: done
[2025-01-07 00:36:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191263') end
[2025-01-07 00:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:36:03] Production.INFO: 1
[2025-01-07 00:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:36:03] Production.INFO: Date 2024-12-08
[2025-01-07 00:36:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:36:03] Production.INFO: Date 2024-12-09
[2025-01-07 00:36:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:36:03] Production.INFO: ==13816== Releasing lock...
[2025-01-07 00:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:36:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:36:03] Production.INFO: ==13808== Releasing lock...
[2025-01-07 00:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:36:03] Production.INFO: Date 2024-12-10
[2025-01-07 00:36:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:36:03] Production.ERROR: done
[2025-01-07 00:36:03] Production.INFO: Date 2024-12-11
[2025-01-07 00:36:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:36:03] Production.INFO: Date 2024-12-12
[2025-01-07 00:36:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:36:03] Production.INFO: Date 2024-12-13
[2025-01-07 00:36:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:36:04] Production.INFO: Date 2024-12-14
[2025-01-07 00:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:36:04] Production.INFO: Date 2024-12-15
[2025-01-07 00:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:36:04] Production.INFO: Date 2024-12-16
[2025-01-07 00:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:36:04] Production.INFO: Date 2024-12-17
[2025-01-07 00:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:36:04] Production.INFO: Date 2024-12-18
[2025-01-07 00:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:36:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:36:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:36:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:36:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:36:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:36:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:36:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:36:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:36:04] Production.INFO: Date 2024-12-27
[2025-01-07 00:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:36:04] Production.INFO: Date 2024-12-28
[2025-01-07 00:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:36:04] Production.INFO: Date 2024-12-29
[2025-01-07 00:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:36:04] Production.INFO: Date 2024-12-30
[2025-01-07 00:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:36:04] Production.INFO: Date 2024-12-31
[2025-01-07 00:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:36:04] Production.INFO: Date 2025-01-01
[2025-01-07 00:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:36:04] Production.INFO: Date 2025-01-02
[2025-01-07 00:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:36:04] Production.INFO: Date 2025-01-03
[2025-01-07 00:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:36:04] Production.INFO: Date 2025-01-04
[2025-01-07 00:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:36:04] Production.INFO: Date 2025-01-05
[2025-01-07 00:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:36:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:36:04
[end_date_ymd] => 2025-01-07 00:36:04
[RateCDR] => 1
)
[2025-01-07 00: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-06 21:36:04' and `end` < '2025-01-07 00: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-07 00:36:04] Production.INFO: Date 2025-01-06
[2025-01-07 00:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:36:04] Production.INFO: Date 2025-01-07
[2025-01-07 00:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:36:04] Production.INFO: Total Charge 0
[2025-01-07 00:36:04] Production.INFO: CreateAllLog End
[2025-01-07 00:36:05] Production.INFO: Account Balance End.
[2025-01-07 00:36:05] Production.ERROR: CronJobId end 12
[2025-01-07 00:36:05] Production.INFO: ==13812== Releasing lock...
[2025-01-07 00:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:36:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:36:10] Production.ERROR: CronJobId end10
[2025-01-07 00:36:10] Production.INFO: ==13810== Releasing lock...
[2025-01-07 00:36:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:36:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:36:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:36:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:36:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:36:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:36:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:36:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:36:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:36:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:36:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:36:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:36:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:36:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:36:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:36:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:36:13] Production.INFO: call_cost start
[2025-01-07 00:36:13] Production.INFO: call_cost end
[2025-01-07 00:36:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:36:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:36:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:36:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:36:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:36:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:36:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:36:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:36:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:36:13] Production.INFO: ==13806== Releasing lock...
[2025-01-07 00:36:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:36:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:36:19] Production.INFO: count ==137
[2025-01-07 00:36:19] Production.ERROR: pbx CDR StartTime 2025-01-06 21:36:04 - End Time 2025-01-07 00:36:04
[2025-01-07 00:36:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191267', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191267', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191267', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191267', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:36:19] Production.INFO: ProcessCDR(1,14191267,1,1,2)
[2025-01-07 00:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191267,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191267,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191267,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191267,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191267', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191267', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:36:22] Production.INFO: ==13814== Releasing lock...
[2025-01-07 00:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:36:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 05:37:01] Production.INFO: ==13908== Lock acquired, processing the job...
[2025-01-07 05:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:37:01] Production.INFO: neon service started
[2025-01-07 05:37:01] Production.INFO: neon service started
[2025-01-07 05:37:01] Production.INFO: ==13908== Releasing lock...
[2025-01-07 05:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:37:02] Production.INFO: ==13910== Lock acquired, processing the job...
[2025-01-07 00:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:37:02] Production.INFO: ==13910== Releasing lock...
[2025-01-07 00:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:37:02] Production.INFO: ==13912== Lock acquired, processing the job...
[2025-01-07 05:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:37:02] Production.INFO: ==13912== Releasing lock...
[2025-01-07 05:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:37:03] Production.INFO: ==13923== Lock acquired, processing the job...
[2025-01-07 00:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:37:03] Production.INFO: ==13921== Lock acquired, processing the job...
[2025-01-07 00:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:37:03] Production.INFO: ==13915== Lock acquired, processing the job...
[2025-01-07 00:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:37:03] Production.INFO: ==13917== Lock acquired, processing the job...
[2025-01-07 00:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:37:03] Production.INFO: ==13919== Lock acquired, processing the job...
[2025-01-07 00:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:37:03] Production.INFO: Account Balance Start.
[2025-01-07 00:37:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:37:03] Production.INFO: 117
[2025-01-07 00:37:03] Production.INFO: Date 2024-12-08
[2025-01-07 00:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:37:03] Production.INFO: ==13925== Lock acquired, processing the job...
[2025-01-07 00:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:37:03] Production.INFO: Date 2024-12-09
[2025-01-07 00:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:37:03] Production.INFO: Date 2024-12-10
[2025-01-07 00:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:37:03] Production.ERROR: done
[2025-01-07 00:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:37:04] Production.INFO: count ==21
[2025-01-07 00:37:04] Production.INFO: Date 2024-12-11
[2025-01-07 00:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 00:37:04] Production.INFO: count ==21
[2025-01-07 00:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191271') start
[2025-01-07 00:37:04] Production.INFO: Date 2024-12-12
[2025-01-07 00:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:37:04] Production.INFO: Date 2024-12-13
[2025-01-07 00:37:04] Production.INFO: ==13917== Releasing lock...
[2025-01-07 00:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:37:04] Production.ERROR: done
[2025-01-07 00:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191271') end
[2025-01-07 00:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:37:04] Production.INFO: 1
[2025-01-07 00:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:37:04] Production.INFO: ==13925== Releasing lock...
[2025-01-07 00:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:37:04] Production.INFO: Date 2024-12-14
[2025-01-07 00:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:37:04] Production.INFO: Date 2024-12-15
[2025-01-07 00:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:37:04] Production.INFO: Date 2024-12-16
[2025-01-07 00:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:37:04] Production.INFO: Date 2024-12-17
[2025-01-07 00:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:37:04] Production.INFO: Date 2024-12-18
[2025-01-07 00:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:37:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:37:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:37:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:37:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:37:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:37:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:37:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:37:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:37:04] Production.INFO: Date 2024-12-27
[2025-01-07 00:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:37:04] Production.INFO: Date 2024-12-28
[2025-01-07 00:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:37:04] Production.INFO: Date 2024-12-29
[2025-01-07 00:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:37:04] Production.INFO: Date 2024-12-30
[2025-01-07 00:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:37:04] Production.INFO: Date 2024-12-31
[2025-01-07 00:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:37:04] Production.INFO: Date 2025-01-01
[2025-01-07 00:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:37:04] Production.INFO: Date 2025-01-02
[2025-01-07 00:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:37:04] Production.INFO: Date 2025-01-03
[2025-01-07 00:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:37:04] Production.INFO: Date 2025-01-04
[2025-01-07 00:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:37:04] Production.INFO: Date 2025-01-05
[2025-01-07 00:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:37:04] Production.INFO: Date 2025-01-06
[2025-01-07 00:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:37:04] Production.INFO: Date 2025-01-07
[2025-01-07 00:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:37:04] Production.INFO: Total Charge 0
[2025-01-07 00:37:04] Production.INFO: CreateAllLog End
[2025-01-07 00:37:05] Production.INFO: Account Balance End.
[2025-01-07 00:37:05] Production.ERROR: CronJobId end 12
[2025-01-07 00:37:05] Production.INFO: ==13921== Releasing lock...
[2025-01-07 00:37:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:37:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:37:05
[end_date_ymd] => 2025-01-07 00:37:05
[RateCDR] => 1
)
[2025-01-07 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-06 21:37:05' and `end` < '2025-01-07 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-07 00:37:11] Production.ERROR: CronJobId end10
[2025-01-07 00:37:11] Production.INFO: ==13919== Releasing lock...
[2025-01-07 00:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:37:13] Production.INFO: call_cost start
[2025-01-07 00:37:13] Production.INFO: call_cost end
[2025-01-07 00:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:37:14] Production.INFO: ==13915== Releasing lock...
[2025-01-07 00:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:37:18] Production.INFO: count ==137
[2025-01-07 00:37:18] Production.ERROR: pbx CDR StartTime 2025-01-06 21:37:05 - End Time 2025-01-07 00:37:05
[2025-01-07 00:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191272', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191272', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191272', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191272', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:37:18] Production.INFO: ProcessCDR(1,14191272,1,1,2)
[2025-01-07 00:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191272,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191272,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191272,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191272,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191272', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191272', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:37:21] Production.INFO: ==13923== Releasing lock...
[2025-01-07 00:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:37:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 05:38:01] Production.INFO: ==13979== Lock acquired, processing the job...
[2025-01-07 05:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:38:01] Production.INFO: neon service started
[2025-01-07 05:38:01] Production.INFO: neon service started
[2025-01-07 05:38:01] Production.INFO: ==13979== Releasing lock...
[2025-01-07 05:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:38:01] Production.INFO: ==13981== Lock acquired, processing the job...
[2025-01-07 00:38:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:38:02] Production.INFO: ==13981== Releasing lock...
[2025-01-07 00:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:38:02] Production.INFO: ==13983== Lock acquired, processing the job...
[2025-01-07 05:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:38:02] Production.INFO: ==13983== Releasing lock...
[2025-01-07 05:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:38:02] Production.INFO: ==13994== Lock acquired, processing the job...
[2025-01-07 00:38:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:38:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:38:03] Production.INFO: ==13996== Lock acquired, processing the job...
[2025-01-07 00:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:38:03] Production.ERROR: done
[2025-01-07 00:38:03] Production.INFO: ==13986== Lock acquired, processing the job...
[2025-01-07 00:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:38:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:38:03] Production.INFO: ==13988== Lock acquired, processing the job...
[2025-01-07 00:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:38:03] Production.INFO: ==13990== Lock acquired, processing the job...
[2025-01-07 00:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:38:03] Production.INFO: ==13992== Lock acquired, processing the job...
[2025-01-07 00:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:38:03] Production.INFO: count ==21
[2025-01-07 00:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:38:03] Production.INFO: count ==21
[2025-01-07 00:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191273') start
[2025-01-07 00:38:03] Production.ERROR: done
[2025-01-07 00:38:03] Production.INFO: Account Balance Start.
[2025-01-07 00:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:38:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191273') end
[2025-01-07 00:38:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:38:03] Production.INFO: 1
[2025-01-07 00:38:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:38:03] Production.INFO: 117
[2025-01-07 00:38:03] Production.INFO: Date 2024-12-08
[2025-01-07 00:38:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:38:03] Production.INFO: Date 2024-12-09
[2025-01-07 00:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:38:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:38:03] Production.INFO: ==13996== Releasing lock...
[2025-01-07 00:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:38:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:38:03] Production.INFO: Date 2024-12-10
[2025-01-07 00:38:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:38:03] Production.INFO: Date 2024-12-11
[2025-01-07 00:38:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:38:03] Production.INFO: Date 2024-12-12
[2025-01-07 00:38:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:38:03] Production.INFO: Date 2024-12-13
[2025-01-07 00:38:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:38:03] Production.INFO: Date 2024-12-14
[2025-01-07 00:38:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:38:03] Production.INFO: Date 2024-12-15
[2025-01-07 00:38:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:38:03] Production.INFO: ==13988== Releasing lock...
[2025-01-07 00:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:38:03] Production.INFO: Date 2024-12-16
[2025-01-07 00:38:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:38:03] Production.INFO: Date 2024-12-17
[2025-01-07 00:38:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:38:03] Production.INFO: Date 2024-12-18
[2025-01-07 00:38:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:38:03] Production.INFO: Date 2024-12-19
[2025-01-07 00:38:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:38:03] Production.INFO: Date 2024-12-20
[2025-01-07 00:38:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:38:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:38:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:38:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:38:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:38:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:38:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:38:04] Production.INFO: Date 2024-12-27
[2025-01-07 00:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:38:04] Production.INFO: Date 2024-12-28
[2025-01-07 00:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:38:04] Production.INFO: Date 2024-12-29
[2025-01-07 00:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:38:04] Production.INFO: Date 2024-12-30
[2025-01-07 00:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:38:04] Production.INFO: Date 2024-12-31
[2025-01-07 00:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:38:04] Production.INFO: Date 2025-01-01
[2025-01-07 00:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:38:04] Production.INFO: Date 2025-01-02
[2025-01-07 00:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:38:04] Production.INFO: Date 2025-01-03
[2025-01-07 00:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:38:04] Production.INFO: Date 2025-01-04
[2025-01-07 00:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:38:04] Production.INFO: Date 2025-01-05
[2025-01-07 00:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:38:04] Production.INFO: Date 2025-01-06
[2025-01-07 00:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:38:04] Production.INFO: Date 2025-01-07
[2025-01-07 00:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:38:04] Production.INFO: Total Charge 0
[2025-01-07 00:38:04] Production.INFO: CreateAllLog End
[2025-01-07 00:38:04] Production.INFO: Account Balance End.
[2025-01-07 00:38:04] Production.ERROR: CronJobId end 12
[2025-01-07 00:38:04] Production.INFO: ==13992== Releasing lock...
[2025-01-07 00:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:38:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:38:04
[end_date_ymd] => 2025-01-07 00:38:04
[RateCDR] => 1
)
[2025-01-07 00:38:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 21:38:04' and `end` < '2025-01-07 00:38:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 00:38:10] Production.ERROR: CronJobId end10
[2025-01-07 00:38:10] Production.INFO: ==13990== Releasing lock...
[2025-01-07 00:38:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:38:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:38:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:38:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:38:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:38:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:38:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:38:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:38:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:38:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:38:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:38:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:38:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:38:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:38:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:38:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:38:12] Production.INFO: call_cost start
[2025-01-07 00:38:12] Production.INFO: call_cost end
[2025-01-07 00:38:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:38:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:38:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:38:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:38:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:38:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:38:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:38:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:38:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:38:13] Production.INFO: ==13986== Releasing lock...
[2025-01-07 00:38:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:38:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:38:17] Production.INFO: count ==137
[2025-01-07 00:38:17] Production.ERROR: pbx CDR StartTime 2025-01-06 21:38:04 - End Time 2025-01-07 00:38:04
[2025-01-07 00:38:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191277', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191277', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191277', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191277', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:38:17] Production.INFO: ProcessCDR(1,14191277,1,1,2)
[2025-01-07 00:38:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191277,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:38:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191277,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:38:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191277,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:38:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191277,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:38:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191277', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:38:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191277', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:38:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:38:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:38:20] Production.INFO: ==13994== Releasing lock...
[2025-01-07 00:38:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:38:20] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 05:39:01] Production.INFO: ==14052== Lock acquired, processing the job...
[2025-01-07 05:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:39:01] Production.INFO: neon service started
[2025-01-07 05:39:01] Production.INFO: neon service started
[2025-01-07 05:39:01] Production.INFO: ==14052== Releasing lock...
[2025-01-07 05:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:39:02] Production.INFO: ==14054== Lock acquired, processing the job...
[2025-01-07 00:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:39:02] Production.INFO: ==14054== Releasing lock...
[2025-01-07 00:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:39:02] Production.INFO: ==14056== Lock acquired, processing the job...
[2025-01-07 05:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:39:02] Production.INFO: ==14056== Releasing lock...
[2025-01-07 05:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:39:03] Production.INFO: ==14059== Lock acquired, processing the job...
[2025-01-07 00:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:39:03] Production.INFO: ==14063== Lock acquired, processing the job...
[2025-01-07 00:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:39:03] Production.INFO: ==14061== Lock acquired, processing the job...
[2025-01-07 00:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:39:03] Production.INFO: ==14069== Lock acquired, processing the job...
[2025-01-07 00:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:39:03] Production.INFO: ==14065== Lock acquired, processing the job...
[2025-01-07 00:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:39:03] Production.INFO: ==14067== Lock acquired, processing the job...
[2025-01-07 00:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:39:03] Production.INFO: Account Balance Start.
[2025-01-07 00:39:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:39:03] Production.INFO: 117
[2025-01-07 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-07 00:39:03] Production.INFO: Date 2024-12-08
[2025-01-07 00:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:39:03] Production.INFO: count ==21
[2025-01-07 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-07 00:39:03] Production.INFO: count ==21
[2025-01-07 00:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191281') start
[2025-01-07 00:39:03] Production.INFO: Date 2024-12-09
[2025-01-07 00:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:39:03] Production.ERROR: done
[2025-01-07 00:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:39:03] Production.INFO: Date 2024-12-10
[2025-01-07 00:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:39:03] Production.INFO: Date 2024-12-11
[2025-01-07 00:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:39:04] Production.INFO: ==14061== Releasing lock...
[2025-01-07 00:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:39:04] Production.INFO: Date 2024-12-12
[2025-01-07 00:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191281') end
[2025-01-07 00:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:39:04] Production.INFO: 1
[2025-01-07 00:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:39:04] Production.INFO: Date 2024-12-13
[2025-01-07 00:39:04] Production.ERROR: done
[2025-01-07 00:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:39:04] Production.INFO: ==14069== Releasing lock...
[2025-01-07 00:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:39:04] Production.INFO: Date 2024-12-14
[2025-01-07 00:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:39:04] Production.INFO: Date 2024-12-15
[2025-01-07 00:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:39:04] Production.INFO: Date 2024-12-16
[2025-01-07 00:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:39:04] Production.INFO: Date 2024-12-17
[2025-01-07 00:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:39:04] Production.INFO: Date 2024-12-18
[2025-01-07 00:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:39:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:39:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:39:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:39:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:39:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:39:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:39:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:39:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:39:04] Production.INFO: Date 2024-12-27
[2025-01-07 00:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:39:04] Production.INFO: Date 2024-12-28
[2025-01-07 00:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:39:04] Production.INFO: Date 2024-12-29
[2025-01-07 00:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:39:04] Production.INFO: Date 2024-12-30
[2025-01-07 00:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:39:04] Production.INFO: Date 2024-12-31
[2025-01-07 00:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:39:04] Production.INFO: Date 2025-01-01
[2025-01-07 00:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:39:04] Production.INFO: Date 2025-01-02
[2025-01-07 00:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:39:04] Production.INFO: Date 2025-01-03
[2025-01-07 00:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:39:04] Production.INFO: Date 2025-01-04
[2025-01-07 00:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:39:04] Production.INFO: Date 2025-01-05
[2025-01-07 00:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:39:04] Production.INFO: Date 2025-01-06
[2025-01-07 00:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:39:04] Production.INFO: Date 2025-01-07
[2025-01-07 00:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:39:04] Production.INFO: Total Charge 0
[2025-01-07 00:39:05] Production.INFO: CreateAllLog End
[2025-01-07 00:39:05] Production.INFO: Account Balance End.
[2025-01-07 00:39:05] Production.ERROR: CronJobId end 12
[2025-01-07 00:39:05] Production.INFO: ==14065== Releasing lock...
[2025-01-07 00:39:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:39:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:39:05
[end_date_ymd] => 2025-01-07 00:39:05
[RateCDR] => 1
)
[2025-01-07 00:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 21:39:05' and `end` < '2025-01-07 00:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 00:39:11] Production.ERROR: CronJobId end10
[2025-01-07 00:39:11] Production.INFO: ==14063== Releasing lock...
[2025-01-07 00:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:39:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:39:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:39:14] Production.INFO: call_cost start
[2025-01-07 00:39:14] Production.INFO: call_cost end
[2025-01-07 00:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:39:14] Production.INFO: ==14059== Releasing lock...
[2025-01-07 00:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:39:18] Production.INFO: count ==137
[2025-01-07 00:39:18] Production.ERROR: pbx CDR StartTime 2025-01-06 21:39:05 - End Time 2025-01-07 00:39:05
[2025-01-07 00:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191282', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191282', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191282', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191282', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:39:18] Production.INFO: ProcessCDR(1,14191282,1,1,2)
[2025-01-07 00:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191282,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191282,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191282,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191282,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191282', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191282', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:39:21] Production.INFO: ==14067== Releasing lock...
[2025-01-07 00:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:39:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 05:40:02] Production.INFO: ==14125== Lock acquired, processing the job...
[2025-01-07 05:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:40:02] Production.INFO: neon service started
[2025-01-07 05:40:02] Production.INFO: neon service started
[2025-01-07 05:40:02] Production.INFO: ==14125== Releasing lock...
[2025-01-07 05:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:40:02] Production.INFO: ==14128== Lock acquired, processing the job...
[2025-01-07 00:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:40:02] Production.INFO: ==14130== Lock acquired, processing the job...
[2025-01-07 05:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:40:02] Production.INFO: ==14128== Releasing lock...
[2025-01-07 00:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:40:03] Production.INFO: ==14130== Releasing lock...
[2025-01-07 05:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:40:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:40:03] Production.INFO: ==14132== Lock acquired, processing the job...
[2025-01-07 00:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 00:40:03] Production.INFO: ==14134== Lock acquired, processing the job...
[2025-01-07 00:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 00:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 00:40:04] Production.ERROR: CronJob PID - 14134
[2025-01-07 00:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-07 00:40:04] Production.ERROR: CronJob ID - 5
[2025-01-07 00:40:04] Production.ERROR: CronJob Last Run Time 2025-01-07 00:40:00
[2025-01-07 00:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 00:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 00:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 00:40:04] Production.INFO: ==14132== Releasing lock...
[2025-01-07 00:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 00:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 00:40:04] Production.INFO: ==14138== Lock acquired, processing the job...
[2025-01-07 00:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:40:04] Production.INFO: ==14136== Lock acquired, processing the job...
[2025-01-07 00:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:40:04] Production.INFO: ==14142== Lock acquired, processing the job...
[2025-01-07 00:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:40:04] Production.INFO: ==14140== Lock acquired, processing the job...
[2025-01-07 00:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:40:04] Production.INFO: ==14144== Lock acquired, processing the job...
[2025-01-07 00:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 00:40:04] Production.INFO: ==14146== Lock acquired, processing the job...
[2025-01-07 00:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:40:04] Production.INFO: Account Balance Start.
[2025-01-07 00:40:04] Production.INFO: CreateAllLog Start
[2025-01-07 00:40:04] Production.INFO: 117
[2025-01-07 00:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:40:04] Production.INFO: Date 2024-12-08
[2025-01-07 00:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 00:40:04] Production.INFO: Date 2024-12-09
[2025-01-07 00:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:40:04] Production.INFO: Date 2024-12-10
[2025-01-07 00:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:40:04] Production.INFO: count ==21
[2025-01-07 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-07 00:40:04] Production.INFO: count ==21
[2025-01-07 00:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191286') start
[2025-01-07 00:40:04] Production.INFO: Date 2024-12-11
[2025-01-07 00:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:40:04] Production.ERROR: done
[2025-01-07 00:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:40:04] Production.INFO: ==14136== Releasing lock...
[2025-01-07 00:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:40:04] Production.INFO: Date 2024-12-12
[2025-01-07 00:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:40:04] Production.INFO: Date 2024-12-13
[2025-01-07 00:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:40:04] Production.INFO: Date 2024-12-14
[2025-01-07 00:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191286') end
[2025-01-07 00:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:40:04] Production.INFO: 1
[2025-01-07 00:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:40:04] Production.INFO: Date 2024-12-15
[2025-01-07 00:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:40:04] Production.INFO: ==14146== Releasing lock...
[2025-01-07 00:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:40:04] Production.ERROR: done
[2025-01-07 00:40:04] Production.ERROR: done
[2025-01-07 00:40:05] Production.INFO: Date 2024-12-16
[2025-01-07 00:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 00:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14191288', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 00:40:05] Production.INFO: Date 2024-12-17
[2025-01-07 00:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:40:05] Production.INFO: Date 2024-12-18
[2025-01-07 00:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:40:05] Production.INFO: Date 2024-12-19
[2025-01-07 00:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:40:05] Production.INFO: Date 2024-12-20
[2025-01-07 00:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:40:05] Production.INFO: Date 2024-12-21
[2025-01-07 00:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:40:05] Production.INFO: Date 2024-12-22
[2025-01-07 00:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:40:05] Production.INFO: Date 2024-12-23
[2025-01-07 00:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:40:05] Production.INFO: Date 2024-12-24
[2025-01-07 00:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:40:05] Production.INFO: Date 2024-12-25
[2025-01-07 00:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:40:05] Production.INFO: Date 2024-12-26
[2025-01-07 00:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:40:05] Production.INFO: Date 2024-12-27
[2025-01-07 00:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:40:05] Production.INFO: Date 2024-12-28
[2025-01-07 00:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:40:05] Production.INFO: Date 2024-12-29
[2025-01-07 00:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:40:05] Production.INFO: Date 2024-12-30
[2025-01-07 00:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:40:05] Production.INFO: Date 2024-12-31
[2025-01-07 00:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:40:05] Production.INFO: Date 2025-01-01
[2025-01-07 00:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:40:05] Production.INFO: Date 2025-01-02
[2025-01-07 00:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:40:05] Production.INFO: Date 2025-01-03
[2025-01-07 00:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:40:05] Production.INFO: Date 2025-01-04
[2025-01-07 00:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:40:05] Production.INFO: Date 2025-01-05
[2025-01-07 00:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:40:05] Production.INFO: Date 2025-01-06
[2025-01-07 00:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:40:05] Production.INFO: Date 2025-01-07
[2025-01-07 00:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:40:05] Production.INFO: Total Charge 0
[2025-01-07 00:40:05] Production.INFO: CreateAllLog End
[2025-01-07 00:40:05] Production.INFO: Account Balance End.
[2025-01-07 00:40:05] Production.ERROR: CronJobId end 12
[2025-01-07 00:40:05] Production.INFO: ==14140== Releasing lock...
[2025-01-07 00:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:40:06
[end_date_ymd] => 2025-01-07 00:40:06
[RateCDR] => 1
)
[2025-01-07 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-06 21:40:06' and `end` < '2025-01-07 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-07 00:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14191288', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 00:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 00:40:09] Production.INFO: ProcessCDR(1,14191288,1,1,2)
[2025-01-07 00:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14191288,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14191288,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:40:09] Production.INFO: ==14144== Releasing lock...
[2025-01-07 00:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 00:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-07 00:40:13] Production.ERROR: CronJobId end10
[2025-01-07 00:40:13] Production.INFO: ==14138== Releasing lock...
[2025-01-07 00:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:40:14] Production.INFO: call_cost start
[2025-01-07 00:40:14] Production.INFO: call_cost end
[2025-01-07 00:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:40:15] Production.INFO: ==14134== Releasing lock...
[2025-01-07 00:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:40:19] Production.INFO: count ==147
[2025-01-07 00:40:19] Production.ERROR: pbx CDR StartTime 2025-01-06 21:40:06 - End Time 2025-01-07 00:40:06
[2025-01-07 00:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191287', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191287', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191287', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191287', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:40:19] Production.INFO: ProcessCDR(1,14191287,1,1,2)
[2025-01-07 00:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191287,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191287,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191287,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191287,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191287', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191287', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:40:22] Production.INFO: ==14142== Releasing lock...
[2025-01-07 00:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:40:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 05:41:01] Production.INFO: ==14198== Lock acquired, processing the job...
[2025-01-07 05:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:41:01] Production.INFO: neon service started
[2025-01-07 05:41:01] Production.INFO: neon service started
[2025-01-07 05:41:01] Production.INFO: ==14198== Releasing lock...
[2025-01-07 05:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:41:02] Production.INFO: ==14203== Lock acquired, processing the job...
[2025-01-07 05:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:41:02] Production.INFO: ==14203== Releasing lock...
[2025-01-07 05:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:41:02] Production.INFO: ==14201== Lock acquired, processing the job...
[2025-01-07 00:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:41:02] Production.INFO: ==14201== Releasing lock...
[2025-01-07 00:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:41:03] Production.INFO: ==14209== Lock acquired, processing the job...
[2025-01-07 00:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:41:03] Production.INFO: ==14205== Lock acquired, processing the job...
[2025-01-07 00:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:41:03] Production.INFO: ==14207== Lock acquired, processing the job...
[2025-01-07 00:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:41:03] Production.INFO: ==14211== Lock acquired, processing the job...
[2025-01-07 00:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:41:03] Production.INFO: ==14213== Lock acquired, processing the job...
[2025-01-07 00:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:41:03] Production.INFO: ==14215== Lock acquired, processing the job...
[2025-01-07 00:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:41:03] Production.INFO: Account Balance Start.
[2025-01-07 00:41:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:41:03] Production.INFO: 117
[2025-01-07 00:41:03] Production.INFO: Date 2024-12-08
[2025-01-07 00:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:41:03] Production.INFO: count ==21
[2025-01-07 00:41:03] Production.INFO: ==14207== Releasing lock...
[2025-01-07 00:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:41:03] Production.INFO: count ==21
[2025-01-07 00:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191292') start
[2025-01-07 00:41:03] Production.ERROR: done
[2025-01-07 00:41:03] Production.INFO: Date 2024-12-09
[2025-01-07 00:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:41:04] Production.INFO: Date 2024-12-10
[2025-01-07 00:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:41:04] Production.INFO: Date 2024-12-11
[2025-01-07 00:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191292') end
[2025-01-07 00:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:41:04] Production.INFO: 1
[2025-01-07 00:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:41:04] Production.INFO: Date 2024-12-12
[2025-01-07 00:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:41:04] Production.INFO: ==14215== Releasing lock...
[2025-01-07 00:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:41:04] Production.ERROR: done
[2025-01-07 00:41:04] Production.INFO: Date 2024-12-13
[2025-01-07 00:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:41:04] Production.INFO: Date 2024-12-14
[2025-01-07 00:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:41:04] Production.INFO: Date 2024-12-15
[2025-01-07 00:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:41:04] Production.INFO: Date 2024-12-16
[2025-01-07 00:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:41:04] Production.INFO: Date 2024-12-17
[2025-01-07 00:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:41:04] Production.INFO: Date 2024-12-18
[2025-01-07 00:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:41:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:41:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:41:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:41:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:41:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:41:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:41:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:41:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:41:04] Production.INFO: Date 2024-12-27
[2025-01-07 00:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:41:04] Production.INFO: Date 2024-12-28
[2025-01-07 00:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:41:04] Production.INFO: Date 2024-12-29
[2025-01-07 00:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:41:04] Production.INFO: Date 2024-12-30
[2025-01-07 00:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:41:04] Production.INFO: Date 2024-12-31
[2025-01-07 00:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:41:04] Production.INFO: Date 2025-01-01
[2025-01-07 00:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:41:04] Production.INFO: Date 2025-01-02
[2025-01-07 00:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:41:04] Production.INFO: Date 2025-01-03
[2025-01-07 00:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:41:04] Production.INFO: Date 2025-01-04
[2025-01-07 00:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:41:04] Production.INFO: Date 2025-01-05
[2025-01-07 00:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:41:04] Production.INFO: Date 2025-01-06
[2025-01-07 00:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:41:05] Production.INFO: Date 2025-01-07
[2025-01-07 00:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:41:05] Production.INFO: Total Charge 0
[2025-01-07 00:41:05] Production.INFO: CreateAllLog End
[2025-01-07 00:41:05] Production.INFO: Account Balance End.
[2025-01-07 00:41:05] Production.ERROR: CronJobId end 12
[2025-01-07 00:41:05] Production.INFO: ==14211== Releasing lock...
[2025-01-07 00:41:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:41:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:41:05
[end_date_ymd] => 2025-01-07 00:41:05
[RateCDR] => 1
)
[2025-01-07 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-06 21:41:05' and `end` < '2025-01-07 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-07 00:41:11] Production.ERROR: CronJobId end10
[2025-01-07 00:41:11] Production.INFO: ==14209== Releasing lock...
[2025-01-07 00:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:41:13] Production.INFO: call_cost start
[2025-01-07 00:41:13] Production.INFO: call_cost end
[2025-01-07 00:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:41:14] Production.INFO: ==14205== Releasing lock...
[2025-01-07 00:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:41:18] Production.INFO: count ==151
[2025-01-07 00:41:18] Production.ERROR: pbx CDR StartTime 2025-01-06 21:41:05 - End Time 2025-01-07 00:41:05
[2025-01-07 00:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191293', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191293', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191293', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191293', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:41:18] Production.INFO: ProcessCDR(1,14191293,1,1,2)
[2025-01-07 00:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191293,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191293,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191293,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191293,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191293', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191293', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:41:21] Production.INFO: ==14213== Releasing lock...
[2025-01-07 00:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:41:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 05:42:02] Production.INFO: ==14269== Lock acquired, processing the job...
[2025-01-07 05:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:42:02] Production.INFO: neon service started
[2025-01-07 05:42:02] Production.INFO: neon service started
[2025-01-07 05:42:02] Production.INFO: ==14269== Releasing lock...
[2025-01-07 05:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:42:02] Production.INFO: ==14271== Lock acquired, processing the job...
[2025-01-07 00:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:42:02] Production.INFO: ==14271== Releasing lock...
[2025-01-07 00:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:42:02] Production.INFO: ==14273== Lock acquired, processing the job...
[2025-01-07 05:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:42:03] Production.INFO: ==14273== Releasing lock...
[2025-01-07 05:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:42:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:42:03] Production.INFO: ==14276== Lock acquired, processing the job...
[2025-01-07 00:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:42:03] Production.INFO: ==14278== Lock acquired, processing the job...
[2025-01-07 00:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:42:03] Production.INFO: ==14284== Lock acquired, processing the job...
[2025-01-07 00:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:42:03] Production.INFO: ==14280== Lock acquired, processing the job...
[2025-01-07 00:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:42:03] Production.INFO: ==14282== Lock acquired, processing the job...
[2025-01-07 00:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:42:04] Production.INFO: ==14278== Releasing lock...
[2025-01-07 00:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:42:04] Production.INFO: ==14286== Lock acquired, processing the job...
[2025-01-07 00:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:42:04] Production.INFO: Account Balance Start.
[2025-01-07 00:42:04] Production.INFO: CreateAllLog Start
[2025-01-07 00:42:04] Production.INFO: 117
[2025-01-07 00:42:04] Production.ERROR: done
[2025-01-07 00:42:04] Production.INFO: Date 2024-12-08
[2025-01-07 00:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:42:04] Production.INFO: count ==21
[2025-01-07 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-07 00:42:04] Production.INFO: count ==21
[2025-01-07 00:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191297') start
[2025-01-07 00:42:04] Production.INFO: Date 2024-12-09
[2025-01-07 00:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:42:04] Production.INFO: Date 2024-12-10
[2025-01-07 00:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:42:04] Production.ERROR: done
[2025-01-07 00:42:04] Production.INFO: Date 2024-12-11
[2025-01-07 00:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:42:04] Production.INFO: Date 2024-12-12
[2025-01-07 00:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191297') end
[2025-01-07 00:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:42:04] Production.INFO: 1
[2025-01-07 00:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:42:04] Production.INFO: ==14286== Releasing lock...
[2025-01-07 00:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:42:04] Production.INFO: Date 2024-12-13
[2025-01-07 00:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:42:04] Production.INFO: Date 2024-12-14
[2025-01-07 00:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:42:04] Production.INFO: Date 2024-12-15
[2025-01-07 00:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:42:04] Production.INFO: Date 2024-12-16
[2025-01-07 00:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:42:04] Production.INFO: Date 2024-12-17
[2025-01-07 00:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:42:04] Production.INFO: Date 2024-12-18
[2025-01-07 00:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:42:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:42:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:42:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:42:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:42:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:42:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:42:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:42:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:42:04] Production.INFO: Date 2024-12-27
[2025-01-07 00:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:42:05] Production.INFO: Date 2024-12-28
[2025-01-07 00:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:42:05] Production.INFO: Date 2024-12-29
[2025-01-07 00:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:42:05] Production.INFO: Date 2024-12-30
[2025-01-07 00:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:42:05] Production.INFO: Date 2024-12-31
[2025-01-07 00:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:42:05] Production.INFO: Date 2025-01-01
[2025-01-07 00:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:42:05] Production.INFO: Date 2025-01-02
[2025-01-07 00:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:42:05] Production.INFO: Date 2025-01-03
[2025-01-07 00:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:42:05] Production.INFO: Date 2025-01-04
[2025-01-07 00:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:42:05] Production.INFO: Date 2025-01-05
[2025-01-07 00:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:42:05] Production.INFO: Date 2025-01-06
[2025-01-07 00:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:42:05] Production.INFO: Date 2025-01-07
[2025-01-07 00:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:42:05] Production.INFO: Total Charge 0
[2025-01-07 00:42:05] Production.INFO: CreateAllLog End
[2025-01-07 00:42:05] Production.INFO: Account Balance End.
[2025-01-07 00:42:05] Production.ERROR: CronJobId end 12
[2025-01-07 00:42:05] Production.INFO: ==14282== Releasing lock...
[2025-01-07 00:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:42:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:42:05
[end_date_ymd] => 2025-01-07 00:42:05
[RateCDR] => 1
)
[2025-01-07 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-06 21:42:05' and `end` < '2025-01-07 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-07 00:42:11] Production.ERROR: CronJobId end10
[2025-01-07 00:42:11] Production.INFO: ==14280== Releasing lock...
[2025-01-07 00:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:42:14] Production.INFO: call_cost start
[2025-01-07 00:42:14] Production.INFO: call_cost end
[2025-01-07 00:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:42:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:42:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:42:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:42:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:42:15] Production.INFO: ==14276== Releasing lock...
[2025-01-07 00:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:42:18] Production.INFO: count ==151
[2025-01-07 00:42:18] Production.ERROR: pbx CDR StartTime 2025-01-06 21:42:05 - End Time 2025-01-07 00:42:05
[2025-01-07 00:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191298', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191298', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191298', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191298', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:42:18] Production.INFO: ProcessCDR(1,14191298,1,1,2)
[2025-01-07 00:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191298,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191298,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191298,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191298,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191298', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191298', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:42:21] Production.INFO: ==14284== Releasing lock...
[2025-01-07 00:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:42:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 05:43:01] Production.INFO: ==14342== Lock acquired, processing the job...
[2025-01-07 05:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:43:01] Production.INFO: neon service started
[2025-01-07 05:43:01] Production.INFO: neon service started
[2025-01-07 05:43:01] Production.INFO: ==14342== Releasing lock...
[2025-01-07 05:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:43:01] Production.INFO: ==14344== Lock acquired, processing the job...
[2025-01-07 00:43:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:43:02] Production.INFO: ==14344== Releasing lock...
[2025-01-07 00:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:43:02] Production.INFO: ==14346== Lock acquired, processing the job...
[2025-01-07 05:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:43:02] Production.INFO: ==14346== Releasing lock...
[2025-01-07 05:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:43:03] Production.INFO: ==14351== Lock acquired, processing the job...
[2025-01-07 00:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:43:03] Production.INFO: ==14349== Lock acquired, processing the job...
[2025-01-07 00:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:43:03] Production.INFO: ==14353== Lock acquired, processing the job...
[2025-01-07 00:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:43:03] Production.INFO: ==14355== Lock acquired, processing the job...
[2025-01-07 00:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:43:03] Production.INFO: ==14359== Lock acquired, processing the job...
[2025-01-07 00:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:43:03] Production.INFO: Account Balance Start.
[2025-01-07 00:43:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:43:03] Production.INFO: 117
[2025-01-07 00:43:03] Production.INFO: Date 2024-12-08
[2025-01-07 00:43:03] Production.INFO: ==14357== Lock acquired, processing the job...
[2025-01-07 00:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:43:03] Production.INFO: Date 2024-12-09
[2025-01-07 00:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:43:03] Production.INFO: ==14351== Releasing lock...
[2025-01-07 00:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:43:03] Production.INFO: Date 2024-12-10
[2025-01-07 00:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 00:43:03] Production.INFO: count ==21
[2025-01-07 00:43:03] Production.INFO: Date 2024-12-11
[2025-01-07 00:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 00:43:03] Production.INFO: Date 2024-12-12
[2025-01-07 00:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:43:03] Production.INFO: count ==21
[2025-01-07 00:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191302') start
[2025-01-07 00:43:03] Production.ERROR: done
[2025-01-07 00:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:43:03] Production.INFO: Date 2024-12-13
[2025-01-07 00:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:43:03] Production.ERROR: done
[2025-01-07 00:43:03] Production.INFO: Date 2024-12-14
[2025-01-07 00:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191302') end
[2025-01-07 00:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:43:03] Production.INFO: 1
[2025-01-07 00:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:43:03] Production.INFO: Date 2024-12-15
[2025-01-07 00:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:43:03] Production.INFO: ==14359== Releasing lock...
[2025-01-07 00:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:43:03] Production.INFO: Date 2024-12-16
[2025-01-07 00:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:43:03] Production.INFO: Date 2024-12-17
[2025-01-07 00:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:43:03] Production.INFO: Date 2024-12-18
[2025-01-07 00:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:43:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:43:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:43:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:43:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:43:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:43:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:43:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:43:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:43:04] Production.INFO: Date 2024-12-27
[2025-01-07 00:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:43:04] Production.INFO: Date 2024-12-28
[2025-01-07 00:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:43:04] Production.INFO: Date 2024-12-29
[2025-01-07 00:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:43:04] Production.INFO: Date 2024-12-30
[2025-01-07 00:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:43:04] Production.INFO: Date 2024-12-31
[2025-01-07 00:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:43:04] Production.INFO: Date 2025-01-01
[2025-01-07 00:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:43:04] Production.INFO: Date 2025-01-02
[2025-01-07 00:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:43:04] Production.INFO: Date 2025-01-03
[2025-01-07 00:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:43:04] Production.INFO: Date 2025-01-04
[2025-01-07 00:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:43:04] Production.INFO: Date 2025-01-05
[2025-01-07 00:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:43:04] Production.INFO: Date 2025-01-06
[2025-01-07 00:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:43:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:43:04
[end_date_ymd] => 2025-01-07 00:43:04
[RateCDR] => 1
)
[2025-01-07 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-06 21:43:04' and `end` < '2025-01-07 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-07 00:43:04] Production.INFO: Date 2025-01-07
[2025-01-07 00:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:43:05] Production.INFO: Total Charge 0
[2025-01-07 00:43:05] Production.INFO: CreateAllLog End
[2025-01-07 00:43:05] Production.INFO: Account Balance End.
[2025-01-07 00:43:05] Production.ERROR: CronJobId end 12
[2025-01-07 00:43:05] Production.INFO: ==14355== Releasing lock...
[2025-01-07 00:43:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:43:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:43:11] Production.ERROR: CronJobId end10
[2025-01-07 00:43:11] Production.INFO: ==14353== Releasing lock...
[2025-01-07 00:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:43:13] Production.INFO: call_cost start
[2025-01-07 00:43:13] Production.INFO: call_cost end
[2025-01-07 00:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:43:14] Production.INFO: ==14349== Releasing lock...
[2025-01-07 00:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:43:17] Production.INFO: count ==150
[2025-01-07 00:43:17] Production.ERROR: pbx CDR StartTime 2025-01-06 21:43:04 - End Time 2025-01-07 00:43:04
[2025-01-07 00:43:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191303', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191303', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191303', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191303', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:43:17] Production.INFO: ProcessCDR(1,14191303,1,1,2)
[2025-01-07 00:43:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191303,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:43:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191303,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:43:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191303,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:43:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191303,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:43:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191303', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:43:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191303', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:43:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:43:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:43:20] Production.INFO: ==14357== Releasing lock...
[2025-01-07 00:43:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:43:20] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 05:44:02] Production.INFO: ==14416== Lock acquired, processing the job...
[2025-01-07 05:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:44:02] Production.INFO: neon service started
[2025-01-07 05:44:02] Production.INFO: neon service started
[2025-01-07 05:44:02] Production.INFO: ==14416== Releasing lock...
[2025-01-07 05:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:44:02] Production.INFO: ==14418== Lock acquired, processing the job...
[2025-01-07 00:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:44:02] Production.INFO: ==14421== Lock acquired, processing the job...
[2025-01-07 05:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:44:02] Production.INFO: ==14421== Releasing lock...
[2025-01-07 05:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:44:02] Production.INFO: ==14418== Releasing lock...
[2025-01-07 00:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:44:03] Production.INFO: ==14431== Lock acquired, processing the job...
[2025-01-07 00:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:44:03] Production.INFO: ==14433== Lock acquired, processing the job...
[2025-01-07 00:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:44:03] Production.INFO: ==14423== Lock acquired, processing the job...
[2025-01-07 00:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:44:03] Production.INFO: ==14425== Lock acquired, processing the job...
[2025-01-07 00:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:44:04] Production.INFO: ==14427== Lock acquired, processing the job...
[2025-01-07 00:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:44:04] Production.INFO: ==14429== Lock acquired, processing the job...
[2025-01-07 00:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 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-07 00:44:04] Production.INFO: count ==21
[2025-01-07 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-07 00:44:04] Production.ERROR: done
[2025-01-07 00:44:04] Production.INFO: count ==21
[2025-01-07 00:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:44:04] Production.INFO: Account Balance Start.
[2025-01-07 00:44:04] Production.INFO: CreateAllLog Start
[2025-01-07 00:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191304') start
[2025-01-07 00:44:04] Production.INFO: 117
[2025-01-07 00:44:04] Production.INFO: Date 2024-12-08
[2025-01-07 00:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:44:04] Production.INFO: Date 2024-12-09
[2025-01-07 00:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:44:04] Production.INFO: Date 2024-12-10
[2025-01-07 00:44:04] Production.ERROR: done
[2025-01-07 00:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191304') end
[2025-01-07 00:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:44:04] Production.INFO: 1
[2025-01-07 00:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:44:04] Production.INFO: Date 2024-12-11
[2025-01-07 00:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:44:04] Production.INFO: Date 2024-12-12
[2025-01-07 00:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:44:04] Production.INFO: ==14433== Releasing lock...
[2025-01-07 00:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:44:04] Production.INFO: Date 2024-12-13
[2025-01-07 00:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:44:04] Production.INFO: ==14425== Releasing lock...
[2025-01-07 00:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:44:04] Production.INFO: Date 2024-12-14
[2025-01-07 00:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:44:04] Production.INFO: Date 2024-12-15
[2025-01-07 00:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:44:04] Production.INFO: Date 2024-12-16
[2025-01-07 00:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:44:04] Production.INFO: Date 2024-12-17
[2025-01-07 00:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:44:04] Production.INFO: Date 2024-12-18
[2025-01-07 00:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:44:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:44:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:44:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:44:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:44:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:44:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:44:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:44:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:44:04] Production.INFO: Date 2024-12-27
[2025-01-07 00:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:44:05] Production.INFO: Date 2024-12-28
[2025-01-07 00:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:44:05] Production.INFO: Date 2024-12-29
[2025-01-07 00:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:44:05] Production.INFO: Date 2024-12-30
[2025-01-07 00:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:44:05] Production.INFO: Date 2024-12-31
[2025-01-07 00:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:44:05] Production.INFO: Date 2025-01-01
[2025-01-07 00:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:44:05] Production.INFO: Date 2025-01-02
[2025-01-07 00:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:44:05] Production.INFO: Date 2025-01-03
[2025-01-07 00:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:44:05] Production.INFO: Date 2025-01-04
[2025-01-07 00:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:44:05] Production.INFO: Date 2025-01-05
[2025-01-07 00:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:44:05] Production.INFO: Date 2025-01-06
[2025-01-07 00:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:44:05] Production.INFO: Date 2025-01-07
[2025-01-07 00:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:44:05] Production.INFO: Total Charge 0
[2025-01-07 00:44:05] Production.INFO: CreateAllLog End
[2025-01-07 00:44:05] Production.INFO: Account Balance End.
[2025-01-07 00:44:05] Production.ERROR: CronJobId end 12
[2025-01-07 00:44:05] Production.INFO: ==14429== Releasing lock...
[2025-01-07 00:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:44:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:44:05
[end_date_ymd] => 2025-01-07 00:44:05
[RateCDR] => 1
)
[2025-01-07 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-06 21:44:05' and `end` < '2025-01-07 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-07 00:44:11] Production.ERROR: CronJobId end10
[2025-01-07 00:44:11] Production.INFO: ==14427== Releasing lock...
[2025-01-07 00:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:44:13] Production.INFO: call_cost start
[2025-01-07 00:44:13] Production.INFO: call_cost end
[2025-01-07 00:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:44:14] Production.INFO: ==14423== Releasing lock...
[2025-01-07 00:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:44:19] Production.INFO: count ==149
[2025-01-07 00:44:19] Production.ERROR: pbx CDR StartTime 2025-01-06 21:44:05 - End Time 2025-01-07 00:44:05
[2025-01-07 00:44:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191308', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191308', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191308', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191308', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:44:19] Production.INFO: ProcessCDR(1,14191308,1,1,2)
[2025-01-07 00:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191308,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:44:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191308,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191308,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191308,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191308', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191308', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:44:22] Production.INFO: ==14431== Releasing lock...
[2025-01-07 00:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:44:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 05:45:01] Production.INFO: ==14486== Lock acquired, processing the job...
[2025-01-07 05:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:45:01] Production.INFO: neon service started
[2025-01-07 05:45:01] Production.INFO: neon service started
[2025-01-07 05:45:01] Production.INFO: ==14486== Releasing lock...
[2025-01-07 05:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:45:02] Production.INFO: ==14489== Lock acquired, processing the job...
[2025-01-07 00:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:45:02] Production.INFO: ==14489== Releasing lock...
[2025-01-07 00:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:45:02] Production.INFO: ==14491== Lock acquired, processing the job...
[2025-01-07 05:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:45:02] Production.INFO: ==14491== Releasing lock...
[2025-01-07 05:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:45:03] Production.INFO: ==14495== Lock acquired, processing the job...
[2025-01-07 00:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:45:03] Production.INFO: ==14501== Lock acquired, processing the job...
[2025-01-07 00:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:45:03] Production.INFO: ==14493== Lock acquired, processing the job...
[2025-01-07 00:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:45:03] Production.INFO: ==14495== Releasing lock...
[2025-01-07 00:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:45:03] Production.INFO: ==14497== Lock acquired, processing the job...
[2025-01-07 00:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:45:03] Production.INFO: ==14499== Lock acquired, processing the job...
[2025-01-07 00:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:45:03] Production.INFO: ==14503== Lock acquired, processing the job...
[2025-01-07 00:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:45:03] Production.ERROR: done
[2025-01-07 00:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:45:03] Production.INFO: Account Balance Start.
[2025-01-07 00:45:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:45:03] Production.INFO: 117
[2025-01-07 00:45:03] Production.INFO: Date 2024-12-08
[2025-01-07 00:45:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:45:03] Production.INFO: Date 2024-12-09
[2025-01-07 00:45:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:45:03] Production.ERROR: done
[2025-01-07 00:45:03] Production.INFO: Date 2024-12-10
[2025-01-07 00:45:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 00:45:03] Production.INFO: count ==21
[2025-01-07 00:45:04] Production.INFO: Date 2024-12-11
[2025-01-07 00:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:45:04] Production.INFO: Date 2024-12-12
[2025-01-07 00:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:45:04] Production.INFO: count ==21
[2025-01-07 00:45:04] Production.INFO: Date 2024-12-13
[2025-01-07 00:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191312') start
[2025-01-07 00:45:04] Production.INFO: Date 2024-12-14
[2025-01-07 00:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:45:04] Production.INFO: Date 2024-12-15
[2025-01-07 00:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:45:04] Production.INFO: Date 2024-12-16
[2025-01-07 00:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:45:04] Production.INFO: Date 2024-12-17
[2025-01-07 00:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191312') end
[2025-01-07 00:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:45:04] Production.INFO: 1
[2025-01-07 00:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:45:04] Production.INFO: Date 2024-12-18
[2025-01-07 00:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:45:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:45:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:45:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:45:04] Production.INFO: ==14503== Releasing lock...
[2025-01-07 00:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:45:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:45:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:45:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:45:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:45:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:45:04] Production.INFO: Date 2024-12-27
[2025-01-07 00:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:45:04] Production.INFO: Date 2024-12-28
[2025-01-07 00:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:45:04] Production.INFO: Date 2024-12-29
[2025-01-07 00:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:45:04] Production.INFO: Date 2024-12-30
[2025-01-07 00:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:45:04] Production.INFO: Date 2024-12-31
[2025-01-07 00:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:45:04] Production.INFO: Date 2025-01-01
[2025-01-07 00:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:45:04] Production.INFO: Date 2025-01-02
[2025-01-07 00:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:45:04] Production.INFO: Date 2025-01-03
[2025-01-07 00:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:45:04] Production.INFO: Date 2025-01-04
[2025-01-07 00:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:45:04] Production.INFO: Date 2025-01-05
[2025-01-07 00:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:45:04] Production.INFO: Date 2025-01-06
[2025-01-07 00:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:45:04] Production.INFO: Date 2025-01-07
[2025-01-07 00:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:45:04] Production.INFO: Total Charge 0
[2025-01-07 00:45:04] Production.INFO: CreateAllLog End
[2025-01-07 00:45:04] Production.INFO: Account Balance End.
[2025-01-07 00:45:04] Production.ERROR: CronJobId end 12
[2025-01-07 00:45:04] Production.INFO: ==14499== Releasing lock...
[2025-01-07 00:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:45:05
[end_date_ymd] => 2025-01-07 00:45:05
[RateCDR] => 1
)
[2025-01-07 00:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 21:45:05' and `end` < '2025-01-07 00:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 00:45:11] Production.ERROR: CronJobId end10
[2025-01-07 00:45:11] Production.INFO: ==14497== Releasing lock...
[2025-01-07 00:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:45:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:45:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:45:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:45:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:45:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:45:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:45:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:45:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:45:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:45:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:45:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:45:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:45:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:45:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:45:13] Production.INFO: call_cost start
[2025-01-07 00:45:13] Production.INFO: call_cost end
[2025-01-07 00:45:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:45:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:45:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:45:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:45:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:45:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:45:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:45:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:45:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:45:13] Production.INFO: ==14493== Releasing lock...
[2025-01-07 00:45:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:45:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:45:17] Production.INFO: count ==149
[2025-01-07 00:45:18] Production.ERROR: pbx CDR StartTime 2025-01-06 21:45:05 - End Time 2025-01-07 00:45:05
[2025-01-07 00:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191313', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191313', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191313', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191313', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:45:18] Production.INFO: ProcessCDR(1,14191313,1,1,2)
[2025-01-07 00:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191313,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:45:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191313,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:45:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191313,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191313,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191313', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191313', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:45:21] Production.INFO: ==14501== Releasing lock...
[2025-01-07 00:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:45:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 05:46:02] Production.INFO: ==14559== Lock acquired, processing the job...
[2025-01-07 05:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:46:02] Production.INFO: neon service started
[2025-01-07 05:46:02] Production.INFO: neon service started
[2025-01-07 05:46:02] Production.INFO: ==14559== Releasing lock...
[2025-01-07 05:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:46:02] Production.INFO: ==14565== Lock acquired, processing the job...
[2025-01-07 05:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:46:02] Production.INFO: ==14565== Releasing lock...
[2025-01-07 05:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:46:03] Production.INFO: ==14563== Lock acquired, processing the job...
[2025-01-07 00:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:46:03] Production.INFO: ==14563== Releasing lock...
[2025-01-07 00:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:46:04] Production.INFO: ==14576== Lock acquired, processing the job...
[2025-01-07 00:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:46:04] Production.INFO: ==14578== Lock acquired, processing the job...
[2025-01-07 00:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:46:04] Production.INFO: ==14568== Lock acquired, processing the job...
[2025-01-07 00:46:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:46:04] Production.INFO: ==14570== Lock acquired, processing the job...
[2025-01-07 00:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:46:04] Production.INFO: count ==21
[2025-01-07 00:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:46:04] Production.INFO: ==14572== Lock acquired, processing the job...
[2025-01-07 00:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:46:04] Production.INFO: ==14574== Lock acquired, processing the job...
[2025-01-07 00:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:46:04] Production.INFO: count ==21
[2025-01-07 00:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191314') start
[2025-01-07 00:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191314') end
[2025-01-07 00:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:46:04] Production.INFO: 1
[2025-01-07 00:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:46:04] Production.INFO: Account Balance Start.
[2025-01-07 00:46:04] Production.INFO: CreateAllLog Start
[2025-01-07 00:46:04] Production.INFO: ==14578== Releasing lock...
[2025-01-07 00:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:46:04] Production.INFO: 117
[2025-01-07 00:46:04] Production.INFO: Date 2024-12-08
[2025-01-07 00:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:46:05] Production.INFO: Date 2024-12-09
[2025-01-07 00:46:05] Production.INFO: ==14570== Releasing lock...
[2025-01-07 00:46:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:46:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:46:05] Production.ERROR: done
[2025-01-07 00:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:46:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:46:05] Production.INFO: Date 2024-12-10
[2025-01-07 00:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:46:05] Production.ERROR: done
[2025-01-07 00:46:05] Production.INFO: Date 2024-12-11
[2025-01-07 00:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:46:05] Production.INFO: Date 2024-12-12
[2025-01-07 00:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:46:05] Production.INFO: Date 2024-12-13
[2025-01-07 00:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:46:05] Production.INFO: Date 2024-12-14
[2025-01-07 00:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:46:05] Production.INFO: Date 2024-12-15
[2025-01-07 00:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:46:05] Production.INFO: Date 2024-12-16
[2025-01-07 00:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:46:05] Production.INFO: Date 2024-12-17
[2025-01-07 00:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:46:05] Production.INFO: Date 2024-12-18
[2025-01-07 00:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:46:05] Production.INFO: Date 2024-12-19
[2025-01-07 00:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:46:05] Production.INFO: Date 2024-12-20
[2025-01-07 00:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:46:05] Production.INFO: Date 2024-12-21
[2025-01-07 00:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:46:05] Production.INFO: Date 2024-12-22
[2025-01-07 00:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:46:05] Production.INFO: Date 2024-12-23
[2025-01-07 00:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:46:05] Production.INFO: Date 2024-12-24
[2025-01-07 00:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:46:05] Production.INFO: Date 2024-12-25
[2025-01-07 00:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:46:05] Production.INFO: Date 2024-12-26
[2025-01-07 00:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:46:05] Production.INFO: Date 2024-12-27
[2025-01-07 00:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:46:05] Production.INFO: Date 2024-12-28
[2025-01-07 00:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:46:05] Production.INFO: Date 2024-12-29
[2025-01-07 00:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:46:05] Production.INFO: Date 2024-12-30
[2025-01-07 00:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:46:05] Production.INFO: Date 2024-12-31
[2025-01-07 00:46:06] Production.INFO: Reseller ==> 0
[2025-01-07 00:46:06] Production.INFO: Date 2025-01-01
[2025-01-07 00:46:06] Production.INFO: Reseller ==> 0
[2025-01-07 00:46:06] Production.INFO: Date 2025-01-02
[2025-01-07 00:46:06] Production.INFO: Reseller ==> 0
[2025-01-07 00:46:06] Production.INFO: Date 2025-01-03
[2025-01-07 00:46:06] Production.INFO: Reseller ==> 0
[2025-01-07 00:46:06] Production.INFO: Date 2025-01-04
[2025-01-07 00:46:06] Production.INFO: Reseller ==> 0
[2025-01-07 00:46:06] Production.INFO: Date 2025-01-05
[2025-01-07 00:46:06] Production.INFO: Reseller ==> 0
[2025-01-07 00:46:06] Production.INFO: Date 2025-01-06
[2025-01-07 00:46:06] Production.INFO: Reseller ==> 0
[2025-01-07 00:46:06] Production.INFO: Date 2025-01-07
[2025-01-07 00:46:06] Production.INFO: Reseller ==> 0
[2025-01-07 00:46:06] Production.INFO: Total Charge 0
[2025-01-07 00:46:06] Production.INFO: CreateAllLog End
[2025-01-07 00:46:06] Production.INFO: Account Balance End.
[2025-01-07 00:46:06] Production.ERROR: CronJobId end 12
[2025-01-07 00:46:06] Production.INFO: ==14574== Releasing lock...
[2025-01-07 00:46:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:46:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:46:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:46:06
[end_date_ymd] => 2025-01-07 00:46:06
[RateCDR] => 1
)
[2025-01-07 00: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-06 21:46:06' and `end` < '2025-01-07 00: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-07 00:46:12] Production.ERROR: CronJobId end10
[2025-01-07 00:46:12] Production.INFO: ==14572== Releasing lock...
[2025-01-07 00:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:46:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:46:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:46:14] Production.INFO: call_cost start
[2025-01-07 00:46:14] Production.INFO: call_cost end
[2025-01-07 00:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:46:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:46:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:46:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:46:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:46:15] Production.INFO: ==14568== Releasing lock...
[2025-01-07 00:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:46:19] Production.INFO: count ==149
[2025-01-07 00:46:19] Production.ERROR: pbx CDR StartTime 2025-01-06 21:46:06 - End Time 2025-01-07 00:46:06
[2025-01-07 00:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191318', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191318', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191318', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191318', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:46:19] Production.INFO: ProcessCDR(1,14191318,1,1,2)
[2025-01-07 00:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191318,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:46:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191318,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:46:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191318,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191318,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191318', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191318', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:46:22] Production.INFO: ==14576== Releasing lock...
[2025-01-07 00:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:46:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 05:47:01] Production.INFO: ==14633== Lock acquired, processing the job...
[2025-01-07 05:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:47:01] Production.INFO: neon service started
[2025-01-07 05:47:01] Production.INFO: neon service started
[2025-01-07 05:47:01] Production.INFO: ==14633== Releasing lock...
[2025-01-07 05:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:47:02] Production.INFO: ==14635== Lock acquired, processing the job...
[2025-01-07 00:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:47:02] Production.INFO: ==14637== Lock acquired, processing the job...
[2025-01-07 05:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:47:02] Production.INFO: ==14637== Releasing lock...
[2025-01-07 05:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:47:02] Production.INFO: ==14635== Releasing lock...
[2025-01-07 00:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:47:03] Production.INFO: ==14646== Lock acquired, processing the job...
[2025-01-07 00:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:47:03] Production.INFO: ==14650== Lock acquired, processing the job...
[2025-01-07 00:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:47:03] Production.INFO: Account Balance Start.
[2025-01-07 00:47:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:47:03] Production.INFO: 117
[2025-01-07 00:47:03] Production.INFO: Date 2024-12-08
[2025-01-07 00:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:47:03] Production.INFO: Date 2024-12-09
[2025-01-07 00:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:47:03] Production.INFO: Date 2024-12-10
[2025-01-07 00:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:47:03] Production.INFO: ==14640== Lock acquired, processing the job...
[2025-01-07 00:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:47:03] Production.INFO: Date 2024-12-11
[2025-01-07 00:47:03] Production.INFO: count ==21
[2025-01-07 00:47:03] Production.INFO: ==14642== Lock acquired, processing the job...
[2025-01-07 00:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 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-07 00:47:04] Production.INFO: count ==21
[2025-01-07 00:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191320') start
[2025-01-07 00:47:04] Production.INFO: ==14644== Lock acquired, processing the job...
[2025-01-07 00:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:47:04] Production.INFO: ==14648== Lock acquired, processing the job...
[2025-01-07 00:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:47:04] Production.INFO: Date 2024-12-12
[2025-01-07 00:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191320') end
[2025-01-07 00:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:47:04] Production.INFO: 1
[2025-01-07 00:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:47:04] Production.INFO: Date 2024-12-13
[2025-01-07 00:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:47:04] Production.INFO: ==14650== Releasing lock...
[2025-01-07 00:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:47:04] Production.INFO: Date 2024-12-14
[2025-01-07 00:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:47:04] Production.INFO: ==14642== Releasing lock...
[2025-01-07 00:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:47:04] Production.INFO: Date 2024-12-15
[2025-01-07 00:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:47:04] Production.ERROR: done
[2025-01-07 00:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:47:04] Production.INFO: Date 2024-12-16
[2025-01-07 00:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:47:04] Production.INFO: Date 2024-12-17
[2025-01-07 00:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:47:04] Production.ERROR: done
[2025-01-07 00:47:04] Production.INFO: Date 2024-12-18
[2025-01-07 00:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:47:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:47:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:47:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:47:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:47:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:47:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:47:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:47:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:47:05] Production.INFO: Date 2024-12-27
[2025-01-07 00:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:47:05] Production.INFO: Date 2024-12-28
[2025-01-07 00:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:47:05] Production.INFO: Date 2024-12-29
[2025-01-07 00:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:47:05] Production.INFO: Date 2024-12-30
[2025-01-07 00:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:47:05] Production.INFO: Date 2024-12-31
[2025-01-07 00:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:47:05] Production.INFO: Date 2025-01-01
[2025-01-07 00:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:47:05] Production.INFO: Date 2025-01-02
[2025-01-07 00:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:47:05] Production.INFO: Date 2025-01-03
[2025-01-07 00:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:47:05] Production.INFO: Date 2025-01-04
[2025-01-07 00:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:47:05] Production.INFO: Date 2025-01-05
[2025-01-07 00:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:47:05] Production.INFO: Date 2025-01-06
[2025-01-07 00:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:47:05] Production.INFO: Date 2025-01-07
[2025-01-07 00:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:47:05] Production.INFO: Total Charge 0
[2025-01-07 00:47:05] Production.INFO: CreateAllLog End
[2025-01-07 00:47:05] Production.INFO: Account Balance End.
[2025-01-07 00:47:05] Production.ERROR: CronJobId end 12
[2025-01-07 00:47:05] Production.INFO: ==14646== Releasing lock...
[2025-01-07 00:47:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:47:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:47:05
[end_date_ymd] => 2025-01-07 00:47:05
[RateCDR] => 1
)
[2025-01-07 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-06 21:47:05' and `end` < '2025-01-07 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-07 00:47:11] Production.ERROR: CronJobId end10
[2025-01-07 00:47:11] Production.INFO: ==14644== Releasing lock...
[2025-01-07 00:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:47:14] Production.INFO: call_cost start
[2025-01-07 00:47:14] Production.INFO: call_cost end
[2025-01-07 00:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:47:14] Production.INFO: ==14640== Releasing lock...
[2025-01-07 00:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:47:18] Production.INFO: count ==149
[2025-01-07 00:47:18] Production.ERROR: pbx CDR StartTime 2025-01-06 21:47:05 - End Time 2025-01-07 00:47:05
[2025-01-07 00:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191323', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191323', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191323', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191323', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:47:18] Production.INFO: ProcessCDR(1,14191323,1,1,2)
[2025-01-07 00:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191323,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191323,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191323,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191323,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191323', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191323', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:47:21] Production.INFO: ==14648== Releasing lock...
[2025-01-07 00:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:47:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 05:48:01] Production.INFO: ==14709== Lock acquired, processing the job...
[2025-01-07 05:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:48:01] Production.INFO: neon service started
[2025-01-07 05:48:01] Production.INFO: neon service started
[2025-01-07 05:48:01] Production.INFO: ==14709== Releasing lock...
[2025-01-07 05:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:48:01] Production.INFO: ==14711== Lock acquired, processing the job...
[2025-01-07 00:48:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:48:02] Production.INFO: ==14711== Releasing lock...
[2025-01-07 00:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:48:02] Production.INFO: ==14713== Lock acquired, processing the job...
[2025-01-07 05:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:48:02] Production.INFO: ==14713== Releasing lock...
[2025-01-07 05:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:48:02] Production.INFO: ==14717== Lock acquired, processing the job...
[2025-01-07 00:48:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:48:03] Production.INFO: ==14715== Lock acquired, processing the job...
[2025-01-07 00:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:48:03] Production.INFO: ==14725== Lock acquired, processing the job...
[2025-01-07 00:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 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-07 00:48:03] Production.INFO: ==14719== Lock acquired, processing the job...
[2025-01-07 00:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:48:03] Production.INFO: ==14717== Releasing lock...
[2025-01-07 00:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:48:03] Production.INFO: count ==21
[2025-01-07 00:48:03] Production.INFO: ==14721== Lock acquired, processing the job...
[2025-01-07 00:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:48:03] Production.INFO: count ==21
[2025-01-07 00:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191325') start
[2025-01-07 00:48:03] Production.INFO: ==14723== Lock acquired, processing the job...
[2025-01-07 00:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:48:03] Production.INFO: Account Balance Start.
[2025-01-07 00:48:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:48:03] Production.INFO: 117
[2025-01-07 00:48:03] Production.INFO: Date 2024-12-08
[2025-01-07 00:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191325') end
[2025-01-07 00:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:48:03] Production.INFO: 1
[2025-01-07 00:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:48:03] Production.INFO: Date 2024-12-09
[2025-01-07 00:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:48:03] Production.INFO: Date 2024-12-10
[2025-01-07 00:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:48:03] Production.INFO: Date 2024-12-11
[2025-01-07 00:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:48:03] Production.INFO: ==14725== Releasing lock...
[2025-01-07 00:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:48:03] Production.INFO: Date 2024-12-12
[2025-01-07 00:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:48:03] Production.INFO: Date 2024-12-13
[2025-01-07 00:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:48:03] Production.INFO: Date 2024-12-14
[2025-01-07 00:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:48:03] Production.INFO: Date 2024-12-15
[2025-01-07 00:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:48:03] Production.INFO: Date 2024-12-16
[2025-01-07 00:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:48:03] Production.ERROR: done
[2025-01-07 00:48:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:48:03] Production.INFO: Date 2024-12-17
[2025-01-07 00:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:48:03] Production.INFO: Date 2024-12-18
[2025-01-07 00:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:48:03] Production.INFO: Date 2024-12-19
[2025-01-07 00:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:48:03] Production.INFO: Date 2024-12-20
[2025-01-07 00:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:48:04] Production.ERROR: done
[2025-01-07 00:48:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:48:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:48:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:48:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:48:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:48:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:48:04] Production.INFO: Date 2024-12-27
[2025-01-07 00:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:48:04] Production.INFO: Date 2024-12-28
[2025-01-07 00:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:48:04] Production.INFO: Date 2024-12-29
[2025-01-07 00:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:48:04] Production.INFO: Date 2024-12-30
[2025-01-07 00:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:48:04] Production.INFO: Date 2024-12-31
[2025-01-07 00:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:48:04] Production.INFO: Date 2025-01-01
[2025-01-07 00:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:48:04] Production.INFO: Date 2025-01-02
[2025-01-07 00:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:48:04] Production.INFO: Date 2025-01-03
[2025-01-07 00:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:48:04] Production.INFO: Date 2025-01-04
[2025-01-07 00:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:48:04] Production.INFO: Date 2025-01-05
[2025-01-07 00:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:48:04] Production.INFO: Date 2025-01-06
[2025-01-07 00:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:48:04] Production.INFO: Date 2025-01-07
[2025-01-07 00:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:48:04] Production.INFO: Total Charge 0
[2025-01-07 00:48:04] Production.INFO: CreateAllLog End
[2025-01-07 00:48:04] Production.INFO: Account Balance End.
[2025-01-07 00:48:04] Production.ERROR: CronJobId end 12
[2025-01-07 00:48:04] Production.INFO: ==14721== Releasing lock...
[2025-01-07 00:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:48:05
[end_date_ymd] => 2025-01-07 00:48:05
[RateCDR] => 1
)
[2025-01-07 00:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 21:48:05' and `end` < '2025-01-07 00:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 00:48:11] Production.ERROR: CronJobId end10
[2025-01-07 00:48:11] Production.INFO: ==14719== Releasing lock...
[2025-01-07 00:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:48:14] Production.INFO: call_cost start
[2025-01-07 00:48:14] Production.INFO: call_cost end
[2025-01-07 00:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:48:14] Production.INFO: ==14715== Releasing lock...
[2025-01-07 00:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:48:18] Production.INFO: count ==148
[2025-01-07 00:48:18] Production.ERROR: pbx CDR StartTime 2025-01-06 21:48:05 - End Time 2025-01-07 00:48:05
[2025-01-07 00:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191328', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191328', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191328', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191328', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:48:18] Production.INFO: ProcessCDR(1,14191328,1,1,2)
[2025-01-07 00:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191328,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:48:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191328,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:48:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191328,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:48:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191328,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191328', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191328', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:48:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:48:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:48:23] Production.INFO: ==14723== Releasing lock...
[2025-01-07 00:48:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:48:23] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 05:49:01] Production.INFO: ==14785== Lock acquired, processing the job...
[2025-01-07 05:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:49:01] Production.INFO: neon service started
[2025-01-07 05:49:01] Production.INFO: neon service started
[2025-01-07 05:49:01] Production.INFO: ==14785== Releasing lock...
[2025-01-07 05:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:49:02] Production.INFO: ==14787== Lock acquired, processing the job...
[2025-01-07 00:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:49:02] Production.INFO: ==14787== Releasing lock...
[2025-01-07 00:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:49:02] Production.INFO: ==14789== Lock acquired, processing the job...
[2025-01-07 05:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:49:02] Production.INFO: ==14789== Releasing lock...
[2025-01-07 05:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:49:03] Production.INFO: ==14800== Lock acquired, processing the job...
[2025-01-07 00:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:49:03] Production.INFO: ==14802== Lock acquired, processing the job...
[2025-01-07 00:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:49:03] Production.INFO: ==14791== Lock acquired, processing the job...
[2025-01-07 00:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:49:03] Production.INFO: ==14793== Lock acquired, processing the job...
[2025-01-07 00:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:49:03] Production.INFO: ==14795== Lock acquired, processing the job...
[2025-01-07 00:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:49:03] Production.INFO: ==14798== Lock acquired, processing the job...
[2025-01-07 00:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:49:03] Production.INFO: count ==21
[2025-01-07 00:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:49:03] Production.INFO: count ==21
[2025-01-07 00:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191330') start
[2025-01-07 00:49:04] Production.ERROR: done
[2025-01-07 00:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191330') end
[2025-01-07 00:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:49:04] Production.INFO: 1
[2025-01-07 00:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:49:04] Production.INFO: ==14802== Releasing lock...
[2025-01-07 00:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:49:04] Production.INFO: Account Balance Start.
[2025-01-07 00:49:04] Production.INFO: CreateAllLog Start
[2025-01-07 00:49:04] Production.INFO: 117
[2025-01-07 00:49:04] Production.INFO: ==14793== Releasing lock...
[2025-01-07 00:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:49:04] Production.ERROR: done
[2025-01-07 00:49:04] Production.INFO: Date 2024-12-08
[2025-01-07 00:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:49:04] Production.INFO: Date 2024-12-09
[2025-01-07 00:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:49:04] Production.INFO: Date 2024-12-10
[2025-01-07 00:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:49:04] Production.INFO: Date 2024-12-11
[2025-01-07 00:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:49:04] Production.INFO: Date 2024-12-12
[2025-01-07 00:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:49:04] Production.INFO: Date 2024-12-13
[2025-01-07 00:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:49:04] Production.INFO: Date 2024-12-14
[2025-01-07 00:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:49:04] Production.INFO: Date 2024-12-15
[2025-01-07 00:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:49:04] Production.INFO: Date 2024-12-16
[2025-01-07 00:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:49:04] Production.INFO: Date 2024-12-17
[2025-01-07 00:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:49:04] Production.INFO: Date 2024-12-18
[2025-01-07 00:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:49:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:49:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:49:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:49:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:49:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:49:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:49:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:49:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:49:04] Production.INFO: Date 2024-12-27
[2025-01-07 00:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:49:04] Production.INFO: Date 2024-12-28
[2025-01-07 00:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:49:04] Production.INFO: Date 2024-12-29
[2025-01-07 00:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:49:04] Production.INFO: Date 2024-12-30
[2025-01-07 00:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:49:04] Production.INFO: Date 2024-12-31
[2025-01-07 00:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:49:04] Production.INFO: Date 2025-01-01
[2025-01-07 00:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:49:04] Production.INFO: Date 2025-01-02
[2025-01-07 00:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:49:04] Production.INFO: Date 2025-01-03
[2025-01-07 00:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:49:05] Production.INFO: Date 2025-01-04
[2025-01-07 00:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:49:05] Production.INFO: Date 2025-01-05
[2025-01-07 00:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:49:05] Production.INFO: Date 2025-01-06
[2025-01-07 00:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:49:05] Production.INFO: Date 2025-01-07
[2025-01-07 00:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:49:05
[end_date_ymd] => 2025-01-07 00:49:05
[RateCDR] => 1
)
[2025-01-07 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-06 21:49:05' and `end` < '2025-01-07 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-07 00:49:05] Production.INFO: Total Charge 0
[2025-01-07 00:49:05] Production.INFO: CreateAllLog End
[2025-01-07 00:49:05] Production.INFO: Account Balance End.
[2025-01-07 00:49:05] Production.ERROR: CronJobId end 12
[2025-01-07 00:49:05] Production.INFO: ==14798== Releasing lock...
[2025-01-07 00:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:49:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:49:11] Production.ERROR: CronJobId end10
[2025-01-07 00:49:11] Production.INFO: ==14795== Releasing lock...
[2025-01-07 00:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:49:13] Production.INFO: call_cost start
[2025-01-07 00:49:13] Production.INFO: call_cost end
[2025-01-07 00:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:49:14] Production.INFO: ==14791== Releasing lock...
[2025-01-07 00:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:49:18] Production.INFO: count ==147
[2025-01-07 00:49:18] Production.ERROR: pbx CDR StartTime 2025-01-06 21:49:05 - End Time 2025-01-07 00:49:05
[2025-01-07 00:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191333', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191333', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191333', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191333', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:49:18] Production.INFO: ProcessCDR(1,14191333,1,1,2)
[2025-01-07 00:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191333,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:49:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191333,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:49:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191333,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191333,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191333', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191333', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:49:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:49:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:49:22] Production.INFO: ==14800== Releasing lock...
[2025-01-07 00:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:49:22] Production.INFO: 29 MB #Memory Used#
[2025-01-07 05:50:01] Production.INFO: ==14871== Lock acquired, processing the job...
[2025-01-07 05:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:50:01] Production.INFO: neon service started
[2025-01-07 05:50:01] Production.INFO: neon service started
[2025-01-07 05:50:01] Production.INFO: ==14871== Releasing lock...
[2025-01-07 05:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:50:01] Production.INFO: ==14875== Lock acquired, processing the job...
[2025-01-07 05:50:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 00:50:01] Production.INFO: ==14873== Lock acquired, processing the job...
[2025-01-07 00:50:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:50:01] Production.INFO: ==14875== Releasing lock...
[2025-01-07 05:50:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:50:01] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:50:02] Production.INFO: ==14873== Releasing lock...
[2025-01-07 00:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:50:03] Production.INFO: ==14877== Lock acquired, processing the job...
[2025-01-07 00:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 00:50:03] Production.INFO: ==14881== Lock acquired, processing the job...
[2025-01-07 00:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:50:03] Production.INFO: ==14879== Lock acquired, processing the job...
[2025-01-07 00:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:50:03] Production.INFO: ==14885== Lock acquired, processing the job...
[2025-01-07 00:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 00:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 00:50:03] Production.ERROR: CronJob PID - 14881
[2025-01-07 00:50:03] Production.ERROR: CronJob Title - Account Block
[2025-01-07 00:50:03] Production.ERROR: CronJob ID - 7
[2025-01-07 00:50:03] Production.ERROR: CronJob Last Run Time 2025-01-07 00:50:00
[2025-01-07 00:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 00:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 00:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 00:50:03] Production.INFO: ==14877== Releasing lock...
[2025-01-07 00:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 00:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 00:50:03] Production.INFO: ==14883== Lock acquired, processing the job...
[2025-01-07 00:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:50:03] Production.INFO: ==14887== Lock acquired, processing the job...
[2025-01-07 00:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:50:03] Production.INFO: ==14890== Lock acquired, processing the job...
[2025-01-07 00:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 00:50:03] Production.INFO: Account Balance Start.
[2025-01-07 00:50:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:50:03] Production.INFO: 117
[2025-01-07 00:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:50:03] Production.INFO: ==14892== Lock acquired, processing the job...
[2025-01-07 00:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:50:03] Production.INFO: Date 2024-12-08
[2025-01-07 00:50:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 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-07 00:50:03] Production.INFO: count ==21
[2025-01-07 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-07 00:50:03] Production.INFO: count ==21
[2025-01-07 00:50:04] Production.INFO: Date 2024-12-09
[2025-01-07 00:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191337') start
[2025-01-07 00:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:50:04] Production.INFO: Date 2024-12-10
[2025-01-07 00:50:04] Production.INFO: ==14881== Releasing lock...
[2025-01-07 00:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:50:04] Production.ERROR: done
[2025-01-07 00:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:50:04] Production.INFO: Date 2024-12-11
[2025-01-07 00:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:50:04] Production.ERROR: done
[2025-01-07 00:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191337') end
[2025-01-07 00:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:50:04] Production.INFO: 1
[2025-01-07 00:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:50:04] Production.INFO: Date 2024-12-12
[2025-01-07 00:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:50:04] Production.INFO: ==14892== Releasing lock...
[2025-01-07 00:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:50:04] Production.INFO: Date 2024-12-13
[2025-01-07 00:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:50:04] Production.ERROR: done
[2025-01-07 00:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 00:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14191338', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 00:50:04] Production.INFO: Date 2024-12-14
[2025-01-07 00:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:50:04] Production.INFO: Date 2024-12-15
[2025-01-07 00:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:50:04] Production.INFO: Date 2024-12-16
[2025-01-07 00:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:50:04] Production.INFO: Date 2024-12-17
[2025-01-07 00:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:50:04] Production.INFO: Date 2024-12-18
[2025-01-07 00:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:50:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:50:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:50:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:50:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:50:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:50:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:50:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:50:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:50:04] Production.INFO: Date 2024-12-27
[2025-01-07 00:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:50:05] Production.INFO: Date 2024-12-28
[2025-01-07 00:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:50:05] Production.INFO: Date 2024-12-29
[2025-01-07 00:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:50:05] Production.INFO: Date 2024-12-30
[2025-01-07 00:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:50:05] Production.INFO: Date 2024-12-31
[2025-01-07 00:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:50:05] Production.INFO: Date 2025-01-01
[2025-01-07 00:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:50:05] Production.INFO: Date 2025-01-02
[2025-01-07 00:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:50:05] Production.INFO: Date 2025-01-03
[2025-01-07 00:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:50:05] Production.INFO: Date 2025-01-04
[2025-01-07 00:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:50:05] Production.INFO: Date 2025-01-05
[2025-01-07 00:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:50:05] Production.INFO: Date 2025-01-06
[2025-01-07 00:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:50:05] Production.INFO: Date 2025-01-07
[2025-01-07 00:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:50:05] Production.INFO: Total Charge 0
[2025-01-07 00:50:05] Production.INFO: CreateAllLog End
[2025-01-07 00:50:05] Production.INFO: Account Balance End.
[2025-01-07 00:50:05] Production.ERROR: CronJobId end 12
[2025-01-07 00:50:05] Production.INFO: ==14885== Releasing lock...
[2025-01-07 00:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:50:05
[end_date_ymd] => 2025-01-07 00:50:05
[RateCDR] => 1
)
[2025-01-07 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-06 21:50:05' and `end` < '2025-01-07 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-07 00:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14191338', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 00:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 00:50:08] Production.INFO: ProcessCDR(1,14191338,1,1,2)
[2025-01-07 00:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14191338,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14191338,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:50:08] Production.INFO: ==14890== Releasing lock...
[2025-01-07 00:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 00:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-07 00:50:12] Production.ERROR: CronJobId end10
[2025-01-07 00:50:12] Production.INFO: ==14883== Releasing lock...
[2025-01-07 00:50:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:50:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:50:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:50:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:50:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:50:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:50:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:50:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:50:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:50:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:50:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:50:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:50:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:50:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:50:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:50:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:50:14] Production.INFO: call_cost start
[2025-01-07 00:50:14] Production.INFO: call_cost end
[2025-01-07 00:50:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:50:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:50:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:50:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:50:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:50:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:50:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:50:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:50:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:50:15] Production.INFO: ==14879== Releasing lock...
[2025-01-07 00:50:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:50:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:50:19] Production.INFO: count ==155
[2025-01-07 00:50:19] Production.ERROR: pbx CDR StartTime 2025-01-06 21:50:05 - End Time 2025-01-07 00:50:05
[2025-01-07 00:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191339', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191339', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191339', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191339', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:50:19] Production.INFO: ProcessCDR(1,14191339,1,1,2)
[2025-01-07 00:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191339,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191339,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191339,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191339,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191339', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191339', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:50:22] Production.INFO: ==14887== Releasing lock...
[2025-01-07 00:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:50:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 05:51:01] Production.INFO: ==14956== Lock acquired, processing the job...
[2025-01-07 05:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:51:01] Production.INFO: neon service started
[2025-01-07 05:51:01] Production.INFO: neon service started
[2025-01-07 05:51:01] Production.INFO: ==14956== Releasing lock...
[2025-01-07 05:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:51:02] Production.INFO: ==14958== Lock acquired, processing the job...
[2025-01-07 00:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:51:02] Production.INFO: ==14960== Lock acquired, processing the job...
[2025-01-07 05:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:51:02] Production.INFO: ==14960== Releasing lock...
[2025-01-07 05:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:51:02] Production.INFO: ==14958== Releasing lock...
[2025-01-07 00:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:51:03] Production.INFO: ==14963== Lock acquired, processing the job...
[2025-01-07 00:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:51:03] Production.INFO: ==14967== Lock acquired, processing the job...
[2025-01-07 00:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:51:03] Production.INFO: ==14971== Lock acquired, processing the job...
[2025-01-07 00:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:51:03] Production.INFO: ==14965== Lock acquired, processing the job...
[2025-01-07 00:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:51:03] Production.INFO: ==14969== Lock acquired, processing the job...
[2025-01-07 00:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:51:03] Production.INFO: ==14973== Lock acquired, processing the job...
[2025-01-07 00:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:51:03] Production.ERROR: done
[2025-01-07 00:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:51:03] Production.INFO: Account Balance Start.
[2025-01-07 00:51:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:51:03] Production.INFO: 117
[2025-01-07 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-07 00:51:03] Production.INFO: Date 2024-12-08
[2025-01-07 00:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:51:03] Production.INFO: count ==21
[2025-01-07 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-07 00:51:03] Production.INFO: count ==21
[2025-01-07 00:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191341') start
[2025-01-07 00:51:03] Production.INFO: Date 2024-12-09
[2025-01-07 00:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:51:04] Production.ERROR: done
[2025-01-07 00:51:04] Production.INFO: Date 2024-12-10
[2025-01-07 00:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:51:04] Production.INFO: Date 2024-12-11
[2025-01-07 00:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:51:04] Production.INFO: Date 2024-12-12
[2025-01-07 00:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191341') end
[2025-01-07 00:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:51:04] Production.INFO: 1
[2025-01-07 00:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:51:04] Production.INFO: ==14965== Releasing lock...
[2025-01-07 00:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:51:04] Production.INFO: ==14973== Releasing lock...
[2025-01-07 00:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:51:04] Production.INFO: Date 2024-12-13
[2025-01-07 00:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:51:04] Production.INFO: Date 2024-12-14
[2025-01-07 00:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:51:04] Production.INFO: Date 2024-12-15
[2025-01-07 00:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:51:04] Production.INFO: Date 2024-12-16
[2025-01-07 00:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:51:04] Production.INFO: Date 2024-12-17
[2025-01-07 00:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:51:04] Production.INFO: Date 2024-12-18
[2025-01-07 00:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:51:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:51:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:51:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:51:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:51:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:51:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:51:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:51:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:51:04] Production.INFO: Date 2024-12-27
[2025-01-07 00:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:51:04] Production.INFO: Date 2024-12-28
[2025-01-07 00:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:51:04] Production.INFO: Date 2024-12-29
[2025-01-07 00:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:51:04] Production.INFO: Date 2024-12-30
[2025-01-07 00:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:51:04] Production.INFO: Date 2024-12-31
[2025-01-07 00:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:51:04] Production.INFO: Date 2025-01-01
[2025-01-07 00:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:51:04] Production.INFO: Date 2025-01-02
[2025-01-07 00:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:51:04] Production.INFO: Date 2025-01-03
[2025-01-07 00:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:51:04] Production.INFO: Date 2025-01-04
[2025-01-07 00:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:51:04] Production.INFO: Date 2025-01-05
[2025-01-07 00:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:51:04] Production.INFO: Date 2025-01-06
[2025-01-07 00:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:51:04] Production.INFO: Date 2025-01-07
[2025-01-07 00:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:51:04] Production.INFO: Total Charge 0
[2025-01-07 00:51:04] Production.INFO: CreateAllLog End
[2025-01-07 00:51:04] Production.INFO: Account Balance End.
[2025-01-07 00:51:05] Production.ERROR: CronJobId end 12
[2025-01-07 00:51:05] Production.INFO: ==14969== Releasing lock...
[2025-01-07 00:51:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:51:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:51:05
[end_date_ymd] => 2025-01-07 00:51:05
[RateCDR] => 1
)
[2025-01-07 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-06 21:51:05' and `end` < '2025-01-07 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-07 00:51:11] Production.ERROR: CronJobId end10
[2025-01-07 00:51:11] Production.INFO: ==14967== Releasing lock...
[2025-01-07 00:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:51:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:51:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:51:13] Production.INFO: call_cost start
[2025-01-07 00:51:13] Production.INFO: call_cost end
[2025-01-07 00:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:51:14] Production.INFO: ==14963== Releasing lock...
[2025-01-07 00:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:51:21] Production.INFO: count ==159
[2025-01-07 00:51:21] Production.ERROR: pbx CDR StartTime 2025-01-06 21:51:05 - End Time 2025-01-07 00:51:05
[2025-01-07 00:51:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:51:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191344', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:51:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191344', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:51:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191344', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:51:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191344', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:51:21] Production.INFO: ProcessCDR(1,14191344,1,1,2)
[2025-01-07 00:51:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191344,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:51:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191344,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:51:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191344,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:51:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191344,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:51:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191344', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:51:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191344', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:51:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:51:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:51:24] Production.INFO: ==14971== Releasing lock...
[2025-01-07 00:51:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:51:24] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 05:52:02] Production.INFO: ==15086== Lock acquired, processing the job...
[2025-01-07 05:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:52:02] Production.INFO: neon service started
[2025-01-07 05:52:02] Production.INFO: neon service started
[2025-01-07 05:52:02] Production.INFO: ==15086== Releasing lock...
[2025-01-07 05:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:52:02] Production.INFO: ==15090== Lock acquired, processing the job...
[2025-01-07 05:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:52:02] Production.INFO: ==15090== Releasing lock...
[2025-01-07 05:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:52:02] Production.INFO: ==15088== Lock acquired, processing the job...
[2025-01-07 00:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:52:03] Production.INFO: ==15088== Releasing lock...
[2025-01-07 00:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:52:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:52:03] Production.INFO: ==15099== Lock acquired, processing the job...
[2025-01-07 00:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:52:03] Production.INFO: ==15093== Lock acquired, processing the job...
[2025-01-07 00:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:52:03] Production.INFO: ==15103== Lock acquired, processing the job...
[2025-01-07 00:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:52:03] Production.INFO: ==15095== Lock acquired, processing the job...
[2025-01-07 00:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:52:04] Production.INFO: ==15097== Lock acquired, processing the job...
[2025-01-07 00:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:52:04] Production.INFO: Account Balance Start.
[2025-01-07 00:52:04] Production.INFO: CreateAllLog Start
[2025-01-07 00:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:52:04] Production.INFO: 117
[2025-01-07 00:52:04] Production.INFO: Date 2024-12-08
[2025-01-07 00:52:04] Production.INFO: count ==21
[2025-01-07 00:52:04] Production.INFO: ==15101== Lock acquired, processing the job...
[2025-01-07 00:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:52:04] Production.INFO: count ==21
[2025-01-07 00:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191347') start
[2025-01-07 00:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:52:04] Production.INFO: Date 2024-12-09
[2025-01-07 00:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191347') end
[2025-01-07 00:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:52:04] Production.INFO: 1
[2025-01-07 00:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:52:04] Production.INFO: Date 2024-12-10
[2025-01-07 00:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:52:04] Production.INFO: ==15095== Releasing lock...
[2025-01-07 00:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:52:04] Production.INFO: ==15103== Releasing lock...
[2025-01-07 00:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:52:04] Production.INFO: Date 2024-12-11
[2025-01-07 00:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:52:04] Production.ERROR: done
[2025-01-07 00:52:04] Production.INFO: Date 2024-12-12
[2025-01-07 00:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:52:04] Production.INFO: Date 2024-12-13
[2025-01-07 00:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:52:04] Production.ERROR: done
[2025-01-07 00:52:04] Production.INFO: Date 2024-12-14
[2025-01-07 00:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:52:04] Production.INFO: Date 2024-12-15
[2025-01-07 00:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:52:04] Production.INFO: Date 2024-12-16
[2025-01-07 00:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:52:04] Production.INFO: Date 2024-12-17
[2025-01-07 00:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:52:04] Production.INFO: Date 2024-12-18
[2025-01-07 00:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:52:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:52:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:52:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:52:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:52:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:52:05] Production.INFO: Date 2024-12-24
[2025-01-07 00:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:52:05] Production.INFO: Date 2024-12-25
[2025-01-07 00:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:52:05] Production.INFO: Date 2024-12-26
[2025-01-07 00:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:52:05] Production.INFO: Date 2024-12-27
[2025-01-07 00:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:52:05] Production.INFO: Date 2024-12-28
[2025-01-07 00:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:52:05] Production.INFO: Date 2024-12-29
[2025-01-07 00:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:52:05] Production.INFO: Date 2024-12-30
[2025-01-07 00:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:52:05] Production.INFO: Date 2024-12-31
[2025-01-07 00:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:52:05] Production.INFO: Date 2025-01-01
[2025-01-07 00:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:52:05] Production.INFO: Date 2025-01-02
[2025-01-07 00:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:52:05] Production.INFO: Date 2025-01-03
[2025-01-07 00:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:52:05
[end_date_ymd] => 2025-01-07 00:52:05
[RateCDR] => 1
)
[2025-01-07 00:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 21:52:05' and `end` < '2025-01-07 00:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 00:52:05] Production.INFO: Date 2025-01-04
[2025-01-07 00:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:52:05] Production.INFO: Date 2025-01-05
[2025-01-07 00:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:52:05] Production.INFO: Date 2025-01-06
[2025-01-07 00:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:52:05] Production.INFO: Date 2025-01-07
[2025-01-07 00:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:52:05] Production.INFO: Total Charge 0
[2025-01-07 00:52:05] Production.INFO: CreateAllLog End
[2025-01-07 00:52:05] Production.INFO: Account Balance End.
[2025-01-07 00:52:05] Production.ERROR: CronJobId end 12
[2025-01-07 00:52:05] Production.INFO: ==15099== Releasing lock...
[2025-01-07 00:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:52:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:52:12] Production.ERROR: CronJobId end10
[2025-01-07 00:52:12] Production.INFO: ==15097== Releasing lock...
[2025-01-07 00:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:52:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:52:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:52:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:52:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:52:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:52:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:52:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:52:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:52:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:52:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:52:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:52:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:52:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:52:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:52:12] Production.INFO: call_cost start
[2025-01-07 00:52:12] Production.INFO: call_cost end
[2025-01-07 00:52:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:52:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:52:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:52:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:52:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:52:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:52:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:52:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:52:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:52:13] Production.INFO: ==15093== Releasing lock...
[2025-01-07 00:52:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:52:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:52:18] Production.INFO: count ==159
[2025-01-07 00:52:18] Production.ERROR: pbx CDR StartTime 2025-01-06 21:52:05 - End Time 2025-01-07 00:52:05
[2025-01-07 00:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191349', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191349', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191349', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191349', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:52:18] Production.INFO: ProcessCDR(1,14191349,1,1,2)
[2025-01-07 00:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191349,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191349,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191349,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191349,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191349', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191349', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:52:21] Production.INFO: ==15101== Releasing lock...
[2025-01-07 00:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:52:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 05:53:01] Production.INFO: ==15172== Lock acquired, processing the job...
[2025-01-07 05:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:53:01] Production.INFO: neon service started
[2025-01-07 05:53:01] Production.INFO: neon service started
[2025-01-07 05:53:01] Production.INFO: ==15172== Releasing lock...
[2025-01-07 05:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:53:01] Production.INFO: ==15177== Lock acquired, processing the job...
[2025-01-07 05:53:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:53:01] Production.INFO: ==15177== Releasing lock...
[2025-01-07 05:53:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:53:01] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:53:02] Production.INFO: ==15175== Lock acquired, processing the job...
[2025-01-07 00:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:53:02] Production.INFO: ==15175== Releasing lock...
[2025-01-07 00:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:53:03] Production.INFO: ==15185== Lock acquired, processing the job...
[2025-01-07 00:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:53:03] Production.INFO: ==15187== Lock acquired, processing the job...
[2025-01-07 00:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:53:03] Production.INFO: ==15179== Lock acquired, processing the job...
[2025-01-07 00:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:53:03] Production.INFO: Account Balance Start.
[2025-01-07 00:53:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:53:03] Production.INFO: 117
[2025-01-07 00:53:03] Production.INFO: ==15181== Lock acquired, processing the job...
[2025-01-07 00:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:53:03] Production.INFO: Date 2024-12-08
[2025-01-07 00:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:53:03] Production.INFO: ==15183== Lock acquired, processing the job...
[2025-01-07 00:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:53:03] Production.INFO: Date 2024-12-09
[2025-01-07 00:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:53:03] Production.INFO: ==15189== Lock acquired, processing the job...
[2025-01-07 00:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:53:03] Production.INFO: Date 2024-12-10
[2025-01-07 00:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:53:03] Production.INFO: Date 2024-12-11
[2025-01-07 00:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:53:03] Production.ERROR: done
[2025-01-07 00:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:53:03] Production.INFO: Date 2024-12-12
[2025-01-07 00:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 00:53:03] Production.INFO: count ==21
[2025-01-07 00:53:03] Production.INFO: Date 2024-12-13
[2025-01-07 00:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 00:53:03] Production.INFO: count ==21
[2025-01-07 00:53:03] Production.INFO: Date 2024-12-14
[2025-01-07 00:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191353') start
[2025-01-07 00:53:03] Production.ERROR: done
[2025-01-07 00:53:03] Production.INFO: Date 2024-12-15
[2025-01-07 00:53:03] Production.INFO: ==15181== Releasing lock...
[2025-01-07 00:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:53:03] Production.INFO: Date 2024-12-16
[2025-01-07 00:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:53:03] Production.INFO: Date 2024-12-17
[2025-01-07 00:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191353') end
[2025-01-07 00:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:53:03] Production.INFO: 1
[2025-01-07 00:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:53:03] Production.INFO: Date 2024-12-18
[2025-01-07 00:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:53:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:53:04] Production.INFO: ==15189== Releasing lock...
[2025-01-07 00:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:53:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:53:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:53:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:53:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:53:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:53:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:53:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:53:04] Production.INFO: Date 2024-12-27
[2025-01-07 00:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:53:04] Production.INFO: Date 2024-12-28
[2025-01-07 00:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:53:04] Production.INFO: Date 2024-12-29
[2025-01-07 00:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:53:04] Production.INFO: Date 2024-12-30
[2025-01-07 00:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:53:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:53:04
[end_date_ymd] => 2025-01-07 00:53:04
[RateCDR] => 1
)
[2025-01-07 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-06 21:53:04' and `end` < '2025-01-07 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-07 00:53:04] Production.INFO: Date 2024-12-31
[2025-01-07 00:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:53:04] Production.INFO: Date 2025-01-01
[2025-01-07 00:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:53:04] Production.INFO: Date 2025-01-02
[2025-01-07 00:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:53:04] Production.INFO: Date 2025-01-03
[2025-01-07 00:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:53:04] Production.INFO: Date 2025-01-04
[2025-01-07 00:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:53:04] Production.INFO: Date 2025-01-05
[2025-01-07 00:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:53:04] Production.INFO: Date 2025-01-06
[2025-01-07 00:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:53:04] Production.INFO: Date 2025-01-07
[2025-01-07 00:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:53:04] Production.INFO: Total Charge 0
[2025-01-07 00:53:05] Production.INFO: CreateAllLog End
[2025-01-07 00:53:05] Production.INFO: Account Balance End.
[2025-01-07 00:53:05] Production.ERROR: CronJobId end 12
[2025-01-07 00:53:05] Production.INFO: ==15185== Releasing lock...
[2025-01-07 00:53:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:53:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:53:10] Production.ERROR: CronJobId end10
[2025-01-07 00:53:10] Production.INFO: ==15183== Releasing lock...
[2025-01-07 00:53:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:53:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:53:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:53:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:53:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:53:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:53:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:53:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:53:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:53:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:53:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:53:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:53:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:53:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:53:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:53:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:53:12] Production.INFO: call_cost start
[2025-01-07 00:53:12] Production.INFO: call_cost end
[2025-01-07 00:53:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:53:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:53:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:53:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:53:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:53:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:53:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:53:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:53:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:53:13] Production.INFO: ==15179== Releasing lock...
[2025-01-07 00:53:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:53:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:53:17] Production.INFO: count ==159
[2025-01-07 00:53:17] Production.ERROR: pbx CDR StartTime 2025-01-06 21:53:04 - End Time 2025-01-07 00:53:04
[2025-01-07 00:53:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191354', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191354', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191354', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191354', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:53:17] Production.INFO: ProcessCDR(1,14191354,1,1,2)
[2025-01-07 00:53:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191354,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:53:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191354,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:53:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191354,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:53:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191354,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:53:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191354', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:53:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191354', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:53:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:53:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:53:20] Production.INFO: ==15187== Releasing lock...
[2025-01-07 00:53:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:53:20] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 05:54:01] Production.INFO: ==15263== Lock acquired, processing the job...
[2025-01-07 05:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:54:02] Production.INFO: neon service started
[2025-01-07 05:54:02] Production.INFO: neon service started
[2025-01-07 05:54:02] Production.INFO: ==15263== Releasing lock...
[2025-01-07 05:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:54:02] Production.INFO: ==15267== Lock acquired, processing the job...
[2025-01-07 05:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:54:02] Production.INFO: ==15267== Releasing lock...
[2025-01-07 05:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:54:02] Production.INFO: ==15265== Lock acquired, processing the job...
[2025-01-07 00:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:54:02] Production.INFO: ==15265== Releasing lock...
[2025-01-07 00:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:54:03] Production.INFO: ==15272== Lock acquired, processing the job...
[2025-01-07 00:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:54:03] Production.INFO: ==15274== Lock acquired, processing the job...
[2025-01-07 00:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:54:03] Production.INFO: ==15282== Lock acquired, processing the job...
[2025-01-07 00:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:54:03] Production.INFO: count ==21
[2025-01-07 00:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:54:03] Production.INFO: count ==21
[2025-01-07 00:54:03] Production.INFO: ==15274== Releasing lock...
[2025-01-07 00:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191357') start
[2025-01-07 00:54:03] Production.INFO: ==15278== Lock acquired, processing the job...
[2025-01-07 00:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:54:03] Production.INFO: ==15276== Lock acquired, processing the job...
[2025-01-07 00:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:54:03] Production.INFO: Account Balance Start.
[2025-01-07 00:54:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:54:03] Production.INFO: 117
[2025-01-07 00:54:04] Production.INFO: Date 2024-12-08
[2025-01-07 00:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191357') end
[2025-01-07 00:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:54:04] Production.INFO: 1
[2025-01-07 00:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:54:04] Production.INFO: ==15282== Releasing lock...
[2025-01-07 00:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:54:04] Production.INFO: Date 2024-12-09
[2025-01-07 00:54:04] Production.INFO: ==15280== Lock acquired, processing the job...
[2025-01-07 00:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:54:04] Production.INFO: Date 2024-12-10
[2025-01-07 00:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:54:04] Production.INFO: Date 2024-12-11
[2025-01-07 00:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:54:04] Production.INFO: Date 2024-12-12
[2025-01-07 00:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:54:04] Production.INFO: Date 2024-12-13
[2025-01-07 00:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:54:04] Production.INFO: Date 2024-12-14
[2025-01-07 00:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:54:04] Production.INFO: Date 2024-12-15
[2025-01-07 00:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:54:04] Production.INFO: Date 2024-12-16
[2025-01-07 00:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:54:04] Production.ERROR: done
[2025-01-07 00:54:04] Production.INFO: Date 2024-12-17
[2025-01-07 00:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:54:04] Production.INFO: Date 2024-12-18
[2025-01-07 00:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:54:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:54:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:54:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:54:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:54:04] Production.ERROR: done
[2025-01-07 00:54:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:54:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:54:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:54:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:54:04] Production.INFO: Date 2024-12-27
[2025-01-07 00:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:54:04] Production.INFO: Date 2024-12-28
[2025-01-07 00:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:54:04] Production.INFO: Date 2024-12-29
[2025-01-07 00:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:54:04] Production.INFO: Date 2024-12-30
[2025-01-07 00:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:54:04] Production.INFO: Date 2024-12-31
[2025-01-07 00:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:54:05] Production.INFO: Date 2025-01-01
[2025-01-07 00:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:54:05] Production.INFO: Date 2025-01-02
[2025-01-07 00:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:54:05] Production.INFO: Date 2025-01-03
[2025-01-07 00:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:54:05] Production.INFO: Date 2025-01-04
[2025-01-07 00:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:54:05] Production.INFO: Date 2025-01-05
[2025-01-07 00:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:54:05] Production.INFO: Date 2025-01-06
[2025-01-07 00:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:54:05] Production.INFO: Date 2025-01-07
[2025-01-07 00:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:54:05] Production.INFO: Total Charge 0
[2025-01-07 00:54:05] Production.INFO: CreateAllLog End
[2025-01-07 00:54:05] Production.INFO: Account Balance End.
[2025-01-07 00:54:05] Production.ERROR: CronJobId end 12
[2025-01-07 00:54:05] Production.INFO: ==15278== Releasing lock...
[2025-01-07 00:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:54:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:54:05
[end_date_ymd] => 2025-01-07 00:54:05
[RateCDR] => 1
)
[2025-01-07 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-06 21:54:05' and `end` < '2025-01-07 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-07 00:54:11] Production.ERROR: CronJobId end10
[2025-01-07 00:54:11] Production.INFO: ==15276== Releasing lock...
[2025-01-07 00:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:54:13] Production.INFO: call_cost start
[2025-01-07 00:54:13] Production.INFO: call_cost end
[2025-01-07 00:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:54:14] Production.INFO: ==15272== Releasing lock...
[2025-01-07 00:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:54:19] Production.INFO: count ==159
[2025-01-07 00:54:19] Production.ERROR: pbx CDR StartTime 2025-01-06 21:54:05 - End Time 2025-01-07 00:54:05
[2025-01-07 00:54:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191359', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191359', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191359', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191359', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:54:19] Production.INFO: ProcessCDR(1,14191359,1,1,2)
[2025-01-07 00:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191359,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191359,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191359,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191359,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191359', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191359', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:54:22] Production.INFO: ==15280== Releasing lock...
[2025-01-07 00:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:54:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 05:55:01] Production.INFO: ==15346== Lock acquired, processing the job...
[2025-01-07 05:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:55:01] Production.INFO: neon service started
[2025-01-07 05:55:01] Production.INFO: neon service started
[2025-01-07 05:55:01] Production.INFO: ==15346== Releasing lock...
[2025-01-07 05:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:55:01] Production.INFO: ==15350== Lock acquired, processing the job...
[2025-01-07 00:55:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:55:02] Production.INFO: ==15352== Lock acquired, processing the job...
[2025-01-07 05:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:55:02] Production.INFO: ==15352== Releasing lock...
[2025-01-07 05:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:55:02] Production.INFO: ==15350== Releasing lock...
[2025-01-07 00:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:55:03] Production.INFO: ==15355== Lock acquired, processing the job...
[2025-01-07 00:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:55:03] Production.INFO: ==15357== Lock acquired, processing the job...
[2025-01-07 00:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:55:03] Production.INFO: ==15359== Lock acquired, processing the job...
[2025-01-07 00:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:55:03] Production.INFO: ==15363== Lock acquired, processing the job...
[2025-01-07 00:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:55:03] Production.INFO: ==15365== Lock acquired, processing the job...
[2025-01-07 00:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:55:03] Production.INFO: ==15361== Lock acquired, processing the job...
[2025-01-07 00:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 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-07 00:55:03] Production.INFO: count ==21
[2025-01-07 00:55:03] Production.INFO: ==15357== Releasing lock...
[2025-01-07 00:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 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-07 00:55:03] Production.INFO: count ==21
[2025-01-07 00:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191362') start
[2025-01-07 00:55:03] Production.INFO: Account Balance Start.
[2025-01-07 00:55:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:55:03] Production.INFO: 117
[2025-01-07 00:55:03] Production.INFO: Date 2024-12-08
[2025-01-07 00:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:55:03] Production.ERROR: done
[2025-01-07 00:55:03] Production.INFO: Date 2024-12-09
[2025-01-07 00:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:55:03] Production.INFO: Date 2024-12-10
[2025-01-07 00:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191362') end
[2025-01-07 00:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:55:03] Production.INFO: 1
[2025-01-07 00:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:55:03] Production.INFO: Date 2024-12-11
[2025-01-07 00:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:55:03] Production.INFO: ==15365== Releasing lock...
[2025-01-07 00:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:55:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:55:03] Production.ERROR: done
[2025-01-07 00:55:03] Production.INFO: Date 2024-12-12
[2025-01-07 00:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:55:03] Production.INFO: Date 2024-12-13
[2025-01-07 00:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:55:03] Production.INFO: Date 2024-12-14
[2025-01-07 00:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:55:04] Production.INFO: Date 2024-12-15
[2025-01-07 00:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:55:04] Production.INFO: Date 2024-12-16
[2025-01-07 00:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:55:04] Production.INFO: Date 2024-12-17
[2025-01-07 00:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:55:04] Production.INFO: Date 2024-12-18
[2025-01-07 00:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:55:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:55:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:55:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:55:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:55:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:55:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:55:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:55:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:55:04] Production.INFO: Date 2024-12-27
[2025-01-07 00:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:55:04] Production.INFO: Date 2024-12-28
[2025-01-07 00:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:55:04] Production.INFO: Date 2024-12-29
[2025-01-07 00:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:55:04] Production.INFO: Date 2024-12-30
[2025-01-07 00:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:55:04] Production.INFO: Date 2024-12-31
[2025-01-07 00:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:55:04] Production.INFO: Date 2025-01-01
[2025-01-07 00:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:55:04] Production.INFO: Date 2025-01-02
[2025-01-07 00:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:55:04] Production.INFO: Date 2025-01-03
[2025-01-07 00:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:55:04] Production.INFO: Date 2025-01-04
[2025-01-07 00:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:55:04] Production.INFO: Date 2025-01-05
[2025-01-07 00:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:55:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:55:04
[end_date_ymd] => 2025-01-07 00:55:04
[RateCDR] => 1
)
[2025-01-07 00:55:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 21:55:04' and `end` < '2025-01-07 00:55:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 00:55:04] Production.INFO: Date 2025-01-06
[2025-01-07 00:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:55:04] Production.INFO: Date 2025-01-07
[2025-01-07 00:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:55:04] Production.INFO: Total Charge 0
[2025-01-07 00:55:04] Production.INFO: CreateAllLog End
[2025-01-07 00:55:05] Production.INFO: Account Balance End.
[2025-01-07 00:55:05] Production.ERROR: CronJobId end 12
[2025-01-07 00:55:05] Production.INFO: ==15361== Releasing lock...
[2025-01-07 00:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:55:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:55:12] Production.ERROR: CronJobId end10
[2025-01-07 00:55:12] Production.INFO: ==15359== Releasing lock...
[2025-01-07 00:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:55:14] Production.INFO: call_cost start
[2025-01-07 00:55:14] Production.INFO: call_cost end
[2025-01-07 00:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:55:14] Production.INFO: ==15355== Releasing lock...
[2025-01-07 00:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:55:18] Production.INFO: count ==156
[2025-01-07 00:55:18] Production.ERROR: pbx CDR StartTime 2025-01-06 21:55:04 - End Time 2025-01-07 00:55:04
[2025-01-07 00:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191364', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191364', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191364', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191364', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:55:18] Production.INFO: ProcessCDR(1,14191364,1,1,2)
[2025-01-07 00:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191364,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191364,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191364,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191364,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191364', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191364', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:55:22] Production.INFO: ==15363== Releasing lock...
[2025-01-07 00:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:55:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 05:56:02] Production.INFO: ==15441== Lock acquired, processing the job...
[2025-01-07 05:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:56:02] Production.INFO: neon service started
[2025-01-07 05:56:02] Production.INFO: neon service started
[2025-01-07 05:56:02] Production.INFO: ==15441== Releasing lock...
[2025-01-07 05:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:56:02] Production.INFO: ==15445== Lock acquired, processing the job...
[2025-01-07 05:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:56:02] Production.INFO: ==15445== Releasing lock...
[2025-01-07 05:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:56:02] Production.INFO: ==15443== Lock acquired, processing the job...
[2025-01-07 00:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:56:02] Production.INFO: ==15443== Releasing lock...
[2025-01-07 00:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:56:03] Production.INFO: ==15456== Lock acquired, processing the job...
[2025-01-07 00:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:56:03] Production.INFO: ==15459== Lock acquired, processing the job...
[2025-01-07 00:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:56:03] Production.INFO: Account Balance Start.
[2025-01-07 00:56:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:56:03] Production.INFO: 117
[2025-01-07 00:56:03] Production.INFO: Date 2024-12-08
[2025-01-07 00:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:56:03] Production.INFO: Date 2024-12-09
[2025-01-07 00:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:56:03] Production.INFO: ==15450== Lock acquired, processing the job...
[2025-01-07 00:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:56:03] Production.INFO: Date 2024-12-10
[2025-01-07 00:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:56:03] Production.INFO: ==15452== Lock acquired, processing the job...
[2025-01-07 00:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:56:03] Production.INFO: Date 2024-12-11
[2025-01-07 00:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:56:03] Production.INFO: ==15454== Lock acquired, processing the job...
[2025-01-07 00:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:56:03] Production.INFO: Date 2024-12-12
[2025-01-07 00:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:56:04] Production.INFO: ==15462== Lock acquired, processing the job...
[2025-01-07 00:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:56:04] Production.INFO: Date 2024-12-13
[2025-01-07 00:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:56:04] Production.INFO: Date 2024-12-14
[2025-01-07 00:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:56:04] Production.INFO: Date 2024-12-15
[2025-01-07 00:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:56:04] Production.ERROR: done
[2025-01-07 00:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:56:04] Production.INFO: ==15452== Releasing lock...
[2025-01-07 00:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:56:04] Production.INFO: Date 2024-12-16
[2025-01-07 00:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:56:04] Production.INFO: count ==21
[2025-01-07 00:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:56:04] Production.ERROR: done
[2025-01-07 00:56:04] Production.INFO: count ==21
[2025-01-07 00:56:04] Production.INFO: Date 2024-12-17
[2025-01-07 00:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191368') start
[2025-01-07 00:56:04] Production.INFO: Date 2024-12-18
[2025-01-07 00:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:56:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:56:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191368') end
[2025-01-07 00:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:56:04] Production.INFO: 1
[2025-01-07 00:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:56:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:56:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:56:04] Production.INFO: ==15462== Releasing lock...
[2025-01-07 00:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:56:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:56:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:56:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:56:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:56:05] Production.INFO: Date 2024-12-27
[2025-01-07 00:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:56:05] Production.INFO: Date 2024-12-28
[2025-01-07 00:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:56:05] Production.INFO: Date 2024-12-29
[2025-01-07 00:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:56:05] Production.INFO: Date 2024-12-30
[2025-01-07 00:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:56:05] Production.INFO: Date 2024-12-31
[2025-01-07 00:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:56:05] Production.INFO: Date 2025-01-01
[2025-01-07 00:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:56:05] Production.INFO: Date 2025-01-02
[2025-01-07 00:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:56:05] Production.INFO: Date 2025-01-03
[2025-01-07 00:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:56:05] Production.INFO: Date 2025-01-04
[2025-01-07 00:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:56:05
[end_date_ymd] => 2025-01-07 00:56:05
[RateCDR] => 1
)
[2025-01-07 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-06 21:56:05' and `end` < '2025-01-07 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-07 00:56:05] Production.INFO: Date 2025-01-05
[2025-01-07 00:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:56:05] Production.INFO: Date 2025-01-06
[2025-01-07 00:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:56:05] Production.INFO: Date 2025-01-07
[2025-01-07 00:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:56:05] Production.INFO: Total Charge 0
[2025-01-07 00:56:05] Production.INFO: CreateAllLog End
[2025-01-07 00:56:05] Production.INFO: Account Balance End.
[2025-01-07 00:56:05] Production.ERROR: CronJobId end 12
[2025-01-07 00:56:05] Production.INFO: ==15456== Releasing lock...
[2025-01-07 00:56:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:56:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:56:12] Production.ERROR: CronJobId end10
[2025-01-07 00:56:12] Production.INFO: ==15454== Releasing lock...
[2025-01-07 00:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:56:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:56:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:56:14] Production.INFO: call_cost start
[2025-01-07 00:56:14] Production.INFO: call_cost end
[2025-01-07 00:56:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:56:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:56:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:56:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:56:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:56:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:56:15] Production.INFO: ==15450== Releasing lock...
[2025-01-07 00:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:56:19] Production.INFO: count ==154
[2025-01-07 00:56:19] Production.ERROR: pbx CDR StartTime 2025-01-06 21:56:05 - End Time 2025-01-07 00:56:05
[2025-01-07 00:56:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191369', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191369', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191369', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191369', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:56:19] Production.INFO: ProcessCDR(1,14191369,1,1,2)
[2025-01-07 00:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191369,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191369,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191369,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191369,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191369', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191369', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:56:22] Production.INFO: ==15459== Releasing lock...
[2025-01-07 00:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:56:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 05:57:01] Production.INFO: ==15533== Lock acquired, processing the job...
[2025-01-07 05:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:57:01] Production.INFO: neon service started
[2025-01-07 05:57:01] Production.INFO: neon service started
[2025-01-07 05:57:01] Production.INFO: ==15533== Releasing lock...
[2025-01-07 05:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:57:01] Production.INFO: ==15537== Lock acquired, processing the job...
[2025-01-07 05:57:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:57:01] Production.INFO: ==15537== Releasing lock...
[2025-01-07 05:57:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:57:01] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:57:01] Production.INFO: ==15535== Lock acquired, processing the job...
[2025-01-07 00:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:57:02] Production.INFO: ==15535== Releasing lock...
[2025-01-07 00:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:57:02] Production.INFO: ==15539== Lock acquired, processing the job...
[2025-01-07 00:57:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:57:03] Production.INFO: ==15545== Lock acquired, processing the job...
[2025-01-07 00:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:57:03] Production.INFO: ==15547== Lock acquired, processing the job...
[2025-01-07 00:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:57:03] Production.INFO: Account Balance Start.
[2025-01-07 00:57:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:57:03] Production.INFO: 117
[2025-01-07 00:57:03] Production.INFO: Date 2024-12-08
[2025-01-07 00:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:57:03] Production.INFO: Date 2024-12-09
[2025-01-07 00:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:57:03] Production.INFO: ==15541== Lock acquired, processing the job...
[2025-01-07 00:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:57:03] Production.INFO: ==15543== Lock acquired, processing the job...
[2025-01-07 00:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:57:03] Production.INFO: Date 2024-12-10
[2025-01-07 00:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:57:03] Production.INFO: Date 2024-12-11
[2025-01-07 00:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:57:03] Production.INFO: ==15549== Lock acquired, processing the job...
[2025-01-07 00:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:57:03] Production.INFO: Date 2024-12-12
[2025-01-07 00:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:57:03] Production.INFO: Date 2024-12-13
[2025-01-07 00:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:57:03] Production.ERROR: done
[2025-01-07 00:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:57:03] Production.ERROR: done
[2025-01-07 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-07 00:57:03] Production.INFO: ==15541== Releasing lock...
[2025-01-07 00:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:57:03] Production.INFO: Date 2024-12-14
[2025-01-07 00:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:57:03] Production.INFO: Date 2024-12-15
[2025-01-07 00:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:57:03] Production.INFO: count ==21
[2025-01-07 00:57:03] Production.INFO: Date 2024-12-16
[2025-01-07 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-07 00:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:57:03] Production.INFO: count ==21
[2025-01-07 00:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191373') start
[2025-01-07 00:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191373') end
[2025-01-07 00:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:57:03] Production.INFO: 1
[2025-01-07 00:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:57:03] Production.INFO: Date 2024-12-17
[2025-01-07 00:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:57:04] Production.INFO: ==15549== Releasing lock...
[2025-01-07 00:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:57:04] Production.INFO: Date 2024-12-18
[2025-01-07 00:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:57:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:57:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:57:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:57:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:57:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:57:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:57:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:57:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:57:04] Production.INFO: Date 2024-12-27
[2025-01-07 00:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:57:04] Production.INFO: Date 2024-12-28
[2025-01-07 00:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:57:04] Production.INFO: Date 2024-12-29
[2025-01-07 00:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:57:04] Production.INFO: Date 2024-12-30
[2025-01-07 00:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:57:04] Production.INFO: Date 2024-12-31
[2025-01-07 00:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:57:04] Production.INFO: Date 2025-01-01
[2025-01-07 00:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:57:04] Production.INFO: Date 2025-01-02
[2025-01-07 00:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:57:04] Production.INFO: Date 2025-01-03
[2025-01-07 00:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:57:04] Production.INFO: Date 2025-01-04
[2025-01-07 00:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:57:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:57:04
[end_date_ymd] => 2025-01-07 00:57:04
[RateCDR] => 1
)
[2025-01-07 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-06 21:57:04' and `end` < '2025-01-07 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-07 00:57:04] Production.INFO: Date 2025-01-05
[2025-01-07 00:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:57:04] Production.INFO: Date 2025-01-06
[2025-01-07 00:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:57:04] Production.INFO: Date 2025-01-07
[2025-01-07 00:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:57:04] Production.INFO: Total Charge 0
[2025-01-07 00:57:04] Production.INFO: CreateAllLog End
[2025-01-07 00:57:04] Production.INFO: Account Balance End.
[2025-01-07 00:57:04] Production.ERROR: CronJobId end 12
[2025-01-07 00:57:04] Production.INFO: ==15545== Releasing lock...
[2025-01-07 00:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:57:11] Production.ERROR: CronJobId end10
[2025-01-07 00:57:11] Production.INFO: ==15543== Releasing lock...
[2025-01-07 00:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:57:13] Production.INFO: call_cost start
[2025-01-07 00:57:13] Production.INFO: call_cost end
[2025-01-07 00:57:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:57:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:57:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:57:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:57:14] Production.INFO: ==15539== Releasing lock...
[2025-01-07 00:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:57:17] Production.INFO: count ==154
[2025-01-07 00:57:17] Production.ERROR: pbx CDR StartTime 2025-01-06 21:57:04 - End Time 2025-01-07 00:57:04
[2025-01-07 00:57:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191374', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191374', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191374', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191374', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:57:17] Production.INFO: ProcessCDR(1,14191374,1,1,2)
[2025-01-07 00:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191374,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191374,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191374,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191374,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191374', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191374', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:57:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:57:22] Production.INFO: ==15547== Releasing lock...
[2025-01-07 00:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:57:22] Production.INFO: 29 MB #Memory Used#
[2025-01-07 05:58:01] Production.INFO: ==15627== Lock acquired, processing the job...
[2025-01-07 05:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:58:01] Production.INFO: neon service started
[2025-01-07 05:58:01] Production.INFO: neon service started
[2025-01-07 05:58:01] Production.INFO: ==15627== Releasing lock...
[2025-01-07 05:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 00:58:02] Production.INFO: ==15629== Lock acquired, processing the job...
[2025-01-07 00:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:58:02] Production.INFO: ==15631== Lock acquired, processing the job...
[2025-01-07 05:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:58:02] Production.INFO: ==15631== Releasing lock...
[2025-01-07 05:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:58:02] Production.INFO: ==15629== Releasing lock...
[2025-01-07 00:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:58:03] Production.INFO: ==15634== Lock acquired, processing the job...
[2025-01-07 00:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:58:03] Production.INFO: ==15636== Lock acquired, processing the job...
[2025-01-07 00:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:58:03] Production.INFO: ==15640== Lock acquired, processing the job...
[2025-01-07 00:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:58:03] Production.INFO: ==15642== Lock acquired, processing the job...
[2025-01-07 00:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:58:03] Production.INFO: Account Balance Start.
[2025-01-07 00:58:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:58:03] Production.INFO: 117
[2025-01-07 00:58:03] Production.INFO: Date 2024-12-08
[2025-01-07 00:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:58:03] Production.INFO: ==15638== Lock acquired, processing the job...
[2025-01-07 00:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:58:03] Production.INFO: Date 2024-12-09
[2025-01-07 00:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:58:04] Production.INFO: Date 2024-12-10
[2025-01-07 00:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:58:04] Production.INFO: ==15644== Lock acquired, processing the job...
[2025-01-07 00:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:58:04] Production.INFO: Date 2024-12-11
[2025-01-07 00:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:58:04] Production.INFO: ==15636== Releasing lock...
[2025-01-07 00:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:58:04] Production.ERROR: done
[2025-01-07 00:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:58:04] Production.INFO: Date 2024-12-12
[2025-01-07 00:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:58:04] Production.INFO: Date 2024-12-13
[2025-01-07 00:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:58:04] Production.INFO: Date 2024-12-14
[2025-01-07 00:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:58:04] Production.INFO: count ==21
[2025-01-07 00:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:58:04] Production.INFO: count ==21
[2025-01-07 00:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191378') start
[2025-01-07 00:58:04] Production.ERROR: done
[2025-01-07 00:58:04] Production.INFO: Date 2024-12-15
[2025-01-07 00:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:58:04] Production.INFO: Date 2024-12-16
[2025-01-07 00:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:58:04] Production.INFO: Date 2024-12-17
[2025-01-07 00:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:58:04] Production.INFO: Date 2024-12-18
[2025-01-07 00:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191378') end
[2025-01-07 00:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:58:04] Production.INFO: 1
[2025-01-07 00:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:58:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:58:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:58:04] Production.INFO: ==15644== Releasing lock...
[2025-01-07 00:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:58:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:58:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:58:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:58:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:58:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:58:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:58:04] Production.INFO: Date 2024-12-27
[2025-01-07 00:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:58:04] Production.INFO: Date 2024-12-28
[2025-01-07 00:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:58:05] Production.INFO: Date 2024-12-29
[2025-01-07 00:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:58:05] Production.INFO: Date 2024-12-30
[2025-01-07 00:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:58:05] Production.INFO: Date 2024-12-31
[2025-01-07 00:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:58:05] Production.INFO: Date 2025-01-01
[2025-01-07 00:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:58:05] Production.INFO: Date 2025-01-02
[2025-01-07 00:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:58:05] Production.INFO: Date 2025-01-03
[2025-01-07 00:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:58:05] Production.INFO: Date 2025-01-04
[2025-01-07 00:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:58:05] Production.INFO: Date 2025-01-05
[2025-01-07 00:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:58:05] Production.INFO: Date 2025-01-06
[2025-01-07 00:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:58:05] Production.INFO: Date 2025-01-07
[2025-01-07 00:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:58:05] Production.INFO: Total Charge 0
[2025-01-07 00:58:05] Production.INFO: CreateAllLog End
[2025-01-07 00:58:05] Production.INFO: Account Balance End.
[2025-01-07 00:58:05] Production.ERROR: CronJobId end 12
[2025-01-07 00:58:05] Production.INFO: ==15640== Releasing lock...
[2025-01-07 00:58:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:58:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:58:05
[end_date_ymd] => 2025-01-07 00:58:05
[RateCDR] => 1
)
[2025-01-07 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-06 21:58:05' and `end` < '2025-01-07 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-07 00:58:12] Production.ERROR: CronJobId end10
[2025-01-07 00:58:12] Production.INFO: ==15638== Releasing lock...
[2025-01-07 00:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:58:13] Production.INFO: call_cost start
[2025-01-07 00:58:13] Production.INFO: call_cost end
[2025-01-07 00:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:58:14] Production.INFO: ==15634== Releasing lock...
[2025-01-07 00:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:58:18] Production.INFO: count ==153
[2025-01-07 00:58:18] Production.ERROR: pbx CDR StartTime 2025-01-06 21:58:05 - End Time 2025-01-07 00:58:05
[2025-01-07 00:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191379', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191379', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191379', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191379', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:58:18] Production.INFO: ProcessCDR(1,14191379,1,1,2)
[2025-01-07 00:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191379,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191379,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191379,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191379,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191379', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191379', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:58:21] Production.INFO: ==15642== Releasing lock...
[2025-01-07 00:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:58:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 05:59:02] Production.INFO: ==15722== Lock acquired, processing the job...
[2025-01-07 05:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 05:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 05:59:02] Production.INFO: neon service started
[2025-01-07 05:59:02] Production.INFO: neon service started
[2025-01-07 05:59:02] Production.INFO: ==15722== Releasing lock...
[2025-01-07 05:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 05:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:59:02] Production.INFO: ==15726== Lock acquired, processing the job...
[2025-01-07 05:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:59:02] Production.INFO: ==15726== Releasing lock...
[2025-01-07 05:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 05:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 00:59:02] Production.INFO: ==15724== Lock acquired, processing the job...
[2025-01-07 00:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 00:59:02] Production.INFO: ==15724== Releasing lock...
[2025-01-07 00:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 00:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 00:59:03] Production.INFO: ==15734== Lock acquired, processing the job...
[2025-01-07 00:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 00:59:03] Production.INFO: ==15736== Lock acquired, processing the job...
[2025-01-07 00:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 00:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 00:59:03] Production.INFO: ==15728== Lock acquired, processing the job...
[2025-01-07 00:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 00:59:03] Production.INFO: Account Balance Start.
[2025-01-07 00:59:03] Production.INFO: CreateAllLog Start
[2025-01-07 00:59:03] Production.INFO: 117
[2025-01-07 00:59:03] Production.INFO: Date 2024-12-08
[2025-01-07 00:59:03] Production.INFO: ==15730== Lock acquired, processing the job...
[2025-01-07 00:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 00:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 00:59:03] Production.INFO: ==15732== Lock acquired, processing the job...
[2025-01-07 00:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 00:59:04] Production.INFO: Date 2024-12-09
[2025-01-07 00:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 00:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 00:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 00:59:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 00:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 00:59:04] Production.INFO: ==15738== Lock acquired, processing the job...
[2025-01-07 00:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 00:59:04] Production.INFO: Date 2024-12-10
[2025-01-07 00:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:59:04] Production.ERROR: done
[2025-01-07 00:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 00:59:04] Production.INFO: Date 2024-12-11
[2025-01-07 00:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:59:04] Production.INFO: Date 2024-12-12
[2025-01-07 00:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:59:04] Production.INFO: count ==21
[2025-01-07 00:59:04] Production.INFO: Date 2024-12-13
[2025-01-07 00:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 00:59:04] Production.INFO: count ==21
[2025-01-07 00:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191383') start
[2025-01-07 00:59:04] Production.INFO: Date 2024-12-14
[2025-01-07 00:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:59:04] Production.INFO: ==15730== Releasing lock...
[2025-01-07 00:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 00:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 00:59:04] Production.INFO: Date 2024-12-15
[2025-01-07 00:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:59:04] Production.ERROR: done
[2025-01-07 00:59:04] Production.INFO: Date 2024-12-16
[2025-01-07 00:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:59:04] Production.INFO: Date 2024-12-17
[2025-01-07 00:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191383') end
[2025-01-07 00:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 00:59:04] Production.INFO: 1
[2025-01-07 00:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 00:59:04] Production.INFO: ==15738== Releasing lock...
[2025-01-07 00:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 00:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 00:59:04] Production.INFO: Date 2024-12-18
[2025-01-07 00:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:59:04] Production.INFO: Date 2024-12-19
[2025-01-07 00:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:59:04] Production.INFO: Date 2024-12-20
[2025-01-07 00:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:59:04] Production.INFO: Date 2024-12-21
[2025-01-07 00:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:59:04] Production.INFO: Date 2024-12-22
[2025-01-07 00:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:59:04] Production.INFO: Date 2024-12-23
[2025-01-07 00:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:59:04] Production.INFO: Date 2024-12-24
[2025-01-07 00:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:59:04] Production.INFO: Date 2024-12-25
[2025-01-07 00:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:59:04] Production.INFO: Date 2024-12-26
[2025-01-07 00:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:59:04] Production.INFO: Date 2024-12-27
[2025-01-07 00:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:59:04] Production.INFO: Date 2024-12-28
[2025-01-07 00:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:59:04] Production.INFO: Date 2024-12-29
[2025-01-07 00:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:59:04] Production.INFO: Date 2024-12-30
[2025-01-07 00:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 00:59:05] Production.INFO: Date 2024-12-31
[2025-01-07 00:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:59:05] Production.INFO: Date 2025-01-01
[2025-01-07 00:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:59:05] Production.INFO: Date 2025-01-02
[2025-01-07 00:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:59:05] Production.INFO: Date 2025-01-03
[2025-01-07 00:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:59:05] Production.INFO: Date 2025-01-04
[2025-01-07 00:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:59:05] Production.INFO: Date 2025-01-05
[2025-01-07 00:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:59:05] Production.INFO: Date 2025-01-06
[2025-01-07 00:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:59:05] Production.INFO: Date 2025-01-07
[2025-01-07 00:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 00:59:05] Production.INFO: Total Charge 0
[2025-01-07 00:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 21:59:05
[end_date_ymd] => 2025-01-07 00:59:05
[RateCDR] => 1
)
[2025-01-07 00:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 21:59:05' and `end` < '2025-01-07 00:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 00:59:05] Production.INFO: CreateAllLog End
[2025-01-07 00:59:05] Production.INFO: Account Balance End.
[2025-01-07 00:59:05] Production.ERROR: CronJobId end 12
[2025-01-07 00:59:05] Production.INFO: ==15734== Releasing lock...
[2025-01-07 00:59:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 00:59:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 00:59:11] Production.ERROR: CronJobId end10
[2025-01-07 00:59:11] Production.INFO: ==15732== Releasing lock...
[2025-01-07 00:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 00:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 00:59:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 00:59:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 00:59:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 00:59:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 00:59:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 00:59:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 00:59:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 00:59:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 00:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 00:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 00:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 00:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 00:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 00:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 00:59:14] Production.INFO: call_cost start
[2025-01-07 00:59:14] Production.INFO: call_cost end
[2025-01-07 00:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 00:59:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 00:59:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 00:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 00:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 00:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 00:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 00:59:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 00:59:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 00:59:15] Production.INFO: ==15728== Releasing lock...
[2025-01-07 00:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 00:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 00:59:18] Production.INFO: count ==153
[2025-01-07 00:59:18] Production.ERROR: pbx CDR StartTime 2025-01-06 21:59:05 - End Time 2025-01-07 00:59:05
[2025-01-07 00:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 00:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191384', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191384', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191384', 'tblTempVendorCDR_20' ) start
[2025-01-07 00:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191384', 'tblTempVendorCDR_20' ) end
[2025-01-07 00:59:18] Production.INFO: ProcessCDR(1,14191384,1,1,2)
[2025-01-07 00:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191384,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:59:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191384,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 00:59:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191384,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191384,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 00:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191384', 'tblTempUsageDetail_20' ) start
[2025-01-07 00:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191384', 'tblTempUsageDetail_20' ) end
[2025-01-07 00:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 00:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 00:59:21] Production.INFO: ==15736== Releasing lock...
[2025-01-07 00:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 00:59:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 06:00:01] Production.INFO: ==15812== Lock acquired, processing the job...
[2025-01-07 06:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:00:01] Production.INFO: neon service started
[2025-01-07 06:00:01] Production.INFO: neon service started
[2025-01-07 06:00:01] Production.INFO: ==15812== Releasing lock...
[2025-01-07 06:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:00:02] Production.INFO: ==15814== Lock acquired, processing the job...
[2025-01-07 01:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:00:02] Production.INFO: ==15814== Releasing lock...
[2025-01-07 01:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:00:02] Production.INFO: ==15816== Lock acquired, processing the job...
[2025-01-07 06:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:00:02] Production.INFO: ==15816== Releasing lock...
[2025-01-07 06:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:00:03] Production.INFO: ==15820== Lock acquired, processing the job...
[2025-01-07 01:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:00:03] Production.INFO: ==15828== Lock acquired, processing the job...
[2025-01-07 01:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:00:03] Production.INFO: ==15830== Lock acquired, processing the job...
[2025-01-07 01:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 01:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:00:03] Production.INFO: ==15818== Lock acquired, processing the job...
[2025-01-07 01:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 01:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:00:03] Production.INFO: ==15822== Lock acquired, processing the job...
[2025-01-07 01:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:00:03] Production.INFO: ==15824== Lock acquired, processing the job...
[2025-01-07 01:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 01:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 01:00:03] Production.ERROR: CronJob PID - 15820
[2025-01-07 01:00:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-07 01:00:03] Production.ERROR: CronJob ID - 5
[2025-01-07 01:00:03] Production.ERROR: CronJob Last Run Time 2025-01-07 01:00:00
[2025-01-07 01:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 01:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 01:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 01:00:03] Production.ERROR: CronJob PID - 15828
[2025-01-07 01:00:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-07 01:00:03] Production.ERROR: CronJob ID - 16
[2025-01-07 01:00:03] Production.ERROR: CronJob Last Run Time 2025-01-07 01:00:00
[2025-01-07 01:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 01:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 01:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 01:00:03] Production.ERROR: CronJob PID - 15830
[2025-01-07 01:00:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-07 01:00:03] Production.ERROR: CronJob ID - 17
[2025-01-07 01:00:03] Production.ERROR: CronJob Last Run Time 2025-01-07 01:00:00
[2025-01-07 01:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 01:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 01:00:03] Production.INFO: ==15832== Lock acquired, processing the job...
[2025-01-07 01:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:00:03] Production.INFO: ==15826== Lock acquired, processing the job...
[2025-01-07 01:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 01:00:03] Production.INFO: ==15818== Releasing lock...
[2025-01-07 01:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 01:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 01:00:04] Production.ERROR: done
[2025-01-07 01:00:04] Production.INFO: Account Balance Start.
[2025-01-07 01:00:04] Production.INFO: CreateAllLog Start
[2025-01-07 01:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:00:04] Production.ERROR: done
[2025-01-07 01:00:04] Production.INFO: 117
[2025-01-07 01:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:00:04] Production.INFO: Date 2024-12-08
[2025-01-07 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-07 01:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 01:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14191389', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 01:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:00:04] Production.INFO: Date 2024-12-09
[2025-01-07 01:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:00:04] Production.INFO: count ==21
[2025-01-07 01:00:04] Production.INFO: Date 2024-12-10
[2025-01-07 01:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 01:00:04] Production.INFO: count ==21
[2025-01-07 01:00:04] Production.INFO: Date 2024-12-11
[2025-01-07 01:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191386') start
[2025-01-07 01:00:04] Production.ERROR: done
[2025-01-07 01:00:04] Production.INFO: Date 2024-12-12
[2025-01-07 01:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:00:04] Production.INFO: Date 2024-12-13
[2025-01-07 01:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:00:04] Production.INFO: Date 2024-12-14
[2025-01-07 01:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191386') end
[2025-01-07 01:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:00:04] Production.INFO: 1
[2025-01-07 01:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:00:04] Production.INFO: Date 2024-12-15
[2025-01-07 01:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:00:04] Production.INFO: ==15832== Releasing lock...
[2025-01-07 01:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:00:04] Production.INFO: Date 2024-12-16
[2025-01-07 01:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:00:04] Production.INFO: ==15822== Releasing lock...
[2025-01-07 01:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:00:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:00:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:00:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:00:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:00:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:00:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:00:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:00:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:00:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:00:05] Production.INFO: Date 2024-12-26
[2025-01-07 01:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:00:05] Production.INFO: Date 2024-12-27
[2025-01-07 01:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:00:05] Production.INFO: Date 2024-12-28
[2025-01-07 01:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:00:05] Production.INFO: Date 2024-12-29
[2025-01-07 01:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:00:05] Production.INFO: Date 2024-12-30
[2025-01-07 01:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:00:05] Production.INFO: Date 2024-12-31
[2025-01-07 01:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:00:05] Production.INFO: Date 2025-01-01
[2025-01-07 01:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:00:05] Production.INFO: Date 2025-01-02
[2025-01-07 01:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:00:05] Production.INFO: Date 2025-01-03
[2025-01-07 01:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:00:05] Production.INFO: Date 2025-01-04
[2025-01-07 01:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:00:05] Production.INFO: Date 2025-01-05
[2025-01-07 01:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:00:05] Production.INFO: Date 2025-01-06
[2025-01-07 01:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:00:05] Production.INFO: Date 2025-01-07
[2025-01-07 01:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:00:05] Production.INFO: Total Charge 0
[2025-01-07 01:00:05] Production.INFO: CreateAllLog End
[2025-01-07 01:00:05] Production.INFO: Account Balance End.
[2025-01-07 01:00:05] Production.ERROR: CronJobId end 12
[2025-01-07 01:00:05] Production.INFO: ==15826== Releasing lock...
[2025-01-07 01:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:00:05
[end_date_ymd] => 2025-01-07 01:00:05
[RateCDR] => 1
)
[2025-01-07 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-06 22:00:05' and `end` < '2025-01-07 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-07 01:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14191389', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 01:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 01:00:08] Production.INFO: ProcessCDR(1,14191389,1,1,2)
[2025-01-07 01:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14191389,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14191389,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:00:09] Production.INFO: ==15830== Releasing lock...
[2025-01-07 01:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 01:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-07 01:00:13] Production.ERROR: CronJobId end10
[2025-01-07 01:00:13] Production.INFO: ==15824== Releasing lock...
[2025-01-07 01:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:00:15] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:00:15] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:00:15] Production.INFO: call_cost start
[2025-01-07 01:00:15] Production.INFO: call_cost end
[2025-01-07 01:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:00:16] Production.INFO: ==15820== Releasing lock...
[2025-01-07 01:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:00:19] Production.INFO: count ==161
[2025-01-07 01:00:19] Production.ERROR: pbx CDR StartTime 2025-01-06 22:00:05 - End Time 2025-01-07 01:00:05
[2025-01-07 01:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191390', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191390', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191390', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191390', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:00:19] Production.INFO: ProcessCDR(1,14191390,1,1,2)
[2025-01-07 01:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191390,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191390,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191390,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191390,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191390', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191390', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:00:22] Production.INFO: ==15828== Releasing lock...
[2025-01-07 01:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:00:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 06:01:02] Production.INFO: ==15910== Lock acquired, processing the job...
[2025-01-07 06:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:01:02] Production.INFO: neon service started
[2025-01-07 06:01:02] Production.INFO: neon service started
[2025-01-07 06:01:02] Production.INFO: ==15910== Releasing lock...
[2025-01-07 06:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:01:02] Production.INFO: ==15925== Lock acquired, processing the job...
[2025-01-07 01:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:01:03] Production.INFO: ==15925== Releasing lock...
[2025-01-07 01:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:01:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:01:03] Production.INFO: ==15927== Lock acquired, processing the job...
[2025-01-07 06:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:01:03] Production.INFO: ==15927== Releasing lock...
[2025-01-07 06:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:01:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:01:04] Production.INFO: ==15933== Lock acquired, processing the job...
[2025-01-07 01:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:01:04] Production.INFO: ==15929== Lock acquired, processing the job...
[2025-01-07 01:01:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:01:04] Production.INFO: ==15935== Lock acquired, processing the job...
[2025-01-07 01:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:01:04] Production.INFO: ==15931== Lock acquired, processing the job...
[2025-01-07 01:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:01:04] Production.INFO: Account Balance Start.
[2025-01-07 01:01:04] Production.INFO: CreateAllLog Start
[2025-01-07 01:01:04] Production.INFO: 117
[2025-01-07 01:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:01:04] Production.INFO: Date 2024-12-08
[2025-01-07 01:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:01:04] Production.INFO: Date 2024-12-09
[2025-01-07 01:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:01:04] Production.INFO: Date 2024-12-10
[2025-01-07 01:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:01:04] Production.INFO: Date 2024-12-11
[2025-01-07 01:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:01:04] Production.INFO: Date 2024-12-12
[2025-01-07 01:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:01:04] Production.INFO: Date 2024-12-13
[2025-01-07 01:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:01:04] Production.INFO: ==15937== Lock acquired, processing the job...
[2025-01-07 01:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:01:04] Production.INFO: ==15939== Lock acquired, processing the job...
[2025-01-07 01:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:01:04] Production.INFO: Date 2024-12-14
[2025-01-07 01:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:01:04] Production.INFO: Date 2024-12-15
[2025-01-07 01:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:01:04] Production.INFO: Date 2024-12-16
[2025-01-07 01:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:01:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:01:04] Production.INFO: ==15931== Releasing lock...
[2025-01-07 01:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 01:01:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:01:04] Production.INFO: count ==21
[2025-01-07 01:01:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 01:01:04] Production.INFO: count ==21
[2025-01-07 01:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191394') start
[2025-01-07 01:01:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:01:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:01:04] Production.ERROR: done
[2025-01-07 01:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:01:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191394') end
[2025-01-07 01:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:01:04] Production.INFO: 1
[2025-01-07 01:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:01:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:01:05] Production.INFO: Date 2024-12-24
[2025-01-07 01:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:01:05] Production.INFO: ==15939== Releasing lock...
[2025-01-07 01:01:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:01:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:01:05] Production.INFO: Date 2024-12-25
[2025-01-07 01:01:05] Production.ERROR: done
[2025-01-07 01:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:01:05] Production.INFO: Date 2024-12-26
[2025-01-07 01:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:01:05] Production.INFO: Date 2024-12-27
[2025-01-07 01:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:01:05] Production.INFO: Date 2024-12-28
[2025-01-07 01:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:01:05] Production.INFO: Date 2024-12-29
[2025-01-07 01:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:01:05] Production.INFO: Date 2024-12-30
[2025-01-07 01:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:01:05] Production.INFO: Date 2024-12-31
[2025-01-07 01:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:01:05] Production.INFO: Date 2025-01-01
[2025-01-07 01:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:01:05] Production.INFO: Date 2025-01-02
[2025-01-07 01:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:01:05] Production.INFO: Date 2025-01-03
[2025-01-07 01:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:01:05] Production.INFO: Date 2025-01-04
[2025-01-07 01:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:01:05] Production.INFO: Date 2025-01-05
[2025-01-07 01:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:01:05] Production.INFO: Date 2025-01-06
[2025-01-07 01:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:01:05] Production.INFO: Date 2025-01-07
[2025-01-07 01:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:01:05] Production.INFO: Total Charge 0
[2025-01-07 01:01:05] Production.INFO: CreateAllLog End
[2025-01-07 01:01:05] Production.INFO: Account Balance End.
[2025-01-07 01:01:05] Production.ERROR: CronJobId end 12
[2025-01-07 01:01:05] Production.INFO: ==15935== Releasing lock...
[2025-01-07 01:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:01:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:01:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:01:06
[end_date_ymd] => 2025-01-07 01:01:06
[RateCDR] => 1
)
[2025-01-07 01:01:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 22:01:06' and `end` < '2025-01-07 01:01:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 01:01:13] Production.ERROR: CronJobId end10
[2025-01-07 01:01:13] Production.INFO: ==15933== Releasing lock...
[2025-01-07 01:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:01:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:01:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:01:15] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:01:15] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:01:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:01:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:01:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:01:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:01:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:01:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:01:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:01:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:01:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:01:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:01:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:01:15] Production.INFO: call_cost start
[2025-01-07 01:01:15] Production.INFO: call_cost end
[2025-01-07 01:01:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:01:16] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:01:16] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:01:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:01:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:01:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:01:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:01:16] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:01:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:01:16] Production.INFO: ==15929== Releasing lock...
[2025-01-07 01:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:01:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:01:20] Production.INFO: count ==171
[2025-01-07 01:01:20] Production.ERROR: pbx CDR StartTime 2025-01-06 22:01:06 - End Time 2025-01-07 01:01:06
[2025-01-07 01:01:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191395', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191395', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191395', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191395', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:01:20] Production.INFO: ProcessCDR(1,14191395,1,1,2)
[2025-01-07 01:01:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191395,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:01:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191395,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:01:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191395,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:01:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191395,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191395', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191395', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:01:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:01:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:01:23] Production.INFO: ==15937== Releasing lock...
[2025-01-07 01:01:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:01:23] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 06:02:01] Production.INFO: ==16025== Lock acquired, processing the job...
[2025-01-07 06:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:02:01] Production.INFO: neon service started
[2025-01-07 06:02:01] Production.INFO: neon service started
[2025-01-07 06:02:01] Production.INFO: ==16025== Releasing lock...
[2025-01-07 06:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:02:02] Production.INFO: ==16027== Lock acquired, processing the job...
[2025-01-07 01:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:02:02] Production.INFO: ==16027== Releasing lock...
[2025-01-07 01:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:02:02] Production.INFO: ==16029== Lock acquired, processing the job...
[2025-01-07 06:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:02:02] Production.INFO: ==16029== Releasing lock...
[2025-01-07 06:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:02:03] Production.INFO: ==16031== Lock acquired, processing the job...
[2025-01-07 01:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:02:03] Production.INFO: ==16037== Lock acquired, processing the job...
[2025-01-07 01:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:02:03] Production.INFO: ==16035== Lock acquired, processing the job...
[2025-01-07 01:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:02:03] Production.INFO: ==16033== Lock acquired, processing the job...
[2025-01-07 01:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:02:03] Production.INFO: Account Balance Start.
[2025-01-07 01:02:03] Production.INFO: CreateAllLog Start
[2025-01-07 01:02:03] Production.INFO: 117
[2025-01-07 01:02:03] Production.INFO: Date 2024-12-08
[2025-01-07 01:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:02:03] Production.INFO: ==16040== Lock acquired, processing the job...
[2025-01-07 01:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:02:03] Production.INFO: ==16042== Lock acquired, processing the job...
[2025-01-07 01:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:02:03] Production.INFO: Date 2024-12-09
[2025-01-07 01:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:02:03] Production.INFO: Date 2024-12-10
[2025-01-07 01:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:02:03] Production.INFO: Date 2024-12-11
[2025-01-07 01:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:02:03] Production.INFO: count ==21
[2025-01-07 01:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:02:03] Production.INFO: count ==21
[2025-01-07 01:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191399') start
[2025-01-07 01:02:03] Production.INFO: ==16033== Releasing lock...
[2025-01-07 01:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:02:04] Production.INFO: Date 2024-12-12
[2025-01-07 01:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:02:04] Production.ERROR: done
[2025-01-07 01:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:02:04] Production.INFO: Date 2024-12-13
[2025-01-07 01:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:02:04] Production.INFO: Date 2024-12-14
[2025-01-07 01:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191399') end
[2025-01-07 01:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:02:04] Production.INFO: 1
[2025-01-07 01:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:02:04] Production.INFO: Date 2024-12-15
[2025-01-07 01:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:02:04] Production.ERROR: done
[2025-01-07 01:02:04] Production.INFO: ==16042== Releasing lock...
[2025-01-07 01:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:02:04] Production.INFO: Date 2024-12-16
[2025-01-07 01:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:02:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:02:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:02:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:02:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:02:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:02:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:02:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:02:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:02:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:02:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:02:04] Production.INFO: Date 2024-12-27
[2025-01-07 01:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:02:04] Production.INFO: Date 2024-12-28
[2025-01-07 01:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:02:04] Production.INFO: Date 2024-12-29
[2025-01-07 01:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:02:04] Production.INFO: Date 2024-12-30
[2025-01-07 01:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:02:04] Production.INFO: Date 2024-12-31
[2025-01-07 01:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:02:04] Production.INFO: Date 2025-01-01
[2025-01-07 01:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:02:04] Production.INFO: Date 2025-01-02
[2025-01-07 01:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:02:04] Production.INFO: Date 2025-01-03
[2025-01-07 01:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:02:04] Production.INFO: Date 2025-01-04
[2025-01-07 01:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:02:04] Production.INFO: Date 2025-01-05
[2025-01-07 01:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:02:05] Production.INFO: Date 2025-01-06
[2025-01-07 01:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:02:05] Production.INFO: Date 2025-01-07
[2025-01-07 01:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:02:05] Production.INFO: Total Charge 0
[2025-01-07 01:02:05] Production.INFO: CreateAllLog End
[2025-01-07 01:02:05] Production.INFO: Account Balance End.
[2025-01-07 01:02:05] Production.ERROR: CronJobId end 12
[2025-01-07 01:02:05] Production.INFO: ==16037== Releasing lock...
[2025-01-07 01:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:02:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:02:05
[end_date_ymd] => 2025-01-07 01:02:05
[RateCDR] => 1
)
[2025-01-07 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-06 22:02:05' and `end` < '2025-01-07 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-07 01:02:11] Production.ERROR: CronJobId end10
[2025-01-07 01:02:11] Production.INFO: ==16035== Releasing lock...
[2025-01-07 01:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:02:13] Production.INFO: call_cost start
[2025-01-07 01:02:13] Production.INFO: call_cost end
[2025-01-07 01:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:02:14] Production.INFO: ==16031== Releasing lock...
[2025-01-07 01:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:02:18] Production.INFO: count ==171
[2025-01-07 01:02:18] Production.ERROR: pbx CDR StartTime 2025-01-06 22:02:05 - End Time 2025-01-07 01:02:05
[2025-01-07 01:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191400', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191400', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191400', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191400', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:02:18] Production.INFO: ProcessCDR(1,14191400,1,1,2)
[2025-01-07 01:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191400,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191400,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191400,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191400,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191400', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191400', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:02:21] Production.INFO: ==16040== Releasing lock...
[2025-01-07 01:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:02:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 06:03:01] Production.INFO: ==16121== Lock acquired, processing the job...
[2025-01-07 06:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:03:01] Production.INFO: neon service started
[2025-01-07 06:03:01] Production.INFO: neon service started
[2025-01-07 06:03:01] Production.INFO: ==16121== Releasing lock...
[2025-01-07 06:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:03:01] Production.INFO: ==16126== Lock acquired, processing the job...
[2025-01-07 06:03:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:03:01] Production.INFO: ==16126== Releasing lock...
[2025-01-07 06:03:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:03:01] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:03:01] Production.INFO: ==16124== Lock acquired, processing the job...
[2025-01-07 01:03:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:03:02] Production.INFO: ==16124== Releasing lock...
[2025-01-07 01:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:03:03] Production.INFO: ==16134== Lock acquired, processing the job...
[2025-01-07 01:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:03:03] Production.INFO: ==16128== Lock acquired, processing the job...
[2025-01-07 01:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:03:03] Production.INFO: ==16138== Lock acquired, processing the job...
[2025-01-07 01:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:03:03] Production.INFO: Account Balance Start.
[2025-01-07 01:03:03] Production.INFO: CreateAllLog Start
[2025-01-07 01:03:03] Production.INFO: 117
[2025-01-07 01:03:03] Production.INFO: ==16130== Lock acquired, processing the job...
[2025-01-07 01:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:03:03] Production.INFO: Date 2024-12-08
[2025-01-07 01:03:03] Production.INFO: ==16132== Lock acquired, processing the job...
[2025-01-07 01:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:03:03] Production.INFO: count ==21
[2025-01-07 01:03:03] Production.INFO: ==16136== Lock acquired, processing the job...
[2025-01-07 01:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:03:03] Production.INFO: Date 2024-12-09
[2025-01-07 01:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:03:03] Production.INFO: count ==21
[2025-01-07 01:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191402') start
[2025-01-07 01:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:03:03] Production.INFO: Date 2024-12-10
[2025-01-07 01:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:03:03] Production.INFO: Date 2024-12-11
[2025-01-07 01:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191402') end
[2025-01-07 01:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:03:03] Production.INFO: 1
[2025-01-07 01:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:03:03] Production.INFO: Date 2024-12-12
[2025-01-07 01:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:03:03] Production.INFO: ==16138== Releasing lock...
[2025-01-07 01:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:03:03] Production.ERROR: done
[2025-01-07 01:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:03:03] Production.INFO: ==16130== Releasing lock...
[2025-01-07 01:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:03:03] Production.INFO: Date 2024-12-13
[2025-01-07 01:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:03:03] Production.INFO: Date 2024-12-14
[2025-01-07 01:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:03:03] Production.INFO: Date 2024-12-15
[2025-01-07 01:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:03:03] Production.INFO: Date 2024-12-16
[2025-01-07 01:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:03:03] Production.INFO: Date 2024-12-17
[2025-01-07 01:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:03:03] Production.INFO: Date 2024-12-18
[2025-01-07 01:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:03:03] Production.ERROR: done
[2025-01-07 01:03:03] Production.INFO: Date 2024-12-19
[2025-01-07 01:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:03:03] Production.INFO: Date 2024-12-20
[2025-01-07 01:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:03:03] Production.INFO: Date 2024-12-21
[2025-01-07 01:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:03:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:03:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:03:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:03:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:03:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:03:04] Production.INFO: Date 2024-12-27
[2025-01-07 01:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:03:04] Production.INFO: Date 2024-12-28
[2025-01-07 01:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:03:04] Production.INFO: Date 2024-12-29
[2025-01-07 01:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:03:04] Production.INFO: Date 2024-12-30
[2025-01-07 01:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:03:04] Production.INFO: Date 2024-12-31
[2025-01-07 01:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:03:04] Production.INFO: Date 2025-01-01
[2025-01-07 01:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:03:04] Production.INFO: Date 2025-01-02
[2025-01-07 01:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:03:04] Production.INFO: Date 2025-01-03
[2025-01-07 01:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:03:04] Production.INFO: Date 2025-01-04
[2025-01-07 01:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:03:04] Production.INFO: Date 2025-01-05
[2025-01-07 01:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:03:04] Production.INFO: Date 2025-01-06
[2025-01-07 01:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:03:04] Production.INFO: Date 2025-01-07
[2025-01-07 01:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:03:04] Production.INFO: Total Charge 0
[2025-01-07 01:03:04] Production.INFO: CreateAllLog End
[2025-01-07 01:03:04] Production.INFO: Account Balance End.
[2025-01-07 01:03:04] Production.ERROR: CronJobId end 12
[2025-01-07 01:03:04] Production.INFO: ==16134== Releasing lock...
[2025-01-07 01:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:03:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:03:04
[end_date_ymd] => 2025-01-07 01:03:04
[RateCDR] => 1
)
[2025-01-07 01:03:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 22:03:04' and `end` < '2025-01-07 01:03:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 01:03:12] Production.ERROR: CronJobId end10
[2025-01-07 01:03:12] Production.INFO: ==16132== Releasing lock...
[2025-01-07 01:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:03:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:03:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:03:14] Production.INFO: call_cost start
[2025-01-07 01:03:14] Production.INFO: call_cost end
[2025-01-07 01:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:03:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:03:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:03:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:03:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:03:15] Production.INFO: ==16128== Releasing lock...
[2025-01-07 01:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:03:19] Production.INFO: count ==165
[2025-01-07 01:03:19] Production.ERROR: pbx CDR StartTime 2025-01-06 22:03:04 - End Time 2025-01-07 01:03:04
[2025-01-07 01:03:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191405', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191405', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191405', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191405', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:03:19] Production.INFO: ProcessCDR(1,14191405,1,1,2)
[2025-01-07 01:03:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191405,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191405,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191405,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191405,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191405', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191405', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:03:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:03:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:03:22] Production.INFO: ==16136== Releasing lock...
[2025-01-07 01:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:03:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 06:04:01] Production.INFO: ==16218== Lock acquired, processing the job...
[2025-01-07 06:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:04:01] Production.INFO: neon service started
[2025-01-07 06:04:01] Production.INFO: neon service started
[2025-01-07 06:04:01] Production.INFO: ==16218== Releasing lock...
[2025-01-07 06:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:04:02] Production.INFO: ==16220== Lock acquired, processing the job...
[2025-01-07 01:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:04:02] Production.INFO: ==16220== Releasing lock...
[2025-01-07 01:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:04:02] Production.INFO: ==16222== Lock acquired, processing the job...
[2025-01-07 06:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:04:02] Production.INFO: ==16222== Releasing lock...
[2025-01-07 06:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:04:03] Production.INFO: ==16228== Lock acquired, processing the job...
[2025-01-07 01:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:04:03] Production.INFO: ==16232== Lock acquired, processing the job...
[2025-01-07 01:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:04:03] Production.INFO: ==16224== Lock acquired, processing the job...
[2025-01-07 01:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:04:03] Production.INFO: ==16226== Lock acquired, processing the job...
[2025-01-07 01:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:04:03] Production.INFO: ==16234== Lock acquired, processing the job...
[2025-01-07 01:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:04:03] Production.INFO: ==16230== Lock acquired, processing the job...
[2025-01-07 01:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:04:03] Production.ERROR: done
[2025-01-07 01:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:04:03] Production.INFO: Account Balance Start.
[2025-01-07 01:04:03] Production.INFO: CreateAllLog Start
[2025-01-07 01:04:03] Production.INFO: 117
[2025-01-07 01:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:04:04] Production.INFO: Date 2024-12-08
[2025-01-07 01:04:04] Production.INFO: count ==21
[2025-01-07 01:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:04:04] Production.ERROR: done
[2025-01-07 01:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:04:04] Production.INFO: count ==21
[2025-01-07 01:04:04] Production.INFO: Date 2024-12-09
[2025-01-07 01:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191408') start
[2025-01-07 01:04:04] Production.INFO: Date 2024-12-10
[2025-01-07 01:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191408') end
[2025-01-07 01:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:04:04] Production.INFO: 1
[2025-01-07 01:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:04:04] Production.INFO: ==16226== Releasing lock...
[2025-01-07 01:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:04:04] Production.INFO: ==16234== Releasing lock...
[2025-01-07 01:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:04:04] Production.INFO: Date 2024-12-11
[2025-01-07 01:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:04:04] Production.INFO: Date 2024-12-12
[2025-01-07 01:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:04:04] Production.INFO: Date 2024-12-13
[2025-01-07 01:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:04:04] Production.INFO: Date 2024-12-14
[2025-01-07 01:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:04:04] Production.INFO: Date 2024-12-15
[2025-01-07 01:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:04:04] Production.INFO: Date 2024-12-16
[2025-01-07 01:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:04:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:04:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:04:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:04:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:04:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:04:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:04:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:04:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:04:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:04:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:04:04] Production.INFO: Date 2024-12-27
[2025-01-07 01:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:04:04] Production.INFO: Date 2024-12-28
[2025-01-07 01:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:04:05] Production.INFO: Date 2024-12-29
[2025-01-07 01:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:04:05] Production.INFO: Date 2024-12-30
[2025-01-07 01:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:04:05] Production.INFO: Date 2024-12-31
[2025-01-07 01:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:04:05] Production.INFO: Date 2025-01-01
[2025-01-07 01:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:04:05] Production.INFO: Date 2025-01-02
[2025-01-07 01:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:04:05] Production.INFO: Date 2025-01-03
[2025-01-07 01:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:04:05] Production.INFO: Date 2025-01-04
[2025-01-07 01:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:04:05] Production.INFO: Date 2025-01-05
[2025-01-07 01:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:04:05] Production.INFO: Date 2025-01-06
[2025-01-07 01:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:04:05] Production.INFO: Date 2025-01-07
[2025-01-07 01:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:04:05] Production.INFO: Total Charge 0
[2025-01-07 01:04:05] Production.INFO: CreateAllLog End
[2025-01-07 01:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:04:05
[end_date_ymd] => 2025-01-07 01:04:05
[RateCDR] => 1
)
[2025-01-07 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-06 22:04:05' and `end` < '2025-01-07 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-07 01:04:05] Production.INFO: Account Balance End.
[2025-01-07 01:04:05] Production.ERROR: CronJobId end 12
[2025-01-07 01:04:05] Production.INFO: ==16230== Releasing lock...
[2025-01-07 01:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:04:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:04:11] Production.ERROR: CronJobId end10
[2025-01-07 01:04:11] Production.INFO: ==16228== Releasing lock...
[2025-01-07 01:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:04:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:04:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:04:14] Production.INFO: call_cost start
[2025-01-07 01:04:14] Production.INFO: call_cost end
[2025-01-07 01:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:04:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:04:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:04:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:04:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:04:15] Production.INFO: ==16224== Releasing lock...
[2025-01-07 01:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:04:18] Production.INFO: count ==162
[2025-01-07 01:04:18] Production.ERROR: pbx CDR StartTime 2025-01-06 22:04:05 - End Time 2025-01-07 01:04:05
[2025-01-07 01:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191410', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191410', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191410', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191410', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:04:18] Production.INFO: ProcessCDR(1,14191410,1,1,2)
[2025-01-07 01:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191410,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191410,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191410,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191410,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191410', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191410', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:04:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:04:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:04:21] Production.INFO: ==16232== Releasing lock...
[2025-01-07 01:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:04:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 06:05:02] Production.INFO: ==16326== Lock acquired, processing the job...
[2025-01-07 06:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:05:02] Production.INFO: neon service started
[2025-01-07 06:05:02] Production.INFO: neon service started
[2025-01-07 06:05:02] Production.INFO: ==16326== Releasing lock...
[2025-01-07 06:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:05:02] Production.INFO: ==16328== Lock acquired, processing the job...
[2025-01-07 01:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:05:03] Production.INFO: ==16328== Releasing lock...
[2025-01-07 01:05:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:05:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:05:03] Production.INFO: ==16330== Lock acquired, processing the job...
[2025-01-07 06:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:05:03] Production.INFO: ==16330== Releasing lock...
[2025-01-07 06:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:05:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:05:03] Production.INFO: ==16337== Lock acquired, processing the job...
[2025-01-07 01:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:05:04] Production.INFO: ==16343== Lock acquired, processing the job...
[2025-01-07 01:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:05:04] Production.INFO: ==16333== Lock acquired, processing the job...
[2025-01-07 01:05:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:05:04] Production.INFO: ==16335== Lock acquired, processing the job...
[2025-01-07 01:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:05:04] Production.INFO: ==16339== Lock acquired, processing the job...
[2025-01-07 01:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:05:04] Production.INFO: ==16341== Lock acquired, processing the job...
[2025-01-07 01:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:05:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:05:04] Production.INFO: count ==21
[2025-01-07 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-07 01:05:04] Production.INFO: count ==21
[2025-01-07 01:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191411') start
[2025-01-07 01:05:04] Production.INFO: Account Balance Start.
[2025-01-07 01:05:04] Production.INFO: CreateAllLog Start
[2025-01-07 01:05:04] Production.INFO: 117
[2025-01-07 01:05:04] Production.INFO: Date 2024-12-08
[2025-01-07 01:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:05:04] Production.INFO: Date 2024-12-09
[2025-01-07 01:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:05:04] Production.INFO: Date 2024-12-10
[2025-01-07 01:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191411') end
[2025-01-07 01:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:05:04] Production.INFO: 1
[2025-01-07 01:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:05:04] Production.INFO: Date 2024-12-11
[2025-01-07 01:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:05:04] Production.INFO: ==16335== Releasing lock...
[2025-01-07 01:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:05:04] Production.INFO: Date 2024-12-12
[2025-01-07 01:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:05:04] Production.INFO: Date 2024-12-13
[2025-01-07 01:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:05:04] Production.ERROR: done
[2025-01-07 01:05:04] Production.INFO: ==16343== Releasing lock...
[2025-01-07 01:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:05:04] Production.INFO: Date 2024-12-14
[2025-01-07 01:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:05:04] Production.INFO: Date 2024-12-15
[2025-01-07 01:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:05:04] Production.INFO: Date 2024-12-16
[2025-01-07 01:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:05:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:05:04] Production.ERROR: done
[2025-01-07 01:05:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:05:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:05:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:05:05] Production.INFO: Date 2024-12-21
[2025-01-07 01:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:05:05] Production.INFO: Date 2024-12-22
[2025-01-07 01:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:05:05] Production.INFO: Date 2024-12-23
[2025-01-07 01:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:05:05] Production.INFO: Date 2024-12-24
[2025-01-07 01:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:05:05] Production.INFO: Date 2024-12-25
[2025-01-07 01:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:05:05] Production.INFO: Date 2024-12-26
[2025-01-07 01:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:05:05] Production.INFO: Date 2024-12-27
[2025-01-07 01:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:05:05] Production.INFO: Date 2024-12-28
[2025-01-07 01:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:05:05] Production.INFO: Date 2024-12-29
[2025-01-07 01:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:05:05] Production.INFO: Date 2024-12-30
[2025-01-07 01:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:05:05] Production.INFO: Date 2024-12-31
[2025-01-07 01:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:05:05] Production.INFO: Date 2025-01-01
[2025-01-07 01:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:05:05] Production.INFO: Date 2025-01-02
[2025-01-07 01:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:05:05] Production.INFO: Date 2025-01-03
[2025-01-07 01:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:05:05] Production.INFO: Date 2025-01-04
[2025-01-07 01:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:05:05] Production.INFO: Date 2025-01-05
[2025-01-07 01:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:05:05] Production.INFO: Date 2025-01-06
[2025-01-07 01:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:05:05] Production.INFO: Date 2025-01-07
[2025-01-07 01:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:05:05] Production.INFO: Total Charge 0
[2025-01-07 01:05:05] Production.INFO: CreateAllLog End
[2025-01-07 01:05:05] Production.INFO: Account Balance End.
[2025-01-07 01:05:05] Production.ERROR: CronJobId end 12
[2025-01-07 01:05:05] Production.INFO: ==16339== Releasing lock...
[2025-01-07 01:05:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:05:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:05:05
[end_date_ymd] => 2025-01-07 01:05:05
[RateCDR] => 1
)
[2025-01-07 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-06 22:05:05' and `end` < '2025-01-07 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-07 01:05:11] Production.ERROR: CronJobId end10
[2025-01-07 01:05:11] Production.INFO: ==16337== Releasing lock...
[2025-01-07 01:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:05:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:05:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:05:14] Production.INFO: call_cost start
[2025-01-07 01:05:14] Production.INFO: call_cost end
[2025-01-07 01:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:05:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:05:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:05:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:05:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:05:15] Production.INFO: ==16333== Releasing lock...
[2025-01-07 01:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:05:20] Production.INFO: count ==163
[2025-01-07 01:05:20] Production.ERROR: pbx CDR StartTime 2025-01-06 22:05:05 - End Time 2025-01-07 01:05:05
[2025-01-07 01:05:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191415', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191415', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191415', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191415', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:05:20] Production.INFO: ProcessCDR(1,14191415,1,1,2)
[2025-01-07 01:05:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191415,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:05:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191415,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:05:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191415,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:05:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191415,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:05:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191415', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:05:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191415', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:05:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:05:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:05:24] Production.INFO: ==16341== Releasing lock...
[2025-01-07 01:05:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:05:24] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 06:06:01] Production.INFO: ==16429== Lock acquired, processing the job...
[2025-01-07 06:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:06:01] Production.INFO: neon service started
[2025-01-07 06:06:01] Production.INFO: neon service started
[2025-01-07 06:06:01] Production.INFO: ==16429== Releasing lock...
[2025-01-07 06:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:06:02] Production.INFO: ==16431== Lock acquired, processing the job...
[2025-01-07 01:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:06:02] Production.INFO: ==16431== Releasing lock...
[2025-01-07 01:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:06:02] Production.INFO: ==16433== Lock acquired, processing the job...
[2025-01-07 06:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:06:02] Production.INFO: ==16433== Releasing lock...
[2025-01-07 06:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:06:03] Production.INFO: ==16436== Lock acquired, processing the job...
[2025-01-07 01:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:06:03] Production.INFO: ==16444== Lock acquired, processing the job...
[2025-01-07 01:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:06:03] Production.INFO: ==16442== Lock acquired, processing the job...
[2025-01-07 01:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:06:03] Production.INFO: ==16438== Lock acquired, processing the job...
[2025-01-07 01:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:06:03] Production.INFO: ==16440== Lock acquired, processing the job...
[2025-01-07 01:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:06:03] Production.INFO: Account Balance Start.
[2025-01-07 01:06:03] Production.INFO: CreateAllLog Start
[2025-01-07 01:06:03] Production.INFO: 117
[2025-01-07 01:06:03] Production.INFO: ==16446== Lock acquired, processing the job...
[2025-01-07 01:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:06:03] Production.INFO: Date 2024-12-08
[2025-01-07 01:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:06:03] Production.INFO: Date 2024-12-09
[2025-01-07 01:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:06:03] Production.INFO: Date 2024-12-10
[2025-01-07 01:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:06:03] Production.INFO: Date 2024-12-11
[2025-01-07 01:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:06:03] Production.INFO: Date 2024-12-12
[2025-01-07 01:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 01:06:03] Production.ERROR: done
[2025-01-07 01:06:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:06:03] Production.INFO: count ==21
[2025-01-07 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-07 01:06:03] Production.INFO: count ==21
[2025-01-07 01:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191419') start
[2025-01-07 01:06:04] Production.ERROR: done
[2025-01-07 01:06:04] Production.INFO: Date 2024-12-13
[2025-01-07 01:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:06:04] Production.INFO: ==16438== Releasing lock...
[2025-01-07 01:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:06:04] Production.INFO: Date 2024-12-14
[2025-01-07 01:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:06:04] Production.INFO: Date 2024-12-15
[2025-01-07 01:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191419') end
[2025-01-07 01:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:06:04] Production.INFO: 1
[2025-01-07 01:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:06:04] Production.INFO: ==16446== Releasing lock...
[2025-01-07 01:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:06:04] Production.INFO: Date 2024-12-16
[2025-01-07 01:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:06:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:06:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:06:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:06:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:06:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:06:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:06:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:06:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:06:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:06:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:06:04] Production.INFO: Date 2024-12-27
[2025-01-07 01:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:06:04] Production.INFO: Date 2024-12-28
[2025-01-07 01:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:06:04] Production.INFO: Date 2024-12-29
[2025-01-07 01:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:06:04] Production.INFO: Date 2024-12-30
[2025-01-07 01:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:06:04] Production.INFO: Date 2024-12-31
[2025-01-07 01:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:06:04] Production.INFO: Date 2025-01-01
[2025-01-07 01:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:06:04] Production.INFO: Date 2025-01-02
[2025-01-07 01:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:06:04] Production.INFO: Date 2025-01-03
[2025-01-07 01:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:06:05] Production.INFO: Date 2025-01-04
[2025-01-07 01:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:06:05] Production.INFO: Date 2025-01-05
[2025-01-07 01:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:06:05] Production.INFO: Date 2025-01-06
[2025-01-07 01:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:06:05
[end_date_ymd] => 2025-01-07 01:06:05
[RateCDR] => 1
)
[2025-01-07 01:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 22:06:05' and `end` < '2025-01-07 01:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 01:06:05] Production.INFO: Date 2025-01-07
[2025-01-07 01:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:06:05] Production.INFO: Total Charge 0
[2025-01-07 01:06:05] Production.INFO: CreateAllLog End
[2025-01-07 01:06:05] Production.INFO: Account Balance End.
[2025-01-07 01:06:05] Production.ERROR: CronJobId end 12
[2025-01-07 01:06:05] Production.INFO: ==16442== Releasing lock...
[2025-01-07 01:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:06:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:06:12] Production.ERROR: CronJobId end10
[2025-01-07 01:06:12] Production.INFO: ==16440== Releasing lock...
[2025-01-07 01:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:06:14] Production.INFO: call_cost start
[2025-01-07 01:06:14] Production.INFO: call_cost end
[2025-01-07 01:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:06:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:06:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:06:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:06:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:06:15] Production.INFO: ==16436== Releasing lock...
[2025-01-07 01:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:06:17] Production.INFO: count ==163
[2025-01-07 01:06:17] Production.ERROR: pbx CDR StartTime 2025-01-06 22:06:05 - End Time 2025-01-07 01:06:05
[2025-01-07 01:06:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191420', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191420', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191420', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191420', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:06:17] Production.INFO: ProcessCDR(1,14191420,1,1,2)
[2025-01-07 01:06:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191420,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:06:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191420,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:06:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191420,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191420,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191420', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191420', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:06:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:06:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:06:21] Production.INFO: ==16444== Releasing lock...
[2025-01-07 01:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:06:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 06:07:02] Production.INFO: ==16526== Lock acquired, processing the job...
[2025-01-07 06:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:07:02] Production.INFO: neon service started
[2025-01-07 06:07:02] Production.INFO: neon service started
[2025-01-07 06:07:02] Production.INFO: ==16526== Releasing lock...
[2025-01-07 06:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:07:02] Production.INFO: ==16528== Lock acquired, processing the job...
[2025-01-07 01:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:07:02] Production.INFO: ==16530== Lock acquired, processing the job...
[2025-01-07 06:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:07:02] Production.INFO: ==16530== Releasing lock...
[2025-01-07 06:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:07:03] Production.INFO: ==16528== Releasing lock...
[2025-01-07 01:07:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:07:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:07:03] Production.INFO: ==16537== Lock acquired, processing the job...
[2025-01-07 01:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:07:03] Production.INFO: ==16535== Lock acquired, processing the job...
[2025-01-07 01:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:07:03] Production.INFO: ==16545== Lock acquired, processing the job...
[2025-01-07 01:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:07:04] Production.INFO: ==16539== Lock acquired, processing the job...
[2025-01-07 01:07:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:07:04] Production.INFO: ==16541== Lock acquired, processing the job...
[2025-01-07 01:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:07:04] Production.INFO: ==16543== Lock acquired, processing the job...
[2025-01-07 01:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:07:04] Production.INFO: count ==21
[2025-01-07 01:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:07:04] Production.INFO: ==16537== Releasing lock...
[2025-01-07 01:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:07:04] Production.INFO: count ==21
[2025-01-07 01:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191423') start
[2025-01-07 01:07:04] Production.INFO: Account Balance Start.
[2025-01-07 01:07:04] Production.INFO: CreateAllLog Start
[2025-01-07 01:07:04] Production.INFO: 117
[2025-01-07 01:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:07:04] Production.INFO: Date 2024-12-08
[2025-01-07 01:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:07:04] Production.INFO: Date 2024-12-09
[2025-01-07 01:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:07:04] Production.INFO: Date 2024-12-10
[2025-01-07 01:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191423') end
[2025-01-07 01:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:07:04] Production.INFO: 1
[2025-01-07 01:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:07:04] Production.INFO: Date 2024-12-11
[2025-01-07 01:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:07:04] Production.INFO: ==16545== Releasing lock...
[2025-01-07 01:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:07:04] Production.INFO: Date 2024-12-12
[2025-01-07 01:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:07:04] Production.INFO: Date 2024-12-13
[2025-01-07 01:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:07:04] Production.INFO: Date 2024-12-14
[2025-01-07 01:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:07:04] Production.INFO: Date 2024-12-15
[2025-01-07 01:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:07:04] Production.ERROR: done
[2025-01-07 01:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:07:04] Production.INFO: Date 2024-12-16
[2025-01-07 01:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:07:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:07:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:07:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:07:04] Production.ERROR: done
[2025-01-07 01:07:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:07:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:07:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:07:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:07:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:07:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:07:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:07:05] Production.INFO: Date 2024-12-27
[2025-01-07 01:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:07:05] Production.INFO: Date 2024-12-28
[2025-01-07 01:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:07:05] Production.INFO: Date 2024-12-29
[2025-01-07 01:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:07:05] Production.INFO: Date 2024-12-30
[2025-01-07 01:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:07:05] Production.INFO: Date 2024-12-31
[2025-01-07 01:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:07:05] Production.INFO: Date 2025-01-01
[2025-01-07 01:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:07:05] Production.INFO: Date 2025-01-02
[2025-01-07 01:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:07:05] Production.INFO: Date 2025-01-03
[2025-01-07 01:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:07:05] Production.INFO: Date 2025-01-04
[2025-01-07 01:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:07:05] Production.INFO: Date 2025-01-05
[2025-01-07 01:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:07:05] Production.INFO: Date 2025-01-06
[2025-01-07 01:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:07:05] Production.INFO: Date 2025-01-07
[2025-01-07 01:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:07:05] Production.INFO: Total Charge 0
[2025-01-07 01:07:05] Production.INFO: CreateAllLog End
[2025-01-07 01:07:05] Production.INFO: Account Balance End.
[2025-01-07 01:07:05] Production.ERROR: CronJobId end 12
[2025-01-07 01:07:05] Production.INFO: ==16541== Releasing lock...
[2025-01-07 01:07:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:07:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:07:05
[end_date_ymd] => 2025-01-07 01:07:05
[RateCDR] => 1
)
[2025-01-07 01:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 22:07:05' and `end` < '2025-01-07 01:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 01:07:11] Production.ERROR: CronJobId end10
[2025-01-07 01:07:11] Production.INFO: ==16539== Releasing lock...
[2025-01-07 01:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:07:14] Production.INFO: call_cost start
[2025-01-07 01:07:14] Production.INFO: call_cost end
[2025-01-07 01:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:07:14] Production.INFO: ==16535== Releasing lock...
[2025-01-07 01:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:07:20] Production.INFO: count ==169
[2025-01-07 01:07:20] Production.ERROR: pbx CDR StartTime 2025-01-06 22:07:05 - End Time 2025-01-07 01:07:05
[2025-01-07 01:07:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191425', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191425', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191425', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191425', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:07:20] Production.INFO: ProcessCDR(1,14191425,1,1,2)
[2025-01-07 01:07:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191425,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:07:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191425,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:07:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191425,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:07:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191425,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191425', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191425', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:07:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:07:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:07:23] Production.INFO: ==16543== Releasing lock...
[2025-01-07 01:07:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:07:23] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 06:08:01] Production.INFO: ==16663== Lock acquired, processing the job...
[2025-01-07 06:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:08:01] Production.INFO: neon service started
[2025-01-07 06:08:01] Production.INFO: neon service started
[2025-01-07 06:08:01] Production.INFO: ==16663== Releasing lock...
[2025-01-07 06:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:08:02] Production.INFO: ==16665== Lock acquired, processing the job...
[2025-01-07 01:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:08:02] Production.INFO: ==16665== Releasing lock...
[2025-01-07 01:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:08:02] Production.INFO: ==16667== Lock acquired, processing the job...
[2025-01-07 06:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:08:02] Production.INFO: ==16667== Releasing lock...
[2025-01-07 06:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:08:03] Production.INFO: ==16672== Lock acquired, processing the job...
[2025-01-07 01:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:08:03] Production.INFO: ==16680== Lock acquired, processing the job...
[2025-01-07 01:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:08:03] Production.INFO: ==16670== Lock acquired, processing the job...
[2025-01-07 01:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:08:03] Production.INFO: ==16674== Lock acquired, processing the job...
[2025-01-07 01:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:08:03] Production.INFO: count ==21
[2025-01-07 01:08:03] Production.INFO: ==16678== Lock acquired, processing the job...
[2025-01-07 01:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:08:03] Production.INFO: ==16676== Lock acquired, processing the job...
[2025-01-07 01:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:08:03] Production.INFO: count ==21
[2025-01-07 01:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191427') start
[2025-01-07 01:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:08:03] Production.INFO: Account Balance Start.
[2025-01-07 01:08:03] Production.INFO: CreateAllLog Start
[2025-01-07 01:08:03] Production.INFO: 117
[2025-01-07 01:08:03] Production.INFO: Date 2024-12-08
[2025-01-07 01:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:08:03] Production.INFO: Date 2024-12-09
[2025-01-07 01:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191427') end
[2025-01-07 01:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:08:03] Production.INFO: 1
[2025-01-07 01:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:08:03] Production.INFO: ==16680== Releasing lock...
[2025-01-07 01:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:08:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:08:03] Production.INFO: Date 2024-12-10
[2025-01-07 01:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:08:03] Production.INFO: Date 2024-12-11
[2025-01-07 01:08:03] Production.INFO: ==16672== Releasing lock...
[2025-01-07 01:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:08:04] Production.ERROR: done
[2025-01-07 01:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:08:04] Production.INFO: Date 2024-12-12
[2025-01-07 01:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:08:04] Production.ERROR: done
[2025-01-07 01:08:04] Production.INFO: Date 2024-12-13
[2025-01-07 01:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:08:04] Production.INFO: Date 2024-12-14
[2025-01-07 01:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:08:04] Production.INFO: Date 2024-12-15
[2025-01-07 01:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:08:04] Production.INFO: Date 2024-12-16
[2025-01-07 01:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:08:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:08:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:08:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:08:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:08:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:08:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:08:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:08:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:08:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:08:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:08:04] Production.INFO: Date 2024-12-27
[2025-01-07 01:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:08:05] Production.INFO: Date 2024-12-28
[2025-01-07 01:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:08:05] Production.INFO: Date 2024-12-29
[2025-01-07 01:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:08:05] Production.INFO: Date 2024-12-30
[2025-01-07 01:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:08:05] Production.INFO: Date 2024-12-31
[2025-01-07 01:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:08:05] Production.INFO: Date 2025-01-01
[2025-01-07 01:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:08:05
[end_date_ymd] => 2025-01-07 01:08:05
[RateCDR] => 1
)
[2025-01-07 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-06 22:08:05' and `end` < '2025-01-07 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-07 01:08:05] Production.INFO: Date 2025-01-02
[2025-01-07 01:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:08:05] Production.INFO: Date 2025-01-03
[2025-01-07 01:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:08:05] Production.INFO: Date 2025-01-04
[2025-01-07 01:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:08:05] Production.INFO: Date 2025-01-05
[2025-01-07 01:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:08:05] Production.INFO: Date 2025-01-06
[2025-01-07 01:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:08:05] Production.INFO: Date 2025-01-07
[2025-01-07 01:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:08:05] Production.INFO: Total Charge 0
[2025-01-07 01:08:05] Production.INFO: CreateAllLog End
[2025-01-07 01:08:05] Production.INFO: Account Balance End.
[2025-01-07 01:08:05] Production.ERROR: CronJobId end 12
[2025-01-07 01:08:05] Production.INFO: ==16676== Releasing lock...
[2025-01-07 01:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:08:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:08:11] Production.ERROR: CronJobId end10
[2025-01-07 01:08:11] Production.INFO: ==16674== Releasing lock...
[2025-01-07 01:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:08:13] Production.INFO: call_cost start
[2025-01-07 01:08:13] Production.INFO: call_cost end
[2025-01-07 01:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:08:14] Production.INFO: ==16670== Releasing lock...
[2025-01-07 01:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:08:18] Production.INFO: count ==169
[2025-01-07 01:08:18] Production.ERROR: pbx CDR StartTime 2025-01-06 22:08:05 - End Time 2025-01-07 01:08:05
[2025-01-07 01:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191430', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191430', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191430', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191430', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:08:18] Production.INFO: ProcessCDR(1,14191430,1,1,2)
[2025-01-07 01:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191430,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:08:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191430,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:08:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191430,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191430,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191430', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191430', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:08:21] Production.INFO: ==16678== Releasing lock...
[2025-01-07 01:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:08:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 06:09:02] Production.INFO: ==16760== Lock acquired, processing the job...
[2025-01-07 06:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:09:02] Production.INFO: neon service started
[2025-01-07 06:09:02] Production.INFO: neon service started
[2025-01-07 06:09:02] Production.INFO: ==16760== Releasing lock...
[2025-01-07 06:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:09:02] Production.INFO: ==16764== Lock acquired, processing the job...
[2025-01-07 01:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:09:02] Production.INFO: ==16764== Releasing lock...
[2025-01-07 01:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:09:02] Production.INFO: ==16766== Lock acquired, processing the job...
[2025-01-07 06:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:09:03] Production.INFO: ==16766== Releasing lock...
[2025-01-07 06:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:09:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:09:03] Production.INFO: ==16775== Lock acquired, processing the job...
[2025-01-07 01:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:09:03] Production.INFO: Account Balance Start.
[2025-01-07 01:09:03] Production.INFO: CreateAllLog Start
[2025-01-07 01:09:03] Production.INFO: 117
[2025-01-07 01:09:03] Production.INFO: Date 2024-12-08
[2025-01-07 01:09:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:09:03] Production.INFO: ==16779== Lock acquired, processing the job...
[2025-01-07 01:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:09:03] Production.INFO: ==16769== Lock acquired, processing the job...
[2025-01-07 01:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:09:03] Production.INFO: Date 2024-12-09
[2025-01-07 01:09:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:09:03] Production.INFO: Date 2024-12-10
[2025-01-07 01:09:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:09:03] Production.INFO: ==16771== Lock acquired, processing the job...
[2025-01-07 01:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:09:03] Production.INFO: Date 2024-12-11
[2025-01-07 01:09:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 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-07 01:09:03] Production.INFO: Date 2024-12-12
[2025-01-07 01:09:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:09:03] Production.INFO: ==16773== Lock acquired, processing the job...
[2025-01-07 01:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:09:03] Production.INFO: count ==21
[2025-01-07 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-07 01:09:03] Production.INFO: count ==21
[2025-01-07 01:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191432') start
[2025-01-07 01:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:09:03] Production.INFO: Date 2024-12-13
[2025-01-07 01:09:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:09:03] Production.INFO: ==16777== Lock acquired, processing the job...
[2025-01-07 01:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:09:04] Production.INFO: Date 2024-12-14
[2025-01-07 01:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:09:04] Production.INFO: Date 2024-12-15
[2025-01-07 01:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:09:04] Production.INFO: Date 2024-12-16
[2025-01-07 01:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191432') end
[2025-01-07 01:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:09:04] Production.INFO: 1
[2025-01-07 01:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:09:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:09:04] Production.INFO: ==16779== Releasing lock...
[2025-01-07 01:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:09:04] Production.INFO: ==16771== Releasing lock...
[2025-01-07 01:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:09:04] Production.ERROR: done
[2025-01-07 01:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:09:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:09:04] Production.ERROR: done
[2025-01-07 01:09:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:09:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:09:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:09:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:09:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:09:05] Production.INFO: Date 2024-12-24
[2025-01-07 01:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:09:05] Production.INFO: Date 2024-12-25
[2025-01-07 01:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:09:05] Production.INFO: Date 2024-12-26
[2025-01-07 01:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:09:05] Production.INFO: Date 2024-12-27
[2025-01-07 01:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:09:05] Production.INFO: Date 2024-12-28
[2025-01-07 01:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:09:05] Production.INFO: Date 2024-12-29
[2025-01-07 01:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:09:05] Production.INFO: Date 2024-12-30
[2025-01-07 01:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:09:05] Production.INFO: Date 2024-12-31
[2025-01-07 01:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:09:05
[end_date_ymd] => 2025-01-07 01:09:05
[RateCDR] => 1
)
[2025-01-07 01:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 22:09:05' and `end` < '2025-01-07 01:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 01:09:05] Production.INFO: Date 2025-01-01
[2025-01-07 01:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:09:05] Production.INFO: Date 2025-01-02
[2025-01-07 01:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:09:05] Production.INFO: Date 2025-01-03
[2025-01-07 01:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:09:05] Production.INFO: Date 2025-01-04
[2025-01-07 01:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:09:05] Production.INFO: Date 2025-01-05
[2025-01-07 01:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:09:05] Production.INFO: Date 2025-01-06
[2025-01-07 01:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:09:05] Production.INFO: Date 2025-01-07
[2025-01-07 01:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:09:05] Production.INFO: Total Charge 0
[2025-01-07 01:09:05] Production.INFO: CreateAllLog End
[2025-01-07 01:09:06] Production.INFO: Account Balance End.
[2025-01-07 01:09:06] Production.ERROR: CronJobId end 12
[2025-01-07 01:09:06] Production.INFO: ==16775== Releasing lock...
[2025-01-07 01:09:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:09:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:09:11] Production.ERROR: CronJobId end10
[2025-01-07 01:09:11] Production.INFO: ==16773== Releasing lock...
[2025-01-07 01:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:09:13] Production.INFO: call_cost start
[2025-01-07 01:09:13] Production.INFO: call_cost end
[2025-01-07 01:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:09:14] Production.INFO: ==16769== Releasing lock...
[2025-01-07 01:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:09:19] Production.INFO: count ==169
[2025-01-07 01:09:19] Production.ERROR: pbx CDR StartTime 2025-01-06 22:09:05 - End Time 2025-01-07 01:09:05
[2025-01-07 01:09:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191435', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191435', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191435', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191435', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:09:19] Production.INFO: ProcessCDR(1,14191435,1,1,2)
[2025-01-07 01:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191435,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191435,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191435,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191435,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191435', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191435', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:09:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:09:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:09:22] Production.INFO: ==16777== Releasing lock...
[2025-01-07 01:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:09:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 06:10:01] Production.INFO: ==16857== Lock acquired, processing the job...
[2025-01-07 06:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:10:01] Production.INFO: neon service started
[2025-01-07 06:10:01] Production.INFO: neon service started
[2025-01-07 06:10:01] Production.INFO: ==16857== Releasing lock...
[2025-01-07 06:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:10:02] Production.INFO: ==16859== Lock acquired, processing the job...
[2025-01-07 01:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:10:02] Production.INFO: ==16861== Lock acquired, processing the job...
[2025-01-07 06:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:10:02] Production.INFO: ==16861== Releasing lock...
[2025-01-07 06:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:10:02] Production.INFO: ==16859== Releasing lock...
[2025-01-07 01:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:10:03] Production.INFO: ==16868== Lock acquired, processing the job...
[2025-01-07 01:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:10:03] Production.INFO: ==16870== Lock acquired, processing the job...
[2025-01-07 01:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:10:03] Production.INFO: ==16872== Lock acquired, processing the job...
[2025-01-07 01:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:10:03] Production.INFO: ==16866== Lock acquired, processing the job...
[2025-01-07 01:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:10:03] Production.INFO: ==16876== Lock acquired, processing the job...
[2025-01-07 01:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 01:10:03] Production.INFO: ==16864== Lock acquired, processing the job...
[2025-01-07 01:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 01:10:03] Production.INFO: Account Balance Start.
[2025-01-07 01:10:03] Production.INFO: CreateAllLog Start
[2025-01-07 01:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:10:03] Production.INFO: 117
[2025-01-07 01:10:03] Production.INFO: ==16868== Releasing lock...
[2025-01-07 01:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:10:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 01:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 01:10:03] Production.ERROR: CronJob PID - 16866
[2025-01-07 01:10:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-07 01:10:03] Production.ERROR: CronJob ID - 5
[2025-01-07 01:10:03] Production.INFO: Date 2024-12-08
[2025-01-07 01:10:03] Production.ERROR: CronJob Last Run Time 2025-01-07 01:10:00
[2025-01-07 01:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 01:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 01:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 01:10:03] Production.ERROR: CronJob PID - 16870
[2025-01-07 01:10:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-07 01:10:03] Production.ERROR: CronJob ID - 10
[2025-01-07 01:10:03] Production.ERROR: CronJob Last Run Time 2025-01-07 01:10:00
[2025-01-07 01:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 01:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 01:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 01:10:03] Production.ERROR: CronJob PID - 16872
[2025-01-07 01:10:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-07 01:10:03] Production.ERROR: CronJob ID - 12
[2025-01-07 01:10:03] Production.ERROR: CronJob Last Run Time 2025-01-07 01:10:00
[2025-01-07 01:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 01:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 01:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 01:10:03] Production.ERROR: CronJob PID - 16876
[2025-01-07 01:10:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-07 01:10:03] Production.ERROR: CronJob ID - 17
[2025-01-07 01:10:03] Production.ERROR: CronJob Last Run Time 2025-01-07 01:10:00
[2025-01-07 01:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 01:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 01:10:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:10:03] Production.INFO: ==16874== Lock acquired, processing the job...
[2025-01-07 01:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:10:03] Production.INFO: Date 2024-12-09
[2025-01-07 01:10:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:10:03] Production.INFO: Date 2024-12-10
[2025-01-07 01:10:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 01:10:03] Production.INFO: ==16864== Releasing lock...
[2025-01-07 01:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 01:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 01:10:04] Production.INFO: Date 2024-12-11
[2025-01-07 01:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:10:04] Production.INFO: ==16878== Lock acquired, processing the job...
[2025-01-07 01:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:10:04] Production.INFO: Date 2024-12-12
[2025-01-07 01:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:10:04] Production.INFO: Date 2024-12-13
[2025-01-07 01:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:10:04] Production.INFO: Date 2024-12-14
[2025-01-07 01:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:10:04] Production.ERROR: done
[2025-01-07 01:10:04] Production.INFO: Date 2024-12-15
[2025-01-07 01:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:10:04] Production.INFO: Date 2024-12-16
[2025-01-07 01:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 01:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14191440', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 01:10:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 01:10:04] Production.INFO: count ==21
[2025-01-07 01:10:04] Production.INFO: Date 2024-12-18
[2025-01-07 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-07 01:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:10:04] Production.INFO: count ==21
[2025-01-07 01:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191439') start
[2025-01-07 01:10:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:10:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:10:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:10:04] Production.ERROR: done
[2025-01-07 01:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191439') end
[2025-01-07 01:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:10:04] Production.INFO: 1
[2025-01-07 01:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:10:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:10:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:10:04] Production.INFO: ==16878== Releasing lock...
[2025-01-07 01:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:10:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:10:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:10:04] Production.ERROR: done
[2025-01-07 01:10:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:10:04] Production.INFO: Date 2024-12-27
[2025-01-07 01:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:10:04] Production.INFO: Date 2024-12-28
[2025-01-07 01:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:10:04] Production.INFO: Date 2024-12-29
[2025-01-07 01:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:10:05] Production.INFO: Date 2024-12-30
[2025-01-07 01:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:10:05] Production.INFO: Date 2024-12-31
[2025-01-07 01:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:10:05] Production.INFO: Date 2025-01-01
[2025-01-07 01:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:10:05] Production.INFO: Date 2025-01-02
[2025-01-07 01:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:10:05] Production.INFO: Date 2025-01-03
[2025-01-07 01:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:10:05] Production.INFO: Date 2025-01-04
[2025-01-07 01:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:10:05] Production.INFO: Date 2025-01-05
[2025-01-07 01:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:10:05] Production.INFO: Date 2025-01-06
[2025-01-07 01:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:10:05] Production.INFO: Date 2025-01-07
[2025-01-07 01:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:10:05] Production.INFO: Total Charge 0
[2025-01-07 01:10:05] Production.INFO: CreateAllLog End
[2025-01-07 01:10:05] Production.INFO: Account Balance End.
[2025-01-07 01:10:05] Production.ERROR: CronJobId end 12
[2025-01-07 01:10:05] Production.INFO: ==16872== Releasing lock...
[2025-01-07 01:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:10:06
[end_date_ymd] => 2025-01-07 01:10:06
[RateCDR] => 1
)
[2025-01-07 01:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 22:10:06' and `end` < '2025-01-07 01:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 01:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14191440', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 01:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 01:10:08] Production.INFO: ProcessCDR(1,14191440,1,1,2)
[2025-01-07 01:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14191440,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14191440,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:10:08] Production.INFO: ==16876== Releasing lock...
[2025-01-07 01:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 01:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-07 01:10:12] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,8))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-01-07 01:10:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:10:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:10:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:10:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:10:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:10:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:10:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:10:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:10:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:10:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:10:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:10:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:10:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:10:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:10:12] Production.INFO: call_cost start
[2025-01-07 01:10:12] Production.INFO: call_cost end
[2025-01-07 01:10:12] Production.ERROR: CronJobId end10
[2025-01-07 01:10:12] Production.INFO: ==16870== Releasing lock...
[2025-01-07 01:10:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:10:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:10:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:10:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:10:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:10:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:10:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:10:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:10:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:10:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:10:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:10:13] Production.INFO: ==16866== Releasing lock...
[2025-01-07 01:10:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:10:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:10:20] Production.INFO: count ==177
[2025-01-07 01:10:20] Production.ERROR: pbx CDR StartTime 2025-01-06 22:10:06 - End Time 2025-01-07 01:10:06
[2025-01-07 01:10:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191441', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191441', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191441', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191441', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:10:20] Production.INFO: ProcessCDR(1,14191441,1,1,2)
[2025-01-07 01:10:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191441,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:10:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191441,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:10:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191441,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:10:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191441,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191441', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191441', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:10:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:10:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:10:23] Production.INFO: ==16874== Releasing lock...
[2025-01-07 01:10:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:10:23] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 06:11:02] Production.INFO: ==16960== Lock acquired, processing the job...
[2025-01-07 06:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:11:02] Production.INFO: neon service started
[2025-01-07 06:11:02] Production.INFO: neon service started
[2025-01-07 06:11:02] Production.INFO: ==16960== Releasing lock...
[2025-01-07 06:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:11:02] Production.INFO: ==16963== Lock acquired, processing the job...
[2025-01-07 01:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:11:02] Production.INFO: ==16963== Releasing lock...
[2025-01-07 01:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:11:02] Production.INFO: ==16965== Lock acquired, processing the job...
[2025-01-07 06:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:11:02] Production.INFO: ==16965== Releasing lock...
[2025-01-07 06:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:11:03] Production.INFO: ==16973== Lock acquired, processing the job...
[2025-01-07 01:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:11:03] Production.INFO: Account Balance Start.
[2025-01-07 01:11:03] Production.INFO: CreateAllLog Start
[2025-01-07 01:11:03] Production.INFO: 117
[2025-01-07 01:11:03] Production.INFO: Date 2024-12-08
[2025-01-07 01:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:11:03] Production.INFO: Date 2024-12-09
[2025-01-07 01:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:11:03] Production.INFO: ==16975== Lock acquired, processing the job...
[2025-01-07 01:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:11:03] Production.INFO: Date 2024-12-10
[2025-01-07 01:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:11:03] Production.INFO: Date 2024-12-11
[2025-01-07 01:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:11:03] Production.INFO: Date 2024-12-12
[2025-01-07 01:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:11:03] Production.INFO: ==16967== Lock acquired, processing the job...
[2025-01-07 01:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:11:03] Production.INFO: Date 2024-12-13
[2025-01-07 01:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:11:03] Production.INFO: Date 2024-12-14
[2025-01-07 01:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:11:04] Production.INFO: ==16969== Lock acquired, processing the job...
[2025-01-07 01:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:11:04] Production.INFO: Date 2024-12-15
[2025-01-07 01:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:11:04] Production.ERROR: done
[2025-01-07 01:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:11:04] Production.INFO: ==16971== Lock acquired, processing the job...
[2025-01-07 01:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:11:04] Production.INFO: ==16977== Lock acquired, processing the job...
[2025-01-07 01:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:11:04] Production.INFO: Date 2024-12-16
[2025-01-07 01:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:11:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:11:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:11:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:11:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:11:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:11:04] Production.ERROR: done
[2025-01-07 01:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:11:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:11:04] Production.INFO: count ==21
[2025-01-07 01:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:11:04] Production.INFO: count ==21
[2025-01-07 01:11:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191445') start
[2025-01-07 01:11:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:11:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:11:04] Production.INFO: ==16969== Releasing lock...
[2025-01-07 01:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191445') end
[2025-01-07 01:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:11:04] Production.INFO: 1
[2025-01-07 01:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:11:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:11:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:11:04] Production.INFO: ==16977== Releasing lock...
[2025-01-07 01:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:11:04] Production.INFO: Date 2024-12-27
[2025-01-07 01:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:11:04] Production.INFO: Date 2024-12-28
[2025-01-07 01:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:11:04] Production.INFO: Date 2024-12-29
[2025-01-07 01:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:11:04] Production.INFO: Date 2024-12-30
[2025-01-07 01:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:11:04] Production.INFO: Date 2024-12-31
[2025-01-07 01:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:11:04] Production.INFO: Date 2025-01-01
[2025-01-07 01:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:11:04] Production.INFO: Date 2025-01-02
[2025-01-07 01:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:11:04] Production.INFO: Date 2025-01-03
[2025-01-07 01:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:11:04] Production.INFO: Date 2025-01-04
[2025-01-07 01:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:11:04] Production.INFO: Date 2025-01-05
[2025-01-07 01:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:11:04] Production.INFO: Date 2025-01-06
[2025-01-07 01:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:11:04] Production.INFO: Date 2025-01-07
[2025-01-07 01:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:11:04] Production.INFO: Total Charge 0
[2025-01-07 01:11:04] Production.INFO: CreateAllLog End
[2025-01-07 01:11:05] Production.INFO: Account Balance End.
[2025-01-07 01:11:05] Production.ERROR: CronJobId end 12
[2025-01-07 01:11:05] Production.INFO: ==16973== Releasing lock...
[2025-01-07 01:11:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:11:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:11:05
[end_date_ymd] => 2025-01-07 01:11:05
[RateCDR] => 1
)
[2025-01-07 01:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 22:11:05' and `end` < '2025-01-07 01:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 01:11:11] Production.ERROR: CronJobId end10
[2025-01-07 01:11:11] Production.INFO: ==16971== Releasing lock...
[2025-01-07 01:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:11:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:11:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:11:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:11:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:11:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:11:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:11:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:11:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:11:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:11:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:11:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:11:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:11:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:11:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:11:13] Production.INFO: call_cost start
[2025-01-07 01:11:13] Production.INFO: call_cost end
[2025-01-07 01:11:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:11:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:11:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:11:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:11:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:11:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:11:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:11:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:11:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:11:13] Production.INFO: ==16967== Releasing lock...
[2025-01-07 01:11:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:11:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:11:18] Production.INFO: count ==181
[2025-01-07 01:11:18] Production.ERROR: pbx CDR StartTime 2025-01-06 22:11:05 - End Time 2025-01-07 01:11:05
[2025-01-07 01:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191446', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191446', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191446', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191446', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:11:18] Production.INFO: ProcessCDR(1,14191446,1,1,2)
[2025-01-07 01:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191446,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191446,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191446,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191446,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191446', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191446', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:11:21] Production.INFO: ==16975== Releasing lock...
[2025-01-07 01:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:11:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 06:12:01] Production.INFO: ==17056== Lock acquired, processing the job...
[2025-01-07 06:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:12:01] Production.INFO: neon service started
[2025-01-07 06:12:01] Production.INFO: neon service started
[2025-01-07 06:12:01] Production.INFO: ==17056== Releasing lock...
[2025-01-07 06:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:12:01] Production.INFO: ==17058== Lock acquired, processing the job...
[2025-01-07 01:12:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:12:02] Production.INFO: ==17060== Lock acquired, processing the job...
[2025-01-07 06:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:12:02] Production.INFO: ==17058== Releasing lock...
[2025-01-07 01:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:12:02] Production.INFO: ==17060== Releasing lock...
[2025-01-07 06:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:12:03] Production.INFO: ==17063== Lock acquired, processing the job...
[2025-01-07 01:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:12:03] Production.INFO: ==17073== Lock acquired, processing the job...
[2025-01-07 01:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:12:03] Production.INFO: ==17069== Lock acquired, processing the job...
[2025-01-07 01:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:12:03] Production.INFO: ==17065== Lock acquired, processing the job...
[2025-01-07 01:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:12:03] Production.INFO: Account Balance Start.
[2025-01-07 01:12:03] Production.INFO: CreateAllLog Start
[2025-01-07 01:12:03] Production.INFO: 117
[2025-01-07 01:12:03] Production.INFO: Date 2024-12-08
[2025-01-07 01:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:12:03] Production.INFO: ==17067== Lock acquired, processing the job...
[2025-01-07 01:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:12:03] Production.INFO: count ==21
[2025-01-07 01:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:12:03] Production.INFO: count ==21
[2025-01-07 01:12:03] Production.INFO: Date 2024-12-09
[2025-01-07 01:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191447') start
[2025-01-07 01:12:03] Production.INFO: ==17071== Lock acquired, processing the job...
[2025-01-07 01:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:12:03] Production.INFO: Date 2024-12-10
[2025-01-07 01:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:12:03] Production.INFO: Date 2024-12-11
[2025-01-07 01:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:12:03] Production.INFO: Date 2024-12-12
[2025-01-07 01:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:12:03] Production.INFO: Date 2024-12-13
[2025-01-07 01:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191447') end
[2025-01-07 01:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:12:03] Production.INFO: 1
[2025-01-07 01:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:12:03] Production.INFO: ==17065== Releasing lock...
[2025-01-07 01:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:12:03] Production.INFO: Date 2024-12-14
[2025-01-07 01:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:12:03] Production.INFO: Date 2024-12-15
[2025-01-07 01:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:12:03] Production.INFO: ==17073== Releasing lock...
[2025-01-07 01:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:12:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:12:03] Production.ERROR: done
[2025-01-07 01:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:12:03] Production.INFO: Date 2024-12-16
[2025-01-07 01:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:12:03] Production.INFO: Date 2024-12-17
[2025-01-07 01:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:12:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:12:04] Production.ERROR: done
[2025-01-07 01:12:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:12:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:12:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:12:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:12:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:12:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:12:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:12:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:12:04] Production.INFO: Date 2024-12-27
[2025-01-07 01:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:12:04] Production.INFO: Date 2024-12-28
[2025-01-07 01:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:12:04] Production.INFO: Date 2024-12-29
[2025-01-07 01:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:12:04] Production.INFO: Date 2024-12-30
[2025-01-07 01:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:12:04] Production.INFO: Date 2024-12-31
[2025-01-07 01:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:12:04] Production.INFO: Date 2025-01-01
[2025-01-07 01:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:12:04] Production.INFO: Date 2025-01-02
[2025-01-07 01:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:12:04] Production.INFO: Date 2025-01-03
[2025-01-07 01:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:12:04] Production.INFO: Date 2025-01-04
[2025-01-07 01:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:12:04] Production.INFO: Date 2025-01-05
[2025-01-07 01:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:12:04] Production.INFO: Date 2025-01-06
[2025-01-07 01:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:12:04] Production.INFO: Date 2025-01-07
[2025-01-07 01:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:12:05] Production.INFO: Total Charge 0
[2025-01-07 01:12:05] Production.INFO: CreateAllLog End
[2025-01-07 01:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:12:05
[end_date_ymd] => 2025-01-07 01:12:05
[RateCDR] => 1
)
[2025-01-07 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-06 22:12:05' and `end` < '2025-01-07 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-07 01:12:05] Production.INFO: Account Balance End.
[2025-01-07 01:12:05] Production.ERROR: CronJobId end 12
[2025-01-07 01:12:05] Production.INFO: ==17069== Releasing lock...
[2025-01-07 01:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:12:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:12:11] Production.ERROR: CronJobId end10
[2025-01-07 01:12:11] Production.INFO: ==17067== Releasing lock...
[2025-01-07 01:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:12:13] Production.INFO: call_cost start
[2025-01-07 01:12:13] Production.INFO: call_cost end
[2025-01-07 01:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:12:14] Production.INFO: ==17063== Releasing lock...
[2025-01-07 01:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:12:17] Production.INFO: count ==181
[2025-01-07 01:12:18] Production.ERROR: pbx CDR StartTime 2025-01-06 22:12:05 - End Time 2025-01-07 01:12:05
[2025-01-07 01:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191451', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191451', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191451', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191451', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:12:18] Production.INFO: ProcessCDR(1,14191451,1,1,2)
[2025-01-07 01:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191451,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:12:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191451,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:12:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191451,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191451,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191451', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191451', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:12:21] Production.INFO: ==17071== Releasing lock...
[2025-01-07 01:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:12:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 06:13:01] Production.INFO: ==17152== Lock acquired, processing the job...
[2025-01-07 06:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:13:01] Production.INFO: neon service started
[2025-01-07 06:13:01] Production.INFO: neon service started
[2025-01-07 06:13:01] Production.INFO: ==17152== Releasing lock...
[2025-01-07 06:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:13:02] Production.INFO: ==17154== Lock acquired, processing the job...
[2025-01-07 01:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:13:02] Production.INFO: ==17154== Releasing lock...
[2025-01-07 01:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:13:02] Production.INFO: ==17156== Lock acquired, processing the job...
[2025-01-07 06:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:13:02] Production.INFO: ==17156== Releasing lock...
[2025-01-07 06:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:13:03] Production.INFO: ==17164== Lock acquired, processing the job...
[2025-01-07 01:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:13:03] Production.INFO: Account Balance Start.
[2025-01-07 01:13:03] Production.INFO: CreateAllLog Start
[2025-01-07 01:13:03] Production.INFO: ==17166== Lock acquired, processing the job...
[2025-01-07 01:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:13:03] Production.INFO: 117
[2025-01-07 01:13:03] Production.INFO: Date 2024-12-08
[2025-01-07 01:13:03] Production.INFO: ==17158== Lock acquired, processing the job...
[2025-01-07 01:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:13:03] Production.INFO: Date 2024-12-09
[2025-01-07 01:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:13:03] Production.INFO: Date 2024-12-10
[2025-01-07 01:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:13:03] Production.INFO: ==17162== Lock acquired, processing the job...
[2025-01-07 01:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:13:03] Production.INFO: ==17160== Lock acquired, processing the job...
[2025-01-07 01:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:13:03] Production.INFO: Date 2024-12-11
[2025-01-07 01:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:13:03] Production.INFO: ==17168== Lock acquired, processing the job...
[2025-01-07 01:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:13:03] Production.INFO: Date 2024-12-12
[2025-01-07 01:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:13:03] Production.ERROR: done
[2025-01-07 01:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:13:03] Production.INFO: Date 2024-12-13
[2025-01-07 01:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:13:04] Production.INFO: Date 2024-12-14
[2025-01-07 01:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:13:04] Production.INFO: Date 2024-12-15
[2025-01-07 01:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 01:13:04] Production.INFO: Date 2024-12-16
[2025-01-07 01:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:13:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:13:04] Production.INFO: count ==21
[2025-01-07 01:13:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 01:13:04] Production.INFO: count ==21
[2025-01-07 01:13:04] Production.ERROR: done
[2025-01-07 01:13:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191454') start
[2025-01-07 01:13:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:13:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:13:04] Production.INFO: ==17160== Releasing lock...
[2025-01-07 01:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:13:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191454') end
[2025-01-07 01:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:13:04] Production.INFO: 1
[2025-01-07 01:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:13:04] Production.INFO: ==17168== Releasing lock...
[2025-01-07 01:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:13:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:13:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:13:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:13:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:13:04] Production.INFO: Date 2024-12-27
[2025-01-07 01:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:13:04] Production.INFO: Date 2024-12-28
[2025-01-07 01:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:13:04] Production.INFO: Date 2024-12-29
[2025-01-07 01:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:13:04] Production.INFO: Date 2024-12-30
[2025-01-07 01:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:13:04] Production.INFO: Date 2024-12-31
[2025-01-07 01:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:13:04] Production.INFO: Date 2025-01-01
[2025-01-07 01:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:13:04] Production.INFO: Date 2025-01-02
[2025-01-07 01:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:13:04] Production.INFO: Date 2025-01-03
[2025-01-07 01:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:13:04] Production.INFO: Date 2025-01-04
[2025-01-07 01:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:13:04] Production.INFO: Date 2025-01-05
[2025-01-07 01:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:13:04] Production.INFO: Date 2025-01-06
[2025-01-07 01:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:13:04] Production.INFO: Date 2025-01-07
[2025-01-07 01:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:13:04] Production.INFO: Total Charge 0
[2025-01-07 01:13:05] Production.INFO: CreateAllLog End
[2025-01-07 01:13:05] Production.INFO: Account Balance End.
[2025-01-07 01:13:05] Production.ERROR: CronJobId end 12
[2025-01-07 01:13:05] Production.INFO: ==17164== Releasing lock...
[2025-01-07 01:13:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:13:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:13:05
[end_date_ymd] => 2025-01-07 01:13:05
[RateCDR] => 1
)
[2025-01-07 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-06 22:13:05' and `end` < '2025-01-07 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-07 01:13:11] Production.ERROR: CronJobId end10
[2025-01-07 01:13:11] Production.INFO: ==17162== Releasing lock...
[2025-01-07 01:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:13:14] Production.INFO: call_cost start
[2025-01-07 01:13:14] Production.INFO: call_cost end
[2025-01-07 01:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:13:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:13:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:13:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:13:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:13:15] Production.INFO: ==17158== Releasing lock...
[2025-01-07 01:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:13:19] Production.INFO: count ==181
[2025-01-07 01:13:19] Production.ERROR: pbx CDR StartTime 2025-01-06 22:13:05 - End Time 2025-01-07 01:13:05
[2025-01-07 01:13:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191456', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191456', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191456', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191456', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:13:19] Production.INFO: ProcessCDR(1,14191456,1,1,2)
[2025-01-07 01:13:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191456,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:13:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191456,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:13:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191456,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:13:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191456,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:13:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191456', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:13:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191456', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:13:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:13:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:13:24] Production.INFO: ==17166== Releasing lock...
[2025-01-07 01:13:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:13:24] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 06:14:01] Production.INFO: ==17243== Lock acquired, processing the job...
[2025-01-07 06:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:14:01] Production.INFO: neon service started
[2025-01-07 06:14:01] Production.INFO: neon service started
[2025-01-07 06:14:01] Production.INFO: ==17243== Releasing lock...
[2025-01-07 06:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:14:02] Production.INFO: ==17247== Lock acquired, processing the job...
[2025-01-07 06:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:14:02] Production.INFO: ==17247== Releasing lock...
[2025-01-07 06:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:14:02] Production.INFO: ==17245== Lock acquired, processing the job...
[2025-01-07 01:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:14:02] Production.INFO: ==17245== Releasing lock...
[2025-01-07 01:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:14:03] Production.INFO: ==17252== Lock acquired, processing the job...
[2025-01-07 01:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:14:03] Production.INFO: ==17256== Lock acquired, processing the job...
[2025-01-07 01:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:14:03] Production.INFO: ==17254== Lock acquired, processing the job...
[2025-01-07 01:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:14:03] Production.INFO: Account Balance Start.
[2025-01-07 01:14:03] Production.INFO: CreateAllLog Start
[2025-01-07 01:14:03] Production.INFO: 117
[2025-01-07 01:14:03] Production.INFO: Date 2024-12-08
[2025-01-07 01:14:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:14:03] Production.INFO: Date 2024-12-09
[2025-01-07 01:14:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:14:03] Production.INFO: Date 2024-12-10
[2025-01-07 01:14:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:14:03] Production.INFO: ==17250== Lock acquired, processing the job...
[2025-01-07 01:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:14:03] Production.INFO: Date 2024-12-11
[2025-01-07 01:14:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:14:03] Production.INFO: Date 2024-12-12
[2025-01-07 01:14:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:14:03] Production.INFO: ==17258== Lock acquired, processing the job...
[2025-01-07 01:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:14:03] Production.INFO: Date 2024-12-13
[2025-01-07 01:14:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:14:03] Production.INFO: ==17252== Releasing lock...
[2025-01-07 01:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:14:03] Production.INFO: Date 2024-12-14
[2025-01-07 01:14:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:14:03] Production.INFO: ==17260== Lock acquired, processing the job...
[2025-01-07 01:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:14:03] Production.INFO: Date 2024-12-15
[2025-01-07 01:14:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:14:03] Production.INFO: Date 2024-12-16
[2025-01-07 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-07 01:14:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:14:03] Production.INFO: count ==21
[2025-01-07 01:14:03] Production.INFO: Date 2024-12-17
[2025-01-07 01:14:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:14:03] Production.ERROR: done
[2025-01-07 01:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 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-07 01:14:03] Production.INFO: count ==21
[2025-01-07 01:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191460') start
[2025-01-07 01:14:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:14:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:14:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:14:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:14:04] Production.ERROR: done
[2025-01-07 01:14:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:14:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191460') end
[2025-01-07 01:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:14:04] Production.INFO: 1
[2025-01-07 01:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:14:04] Production.INFO: ==17260== Releasing lock...
[2025-01-07 01:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:14:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:14:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:14:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:14:04] Production.INFO: Date 2024-12-27
[2025-01-07 01:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:14:04] Production.INFO: Date 2024-12-28
[2025-01-07 01:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:14:04] Production.INFO: Date 2024-12-29
[2025-01-07 01:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:14:04] Production.INFO: Date 2024-12-30
[2025-01-07 01:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:14:04] Production.INFO: Date 2024-12-31
[2025-01-07 01:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:14:04] Production.INFO: Date 2025-01-01
[2025-01-07 01:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:14:04] Production.INFO: Date 2025-01-02
[2025-01-07 01:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:14:04] Production.INFO: Date 2025-01-03
[2025-01-07 01:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:14:04] Production.INFO: Date 2025-01-04
[2025-01-07 01:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:14:04] Production.INFO: Date 2025-01-05
[2025-01-07 01:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:14:04] Production.INFO: Date 2025-01-06
[2025-01-07 01:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:14:04] Production.INFO: Date 2025-01-07
[2025-01-07 01:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:14:04] Production.INFO: Total Charge 0
[2025-01-07 01:14:04] Production.INFO: CreateAllLog End
[2025-01-07 01:14:05] Production.INFO: Account Balance End.
[2025-01-07 01:14:05] Production.ERROR: CronJobId end 12
[2025-01-07 01:14:05] Production.INFO: ==17256== Releasing lock...
[2025-01-07 01:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:14:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:14:05
[end_date_ymd] => 2025-01-07 01:14:05
[RateCDR] => 1
)
[2025-01-07 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-06 22:14:05' and `end` < '2025-01-07 01:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 01:14:11] Production.ERROR: CronJobId end10
[2025-01-07 01:14:11] Production.INFO: ==17254== Releasing lock...
[2025-01-07 01:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:14:14] Production.INFO: call_cost start
[2025-01-07 01:14:14] Production.INFO: call_cost end
[2025-01-07 01:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:14:14] Production.INFO: ==17250== Releasing lock...
[2025-01-07 01:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:14:18] Production.INFO: count ==176
[2025-01-07 01:14:18] Production.ERROR: pbx CDR StartTime 2025-01-06 22:14:05 - End Time 2025-01-07 01:14:05
[2025-01-07 01:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191461', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191461', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191461', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191461', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:14:18] Production.INFO: ProcessCDR(1,14191461,1,1,2)
[2025-01-07 01:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191461,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191461,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191461,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191461,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191461', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191461', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:14:21] Production.INFO: ==17258== Releasing lock...
[2025-01-07 01:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:14:21] Production.INFO: 29 MB #Memory Used#
[2025-01-07 06:15:02] Production.INFO: ==17334== Lock acquired, processing the job...
[2025-01-07 06:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:15:02] Production.INFO: neon service started
[2025-01-07 06:15:02] Production.INFO: neon service started
[2025-01-07 06:15:02] Production.INFO: ==17334== Releasing lock...
[2025-01-07 06:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:15:02] Production.INFO: ==17336== Lock acquired, processing the job...
[2025-01-07 01:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:15:02] Production.INFO: ==17336== Releasing lock...
[2025-01-07 01:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:15:02] Production.INFO: ==17338== Lock acquired, processing the job...
[2025-01-07 06:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:15:02] Production.INFO: ==17338== Releasing lock...
[2025-01-07 06:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:15:03] Production.INFO: ==17350== Lock acquired, processing the job...
[2025-01-07 01:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:15:03] Production.INFO: ==17346== Lock acquired, processing the job...
[2025-01-07 01:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:15:03] Production.INFO: ==17340== Lock acquired, processing the job...
[2025-01-07 01:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:15:03] Production.INFO: Account Balance Start.
[2025-01-07 01:15:03] Production.INFO: CreateAllLog Start
[2025-01-07 01:15:03] Production.INFO: 117
[2025-01-07 01:15:03] Production.INFO: Date 2024-12-08
[2025-01-07 01:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:15:03] Production.INFO: ==17344== Lock acquired, processing the job...
[2025-01-07 01:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:15:03] Production.INFO: ==17342== Lock acquired, processing the job...
[2025-01-07 01:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:15:03] Production.INFO: count ==21
[2025-01-07 01:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:15:03] Production.INFO: count ==21
[2025-01-07 01:15:03] Production.INFO: Date 2024-12-09
[2025-01-07 01:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191462') start
[2025-01-07 01:15:03] Production.INFO: Date 2024-12-10
[2025-01-07 01:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:15:03] Production.INFO: ==17348== Lock acquired, processing the job...
[2025-01-07 01:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:15:04] Production.INFO: Date 2024-12-11
[2025-01-07 01:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:15:04] Production.INFO: Date 2024-12-12
[2025-01-07 01:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191462') end
[2025-01-07 01:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:15:04] Production.INFO: 1
[2025-01-07 01:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:15:04] Production.INFO: Date 2024-12-13
[2025-01-07 01:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:15:04] Production.INFO: Date 2024-12-14
[2025-01-07 01:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:15:04] Production.INFO: Date 2024-12-15
[2025-01-07 01:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:15:04] Production.INFO: ==17350== Releasing lock...
[2025-01-07 01:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:15:04] Production.INFO: Date 2024-12-16
[2025-01-07 01:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:15:04] Production.INFO: ==17342== Releasing lock...
[2025-01-07 01:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:15:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:15:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:15:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:15:04] Production.ERROR: done
[2025-01-07 01:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:15:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:15:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:15:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:15:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:15:04] Production.ERROR: done
[2025-01-07 01:15:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:15:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:15:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:15:04] Production.INFO: Date 2024-12-27
[2025-01-07 01:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:15:04] Production.INFO: Date 2024-12-28
[2025-01-07 01:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:15:04] Production.INFO: Date 2024-12-29
[2025-01-07 01:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:15:04] Production.INFO: Date 2024-12-30
[2025-01-07 01:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:15:04] Production.INFO: Date 2024-12-31
[2025-01-07 01:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:15:05] Production.INFO: Date 2025-01-01
[2025-01-07 01:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:15:05] Production.INFO: Date 2025-01-02
[2025-01-07 01:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:15:05] Production.INFO: Date 2025-01-03
[2025-01-07 01:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:15:05] Production.INFO: Date 2025-01-04
[2025-01-07 01:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:15:05] Production.INFO: Date 2025-01-05
[2025-01-07 01:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:15:05] Production.INFO: Date 2025-01-06
[2025-01-07 01:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:15:05] Production.INFO: Date 2025-01-07
[2025-01-07 01:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:15:05] Production.INFO: Total Charge 0
[2025-01-07 01:15:05] Production.INFO: CreateAllLog End
[2025-01-07 01:15:05] Production.INFO: Account Balance End.
[2025-01-07 01:15:05] Production.ERROR: CronJobId end 12
[2025-01-07 01:15:05] Production.INFO: ==17346== Releasing lock...
[2025-01-07 01:15:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:15:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:15:05
[end_date_ymd] => 2025-01-07 01:15:05
[RateCDR] => 1
)
[2025-01-07 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-06 22:15:05' and `end` < '2025-01-07 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-07 01:15:12] Production.ERROR: CronJobId end10
[2025-01-07 01:15:12] Production.INFO: ==17344== Releasing lock...
[2025-01-07 01:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:15:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:15:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:15:14] Production.INFO: call_cost start
[2025-01-07 01:15:14] Production.INFO: call_cost end
[2025-01-07 01:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:15:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:15:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:15:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:15:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:15:15] Production.INFO: ==17340== Releasing lock...
[2025-01-07 01:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:15:18] Production.INFO: count ==175
[2025-01-07 01:15:18] Production.ERROR: pbx CDR StartTime 2025-01-06 22:15:05 - End Time 2025-01-07 01:15:05
[2025-01-07 01:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191466', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191466', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191466', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191466', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:15:18] Production.INFO: ProcessCDR(1,14191466,1,1,2)
[2025-01-07 01:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191466,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191466,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191466,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191466,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191466', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191466', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:15:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:15:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:15:22] Production.INFO: ==17348== Releasing lock...
[2025-01-07 01:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:15:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 06:16:01] Production.INFO: ==17428== Lock acquired, processing the job...
[2025-01-07 06:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:16:01] Production.INFO: neon service started
[2025-01-07 06:16:01] Production.INFO: neon service started
[2025-01-07 06:16:01] Production.INFO: ==17428== Releasing lock...
[2025-01-07 06:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:16:02] Production.INFO: ==17432== Lock acquired, processing the job...
[2025-01-07 06:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:16:02] Production.INFO: ==17432== Releasing lock...
[2025-01-07 06:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:16:02] Production.INFO: ==17430== Lock acquired, processing the job...
[2025-01-07 01:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:16:02] Production.INFO: ==17430== Releasing lock...
[2025-01-07 01:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:16:03] Production.INFO: ==17439== Lock acquired, processing the job...
[2025-01-07 01:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:16:03] Production.INFO: ==17435== Lock acquired, processing the job...
[2025-01-07 01:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:16:03] Production.INFO: ==17445== Lock acquired, processing the job...
[2025-01-07 01:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:16:03] Production.INFO: ==17437== Lock acquired, processing the job...
[2025-01-07 01:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 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-07 01:16:03] Production.INFO: count ==21
[2025-01-07 01:16:03] Production.INFO: ==17441== Lock acquired, processing the job...
[2025-01-07 01:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 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-07 01:16:03] Production.INFO: ==17443== Lock acquired, processing the job...
[2025-01-07 01:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:16:03] Production.INFO: count ==21
[2025-01-07 01:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191468') start
[2025-01-07 01:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:16:03] Production.INFO: Account Balance Start.
[2025-01-07 01:16:03] Production.INFO: CreateAllLog Start
[2025-01-07 01:16:03] Production.INFO: 117
[2025-01-07 01:16:03] Production.INFO: Date 2024-12-08
[2025-01-07 01:16:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:16:03] Production.INFO: Date 2024-12-09
[2025-01-07 01:16:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191468') end
[2025-01-07 01:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:16:03] Production.INFO: 1
[2025-01-07 01:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:16:04] Production.INFO: ==17437== Releasing lock...
[2025-01-07 01:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:16:04] Production.INFO: Date 2024-12-10
[2025-01-07 01:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:16:04] Production.INFO: Date 2024-12-11
[2025-01-07 01:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:16:04] Production.INFO: Date 2024-12-12
[2025-01-07 01:16:04] Production.INFO: ==17445== Releasing lock...
[2025-01-07 01:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:16:04] Production.ERROR: done
[2025-01-07 01:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:16:04] Production.INFO: Date 2024-12-13
[2025-01-07 01:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:16:04] Production.INFO: Date 2024-12-14
[2025-01-07 01:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:16:04] Production.INFO: Date 2024-12-15
[2025-01-07 01:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:16:04] Production.INFO: Date 2024-12-16
[2025-01-07 01:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:16:04] Production.ERROR: done
[2025-01-07 01:16:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:16:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:16:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:16:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:16:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:16:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:16:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:16:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:16:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:16:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:16:04] Production.INFO: Date 2024-12-27
[2025-01-07 01:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:16:04] Production.INFO: Date 2024-12-28
[2025-01-07 01:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:16:04] Production.INFO: Date 2024-12-29
[2025-01-07 01:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:16:04] Production.INFO: Date 2024-12-30
[2025-01-07 01:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:16:04] Production.INFO: Date 2024-12-31
[2025-01-07 01:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:16:04] Production.INFO: Date 2025-01-01
[2025-01-07 01:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:16:04] Production.INFO: Date 2025-01-02
[2025-01-07 01:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:16:04] Production.INFO: Date 2025-01-03
[2025-01-07 01:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:16:04] Production.INFO: Date 2025-01-04
[2025-01-07 01:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:16:04] Production.INFO: Date 2025-01-05
[2025-01-07 01:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:16:04] Production.INFO: Date 2025-01-06
[2025-01-07 01:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:16:04] Production.INFO: Date 2025-01-07
[2025-01-07 01:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:16:04] Production.INFO: Total Charge 0
[2025-01-07 01:16:04] Production.INFO: CreateAllLog End
[2025-01-07 01:16:04] Production.INFO: Account Balance End.
[2025-01-07 01:16:05] Production.ERROR: CronJobId end 12
[2025-01-07 01:16:05] Production.INFO: ==17441== Releasing lock...
[2025-01-07 01:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:16:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:16:05
[end_date_ymd] => 2025-01-07 01:16:05
[RateCDR] => 1
)
[2025-01-07 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-06 22:16:05' and `end` < '2025-01-07 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-07 01:16:10] Production.ERROR: CronJobId end10
[2025-01-07 01:16:10] Production.INFO: ==17439== Releasing lock...
[2025-01-07 01:16:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:16:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:16:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:16:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:16:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:16:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:16:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:16:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:16:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:16:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:16:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:16:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:16:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:16:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:16:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:16:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:16:13] Production.INFO: call_cost start
[2025-01-07 01:16:13] Production.INFO: call_cost end
[2025-01-07 01:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:16:14] Production.INFO: ==17435== Releasing lock...
[2025-01-07 01:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:16:18] Production.INFO: count ==175
[2025-01-07 01:16:18] Production.ERROR: pbx CDR StartTime 2025-01-06 22:16:05 - End Time 2025-01-07 01:16:05
[2025-01-07 01:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191471', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191471', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191471', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191471', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:16:18] Production.INFO: ProcessCDR(1,14191471,1,1,2)
[2025-01-07 01:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191471,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191471,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191471,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191471,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191471', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191471', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:16:21] Production.INFO: ==17443== Releasing lock...
[2025-01-07 01:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:16:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 06:17:02] Production.INFO: ==17525== Lock acquired, processing the job...
[2025-01-07 06:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:17:02] Production.INFO: neon service started
[2025-01-07 06:17:02] Production.INFO: neon service started
[2025-01-07 06:17:02] Production.INFO: ==17525== Releasing lock...
[2025-01-07 06:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:17:02] Production.INFO: ==17527== Lock acquired, processing the job...
[2025-01-07 01:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:17:02] Production.INFO: ==17529== Lock acquired, processing the job...
[2025-01-07 06:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:17:02] Production.INFO: ==17529== Releasing lock...
[2025-01-07 06:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:17:02] Production.INFO: ==17527== Releasing lock...
[2025-01-07 01:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:17:03] Production.INFO: ==17534== Lock acquired, processing the job...
[2025-01-07 01:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:17:03] Production.INFO: ==17536== Lock acquired, processing the job...
[2025-01-07 01:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:17:03] Production.INFO: ==17540== Lock acquired, processing the job...
[2025-01-07 01:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:17:03] Production.INFO: ==17534== Releasing lock...
[2025-01-07 01:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:17:03] Production.INFO: ==17532== Lock acquired, processing the job...
[2025-01-07 01:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:17:03] Production.INFO: ==17538== Lock acquired, processing the job...
[2025-01-07 01:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:17:04] Production.INFO: ==17542== Lock acquired, processing the job...
[2025-01-07 01:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:17:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:17:04] Production.ERROR: done
[2025-01-07 01:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:17:04] Production.INFO: Account Balance Start.
[2025-01-07 01:17:04] Production.INFO: CreateAllLog Start
[2025-01-07 01:17:04] Production.INFO: count ==21
[2025-01-07 01:17:04] Production.INFO: 117
[2025-01-07 01:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:17:04] Production.INFO: count ==21
[2025-01-07 01:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191475') start
[2025-01-07 01:17:04] Production.INFO: Date 2024-12-08
[2025-01-07 01:17:04] Production.ERROR: done
[2025-01-07 01:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:17:04] Production.INFO: Date 2024-12-09
[2025-01-07 01:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:17:04] Production.INFO: Date 2024-12-10
[2025-01-07 01:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:17:04] Production.INFO: Date 2024-12-11
[2025-01-07 01:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:17:04] Production.INFO: Date 2024-12-12
[2025-01-07 01:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:17:04] Production.INFO: Date 2024-12-13
[2025-01-07 01:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:17:04] Production.INFO: Date 2024-12-14
[2025-01-07 01:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191475') end
[2025-01-07 01:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:17:04] Production.INFO: 1
[2025-01-07 01:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:17:04] Production.INFO: Date 2024-12-15
[2025-01-07 01:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:17:04] Production.INFO: Date 2024-12-16
[2025-01-07 01:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:17:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:17:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:17:04] Production.INFO: ==17542== Releasing lock...
[2025-01-07 01:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:17:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:17:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:17:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:17:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:17:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:17:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:17:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:17:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:17:04] Production.INFO: Date 2024-12-27
[2025-01-07 01:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:17:04] Production.INFO: Date 2024-12-28
[2025-01-07 01:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:17:04] Production.INFO: Date 2024-12-29
[2025-01-07 01:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:17:04] Production.INFO: Date 2024-12-30
[2025-01-07 01:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:17:05] Production.INFO: Date 2024-12-31
[2025-01-07 01:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:17:05] Production.INFO: Date 2025-01-01
[2025-01-07 01:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:17:05] Production.INFO: Date 2025-01-02
[2025-01-07 01:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:17:05] Production.INFO: Date 2025-01-03
[2025-01-07 01:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:17:05] Production.INFO: Date 2025-01-04
[2025-01-07 01:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:17:05] Production.INFO: Date 2025-01-05
[2025-01-07 01:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:17:05] Production.INFO: Date 2025-01-06
[2025-01-07 01:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:17:05] Production.INFO: Date 2025-01-07
[2025-01-07 01:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:17:05] Production.INFO: Total Charge 0
[2025-01-07 01:17:05] Production.INFO: CreateAllLog End
[2025-01-07 01:17:05] Production.INFO: Account Balance End.
[2025-01-07 01:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:17:05
[end_date_ymd] => 2025-01-07 01:17:05
[RateCDR] => 1
)
[2025-01-07 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-06 22:17:05' and `end` < '2025-01-07 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-07 01:17:05] Production.ERROR: CronJobId end 12
[2025-01-07 01:17:05] Production.INFO: ==17538== Releasing lock...
[2025-01-07 01:17:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:17:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:17:11] Production.ERROR: CronJobId end10
[2025-01-07 01:17:11] Production.INFO: ==17536== Releasing lock...
[2025-01-07 01:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:17:13] Production.INFO: call_cost start
[2025-01-07 01:17:13] Production.INFO: call_cost end
[2025-01-07 01:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:17:14] Production.INFO: ==17532== Releasing lock...
[2025-01-07 01:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:17:18] Production.INFO: count ==175
[2025-01-07 01:17:18] Production.ERROR: pbx CDR StartTime 2025-01-06 22:17:05 - End Time 2025-01-07 01:17:05
[2025-01-07 01:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191476', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191476', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191476', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191476', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:17:18] Production.INFO: ProcessCDR(1,14191476,1,1,2)
[2025-01-07 01:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191476,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191476,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191476,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191476,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191476', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191476', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:17:21] Production.INFO: ==17540== Releasing lock...
[2025-01-07 01:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:17:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 06:18:01] Production.INFO: ==17618== Lock acquired, processing the job...
[2025-01-07 06:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:18:01] Production.INFO: neon service started
[2025-01-07 06:18:01] Production.INFO: neon service started
[2025-01-07 06:18:01] Production.INFO: ==17618== Releasing lock...
[2025-01-07 06:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:18:01] Production.INFO: ==17622== Lock acquired, processing the job...
[2025-01-07 06:18:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:18:01] Production.INFO: ==17622== Releasing lock...
[2025-01-07 06:18:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:18:01] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:18:01] Production.INFO: ==17620== Lock acquired, processing the job...
[2025-01-07 01:18:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:18:02] Production.INFO: ==17620== Releasing lock...
[2025-01-07 01:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:18:03] Production.INFO: ==17627== Lock acquired, processing the job...
[2025-01-07 01:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:18:03] Production.INFO: ==17625== Lock acquired, processing the job...
[2025-01-07 01:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:18:03] Production.INFO: ==17635== Lock acquired, processing the job...
[2025-01-07 01:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:18:03] Production.INFO: ==17629== Lock acquired, processing the job...
[2025-01-07 01:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:18:03] Production.INFO: ==17631== Lock acquired, processing the job...
[2025-01-07 01:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:18:03] Production.INFO: ==17633== Lock acquired, processing the job...
[2025-01-07 01:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 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-07 01:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:18:03] Production.INFO: count ==21
[2025-01-07 01:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 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-07 01:18:03] Production.INFO: count ==21
[2025-01-07 01:18:03] Production.INFO: Account Balance Start.
[2025-01-07 01:18:03] Production.INFO: CreateAllLog Start
[2025-01-07 01:18:03] Production.INFO: 117
[2025-01-07 01:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191479') start
[2025-01-07 01:18:03] Production.INFO: ==17627== Releasing lock...
[2025-01-07 01:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:18:03] Production.INFO: Date 2024-12-08
[2025-01-07 01:18:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:18:03] Production.INFO: Date 2024-12-09
[2025-01-07 01:18:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191479') end
[2025-01-07 01:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:18:03] Production.INFO: 1
[2025-01-07 01:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:18:04] Production.ERROR: done
[2025-01-07 01:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:18:04] Production.INFO: Date 2024-12-10
[2025-01-07 01:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:18:04] Production.INFO: Date 2024-12-11
[2025-01-07 01:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:18:04] Production.INFO: Date 2024-12-12
[2025-01-07 01:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:18:04] Production.INFO: ==17635== Releasing lock...
[2025-01-07 01:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:18:04] Production.INFO: Date 2024-12-13
[2025-01-07 01:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:18:04] Production.ERROR: done
[2025-01-07 01:18:04] Production.INFO: Date 2024-12-14
[2025-01-07 01:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:18:04] Production.INFO: Date 2024-12-15
[2025-01-07 01:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:18:04] Production.INFO: Date 2024-12-16
[2025-01-07 01:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:18:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:18:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:18:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:18:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:18:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:18:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:18:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:18:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:18:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:18:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:18:04] Production.INFO: Date 2024-12-27
[2025-01-07 01:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:18:04] Production.INFO: Date 2024-12-28
[2025-01-07 01:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:18:04] Production.INFO: Date 2024-12-29
[2025-01-07 01:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:18:04] Production.INFO: Date 2024-12-30
[2025-01-07 01:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:18:04] Production.INFO: Date 2024-12-31
[2025-01-07 01:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:18:05] Production.INFO: Date 2025-01-01
[2025-01-07 01:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:18:05] Production.INFO: Date 2025-01-02
[2025-01-07 01:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:18:05
[end_date_ymd] => 2025-01-07 01:18:05
[RateCDR] => 1
)
[2025-01-07 01:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 22:18:05' and `end` < '2025-01-07 01:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 01:18:05] Production.INFO: Date 2025-01-03
[2025-01-07 01:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:18:05] Production.INFO: Date 2025-01-04
[2025-01-07 01:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:18:05] Production.INFO: Date 2025-01-05
[2025-01-07 01:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:18:05] Production.INFO: Date 2025-01-06
[2025-01-07 01:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:18:05] Production.INFO: Date 2025-01-07
[2025-01-07 01:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:18:05] Production.INFO: Total Charge 0
[2025-01-07 01:18:05] Production.INFO: CreateAllLog End
[2025-01-07 01:18:05] Production.INFO: Account Balance End.
[2025-01-07 01:18:05] Production.ERROR: CronJobId end 12
[2025-01-07 01:18:05] Production.INFO: ==17631== Releasing lock...
[2025-01-07 01:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:18:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:18:11] Production.ERROR: CronJobId end10
[2025-01-07 01:18:11] Production.INFO: ==17629== Releasing lock...
[2025-01-07 01:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:18:13] Production.INFO: call_cost start
[2025-01-07 01:18:13] Production.INFO: call_cost end
[2025-01-07 01:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:18:14] Production.INFO: ==17625== Releasing lock...
[2025-01-07 01:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:18:17] Production.INFO: count ==174
[2025-01-07 01:18:17] Production.ERROR: pbx CDR StartTime 2025-01-06 22:18:05 - End Time 2025-01-07 01:18:05
[2025-01-07 01:18:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191481', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191481', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191481', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191481', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:18:17] Production.INFO: ProcessCDR(1,14191481,1,1,2)
[2025-01-07 01:18:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191481,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:18:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191481,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:18:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191481,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:18:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191481,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191481', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191481', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:18:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:18:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:18:20] Production.INFO: ==17633== Releasing lock...
[2025-01-07 01:18:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:18:20] Production.INFO: 29 MB #Memory Used#
[2025-01-07 06:19:01] Production.INFO: ==17717== Lock acquired, processing the job...
[2025-01-07 06:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:19:01] Production.INFO: neon service started
[2025-01-07 06:19:01] Production.INFO: neon service started
[2025-01-07 06:19:01] Production.INFO: ==17717== Releasing lock...
[2025-01-07 06:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:19:02] Production.INFO: ==17720== Lock acquired, processing the job...
[2025-01-07 01:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:19:02] Production.INFO: ==17720== Releasing lock...
[2025-01-07 01:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:19:02] Production.INFO: ==17722== Lock acquired, processing the job...
[2025-01-07 06:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:19:02] Production.INFO: ==17722== Releasing lock...
[2025-01-07 06:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:19:03] Production.INFO: ==17726== Lock acquired, processing the job...
[2025-01-07 01:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:19:03] Production.INFO: ==17724== Lock acquired, processing the job...
[2025-01-07 01:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:19:03] Production.INFO: ==17730== Lock acquired, processing the job...
[2025-01-07 01:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:19:03] Production.INFO: Account Balance Start.
[2025-01-07 01:19:03] Production.INFO: CreateAllLog Start
[2025-01-07 01:19:03] Production.INFO: 117
[2025-01-07 01:19:03] Production.INFO: Date 2024-12-08
[2025-01-07 01:19:03] Production.INFO: ==17728== Lock acquired, processing the job...
[2025-01-07 01:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:19:03] Production.INFO: Date 2024-12-09
[2025-01-07 01:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:19:03] Production.INFO: Date 2024-12-10
[2025-01-07 01:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:19:03] Production.INFO: ==17732== Lock acquired, processing the job...
[2025-01-07 01:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:19:03] Production.INFO: Date 2024-12-11
[2025-01-07 01:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:19:03] Production.INFO: ==17734== Lock acquired, processing the job...
[2025-01-07 01:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:19:03] Production.INFO: Date 2024-12-12
[2025-01-07 01:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:19:03] Production.INFO: ==17726== Releasing lock...
[2025-01-07 01:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:19:03] Production.INFO: Date 2024-12-13
[2025-01-07 01:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 01:19:03] Production.INFO: Date 2024-12-14
[2025-01-07 01:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:19:03] Production.INFO: Date 2024-12-15
[2025-01-07 01:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:19:03] Production.INFO: count ==21
[2025-01-07 01:19:03] Production.INFO: Date 2024-12-16
[2025-01-07 01:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 01:19:03] Production.INFO: count ==21
[2025-01-07 01:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191485') start
[2025-01-07 01:19:03] Production.INFO: Date 2024-12-17
[2025-01-07 01:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:19:03] Production.INFO: Date 2024-12-18
[2025-01-07 01:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:19:03] Production.INFO: Date 2024-12-19
[2025-01-07 01:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191485') end
[2025-01-07 01:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:19:04] Production.INFO: 1
[2025-01-07 01:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:19:04] Production.ERROR: done
[2025-01-07 01:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:19:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:19:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:19:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:19:04] Production.INFO: ==17734== Releasing lock...
[2025-01-07 01:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:19:04] Production.ERROR: done
[2025-01-07 01:19:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:19:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:19:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:19:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:19:04] Production.INFO: Date 2024-12-27
[2025-01-07 01:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:19:04] Production.INFO: Date 2024-12-28
[2025-01-07 01:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:19:04] Production.INFO: Date 2024-12-29
[2025-01-07 01:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:19:04] Production.INFO: Date 2024-12-30
[2025-01-07 01:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:19:04] Production.INFO: Date 2024-12-31
[2025-01-07 01:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:19:04] Production.INFO: Date 2025-01-01
[2025-01-07 01:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:19:04] Production.INFO: Date 2025-01-02
[2025-01-07 01:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:19:04] Production.INFO: Date 2025-01-03
[2025-01-07 01:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:19:04] Production.INFO: Date 2025-01-04
[2025-01-07 01:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:19:04] Production.INFO: Date 2025-01-05
[2025-01-07 01:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:19:04] Production.INFO: Date 2025-01-06
[2025-01-07 01:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:19:04] Production.INFO: Date 2025-01-07
[2025-01-07 01:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:19:04] Production.INFO: Total Charge 0
[2025-01-07 01:19:04] Production.INFO: CreateAllLog End
[2025-01-07 01:19:05] Production.INFO: Account Balance End.
[2025-01-07 01:19:05] Production.ERROR: CronJobId end 12
[2025-01-07 01:19:05] Production.INFO: ==17730== Releasing lock...
[2025-01-07 01:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:19:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:19:05
[end_date_ymd] => 2025-01-07 01:19:05
[RateCDR] => 1
)
[2025-01-07 01:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 22:19:05' and `end` < '2025-01-07 01:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 01:19:10] Production.ERROR: CronJobId end10
[2025-01-07 01:19:10] Production.INFO: ==17728== Releasing lock...
[2025-01-07 01:19:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:19:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:19:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:19:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:19:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:19:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:19:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:19:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:19:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:19:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:19:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:19:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:19:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:19:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:19:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:19:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:19:13] Production.INFO: call_cost start
[2025-01-07 01:19:13] Production.INFO: call_cost end
[2025-01-07 01:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:19:14] Production.INFO: ==17724== Releasing lock...
[2025-01-07 01:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:19:19] Production.INFO: count ==174
[2025-01-07 01:19:19] Production.ERROR: pbx CDR StartTime 2025-01-06 22:19:05 - End Time 2025-01-07 01:19:05
[2025-01-07 01:19:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191486', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191486', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191486', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191486', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:19:19] Production.INFO: ProcessCDR(1,14191486,1,1,2)
[2025-01-07 01:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191486,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191486,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191486,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191486,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191486', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191486', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:19:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:19:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:19:22] Production.INFO: ==17732== Releasing lock...
[2025-01-07 01:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:19:22] Production.INFO: 29 MB #Memory Used#
[2025-01-07 06:20:02] Production.INFO: ==17809== Lock acquired, processing the job...
[2025-01-07 06:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:20:02] Production.INFO: neon service started
[2025-01-07 06:20:02] Production.INFO: neon service started
[2025-01-07 06:20:02] Production.INFO: ==17809== Releasing lock...
[2025-01-07 06:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:20:02] Production.INFO: ==17811== Lock acquired, processing the job...
[2025-01-07 01:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:20:02] Production.INFO: ==17813== Lock acquired, processing the job...
[2025-01-07 06:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:20:02] Production.INFO: ==17813== Releasing lock...
[2025-01-07 06:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:20:03] Production.INFO: ==17811== Releasing lock...
[2025-01-07 01:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:20:04] Production.INFO: ==17818== Lock acquired, processing the job...
[2025-01-07 01:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 01:20:04] Production.INFO: ==17820== Lock acquired, processing the job...
[2025-01-07 01:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 01:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 01:20:04] Production.INFO: ==17818== Releasing lock...
[2025-01-07 01:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 01:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 01:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:20:04] Production.INFO: ==17822== Lock acquired, processing the job...
[2025-01-07 01:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:20:04] Production.INFO: ==17824== Lock acquired, processing the job...
[2025-01-07 01:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:20:04] Production.INFO: ==17828== Lock acquired, processing the job...
[2025-01-07 01:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:20:04] Production.INFO: ==17826== Lock acquired, processing the job...
[2025-01-07 01:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:20:04] Production.INFO: ==17830== Lock acquired, processing the job...
[2025-01-07 01:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 01:20:04] Production.INFO: ==17832== Lock acquired, processing the job...
[2025-01-07 01:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:20:04] Production.INFO: ==17822== Releasing lock...
[2025-01-07 01:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:20:04] Production.INFO: Account Balance Start.
[2025-01-07 01:20:04] Production.INFO: CreateAllLog Start
[2025-01-07 01:20:04] Production.INFO: 117
[2025-01-07 01:20:04] Production.INFO: Date 2024-12-08
[2025-01-07 01:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 01:20:04] Production.INFO: count ==21
[2025-01-07 01:20:04] Production.INFO: Date 2024-12-09
[2025-01-07 01: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-07 01:20:05] Production.INFO: count ==21
[2025-01-07 01:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14191490') start
[2025-01-07 01:20:05] Production.ERROR: done
[2025-01-07 01:20:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:20:05] Production.INFO: Date 2024-12-10
[2025-01-07 01:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14191490') end
[2025-01-07 01:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:20:05] Production.INFO: 1
[2025-01-07 01:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:20:05] Production.INFO: Date 2024-12-11
[2025-01-07 01:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:20:05] Production.ERROR: done
[2025-01-07 01:20:05] Production.ERROR: done
[2025-01-07 01:20:05] Production.INFO: ==17832== Releasing lock...
[2025-01-07 01:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:20:05] Production.INFO: Date 2024-12-12
[2025-01-07 01:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:20:05] Production.INFO: Date 2024-12-13
[2025-01-07 01:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 01:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14191491', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 01:20:05] Production.INFO: Date 2024-12-14
[2025-01-07 01:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:20:05] Production.INFO: Date 2024-12-15
[2025-01-07 01:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:20:05] Production.INFO: Date 2024-12-16
[2025-01-07 01:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:20:05] Production.INFO: Date 2024-12-17
[2025-01-07 01:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:20:05] Production.INFO: Date 2024-12-18
[2025-01-07 01:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:20:05] Production.INFO: Date 2024-12-19
[2025-01-07 01:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:20:05] Production.INFO: Date 2024-12-20
[2025-01-07 01:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:20:05] Production.INFO: Date 2024-12-21
[2025-01-07 01:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:20:05] Production.INFO: Date 2024-12-22
[2025-01-07 01:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:20:05] Production.INFO: Date 2024-12-23
[2025-01-07 01:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:20:05] Production.INFO: Date 2024-12-24
[2025-01-07 01:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:20:05] Production.INFO: Date 2024-12-25
[2025-01-07 01:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:20:05] Production.INFO: Date 2024-12-26
[2025-01-07 01:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:20:05] Production.INFO: Date 2024-12-27
[2025-01-07 01:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:20:05] Production.INFO: Date 2024-12-28
[2025-01-07 01:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:20:05] Production.INFO: Date 2024-12-29
[2025-01-07 01:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:20:05] Production.INFO: Date 2024-12-30
[2025-01-07 01:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:20:06] Production.INFO: Date 2024-12-31
[2025-01-07 01:20:06] Production.INFO: Reseller ==> 0
[2025-01-07 01:20:06] Production.INFO: Date 2025-01-01
[2025-01-07 01:20:06] Production.INFO: Reseller ==> 0
[2025-01-07 01:20:06] Production.INFO: Date 2025-01-02
[2025-01-07 01:20:06] Production.INFO: Reseller ==> 0
[2025-01-07 01:20:06] Production.INFO: Date 2025-01-03
[2025-01-07 01:20:06] Production.INFO: Reseller ==> 0
[2025-01-07 01:20:06] Production.INFO: Date 2025-01-04
[2025-01-07 01:20:06] Production.INFO: Reseller ==> 0
[2025-01-07 01:20:06] Production.INFO: Date 2025-01-05
[2025-01-07 01:20:06] Production.INFO: Reseller ==> 0
[2025-01-07 01:20:06] Production.INFO: Date 2025-01-06
[2025-01-07 01:20:06] Production.INFO: Reseller ==> 0
[2025-01-07 01:20:06] Production.INFO: Date 2025-01-07
[2025-01-07 01:20:06] Production.INFO: Reseller ==> 0
[2025-01-07 01:20:06] Production.INFO: Total Charge 0
[2025-01-07 01:20:06] Production.INFO: CreateAllLog End
[2025-01-07 01:20:06] Production.INFO: Account Balance End.
[2025-01-07 01:20:06] Production.ERROR: CronJobId end 12
[2025-01-07 01:20:06] Production.INFO: ==17826== Releasing lock...
[2025-01-07 01:20:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:20:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:20:06
[end_date_ymd] => 2025-01-07 01:20:06
[RateCDR] => 1
)
[2025-01-07 01:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 22:20:06' and `end` < '2025-01-07 01:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 01:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14191491', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 01:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 01:20:09] Production.INFO: ProcessCDR(1,14191491,1,1,2)
[2025-01-07 01:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14191491,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:20:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14191491,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:20:10] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:20:10] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:20:10] Production.INFO: ==17830== Releasing lock...
[2025-01-07 01:20:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 01:20:10] Production.INFO: 26 MB #Memory Used#
[2025-01-07 01:20:13] Production.ERROR: CronJobId end10
[2025-01-07 01:20:13] Production.INFO: ==17824== Releasing lock...
[2025-01-07 01:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:20:15] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:20:15] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:20:16] Production.INFO: call_cost start
[2025-01-07 01:20:16] Production.INFO: call_cost end
[2025-01-07 01:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:20:16] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:20:16] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:20:16] Production.INFO: ==17820== Releasing lock...
[2025-01-07 01:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:20:20] Production.INFO: count ==180
[2025-01-07 01:20:20] Production.ERROR: pbx CDR StartTime 2025-01-06 22:20:06 - End Time 2025-01-07 01:20:06
[2025-01-07 01:20:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191492', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191492', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191492', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191492', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:20:20] Production.INFO: ProcessCDR(1,14191492,1,1,2)
[2025-01-07 01:20:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191492,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191492,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191492,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191492,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191492', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191492', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:20:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:20:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:20:23] Production.INFO: ==17828== Releasing lock...
[2025-01-07 01:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:20:23] Production.INFO: 29 MB #Memory Used#
[2025-01-07 06:21:01] Production.INFO: ==17906== Lock acquired, processing the job...
[2025-01-07 06:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:21:01] Production.INFO: neon service started
[2025-01-07 06:21:01] Production.INFO: neon service started
[2025-01-07 06:21:01] Production.INFO: ==17906== Releasing lock...
[2025-01-07 06:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:21:02] Production.INFO: ==17908== Lock acquired, processing the job...
[2025-01-07 01:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:21:02] Production.INFO: ==17908== Releasing lock...
[2025-01-07 01:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:21:02] Production.INFO: ==17910== Lock acquired, processing the job...
[2025-01-07 06:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:21:02] Production.INFO: ==17910== Releasing lock...
[2025-01-07 06:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:21:03] Production.INFO: ==17919== Lock acquired, processing the job...
[2025-01-07 01:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:21:03] Production.INFO: ==17923== Lock acquired, processing the job...
[2025-01-07 01:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:21:03] Production.INFO: ==17914== Lock acquired, processing the job...
[2025-01-07 01:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:21:03] Production.INFO: ==17912== Lock acquired, processing the job...
[2025-01-07 01:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:21:03] Production.INFO: ==17917== Lock acquired, processing the job...
[2025-01-07 01:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:21:03] Production.INFO: Account Balance Start.
[2025-01-07 01:21:03] Production.INFO: CreateAllLog Start
[2025-01-07 01:21:03] Production.INFO: 117
[2025-01-07 01:21:03] Production.INFO: Date 2024-12-08
[2025-01-07 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-07 01:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:21:03] Production.INFO: count ==21
[2025-01-07 01:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 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-07 01:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:21:03] Production.INFO: count ==21
[2025-01-07 01:21:03] Production.INFO: ==17921== Lock acquired, processing the job...
[2025-01-07 01:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191493') start
[2025-01-07 01:21:03] Production.INFO: Date 2024-12-09
[2025-01-07 01:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:21:03] Production.INFO: Date 2024-12-10
[2025-01-07 01:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191493') end
[2025-01-07 01:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:21:03] Production.INFO: 1
[2025-01-07 01:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:21:03] Production.INFO: Date 2024-12-11
[2025-01-07 01:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:21:03] Production.INFO: ==17923== Releasing lock...
[2025-01-07 01:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:21:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:21:03] Production.INFO: Date 2024-12-12
[2025-01-07 01:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:21:03] Production.INFO: ==17914== Releasing lock...
[2025-01-07 01:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:21:03] Production.INFO: Date 2024-12-13
[2025-01-07 01:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:21:03] Production.INFO: Date 2024-12-14
[2025-01-07 01:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:21:03] Production.INFO: Date 2024-12-15
[2025-01-07 01:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:21:04] Production.INFO: Date 2024-12-16
[2025-01-07 01:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:21:04] Production.ERROR: done
[2025-01-07 01:21:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:21:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:21:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:21:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:21:04] Production.ERROR: done
[2025-01-07 01:21:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:21:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:21:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:21:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:21:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:21:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:21:04] Production.INFO: Date 2024-12-27
[2025-01-07 01:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:21:04] Production.INFO: Date 2024-12-28
[2025-01-07 01:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:21:04] Production.INFO: Date 2024-12-29
[2025-01-07 01:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:21:04] Production.INFO: Date 2024-12-30
[2025-01-07 01:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:21:04] Production.INFO: Date 2024-12-31
[2025-01-07 01:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:21:04] Production.INFO: Date 2025-01-01
[2025-01-07 01:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:21:04] Production.INFO: Date 2025-01-02
[2025-01-07 01:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:21:04] Production.INFO: Date 2025-01-03
[2025-01-07 01:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:21:04] Production.INFO: Date 2025-01-04
[2025-01-07 01:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:21:04] Production.INFO: Date 2025-01-05
[2025-01-07 01:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:21:04] Production.INFO: Date 2025-01-06
[2025-01-07 01:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:21:04] Production.INFO: Date 2025-01-07
[2025-01-07 01:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:21:04] Production.INFO: Total Charge 0
[2025-01-07 01:21:04] Production.INFO: CreateAllLog End
[2025-01-07 01:21:04] Production.INFO: Account Balance End.
[2025-01-07 01:21:04] Production.ERROR: CronJobId end 12
[2025-01-07 01:21:04] Production.INFO: ==17919== Releasing lock...
[2025-01-07 01:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:21:05
[end_date_ymd] => 2025-01-07 01:21:05
[RateCDR] => 1
)
[2025-01-07 01:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 22:21:05' and `end` < '2025-01-07 01:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 01:21:11] Production.ERROR: CronJobId end10
[2025-01-07 01:21:11] Production.INFO: ==17917== Releasing lock...
[2025-01-07 01:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:21:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:21:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:21:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:21:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:21:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:21:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:21:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:21:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:21:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:21:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:21:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:21:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:21:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:21:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:21:14] Production.INFO: call_cost start
[2025-01-07 01:21:14] Production.INFO: call_cost end
[2025-01-07 01:21:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:21:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:21:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:21:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:21:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:21:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:21:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:21:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:21:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:21:15] Production.INFO: ==17912== Releasing lock...
[2025-01-07 01:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:21:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:21:19] Production.INFO: count ==180
[2025-01-07 01:21:19] Production.ERROR: pbx CDR StartTime 2025-01-06 22:21:05 - End Time 2025-01-07 01:21:05
[2025-01-07 01:21:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191497', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191497', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191497', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191497', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:21:19] Production.INFO: ProcessCDR(1,14191497,1,1,2)
[2025-01-07 01:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191497,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191497,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191497,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191497,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191497', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191497', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:21:22] Production.INFO: ==17921== Releasing lock...
[2025-01-07 01:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:21:22] Production.INFO: 29 MB #Memory Used#
[2025-01-07 06:22:02] Production.INFO: ==18000== Lock acquired, processing the job...
[2025-01-07 06:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:22:02] Production.INFO: neon service started
[2025-01-07 06:22:02] Production.INFO: neon service started
[2025-01-07 06:22:02] Production.INFO: ==18000== Releasing lock...
[2025-01-07 06:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:22:02] Production.INFO: ==18002== Lock acquired, processing the job...
[2025-01-07 01:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:22:02] Production.INFO: ==18002== Releasing lock...
[2025-01-07 01:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:22:03] Production.INFO: ==18004== Lock acquired, processing the job...
[2025-01-07 06:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:22:03] Production.INFO: ==18004== Releasing lock...
[2025-01-07 06:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:22:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:22:03] Production.INFO: ==18006== Lock acquired, processing the job...
[2025-01-07 01:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:22:03] Production.INFO: ==18008== Lock acquired, processing the job...
[2025-01-07 01:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:22:03] Production.INFO: ==18010== Lock acquired, processing the job...
[2025-01-07 01:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:22:04] Production.INFO: ==18016== Lock acquired, processing the job...
[2025-01-07 01:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:22:04] Production.INFO: ==18012== Lock acquired, processing the job...
[2025-01-07 01:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:22:04] Production.INFO: ==18008== Releasing lock...
[2025-01-07 01:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 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-07 01:22:04] Production.INFO: Account Balance Start.
[2025-01-07 01:22:04] Production.INFO: CreateAllLog Start
[2025-01-07 01:22:04] Production.INFO: 117
[2025-01-07 01:22:04] Production.INFO: count ==21
[2025-01-07 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-07 01:22:04] Production.INFO: ==18014== Lock acquired, processing the job...
[2025-01-07 01:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:22:04] Production.INFO: count ==21
[2025-01-07 01:22:04] Production.INFO: Date 2024-12-08
[2025-01-07 01:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191500') start
[2025-01-07 01:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:22:04] Production.INFO: Date 2024-12-09
[2025-01-07 01:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:22:04] Production.INFO: Date 2024-12-10
[2025-01-07 01:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:22:04] Production.INFO: Date 2024-12-11
[2025-01-07 01:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191500') end
[2025-01-07 01:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:22:04] Production.INFO: 1
[2025-01-07 01:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:22:04] Production.INFO: ==18016== Releasing lock...
[2025-01-07 01:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:22:04] Production.INFO: Date 2024-12-12
[2025-01-07 01:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:22:04] Production.INFO: Date 2024-12-13
[2025-01-07 01:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:22:04] Production.INFO: Date 2024-12-14
[2025-01-07 01:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:22:04] Production.INFO: Date 2024-12-15
[2025-01-07 01:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:22:04] Production.ERROR: done
[2025-01-07 01:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:22:04] Production.INFO: Date 2024-12-16
[2025-01-07 01:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:22:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:22:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:22:04] Production.ERROR: done
[2025-01-07 01:22:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:22:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:22:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:22:05] Production.INFO: Date 2024-12-22
[2025-01-07 01:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:22:05] Production.INFO: Date 2024-12-23
[2025-01-07 01:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:22:05] Production.INFO: Date 2024-12-24
[2025-01-07 01:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:22:05] Production.INFO: Date 2024-12-25
[2025-01-07 01:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:22:05] Production.INFO: Date 2024-12-26
[2025-01-07 01:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:22:05] Production.INFO: Date 2024-12-27
[2025-01-07 01:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:22:05] Production.INFO: Date 2024-12-28
[2025-01-07 01:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:22:05] Production.INFO: Date 2024-12-29
[2025-01-07 01:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:22:05] Production.INFO: Date 2024-12-30
[2025-01-07 01:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:22:05] Production.INFO: Date 2024-12-31
[2025-01-07 01:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:22:05] Production.INFO: Date 2025-01-01
[2025-01-07 01:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:22:05] Production.INFO: Date 2025-01-02
[2025-01-07 01:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:22:05
[end_date_ymd] => 2025-01-07 01:22:05
[RateCDR] => 1
)
[2025-01-07 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-06 22:22:05' and `end` < '2025-01-07 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-07 01:22:05] Production.INFO: Date 2025-01-03
[2025-01-07 01:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:22:05] Production.INFO: Date 2025-01-04
[2025-01-07 01:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:22:05] Production.INFO: Date 2025-01-05
[2025-01-07 01:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:22:05] Production.INFO: Date 2025-01-06
[2025-01-07 01:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:22:05] Production.INFO: Date 2025-01-07
[2025-01-07 01:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:22:05] Production.INFO: Total Charge 0
[2025-01-07 01:22:05] Production.INFO: CreateAllLog End
[2025-01-07 01:22:05] Production.INFO: Account Balance End.
[2025-01-07 01:22:06] Production.ERROR: CronJobId end 12
[2025-01-07 01:22:06] Production.INFO: ==18012== Releasing lock...
[2025-01-07 01:22:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:22:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:22:12] Production.ERROR: CronJobId end10
[2025-01-07 01:22:12] Production.INFO: ==18010== Releasing lock...
[2025-01-07 01:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:22:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:22:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:22:14] Production.INFO: call_cost start
[2025-01-07 01:22:14] Production.INFO: call_cost end
[2025-01-07 01:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:22:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:22:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:22:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:22:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:22:15] Production.INFO: ==18006== Releasing lock...
[2025-01-07 01:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:22:19] Production.INFO: count ==180
[2025-01-07 01:22:19] Production.ERROR: pbx CDR StartTime 2025-01-06 22:22:05 - End Time 2025-01-07 01:22:05
[2025-01-07 01:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191502', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191502', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191502', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191502', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:22:19] Production.INFO: ProcessCDR(1,14191502,1,1,2)
[2025-01-07 01:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191502,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191502,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191502,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191502,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191502', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191502', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:22:22] Production.INFO: ==18014== Releasing lock...
[2025-01-07 01:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:22:22] Production.INFO: 29 MB #Memory Used#
[2025-01-07 06:23:01] Production.INFO: ==18127== Lock acquired, processing the job...
[2025-01-07 06:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:23:01] Production.INFO: neon service started
[2025-01-07 06:23:01] Production.INFO: neon service started
[2025-01-07 06:23:01] Production.INFO: ==18127== Releasing lock...
[2025-01-07 06:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:23:02] Production.INFO: ==18129== Lock acquired, processing the job...
[2025-01-07 01:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:23:02] Production.INFO: ==18131== Lock acquired, processing the job...
[2025-01-07 06:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:23:02] Production.INFO: ==18131== Releasing lock...
[2025-01-07 06:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:23:02] Production.INFO: ==18129== Releasing lock...
[2025-01-07 01:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:23:03] Production.INFO: ==18134== Lock acquired, processing the job...
[2025-01-07 01:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:23:03] Production.INFO: ==18136== Lock acquired, processing the job...
[2025-01-07 01:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:23:03] Production.INFO: ==18140== Lock acquired, processing the job...
[2025-01-07 01:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:23:03] Production.INFO: Account Balance Start.
[2025-01-07 01:23:03] Production.INFO: CreateAllLog Start
[2025-01-07 01:23:03] Production.INFO: 117
[2025-01-07 01:23:03] Production.INFO: Date 2024-12-08
[2025-01-07 01:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:23:03] Production.INFO: Date 2024-12-09
[2025-01-07 01:23:03] Production.INFO: ==18138== Lock acquired, processing the job...
[2025-01-07 01:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:23:03] Production.INFO: Date 2024-12-10
[2025-01-07 01:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:23:03] Production.INFO: Date 2024-12-11
[2025-01-07 01:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:23:03] Production.INFO: Date 2024-12-12
[2025-01-07 01:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:23:03] Production.INFO: Date 2024-12-13
[2025-01-07 01:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:23:03] Production.INFO: ==18142== Lock acquired, processing the job...
[2025-01-07 01:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:23:03] Production.INFO: ==18136== Releasing lock...
[2025-01-07 01:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:23:03] Production.INFO: ==18144== Lock acquired, processing the job...
[2025-01-07 01:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:23:03] Production.INFO: Date 2024-12-14
[2025-01-07 01:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:23:03] Production.INFO: Date 2024-12-15
[2025-01-07 01:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:23:03] Production.INFO: Date 2024-12-16
[2025-01-07 01:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:23:03] Production.INFO: Date 2024-12-17
[2025-01-07 01:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:23:03] Production.INFO: Date 2024-12-18
[2025-01-07 01:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 01:23:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:23:04] Production.INFO: count ==21
[2025-01-07 01:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 01:23:04] Production.INFO: count ==21
[2025-01-07 01:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191506') start
[2025-01-07 01:23:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:23:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:23:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191506') end
[2025-01-07 01:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:23:04] Production.INFO: 1
[2025-01-07 01:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:23:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:23:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:23:04] Production.INFO: ==18144== Releasing lock...
[2025-01-07 01:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:23:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:23:04] Production.ERROR: done
[2025-01-07 01:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:23:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:23:04] Production.INFO: Date 2024-12-27
[2025-01-07 01:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:23:04] Production.INFO: Date 2024-12-28
[2025-01-07 01:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:23:04] Production.ERROR: done
[2025-01-07 01:23:04] Production.INFO: Date 2024-12-29
[2025-01-07 01:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:23:04] Production.INFO: Date 2024-12-30
[2025-01-07 01:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:23:04] Production.INFO: Date 2024-12-31
[2025-01-07 01:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:23:04] Production.INFO: Date 2025-01-01
[2025-01-07 01:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:23:04] Production.INFO: Date 2025-01-02
[2025-01-07 01:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:23:04] Production.INFO: Date 2025-01-03
[2025-01-07 01:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:23:04] Production.INFO: Date 2025-01-04
[2025-01-07 01:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:23:04] Production.INFO: Date 2025-01-05
[2025-01-07 01:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:23:04] Production.INFO: Date 2025-01-06
[2025-01-07 01:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:23:04] Production.INFO: Date 2025-01-07
[2025-01-07 01:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:23:04] Production.INFO: Total Charge 0
[2025-01-07 01:23:05] Production.INFO: CreateAllLog End
[2025-01-07 01:23:05] Production.INFO: Account Balance End.
[2025-01-07 01:23:05] Production.ERROR: CronJobId end 12
[2025-01-07 01:23:05] Production.INFO: ==18140== Releasing lock...
[2025-01-07 01:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:23:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:23:05
[end_date_ymd] => 2025-01-07 01:23:05
[RateCDR] => 1
)
[2025-01-07 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-06 22:23:05' and `end` < '2025-01-07 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-07 01:23:11] Production.ERROR: CronJobId end10
[2025-01-07 01:23:11] Production.INFO: ==18138== Releasing lock...
[2025-01-07 01:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:23:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:23:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:23:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:23:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:23:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:23:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:23:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:23:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:23:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:23:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:23:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:23:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:23:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:23:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:23:13] Production.INFO: call_cost start
[2025-01-07 01:23:13] Production.INFO: call_cost end
[2025-01-07 01:23:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:23:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:23:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:23:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:23:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:23:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:23:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:23:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:23:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:23:13] Production.INFO: ==18134== Releasing lock...
[2025-01-07 01:23:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:23:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:23:18] Production.INFO: count ==180
[2025-01-07 01:23:18] Production.ERROR: pbx CDR StartTime 2025-01-06 22:23:05 - End Time 2025-01-07 01:23:05
[2025-01-07 01:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191507', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191507', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191507', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191507', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:23:18] Production.INFO: ProcessCDR(1,14191507,1,1,2)
[2025-01-07 01:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191507,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191507,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191507,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191507,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191507', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191507', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:23:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:23:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:23:22] Production.INFO: ==18142== Releasing lock...
[2025-01-07 01:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:23:22] Production.INFO: 29 MB #Memory Used#
[2025-01-07 06:24:02] Production.INFO: ==18214== Lock acquired, processing the job...
[2025-01-07 06:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:24:02] Production.INFO: neon service started
[2025-01-07 06:24:02] Production.INFO: neon service started
[2025-01-07 06:24:02] Production.INFO: ==18214== Releasing lock...
[2025-01-07 06:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:24:02] Production.INFO: ==18216== Lock acquired, processing the job...
[2025-01-07 01:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:24:02] Production.INFO: ==18216== Releasing lock...
[2025-01-07 01:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:24:02] Production.INFO: ==18218== Lock acquired, processing the job...
[2025-01-07 06:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:24:02] Production.INFO: ==18218== Releasing lock...
[2025-01-07 06:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:24:03] Production.INFO: ==18229== Lock acquired, processing the job...
[2025-01-07 01:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:24:03] Production.INFO: ==18231== Lock acquired, processing the job...
[2025-01-07 01:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:24:03] Production.INFO: ==18221== Lock acquired, processing the job...
[2025-01-07 01:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:24:03] Production.INFO: ==18223== Lock acquired, processing the job...
[2025-01-07 01:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:24:03] Production.INFO: ==18225== Lock acquired, processing the job...
[2025-01-07 01:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:24:03] Production.INFO: ==18227== Lock acquired, processing the job...
[2025-01-07 01:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:24:03] Production.ERROR: done
[2025-01-07 01:24:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:24:03] Production.INFO: Account Balance Start.
[2025-01-07 01:24:03] Production.INFO: CreateAllLog Start
[2025-01-07 01:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:24:03] Production.INFO: 117
[2025-01-07 01:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:24:03] Production.INFO: count ==21
[2025-01-07 01:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:24:03] Production.INFO: count ==21
[2025-01-07 01:24:03] Production.INFO: Date 2024-12-08
[2025-01-07 01:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191508') start
[2025-01-07 01:24:04] Production.INFO: Date 2024-12-09
[2025-01-07 01:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:24:04] Production.INFO: Date 2024-12-10
[2025-01-07 01:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:24:04] Production.ERROR: done
[2025-01-07 01:24:04] Production.INFO: Date 2024-12-11
[2025-01-07 01:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:24:04] Production.INFO: Date 2024-12-12
[2025-01-07 01:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191508') end
[2025-01-07 01:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:24:04] Production.INFO: 1
[2025-01-07 01:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:24:04] Production.INFO: ==18231== Releasing lock...
[2025-01-07 01:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:24:04] Production.INFO: ==18223== Releasing lock...
[2025-01-07 01:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:24:04] Production.INFO: Date 2024-12-13
[2025-01-07 01:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:24:04] Production.INFO: Date 2024-12-14
[2025-01-07 01:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:24:04] Production.INFO: Date 2024-12-15
[2025-01-07 01:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:24:04] Production.INFO: Date 2024-12-16
[2025-01-07 01:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:24:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:24:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:24:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:24:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:24:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:24:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:24:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:24:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:24:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:24:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:24:04] Production.INFO: Date 2024-12-27
[2025-01-07 01:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:24:04] Production.INFO: Date 2024-12-28
[2025-01-07 01:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:24:04] Production.INFO: Date 2024-12-29
[2025-01-07 01:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:24:04] Production.INFO: Date 2024-12-30
[2025-01-07 01:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:24:04] Production.INFO: Date 2024-12-31
[2025-01-07 01:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:24:04] Production.INFO: Date 2025-01-01
[2025-01-07 01:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:24:04] Production.INFO: Date 2025-01-02
[2025-01-07 01:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:24:04] Production.INFO: Date 2025-01-03
[2025-01-07 01:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:24:04] Production.INFO: Date 2025-01-04
[2025-01-07 01:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:24:04] Production.INFO: Date 2025-01-05
[2025-01-07 01:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:24:04] Production.INFO: Date 2025-01-06
[2025-01-07 01:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:24:05] Production.INFO: Date 2025-01-07
[2025-01-07 01:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:24:05] Production.INFO: Total Charge 0
[2025-01-07 01:24:05] Production.INFO: CreateAllLog End
[2025-01-07 01:24:05] Production.INFO: Account Balance End.
[2025-01-07 01:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:24:05
[end_date_ymd] => 2025-01-07 01:24:05
[RateCDR] => 1
)
[2025-01-07 01:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 22:24:05' and `end` < '2025-01-07 01:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 01:24:05] Production.ERROR: CronJobId end 12
[2025-01-07 01:24:05] Production.INFO: ==18227== Releasing lock...
[2025-01-07 01:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:24:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:24:11] Production.ERROR: CronJobId end10
[2025-01-07 01:24:11] Production.INFO: ==18225== Releasing lock...
[2025-01-07 01:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:24:13] Production.INFO: call_cost start
[2025-01-07 01:24:13] Production.INFO: call_cost end
[2025-01-07 01:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:24:14] Production.INFO: ==18221== Releasing lock...
[2025-01-07 01:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:24:19] Production.INFO: count ==178
[2025-01-07 01:24:19] Production.ERROR: pbx CDR StartTime 2025-01-06 22:24:05 - End Time 2025-01-07 01:24:05
[2025-01-07 01:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191512', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191512', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191512', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191512', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:24:19] Production.INFO: ProcessCDR(1,14191512,1,1,2)
[2025-01-07 01:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191512,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191512,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191512,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191512,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191512', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191512', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:24:22] Production.INFO: ==18229== Releasing lock...
[2025-01-07 01:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:24:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 06:25:01] Production.INFO: ==18295== Lock acquired, processing the job...
[2025-01-07 06:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:25:01] Production.INFO: neon service started
[2025-01-07 06:25:01] Production.INFO: neon service started
[2025-01-07 06:25:01] Production.INFO: ==18295== Releasing lock...
[2025-01-07 06:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:25:01] Production.INFO: ==18297== Lock acquired, processing the job...
[2025-01-07 01:25:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:25:02] Production.INFO: ==18297== Releasing lock...
[2025-01-07 01:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:25:02] Production.INFO: ==18299== Lock acquired, processing the job...
[2025-01-07 06:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:25:02] Production.INFO: ==18299== Releasing lock...
[2025-01-07 06:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:25:03] Production.INFO: ==18309== Lock acquired, processing the job...
[2025-01-07 01:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:25:03] Production.INFO: ==18311== Lock acquired, processing the job...
[2025-01-07 01:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:25:03] Production.INFO: ==18301== Lock acquired, processing the job...
[2025-01-07 01:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:25:03] Production.INFO: ==18303== Lock acquired, processing the job...
[2025-01-07 01:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:25:03] Production.INFO: count ==21
[2025-01-07 01:25:03] Production.INFO: ==18305== Lock acquired, processing the job...
[2025-01-07 01:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:25:03] Production.INFO: ==18307== Lock acquired, processing the job...
[2025-01-07 01:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:25:03] Production.INFO: count ==21
[2025-01-07 01:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191513') start
[2025-01-07 01:25:03] Production.ERROR: done
[2025-01-07 01:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:25:03] Production.INFO: Account Balance Start.
[2025-01-07 01:25:03] Production.INFO: CreateAllLog Start
[2025-01-07 01:25:03] Production.INFO: 117
[2025-01-07 01:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191513') end
[2025-01-07 01:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:25:03] Production.INFO: 1
[2025-01-07 01:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:25:03] Production.INFO: Date 2024-12-08
[2025-01-07 01:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:25:03] Production.INFO: ==18311== Releasing lock...
[2025-01-07 01:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:25:03] Production.INFO: Date 2024-12-09
[2025-01-07 01:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:25:03] Production.ERROR: done
[2025-01-07 01:25:03] Production.INFO: ==18303== Releasing lock...
[2025-01-07 01:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:25:03] Production.INFO: Date 2024-12-10
[2025-01-07 01:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:25:03] Production.INFO: Date 2024-12-11
[2025-01-07 01:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:25:03] Production.INFO: Date 2024-12-12
[2025-01-07 01:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:25:03] Production.INFO: Date 2024-12-13
[2025-01-07 01:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:25:03] Production.INFO: Date 2024-12-14
[2025-01-07 01:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:25:03] Production.INFO: Date 2024-12-15
[2025-01-07 01:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:25:03] Production.INFO: Date 2024-12-16
[2025-01-07 01:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:25:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:25:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:25:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:25:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:25:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:25:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:25:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:25:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:25:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:25:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:25:04] Production.INFO: Date 2024-12-27
[2025-01-07 01:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:25:04] Production.INFO: Date 2024-12-28
[2025-01-07 01:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:25:04] Production.INFO: Date 2024-12-29
[2025-01-07 01:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:25:04] Production.INFO: Date 2024-12-30
[2025-01-07 01:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:25:04] Production.INFO: Date 2024-12-31
[2025-01-07 01:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:25:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:25:04
[end_date_ymd] => 2025-01-07 01:25:04
[RateCDR] => 1
)
[2025-01-07 01:25:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 22:25:04' and `end` < '2025-01-07 01:25:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 01:25:04] Production.INFO: Date 2025-01-01
[2025-01-07 01:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:25:04] Production.INFO: Date 2025-01-02
[2025-01-07 01:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:25:04] Production.INFO: Date 2025-01-03
[2025-01-07 01:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:25:04] Production.INFO: Date 2025-01-04
[2025-01-07 01:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:25:04] Production.INFO: Date 2025-01-05
[2025-01-07 01:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:25:04] Production.INFO: Date 2025-01-06
[2025-01-07 01:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:25:04] Production.INFO: Date 2025-01-07
[2025-01-07 01:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:25:04] Production.INFO: Total Charge 0
[2025-01-07 01:25:04] Production.INFO: CreateAllLog End
[2025-01-07 01:25:05] Production.INFO: Account Balance End.
[2025-01-07 01:25:05] Production.ERROR: CronJobId end 12
[2025-01-07 01:25:05] Production.INFO: ==18307== Releasing lock...
[2025-01-07 01:25:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:25:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:25:11] Production.ERROR: CronJobId end10
[2025-01-07 01:25:11] Production.INFO: ==18305== Releasing lock...
[2025-01-07 01:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:25:14] Production.INFO: call_cost start
[2025-01-07 01:25:14] Production.INFO: call_cost end
[2025-01-07 01:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:25:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:25:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:25:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:25:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:25:15] Production.INFO: ==18301== Releasing lock...
[2025-01-07 01:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:25:17] Production.INFO: count ==178
[2025-01-07 01:25:17] Production.ERROR: pbx CDR StartTime 2025-01-06 22:25:04 - End Time 2025-01-07 01:25:04
[2025-01-07 01:25:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191517', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191517', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191517', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191517', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:25:17] Production.INFO: ProcessCDR(1,14191517,1,1,2)
[2025-01-07 01:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191517,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:25:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191517,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:25:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191517,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:25:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191517,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191517', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191517', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:25:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:25:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:25:20] Production.INFO: ==18309== Releasing lock...
[2025-01-07 01:25:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:25:20] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 06:26:01] Production.INFO: ==18380== Lock acquired, processing the job...
[2025-01-07 06:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:26:01] Production.INFO: neon service started
[2025-01-07 06:26:02] Production.INFO: neon service started
[2025-01-07 06:26:02] Production.INFO: ==18380== Releasing lock...
[2025-01-07 06:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:26:02] Production.INFO: ==18382== Lock acquired, processing the job...
[2025-01-07 01:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:26:02] Production.INFO: ==18382== Releasing lock...
[2025-01-07 01:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:26:02] Production.INFO: ==18384== Lock acquired, processing the job...
[2025-01-07 06:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:26:02] Production.INFO: ==18384== Releasing lock...
[2025-01-07 06:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:26:03] Production.INFO: ==18394== Lock acquired, processing the job...
[2025-01-07 01:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:26:03] Production.INFO: ==18386== Lock acquired, processing the job...
[2025-01-07 01:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:26:03] Production.INFO: ==18396== Lock acquired, processing the job...
[2025-01-07 01:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:26:03] Production.INFO: ==18388== Lock acquired, processing the job...
[2025-01-07 01:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:26:03] Production.INFO: ==18392== Lock acquired, processing the job...
[2025-01-07 01:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:26:03] Production.INFO: ==18390== Lock acquired, processing the job...
[2025-01-07 01:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 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-07 01:26:03] Production.INFO: count ==21
[2025-01-07 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-07 01:26:03] Production.INFO: count ==21
[2025-01-07 01:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191518') start
[2025-01-07 01:26:03] Production.ERROR: done
[2025-01-07 01:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:26:03] Production.INFO: Account Balance Start.
[2025-01-07 01:26:03] Production.INFO: CreateAllLog Start
[2025-01-07 01:26:03] Production.INFO: 117
[2025-01-07 01:26:03] Production.INFO: Date 2024-12-08
[2025-01-07 01:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:26:03] Production.INFO: Date 2024-12-09
[2025-01-07 01:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191518') end
[2025-01-07 01:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:26:03] Production.INFO: 1
[2025-01-07 01:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:26:03] Production.INFO: Date 2024-12-10
[2025-01-07 01:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:26:03] Production.ERROR: done
[2025-01-07 01:26:03] Production.INFO: Date 2024-12-11
[2025-01-07 01:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:26:03] Production.INFO: Date 2024-12-12
[2025-01-07 01:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:26:03] Production.INFO: ==18396== Releasing lock...
[2025-01-07 01:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:26:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:26:03] Production.INFO: Date 2024-12-13
[2025-01-07 01:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:26:03] Production.INFO: Date 2024-12-14
[2025-01-07 01:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:26:03] Production.INFO: Date 2024-12-15
[2025-01-07 01:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:26:04] Production.INFO: Date 2024-12-16
[2025-01-07 01:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:26:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:26:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:26:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:26:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:26:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:26:04] Production.INFO: ==18388== Releasing lock...
[2025-01-07 01:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:26:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:26:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:26:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:26:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:26:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:26:04] Production.INFO: Date 2024-12-27
[2025-01-07 01:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:26:04] Production.INFO: Date 2024-12-28
[2025-01-07 01:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:26:04] Production.INFO: Date 2024-12-29
[2025-01-07 01:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:26:04] Production.INFO: Date 2024-12-30
[2025-01-07 01:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:26:04] Production.INFO: Date 2024-12-31
[2025-01-07 01:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:26:04] Production.INFO: Date 2025-01-01
[2025-01-07 01:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:26:04] Production.INFO: Date 2025-01-02
[2025-01-07 01:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:26:04] Production.INFO: Date 2025-01-03
[2025-01-07 01:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:26:04] Production.INFO: Date 2025-01-04
[2025-01-07 01:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:26:04] Production.INFO: Date 2025-01-05
[2025-01-07 01:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:26:04] Production.INFO: Date 2025-01-06
[2025-01-07 01:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:26:04] Production.INFO: Date 2025-01-07
[2025-01-07 01:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:26:04] Production.INFO: Total Charge 0
[2025-01-07 01:26:04] Production.INFO: CreateAllLog End
[2025-01-07 01:26:04] Production.INFO: Account Balance End.
[2025-01-07 01:26:04] Production.ERROR: CronJobId end 12
[2025-01-07 01:26:04] Production.INFO: ==18392== Releasing lock...
[2025-01-07 01:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:26:05
[end_date_ymd] => 2025-01-07 01:26:05
[RateCDR] => 1
)
[2025-01-07 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-06 22:26:05' and `end` < '2025-01-07 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-07 01:26:10] Production.ERROR: CronJobId end10
[2025-01-07 01:26:10] Production.INFO: ==18390== Releasing lock...
[2025-01-07 01:26:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:26:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:26:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:26:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:26:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:26:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:26:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:26:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:26:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:26:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:26:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:26:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:26:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:26:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:26:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:26:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:26:13] Production.INFO: call_cost start
[2025-01-07 01:26:13] Production.INFO: call_cost end
[2025-01-07 01:26:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:26:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:26:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:26:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:26:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:26:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:26:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:26:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:26:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:26:13] Production.INFO: ==18386== Releasing lock...
[2025-01-07 01:26:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:26:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:26:18] Production.INFO: count ==185
[2025-01-07 01:26:18] Production.ERROR: pbx CDR StartTime 2025-01-06 22:26:05 - End Time 2025-01-07 01:26:05
[2025-01-07 01:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191522', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191522', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191522', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191522', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:26:18] Production.INFO: ProcessCDR(1,14191522,1,1,2)
[2025-01-07 01:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191522,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191522,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191522,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191522,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191522', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191522', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:26:21] Production.INFO: ==18394== Releasing lock...
[2025-01-07 01:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:26:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 06:27:01] Production.INFO: ==18456== Lock acquired, processing the job...
[2025-01-07 06:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:27:01] Production.INFO: neon service started
[2025-01-07 06:27:01] Production.INFO: neon service started
[2025-01-07 06:27:01] Production.INFO: ==18456== Releasing lock...
[2025-01-07 06:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:27:01] Production.INFO: ==18460== Lock acquired, processing the job...
[2025-01-07 06:27:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:27:01] Production.INFO: ==18460== Releasing lock...
[2025-01-07 06:27:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:27:01] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:27:01] Production.INFO: ==18458== Lock acquired, processing the job...
[2025-01-07 01:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:27:02] Production.INFO: ==18458== Releasing lock...
[2025-01-07 01:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:27:02] Production.INFO: ==18462== Lock acquired, processing the job...
[2025-01-07 01:27:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:27:02] Production.INFO: ==18464== Lock acquired, processing the job...
[2025-01-07 01:27:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:27:02] Production.INFO: ==18468== Lock acquired, processing the job...
[2025-01-07 01:27:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:27:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:27:03] Production.INFO: ==18466== Lock acquired, processing the job...
[2025-01-07 01:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:27:03] Production.INFO: Account Balance Start.
[2025-01-07 01:27:03] Production.INFO: CreateAllLog Start
[2025-01-07 01:27:03] Production.INFO: 117
[2025-01-07 01:27:03] Production.INFO: Date 2024-12-08
[2025-01-07 01:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:27:03] Production.INFO: ==18464== Releasing lock...
[2025-01-07 01:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:27:03] Production.INFO: Date 2024-12-09
[2025-01-07 01:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:27:03] Production.INFO: Date 2024-12-10
[2025-01-07 01:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:27:03] Production.INFO: ==18470== Lock acquired, processing the job...
[2025-01-07 01:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:27:03] Production.INFO: Date 2024-12-11
[2025-01-07 01:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:27:03] Production.INFO: Date 2024-12-12
[2025-01-07 01:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:27:03] Production.INFO: Date 2024-12-13
[2025-01-07 01:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:27:03] Production.INFO: ==18472== Lock acquired, processing the job...
[2025-01-07 01:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:27:03] Production.INFO: Date 2024-12-14
[2025-01-07 01:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:27:03] Production.INFO: Date 2024-12-15
[2025-01-07 01:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:27:03] Production.INFO: Date 2024-12-16
[2025-01-07 01:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 01:27:03] Production.ERROR: done
[2025-01-07 01:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:27:03] Production.INFO: count ==21
[2025-01-07 01:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:27:03] Production.INFO: count ==21
[2025-01-07 01:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191526') start
[2025-01-07 01:27:03] Production.INFO: Date 2024-12-17
[2025-01-07 01:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191526') end
[2025-01-07 01:27:03] Production.ERROR: done
[2025-01-07 01:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:27:03] Production.INFO: 1
[2025-01-07 01:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:27:03] Production.INFO: Date 2024-12-18
[2025-01-07 01:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:27:04] Production.INFO: ==18472== Releasing lock...
[2025-01-07 01:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:27:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:27:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:27:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:27:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:27:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:27:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:27:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:27:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:27:04] Production.INFO: Date 2024-12-27
[2025-01-07 01:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:27:04] Production.INFO: Date 2024-12-28
[2025-01-07 01:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:27:04] Production.INFO: Date 2024-12-29
[2025-01-07 01:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:27:04] Production.INFO: Date 2024-12-30
[2025-01-07 01:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:27:04] Production.INFO: Date 2024-12-31
[2025-01-07 01:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:27:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:27:04
[end_date_ymd] => 2025-01-07 01:27:04
[RateCDR] => 1
)
[2025-01-07 01: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-06 22:27:04' and `end` < '2025-01-07 01: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-07 01:27:04] Production.INFO: Date 2025-01-01
[2025-01-07 01:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:27:05] Production.INFO: Date 2025-01-02
[2025-01-07 01:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:27:05] Production.INFO: Date 2025-01-03
[2025-01-07 01:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:27:05] Production.INFO: Date 2025-01-04
[2025-01-07 01:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:27:05] Production.INFO: Date 2025-01-05
[2025-01-07 01:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:27:05] Production.INFO: Date 2025-01-06
[2025-01-07 01:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:27:05] Production.INFO: Date 2025-01-07
[2025-01-07 01:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:27:05] Production.INFO: Total Charge 0
[2025-01-07 01:27:05] Production.INFO: CreateAllLog End
[2025-01-07 01:27:05] Production.INFO: Account Balance End.
[2025-01-07 01:27:05] Production.ERROR: CronJobId end 12
[2025-01-07 01:27:05] Production.INFO: ==18468== Releasing lock...
[2025-01-07 01:27:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:27:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:27:10] Production.ERROR: CronJobId end10
[2025-01-07 01:27:10] Production.INFO: ==18466== Releasing lock...
[2025-01-07 01:27:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:27:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:27:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:27:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:27:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:27:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:27:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:27:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:27:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:27:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:27:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:27:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:27:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:27:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:27:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:27:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:27:13] Production.INFO: call_cost start
[2025-01-07 01:27:13] Production.INFO: call_cost end
[2025-01-07 01:27:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:27:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:27:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:27:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:27:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:27:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:27:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:27:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:27:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:27:13] Production.INFO: ==18462== Releasing lock...
[2025-01-07 01:27:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:27:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:27:18] Production.INFO: count ==185
[2025-01-07 01:27:18] Production.ERROR: pbx CDR StartTime 2025-01-06 22:27:04 - End Time 2025-01-07 01:27:04
[2025-01-07 01:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191527', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191527', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191527', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191527', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:27:18] Production.INFO: ProcessCDR(1,14191527,1,1,2)
[2025-01-07 01:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191527,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191527,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191527,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191527,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191527', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191527', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:27:21] Production.INFO: ==18470== Releasing lock...
[2025-01-07 01:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:27:21] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 06:28:01] Production.INFO: ==18534== Lock acquired, processing the job...
[2025-01-07 06:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:28:01] Production.INFO: neon service started
[2025-01-07 06:28:01] Production.INFO: neon service started
[2025-01-07 06:28:01] Production.INFO: ==18534== Releasing lock...
[2025-01-07 06:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:28:02] Production.INFO: ==18536== Lock acquired, processing the job...
[2025-01-07 01:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:28:02] Production.INFO: ==18539== Lock acquired, processing the job...
[2025-01-07 06:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:28:02] Production.INFO: ==18536== Releasing lock...
[2025-01-07 01:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:28:02] Production.INFO: ==18539== Releasing lock...
[2025-01-07 06:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:28:03] Production.INFO: ==18541== Lock acquired, processing the job...
[2025-01-07 01:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:28:03] Production.INFO: ==18549== Lock acquired, processing the job...
[2025-01-07 01:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:28:03] Production.INFO: ==18543== Lock acquired, processing the job...
[2025-01-07 01:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:28:03] Production.INFO: ==18551== Lock acquired, processing the job...
[2025-01-07 01:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:28:03] Production.INFO: ==18545== Lock acquired, processing the job...
[2025-01-07 01:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:28:03] Production.INFO: ==18547== Lock acquired, processing the job...
[2025-01-07 01:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 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-07 01:28:03] Production.INFO: count ==21
[2025-01-07 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-07 01:28:03] Production.INFO: count ==21
[2025-01-07 01:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:28:03] Production.INFO: Account Balance Start.
[2025-01-07 01:28:03] Production.INFO: CreateAllLog Start
[2025-01-07 01:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191529') start
[2025-01-07 01:28:03] Production.INFO: 117
[2025-01-07 01:28:03] Production.INFO: Date 2024-12-08
[2025-01-07 01:28:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:28:03] Production.ERROR: done
[2025-01-07 01:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:28:03] Production.INFO: Date 2024-12-09
[2025-01-07 01:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191529') end
[2025-01-07 01:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:28:03] Production.INFO: 1
[2025-01-07 01:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:28:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:28:03] Production.INFO: ==18543== Releasing lock...
[2025-01-07 01:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:28:03] Production.INFO: ==18551== Releasing lock...
[2025-01-07 01:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:28:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:28:04] Production.ERROR: done
[2025-01-07 01:28:04] Production.INFO: Date 2024-12-10
[2025-01-07 01:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:28:04] Production.INFO: Date 2024-12-11
[2025-01-07 01:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:28:04] Production.INFO: Date 2024-12-12
[2025-01-07 01:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:28:04] Production.INFO: Date 2024-12-13
[2025-01-07 01:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:28:04] Production.INFO: Date 2024-12-14
[2025-01-07 01:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:28:04] Production.INFO: Date 2024-12-15
[2025-01-07 01:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:28:04] Production.INFO: Date 2024-12-16
[2025-01-07 01:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:28:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:28:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:28:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:28:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:28:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:28:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:28:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:28:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:28:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:28:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:28:04] Production.INFO: Date 2024-12-27
[2025-01-07 01:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:28:04] Production.INFO: Date 2024-12-28
[2025-01-07 01:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:28:04] Production.INFO: Date 2024-12-29
[2025-01-07 01:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:28:04] Production.INFO: Date 2024-12-30
[2025-01-07 01:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:28:04] Production.INFO: Date 2024-12-31
[2025-01-07 01:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:28:04] Production.INFO: Date 2025-01-01
[2025-01-07 01:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:28:04] Production.INFO: Date 2025-01-02
[2025-01-07 01:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:28:04] Production.INFO: Date 2025-01-03
[2025-01-07 01:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:28:05] Production.INFO: Date 2025-01-04
[2025-01-07 01:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:28:05] Production.INFO: Date 2025-01-05
[2025-01-07 01:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:28:05] Production.INFO: Date 2025-01-06
[2025-01-07 01:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:28:05] Production.INFO: Date 2025-01-07
[2025-01-07 01:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:28:05] Production.INFO: Total Charge 0
[2025-01-07 01:28:05] Production.INFO: CreateAllLog End
[2025-01-07 01:28:05] Production.INFO: Account Balance End.
[2025-01-07 01:28:05] Production.ERROR: CronJobId end 12
[2025-01-07 01:28:05] Production.INFO: ==18547== Releasing lock...
[2025-01-07 01:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:28:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:28:05
[end_date_ymd] => 2025-01-07 01:28:05
[RateCDR] => 1
)
[2025-01-07 01:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 22:28:05' and `end` < '2025-01-07 01:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 01:28:10] Production.ERROR: CronJobId end10
[2025-01-07 01:28:10] Production.INFO: ==18545== Releasing lock...
[2025-01-07 01:28:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:28:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:28:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:28:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:28:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:28:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:28:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:28:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:28:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:28:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:28:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:28:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:28:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:28:12] Production.INFO: call_cost start
[2025-01-07 01:28:12] Production.INFO: call_cost end
[2025-01-07 01:28:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:28:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:28:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:28:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:28:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:28:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:28:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:28:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:28:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:28:13] Production.INFO: ==18541== Releasing lock...
[2025-01-07 01:28:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:28:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:28:18] Production.INFO: count ==185
[2025-01-07 01:28:18] Production.ERROR: pbx CDR StartTime 2025-01-06 22:28:05 - End Time 2025-01-07 01:28:05
[2025-01-07 01:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191532', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191532', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191532', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191532', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:28:18] Production.INFO: ProcessCDR(1,14191532,1,1,2)
[2025-01-07 01:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191532,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191532,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191532,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191532,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191532', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191532', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:28:21] Production.INFO: ==18549== Releasing lock...
[2025-01-07 01:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:28:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 06:29:02] Production.INFO: ==18607== Lock acquired, processing the job...
[2025-01-07 06:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:29:02] Production.INFO: neon service started
[2025-01-07 06:29:02] Production.INFO: neon service started
[2025-01-07 06:29:02] Production.INFO: ==18607== Releasing lock...
[2025-01-07 06:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:29:02] Production.INFO: ==18611== Lock acquired, processing the job...
[2025-01-07 06:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:29:02] Production.INFO: ==18611== Releasing lock...
[2025-01-07 06:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:29:02] Production.INFO: ==18609== Lock acquired, processing the job...
[2025-01-07 01:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:29:02] Production.INFO: ==18609== Releasing lock...
[2025-01-07 01:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:29:03] Production.INFO: ==18618== Lock acquired, processing the job...
[2025-01-07 01:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:29:03] Production.INFO: ==18614== Lock acquired, processing the job...
[2025-01-07 01:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:29:03] Production.INFO: ==18622== Lock acquired, processing the job...
[2025-01-07 01:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:29:03] Production.INFO: ==18616== Lock acquired, processing the job...
[2025-01-07 01:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:29:03] Production.INFO: ==18620== Lock acquired, processing the job...
[2025-01-07 01:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:29:04] Production.INFO: ==18624== Lock acquired, processing the job...
[2025-01-07 01:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:29:04] Production.INFO: Account Balance Start.
[2025-01-07 01:29:04] Production.INFO: CreateAllLog Start
[2025-01-07 01:29:04] Production.INFO: 117
[2025-01-07 01:29:04] Production.INFO: Date 2024-12-08
[2025-01-07 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-07 01:29:04] Production.INFO: count ==21
[2025-01-07 01:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 01:29:04] Production.INFO: count ==21
[2025-01-07 01:29:04] Production.ERROR: done
[2025-01-07 01:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191536') start
[2025-01-07 01:29:04] Production.INFO: Date 2024-12-09
[2025-01-07 01:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:29:04] Production.INFO: Date 2024-12-10
[2025-01-07 01:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:29:04] Production.INFO: Date 2024-12-11
[2025-01-07 01:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:29:04] Production.INFO: Date 2024-12-12
[2025-01-07 01:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191536') end
[2025-01-07 01:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:29:04] Production.INFO: 1
[2025-01-07 01:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:29:04] Production.INFO: Date 2024-12-13
[2025-01-07 01:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:29:04] Production.INFO: ==18616== Releasing lock...
[2025-01-07 01:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:29:04] Production.INFO: ==18624== Releasing lock...
[2025-01-07 01:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:29:04] Production.INFO: Date 2024-12-14
[2025-01-07 01:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:29:04] Production.ERROR: done
[2025-01-07 01:29:04] Production.INFO: Date 2024-12-15
[2025-01-07 01:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:29:04] Production.INFO: Date 2024-12-16
[2025-01-07 01:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:29:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:29:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:29:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:29:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:29:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:29:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:29:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:29:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:29:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:29:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:29:04] Production.INFO: Date 2024-12-27
[2025-01-07 01:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:29:04] Production.INFO: Date 2024-12-28
[2025-01-07 01:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:29:04] Production.INFO: Date 2024-12-29
[2025-01-07 01:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:29:04] Production.INFO: Date 2024-12-30
[2025-01-07 01:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:29:04] Production.INFO: Date 2024-12-31
[2025-01-07 01:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:29:05] Production.INFO: Date 2025-01-01
[2025-01-07 01:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:29:05] Production.INFO: Date 2025-01-02
[2025-01-07 01:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:29:05] Production.INFO: Date 2025-01-03
[2025-01-07 01:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:29:05] Production.INFO: Date 2025-01-04
[2025-01-07 01:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:29:05] Production.INFO: Date 2025-01-05
[2025-01-07 01:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:29:05] Production.INFO: Date 2025-01-06
[2025-01-07 01:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:29:05] Production.INFO: Date 2025-01-07
[2025-01-07 01:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:29:05] Production.INFO: Total Charge 0
[2025-01-07 01:29:05] Production.INFO: CreateAllLog End
[2025-01-07 01:29:05] Production.INFO: Account Balance End.
[2025-01-07 01:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:29:05
[end_date_ymd] => 2025-01-07 01:29:05
[RateCDR] => 1
)
[2025-01-07 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-06 22:29:05' and `end` < '2025-01-07 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-07 01:29:05] Production.ERROR: CronJobId end 12
[2025-01-07 01:29:05] Production.INFO: ==18620== Releasing lock...
[2025-01-07 01:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:29:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:29:12] Production.ERROR: CronJobId end10
[2025-01-07 01:29:12] Production.INFO: ==18618== Releasing lock...
[2025-01-07 01:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:29:13] Production.INFO: call_cost start
[2025-01-07 01:29:13] Production.INFO: call_cost end
[2025-01-07 01:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:29:14] Production.INFO: ==18614== Releasing lock...
[2025-01-07 01:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:29:19] Production.INFO: count ==183
[2025-01-07 01:29:19] Production.ERROR: pbx CDR StartTime 2025-01-06 22:29:05 - End Time 2025-01-07 01:29:05
[2025-01-07 01:29:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191537', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191537', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191537', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191537', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:29:19] Production.INFO: ProcessCDR(1,14191537,1,1,2)
[2025-01-07 01:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191537,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:29:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191537,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:29:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191537,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191537,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191537', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191537', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:29:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:29:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:29:22] Production.INFO: ==18622== Releasing lock...
[2025-01-07 01:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:29:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 06:30:01] Production.INFO: ==18682== Lock acquired, processing the job...
[2025-01-07 06:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:30:01] Production.INFO: neon service started
[2025-01-07 06:30:01] Production.INFO: neon service started
[2025-01-07 06:30:01] Production.INFO: ==18682== Releasing lock...
[2025-01-07 06:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:30:01] Production.INFO: ==18684== Lock acquired, processing the job...
[2025-01-07 01:30:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:30:02] Production.INFO: ==18684== Releasing lock...
[2025-01-07 01:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:30:02] Production.INFO: ==18686== Lock acquired, processing the job...
[2025-01-07 06:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:30:02] Production.INFO: ==18686== Releasing lock...
[2025-01-07 06:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:30:03] Production.INFO: ==18690== Lock acquired, processing the job...
[2025-01-07 01:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:30:03] Production.INFO: ==18694== Lock acquired, processing the job...
[2025-01-07 01:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:30:03] Production.INFO: ==18698== Lock acquired, processing the job...
[2025-01-07 01:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:30:03] Production.INFO: ==18688== Lock acquired, processing the job...
[2025-01-07 01:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 01:30:03] Production.INFO: ==18692== Lock acquired, processing the job...
[2025-01-07 01:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 01:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 01:30:03] Production.ERROR: CronJob PID - 18690
[2025-01-07 01:30:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-07 01:30:03] Production.ERROR: CronJob ID - 5
[2025-01-07 01:30:03] Production.ERROR: CronJob Last Run Time 2025-01-07 01:30:00
[2025-01-07 01:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 01:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 01:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 01:30:03] Production.ERROR: CronJob PID - 18692
[2025-01-07 01:30:03] Production.ERROR: CronJob Title - Account Block
[2025-01-07 01:30:03] Production.ERROR: CronJob ID - 7
[2025-01-07 01:30:03] Production.ERROR: CronJob Last Run Time 2025-01-07 01:30:00
[2025-01-07 01:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 01:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 01:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 01:30:03] Production.ERROR: CronJob PID - 18694
[2025-01-07 01:30:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-07 01:30:03] Production.ERROR: CronJob ID - 10
[2025-01-07 01:30:03] Production.ERROR: CronJob Last Run Time 2025-01-07 01:30:00
[2025-01-07 01:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 01:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 01:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 01:30:03] Production.ERROR: CronJob PID - 18698
[2025-01-07 01:30:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-07 01:30:03] Production.ERROR: CronJob ID - 16
[2025-01-07 01:30:03] Production.ERROR: CronJob Last Run Time 2025-01-07 01:30:00
[2025-01-07 01:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 01:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 01:30:03] Production.INFO: ==18700== Lock acquired, processing the job...
[2025-01-07 01:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 01:30:03] Production.INFO: ==18696== Lock acquired, processing the job...
[2025-01-07 01:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 01:30:03] Production.INFO: ==18688== Releasing lock...
[2025-01-07 01:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 01:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 01:30:03] Production.INFO: ==18703== Lock acquired, processing the job...
[2025-01-07 01:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:30:03] Production.ERROR: done
[2025-01-07 01:30:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:30:03] Production.INFO: Account Balance Start.
[2025-01-07 01:30:03] Production.INFO: CreateAllLog Start
[2025-01-07 01:30:03] Production.INFO: 117
[2025-01-07 01:30:04] Production.INFO: Date 2024-12-08
[2025-01-07 01:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:30:04] Production.INFO: count ==21
[2025-01-07 01:30:04] Production.ERROR: done
[2025-01-07 01:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:30:04] Production.ERROR: done
[2025-01-07 01:30:04] Production.INFO: Date 2024-12-09
[2025-01-07 01:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:30:04] Production.INFO: count ==21
[2025-01-07 01:30:04] Production.INFO: ==18692== Releasing lock...
[2025-01-07 01:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191541') start
[2025-01-07 01:30:04] Production.INFO: Date 2024-12-10
[2025-01-07 01:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 01:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14191543', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 01:30:04] Production.INFO: Date 2024-12-11
[2025-01-07 01:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191541') end
[2025-01-07 01:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:30:04] Production.INFO: 1
[2025-01-07 01:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:30:04] Production.INFO: Date 2024-12-12
[2025-01-07 01:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:30:04] Production.INFO: ==18703== Releasing lock...
[2025-01-07 01:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:30:04] Production.INFO: Date 2024-12-13
[2025-01-07 01:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:30:04] Production.INFO: Date 2024-12-14
[2025-01-07 01:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:30:04] Production.INFO: Date 2024-12-15
[2025-01-07 01:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:30:04] Production.INFO: Date 2024-12-16
[2025-01-07 01:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:30:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:30:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:30:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:30:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:30:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:30:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:30:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:30:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:30:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:30:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:30:04] Production.INFO: Date 2024-12-27
[2025-01-07 01:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:30:04] Production.INFO: Date 2024-12-28
[2025-01-07 01:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:30:04] Production.INFO: Date 2024-12-29
[2025-01-07 01:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:30:04] Production.INFO: Date 2024-12-30
[2025-01-07 01:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:30:04] Production.INFO: Date 2024-12-31
[2025-01-07 01:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:30:04] Production.INFO: Date 2025-01-01
[2025-01-07 01:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:30:05] Production.INFO: Date 2025-01-02
[2025-01-07 01:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:30:05] Production.INFO: Date 2025-01-03
[2025-01-07 01:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:30:05] Production.INFO: Date 2025-01-04
[2025-01-07 01:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:30:05] Production.INFO: Date 2025-01-05
[2025-01-07 01:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:30:05] Production.INFO: Date 2025-01-06
[2025-01-07 01:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:30:05] Production.INFO: Date 2025-01-07
[2025-01-07 01:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:30:05] Production.INFO: Total Charge 0
[2025-01-07 01:30:05] Production.INFO: CreateAllLog End
[2025-01-07 01:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:30:05
[end_date_ymd] => 2025-01-07 01:30:05
[RateCDR] => 1
)
[2025-01-07 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-06 22:30:05' and `end` < '2025-01-07 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-07 01:30:05] Production.INFO: Account Balance End.
[2025-01-07 01:30:05] Production.ERROR: CronJobId end 12
[2025-01-07 01:30:05] Production.INFO: ==18696== Releasing lock...
[2025-01-07 01:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14191543', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 01:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 01:30:08] Production.INFO: ProcessCDR(1,14191543,1,1,2)
[2025-01-07 01:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14191543,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14191543,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:30:08] Production.INFO: ==18700== Releasing lock...
[2025-01-07 01:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 01:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-07 01:30:12] Production.ERROR: CronJobId end10
[2025-01-07 01:30:12] Production.INFO: ==18694== Releasing lock...
[2025-01-07 01:30:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:30:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:30:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:30:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:30:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:30:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:30:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:30:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:30:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:30:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:30:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:30:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:30:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:30:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:30:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:30:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:30:14] Production.INFO: call_cost start
[2025-01-07 01:30:14] Production.INFO: call_cost end
[2025-01-07 01:30:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:30:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:30:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:30:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:30:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:30:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:30:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:30:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:30:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:30:14] Production.INFO: ==18690== Releasing lock...
[2025-01-07 01:30:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:30:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:30:18] Production.INFO: count ==185
[2025-01-07 01:30:18] Production.ERROR: pbx CDR StartTime 2025-01-06 22:30:05 - End Time 2025-01-07 01:30:05
[2025-01-07 01:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191542', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191542', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191542', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191542', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:30:18] Production.INFO: ProcessCDR(1,14191542,1,1,2)
[2025-01-07 01:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191542,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191542,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191542,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191542,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191542', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191542', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:30:22] Production.INFO: ==18698== Releasing lock...
[2025-01-07 01:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:30:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 06:31:01] Production.INFO: ==18765== Lock acquired, processing the job...
[2025-01-07 06:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:31:01] Production.INFO: neon service started
[2025-01-07 06:31:01] Production.INFO: neon service started
[2025-01-07 06:31:01] Production.INFO: ==18765== Releasing lock...
[2025-01-07 06:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:31:02] Production.INFO: ==18767== Lock acquired, processing the job...
[2025-01-07 01:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:31:02] Production.INFO: ==18767== Releasing lock...
[2025-01-07 01:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:31:02] Production.INFO: ==18769== Lock acquired, processing the job...
[2025-01-07 06:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:31:02] Production.INFO: ==18769== Releasing lock...
[2025-01-07 06:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:31:02] Production.INFO: 26 MB #Memory Used#
[2025-01-07 01:31:03] Production.INFO: ==18771== Lock acquired, processing the job...
[2025-01-07 01:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:31:03] Production.INFO: ==18775== Lock acquired, processing the job...
[2025-01-07 01:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:31:03] Production.INFO: ==18779== Lock acquired, processing the job...
[2025-01-07 01:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:31:03] Production.INFO: ==18773== Lock acquired, processing the job...
[2025-01-07 01:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:31:03] Production.INFO: ==18777== Lock acquired, processing the job...
[2025-01-07 01:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:31:03] Production.INFO: ==18781== Lock acquired, processing the job...
[2025-01-07 01:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:31:03] Production.INFO: Account Balance Start.
[2025-01-07 01:31:03] Production.INFO: CreateAllLog Start
[2025-01-07 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-07 01:31:03] Production.INFO: 117
[2025-01-07 01:31:03] Production.INFO: Date 2024-12-08
[2025-01-07 01:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:31:03] Production.INFO: count ==21
[2025-01-07 01:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:31:03] Production.INFO: count ==21
[2025-01-07 01:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191547') start
[2025-01-07 01:31:03] Production.INFO: Date 2024-12-09
[2025-01-07 01:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:31:03] Production.INFO: ==18773== Releasing lock...
[2025-01-07 01:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:31:03] Production.ERROR: done
[2025-01-07 01:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191547') end
[2025-01-07 01:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:31:04] Production.INFO: 1
[2025-01-07 01:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:31:04] Production.INFO: Date 2024-12-10
[2025-01-07 01:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:31:04] Production.INFO: ==18781== Releasing lock...
[2025-01-07 01:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:31:04] Production.INFO: Date 2024-12-11
[2025-01-07 01:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:31:04] Production.ERROR: done
[2025-01-07 01:31:04] Production.INFO: Date 2024-12-12
[2025-01-07 01:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:31:04] Production.INFO: Date 2024-12-13
[2025-01-07 01:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:31:04] Production.INFO: Date 2024-12-14
[2025-01-07 01:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:31:04] Production.INFO: Date 2024-12-15
[2025-01-07 01:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:31:04] Production.INFO: Date 2024-12-16
[2025-01-07 01:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:31:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:31:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:31:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:31:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:31:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:31:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:31:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:31:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:31:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:31:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:31:04] Production.INFO: Date 2024-12-27
[2025-01-07 01:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:31:04] Production.INFO: Date 2024-12-28
[2025-01-07 01:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:31:05] Production.INFO: Date 2024-12-29
[2025-01-07 01:31:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:31:05] Production.INFO: Date 2024-12-30
[2025-01-07 01:31:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:31:05] Production.INFO: Date 2024-12-31
[2025-01-07 01:31:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:31:05] Production.INFO: Date 2025-01-01
[2025-01-07 01:31:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:31:05] Production.INFO: Date 2025-01-02
[2025-01-07 01:31:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:31:05
[end_date_ymd] => 2025-01-07 01:31:05
[RateCDR] => 1
)
[2025-01-07 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-06 22:31:05' and `end` < '2025-01-07 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-07 01:31:05] Production.INFO: Date 2025-01-03
[2025-01-07 01:31:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:31:05] Production.INFO: Date 2025-01-04
[2025-01-07 01:31:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:31:05] Production.INFO: Date 2025-01-05
[2025-01-07 01:31:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:31:05] Production.INFO: Date 2025-01-06
[2025-01-07 01:31:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:31:05] Production.INFO: Date 2025-01-07
[2025-01-07 01:31:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:31:05] Production.INFO: Total Charge 0
[2025-01-07 01:31:05] Production.INFO: CreateAllLog End
[2025-01-07 01:31:05] Production.INFO: Account Balance End.
[2025-01-07 01:31:05] Production.ERROR: CronJobId end 12
[2025-01-07 01:31:05] Production.INFO: ==18777== Releasing lock...
[2025-01-07 01:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:31:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:31:10] Production.ERROR: CronJobId end10
[2025-01-07 01:31:10] Production.INFO: ==18775== Releasing lock...
[2025-01-07 01:31:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:31:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:31:12] Production.INFO: call_cost start
[2025-01-07 01:31:12] Production.INFO: call_cost end
[2025-01-07 01:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:31:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:31:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:31:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:31:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:31:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:31:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:31:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:31:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:31:13] Production.INFO: ==18771== Releasing lock...
[2025-01-07 01:31:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:31:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:31:20] Production.INFO: count ==185
[2025-01-07 01:31:20] Production.ERROR: pbx CDR StartTime 2025-01-06 22:31:05 - End Time 2025-01-07 01:31:05
[2025-01-07 01:31:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191548', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191548', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191548', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191548', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:31:20] Production.INFO: ProcessCDR(1,14191548,1,1,2)
[2025-01-07 01:31:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191548,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:31:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191548,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:31:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191548,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:31:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191548,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191548', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191548', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:31:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:31:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:31:23] Production.INFO: ==18779== Releasing lock...
[2025-01-07 01:31:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:31:23] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 06:32:01] Production.INFO: ==18843== Lock acquired, processing the job...
[2025-01-07 06:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:32:01] Production.INFO: neon service started
[2025-01-07 06:32:01] Production.INFO: neon service started
[2025-01-07 06:32:01] Production.INFO: ==18843== Releasing lock...
[2025-01-07 06:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:32:01] Production.INFO: ==18845== Lock acquired, processing the job...
[2025-01-07 01:32:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:32:01] Production.INFO: ==18847== Lock acquired, processing the job...
[2025-01-07 06:32:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:32:02] Production.INFO: ==18847== Releasing lock...
[2025-01-07 06:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:32:02] Production.INFO: ==18845== Releasing lock...
[2025-01-07 01:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:32:03] Production.INFO: ==18852== Lock acquired, processing the job...
[2025-01-07 01:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:32:03] Production.INFO: ==18858== Lock acquired, processing the job...
[2025-01-07 01:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:32:03] Production.INFO: ==18850== Lock acquired, processing the job...
[2025-01-07 01:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:32:03] Production.INFO: ==18852== Releasing lock...
[2025-01-07 01:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:32:03] Production.INFO: ==18856== Lock acquired, processing the job...
[2025-01-07 01:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:32:03] Production.INFO: ==18854== Lock acquired, processing the job...
[2025-01-07 01:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:32:03] Production.INFO: ==18860== Lock acquired, processing the job...
[2025-01-07 01:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:32:03] Production.INFO: Account Balance Start.
[2025-01-07 01:32:03] Production.INFO: CreateAllLog Start
[2025-01-07 01:32:03] Production.ERROR: done
[2025-01-07 01:32:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:32:03] Production.INFO: 117
[2025-01-07 01:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 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-07 01:32:03] Production.INFO: Date 2024-12-08
[2025-01-07 01:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:32:03] Production.INFO: count ==21
[2025-01-07 01:32:03] Production.ERROR: done
[2025-01-07 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-07 01:32:03] Production.INFO: count ==21
[2025-01-07 01:32:03] Production.INFO: Date 2024-12-09
[2025-01-07 01:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191552') start
[2025-01-07 01:32:03] Production.INFO: Date 2024-12-10
[2025-01-07 01:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:32:03] Production.INFO: Date 2024-12-11
[2025-01-07 01:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191552') end
[2025-01-07 01:32:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:32:03] Production.INFO: 1
[2025-01-07 01:32:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:32:03] Production.INFO: Date 2024-12-12
[2025-01-07 01:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:32:03] Production.INFO: Date 2024-12-13
[2025-01-07 01:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:32:03] Production.INFO: Date 2024-12-14
[2025-01-07 01:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:32:03] Production.INFO: Date 2024-12-15
[2025-01-07 01:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:32:03] Production.INFO: ==18860== Releasing lock...
[2025-01-07 01:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:32:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:32:03] Production.INFO: Date 2024-12-16
[2025-01-07 01:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:32:03] Production.INFO: Date 2024-12-17
[2025-01-07 01:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:32:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:32:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:32:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:32:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:32:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:32:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:32:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:32:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:32:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:32:04] Production.INFO: Date 2024-12-27
[2025-01-07 01:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:32:04] Production.INFO: Date 2024-12-28
[2025-01-07 01:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:32:04] Production.INFO: Date 2024-12-29
[2025-01-07 01:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:32:04] Production.INFO: Date 2024-12-30
[2025-01-07 01:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:32:04] Production.INFO: Date 2024-12-31
[2025-01-07 01:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:32:04] Production.INFO: Date 2025-01-01
[2025-01-07 01:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:32:04] Production.INFO: Date 2025-01-02
[2025-01-07 01:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:32:04] Production.INFO: Date 2025-01-03
[2025-01-07 01:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:32:04] Production.INFO: Date 2025-01-04
[2025-01-07 01:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:32:04] Production.INFO: Date 2025-01-05
[2025-01-07 01:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:32:04] Production.INFO: Date 2025-01-06
[2025-01-07 01:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:32:04] Production.INFO: Date 2025-01-07
[2025-01-07 01:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:32:04] Production.INFO: Total Charge 0
[2025-01-07 01:32:04] Production.INFO: CreateAllLog End
[2025-01-07 01:32:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:32:04
[end_date_ymd] => 2025-01-07 01:32:04
[RateCDR] => 1
)
[2025-01-07 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-06 22:32:04' and `end` < '2025-01-07 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-07 01:32:04] Production.INFO: Account Balance End.
[2025-01-07 01:32:04] Production.ERROR: CronJobId end 12
[2025-01-07 01:32:04] Production.INFO: ==18856== Releasing lock...
[2025-01-07 01:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:32:09] Production.ERROR: CronJobId end10
[2025-01-07 01:32:09] Production.INFO: ==18854== Releasing lock...
[2025-01-07 01:32:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:32:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:32:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:32:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:32:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:32:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:32:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:32:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:32:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:32:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:32:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:32:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:32:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:32:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:32:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:32:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:32:12] Production.INFO: call_cost start
[2025-01-07 01:32:12] Production.INFO: call_cost end
[2025-01-07 01:32:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:32:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:32:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:32:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:32:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:32:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:32:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:32:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:32:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:32:13] Production.INFO: ==18850== Releasing lock...
[2025-01-07 01:32:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:32:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:32:17] Production.INFO: count ==185
[2025-01-07 01:32:17] Production.ERROR: pbx CDR StartTime 2025-01-06 22:32:04 - End Time 2025-01-07 01:32:04
[2025-01-07 01:32:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191553', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191553', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191553', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191553', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:32:17] Production.INFO: ProcessCDR(1,14191553,1,1,2)
[2025-01-07 01:32:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191553,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:32:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191553,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:32:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191553,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:32:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191553,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:32:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191553', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:32:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191553', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:32:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:32:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:32:20] Production.INFO: ==18858== Releasing lock...
[2025-01-07 01:32:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:32:20] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 06:33:01] Production.INFO: ==18917== Lock acquired, processing the job...
[2025-01-07 06:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:33:01] Production.INFO: neon service started
[2025-01-07 06:33:01] Production.INFO: neon service started
[2025-01-07 06:33:01] Production.INFO: ==18917== Releasing lock...
[2025-01-07 06:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:33:02] Production.INFO: ==18919== Lock acquired, processing the job...
[2025-01-07 01:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:33:02] Production.INFO: ==18921== Lock acquired, processing the job...
[2025-01-07 06:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:33:02] Production.INFO: ==18921== Releasing lock...
[2025-01-07 06:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:33:02] Production.INFO: ==18919== Releasing lock...
[2025-01-07 01:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:33:03] Production.INFO: ==18924== Lock acquired, processing the job...
[2025-01-07 01:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:33:03] Production.INFO: ==18926== Lock acquired, processing the job...
[2025-01-07 01:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:33:03] Production.INFO: ==18932== Lock acquired, processing the job...
[2025-01-07 01:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:33:03] Production.INFO: ==18928== Lock acquired, processing the job...
[2025-01-07 01:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:33:03] Production.INFO: ==18930== Lock acquired, processing the job...
[2025-01-07 01:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:33:03] Production.INFO: ==18934== Lock acquired, processing the job...
[2025-01-07 01:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:33:03] Production.INFO: ==18926== Releasing lock...
[2025-01-07 01:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:33:03] Production.ERROR: done
[2025-01-07 01:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 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-07 01:33:04] Production.INFO: Account Balance Start.
[2025-01-07 01:33:04] Production.INFO: CreateAllLog Start
[2025-01-07 01:33:04] Production.INFO: 117
[2025-01-07 01:33:04] Production.INFO: Date 2024-12-08
[2025-01-07 01:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:33:04] Production.INFO: count ==21
[2025-01-07 01:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:33:04] Production.INFO: count ==21
[2025-01-07 01:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191556') start
[2025-01-07 01:33:04] Production.ERROR: done
[2025-01-07 01:33:04] Production.INFO: Date 2024-12-09
[2025-01-07 01:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:33:04] Production.INFO: Date 2024-12-10
[2025-01-07 01:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:33:04] Production.INFO: Date 2024-12-11
[2025-01-07 01:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:33:04] Production.INFO: Date 2024-12-12
[2025-01-07 01:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:33:04] Production.INFO: Date 2024-12-13
[2025-01-07 01:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191556') end
[2025-01-07 01:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:33:04] Production.INFO: 1
[2025-01-07 01:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:33:04] Production.INFO: ==18934== Releasing lock...
[2025-01-07 01:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:33:04] Production.INFO: Date 2024-12-14
[2025-01-07 01:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:33:04] Production.INFO: Date 2024-12-15
[2025-01-07 01:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:33:04] Production.INFO: Date 2024-12-16
[2025-01-07 01:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:33:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:33:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:33:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:33:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:33:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:33:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:33:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:33:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:33:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:33:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:33:04] Production.INFO: Date 2024-12-27
[2025-01-07 01:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:33:04] Production.INFO: Date 2024-12-28
[2025-01-07 01:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:33:04] Production.INFO: Date 2024-12-29
[2025-01-07 01:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:33:04] Production.INFO: Date 2024-12-30
[2025-01-07 01:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:33:04] Production.INFO: Date 2024-12-31
[2025-01-07 01:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:33:04] Production.INFO: Date 2025-01-01
[2025-01-07 01:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:33:04] Production.INFO: Date 2025-01-02
[2025-01-07 01:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:33:04] Production.INFO: Date 2025-01-03
[2025-01-07 01:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:33:04] Production.INFO: Date 2025-01-04
[2025-01-07 01:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:33:04] Production.INFO: Date 2025-01-05
[2025-01-07 01:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:33:04] Production.INFO: Date 2025-01-06
[2025-01-07 01:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:33:04] Production.INFO: Date 2025-01-07
[2025-01-07 01:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:33:04] Production.INFO: Total Charge 0
[2025-01-07 01:33:05] Production.INFO: CreateAllLog End
[2025-01-07 01:33:05] Production.INFO: Account Balance End.
[2025-01-07 01:33:05] Production.ERROR: CronJobId end 12
[2025-01-07 01:33:05] Production.INFO: ==18930== Releasing lock...
[2025-01-07 01:33:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:33:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:33:05
[end_date_ymd] => 2025-01-07 01:33:05
[RateCDR] => 1
)
[2025-01-07 01:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 22:33:05' and `end` < '2025-01-07 01:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 01:33:11] Production.ERROR: CronJobId end10
[2025-01-07 01:33:11] Production.INFO: ==18928== Releasing lock...
[2025-01-07 01:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:33:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:33:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:33:13] Production.INFO: call_cost start
[2025-01-07 01:33:13] Production.INFO: call_cost end
[2025-01-07 01:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:33:14] Production.INFO: ==18924== Releasing lock...
[2025-01-07 01:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:33:19] Production.INFO: count ==185
[2025-01-07 01:33:19] Production.ERROR: pbx CDR StartTime 2025-01-06 22:33:05 - End Time 2025-01-07 01:33:05
[2025-01-07 01:33:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191558', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191558', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191558', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191558', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:33:19] Production.INFO: ProcessCDR(1,14191558,1,1,2)
[2025-01-07 01:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191558,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:33:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191558,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:33:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191558,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191558,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191558', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191558', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:33:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:33:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:33:22] Production.INFO: ==18932== Releasing lock...
[2025-01-07 01:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:33:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 06:34:02] Production.INFO: ==18995== Lock acquired, processing the job...
[2025-01-07 06:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:34:02] Production.INFO: neon service started
[2025-01-07 06:34:02] Production.INFO: neon service started
[2025-01-07 06:34:02] Production.INFO: ==18995== Releasing lock...
[2025-01-07 06:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:34:02] Production.INFO: ==18999== Lock acquired, processing the job...
[2025-01-07 06:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:34:02] Production.INFO: ==18999== Releasing lock...
[2025-01-07 06:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:34:02] Production.INFO: ==18997== Lock acquired, processing the job...
[2025-01-07 01:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:34:03] Production.INFO: ==18997== Releasing lock...
[2025-01-07 01:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:34:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:34:03] Production.INFO: ==19002== Lock acquired, processing the job...
[2025-01-07 01:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:34:03] Production.INFO: ==19004== Lock acquired, processing the job...
[2025-01-07 01:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:34:03] Production.INFO: ==19006== Lock acquired, processing the job...
[2025-01-07 01:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:34:04] Production.INFO: ==19008== Lock acquired, processing the job...
[2025-01-07 01:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:34:04] Production.INFO: ==19010== Lock acquired, processing the job...
[2025-01-07 01:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:34:04] Production.INFO: ==19004== Releasing lock...
[2025-01-07 01:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:34:04] Production.INFO: ==19012== Lock acquired, processing the job...
[2025-01-07 01:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:34:04] Production.INFO: Account Balance Start.
[2025-01-07 01:34:04] Production.INFO: CreateAllLog Start
[2025-01-07 01:34:04] Production.INFO: 117
[2025-01-07 01:34:04] Production.INFO: Date 2024-12-08
[2025-01-07 01:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:34:04] Production.INFO: Date 2024-12-09
[2025-01-07 01:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:34:04] Production.INFO: Date 2024-12-10
[2025-01-07 01:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:34:04] Production.INFO: Date 2024-12-11
[2025-01-07 01:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:34:04] Production.INFO: Date 2024-12-12
[2025-01-07 01:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:34:04] Production.INFO: Date 2024-12-13
[2025-01-07 01:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 01:34:04] Production.INFO: Date 2024-12-14
[2025-01-07 01:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:34:04] Production.INFO: count ==21
[2025-01-07 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-07 01:34:04] Production.INFO: count ==21
[2025-01-07 01:34:04] Production.ERROR: done
[2025-01-07 01:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191562') start
[2025-01-07 01:34:04] Production.INFO: Date 2024-12-15
[2025-01-07 01:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:34:04] Production.INFO: Date 2024-12-16
[2025-01-07 01:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:34:04] Production.ERROR: done
[2025-01-07 01:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191562') end
[2025-01-07 01:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:34:04] Production.INFO: 1
[2025-01-07 01:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:34:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:34:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:34:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:34:05] Production.INFO: ==19012== Releasing lock...
[2025-01-07 01:34:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:34:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:34:05] Production.INFO: Date 2024-12-20
[2025-01-07 01:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:34:05] Production.INFO: Date 2024-12-21
[2025-01-07 01:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:34:05] Production.INFO: Date 2024-12-22
[2025-01-07 01:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:34:05] Production.INFO: Date 2024-12-23
[2025-01-07 01:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:34:05] Production.INFO: Date 2024-12-24
[2025-01-07 01:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:34:05] Production.INFO: Date 2024-12-25
[2025-01-07 01:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:34:05] Production.INFO: Date 2024-12-26
[2025-01-07 01:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:34:05] Production.INFO: Date 2024-12-27
[2025-01-07 01:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:34:05] Production.INFO: Date 2024-12-28
[2025-01-07 01:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:34:05] Production.INFO: Date 2024-12-29
[2025-01-07 01:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:34:05] Production.INFO: Date 2024-12-30
[2025-01-07 01:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:34:05] Production.INFO: Date 2024-12-31
[2025-01-07 01:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:34:05] Production.INFO: Date 2025-01-01
[2025-01-07 01:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:34:05] Production.INFO: Date 2025-01-02
[2025-01-07 01:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:34:05] Production.INFO: Date 2025-01-03
[2025-01-07 01:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:34:05
[end_date_ymd] => 2025-01-07 01:34:05
[RateCDR] => 1
)
[2025-01-07 01:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 22:34:05' and `end` < '2025-01-07 01:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 01:34:05] Production.INFO: Date 2025-01-04
[2025-01-07 01:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:34:05] Production.INFO: Date 2025-01-05
[2025-01-07 01:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:34:05] Production.INFO: Date 2025-01-06
[2025-01-07 01:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:34:05] Production.INFO: Date 2025-01-07
[2025-01-07 01:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:34:05] Production.INFO: Total Charge 0
[2025-01-07 01:34:05] Production.INFO: CreateAllLog End
[2025-01-07 01:34:05] Production.INFO: Account Balance End.
[2025-01-07 01:34:06] Production.ERROR: CronJobId end 12
[2025-01-07 01:34:06] Production.INFO: ==19008== Releasing lock...
[2025-01-07 01:34:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:34:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:34:11] Production.ERROR: CronJobId end10
[2025-01-07 01:34:11] Production.INFO: ==19006== Releasing lock...
[2025-01-07 01:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:34:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:34:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:34:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:34:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:34:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:34:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:34:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:34:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:34:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:34:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:34:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:34:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:34:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:34:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:34:12] Production.INFO: call_cost start
[2025-01-07 01:34:12] Production.INFO: call_cost end
[2025-01-07 01:34:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:34:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:34:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:34:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:34:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:34:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:34:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:34:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:34:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:34:13] Production.INFO: ==19002== Releasing lock...
[2025-01-07 01:34:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:34:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:34:18] Production.INFO: count ==185
[2025-01-07 01:34:18] Production.ERROR: pbx CDR StartTime 2025-01-06 22:34:05 - End Time 2025-01-07 01:34:05
[2025-01-07 01:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191563', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191563', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191563', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191563', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:34:18] Production.INFO: ProcessCDR(1,14191563,1,1,2)
[2025-01-07 01:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191563,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191563,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191563,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191563,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191563', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191563', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:34:21] Production.INFO: ==19010== Releasing lock...
[2025-01-07 01:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:34:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 06:35:01] Production.INFO: ==19068== Lock acquired, processing the job...
[2025-01-07 06:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:35:01] Production.INFO: neon service started
[2025-01-07 06:35:01] Production.INFO: neon service started
[2025-01-07 06:35:01] Production.INFO: ==19068== Releasing lock...
[2025-01-07 06:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:35:01] Production.INFO: ==19070== Lock acquired, processing the job...
[2025-01-07 01:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:35:02] Production.INFO: ==19070== Releasing lock...
[2025-01-07 01:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:35:02] Production.INFO: ==19072== Lock acquired, processing the job...
[2025-01-07 06:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:35:02] Production.INFO: ==19072== Releasing lock...
[2025-01-07 06:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:35:02] Production.INFO: ==19076== Lock acquired, processing the job...
[2025-01-07 01:35:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:35:03] Production.INFO: ==19074== Lock acquired, processing the job...
[2025-01-07 01:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:35:03] Production.INFO: ==19084== Lock acquired, processing the job...
[2025-01-07 01:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:35:03] Production.INFO: ==19078== Lock acquired, processing the job...
[2025-01-07 01:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:35:03] Production.INFO: ==19080== Lock acquired, processing the job...
[2025-01-07 01:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:35:03] Production.INFO: ==19082== Lock acquired, processing the job...
[2025-01-07 01:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:35:03] Production.INFO: Account Balance Start.
[2025-01-07 01:35:03] Production.INFO: CreateAllLog Start
[2025-01-07 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-07 01:35:03] Production.INFO: 117
[2025-01-07 01:35:03] Production.INFO: ==19076== Releasing lock...
[2025-01-07 01:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:35:03] Production.INFO: Date 2024-12-08
[2025-01-07 01:35:03] Production.INFO: count ==21
[2025-01-07 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-07 01:35:03] Production.INFO: count ==21
[2025-01-07 01:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191566') start
[2025-01-07 01:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:35:03] Production.INFO: Date 2024-12-09
[2025-01-07 01:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:35:03] Production.INFO: Date 2024-12-10
[2025-01-07 01:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:35:03] Production.INFO: Date 2024-12-11
[2025-01-07 01:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:35:03] Production.INFO: Date 2024-12-12
[2025-01-07 01:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:35:03] Production.INFO: Date 2024-12-13
[2025-01-07 01:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191566') end
[2025-01-07 01:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:35:03] Production.INFO: 1
[2025-01-07 01:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:35:03] Production.INFO: Date 2024-12-14
[2025-01-07 01:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:35:03] Production.INFO: Date 2024-12-15
[2025-01-07 01:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:35:03] Production.INFO: Date 2024-12-16
[2025-01-07 01:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:35:03] Production.INFO: Date 2024-12-17
[2025-01-07 01:35:03] Production.INFO: ==19084== Releasing lock...
[2025-01-07 01:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:35:03] Production.ERROR: done
[2025-01-07 01:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:35:03] Production.INFO: Date 2024-12-18
[2025-01-07 01:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:35:03] Production.INFO: Date 2024-12-19
[2025-01-07 01:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:35:03] Production.INFO: Date 2024-12-20
[2025-01-07 01:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:35:03] Production.ERROR: done
[2025-01-07 01:35:03] Production.INFO: Date 2024-12-21
[2025-01-07 01:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:35:03] Production.INFO: Date 2024-12-22
[2025-01-07 01:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:35:03] Production.INFO: Date 2024-12-23
[2025-01-07 01:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:35:03] Production.INFO: Date 2024-12-24
[2025-01-07 01:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:35:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:35:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:35:04] Production.INFO: Date 2024-12-27
[2025-01-07 01:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:35:04] Production.INFO: Date 2024-12-28
[2025-01-07 01:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:35:04] Production.INFO: Date 2024-12-29
[2025-01-07 01:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:35:04] Production.INFO: Date 2024-12-30
[2025-01-07 01:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:35:04] Production.INFO: Date 2024-12-31
[2025-01-07 01:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:35:04] Production.INFO: Date 2025-01-01
[2025-01-07 01:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:35:04] Production.INFO: Date 2025-01-02
[2025-01-07 01:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:35:04] Production.INFO: Date 2025-01-03
[2025-01-07 01:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:35:04] Production.INFO: Date 2025-01-04
[2025-01-07 01:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:35:04] Production.INFO: Date 2025-01-05
[2025-01-07 01:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:35:04] Production.INFO: Date 2025-01-06
[2025-01-07 01:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:35:04] Production.INFO: Date 2025-01-07
[2025-01-07 01:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:35:04] Production.INFO: Total Charge 0
[2025-01-07 01:35:04] Production.INFO: CreateAllLog End
[2025-01-07 01:35:04] Production.INFO: Account Balance End.
[2025-01-07 01:35:04] Production.ERROR: CronJobId end 12
[2025-01-07 01:35:04] Production.INFO: ==19080== Releasing lock...
[2025-01-07 01:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:35:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:35:04
[end_date_ymd] => 2025-01-07 01:35:04
[RateCDR] => 1
)
[2025-01-07 01:35:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 22:35:04' and `end` < '2025-01-07 01:35:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 01:35:11] Production.ERROR: CronJobId end10
[2025-01-07 01:35:11] Production.INFO: ==19078== Releasing lock...
[2025-01-07 01:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:35:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:35:11] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:35:11] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:35:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:35:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:35:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:35:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:35:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:35:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:35:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:35:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:35:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:35:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:35:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:35:12] Production.INFO: call_cost start
[2025-01-07 01:35:12] Production.INFO: call_cost end
[2025-01-07 01:35:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:35:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:35:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:35:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:35:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:35:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:35:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:35:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:35:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:35:13] Production.INFO: ==19074== Releasing lock...
[2025-01-07 01:35:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:35:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:35:17] Production.INFO: count ==182
[2025-01-07 01:35:17] Production.ERROR: pbx CDR StartTime 2025-01-06 22:35:04 - End Time 2025-01-07 01:35:04
[2025-01-07 01:35:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191568', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191568', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191568', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191568', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:35:17] Production.INFO: ProcessCDR(1,14191568,1,1,2)
[2025-01-07 01:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191568,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:35:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191568,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:35:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191568,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:35:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191568,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191568', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191568', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:35:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:35:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:35:20] Production.INFO: ==19082== Releasing lock...
[2025-01-07 01:35:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:35:20] Production.INFO: 29 MB #Memory Used#
[2025-01-07 06:36:02] Production.INFO: ==19140== Lock acquired, processing the job...
[2025-01-07 06:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:36:02] Production.INFO: neon service started
[2025-01-07 06:36:02] Production.INFO: neon service started
[2025-01-07 06:36:02] Production.INFO: ==19140== Releasing lock...
[2025-01-07 06:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:36:02] Production.INFO: ==19142== Lock acquired, processing the job...
[2025-01-07 01:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:36:02] Production.INFO: ==19144== Lock acquired, processing the job...
[2025-01-07 06:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:36:02] Production.INFO: ==19144== Releasing lock...
[2025-01-07 06:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:36:03] Production.INFO: ==19142== Releasing lock...
[2025-01-07 01:36:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:36:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:36:03] Production.INFO: ==19147== Lock acquired, processing the job...
[2025-01-07 01:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:36:03] Production.INFO: ==19151== Lock acquired, processing the job...
[2025-01-07 01:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:36:03] Production.INFO: ==19149== Lock acquired, processing the job...
[2025-01-07 01:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:36:04] Production.INFO: ==19153== Lock acquired, processing the job...
[2025-01-07 01:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:36:04] Production.INFO: ==19155== Lock acquired, processing the job...
[2025-01-07 01:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:36:04] Production.INFO: ==19157== Lock acquired, processing the job...
[2025-01-07 01:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:36:04] Production.INFO: Account Balance Start.
[2025-01-07 01:36:04] Production.INFO: CreateAllLog Start
[2025-01-07 01:36:04] Production.INFO: 117
[2025-01-07 01:36:04] Production.INFO: Date 2024-12-08
[2025-01-07 01:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:36:04] Production.INFO: Date 2024-12-09
[2025-01-07 01:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:36:04] Production.INFO: Date 2024-12-10
[2025-01-07 01:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:36:04] Production.INFO: Date 2024-12-11
[2025-01-07 01:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 01:36:04] Production.INFO: Date 2024-12-12
[2025-01-07 01:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:36:04] Production.INFO: Date 2024-12-13
[2025-01-07 01:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:36:04] Production.INFO: count ==21
[2025-01-07 01:36:04] Production.INFO: Date 2024-12-14
[2025-01-07 01:36:04] Production.INFO: ==19149== Releasing lock...
[2025-01-07 01:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 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-07 01:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:36:04] Production.ERROR: done
[2025-01-07 01:36:04] Production.INFO: count ==21
[2025-01-07 01:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:36:04] Production.INFO: Date 2024-12-15
[2025-01-07 01:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:36:04] Production.INFO: Date 2024-12-16
[2025-01-07 01:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191572') start
[2025-01-07 01:36:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:36:04] Production.ERROR: done
[2025-01-07 01:36:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:36:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:36:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191572') end
[2025-01-07 01:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:36:04] Production.INFO: 1
[2025-01-07 01:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:36:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:36:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:36:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:36:04] Production.INFO: ==19157== Releasing lock...
[2025-01-07 01:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:36:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:36:05] Production.INFO: Date 2024-12-25
[2025-01-07 01:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:36:05] Production.INFO: Date 2024-12-26
[2025-01-07 01:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:36:05] Production.INFO: Date 2024-12-27
[2025-01-07 01:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:36:05] Production.INFO: Date 2024-12-28
[2025-01-07 01:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:36:05] Production.INFO: Date 2024-12-29
[2025-01-07 01:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:36:05] Production.INFO: Date 2024-12-30
[2025-01-07 01:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:36:05] Production.INFO: Date 2024-12-31
[2025-01-07 01:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:36:05] Production.INFO: Date 2025-01-01
[2025-01-07 01:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:36:05] Production.INFO: Date 2025-01-02
[2025-01-07 01:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:36:05] Production.INFO: Date 2025-01-03
[2025-01-07 01:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:36:05] Production.INFO: Date 2025-01-04
[2025-01-07 01:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:36:05] Production.INFO: Date 2025-01-05
[2025-01-07 01:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:36:05] Production.INFO: Date 2025-01-06
[2025-01-07 01:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:36:05] Production.INFO: Date 2025-01-07
[2025-01-07 01:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:36:05] Production.INFO: Total Charge 0
[2025-01-07 01:36:05] Production.INFO: CreateAllLog End
[2025-01-07 01:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:36:05
[end_date_ymd] => 2025-01-07 01:36:05
[RateCDR] => 1
)
[2025-01-07 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-06 22:36:05' and `end` < '2025-01-07 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-07 01:36:05] Production.INFO: Account Balance End.
[2025-01-07 01:36:05] Production.ERROR: CronJobId end 12
[2025-01-07 01:36:05] Production.INFO: ==19153== Releasing lock...
[2025-01-07 01:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:36:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:36:10] Production.ERROR: CronJobId end10
[2025-01-07 01:36:10] Production.INFO: ==19151== Releasing lock...
[2025-01-07 01:36:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:36:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:36:13] Production.INFO: call_cost start
[2025-01-07 01:36:13] Production.INFO: call_cost end
[2025-01-07 01:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:36:14] Production.INFO: ==19147== Releasing lock...
[2025-01-07 01:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:36:19] Production.INFO: count ==180
[2025-01-07 01:36:19] Production.ERROR: pbx CDR StartTime 2025-01-06 22:36:05 - End Time 2025-01-07 01:36:05
[2025-01-07 01:36:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191573', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191573', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191573', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191573', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:36:19] Production.INFO: ProcessCDR(1,14191573,1,1,2)
[2025-01-07 01:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191573,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191573,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191573,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191573,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191573', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191573', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:36:22] Production.INFO: ==19155== Releasing lock...
[2025-01-07 01:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:36:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 06:37:01] Production.INFO: ==19211== Lock acquired, processing the job...
[2025-01-07 06:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:37:01] Production.INFO: neon service started
[2025-01-07 06:37:01] Production.INFO: neon service started
[2025-01-07 06:37:01] Production.INFO: ==19211== Releasing lock...
[2025-01-07 06:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:37:02] Production.INFO: ==19213== Lock acquired, processing the job...
[2025-01-07 01:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:37:02] Production.INFO: ==19215== Lock acquired, processing the job...
[2025-01-07 06:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:37:02] Production.INFO: ==19215== Releasing lock...
[2025-01-07 06:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:37:02] Production.INFO: ==19213== Releasing lock...
[2025-01-07 01:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:37:03] Production.INFO: ==19218== Lock acquired, processing the job...
[2025-01-07 01:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:37:03] Production.INFO: ==19222== Lock acquired, processing the job...
[2025-01-07 01:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:37:03] Production.INFO: ==19226== Lock acquired, processing the job...
[2025-01-07 01:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:37:03] Production.INFO: ==19220== Lock acquired, processing the job...
[2025-01-07 01:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:37:03] Production.INFO: ==19224== Lock acquired, processing the job...
[2025-01-07 01:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:37:03] Production.INFO: ==19228== Lock acquired, processing the job...
[2025-01-07 01:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:37:03] Production.INFO: Account Balance Start.
[2025-01-07 01:37:03] Production.INFO: CreateAllLog Start
[2025-01-07 01:37:03] Production.INFO: 117
[2025-01-07 01:37:03] Production.ERROR: done
[2025-01-07 01:37:03] Production.INFO: Date 2024-12-08
[2025-01-07 01:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 01:37:03] Production.INFO: count ==21
[2025-01-07 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-07 01:37:03] Production.INFO: count ==21
[2025-01-07 01:37:03] Production.ERROR: done
[2025-01-07 01:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191577') start
[2025-01-07 01:37:03] Production.INFO: Date 2024-12-09
[2025-01-07 01:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:37:04] Production.INFO: ==19220== Releasing lock...
[2025-01-07 01:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:37:04] Production.INFO: Date 2024-12-10
[2025-01-07 01:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191577') end
[2025-01-07 01:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:37:04] Production.INFO: 1
[2025-01-07 01:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:37:04] Production.INFO: Date 2024-12-11
[2025-01-07 01:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:37:04] Production.INFO: ==19228== Releasing lock...
[2025-01-07 01:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:37:04] Production.INFO: Date 2024-12-12
[2025-01-07 01:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:37:04] Production.INFO: Date 2024-12-13
[2025-01-07 01:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:37:04] Production.INFO: Date 2024-12-14
[2025-01-07 01:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:37:04] Production.INFO: Date 2024-12-15
[2025-01-07 01:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:37:04] Production.INFO: Date 2024-12-16
[2025-01-07 01:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:37:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:37:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:37:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:37:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:37:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:37:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:37:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:37:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:37:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:37:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:37:04] Production.INFO: Date 2024-12-27
[2025-01-07 01:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:37:04] Production.INFO: Date 2024-12-28
[2025-01-07 01:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:37:04] Production.INFO: Date 2024-12-29
[2025-01-07 01:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:37:04] Production.INFO: Date 2024-12-30
[2025-01-07 01:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:37:04] Production.INFO: Date 2024-12-31
[2025-01-07 01:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:37:04] Production.INFO: Date 2025-01-01
[2025-01-07 01:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:37:04] Production.INFO: Date 2025-01-02
[2025-01-07 01:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:37:04] Production.INFO: Date 2025-01-03
[2025-01-07 01:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:37:04] Production.INFO: Date 2025-01-04
[2025-01-07 01:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:37:04] Production.INFO: Date 2025-01-05
[2025-01-07 01:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:37:04] Production.INFO: Date 2025-01-06
[2025-01-07 01:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:37:04] Production.INFO: Date 2025-01-07
[2025-01-07 01:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:37:04] Production.INFO: Total Charge 0
[2025-01-07 01:37:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:37:04
[end_date_ymd] => 2025-01-07 01:37:04
[RateCDR] => 1
)
[2025-01-07 01:37:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 22:37:04' and `end` < '2025-01-07 01:37:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 01:37:04] Production.INFO: CreateAllLog End
[2025-01-07 01:37:04] Production.INFO: Account Balance End.
[2025-01-07 01:37:05] Production.ERROR: CronJobId end 12
[2025-01-07 01:37:05] Production.INFO: ==19224== Releasing lock...
[2025-01-07 01:37:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:37:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:37:10] Production.ERROR: CronJobId end10
[2025-01-07 01:37:10] Production.INFO: ==19222== Releasing lock...
[2025-01-07 01:37:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:37:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:37:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:37:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:37:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:37:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:37:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:37:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:37:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:37:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:37:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:37:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:37:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:37:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:37:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:37:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:37:12] Production.INFO: call_cost start
[2025-01-07 01:37:12] Production.INFO: call_cost end
[2025-01-07 01:37:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:37:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:37:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:37:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:37:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:37:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:37:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:37:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:37:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:37:13] Production.INFO: ==19218== Releasing lock...
[2025-01-07 01:37:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:37:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:37:17] Production.INFO: count ==179
[2025-01-07 01:37:17] Production.ERROR: pbx CDR StartTime 2025-01-06 22:37:04 - End Time 2025-01-07 01:37:04
[2025-01-07 01:37:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191578', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191578', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191578', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191578', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:37:17] Production.INFO: ProcessCDR(1,14191578,1,1,2)
[2025-01-07 01:37:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191578,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:37:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191578,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:37:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191578,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:37:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191578,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:37:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191578', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:37:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191578', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:37:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:37:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:37:20] Production.INFO: ==19226== Releasing lock...
[2025-01-07 01:37:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:37:20] Production.INFO: 29 MB #Memory Used#
[2025-01-07 06:38:01] Production.INFO: ==19283== Lock acquired, processing the job...
[2025-01-07 06:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:38:01] Production.INFO: neon service started
[2025-01-07 06:38:01] Production.INFO: neon service started
[2025-01-07 06:38:01] Production.INFO: ==19283== Releasing lock...
[2025-01-07 06:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:38:02] Production.INFO: ==19285== Lock acquired, processing the job...
[2025-01-07 01:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:38:02] Production.INFO: ==19287== Lock acquired, processing the job...
[2025-01-07 06:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:38:02] Production.INFO: ==19287== Releasing lock...
[2025-01-07 06:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:38:02] Production.INFO: ==19285== Releasing lock...
[2025-01-07 01:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:38:03] Production.INFO: ==19290== Lock acquired, processing the job...
[2025-01-07 01:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:38:03] Production.INFO: ==19294== Lock acquired, processing the job...
[2025-01-07 01:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:38:03] Production.INFO: ==19296== Lock acquired, processing the job...
[2025-01-07 01:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:38:03] Production.INFO: Account Balance Start.
[2025-01-07 01:38:03] Production.INFO: CreateAllLog Start
[2025-01-07 01:38:03] Production.INFO: 117
[2025-01-07 01:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:38:03] Production.INFO: Date 2024-12-08
[2025-01-07 01:38:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:38:03] Production.INFO: Date 2024-12-09
[2025-01-07 01:38:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:38:03] Production.INFO: ==19292== Lock acquired, processing the job...
[2025-01-07 01:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:38:03] Production.INFO: Date 2024-12-10
[2025-01-07 01:38:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:38:03] Production.INFO: ==19298== Lock acquired, processing the job...
[2025-01-07 01:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:38:03] Production.INFO: Date 2024-12-11
[2025-01-07 01:38:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:38:04] Production.INFO: Date 2024-12-12
[2025-01-07 01:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:38:04] Production.INFO: Date 2024-12-13
[2025-01-07 01:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:38:04] Production.INFO: ==19300== Lock acquired, processing the job...
[2025-01-07 01:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:38:04] Production.INFO: Date 2024-12-14
[2025-01-07 01:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:38:04] Production.INFO: Date 2024-12-15
[2025-01-07 01:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:38:04] Production.ERROR: done
[2025-01-07 01:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:38:04] Production.INFO: ==19292== Releasing lock...
[2025-01-07 01:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:38:04] Production.INFO: Date 2024-12-16
[2025-01-07 01:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 01:38:04] Production.INFO: count ==21
[2025-01-07 01:38:04] Production.ERROR: done
[2025-01-07 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-07 01:38:04] Production.INFO: count ==21
[2025-01-07 01:38:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191582') start
[2025-01-07 01:38:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:38:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:38:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:38:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191582') end
[2025-01-07 01:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:38:04] Production.INFO: 1
[2025-01-07 01:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:38:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:38:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:38:04] Production.INFO: ==19300== Releasing lock...
[2025-01-07 01:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:38:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:38:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:38:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:38:04] Production.INFO: Date 2024-12-27
[2025-01-07 01:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:38:04] Production.INFO: Date 2024-12-28
[2025-01-07 01:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:38:05] Production.INFO: Date 2024-12-29
[2025-01-07 01:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:38:05] Production.INFO: Date 2024-12-30
[2025-01-07 01:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:38:05] Production.INFO: Date 2024-12-31
[2025-01-07 01:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:38:05] Production.INFO: Date 2025-01-01
[2025-01-07 01:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:38:05] Production.INFO: Date 2025-01-02
[2025-01-07 01:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:38:05] Production.INFO: Date 2025-01-03
[2025-01-07 01:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:38:05] Production.INFO: Date 2025-01-04
[2025-01-07 01:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:38:05] Production.INFO: Date 2025-01-05
[2025-01-07 01:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:38:05] Production.INFO: Date 2025-01-06
[2025-01-07 01:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:38:05] Production.INFO: Date 2025-01-07
[2025-01-07 01:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:38:05] Production.INFO: Total Charge 0
[2025-01-07 01:38:05] Production.INFO: CreateAllLog End
[2025-01-07 01:38:05] Production.INFO: Account Balance End.
[2025-01-07 01:38:05] Production.ERROR: CronJobId end 12
[2025-01-07 01:38:05] Production.INFO: ==19296== Releasing lock...
[2025-01-07 01:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:38:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:38:05
[end_date_ymd] => 2025-01-07 01:38:05
[RateCDR] => 1
)
[2025-01-07 01:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 22:38:05' and `end` < '2025-01-07 01:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 01:38:11] Production.ERROR: CronJobId end10
[2025-01-07 01:38:11] Production.INFO: ==19294== Releasing lock...
[2025-01-07 01:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:38:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:38:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:38:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:38:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:38:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:38:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:38:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:38:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:38:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:38:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:38:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:38:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:38:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:38:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:38:13] Production.INFO: call_cost start
[2025-01-07 01:38:13] Production.INFO: call_cost end
[2025-01-07 01:38:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:38:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:38:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:38:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:38:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:38:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:38:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:38:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:38:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:38:13] Production.INFO: ==19290== Releasing lock...
[2025-01-07 01:38:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:38:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:38:19] Production.INFO: count ==180
[2025-01-07 01:38:19] Production.ERROR: pbx CDR StartTime 2025-01-06 22:38:05 - End Time 2025-01-07 01:38:05
[2025-01-07 01:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191583', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191583', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191583', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191583', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:38:19] Production.INFO: ProcessCDR(1,14191583,1,1,2)
[2025-01-07 01:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191583,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:38:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191583,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:38:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191583,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:38:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191583,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191583', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191583', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:38:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:38:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:38:23] Production.INFO: ==19298== Releasing lock...
[2025-01-07 01:38:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:38:23] Production.INFO: 29 MB #Memory Used#
[2025-01-07 06:39:02] Production.INFO: ==19395== Lock acquired, processing the job...
[2025-01-07 06:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:39:02] Production.INFO: neon service started
[2025-01-07 06:39:02] Production.INFO: neon service started
[2025-01-07 06:39:02] Production.INFO: ==19395== Releasing lock...
[2025-01-07 06:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:39:02] Production.INFO: ==19398== Lock acquired, processing the job...
[2025-01-07 01:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:39:02] Production.INFO: ==19400== Lock acquired, processing the job...
[2025-01-07 06:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:39:02] Production.INFO: ==19400== Releasing lock...
[2025-01-07 06:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:39:03] Production.INFO: ==19398== Releasing lock...
[2025-01-07 01:39:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:39:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:39:03] Production.INFO: ==19402== Lock acquired, processing the job...
[2025-01-07 01:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:39:03] Production.INFO: ==19404== Lock acquired, processing the job...
[2025-01-07 01:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:39:03] Production.INFO: ==19406== Lock acquired, processing the job...
[2025-01-07 01:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:39:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:39:04] Production.INFO: ==19408== Lock acquired, processing the job...
[2025-01-07 01:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:39:04] Production.INFO: ==19410== Lock acquired, processing the job...
[2025-01-07 01:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:39:04] Production.INFO: Account Balance Start.
[2025-01-07 01:39:04] Production.INFO: CreateAllLog Start
[2025-01-07 01:39:04] Production.INFO: 117
[2025-01-07 01:39:04] Production.INFO: ==19404== Releasing lock...
[2025-01-07 01:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:39:04] Production.INFO: Date 2024-12-08
[2025-01-07 01:39:04] Production.INFO: ==19412== Lock acquired, processing the job...
[2025-01-07 01:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:39:04] Production.ERROR: done
[2025-01-07 01:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:39:04] Production.INFO: Date 2024-12-09
[2025-01-07 01:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:39:04] Production.INFO: Date 2024-12-10
[2025-01-07 01:39:04] Production.INFO: count ==21
[2025-01-07 01:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:39:04] Production.INFO: count ==21
[2025-01-07 01:39:04] Production.ERROR: done
[2025-01-07 01:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191587') start
[2025-01-07 01:39:04] Production.INFO: Date 2024-12-11
[2025-01-07 01:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:39:04] Production.INFO: Date 2024-12-12
[2025-01-07 01:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:39:04] Production.INFO: Date 2024-12-13
[2025-01-07 01:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:39:04] Production.INFO: Date 2024-12-14
[2025-01-07 01:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191587') end
[2025-01-07 01:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:39:04] Production.INFO: 1
[2025-01-07 01:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:39:04] Production.INFO: ==19412== Releasing lock...
[2025-01-07 01:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:39:04] Production.INFO: Date 2024-12-15
[2025-01-07 01:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:39:04] Production.INFO: Date 2024-12-16
[2025-01-07 01:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:39:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:39:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:39:05] Production.INFO: Date 2024-12-19
[2025-01-07 01:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:39:05] Production.INFO: Date 2024-12-20
[2025-01-07 01:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:39:05] Production.INFO: Date 2024-12-21
[2025-01-07 01:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:39:05] Production.INFO: Date 2024-12-22
[2025-01-07 01:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:39:05] Production.INFO: Date 2024-12-23
[2025-01-07 01:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:39:05] Production.INFO: Date 2024-12-24
[2025-01-07 01:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:39:05] Production.INFO: Date 2024-12-25
[2025-01-07 01:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:39:05] Production.INFO: Date 2024-12-26
[2025-01-07 01:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:39:05] Production.INFO: Date 2024-12-27
[2025-01-07 01:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:39:05] Production.INFO: Date 2024-12-28
[2025-01-07 01:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:39:05] Production.INFO: Date 2024-12-29
[2025-01-07 01:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:39:05] Production.INFO: Date 2024-12-30
[2025-01-07 01:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:39:05] Production.INFO: Date 2024-12-31
[2025-01-07 01:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:39:05] Production.INFO: Date 2025-01-01
[2025-01-07 01:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:39:05] Production.INFO: Date 2025-01-02
[2025-01-07 01:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:39:05
[end_date_ymd] => 2025-01-07 01:39:05
[RateCDR] => 1
)
[2025-01-07 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-06 22:39:05' and `end` < '2025-01-07 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-07 01:39:05] Production.INFO: Date 2025-01-03
[2025-01-07 01:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:39:05] Production.INFO: Date 2025-01-04
[2025-01-07 01:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:39:05] Production.INFO: Date 2025-01-05
[2025-01-07 01:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:39:05] Production.INFO: Date 2025-01-06
[2025-01-07 01:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:39:05] Production.INFO: Date 2025-01-07
[2025-01-07 01:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:39:05] Production.INFO: Total Charge 0
[2025-01-07 01:39:05] Production.INFO: CreateAllLog End
[2025-01-07 01:39:05] Production.INFO: Account Balance End.
[2025-01-07 01:39:05] Production.ERROR: CronJobId end 12
[2025-01-07 01:39:05] Production.INFO: ==19408== Releasing lock...
[2025-01-07 01:39:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:39:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:39:11] Production.ERROR: CronJobId end10
[2025-01-07 01:39:11] Production.INFO: ==19406== Releasing lock...
[2025-01-07 01:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:39:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:39:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:39:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:39:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:39:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:39:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:39:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:39:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:39:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:39:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:39:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:39:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:39:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:39:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:39:14] Production.INFO: call_cost start
[2025-01-07 01:39:14] Production.INFO: call_cost end
[2025-01-07 01:39:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:39:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:39:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:39:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:39:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:39:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:39:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:39:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:39:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:39:15] Production.INFO: ==19402== Releasing lock...
[2025-01-07 01:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:39:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:39:22] Production.INFO: count ==181
[2025-01-07 01:39:22] Production.ERROR: pbx CDR StartTime 2025-01-06 22:39:05 - End Time 2025-01-07 01:39:05
[2025-01-07 01:39:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:39:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191588', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:39:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191588', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:39:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191588', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:39:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191588', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:39:22] Production.INFO: ProcessCDR(1,14191588,1,1,2)
[2025-01-07 01:39:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191588,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:39:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191588,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:39:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191588,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:39:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191588,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:39:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191588', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:39:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191588', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:39:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:39:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:39:26] Production.INFO: ==19410== Releasing lock...
[2025-01-07 01:39:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:39:26] Production.INFO: 29 MB #Memory Used#
[2025-01-07 06:40:01] Production.INFO: ==19468== Lock acquired, processing the job...
[2025-01-07 06:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:40:01] Production.INFO: neon service started
[2025-01-07 06:40:01] Production.INFO: neon service started
[2025-01-07 06:40:01] Production.INFO: ==19468== Releasing lock...
[2025-01-07 06:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:40:02] Production.INFO: ==19470== Lock acquired, processing the job...
[2025-01-07 01:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:40:02] Production.INFO: ==19472== Lock acquired, processing the job...
[2025-01-07 06:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:40:02] Production.INFO: ==19472== Releasing lock...
[2025-01-07 06:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:40:02] Production.INFO: ==19470== Releasing lock...
[2025-01-07 01:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:40:03] Production.INFO: ==19475== Lock acquired, processing the job...
[2025-01-07 01:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 01:40:03] Production.INFO: ==19479== Lock acquired, processing the job...
[2025-01-07 01:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:40:03] Production.INFO: ==19483== Lock acquired, processing the job...
[2025-01-07 01:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 01:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 01:40:03] Production.ERROR: CronJob PID - 19479
[2025-01-07 01:40:03] Production.ERROR: CronJob Title - Account Block
[2025-01-07 01:40:03] Production.ERROR: CronJob ID - 7
[2025-01-07 01:40:03] Production.ERROR: CronJob Last Run Time 2025-01-07 01:40:00
[2025-01-07 01:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 01:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 01:40:03] Production.INFO: ==19487== Lock acquired, processing the job...
[2025-01-07 01:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 01:40:03] Production.INFO: ==19477== Lock acquired, processing the job...
[2025-01-07 01:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 01:40:03] Production.INFO: ==19475== Releasing lock...
[2025-01-07 01:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 01:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 01:40:03] Production.INFO: Account Balance Start.
[2025-01-07 01:40:03] Production.INFO: CreateAllLog Start
[2025-01-07 01:40:03] Production.INFO: 117
[2025-01-07 01:40:03] Production.INFO: Date 2024-12-08
[2025-01-07 01:40:03] Production.INFO: ==19481== Lock acquired, processing the job...
[2025-01-07 01:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:40:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:40:03] Production.INFO: Date 2024-12-09
[2025-01-07 01:40:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:40:03] Production.INFO: Date 2024-12-10
[2025-01-07 01:40:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:40:03] Production.INFO: ==19489== Lock acquired, processing the job...
[2025-01-07 01:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:40:03] Production.INFO: ==19485== Lock acquired, processing the job...
[2025-01-07 01:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:40:03] Production.INFO: Date 2024-12-11
[2025-01-07 01:40:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:40:03] Production.INFO: Date 2024-12-12
[2025-01-07 01:40:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:40:03] Production.INFO: ==19479== Releasing lock...
[2025-01-07 01:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:40:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 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-07 01:40:04] Production.ERROR: done
[2025-01-07 01:40:04] Production.INFO: count ==21
[2025-01-07 01:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 01:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14191593', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 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-07 01:40:04] Production.INFO: count ==21
[2025-01-07 01:40:04] Production.INFO: Date 2024-12-13
[2025-01-07 01:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191592') start
[2025-01-07 01:40:04] Production.INFO: Date 2024-12-14
[2025-01-07 01:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:40:04] Production.INFO: Date 2024-12-15
[2025-01-07 01:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:40:04] Production.ERROR: done
[2025-01-07 01:40:04] Production.INFO: Date 2024-12-16
[2025-01-07 01:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:40:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191592') end
[2025-01-07 01:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:40:04] Production.INFO: 1
[2025-01-07 01:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:40:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:40:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:40:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:40:04] Production.ERROR: done
[2025-01-07 01:40:04] Production.INFO: ==19489== Releasing lock...
[2025-01-07 01:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:40:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:40:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:40:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:40:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:40:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:40:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:40:04] Production.INFO: Date 2024-12-27
[2025-01-07 01:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:40:04] Production.INFO: Date 2024-12-28
[2025-01-07 01:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:40:04] Production.INFO: Date 2024-12-29
[2025-01-07 01:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:40:04] Production.INFO: Date 2024-12-30
[2025-01-07 01:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:40:04] Production.INFO: Date 2024-12-31
[2025-01-07 01:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:40:04] Production.INFO: Date 2025-01-01
[2025-01-07 01:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:40:04] Production.INFO: Date 2025-01-02
[2025-01-07 01:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:40:04] Production.INFO: Date 2025-01-03
[2025-01-07 01:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:40:04] Production.INFO: Date 2025-01-04
[2025-01-07 01:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:40:04] Production.INFO: Date 2025-01-05
[2025-01-07 01:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:40:04] Production.INFO: Date 2025-01-06
[2025-01-07 01:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:40:04] Production.INFO: Date 2025-01-07
[2025-01-07 01:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:40:04] Production.INFO: Total Charge 0
[2025-01-07 01:40:04] Production.INFO: CreateAllLog End
[2025-01-07 01:40:05] Production.INFO: Account Balance End.
[2025-01-07 01:40:05] Production.ERROR: CronJobId end 12
[2025-01-07 01:40:05] Production.INFO: ==19483== Releasing lock...
[2025-01-07 01:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:40:05
[end_date_ymd] => 2025-01-07 01:40:05
[RateCDR] => 1
)
[2025-01-07 01:40:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 22:40:05' and `end` < '2025-01-07 01:40:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 01:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14191593', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 01:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 01:40:08] Production.INFO: ProcessCDR(1,14191593,1,1,2)
[2025-01-07 01:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14191593,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14191593,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:40:08] Production.INFO: ==19487== Releasing lock...
[2025-01-07 01:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 01:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-07 01:40: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-07 01:40:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:40:11] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:40:11] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:40:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:40:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:40:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:40:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:40:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:40:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:40:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:40:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:40:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:40:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:40:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:40:12] Production.ERROR: CronJobId end10
[2025-01-07 01:40:12] Production.INFO: ==19481== Releasing lock...
[2025-01-07 01:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:40:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:40:12] Production.INFO: call_cost start
[2025-01-07 01:40:12] Production.INFO: call_cost end
[2025-01-07 01:40:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:40:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:40:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:40:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:40:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:40:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:40:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:40:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:40:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:40:13] Production.INFO: ==19477== Releasing lock...
[2025-01-07 01:40:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:40:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:40:18] Production.INFO: count ==190
[2025-01-07 01:40:18] Production.ERROR: pbx CDR StartTime 2025-01-06 22:40:05 - End Time 2025-01-07 01:40:05
[2025-01-07 01:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191594', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191594', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191594', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191594', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:40:18] Production.INFO: ProcessCDR(1,14191594,1,1,2)
[2025-01-07 01:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191594,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191594,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191594,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191594,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191594', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191594', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:40:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:40:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:40:21] Production.INFO: ==19485== Releasing lock...
[2025-01-07 01:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:40:21] Production.INFO: 29 MB #Memory Used#
[2025-01-07 06:41:02] Production.INFO: ==19545== Lock acquired, processing the job...
[2025-01-07 06:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:41:02] Production.INFO: neon service started
[2025-01-07 06:41:02] Production.INFO: neon service started
[2025-01-07 06:41:02] Production.INFO: ==19545== Releasing lock...
[2025-01-07 06:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:41:02] Production.INFO: ==19547== Lock acquired, processing the job...
[2025-01-07 01:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:41:02] Production.INFO: ==19549== Lock acquired, processing the job...
[2025-01-07 06:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:41:02] Production.INFO: ==19549== Releasing lock...
[2025-01-07 06:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:41:02] Production.INFO: ==19547== Releasing lock...
[2025-01-07 01:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:41:03] Production.INFO: ==19562== Lock acquired, processing the job...
[2025-01-07 01:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:41:03] Production.INFO: ==19560== Lock acquired, processing the job...
[2025-01-07 01:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:41:03] Production.INFO: Account Balance Start.
[2025-01-07 01:41:03] Production.INFO: CreateAllLog Start
[2025-01-07 01:41:03] Production.INFO: 117
[2025-01-07 01:41:03] Production.INFO: Date 2024-12-08
[2025-01-07 01:41:03] Production.INFO: ==19554== Lock acquired, processing the job...
[2025-01-07 01:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:41:03] Production.INFO: Date 2024-12-09
[2025-01-07 01:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:41:03] Production.INFO: ==19556== Lock acquired, processing the job...
[2025-01-07 01:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:41:03] Production.INFO: ==19558== Lock acquired, processing the job...
[2025-01-07 01:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:41:03] Production.INFO: Date 2024-12-10
[2025-01-07 01:41:03] Production.INFO: ==19564== Lock acquired, processing the job...
[2025-01-07 01:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:41:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:41:04] Production.INFO: Date 2024-12-11
[2025-01-07 01:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:41:04] Production.INFO: Date 2024-12-12
[2025-01-07 01:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:41:04] Production.INFO: Date 2024-12-13
[2025-01-07 01:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:41:04] Production.INFO: Date 2024-12-14
[2025-01-07 01:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:41:04] Production.ERROR: done
[2025-01-07 01:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:41:04] Production.INFO: Date 2024-12-15
[2025-01-07 01:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:41:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:41:04] Production.INFO: Date 2024-12-16
[2025-01-07 01:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:41:04] Production.INFO: count ==21
[2025-01-07 01:41:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:41:04] Production.INFO: count ==21
[2025-01-07 01:41:04] Production.INFO: ==19556== Releasing lock...
[2025-01-07 01:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191598') start
[2025-01-07 01:41:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:41:04] Production.ERROR: done
[2025-01-07 01:41:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:41:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191598') end
[2025-01-07 01:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:41:04] Production.INFO: 1
[2025-01-07 01:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:41:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:41:04] Production.INFO: ==19564== Releasing lock...
[2025-01-07 01:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:41:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:41:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:41:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:41:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:41:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:41:04] Production.INFO: Date 2024-12-27
[2025-01-07 01:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:41:04] Production.INFO: Date 2024-12-28
[2025-01-07 01:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:41:04] Production.INFO: Date 2024-12-29
[2025-01-07 01:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:41:04] Production.INFO: Date 2024-12-30
[2025-01-07 01:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:41:04] Production.INFO: Date 2024-12-31
[2025-01-07 01:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:41:04] Production.INFO: Date 2025-01-01
[2025-01-07 01:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:41:04] Production.INFO: Date 2025-01-02
[2025-01-07 01:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:41:04] Production.INFO: Date 2025-01-03
[2025-01-07 01:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:41:05] Production.INFO: Date 2025-01-04
[2025-01-07 01:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:41:05] Production.INFO: Date 2025-01-05
[2025-01-07 01:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:41:05] Production.INFO: Date 2025-01-06
[2025-01-07 01:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:41:05] Production.INFO: Date 2025-01-07
[2025-01-07 01:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:41:05] Production.INFO: Total Charge 0
[2025-01-07 01:41:05] Production.INFO: CreateAllLog End
[2025-01-07 01:41:05] Production.INFO: Account Balance End.
[2025-01-07 01:41:05] Production.ERROR: CronJobId end 12
[2025-01-07 01:41:05] Production.INFO: ==19560== Releasing lock...
[2025-01-07 01:41:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:41:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:41:05
[end_date_ymd] => 2025-01-07 01:41:05
[RateCDR] => 1
)
[2025-01-07 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-06 22:41:05' and `end` < '2025-01-07 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-07 01:41:10] Production.ERROR: CronJobId end10
[2025-01-07 01:41:10] Production.INFO: ==19558== Releasing lock...
[2025-01-07 01:41:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:41:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:41:13] Production.INFO: call_cost start
[2025-01-07 01:41:13] Production.INFO: call_cost end
[2025-01-07 01:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:41:14] Production.INFO: ==19554== Releasing lock...
[2025-01-07 01:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:41:19] Production.INFO: count ==192
[2025-01-07 01:41:19] Production.ERROR: pbx CDR StartTime 2025-01-06 22:41:05 - End Time 2025-01-07 01:41:05
[2025-01-07 01:41:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191599', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191599', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191599', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191599', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:41:19] Production.INFO: ProcessCDR(1,14191599,1,1,2)
[2025-01-07 01:41:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191599,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:41:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191599,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:41:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191599,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191599,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191599', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191599', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:41:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:41:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:41:22] Production.INFO: ==19562== Releasing lock...
[2025-01-07 01:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:41:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 06:42:01] Production.INFO: ==19618== Lock acquired, processing the job...
[2025-01-07 06:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:42:01] Production.INFO: neon service started
[2025-01-07 06:42:01] Production.INFO: neon service started
[2025-01-07 06:42:01] Production.INFO: ==19618== Releasing lock...
[2025-01-07 06:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:42:02] Production.INFO: ==19620== Lock acquired, processing the job...
[2025-01-07 01:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:42:02] Production.INFO: ==19622== Lock acquired, processing the job...
[2025-01-07 06:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:42:02] Production.INFO: ==19622== Releasing lock...
[2025-01-07 06:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:42:02] Production.INFO: ==19620== Releasing lock...
[2025-01-07 01:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:42:03] Production.INFO: ==19629== Lock acquired, processing the job...
[2025-01-07 01:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:42:03] Production.INFO: ==19635== Lock acquired, processing the job...
[2025-01-07 01:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:42:03] Production.INFO: ==19625== Lock acquired, processing the job...
[2025-01-07 01:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:42:03] Production.INFO: ==19627== Lock acquired, processing the job...
[2025-01-07 01:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:42:03] Production.INFO: ==19631== Lock acquired, processing the job...
[2025-01-07 01:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:42:03] Production.INFO: ==19633== Lock acquired, processing the job...
[2025-01-07 01:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:42:03] Production.INFO: count ==21
[2025-01-07 01:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:42:03] Production.INFO: count ==21
[2025-01-07 01:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191600') start
[2025-01-07 01:42:03] Production.INFO: Account Balance Start.
[2025-01-07 01:42:03] Production.INFO: CreateAllLog Start
[2025-01-07 01:42:03] Production.INFO: 117
[2025-01-07 01:42:03] Production.INFO: Date 2024-12-08
[2025-01-07 01:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191600') end
[2025-01-07 01:42:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:42:03] Production.INFO: 1
[2025-01-07 01:42:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:42:03] Production.INFO: ==19635== Releasing lock...
[2025-01-07 01:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:42:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:42:03] Production.INFO: Date 2024-12-09
[2025-01-07 01:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:42:03] Production.INFO: Date 2024-12-10
[2025-01-07 01:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:42:03] Production.INFO: Date 2024-12-11
[2025-01-07 01:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:42:03] Production.INFO: Date 2024-12-12
[2025-01-07 01:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:42:03] Production.INFO: Date 2024-12-13
[2025-01-07 01:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:42:03] Production.INFO: Date 2024-12-14
[2025-01-07 01:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:42:04] Production.ERROR: done
[2025-01-07 01:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:42:04] Production.INFO: ==19627== Releasing lock...
[2025-01-07 01:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:42:04] Production.INFO: Date 2024-12-15
[2025-01-07 01:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:42:04] Production.INFO: Date 2024-12-16
[2025-01-07 01:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:42:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:42:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:42:04] Production.ERROR: done
[2025-01-07 01:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:42:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:42:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:42:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:42:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:42:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:42:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:42:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:42:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:42:04] Production.INFO: Date 2024-12-27
[2025-01-07 01:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:42:04] Production.INFO: Date 2024-12-28
[2025-01-07 01:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:42:04] Production.INFO: Date 2024-12-29
[2025-01-07 01:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:42:04] Production.INFO: Date 2024-12-30
[2025-01-07 01:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:42:04] Production.INFO: Date 2024-12-31
[2025-01-07 01:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:42:04] Production.INFO: Date 2025-01-01
[2025-01-07 01:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:42:05] Production.INFO: Date 2025-01-02
[2025-01-07 01:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:42:05] Production.INFO: Date 2025-01-03
[2025-01-07 01:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:42:05] Production.INFO: Date 2025-01-04
[2025-01-07 01:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:42:05] Production.INFO: Date 2025-01-05
[2025-01-07 01:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:42:05] Production.INFO: Date 2025-01-06
[2025-01-07 01:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:42:05] Production.INFO: Date 2025-01-07
[2025-01-07 01:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:42:05] Production.INFO: Total Charge 0
[2025-01-07 01:42:05] Production.INFO: CreateAllLog End
[2025-01-07 01:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:42:05
[end_date_ymd] => 2025-01-07 01:42:05
[RateCDR] => 1
)
[2025-01-07 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-06 22:42:05' and `end` < '2025-01-07 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-07 01:42:05] Production.INFO: Account Balance End.
[2025-01-07 01:42:05] Production.ERROR: CronJobId end 12
[2025-01-07 01:42:05] Production.INFO: ==19631== Releasing lock...
[2025-01-07 01:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:42:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:42:09] Production.ERROR: CronJobId end10
[2025-01-07 01:42:09] Production.INFO: ==19629== Releasing lock...
[2025-01-07 01:42:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:42:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:42:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:42:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:42:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:42:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:42:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:42:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:42:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:42:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:42:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:42:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:42:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:42:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:42:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:42:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:42:12] Production.INFO: call_cost start
[2025-01-07 01:42:12] Production.INFO: call_cost end
[2025-01-07 01:42:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:42:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:42:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:42:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:42:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:42:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:42:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:42:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:42:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:42:13] Production.INFO: ==19625== Releasing lock...
[2025-01-07 01:42:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:42:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:42:19] Production.INFO: count ==192
[2025-01-07 01:42:19] Production.ERROR: pbx CDR StartTime 2025-01-06 22:42:05 - End Time 2025-01-07 01:42:05
[2025-01-07 01:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191604', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191604', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191604', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191604', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:42:19] Production.INFO: ProcessCDR(1,14191604,1,1,2)
[2025-01-07 01:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191604,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191604,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191604,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191604,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191604', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191604', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:42:22] Production.INFO: ==19633== Releasing lock...
[2025-01-07 01:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:42:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 06:43:01] Production.INFO: ==19688== Lock acquired, processing the job...
[2025-01-07 06:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:43:01] Production.INFO: neon service started
[2025-01-07 06:43:01] Production.INFO: neon service started
[2025-01-07 06:43:01] Production.INFO: ==19688== Releasing lock...
[2025-01-07 06:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:43:02] Production.INFO: ==19690== Lock acquired, processing the job...
[2025-01-07 01:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:43:02] Production.INFO: ==19690== Releasing lock...
[2025-01-07 01:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:43:02] Production.INFO: ==19692== Lock acquired, processing the job...
[2025-01-07 06:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:43:02] Production.INFO: ==19692== Releasing lock...
[2025-01-07 06:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:43:03] Production.INFO: ==19697== Lock acquired, processing the job...
[2025-01-07 01:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:43:03] Production.INFO: ==19695== Lock acquired, processing the job...
[2025-01-07 01:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:43:03] Production.INFO: ==19705== Lock acquired, processing the job...
[2025-01-07 01:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:43:03] Production.INFO: ==19699== Lock acquired, processing the job...
[2025-01-07 01:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:43:03] Production.INFO: ==19701== Lock acquired, processing the job...
[2025-01-07 01:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:43:03] Production.INFO: ==19703== Lock acquired, processing the job...
[2025-01-07 01:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:43:03] Production.INFO: Account Balance Start.
[2025-01-07 01:43:03] Production.INFO: CreateAllLog Start
[2025-01-07 01:43:03] Production.INFO: 117
[2025-01-07 01:43:03] Production.INFO: Date 2024-12-08
[2025-01-07 01:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 01:43:03] Production.INFO: count ==21
[2025-01-07 01:43:03] Production.INFO: Date 2024-12-09
[2025-01-07 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-07 01:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:43:03] Production.INFO: count ==21
[2025-01-07 01:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191607') start
[2025-01-07 01:43:03] Production.INFO: Date 2024-12-10
[2025-01-07 01:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:43:03] Production.INFO: ==19697== Releasing lock...
[2025-01-07 01:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:43:03] Production.INFO: Date 2024-12-11
[2025-01-07 01:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191607') end
[2025-01-07 01:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:43:03] Production.INFO: 1
[2025-01-07 01:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:43:03] Production.INFO: Date 2024-12-12
[2025-01-07 01:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:43:03] Production.INFO: ==19705== Releasing lock...
[2025-01-07 01:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:43:03] Production.INFO: Date 2024-12-13
[2025-01-07 01:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:43:03] Production.INFO: Date 2024-12-14
[2025-01-07 01:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:43:03] Production.INFO: Date 2024-12-15
[2025-01-07 01:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:43:03] Production.INFO: Date 2024-12-16
[2025-01-07 01:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:43:04] Production.ERROR: done
[2025-01-07 01:43:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:43:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:43:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:43:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:43:04] Production.ERROR: done
[2025-01-07 01:43:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:43:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:43:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:43:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:43:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:43:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:43:04] Production.INFO: Date 2024-12-27
[2025-01-07 01:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:43:04] Production.INFO: Date 2024-12-28
[2025-01-07 01:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:43:04] Production.INFO: Date 2024-12-29
[2025-01-07 01:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:43:04] Production.INFO: Date 2024-12-30
[2025-01-07 01:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:43:04] Production.INFO: Date 2024-12-31
[2025-01-07 01:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:43:04] Production.INFO: Date 2025-01-01
[2025-01-07 01:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:43:04] Production.INFO: Date 2025-01-02
[2025-01-07 01:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:43:04] Production.INFO: Date 2025-01-03
[2025-01-07 01:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:43:04] Production.INFO: Date 2025-01-04
[2025-01-07 01:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:43:04] Production.INFO: Date 2025-01-05
[2025-01-07 01:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:43:04] Production.INFO: Date 2025-01-06
[2025-01-07 01:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:43:04] Production.INFO: Date 2025-01-07
[2025-01-07 01:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:43:04] Production.INFO: Total Charge 0
[2025-01-07 01:43:04] Production.INFO: CreateAllLog End
[2025-01-07 01:43:04] Production.INFO: Account Balance End.
[2025-01-07 01:43:04] Production.ERROR: CronJobId end 12
[2025-01-07 01:43:04] Production.INFO: ==19701== Releasing lock...
[2025-01-07 01:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:43:05
[end_date_ymd] => 2025-01-07 01:43:05
[RateCDR] => 1
)
[2025-01-07 01:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 22:43:05' and `end` < '2025-01-07 01:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 01:43:10] Production.ERROR: CronJobId end10
[2025-01-07 01:43:10] Production.INFO: ==19699== Releasing lock...
[2025-01-07 01:43:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:43:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:43:12] Production.INFO: call_cost start
[2025-01-07 01:43:12] Production.INFO: call_cost end
[2025-01-07 01:43:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:43:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:43:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:43:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:43:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:43:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:43:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:43:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:43:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:43:13] Production.INFO: ==19695== Releasing lock...
[2025-01-07 01:43:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:43:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:43:17] Production.INFO: count ==192
[2025-01-07 01:43:17] Production.ERROR: pbx CDR StartTime 2025-01-06 22:43:05 - End Time 2025-01-07 01:43:05
[2025-01-07 01:43:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191609', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191609', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191609', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191609', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:43:17] Production.INFO: ProcessCDR(1,14191609,1,1,2)
[2025-01-07 01:43:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191609,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:43:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191609,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:43:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191609,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:43:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191609,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:43:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191609', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:43:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191609', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:43:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:43:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:43:20] Production.INFO: ==19703== Releasing lock...
[2025-01-07 01:43:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:43:20] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 06:44:01] Production.INFO: ==19759== Lock acquired, processing the job...
[2025-01-07 06:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:44:01] Production.INFO: neon service started
[2025-01-07 06:44:01] Production.INFO: neon service started
[2025-01-07 06:44:01] Production.INFO: ==19759== Releasing lock...
[2025-01-07 06:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:44:02] Production.INFO: ==19761== Lock acquired, processing the job...
[2025-01-07 01:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:44:02] Production.INFO: ==19763== Lock acquired, processing the job...
[2025-01-07 06:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:44:02] Production.INFO: ==19763== Releasing lock...
[2025-01-07 06:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:44:02] Production.INFO: ==19761== Releasing lock...
[2025-01-07 01:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:44:02] Production.INFO: ==19768== Lock acquired, processing the job...
[2025-01-07 01:44:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:44:03] Production.INFO: ==19770== Lock acquired, processing the job...
[2025-01-07 01:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:44:03] Production.INFO: ==19776== Lock acquired, processing the job...
[2025-01-07 01:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 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-07 01:44:03] Production.INFO: ==19768== Releasing lock...
[2025-01-07 01:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:44:03] Production.INFO: count ==21
[2025-01-07 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-07 01:44:03] Production.INFO: ==19766== Lock acquired, processing the job...
[2025-01-07 01:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:44:03] Production.INFO: count ==21
[2025-01-07 01:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191611') start
[2025-01-07 01:44:03] Production.INFO: ==19772== Lock acquired, processing the job...
[2025-01-07 01:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:44:03] Production.INFO: ==19774== Lock acquired, processing the job...
[2025-01-07 01:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191611') end
[2025-01-07 01:44:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:44:03] Production.INFO: 1
[2025-01-07 01:44:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:44:03] Production.INFO: ==19776== Releasing lock...
[2025-01-07 01:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:44:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:44:03] Production.INFO: Account Balance Start.
[2025-01-07 01:44:03] Production.INFO: CreateAllLog Start
[2025-01-07 01:44:03] Production.INFO: 117
[2025-01-07 01:44:03] Production.INFO: Date 2024-12-08
[2025-01-07 01:44:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:44:03] Production.INFO: Date 2024-12-09
[2025-01-07 01:44:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:44:03] Production.INFO: Date 2024-12-10
[2025-01-07 01:44:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:44:03] Production.INFO: Date 2024-12-11
[2025-01-07 01:44:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:44:03] Production.ERROR: done
[2025-01-07 01:44:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:44:03] Production.INFO: Date 2024-12-12
[2025-01-07 01:44:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:44:03] Production.ERROR: done
[2025-01-07 01:44:03] Production.INFO: Date 2024-12-13
[2025-01-07 01:44:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:44:03] Production.INFO: Date 2024-12-14
[2025-01-07 01:44:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:44:03] Production.INFO: Date 2024-12-15
[2025-01-07 01:44:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:44:03] Production.INFO: Date 2024-12-16
[2025-01-07 01:44:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:44:03] Production.INFO: Date 2024-12-17
[2025-01-07 01:44:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:44:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:44:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:44:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:44:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:44:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:44:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:44:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:44:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:44:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:44:04] Production.INFO: Date 2024-12-27
[2025-01-07 01:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:44:04] Production.INFO: Date 2024-12-28
[2025-01-07 01:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:44:04] Production.INFO: Date 2024-12-29
[2025-01-07 01:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:44:04] Production.INFO: Date 2024-12-30
[2025-01-07 01:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:44:04] Production.INFO: Date 2024-12-31
[2025-01-07 01:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:44:04] Production.INFO: Date 2025-01-01
[2025-01-07 01:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:44:04] Production.INFO: Date 2025-01-02
[2025-01-07 01:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:44:04] Production.INFO: Date 2025-01-03
[2025-01-07 01:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:44:04] Production.INFO: Date 2025-01-04
[2025-01-07 01:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:44:04] Production.INFO: Date 2025-01-05
[2025-01-07 01:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:44:04] Production.INFO: Date 2025-01-06
[2025-01-07 01:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:44:04] Production.INFO: Date 2025-01-07
[2025-01-07 01:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:44:04] Production.INFO: Total Charge 0
[2025-01-07 01:44:04] Production.INFO: CreateAllLog End
[2025-01-07 01:44:04] Production.INFO: Account Balance End.
[2025-01-07 01:44:04] Production.ERROR: CronJobId end 12
[2025-01-07 01:44:04] Production.INFO: ==19772== Releasing lock...
[2025-01-07 01:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:44:05
[end_date_ymd] => 2025-01-07 01:44:05
[RateCDR] => 1
)
[2025-01-07 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-06 22:44:05' and `end` < '2025-01-07 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-07 01:44:10] Production.ERROR: CronJobId end10
[2025-01-07 01:44:10] Production.INFO: ==19770== Releasing lock...
[2025-01-07 01:44:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:44:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:44:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:44:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:44:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:44:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:44:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:44:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:44:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:44:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:44:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:44:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:44:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:44:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:44:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:44:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:44:12] Production.INFO: call_cost start
[2025-01-07 01:44:12] Production.INFO: call_cost end
[2025-01-07 01:44:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:44:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:44:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:44:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:44:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:44:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:44:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:44:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:44:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:44:13] Production.INFO: ==19766== Releasing lock...
[2025-01-07 01:44:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:44:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:44:17] Production.INFO: count ==192
[2025-01-07 01:44:17] Production.ERROR: pbx CDR StartTime 2025-01-06 22:44:05 - End Time 2025-01-07 01:44:05
[2025-01-07 01:44:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191614', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191614', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191614', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191614', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:44:17] Production.INFO: ProcessCDR(1,14191614,1,1,2)
[2025-01-07 01:44:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191614,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:44:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191614,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:44:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191614,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191614,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191614', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191614', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:44:21] Production.INFO: ==19774== Releasing lock...
[2025-01-07 01:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:44:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 06:45:01] Production.INFO: ==19840== Lock acquired, processing the job...
[2025-01-07 06:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:45:01] Production.INFO: neon service started
[2025-01-07 06:45:01] Production.INFO: neon service started
[2025-01-07 06:45:01] Production.INFO: ==19840== Releasing lock...
[2025-01-07 06:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:45:02] Production.INFO: ==19844== Lock acquired, processing the job...
[2025-01-07 06:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:45:02] Production.INFO: ==19844== Releasing lock...
[2025-01-07 06:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:45:02] Production.INFO: ==19842== Lock acquired, processing the job...
[2025-01-07 01:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:45:02] Production.INFO: ==19842== Releasing lock...
[2025-01-07 01:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:45:03] Production.INFO: ==19849== Lock acquired, processing the job...
[2025-01-07 01:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:45:03] Production.INFO: ==19847== Lock acquired, processing the job...
[2025-01-07 01:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:45:03] Production.INFO: ==19855== Lock acquired, processing the job...
[2025-01-07 01:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:45:03] Production.INFO: ==19851== Lock acquired, processing the job...
[2025-01-07 01:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:45:03] Production.INFO: ==19853== Lock acquired, processing the job...
[2025-01-07 01:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:45:03] Production.INFO: ==19857== Lock acquired, processing the job...
[2025-01-07 01:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:45:03] Production.INFO: Account Balance Start.
[2025-01-07 01:45:03] Production.INFO: CreateAllLog Start
[2025-01-07 01:45:03] Production.INFO: 117
[2025-01-07 01:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:45:03] Production.INFO: Date 2024-12-08
[2025-01-07 01:45:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:45:03] Production.INFO: ==19849== Releasing lock...
[2025-01-07 01:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 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-07 01:45:03] Production.INFO: count ==21
[2025-01-07 01:45:03] Production.INFO: Date 2024-12-09
[2025-01-07 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-07 01:45:03] Production.INFO: count ==21
[2025-01-07 01:45:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191618') start
[2025-01-07 01:45:03] Production.INFO: Date 2024-12-10
[2025-01-07 01:45:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:45:04] Production.INFO: Date 2024-12-11
[2025-01-07 01:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:45:04] Production.ERROR: done
[2025-01-07 01:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191618') end
[2025-01-07 01:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:45:04] Production.INFO: 1
[2025-01-07 01:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:45:04] Production.INFO: ==19857== Releasing lock...
[2025-01-07 01:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:45:04] Production.INFO: Date 2024-12-12
[2025-01-07 01:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:45:04] Production.INFO: Date 2024-12-13
[2025-01-07 01:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:45:04] Production.INFO: Date 2024-12-14
[2025-01-07 01:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:45:04] Production.ERROR: done
[2025-01-07 01:45:04] Production.INFO: Date 2024-12-15
[2025-01-07 01:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:45:04] Production.INFO: Date 2024-12-16
[2025-01-07 01:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:45:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:45:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:45:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:45:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:45:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:45:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:45:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:45:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:45:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:45:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:45:04] Production.INFO: Date 2024-12-27
[2025-01-07 01:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:45:04] Production.INFO: Date 2024-12-28
[2025-01-07 01:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:45:04] Production.INFO: Date 2024-12-29
[2025-01-07 01:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:45:04] Production.INFO: Date 2024-12-30
[2025-01-07 01:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:45:05] Production.INFO: Date 2024-12-31
[2025-01-07 01:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:45:05] Production.INFO: Date 2025-01-01
[2025-01-07 01:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:45:05] Production.INFO: Date 2025-01-02
[2025-01-07 01:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:45:05] Production.INFO: Date 2025-01-03
[2025-01-07 01:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:45:05] Production.INFO: Date 2025-01-04
[2025-01-07 01:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:45:05] Production.INFO: Date 2025-01-05
[2025-01-07 01:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:45:05] Production.INFO: Date 2025-01-06
[2025-01-07 01:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:45:05] Production.INFO: Date 2025-01-07
[2025-01-07 01:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:45:05] Production.INFO: Total Charge 0
[2025-01-07 01:45:05] Production.INFO: CreateAllLog End
[2025-01-07 01:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:45:05
[end_date_ymd] => 2025-01-07 01:45:05
[RateCDR] => 1
)
[2025-01-07 01:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 22:45:05' and `end` < '2025-01-07 01:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 01:45:05] Production.INFO: Account Balance End.
[2025-01-07 01:45:05] Production.ERROR: CronJobId end 12
[2025-01-07 01:45:05] Production.INFO: ==19853== Releasing lock...
[2025-01-07 01:45:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:45:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:45:11] Production.ERROR: CronJobId end10
[2025-01-07 01:45:11] Production.INFO: ==19851== Releasing lock...
[2025-01-07 01:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:45:13] Production.INFO: call_cost start
[2025-01-07 01:45:13] Production.INFO: call_cost end
[2025-01-07 01:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:45:14] Production.INFO: ==19847== Releasing lock...
[2025-01-07 01:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:45:18] Production.INFO: count ==192
[2025-01-07 01:45:18] Production.ERROR: pbx CDR StartTime 2025-01-06 22:45:05 - End Time 2025-01-07 01:45:05
[2025-01-07 01:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191619', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191619', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191619', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191619', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:45:18] Production.INFO: ProcessCDR(1,14191619,1,1,2)
[2025-01-07 01:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191619,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191619,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191619,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191619,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191619', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191619', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:45:21] Production.INFO: ==19855== Releasing lock...
[2025-01-07 01:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:45:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 06:46:01] Production.INFO: ==19917== Lock acquired, processing the job...
[2025-01-07 06:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:46:01] Production.INFO: neon service started
[2025-01-07 06:46:01] Production.INFO: neon service started
[2025-01-07 06:46:01] Production.INFO: ==19917== Releasing lock...
[2025-01-07 06:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:46:02] Production.INFO: ==19919== Lock acquired, processing the job...
[2025-01-07 01:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:46:02] Production.INFO: ==19921== Lock acquired, processing the job...
[2025-01-07 06:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:46:02] Production.INFO: ==19921== Releasing lock...
[2025-01-07 06:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:46:02] Production.INFO: ==19919== Releasing lock...
[2025-01-07 01:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:46:03] Production.INFO: ==19924== Lock acquired, processing the job...
[2025-01-07 01:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:46:03] Production.INFO: ==19934== Lock acquired, processing the job...
[2025-01-07 01:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:46:03] Production.INFO: count ==21
[2025-01-07 01:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:46:03] Production.INFO: count ==21
[2025-01-07 01:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191620') start
[2025-01-07 01:46:03] Production.INFO: ==19926== Lock acquired, processing the job...
[2025-01-07 01:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191620') end
[2025-01-07 01:46:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:46:03] Production.INFO: 1
[2025-01-07 01:46:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:46:03] Production.INFO: ==19928== Lock acquired, processing the job...
[2025-01-07 01:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:46:03] Production.INFO: ==19934== Releasing lock...
[2025-01-07 01:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:46:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:46:03] Production.INFO: ==19930== Lock acquired, processing the job...
[2025-01-07 01:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:46:03] Production.INFO: ==19932== Lock acquired, processing the job...
[2025-01-07 01:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:46:03] Production.INFO: Account Balance Start.
[2025-01-07 01:46:03] Production.INFO: CreateAllLog Start
[2025-01-07 01:46:03] Production.INFO: 117
[2025-01-07 01:46:03] Production.INFO: Date 2024-12-08
[2025-01-07 01:46:03] Production.INFO: ==19926== Releasing lock...
[2025-01-07 01:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:46:03] Production.INFO: Date 2024-12-09
[2025-01-07 01:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:46:03] Production.INFO: Date 2024-12-10
[2025-01-07 01:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:46:03] Production.INFO: Date 2024-12-11
[2025-01-07 01:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:46:03] Production.INFO: Date 2024-12-12
[2025-01-07 01:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:46:03] Production.INFO: Date 2024-12-13
[2025-01-07 01:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:46:03] Production.INFO: Date 2024-12-14
[2025-01-07 01:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:46:04] Production.INFO: Date 2024-12-15
[2025-01-07 01:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:46:04] Production.INFO: Date 2024-12-16
[2025-01-07 01:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:46:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:46:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:46:04] Production.ERROR: done
[2025-01-07 01:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:46:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:46:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:46:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:46:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:46:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:46:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:46:04] Production.ERROR: done
[2025-01-07 01:46:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:46:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:46:04] Production.INFO: Date 2024-12-27
[2025-01-07 01:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:46:04] Production.INFO: Date 2024-12-28
[2025-01-07 01:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:46:04] Production.INFO: Date 2024-12-29
[2025-01-07 01:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:46:04] Production.INFO: Date 2024-12-30
[2025-01-07 01:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:46:04] Production.INFO: Date 2024-12-31
[2025-01-07 01:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:46:04] Production.INFO: Date 2025-01-01
[2025-01-07 01:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:46:04] Production.INFO: Date 2025-01-02
[2025-01-07 01:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:46:04] Production.INFO: Date 2025-01-03
[2025-01-07 01:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:46:04] Production.INFO: Date 2025-01-04
[2025-01-07 01:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:46:04] Production.INFO: Date 2025-01-05
[2025-01-07 01:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:46:04] Production.INFO: Date 2025-01-06
[2025-01-07 01:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:46:04] Production.INFO: Date 2025-01-07
[2025-01-07 01:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:46:04] Production.INFO: Total Charge 0
[2025-01-07 01:46:04] Production.INFO: CreateAllLog End
[2025-01-07 01:46:04] Production.INFO: Account Balance End.
[2025-01-07 01:46:04] Production.ERROR: CronJobId end 12
[2025-01-07 01:46:04] Production.INFO: ==19930== Releasing lock...
[2025-01-07 01:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:46:05
[end_date_ymd] => 2025-01-07 01:46:05
[RateCDR] => 1
)
[2025-01-07 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-06 22:46:05' and `end` < '2025-01-07 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-07 01:46:10] Production.ERROR: CronJobId end10
[2025-01-07 01:46:10] Production.INFO: ==19928== Releasing lock...
[2025-01-07 01:46:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:46:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:46:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:46:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:46:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:46:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:46:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:46:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:46:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:46:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:46:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:46:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:46:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:46:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:46:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:46:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:46:12] Production.INFO: call_cost start
[2025-01-07 01:46:12] Production.INFO: call_cost end
[2025-01-07 01:46:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:46:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:46:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:46:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:46:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:46:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:46:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:46:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:46:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:46:13] Production.INFO: ==19924== Releasing lock...
[2025-01-07 01:46:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:46:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:46:18] Production.INFO: count ==191
[2025-01-07 01:46:18] Production.ERROR: pbx CDR StartTime 2025-01-06 22:46:05 - End Time 2025-01-07 01:46:05
[2025-01-07 01:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191624', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191624', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191624', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191624', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:46:18] Production.INFO: ProcessCDR(1,14191624,1,1,2)
[2025-01-07 01:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191624,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191624,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191624,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191624,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191624', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191624', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:46:22] Production.INFO: ==19932== Releasing lock...
[2025-01-07 01:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:46:22] Production.INFO: 29 MB #Memory Used#
[2025-01-07 06:47:01] Production.INFO: ==19989== Lock acquired, processing the job...
[2025-01-07 06:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:47:01] Production.INFO: neon service started
[2025-01-07 06:47:01] Production.INFO: neon service started
[2025-01-07 06:47:01] Production.INFO: ==19989== Releasing lock...
[2025-01-07 06:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:47:02] Production.INFO: ==19993== Lock acquired, processing the job...
[2025-01-07 06:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:47:02] Production.INFO: ==19993== Releasing lock...
[2025-01-07 06:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:47:02] Production.INFO: ==19991== Lock acquired, processing the job...
[2025-01-07 01:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:47:02] Production.INFO: ==19991== Releasing lock...
[2025-01-07 01:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:47:03] Production.INFO: ==19995== Lock acquired, processing the job...
[2025-01-07 01:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:47:03] Production.INFO: ==19999== Lock acquired, processing the job...
[2025-01-07 01:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:47:03] Production.INFO: ==20003== Lock acquired, processing the job...
[2025-01-07 01:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:47:03] Production.INFO: ==20001== Lock acquired, processing the job...
[2025-01-07 01:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:47:03] Production.INFO: ==19997== Lock acquired, processing the job...
[2025-01-07 01:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:47:03] Production.INFO: ==20005== Lock acquired, processing the job...
[2025-01-07 01:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:47:03] Production.INFO: Account Balance Start.
[2025-01-07 01:47:03] Production.INFO: CreateAllLog Start
[2025-01-07 01:47:03] Production.INFO: 117
[2025-01-07 01:47:03] Production.INFO: Date 2024-12-08
[2025-01-07 01:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:47:03] Production.INFO: Date 2024-12-09
[2025-01-07 01:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 01:47:03] Production.INFO: count ==21
[2025-01-07 01:47:03] Production.ERROR: done
[2025-01-07 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-07 01:47:03] Production.INFO: count ==21
[2025-01-07 01:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:47:03] Production.INFO: Date 2024-12-10
[2025-01-07 01:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191628') start
[2025-01-07 01:47:04] Production.INFO: Date 2024-12-11
[2025-01-07 01:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:47:04] Production.INFO: Date 2024-12-12
[2025-01-07 01:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:47:04] Production.INFO: Date 2024-12-13
[2025-01-07 01:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191628') end
[2025-01-07 01:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:47:04] Production.INFO: 1
[2025-01-07 01:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:47:04] Production.ERROR: done
[2025-01-07 01:47:04] Production.INFO: ==19997== Releasing lock...
[2025-01-07 01:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:47:04] Production.INFO: Date 2024-12-14
[2025-01-07 01:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:47:04] Production.INFO: Date 2024-12-15
[2025-01-07 01:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:47:04] Production.INFO: ==20005== Releasing lock...
[2025-01-07 01:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:47:04] Production.INFO: Date 2024-12-16
[2025-01-07 01:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:47:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:47:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:47:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:47:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:47:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:47:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:47:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:47:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:47:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:47:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:47:04] Production.INFO: Date 2024-12-27
[2025-01-07 01:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:47:04] Production.INFO: Date 2024-12-28
[2025-01-07 01:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:47:04] Production.INFO: Date 2024-12-29
[2025-01-07 01:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:47:05] Production.INFO: Date 2024-12-30
[2025-01-07 01:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:47:05] Production.INFO: Date 2024-12-31
[2025-01-07 01:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:47:05] Production.INFO: Date 2025-01-01
[2025-01-07 01:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:47:05] Production.INFO: Date 2025-01-02
[2025-01-07 01:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:47:05] Production.INFO: Date 2025-01-03
[2025-01-07 01:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:47:05] Production.INFO: Date 2025-01-04
[2025-01-07 01:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:47:05
[end_date_ymd] => 2025-01-07 01:47:05
[RateCDR] => 1
)
[2025-01-07 01:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 22:47:05' and `end` < '2025-01-07 01:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 01:47:05] Production.INFO: Date 2025-01-05
[2025-01-07 01:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:47:05] Production.INFO: Date 2025-01-06
[2025-01-07 01:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:47:05] Production.INFO: Date 2025-01-07
[2025-01-07 01:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:47:05] Production.INFO: Total Charge 0
[2025-01-07 01:47:05] Production.INFO: CreateAllLog End
[2025-01-07 01:47:05] Production.INFO: Account Balance End.
[2025-01-07 01:47:05] Production.ERROR: CronJobId end 12
[2025-01-07 01:47:05] Production.INFO: ==20001== Releasing lock...
[2025-01-07 01:47:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:47:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:47:11] Production.ERROR: CronJobId end10
[2025-01-07 01:47:11] Production.INFO: ==19999== Releasing lock...
[2025-01-07 01:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:47:13] Production.INFO: call_cost start
[2025-01-07 01:47:13] Production.INFO: call_cost end
[2025-01-07 01:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:47:14] Production.INFO: ==19995== Releasing lock...
[2025-01-07 01:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:47:17] Production.INFO: count ==192
[2025-01-07 01:47:18] Production.ERROR: pbx CDR StartTime 2025-01-06 22:47:05 - End Time 2025-01-07 01:47:05
[2025-01-07 01:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191629', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191629', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191629', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191629', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:47:18] Production.INFO: ProcessCDR(1,14191629,1,1,2)
[2025-01-07 01:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191629,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:47:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191629,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:47:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191629,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191629,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191629', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191629', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:47:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:47:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:47:22] Production.INFO: ==20003== Releasing lock...
[2025-01-07 01:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:47:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 06:48:02] Production.INFO: ==20061== Lock acquired, processing the job...
[2025-01-07 06:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:48:02] Production.INFO: neon service started
[2025-01-07 06:48:02] Production.INFO: neon service started
[2025-01-07 06:48:02] Production.INFO: ==20061== Releasing lock...
[2025-01-07 06:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:48:02] Production.INFO: ==20063== Lock acquired, processing the job...
[2025-01-07 01:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:48:02] Production.INFO: ==20063== Releasing lock...
[2025-01-07 01:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:48:02] Production.INFO: ==20065== Lock acquired, processing the job...
[2025-01-07 06:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:48:02] Production.INFO: ==20065== Releasing lock...
[2025-01-07 06:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:48:03] Production.INFO: ==20075== Lock acquired, processing the job...
[2025-01-07 01:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:48:03] Production.ERROR: done
[2025-01-07 01:48:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:48:03] Production.ERROR: done
[2025-01-07 01:48:03] Production.INFO: ==20077== Lock acquired, processing the job...
[2025-01-07 01:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:48:03] Production.INFO: ==20067== Lock acquired, processing the job...
[2025-01-07 01:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:48:03] Production.INFO: ==20069== Lock acquired, processing the job...
[2025-01-07 01:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:48:03] Production.INFO: ==20071== Lock acquired, processing the job...
[2025-01-07 01:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:48:03] Production.INFO: ==20073== Lock acquired, processing the job...
[2025-01-07 01:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 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-07 01:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:48:04] Production.INFO: count ==21
[2025-01-07 01:48:04] Production.INFO: Account Balance Start.
[2025-01-07 01:48:04] Production.INFO: CreateAllLog Start
[2025-01-07 01:48:04] Production.INFO: 117
[2025-01-07 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-07 01:48:04] Production.INFO: count ==21
[2025-01-07 01:48:04] Production.INFO: Date 2024-12-08
[2025-01-07 01:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191632') start
[2025-01-07 01:48:04] Production.INFO: Date 2024-12-09
[2025-01-07 01:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:48:04] Production.INFO: Date 2024-12-10
[2025-01-07 01:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:48:04] Production.INFO: ==20069== Releasing lock...
[2025-01-07 01:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:48:04] Production.INFO: Date 2024-12-11
[2025-01-07 01:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191632') end
[2025-01-07 01:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:48:04] Production.INFO: 1
[2025-01-07 01:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:48:04] Production.INFO: Date 2024-12-12
[2025-01-07 01:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:48:04] Production.INFO: ==20077== Releasing lock...
[2025-01-07 01:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:48:04] Production.INFO: Date 2024-12-13
[2025-01-07 01:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:48:04] Production.INFO: Date 2024-12-14
[2025-01-07 01:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:48:04] Production.INFO: Date 2024-12-15
[2025-01-07 01:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:48:04] Production.INFO: Date 2024-12-16
[2025-01-07 01:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:48:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:48:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:48:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:48:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:48:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:48:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:48:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:48:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:48:05] Production.INFO: Date 2024-12-25
[2025-01-07 01:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:48:05] Production.INFO: Date 2024-12-26
[2025-01-07 01:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:48:05] Production.INFO: Date 2024-12-27
[2025-01-07 01:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:48:05] Production.INFO: Date 2024-12-28
[2025-01-07 01:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:48:05] Production.INFO: Date 2024-12-29
[2025-01-07 01:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:48:05] Production.INFO: Date 2024-12-30
[2025-01-07 01:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:48:05] Production.INFO: Date 2024-12-31
[2025-01-07 01:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:48:05] Production.INFO: Date 2025-01-01
[2025-01-07 01:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:48:05] Production.INFO: Date 2025-01-02
[2025-01-07 01:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:48:05] Production.INFO: Date 2025-01-03
[2025-01-07 01:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:48:05] Production.INFO: Date 2025-01-04
[2025-01-07 01:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:48:05] Production.INFO: Date 2025-01-05
[2025-01-07 01:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:48:05] Production.INFO: Date 2025-01-06
[2025-01-07 01:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:48:05
[end_date_ymd] => 2025-01-07 01:48:05
[RateCDR] => 1
)
[2025-01-07 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-06 22:48:05' and `end` < '2025-01-07 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-07 01:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:48:05] Production.INFO: Date 2025-01-07
[2025-01-07 01:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:48:05] Production.INFO: Total Charge 0
[2025-01-07 01:48:05] Production.INFO: CreateAllLog End
[2025-01-07 01:48:05] Production.INFO: Account Balance End.
[2025-01-07 01:48:05] Production.ERROR: CronJobId end 12
[2025-01-07 01:48:05] Production.INFO: ==20073== Releasing lock...
[2025-01-07 01:48:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:48:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:48:10] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:362
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(362): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_update...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(363): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#4 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->statement()
#5 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::getOutstandingAmount()
#6 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_updateSOAOffSet(1,0))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(363): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#2 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->statement()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::getOutstandingAmount()
#4 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#7 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 {main}
[2025-01-07 01:48:10] Production.ERROR: CronJobId end10
[2025-01-07 01:48:10] Production.INFO: ==20071== Releasing lock...
[2025-01-07 01:48:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:48:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:48:13] Production.INFO: call_cost start
[2025-01-07 01:48:13] Production.INFO: call_cost end
[2025-01-07 01:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:48:14] Production.INFO: ==20067== Releasing lock...
[2025-01-07 01:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:48:18] Production.INFO: count ==192
[2025-01-07 01:48:18] Production.ERROR: pbx CDR StartTime 2025-01-06 22:48:05 - End Time 2025-01-07 01:48:05
[2025-01-07 01:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191630', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191630', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191630', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191630', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:48:18] Production.INFO: ProcessCDR(1,14191630,1,1,2)
[2025-01-07 01:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191630,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191630,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191630,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191630,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191630', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191630', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:48:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:48:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:48:21] Production.INFO: ==20075== Releasing lock...
[2025-01-07 01:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:48:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 06:49:01] Production.INFO: ==20135== Lock acquired, processing the job...
[2025-01-07 06:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:49:01] Production.INFO: neon service started
[2025-01-07 06:49:01] Production.INFO: neon service started
[2025-01-07 06:49:01] Production.INFO: ==20135== Releasing lock...
[2025-01-07 06:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:49:01] Production.INFO: ==20137== Lock acquired, processing the job...
[2025-01-07 01:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:49:02] Production.INFO: ==20137== Releasing lock...
[2025-01-07 01:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:49:02] Production.INFO: ==20139== Lock acquired, processing the job...
[2025-01-07 06:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:49:02] Production.INFO: ==20139== Releasing lock...
[2025-01-07 06:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:49:02] Production.INFO: ==20141== Lock acquired, processing the job...
[2025-01-07 01:49:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:49:03] Production.INFO: ==20146== Lock acquired, processing the job...
[2025-01-07 01:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:49:03] Production.INFO: ==20148== Lock acquired, processing the job...
[2025-01-07 01:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:49:03] Production.INFO: ==20143== Lock acquired, processing the job...
[2025-01-07 01:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:49:03] Production.INFO: Account Balance Start.
[2025-01-07 01:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:49:03] Production.INFO: CreateAllLog Start
[2025-01-07 01:49:03] Production.INFO: 117
[2025-01-07 01:49:03] Production.INFO: Date 2024-12-08
[2025-01-07 01:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:49:03] Production.INFO: ==20150== Lock acquired, processing the job...
[2025-01-07 01:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:49:03] Production.INFO: Date 2024-12-09
[2025-01-07 01:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:49:03] Production.INFO: Date 2024-12-10
[2025-01-07 01:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:49:03] Production.INFO: ==20152== Lock acquired, processing the job...
[2025-01-07 01:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:49:03] Production.INFO: Date 2024-12-11
[2025-01-07 01:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:49:03] Production.INFO: Date 2024-12-12
[2025-01-07 01:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:49:03] Production.INFO: Date 2024-12-13
[2025-01-07 01:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 01:49:03] Production.INFO: Date 2024-12-14
[2025-01-07 01:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:49:03] Production.INFO: count ==21
[2025-01-07 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-07 01:49:03] Production.INFO: count ==21
[2025-01-07 01:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191638') start
[2025-01-07 01:49:03] Production.INFO: Date 2024-12-15
[2025-01-07 01:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:49:03] Production.INFO: ==20143== Releasing lock...
[2025-01-07 01:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:49:03] Production.INFO: Date 2024-12-16
[2025-01-07 01:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:49:03] Production.INFO: Date 2024-12-17
[2025-01-07 01:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:49:03] Production.ERROR: done
[2025-01-07 01:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191638') end
[2025-01-07 01:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:49:03] Production.INFO: 1
[2025-01-07 01:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:49:03] Production.INFO: Date 2024-12-18
[2025-01-07 01:49:03] Production.INFO: ==20152== Releasing lock...
[2025-01-07 01:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:49:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:49:03] Production.INFO: Date 2024-12-19
[2025-01-07 01:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:49:03] Production.INFO: Date 2024-12-20
[2025-01-07 01:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:49:03] Production.ERROR: done
[2025-01-07 01:49:03] Production.INFO: Date 2024-12-21
[2025-01-07 01:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:49:03] Production.INFO: Date 2024-12-22
[2025-01-07 01:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:49:03] Production.INFO: Date 2024-12-23
[2025-01-07 01:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:49:03] Production.INFO: Date 2024-12-24
[2025-01-07 01:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:49:03] Production.INFO: Date 2024-12-25
[2025-01-07 01:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:49:03] Production.INFO: Date 2024-12-26
[2025-01-07 01:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:49:03] Production.INFO: Date 2024-12-27
[2025-01-07 01:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:49:04] Production.INFO: Date 2024-12-28
[2025-01-07 01:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:49:04] Production.INFO: Date 2024-12-29
[2025-01-07 01:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:49:04] Production.INFO: Date 2024-12-30
[2025-01-07 01:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:49:04] Production.INFO: Date 2024-12-31
[2025-01-07 01:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:49:04] Production.INFO: Date 2025-01-01
[2025-01-07 01:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:49:04] Production.INFO: Date 2025-01-02
[2025-01-07 01:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:49:04] Production.INFO: Date 2025-01-03
[2025-01-07 01:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:49:04] Production.INFO: Date 2025-01-04
[2025-01-07 01:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:49:04] Production.INFO: Date 2025-01-05
[2025-01-07 01:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:49:04] Production.INFO: Date 2025-01-06
[2025-01-07 01:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:49:04] Production.INFO: Date 2025-01-07
[2025-01-07 01:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:49:04] Production.INFO: Total Charge 0
[2025-01-07 01:49:04] Production.INFO: CreateAllLog End
[2025-01-07 01:49:04] Production.INFO: Account Balance End.
[2025-01-07 01:49:04] Production.ERROR: CronJobId end 12
[2025-01-07 01:49:04] Production.INFO: ==20148== Releasing lock...
[2025-01-07 01:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:49:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:49:04
[end_date_ymd] => 2025-01-07 01:49:04
[RateCDR] => 1
)
[2025-01-07 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-06 22:49:04' and `end` < '2025-01-07 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-07 01:49:10] Production.ERROR: CronJobId end10
[2025-01-07 01:49:10] Production.INFO: ==20146== Releasing lock...
[2025-01-07 01:49:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:49:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:49:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:49:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:49:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:49:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:49:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:49:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:49:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:49:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:49:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:49:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:49:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:49:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:49:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:49:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:49:13] Production.INFO: call_cost start
[2025-01-07 01:49:13] Production.INFO: call_cost end
[2025-01-07 01:49:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:49:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:49:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:49:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:49:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:49:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:49:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:49:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:49:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:49:13] Production.INFO: ==20141== Releasing lock...
[2025-01-07 01:49:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:49:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:49:17] Production.INFO: count ==195
[2025-01-07 01:49:17] Production.ERROR: pbx CDR StartTime 2025-01-06 22:49:04 - End Time 2025-01-07 01:49:04
[2025-01-07 01:49:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191639', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191639', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191639', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191639', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:49:17] Production.INFO: ProcessCDR(1,14191639,1,1,2)
[2025-01-07 01:49:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191639,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:49:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191639,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:49:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191639,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:49:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191639,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191639', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191639', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:49:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:49:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:49:20] Production.INFO: ==20150== Releasing lock...
[2025-01-07 01:49:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:49:20] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 06:50:01] Production.INFO: ==20207== Lock acquired, processing the job...
[2025-01-07 06:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:50:02] Production.INFO: neon service started
[2025-01-07 06:50:02] Production.INFO: neon service started
[2025-01-07 06:50:02] Production.INFO: ==20207== Releasing lock...
[2025-01-07 06:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:50:02] Production.INFO: ==20209== Lock acquired, processing the job...
[2025-01-07 01:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:50:02] Production.INFO: ==20209== Releasing lock...
[2025-01-07 01:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:50:03] Production.INFO: ==20211== Lock acquired, processing the job...
[2025-01-07 06:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:50:03] Production.INFO: ==20211== Releasing lock...
[2025-01-07 06:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:50:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:50:03] Production.INFO: ==20214== Lock acquired, processing the job...
[2025-01-07 01:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 01:50:03] Production.INFO: ==20216== Lock acquired, processing the job...
[2025-01-07 01:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:50:03] Production.INFO: ==20220== Lock acquired, processing the job...
[2025-01-07 01:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 01:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 01:50:03] Production.ERROR: CronJob PID - 20216
[2025-01-07 01:50:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-07 01:50:03] Production.ERROR: CronJob ID - 5
[2025-01-07 01:50:03] Production.ERROR: CronJob Last Run Time 2025-01-07 01:50:00
[2025-01-07 01:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 01:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 01:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 01:50:03] Production.ERROR: CronJob PID - 20220
[2025-01-07 01:50:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-07 01:50:03] Production.ERROR: CronJob ID - 10
[2025-01-07 01:50:03] Production.ERROR: CronJob Last Run Time 2025-01-07 01:50:00
[2025-01-07 01:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 01:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 01:50:03] Production.INFO: ==20222== Lock acquired, processing the job...
[2025-01-07 01:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:50:03] Production.INFO: ==20226== Lock acquired, processing the job...
[2025-01-07 01:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 01:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 01:50:03] Production.INFO: ==20214== Releasing lock...
[2025-01-07 01:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 01:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 01:50:03] Production.INFO: Account Balance Start.
[2025-01-07 01:50:03] Production.INFO: CreateAllLog Start
[2025-01-07 01:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:50:03] Production.INFO: 117
[2025-01-07 01:50:03] Production.INFO: Date 2024-12-08
[2025-01-07 01:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:50:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:50:04] Production.INFO: ==20218== Lock acquired, processing the job...
[2025-01-07 01:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:50:04] Production.INFO: Date 2024-12-09
[2025-01-07 01:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:50:04] Production.INFO: Date 2024-12-10
[2025-01-07 01:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:50:04] Production.INFO: ==20224== Lock acquired, processing the job...
[2025-01-07 01:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:50:04] Production.INFO: ==20228== Lock acquired, processing the job...
[2025-01-07 01:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:50:04] Production.INFO: Date 2024-12-11
[2025-01-07 01:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:50:04] Production.INFO: Date 2024-12-12
[2025-01-07 01:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:50:04] Production.INFO: Date 2024-12-13
[2025-01-07 01:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:50:04] Production.INFO: Date 2024-12-14
[2025-01-07 01:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:50:04] Production.ERROR: done
[2025-01-07 01:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 01:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14191644', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 01:50:04] Production.INFO: Date 2024-12-15
[2025-01-07 01:50:04] Production.INFO: count ==21
[2025-01-07 01:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 01:50:04] Production.INFO: count ==21
[2025-01-07 01:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191643') start
[2025-01-07 01:50:04] Production.INFO: ==20218== Releasing lock...
[2025-01-07 01:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:50:04] Production.ERROR: done
[2025-01-07 01:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:50:04] Production.INFO: Date 2024-12-16
[2025-01-07 01:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:50:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191643') end
[2025-01-07 01:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:50:04] Production.INFO: 1
[2025-01-07 01:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:50:04] Production.ERROR: done
[2025-01-07 01:50:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:50:04] Production.INFO: ==20228== Releasing lock...
[2025-01-07 01:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:50:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:50:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:50:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:50:05] Production.INFO: Date 2024-12-22
[2025-01-07 01:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:50:05] Production.INFO: Date 2024-12-23
[2025-01-07 01:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:50:05] Production.INFO: Date 2024-12-24
[2025-01-07 01:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:50:05] Production.INFO: Date 2024-12-25
[2025-01-07 01:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:50:05] Production.INFO: Date 2024-12-26
[2025-01-07 01:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:50:05] Production.INFO: Date 2024-12-27
[2025-01-07 01:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:50:05] Production.INFO: Date 2024-12-28
[2025-01-07 01:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:50:05] Production.INFO: Date 2024-12-29
[2025-01-07 01:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:50:05] Production.INFO: Date 2024-12-30
[2025-01-07 01:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:50:05] Production.INFO: Date 2024-12-31
[2025-01-07 01:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:50:05] Production.INFO: Date 2025-01-01
[2025-01-07 01:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:50:05] Production.INFO: Date 2025-01-02
[2025-01-07 01:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:50:05] Production.INFO: Date 2025-01-03
[2025-01-07 01:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:50:05] Production.INFO: Date 2025-01-04
[2025-01-07 01:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:50:05] Production.INFO: Date 2025-01-05
[2025-01-07 01:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:50:05] Production.INFO: Date 2025-01-06
[2025-01-07 01:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:50:05] Production.INFO: Date 2025-01-07
[2025-01-07 01:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:50:05] Production.INFO: Total Charge 0
[2025-01-07 01:50:05] Production.INFO: CreateAllLog End
[2025-01-07 01:50:05] Production.INFO: Account Balance End.
[2025-01-07 01:50:05] Production.ERROR: CronJobId end 12
[2025-01-07 01:50:05] Production.INFO: ==20222== Releasing lock...
[2025-01-07 01:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:50:06
[end_date_ymd] => 2025-01-07 01:50:06
[RateCDR] => 1
)
[2025-01-07 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-06 22:50:06' and `end` < '2025-01-07 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-07 01:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14191644', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 01:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 01:50:08] Production.INFO: ProcessCDR(1,14191644,1,1,2)
[2025-01-07 01:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14191644,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14191644,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:50:08] Production.INFO: ==20226== Releasing lock...
[2025-01-07 01:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 01:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-07 01:50:12] Production.ERROR: CronJobId end10
[2025-01-07 01:50:12] Production.INFO: ==20220== Releasing lock...
[2025-01-07 01:50:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:50:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:50:14] Production.INFO: call_cost start
[2025-01-07 01:50:14] Production.INFO: call_cost end
[2025-01-07 01:50:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:50:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:50:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:50:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:50:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:50:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:50:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:50:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:50:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:50:15] Production.INFO: ==20216== Releasing lock...
[2025-01-07 01:50:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:50:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:50:19] Production.INFO: count ==209
[2025-01-07 01:50:19] Production.ERROR: pbx CDR StartTime 2025-01-06 22:50:06 - End Time 2025-01-07 01:50:06
[2025-01-07 01:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191645', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191645', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191645', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191645', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:50:19] Production.INFO: ProcessCDR(1,14191645,1,1,2)
[2025-01-07 01:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191645,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191645,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191645,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191645,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191645', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191645', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:50:22] Production.INFO: ==20224== Releasing lock...
[2025-01-07 01:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:50:22] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 06:51:01] Production.INFO: ==20281== Lock acquired, processing the job...
[2025-01-07 06:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:51:01] Production.INFO: neon service started
[2025-01-07 06:51:01] Production.INFO: neon service started
[2025-01-07 06:51:01] Production.INFO: ==20281== Releasing lock...
[2025-01-07 06:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:51:01] Production.INFO: ==20283== Lock acquired, processing the job...
[2025-01-07 01:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:51:01] Production.INFO: ==20283== Releasing lock...
[2025-01-07 01:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:51:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:51:02] Production.INFO: ==20285== Lock acquired, processing the job...
[2025-01-07 06:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:51:02] Production.INFO: ==20285== Releasing lock...
[2025-01-07 06:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:51:02] Production.INFO: ==20287== Lock acquired, processing the job...
[2025-01-07 01:51:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:51:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:51:02] Production.INFO: ==20289== Lock acquired, processing the job...
[2025-01-07 01:51:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:51:02] Production.INFO: ==20291== Lock acquired, processing the job...
[2025-01-07 01:51:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:51:03] Production.INFO: ==20293== Lock acquired, processing the job...
[2025-01-07 01:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:51:03] Production.INFO: ==20295== Lock acquired, processing the job...
[2025-01-07 01:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:51:03] Production.INFO: ==20297== Lock acquired, processing the job...
[2025-01-07 01:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:51:03] Production.INFO: Account Balance Start.
[2025-01-07 01:51:03] Production.INFO: CreateAllLog Start
[2025-01-07 01:51:03] Production.INFO: 117
[2025-01-07 01:51:03] Production.INFO: Date 2024-12-08
[2025-01-07 01:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:51:03] Production.INFO: Date 2024-12-09
[2025-01-07 01:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:51:03] Production.INFO: Date 2024-12-10
[2025-01-07 01:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:51:03] Production.INFO: count ==21
[2025-01-07 01:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:51:03] Production.INFO: Date 2024-12-11
[2025-01-07 01:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:51:03] Production.INFO: count ==21
[2025-01-07 01:51:03] Production.INFO: Date 2024-12-12
[2025-01-07 01:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191649') start
[2025-01-07 01:51:03] Production.ERROR: done
[2025-01-07 01:51:03] Production.INFO: Date 2024-12-13
[2025-01-07 01:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:51:03] Production.INFO: Date 2024-12-14
[2025-01-07 01:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:51:03] Production.INFO: ==20289== Releasing lock...
[2025-01-07 01:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:51:03] Production.INFO: Date 2024-12-15
[2025-01-07 01:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191649') end
[2025-01-07 01:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:51:03] Production.INFO: 1
[2025-01-07 01:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:51:03] Production.INFO: ==20297== Releasing lock...
[2025-01-07 01:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:51:03] Production.INFO: Date 2024-12-16
[2025-01-07 01:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:51:03] Production.ERROR: done
[2025-01-07 01:51:03] Production.INFO: Date 2024-12-17
[2025-01-07 01:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:51:03] Production.INFO: Date 2024-12-18
[2025-01-07 01:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:51:03] Production.INFO: Date 2024-12-19
[2025-01-07 01:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:51:03] Production.INFO: Date 2024-12-20
[2025-01-07 01:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:51:03] Production.INFO: Date 2024-12-21
[2025-01-07 01:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:51:03] Production.INFO: Date 2024-12-22
[2025-01-07 01:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:51:03] Production.INFO: Date 2024-12-23
[2025-01-07 01:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:51:03] Production.INFO: Date 2024-12-24
[2025-01-07 01:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:51:03] Production.INFO: Date 2024-12-25
[2025-01-07 01:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:51:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:51:04] Production.INFO: Date 2024-12-27
[2025-01-07 01:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:51:04] Production.INFO: Date 2024-12-28
[2025-01-07 01:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:51:04] Production.INFO: Date 2024-12-29
[2025-01-07 01:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:51:04] Production.INFO: Date 2024-12-30
[2025-01-07 01:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:51:04] Production.INFO: Date 2024-12-31
[2025-01-07 01:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:51:04] Production.INFO: Date 2025-01-01
[2025-01-07 01:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:51:04] Production.INFO: Date 2025-01-02
[2025-01-07 01:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:51:04] Production.INFO: Date 2025-01-03
[2025-01-07 01:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:51:04] Production.INFO: Date 2025-01-04
[2025-01-07 01:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:51:04] Production.INFO: Date 2025-01-05
[2025-01-07 01:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:51:04] Production.INFO: Date 2025-01-06
[2025-01-07 01:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:51:04] Production.INFO: Date 2025-01-07
[2025-01-07 01:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:51:04] Production.INFO: Total Charge 0
[2025-01-07 01:51:04] Production.INFO: CreateAllLog End
[2025-01-07 01:51:04] Production.INFO: Account Balance End.
[2025-01-07 01:51:04] Production.ERROR: CronJobId end 12
[2025-01-07 01:51:04] Production.INFO: ==20293== Releasing lock...
[2025-01-07 01:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:51:04
[end_date_ymd] => 2025-01-07 01:51:04
[RateCDR] => 1
)
[2025-01-07 01:51:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 22:51:04' and `end` < '2025-01-07 01:51:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 01:51:10] Production.ERROR: CronJobId end10
[2025-01-07 01:51:10] Production.INFO: ==20291== Releasing lock...
[2025-01-07 01:51:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:51:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:51:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:51:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:51:13] Production.INFO: call_cost start
[2025-01-07 01:51:13] Production.INFO: call_cost end
[2025-01-07 01:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:51:14] Production.INFO: ==20287== Releasing lock...
[2025-01-07 01:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:51:18] Production.INFO: count ==217
[2025-01-07 01:51:18] Production.ERROR: pbx CDR StartTime 2025-01-06 22:51:04 - End Time 2025-01-07 01:51:04
[2025-01-07 01:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191650', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191650', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191650', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191650', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:51:18] Production.INFO: ProcessCDR(1,14191650,1,1,2)
[2025-01-07 01:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191650,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191650,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191650,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191650,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191650', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191650', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:51:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:51:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:51:21] Production.INFO: ==20295== Releasing lock...
[2025-01-07 01:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:51:21] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 06:52:01] Production.INFO: ==20350== Lock acquired, processing the job...
[2025-01-07 06:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:52:01] Production.INFO: neon service started
[2025-01-07 06:52:01] Production.INFO: neon service started
[2025-01-07 06:52:01] Production.INFO: ==20350== Releasing lock...
[2025-01-07 06:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:52:02] Production.INFO: ==20353== Lock acquired, processing the job...
[2025-01-07 01:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:52:02] Production.INFO: ==20355== Lock acquired, processing the job...
[2025-01-07 06:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:52:02] Production.INFO: ==20355== Releasing lock...
[2025-01-07 06:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:52:02] Production.INFO: ==20353== Releasing lock...
[2025-01-07 01:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:52:03] Production.INFO: ==20361== Lock acquired, processing the job...
[2025-01-07 01:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:52:03] Production.INFO: ==20357== Lock acquired, processing the job...
[2025-01-07 01:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:52:03] Production.INFO: ==20359== Lock acquired, processing the job...
[2025-01-07 01:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:52:03] Production.INFO: ==20363== Lock acquired, processing the job...
[2025-01-07 01:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:52:03] Production.INFO: ==20365== Lock acquired, processing the job...
[2025-01-07 01:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:52:03] Production.INFO: ==20367== Lock acquired, processing the job...
[2025-01-07 01:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:52:03] Production.INFO: Account Balance Start.
[2025-01-07 01:52:03] Production.INFO: CreateAllLog Start
[2025-01-07 01:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:52:03] Production.INFO: 117
[2025-01-07 01:52:03] Production.INFO: Date 2024-12-08
[2025-01-07 01:52:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:52:03] Production.INFO: Date 2024-12-09
[2025-01-07 01:52:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:52:04] Production.INFO: count ==21
[2025-01-07 01:52:04] Production.INFO: ==20359== Releasing lock...
[2025-01-07 01:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:52:04] Production.INFO: Date 2024-12-10
[2025-01-07 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-07 01:52:04] Production.INFO: count ==21
[2025-01-07 01:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:52:04] Production.INFO: Date 2024-12-11
[2025-01-07 01:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191654') start
[2025-01-07 01:52:04] Production.INFO: Date 2024-12-12
[2025-01-07 01:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:52:04] Production.INFO: Date 2024-12-13
[2025-01-07 01:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:52:04] Production.ERROR: done
[2025-01-07 01:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191654') end
[2025-01-07 01:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:52:04] Production.INFO: 1
[2025-01-07 01:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:52:04] Production.INFO: Date 2024-12-14
[2025-01-07 01:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:52:04] Production.INFO: ==20367== Releasing lock...
[2025-01-07 01:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:52:04] Production.INFO: Date 2024-12-15
[2025-01-07 01:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:52:04] Production.INFO: Date 2024-12-16
[2025-01-07 01:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:52:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:52:04] Production.ERROR: done
[2025-01-07 01:52:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:52:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:52:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:52:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:52:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:52:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:52:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:52:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:52:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:52:04] Production.INFO: Date 2024-12-27
[2025-01-07 01:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:52:04] Production.INFO: Date 2024-12-28
[2025-01-07 01:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:52:04] Production.INFO: Date 2024-12-29
[2025-01-07 01:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:52:04] Production.INFO: Date 2024-12-30
[2025-01-07 01:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:52:04] Production.INFO: Date 2024-12-31
[2025-01-07 01:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:52:04] Production.INFO: Date 2025-01-01
[2025-01-07 01:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:52:04] Production.INFO: Date 2025-01-02
[2025-01-07 01:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:52:04] Production.INFO: Date 2025-01-03
[2025-01-07 01:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:52:04] Production.INFO: Date 2025-01-04
[2025-01-07 01:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:52:04] Production.INFO: Date 2025-01-05
[2025-01-07 01:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:52:04] Production.INFO: Date 2025-01-06
[2025-01-07 01:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:52:04] Production.INFO: Date 2025-01-07
[2025-01-07 01:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:52:04] Production.INFO: Total Charge 0
[2025-01-07 01:52:05] Production.INFO: CreateAllLog End
[2025-01-07 01:52:05] Production.INFO: Account Balance End.
[2025-01-07 01:52:05] Production.ERROR: CronJobId end 12
[2025-01-07 01:52:05] Production.INFO: ==20363== Releasing lock...
[2025-01-07 01:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:52:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:52:05
[end_date_ymd] => 2025-01-07 01:52:05
[RateCDR] => 1
)
[2025-01-07 01:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 22:52:05' and `end` < '2025-01-07 01:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 01:52:11] Production.ERROR: CronJobId end10
[2025-01-07 01:52:11] Production.INFO: ==20361== Releasing lock...
[2025-01-07 01:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:52:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:52:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:52:13] Production.INFO: call_cost start
[2025-01-07 01:52:13] Production.INFO: call_cost end
[2025-01-07 01:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:52:14] Production.INFO: ==20357== Releasing lock...
[2025-01-07 01:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:52:18] Production.INFO: count ==217
[2025-01-07 01:52:18] Production.ERROR: pbx CDR StartTime 2025-01-06 22:52:05 - End Time 2025-01-07 01:52:05
[2025-01-07 01:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191655', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191655', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191655', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191655', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:52:18] Production.INFO: ProcessCDR(1,14191655,1,1,2)
[2025-01-07 01:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191655,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191655,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191655,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191655,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191655', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191655', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:52:21] Production.INFO: ==20365== Releasing lock...
[2025-01-07 01:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:52:21] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 06:53:02] Production.INFO: ==20420== Lock acquired, processing the job...
[2025-01-07 06:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:53:02] Production.INFO: neon service started
[2025-01-07 06:53:02] Production.INFO: neon service started
[2025-01-07 06:53:02] Production.INFO: ==20420== Releasing lock...
[2025-01-07 06:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:53:02] Production.INFO: ==20422== Lock acquired, processing the job...
[2025-01-07 01:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:53:02] Production.INFO: ==20422== Releasing lock...
[2025-01-07 01:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:53:02] Production.INFO: ==20424== Lock acquired, processing the job...
[2025-01-07 06:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:53:03] Production.INFO: ==20424== Releasing lock...
[2025-01-07 06:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:53:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:53:03] Production.INFO: ==20427== Lock acquired, processing the job...
[2025-01-07 01:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:53:03] Production.INFO: ==20429== Lock acquired, processing the job...
[2025-01-07 01:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:53:03] Production.INFO: ==20433== Lock acquired, processing the job...
[2025-01-07 01:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:53:03] Production.INFO: Account Balance Start.
[2025-01-07 01:53:03] Production.INFO: CreateAllLog Start
[2025-01-07 01:53:03] Production.INFO: 117
[2025-01-07 01:53:03] Production.INFO: Date 2024-12-08
[2025-01-07 01:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:53:03] Production.INFO: Date 2024-12-09
[2025-01-07 01:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:53:03] Production.INFO: ==20429== Releasing lock...
[2025-01-07 01:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:53:03] Production.INFO: Date 2024-12-10
[2025-01-07 01:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:53:03] Production.INFO: ==20431== Lock acquired, processing the job...
[2025-01-07 01:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:53:03] Production.INFO: Date 2024-12-11
[2025-01-07 01:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:53:03] Production.INFO: Date 2024-12-12
[2025-01-07 01:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:53:03] Production.INFO: ==20435== Lock acquired, processing the job...
[2025-01-07 01:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:53:04] Production.INFO: Date 2024-12-13
[2025-01-07 01:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:53:04] Production.INFO: ==20437== Lock acquired, processing the job...
[2025-01-07 01:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:53:04] Production.INFO: Date 2024-12-14
[2025-01-07 01:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:53:04] Production.INFO: Date 2024-12-15
[2025-01-07 01:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:53:04] Production.INFO: Date 2024-12-16
[2025-01-07 01:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:53:04] Production.INFO: count ==21
[2025-01-07 01:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:53:04] Production.INFO: count ==21
[2025-01-07 01:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191659') start
[2025-01-07 01:53:04] Production.ERROR: done
[2025-01-07 01:53:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191659') end
[2025-01-07 01:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:53:04] Production.INFO: 1
[2025-01-07 01:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:53:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:53:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:53:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:53:04] Production.INFO: ==20437== Releasing lock...
[2025-01-07 01:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:53:04] Production.ERROR: done
[2025-01-07 01:53:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:53:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:53:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:53:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:53:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:53:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:53:04] Production.INFO: Date 2024-12-27
[2025-01-07 01:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:53:05] Production.INFO: Date 2024-12-28
[2025-01-07 01:53:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:53:05] Production.INFO: Date 2024-12-29
[2025-01-07 01:53:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:53:05] Production.INFO: Date 2024-12-30
[2025-01-07 01:53:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:53:05] Production.INFO: Date 2024-12-31
[2025-01-07 01:53:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:53:05] Production.INFO: Date 2025-01-01
[2025-01-07 01:53:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:53:05] Production.INFO: Date 2025-01-02
[2025-01-07 01:53:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:53:05] Production.INFO: Date 2025-01-03
[2025-01-07 01:53:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:53:05] Production.INFO: Date 2025-01-04
[2025-01-07 01:53:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:53:05] Production.INFO: Date 2025-01-05
[2025-01-07 01:53:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:53:05] Production.INFO: Date 2025-01-06
[2025-01-07 01:53:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:53:05] Production.INFO: Date 2025-01-07
[2025-01-07 01:53:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:53:05] Production.INFO: Total Charge 0
[2025-01-07 01:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:53:05
[end_date_ymd] => 2025-01-07 01:53:05
[RateCDR] => 1
)
[2025-01-07 01:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 22:53:05' and `end` < '2025-01-07 01:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 01:53:05] Production.INFO: CreateAllLog End
[2025-01-07 01:53:05] Production.INFO: Account Balance End.
[2025-01-07 01:53:05] Production.ERROR: CronJobId end 12
[2025-01-07 01:53:05] Production.INFO: ==20433== Releasing lock...
[2025-01-07 01:53:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:53:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:53:11] Production.ERROR: CronJobId end10
[2025-01-07 01:53:11] Production.INFO: ==20431== Releasing lock...
[2025-01-07 01:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:53:13] Production.INFO: call_cost start
[2025-01-07 01:53:13] Production.INFO: call_cost end
[2025-01-07 01:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:53:14] Production.INFO: ==20427== Releasing lock...
[2025-01-07 01:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:53:18] Production.INFO: count ==217
[2025-01-07 01:53:18] Production.ERROR: pbx CDR StartTime 2025-01-06 22:53:05 - End Time 2025-01-07 01:53:05
[2025-01-07 01:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191660', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191660', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191660', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191660', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:53:18] Production.INFO: ProcessCDR(1,14191660,1,1,2)
[2025-01-07 01:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191660,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191660,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191660,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191660,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191660', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191660', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:53:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:53:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:53:21] Production.INFO: ==20435== Releasing lock...
[2025-01-07 01:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:53:21] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 06:54:01] Production.INFO: ==20490== Lock acquired, processing the job...
[2025-01-07 06:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:54:01] Production.INFO: neon service started
[2025-01-07 06:54:01] Production.INFO: neon service started
[2025-01-07 06:54:01] Production.INFO: ==20490== Releasing lock...
[2025-01-07 06:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:54:01] Production.INFO: ==20494== Lock acquired, processing the job...
[2025-01-07 06:54:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:54:01] Production.INFO: ==20494== Releasing lock...
[2025-01-07 06:54:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:54:01] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:54:02] Production.INFO: ==20492== Lock acquired, processing the job...
[2025-01-07 01:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:54:02] Production.INFO: ==20492== Releasing lock...
[2025-01-07 01:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:54:03] Production.INFO: ==20498== Lock acquired, processing the job...
[2025-01-07 01:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:54:03] Production.INFO: ==20505== Lock acquired, processing the job...
[2025-01-07 01:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:54:03] Production.INFO: ==20496== Lock acquired, processing the job...
[2025-01-07 01:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:54:03] Production.INFO: ==20500== Lock acquired, processing the job...
[2025-01-07 01:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:54:03] Production.INFO: ==20503== Lock acquired, processing the job...
[2025-01-07 01:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:54:03] Production.INFO: ==20507== Lock acquired, processing the job...
[2025-01-07 01:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:54:03] Production.INFO: ==20498== Releasing lock...
[2025-01-07 01:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:54:03] Production.ERROR: done
[2025-01-07 01:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:54:03] Production.INFO: Account Balance Start.
[2025-01-07 01:54:03] Production.INFO: CreateAllLog Start
[2025-01-07 01:54:03] Production.INFO: 117
[2025-01-07 01:54:03] Production.INFO: Date 2024-12-08
[2025-01-07 01:54:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:54:03] Production.INFO: count ==21
[2025-01-07 01:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:54:03] Production.ERROR: done
[2025-01-07 01:54:03] Production.INFO: Date 2024-12-09
[2025-01-07 01:54:03] Production.INFO: count ==21
[2025-01-07 01:54:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:54:03] Production.INFO: Date 2024-12-10
[2025-01-07 01:54:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191664') start
[2025-01-07 01:54:03] Production.INFO: Date 2024-12-11
[2025-01-07 01:54:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:54:03] Production.INFO: Date 2024-12-12
[2025-01-07 01:54:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:54:03] Production.INFO: Date 2024-12-13
[2025-01-07 01:54:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191664') end
[2025-01-07 01:54:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:54:03] Production.INFO: 1
[2025-01-07 01:54:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:54:03] Production.INFO: Date 2024-12-14
[2025-01-07 01:54:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:54:04] Production.INFO: Date 2024-12-15
[2025-01-07 01:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:54:04] Production.INFO: ==20507== Releasing lock...
[2025-01-07 01:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:54:04] Production.INFO: Date 2024-12-16
[2025-01-07 01:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:54:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:54:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:54:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:54:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:54:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:54:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:54:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:54:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:54:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:54:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:54:04] Production.INFO: Date 2024-12-27
[2025-01-07 01:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:54:04] Production.INFO: Date 2024-12-28
[2025-01-07 01:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:54:04] Production.INFO: Date 2024-12-29
[2025-01-07 01:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:54:04] Production.INFO: Date 2024-12-30
[2025-01-07 01:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:54:04] Production.INFO: Date 2024-12-31
[2025-01-07 01:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:54:04] Production.INFO: Date 2025-01-01
[2025-01-07 01:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:54:04] Production.INFO: Date 2025-01-02
[2025-01-07 01:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:54:04] Production.INFO: Date 2025-01-03
[2025-01-07 01:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:54:04] Production.INFO: Date 2025-01-04
[2025-01-07 01:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:54:04] Production.INFO: Date 2025-01-05
[2025-01-07 01:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:54:04] Production.INFO: Date 2025-01-06
[2025-01-07 01:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:54:04] Production.INFO: Date 2025-01-07
[2025-01-07 01:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:54:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:54:04
[end_date_ymd] => 2025-01-07 01:54:04
[RateCDR] => 1
)
[2025-01-07 01: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-06 22:54:04' and `end` < '2025-01-07 01: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-07 01:54:04] Production.INFO: Total Charge 0
[2025-01-07 01:54:04] Production.INFO: CreateAllLog End
[2025-01-07 01:54:04] Production.INFO: Account Balance End.
[2025-01-07 01:54:05] Production.ERROR: CronJobId end 12
[2025-01-07 01:54:05] Production.INFO: ==20503== Releasing lock...
[2025-01-07 01:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:54:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:54:11] Production.ERROR: CronJobId end10
[2025-01-07 01:54:11] Production.INFO: ==20500== Releasing lock...
[2025-01-07 01:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:54:13] Production.INFO: call_cost start
[2025-01-07 01:54:13] Production.INFO: call_cost end
[2025-01-07 01:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:54:14] Production.INFO: ==20496== Releasing lock...
[2025-01-07 01:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:54:18] Production.INFO: count ==217
[2025-01-07 01:54:18] Production.ERROR: pbx CDR StartTime 2025-01-06 22:54:04 - End Time 2025-01-07 01:54:04
[2025-01-07 01:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191665', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191665', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191665', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191665', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:54:18] Production.INFO: ProcessCDR(1,14191665,1,1,2)
[2025-01-07 01:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191665,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191665,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191665,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191665,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191665', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191665', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:54:21] Production.INFO: ==20505== Releasing lock...
[2025-01-07 01:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:54:21] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 06:55:01] Production.INFO: ==20598== Lock acquired, processing the job...
[2025-01-07 06:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:55:01] Production.INFO: neon service started
[2025-01-07 06:55:01] Production.INFO: neon service started
[2025-01-07 06:55:01] Production.INFO: ==20598== Releasing lock...
[2025-01-07 06:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:55:02] Production.INFO: ==20600== Lock acquired, processing the job...
[2025-01-07 01:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:55:02] Production.INFO: ==20602== Lock acquired, processing the job...
[2025-01-07 06:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:55:02] Production.INFO: ==20602== Releasing lock...
[2025-01-07 06:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:55:02] Production.INFO: ==20600== Releasing lock...
[2025-01-07 01:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:55:03] Production.INFO: ==20605== Lock acquired, processing the job...
[2025-01-07 01:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:55:03] Production.INFO: ==20607== Lock acquired, processing the job...
[2025-01-07 01:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:55:03] Production.INFO: ==20613== Lock acquired, processing the job...
[2025-01-07 01:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:55:03] Production.INFO: ==20609== Lock acquired, processing the job...
[2025-01-07 01:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:55:03] Production.INFO: ==20607== Releasing lock...
[2025-01-07 01:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:55:03] Production.INFO: ==20615== Lock acquired, processing the job...
[2025-01-07 01:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:55:03] Production.INFO: ==20611== Lock acquired, processing the job...
[2025-01-07 01:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:55:04] Production.INFO: Account Balance Start.
[2025-01-07 01:55:04] Production.INFO: CreateAllLog Start
[2025-01-07 01:55:04] Production.INFO: 117
[2025-01-07 01:55:04] Production.INFO: Date 2024-12-08
[2025-01-07 01:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:55:04] Production.ERROR: done
[2025-01-07 01:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:55:04] Production.INFO: count ==21
[2025-01-07 01:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:55:04] Production.INFO: count ==21
[2025-01-07 01:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191668') start
[2025-01-07 01:55:04] Production.INFO: Date 2024-12-09
[2025-01-07 01:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:55:04] Production.ERROR: done
[2025-01-07 01:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191668') end
[2025-01-07 01:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:55:04] Production.INFO: 1
[2025-01-07 01:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:55:04] Production.INFO: Date 2024-12-10
[2025-01-07 01:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:55:04] Production.INFO: Date 2024-12-11
[2025-01-07 01:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:55:04] Production.INFO: Date 2024-12-12
[2025-01-07 01:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:55:04] Production.INFO: ==20615== Releasing lock...
[2025-01-07 01:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:55:04] Production.INFO: Date 2024-12-13
[2025-01-07 01:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:55:04] Production.INFO: Date 2024-12-14
[2025-01-07 01:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:55:04] Production.INFO: Date 2024-12-15
[2025-01-07 01:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:55:04] Production.INFO: Date 2024-12-16
[2025-01-07 01:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:55:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:55:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:55:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:55:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:55:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:55:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:55:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:55:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:55:05] Production.INFO: Date 2024-12-25
[2025-01-07 01:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:55:05] Production.INFO: Date 2024-12-26
[2025-01-07 01:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:55:05] Production.INFO: Date 2024-12-27
[2025-01-07 01:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:55:05] Production.INFO: Date 2024-12-28
[2025-01-07 01:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:55:05] Production.INFO: Date 2024-12-29
[2025-01-07 01:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:55:05] Production.INFO: Date 2024-12-30
[2025-01-07 01:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:55:05] Production.INFO: Date 2024-12-31
[2025-01-07 01:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:55:05] Production.INFO: Date 2025-01-01
[2025-01-07 01:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:55:05] Production.INFO: Date 2025-01-02
[2025-01-07 01:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:55:05] Production.INFO: Date 2025-01-03
[2025-01-07 01:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:55:05] Production.INFO: Date 2025-01-04
[2025-01-07 01:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:55:05] Production.INFO: Date 2025-01-05
[2025-01-07 01:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:55:05] Production.INFO: Date 2025-01-06
[2025-01-07 01:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:55:05] Production.INFO: Date 2025-01-07
[2025-01-07 01:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:55:05] Production.INFO: Total Charge 0
[2025-01-07 01:55:05] Production.INFO: CreateAllLog End
[2025-01-07 01:55:05] Production.INFO: Account Balance End.
[2025-01-07 01:55:05] Production.ERROR: CronJobId end 12
[2025-01-07 01:55:05] Production.INFO: ==20611== Releasing lock...
[2025-01-07 01:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:55:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:55:05
[end_date_ymd] => 2025-01-07 01:55:05
[RateCDR] => 1
)
[2025-01-07 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-06 22:55:05' and `end` < '2025-01-07 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-07 01:55:12] Production.ERROR: CronJobId end10
[2025-01-07 01:55:12] Production.INFO: ==20609== Releasing lock...
[2025-01-07 01:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:55:13] Production.INFO: call_cost start
[2025-01-07 01:55:13] Production.INFO: call_cost end
[2025-01-07 01:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:55:14] Production.INFO: ==20605== Releasing lock...
[2025-01-07 01:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:55:19] Production.INFO: count ==217
[2025-01-07 01:55:19] Production.ERROR: pbx CDR StartTime 2025-01-06 22:55:05 - End Time 2025-01-07 01:55:05
[2025-01-07 01:55:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191670', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191670', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191670', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191670', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:55:19] Production.INFO: ProcessCDR(1,14191670,1,1,2)
[2025-01-07 01:55:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191670,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191670,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191670,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191670,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191670', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191670', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:55:22] Production.INFO: ==20613== Releasing lock...
[2025-01-07 01:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:55:22] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 06:56:01] Production.INFO: ==20670== Lock acquired, processing the job...
[2025-01-07 06:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:56:01] Production.INFO: neon service started
[2025-01-07 06:56:01] Production.INFO: neon service started
[2025-01-07 06:56:01] Production.INFO: ==20670== Releasing lock...
[2025-01-07 06:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:56:01] Production.INFO: ==20672== Lock acquired, processing the job...
[2025-01-07 01:56:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:56:02] Production.INFO: ==20674== Lock acquired, processing the job...
[2025-01-07 06:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:56:02] Production.INFO: ==20674== Releasing lock...
[2025-01-07 06:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:56:02] Production.INFO: ==20672== Releasing lock...
[2025-01-07 01:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:56:02] Production.INFO: ==20679== Lock acquired, processing the job...
[2025-01-07 01:56:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:56:02] Production.INFO: ==20677== Lock acquired, processing the job...
[2025-01-07 01:56:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:56:03] Production.INFO: ==20685== Lock acquired, processing the job...
[2025-01-07 01:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:56:03] Production.INFO: ==20681== Lock acquired, processing the job...
[2025-01-07 01:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:56:03] Production.INFO: ==20679== Releasing lock...
[2025-01-07 01:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:56:03] Production.INFO: ==20683== Lock acquired, processing the job...
[2025-01-07 01:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:56:03] Production.INFO: Account Balance Start.
[2025-01-07 01:56:03] Production.INFO: CreateAllLog Start
[2025-01-07 01:56:03] Production.INFO: 117
[2025-01-07 01:56:03] Production.INFO: ==20687== Lock acquired, processing the job...
[2025-01-07 01:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:56:03] Production.ERROR: done
[2025-01-07 01:56:03] Production.INFO: Date 2024-12-08
[2025-01-07 01:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:56:03] Production.INFO: Date 2024-12-09
[2025-01-07 01:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:56:03] Production.INFO: count ==21
[2025-01-07 01:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:56:03] Production.INFO: count ==21
[2025-01-07 01:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191674') start
[2025-01-07 01:56:03] Production.INFO: Date 2024-12-10
[2025-01-07 01:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:56:03] Production.ERROR: done
[2025-01-07 01:56:03] Production.INFO: Date 2024-12-11
[2025-01-07 01:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191674') end
[2025-01-07 01:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:56:03] Production.INFO: 1
[2025-01-07 01:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:56:03] Production.INFO: ==20687== Releasing lock...
[2025-01-07 01:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:56:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:56:03] Production.INFO: Date 2024-12-12
[2025-01-07 01:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:56:03] Production.INFO: Date 2024-12-13
[2025-01-07 01:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:56:03] Production.INFO: Date 2024-12-14
[2025-01-07 01:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:56:03] Production.INFO: Date 2024-12-15
[2025-01-07 01:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:56:03] Production.INFO: Date 2024-12-16
[2025-01-07 01:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:56:03] Production.INFO: Date 2024-12-17
[2025-01-07 01:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:56:03] Production.INFO: Date 2024-12-18
[2025-01-07 01:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:56:03] Production.INFO: Date 2024-12-19
[2025-01-07 01:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:56:03] Production.INFO: Date 2024-12-20
[2025-01-07 01:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:56:03] Production.INFO: Date 2024-12-21
[2025-01-07 01:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:56:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:56:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:56:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:56:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:56:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:56:04] Production.INFO: Date 2024-12-27
[2025-01-07 01:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:56:04] Production.INFO: Date 2024-12-28
[2025-01-07 01:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:56:04] Production.INFO: Date 2024-12-29
[2025-01-07 01:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:56:04] Production.INFO: Date 2024-12-30
[2025-01-07 01:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:56:04] Production.INFO: Date 2024-12-31
[2025-01-07 01:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:56:04] Production.INFO: Date 2025-01-01
[2025-01-07 01:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:56:04] Production.INFO: Date 2025-01-02
[2025-01-07 01:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:56:04] Production.INFO: Date 2025-01-03
[2025-01-07 01:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:56:04] Production.INFO: Date 2025-01-04
[2025-01-07 01:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:56:04] Production.INFO: Date 2025-01-05
[2025-01-07 01:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:56:04] Production.INFO: Date 2025-01-06
[2025-01-07 01:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:56:04] Production.INFO: Date 2025-01-07
[2025-01-07 01:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:56:04] Production.INFO: Total Charge 0
[2025-01-07 01:56:04] Production.INFO: CreateAllLog End
[2025-01-07 01:56:04] Production.INFO: Account Balance End.
[2025-01-07 01:56:04] Production.ERROR: CronJobId end 12
[2025-01-07 01:56:04] Production.INFO: ==20683== Releasing lock...
[2025-01-07 01:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:56:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:56:04
[end_date_ymd] => 2025-01-07 01:56:04
[RateCDR] => 1
)
[2025-01-07 01: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-06 22:56:04' and `end` < '2025-01-07 01: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-07 01:56:10] Production.ERROR: CronJobId end10
[2025-01-07 01:56:10] Production.INFO: ==20681== Releasing lock...
[2025-01-07 01:56:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:56:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:56:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:56:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:56:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:56:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:56:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:56:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:56:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:56:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:56:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:56:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:56:12] Production.INFO: call_cost start
[2025-01-07 01:56:12] Production.INFO: call_cost end
[2025-01-07 01:56:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:56:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:56:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:56:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:56:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:56:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:56:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:56:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:56:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:56:13] Production.INFO: ==20677== Releasing lock...
[2025-01-07 01:56:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:56:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:56:18] Production.INFO: count ==217
[2025-01-07 01:56:18] Production.ERROR: pbx CDR StartTime 2025-01-06 22:56:04 - End Time 2025-01-07 01:56:04
[2025-01-07 01:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191675', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191675', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191675', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191675', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:56:18] Production.INFO: ProcessCDR(1,14191675,1,1,2)
[2025-01-07 01:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191675,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191675,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191675,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191675,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191675', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191675', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:56:21] Production.INFO: ==20685== Releasing lock...
[2025-01-07 01:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:56:21] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 06:57:01] Production.INFO: ==20751== Lock acquired, processing the job...
[2025-01-07 06:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:57:01] Production.INFO: neon service started
[2025-01-07 06:57:01] Production.INFO: neon service started
[2025-01-07 06:57:01] Production.INFO: ==20751== Releasing lock...
[2025-01-07 06:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:57:02] Production.INFO: ==20753== Lock acquired, processing the job...
[2025-01-07 01:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:57:02] Production.INFO: ==20753== Releasing lock...
[2025-01-07 01:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:57:02] Production.INFO: ==20755== Lock acquired, processing the job...
[2025-01-07 06:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:57:02] Production.INFO: ==20755== Releasing lock...
[2025-01-07 06:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:57:03] Production.INFO: ==20763== Lock acquired, processing the job...
[2025-01-07 01:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:57:03] Production.INFO: ==20757== Lock acquired, processing the job...
[2025-01-07 01:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:57:03] Production.INFO: ==20761== Lock acquired, processing the job...
[2025-01-07 01:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:57:03] Production.INFO: Account Balance Start.
[2025-01-07 01:57:03] Production.INFO: CreateAllLog Start
[2025-01-07 01:57:03] Production.INFO: 117
[2025-01-07 01:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:57:03] Production.INFO: Date 2024-12-08
[2025-01-07 01:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:57:03] Production.INFO: Date 2024-12-09
[2025-01-07 01:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:57:03] Production.INFO: ==20759== Lock acquired, processing the job...
[2025-01-07 01:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:57:03] Production.INFO: Date 2024-12-10
[2025-01-07 01:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:57:03] Production.INFO: ==20767== Lock acquired, processing the job...
[2025-01-07 01:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:57:03] Production.INFO: Date 2024-12-11
[2025-01-07 01:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:57:03] Production.INFO: Date 2024-12-12
[2025-01-07 01:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:57:03] Production.INFO: Date 2024-12-13
[2025-01-07 01:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:57:03] Production.INFO: Date 2024-12-14
[2025-01-07 01:57:03] Production.INFO: ==20765== Lock acquired, processing the job...
[2025-01-07 01:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:57:03] Production.INFO: count ==21
[2025-01-07 01:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:57:03] Production.INFO: count ==21
[2025-01-07 01:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191679') start
[2025-01-07 01:57:03] Production.INFO: Date 2024-12-15
[2025-01-07 01:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:57:03] Production.INFO: Date 2024-12-16
[2025-01-07 01:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:57:03] Production.INFO: ==20759== Releasing lock...
[2025-01-07 01:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:57:03] Production.INFO: Date 2024-12-17
[2025-01-07 01:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:57:03] Production.INFO: Date 2024-12-18
[2025-01-07 01:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:57:03] Production.INFO: Date 2024-12-19
[2025-01-07 01:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191679') end
[2025-01-07 01:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:57:03] Production.INFO: 1
[2025-01-07 01:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:57:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:57:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:57:04] Production.INFO: ==20767== Releasing lock...
[2025-01-07 01:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:57:04] Production.ERROR: done
[2025-01-07 01:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:57:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:57:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:57:04] Production.ERROR: done
[2025-01-07 01:57:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:57:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:57:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:57:04] Production.INFO: Date 2024-12-27
[2025-01-07 01:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:57:04] Production.INFO: Date 2024-12-28
[2025-01-07 01:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:57:04] Production.INFO: Date 2024-12-29
[2025-01-07 01:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:57:04] Production.INFO: Date 2024-12-30
[2025-01-07 01:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:57:04] Production.INFO: Date 2024-12-31
[2025-01-07 01:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:57:04] Production.INFO: Date 2025-01-01
[2025-01-07 01:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:57:04] Production.INFO: Date 2025-01-02
[2025-01-07 01:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:57:04] Production.INFO: Date 2025-01-03
[2025-01-07 01:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:57:04] Production.INFO: Date 2025-01-04
[2025-01-07 01:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:57:04] Production.INFO: Date 2025-01-05
[2025-01-07 01:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:57:04] Production.INFO: Date 2025-01-06
[2025-01-07 01:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:57:04] Production.INFO: Date 2025-01-07
[2025-01-07 01:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:57:04] Production.INFO: Total Charge 0
[2025-01-07 01:57:05] Production.INFO: CreateAllLog End
[2025-01-07 01:57:05] Production.INFO: Account Balance End.
[2025-01-07 01:57:05] Production.ERROR: CronJobId end 12
[2025-01-07 01:57:05] Production.INFO: ==20763== Releasing lock...
[2025-01-07 01:57:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:57:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:57:05
[end_date_ymd] => 2025-01-07 01:57:05
[RateCDR] => 1
)
[2025-01-07 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-06 22:57:05' and `end` < '2025-01-07 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-07 01:57:10] Production.ERROR: CronJobId end10
[2025-01-07 01:57:10] Production.INFO: ==20761== Releasing lock...
[2025-01-07 01:57:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:57:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:57:13] Production.INFO: call_cost start
[2025-01-07 01:57:13] Production.INFO: call_cost end
[2025-01-07 01:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:57:14] Production.INFO: ==20757== Releasing lock...
[2025-01-07 01:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:57:19] Production.INFO: count ==217
[2025-01-07 01:57:19] Production.ERROR: pbx CDR StartTime 2025-01-06 22:57:05 - End Time 2025-01-07 01:57:05
[2025-01-07 01:57:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191680', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191680', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191680', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191680', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:57:19] Production.INFO: ProcessCDR(1,14191680,1,1,2)
[2025-01-07 01:57:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191680,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191680,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191680,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191680,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191680', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191680', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:57:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:57:22] Production.INFO: ==20765== Releasing lock...
[2025-01-07 01:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:57:22] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 06:58:02] Production.INFO: ==20822== Lock acquired, processing the job...
[2025-01-07 06:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:58:02] Production.INFO: neon service started
[2025-01-07 06:58:02] Production.INFO: neon service started
[2025-01-07 06:58:02] Production.INFO: ==20822== Releasing lock...
[2025-01-07 06:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:58:02] Production.INFO: ==20826== Lock acquired, processing the job...
[2025-01-07 06:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:58:02] Production.INFO: ==20826== Releasing lock...
[2025-01-07 06:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:58:03] Production.INFO: ==20824== Lock acquired, processing the job...
[2025-01-07 01:58:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 01:58:03] Production.INFO: ==20824== Releasing lock...
[2025-01-07 01:58:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:58:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 01:58:03] Production.INFO: ==20829== Lock acquired, processing the job...
[2025-01-07 01:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:58:04] Production.INFO: ==20835== Lock acquired, processing the job...
[2025-01-07 01:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:58:04] Production.INFO: ==20837== Lock acquired, processing the job...
[2025-01-07 01:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:58:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:58:04] Production.INFO: Account Balance Start.
[2025-01-07 01:58:04] Production.INFO: CreateAllLog Start
[2025-01-07 01:58:04] Production.INFO: 117
[2025-01-07 01:58:04] Production.INFO: Date 2024-12-08
[2025-01-07 01:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:58:04] Production.INFO: Date 2024-12-09
[2025-01-07 01:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:58:04] Production.INFO: Date 2024-12-10
[2025-01-07 01:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:58:04] Production.INFO: Date 2024-12-11
[2025-01-07 01:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:58:04] Production.INFO: Date 2024-12-12
[2025-01-07 01:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:58:04] Production.INFO: ==20831== Lock acquired, processing the job...
[2025-01-07 01:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:58:04] Production.INFO: Date 2024-12-13
[2025-01-07 01:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:58:04] Production.INFO: ==20833== Lock acquired, processing the job...
[2025-01-07 01:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:58:04] Production.INFO: Date 2024-12-14
[2025-01-07 01:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:58:04] Production.INFO: ==20839== Lock acquired, processing the job...
[2025-01-07 01:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:58:04] Production.INFO: Date 2024-12-15
[2025-01-07 01:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:58:04] Production.ERROR: done
[2025-01-07 01:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:58:04] Production.INFO: Date 2024-12-16
[2025-01-07 01:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:58:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 01:58:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:58:04] Production.INFO: count ==21
[2025-01-07 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-07 01:58:04] Production.INFO: count ==21
[2025-01-07 01:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191684') start
[2025-01-07 01:58:04] Production.ERROR: done
[2025-01-07 01:58:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:58:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191684') end
[2025-01-07 01:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:58:04] Production.INFO: 1
[2025-01-07 01:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:58:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:58:04] Production.INFO: ==20831== Releasing lock...
[2025-01-07 01:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:58:04] Production.INFO: ==20839== Releasing lock...
[2025-01-07 01:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:58:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:58:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:58:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:58:05] Production.INFO: Date 2024-12-25
[2025-01-07 01:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:58:05] Production.INFO: Date 2024-12-26
[2025-01-07 01:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:58:05] Production.INFO: Date 2024-12-27
[2025-01-07 01:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:58:05] Production.INFO: Date 2024-12-28
[2025-01-07 01:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:58:05] Production.INFO: Date 2024-12-29
[2025-01-07 01:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:58:05] Production.INFO: Date 2024-12-30
[2025-01-07 01:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:58:05] Production.INFO: Date 2024-12-31
[2025-01-07 01:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:58:05] Production.INFO: Date 2025-01-01
[2025-01-07 01:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:58:05] Production.INFO: Date 2025-01-02
[2025-01-07 01:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:58:05] Production.INFO: Date 2025-01-03
[2025-01-07 01:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:58:05] Production.INFO: Date 2025-01-04
[2025-01-07 01:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:58:05] Production.INFO: Date 2025-01-05
[2025-01-07 01:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:58:05] Production.INFO: Date 2025-01-06
[2025-01-07 01:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:58:05] Production.INFO: Date 2025-01-07
[2025-01-07 01:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:58:05] Production.INFO: Total Charge 0
[2025-01-07 01:58:05] Production.INFO: CreateAllLog End
[2025-01-07 01:58:05] Production.INFO: Account Balance End.
[2025-01-07 01:58:05] Production.ERROR: CronJobId end 12
[2025-01-07 01:58:05] Production.INFO: ==20835== Releasing lock...
[2025-01-07 01:58:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:58:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:58:05
[end_date_ymd] => 2025-01-07 01:58:05
[RateCDR] => 1
)
[2025-01-07 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-06 22:58:05' and `end` < '2025-01-07 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-07 01:58:11] Production.ERROR: CronJobId end10
[2025-01-07 01:58:11] Production.INFO: ==20833== Releasing lock...
[2025-01-07 01:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:58:14] Production.INFO: call_cost start
[2025-01-07 01:58:14] Production.INFO: call_cost end
[2025-01-07 01:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:58:14] Production.INFO: ==20829== Releasing lock...
[2025-01-07 01:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:58:18] Production.INFO: count ==215
[2025-01-07 01:58:18] Production.ERROR: pbx CDR StartTime 2025-01-06 22:58:05 - End Time 2025-01-07 01:58:05
[2025-01-07 01:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191685', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191685', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191685', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191685', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:58:18] Production.INFO: ProcessCDR(1,14191685,1,1,2)
[2025-01-07 01:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191685,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191685,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191685,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191685,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191685', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191685', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:58:21] Production.INFO: ==20837== Releasing lock...
[2025-01-07 01:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:58:21] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 06:59:02] Production.INFO: ==20895== Lock acquired, processing the job...
[2025-01-07 06:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 06:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 06:59:02] Production.INFO: neon service started
[2025-01-07 06:59:02] Production.INFO: neon service started
[2025-01-07 06:59:02] Production.INFO: ==20895== Releasing lock...
[2025-01-07 06:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 06:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 01:59:02] Production.INFO: ==20898== Lock acquired, processing the job...
[2025-01-07 01:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:59:02] Production.INFO: ==20900== Lock acquired, processing the job...
[2025-01-07 06:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 01:59:02] Production.INFO: ==20898== Releasing lock...
[2025-01-07 01:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 01:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:59:02] Production.INFO: ==20900== Releasing lock...
[2025-01-07 06:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 06:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 01:59:03] Production.INFO: ==20908== Lock acquired, processing the job...
[2025-01-07 01:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 01:59:03] Production.INFO: ==20910== Lock acquired, processing the job...
[2025-01-07 01:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 01:59:03] Production.INFO: Account Balance Start.
[2025-01-07 01:59:03] Production.INFO: CreateAllLog Start
[2025-01-07 01:59:03] Production.INFO: 117
[2025-01-07 01:59:03] Production.INFO: Date 2024-12-08
[2025-01-07 01:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 01:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:59:03] Production.INFO: Date 2024-12-09
[2025-01-07 01:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:59:03] Production.INFO: Date 2024-12-10
[2025-01-07 01:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:59:03] Production.INFO: Date 2024-12-11
[2025-01-07 01:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:59:03] Production.INFO: ==20902== Lock acquired, processing the job...
[2025-01-07 01:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 01:59:03] Production.INFO: ==20904== Lock acquired, processing the job...
[2025-01-07 01:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 01:59:03] Production.INFO: Date 2024-12-12
[2025-01-07 01:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:59:03] Production.INFO: ==20906== Lock acquired, processing the job...
[2025-01-07 01:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 01:59:03] Production.INFO: Date 2024-12-13
[2025-01-07 01:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:59:03] Production.INFO: Date 2024-12-14
[2025-01-07 01:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:59:03] Production.INFO: Date 2024-12-15
[2025-01-07 01:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 01:59:03] Production.INFO: ==20912== Lock acquired, processing the job...
[2025-01-07 01:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 01:59:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 01:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 01:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 01:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 01:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 01:59:04] Production.INFO: Date 2024-12-16
[2025-01-07 01:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:59:04] Production.INFO: Date 2024-12-17
[2025-01-07 01:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:59:04] Production.INFO: Date 2024-12-18
[2025-01-07 01:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:59:04] Production.INFO: count ==21
[2025-01-07 01:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 01:59:04] Production.INFO: count ==21
[2025-01-07 01:59:04] Production.INFO: Date 2024-12-19
[2025-01-07 01:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:59:04] Production.ERROR: done
[2025-01-07 01:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 01:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191689') start
[2025-01-07 01:59:04] Production.INFO: Date 2024-12-20
[2025-01-07 01:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:59:04] Production.ERROR: done
[2025-01-07 01:59:04] Production.INFO: Date 2024-12-21
[2025-01-07 01:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:59:04] Production.INFO: ==20904== Releasing lock...
[2025-01-07 01:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 01:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 01:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191689') end
[2025-01-07 01:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 01:59:04] Production.INFO: 1
[2025-01-07 01:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 01:59:04] Production.INFO: ==20912== Releasing lock...
[2025-01-07 01:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 01:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 01:59:04] Production.INFO: Date 2024-12-22
[2025-01-07 01:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:59:04] Production.INFO: Date 2024-12-23
[2025-01-07 01:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:59:04] Production.INFO: Date 2024-12-24
[2025-01-07 01:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:59:04] Production.INFO: Date 2024-12-25
[2025-01-07 01:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:59:04] Production.INFO: Date 2024-12-26
[2025-01-07 01:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:59:04] Production.INFO: Date 2024-12-27
[2025-01-07 01:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:59:04] Production.INFO: Date 2024-12-28
[2025-01-07 01:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:59:04] Production.INFO: Date 2024-12-29
[2025-01-07 01:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:59:04] Production.INFO: Date 2024-12-30
[2025-01-07 01:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:59:04] Production.INFO: Date 2024-12-31
[2025-01-07 01:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:59:04] Production.INFO: Date 2025-01-01
[2025-01-07 01:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:59:04] Production.INFO: Date 2025-01-02
[2025-01-07 01:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 01:59:05] Production.INFO: Date 2025-01-03
[2025-01-07 01:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:59:05] Production.INFO: Date 2025-01-04
[2025-01-07 01:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:59:05] Production.INFO: Date 2025-01-05
[2025-01-07 01:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:59:05] Production.INFO: Date 2025-01-06
[2025-01-07 01:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:59:05] Production.INFO: Date 2025-01-07
[2025-01-07 01:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 01:59:05] Production.INFO: Total Charge 0
[2025-01-07 01:59:05] Production.INFO: CreateAllLog End
[2025-01-07 01:59:05] Production.INFO: Account Balance End.
[2025-01-07 01:59:05] Production.ERROR: CronJobId end 12
[2025-01-07 01:59:05] Production.INFO: ==20908== Releasing lock...
[2025-01-07 01:59:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 01:59:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 01:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 22:59:05
[end_date_ymd] => 2025-01-07 01:59:05
[RateCDR] => 1
)
[2025-01-07 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-06 22:59:05' and `end` < '2025-01-07 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-07 01:59:11] Production.ERROR: CronJobId end10
[2025-01-07 01:59:11] Production.INFO: ==20906== Releasing lock...
[2025-01-07 01:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 01:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 01:59:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 01:59:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 01:59:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 01:59:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 01:59:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 01:59:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 01:59:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 01:59:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 01:59:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 01:59:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 01:59:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 01:59:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 01:59:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 01:59:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 01:59:13] Production.INFO: call_cost start
[2025-01-07 01:59:13] Production.INFO: call_cost end
[2025-01-07 01:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 01:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 01:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 01:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 01:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 01:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 01:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 01:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 01:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 01:59:14] Production.INFO: ==20902== Releasing lock...
[2025-01-07 01:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 01:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 01:59:20] Production.INFO: count ==214
[2025-01-07 01:59:20] Production.ERROR: pbx CDR StartTime 2025-01-06 22:59:05 - End Time 2025-01-07 01:59:05
[2025-01-07 01:59:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 01:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191690', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191690', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191690', 'tblTempVendorCDR_20' ) start
[2025-01-07 01:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191690', 'tblTempVendorCDR_20' ) end
[2025-01-07 01:59:20] Production.INFO: ProcessCDR(1,14191690,1,1,2)
[2025-01-07 01:59:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191690,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:59:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191690,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 01:59:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191690,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:59:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191690,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 01:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191690', 'tblTempUsageDetail_20' ) start
[2025-01-07 01:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191690', 'tblTempUsageDetail_20' ) end
[2025-01-07 01:59:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 01:59:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 01:59:23] Production.INFO: ==20910== Releasing lock...
[2025-01-07 01:59:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 01:59:23] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 07:00:01] Production.INFO: ==20969== Lock acquired, processing the job...
[2025-01-07 07:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:00:01] Production.INFO: neon service started
[2025-01-07 07:00:01] Production.INFO: neon service started
[2025-01-07 07:00:01] Production.INFO: ==20969== Releasing lock...
[2025-01-07 07:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:00:01] Production.INFO: ==20972== Lock acquired, processing the job...
[2025-01-07 02:00:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:00:02] Production.INFO: ==20972== Releasing lock...
[2025-01-07 02:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:00:02] Production.INFO: ==20974== Lock acquired, processing the job...
[2025-01-07 07:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:00:02] Production.INFO: ==20974== Releasing lock...
[2025-01-07 07:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:00:03] Production.INFO: ==20980== Lock acquired, processing the job...
[2025-01-07 02:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:00:03] Production.INFO: ==20982== Lock acquired, processing the job...
[2025-01-07 02:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:00:03] Production.INFO: ==20992== Lock acquired, processing the job...
[2025-01-07 02:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:00:03] Production.INFO: ==20976== Lock acquired, processing the job...
[2025-01-07 02:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 02:00:03] Production.INFO: ==20978== Lock acquired, processing the job...
[2025-01-07 02:00:03] Production.INFO: servercleanup-command-servercleanup-companyid-1-cronjobid-4 #Starts#
[2025-01-07 02:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 02:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 02:00:03] Production.ERROR: CronJob PID - 20980
[2025-01-07 02:00:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-07 02:00:03] Production.ERROR: CronJob ID - 5
[2025-01-07 02:00:03] Production.ERROR: CronJob Last Run Time 2025-01-07 02:00:00
[2025-01-07 02:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 02:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 02:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 02:00:03] Production.ERROR: CronJob PID - 20982
[2025-01-07 02:00:03] Production.ERROR: CronJob Title - Account Block
[2025-01-07 02:00:03] Production.ERROR: CronJob ID - 7
[2025-01-07 02:00:03] Production.ERROR: CronJob Last Run Time 2025-01-07 02:00:00
[2025-01-07 02:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 02:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 02:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 02:00:03] Production.ERROR: CronJob PID - 20992
[2025-01-07 02:00:03] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-07 02:00:03] Production.ERROR: CronJob ID - 19
[2025-01-07 02:00:03] Production.ERROR: CronJob Last Run Time 2025-01-07 02:00:00
[2025-01-07 02:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 02:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 02:00:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:00:03] Production.INFO: ==20984== Lock acquired, processing the job...
[2025-01-07 02:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:00:03] Production.INFO: ==20986== Lock acquired, processing the job...
[2025-01-07 02:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 02:00:03] Production.INFO: ==20976== Releasing lock...
[2025-01-07 02:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 02:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 02:00:03] Production.INFO: count ==21
[2025-01-07 02: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-07 02:00:03] Production.INFO: count ==21
[2025-01-07 02:00:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191693') start
[2025-01-07 02:00:03] Production.INFO: ==20982== Releasing lock...
[2025-01-07 02:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:00:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:00:03] Production.INFO: ==20988== Lock acquired, processing the job...
[2025-01-07 02:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:00:03] Production.INFO: Account Balance Start.
[2025-01-07 02:00:03] Production.INFO: CreateAllLog Start
[2025-01-07 02:00:03] Production.INFO: 117
[2025-01-07 02:00:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191693') end
[2025-01-07 02:00:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:00:03] Production.INFO: 1
[2025-01-07 02:00:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:00:03] Production.INFO: Date 2024-12-08
[2025-01-07 02:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:00:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:00:03] Production.INFO: ==20990== Lock acquired, processing the job...
[2025-01-07 02:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 02:00:04] Production.INFO: Date 2024-12-09
[2025-01-07 02:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:00:04] Production.INFO: ==20992== Releasing lock...
[2025-01-07 02:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:00:04] Production.INFO: Date 2024-12-10
[2025-01-07 02:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:00:04] Production.INFO: Date 2024-12-11
[2025-01-07 02:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:00:04] Production.ERROR: done
[2025-01-07 02:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:00:04] Production.INFO: Date 2024-12-12
[2025-01-07 02:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:00:04] Production.ERROR: done
[2025-01-07 02:00:04] Production.ERROR: done
[2025-01-07 02:00:04] Production.INFO: Date 2024-12-13
[2025-01-07 02:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 02:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14191695', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 02:00:04] Production.INFO: Date 2024-12-14
[2025-01-07 02:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:00:04] Production.INFO: Date 2024-12-15
[2025-01-07 02:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:00:04] Production.INFO: Date 2024-12-16
[2025-01-07 02:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:00:04] Production.INFO: Date 2024-12-17
[2025-01-07 02:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:00:04] Production.INFO: Disk FileSystem - df -Ph | awk '{printf "%-35s%-10s%-10s%-10s%-10s%s\n",$1,$2,$3,$4,$5,$6}'
[2025-01-07 02:00:04] Production.INFO: output
Filesystem Size Used Avail Use% Mounted
devtmpfs 15G 4.0K 15G 1% /dev
tmpfs 15G 0 15G 0% /dev/shm
tmpfs 15G 1.5G 13G 11% /run
tmpfs 15G 0 15G 0% /sys/fs/cgroup
/dev/sda1 50G 34G 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/loop7 53M 53M 0 100% /var/lib/snapd/snap/certbot/4182
/dev/loop3 53M 53M 0 100% /var/lib/snapd/snap/certbot/4193
tmpfs 2.9G 0 2.9G 0% /run/user/0
[2025-01-07 02:00:04] Production.INFO: Delete Storage Log Start
[2025-01-07 02:00:04] Production.INFO: Front End Delete Storage Log Start
[2025-01-07 02:00:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:00:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:00:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:00:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:00:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:00:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:00:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:00:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:00:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:00:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:00:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:00:04] Production.INFO: Date 2024-12-29
[2025-01-07 02:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:00:04] Production.INFO: Date 2024-12-30
[2025-01-07 02:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:00:04] Production.INFO: Date 2024-12-31
[2025-01-07 02:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:00:05] Production.INFO: Date 2025-01-01
[2025-01-07 02:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:00:05] Production.INFO: Date 2025-01-02
[2025-01-07 02:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:00:05] Production.INFO: Date 2025-01-03
[2025-01-07 02:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:00:05] Production.INFO: Date 2025-01-04
[2025-01-07 02:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:00:05] Production.INFO: Date 2025-01-05
[2025-01-07 02:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:00:05] Production.INFO: Date 2025-01-06
[2025-01-07 02:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:00:05] Production.INFO: Date 2025-01-07
[2025-01-07 02:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:00:05] Production.INFO: Total Charge 0
[2025-01-07 02:00:05] Production.INFO: CreateAllLog End
[2025-01-07 02:00:05] Production.INFO: find /var/www/html/onswitch.neon/app/storage/logs -maxdepth 1 -name "*.log" -mtime +31 -type f -exec rm {} \;
[2025-01-07 02:00:05] Production.INFO: Front End Delete Storage Log End
[2025-01-07 02:00:05] Production.INFO: Back End(Service) Delete Storage Log Start
[2025-01-07 02:00:05] Production.INFO: Account Balance End.
[2025-01-07 02:00:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:00:05] Production.INFO: ==20986== Releasing lock...
[2025-01-07 02:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:00:05
[end_date_ymd] => 2025-01-07 02:00:05
[RateCDR] => 1
)
[2025-01-07 02:00:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 23:00:05' and `end` < '2025-01-07 02:00:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 02:00:06] Production.INFO: find /var/www/html/onswitch.neon.service/storage/logs -maxdepth 1 -name "*.log" -mtime +31 -type f -exec rm {} \;
[2025-01-07 02:00:06] Production.INFO: Back End(Service) Delete Storage Log End
[2025-01-07 02:00:06] Production.INFO: Delete Storage Log End
[2025-01-07 02:00:06] Production.INFO: Delete Temp Files Start
[2025-01-07 02:00:07] Production.INFO: find /var/www/tmp* -maxdepth 1 -mtime +3 -type f -exec rm {} \;
[2025-01-07 02:00:07] Production.INFO: Delete Temp Files End
[2025-01-07 02:00:07] Production.INFO: Delete CDR File Start
[2025-01-07 02:00:07] Production.INFO: Delete CDR File End
[2025-01-07 02:00:08] Production.INFO: Disk FileSystem - df -Ph | awk '{printf "%-35s%-10s%-10s%-10s%-10s%s\n",$1,$2,$3,$4,$5,$6}'
[2025-01-07 02:00:08] Production.INFO: output
Filesystem Size Used Avail Use% Mounted
devtmpfs 15G 4.0K 15G 1% /dev
tmpfs 15G 0 15G 0% /dev/shm
tmpfs 15G 1.5G 13G 11% /run
tmpfs 15G 0 15G 0% /sys/fs/cgroup
/dev/sda1 50G 34G 17G 68% /
/dev/loop0 64M 64M 0 100% /var/lib/snapd/snap/core20/2379
/dev/loop4 104M 104M 0 100% /var/lib/snapd/snap/core/16928
/dev/loop5 105M 105M 0 100% /var/lib/snapd/snap/core/17200
/dev/sdb1 79G 26G 50G 34% /mysql
/dev/loop6 64M 64M 0 100% /var/lib/snapd/snap/core20/2434
/dev/loop1 67M 67M 0 100% /var/lib/snapd/snap/core24/609
/dev/loop7 53M 53M 0 100% /var/lib/snapd/snap/certbot/4182
/dev/loop3 53M 53M 0 100% /var/lib/snapd/snap/certbot/4193
tmpfs 2.9G 0 2.9G 0% /run/user/0
[2025-01-07 02:00:08] Production.ERROR: CronJobId end 4
[2025-01-07 02:00:08] Production.INFO: ==20978== Releasing lock...
[2025-01-07 02:00:08] Production.INFO: servercleanup-command-servercleanup-companyid-1-cronjobid-4 #Stops#
[2025-01-07 02:00:08] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 02:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14191695', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 02:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 02:00:09] Production.INFO: ProcessCDR(1,14191695,1,1,2)
[2025-01-07 02:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14191695,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14191695,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:00:09] Production.INFO: ==20990== Releasing lock...
[2025-01-07 02:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 02:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-07 02:00:14] Production.ERROR: CronJobId end10
[2025-01-07 02:00:14] Production.INFO: ==20984== Releasing lock...
[2025-01-07 02:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:00:15] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:00:15] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:00:15] Production.INFO: call_cost start
[2025-01-07 02:00:15] Production.INFO: call_cost end
[2025-01-07 02:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:00:16] Production.INFO: ==20980== Releasing lock...
[2025-01-07 02:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:00:18] Production.INFO: count ==220
[2025-01-07 02:00:18] Production.ERROR: pbx CDR StartTime 2025-01-06 23:00:05 - End Time 2025-01-07 02:00:05
[2025-01-07 02:00:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191696', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191696', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191696', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191696', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:00:18] Production.INFO: ProcessCDR(1,14191696,1,1,2)
[2025-01-07 02:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191696,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:00:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191696,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:00:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191696,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:00:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191696,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191696', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191696', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:00:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:00:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:00:21] Production.INFO: ==20988== Releasing lock...
[2025-01-07 02:00:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:00:21] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 07:01:02] Production.INFO: ==21135== Lock acquired, processing the job...
[2025-01-07 07:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:01:02] Production.INFO: neon service started
[2025-01-07 07:01:02] Production.INFO: neon service started
[2025-01-07 07:01:02] Production.INFO: ==21135== Releasing lock...
[2025-01-07 07:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:01:02] Production.INFO: ==21150== Lock acquired, processing the job...
[2025-01-07 07:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:01:02] Production.INFO: ==21150== Releasing lock...
[2025-01-07 07:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:01:02] Production.INFO: ==21148== Lock acquired, processing the job...
[2025-01-07 02:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:01:02] Production.INFO: ==21148== Releasing lock...
[2025-01-07 02:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:01:03] Production.INFO: ==21159== Lock acquired, processing the job...
[2025-01-07 02:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:01:03] Production.INFO: Account Balance Start.
[2025-01-07 02:01:03] Production.INFO: CreateAllLog Start
[2025-01-07 02:01:03] Production.INFO: 117
[2025-01-07 02:01:03] Production.INFO: Date 2024-12-08
[2025-01-07 02:01:03] Production.INFO: ==21163== Lock acquired, processing the job...
[2025-01-07 02:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:01:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:01:03] Production.INFO: ==21153== Lock acquired, processing the job...
[2025-01-07 02:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:01:03] Production.INFO: Date 2024-12-09
[2025-01-07 02:01:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:01:03] Production.INFO: Date 2024-12-10
[2025-01-07 02:01:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 02:01:03] Production.INFO: Date 2024-12-11
[2025-01-07 02:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:01:03] Production.INFO: count ==21
[2025-01-07 02:01:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 02:01:03] Production.INFO: count ==21
[2025-01-07 02:01:03] Production.INFO: ==21157== Lock acquired, processing the job...
[2025-01-07 02:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:01:03] Production.INFO: ==21161== Lock acquired, processing the job...
[2025-01-07 02:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:01:03] Production.INFO: ==21155== Lock acquired, processing the job...
[2025-01-07 02:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191698') start
[2025-01-07 02:01:04] Production.INFO: Date 2024-12-12
[2025-01-07 02:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:01:04] Production.INFO: Date 2024-12-13
[2025-01-07 02:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191698') end
[2025-01-07 02:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:01:04] Production.INFO: 1
[2025-01-07 02:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:01:04] Production.INFO: ==21163== Releasing lock...
[2025-01-07 02:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:01:04] Production.INFO: Date 2024-12-14
[2025-01-07 02:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:01:04] Production.INFO: Date 2024-12-15
[2025-01-07 02:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:01:04] Production.INFO: Date 2024-12-16
[2025-01-07 02:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:01:04] Production.ERROR: done
[2025-01-07 02:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:01:04] Production.INFO: Date 2024-12-17
[2025-01-07 02:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:01:04] Production.INFO: ==21155== Releasing lock...
[2025-01-07 02:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:01:04] Production.ERROR: done
[2025-01-07 02:01:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:01:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:01:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:01:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:01:05] Production.INFO: Date 2024-12-22
[2025-01-07 02:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:01:05] Production.INFO: Date 2024-12-23
[2025-01-07 02:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:01:05] Production.INFO: Date 2024-12-24
[2025-01-07 02:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:01:05] Production.INFO: Date 2024-12-25
[2025-01-07 02:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:01:05] Production.INFO: Date 2024-12-26
[2025-01-07 02:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:01:05] Production.INFO: Date 2024-12-27
[2025-01-07 02:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:01:05] Production.INFO: Date 2024-12-28
[2025-01-07 02:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:01:05] Production.INFO: Date 2024-12-29
[2025-01-07 02:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:01:05] Production.INFO: Date 2024-12-30
[2025-01-07 02:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:01:05] Production.INFO: Date 2024-12-31
[2025-01-07 02:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:01:05] Production.INFO: Date 2025-01-01
[2025-01-07 02:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:01:05] Production.INFO: Date 2025-01-02
[2025-01-07 02:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:01:05] Production.INFO: Date 2025-01-03
[2025-01-07 02:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:01:05] Production.INFO: Date 2025-01-04
[2025-01-07 02:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:01:05] Production.INFO: Date 2025-01-05
[2025-01-07 02:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:01:05] Production.INFO: Date 2025-01-06
[2025-01-07 02:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:01:05] Production.INFO: Date 2025-01-07
[2025-01-07 02:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:01:05] Production.INFO: Total Charge 0
[2025-01-07 02:01:05] Production.INFO: CreateAllLog End
[2025-01-07 02:01:05] Production.INFO: Account Balance End.
[2025-01-07 02:01:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:01:05] Production.INFO: ==21159== Releasing lock...
[2025-01-07 02:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:01:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:01:05
[end_date_ymd] => 2025-01-07 02:01:05
[RateCDR] => 1
)
[2025-01-07 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-06 23:01:05' and `end` < '2025-01-07 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-07 02:01:12] Production.ERROR: CronJobId end10
[2025-01-07 02:01:12] Production.INFO: ==21157== Releasing lock...
[2025-01-07 02:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:01:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:01:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:01:14] Production.INFO: call_cost start
[2025-01-07 02:01:14] Production.INFO: call_cost end
[2025-01-07 02:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:01:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:01:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:01:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:01:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:01:15] Production.INFO: ==21153== Releasing lock...
[2025-01-07 02:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:01:18] Production.INFO: count ==232
[2025-01-07 02:01:18] Production.ERROR: pbx CDR StartTime 2025-01-06 23:01:05 - End Time 2025-01-07 02:01:05
[2025-01-07 02:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191701', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191701', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191701', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191701', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:01:18] Production.INFO: ProcessCDR(1,14191701,1,1,2)
[2025-01-07 02:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191701,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191701,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191701,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191701,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191701', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191701', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:01:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:01:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:01:21] Production.INFO: ==21161== Releasing lock...
[2025-01-07 02:01:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:01:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:02:01] Production.INFO: ==21217== Lock acquired, processing the job...
[2025-01-07 07:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:02:01] Production.INFO: neon service started
[2025-01-07 07:02:01] Production.INFO: neon service started
[2025-01-07 07:02:01] Production.INFO: ==21217== Releasing lock...
[2025-01-07 07:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:02:01] Production.INFO: ==21219== Lock acquired, processing the job...
[2025-01-07 02:02:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:02:02] Production.INFO: ==21219== Releasing lock...
[2025-01-07 02:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:02:02] Production.INFO: ==21221== Lock acquired, processing the job...
[2025-01-07 07:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:02:02] Production.INFO: ==21221== Releasing lock...
[2025-01-07 07:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:02:03] Production.INFO: ==21230== Lock acquired, processing the job...
[2025-01-07 02:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:02:03] Production.INFO: ==21224== Lock acquired, processing the job...
[2025-01-07 02:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:02:03] Production.INFO: ==21232== Lock acquired, processing the job...
[2025-01-07 02:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:02:03] Production.INFO: ==21228== Lock acquired, processing the job...
[2025-01-07 02:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:02:03] Production.INFO: ==21226== Lock acquired, processing the job...
[2025-01-07 02:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:02:03] Production.INFO: Account Balance Start.
[2025-01-07 02:02:03] Production.INFO: CreateAllLog Start
[2025-01-07 02:02:03] Production.INFO: 117
[2025-01-07 02:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:02:03] Production.INFO: Date 2024-12-08
[2025-01-07 02:02:03] Production.INFO: ==21234== Lock acquired, processing the job...
[2025-01-07 02:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:02:03] Production.INFO: Date 2024-12-09
[2025-01-07 02:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:02:03] Production.INFO: Date 2024-12-10
[2025-01-07 02:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:02:03] Production.INFO: count ==21
[2025-01-07 02:02:03] Production.INFO: Date 2024-12-11
[2025-01-07 02:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:02:03] Production.INFO: count ==21
[2025-01-07 02:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191705') start
[2025-01-07 02:02:03] Production.ERROR: done
[2025-01-07 02:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:02:03] Production.INFO: Date 2024-12-12
[2025-01-07 02:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:02:03] Production.INFO: Date 2024-12-13
[2025-01-07 02:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191705') end
[2025-01-07 02:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:02:03] Production.INFO: 1
[2025-01-07 02:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:02:03] Production.ERROR: done
[2025-01-07 02:02:03] Production.INFO: ==21226== Releasing lock...
[2025-01-07 02:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:02:03] Production.INFO: Date 2024-12-14
[2025-01-07 02:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:02:03] Production.INFO: ==21234== Releasing lock...
[2025-01-07 02:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:02:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:02:03] Production.INFO: Date 2024-12-15
[2025-01-07 02:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:02:03] Production.INFO: Date 2024-12-16
[2025-01-07 02:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:02:03] Production.INFO: Date 2024-12-17
[2025-01-07 02:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:02:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:02:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:02:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:02:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:02:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:02:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:02:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:02:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:02:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:02:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:02:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:02:04] Production.INFO: Date 2024-12-29
[2025-01-07 02:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:02:04] Production.INFO: Date 2024-12-30
[2025-01-07 02:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:02:04] Production.INFO: Date 2024-12-31
[2025-01-07 02:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:02:04] Production.INFO: Date 2025-01-01
[2025-01-07 02:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:02:04] Production.INFO: Date 2025-01-02
[2025-01-07 02:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:02:04] Production.INFO: Date 2025-01-03
[2025-01-07 02:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:02:04] Production.INFO: Date 2025-01-04
[2025-01-07 02:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:02:04] Production.INFO: Date 2025-01-05
[2025-01-07 02:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:02:04] Production.INFO: Date 2025-01-06
[2025-01-07 02:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:02:04] Production.INFO: Date 2025-01-07
[2025-01-07 02:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:02:04] Production.INFO: Total Charge 0
[2025-01-07 02:02:04] Production.INFO: CreateAllLog End
[2025-01-07 02:02:04] Production.INFO: Account Balance End.
[2025-01-07 02:02:04] Production.ERROR: CronJobId end 12
[2025-01-07 02:02:04] Production.INFO: ==21230== Releasing lock...
[2025-01-07 02:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:02:05
[end_date_ymd] => 2025-01-07 02:02:05
[RateCDR] => 1
)
[2025-01-07 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-06 23:02:05' and `end` < '2025-01-07 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-07 02:02:10] Production.ERROR: CronJobId end10
[2025-01-07 02:02:10] Production.INFO: ==21228== Releasing lock...
[2025-01-07 02:02:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:02:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:02:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:02:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:02:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:02:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:02:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:02:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:02:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:02:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:02:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:02:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:02:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:02:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:02:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:02:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:02:12] Production.INFO: call_cost start
[2025-01-07 02:02:12] Production.INFO: call_cost end
[2025-01-07 02:02:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:02:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:02:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:02:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:02:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:02:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:02:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:02:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:02:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:02:13] Production.INFO: ==21224== Releasing lock...
[2025-01-07 02:02:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:02:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:02:20] Production.INFO: count ==232
[2025-01-07 02:02:20] Production.ERROR: pbx CDR StartTime 2025-01-06 23:02:05 - End Time 2025-01-07 02:02:05
[2025-01-07 02:02:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191706', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191706', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191706', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191706', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:02:20] Production.INFO: ProcessCDR(1,14191706,1,1,2)
[2025-01-07 02:02:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191706,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:02:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191706,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:02:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191706,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:02:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191706,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191706', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191706', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:02:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:02:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:02:23] Production.INFO: ==21232== Releasing lock...
[2025-01-07 02:02:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:02:23] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:03:01] Production.INFO: ==21287== Lock acquired, processing the job...
[2025-01-07 07:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:03:01] Production.INFO: neon service started
[2025-01-07 07:03:01] Production.INFO: neon service started
[2025-01-07 07:03:01] Production.INFO: ==21287== Releasing lock...
[2025-01-07 07:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:03:02] Production.INFO: ==21289== Lock acquired, processing the job...
[2025-01-07 02:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:03:02] Production.INFO: ==21291== Lock acquired, processing the job...
[2025-01-07 07:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:03:02] Production.INFO: ==21291== Releasing lock...
[2025-01-07 07:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:03:02] Production.INFO: ==21289== Releasing lock...
[2025-01-07 02:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:03:03] Production.INFO: ==21298== Lock acquired, processing the job...
[2025-01-07 02:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:03:03] Production.INFO: ==21296== Lock acquired, processing the job...
[2025-01-07 02:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:03:03] Production.INFO: ==21306== Lock acquired, processing the job...
[2025-01-07 02:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 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-07 02:03:03] Production.INFO: ==21298== Releasing lock...
[2025-01-07 02:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:03:03] Production.INFO: ==21300== Lock acquired, processing the job...
[2025-01-07 02:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:03:03] Production.INFO: count ==21
[2025-01-07 02:03:03] Production.INFO: ==21302== Lock acquired, processing the job...
[2025-01-07 02:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 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-07 02:03:03] Production.INFO: count ==21
[2025-01-07 02:03:03] Production.INFO: ==21304== Lock acquired, processing the job...
[2025-01-07 02:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191709') start
[2025-01-07 02:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:03:04] Production.INFO: Account Balance Start.
[2025-01-07 02:03:04] Production.INFO: CreateAllLog Start
[2025-01-07 02:03:04] Production.INFO: 117
[2025-01-07 02:03:04] Production.INFO: Date 2024-12-08
[2025-01-07 02:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191709') end
[2025-01-07 02:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:03:04] Production.INFO: 1
[2025-01-07 02:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:03:04] Production.INFO: Date 2024-12-09
[2025-01-07 02:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:03:04] Production.INFO: ==21306== Releasing lock...
[2025-01-07 02:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:03:04] Production.INFO: Date 2024-12-10
[2025-01-07 02:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:03:04] Production.INFO: Date 2024-12-11
[2025-01-07 02:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:03:04] Production.INFO: Date 2024-12-12
[2025-01-07 02:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:03:04] Production.INFO: Date 2024-12-13
[2025-01-07 02:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:03:04] Production.INFO: Date 2024-12-14
[2025-01-07 02:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:03:04] Production.ERROR: done
[2025-01-07 02:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:03:04] Production.INFO: Date 2024-12-15
[2025-01-07 02:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:03:04] Production.INFO: Date 2024-12-16
[2025-01-07 02:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:03:04] Production.INFO: Date 2024-12-17
[2025-01-07 02:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:03:04] Production.ERROR: done
[2025-01-07 02:03:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:03:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:03:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:03:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:03:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:03:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:03:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:03:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:03:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:03:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:03:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:03:04] Production.INFO: Date 2024-12-29
[2025-01-07 02:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:03:04] Production.INFO: Date 2024-12-30
[2025-01-07 02:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:03:04] Production.INFO: Date 2024-12-31
[2025-01-07 02:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:03:04] Production.INFO: Date 2025-01-01
[2025-01-07 02:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:03:04] Production.INFO: Date 2025-01-02
[2025-01-07 02:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:03:04] Production.INFO: Date 2025-01-03
[2025-01-07 02:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:03:05] Production.INFO: Date 2025-01-04
[2025-01-07 02:03:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:03:05] Production.INFO: Date 2025-01-05
[2025-01-07 02:03:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:03:05] Production.INFO: Date 2025-01-06
[2025-01-07 02:03:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:03:05] Production.INFO: Date 2025-01-07
[2025-01-07 02:03:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:03:05] Production.INFO: Total Charge 0
[2025-01-07 02:03:05] Production.INFO: CreateAllLog End
[2025-01-07 02:03:05] Production.INFO: Account Balance End.
[2025-01-07 02:03:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:03:05] Production.INFO: ==21302== Releasing lock...
[2025-01-07 02:03:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:03:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:03:05
[end_date_ymd] => 2025-01-07 02:03:05
[RateCDR] => 1
)
[2025-01-07 02:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 23:03:05' and `end` < '2025-01-07 02:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 02:03:11] Production.ERROR: CronJobId end10
[2025-01-07 02:03:11] Production.INFO: ==21300== Releasing lock...
[2025-01-07 02:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:03:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:03:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:03:14] Production.INFO: call_cost start
[2025-01-07 02:03:14] Production.INFO: call_cost end
[2025-01-07 02:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:03:14] Production.INFO: ==21296== Releasing lock...
[2025-01-07 02:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:03:18] Production.INFO: count ==232
[2025-01-07 02:03:18] Production.ERROR: pbx CDR StartTime 2025-01-06 23:03:05 - End Time 2025-01-07 02:03:05
[2025-01-07 02:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191711', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191711', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191711', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191711', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:03:18] Production.INFO: ProcessCDR(1,14191711,1,1,2)
[2025-01-07 02:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191711,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191711,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191711,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191711,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191711', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191711', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:03:21] Production.INFO: ==21304== Releasing lock...
[2025-01-07 02:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:03:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:04:01] Production.INFO: ==21363== Lock acquired, processing the job...
[2025-01-07 07:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:04:01] Production.INFO: neon service started
[2025-01-07 07:04:01] Production.INFO: neon service started
[2025-01-07 07:04:01] Production.INFO: ==21363== Releasing lock...
[2025-01-07 07:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:04:01] Production.INFO: ==21365== Lock acquired, processing the job...
[2025-01-07 02:04:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:04:02] Production.INFO: ==21365== Releasing lock...
[2025-01-07 02:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:04:02] Production.INFO: ==21367== Lock acquired, processing the job...
[2025-01-07 07:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:04:02] Production.INFO: ==21367== Releasing lock...
[2025-01-07 07:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:04:03] Production.INFO: ==21369== Lock acquired, processing the job...
[2025-01-07 02:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:04:03] Production.INFO: ==21373== Lock acquired, processing the job...
[2025-01-07 02:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:04:03] Production.INFO: ==21371== Lock acquired, processing the job...
[2025-01-07 02:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:04:03] Production.INFO: ==21379== Lock acquired, processing the job...
[2025-01-07 02:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:04:03] Production.INFO: ==21375== Lock acquired, processing the job...
[2025-01-07 02:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:04:03] Production.INFO: ==21377== Lock acquired, processing the job...
[2025-01-07 02:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:04:03] Production.INFO: Account Balance Start.
[2025-01-07 02:04:03] Production.INFO: CreateAllLog Start
[2025-01-07 02:04:03] Production.INFO: 117
[2025-01-07 02:04:03] Production.INFO: count ==21
[2025-01-07 02:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:04:03] Production.INFO: Date 2024-12-08
[2025-01-07 02:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:04:03] Production.INFO: count ==21
[2025-01-07 02:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191714') start
[2025-01-07 02:04:03] Production.INFO: ==21371== Releasing lock...
[2025-01-07 02:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191714') end
[2025-01-07 02:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:04:03] Production.INFO: 1
[2025-01-07 02:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:04:03] Production.INFO: Date 2024-12-09
[2025-01-07 02:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:04:03] Production.INFO: Date 2024-12-10
[2025-01-07 02:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:04:03] Production.INFO: Date 2024-12-11
[2025-01-07 02:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:04:03] Production.INFO: Date 2024-12-12
[2025-01-07 02:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:04:03] Production.INFO: ==21379== Releasing lock...
[2025-01-07 02:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:04:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:04:03] Production.ERROR: done
[2025-01-07 02:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:04:03] Production.INFO: Date 2024-12-13
[2025-01-07 02:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:04:03] Production.INFO: Date 2024-12-14
[2025-01-07 02:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:04:03] Production.INFO: Date 2024-12-15
[2025-01-07 02:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:04:03] Production.INFO: Date 2024-12-16
[2025-01-07 02:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:04:03] Production.INFO: Date 2024-12-17
[2025-01-07 02:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:04:04] Production.ERROR: done
[2025-01-07 02:04:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:04:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:04:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:04:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:04:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:04:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:04:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:04:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:04:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:04:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:04:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:04:04] Production.INFO: Date 2024-12-29
[2025-01-07 02:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:04:04] Production.INFO: Date 2024-12-30
[2025-01-07 02:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:04:04] Production.INFO: Date 2024-12-31
[2025-01-07 02:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:04:04] Production.INFO: Date 2025-01-01
[2025-01-07 02:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:04:04] Production.INFO: Date 2025-01-02
[2025-01-07 02:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:04:04] Production.INFO: Date 2025-01-03
[2025-01-07 02:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:04:04] Production.INFO: Date 2025-01-04
[2025-01-07 02:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:04:04] Production.INFO: Date 2025-01-05
[2025-01-07 02:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:04:05] Production.INFO: Date 2025-01-06
[2025-01-07 02:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:04:05] Production.INFO: Date 2025-01-07
[2025-01-07 02:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:04:05] Production.INFO: Total Charge 0
[2025-01-07 02:04:05] Production.INFO: CreateAllLog End
[2025-01-07 02:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:04:05
[end_date_ymd] => 2025-01-07 02:04:05
[RateCDR] => 1
)
[2025-01-07 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-06 23:04:05' and `end` < '2025-01-07 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-07 02:04:05] Production.INFO: Account Balance End.
[2025-01-07 02:04:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:04:05] Production.INFO: ==21375== Releasing lock...
[2025-01-07 02:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:04:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:04:10] Production.ERROR: CronJobId end10
[2025-01-07 02:04:10] Production.INFO: ==21373== Releasing lock...
[2025-01-07 02:04:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:04:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:04:13] Production.INFO: call_cost start
[2025-01-07 02:04:13] Production.INFO: call_cost end
[2025-01-07 02:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:04:14] Production.INFO: ==21369== Releasing lock...
[2025-01-07 02:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:04:17] Production.INFO: count ==232
[2025-01-07 02:04:17] Production.ERROR: pbx CDR StartTime 2025-01-06 23:04:05 - End Time 2025-01-07 02:04:05
[2025-01-07 02:04:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191716', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191716', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191716', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191716', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:04:17] Production.INFO: ProcessCDR(1,14191716,1,1,2)
[2025-01-07 02:04:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191716,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191716,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191716,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191716,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191716', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191716', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:04:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:04:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:04:21] Production.INFO: ==21377== Releasing lock...
[2025-01-07 02:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:04:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:05:01] Production.INFO: ==21433== Lock acquired, processing the job...
[2025-01-07 07:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:05:01] Production.INFO: neon service started
[2025-01-07 07:05:01] Production.INFO: neon service started
[2025-01-07 07:05:01] Production.INFO: ==21433== Releasing lock...
[2025-01-07 07:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:05:02] Production.INFO: ==21436== Lock acquired, processing the job...
[2025-01-07 02:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:05:02] Production.INFO: ==21436== Releasing lock...
[2025-01-07 02:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:05:02] Production.INFO: ==21438== Lock acquired, processing the job...
[2025-01-07 07:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:05:02] Production.INFO: ==21438== Releasing lock...
[2025-01-07 07:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:05:03] Production.INFO: ==21441== Lock acquired, processing the job...
[2025-01-07 02:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:05:03] Production.INFO: ==21451== Lock acquired, processing the job...
[2025-01-07 02:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 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-07 02:05:03] Production.INFO: ==21443== Lock acquired, processing the job...
[2025-01-07 02:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:05:03] Production.INFO: ==21445== Lock acquired, processing the job...
[2025-01-07 02:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:05:03] Production.INFO: ==21447== Lock acquired, processing the job...
[2025-01-07 02:05:03] Production.INFO: count ==21
[2025-01-07 02:05:03] Production.INFO: ==21449== Lock acquired, processing the job...
[2025-01-07 02:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 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-07 02:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:05:03] Production.INFO: count ==21
[2025-01-07 02:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191718') start
[2025-01-07 02:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:05:03] Production.INFO: Account Balance Start.
[2025-01-07 02:05:03] Production.INFO: CreateAllLog Start
[2025-01-07 02:05:03] Production.INFO: 117
[2025-01-07 02:05:03] Production.INFO: Date 2024-12-08
[2025-01-07 02:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191718') end
[2025-01-07 02:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:05:03] Production.INFO: 1
[2025-01-07 02:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:05:03] Production.INFO: Date 2024-12-09
[2025-01-07 02:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:05:03] Production.INFO: Date 2024-12-10
[2025-01-07 02:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:05:04] Production.INFO: ==21451== Releasing lock...
[2025-01-07 02:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:05:04] Production.INFO: Date 2024-12-11
[2025-01-07 02:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:05:04] Production.INFO: ==21443== Releasing lock...
[2025-01-07 02:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:05:04] Production.ERROR: done
[2025-01-07 02:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:05:04] Production.INFO: Date 2024-12-12
[2025-01-07 02:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:05:04] Production.INFO: Date 2024-12-13
[2025-01-07 02:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:05:04] Production.INFO: Date 2024-12-14
[2025-01-07 02:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:05:04] Production.ERROR: done
[2025-01-07 02:05:04] Production.INFO: Date 2024-12-15
[2025-01-07 02:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:05:04] Production.INFO: Date 2024-12-16
[2025-01-07 02:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:05:04] Production.INFO: Date 2024-12-17
[2025-01-07 02:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:05:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:05:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:05:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:05:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:05:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:05:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:05:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:05:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:05:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:05:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:05:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:05:04] Production.INFO: Date 2024-12-29
[2025-01-07 02:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:05:04] Production.INFO: Date 2024-12-30
[2025-01-07 02:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:05:04] Production.INFO: Date 2024-12-31
[2025-01-07 02:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:05:04] Production.INFO: Date 2025-01-01
[2025-01-07 02:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:05:04] Production.INFO: Date 2025-01-02
[2025-01-07 02:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:05:05] Production.INFO: Date 2025-01-03
[2025-01-07 02:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:05:05] Production.INFO: Date 2025-01-04
[2025-01-07 02:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:05:05] Production.INFO: Date 2025-01-05
[2025-01-07 02:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:05:05] Production.INFO: Date 2025-01-06
[2025-01-07 02:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:05:05] Production.INFO: Date 2025-01-07
[2025-01-07 02:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:05:05] Production.INFO: Total Charge 0
[2025-01-07 02:05:05] Production.INFO: CreateAllLog End
[2025-01-07 02:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:05:05
[end_date_ymd] => 2025-01-07 02:05:05
[RateCDR] => 1
)
[2025-01-07 02:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 23:05:05' and `end` < '2025-01-07 02:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 02:05:05] Production.INFO: Account Balance End.
[2025-01-07 02:05:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:05:05] Production.INFO: ==21447== Releasing lock...
[2025-01-07 02:05:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:05:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:05:11] Production.ERROR: CronJobId end10
[2025-01-07 02:05:11] Production.INFO: ==21445== Releasing lock...
[2025-01-07 02:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:05:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:05:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:05:13] Production.INFO: call_cost start
[2025-01-07 02:05:13] Production.INFO: call_cost end
[2025-01-07 02:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:05:14] Production.INFO: ==21441== Releasing lock...
[2025-01-07 02:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:05:19] Production.INFO: count ==233
[2025-01-07 02:05:19] Production.ERROR: pbx CDR StartTime 2025-01-06 23:05:05 - End Time 2025-01-07 02:05:05
[2025-01-07 02:05:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191721', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191721', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191721', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191721', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:05:19] Production.INFO: ProcessCDR(1,14191721,1,1,2)
[2025-01-07 02:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191721,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:05:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191721,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:05:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191721,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:05:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191721,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191721', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191721', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:05:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:05:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:05:23] Production.INFO: ==21449== Releasing lock...
[2025-01-07 02:05:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:05:23] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 07:06:02] Production.INFO: ==21505== Lock acquired, processing the job...
[2025-01-07 07:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:06:02] Production.INFO: neon service started
[2025-01-07 07:06:02] Production.INFO: neon service started
[2025-01-07 07:06:02] Production.INFO: ==21505== Releasing lock...
[2025-01-07 07:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:06:02] Production.INFO: ==21509== Lock acquired, processing the job...
[2025-01-07 07:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:06:02] Production.INFO: ==21509== Releasing lock...
[2025-01-07 07:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:06:02] Production.INFO: ==21507== Lock acquired, processing the job...
[2025-01-07 02:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:06:03] Production.INFO: ==21507== Releasing lock...
[2025-01-07 02:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:06:03] Production.INFO: ==21514== Lock acquired, processing the job...
[2025-01-07 02:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:06:03] Production.INFO: ==21520== Lock acquired, processing the job...
[2025-01-07 02:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:06:03] Production.INFO: ==21512== Lock acquired, processing the job...
[2025-01-07 02:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:06:04] Production.INFO: ==21516== Lock acquired, processing the job...
[2025-01-07 02:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:06:04] Production.INFO: ==21518== Lock acquired, processing the job...
[2025-01-07 02:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:06:04] Production.INFO: ==21522== Lock acquired, processing the job...
[2025-01-07 02:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:06:04] Production.INFO: Account Balance Start.
[2025-01-07 02:06:04] Production.INFO: CreateAllLog Start
[2025-01-07 02:06:04] Production.INFO: 117
[2025-01-07 02:06:04] Production.ERROR: done
[2025-01-07 02:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:06:04] Production.INFO: Date 2024-12-08
[2025-01-07 02:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:06:04] Production.INFO: ==21514== Releasing lock...
[2025-01-07 02:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 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-07 02:06:04] Production.INFO: Date 2024-12-09
[2025-01-07 02:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:06:04] Production.INFO: count ==21
[2025-01-07 02:06:04] Production.ERROR: done
[2025-01-07 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-07 02:06:04] Production.INFO: Date 2024-12-10
[2025-01-07 02:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:06:04] Production.INFO: count ==21
[2025-01-07 02:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191725') start
[2025-01-07 02:06:04] Production.INFO: Date 2024-12-11
[2025-01-07 02:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:06:04] Production.INFO: Date 2024-12-12
[2025-01-07 02:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:06:04] Production.INFO: Date 2024-12-13
[2025-01-07 02:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191725') end
[2025-01-07 02:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:06:04] Production.INFO: 1
[2025-01-07 02:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:06:04] Production.INFO: ==21522== Releasing lock...
[2025-01-07 02:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:06:04] Production.INFO: Date 2024-12-14
[2025-01-07 02:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:06:04] Production.INFO: Date 2024-12-15
[2025-01-07 02:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:06:04] Production.INFO: Date 2024-12-16
[2025-01-07 02:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:06:04] Production.INFO: Date 2024-12-17
[2025-01-07 02:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:06:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:06:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:06:05] Production.INFO: Date 2024-12-20
[2025-01-07 02:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:06:05] Production.INFO: Date 2024-12-21
[2025-01-07 02:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:06:05] Production.INFO: Date 2024-12-22
[2025-01-07 02:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:06:05] Production.INFO: Date 2024-12-23
[2025-01-07 02:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:06:05] Production.INFO: Date 2024-12-24
[2025-01-07 02:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:06:05] Production.INFO: Date 2024-12-25
[2025-01-07 02:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:06:05] Production.INFO: Date 2024-12-26
[2025-01-07 02:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:06:05] Production.INFO: Date 2024-12-27
[2025-01-07 02:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:06:05] Production.INFO: Date 2024-12-28
[2025-01-07 02:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:06:05] Production.INFO: Date 2024-12-29
[2025-01-07 02:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:06:05] Production.INFO: Date 2024-12-30
[2025-01-07 02:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:06:05] Production.INFO: Date 2024-12-31
[2025-01-07 02:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:06:05] Production.INFO: Date 2025-01-01
[2025-01-07 02:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:06:05] Production.INFO: Date 2025-01-02
[2025-01-07 02:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:06:05] Production.INFO: Date 2025-01-03
[2025-01-07 02:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:06:05] Production.INFO: Date 2025-01-04
[2025-01-07 02:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:06:05] Production.INFO: Date 2025-01-05
[2025-01-07 02:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:06:05] Production.INFO: Date 2025-01-06
[2025-01-07 02:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:06:05] Production.INFO: Date 2025-01-07
[2025-01-07 02:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:06:05] Production.INFO: Total Charge 0
[2025-01-07 02:06:05] Production.INFO: CreateAllLog End
[2025-01-07 02:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:06:05
[end_date_ymd] => 2025-01-07 02:06:05
[RateCDR] => 1
)
[2025-01-07 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-06 23:06:05' and `end` < '2025-01-07 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-07 02:06:05] Production.INFO: Account Balance End.
[2025-01-07 02:06:06] Production.ERROR: CronJobId end 12
[2025-01-07 02:06:06] Production.INFO: ==21518== Releasing lock...
[2025-01-07 02:06:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:06:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:06:12] Production.ERROR: CronJobId end10
[2025-01-07 02:06:12] Production.INFO: ==21516== Releasing lock...
[2025-01-07 02:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:06:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:06:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:06:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:06:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:06:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:06:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:06:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:06:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:06:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:06:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:06:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:06:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:06:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:06:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:06:14] Production.INFO: call_cost start
[2025-01-07 02:06:14] Production.INFO: call_cost end
[2025-01-07 02:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:06:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:06:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:06:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:06:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:06:15] Production.INFO: ==21512== Releasing lock...
[2025-01-07 02:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:06:19] Production.INFO: count ==233
[2025-01-07 02:06:19] Production.ERROR: pbx CDR StartTime 2025-01-06 23:06:05 - End Time 2025-01-07 02:06:05
[2025-01-07 02:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191726', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191726', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191726', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191726', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:06:19] Production.INFO: ProcessCDR(1,14191726,1,1,2)
[2025-01-07 02:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191726,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191726,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191726,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191726,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191726', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191726', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:06:22] Production.INFO: ==21520== Releasing lock...
[2025-01-07 02:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:06:22] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 07:07:01] Production.INFO: ==21576== Lock acquired, processing the job...
[2025-01-07 07:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:07:01] Production.INFO: neon service started
[2025-01-07 07:07:01] Production.INFO: neon service started
[2025-01-07 07:07:01] Production.INFO: ==21576== Releasing lock...
[2025-01-07 07:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:07:02] Production.INFO: ==21578== Lock acquired, processing the job...
[2025-01-07 02:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:07:02] Production.INFO: ==21580== Lock acquired, processing the job...
[2025-01-07 07:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:07:02] Production.INFO: ==21580== Releasing lock...
[2025-01-07 07:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:07:02] Production.INFO: ==21578== Releasing lock...
[2025-01-07 02:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:07:03] Production.INFO: ==21583== Lock acquired, processing the job...
[2025-01-07 02:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:07:03] Production.INFO: ==21585== Lock acquired, processing the job...
[2025-01-07 02:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:07:03] Production.INFO: ==21587== Lock acquired, processing the job...
[2025-01-07 02:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:07:03] Production.INFO: ==21589== Lock acquired, processing the job...
[2025-01-07 02:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:07:03] Production.INFO: Account Balance Start.
[2025-01-07 02:07:03] Production.INFO: CreateAllLog Start
[2025-01-07 02:07:03] Production.INFO: 117
[2025-01-07 02:07:03] Production.INFO: Date 2024-12-08
[2025-01-07 02:07:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:07:03] Production.INFO: ==21593== Lock acquired, processing the job...
[2025-01-07 02:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:07:03] Production.INFO: ==21591== Lock acquired, processing the job...
[2025-01-07 02:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:07:03] Production.INFO: Date 2024-12-09
[2025-01-07 02:07:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:07:03] Production.INFO: ==21585== Releasing lock...
[2025-01-07 02:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:07:03] Production.INFO: Date 2024-12-10
[2025-01-07 02:07:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:07:03] Production.INFO: Date 2024-12-11
[2025-01-07 02:07:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:07:03] Production.INFO: count ==21
[2025-01-07 02:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:07:03] Production.INFO: count ==21
[2025-01-07 02:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191730') start
[2025-01-07 02:07:04] Production.INFO: Date 2024-12-12
[2025-01-07 02:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:07:04] Production.INFO: Date 2024-12-13
[2025-01-07 02:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:07:04] Production.INFO: Date 2024-12-14
[2025-01-07 02:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191730') end
[2025-01-07 02:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:07:04] Production.INFO: 1
[2025-01-07 02:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:07:04] Production.INFO: Date 2024-12-15
[2025-01-07 02:07:04] Production.INFO: ==21593== Releasing lock...
[2025-01-07 02:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:07:04] Production.ERROR: done
[2025-01-07 02:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:07:04] Production.INFO: Date 2024-12-16
[2025-01-07 02:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:07:04] Production.INFO: Date 2024-12-17
[2025-01-07 02:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:07:04] Production.ERROR: done
[2025-01-07 02:07:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:07:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:07:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:07:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:07:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:07:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:07:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:07:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:07:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:07:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:07:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:07:04] Production.INFO: Date 2024-12-29
[2025-01-07 02:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:07:05] Production.INFO: Date 2024-12-30
[2025-01-07 02:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:07:05] Production.INFO: Date 2024-12-31
[2025-01-07 02:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:07:05] Production.INFO: Date 2025-01-01
[2025-01-07 02:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:07:05] Production.INFO: Date 2025-01-02
[2025-01-07 02:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:07:05] Production.INFO: Date 2025-01-03
[2025-01-07 02:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:07:05] Production.INFO: Date 2025-01-04
[2025-01-07 02:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:07:05] Production.INFO: Date 2025-01-05
[2025-01-07 02:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:07:05] Production.INFO: Date 2025-01-06
[2025-01-07 02:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:07:05] Production.INFO: Date 2025-01-07
[2025-01-07 02:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:07:05] Production.INFO: Total Charge 0
[2025-01-07 02:07:05] Production.INFO: CreateAllLog End
[2025-01-07 02:07:05] Production.INFO: Account Balance End.
[2025-01-07 02:07:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:07:05] Production.INFO: ==21589== Releasing lock...
[2025-01-07 02:07:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:07:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:07:05
[end_date_ymd] => 2025-01-07 02:07:05
[RateCDR] => 1
)
[2025-01-07 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-06 23:07:05' and `end` < '2025-01-07 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-07 02:07:11] Production.ERROR: CronJobId end10
[2025-01-07 02:07:11] Production.INFO: ==21587== Releasing lock...
[2025-01-07 02:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:07:13] Production.INFO: call_cost start
[2025-01-07 02:07:13] Production.INFO: call_cost end
[2025-01-07 02:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:07:14] Production.INFO: ==21583== Releasing lock...
[2025-01-07 02:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:07:18] Production.INFO: count ==233
[2025-01-07 02:07:18] Production.ERROR: pbx CDR StartTime 2025-01-06 23:07:05 - End Time 2025-01-07 02:07:05
[2025-01-07 02:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191731', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191731', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191731', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191731', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:07:18] Production.INFO: ProcessCDR(1,14191731,1,1,2)
[2025-01-07 02:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191731,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191731,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191731,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191731,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191731', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191731', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:07:21] Production.INFO: ==21591== Releasing lock...
[2025-01-07 02:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:07:21] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 07:08:02] Production.INFO: ==21652== Lock acquired, processing the job...
[2025-01-07 07:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:08:02] Production.INFO: neon service started
[2025-01-07 07:08:02] Production.INFO: neon service started
[2025-01-07 07:08:02] Production.INFO: ==21652== Releasing lock...
[2025-01-07 07:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:08:02] Production.INFO: ==21654== Lock acquired, processing the job...
[2025-01-07 02:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:08:02] Production.INFO: ==21654== Releasing lock...
[2025-01-07 02:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:08:02] Production.INFO: ==21656== Lock acquired, processing the job...
[2025-01-07 07:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:08:02] Production.INFO: ==21656== Releasing lock...
[2025-01-07 07:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:08:03] Production.INFO: ==21662== Lock acquired, processing the job...
[2025-01-07 02:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:08:03] Production.INFO: ==21658== Lock acquired, processing the job...
[2025-01-07 02:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:08:03] Production.INFO: ==21669== Lock acquired, processing the job...
[2025-01-07 02:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:08:03] Production.INFO: ==21660== Lock acquired, processing the job...
[2025-01-07 02:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:08:03] Production.INFO: ==21664== Lock acquired, processing the job...
[2025-01-07 02:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:08:03] Production.INFO: ==21666== Lock acquired, processing the job...
[2025-01-07 02:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:08:03] Production.INFO: count ==21
[2025-01-07 02:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 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-07 02:08:04] Production.INFO: count ==21
[2025-01-07 02:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191732') start
[2025-01-07 02:08:04] Production.INFO: Account Balance Start.
[2025-01-07 02:08:04] Production.INFO: CreateAllLog Start
[2025-01-07 02:08:04] Production.INFO: 117
[2025-01-07 02:08:04] Production.INFO: Date 2024-12-08
[2025-01-07 02:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:08:04] Production.INFO: Date 2024-12-09
[2025-01-07 02:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:08:04] Production.INFO: Date 2024-12-10
[2025-01-07 02:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191732') end
[2025-01-07 02:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:08:04] Production.INFO: 1
[2025-01-07 02:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:08:04] Production.INFO: Date 2024-12-11
[2025-01-07 02:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:08:04] Production.INFO: ==21669== Releasing lock...
[2025-01-07 02:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:08:04] Production.INFO: Date 2024-12-12
[2025-01-07 02:08:04] Production.INFO: ==21660== Releasing lock...
[2025-01-07 02:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:08:04] Production.ERROR: done
[2025-01-07 02:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:08:04] Production.INFO: Date 2024-12-13
[2025-01-07 02:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:08:04] Production.INFO: Date 2024-12-14
[2025-01-07 02:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:08:04] Production.ERROR: done
[2025-01-07 02:08:04] Production.INFO: Date 2024-12-15
[2025-01-07 02:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:08:04] Production.INFO: Date 2024-12-16
[2025-01-07 02:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:08:04] Production.INFO: Date 2024-12-17
[2025-01-07 02:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:08:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:08:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:08:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:08:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:08:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:08:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:08:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:08:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:08:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:08:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:08:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:08:04] Production.INFO: Date 2024-12-29
[2025-01-07 02:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:08:04] Production.INFO: Date 2024-12-30
[2025-01-07 02:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:08:05] Production.INFO: Date 2024-12-31
[2025-01-07 02:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:08:05] Production.INFO: Date 2025-01-01
[2025-01-07 02:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:08:05] Production.INFO: Date 2025-01-02
[2025-01-07 02:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:08:05] Production.INFO: Date 2025-01-03
[2025-01-07 02:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:08:05] Production.INFO: Date 2025-01-04
[2025-01-07 02:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:08:05] Production.INFO: Date 2025-01-05
[2025-01-07 02:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:08:05] Production.INFO: Date 2025-01-06
[2025-01-07 02:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:08:05] Production.INFO: Date 2025-01-07
[2025-01-07 02:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:08:05] Production.INFO: Total Charge 0
[2025-01-07 02:08:05] Production.INFO: CreateAllLog End
[2025-01-07 02:08:05] Production.INFO: Account Balance End.
[2025-01-07 02:08:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:08:05] Production.INFO: ==21664== Releasing lock...
[2025-01-07 02:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:08:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:08:05
[end_date_ymd] => 2025-01-07 02:08:05
[RateCDR] => 1
)
[2025-01-07 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-06 23:08:05' and `end` < '2025-01-07 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-07 02:08:12] Production.ERROR: CronJobId end10
[2025-01-07 02:08:12] Production.INFO: ==21662== Releasing lock...
[2025-01-07 02:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:08:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:08:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:08:14] Production.INFO: call_cost start
[2025-01-07 02:08:14] Production.INFO: call_cost end
[2025-01-07 02:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:08:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:08:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:08:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:08:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:08:15] Production.INFO: ==21658== Releasing lock...
[2025-01-07 02:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:08:18] Production.INFO: count ==233
[2025-01-07 02:08:18] Production.ERROR: pbx CDR StartTime 2025-01-06 23:08:05 - End Time 2025-01-07 02:08:05
[2025-01-07 02:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191736', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191736', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191736', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191736', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:08:18] Production.INFO: ProcessCDR(1,14191736,1,1,2)
[2025-01-07 02:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191736,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191736,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191736,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191736,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191736', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191736', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:08:21] Production.INFO: ==21666== Releasing lock...
[2025-01-07 02:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:08:21] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 07:09:01] Production.INFO: ==21726== Lock acquired, processing the job...
[2025-01-07 07:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:09:01] Production.INFO: neon service started
[2025-01-07 07:09:01] Production.INFO: neon service started
[2025-01-07 07:09:01] Production.INFO: ==21726== Releasing lock...
[2025-01-07 07:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:09:02] Production.INFO: ==21731== Lock acquired, processing the job...
[2025-01-07 07:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:09:02] Production.INFO: ==21731== Releasing lock...
[2025-01-07 07:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:09:02] Production.INFO: ==21729== Lock acquired, processing the job...
[2025-01-07 02:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:09:02] Production.INFO: ==21729== Releasing lock...
[2025-01-07 02:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:09:03] Production.INFO: ==21733== Lock acquired, processing the job...
[2025-01-07 02:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:09:03] Production.INFO: ==21737== Lock acquired, processing the job...
[2025-01-07 02:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:09:03] Production.INFO: ==21743== Lock acquired, processing the job...
[2025-01-07 02:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:09:03] Production.INFO: count ==21
[2025-01-07 02:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:09:03] Production.INFO: count ==21
[2025-01-07 02:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191738') start
[2025-01-07 02:09:03] Production.INFO: ==21735== Lock acquired, processing the job...
[2025-01-07 02:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:09:03] Production.INFO: ==21739== Lock acquired, processing the job...
[2025-01-07 02:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191738') end
[2025-01-07 02:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:09:03] Production.INFO: 1
[2025-01-07 02:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:09:03] Production.INFO: ==21741== Lock acquired, processing the job...
[2025-01-07 02:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:09:03] Production.INFO: ==21743== Releasing lock...
[2025-01-07 02:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:09:03] Production.INFO: Account Balance Start.
[2025-01-07 02:09:03] Production.INFO: CreateAllLog Start
[2025-01-07 02:09:03] Production.INFO: 117
[2025-01-07 02:09:03] Production.INFO: Date 2024-12-08
[2025-01-07 02:09:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:09:03] Production.INFO: Date 2024-12-09
[2025-01-07 02:09:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:09:04] Production.INFO: ==21735== Releasing lock...
[2025-01-07 02:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:09:04] Production.INFO: Date 2024-12-10
[2025-01-07 02:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:09:04] Production.INFO: Date 2024-12-11
[2025-01-07 02:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:09:04] Production.INFO: Date 2024-12-12
[2025-01-07 02:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:09:04] Production.ERROR: done
[2025-01-07 02:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:09:04] Production.INFO: Date 2024-12-13
[2025-01-07 02:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:09:04] Production.INFO: Date 2024-12-14
[2025-01-07 02:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:09:04] Production.INFO: Date 2024-12-15
[2025-01-07 02:09:04] Production.ERROR: done
[2025-01-07 02:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:09:04] Production.INFO: Date 2024-12-16
[2025-01-07 02:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:09:04] Production.INFO: Date 2024-12-17
[2025-01-07 02:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:09:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:09:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:09:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:09:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:09:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:09:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:09:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:09:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:09:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:09:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:09:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:09:04] Production.INFO: Date 2024-12-29
[2025-01-07 02:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:09:04] Production.INFO: Date 2024-12-30
[2025-01-07 02:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:09:04] Production.INFO: Date 2024-12-31
[2025-01-07 02:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:09:04] Production.INFO: Date 2025-01-01
[2025-01-07 02:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:09:04] Production.INFO: Date 2025-01-02
[2025-01-07 02:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:09:04] Production.INFO: Date 2025-01-03
[2025-01-07 02:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:09:04] Production.INFO: Date 2025-01-04
[2025-01-07 02:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:09:04] Production.INFO: Date 2025-01-05
[2025-01-07 02:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:09:04] Production.INFO: Date 2025-01-06
[2025-01-07 02:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:09:04] Production.INFO: Date 2025-01-07
[2025-01-07 02:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:09:05] Production.INFO: Total Charge 0
[2025-01-07 02:09:05] Production.INFO: CreateAllLog End
[2025-01-07 02:09:05] Production.INFO: Account Balance End.
[2025-01-07 02:09:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:09:05] Production.INFO: ==21739== Releasing lock...
[2025-01-07 02:09:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:09:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:09:05
[end_date_ymd] => 2025-01-07 02:09:05
[RateCDR] => 1
)
[2025-01-07 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-06 23:09:05' and `end` < '2025-01-07 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-07 02:09:12] Production.ERROR: CronJobId end10
[2025-01-07 02:09:12] Production.INFO: ==21737== Releasing lock...
[2025-01-07 02:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:09:13] Production.INFO: call_cost start
[2025-01-07 02:09:13] Production.INFO: call_cost end
[2025-01-07 02:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:09:14] Production.INFO: ==21733== Releasing lock...
[2025-01-07 02:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:09:18] Production.INFO: count ==230
[2025-01-07 02:09:18] Production.ERROR: pbx CDR StartTime 2025-01-06 23:09:05 - End Time 2025-01-07 02:09:05
[2025-01-07 02:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191741', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191741', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191741', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191741', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:09:18] Production.INFO: ProcessCDR(1,14191741,1,1,2)
[2025-01-07 02:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191741,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191741,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191741,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191741,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191741', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191741', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:09:21] Production.INFO: ==21741== Releasing lock...
[2025-01-07 02:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:09:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:10:02] Production.INFO: ==21840== Lock acquired, processing the job...
[2025-01-07 07:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:10:02] Production.INFO: neon service started
[2025-01-07 07:10:02] Production.INFO: neon service started
[2025-01-07 07:10:02] Production.INFO: ==21840== Releasing lock...
[2025-01-07 07:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:10:02] Production.INFO: ==21842== Lock acquired, processing the job...
[2025-01-07 02:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:10:03] Production.INFO: ==21844== Lock acquired, processing the job...
[2025-01-07 07:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:10:03] Production.INFO: ==21842== Releasing lock...
[2025-01-07 02:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:10:03] Production.INFO: ==21844== Releasing lock...
[2025-01-07 07:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:10:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:10:04] Production.INFO: ==21847== Lock acquired, processing the job...
[2025-01-07 02:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 02:10:04] Production.INFO: ==21853== Lock acquired, processing the job...
[2025-01-07 02:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:10:04] Production.INFO: ==21849== Lock acquired, processing the job...
[2025-01-07 02:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:10:04] Production.INFO: ==21851== Lock acquired, processing the job...
[2025-01-07 02:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 02:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 02:10:04] Production.ERROR: CronJob PID - 21853
[2025-01-07 02:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-07 02:10:04] Production.ERROR: CronJob ID - 10
[2025-01-07 02:10:04] Production.ERROR: CronJob Last Run Time 2025-01-07 02:10:00
[2025-01-07 02:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 02:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 02:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 02:10:04] Production.INFO: ==21847== Releasing lock...
[2025-01-07 02:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 02:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 02:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:10:04] Production.INFO: ==21855== Lock acquired, processing the job...
[2025-01-07 02:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:10:04] Production.INFO: ==21861== Lock acquired, processing the job...
[2025-01-07 02:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:10:04] Production.INFO: ==21859== Lock acquired, processing the job...
[2025-01-07 02:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 02:10:04] Production.INFO: ==21857== Lock acquired, processing the job...
[2025-01-07 02:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 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-07 02:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:10:04] Production.INFO: count ==21
[2025-01-07 02:10:04] Production.INFO: Account Balance Start.
[2025-01-07 02:10:04] Production.INFO: CreateAllLog Start
[2025-01-07 02:10:04] Production.INFO: 117
[2025-01-07 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-07 02:10:04] Production.INFO: count ==21
[2025-01-07 02:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191745') start
[2025-01-07 02:10:04] Production.ERROR: done
[2025-01-07 02:10:04] Production.INFO: Date 2024-12-08
[2025-01-07 02:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14191745') end
[2025-01-07 02:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:10:05] Production.INFO: 1
[2025-01-07 02:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 02:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14191746', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 02:10:05] Production.INFO: ==21861== Releasing lock...
[2025-01-07 02:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:10:05] Production.INFO: Date 2024-12-09
[2025-01-07 02:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:10:05] Production.ERROR: done
[2025-01-07 02:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:10:05] Production.INFO: ==21851== Releasing lock...
[2025-01-07 02:10:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:10:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:10:05] Production.INFO: Date 2024-12-10
[2025-01-07 02:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:10:05] Production.INFO: Date 2024-12-11
[2025-01-07 02:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:10:05] Production.ERROR: done
[2025-01-07 02:10:05] Production.INFO: Date 2024-12-12
[2025-01-07 02:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:10:05] Production.INFO: Date 2024-12-13
[2025-01-07 02:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:10:05] Production.INFO: Date 2024-12-14
[2025-01-07 02:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:10:05] Production.INFO: Date 2024-12-15
[2025-01-07 02:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:10:05] Production.INFO: Date 2024-12-16
[2025-01-07 02:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:10:05] Production.INFO: Date 2024-12-17
[2025-01-07 02:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:10:05] Production.INFO: Date 2024-12-18
[2025-01-07 02:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:10:05] Production.INFO: Date 2024-12-19
[2025-01-07 02:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:10:05] Production.INFO: Date 2024-12-20
[2025-01-07 02:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:10:05] Production.INFO: Date 2024-12-21
[2025-01-07 02:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:10:05] Production.INFO: Date 2024-12-22
[2025-01-07 02:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:10:05] Production.INFO: Date 2024-12-23
[2025-01-07 02:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:10:05] Production.INFO: Date 2024-12-24
[2025-01-07 02:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:10:05] Production.INFO: Date 2024-12-25
[2025-01-07 02:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:10:05] Production.INFO: Date 2024-12-26
[2025-01-07 02:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:10:05] Production.INFO: Date 2024-12-27
[2025-01-07 02:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:10:05] Production.INFO: Date 2024-12-28
[2025-01-07 02:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:10:06] Production.INFO: Date 2024-12-29
[2025-01-07 02:10:06] Production.INFO: Reseller ==> 0
[2025-01-07 02:10:06] Production.INFO: Date 2024-12-30
[2025-01-07 02:10:06] Production.INFO: Reseller ==> 0
[2025-01-07 02:10:06] Production.INFO: Date 2024-12-31
[2025-01-07 02:10:06] Production.INFO: Reseller ==> 0
[2025-01-07 02:10:06] Production.INFO: Date 2025-01-01
[2025-01-07 02:10:06] Production.INFO: Reseller ==> 0
[2025-01-07 02:10:06] Production.INFO: Date 2025-01-02
[2025-01-07 02:10:06] Production.INFO: Reseller ==> 0
[2025-01-07 02:10:06] Production.INFO: Date 2025-01-03
[2025-01-07 02:10:06] Production.INFO: Reseller ==> 0
[2025-01-07 02:10:06] Production.INFO: Date 2025-01-04
[2025-01-07 02:10:06] Production.INFO: Reseller ==> 0
[2025-01-07 02:10:06] Production.INFO: Date 2025-01-05
[2025-01-07 02:10:06] Production.INFO: Reseller ==> 0
[2025-01-07 02:10:06] Production.INFO: Date 2025-01-06
[2025-01-07 02:10:06] Production.INFO: Reseller ==> 0
[2025-01-07 02:10:06] Production.INFO: Date 2025-01-07
[2025-01-07 02:10:06] Production.INFO: Reseller ==> 0
[2025-01-07 02:10:06] Production.INFO: Total Charge 0
[2025-01-07 02:10:06] Production.INFO: CreateAllLog End
[2025-01-07 02:10:06] Production.INFO: Account Balance End.
[2025-01-07 02:10:06] Production.ERROR: CronJobId end 12
[2025-01-07 02:10:06] Production.INFO: ==21855== Releasing lock...
[2025-01-07 02:10:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:10:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:10:06
[end_date_ymd] => 2025-01-07 02:10:06
[RateCDR] => 1
)
[2025-01-07 02:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 23:10:06' and `end` < '2025-01-07 02:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 02:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14191746', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 02:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 02:10:08] Production.INFO: ProcessCDR(1,14191746,1,1,2)
[2025-01-07 02:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14191746,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14191746,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:10:08] Production.INFO: ==21859== Releasing lock...
[2025-01-07 02:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 02:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-07 02:10:12] Production.ERROR: CronJobId end10
[2025-01-07 02:10:12] Production.INFO: ==21853== Releasing lock...
[2025-01-07 02:10:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:10:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:10:15] Production.INFO: call_cost start
[2025-01-07 02:10:15] Production.INFO: call_cost end
[2025-01-07 02:10:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:10:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:10:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:10:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:10:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:10:15] Production.INFO: ==21849== Releasing lock...
[2025-01-07 02:10:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:10:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:10:20] Production.INFO: count ==236
[2025-01-07 02:10:20] Production.ERROR: pbx CDR StartTime 2025-01-06 23:10:06 - End Time 2025-01-07 02:10:06
[2025-01-07 02:10:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191747', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191747', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191747', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191747', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:10:20] Production.INFO: ProcessCDR(1,14191747,1,1,2)
[2025-01-07 02:10:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191747,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:10:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191747,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:10:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191747,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:10:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191747,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:10:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191747', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:10:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191747', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:10:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:10:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:10:24] Production.INFO: ==21857== Releasing lock...
[2025-01-07 02:10:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:10:24] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:11:01] Production.INFO: ==21913== Lock acquired, processing the job...
[2025-01-07 07:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:11:01] Production.INFO: neon service started
[2025-01-07 07:11:01] Production.INFO: neon service started
[2025-01-07 07:11:01] Production.INFO: ==21913== Releasing lock...
[2025-01-07 07:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:11:02] Production.INFO: ==21915== Lock acquired, processing the job...
[2025-01-07 02:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:11:02] Production.INFO: ==21915== Releasing lock...
[2025-01-07 02:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:11:02] Production.INFO: ==21917== Lock acquired, processing the job...
[2025-01-07 07:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:11:02] Production.INFO: ==21917== Releasing lock...
[2025-01-07 07:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:11:03] Production.INFO: ==21924== Lock acquired, processing the job...
[2025-01-07 02:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:11:03] Production.INFO: ==21928== Lock acquired, processing the job...
[2025-01-07 02:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:11:03] Production.INFO: ==21920== Lock acquired, processing the job...
[2025-01-07 02:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:11:03] Production.INFO: ==21922== Lock acquired, processing the job...
[2025-01-07 02:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:11:03] Production.INFO: ==21926== Lock acquired, processing the job...
[2025-01-07 02:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:11:03] Production.INFO: ==21930== Lock acquired, processing the job...
[2025-01-07 02:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:11:03] Production.ERROR: done
[2025-01-07 02:11:03] Production.INFO: Account Balance Start.
[2025-01-07 02:11:03] Production.INFO: CreateAllLog Start
[2025-01-07 02:11:03] Production.INFO: 117
[2025-01-07 02:11:03] Production.INFO: Date 2024-12-08
[2025-01-07 02:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:11:03] Production.INFO: count ==21
[2025-01-07 02:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:11:03] Production.INFO: count ==21
[2025-01-07 02:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191751') start
[2025-01-07 02:11:03] Production.INFO: Date 2024-12-09
[2025-01-07 02:11:03] Production.INFO: ==21922== Releasing lock...
[2025-01-07 02:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:11:03] Production.ERROR: done
[2025-01-07 02:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:11:03] Production.INFO: Date 2024-12-10
[2025-01-07 02:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191751') end
[2025-01-07 02:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:11:03] Production.INFO: 1
[2025-01-07 02:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:11:03] Production.INFO: Date 2024-12-11
[2025-01-07 02:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:11:03] Production.INFO: ==21930== Releasing lock...
[2025-01-07 02:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:11:04] Production.INFO: Date 2024-12-12
[2025-01-07 02:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:11:04] Production.INFO: Date 2024-12-13
[2025-01-07 02:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:11:04] Production.INFO: Date 2024-12-14
[2025-01-07 02:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:11:04] Production.INFO: Date 2024-12-15
[2025-01-07 02:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:11:04] Production.INFO: Date 2024-12-16
[2025-01-07 02:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:11:04] Production.INFO: Date 2024-12-17
[2025-01-07 02:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:11:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:11:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:11:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:11:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:11:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:11:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:11:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:11:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:11:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:11:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:11:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:11:04] Production.INFO: Date 2024-12-29
[2025-01-07 02:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:11:04] Production.INFO: Date 2024-12-30
[2025-01-07 02:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:11:04] Production.INFO: Date 2024-12-31
[2025-01-07 02:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:11:05] Production.INFO: Date 2025-01-01
[2025-01-07 02:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:11:05] Production.INFO: Date 2025-01-02
[2025-01-07 02:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:11:05
[end_date_ymd] => 2025-01-07 02:11:05
[RateCDR] => 1
)
[2025-01-07 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-06 23:11:05' and `end` < '2025-01-07 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-07 02:11:05] Production.INFO: Date 2025-01-03
[2025-01-07 02:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:11:05] Production.INFO: Date 2025-01-04
[2025-01-07 02:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:11:05] Production.INFO: Date 2025-01-05
[2025-01-07 02:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:11:05] Production.INFO: Date 2025-01-06
[2025-01-07 02:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:11:05] Production.INFO: Date 2025-01-07
[2025-01-07 02:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:11:05] Production.INFO: Total Charge 0
[2025-01-07 02:11:05] Production.INFO: CreateAllLog End
[2025-01-07 02:11:05] Production.INFO: Account Balance End.
[2025-01-07 02:11:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:11:05] Production.INFO: ==21926== Releasing lock...
[2025-01-07 02:11:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:11:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:11:10] Production.ERROR: CronJobId end10
[2025-01-07 02:11:10] Production.INFO: ==21924== Releasing lock...
[2025-01-07 02:11:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:11:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:11:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:11:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:11:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:11:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:11:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:11:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:11:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:11:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:11:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:11:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:11:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:11:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:11:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:11:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:11:13] Production.INFO: call_cost start
[2025-01-07 02:11:13] Production.INFO: call_cost end
[2025-01-07 02:11:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:11:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:11:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:11:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:11:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:11:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:11:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:11:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:11:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:11:13] Production.INFO: ==21920== Releasing lock...
[2025-01-07 02:11:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:11:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:11:18] Production.INFO: count ==236
[2025-01-07 02:11:19] Production.ERROR: pbx CDR StartTime 2025-01-06 23:11:05 - End Time 2025-01-07 02:11:05
[2025-01-07 02:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191752', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191752', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191752', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191752', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:11:19] Production.INFO: ProcessCDR(1,14191752,1,1,2)
[2025-01-07 02:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191752,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191752,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191752,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191752,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191752', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191752', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:11:22] Production.INFO: ==21928== Releasing lock...
[2025-01-07 02:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:11:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:12:02] Production.INFO: ==21986== Lock acquired, processing the job...
[2025-01-07 07:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:12:02] Production.INFO: neon service started
[2025-01-07 07:12:02] Production.INFO: neon service started
[2025-01-07 07:12:02] Production.INFO: ==21986== Releasing lock...
[2025-01-07 07:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:12:02] Production.INFO: ==21990== Lock acquired, processing the job...
[2025-01-07 07:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:12:02] Production.INFO: ==21990== Releasing lock...
[2025-01-07 07:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:12:02] Production.INFO: ==21988== Lock acquired, processing the job...
[2025-01-07 02:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:12:02] Production.INFO: ==21988== Releasing lock...
[2025-01-07 02:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:12:03] Production.INFO: ==21993== Lock acquired, processing the job...
[2025-01-07 02:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:12:03] Production.INFO: ==22003== Lock acquired, processing the job...
[2025-01-07 02:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 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-07 02:12:03] Production.INFO: count ==21
[2025-01-07 02:12:03] Production.INFO: ==21995== Lock acquired, processing the job...
[2025-01-07 02:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:12:03] Production.INFO: ==21997== Lock acquired, processing the job...
[2025-01-07 02:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 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-07 02:12:03] Production.INFO: count ==21
[2025-01-07 02:12:03] Production.INFO: ==21999== Lock acquired, processing the job...
[2025-01-07 02:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191754') start
[2025-01-07 02:12:04] Production.INFO: ==22001== Lock acquired, processing the job...
[2025-01-07 02:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:12:04] Production.INFO: Account Balance Start.
[2025-01-07 02:12:04] Production.INFO: CreateAllLog Start
[2025-01-07 02:12:04] Production.INFO: 117
[2025-01-07 02:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:12:04] Production.INFO: Date 2024-12-08
[2025-01-07 02:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:12:04] Production.INFO: Date 2024-12-09
[2025-01-07 02:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191754') end
[2025-01-07 02:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:12:04] Production.INFO: 1
[2025-01-07 02:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:12:04] Production.INFO: Date 2024-12-10
[2025-01-07 02:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:12:04] Production.INFO: Date 2024-12-11
[2025-01-07 02:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:12:04] Production.INFO: ==22003== Releasing lock...
[2025-01-07 02:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:12:04] Production.INFO: Date 2024-12-12
[2025-01-07 02:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:12:04] Production.ERROR: done
[2025-01-07 02:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:12:04] Production.INFO: Date 2024-12-13
[2025-01-07 02:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:12:04] Production.ERROR: done
[2025-01-07 02:12:04] Production.INFO: ==21995== Releasing lock...
[2025-01-07 02:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:12:04] Production.INFO: Date 2024-12-14
[2025-01-07 02:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:12:04] Production.INFO: Date 2024-12-15
[2025-01-07 02:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:12:04] Production.INFO: Date 2024-12-16
[2025-01-07 02:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:12:04] Production.INFO: Date 2024-12-17
[2025-01-07 02:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:12:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:12:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:12:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:12:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:12:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:12:05] Production.INFO: Date 2024-12-23
[2025-01-07 02:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:12:05] Production.INFO: Date 2024-12-24
[2025-01-07 02:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:12:05] Production.INFO: Date 2024-12-25
[2025-01-07 02:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:12:05] Production.INFO: Date 2024-12-26
[2025-01-07 02:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:12:05] Production.INFO: Date 2024-12-27
[2025-01-07 02:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:12:05] Production.INFO: Date 2024-12-28
[2025-01-07 02:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:12:05] Production.INFO: Date 2024-12-29
[2025-01-07 02:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:12:05] Production.INFO: Date 2024-12-30
[2025-01-07 02:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:12:05] Production.INFO: Date 2024-12-31
[2025-01-07 02:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:12:05] Production.INFO: Date 2025-01-01
[2025-01-07 02:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:12:05] Production.INFO: Date 2025-01-02
[2025-01-07 02:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:12:05] Production.INFO: Date 2025-01-03
[2025-01-07 02:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:12:05] Production.INFO: Date 2025-01-04
[2025-01-07 02:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:12:05] Production.INFO: Date 2025-01-05
[2025-01-07 02:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:12:05] Production.INFO: Date 2025-01-06
[2025-01-07 02:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:12:05] Production.INFO: Date 2025-01-07
[2025-01-07 02:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:12:05] Production.INFO: Total Charge 0
[2025-01-07 02:12:05] Production.INFO: CreateAllLog End
[2025-01-07 02:12:05] Production.INFO: Account Balance End.
[2025-01-07 02:12:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:12:05] Production.INFO: ==21999== Releasing lock...
[2025-01-07 02:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:12:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:12:05
[end_date_ymd] => 2025-01-07 02:12:05
[RateCDR] => 1
)
[2025-01-07 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-06 23:12:05' and `end` < '2025-01-07 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-07 02:12:11] Production.ERROR: CronJobId end10
[2025-01-07 02:12:11] Production.INFO: ==21997== Releasing lock...
[2025-01-07 02:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:12:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:12:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:12:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:12:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:12:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:12:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:12:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:12:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:12:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:12:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:12:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:12:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:12:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:12:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:12:13] Production.INFO: call_cost start
[2025-01-07 02:12:13] Production.INFO: call_cost end
[2025-01-07 02:12:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:12:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:12:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:12:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:12:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:12:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:12:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:12:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:12:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:12:13] Production.INFO: ==21993== Releasing lock...
[2025-01-07 02:12:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:12:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:12:18] Production.INFO: count ==233
[2025-01-07 02:12:18] Production.ERROR: pbx CDR StartTime 2025-01-06 23:12:05 - End Time 2025-01-07 02:12:05
[2025-01-07 02:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191757', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191757', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191757', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191757', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:12:18] Production.INFO: ProcessCDR(1,14191757,1,1,2)
[2025-01-07 02:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191757,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191757,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191757,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191757,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191757', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191757', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:12:21] Production.INFO: ==22001== Releasing lock...
[2025-01-07 02:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:12:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:13:01] Production.INFO: ==22059== Lock acquired, processing the job...
[2025-01-07 07:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:13:01] Production.INFO: neon service started
[2025-01-07 07:13:01] Production.INFO: neon service started
[2025-01-07 07:13:01] Production.INFO: ==22059== Releasing lock...
[2025-01-07 07:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:13:01] Production.INFO: ==22061== Lock acquired, processing the job...
[2025-01-07 02:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:13:02] Production.INFO: ==22061== Releasing lock...
[2025-01-07 02:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:13:02] Production.INFO: ==22063== Lock acquired, processing the job...
[2025-01-07 07:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:13:02] Production.INFO: ==22063== Releasing lock...
[2025-01-07 07:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:13:02] Production.INFO: ==22069== Lock acquired, processing the job...
[2025-01-07 02:13:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:13:03] Production.INFO: ==22065== Lock acquired, processing the job...
[2025-01-07 02:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:13:03] Production.INFO: ==22067== Lock acquired, processing the job...
[2025-01-07 02:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:13:03] Production.INFO: ==22075== Lock acquired, processing the job...
[2025-01-07 02:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 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-07 02:13:03] Production.INFO: ==22071== Lock acquired, processing the job...
[2025-01-07 02:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:13:03] Production.INFO: count ==21
[2025-01-07 02:13:03] Production.INFO: ==22073== Lock acquired, processing the job...
[2025-01-07 02:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:13:03] Production.INFO: count ==21
[2025-01-07 02:13:03] Production.INFO: Account Balance Start.
[2025-01-07 02:13:03] Production.INFO: CreateAllLog Start
[2025-01-07 02:13:03] Production.INFO: 117
[2025-01-07 02:13:03] Production.INFO: Date 2024-12-08
[2025-01-07 02:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191758') start
[2025-01-07 02:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:13:03] Production.INFO: Date 2024-12-09
[2025-01-07 02:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:13:03] Production.INFO: Date 2024-12-10
[2025-01-07 02:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:13:03] Production.INFO: Date 2024-12-11
[2025-01-07 02:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191758') end
[2025-01-07 02:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:13:03] Production.INFO: 1
[2025-01-07 02:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:13:03] Production.INFO: ==22067== Releasing lock...
[2025-01-07 02:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:13:03] Production.INFO: Date 2024-12-12
[2025-01-07 02:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:13:03] Production.INFO: Date 2024-12-13
[2025-01-07 02:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:13:03] Production.INFO: Date 2024-12-14
[2025-01-07 02:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:13:03] Production.INFO: Date 2024-12-15
[2025-01-07 02:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:13:03] Production.INFO: Date 2024-12-16
[2025-01-07 02:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:13:03] Production.INFO: ==22075== Releasing lock...
[2025-01-07 02:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:13:03] Production.INFO: Date 2024-12-17
[2025-01-07 02:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:13:03] Production.ERROR: done
[2025-01-07 02:13:03] Production.INFO: Date 2024-12-18
[2025-01-07 02:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:13:03] Production.INFO: Date 2024-12-19
[2025-01-07 02:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:13:03] Production.INFO: Date 2024-12-20
[2025-01-07 02:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:13:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:13:04] Production.ERROR: done
[2025-01-07 02:13:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:13:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:13:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:13:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:13:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:13:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:13:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:13:04] Production.INFO: Date 2024-12-29
[2025-01-07 02:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:13:04] Production.INFO: Date 2024-12-30
[2025-01-07 02:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:13:04] Production.INFO: Date 2024-12-31
[2025-01-07 02:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:13:04] Production.INFO: Date 2025-01-01
[2025-01-07 02:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:13:04] Production.INFO: Date 2025-01-02
[2025-01-07 02:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:13:04] Production.INFO: Date 2025-01-03
[2025-01-07 02:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:13:04] Production.INFO: Date 2025-01-04
[2025-01-07 02:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:13:04] Production.INFO: Date 2025-01-05
[2025-01-07 02:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:13:04] Production.INFO: Date 2025-01-06
[2025-01-07 02:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:13:04] Production.INFO: Date 2025-01-07
[2025-01-07 02:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:13:04] Production.INFO: Total Charge 0
[2025-01-07 02:13:04] Production.INFO: CreateAllLog End
[2025-01-07 02:13:04] Production.INFO: Account Balance End.
[2025-01-07 02:13:04] Production.ERROR: CronJobId end 12
[2025-01-07 02:13:04] Production.INFO: ==22071== Releasing lock...
[2025-01-07 02:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:13:05
[end_date_ymd] => 2025-01-07 02:13:05
[RateCDR] => 1
)
[2025-01-07 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-06 23:13:05' and `end` < '2025-01-07 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-07 02:13:10] Production.ERROR: CronJobId end10
[2025-01-07 02:13:10] Production.INFO: ==22069== Releasing lock...
[2025-01-07 02:13:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:13:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:13:13] Production.INFO: call_cost start
[2025-01-07 02:13:13] Production.INFO: call_cost end
[2025-01-07 02:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:13:14] Production.INFO: ==22065== Releasing lock...
[2025-01-07 02:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:13:20] Production.INFO: count ==233
[2025-01-07 02:13:20] Production.ERROR: pbx CDR StartTime 2025-01-06 23:13:05 - End Time 2025-01-07 02:13:05
[2025-01-07 02:13:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191762', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191762', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191762', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191762', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:13:20] Production.INFO: ProcessCDR(1,14191762,1,1,2)
[2025-01-07 02:13:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191762,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:13:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191762,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:13:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191762,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:13:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191762,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191762', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191762', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:13:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:13:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:13:23] Production.INFO: ==22073== Releasing lock...
[2025-01-07 02:13:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:13:23] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:14:01] Production.INFO: ==22128== Lock acquired, processing the job...
[2025-01-07 07:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:14:01] Production.INFO: neon service started
[2025-01-07 07:14:01] Production.INFO: neon service started
[2025-01-07 07:14:01] Production.INFO: ==22128== Releasing lock...
[2025-01-07 07:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:14:02] Production.INFO: ==22130== Lock acquired, processing the job...
[2025-01-07 02:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:14:02] Production.INFO: ==22132== Lock acquired, processing the job...
[2025-01-07 07:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:14:02] Production.INFO: ==22132== Releasing lock...
[2025-01-07 07:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:14:02] Production.INFO: ==22130== Releasing lock...
[2025-01-07 02:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:14:03] Production.INFO: ==22135== Lock acquired, processing the job...
[2025-01-07 02:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:14:03] Production.INFO: ==22137== Lock acquired, processing the job...
[2025-01-07 02:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:14:03] Production.INFO: ==22139== Lock acquired, processing the job...
[2025-01-07 02:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:14:03] Production.INFO: ==22143== Lock acquired, processing the job...
[2025-01-07 02:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:14:04] Production.INFO: ==22141== Lock acquired, processing the job...
[2025-01-07 02:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:14:04] Production.INFO: ==22137== Releasing lock...
[2025-01-07 02:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:14:04] Production.INFO: ==22145== Lock acquired, processing the job...
[2025-01-07 02:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:14:04] Production.INFO: Account Balance Start.
[2025-01-07 02:14:04] Production.INFO: CreateAllLog Start
[2025-01-07 02:14:04] Production.INFO: 117
[2025-01-07 02:14:04] Production.INFO: Date 2024-12-08
[2025-01-07 02:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:14:04] Production.ERROR: done
[2025-01-07 02:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:14:04] Production.INFO: Date 2024-12-09
[2025-01-07 02:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:14:04] Production.INFO: Date 2024-12-10
[2025-01-07 02:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:14:04] Production.INFO: Date 2024-12-11
[2025-01-07 02:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:14:04] Production.INFO: Date 2024-12-12
[2025-01-07 02:14:04] Production.INFO: count ==21
[2025-01-07 02:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:14:04] Production.ERROR: done
[2025-01-07 02:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:14:04] Production.INFO: count ==21
[2025-01-07 02:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191766') start
[2025-01-07 02:14:04] Production.INFO: Date 2024-12-13
[2025-01-07 02:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:14:04] Production.INFO: Date 2024-12-14
[2025-01-07 02:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:14:04] Production.INFO: Date 2024-12-15
[2025-01-07 02:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191766') end
[2025-01-07 02:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:14:04] Production.INFO: 1
[2025-01-07 02:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:14:04] Production.INFO: Date 2024-12-16
[2025-01-07 02:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:14:04] Production.INFO: ==22145== Releasing lock...
[2025-01-07 02:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:14:04] Production.INFO: Date 2024-12-17
[2025-01-07 02:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:14:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:14:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:14:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:14:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:14:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:14:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:14:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:14:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:14:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:14:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:14:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:14:05] Production.INFO: Date 2024-12-29
[2025-01-07 02:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:14:05] Production.INFO: Date 2024-12-30
[2025-01-07 02:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:14:05] Production.INFO: Date 2024-12-31
[2025-01-07 02:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:14:05] Production.INFO: Date 2025-01-01
[2025-01-07 02:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:14:05] Production.INFO: Date 2025-01-02
[2025-01-07 02:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:14:05] Production.INFO: Date 2025-01-03
[2025-01-07 02:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:14:05] Production.INFO: Date 2025-01-04
[2025-01-07 02:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:14:05] Production.INFO: Date 2025-01-05
[2025-01-07 02:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:14:05] Production.INFO: Date 2025-01-06
[2025-01-07 02:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:14:05] Production.INFO: Date 2025-01-07
[2025-01-07 02:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:14:05
[end_date_ymd] => 2025-01-07 02:14:05
[RateCDR] => 1
)
[2025-01-07 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-06 23:14:05' and `end` < '2025-01-07 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-07 02:14:05] Production.INFO: Total Charge 0
[2025-01-07 02:14:05] Production.INFO: CreateAllLog End
[2025-01-07 02:14:05] Production.INFO: Account Balance End.
[2025-01-07 02:14:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:14:05] Production.INFO: ==22141== Releasing lock...
[2025-01-07 02:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:14:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:14:10] Production.ERROR: CronJobId end10
[2025-01-07 02:14:10] Production.INFO: ==22139== Releasing lock...
[2025-01-07 02:14:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:14:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:14:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:14:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:14:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:14:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:14:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:14:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:14:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:14:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:14:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:14:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:14:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:14:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:14:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:14:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:14:12] Production.INFO: call_cost start
[2025-01-07 02:14:12] Production.INFO: call_cost end
[2025-01-07 02:14:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:14:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:14:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:14:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:14:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:14:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:14:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:14:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:14:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:14:13] Production.INFO: ==22135== Releasing lock...
[2025-01-07 02:14:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:14:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:14:19] Production.INFO: count ==232
[2025-01-07 02:14:19] Production.ERROR: pbx CDR StartTime 2025-01-06 23:14:05 - End Time 2025-01-07 02:14:05
[2025-01-07 02:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191767', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191767', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191767', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191767', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:14:19] Production.INFO: ProcessCDR(1,14191767,1,1,2)
[2025-01-07 02:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191767,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191767,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191767,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191767,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191767', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191767', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:14:22] Production.INFO: ==22143== Releasing lock...
[2025-01-07 02:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:14:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:15:01] Production.INFO: ==22199== Lock acquired, processing the job...
[2025-01-07 07:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:15:01] Production.INFO: neon service started
[2025-01-07 07:15:01] Production.INFO: neon service started
[2025-01-07 07:15:01] Production.INFO: ==22199== Releasing lock...
[2025-01-07 07:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:15:01] Production.INFO: ==22202== Lock acquired, processing the job...
[2025-01-07 02:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:15:02] Production.INFO: ==22202== Releasing lock...
[2025-01-07 02:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:15:02] Production.INFO: ==22204== Lock acquired, processing the job...
[2025-01-07 07:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:15:02] Production.INFO: ==22204== Releasing lock...
[2025-01-07 07:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:15:02] Production.INFO: ==22215== Lock acquired, processing the job...
[2025-01-07 02:15:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:15:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:15:03] Production.ERROR: done
[2025-01-07 02:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:15:03] Production.INFO: ==22207== Lock acquired, processing the job...
[2025-01-07 02:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:15:03] Production.INFO: ==22213== Lock acquired, processing the job...
[2025-01-07 02:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:15:03] Production.ERROR: done
[2025-01-07 02:15:03] Production.INFO: ==22209== Lock acquired, processing the job...
[2025-01-07 02:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:15:03] Production.INFO: ==22211== Lock acquired, processing the job...
[2025-01-07 02:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:15:03] Production.INFO: Account Balance Start.
[2025-01-07 02:15:03] Production.INFO: CreateAllLog Start
[2025-01-07 02:15:03] Production.INFO: 117
[2025-01-07 02:15:03] Production.INFO: ==22217== Lock acquired, processing the job...
[2025-01-07 02:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:15:03] Production.INFO: Date 2024-12-08
[2025-01-07 02:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:15:03] Production.INFO: Date 2024-12-09
[2025-01-07 02:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:15:03] Production.INFO: Date 2024-12-10
[2025-01-07 02:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:15:03] Production.INFO: Date 2024-12-11
[2025-01-07 02:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:15:03] Production.INFO: Date 2024-12-12
[2025-01-07 02:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:15:03] Production.INFO: count ==21
[2025-01-07 02:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:15:03] Production.INFO: count ==21
[2025-01-07 02:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191772') start
[2025-01-07 02:15:03] Production.INFO: Date 2024-12-13
[2025-01-07 02:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:15:03] Production.INFO: ==22209== Releasing lock...
[2025-01-07 02:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:15:03] Production.INFO: Date 2024-12-14
[2025-01-07 02:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191772') end
[2025-01-07 02:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:15:03] Production.INFO: 1
[2025-01-07 02:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:15:03] Production.INFO: ==22217== Releasing lock...
[2025-01-07 02:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:15:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:15:03] Production.INFO: Date 2024-12-15
[2025-01-07 02:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:15:03] Production.INFO: Date 2024-12-16
[2025-01-07 02:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:15:04] Production.INFO: Date 2024-12-17
[2025-01-07 02:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:15:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:15:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:15:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:15:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:15:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:15:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:15:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:15:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:15:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:15:04
[end_date_ymd] => 2025-01-07 02:15:04
[RateCDR] => 1
)
[2025-01-07 02:15:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 23:15:04' and `end` < '2025-01-07 02:15:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 02:15:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:15:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:15:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:15:04] Production.INFO: Date 2024-12-29
[2025-01-07 02:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:15:04] Production.INFO: Date 2024-12-30
[2025-01-07 02:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:15:04] Production.INFO: Date 2024-12-31
[2025-01-07 02:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:15:04] Production.INFO: Date 2025-01-01
[2025-01-07 02:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:15:04] Production.INFO: Date 2025-01-02
[2025-01-07 02:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:15:04] Production.INFO: Date 2025-01-03
[2025-01-07 02:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:15:04] Production.INFO: Date 2025-01-04
[2025-01-07 02:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:15:04] Production.INFO: Date 2025-01-05
[2025-01-07 02:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:15:04] Production.INFO: Date 2025-01-06
[2025-01-07 02:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:15:04] Production.INFO: Date 2025-01-07
[2025-01-07 02:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:15:04] Production.INFO: Total Charge 0
[2025-01-07 02:15:04] Production.INFO: CreateAllLog End
[2025-01-07 02:15:05] Production.INFO: Account Balance End.
[2025-01-07 02:15:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:15:05] Production.INFO: ==22213== Releasing lock...
[2025-01-07 02:15:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:15:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:15: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-07 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-07 02:15:10] Production.ERROR: CronJobId end10
[2025-01-07 02:15:10] Production.INFO: ==22211== Releasing lock...
[2025-01-07 02:15:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:15:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:15:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:15:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:15:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:15:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:15:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:15:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:15:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:15:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:15:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:15:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:15:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:15:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:15:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:15:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:15:13] Production.INFO: call_cost start
[2025-01-07 02:15:13] Production.INFO: call_cost end
[2025-01-07 02:15:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:15:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:15:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:15:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:15:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:15:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:15:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:15:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:15:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:15:13] Production.INFO: ==22207== Releasing lock...
[2025-01-07 02:15:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:15:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:15:17] Production.INFO: count ==232
[2025-01-07 02:15:17] Production.ERROR: pbx CDR StartTime 2025-01-06 23:15:04 - End Time 2025-01-07 02:15:04
[2025-01-07 02:15:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191768', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191768', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191768', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191768', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:15:17] Production.INFO: ProcessCDR(1,14191768,1,1,2)
[2025-01-07 02:15:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191768,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:15:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191768,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:15:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191768,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:15:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191768,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:15:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191768', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:15:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191768', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:15:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:15:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:15:20] Production.INFO: ==22215== Releasing lock...
[2025-01-07 02:15:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:15:20] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:16:02] Production.INFO: ==22282== Lock acquired, processing the job...
[2025-01-07 07:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:16:02] Production.INFO: neon service started
[2025-01-07 07:16:02] Production.INFO: neon service started
[2025-01-07 07:16:02] Production.INFO: ==22282== Releasing lock...
[2025-01-07 07:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:16:02] Production.INFO: ==22284== Lock acquired, processing the job...
[2025-01-07 02:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:16:02] Production.INFO: ==22286== Lock acquired, processing the job...
[2025-01-07 07:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:16:02] Production.INFO: ==22286== Releasing lock...
[2025-01-07 07:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:16:02] Production.INFO: ==22284== Releasing lock...
[2025-01-07 02:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:16:03] Production.INFO: ==22295== Lock acquired, processing the job...
[2025-01-07 02:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:16:03] Production.INFO: ==22299== Lock acquired, processing the job...
[2025-01-07 02:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:16:03] Production.INFO: Account Balance Start.
[2025-01-07 02:16:03] Production.INFO: CreateAllLog Start
[2025-01-07 02:16:03] Production.INFO: 117
[2025-01-07 02:16:03] Production.INFO: Date 2024-12-08
[2025-01-07 02:16:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:16:03] Production.INFO: Date 2024-12-09
[2025-01-07 02:16:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:16:03] Production.INFO: ==22291== Lock acquired, processing the job...
[2025-01-07 02:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:16:03] Production.INFO: Date 2024-12-10
[2025-01-07 02:16:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:16:03] Production.INFO: ==22289== Lock acquired, processing the job...
[2025-01-07 02:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 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-07 02:16:03] Production.INFO: count ==21
[2025-01-07 02:16:03] Production.INFO: ==22293== Lock acquired, processing the job...
[2025-01-07 02:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 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-07 02:16:03] Production.INFO: Date 2024-12-11
[2025-01-07 02:16:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:16:03] Production.INFO: count ==21
[2025-01-07 02:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191774') start
[2025-01-07 02:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191774') end
[2025-01-07 02:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:16:03] Production.INFO: 1
[2025-01-07 02:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:16:03] Production.INFO: Date 2024-12-12
[2025-01-07 02:16:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:16:03] Production.INFO: ==22297== Lock acquired, processing the job...
[2025-01-07 02:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:16:03] Production.INFO: ==22299== Releasing lock...
[2025-01-07 02:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:16:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:16:03] Production.INFO: Date 2024-12-13
[2025-01-07 02:16:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:16:03] Production.INFO: Date 2024-12-14
[2025-01-07 02:16:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:16:04] Production.INFO: Date 2024-12-15
[2025-01-07 02:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:16:04] Production.INFO: Date 2024-12-16
[2025-01-07 02:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:16:04] Production.INFO: ==22291== Releasing lock...
[2025-01-07 02:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:16:04] Production.INFO: Date 2024-12-17
[2025-01-07 02:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:16:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:16:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:16:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:16:04] Production.ERROR: done
[2025-01-07 02:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:16:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:16:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:16:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:16:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:16:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:16:04] Production.ERROR: done
[2025-01-07 02:16:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:16:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:16:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:16:04] Production.INFO: Date 2024-12-29
[2025-01-07 02:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:16:04] Production.INFO: Date 2024-12-30
[2025-01-07 02:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:16:04] Production.INFO: Date 2024-12-31
[2025-01-07 02:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:16:04] Production.INFO: Date 2025-01-01
[2025-01-07 02:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:16:04] Production.INFO: Date 2025-01-02
[2025-01-07 02:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:16:04] Production.INFO: Date 2025-01-03
[2025-01-07 02:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:16:04] Production.INFO: Date 2025-01-04
[2025-01-07 02:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:16:05] Production.INFO: Date 2025-01-05
[2025-01-07 02:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:16:05] Production.INFO: Date 2025-01-06
[2025-01-07 02:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:16:05] Production.INFO: Date 2025-01-07
[2025-01-07 02:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:16:05] Production.INFO: Total Charge 0
[2025-01-07 02:16:05] Production.INFO: CreateAllLog End
[2025-01-07 02:16:05] Production.INFO: Account Balance End.
[2025-01-07 02:16:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:16:05] Production.INFO: ==22295== Releasing lock...
[2025-01-07 02:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:16:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:16:05
[end_date_ymd] => 2025-01-07 02:16:05
[RateCDR] => 1
)
[2025-01-07 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-06 23:16:05' and `end` < '2025-01-07 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-07 02:16:10] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,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-07 02:16:10] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:16:10] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:16:10] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:16:10] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:16:10] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:16:10] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:16:10] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:16:10] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:16:10] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:16:10] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:16:10] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:16:10] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:16:10] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:16:10] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:16:10] Production.INFO: call_cost start
[2025-01-07 02:16:10] Production.INFO: call_cost end
[2025-01-07 02:16:11] Production.ERROR: CronJobId end10
[2025-01-07 02:16:11] Production.INFO: ==22293== Releasing lock...
[2025-01-07 02:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:16:11] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:16:11] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:16:11] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:16:11] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:16:11] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:16:11] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:16:11] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:16:11] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:16:11] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:16:11] Production.INFO: ==22289== Releasing lock...
[2025-01-07 02:16:11] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:16:11] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:16:18] Production.INFO: count ==226
[2025-01-07 02:16:18] Production.ERROR: pbx CDR StartTime 2025-01-06 23:16:05 - End Time 2025-01-07 02:16:05
[2025-01-07 02:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191777', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191777', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191777', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191777', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:16:18] Production.INFO: ProcessCDR(1,14191777,1,1,2)
[2025-01-07 02:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191777,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191777,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191777,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191777,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191777', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191777', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:16:21] Production.INFO: ==22297== Releasing lock...
[2025-01-07 02:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:16:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:17:01] Production.INFO: ==22353== Lock acquired, processing the job...
[2025-01-07 07:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:17:01] Production.INFO: neon service started
[2025-01-07 07:17:01] Production.INFO: neon service started
[2025-01-07 07:17:01] Production.INFO: ==22353== Releasing lock...
[2025-01-07 07:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:17:01] Production.INFO: ==22357== Lock acquired, processing the job...
[2025-01-07 07:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:17:01] Production.INFO: ==22357== Releasing lock...
[2025-01-07 07:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:17:01] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:17:01] Production.INFO: ==22355== Lock acquired, processing the job...
[2025-01-07 02:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:17:02] Production.INFO: ==22355== Releasing lock...
[2025-01-07 02:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:17:02] Production.INFO: ==22361== Lock acquired, processing the job...
[2025-01-07 02:17:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:17:03] Production.INFO: ==22359== Lock acquired, processing the job...
[2025-01-07 02:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:17:03] Production.INFO: ==22367== Lock acquired, processing the job...
[2025-01-07 02:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:17:03] Production.INFO: ==22361== Releasing lock...
[2025-01-07 02:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:17:03] Production.INFO: ==22363== Lock acquired, processing the job...
[2025-01-07 02:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:17:03] Production.INFO: ==22365== Lock acquired, processing the job...
[2025-01-07 02:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:17:03] Production.INFO: ==22369== Lock acquired, processing the job...
[2025-01-07 02:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:17:03] Production.INFO: Account Balance Start.
[2025-01-07 02:17:03] Production.INFO: CreateAllLog Start
[2025-01-07 02:17:03] Production.INFO: 117
[2025-01-07 02:17:03] Production.INFO: Date 2024-12-08
[2025-01-07 02:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:17:03] Production.ERROR: done
[2025-01-07 02:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:17:03] Production.INFO: Date 2024-12-09
[2025-01-07 02:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 02:17:03] Production.INFO: count ==21
[2025-01-07 02:17:03] Production.INFO: Date 2024-12-10
[2025-01-07 02:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:17:03] Production.INFO: Date 2024-12-11
[2025-01-07 02:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:17:03] Production.INFO: count ==21
[2025-01-07 02:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191781') start
[2025-01-07 02:17:03] Production.INFO: Date 2024-12-12
[2025-01-07 02:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:17:03] Production.ERROR: done
[2025-01-07 02:17:03] Production.INFO: Date 2024-12-13
[2025-01-07 02:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191781') end
[2025-01-07 02:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:17:03] Production.INFO: 1
[2025-01-07 02:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:17:03] Production.INFO: Date 2024-12-14
[2025-01-07 02:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:17:03] Production.INFO: ==22369== Releasing lock...
[2025-01-07 02:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:17:03] Production.INFO: Date 2024-12-15
[2025-01-07 02:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:17:03] Production.INFO: Date 2024-12-16
[2025-01-07 02:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:17:03] Production.INFO: Date 2024-12-17
[2025-01-07 02:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:17:03] Production.INFO: Date 2024-12-18
[2025-01-07 02:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:17:03] Production.INFO: Date 2024-12-19
[2025-01-07 02:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:17:03] Production.INFO: Date 2024-12-20
[2025-01-07 02:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:17:03] Production.INFO: Date 2024-12-21
[2025-01-07 02:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:17:03] Production.INFO: Date 2024-12-22
[2025-01-07 02:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:17:03] Production.INFO: Date 2024-12-23
[2025-01-07 02:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:17:03] Production.INFO: Date 2024-12-24
[2025-01-07 02:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:17:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:17:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:17:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:17:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:17:04] Production.INFO: Date 2024-12-29
[2025-01-07 02:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:17:04] Production.INFO: Date 2024-12-30
[2025-01-07 02:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:17:04] Production.INFO: Date 2024-12-31
[2025-01-07 02:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:17:04] Production.INFO: Date 2025-01-01
[2025-01-07 02:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:17:04] Production.INFO: Date 2025-01-02
[2025-01-07 02:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:17:04] Production.INFO: Date 2025-01-03
[2025-01-07 02:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:17:04] Production.INFO: Date 2025-01-04
[2025-01-07 02:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:17:04] Production.INFO: Date 2025-01-05
[2025-01-07 02:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:17:04] Production.INFO: Date 2025-01-06
[2025-01-07 02:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:17:04] Production.INFO: Date 2025-01-07
[2025-01-07 02:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:17:04] Production.INFO: Total Charge 0
[2025-01-07 02:17:04] Production.INFO: CreateAllLog End
[2025-01-07 02:17:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:17:04
[end_date_ymd] => 2025-01-07 02:17:04
[RateCDR] => 1
)
[2025-01-07 02:17:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 23:17:04' and `end` < '2025-01-07 02:17:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 02:17:04] Production.INFO: Account Balance End.
[2025-01-07 02:17:04] Production.ERROR: CronJobId end 12
[2025-01-07 02:17:04] Production.INFO: ==22365== Releasing lock...
[2025-01-07 02:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:17:09] Production.ERROR: CronJobId end10
[2025-01-07 02:17:09] Production.INFO: ==22363== Releasing lock...
[2025-01-07 02:17:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:17:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:17:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:17:11] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:17:11] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:17:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:17:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:17:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:17:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:17:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:17:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:17:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:17:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:17:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:17:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:17:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:17:12] Production.INFO: call_cost start
[2025-01-07 02:17:12] Production.INFO: call_cost end
[2025-01-07 02:17:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:17:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:17:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:17:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:17:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:17:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:17:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:17:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:17:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:17:13] Production.INFO: ==22359== Releasing lock...
[2025-01-07 02:17:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:17:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:17:17] Production.INFO: count ==226
[2025-01-07 02:17:17] Production.ERROR: pbx CDR StartTime 2025-01-06 23:17:04 - End Time 2025-01-07 02:17:04
[2025-01-07 02:17:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191782', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191782', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191782', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191782', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:17:17] Production.INFO: ProcessCDR(1,14191782,1,1,2)
[2025-01-07 02:17:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191782,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:17:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191782,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:17:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191782,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:17:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191782,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:17:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191782', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:17:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191782', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:17:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:17:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:17:20] Production.INFO: ==22367== Releasing lock...
[2025-01-07 02:17:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:17:20] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:18:01] Production.INFO: ==22424== Lock acquired, processing the job...
[2025-01-07 07:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:18:01] Production.INFO: neon service started
[2025-01-07 07:18:01] Production.INFO: neon service started
[2025-01-07 07:18:01] Production.INFO: ==22424== Releasing lock...
[2025-01-07 07:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:18:02] Production.INFO: ==22428== Lock acquired, processing the job...
[2025-01-07 07:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:18:02] Production.INFO: ==22428== Releasing lock...
[2025-01-07 07:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:18:02] Production.INFO: ==22426== Lock acquired, processing the job...
[2025-01-07 02:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:18:02] Production.INFO: ==22426== Releasing lock...
[2025-01-07 02:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:18:03] Production.INFO: ==22433== Lock acquired, processing the job...
[2025-01-07 02:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:18:03] Production.INFO: ==22441== Lock acquired, processing the job...
[2025-01-07 02:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:18:03] Production.INFO: ==22433== Releasing lock...
[2025-01-07 02:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:18:03] Production.INFO: ==22431== Lock acquired, processing the job...
[2025-01-07 02:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 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-07 02:18:03] Production.INFO: count ==21
[2025-01-07 02:18:03] Production.INFO: ==22435== Lock acquired, processing the job...
[2025-01-07 02:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 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-07 02:18:03] Production.INFO: count ==21
[2025-01-07 02:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191784') start
[2025-01-07 02:18:03] Production.INFO: ==22437== Lock acquired, processing the job...
[2025-01-07 02:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:18:03] Production.INFO: ==22439== Lock acquired, processing the job...
[2025-01-07 02:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191784') end
[2025-01-07 02:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:18:04] Production.INFO: 1
[2025-01-07 02:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:18:04] Production.INFO: Account Balance Start.
[2025-01-07 02:18:04] Production.INFO: CreateAllLog Start
[2025-01-07 02:18:04] Production.INFO: 117
[2025-01-07 02:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:18:04] Production.INFO: Date 2024-12-08
[2025-01-07 02:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:18:04] Production.INFO: ==22441== Releasing lock...
[2025-01-07 02:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:18:04] Production.INFO: Date 2024-12-09
[2025-01-07 02:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:18:04] Production.INFO: Date 2024-12-10
[2025-01-07 02:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:18:04] Production.INFO: Date 2024-12-11
[2025-01-07 02:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:18:04] Production.INFO: Date 2024-12-12
[2025-01-07 02:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:18:04] Production.INFO: Date 2024-12-13
[2025-01-07 02:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:18:04] Production.INFO: Date 2024-12-14
[2025-01-07 02:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:18:04] Production.ERROR: done
[2025-01-07 02:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:18:04] Production.INFO: Date 2024-12-15
[2025-01-07 02:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:18:04] Production.INFO: Date 2024-12-16
[2025-01-07 02:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:18:04] Production.INFO: Date 2024-12-17
[2025-01-07 02:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:18:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:18:04] Production.ERROR: done
[2025-01-07 02:18:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:18:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:18:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:18:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:18:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:18:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:18:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:18:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:18:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:18:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:18:04] Production.INFO: Date 2024-12-29
[2025-01-07 02:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:18:05] Production.INFO: Date 2024-12-30
[2025-01-07 02:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:18:05] Production.INFO: Date 2024-12-31
[2025-01-07 02:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:18:05] Production.INFO: Date 2025-01-01
[2025-01-07 02:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:18:05] Production.INFO: Date 2025-01-02
[2025-01-07 02:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:18:05] Production.INFO: Date 2025-01-03
[2025-01-07 02:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:18:05] Production.INFO: Date 2025-01-04
[2025-01-07 02:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:18:05] Production.INFO: Date 2025-01-05
[2025-01-07 02:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:18:05] Production.INFO: Date 2025-01-06
[2025-01-07 02:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:18:05] Production.INFO: Date 2025-01-07
[2025-01-07 02:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:18:05] Production.INFO: Total Charge 0
[2025-01-07 02:18:05] Production.INFO: CreateAllLog End
[2025-01-07 02:18:05] Production.INFO: Account Balance End.
[2025-01-07 02:18:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:18:05] Production.INFO: ==22437== Releasing lock...
[2025-01-07 02:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:18:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:18:05
[end_date_ymd] => 2025-01-07 02:18:05
[RateCDR] => 1
)
[2025-01-07 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-06 23:18:05' and `end` < '2025-01-07 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-07 02:18:10] Production.ERROR: CronJobId end10
[2025-01-07 02:18:10] Production.INFO: ==22435== Releasing lock...
[2025-01-07 02:18:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:18:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:18:13] Production.INFO: call_cost start
[2025-01-07 02:18:13] Production.INFO: call_cost end
[2025-01-07 02:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:18:14] Production.INFO: ==22431== Releasing lock...
[2025-01-07 02:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:18:19] Production.INFO: count ==228
[2025-01-07 02:18:19] Production.ERROR: pbx CDR StartTime 2025-01-06 23:18:05 - End Time 2025-01-07 02:18:05
[2025-01-07 02:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191787', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191787', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191787', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191787', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:18:19] Production.INFO: ProcessCDR(1,14191787,1,1,2)
[2025-01-07 02:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191787,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191787,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191787,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191787,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191787', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191787', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:18:22] Production.INFO: ==22439== Releasing lock...
[2025-01-07 02:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:18:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:19:02] Production.INFO: ==22498== Lock acquired, processing the job...
[2025-01-07 07:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:19:02] Production.INFO: neon service started
[2025-01-07 07:19:02] Production.INFO: neon service started
[2025-01-07 07:19:02] Production.INFO: ==22498== Releasing lock...
[2025-01-07 07:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:19:02] Production.INFO: ==22500== Lock acquired, processing the job...
[2025-01-07 02:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:19:02] Production.INFO: ==22500== Releasing lock...
[2025-01-07 02:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:19:02] Production.INFO: ==22502== Lock acquired, processing the job...
[2025-01-07 07:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:19:02] Production.INFO: ==22502== Releasing lock...
[2025-01-07 07:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:19:03] Production.INFO: ==22504== Lock acquired, processing the job...
[2025-01-07 02:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:19:03] Production.INFO: ==22512== Lock acquired, processing the job...
[2025-01-07 02:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:19:03] Production.INFO: ==22508== Lock acquired, processing the job...
[2025-01-07 02:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:19:03] Production.INFO: ==22506== Lock acquired, processing the job...
[2025-01-07 02:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:19:03] Production.INFO: ==22510== Lock acquired, processing the job...
[2025-01-07 02:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:19:03] Production.INFO: ==22514== Lock acquired, processing the job...
[2025-01-07 02:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:19:04] Production.INFO: Account Balance Start.
[2025-01-07 02:19:04] Production.INFO: CreateAllLog Start
[2025-01-07 02:19:04] Production.INFO: 117
[2025-01-07 02:19:04] Production.INFO: Date 2024-12-08
[2025-01-07 02:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:19:04] Production.INFO: count ==21
[2025-01-07 02:19:04] Production.ERROR: done
[2025-01-07 02:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:19:04] Production.INFO: count ==21
[2025-01-07 02:19:04] Production.INFO: Date 2024-12-09
[2025-01-07 02:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191791') start
[2025-01-07 02:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:19:04] Production.INFO: Date 2024-12-10
[2025-01-07 02:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:19:04] Production.ERROR: done
[2025-01-07 02:19:04] Production.INFO: ==22506== Releasing lock...
[2025-01-07 02:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:19:04] Production.INFO: Date 2024-12-11
[2025-01-07 02:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191791') end
[2025-01-07 02:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:19:04] Production.INFO: 1
[2025-01-07 02:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:19:04] Production.INFO: ==22514== Releasing lock...
[2025-01-07 02:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:19:04] Production.INFO: Date 2024-12-12
[2025-01-07 02:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:19:04] Production.INFO: Date 2024-12-13
[2025-01-07 02:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:19:04] Production.INFO: Date 2024-12-14
[2025-01-07 02:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:19:04] Production.INFO: Date 2024-12-15
[2025-01-07 02:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:19:04] Production.INFO: Date 2024-12-16
[2025-01-07 02:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:19:04] Production.INFO: Date 2024-12-17
[2025-01-07 02:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:19:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:19:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:19:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:19:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:19:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:19:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:19:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:19:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:19:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:19:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:19:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:19:04] Production.INFO: Date 2024-12-29
[2025-01-07 02:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:19:05] Production.INFO: Date 2024-12-30
[2025-01-07 02:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:19:05] Production.INFO: Date 2024-12-31
[2025-01-07 02:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:19:05] Production.INFO: Date 2025-01-01
[2025-01-07 02:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:19:05] Production.INFO: Date 2025-01-02
[2025-01-07 02:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:19:05] Production.INFO: Date 2025-01-03
[2025-01-07 02:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:19:05] Production.INFO: Date 2025-01-04
[2025-01-07 02:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:19:05] Production.INFO: Date 2025-01-05
[2025-01-07 02:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:19:05
[end_date_ymd] => 2025-01-07 02:19:05
[RateCDR] => 1
)
[2025-01-07 02:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 23:19:05' and `end` < '2025-01-07 02:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 02:19:05] Production.INFO: Date 2025-01-06
[2025-01-07 02:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:19:05] Production.INFO: Date 2025-01-07
[2025-01-07 02:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:19:05] Production.INFO: Total Charge 0
[2025-01-07 02:19:05] Production.INFO: CreateAllLog End
[2025-01-07 02:19:05] Production.INFO: Account Balance End.
[2025-01-07 02:19:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:19:05] Production.INFO: ==22510== Releasing lock...
[2025-01-07 02:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:19:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:19:11] Production.ERROR: CronJobId end10
[2025-01-07 02:19:11] Production.INFO: ==22508== Releasing lock...
[2025-01-07 02:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:19:14] Production.INFO: call_cost start
[2025-01-07 02:19:14] Production.INFO: call_cost end
[2025-01-07 02:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:19:14] Production.INFO: ==22504== Releasing lock...
[2025-01-07 02:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:19:18] Production.INFO: count ==228
[2025-01-07 02:19:18] Production.ERROR: pbx CDR StartTime 2025-01-06 23:19:05 - End Time 2025-01-07 02:19:05
[2025-01-07 02:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191792', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191792', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191792', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191792', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:19:18] Production.INFO: ProcessCDR(1,14191792,1,1,2)
[2025-01-07 02:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191792,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191792,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191792,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191792,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191792', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191792', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:19:21] Production.INFO: ==22512== Releasing lock...
[2025-01-07 02:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:19:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:20:01] Production.INFO: ==22570== Lock acquired, processing the job...
[2025-01-07 07:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:20:01] Production.INFO: neon service started
[2025-01-07 07:20:01] Production.INFO: neon service started
[2025-01-07 07:20:01] Production.INFO: ==22570== Releasing lock...
[2025-01-07 07:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:20:02] Production.INFO: ==22572== Lock acquired, processing the job...
[2025-01-07 02:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:20:02] Production.INFO: ==22574== Lock acquired, processing the job...
[2025-01-07 07:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:20:02] Production.INFO: ==22574== Releasing lock...
[2025-01-07 07:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:20:02] Production.INFO: ==22572== Releasing lock...
[2025-01-07 02:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:20:03] Production.INFO: ==22576== Lock acquired, processing the job...
[2025-01-07 02:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 02:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 02:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 02:20:03] Production.INFO: ==22576== Releasing lock...
[2025-01-07 02:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 02:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 02:20:03] Production.INFO: ==22578== Lock acquired, processing the job...
[2025-01-07 02:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:20:03] Production.INFO: ==22580== Lock acquired, processing the job...
[2025-01-07 02:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:20:03] Production.INFO: ==22582== Lock acquired, processing the job...
[2025-01-07 02:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:20:03] Production.INFO: ==22584== Lock acquired, processing the job...
[2025-01-07 02:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:20:03] Production.INFO: ==22587== Lock acquired, processing the job...
[2025-01-07 02:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:20:03] Production.INFO: ==22589== Lock acquired, processing the job...
[2025-01-07 02:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 02:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:20:04] Production.INFO: ==22591== Lock acquired, processing the job...
[2025-01-07 02:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:20:04] Production.INFO: Account Balance Start.
[2025-01-07 02:20:04] Production.INFO: CreateAllLog Start
[2025-01-07 02:20:04] Production.INFO: 117
[2025-01-07 02:20:04] Production.INFO: Date 2024-12-08
[2025-01-07 02:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:20:04] Production.INFO: ==22580== Releasing lock...
[2025-01-07 02:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:20:04] Production.INFO: Date 2024-12-09
[2025-01-07 02:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 02:20:04] Production.ERROR: done
[2025-01-07 02:20:04] Production.INFO: count ==21
[2025-01-07 02:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:20:04] Production.ERROR: done
[2025-01-07 02:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:20:04] Production.INFO: count ==21
[2025-01-07 02:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191796') start
[2025-01-07 02:20:04] Production.INFO: Date 2024-12-10
[2025-01-07 02:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 02:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14191797', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 02:20:04] Production.INFO: Date 2024-12-11
[2025-01-07 02:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191796') end
[2025-01-07 02:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:20:04] Production.INFO: 1
[2025-01-07 02:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:20:04] Production.INFO: Date 2024-12-12
[2025-01-07 02:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:20:04] Production.INFO: Date 2024-12-13
[2025-01-07 02:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:20:04] Production.ERROR: done
[2025-01-07 02:20:04] Production.INFO: Date 2024-12-14
[2025-01-07 02:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:20:04] Production.INFO: ==22591== Releasing lock...
[2025-01-07 02:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:20:04] Production.INFO: Date 2024-12-15
[2025-01-07 02:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:20:04] Production.INFO: Date 2024-12-16
[2025-01-07 02:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:20:04] Production.INFO: Date 2024-12-17
[2025-01-07 02:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:20:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:20:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:20:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:20:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:20:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:20:05] Production.INFO: Date 2024-12-23
[2025-01-07 02:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:20:05] Production.INFO: Date 2024-12-24
[2025-01-07 02:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:20:05] Production.INFO: Date 2024-12-25
[2025-01-07 02:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:20:05] Production.INFO: Date 2024-12-26
[2025-01-07 02:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:20:05] Production.INFO: Date 2024-12-27
[2025-01-07 02:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:20:05] Production.INFO: Date 2024-12-28
[2025-01-07 02:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:20:05] Production.INFO: Date 2024-12-29
[2025-01-07 02:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:20:05] Production.INFO: Date 2024-12-30
[2025-01-07 02:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:20:05] Production.INFO: Date 2024-12-31
[2025-01-07 02:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:20:05] Production.INFO: Date 2025-01-01
[2025-01-07 02:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:20:05] Production.INFO: Date 2025-01-02
[2025-01-07 02:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:20:05] Production.INFO: Date 2025-01-03
[2025-01-07 02:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:20:05] Production.INFO: Date 2025-01-04
[2025-01-07 02:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:20:05] Production.INFO: Date 2025-01-05
[2025-01-07 02:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:20:05] Production.INFO: Date 2025-01-06
[2025-01-07 02:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:20:05] Production.INFO: Date 2025-01-07
[2025-01-07 02:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:20:05] Production.INFO: Total Charge 0
[2025-01-07 02:20:05] Production.INFO: CreateAllLog End
[2025-01-07 02:20:05] Production.INFO: Account Balance End.
[2025-01-07 02:20:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:20:05] Production.INFO: ==22584== Releasing lock...
[2025-01-07 02:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:20:06
[end_date_ymd] => 2025-01-07 02:20:06
[RateCDR] => 1
)
[2025-01-07 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-06 23:20:06' and `end` < '2025-01-07 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-07 02:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14191797', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 02:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 02:20:08] Production.INFO: ProcessCDR(1,14191797,1,1,2)
[2025-01-07 02:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14191797,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14191797,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:20:09] Production.INFO: ==22589== Releasing lock...
[2025-01-07 02:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 02:20:09] Production.INFO: 26 MB #Memory Used#
[2025-01-07 02:20:13] Production.ERROR: CronJobId end10
[2025-01-07 02:20:13] Production.INFO: ==22582== Releasing lock...
[2025-01-07 02:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:20:14] Production.INFO: call_cost start
[2025-01-07 02:20:14] Production.INFO: call_cost end
[2025-01-07 02:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:20:15] Production.INFO: ==22578== Releasing lock...
[2025-01-07 02:20:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:20:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:20:19] Production.INFO: count ==236
[2025-01-07 02:20:19] Production.ERROR: pbx CDR StartTime 2025-01-06 23:20:06 - End Time 2025-01-07 02:20:06
[2025-01-07 02:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191798', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191798', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191798', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191798', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:20:19] Production.INFO: ProcessCDR(1,14191798,1,1,2)
[2025-01-07 02:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191798,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191798,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191798,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191798,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191798', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191798', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:20:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:20:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:20:23] Production.INFO: ==22587== Releasing lock...
[2025-01-07 02:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:20:23] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:21:02] Production.INFO: ==22646== Lock acquired, processing the job...
[2025-01-07 07:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:21:02] Production.INFO: neon service started
[2025-01-07 07:21:02] Production.INFO: neon service started
[2025-01-07 07:21:02] Production.INFO: ==22646== Releasing lock...
[2025-01-07 07:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:21:02] Production.INFO: ==22650== Lock acquired, processing the job...
[2025-01-07 07:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:21:02] Production.INFO: ==22650== Releasing lock...
[2025-01-07 07:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:21:02] Production.INFO: ==22648== Lock acquired, processing the job...
[2025-01-07 02:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:21:02] Production.INFO: ==22648== Releasing lock...
[2025-01-07 02:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:21:03] Production.INFO: ==22657== Lock acquired, processing the job...
[2025-01-07 02:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:21:03] Production.INFO: ==22663== Lock acquired, processing the job...
[2025-01-07 02:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:21:03] Production.INFO: ==22653== Lock acquired, processing the job...
[2025-01-07 02:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 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-07 02:21:03] Production.INFO: ==22655== Lock acquired, processing the job...
[2025-01-07 02:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:21:04] Production.INFO: count ==21
[2025-01-07 02:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:21:04] Production.INFO: count ==21
[2025-01-07 02:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191799') start
[2025-01-07 02:21:04] Production.INFO: ==22661== Lock acquired, processing the job...
[2025-01-07 02:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:21:04] Production.INFO: ==22659== Lock acquired, processing the job...
[2025-01-07 02:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191799') end
[2025-01-07 02:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:21:04] Production.INFO: 1
[2025-01-07 02:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:21:04] Production.INFO: Account Balance Start.
[2025-01-07 02:21:04] Production.INFO: CreateAllLog Start
[2025-01-07 02:21:04] Production.INFO: 117
[2025-01-07 02:21:04] Production.INFO: Date 2024-12-08
[2025-01-07 02:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:21:04] Production.INFO: Date 2024-12-09
[2025-01-07 02:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:21:04] Production.INFO: ==22663== Releasing lock...
[2025-01-07 02:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:21:04] Production.INFO: Date 2024-12-10
[2025-01-07 02:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:21:04] Production.INFO: Date 2024-12-11
[2025-01-07 02:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:21:04] Production.INFO: Date 2024-12-12
[2025-01-07 02:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:21:04] Production.INFO: Date 2024-12-13
[2025-01-07 02:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:21:04] Production.ERROR: done
[2025-01-07 02:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:21:04] Production.INFO: ==22655== Releasing lock...
[2025-01-07 02:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:21:04] Production.INFO: Date 2024-12-14
[2025-01-07 02:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:21:04] Production.INFO: Date 2024-12-15
[2025-01-07 02:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:21:04] Production.INFO: Date 2024-12-16
[2025-01-07 02:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:21:04] Production.ERROR: done
[2025-01-07 02:21:04] Production.INFO: Date 2024-12-17
[2025-01-07 02:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:21:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:21:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:21:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:21:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:21:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:21:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:21:05] Production.INFO: Date 2024-12-24
[2025-01-07 02:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:21:05] Production.INFO: Date 2024-12-25
[2025-01-07 02:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:21:05] Production.INFO: Date 2024-12-26
[2025-01-07 02:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:21:05] Production.INFO: Date 2024-12-27
[2025-01-07 02:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:21:05] Production.INFO: Date 2024-12-28
[2025-01-07 02:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:21:05] Production.INFO: Date 2024-12-29
[2025-01-07 02:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:21:05] Production.INFO: Date 2024-12-30
[2025-01-07 02:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:21:05] Production.INFO: Date 2024-12-31
[2025-01-07 02:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:21:05] Production.INFO: Date 2025-01-01
[2025-01-07 02:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:21:05] Production.INFO: Date 2025-01-02
[2025-01-07 02:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:21:05] Production.INFO: Date 2025-01-03
[2025-01-07 02:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:21:05] Production.INFO: Date 2025-01-04
[2025-01-07 02:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:21:05] Production.INFO: Date 2025-01-05
[2025-01-07 02:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:21:05] Production.INFO: Date 2025-01-06
[2025-01-07 02:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:21:05] Production.INFO: Date 2025-01-07
[2025-01-07 02:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:21:05] Production.INFO: Total Charge 0
[2025-01-07 02:21:05] Production.INFO: CreateAllLog End
[2025-01-07 02:21:05] Production.INFO: Account Balance End.
[2025-01-07 02:21:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:21:05] Production.INFO: ==22659== Releasing lock...
[2025-01-07 02:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:21:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:21:05
[end_date_ymd] => 2025-01-07 02:21:05
[RateCDR] => 1
)
[2025-01-07 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-06 23:21:05' and `end` < '2025-01-07 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-07 02:21:10] Production.ERROR: CronJobId end10
[2025-01-07 02:21:10] Production.INFO: ==22657== Releasing lock...
[2025-01-07 02:21:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:21:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:21:13] Production.INFO: call_cost start
[2025-01-07 02:21:13] Production.INFO: call_cost end
[2025-01-07 02:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:21:14] Production.INFO: ==22653== Releasing lock...
[2025-01-07 02:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:21:20] Production.INFO: count ==237
[2025-01-07 02:21:20] Production.ERROR: pbx CDR StartTime 2025-01-06 23:21:05 - End Time 2025-01-07 02:21:05
[2025-01-07 02:21:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191803', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191803', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191803', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191803', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:21:20] Production.INFO: ProcessCDR(1,14191803,1,1,2)
[2025-01-07 02:21:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191803,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:21:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191803,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:21:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191803,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:21:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191803,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191803', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191803', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:21:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:21:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:21:23] Production.INFO: ==22661== Releasing lock...
[2025-01-07 02:21:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:21:23] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:22:01] Production.INFO: ==22719== Lock acquired, processing the job...
[2025-01-07 07:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:22:01] Production.INFO: neon service started
[2025-01-07 07:22:01] Production.INFO: neon service started
[2025-01-07 07:22:01] Production.INFO: ==22719== Releasing lock...
[2025-01-07 07:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:22:02] Production.INFO: ==22721== Lock acquired, processing the job...
[2025-01-07 02:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:22:02] Production.INFO: ==22723== Lock acquired, processing the job...
[2025-01-07 07:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:22:02] Production.INFO: ==22723== Releasing lock...
[2025-01-07 07:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:22:02] Production.INFO: ==22721== Releasing lock...
[2025-01-07 02:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:22:03] Production.INFO: ==22726== Lock acquired, processing the job...
[2025-01-07 02:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:22:03] Production.INFO: ==22728== Lock acquired, processing the job...
[2025-01-07 02:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:22:03] Production.INFO: ==22732== Lock acquired, processing the job...
[2025-01-07 02:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:22:03] Production.INFO: ==22730== Lock acquired, processing the job...
[2025-01-07 02:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:22:03] Production.INFO: ==22728== Releasing lock...
[2025-01-07 02:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:22:03] Production.INFO: Account Balance Start.
[2025-01-07 02:22:03] Production.INFO: CreateAllLog Start
[2025-01-07 02:22:03] Production.INFO: 117
[2025-01-07 02:22:03] Production.INFO: Date 2024-12-08
[2025-01-07 02:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:22:04] Production.INFO: Date 2024-12-09
[2025-01-07 02:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:22:04] Production.INFO: Date 2024-12-10
[2025-01-07 02:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:22:04] Production.INFO: Date 2024-12-11
[2025-01-07 02:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:22:04] Production.INFO: Date 2024-12-12
[2025-01-07 02:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:22:04] Production.INFO: ==22734== Lock acquired, processing the job...
[2025-01-07 02:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:22:04] Production.INFO: Date 2024-12-13
[2025-01-07 02:22:04] Production.INFO: ==22736== Lock acquired, processing the job...
[2025-01-07 02:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:22:04] Production.INFO: Date 2024-12-14
[2025-01-07 02:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:22:04] Production.INFO: Date 2024-12-15
[2025-01-07 02:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:22:04] Production.INFO: Date 2024-12-16
[2025-01-07 02:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:22:04] Production.INFO: Date 2024-12-17
[2025-01-07 02:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:22:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:22:04] Production.INFO: count ==21
[2025-01-07 02:22:04] Production.ERROR: done
[2025-01-07 02:22:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:22:04] Production.INFO: count ==21
[2025-01-07 02:22:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191807') start
[2025-01-07 02:22:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:22:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:22:04] Production.ERROR: done
[2025-01-07 02:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191807') end
[2025-01-07 02:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:22:04] Production.INFO: 1
[2025-01-07 02:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:22:04] Production.INFO: ==22736== Releasing lock...
[2025-01-07 02:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:22:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:22:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:22:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:22:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:22:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:22:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:22:04] Production.INFO: Date 2024-12-29
[2025-01-07 02:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:22:04] Production.INFO: Date 2024-12-30
[2025-01-07 02:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:22:04] Production.INFO: Date 2024-12-31
[2025-01-07 02:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:22:05] Production.INFO: Date 2025-01-01
[2025-01-07 02:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:22:05] Production.INFO: Date 2025-01-02
[2025-01-07 02:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:22:05] Production.INFO: Date 2025-01-03
[2025-01-07 02:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:22:05] Production.INFO: Date 2025-01-04
[2025-01-07 02:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:22:05] Production.INFO: Date 2025-01-05
[2025-01-07 02:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:22:05] Production.INFO: Date 2025-01-06
[2025-01-07 02:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:22:05] Production.INFO: Date 2025-01-07
[2025-01-07 02:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:22:05] Production.INFO: Total Charge 0
[2025-01-07 02:22:05] Production.INFO: CreateAllLog End
[2025-01-07 02:22:05] Production.INFO: Account Balance End.
[2025-01-07 02:22:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:22:05] Production.INFO: ==22732== Releasing lock...
[2025-01-07 02:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:22:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:22:05
[end_date_ymd] => 2025-01-07 02:22:05
[RateCDR] => 1
)
[2025-01-07 02:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 23:22:05' and `end` < '2025-01-07 02:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 02:22:12] Production.ERROR: CronJobId end10
[2025-01-07 02:22:12] Production.INFO: ==22730== Releasing lock...
[2025-01-07 02:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:22:13] Production.INFO: call_cost start
[2025-01-07 02:22:13] Production.INFO: call_cost end
[2025-01-07 02:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:22:14] Production.INFO: ==22726== Releasing lock...
[2025-01-07 02:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:22:18] Production.INFO: count ==236
[2025-01-07 02:22:18] Production.ERROR: pbx CDR StartTime 2025-01-06 23:22:05 - End Time 2025-01-07 02:22:05
[2025-01-07 02:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191808', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191808', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191808', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191808', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:22:18] Production.INFO: ProcessCDR(1,14191808,1,1,2)
[2025-01-07 02:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191808,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191808,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191808,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191808,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191808', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191808', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:22:21] Production.INFO: ==22734== Releasing lock...
[2025-01-07 02:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:22:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:23:02] Production.INFO: ==22790== Lock acquired, processing the job...
[2025-01-07 07:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:23:02] Production.INFO: neon service started
[2025-01-07 07:23:02] Production.INFO: neon service started
[2025-01-07 07:23:02] Production.INFO: ==22790== Releasing lock...
[2025-01-07 07:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:23:02] Production.INFO: ==22794== Lock acquired, processing the job...
[2025-01-07 07:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:23:02] Production.INFO: ==22794== Releasing lock...
[2025-01-07 07:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:23:02] Production.INFO: ==22792== Lock acquired, processing the job...
[2025-01-07 02:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:23:02] Production.INFO: ==22792== Releasing lock...
[2025-01-07 02:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:23:03] Production.INFO: ==22797== Lock acquired, processing the job...
[2025-01-07 02:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:23:03] Production.INFO: ==22801== Lock acquired, processing the job...
[2025-01-07 02:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:23:03] Production.INFO: ==22803== Lock acquired, processing the job...
[2025-01-07 02:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:23:03] Production.INFO: ==22799== Lock acquired, processing the job...
[2025-01-07 02:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:23:03] Production.INFO: Account Balance Start.
[2025-01-07 02:23:03] Production.INFO: CreateAllLog Start
[2025-01-07 02:23:03] Production.INFO: 117
[2025-01-07 02:23:03] Production.INFO: Date 2024-12-08
[2025-01-07 02:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:23:03] Production.INFO: Date 2024-12-09
[2025-01-07 02:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:23:03] Production.INFO: Date 2024-12-10
[2025-01-07 02:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:23:03] Production.INFO: ==22805== Lock acquired, processing the job...
[2025-01-07 02:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:23:03] Production.INFO: Date 2024-12-11
[2025-01-07 02:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:23:04] Production.INFO: Date 2024-12-12
[2025-01-07 02:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:23:04] Production.INFO: Date 2024-12-13
[2025-01-07 02:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:23:04] Production.INFO: ==22807== Lock acquired, processing the job...
[2025-01-07 02:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:23:04] Production.INFO: Date 2024-12-14
[2025-01-07 02:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:23:04] Production.INFO: Date 2024-12-15
[2025-01-07 02:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:23:04] Production.INFO: Date 2024-12-16
[2025-01-07 02:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:23:04] Production.INFO: count ==21
[2025-01-07 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-07 02:23:04] Production.INFO: Date 2024-12-17
[2025-01-07 02:23:04] Production.INFO: count ==21
[2025-01-07 02:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191812') start
[2025-01-07 02:23:04] Production.ERROR: done
[2025-01-07 02:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:23:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:23:04] Production.ERROR: done
[2025-01-07 02:23:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191812') end
[2025-01-07 02:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:23:04] Production.INFO: 1
[2025-01-07 02:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:23:04] Production.INFO: ==22799== Releasing lock...
[2025-01-07 02:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:23:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:23:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:23:04] Production.INFO: ==22807== Releasing lock...
[2025-01-07 02:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:23:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:23:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:23:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:23:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:23:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:23:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:23:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:23:04] Production.INFO: Date 2024-12-29
[2025-01-07 02:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:23:05] Production.INFO: Date 2024-12-30
[2025-01-07 02:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:23:05] Production.INFO: Date 2024-12-31
[2025-01-07 02:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:23:05] Production.INFO: Date 2025-01-01
[2025-01-07 02:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:23:05] Production.INFO: Date 2025-01-02
[2025-01-07 02:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:23:05] Production.INFO: Date 2025-01-03
[2025-01-07 02:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:23:05] Production.INFO: Date 2025-01-04
[2025-01-07 02:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:23:05] Production.INFO: Date 2025-01-05
[2025-01-07 02:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:23:05] Production.INFO: Date 2025-01-06
[2025-01-07 02:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:23:05] Production.INFO: Date 2025-01-07
[2025-01-07 02:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:23:05] Production.INFO: Total Charge 0
[2025-01-07 02:23:05] Production.INFO: CreateAllLog End
[2025-01-07 02:23:05] Production.INFO: Account Balance End.
[2025-01-07 02:23:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:23:05] Production.INFO: ==22803== Releasing lock...
[2025-01-07 02:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:23:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:23:05
[end_date_ymd] => 2025-01-07 02:23:05
[RateCDR] => 1
)
[2025-01-07 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-06 23:23:05' and `end` < '2025-01-07 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-07 02:23:10] Production.ERROR: CronJobId end10
[2025-01-07 02:23:10] Production.INFO: ==22801== Releasing lock...
[2025-01-07 02:23:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:23:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:23:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:23:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:23:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:23:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:23:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:23:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:23:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:23:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:23:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:23:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:23:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:23:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:23:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:23:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:23:13] Production.INFO: call_cost start
[2025-01-07 02:23:13] Production.INFO: call_cost end
[2025-01-07 02:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:23:14] Production.INFO: ==22797== Releasing lock...
[2025-01-07 02:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:23:18] Production.INFO: count ==235
[2025-01-07 02:23:18] Production.ERROR: pbx CDR StartTime 2025-01-06 23:23:05 - End Time 2025-01-07 02:23:05
[2025-01-07 02:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191813', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191813', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191813', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191813', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:23:18] Production.INFO: ProcessCDR(1,14191813,1,1,2)
[2025-01-07 02:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191813,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191813,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191813,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191813,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191813', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191813', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:23:21] Production.INFO: ==22805== Releasing lock...
[2025-01-07 02:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:23:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:24:01] Production.INFO: ==22861== Lock acquired, processing the job...
[2025-01-07 07:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:24:01] Production.INFO: neon service started
[2025-01-07 07:24:01] Production.INFO: neon service started
[2025-01-07 07:24:01] Production.INFO: ==22861== Releasing lock...
[2025-01-07 07:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:24:02] Production.INFO: ==22863== Lock acquired, processing the job...
[2025-01-07 02:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:24:02] Production.INFO: ==22865== Lock acquired, processing the job...
[2025-01-07 07:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:24:02] Production.INFO: ==22865== Releasing lock...
[2025-01-07 07:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:24:02] Production.INFO: ==22863== Releasing lock...
[2025-01-07 02:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:24:03] Production.INFO: ==22876== Lock acquired, processing the job...
[2025-01-07 02:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:24:03] Production.INFO: ==22868== Lock acquired, processing the job...
[2025-01-07 02:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:24:03] Production.INFO: ==22870== Lock acquired, processing the job...
[2025-01-07 02:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:24:03] Production.ERROR: done
[2025-01-07 02:24:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:24:03] Production.INFO: ==22872== Lock acquired, processing the job...
[2025-01-07 02:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:24:03] Production.INFO: ==22874== Lock acquired, processing the job...
[2025-01-07 02:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:24:03] Production.INFO: ==22878== Lock acquired, processing the job...
[2025-01-07 02:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:24:03] Production.INFO: Account Balance Start.
[2025-01-07 02:24:03] Production.INFO: CreateAllLog Start
[2025-01-07 02:24:03] Production.INFO: 117
[2025-01-07 02:24:03] Production.INFO: Date 2024-12-08
[2025-01-07 02:24:03] Production.ERROR: done
[2025-01-07 02:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 02:24:04] Production.INFO: Date 2024-12-09
[2025-01-07 02:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:24:04] Production.INFO: count ==21
[2025-01-07 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-07 02:24:04] Production.INFO: count ==21
[2025-01-07 02:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191817') start
[2025-01-07 02:24:04] Production.INFO: Date 2024-12-10
[2025-01-07 02:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:24:04] Production.INFO: ==22870== Releasing lock...
[2025-01-07 02:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191817') end
[2025-01-07 02:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:24:04] Production.INFO: 1
[2025-01-07 02:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:24:04] Production.INFO: Date 2024-12-11
[2025-01-07 02:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:24:04] Production.INFO: Date 2024-12-12
[2025-01-07 02:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:24:04] Production.INFO: ==22878== Releasing lock...
[2025-01-07 02:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:24:04] Production.INFO: Date 2024-12-13
[2025-01-07 02:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:24:04] Production.INFO: Date 2024-12-14
[2025-01-07 02:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:24:04] Production.INFO: Date 2024-12-15
[2025-01-07 02:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:24:04] Production.INFO: Date 2024-12-16
[2025-01-07 02:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:24:04] Production.INFO: Date 2024-12-17
[2025-01-07 02:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:24:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:24:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:24:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:24:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:24:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:24:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:24:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:24:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:24:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:24:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:24:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:24:04] Production.INFO: Date 2024-12-29
[2025-01-07 02:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:24:04] Production.INFO: Date 2024-12-30
[2025-01-07 02:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:24:04] Production.INFO: Date 2024-12-31
[2025-01-07 02:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:24:04] Production.INFO: Date 2025-01-01
[2025-01-07 02:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:24:04] Production.INFO: Date 2025-01-02
[2025-01-07 02:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:24:04] Production.INFO: Date 2025-01-03
[2025-01-07 02:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:24:05] Production.INFO: Date 2025-01-04
[2025-01-07 02:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:24:05] Production.INFO: Date 2025-01-05
[2025-01-07 02:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:24:05] Production.INFO: Date 2025-01-06
[2025-01-07 02:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:24:05] Production.INFO: Date 2025-01-07
[2025-01-07 02:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:24:05] Production.INFO: Total Charge 0
[2025-01-07 02:24:05] Production.INFO: CreateAllLog End
[2025-01-07 02:24:05] Production.INFO: Account Balance End.
[2025-01-07 02:24:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:24:05] Production.INFO: ==22874== Releasing lock...
[2025-01-07 02:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:24:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:24:05
[end_date_ymd] => 2025-01-07 02:24:05
[RateCDR] => 1
)
[2025-01-07 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-06 23:24:05' and `end` < '2025-01-07 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-07 02:24:11] Production.ERROR: CronJobId end10
[2025-01-07 02:24:11] Production.INFO: ==22872== Releasing lock...
[2025-01-07 02:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:24:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:24:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:24:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:24:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:24:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:24:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:24:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:24:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:24:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:24:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:24:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:24:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:24:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:24:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:24:13] Production.INFO: call_cost start
[2025-01-07 02:24:13] Production.INFO: call_cost end
[2025-01-07 02:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:24:14] Production.INFO: ==22868== Releasing lock...
[2025-01-07 02:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:24:19] Production.INFO: count ==235
[2025-01-07 02:24:19] Production.ERROR: pbx CDR StartTime 2025-01-06 23:24:05 - End Time 2025-01-07 02:24:05
[2025-01-07 02:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191818', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191818', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191818', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191818', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:24:19] Production.INFO: ProcessCDR(1,14191818,1,1,2)
[2025-01-07 02:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191818,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191818,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191818,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191818,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191818', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191818', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:24:22] Production.INFO: ==22876== Releasing lock...
[2025-01-07 02:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:24:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:25:01] Production.INFO: ==22930== Lock acquired, processing the job...
[2025-01-07 07:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:25:01] Production.INFO: neon service started
[2025-01-07 07:25:01] Production.INFO: neon service started
[2025-01-07 07:25:01] Production.INFO: ==22930== Releasing lock...
[2025-01-07 07:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:25:02] Production.INFO: ==22934== Lock acquired, processing the job...
[2025-01-07 07:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:25:02] Production.INFO: ==22934== Releasing lock...
[2025-01-07 07:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:25:02] Production.INFO: ==22932== Lock acquired, processing the job...
[2025-01-07 02:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:25:02] Production.INFO: ==22932== Releasing lock...
[2025-01-07 02:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:25:03] Production.INFO: ==22937== Lock acquired, processing the job...
[2025-01-07 02:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:25:03] Production.INFO: ==22941== Lock acquired, processing the job...
[2025-01-07 02:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:25:03] Production.INFO: ==22939== Lock acquired, processing the job...
[2025-01-07 02:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:25:03] Production.INFO: ==22947== Lock acquired, processing the job...
[2025-01-07 02:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 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-07 02:25:03] Production.INFO: ==22943== Lock acquired, processing the job...
[2025-01-07 02:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:25:03] Production.INFO: ==22945== Lock acquired, processing the job...
[2025-01-07 02:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:25:03] Production.INFO: count ==21
[2025-01-07 02:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:25:03] Production.INFO: count ==21
[2025-01-07 02:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191820') start
[2025-01-07 02:25:04] Production.INFO: Account Balance Start.
[2025-01-07 02:25:04] Production.INFO: CreateAllLog Start
[2025-01-07 02:25:04] Production.INFO: 117
[2025-01-07 02:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:25:04] Production.INFO: Date 2024-12-08
[2025-01-07 02:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:25:04] Production.INFO: Date 2024-12-09
[2025-01-07 02:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191820') end
[2025-01-07 02:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:25:04] Production.INFO: 1
[2025-01-07 02:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:25:04] Production.INFO: Date 2024-12-10
[2025-01-07 02:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:25:04] Production.INFO: ==22947== Releasing lock...
[2025-01-07 02:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:25:04] Production.INFO: ==22939== Releasing lock...
[2025-01-07 02:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:25:04] Production.INFO: Date 2024-12-11
[2025-01-07 02:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:25:04] Production.INFO: Date 2024-12-12
[2025-01-07 02:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:25:04] Production.INFO: Date 2024-12-13
[2025-01-07 02:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:25:04] Production.ERROR: done
[2025-01-07 02:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:25:04] Production.INFO: Date 2024-12-14
[2025-01-07 02:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:25:04] Production.INFO: Date 2024-12-15
[2025-01-07 02:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:25:04] Production.ERROR: done
[2025-01-07 02:25:04] Production.INFO: Date 2024-12-16
[2025-01-07 02:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:25:04] Production.INFO: Date 2024-12-17
[2025-01-07 02:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:25:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:25:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:25:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:25:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:25:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:25:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:25:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:25:05] Production.INFO: Date 2024-12-25
[2025-01-07 02:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:25:05] Production.INFO: Date 2024-12-26
[2025-01-07 02:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:25:05] Production.INFO: Date 2024-12-27
[2025-01-07 02:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:25:05] Production.INFO: Date 2024-12-28
[2025-01-07 02:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:25:05] Production.INFO: Date 2024-12-29
[2025-01-07 02:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:25:05] Production.INFO: Date 2024-12-30
[2025-01-07 02:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:25:05] Production.INFO: Date 2024-12-31
[2025-01-07 02:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:25:05] Production.INFO: Date 2025-01-01
[2025-01-07 02:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:25:05] Production.INFO: Date 2025-01-02
[2025-01-07 02:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:25:05] Production.INFO: Date 2025-01-03
[2025-01-07 02:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:25:05] Production.INFO: Date 2025-01-04
[2025-01-07 02:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:25:05] Production.INFO: Date 2025-01-05
[2025-01-07 02:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:25:05] Production.INFO: Date 2025-01-06
[2025-01-07 02:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:25:05] Production.INFO: Date 2025-01-07
[2025-01-07 02:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:25:05] Production.INFO: Total Charge 0
[2025-01-07 02:25:05] Production.INFO: CreateAllLog End
[2025-01-07 02:25:05] Production.INFO: Account Balance End.
[2025-01-07 02:25:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:25:05] Production.INFO: ==22943== Releasing lock...
[2025-01-07 02:25:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:25:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:25:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:25:06
[end_date_ymd] => 2025-01-07 02:25:06
[RateCDR] => 1
)
[2025-01-07 02: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-06 23:25:06' and `end` < '2025-01-07 02: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-07 02:25:12] Production.ERROR: CronJobId end10
[2025-01-07 02:25:12] Production.INFO: ==22941== Releasing lock...
[2025-01-07 02:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:25:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:25:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:25:14] Production.INFO: call_cost start
[2025-01-07 02:25:14] Production.INFO: call_cost end
[2025-01-07 02:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:25:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:25:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:25:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:25:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:25:15] Production.INFO: ==22937== Releasing lock...
[2025-01-07 02:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:25:19] Production.INFO: count ==234
[2025-01-07 02:25:19] Production.ERROR: pbx CDR StartTime 2025-01-06 23:25:06 - End Time 2025-01-07 02:25:06
[2025-01-07 02:25:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191823', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191823', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191823', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191823', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:25:19] Production.INFO: ProcessCDR(1,14191823,1,1,2)
[2025-01-07 02:25:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191823,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:25:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191823,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:25:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191823,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191823,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191823', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191823', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:25:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:25:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:25:22] Production.INFO: ==22945== Releasing lock...
[2025-01-07 02:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:25:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:26:01] Production.INFO: ==23039== Lock acquired, processing the job...
[2025-01-07 07:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:26:01] Production.INFO: neon service started
[2025-01-07 07:26:01] Production.INFO: neon service started
[2025-01-07 07:26:01] Production.INFO: ==23039== Releasing lock...
[2025-01-07 07:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:26:02] Production.INFO: ==23041== Lock acquired, processing the job...
[2025-01-07 02:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:26:02] Production.INFO: ==23041== Releasing lock...
[2025-01-07 02:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:26:02] Production.INFO: ==23043== Lock acquired, processing the job...
[2025-01-07 07:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:26:02] Production.INFO: ==23043== Releasing lock...
[2025-01-07 07:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:26:03] Production.INFO: ==23047== Lock acquired, processing the job...
[2025-01-07 02:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:26:03] Production.INFO: ==23045== Lock acquired, processing the job...
[2025-01-07 02:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:26:03] Production.INFO: ==23049== Lock acquired, processing the job...
[2025-01-07 02:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:26:03] Production.INFO: ==23051== Lock acquired, processing the job...
[2025-01-07 02:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:26:03] Production.INFO: ==23047== Releasing lock...
[2025-01-07 02:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:26:03] Production.INFO: ==23054== Lock acquired, processing the job...
[2025-01-07 02:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:26:03] Production.INFO: ==23056== Lock acquired, processing the job...
[2025-01-07 02:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:26:03] Production.INFO: Account Balance Start.
[2025-01-07 02:26:03] Production.INFO: CreateAllLog Start
[2025-01-07 02:26:03] Production.INFO: 117
[2025-01-07 02:26:03] Production.INFO: Date 2024-12-08
[2025-01-07 02:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:26:03] Production.INFO: Date 2024-12-09
[2025-01-07 02:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:26:03] Production.INFO: Date 2024-12-10
[2025-01-07 02:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:26:03] Production.INFO: count ==21
[2025-01-07 02:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:26:04] Production.INFO: count ==21
[2025-01-07 02:26:04] Production.ERROR: done
[2025-01-07 02:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191827') start
[2025-01-07 02:26:04] Production.INFO: Date 2024-12-11
[2025-01-07 02:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:26:04] Production.INFO: Date 2024-12-12
[2025-01-07 02:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:26:04] Production.ERROR: done
[2025-01-07 02:26:04] Production.INFO: Date 2024-12-13
[2025-01-07 02:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191827') end
[2025-01-07 02:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:26:04] Production.INFO: 1
[2025-01-07 02:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:26:04] Production.INFO: Date 2024-12-14
[2025-01-07 02:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:26:04] Production.INFO: Date 2024-12-15
[2025-01-07 02:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:26:04] Production.INFO: Date 2024-12-16
[2025-01-07 02:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:26:04] Production.INFO: Date 2024-12-17
[2025-01-07 02:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:26:04] Production.INFO: ==23056== Releasing lock...
[2025-01-07 02:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:26:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:26:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:26:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:26:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:26:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:26:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:26:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:26:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:26:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:26:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:26:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:26:04] Production.INFO: Date 2024-12-29
[2025-01-07 02:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:26:04] Production.INFO: Date 2024-12-30
[2025-01-07 02:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:26:04] Production.INFO: Date 2024-12-31
[2025-01-07 02:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:26:04] Production.INFO: Date 2025-01-01
[2025-01-07 02:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:26:04] Production.INFO: Date 2025-01-02
[2025-01-07 02:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:26:04] Production.INFO: Date 2025-01-03
[2025-01-07 02:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:26:04] Production.INFO: Date 2025-01-04
[2025-01-07 02:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:26:04] Production.INFO: Date 2025-01-05
[2025-01-07 02:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:26:04] Production.INFO: Date 2025-01-06
[2025-01-07 02:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:26:04] Production.INFO: Date 2025-01-07
[2025-01-07 02:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:26:04] Production.INFO: Total Charge 0
[2025-01-07 02:26:04] Production.INFO: CreateAllLog End
[2025-01-07 02:26:05] Production.INFO: Account Balance End.
[2025-01-07 02:26:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:26:05] Production.INFO: ==23051== Releasing lock...
[2025-01-07 02:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:26:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:26:05
[end_date_ymd] => 2025-01-07 02:26:05
[RateCDR] => 1
)
[2025-01-07 02:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 23:26:05' and `end` < '2025-01-07 02:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 02:26:11] Production.ERROR: CronJobId end10
[2025-01-07 02:26:11] Production.INFO: ==23049== Releasing lock...
[2025-01-07 02:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:26:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:26:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:26:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:26:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:26:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:26:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:26:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:26:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:26:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:26:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:26:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:26:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:26:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:26:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:26:13] Production.INFO: call_cost start
[2025-01-07 02:26:13] Production.INFO: call_cost end
[2025-01-07 02:26:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:26:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:26:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:26:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:26:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:26:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:26:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:26:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:26:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:26:13] Production.INFO: ==23045== Releasing lock...
[2025-01-07 02:26:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:26:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:26:18] Production.INFO: count ==233
[2025-01-07 02:26:18] Production.ERROR: pbx CDR StartTime 2025-01-06 23:26:05 - End Time 2025-01-07 02:26:05
[2025-01-07 02:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191828', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191828', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191828', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191828', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:26:18] Production.INFO: ProcessCDR(1,14191828,1,1,2)
[2025-01-07 02:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191828,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191828,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191828,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191828,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191828', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191828', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:26:22] Production.INFO: ==23054== Releasing lock...
[2025-01-07 02:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:26:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:27:02] Production.INFO: ==23115== Lock acquired, processing the job...
[2025-01-07 07:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:27:02] Production.INFO: neon service started
[2025-01-07 07:27:02] Production.INFO: neon service started
[2025-01-07 07:27:02] Production.INFO: ==23115== Releasing lock...
[2025-01-07 07:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:27:02] Production.INFO: ==23118== Lock acquired, processing the job...
[2025-01-07 02:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:27:02] Production.INFO: ==23120== Lock acquired, processing the job...
[2025-01-07 07:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:27:02] Production.INFO: ==23120== Releasing lock...
[2025-01-07 07:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:27:03] Production.INFO: ==23118== Releasing lock...
[2025-01-07 02:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:27:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:27:03] Production.INFO: ==23122== Lock acquired, processing the job...
[2025-01-07 02:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:27:03] Production.INFO: ==23124== Lock acquired, processing the job...
[2025-01-07 02:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:27:03] Production.INFO: ==23126== Lock acquired, processing the job...
[2025-01-07 02:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:27:04] Production.INFO: ==23128== Lock acquired, processing the job...
[2025-01-07 02:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:27:04] Production.INFO: ==23130== Lock acquired, processing the job...
[2025-01-07 02:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:27:04] Production.INFO: Account Balance Start.
[2025-01-07 02:27:04] Production.INFO: CreateAllLog Start
[2025-01-07 02:27:04] Production.INFO: 117
[2025-01-07 02:27:04] Production.INFO: Date 2024-12-08
[2025-01-07 02:27:04] Production.INFO: ==23132== Lock acquired, processing the job...
[2025-01-07 02:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:27:04] Production.INFO: Date 2024-12-09
[2025-01-07 02:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:27:04] Production.INFO: ==23124== Releasing lock...
[2025-01-07 02:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:27:04] Production.INFO: Date 2024-12-10
[2025-01-07 02:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:27:04] Production.INFO: Date 2024-12-11
[2025-01-07 02:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:27:04] Production.INFO: count ==21
[2025-01-07 02:27:04] Production.INFO: Date 2024-12-12
[2025-01-07 02:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:27:04] Production.ERROR: done
[2025-01-07 02:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:27:04] Production.INFO: count ==21
[2025-01-07 02:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191832') start
[2025-01-07 02:27:04] Production.INFO: Date 2024-12-13
[2025-01-07 02:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:27:04] Production.INFO: Date 2024-12-14
[2025-01-07 02:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191832') end
[2025-01-07 02:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:27:04] Production.INFO: 1
[2025-01-07 02:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:27:04] Production.INFO: Date 2024-12-15
[2025-01-07 02:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:27:04] Production.ERROR: done
[2025-01-07 02:27:04] Production.INFO: ==23132== Releasing lock...
[2025-01-07 02:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:27:04] Production.INFO: Date 2024-12-16
[2025-01-07 02:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:27:04] Production.INFO: Date 2024-12-17
[2025-01-07 02:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:27:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:27:05] Production.INFO: Date 2024-12-19
[2025-01-07 02:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:27:05] Production.INFO: Date 2024-12-20
[2025-01-07 02:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:27:05] Production.INFO: Date 2024-12-21
[2025-01-07 02:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:27:05] Production.INFO: Date 2024-12-22
[2025-01-07 02:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:27:05] Production.INFO: Date 2024-12-23
[2025-01-07 02:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:27:05] Production.INFO: Date 2024-12-24
[2025-01-07 02:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:27:05] Production.INFO: Date 2024-12-25
[2025-01-07 02:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:27:05] Production.INFO: Date 2024-12-26
[2025-01-07 02:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:27:05] Production.INFO: Date 2024-12-27
[2025-01-07 02:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:27:05] Production.INFO: Date 2024-12-28
[2025-01-07 02:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:27:05] Production.INFO: Date 2024-12-29
[2025-01-07 02:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:27:05] Production.INFO: Date 2024-12-30
[2025-01-07 02:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:27:05] Production.INFO: Date 2024-12-31
[2025-01-07 02:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:27:05] Production.INFO: Date 2025-01-01
[2025-01-07 02:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:27:05] Production.INFO: Date 2025-01-02
[2025-01-07 02:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:27:05] Production.INFO: Date 2025-01-03
[2025-01-07 02:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:27:05] Production.INFO: Date 2025-01-04
[2025-01-07 02:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:27:05] Production.INFO: Date 2025-01-05
[2025-01-07 02:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:27:05] Production.INFO: Date 2025-01-06
[2025-01-07 02:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:27:05] Production.INFO: Date 2025-01-07
[2025-01-07 02:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:27:05] Production.INFO: Total Charge 0
[2025-01-07 02:27:06] Production.INFO: CreateAllLog End
[2025-01-07 02:27:06] Production.INFO: Account Balance End.
[2025-01-07 02:27:06] Production.ERROR: CronJobId end 12
[2025-01-07 02:27:06] Production.INFO: ==23128== Releasing lock...
[2025-01-07 02:27:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:27:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:27:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:27:06
[end_date_ymd] => 2025-01-07 02:27:06
[RateCDR] => 1
)
[2025-01-07 02:27:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 23:27:06' and `end` < '2025-01-07 02:27:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 02:27:11] Production.ERROR: CronJobId end10
[2025-01-07 02:27:11] Production.INFO: ==23126== Releasing lock...
[2025-01-07 02:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:27:14] Production.INFO: call_cost start
[2025-01-07 02:27:14] Production.INFO: call_cost end
[2025-01-07 02:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:27:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:27:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:27:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:27:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:27:15] Production.INFO: ==23122== Releasing lock...
[2025-01-07 02:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:27:19] Production.INFO: count ==233
[2025-01-07 02:27:19] Production.ERROR: pbx CDR StartTime 2025-01-06 23:27:06 - End Time 2025-01-07 02:27:06
[2025-01-07 02:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191833', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191833', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191833', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191833', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:27:19] Production.INFO: ProcessCDR(1,14191833,1,1,2)
[2025-01-07 02:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191833,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:27:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191833,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:27:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191833,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191833,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191833', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191833', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:27:22] Production.INFO: ==23130== Releasing lock...
[2025-01-07 02:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:27:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:28:01] Production.INFO: ==23187== Lock acquired, processing the job...
[2025-01-07 07:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:28:01] Production.INFO: neon service started
[2025-01-07 07:28:01] Production.INFO: neon service started
[2025-01-07 07:28:01] Production.INFO: ==23187== Releasing lock...
[2025-01-07 07:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:28:01] Production.INFO: ==23189== Lock acquired, processing the job...
[2025-01-07 02:28:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:28:02] Production.INFO: ==23189== Releasing lock...
[2025-01-07 02:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:28:02] Production.INFO: ==23191== Lock acquired, processing the job...
[2025-01-07 07:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:28:02] Production.INFO: ==23191== Releasing lock...
[2025-01-07 07:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:28:02] Production.INFO: ==23193== Lock acquired, processing the job...
[2025-01-07 02:28:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:28:03] Production.INFO: ==23197== Lock acquired, processing the job...
[2025-01-07 02:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:28:03] Production.INFO: ==23199== Lock acquired, processing the job...
[2025-01-07 02:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:28:03] Production.INFO: Account Balance Start.
[2025-01-07 02:28:03] Production.INFO: CreateAllLog Start
[2025-01-07 02:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:28:03] Production.INFO: ==23195== Lock acquired, processing the job...
[2025-01-07 02:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:28:03] Production.INFO: 117
[2025-01-07 02:28:03] Production.INFO: Date 2024-12-08
[2025-01-07 02:28:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:28:03] Production.INFO: Date 2024-12-09
[2025-01-07 02:28:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:28:03] Production.INFO: ==23201== Lock acquired, processing the job...
[2025-01-07 02:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:28:03] Production.INFO: Date 2024-12-10
[2025-01-07 02:28:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:28:03] Production.INFO: ==23203== Lock acquired, processing the job...
[2025-01-07 02:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:28:03] Production.INFO: Date 2024-12-11
[2025-01-07 02:28:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:28:03] Production.INFO: Date 2024-12-12
[2025-01-07 02:28:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:28:03] Production.INFO: Date 2024-12-13
[2025-01-07 02:28:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:28:03] Production.INFO: Date 2024-12-14
[2025-01-07 02:28:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:28:03] Production.INFO: Date 2024-12-15
[2025-01-07 02:28:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 02:28:03] Production.INFO: Date 2024-12-16
[2025-01-07 02:28:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:28:03] Production.INFO: Date 2024-12-17
[2025-01-07 02:28:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:28:03] Production.INFO: count ==21
[2025-01-07 02:28:03] Production.INFO: Date 2024-12-18
[2025-01-07 02:28:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 02:28:03] Production.INFO: count ==21
[2025-01-07 02:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191837') start
[2025-01-07 02:28:03] Production.ERROR: done
[2025-01-07 02:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:28:03] Production.INFO: Date 2024-12-19
[2025-01-07 02:28:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191837') end
[2025-01-07 02:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:28:03] Production.INFO: 1
[2025-01-07 02:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:28:03] Production.INFO: Date 2024-12-20
[2025-01-07 02:28:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:28:03] Production.ERROR: done
[2025-01-07 02:28:04] Production.INFO: ==23195== Releasing lock...
[2025-01-07 02:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:28:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:28:04] Production.INFO: ==23203== Releasing lock...
[2025-01-07 02:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:28:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:28:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:28:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:28:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:28:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:28:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:28:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:28:04] Production.INFO: Date 2024-12-29
[2025-01-07 02:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:28:04] Production.INFO: Date 2024-12-30
[2025-01-07 02:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:28:04] Production.INFO: Date 2024-12-31
[2025-01-07 02:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:28:04] Production.INFO: Date 2025-01-01
[2025-01-07 02:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:28:04] Production.INFO: Date 2025-01-02
[2025-01-07 02:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:28:04] Production.INFO: Date 2025-01-03
[2025-01-07 02:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:28:04] Production.INFO: Date 2025-01-04
[2025-01-07 02:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:28:04] Production.INFO: Date 2025-01-05
[2025-01-07 02:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:28:04] Production.INFO: Date 2025-01-06
[2025-01-07 02:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:28:04] Production.INFO: Date 2025-01-07
[2025-01-07 02:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:28:04] Production.INFO: Total Charge 0
[2025-01-07 02:28:04] Production.INFO: CreateAllLog End
[2025-01-07 02:28:05] Production.INFO: Account Balance End.
[2025-01-07 02:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:28:05
[end_date_ymd] => 2025-01-07 02:28:05
[RateCDR] => 1
)
[2025-01-07 02:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 23:28:05' and `end` < '2025-01-07 02: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-07 02:28:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:28:05] Production.INFO: ==23199== Releasing lock...
[2025-01-07 02:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:28:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:28:11] Production.ERROR: CronJobId end10
[2025-01-07 02:28:11] Production.INFO: ==23197== Releasing lock...
[2025-01-07 02:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:28:13] Production.INFO: call_cost start
[2025-01-07 02:28:13] Production.INFO: call_cost end
[2025-01-07 02:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:28:14] Production.INFO: ==23193== Releasing lock...
[2025-01-07 02:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:28:17] Production.INFO: count ==232
[2025-01-07 02:28:17] Production.ERROR: pbx CDR StartTime 2025-01-06 23:28:05 - End Time 2025-01-07 02:28:05
[2025-01-07 02:28:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191838', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191838', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191838', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191838', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:28:17] Production.INFO: ProcessCDR(1,14191838,1,1,2)
[2025-01-07 02:28:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191838,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:28:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191838,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:28:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191838,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191838,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191838', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191838', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:28:21] Production.INFO: ==23201== Releasing lock...
[2025-01-07 02:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:28:21] Production.INFO: 29 MB #Memory Used#
[2025-01-07 07:29:01] Production.INFO: ==23259== Lock acquired, processing the job...
[2025-01-07 07:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:29:01] Production.INFO: neon service started
[2025-01-07 07:29:01] Production.INFO: neon service started
[2025-01-07 07:29:01] Production.INFO: ==23259== Releasing lock...
[2025-01-07 07:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:29:02] Production.INFO: ==23261== Lock acquired, processing the job...
[2025-01-07 02:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:29:02] Production.INFO: ==23261== Releasing lock...
[2025-01-07 02:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:29:02] Production.INFO: ==23263== Lock acquired, processing the job...
[2025-01-07 07:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:29:02] Production.INFO: ==23263== Releasing lock...
[2025-01-07 07:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:29:03] Production.INFO: ==23266== Lock acquired, processing the job...
[2025-01-07 02:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:29:03] Production.INFO: ==23270== Lock acquired, processing the job...
[2025-01-07 02:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:29:03] Production.INFO: ==23272== Lock acquired, processing the job...
[2025-01-07 02:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:29:03] Production.INFO: Account Balance Start.
[2025-01-07 02:29:03] Production.INFO: CreateAllLog Start
[2025-01-07 02:29:03] Production.INFO: 117
[2025-01-07 02:29:03] Production.INFO: Date 2024-12-08
[2025-01-07 02:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:29:03] Production.INFO: ==23268== Lock acquired, processing the job...
[2025-01-07 02:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:29:03] Production.INFO: Date 2024-12-09
[2025-01-07 02:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:29:03] Production.INFO: Date 2024-12-10
[2025-01-07 02:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:29:03] Production.INFO: Date 2024-12-11
[2025-01-07 02:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:29:03] Production.INFO: ==23274== Lock acquired, processing the job...
[2025-01-07 02:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:29:03] Production.INFO: ==23276== Lock acquired, processing the job...
[2025-01-07 02:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:29:03] Production.INFO: Date 2024-12-12
[2025-01-07 02:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:29:03] Production.INFO: Date 2024-12-13
[2025-01-07 02:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:29:03] Production.INFO: Date 2024-12-14
[2025-01-07 02:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:29:03] Production.INFO: Date 2024-12-15
[2025-01-07 02:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:29:03] Production.INFO: Date 2024-12-16
[2025-01-07 02:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:29:03] Production.INFO: Date 2024-12-17
[2025-01-07 02:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:29:04] Production.INFO: ==23268== Releasing lock...
[2025-01-07 02: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-07 02:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:29:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:29:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:29:04] Production.INFO: count ==21
[2025-01-07 02:29:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 02: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-07 02:29:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:29:04] Production.INFO: count ==21
[2025-01-07 02:29:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191842') start
[2025-01-07 02:29:04] Production.ERROR: done
[2025-01-07 02:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:29:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:29:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:29:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191842') end
[2025-01-07 02:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:29:04] Production.INFO: 1
[2025-01-07 02:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:29:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:29:04] Production.ERROR: done
[2025-01-07 02:29:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:29:04] Production.INFO: ==23276== Releasing lock...
[2025-01-07 02:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:29:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:29:04] Production.INFO: Date 2024-12-29
[2025-01-07 02:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:29:04] Production.INFO: Date 2024-12-30
[2025-01-07 02:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:29:04] Production.INFO: Date 2024-12-31
[2025-01-07 02:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:29:04] Production.INFO: Date 2025-01-01
[2025-01-07 02:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:29:04] Production.INFO: Date 2025-01-02
[2025-01-07 02:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:29:04] Production.INFO: Date 2025-01-03
[2025-01-07 02:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:29:04] Production.INFO: Date 2025-01-04
[2025-01-07 02:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:29:04] Production.INFO: Date 2025-01-05
[2025-01-07 02:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:29:04] Production.INFO: Date 2025-01-06
[2025-01-07 02:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:29:04] Production.INFO: Date 2025-01-07
[2025-01-07 02:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:29:04] Production.INFO: Total Charge 0
[2025-01-07 02:29:04] Production.INFO: CreateAllLog End
[2025-01-07 02:29:05] Production.INFO: Account Balance End.
[2025-01-07 02:29:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:29:05] Production.INFO: ==23272== Releasing lock...
[2025-01-07 02:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:29:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:29:05
[end_date_ymd] => 2025-01-07 02:29:05
[RateCDR] => 1
)
[2025-01-07 02:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 23:29:05' and `end` < '2025-01-07 02:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 02:29:10] Production.ERROR: CronJobId end10
[2025-01-07 02:29:10] Production.INFO: ==23270== Releasing lock...
[2025-01-07 02:29:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:29:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:29:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:29:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:29:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:29:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:29:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:29:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:29:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:29:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:29:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:29:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:29:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:29:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:29:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:29:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:29:13] Production.INFO: call_cost start
[2025-01-07 02:29:13] Production.INFO: call_cost end
[2025-01-07 02:29:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:29:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:29:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:29:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:29:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:29:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:29:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:29:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:29:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:29:13] Production.INFO: ==23266== Releasing lock...
[2025-01-07 02:29:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:29:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:29:18] Production.INFO: count ==232
[2025-01-07 02:29:18] Production.ERROR: pbx CDR StartTime 2025-01-06 23:29:05 - End Time 2025-01-07 02:29:05
[2025-01-07 02:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191843', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191843', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191843', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191843', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:29:18] Production.INFO: ProcessCDR(1,14191843,1,1,2)
[2025-01-07 02:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191843,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191843,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191843,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191843,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191843', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191843', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:29:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:29:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:29:21] Production.INFO: ==23274== Releasing lock...
[2025-01-07 02:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:29:21] Production.INFO: 29 MB #Memory Used#
[2025-01-07 07:30:01] Production.INFO: ==23331== Lock acquired, processing the job...
[2025-01-07 07:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:30:01] Production.INFO: neon service started
[2025-01-07 07:30:01] Production.INFO: neon service started
[2025-01-07 07:30:01] Production.INFO: ==23331== Releasing lock...
[2025-01-07 07:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:30:01] Production.INFO: ==23333== Lock acquired, processing the job...
[2025-01-07 02:30:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:30:02] Production.INFO: ==23333== Releasing lock...
[2025-01-07 02:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:30:02] Production.INFO: ==23335== Lock acquired, processing the job...
[2025-01-07 07:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:30:02] Production.INFO: ==23335== Releasing lock...
[2025-01-07 07:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:30:03] Production.INFO: ==23339== Lock acquired, processing the job...
[2025-01-07 02:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:30:03] Production.INFO: ==23341== Lock acquired, processing the job...
[2025-01-07 02:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:30:03] Production.INFO: ==23343== Lock acquired, processing the job...
[2025-01-07 02:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:30:03] Production.INFO: ==23345== Lock acquired, processing the job...
[2025-01-07 02:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:30:03] Production.INFO: ==23337== Lock acquired, processing the job...
[2025-01-07 02:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 02:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 02:30:03] Production.INFO: Account Balance Start.
[2025-01-07 02:30:03] Production.INFO: CreateAllLog Start
[2025-01-07 02:30:03] Production.INFO: 117
[2025-01-07 02:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 02:30:03] Production.ERROR: CronJob PID - 23339
[2025-01-07 02:30:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-07 02:30:03] Production.ERROR: CronJob ID - 5
[2025-01-07 02:30:03] Production.ERROR: CronJob Last Run Time 2025-01-07 02:30:00
[2025-01-07 02:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 02:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 02:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 02:30:03] Production.ERROR: CronJob PID - 23343
[2025-01-07 02:30:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-07 02:30:03] Production.ERROR: CronJob ID - 10
[2025-01-07 02:30:03] Production.ERROR: CronJob Last Run Time 2025-01-07 02:30:00
[2025-01-07 02:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 02:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 02:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 02:30:03] Production.ERROR: CronJob PID - 23345
[2025-01-07 02:30:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-07 02:30:03] Production.ERROR: CronJob ID - 12
[2025-01-07 02:30:03] Production.ERROR: CronJob Last Run Time 2025-01-07 02:30:00
[2025-01-07 02:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 02:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 02:30:03] Production.INFO: ==23341== Releasing lock...
[2025-01-07 02:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:30:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:30:03] Production.INFO: Date 2024-12-08
[2025-01-07 02:30:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 02:30:03] Production.INFO: ==23337== Releasing lock...
[2025-01-07 02:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 02:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 02:30:03] Production.INFO: Date 2024-12-09
[2025-01-07 02:30:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:30:03] Production.INFO: ==23347== Lock acquired, processing the job...
[2025-01-07 02:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:30:03] Production.INFO: Date 2024-12-10
[2025-01-07 02:30:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:30:03] Production.INFO: ==23349== Lock acquired, processing the job...
[2025-01-07 02:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 02:30:03] Production.INFO: ==23351== Lock acquired, processing the job...
[2025-01-07 02:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:30:03] Production.INFO: Date 2024-12-11
[2025-01-07 02:30:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:30:03] Production.INFO: Date 2024-12-12
[2025-01-07 02:30:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:30:03] Production.INFO: Date 2024-12-13
[2025-01-07 02:30:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:30:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:30:03] Production.INFO: Date 2024-12-14
[2025-01-07 02:30:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:30:03] Production.INFO: Date 2024-12-15
[2025-01-07 02:30:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:30:03] Production.INFO: count ==21
[2025-01-07 02:30:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:30:03] Production.INFO: Date 2024-12-16
[2025-01-07 02:30:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:30:03] Production.INFO: count ==21
[2025-01-07 02:30:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191847') start
[2025-01-07 02:30:04] Production.ERROR: done
[2025-01-07 02:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:30:04] Production.INFO: Date 2024-12-17
[2025-01-07 02:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191847') end
[2025-01-07 02:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:30:04] Production.INFO: 1
[2025-01-07 02:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:30:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:30:04] Production.INFO: ==23351== Releasing lock...
[2025-01-07 02:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:30:04] Production.ERROR: done
[2025-01-07 02:30:04] Production.ERROR: done
[2025-01-07 02:30:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:30:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 02:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14191849', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 02:30:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:30:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:30:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:30:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:30:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:30:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:30:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:30:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:30:04] Production.INFO: Date 2024-12-29
[2025-01-07 02:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:30:04] Production.INFO: Date 2024-12-30
[2025-01-07 02:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:30:04] Production.INFO: Date 2024-12-31
[2025-01-07 02:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:30:04] Production.INFO: Date 2025-01-01
[2025-01-07 02:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:30:04] Production.INFO: Date 2025-01-02
[2025-01-07 02:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:30:04] Production.INFO: Date 2025-01-03
[2025-01-07 02:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:30:04] Production.INFO: Date 2025-01-04
[2025-01-07 02:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:30:04] Production.INFO: Date 2025-01-05
[2025-01-07 02:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:30:04] Production.INFO: Date 2025-01-06
[2025-01-07 02:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:30:05] Production.INFO: Date 2025-01-07
[2025-01-07 02:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:30:05] Production.INFO: Total Charge 0
[2025-01-07 02:30:05] Production.INFO: CreateAllLog End
[2025-01-07 02:30:05] Production.INFO: Account Balance End.
[2025-01-07 02:30:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:30:05] Production.INFO: ==23345== Releasing lock...
[2025-01-07 02:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:30:05
[end_date_ymd] => 2025-01-07 02:30:05
[RateCDR] => 1
)
[2025-01-07 02: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-06 23:30:05' and `end` < '2025-01-07 02: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-07 02:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14191849', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 02:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 02:30:08] Production.INFO: ProcessCDR(1,14191849,1,1,2)
[2025-01-07 02:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14191849,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14191849,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:30:08] Production.INFO: ==23349== Releasing lock...
[2025-01-07 02:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 02:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-07 02:30:12] Production.ERROR: CronJobId end10
[2025-01-07 02:30:12] Production.INFO: ==23343== Releasing lock...
[2025-01-07 02:30:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:30:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:30:15] Production.INFO: call_cost start
[2025-01-07 02:30:15] Production.INFO: call_cost end
[2025-01-07 02:30:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:30:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:30:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:30:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:30:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:30:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:30:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:30:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:30:16] Production.INFO: ==23339== Releasing lock...
[2025-01-07 02:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:30:18] Production.INFO: count ==232
[2025-01-07 02:30:18] Production.ERROR: pbx CDR StartTime 2025-01-06 23:30:05 - End Time 2025-01-07 02:30:05
[2025-01-07 02:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191848', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191848', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191848', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191848', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:30:18] Production.INFO: ProcessCDR(1,14191848,1,1,2)
[2025-01-07 02:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191848,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191848,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191848,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:30:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191848,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191848', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191848', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:30:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:30:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:30:21] Production.INFO: ==23347== Releasing lock...
[2025-01-07 02:30:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:30:21] Production.INFO: 29 MB #Memory Used#
[2025-01-07 07:31:01] Production.INFO: ==23407== Lock acquired, processing the job...
[2025-01-07 07:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:31:01] Production.INFO: neon service started
[2025-01-07 07:31:01] Production.INFO: neon service started
[2025-01-07 07:31:01] Production.INFO: ==23407== Releasing lock...
[2025-01-07 07:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:31:02] Production.INFO: ==23409== Lock acquired, processing the job...
[2025-01-07 02:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:31:02] Production.INFO: ==23411== Lock acquired, processing the job...
[2025-01-07 07:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:31:02] Production.INFO: ==23409== Releasing lock...
[2025-01-07 02:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:31:02] Production.INFO: ==23411== Releasing lock...
[2025-01-07 07:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:31:02] Production.INFO: 26 MB #Memory Used#
[2025-01-07 02:31:03] Production.INFO: ==23419== Lock acquired, processing the job...
[2025-01-07 02:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:31:03] Production.INFO: Account Balance Start.
[2025-01-07 02:31:03] Production.INFO: CreateAllLog Start
[2025-01-07 02:31:03] Production.INFO: 117
[2025-01-07 02:31:03] Production.INFO: Date 2024-12-08
[2025-01-07 02:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:31:03] Production.INFO: ==23415== Lock acquired, processing the job...
[2025-01-07 02:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:31:03] Production.INFO: Date 2024-12-09
[2025-01-07 02:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:31:03] Production.INFO: ==23424== Lock acquired, processing the job...
[2025-01-07 02:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:31:03] Production.INFO: Date 2024-12-10
[2025-01-07 02:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:31:03] Production.INFO: ==23413== Lock acquired, processing the job...
[2025-01-07 02:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:31:03] Production.INFO: Date 2024-12-11
[2025-01-07 02:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:31:03] Production.INFO: Date 2024-12-12
[2025-01-07 02:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 02:31:03] Production.INFO: Date 2024-12-13
[2025-01-07 02:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:31:03] Production.INFO: count ==21
[2025-01-07 02:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 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-07 02:31:03] Production.INFO: ==23417== Lock acquired, processing the job...
[2025-01-07 02:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:31:03] Production.INFO: count ==21
[2025-01-07 02:31:03] Production.INFO: ==23421== Lock acquired, processing the job...
[2025-01-07 02:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191851') start
[2025-01-07 02:31:03] Production.INFO: Date 2024-12-14
[2025-01-07 02:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:31:03] Production.INFO: Date 2024-12-15
[2025-01-07 02:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:31:03] Production.INFO: Date 2024-12-16
[2025-01-07 02:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:31:03] Production.INFO: Date 2024-12-17
[2025-01-07 02:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191851') end
[2025-01-07 02:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:31:03] Production.INFO: 1
[2025-01-07 02:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:31:03] Production.INFO: ==23415== Releasing lock...
[2025-01-07 02:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:31:03] Production.INFO: Date 2024-12-18
[2025-01-07 02:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:31:03] Production.INFO: ==23424== Releasing lock...
[2025-01-07 02:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:31:03] Production.INFO: Date 2024-12-19
[2025-01-07 02:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:31:03] Production.INFO: Date 2024-12-20
[2025-01-07 02:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:31:03] Production.INFO: Date 2024-12-21
[2025-01-07 02:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:31:04] Production.ERROR: done
[2025-01-07 02:31:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:31:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:31:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:31:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:31:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:31:04] Production.ERROR: done
[2025-01-07 02:31:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:31:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:31:04] Production.INFO: Date 2024-12-29
[2025-01-07 02:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:31:04] Production.INFO: Date 2024-12-30
[2025-01-07 02:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:31:04] Production.INFO: Date 2024-12-31
[2025-01-07 02:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:31:04] Production.INFO: Date 2025-01-01
[2025-01-07 02:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:31:04] Production.INFO: Date 2025-01-02
[2025-01-07 02:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:31:04] Production.INFO: Date 2025-01-03
[2025-01-07 02:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:31:04] Production.INFO: Date 2025-01-04
[2025-01-07 02:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:31:04] Production.INFO: Date 2025-01-05
[2025-01-07 02:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:31:04] Production.INFO: Date 2025-01-06
[2025-01-07 02:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:31:04] Production.INFO: Date 2025-01-07
[2025-01-07 02:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:31:04] Production.INFO: Total Charge 0
[2025-01-07 02:31:04] Production.INFO: CreateAllLog End
[2025-01-07 02:31:04] Production.INFO: Account Balance End.
[2025-01-07 02:31:04] Production.ERROR: CronJobId end 12
[2025-01-07 02:31:04] Production.INFO: ==23419== Releasing lock...
[2025-01-07 02:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:31:05
[end_date_ymd] => 2025-01-07 02:31:05
[RateCDR] => 1
)
[2025-01-07 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-06 23:31:05' and `end` < '2025-01-07 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-07 02:31:11] Production.ERROR: CronJobId end10
[2025-01-07 02:31:11] Production.INFO: ==23417== Releasing lock...
[2025-01-07 02:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:31:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:31:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:31:14] Production.INFO: call_cost start
[2025-01-07 02:31:14] Production.INFO: call_cost end
[2025-01-07 02:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:31:14] Production.INFO: ==23413== Releasing lock...
[2025-01-07 02:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:31:18] Production.INFO: count ==232
[2025-01-07 02:31:18] Production.ERROR: pbx CDR StartTime 2025-01-06 23:31:05 - End Time 2025-01-07 02:31:05
[2025-01-07 02:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191854', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191854', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191854', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191854', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:31:18] Production.INFO: ProcessCDR(1,14191854,1,1,2)
[2025-01-07 02:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191854,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191854,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191854,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191854,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191854', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191854', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:31:21] Production.INFO: ==23421== Releasing lock...
[2025-01-07 02:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:31:21] Production.INFO: 29 MB #Memory Used#
[2025-01-07 07:32:02] Production.INFO: ==23480== Lock acquired, processing the job...
[2025-01-07 07:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:32:02] Production.INFO: neon service started
[2025-01-07 07:32:02] Production.INFO: neon service started
[2025-01-07 07:32:02] Production.INFO: ==23480== Releasing lock...
[2025-01-07 07:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:32:02] Production.INFO: ==23484== Lock acquired, processing the job...
[2025-01-07 07:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:32:02] Production.INFO: ==23484== Releasing lock...
[2025-01-07 07:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:32:02] Production.INFO: ==23482== Lock acquired, processing the job...
[2025-01-07 02:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:32:03] Production.INFO: ==23482== Releasing lock...
[2025-01-07 02:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:32:03] Production.INFO: ==23490== Lock acquired, processing the job...
[2025-01-07 02:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:32:03] Production.INFO: ==23495== Lock acquired, processing the job...
[2025-01-07 02:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:32:04] Production.INFO: ==23486== Lock acquired, processing the job...
[2025-01-07 02:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:32:04] Production.INFO: ==23488== Lock acquired, processing the job...
[2025-01-07 02:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:32:04] Production.INFO: ==23493== Lock acquired, processing the job...
[2025-01-07 02:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:32:04] Production.INFO: ==23497== Lock acquired, processing the job...
[2025-01-07 02:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:32:04] Production.ERROR: done
[2025-01-07 02:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:32:04] Production.INFO: Account Balance Start.
[2025-01-07 02:32:04] Production.INFO: CreateAllLog Start
[2025-01-07 02:32:04] Production.INFO: 117
[2025-01-07 02:32:04] Production.INFO: Date 2024-12-08
[2025-01-07 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-07 02:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:32:04] Production.INFO: count ==21
[2025-01-07 02:32:04] Production.ERROR: done
[2025-01-07 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-07 02:32:04] Production.INFO: count ==21
[2025-01-07 02:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191858') start
[2025-01-07 02:32:04] Production.INFO: Date 2024-12-09
[2025-01-07 02:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:32:04] Production.INFO: Date 2024-12-10
[2025-01-07 02:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:32:04] Production.INFO: Date 2024-12-11
[2025-01-07 02:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:32:04] Production.INFO: ==23488== Releasing lock...
[2025-01-07 02:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:32:04] Production.INFO: Date 2024-12-12
[2025-01-07 02:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:32:04] Production.INFO: Date 2024-12-13
[2025-01-07 02:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191858') end
[2025-01-07 02:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:32:04] Production.INFO: 1
[2025-01-07 02:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:32:04] Production.INFO: ==23497== Releasing lock...
[2025-01-07 02:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:32:04] Production.INFO: Date 2024-12-14
[2025-01-07 02:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:32:04] Production.INFO: Date 2024-12-15
[2025-01-07 02:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:32:04] Production.INFO: Date 2024-12-16
[2025-01-07 02:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:32:04] Production.INFO: Date 2024-12-17
[2025-01-07 02:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:32:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:32:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:32:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:32:05] Production.INFO: Date 2024-12-21
[2025-01-07 02:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:32:05] Production.INFO: Date 2024-12-22
[2025-01-07 02:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:32:05] Production.INFO: Date 2024-12-23
[2025-01-07 02:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:32:05] Production.INFO: Date 2024-12-24
[2025-01-07 02:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:32:05] Production.INFO: Date 2024-12-25
[2025-01-07 02:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:32:05] Production.INFO: Date 2024-12-26
[2025-01-07 02:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:32:05] Production.INFO: Date 2024-12-27
[2025-01-07 02:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:32:05] Production.INFO: Date 2024-12-28
[2025-01-07 02:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:32:05] Production.INFO: Date 2024-12-29
[2025-01-07 02:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:32:05] Production.INFO: Date 2024-12-30
[2025-01-07 02:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:32:05] Production.INFO: Date 2024-12-31
[2025-01-07 02:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:32:05] Production.INFO: Date 2025-01-01
[2025-01-07 02:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:32:05] Production.INFO: Date 2025-01-02
[2025-01-07 02:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:32:05] Production.INFO: Date 2025-01-03
[2025-01-07 02:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:32:05] Production.INFO: Date 2025-01-04
[2025-01-07 02:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:32:05] Production.INFO: Date 2025-01-05
[2025-01-07 02:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:32:05] Production.INFO: Date 2025-01-06
[2025-01-07 02:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:32:05] Production.INFO: Date 2025-01-07
[2025-01-07 02:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:32:05] Production.INFO: Total Charge 0
[2025-01-07 02:32:05] Production.INFO: CreateAllLog End
[2025-01-07 02:32:05] Production.INFO: Account Balance End.
[2025-01-07 02:32:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:32:05] Production.INFO: ==23493== Releasing lock...
[2025-01-07 02:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:32:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:32:05
[end_date_ymd] => 2025-01-07 02:32:05
[RateCDR] => 1
)
[2025-01-07 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-06 23:32:05' and `end` < '2025-01-07 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-07 02:32:11] Production.ERROR: CronJobId end10
[2025-01-07 02:32:11] Production.INFO: ==23490== Releasing lock...
[2025-01-07 02:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:32:13] Production.INFO: call_cost start
[2025-01-07 02:32:13] Production.INFO: call_cost end
[2025-01-07 02:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:32:14] Production.INFO: ==23486== Releasing lock...
[2025-01-07 02:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:32:19] Production.INFO: count ==229
[2025-01-07 02:32:19] Production.ERROR: pbx CDR StartTime 2025-01-06 23:32:05 - End Time 2025-01-07 02:32:05
[2025-01-07 02:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191859', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191859', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191859', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191859', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:32:19] Production.INFO: ProcessCDR(1,14191859,1,1,2)
[2025-01-07 02:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191859,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191859,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191859,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:32:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191859,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191859', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191859', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:32:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:32:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:32:23] Production.INFO: ==23495== Releasing lock...
[2025-01-07 02:32:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:32:23] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:33:01] Production.INFO: ==23551== Lock acquired, processing the job...
[2025-01-07 07:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:33:01] Production.INFO: neon service started
[2025-01-07 07:33:01] Production.INFO: neon service started
[2025-01-07 07:33:01] Production.INFO: ==23551== Releasing lock...
[2025-01-07 07:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:33:02] Production.INFO: ==23555== Lock acquired, processing the job...
[2025-01-07 07:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:33:02] Production.INFO: ==23555== Releasing lock...
[2025-01-07 07:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:33:02] Production.INFO: ==23553== Lock acquired, processing the job...
[2025-01-07 02:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:33:02] Production.INFO: ==23553== Releasing lock...
[2025-01-07 02:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:33:03] Production.INFO: ==23557== Lock acquired, processing the job...
[2025-01-07 02:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:33:03] Production.INFO: ==23559== Lock acquired, processing the job...
[2025-01-07 02:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:33:03] Production.INFO: ==23561== Lock acquired, processing the job...
[2025-01-07 02:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:33:03] Production.INFO: ==23563== Lock acquired, processing the job...
[2025-01-07 02:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:33:03] Production.INFO: ==23565== Lock acquired, processing the job...
[2025-01-07 02:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:33:03] Production.INFO: Account Balance Start.
[2025-01-07 02:33:03] Production.INFO: CreateAllLog Start
[2025-01-07 02:33:03] Production.INFO: ==23559== Releasing lock...
[2025-01-07 02:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:33:03] Production.INFO: 117
[2025-01-07 02:33:03] Production.INFO: Date 2024-12-08
[2025-01-07 02:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:33:03] Production.INFO: Date 2024-12-09
[2025-01-07 02:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:33:03] Production.INFO: Date 2024-12-10
[2025-01-07 02:33:03] Production.INFO: ==23568== Lock acquired, processing the job...
[2025-01-07 02:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:33:03] Production.INFO: Date 2024-12-11
[2025-01-07 02:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:33:03] Production.INFO: Date 2024-12-12
[2025-01-07 02:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 02:33:03] Production.INFO: Date 2024-12-13
[2025-01-07 02:33:03] Production.INFO: count ==21
[2025-01-07 02:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:33:04] Production.INFO: count ==21
[2025-01-07 02:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191863') start
[2025-01-07 02:33:04] Production.ERROR: done
[2025-01-07 02:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:33:04] Production.INFO: Date 2024-12-14
[2025-01-07 02:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191863') end
[2025-01-07 02:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:33:04] Production.INFO: 1
[2025-01-07 02:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:33:04] Production.INFO: Date 2024-12-15
[2025-01-07 02:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:33:04] Production.INFO: ==23568== Releasing lock...
[2025-01-07 02:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:33:04] Production.INFO: Date 2024-12-16
[2025-01-07 02:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:33:04] Production.ERROR: done
[2025-01-07 02:33:04] Production.INFO: Date 2024-12-17
[2025-01-07 02:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:33:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:33:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:33:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:33:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:33:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:33:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:33:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:33:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:33:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:33:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:33:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:33:05] Production.INFO: Date 2024-12-29
[2025-01-07 02:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:33:05] Production.INFO: Date 2024-12-30
[2025-01-07 02:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:33:05] Production.INFO: Date 2024-12-31
[2025-01-07 02:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:33:05] Production.INFO: Date 2025-01-01
[2025-01-07 02:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:33:05] Production.INFO: Date 2025-01-02
[2025-01-07 02:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:33:05] Production.INFO: Date 2025-01-03
[2025-01-07 02:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:33:05] Production.INFO: Date 2025-01-04
[2025-01-07 02:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:33:05] Production.INFO: Date 2025-01-05
[2025-01-07 02:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:33:05] Production.INFO: Date 2025-01-06
[2025-01-07 02:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:33:05] Production.INFO: Date 2025-01-07
[2025-01-07 02:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:33:05] Production.INFO: Total Charge 0
[2025-01-07 02:33:05] Production.INFO: CreateAllLog End
[2025-01-07 02:33:05] Production.INFO: Account Balance End.
[2025-01-07 02:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:33:05
[end_date_ymd] => 2025-01-07 02:33:05
[RateCDR] => 1
)
[2025-01-07 02:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 23:33:05' and `end` < '2025-01-07 02:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 02:33:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:33:05] Production.INFO: ==23563== Releasing lock...
[2025-01-07 02:33:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:33:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:33:10] Production.ERROR: CronJobId end10
[2025-01-07 02:33:10] Production.INFO: ==23561== Releasing lock...
[2025-01-07 02:33:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:33:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:33:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:33:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:33:13] Production.INFO: call_cost start
[2025-01-07 02:33:13] Production.INFO: call_cost end
[2025-01-07 02:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:33:14] Production.INFO: ==23557== Releasing lock...
[2025-01-07 02:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:33:19] Production.INFO: count ==229
[2025-01-07 02:33:19] Production.ERROR: pbx CDR StartTime 2025-01-06 23:33:05 - End Time 2025-01-07 02:33:05
[2025-01-07 02:33:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191864', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191864', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191864', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191864', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:33:19] Production.INFO: ProcessCDR(1,14191864,1,1,2)
[2025-01-07 02:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191864,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:33:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191864,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:33:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191864,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191864,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191864', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191864', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:33:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:33:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:33:22] Production.INFO: ==23565== Releasing lock...
[2025-01-07 02:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:33:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:34:02] Production.INFO: ==23622== Lock acquired, processing the job...
[2025-01-07 07:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:34:02] Production.INFO: neon service started
[2025-01-07 07:34:02] Production.INFO: neon service started
[2025-01-07 07:34:02] Production.INFO: ==23622== Releasing lock...
[2025-01-07 07:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:34:02] Production.INFO: ==23624== Lock acquired, processing the job...
[2025-01-07 02:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:34:02] Production.INFO: ==23624== Releasing lock...
[2025-01-07 02:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:34:02] Production.INFO: ==23626== Lock acquired, processing the job...
[2025-01-07 07:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:34:02] Production.INFO: ==23626== Releasing lock...
[2025-01-07 07:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:34:03] Production.INFO: ==23638== Lock acquired, processing the job...
[2025-01-07 02:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:34:03] Production.INFO: ==23636== Lock acquired, processing the job...
[2025-01-07 02:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:34:03] Production.INFO: ==23628== Lock acquired, processing the job...
[2025-01-07 02:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:34:03] Production.INFO: ==23630== Lock acquired, processing the job...
[2025-01-07 02:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 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-07 02:34:03] Production.INFO: ==23632== Lock acquired, processing the job...
[2025-01-07 02:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:34:03] Production.INFO: count ==21
[2025-01-07 02:34:03] Production.INFO: ==23634== Lock acquired, processing the job...
[2025-01-07 02:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02: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-07 02:34:03] Production.INFO: count ==21
[2025-01-07 02:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191865') start
[2025-01-07 02:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191865') end
[2025-01-07 02:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:34:03] Production.INFO: 1
[2025-01-07 02:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:34:03] Production.INFO: Account Balance Start.
[2025-01-07 02:34:03] Production.INFO: CreateAllLog Start
[2025-01-07 02:34:03] Production.INFO: 117
[2025-01-07 02:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:34:04] Production.INFO: Date 2024-12-08
[2025-01-07 02:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:34:04] Production.INFO: ==23638== Releasing lock...
[2025-01-07 02:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:34:04] Production.INFO: ==23630== Releasing lock...
[2025-01-07 02:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:34:04] Production.ERROR: done
[2025-01-07 02:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:34:04] Production.INFO: Date 2024-12-09
[2025-01-07 02:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:34:04] Production.INFO: Date 2024-12-10
[2025-01-07 02:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:34:04] Production.INFO: Date 2024-12-11
[2025-01-07 02:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:34:04] Production.ERROR: done
[2025-01-07 02:34:04] Production.INFO: Date 2024-12-12
[2025-01-07 02:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:34:04] Production.INFO: Date 2024-12-13
[2025-01-07 02:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:34:04] Production.INFO: Date 2024-12-14
[2025-01-07 02:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:34:04] Production.INFO: Date 2024-12-15
[2025-01-07 02:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:34:04] Production.INFO: Date 2024-12-16
[2025-01-07 02:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:34:04] Production.INFO: Date 2024-12-17
[2025-01-07 02:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:34:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:34:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:34:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:34:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:34:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:34:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:34:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:34:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:34:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:34:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:34:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:34:04] Production.INFO: Date 2024-12-29
[2025-01-07 02:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:34:04] Production.INFO: Date 2024-12-30
[2025-01-07 02:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:34:04] Production.INFO: Date 2024-12-31
[2025-01-07 02:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:34:04] Production.INFO: Date 2025-01-01
[2025-01-07 02:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:34:04] Production.INFO: Date 2025-01-02
[2025-01-07 02:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:34:04] Production.INFO: Date 2025-01-03
[2025-01-07 02:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:34:04] Production.INFO: Date 2025-01-04
[2025-01-07 02:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:34:05] Production.INFO: Date 2025-01-05
[2025-01-07 02:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:34:05
[end_date_ymd] => 2025-01-07 02:34:05
[RateCDR] => 1
)
[2025-01-07 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-06 23:34:05' and `end` < '2025-01-07 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-07 02:34:05] Production.INFO: Date 2025-01-06
[2025-01-07 02:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:34:05] Production.INFO: Date 2025-01-07
[2025-01-07 02:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:34:05] Production.INFO: Total Charge 0
[2025-01-07 02:34:05] Production.INFO: CreateAllLog End
[2025-01-07 02:34:05] Production.INFO: Account Balance End.
[2025-01-07 02:34:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:34:05] Production.INFO: ==23634== Releasing lock...
[2025-01-07 02:34:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:34:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:34:11] Production.ERROR: CronJobId end10
[2025-01-07 02:34:11] Production.INFO: ==23632== Releasing lock...
[2025-01-07 02:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:34:14] Production.INFO: call_cost start
[2025-01-07 02:34:14] Production.INFO: call_cost end
[2025-01-07 02:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:34:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:34:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:34:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:34:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:34:15] Production.INFO: ==23628== Releasing lock...
[2025-01-07 02:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:34:18] Production.INFO: count ==229
[2025-01-07 02:34:18] Production.ERROR: pbx CDR StartTime 2025-01-06 23:34:05 - End Time 2025-01-07 02:34:05
[2025-01-07 02:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191869', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191869', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191869', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191869', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:34:18] Production.INFO: ProcessCDR(1,14191869,1,1,2)
[2025-01-07 02:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191869,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191869,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191869,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191869,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191869', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191869', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:34:21] Production.INFO: ==23636== Releasing lock...
[2025-01-07 02:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:34:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:35:01] Production.INFO: ==23697== Lock acquired, processing the job...
[2025-01-07 07:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:35:01] Production.INFO: neon service started
[2025-01-07 07:35:01] Production.INFO: neon service started
[2025-01-07 07:35:01] Production.INFO: ==23697== Releasing lock...
[2025-01-07 07:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:35:01] Production.INFO: ==23699== Lock acquired, processing the job...
[2025-01-07 02:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:35:02] Production.INFO: ==23701== Lock acquired, processing the job...
[2025-01-07 07:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 02:35:02] Production.INFO: ==23699== Releasing lock...
[2025-01-07 02:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:35:02] Production.INFO: ==23701== Releasing lock...
[2025-01-07 07:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:35:03] Production.INFO: ==23703== Lock acquired, processing the job...
[2025-01-07 02:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:35:03] Production.INFO: ==23709== Lock acquired, processing the job...
[2025-01-07 02:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:35:03] Production.INFO: Account Balance Start.
[2025-01-07 02:35:03] Production.INFO: CreateAllLog Start
[2025-01-07 02:35:03] Production.INFO: 117
[2025-01-07 02:35:03] Production.INFO: ==23705== Lock acquired, processing the job...
[2025-01-07 02:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:35:03] Production.INFO: Date 2024-12-08
[2025-01-07 02:35:03] Production.INFO: ==23707== Lock acquired, processing the job...
[2025-01-07 02:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:35:03] Production.INFO: ==23711== Lock acquired, processing the job...
[2025-01-07 02:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:35:03] Production.INFO: ==23713== Lock acquired, processing the job...
[2025-01-07 02:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:35:03] Production.INFO: Date 2024-12-09
[2025-01-07 02:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:35:03] Production.INFO: Date 2024-12-10
[2025-01-07 02:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 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-07 02:35:03] Production.INFO: Date 2024-12-11
[2025-01-07 02:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:35:03] Production.INFO: Date 2024-12-12
[2025-01-07 02:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:35:03] Production.INFO: count ==21
[2025-01-07 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-07 02:35:03] Production.INFO: Date 2024-12-13
[2025-01-07 02:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:35:03] Production.INFO: count ==21
[2025-01-07 02:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191873') start
[2025-01-07 02:35:03] Production.INFO: Date 2024-12-14
[2025-01-07 02:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:35:03] Production.INFO: Date 2024-12-15
[2025-01-07 02:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:35:03] Production.INFO: ==23705== Releasing lock...
[2025-01-07 02:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191873') end
[2025-01-07 02:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:35:03] Production.INFO: 1
[2025-01-07 02:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:35:03] Production.INFO: Date 2024-12-16
[2025-01-07 02:35:03] Production.ERROR: done
[2025-01-07 02:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:35:03] Production.INFO: ==23713== Releasing lock...
[2025-01-07 02:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:35:03] Production.INFO: Date 2024-12-17
[2025-01-07 02:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:35:03] Production.ERROR: done
[2025-01-07 02:35:03] Production.INFO: Date 2024-12-18
[2025-01-07 02:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:35:03] Production.INFO: Date 2024-12-19
[2025-01-07 02:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:35:03] Production.INFO: Date 2024-12-20
[2025-01-07 02:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:35:03] Production.INFO: Date 2024-12-21
[2025-01-07 02:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:35:03] Production.INFO: Date 2024-12-22
[2025-01-07 02:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:35:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:35:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:35:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:35:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:35:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:35:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:35:04] Production.INFO: Date 2024-12-29
[2025-01-07 02:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:35:04] Production.INFO: Date 2024-12-30
[2025-01-07 02:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:35:04] Production.INFO: Date 2024-12-31
[2025-01-07 02:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:35:04] Production.INFO: Date 2025-01-01
[2025-01-07 02:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:35:04] Production.INFO: Date 2025-01-02
[2025-01-07 02:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:35:04] Production.INFO: Date 2025-01-03
[2025-01-07 02:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:35:04] Production.INFO: Date 2025-01-04
[2025-01-07 02:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:35:04] Production.INFO: Date 2025-01-05
[2025-01-07 02:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:35:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:35:04
[end_date_ymd] => 2025-01-07 02:35:04
[RateCDR] => 1
)
[2025-01-07 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-06 23:35:04' and `end` < '2025-01-07 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-07 02:35:04] Production.INFO: Date 2025-01-06
[2025-01-07 02:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:35:04] Production.INFO: Date 2025-01-07
[2025-01-07 02:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:35:04] Production.INFO: Total Charge 0
[2025-01-07 02:35:04] Production.INFO: CreateAllLog End
[2025-01-07 02:35:04] Production.INFO: Account Balance End.
[2025-01-07 02:35:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:35:05] Production.INFO: ==23709== Releasing lock...
[2025-01-07 02:35:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:35:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:35: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-07 02:35:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:35:11] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:35:11] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:35:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:35:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:35:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:35:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:35:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:35:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:35:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:35:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:35:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:35:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:35:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:35:11] Production.ERROR: CronJobId end10
[2025-01-07 02:35:11] Production.INFO: ==23707== Releasing lock...
[2025-01-07 02:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:35:12] Production.INFO: call_cost start
[2025-01-07 02:35:12] Production.INFO: call_cost end
[2025-01-07 02:35:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:35:12] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:35:12] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:35:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:35:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:35:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:35:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:35:12] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:35:12] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:35:12] Production.INFO: ==23703== Releasing lock...
[2025-01-07 02:35:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:35:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:35:17] Production.INFO: count ==229
[2025-01-07 02:35:17] Production.ERROR: pbx CDR StartTime 2025-01-06 23:35:04 - End Time 2025-01-07 02:35:04
[2025-01-07 02:35:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191874', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191874', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191874', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191874', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:35:17] Production.INFO: ProcessCDR(1,14191874,1,1,2)
[2025-01-07 02:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191874,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:35:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191874,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:35:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191874,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:35:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191874,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191874', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191874', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:35:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:35:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:35:20] Production.INFO: ==23711== Releasing lock...
[2025-01-07 02:35:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:35:20] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:36:02] Production.INFO: ==23766== Lock acquired, processing the job...
[2025-01-07 07:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:36:02] Production.INFO: neon service started
[2025-01-07 07:36:02] Production.INFO: neon service started
[2025-01-07 07:36:02] Production.INFO: ==23766== Releasing lock...
[2025-01-07 07:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:36:02] Production.INFO: ==23769== Lock acquired, processing the job...
[2025-01-07 02:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:36:02] Production.INFO: ==23769== Releasing lock...
[2025-01-07 02:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:36:02] Production.INFO: ==23771== Lock acquired, processing the job...
[2025-01-07 07:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:36:02] Production.INFO: ==23771== Releasing lock...
[2025-01-07 07:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:36:03] Production.INFO: ==23779== Lock acquired, processing the job...
[2025-01-07 02:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:36:03] Production.INFO: ==23773== Lock acquired, processing the job...
[2025-01-07 02:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:36:03] Production.INFO: Account Balance Start.
[2025-01-07 02:36:03] Production.INFO: CreateAllLog Start
[2025-01-07 02:36:03] Production.INFO: ==23783== Lock acquired, processing the job...
[2025-01-07 02:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:36:03] Production.INFO: 117
[2025-01-07 02:36:03] Production.INFO: Date 2024-12-08
[2025-01-07 02:36:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:36:03] Production.INFO: Date 2024-12-09
[2025-01-07 02:36:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:36:03] Production.INFO: Date 2024-12-10
[2025-01-07 02:36:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:36:03] Production.INFO: ==23775== Lock acquired, processing the job...
[2025-01-07 02:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:36:03] Production.INFO: Date 2024-12-11
[2025-01-07 02:36:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 02:36:03] Production.INFO: ==23777== Lock acquired, processing the job...
[2025-01-07 02:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:36:03] Production.INFO: count ==21
[2025-01-07 02:36:03] Production.INFO: Date 2024-12-12
[2025-01-07 02:36:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 02:36:03] Production.INFO: count ==21
[2025-01-07 02:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191876') start
[2025-01-07 02:36:03] Production.INFO: ==23781== Lock acquired, processing the job...
[2025-01-07 02:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:36:04] Production.INFO: Date 2024-12-13
[2025-01-07 02:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:36:04] Production.INFO: Date 2024-12-14
[2025-01-07 02:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:36:04] Production.INFO: Date 2024-12-15
[2025-01-07 02:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191876') end
[2025-01-07 02:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:36:04] Production.INFO: 1
[2025-01-07 02:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:36:04] Production.INFO: Date 2024-12-16
[2025-01-07 02:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:36:04] Production.INFO: Date 2024-12-17
[2025-01-07 02:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:36:04] Production.INFO: ==23783== Releasing lock...
[2025-01-07 02:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:36:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:36:04] Production.INFO: ==23775== Releasing lock...
[2025-01-07 02:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:36:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:36:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:36:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:36:04] Production.ERROR: done
[2025-01-07 02:36:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:36:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:36:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:36:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:36:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:36:04] Production.ERROR: done
[2025-01-07 02:36:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:36:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:36:04] Production.INFO: Date 2024-12-29
[2025-01-07 02:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:36:04] Production.INFO: Date 2024-12-30
[2025-01-07 02:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:36:04] Production.INFO: Date 2024-12-31
[2025-01-07 02:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:36:04] Production.INFO: Date 2025-01-01
[2025-01-07 02:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:36:04] Production.INFO: Date 2025-01-02
[2025-01-07 02:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:36:04] Production.INFO: Date 2025-01-03
[2025-01-07 02:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:36:04] Production.INFO: Date 2025-01-04
[2025-01-07 02:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:36:05] Production.INFO: Date 2025-01-05
[2025-01-07 02:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:36:05] Production.INFO: Date 2025-01-06
[2025-01-07 02:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:36:05] Production.INFO: Date 2025-01-07
[2025-01-07 02:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:36:05] Production.INFO: Total Charge 0
[2025-01-07 02:36:05] Production.INFO: CreateAllLog End
[2025-01-07 02:36:05] Production.INFO: Account Balance End.
[2025-01-07 02:36:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:36:05] Production.INFO: ==23779== Releasing lock...
[2025-01-07 02:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:36:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:36:05
[end_date_ymd] => 2025-01-07 02:36:05
[RateCDR] => 1
)
[2025-01-07 02:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 23:36:05' and `end` < '2025-01-07 02:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 02:36:12] Production.ERROR: CronJobId end10
[2025-01-07 02:36:12] Production.INFO: ==23777== Releasing lock...
[2025-01-07 02:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:36:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:36:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:36:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:36:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:36:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:36:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:36:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:36:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:36:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:36:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:36:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:36:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:36:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:36:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:36:14] Production.INFO: call_cost start
[2025-01-07 02:36:14] Production.INFO: call_cost end
[2025-01-07 02:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:36:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:36:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:36:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:36:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:36:15] Production.INFO: ==23773== Releasing lock...
[2025-01-07 02:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:36:19] Production.INFO: count ==229
[2025-01-07 02:36:19] Production.ERROR: pbx CDR StartTime 2025-01-06 23:36:05 - End Time 2025-01-07 02:36:05
[2025-01-07 02:36:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191879', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191879', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191879', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191879', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:36:19] Production.INFO: ProcessCDR(1,14191879,1,1,2)
[2025-01-07 02:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191879,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191879,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191879,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191879,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191879', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191879', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:36:22] Production.INFO: ==23781== Releasing lock...
[2025-01-07 02:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:36:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:37:01] Production.INFO: ==23837== Lock acquired, processing the job...
[2025-01-07 07:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:37:01] Production.INFO: neon service started
[2025-01-07 07:37:01] Production.INFO: neon service started
[2025-01-07 07:37:01] Production.INFO: ==23837== Releasing lock...
[2025-01-07 07:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:37:01] Production.INFO: ==23839== Lock acquired, processing the job...
[2025-01-07 02:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:37:02] Production.INFO: ==23839== Releasing lock...
[2025-01-07 02:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:37:02] Production.INFO: ==23841== Lock acquired, processing the job...
[2025-01-07 07:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:37:02] Production.INFO: ==23841== Releasing lock...
[2025-01-07 07:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:37:03] Production.INFO: ==23847== Lock acquired, processing the job...
[2025-01-07 02:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:37:03] Production.INFO: ==23849== Lock acquired, processing the job...
[2025-01-07 02:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:37:03] Production.INFO: Account Balance Start.
[2025-01-07 02:37:03] Production.INFO: CreateAllLog Start
[2025-01-07 02:37:03] Production.INFO: 117
[2025-01-07 02:37:03] Production.INFO: Date 2024-12-08
[2025-01-07 02:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:37:03] Production.INFO: Date 2024-12-09
[2025-01-07 02:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:37:03] Production.INFO: ==23843== Lock acquired, processing the job...
[2025-01-07 02:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:37:03] Production.INFO: Date 2024-12-10
[2025-01-07 02:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:37:03] Production.INFO: ==23845== Lock acquired, processing the job...
[2025-01-07 02:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:37:03] Production.INFO: Date 2024-12-11
[2025-01-07 02:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:37:03] Production.INFO: Date 2024-12-12
[2025-01-07 02:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:37:03] Production.INFO: Date 2024-12-13
[2025-01-07 02:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:37:03] Production.INFO: Date 2024-12-14
[2025-01-07 02:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:37:03] Production.INFO: Date 2024-12-15
[2025-01-07 02:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:37:03] Production.INFO: Date 2024-12-16
[2025-01-07 02:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:37:03] Production.INFO: Date 2024-12-17
[2025-01-07 02:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:37:03] Production.INFO: Date 2024-12-18
[2025-01-07 02:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:37:03] Production.INFO: ==23851== Lock acquired, processing the job...
[2025-01-07 02:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:37:03] Production.INFO: Date 2024-12-19
[2025-01-07 02:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:37:03] Production.INFO: Date 2024-12-20
[2025-01-07 02:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:37:03] Production.INFO: ==23853== Lock acquired, processing the job...
[2025-01-07 02:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:37:03] Production.INFO: Date 2024-12-21
[2025-01-07 02:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:37:03] Production.INFO: Date 2024-12-22
[2025-01-07 02:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:37:03] Production.INFO: Date 2024-12-23
[2025-01-07 02:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:37:03] Production.INFO: Date 2024-12-24
[2025-01-07 02:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:37:03] Production.INFO: Date 2024-12-25
[2025-01-07 02:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:37:03] Production.ERROR: done
[2025-01-07 02:37:03] Production.INFO: ==23845== Releasing lock...
[2025-01-07 02:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:37:03] Production.INFO: Date 2024-12-26
[2025-01-07 02:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:37:03] Production.INFO: Date 2024-12-27
[2025-01-07 02:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:37:03] Production.ERROR: done
[2025-01-07 02:37:03] Production.INFO: Date 2024-12-28
[2025-01-07 02:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 02:37:03] Production.INFO: Date 2024-12-29
[2025-01-07 02:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:37:03] Production.INFO: count ==21
[2025-01-07 02:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:37:04] Production.INFO: count ==21
[2025-01-07 02:37:04] Production.INFO: Date 2024-12-30
[2025-01-07 02:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191883') start
[2025-01-07 02:37:04] Production.INFO: Date 2024-12-31
[2025-01-07 02:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:37:04] Production.INFO: Date 2025-01-01
[2025-01-07 02:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:37:04] Production.INFO: Date 2025-01-02
[2025-01-07 02:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191883') end
[2025-01-07 02:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:37:04] Production.INFO: 1
[2025-01-07 02:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:37:04] Production.INFO: Date 2025-01-03
[2025-01-07 02:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:37:04] Production.INFO: Date 2025-01-04
[2025-01-07 02:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:37:04] Production.INFO: ==23853== Releasing lock...
[2025-01-07 02:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:37:04] Production.INFO: Date 2025-01-05
[2025-01-07 02:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:37:04] Production.INFO: Date 2025-01-06
[2025-01-07 02:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:37:04] Production.INFO: Date 2025-01-07
[2025-01-07 02:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:37:04] Production.INFO: Total Charge 0
[2025-01-07 02:37:04] Production.INFO: CreateAllLog End
[2025-01-07 02:37:04] Production.INFO: Account Balance End.
[2025-01-07 02:37:04] Production.ERROR: CronJobId end 12
[2025-01-07 02:37:04] Production.INFO: ==23849== Releasing lock...
[2025-01-07 02:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:37:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:37:04
[end_date_ymd] => 2025-01-07 02:37:04
[RateCDR] => 1
)
[2025-01-07 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-06 23:37:04' and `end` < '2025-01-07 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-07 02:37:11] Production.ERROR: CronJobId end10
[2025-01-07 02:37:11] Production.INFO: ==23847== Releasing lock...
[2025-01-07 02:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:37:13] Production.INFO: call_cost start
[2025-01-07 02:37:13] Production.INFO: call_cost end
[2025-01-07 02:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:37:14] Production.INFO: ==23843== Releasing lock...
[2025-01-07 02:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:37:17] Production.INFO: count ==229
[2025-01-07 02:37:17] Production.ERROR: pbx CDR StartTime 2025-01-06 23:37:04 - End Time 2025-01-07 02:37:04
[2025-01-07 02:37:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191884', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191884', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191884', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191884', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:37:17] Production.INFO: ProcessCDR(1,14191884,1,1,2)
[2025-01-07 02:37:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191884,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:37:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191884,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:37:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191884,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:37:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191884,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:37:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191884', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:37:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191884', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:37:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:37:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:37:20] Production.INFO: ==23851== Releasing lock...
[2025-01-07 02:37:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:37:20] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:38:01] Production.INFO: ==23907== Lock acquired, processing the job...
[2025-01-07 07:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:38:01] Production.INFO: neon service started
[2025-01-07 07:38:01] Production.INFO: neon service started
[2025-01-07 07:38:01] Production.INFO: ==23907== Releasing lock...
[2025-01-07 07:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:38:02] Production.INFO: ==23909== Lock acquired, processing the job...
[2025-01-07 02:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:38:02] Production.INFO: ==23911== Lock acquired, processing the job...
[2025-01-07 07:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:38:02] Production.INFO: ==23911== Releasing lock...
[2025-01-07 07:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:38:02] Production.INFO: ==23909== Releasing lock...
[2025-01-07 02:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:38:03] Production.INFO: ==23918== Lock acquired, processing the job...
[2025-01-07 02:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:38:03] Production.INFO: ==23924== Lock acquired, processing the job...
[2025-01-07 02:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:38:03] Production.INFO: ==23914== Lock acquired, processing the job...
[2025-01-07 02:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 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-07 02:38:03] Production.INFO: ==23916== Lock acquired, processing the job...
[2025-01-07 02:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:38:03] Production.INFO: count ==21
[2025-01-07 02:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:38:04] Production.INFO: count ==21
[2025-01-07 02:38:04] Production.INFO: ==23920== Lock acquired, processing the job...
[2025-01-07 02:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191885') start
[2025-01-07 02:38:04] Production.INFO: ==23922== Lock acquired, processing the job...
[2025-01-07 02:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191885') end
[2025-01-07 02:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:38:04] Production.INFO: 1
[2025-01-07 02:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:38:04] Production.INFO: Account Balance Start.
[2025-01-07 02:38:04] Production.INFO: CreateAllLog Start
[2025-01-07 02:38:04] Production.INFO: 117
[2025-01-07 02:38:04] Production.INFO: ==23924== Releasing lock...
[2025-01-07 02:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:38:04] Production.INFO: Date 2024-12-08
[2025-01-07 02:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:38:04] Production.INFO: Date 2024-12-09
[2025-01-07 02:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:38:04] Production.INFO: Date 2024-12-10
[2025-01-07 02:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:38:04] Production.INFO: Date 2024-12-11
[2025-01-07 02:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:38:04] Production.INFO: Date 2024-12-12
[2025-01-07 02:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:38:04] Production.INFO: Date 2024-12-13
[2025-01-07 02:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:38:04] Production.INFO: Date 2024-12-14
[2025-01-07 02:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:38:04] Production.INFO: ==23916== Releasing lock...
[2025-01-07 02:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:38:04] Production.INFO: Date 2024-12-15
[2025-01-07 02:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:38:04] Production.ERROR: done
[2025-01-07 02:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:38:04] Production.INFO: Date 2024-12-16
[2025-01-07 02:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:38:04] Production.ERROR: done
[2025-01-07 02:38:04] Production.INFO: Date 2024-12-17
[2025-01-07 02:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:38:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:38:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:38:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:38:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:38:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:38:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:38:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:38:05] Production.INFO: Date 2024-12-25
[2025-01-07 02:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:38:05] Production.INFO: Date 2024-12-26
[2025-01-07 02:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:38:05] Production.INFO: Date 2024-12-27
[2025-01-07 02:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:38:05] Production.INFO: Date 2024-12-28
[2025-01-07 02:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:38:05] Production.INFO: Date 2024-12-29
[2025-01-07 02:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:38:05] Production.INFO: Date 2024-12-30
[2025-01-07 02:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:38:05] Production.INFO: Date 2024-12-31
[2025-01-07 02:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:38:05] Production.INFO: Date 2025-01-01
[2025-01-07 02:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:38:05] Production.INFO: Date 2025-01-02
[2025-01-07 02:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:38:05] Production.INFO: Date 2025-01-03
[2025-01-07 02:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:38:05] Production.INFO: Date 2025-01-04
[2025-01-07 02:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:38:05] Production.INFO: Date 2025-01-05
[2025-01-07 02:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:38:05] Production.INFO: Date 2025-01-06
[2025-01-07 02:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:38:05] Production.INFO: Date 2025-01-07
[2025-01-07 02:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:38:05] Production.INFO: Total Charge 0
[2025-01-07 02:38:05] Production.INFO: CreateAllLog End
[2025-01-07 02:38:05] Production.INFO: Account Balance End.
[2025-01-07 02:38:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:38:05] Production.INFO: ==23920== Releasing lock...
[2025-01-07 02:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:38:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:38:05
[end_date_ymd] => 2025-01-07 02:38:05
[RateCDR] => 1
)
[2025-01-07 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-06 23:38:05' and `end` < '2025-01-07 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-07 02:38:11] Production.ERROR: CronJobId end10
[2025-01-07 02:38:11] Production.INFO: ==23918== Releasing lock...
[2025-01-07 02:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:38:13] Production.INFO: call_cost start
[2025-01-07 02:38:13] Production.INFO: call_cost end
[2025-01-07 02:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:38:14] Production.INFO: ==23914== Releasing lock...
[2025-01-07 02:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:38:18] Production.INFO: count ==229
[2025-01-07 02:38:18] Production.ERROR: pbx CDR StartTime 2025-01-06 23:38:05 - End Time 2025-01-07 02:38:05
[2025-01-07 02:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191889', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191889', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191889', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191889', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:38:18] Production.INFO: ProcessCDR(1,14191889,1,1,2)
[2025-01-07 02:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191889,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191889,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191889,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191889,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191889', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191889', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:38:22] Production.INFO: ==23922== Releasing lock...
[2025-01-07 02:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:38:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:39:01] Production.INFO: ==23976== Lock acquired, processing the job...
[2025-01-07 07:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:39:01] Production.INFO: neon service started
[2025-01-07 07:39:01] Production.INFO: neon service started
[2025-01-07 07:39:01] Production.INFO: ==23976== Releasing lock...
[2025-01-07 07:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:39:01] Production.INFO: ==23978== Lock acquired, processing the job...
[2025-01-07 02:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:39:02] Production.INFO: ==23978== Releasing lock...
[2025-01-07 02:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:39:02] Production.INFO: ==23980== Lock acquired, processing the job...
[2025-01-07 07:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:39:02] Production.INFO: ==23980== Releasing lock...
[2025-01-07 07:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:39:02] Production.INFO: ==23986== Lock acquired, processing the job...
[2025-01-07 02:39:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:39:02] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:39:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:39:02] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:39:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:39:03] Production.INFO: ==23982== Lock acquired, processing the job...
[2025-01-07 02:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:39:03] Production.INFO: ==23993== Lock acquired, processing the job...
[2025-01-07 02:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:39:03] Production.INFO: ==23984== Lock acquired, processing the job...
[2025-01-07 02:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:39:03] Production.INFO: ==23988== Lock acquired, processing the job...
[2025-01-07 02:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 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-07 02:39:03] Production.INFO: count ==21
[2025-01-07 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-07 02:39:03] Production.INFO: ==23991== Lock acquired, processing the job...
[2025-01-07 02:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:39:03] Production.INFO: count ==21
[2025-01-07 02:39:03] Production.INFO: Account Balance Start.
[2025-01-07 02:39:03] Production.INFO: CreateAllLog Start
[2025-01-07 02:39:03] Production.INFO: 117
[2025-01-07 02:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191891') start
[2025-01-07 02:39:03] Production.INFO: Date 2024-12-08
[2025-01-07 02:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:39:03] Production.INFO: Date 2024-12-09
[2025-01-07 02:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:39:03] Production.INFO: Date 2024-12-10
[2025-01-07 02:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191891') end
[2025-01-07 02:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:39:03] Production.INFO: 1
[2025-01-07 02:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:39:03] Production.INFO: Date 2024-12-11
[2025-01-07 02:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:39:03] Production.INFO: ==23984== Releasing lock...
[2025-01-07 02:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:39:03] Production.INFO: ==23993== Releasing lock...
[2025-01-07 02:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:39:03] Production.INFO: Date 2024-12-12
[2025-01-07 02:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:39:03] Production.INFO: Date 2024-12-13
[2025-01-07 02:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:39:03] Production.ERROR: done
[2025-01-07 02:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:39:04] Production.INFO: Date 2024-12-14
[2025-01-07 02:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:39:04] Production.INFO: Date 2024-12-15
[2025-01-07 02:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:39:04] Production.ERROR: done
[2025-01-07 02:39:04] Production.INFO: Date 2024-12-16
[2025-01-07 02:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:39:04] Production.INFO: Date 2024-12-17
[2025-01-07 02:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:39:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:39:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:39:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:39:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:39:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:39:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:39:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:39:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:39:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:39:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:39:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:39:04] Production.INFO: Date 2024-12-29
[2025-01-07 02:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:39:04] Production.INFO: Date 2024-12-30
[2025-01-07 02:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:39:04] Production.INFO: Date 2024-12-31
[2025-01-07 02:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:39:04] Production.INFO: Date 2025-01-01
[2025-01-07 02:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:39:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:39:04
[end_date_ymd] => 2025-01-07 02:39:04
[RateCDR] => 1
)
[2025-01-07 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-06 23:39:04' and `end` < '2025-01-07 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-07 02:39:04] Production.INFO: Date 2025-01-02
[2025-01-07 02:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:39:05] Production.INFO: Date 2025-01-03
[2025-01-07 02:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:39:05] Production.INFO: Date 2025-01-04
[2025-01-07 02:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:39:05] Production.INFO: Date 2025-01-05
[2025-01-07 02:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:39:05] Production.INFO: Date 2025-01-06
[2025-01-07 02:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:39:05] Production.INFO: Date 2025-01-07
[2025-01-07 02:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:39:05] Production.INFO: Total Charge 0
[2025-01-07 02:39:05] Production.INFO: CreateAllLog End
[2025-01-07 02:39:05] Production.INFO: Account Balance End.
[2025-01-07 02:39:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:39:05] Production.INFO: ==23988== Releasing lock...
[2025-01-07 02:39:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:39:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:39:11] Production.ERROR: CronJobId end10
[2025-01-07 02:39:11] Production.INFO: ==23986== Releasing lock...
[2025-01-07 02:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:39:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:39:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:39:13] Production.INFO: call_cost start
[2025-01-07 02:39:13] Production.INFO: call_cost end
[2025-01-07 02:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:39:14] Production.INFO: ==23982== Releasing lock...
[2025-01-07 02:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:39:19] Production.INFO: count ==229
[2025-01-07 02:39:19] Production.ERROR: pbx CDR StartTime 2025-01-06 23:39:04 - End Time 2025-01-07 02:39:04
[2025-01-07 02:39:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191894', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191894', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191894', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191894', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:39:19] Production.INFO: ProcessCDR(1,14191894,1,1,2)
[2025-01-07 02:39:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191894,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:39:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191894,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:39:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191894,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191894,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191894', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191894', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:39:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:39:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:39:22] Production.INFO: ==23991== Releasing lock...
[2025-01-07 02:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:39:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:40:01] Production.INFO: ==24046== Lock acquired, processing the job...
[2025-01-07 07:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:40:01] Production.INFO: neon service started
[2025-01-07 07:40:01] Production.INFO: neon service started
[2025-01-07 07:40:01] Production.INFO: ==24046== Releasing lock...
[2025-01-07 07:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:40:02] Production.INFO: ==24048== Lock acquired, processing the job...
[2025-01-07 02:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:40:02] Production.INFO: ==24050== Lock acquired, processing the job...
[2025-01-07 07:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:40:02] Production.INFO: ==24050== Releasing lock...
[2025-01-07 07:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:40:02] Production.INFO: ==24048== Releasing lock...
[2025-01-07 02:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:40:03] Production.INFO: ==24055== Lock acquired, processing the job...
[2025-01-07 02:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:40:03] Production.INFO: ==24059== Lock acquired, processing the job...
[2025-01-07 02:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:40:03] Production.INFO: ==24065== Lock acquired, processing the job...
[2025-01-07 02:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 02:40:03] Production.INFO: ==24053== Lock acquired, processing the job...
[2025-01-07 02:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 02:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 02:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 02:40:03] Production.ERROR: CronJob PID - 24055
[2025-01-07 02:40:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-07 02:40:03] Production.ERROR: CronJob ID - 5
[2025-01-07 02:40:03] Production.ERROR: CronJob Last Run Time 2025-01-07 02:40:00
[2025-01-07 02:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 02:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 02:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 02:40:03] Production.ERROR: CronJob PID - 24059
[2025-01-07 02:40:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-07 02:40:03] Production.ERROR: CronJob ID - 10
[2025-01-07 02:40:03] Production.ERROR: CronJob Last Run Time 2025-01-07 02:40:00
[2025-01-07 02:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 02:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 02:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 02:40:03] Production.ERROR: CronJob PID - 24065
[2025-01-07 02:40:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-07 02:40:03] Production.ERROR: CronJob ID - 17
[2025-01-07 02:40:03] Production.ERROR: CronJob Last Run Time 2025-01-07 02:40:00
[2025-01-07 02:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 02:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 02:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 02:40:04] Production.INFO: ==24053== Releasing lock...
[2025-01-07 02:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 02:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 02:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:40:04] Production.INFO: ==24057== Lock acquired, processing the job...
[2025-01-07 02:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:40:04] Production.INFO: ==24061== Lock acquired, processing the job...
[2025-01-07 02:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:40:04] Production.INFO: ==24063== Lock acquired, processing the job...
[2025-01-07 02:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:40:04] Production.INFO: ==24067== Lock acquired, processing the job...
[2025-01-07 02:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:40:04] Production.INFO: Account Balance Start.
[2025-01-07 02:40:04] Production.INFO: CreateAllLog Start
[2025-01-07 02:40:04] Production.INFO: 117
[2025-01-07 02:40:04] Production.ERROR: done
[2025-01-07 02:40:04] Production.INFO: Date 2024-12-08
[2025-01-07 02:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 02:40:04] Production.INFO: Date 2024-12-09
[2025-01-07 02:40:04] Production.INFO: count ==21
[2025-01-07 02:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 02:40:04] Production.INFO: Date 2024-12-10
[2025-01-07 02:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:40:04] Production.INFO: count ==21
[2025-01-07 02:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 02:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14191899', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 02:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191898') start
[2025-01-07 02:40:04] Production.ERROR: done
[2025-01-07 02:40:04] Production.INFO: Date 2024-12-11
[2025-01-07 02:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:40:04] Production.INFO: Date 2024-12-12
[2025-01-07 02:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191898') end
[2025-01-07 02:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:40:04] Production.INFO: 1
[2025-01-07 02:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:40:04] Production.INFO: Date 2024-12-13
[2025-01-07 02:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:40:04] Production.INFO: Date 2024-12-14
[2025-01-07 02:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:40:04] Production.ERROR: done
[2025-01-07 02:40:04] Production.INFO: Date 2024-12-15
[2025-01-07 02:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:40:05] Production.INFO: ==24057== Releasing lock...
[2025-01-07 02:40:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:40:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:40:05] Production.INFO: Date 2024-12-16
[2025-01-07 02:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:40:05] Production.INFO: ==24067== Releasing lock...
[2025-01-07 02:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:40:05] Production.INFO: Date 2024-12-17
[2025-01-07 02:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:40:05] Production.INFO: Date 2024-12-18
[2025-01-07 02:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:40:05] Production.INFO: Date 2024-12-19
[2025-01-07 02:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:40:05] Production.INFO: Date 2024-12-20
[2025-01-07 02:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:40:05] Production.INFO: Date 2024-12-21
[2025-01-07 02:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:40:05] Production.INFO: Date 2024-12-22
[2025-01-07 02:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:40:05] Production.INFO: Date 2024-12-23
[2025-01-07 02:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:40:05] Production.INFO: Date 2024-12-24
[2025-01-07 02:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:40:05] Production.INFO: Date 2024-12-25
[2025-01-07 02:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:40:05] Production.INFO: Date 2024-12-26
[2025-01-07 02:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:40:05] Production.INFO: Date 2024-12-27
[2025-01-07 02:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:40:05] Production.INFO: Date 2024-12-28
[2025-01-07 02:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:40:05] Production.INFO: Date 2024-12-29
[2025-01-07 02:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:40:05] Production.INFO: Date 2024-12-30
[2025-01-07 02:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:40:05] Production.INFO: Date 2024-12-31
[2025-01-07 02:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:40:05] Production.INFO: Date 2025-01-01
[2025-01-07 02:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:40:05] Production.INFO: Date 2025-01-02
[2025-01-07 02:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:40:05] Production.INFO: Date 2025-01-03
[2025-01-07 02:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:40:05] Production.INFO: Date 2025-01-04
[2025-01-07 02:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:40:05] Production.INFO: Date 2025-01-05
[2025-01-07 02:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:40:05] Production.INFO: Date 2025-01-06
[2025-01-07 02:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:40:05] Production.INFO: Date 2025-01-07
[2025-01-07 02:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:40:05] Production.INFO: Total Charge 0
[2025-01-07 02:40:05] Production.INFO: CreateAllLog End
[2025-01-07 02:40:05] Production.INFO: Account Balance End.
[2025-01-07 02:40:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:40:05] Production.INFO: ==24061== Releasing lock...
[2025-01-07 02:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:40:06
[end_date_ymd] => 2025-01-07 02:40:06
[RateCDR] => 1
)
[2025-01-07 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-06 23:40:06' and `end` < '2025-01-07 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-07 02:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14191899', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 02:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 02:40:09] Production.INFO: ProcessCDR(1,14191899,1,1,2)
[2025-01-07 02:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14191899,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14191899,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:40:09] Production.INFO: ==24065== Releasing lock...
[2025-01-07 02:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 02:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-07 02:40:12] Production.ERROR: CronJobId end10
[2025-01-07 02:40:12] Production.INFO: ==24059== Releasing lock...
[2025-01-07 02:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:40:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:40:15] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:40:15] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:40:15] Production.INFO: call_cost start
[2025-01-07 02:40:15] Production.INFO: call_cost end
[2025-01-07 02:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:40:16] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:40:16] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:40:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:40:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:40:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:40:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:40:16] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:40:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:40:16] Production.INFO: ==24055== Releasing lock...
[2025-01-07 02:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:40:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:40:20] Production.INFO: count ==237
[2025-01-07 02:40:20] Production.ERROR: pbx CDR StartTime 2025-01-06 23:40:06 - End Time 2025-01-07 02:40:06
[2025-01-07 02:40:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191900', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191900', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191900', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191900', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:40:20] Production.INFO: ProcessCDR(1,14191900,1,1,2)
[2025-01-07 02:40:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191900,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191900,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191900,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191900,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191900', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191900', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:40:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:40:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:40:23] Production.INFO: ==24063== Releasing lock...
[2025-01-07 02:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:40:23] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:41:02] Production.INFO: ==24128== Lock acquired, processing the job...
[2025-01-07 07:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:41:02] Production.INFO: neon service started
[2025-01-07 07:41:02] Production.INFO: neon service started
[2025-01-07 07:41:02] Production.INFO: ==24128== Releasing lock...
[2025-01-07 07:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:41:02] Production.INFO: ==24130== Lock acquired, processing the job...
[2025-01-07 02:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:41:02] Production.INFO: ==24130== Releasing lock...
[2025-01-07 02:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:41:02] Production.INFO: ==24132== Lock acquired, processing the job...
[2025-01-07 07:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:41:03] Production.INFO: ==24132== Releasing lock...
[2025-01-07 07:41:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:41:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:41:03] Production.INFO: ==24137== Lock acquired, processing the job...
[2025-01-07 02:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:41:03] Production.INFO: ==24135== Lock acquired, processing the job...
[2025-01-07 02:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:41:03] Production.INFO: ==24139== Lock acquired, processing the job...
[2025-01-07 02:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:41:03] Production.INFO: ==24141== Lock acquired, processing the job...
[2025-01-07 02:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:41:03] Production.INFO: ==24143== Lock acquired, processing the job...
[2025-01-07 02:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:41:03] Production.INFO: Account Balance Start.
[2025-01-07 02:41:03] Production.INFO: CreateAllLog Start
[2025-01-07 02:41:03] Production.INFO: 117
[2025-01-07 02:41:03] Production.INFO: Date 2024-12-08
[2025-01-07 02:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:41:03] Production.INFO: ==24137== Releasing lock...
[2025-01-07 02:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:41:03] Production.INFO: ==24145== Lock acquired, processing the job...
[2025-01-07 02:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:41:03] Production.INFO: Date 2024-12-09
[2025-01-07 02:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:41:04] Production.INFO: Date 2024-12-10
[2025-01-07 02:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:41:04] Production.INFO: Date 2024-12-11
[2025-01-07 02:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:41:04] Production.INFO: Date 2024-12-12
[2025-01-07 02:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:41:04] Production.INFO: Date 2024-12-13
[2025-01-07 02:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:41:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:41:04] Production.INFO: Date 2024-12-14
[2025-01-07 02:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:41:04] Production.INFO: Date 2024-12-15
[2025-01-07 02:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:41:04] Production.INFO: Date 2024-12-16
[2025-01-07 02:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:41:04] Production.INFO: count ==21
[2025-01-07 02:41:04] Production.ERROR: done
[2025-01-07 02:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:41:04] Production.INFO: Date 2024-12-17
[2025-01-07 02:41:04] Production.INFO: count ==21
[2025-01-07 02:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191904') start
[2025-01-07 02:41:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:41:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191904') end
[2025-01-07 02:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:41:04] Production.INFO: 1
[2025-01-07 02:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:41:04] Production.ERROR: done
[2025-01-07 02:41:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:41:04] Production.INFO: ==24145== Releasing lock...
[2025-01-07 02:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:41:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:41:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:41:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:41:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:41:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:41:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:41:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:41:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:41:04] Production.INFO: Date 2024-12-29
[2025-01-07 02:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:41:04] Production.INFO: Date 2024-12-30
[2025-01-07 02:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:41:04] Production.INFO: Date 2024-12-31
[2025-01-07 02:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:41:04] Production.INFO: Date 2025-01-01
[2025-01-07 02:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:41:04] Production.INFO: Date 2025-01-02
[2025-01-07 02:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:41:04] Production.INFO: Date 2025-01-03
[2025-01-07 02:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:41:05] Production.INFO: Date 2025-01-04
[2025-01-07 02:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:41:05] Production.INFO: Date 2025-01-05
[2025-01-07 02:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:41:05] Production.INFO: Date 2025-01-06
[2025-01-07 02:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:41:05] Production.INFO: Date 2025-01-07
[2025-01-07 02:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:41:05] Production.INFO: Total Charge 0
[2025-01-07 02:41:05] Production.INFO: CreateAllLog End
[2025-01-07 02:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:41:05
[end_date_ymd] => 2025-01-07 02:41:05
[RateCDR] => 1
)
[2025-01-07 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-06 23:41:05' and `end` < '2025-01-07 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-07 02:41:05] Production.INFO: Account Balance End.
[2025-01-07 02:41:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:41:05] Production.INFO: ==24141== Releasing lock...
[2025-01-07 02:41:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:41:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:41:12] Production.ERROR: CronJobId end10
[2025-01-07 02:41:12] Production.INFO: ==24139== Releasing lock...
[2025-01-07 02:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:41:14] Production.INFO: call_cost start
[2025-01-07 02:41:14] Production.INFO: call_cost end
[2025-01-07 02:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:41:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:41:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:41:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:41:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:41:15] Production.INFO: ==24135== Releasing lock...
[2025-01-07 02:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:41:20] Production.INFO: count ==241
[2025-01-07 02:41:20] Production.ERROR: pbx CDR StartTime 2025-01-06 23:41:05 - End Time 2025-01-07 02:41:05
[2025-01-07 02:41:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:41:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191905', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:41:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191905', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:41:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191905', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:41:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191905', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:41:20] Production.INFO: ProcessCDR(1,14191905,1,1,2)
[2025-01-07 02:41:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191905,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:41:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191905,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:41:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191905,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:41:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191905,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191905', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191905', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:41:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:41:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:41:23] Production.INFO: ==24143== Releasing lock...
[2025-01-07 02:41:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:41:23] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:42:01] Production.INFO: ==24239== Lock acquired, processing the job...
[2025-01-07 07:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:42:01] Production.INFO: neon service started
[2025-01-07 07:42:01] Production.INFO: neon service started
[2025-01-07 07:42:01] Production.INFO: ==24239== Releasing lock...
[2025-01-07 07:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:42:02] Production.INFO: ==24241== Lock acquired, processing the job...
[2025-01-07 02:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:42:02] Production.INFO: ==24241== Releasing lock...
[2025-01-07 02:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:42:02] Production.INFO: ==24243== Lock acquired, processing the job...
[2025-01-07 07:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:42:02] Production.INFO: ==24243== Releasing lock...
[2025-01-07 07:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:42:03] Production.INFO: ==24254== Lock acquired, processing the job...
[2025-01-07 02:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:42:03] Production.INFO: ==24256== Lock acquired, processing the job...
[2025-01-07 02:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:42:03] Production.INFO: ==24246== Lock acquired, processing the job...
[2025-01-07 02:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:42:03] Production.INFO: ==24248== Lock acquired, processing the job...
[2025-01-07 02:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:42:03] Production.INFO: ==24250== Lock acquired, processing the job...
[2025-01-07 02:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:42:03] Production.INFO: count ==21
[2025-01-07 02:42:03] Production.INFO: ==24252== Lock acquired, processing the job...
[2025-01-07 02:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:42:03] Production.INFO: count ==21
[2025-01-07 02:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191906') start
[2025-01-07 02:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191906') end
[2025-01-07 02:42:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:42:03] Production.INFO: 1
[2025-01-07 02:42:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:42:03] Production.INFO: Account Balance Start.
[2025-01-07 02:42:03] Production.INFO: CreateAllLog Start
[2025-01-07 02:42:03] Production.INFO: 117
[2025-01-07 02:42:03] Production.INFO: Date 2024-12-08
[2025-01-07 02:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:42:03] Production.INFO: ==24256== Releasing lock...
[2025-01-07 02:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:42:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:42:03] Production.INFO: Date 2024-12-09
[2025-01-07 02:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:42:03] Production.INFO: Date 2024-12-10
[2025-01-07 02:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:42:03] Production.ERROR: done
[2025-01-07 02:42:03] Production.INFO: ==24248== Releasing lock...
[2025-01-07 02:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:42:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:42:03] Production.INFO: Date 2024-12-11
[2025-01-07 02:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:42:03] Production.INFO: Date 2024-12-12
[2025-01-07 02:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:42:03] Production.INFO: Date 2024-12-13
[2025-01-07 02:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:42:04] Production.INFO: Date 2024-12-14
[2025-01-07 02:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:42:04] Production.ERROR: done
[2025-01-07 02:42:04] Production.INFO: Date 2024-12-15
[2025-01-07 02:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:42:04] Production.INFO: Date 2024-12-16
[2025-01-07 02:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:42:04] Production.INFO: Date 2024-12-17
[2025-01-07 02:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:42:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:42:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:42:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:42:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:42:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:42:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:42:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:42:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:42:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:42:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:42:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:42:04] Production.INFO: Date 2024-12-29
[2025-01-07 02:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:42:04] Production.INFO: Date 2024-12-30
[2025-01-07 02:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:42:04] Production.INFO: Date 2024-12-31
[2025-01-07 02:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:42:04] Production.INFO: Date 2025-01-01
[2025-01-07 02:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:42:04] Production.INFO: Date 2025-01-02
[2025-01-07 02:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:42:04] Production.INFO: Date 2025-01-03
[2025-01-07 02:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:42:04] Production.INFO: Date 2025-01-04
[2025-01-07 02:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:42:04] Production.INFO: Date 2025-01-05
[2025-01-07 02:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:42:04] Production.INFO: Date 2025-01-06
[2025-01-07 02:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:42:04] Production.INFO: Date 2025-01-07
[2025-01-07 02:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:42:04] Production.INFO: Total Charge 0
[2025-01-07 02:42:04] Production.INFO: CreateAllLog End
[2025-01-07 02:42:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:42:04
[end_date_ymd] => 2025-01-07 02:42:04
[RateCDR] => 1
)
[2025-01-07 02: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-06 23:42:04' and `end` < '2025-01-07 02: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-07 02:42:05] Production.INFO: Account Balance End.
[2025-01-07 02:42:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:42:05] Production.INFO: ==24252== Releasing lock...
[2025-01-07 02:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:42:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:42:11] Production.ERROR: CronJobId end10
[2025-01-07 02:42:11] Production.INFO: ==24250== Releasing lock...
[2025-01-07 02:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:42:13] Production.INFO: call_cost start
[2025-01-07 02:42:13] Production.INFO: call_cost end
[2025-01-07 02:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:42:14] Production.INFO: ==24246== Releasing lock...
[2025-01-07 02:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:42:17] Production.INFO: count ==241
[2025-01-07 02:42:17] Production.ERROR: pbx CDR StartTime 2025-01-06 23:42:04 - End Time 2025-01-07 02:42:04
[2025-01-07 02:42:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191910', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191910', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191910', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191910', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:42:17] Production.INFO: ProcessCDR(1,14191910,1,1,2)
[2025-01-07 02:42:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191910,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:42:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191910,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:42:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191910,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:42:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191910,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:42:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191910', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:42:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191910', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:42:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:42:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:42:20] Production.INFO: ==24254== Releasing lock...
[2025-01-07 02:42:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:42:20] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:43:02] Production.INFO: ==24314== Lock acquired, processing the job...
[2025-01-07 07:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:43:02] Production.INFO: neon service started
[2025-01-07 07:43:02] Production.INFO: neon service started
[2025-01-07 07:43:02] Production.INFO: ==24314== Releasing lock...
[2025-01-07 07:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:43:02] Production.INFO: ==24316== Lock acquired, processing the job...
[2025-01-07 02:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:43:02] Production.INFO: ==24316== Releasing lock...
[2025-01-07 02:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:43:02] Production.INFO: ==24318== Lock acquired, processing the job...
[2025-01-07 07:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:43:02] Production.INFO: ==24318== Releasing lock...
[2025-01-07 07:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:43:03] Production.INFO: ==24325== Lock acquired, processing the job...
[2025-01-07 02:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:43:03] Production.INFO: ==24331== Lock acquired, processing the job...
[2025-01-07 02:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:43:03] Production.INFO: ==24323== Lock acquired, processing the job...
[2025-01-07 02:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:43:03] Production.INFO: ==24320== Lock acquired, processing the job...
[2025-01-07 02:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 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-07 02:43:03] Production.INFO: ==24327== Lock acquired, processing the job...
[2025-01-07 02:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:43:03] Production.INFO: ==24329== Lock acquired, processing the job...
[2025-01-07 02:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:43:03] Production.INFO: count ==21
[2025-01-07 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-07 02:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:43:03] Production.INFO: count ==21
[2025-01-07 02:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191911') start
[2025-01-07 02:43:03] Production.INFO: Account Balance Start.
[2025-01-07 02:43:03] Production.INFO: CreateAllLog Start
[2025-01-07 02:43:03] Production.INFO: 117
[2025-01-07 02:43:03] Production.INFO: Date 2024-12-08
[2025-01-07 02:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:43:04] Production.INFO: ==24323== Releasing lock...
[2025-01-07 02:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:43:04] Production.INFO: Date 2024-12-09
[2025-01-07 02:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191911') end
[2025-01-07 02:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:43:04] Production.INFO: 1
[2025-01-07 02:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:43:04] Production.INFO: ==24331== Releasing lock...
[2025-01-07 02:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:43:04] Production.INFO: Date 2024-12-10
[2025-01-07 02:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:43:04] Production.INFO: Date 2024-12-11
[2025-01-07 02:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:43:04] Production.INFO: Date 2024-12-12
[2025-01-07 02:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:43:04] Production.INFO: Date 2024-12-13
[2025-01-07 02:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:43:04] Production.ERROR: done
[2025-01-07 02:43:04] Production.INFO: Date 2024-12-14
[2025-01-07 02:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:43:04] Production.INFO: Date 2024-12-15
[2025-01-07 02:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:43:04] Production.INFO: Date 2024-12-16
[2025-01-07 02:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:43:04] Production.INFO: Date 2024-12-17
[2025-01-07 02:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:43:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:43:04] Production.ERROR: done
[2025-01-07 02:43:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:43:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:43:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:43:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:43:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:43:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:43:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:43:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:43:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:43:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:43:04] Production.INFO: Date 2024-12-29
[2025-01-07 02:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:43:04] Production.INFO: Date 2024-12-30
[2025-01-07 02:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:43:04] Production.INFO: Date 2024-12-31
[2025-01-07 02:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:43:04] Production.INFO: Date 2025-01-01
[2025-01-07 02:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:43:04] Production.INFO: Date 2025-01-02
[2025-01-07 02:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:43:04] Production.INFO: Date 2025-01-03
[2025-01-07 02:43:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:43:05] Production.INFO: Date 2025-01-04
[2025-01-07 02:43:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:43:05] Production.INFO: Date 2025-01-05
[2025-01-07 02:43:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:43:05] Production.INFO: Date 2025-01-06
[2025-01-07 02:43:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:43:05] Production.INFO: Date 2025-01-07
[2025-01-07 02:43:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:43:05] Production.INFO: Total Charge 0
[2025-01-07 02:43:05] Production.INFO: CreateAllLog End
[2025-01-07 02:43:05] Production.INFO: Account Balance End.
[2025-01-07 02:43:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:43:05] Production.INFO: ==24327== Releasing lock...
[2025-01-07 02:43:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:43:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:43:05
[end_date_ymd] => 2025-01-07 02:43:05
[RateCDR] => 1
)
[2025-01-07 02:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 23:43:05' and `end` < '2025-01-07 02:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 02:43:11] Production.ERROR: CronJobId end10
[2025-01-07 02:43:11] Production.INFO: ==24325== Releasing lock...
[2025-01-07 02:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:43:12] Production.INFO: call_cost start
[2025-01-07 02:43:12] Production.INFO: call_cost end
[2025-01-07 02:43:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:43:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:43:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:43:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:43:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:43:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:43:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:43:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:43:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:43:13] Production.INFO: ==24320== Releasing lock...
[2025-01-07 02:43:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:43:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:43:19] Production.INFO: count ==240
[2025-01-07 02:43:19] Production.ERROR: pbx CDR StartTime 2025-01-06 23:43:05 - End Time 2025-01-07 02:43:05
[2025-01-07 02:43:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191915', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191915', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191915', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191915', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:43:19] Production.INFO: ProcessCDR(1,14191915,1,1,2)
[2025-01-07 02:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191915,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:43:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191915,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:43:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191915,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191915,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191915', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191915', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:43:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:43:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:43:22] Production.INFO: ==24329== Releasing lock...
[2025-01-07 02:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:43:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:44:01] Production.INFO: ==24383== Lock acquired, processing the job...
[2025-01-07 07:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:44:01] Production.INFO: neon service started
[2025-01-07 07:44:01] Production.INFO: neon service started
[2025-01-07 07:44:01] Production.INFO: ==24383== Releasing lock...
[2025-01-07 07:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:44:02] Production.INFO: ==24387== Lock acquired, processing the job...
[2025-01-07 07:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:44:02] Production.INFO: ==24387== Releasing lock...
[2025-01-07 07:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:44:02] Production.INFO: ==24385== Lock acquired, processing the job...
[2025-01-07 02:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:44:02] Production.INFO: ==24385== Releasing lock...
[2025-01-07 02:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:44:03] Production.INFO: ==24392== Lock acquired, processing the job...
[2025-01-07 02:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:44:03] Production.INFO: ==24400== Lock acquired, processing the job...
[2025-01-07 02:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:44:03] Production.INFO: ==24392== Releasing lock...
[2025-01-07 02:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:44:03] Production.INFO: ==24390== Lock acquired, processing the job...
[2025-01-07 02:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:44:03] Production.INFO: ==24394== Lock acquired, processing the job...
[2025-01-07 02:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:44:03] Production.INFO: count ==21
[2025-01-07 02:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:44:03] Production.INFO: count ==21
[2025-01-07 02:44:03] Production.INFO: ==24396== Lock acquired, processing the job...
[2025-01-07 02:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191917') start
[2025-01-07 02:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:44:03] Production.INFO: Account Balance Start.
[2025-01-07 02:44:03] Production.INFO: CreateAllLog Start
[2025-01-07 02:44:03] Production.INFO: ==24398== Lock acquired, processing the job...
[2025-01-07 02:44:03] Production.INFO: 117
[2025-01-07 02:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191917') end
[2025-01-07 02:44:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:44:03] Production.INFO: 1
[2025-01-07 02:44:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:44:03] Production.INFO: Date 2024-12-08
[2025-01-07 02:44:03] Production.INFO: ==24400== Releasing lock...
[2025-01-07 02:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:44:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:44:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:44:03] Production.INFO: Date 2024-12-09
[2025-01-07 02:44:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:44:03] Production.INFO: Date 2024-12-10
[2025-01-07 02:44:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:44:03] Production.INFO: Date 2024-12-11
[2025-01-07 02:44:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:44:03] Production.INFO: Date 2024-12-12
[2025-01-07 02:44:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:44:03] Production.INFO: Date 2024-12-13
[2025-01-07 02:44:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:44:03] Production.INFO: Date 2024-12-14
[2025-01-07 02:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:44:04] Production.INFO: Date 2024-12-15
[2025-01-07 02:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:44:04] Production.INFO: Date 2024-12-16
[2025-01-07 02:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:44:04] Production.INFO: Date 2024-12-17
[2025-01-07 02:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:44:04] Production.ERROR: done
[2025-01-07 02:44:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:44:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:44:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:44:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:44:04] Production.ERROR: done
[2025-01-07 02:44:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:44:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:44:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:44:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:44:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:44:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:44:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:44:04] Production.INFO: Date 2024-12-29
[2025-01-07 02:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:44:04] Production.INFO: Date 2024-12-30
[2025-01-07 02:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:44:04] Production.INFO: Date 2024-12-31
[2025-01-07 02:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:44:04] Production.INFO: Date 2025-01-01
[2025-01-07 02:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:44:04] Production.INFO: Date 2025-01-02
[2025-01-07 02:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:44:04] Production.INFO: Date 2025-01-03
[2025-01-07 02:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:44:04] Production.INFO: Date 2025-01-04
[2025-01-07 02:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:44:04] Production.INFO: Date 2025-01-05
[2025-01-07 02:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:44:04] Production.INFO: Date 2025-01-06
[2025-01-07 02:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:44:04] Production.INFO: Date 2025-01-07
[2025-01-07 02:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:44:04] Production.INFO: Total Charge 0
[2025-01-07 02:44:04] Production.INFO: CreateAllLog End
[2025-01-07 02:44:05] Production.INFO: Account Balance End.
[2025-01-07 02:44:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:44:05] Production.INFO: ==24396== Releasing lock...
[2025-01-07 02:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:44:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:44:05
[end_date_ymd] => 2025-01-07 02:44:05
[RateCDR] => 1
)
[2025-01-07 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-06 23:44:05' and `end` < '2025-01-07 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-07 02:44:11] Production.ERROR: CronJobId end10
[2025-01-07 02:44:11] Production.INFO: ==24394== Releasing lock...
[2025-01-07 02:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:44:13] Production.INFO: call_cost start
[2025-01-07 02:44:13] Production.INFO: call_cost end
[2025-01-07 02:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:44:14] Production.INFO: ==24390== Releasing lock...
[2025-01-07 02:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:44:17] Production.INFO: count ==240
[2025-01-07 02:44:18] Production.ERROR: pbx CDR StartTime 2025-01-06 23:44:05 - End Time 2025-01-07 02:44:05
[2025-01-07 02:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191920', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191920', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191920', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191920', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:44:18] Production.INFO: ProcessCDR(1,14191920,1,1,2)
[2025-01-07 02:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191920,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191920,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191920,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191920,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191920', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191920', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:44:21] Production.INFO: ==24398== Releasing lock...
[2025-01-07 02:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:44:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:45:02] Production.INFO: ==24456== Lock acquired, processing the job...
[2025-01-07 07:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:45:02] Production.INFO: neon service started
[2025-01-07 07:45:02] Production.INFO: neon service started
[2025-01-07 07:45:02] Production.INFO: ==24456== Releasing lock...
[2025-01-07 07:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:45:02] Production.INFO: ==24460== Lock acquired, processing the job...
[2025-01-07 07:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:45:02] Production.INFO: ==24460== Releasing lock...
[2025-01-07 07:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:45:02] Production.INFO: ==24458== Lock acquired, processing the job...
[2025-01-07 02:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:45:02] Production.INFO: ==24458== Releasing lock...
[2025-01-07 02:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:45:03] Production.INFO: ==24462== Lock acquired, processing the job...
[2025-01-07 02:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:45:03] Production.INFO: ==24464== Lock acquired, processing the job...
[2025-01-07 02:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:45:03] Production.INFO: ==24468== Lock acquired, processing the job...
[2025-01-07 02:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:45:03] Production.INFO: Account Balance Start.
[2025-01-07 02:45:03] Production.INFO: CreateAllLog Start
[2025-01-07 02:45:03] Production.INFO: 117
[2025-01-07 02:45:03] Production.INFO: Date 2024-12-08
[2025-01-07 02:45:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:45:03] Production.INFO: ==24466== Lock acquired, processing the job...
[2025-01-07 02:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:45:03] Production.INFO: Date 2024-12-09
[2025-01-07 02:45:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:45:03] Production.INFO: ==24464== Releasing lock...
[2025-01-07 02:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:45:03] Production.INFO: Date 2024-12-10
[2025-01-07 02:45:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:45:03] Production.INFO: Date 2024-12-11
[2025-01-07 02:45:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:45:03] Production.INFO: ==24473== Lock acquired, processing the job...
[2025-01-07 02:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:45:03] Production.INFO: ==24470== Lock acquired, processing the job...
[2025-01-07 02:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:45:04] Production.INFO: Date 2024-12-12
[2025-01-07 02:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:45:04] Production.INFO: Date 2024-12-13
[2025-01-07 02:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:45:04] Production.INFO: Date 2024-12-14
[2025-01-07 02:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:45:04] Production.INFO: Date 2024-12-15
[2025-01-07 02:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:45:04] Production.INFO: Date 2024-12-16
[2025-01-07 02:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:45:04] Production.INFO: count ==21
[2025-01-07 02:45:04] Production.INFO: Date 2024-12-17
[2025-01-07 02:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:45:04] Production.INFO: count ==21
[2025-01-07 02:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191924') start
[2025-01-07 02:45:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:45:04] Production.ERROR: done
[2025-01-07 02:45:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191924') end
[2025-01-07 02:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:45:04] Production.INFO: 1
[2025-01-07 02:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:45:04] Production.INFO: ==24473== Releasing lock...
[2025-01-07 02:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:45:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:45:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:45:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:45:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:45:04] Production.ERROR: done
[2025-01-07 02:45:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:45:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:45:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:45:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:45:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:45:04] Production.INFO: Date 2024-12-29
[2025-01-07 02:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:45:04] Production.INFO: Date 2024-12-30
[2025-01-07 02:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:45:04] Production.INFO: Date 2024-12-31
[2025-01-07 02:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:45:04] Production.INFO: Date 2025-01-01
[2025-01-07 02:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:45:04] Production.INFO: Date 2025-01-02
[2025-01-07 02:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:45:05] Production.INFO: Date 2025-01-03
[2025-01-07 02:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:45:05] Production.INFO: Date 2025-01-04
[2025-01-07 02:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:45:05] Production.INFO: Date 2025-01-05
[2025-01-07 02:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:45:05] Production.INFO: Date 2025-01-06
[2025-01-07 02:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:45:05] Production.INFO: Date 2025-01-07
[2025-01-07 02:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:45:05] Production.INFO: Total Charge 0
[2025-01-07 02:45:05] Production.INFO: CreateAllLog End
[2025-01-07 02:45:05] Production.INFO: Account Balance End.
[2025-01-07 02:45:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:45:05] Production.INFO: ==24468== Releasing lock...
[2025-01-07 02:45:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:45:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:45:05
[end_date_ymd] => 2025-01-07 02:45:05
[RateCDR] => 1
)
[2025-01-07 02:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 23:45:05' and `end` < '2025-01-07 02:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 02:45:11] Production.ERROR: CronJobId end10
[2025-01-07 02:45:11] Production.INFO: ==24466== Releasing lock...
[2025-01-07 02:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:45:13] Production.INFO: call_cost start
[2025-01-07 02:45:13] Production.INFO: call_cost end
[2025-01-07 02:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:45:14] Production.INFO: ==24462== Releasing lock...
[2025-01-07 02:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:45:18] Production.INFO: count ==240
[2025-01-07 02:45:18] Production.ERROR: pbx CDR StartTime 2025-01-06 23:45:05 - End Time 2025-01-07 02:45:05
[2025-01-07 02:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191925', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191925', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191925', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191925', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:45:18] Production.INFO: ProcessCDR(1,14191925,1,1,2)
[2025-01-07 02:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191925,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191925,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191925,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191925,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191925', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191925', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:45:21] Production.INFO: ==24470== Releasing lock...
[2025-01-07 02:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:45:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:46:01] Production.INFO: ==24526== Lock acquired, processing the job...
[2025-01-07 07:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:46:01] Production.INFO: neon service started
[2025-01-07 07:46:01] Production.INFO: neon service started
[2025-01-07 07:46:01] Production.INFO: ==24526== Releasing lock...
[2025-01-07 07:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:46:02] Production.INFO: ==24528== Lock acquired, processing the job...
[2025-01-07 02:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:46:02] Production.INFO: ==24530== Lock acquired, processing the job...
[2025-01-07 07:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:46:02] Production.INFO: ==24530== Releasing lock...
[2025-01-07 07:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:46:02] Production.INFO: ==24528== Releasing lock...
[2025-01-07 02:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:46:03] Production.INFO: ==24533== Lock acquired, processing the job...
[2025-01-07 02:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:46:03] Production.INFO: ==24539== Lock acquired, processing the job...
[2025-01-07 02:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:46:03] Production.INFO: ==24541== Lock acquired, processing the job...
[2025-01-07 02:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:46:03] Production.INFO: Account Balance Start.
[2025-01-07 02:46:03] Production.INFO: CreateAllLog Start
[2025-01-07 02:46:03] Production.INFO: 117
[2025-01-07 02:46:03] Production.INFO: Date 2024-12-08
[2025-01-07 02:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:46:03] Production.INFO: ==24535== Lock acquired, processing the job...
[2025-01-07 02:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:46:03] Production.INFO: Date 2024-12-09
[2025-01-07 02:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:46:03] Production.INFO: Date 2024-12-10
[2025-01-07 02:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:46:03] Production.INFO: ==24543== Lock acquired, processing the job...
[2025-01-07 02:46:03] Production.INFO: ==24537== Lock acquired, processing the job...
[2025-01-07 02:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:46:03] Production.INFO: Date 2024-12-11
[2025-01-07 02:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:46:03] Production.INFO: Date 2024-12-12
[2025-01-07 02:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:46:03] Production.ERROR: done
[2025-01-07 02:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:46:03] Production.INFO: Date 2024-12-13
[2025-01-07 02:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:46:03] Production.INFO: Date 2024-12-14
[2025-01-07 02:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:46:03] Production.INFO: Date 2024-12-15
[2025-01-07 02:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:46:03] Production.INFO: count ==21
[2025-01-07 02:46:03] Production.INFO: Date 2024-12-16
[2025-01-07 02:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:46:03] Production.INFO: count ==21
[2025-01-07 02:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191929') start
[2025-01-07 02:46:03] Production.ERROR: done
[2025-01-07 02:46:03] Production.INFO: Date 2024-12-17
[2025-01-07 02:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191929') end
[2025-01-07 02:46:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:46:03] Production.INFO: 1
[2025-01-07 02:46:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:46:04] Production.INFO: ==24543== Releasing lock...
[2025-01-07 02:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:46:04] Production.INFO: ==24535== Releasing lock...
[2025-01-07 02:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:46:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:46:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:46:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:46:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:46:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:46:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:46:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:46:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:46:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:46:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:46:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:46:04] Production.INFO: Date 2024-12-29
[2025-01-07 02:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:46:04] Production.INFO: Date 2024-12-30
[2025-01-07 02:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:46:04] Production.INFO: Date 2024-12-31
[2025-01-07 02:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:46:04] Production.INFO: Date 2025-01-01
[2025-01-07 02:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:46:04] Production.INFO: Date 2025-01-02
[2025-01-07 02:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:46:04] Production.INFO: Date 2025-01-03
[2025-01-07 02:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:46:04] Production.INFO: Date 2025-01-04
[2025-01-07 02:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:46:05] Production.INFO: Date 2025-01-05
[2025-01-07 02:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:46:05
[end_date_ymd] => 2025-01-07 02:46:05
[RateCDR] => 1
)
[2025-01-07 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-06 23:46:05' and `end` < '2025-01-07 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-07 02:46:05] Production.INFO: Date 2025-01-06
[2025-01-07 02:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:46:05] Production.INFO: Date 2025-01-07
[2025-01-07 02:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:46:05] Production.INFO: Total Charge 0
[2025-01-07 02:46:05] Production.INFO: CreateAllLog End
[2025-01-07 02:46:05] Production.INFO: Account Balance End.
[2025-01-07 02:46:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:46:05] Production.INFO: ==24539== Releasing lock...
[2025-01-07 02:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:46:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:46:11] Production.ERROR: CronJobId end10
[2025-01-07 02:46:11] Production.INFO: ==24537== Releasing lock...
[2025-01-07 02:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:46:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:46:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:46:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:46:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:46:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:46:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:46:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:46:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:46:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:46:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:46:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:46:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:46:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:46:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:46:13] Production.INFO: call_cost start
[2025-01-07 02:46:13] Production.INFO: call_cost end
[2025-01-07 02:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:46:14] Production.INFO: ==24533== Releasing lock...
[2025-01-07 02:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:46:18] Production.INFO: count ==240
[2025-01-07 02:46:18] Production.ERROR: pbx CDR StartTime 2025-01-06 23:46:05 - End Time 2025-01-07 02:46:05
[2025-01-07 02:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191930', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191930', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191930', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191930', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:46:18] Production.INFO: ProcessCDR(1,14191930,1,1,2)
[2025-01-07 02:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191930,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191930,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191930,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191930,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191930', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191930', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:46:21] Production.INFO: ==24541== Releasing lock...
[2025-01-07 02:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:46:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:47:01] Production.INFO: ==24597== Lock acquired, processing the job...
[2025-01-07 07:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:47:01] Production.INFO: neon service started
[2025-01-07 07:47:01] Production.INFO: neon service started
[2025-01-07 07:47:01] Production.INFO: ==24597== Releasing lock...
[2025-01-07 07:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:47:02] Production.INFO: ==24599== Lock acquired, processing the job...
[2025-01-07 02:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:47:02] Production.INFO: ==24601== Lock acquired, processing the job...
[2025-01-07 07:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:47:02] Production.INFO: ==24601== Releasing lock...
[2025-01-07 07:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:47:02] Production.INFO: ==24599== Releasing lock...
[2025-01-07 02:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:47:03] Production.INFO: ==24604== Lock acquired, processing the job...
[2025-01-07 02:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:47:03] Production.INFO: ==24606== Lock acquired, processing the job...
[2025-01-07 02:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:47:03] Production.INFO: ==24610== Lock acquired, processing the job...
[2025-01-07 02:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:47:03] Production.INFO: ==24608== Lock acquired, processing the job...
[2025-01-07 02:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:47:03] Production.INFO: Account Balance Start.
[2025-01-07 02:47:03] Production.INFO: CreateAllLog Start
[2025-01-07 02:47:03] Production.INFO: 117
[2025-01-07 02:47:03] Production.INFO: Date 2024-12-08
[2025-01-07 02:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:47:03] Production.INFO: ==24612== Lock acquired, processing the job...
[2025-01-07 02:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:47:03] Production.INFO: Date 2024-12-09
[2025-01-07 02:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:47:03] Production.INFO: Date 2024-12-10
[2025-01-07 02:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:47:04] Production.INFO: Date 2024-12-11
[2025-01-07 02:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:47:04] Production.INFO: ==24614== Lock acquired, processing the job...
[2025-01-07 02:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:47:04] Production.INFO: Date 2024-12-12
[2025-01-07 02:47:04] Production.INFO: ==24606== Releasing lock...
[2025-01-07 02:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:47:04] Production.INFO: Date 2024-12-13
[2025-01-07 02:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:47:04] Production.INFO: Date 2024-12-14
[2025-01-07 02:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 02:47:04] Production.INFO: count ==21
[2025-01-07 02:47:04] Production.ERROR: done
[2025-01-07 02:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:47:04] Production.INFO: Date 2024-12-15
[2025-01-07 02:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 02:47:04] Production.INFO: Date 2024-12-16
[2025-01-07 02:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:47:04] Production.INFO: count ==21
[2025-01-07 02:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191934') start
[2025-01-07 02:47:04] Production.INFO: Date 2024-12-17
[2025-01-07 02:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:47:04] Production.ERROR: done
[2025-01-07 02:47:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:47:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:47:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191934') end
[2025-01-07 02:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:47:04] Production.INFO: 1
[2025-01-07 02:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:47:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:47:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:47:04] Production.INFO: ==24614== Releasing lock...
[2025-01-07 02:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:47:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:47:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:47:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:47:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:47:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:47:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:47:04] Production.INFO: Date 2024-12-29
[2025-01-07 02:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:47:04] Production.INFO: Date 2024-12-30
[2025-01-07 02:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:47:04] Production.INFO: Date 2024-12-31
[2025-01-07 02:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:47:04] Production.INFO: Date 2025-01-01
[2025-01-07 02:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:47:04] Production.INFO: Date 2025-01-02
[2025-01-07 02:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:47:05] Production.INFO: Date 2025-01-03
[2025-01-07 02:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:47:05] Production.INFO: Date 2025-01-04
[2025-01-07 02:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:47:05] Production.INFO: Date 2025-01-05
[2025-01-07 02:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:47:05] Production.INFO: Date 2025-01-06
[2025-01-07 02:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:47:05] Production.INFO: Date 2025-01-07
[2025-01-07 02:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:47:05] Production.INFO: Total Charge 0
[2025-01-07 02:47:05] Production.INFO: CreateAllLog End
[2025-01-07 02:47:05] Production.INFO: Account Balance End.
[2025-01-07 02:47:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:47:05] Production.INFO: ==24610== Releasing lock...
[2025-01-07 02:47:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:47:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:47:05
[end_date_ymd] => 2025-01-07 02:47:05
[RateCDR] => 1
)
[2025-01-07 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-06 23:47:05' and `end` < '2025-01-07 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-07 02:47:11] Production.ERROR: CronJobId end10
[2025-01-07 02:47:11] Production.INFO: ==24608== Releasing lock...
[2025-01-07 02:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:47:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:47:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:47:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:47:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:47:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:47:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:47:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:47:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:47:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:47:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:47:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:47:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:47:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:47:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:47:13] Production.INFO: call_cost start
[2025-01-07 02:47:13] Production.INFO: call_cost end
[2025-01-07 02:47:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:47:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:47:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:47:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:47:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:47:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:47:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:47:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:47:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:47:13] Production.INFO: ==24604== Releasing lock...
[2025-01-07 02:47:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:47:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:47:18] Production.INFO: count ==240
[2025-01-07 02:47:18] Production.ERROR: pbx CDR StartTime 2025-01-06 23:47:05 - End Time 2025-01-07 02:47:05
[2025-01-07 02:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191935', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191935', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191935', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191935', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:47:18] Production.INFO: ProcessCDR(1,14191935,1,1,2)
[2025-01-07 02:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191935,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191935,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191935,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191935,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191935', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191935', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:47:21] Production.INFO: ==24612== Releasing lock...
[2025-01-07 02:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:47:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:48:02] Production.INFO: ==24689== Lock acquired, processing the job...
[2025-01-07 07:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:48:02] Production.INFO: neon service started
[2025-01-07 07:48:02] Production.INFO: neon service started
[2025-01-07 07:48:02] Production.INFO: ==24689== Releasing lock...
[2025-01-07 07:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:48:02] Production.INFO: ==24694== Lock acquired, processing the job...
[2025-01-07 07:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:48:02] Production.INFO: ==24694== Releasing lock...
[2025-01-07 07:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:48:02] Production.INFO: ==24692== Lock acquired, processing the job...
[2025-01-07 02:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:48:03] Production.INFO: ==24692== Releasing lock...
[2025-01-07 02:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:48:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:48:03] Production.INFO: ==24702== Lock acquired, processing the job...
[2025-01-07 02:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:48:03] Production.INFO: ==24696== Lock acquired, processing the job...
[2025-01-07 02:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:48:04] Production.INFO: ==24698== Lock acquired, processing the job...
[2025-01-07 02:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:48:04] Production.INFO: ==24704== Lock acquired, processing the job...
[2025-01-07 02:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:48:04] Production.INFO: Account Balance Start.
[2025-01-07 02:48:04] Production.INFO: CreateAllLog Start
[2025-01-07 02:48:04] Production.INFO: 117
[2025-01-07 02:48:04] Production.INFO: Date 2024-12-08
[2025-01-07 02:48:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:48:04] Production.INFO: Date 2024-12-09
[2025-01-07 02:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:48:04] Production.INFO: ==24700== Lock acquired, processing the job...
[2025-01-07 02:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:48:04] Production.INFO: Date 2024-12-10
[2025-01-07 02:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:48:04] Production.INFO: Date 2024-12-11
[2025-01-07 02:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:48:04] Production.INFO: Date 2024-12-12
[2025-01-07 02:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:48:04] Production.INFO: ==24706== Lock acquired, processing the job...
[2025-01-07 02:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:48:04] Production.ERROR: done
[2025-01-07 02:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:48:04] Production.INFO: Date 2024-12-13
[2025-01-07 02:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:48:04] Production.INFO: Date 2024-12-14
[2025-01-07 02:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 02:48:04] Production.INFO: count ==21
[2025-01-07 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-07 02:48:04] Production.INFO: count ==21
[2025-01-07 02:48:04] Production.INFO: Date 2024-12-15
[2025-01-07 02:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191939') start
[2025-01-07 02:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:48:04] Production.INFO: Date 2024-12-16
[2025-01-07 02:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:48:04] Production.INFO: ==24698== Releasing lock...
[2025-01-07 02:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:48:04] Production.ERROR: done
[2025-01-07 02:48:04] Production.INFO: Date 2024-12-17
[2025-01-07 02:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:48:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191939') end
[2025-01-07 02:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:48:04] Production.INFO: 1
[2025-01-07 02:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:48:04] Production.INFO: ==24706== Releasing lock...
[2025-01-07 02:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:48:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:48:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:48:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:48:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:48:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:48:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:48:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:48:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:48:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:48:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:48:05] Production.INFO: Date 2024-12-29
[2025-01-07 02:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:48:05] Production.INFO: Date 2024-12-30
[2025-01-07 02:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:48:05] Production.INFO: Date 2024-12-31
[2025-01-07 02:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:48:05] Production.INFO: Date 2025-01-01
[2025-01-07 02:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:48:05] Production.INFO: Date 2025-01-02
[2025-01-07 02:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:48:05] Production.INFO: Date 2025-01-03
[2025-01-07 02:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:48:05] Production.INFO: Date 2025-01-04
[2025-01-07 02:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:48:05] Production.INFO: Date 2025-01-05
[2025-01-07 02:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:48:05] Production.INFO: Date 2025-01-06
[2025-01-07 02:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:48:05] Production.INFO: Date 2025-01-07
[2025-01-07 02:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:48:05] Production.INFO: Total Charge 0
[2025-01-07 02:48:05] Production.INFO: CreateAllLog End
[2025-01-07 02:48:05] Production.INFO: Account Balance End.
[2025-01-07 02:48:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:48:05] Production.INFO: ==24702== Releasing lock...
[2025-01-07 02:48:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:48:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:48:05
[end_date_ymd] => 2025-01-07 02:48:05
[RateCDR] => 1
)
[2025-01-07 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-06 23:48:05' and `end` < '2025-01-07 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-07 02:48:11] Production.ERROR: CronJobId end10
[2025-01-07 02:48:11] Production.INFO: ==24700== Releasing lock...
[2025-01-07 02:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:48:13] Production.INFO: call_cost start
[2025-01-07 02:48:13] Production.INFO: call_cost end
[2025-01-07 02:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:48:14] Production.INFO: ==24696== Releasing lock...
[2025-01-07 02:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:48:20] Production.INFO: count ==240
[2025-01-07 02:48:20] Production.ERROR: pbx CDR StartTime 2025-01-06 23:48:05 - End Time 2025-01-07 02:48:05
[2025-01-07 02:48:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191940', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191940', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191940', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191940', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:48:20] Production.INFO: ProcessCDR(1,14191940,1,1,2)
[2025-01-07 02:48:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191940,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:48:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191940,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:48:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191940,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:48:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191940,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191940', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191940', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:48:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:48:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:48:23] Production.INFO: ==24704== Releasing lock...
[2025-01-07 02:48:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:48:23] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:49:01] Production.INFO: ==24759== Lock acquired, processing the job...
[2025-01-07 07:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:49:01] Production.INFO: neon service started
[2025-01-07 07:49:01] Production.INFO: neon service started
[2025-01-07 07:49:01] Production.INFO: ==24759== Releasing lock...
[2025-01-07 07:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:49:02] Production.INFO: ==24761== Lock acquired, processing the job...
[2025-01-07 02:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:49:02] Production.INFO: ==24761== Releasing lock...
[2025-01-07 02:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:49:02] Production.INFO: ==24763== Lock acquired, processing the job...
[2025-01-07 07:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:49:02] Production.INFO: ==24763== Releasing lock...
[2025-01-07 07:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:49:03] Production.INFO: ==24766== Lock acquired, processing the job...
[2025-01-07 02:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:49:03] Production.INFO: ==24770== Lock acquired, processing the job...
[2025-01-07 02:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:49:03] Production.INFO: ==24774== Lock acquired, processing the job...
[2025-01-07 02:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:49:03] Production.INFO: ==24768== Lock acquired, processing the job...
[2025-01-07 02:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:49:03] Production.INFO: ==24772== Lock acquired, processing the job...
[2025-01-07 02:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:49:03] Production.INFO: ==24776== Lock acquired, processing the job...
[2025-01-07 02:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:49:03] Production.INFO: Account Balance Start.
[2025-01-07 02:49:03] Production.INFO: CreateAllLog Start
[2025-01-07 02:49:03] Production.INFO: 117
[2025-01-07 02:49:03] Production.INFO: Date 2024-12-08
[2025-01-07 02:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:49:03] Production.ERROR: done
[2025-01-07 02:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:49:03] Production.INFO: Date 2024-12-09
[2025-01-07 02:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:49:03] Production.ERROR: done
[2025-01-07 02:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:49:03] Production.INFO: Date 2024-12-10
[2025-01-07 02:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:49:03] Production.INFO: count ==21
[2025-01-07 02:49:03] Production.INFO: ==24768== Releasing lock...
[2025-01-07 02:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:49:03] Production.INFO: Date 2024-12-11
[2025-01-07 02:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:49:03] Production.INFO: count ==21
[2025-01-07 02:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191944') start
[2025-01-07 02:49:03] Production.INFO: Date 2024-12-12
[2025-01-07 02:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:49:03] Production.INFO: Date 2024-12-13
[2025-01-07 02:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:49:04] Production.INFO: Date 2024-12-14
[2025-01-07 02:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191944') end
[2025-01-07 02:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:49:04] Production.INFO: 1
[2025-01-07 02:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:49:04] Production.INFO: Date 2024-12-15
[2025-01-07 02:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:49:04] Production.INFO: ==24776== Releasing lock...
[2025-01-07 02:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:49:04] Production.INFO: Date 2024-12-16
[2025-01-07 02:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:49:04] Production.INFO: Date 2024-12-17
[2025-01-07 02:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:49:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:49:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:49:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:49:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:49:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:49:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:49:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:49:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:49:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:49:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:49:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:49:04] Production.INFO: Date 2024-12-29
[2025-01-07 02:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:49:04] Production.INFO: Date 2024-12-30
[2025-01-07 02:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:49:04] Production.INFO: Date 2024-12-31
[2025-01-07 02:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:49:04] Production.INFO: Date 2025-01-01
[2025-01-07 02:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:49:04] Production.INFO: Date 2025-01-02
[2025-01-07 02:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:49:05] Production.INFO: Date 2025-01-03
[2025-01-07 02:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:49:05] Production.INFO: Date 2025-01-04
[2025-01-07 02:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:49:05] Production.INFO: Date 2025-01-05
[2025-01-07 02:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:49:05] Production.INFO: Date 2025-01-06
[2025-01-07 02:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:49:05] Production.INFO: Date 2025-01-07
[2025-01-07 02:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:49:05
[end_date_ymd] => 2025-01-07 02:49:05
[RateCDR] => 1
)
[2025-01-07 02:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 23:49:05' and `end` < '2025-01-07 02:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 02:49:05] Production.INFO: Total Charge 0
[2025-01-07 02:49:05] Production.INFO: CreateAllLog End
[2025-01-07 02:49:05] Production.INFO: Account Balance End.
[2025-01-07 02:49:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:49:05] Production.INFO: ==24772== Releasing lock...
[2025-01-07 02:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:49:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:49:10] Production.ERROR: CronJobId end10
[2025-01-07 02:49:10] Production.INFO: ==24770== Releasing lock...
[2025-01-07 02:49:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:49:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:49:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:49:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:49:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:49:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:49:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:49:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:49:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:49:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:49:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:49:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:49:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:49:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:49:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:49:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:49:12] Production.INFO: call_cost start
[2025-01-07 02:49:12] Production.INFO: call_cost end
[2025-01-07 02:49:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:49:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:49:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:49:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:49:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:49:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:49:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:49:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:49:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:49:13] Production.INFO: ==24766== Releasing lock...
[2025-01-07 02:49:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:49:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:49:18] Production.INFO: count ==240
[2025-01-07 02:49:18] Production.ERROR: pbx CDR StartTime 2025-01-06 23:49:05 - End Time 2025-01-07 02:49:05
[2025-01-07 02:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191945', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191945', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191945', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191945', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:49:18] Production.INFO: ProcessCDR(1,14191945,1,1,2)
[2025-01-07 02:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191945,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191945,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191945,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191945,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191945', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191945', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:49:21] Production.INFO: ==24774== Releasing lock...
[2025-01-07 02:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:49:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:50:02] Production.INFO: ==24832== Lock acquired, processing the job...
[2025-01-07 07:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:50:02] Production.INFO: neon service started
[2025-01-07 07:50:02] Production.INFO: neon service started
[2025-01-07 07:50:02] Production.INFO: ==24832== Releasing lock...
[2025-01-07 07:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:50:02] Production.INFO: ==24834== Lock acquired, processing the job...
[2025-01-07 02:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:50:02] Production.INFO: ==24834== Releasing lock...
[2025-01-07 02:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:50:02] Production.INFO: ==24836== Lock acquired, processing the job...
[2025-01-07 07:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:50:03] Production.INFO: ==24836== Releasing lock...
[2025-01-07 07:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:50:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:50:03] Production.INFO: ==24839== Lock acquired, processing the job...
[2025-01-07 02:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 02:50:03] Production.INFO: ==24847== Lock acquired, processing the job...
[2025-01-07 02:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:50:03] Production.INFO: ==24841== Lock acquired, processing the job...
[2025-01-07 02:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 02:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 02:50:03] Production.ERROR: CronJob PID - 24841
[2025-01-07 02:50:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-07 02:50:03] Production.ERROR: CronJob ID - 5
[2025-01-07 02:50:03] Production.ERROR: CronJob Last Run Time 2025-01-07 02:50:00
[2025-01-07 02:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 02:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 02:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 02:50:03] Production.ERROR: CronJob PID - 24847
[2025-01-07 02:50:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-07 02:50:03] Production.ERROR: CronJob ID - 12
[2025-01-07 02:50:03] Production.ERROR: CronJob Last Run Time 2025-01-07 02:50:00
[2025-01-07 02:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 02:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 02:50:03] Production.INFO: ==24843== Lock acquired, processing the job...
[2025-01-07 02:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 02:50:03] Production.INFO: ==24839== Releasing lock...
[2025-01-07 02:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 02:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 02:50:03] Production.INFO: Account Balance Start.
[2025-01-07 02:50:03] Production.INFO: CreateAllLog Start
[2025-01-07 02:50:03] Production.INFO: 117
[2025-01-07 02:50:03] Production.INFO: Date 2024-12-08
[2025-01-07 02:50:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:50:03] Production.INFO: ==24853== Lock acquired, processing the job...
[2025-01-07 02:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:50:04] Production.INFO: Date 2024-12-09
[2025-01-07 02:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:50:04] Production.INFO: ==24845== Lock acquired, processing the job...
[2025-01-07 02:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:50:04] Production.INFO: Date 2024-12-10
[2025-01-07 02:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:50:04] Production.INFO: ==24849== Lock acquired, processing the job...
[2025-01-07 02:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:50:04] Production.INFO: Date 2024-12-11
[2025-01-07 02:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:50:04] Production.INFO: ==24851== Lock acquired, processing the job...
[2025-01-07 02:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 02:50:04] Production.INFO: Date 2024-12-12
[2025-01-07 02:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 02:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:50:04] Production.INFO: count ==21
[2025-01-07 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-07 02:50:04] Production.INFO: count ==21
[2025-01-07 02:50:04] Production.INFO: Date 2024-12-13
[2025-01-07 02:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191949') start
[2025-01-07 02:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:50:04] Production.INFO: Date 2024-12-14
[2025-01-07 02:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:50:04] Production.INFO: Date 2024-12-15
[2025-01-07 02:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:50:04] Production.INFO: ==24843== Releasing lock...
[2025-01-07 02:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191949') end
[2025-01-07 02:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:50:04] Production.INFO: 1
[2025-01-07 02:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:50:04] Production.ERROR: done
[2025-01-07 02:50:04] Production.INFO: Date 2024-12-16
[2025-01-07 02:50:04] Production.INFO: ==24853== Releasing lock...
[2025-01-07 02:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:50:04] Production.INFO: Date 2024-12-17
[2025-01-07 02:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:50:04] Production.ERROR: done
[2025-01-07 02:50:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:50:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:50:04] Production.ERROR: done
[2025-01-07 02:50:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:50:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 02:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14191951', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 02:50:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:50:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:50:05] Production.INFO: Date 2024-12-24
[2025-01-07 02:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:50:05] Production.INFO: Date 2024-12-25
[2025-01-07 02:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:50:05] Production.INFO: Date 2024-12-26
[2025-01-07 02:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:50:05] Production.INFO: Date 2024-12-27
[2025-01-07 02:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:50:05] Production.INFO: Date 2024-12-28
[2025-01-07 02:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:50:05] Production.INFO: Date 2024-12-29
[2025-01-07 02:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:50:05] Production.INFO: Date 2024-12-30
[2025-01-07 02:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:50:05] Production.INFO: Date 2024-12-31
[2025-01-07 02:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:50:05] Production.INFO: Date 2025-01-01
[2025-01-07 02:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:50:05] Production.INFO: Date 2025-01-02
[2025-01-07 02:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:50:05] Production.INFO: Date 2025-01-03
[2025-01-07 02:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:50:05] Production.INFO: Date 2025-01-04
[2025-01-07 02:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:50:05] Production.INFO: Date 2025-01-05
[2025-01-07 02:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:50:05] Production.INFO: Date 2025-01-06
[2025-01-07 02:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:50:05] Production.INFO: Date 2025-01-07
[2025-01-07 02:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:50:05] Production.INFO: Total Charge 0
[2025-01-07 02:50:05] Production.INFO: CreateAllLog End
[2025-01-07 02:50:05] Production.INFO: Account Balance End.
[2025-01-07 02:50:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:50:05] Production.INFO: ==24847== Releasing lock...
[2025-01-07 02:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:50:05
[end_date_ymd] => 2025-01-07 02:50:05
[RateCDR] => 1
)
[2025-01-07 02:50:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 23:50:05' and `end` < '2025-01-07 02:50:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 02:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14191951', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 02:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 02:50:09] Production.INFO: ProcessCDR(1,14191951,1,1,2)
[2025-01-07 02:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14191951,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14191951,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:50:09] Production.INFO: ==24851== Releasing lock...
[2025-01-07 02:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 02:50:09] Production.INFO: 26 MB #Memory Used#
[2025-01-07 02:50:12] Production.ERROR: CronJobId end10
[2025-01-07 02:50:12] Production.INFO: ==24845== Releasing lock...
[2025-01-07 02:50:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:50:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:50:14] Production.INFO: call_cost start
[2025-01-07 02:50:14] Production.INFO: call_cost end
[2025-01-07 02:50:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:50:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:50:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:50:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:50:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:50:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:50:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:50:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:50:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:50:15] Production.INFO: ==24841== Releasing lock...
[2025-01-07 02:50:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:50:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:50:18] Production.INFO: count ==244
[2025-01-07 02:50:18] Production.ERROR: pbx CDR StartTime 2025-01-06 23:50:05 - End Time 2025-01-07 02:50:05
[2025-01-07 02:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191950', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191950', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191950', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191950', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:50:18] Production.INFO: ProcessCDR(1,14191950,1,1,2)
[2025-01-07 02:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191950,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191950,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191950,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191950,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191950', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191950', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:50:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:50:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:50:21] Production.INFO: ==24849== Releasing lock...
[2025-01-07 02:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:50:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:51:01] Production.INFO: ==24910== Lock acquired, processing the job...
[2025-01-07 07:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:51:01] Production.INFO: neon service started
[2025-01-07 07:51:01] Production.INFO: neon service started
[2025-01-07 07:51:01] Production.INFO: ==24910== Releasing lock...
[2025-01-07 07:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:51:02] Production.INFO: ==24912== Lock acquired, processing the job...
[2025-01-07 02:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:51:02] Production.INFO: ==24914== Lock acquired, processing the job...
[2025-01-07 07:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:51:02] Production.INFO: ==24914== Releasing lock...
[2025-01-07 07:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:51:02] Production.INFO: ==24912== Releasing lock...
[2025-01-07 02:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:51:02] Production.INFO: ==24916== Lock acquired, processing the job...
[2025-01-07 02:51:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:51:03] Production.INFO: ==24918== Lock acquired, processing the job...
[2025-01-07 02:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:51:03] Production.INFO: ==24920== Lock acquired, processing the job...
[2025-01-07 02:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:51:03] Production.INFO: ==24922== Lock acquired, processing the job...
[2025-01-07 02:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:51:03] Production.INFO: ==24924== Lock acquired, processing the job...
[2025-01-07 02:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:51:03] Production.INFO: Account Balance Start.
[2025-01-07 02:51:03] Production.INFO: CreateAllLog Start
[2025-01-07 02:51:03] Production.INFO: 117
[2025-01-07 02:51:03] Production.INFO: Date 2024-12-08
[2025-01-07 02:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:51:03] Production.INFO: Date 2024-12-09
[2025-01-07 02:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:51:03] Production.INFO: Date 2024-12-10
[2025-01-07 02:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:51:03] Production.INFO: Date 2024-12-11
[2025-01-07 02:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:51:03] Production.INFO: Date 2024-12-12
[2025-01-07 02:51:03] Production.INFO: ==24918== Releasing lock...
[2025-01-07 02:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:51:03] Production.INFO: ==24926== Lock acquired, processing the job...
[2025-01-07 02:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:51:03] Production.INFO: Date 2024-12-13
[2025-01-07 02:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:51:03] Production.INFO: Date 2024-12-14
[2025-01-07 02:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:51:03] Production.INFO: Date 2024-12-15
[2025-01-07 02:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:51:03] Production.ERROR: done
[2025-01-07 02:51:03] Production.INFO: Date 2024-12-16
[2025-01-07 02:51:03] Production.INFO: count ==21
[2025-01-07 02:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:51:03] Production.INFO: count ==21
[2025-01-07 02:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191955') start
[2025-01-07 02:51:03] Production.INFO: Date 2024-12-17
[2025-01-07 02:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:51:03] Production.ERROR: done
[2025-01-07 02:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191955') end
[2025-01-07 02:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:51:03] Production.INFO: 1
[2025-01-07 02:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:51:03] Production.INFO: Date 2024-12-18
[2025-01-07 02:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:51:03] Production.INFO: ==24926== Releasing lock...
[2025-01-07 02:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:51:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:51:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:51:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:51:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:51:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:51:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:51:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:51:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:51:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:51:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:51:04] Production.INFO: Date 2024-12-29
[2025-01-07 02:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:51:04] Production.INFO: Date 2024-12-30
[2025-01-07 02:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:51:04] Production.INFO: Date 2024-12-31
[2025-01-07 02:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:51:04] Production.INFO: Date 2025-01-01
[2025-01-07 02:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:51:04] Production.INFO: Date 2025-01-02
[2025-01-07 02:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:51:04] Production.INFO: Date 2025-01-03
[2025-01-07 02:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:51:04] Production.INFO: Date 2025-01-04
[2025-01-07 02:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:51:04] Production.INFO: Date 2025-01-05
[2025-01-07 02:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:51:04] Production.INFO: Date 2025-01-06
[2025-01-07 02:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:51:04] Production.INFO: Date 2025-01-07
[2025-01-07 02:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:51:04] Production.INFO: Total Charge 0
[2025-01-07 02:51:04] Production.INFO: CreateAllLog End
[2025-01-07 02:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:51:04
[end_date_ymd] => 2025-01-07 02:51:04
[RateCDR] => 1
)
[2025-01-07 02: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-06 23:51:04' and `end` < '2025-01-07 02: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-07 02:51:04] Production.INFO: Account Balance End.
[2025-01-07 02:51:04] Production.ERROR: CronJobId end 12
[2025-01-07 02:51:04] Production.INFO: ==24922== Releasing lock...
[2025-01-07 02:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:51:10] Production.ERROR: CronJobId end10
[2025-01-07 02:51:10] Production.INFO: ==24920== Releasing lock...
[2025-01-07 02:51:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:51:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:51:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:51:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:51:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:51:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:51:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:51:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:51:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:51:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:51:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:51:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:51:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:51:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:51:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:51:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:51:13] Production.INFO: call_cost start
[2025-01-07 02:51:13] Production.INFO: call_cost end
[2025-01-07 02:51:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:51:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:51:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:51:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:51:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:51:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:51:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:51:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:51:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:51:13] Production.INFO: ==24916== Releasing lock...
[2025-01-07 02:51:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:51:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:51:18] Production.INFO: count ==244
[2025-01-07 02:51:18] Production.ERROR: pbx CDR StartTime 2025-01-06 23:51:04 - End Time 2025-01-07 02:51:04
[2025-01-07 02:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191956', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191956', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191956', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191956', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:51:18] Production.INFO: ProcessCDR(1,14191956,1,1,2)
[2025-01-07 02:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191956,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191956,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191956,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191956,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191956', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191956', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:51:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:51:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:51:21] Production.INFO: ==24924== Releasing lock...
[2025-01-07 02:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:51:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:52:01] Production.INFO: ==24984== Lock acquired, processing the job...
[2025-01-07 07:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:52:01] Production.INFO: neon service started
[2025-01-07 07:52:01] Production.INFO: neon service started
[2025-01-07 07:52:01] Production.INFO: ==24984== Releasing lock...
[2025-01-07 07:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:52:02] Production.INFO: ==24988== Lock acquired, processing the job...
[2025-01-07 07:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:52:02] Production.INFO: ==24988== Releasing lock...
[2025-01-07 07:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:52:02] Production.INFO: ==24986== Lock acquired, processing the job...
[2025-01-07 02:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:52:02] Production.INFO: ==24986== Releasing lock...
[2025-01-07 02:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:52:03] Production.INFO: ==24990== Lock acquired, processing the job...
[2025-01-07 02:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:52:03] Production.INFO: ==24992== Lock acquired, processing the job...
[2025-01-07 02:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:52:03] Production.INFO: ==24996== Lock acquired, processing the job...
[2025-01-07 02:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:52:03] Production.INFO: Account Balance Start.
[2025-01-07 02:52:03] Production.INFO: CreateAllLog Start
[2025-01-07 02:52:03] Production.INFO: 117
[2025-01-07 02:52:03] Production.INFO: Date 2024-12-08
[2025-01-07 02:52:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:52:03] Production.INFO: ==24994== Lock acquired, processing the job...
[2025-01-07 02:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:52:03] Production.INFO: Date 2024-12-09
[2025-01-07 02:52:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:52:03] Production.INFO: ==24992== Releasing lock...
[2025-01-07 02:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:52:03] Production.INFO: Date 2024-12-10
[2025-01-07 02:52:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:52:03] Production.INFO: ==24998== Lock acquired, processing the job...
[2025-01-07 02:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:52:03] Production.INFO: ==25000== Lock acquired, processing the job...
[2025-01-07 02:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:52:03] Production.INFO: Date 2024-12-11
[2025-01-07 02:52:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:52:03] Production.INFO: Date 2024-12-12
[2025-01-07 02:52:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:52:03] Production.INFO: Date 2024-12-13
[2025-01-07 02:52:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:52:03] Production.INFO: Date 2024-12-14
[2025-01-07 02:52:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 02:52:03] Production.INFO: Date 2024-12-15
[2025-01-07 02:52:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:52:03] Production.INFO: Date 2024-12-16
[2025-01-07 02:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:52:04] Production.INFO: count ==21
[2025-01-07 02:52:04] Production.INFO: Date 2024-12-17
[2025-01-07 02:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:52:04] Production.INFO: count ==21
[2025-01-07 02:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191960') start
[2025-01-07 02:52:04] Production.ERROR: done
[2025-01-07 02:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:52:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:52:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:52:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:52:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191960') end
[2025-01-07 02:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:52:04] Production.INFO: 1
[2025-01-07 02:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:52:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:52:04] Production.ERROR: done
[2025-01-07 02:52:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:52:04] Production.INFO: ==25000== Releasing lock...
[2025-01-07 02:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:52:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:52:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:52:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:52:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:52:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:52:04] Production.INFO: Date 2024-12-29
[2025-01-07 02:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:52:04] Production.INFO: Date 2024-12-30
[2025-01-07 02:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:52:04] Production.INFO: Date 2024-12-31
[2025-01-07 02:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:52:04] Production.INFO: Date 2025-01-01
[2025-01-07 02:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:52:04] Production.INFO: Date 2025-01-02
[2025-01-07 02:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:52:04] Production.INFO: Date 2025-01-03
[2025-01-07 02:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:52:04] Production.INFO: Date 2025-01-04
[2025-01-07 02:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:52:04] Production.INFO: Date 2025-01-05
[2025-01-07 02:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:52:04] Production.INFO: Date 2025-01-06
[2025-01-07 02:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:52:04] Production.INFO: Date 2025-01-07
[2025-01-07 02:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:52:04] Production.INFO: Total Charge 0
[2025-01-07 02:52:04] Production.INFO: CreateAllLog End
[2025-01-07 02:52:05] Production.INFO: Account Balance End.
[2025-01-07 02:52:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:52:05] Production.INFO: ==24996== Releasing lock...
[2025-01-07 02:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:52:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:52:05
[end_date_ymd] => 2025-01-07 02:52:05
[RateCDR] => 1
)
[2025-01-07 02:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 23:52:05' and `end` < '2025-01-07 02:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 02:52:11] Production.ERROR: CronJobId end10
[2025-01-07 02:52:11] Production.INFO: ==24994== Releasing lock...
[2025-01-07 02:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:52:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:52:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:52:13] Production.INFO: call_cost start
[2025-01-07 02:52:13] Production.INFO: call_cost end
[2025-01-07 02:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:52:14] Production.INFO: ==24990== Releasing lock...
[2025-01-07 02:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:52:17] Production.INFO: count ==244
[2025-01-07 02:52:17] Production.ERROR: pbx CDR StartTime 2025-01-06 23:52:05 - End Time 2025-01-07 02:52:05
[2025-01-07 02:52:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191961', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191961', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191961', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191961', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:52:18] Production.INFO: ProcessCDR(1,14191961,1,1,2)
[2025-01-07 02:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191961,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:52:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191961,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:52:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191961,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191961,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191961', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191961', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:52:21] Production.INFO: ==24998== Releasing lock...
[2025-01-07 02:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:52:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:53:01] Production.INFO: ==25054== Lock acquired, processing the job...
[2025-01-07 07:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:53:01] Production.INFO: neon service started
[2025-01-07 07:53:01] Production.INFO: neon service started
[2025-01-07 07:53:01] Production.INFO: ==25054== Releasing lock...
[2025-01-07 07:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:53:01] Production.INFO: ==25056== Lock acquired, processing the job...
[2025-01-07 02:53:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:53:01] Production.INFO: ==25056== Releasing lock...
[2025-01-07 02:53:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:53:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:53:01] Production.INFO: ==25058== Lock acquired, processing the job...
[2025-01-07 07:53:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:53:02] Production.INFO: ==25058== Releasing lock...
[2025-01-07 07:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:53:02] Production.INFO: ==25068== Lock acquired, processing the job...
[2025-01-07 02:53:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:53:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:53:02] Production.INFO: ==25060== Lock acquired, processing the job...
[2025-01-07 02:53:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:53:02] Production.INFO: ==25070== Lock acquired, processing the job...
[2025-01-07 02:53:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:53:02] Production.INFO: ==25062== Lock acquired, processing the job...
[2025-01-07 02:53:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:53:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:53:02] Production.INFO: ==25064== Lock acquired, processing the job...
[2025-01-07 02:53:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:53:03] Production.INFO: ==25066== Lock acquired, processing the job...
[2025-01-07 02:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 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-07 02:53:03] Production.ERROR: done
[2025-01-07 02:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:53:03] Production.INFO: Account Balance Start.
[2025-01-07 02:53:03] Production.INFO: CreateAllLog Start
[2025-01-07 02:53:03] Production.INFO: 117
[2025-01-07 02:53:03] Production.INFO: count ==21
[2025-01-07 02:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:53:03] Production.INFO: count ==21
[2025-01-07 02:53:03] Production.INFO: Date 2024-12-08
[2025-01-07 02:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191963') start
[2025-01-07 02:53:03] Production.INFO: Date 2024-12-09
[2025-01-07 02:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:53:03] Production.INFO: Date 2024-12-10
[2025-01-07 02:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:53:03] Production.INFO: Date 2024-12-11
[2025-01-07 02:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:53:03] Production.ERROR: done
[2025-01-07 02:53:03] Production.INFO: Date 2024-12-12
[2025-01-07 02:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:53:03] Production.INFO: Date 2024-12-13
[2025-01-07 02:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:53:03] Production.INFO: ==25062== Releasing lock...
[2025-01-07 02:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191963') end
[2025-01-07 02:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:53:03] Production.INFO: 1
[2025-01-07 02:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:53:03] Production.INFO: ==25070== Releasing lock...
[2025-01-07 02:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:53:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:53:03] Production.INFO: Date 2024-12-14
[2025-01-07 02:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:53:03] Production.INFO: Date 2024-12-15
[2025-01-07 02:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:53:03] Production.INFO: Date 2024-12-16
[2025-01-07 02:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:53:03] Production.INFO: Date 2024-12-17
[2025-01-07 02:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:53:03] Production.INFO: Date 2024-12-18
[2025-01-07 02:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:53:03] Production.INFO: Date 2024-12-19
[2025-01-07 02:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:53:03] Production.INFO: Date 2024-12-20
[2025-01-07 02:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:53:03] Production.INFO: Date 2024-12-21
[2025-01-07 02:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:53:03] Production.INFO: Date 2024-12-22
[2025-01-07 02:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:53:03] Production.INFO: Date 2024-12-23
[2025-01-07 02:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:53:03] Production.INFO: Date 2024-12-24
[2025-01-07 02:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:53:03] Production.INFO: Date 2024-12-25
[2025-01-07 02:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:53:03] Production.INFO: Date 2024-12-26
[2025-01-07 02:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:53:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:53:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:53:04] Production.INFO: Date 2024-12-29
[2025-01-07 02:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:53:04] Production.INFO: Date 2024-12-30
[2025-01-07 02:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:53:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:53:04
[end_date_ymd] => 2025-01-07 02:53:04
[RateCDR] => 1
)
[2025-01-07 02:53:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 23:53:04' and `end` < '2025-01-07 02:53:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 02:53:04] Production.INFO: Date 2024-12-31
[2025-01-07 02:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:53:04] Production.INFO: Date 2025-01-01
[2025-01-07 02:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:53:04] Production.INFO: Date 2025-01-02
[2025-01-07 02:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:53:04] Production.INFO: Date 2025-01-03
[2025-01-07 02:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:53:04] Production.INFO: Date 2025-01-04
[2025-01-07 02:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:53:04] Production.INFO: Date 2025-01-05
[2025-01-07 02:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:53:04] Production.INFO: Date 2025-01-06
[2025-01-07 02:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:53:04] Production.INFO: Date 2025-01-07
[2025-01-07 02:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:53:04] Production.INFO: Total Charge 0
[2025-01-07 02:53:04] Production.INFO: CreateAllLog End
[2025-01-07 02:53:04] Production.INFO: Account Balance End.
[2025-01-07 02:53:04] Production.ERROR: CronJobId end 12
[2025-01-07 02:53:04] Production.INFO: ==25066== Releasing lock...
[2025-01-07 02:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:53:10] Production.ERROR: CronJobId end10
[2025-01-07 02:53:10] Production.INFO: ==25064== Releasing lock...
[2025-01-07 02:53:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:53:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:53:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:53:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:53:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:53:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:53:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:53:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:53:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:53:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:53:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:53:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:53:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:53:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:53:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:53:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:53:12] Production.INFO: call_cost start
[2025-01-07 02:53:12] Production.INFO: call_cost end
[2025-01-07 02:53:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:53:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:53:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:53:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:53:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:53:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:53:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:53:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:53:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:53:13] Production.INFO: ==25060== Releasing lock...
[2025-01-07 02:53:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:53:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:53:17] Production.INFO: count ==244
[2025-01-07 02:53:17] Production.ERROR: pbx CDR StartTime 2025-01-06 23:53:04 - End Time 2025-01-07 02:53:04
[2025-01-07 02:53:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191966', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191966', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191966', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191966', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:53:17] Production.INFO: ProcessCDR(1,14191966,1,1,2)
[2025-01-07 02:53:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191966,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:53:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191966,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:53:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191966,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:53:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191966,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:53:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191966', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:53:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191966', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:53:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:53:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:53:20] Production.INFO: ==25068== Releasing lock...
[2025-01-07 02:53:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:53:20] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:54:01] Production.INFO: ==25127== Lock acquired, processing the job...
[2025-01-07 07:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:54:01] Production.INFO: neon service started
[2025-01-07 07:54:01] Production.INFO: neon service started
[2025-01-07 07:54:01] Production.INFO: ==25127== Releasing lock...
[2025-01-07 07:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:54:02] Production.INFO: ==25129== Lock acquired, processing the job...
[2025-01-07 02:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:54:02] Production.INFO: ==25129== Releasing lock...
[2025-01-07 02:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:54:02] Production.INFO: ==25131== Lock acquired, processing the job...
[2025-01-07 07:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:54:02] Production.INFO: ==25131== Releasing lock...
[2025-01-07 07:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:54:03] Production.INFO: ==25133== Lock acquired, processing the job...
[2025-01-07 02:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:54:03] Production.INFO: ==25141== Lock acquired, processing the job...
[2025-01-07 02:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:54:03] Production.INFO: ==25143== Lock acquired, processing the job...
[2025-01-07 02:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:54:03] Production.INFO: ==25135== Lock acquired, processing the job...
[2025-01-07 02:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:54:03] Production.INFO: ==25139== Lock acquired, processing the job...
[2025-01-07 02:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 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-07 02:54:03] Production.INFO: ==25137== Lock acquired, processing the job...
[2025-01-07 02:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:54:03] Production.INFO: count ==21
[2025-01-07 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-07 02:54:03] Production.INFO: count ==21
[2025-01-07 02:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191968') start
[2025-01-07 02:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:54:03] Production.INFO: Account Balance Start.
[2025-01-07 02:54:03] Production.INFO: CreateAllLog Start
[2025-01-07 02:54:03] Production.INFO: 117
[2025-01-07 02:54:03] Production.INFO: Date 2024-12-08
[2025-01-07 02:54:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191968') end
[2025-01-07 02:54:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:54:03] Production.INFO: 1
[2025-01-07 02:54:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:54:03] Production.ERROR: done
[2025-01-07 02:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:54:03] Production.INFO: Date 2024-12-09
[2025-01-07 02:54:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:54:03] Production.INFO: Date 2024-12-10
[2025-01-07 02:54:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:54:03] Production.INFO: ==25143== Releasing lock...
[2025-01-07 02:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:54:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:54:03] Production.INFO: ==25135== Releasing lock...
[2025-01-07 02:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:54:03] Production.ERROR: done
[2025-01-07 02:54:03] Production.INFO: Date 2024-12-11
[2025-01-07 02:54:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:54:03] Production.INFO: Date 2024-12-12
[2025-01-07 02:54:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:54:03] Production.INFO: Date 2024-12-13
[2025-01-07 02:54:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:54:04] Production.INFO: Date 2024-12-14
[2025-01-07 02:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:54:04] Production.INFO: Date 2024-12-15
[2025-01-07 02:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:54:04] Production.INFO: Date 2024-12-16
[2025-01-07 02:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:54:04] Production.INFO: Date 2024-12-17
[2025-01-07 02:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:54:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:54:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:54:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:54:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:54:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:54:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:54:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:54:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:54:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:54:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:54:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:54:04] Production.INFO: Date 2024-12-29
[2025-01-07 02:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:54:04] Production.INFO: Date 2024-12-30
[2025-01-07 02:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:54:04] Production.INFO: Date 2024-12-31
[2025-01-07 02:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:54:04] Production.INFO: Date 2025-01-01
[2025-01-07 02:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:54:04] Production.INFO: Date 2025-01-02
[2025-01-07 02:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:54:04] Production.INFO: Date 2025-01-03
[2025-01-07 02:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:54:04] Production.INFO: Date 2025-01-04
[2025-01-07 02:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:54:04] Production.INFO: Date 2025-01-05
[2025-01-07 02:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:54:04] Production.INFO: Date 2025-01-06
[2025-01-07 02:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:54:04] Production.INFO: Date 2025-01-07
[2025-01-07 02:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:54:04] Production.INFO: Total Charge 0
[2025-01-07 02:54:04] Production.INFO: CreateAllLog End
[2025-01-07 02:54:04] Production.INFO: Account Balance End.
[2025-01-07 02:54:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:54:05] Production.INFO: ==25139== Releasing lock...
[2025-01-07 02:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:54:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:54:05
[end_date_ymd] => 2025-01-07 02:54:05
[RateCDR] => 1
)
[2025-01-07 02:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-06 23:54:05' and `end` < '2025-01-07 02:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 02:54:11] Production.ERROR: CronJobId end10
[2025-01-07 02:54:11] Production.INFO: ==25137== Releasing lock...
[2025-01-07 02:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:54:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:54:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:54:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:54:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:54:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:54:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:54:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:54:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:54:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:54:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:54:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:54:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:54:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:54:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:54:12] Production.INFO: call_cost start
[2025-01-07 02:54:12] Production.INFO: call_cost end
[2025-01-07 02:54:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:54:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:54:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:54:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:54:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:54:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:54:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:54:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:54:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:54:13] Production.INFO: ==25133== Releasing lock...
[2025-01-07 02:54:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:54:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:54:18] Production.INFO: count ==244
[2025-01-07 02:54:18] Production.ERROR: pbx CDR StartTime 2025-01-06 23:54:05 - End Time 2025-01-07 02:54:05
[2025-01-07 02:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191971', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191971', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191971', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191971', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:54:18] Production.INFO: ProcessCDR(1,14191971,1,1,2)
[2025-01-07 02:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191971,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191971,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191971,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191971,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191971', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191971', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:54:21] Production.INFO: ==25141== Releasing lock...
[2025-01-07 02:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:54:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:55:02] Production.INFO: ==25204== Lock acquired, processing the job...
[2025-01-07 07:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:55:02] Production.INFO: neon service started
[2025-01-07 07:55:02] Production.INFO: neon service started
[2025-01-07 07:55:02] Production.INFO: ==25204== Releasing lock...
[2025-01-07 07:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:55:02] Production.INFO: ==25207== Lock acquired, processing the job...
[2025-01-07 02:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:55:02] Production.INFO: ==25207== Releasing lock...
[2025-01-07 02:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:55:02] Production.INFO: ==25209== Lock acquired, processing the job...
[2025-01-07 07:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:55:02] Production.INFO: ==25209== Releasing lock...
[2025-01-07 07:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:55:03] Production.INFO: ==25217== Lock acquired, processing the job...
[2025-01-07 02:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:55:03] Production.INFO: ==25221== Lock acquired, processing the job...
[2025-01-07 02:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:55:03] Production.INFO: Account Balance Start.
[2025-01-07 02:55:03] Production.INFO: CreateAllLog Start
[2025-01-07 02:55:03] Production.INFO: 117
[2025-01-07 02:55:03] Production.INFO: Date 2024-12-08
[2025-01-07 02:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 02:55:03] Production.INFO: count ==21
[2025-01-07 02:55:03] Production.INFO: ==25211== Lock acquired, processing the job...
[2025-01-07 02:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 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-07 02:55:03] Production.INFO: count ==21
[2025-01-07 02:55:03] Production.INFO: ==25213== Lock acquired, processing the job...
[2025-01-07 02:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191973') start
[2025-01-07 02:55:03] Production.INFO: Date 2024-12-09
[2025-01-07 02:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:55:03] Production.INFO: ==25215== Lock acquired, processing the job...
[2025-01-07 02:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:55:03] Production.INFO: Date 2024-12-10
[2025-01-07 02:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:55:03] Production.INFO: Date 2024-12-11
[2025-01-07 02:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:55:03] Production.INFO: Date 2024-12-12
[2025-01-07 02:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:55:03] Production.INFO: ==25219== Lock acquired, processing the job...
[2025-01-07 02:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191973') end
[2025-01-07 02:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:55:03] Production.INFO: 1
[2025-01-07 02:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:55:03] Production.INFO: ==25221== Releasing lock...
[2025-01-07 02:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:55:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:55:04] Production.INFO: Date 2024-12-13
[2025-01-07 02:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:55:04] Production.INFO: Date 2024-12-14
[2025-01-07 02:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:55:04] Production.INFO: Date 2024-12-15
[2025-01-07 02:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:55:04] Production.INFO: Date 2024-12-16
[2025-01-07 02:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:55:04] Production.INFO: Date 2024-12-17
[2025-01-07 02:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:55:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:55:04] Production.INFO: ==25213== Releasing lock...
[2025-01-07 02:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:55:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:55:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:55:04] Production.ERROR: done
[2025-01-07 02:55:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:55:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:55:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:55:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:55:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:55:04] Production.ERROR: done
[2025-01-07 02:55:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:55:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:55:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:55:04] Production.INFO: Date 2024-12-29
[2025-01-07 02:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:55:04] Production.INFO: Date 2024-12-30
[2025-01-07 02:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:55:04] Production.INFO: Date 2024-12-31
[2025-01-07 02:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:55:05] Production.INFO: Date 2025-01-01
[2025-01-07 02:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:55:05] Production.INFO: Date 2025-01-02
[2025-01-07 02:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:55:05] Production.INFO: Date 2025-01-03
[2025-01-07 02:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:55:05] Production.INFO: Date 2025-01-04
[2025-01-07 02:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:55:05] Production.INFO: Date 2025-01-05
[2025-01-07 02:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:55:05] Production.INFO: Date 2025-01-06
[2025-01-07 02:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:55:05] Production.INFO: Date 2025-01-07
[2025-01-07 02:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:55:05] Production.INFO: Total Charge 0
[2025-01-07 02:55:05] Production.INFO: CreateAllLog End
[2025-01-07 02:55:05] Production.INFO: Account Balance End.
[2025-01-07 02:55:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:55:05] Production.INFO: ==25217== Releasing lock...
[2025-01-07 02:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:55:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:55:05
[end_date_ymd] => 2025-01-07 02:55:05
[RateCDR] => 1
)
[2025-01-07 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-06 23:55:05' and `end` < '2025-01-07 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-07 02:55:11] Production.ERROR: CronJobId end10
[2025-01-07 02:55:11] Production.INFO: ==25215== Releasing lock...
[2025-01-07 02:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:55:13] Production.INFO: call_cost start
[2025-01-07 02:55:13] Production.INFO: call_cost end
[2025-01-07 02:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:55:14] Production.INFO: ==25211== Releasing lock...
[2025-01-07 02:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:55:18] Production.INFO: count ==244
[2025-01-07 02:55:18] Production.ERROR: pbx CDR StartTime 2025-01-06 23:55:05 - End Time 2025-01-07 02:55:05
[2025-01-07 02:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191976', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191976', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191976', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191976', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:55:18] Production.INFO: ProcessCDR(1,14191976,1,1,2)
[2025-01-07 02:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191976,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191976,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191976,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191976,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191976', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191976', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:55:21] Production.INFO: ==25219== Releasing lock...
[2025-01-07 02:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:55:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:56:01] Production.INFO: ==25277== Lock acquired, processing the job...
[2025-01-07 07:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:56:01] Production.INFO: neon service started
[2025-01-07 07:56:01] Production.INFO: neon service started
[2025-01-07 07:56:01] Production.INFO: ==25277== Releasing lock...
[2025-01-07 07:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:56:01] Production.INFO: ==25281== Lock acquired, processing the job...
[2025-01-07 07:56:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:56:01] Production.INFO: ==25281== Releasing lock...
[2025-01-07 07:56:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:56:01] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:56:01] Production.INFO: ==25279== Lock acquired, processing the job...
[2025-01-07 02:56:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:56:02] Production.INFO: ==25279== Releasing lock...
[2025-01-07 02:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:56:03] Production.INFO: ==25290== Lock acquired, processing the job...
[2025-01-07 02:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:56:03] Production.INFO: ==25284== Lock acquired, processing the job...
[2025-01-07 02:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:56:03] Production.INFO: ==25292== Lock acquired, processing the job...
[2025-01-07 02:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:56:03] Production.INFO: ==25286== Lock acquired, processing the job...
[2025-01-07 02:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:56:03] Production.INFO: Account Balance Start.
[2025-01-07 02:56:03] Production.INFO: CreateAllLog Start
[2025-01-07 02:56:03] Production.INFO: 117
[2025-01-07 02:56:03] Production.INFO: ==25288== Lock acquired, processing the job...
[2025-01-07 02:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:56:03] Production.INFO: ==25294== Lock acquired, processing the job...
[2025-01-07 02:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:56:03] Production.INFO: Date 2024-12-08
[2025-01-07 02:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:56:03] Production.INFO: Date 2024-12-09
[2025-01-07 02:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:56:03] Production.ERROR: done
[2025-01-07 02:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:56:03] Production.INFO: ==25286== Releasing lock...
[2025-01-07 02:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:56:03] Production.INFO: Date 2024-12-10
[2025-01-07 02:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:56:03] Production.INFO: count ==21
[2025-01-07 02:56:03] Production.INFO: Date 2024-12-11
[2025-01-07 02:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 02:56:03] Production.INFO: count ==21
[2025-01-07 02:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191980') start
[2025-01-07 02:56:03] Production.ERROR: done
[2025-01-07 02:56:03] Production.INFO: Date 2024-12-12
[2025-01-07 02:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:56:03] Production.INFO: Date 2024-12-13
[2025-01-07 02:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:56:03] Production.INFO: Date 2024-12-14
[2025-01-07 02:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191980') end
[2025-01-07 02:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:56:03] Production.INFO: 1
[2025-01-07 02:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:56:03] Production.INFO: ==25294== Releasing lock...
[2025-01-07 02:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:56:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:56:03] Production.INFO: Date 2024-12-15
[2025-01-07 02:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:56:03] Production.INFO: Date 2024-12-16
[2025-01-07 02:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:56:03] Production.INFO: Date 2024-12-17
[2025-01-07 02:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:56:03] Production.INFO: Date 2024-12-18
[2025-01-07 02:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:56:03] Production.INFO: Date 2024-12-19
[2025-01-07 02:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:56:03] Production.INFO: Date 2024-12-20
[2025-01-07 02:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:56:03] Production.INFO: Date 2024-12-21
[2025-01-07 02:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:56:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:56:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:56:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:56:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:56:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:56:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:56:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:56:04] Production.INFO: Date 2024-12-29
[2025-01-07 02:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:56:04] Production.INFO: Date 2024-12-30
[2025-01-07 02:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:56:04] Production.INFO: Date 2024-12-31
[2025-01-07 02:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:56:04] Production.INFO: Date 2025-01-01
[2025-01-07 02:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:56:04] Production.INFO: Date 2025-01-02
[2025-01-07 02:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:56:04] Production.INFO: Date 2025-01-03
[2025-01-07 02:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:56:04] Production.INFO: Date 2025-01-04
[2025-01-07 02:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:56:04] Production.INFO: Date 2025-01-05
[2025-01-07 02:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:56:04] Production.INFO: Date 2025-01-06
[2025-01-07 02:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:56:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:56:04
[end_date_ymd] => 2025-01-07 02:56:04
[RateCDR] => 1
)
[2025-01-07 02: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-06 23:56:04' and `end` < '2025-01-07 02: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-07 02:56:04] Production.INFO: Date 2025-01-07
[2025-01-07 02:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:56:04] Production.INFO: Total Charge 0
[2025-01-07 02:56:04] Production.INFO: CreateAllLog End
[2025-01-07 02:56:04] Production.INFO: Account Balance End.
[2025-01-07 02:56:04] Production.ERROR: CronJobId end 12
[2025-01-07 02:56:04] Production.INFO: ==25290== Releasing lock...
[2025-01-07 02:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:56:10] Production.ERROR: CronJobId end10
[2025-01-07 02:56:10] Production.INFO: ==25288== Releasing lock...
[2025-01-07 02:56:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:56:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:56:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:56:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:56:13] Production.INFO: call_cost start
[2025-01-07 02:56:13] Production.INFO: call_cost end
[2025-01-07 02:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:56:14] Production.INFO: ==25284== Releasing lock...
[2025-01-07 02:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:56:17] Production.INFO: count ==244
[2025-01-07 02:56:17] Production.ERROR: pbx CDR StartTime 2025-01-06 23:56:04 - End Time 2025-01-07 02:56:04
[2025-01-07 02:56:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191981', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191981', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191981', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191981', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:56:17] Production.INFO: ProcessCDR(1,14191981,1,1,2)
[2025-01-07 02:56:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191981,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:56:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191981,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:56:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191981,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:56:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191981,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:56:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191981', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:56:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191981', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:56:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:56:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:56:20] Production.INFO: ==25292== Releasing lock...
[2025-01-07 02:56:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:56:20] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:57:01] Production.INFO: ==25390== Lock acquired, processing the job...
[2025-01-07 07:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:57:01] Production.INFO: neon service started
[2025-01-07 07:57:01] Production.INFO: neon service started
[2025-01-07 07:57:01] Production.INFO: ==25390== Releasing lock...
[2025-01-07 07:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:57:02] Production.INFO: ==25392== Lock acquired, processing the job...
[2025-01-07 02:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:57:02] Production.INFO: ==25394== Lock acquired, processing the job...
[2025-01-07 07:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:57:02] Production.INFO: ==25394== Releasing lock...
[2025-01-07 07:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:57:02] Production.INFO: ==25392== Releasing lock...
[2025-01-07 02:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 02:57:03] Production.INFO: ==25399== Lock acquired, processing the job...
[2025-01-07 02:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:57:03] Production.INFO: ==25403== Lock acquired, processing the job...
[2025-01-07 02:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:57:03] Production.INFO: ==25405== Lock acquired, processing the job...
[2025-01-07 02:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:57:03] Production.INFO: Account Balance Start.
[2025-01-07 02:57:03] Production.INFO: CreateAllLog Start
[2025-01-07 02:57:03] Production.INFO: 117
[2025-01-07 02:57:03] Production.INFO: Date 2024-12-08
[2025-01-07 02:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:57:03] Production.INFO: ==25397== Lock acquired, processing the job...
[2025-01-07 02:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:57:03] Production.INFO: Date 2024-12-09
[2025-01-07 02:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:57:03] Production.INFO: ==25401== Lock acquired, processing the job...
[2025-01-07 02:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:57:03] Production.INFO: ==25407== Lock acquired, processing the job...
[2025-01-07 02:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:57:03] Production.INFO: ==25399== Releasing lock...
[2025-01-07 02:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:57:03] Production.INFO: Date 2024-12-10
[2025-01-07 02:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:57:03] Production.INFO: Date 2024-12-11
[2025-01-07 02:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:57:03] Production.INFO: Date 2024-12-12
[2025-01-07 02:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 02:57:03] Production.INFO: count ==21
[2025-01-07 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-07 02:57:03] Production.INFO: Date 2024-12-13
[2025-01-07 02:57:03] Production.INFO: count ==21
[2025-01-07 02:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191985') start
[2025-01-07 02:57:04] Production.INFO: Date 2024-12-14
[2025-01-07 02:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:57:04] Production.INFO: Date 2024-12-15
[2025-01-07 02:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:57:04] Production.ERROR: done
[2025-01-07 02:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191985') end
[2025-01-07 02:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:57:04] Production.INFO: 1
[2025-01-07 02:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:57:04] Production.INFO: Date 2024-12-16
[2025-01-07 02:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:57:04] Production.INFO: Date 2024-12-17
[2025-01-07 02:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:57:04] Production.INFO: ==25407== Releasing lock...
[2025-01-07 02:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:57:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:57:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:57:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:57:04] Production.ERROR: done
[2025-01-07 02:57:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:57:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:57:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:57:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:57:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:57:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:57:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:57:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:57:04] Production.INFO: Date 2024-12-29
[2025-01-07 02:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:57:04] Production.INFO: Date 2024-12-30
[2025-01-07 02:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:57:04] Production.INFO: Date 2024-12-31
[2025-01-07 02:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:57:04] Production.INFO: Date 2025-01-01
[2025-01-07 02:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:57:04] Production.INFO: Date 2025-01-02
[2025-01-07 02:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:57:04] Production.INFO: Date 2025-01-03
[2025-01-07 02:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:57:04] Production.INFO: Date 2025-01-04
[2025-01-07 02:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:57:04] Production.INFO: Date 2025-01-05
[2025-01-07 02:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:57:04] Production.INFO: Date 2025-01-06
[2025-01-07 02:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:57:04] Production.INFO: Date 2025-01-07
[2025-01-07 02:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:57:04] Production.INFO: Total Charge 0
[2025-01-07 02:57:04] Production.INFO: CreateAllLog End
[2025-01-07 02:57:04] Production.INFO: Account Balance End.
[2025-01-07 02:57:04] Production.ERROR: CronJobId end 12
[2025-01-07 02:57:04] Production.INFO: ==25403== Releasing lock...
[2025-01-07 02:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:57:05
[end_date_ymd] => 2025-01-07 02:57:05
[RateCDR] => 1
)
[2025-01-07 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-06 23:57:05' and `end` < '2025-01-07 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-07 02:57:10] Production.ERROR: CronJobId end10
[2025-01-07 02:57:10] Production.INFO: ==25401== Releasing lock...
[2025-01-07 02:57:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:57:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:57:12] Production.INFO: call_cost start
[2025-01-07 02:57:12] Production.INFO: call_cost end
[2025-01-07 02:57:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:57:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:57:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:57:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:57:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:57:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:57:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:57:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:57:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:57:13] Production.INFO: ==25397== Releasing lock...
[2025-01-07 02:57:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:57:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:57:18] Production.INFO: count ==244
[2025-01-07 02:57:18] Production.ERROR: pbx CDR StartTime 2025-01-06 23:57:05 - End Time 2025-01-07 02:57:05
[2025-01-07 02:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191986', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191986', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191986', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191986', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:57:18] Production.INFO: ProcessCDR(1,14191986,1,1,2)
[2025-01-07 02:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191986,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191986,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191986,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191986,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191986', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191986', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:57:21] Production.INFO: ==25405== Releasing lock...
[2025-01-07 02:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:57:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:58:02] Production.INFO: ==25470== Lock acquired, processing the job...
[2025-01-07 07:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:58:02] Production.INFO: neon service started
[2025-01-07 07:58:02] Production.INFO: neon service started
[2025-01-07 07:58:02] Production.INFO: ==25470== Releasing lock...
[2025-01-07 07:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:58:02] Production.INFO: ==25472== Lock acquired, processing the job...
[2025-01-07 02:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:58:02] Production.INFO: ==25472== Releasing lock...
[2025-01-07 02:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:58:02] Production.INFO: ==25474== Lock acquired, processing the job...
[2025-01-07 07:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:58:03] Production.INFO: ==25474== Releasing lock...
[2025-01-07 07:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:58:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:58:03] Production.INFO: ==25482== Lock acquired, processing the job...
[2025-01-07 02:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:58:03] Production.INFO: ==25486== Lock acquired, processing the job...
[2025-01-07 02:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:58:03] Production.INFO: Account Balance Start.
[2025-01-07 02:58:03] Production.INFO: CreateAllLog Start
[2025-01-07 02:58:03] Production.INFO: 117
[2025-01-07 02:58:03] Production.INFO: Date 2024-12-08
[2025-01-07 02:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:58:03] Production.INFO: Date 2024-12-09
[2025-01-07 02:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:58:03] Production.INFO: Date 2024-12-10
[2025-01-07 02:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 02:58:03] Production.INFO: Date 2024-12-11
[2025-01-07 02:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:58:03] Production.INFO: count ==21
[2025-01-07 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-07 02:58:03] Production.INFO: count ==21
[2025-01-07 02:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191988') start
[2025-01-07 02:58:03] Production.INFO: ==25476== Lock acquired, processing the job...
[2025-01-07 02:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:58:03] Production.INFO: Date 2024-12-12
[2025-01-07 02:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:58:03] Production.INFO: ==25478== Lock acquired, processing the job...
[2025-01-07 02:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:58:03] Production.INFO: Date 2024-12-13
[2025-01-07 02:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:58:03] Production.INFO: ==25480== Lock acquired, processing the job...
[2025-01-07 02:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:58:03] Production.INFO: ==25484== Lock acquired, processing the job...
[2025-01-07 02:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:58:03] Production.INFO: Date 2024-12-14
[2025-01-07 02:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:58:04] Production.INFO: Date 2024-12-15
[2025-01-07 02:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191988') end
[2025-01-07 02:58:04] Production.INFO: Date 2024-12-16
[2025-01-07 02:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:58:04] Production.INFO: 1
[2025-01-07 02:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:58:04] Production.INFO: ==25486== Releasing lock...
[2025-01-07 02:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:58:04] Production.INFO: Date 2024-12-17
[2025-01-07 02:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:58:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:58:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:58:04] Production.INFO: ==25478== Releasing lock...
[2025-01-07 02:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:58:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:58:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:58:04] Production.ERROR: done
[2025-01-07 02:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:58:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:58:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:58:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:58:04] Production.ERROR: done
[2025-01-07 02:58:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:58:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:58:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:58:04] Production.INFO: Date 2024-12-28
[2025-01-07 02:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:58:04] Production.INFO: Date 2024-12-29
[2025-01-07 02:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:58:04] Production.INFO: Date 2024-12-30
[2025-01-07 02:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:58:04] Production.INFO: Date 2024-12-31
[2025-01-07 02:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:58:04] Production.INFO: Date 2025-01-01
[2025-01-07 02:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:58:04] Production.INFO: Date 2025-01-02
[2025-01-07 02:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:58:04] Production.INFO: Date 2025-01-03
[2025-01-07 02:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:58:04] Production.INFO: Date 2025-01-04
[2025-01-07 02:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:58:04] Production.INFO: Date 2025-01-05
[2025-01-07 02:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:58:04] Production.INFO: Date 2025-01-06
[2025-01-07 02:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:58:04] Production.INFO: Date 2025-01-07
[2025-01-07 02:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:58:04] Production.INFO: Total Charge 0
[2025-01-07 02:58:05] Production.INFO: CreateAllLog End
[2025-01-07 02:58:05] Production.INFO: Account Balance End.
[2025-01-07 02:58:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:58:05] Production.INFO: ==25482== Releasing lock...
[2025-01-07 02:58:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:58:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:58:05
[end_date_ymd] => 2025-01-07 02:58:05
[RateCDR] => 1
)
[2025-01-07 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-06 23:58:05' and `end` < '2025-01-07 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-07 02:58:12] Production.ERROR: CronJobId end10
[2025-01-07 02:58:12] Production.INFO: ==25480== Releasing lock...
[2025-01-07 02:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:58:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:58:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:58:14] Production.INFO: call_cost start
[2025-01-07 02:58:14] Production.INFO: call_cost end
[2025-01-07 02:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:58:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:58:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:58:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:58:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:58:15] Production.INFO: ==25476== Releasing lock...
[2025-01-07 02:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:58:19] Production.INFO: count ==244
[2025-01-07 02:58:19] Production.ERROR: pbx CDR StartTime 2025-01-06 23:58:05 - End Time 2025-01-07 02:58:05
[2025-01-07 02:58:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191991', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191991', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191991', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191991', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:58:19] Production.INFO: ProcessCDR(1,14191991,1,1,2)
[2025-01-07 02:58:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191991,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:58:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191991,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:58:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191991,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191991,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191991', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191991', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:58:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:58:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:58:22] Production.INFO: ==25484== Releasing lock...
[2025-01-07 02:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:58:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 07:59:01] Production.INFO: ==25546== Lock acquired, processing the job...
[2025-01-07 07:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 07:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 07:59:01] Production.INFO: neon service started
[2025-01-07 07:59:01] Production.INFO: neon service started
[2025-01-07 07:59:01] Production.INFO: ==25546== Releasing lock...
[2025-01-07 07:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 07:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 02:59:01] Production.INFO: ==25548== Lock acquired, processing the job...
[2025-01-07 02:59:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 02:59:02] Production.INFO: ==25548== Releasing lock...
[2025-01-07 02:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 02:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:59:02] Production.INFO: ==25550== Lock acquired, processing the job...
[2025-01-07 07:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:59:02] Production.INFO: ==25550== Releasing lock...
[2025-01-07 07:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 07:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 02:59:03] Production.INFO: ==25553== Lock acquired, processing the job...
[2025-01-07 02:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 02:59:03] Production.INFO: ==25557== Lock acquired, processing the job...
[2025-01-07 02:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 02:59:03] Production.INFO: ==25561== Lock acquired, processing the job...
[2025-01-07 02:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 02:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 02:59:03] Production.INFO: ==25555== Lock acquired, processing the job...
[2025-01-07 02:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 02:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 02:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 02:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 02:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 02:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 02:59:03] Production.INFO: ==25559== Lock acquired, processing the job...
[2025-01-07 02:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 02:59:03] Production.INFO: ==25563== Lock acquired, processing the job...
[2025-01-07 02:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 02:59:03] Production.INFO: Account Balance Start.
[2025-01-07 02:59:03] Production.INFO: CreateAllLog Start
[2025-01-07 02:59:03] Production.INFO: 117
[2025-01-07 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-07 02:59:03] Production.INFO: Date 2024-12-08
[2025-01-07 02:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:59:03] Production.INFO: count ==21
[2025-01-07 02:59:03] Production.ERROR: done
[2025-01-07 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-07 02:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 02:59:03] Production.INFO: count ==21
[2025-01-07 02:59:03] Production.INFO: Date 2024-12-09
[2025-01-07 02:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14191995') start
[2025-01-07 02:59:03] Production.INFO: Date 2024-12-10
[2025-01-07 02:59:03] Production.INFO: ==25555== Releasing lock...
[2025-01-07 02:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 02:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 02:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:59:03] Production.ERROR: done
[2025-01-07 02:59:03] Production.INFO: Date 2024-12-11
[2025-01-07 02:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 02:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14191995') end
[2025-01-07 02:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 02:59:04] Production.INFO: 1
[2025-01-07 02:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 02:59:04] Production.INFO: Date 2024-12-12
[2025-01-07 02:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:59:04] Production.INFO: Date 2024-12-13
[2025-01-07 02:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:59:04] Production.INFO: Date 2024-12-14
[2025-01-07 02:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:59:04] Production.INFO: ==25563== Releasing lock...
[2025-01-07 02:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 02:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 02:59:04] Production.INFO: Date 2024-12-15
[2025-01-07 02:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:59:04] Production.INFO: Date 2024-12-16
[2025-01-07 02:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:59:04] Production.INFO: Date 2024-12-17
[2025-01-07 02:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:59:04] Production.INFO: Date 2024-12-18
[2025-01-07 02:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:59:04] Production.INFO: Date 2024-12-19
[2025-01-07 02:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:59:04] Production.INFO: Date 2024-12-20
[2025-01-07 02:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:59:04] Production.INFO: Date 2024-12-21
[2025-01-07 02:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:59:04] Production.INFO: Date 2024-12-22
[2025-01-07 02:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:59:04] Production.INFO: Date 2024-12-23
[2025-01-07 02:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:59:04] Production.INFO: Date 2024-12-24
[2025-01-07 02:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:59:04] Production.INFO: Date 2024-12-25
[2025-01-07 02:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:59:04] Production.INFO: Date 2024-12-26
[2025-01-07 02:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:59:04] Production.INFO: Date 2024-12-27
[2025-01-07 02:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 02:59:05] Production.INFO: Date 2024-12-28
[2025-01-07 02:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:59:05] Production.INFO: Date 2024-12-29
[2025-01-07 02:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-06 23:59:05
[end_date_ymd] => 2025-01-07 02:59:05
[RateCDR] => 1
)
[2025-01-07 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-06 23:59:05' and `end` < '2025-01-07 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-07 02:59:05] Production.INFO: Date 2024-12-30
[2025-01-07 02:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:59:05] Production.INFO: Date 2024-12-31
[2025-01-07 02:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:59:05] Production.INFO: Date 2025-01-01
[2025-01-07 02:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:59:05] Production.INFO: Date 2025-01-02
[2025-01-07 02:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:59:05] Production.INFO: Date 2025-01-03
[2025-01-07 02:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:59:05] Production.INFO: Date 2025-01-04
[2025-01-07 02:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:59:05] Production.INFO: Date 2025-01-05
[2025-01-07 02:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:59:05] Production.INFO: Date 2025-01-06
[2025-01-07 02:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:59:05] Production.INFO: Date 2025-01-07
[2025-01-07 02:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 02:59:05] Production.INFO: Total Charge 0
[2025-01-07 02:59:05] Production.INFO: CreateAllLog End
[2025-01-07 02:59:05] Production.INFO: Account Balance End.
[2025-01-07 02:59:05] Production.ERROR: CronJobId end 12
[2025-01-07 02:59:05] Production.INFO: ==25559== Releasing lock...
[2025-01-07 02:59:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 02:59:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 02:59:11] Production.ERROR: CronJobId end10
[2025-01-07 02:59:11] Production.INFO: ==25557== Releasing lock...
[2025-01-07 02:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 02:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 02:59:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 02:59:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 02:59:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 02:59:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 02:59:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 02:59:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 02:59:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 02:59:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 02:59:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 02:59:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 02:59:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 02:59:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 02:59:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 02:59:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 02:59:12] Production.INFO: call_cost start
[2025-01-07 02:59:12] Production.INFO: call_cost end
[2025-01-07 02:59:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 02:59:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 02:59:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 02:59:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 02:59:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 02:59:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 02:59:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 02:59:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 02:59:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 02:59:13] Production.INFO: ==25553== Releasing lock...
[2025-01-07 02:59:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 02:59:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 02:59:17] Production.INFO: count ==244
[2025-01-07 02:59:17] Production.ERROR: pbx CDR StartTime 2025-01-06 23:59:05 - End Time 2025-01-07 02:59:05
[2025-01-07 02:59:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 02:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191996', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14191996', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191996', 'tblTempVendorCDR_20' ) start
[2025-01-07 02:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14191996', 'tblTempVendorCDR_20' ) end
[2025-01-07 02:59:17] Production.INFO: ProcessCDR(1,14191996,1,1,2)
[2025-01-07 02:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14191996,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:59:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14191996,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 02:59:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14191996,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:59:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14191996,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 02:59:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191996', 'tblTempUsageDetail_20' ) start
[2025-01-07 02:59:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14191996', 'tblTempUsageDetail_20' ) end
[2025-01-07 02:59:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 02:59:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 02:59:20] Production.INFO: ==25561== Releasing lock...
[2025-01-07 02:59:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 02:59:20] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 08:00:02] Production.INFO: ==25629== Lock acquired, processing the job...
[2025-01-07 08:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:00:02] Production.INFO: neon service started
[2025-01-07 08:00:02] Production.INFO: neon service started
[2025-01-07 08:00:02] Production.INFO: ==25629== Releasing lock...
[2025-01-07 08:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:00:02] Production.INFO: ==25631== Lock acquired, processing the job...
[2025-01-07 03:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:00:02] Production.INFO: ==25631== Releasing lock...
[2025-01-07 03:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:00:02] Production.INFO: ==25633== Lock acquired, processing the job...
[2025-01-07 08:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:00:02] Production.INFO: ==25633== Releasing lock...
[2025-01-07 08:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:00:03] Production.INFO: ==25636== Lock acquired, processing the job...
[2025-01-07 03:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 03:00:03] Production.INFO: ==25638== Lock acquired, processing the job...
[2025-01-07 03:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:00:03] Production.INFO: ==25640== Lock acquired, processing the job...
[2025-01-07 03:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 03:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 03:00:03] Production.ERROR: CronJob PID - 25638
[2025-01-07 03:00:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-07 03:00:03] Production.ERROR: CronJob ID - 5
[2025-01-07 03:00:03] Production.ERROR: CronJob Last Run Time 2025-01-07 03:00:00
[2025-01-07 03:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 03:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 03:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 03:00:03] Production.INFO: ==25636== Releasing lock...
[2025-01-07 03:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 03:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 03:00:03] Production.INFO: ==25644== Lock acquired, processing the job...
[2025-01-07 03:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:00:03] Production.INFO: Account Balance Start.
[2025-01-07 03:00:03] Production.INFO: CreateAllLog Start
[2025-01-07 03:00:03] Production.INFO: 117
[2025-01-07 03:00:03] Production.INFO: ==25642== Lock acquired, processing the job...
[2025-01-07 03:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:00:03] Production.INFO: Date 2024-12-08
[2025-01-07 03:00:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:00:04] Production.INFO: Date 2024-12-09
[2025-01-07 03:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:00:04] Production.INFO: Date 2024-12-10
[2025-01-07 03:00:04] Production.INFO: ==25646== Lock acquired, processing the job...
[2025-01-07 03:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:00:04] Production.INFO: ==25648== Lock acquired, processing the job...
[2025-01-07 03:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 03:00:04] Production.INFO: ==25640== Releasing lock...
[2025-01-07 03:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:00:04] Production.INFO: Date 2024-12-11
[2025-01-07 03:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:00:04] Production.INFO: Date 2024-12-12
[2025-01-07 03:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:00:04] Production.INFO: Date 2024-12-13
[2025-01-07 03:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:00:04] Production.INFO: ==25650== Lock acquired, processing the job...
[2025-01-07 03:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:00:04] Production.INFO: Date 2024-12-14
[2025-01-07 03:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:00:04] Production.INFO: Date 2024-12-15
[2025-01-07 03:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:00:04] Production.ERROR: done
[2025-01-07 03:00:04] Production.ERROR: done
[2025-01-07 03:00:04] Production.INFO: Date 2024-12-16
[2025-01-07 03:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:00:04] Production.INFO: Date 2024-12-17
[2025-01-07 03:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:00:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 03:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14192001', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 03:00:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 03:00:04] Production.ERROR: done
[2025-01-07 03:00:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:00:04] Production.INFO: count ==21
[2025-01-07 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-07 03:00:04] Production.INFO: count ==21
[2025-01-07 03:00:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192000') start
[2025-01-07 03:00:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:00:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192000') end
[2025-01-07 03:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:00:04] Production.INFO: 1
[2025-01-07 03:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:00:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:00:05] Production.INFO: ==25650== Releasing lock...
[2025-01-07 03:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:00:05] Production.INFO: Date 2024-12-25
[2025-01-07 03:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:00:05] Production.INFO: Date 2024-12-26
[2025-01-07 03:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:00:05] Production.INFO: Date 2024-12-27
[2025-01-07 03:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:00:05] Production.INFO: Date 2024-12-28
[2025-01-07 03:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:00:05] Production.INFO: Date 2024-12-29
[2025-01-07 03:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:00:05] Production.INFO: Date 2024-12-30
[2025-01-07 03:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:00:05] Production.INFO: Date 2024-12-31
[2025-01-07 03:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:00:05] Production.INFO: Date 2025-01-01
[2025-01-07 03:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:00:05] Production.INFO: Date 2025-01-02
[2025-01-07 03:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:00:05] Production.INFO: Date 2025-01-03
[2025-01-07 03:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:00:05] Production.INFO: Date 2025-01-04
[2025-01-07 03:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:00:05] Production.INFO: Date 2025-01-05
[2025-01-07 03:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:00:05] Production.INFO: Date 2025-01-06
[2025-01-07 03:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:00:05] Production.INFO: Date 2025-01-07
[2025-01-07 03:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:00:05] Production.INFO: Total Charge 0
[2025-01-07 03:00:05] Production.INFO: CreateAllLog End
[2025-01-07 03:00:05] Production.INFO: Account Balance End.
[2025-01-07 03:00:05] Production.ERROR: CronJobId end 12
[2025-01-07 03:00:05] Production.INFO: ==25644== Releasing lock...
[2025-01-07 03:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:00:06
[end_date_ymd] => 2025-01-07 03:00:06
[RateCDR] => 1
)
[2025-01-07 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-07 00:00:06' and `end` < '2025-01-07 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-07 03:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14192001', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 03:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 03:00:09] Production.INFO: ProcessCDR(1,14192001,1,1,2)
[2025-01-07 03:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14192001,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14192001,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:00:09] Production.INFO: ==25648== Releasing lock...
[2025-01-07 03:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 03:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-07 03:00:12] Production.ERROR: CronJobId end10
[2025-01-07 03:00:12] Production.INFO: ==25642== Releasing lock...
[2025-01-07 03:00:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:00:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:00:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:00:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:00:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:00:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:00:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:00:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:00:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:00:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:00:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:00:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:00:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:00:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:00:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:00:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:00:14] Production.INFO: call_cost start
[2025-01-07 03:00:14] Production.INFO: call_cost end
[2025-01-07 03:00:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:00:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:00:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:00:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:00:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:00:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:00:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:00:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:00:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:00:15] Production.INFO: ==25638== Releasing lock...
[2025-01-07 03:00:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:00:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:00:20] Production.INFO: count ==246
[2025-01-07 03:00:20] Production.ERROR: pbx CDR StartTime 2025-01-07 00:00:06 - End Time 2025-01-07 03:00:06
[2025-01-07 03:00:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192002', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192002', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192002', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192002', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:00:20] Production.INFO: ProcessCDR(1,14192002,1,1,2)
[2025-01-07 03:00:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192002,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192002,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192002,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192002,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192002', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192002', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:00:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:00:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:00:23] Production.INFO: ==25646== Releasing lock...
[2025-01-07 03:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:00:23] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 08:01:01] Production.INFO: ==25724== Lock acquired, processing the job...
[2025-01-07 08:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:01:01] Production.INFO: neon service started
[2025-01-07 08:01:01] Production.INFO: neon service started
[2025-01-07 08:01:01] Production.INFO: ==25724== Releasing lock...
[2025-01-07 08:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:01:01] Production.INFO: ==25730== Lock acquired, processing the job...
[2025-01-07 08:01:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:01:01] Production.INFO: ==25730== Releasing lock...
[2025-01-07 08:01:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:01:01] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:01:02] Production.INFO: ==25728== Lock acquired, processing the job...
[2025-01-07 03:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:01:02] Production.INFO: ==25728== Releasing lock...
[2025-01-07 03:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:01:02] Production.INFO: ==25732== Lock acquired, processing the job...
[2025-01-07 03:01:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:01:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:01:03] Production.INFO: ==25736== Lock acquired, processing the job...
[2025-01-07 03:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:01:03] Production.INFO: ==25741== Lock acquired, processing the job...
[2025-01-07 03:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:01:03] Production.INFO: ==25734== Lock acquired, processing the job...
[2025-01-07 03:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:01:03] Production.INFO: ==25738== Lock acquired, processing the job...
[2025-01-07 03:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:01:03] Production.INFO: ==25743== Lock acquired, processing the job...
[2025-01-07 03:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:01:03] Production.ERROR: done
[2025-01-07 03:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:01:03] Production.INFO: Account Balance Start.
[2025-01-07 03:01:03] Production.INFO: CreateAllLog Start
[2025-01-07 03:01:03] Production.INFO: 117
[2025-01-07 03:01:03] Production.INFO: Date 2024-12-08
[2025-01-07 03:01:03] Production.ERROR: done
[2025-01-07 03:01:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 03:01:03] Production.INFO: Date 2024-12-09
[2025-01-07 03:01:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:01:03] Production.INFO: count ==21
[2025-01-07 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-07 03:01:03] Production.INFO: count ==21
[2025-01-07 03:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192005') start
[2025-01-07 03:01:03] Production.INFO: ==25734== Releasing lock...
[2025-01-07 03:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:01:03] Production.INFO: Date 2024-12-10
[2025-01-07 03:01:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:01:03] Production.INFO: Date 2024-12-11
[2025-01-07 03:01:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:01:03] Production.INFO: Date 2024-12-12
[2025-01-07 03:01:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:01:04] Production.INFO: Date 2024-12-13
[2025-01-07 03:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192005') end
[2025-01-07 03:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:01:04] Production.INFO: 1
[2025-01-07 03:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:01:04] Production.INFO: Date 2024-12-14
[2025-01-07 03:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:01:04] Production.INFO: Date 2024-12-15
[2025-01-07 03:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:01:04] Production.INFO: ==25743== Releasing lock...
[2025-01-07 03:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:01:04] Production.INFO: Date 2024-12-16
[2025-01-07 03:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:01:04] Production.INFO: Date 2024-12-17
[2025-01-07 03:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:01:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:01:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:01:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:01:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:01:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:01:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:01:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:01:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:01:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:01:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:01:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:01:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:01:04] Production.INFO: Date 2024-12-30
[2025-01-07 03:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:01:04] Production.INFO: Date 2024-12-31
[2025-01-07 03:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:01:04] Production.INFO: Date 2025-01-01
[2025-01-07 03:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:01:04] Production.INFO: Date 2025-01-02
[2025-01-07 03:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:01:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:01:04
[end_date_ymd] => 2025-01-07 03:01:04
[RateCDR] => 1
)
[2025-01-07 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-07 00:01:04' and `end` < '2025-01-07 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-07 03:01:04] Production.INFO: Date 2025-01-03
[2025-01-07 03:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:01:04] Production.INFO: Date 2025-01-04
[2025-01-07 03:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:01:04] Production.INFO: Date 2025-01-05
[2025-01-07 03:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:01:04] Production.INFO: Date 2025-01-06
[2025-01-07 03:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:01:04] Production.INFO: Date 2025-01-07
[2025-01-07 03:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:01:04] Production.INFO: Total Charge 0
[2025-01-07 03:01:04] Production.INFO: CreateAllLog End
[2025-01-07 03:01:05] Production.INFO: Account Balance End.
[2025-01-07 03:01:05] Production.ERROR: CronJobId end 12
[2025-01-07 03:01:05] Production.INFO: ==25738== Releasing lock...
[2025-01-07 03:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:01:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:01:12] Production.ERROR: CronJobId end10
[2025-01-07 03:01:12] Production.INFO: ==25736== Releasing lock...
[2025-01-07 03:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:01:13] Production.INFO: call_cost start
[2025-01-07 03:01:13] Production.INFO: call_cost end
[2025-01-07 03:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:01:14] Production.INFO: ==25732== Releasing lock...
[2025-01-07 03:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:01:17] Production.INFO: count ==246
[2025-01-07 03:01:17] Production.ERROR: pbx CDR StartTime 2025-01-07 00:01:04 - End Time 2025-01-07 03:01:04
[2025-01-07 03:01:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192007', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192007', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192007', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192007', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:01:17] Production.INFO: ProcessCDR(1,14192007,1,1,2)
[2025-01-07 03:01:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192007,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:01:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192007,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:01:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192007,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:01:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192007,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:01:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192007', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:01:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192007', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:01:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:01:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:01:20] Production.INFO: ==25741== Releasing lock...
[2025-01-07 03:01:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:01:20] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 08:02:01] Production.INFO: ==25881== Lock acquired, processing the job...
[2025-01-07 08:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:02:01] Production.INFO: neon service started
[2025-01-07 08:02:01] Production.INFO: neon service started
[2025-01-07 08:02:01] Production.INFO: ==25881== Releasing lock...
[2025-01-07 08:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:02:02] Production.INFO: ==25885== Lock acquired, processing the job...
[2025-01-07 08:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:02:02] Production.INFO: ==25885== Releasing lock...
[2025-01-07 08:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:02:02] Production.INFO: ==25883== Lock acquired, processing the job...
[2025-01-07 03:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:02:02] Production.INFO: ==25883== Releasing lock...
[2025-01-07 03:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:02:03] Production.INFO: ==25892== Lock acquired, processing the job...
[2025-01-07 03:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:02:03] Production.INFO: ==25888== Lock acquired, processing the job...
[2025-01-07 03:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:02:03] Production.INFO: ==25894== Lock acquired, processing the job...
[2025-01-07 03:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:02:03] Production.INFO: ==25890== Lock acquired, processing the job...
[2025-01-07 03:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:02:03] Production.INFO: ==25896== Lock acquired, processing the job...
[2025-01-07 03:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:02:03] Production.INFO: Account Balance Start.
[2025-01-07 03:02:03] Production.INFO: CreateAllLog Start
[2025-01-07 03:02:03] Production.INFO: 117
[2025-01-07 03:02:03] Production.INFO: Date 2024-12-08
[2025-01-07 03:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:02:03] Production.INFO: ==25898== Lock acquired, processing the job...
[2025-01-07 03:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:02:03] Production.INFO: Date 2024-12-09
[2025-01-07 03:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:02:03] Production.INFO: Date 2024-12-10
[2025-01-07 03:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:02:04] Production.INFO: ==25890== Releasing lock...
[2025-01-07 03:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 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-07 03:02:04] Production.INFO: Date 2024-12-11
[2025-01-07 03:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:02:04] Production.INFO: count ==21
[2025-01-07 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-07 03:02:04] Production.INFO: count ==21
[2025-01-07 03:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192011') start
[2025-01-07 03:02:04] Production.INFO: Date 2024-12-12
[2025-01-07 03:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:02:04] Production.INFO: Date 2024-12-13
[2025-01-07 03:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:02:04] Production.INFO: Date 2024-12-14
[2025-01-07 03:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:02:04] Production.ERROR: done
[2025-01-07 03:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:02:04] Production.INFO: Date 2024-12-15
[2025-01-07 03:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192011') end
[2025-01-07 03:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:02:04] Production.INFO: 1
[2025-01-07 03:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:02:04] Production.INFO: Date 2024-12-16
[2025-01-07 03:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:02:04] Production.INFO: ==25898== Releasing lock...
[2025-01-07 03:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:02:04] Production.ERROR: done
[2025-01-07 03:02:04] Production.INFO: Date 2024-12-17
[2025-01-07 03:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:02:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:02:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:02:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:02:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:02:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:02:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:02:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:02:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:02:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:02:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:02:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:02:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:02:04] Production.INFO: Date 2024-12-30
[2025-01-07 03:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:02:04] Production.INFO: Date 2024-12-31
[2025-01-07 03:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:02:04] Production.INFO: Date 2025-01-01
[2025-01-07 03:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:02:04] Production.INFO: Date 2025-01-02
[2025-01-07 03:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:02:04] Production.INFO: Date 2025-01-03
[2025-01-07 03:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:02:04] Production.INFO: Date 2025-01-04
[2025-01-07 03:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:02:04] Production.INFO: Date 2025-01-05
[2025-01-07 03:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:02:04] Production.INFO: Date 2025-01-06
[2025-01-07 03:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:02:04] Production.INFO: Date 2025-01-07
[2025-01-07 03:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:02:04] Production.INFO: Total Charge 0
[2025-01-07 03:02:05] Production.INFO: CreateAllLog End
[2025-01-07 03:02:05] Production.INFO: Account Balance End.
[2025-01-07 03:02:05] Production.ERROR: CronJobId end 12
[2025-01-07 03:02:05] Production.INFO: ==25894== Releasing lock...
[2025-01-07 03:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:02:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:02:05
[end_date_ymd] => 2025-01-07 03:02:05
[RateCDR] => 1
)
[2025-01-07 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-07 00:02:05' and `end` < '2025-01-07 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-07 03:02:11] Production.ERROR: CronJobId end10
[2025-01-07 03:02:11] Production.INFO: ==25892== Releasing lock...
[2025-01-07 03:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:02:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:02:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:02:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:02:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:02:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:02:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:02:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:02:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:02:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:02:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:02:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:02:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:02:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:02:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:02:12] Production.INFO: call_cost start
[2025-01-07 03:02:12] Production.INFO: call_cost end
[2025-01-07 03:02:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:02:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:02:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:02:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:02:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:02:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:02:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:02:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:02:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:02:13] Production.INFO: ==25888== Releasing lock...
[2025-01-07 03:02:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:02:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:02:18] Production.INFO: count ==246
[2025-01-07 03:02:18] Production.ERROR: pbx CDR StartTime 2025-01-07 00:02:05 - End Time 2025-01-07 03:02:05
[2025-01-07 03:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192012', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192012', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192012', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192012', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:02:18] Production.INFO: ProcessCDR(1,14192012,1,1,2)
[2025-01-07 03:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192012,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192012,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192012,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192012,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192012', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192012', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:02:21] Production.INFO: ==25896== Releasing lock...
[2025-01-07 03:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:02:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 08:03:01] Production.INFO: ==25961== Lock acquired, processing the job...
[2025-01-07 08:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:03:01] Production.INFO: neon service started
[2025-01-07 08:03:01] Production.INFO: neon service started
[2025-01-07 08:03:01] Production.INFO: ==25961== Releasing lock...
[2025-01-07 08:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:03:01] Production.INFO: ==25963== Lock acquired, processing the job...
[2025-01-07 03:03:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:03:01] Production.INFO: ==25965== Lock acquired, processing the job...
[2025-01-07 08:03:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:03:02] Production.INFO: ==25965== Releasing lock...
[2025-01-07 08:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:03:02] Production.INFO: ==25963== Releasing lock...
[2025-01-07 03:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:03:03] Production.INFO: ==25970== Lock acquired, processing the job...
[2025-01-07 03:03:03] Production.INFO: ==25968== Lock acquired, processing the job...
[2025-01-07 03:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:03:03] Production.INFO: ==25972== Lock acquired, processing the job...
[2025-01-07 03:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:03:03] Production.INFO: ==25974== Lock acquired, processing the job...
[2025-01-07 03:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:03:03] Production.INFO: ==25978== Lock acquired, processing the job...
[2025-01-07 03:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:03:03] Production.INFO: Account Balance Start.
[2025-01-07 03:03:03] Production.INFO: CreateAllLog Start
[2025-01-07 03:03:03] Production.INFO: 117
[2025-01-07 03:03:03] Production.INFO: ==25976== Lock acquired, processing the job...
[2025-01-07 03:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:03:03] Production.INFO: Date 2024-12-08
[2025-01-07 03:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 03:03:03] Production.INFO: ==25970== Releasing lock...
[2025-01-07 03:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:03:03] Production.INFO: count ==21
[2025-01-07 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-07 03:03:03] Production.INFO: count ==21
[2025-01-07 03:03:03] Production.INFO: Date 2024-12-09
[2025-01-07 03:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192016') start
[2025-01-07 03:03:03] Production.INFO: Date 2024-12-10
[2025-01-07 03:03:03] Production.ERROR: done
[2025-01-07 03:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:03:03] Production.INFO: Date 2024-12-11
[2025-01-07 03:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192016') end
[2025-01-07 03:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:03:03] Production.INFO: 1
[2025-01-07 03:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:03:03] Production.ERROR: done
[2025-01-07 03:03:03] Production.INFO: ==25978== Releasing lock...
[2025-01-07 03:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:03:03] Production.INFO: Date 2024-12-12
[2025-01-07 03:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:03:03] Production.INFO: Date 2024-12-13
[2025-01-07 03:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:03:03] Production.INFO: Date 2024-12-14
[2025-01-07 03:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:03:03] Production.INFO: Date 2024-12-15
[2025-01-07 03:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:03:03] Production.INFO: Date 2024-12-16
[2025-01-07 03:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:03:03] Production.INFO: Date 2024-12-17
[2025-01-07 03:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:03:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:03:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:03:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:03:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:03:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:03:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:03:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:03:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:03:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:03:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:03:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:03:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:03:04] Production.INFO: Date 2024-12-30
[2025-01-07 03:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:03:04] Production.INFO: Date 2024-12-31
[2025-01-07 03:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:03:04] Production.INFO: Date 2025-01-01
[2025-01-07 03:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:03:04] Production.INFO: Date 2025-01-02
[2025-01-07 03:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:03:04] Production.INFO: Date 2025-01-03
[2025-01-07 03:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:03:04] Production.INFO: Date 2025-01-04
[2025-01-07 03:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:03:04] Production.INFO: Date 2025-01-05
[2025-01-07 03:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:03:04] Production.INFO: Date 2025-01-06
[2025-01-07 03:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:03:04] Production.INFO: Date 2025-01-07
[2025-01-07 03:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:03:04] Production.INFO: Total Charge 0
[2025-01-07 03:03:04] Production.INFO: CreateAllLog End
[2025-01-07 03:03:04] Production.INFO: Account Balance End.
[2025-01-07 03:03:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:03:04
[end_date_ymd] => 2025-01-07 03:03:04
[RateCDR] => 1
)
[2025-01-07 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-07 00:03:04' and `end` < '2025-01-07 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-07 03:03:04] Production.ERROR: CronJobId end 12
[2025-01-07 03:03:04] Production.INFO: ==25974== Releasing lock...
[2025-01-07 03:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:03:10] Production.ERROR: CronJobId end10
[2025-01-07 03:03:10] Production.INFO: ==25972== Releasing lock...
[2025-01-07 03:03:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:03:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:03:12] Production.INFO: call_cost start
[2025-01-07 03:03:12] Production.INFO: call_cost end
[2025-01-07 03:03:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:03:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:03:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:03:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:03:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:03:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:03:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:03:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:03:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:03:13] Production.INFO: ==25968== Releasing lock...
[2025-01-07 03:03:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:03:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:03:17] Production.INFO: count ==246
[2025-01-07 03:03:17] Production.ERROR: pbx CDR StartTime 2025-01-07 00:03:04 - End Time 2025-01-07 03:03:04
[2025-01-07 03:03:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192017', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192017', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192017', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192017', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:03:17] Production.INFO: ProcessCDR(1,14192017,1,1,2)
[2025-01-07 03:03:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192017,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:03:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192017,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:03:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192017,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:03:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192017,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:03:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192017', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:03:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192017', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:03:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:03:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:03:20] Production.INFO: ==25976== Releasing lock...
[2025-01-07 03:03:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:03:20] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 08:04:01] Production.INFO: ==26041== Lock acquired, processing the job...
[2025-01-07 08:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:04:01] Production.INFO: neon service started
[2025-01-07 08:04:01] Production.INFO: neon service started
[2025-01-07 08:04:01] Production.INFO: ==26041== Releasing lock...
[2025-01-07 08:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:04:02] Production.INFO: ==26043== Lock acquired, processing the job...
[2025-01-07 03:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:04:02] Production.INFO: ==26045== Lock acquired, processing the job...
[2025-01-07 08:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:04:02] Production.INFO: ==26045== Releasing lock...
[2025-01-07 08:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:04:02] Production.INFO: ==26043== Releasing lock...
[2025-01-07 03:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:04:03] Production.INFO: ==26050== Lock acquired, processing the job...
[2025-01-07 03:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:04:03] Production.INFO: ==26052== Lock acquired, processing the job...
[2025-01-07 03:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:04:03] Production.INFO: ==26054== Lock acquired, processing the job...
[2025-01-07 03:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:04:03] Production.INFO: ==26048== Lock acquired, processing the job...
[2025-01-07 03:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:04:03] Production.INFO: ==26058== Lock acquired, processing the job...
[2025-01-07 03:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:04:03] Production.INFO: ==26056== Lock acquired, processing the job...
[2025-01-07 03:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:04:03] Production.INFO: Account Balance Start.
[2025-01-07 03:04:03] Production.INFO: CreateAllLog Start
[2025-01-07 03:04:03] Production.INFO: 117
[2025-01-07 03:04:03] Production.INFO: Date 2024-12-08
[2025-01-07 03:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:04:03] Production.INFO: Date 2024-12-09
[2025-01-07 03:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 03:04:03] Production.INFO: ==26050== Releasing lock...
[2025-01-07 03:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:04:03] Production.INFO: count ==21
[2025-01-07 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-07 03:04:03] Production.INFO: count ==21
[2025-01-07 03:04:03] Production.INFO: Date 2024-12-10
[2025-01-07 03:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192020') start
[2025-01-07 03:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:04:03] Production.INFO: Date 2024-12-11
[2025-01-07 03:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:04:03] Production.INFO: Date 2024-12-12
[2025-01-07 03:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:04:03] Production.INFO: Date 2024-12-13
[2025-01-07 03:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:04:04] Production.ERROR: done
[2025-01-07 03:04:04] Production.INFO: Date 2024-12-14
[2025-01-07 03:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192020') end
[2025-01-07 03:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:04:04] Production.INFO: 1
[2025-01-07 03:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:04:04] Production.INFO: ==26058== Releasing lock...
[2025-01-07 03:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:04:04] Production.INFO: Date 2024-12-15
[2025-01-07 03:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:04:04] Production.INFO: Date 2024-12-16
[2025-01-07 03:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:04:04] Production.INFO: Date 2024-12-17
[2025-01-07 03:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:04:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:04:04] Production.ERROR: done
[2025-01-07 03:04:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:04:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:04:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:04:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:04:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:04:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:04:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:04:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:04:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:04:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:04:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:04:04] Production.INFO: Date 2024-12-30
[2025-01-07 03:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:04:04] Production.INFO: Date 2024-12-31
[2025-01-07 03:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:04:04] Production.INFO: Date 2025-01-01
[2025-01-07 03:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:04:04] Production.INFO: Date 2025-01-02
[2025-01-07 03:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:04:04] Production.INFO: Date 2025-01-03
[2025-01-07 03:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:04:04] Production.INFO: Date 2025-01-04
[2025-01-07 03:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:04:04] Production.INFO: Date 2025-01-05
[2025-01-07 03:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:04:04] Production.INFO: Date 2025-01-06
[2025-01-07 03:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:04:04] Production.INFO: Date 2025-01-07
[2025-01-07 03:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:04:04] Production.INFO: Total Charge 0
[2025-01-07 03:04:04] Production.INFO: CreateAllLog End
[2025-01-07 03:04:04] Production.INFO: Account Balance End.
[2025-01-07 03:04:05] Production.ERROR: CronJobId end 12
[2025-01-07 03:04:05] Production.INFO: ==26054== Releasing lock...
[2025-01-07 03:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:04:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:04:05
[end_date_ymd] => 2025-01-07 03:04:05
[RateCDR] => 1
)
[2025-01-07 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-07 00:04:05' and `end` < '2025-01-07 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-07 03:04:11] Production.ERROR: CronJobId end10
[2025-01-07 03:04:11] Production.INFO: ==26052== Releasing lock...
[2025-01-07 03:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:04:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:04:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:04:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:04:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:04:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:04:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:04:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:04:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:04:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:04:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:04:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:04:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:04:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:04:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:04:12] Production.INFO: call_cost start
[2025-01-07 03:04:12] Production.INFO: call_cost end
[2025-01-07 03:04:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:04:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:04:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:04:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:04:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:04:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:04:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:04:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:04:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:04:13] Production.INFO: ==26048== Releasing lock...
[2025-01-07 03:04:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:04:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:04:17] Production.INFO: count ==243
[2025-01-07 03:04:17] Production.ERROR: pbx CDR StartTime 2025-01-07 00:04:05 - End Time 2025-01-07 03:04:05
[2025-01-07 03:04:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192022', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192022', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192022', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192022', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:04:18] Production.INFO: ProcessCDR(1,14192022,1,1,2)
[2025-01-07 03:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192022,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:04:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192022,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:04:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192022,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192022,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192022', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192022', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:04:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:04:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:04:21] Production.INFO: ==26056== Releasing lock...
[2025-01-07 03:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:04:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 08:05:02] Production.INFO: ==26160== Lock acquired, processing the job...
[2025-01-07 08:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:05:02] Production.INFO: neon service started
[2025-01-07 08:05:02] Production.INFO: neon service started
[2025-01-07 08:05:02] Production.INFO: ==26160== Releasing lock...
[2025-01-07 08:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:05:02] Production.INFO: ==26162== Lock acquired, processing the job...
[2025-01-07 03:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:05:02] Production.INFO: ==26162== Releasing lock...
[2025-01-07 03:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:05:03] Production.INFO: ==26164== Lock acquired, processing the job...
[2025-01-07 08:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:05:03] Production.INFO: ==26164== Releasing lock...
[2025-01-07 08:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:05:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:05:03] Production.INFO: ==26166== Lock acquired, processing the job...
[2025-01-07 03:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:05:03] Production.INFO: ==26168== Lock acquired, processing the job...
[2025-01-07 03:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:05:03] Production.INFO: ==26170== Lock acquired, processing the job...
[2025-01-07 03:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:05:03] Production.INFO: ==26172== Lock acquired, processing the job...
[2025-01-07 03:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:05:03] Production.INFO: Account Balance Start.
[2025-01-07 03:05:03] Production.INFO: CreateAllLog Start
[2025-01-07 03:05:03] Production.INFO: 117
[2025-01-07 03:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:05:03] Production.INFO: Date 2024-12-08
[2025-01-07 03:05:03] Production.INFO: ==26174== Lock acquired, processing the job...
[2025-01-07 03:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:05:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:05:04] Production.INFO: ==26176== Lock acquired, processing the job...
[2025-01-07 03:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:05:04] Production.INFO: Date 2024-12-09
[2025-01-07 03:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:05:04] Production.INFO: Date 2024-12-10
[2025-01-07 03:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:05:04] Production.INFO: Date 2024-12-11
[2025-01-07 03:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:05:04] Production.INFO: ==26168== Releasing lock...
[2025-01-07 03:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:05:04] Production.INFO: Date 2024-12-12
[2025-01-07 03:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:05:04] Production.INFO: Date 2024-12-13
[2025-01-07 03:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 03: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-07 03:05:04] Production.INFO: Date 2024-12-14
[2025-01-07 03:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:05:04] Production.INFO: count ==21
[2025-01-07 03:05:04] Production.ERROR: done
[2025-01-07 03:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:05:04] Production.INFO: Date 2024-12-15
[2025-01-07 03:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 03:05:04] Production.INFO: count ==21
[2025-01-07 03:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192026') start
[2025-01-07 03:05:04] Production.INFO: Date 2024-12-16
[2025-01-07 03:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:05:04] Production.ERROR: done
[2025-01-07 03:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192026') end
[2025-01-07 03:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:05:04] Production.INFO: 1
[2025-01-07 03:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:05:04] Production.INFO: ==26176== Releasing lock...
[2025-01-07 03:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:05:04] Production.INFO: Date 2024-12-17
[2025-01-07 03:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:05:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:05:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:05:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:05:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:05:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:05:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:05:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:05:05] Production.INFO: Date 2024-12-25
[2025-01-07 03:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:05:05] Production.INFO: Date 2024-12-26
[2025-01-07 03:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:05:05] Production.INFO: Date 2024-12-27
[2025-01-07 03:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:05:05] Production.INFO: Date 2024-12-28
[2025-01-07 03:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:05:05] Production.INFO: Date 2024-12-29
[2025-01-07 03:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:05:05] Production.INFO: Date 2024-12-30
[2025-01-07 03:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:05:05] Production.INFO: Date 2024-12-31
[2025-01-07 03:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:05:05] Production.INFO: Date 2025-01-01
[2025-01-07 03:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:05:05] Production.INFO: Date 2025-01-02
[2025-01-07 03:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:05:05] Production.INFO: Date 2025-01-03
[2025-01-07 03:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:05:05] Production.INFO: Date 2025-01-04
[2025-01-07 03:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:05:05] Production.INFO: Date 2025-01-05
[2025-01-07 03:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:05:05] Production.INFO: Date 2025-01-06
[2025-01-07 03:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:05:05] Production.INFO: Date 2025-01-07
[2025-01-07 03:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:05:05] Production.INFO: Total Charge 0
[2025-01-07 03:05:05] Production.INFO: CreateAllLog End
[2025-01-07 03:05:05] Production.INFO: Account Balance End.
[2025-01-07 03:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:05:05
[end_date_ymd] => 2025-01-07 03:05:05
[RateCDR] => 1
)
[2025-01-07 03:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 00:05:05' and `end` < '2025-01-07 03:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 03:05:05] Production.ERROR: CronJobId end 12
[2025-01-07 03:05:05] Production.INFO: ==26172== Releasing lock...
[2025-01-07 03:05:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:05:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:05:10] Production.ERROR: CronJobId end10
[2025-01-07 03:05:10] Production.INFO: ==26170== Releasing lock...
[2025-01-07 03:05:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:05:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:05:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:05:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:05:14] Production.INFO: call_cost start
[2025-01-07 03:05:14] Production.INFO: call_cost end
[2025-01-07 03:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:05:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:05:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:05:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:05:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:05:15] Production.INFO: ==26166== Releasing lock...
[2025-01-07 03:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:05:18] Production.INFO: count ==243
[2025-01-07 03:05:18] Production.ERROR: pbx CDR StartTime 2025-01-07 00:05:05 - End Time 2025-01-07 03:05:05
[2025-01-07 03:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192027', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192027', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192027', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192027', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:05:18] Production.INFO: ProcessCDR(1,14192027,1,1,2)
[2025-01-07 03:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192027,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192027,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192027,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192027,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192027', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192027', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:05:22] Production.INFO: ==26174== Releasing lock...
[2025-01-07 03:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:05:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 08:06:01] Production.INFO: ==26280== Lock acquired, processing the job...
[2025-01-07 08:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:06:01] Production.INFO: neon service started
[2025-01-07 08:06:01] Production.INFO: neon service started
[2025-01-07 08:06:01] Production.INFO: ==26280== Releasing lock...
[2025-01-07 08:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:06:02] Production.INFO: ==26284== Lock acquired, processing the job...
[2025-01-07 08:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:06:02] Production.INFO: ==26284== Releasing lock...
[2025-01-07 08:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:06:02] Production.INFO: ==26282== Lock acquired, processing the job...
[2025-01-07 03:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:06:02] Production.INFO: ==26282== Releasing lock...
[2025-01-07 03:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:06:03] Production.INFO: ==26287== Lock acquired, processing the job...
[2025-01-07 03:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:06:03] Production.INFO: ==26291== Lock acquired, processing the job...
[2025-01-07 03:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:06:03] Production.INFO: ==26289== Lock acquired, processing the job...
[2025-01-07 03:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:06:03] Production.INFO: ==26293== Lock acquired, processing the job...
[2025-01-07 03:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:06:03] Production.INFO: ==26295== Lock acquired, processing the job...
[2025-01-07 03:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:06:03] Production.INFO: ==26297== Lock acquired, processing the job...
[2025-01-07 03:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:06:03] Production.INFO: Account Balance Start.
[2025-01-07 03:06:03] Production.INFO: CreateAllLog Start
[2025-01-07 03:06:03] Production.INFO: 117
[2025-01-07 03:06:03] Production.INFO: Date 2024-12-08
[2025-01-07 03:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 03:06:03] Production.INFO: Date 2024-12-09
[2025-01-07 03:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:06:03] Production.INFO: count ==21
[2025-01-07 03:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 03:06:03] Production.INFO: count ==21
[2025-01-07 03:06:03] Production.INFO: Date 2024-12-10
[2025-01-07 03:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192031') start
[2025-01-07 03:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:06:03] Production.INFO: Date 2024-12-11
[2025-01-07 03:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:06:03] Production.INFO: Date 2024-12-12
[2025-01-07 03:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192031') end
[2025-01-07 03:06:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:06:03] Production.INFO: 1
[2025-01-07 03:06:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:06:04] Production.INFO: Date 2024-12-13
[2025-01-07 03:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:06:04] Production.INFO: Date 2024-12-14
[2025-01-07 03:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:06:04] Production.INFO: Date 2024-12-15
[2025-01-07 03:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:06:04] Production.INFO: ==26297== Releasing lock...
[2025-01-07 03:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:06:04] Production.INFO: ==26289== Releasing lock...
[2025-01-07 03:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:06:04] Production.ERROR: done
[2025-01-07 03:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:06:04] Production.INFO: Date 2024-12-16
[2025-01-07 03:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:06:04] Production.ERROR: done
[2025-01-07 03:06:04] Production.INFO: Date 2024-12-17
[2025-01-07 03:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:06:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:06:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:06:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:06:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:06:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:06:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:06:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:06:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:06:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:06:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:06:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:06:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:06:04] Production.INFO: Date 2024-12-30
[2025-01-07 03:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:06:04] Production.INFO: Date 2024-12-31
[2025-01-07 03:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:06:04] Production.INFO: Date 2025-01-01
[2025-01-07 03:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:06:04] Production.INFO: Date 2025-01-02
[2025-01-07 03:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:06:04] Production.INFO: Date 2025-01-03
[2025-01-07 03:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:06:04] Production.INFO: Date 2025-01-04
[2025-01-07 03:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:06:04] Production.INFO: Date 2025-01-05
[2025-01-07 03:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:06:04] Production.INFO: Date 2025-01-06
[2025-01-07 03:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:06:05] Production.INFO: Date 2025-01-07
[2025-01-07 03:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:06:05] Production.INFO: Total Charge 0
[2025-01-07 03:06:05] Production.INFO: CreateAllLog End
[2025-01-07 03:06:05] Production.INFO: Account Balance End.
[2025-01-07 03:06:05] Production.ERROR: CronJobId end 12
[2025-01-07 03:06:05] Production.INFO: ==26293== Releasing lock...
[2025-01-07 03:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:06:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:06:05
[end_date_ymd] => 2025-01-07 03:06:05
[RateCDR] => 1
)
[2025-01-07 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-07 00:06:05' and `end` < '2025-01-07 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-07 03:06:10] Production.ERROR: CronJobId end10
[2025-01-07 03:06:10] Production.INFO: ==26291== Releasing lock...
[2025-01-07 03:06:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:06:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:06:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:06:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:06:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:06:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:06:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:06:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:06:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:06:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:06:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:06:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:06:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:06:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:06:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:06:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:06:13] Production.INFO: call_cost start
[2025-01-07 03:06:13] Production.INFO: call_cost end
[2025-01-07 03:06:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:06:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:06:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:06:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:06:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:06:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:06:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:06:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:06:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:06:13] Production.INFO: ==26287== Releasing lock...
[2025-01-07 03:06:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:06:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:06:18] Production.INFO: count ==243
[2025-01-07 03:06:18] Production.ERROR: pbx CDR StartTime 2025-01-07 00:06:05 - End Time 2025-01-07 03:06:05
[2025-01-07 03:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192032', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192032', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192032', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192032', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:06:18] Production.INFO: ProcessCDR(1,14192032,1,1,2)
[2025-01-07 03:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192032,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192032,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192032,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192032,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192032', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192032', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:06:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:06:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:06:21] Production.INFO: ==26295== Releasing lock...
[2025-01-07 03:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:06:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 08:07:02] Production.INFO: ==26364== Lock acquired, processing the job...
[2025-01-07 08:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:07:02] Production.INFO: neon service started
[2025-01-07 08:07:02] Production.INFO: neon service started
[2025-01-07 08:07:02] Production.INFO: ==26364== Releasing lock...
[2025-01-07 08:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:07:02] Production.INFO: ==26366== Lock acquired, processing the job...
[2025-01-07 03:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:07:02] Production.INFO: ==26368== Lock acquired, processing the job...
[2025-01-07 08:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:07:02] Production.INFO: ==26368== Releasing lock...
[2025-01-07 08:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:07:03] Production.INFO: ==26366== Releasing lock...
[2025-01-07 03:07:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:07:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:07:03] Production.INFO: ==26373== Lock acquired, processing the job...
[2025-01-07 03:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:07:03] Production.INFO: ==26371== Lock acquired, processing the job...
[2025-01-07 03:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:07:03] Production.INFO: ==26377== Lock acquired, processing the job...
[2025-01-07 03:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:07:03] Production.INFO: ==26375== Lock acquired, processing the job...
[2025-01-07 03:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:07:03] Production.INFO: Account Balance Start.
[2025-01-07 03:07:03] Production.INFO: CreateAllLog Start
[2025-01-07 03:07:03] Production.INFO: 117
[2025-01-07 03:07:03] Production.INFO: Date 2024-12-08
[2025-01-07 03:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:07:04] Production.INFO: ==26373== Releasing lock...
[2025-01-07 03:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:07:04] Production.INFO: Date 2024-12-09
[2025-01-07 03:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:07:04] Production.INFO: ==26379== Lock acquired, processing the job...
[2025-01-07 03:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:07:04] Production.INFO: Date 2024-12-10
[2025-01-07 03:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:07:04] Production.INFO: Date 2024-12-11
[2025-01-07 03:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:07:04] Production.INFO: ==26381== Lock acquired, processing the job...
[2025-01-07 03:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:07:04] Production.INFO: Date 2024-12-12
[2025-01-07 03:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 03:07:04] Production.INFO: Date 2024-12-13
[2025-01-07 03:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:07:04] Production.ERROR: done
[2025-01-07 03:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:07:04] Production.INFO: count ==21
[2025-01-07 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-07 03:07:04] Production.INFO: count ==21
[2025-01-07 03:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192036') start
[2025-01-07 03:07:04] Production.INFO: Date 2024-12-14
[2025-01-07 03:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:07:04] Production.INFO: Date 2024-12-15
[2025-01-07 03:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192036') end
[2025-01-07 03:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:07:04] Production.INFO: 1
[2025-01-07 03:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:07:04] Production.INFO: ==26381== Releasing lock...
[2025-01-07 03:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:07:04] Production.INFO: Date 2024-12-16
[2025-01-07 03:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:07:04] Production.ERROR: done
[2025-01-07 03:07:04] Production.INFO: Date 2024-12-17
[2025-01-07 03:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:07:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:07:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:07:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:07:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:07:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:07:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:07:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:07:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:07:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:07:05] Production.INFO: Date 2024-12-27
[2025-01-07 03:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:07:05] Production.INFO: Date 2024-12-28
[2025-01-07 03:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:07:05] Production.INFO: Date 2024-12-29
[2025-01-07 03:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:07:05] Production.INFO: Date 2024-12-30
[2025-01-07 03:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:07:05] Production.INFO: Date 2024-12-31
[2025-01-07 03:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:07:05] Production.INFO: Date 2025-01-01
[2025-01-07 03:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:07:05] Production.INFO: Date 2025-01-02
[2025-01-07 03:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:07:05] Production.INFO: Date 2025-01-03
[2025-01-07 03:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:07:05] Production.INFO: Date 2025-01-04
[2025-01-07 03:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:07:05] Production.INFO: Date 2025-01-05
[2025-01-07 03:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:07:05] Production.INFO: Date 2025-01-06
[2025-01-07 03:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:07:05] Production.INFO: Date 2025-01-07
[2025-01-07 03:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:07:05] Production.INFO: Total Charge 0
[2025-01-07 03:07:05] Production.INFO: CreateAllLog End
[2025-01-07 03:07:05] Production.INFO: Account Balance End.
[2025-01-07 03:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:07:05
[end_date_ymd] => 2025-01-07 03:07:05
[RateCDR] => 1
)
[2025-01-07 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-07 00:07:05' and `end` < '2025-01-07 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-07 03:07:05] Production.ERROR: CronJobId end 12
[2025-01-07 03:07:05] Production.INFO: ==26377== Releasing lock...
[2025-01-07 03:07:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:07:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:07:10] Production.ERROR: CronJobId end10
[2025-01-07 03:07:10] Production.INFO: ==26375== Releasing lock...
[2025-01-07 03:07:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:07:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:07:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:07:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:07:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:07:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:07:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:07:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:07:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:07:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:07:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:07:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:07:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:07:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:07:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:07:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:07:13] Production.INFO: call_cost start
[2025-01-07 03:07:13] Production.INFO: call_cost end
[2025-01-07 03:07:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:07:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:07:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:07:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:07:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:07:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:07:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:07:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:07:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:07:13] Production.INFO: ==26371== Releasing lock...
[2025-01-07 03:07:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:07:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:07:18] Production.INFO: count ==243
[2025-01-07 03:07:18] Production.ERROR: pbx CDR StartTime 2025-01-07 00:07:05 - End Time 2025-01-07 03:07:05
[2025-01-07 03:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192037', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192037', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192037', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192037', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:07:18] Production.INFO: ProcessCDR(1,14192037,1,1,2)
[2025-01-07 03:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192037,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192037,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192037,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192037,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192037', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192037', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:07:21] Production.INFO: ==26379== Releasing lock...
[2025-01-07 03:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:07:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 08:08:01] Production.INFO: ==26444== Lock acquired, processing the job...
[2025-01-07 08:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:08:01] Production.INFO: neon service started
[2025-01-07 08:08:01] Production.INFO: neon service started
[2025-01-07 08:08:01] Production.INFO: ==26444== Releasing lock...
[2025-01-07 08:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:08:01] Production.INFO: ==26446== Lock acquired, processing the job...
[2025-01-07 03:08:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:08:02] Production.INFO: ==26446== Releasing lock...
[2025-01-07 03:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:08:02] Production.INFO: ==26448== Lock acquired, processing the job...
[2025-01-07 08:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:08:02] Production.INFO: ==26448== Releasing lock...
[2025-01-07 08:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:08:03] Production.INFO: ==26453== Lock acquired, processing the job...
[2025-01-07 03:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:08:03] Production.INFO: ==26461== Lock acquired, processing the job...
[2025-01-07 03:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:08:03] Production.INFO: ==26451== Lock acquired, processing the job...
[2025-01-07 03:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 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-07 03:08:03] Production.INFO: count ==21
[2025-01-07 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-07 03:08:03] Production.INFO: count ==21
[2025-01-07 03:08:03] Production.INFO: ==26455== Lock acquired, processing the job...
[2025-01-07 03:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192038') start
[2025-01-07 03:08:03] Production.INFO: ==26457== Lock acquired, processing the job...
[2025-01-07 03:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:08:03] Production.INFO: ==26459== Lock acquired, processing the job...
[2025-01-07 03:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192038') end
[2025-01-07 03:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:08:03] Production.INFO: 1
[2025-01-07 03:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:08:03] Production.INFO: ==26461== Releasing lock...
[2025-01-07 03:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:08:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:08:03] Production.INFO: ==26453== Releasing lock...
[2025-01-07 03:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:08:03] Production.INFO: Account Balance Start.
[2025-01-07 03:08:03] Production.INFO: CreateAllLog Start
[2025-01-07 03:08:03] Production.INFO: 117
[2025-01-07 03:08:03] Production.INFO: Date 2024-12-08
[2025-01-07 03:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:08:03] Production.INFO: Date 2024-12-09
[2025-01-07 03:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:08:03] Production.INFO: Date 2024-12-10
[2025-01-07 03:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:08:03] Production.INFO: Date 2024-12-11
[2025-01-07 03:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:08:03] Production.INFO: Date 2024-12-12
[2025-01-07 03:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:08:03] Production.INFO: Date 2024-12-13
[2025-01-07 03:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:08:03] Production.ERROR: done
[2025-01-07 03:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:08:03] Production.INFO: Date 2024-12-14
[2025-01-07 03:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:08:03] Production.INFO: Date 2024-12-15
[2025-01-07 03:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:08:03] Production.INFO: Date 2024-12-16
[2025-01-07 03:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:08:03] Production.INFO: Date 2024-12-17
[2025-01-07 03:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:08:03] Production.INFO: Date 2024-12-18
[2025-01-07 03:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:08:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:08:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:08:04] Production.ERROR: done
[2025-01-07 03:08:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:08:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:08:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:08:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:08:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:08:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:08:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:08:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:08:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:08:04] Production.INFO: Date 2024-12-30
[2025-01-07 03:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:08:04] Production.INFO: Date 2024-12-31
[2025-01-07 03:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:08:04] Production.INFO: Date 2025-01-01
[2025-01-07 03:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:08:04] Production.INFO: Date 2025-01-02
[2025-01-07 03:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:08:04] Production.INFO: Date 2025-01-03
[2025-01-07 03:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:08:04] Production.INFO: Date 2025-01-04
[2025-01-07 03:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:08:04] Production.INFO: Date 2025-01-05
[2025-01-07 03:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:08:04] Production.INFO: Date 2025-01-06
[2025-01-07 03:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:08:04] Production.INFO: Date 2025-01-07
[2025-01-07 03:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:08:04] Production.INFO: Total Charge 0
[2025-01-07 03:08:04] Production.INFO: CreateAllLog End
[2025-01-07 03:08:04] Production.INFO: Account Balance End.
[2025-01-07 03:08:04] Production.ERROR: CronJobId end 12
[2025-01-07 03:08:04] Production.INFO: ==26457== Releasing lock...
[2025-01-07 03:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:08:05
[end_date_ymd] => 2025-01-07 03:08:05
[RateCDR] => 1
)
[2025-01-07 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-07 00:08:05' and `end` < '2025-01-07 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-07 03:08:10] Production.ERROR: CronJobId end10
[2025-01-07 03:08:10] Production.INFO: ==26455== Releasing lock...
[2025-01-07 03:08:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:08:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:08:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:08:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:08:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:08:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:08:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:08:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:08:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:08:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:08:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:08:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:08:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:08:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:08:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:08:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:08:12] Production.INFO: call_cost start
[2025-01-07 03:08:12] Production.INFO: call_cost end
[2025-01-07 03:08:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:08:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:08:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:08:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:08:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:08:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:08:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:08:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:08:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:08:13] Production.INFO: ==26451== Releasing lock...
[2025-01-07 03:08:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:08:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:08:18] Production.INFO: count ==243
[2025-01-07 03:08:18] Production.ERROR: pbx CDR StartTime 2025-01-07 00:08:05 - End Time 2025-01-07 03:08:05
[2025-01-07 03:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192042', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192042', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192042', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192042', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:08:18] Production.INFO: ProcessCDR(1,14192042,1,1,2)
[2025-01-07 03:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192042,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192042,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192042,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192042,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192042', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192042', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:08:21] Production.INFO: ==26459== Releasing lock...
[2025-01-07 03:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:08:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 08:09:01] Production.INFO: ==26634== Lock acquired, processing the job...
[2025-01-07 08:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:09:01] Production.INFO: neon service started
[2025-01-07 08:09:02] Production.INFO: neon service started
[2025-01-07 08:09:02] Production.INFO: ==26634== Releasing lock...
[2025-01-07 08:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:09:02] Production.INFO: ==26636== Lock acquired, processing the job...
[2025-01-07 03:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:09:02] Production.INFO: ==26638== Lock acquired, processing the job...
[2025-01-07 08:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:09:02] Production.INFO: ==26638== Releasing lock...
[2025-01-07 08:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:09:02] Production.INFO: ==26636== Releasing lock...
[2025-01-07 03:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:09:03] Production.INFO: ==26645== Lock acquired, processing the job...
[2025-01-07 03:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:09:03] Production.INFO: ==26641== Lock acquired, processing the job...
[2025-01-07 03:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:09:03] Production.INFO: ==26643== Lock acquired, processing the job...
[2025-01-07 03:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:09:03] Production.INFO: ==26649== Lock acquired, processing the job...
[2025-01-07 03:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:09:03] Production.INFO: ==26647== Lock acquired, processing the job...
[2025-01-07 03:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:09:03] Production.INFO: ==26651== Lock acquired, processing the job...
[2025-01-07 03:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:09:04] Production.INFO: Account Balance Start.
[2025-01-07 03:09:04] Production.INFO: CreateAllLog Start
[2025-01-07 03:09:04] Production.INFO: 117
[2025-01-07 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-07 03:09:04] Production.INFO: Date 2024-12-08
[2025-01-07 03:09:04] Production.ERROR: done
[2025-01-07 03:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:09:04] Production.INFO: count ==21
[2025-01-07 03:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 03:09:04] Production.INFO: count ==21
[2025-01-07 03:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192046') start
[2025-01-07 03:09:04] Production.INFO: Date 2024-12-09
[2025-01-07 03:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:09:04] Production.INFO: Date 2024-12-10
[2025-01-07 03:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:09:04] Production.INFO: Date 2024-12-11
[2025-01-07 03:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:09:04] Production.INFO: ==26643== Releasing lock...
[2025-01-07 03:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192046') end
[2025-01-07 03:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:09:04] Production.INFO: 1
[2025-01-07 03:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:09:04] Production.ERROR: done
[2025-01-07 03:09:04] Production.INFO: Date 2024-12-12
[2025-01-07 03:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:09:04] Production.INFO: Date 2024-12-13
[2025-01-07 03:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:09:04] Production.INFO: ==26651== Releasing lock...
[2025-01-07 03:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:09:04] Production.INFO: Date 2024-12-14
[2025-01-07 03:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:09:04] Production.INFO: Date 2024-12-15
[2025-01-07 03:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:09:04] Production.INFO: Date 2024-12-16
[2025-01-07 03:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:09:04] Production.INFO: Date 2024-12-17
[2025-01-07 03:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:09:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:09:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:09:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:09:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:09:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:09:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:09:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:09:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:09:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:09:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:09:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:09:05] Production.INFO: Date 2024-12-29
[2025-01-07 03:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:09:05] Production.INFO: Date 2024-12-30
[2025-01-07 03:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:09:05] Production.INFO: Date 2024-12-31
[2025-01-07 03:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:09:05] Production.INFO: Date 2025-01-01
[2025-01-07 03:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:09:05] Production.INFO: Date 2025-01-02
[2025-01-07 03:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:09:05] Production.INFO: Date 2025-01-03
[2025-01-07 03:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:09:05] Production.INFO: Date 2025-01-04
[2025-01-07 03:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:09:05] Production.INFO: Date 2025-01-05
[2025-01-07 03:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:09:05] Production.INFO: Date 2025-01-06
[2025-01-07 03:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:09:05] Production.INFO: Date 2025-01-07
[2025-01-07 03:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:09:05] Production.INFO: Total Charge 0
[2025-01-07 03:09:05] Production.INFO: CreateAllLog End
[2025-01-07 03:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:09:05
[end_date_ymd] => 2025-01-07 03:09:05
[RateCDR] => 1
)
[2025-01-07 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-07 00:09:05' and `end` < '2025-01-07 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-07 03:09:05] Production.INFO: Account Balance End.
[2025-01-07 03:09:05] Production.ERROR: CronJobId end 12
[2025-01-07 03:09:05] Production.INFO: ==26647== Releasing lock...
[2025-01-07 03:09:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:09:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:09:11] Production.ERROR: CronJobId end10
[2025-01-07 03:09:11] Production.INFO: ==26645== Releasing lock...
[2025-01-07 03:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:09:14] Production.INFO: call_cost start
[2025-01-07 03:09:14] Production.INFO: call_cost end
[2025-01-07 03:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:09:14] Production.INFO: ==26641== Releasing lock...
[2025-01-07 03:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:09:19] Production.INFO: count ==243
[2025-01-07 03:09:19] Production.ERROR: pbx CDR StartTime 2025-01-07 00:09:05 - End Time 2025-01-07 03:09:05
[2025-01-07 03:09:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192047', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192047', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192047', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192047', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:09:19] Production.INFO: ProcessCDR(1,14192047,1,1,2)
[2025-01-07 03:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192047,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192047,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192047,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192047,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192047', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192047', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:09:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:09:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:09:22] Production.INFO: ==26649== Releasing lock...
[2025-01-07 03:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:09:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 08:10:01] Production.INFO: ==26761== Lock acquired, processing the job...
[2025-01-07 08:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:10:01] Production.INFO: neon service started
[2025-01-07 08:10:01] Production.INFO: neon service started
[2025-01-07 08:10:01] Production.INFO: ==26761== Releasing lock...
[2025-01-07 08:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:10:01] Production.INFO: ==26769== Lock acquired, processing the job...
[2025-01-07 08:10:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:10:01] Production.INFO: ==26769== Releasing lock...
[2025-01-07 08:10:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:10:01] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:10:01] Production.INFO: ==26767== Lock acquired, processing the job...
[2025-01-07 03:10:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:10:02] Production.INFO: ==26767== Releasing lock...
[2025-01-07 03:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:10:03] Production.INFO: ==26772== Lock acquired, processing the job...
[2025-01-07 03:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 03:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 03:10:03] Production.INFO: ==26774== Lock acquired, processing the job...
[2025-01-07 03:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 03:10:03] Production.INFO: ==26772== Releasing lock...
[2025-01-07 03:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 03:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 03:10:03] Production.INFO: ==26776== Lock acquired, processing the job...
[2025-01-07 03:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:10:03] Production.INFO: ==26782== Lock acquired, processing the job...
[2025-01-07 03:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:10:03] Production.INFO: ==26778== Lock acquired, processing the job...
[2025-01-07 03:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:10:03] Production.INFO: ==26780== Lock acquired, processing the job...
[2025-01-07 03:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:10:03] Production.INFO: ==26776== Releasing lock...
[2025-01-07 03:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:10:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:10:03] Production.INFO: ==26784== Lock acquired, processing the job...
[2025-01-07 03:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 03:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:10:03] Production.INFO: Account Balance Start.
[2025-01-07 03:10:03] Production.INFO: CreateAllLog Start
[2025-01-07 03:10:03] Production.INFO: ==26786== Lock acquired, processing the job...
[2025-01-07 03:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:10:03] Production.INFO: 117
[2025-01-07 03:10:03] Production.INFO: Date 2024-12-08
[2025-01-07 03:10:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:10:03] Production.INFO: Date 2024-12-09
[2025-01-07 03:10:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:10:03] Production.INFO: Date 2024-12-10
[2025-01-07 03:10:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:10:03] Production.INFO: Date 2024-12-11
[2025-01-07 03:10:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:10:03] Production.INFO: Date 2024-12-12
[2025-01-07 03:10:03] Production.ERROR: done
[2025-01-07 03:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:10:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:10:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:10:03] Production.INFO: Date 2024-12-13
[2025-01-07 03:10:03] Production.INFO: Reseller ==> 0
[2025-01-07 03: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-07 03:10:03] Production.INFO: Date 2024-12-14
[2025-01-07 03:10:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:10:03] Production.INFO: count ==21
[2025-01-07 03:10:04] Production.ERROR: done
[2025-01-07 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-07 03:10:04] Production.INFO: count ==21
[2025-01-07 03:10:04] Production.INFO: Date 2024-12-15
[2025-01-07 03:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192051') start
[2025-01-07 03:10:04] Production.INFO: Date 2024-12-16
[2025-01-07 03:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:10:04] Production.INFO: Date 2024-12-17
[2025-01-07 03:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:10:04] Production.ERROR: done
[2025-01-07 03:10:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:10:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 03:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14192053', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 03:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192051') end
[2025-01-07 03:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:10:04] Production.INFO: 1
[2025-01-07 03:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:10:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:10:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:10:04] Production.INFO: ==26786== Releasing lock...
[2025-01-07 03:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:10:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:10:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:10:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:10:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:10:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:10:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:10:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:10:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:10:04] Production.INFO: Date 2024-12-30
[2025-01-07 03:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:10:04] Production.INFO: Date 2024-12-31
[2025-01-07 03:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:10:04] Production.INFO: Date 2025-01-01
[2025-01-07 03:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:10:04] Production.INFO: Date 2025-01-02
[2025-01-07 03:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:10:04] Production.INFO: Date 2025-01-03
[2025-01-07 03:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:10:04] Production.INFO: Date 2025-01-04
[2025-01-07 03:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:10:05] Production.INFO: Date 2025-01-05
[2025-01-07 03:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:10:05] Production.INFO: Date 2025-01-06
[2025-01-07 03:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:10:05] Production.INFO: Date 2025-01-07
[2025-01-07 03:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:10:05] Production.INFO: Total Charge 0
[2025-01-07 03:10:05] Production.INFO: CreateAllLog End
[2025-01-07 03:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:10:05
[end_date_ymd] => 2025-01-07 03:10:05
[RateCDR] => 1
)
[2025-01-07 03:10:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 00:10:05' and `end` < '2025-01-07 03:10:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 03:10:05] Production.INFO: Account Balance End.
[2025-01-07 03:10:05] Production.ERROR: CronJobId end 12
[2025-01-07 03:10:05] Production.INFO: ==26780== Releasing lock...
[2025-01-07 03:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:10:07] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14192053', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 03:10:07] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 03:10:07] Production.INFO: ProcessCDR(1,14192053,1,1,2)
[2025-01-07 03:10:07] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14192053,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14192053,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:10:08] Production.INFO: ==26784== Releasing lock...
[2025-01-07 03:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 03:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-07 03:10:12] Production.ERROR: CronJobId end10
[2025-01-07 03:10:12] Production.INFO: ==26778== Releasing lock...
[2025-01-07 03:10:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:10:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:10:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:10:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:10:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:10:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:10:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:10:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:10:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:10:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:10:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:10:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:10:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:10:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:10:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:10:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:10:14] Production.INFO: call_cost start
[2025-01-07 03:10:14] Production.INFO: call_cost end
[2025-01-07 03:10:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:10:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:10:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:10:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:10:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:10:15] Production.INFO: ==26774== Releasing lock...
[2025-01-07 03:10:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:10:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:10:17] Production.INFO: count ==243
[2025-01-07 03:10:18] Production.ERROR: pbx CDR StartTime 2025-01-07 00:10:05 - End Time 2025-01-07 03:10:05
[2025-01-07 03:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192052', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192052', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192052', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192052', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:10:18] Production.INFO: ProcessCDR(1,14192052,1,1,2)
[2025-01-07 03:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192052,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:10:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192052,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:10:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192052,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:10:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192052,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192052', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192052', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:10:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:10:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:10:21] Production.INFO: ==26782== Releasing lock...
[2025-01-07 03:10:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:10:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 08:11:01] Production.INFO: ==26855== Lock acquired, processing the job...
[2025-01-07 08:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:11:01] Production.INFO: neon service started
[2025-01-07 08:11:01] Production.INFO: neon service started
[2025-01-07 08:11:01] Production.INFO: ==26855== Releasing lock...
[2025-01-07 08:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:11:02] Production.INFO: ==26857== Lock acquired, processing the job...
[2025-01-07 03:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:11:02] Production.INFO: ==26859== Lock acquired, processing the job...
[2025-01-07 08:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:11:02] Production.INFO: ==26857== Releasing lock...
[2025-01-07 03:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:11:02] Production.INFO: ==26859== Releasing lock...
[2025-01-07 08:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:11:03] Production.INFO: ==26861== Lock acquired, processing the job...
[2025-01-07 03:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:11:03] Production.INFO: ==26863== Lock acquired, processing the job...
[2025-01-07 03:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:11:03] Production.INFO: ==26867== Lock acquired, processing the job...
[2025-01-07 03:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:11:03] Production.INFO: ==26869== Lock acquired, processing the job...
[2025-01-07 03:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:11:03] Production.INFO: Account Balance Start.
[2025-01-07 03:11:03] Production.INFO: CreateAllLog Start
[2025-01-07 03:11:03] Production.INFO: 117
[2025-01-07 03:11:03] Production.INFO: Date 2024-12-08
[2025-01-07 03:11:03] Production.INFO: ==26871== Lock acquired, processing the job...
[2025-01-07 03:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:11:03] Production.INFO: ==26865== Lock acquired, processing the job...
[2025-01-07 03:11:03] Production.INFO: Date 2024-12-09
[2025-01-07 03:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:11:03] Production.INFO: Date 2024-12-10
[2025-01-07 03:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:11:03] Production.INFO: ==26863== Releasing lock...
[2025-01-07 03:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:11:03] Production.INFO: Date 2024-12-11
[2025-01-07 03:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:11:03] Production.INFO: Date 2024-12-12
[2025-01-07 03:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 03:11:03] Production.INFO: count ==21
[2025-01-07 03:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 03:11:03] Production.INFO: count ==21
[2025-01-07 03:11:03] Production.ERROR: done
[2025-01-07 03:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:11:03] Production.INFO: Date 2024-12-13
[2025-01-07 03:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192057') start
[2025-01-07 03:11:03] Production.INFO: Date 2024-12-14
[2025-01-07 03:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:11:03] Production.INFO: Date 2024-12-15
[2025-01-07 03:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:11:03] Production.INFO: Date 2024-12-16
[2025-01-07 03:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:11:03] Production.ERROR: done
[2025-01-07 03:11:03] Production.INFO: Date 2024-12-17
[2025-01-07 03:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192057') end
[2025-01-07 03:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:11:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:11:04] Production.INFO: 1
[2025-01-07 03:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:11:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:11:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:11:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:11:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:11:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:11:04] Production.INFO: ==26871== Releasing lock...
[2025-01-07 03:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:11:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:11:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:11:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:11:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:11:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:11:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:11:04] Production.INFO: Date 2024-12-30
[2025-01-07 03:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:11:04] Production.INFO: Date 2024-12-31
[2025-01-07 03:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:11:04] Production.INFO: Date 2025-01-01
[2025-01-07 03:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:11:04] Production.INFO: Date 2025-01-02
[2025-01-07 03:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:11:04] Production.INFO: Date 2025-01-03
[2025-01-07 03:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:11:04] Production.INFO: Date 2025-01-04
[2025-01-07 03:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:11:04] Production.INFO: Date 2025-01-05
[2025-01-07 03:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:11:04] Production.INFO: Date 2025-01-06
[2025-01-07 03:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:11:04] Production.INFO: Date 2025-01-07
[2025-01-07 03:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:11:04] Production.INFO: Total Charge 0
[2025-01-07 03:11:04] Production.INFO: CreateAllLog End
[2025-01-07 03:11:04] Production.INFO: Account Balance End.
[2025-01-07 03:11:04] Production.ERROR: CronJobId end 12
[2025-01-07 03:11:04] Production.INFO: ==26867== Releasing lock...
[2025-01-07 03:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:11:05
[end_date_ymd] => 2025-01-07 03:11:05
[RateCDR] => 1
)
[2025-01-07 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-07 00:11:05' and `end` < '2025-01-07 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-07 03:11:10] Production.ERROR: CronJobId end10
[2025-01-07 03:11:10] Production.INFO: ==26865== Releasing lock...
[2025-01-07 03:11:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:11:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:11:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:11:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:11:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:11:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:11:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:11:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:11:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:11:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:11:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:11:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:11:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:11:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:11:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:11:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:11:12] Production.INFO: call_cost start
[2025-01-07 03:11:12] Production.INFO: call_cost end
[2025-01-07 03:11:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:11:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:11:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:11:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:11:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:11:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:11:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:11:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:11:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:11:13] Production.INFO: ==26861== Releasing lock...
[2025-01-07 03:11:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:11:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:11:17] Production.INFO: count ==229
[2025-01-07 03:11:17] Production.ERROR: pbx CDR StartTime 2025-01-07 00:11:05 - End Time 2025-01-07 03:11:05
[2025-01-07 03:11:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192058', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192058', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192058', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192058', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:11:17] Production.INFO: ProcessCDR(1,14192058,1,1,2)
[2025-01-07 03:11:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192058,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:11:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192058,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:11:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192058,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:11:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192058,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:11:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192058', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:11:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192058', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:11:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:11:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:11:20] Production.INFO: ==26869== Releasing lock...
[2025-01-07 03:11:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:11:20] Production.INFO: 29 MB #Memory Used#
[2025-01-07 08:12:02] Production.INFO: ==26937== Lock acquired, processing the job...
[2025-01-07 08:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:12:02] Production.INFO: neon service started
[2025-01-07 08:12:02] Production.INFO: neon service started
[2025-01-07 08:12:02] Production.INFO: ==26937== Releasing lock...
[2025-01-07 08:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:12:02] Production.INFO: ==26939== Lock acquired, processing the job...
[2025-01-07 03:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:12:02] Production.INFO: ==26939== Releasing lock...
[2025-01-07 03:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:12:03] Production.INFO: ==26941== Lock acquired, processing the job...
[2025-01-07 08:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:12:03] Production.INFO: ==26941== Releasing lock...
[2025-01-07 08:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:12:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:12:03] Production.INFO: ==26947== Lock acquired, processing the job...
[2025-01-07 03:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:12:03] Production.INFO: ==26954== Lock acquired, processing the job...
[2025-01-07 03:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:12:03] Production.INFO: ==26943== Lock acquired, processing the job...
[2025-01-07 03:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 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-07 03:12:03] Production.INFO: count ==21
[2025-01-07 03:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:12:03] Production.INFO: ==26945== Lock acquired, processing the job...
[2025-01-07 03:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 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-07 03:12:04] Production.INFO: count ==21
[2025-01-07 03:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192059') start
[2025-01-07 03:12:04] Production.INFO: ==26952== Lock acquired, processing the job...
[2025-01-07 03:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:12:04] Production.INFO: ==26949== Lock acquired, processing the job...
[2025-01-07 03:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192059') end
[2025-01-07 03:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:12:04] Production.INFO: 1
[2025-01-07 03:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:12:04] Production.INFO: ==26954== Releasing lock...
[2025-01-07 03:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:12:04] Production.INFO: Account Balance Start.
[2025-01-07 03:12:04] Production.INFO: CreateAllLog Start
[2025-01-07 03:12:04] Production.INFO: 117
[2025-01-07 03:12:04] Production.INFO: Date 2024-12-08
[2025-01-07 03:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:12:04] Production.INFO: ==26945== Releasing lock...
[2025-01-07 03:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:12:04] Production.INFO: Date 2024-12-09
[2025-01-07 03:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:12:04] Production.INFO: Date 2024-12-10
[2025-01-07 03:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:12:04] Production.ERROR: done
[2025-01-07 03:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:12:04] Production.INFO: Date 2024-12-11
[2025-01-07 03:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:12:04] Production.INFO: Date 2024-12-12
[2025-01-07 03:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:12:04] Production.INFO: Date 2024-12-13
[2025-01-07 03:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:12:04] Production.ERROR: done
[2025-01-07 03:12:04] Production.INFO: Date 2024-12-14
[2025-01-07 03:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:12:04] Production.INFO: Date 2024-12-15
[2025-01-07 03:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:12:04] Production.INFO: Date 2024-12-16
[2025-01-07 03:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:12:04] Production.INFO: Date 2024-12-17
[2025-01-07 03:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:12:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:12:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:12:05] Production.INFO: Date 2024-12-20
[2025-01-07 03:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:12:05] Production.INFO: Date 2024-12-21
[2025-01-07 03:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:12:05] Production.INFO: Date 2024-12-22
[2025-01-07 03:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:12:05] Production.INFO: Date 2024-12-23
[2025-01-07 03:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:12:05] Production.INFO: Date 2024-12-24
[2025-01-07 03:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:12:05] Production.INFO: Date 2024-12-25
[2025-01-07 03:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:12:05] Production.INFO: Date 2024-12-26
[2025-01-07 03:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:12:05] Production.INFO: Date 2024-12-27
[2025-01-07 03:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:12:05] Production.INFO: Date 2024-12-28
[2025-01-07 03:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:12:05] Production.INFO: Date 2024-12-29
[2025-01-07 03:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:12:05] Production.INFO: Date 2024-12-30
[2025-01-07 03:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:12:05] Production.INFO: Date 2024-12-31
[2025-01-07 03:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:12:05] Production.INFO: Date 2025-01-01
[2025-01-07 03:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:12:05] Production.INFO: Date 2025-01-02
[2025-01-07 03:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:12:05] Production.INFO: Date 2025-01-03
[2025-01-07 03:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:12:05] Production.INFO: Date 2025-01-04
[2025-01-07 03:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:12:05] Production.INFO: Date 2025-01-05
[2025-01-07 03:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:12:05] Production.INFO: Date 2025-01-06
[2025-01-07 03:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:12:05] Production.INFO: Date 2025-01-07
[2025-01-07 03:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:12:05] Production.INFO: Total Charge 0
[2025-01-07 03:12:05] Production.INFO: CreateAllLog End
[2025-01-07 03:12:05] Production.INFO: Account Balance End.
[2025-01-07 03:12:05] Production.ERROR: CronJobId end 12
[2025-01-07 03:12:05] Production.INFO: ==26949== Releasing lock...
[2025-01-07 03:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:12:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:12:05
[end_date_ymd] => 2025-01-07 03:12:05
[RateCDR] => 1
)
[2025-01-07 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-07 00:12:05' and `end` < '2025-01-07 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-07 03:12: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-07 03:12:10] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:12:10] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:12:10] Production.ERROR: CronJobId end10
[2025-01-07 03:12:10] Production.INFO: ==26947== Releasing lock...
[2025-01-07 03:12:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:12:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:12:10] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:12:10] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:12:10] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:12:10] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:12:10] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:12:10] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:12:10] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:12:10] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:12:10] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:12:10] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:12:10] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:12:10] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:12:11] Production.INFO: call_cost start
[2025-01-07 03:12:11] Production.INFO: call_cost end
[2025-01-07 03:12:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:12:12] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:12:12] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:12:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:12:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:12:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:12:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:12:12] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:12:12] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:12:12] Production.INFO: ==26943== Releasing lock...
[2025-01-07 03:12:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:12:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:12:18] Production.INFO: count ==229
[2025-01-07 03:12:18] Production.ERROR: pbx CDR StartTime 2025-01-07 00:12:05 - End Time 2025-01-07 03:12:05
[2025-01-07 03:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192063', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192063', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192063', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192063', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:12:18] Production.INFO: ProcessCDR(1,14192063,1,1,2)
[2025-01-07 03:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192063,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192063,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192063,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192063,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192063', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192063', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:12:21] Production.INFO: ==26952== Releasing lock...
[2025-01-07 03:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:12:21] Production.INFO: 29 MB #Memory Used#
[2025-01-07 08:13:01] Production.INFO: ==27134== Lock acquired, processing the job...
[2025-01-07 08:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:13:01] Production.INFO: neon service started
[2025-01-07 08:13:01] Production.INFO: neon service started
[2025-01-07 08:13:01] Production.INFO: ==27134== Releasing lock...
[2025-01-07 08:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:13:01] Production.INFO: ==27136== Lock acquired, processing the job...
[2025-01-07 03:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:13:02] Production.INFO: ==27136== Releasing lock...
[2025-01-07 03:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:13:02] Production.INFO: ==27138== Lock acquired, processing the job...
[2025-01-07 08:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:13:02] Production.INFO: ==27138== Releasing lock...
[2025-01-07 08:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:13:02] Production.INFO: ==27140== Lock acquired, processing the job...
[2025-01-07 03:13:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:13:03] Production.INFO: ==27142== Lock acquired, processing the job...
[2025-01-07 03:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:13:03] Production.INFO: ==27144== Lock acquired, processing the job...
[2025-01-07 03:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:13:03] Production.INFO: ==27146== Lock acquired, processing the job...
[2025-01-07 03:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:13:03] Production.INFO: ==27148== Lock acquired, processing the job...
[2025-01-07 03:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:13:03] Production.INFO: Account Balance Start.
[2025-01-07 03:13:03] Production.INFO: CreateAllLog Start
[2025-01-07 03:13:03] Production.INFO: ==27142== Releasing lock...
[2025-01-07 03:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:13:03] Production.INFO: 117
[2025-01-07 03:13:03] Production.INFO: Date 2024-12-08
[2025-01-07 03:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:13:03] Production.INFO: ==27150== Lock acquired, processing the job...
[2025-01-07 03:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:13:03] Production.INFO: Date 2024-12-09
[2025-01-07 03:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:13:03] Production.INFO: Date 2024-12-10
[2025-01-07 03:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:13:03] Production.INFO: Date 2024-12-11
[2025-01-07 03:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 03:13:03] Production.INFO: Date 2024-12-12
[2025-01-07 03:13:03] Production.INFO: count ==21
[2025-01-07 03:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:13:03] Production.INFO: Date 2024-12-13
[2025-01-07 03:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 03:13:03] Production.INFO: count ==21
[2025-01-07 03:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192067') start
[2025-01-07 03:13:03] Production.INFO: Date 2024-12-14
[2025-01-07 03:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:13:03] Production.INFO: Date 2024-12-15
[2025-01-07 03:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:13:03] Production.INFO: Date 2024-12-16
[2025-01-07 03:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:13:03] Production.INFO: Date 2024-12-17
[2025-01-07 03:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:13:03] Production.ERROR: done
[2025-01-07 03:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192067') end
[2025-01-07 03:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:13:03] Production.INFO: 1
[2025-01-07 03:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:13:03] Production.INFO: Date 2024-12-18
[2025-01-07 03:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:13:03] Production.INFO: Date 2024-12-19
[2025-01-07 03:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:13:03] Production.INFO: Date 2024-12-20
[2025-01-07 03:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:13:04] Production.INFO: ==27150== Releasing lock...
[2025-01-07 03:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:13:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:13:04] Production.ERROR: done
[2025-01-07 03:13:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:13:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:13:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:13:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:13:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:13:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:13:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:13:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:13:04] Production.INFO: Date 2024-12-30
[2025-01-07 03:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:13:04] Production.INFO: Date 2024-12-31
[2025-01-07 03:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:13:04] Production.INFO: Date 2025-01-01
[2025-01-07 03:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:13:04] Production.INFO: Date 2025-01-02
[2025-01-07 03:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:13:04] Production.INFO: Date 2025-01-03
[2025-01-07 03:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:13:04] Production.INFO: Date 2025-01-04
[2025-01-07 03:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:13:04] Production.INFO: Date 2025-01-05
[2025-01-07 03:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:13:04] Production.INFO: Date 2025-01-06
[2025-01-07 03:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:13:04] Production.INFO: Date 2025-01-07
[2025-01-07 03:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:13:04] Production.INFO: Total Charge 0
[2025-01-07 03:13:04] Production.INFO: CreateAllLog End
[2025-01-07 03:13:04] Production.INFO: Account Balance End.
[2025-01-07 03:13:04] Production.ERROR: CronJobId end 12
[2025-01-07 03:13:04] Production.INFO: ==27146== Releasing lock...
[2025-01-07 03:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:13:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:13:04
[end_date_ymd] => 2025-01-07 03:13:04
[RateCDR] => 1
)
[2025-01-07 03:13:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 00:13:04' and `end` < '2025-01-07 03:13:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 03:13:11] Production.ERROR: CronJobId end10
[2025-01-07 03:13:11] Production.INFO: ==27144== Releasing lock...
[2025-01-07 03:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:13:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:13:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:13:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:13:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:13:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:13:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:13:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:13:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:13:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:13:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:13:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:13:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:13:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:13:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:13:12] Production.INFO: call_cost start
[2025-01-07 03:13:12] Production.INFO: call_cost end
[2025-01-07 03:13:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:13:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:13:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:13:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:13:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:13:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:13:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:13:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:13:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:13:13] Production.INFO: ==27140== Releasing lock...
[2025-01-07 03:13:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:13:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:13:18] Production.INFO: count ==229
[2025-01-07 03:13:18] Production.ERROR: pbx CDR StartTime 2025-01-07 00:13:04 - End Time 2025-01-07 03:13:04
[2025-01-07 03:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192068', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192068', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192068', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192068', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:13:18] Production.INFO: ProcessCDR(1,14192068,1,1,2)
[2025-01-07 03:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192068,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192068,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192068,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192068,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192068', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192068', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:13:21] Production.INFO: ==27148== Releasing lock...
[2025-01-07 03:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:13:21] Production.INFO: 29 MB #Memory Used#
[2025-01-07 08:14:02] Production.INFO: ==27211== Lock acquired, processing the job...
[2025-01-07 08:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:14:02] Production.INFO: neon service started
[2025-01-07 08:14:02] Production.INFO: neon service started
[2025-01-07 08:14:02] Production.INFO: ==27211== Releasing lock...
[2025-01-07 08:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:14:02] Production.INFO: ==27213== Lock acquired, processing the job...
[2025-01-07 03:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:14:02] Production.INFO: ==27213== Releasing lock...
[2025-01-07 03:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:14:02] Production.INFO: ==27215== Lock acquired, processing the job...
[2025-01-07 08:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:14:02] Production.INFO: ==27215== Releasing lock...
[2025-01-07 08:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:14:03] Production.INFO: ==27217== Lock acquired, processing the job...
[2025-01-07 03:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:14:03] Production.INFO: ==27221== Lock acquired, processing the job...
[2025-01-07 03:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:14:03] Production.INFO: ==27225== Lock acquired, processing the job...
[2025-01-07 03:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:14:03] Production.INFO: ==27219== Lock acquired, processing the job...
[2025-01-07 03:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:14:03] Production.INFO: ==27223== Lock acquired, processing the job...
[2025-01-07 03:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:14:03] Production.INFO: ==27227== Lock acquired, processing the job...
[2025-01-07 03:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:14:03] Production.INFO: Account Balance Start.
[2025-01-07 03:14:03] Production.INFO: CreateAllLog Start
[2025-01-07 03:14:03] Production.INFO: 117
[2025-01-07 03:14:04] Production.ERROR: done
[2025-01-07 03:14:04] Production.INFO: Date 2024-12-08
[2025-01-07 03:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 03:14:04] Production.INFO: count ==21
[2025-01-07 03:14:04] Production.INFO: Date 2024-12-09
[2025-01-07 03:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 03:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:14:04] Production.INFO: count ==21
[2025-01-07 03:14:04] Production.ERROR: done
[2025-01-07 03:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192072') start
[2025-01-07 03:14:04] Production.INFO: Date 2024-12-10
[2025-01-07 03:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:14:04] Production.INFO: ==27219== Releasing lock...
[2025-01-07 03:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:14:04] Production.INFO: Date 2024-12-11
[2025-01-07 03:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:14:04] Production.INFO: Date 2024-12-12
[2025-01-07 03:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:14:04] Production.INFO: Date 2024-12-13
[2025-01-07 03:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192072') end
[2025-01-07 03:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:14:04] Production.INFO: 1
[2025-01-07 03:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:14:04] Production.INFO: ==27227== Releasing lock...
[2025-01-07 03:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:14:04] Production.INFO: Date 2024-12-14
[2025-01-07 03:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:14:04] Production.INFO: Date 2024-12-15
[2025-01-07 03:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:14:04] Production.INFO: Date 2024-12-16
[2025-01-07 03:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:14:04] Production.INFO: Date 2024-12-17
[2025-01-07 03:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:14:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:14:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:14:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:14:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:14:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:14:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:14:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:14:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:14:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:14:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:14:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:14:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:14:04] Production.INFO: Date 2024-12-30
[2025-01-07 03:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:14:05] Production.INFO: Date 2024-12-31
[2025-01-07 03:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:14:05] Production.INFO: Date 2025-01-01
[2025-01-07 03:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:14:05] Production.INFO: Date 2025-01-02
[2025-01-07 03:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:14:05] Production.INFO: Date 2025-01-03
[2025-01-07 03:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:14:05] Production.INFO: Date 2025-01-04
[2025-01-07 03:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:14:05] Production.INFO: Date 2025-01-05
[2025-01-07 03:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:14:05] Production.INFO: Date 2025-01-06
[2025-01-07 03:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:14:05] Production.INFO: Date 2025-01-07
[2025-01-07 03:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:14:05] Production.INFO: Total Charge 0
[2025-01-07 03:14:05] Production.INFO: CreateAllLog End
[2025-01-07 03:14:05] Production.INFO: Account Balance End.
[2025-01-07 03:14:05] Production.ERROR: CronJobId end 12
[2025-01-07 03:14:05] Production.INFO: ==27223== Releasing lock...
[2025-01-07 03:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:14:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:14:05
[end_date_ymd] => 2025-01-07 03:14:05
[RateCDR] => 1
)
[2025-01-07 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-07 00:14:05' and `end` < '2025-01-07 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-07 03:14:10] Production.ERROR: CronJobId end10
[2025-01-07 03:14:10] Production.INFO: ==27221== Releasing lock...
[2025-01-07 03:14:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:14:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:14:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:14:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:14:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:14:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:14:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:14:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:14:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:14:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:14:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:14:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:14:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:14:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:14:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:14:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:14:12] Production.INFO: call_cost start
[2025-01-07 03:14:12] Production.INFO: call_cost end
[2025-01-07 03:14:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:14:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:14:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:14:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:14:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:14:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:14:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:14:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:14:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:14:13] Production.INFO: ==27217== Releasing lock...
[2025-01-07 03:14:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:14:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:14:19] Production.INFO: count ==229
[2025-01-07 03:14:19] Production.ERROR: pbx CDR StartTime 2025-01-07 00:14:05 - End Time 2025-01-07 03:14:05
[2025-01-07 03:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192073', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192073', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192073', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192073', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:14:19] Production.INFO: ProcessCDR(1,14192073,1,1,2)
[2025-01-07 03:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192073,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192073,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192073,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192073,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192073', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192073', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:14:22] Production.INFO: ==27225== Releasing lock...
[2025-01-07 03:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:14:22] Production.INFO: 29 MB #Memory Used#
[2025-01-07 08:15:01] Production.INFO: ==27289== Lock acquired, processing the job...
[2025-01-07 08:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:15:01] Production.INFO: neon service started
[2025-01-07 08:15:01] Production.INFO: neon service started
[2025-01-07 08:15:01] Production.INFO: ==27289== Releasing lock...
[2025-01-07 08:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:15:02] Production.INFO: ==27291== Lock acquired, processing the job...
[2025-01-07 03:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:15:02] Production.INFO: ==27293== Lock acquired, processing the job...
[2025-01-07 08:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:15:02] Production.INFO: ==27293== Releasing lock...
[2025-01-07 08:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:15:02] Production.INFO: ==27291== Releasing lock...
[2025-01-07 03:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:15:03] Production.INFO: ==27298== Lock acquired, processing the job...
[2025-01-07 03:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:15:03] Production.INFO: ==27302== Lock acquired, processing the job...
[2025-01-07 03:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:15:03] Production.INFO: ==27304== Lock acquired, processing the job...
[2025-01-07 03:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:15:03] Production.INFO: Account Balance Start.
[2025-01-07 03:15:03] Production.INFO: CreateAllLog Start
[2025-01-07 03:15:03] Production.INFO: 117
[2025-01-07 03:15:03] Production.INFO: Date 2024-12-08
[2025-01-07 03:15:03] Production.INFO: ==27296== Lock acquired, processing the job...
[2025-01-07 03:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:15:03] Production.INFO: ==27300== Lock acquired, processing the job...
[2025-01-07 03:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:15:03] Production.INFO: Date 2024-12-09
[2025-01-07 03:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:15:03] Production.INFO: Date 2024-12-10
[2025-01-07 03:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:15:03] Production.INFO: ==27298== Releasing lock...
[2025-01-07 03:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:15:03] Production.INFO: ==27306== Lock acquired, processing the job...
[2025-01-07 03:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:15:03] Production.INFO: Date 2024-12-11
[2025-01-07 03:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:15:03] Production.INFO: Date 2024-12-12
[2025-01-07 03:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:15:03] Production.ERROR: done
[2025-01-07 03:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:15:03] Production.INFO: Date 2024-12-13
[2025-01-07 03:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 03:15:03] Production.INFO: Date 2024-12-14
[2025-01-07 03:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:15:03] Production.INFO: Date 2024-12-15
[2025-01-07 03:15:03] Production.INFO: count ==21
[2025-01-07 03:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 03:15:03] Production.INFO: Date 2024-12-16
[2025-01-07 03:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:15:03] Production.INFO: count ==21
[2025-01-07 03:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192077') start
[2025-01-07 03:15:03] Production.ERROR: done
[2025-01-07 03:15:03] Production.INFO: Date 2024-12-17
[2025-01-07 03:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:15:03] Production.INFO: Date 2024-12-18
[2025-01-07 03:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:15:03] Production.INFO: Date 2024-12-19
[2025-01-07 03:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192077') end
[2025-01-07 03:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:15:03] Production.INFO: 1
[2025-01-07 03:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:15:03] Production.INFO: Date 2024-12-20
[2025-01-07 03:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:15:04] Production.INFO: ==27306== Releasing lock...
[2025-01-07 03:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:15:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:15:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:15:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:15:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:15:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:15:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:15:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:15:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:15:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:15:04] Production.INFO: Date 2024-12-30
[2025-01-07 03:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:15:04] Production.INFO: Date 2024-12-31
[2025-01-07 03:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:15:04] Production.INFO: Date 2025-01-01
[2025-01-07 03:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:15:04] Production.INFO: Date 2025-01-02
[2025-01-07 03:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:15:04] Production.INFO: Date 2025-01-03
[2025-01-07 03:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:15:04] Production.INFO: Date 2025-01-04
[2025-01-07 03:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:15:04] Production.INFO: Date 2025-01-05
[2025-01-07 03:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:15:04] Production.INFO: Date 2025-01-06
[2025-01-07 03:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:15:04] Production.INFO: Date 2025-01-07
[2025-01-07 03:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:15:04] Production.INFO: Total Charge 0
[2025-01-07 03:15:04] Production.INFO: CreateAllLog End
[2025-01-07 03:15:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:15:04
[end_date_ymd] => 2025-01-07 03:15:04
[RateCDR] => 1
)
[2025-01-07 03: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-07 00:15:04' and `end` < '2025-01-07 03: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-07 03:15:04] Production.INFO: Account Balance End.
[2025-01-07 03:15:04] Production.ERROR: CronJobId end 12
[2025-01-07 03:15:04] Production.INFO: ==27302== Releasing lock...
[2025-01-07 03:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:15:10] Production.ERROR: CronJobId end10
[2025-01-07 03:15:10] Production.INFO: ==27300== Releasing lock...
[2025-01-07 03:15:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:15:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:15:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:15:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:15:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:15:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:15:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:15:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:15:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:15:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:15:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:15:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:15:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:15:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:15:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:15:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:15:12] Production.INFO: call_cost start
[2025-01-07 03:15:12] Production.INFO: call_cost end
[2025-01-07 03:15:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:15:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:15:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:15:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:15:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:15:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:15:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:15:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:15:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:15:13] Production.INFO: ==27296== Releasing lock...
[2025-01-07 03:15:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:15:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:15:17] Production.INFO: count ==229
[2025-01-07 03:15:17] Production.ERROR: pbx CDR StartTime 2025-01-07 00:15:04 - End Time 2025-01-07 03:15:04
[2025-01-07 03:15:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192078', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192078', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192078', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192078', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:15:17] Production.INFO: ProcessCDR(1,14192078,1,1,2)
[2025-01-07 03:15:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192078,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:15:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192078,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:15:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192078,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:15:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192078,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:15:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192078', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:15:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192078', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:15:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:15:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:15:20] Production.INFO: ==27304== Releasing lock...
[2025-01-07 03:15:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:15:20] Production.INFO: 29 MB #Memory Used#
[2025-01-07 08:16:01] Production.INFO: ==27366== Lock acquired, processing the job...
[2025-01-07 08:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:16:01] Production.INFO: neon service started
[2025-01-07 08:16:01] Production.INFO: neon service started
[2025-01-07 08:16:01] Production.INFO: ==27366== Releasing lock...
[2025-01-07 08:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:16:02] Production.INFO: ==27368== Lock acquired, processing the job...
[2025-01-07 03:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:16:02] Production.INFO: ==27370== Lock acquired, processing the job...
[2025-01-07 08:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:16:02] Production.INFO: ==27370== Releasing lock...
[2025-01-07 08:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:16:02] Production.INFO: ==27368== Releasing lock...
[2025-01-07 03:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:16:03] Production.INFO: ==27377== Lock acquired, processing the job...
[2025-01-07 03:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:16:03] Production.INFO: ==27381== Lock acquired, processing the job...
[2025-01-07 03:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:16:03] Production.INFO: ==27373== Lock acquired, processing the job...
[2025-01-07 03:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:16:03] Production.INFO: ==27375== Lock acquired, processing the job...
[2025-01-07 03:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:16:03] Production.INFO: ==27379== Lock acquired, processing the job...
[2025-01-07 03:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:16:03] Production.INFO: ==27383== Lock acquired, processing the job...
[2025-01-07 03:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:16:04] Production.ERROR: done
[2025-01-07 03:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:16:04] Production.INFO: Account Balance Start.
[2025-01-07 03:16:04] Production.INFO: CreateAllLog Start
[2025-01-07 03:16:04] Production.INFO: 117
[2025-01-07 03:16:04] Production.INFO: Date 2024-12-08
[2025-01-07 03:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 03:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:16:04] Production.INFO: count ==21
[2025-01-07 03:16:04] Production.ERROR: done
[2025-01-07 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-07 03:16:04] Production.INFO: count ==21
[2025-01-07 03:16:04] Production.INFO: ==27375== Releasing lock...
[2025-01-07 03:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192082') start
[2025-01-07 03:16:04] Production.INFO: Date 2024-12-09
[2025-01-07 03:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:16:04] Production.INFO: Date 2024-12-10
[2025-01-07 03:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:16:04] Production.INFO: Date 2024-12-11
[2025-01-07 03:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:16:04] Production.INFO: Date 2024-12-12
[2025-01-07 03:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192082') end
[2025-01-07 03:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:16:04] Production.INFO: 1
[2025-01-07 03:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:16:04] Production.INFO: Date 2024-12-13
[2025-01-07 03:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:16:04] Production.INFO: ==27383== Releasing lock...
[2025-01-07 03:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:16:04] Production.INFO: Date 2024-12-14
[2025-01-07 03:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:16:04] Production.INFO: Date 2024-12-15
[2025-01-07 03:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:16:04] Production.INFO: Date 2024-12-16
[2025-01-07 03:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:16:04] Production.INFO: Date 2024-12-17
[2025-01-07 03:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:16:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:16:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:16:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:16:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:16:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:16:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:16:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:16:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:16:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:16:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:16:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:16:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:16:04] Production.INFO: Date 2024-12-30
[2025-01-07 03:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:16:04] Production.INFO: Date 2024-12-31
[2025-01-07 03:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:16:05] Production.INFO: Date 2025-01-01
[2025-01-07 03:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:16:05] Production.INFO: Date 2025-01-02
[2025-01-07 03:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:16:05] Production.INFO: Date 2025-01-03
[2025-01-07 03:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:16:05] Production.INFO: Date 2025-01-04
[2025-01-07 03:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:16:05] Production.INFO: Date 2025-01-05
[2025-01-07 03:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:16:05] Production.INFO: Date 2025-01-06
[2025-01-07 03:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:16:05] Production.INFO: Date 2025-01-07
[2025-01-07 03:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:16:05] Production.INFO: Total Charge 0
[2025-01-07 03:16:05] Production.INFO: CreateAllLog End
[2025-01-07 03:16:05] Production.INFO: Account Balance End.
[2025-01-07 03:16:05] Production.ERROR: CronJobId end 12
[2025-01-07 03:16:05] Production.INFO: ==27379== Releasing lock...
[2025-01-07 03:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:16:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:16:05
[end_date_ymd] => 2025-01-07 03:16:05
[RateCDR] => 1
)
[2025-01-07 03:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 00:16:05' and `end` < '2025-01-07 03:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 03:16:11] Production.ERROR: CronJobId end10
[2025-01-07 03:16:11] Production.INFO: ==27377== Releasing lock...
[2025-01-07 03:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:16:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:16:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:16:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:16:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:16:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:16:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:16:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:16:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:16:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:16:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:16:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:16:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:16:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:16:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:16:12] Production.INFO: call_cost start
[2025-01-07 03:16:12] Production.INFO: call_cost end
[2025-01-07 03:16:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:16:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:16:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:16:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:16:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:16:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:16:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:16:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:16:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:16:13] Production.INFO: ==27373== Releasing lock...
[2025-01-07 03:16:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:16:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:16:18] Production.INFO: count ==229
[2025-01-07 03:16:18] Production.ERROR: pbx CDR StartTime 2025-01-07 00:16:05 - End Time 2025-01-07 03:16:05
[2025-01-07 03:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192083', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192083', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192083', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192083', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:16:18] Production.INFO: ProcessCDR(1,14192083,1,1,2)
[2025-01-07 03:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192083,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192083,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192083,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192083,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192083', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192083', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:16:21] Production.INFO: ==27381== Releasing lock...
[2025-01-07 03:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:16:21] Production.INFO: 29 MB #Memory Used#
[2025-01-07 08:17:01] Production.INFO: ==27516== Lock acquired, processing the job...
[2025-01-07 08:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:17:01] Production.INFO: neon service started
[2025-01-07 08:17:01] Production.INFO: neon service started
[2025-01-07 08:17:01] Production.INFO: ==27516== Releasing lock...
[2025-01-07 08:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:17:01] Production.INFO: ==27518== Lock acquired, processing the job...
[2025-01-07 03:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:17:01] Production.INFO: ==27518== Releasing lock...
[2025-01-07 03:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:17:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:17:01] Production.INFO: ==27520== Lock acquired, processing the job...
[2025-01-07 08:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:17:02] Production.INFO: ==27520== Releasing lock...
[2025-01-07 08:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:17:02] Production.INFO: ==27532== Lock acquired, processing the job...
[2025-01-07 03:17:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:17:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:17:02] Production.INFO: ==27534== Lock acquired, processing the job...
[2025-01-07 03:17:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:17:02] Production.INFO: ==27523== Lock acquired, processing the job...
[2025-01-07 03:17:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:17:02] Production.INFO: ==27525== Lock acquired, processing the job...
[2025-01-07 03:17:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:17:02] Production.INFO: ==27527== Lock acquired, processing the job...
[2025-01-07 03:17:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:17:03] Production.INFO: ==27529== Lock acquired, processing the job...
[2025-01-07 03:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 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-07 03:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:17:03] Production.INFO: count ==21
[2025-01-07 03:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 03:17:03] Production.INFO: count ==21
[2025-01-07 03:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192084') start
[2025-01-07 03:17:03] Production.ERROR: done
[2025-01-07 03:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192084') end
[2025-01-07 03:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:17:03] Production.INFO: 1
[2025-01-07 03:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:17:03] Production.INFO: Account Balance Start.
[2025-01-07 03:17:03] Production.INFO: CreateAllLog Start
[2025-01-07 03:17:03] Production.INFO: 117
[2025-01-07 03:17:03] Production.INFO: Date 2024-12-08
[2025-01-07 03:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:17:03] Production.INFO: ==27534== Releasing lock...
[2025-01-07 03:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:17:03] Production.INFO: ==27525== Releasing lock...
[2025-01-07 03:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:17:03] Production.ERROR: done
[2025-01-07 03:17:03] Production.INFO: Date 2024-12-09
[2025-01-07 03:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:17:03] Production.INFO: Date 2024-12-10
[2025-01-07 03:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:17:03] Production.INFO: Date 2024-12-11
[2025-01-07 03:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:17:03] Production.INFO: Date 2024-12-12
[2025-01-07 03:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:17:03] Production.INFO: Date 2024-12-13
[2025-01-07 03:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:17:03] Production.INFO: Date 2024-12-14
[2025-01-07 03:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:17:03] Production.INFO: Date 2024-12-15
[2025-01-07 03:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:17:03] Production.INFO: Date 2024-12-16
[2025-01-07 03:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:17:03] Production.INFO: Date 2024-12-17
[2025-01-07 03:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:17:03] Production.INFO: Date 2024-12-18
[2025-01-07 03:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:17:03] Production.INFO: Date 2024-12-19
[2025-01-07 03:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:17:03] Production.INFO: Date 2024-12-20
[2025-01-07 03:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:17:03] Production.INFO: Date 2024-12-21
[2025-01-07 03:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:17:03] Production.INFO: Date 2024-12-22
[2025-01-07 03:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:17:03] Production.INFO: Date 2024-12-23
[2025-01-07 03:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:17:03] Production.INFO: Date 2024-12-24
[2025-01-07 03:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:17:03] Production.INFO: Date 2024-12-25
[2025-01-07 03:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:17:03] Production.INFO: Date 2024-12-26
[2025-01-07 03:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:17:03] Production.INFO: Date 2024-12-27
[2025-01-07 03:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:17:03] Production.INFO: Date 2024-12-28
[2025-01-07 03:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:17:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:17:04] Production.INFO: Date 2024-12-30
[2025-01-07 03:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:17:04] Production.INFO: Date 2024-12-31
[2025-01-07 03:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:17:04] Production.INFO: Date 2025-01-01
[2025-01-07 03:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:17:04] Production.INFO: Date 2025-01-02
[2025-01-07 03:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:17:04] Production.INFO: Date 2025-01-03
[2025-01-07 03:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:17:04] Production.INFO: Date 2025-01-04
[2025-01-07 03:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:17:04] Production.INFO: Date 2025-01-05
[2025-01-07 03:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:17:04] Production.INFO: Date 2025-01-06
[2025-01-07 03:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:17:04] Production.INFO: Date 2025-01-07
[2025-01-07 03:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:17:04] Production.INFO: Total Charge 0
[2025-01-07 03:17:04] Production.INFO: CreateAllLog End
[2025-01-07 03:17:04] Production.INFO: Account Balance End.
[2025-01-07 03:17:04] Production.ERROR: CronJobId end 12
[2025-01-07 03:17:04] Production.INFO: ==27529== Releasing lock...
[2025-01-07 03:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:17:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:17:04
[end_date_ymd] => 2025-01-07 03:17:04
[RateCDR] => 1
)
[2025-01-07 03:17:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 00:17:04' and `end` < '2025-01-07 03:17:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 03:17:09] Production.ERROR: CronJobId end10
[2025-01-07 03:17:09] Production.INFO: ==27527== Releasing lock...
[2025-01-07 03:17:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:17:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:17:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:17:11] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:17:11] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:17:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:17:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:17:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:17:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:17:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:17:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:17:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:17:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:17:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:17:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:17:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:17:11] Production.INFO: call_cost start
[2025-01-07 03:17:11] Production.INFO: call_cost end
[2025-01-07 03:17:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:17:12] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:17:12] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:17:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:17:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:17:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:17:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:17:12] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:17:12] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:17:12] Production.INFO: ==27523== Releasing lock...
[2025-01-07 03:17:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:17:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:17:18] Production.INFO: count ==229
[2025-01-07 03:17:18] Production.ERROR: pbx CDR StartTime 2025-01-07 00:17:04 - End Time 2025-01-07 03:17:04
[2025-01-07 03:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192088', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192088', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192088', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192088', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:17:18] Production.INFO: ProcessCDR(1,14192088,1,1,2)
[2025-01-07 03:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192088,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192088,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192088,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192088,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192088', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192088', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:17:21] Production.INFO: ==27532== Releasing lock...
[2025-01-07 03:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:17:21] Production.INFO: 29 MB #Memory Used#
[2025-01-07 08:18:01] Production.INFO: ==27594== Lock acquired, processing the job...
[2025-01-07 08:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:18:01] Production.INFO: neon service started
[2025-01-07 08:18:01] Production.INFO: neon service started
[2025-01-07 08:18:01] Production.INFO: ==27594== Releasing lock...
[2025-01-07 08:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:18:02] Production.INFO: ==27598== Lock acquired, processing the job...
[2025-01-07 08:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:18:02] Production.INFO: ==27598== Releasing lock...
[2025-01-07 08:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:18:02] Production.INFO: ==27596== Lock acquired, processing the job...
[2025-01-07 03:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:18:02] Production.INFO: ==27596== Releasing lock...
[2025-01-07 03:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:18:03] Production.INFO: ==27601== Lock acquired, processing the job...
[2025-01-07 03:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:18:03] Production.INFO: ==27607== Lock acquired, processing the job...
[2025-01-07 03:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:18:03] Production.INFO: Account Balance Start.
[2025-01-07 03:18:03] Production.INFO: CreateAllLog Start
[2025-01-07 03:18:03] Production.INFO: 117
[2025-01-07 03:18:03] Production.INFO: Date 2024-12-08
[2025-01-07 03:18:03] Production.INFO: ==27603== Lock acquired, processing the job...
[2025-01-07 03:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:18:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:18:03] Production.INFO: ==27611== Lock acquired, processing the job...
[2025-01-07 03:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:18:03] Production.INFO: Date 2024-12-09
[2025-01-07 03:18:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:18:03] Production.INFO: Date 2024-12-10
[2025-01-07 03:18:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:18:03] Production.INFO: Date 2024-12-11
[2025-01-07 03:18:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:18:03] Production.INFO: Date 2024-12-12
[2025-01-07 03:18:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 03:18:03] Production.INFO: Date 2024-12-13
[2025-01-07 03:18:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:18:03] Production.INFO: ==27605== Lock acquired, processing the job...
[2025-01-07 03:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:18:03] Production.INFO: ==27609== Lock acquired, processing the job...
[2025-01-07 03:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:18:03] Production.INFO: Date 2024-12-14
[2025-01-07 03:18:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:18:03] Production.INFO: count ==21
[2025-01-07 03:18:03] Production.INFO: Date 2024-12-15
[2025-01-07 03:18:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 03:18:03] Production.INFO: count ==21
[2025-01-07 03:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192091') start
[2025-01-07 03:18:03] Production.INFO: Date 2024-12-16
[2025-01-07 03:18:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:18:03] Production.INFO: Date 2024-12-17
[2025-01-07 03:18:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192091') end
[2025-01-07 03:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:18:03] Production.INFO: 1
[2025-01-07 03:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:18:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:18:04] Production.INFO: ==27611== Releasing lock...
[2025-01-07 03:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:18:04] Production.INFO: ==27603== Releasing lock...
[2025-01-07 03:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:18:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:18:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:18:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:18:04] Production.ERROR: done
[2025-01-07 03:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:18:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:18:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:18:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:18:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:18:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:18:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:18:04] Production.ERROR: done
[2025-01-07 03:18:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:18:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:18:04] Production.INFO: Date 2024-12-30
[2025-01-07 03:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:18:04] Production.INFO: Date 2024-12-31
[2025-01-07 03:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:18:04] Production.INFO: Date 2025-01-01
[2025-01-07 03:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:18:04] Production.INFO: Date 2025-01-02
[2025-01-07 03:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:18:04] Production.INFO: Date 2025-01-03
[2025-01-07 03:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:18:04] Production.INFO: Date 2025-01-04
[2025-01-07 03:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:18:04] Production.INFO: Date 2025-01-05
[2025-01-07 03:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:18:05] Production.INFO: Date 2025-01-06
[2025-01-07 03:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:18:05] Production.INFO: Date 2025-01-07
[2025-01-07 03:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:18:05] Production.INFO: Total Charge 0
[2025-01-07 03:18:05] Production.INFO: CreateAllLog End
[2025-01-07 03:18:05] Production.INFO: Account Balance End.
[2025-01-07 03:18:05] Production.ERROR: CronJobId end 12
[2025-01-07 03:18:05] Production.INFO: ==27607== Releasing lock...
[2025-01-07 03:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:18:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:18:05
[end_date_ymd] => 2025-01-07 03:18:05
[RateCDR] => 1
)
[2025-01-07 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-07 00:18:05' and `end` < '2025-01-07 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-07 03:18:11] Production.ERROR: CronJobId end10
[2025-01-07 03:18:11] Production.INFO: ==27605== Releasing lock...
[2025-01-07 03:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:18:13] Production.INFO: call_cost start
[2025-01-07 03:18:13] Production.INFO: call_cost end
[2025-01-07 03:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:18:14] Production.INFO: ==27601== Releasing lock...
[2025-01-07 03:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:18:18] Production.INFO: count ==229
[2025-01-07 03:18:18] Production.ERROR: pbx CDR StartTime 2025-01-07 00:18:05 - End Time 2025-01-07 03:18:05
[2025-01-07 03:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192093', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192093', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192093', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192093', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:18:18] Production.INFO: ProcessCDR(1,14192093,1,1,2)
[2025-01-07 03:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192093,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192093,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192093,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192093,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192093', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192093', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:18:22] Production.INFO: ==27609== Releasing lock...
[2025-01-07 03:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:18:22] Production.INFO: 29 MB #Memory Used#
[2025-01-07 08:19:02] Production.INFO: ==27671== Lock acquired, processing the job...
[2025-01-07 08:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:19:02] Production.INFO: neon service started
[2025-01-07 08:19:02] Production.INFO: neon service started
[2025-01-07 08:19:02] Production.INFO: ==27671== Releasing lock...
[2025-01-07 08:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:19:02] Production.INFO: ==27673== Lock acquired, processing the job...
[2025-01-07 03:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:19:02] Production.INFO: ==27673== Releasing lock...
[2025-01-07 03:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:19:02] Production.INFO: ==27675== Lock acquired, processing the job...
[2025-01-07 08:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:19:02] Production.INFO: ==27675== Releasing lock...
[2025-01-07 08:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:19:03] Production.INFO: ==27677== Lock acquired, processing the job...
[2025-01-07 03:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:19:03] Production.INFO: ==27681== Lock acquired, processing the job...
[2025-01-07 03:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:19:03] Production.INFO: ==27679== Lock acquired, processing the job...
[2025-01-07 03:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:19:03] Production.INFO: ==27683== Lock acquired, processing the job...
[2025-01-07 03:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:19:03] Production.INFO: ==27685== Lock acquired, processing the job...
[2025-01-07 03:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:19:03] Production.INFO: ==27687== Lock acquired, processing the job...
[2025-01-07 03:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:19:03] Production.INFO: Account Balance Start.
[2025-01-07 03:19:03] Production.INFO: CreateAllLog Start
[2025-01-07 03:19:03] Production.INFO: 117
[2025-01-07 03:19:03] Production.INFO: Date 2024-12-08
[2025-01-07 03:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 03:19:03] Production.INFO: Date 2024-12-09
[2025-01-07 03:19:03] Production.INFO: count ==21
[2025-01-07 03:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 03:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:19:04] Production.INFO: count ==21
[2025-01-07 03:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192097') start
[2025-01-07 03:19:04] Production.INFO: ==27679== Releasing lock...
[2025-01-07 03:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:19:04] Production.INFO: Date 2024-12-10
[2025-01-07 03:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:19:04] Production.INFO: Date 2024-12-11
[2025-01-07 03:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192097') end
[2025-01-07 03:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:19:04] Production.INFO: 1
[2025-01-07 03:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:19:04] Production.INFO: ==27687== Releasing lock...
[2025-01-07 03:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:19:04] Production.INFO: Date 2024-12-12
[2025-01-07 03:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:19:04] Production.ERROR: done
[2025-01-07 03:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:19:04] Production.INFO: Date 2024-12-13
[2025-01-07 03:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:19:04] Production.INFO: Date 2024-12-14
[2025-01-07 03:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:19:04] Production.INFO: Date 2024-12-15
[2025-01-07 03:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:19:04] Production.ERROR: done
[2025-01-07 03:19:04] Production.INFO: Date 2024-12-16
[2025-01-07 03:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:19:04] Production.INFO: Date 2024-12-17
[2025-01-07 03:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:19:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:19:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:19:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:19:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:19:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:19:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:19:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:19:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:19:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:19:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:19:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:19:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:19:05] Production.INFO: Date 2024-12-30
[2025-01-07 03:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:19:05] Production.INFO: Date 2024-12-31
[2025-01-07 03:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:19:05] Production.INFO: Date 2025-01-01
[2025-01-07 03:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:19:05] Production.INFO: Date 2025-01-02
[2025-01-07 03:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:19:05] Production.INFO: Date 2025-01-03
[2025-01-07 03:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:19:05] Production.INFO: Date 2025-01-04
[2025-01-07 03:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:19:05] Production.INFO: Date 2025-01-05
[2025-01-07 03:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:19:05] Production.INFO: Date 2025-01-06
[2025-01-07 03:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:19:05] Production.INFO: Date 2025-01-07
[2025-01-07 03:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:19:05
[end_date_ymd] => 2025-01-07 03:19:05
[RateCDR] => 1
)
[2025-01-07 03:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 00:19:05' and `end` < '2025-01-07 03:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 03:19:05] Production.INFO: Total Charge 0
[2025-01-07 03:19:05] Production.INFO: CreateAllLog End
[2025-01-07 03:19:05] Production.INFO: Account Balance End.
[2025-01-07 03:19:05] Production.ERROR: CronJobId end 12
[2025-01-07 03:19:05] Production.INFO: ==27683== Releasing lock...
[2025-01-07 03:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:19:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:19:10] Production.ERROR: CronJobId end10
[2025-01-07 03:19:10] Production.INFO: ==27681== Releasing lock...
[2025-01-07 03:19:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:19:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:19:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:19:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:19:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:19:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:19:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:19:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:19:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:19:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:19:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:19:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:19:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:19:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:19:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:19:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:19:12] Production.INFO: call_cost start
[2025-01-07 03:19:12] Production.INFO: call_cost end
[2025-01-07 03:19:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:19:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:19:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:19:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:19:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:19:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:19:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:19:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:19:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:19:13] Production.INFO: ==27677== Releasing lock...
[2025-01-07 03:19:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:19:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:19:18] Production.INFO: count ==229
[2025-01-07 03:19:18] Production.ERROR: pbx CDR StartTime 2025-01-07 00:19:05 - End Time 2025-01-07 03:19:05
[2025-01-07 03:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192098', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192098', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192098', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192098', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:19:18] Production.INFO: ProcessCDR(1,14192098,1,1,2)
[2025-01-07 03:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192098,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192098,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192098,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192098,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192098', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192098', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:19:21] Production.INFO: ==27685== Releasing lock...
[2025-01-07 03:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:19:21] Production.INFO: 29 MB #Memory Used#
[2025-01-07 08:20:01] Production.INFO: ==27744== Lock acquired, processing the job...
[2025-01-07 08:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:20:01] Production.INFO: neon service started
[2025-01-07 08:20:01] Production.INFO: neon service started
[2025-01-07 08:20:01] Production.INFO: ==27744== Releasing lock...
[2025-01-07 08:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:20:01] Production.INFO: ==27746== Lock acquired, processing the job...
[2025-01-07 03:20:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:20:02] Production.INFO: ==27748== Lock acquired, processing the job...
[2025-01-07 08:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:20:02] Production.INFO: ==27748== Releasing lock...
[2025-01-07 08:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:20:02] Production.INFO: ==27746== Releasing lock...
[2025-01-07 03:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:20:03] Production.INFO: ==27751== Lock acquired, processing the job...
[2025-01-07 03:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 03:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 03:20:03] Production.INFO: ==27753== Lock acquired, processing the job...
[2025-01-07 03:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 03:20:03] Production.INFO: ==27751== Releasing lock...
[2025-01-07 03:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 03:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 03:20:03] Production.INFO: ==27755== Lock acquired, processing the job...
[2025-01-07 03:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:20:03] Production.INFO: ==27759== Lock acquired, processing the job...
[2025-01-07 03:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:20:03] Production.INFO: Account Balance Start.
[2025-01-07 03:20:03] Production.INFO: CreateAllLog Start
[2025-01-07 03:20:03] Production.INFO: 117
[2025-01-07 03:20:03] Production.INFO: Date 2024-12-08
[2025-01-07 03:20:03] Production.INFO: ==27755== Releasing lock...
[2025-01-07 03:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:20:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:20:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:20:03] Production.INFO: ==27757== Lock acquired, processing the job...
[2025-01-07 03:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:20:03] Production.INFO: Date 2024-12-09
[2025-01-07 03:20:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:20:03] Production.INFO: Date 2024-12-10
[2025-01-07 03:20:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:20:03] Production.INFO: Date 2024-12-11
[2025-01-07 03:20:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:20:03] Production.INFO: Date 2024-12-12
[2025-01-07 03:20:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:20:03] Production.INFO: Date 2024-12-13
[2025-01-07 03:20:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:20:03] Production.INFO: Date 2024-12-14
[2025-01-07 03:20:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:20:03] Production.INFO: Date 2024-12-15
[2025-01-07 03:20:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:20:03] Production.INFO: ==27761== Lock acquired, processing the job...
[2025-01-07 03:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:20:03] Production.INFO: Date 2024-12-16
[2025-01-07 03:20:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:20:03] Production.INFO: Date 2024-12-17
[2025-01-07 03:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:20:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:20:03] Production.INFO: Date 2024-12-18
[2025-01-07 03:20:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:20:03] Production.INFO: ==27763== Lock acquired, processing the job...
[2025-01-07 03:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 03:20:03] Production.INFO: ==27765== Lock acquired, processing the job...
[2025-01-07 03:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:20:03] Production.INFO: Date 2024-12-19
[2025-01-07 03:20:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:20:03] Production.INFO: Date 2024-12-20
[2025-01-07 03:20:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 03:20:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:20:04] Production.INFO: count ==21
[2025-01-07 03:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 03:20:04] Production.INFO: count ==21
[2025-01-07 03:20:04] Production.ERROR: done
[2025-01-07 03:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192102') start
[2025-01-07 03:20:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:20:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:20:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:20:04] Production.ERROR: done
[2025-01-07 03:20:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192102') end
[2025-01-07 03:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:20:04] Production.INFO: 1
[2025-01-07 03:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:20:04] Production.INFO: ==27765== Releasing lock...
[2025-01-07 03:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:20:04] Production.ERROR: done
[2025-01-07 03:20:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:20:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 03:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14192103', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 03:20:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:20:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:20:04] Production.INFO: Date 2024-12-30
[2025-01-07 03:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:20:04] Production.INFO: Date 2024-12-31
[2025-01-07 03:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:20:04] Production.INFO: Date 2025-01-01
[2025-01-07 03:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:20:04] Production.INFO: Date 2025-01-02
[2025-01-07 03:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:20:04] Production.INFO: Date 2025-01-03
[2025-01-07 03:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:20:04] Production.INFO: Date 2025-01-04
[2025-01-07 03:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:20:04] Production.INFO: Date 2025-01-05
[2025-01-07 03:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:20:04] Production.INFO: Date 2025-01-06
[2025-01-07 03:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:20:04] Production.INFO: Date 2025-01-07
[2025-01-07 03:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:20:04] Production.INFO: Total Charge 0
[2025-01-07 03:20:04] Production.INFO: CreateAllLog End
[2025-01-07 03:20:05] Production.INFO: Account Balance End.
[2025-01-07 03:20:05] Production.ERROR: CronJobId end 12
[2025-01-07 03:20:05] Production.INFO: ==27759== Releasing lock...
[2025-01-07 03:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:20:05
[end_date_ymd] => 2025-01-07 03:20:05
[RateCDR] => 1
)
[2025-01-07 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-07 00:20:05' and `end` < '2025-01-07 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-07 03:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14192103', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 03:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 03:20:08] Production.INFO: ProcessCDR(1,14192103,1,1,2)
[2025-01-07 03:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14192103,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14192103,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:20:08] Production.INFO: ==27763== Releasing lock...
[2025-01-07 03:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 03:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-07 03:20:12] Production.ERROR: CronJobId end10
[2025-01-07 03:20:12] Production.INFO: ==27757== Releasing lock...
[2025-01-07 03:20:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:20:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:20:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:20:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:20:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:20:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:20:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:20:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:20:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:20:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:20:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:20:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:20:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:20:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:20:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:20:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:20:14] Production.INFO: call_cost start
[2025-01-07 03:20:14] Production.INFO: call_cost end
[2025-01-07 03:20:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:20:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:20:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:20:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:20:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:20:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:20:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:20:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:20:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:20:14] Production.INFO: ==27753== Releasing lock...
[2025-01-07 03:20:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:20:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:20:18] Production.INFO: count ==224
[2025-01-07 03:20:18] Production.ERROR: pbx CDR StartTime 2025-01-07 00:20:05 - End Time 2025-01-07 03:20:05
[2025-01-07 03:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192104', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192104', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192104', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192104', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:20:18] Production.INFO: ProcessCDR(1,14192104,1,1,2)
[2025-01-07 03:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192104,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192104,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192104,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:20:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192104,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192104', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192104', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:20:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:20:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:20:21] Production.INFO: ==27761== Releasing lock...
[2025-01-07 03:20:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:20:21] Production.INFO: 29 MB #Memory Used#
[2025-01-07 08:21:01] Production.INFO: ==27819== Lock acquired, processing the job...
[2025-01-07 08:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:21:01] Production.INFO: neon service started
[2025-01-07 08:21:01] Production.INFO: neon service started
[2025-01-07 08:21:01] Production.INFO: ==27819== Releasing lock...
[2025-01-07 08:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:21:02] Production.INFO: ==27821== Lock acquired, processing the job...
[2025-01-07 03:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:21:02] Production.INFO: ==27821== Releasing lock...
[2025-01-07 03:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:21:02] Production.INFO: ==27823== Lock acquired, processing the job...
[2025-01-07 08:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:21:02] Production.INFO: ==27823== Releasing lock...
[2025-01-07 08:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:21:03] Production.INFO: ==27826== Lock acquired, processing the job...
[2025-01-07 03:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:21:03] Production.INFO: ==27830== Lock acquired, processing the job...
[2025-01-07 03:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:21:03] Production.INFO: ==27828== Lock acquired, processing the job...
[2025-01-07 03:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:21:03] Production.INFO: ==27832== Lock acquired, processing the job...
[2025-01-07 03:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:21:03] Production.INFO: ==27834== Lock acquired, processing the job...
[2025-01-07 03:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:21:03] Production.INFO: ==27836== Lock acquired, processing the job...
[2025-01-07 03:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:21:03] Production.INFO: Account Balance Start.
[2025-01-07 03:21:03] Production.INFO: CreateAllLog Start
[2025-01-07 03:21:03] Production.INFO: 117
[2025-01-07 03:21:03] Production.INFO: Date 2024-12-08
[2025-01-07 03:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 03: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-07 03:21:04] Production.INFO: ==27828== Releasing lock...
[2025-01-07 03:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:21:04] Production.INFO: Date 2024-12-09
[2025-01-07 03:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:21:04] Production.INFO: count ==21
[2025-01-07 03:21:04] Production.INFO: Date 2024-12-10
[2025-01-07 03:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 03:21:04] Production.INFO: count ==21
[2025-01-07 03:21:04] Production.ERROR: done
[2025-01-07 03:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192108') start
[2025-01-07 03:21:04] Production.INFO: Date 2024-12-11
[2025-01-07 03:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:21:04] Production.INFO: Date 2024-12-12
[2025-01-07 03:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:21:04] Production.INFO: Date 2024-12-13
[2025-01-07 03:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:21:04] Production.INFO: Date 2024-12-14
[2025-01-07 03:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:21:04] Production.ERROR: done
[2025-01-07 03:21:04] Production.INFO: Date 2024-12-15
[2025-01-07 03:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:21:04] Production.INFO: Date 2024-12-16
[2025-01-07 03:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192108') end
[2025-01-07 03:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:21:04] Production.INFO: 1
[2025-01-07 03:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:21:04] Production.INFO: ==27836== Releasing lock...
[2025-01-07 03:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:21:04] Production.INFO: Date 2024-12-17
[2025-01-07 03:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:21:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:21:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:21:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:21:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:21:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:21:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:21:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:21:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:21:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:21:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:21:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:21:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:21:05] Production.INFO: Date 2024-12-30
[2025-01-07 03:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:21:05] Production.INFO: Date 2024-12-31
[2025-01-07 03:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:21:05] Production.INFO: Date 2025-01-01
[2025-01-07 03:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:21:05] Production.INFO: Date 2025-01-02
[2025-01-07 03:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:21:05] Production.INFO: Date 2025-01-03
[2025-01-07 03:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:21:05] Production.INFO: Date 2025-01-04
[2025-01-07 03:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:21:05] Production.INFO: Date 2025-01-05
[2025-01-07 03:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:21:05] Production.INFO: Date 2025-01-06
[2025-01-07 03:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:21:05] Production.INFO: Date 2025-01-07
[2025-01-07 03:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:21:05] Production.INFO: Total Charge 0
[2025-01-07 03:21:05] Production.INFO: CreateAllLog End
[2025-01-07 03:21:05] Production.INFO: Account Balance End.
[2025-01-07 03:21:05] Production.ERROR: CronJobId end 12
[2025-01-07 03:21:05] Production.INFO: ==27832== Releasing lock...
[2025-01-07 03:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:21:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:21:05
[end_date_ymd] => 2025-01-07 03:21:05
[RateCDR] => 1
)
[2025-01-07 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-07 00:21:05' and `end` < '2025-01-07 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-07 03:21:11] Production.ERROR: CronJobId end10
[2025-01-07 03:21:11] Production.INFO: ==27830== Releasing lock...
[2025-01-07 03:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:21:14] Production.INFO: call_cost start
[2025-01-07 03:21:14] Production.INFO: call_cost end
[2025-01-07 03:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:21:14] Production.INFO: ==27826== Releasing lock...
[2025-01-07 03:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:21:18] Production.INFO: count ==214
[2025-01-07 03:21:18] Production.ERROR: pbx CDR StartTime 2025-01-07 00:21:05 - End Time 2025-01-07 03:21:05
[2025-01-07 03:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192109', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192109', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192109', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192109', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:21:18] Production.INFO: ProcessCDR(1,14192109,1,1,2)
[2025-01-07 03:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192109,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192109,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192109,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192109,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192109', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192109', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:21:21] Production.INFO: ==27834== Releasing lock...
[2025-01-07 03:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:21:21] Production.INFO: 29 MB #Memory Used#
[2025-01-07 08:22:02] Production.INFO: ==27893== Lock acquired, processing the job...
[2025-01-07 08:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:22:02] Production.INFO: neon service started
[2025-01-07 08:22:02] Production.INFO: neon service started
[2025-01-07 08:22:02] Production.INFO: ==27893== Releasing lock...
[2025-01-07 08:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:22:02] Production.INFO: ==27896== Lock acquired, processing the job...
[2025-01-07 03:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:22:02] Production.INFO: ==27896== Releasing lock...
[2025-01-07 03:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:22:02] Production.INFO: ==27898== Lock acquired, processing the job...
[2025-01-07 08:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:22:03] Production.INFO: ==27898== Releasing lock...
[2025-01-07 08:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:22:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:22:03] Production.INFO: ==27911== Lock acquired, processing the job...
[2025-01-07 03:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:22:03] Production.INFO: ==27909== Lock acquired, processing the job...
[2025-01-07 03:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:22:03] Production.INFO: ==27901== Lock acquired, processing the job...
[2025-01-07 03:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 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-07 03:22:04] Production.INFO: count ==21
[2025-01-07 03:22:04] Production.INFO: ==27903== Lock acquired, processing the job...
[2025-01-07 03:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 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-07 03:22:04] Production.INFO: count ==21
[2025-01-07 03:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192110') start
[2025-01-07 03:22:04] Production.INFO: ==27905== Lock acquired, processing the job...
[2025-01-07 03:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:22:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:22:04] Production.INFO: ==27907== Lock acquired, processing the job...
[2025-01-07 03:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:22:04] Production.ERROR: done
[2025-01-07 03:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192110') end
[2025-01-07 03:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:22:04] Production.INFO: 1
[2025-01-07 03:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:22:04] Production.ERROR: done
[2025-01-07 03:22:04] Production.INFO: Account Balance Start.
[2025-01-07 03:22:04] Production.INFO: CreateAllLog Start
[2025-01-07 03:22:04] Production.INFO: 117
[2025-01-07 03:22:04] Production.INFO: Date 2024-12-08
[2025-01-07 03:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:22:04] Production.INFO: ==27911== Releasing lock...
[2025-01-07 03:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:22:04] Production.INFO: Date 2024-12-09
[2025-01-07 03:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:22:04] Production.INFO: Date 2024-12-10
[2025-01-07 03:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:22:04] Production.INFO: Date 2024-12-11
[2025-01-07 03:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:22:04] Production.INFO: ==27903== Releasing lock...
[2025-01-07 03:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:22:04] Production.INFO: Date 2024-12-12
[2025-01-07 03:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:22:04] Production.INFO: Date 2024-12-13
[2025-01-07 03:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:22:04] Production.INFO: Date 2024-12-14
[2025-01-07 03:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:22:04] Production.INFO: Date 2024-12-15
[2025-01-07 03:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:22:04] Production.INFO: Date 2024-12-16
[2025-01-07 03:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:22:04] Production.INFO: Date 2024-12-17
[2025-01-07 03:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:22:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:22:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:22:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:22:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:22:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:22:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:22:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:22:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:22:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:22:05] Production.INFO: Date 2024-12-27
[2025-01-07 03:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:22:05] Production.INFO: Date 2024-12-28
[2025-01-07 03:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:22:05] Production.INFO: Date 2024-12-29
[2025-01-07 03:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:22:05] Production.INFO: Date 2024-12-30
[2025-01-07 03:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:22:05] Production.INFO: Date 2024-12-31
[2025-01-07 03:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:22:05] Production.INFO: Date 2025-01-01
[2025-01-07 03:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:22:05] Production.INFO: Date 2025-01-02
[2025-01-07 03:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:22:05] Production.INFO: Date 2025-01-03
[2025-01-07 03:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:22:05] Production.INFO: Date 2025-01-04
[2025-01-07 03:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:22:05] Production.INFO: Date 2025-01-05
[2025-01-07 03:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:22:05] Production.INFO: Date 2025-01-06
[2025-01-07 03:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:22:05] Production.INFO: Date 2025-01-07
[2025-01-07 03:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:22:05] Production.INFO: Total Charge 0
[2025-01-07 03:22:05] Production.INFO: CreateAllLog End
[2025-01-07 03:22:05] Production.INFO: Account Balance End.
[2025-01-07 03:22:05] Production.ERROR: CronJobId end 12
[2025-01-07 03:22:05] Production.INFO: ==27907== Releasing lock...
[2025-01-07 03:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:22:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:22:05
[end_date_ymd] => 2025-01-07 03:22:05
[RateCDR] => 1
)
[2025-01-07 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-07 00:22:05' and `end` < '2025-01-07 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-07 03:22:11] Production.ERROR: CronJobId end10
[2025-01-07 03:22:11] Production.INFO: ==27905== Releasing lock...
[2025-01-07 03:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:22:13] Production.INFO: call_cost start
[2025-01-07 03:22:13] Production.INFO: call_cost end
[2025-01-07 03:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:22:14] Production.INFO: ==27901== Releasing lock...
[2025-01-07 03:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:22:18] Production.INFO: count ==214
[2025-01-07 03:22:18] Production.ERROR: pbx CDR StartTime 2025-01-07 00:22:05 - End Time 2025-01-07 03:22:05
[2025-01-07 03:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192114', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192114', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192114', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192114', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:22:18] Production.INFO: ProcessCDR(1,14192114,1,1,2)
[2025-01-07 03:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192114,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192114,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192114,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192114,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192114', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192114', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:22:21] Production.INFO: ==27909== Releasing lock...
[2025-01-07 03:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:22:21] Production.INFO: 29 MB #Memory Used#
[2025-01-07 08:23:01] Production.INFO: ==27967== Lock acquired, processing the job...
[2025-01-07 08:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:23:01] Production.INFO: neon service started
[2025-01-07 08:23:01] Production.INFO: neon service started
[2025-01-07 08:23:01] Production.INFO: ==27967== Releasing lock...
[2025-01-07 08:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:23:02] Production.INFO: ==27971== Lock acquired, processing the job...
[2025-01-07 08:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:23:02] Production.INFO: ==27971== Releasing lock...
[2025-01-07 08:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:23:02] Production.INFO: ==27969== Lock acquired, processing the job...
[2025-01-07 03:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:23:02] Production.INFO: ==27969== Releasing lock...
[2025-01-07 03:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:23:03] Production.INFO: ==27975== Lock acquired, processing the job...
[2025-01-07 03:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:23:03] Production.INFO: ==27983== Lock acquired, processing the job...
[2025-01-07 03:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:23:03] Production.INFO: ==27973== Lock acquired, processing the job...
[2025-01-07 03:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 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-07 03:23:03] Production.INFO: count ==21
[2025-01-07 03:23:03] Production.INFO: ==27975== Releasing lock...
[2025-01-07 03:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 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-07 03:23:03] Production.INFO: count ==21
[2025-01-07 03:23:03] Production.INFO: ==27977== Lock acquired, processing the job...
[2025-01-07 03:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:23:03] Production.INFO: ==27981== Lock acquired, processing the job...
[2025-01-07 03:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192116') start
[2025-01-07 03:23:03] Production.INFO: ==27979== Lock acquired, processing the job...
[2025-01-07 03:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:23:03] Production.INFO: Account Balance Start.
[2025-01-07 03:23:03] Production.INFO: CreateAllLog Start
[2025-01-07 03:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192116') end
[2025-01-07 03:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:23:03] Production.INFO: 1
[2025-01-07 03:23:03] Production.INFO: 117
[2025-01-07 03:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:23:03] Production.INFO: Date 2024-12-08
[2025-01-07 03:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:23:03] Production.INFO: ==27983== Releasing lock...
[2025-01-07 03:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:23:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:23:03] Production.INFO: Date 2024-12-09
[2025-01-07 03:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:23:03] Production.ERROR: done
[2025-01-07 03:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:23:03] Production.INFO: Date 2024-12-10
[2025-01-07 03:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:23:03] Production.INFO: Date 2024-12-11
[2025-01-07 03:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:23:04] Production.INFO: Date 2024-12-12
[2025-01-07 03:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:23:04] Production.INFO: Date 2024-12-13
[2025-01-07 03:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:23:04] Production.ERROR: done
[2025-01-07 03:23:04] Production.INFO: Date 2024-12-14
[2025-01-07 03:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:23:04] Production.INFO: Date 2024-12-15
[2025-01-07 03:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:23:04] Production.INFO: Date 2024-12-16
[2025-01-07 03:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:23:04] Production.INFO: Date 2024-12-17
[2025-01-07 03:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:23:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:23:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:23:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:23:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:23:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:23:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:23:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:23:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:23:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:23:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:23:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:23:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:23:04] Production.INFO: Date 2024-12-30
[2025-01-07 03:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:23:04] Production.INFO: Date 2024-12-31
[2025-01-07 03:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:23:04] Production.INFO: Date 2025-01-01
[2025-01-07 03:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:23:04] Production.INFO: Date 2025-01-02
[2025-01-07 03:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:23:04] Production.INFO: Date 2025-01-03
[2025-01-07 03:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:23:04] Production.INFO: Date 2025-01-04
[2025-01-07 03:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:23:04] Production.INFO: Date 2025-01-05
[2025-01-07 03:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:23:05] Production.INFO: Date 2025-01-06
[2025-01-07 03:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:23:05
[end_date_ymd] => 2025-01-07 03:23:05
[RateCDR] => 1
)
[2025-01-07 03:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 00:23:05' and `end` < '2025-01-07 03:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 03:23:05] Production.INFO: Date 2025-01-07
[2025-01-07 03:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:23:05] Production.INFO: Total Charge 0
[2025-01-07 03:23:05] Production.INFO: CreateAllLog End
[2025-01-07 03:23:05] Production.INFO: Account Balance End.
[2025-01-07 03:23:05] Production.ERROR: CronJobId end 12
[2025-01-07 03:23:05] Production.INFO: ==27979== Releasing lock...
[2025-01-07 03:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:23:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:23:10] Production.ERROR: CronJobId end10
[2025-01-07 03:23:10] Production.INFO: ==27977== Releasing lock...
[2025-01-07 03:23:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:23:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:23:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:23:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:23:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:23:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:23:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:23:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:23:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:23:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:23:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:23:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:23:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:23:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:23:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:23:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:23:12] Production.INFO: call_cost start
[2025-01-07 03:23:12] Production.INFO: call_cost end
[2025-01-07 03:23:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:23:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:23:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:23:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:23:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:23:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:23:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:23:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:23:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:23:13] Production.INFO: ==27973== Releasing lock...
[2025-01-07 03:23:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:23:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:23:17] Production.INFO: count ==214
[2025-01-07 03:23:17] Production.ERROR: pbx CDR StartTime 2025-01-07 00:23:05 - End Time 2025-01-07 03:23:05
[2025-01-07 03:23:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192119', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192119', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192119', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192119', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:23:17] Production.INFO: ProcessCDR(1,14192119,1,1,2)
[2025-01-07 03:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192119,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:23:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192119,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:23:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192119,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:23:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192119,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192119', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192119', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:23:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:23:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:23:20] Production.INFO: ==27981== Releasing lock...
[2025-01-07 03:23:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:23:20] Production.INFO: 29 MB #Memory Used#
[2025-01-07 08:24:02] Production.INFO: ==28038== Lock acquired, processing the job...
[2025-01-07 08:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:24:02] Production.INFO: neon service started
[2025-01-07 08:24:02] Production.INFO: neon service started
[2025-01-07 08:24:02] Production.INFO: ==28038== Releasing lock...
[2025-01-07 08:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:24:02] Production.INFO: ==28040== Lock acquired, processing the job...
[2025-01-07 03:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:24:02] Production.INFO: ==28040== Releasing lock...
[2025-01-07 03:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:24:02] Production.INFO: ==28042== Lock acquired, processing the job...
[2025-01-07 08:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:24:03] Production.INFO: ==28042== Releasing lock...
[2025-01-07 08:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:24:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:24:03] Production.INFO: ==28050== Lock acquired, processing the job...
[2025-01-07 03:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:24:03] Production.INFO: ==28052== Lock acquired, processing the job...
[2025-01-07 03:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:24:03] Production.INFO: ==28044== Lock acquired, processing the job...
[2025-01-07 03:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:24:03] Production.INFO: Account Balance Start.
[2025-01-07 03:24:03] Production.INFO: CreateAllLog Start
[2025-01-07 03:24:03] Production.INFO: 117
[2025-01-07 03:24:03] Production.INFO: Date 2024-12-08
[2025-01-07 03:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:24:03] Production.INFO: ==28046== Lock acquired, processing the job...
[2025-01-07 03:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:24:03] Production.INFO: Date 2024-12-09
[2025-01-07 03:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:24:03] Production.INFO: Date 2024-12-10
[2025-01-07 03:24:03] Production.INFO: ==28048== Lock acquired, processing the job...
[2025-01-07 03:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:24:03] Production.INFO: Date 2024-12-11
[2025-01-07 03:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:24:03] Production.ERROR: done
[2025-01-07 03:24:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:24:03] Production.INFO: ==28054== Lock acquired, processing the job...
[2025-01-07 03:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:24:03] Production.INFO: Date 2024-12-12
[2025-01-07 03:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:24:04] Production.INFO: Date 2024-12-13
[2025-01-07 03:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:24:04] Production.INFO: Date 2024-12-14
[2025-01-07 03:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:24:04] Production.ERROR: done
[2025-01-07 03:24:04] Production.INFO: Date 2024-12-15
[2025-01-07 03:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:24:04] Production.INFO: Date 2024-12-16
[2025-01-07 03:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:24:04] Production.INFO: ==28046== Releasing lock...
[2025-01-07 03:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:24:04] Production.INFO: Date 2024-12-17
[2025-01-07 03:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 03:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:24:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:24:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:24:04] Production.INFO: count ==21
[2025-01-07 03:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 03:24:04] Production.INFO: count ==21
[2025-01-07 03:24:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:24:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192124') start
[2025-01-07 03:24:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:24:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:24:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192124') end
[2025-01-07 03:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:24:04] Production.INFO: 1
[2025-01-07 03:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:24:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:24:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:24:04] Production.INFO: ==28054== Releasing lock...
[2025-01-07 03:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:24:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:24:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:24:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:24:04] Production.INFO: Date 2024-12-30
[2025-01-07 03:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:24:04] Production.INFO: Date 2024-12-31
[2025-01-07 03:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:24:04] Production.INFO: Date 2025-01-01
[2025-01-07 03:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:24:04] Production.INFO: Date 2025-01-02
[2025-01-07 03:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:24:04] Production.INFO: Date 2025-01-03
[2025-01-07 03:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:24:04] Production.INFO: Date 2025-01-04
[2025-01-07 03:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:24:04] Production.INFO: Date 2025-01-05
[2025-01-07 03:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:24:04] Production.INFO: Date 2025-01-06
[2025-01-07 03:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:24:04] Production.INFO: Date 2025-01-07
[2025-01-07 03:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:24:04] Production.INFO: Total Charge 0
[2025-01-07 03:24:05] Production.INFO: CreateAllLog End
[2025-01-07 03:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:24:05
[end_date_ymd] => 2025-01-07 03:24:05
[RateCDR] => 1
)
[2025-01-07 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-07 00:24:05' and `end` < '2025-01-07 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-07 03:24:05] Production.INFO: Account Balance End.
[2025-01-07 03:24:05] Production.ERROR: CronJobId end 12
[2025-01-07 03:24:05] Production.INFO: ==28050== Releasing lock...
[2025-01-07 03:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:24:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:24:11] Production.ERROR: CronJobId end10
[2025-01-07 03:24:11] Production.INFO: ==28048== Releasing lock...
[2025-01-07 03:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:24:13] Production.INFO: call_cost start
[2025-01-07 03:24:13] Production.INFO: call_cost end
[2025-01-07 03:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:24:14] Production.INFO: ==28044== Releasing lock...
[2025-01-07 03:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:24:18] Production.INFO: count ==214
[2025-01-07 03:24:18] Production.ERROR: pbx CDR StartTime 2025-01-07 00:24:05 - End Time 2025-01-07 03:24:05
[2025-01-07 03:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192123', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192123', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192123', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192123', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:24:18] Production.INFO: ProcessCDR(1,14192123,1,1,2)
[2025-01-07 03:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192123,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192123,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192123,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192123,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192123', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192123', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:24:21] Production.INFO: ==28052== Releasing lock...
[2025-01-07 03:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:24:21] Production.INFO: 29 MB #Memory Used#
[2025-01-07 08:25:01] Production.INFO: ==28110== Lock acquired, processing the job...
[2025-01-07 08:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:25:01] Production.INFO: neon service started
[2025-01-07 08:25:01] Production.INFO: neon service started
[2025-01-07 08:25:01] Production.INFO: ==28110== Releasing lock...
[2025-01-07 08:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:25:01] Production.INFO: ==28112== Lock acquired, processing the job...
[2025-01-07 03:25:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:25:02] Production.INFO: ==28114== Lock acquired, processing the job...
[2025-01-07 08:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:25:02] Production.INFO: ==28112== Releasing lock...
[2025-01-07 03:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:25:02] Production.INFO: ==28114== Releasing lock...
[2025-01-07 08:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:25:02] Production.INFO: ==28121== Lock acquired, processing the job...
[2025-01-07 03:25:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:25:02] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:25:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:25:02] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:25:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:25:03] Production.INFO: ==28116== Lock acquired, processing the job...
[2025-01-07 03:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:25:03] Production.INFO: ==28118== Lock acquired, processing the job...
[2025-01-07 03:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:25:03] Production.INFO: ==28127== Lock acquired, processing the job...
[2025-01-07 03:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:25:03] Production.INFO: ==28123== Lock acquired, processing the job...
[2025-01-07 03:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:25:03] Production.INFO: ==28125== Lock acquired, processing the job...
[2025-01-07 03:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:25:03] Production.INFO: Account Balance Start.
[2025-01-07 03:25:03] Production.INFO: CreateAllLog Start
[2025-01-07 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-07 03:25:03] Production.INFO: 117
[2025-01-07 03:25:03] Production.INFO: Date 2024-12-08
[2025-01-07 03:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:25:03] Production.INFO: count ==21
[2025-01-07 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-07 03:25:03] Production.INFO: count ==21
[2025-01-07 03:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192127') start
[2025-01-07 03:25:03] Production.INFO: Date 2024-12-09
[2025-01-07 03:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:25:03] Production.INFO: Date 2024-12-10
[2025-01-07 03:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:25:03] Production.INFO: ==28118== Releasing lock...
[2025-01-07 03:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:25:03] Production.INFO: Date 2024-12-11
[2025-01-07 03:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192127') end
[2025-01-07 03:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:25:03] Production.INFO: 1
[2025-01-07 03:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:25:03] Production.ERROR: done
[2025-01-07 03:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:25:03] Production.INFO: ==28127== Releasing lock...
[2025-01-07 03:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:25:03] Production.INFO: Date 2024-12-12
[2025-01-07 03:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:25:03] Production.INFO: Date 2024-12-13
[2025-01-07 03:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:25:04] Production.INFO: Date 2024-12-14
[2025-01-07 03:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:25:04] Production.ERROR: done
[2025-01-07 03:25:04] Production.INFO: Date 2024-12-15
[2025-01-07 03:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:25:04] Production.INFO: Date 2024-12-16
[2025-01-07 03:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:25:04] Production.INFO: Date 2024-12-17
[2025-01-07 03:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:25:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:25:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:25:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:25:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:25:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:25:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:25:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:25:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:25:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:25:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:25:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:25:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:25:04] Production.INFO: Date 2024-12-30
[2025-01-07 03:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:25:04] Production.INFO: Date 2024-12-31
[2025-01-07 03:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:25:04] Production.INFO: Date 2025-01-01
[2025-01-07 03:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:25:04] Production.INFO: Date 2025-01-02
[2025-01-07 03:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:25:04] Production.INFO: Date 2025-01-03
[2025-01-07 03:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:25:04] Production.INFO: Date 2025-01-04
[2025-01-07 03:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:25:04] Production.INFO: Date 2025-01-05
[2025-01-07 03:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:25:04] Production.INFO: Date 2025-01-06
[2025-01-07 03:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:25:04] Production.INFO: Date 2025-01-07
[2025-01-07 03:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:25:04] Production.INFO: Total Charge 0
[2025-01-07 03:25:04] Production.INFO: CreateAllLog End
[2025-01-07 03:25:04] Production.INFO: Account Balance End.
[2025-01-07 03:25:04] Production.ERROR: CronJobId end 12
[2025-01-07 03:25:04] Production.INFO: ==28123== Releasing lock...
[2025-01-07 03:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:25:05
[end_date_ymd] => 2025-01-07 03:25:05
[RateCDR] => 1
)
[2025-01-07 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-07 00:25:05' and `end` < '2025-01-07 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-07 03:25:09] Production.ERROR: CronJobId end10
[2025-01-07 03:25:09] Production.INFO: ==28121== Releasing lock...
[2025-01-07 03:25:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:25:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:25:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:25:11] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:25:11] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:25:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:25:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:25:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:25:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:25:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:25:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:25:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:25:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:25:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:25:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:25:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:25:12] Production.INFO: call_cost start
[2025-01-07 03:25:12] Production.INFO: call_cost end
[2025-01-07 03:25:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:25:12] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:25:12] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:25:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:25:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:25:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:25:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:25:12] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:25:12] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:25:12] Production.INFO: ==28116== Releasing lock...
[2025-01-07 03:25:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:25:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:25:18] Production.INFO: count ==214
[2025-01-07 03:25:18] Production.ERROR: pbx CDR StartTime 2025-01-07 00:25:05 - End Time 2025-01-07 03:25:05
[2025-01-07 03:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192129', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192129', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192129', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192129', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:25:18] Production.INFO: ProcessCDR(1,14192129,1,1,2)
[2025-01-07 03:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192129,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:25:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192129,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:25:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192129,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192129,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192129', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192129', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:25:21] Production.INFO: ==28125== Releasing lock...
[2025-01-07 03:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:25:21] Production.INFO: 29 MB #Memory Used#
[2025-01-07 08:26:01] Production.INFO: ==28212== Lock acquired, processing the job...
[2025-01-07 08:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:26:02] Production.INFO: neon service started
[2025-01-07 08:26:02] Production.INFO: neon service started
[2025-01-07 08:26:02] Production.INFO: ==28212== Releasing lock...
[2025-01-07 08:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:26:02] Production.INFO: ==28214== Lock acquired, processing the job...
[2025-01-07 03:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:26:02] Production.INFO: ==28216== Lock acquired, processing the job...
[2025-01-07 08:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:26:02] Production.INFO: ==28216== Releasing lock...
[2025-01-07 08:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:26:03] Production.INFO: ==28214== Releasing lock...
[2025-01-07 03:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:26:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:26:03] Production.INFO: ==28229== Lock acquired, processing the job...
[2025-01-07 03:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:26:03] Production.INFO: ==28233== Lock acquired, processing the job...
[2025-01-07 03:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:26:03] Production.INFO: ==28237== Lock acquired, processing the job...
[2025-01-07 03:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:26:04] Production.INFO: ==28231== Lock acquired, processing the job...
[2025-01-07 03:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:26:04] Production.INFO: ==28235== Lock acquired, processing the job...
[2025-01-07 03:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:26:04] Production.INFO: ==28239== Lock acquired, processing the job...
[2025-01-07 03:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:26:04] Production.INFO: Account Balance Start.
[2025-01-07 03:26:04] Production.INFO: CreateAllLog Start
[2025-01-07 03:26:04] Production.INFO: 117
[2025-01-07 03:26:04] Production.INFO: Date 2024-12-08
[2025-01-07 03:26:04] Production.ERROR: done
[2025-01-07 03:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:26:04] Production.INFO: Date 2024-12-09
[2025-01-07 03:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 03:26:04] Production.INFO: Date 2024-12-10
[2025-01-07 03:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:26:04] Production.INFO: count ==21
[2025-01-07 03:26:04] Production.INFO: Date 2024-12-11
[2025-01-07 03:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 03:26:04] Production.INFO: count ==21
[2025-01-07 03:26:04] Production.ERROR: done
[2025-01-07 03:26:04] Production.INFO: Date 2024-12-12
[2025-01-07 03:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192133') start
[2025-01-07 03:26:04] Production.INFO: ==28231== Releasing lock...
[2025-01-07 03:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:26:04] Production.INFO: Date 2024-12-13
[2025-01-07 03:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:26:04] Production.INFO: Date 2024-12-14
[2025-01-07 03:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:26:04] Production.INFO: Date 2024-12-15
[2025-01-07 03:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:26:04] Production.INFO: Date 2024-12-16
[2025-01-07 03:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192133') end
[2025-01-07 03:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:26:04] Production.INFO: 1
[2025-01-07 03:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:26:04] Production.INFO: Date 2024-12-17
[2025-01-07 03:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:26:04] Production.INFO: ==28239== Releasing lock...
[2025-01-07 03:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:26:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:26:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:26:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:26:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:26:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:26:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:26:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:26:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:26:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:26:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:26:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:26:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:26:04] Production.INFO: Date 2024-12-30
[2025-01-07 03:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:26:05] Production.INFO: Date 2024-12-31
[2025-01-07 03:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:26:05] Production.INFO: Date 2025-01-01
[2025-01-07 03:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:26:05] Production.INFO: Date 2025-01-02
[2025-01-07 03:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:26:05] Production.INFO: Date 2025-01-03
[2025-01-07 03:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:26:05] Production.INFO: Date 2025-01-04
[2025-01-07 03:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:26:05] Production.INFO: Date 2025-01-05
[2025-01-07 03:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:26:05] Production.INFO: Date 2025-01-06
[2025-01-07 03:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:26:05] Production.INFO: Date 2025-01-07
[2025-01-07 03:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:26:05] Production.INFO: Total Charge 0
[2025-01-07 03:26:05] Production.INFO: CreateAllLog End
[2025-01-07 03:26:05] Production.INFO: Account Balance End.
[2025-01-07 03:26:05] Production.ERROR: CronJobId end 12
[2025-01-07 03:26:05] Production.INFO: ==28235== Releasing lock...
[2025-01-07 03:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:26:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:26:05
[end_date_ymd] => 2025-01-07 03:26:05
[RateCDR] => 1
)
[2025-01-07 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-07 00:26:05' and `end` < '2025-01-07 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-07 03:26:13] Production.ERROR: CronJobId end10
[2025-01-07 03:26:13] Production.INFO: ==28233== Releasing lock...
[2025-01-07 03:26:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:26:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:26:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:26:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:26:15] Production.INFO: call_cost start
[2025-01-07 03:26:15] Production.INFO: call_cost end
[2025-01-07 03:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:26:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:26:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:26:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:26:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:26:15] Production.INFO: ==28229== Releasing lock...
[2025-01-07 03:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:26:18] Production.INFO: count ==214
[2025-01-07 03:26:18] Production.ERROR: pbx CDR StartTime 2025-01-07 00:26:05 - End Time 2025-01-07 03:26:05
[2025-01-07 03:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192134', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192134', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192134', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192134', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:26:18] Production.INFO: ProcessCDR(1,14192134,1,1,2)
[2025-01-07 03:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192134,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192134,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192134,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192134,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192134', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192134', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:26:21] Production.INFO: ==28237== Releasing lock...
[2025-01-07 03:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:26:21] Production.INFO: 29 MB #Memory Used#
[2025-01-07 08:27:01] Production.INFO: ==28290== Lock acquired, processing the job...
[2025-01-07 08:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:27:01] Production.INFO: neon service started
[2025-01-07 08:27:01] Production.INFO: neon service started
[2025-01-07 08:27:01] Production.INFO: ==28290== Releasing lock...
[2025-01-07 08:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:27:01] Production.INFO: ==28292== Lock acquired, processing the job...
[2025-01-07 03:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:27:02] Production.INFO: ==28292== Releasing lock...
[2025-01-07 03:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:27:02] Production.INFO: ==28294== Lock acquired, processing the job...
[2025-01-07 08:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:27:02] Production.INFO: ==28294== Releasing lock...
[2025-01-07 08:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:27:03] Production.INFO: ==28297== Lock acquired, processing the job...
[2025-01-07 03:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:27:03] Production.INFO: ==28301== Lock acquired, processing the job...
[2025-01-07 03:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:27:03] Production.INFO: ==28305== Lock acquired, processing the job...
[2025-01-07 03:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:27:03] Production.INFO: ==28299== Lock acquired, processing the job...
[2025-01-07 03:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:27:03] Production.INFO: ==28303== Lock acquired, processing the job...
[2025-01-07 03:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:27:03] Production.INFO: ==28307== Lock acquired, processing the job...
[2025-01-07 03:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:27:03] Production.INFO: Account Balance Start.
[2025-01-07 03:27:03] Production.INFO: CreateAllLog Start
[2025-01-07 03:27:03] Production.INFO: 117
[2025-01-07 03:27:03] Production.INFO: Date 2024-12-08
[2025-01-07 03:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:27:03] Production.ERROR: done
[2025-01-07 03:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:27:03] Production.INFO: Date 2024-12-09
[2025-01-07 03:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 03:27:03] Production.INFO: count ==21
[2025-01-07 03:27:03] Production.INFO: Date 2024-12-10
[2025-01-07 03:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 03:27:03] Production.INFO: count ==21
[2025-01-07 03:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192138') start
[2025-01-07 03:27:03] Production.ERROR: done
[2025-01-07 03:27:03] Production.INFO: Date 2024-12-11
[2025-01-07 03:27:03] Production.INFO: ==28299== Releasing lock...
[2025-01-07 03:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:27:03] Production.INFO: Date 2024-12-12
[2025-01-07 03:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192138') end
[2025-01-07 03:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:27:03] Production.INFO: 1
[2025-01-07 03:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:27:03] Production.INFO: Date 2024-12-13
[2025-01-07 03:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:27:03] Production.INFO: Date 2024-12-14
[2025-01-07 03:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:27:03] Production.INFO: ==28307== Releasing lock...
[2025-01-07 03:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:27:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:27:03] Production.INFO: Date 2024-12-15
[2025-01-07 03:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:27:03] Production.INFO: Date 2024-12-16
[2025-01-07 03:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:27:04] Production.INFO: Date 2024-12-17
[2025-01-07 03:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:27:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:27:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:27:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:27:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:27:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:27:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:27:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:27:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:27:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:27:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:27:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:27:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:27:04] Production.INFO: Date 2024-12-30
[2025-01-07 03:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:27:04] Production.INFO: Date 2024-12-31
[2025-01-07 03:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:27:04] Production.INFO: Date 2025-01-01
[2025-01-07 03:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:27:04] Production.INFO: Date 2025-01-02
[2025-01-07 03:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:27:04] Production.INFO: Date 2025-01-03
[2025-01-07 03:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:27:04] Production.INFO: Date 2025-01-04
[2025-01-07 03:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:27:04] Production.INFO: Date 2025-01-05
[2025-01-07 03:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:27:04] Production.INFO: Date 2025-01-06
[2025-01-07 03:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:27:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:27:04
[end_date_ymd] => 2025-01-07 03:27:04
[RateCDR] => 1
)
[2025-01-07 03:27:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 00:27:04' and `end` < '2025-01-07 03:27:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 03:27:04] Production.INFO: Date 2025-01-07
[2025-01-07 03:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:27:04] Production.INFO: Total Charge 0
[2025-01-07 03:27:04] Production.INFO: CreateAllLog End
[2025-01-07 03:27:04] Production.INFO: Account Balance End.
[2025-01-07 03:27:04] Production.ERROR: CronJobId end 12
[2025-01-07 03:27:04] Production.INFO: ==28303== Releasing lock...
[2025-01-07 03:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:27:09] Production.ERROR: CronJobId end10
[2025-01-07 03:27:09] Production.INFO: ==28301== Releasing lock...
[2025-01-07 03:27:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:27:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:27:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:27:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:27:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:27:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:27:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:27:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:27:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:27:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:27:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:27:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:27:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:27:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:27:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:27:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:27:12] Production.INFO: call_cost start
[2025-01-07 03:27:12] Production.INFO: call_cost end
[2025-01-07 03:27:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:27:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:27:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:27:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:27:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:27:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:27:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:27:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:27:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:27:13] Production.INFO: ==28297== Releasing lock...
[2025-01-07 03:27:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:27:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:27:17] Production.INFO: count ==214
[2025-01-07 03:27:17] Production.ERROR: pbx CDR StartTime 2025-01-07 00:27:04 - End Time 2025-01-07 03:27:04
[2025-01-07 03:27:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192139', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192139', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192139', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192139', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:27:17] Production.INFO: ProcessCDR(1,14192139,1,1,2)
[2025-01-07 03:27:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192139,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:27:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192139,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:27:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192139,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:27:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192139,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:27:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192139', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:27:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192139', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:27:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:27:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:27:20] Production.INFO: ==28305== Releasing lock...
[2025-01-07 03:27:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:27:20] Production.INFO: 29 MB #Memory Used#
[2025-01-07 08:28:01] Production.INFO: ==28363== Lock acquired, processing the job...
[2025-01-07 08:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:28:02] Production.INFO: neon service started
[2025-01-07 08:28:02] Production.INFO: neon service started
[2025-01-07 08:28:02] Production.INFO: ==28363== Releasing lock...
[2025-01-07 08:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:28:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 03:28:02] Production.INFO: ==28365== Lock acquired, processing the job...
[2025-01-07 03:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:28:02] Production.INFO: ==28365== Releasing lock...
[2025-01-07 03:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:28:02] Production.INFO: ==28367== Lock acquired, processing the job...
[2025-01-07 08:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:28:02] Production.INFO: ==28367== Releasing lock...
[2025-01-07 08:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:28:03] Production.INFO: ==28377== Lock acquired, processing the job...
[2025-01-07 03:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:28:03] Production.INFO: ==28379== Lock acquired, processing the job...
[2025-01-07 03:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:28:03] Production.INFO: ==28369== Lock acquired, processing the job...
[2025-01-07 03:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:28:03] Production.INFO: ==28371== Lock acquired, processing the job...
[2025-01-07 03:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:28:03] Production.INFO: ==28373== Lock acquired, processing the job...
[2025-01-07 03:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 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-07 03:28:03] Production.INFO: ==28375== Lock acquired, processing the job...
[2025-01-07 03:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:28:03] Production.INFO: count ==21
[2025-01-07 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-07 03:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:28:03] Production.INFO: count ==21
[2025-01-07 03:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192140') start
[2025-01-07 03:28:03] Production.INFO: Account Balance Start.
[2025-01-07 03:28:03] Production.INFO: CreateAllLog Start
[2025-01-07 03:28:03] Production.INFO: 117
[2025-01-07 03:28:03] Production.INFO: Date 2024-12-08
[2025-01-07 03:28:03] Production.ERROR: done
[2025-01-07 03:28:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192140') end
[2025-01-07 03:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:28:04] Production.INFO: 1
[2025-01-07 03:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:28:04] Production.INFO: Date 2024-12-09
[2025-01-07 03:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:28:04] Production.INFO: ==28379== Releasing lock...
[2025-01-07 03:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:28:04] Production.ERROR: done
[2025-01-07 03:28:04] Production.INFO: Date 2024-12-10
[2025-01-07 03:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:28:04] Production.INFO: ==28371== Releasing lock...
[2025-01-07 03:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:28:04] Production.INFO: Date 2024-12-11
[2025-01-07 03:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:28:04] Production.INFO: Date 2024-12-12
[2025-01-07 03:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:28:04] Production.INFO: Date 2024-12-13
[2025-01-07 03:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:28:04] Production.INFO: Date 2024-12-14
[2025-01-07 03:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:28:04] Production.INFO: Date 2024-12-15
[2025-01-07 03:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:28:04] Production.INFO: Date 2024-12-16
[2025-01-07 03:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:28:04] Production.INFO: Date 2024-12-17
[2025-01-07 03:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:28:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:28:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:28:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:28:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:28:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:28:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:28:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:28:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:28:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:28:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:28:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:28:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:28:04] Production.INFO: Date 2024-12-30
[2025-01-07 03:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:28:04] Production.INFO: Date 2024-12-31
[2025-01-07 03:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:28:04] Production.INFO: Date 2025-01-01
[2025-01-07 03:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:28:05
[end_date_ymd] => 2025-01-07 03:28:05
[RateCDR] => 1
)
[2025-01-07 03:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 00:28:05' and `end` < '2025-01-07 03:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 03:28:05] Production.INFO: Date 2025-01-02
[2025-01-07 03:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:28:05] Production.INFO: Date 2025-01-03
[2025-01-07 03:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:28:05] Production.INFO: Date 2025-01-04
[2025-01-07 03:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:28:05] Production.INFO: Date 2025-01-05
[2025-01-07 03:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:28:05] Production.INFO: Date 2025-01-06
[2025-01-07 03:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:28:05] Production.INFO: Date 2025-01-07
[2025-01-07 03:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:28:05] Production.INFO: Total Charge 0
[2025-01-07 03:28:05] Production.INFO: CreateAllLog End
[2025-01-07 03:28:05] Production.INFO: Account Balance End.
[2025-01-07 03:28:05] Production.ERROR: CronJobId end 12
[2025-01-07 03:28:05] Production.INFO: ==28375== Releasing lock...
[2025-01-07 03:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:28:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:28:10] Production.ERROR: CronJobId end10
[2025-01-07 03:28:10] Production.INFO: ==28373== Releasing lock...
[2025-01-07 03:28:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:28:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:28:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:28:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:28:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:28:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:28:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:28:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:28:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:28:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:28:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:28:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:28:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:28:13] Production.INFO: call_cost start
[2025-01-07 03:28:13] Production.INFO: call_cost end
[2025-01-07 03:28:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:28:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:28:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:28:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:28:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:28:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:28:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:28:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:28:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:28:13] Production.INFO: ==28369== Releasing lock...
[2025-01-07 03:28:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:28:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:28:18] Production.INFO: count ==212
[2025-01-07 03:28:18] Production.ERROR: pbx CDR StartTime 2025-01-07 00:28:05 - End Time 2025-01-07 03:28:05
[2025-01-07 03:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192144', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192144', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192144', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192144', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:28:18] Production.INFO: ProcessCDR(1,14192144,1,1,2)
[2025-01-07 03:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192144,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192144,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192144,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192144,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192144', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192144', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:28:21] Production.INFO: ==28377== Releasing lock...
[2025-01-07 03:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:28:21] Production.INFO: 29 MB #Memory Used#
[2025-01-07 08:29:01] Production.INFO: ==28431== Lock acquired, processing the job...
[2025-01-07 08:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:29:01] Production.INFO: neon service started
[2025-01-07 08:29:01] Production.INFO: neon service started
[2025-01-07 08:29:01] Production.INFO: ==28431== Releasing lock...
[2025-01-07 08:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:29:01] Production.INFO: ==28433== Lock acquired, processing the job...
[2025-01-07 03:29:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:29:01] Production.INFO: ==28433== Releasing lock...
[2025-01-07 03:29:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:29:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:29:02] Production.INFO: ==28435== Lock acquired, processing the job...
[2025-01-07 08:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:29:02] Production.INFO: ==28435== Releasing lock...
[2025-01-07 08:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:29:02] Production.INFO: ==28443== Lock acquired, processing the job...
[2025-01-07 03:29:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:29:02] Production.INFO: ==28445== Lock acquired, processing the job...
[2025-01-07 03:29:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:29:02] Production.INFO: Account Balance Start.
[2025-01-07 03:29:02] Production.INFO: CreateAllLog Start
[2025-01-07 03:29:02] Production.INFO: 117
[2025-01-07 03:29:03] Production.INFO: Date 2024-12-08
[2025-01-07 03:29:03] Production.INFO: ==28437== Lock acquired, processing the job...
[2025-01-07 03:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:29:03] Production.INFO: ==28439== Lock acquired, processing the job...
[2025-01-07 03:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:29:03] Production.INFO: ==28441== Lock acquired, processing the job...
[2025-01-07 03:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:29:03] Production.INFO: Date 2024-12-09
[2025-01-07 03:29:03] Production.INFO: ==28447== Lock acquired, processing the job...
[2025-01-07 03:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:29:03] Production.INFO: Date 2024-12-10
[2025-01-07 03:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:29:03] Production.INFO: Date 2024-12-11
[2025-01-07 03:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 03:29:03] Production.INFO: count ==21
[2025-01-07 03:29:03] Production.INFO: Date 2024-12-12
[2025-01-07 03:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 03:29:03] Production.INFO: count ==21
[2025-01-07 03:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192147') start
[2025-01-07 03:29:03] Production.INFO: Date 2024-12-13
[2025-01-07 03:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192147') end
[2025-01-07 03:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:29:03] Production.INFO: 1
[2025-01-07 03:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:29:03] Production.INFO: Date 2024-12-14
[2025-01-07 03:29:03] Production.ERROR: done
[2025-01-07 03:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:29:03] Production.INFO: ==28447== Releasing lock...
[2025-01-07 03:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:29:03] Production.INFO: Date 2024-12-15
[2025-01-07 03:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:29:03] Production.INFO: Date 2024-12-16
[2025-01-07 03:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:29:03] Production.INFO: ==28439== Releasing lock...
[2025-01-07 03:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:29:03] Production.ERROR: done
[2025-01-07 03:29:03] Production.INFO: Date 2024-12-17
[2025-01-07 03:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:29:03] Production.INFO: Date 2024-12-18
[2025-01-07 03:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:29:03] Production.INFO: Date 2024-12-19
[2025-01-07 03:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:29:03] Production.INFO: Date 2024-12-20
[2025-01-07 03:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:29:03] Production.INFO: Date 2024-12-21
[2025-01-07 03:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:29:03] Production.INFO: Date 2024-12-22
[2025-01-07 03:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:29:03] Production.INFO: Date 2024-12-23
[2025-01-07 03:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:29:03] Production.INFO: Date 2024-12-24
[2025-01-07 03:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:29:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:29:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:29:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:29:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:29:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:29:04] Production.INFO: Date 2024-12-30
[2025-01-07 03:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:29:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:29:04
[end_date_ymd] => 2025-01-07 03:29:04
[RateCDR] => 1
)
[2025-01-07 03:29:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 00:29:04' and `end` < '2025-01-07 03:29:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 03:29:04] Production.INFO: Date 2024-12-31
[2025-01-07 03:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:29:04] Production.INFO: Date 2025-01-01
[2025-01-07 03:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:29:04] Production.INFO: Date 2025-01-02
[2025-01-07 03:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:29:04] Production.INFO: Date 2025-01-03
[2025-01-07 03:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:29:04] Production.INFO: Date 2025-01-04
[2025-01-07 03:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:29:04] Production.INFO: Date 2025-01-05
[2025-01-07 03:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:29:04] Production.INFO: Date 2025-01-06
[2025-01-07 03:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:29:04] Production.INFO: Date 2025-01-07
[2025-01-07 03:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:29:04] Production.INFO: Total Charge 0
[2025-01-07 03:29:04] Production.INFO: CreateAllLog End
[2025-01-07 03:29:05] Production.INFO: Account Balance End.
[2025-01-07 03:29:05] Production.ERROR: CronJobId end 12
[2025-01-07 03:29:05] Production.INFO: ==28443== Releasing lock...
[2025-01-07 03:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:29:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:29:10] Production.ERROR: CronJobId end10
[2025-01-07 03:29:10] Production.INFO: ==28441== Releasing lock...
[2025-01-07 03:29:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:29:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:29:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:29:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:29:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:29:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:29:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:29:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:29:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:29:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:29:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:29:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:29:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:29:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:29:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:29:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:29:12] Production.INFO: call_cost start
[2025-01-07 03:29:12] Production.INFO: call_cost end
[2025-01-07 03:29:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:29:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:29:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:29:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:29:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:29:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:29:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:29:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:29:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:29:13] Production.INFO: ==28437== Releasing lock...
[2025-01-07 03:29:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:29:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:29:17] Production.INFO: count ==212
[2025-01-07 03:29:17] Production.ERROR: pbx CDR StartTime 2025-01-07 00:29:04 - End Time 2025-01-07 03:29:04
[2025-01-07 03:29:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192149', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192149', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192149', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192149', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:29:17] Production.INFO: ProcessCDR(1,14192149,1,1,2)
[2025-01-07 03:29:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192149,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:29:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192149,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:29:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192149,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:29:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192149,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192149', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192149', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:29:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:29:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:29:20] Production.INFO: ==28445== Releasing lock...
[2025-01-07 03:29:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:29:20] Production.INFO: 29 MB #Memory Used#
[2025-01-07 08:30:01] Production.INFO: ==28539== Lock acquired, processing the job...
[2025-01-07 08:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:30:01] Production.INFO: neon service started
[2025-01-07 08:30:01] Production.INFO: neon service started
[2025-01-07 08:30:01] Production.INFO: ==28539== Releasing lock...
[2025-01-07 08:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:30:02] Production.INFO: ==28541== Lock acquired, processing the job...
[2025-01-07 03:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:30:02] Production.INFO: ==28543== Lock acquired, processing the job...
[2025-01-07 08:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:30:02] Production.INFO: ==28541== Releasing lock...
[2025-01-07 03:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:30:02] Production.INFO: ==28543== Releasing lock...
[2025-01-07 08:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:30:03] Production.INFO: ==28546== Lock acquired, processing the job...
[2025-01-07 03:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 03:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 03:30:03] Production.INFO: ==28548== Lock acquired, processing the job...
[2025-01-07 03:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 03:30:03] Production.INFO: ==28546== Releasing lock...
[2025-01-07 03:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 03:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 03:30:03] Production.INFO: ==28550== Lock acquired, processing the job...
[2025-01-07 03:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:30:03] Production.INFO: ==28560== Lock acquired, processing the job...
[2025-01-07 03:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03: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-07 03:30:03] Production.INFO: ==28550== Releasing lock...
[2025-01-07 03:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:30:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:30:03] Production.INFO: ==28552== Lock acquired, processing the job...
[2025-01-07 03:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:30:03] Production.INFO: ==28554== Lock acquired, processing the job...
[2025-01-07 03:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:30:03] Production.INFO: count ==21
[2025-01-07 03: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-07 03:30:03] Production.INFO: count ==21
[2025-01-07 03:30:03] Production.INFO: ==28556== Lock acquired, processing the job...
[2025-01-07 03:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:30:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192152') start
[2025-01-07 03:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:30:04] Production.INFO: ==28558== Lock acquired, processing the job...
[2025-01-07 03:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 03:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192152') end
[2025-01-07 03:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:30:04] Production.INFO: 1
[2025-01-07 03:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:30:04] Production.INFO: ==28560== Releasing lock...
[2025-01-07 03:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:30:04] Production.INFO: Account Balance Start.
[2025-01-07 03:30:04] Production.INFO: CreateAllLog Start
[2025-01-07 03:30:04] Production.INFO: 117
[2025-01-07 03:30:04] Production.INFO: Date 2024-12-08
[2025-01-07 03:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:30:04] Production.INFO: Date 2024-12-09
[2025-01-07 03:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:30:04] Production.INFO: Date 2024-12-10
[2025-01-07 03:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:30:04] Production.INFO: Date 2024-12-11
[2025-01-07 03:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:30:04] Production.ERROR: done
[2025-01-07 03:30:04] Production.INFO: Date 2024-12-12
[2025-01-07 03:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:30:04] Production.INFO: Date 2024-12-13
[2025-01-07 03:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:30:04] Production.ERROR: done
[2025-01-07 03:30:04] Production.INFO: Date 2024-12-14
[2025-01-07 03:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 03:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14192154', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 03:30:04] Production.INFO: Date 2024-12-15
[2025-01-07 03:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:30:04] Production.INFO: Date 2024-12-16
[2025-01-07 03:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:30:04] Production.INFO: Date 2024-12-17
[2025-01-07 03:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:30:04] Production.ERROR: done
[2025-01-07 03:30:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:30:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:30:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:30:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:30:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:30:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:30:05] Production.INFO: Date 2024-12-24
[2025-01-07 03:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:30:05] Production.INFO: Date 2024-12-25
[2025-01-07 03:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:30:05] Production.INFO: Date 2024-12-26
[2025-01-07 03:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:30:05] Production.INFO: Date 2024-12-27
[2025-01-07 03:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:30:05] Production.INFO: Date 2024-12-28
[2025-01-07 03:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:30:05] Production.INFO: Date 2024-12-29
[2025-01-07 03:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:30:05] Production.INFO: Date 2024-12-30
[2025-01-07 03:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:30:05] Production.INFO: Date 2024-12-31
[2025-01-07 03:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:30:05] Production.INFO: Date 2025-01-01
[2025-01-07 03:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:30:05] Production.INFO: Date 2025-01-02
[2025-01-07 03:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:30:05] Production.INFO: Date 2025-01-03
[2025-01-07 03:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:30:05] Production.INFO: Date 2025-01-04
[2025-01-07 03:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:30:05] Production.INFO: Date 2025-01-05
[2025-01-07 03:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:30:05] Production.INFO: Date 2025-01-06
[2025-01-07 03:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:30:05] Production.INFO: Date 2025-01-07
[2025-01-07 03:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:30:05] Production.INFO: Total Charge 0
[2025-01-07 03:30:05] Production.INFO: CreateAllLog End
[2025-01-07 03:30:05] Production.INFO: Account Balance End.
[2025-01-07 03:30:05] Production.ERROR: CronJobId end 12
[2025-01-07 03:30:05] Production.INFO: ==28554== Releasing lock...
[2025-01-07 03:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:30:05
[end_date_ymd] => 2025-01-07 03:30:05
[RateCDR] => 1
)
[2025-01-07 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-07 00:30:05' and `end` < '2025-01-07 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-07 03:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14192154', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 03:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 03:30:08] Production.INFO: ProcessCDR(1,14192154,1,1,2)
[2025-01-07 03:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14192154,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14192154,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:30:08] Production.INFO: ==28558== Releasing lock...
[2025-01-07 03:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 03:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-07 03:30:12] Production.ERROR: CronJobId end10
[2025-01-07 03:30:12] Production.INFO: ==28552== Releasing lock...
[2025-01-07 03:30:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:30:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:30:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:30:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:30:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:30:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:30:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:30:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:30:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:30:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:30:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:30:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:30:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:30:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:30:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:30:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:30:14] Production.INFO: call_cost start
[2025-01-07 03:30:14] Production.INFO: call_cost end
[2025-01-07 03:30:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:30:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:30:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:30:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:30:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:30:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:30:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:30:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:30:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:30:14] Production.INFO: ==28548== Releasing lock...
[2025-01-07 03:30:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:30:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:30:19] Production.INFO: count ==207
[2025-01-07 03:30:19] Production.ERROR: pbx CDR StartTime 2025-01-07 00:30:05 - End Time 2025-01-07 03:30:05
[2025-01-07 03:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192155', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192155', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192155', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192155', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:30:19] Production.INFO: ProcessCDR(1,14192155,1,1,2)
[2025-01-07 03:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192155,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192155,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192155,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192155,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192155', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192155', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:30:22] Production.INFO: ==28556== Releasing lock...
[2025-01-07 03:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:30:22] Production.INFO: 29 MB #Memory Used#
[2025-01-07 08:31:02] Production.INFO: ==28619== Lock acquired, processing the job...
[2025-01-07 08:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:31:02] Production.INFO: neon service started
[2025-01-07 08:31:02] Production.INFO: neon service started
[2025-01-07 08:31:02] Production.INFO: ==28619== Releasing lock...
[2025-01-07 08:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:31:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 03:31:02] Production.INFO: ==28621== Lock acquired, processing the job...
[2025-01-07 03:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:31:02] Production.INFO: ==28621== Releasing lock...
[2025-01-07 03:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:31:03] Production.INFO: ==28623== Lock acquired, processing the job...
[2025-01-07 08:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:31:03] Production.INFO: ==28623== Releasing lock...
[2025-01-07 08:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:31:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:31:03] Production.INFO: ==28632== Lock acquired, processing the job...
[2025-01-07 03:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:31:03] Production.INFO: Account Balance Start.
[2025-01-07 03:31:03] Production.INFO: CreateAllLog Start
[2025-01-07 03:31:03] Production.INFO: 117
[2025-01-07 03:31:03] Production.INFO: Date 2024-12-08
[2025-01-07 03:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:31:03] Production.INFO: Date 2024-12-09
[2025-01-07 03:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:31:04] Production.INFO: Date 2024-12-10
[2025-01-07 03:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:31:04] Production.INFO: Date 2024-12-11
[2025-01-07 03:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:31:04] Production.INFO: Date 2024-12-12
[2025-01-07 03:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:31:04] Production.INFO: Date 2024-12-13
[2025-01-07 03:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:31:04] Production.INFO: ==28626== Lock acquired, processing the job...
[2025-01-07 03:31:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:31:04] Production.INFO: ==28636== Lock acquired, processing the job...
[2025-01-07 03:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:31:04] Production.INFO: Date 2024-12-14
[2025-01-07 03:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:31:04] Production.INFO: ==28628== Lock acquired, processing the job...
[2025-01-07 03:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:31:04] Production.INFO: Date 2024-12-15
[2025-01-07 03:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:31:04] Production.INFO: Date 2024-12-16
[2025-01-07 03:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:31:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:31:04] Production.INFO: Date 2024-12-17
[2025-01-07 03:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:31:04] Production.INFO: ==28630== Lock acquired, processing the job...
[2025-01-07 03:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 03:31:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:31:04] Production.INFO: count ==21
[2025-01-07 03:31:04] Production.INFO: ==28634== Lock acquired, processing the job...
[2025-01-07 03:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 03:31:04] Production.INFO: count ==21
[2025-01-07 03:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192157') start
[2025-01-07 03:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:31:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192157') end
[2025-01-07 03:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:31:04] Production.INFO: 1
[2025-01-07 03:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:31:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:31:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:31:04] Production.INFO: ==28636== Releasing lock...
[2025-01-07 03:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:31:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:31:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:31:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:31:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:31:04] Production.INFO: ==28628== Releasing lock...
[2025-01-07 03:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:31:04] Production.ERROR: done
[2025-01-07 03:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:31:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:31:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:31:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:31:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:31:05] Production.INFO: Date 2024-12-30
[2025-01-07 03:31:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:31:05] Production.ERROR: done
[2025-01-07 03:31:05] Production.INFO: Date 2024-12-31
[2025-01-07 03:31:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:31:05] Production.INFO: Date 2025-01-01
[2025-01-07 03:31:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:31:05] Production.INFO: Date 2025-01-02
[2025-01-07 03:31:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:31:05] Production.INFO: Date 2025-01-03
[2025-01-07 03:31:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:31:05] Production.INFO: Date 2025-01-04
[2025-01-07 03:31:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:31:05] Production.INFO: Date 2025-01-05
[2025-01-07 03:31:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:31:05] Production.INFO: Date 2025-01-06
[2025-01-07 03:31:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:31:05] Production.INFO: Date 2025-01-07
[2025-01-07 03:31:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:31:05] Production.INFO: Total Charge 0
[2025-01-07 03:31:05] Production.INFO: CreateAllLog End
[2025-01-07 03:31:05] Production.INFO: Account Balance End.
[2025-01-07 03:31:05] Production.ERROR: CronJobId end 12
[2025-01-07 03:31:05] Production.INFO: ==28632== Releasing lock...
[2025-01-07 03:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:31:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:31:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:31:06
[end_date_ymd] => 2025-01-07 03:31:06
[RateCDR] => 1
)
[2025-01-07 03:31:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 00:31:06' and `end` < '2025-01-07 03:31:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 03:31:12] Production.ERROR: CronJobId end10
[2025-01-07 03:31:12] Production.INFO: ==28630== Releasing lock...
[2025-01-07 03:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:31:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:31:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:31:14] Production.INFO: call_cost start
[2025-01-07 03:31:14] Production.INFO: call_cost end
[2025-01-07 03:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:31:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:31:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:31:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:31:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:31:15] Production.INFO: ==28626== Releasing lock...
[2025-01-07 03:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:31:19] Production.INFO: count ==207
[2025-01-07 03:31:19] Production.ERROR: pbx CDR StartTime 2025-01-07 00:31:06 - End Time 2025-01-07 03:31:06
[2025-01-07 03:31:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192160', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192160', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192160', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192160', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:31:19] Production.INFO: ProcessCDR(1,14192160,1,1,2)
[2025-01-07 03:31:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192160,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:31:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192160,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:31:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192160,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:31:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192160,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192160', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192160', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:31:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:31:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:31:23] Production.INFO: ==28634== Releasing lock...
[2025-01-07 03:31:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:31:23] Production.INFO: 29 MB #Memory Used#
[2025-01-07 08:32:01] Production.INFO: ==28687== Lock acquired, processing the job...
[2025-01-07 08:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:32:01] Production.INFO: neon service started
[2025-01-07 08:32:01] Production.INFO: neon service started
[2025-01-07 08:32:01] Production.INFO: ==28687== Releasing lock...
[2025-01-07 08:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:32:01] Production.INFO: ==28689== Lock acquired, processing the job...
[2025-01-07 03:32:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:32:02] Production.INFO: ==28689== Releasing lock...
[2025-01-07 03:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:32:02] Production.INFO: ==28691== Lock acquired, processing the job...
[2025-01-07 08:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:32:02] Production.INFO: ==28691== Releasing lock...
[2025-01-07 08:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:32:03] Production.INFO: ==28698== Lock acquired, processing the job...
[2025-01-07 03:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:32:03] Production.INFO: ==28704== Lock acquired, processing the job...
[2025-01-07 03:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:32:03] Production.INFO: ==28694== Lock acquired, processing the job...
[2025-01-07 03:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:32:03] Production.INFO: ==28696== Lock acquired, processing the job...
[2025-01-07 03:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 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-07 03:32:03] Production.INFO: ==28700== Lock acquired, processing the job...
[2025-01-07 03:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:32:03] Production.INFO: count ==21
[2025-01-07 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-07 03:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:32:03] Production.INFO: count ==21
[2025-01-07 03:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192161') start
[2025-01-07 03:32:03] Production.INFO: ==28702== Lock acquired, processing the job...
[2025-01-07 03:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:32:03] Production.INFO: Account Balance Start.
[2025-01-07 03:32:03] Production.INFO: CreateAllLog Start
[2025-01-07 03:32:03] Production.INFO: 117
[2025-01-07 03:32:03] Production.INFO: Date 2024-12-08
[2025-01-07 03:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192161') end
[2025-01-07 03:32:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:32:03] Production.INFO: 1
[2025-01-07 03:32:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:32:03] Production.INFO: Date 2024-12-09
[2025-01-07 03:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:32:03] Production.INFO: ==28704== Releasing lock...
[2025-01-07 03:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:32:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:32:03] Production.INFO: Date 2024-12-10
[2025-01-07 03:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:32:03] Production.INFO: Date 2024-12-11
[2025-01-07 03:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:32:03] Production.ERROR: done
[2025-01-07 03:32:03] Production.INFO: Date 2024-12-12
[2025-01-07 03:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:32:04] Production.INFO: ==28696== Releasing lock...
[2025-01-07 03:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:32:04] Production.INFO: Date 2024-12-13
[2025-01-07 03:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:32:04] Production.INFO: Date 2024-12-14
[2025-01-07 03:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:32:04] Production.ERROR: done
[2025-01-07 03:32:04] Production.INFO: Date 2024-12-15
[2025-01-07 03:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:32:04] Production.INFO: Date 2024-12-16
[2025-01-07 03:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:32:04] Production.INFO: Date 2024-12-17
[2025-01-07 03:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:32:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:32:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:32:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:32:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:32:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:32:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:32:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:32:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:32:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:32:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:32:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:32:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:32:04] Production.INFO: Date 2024-12-30
[2025-01-07 03:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:32:04] Production.INFO: Date 2024-12-31
[2025-01-07 03:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:32:04] Production.INFO: Date 2025-01-01
[2025-01-07 03:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:32:04] Production.INFO: Date 2025-01-02
[2025-01-07 03:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:32:04] Production.INFO: Date 2025-01-03
[2025-01-07 03:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:32:04] Production.INFO: Date 2025-01-04
[2025-01-07 03:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:32:04] Production.INFO: Date 2025-01-05
[2025-01-07 03:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:32:04] Production.INFO: Date 2025-01-06
[2025-01-07 03:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:32:04] Production.INFO: Date 2025-01-07
[2025-01-07 03:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:32:04] Production.INFO: Total Charge 0
[2025-01-07 03:32:04] Production.INFO: CreateAllLog End
[2025-01-07 03:32:05] Production.INFO: Account Balance End.
[2025-01-07 03:32:05] Production.ERROR: CronJobId end 12
[2025-01-07 03:32:05] Production.INFO: ==28700== Releasing lock...
[2025-01-07 03:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:32:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:32:05
[end_date_ymd] => 2025-01-07 03:32:05
[RateCDR] => 1
)
[2025-01-07 03:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 00:32:05' and `end` < '2025-01-07 03:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 03:32:10] Production.ERROR: CronJobId end10
[2025-01-07 03:32:10] Production.INFO: ==28698== Releasing lock...
[2025-01-07 03:32:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:32:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:32:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:32:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:32:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:32:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:32:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:32:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:32:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:32:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:32:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:32:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:32:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:32:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:32:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:32:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:32:12] Production.INFO: call_cost start
[2025-01-07 03:32:12] Production.INFO: call_cost end
[2025-01-07 03:32:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:32:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:32:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:32:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:32:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:32:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:32:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:32:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:32:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:32:13] Production.INFO: ==28694== Releasing lock...
[2025-01-07 03:32:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:32:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:32:18] Production.INFO: count ==207
[2025-01-07 03:32:18] Production.ERROR: pbx CDR StartTime 2025-01-07 00:32:05 - End Time 2025-01-07 03:32:05
[2025-01-07 03:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192165', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192165', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192165', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192165', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:32:18] Production.INFO: ProcessCDR(1,14192165,1,1,2)
[2025-01-07 03:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192165,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192165,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192165,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192165,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192165', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192165', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:32:21] Production.INFO: ==28702== Releasing lock...
[2025-01-07 03:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:32:21] Production.INFO: 29 MB #Memory Used#
[2025-01-07 08:33:02] Production.INFO: ==28758== Lock acquired, processing the job...
[2025-01-07 08:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:33:02] Production.INFO: neon service started
[2025-01-07 08:33:02] Production.INFO: neon service started
[2025-01-07 08:33:02] Production.INFO: ==28758== Releasing lock...
[2025-01-07 08:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:33:02] Production.INFO: ==28762== Lock acquired, processing the job...
[2025-01-07 08:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:33:02] Production.INFO: ==28762== Releasing lock...
[2025-01-07 08:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:33:02] Production.INFO: ==28760== Lock acquired, processing the job...
[2025-01-07 03:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:33:02] Production.INFO: ==28760== Releasing lock...
[2025-01-07 03:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:33:03] Production.INFO: ==28765== Lock acquired, processing the job...
[2025-01-07 03:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:33:03] Production.INFO: ==28769== Lock acquired, processing the job...
[2025-01-07 03:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:33:03] Production.INFO: ==28773== Lock acquired, processing the job...
[2025-01-07 03:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:33:03] Production.INFO: ==28767== Lock acquired, processing the job...
[2025-01-07 03:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:33:03] Production.INFO: ==28771== Lock acquired, processing the job...
[2025-01-07 03:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:33:04] Production.ERROR: done
[2025-01-07 03:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:33:04] Production.INFO: Account Balance Start.
[2025-01-07 03:33:04] Production.INFO: CreateAllLog Start
[2025-01-07 03:33:04] Production.INFO: 117
[2025-01-07 03:33:04] Production.INFO: Date 2024-12-08
[2025-01-07 03:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:33:04] Production.INFO: ==28775== Lock acquired, processing the job...
[2025-01-07 03:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:33:04] Production.INFO: Date 2024-12-09
[2025-01-07 03:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:33:04] Production.INFO: Date 2024-12-10
[2025-01-07 03:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:33:04] Production.ERROR: done
[2025-01-07 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-07 03:33:04] Production.INFO: Date 2024-12-11
[2025-01-07 03:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:33:04] Production.INFO: count ==21
[2025-01-07 03:33:04] Production.INFO: Date 2024-12-12
[2025-01-07 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-07 03:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:33:04] Production.INFO: count ==21
[2025-01-07 03:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192169') start
[2025-01-07 03:33:04] Production.INFO: Date 2024-12-13
[2025-01-07 03:33:04] Production.INFO: ==28767== Releasing lock...
[2025-01-07 03:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:33:04] Production.INFO: Date 2024-12-14
[2025-01-07 03:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192169') end
[2025-01-07 03:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:33:04] Production.INFO: 1
[2025-01-07 03:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:33:04] Production.INFO: ==28775== Releasing lock...
[2025-01-07 03:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:33:04] Production.INFO: Date 2024-12-15
[2025-01-07 03:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:33:04] Production.INFO: Date 2024-12-16
[2025-01-07 03:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:33:04] Production.INFO: Date 2024-12-17
[2025-01-07 03:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:33:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:33:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:33:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:33:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:33:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:33:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:33:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:33:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:33:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:33:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:33:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:33:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:33:04] Production.INFO: Date 2024-12-30
[2025-01-07 03:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:33:04] Production.INFO: Date 2024-12-31
[2025-01-07 03:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:33:04] Production.INFO: Date 2025-01-01
[2025-01-07 03:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:33:04] Production.INFO: Date 2025-01-02
[2025-01-07 03:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:33:04] Production.INFO: Date 2025-01-03
[2025-01-07 03:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:33:04] Production.INFO: Date 2025-01-04
[2025-01-07 03:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:33:04] Production.INFO: Date 2025-01-05
[2025-01-07 03:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:33:04] Production.INFO: Date 2025-01-06
[2025-01-07 03:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:33:05] Production.INFO: Date 2025-01-07
[2025-01-07 03:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:33:05] Production.INFO: Total Charge 0
[2025-01-07 03:33:05] Production.INFO: CreateAllLog End
[2025-01-07 03:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:33:05
[end_date_ymd] => 2025-01-07 03:33:05
[RateCDR] => 1
)
[2025-01-07 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-07 00:33:05' and `end` < '2025-01-07 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-07 03:33:05] Production.INFO: Account Balance End.
[2025-01-07 03:33:05] Production.ERROR: CronJobId end 12
[2025-01-07 03:33:05] Production.INFO: ==28771== Releasing lock...
[2025-01-07 03:33:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:33:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:33:10] Production.ERROR: CronJobId end10
[2025-01-07 03:33:10] Production.INFO: ==28769== Releasing lock...
[2025-01-07 03:33:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:33:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:33:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:33:11] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:33:11] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:33:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:33:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:33:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:33:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:33:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:33:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:33:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:33:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:33:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:33:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:33:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:33:12] Production.INFO: call_cost start
[2025-01-07 03:33:12] Production.INFO: call_cost end
[2025-01-07 03:33:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:33:12] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:33:12] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:33:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:33:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:33:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:33:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:33:12] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:33:12] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:33:12] Production.INFO: ==28765== Releasing lock...
[2025-01-07 03:33:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:33:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:33:18] Production.INFO: count ==201
[2025-01-07 03:33:18] Production.ERROR: pbx CDR StartTime 2025-01-07 00:33:05 - End Time 2025-01-07 03:33:05
[2025-01-07 03:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192170', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192170', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192170', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192170', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:33:18] Production.INFO: ProcessCDR(1,14192170,1,1,2)
[2025-01-07 03:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192170,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192170,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192170,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192170,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192170', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192170', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:33:21] Production.INFO: ==28773== Releasing lock...
[2025-01-07 03:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:33:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-07 08:34:01] Production.INFO: ==28828== Lock acquired, processing the job...
[2025-01-07 08:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:34:01] Production.INFO: neon service started
[2025-01-07 08:34:01] Production.INFO: neon service started
[2025-01-07 08:34:01] Production.INFO: ==28828== Releasing lock...
[2025-01-07 08:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:34:02] Production.INFO: ==28830== Lock acquired, processing the job...
[2025-01-07 03:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:34:02] Production.INFO: ==28832== Lock acquired, processing the job...
[2025-01-07 08:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:34:02] Production.INFO: ==28832== Releasing lock...
[2025-01-07 08:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:34:02] Production.INFO: ==28830== Releasing lock...
[2025-01-07 03:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:34:03] Production.INFO: ==28835== Lock acquired, processing the job...
[2025-01-07 03:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:34:03] Production.INFO: ==28837== Lock acquired, processing the job...
[2025-01-07 03:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:34:03] Production.INFO: ==28839== Lock acquired, processing the job...
[2025-01-07 03:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:34:03] Production.INFO: ==28841== Lock acquired, processing the job...
[2025-01-07 03:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:34:03] Production.INFO: ==28843== Lock acquired, processing the job...
[2025-01-07 03:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:34:03] Production.INFO: ==28845== Lock acquired, processing the job...
[2025-01-07 03:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:34:03] Production.INFO: ==28837== Releasing lock...
[2025-01-07 03:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:34:03] Production.INFO: Account Balance Start.
[2025-01-07 03:34:03] Production.INFO: CreateAllLog Start
[2025-01-07 03:34:03] Production.INFO: 117
[2025-01-07 03:34:03] Production.INFO: Date 2024-12-08
[2025-01-07 03:34:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:34:03] Production.INFO: Date 2024-12-09
[2025-01-07 03:34:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:34:03] Production.INFO: Date 2024-12-10
[2025-01-07 03:34:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:34:03] Production.INFO: Date 2024-12-11
[2025-01-07 03:34:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:34:03] Production.INFO: Date 2024-12-12
[2025-01-07 03:34:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:34:03] Production.INFO: Date 2024-12-13
[2025-01-07 03:34:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 03:34:03] Production.ERROR: done
[2025-01-07 03:34:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:34:03] Production.INFO: count ==21
[2025-01-07 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-07 03:34:03] Production.INFO: Date 2024-12-14
[2025-01-07 03:34:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:34:03] Production.INFO: count ==21
[2025-01-07 03:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192174') start
[2025-01-07 03:34:03] Production.INFO: Date 2024-12-15
[2025-01-07 03:34:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192174') end
[2025-01-07 03:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:34:04] Production.INFO: 1
[2025-01-07 03:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:34:04] Production.INFO: Date 2024-12-16
[2025-01-07 03:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:34:04] Production.ERROR: done
[2025-01-07 03:34:04] Production.INFO: ==28845== Releasing lock...
[2025-01-07 03:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:34:04] Production.INFO: Date 2024-12-17
[2025-01-07 03:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:34:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:34:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:34:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:34:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:34:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:34:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:34:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:34:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:34:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:34:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:34:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:34:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:34:04] Production.INFO: Date 2024-12-30
[2025-01-07 03:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:34:04] Production.INFO: Date 2024-12-31
[2025-01-07 03:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:34:04] Production.INFO: Date 2025-01-01
[2025-01-07 03:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:34:04] Production.INFO: Date 2025-01-02
[2025-01-07 03:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:34:04] Production.INFO: Date 2025-01-03
[2025-01-07 03:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:34:04] Production.INFO: Date 2025-01-04
[2025-01-07 03:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:34:04] Production.INFO: Date 2025-01-05
[2025-01-07 03:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:34:04] Production.INFO: Date 2025-01-06
[2025-01-07 03:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:34:04] Production.INFO: Date 2025-01-07
[2025-01-07 03:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:34:04] Production.INFO: Total Charge 0
[2025-01-07 03:34:04] Production.INFO: CreateAllLog End
[2025-01-07 03:34:04] Production.INFO: Account Balance End.
[2025-01-07 03:34:04] Production.ERROR: CronJobId end 12
[2025-01-07 03:34:04] Production.INFO: ==28841== Releasing lock...
[2025-01-07 03:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:34:05
[end_date_ymd] => 2025-01-07 03:34:05
[RateCDR] => 1
)
[2025-01-07 03:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 00:34:05' and `end` < '2025-01-07 03:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 03:34:10] Production.ERROR: CronJobId end10
[2025-01-07 03:34:10] Production.INFO: ==28839== Releasing lock...
[2025-01-07 03:34:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:34:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:34:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:34:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:34:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:34:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:34:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:34:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:34:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:34:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:34:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:34:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:34:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:34:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:34:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:34:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:34:12] Production.INFO: call_cost start
[2025-01-07 03:34:12] Production.INFO: call_cost end
[2025-01-07 03:34:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:34:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:34:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:34:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:34:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:34:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:34:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:34:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:34:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:34:13] Production.INFO: ==28835== Releasing lock...
[2025-01-07 03:34:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:34:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:34:18] Production.INFO: count ==200
[2025-01-07 03:34:18] Production.ERROR: pbx CDR StartTime 2025-01-07 00:34:05 - End Time 2025-01-07 03:34:05
[2025-01-07 03:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192175', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192175', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192175', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192175', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:34:18] Production.INFO: ProcessCDR(1,14192175,1,1,2)
[2025-01-07 03:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192175,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192175,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192175,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192175,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192175', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192175', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:34:21] Production.INFO: ==28843== Releasing lock...
[2025-01-07 03:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:34:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-07 08:35:01] Production.INFO: ==28897== Lock acquired, processing the job...
[2025-01-07 08:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:35:02] Production.INFO: neon service started
[2025-01-07 08:35:02] Production.INFO: neon service started
[2025-01-07 08:35:02] Production.INFO: ==28897== Releasing lock...
[2025-01-07 08:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:35:02] Production.INFO: ==28899== Lock acquired, processing the job...
[2025-01-07 03:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:35:02] Production.INFO: ==28899== Releasing lock...
[2025-01-07 03:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:35:02] Production.INFO: ==28901== Lock acquired, processing the job...
[2025-01-07 08:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:35:02] Production.INFO: ==28901== Releasing lock...
[2025-01-07 08:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:35:03] Production.INFO: ==28907== Lock acquired, processing the job...
[2025-01-07 03:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:35:03] Production.INFO: ==28912== Lock acquired, processing the job...
[2025-01-07 03:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:35:03] Production.INFO: ==28903== Lock acquired, processing the job...
[2025-01-07 03:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:35:03] Production.INFO: ==28905== Lock acquired, processing the job...
[2025-01-07 03:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:35:03] Production.INFO: ==28910== Lock acquired, processing the job...
[2025-01-07 03:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:35:03] Production.INFO: ==28914== Lock acquired, processing the job...
[2025-01-07 03:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:35:04] Production.INFO: Account Balance Start.
[2025-01-07 03:35:04] Production.INFO: CreateAllLog Start
[2025-01-07 03:35:04] Production.INFO: 117
[2025-01-07 03:35:04] Production.ERROR: done
[2025-01-07 03:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 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-07 03:35:04] Production.INFO: Date 2024-12-08
[2025-01-07 03:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:35:04] Production.INFO: count ==21
[2025-01-07 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-07 03:35:04] Production.INFO: count ==21
[2025-01-07 03:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192179') start
[2025-01-07 03:35:04] Production.INFO: Date 2024-12-09
[2025-01-07 03:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:35:04] Production.ERROR: done
[2025-01-07 03:35:04] Production.INFO: Date 2024-12-10
[2025-01-07 03:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:35:04] Production.INFO: ==28905== Releasing lock...
[2025-01-07 03:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:35:04] Production.INFO: Date 2024-12-11
[2025-01-07 03:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:35:04] Production.INFO: Date 2024-12-12
[2025-01-07 03:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:35:04] Production.INFO: Date 2024-12-13
[2025-01-07 03:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192179') end
[2025-01-07 03:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:35:04] Production.INFO: 1
[2025-01-07 03:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:35:04] Production.INFO: ==28914== Releasing lock...
[2025-01-07 03:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:35:04] Production.INFO: Date 2024-12-14
[2025-01-07 03:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:35:04] Production.INFO: Date 2024-12-15
[2025-01-07 03:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:35:04] Production.INFO: Date 2024-12-16
[2025-01-07 03:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:35:04] Production.INFO: Date 2024-12-17
[2025-01-07 03:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:35:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:35:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:35:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:35:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:35:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:35:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:35:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:35:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:35:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:35:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:35:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:35:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:35:04] Production.INFO: Date 2024-12-30
[2025-01-07 03:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:35:04] Production.INFO: Date 2024-12-31
[2025-01-07 03:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:35:04] Production.INFO: Date 2025-01-01
[2025-01-07 03:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:35:04] Production.INFO: Date 2025-01-02
[2025-01-07 03:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:35:04] Production.INFO: Date 2025-01-03
[2025-01-07 03:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:35:04] Production.INFO: Date 2025-01-04
[2025-01-07 03:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:35:05] Production.INFO: Date 2025-01-05
[2025-01-07 03:35:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:35:05] Production.INFO: Date 2025-01-06
[2025-01-07 03:35:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:35:05] Production.INFO: Date 2025-01-07
[2025-01-07 03:35:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:35:05] Production.INFO: Total Charge 0
[2025-01-07 03:35:05] Production.INFO: CreateAllLog End
[2025-01-07 03:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:35:05
[end_date_ymd] => 2025-01-07 03:35:05
[RateCDR] => 1
)
[2025-01-07 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-07 00:35:05' and `end` < '2025-01-07 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-07 03:35:05] Production.INFO: Account Balance End.
[2025-01-07 03:35:05] Production.ERROR: CronJobId end 12
[2025-01-07 03:35:05] Production.INFO: ==28910== Releasing lock...
[2025-01-07 03:35:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:35:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:35:12] Production.ERROR: CronJobId end10
[2025-01-07 03:35:12] Production.INFO: ==28907== Releasing lock...
[2025-01-07 03:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:35:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:35:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:35:14] Production.INFO: call_cost start
[2025-01-07 03:35:14] Production.INFO: call_cost end
[2025-01-07 03:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:35:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:35:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:35:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:35:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:35:15] Production.INFO: ==28903== Releasing lock...
[2025-01-07 03:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:35:19] Production.INFO: count ==200
[2025-01-07 03:35:19] Production.ERROR: pbx CDR StartTime 2025-01-07 00:35:05 - End Time 2025-01-07 03:35:05
[2025-01-07 03:35:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192180', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192180', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192180', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192180', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:35:19] Production.INFO: ProcessCDR(1,14192180,1,1,2)
[2025-01-07 03:35:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192180,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:35:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192180,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:35:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192180,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:35:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192180,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192180', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192180', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:35:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:35:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:35:22] Production.INFO: ==28912== Releasing lock...
[2025-01-07 03:35:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:35:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-07 08:36:01] Production.INFO: ==28971== Lock acquired, processing the job...
[2025-01-07 08:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:36:01] Production.INFO: neon service started
[2025-01-07 08:36:01] Production.INFO: neon service started
[2025-01-07 08:36:01] Production.INFO: ==28971== Releasing lock...
[2025-01-07 08:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:36:01] Production.INFO: ==28973== Lock acquired, processing the job...
[2025-01-07 03:36:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:36:02] Production.INFO: ==28975== Lock acquired, processing the job...
[2025-01-07 08:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:36:02] Production.INFO: ==28975== Releasing lock...
[2025-01-07 08:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:36:02] Production.INFO: ==28973== Releasing lock...
[2025-01-07 03:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:36:03] Production.INFO: ==28977== Lock acquired, processing the job...
[2025-01-07 03:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:36:03] Production.INFO: ==28988== Lock acquired, processing the job...
[2025-01-07 03:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:36:03] Production.INFO: ==28986== Lock acquired, processing the job...
[2025-01-07 03:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 03:36:03] Production.INFO: ==28979== Lock acquired, processing the job...
[2025-01-07 03:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:36:03] Production.INFO: ==28981== Lock acquired, processing the job...
[2025-01-07 03:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:36:03] Production.INFO: count ==21
[2025-01-07 03:36:03] Production.INFO: ==28983== Lock acquired, processing the job...
[2025-01-07 03:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 03:36:03] Production.INFO: count ==21
[2025-01-07 03:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192182') start
[2025-01-07 03:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:36:03] Production.ERROR: done
[2025-01-07 03:36:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:36:03] Production.INFO: Account Balance Start.
[2025-01-07 03:36:03] Production.INFO: CreateAllLog Start
[2025-01-07 03:36:03] Production.INFO: 117
[2025-01-07 03:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192182') end
[2025-01-07 03:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:36:03] Production.INFO: 1
[2025-01-07 03:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:36:03] Production.INFO: Date 2024-12-08
[2025-01-07 03:36:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:36:03] Production.ERROR: done
[2025-01-07 03:36:03] Production.INFO: ==28988== Releasing lock...
[2025-01-07 03:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:36:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:36:03] Production.INFO: Date 2024-12-09
[2025-01-07 03:36:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:36:04] Production.INFO: ==28979== Releasing lock...
[2025-01-07 03:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:36:04] Production.INFO: Date 2024-12-10
[2025-01-07 03:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:36:04] Production.INFO: Date 2024-12-11
[2025-01-07 03:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:36:04] Production.INFO: Date 2024-12-12
[2025-01-07 03:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:36:04] Production.INFO: Date 2024-12-13
[2025-01-07 03:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:36:04] Production.INFO: Date 2024-12-14
[2025-01-07 03:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:36:04] Production.INFO: Date 2024-12-15
[2025-01-07 03:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:36:04] Production.INFO: Date 2024-12-16
[2025-01-07 03:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:36:04] Production.INFO: Date 2024-12-17
[2025-01-07 03:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:36:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:36:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:36:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:36:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:36:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:36:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:36:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:36:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:36:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:36:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:36:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:36:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:36:04] Production.INFO: Date 2024-12-30
[2025-01-07 03:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:36:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:36:04
[end_date_ymd] => 2025-01-07 03:36:04
[RateCDR] => 1
)
[2025-01-07 03: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-07 00:36:04' and `end` < '2025-01-07 03: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-07 03:36:04] Production.INFO: Date 2024-12-31
[2025-01-07 03:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:36:04] Production.INFO: Date 2025-01-01
[2025-01-07 03:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:36:04] Production.INFO: Date 2025-01-02
[2025-01-07 03:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:36:04] Production.INFO: Date 2025-01-03
[2025-01-07 03:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:36:04] Production.INFO: Date 2025-01-04
[2025-01-07 03:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:36:04] Production.INFO: Date 2025-01-05
[2025-01-07 03:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:36:04] Production.INFO: Date 2025-01-06
[2025-01-07 03:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:36:04] Production.INFO: Date 2025-01-07
[2025-01-07 03:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:36:04] Production.INFO: Total Charge 0
[2025-01-07 03:36:04] Production.INFO: CreateAllLog End
[2025-01-07 03:36:05] Production.INFO: Account Balance End.
[2025-01-07 03:36:05] Production.ERROR: CronJobId end 12
[2025-01-07 03:36:05] Production.INFO: ==28983== Releasing lock...
[2025-01-07 03:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:36:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:36: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-07 03:36:10] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:36:10] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:36:10] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:36:10] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:36:10] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:36:10] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:36:10] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:36:10] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:36:10] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:36:10] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:36:10] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:36:10] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:36:10] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:36:10] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:36:10] Production.INFO: call_cost start
[2025-01-07 03:36:10] Production.INFO: call_cost end
[2025-01-07 03:36:11] Production.ERROR: CronJobId end10
[2025-01-07 03:36:11] Production.INFO: ==28981== Releasing lock...
[2025-01-07 03:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:36:11] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:36:11] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:36:11] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:36:11] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:36:11] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:36:11] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:36:11] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:36:11] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:36:11] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:36:11] Production.INFO: ==28977== Releasing lock...
[2025-01-07 03:36:11] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:36:11] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:36:17] Production.INFO: count ==200
[2025-01-07 03:36:17] Production.ERROR: pbx CDR StartTime 2025-01-07 00:36:04 - End Time 2025-01-07 03:36:04
[2025-01-07 03:36:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192185', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192185', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192185', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192185', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:36:17] Production.INFO: ProcessCDR(1,14192185,1,1,2)
[2025-01-07 03:36:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192185,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:36:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192185,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:36:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192185,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:36:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192185,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192185', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192185', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:36:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:36:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:36:20] Production.INFO: ==28986== Releasing lock...
[2025-01-07 03:36:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:36:20] Production.INFO: 28.75 MB #Memory Used#
[2025-01-07 08:37:01] Production.INFO: ==29039== Lock acquired, processing the job...
[2025-01-07 08:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:37:01] Production.INFO: neon service started
[2025-01-07 08:37:01] Production.INFO: neon service started
[2025-01-07 08:37:01] Production.INFO: ==29039== Releasing lock...
[2025-01-07 08:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:37:02] Production.INFO: ==29044== Lock acquired, processing the job...
[2025-01-07 08:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:37:02] Production.INFO: ==29044== Releasing lock...
[2025-01-07 08:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:37:02] Production.INFO: ==29042== Lock acquired, processing the job...
[2025-01-07 03:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:37:02] Production.INFO: ==29042== Releasing lock...
[2025-01-07 03:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:37:03] Production.INFO: ==29050== Lock acquired, processing the job...
[2025-01-07 03:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:37:03] Production.INFO: ==29046== Lock acquired, processing the job...
[2025-01-07 03:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:37:03] Production.INFO: ==29056== Lock acquired, processing the job...
[2025-01-07 03:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 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-07 03:37:03] Production.INFO: ==29048== Lock acquired, processing the job...
[2025-01-07 03:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:37:03] Production.INFO: count ==21
[2025-01-07 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-07 03:37:03] Production.INFO: count ==21
[2025-01-07 03:37:03] Production.INFO: ==29052== Lock acquired, processing the job...
[2025-01-07 03:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192186') start
[2025-01-07 03:37:03] Production.INFO: ==29054== Lock acquired, processing the job...
[2025-01-07 03:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192186') end
[2025-01-07 03:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:37:03] Production.INFO: 1
[2025-01-07 03:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:37:03] Production.INFO: Account Balance Start.
[2025-01-07 03:37:03] Production.INFO: CreateAllLog Start
[2025-01-07 03:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:37:03] Production.INFO: ==29056== Releasing lock...
[2025-01-07 03:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:37:03] Production.INFO: 117
[2025-01-07 03:37:03] Production.INFO: Date 2024-12-08
[2025-01-07 03:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:37:03] Production.INFO: Date 2024-12-09
[2025-01-07 03:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:37:04] Production.INFO: Date 2024-12-10
[2025-01-07 03:37:04] Production.INFO: ==29048== Releasing lock...
[2025-01-07 03:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:37:04] Production.INFO: Date 2024-12-11
[2025-01-07 03:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:37:04] Production.INFO: Date 2024-12-12
[2025-01-07 03:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:37:04] Production.ERROR: done
[2025-01-07 03:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:37:04] Production.INFO: Date 2024-12-13
[2025-01-07 03:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:37:04] Production.INFO: Date 2024-12-14
[2025-01-07 03:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:37:04] Production.INFO: Date 2024-12-15
[2025-01-07 03:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:37:04] Production.INFO: Date 2024-12-16
[2025-01-07 03:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:37:04] Production.INFO: Date 2024-12-17
[2025-01-07 03:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:37:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:37:04] Production.ERROR: done
[2025-01-07 03:37:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:37:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:37:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:37:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:37:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:37:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:37:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:37:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:37:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:37:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:37:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:37:04] Production.INFO: Date 2024-12-30
[2025-01-07 03:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:37:04] Production.INFO: Date 2024-12-31
[2025-01-07 03:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:37:04] Production.INFO: Date 2025-01-01
[2025-01-07 03:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:37:04] Production.INFO: Date 2025-01-02
[2025-01-07 03:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:37:04] Production.INFO: Date 2025-01-03
[2025-01-07 03:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:37:04] Production.INFO: Date 2025-01-04
[2025-01-07 03:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:37:04] Production.INFO: Date 2025-01-05
[2025-01-07 03:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:37:04] Production.INFO: Date 2025-01-06
[2025-01-07 03:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:37:04] Production.INFO: Date 2025-01-07
[2025-01-07 03:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:37:04] Production.INFO: Total Charge 0
[2025-01-07 03:37:04] Production.INFO: CreateAllLog End
[2025-01-07 03:37:05] Production.INFO: Account Balance End.
[2025-01-07 03:37:05] Production.ERROR: CronJobId end 12
[2025-01-07 03:37:05] Production.INFO: ==29052== Releasing lock...
[2025-01-07 03:37:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:37:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:37:05
[end_date_ymd] => 2025-01-07 03:37:05
[RateCDR] => 1
)
[2025-01-07 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-07 00:37:05' and `end` < '2025-01-07 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-07 03:37:11] Production.ERROR: CronJobId end10
[2025-01-07 03:37:11] Production.INFO: ==29050== Releasing lock...
[2025-01-07 03:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:37:14] Production.INFO: call_cost start
[2025-01-07 03:37:14] Production.INFO: call_cost end
[2025-01-07 03:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:37:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:37:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:37:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:37:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:37:15] Production.INFO: ==29046== Releasing lock...
[2025-01-07 03:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:37:18] Production.INFO: count ==200
[2025-01-07 03:37:18] Production.ERROR: pbx CDR StartTime 2025-01-07 00:37:05 - End Time 2025-01-07 03:37:05
[2025-01-07 03:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192190', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192190', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192190', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192190', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:37:18] Production.INFO: ProcessCDR(1,14192190,1,1,2)
[2025-01-07 03:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192190,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192190,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192190,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192190,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192190', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192190', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:37:21] Production.INFO: ==29054== Releasing lock...
[2025-01-07 03:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:37:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-07 08:38:02] Production.INFO: ==29113== Lock acquired, processing the job...
[2025-01-07 08:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:38:02] Production.INFO: neon service started
[2025-01-07 08:38:02] Production.INFO: neon service started
[2025-01-07 08:38:02] Production.INFO: ==29113== Releasing lock...
[2025-01-07 08:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:38:02] Production.INFO: ==29115== Lock acquired, processing the job...
[2025-01-07 03:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:38:02] Production.INFO: ==29115== Releasing lock...
[2025-01-07 03:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:38:03] Production.INFO: ==29117== Lock acquired, processing the job...
[2025-01-07 08:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:38:03] Production.INFO: ==29117== Releasing lock...
[2025-01-07 08:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:38:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:38:03] Production.INFO: ==29125== Lock acquired, processing the job...
[2025-01-07 03:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:38:03] Production.INFO: ==29119== Lock acquired, processing the job...
[2025-01-07 03:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:38:03] Production.INFO: ==29127== Lock acquired, processing the job...
[2025-01-07 03:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:38:03] Production.INFO: ==29121== Lock acquired, processing the job...
[2025-01-07 03:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:38:03] Production.INFO: Account Balance Start.
[2025-01-07 03:38:03] Production.INFO: CreateAllLog Start
[2025-01-07 03:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:38:03] Production.INFO: 117
[2025-01-07 03:38:03] Production.INFO: ==29123== Lock acquired, processing the job...
[2025-01-07 03:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:38:03] Production.INFO: Date 2024-12-08
[2025-01-07 03:38:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:38:03] Production.INFO: ==29129== Lock acquired, processing the job...
[2025-01-07 03:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:38:04] Production.INFO: Date 2024-12-09
[2025-01-07 03:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 03:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:38:04] Production.INFO: Date 2024-12-10
[2025-01-07 03:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:38:04] Production.INFO: count ==21
[2025-01-07 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-07 03:38:04] Production.INFO: count ==21
[2025-01-07 03:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192194') start
[2025-01-07 03:38:04] Production.ERROR: done
[2025-01-07 03:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:38:04] Production.INFO: Date 2024-12-11
[2025-01-07 03:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:38:04] Production.INFO: ==29121== Releasing lock...
[2025-01-07 03:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:38:04] Production.INFO: Date 2024-12-12
[2025-01-07 03:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:38:04] Production.INFO: Date 2024-12-13
[2025-01-07 03:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192194') end
[2025-01-07 03:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:38:04] Production.INFO: 1
[2025-01-07 03:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:38:04] Production.ERROR: done
[2025-01-07 03:38:04] Production.INFO: Date 2024-12-14
[2025-01-07 03:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:38:04] Production.INFO: Date 2024-12-15
[2025-01-07 03:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:38:04] Production.INFO: ==29129== Releasing lock...
[2025-01-07 03:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:38:04] Production.INFO: Date 2024-12-16
[2025-01-07 03:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:38:04] Production.INFO: Date 2024-12-17
[2025-01-07 03:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:38:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:38:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:38:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:38:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:38:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:38:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:38:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:38:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:38:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:38:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:38:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:38:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:38:05] Production.INFO: Date 2024-12-30
[2025-01-07 03:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:38:05] Production.INFO: Date 2024-12-31
[2025-01-07 03:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:38:05] Production.INFO: Date 2025-01-01
[2025-01-07 03:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:38:05] Production.INFO: Date 2025-01-02
[2025-01-07 03:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:38:05] Production.INFO: Date 2025-01-03
[2025-01-07 03:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:38:05] Production.INFO: Date 2025-01-04
[2025-01-07 03:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:38:05] Production.INFO: Date 2025-01-05
[2025-01-07 03:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:38:05] Production.INFO: Date 2025-01-06
[2025-01-07 03:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:38:05] Production.INFO: Date 2025-01-07
[2025-01-07 03:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:38:05] Production.INFO: Total Charge 0
[2025-01-07 03:38:05] Production.INFO: CreateAllLog End
[2025-01-07 03:38:05] Production.INFO: Account Balance End.
[2025-01-07 03:38:05] Production.ERROR: CronJobId end 12
[2025-01-07 03:38:05] Production.INFO: ==29125== Releasing lock...
[2025-01-07 03:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:38:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:38:05
[end_date_ymd] => 2025-01-07 03:38:05
[RateCDR] => 1
)
[2025-01-07 03:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 00:38:05' and `end` < '2025-01-07 03:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 03:38:11] Production.ERROR: CronJobId end10
[2025-01-07 03:38:11] Production.INFO: ==29123== Releasing lock...
[2025-01-07 03:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:38:13] Production.INFO: call_cost start
[2025-01-07 03:38:13] Production.INFO: call_cost end
[2025-01-07 03:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:38:14] Production.INFO: ==29119== Releasing lock...
[2025-01-07 03:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:38:18] Production.INFO: count ==200
[2025-01-07 03:38:18] Production.ERROR: pbx CDR StartTime 2025-01-07 00:38:05 - End Time 2025-01-07 03:38:05
[2025-01-07 03:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192195', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192195', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192195', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192195', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:38:18] Production.INFO: ProcessCDR(1,14192195,1,1,2)
[2025-01-07 03:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192195,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192195,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192195,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192195,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192195', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192195', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:38:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:38:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:38:21] Production.INFO: ==29127== Releasing lock...
[2025-01-07 03:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:38:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-07 08:39:01] Production.INFO: ==29181== Lock acquired, processing the job...
[2025-01-07 08:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:39:01] Production.INFO: neon service started
[2025-01-07 08:39:01] Production.INFO: neon service started
[2025-01-07 08:39:01] Production.INFO: ==29181== Releasing lock...
[2025-01-07 08:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:39:02] Production.INFO: ==29183== Lock acquired, processing the job...
[2025-01-07 03:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:39:02] Production.INFO: ==29185== Lock acquired, processing the job...
[2025-01-07 08:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:39:02] Production.INFO: ==29185== Releasing lock...
[2025-01-07 08:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:39:02] Production.INFO: ==29183== Releasing lock...
[2025-01-07 03:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:39:03] Production.INFO: ==29198== Lock acquired, processing the job...
[2025-01-07 03:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:39:03] Production.INFO: ==29192== Lock acquired, processing the job...
[2025-01-07 03:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:39:03] Production.INFO: ==29190== Lock acquired, processing the job...
[2025-01-07 03:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:39:03] Production.INFO: ==29188== Lock acquired, processing the job...
[2025-01-07 03:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:39:03] Production.INFO: ==29194== Lock acquired, processing the job...
[2025-01-07 03:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 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-07 03:39:03] Production.INFO: ==29196== Lock acquired, processing the job...
[2025-01-07 03:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:39:03] Production.INFO: Account Balance Start.
[2025-01-07 03:39:03] Production.INFO: CreateAllLog Start
[2025-01-07 03:39:03] Production.INFO: 117
[2025-01-07 03:39:03] Production.INFO: count ==21
[2025-01-07 03:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 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-07 03:39:03] Production.INFO: count ==21
[2025-01-07 03:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192196') start
[2025-01-07 03:39:03] Production.INFO: Date 2024-12-08
[2025-01-07 03:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:39:03] Production.INFO: Date 2024-12-09
[2025-01-07 03:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:39:04] Production.INFO: Date 2024-12-10
[2025-01-07 03:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:39:04] Production.INFO: Date 2024-12-11
[2025-01-07 03:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:39:04] Production.INFO: Date 2024-12-12
[2025-01-07 03:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:39:04] Production.INFO: Date 2024-12-13
[2025-01-07 03:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192196') end
[2025-01-07 03:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:39:04] Production.INFO: 1
[2025-01-07 03:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:39:04] Production.ERROR: done
[2025-01-07 03:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:39:04] Production.INFO: Date 2024-12-14
[2025-01-07 03:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:39:04] Production.INFO: ==29190== Releasing lock...
[2025-01-07 03:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:39:04] Production.INFO: ==29198== Releasing lock...
[2025-01-07 03:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:39:04] Production.INFO: Date 2024-12-15
[2025-01-07 03:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:39:04] Production.INFO: Date 2024-12-16
[2025-01-07 03:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:39:04] Production.ERROR: done
[2025-01-07 03:39:04] Production.INFO: Date 2024-12-17
[2025-01-07 03:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:39:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:39:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:39:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:39:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:39:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:39:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:39:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:39:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:39:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:39:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:39:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:39:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:39:04] Production.INFO: Date 2024-12-30
[2025-01-07 03:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:39:04] Production.INFO: Date 2024-12-31
[2025-01-07 03:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:39:04] Production.INFO: Date 2025-01-01
[2025-01-07 03:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:39:04] Production.INFO: Date 2025-01-02
[2025-01-07 03:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:39:05] Production.INFO: Date 2025-01-03
[2025-01-07 03:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:39:05] Production.INFO: Date 2025-01-04
[2025-01-07 03:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:39:05] Production.INFO: Date 2025-01-05
[2025-01-07 03:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:39:05] Production.INFO: Date 2025-01-06
[2025-01-07 03:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:39:05] Production.INFO: Date 2025-01-07
[2025-01-07 03:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:39:05] Production.INFO: Total Charge 0
[2025-01-07 03:39:05] Production.INFO: CreateAllLog End
[2025-01-07 03:39:05] Production.INFO: Account Balance End.
[2025-01-07 03:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:39:05
[end_date_ymd] => 2025-01-07 03:39:05
[RateCDR] => 1
)
[2025-01-07 03:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 00:39:05' and `end` < '2025-01-07 03:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 03:39:05] Production.ERROR: CronJobId end 12
[2025-01-07 03:39:05] Production.INFO: ==29194== Releasing lock...
[2025-01-07 03:39:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:39:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:39:12] Production.ERROR: CronJobId end10
[2025-01-07 03:39:12] Production.INFO: ==29192== Releasing lock...
[2025-01-07 03:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:39:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:39:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:39:14] Production.INFO: call_cost start
[2025-01-07 03:39:14] Production.INFO: call_cost end
[2025-01-07 03:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:39:14] Production.INFO: ==29188== Releasing lock...
[2025-01-07 03:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:39:18] Production.INFO: count ==200
[2025-01-07 03:39:18] Production.ERROR: pbx CDR StartTime 2025-01-07 00:39:05 - End Time 2025-01-07 03:39:05
[2025-01-07 03:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192200', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192200', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192200', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192200', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:39:18] Production.INFO: ProcessCDR(1,14192200,1,1,2)
[2025-01-07 03:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192200,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192200,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192200,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192200,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192200', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192200', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:39:21] Production.INFO: ==29196== Releasing lock...
[2025-01-07 03:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:39:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-07 08:40:02] Production.INFO: ==29251== Lock acquired, processing the job...
[2025-01-07 08:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:40:02] Production.INFO: neon service started
[2025-01-07 08:40:02] Production.INFO: neon service started
[2025-01-07 08:40:02] Production.INFO: ==29251== Releasing lock...
[2025-01-07 08:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:40:02] Production.INFO: ==29253== Lock acquired, processing the job...
[2025-01-07 03:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:40:02] Production.INFO: ==29253== Releasing lock...
[2025-01-07 03:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:40:03] Production.INFO: ==29255== Lock acquired, processing the job...
[2025-01-07 08:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:40:03] Production.INFO: ==29255== Releasing lock...
[2025-01-07 08:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:40:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:40:03] Production.INFO: ==29257== Lock acquired, processing the job...
[2025-01-07 03:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 03:40:03] Production.INFO: ==29263== Lock acquired, processing the job...
[2025-01-07 03:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:40:03] Production.INFO: ==29259== Lock acquired, processing the job...
[2025-01-07 03:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:40:04] Production.INFO: ==29271== Lock acquired, processing the job...
[2025-01-07 03:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 03:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 03:40:04] Production.ERROR: CronJob PID - 29259
[2025-01-07 03:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-07 03:40:04] Production.ERROR: CronJob ID - 5
[2025-01-07 03:40:04] Production.ERROR: CronJob Last Run Time 2025-01-07 03:40:00
[2025-01-07 03:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 03:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 03:40:04] Production.INFO: ==29261== Lock acquired, processing the job...
[2025-01-07 03:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 03:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:40:04] Production.ERROR: CronJob PID - 29263
[2025-01-07 03:40:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-07 03:40:04] Production.ERROR: CronJob ID - 10
[2025-01-07 03:40:04] Production.ERROR: CronJob Last Run Time 2025-01-07 03:40:00
[2025-01-07 03:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 03:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 03:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 03:40:04] Production.ERROR: CronJob PID - 29271
[2025-01-07 03:40:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-07 03:40:04] Production.ERROR: CronJob ID - 19
[2025-01-07 03:40:04] Production.ERROR: CronJob Last Run Time 2025-01-07 03:40:00
[2025-01-07 03:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 03:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 03:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 03:40:04] Production.INFO: ==29257== Releasing lock...
[2025-01-07 03:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 03:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 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-07 03:40:04] Production.INFO: count ==21
[2025-01-07 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-07 03:40:04] Production.INFO: count ==21
[2025-01-07 03:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192201') start
[2025-01-07 03:40:04] Production.INFO: ==29265== Lock acquired, processing the job...
[2025-01-07 03:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192201') end
[2025-01-07 03:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:40:04] Production.INFO: 1
[2025-01-07 03:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:40:04] Production.INFO: ==29267== Lock acquired, processing the job...
[2025-01-07 03:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:40:04] Production.INFO: ==29269== Lock acquired, processing the job...
[2025-01-07 03:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 03:40:04] Production.INFO: ==29271== Releasing lock...
[2025-01-07 03:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:40:04] Production.INFO: ==29261== Releasing lock...
[2025-01-07 03:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:40:04] Production.INFO: Account Balance Start.
[2025-01-07 03:40:04] Production.INFO: CreateAllLog Start
[2025-01-07 03:40:04] Production.INFO: 117
[2025-01-07 03:40:04] Production.INFO: Date 2024-12-08
[2025-01-07 03:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:40:04] Production.ERROR: done
[2025-01-07 03:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:40:04] Production.INFO: Date 2024-12-09
[2025-01-07 03:40:04] Production.ERROR: done
[2025-01-07 03:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:40:04] Production.INFO: Date 2024-12-10
[2025-01-07 03:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 03:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14192205', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 03:40:04] Production.INFO: Date 2024-12-11
[2025-01-07 03:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:40:05] Production.INFO: Date 2024-12-12
[2025-01-07 03:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:40:05] Production.ERROR: done
[2025-01-07 03:40:05] Production.INFO: Date 2024-12-13
[2025-01-07 03:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:40:05] Production.INFO: Date 2024-12-14
[2025-01-07 03:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:40:05] Production.INFO: Date 2024-12-15
[2025-01-07 03:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:40:05] Production.INFO: Date 2024-12-16
[2025-01-07 03:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:40:05] Production.INFO: Date 2024-12-17
[2025-01-07 03:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:40:05] Production.INFO: Date 2024-12-18
[2025-01-07 03:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:40:05] Production.INFO: Date 2024-12-19
[2025-01-07 03:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:40:05] Production.INFO: Date 2024-12-20
[2025-01-07 03:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:40:05] Production.INFO: Date 2024-12-21
[2025-01-07 03:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:40:05] Production.INFO: Date 2024-12-22
[2025-01-07 03:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:40:05] Production.INFO: Date 2024-12-23
[2025-01-07 03:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:40:05] Production.INFO: Date 2024-12-24
[2025-01-07 03:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:40:05] Production.INFO: Date 2024-12-25
[2025-01-07 03:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:40:05] Production.INFO: Date 2024-12-26
[2025-01-07 03:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:40:05] Production.INFO: Date 2024-12-27
[2025-01-07 03:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:40:05] Production.INFO: Date 2024-12-28
[2025-01-07 03:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:40:05] Production.INFO: Date 2024-12-29
[2025-01-07 03:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:40:05] Production.INFO: Date 2024-12-30
[2025-01-07 03:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:40:05] Production.INFO: Date 2024-12-31
[2025-01-07 03:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:40:05] Production.INFO: Date 2025-01-01
[2025-01-07 03:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:40:05] Production.INFO: Date 2025-01-02
[2025-01-07 03:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:40:05] Production.INFO: Date 2025-01-03
[2025-01-07 03:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:40:05] Production.INFO: Date 2025-01-04
[2025-01-07 03:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:40:05] Production.INFO: Date 2025-01-05
[2025-01-07 03:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:40:05] Production.INFO: Date 2025-01-06
[2025-01-07 03:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:40:05] Production.INFO: Date 2025-01-07
[2025-01-07 03:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:40:05] Production.INFO: Total Charge 0
[2025-01-07 03:40:05] Production.INFO: CreateAllLog End
[2025-01-07 03:40:06] Production.INFO: Account Balance End.
[2025-01-07 03:40:06] Production.ERROR: CronJobId end 12
[2025-01-07 03:40:06] Production.INFO: ==29265== Releasing lock...
[2025-01-07 03:40:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:40:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:40:06
[end_date_ymd] => 2025-01-07 03:40:06
[RateCDR] => 1
)
[2025-01-07 03:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 00:40:06' and `end` < '2025-01-07 03:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 03:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14192205', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 03:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 03:40:09] Production.INFO: ProcessCDR(1,14192205,1,1,2)
[2025-01-07 03:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14192205,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14192205,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:40:09] Production.INFO: ==29269== Releasing lock...
[2025-01-07 03:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 03:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-07 03:40:13] Production.ERROR: CronJobId end10
[2025-01-07 03:40:13] Production.INFO: ==29263== Releasing lock...
[2025-01-07 03:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:40:15] Production.INFO: call_cost start
[2025-01-07 03:40:15] Production.INFO: call_cost end
[2025-01-07 03:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:40:15] Production.INFO: ==29259== Releasing lock...
[2025-01-07 03:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:40:19] Production.INFO: count ==192
[2025-01-07 03:40:19] Production.ERROR: pbx CDR StartTime 2025-01-07 00:40:06 - End Time 2025-01-07 03:40:06
[2025-01-07 03:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192206', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192206', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192206', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192206', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:40:19] Production.INFO: ProcessCDR(1,14192206,1,1,2)
[2025-01-07 03:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192206,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192206,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192206,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192206,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192206', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192206', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:40:22] Production.INFO: ==29267== Releasing lock...
[2025-01-07 03:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:40:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-07 08:41:01] Production.INFO: ==29323== Lock acquired, processing the job...
[2025-01-07 08:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:41:01] Production.INFO: neon service started
[2025-01-07 08:41:01] Production.INFO: neon service started
[2025-01-07 08:41:01] Production.INFO: ==29323== Releasing lock...
[2025-01-07 08:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:41:01] Production.INFO: ==29325== Lock acquired, processing the job...
[2025-01-07 03:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:41:02] Production.INFO: ==29325== Releasing lock...
[2025-01-07 03:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:41:02] Production.INFO: ==29327== Lock acquired, processing the job...
[2025-01-07 08:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:41:02] Production.INFO: ==29327== Releasing lock...
[2025-01-07 08:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:41:02] Production.INFO: ==29329== Lock acquired, processing the job...
[2025-01-07 03:41:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:41:02] Production.INFO: ==29333== Lock acquired, processing the job...
[2025-01-07 03:41:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:41:03] Production.INFO: ==29339== Lock acquired, processing the job...
[2025-01-07 03:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:41:03] Production.INFO: ==29331== Lock acquired, processing the job...
[2025-01-07 03:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 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-07 03:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:41:03] Production.INFO: ==29335== Lock acquired, processing the job...
[2025-01-07 03:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:41:03] Production.INFO: count ==21
[2025-01-07 03:41:03] Production.INFO: ==29337== Lock acquired, processing the job...
[2025-01-07 03:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 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-07 03:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:41:03] Production.INFO: count ==21
[2025-01-07 03:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192208') start
[2025-01-07 03:41:03] Production.INFO: Account Balance Start.
[2025-01-07 03:41:03] Production.INFO: CreateAllLog Start
[2025-01-07 03:41:03] Production.INFO: 117
[2025-01-07 03:41:03] Production.INFO: Date 2024-12-08
[2025-01-07 03:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192208') end
[2025-01-07 03:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:41:03] Production.INFO: 1
[2025-01-07 03:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:41:03] Production.INFO: Date 2024-12-09
[2025-01-07 03:41:03] Production.INFO: ==29331== Releasing lock...
[2025-01-07 03:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:41:03] Production.INFO: ==29339== Releasing lock...
[2025-01-07 03:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:41:03] Production.INFO: Date 2024-12-10
[2025-01-07 03:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:41:03] Production.INFO: Date 2024-12-11
[2025-01-07 03:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:41:03] Production.ERROR: done
[2025-01-07 03:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:41:03] Production.INFO: Date 2024-12-12
[2025-01-07 03:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:41:03] Production.INFO: Date 2024-12-13
[2025-01-07 03:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:41:03] Production.ERROR: done
[2025-01-07 03:41:03] Production.INFO: Date 2024-12-14
[2025-01-07 03:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:41:03] Production.INFO: Date 2024-12-15
[2025-01-07 03:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:41:03] Production.INFO: Date 2024-12-16
[2025-01-07 03:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:41:04] Production.INFO: Date 2024-12-17
[2025-01-07 03:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:41:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:41:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:41:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:41:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:41:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:41:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:41:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:41:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:41:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:41:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:41:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:41:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:41:04] Production.INFO: Date 2024-12-30
[2025-01-07 03:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:41:04] Production.INFO: Date 2024-12-31
[2025-01-07 03:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:41:04] Production.INFO: Date 2025-01-01
[2025-01-07 03:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:41:04] Production.INFO: Date 2025-01-02
[2025-01-07 03:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:41:04] Production.INFO: Date 2025-01-03
[2025-01-07 03:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:41:04] Production.INFO: Date 2025-01-04
[2025-01-07 03:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:41:04] Production.INFO: Date 2025-01-05
[2025-01-07 03:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:41:04] Production.INFO: Date 2025-01-06
[2025-01-07 03:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:41:04] Production.INFO: Date 2025-01-07
[2025-01-07 03:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:41:04] Production.INFO: Total Charge 0
[2025-01-07 03:41:04] Production.INFO: CreateAllLog End
[2025-01-07 03:41:04] Production.INFO: Account Balance End.
[2025-01-07 03:41:04] Production.ERROR: CronJobId end 12
[2025-01-07 03:41:04] Production.INFO: ==29335== Releasing lock...
[2025-01-07 03:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:41:05
[end_date_ymd] => 2025-01-07 03:41:05
[RateCDR] => 1
)
[2025-01-07 03:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 00:41:05' and `end` < '2025-01-07 03:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 03:41:10] Production.ERROR: CronJobId end10
[2025-01-07 03:41:10] Production.INFO: ==29333== Releasing lock...
[2025-01-07 03:41:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:41:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:41:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:41:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:41:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:41:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:41:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:41:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:41:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:41:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:41:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:41:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:41:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:41:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:41:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:41:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:41:13] Production.INFO: call_cost start
[2025-01-07 03:41:13] Production.INFO: call_cost end
[2025-01-07 03:41:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:41:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:41:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:41:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:41:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:41:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:41:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:41:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:41:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:41:13] Production.INFO: ==29329== Releasing lock...
[2025-01-07 03:41:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:41:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:41:18] Production.INFO: count ==188
[2025-01-07 03:41:18] Production.ERROR: pbx CDR StartTime 2025-01-07 00:41:05 - End Time 2025-01-07 03:41:05
[2025-01-07 03:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192211', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192211', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192211', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192211', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:41:18] Production.INFO: ProcessCDR(1,14192211,1,1,2)
[2025-01-07 03:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192211,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192211,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192211,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192211,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192211', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192211', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:41:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:41:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:41:22] Production.INFO: ==29337== Releasing lock...
[2025-01-07 03:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:41:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-07 08:42:02] Production.INFO: ==29397== Lock acquired, processing the job...
[2025-01-07 08:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:42:02] Production.INFO: neon service started
[2025-01-07 08:42:02] Production.INFO: neon service started
[2025-01-07 08:42:02] Production.INFO: ==29397== Releasing lock...
[2025-01-07 08:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:42:02] Production.INFO: ==29399== Lock acquired, processing the job...
[2025-01-07 03:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:42:02] Production.INFO: ==29399== Releasing lock...
[2025-01-07 03:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:42:02] Production.INFO: ==29401== Lock acquired, processing the job...
[2025-01-07 08:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:42:02] Production.INFO: ==29401== Releasing lock...
[2025-01-07 08:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:42:03] Production.INFO: ==29412== Lock acquired, processing the job...
[2025-01-07 03:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:42:03] Production.INFO: ==29404== Lock acquired, processing the job...
[2025-01-07 03:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:42:03] Production.INFO: ==29414== Lock acquired, processing the job...
[2025-01-07 03:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:42:03] Production.INFO: ==29406== Lock acquired, processing the job...
[2025-01-07 03:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:42:03] Production.INFO: ==29408== Lock acquired, processing the job...
[2025-01-07 03:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:42:03] Production.INFO: ==29410== Lock acquired, processing the job...
[2025-01-07 03:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 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-07 03:42:04] Production.INFO: count ==21
[2025-01-07 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-07 03:42:04] Production.INFO: count ==21
[2025-01-07 03:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:42:04] Production.INFO: Account Balance Start.
[2025-01-07 03:42:04] Production.INFO: CreateAllLog Start
[2025-01-07 03:42:04] Production.INFO: 117
[2025-01-07 03:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192213') start
[2025-01-07 03:42:04] Production.INFO: Date 2024-12-08
[2025-01-07 03:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:42:04] Production.INFO: Date 2024-12-09
[2025-01-07 03:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:42:04] Production.ERROR: done
[2025-01-07 03:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:42:04] Production.INFO: Date 2024-12-10
[2025-01-07 03:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192213') end
[2025-01-07 03:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:42:04] Production.INFO: 1
[2025-01-07 03:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:42:04] Production.INFO: Date 2024-12-11
[2025-01-07 03:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:42:04] Production.INFO: Date 2024-12-12
[2025-01-07 03:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:42:04] Production.INFO: Date 2024-12-13
[2025-01-07 03:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:42:04] Production.INFO: Date 2024-12-14
[2025-01-07 03:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:42:04] Production.INFO: ==29414== Releasing lock...
[2025-01-07 03:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:42:04] Production.ERROR: done
[2025-01-07 03:42:04] Production.INFO: Date 2024-12-15
[2025-01-07 03:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:42:04] Production.INFO: ==29406== Releasing lock...
[2025-01-07 03:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:42:04] Production.INFO: Date 2024-12-16
[2025-01-07 03:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:42:04] Production.INFO: Date 2024-12-17
[2025-01-07 03:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:42:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:42:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:42:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:42:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:42:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:42:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:42:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:42:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:42:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:42:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:42:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:42:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:42:04] Production.INFO: Date 2024-12-30
[2025-01-07 03:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:42:04] Production.INFO: Date 2024-12-31
[2025-01-07 03:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:42:05] Production.INFO: Date 2025-01-01
[2025-01-07 03:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:42:05] Production.INFO: Date 2025-01-02
[2025-01-07 03:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:42:05] Production.INFO: Date 2025-01-03
[2025-01-07 03:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:42:05] Production.INFO: Date 2025-01-04
[2025-01-07 03:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:42:05] Production.INFO: Date 2025-01-05
[2025-01-07 03:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:42:05] Production.INFO: Date 2025-01-06
[2025-01-07 03:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:42:05] Production.INFO: Date 2025-01-07
[2025-01-07 03:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:42:05] Production.INFO: Total Charge 0
[2025-01-07 03:42:05] Production.INFO: CreateAllLog End
[2025-01-07 03:42:05] Production.INFO: Account Balance End.
[2025-01-07 03:42:05] Production.ERROR: CronJobId end 12
[2025-01-07 03:42:05] Production.INFO: ==29410== Releasing lock...
[2025-01-07 03:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:42:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:42:05
[end_date_ymd] => 2025-01-07 03:42:05
[RateCDR] => 1
)
[2025-01-07 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-07 00:42:05' and `end` < '2025-01-07 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-07 03:42:12] Production.ERROR: CronJobId end10
[2025-01-07 03:42:12] Production.INFO: ==29408== Releasing lock...
[2025-01-07 03:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:42:13] Production.INFO: call_cost start
[2025-01-07 03:42:13] Production.INFO: call_cost end
[2025-01-07 03:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:42:14] Production.INFO: ==29404== Releasing lock...
[2025-01-07 03:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:42:18] Production.INFO: count ==188
[2025-01-07 03:42:18] Production.ERROR: pbx CDR StartTime 2025-01-07 00:42:05 - End Time 2025-01-07 03:42:05
[2025-01-07 03:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192216', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192216', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192216', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192216', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:42:18] Production.INFO: ProcessCDR(1,14192216,1,1,2)
[2025-01-07 03:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192216,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192216,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192216,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192216,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192216', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192216', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:42:21] Production.INFO: ==29412== Releasing lock...
[2025-01-07 03:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:42:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-07 08:43:01] Production.INFO: ==29476== Lock acquired, processing the job...
[2025-01-07 08:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:43:01] Production.INFO: neon service started
[2025-01-07 08:43:01] Production.INFO: neon service started
[2025-01-07 08:43:01] Production.INFO: ==29476== Releasing lock...
[2025-01-07 08:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:43:01] Production.INFO: ==29478== Lock acquired, processing the job...
[2025-01-07 03:43:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:43:02] Production.INFO: ==29478== Releasing lock...
[2025-01-07 03:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:43:02] Production.INFO: ==29480== Lock acquired, processing the job...
[2025-01-07 08:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:43:02] Production.INFO: ==29480== Releasing lock...
[2025-01-07 08:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:43:02] Production.INFO: ==29488== Lock acquired, processing the job...
[2025-01-07 03:43:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:43:02] Production.INFO: ==29482== Lock acquired, processing the job...
[2025-01-07 03:43:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:43:03] Production.INFO: ==29492== Lock acquired, processing the job...
[2025-01-07 03:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:43:03] Production.INFO: Account Balance Start.
[2025-01-07 03:43:03] Production.INFO: CreateAllLog Start
[2025-01-07 03:43:03] Production.INFO: 117
[2025-01-07 03:43:03] Production.INFO: Date 2024-12-08
[2025-01-07 03:43:03] Production.INFO: ==29484== Lock acquired, processing the job...
[2025-01-07 03:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:43:03] Production.INFO: Date 2024-12-09
[2025-01-07 03:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:43:03] Production.INFO: Date 2024-12-10
[2025-01-07 03:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:43:03] Production.INFO: ==29486== Lock acquired, processing the job...
[2025-01-07 03:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:43:03] Production.INFO: Date 2024-12-11
[2025-01-07 03:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 03:43:03] Production.INFO: Date 2024-12-12
[2025-01-07 03:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:43:03] Production.INFO: count ==21
[2025-01-07 03:43:03] Production.INFO: Date 2024-12-13
[2025-01-07 03:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 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-07 03:43:03] Production.INFO: count ==21
[2025-01-07 03:43:03] Production.INFO: ==29490== Lock acquired, processing the job...
[2025-01-07 03:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192219') start
[2025-01-07 03:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:43:03] Production.INFO: Date 2024-12-14
[2025-01-07 03:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192219') end
[2025-01-07 03:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:43:03] Production.INFO: 1
[2025-01-07 03:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:43:03] Production.INFO: Date 2024-12-15
[2025-01-07 03:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:43:03] Production.INFO: ==29484== Releasing lock...
[2025-01-07 03:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:43:03] Production.INFO: ==29492== Releasing lock...
[2025-01-07 03:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:43:03] Production.INFO: Date 2024-12-16
[2025-01-07 03:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:43:03] Production.ERROR: done
[2025-01-07 03:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:43:03] Production.INFO: Date 2024-12-17
[2025-01-07 03:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:43:03] Production.INFO: Date 2024-12-18
[2025-01-07 03:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:43:03] Production.INFO: Date 2024-12-19
[2025-01-07 03:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:43:03] Production.INFO: Date 2024-12-20
[2025-01-07 03:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:43:03] Production.ERROR: done
[2025-01-07 03:43:03] Production.INFO: Date 2024-12-21
[2025-01-07 03:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:43:03] Production.INFO: Date 2024-12-22
[2025-01-07 03:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:43:03] Production.INFO: Date 2024-12-23
[2025-01-07 03:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:43:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:43:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:43:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:43:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:43:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:43:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:43:04] Production.INFO: Date 2024-12-30
[2025-01-07 03:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:43:04] Production.INFO: Date 2024-12-31
[2025-01-07 03:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:43:04] Production.INFO: Date 2025-01-01
[2025-01-07 03:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:43:04] Production.INFO: Date 2025-01-02
[2025-01-07 03:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:43:04] Production.INFO: Date 2025-01-03
[2025-01-07 03:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:43:04] Production.INFO: Date 2025-01-04
[2025-01-07 03:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:43:04] Production.INFO: Date 2025-01-05
[2025-01-07 03:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:43:04] Production.INFO: Date 2025-01-06
[2025-01-07 03:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:43:04] Production.INFO: Date 2025-01-07
[2025-01-07 03:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:43:04] Production.INFO: Total Charge 0
[2025-01-07 03:43:04] Production.INFO: CreateAllLog End
[2025-01-07 03:43:04] Production.INFO: Account Balance End.
[2025-01-07 03:43:04] Production.ERROR: CronJobId end 12
[2025-01-07 03:43:04] Production.INFO: ==29488== Releasing lock...
[2025-01-07 03:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:43:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:43:04
[end_date_ymd] => 2025-01-07 03:43:04
[RateCDR] => 1
)
[2025-01-07 03:43:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 00:43:04' and `end` < '2025-01-07 03:43:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 03:43:09] Production.ERROR: CronJobId end10
[2025-01-07 03:43:09] Production.INFO: ==29486== Releasing lock...
[2025-01-07 03:43:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:43:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:43:12] Production.INFO: call_cost start
[2025-01-07 03:43:12] Production.INFO: call_cost end
[2025-01-07 03:43:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:43:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:43:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:43:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:43:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:43:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:43:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:43:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:43:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:43:13] Production.INFO: ==29482== Releasing lock...
[2025-01-07 03:43:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:43:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:43:17] Production.INFO: count ==188
[2025-01-07 03:43:17] Production.ERROR: pbx CDR StartTime 2025-01-07 00:43:04 - End Time 2025-01-07 03:43:04
[2025-01-07 03:43:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192221', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192221', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192221', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192221', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:43:17] Production.INFO: ProcessCDR(1,14192221,1,1,2)
[2025-01-07 03:43:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192221,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:43:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192221,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:43:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192221,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:43:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192221,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:43:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192221', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:43:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192221', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:43:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:43:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:43:20] Production.INFO: ==29490== Releasing lock...
[2025-01-07 03:43:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:43:20] Production.INFO: 28.75 MB #Memory Used#
[2025-01-07 08:44:01] Production.INFO: ==29555== Lock acquired, processing the job...
[2025-01-07 08:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:44:01] Production.INFO: neon service started
[2025-01-07 08:44:01] Production.INFO: neon service started
[2025-01-07 08:44:01] Production.INFO: ==29555== Releasing lock...
[2025-01-07 08:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:44:02] Production.INFO: ==29559== Lock acquired, processing the job...
[2025-01-07 08:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:44:02] Production.INFO: ==29557== Lock acquired, processing the job...
[2025-01-07 03:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:44:02] Production.INFO: ==29559== Releasing lock...
[2025-01-07 08:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:44:02] Production.INFO: ==29557== Releasing lock...
[2025-01-07 03:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:44:03] Production.INFO: ==29570== Lock acquired, processing the job...
[2025-01-07 03:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:44:03] Production.INFO: ==29562== Lock acquired, processing the job...
[2025-01-07 03:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:44:03] Production.INFO: ==29572== Lock acquired, processing the job...
[2025-01-07 03:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:44:03] Production.INFO: ==29564== Lock acquired, processing the job...
[2025-01-07 03:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:44:03] Production.INFO: ==29566== Lock acquired, processing the job...
[2025-01-07 03:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:44:03] Production.INFO: ==29568== Lock acquired, processing the job...
[2025-01-07 03:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 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-07 03:44:03] Production.ERROR: done
[2025-01-07 03:44:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:44:03] Production.INFO: count ==21
[2025-01-07 03:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 03:44:03] Production.INFO: count ==21
[2025-01-07 03:44:04] Production.INFO: Account Balance Start.
[2025-01-07 03:44:04] Production.INFO: CreateAllLog Start
[2025-01-07 03:44:04] Production.INFO: 117
[2025-01-07 03:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192222') start
[2025-01-07 03:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:44:04] Production.INFO: Date 2024-12-08
[2025-01-07 03:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:44:04] Production.INFO: Date 2024-12-09
[2025-01-07 03:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192222') end
[2025-01-07 03:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:44:04] Production.INFO: 1
[2025-01-07 03:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:44:04] Production.ERROR: done
[2025-01-07 03:44:04] Production.INFO: ==29572== Releasing lock...
[2025-01-07 03:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:44:04] Production.INFO: Date 2024-12-10
[2025-01-07 03:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:44:04] Production.INFO: Date 2024-12-11
[2025-01-07 03:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:44:04] Production.INFO: ==29564== Releasing lock...
[2025-01-07 03:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:44:04] Production.INFO: Date 2024-12-12
[2025-01-07 03:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:44:04] Production.INFO: Date 2024-12-13
[2025-01-07 03:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:44:04] Production.INFO: Date 2024-12-14
[2025-01-07 03:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:44:04] Production.INFO: Date 2024-12-15
[2025-01-07 03:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:44:04] Production.INFO: Date 2024-12-16
[2025-01-07 03:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:44:04] Production.INFO: Date 2024-12-17
[2025-01-07 03:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:44:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:44:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:44:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:44:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:44:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:44:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:44:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:44:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:44:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:44:05] Production.INFO: Date 2024-12-27
[2025-01-07 03:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:44:05] Production.INFO: Date 2024-12-28
[2025-01-07 03:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:44:05] Production.INFO: Date 2024-12-29
[2025-01-07 03:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:44:05] Production.INFO: Date 2024-12-30
[2025-01-07 03:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:44:05] Production.INFO: Date 2024-12-31
[2025-01-07 03:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:44:05] Production.INFO: Date 2025-01-01
[2025-01-07 03:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:44:05] Production.INFO: Date 2025-01-02
[2025-01-07 03:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:44:05] Production.INFO: Date 2025-01-03
[2025-01-07 03:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:44:05] Production.INFO: Date 2025-01-04
[2025-01-07 03:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:44:05
[end_date_ymd] => 2025-01-07 03:44:05
[RateCDR] => 1
)
[2025-01-07 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-07 00:44:05' and `end` < '2025-01-07 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-07 03:44:05] Production.INFO: Date 2025-01-05
[2025-01-07 03:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:44:05] Production.INFO: Date 2025-01-06
[2025-01-07 03:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:44:05] Production.INFO: Date 2025-01-07
[2025-01-07 03:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:44:05] Production.INFO: Total Charge 0
[2025-01-07 03:44:05] Production.INFO: CreateAllLog End
[2025-01-07 03:44:05] Production.INFO: Account Balance End.
[2025-01-07 03:44:05] Production.ERROR: CronJobId end 12
[2025-01-07 03:44:05] Production.INFO: ==29568== Releasing lock...
[2025-01-07 03:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:44:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:44:11] Production.ERROR: CronJobId end10
[2025-01-07 03:44:11] Production.INFO: ==29566== Releasing lock...
[2025-01-07 03:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:44:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:44:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:44:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:44:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:44:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:44:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:44:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:44:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:44:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:44:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:44:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:44:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:44:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:44:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:44:13] Production.INFO: call_cost start
[2025-01-07 03:44:13] Production.INFO: call_cost end
[2025-01-07 03:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:44:14] Production.INFO: ==29562== Releasing lock...
[2025-01-07 03:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:44:18] Production.INFO: count ==188
[2025-01-07 03:44:18] Production.ERROR: pbx CDR StartTime 2025-01-07 00:44:05 - End Time 2025-01-07 03:44:05
[2025-01-07 03:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192226', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192226', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192226', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192226', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:44:18] Production.INFO: ProcessCDR(1,14192226,1,1,2)
[2025-01-07 03:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192226,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192226,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192226,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192226,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192226', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192226', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:44:21] Production.INFO: ==29570== Releasing lock...
[2025-01-07 03:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:44:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-07 08:45:02] Production.INFO: ==29673== Lock acquired, processing the job...
[2025-01-07 08:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:45:02] Production.INFO: neon service started
[2025-01-07 08:45:02] Production.INFO: neon service started
[2025-01-07 08:45:02] Production.INFO: ==29673== Releasing lock...
[2025-01-07 08:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:45:02] Production.INFO: ==29677== Lock acquired, processing the job...
[2025-01-07 03:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:45:02] Production.INFO: ==29677== Releasing lock...
[2025-01-07 03:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:45:03] Production.INFO: ==29679== Lock acquired, processing the job...
[2025-01-07 08:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:45:03] Production.INFO: ==29679== Releasing lock...
[2025-01-07 08:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:45:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:45:03] Production.INFO: ==29689== Lock acquired, processing the job...
[2025-01-07 03:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:45:03] Production.INFO: ==29681== Lock acquired, processing the job...
[2025-01-07 03:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:45:04] Production.INFO: ==29683== Lock acquired, processing the job...
[2025-01-07 03:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:45:04] Production.INFO: ==29685== Lock acquired, processing the job...
[2025-01-07 03:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:45:04] Production.INFO: ==29687== Lock acquired, processing the job...
[2025-01-07 03:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:45:04] Production.ERROR: done
[2025-01-07 03:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:45:04] Production.INFO: ==29691== Lock acquired, processing the job...
[2025-01-07 03:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:45:04] Production.INFO: Account Balance Start.
[2025-01-07 03:45:04] Production.INFO: CreateAllLog Start
[2025-01-07 03:45:04] Production.INFO: 117
[2025-01-07 03:45:04] Production.INFO: Date 2024-12-08
[2025-01-07 03:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:45:04] Production.ERROR: done
[2025-01-07 03:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:45:04] Production.INFO: Date 2024-12-09
[2025-01-07 03:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 03:45:04] Production.INFO: count ==21
[2025-01-07 03:45:04] Production.INFO: Date 2024-12-10
[2025-01-07 03:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 03:45:04] Production.INFO: count ==21
[2025-01-07 03:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192230') start
[2025-01-07 03:45:04] Production.INFO: Date 2024-12-11
[2025-01-07 03:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:45:04] Production.INFO: Date 2024-12-12
[2025-01-07 03:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:45:04] Production.INFO: ==29683== Releasing lock...
[2025-01-07 03:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:45:04] Production.INFO: Date 2024-12-13
[2025-01-07 03:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:45:04] Production.INFO: Date 2024-12-14
[2025-01-07 03:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192230') end
[2025-01-07 03:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:45:04] Production.INFO: 1
[2025-01-07 03:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:45:04] Production.INFO: Date 2024-12-15
[2025-01-07 03:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:45:04] Production.INFO: ==29691== Releasing lock...
[2025-01-07 03:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:45:04] Production.INFO: Date 2024-12-16
[2025-01-07 03:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:45:04] Production.INFO: Date 2024-12-17
[2025-01-07 03:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:45:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:45:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:45:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:45:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:45:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:45:05] Production.INFO: Date 2024-12-23
[2025-01-07 03:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:45:05] Production.INFO: Date 2024-12-24
[2025-01-07 03:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:45:05] Production.INFO: Date 2024-12-25
[2025-01-07 03:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:45:05] Production.INFO: Date 2024-12-26
[2025-01-07 03:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:45:05] Production.INFO: Date 2024-12-27
[2025-01-07 03:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:45:05] Production.INFO: Date 2024-12-28
[2025-01-07 03:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:45:05] Production.INFO: Date 2024-12-29
[2025-01-07 03:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:45:05] Production.INFO: Date 2024-12-30
[2025-01-07 03:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:45:05] Production.INFO: Date 2024-12-31
[2025-01-07 03:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:45:05
[end_date_ymd] => 2025-01-07 03:45:05
[RateCDR] => 1
)
[2025-01-07 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-07 00:45:05' and `end` < '2025-01-07 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-07 03:45:05] Production.INFO: Date 2025-01-01
[2025-01-07 03:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:45:05] Production.INFO: Date 2025-01-02
[2025-01-07 03:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:45:05] Production.INFO: Date 2025-01-03
[2025-01-07 03:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:45:05] Production.INFO: Date 2025-01-04
[2025-01-07 03:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:45:05] Production.INFO: Date 2025-01-05
[2025-01-07 03:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:45:05] Production.INFO: Date 2025-01-06
[2025-01-07 03:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:45:05] Production.INFO: Date 2025-01-07
[2025-01-07 03:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:45:05] Production.INFO: Total Charge 0
[2025-01-07 03:45:05] Production.INFO: CreateAllLog End
[2025-01-07 03:45:05] Production.INFO: Account Balance End.
[2025-01-07 03:45:05] Production.ERROR: CronJobId end 12
[2025-01-07 03:45:05] Production.INFO: ==29687== Releasing lock...
[2025-01-07 03:45:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:45:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:45:11] Production.ERROR: CronJobId end10
[2025-01-07 03:45:11] Production.INFO: ==29685== Releasing lock...
[2025-01-07 03:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:45:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:45:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:45:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:45:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:45:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:45:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:45:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:45:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:45:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:45:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:45:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:45:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:45:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:45:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:45:13] Production.INFO: call_cost start
[2025-01-07 03:45:13] Production.INFO: call_cost end
[2025-01-07 03:45:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:45:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:45:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:45:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:45:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:45:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:45:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:45:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:45:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:45:13] Production.INFO: ==29681== Releasing lock...
[2025-01-07 03:45:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:45:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:45:18] Production.INFO: count ==188
[2025-01-07 03:45:18] Production.ERROR: pbx CDR StartTime 2025-01-07 00:45:05 - End Time 2025-01-07 03:45:05
[2025-01-07 03:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192231', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192231', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192231', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192231', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:45:18] Production.INFO: ProcessCDR(1,14192231,1,1,2)
[2025-01-07 03:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192231,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192231,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192231,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192231,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192231', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192231', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:45:21] Production.INFO: ==29689== Releasing lock...
[2025-01-07 03:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:45:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-07 08:46:01] Production.INFO: ==29760== Lock acquired, processing the job...
[2025-01-07 08:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:46:01] Production.INFO: neon service started
[2025-01-07 08:46:01] Production.INFO: neon service started
[2025-01-07 08:46:01] Production.INFO: ==29760== Releasing lock...
[2025-01-07 08:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:46:02] Production.INFO: ==29763== Lock acquired, processing the job...
[2025-01-07 03:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:46:02] Production.INFO: ==29765== Lock acquired, processing the job...
[2025-01-07 08:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:46:02] Production.INFO: ==29765== Releasing lock...
[2025-01-07 08:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:46:02] Production.INFO: ==29763== Releasing lock...
[2025-01-07 03:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:46:03] Production.INFO: ==29770== Lock acquired, processing the job...
[2025-01-07 03:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:46:03] Production.INFO: ==29778== Lock acquired, processing the job...
[2025-01-07 03:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:46:03] Production.INFO: ==29772== Lock acquired, processing the job...
[2025-01-07 03:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:46:03] Production.INFO: ==29774== Lock acquired, processing the job...
[2025-01-07 03:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:46:03] Production.INFO: ==29776== Lock acquired, processing the job...
[2025-01-07 03:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:46:04] Production.INFO: ==29780== Lock acquired, processing the job...
[2025-01-07 03:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:46:04] Production.ERROR: done
[2025-01-07 03:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 03:46:04] Production.INFO: Account Balance Start.
[2025-01-07 03:46:04] Production.INFO: CreateAllLog Start
[2025-01-07 03:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:46:04] Production.INFO: 117
[2025-01-07 03:46:04] Production.INFO: count ==21
[2025-01-07 03:46:04] Production.INFO: Date 2024-12-08
[2025-01-07 03:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 03:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:46:04] Production.INFO: count ==21
[2025-01-07 03:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192234') start
[2025-01-07 03:46:04] Production.INFO: Date 2024-12-09
[2025-01-07 03:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:46:04] Production.ERROR: done
[2025-01-07 03:46:04] Production.INFO: Date 2024-12-10
[2025-01-07 03:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:46:04] Production.INFO: Date 2024-12-11
[2025-01-07 03:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192234') end
[2025-01-07 03:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:46:04] Production.INFO: 1
[2025-01-07 03:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:46:04] Production.INFO: Date 2024-12-12
[2025-01-07 03:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:46:04] Production.INFO: ==29772== Releasing lock...
[2025-01-07 03:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:46:04] Production.INFO: Date 2024-12-13
[2025-01-07 03:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:46:04] Production.INFO: ==29780== Releasing lock...
[2025-01-07 03:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:46:04] Production.INFO: Date 2024-12-14
[2025-01-07 03:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:46:04] Production.INFO: Date 2024-12-15
[2025-01-07 03:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:46:04] Production.INFO: Date 2024-12-16
[2025-01-07 03:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:46:04] Production.INFO: Date 2024-12-17
[2025-01-07 03:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:46:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:46:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:46:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:46:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:46:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:46:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:46:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:46:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:46:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:46:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:46:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:46:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:46:04] Production.INFO: Date 2024-12-30
[2025-01-07 03:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:46:04] Production.INFO: Date 2024-12-31
[2025-01-07 03:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:46:05] Production.INFO: Date 2025-01-01
[2025-01-07 03:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:46:05] Production.INFO: Date 2025-01-02
[2025-01-07 03:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:46:05] Production.INFO: Date 2025-01-03
[2025-01-07 03:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:46:05] Production.INFO: Date 2025-01-04
[2025-01-07 03:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:46:05] Production.INFO: Date 2025-01-05
[2025-01-07 03:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:46:05] Production.INFO: Date 2025-01-06
[2025-01-07 03:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:46:05] Production.INFO: Date 2025-01-07
[2025-01-07 03:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:46:05] Production.INFO: Total Charge 0
[2025-01-07 03:46:05] Production.INFO: CreateAllLog End
[2025-01-07 03:46:05] Production.INFO: Account Balance End.
[2025-01-07 03:46:05] Production.ERROR: CronJobId end 12
[2025-01-07 03:46:05] Production.INFO: ==29776== Releasing lock...
[2025-01-07 03:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:46:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:46:05
[end_date_ymd] => 2025-01-07 03:46:05
[RateCDR] => 1
)
[2025-01-07 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-07 00:46:05' and `end` < '2025-01-07 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-07 03:46:12] Production.ERROR: CronJobId end10
[2025-01-07 03:46:12] Production.INFO: ==29774== Releasing lock...
[2025-01-07 03:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:46:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:46:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:46:14] Production.INFO: call_cost start
[2025-01-07 03:46:14] Production.INFO: call_cost end
[2025-01-07 03:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:46:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:46:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:46:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:46:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:46:15] Production.INFO: ==29770== Releasing lock...
[2025-01-07 03:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:46:19] Production.INFO: count ==188
[2025-01-07 03:46:19] Production.ERROR: pbx CDR StartTime 2025-01-07 00:46:05 - End Time 2025-01-07 03:46:05
[2025-01-07 03:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192236', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192236', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192236', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192236', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:46:19] Production.INFO: ProcessCDR(1,14192236,1,1,2)
[2025-01-07 03:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192236,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:46:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192236,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:46:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192236,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192236,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192236', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192236', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:46:22] Production.INFO: ==29778== Releasing lock...
[2025-01-07 03:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:46:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-07 08:47:02] Production.INFO: ==29863== Lock acquired, processing the job...
[2025-01-07 08:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:47:02] Production.INFO: neon service started
[2025-01-07 08:47:02] Production.INFO: neon service started
[2025-01-07 08:47:02] Production.INFO: ==29863== Releasing lock...
[2025-01-07 08:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:47:02] Production.INFO: ==29867== Lock acquired, processing the job...
[2025-01-07 08:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:47:02] Production.INFO: ==29867== Releasing lock...
[2025-01-07 08:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:47:02] Production.INFO: ==29865== Lock acquired, processing the job...
[2025-01-07 03:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:47:02] Production.INFO: ==29865== Releasing lock...
[2025-01-07 03:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:47:03] Production.INFO: ==29872== Lock acquired, processing the job...
[2025-01-07 03:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:47:03] Production.INFO: ==29876== Lock acquired, processing the job...
[2025-01-07 03:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:47:03] Production.INFO: ==29880== Lock acquired, processing the job...
[2025-01-07 03:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:47:03] Production.INFO: Account Balance Start.
[2025-01-07 03:47:03] Production.INFO: CreateAllLog Start
[2025-01-07 03:47:03] Production.INFO: 117
[2025-01-07 03:47:03] Production.INFO: Date 2024-12-08
[2025-01-07 03:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:47:03] Production.INFO: Date 2024-12-09
[2025-01-07 03:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 03:47:03] Production.INFO: Date 2024-12-10
[2025-01-07 03:47:03] Production.INFO: count ==21
[2025-01-07 03:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 03:47:03] Production.INFO: count ==21
[2025-01-07 03:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192239') start
[2025-01-07 03:47:04] Production.INFO: ==29870== Lock acquired, processing the job...
[2025-01-07 03:47:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:47:04] Production.INFO: ==29872== Releasing lock...
[2025-01-07 03:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:47:04] Production.INFO: Date 2024-12-11
[2025-01-07 03:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:47:04] Production.INFO: ==29878== Lock acquired, processing the job...
[2025-01-07 03:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:47:04] Production.INFO: Date 2024-12-12
[2025-01-07 03:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:47:04] Production.INFO: ==29874== Lock acquired, processing the job...
[2025-01-07 03:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:47:04] Production.INFO: Date 2024-12-13
[2025-01-07 03:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192239') end
[2025-01-07 03:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:47:04] Production.INFO: 1
[2025-01-07 03:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:47:04] Production.INFO: ==29880== Releasing lock...
[2025-01-07 03:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:47:04] Production.INFO: Date 2024-12-14
[2025-01-07 03:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:47:04] Production.INFO: Date 2024-12-15
[2025-01-07 03:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:47:04] Production.INFO: Date 2024-12-16
[2025-01-07 03:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:47:04] Production.INFO: Date 2024-12-17
[2025-01-07 03:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:47:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:47:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:47:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:47:04] Production.ERROR: done
[2025-01-07 03:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:47:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:47:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:47:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:47:04] Production.ERROR: done
[2025-01-07 03:47:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:47:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:47:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:47:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:47:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:47:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:47:04] Production.INFO: Date 2024-12-30
[2025-01-07 03:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:47:04] Production.INFO: Date 2024-12-31
[2025-01-07 03:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:47:04] Production.INFO: Date 2025-01-01
[2025-01-07 03:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:47:04] Production.INFO: Date 2025-01-02
[2025-01-07 03:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:47:04] Production.INFO: Date 2025-01-03
[2025-01-07 03:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:47:04] Production.INFO: Date 2025-01-04
[2025-01-07 03:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:47:04] Production.INFO: Date 2025-01-05
[2025-01-07 03:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:47:05] Production.INFO: Date 2025-01-06
[2025-01-07 03:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:47:05] Production.INFO: Date 2025-01-07
[2025-01-07 03:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:47:05] Production.INFO: Total Charge 0
[2025-01-07 03:47:05] Production.INFO: CreateAllLog End
[2025-01-07 03:47:05] Production.INFO: Account Balance End.
[2025-01-07 03:47:05] Production.ERROR: CronJobId end 12
[2025-01-07 03:47:05] Production.INFO: ==29876== Releasing lock...
[2025-01-07 03:47:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:47:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:47:05
[end_date_ymd] => 2025-01-07 03:47:05
[RateCDR] => 1
)
[2025-01-07 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-07 00:47:05' and `end` < '2025-01-07 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-07 03:47:12] Production.ERROR: CronJobId end10
[2025-01-07 03:47:12] Production.INFO: ==29874== Releasing lock...
[2025-01-07 03:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:47:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:47:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:47:14] Production.INFO: call_cost start
[2025-01-07 03:47:14] Production.INFO: call_cost end
[2025-01-07 03:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:47:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:47:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:47:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:47:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:47:15] Production.INFO: ==29870== Releasing lock...
[2025-01-07 03:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:47:19] Production.INFO: count ==188
[2025-01-07 03:47:19] Production.ERROR: pbx CDR StartTime 2025-01-07 00:47:05 - End Time 2025-01-07 03:47:05
[2025-01-07 03:47:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192241', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192241', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192241', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192241', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:47:19] Production.INFO: ProcessCDR(1,14192241,1,1,2)
[2025-01-07 03:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192241,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:47:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192241,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:47:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192241,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192241,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192241', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192241', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:47:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:47:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:47:22] Production.INFO: ==29878== Releasing lock...
[2025-01-07 03:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:47:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-07 08:48:01] Production.INFO: ==29941== Lock acquired, processing the job...
[2025-01-07 08:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:48:01] Production.INFO: neon service started
[2025-01-07 08:48:01] Production.INFO: neon service started
[2025-01-07 08:48:01] Production.INFO: ==29941== Releasing lock...
[2025-01-07 08:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:48:01] Production.INFO: ==29944== Lock acquired, processing the job...
[2025-01-07 03:48:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:48:02] Production.INFO: ==29944== Releasing lock...
[2025-01-07 03:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:48:02] Production.INFO: ==29946== Lock acquired, processing the job...
[2025-01-07 08:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:48:02] Production.INFO: ==29946== Releasing lock...
[2025-01-07 08:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:48:03] Production.INFO: ==29952== Lock acquired, processing the job...
[2025-01-07 03:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:48:03] Production.INFO: ==29956== Lock acquired, processing the job...
[2025-01-07 03:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:48:03] Production.INFO: ==29948== Lock acquired, processing the job...
[2025-01-07 03:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:48:03] Production.INFO: ==29950== Lock acquired, processing the job...
[2025-01-07 03:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:48:03] Production.INFO: ==29954== Lock acquired, processing the job...
[2025-01-07 03:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:48:03] Production.INFO: ==29958== Lock acquired, processing the job...
[2025-01-07 03:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:48:03] Production.INFO: Account Balance Start.
[2025-01-07 03:48:03] Production.INFO: CreateAllLog Start
[2025-01-07 03:48:03] Production.INFO: 117
[2025-01-07 03:48:03] Production.INFO: Date 2024-12-08
[2025-01-07 03:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:48:03] Production.INFO: Date 2024-12-09
[2025-01-07 03:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 03:48:03] Production.INFO: count ==21
[2025-01-07 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-07 03:48:03] Production.INFO: count ==21
[2025-01-07 03:48:03] Production.ERROR: done
[2025-01-07 03:48:03] Production.INFO: Date 2024-12-10
[2025-01-07 03:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:48:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192245') start
[2025-01-07 03:48:03] Production.INFO: Date 2024-12-11
[2025-01-07 03:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:48:03] Production.INFO: Date 2024-12-12
[2025-01-07 03:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:48:03] Production.INFO: Date 2024-12-13
[2025-01-07 03:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:48:03] Production.ERROR: done
[2025-01-07 03:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192245') end
[2025-01-07 03:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:48:03] Production.INFO: 1
[2025-01-07 03:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:48:03] Production.INFO: Date 2024-12-14
[2025-01-07 03:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:48:03] Production.INFO: Date 2024-12-15
[2025-01-07 03:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:48:03] Production.INFO: ==29950== Releasing lock...
[2025-01-07 03:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:48:03] Production.INFO: Date 2024-12-16
[2025-01-07 03:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:48:03] Production.INFO: Date 2024-12-17
[2025-01-07 03:48:03] Production.INFO: ==29958== Releasing lock...
[2025-01-07 03:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:48:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:48:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:48:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:48:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:48:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:48:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:48:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:48:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:48:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:48:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:48:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:48:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:48:04] Production.INFO: Date 2024-12-30
[2025-01-07 03:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:48:04] Production.INFO: Date 2024-12-31
[2025-01-07 03:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:48:04] Production.INFO: Date 2025-01-01
[2025-01-07 03:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:48:04] Production.INFO: Date 2025-01-02
[2025-01-07 03:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:48:04] Production.INFO: Date 2025-01-03
[2025-01-07 03:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:48:04] Production.INFO: Date 2025-01-04
[2025-01-07 03:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:48:04] Production.INFO: Date 2025-01-05
[2025-01-07 03:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:48:04] Production.INFO: Date 2025-01-06
[2025-01-07 03:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:48:04] Production.INFO: Date 2025-01-07
[2025-01-07 03:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:48:04] Production.INFO: Total Charge 0
[2025-01-07 03:48:04] Production.INFO: CreateAllLog End
[2025-01-07 03:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:48:05
[end_date_ymd] => 2025-01-07 03:48:05
[RateCDR] => 1
)
[2025-01-07 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-07 00:48:05' and `end` < '2025-01-07 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-07 03:48:05] Production.INFO: Account Balance End.
[2025-01-07 03:48:05] Production.ERROR: CronJobId end 12
[2025-01-07 03:48:05] Production.INFO: ==29954== Releasing lock...
[2025-01-07 03:48:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:48:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:48:11] Production.ERROR: CronJobId end10
[2025-01-07 03:48:11] Production.INFO: ==29952== Releasing lock...
[2025-01-07 03:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:48:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:48:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:48:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:48:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:48:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:48:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:48:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:48:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:48:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:48:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:48:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:48:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:48:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:48:13] Production.INFO: call_cost start
[2025-01-07 03:48:13] Production.INFO: call_cost end
[2025-01-07 03:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:48:14] Production.INFO: ==29948== Releasing lock...
[2025-01-07 03:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:48:18] Production.INFO: count ==187
[2025-01-07 03:48:18] Production.ERROR: pbx CDR StartTime 2025-01-07 00:48:05 - End Time 2025-01-07 03:48:05
[2025-01-07 03:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192246', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192246', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192246', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192246', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:48:18] Production.INFO: ProcessCDR(1,14192246,1,1,2)
[2025-01-07 03:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192246,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192246,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192246,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192246,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192246', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192246', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:48:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:48:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:48:21] Production.INFO: ==29956== Releasing lock...
[2025-01-07 03:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:48:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-07 08:49:02] Production.INFO: ==30022== Lock acquired, processing the job...
[2025-01-07 08:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:49:02] Production.INFO: neon service started
[2025-01-07 08:49:02] Production.INFO: neon service started
[2025-01-07 08:49:02] Production.INFO: ==30022== Releasing lock...
[2025-01-07 08:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:49:02] Production.INFO: ==30024== Lock acquired, processing the job...
[2025-01-07 03:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:49:02] Production.INFO: ==30026== Lock acquired, processing the job...
[2025-01-07 08:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 03:49:02] Production.INFO: ==30024== Releasing lock...
[2025-01-07 03:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:49:02] Production.INFO: ==30026== Releasing lock...
[2025-01-07 08:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:49:03] Production.INFO: ==30029== Lock acquired, processing the job...
[2025-01-07 03:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:49:03] Production.INFO: ==30035== Lock acquired, processing the job...
[2025-01-07 03:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:49:03] Production.INFO: ==30031== Lock acquired, processing the job...
[2025-01-07 03:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:49:03] Production.INFO: ==30033== Lock acquired, processing the job...
[2025-01-07 03:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:49:03] Production.INFO: ==30037== Lock acquired, processing the job...
[2025-01-07 03:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:49:03] Production.INFO: Account Balance Start.
[2025-01-07 03:49:03] Production.INFO: CreateAllLog Start
[2025-01-07 03:49:03] Production.INFO: 117
[2025-01-07 03:49:03] Production.INFO: ==30039== Lock acquired, processing the job...
[2025-01-07 03:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:49:03] Production.INFO: Date 2024-12-08
[2025-01-07 03:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:49:03] Production.INFO: Date 2024-12-09
[2025-01-07 03:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 03:49:03] Production.INFO: Date 2024-12-10
[2025-01-07 03:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:49:03] Production.INFO: count ==21
[2025-01-07 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-07 03:49:03] Production.INFO: count ==21
[2025-01-07 03:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192250') start
[2025-01-07 03:49:03] Production.INFO: Date 2024-12-11
[2025-01-07 03:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:49:03] Production.INFO: Date 2024-12-12
[2025-01-07 03:49:03] Production.ERROR: done
[2025-01-07 03:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:49:04] Production.INFO: Date 2024-12-13
[2025-01-07 03:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:49:04] Production.INFO: ==30031== Releasing lock...
[2025-01-07 03:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192250') end
[2025-01-07 03:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:49:04] Production.INFO: 1
[2025-01-07 03:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:49:04] Production.INFO: Date 2024-12-14
[2025-01-07 03:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:49:04] Production.INFO: Date 2024-12-15
[2025-01-07 03:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:49:04] Production.INFO: ==30039== Releasing lock...
[2025-01-07 03:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:49:04] Production.ERROR: done
[2025-01-07 03:49:04] Production.INFO: Date 2024-12-16
[2025-01-07 03:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:49:04] Production.INFO: Date 2024-12-17
[2025-01-07 03:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:49:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:49:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:49:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:49:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:49:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:49:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:49:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:49:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:49:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:49:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:49:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:49:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:49:04] Production.INFO: Date 2024-12-30
[2025-01-07 03:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:49:04] Production.INFO: Date 2024-12-31
[2025-01-07 03:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:49:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:49:04
[end_date_ymd] => 2025-01-07 03:49:04
[RateCDR] => 1
)
[2025-01-07 03:49:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 00:49:04' and `end` < '2025-01-07 03:49:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 03:49:04] Production.INFO: Date 2025-01-01
[2025-01-07 03:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:49:04] Production.INFO: Date 2025-01-02
[2025-01-07 03:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:49:04] Production.INFO: Date 2025-01-03
[2025-01-07 03:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:49:04] Production.INFO: Date 2025-01-04
[2025-01-07 03:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:49:05] Production.INFO: Date 2025-01-05
[2025-01-07 03:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:49:05] Production.INFO: Date 2025-01-06
[2025-01-07 03:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:49:05] Production.INFO: Date 2025-01-07
[2025-01-07 03:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:49:05] Production.INFO: Total Charge 0
[2025-01-07 03:49:05] Production.INFO: CreateAllLog End
[2025-01-07 03:49:05] Production.INFO: Account Balance End.
[2025-01-07 03:49:05] Production.ERROR: CronJobId end 12
[2025-01-07 03:49:05] Production.INFO: ==30035== Releasing lock...
[2025-01-07 03:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:49:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:49:11] Production.ERROR: CronJobId end10
[2025-01-07 03:49:11] Production.INFO: ==30033== Releasing lock...
[2025-01-07 03:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:49:13] Production.INFO: call_cost start
[2025-01-07 03:49:13] Production.INFO: call_cost end
[2025-01-07 03:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:49:14] Production.INFO: ==30029== Releasing lock...
[2025-01-07 03:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:49:19] Production.INFO: count ==186
[2025-01-07 03:49:19] Production.ERROR: pbx CDR StartTime 2025-01-07 00:49:04 - End Time 2025-01-07 03:49:04
[2025-01-07 03:49:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192251', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192251', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192251', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192251', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:49:19] Production.INFO: ProcessCDR(1,14192251,1,1,2)
[2025-01-07 03:49:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192251,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192251,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192251,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192251,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192251', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192251', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:49:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:49:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:49:22] Production.INFO: ==30037== Releasing lock...
[2025-01-07 03:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:49:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-07 08:50:01] Production.INFO: ==30104== Lock acquired, processing the job...
[2025-01-07 08:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:50:01] Production.INFO: neon service started
[2025-01-07 08:50:01] Production.INFO: neon service started
[2025-01-07 08:50:01] Production.INFO: ==30104== Releasing lock...
[2025-01-07 08:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:50:02] Production.INFO: ==30106== Lock acquired, processing the job...
[2025-01-07 03:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:50:02] Production.INFO: ==30108== Lock acquired, processing the job...
[2025-01-07 08:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:50:02] Production.INFO: ==30108== Releasing lock...
[2025-01-07 08:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:50:02] Production.INFO: ==30106== Releasing lock...
[2025-01-07 03:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:50:03] Production.INFO: ==30111== Lock acquired, processing the job...
[2025-01-07 03:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 03:50:03] Production.INFO: ==30115== Lock acquired, processing the job...
[2025-01-07 03:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:50:03] Production.INFO: ==30113== Lock acquired, processing the job...
[2025-01-07 03:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:50:03] Production.INFO: ==30117== Lock acquired, processing the job...
[2025-01-07 03:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 03:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 03:50:03] Production.INFO: ==30111== Releasing lock...
[2025-01-07 03:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 03:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 03:50:03] Production.INFO: ==30119== Lock acquired, processing the job...
[2025-01-07 03:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:50:03] Production.INFO: Account Balance Start.
[2025-01-07 03:50:03] Production.INFO: CreateAllLog Start
[2025-01-07 03:50:03] Production.INFO: 117
[2025-01-07 03:50:03] Production.INFO: Date 2024-12-08
[2025-01-07 03:50:03] Production.INFO: ==30121== Lock acquired, processing the job...
[2025-01-07 03:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:50:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:50:03] Production.INFO: Date 2024-12-09
[2025-01-07 03:50:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:50:03] Production.INFO: Date 2024-12-10
[2025-01-07 03:50:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:50:03] Production.INFO: Date 2024-12-11
[2025-01-07 03:50:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:50:03] Production.INFO: Date 2024-12-12
[2025-01-07 03:50:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:50:03] Production.INFO: ==30123== Lock acquired, processing the job...
[2025-01-07 03:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 03:50:03] Production.INFO: ==30125== Lock acquired, processing the job...
[2025-01-07 03:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:50:03] Production.INFO: Date 2024-12-13
[2025-01-07 03:50:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:50:04] Production.INFO: Date 2024-12-14
[2025-01-07 03:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:50:04] Production.INFO: ==30115== Releasing lock...
[2025-01-07 03:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:50:04] Production.INFO: Date 2024-12-15
[2025-01-07 03:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:50:04] Production.INFO: Date 2024-12-16
[2025-01-07 03:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 03:50:04] Production.INFO: count ==21
[2025-01-07 03:50:04] Production.ERROR: done
[2025-01-07 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-07 03:50:04] Production.INFO: count ==21
[2025-01-07 03:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192255') start
[2025-01-07 03:50:04] Production.INFO: Date 2024-12-17
[2025-01-07 03:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:50:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:50:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:50:04] Production.ERROR: done
[2025-01-07 03:50:04] Production.ERROR: done
[2025-01-07 03:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 03:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14192256', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 03:50:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:50:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192255') end
[2025-01-07 03:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:50:04] Production.INFO: 1
[2025-01-07 03:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:50:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:50:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:50:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:50:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:50:04] Production.INFO: ==30125== Releasing lock...
[2025-01-07 03:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:50:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:50:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:50:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:50:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:50:04] Production.INFO: Date 2024-12-30
[2025-01-07 03:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:50:05] Production.INFO: Date 2024-12-31
[2025-01-07 03:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:50:05] Production.INFO: Date 2025-01-01
[2025-01-07 03:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:50:05] Production.INFO: Date 2025-01-02
[2025-01-07 03:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:50:05] Production.INFO: Date 2025-01-03
[2025-01-07 03:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:50:05] Production.INFO: Date 2025-01-04
[2025-01-07 03:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:50:05] Production.INFO: Date 2025-01-05
[2025-01-07 03:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:50:05] Production.INFO: Date 2025-01-06
[2025-01-07 03:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:50:05] Production.INFO: Date 2025-01-07
[2025-01-07 03:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:50:05] Production.INFO: Total Charge 0
[2025-01-07 03:50:05] Production.INFO: CreateAllLog End
[2025-01-07 03:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:50:05
[end_date_ymd] => 2025-01-07 03:50:05
[RateCDR] => 1
)
[2025-01-07 03:50:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 00:50:05' and `end` < '2025-01-07 03:50:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 03:50:05] Production.INFO: Account Balance End.
[2025-01-07 03:50:05] Production.ERROR: CronJobId end 12
[2025-01-07 03:50:05] Production.INFO: ==30119== Releasing lock...
[2025-01-07 03:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14192256', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 03:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 03:50:08] Production.INFO: ProcessCDR(1,14192256,1,1,2)
[2025-01-07 03:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14192256,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14192256,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:50:08] Production.INFO: ==30123== Releasing lock...
[2025-01-07 03:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 03:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-07 03:50:12] Production.ERROR: CronJobId end10
[2025-01-07 03:50:12] Production.INFO: ==30117== Releasing lock...
[2025-01-07 03:50:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:50:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:50:15] Production.INFO: call_cost start
[2025-01-07 03:50:15] Production.INFO: call_cost end
[2025-01-07 03:50:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:50:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:50:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:50:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:50:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:50:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:50:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:50:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:50:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:50:15] Production.INFO: ==30113== Releasing lock...
[2025-01-07 03:50:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:50:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:50:18] Production.INFO: count ==180
[2025-01-07 03:50:18] Production.ERROR: pbx CDR StartTime 2025-01-07 00:50:05 - End Time 2025-01-07 03:50:05
[2025-01-07 03:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192257', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192257', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192257', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192257', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:50:18] Production.INFO: ProcessCDR(1,14192257,1,1,2)
[2025-01-07 03:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192257,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192257,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192257,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192257,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192257', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192257', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:50:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:50:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:50:21] Production.INFO: ==30121== Releasing lock...
[2025-01-07 03:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:50:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-07 08:51:01] Production.INFO: ==30197== Lock acquired, processing the job...
[2025-01-07 08:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:51:01] Production.INFO: neon service started
[2025-01-07 08:51:01] Production.INFO: neon service started
[2025-01-07 08:51:01] Production.INFO: ==30197== Releasing lock...
[2025-01-07 08:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:51:02] Production.INFO: ==30199== Lock acquired, processing the job...
[2025-01-07 03:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:51:02] Production.INFO: ==30199== Releasing lock...
[2025-01-07 03:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:51:02] Production.INFO: ==30201== Lock acquired, processing the job...
[2025-01-07 08:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:51:02] Production.INFO: ==30201== Releasing lock...
[2025-01-07 08:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:51:03] Production.INFO: ==30204== Lock acquired, processing the job...
[2025-01-07 03:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:51:03] Production.INFO: ==30208== Lock acquired, processing the job...
[2025-01-07 03:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:51:03] Production.INFO: ==30212== Lock acquired, processing the job...
[2025-01-07 03:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:51:03] Production.INFO: ==30210== Lock acquired, processing the job...
[2025-01-07 03:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:51:03] Production.INFO: ==30206== Lock acquired, processing the job...
[2025-01-07 03:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:51:03] Production.INFO: ==30214== Lock acquired, processing the job...
[2025-01-07 03:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:51:03] Production.INFO: Account Balance Start.
[2025-01-07 03:51:03] Production.INFO: CreateAllLog Start
[2025-01-07 03:51:03] Production.INFO: 117
[2025-01-07 03:51:03] Production.INFO: Date 2024-12-08
[2025-01-07 03:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:51:03] Production.INFO: Date 2024-12-09
[2025-01-07 03:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:51:03] Production.INFO: Date 2024-12-10
[2025-01-07 03:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:51:03] Production.INFO: Date 2024-12-11
[2025-01-07 03:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:51:03] Production.ERROR: done
[2025-01-07 03:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:51:03] Production.INFO: Date 2024-12-12
[2025-01-07 03:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:51:03] Production.INFO: Date 2024-12-13
[2025-01-07 03:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:51:03] Production.INFO: ==30206== Releasing lock...
[2025-01-07 03:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 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-07 03:51:03] Production.INFO: count ==21
[2025-01-07 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-07 03:51:03] Production.INFO: Date 2024-12-14
[2025-01-07 03:51:03] Production.INFO: count ==21
[2025-01-07 03:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192261') start
[2025-01-07 03:51:03] Production.INFO: Date 2024-12-15
[2025-01-07 03:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:51:04] Production.ERROR: done
[2025-01-07 03:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192261') end
[2025-01-07 03:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:51:04] Production.INFO: 1
[2025-01-07 03:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:51:04] Production.INFO: Date 2024-12-16
[2025-01-07 03:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:51:04] Production.INFO: ==30214== Releasing lock...
[2025-01-07 03:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:51:04] Production.INFO: Date 2024-12-17
[2025-01-07 03:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:51:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:51:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:51:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:51:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:51:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:51:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:51:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:51:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:51:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:51:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:51:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:51:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:51:04] Production.INFO: Date 2024-12-30
[2025-01-07 03:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:51:04] Production.INFO: Date 2024-12-31
[2025-01-07 03:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:51:04] Production.INFO: Date 2025-01-01
[2025-01-07 03:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:51:04] Production.INFO: Date 2025-01-02
[2025-01-07 03:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:51:04] Production.INFO: Date 2025-01-03
[2025-01-07 03:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:51:04] Production.INFO: Date 2025-01-04
[2025-01-07 03:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:51:04] Production.INFO: Date 2025-01-05
[2025-01-07 03:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:51:04] Production.INFO: Date 2025-01-06
[2025-01-07 03:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:51:04] Production.INFO: Date 2025-01-07
[2025-01-07 03:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:51:04] Production.INFO: Total Charge 0
[2025-01-07 03:51:04] Production.INFO: CreateAllLog End
[2025-01-07 03:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:51:04
[end_date_ymd] => 2025-01-07 03:51:04
[RateCDR] => 1
)
[2025-01-07 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-07 00:51:04' and `end` < '2025-01-07 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-07 03:51:05] Production.INFO: Account Balance End.
[2025-01-07 03:51:05] Production.ERROR: CronJobId end 12
[2025-01-07 03:51:05] Production.INFO: ==30210== Releasing lock...
[2025-01-07 03:51:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:51:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:51:11] Production.ERROR: CronJobId end10
[2025-01-07 03:51:11] Production.INFO: ==30208== Releasing lock...
[2025-01-07 03:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:51:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:51:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:51:13] Production.INFO: call_cost start
[2025-01-07 03:51:13] Production.INFO: call_cost end
[2025-01-07 03:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:51:14] Production.INFO: ==30204== Releasing lock...
[2025-01-07 03:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:51:17] Production.INFO: count ==176
[2025-01-07 03:51:17] Production.ERROR: pbx CDR StartTime 2025-01-07 00:51:04 - End Time 2025-01-07 03:51:04
[2025-01-07 03:51:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192262', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192262', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192262', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192262', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:51:17] Production.INFO: ProcessCDR(1,14192262,1,1,2)
[2025-01-07 03:51:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192262,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:51:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192262,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:51:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192262,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:51:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192262,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:51:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192262', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:51:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192262', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:51:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:51:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:51:20] Production.INFO: ==30212== Releasing lock...
[2025-01-07 03:51:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:51:20] Production.INFO: 28.75 MB #Memory Used#
[2025-01-07 08:52:02] Production.INFO: ==30276== Lock acquired, processing the job...
[2025-01-07 08:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:52:02] Production.INFO: neon service started
[2025-01-07 08:52:02] Production.INFO: neon service started
[2025-01-07 08:52:02] Production.INFO: ==30276== Releasing lock...
[2025-01-07 08:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:52:02] Production.INFO: ==30278== Lock acquired, processing the job...
[2025-01-07 03:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:52:02] Production.INFO: ==30278== Releasing lock...
[2025-01-07 03:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:52:03] Production.INFO: ==30280== Lock acquired, processing the job...
[2025-01-07 08:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:52:03] Production.INFO: ==30280== Releasing lock...
[2025-01-07 08:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:52:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:52:03] Production.INFO: ==30290== Lock acquired, processing the job...
[2025-01-07 03:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:52:03] Production.ERROR: done
[2025-01-07 03:52:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:52:04] Production.ERROR: done
[2025-01-07 03:52:04] Production.INFO: ==30282== Lock acquired, processing the job...
[2025-01-07 03:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:52:04] Production.INFO: ==30284== Lock acquired, processing the job...
[2025-01-07 03:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:52:04] Production.INFO: ==30286== Lock acquired, processing the job...
[2025-01-07 03:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:52:04] Production.INFO: ==30288== Lock acquired, processing the job...
[2025-01-07 03:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:52:04] Production.INFO: ==30292== Lock acquired, processing the job...
[2025-01-07 03:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:52:04] Production.INFO: Account Balance Start.
[2025-01-07 03:52:04] Production.INFO: CreateAllLog Start
[2025-01-07 03:52:04] Production.INFO: 117
[2025-01-07 03:52:04] Production.INFO: Date 2024-12-08
[2025-01-07 03:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 03:52:04] Production.INFO: Date 2024-12-09
[2025-01-07 03:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:52:04] Production.INFO: ==30284== Releasing lock...
[2025-01-07 03:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:52:04] Production.INFO: Date 2024-12-10
[2025-01-07 03:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:52:04] Production.INFO: Date 2024-12-11
[2025-01-07 03:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:52:04] Production.INFO: count ==21
[2025-01-07 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-07 03:52:04] Production.INFO: count ==21
[2025-01-07 03:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192267') start
[2025-01-07 03:52:04] Production.INFO: Date 2024-12-12
[2025-01-07 03:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:52:04] Production.INFO: Date 2024-12-13
[2025-01-07 03:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:52:04] Production.INFO: Date 2024-12-14
[2025-01-07 03:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192267') end
[2025-01-07 03:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:52:04] Production.INFO: 1
[2025-01-07 03:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:52:04] Production.INFO: Date 2024-12-15
[2025-01-07 03:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:52:04] Production.INFO: Date 2024-12-16
[2025-01-07 03:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:52:04] Production.INFO: ==30292== Releasing lock...
[2025-01-07 03:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:52:04] Production.INFO: Date 2024-12-17
[2025-01-07 03:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:52:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:52:05] Production.INFO: Date 2024-12-19
[2025-01-07 03:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:52:05
[end_date_ymd] => 2025-01-07 03:52:05
[RateCDR] => 1
)
[2025-01-07 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-07 00:52:05' and `end` < '2025-01-07 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-07 03:52:05] Production.INFO: Date 2024-12-20
[2025-01-07 03:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:52:05] Production.INFO: Date 2024-12-21
[2025-01-07 03:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:52:05] Production.INFO: Date 2024-12-22
[2025-01-07 03:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:52:05] Production.INFO: Date 2024-12-23
[2025-01-07 03:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:52:05] Production.INFO: Date 2024-12-24
[2025-01-07 03:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:52:05] Production.INFO: Date 2024-12-25
[2025-01-07 03:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:52:05] Production.INFO: Date 2024-12-26
[2025-01-07 03:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:52:05] Production.INFO: Date 2024-12-27
[2025-01-07 03:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:52:05] Production.INFO: Date 2024-12-28
[2025-01-07 03:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:52:05] Production.INFO: Date 2024-12-29
[2025-01-07 03:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:52:05] Production.INFO: Date 2024-12-30
[2025-01-07 03:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:52:05] Production.INFO: Date 2024-12-31
[2025-01-07 03:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:52:05] Production.INFO: Date 2025-01-01
[2025-01-07 03:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:52:05] Production.INFO: Date 2025-01-02
[2025-01-07 03:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:52:05] Production.INFO: Date 2025-01-03
[2025-01-07 03:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:52:05] Production.INFO: Date 2025-01-04
[2025-01-07 03:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:52:05] Production.INFO: Date 2025-01-05
[2025-01-07 03:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:52:05] Production.INFO: Date 2025-01-06
[2025-01-07 03:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:52:05] Production.INFO: Date 2025-01-07
[2025-01-07 03:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:52:05] Production.INFO: Total Charge 0
[2025-01-07 03:52:05] Production.INFO: CreateAllLog End
[2025-01-07 03:52:05] Production.INFO: Account Balance End.
[2025-01-07 03:52:06] Production.ERROR: CronJobId end 12
[2025-01-07 03:52:06] Production.INFO: ==30288== Releasing lock...
[2025-01-07 03:52:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:52:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:52:11] Production.ERROR: CronJobId end10
[2025-01-07 03:52:11] Production.INFO: ==30286== Releasing lock...
[2025-01-07 03:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:52:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:52:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:52:13] Production.INFO: call_cost start
[2025-01-07 03:52:13] Production.INFO: call_cost end
[2025-01-07 03:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:52:14] Production.INFO: ==30282== Releasing lock...
[2025-01-07 03:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:52:17] Production.INFO: count ==176
[2025-01-07 03:52:17] Production.ERROR: pbx CDR StartTime 2025-01-07 00:52:05 - End Time 2025-01-07 03:52:05
[2025-01-07 03:52:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192263', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192263', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192263', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192263', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:52:17] Production.INFO: ProcessCDR(1,14192263,1,1,2)
[2025-01-07 03:52:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192263,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:52:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192263,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:52:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192263,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192263,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192263', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192263', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:52:21] Production.INFO: ==30290== Releasing lock...
[2025-01-07 03:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:52:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-07 08:53:01] Production.INFO: ==30356== Lock acquired, processing the job...
[2025-01-07 08:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:53:01] Production.INFO: neon service started
[2025-01-07 08:53:01] Production.INFO: neon service started
[2025-01-07 08:53:01] Production.INFO: ==30356== Releasing lock...
[2025-01-07 08:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:53:02] Production.INFO: ==30360== Lock acquired, processing the job...
[2025-01-07 08:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:53:02] Production.INFO: ==30360== Releasing lock...
[2025-01-07 08:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:53:02] Production.INFO: ==30358== Lock acquired, processing the job...
[2025-01-07 03:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:53:02] Production.INFO: ==30358== Releasing lock...
[2025-01-07 03:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:53:03] Production.INFO: ==30362== Lock acquired, processing the job...
[2025-01-07 03:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:53:03] Production.INFO: ==30368== Lock acquired, processing the job...
[2025-01-07 03:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:53:03] Production.INFO: ==30372== Lock acquired, processing the job...
[2025-01-07 03:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:53:03] Production.INFO: Account Balance Start.
[2025-01-07 03:53:03] Production.INFO: CreateAllLog Start
[2025-01-07 03:53:03] Production.INFO: 117
[2025-01-07 03:53:03] Production.INFO: Date 2024-12-08
[2025-01-07 03:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:53:03] Production.INFO: Date 2024-12-09
[2025-01-07 03:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:53:03] Production.INFO: Date 2024-12-10
[2025-01-07 03:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 03:53:03] Production.INFO: Date 2024-12-11
[2025-01-07 03:53:03] Production.INFO: count ==21
[2025-01-07 03:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 03:53:03] Production.INFO: count ==21
[2025-01-07 03:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:53:03] Production.INFO: ==30364== Lock acquired, processing the job...
[2025-01-07 03:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192270') start
[2025-01-07 03:53:03] Production.INFO: Date 2024-12-12
[2025-01-07 03:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:53:03] Production.INFO: ==30366== Lock acquired, processing the job...
[2025-01-07 03:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:53:03] Production.INFO: ==30370== Lock acquired, processing the job...
[2025-01-07 03:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:53:03] Production.INFO: Date 2024-12-13
[2025-01-07 03:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192270') end
[2025-01-07 03:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:53:03] Production.INFO: 1
[2025-01-07 03:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:53:03] Production.INFO: Date 2024-12-14
[2025-01-07 03:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:53:03] Production.INFO: ==30372== Releasing lock...
[2025-01-07 03:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:53:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:53:03] Production.INFO: Date 2024-12-15
[2025-01-07 03:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:53:03] Production.INFO: Date 2024-12-16
[2025-01-07 03:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:53:03] Production.INFO: Date 2024-12-17
[2025-01-07 03:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:53:03] Production.INFO: Date 2024-12-18
[2025-01-07 03:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:53:03] Production.ERROR: done
[2025-01-07 03:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:53:03] Production.INFO: Date 2024-12-19
[2025-01-07 03:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:53:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:53:04] Production.INFO: ==30364== Releasing lock...
[2025-01-07 03:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:53:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:53:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:53:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:53:04] Production.ERROR: done
[2025-01-07 03:53:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:53:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:53:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:53:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:53:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:53:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:53:04] Production.INFO: Date 2024-12-30
[2025-01-07 03:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:53:04] Production.INFO: Date 2024-12-31
[2025-01-07 03:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:53:04] Production.INFO: Date 2025-01-01
[2025-01-07 03:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:53:04] Production.INFO: Date 2025-01-02
[2025-01-07 03:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:53:04] Production.INFO: Date 2025-01-03
[2025-01-07 03:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:53:04] Production.INFO: Date 2025-01-04
[2025-01-07 03:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:53:04] Production.INFO: Date 2025-01-05
[2025-01-07 03:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:53:04] Production.INFO: Date 2025-01-06
[2025-01-07 03:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:53:04] Production.INFO: Date 2025-01-07
[2025-01-07 03:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:53:04] Production.INFO: Total Charge 0
[2025-01-07 03:53:04] Production.INFO: CreateAllLog End
[2025-01-07 03:53:04] Production.INFO: Account Balance End.
[2025-01-07 03:53:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:53:04
[end_date_ymd] => 2025-01-07 03:53:04
[RateCDR] => 1
)
[2025-01-07 03:53:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 00:53:04' and `end` < '2025-01-07 03:53:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 03:53:04] Production.ERROR: CronJobId end 12
[2025-01-07 03:53:04] Production.INFO: ==30368== Releasing lock...
[2025-01-07 03:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:53:11] Production.ERROR: CronJobId end10
[2025-01-07 03:53:11] Production.INFO: ==30366== Releasing lock...
[2025-01-07 03:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:53:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:53:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:53:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:53:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:53:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:53:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:53:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:53:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:53:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:53:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:53:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:53:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:53:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:53:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:53:12] Production.INFO: call_cost start
[2025-01-07 03:53:12] Production.INFO: call_cost end
[2025-01-07 03:53:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:53:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:53:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:53:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:53:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:53:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:53:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:53:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:53:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:53:13] Production.INFO: ==30362== Releasing lock...
[2025-01-07 03:53:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:53:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:53:18] Production.INFO: count ==176
[2025-01-07 03:53:18] Production.ERROR: pbx CDR StartTime 2025-01-07 00:53:04 - End Time 2025-01-07 03:53:04
[2025-01-07 03:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192272', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192272', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192272', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192272', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:53:18] Production.INFO: ProcessCDR(1,14192272,1,1,2)
[2025-01-07 03:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192272,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192272,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192272,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192272,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192272', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192272', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:53:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:53:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:53:21] Production.INFO: ==30370== Releasing lock...
[2025-01-07 03:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:53:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-07 08:54:02] Production.INFO: ==30427== Lock acquired, processing the job...
[2025-01-07 08:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:54:02] Production.INFO: neon service started
[2025-01-07 08:54:02] Production.INFO: neon service started
[2025-01-07 08:54:02] Production.INFO: ==30427== Releasing lock...
[2025-01-07 08:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:54:02] Production.INFO: ==30429== Lock acquired, processing the job...
[2025-01-07 03:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:54:02] Production.INFO: ==30429== Releasing lock...
[2025-01-07 03:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:54:03] Production.INFO: ==30431== Lock acquired, processing the job...
[2025-01-07 08:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:54:03] Production.INFO: ==30431== Releasing lock...
[2025-01-07 08:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:54:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:54:03] Production.INFO: ==30433== Lock acquired, processing the job...
[2025-01-07 03:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:54:03] Production.INFO: ==30437== Lock acquired, processing the job...
[2025-01-07 03:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:54:03] Production.INFO: ==30441== Lock acquired, processing the job...
[2025-01-07 03:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:54:04] Production.INFO: ==30443== Lock acquired, processing the job...
[2025-01-07 03:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:54:04] Production.ERROR: done
[2025-01-07 03:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:54:04] Production.INFO: ==30439== Lock acquired, processing the job...
[2025-01-07 03:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:54:04] Production.INFO: ==30435== Lock acquired, processing the job...
[2025-01-07 03:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 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-07 03:54:04] Production.INFO: count ==21
[2025-01-07 03:54:04] Production.ERROR: done
[2025-01-07 03:54:04] Production.INFO: Account Balance Start.
[2025-01-07 03:54:04] Production.INFO: CreateAllLog Start
[2025-01-07 03:54:04] Production.INFO: 117
[2025-01-07 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-07 03:54:04] Production.INFO: count ==21
[2025-01-07 03:54:04] Production.INFO: Date 2024-12-08
[2025-01-07 03:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192274') start
[2025-01-07 03:54:04] Production.INFO: Date 2024-12-09
[2025-01-07 03:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192274') end
[2025-01-07 03:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:54:04] Production.INFO: 1
[2025-01-07 03:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:54:04] Production.INFO: Date 2024-12-10
[2025-01-07 03:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:54:04] Production.INFO: Date 2024-12-11
[2025-01-07 03:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:54:04] Production.INFO: ==30443== Releasing lock...
[2025-01-07 03:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:54:04] Production.INFO: Date 2024-12-12
[2025-01-07 03:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:54:04] Production.INFO: Date 2024-12-13
[2025-01-07 03:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:54:04] Production.INFO: ==30435== Releasing lock...
[2025-01-07 03:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:54:04] Production.INFO: Date 2024-12-14
[2025-01-07 03:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:54:04] Production.INFO: Date 2024-12-15
[2025-01-07 03:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:54:04] Production.INFO: Date 2024-12-16
[2025-01-07 03:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:54:04] Production.INFO: Date 2024-12-17
[2025-01-07 03:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:54:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:54:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:54:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:54:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:54:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:54:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:54:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:54:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:54:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:54:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:54:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:54:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:54:05] Production.INFO: Date 2024-12-30
[2025-01-07 03:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:54:05] Production.INFO: Date 2024-12-31
[2025-01-07 03:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:54:05] Production.INFO: Date 2025-01-01
[2025-01-07 03:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:54:05] Production.INFO: Date 2025-01-02
[2025-01-07 03:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:54:05] Production.INFO: Date 2025-01-03
[2025-01-07 03:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:54:05] Production.INFO: Date 2025-01-04
[2025-01-07 03:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:54:05] Production.INFO: Date 2025-01-05
[2025-01-07 03:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:54:05] Production.INFO: Date 2025-01-06
[2025-01-07 03:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:54:05] Production.INFO: Date 2025-01-07
[2025-01-07 03:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:54:05] Production.INFO: Total Charge 0
[2025-01-07 03:54:05] Production.INFO: CreateAllLog End
[2025-01-07 03:54:05] Production.INFO: Account Balance End.
[2025-01-07 03:54:05] Production.ERROR: CronJobId end 12
[2025-01-07 03:54:05] Production.INFO: ==30439== Releasing lock...
[2025-01-07 03:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:54:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:54:05
[end_date_ymd] => 2025-01-07 03:54:05
[RateCDR] => 1
)
[2025-01-07 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-07 00:54:05' and `end` < '2025-01-07 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-07 03:54:12] Production.ERROR: CronJobId end10
[2025-01-07 03:54:12] Production.INFO: ==30437== Releasing lock...
[2025-01-07 03:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:54:13] Production.INFO: call_cost start
[2025-01-07 03:54:13] Production.INFO: call_cost end
[2025-01-07 03:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:54:14] Production.INFO: ==30433== Releasing lock...
[2025-01-07 03:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:54:19] Production.INFO: count ==176
[2025-01-07 03:54:19] Production.ERROR: pbx CDR StartTime 2025-01-07 00:54:05 - End Time 2025-01-07 03:54:05
[2025-01-07 03:54:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192276', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192276', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192276', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192276', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:54:19] Production.INFO: ProcessCDR(1,14192276,1,1,2)
[2025-01-07 03:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192276,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192276,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192276,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192276,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192276', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192276', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:54:22] Production.INFO: ==30441== Releasing lock...
[2025-01-07 03:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:54:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-07 08:55:01] Production.INFO: ==30499== Lock acquired, processing the job...
[2025-01-07 08:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:55:01] Production.INFO: neon service started
[2025-01-07 08:55:01] Production.INFO: neon service started
[2025-01-07 08:55:01] Production.INFO: ==30499== Releasing lock...
[2025-01-07 08:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:55:01] Production.INFO: ==30501== Lock acquired, processing the job...
[2025-01-07 03:55:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:55:02] Production.INFO: ==30503== Lock acquired, processing the job...
[2025-01-07 08:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:55:02] Production.INFO: ==30503== Releasing lock...
[2025-01-07 08:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:55:02] Production.INFO: ==30501== Releasing lock...
[2025-01-07 03:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:55:03] Production.INFO: ==30512== Lock acquired, processing the job...
[2025-01-07 03:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:55:03] Production.INFO: ==30516== Lock acquired, processing the job...
[2025-01-07 03:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:55:03] Production.INFO: ==30506== Lock acquired, processing the job...
[2025-01-07 03:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:55:03] Production.INFO: Account Balance Start.
[2025-01-07 03:55:03] Production.INFO: CreateAllLog Start
[2025-01-07 03:55:03] Production.INFO: 117
[2025-01-07 03:55:03] Production.INFO: Date 2024-12-08
[2025-01-07 03:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:55:03] Production.INFO: Date 2024-12-09
[2025-01-07 03:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:55:03] Production.INFO: ==30508== Lock acquired, processing the job...
[2025-01-07 03:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:55:03] Production.INFO: Date 2024-12-10
[2025-01-07 03:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 03:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:55:03] Production.INFO: ==30510== Lock acquired, processing the job...
[2025-01-07 03:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:55:03] Production.INFO: count ==21
[2025-01-07 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-07 03:55:03] Production.INFO: count ==21
[2025-01-07 03:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192279') start
[2025-01-07 03:55:03] Production.INFO: Date 2024-12-11
[2025-01-07 03:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:55:03] Production.INFO: Date 2024-12-12
[2025-01-07 03:55:03] Production.INFO: ==30514== Lock acquired, processing the job...
[2025-01-07 03:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:55:03] Production.INFO: Date 2024-12-13
[2025-01-07 03:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:55:03] Production.INFO: Date 2024-12-14
[2025-01-07 03:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192279') end
[2025-01-07 03:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:55:03] Production.INFO: 1
[2025-01-07 03:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:55:03] Production.INFO: Date 2024-12-15
[2025-01-07 03:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:55:03] Production.INFO: Date 2024-12-16
[2025-01-07 03:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:55:03] Production.INFO: ==30508== Releasing lock...
[2025-01-07 03:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:55:03] Production.INFO: ==30516== Releasing lock...
[2025-01-07 03:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:55:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:55:03] Production.INFO: Date 2024-12-17
[2025-01-07 03:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:55:03] Production.ERROR: done
[2025-01-07 03:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:55:03] Production.INFO: Date 2024-12-18
[2025-01-07 03:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:55:04] Production.ERROR: done
[2025-01-07 03:55:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:55:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:55:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:55:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:55:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:55:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:55:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:55:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:55:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:55:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:55:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:55:04] Production.INFO: Date 2024-12-30
[2025-01-07 03:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:55:04] Production.INFO: Date 2024-12-31
[2025-01-07 03:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:55:04] Production.INFO: Date 2025-01-01
[2025-01-07 03:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:55:04] Production.INFO: Date 2025-01-02
[2025-01-07 03:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:55:04] Production.INFO: Date 2025-01-03
[2025-01-07 03:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:55:04] Production.INFO: Date 2025-01-04
[2025-01-07 03:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:55:04] Production.INFO: Date 2025-01-05
[2025-01-07 03:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:55:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:55:04
[end_date_ymd] => 2025-01-07 03:55:04
[RateCDR] => 1
)
[2025-01-07 03:55:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 00:55:04' and `end` < '2025-01-07 03:55:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 03:55:04] Production.INFO: Date 2025-01-06
[2025-01-07 03:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:55:05] Production.INFO: Date 2025-01-07
[2025-01-07 03:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:55:05] Production.INFO: Total Charge 0
[2025-01-07 03:55:05] Production.INFO: CreateAllLog End
[2025-01-07 03:55:05] Production.INFO: Account Balance End.
[2025-01-07 03:55:05] Production.ERROR: CronJobId end 12
[2025-01-07 03:55:05] Production.INFO: ==30512== Releasing lock...
[2025-01-07 03:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:55:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:55:10] Production.ERROR: CronJobId end10
[2025-01-07 03:55:10] Production.INFO: ==30510== Releasing lock...
[2025-01-07 03:55:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:55:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:55:14] Production.INFO: call_cost start
[2025-01-07 03:55:14] Production.INFO: call_cost end
[2025-01-07 03:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:55:14] Production.INFO: ==30506== Releasing lock...
[2025-01-07 03:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:55:17] Production.INFO: count ==174
[2025-01-07 03:55:17] Production.ERROR: pbx CDR StartTime 2025-01-07 00:55:04 - End Time 2025-01-07 03:55:04
[2025-01-07 03:55:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192282', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192282', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192282', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192282', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:55:17] Production.INFO: ProcessCDR(1,14192282,1,1,2)
[2025-01-07 03:55:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192282,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:55:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192282,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:55:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192282,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192282,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192282', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192282', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:55:21] Production.INFO: ==30514== Releasing lock...
[2025-01-07 03:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:55:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-07 08:56:01] Production.INFO: ==30571== Lock acquired, processing the job...
[2025-01-07 08:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:56:02] Production.INFO: neon service started
[2025-01-07 08:56:02] Production.INFO: neon service started
[2025-01-07 08:56:02] Production.INFO: ==30571== Releasing lock...
[2025-01-07 08:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:56:02] Production.INFO: ==30573== Lock acquired, processing the job...
[2025-01-07 03:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:56:02] Production.INFO: ==30573== Releasing lock...
[2025-01-07 03:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:56:02] Production.INFO: ==30575== Lock acquired, processing the job...
[2025-01-07 08:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:56:02] Production.INFO: ==30575== Releasing lock...
[2025-01-07 08:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:56:03] Production.INFO: ==30579== Lock acquired, processing the job...
[2025-01-07 03:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:56:03] Production.INFO: ==30583== Lock acquired, processing the job...
[2025-01-07 03:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:56:03] Production.INFO: ==30577== Lock acquired, processing the job...
[2025-01-07 03:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:56:03] Production.INFO: Account Balance Start.
[2025-01-07 03:56:03] Production.INFO: CreateAllLog Start
[2025-01-07 03:56:03] Production.INFO: 117
[2025-01-07 03:56:03] Production.INFO: Date 2024-12-08
[2025-01-07 03:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:56:03] Production.INFO: ==30581== Lock acquired, processing the job...
[2025-01-07 03:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:56:03] Production.INFO: ==30585== Lock acquired, processing the job...
[2025-01-07 03:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:56:03] Production.INFO: ==30579== Releasing lock...
[2025-01-07 03:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:56:03] Production.INFO: Date 2024-12-09
[2025-01-07 03:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:56:03] Production.INFO: Date 2024-12-10
[2025-01-07 03:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:56:03] Production.INFO: ==30587== Lock acquired, processing the job...
[2025-01-07 03:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:56:03] Production.INFO: Date 2024-12-11
[2025-01-07 03:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:56:04] Production.INFO: Date 2024-12-12
[2025-01-07 03:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:56:04] Production.INFO: Date 2024-12-13
[2025-01-07 03:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:56:04] Production.ERROR: done
[2025-01-07 03:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:56:04] Production.INFO: Date 2024-12-14
[2025-01-07 03:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 03:56:04] Production.INFO: Date 2024-12-15
[2025-01-07 03:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:56:04] Production.INFO: count ==21
[2025-01-07 03:56:04] Production.INFO: Date 2024-12-16
[2025-01-07 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-07 03:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:56:04] Production.INFO: count ==21
[2025-01-07 03:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192286') start
[2025-01-07 03:56:04] Production.ERROR: done
[2025-01-07 03:56:04] Production.INFO: Date 2024-12-17
[2025-01-07 03:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:56:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:56:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:56:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192286') end
[2025-01-07 03:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:56:04] Production.INFO: 1
[2025-01-07 03:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:56:04] Production.INFO: ==30587== Releasing lock...
[2025-01-07 03:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:56:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:56:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:56:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:56:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:56:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:56:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:56:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:56:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:56:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:56:04] Production.INFO: Date 2024-12-30
[2025-01-07 03:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:56:04] Production.INFO: Date 2024-12-31
[2025-01-07 03:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:56:04] Production.INFO: Date 2025-01-01
[2025-01-07 03:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:56:04] Production.INFO: Date 2025-01-02
[2025-01-07 03:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:56:04] Production.INFO: Date 2025-01-03
[2025-01-07 03:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:56:04] Production.INFO: Date 2025-01-04
[2025-01-07 03:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:56:04] Production.INFO: Date 2025-01-05
[2025-01-07 03:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:56:04] Production.INFO: Date 2025-01-06
[2025-01-07 03:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:56:04] Production.INFO: Date 2025-01-07
[2025-01-07 03:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:56:04] Production.INFO: Total Charge 0
[2025-01-07 03:56:04] Production.INFO: CreateAllLog End
[2025-01-07 03:56:04] Production.INFO: Account Balance End.
[2025-01-07 03:56:05] Production.ERROR: CronJobId end 12
[2025-01-07 03:56:05] Production.INFO: ==30583== Releasing lock...
[2025-01-07 03:56:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:56:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:56:05
[end_date_ymd] => 2025-01-07 03:56:05
[RateCDR] => 1
)
[2025-01-07 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-07 00:56:05' and `end` < '2025-01-07 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-07 03:56:10] Production.ERROR: CronJobId end10
[2025-01-07 03:56:10] Production.INFO: ==30581== Releasing lock...
[2025-01-07 03:56:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:56:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:56:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:56:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:56:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:56:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:56:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:56:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:56:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:56:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:56:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:56:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:56:12] Production.INFO: call_cost start
[2025-01-07 03:56:12] Production.INFO: call_cost end
[2025-01-07 03:56:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:56:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:56:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:56:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:56:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:56:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:56:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:56:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:56:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:56:13] Production.INFO: ==30577== Releasing lock...
[2025-01-07 03:56:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:56:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:56:18] Production.INFO: count ==174
[2025-01-07 03:56:18] Production.ERROR: pbx CDR StartTime 2025-01-07 00:56:05 - End Time 2025-01-07 03:56:05
[2025-01-07 03:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192287', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192287', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192287', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192287', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:56:18] Production.INFO: ProcessCDR(1,14192287,1,1,2)
[2025-01-07 03:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192287,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192287,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192287,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192287,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192287', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192287', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:56:21] Production.INFO: ==30585== Releasing lock...
[2025-01-07 03:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:56:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-07 08:57:01] Production.INFO: ==30642== Lock acquired, processing the job...
[2025-01-07 08:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:57:01] Production.INFO: neon service started
[2025-01-07 08:57:01] Production.INFO: neon service started
[2025-01-07 08:57:01] Production.INFO: ==30642== Releasing lock...
[2025-01-07 08:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:57:01] Production.INFO: ==30644== Lock acquired, processing the job...
[2025-01-07 03:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:57:02] Production.INFO: ==30644== Releasing lock...
[2025-01-07 03:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:57:02] Production.INFO: ==30646== Lock acquired, processing the job...
[2025-01-07 08:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:57:02] Production.INFO: ==30646== Releasing lock...
[2025-01-07 08:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:57:02] Production.INFO: ==30648== Lock acquired, processing the job...
[2025-01-07 03:57:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:57:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:57:02] Production.INFO: ==30654== Lock acquired, processing the job...
[2025-01-07 03:57:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:57:02] Production.INFO: ==30650== Lock acquired, processing the job...
[2025-01-07 03:57:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:57:03] Production.INFO: ==30658== Lock acquired, processing the job...
[2025-01-07 03:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:57:03] Production.INFO: ==30652== Lock acquired, processing the job...
[2025-01-07 03:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:57:03] Production.INFO: Account Balance Start.
[2025-01-07 03:57:03] Production.INFO: CreateAllLog Start
[2025-01-07 03:57:03] Production.INFO: 117
[2025-01-07 03:57:03] Production.INFO: Date 2024-12-08
[2025-01-07 03:57:03] Production.INFO: ==30656== Lock acquired, processing the job...
[2025-01-07 03:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:57:03] Production.INFO: Date 2024-12-09
[2025-01-07 03:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 03:57:03] Production.INFO: Date 2024-12-10
[2025-01-07 03:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:57:03] Production.INFO: count ==21
[2025-01-07 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-07 03:57:03] Production.INFO: count ==21
[2025-01-07 03:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192290') start
[2025-01-07 03:57:03] Production.INFO: Date 2024-12-11
[2025-01-07 03:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:57:03] Production.INFO: Date 2024-12-12
[2025-01-07 03:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:57:03] Production.INFO: Date 2024-12-13
[2025-01-07 03:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192290') end
[2025-01-07 03:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:57:03] Production.INFO: 1
[2025-01-07 03:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:57:03] Production.INFO: ==30650== Releasing lock...
[2025-01-07 03:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:57:03] Production.INFO: Date 2024-12-14
[2025-01-07 03:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:57:03] Production.INFO: Date 2024-12-15
[2025-01-07 03:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:57:03] Production.INFO: Date 2024-12-16
[2025-01-07 03:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:57:03] Production.INFO: Date 2024-12-17
[2025-01-07 03:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:57:03] Production.INFO: ==30658== Releasing lock...
[2025-01-07 03:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:57:03] Production.ERROR: done
[2025-01-07 03:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:57:03] Production.INFO: Date 2024-12-18
[2025-01-07 03:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:57:03] Production.ERROR: done
[2025-01-07 03:57:03] Production.INFO: Date 2024-12-19
[2025-01-07 03:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:57:03] Production.INFO: Date 2024-12-20
[2025-01-07 03:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:57:03] Production.INFO: Date 2024-12-21
[2025-01-07 03:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:57:03] Production.INFO: Date 2024-12-22
[2025-01-07 03:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:57:03] Production.INFO: Date 2024-12-23
[2025-01-07 03:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:57:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:57:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:57:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:57:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:57:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:57:04] Production.INFO: Date 2024-12-29
[2025-01-07 03:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:57:04] Production.INFO: Date 2024-12-30
[2025-01-07 03:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:57:04] Production.INFO: Date 2024-12-31
[2025-01-07 03:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:57:04] Production.INFO: Date 2025-01-01
[2025-01-07 03:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:57:04] Production.INFO: Date 2025-01-02
[2025-01-07 03:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:57:04] Production.INFO: Date 2025-01-03
[2025-01-07 03:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:57:04] Production.INFO: Date 2025-01-04
[2025-01-07 03:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:57:04] Production.INFO: Date 2025-01-05
[2025-01-07 03:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:57:04] Production.INFO: Date 2025-01-06
[2025-01-07 03:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:57:04] Production.INFO: Date 2025-01-07
[2025-01-07 03:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:57:04] Production.INFO: Total Charge 0
[2025-01-07 03:57:04] Production.INFO: CreateAllLog End
[2025-01-07 03:57:04] Production.INFO: Account Balance End.
[2025-01-07 03:57:04] Production.ERROR: CronJobId end 12
[2025-01-07 03:57:04] Production.INFO: ==30654== Releasing lock...
[2025-01-07 03:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:57:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:57:04
[end_date_ymd] => 2025-01-07 03:57:04
[RateCDR] => 1
)
[2025-01-07 03:57:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 00:57:04' and `end` < '2025-01-07 03:57:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 03:57:10] Production.ERROR: CronJobId end10
[2025-01-07 03:57:10] Production.INFO: ==30652== Releasing lock...
[2025-01-07 03:57:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:57:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:57:12] Production.INFO: call_cost start
[2025-01-07 03:57:12] Production.INFO: call_cost end
[2025-01-07 03:57:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:57:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:57:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:57:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:57:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:57:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:57:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:57:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:57:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:57:13] Production.INFO: ==30648== Releasing lock...
[2025-01-07 03:57:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:57:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:57:18] Production.INFO: count ==173
[2025-01-07 03:57:18] Production.ERROR: pbx CDR StartTime 2025-01-07 00:57:04 - End Time 2025-01-07 03:57:04
[2025-01-07 03:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192292', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192292', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192292', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192292', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:57:18] Production.INFO: ProcessCDR(1,14192292,1,1,2)
[2025-01-07 03:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192292,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192292,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192292,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192292,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192292', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192292', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:57:21] Production.INFO: ==30656== Releasing lock...
[2025-01-07 03:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:57:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-07 08:58:01] Production.INFO: ==30712== Lock acquired, processing the job...
[2025-01-07 08:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:58:01] Production.INFO: neon service started
[2025-01-07 08:58:01] Production.INFO: neon service started
[2025-01-07 08:58:01] Production.INFO: ==30712== Releasing lock...
[2025-01-07 08:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:58:02] Production.INFO: ==30714== Lock acquired, processing the job...
[2025-01-07 03:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 03:58:02] Production.INFO: ==30714== Releasing lock...
[2025-01-07 03:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:58:02] Production.INFO: ==30716== Lock acquired, processing the job...
[2025-01-07 08:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:58:02] Production.INFO: ==30716== Releasing lock...
[2025-01-07 08:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:58:03] Production.INFO: ==30719== Lock acquired, processing the job...
[2025-01-07 03:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:58:03] Production.INFO: ==30723== Lock acquired, processing the job...
[2025-01-07 03:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:58:03] Production.INFO: ==30727== Lock acquired, processing the job...
[2025-01-07 03:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:58:03] Production.INFO: ==30721== Lock acquired, processing the job...
[2025-01-07 03:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:58:03] Production.INFO: ==30725== Lock acquired, processing the job...
[2025-01-07 03:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:58:03] Production.INFO: ==30729== Lock acquired, processing the job...
[2025-01-07 03:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:58:03] Production.ERROR: done
[2025-01-07 03:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:58:03] Production.INFO: Account Balance Start.
[2025-01-07 03:58:03] Production.INFO: CreateAllLog Start
[2025-01-07 03:58:03] Production.INFO: 117
[2025-01-07 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-07 03:58:03] Production.INFO: count ==21
[2025-01-07 03:58:03] Production.INFO: Date 2024-12-08
[2025-01-07 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-07 03:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 03:58:03] Production.ERROR: done
[2025-01-07 03:58:03] Production.INFO: count ==21
[2025-01-07 03:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192296') start
[2025-01-07 03:58:04] Production.INFO: Date 2024-12-09
[2025-01-07 03:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:58:04] Production.INFO: ==30721== Releasing lock...
[2025-01-07 03:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:58:04] Production.INFO: Date 2024-12-10
[2025-01-07 03:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192296') end
[2025-01-07 03:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:58:04] Production.INFO: 1
[2025-01-07 03:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:58:04] Production.INFO: ==30729== Releasing lock...
[2025-01-07 03:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:58:04] Production.INFO: Date 2024-12-11
[2025-01-07 03:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:58:04] Production.INFO: Date 2024-12-12
[2025-01-07 03:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:58:04] Production.INFO: Date 2024-12-13
[2025-01-07 03:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:58:04] Production.INFO: Date 2024-12-14
[2025-01-07 03:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:58:04] Production.INFO: Date 2024-12-15
[2025-01-07 03:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:58:04] Production.INFO: Date 2024-12-16
[2025-01-07 03:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:58:04] Production.INFO: Date 2024-12-17
[2025-01-07 03:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:58:04] Production.INFO: Date 2024-12-18
[2025-01-07 03:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:58:04] Production.INFO: Date 2024-12-19
[2025-01-07 03:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:58:04] Production.INFO: Date 2024-12-20
[2025-01-07 03:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:58:04] Production.INFO: Date 2024-12-21
[2025-01-07 03:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:58:04] Production.INFO: Date 2024-12-22
[2025-01-07 03:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:58:04] Production.INFO: Date 2024-12-23
[2025-01-07 03:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:58:04] Production.INFO: Date 2024-12-24
[2025-01-07 03:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:58:04] Production.INFO: Date 2024-12-25
[2025-01-07 03:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:58:04] Production.INFO: Date 2024-12-26
[2025-01-07 03:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:58:04] Production.INFO: Date 2024-12-27
[2025-01-07 03:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:58:04] Production.INFO: Date 2024-12-28
[2025-01-07 03:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:58:05] Production.INFO: Date 2024-12-29
[2025-01-07 03:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:58:05] Production.INFO: Date 2024-12-30
[2025-01-07 03:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:58:05] Production.INFO: Date 2024-12-31
[2025-01-07 03:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:58:05] Production.INFO: Date 2025-01-01
[2025-01-07 03:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:58:05] Production.INFO: Date 2025-01-02
[2025-01-07 03:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:58:05] Production.INFO: Date 2025-01-03
[2025-01-07 03:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:58:05] Production.INFO: Date 2025-01-04
[2025-01-07 03:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:58:05] Production.INFO: Date 2025-01-05
[2025-01-07 03:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:58:05] Production.INFO: Date 2025-01-06
[2025-01-07 03:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:58:05
[end_date_ymd] => 2025-01-07 03:58:05
[RateCDR] => 1
)
[2025-01-07 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-07 00:58:05' and `end` < '2025-01-07 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-07 03:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:58:05] Production.INFO: Date 2025-01-07
[2025-01-07 03:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:58:05] Production.INFO: Total Charge 0
[2025-01-07 03:58:05] Production.INFO: CreateAllLog End
[2025-01-07 03:58:05] Production.INFO: Account Balance End.
[2025-01-07 03:58:05] Production.ERROR: CronJobId end 12
[2025-01-07 03:58:05] Production.INFO: ==30725== Releasing lock...
[2025-01-07 03:58:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:58:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:58:10] Production.ERROR: CronJobId end10
[2025-01-07 03:58:10] Production.INFO: ==30723== Releasing lock...
[2025-01-07 03:58:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:58:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:58:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:58:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:58:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:58:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:58:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:58:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:58:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:58:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:58:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:58:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:58:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:58:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:58:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:58:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:58:13] Production.INFO: call_cost start
[2025-01-07 03:58:13] Production.INFO: call_cost end
[2025-01-07 03:58:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:58:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:58:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:58:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:58:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:58:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:58:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:58:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:58:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:58:13] Production.INFO: ==30719== Releasing lock...
[2025-01-07 03:58:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:58:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:58:18] Production.INFO: count ==173
[2025-01-07 03:58:18] Production.ERROR: pbx CDR StartTime 2025-01-07 00:58:05 - End Time 2025-01-07 03:58:05
[2025-01-07 03:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192297', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192297', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192297', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192297', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:58:18] Production.INFO: ProcessCDR(1,14192297,1,1,2)
[2025-01-07 03:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192297,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192297,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192297,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192297,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192297', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192297', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:58:21] Production.INFO: ==30727== Releasing lock...
[2025-01-07 03:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:58:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-07 08:59:02] Production.INFO: ==30787== Lock acquired, processing the job...
[2025-01-07 08:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 08:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 08:59:02] Production.INFO: neon service started
[2025-01-07 08:59:02] Production.INFO: neon service started
[2025-01-07 08:59:02] Production.INFO: ==30787== Releasing lock...
[2025-01-07 08:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 08:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 03:59:02] Production.INFO: ==30790== Lock acquired, processing the job...
[2025-01-07 03:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:59:02] Production.INFO: ==30792== Lock acquired, processing the job...
[2025-01-07 08:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:59:03] Production.INFO: ==30792== Releasing lock...
[2025-01-07 08:59:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 08:59:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 03:59:03] Production.INFO: ==30790== Releasing lock...
[2025-01-07 03:59:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 03:59:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 03:59:04] Production.INFO: ==30798== Lock acquired, processing the job...
[2025-01-07 03:59:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 03:59:04] Production.INFO: ==30804== Lock acquired, processing the job...
[2025-01-07 03:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 03:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 03:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 03:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 03:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 03:59:04] Production.INFO: ==30794== Lock acquired, processing the job...
[2025-01-07 03:59:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 03:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 03:59:04] Production.INFO: ==30796== Lock acquired, processing the job...
[2025-01-07 03:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 03:59:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 03:59:04] Production.INFO: ==30800== Lock acquired, processing the job...
[2025-01-07 03:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 03:59:04] Production.INFO: count ==21
[2025-01-07 03:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 03:59:04] Production.INFO: count ==21
[2025-01-07 03:59:04] Production.INFO: ==30802== Lock acquired, processing the job...
[2025-01-07 03:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 03:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192298') start
[2025-01-07 03:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 03:59:04] Production.INFO: Account Balance Start.
[2025-01-07 03:59:04] Production.INFO: CreateAllLog Start
[2025-01-07 03:59:04] Production.INFO: 117
[2025-01-07 03:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192298') end
[2025-01-07 03:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 03:59:04] Production.INFO: 1
[2025-01-07 03:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 03:59:04] Production.INFO: Date 2024-12-08
[2025-01-07 03:59:04] Production.INFO: ==30804== Releasing lock...
[2025-01-07 03:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 03:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 03:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:59:04] Production.INFO: ==30796== Releasing lock...
[2025-01-07 03:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 03:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 03:59:04] Production.INFO: Date 2024-12-09
[2025-01-07 03:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:59:04] Production.INFO: Date 2024-12-10
[2025-01-07 03:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:59:04] Production.INFO: Date 2024-12-11
[2025-01-07 03:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:59:04] Production.INFO: Date 2024-12-12
[2025-01-07 03:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 03:59:04] Production.ERROR: done
[2025-01-07 03:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 03:59:04] Production.INFO: Date 2024-12-13
[2025-01-07 03:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:59:05] Production.INFO: Date 2024-12-14
[2025-01-07 03:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:59:05] Production.INFO: Date 2024-12-15
[2025-01-07 03:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:59:05] Production.ERROR: done
[2025-01-07 03:59:05] Production.INFO: Date 2024-12-16
[2025-01-07 03:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:59:05] Production.INFO: Date 2024-12-17
[2025-01-07 03:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:59:05] Production.INFO: Date 2024-12-18
[2025-01-07 03:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:59:05] Production.INFO: Date 2024-12-19
[2025-01-07 03:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:59:05] Production.INFO: Date 2024-12-20
[2025-01-07 03:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:59:05] Production.INFO: Date 2024-12-21
[2025-01-07 03:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:59:05] Production.INFO: Date 2024-12-22
[2025-01-07 03:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:59:05] Production.INFO: Date 2024-12-23
[2025-01-07 03:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:59:05] Production.INFO: Date 2024-12-24
[2025-01-07 03:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:59:05] Production.INFO: Date 2024-12-25
[2025-01-07 03:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:59:05] Production.INFO: Date 2024-12-26
[2025-01-07 03:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:59:05] Production.INFO: Date 2024-12-27
[2025-01-07 03:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:59:05] Production.INFO: Date 2024-12-28
[2025-01-07 03:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:59:05] Production.INFO: Date 2024-12-29
[2025-01-07 03:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:59:05] Production.INFO: Date 2024-12-30
[2025-01-07 03:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:59:05] Production.INFO: Date 2024-12-31
[2025-01-07 03:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:59:05] Production.INFO: Date 2025-01-01
[2025-01-07 03:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:59:05] Production.INFO: Date 2025-01-02
[2025-01-07 03:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:59:05] Production.INFO: Date 2025-01-03
[2025-01-07 03:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:59:05] Production.INFO: Date 2025-01-04
[2025-01-07 03:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:59:05] Production.INFO: Date 2025-01-05
[2025-01-07 03:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:59:05] Production.INFO: Date 2025-01-06
[2025-01-07 03:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:59:05] Production.INFO: Date 2025-01-07
[2025-01-07 03:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 03:59:05] Production.INFO: Total Charge 0
[2025-01-07 03:59:05] Production.INFO: CreateAllLog End
[2025-01-07 03:59:06] Production.INFO: Account Balance End.
[2025-01-07 03:59:06] Production.ERROR: CronJobId end 12
[2025-01-07 03:59:06] Production.INFO: ==30800== Releasing lock...
[2025-01-07 03:59:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 03:59:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 03:59:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 00:59:06
[end_date_ymd] => 2025-01-07 03:59:06
[RateCDR] => 1
)
[2025-01-07 03:59:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 00:59:06' and `end` < '2025-01-07 03:59:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 03:59: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-07 03:59:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 03:59:11] Production.INFO: ============== Balance Warning START===========
[2025-01-07 03:59:11] Production.INFO: ============== Balance Warning END===========
[2025-01-07 03:59:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 03:59:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 03:59:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 03:59:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 03:59:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 03:59:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 03:59:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 03:59:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 03:59:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 03:59:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 03:59:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 03:59:11] Production.INFO: call_cost start
[2025-01-07 03:59:11] Production.INFO: call_cost end
[2025-01-07 03:59:12] Production.ERROR: CronJobId end10
[2025-01-07 03:59:12] Production.INFO: ==30798== Releasing lock...
[2025-01-07 03:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 03:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 03:59:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 03:59:12] Production.INFO: ============== Report Schedule START===========
[2025-01-07 03:59:12] Production.INFO: ============== Report Schedule END===========
[2025-01-07 03:59:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 03:59:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 03:59:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 03:59:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 03:59:12] Production.INFO: ============== Deal alert START===========
[2025-01-07 03:59:12] Production.INFO: ============== Deal alert END===========
[2025-01-07 03:59:12] Production.INFO: ==30794== Releasing lock...
[2025-01-07 03:59:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 03:59:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 03:59:19] Production.INFO: count ==173
[2025-01-07 03:59:19] Production.ERROR: pbx CDR StartTime 2025-01-07 00:59:06 - End Time 2025-01-07 03:59:06
[2025-01-07 03:59:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 03:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192302', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192302', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192302', 'tblTempVendorCDR_20' ) start
[2025-01-07 03:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192302', 'tblTempVendorCDR_20' ) end
[2025-01-07 03:59:19] Production.INFO: ProcessCDR(1,14192302,1,1,2)
[2025-01-07 03:59:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192302,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:59:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192302,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 03:59:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192302,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192302,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 03:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192302', 'tblTempUsageDetail_20' ) start
[2025-01-07 03:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192302', 'tblTempUsageDetail_20' ) end
[2025-01-07 03:59:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 03:59:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 03:59:22] Production.INFO: ==30802== Releasing lock...
[2025-01-07 03:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 03:59:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-07 09:00:01] Production.INFO: ==30858== Lock acquired, processing the job...
[2025-01-07 09:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:00:01] Production.INFO: neon service started
[2025-01-07 09:00:01] Production.INFO: neon service started
[2025-01-07 09:00:01] Production.INFO: ==30858== Releasing lock...
[2025-01-07 09:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:00:02] Production.INFO: ==30862== Lock acquired, processing the job...
[2025-01-07 09:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:00:02] Production.INFO: ==30862== Releasing lock...
[2025-01-07 09:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:00:02] Production.INFO: ==30860== Lock acquired, processing the job...
[2025-01-07 04:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:00:02] Production.INFO: ==30860== Releasing lock...
[2025-01-07 04:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:00:03] Production.INFO: ==30868== Lock acquired, processing the job...
[2025-01-07 04:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:00:03] Production.INFO: ==30872== Lock acquired, processing the job...
[2025-01-07 04:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:00:03] Production.INFO: ==30864== Lock acquired, processing the job...
[2025-01-07 04:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 04:00:03] Production.INFO: ==30866== Lock acquired, processing the job...
[2025-01-07 04:00:03] Production.INFO: dbcleanup-command-dbcleanup-companyid-1-cronjobid-3 #Starts#
[2025-01-07 04:00:03] Production.INFO: ==30879== Lock acquired, processing the job...
[2025-01-07 04:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 04:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 04:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 04:00:03] Production.ERROR: CronJob PID - 30868
[2025-01-07 04:00:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-07 04:00:03] Production.ERROR: CronJob ID - 5
[2025-01-07 04:00:03] Production.ERROR: CronJob Last Run Time 2025-01-07 04:00:00
[2025-01-07 04:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 04:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 04:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 04:00:03] Production.ERROR: CronJob PID - 30872
[2025-01-07 04:00:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-07 04:00:03] Production.ERROR: CronJob ID - 10
[2025-01-07 04:00:03] Production.ERROR: CronJob Last Run Time 2025-01-07 04:00:00
[2025-01-07 04:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 04:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 04:00:04] Production.INFO: ==30870== Lock acquired, processing the job...
[2025-01-07 04:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 04:00:04] Production.INFO: ==30864== Releasing lock...
[2025-01-07 04:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 04:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 04:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:00:04] Production.INFO: DBcleanup Starts.
[2025-01-07 04:00:04] Production.INFO: Usage Download Log Start.
[2025-01-07 04:00:04] Production.INFO: Usage Download Log End.
[2025-01-07 04:00:04] Production.INFO: Cronjob History Delete Start.
[2025-01-07 04:00:04] Production.INFO: call prc_deleteJobOrCronJobLogByRetention(1,'2024-01-08','Cronjob')
[2025-01-07 04:00:04] Production.INFO: ==30877== Lock acquired, processing the job...
[2025-01-07 04:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:00:04] Production.INFO: ==30875== Lock acquired, processing the job...
[2025-01-07 04:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:00:04] Production.INFO: ==30881== Lock acquired, processing the job...
[2025-01-07 04:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:00:04] Production.INFO: Account Balance Start.
[2025-01-07 04:00:04] Production.INFO: CreateAllLog Start
[2025-01-07 04:00:04] Production.INFO: 117
[2025-01-07 04:00:04] Production.ERROR: done
[2025-01-07 04:00:04] Production.INFO: Date 2024-12-08
[2025-01-07 04:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 04:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14192308', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 04:00:04] Production.INFO: count ==21
[2025-01-07 04:00:04] Production.ERROR: done
[2025-01-07 04:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:00:04] Production.INFO: count ==21
[2025-01-07 04:00:04] Production.INFO: Date 2024-12-09
[2025-01-07 04:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192307') start
[2025-01-07 04:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:00:04] Production.INFO: Date 2024-12-10
[2025-01-07 04:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:00:04] Production.INFO: Date 2024-12-11
[2025-01-07 04:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:00:04] Production.INFO: Date 2024-12-12
[2025-01-07 04:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:00:05] Production.INFO: ==30870== Releasing lock...
[2025-01-07 04:00:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:00:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:00:05] Production.ERROR: done
[2025-01-07 04:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14192307') end
[2025-01-07 04:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:00:05] Production.INFO: 1
[2025-01-07 04:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:00:05] Production.INFO: Date 2024-12-13
[2025-01-07 04:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:00:05] Production.INFO: ==30881== Releasing lock...
[2025-01-07 04:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:00:05] Production.INFO: Date 2024-12-14
[2025-01-07 04:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:00:05] Production.INFO: Date 2024-12-15
[2025-01-07 04:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:00:05] Production.INFO: Date 2024-12-16
[2025-01-07 04:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:00:05] Production.INFO: Date 2024-12-17
[2025-01-07 04:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:00:05] Production.INFO: Date 2024-12-18
[2025-01-07 04:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:00:05] Production.INFO: Date 2024-12-19
[2025-01-07 04:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:00:05] Production.INFO: Date 2024-12-20
[2025-01-07 04:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:00:05] Production.INFO: Date 2024-12-21
[2025-01-07 04:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:00:05] Production.INFO: Date 2024-12-22
[2025-01-07 04:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:00:05] Production.INFO: Date 2024-12-23
[2025-01-07 04:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:00:05] Production.INFO: Date 2024-12-24
[2025-01-07 04:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:00:05] Production.INFO: Date 2024-12-25
[2025-01-07 04:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:00:05] Production.INFO: Date 2024-12-26
[2025-01-07 04:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:00:05] Production.INFO: Date 2024-12-27
[2025-01-07 04:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:00:05] Production.INFO: Date 2024-12-28
[2025-01-07 04:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:00:05] Production.INFO: Date 2024-12-29
[2025-01-07 04:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:00:05] Production.INFO: Date 2024-12-30
[2025-01-07 04:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:00:06] Production.INFO: Date 2024-12-31
[2025-01-07 04:00:06] Production.INFO: Reseller ==> 0
[2025-01-07 04:00:06] Production.INFO: Date 2025-01-01
[2025-01-07 04:00:06] Production.INFO: Reseller ==> 0
[2025-01-07 04:00:06] Production.INFO: Date 2025-01-02
[2025-01-07 04:00:06] Production.INFO: Reseller ==> 0
[2025-01-07 04:00:06] Production.INFO: Date 2025-01-03
[2025-01-07 04:00:06] Production.INFO: Reseller ==> 0
[2025-01-07 04:00:06] Production.INFO: Date 2025-01-04
[2025-01-07 04:00:06] Production.INFO: Reseller ==> 0
[2025-01-07 04:00:06] Production.INFO: Date 2025-01-05
[2025-01-07 04:00:06] Production.INFO: Reseller ==> 0
[2025-01-07 04:00:06] Production.INFO: Date 2025-01-06
[2025-01-07 04:00:06] Production.INFO: Reseller ==> 0
[2025-01-07 04:00:06] Production.INFO: Date 2025-01-07
[2025-01-07 04:00:06] Production.INFO: Reseller ==> 0
[2025-01-07 04:00:06] Production.INFO: Total Charge 0
[2025-01-07 04:00:06] Production.INFO: CreateAllLog End
[2025-01-07 04:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:00:06
[end_date_ymd] => 2025-01-07 04:00:06
[RateCDR] => 1
)
[2025-01-07 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-07 01:00:06' and `end` < '2025-01-07 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-07 04:00:06] Production.INFO: Account Balance End.
[2025-01-07 04:00:06] Production.ERROR: CronJobId end 12
[2025-01-07 04:00:06] Production.INFO: ==30875== Releasing lock...
[2025-01-07 04:00:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:00:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:00:11] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14192308', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 04:00:11] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 04:00:11] Production.INFO: ProcessCDR(1,14192308,1,1,2)
[2025-01-07 04:00:11] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14192308,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:00:11] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14192308,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:00:11] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:00:11] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:00:11] Production.INFO: ==30879== Releasing lock...
[2025-01-07 04:00:11] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 04:00:11] Production.INFO: 26 MB #Memory Used#
[2025-01-07 04:00:16] Production.INFO: Cronjob History Delete End.
[2025-01-07 04:00:16] Production.INFO: Job Log Delete Start.
[2025-01-07 04:00:16] Production.INFO: call prc_deleteJobOrCronJobLogByRetention(1,'2024-01-08','Job')
[2025-01-07 04:00:16] Production.INFO: Job Log Delete End.
[2025-01-07 04:00:16] Production.INFO: Customer RateSheet History Delete Starts.
[2025-01-07 04:00:16] Production.INFO: Customer RateSheet History Delete End.
[2025-01-07 04:00:16] Production.INFO: Vendor RateSheet History Delete Start.
[2025-01-07 04:00:16] Production.INFO: Vendor RateSheet History Delete End.
[2025-01-07 04:00:16] Production.INFO: All Old Rate Delete Start
[2025-01-07 04:00:16] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldVendorRate Start.
[2025-01-07 04:00:16] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldVendorRate Done.
[2025-01-07 04:00:16] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldCustomerRate Start.
[2025-01-07 04:00:16] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldCustomerRate Done.
[2025-01-07 04:00:16] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldRateTableRate Start.
[2025-01-07 04:00:16] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldRateTableRate Done.
[2025-01-07 04:00:16] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldRateSheetDetails Start.
[2025-01-07 04:00:16] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldRateSheetDetails Done.
[2025-01-07 04:00:16] Production.INFO: All Old Rate Delete End
[2025-01-07 04:00:16] Production.INFO: Customer CDR Delete Start.
[2025-01-07 04:00:16] Production.INFO: Customer CDR Delete End.
[2025-01-07 04:00:16] Production.INFO: Customer Failed Call Start.
[2025-01-07 04:00:16] Production.INFO: Customer Failed Call Delete End.
[2025-01-07 04:00:16] Production.INFO: Vendor CDR Delete Start.
[2025-01-07 04:00:16] Production.INFO: Vendor CDR Delete End.
[2025-01-07 04:00:16] Production.INFO: Vendor CDR Delete Start.
[2025-01-07 04:00:16] Production.INFO: Vendor CDR Delete End.
[2025-01-07 04:00:16] Production.INFO: RateLog Delete Start.
[2025-01-07 04:00:16] Production.INFO: RateLog Delete End.
[2025-01-07 04:00:16] Production.INFO: Archive Old Rate Delete Start.
[2025-01-07 04:00:16] Production.INFO: Archive Old Rate Delete End.
[2025-01-07 04:00:16] Production.INFO: Tickets Delete Start.
[2025-01-07 04:00:16] Production.INFO: Tickets Delete End.
[2025-01-07 04:00:16] Production.INFO: DBcleanup Done.
[2025-01-07 04:00:16] Production.ERROR: CronJobId end 3
[2025-01-07 04:00:16] Production.INFO: ==30866== Releasing lock...
[2025-01-07 04:00:16] Production.INFO: dbcleanup-command-dbcleanup-companyid-1-cronjobid-3 #Stops#
[2025-01-07 04:00:16] Production.INFO: 26 MB #Memory Used#
[2025-01-07 04:00:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:00:17] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:00:17] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:00:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:00:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:00:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:00:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:00:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:00:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:00:17] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:00:17] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:00:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:00:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:00:17] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:00:17] Production.INFO: call_cost start
[2025-01-07 04:00:17] Production.INFO: call_cost end
[2025-01-07 04:00:17] Production.ERROR: CronJobId end10
[2025-01-07 04:00:17] Production.INFO: ==30872== Releasing lock...
[2025-01-07 04:00:17] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:00:17] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:00:18] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:00:18] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:00:18] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:00:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:00:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:00:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:00:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:00:18] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:00:18] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:00:18] Production.INFO: ==30868== Releasing lock...
[2025-01-07 04:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:00:18] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:00:20] Production.INFO: count ==165
[2025-01-07 04:00:20] Production.ERROR: pbx CDR StartTime 2025-01-07 01:00:06 - End Time 2025-01-07 04:00:06
[2025-01-07 04:00:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192309', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192309', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192309', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192309', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:00:20] Production.INFO: ProcessCDR(1,14192309,1,1,2)
[2025-01-07 04:00:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192309,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192309,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192309,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192309,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192309', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192309', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:00:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:00:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:00:23] Production.INFO: ==30877== Releasing lock...
[2025-01-07 04:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:00:23] Production.INFO: 28.5 MB #Memory Used#
[2025-01-07 09:01:02] Production.INFO: ==30979== Lock acquired, processing the job...
[2025-01-07 09:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:01:02] Production.INFO: neon service started
[2025-01-07 09:01:02] Production.INFO: neon service started
[2025-01-07 09:01:02] Production.INFO: ==30979== Releasing lock...
[2025-01-07 09:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:01:02] Production.INFO: ==30993== Lock acquired, processing the job...
[2025-01-07 09:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:01:02] Production.INFO: ==30993== Releasing lock...
[2025-01-07 09:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:01:02] Production.INFO: ==30991== Lock acquired, processing the job...
[2025-01-07 04:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:01:02] Production.INFO: ==30991== Releasing lock...
[2025-01-07 04:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:01:03] Production.INFO: ==30995== Lock acquired, processing the job...
[2025-01-07 04:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:01:03] Production.INFO: ==31001== Lock acquired, processing the job...
[2025-01-07 04:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:01:03] Production.INFO: ==31003== Lock acquired, processing the job...
[2025-01-07 04:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:01:03] Production.INFO: Account Balance Start.
[2025-01-07 04:01:03] Production.INFO: CreateAllLog Start
[2025-01-07 04:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:01:03] Production.INFO: 117
[2025-01-07 04:01:03] Production.INFO: Date 2024-12-08
[2025-01-07 04:01:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:01:04] Production.INFO: Date 2024-12-09
[2025-01-07 04:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:01:04] Production.INFO: Date 2024-12-10
[2025-01-07 04:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:01:04] Production.INFO: ==30997== Lock acquired, processing the job...
[2025-01-07 04:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:01:04] Production.INFO: Date 2024-12-11
[2025-01-07 04:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:01:04] Production.INFO: Date 2024-12-12
[2025-01-07 04:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:01:04] Production.INFO: Date 2024-12-13
[2025-01-07 04:01:04] Production.INFO: ==30999== Lock acquired, processing the job...
[2025-01-07 04:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:01:04] Production.ERROR: done
[2025-01-07 04:01:04] Production.INFO: ==31005== Lock acquired, processing the job...
[2025-01-07 04:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:01:04] Production.ERROR: done
[2025-01-07 04:01:04] Production.INFO: Date 2024-12-14
[2025-01-07 04:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:01:04] Production.INFO: Date 2024-12-15
[2025-01-07 04:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:01:04] Production.INFO: Date 2024-12-16
[2025-01-07 04:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:01:04] Production.INFO: count ==21
[2025-01-07 04:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:01:04] Production.INFO: count ==21
[2025-01-07 04:01:04] Production.INFO: Date 2024-12-17
[2025-01-07 04:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192313') start
[2025-01-07 04:01:04] Production.INFO: Date 2024-12-18
[2025-01-07 04:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:01:04] Production.INFO: Date 2024-12-19
[2025-01-07 04:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:01:04] Production.INFO: Date 2024-12-20
[2025-01-07 04:01:04] Production.INFO: ==30997== Releasing lock...
[2025-01-07 04:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192313') end
[2025-01-07 04:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:01:04] Production.INFO: 1
[2025-01-07 04:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:01:04] Production.INFO: ==31005== Releasing lock...
[2025-01-07 04:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:01:04] Production.INFO: Date 2024-12-21
[2025-01-07 04:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:01:04] Production.INFO: Date 2024-12-22
[2025-01-07 04:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:01:04] Production.INFO: Date 2024-12-23
[2025-01-07 04:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:01:04] Production.INFO: Date 2024-12-24
[2025-01-07 04:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:01:04] Production.INFO: Date 2024-12-25
[2025-01-07 04:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:01:04] Production.INFO: Date 2024-12-26
[2025-01-07 04:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:01:04] Production.INFO: Date 2024-12-27
[2025-01-07 04:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:01:04] Production.INFO: Date 2024-12-28
[2025-01-07 04:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:01:04] Production.INFO: Date 2024-12-29
[2025-01-07 04:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:01:04] Production.INFO: Date 2024-12-30
[2025-01-07 04:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:01:04] Production.INFO: Date 2024-12-31
[2025-01-07 04:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:01:04] Production.INFO: Date 2025-01-01
[2025-01-07 04:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:01:05] Production.INFO: Date 2025-01-02
[2025-01-07 04:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:01:05] Production.INFO: Date 2025-01-03
[2025-01-07 04:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:01:05] Production.INFO: Date 2025-01-04
[2025-01-07 04:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:01:05] Production.INFO: Date 2025-01-05
[2025-01-07 04:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:01:05] Production.INFO: Date 2025-01-06
[2025-01-07 04:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:01:05] Production.INFO: Date 2025-01-07
[2025-01-07 04:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:01:05] Production.INFO: Total Charge 0
[2025-01-07 04:01:05] Production.INFO: CreateAllLog End
[2025-01-07 04:01:05] Production.INFO: Account Balance End.
[2025-01-07 04:01:05] Production.ERROR: CronJobId end 12
[2025-01-07 04:01:05] Production.INFO: ==31001== Releasing lock...
[2025-01-07 04:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:01:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:01:05
[end_date_ymd] => 2025-01-07 04:01:05
[RateCDR] => 1
)
[2025-01-07 04:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 01:01:05' and `end` < '2025-01-07 04:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 04:01:12] Production.ERROR: CronJobId end10
[2025-01-07 04:01:12] Production.INFO: ==30999== Releasing lock...
[2025-01-07 04:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:01:14] Production.INFO: call_cost start
[2025-01-07 04:01:14] Production.INFO: call_cost end
[2025-01-07 04:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:01:15] Production.INFO: ==30995== Releasing lock...
[2025-01-07 04:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:01:19] Production.INFO: count ==157
[2025-01-07 04:01:19] Production.ERROR: pbx CDR StartTime 2025-01-07 01:01:05 - End Time 2025-01-07 04:01:05
[2025-01-07 04:01:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192314', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192314', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192314', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192314', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:01:19] Production.INFO: ProcessCDR(1,14192314,1,1,2)
[2025-01-07 04:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192314,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192314,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192314,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192314,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192314', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192314', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:01:22] Production.INFO: ==31003== Releasing lock...
[2025-01-07 04:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:01:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-07 09:02:01] Production.INFO: ==31061== Lock acquired, processing the job...
[2025-01-07 09:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:02:01] Production.INFO: neon service started
[2025-01-07 09:02:01] Production.INFO: neon service started
[2025-01-07 09:02:01] Production.INFO: ==31061== Releasing lock...
[2025-01-07 09:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:02:01] Production.INFO: ==31064== Lock acquired, processing the job...
[2025-01-07 04:02:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:02:02] Production.INFO: ==31064== Releasing lock...
[2025-01-07 04:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:02:02] Production.INFO: ==31066== Lock acquired, processing the job...
[2025-01-07 09:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:02:02] Production.INFO: ==31066== Releasing lock...
[2025-01-07 09:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:02:03] Production.INFO: ==31070== Lock acquired, processing the job...
[2025-01-07 04:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:02:03] Production.INFO: ==31072== Lock acquired, processing the job...
[2025-01-07 04:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:02:03] Production.INFO: ==31074== Lock acquired, processing the job...
[2025-01-07 04:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:02:03] Production.INFO: Account Balance Start.
[2025-01-07 04:02:03] Production.INFO: CreateAllLog Start
[2025-01-07 04:02:03] Production.INFO: 117
[2025-01-07 04:02:03] Production.INFO: Date 2024-12-08
[2025-01-07 04:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:02:03] Production.INFO: Date 2024-12-09
[2025-01-07 04:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:02:03] Production.INFO: Date 2024-12-10
[2025-01-07 04:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:02:03] Production.INFO: Date 2024-12-11
[2025-01-07 04:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:02:03] Production.INFO: Date 2024-12-12
[2025-01-07 04:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:02:03] Production.INFO: ==31068== Lock acquired, processing the job...
[2025-01-07 04:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:02:03] Production.INFO: ==31070== Releasing lock...
[2025-01-07 04:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:02:03] Production.INFO: Date 2024-12-13
[2025-01-07 04:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:02:03] Production.INFO: ==31078== Lock acquired, processing the job...
[2025-01-07 04:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:02:03] Production.INFO: ==31076== Lock acquired, processing the job...
[2025-01-07 04:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:02:03] Production.INFO: Date 2024-12-14
[2025-01-07 04:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:02:03] Production.INFO: Date 2024-12-15
[2025-01-07 04:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:02:03] Production.INFO: Date 2024-12-16
[2025-01-07 04:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:02:03] Production.INFO: Date 2024-12-17
[2025-01-07 04:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:02:03] Production.INFO: Date 2024-12-18
[2025-01-07 04:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:02:03] Production.INFO: count ==21
[2025-01-07 04:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:02:03] Production.INFO: count ==21
[2025-01-07 04:02:03] Production.INFO: Date 2024-12-19
[2025-01-07 04:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192318') start
[2025-01-07 04:02:03] Production.INFO: Date 2024-12-20
[2025-01-07 04:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:02:03] Production.ERROR: done
[2025-01-07 04:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:02:03] Production.INFO: Date 2024-12-21
[2025-01-07 04:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192318') end
[2025-01-07 04:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:02:03] Production.INFO: 1
[2025-01-07 04:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:02:03] Production.INFO: Date 2024-12-22
[2025-01-07 04:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:02:03] Production.INFO: ==31078== Releasing lock...
[2025-01-07 04:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:02:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:02:03] Production.INFO: Date 2024-12-23
[2025-01-07 04:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:02:04] Production.ERROR: done
[2025-01-07 04:02:04] Production.INFO: Date 2024-12-24
[2025-01-07 04:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:02:04] Production.INFO: Date 2024-12-25
[2025-01-07 04:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:02:04] Production.INFO: Date 2024-12-26
[2025-01-07 04:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:02:04] Production.INFO: Date 2024-12-27
[2025-01-07 04:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:02:04] Production.INFO: Date 2024-12-28
[2025-01-07 04:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:02:04] Production.INFO: Date 2024-12-29
[2025-01-07 04:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:02:04] Production.INFO: Date 2024-12-30
[2025-01-07 04:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:02:04] Production.INFO: Date 2024-12-31
[2025-01-07 04:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:02:04] Production.INFO: Date 2025-01-01
[2025-01-07 04:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:02:04] Production.INFO: Date 2025-01-02
[2025-01-07 04:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:02:04] Production.INFO: Date 2025-01-03
[2025-01-07 04:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:02:04] Production.INFO: Date 2025-01-04
[2025-01-07 04:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:02:04] Production.INFO: Date 2025-01-05
[2025-01-07 04:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:02:04] Production.INFO: Date 2025-01-06
[2025-01-07 04:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:02:04] Production.INFO: Date 2025-01-07
[2025-01-07 04:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:02:04] Production.INFO: Total Charge 0
[2025-01-07 04:02:04] Production.INFO: CreateAllLog End
[2025-01-07 04:02:04] Production.INFO: Account Balance End.
[2025-01-07 04:02:04] Production.ERROR: CronJobId end 12
[2025-01-07 04:02:04] Production.INFO: ==31074== Releasing lock...
[2025-01-07 04:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:02:05
[end_date_ymd] => 2025-01-07 04:02:05
[RateCDR] => 1
)
[2025-01-07 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-07 01:02:05' and `end` < '2025-01-07 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-07 04:02:11] Production.ERROR: CronJobId end10
[2025-01-07 04:02:11] Production.INFO: ==31072== Releasing lock...
[2025-01-07 04:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:02:14] Production.INFO: call_cost start
[2025-01-07 04:02:14] Production.INFO: call_cost end
[2025-01-07 04:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:02:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:02:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:02:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:02:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:02:15] Production.INFO: ==31068== Releasing lock...
[2025-01-07 04:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:02:17] Production.INFO: count ==157
[2025-01-07 04:02:17] Production.ERROR: pbx CDR StartTime 2025-01-07 01:02:05 - End Time 2025-01-07 04:02:05
[2025-01-07 04:02:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192319', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192319', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192319', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192319', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:02:17] Production.INFO: ProcessCDR(1,14192319,1,1,2)
[2025-01-07 04:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192319,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:02:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192319,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:02:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192319,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192319,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192319', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192319', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:02:21] Production.INFO: ==31076== Releasing lock...
[2025-01-07 04:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:02:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-07 09:03:02] Production.INFO: ==31133== Lock acquired, processing the job...
[2025-01-07 09:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:03:02] Production.INFO: neon service started
[2025-01-07 09:03:02] Production.INFO: neon service started
[2025-01-07 09:03:02] Production.INFO: ==31133== Releasing lock...
[2025-01-07 09:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:03:02] Production.INFO: ==31135== Lock acquired, processing the job...
[2025-01-07 04:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:03:02] Production.INFO: ==31135== Releasing lock...
[2025-01-07 04:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:03:02] Production.INFO: ==31138== Lock acquired, processing the job...
[2025-01-07 09:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:03:02] Production.INFO: ==31138== Releasing lock...
[2025-01-07 09:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:03:03] Production.INFO: ==31148== Lock acquired, processing the job...
[2025-01-07 04:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:03:03] Production.INFO: ==31146== Lock acquired, processing the job...
[2025-01-07 04:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:03:03] Production.INFO: ==31140== Lock acquired, processing the job...
[2025-01-07 04:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:03:03] Production.INFO: Account Balance Start.
[2025-01-07 04:03:03] Production.INFO: CreateAllLog Start
[2025-01-07 04:03:03] Production.INFO: 117
[2025-01-07 04:03:03] Production.INFO: Date 2024-12-08
[2025-01-07 04:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:03:03] Production.INFO: Date 2024-12-09
[2025-01-07 04:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:03:03] Production.INFO: ==31142== Lock acquired, processing the job...
[2025-01-07 04:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:03:03] Production.INFO: ==31144== Lock acquired, processing the job...
[2025-01-07 04:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:03:03] Production.INFO: Date 2024-12-10
[2025-01-07 04:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:03:03] Production.INFO: Date 2024-12-11
[2025-01-07 04:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:03:03] Production.INFO: ==31150== Lock acquired, processing the job...
[2025-01-07 04:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:03:03] Production.INFO: Date 2024-12-12
[2025-01-07 04:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:03:04] Production.INFO: Date 2024-12-13
[2025-01-07 04:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:03:04] Production.INFO: Date 2024-12-14
[2025-01-07 04:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:03:04] Production.ERROR: done
[2025-01-07 04:03:04] Production.INFO: ==31142== Releasing lock...
[2025-01-07 04:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:03:04] Production.INFO: Date 2024-12-15
[2025-01-07 04:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:03:04] Production.INFO: Date 2024-12-16
[2025-01-07 04:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:03:04] Production.INFO: Date 2024-12-17
[2025-01-07 04:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:03:04] Production.INFO: Date 2024-12-18
[2025-01-07 04:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:03:04] Production.INFO: count ==21
[2025-01-07 04:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:03:04] Production.INFO: count ==21
[2025-01-07 04:03:04] Production.INFO: Date 2024-12-19
[2025-01-07 04:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:03:04] Production.ERROR: done
[2025-01-07 04:03:04] Production.INFO: Date 2024-12-20
[2025-01-07 04:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192323') start
[2025-01-07 04:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:03:04] Production.INFO: Date 2024-12-21
[2025-01-07 04:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:03:04] Production.INFO: Date 2024-12-22
[2025-01-07 04:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:03:04] Production.INFO: Date 2024-12-23
[2025-01-07 04:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192323') end
[2025-01-07 04:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:03:04] Production.INFO: 1
[2025-01-07 04:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:03:04] Production.INFO: Date 2024-12-24
[2025-01-07 04:03:04] Production.INFO: ==31150== Releasing lock...
[2025-01-07 04:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:03:04] Production.INFO: Date 2024-12-25
[2025-01-07 04:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:03:04] Production.INFO: Date 2024-12-26
[2025-01-07 04:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:03:04] Production.INFO: Date 2024-12-27
[2025-01-07 04:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:03:04] Production.INFO: Date 2024-12-28
[2025-01-07 04:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:03:04] Production.INFO: Date 2024-12-29
[2025-01-07 04:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:03:04] Production.INFO: Date 2024-12-30
[2025-01-07 04:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:03:04] Production.INFO: Date 2024-12-31
[2025-01-07 04:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:03:04] Production.INFO: Date 2025-01-01
[2025-01-07 04:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:03:04] Production.INFO: Date 2025-01-02
[2025-01-07 04:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:03:04] Production.INFO: Date 2025-01-03
[2025-01-07 04:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:03:04] Production.INFO: Date 2025-01-04
[2025-01-07 04:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:03:04] Production.INFO: Date 2025-01-05
[2025-01-07 04:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:03:04] Production.INFO: Date 2025-01-06
[2025-01-07 04:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:03:04] Production.INFO: Date 2025-01-07
[2025-01-07 04:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:03:04] Production.INFO: Total Charge 0
[2025-01-07 04:03:04] Production.INFO: CreateAllLog End
[2025-01-07 04:03:05] Production.INFO: Account Balance End.
[2025-01-07 04:03:05] Production.ERROR: CronJobId end 12
[2025-01-07 04:03:05] Production.INFO: ==31146== Releasing lock...
[2025-01-07 04:03:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:03:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:03:05
[end_date_ymd] => 2025-01-07 04:03:05
[RateCDR] => 1
)
[2025-01-07 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-07 01:03:05' and `end` < '2025-01-07 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-07 04:03:12] Production.ERROR: CronJobId end10
[2025-01-07 04:03:12] Production.INFO: ==31144== Releasing lock...
[2025-01-07 04:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:03:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:03:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:03:13] Production.INFO: call_cost start
[2025-01-07 04:03:13] Production.INFO: call_cost end
[2025-01-07 04:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:03:14] Production.INFO: ==31140== Releasing lock...
[2025-01-07 04:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:03:18] Production.INFO: count ==157
[2025-01-07 04:03:18] Production.ERROR: pbx CDR StartTime 2025-01-07 01:03:05 - End Time 2025-01-07 04:03:05
[2025-01-07 04:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192324', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192324', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192324', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192324', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:03:18] Production.INFO: ProcessCDR(1,14192324,1,1,2)
[2025-01-07 04:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192324,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192324,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192324,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192324,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192324', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192324', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:03:21] Production.INFO: ==31148== Releasing lock...
[2025-01-07 04:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:03:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-07 09:04:01] Production.INFO: ==31208== Lock acquired, processing the job...
[2025-01-07 09:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:04:01] Production.INFO: neon service started
[2025-01-07 09:04:01] Production.INFO: neon service started
[2025-01-07 09:04:01] Production.INFO: ==31208== Releasing lock...
[2025-01-07 09:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:04:01] Production.INFO: ==31210== Lock acquired, processing the job...
[2025-01-07 04:04:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:04:02] Production.INFO: ==31210== Releasing lock...
[2025-01-07 04:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:04:02] Production.INFO: ==31212== Lock acquired, processing the job...
[2025-01-07 09:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:04:02] Production.INFO: ==31212== Releasing lock...
[2025-01-07 09:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:04:02] Production.INFO: ==31214== Lock acquired, processing the job...
[2025-01-07 04:04:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:04:02] Production.INFO: ==31216== Lock acquired, processing the job...
[2025-01-07 04:04:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:04:02] Production.INFO: ==31218== Lock acquired, processing the job...
[2025-01-07 04:04:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:04:03] Production.INFO: ==31220== Lock acquired, processing the job...
[2025-01-07 04:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:04:03] Production.INFO: ==31222== Lock acquired, processing the job...
[2025-01-07 04:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:04:03] Production.INFO: ==31216== Releasing lock...
[2025-01-07 04:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:04:03] Production.INFO: ==31224== Lock acquired, processing the job...
[2025-01-07 04:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:04:03] Production.INFO: Account Balance Start.
[2025-01-07 04:04:03] Production.INFO: CreateAllLog Start
[2025-01-07 04:04:03] Production.INFO: 117
[2025-01-07 04:04:03] Production.INFO: Date 2024-12-08
[2025-01-07 04:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:04:03] Production.INFO: Date 2024-12-09
[2025-01-07 04:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:04:03] Production.INFO: Date 2024-12-10
[2025-01-07 04:04:03] Production.INFO: count ==21
[2025-01-07 04:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:04:03] Production.INFO: count ==21
[2025-01-07 04:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192328') start
[2025-01-07 04:04:03] Production.ERROR: done
[2025-01-07 04:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:04:03] Production.INFO: Date 2024-12-11
[2025-01-07 04:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:04:03] Production.INFO: Date 2024-12-12
[2025-01-07 04:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192328') end
[2025-01-07 04:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:04:03] Production.INFO: 1
[2025-01-07 04:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:04:03] Production.INFO: ==31224== Releasing lock...
[2025-01-07 04:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:04:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:04:03] Production.ERROR: done
[2025-01-07 04:04:03] Production.INFO: Date 2024-12-13
[2025-01-07 04:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:04:03] Production.INFO: Date 2024-12-14
[2025-01-07 04:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:04:03] Production.INFO: Date 2024-12-15
[2025-01-07 04:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:04:03] Production.INFO: Date 2024-12-16
[2025-01-07 04:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:04:04] Production.INFO: Date 2024-12-17
[2025-01-07 04:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:04:04] Production.INFO: Date 2024-12-18
[2025-01-07 04:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:04:04] Production.INFO: Date 2024-12-19
[2025-01-07 04:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:04:04] Production.INFO: Date 2024-12-20
[2025-01-07 04:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:04:04] Production.INFO: Date 2024-12-21
[2025-01-07 04:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:04:04] Production.INFO: Date 2024-12-22
[2025-01-07 04:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:04:04] Production.INFO: Date 2024-12-23
[2025-01-07 04:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:04:04] Production.INFO: Date 2024-12-24
[2025-01-07 04:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:04:04] Production.INFO: Date 2024-12-25
[2025-01-07 04:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:04:04] Production.INFO: Date 2024-12-26
[2025-01-07 04:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:04:04] Production.INFO: Date 2024-12-27
[2025-01-07 04:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:04:04] Production.INFO: Date 2024-12-28
[2025-01-07 04:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:04:04] Production.INFO: Date 2024-12-29
[2025-01-07 04:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:04:04] Production.INFO: Date 2024-12-30
[2025-01-07 04:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:04:04] Production.INFO: Date 2024-12-31
[2025-01-07 04:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:04:04] Production.INFO: Date 2025-01-01
[2025-01-07 04:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:04:04] Production.INFO: Date 2025-01-02
[2025-01-07 04:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:04:04] Production.INFO: Date 2025-01-03
[2025-01-07 04:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:04:04] Production.INFO: Date 2025-01-04
[2025-01-07 04:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:04:04] Production.INFO: Date 2025-01-05
[2025-01-07 04:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:04:04] Production.INFO: Date 2025-01-06
[2025-01-07 04:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:04:04] Production.INFO: Date 2025-01-07
[2025-01-07 04:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:04:04] Production.INFO: Total Charge 0
[2025-01-07 04:04:04] Production.INFO: CreateAllLog End
[2025-01-07 04:04:04] Production.INFO: Account Balance End.
[2025-01-07 04:04:04] Production.ERROR: CronJobId end 12
[2025-01-07 04:04:04] Production.INFO: ==31220== Releasing lock...
[2025-01-07 04:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:04:05
[end_date_ymd] => 2025-01-07 04:04:05
[RateCDR] => 1
)
[2025-01-07 04:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 01:04:05' and `end` < '2025-01-07 04:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 04:04:10] Production.ERROR: CronJobId end10
[2025-01-07 04:04:10] Production.INFO: ==31218== Releasing lock...
[2025-01-07 04:04:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:04:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:04:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:04:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:04:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:04:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:04:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:04:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:04:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:04:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:04:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:04:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:04:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:04:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:04:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:04:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:04:13] Production.INFO: call_cost start
[2025-01-07 04:04:13] Production.INFO: call_cost end
[2025-01-07 04:04:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:04:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:04:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:04:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:04:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:04:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:04:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:04:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:04:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:04:13] Production.INFO: ==31214== Releasing lock...
[2025-01-07 04:04:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:04:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:04:19] Production.INFO: count ==152
[2025-01-07 04:04:19] Production.ERROR: pbx CDR StartTime 2025-01-07 01:04:05 - End Time 2025-01-07 04:04:05
[2025-01-07 04:04:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192329', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192329', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192329', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192329', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:04:19] Production.INFO: ProcessCDR(1,14192329,1,1,2)
[2025-01-07 04:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192329,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192329,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192329,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192329,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192329', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192329', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:04:22] Production.INFO: ==31222== Releasing lock...
[2025-01-07 04:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:04:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-07 09:05:01] Production.INFO: ==31283== Lock acquired, processing the job...
[2025-01-07 09:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:05:01] Production.INFO: neon service started
[2025-01-07 09:05:01] Production.INFO: neon service started
[2025-01-07 09:05:01] Production.INFO: ==31283== Releasing lock...
[2025-01-07 09:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:05:02] Production.INFO: ==31285== Lock acquired, processing the job...
[2025-01-07 04:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:05:02] Production.INFO: ==31285== Releasing lock...
[2025-01-07 04:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:05:02] Production.INFO: ==31287== Lock acquired, processing the job...
[2025-01-07 09:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:05:02] Production.INFO: ==31287== Releasing lock...
[2025-01-07 09:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:05:03] Production.INFO: ==31289== Lock acquired, processing the job...
[2025-01-07 04:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:05:03] Production.INFO: ==31297== Lock acquired, processing the job...
[2025-01-07 04:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:05:03] Production.INFO: ==31299== Lock acquired, processing the job...
[2025-01-07 04:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:05:03] Production.INFO: ==31291== Lock acquired, processing the job...
[2025-01-07 04:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:05:03] Production.INFO: ==31293== Lock acquired, processing the job...
[2025-01-07 04:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:05:03] Production.INFO: ==31295== Lock acquired, processing the job...
[2025-01-07 04:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:05:03] Production.INFO: Account Balance Start.
[2025-01-07 04:05:03] Production.INFO: CreateAllLog Start
[2025-01-07 04:05:03] Production.INFO: count ==21
[2025-01-07 04:05:03] Production.INFO: 117
[2025-01-07 04:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:05:03] Production.INFO: count ==21
[2025-01-07 04:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192331') start
[2025-01-07 04:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:05:03] Production.INFO: Date 2024-12-08
[2025-01-07 04:05:03] Production.ERROR: done
[2025-01-07 04:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:05:03] Production.INFO: Date 2024-12-09
[2025-01-07 04:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:05:03] Production.ERROR: done
[2025-01-07 04:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192331') end
[2025-01-07 04:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:05:03] Production.INFO: 1
[2025-01-07 04:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:05:03] Production.INFO: Date 2024-12-10
[2025-01-07 04:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:05:03] Production.INFO: Date 2024-12-11
[2025-01-07 04:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:05:03] Production.INFO: ==31291== Releasing lock...
[2025-01-07 04:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:05:03] Production.INFO: ==31299== Releasing lock...
[2025-01-07 04:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:05:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:05:04] Production.INFO: Date 2024-12-12
[2025-01-07 04:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:05:04] Production.INFO: Date 2024-12-13
[2025-01-07 04:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:05:04] Production.INFO: Date 2024-12-14
[2025-01-07 04:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:05:04] Production.INFO: Date 2024-12-15
[2025-01-07 04:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:05:04] Production.INFO: Date 2024-12-16
[2025-01-07 04:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:05:04] Production.INFO: Date 2024-12-17
[2025-01-07 04:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:05:04] Production.INFO: Date 2024-12-18
[2025-01-07 04:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:05:04] Production.INFO: Date 2024-12-19
[2025-01-07 04:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:05:04] Production.INFO: Date 2024-12-20
[2025-01-07 04:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:05:04] Production.INFO: Date 2024-12-21
[2025-01-07 04:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:05:04] Production.INFO: Date 2024-12-22
[2025-01-07 04:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:05:04] Production.INFO: Date 2024-12-23
[2025-01-07 04:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:05:04] Production.INFO: Date 2024-12-24
[2025-01-07 04:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:05:04] Production.INFO: Date 2024-12-25
[2025-01-07 04:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:05:04] Production.INFO: Date 2024-12-26
[2025-01-07 04:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:05:04] Production.INFO: Date 2024-12-27
[2025-01-07 04:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:05:04] Production.INFO: Date 2024-12-28
[2025-01-07 04:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:05:04] Production.INFO: Date 2024-12-29
[2025-01-07 04:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:05:04] Production.INFO: Date 2024-12-30
[2025-01-07 04:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:05:04] Production.INFO: Date 2024-12-31
[2025-01-07 04:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:05:04] Production.INFO: Date 2025-01-01
[2025-01-07 04:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:05:04] Production.INFO: Date 2025-01-02
[2025-01-07 04:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:05:04] Production.INFO: Date 2025-01-03
[2025-01-07 04:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:05:04] Production.INFO: Date 2025-01-04
[2025-01-07 04:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:05:04] Production.INFO: Date 2025-01-05
[2025-01-07 04:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:05:04] Production.INFO: Date 2025-01-06
[2025-01-07 04:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:05:04] Production.INFO: Date 2025-01-07
[2025-01-07 04:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:05:04] Production.INFO: Total Charge 0
[2025-01-07 04:05:04] Production.INFO: CreateAllLog End
[2025-01-07 04:05:05] Production.INFO: Account Balance End.
[2025-01-07 04:05:05] Production.ERROR: CronJobId end 12
[2025-01-07 04:05:05] Production.INFO: ==31295== Releasing lock...
[2025-01-07 04:05:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:05:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:05:05
[end_date_ymd] => 2025-01-07 04:05:05
[RateCDR] => 1
)
[2025-01-07 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-07 01:05:05' and `end` < '2025-01-07 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-07 04:05:11] Production.ERROR: CronJobId end10
[2025-01-07 04:05:11] Production.INFO: ==31293== Releasing lock...
[2025-01-07 04:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:05:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:05:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:05:13] Production.INFO: call_cost start
[2025-01-07 04:05:13] Production.INFO: call_cost end
[2025-01-07 04:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:05:14] Production.INFO: ==31289== Releasing lock...
[2025-01-07 04:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:05:18] Production.INFO: count ==151
[2025-01-07 04:05:18] Production.ERROR: pbx CDR StartTime 2025-01-07 01:05:05 - End Time 2025-01-07 04:05:05
[2025-01-07 04:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192334', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192334', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192334', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192334', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:05:18] Production.INFO: ProcessCDR(1,14192334,1,1,2)
[2025-01-07 04:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192334,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192334,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192334,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192334,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192334', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192334', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:05:21] Production.INFO: ==31297== Releasing lock...
[2025-01-07 04:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:05:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-07 09:06:02] Production.INFO: ==31352== Lock acquired, processing the job...
[2025-01-07 09:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:06:02] Production.INFO: neon service started
[2025-01-07 09:06:02] Production.INFO: neon service started
[2025-01-07 09:06:02] Production.INFO: ==31352== Releasing lock...
[2025-01-07 09:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:06:02] Production.INFO: ==31354== Lock acquired, processing the job...
[2025-01-07 04:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:06:02] Production.INFO: ==31354== Releasing lock...
[2025-01-07 04:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:06:03] Production.INFO: ==31357== Lock acquired, processing the job...
[2025-01-07 09:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:06:03] Production.INFO: ==31357== Releasing lock...
[2025-01-07 09:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:06:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:06:03] Production.INFO: ==31363== Lock acquired, processing the job...
[2025-01-07 04:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:06:03] Production.INFO: ==31359== Lock acquired, processing the job...
[2025-01-07 04:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:06:03] Production.INFO: ==31367== Lock acquired, processing the job...
[2025-01-07 04:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:06:03] Production.ERROR: done
[2025-01-07 04:06:03] Production.INFO: ==31365== Lock acquired, processing the job...
[2025-01-07 04:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:06:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:06:03] Production.INFO: ==31361== Lock acquired, processing the job...
[2025-01-07 04:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:06:04] Production.INFO: Account Balance Start.
[2025-01-07 04:06:04] Production.INFO: CreateAllLog Start
[2025-01-07 04:06:04] Production.INFO: 117
[2025-01-07 04:06:04] Production.INFO: Date 2024-12-08
[2025-01-07 04:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:06:04] Production.ERROR: done
[2025-01-07 04:06:04] Production.INFO: ==31369== Lock acquired, processing the job...
[2025-01-07 04:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:06:04] Production.INFO: Date 2024-12-09
[2025-01-07 04:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:06:04] Production.INFO: Date 2024-12-10
[2025-01-07 04:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:06:04] Production.INFO: Date 2024-12-11
[2025-01-07 04:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:06:04] Production.INFO: count ==21
[2025-01-07 04:06:04] Production.INFO: Date 2024-12-12
[2025-01-07 04:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:06:04] Production.INFO: count ==21
[2025-01-07 04:06:04] Production.INFO: Date 2024-12-13
[2025-01-07 04:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192339') start
[2025-01-07 04:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:06:04] Production.INFO: ==31361== Releasing lock...
[2025-01-07 04:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:06:04] Production.INFO: Date 2024-12-14
[2025-01-07 04:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192339') end
[2025-01-07 04:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:06:04] Production.INFO: 1
[2025-01-07 04:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:06:04] Production.INFO: Date 2024-12-15
[2025-01-07 04:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:06:04] Production.INFO: Date 2024-12-16
[2025-01-07 04:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:06:04] Production.INFO: ==31369== Releasing lock...
[2025-01-07 04:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:06:04] Production.INFO: Date 2024-12-17
[2025-01-07 04:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:06:04] Production.INFO: Date 2024-12-18
[2025-01-07 04:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:06:04] Production.INFO: Date 2024-12-19
[2025-01-07 04:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:06:04] Production.INFO: Date 2024-12-20
[2025-01-07 04:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:06:04] Production.INFO: Date 2024-12-21
[2025-01-07 04:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:06:04] Production.INFO: Date 2024-12-22
[2025-01-07 04:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:06:04] Production.INFO: Date 2024-12-23
[2025-01-07 04:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:06:04] Production.INFO: Date 2024-12-24
[2025-01-07 04:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:06:04] Production.INFO: Date 2024-12-25
[2025-01-07 04:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:06:04] Production.INFO: Date 2024-12-26
[2025-01-07 04:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:06:04] Production.INFO: Date 2024-12-27
[2025-01-07 04:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:06:04] Production.INFO: Date 2024-12-28
[2025-01-07 04:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:06:04] Production.INFO: Date 2024-12-29
[2025-01-07 04:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:06:04] Production.INFO: Date 2024-12-30
[2025-01-07 04:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:06:04] Production.INFO: Date 2024-12-31
[2025-01-07 04:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:06:05] Production.INFO: Date 2025-01-01
[2025-01-07 04:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:06:05] Production.INFO: Date 2025-01-02
[2025-01-07 04:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:06:05] Production.INFO: Date 2025-01-03
[2025-01-07 04:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:06:05] Production.INFO: Date 2025-01-04
[2025-01-07 04:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:06:05] Production.INFO: Date 2025-01-05
[2025-01-07 04:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:06:05] Production.INFO: Date 2025-01-06
[2025-01-07 04:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:06:05] Production.INFO: Date 2025-01-07
[2025-01-07 04:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:06:05] Production.INFO: Total Charge 0
[2025-01-07 04:06:05] Production.INFO: CreateAllLog End
[2025-01-07 04:06:05] Production.INFO: Account Balance End.
[2025-01-07 04:06:05] Production.ERROR: CronJobId end 12
[2025-01-07 04:06:05] Production.INFO: ==31365== Releasing lock...
[2025-01-07 04:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:06:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:06:05
[end_date_ymd] => 2025-01-07 04:06:05
[RateCDR] => 1
)
[2025-01-07 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-07 01:06:05' and `end` < '2025-01-07 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-07 04:06:11] Production.ERROR: CronJobId end10
[2025-01-07 04:06:11] Production.INFO: ==31363== Releasing lock...
[2025-01-07 04:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:06:13] Production.INFO: call_cost start
[2025-01-07 04:06:13] Production.INFO: call_cost end
[2025-01-07 04:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:06:14] Production.INFO: ==31359== Releasing lock...
[2025-01-07 04:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:06:19] Production.INFO: count ==151
[2025-01-07 04:06:19] Production.ERROR: pbx CDR StartTime 2025-01-07 01:06:05 - End Time 2025-01-07 04:06:05
[2025-01-07 04:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192338', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192338', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192338', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192338', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:06:19] Production.INFO: ProcessCDR(1,14192338,1,1,2)
[2025-01-07 04:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192338,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192338,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192338,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192338,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192338', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192338', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:06:22] Production.INFO: ==31367== Releasing lock...
[2025-01-07 04:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:06:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-07 09:07:01] Production.INFO: ==31429== Lock acquired, processing the job...
[2025-01-07 09:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:07:01] Production.INFO: neon service started
[2025-01-07 09:07:01] Production.INFO: neon service started
[2025-01-07 09:07:01] Production.INFO: ==31429== Releasing lock...
[2025-01-07 09:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:07:02] Production.INFO: ==31433== Lock acquired, processing the job...
[2025-01-07 09:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:07:02] Production.INFO: ==31433== Releasing lock...
[2025-01-07 09:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:07:02] Production.INFO: ==31431== Lock acquired, processing the job...
[2025-01-07 04:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:07:02] Production.INFO: ==31431== Releasing lock...
[2025-01-07 04:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:07:03] Production.INFO: ==31444== Lock acquired, processing the job...
[2025-01-07 04:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:07:03] Production.INFO: ==31436== Lock acquired, processing the job...
[2025-01-07 04:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:07:03] Production.INFO: ==31446== Lock acquired, processing the job...
[2025-01-07 04:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:07:03] Production.INFO: ==31438== Lock acquired, processing the job...
[2025-01-07 04:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:07:03] Production.INFO: ==31440== Lock acquired, processing the job...
[2025-01-07 04:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:07:03] Production.INFO: ==31442== Lock acquired, processing the job...
[2025-01-07 04:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:07:04] Production.ERROR: done
[2025-01-07 04:07:04] Production.INFO: Account Balance Start.
[2025-01-07 04:07:04] Production.INFO: CreateAllLog Start
[2025-01-07 04:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:07:04] Production.INFO: count ==21
[2025-01-07 04:07:04] Production.INFO: 117
[2025-01-07 04:07:04] Production.INFO: Date 2024-12-08
[2025-01-07 04:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 04:07:04] Production.INFO: count ==21
[2025-01-07 04:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192341') start
[2025-01-07 04:07:04] Production.INFO: Date 2024-12-09
[2025-01-07 04:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:07:04] Production.ERROR: done
[2025-01-07 04:07:04] Production.INFO: Date 2024-12-10
[2025-01-07 04:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:07:04] Production.INFO: Date 2024-12-11
[2025-01-07 04:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192341') end
[2025-01-07 04:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:07:04] Production.INFO: 1
[2025-01-07 04:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:07:04] Production.INFO: ==31438== Releasing lock...
[2025-01-07 04:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:07:04] Production.INFO: Date 2024-12-12
[2025-01-07 04:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:07:04] Production.INFO: ==31446== Releasing lock...
[2025-01-07 04:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:07:04] Production.INFO: Date 2024-12-13
[2025-01-07 04:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:07:04] Production.INFO: Date 2024-12-14
[2025-01-07 04:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:07:04] Production.INFO: Date 2024-12-15
[2025-01-07 04:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:07:04] Production.INFO: Date 2024-12-16
[2025-01-07 04:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:07:04] Production.INFO: Date 2024-12-17
[2025-01-07 04:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:07:04] Production.INFO: Date 2024-12-18
[2025-01-07 04:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:07:04] Production.INFO: Date 2024-12-19
[2025-01-07 04:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:07:04] Production.INFO: Date 2024-12-20
[2025-01-07 04:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:07:04] Production.INFO: Date 2024-12-21
[2025-01-07 04:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:07:04] Production.INFO: Date 2024-12-22
[2025-01-07 04:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:07:04] Production.INFO: Date 2024-12-23
[2025-01-07 04:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:07:04] Production.INFO: Date 2024-12-24
[2025-01-07 04:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:07:04] Production.INFO: Date 2024-12-25
[2025-01-07 04:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:07:04] Production.INFO: Date 2024-12-26
[2025-01-07 04:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:07:04] Production.INFO: Date 2024-12-27
[2025-01-07 04:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:07:04] Production.INFO: Date 2024-12-28
[2025-01-07 04:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:07:04] Production.INFO: Date 2024-12-29
[2025-01-07 04:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:07:04] Production.INFO: Date 2024-12-30
[2025-01-07 04:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:07:04] Production.INFO: Date 2024-12-31
[2025-01-07 04:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:07:04] Production.INFO: Date 2025-01-01
[2025-01-07 04:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:07:05] Production.INFO: Date 2025-01-02
[2025-01-07 04:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:07:05] Production.INFO: Date 2025-01-03
[2025-01-07 04:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:07:05] Production.INFO: Date 2025-01-04
[2025-01-07 04:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:07:05] Production.INFO: Date 2025-01-05
[2025-01-07 04:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:07:05] Production.INFO: Date 2025-01-06
[2025-01-07 04:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:07:05
[end_date_ymd] => 2025-01-07 04:07:05
[RateCDR] => 1
)
[2025-01-07 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-07 01:07:05' and `end` < '2025-01-07 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-07 04:07:05] Production.INFO: Date 2025-01-07
[2025-01-07 04:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:07:05] Production.INFO: Total Charge 0
[2025-01-07 04:07:05] Production.INFO: CreateAllLog End
[2025-01-07 04:07:05] Production.INFO: Account Balance End.
[2025-01-07 04:07:05] Production.ERROR: CronJobId end 12
[2025-01-07 04:07:05] Production.INFO: ==31442== Releasing lock...
[2025-01-07 04:07:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:07:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:07:11] Production.ERROR: CronJobId end10
[2025-01-07 04:07:11] Production.INFO: ==31440== Releasing lock...
[2025-01-07 04:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:07:13] Production.INFO: call_cost start
[2025-01-07 04:07:13] Production.INFO: call_cost end
[2025-01-07 04:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:07:14] Production.INFO: ==31436== Releasing lock...
[2025-01-07 04:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:07:18] Production.INFO: count ==150
[2025-01-07 04:07:18] Production.ERROR: pbx CDR StartTime 2025-01-07 01:07:05 - End Time 2025-01-07 04:07:05
[2025-01-07 04:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192344', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192344', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192344', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192344', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:07:18] Production.INFO: ProcessCDR(1,14192344,1,1,2)
[2025-01-07 04:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192344,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192344,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192344,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192344,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192344', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192344', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:07:21] Production.INFO: ==31444== Releasing lock...
[2025-01-07 04:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:07:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-07 09:08:02] Production.INFO: ==31502== Lock acquired, processing the job...
[2025-01-07 09:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:08:02] Production.INFO: neon service started
[2025-01-07 09:08:02] Production.INFO: neon service started
[2025-01-07 09:08:02] Production.INFO: ==31502== Releasing lock...
[2025-01-07 09:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:08:02] Production.INFO: ==31504== Lock acquired, processing the job...
[2025-01-07 04:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:08:02] Production.INFO: ==31506== Lock acquired, processing the job...
[2025-01-07 09:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:08:02] Production.INFO: ==31506== Releasing lock...
[2025-01-07 09:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:08:03] Production.INFO: ==31504== Releasing lock...
[2025-01-07 04:08:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:08:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:08:03] Production.INFO: ==31509== Lock acquired, processing the job...
[2025-01-07 04:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:08:03] Production.INFO: ==31511== Lock acquired, processing the job...
[2025-01-07 04:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:08:03] Production.INFO: ==31515== Lock acquired, processing the job...
[2025-01-07 04:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:08:04] Production.INFO: ==31513== Lock acquired, processing the job...
[2025-01-07 04:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:08:04] Production.INFO: ==31511== Releasing lock...
[2025-01-07 04:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:08:04] Production.INFO: Account Balance Start.
[2025-01-07 04:08:04] Production.INFO: CreateAllLog Start
[2025-01-07 04:08:04] Production.INFO: 117
[2025-01-07 04:08:04] Production.INFO: Date 2024-12-08
[2025-01-07 04:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:08:04] Production.INFO: ==31517== Lock acquired, processing the job...
[2025-01-07 04:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:08:04] Production.INFO: Date 2024-12-09
[2025-01-07 04:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:08:04] Production.INFO: ==31519== Lock acquired, processing the job...
[2025-01-07 04:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:08:04] Production.INFO: Date 2024-12-10
[2025-01-07 04:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:08:04] Production.INFO: Date 2024-12-11
[2025-01-07 04:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 04:08:04] Production.INFO: Date 2024-12-12
[2025-01-07 04:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:08:04] Production.INFO: count ==21
[2025-01-07 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-07 04:08:04] Production.INFO: count ==21
[2025-01-07 04:08:04] Production.INFO: Date 2024-12-13
[2025-01-07 04:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192348') start
[2025-01-07 04:08:04] Production.ERROR: done
[2025-01-07 04:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:08:04] Production.INFO: Date 2024-12-14
[2025-01-07 04:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:08:04] Production.INFO: Date 2024-12-15
[2025-01-07 04:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:08:04] Production.INFO: Date 2024-12-16
[2025-01-07 04:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192348') end
[2025-01-07 04:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:08:04] Production.INFO: 1
[2025-01-07 04:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:08:04] Production.INFO: Date 2024-12-17
[2025-01-07 04:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:08:04] Production.INFO: Date 2024-12-18
[2025-01-07 04:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:08:04] Production.INFO: Date 2024-12-19
[2025-01-07 04:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:08:04] Production.INFO: ==31519== Releasing lock...
[2025-01-07 04:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:08:04] Production.INFO: Date 2024-12-20
[2025-01-07 04:08:04] Production.ERROR: done
[2025-01-07 04:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:08:04] Production.INFO: Date 2024-12-21
[2025-01-07 04:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:08:04] Production.INFO: Date 2024-12-22
[2025-01-07 04:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:08:04] Production.INFO: Date 2024-12-23
[2025-01-07 04:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:08:04] Production.INFO: Date 2024-12-24
[2025-01-07 04:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:08:04] Production.INFO: Date 2024-12-25
[2025-01-07 04:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:08:04] Production.INFO: Date 2024-12-26
[2025-01-07 04:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:08:05] Production.INFO: Date 2024-12-27
[2025-01-07 04:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:08:05] Production.INFO: Date 2024-12-28
[2025-01-07 04:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:08:05] Production.INFO: Date 2024-12-29
[2025-01-07 04:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:08:05] Production.INFO: Date 2024-12-30
[2025-01-07 04:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:08:05] Production.INFO: Date 2024-12-31
[2025-01-07 04:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:08:05] Production.INFO: Date 2025-01-01
[2025-01-07 04:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:08:05] Production.INFO: Date 2025-01-02
[2025-01-07 04:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:08:05] Production.INFO: Date 2025-01-03
[2025-01-07 04:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:08:05] Production.INFO: Date 2025-01-04
[2025-01-07 04:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:08:05] Production.INFO: Date 2025-01-05
[2025-01-07 04:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:08:05] Production.INFO: Date 2025-01-06
[2025-01-07 04:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:08:05] Production.INFO: Date 2025-01-07
[2025-01-07 04:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:08:05] Production.INFO: Total Charge 0
[2025-01-07 04:08:05] Production.INFO: CreateAllLog End
[2025-01-07 04:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:08:05
[end_date_ymd] => 2025-01-07 04:08:05
[RateCDR] => 1
)
[2025-01-07 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-07 01:08:05' and `end` < '2025-01-07 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-07 04:08:05] Production.INFO: Account Balance End.
[2025-01-07 04:08:05] Production.ERROR: CronJobId end 12
[2025-01-07 04:08:05] Production.INFO: ==31515== Releasing lock...
[2025-01-07 04:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:08:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:08:12] Production.ERROR: CronJobId end10
[2025-01-07 04:08:12] Production.INFO: ==31513== Releasing lock...
[2025-01-07 04:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:08:14] Production.INFO: call_cost start
[2025-01-07 04:08:14] Production.INFO: call_cost end
[2025-01-07 04:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:08:14] Production.INFO: ==31509== Releasing lock...
[2025-01-07 04:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:08:19] Production.INFO: count ==150
[2025-01-07 04:08:19] Production.ERROR: pbx CDR StartTime 2025-01-07 01:08:05 - End Time 2025-01-07 04:08:05
[2025-01-07 04:08:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192349', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192349', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192349', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192349', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:08:19] Production.INFO: ProcessCDR(1,14192349,1,1,2)
[2025-01-07 04:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192349,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192349,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192349,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192349,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192349', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192349', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:08:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:08:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:08:22] Production.INFO: ==31517== Releasing lock...
[2025-01-07 04:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:08:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-07 09:09:01] Production.INFO: ==31575== Lock acquired, processing the job...
[2025-01-07 09:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:09:01] Production.INFO: neon service started
[2025-01-07 09:09:01] Production.INFO: neon service started
[2025-01-07 09:09:01] Production.INFO: ==31575== Releasing lock...
[2025-01-07 09:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:09:01] Production.INFO: ==31577== Lock acquired, processing the job...
[2025-01-07 04:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:09:02] Production.INFO: ==31577== Releasing lock...
[2025-01-07 04:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:09:02] Production.INFO: ==31579== Lock acquired, processing the job...
[2025-01-07 09:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:09:02] Production.INFO: ==31579== Releasing lock...
[2025-01-07 09:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:09:03] Production.INFO: ==31585== Lock acquired, processing the job...
[2025-01-07 04:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:09:03] Production.INFO: ==31581== Lock acquired, processing the job...
[2025-01-07 04:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:09:03] Production.INFO: ==31591== Lock acquired, processing the job...
[2025-01-07 04:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:09:03] Production.INFO: ==31583== Lock acquired, processing the job...
[2025-01-07 04:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 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-07 04:09:03] Production.INFO: ==31587== Lock acquired, processing the job...
[2025-01-07 04:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:09:03] Production.INFO: count ==21
[2025-01-07 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-07 04:09:03] Production.INFO: count ==21
[2025-01-07 04:09:03] Production.INFO: ==31589== Lock acquired, processing the job...
[2025-01-07 04:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192351') start
[2025-01-07 04:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192351') end
[2025-01-07 04:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:09:03] Production.INFO: 1
[2025-01-07 04:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:09:03] Production.INFO: Account Balance Start.
[2025-01-07 04:09:03] Production.INFO: CreateAllLog Start
[2025-01-07 04:09:03] Production.INFO: 117
[2025-01-07 04:09:03] Production.INFO: Date 2024-12-08
[2025-01-07 04:09:03] Production.INFO: ==31591== Releasing lock...
[2025-01-07 04:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:09:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:09:03] Production.INFO: ==31583== Releasing lock...
[2025-01-07 04:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:09:03] Production.INFO: Date 2024-12-09
[2025-01-07 04:09:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:09:03] Production.INFO: Date 2024-12-10
[2025-01-07 04:09:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:09:03] Production.ERROR: done
[2025-01-07 04:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:09:03] Production.INFO: Date 2024-12-11
[2025-01-07 04:09:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:09:03] Production.INFO: Date 2024-12-12
[2025-01-07 04:09:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:09:03] Production.ERROR: done
[2025-01-07 04:09:03] Production.INFO: Date 2024-12-13
[2025-01-07 04:09:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:09:03] Production.INFO: Date 2024-12-14
[2025-01-07 04:09:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:09:04] Production.INFO: Date 2024-12-15
[2025-01-07 04:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:09:04] Production.INFO: Date 2024-12-16
[2025-01-07 04:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:09:04] Production.INFO: Date 2024-12-17
[2025-01-07 04:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:09:04] Production.INFO: Date 2024-12-18
[2025-01-07 04:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:09:04] Production.INFO: Date 2024-12-19
[2025-01-07 04:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:09:04] Production.INFO: Date 2024-12-20
[2025-01-07 04:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:09:04] Production.INFO: Date 2024-12-21
[2025-01-07 04:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:09:04] Production.INFO: Date 2024-12-22
[2025-01-07 04:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:09:04] Production.INFO: Date 2024-12-23
[2025-01-07 04:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:09:04] Production.INFO: Date 2024-12-24
[2025-01-07 04:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:09:04] Production.INFO: Date 2024-12-25
[2025-01-07 04:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:09:04] Production.INFO: Date 2024-12-26
[2025-01-07 04:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:09:04] Production.INFO: Date 2024-12-27
[2025-01-07 04:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:09:04] Production.INFO: Date 2024-12-28
[2025-01-07 04:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:09:04] Production.INFO: Date 2024-12-29
[2025-01-07 04:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:09:04] Production.INFO: Date 2024-12-30
[2025-01-07 04:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:09:04] Production.INFO: Date 2024-12-31
[2025-01-07 04:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:09:04] Production.INFO: Date 2025-01-01
[2025-01-07 04:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:09:04] Production.INFO: Date 2025-01-02
[2025-01-07 04:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:09:04] Production.INFO: Date 2025-01-03
[2025-01-07 04:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:09:04] Production.INFO: Date 2025-01-04
[2025-01-07 04:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:09:04] Production.INFO: Date 2025-01-05
[2025-01-07 04:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:09:04] Production.INFO: Date 2025-01-06
[2025-01-07 04:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:09:04] Production.INFO: Date 2025-01-07
[2025-01-07 04:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:09:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:09:04
[end_date_ymd] => 2025-01-07 04:09:04
[RateCDR] => 1
)
[2025-01-07 04:09:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 01:09:04' and `end` < '2025-01-07 04:09:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 04:09:04] Production.INFO: Total Charge 0
[2025-01-07 04:09:04] Production.INFO: CreateAllLog End
[2025-01-07 04:09:05] Production.INFO: Account Balance End.
[2025-01-07 04:09:05] Production.ERROR: CronJobId end 12
[2025-01-07 04:09:05] Production.INFO: ==31587== Releasing lock...
[2025-01-07 04:09:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:09:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:09:10] Production.ERROR: CronJobId end10
[2025-01-07 04:09:10] Production.INFO: ==31585== Releasing lock...
[2025-01-07 04:09:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:09:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:09:12] Production.INFO: call_cost start
[2025-01-07 04:09:12] Production.INFO: call_cost end
[2025-01-07 04:09:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:09:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:09:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:09:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:09:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:09:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:09:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:09:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:09:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:09:13] Production.INFO: ==31581== Releasing lock...
[2025-01-07 04:09:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:09:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:09:17] Production.INFO: count ==150
[2025-01-07 04:09:17] Production.ERROR: pbx CDR StartTime 2025-01-07 01:09:04 - End Time 2025-01-07 04:09:04
[2025-01-07 04:09:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192354', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192354', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192354', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192354', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:09:17] Production.INFO: ProcessCDR(1,14192354,1,1,2)
[2025-01-07 04:09:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192354,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:09:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192354,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:09:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192354,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:09:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192354,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:09:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192354', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:09:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192354', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:09:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:09:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:09:20] Production.INFO: ==31589== Releasing lock...
[2025-01-07 04:09:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:09:20] Production.INFO: 28.5 MB #Memory Used#
[2025-01-07 09:10:02] Production.INFO: ==31646== Lock acquired, processing the job...
[2025-01-07 09:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:10:02] Production.INFO: neon service started
[2025-01-07 09:10:02] Production.INFO: neon service started
[2025-01-07 09:10:02] Production.INFO: ==31646== Releasing lock...
[2025-01-07 09:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:10:02] Production.INFO: ==31648== Lock acquired, processing the job...
[2025-01-07 04:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:10:02] Production.INFO: ==31650== Lock acquired, processing the job...
[2025-01-07 09:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:10:02] Production.INFO: ==31650== Releasing lock...
[2025-01-07 09:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:10:03] Production.INFO: ==31648== Releasing lock...
[2025-01-07 04:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:10:04] Production.INFO: ==31657== Lock acquired, processing the job...
[2025-01-07 04:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:10:04] Production.INFO: ==31653== Lock acquired, processing the job...
[2025-01-07 04:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 04:10:04] Production.INFO: ==31661== Lock acquired, processing the job...
[2025-01-07 04:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:10:04] Production.INFO: ==31655== Lock acquired, processing the job...
[2025-01-07 04:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 04:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 04:10:04] Production.ERROR: CronJob PID - 31657
[2025-01-07 04:10:04] Production.ERROR: CronJob Title - Account Block
[2025-01-07 04:10:04] Production.ERROR: CronJob ID - 7
[2025-01-07 04:10:04] Production.ERROR: CronJob Last Run Time 2025-01-07 04:10:00
[2025-01-07 04:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 04:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 04:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 04:10:04] Production.ERROR: CronJob PID - 31661
[2025-01-07 04:10:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-07 04:10:04] Production.ERROR: CronJob ID - 12
[2025-01-07 04:10:04] Production.ERROR: CronJob Last Run Time 2025-01-07 04:10:00
[2025-01-07 04:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 04:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 04:10:04] Production.INFO: ==31665== Lock acquired, processing the job...
[2025-01-07 04:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 04:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 04:10:04] Production.INFO: ==31653== Releasing lock...
[2025-01-07 04:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 04:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 04:10:04] Production.INFO: ==31667== Lock acquired, processing the job...
[2025-01-07 04:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:10:04] Production.INFO: Account Balance Start.
[2025-01-07 04:10:04] Production.INFO: CreateAllLog Start
[2025-01-07 04:10:04] Production.INFO: 117
[2025-01-07 04:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:10:04] Production.INFO: Date 2024-12-08
[2025-01-07 04:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:10:04] Production.INFO: ==31659== Lock acquired, processing the job...
[2025-01-07 04:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:10:04] Production.INFO: Date 2024-12-09
[2025-01-07 04:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:10:04] Production.INFO: ==31663== Lock acquired, processing the job...
[2025-01-07 04:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:10:04] Production.INFO: ==31657== Releasing lock...
[2025-01-07 04:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:10:04] Production.INFO: Date 2024-12-10
[2025-01-07 04:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 04:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:10:04] Production.INFO: Date 2024-12-11
[2025-01-07 04:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:10:04] Production.INFO: count ==21
[2025-01-07 04:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:10:04] Production.ERROR: done
[2025-01-07 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-07 04:10:04] Production.INFO: count ==21
[2025-01-07 04:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192358') start
[2025-01-07 04:10:04] Production.INFO: Date 2024-12-12
[2025-01-07 04:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 04:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14192359', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 04:10:04] Production.INFO: Date 2024-12-13
[2025-01-07 04:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:10:04] Production.INFO: Date 2024-12-14
[2025-01-07 04:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:10:04] Production.INFO: Date 2024-12-15
[2025-01-07 04:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192358') end
[2025-01-07 04:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:10:04] Production.INFO: 1
[2025-01-07 04:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:10:04] Production.INFO: ==31667== Releasing lock...
[2025-01-07 04:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:10:04] Production.ERROR: done
[2025-01-07 04:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:10:04] Production.INFO: Date 2024-12-16
[2025-01-07 04:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:10:04] Production.INFO: Date 2024-12-17
[2025-01-07 04:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:10:04] Production.INFO: Date 2024-12-18
[2025-01-07 04:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:10:04] Production.INFO: Date 2024-12-19
[2025-01-07 04:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:10:04] Production.INFO: Date 2024-12-20
[2025-01-07 04:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:10:04] Production.ERROR: done
[2025-01-07 04:10:04] Production.INFO: Date 2024-12-21
[2025-01-07 04:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:10:05] Production.INFO: Date 2024-12-22
[2025-01-07 04:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:10:05] Production.INFO: Date 2024-12-23
[2025-01-07 04:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:10:05] Production.INFO: Date 2024-12-24
[2025-01-07 04:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:10:05] Production.INFO: Date 2024-12-25
[2025-01-07 04:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:10:05] Production.INFO: Date 2024-12-26
[2025-01-07 04:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:10:05] Production.INFO: Date 2024-12-27
[2025-01-07 04:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:10:05] Production.INFO: Date 2024-12-28
[2025-01-07 04:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:10:05] Production.INFO: Date 2024-12-29
[2025-01-07 04:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:10:05] Production.INFO: Date 2024-12-30
[2025-01-07 04:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:10:05] Production.INFO: Date 2024-12-31
[2025-01-07 04:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:10:05] Production.INFO: Date 2025-01-01
[2025-01-07 04:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:10:05] Production.INFO: Date 2025-01-02
[2025-01-07 04:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:10:05] Production.INFO: Date 2025-01-03
[2025-01-07 04:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:10:05] Production.INFO: Date 2025-01-04
[2025-01-07 04:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:10:05] Production.INFO: Date 2025-01-05
[2025-01-07 04:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:10:05] Production.INFO: Date 2025-01-06
[2025-01-07 04:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:10:05] Production.INFO: Date 2025-01-07
[2025-01-07 04:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:10:05] Production.INFO: Total Charge 0
[2025-01-07 04:10:05] Production.INFO: CreateAllLog End
[2025-01-07 04:10:05] Production.INFO: Account Balance End.
[2025-01-07 04:10:05] Production.ERROR: CronJobId end 12
[2025-01-07 04:10:05] Production.INFO: ==31661== Releasing lock...
[2025-01-07 04:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:10:06
[end_date_ymd] => 2025-01-07 04:10:06
[RateCDR] => 1
)
[2025-01-07 04:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 01:10:06' and `end` < '2025-01-07 04:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 04:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14192359', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 04:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 04:10:08] Production.INFO: ProcessCDR(1,14192359,1,1,2)
[2025-01-07 04:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14192359,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14192359,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:10:08] Production.INFO: ==31665== Releasing lock...
[2025-01-07 04:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 04:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-07 04:10:12] Production.ERROR: CronJobId end10
[2025-01-07 04:10:12] Production.INFO: ==31659== Releasing lock...
[2025-01-07 04:10:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:10:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:10:15] Production.INFO: call_cost start
[2025-01-07 04:10:15] Production.INFO: call_cost end
[2025-01-07 04:10:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:10:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:10:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:10:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:10:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:10:15] Production.INFO: ==31655== Releasing lock...
[2025-01-07 04:10:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:10:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:10:19] Production.INFO: count ==144
[2025-01-07 04:10:19] Production.ERROR: pbx CDR StartTime 2025-01-07 01:10:06 - End Time 2025-01-07 04:10:06
[2025-01-07 04:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192360', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192360', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192360', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192360', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:10:19] Production.INFO: ProcessCDR(1,14192360,1,1,2)
[2025-01-07 04:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192360,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192360,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192360,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192360,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192360', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192360', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:10:22] Production.INFO: ==31663== Releasing lock...
[2025-01-07 04:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:10:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-07 09:11:01] Production.INFO: ==31719== Lock acquired, processing the job...
[2025-01-07 09:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:11:01] Production.INFO: neon service started
[2025-01-07 09:11:01] Production.INFO: neon service started
[2025-01-07 09:11:01] Production.INFO: ==31719== Releasing lock...
[2025-01-07 09:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:11:02] Production.INFO: ==31721== Lock acquired, processing the job...
[2025-01-07 04:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:11:02] Production.INFO: ==31723== Lock acquired, processing the job...
[2025-01-07 09:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:11:02] Production.INFO: ==31723== Releasing lock...
[2025-01-07 09:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:11:02] Production.INFO: ==31721== Releasing lock...
[2025-01-07 04:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:11:03] Production.INFO: ==31732== Lock acquired, processing the job...
[2025-01-07 04:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:11:03] Production.INFO: Account Balance Start.
[2025-01-07 04:11:03] Production.INFO: CreateAllLog Start
[2025-01-07 04:11:03] Production.INFO: 117
[2025-01-07 04:11:03] Production.INFO: Date 2024-12-08
[2025-01-07 04:11:03] Production.INFO: ==31736== Lock acquired, processing the job...
[2025-01-07 04:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:11:03] Production.INFO: Date 2024-12-09
[2025-01-07 04:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:11:03] Production.INFO: Date 2024-12-10
[2025-01-07 04:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:11:03] Production.INFO: ==31726== Lock acquired, processing the job...
[2025-01-07 04:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:11:03] Production.INFO: Date 2024-12-11
[2025-01-07 04:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:11:03] Production.INFO: Date 2024-12-12
[2025-01-07 04:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:11:03] Production.INFO: count ==21
[2025-01-07 04:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:11:03] Production.INFO: count ==21
[2025-01-07 04:11:03] Production.INFO: Date 2024-12-13
[2025-01-07 04:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:11:03] Production.INFO: ==31728== Lock acquired, processing the job...
[2025-01-07 04:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:11:03] Production.INFO: ==31730== Lock acquired, processing the job...
[2025-01-07 04:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192362') start
[2025-01-07 04:11:03] Production.INFO: Date 2024-12-14
[2025-01-07 04:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:11:03] Production.INFO: ==31734== Lock acquired, processing the job...
[2025-01-07 04:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:11:03] Production.INFO: Date 2024-12-15
[2025-01-07 04:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192362') end
[2025-01-07 04:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:11:03] Production.INFO: 1
[2025-01-07 04:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:11:03] Production.INFO: Date 2024-12-16
[2025-01-07 04:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:11:03] Production.INFO: ==31736== Releasing lock...
[2025-01-07 04:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:11:03] Production.INFO: Date 2024-12-17
[2025-01-07 04:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:11:03] Production.INFO: Date 2024-12-18
[2025-01-07 04:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:11:03] Production.INFO: Date 2024-12-19
[2025-01-07 04:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:11:03] Production.INFO: ==31728== Releasing lock...
[2025-01-07 04:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:11:03] Production.ERROR: done
[2025-01-07 04:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:11:03] Production.INFO: Date 2024-12-20
[2025-01-07 04:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:11:03] Production.INFO: Date 2024-12-21
[2025-01-07 04:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:11:04] Production.INFO: Date 2024-12-22
[2025-01-07 04:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:11:04] Production.INFO: Date 2024-12-23
[2025-01-07 04:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:11:04] Production.ERROR: done
[2025-01-07 04:11:04] Production.INFO: Date 2024-12-24
[2025-01-07 04:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:11:04] Production.INFO: Date 2024-12-25
[2025-01-07 04:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:11:04] Production.INFO: Date 2024-12-26
[2025-01-07 04:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:11:04] Production.INFO: Date 2024-12-27
[2025-01-07 04:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:11:04] Production.INFO: Date 2024-12-28
[2025-01-07 04:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:11:04] Production.INFO: Date 2024-12-29
[2025-01-07 04:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:11:04] Production.INFO: Date 2024-12-30
[2025-01-07 04:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:11:04] Production.INFO: Date 2024-12-31
[2025-01-07 04:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:11:04] Production.INFO: Date 2025-01-01
[2025-01-07 04:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:11:04] Production.INFO: Date 2025-01-02
[2025-01-07 04:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:11:04] Production.INFO: Date 2025-01-03
[2025-01-07 04:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:11:04] Production.INFO: Date 2025-01-04
[2025-01-07 04:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:11:04] Production.INFO: Date 2025-01-05
[2025-01-07 04:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:11:04] Production.INFO: Date 2025-01-06
[2025-01-07 04:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:11:04] Production.INFO: Date 2025-01-07
[2025-01-07 04:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:11:04] Production.INFO: Total Charge 0
[2025-01-07 04:11:04] Production.INFO: CreateAllLog End
[2025-01-07 04:11:04] Production.INFO: Account Balance End.
[2025-01-07 04:11:04] Production.ERROR: CronJobId end 12
[2025-01-07 04:11:04] Production.INFO: ==31732== Releasing lock...
[2025-01-07 04:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:11:05
[end_date_ymd] => 2025-01-07 04:11:05
[RateCDR] => 1
)
[2025-01-07 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-07 01:11:05' and `end` < '2025-01-07 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-07 04:11:11] Production.ERROR: CronJobId end10
[2025-01-07 04:11:11] Production.INFO: ==31730== Releasing lock...
[2025-01-07 04:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:11:13] Production.INFO: call_cost start
[2025-01-07 04:11:13] Production.INFO: call_cost end
[2025-01-07 04:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:11:14] Production.INFO: ==31726== Releasing lock...
[2025-01-07 04:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:11:18] Production.INFO: count ==140
[2025-01-07 04:11:18] Production.ERROR: pbx CDR StartTime 2025-01-07 01:11:05 - End Time 2025-01-07 04:11:05
[2025-01-07 04:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192365', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192365', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192365', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192365', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:11:18] Production.INFO: ProcessCDR(1,14192365,1,1,2)
[2025-01-07 04:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192365,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192365,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192365,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192365,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192365', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192365', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:11:21] Production.INFO: ==31734== Releasing lock...
[2025-01-07 04:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:11:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-07 09:12:01] Production.INFO: ==31791== Lock acquired, processing the job...
[2025-01-07 09:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:12:01] Production.INFO: neon service started
[2025-01-07 09:12:01] Production.INFO: neon service started
[2025-01-07 09:12:01] Production.INFO: ==31791== Releasing lock...
[2025-01-07 09:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:12:02] Production.INFO: ==31793== Lock acquired, processing the job...
[2025-01-07 04:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:12:02] Production.INFO: ==31793== Releasing lock...
[2025-01-07 04:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:12:02] Production.INFO: ==31795== Lock acquired, processing the job...
[2025-01-07 09:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:12:02] Production.INFO: ==31795== Releasing lock...
[2025-01-07 09:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:12:03] Production.INFO: ==31805== Lock acquired, processing the job...
[2025-01-07 04:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:12:03] Production.INFO: ==31807== Lock acquired, processing the job...
[2025-01-07 04:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:12:03] Production.INFO: ==31797== Lock acquired, processing the job...
[2025-01-07 04:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:12:03] Production.INFO: ==31799== Lock acquired, processing the job...
[2025-01-07 04:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 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-07 04:12:03] Production.INFO: ==31801== Lock acquired, processing the job...
[2025-01-07 04:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:12:03] Production.INFO: count ==21
[2025-01-07 04:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:12:03] Production.ERROR: done
[2025-01-07 04:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 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-07 04:12:03] Production.INFO: ==31803== Lock acquired, processing the job...
[2025-01-07 04:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:12:03] Production.INFO: count ==21
[2025-01-07 04:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192366') start
[2025-01-07 04:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:12:03] Production.ERROR: done
[2025-01-07 04:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192366') end
[2025-01-07 04:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:12:03] Production.INFO: 1
[2025-01-07 04:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:12:03] Production.INFO: Account Balance Start.
[2025-01-07 04:12:03] Production.INFO: CreateAllLog Start
[2025-01-07 04:12:03] Production.INFO: ==31807== Releasing lock...
[2025-01-07 04:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:12:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:12:03] Production.INFO: ==31799== Releasing lock...
[2025-01-07 04:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:12:04] Production.INFO: 117
[2025-01-07 04:12:04] Production.INFO: Date 2024-12-08
[2025-01-07 04:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:12:04] Production.INFO: Date 2024-12-09
[2025-01-07 04:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:12:04] Production.INFO: Date 2024-12-10
[2025-01-07 04:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:12:04] Production.INFO: Date 2024-12-11
[2025-01-07 04:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:12:04] Production.INFO: Date 2024-12-12
[2025-01-07 04:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:12:04] Production.INFO: Date 2024-12-13
[2025-01-07 04:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:12:04] Production.INFO: Date 2024-12-14
[2025-01-07 04:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:12:04] Production.INFO: Date 2024-12-15
[2025-01-07 04:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:12:04] Production.INFO: Date 2024-12-16
[2025-01-07 04:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:12:04] Production.INFO: Date 2024-12-17
[2025-01-07 04:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:12:04] Production.INFO: Date 2024-12-18
[2025-01-07 04:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:12:04] Production.INFO: Date 2024-12-19
[2025-01-07 04:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:12:04] Production.INFO: Date 2024-12-20
[2025-01-07 04:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:12:04] Production.INFO: Date 2024-12-21
[2025-01-07 04:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:12:04] Production.INFO: Date 2024-12-22
[2025-01-07 04:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:12:04] Production.INFO: Date 2024-12-23
[2025-01-07 04:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:12:04] Production.INFO: Date 2024-12-24
[2025-01-07 04:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:12:04] Production.INFO: Date 2024-12-25
[2025-01-07 04:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:12:04] Production.INFO: Date 2024-12-26
[2025-01-07 04:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:12:04] Production.INFO: Date 2024-12-27
[2025-01-07 04:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:12:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:12:04
[end_date_ymd] => 2025-01-07 04:12:04
[RateCDR] => 1
)
[2025-01-07 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-07 01:12:04' and `end` < '2025-01-07 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-07 04:12:05] Production.INFO: Date 2024-12-28
[2025-01-07 04:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:12:05] Production.INFO: Date 2024-12-29
[2025-01-07 04:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:12:05] Production.INFO: Date 2024-12-30
[2025-01-07 04:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:12:05] Production.INFO: Date 2024-12-31
[2025-01-07 04:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:12:05] Production.INFO: Date 2025-01-01
[2025-01-07 04:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:12:05] Production.INFO: Date 2025-01-02
[2025-01-07 04:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:12:05] Production.INFO: Date 2025-01-03
[2025-01-07 04:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:12:05] Production.INFO: Date 2025-01-04
[2025-01-07 04:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:12:05] Production.INFO: Date 2025-01-05
[2025-01-07 04:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:12:05] Production.INFO: Date 2025-01-06
[2025-01-07 04:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:12:05] Production.INFO: Date 2025-01-07
[2025-01-07 04:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:12:05] Production.INFO: Total Charge 0
[2025-01-07 04:12:05] Production.INFO: CreateAllLog End
[2025-01-07 04:12:05] Production.INFO: Account Balance End.
[2025-01-07 04:12:05] Production.ERROR: CronJobId end 12
[2025-01-07 04:12:05] Production.INFO: ==31803== Releasing lock...
[2025-01-07 04:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:12:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:12:11] Production.ERROR: CronJobId end10
[2025-01-07 04:12:11] Production.INFO: ==31801== Releasing lock...
[2025-01-07 04:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:12:13] Production.INFO: call_cost start
[2025-01-07 04:12:13] Production.INFO: call_cost end
[2025-01-07 04:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:12:14] Production.INFO: ==31797== Releasing lock...
[2025-01-07 04:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:12:18] Production.INFO: count ==140
[2025-01-07 04:12:18] Production.ERROR: pbx CDR StartTime 2025-01-07 01:12:04 - End Time 2025-01-07 04:12:04
[2025-01-07 04:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192370', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192370', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192370', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192370', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:12:18] Production.INFO: ProcessCDR(1,14192370,1,1,2)
[2025-01-07 04:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192370,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192370,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192370,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192370,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192370', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192370', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:12:21] Production.INFO: ==31805== Releasing lock...
[2025-01-07 04:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:12:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-07 09:13:02] Production.INFO: ==31861== Lock acquired, processing the job...
[2025-01-07 09:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:13:02] Production.INFO: neon service started
[2025-01-07 09:13:02] Production.INFO: neon service started
[2025-01-07 09:13:02] Production.INFO: ==31861== Releasing lock...
[2025-01-07 09:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:13:02] Production.INFO: ==31865== Lock acquired, processing the job...
[2025-01-07 09:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:13:02] Production.INFO: ==31865== Releasing lock...
[2025-01-07 09:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:13:02] Production.INFO: ==31863== Lock acquired, processing the job...
[2025-01-07 04:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:13:03] Production.INFO: ==31863== Releasing lock...
[2025-01-07 04:13:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:13:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:13:03] Production.INFO: ==31874== Lock acquired, processing the job...
[2025-01-07 04:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:13:03] Production.INFO: Account Balance Start.
[2025-01-07 04:13:03] Production.INFO: CreateAllLog Start
[2025-01-07 04:13:03] Production.INFO: 117
[2025-01-07 04:13:03] Production.INFO: Date 2024-12-08
[2025-01-07 04:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:13:03] Production.INFO: Date 2024-12-09
[2025-01-07 04:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:13:03] Production.INFO: ==31878== Lock acquired, processing the job...
[2025-01-07 04:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:13:03] Production.INFO: Date 2024-12-10
[2025-01-07 04:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:13:03] Production.INFO: Date 2024-12-11
[2025-01-07 04:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:13:03] Production.INFO: ==31868== Lock acquired, processing the job...
[2025-01-07 04:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:13:03] Production.INFO: Date 2024-12-12
[2025-01-07 04:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:13:04] Production.INFO: ==31870== Lock acquired, processing the job...
[2025-01-07 04:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:13:04] Production.INFO: ==31872== Lock acquired, processing the job...
[2025-01-07 04:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:13:04] Production.INFO: Date 2024-12-13
[2025-01-07 04:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:13:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:13:04] Production.INFO: count ==21
[2025-01-07 04:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:13:04] Production.INFO: count ==21
[2025-01-07 04:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192372') start
[2025-01-07 04:13:04] Production.INFO: ==31876== Lock acquired, processing the job...
[2025-01-07 04:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:13:04] Production.INFO: Date 2024-12-14
[2025-01-07 04:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:13:04] Production.INFO: Date 2024-12-15
[2025-01-07 04:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:13:04] Production.INFO: Date 2024-12-16
[2025-01-07 04:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192372') end
[2025-01-07 04:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:13:04] Production.INFO: 1
[2025-01-07 04:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:13:04] Production.INFO: Date 2024-12-17
[2025-01-07 04:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:13:04] Production.INFO: ==31878== Releasing lock...
[2025-01-07 04:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:13:04] Production.INFO: Date 2024-12-18
[2025-01-07 04:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:13:04] Production.INFO: ==31870== Releasing lock...
[2025-01-07 04:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:13:04] Production.INFO: Date 2024-12-19
[2025-01-07 04:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:13:04] Production.INFO: Date 2024-12-20
[2025-01-07 04:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:13:04] Production.ERROR: done
[2025-01-07 04:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:13:04] Production.INFO: Date 2024-12-21
[2025-01-07 04:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:13:04] Production.INFO: Date 2024-12-22
[2025-01-07 04:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:13:04] Production.ERROR: done
[2025-01-07 04:13:04] Production.INFO: Date 2024-12-23
[2025-01-07 04:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:13:04] Production.INFO: Date 2024-12-24
[2025-01-07 04:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:13:04] Production.INFO: Date 2024-12-25
[2025-01-07 04:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:13:04] Production.INFO: Date 2024-12-26
[2025-01-07 04:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:13:04] Production.INFO: Date 2024-12-27
[2025-01-07 04:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:13:04] Production.INFO: Date 2024-12-28
[2025-01-07 04:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:13:04] Production.INFO: Date 2024-12-29
[2025-01-07 04:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:13:04] Production.INFO: Date 2024-12-30
[2025-01-07 04:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:13:04] Production.INFO: Date 2024-12-31
[2025-01-07 04:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:13:04] Production.INFO: Date 2025-01-01
[2025-01-07 04:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:13:04] Production.INFO: Date 2025-01-02
[2025-01-07 04:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:13:05] Production.INFO: Date 2025-01-03
[2025-01-07 04:13:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:13:05] Production.INFO: Date 2025-01-04
[2025-01-07 04:13:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:13:05] Production.INFO: Date 2025-01-05
[2025-01-07 04:13:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:13:05] Production.INFO: Date 2025-01-06
[2025-01-07 04:13:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:13:05] Production.INFO: Date 2025-01-07
[2025-01-07 04:13:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:13:05] Production.INFO: Total Charge 0
[2025-01-07 04:13:05] Production.INFO: CreateAllLog End
[2025-01-07 04:13:05] Production.INFO: Account Balance End.
[2025-01-07 04:13:05] Production.ERROR: CronJobId end 12
[2025-01-07 04:13:05] Production.INFO: ==31874== Releasing lock...
[2025-01-07 04:13:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:13:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:13:05
[end_date_ymd] => 2025-01-07 04:13:05
[RateCDR] => 1
)
[2025-01-07 04:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 01:13:05' and `end` < '2025-01-07 04:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 04:13:11] Production.ERROR: CronJobId end10
[2025-01-07 04:13:11] Production.INFO: ==31872== Releasing lock...
[2025-01-07 04:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:13:13] Production.INFO: call_cost start
[2025-01-07 04:13:13] Production.INFO: call_cost end
[2025-01-07 04:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:13:14] Production.INFO: ==31868== Releasing lock...
[2025-01-07 04:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:13:20] Production.INFO: count ==139
[2025-01-07 04:13:20] Production.ERROR: pbx CDR StartTime 2025-01-07 01:13:05 - End Time 2025-01-07 04:13:05
[2025-01-07 04:13:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192375', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192375', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192375', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192375', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:13:20] Production.INFO: ProcessCDR(1,14192375,1,1,2)
[2025-01-07 04:13:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192375,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:13:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192375,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:13:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192375,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:13:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192375,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192375', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192375', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:13:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:13:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:13:23] Production.INFO: ==31876== Releasing lock...
[2025-01-07 04:13:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:13:23] Production.INFO: 28.5 MB #Memory Used#
[2025-01-07 09:14:01] Production.INFO: ==31931== Lock acquired, processing the job...
[2025-01-07 09:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:14:01] Production.INFO: neon service started
[2025-01-07 09:14:01] Production.INFO: neon service started
[2025-01-07 09:14:01] Production.INFO: ==31931== Releasing lock...
[2025-01-07 09:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:14:02] Production.INFO: ==31933== Lock acquired, processing the job...
[2025-01-07 04:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:14:02] Production.INFO: ==31933== Releasing lock...
[2025-01-07 04:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:14:02] Production.INFO: ==31935== Lock acquired, processing the job...
[2025-01-07 09:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:14:02] Production.INFO: ==31935== Releasing lock...
[2025-01-07 09:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:14:03] Production.INFO: ==31937== Lock acquired, processing the job...
[2025-01-07 04:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:14:03] Production.INFO: ==31939== Lock acquired, processing the job...
[2025-01-07 04:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:14:03] Production.INFO: ==31945== Lock acquired, processing the job...
[2025-01-07 04:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:14:03] Production.INFO: ==31941== Lock acquired, processing the job...
[2025-01-07 04:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:14:03] Production.INFO: ==31943== Lock acquired, processing the job...
[2025-01-07 04:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:14:03] Production.INFO: ==31947== Lock acquired, processing the job...
[2025-01-07 04:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:14:03] Production.INFO: Account Balance Start.
[2025-01-07 04:14:03] Production.INFO: CreateAllLog Start
[2025-01-07 04:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:14:03] Production.INFO: 117
[2025-01-07 04:14:03] Production.INFO: ==31939== Releasing lock...
[2025-01-07 04:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:14:03] Production.INFO: Date 2024-12-08
[2025-01-07 04:14:03] Production.ERROR: done
[2025-01-07 04:14:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:14:03] Production.INFO: Date 2024-12-09
[2025-01-07 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-07 04:14:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:14:03] Production.INFO: count ==21
[2025-01-07 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-07 04:14:03] Production.INFO: count ==21
[2025-01-07 04:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192379') start
[2025-01-07 04:14:03] Production.INFO: Date 2024-12-10
[2025-01-07 04:14:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:14:03] Production.INFO: Date 2024-12-11
[2025-01-07 04:14:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:14:03] Production.ERROR: done
[2025-01-07 04:14:03] Production.INFO: Date 2024-12-12
[2025-01-07 04:14:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:14:03] Production.INFO: Date 2024-12-13
[2025-01-07 04:14:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192379') end
[2025-01-07 04:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:14:03] Production.INFO: 1
[2025-01-07 04:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:14:03] Production.INFO: ==31947== Releasing lock...
[2025-01-07 04:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:14:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:14:03] Production.INFO: Date 2024-12-14
[2025-01-07 04:14:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:14:03] Production.INFO: Date 2024-12-15
[2025-01-07 04:14:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:14:04] Production.INFO: Date 2024-12-16
[2025-01-07 04:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:14:04] Production.INFO: Date 2024-12-17
[2025-01-07 04:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:14:04] Production.INFO: Date 2024-12-18
[2025-01-07 04:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:14:04] Production.INFO: Date 2024-12-19
[2025-01-07 04:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:14:04] Production.INFO: Date 2024-12-20
[2025-01-07 04:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:14:04] Production.INFO: Date 2024-12-21
[2025-01-07 04:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:14:04] Production.INFO: Date 2024-12-22
[2025-01-07 04:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:14:04] Production.INFO: Date 2024-12-23
[2025-01-07 04:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:14:04] Production.INFO: Date 2024-12-24
[2025-01-07 04:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:14:04] Production.INFO: Date 2024-12-25
[2025-01-07 04:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:14:04] Production.INFO: Date 2024-12-26
[2025-01-07 04:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:14:04] Production.INFO: Date 2024-12-27
[2025-01-07 04:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:14:04] Production.INFO: Date 2024-12-28
[2025-01-07 04:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:14:04] Production.INFO: Date 2024-12-29
[2025-01-07 04:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:14:04] Production.INFO: Date 2024-12-30
[2025-01-07 04:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:14:04] Production.INFO: Date 2024-12-31
[2025-01-07 04:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:14:04] Production.INFO: Date 2025-01-01
[2025-01-07 04:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:14:04] Production.INFO: Date 2025-01-02
[2025-01-07 04:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:14:04] Production.INFO: Date 2025-01-03
[2025-01-07 04:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:14:04] Production.INFO: Date 2025-01-04
[2025-01-07 04:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:14:04] Production.INFO: Date 2025-01-05
[2025-01-07 04:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:14:04] Production.INFO: Date 2025-01-06
[2025-01-07 04:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:14:04] Production.INFO: Date 2025-01-07
[2025-01-07 04:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:14:04] Production.INFO: Total Charge 0
[2025-01-07 04:14:04] Production.INFO: CreateAllLog End
[2025-01-07 04:14:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:14:04
[end_date_ymd] => 2025-01-07 04:14:04
[RateCDR] => 1
)
[2025-01-07 04:14:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 01:14:04' and `end` < '2025-01-07 04:14:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 04:14:05] Production.INFO: Account Balance End.
[2025-01-07 04:14:05] Production.ERROR: CronJobId end 12
[2025-01-07 04:14:05] Production.INFO: ==31943== Releasing lock...
[2025-01-07 04:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:14:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:14:12] Production.ERROR: CronJobId end10
[2025-01-07 04:14:12] Production.INFO: ==31941== Releasing lock...
[2025-01-07 04:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:14:14] Production.INFO: call_cost start
[2025-01-07 04:14:14] Production.INFO: call_cost end
[2025-01-07 04:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:14:14] Production.INFO: ==31937== Releasing lock...
[2025-01-07 04:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:14:17] Production.INFO: count ==139
[2025-01-07 04:14:17] Production.ERROR: pbx CDR StartTime 2025-01-07 01:14:04 - End Time 2025-01-07 04:14:04
[2025-01-07 04:14:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192380', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192380', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192380', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192380', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:14:17] Production.INFO: ProcessCDR(1,14192380,1,1,2)
[2025-01-07 04:14:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192380,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:14:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192380,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:14:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192380,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192380,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192380', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192380', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:14:21] Production.INFO: ==31945== Releasing lock...
[2025-01-07 04:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:14:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-07 09:15:02] Production.INFO: ==32006== Lock acquired, processing the job...
[2025-01-07 09:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:15:02] Production.INFO: neon service started
[2025-01-07 09:15:02] Production.INFO: neon service started
[2025-01-07 09:15:02] Production.INFO: ==32006== Releasing lock...
[2025-01-07 09:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:15:02] Production.INFO: ==32009== Lock acquired, processing the job...
[2025-01-07 04:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:15:02] Production.INFO: ==32009== Releasing lock...
[2025-01-07 04:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:15:02] Production.INFO: ==32011== Lock acquired, processing the job...
[2025-01-07 09:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:15:02] Production.INFO: ==32011== Releasing lock...
[2025-01-07 09:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:15:03] Production.INFO: ==32015== Lock acquired, processing the job...
[2025-01-07 04:15:03] Production.INFO: ==32013== Lock acquired, processing the job...
[2025-01-07 04:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:15:03] Production.INFO: ==32017== Lock acquired, processing the job...
[2025-01-07 04:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:15:03] Production.INFO: ==32015== Releasing lock...
[2025-01-07 04:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:15:03] Production.INFO: ==32019== Lock acquired, processing the job...
[2025-01-07 04:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:15:03] Production.INFO: ==32021== Lock acquired, processing the job...
[2025-01-07 04:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:15:03] Production.INFO: ==32023== Lock acquired, processing the job...
[2025-01-07 04:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:15:03] Production.INFO: Account Balance Start.
[2025-01-07 04:15:03] Production.INFO: CreateAllLog Start
[2025-01-07 04:15:04] Production.INFO: 117
[2025-01-07 04:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:15:04] Production.INFO: Date 2024-12-08
[2025-01-07 04:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:15:04] Production.INFO: count ==21
[2025-01-07 04:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:15:04] Production.INFO: count ==21
[2025-01-07 04:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192384') start
[2025-01-07 04:15:04] Production.INFO: Date 2024-12-09
[2025-01-07 04:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192384') end
[2025-01-07 04:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:15:04] Production.INFO: 1
[2025-01-07 04:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:15:04] Production.INFO: Date 2024-12-10
[2025-01-07 04:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:15:04] Production.ERROR: done
[2025-01-07 04:15:04] Production.INFO: ==32023== Releasing lock...
[2025-01-07 04:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:15:04] Production.INFO: Date 2024-12-11
[2025-01-07 04:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:15:04] Production.INFO: Date 2024-12-12
[2025-01-07 04:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:15:04] Production.ERROR: done
[2025-01-07 04:15:04] Production.INFO: Date 2024-12-13
[2025-01-07 04:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:15:04] Production.INFO: Date 2024-12-14
[2025-01-07 04:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:15:04] Production.INFO: Date 2024-12-15
[2025-01-07 04:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:15:04] Production.INFO: Date 2024-12-16
[2025-01-07 04:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:15:04] Production.INFO: Date 2024-12-17
[2025-01-07 04:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:15:04] Production.INFO: Date 2024-12-18
[2025-01-07 04:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:15:04] Production.INFO: Date 2024-12-19
[2025-01-07 04:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:15:04] Production.INFO: Date 2024-12-20
[2025-01-07 04:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:15:04] Production.INFO: Date 2024-12-21
[2025-01-07 04:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:15:04] Production.INFO: Date 2024-12-22
[2025-01-07 04:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:15:04] Production.INFO: Date 2024-12-23
[2025-01-07 04:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:15:04] Production.INFO: Date 2024-12-24
[2025-01-07 04:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:15:04] Production.INFO: Date 2024-12-25
[2025-01-07 04:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:15:04] Production.INFO: Date 2024-12-26
[2025-01-07 04:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:15:04] Production.INFO: Date 2024-12-27
[2025-01-07 04:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:15:04] Production.INFO: Date 2024-12-28
[2025-01-07 04:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:15:04] Production.INFO: Date 2024-12-29
[2025-01-07 04:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:15:04] Production.INFO: Date 2024-12-30
[2025-01-07 04:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:15:04] Production.INFO: Date 2024-12-31
[2025-01-07 04:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:15:04] Production.INFO: Date 2025-01-01
[2025-01-07 04:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:15:04] Production.INFO: Date 2025-01-02
[2025-01-07 04:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:15:05] Production.INFO: Date 2025-01-03
[2025-01-07 04:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:15:05] Production.INFO: Date 2025-01-04
[2025-01-07 04:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:15:05] Production.INFO: Date 2025-01-05
[2025-01-07 04:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:15:05] Production.INFO: Date 2025-01-06
[2025-01-07 04:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:15:05] Production.INFO: Date 2025-01-07
[2025-01-07 04:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:15:05] Production.INFO: Total Charge 0
[2025-01-07 04:15:05] Production.INFO: CreateAllLog End
[2025-01-07 04:15:05] Production.INFO: Account Balance End.
[2025-01-07 04:15:05] Production.ERROR: CronJobId end 12
[2025-01-07 04:15:05] Production.INFO: ==32019== Releasing lock...
[2025-01-07 04:15:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:15:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:15:05
[end_date_ymd] => 2025-01-07 04:15:05
[RateCDR] => 1
)
[2025-01-07 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-07 01:15:05' and `end` < '2025-01-07 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-07 04:15:11] Production.ERROR: CronJobId end10
[2025-01-07 04:15:11] Production.INFO: ==32017== Releasing lock...
[2025-01-07 04:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:15:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:15:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:15:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:15:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:15:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:15:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:15:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:15:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:15:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:15:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:15:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:15:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:15:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:15:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:15:13] Production.INFO: call_cost start
[2025-01-07 04:15:13] Production.INFO: call_cost end
[2025-01-07 04:15:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:15:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:15:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:15:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:15:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:15:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:15:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:15:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:15:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:15:13] Production.INFO: ==32013== Releasing lock...
[2025-01-07 04:15:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:15:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:15:18] Production.INFO: count ==139
[2025-01-07 04:15:18] Production.ERROR: pbx CDR StartTime 2025-01-07 01:15:05 - End Time 2025-01-07 04:15:05
[2025-01-07 04:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192385', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192385', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192385', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192385', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:15:18] Production.INFO: ProcessCDR(1,14192385,1,1,2)
[2025-01-07 04:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192385,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192385,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192385,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192385,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192385', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192385', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:15:21] Production.INFO: ==32021== Releasing lock...
[2025-01-07 04:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:15:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-07 09:16:01] Production.INFO: ==32079== Lock acquired, processing the job...
[2025-01-07 09:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:16:01] Production.INFO: neon service started
[2025-01-07 09:16:01] Production.INFO: neon service started
[2025-01-07 09:16:01] Production.INFO: ==32079== Releasing lock...
[2025-01-07 09:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:16:02] Production.INFO: ==32081== Lock acquired, processing the job...
[2025-01-07 04:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:16:02] Production.INFO: ==32083== Lock acquired, processing the job...
[2025-01-07 09:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:16:02] Production.INFO: ==32083== Releasing lock...
[2025-01-07 09:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:16:02] Production.INFO: ==32081== Releasing lock...
[2025-01-07 04:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:16:03] Production.INFO: ==32086== Lock acquired, processing the job...
[2025-01-07 04:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:16:03] Production.INFO: ==32088== Lock acquired, processing the job...
[2025-01-07 04:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:16:03] Production.INFO: ==32090== Lock acquired, processing the job...
[2025-01-07 04:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:16:03] Production.INFO: ==32092== Lock acquired, processing the job...
[2025-01-07 04:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:16:03] Production.INFO: ==32096== Lock acquired, processing the job...
[2025-01-07 04:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:16:03] Production.INFO: ==32094== Lock acquired, processing the job...
[2025-01-07 04:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 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-07 04:16:03] Production.INFO: Account Balance Start.
[2025-01-07 04:16:03] Production.INFO: CreateAllLog Start
[2025-01-07 04:16:03] Production.INFO: 117
[2025-01-07 04:16:03] Production.INFO: count ==21
[2025-01-07 04:16:03] Production.INFO: ==32088== Releasing lock...
[2025-01-07 04:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 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-07 04:16:03] Production.INFO: count ==21
[2025-01-07 04:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192388') start
[2025-01-07 04:16:03] Production.INFO: Date 2024-12-08
[2025-01-07 04:16:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192388') end
[2025-01-07 04:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:16:03] Production.INFO: 1
[2025-01-07 04:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:16:03] Production.INFO: Date 2024-12-09
[2025-01-07 04:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:16:04] Production.INFO: ==32096== Releasing lock...
[2025-01-07 04:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:16:04] Production.ERROR: done
[2025-01-07 04:16:04] Production.INFO: Date 2024-12-10
[2025-01-07 04:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:16:04] Production.INFO: Date 2024-12-11
[2025-01-07 04:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:16:04] Production.INFO: Date 2024-12-12
[2025-01-07 04:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:16:04] Production.INFO: Date 2024-12-13
[2025-01-07 04:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:16:04] Production.ERROR: done
[2025-01-07 04:16:04] Production.INFO: Date 2024-12-14
[2025-01-07 04:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:16:04] Production.INFO: Date 2024-12-15
[2025-01-07 04:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:16:04] Production.INFO: Date 2024-12-16
[2025-01-07 04:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:16:04] Production.INFO: Date 2024-12-17
[2025-01-07 04:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:16:04] Production.INFO: Date 2024-12-18
[2025-01-07 04:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:16:04] Production.INFO: Date 2024-12-19
[2025-01-07 04:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:16:04] Production.INFO: Date 2024-12-20
[2025-01-07 04:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:16:04] Production.INFO: Date 2024-12-21
[2025-01-07 04:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:16:04] Production.INFO: Date 2024-12-22
[2025-01-07 04:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:16:04] Production.INFO: Date 2024-12-23
[2025-01-07 04:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:16:04] Production.INFO: Date 2024-12-24
[2025-01-07 04:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:16:04] Production.INFO: Date 2024-12-25
[2025-01-07 04:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:16:04] Production.INFO: Date 2024-12-26
[2025-01-07 04:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:16:04] Production.INFO: Date 2024-12-27
[2025-01-07 04:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:16:04] Production.INFO: Date 2024-12-28
[2025-01-07 04:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:16:04] Production.INFO: Date 2024-12-29
[2025-01-07 04:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:16:04] Production.INFO: Date 2024-12-30
[2025-01-07 04:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:16:04] Production.INFO: Date 2024-12-31
[2025-01-07 04:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:16:04] Production.INFO: Date 2025-01-01
[2025-01-07 04:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:16:04] Production.INFO: Date 2025-01-02
[2025-01-07 04:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:16:04] Production.INFO: Date 2025-01-03
[2025-01-07 04:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:16:04] Production.INFO: Date 2025-01-04
[2025-01-07 04:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:16:04] Production.INFO: Date 2025-01-05
[2025-01-07 04:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:16:04] Production.INFO: Date 2025-01-06
[2025-01-07 04:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:16:04] Production.INFO: Date 2025-01-07
[2025-01-07 04:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:16:04] Production.INFO: Total Charge 0
[2025-01-07 04:16:04] Production.INFO: CreateAllLog End
[2025-01-07 04:16:05] Production.INFO: Account Balance End.
[2025-01-07 04:16:05] Production.ERROR: CronJobId end 12
[2025-01-07 04:16:05] Production.INFO: ==32092== Releasing lock...
[2025-01-07 04:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:16:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:16:05
[end_date_ymd] => 2025-01-07 04:16:05
[RateCDR] => 1
)
[2025-01-07 04:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 01:16:05' and `end` < '2025-01-07 04:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 04:16:10] Production.ERROR: CronJobId end10
[2025-01-07 04:16:10] Production.INFO: ==32090== Releasing lock...
[2025-01-07 04:16:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:16:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:16:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:16:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:16:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:16:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:16:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:16:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:16:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:16:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:16:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:16:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:16:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:16:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:16:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:16:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:16:12] Production.INFO: call_cost start
[2025-01-07 04:16:12] Production.INFO: call_cost end
[2025-01-07 04:16:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:16:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:16:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:16:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:16:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:16:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:16:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:16:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:16:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:16:13] Production.INFO: ==32086== Releasing lock...
[2025-01-07 04:16:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:16:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:16:18] Production.INFO: count ==139
[2025-01-07 04:16:18] Production.ERROR: pbx CDR StartTime 2025-01-07 01:16:05 - End Time 2025-01-07 04:16:05
[2025-01-07 04:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192390', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192390', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192390', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192390', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:16:18] Production.INFO: ProcessCDR(1,14192390,1,1,2)
[2025-01-07 04:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192390,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192390,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192390,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192390,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192390', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192390', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:16:21] Production.INFO: ==32094== Releasing lock...
[2025-01-07 04:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:16:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-07 09:17:01] Production.INFO: ==32188== Lock acquired, processing the job...
[2025-01-07 09:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:17:01] Production.INFO: neon service started
[2025-01-07 09:17:01] Production.INFO: neon service started
[2025-01-07 09:17:01] Production.INFO: ==32188== Releasing lock...
[2025-01-07 09:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:17:02] Production.INFO: ==32190== Lock acquired, processing the job...
[2025-01-07 04:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:17:02] Production.INFO: ==32192== Lock acquired, processing the job...
[2025-01-07 09:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:17:02] Production.INFO: ==32192== Releasing lock...
[2025-01-07 09:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:17:02] Production.INFO: ==32190== Releasing lock...
[2025-01-07 04:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:17:03] Production.INFO: ==32197== Lock acquired, processing the job...
[2025-01-07 04:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:17:03] Production.INFO: ==32195== Lock acquired, processing the job...
[2025-01-07 04:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:17:03] Production.INFO: ==32203== Lock acquired, processing the job...
[2025-01-07 04:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:17:03] Production.INFO: ==32201== Lock acquired, processing the job...
[2025-01-07 04:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:17:03] Production.INFO: ==32199== Lock acquired, processing the job...
[2025-01-07 04:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:17:03] Production.INFO: ==32205== Lock acquired, processing the job...
[2025-01-07 04:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:17:04] Production.INFO: ==32197== Releasing lock...
[2025-01-07 04:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:17:04] Production.INFO: Account Balance Start.
[2025-01-07 04:17:04] Production.INFO: CreateAllLog Start
[2025-01-07 04:17:04] Production.INFO: 117
[2025-01-07 04:17:04] Production.INFO: Date 2024-12-08
[2025-01-07 04:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 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-07 04:17:04] Production.INFO: Date 2024-12-09
[2025-01-07 04:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:17:04] Production.INFO: count ==21
[2025-01-07 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-07 04:17:04] Production.INFO: count ==21
[2025-01-07 04:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192394') start
[2025-01-07 04:17:04] Production.ERROR: done
[2025-01-07 04:17:04] Production.INFO: Date 2024-12-10
[2025-01-07 04:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:17:04] Production.INFO: Date 2024-12-11
[2025-01-07 04:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192394') end
[2025-01-07 04:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:17:04] Production.INFO: 1
[2025-01-07 04:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:17:04] Production.INFO: ==32205== Releasing lock...
[2025-01-07 04:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:17:04] Production.INFO: Date 2024-12-12
[2025-01-07 04:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:17:04] Production.ERROR: done
[2025-01-07 04:17:04] Production.INFO: Date 2024-12-13
[2025-01-07 04:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:17:04] Production.INFO: Date 2024-12-14
[2025-01-07 04:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:17:04] Production.INFO: Date 2024-12-15
[2025-01-07 04:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:17:04] Production.INFO: Date 2024-12-16
[2025-01-07 04:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:17:04] Production.INFO: Date 2024-12-17
[2025-01-07 04:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:17:04] Production.INFO: Date 2024-12-18
[2025-01-07 04:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:17:04] Production.INFO: Date 2024-12-19
[2025-01-07 04:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:17:04] Production.INFO: Date 2024-12-20
[2025-01-07 04:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:17:04] Production.INFO: Date 2024-12-21
[2025-01-07 04:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:17:04] Production.INFO: Date 2024-12-22
[2025-01-07 04:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:17:04] Production.INFO: Date 2024-12-23
[2025-01-07 04:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:17:05] Production.INFO: Date 2024-12-24
[2025-01-07 04:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:17:05] Production.INFO: Date 2024-12-25
[2025-01-07 04:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:17:05] Production.INFO: Date 2024-12-26
[2025-01-07 04:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:17:05] Production.INFO: Date 2024-12-27
[2025-01-07 04:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:17:05] Production.INFO: Date 2024-12-28
[2025-01-07 04:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:17:05] Production.INFO: Date 2024-12-29
[2025-01-07 04:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:17:05] Production.INFO: Date 2024-12-30
[2025-01-07 04:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:17:05] Production.INFO: Date 2024-12-31
[2025-01-07 04:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:17:05] Production.INFO: Date 2025-01-01
[2025-01-07 04:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:17:05] Production.INFO: Date 2025-01-02
[2025-01-07 04:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:17:05] Production.INFO: Date 2025-01-03
[2025-01-07 04:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:17:05] Production.INFO: Date 2025-01-04
[2025-01-07 04:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:17:05] Production.INFO: Date 2025-01-05
[2025-01-07 04:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:17:05] Production.INFO: Date 2025-01-06
[2025-01-07 04:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:17:05] Production.INFO: Date 2025-01-07
[2025-01-07 04:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:17:05] Production.INFO: Total Charge 0
[2025-01-07 04:17:05] Production.INFO: CreateAllLog End
[2025-01-07 04:17:05] Production.INFO: Account Balance End.
[2025-01-07 04:17:05] Production.ERROR: CronJobId end 12
[2025-01-07 04:17:05] Production.INFO: ==32201== Releasing lock...
[2025-01-07 04:17:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:17:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:17:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:17:06
[end_date_ymd] => 2025-01-07 04:17:06
[RateCDR] => 1
)
[2025-01-07 04: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-07 01:17:06' and `end` < '2025-01-07 04: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-07 04:17:11] Production.ERROR: CronJobId end10
[2025-01-07 04:17:11] Production.INFO: ==32199== Releasing lock...
[2025-01-07 04:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:17:13] Production.INFO: call_cost start
[2025-01-07 04:17:13] Production.INFO: call_cost end
[2025-01-07 04:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:17:14] Production.INFO: ==32195== Releasing lock...
[2025-01-07 04:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:17:18] Production.INFO: count ==139
[2025-01-07 04:17:18] Production.ERROR: pbx CDR StartTime 2025-01-07 01:17:06 - End Time 2025-01-07 04:17:06
[2025-01-07 04:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192395', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192395', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192395', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192395', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:17:18] Production.INFO: ProcessCDR(1,14192395,1,1,2)
[2025-01-07 04:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192395,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192395,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192395,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192395,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192395', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192395', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:17:21] Production.INFO: ==32203== Releasing lock...
[2025-01-07 04:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:17:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-07 09:18:01] Production.INFO: ==32277== Lock acquired, processing the job...
[2025-01-07 09:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:18:01] Production.INFO: neon service started
[2025-01-07 09:18:01] Production.INFO: neon service started
[2025-01-07 09:18:01] Production.INFO: ==32277== Releasing lock...
[2025-01-07 09:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:18:01] Production.INFO: ==32280== Lock acquired, processing the job...
[2025-01-07 04:18:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:18:01] Production.INFO: ==32282== Lock acquired, processing the job...
[2025-01-07 09:18:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:18:02] Production.INFO: ==32282== Releasing lock...
[2025-01-07 09:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:18:02] Production.INFO: ==32280== Releasing lock...
[2025-01-07 04:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:18:03] Production.INFO: ==32290== Lock acquired, processing the job...
[2025-01-07 04:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:18:03] Production.INFO: ==32294== Lock acquired, processing the job...
[2025-01-07 04:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:18:03] Production.INFO: Account Balance Start.
[2025-01-07 04:18:03] Production.INFO: CreateAllLog Start
[2025-01-07 04:18:03] Production.INFO: 117
[2025-01-07 04:18:03] Production.INFO: Date 2024-12-08
[2025-01-07 04:18:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:18:03] Production.INFO: ==32284== Lock acquired, processing the job...
[2025-01-07 04:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:18:03] Production.INFO: Date 2024-12-09
[2025-01-07 04:18:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:18:03] Production.INFO: ==32286== Lock acquired, processing the job...
[2025-01-07 04:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:18:03] Production.INFO: Date 2024-12-10
[2025-01-07 04:18:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 04:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:18:03] Production.INFO: ==32292== Lock acquired, processing the job...
[2025-01-07 04:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:18:03] Production.INFO: ==32288== Lock acquired, processing the job...
[2025-01-07 04:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:18:03] Production.INFO: count ==21
[2025-01-07 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-07 04:18:03] Production.INFO: count ==21
[2025-01-07 04:18:03] Production.INFO: Date 2024-12-11
[2025-01-07 04:18:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192397') start
[2025-01-07 04:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:18:03] Production.INFO: Date 2024-12-12
[2025-01-07 04:18:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:18:03] Production.INFO: Date 2024-12-13
[2025-01-07 04:18:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:18:03] Production.INFO: Date 2024-12-14
[2025-01-07 04:18:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:18:03] Production.INFO: Date 2024-12-15
[2025-01-07 04:18:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192397') end
[2025-01-07 04:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:18:03] Production.INFO: 1
[2025-01-07 04:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:18:03] Production.INFO: Date 2024-12-16
[2025-01-07 04:18:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:18:03] Production.INFO: ==32294== Releasing lock...
[2025-01-07 04:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:18:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:18:03] Production.INFO: Date 2024-12-17
[2025-01-07 04:18:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:18:03] Production.INFO: ==32286== Releasing lock...
[2025-01-07 04:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:18:03] Production.ERROR: done
[2025-01-07 04:18:03] Production.INFO: Date 2024-12-18
[2025-01-07 04:18:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:18:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:18:03] Production.INFO: Date 2024-12-19
[2025-01-07 04:18:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:18:03] Production.INFO: Date 2024-12-20
[2025-01-07 04:18:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:18:03] Production.INFO: Date 2024-12-21
[2025-01-07 04:18:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:18:04] Production.ERROR: done
[2025-01-07 04:18:04] Production.INFO: Date 2024-12-22
[2025-01-07 04:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:18:04] Production.INFO: Date 2024-12-23
[2025-01-07 04:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:18:04] Production.INFO: Date 2024-12-24
[2025-01-07 04:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:18:04] Production.INFO: Date 2024-12-25
[2025-01-07 04:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:18:04] Production.INFO: Date 2024-12-26
[2025-01-07 04:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:18:04] Production.INFO: Date 2024-12-27
[2025-01-07 04:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:18:04] Production.INFO: Date 2024-12-28
[2025-01-07 04:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:18:04] Production.INFO: Date 2024-12-29
[2025-01-07 04:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:18:04] Production.INFO: Date 2024-12-30
[2025-01-07 04:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:18:04] Production.INFO: Date 2024-12-31
[2025-01-07 04:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:18:04] Production.INFO: Date 2025-01-01
[2025-01-07 04:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:18:04] Production.INFO: Date 2025-01-02
[2025-01-07 04:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:18:04] Production.INFO: Date 2025-01-03
[2025-01-07 04:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:18:04] Production.INFO: Date 2025-01-04
[2025-01-07 04:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:18:04] Production.INFO: Date 2025-01-05
[2025-01-07 04:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:18:04] Production.INFO: Date 2025-01-06
[2025-01-07 04:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:18:04] Production.INFO: Date 2025-01-07
[2025-01-07 04:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:18:04] Production.INFO: Total Charge 0
[2025-01-07 04:18:04] Production.INFO: CreateAllLog End
[2025-01-07 04:18:04] Production.INFO: Account Balance End.
[2025-01-07 04:18:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:18:04
[end_date_ymd] => 2025-01-07 04:18:04
[RateCDR] => 1
)
[2025-01-07 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-07 01:18:04' and `end` < '2025-01-07 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-07 04:18:04] Production.ERROR: CronJobId end 12
[2025-01-07 04:18:04] Production.INFO: ==32290== Releasing lock...
[2025-01-07 04:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:18:11] Production.ERROR: CronJobId end10
[2025-01-07 04:18:11] Production.INFO: ==32288== Releasing lock...
[2025-01-07 04:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:18:13] Production.INFO: call_cost start
[2025-01-07 04:18:13] Production.INFO: call_cost end
[2025-01-07 04:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:18:14] Production.INFO: ==32284== Releasing lock...
[2025-01-07 04:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:18:17] Production.INFO: count ==139
[2025-01-07 04:18:17] Production.ERROR: pbx CDR StartTime 2025-01-07 01:18:04 - End Time 2025-01-07 04:18:04
[2025-01-07 04:18:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192400', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192400', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192400', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192400', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:18:17] Production.INFO: ProcessCDR(1,14192400,1,1,2)
[2025-01-07 04:18:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192400,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:18:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192400,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:18:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192400,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192400,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192400', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192400', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:18:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:18:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:18:21] Production.INFO: ==32292== Releasing lock...
[2025-01-07 04:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:18:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-07 09:19:01] Production.INFO: ==32350== Lock acquired, processing the job...
[2025-01-07 09:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:19:01] Production.INFO: neon service started
[2025-01-07 09:19:01] Production.INFO: neon service started
[2025-01-07 09:19:01] Production.INFO: ==32350== Releasing lock...
[2025-01-07 09:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:19:02] Production.INFO: ==32354== Lock acquired, processing the job...
[2025-01-07 09:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:19:02] Production.INFO: ==32354== Releasing lock...
[2025-01-07 09:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:19:02] Production.INFO: ==32352== Lock acquired, processing the job...
[2025-01-07 04:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:19:02] Production.INFO: ==32352== Releasing lock...
[2025-01-07 04:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:19:03] Production.INFO: ==32359== Lock acquired, processing the job...
[2025-01-07 04:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:19:03] Production.INFO: ==32367== Lock acquired, processing the job...
[2025-01-07 04:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 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-07 04:19:03] Production.INFO: ==32356== Lock acquired, processing the job...
[2025-01-07 04:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:19:03] Production.INFO: count ==21
[2025-01-07 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-07 04:19:03] Production.INFO: count ==21
[2025-01-07 04:19:03] Production.INFO: ==32361== Lock acquired, processing the job...
[2025-01-07 04:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192402') start
[2025-01-07 04:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:19:03] Production.INFO: ==32363== Lock acquired, processing the job...
[2025-01-07 04:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:19:03] Production.INFO: ==32365== Lock acquired, processing the job...
[2025-01-07 04:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:19:03] Production.INFO: ==32359== Releasing lock...
[2025-01-07 04:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192402') end
[2025-01-07 04:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:19:03] Production.INFO: 1
[2025-01-07 04:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:19:03] Production.INFO: ==32367== Releasing lock...
[2025-01-07 04:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:19:03] Production.INFO: Account Balance Start.
[2025-01-07 04:19:03] Production.INFO: CreateAllLog Start
[2025-01-07 04:19:04] Production.INFO: 117
[2025-01-07 04:19:04] Production.INFO: Date 2024-12-08
[2025-01-07 04:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:19:04] Production.INFO: Date 2024-12-09
[2025-01-07 04:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:19:04] Production.INFO: Date 2024-12-10
[2025-01-07 04:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:19:04] Production.INFO: Date 2024-12-11
[2025-01-07 04:19:04] Production.ERROR: done
[2025-01-07 04:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:19:04] Production.ERROR: done
[2025-01-07 04:19:04] Production.INFO: Date 2024-12-12
[2025-01-07 04:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:19:04] Production.INFO: Date 2024-12-13
[2025-01-07 04:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:19:04] Production.INFO: Date 2024-12-14
[2025-01-07 04:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:19:04] Production.INFO: Date 2024-12-15
[2025-01-07 04:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:19:04] Production.INFO: Date 2024-12-16
[2025-01-07 04:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:19:04] Production.INFO: Date 2024-12-17
[2025-01-07 04:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:19:04] Production.INFO: Date 2024-12-18
[2025-01-07 04:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:19:04] Production.INFO: Date 2024-12-19
[2025-01-07 04:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:19:04] Production.INFO: Date 2024-12-20
[2025-01-07 04:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:19:04] Production.INFO: Date 2024-12-21
[2025-01-07 04:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:19:04] Production.INFO: Date 2024-12-22
[2025-01-07 04:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:19:04] Production.INFO: Date 2024-12-23
[2025-01-07 04:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:19:04] Production.INFO: Date 2024-12-24
[2025-01-07 04:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:19:04] Production.INFO: Date 2024-12-25
[2025-01-07 04:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:19:05] Production.INFO: Date 2024-12-26
[2025-01-07 04:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:19:05] Production.INFO: Date 2024-12-27
[2025-01-07 04:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:19:05] Production.INFO: Date 2024-12-28
[2025-01-07 04:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:19:05] Production.INFO: Date 2024-12-29
[2025-01-07 04:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:19:05] Production.INFO: Date 2024-12-30
[2025-01-07 04:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:19:05] Production.INFO: Date 2024-12-31
[2025-01-07 04:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:19:05] Production.INFO: Date 2025-01-01
[2025-01-07 04:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:19:05] Production.INFO: Date 2025-01-02
[2025-01-07 04:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:19:05] Production.INFO: Date 2025-01-03
[2025-01-07 04:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:19:05] Production.INFO: Date 2025-01-04
[2025-01-07 04:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:19:05] Production.INFO: Date 2025-01-05
[2025-01-07 04:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:19:05] Production.INFO: Date 2025-01-06
[2025-01-07 04:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:19:05] Production.INFO: Date 2025-01-07
[2025-01-07 04:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:19:05] Production.INFO: Total Charge 0
[2025-01-07 04:19:05] Production.INFO: CreateAllLog End
[2025-01-07 04:19:05] Production.INFO: Account Balance End.
[2025-01-07 04:19:05] Production.ERROR: CronJobId end 12
[2025-01-07 04:19:05] Production.INFO: ==32363== Releasing lock...
[2025-01-07 04:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:19:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:19:05
[end_date_ymd] => 2025-01-07 04:19:05
[RateCDR] => 1
)
[2025-01-07 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-07 01:19:05' and `end` < '2025-01-07 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-07 04:19:11] Production.ERROR: CronJobId end10
[2025-01-07 04:19:11] Production.INFO: ==32361== Releasing lock...
[2025-01-07 04:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:19:13] Production.INFO: call_cost start
[2025-01-07 04:19:13] Production.INFO: call_cost end
[2025-01-07 04:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:19:14] Production.INFO: ==32356== Releasing lock...
[2025-01-07 04:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:19:18] Production.INFO: count ==139
[2025-01-07 04:19:18] Production.ERROR: pbx CDR StartTime 2025-01-07 01:19:05 - End Time 2025-01-07 04:19:05
[2025-01-07 04:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192405', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192405', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192405', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192405', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:19:18] Production.INFO: ProcessCDR(1,14192405,1,1,2)
[2025-01-07 04:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192405,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192405,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192405,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192405,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192405', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192405', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:19:21] Production.INFO: ==32365== Releasing lock...
[2025-01-07 04:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:19:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-07 09:20:02] Production.INFO: ==32420== Lock acquired, processing the job...
[2025-01-07 09:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:20:02] Production.INFO: neon service started
[2025-01-07 09:20:02] Production.INFO: neon service started
[2025-01-07 09:20:02] Production.INFO: ==32420== Releasing lock...
[2025-01-07 09:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:20:02] Production.INFO: ==32424== Lock acquired, processing the job...
[2025-01-07 09:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:20:02] Production.INFO: ==32424== Releasing lock...
[2025-01-07 09:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:20:02] Production.INFO: ==32422== Lock acquired, processing the job...
[2025-01-07 04:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:20:03] Production.INFO: ==32422== Releasing lock...
[2025-01-07 04:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:20:04] Production.INFO: ==32429== Lock acquired, processing the job...
[2025-01-07 04:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:20:04] Production.INFO: ==32427== Lock acquired, processing the job...
[2025-01-07 04:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 04:20:04] Production.INFO: ==32431== Lock acquired, processing the job...
[2025-01-07 04:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:20:04] Production.INFO: ==32433== Lock acquired, processing the job...
[2025-01-07 04:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:20:04] Production.INFO: ==32435== Lock acquired, processing the job...
[2025-01-07 04:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 04:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 04:20:04] Production.ERROR: CronJob PID - 32429
[2025-01-07 04:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-07 04:20:04] Production.ERROR: CronJob ID - 5
[2025-01-07 04:20:04] Production.ERROR: CronJob Last Run Time 2025-01-07 04:20:00
[2025-01-07 04:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 04:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 04:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 04:20:04] Production.ERROR: CronJob PID - 32431
[2025-01-07 04:20:04] Production.ERROR: CronJob Title - Account Block
[2025-01-07 04:20:04] Production.ERROR: CronJob ID - 7
[2025-01-07 04:20:04] Production.ERROR: CronJob Last Run Time 2025-01-07 04:20:00
[2025-01-07 04:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 04:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 04:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 04:20:04] Production.ERROR: CronJob PID - 32433
[2025-01-07 04:20:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-07 04:20:04] Production.ERROR: CronJob ID - 10
[2025-01-07 04:20:04] Production.ERROR: CronJob Last Run Time 2025-01-07 04:20:00
[2025-01-07 04:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 04:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 04:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 04:20:04] Production.ERROR: CronJob PID - 32435
[2025-01-07 04:20:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-07 04:20:04] Production.ERROR: CronJob ID - 12
[2025-01-07 04:20:04] Production.ERROR: CronJob Last Run Time 2025-01-07 04:20:00
[2025-01-07 04:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 04:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 04:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 04:20:04] Production.INFO: ==32427== Releasing lock...
[2025-01-07 04:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 04:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 04:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:20:04] Production.INFO: Account Balance Start.
[2025-01-07 04:20:04] Production.INFO: CreateAllLog Start
[2025-01-07 04:20:04] Production.INFO: 117
[2025-01-07 04:20:04] Production.INFO: ==32437== Lock acquired, processing the job...
[2025-01-07 04:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:20:04] Production.INFO: Date 2024-12-08
[2025-01-07 04:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:20:04] Production.INFO: Date 2024-12-09
[2025-01-07 04:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:20:04] Production.INFO: ==32439== Lock acquired, processing the job...
[2025-01-07 04:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 04:20:04] Production.INFO: ==32441== Lock acquired, processing the job...
[2025-01-07 04:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:20:04] Production.INFO: Date 2024-12-10
[2025-01-07 04:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:20:04] Production.INFO: Date 2024-12-11
[2025-01-07 04:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:20:04] Production.INFO: ==32431== Releasing lock...
[2025-01-07 04:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:20:04] Production.INFO: Date 2024-12-12
[2025-01-07 04:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:20:04] Production.INFO: count ==21
[2025-01-07 04:20:04] Production.INFO: Date 2024-12-13
[2025-01-07 04:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:20:05] Production.INFO: count ==21
[2025-01-07 04:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14192409') start
[2025-01-07 04:20:05] Production.INFO: Date 2024-12-14
[2025-01-07 04:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:20:05] Production.INFO: Date 2024-12-15
[2025-01-07 04:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:20:05] Production.INFO: Date 2024-12-16
[2025-01-07 04:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:20:05] Production.ERROR: done
[2025-01-07 04:20:05] Production.ERROR: done
[2025-01-07 04:20:05] Production.INFO: Date 2024-12-17
[2025-01-07 04:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14192409') end
[2025-01-07 04:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:20:05] Production.INFO: 1
[2025-01-07 04:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 04:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14192410', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 04:20:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:20:05] Production.INFO: ==32441== Releasing lock...
[2025-01-07 04:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:20:05] Production.INFO: Date 2024-12-18
[2025-01-07 04:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:20:05] Production.INFO: Date 2024-12-19
[2025-01-07 04:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:20:05] Production.INFO: Date 2024-12-20
[2025-01-07 04:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:20:05] Production.INFO: Date 2024-12-21
[2025-01-07 04:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:20:05] Production.INFO: Date 2024-12-22
[2025-01-07 04:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:20:05] Production.ERROR: done
[2025-01-07 04:20:05] Production.INFO: Date 2024-12-23
[2025-01-07 04:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:20:05] Production.INFO: Date 2024-12-24
[2025-01-07 04:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:20:05] Production.INFO: Date 2024-12-25
[2025-01-07 04:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:20:05] Production.INFO: Date 2024-12-26
[2025-01-07 04:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:20:05] Production.INFO: Date 2024-12-27
[2025-01-07 04:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:20:05] Production.INFO: Date 2024-12-28
[2025-01-07 04:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:20:05] Production.INFO: Date 2024-12-29
[2025-01-07 04:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:20:05] Production.INFO: Date 2024-12-30
[2025-01-07 04:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:20:05] Production.INFO: Date 2024-12-31
[2025-01-07 04:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:20:05] Production.INFO: Date 2025-01-01
[2025-01-07 04:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:20:05] Production.INFO: Date 2025-01-02
[2025-01-07 04:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:20:05] Production.INFO: Date 2025-01-03
[2025-01-07 04:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:20:05] Production.INFO: Date 2025-01-04
[2025-01-07 04:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:20:05] Production.INFO: Date 2025-01-05
[2025-01-07 04:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:20:05] Production.INFO: Date 2025-01-06
[2025-01-07 04:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:20:05] Production.INFO: Date 2025-01-07
[2025-01-07 04:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:20:06] Production.INFO: Total Charge 0
[2025-01-07 04:20:06] Production.INFO: CreateAllLog End
[2025-01-07 04:20:06] Production.INFO: Account Balance End.
[2025-01-07 04:20:06] Production.ERROR: CronJobId end 12
[2025-01-07 04:20:06] Production.INFO: ==32435== Releasing lock...
[2025-01-07 04:20:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:20:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:20:06
[end_date_ymd] => 2025-01-07 04:20:06
[RateCDR] => 1
)
[2025-01-07 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-07 01:20:06' and `end` < '2025-01-07 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-07 04:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14192410', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 04:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 04:20:09] Production.INFO: ProcessCDR(1,14192410,1,1,2)
[2025-01-07 04:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14192410,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14192410,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:20:09] Production.INFO: ==32439== Releasing lock...
[2025-01-07 04:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 04:20:09] Production.INFO: 26 MB #Memory Used#
[2025-01-07 04:20:14] Production.ERROR: CronJobId end10
[2025-01-07 04:20:14] Production.INFO: ==32433== Releasing lock...
[2025-01-07 04:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:20:16] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:20:16] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:20:16] Production.INFO: call_cost start
[2025-01-07 04:20:16] Production.INFO: call_cost end
[2025-01-07 04:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:20:17] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:20:17] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:20:17] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:20:17] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:20:17] Production.INFO: ==32429== Releasing lock...
[2025-01-07 04:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:20:20] Production.INFO: count ==135
[2025-01-07 04:20:20] Production.ERROR: pbx CDR StartTime 2025-01-07 01:20:06 - End Time 2025-01-07 04:20:06
[2025-01-07 04:20:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192411', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192411', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192411', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192411', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:20:20] Production.INFO: ProcessCDR(1,14192411,1,1,2)
[2025-01-07 04:20:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192411,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192411,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192411,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:20:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192411,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:20:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192411', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:20:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192411', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:20:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:20:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:20:27] Production.INFO: ==32437== Releasing lock...
[2025-01-07 04:20:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:20:27] Production.INFO: 28.5 MB #Memory Used#
[2025-01-07 09:21:01] Production.INFO: ==32499== Lock acquired, processing the job...
[2025-01-07 09:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:21:01] Production.INFO: neon service started
[2025-01-07 09:21:01] Production.INFO: neon service started
[2025-01-07 09:21:01] Production.INFO: ==32499== Releasing lock...
[2025-01-07 09:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:21:02] Production.INFO: ==32501== Lock acquired, processing the job...
[2025-01-07 04:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:21:02] Production.INFO: ==32503== Lock acquired, processing the job...
[2025-01-07 09:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:21:02] Production.INFO: ==32503== Releasing lock...
[2025-01-07 09:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:21:02] Production.INFO: ==32501== Releasing lock...
[2025-01-07 04:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:21:03] Production.INFO: ==32508== Lock acquired, processing the job...
[2025-01-07 04:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:21:03] Production.INFO: ==32514== Lock acquired, processing the job...
[2025-01-07 04:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:21:03] Production.INFO: ==32506== Lock acquired, processing the job...
[2025-01-07 04:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:21:04] Production.INFO: ==32508== Releasing lock...
[2025-01-07 04:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:21:04] Production.INFO: ==32510== Lock acquired, processing the job...
[2025-01-07 04:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:21:04] Production.INFO: ==32512== Lock acquired, processing the job...
[2025-01-07 04:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:21:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:21:04] Production.INFO: ==32516== Lock acquired, processing the job...
[2025-01-07 04:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:21:04] Production.ERROR: done
[2025-01-07 04:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:21:04] Production.INFO: Account Balance Start.
[2025-01-07 04:21:04] Production.INFO: CreateAllLog Start
[2025-01-07 04:21:04] Production.INFO: 117
[2025-01-07 04:21:04] Production.INFO: Date 2024-12-08
[2025-01-07 04:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:21:04] Production.INFO: Date 2024-12-09
[2025-01-07 04:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 04:21:04] Production.INFO: Date 2024-12-10
[2025-01-07 04:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:21:04] Production.INFO: Date 2024-12-11
[2025-01-07 04:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:21:04] Production.INFO: count ==21
[2025-01-07 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-07 04:21:04] Production.INFO: count ==21
[2025-01-07 04:21:04] Production.ERROR: done
[2025-01-07 04:21:04] Production.INFO: Date 2024-12-12
[2025-01-07 04:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192415') start
[2025-01-07 04:21:04] Production.INFO: Date 2024-12-13
[2025-01-07 04:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192415') end
[2025-01-07 04:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:21:04] Production.INFO: 1
[2025-01-07 04:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:21:04] Production.INFO: Date 2024-12-14
[2025-01-07 04:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:21:04] Production.INFO: Date 2024-12-15
[2025-01-07 04:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:21:04] Production.INFO: ==32516== Releasing lock...
[2025-01-07 04:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:21:04] Production.INFO: Date 2024-12-16
[2025-01-07 04:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:21:04] Production.INFO: Date 2024-12-17
[2025-01-07 04:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:21:04] Production.INFO: Date 2024-12-18
[2025-01-07 04:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:21:04] Production.INFO: Date 2024-12-19
[2025-01-07 04:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:21:04] Production.INFO: Date 2024-12-20
[2025-01-07 04:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:21:04] Production.INFO: Date 2024-12-21
[2025-01-07 04:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:21:04] Production.INFO: Date 2024-12-22
[2025-01-07 04:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:21:04] Production.INFO: Date 2024-12-23
[2025-01-07 04:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:21:04] Production.INFO: Date 2024-12-24
[2025-01-07 04:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:21:05] Production.INFO: Date 2024-12-25
[2025-01-07 04:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:21:05] Production.INFO: Date 2024-12-26
[2025-01-07 04:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:21:05] Production.INFO: Date 2024-12-27
[2025-01-07 04:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:21:05] Production.INFO: Date 2024-12-28
[2025-01-07 04:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:21:05] Production.INFO: Date 2024-12-29
[2025-01-07 04:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:21:05] Production.INFO: Date 2024-12-30
[2025-01-07 04:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:21:05] Production.INFO: Date 2024-12-31
[2025-01-07 04:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:21:05] Production.INFO: Date 2025-01-01
[2025-01-07 04:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:21:05] Production.INFO: Date 2025-01-02
[2025-01-07 04:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:21:05] Production.INFO: Date 2025-01-03
[2025-01-07 04:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:21:05] Production.INFO: Date 2025-01-04
[2025-01-07 04:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:21:05] Production.INFO: Date 2025-01-05
[2025-01-07 04:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:21:05] Production.INFO: Date 2025-01-06
[2025-01-07 04:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:21:05] Production.INFO: Date 2025-01-07
[2025-01-07 04:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:21:05] Production.INFO: Total Charge 0
[2025-01-07 04:21:05] Production.INFO: CreateAllLog End
[2025-01-07 04:21:05] Production.INFO: Account Balance End.
[2025-01-07 04:21:05] Production.ERROR: CronJobId end 12
[2025-01-07 04:21:05] Production.INFO: ==32512== Releasing lock...
[2025-01-07 04:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:21:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:21:05
[end_date_ymd] => 2025-01-07 04:21:05
[RateCDR] => 1
)
[2025-01-07 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-07 01:21:05' and `end` < '2025-01-07 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-07 04:21:11] Production.ERROR: CronJobId end10
[2025-01-07 04:21:11] Production.INFO: ==32510== Releasing lock...
[2025-01-07 04:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:21:13] Production.INFO: call_cost start
[2025-01-07 04:21:13] Production.INFO: call_cost end
[2025-01-07 04:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:21:14] Production.INFO: ==32506== Releasing lock...
[2025-01-07 04:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:21:18] Production.INFO: count ==135
[2025-01-07 04:21:18] Production.ERROR: pbx CDR StartTime 2025-01-07 01:21:05 - End Time 2025-01-07 04:21:05
[2025-01-07 04:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192416', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192416', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192416', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192416', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:21:18] Production.INFO: ProcessCDR(1,14192416,1,1,2)
[2025-01-07 04:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192416,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192416,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192416,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192416,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192416', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192416', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:21:21] Production.INFO: ==32514== Releasing lock...
[2025-01-07 04:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:21:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-07 09:22:02] Production.INFO: ==32571== Lock acquired, processing the job...
[2025-01-07 09:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:22:02] Production.INFO: neon service started
[2025-01-07 09:22:02] Production.INFO: neon service started
[2025-01-07 09:22:02] Production.INFO: ==32571== Releasing lock...
[2025-01-07 09:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:22:02] Production.INFO: ==32575== Lock acquired, processing the job...
[2025-01-07 09:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:22:02] Production.INFO: ==32575== Releasing lock...
[2025-01-07 09:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:22:02] Production.INFO: ==32573== Lock acquired, processing the job...
[2025-01-07 04:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:22:03] Production.INFO: ==32573== Releasing lock...
[2025-01-07 04:22:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:22:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:22:03] Production.INFO: ==32580== Lock acquired, processing the job...
[2025-01-07 04:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:22:04] Production.INFO: ==32588== Lock acquired, processing the job...
[2025-01-07 04:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 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-07 04:22:04] Production.INFO: count ==21
[2025-01-07 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-07 04:22:04] Production.INFO: count ==21
[2025-01-07 04:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192418') start
[2025-01-07 04:22:04] Production.INFO: ==32578== Lock acquired, processing the job...
[2025-01-07 04:22:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:22:04] Production.INFO: ==32580== Releasing lock...
[2025-01-07 04:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:22:04] Production.INFO: ==32582== Lock acquired, processing the job...
[2025-01-07 04:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192418') end
[2025-01-07 04:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:22:04] Production.INFO: 1
[2025-01-07 04:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:22:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:22:04] Production.INFO: ==32584== Lock acquired, processing the job...
[2025-01-07 04:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:22:04] Production.INFO: ==32586== Lock acquired, processing the job...
[2025-01-07 04:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:22:04] Production.INFO: ==32588== Releasing lock...
[2025-01-07 04:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:22:04] Production.INFO: Account Balance Start.
[2025-01-07 04:22:04] Production.INFO: CreateAllLog Start
[2025-01-07 04:22:04] Production.INFO: 117
[2025-01-07 04:22:04] Production.INFO: Date 2024-12-08
[2025-01-07 04:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:22:04] Production.INFO: Date 2024-12-09
[2025-01-07 04:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:22:04] Production.INFO: Date 2024-12-10
[2025-01-07 04:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:22:04] Production.INFO: Date 2024-12-11
[2025-01-07 04:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:22:04] Production.INFO: Date 2024-12-12
[2025-01-07 04:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:22:04] Production.INFO: Date 2024-12-13
[2025-01-07 04:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:22:04] Production.INFO: Date 2024-12-14
[2025-01-07 04:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:22:04] Production.INFO: Date 2024-12-15
[2025-01-07 04:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:22:04] Production.ERROR: done
[2025-01-07 04:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:22:04] Production.INFO: Date 2024-12-16
[2025-01-07 04:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:22:05] Production.INFO: Date 2024-12-17
[2025-01-07 04:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:22:05] Production.ERROR: done
[2025-01-07 04:22:05] Production.INFO: Date 2024-12-18
[2025-01-07 04:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:22:05] Production.INFO: Date 2024-12-19
[2025-01-07 04:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:22:05] Production.INFO: Date 2024-12-20
[2025-01-07 04:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:22:05] Production.INFO: Date 2024-12-21
[2025-01-07 04:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:22:05] Production.INFO: Date 2024-12-22
[2025-01-07 04:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:22:05] Production.INFO: Date 2024-12-23
[2025-01-07 04:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:22:05] Production.INFO: Date 2024-12-24
[2025-01-07 04:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:22:05] Production.INFO: Date 2024-12-25
[2025-01-07 04:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:22:05] Production.INFO: Date 2024-12-26
[2025-01-07 04:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:22:05] Production.INFO: Date 2024-12-27
[2025-01-07 04:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:22:05] Production.INFO: Date 2024-12-28
[2025-01-07 04:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:22:05] Production.INFO: Date 2024-12-29
[2025-01-07 04:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:22:05] Production.INFO: Date 2024-12-30
[2025-01-07 04:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:22:05] Production.INFO: Date 2024-12-31
[2025-01-07 04:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:22:05] Production.INFO: Date 2025-01-01
[2025-01-07 04:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:22:05] Production.INFO: Date 2025-01-02
[2025-01-07 04:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:22:05] Production.INFO: Date 2025-01-03
[2025-01-07 04:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:22:05] Production.INFO: Date 2025-01-04
[2025-01-07 04:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:22:05] Production.INFO: Date 2025-01-05
[2025-01-07 04:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:22:05] Production.INFO: Date 2025-01-06
[2025-01-07 04:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:22:05] Production.INFO: Date 2025-01-07
[2025-01-07 04:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:22:05] Production.INFO: Total Charge 0
[2025-01-07 04:22:05] Production.INFO: CreateAllLog End
[2025-01-07 04:22:06] Production.INFO: Account Balance End.
[2025-01-07 04:22:06] Production.ERROR: CronJobId end 12
[2025-01-07 04:22:06] Production.INFO: ==32584== Releasing lock...
[2025-01-07 04:22:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:22:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:22:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:22:06
[end_date_ymd] => 2025-01-07 04:22:06
[RateCDR] => 1
)
[2025-01-07 04:22:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 01:22:06' and `end` < '2025-01-07 04:22:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 04:22:12] Production.ERROR: CronJobId end10
[2025-01-07 04:22:12] Production.INFO: ==32582== Releasing lock...
[2025-01-07 04:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:22:14] Production.INFO: call_cost start
[2025-01-07 04:22:14] Production.INFO: call_cost end
[2025-01-07 04:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:22:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:22:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:22:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:22:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:22:15] Production.INFO: ==32578== Releasing lock...
[2025-01-07 04:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:22:19] Production.INFO: count ==135
[2025-01-07 04:22:19] Production.ERROR: pbx CDR StartTime 2025-01-07 01:22:06 - End Time 2025-01-07 04:22:06
[2025-01-07 04:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192421', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192421', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192421', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192421', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:22:19] Production.INFO: ProcessCDR(1,14192421,1,1,2)
[2025-01-07 04:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192421,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192421,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192421,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192421,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192421', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192421', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:22:22] Production.INFO: ==32586== Releasing lock...
[2025-01-07 04:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:22:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-07 09:23:01] Production.INFO: ==32644== Lock acquired, processing the job...
[2025-01-07 09:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:23:01] Production.INFO: neon service started
[2025-01-07 09:23:01] Production.INFO: neon service started
[2025-01-07 09:23:01] Production.INFO: ==32644== Releasing lock...
[2025-01-07 09:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:23:02] Production.INFO: ==32646== Lock acquired, processing the job...
[2025-01-07 04:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:23:02] Production.INFO: ==32646== Releasing lock...
[2025-01-07 04:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:23:02] Production.INFO: ==32648== Lock acquired, processing the job...
[2025-01-07 09:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:23:02] Production.INFO: ==32648== Releasing lock...
[2025-01-07 09:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:23:03] Production.INFO: ==32652== Lock acquired, processing the job...
[2025-01-07 04:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:23:03] Production.INFO: ==32658== Lock acquired, processing the job...
[2025-01-07 04:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:23:03] Production.INFO: ==32650== Lock acquired, processing the job...
[2025-01-07 04:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:23:03] Production.INFO: ==32654== Lock acquired, processing the job...
[2025-01-07 04:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:23:03] Production.INFO: ==32656== Lock acquired, processing the job...
[2025-01-07 04:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:23:03] Production.ERROR: done
[2025-01-07 04:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:23:03] Production.INFO: ==32661== Lock acquired, processing the job...
[2025-01-07 04:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:23:03] Production.INFO: Account Balance Start.
[2025-01-07 04:23:03] Production.INFO: CreateAllLog Start
[2025-01-07 04:23:03] Production.INFO: 117
[2025-01-07 04:23:03] Production.INFO: Date 2024-12-08
[2025-01-07 04:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:23:03] Production.ERROR: done
[2025-01-07 04:23:03] Production.INFO: Date 2024-12-09
[2025-01-07 04:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:23:03] Production.INFO: ==32652== Releasing lock...
[2025-01-07 04:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:23:03] Production.INFO: Date 2024-12-10
[2025-01-07 04:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 04:23:03] Production.INFO: Date 2024-12-11
[2025-01-07 04:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:23:03] Production.INFO: count ==21
[2025-01-07 04:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:23:03] Production.INFO: count ==21
[2025-01-07 04:23:03] Production.INFO: Date 2024-12-12
[2025-01-07 04:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192425') start
[2025-01-07 04:23:03] Production.INFO: Date 2024-12-13
[2025-01-07 04:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:23:03] Production.INFO: Date 2024-12-14
[2025-01-07 04:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192425') end
[2025-01-07 04:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:23:04] Production.INFO: 1
[2025-01-07 04:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:23:04] Production.INFO: Date 2024-12-15
[2025-01-07 04:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:23:04] Production.INFO: Date 2024-12-16
[2025-01-07 04:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:23:04] Production.INFO: Date 2024-12-17
[2025-01-07 04:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:23:04] Production.INFO: Date 2024-12-18
[2025-01-07 04:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:23:04] Production.INFO: Date 2024-12-19
[2025-01-07 04:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:23:04] Production.INFO: ==32661== Releasing lock...
[2025-01-07 04:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:23:04] Production.INFO: Date 2024-12-20
[2025-01-07 04:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:23:04] Production.INFO: Date 2024-12-21
[2025-01-07 04:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:23:04] Production.INFO: Date 2024-12-22
[2025-01-07 04:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:23:04] Production.INFO: Date 2024-12-23
[2025-01-07 04:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:23:04] Production.INFO: Date 2024-12-24
[2025-01-07 04:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:23:04] Production.INFO: Date 2024-12-25
[2025-01-07 04:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:23:04] Production.INFO: Date 2024-12-26
[2025-01-07 04:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:23:04] Production.INFO: Date 2024-12-27
[2025-01-07 04:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:23:04] Production.INFO: Date 2024-12-28
[2025-01-07 04:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:23:04] Production.INFO: Date 2024-12-29
[2025-01-07 04:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:23:04] Production.INFO: Date 2024-12-30
[2025-01-07 04:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:23:04] Production.INFO: Date 2024-12-31
[2025-01-07 04:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:23:04] Production.INFO: Date 2025-01-01
[2025-01-07 04:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:23:04] Production.INFO: Date 2025-01-02
[2025-01-07 04:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:23:04] Production.INFO: Date 2025-01-03
[2025-01-07 04:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:23:04] Production.INFO: Date 2025-01-04
[2025-01-07 04:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:23:04] Production.INFO: Date 2025-01-05
[2025-01-07 04:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:23:04] Production.INFO: Date 2025-01-06
[2025-01-07 04:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:23:04] Production.INFO: Date 2025-01-07
[2025-01-07 04:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:23:04] Production.INFO: Total Charge 0
[2025-01-07 04:23:04] Production.INFO: CreateAllLog End
[2025-01-07 04:23:04] Production.INFO: Account Balance End.
[2025-01-07 04:23:05] Production.ERROR: CronJobId end 12
[2025-01-07 04:23:05] Production.INFO: ==32656== Releasing lock...
[2025-01-07 04:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:23:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:23:05
[end_date_ymd] => 2025-01-07 04:23:05
[RateCDR] => 1
)
[2025-01-07 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-07 01:23:05' and `end` < '2025-01-07 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-07 04:23: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-07 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-07 04:23:11] Production.ERROR: CronJobId end10
[2025-01-07 04:23:11] Production.INFO: ==32654== Releasing lock...
[2025-01-07 04:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:23:13] Production.INFO: call_cost start
[2025-01-07 04:23:13] Production.INFO: call_cost end
[2025-01-07 04:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:23:14] Production.INFO: ==32650== Releasing lock...
[2025-01-07 04:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:23:18] Production.INFO: count ==135
[2025-01-07 04:23:18] Production.ERROR: pbx CDR StartTime 2025-01-07 01:23:05 - End Time 2025-01-07 04:23:05
[2025-01-07 04:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192426', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192426', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192426', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192426', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:23:18] Production.INFO: ProcessCDR(1,14192426,1,1,2)
[2025-01-07 04:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192426,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:23:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192426,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:23:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192426,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192426,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192426', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192426', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:23:21] Production.INFO: ==32658== Releasing lock...
[2025-01-07 04:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:23:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-07 09:24:02] Production.INFO: ==32717== Lock acquired, processing the job...
[2025-01-07 09:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:24:02] Production.INFO: neon service started
[2025-01-07 09:24:02] Production.INFO: neon service started
[2025-01-07 09:24:02] Production.INFO: ==32717== Releasing lock...
[2025-01-07 09:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:24:02] Production.INFO: ==32719== Lock acquired, processing the job...
[2025-01-07 04:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:24:02] Production.INFO: ==32719== Releasing lock...
[2025-01-07 04:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:24:02] Production.INFO: ==32721== Lock acquired, processing the job...
[2025-01-07 09:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:24:03] Production.INFO: ==32721== Releasing lock...
[2025-01-07 09:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:24:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:24:03] Production.INFO: ==32734== Lock acquired, processing the job...
[2025-01-07 04:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:24:03] Production.INFO: ==32732== Lock acquired, processing the job...
[2025-01-07 04:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:24:03] Production.INFO: ==32726== Lock acquired, processing the job...
[2025-01-07 04:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:24:03] Production.INFO: ==32724== Lock acquired, processing the job...
[2025-01-07 04:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:24:03] Production.INFO: ==32728== Lock acquired, processing the job...
[2025-01-07 04:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:24:03] Production.INFO: count ==21
[2025-01-07 04:24:03] Production.INFO: ==32730== Lock acquired, processing the job...
[2025-01-07 04:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:24:03] Production.INFO: count ==21
[2025-01-07 04:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192427') start
[2025-01-07 04:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:24:04] Production.INFO: Account Balance Start.
[2025-01-07 04:24:04] Production.INFO: CreateAllLog Start
[2025-01-07 04:24:04] Production.INFO: 117
[2025-01-07 04:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192427') end
[2025-01-07 04:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:24:04] Production.INFO: 1
[2025-01-07 04:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:24:04] Production.INFO: Date 2024-12-08
[2025-01-07 04:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:24:04] Production.INFO: ==32734== Releasing lock...
[2025-01-07 04:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:24:04] Production.INFO: Date 2024-12-09
[2025-01-07 04:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:24:04] Production.ERROR: done
[2025-01-07 04:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:24:04] Production.INFO: Date 2024-12-10
[2025-01-07 04:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:24:04] Production.INFO: Date 2024-12-11
[2025-01-07 04:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:24:04] Production.INFO: ==32726== Releasing lock...
[2025-01-07 04:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:24:04] Production.ERROR: done
[2025-01-07 04:24:04] Production.INFO: Date 2024-12-12
[2025-01-07 04:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:24:04] Production.INFO: Date 2024-12-13
[2025-01-07 04:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:24:04] Production.INFO: Date 2024-12-14
[2025-01-07 04:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:24:04] Production.INFO: Date 2024-12-15
[2025-01-07 04:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:24:04] Production.INFO: Date 2024-12-16
[2025-01-07 04:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:24:04] Production.INFO: Date 2024-12-17
[2025-01-07 04:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:24:04] Production.INFO: Date 2024-12-18
[2025-01-07 04:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:24:04] Production.INFO: Date 2024-12-19
[2025-01-07 04:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:24:04] Production.INFO: Date 2024-12-20
[2025-01-07 04:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:24:04] Production.INFO: Date 2024-12-21
[2025-01-07 04:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:24:04] Production.INFO: Date 2024-12-22
[2025-01-07 04:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:24:04] Production.INFO: Date 2024-12-23
[2025-01-07 04:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:24:04] Production.INFO: Date 2024-12-24
[2025-01-07 04:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:24:04] Production.INFO: Date 2024-12-25
[2025-01-07 04:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:24:04] Production.INFO: Date 2024-12-26
[2025-01-07 04:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:24:04] Production.INFO: Date 2024-12-27
[2025-01-07 04:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:24:04] Production.INFO: Date 2024-12-28
[2025-01-07 04:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:24:04] Production.INFO: Date 2024-12-29
[2025-01-07 04:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:24:04] Production.INFO: Date 2024-12-30
[2025-01-07 04:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:24:04] Production.INFO: Date 2024-12-31
[2025-01-07 04:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:24:05] Production.INFO: Date 2025-01-01
[2025-01-07 04:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:24:05] Production.INFO: Date 2025-01-02
[2025-01-07 04:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:24:05] Production.INFO: Date 2025-01-03
[2025-01-07 04:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:24:05] Production.INFO: Date 2025-01-04
[2025-01-07 04:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:24:05] Production.INFO: Date 2025-01-05
[2025-01-07 04:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:24:05] Production.INFO: Date 2025-01-06
[2025-01-07 04:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:24:05] Production.INFO: Date 2025-01-07
[2025-01-07 04:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:24:05] Production.INFO: Total Charge 0
[2025-01-07 04:24:05] Production.INFO: CreateAllLog End
[2025-01-07 04:24:05] Production.INFO: Account Balance End.
[2025-01-07 04:24:05] Production.ERROR: CronJobId end 12
[2025-01-07 04:24:05] Production.INFO: ==32730== Releasing lock...
[2025-01-07 04:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:24:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:24:05
[end_date_ymd] => 2025-01-07 04:24:05
[RateCDR] => 1
)
[2025-01-07 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-07 01:24:05' and `end` < '2025-01-07 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-07 04:24:11] Production.ERROR: CronJobId end10
[2025-01-07 04:24:11] Production.INFO: ==32728== Releasing lock...
[2025-01-07 04:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:24:14] Production.INFO: call_cost start
[2025-01-07 04:24:14] Production.INFO: call_cost end
[2025-01-07 04:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:24:14] Production.INFO: ==32724== Releasing lock...
[2025-01-07 04:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:24:19] Production.INFO: count ==135
[2025-01-07 04:24:19] Production.ERROR: pbx CDR StartTime 2025-01-07 01:24:05 - End Time 2025-01-07 04:24:05
[2025-01-07 04:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192431', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192431', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192431', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192431', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:24:19] Production.INFO: ProcessCDR(1,14192431,1,1,2)
[2025-01-07 04:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192431,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192431,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192431,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192431,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192431', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192431', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:24:22] Production.INFO: ==32732== Releasing lock...
[2025-01-07 04:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:24:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-07 09:25:01] Production.INFO: ==326== Lock acquired, processing the job...
[2025-01-07 09:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:25:01] Production.INFO: neon service started
[2025-01-07 09:25:01] Production.INFO: neon service started
[2025-01-07 09:25:01] Production.INFO: ==326== Releasing lock...
[2025-01-07 09:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:25:01] Production.INFO: ==328== Lock acquired, processing the job...
[2025-01-07 04:25:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:25:02] Production.INFO: ==330== Lock acquired, processing the job...
[2025-01-07 09:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:25:02] Production.INFO: ==328== Releasing lock...
[2025-01-07 04:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:25:02] Production.INFO: ==330== Releasing lock...
[2025-01-07 09:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:25:03] Production.INFO: ==333== Lock acquired, processing the job...
[2025-01-07 04:25:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10417 #Starts#
[2025-01-07 04:25:03] Production.INFO: ==337== Lock acquired, processing the job...
[2025-01-07 04:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:25:03] Production.INFO: ==335== Lock acquired, processing the job...
[2025-01-07 04:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:25:03] Production.INFO: -- Xero Api Check --
[2025-01-07 04:25:03] Production.INFO: ==355== Lock acquired, processing the job...
[2025-01-07 04:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:25:03] Production.INFO: ==339== Lock acquired, processing the job...
[2025-01-07 04:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:25:03] Production.INFO: ==357== Lock acquired, processing the job...
[2025-01-07 04:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:25:03] Production.INFO: ==353== Lock acquired, processing the job...
[2025-01-07 04:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:25:03] Production.INFO: Account Balance Start.
[2025-01-07 04:25:03] Production.INFO: CreateAllLog Start
[2025-01-07 04:25:03] Production.INFO: 117
[2025-01-07 04:25:03] Production.INFO: Date 2024-12-08
[2025-01-07 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-07 04:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:25:03] Production.INFO: count ==21
[2025-01-07 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-07 04:25:03] Production.INFO: count ==21
[2025-01-07 04:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192434') start
[2025-01-07 04:25:03] Production.INFO: Date 2024-12-09
[2025-01-07 04:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:25:03] Production.INFO: Date 2024-12-10
[2025-01-07 04:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:25:03] Production.INFO: ==337== Releasing lock...
[2025-01-07 04:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:25:03] Production.INFO: Date 2024-12-11
[2025-01-07 04:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:25:03] Production.ERROR: done
[2025-01-07 04:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192434') end
[2025-01-07 04:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:25:03] Production.INFO: 1
[2025-01-07 04:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:25:03] Production.INFO: Date 2024-12-12
[2025-01-07 04:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:25:03] Production.INFO: ==357== Releasing lock...
[2025-01-07 04:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:25:03] Production.ERROR: done
[2025-01-07 04:25:03] Production.INFO: Date 2024-12-13
[2025-01-07 04:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:25:03] Production.INFO: Date 2024-12-14
[2025-01-07 04:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:25:04] Production.INFO: Date 2024-12-15
[2025-01-07 04:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:25:04] Production.INFO: Date 2024-12-16
[2025-01-07 04:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:25:04] Production.INFO: Date 2024-12-17
[2025-01-07 04:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:25:04] Production.INFO: Date 2024-12-18
[2025-01-07 04:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:25:04] Production.INFO: Date 2024-12-19
[2025-01-07 04:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:25:04] Production.INFO: Date 2024-12-20
[2025-01-07 04:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:25:04] Production.INFO: Date 2024-12-21
[2025-01-07 04:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:25:04] Production.INFO: Date 2024-12-22
[2025-01-07 04:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:25:04] Production.INFO: Date 2024-12-23
[2025-01-07 04:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:25:04] Production.INFO: Date 2024-12-24
[2025-01-07 04:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:25:04] Production.INFO: Date 2024-12-25
[2025-01-07 04:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:25:04] Production.INFO: Date 2024-12-26
[2025-01-07 04:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:25:04] Production.INFO: Date 2024-12-27
[2025-01-07 04:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:25:04] Production.INFO: Date 2024-12-28
[2025-01-07 04:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:25:04] Production.INFO: Date 2024-12-29
[2025-01-07 04:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:25:04] Production.INFO: Date 2024-12-30
[2025-01-07 04:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:25:04] Production.INFO: Date 2024-12-31
[2025-01-07 04:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:25:04] Production.INFO: Date 2025-01-01
[2025-01-07 04:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:25: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] => 856
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 1.312342
[namelookup_time] => 0.551634
[connect_time] => 0.649605
[pretransfer_time] => 1.047949
[size_upload] => 82
[size_download] => 2755
[speed_download] => 2099
[speed_upload] => 62
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 1.3123
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 2.22.251.42
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 33718
)
[2025-01-07 04:25:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDE5MDQsImV4cCI6MTczNjI0MjIwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQxOTA0LCJhdF9oYXNoIjoidGZ4QmV1ZXVOMWxfc3VOT0xUMHVwZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.yo7Y7gcqMgqH3aPj_ODAUhz1rH-8MoLq78Dyh4OcGOTbIAkQop8fPXDgCf-IYxlK7K4eai5ScIAyv4QZOePY_qQL0SSFxs6HTwARBAmTI63JhGeXyCHbbUhlCrQ_AHHzBbPJSm62iLH33qeBp-Msmn7NHHfvUWX56Cg867Z1zS4DZTQxAepOHmstZvcMyr0PCRVO4LC3hDqZAL0b_lM59hrFVWUJt9wtarhxEYUwEdWjFrGwOjxkqqaEJS0UMclKkF4MFk9OqBnTftFtXHLU5Az4nZwcoH4u6tULBrRFmg75K_xWvqH5oQTLFDNZGPefaHlcik6QWq7WyJvCHZKVGw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDE5MDQsImV4cCI6MTczNjI0MzcwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.N2u03bB7PHMvFnVqAVN_3Ywtk1bYXic4ukJ4T1DkKaTrNUUjxBWsfxNqhpgMIyXjuaCFnkxqlYUp4yHlYGy3bWRksWLaZz6v8faHHnnOKJRG0vEbXLcL1mr6qKt4ZX9gVqIprh4KBcuYBrh3lo2SYhWIUz343dZ35-DOGv2OR-GfLCEqPQz7VO9vBSmHv8D9QYuP0321NpvW2XKq-UmHvRvxGySBfOWcmyI09oRbkZ3uDPtGdNsSblMP-e01DHevUlPwsc_V6e9xx-lfJYJp3i3RuNXF9HPtGziDH82gbXjPsox1QQmddGrcye-IM4IQKbeGc-Fq0jJvgYGP2WGHHQ
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => bhde6w0GX5a-1yBdcZg3byTIxJgvP9UFtN_tsIEcB-Y
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 04:25:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDE5MDQsImV4cCI6MTczNjI0MjIwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQxOTA0LCJhdF9oYXNoIjoidGZ4QmV1ZXVOMWxfc3VOT0xUMHVwZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.yo7Y7gcqMgqH3aPj_ODAUhz1rH-8MoLq78Dyh4OcGOTbIAkQop8fPXDgCf-IYxlK7K4eai5ScIAyv4QZOePY_qQL0SSFxs6HTwARBAmTI63JhGeXyCHbbUhlCrQ_AHHzBbPJSm62iLH33qeBp-Msmn7NHHfvUWX56Cg867Z1zS4DZTQxAepOHmstZvcMyr0PCRVO4LC3hDqZAL0b_lM59hrFVWUJt9wtarhxEYUwEdWjFrGwOjxkqqaEJS0UMclKkF4MFk9OqBnTftFtXHLU5Az4nZwcoH4u6tULBrRFmg75K_xWvqH5oQTLFDNZGPefaHlcik6QWq7WyJvCHZKVGw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDE5MDQsImV4cCI6MTczNjI0MzcwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.N2u03bB7PHMvFnVqAVN_3Ywtk1bYXic4ukJ4T1DkKaTrNUUjxBWsfxNqhpgMIyXjuaCFnkxqlYUp4yHlYGy3bWRksWLaZz6v8faHHnnOKJRG0vEbXLcL1mr6qKt4ZX9gVqIprh4KBcuYBrh3lo2SYhWIUz343dZ35-DOGv2OR-GfLCEqPQz7VO9vBSmHv8D9QYuP0321NpvW2XKq-UmHvRvxGySBfOWcmyI09oRbkZ3uDPtGdNsSblMP-e01DHevUlPwsc_V6e9xx-lfJYJp3i3RuNXF9HPtGziDH82gbXjPsox1QQmddGrcye-IM4IQKbeGc-Fq0jJvgYGP2WGHHQ
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => bhde6w0GX5a-1yBdcZg3byTIxJgvP9UFtN_tsIEcB-Y
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 04:25:04] Production.INFO: Date 2025-01-02
[2025-01-07 04:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:25:04] Production.INFO: Date 2025-01-03
[2025-01-07 04:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:25:04] Production.INFO: Date 2025-01-04
[2025-01-07 04:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:25:04] Production.INFO: Date 2025-01-05
[2025-01-07 04:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:25:04] Production.INFO: Date 2025-01-06
[2025-01-07 04:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:25:04] Production.INFO: Date 2025-01-07
[2025-01-07 04:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:25:04] Production.INFO: Total Charge 0
[2025-01-07 04:25:04] Production.INFO: CreateAllLog End
[2025-01-07 04:25:04] Production.INFO: AccountID 39
[2025-01-07 04:25:05] Production.INFO: AccountName Riavera
[2025-01-07 04:25:05] Production.INFO: Checkcustomer
[2025-01-07 04:25:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Riavera"
[2025-01-07 04:25:05] Production.INFO: Account Balance End.
[2025-01-07 04:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:25:05
[end_date_ymd] => 2025-01-07 04:25:05
[RateCDR] => 1
)
[2025-01-07 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-07 01:25:05' and `end` < '2025-01-07 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-07 04:25:05] Production.ERROR: CronJobId end 12
[2025-01-07 04:25:05] Production.INFO: ==353== Releasing lock...
[2025-01-07 04:25:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:25:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:25:07] Production.INFO: Contact id print CheckCustomer Case===e55c0831-3c53-4fcf-8b75-89133eb5af09
[2025-01-07 04:25:07] Production.INFO: -- count --1
[2025-01-07 04:25:07] Production.INFO: AccountID 133
[2025-01-07 04:25:07] Production.INFO: AccountName Compass ELC - Admin
[2025-01-07 04:25:07] Production.INFO: Checkcustomer
[2025-01-07 04:25:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Admin"
[2025-01-07 04:25:09] Production.INFO: Contact id print CheckCustomer Case===45a97611-b88b-4aeb-9499-d79cf1bf033c
[2025-01-07 04:25:09] Production.INFO: -- count --1
[2025-01-07 04:25:09] Production.INFO: AccountID 235
[2025-01-07 04:25:09] Production.INFO: AccountName All Seasons Learning Center
[2025-01-07 04:25:09] Production.INFO: Checkcustomer
[2025-01-07 04:25:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="All%20Seasons%20Learning%20Center"
[2025-01-07 04:25:11] Production.ERROR: CronJobId end10
[2025-01-07 04:25:11] Production.INFO: ==339== Releasing lock...
[2025-01-07 04:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:25:12] Production.INFO: Contact id print CheckCustomer Case===680201a7-650c-4c24-b7d7-b8171bdcd911
[2025-01-07 04:25:12] Production.INFO: -- count --1
[2025-01-07 04:25:12] Production.INFO: AccountID 236
[2025-01-07 04:25:12] Production.INFO: AccountName Keogh Construction
[2025-01-07 04:25:12] Production.INFO: Checkcustomer
[2025-01-07 04:25:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Keogh%20Construction"
[2025-01-07 04:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:25:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:25:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:25:14] Production.INFO: call_cost start
[2025-01-07 04:25:14] Production.INFO: call_cost end
[2025-01-07 04:25:14] Production.INFO: Contact id print CheckCustomer Case===cad302ad-7c7e-456b-bcf1-bd7729cb22b7
[2025-01-07 04:25:14] Production.INFO: -- count --1
[2025-01-07 04:25:14] Production.INFO: AccountID 53
[2025-01-07 04:25:14] Production.INFO: AccountName Plus Travel Group
[2025-01-07 04:25:14] Production.INFO: Checkcustomer
[2025-01-07 04:25:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plus%20Travel%20Group"
[2025-01-07 04:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:25:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:25:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:25:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:25:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:25:15] Production.INFO: ==335== Releasing lock...
[2025-01-07 04:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:25:17] Production.INFO: Contact id print CheckCustomer Case===5f6b39a6-c5bb-485f-9fdd-a6c7a1eccc47
[2025-01-07 04:25:17] Production.INFO: -- count --1
[2025-01-07 04:25:17] Production.INFO: AccountID 237
[2025-01-07 04:25:17] Production.INFO: AccountName Natural Insect Control
[2025-01-07 04:25:17] Production.INFO: Checkcustomer
[2025-01-07 04:25:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Natural%20Insect%20Control"
[2025-01-07 04:25:17] Production.INFO: count ==135
[2025-01-07 04:25:17] Production.ERROR: pbx CDR StartTime 2025-01-07 01:25:05 - End Time 2025-01-07 04:25:05
[2025-01-07 04:25:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192436', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192436', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192436', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192436', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:25:17] Production.INFO: ProcessCDR(1,14192436,1,1,2)
[2025-01-07 04:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192436,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:25:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192436,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:25:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192436,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:25:20] Production.INFO: Contact id print CheckCustomer Case===fcade0cf-7b43-4bfe-86cf-b6c9e33f1686
[2025-01-07 04:25:20] Production.INFO: -- count --1
[2025-01-07 04:25:20] Production.INFO: AccountID 133
[2025-01-07 04:25:20] Production.INFO: AccountName Compass ELC - Admin
[2025-01-07 04:25:20] Production.INFO: Checkcustomer
[2025-01-07 04:25:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Admin"
[2025-01-07 04:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192436,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192436', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192436', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:25:21] Production.INFO: ==355== Releasing lock...
[2025-01-07 04:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:25:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-07 04:25:22] Production.INFO: Contact id print CheckCustomer Case===45a97611-b88b-4aeb-9499-d79cf1bf033c
[2025-01-07 04:25:22] Production.INFO: -- count --1
[2025-01-07 04:25:22] Production.INFO: AccountID 235
[2025-01-07 04:25:22] Production.INFO: AccountName All Seasons Learning Center
[2025-01-07 04:25:22] Production.INFO: Checkcustomer
[2025-01-07 04:25:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="All%20Seasons%20Learning%20Center"
[2025-01-07 04:25:25] Production.INFO: Contact id print CheckCustomer Case===680201a7-650c-4c24-b7d7-b8171bdcd911
[2025-01-07 04:25:25] Production.INFO: -- count --1
[2025-01-07 04:25:25] Production.INFO: AccountID 90
[2025-01-07 04:25:25] Production.INFO: AccountName Terry Anderson
[2025-01-07 04:25:25] Production.INFO: Checkcustomer
[2025-01-07 04:25:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Terry%20Anderson"
[2025-01-07 04:25:28] Production.INFO: Contact id print CheckCustomer Case===d5be271f-e649-44ed-a97e-8af24111fe24
[2025-01-07 04:25:28] Production.INFO: -- count --1
[2025-01-07 04:25:28] Production.INFO: AccountID 63
[2025-01-07 04:25:28] Production.INFO: AccountName Clek Inc.
[2025-01-07 04:25:28] Production.INFO: Checkcustomer
[2025-01-07 04:25:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc."
[2025-01-07 04:25:30] Production.INFO: Contact id print CheckCustomer Case===c5a4d0ce-0d87-4131-b0d8-9808badfe70b
[2025-01-07 04:25:30] Production.INFO: -- count --1
[2025-01-07 04:25:30] Production.INFO: AccountID 53
[2025-01-07 04:25:30] Production.INFO: AccountName Plus Travel Group
[2025-01-07 04:25:30] Production.INFO: Checkcustomer
[2025-01-07 04:25:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plus%20Travel%20Group"
[2025-01-07 04:25:32] Production.INFO: Contact id print CheckCustomer Case===5f6b39a6-c5bb-485f-9fdd-a6c7a1eccc47
[2025-01-07 04:25:32] Production.INFO: -- count --1
[2025-01-07 04:25:32] Production.INFO: AccountID 236
[2025-01-07 04:25:32] Production.INFO: AccountName Keogh Construction
[2025-01-07 04:25:32] Production.INFO: Checkcustomer
[2025-01-07 04:25:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Keogh%20Construction"
[2025-01-07 04:25:34] Production.INFO: Contact id print CheckCustomer Case===cad302ad-7c7e-456b-bcf1-bd7729cb22b7
[2025-01-07 04:25:34] Production.INFO: -- count --1
[2025-01-07 04:25:34] Production.INFO: AccountID 237
[2025-01-07 04:25:34] Production.INFO: AccountName Natural Insect Control
[2025-01-07 04:25:34] Production.INFO: Checkcustomer
[2025-01-07 04:25:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Natural%20Insect%20Control"
[2025-01-07 04:25:36] Production.INFO: Contact id print CheckCustomer Case===fcade0cf-7b43-4bfe-86cf-b6c9e33f1686
[2025-01-07 04:25:36] Production.INFO: -- count --1
[2025-01-07 04:25:36] Production.INFO: AccountID 53
[2025-01-07 04:25:36] Production.INFO: AccountName Plus Travel Group
[2025-01-07 04:25:36] Production.INFO: Checkcustomer
[2025-01-07 04:25:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plus%20Travel%20Group"
[2025-01-07 04:25:39] Production.INFO: Contact id print CheckCustomer Case===5f6b39a6-c5bb-485f-9fdd-a6c7a1eccc47
[2025-01-07 04:25:39] Production.INFO: -- count --1
[2025-01-07 04:25:39] Production.INFO: AccountID 232
[2025-01-07 04:25:39] Production.INFO: AccountName Jenopher Inc.
[2025-01-07 04:25:39] Production.INFO: Checkcustomer
[2025-01-07 04:25:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Jenopher%20Inc."
[2025-01-07 04:25:41] Production.INFO: Contact id print CheckCustomer Case===5fa26058-5c6f-4ffe-9c35-4f8d77ccf359
[2025-01-07 04:25:41] Production.INFO: -- count --1
[2025-01-07 04:25:41] Production.INFO: AccountID 4
[2025-01-07 04:25:41] Production.INFO: AccountName UNIGLOBE Canada
[2025-01-07 04:25:41] Production.INFO: Checkcustomer
[2025-01-07 04:25:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="UNIGLOBE%20Canada"
[2025-01-07 04:25:44] Production.INFO: Contact id print CheckCustomer Case===d965b2fe-ffb5-4359-bc08-f6a098234349
[2025-01-07 04:25:44] Production.INFO: -- count --1
[2025-01-07 04:25:44] Production.INFO: AccountID 4
[2025-01-07 04:25:44] Production.INFO: AccountName UNIGLOBE Canada
[2025-01-07 04:25:44] Production.INFO: Checkcustomer
[2025-01-07 04:25:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="UNIGLOBE%20Canada"
[2025-01-07 04:25:47] Production.INFO: Contact id print CheckCustomer Case===d965b2fe-ffb5-4359-bc08-f6a098234349
[2025-01-07 04:25:47] Production.INFO: -- count --1
[2025-01-07 04:25:47] Production.INFO: AccountID 25
[2025-01-07 04:25:47] Production.INFO: AccountName Harding Security
[2025-01-07 04:25:47] Production.INFO: Checkcustomer
[2025-01-07 04:25:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Harding%20Security"
[2025-01-07 04:25:50] Production.INFO: Contact id print CheckCustomer Case===631aa009-5337-4bbb-817f-724f7ca5f6db
[2025-01-07 04:25:50] Production.INFO: -- count --1
[2025-01-07 04:25:50] Production.INFO: AccountID 63
[2025-01-07 04:25:50] Production.INFO: AccountName Clek Inc.
[2025-01-07 04:25:50] Production.INFO: Checkcustomer
[2025-01-07 04:25:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc."
[2025-01-07 04:25:52] Production.INFO: Contact id print CheckCustomer Case===c5a4d0ce-0d87-4131-b0d8-9808badfe70b
[2025-01-07 04:25:52] Production.INFO: -- count --1
[2025-01-07 04:25:52] Production.INFO: AccountID 237
[2025-01-07 04:25:52] Production.INFO: AccountName Natural Insect Control
[2025-01-07 04:25:52] Production.INFO: Checkcustomer
[2025-01-07 04:25:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Natural%20Insect%20Control"
[2025-01-07 04:25:54] Production.INFO: Contact id print CheckCustomer Case===fcade0cf-7b43-4bfe-86cf-b6c9e33f1686
[2025-01-07 04:25:54] Production.INFO: -- count --1
[2025-01-07 04:25:54] Production.INFO: AccountID 53
[2025-01-07 04:25:54] Production.INFO: AccountName Plus Travel Group
[2025-01-07 04:25:54] Production.INFO: Checkcustomer
[2025-01-07 04:25:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plus%20Travel%20Group"
[2025-01-07 04:25:57] Production.INFO: Contact id print CheckCustomer Case===5f6b39a6-c5bb-485f-9fdd-a6c7a1eccc47
[2025-01-07 04:25:57] Production.INFO: -- count --1
[2025-01-07 04:25:57] Production.INFO: AccountID 236
[2025-01-07 04:25:57] Production.INFO: AccountName Keogh Construction
[2025-01-07 04:25:57] Production.INFO: Checkcustomer
[2025-01-07 04:25:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Keogh%20Construction"
[2025-01-07 04:25:59] Production.INFO: Contact id print CheckCustomer Case===cad302ad-7c7e-456b-bcf1-bd7729cb22b7
[2025-01-07 04:25:59] Production.INFO: -- count --1
[2025-01-07 04:25:59] Production.INFO: AccountID 63
[2025-01-07 04:25:59] Production.INFO: AccountName Clek Inc.
[2025-01-07 04:25:59] Production.INFO: Checkcustomer
[2025-01-07 04:25:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc."
[2025-01-07 04:26:02] Production.INFO: Contact id print CheckCustomer Case===c5a4d0ce-0d87-4131-b0d8-9808badfe70b
[2025-01-07 04:26:02] Production.INFO: -- count --1
[2025-01-07 04:26:02] Production.INFO: AccountID 133
[2025-01-07 04:26:02] Production.INFO: AccountName Compass ELC - Admin
[2025-01-07 04:26:02] Production.INFO: Checkcustomer
[2025-01-07 04:26:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Admin"
[2025-01-07 09:26:02] Production.INFO: ==431== Lock acquired, processing the job...
[2025-01-07 09:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:26:02] Production.INFO: neon service started
[2025-01-07 09:26:02] Production.INFO: neon service started
[2025-01-07 09:26:02] Production.INFO: ==431== Releasing lock...
[2025-01-07 09:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:26:02] Production.INFO: ==434== Lock acquired, processing the job...
[2025-01-07 04:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:26:03] Production.INFO: ==434== Releasing lock...
[2025-01-07 04:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:26:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:26:03] Production.INFO: ==436== Lock acquired, processing the job...
[2025-01-07 09:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:26:03] Production.INFO: ==436== Releasing lock...
[2025-01-07 09:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:26:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:26:03] Production.INFO: ==439== Lock acquired, processing the job...
[2025-01-07 04:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:26:04] Production.INFO: ==441== Lock acquired, processing the job...
[2025-01-07 04:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:26:04] Production.INFO: ==443== Lock acquired, processing the job...
[2025-01-07 04:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:26:04] Production.INFO: ==445== Lock acquired, processing the job...
[2025-01-07 04:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:26:04] Production.INFO: ==449== Lock acquired, processing the job...
[2025-01-07 04:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:26:04] Production.INFO: ==447== Lock acquired, processing the job...
[2025-01-07 04:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:26:04] Production.INFO: Account Balance Start.
[2025-01-07 04:26:04] Production.INFO: CreateAllLog Start
[2025-01-07 04:26:04] Production.INFO: 117
[2025-01-07 04:26:04] Production.INFO: Date 2024-12-08
[2025-01-07 04:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:26:04] Production.INFO: Date 2024-12-09
[2025-01-07 04:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:26:04] Production.INFO: ==441== Releasing lock...
[2025-01-07 04:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 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-07 04:26:04] Production.INFO: Date 2024-12-10
[2025-01-07 04:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:26:04] Production.INFO: Date 2024-12-11
[2025-01-07 04:26:04] Production.INFO: count ==21
[2025-01-07 04:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 04:26:04] Production.INFO: count ==21
[2025-01-07 04:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192440') start
[2025-01-07 04:26:04] Production.INFO: Date 2024-12-12
[2025-01-07 04:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:26:04] Production.INFO: Date 2024-12-13
[2025-01-07 04:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:26:04] Production.INFO: Date 2024-12-14
[2025-01-07 04:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:26:04] Production.ERROR: done
[2025-01-07 04:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192440') end
[2025-01-07 04:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:26:04] Production.INFO: 1
[2025-01-07 04:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:26:04] Production.INFO: Date 2024-12-15
[2025-01-07 04:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:26:04] Production.INFO: Date 2024-12-16
[2025-01-07 04:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:26:04] Production.INFO: Date 2024-12-17
[2025-01-07 04:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:26:04] Production.INFO: Contact id print CheckCustomer Case===45a97611-b88b-4aeb-9499-d79cf1bf033c
[2025-01-07 04:26:04] Production.INFO: -- count --1
[2025-01-07 04:26:04] Production.INFO: AccountID 235
[2025-01-07 04:26:04] Production.INFO: AccountName All Seasons Learning Center
[2025-01-07 04:26:04] Production.INFO: Checkcustomer
[2025-01-07 04:26:04] Production.INFO: Date 2024-12-18
[2025-01-07 04:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:26:04] Production.INFO: ==449== Releasing lock...
[2025-01-07 04:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:26:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="All%20Seasons%20Learning%20Center"
[2025-01-07 04:26:04] Production.ERROR: done
[2025-01-07 04:26:04] Production.INFO: Date 2024-12-19
[2025-01-07 04:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:26:04] Production.INFO: Date 2024-12-20
[2025-01-07 04:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:26:05] Production.INFO: Date 2024-12-21
[2025-01-07 04:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:26:05] Production.INFO: Date 2024-12-22
[2025-01-07 04:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:26:05] Production.INFO: Date 2024-12-23
[2025-01-07 04:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:26:05] Production.INFO: Date 2024-12-24
[2025-01-07 04:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:26:05] Production.INFO: Date 2024-12-25
[2025-01-07 04:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:26:05] Production.INFO: Date 2024-12-26
[2025-01-07 04:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:26:05] Production.INFO: Date 2024-12-27
[2025-01-07 04:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:26:05] Production.INFO: Date 2024-12-28
[2025-01-07 04:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:26:05] Production.INFO: Date 2024-12-29
[2025-01-07 04:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:26:05] Production.INFO: Date 2024-12-30
[2025-01-07 04:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:26:05] Production.INFO: Date 2024-12-31
[2025-01-07 04:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:26:05] Production.INFO: Date 2025-01-01
[2025-01-07 04:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:26:05] Production.INFO: Date 2025-01-02
[2025-01-07 04:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:26:05] Production.INFO: Date 2025-01-03
[2025-01-07 04:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:26:05] Production.INFO: Date 2025-01-04
[2025-01-07 04:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:26:05] Production.INFO: Date 2025-01-05
[2025-01-07 04:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:26:05] Production.INFO: Date 2025-01-06
[2025-01-07 04:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:26:05] Production.INFO: Date 2025-01-07
[2025-01-07 04:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:26:05] Production.INFO: Total Charge 0
[2025-01-07 04:26:05] Production.INFO: CreateAllLog End
[2025-01-07 04:26:05] Production.INFO: Account Balance End.
[2025-01-07 04:26:05] Production.ERROR: CronJobId end 12
[2025-01-07 04:26:05] Production.INFO: ==445== Releasing lock...
[2025-01-07 04:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:26:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:26:05
[end_date_ymd] => 2025-01-07 04:26:05
[RateCDR] => 1
)
[2025-01-07 04:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 01:26:05' and `end` < '2025-01-07 04:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 04:26:07] Production.INFO: Contact id print CheckCustomer Case===680201a7-650c-4c24-b7d7-b8171bdcd911
[2025-01-07 04:26:07] Production.INFO: -- count --1
[2025-01-07 04:26:07] Production.INFO: AccountID 53
[2025-01-07 04:26:07] Production.INFO: AccountName Plus Travel Group
[2025-01-07 04:26:07] Production.INFO: Checkcustomer
[2025-01-07 04:26:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plus%20Travel%20Group"
[2025-01-07 04:26:09] Production.INFO: Contact id print CheckCustomer Case===5f6b39a6-c5bb-485f-9fdd-a6c7a1eccc47
[2025-01-07 04:26:09] Production.INFO: -- count --1
[2025-01-07 04:26:10] Production.INFO: AccountID 143
[2025-01-07 04:26:10] Production.INFO: AccountName Orange Contracting
[2025-01-07 04:26:10] Production.INFO: Checkcustomer
[2025-01-07 04:26:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Orange%20Contracting"
[2025-01-07 04:26:11] Production.ERROR: CronJobId end10
[2025-01-07 04:26:11] Production.INFO: ==443== Releasing lock...
[2025-01-07 04:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:26:12] Production.INFO: Contact id print CheckCustomer Case===075abb78-3e33-47bd-a869-70486b7179f2
[2025-01-07 04:26:12] Production.INFO: -- count --1
[2025-01-07 04:26:12] Production.INFO: AccountID 90
[2025-01-07 04:26:12] Production.INFO: AccountName Terry Anderson
[2025-01-07 04:26:12] Production.INFO: Checkcustomer
[2025-01-07 04:26:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Terry%20Anderson"
[2025-01-07 04:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:26:13] Production.INFO: call_cost start
[2025-01-07 04:26:13] Production.INFO: call_cost end
[2025-01-07 04:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:26:14] Production.INFO: ==439== Releasing lock...
[2025-01-07 04:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:26:15] Production.INFO: Contact id print CheckCustomer Case===d5be271f-e649-44ed-a97e-8af24111fe24
[2025-01-07 04:26:15] Production.INFO: -- count --1
[2025-01-07 04:26:15] Production.INFO: AccountID 230
[2025-01-07 04:26:15] Production.INFO: AccountName Harbourfront Medicine Cabinet
[2025-01-07 04:26:15] Production.INFO: Checkcustomer
[2025-01-07 04:26:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Harbourfront%20Medicine%20Cabinet"
[2025-01-07 04:26:17] Production.INFO: Contact id print CheckCustomer Case===e4609e79-2a2f-49b0-a0f8-9766de2b1774
[2025-01-07 04:26:17] Production.INFO: -- count --1
[2025-01-07 04:26:17] Production.INFO: AccountID 86
[2025-01-07 04:26:17] Production.INFO: AccountName Selective Conformal Coatings Inc.
[2025-01-07 04:26:17] Production.INFO: Checkcustomer
[2025-01-07 04:26:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Selective%20Conformal%20Coatings%20Inc."
[2025-01-07 04:26:19] Production.INFO: Contact id print CheckCustomer Case===829ddc9d-f1ae-447b-9687-394867f488a7
[2025-01-07 04:26:19] Production.INFO: -- count --1
[2025-01-07 04:26:19] Production.INFO: AccountID 243
[2025-01-07 04:26:19] Production.INFO: AccountName Bio-Ag Consultants & Distributors Inc.
[2025-01-07 04:26:19] Production.INFO: Checkcustomer
[2025-01-07 04:26:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Bio-Ag%20Consultants%20%26%20Distributors%20Inc."
[2025-01-07 04:26:20] Production.INFO: count ==128
[2025-01-07 04:26:20] Production.ERROR: pbx CDR StartTime 2025-01-07 01:26:05 - End Time 2025-01-07 04:26:05
[2025-01-07 04:26:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192441', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192441', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192441', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192441', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:26:20] Production.INFO: ProcessCDR(1,14192441,1,1,2)
[2025-01-07 04:26:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192441,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:26:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192441,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:26:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192441,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:26:22] Production.INFO: -- count --0
[2025-01-07 04:26:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192441,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192441', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192441', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:26:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:26:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:26:23] Production.INFO: ==447== Releasing lock...
[2025-01-07 04:26:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:26:23] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:26:24] Production.INFO: ==== Contact Information 1
[2025-01-07 04:26:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Bio-Ag%20Consultants%20%26%20Distributors%20Inc."
[2025-01-07 04:26:27] Production.INFO: ContactID d07f68ac-89bd-4e73-ae6e-c60c05b83dae
[2025-01-07 04:26:27] Production.INFO: -- Create Customer id --d07f68ac-89bd-4e73-ae6e-c60c05b83dae
[2025-01-07 04:26:27] Production.INFO: -- Create Customer name --test customer
[2025-01-07 04:26:27] Production.INFO: AccountID 4
[2025-01-07 04:26:27] Production.INFO: AccountName UNIGLOBE Canada
[2025-01-07 04:26:27] Production.INFO: Checkcustomer
[2025-01-07 04:26:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="UNIGLOBE%20Canada"
[2025-01-07 04:26:29] Production.INFO: Contact id print CheckCustomer Case===d965b2fe-ffb5-4359-bc08-f6a098234349
[2025-01-07 04:26:29] Production.INFO: -- count --1
[2025-01-07 04:26:29] Production.INFO: AccountID 4
[2025-01-07 04:26:29] Production.INFO: AccountName UNIGLOBE Canada
[2025-01-07 04:26:29] Production.INFO: Checkcustomer
[2025-01-07 04:26:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="UNIGLOBE%20Canada"
[2025-01-07 04:26:31] Production.INFO: Contact id print CheckCustomer Case===d965b2fe-ffb5-4359-bc08-f6a098234349
[2025-01-07 04:26:31] Production.INFO: -- count --1
[2025-01-07 04:26:31] Production.INFO: AccountID 241
[2025-01-07 04:26:31] Production.INFO: AccountName Quiznos 15192 (Akshay Naik)
[2025-01-07 04:26:31] Production.INFO: Checkcustomer
[2025-01-07 04:26:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015192%20%28Akshay%20Naik%29"
[2025-01-07 04:26:33] Production.INFO: Contact id print CheckCustomer Case===9f823e1c-f0d1-4915-b9fd-4b0d691e058e
[2025-01-07 04:26:33] Production.INFO: -- count --1
[2025-01-07 04:26:33] Production.INFO: AccountID 227
[2025-01-07 04:26:33] Production.INFO: AccountName Quiznos 15184 (Akshay Naik)
[2025-01-07 04:26:33] Production.INFO: Checkcustomer
[2025-01-07 04:26:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015184%20%28Akshay%20Naik%29"
[2025-01-07 04:26:35] Production.INFO: Contact id print CheckCustomer Case===7d4d8a6e-9b66-4daf-be5c-0e7e0524121b
[2025-01-07 04:26:35] Production.INFO: -- count --1
[2025-01-07 04:26:35] Production.INFO: AccountID 93
[2025-01-07 04:26:35] Production.INFO: AccountName Personas
[2025-01-07 04:26:35] Production.INFO: Checkcustomer
[2025-01-07 04:26:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Personas"
[2025-01-07 04:26:37] Production.INFO: Contact id print CheckCustomer Case===31472f57-4acd-4468-9ab0-8ed346b2d96f
[2025-01-07 04:26:37] Production.INFO: -- count --1
[2025-01-07 04:26:37] Production.INFO: AccountID 213
[2025-01-07 04:26:37] Production.INFO: AccountName One City Peterborough
[2025-01-07 04:26:37] Production.INFO: Checkcustomer
[2025-01-07 04:26:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="One%20City%20Peterborough"
[2025-01-07 04:26:39] Production.INFO: Contact id print CheckCustomer Case===5e7868ac-fe74-43a1-ada1-68662ffb17f1
[2025-01-07 04:26:39] Production.INFO: -- count --1
[2025-01-07 04:26:39] Production.INFO: AccountID 78
[2025-01-07 04:26:39] Production.INFO: AccountName Halcyon Travel
[2025-01-07 04:26:39] Production.INFO: Checkcustomer
[2025-01-07 04:26:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Halcyon%20Travel"
[2025-01-07 04:26:42] Production.INFO: Contact id print CheckCustomer Case===2fb0f102-2ef2-41cf-8d40-4c3f58cf996f
[2025-01-07 04:26:42] Production.INFO: -- count --1
[2025-01-07 04:26:42] Production.INFO: AccountID 143
[2025-01-07 04:26:42] Production.INFO: AccountName Orange Contracting
[2025-01-07 04:26:42] Production.INFO: Checkcustomer
[2025-01-07 04:26:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Orange%20Contracting"
[2025-01-07 04:26:44] Production.INFO: Contact id print CheckCustomer Case===075abb78-3e33-47bd-a869-70486b7179f2
[2025-01-07 04:26:44] Production.INFO: -- count --1
[2025-01-07 04:26:44] Production.INFO: AccountID 63
[2025-01-07 04:26:44] Production.INFO: AccountName Clek Inc.
[2025-01-07 04:26:44] Production.INFO: Checkcustomer
[2025-01-07 04:26:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc."
[2025-01-07 04:26:47] Production.INFO: Contact id print CheckCustomer Case===c5a4d0ce-0d87-4131-b0d8-9808badfe70b
[2025-01-07 04:26:47] Production.INFO: -- count --1
[2025-01-07 04:26:47] Production.INFO: AccountID 236
[2025-01-07 04:26:47] Production.INFO: AccountName Keogh Construction
[2025-01-07 04:26:47] Production.INFO: Checkcustomer
[2025-01-07 04:26:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Keogh%20Construction"
[2025-01-07 04:26:50] Production.INFO: Contact id print CheckCustomer Case===cad302ad-7c7e-456b-bcf1-bd7729cb22b7
[2025-01-07 04:26:50] Production.INFO: -- count --1
[2025-01-07 04:26:50] Production.INFO: AccountID 237
[2025-01-07 04:26:50] Production.INFO: AccountName Natural Insect Control
[2025-01-07 04:26:50] Production.INFO: Checkcustomer
[2025-01-07 04:26:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Natural%20Insect%20Control"
[2025-01-07 04:26:52] Production.INFO: Contact id print CheckCustomer Case===fcade0cf-7b43-4bfe-86cf-b6c9e33f1686
[2025-01-07 04:26:52] Production.INFO: -- count --1
[2025-01-07 04:26:52] Production.INFO: AccountID 53
[2025-01-07 04:26:52] Production.INFO: AccountName Plus Travel Group
[2025-01-07 04:26:52] Production.INFO: Checkcustomer
[2025-01-07 04:26:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plus%20Travel%20Group"
[2025-01-07 04:26:55] Production.INFO: Contact id print CheckCustomer Case===5f6b39a6-c5bb-485f-9fdd-a6c7a1eccc47
[2025-01-07 04:26:55] Production.INFO: -- count --1
[2025-01-07 04:26:55] Production.INFO: AccountID 86
[2025-01-07 04:26:55] Production.INFO: AccountName Selective Conformal Coatings Inc.
[2025-01-07 04:26:55] Production.INFO: Checkcustomer
[2025-01-07 04:26:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Selective%20Conformal%20Coatings%20Inc."
[2025-01-07 04:26:57] Production.INFO: Contact id print CheckCustomer Case===829ddc9d-f1ae-447b-9687-394867f488a7
[2025-01-07 04:26:57] Production.INFO: -- count --1
[2025-01-07 04:26:57] Production.INFO: AccountID 226
[2025-01-07 04:26:57] Production.INFO: AccountName Dominos 10189 (Akshay Naik)
[2025-01-07 04:26:57] Production.INFO: Checkcustomer
[2025-01-07 04:26:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010189%20%28Akshay%20Naik%29"
[2025-01-07 04:26:59] Production.INFO: Contact id print CheckCustomer Case===4982fdbe-e8c3-4cfb-854b-994478db81a7
[2025-01-07 04:26:59] Production.INFO: -- count --1
[2025-01-07 04:26:59] Production.INFO: AccountID 4
[2025-01-07 04:26:59] Production.INFO: AccountName UNIGLOBE Canada
[2025-01-07 04:26:59] Production.INFO: Checkcustomer
[2025-01-07 04:26:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="UNIGLOBE%20Canada"
[2025-01-07 09:27:01] Production.INFO: ==528== Lock acquired, processing the job...
[2025-01-07 09:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:27:01] Production.INFO: neon service started
[2025-01-07 09:27:01] Production.INFO: neon service started
[2025-01-07 09:27:01] Production.INFO: ==528== Releasing lock...
[2025-01-07 09:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:27:02] Production.INFO: Contact id print CheckCustomer Case===d965b2fe-ffb5-4359-bc08-f6a098234349
[2025-01-07 04:27:02] Production.INFO: -- count --1
[2025-01-07 04:27:02] Production.INFO: AccountID 63
[2025-01-07 04:27:02] Production.INFO: AccountName Clek Inc.
[2025-01-07 04:27:02] Production.INFO: Checkcustomer
[2025-01-07 04:27:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc."
[2025-01-07 09:27:02] Production.INFO: ==533== Lock acquired, processing the job...
[2025-01-07 09:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:27:02] Production.INFO: ==533== Releasing lock...
[2025-01-07 09:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:27:02] Production.INFO: ==531== Lock acquired, processing the job...
[2025-01-07 04:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:27:02] Production.INFO: ==531== Releasing lock...
[2025-01-07 04:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:27:02] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:27:03] Production.INFO: ==537== Lock acquired, processing the job...
[2025-01-07 04:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:27:03] Production.INFO: ==535== Lock acquired, processing the job...
[2025-01-07 04:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:27:03] Production.INFO: ==539== Lock acquired, processing the job...
[2025-01-07 04:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:27:03] Production.INFO: ==541== Lock acquired, processing the job...
[2025-01-07 04:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:27:03] Production.INFO: Account Balance Start.
[2025-01-07 04:27:03] Production.INFO: CreateAllLog Start
[2025-01-07 04:27:03] Production.INFO: 117
[2025-01-07 04:27:03] Production.INFO: ==545== Lock acquired, processing the job...
[2025-01-07 04:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:27:03] Production.INFO: Date 2024-12-08
[2025-01-07 04:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:27:03] Production.INFO: ==543== Lock acquired, processing the job...
[2025-01-07 04:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:27:03] Production.INFO: Date 2024-12-09
[2025-01-07 04:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:27:03] Production.INFO: Date 2024-12-10
[2025-01-07 04:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:27:03] Production.INFO: ==537== Releasing lock...
[2025-01-07 04:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:27:03] Production.INFO: Date 2024-12-11
[2025-01-07 04:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:27:03] Production.INFO: Date 2024-12-12
[2025-01-07 04:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:27:03] Production.INFO: count ==21
[2025-01-07 04:27:03] Production.INFO: Date 2024-12-13
[2025-01-07 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-07 04:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:27:04] Production.INFO: count ==21
[2025-01-07 04:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192445') start
[2025-01-07 04:27:04] Production.INFO: Date 2024-12-14
[2025-01-07 04:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192445') end
[2025-01-07 04:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:27:04] Production.INFO: 1
[2025-01-07 04:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:27:04] Production.INFO: ==545== Releasing lock...
[2025-01-07 04:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:27:04] Production.INFO: Date 2024-12-15
[2025-01-07 04:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:27:04] Production.INFO: Date 2024-12-16
[2025-01-07 04:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:27:04] Production.INFO: Date 2024-12-17
[2025-01-07 04:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:27:04] Production.INFO: Date 2024-12-18
[2025-01-07 04:27:04] Production.ERROR: done
[2025-01-07 04:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:27:04] Production.INFO: Date 2024-12-19
[2025-01-07 04:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:27:04] Production.INFO: Date 2024-12-20
[2025-01-07 04:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:27:04] Production.INFO: Date 2024-12-21
[2025-01-07 04:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:27:04] Production.INFO: Date 2024-12-22
[2025-01-07 04:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:27:04] Production.ERROR: done
[2025-01-07 04:27:04] Production.INFO: Date 2024-12-23
[2025-01-07 04:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:27:04] Production.INFO: Date 2024-12-24
[2025-01-07 04:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:27:04] Production.INFO: Date 2024-12-25
[2025-01-07 04:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:27:04] Production.INFO: Date 2024-12-26
[2025-01-07 04:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:27:04] Production.INFO: Date 2024-12-27
[2025-01-07 04:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:27:04] Production.INFO: Date 2024-12-28
[2025-01-07 04:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:27:04] Production.INFO: Date 2024-12-29
[2025-01-07 04:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:27:04] Production.INFO: Date 2024-12-30
[2025-01-07 04:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:27:04] Production.INFO: Date 2024-12-31
[2025-01-07 04:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:27:05] Production.INFO: Date 2025-01-01
[2025-01-07 04:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:27:05] Production.INFO: Date 2025-01-02
[2025-01-07 04:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:27:05] Production.INFO: Date 2025-01-03
[2025-01-07 04:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:27:05] Production.INFO: Date 2025-01-04
[2025-01-07 04:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:27:05] Production.INFO: Date 2025-01-05
[2025-01-07 04:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:27:05] Production.INFO: Contact id print CheckCustomer Case===c5a4d0ce-0d87-4131-b0d8-9808badfe70b
[2025-01-07 04:27:05] Production.INFO: -- count --1
[2025-01-07 04:27:05] Production.INFO: AccountID 208
[2025-01-07 04:27:05] Production.INFO: AccountName Lions Auto Protection
[2025-01-07 04:27:05] Production.INFO: Checkcustomer
[2025-01-07 04:27:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Lions%20Auto%20Protection"
[2025-01-07 04:27:05] Production.INFO: Date 2025-01-06
[2025-01-07 04:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:27:05
[end_date_ymd] => 2025-01-07 04:27:05
[RateCDR] => 1
)
[2025-01-07 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-07 01:27:05' and `end` < '2025-01-07 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-07 04:27:05] Production.INFO: Date 2025-01-07
[2025-01-07 04:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:27:05] Production.INFO: Total Charge 0
[2025-01-07 04:27:05] Production.INFO: CreateAllLog End
[2025-01-07 04:27:05] Production.INFO: Account Balance End.
[2025-01-07 04:27:05] Production.ERROR: CronJobId end 12
[2025-01-07 04:27:05] Production.INFO: ==541== Releasing lock...
[2025-01-07 04:27:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:27:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:27:07] Production.INFO: Contact id print CheckCustomer Case===173facd8-68c9-4e18-bac1-f10f211f33e1
[2025-01-07 04:27:07] Production.INFO: -- count --1
[2025-01-07 04:27:07] Production.INFO: AccountID 3
[2025-01-07 04:27:07] Production.INFO: AccountName Tundra
[2025-01-07 04:27:07] Production.INFO: Checkcustomer
[2025-01-07 04:27:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Tundra"
[2025-01-07 04:27:09] Production.INFO: Contact id print CheckCustomer Case===623680fb-29d2-4940-8787-6a04edc9b023
[2025-01-07 04:27:09] Production.INFO: -- count --1
[2025-01-07 04:27:09] Production.INFO: AccountID 133
[2025-01-07 04:27:09] Production.INFO: AccountName Compass ELC - Admin
[2025-01-07 04:27:09] Production.INFO: Checkcustomer
[2025-01-07 04:27:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Admin"
[2025-01-07 04:27:12] Production.ERROR: CronJobId end10
[2025-01-07 04:27:12] Production.INFO: ==539== Releasing lock...
[2025-01-07 04:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:27:13] Production.INFO: Contact id print CheckCustomer Case===45a97611-b88b-4aeb-9499-d79cf1bf033c
[2025-01-07 04:27:13] Production.INFO: -- count --1
[2025-01-07 04:27:13] Production.INFO: AccountID 150
[2025-01-07 04:27:13] Production.INFO: AccountName Dominos 10581 (Ken Hoose)
[2025-01-07 04:27:13] Production.INFO: Checkcustomer
[2025-01-07 04:27:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010581%20%28Ken%20Hoose%29"
[2025-01-07 04:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:27:14] Production.INFO: call_cost start
[2025-01-07 04:27:14] Production.INFO: call_cost end
[2025-01-07 04:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:27:14] Production.INFO: ==535== Releasing lock...
[2025-01-07 04:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:27:15] Production.INFO: Contact id print CheckCustomer Case===07c709b0-937e-40e5-a0d5-b08ea9074e65
[2025-01-07 04:27:15] Production.INFO: -- count --1
[2025-01-07 04:27:15] Production.INFO: AccountID 235
[2025-01-07 04:27:15] Production.INFO: AccountName All Seasons Learning Center
[2025-01-07 04:27:15] Production.INFO: Checkcustomer
[2025-01-07 04:27:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="All%20Seasons%20Learning%20Center"
[2025-01-07 04:27:17] Production.INFO: Contact id print CheckCustomer Case===680201a7-650c-4c24-b7d7-b8171bdcd911
[2025-01-07 04:27:17] Production.INFO: -- count --1
[2025-01-07 04:27:17] Production.INFO: AccountID 246
[2025-01-07 04:27:17] Production.INFO: AccountName Pharmasave (Stouffville)
[2025-01-07 04:27:17] Production.INFO: Checkcustomer
[2025-01-07 04:27:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Pharmasave%20%28Stouffville%29"
[2025-01-07 04:27:18] Production.INFO: count ==128
[2025-01-07 04:27:18] Production.ERROR: pbx CDR StartTime 2025-01-07 01:27:05 - End Time 2025-01-07 04:27:05
[2025-01-07 04:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192446', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192446', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192446', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192446', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:27:18] Production.INFO: ProcessCDR(1,14192446,1,1,2)
[2025-01-07 04:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192446,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192446,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192446,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:27:19] Production.INFO: -- count --0
[2025-01-07 04:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192446,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192446', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192446', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:27:21] Production.INFO: ==543== Releasing lock...
[2025-01-07 04:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:27:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:27:22] Production.INFO: ==== Contact Information 1
[2025-01-07 04:27:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Pharmasave%20%28Stouffville%29"
[2025-01-07 04:27:24] Production.INFO: ContactID 762a953f-f402-469b-a4fb-adecaebb0031
[2025-01-07 04:27:24] Production.INFO: -- Create Customer id --762a953f-f402-469b-a4fb-adecaebb0031
[2025-01-07 04:27:24] Production.INFO: -- Create Customer name --test customer
[2025-01-07 04:27:24] Production.INFO: AccountID 90
[2025-01-07 04:27:24] Production.INFO: AccountName Terry Anderson
[2025-01-07 04:27:24] Production.INFO: Checkcustomer
[2025-01-07 04:27:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Terry%20Anderson"
[2025-01-07 04:27:27] Production.INFO: Contact id print CheckCustomer Case===d5be271f-e649-44ed-a97e-8af24111fe24
[2025-01-07 04:27:27] Production.INFO: -- count --1
[2025-01-07 04:27:27] Production.INFO: AccountID 156
[2025-01-07 04:27:27] Production.INFO: AccountName Dominos 10583 (William Prichard)
[2025-01-07 04:27:27] Production.INFO: Checkcustomer
[2025-01-07 04:27:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010583%20%28William%20Prichard%29"
[2025-01-07 04:27:30] Production.INFO: Contact id print CheckCustomer Case===17005aca-7cf0-4aa4-ac3f-3f8f1c2c61ea
[2025-01-07 04:27:30] Production.INFO: -- count --1
[2025-01-07 04:27:30] Production.INFO: AccountID 53
[2025-01-07 04:27:30] Production.INFO: AccountName Plus Travel Group
[2025-01-07 04:27:30] Production.INFO: Checkcustomer
[2025-01-07 04:27:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plus%20Travel%20Group"
[2025-01-07 04:27:33] Production.INFO: Contact id print CheckCustomer Case===5f6b39a6-c5bb-485f-9fdd-a6c7a1eccc47
[2025-01-07 04:27:33] Production.INFO: -- count --1
[2025-01-07 04:27:33] Production.INFO: AccountID 117
[2025-01-07 04:27:33] Production.INFO: AccountName Compass ELC - Durham HCC
[2025-01-07 04:27:33] Production.INFO: Checkcustomer
[2025-01-07 04:27:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Durham%20HCC"
[2025-01-07 04:27:35] Production.INFO: Contact id print CheckCustomer Case===f8b88efb-63e8-472e-81a0-aaf95bba55fd
[2025-01-07 04:27:35] Production.INFO: -- count --1
[2025-01-07 04:27:35] Production.INFO: AccountID 144
[2025-01-07 04:27:35] Production.INFO: AccountName Discount Coach Tours and Wed in Destination
[2025-01-07 04:27:35] Production.INFO: Checkcustomer
[2025-01-07 04:27:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Discount%20Coach%20Tours%20and%20Wed%20in%20Destination"
[2025-01-07 04:27:37] Production.INFO: Contact id print CheckCustomer Case===c864ce51-780a-4f49-93fc-921fe633c032
[2025-01-07 04:27:37] Production.INFO: -- count --1
[2025-01-07 04:27:37] Production.INFO: AccountID 227
[2025-01-07 04:27:37] Production.INFO: AccountName Quiznos 15184 (Akshay Naik)
[2025-01-07 04:27:37] Production.INFO: Checkcustomer
[2025-01-07 04:27:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015184%20%28Akshay%20Naik%29"
[2025-01-07 04:27:40] Production.INFO: Contact id print CheckCustomer Case===7d4d8a6e-9b66-4daf-be5c-0e7e0524121b
[2025-01-07 04:27:40] Production.INFO: -- count --1
[2025-01-07 04:27:40] Production.INFO: AccountID 241
[2025-01-07 04:27:40] Production.INFO: AccountName Quiznos 15192 (Akshay Naik)
[2025-01-07 04:27:40] Production.INFO: Checkcustomer
[2025-01-07 04:27:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015192%20%28Akshay%20Naik%29"
[2025-01-07 04:27:43] Production.INFO: Contact id print CheckCustomer Case===9f823e1c-f0d1-4915-b9fd-4b0d691e058e
[2025-01-07 04:27:43] Production.INFO: -- count --1
[2025-01-07 04:27:43] Production.INFO: AccountID 242
[2025-01-07 04:27:43] Production.INFO: AccountName Ball Construction
[2025-01-07 04:27:43] Production.INFO: Checkcustomer
[2025-01-07 04:27:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Ball%20Construction"
[2025-01-07 04:27:45] Production.INFO: -- count --0
[2025-01-07 04:27:48] Production.INFO: ==== Contact Information 1
[2025-01-07 04:27:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Ball%20Construction"
[2025-01-07 04:27:50] Production.INFO: ContactID b0bd4d3e-7d9a-4f7f-a743-aafe2ee02798
[2025-01-07 04:27:50] Production.INFO: -- Create Customer id --b0bd4d3e-7d9a-4f7f-a743-aafe2ee02798
[2025-01-07 04:27:50] Production.INFO: -- Create Customer name --test customer
[2025-01-07 04:27:50] Production.INFO: AccountID 186
[2025-01-07 04:27:50] Production.INFO: AccountName Compass ELC - Shamrock
[2025-01-07 04:27:50] Production.INFO: Checkcustomer
[2025-01-07 04:27:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Shamrock"
[2025-01-07 04:27:52] Production.INFO: Contact id print CheckCustomer Case===df7a6ec9-a1c3-47bf-9a70-a8ca44c5cf25
[2025-01-07 04:27:52] Production.INFO: -- count --1
[2025-01-07 04:27:52] Production.INFO: AccountID 190
[2025-01-07 04:27:52] Production.INFO: AccountName Behrns Metal Fabricating Inc
[2025-01-07 04:27:52] Production.INFO: Checkcustomer
[2025-01-07 04:27:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Behrns%20Metal%20Fabricating%20Inc"
[2025-01-07 04:27:55] Production.INFO: Contact id print CheckCustomer Case===b5208613-a884-49ac-9417-cb8891a7008b
[2025-01-07 04:27:55] Production.INFO: -- count --1
[2025-01-07 04:27:55] Production.INFO: AccountID 21
[2025-01-07 04:27:55] Production.INFO: AccountName Aaxel Insurance Brokers (Peel Ltd.)
[2025-01-07 04:27:55] Production.INFO: Checkcustomer
[2025-01-07 04:27:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Aaxel%20Insurance%20Brokers%20%28Peel%20Ltd.%29"
[2025-01-07 04:27:57] Production.INFO: Contact id print CheckCustomer Case===ae39ade0-cb7f-4596-8b84-41b21b906e54
[2025-01-07 04:27:57] Production.INFO: -- count --1
[2025-01-07 04:27:57] Production.INFO: AccountID 193
[2025-01-07 04:27:57] Production.INFO: AccountName Plaza Auto Group
[2025-01-07 04:27:57] Production.INFO: Checkcustomer
[2025-01-07 04:27:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plaza%20Auto%20Group"
[2025-01-07 04:28:00] Production.INFO: Contact id print CheckCustomer Case===6b58ee01-f67a-4205-8873-1c91dd58d79c
[2025-01-07 04:28:00] Production.INFO: -- count --1
[2025-01-07 04:28:00] Production.INFO: AccountID 187
[2025-01-07 04:28:00] Production.INFO: AccountName Graybill & Hazlewood - Trial Lawyers
[2025-01-07 04:28:00] Production.INFO: Checkcustomer
[2025-01-07 04:28:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Graybill%20%26%20Hazlewood%20-%20Trial%20Lawyers"
[2025-01-07 09:28:02] Production.INFO: ==629== Lock acquired, processing the job...
[2025-01-07 09:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:28:02] Production.INFO: neon service started
[2025-01-07 09:28:02] Production.INFO: neon service started
[2025-01-07 09:28:02] Production.INFO: ==629== Releasing lock...
[2025-01-07 09:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:28:02] Production.INFO: Contact id print CheckCustomer Case===b306e9f3-f561-41b4-bd54-ad2d17a96c90
[2025-01-07 04:28:02] Production.INFO: -- count --1
[2025-01-07 04:28:02] Production.INFO: AccountID 63
[2025-01-07 04:28:02] Production.INFO: AccountName Clek Inc.
[2025-01-07 04:28:02] Production.INFO: Checkcustomer
[2025-01-07 04:28:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc."
[2025-01-07 04:28:02] Production.INFO: ==635== Lock acquired, processing the job...
[2025-01-07 04:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:28:03] Production.INFO: ==635== Releasing lock...
[2025-01-07 04:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:28:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:28:03] Production.INFO: ==637== Lock acquired, processing the job...
[2025-01-07 09:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:28:03] Production.INFO: ==637== Releasing lock...
[2025-01-07 09:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:28:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:28:03] Production.INFO: ==645== Lock acquired, processing the job...
[2025-01-07 04:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:28:03] Production.INFO: ==641== Lock acquired, processing the job...
[2025-01-07 04:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:28:03] Production.INFO: ==643== Lock acquired, processing the job...
[2025-01-07 04:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:28:03] Production.INFO: ==639== Lock acquired, processing the job...
[2025-01-07 04:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:28:04] Production.INFO: Account Balance Start.
[2025-01-07 04:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:28:04] Production.INFO: CreateAllLog Start
[2025-01-07 04:28:04] Production.INFO: 117
[2025-01-07 04:28:04] Production.INFO: Date 2024-12-08
[2025-01-07 04:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:28:04] Production.INFO: ==647== Lock acquired, processing the job...
[2025-01-07 04:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:28:04] Production.INFO: Date 2024-12-09
[2025-01-07 04:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:28:04] Production.INFO: ==649== Lock acquired, processing the job...
[2025-01-07 04:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:28:04] Production.INFO: Date 2024-12-10
[2025-01-07 04:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:28:04] Production.INFO: ==641== Releasing lock...
[2025-01-07 04:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:28:04] Production.INFO: Date 2024-12-11
[2025-01-07 04:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:28:04] Production.INFO: count ==21
[2025-01-07 04:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:28:04] Production.INFO: count ==21
[2025-01-07 04:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192450') start
[2025-01-07 04:28:04] Production.INFO: Date 2024-12-12
[2025-01-07 04:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:28:04] Production.ERROR: done
[2025-01-07 04:28:04] Production.INFO: Date 2024-12-13
[2025-01-07 04:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:28:04] Production.INFO: Date 2024-12-14
[2025-01-07 04:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192450') end
[2025-01-07 04:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:28:04] Production.INFO: 1
[2025-01-07 04:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:28:04] Production.INFO: Date 2024-12-15
[2025-01-07 04:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:28:04] Production.INFO: ==649== Releasing lock...
[2025-01-07 04:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:28:04] Production.ERROR: done
[2025-01-07 04:28:04] Production.INFO: Date 2024-12-16
[2025-01-07 04:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:28:04] Production.INFO: Date 2024-12-17
[2025-01-07 04:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:28:04] Production.INFO: Contact id print CheckCustomer Case===c5a4d0ce-0d87-4131-b0d8-9808badfe70b
[2025-01-07 04:28:04] Production.INFO: -- count --1
[2025-01-07 04:28:04] Production.INFO: AccountID 236
[2025-01-07 04:28:04] Production.INFO: AccountName Keogh Construction
[2025-01-07 04:28:04] Production.INFO: Date 2024-12-18
[2025-01-07 04:28:04] Production.INFO: Checkcustomer
[2025-01-07 04:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:28:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Keogh%20Construction"
[2025-01-07 04:28:04] Production.INFO: Date 2024-12-19
[2025-01-07 04:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:28:04] Production.INFO: Date 2024-12-20
[2025-01-07 04:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:28:04] Production.INFO: Date 2024-12-21
[2025-01-07 04:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:28:05] Production.INFO: Date 2024-12-22
[2025-01-07 04:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:28:05] Production.INFO: Date 2024-12-23
[2025-01-07 04:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:28:05] Production.INFO: Date 2024-12-24
[2025-01-07 04:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:28:05] Production.INFO: Date 2024-12-25
[2025-01-07 04:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:28:05] Production.INFO: Date 2024-12-26
[2025-01-07 04:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:28:05] Production.INFO: Date 2024-12-27
[2025-01-07 04:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:28:05] Production.INFO: Date 2024-12-28
[2025-01-07 04:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:28:05] Production.INFO: Date 2024-12-29
[2025-01-07 04:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:28:05] Production.INFO: Date 2024-12-30
[2025-01-07 04:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:28:05] Production.INFO: Date 2024-12-31
[2025-01-07 04:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:28:05] Production.INFO: Date 2025-01-01
[2025-01-07 04:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:28:05] Production.INFO: Date 2025-01-02
[2025-01-07 04:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:28:05] Production.INFO: Date 2025-01-03
[2025-01-07 04:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:28:05] Production.INFO: Date 2025-01-04
[2025-01-07 04:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:28:05] Production.INFO: Date 2025-01-05
[2025-01-07 04:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:28:05] Production.INFO: Date 2025-01-06
[2025-01-07 04:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:28:05] Production.INFO: Date 2025-01-07
[2025-01-07 04:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:28:05] Production.INFO: Total Charge 0
[2025-01-07 04:28:05] Production.INFO: CreateAllLog End
[2025-01-07 04:28:05] Production.INFO: Account Balance End.
[2025-01-07 04:28:05] Production.ERROR: CronJobId end 12
[2025-01-07 04:28:05] Production.INFO: ==645== Releasing lock...
[2025-01-07 04:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:28:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:28:05
[end_date_ymd] => 2025-01-07 04:28:05
[RateCDR] => 1
)
[2025-01-07 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-07 01:28:05' and `end` < '2025-01-07 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-07 04:28:07] Production.INFO: Contact id print CheckCustomer Case===cad302ad-7c7e-456b-bcf1-bd7729cb22b7
[2025-01-07 04:28:07] Production.INFO: -- count --1
[2025-01-07 04:28:07] Production.INFO: AccountID 237
[2025-01-07 04:28:07] Production.INFO: AccountName Natural Insect Control
[2025-01-07 04:28:07] Production.INFO: Checkcustomer
[2025-01-07 04:28:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Natural%20Insect%20Control"
[2025-01-07 04:28:10] Production.INFO: Contact id print CheckCustomer Case===fcade0cf-7b43-4bfe-86cf-b6c9e33f1686
[2025-01-07 04:28:10] Production.INFO: -- count --1
[2025-01-07 04:28:10] Production.INFO: AccountID 53
[2025-01-07 04:28:10] Production.INFO: AccountName Plus Travel Group
[2025-01-07 04:28:10] Production.INFO: Checkcustomer
[2025-01-07 04:28:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plus%20Travel%20Group"
[2025-01-07 04:28:11] Production.ERROR: CronJobId end10
[2025-01-07 04:28:11] Production.INFO: ==643== Releasing lock...
[2025-01-07 04:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:28:12] Production.INFO: Contact id print CheckCustomer Case===5f6b39a6-c5bb-485f-9fdd-a6c7a1eccc47
[2025-01-07 04:28:12] Production.INFO: -- count --1
[2025-01-07 04:28:12] Production.INFO: AccountID 93
[2025-01-07 04:28:12] Production.INFO: AccountName Personas
[2025-01-07 04:28:12] Production.INFO: Checkcustomer
[2025-01-07 04:28:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Personas"
[2025-01-07 04:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:28:13] Production.INFO: call_cost start
[2025-01-07 04:28:13] Production.INFO: call_cost end
[2025-01-07 04:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:28:14] Production.INFO: ==639== Releasing lock...
[2025-01-07 04:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:28:14] Production.INFO: Contact id print CheckCustomer Case===31472f57-4acd-4468-9ab0-8ed346b2d96f
[2025-01-07 04:28:14] Production.INFO: -- count --1
[2025-01-07 04:28:14] Production.INFO: AccountID 149
[2025-01-07 04:28:14] Production.INFO: AccountName Dominos 10471 (Ken Hoose)
[2025-01-07 04:28:14] Production.INFO: Checkcustomer
[2025-01-07 04:28:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010471%20%28Ken%20Hoose%29"
[2025-01-07 04:28:17] Production.INFO: Contact id print CheckCustomer Case===035db9cd-92a8-4776-bb57-e5a70cdb3e03
[2025-01-07 04:28:17] Production.INFO: -- count --1
[2025-01-07 04:28:17] Production.INFO: AccountID 18
[2025-01-07 04:28:17] Production.INFO: AccountName Sivananda Ashram Yoga Retreat
[2025-01-07 04:28:17] Production.INFO: Checkcustomer
[2025-01-07 04:28:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Sivananda%20Ashram%20Yoga%20Retreat"
[2025-01-07 04:28:19] Production.INFO: Contact id print CheckCustomer Case===64c07100-e054-4831-b9c1-0c728c4e9ba3
[2025-01-07 04:28:19] Production.INFO: -- count --1
[2025-01-07 04:28:19] Production.INFO: AccountID 63
[2025-01-07 04:28:19] Production.INFO: AccountName Clek Inc.
[2025-01-07 04:28:19] Production.INFO: Checkcustomer
[2025-01-07 04:28:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc."
[2025-01-07 04:28:19] Production.INFO: count ==128
[2025-01-07 04:28:19] Production.ERROR: pbx CDR StartTime 2025-01-07 01:28:05 - End Time 2025-01-07 04:28:05
[2025-01-07 04:28:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192451', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192451', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192451', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192451', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:28:19] Production.INFO: ProcessCDR(1,14192451,1,1,2)
[2025-01-07 04:28:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192451,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:28:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192451,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:28:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192451,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:28:22] Production.INFO: Contact id print CheckCustomer Case===c5a4d0ce-0d87-4131-b0d8-9808badfe70b
[2025-01-07 04:28:22] Production.INFO: -- count --1
[2025-01-07 04:28:22] Production.INFO: AccountID 74
[2025-01-07 04:28:22] Production.INFO: AccountName Dominos 10532 (Sandeep Chaudhari)
[2025-01-07 04:28:22] Production.INFO: Checkcustomer
[2025-01-07 04:28:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010532%20%28Sandeep%20Chaudhari%29"
[2025-01-07 04:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192451,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192451', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192451', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:28:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:28:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:28:22] Production.INFO: ==647== Releasing lock...
[2025-01-07 04:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:28:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:28:24] Production.INFO: Contact id print CheckCustomer Case===dded1f8a-d8ba-43e9-a033-ca82f3d54f47
[2025-01-07 04:28:24] Production.INFO: -- count --1
[2025-01-07 04:28:24] Production.INFO: AccountID 110
[2025-01-07 04:28:24] Production.INFO: AccountName Dominos 10422 (David Mills)
[2025-01-07 04:28:24] Production.INFO: Checkcustomer
[2025-01-07 04:28:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010422%20%28David%20Mills%29"
[2025-01-07 04:28:27] Production.INFO: Contact id print CheckCustomer Case===56e7aabd-b1e3-4807-a57f-483fba350c3e
[2025-01-07 04:28:27] Production.INFO: -- count --1
[2025-01-07 04:28:27] Production.INFO: AccountID 111
[2025-01-07 04:28:27] Production.INFO: AccountName Dominos 10545 (Mohan Kantha)
[2025-01-07 04:28:27] Production.INFO: Checkcustomer
[2025-01-07 04:28:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010545%20%28Mohan%20Kantha%29"
[2025-01-07 04:28:29] Production.INFO: Contact id print CheckCustomer Case===922fdab1-eecb-4982-8db6-fe1325f04d0d
[2025-01-07 04:28:29] Production.INFO: -- count --1
[2025-01-07 04:28:29] Production.INFO: AccountID 158
[2025-01-07 04:28:29] Production.INFO: AccountName Dominos 39102 (Muzafar Ahmad)
[2025-01-07 04:28:29] Production.INFO: Checkcustomer
[2025-01-07 04:28:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039102%20%28Muzafar%20Ahmad%29"
[2025-01-07 04:28:31] Production.INFO: Contact id print CheckCustomer Case===749cea7f-cdd5-4ee1-9755-990afa6667fb
[2025-01-07 04:28:31] Production.INFO: -- count --1
[2025-01-07 04:28:31] Production.INFO: AccountID 101
[2025-01-07 04:28:31] Production.INFO: AccountName Dominos 10364 (Shane Linthorne)
[2025-01-07 04:28:31] Production.INFO: Checkcustomer
[2025-01-07 04:28:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010364%20%28Shane%20Linthorne%29"
[2025-01-07 04:28:34] Production.INFO: Contact id print CheckCustomer Case===12ca1405-c90f-4ad7-83b0-d937a569ffd9
[2025-01-07 04:28:34] Production.INFO: -- count --1
[2025-01-07 04:28:34] Production.INFO: AccountID 4
[2025-01-07 04:28:34] Production.INFO: AccountName UNIGLOBE Canada
[2025-01-07 04:28:34] Production.INFO: Checkcustomer
[2025-01-07 04:28:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="UNIGLOBE%20Canada"
[2025-01-07 04:28:36] Production.INFO: Contact id print CheckCustomer Case===d965b2fe-ffb5-4359-bc08-f6a098234349
[2025-01-07 04:28:36] Production.INFO: -- count --1
[2025-01-07 04:28:36] Production.INFO: AccountID 33
[2025-01-07 04:28:36] Production.INFO: AccountName Dominos 10395 (Ronny Khan)
[2025-01-07 04:28:36] Production.INFO: Checkcustomer
[2025-01-07 04:28:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010395%20%28Ronny%20Khan%29"
[2025-01-07 04:28:39] Production.INFO: Contact id print CheckCustomer Case===2ad5ad33-c3c5-457d-96a1-96787e4ed1ae
[2025-01-07 04:28:39] Production.INFO: -- count --1
[2025-01-07 04:28:39] Production.INFO: AccountID 58
[2025-01-07 04:28:39] Production.INFO: AccountName Think Secure
[2025-01-07 04:28:39] Production.INFO: Checkcustomer
[2025-01-07 04:28:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Think%20Secure"
[2025-01-07 04:28:41] Production.INFO: Contact id print CheckCustomer Case===c4bd70fd-3ccd-42a6-a692-2d9f355b91a8
[2025-01-07 04:28:41] Production.INFO: -- count --1
[2025-01-07 04:28:41] Production.INFO: AccountID 183
[2025-01-07 04:28:41] Production.INFO: AccountName Sunnybrook - Construction Site (Cancom - Think Secure)
[2025-01-07 04:28:41] Production.INFO: Checkcustomer
[2025-01-07 04:28:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Sunnybrook%20-%20Construction%20Site%20%28Cancom%20-%20Think%20Secure%29"
[2025-01-07 04:28:43] Production.INFO: Contact id print CheckCustomer Case===9438f80c-bb9a-4440-84ef-9c1f20f46b34
[2025-01-07 04:28:43] Production.INFO: -- count --1
[2025-01-07 04:28:43] Production.INFO: AccountID 25
[2025-01-07 04:28:43] Production.INFO: AccountName Harding Security
[2025-01-07 04:28:43] Production.INFO: Checkcustomer
[2025-01-07 04:28:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Harding%20Security"
[2025-01-07 04:28:46] Production.INFO: Contact id print CheckCustomer Case===631aa009-5337-4bbb-817f-724f7ca5f6db
[2025-01-07 04:28:46] Production.INFO: -- count --1
[2025-01-07 04:28:46] Production.INFO: AccountID 103
[2025-01-07 04:28:46] Production.INFO: AccountName Cathim Inc
[2025-01-07 04:28:46] Production.INFO: Checkcustomer
[2025-01-07 04:28:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Cathim%20Inc"
[2025-01-07 04:28:48] Production.INFO: Contact id print CheckCustomer Case===b3a32be3-34a8-47ed-9add-6507ade181ac
[2025-01-07 04:28:48] Production.INFO: -- count --1
[2025-01-07 04:28:48] Production.INFO: AccountID 104
[2025-01-07 04:28:48] Production.INFO: AccountName Dominos 39017 (Mudassar Zia)
[2025-01-07 04:28:48] Production.INFO: Checkcustomer
[2025-01-07 04:28:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039017%20%28Mudassar%20Zia%29"
[2025-01-07 04:28:51] Production.INFO: Contact id print CheckCustomer Case===5f89a930-66a1-45ba-8124-8b5cbb0531bb
[2025-01-07 04:28:51] Production.INFO: -- count --1
[2025-01-07 04:28:51] Production.INFO: AccountID 92
[2025-01-07 04:28:51] Production.INFO: AccountName Dominos 10443 (Ricky Singh)
[2025-01-07 04:28:51] Production.INFO: Checkcustomer
[2025-01-07 04:28:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010443%20%28Ricky%20Singh%29"
[2025-01-07 04:28:53] Production.INFO: Contact id print CheckCustomer Case===21dc8586-f1ab-42cc-9c64-94234cb72e84
[2025-01-07 04:28:53] Production.INFO: -- count --1
[2025-01-07 04:28:53] Production.INFO: AccountID 97
[2025-01-07 04:28:53] Production.INFO: AccountName Dominos 10416 (David Mills)
[2025-01-07 04:28:53] Production.INFO: Checkcustomer
[2025-01-07 04:28:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010416%20%28David%20Mills%29"
[2025-01-07 04:28:56] Production.INFO: Contact id print CheckCustomer Case===f7785be9-5933-4338-9f5d-47dda0ca47b7
[2025-01-07 04:28:56] Production.INFO: -- count --1
[2025-01-07 04:28:56] Production.INFO: AccountID 165
[2025-01-07 04:28:56] Production.INFO: AccountName PharmaSave (Oak Tree Medical)
[2025-01-07 04:28:56] Production.INFO: Checkcustomer
[2025-01-07 04:28:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="PharmaSave%20%28Oak%20Tree%20Medical%29"
[2025-01-07 04:28:59] Production.INFO: Contact id print CheckCustomer Case===dd008964-6378-4903-b54b-a7b8eb03f05f
[2025-01-07 04:28:59] Production.INFO: -- count --1
[2025-01-07 04:28:59] Production.INFO: AccountID 205
[2025-01-07 04:28:59] Production.INFO: AccountName Dominos 10459 (Sandeep Chaudhari)
[2025-01-07 04:28:59] Production.INFO: Checkcustomer
[2025-01-07 04:28:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010459%20%28Sandeep%20Chaudhari%29"
[2025-01-07 09:29:01] Production.INFO: ==754== Lock acquired, processing the job...
[2025-01-07 09:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:29:01] Production.INFO: neon service started
[2025-01-07 09:29:01] Production.INFO: neon service started
[2025-01-07 09:29:01] Production.INFO: ==754== Releasing lock...
[2025-01-07 09:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:29:01] Production.INFO: Contact id print CheckCustomer Case===9e4e5c67-a78f-406f-bfd6-d013ce749c4a
[2025-01-07 04:29:01] Production.INFO: -- count --1
[2025-01-07 04:29:01] Production.INFO: AccountID 3
[2025-01-07 04:29:01] Production.INFO: AccountName Tundra
[2025-01-07 04:29:01] Production.INFO: Checkcustomer
[2025-01-07 04:29:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Tundra"
[2025-01-07 04:29:02] Production.INFO: ==756== Lock acquired, processing the job...
[2025-01-07 04:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:29:02] Production.INFO: ==756== Releasing lock...
[2025-01-07 04:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:29:02] Production.INFO: ==758== Lock acquired, processing the job...
[2025-01-07 09:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:29:02] Production.INFO: ==758== Releasing lock...
[2025-01-07 09:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:29:03] Production.INFO: ==760== Lock acquired, processing the job...
[2025-01-07 04:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:29:03] Production.INFO: ==762== Lock acquired, processing the job...
[2025-01-07 04:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:29:03] Production.INFO: ==766== Lock acquired, processing the job...
[2025-01-07 04:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:29:03] Production.INFO: ==764== Lock acquired, processing the job...
[2025-01-07 04:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:29:03] Production.INFO: Account Balance Start.
[2025-01-07 04:29:03] Production.INFO: CreateAllLog Start
[2025-01-07 04:29:03] Production.INFO: ==768== Lock acquired, processing the job...
[2025-01-07 04:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:29:03] Production.INFO: 117
[2025-01-07 04:29:03] Production.INFO: ==770== Lock acquired, processing the job...
[2025-01-07 04:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:29:03] Production.INFO: Date 2024-12-08
[2025-01-07 04:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:29:03] Production.INFO: ==762== Releasing lock...
[2025-01-07 04:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:29:03] Production.INFO: Date 2024-12-09
[2025-01-07 04:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:29:03] Production.INFO: count ==21
[2025-01-07 04:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:29:03] Production.INFO: count ==21
[2025-01-07 04:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192455') start
[2025-01-07 04:29:03] Production.INFO: Date 2024-12-10
[2025-01-07 04:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:29:03] Production.ERROR: done
[2025-01-07 04:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:29:03] Production.INFO: Date 2024-12-11
[2025-01-07 04:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192455') end
[2025-01-07 04:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:29:04] Production.INFO: 1
[2025-01-07 04:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:29:04] Production.ERROR: done
[2025-01-07 04:29:04] Production.INFO: Date 2024-12-12
[2025-01-07 04:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:29:04] Production.INFO: ==770== Releasing lock...
[2025-01-07 04:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:29:04] Production.INFO: Date 2024-12-13
[2025-01-07 04:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:29:04] Production.INFO: Date 2024-12-14
[2025-01-07 04:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:29:04] Production.INFO: Date 2024-12-15
[2025-01-07 04:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:29:04] Production.INFO: Date 2024-12-16
[2025-01-07 04:29:04] Production.INFO: Contact id print CheckCustomer Case===623680fb-29d2-4940-8787-6a04edc9b023
[2025-01-07 04:29:04] Production.INFO: -- count --1
[2025-01-07 04:29:04] Production.INFO: AccountID 37
[2025-01-07 04:29:04] Production.INFO: AccountName Quality Car Rentals (AutoQuest)
[2025-01-07 04:29:04] Production.INFO: Checkcustomer
[2025-01-07 04:29:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quality%20Car%20Rentals%20%28AutoQuest%29"
[2025-01-07 04:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:29:04] Production.INFO: Date 2024-12-17
[2025-01-07 04:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:29:04] Production.INFO: Date 2024-12-18
[2025-01-07 04:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:29:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:29:04
[end_date_ymd] => 2025-01-07 04:29:04
[RateCDR] => 1
)
[2025-01-07 04:29:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 01:29:04' and `end` < '2025-01-07 04:29:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 04:29:04] Production.INFO: Date 2024-12-19
[2025-01-07 04:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:29:04] Production.INFO: Date 2024-12-20
[2025-01-07 04:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:29:04] Production.INFO: Date 2024-12-21
[2025-01-07 04:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:29:04] Production.INFO: Date 2024-12-22
[2025-01-07 04:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:29:04] Production.INFO: Date 2024-12-23
[2025-01-07 04:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:29:05] Production.INFO: Date 2024-12-24
[2025-01-07 04:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:29:05] Production.INFO: Date 2024-12-25
[2025-01-07 04:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:29:05] Production.INFO: Date 2024-12-26
[2025-01-07 04:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:29:05] Production.INFO: Date 2024-12-27
[2025-01-07 04:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:29:05] Production.INFO: Date 2024-12-28
[2025-01-07 04:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:29:05] Production.INFO: Date 2024-12-29
[2025-01-07 04:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:29:05] Production.INFO: Date 2024-12-30
[2025-01-07 04:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:29:05] Production.INFO: Date 2024-12-31
[2025-01-07 04:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:29:05] Production.INFO: Date 2025-01-01
[2025-01-07 04:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:29:05] Production.INFO: Date 2025-01-02
[2025-01-07 04:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:29:05] Production.INFO: Date 2025-01-03
[2025-01-07 04:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:29:05] Production.INFO: Date 2025-01-04
[2025-01-07 04:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:29:05] Production.INFO: Date 2025-01-05
[2025-01-07 04:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:29:05] Production.INFO: Date 2025-01-06
[2025-01-07 04:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:29:05] Production.INFO: Date 2025-01-07
[2025-01-07 04:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:29:05] Production.INFO: Total Charge 0
[2025-01-07 04:29:05] Production.INFO: CreateAllLog End
[2025-01-07 04:29:05] Production.INFO: Account Balance End.
[2025-01-07 04:29:05] Production.ERROR: CronJobId end 12
[2025-01-07 04:29:05] Production.INFO: ==766== Releasing lock...
[2025-01-07 04:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:29:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:29:08] Production.INFO: Contact id print CheckCustomer Case===d97f29cf-e0f8-4b9a-bb8e-aaec76dd5612
[2025-01-07 04:29:08] Production.INFO: -- count --1
[2025-01-07 04:29:08] Production.INFO: AccountID 41
[2025-01-07 04:29:08] Production.INFO: AccountName Law Offices of Diane Staples
[2025-01-07 04:29:08] Production.INFO: Checkcustomer
[2025-01-07 04:29:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Law%20Offices%20of%20Diane%20Staples"
[2025-01-07 04:29:10] Production.ERROR: CronJobId end10
[2025-01-07 04:29:10] Production.INFO: ==764== Releasing lock...
[2025-01-07 04:29:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:29:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:29:10] Production.INFO: Contact id print CheckCustomer Case===97ef00b2-8eb5-497a-aadd-ae29a942c858
[2025-01-07 04:29:10] Production.INFO: -- count --1
[2025-01-07 04:29:10] Production.INFO: AccountID 63
[2025-01-07 04:29:10] Production.INFO: AccountName Clek Inc.
[2025-01-07 04:29:10] Production.INFO: Checkcustomer
[2025-01-07 04:29:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc."
[2025-01-07 04:29:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:29:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:29:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:29:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:29:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:29:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:29:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:29:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:29:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:29:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:29:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:29:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:29:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:29:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:29:12] Production.INFO: call_cost start
[2025-01-07 04:29:12] Production.INFO: call_cost end
[2025-01-07 04:29:13] Production.INFO: Contact id print CheckCustomer Case===c5a4d0ce-0d87-4131-b0d8-9808badfe70b
[2025-01-07 04:29:13] Production.INFO: -- count --1
[2025-01-07 04:29:13] Production.INFO: AccountID 95
[2025-01-07 04:29:13] Production.INFO: AccountName CanTrust Insurance Services
[2025-01-07 04:29:13] Production.INFO: Checkcustomer
[2025-01-07 04:29:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="CanTrust%20Insurance%20Services"
[2025-01-07 04:29:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:29:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:29:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:29:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:29:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:29:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:29:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:29:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:29:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:29:13] Production.INFO: ==760== Releasing lock...
[2025-01-07 04:29:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:29:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:29:16] Production.INFO: Contact id print CheckCustomer Case===d5a46ee9-fef7-49ae-981c-b537df046ad7
[2025-01-07 04:29:16] Production.INFO: -- count --1
[2025-01-07 04:29:16] Production.INFO: AccountID 113
[2025-01-07 04:29:16] Production.INFO: AccountName Dominos 39016 (Chandresh Patel)
[2025-01-07 04:29:16] Production.INFO: Checkcustomer
[2025-01-07 04:29:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039016%20%28Chandresh%20Patel%29"
[2025-01-07 04:29:19] Production.INFO: count ==128
[2025-01-07 04:29:19] Production.ERROR: pbx CDR StartTime 2025-01-07 01:29:04 - End Time 2025-01-07 04:29:04
[2025-01-07 04:29:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192456', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192456', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192456', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192456', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:29:19] Production.INFO: ProcessCDR(1,14192456,1,1,2)
[2025-01-07 04:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192456,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:29:19] Production.INFO: Contact id print CheckCustomer Case===67dc5e22-ea19-468e-b918-c0db577b9240
[2025-01-07 04:29:19] Production.INFO: -- count --1
[2025-01-07 04:29:19] Production.INFO: AccountID 114
[2025-01-07 04:29:19] Production.INFO: AccountName Dominos 10552 (Werner Lomker)
[2025-01-07 04:29:19] Production.INFO: Checkcustomer
[2025-01-07 04:29:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010552%20%28Werner%20Lomker%29"
[2025-01-07 04:29:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192456,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:29:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192456,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:29:21] Production.INFO: Contact id print CheckCustomer Case===6f5d3631-ded1-4310-ab70-a39a8b602341
[2025-01-07 04:29:21] Production.INFO: -- count --1
[2025-01-07 04:29:21] Production.INFO: AccountID 127
[2025-01-07 04:29:21] Production.INFO: AccountName Dominos 10297 (Shane Linthorne)
[2025-01-07 04:29:21] Production.INFO: Checkcustomer
[2025-01-07 04:29:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010297%20%28Shane%20Linthorne%29"
[2025-01-07 04:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192456,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192456', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192456', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:29:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:29:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:29:22] Production.INFO: ==768== Releasing lock...
[2025-01-07 04:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:29:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:29:23] Production.INFO: Contact id print CheckCustomer Case===d8f292bb-743b-4f94-916e-1de8803fa73f
[2025-01-07 04:29:23] Production.INFO: -- count --1
[2025-01-07 04:29:23] Production.INFO: AccountID 148
[2025-01-07 04:29:23] Production.INFO: AccountName Pharmacy Associates of Port Perry
[2025-01-07 04:29:23] Production.INFO: Checkcustomer
[2025-01-07 04:29:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Pharmacy%20Associates%20of%20Port%20Perry"
[2025-01-07 04:29:25] Production.INFO: Contact id print CheckCustomer Case===c60706d0-0fd9-40ff-a211-387c86733ac7
[2025-01-07 04:29:25] Production.INFO: -- count --1
[2025-01-07 04:29:25] Production.INFO: AccountID 150
[2025-01-07 04:29:25] Production.INFO: AccountName Dominos 10581 (Ken Hoose)
[2025-01-07 04:29:25] Production.INFO: Checkcustomer
[2025-01-07 04:29:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010581%20%28Ken%20Hoose%29"
[2025-01-07 04:29:28] Production.INFO: Contact id print CheckCustomer Case===07c709b0-937e-40e5-a0d5-b08ea9074e65
[2025-01-07 04:29:28] Production.INFO: -- count --1
[2025-01-07 04:29:28] Production.INFO: AccountID 152
[2025-01-07 04:29:28] Production.INFO: AccountName 3G Print Group
[2025-01-07 04:29:28] Production.INFO: Checkcustomer
[2025-01-07 04:29:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="3G%20Print%20Group"
[2025-01-07 04:29:31] Production.INFO: Contact id print CheckCustomer Case===d4a36319-8eb8-433b-a39c-ded75fc85345
[2025-01-07 04:29:31] Production.INFO: -- count --1
[2025-01-07 04:29:31] Production.INFO: AccountID 160
[2025-01-07 04:29:31] Production.INFO: AccountName Avani Rolls & Bowls
[2025-01-07 04:29:31] Production.INFO: Checkcustomer
[2025-01-07 04:29:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Avani%20Rolls%20%26%20Bowls"
[2025-01-07 04:29:33] Production.INFO: Contact id print CheckCustomer Case===08d693ac-f648-4d13-baf5-18b2b59d959f
[2025-01-07 04:29:33] Production.INFO: -- count --1
[2025-01-07 04:29:33] Production.INFO: AccountID 208
[2025-01-07 04:29:33] Production.INFO: AccountName Lions Auto Protection
[2025-01-07 04:29:33] Production.INFO: Checkcustomer
[2025-01-07 04:29:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Lions%20Auto%20Protection"
[2025-01-07 04:29:36] Production.INFO: Contact id print CheckCustomer Case===173facd8-68c9-4e18-bac1-f10f211f33e1
[2025-01-07 04:29:36] Production.INFO: -- count --1
[2025-01-07 04:29:36] Production.INFO: AccountID 235
[2025-01-07 04:29:36] Production.INFO: AccountName All Seasons Learning Center
[2025-01-07 04:29:36] Production.INFO: Checkcustomer
[2025-01-07 04:29:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="All%20Seasons%20Learning%20Center"
[2025-01-07 04:29:38] Production.INFO: Contact id print CheckCustomer Case===680201a7-650c-4c24-b7d7-b8171bdcd911
[2025-01-07 04:29:38] Production.INFO: -- count --1
[2025-01-07 04:29:38] Production.INFO: AccountID 99
[2025-01-07 04:29:38] Production.INFO: AccountName LevLending
[2025-01-07 04:29:38] Production.INFO: Checkcustomer
[2025-01-07 04:29:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="LevLending"
[2025-01-07 04:29:40] Production.INFO: Contact id print CheckCustomer Case===0c3388d2-858d-4ab0-82a5-823938ebfea0
[2025-01-07 04:29:40] Production.INFO: -- count --1
[2025-01-07 04:29:40] Production.INFO: AccountID 45
[2025-01-07 04:29:40] Production.INFO: AccountName Metro Toronto Collision Centre
[2025-01-07 04:29:40] Production.INFO: Checkcustomer
[2025-01-07 04:29:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Metro%20Toronto%20Collision%20Centre"
[2025-01-07 04:29:43] Production.INFO: Contact id print CheckCustomer Case===639507fe-3c02-40f6-89b2-b3a1c40bc965
[2025-01-07 04:29:43] Production.INFO: -- count --1
[2025-01-07 04:29:43] Production.INFO: AccountID 79
[2025-01-07 04:29:43] Production.INFO: AccountName Axxima
[2025-01-07 04:29:43] Production.INFO: Checkcustomer
[2025-01-07 04:29:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Axxima"
[2025-01-07 04:29:45] Production.INFO: Contact id print CheckCustomer Case===5a62af79-4890-44a7-9d0e-f81cfe9497c1
[2025-01-07 04:29:45] Production.INFO: -- count --1
[2025-01-07 04:29:45] Production.INFO: AccountID 90
[2025-01-07 04:29:45] Production.INFO: AccountName Terry Anderson
[2025-01-07 04:29:45] Production.INFO: Checkcustomer
[2025-01-07 04:29:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Terry%20Anderson"
[2025-01-07 04:29:47] Production.INFO: Contact id print CheckCustomer Case===d5be271f-e649-44ed-a97e-8af24111fe24
[2025-01-07 04:29:47] Production.INFO: -- count --1
[2025-01-07 04:29:47] Production.INFO: AccountID 209
[2025-01-07 04:29:47] Production.INFO: AccountName Workside Early Childhood Education Centre
[2025-01-07 04:29:47] Production.INFO: Checkcustomer
[2025-01-07 04:29:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Workside%20Early%20Childhood%20Education%20Centre"
[2025-01-07 04:29:50] Production.INFO: Contact id print CheckCustomer Case===40cecbae-263a-4b0c-adbf-5350531feed1
[2025-01-07 04:29:50] Production.INFO: -- count --1
[2025-01-07 04:29:50] Production.INFO: AccountID 182
[2025-01-07 04:29:50] Production.INFO: AccountName Dominos 39049 (Sandeep Chaudhari)
[2025-01-07 04:29:50] Production.INFO: Checkcustomer
[2025-01-07 04:29:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039049%20%28Sandeep%20Chaudhari%29"
[2025-01-07 04:29:53] Production.INFO: Contact id print CheckCustomer Case===1c0b2017-4eb0-4996-8c28-357329632ba9
[2025-01-07 04:29:53] Production.INFO: -- count --1
[2025-01-07 04:29:53] Production.INFO: AccountID 188
[2025-01-07 04:29:53] Production.INFO: AccountName All Care Insurance Brokers Ltd.
[2025-01-07 04:29:53] Production.INFO: Checkcustomer
[2025-01-07 04:29:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="All%20Care%20Insurance%20Brokers%20Ltd."
[2025-01-07 04:29:56] Production.INFO: Contact id print CheckCustomer Case===6d542d8f-684c-435c-82fd-abdec98b3c10
[2025-01-07 04:29:56] Production.INFO: -- count --1
[2025-01-07 04:29:56] Production.INFO: AccountID 195
[2025-01-07 04:29:56] Production.INFO: AccountName TSFV Management Corp (Two Small Fish)
[2025-01-07 04:29:56] Production.INFO: Checkcustomer
[2025-01-07 04:29:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="TSFV%20Management%20Corp%20%28Two%20Small%20Fish%29"
[2025-01-07 04:29:59] Production.INFO: Contact id print CheckCustomer Case===9833b5c4-71b1-4ca5-9307-986f727c9b62
[2025-01-07 04:29:59] Production.INFO: -- count --1
[2025-01-07 04:29:59] Production.INFO: AccountID 124
[2025-01-07 04:29:59] Production.INFO: AccountName Dominos 39009 (Mudassar Zia)
[2025-01-07 04:29:59] Production.INFO: Checkcustomer
[2025-01-07 04:29:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039009%20%28Mudassar%20Zia%29"
[2025-01-07 04:30:01] Production.INFO: Contact id print CheckCustomer Case===40c47681-8e37-4e12-be60-e7c71250891f
[2025-01-07 04:30:01] Production.INFO: -- count --1
[2025-01-07 04:30:01] Production.INFO: AccountID 153
[2025-01-07 04:30:01] Production.INFO: AccountName Dominos 10191 (Chandresh Patel)
[2025-01-07 04:30:01] Production.INFO: Checkcustomer
[2025-01-07 04:30:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010191%20%28Chandresh%20Patel%29"
[2025-01-07 09:30:02] Production.INFO: ==848== Lock acquired, processing the job...
[2025-01-07 09:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:30:02] Production.INFO: neon service started
[2025-01-07 09:30:02] Production.INFO: neon service started
[2025-01-07 09:30:02] Production.INFO: ==848== Releasing lock...
[2025-01-07 09:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:30:02] Production.INFO: ==850== Lock acquired, processing the job...
[2025-01-07 04:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:30:02] Production.INFO: ==852== Lock acquired, processing the job...
[2025-01-07 09:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:30:03] Production.INFO: ==852== Releasing lock...
[2025-01-07 09:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:30:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:30:03] Production.INFO: ==850== Releasing lock...
[2025-01-07 04:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:30:03] Production.INFO: Contact id print CheckCustomer Case===a1f84b26-3d74-4603-893d-c86292f301ef
[2025-01-07 04:30:03] Production.INFO: -- count --1
[2025-01-07 04:30:03] Production.INFO: AccountID 154
[2025-01-07 04:30:03] Production.INFO: AccountName Dominos 10385 (Sandeep Chaudhari)
[2025-01-07 04:30:03] Production.INFO: Checkcustomer
[2025-01-07 04:30:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010385%20%28Sandeep%20Chaudhari%29"
[2025-01-07 04:30:03] Production.INFO: ==854== Lock acquired, processing the job...
[2025-01-07 04:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 04:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 04:30:04] Production.INFO: ==856== Lock acquired, processing the job...
[2025-01-07 04:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:30:04] Production.INFO: ==858== Lock acquired, processing the job...
[2025-01-07 04:30:04] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Starts#
[2025-01-07 04:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 04:30:04] Production.INFO: ==854== Releasing lock...
[2025-01-07 04:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 04:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 04:30:04] Production.INFO: ==864== Lock acquired, processing the job...
[2025-01-07 04:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:30:04] Production.INFO: ==860== Lock acquired, processing the job...
[2025-01-07 04:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:30:04] Production.INFO: ==862== Lock acquired, processing the job...
[2025-01-07 04:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:30:04] Production.INFO: ==866== Lock acquired, processing the job...
[2025-01-07 04:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:30:04] Production.INFO: Account Balance Start.
[2025-01-07 04:30:04] Production.INFO: CreateAllLog Start
[2025-01-07 04:30:04] Production.INFO: Call prc_getBillingAccounts(1,2025-01-07,'','0')
[2025-01-07 04:30:04] Production.INFO: 117
[2025-01-07 04:30:04] Production.INFO: Array
(
[0] => stdClass Object
(
[AccountID] => 26
[NextInvoiceDate] => 2025-01-07
[AccountName] => Chris Lumley
[ServiceID] => 0
)
[1] => stdClass Object
(
[AccountID] => 155
[NextInvoiceDate] => 2025-01-07
[AccountName] => Dominos 10388 (Sandeep Chaudhari)
[ServiceID] => 0
)
[2] => stdClass Object
(
[AccountID] => 157
[NextInvoiceDate] => 2025-01-07
[AccountName] => Dominos 10588 (Gurinder Saini)
[ServiceID] => 0
)
[3] => stdClass Object
(
[AccountID] => 232
[NextInvoiceDate] => 2025-01-07
[AccountName] => Jenopher Inc.
[ServiceID] => 0
)
)
[2025-01-07 04:30:04] Production.INFO: AccountID =26 FirstInvoiceSend 0
[2025-01-07 04:30:04] Production.INFO: LastInvoiceDate 2024-12-07 NextInvoiceDate 2025-01-07
[2025-01-07 04:30:04] Production.INFO: LastChargeDate 2024-12-07 NextChargeDate 2025-01-06
[2025-01-07 04:30:04] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-01-07 04:30:04] Production.INFO: ========================== Invoice Send Start =============================
[2025-01-07 04:30:04] Production.INFO: Invoice::sendInvoice(1,26,2024-12-07,2025-01-07,billing@onswitchit.ca)
[2025-01-07 04:30:04] Production.INFO: start Date =2024-12-07 EndDate =2025-01-06 23:59:59
[2025-01-07 04:30:04] Production.INFO: Date 2024-12-08
[2025-01-07 04:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:30:04] Production.INFO: ==869== Lock acquired, processing the job...
[2025-01-07 04:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 04:30:04] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-01-07 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-07 04:30:04] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-01-07 04:30:04] Production.INFO: AlreadyBilled
[2025-01-07 04:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:30:04] Production.INFO: Date 2024-12-09
[2025-01-07 04:30:04] Production.INFO: ==871== Lock acquired, processing the job...
[2025-01-07 04:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:30:04] Production.INFO: original start date ==>2024-12-07 changed start date ==>2024-12-07 00:00:00 original end date ==>2025-01-06 23:59:59 changed end date ==>2025-01-06 23:59:59
[2025-01-07 04:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:30:04] Production.INFO: Date 2024-12-10
[2025-01-07 04:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:30:04] Production.INFO: Invoice::getAccountUsageTotal(1,26,2024-12-07,2025-01-06 23:59:59)
[2025-01-07 04:30:04] Production.INFO: TotalCharges - 0
[2025-01-07 04:30:04] Production.INFO: TotalUsageCharges - 0.00
[2025-01-07 04:30:04] Production.ERROR: done
[2025-01-07 04:30:04] Production.INFO: Date 2024-12-11
[2025-01-07 04:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:30:04] Production.INFO: Usage Over
[2025-01-07 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-07 04:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:30:04] Production.INFO: Call prc_getAccountSubscription(26,0)
[2025-01-07 04:30:04] Production.INFO: SUBSCRIPTION 2
[2025-01-07 04:30:04] Production.INFO: ============================Subscription Start =================
[2025-01-07 04:30:04] Production.INFO: SubscriptionID - 1
[2025-01-07 04:30:04] Production.INFO: count ==21
[2025-01-07 04:30:04] Production.INFO: isAdvanceSubscription - 1
[2025-01-07 04:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:30:04] Production.INFO: count ==21
[2025-01-07 04:30:04] Production.INFO: SubscriptionStartDate =2025-01-07 - SubscriptionEndDate = 2025-02-06
[2025-01-07 04:30:04] Production.INFO: NewNextChargeDate =2025-02-06 00:00:00
[2025-01-07 04:30:04] Production.INFO: Date 2024-12-12
[2025-01-07 04:30:04] Production.ERROR: done
[2025-01-07 04:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:30:04] Production.INFO: ==860== Releasing lock...
[2025-01-07 04:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:30:04] Production.INFO: EndDate =2024-05-06 00:00:00
[2025-01-07 04:30:04] Production.INFO: NewEndDate1 =2024-05-07
[2025-01-07 04:30:04] Production.INFO: SubscriptionDate
[2025-01-07 04:30:04] Production.INFO: Array
(
[StartDate] => 2024-05-07
[EndDate] => 2025-02-06 00:00:00
[AlreadyCharged] => 0
)
[2025-01-07 04:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192461') start
[2025-01-07 04:30:04] Production.INFO: AccountSubscription StartDate 2017-06-06 StartDate 2024-12-07
[2025-01-07 04:30:04] Production.INFO: SubscriptionID - 2024-05-07=====2025-02-06 00:00:00
[2025-01-07 04:30:04] Production.INFO: AccountSubscriptionID - 43 === 2017-06-06=====2024-04-29
[2025-01-07 04:30:04] Production.INFO: ============================Subscription End =================
[2025-01-07 04:30:04] Production.INFO: ============================Subscription Start =================
[2025-01-07 04:30:04] Production.INFO: SubscriptionID - 4
[2025-01-07 04:30:04] Production.INFO: Date 2024-12-13
[2025-01-07 04:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:30:04] Production.INFO: isAdvanceSubscription - 4
[2025-01-07 04:30:05] Production.INFO: SubscriptionStartDate =2025-01-07 - SubscriptionEndDate = 2025-02-06
[2025-01-07 04:30:05] Production.INFO: NewNextChargeDate =2025-02-06 00:00:00
[2025-01-07 04:30:05] Production.INFO: Date 2024-12-14
[2025-01-07 04:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:30:05] Production.ERROR: done
[2025-01-07 04:30:05] Production.INFO: EndDate =2024-05-06 00:00:00
[2025-01-07 04:30:05] Production.INFO: NewEndDate1 =2024-05-07
[2025-01-07 04:30:05] Production.INFO: SubscriptionDate
[2025-01-07 04:30:05] Production.INFO: Array
(
[StartDate] => 2024-05-07
[EndDate] => 2025-02-06 00:00:00
[AlreadyCharged] => 0
)
[2025-01-07 04:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14192461') end
[2025-01-07 04:30:05] Production.INFO: AccountSubscription StartDate 2017-06-06 StartDate 2024-12-07
[2025-01-07 04:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:30:05] Production.INFO: SubscriptionID - 2024-05-07=====2025-02-06 00:00:00
[2025-01-07 04:30:05] Production.INFO: 1
[2025-01-07 04:30:05] Production.INFO: AccountSubscriptionID - 44 === 2017-06-06=====2024-04-29
[2025-01-07 04:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:30:05] Production.INFO: ============================Subscription End =================
[2025-01-07 04:30:05] Production.INFO: SUBSCRIPTION Over
[2025-01-07 04:30:05] Production.INFO: Date 2024-12-15
[2025-01-07 04:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:30:05] Production.INFO: Call prc_getAccountOneOffCharge(26,0,2024-12-07,2025-01-07 23:59:59)
[2025-01-07 04:30:05] Production.INFO: AccountOneOffCharge 0
[2025-01-07 04:30:05] Production.INFO: AccountOneOffCharge Over
[2025-01-07 04:30:05] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-01-07 04:30:05] Production.INFO: New UsageDates 2024-12-07 - 2025-01-06 23:59:59
[2025-01-07 04:30:05] Production.INFO: ==871== Releasing lock...
[2025-01-07 04:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 04:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14192463', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 04:30:05] Production.INFO: SubTotal 0
[2025-01-07 04:30:05] Production.INFO: SubTotalWithouttaxTotal 0
[2025-01-07 04:30:05] Production.INFO: Date 2024-12-16
[2025-01-07 04:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:30:05] Production.INFO: Date 2024-12-17
[2025-01-07 04:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:30:05] Production.INFO: AccountOneOffCharge Tax Over
[2025-01-07 04:30:05] Production.INFO: TotalTax 0
[2025-01-07 04:30:05] Production.INFO: InvoiceGrandTotal 0
[2025-01-07 04:30:05] Production.INFO: Date 2024-12-18
[2025-01-07 04:30:05] Production.INFO: InvoiceTaxAmount 0
[2025-01-07 04:30:05] Production.INFO: GrandTotal 0
[2025-01-07 04:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:30:05] Production.INFO: SubTotal 0.00
[2025-01-07 04:30:05] Production.INFO: TotalDue 0.00
[2025-01-07 04:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:30:05] Production.INFO: Date 2024-12-19
[2025-01-07 04:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:30:05] Production.INFO: original start date ==>2024-12-07 changed start date ==>2024-12-07 00:00:00 original end date ==>2025-01-06 23:59:59 changed end date ==>2025-01-06 23:59:59
[2025-01-07 04:30:05] Production.INFO: CALL prc_getInvoiceUsage(1,'26','0','1','2024-12-07 00:00:00','2025-01-06 23:59:59',0)
[2025-01-07 04:30:05] Production.INFO: Date 2024-12-20
[2025-01-07 04:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:30:05] Production.INFO: PDF Generation start
[2025-01-07 04:30:05] Production.INFO: Date 2024-12-21
[2025-01-07 04:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:30:05] Production.INFO: Date 2024-12-22
[2025-01-07 04:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:30:05] Production.INFO: Date 2024-12-23
[2025-01-07 04:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:30:05] Production.INFO: Date 2024-12-24
[2025-01-07 04:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:30:05] Production.INFO: Date 2024-12-25
[2025-01-07 04:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:30:05] Production.INFO: Date 2024-12-26
[2025-01-07 04:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:30:05] Production.INFO: Date 2024-12-27
[2025-01-07 04:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:30:05] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/26/Invoices/2025/01/07/Invoice-chris-lumley-inv11321-from-12-07-2024-to-01-06-2025-10246.pdf
[2025-01-07 04:30:05] Production.INFO: On Linux
[2025-01-07 04:30:05] Production.INFO: Date 2024-12-28
[2025-01-07 04:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:30:05] Production.INFO: Date 2024-12-29
[2025-01-07 04:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:30:05] Production.INFO: Date 2024-12-30
[2025-01-07 04:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:30:05] Production.INFO: Date 2024-12-31
[2025-01-07 04:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:30:05] Production.INFO: Date 2025-01-01
[2025-01-07 04:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:30:05] Production.INFO: Date 2025-01-02
[2025-01-07 04:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:30:05] Production.INFO: Date 2025-01-03
[2025-01-07 04:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:30:05] Production.INFO: Date 2025-01-04
[2025-01-07 04:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:30:05] Production.INFO: Date 2025-01-05
[2025-01-07 04:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:30:05] Production.INFO: Date 2025-01-06
[2025-01-07 04:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:30:05] Production.INFO: Date 2025-01-07
[2025-01-07 04:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:30:05] Production.INFO: Total Charge 0
[2025-01-07 04:30:06] Production.INFO: CreateAllLog End
[2025-01-07 04:30:06] Production.INFO: Account Balance End.
[2025-01-07 04:30:06] Production.ERROR: CronJobId end 12
[2025-01-07 04:30:06] Production.INFO: ==864== Releasing lock...
[2025-01-07 04:30:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:30:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:30:06
[end_date_ymd] => 2025-01-07 04:30:06
[RateCDR] => 1
)
[2025-01-07 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-07 01:30:06' and `end` < '2025-01-07 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-07 04:30:06] Production.INFO: Contact id print CheckCustomer Case===f21476d6-c1e8-4e8b-b2a8-87f68276aedf
[2025-01-07 04:30:06] Production.INFO: -- count --1
[2025-01-07 04:30:06] Production.INFO: AccountID 155
[2025-01-07 04:30:06] Production.INFO: AccountName Dominos 10388 (Sandeep Chaudhari)
[2025-01-07 04:30:06] Production.INFO: Checkcustomer
[2025-01-07 04:30:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010388%20%28Sandeep%20Chaudhari%29"
[2025-01-07 04:30:07] Production.INFO: /var/www/html/onswitch.neon.service/wkhtmltox/bin/wkhtmltopdf --header-spacing 3 --footer-spacing 1 --header-html --footer-html "/var/www/tmp/1/26/Invoices/2025/01/07/footer-chris-lumley-inv11321-from-12-07-2024-to-01-06-2025-10246.html" "/var/www/tmp/1/26/Invoices/2025/01/07/Invoice-chris-lumley-inv11321-from-12-07-2024-to-01-06-2025-10246.html" "/var/www/tmp/1/26/Invoices/2025/01/07/Invoice-chris-lumley-inv11321-from-12-07-2024-to-01-06-2025-10246.pdf"
[2025-01-07 04:30:07] Production.INFO:
[2025-01-07 04:30:07] Production.INFO: /var/www/tmp/1/26/Invoices/2025/01/07/Invoice-chris-lumley-inv11321-from-12-07-2024-to-01-06-2025-10246.html
[2025-01-07 04:30:07] Production.INFO: /var/www/tmp/1/26/Invoices/2025/01/07/header-chris-lumley-inv11321-from-12-07-2024-to-01-06-2025-10246.html
[2025-01-07 04:30:07] Production.INFO: /var/www/tmp/1/26/Invoices/2025/01/07/footer-chris-lumley-inv11321-from-12-07-2024-to-01-06-2025-10246.html
[2025-01-07 04:30:07] Production.INFO: Invoice generation PDF path
[2025-01-07 04:30:07] Production.INFO: PDF fullPath 1/26/Invoices/2025/01/07/Invoice-chris-lumley-inv11321-from-12-07-2024-to-01-06-2025-10246.pdf
[2025-01-07 04:30:07] Production.INFO: Generate Usage File Start
[2025-01-07 04:30:07] Production.INFO: Usage File fullPath 1/26/InvoiceUsageFile/2025/01/07/chris-lumley-07-12-2024-00-00-00-TO-06-01-2025-23-59-59_9571__fb9dbbc0-ccd9-11ef-9d23-1f5a1013ab4f.csv
[2025-01-07 04:30:08] Production.INFO: Sending Email to Staff over
[2025-01-07 04:30:08] Production.INFO: Email Status 1
[2025-01-07 04:30:08] Production.INFO: Sending Email to Customer
[2025-01-07 04:30:08] Production.INFO: =========== Email Sending over ===========
[2025-01-07 04:30:08] Production.INFO: =========== Returning as Success =========== AccountID 26
[2025-01-07 04:30:08] Production.INFO: Invoice::sendInvoice done
[2025-01-07 04:30:08] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-01-07 04:30:08] Production.INFO: Invoice Committed AccountID = 26
[2025-01-07 04:30:08] Production.INFO: =========== Updating InvoiceDate ===========
[2025-01-07 04:30:08] Production.INFO: NextInvoice 2025-01-07 2025-02-06
[2025-01-07 04:30:08] Production.INFO: new dates
[2025-01-07 04:30:08] Production.INFO: LastInvoiceDate 2025-01-07 NextInvoiceDate 2025-02-07
[2025-01-07 04:30:08] Production.INFO: LastChargeDate 2025-01-07 NextChargeDate 2025-02-06
[2025-01-07 04:30:08] Production.INFO: =========== Updated InvoiceDate ===========
[2025-01-07 04:30:08] Production.INFO: ========================== Invoice Send End =============================
[2025-01-07 04:30:08] Production.INFO: AccountID =155 FirstInvoiceSend 0
[2025-01-07 04:30:08] Production.INFO: LastInvoiceDate 2024-12-07 NextInvoiceDate 2025-01-07
[2025-01-07 04:30:08] Production.INFO: LastChargeDate 2024-12-07 NextChargeDate 2025-01-06
[2025-01-07 04:30:08] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-01-07 04:30:08] Production.INFO: ========================== Invoice Send Start =============================
[2025-01-07 04:30:08] Production.INFO: Invoice::sendInvoice(1,155,2024-12-07,2025-01-07,billing@onswitchit.ca)
[2025-01-07 04:30:08] Production.INFO: start Date =2024-12-07 EndDate =2025-01-06 23:59:59
[2025-01-07 04:30:08] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-01-07 04:30:08] 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-07 04:30:08] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-01-07 04:30:08] Production.INFO: AlreadyBilled
[2025-01-07 04:30:08] Production.INFO: Reseller ==> 0
[2025-01-07 04:30:09] Production.INFO: original start date ==>2024-12-07 changed start date ==>2024-12-07 00:00:00 original end date ==>2025-01-06 23:59:59 changed end date ==>2025-01-06 23:59:59
[2025-01-07 04:30:09] Production.INFO: Contact id print CheckCustomer Case===f7e4d9d4-d7d6-4a37-b185-fce2c2d150b9
[2025-01-07 04:30:09] Production.INFO: -- count --1
[2025-01-07 04:30:09] Production.INFO: AccountID 157
[2025-01-07 04:30:09] Production.INFO: AccountName Dominos 10588 (Gurinder Saini)
[2025-01-07 04:30:09] Production.INFO: Checkcustomer
[2025-01-07 04:30:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010588%20%28Gurinder%20Saini%29"
[2025-01-07 04:30:09] Production.INFO: Invoice::getAccountUsageTotal(1,155,2024-12-07,2025-01-06 23:59:59)
[2025-01-07 04:30:09] Production.INFO: TotalCharges - 0
[2025-01-07 04:30:09] Production.INFO: TotalUsageCharges - 0.00
[2025-01-07 04:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14192463', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 04:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 04:30:09] Production.INFO: ProcessCDR(1,14192463,1,1,2)
[2025-01-07 04:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14192463,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14192463,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:30:09] Production.INFO: Usage Over
[2025-01-07 04:30:09] Production.INFO: Call prc_getAccountSubscription(155,0)
[2025-01-07 04:30:09] Production.INFO: SUBSCRIPTION 3
[2025-01-07 04:30:09] Production.INFO: ============================Subscription Start =================
[2025-01-07 04:30:09] Production.INFO: SubscriptionID - 5
[2025-01-07 04:30:09] Production.INFO: isAdvanceSubscription - 5
[2025-01-07 04:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:30:09] Production.INFO: SubscriptionStartDate =2025-01-07 - SubscriptionEndDate = 2025-02-06
[2025-01-07 04:30:09] Production.INFO: NewNextChargeDate =2025-02-06 00:00:00
[2025-01-07 04:30:09] Production.INFO: EndDate =2025-01-06 00:00:00
[2025-01-07 04:30:09] Production.INFO: NewEndDate1 =2025-01-07
[2025-01-07 04:30:09] Production.INFO: SubscriptionDate
[2025-01-07 04:30:09] Production.INFO: Array
(
[StartDate] => 2025-01-07
[EndDate] => 2025-02-06 00:00:00
[AlreadyCharged] => 0
)
[2025-01-07 04:30:09] Production.INFO: AccountSubscription StartDate 2021-05-18 StartDate 2024-12-07
[2025-01-07 04:30:09] Production.INFO: SubscriptionID - 2025-01-07=====2025-02-06 00:00:00
[2025-01-07 04:30:09] Production.INFO: AccountSubscriptionID - 613 === 2021-05-18=====2026-01-07
[2025-01-07 04:30:09] Production.INFO: regular Advance Subscription
[2025-01-07 04:30:09] Production.INFO: First Time False 2021-05-18 2025-01-07
[2025-01-07 04:30:09] Production.INFO: StartDate 2025-01-07 AccountSubscription->StartDate 2021-05-18 EndDate 2025-02-06 00:00:00 AccountSubscription->EndDate 2026-01-07
[2025-01-07 04:30:09] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-07 04:30:09] Production.INFO: AccountSubscription::getSubscriptionAmount(613,2025-01-07,2025-02-06 00:00:00,,0)
[2025-01-07 04:30:09] Production.INFO: SubscriptionCharge - 75
[2025-01-07 04:30:09] Production.INFO: Already Invoice Subscription 0
[2025-01-07 04:30:09] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(155,1,5,2025-01-07,2025-02-06 00:00:00,Restaurant - 4 Line Flat Rate,75,75,1,613)
[2025-01-07 04:30:09] Production.INFO: DiscountAmount 0.000000
[2025-01-07 04:30:09] Production.INFO: DiscountType
[2025-01-07 04:30:09] Production.INFO: SubscriptionCharge 75
[2025-01-07 04:30:09] Production.INFO: New SubscriptionCharge 75
[2025-01-07 04:30:09] Production.INFO: TotalSubscriptionCharge - 75.00
[2025-01-07 04:30:09] Production.INFO: ============================Subscription End =================
[2025-01-07 04:30:09] Production.INFO: ============================Subscription Start =================
[2025-01-07 04:30:09] Production.INFO: SubscriptionID - 4
[2025-01-07 04:30:09] Production.INFO: ==869== Releasing lock...
[2025-01-07 04:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 04:30:09] Production.INFO: 26 MB #Memory Used#
[2025-01-07 04:30:09] Production.INFO: isAdvanceSubscription - 4
[2025-01-07 04:30:09] Production.INFO: SubscriptionStartDate =2025-01-07 - SubscriptionEndDate = 2025-02-06
[2025-01-07 04:30:09] Production.INFO: NewNextChargeDate =2025-02-06 00:00:00
[2025-01-07 04:30:09] Production.INFO: EndDate =2025-01-06 00:00:00
[2025-01-07 04:30:09] Production.INFO: NewEndDate1 =2025-01-07
[2025-01-07 04:30:09] Production.INFO: SubscriptionDate
[2025-01-07 04:30:09] Production.INFO: Array
(
[StartDate] => 2025-01-07
[EndDate] => 2025-02-06 00:00:00
[AlreadyCharged] => 0
)
[2025-01-07 04:30:09] Production.INFO: AccountSubscription StartDate 2021-05-18 StartDate 2024-12-07
[2025-01-07 04:30:09] Production.INFO: SubscriptionID - 2025-01-07=====2025-02-06 00:00:00
[2025-01-07 04:30:09] Production.INFO: AccountSubscriptionID - 614 === 2021-05-18=====2026-01-07
[2025-01-07 04:30:09] Production.INFO: regular Advance Subscription
[2025-01-07 04:30:09] Production.INFO: First Time False 2021-05-18 2025-01-07
[2025-01-07 04:30:09] Production.INFO: StartDate 2025-01-07 AccountSubscription->StartDate 2021-05-18 EndDate 2025-02-06 00:00:00 AccountSubscription->EndDate 2026-01-07
[2025-01-07 04:30:09] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-07 04:30:09] Production.INFO: AccountSubscription::getSubscriptionAmount(614,2025-01-07,2025-02-06 00:00:00,,0)
[2025-01-07 04:30:09] Production.INFO: SubscriptionCharge - 2.5
[2025-01-07 04:30:09] Production.INFO: Already Invoice Subscription 0
[2025-01-07 04:30:09] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(155,1,4,2025-01-07,2025-02-06 00:00:00,e911 address registration (15197463900 - 65 University Ave E Waterloo, ON N2J 2V9 Canada),2.5,2.5,1,614)
[2025-01-07 04:30:09] Production.INFO: DiscountAmount 0.000000
[2025-01-07 04:30:09] Production.INFO: DiscountType
[2025-01-07 04:30:09] Production.INFO: SubscriptionCharge 2.5
[2025-01-07 04:30:09] Production.INFO: New SubscriptionCharge 2.5
[2025-01-07 04:30:09] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-01-07 04:30:09] Production.INFO: ============================Subscription End =================
[2025-01-07 04:30:09] Production.INFO: ============================Subscription Start =================
[2025-01-07 04:30:09] Production.INFO: SubscriptionID - 11
[2025-01-07 04:30:09] Production.INFO: isAdvanceSubscription - 11
[2025-01-07 04:30:09] Production.INFO: SubscriptionStartDate =2025-01-07 - SubscriptionEndDate = 2025-02-06
[2025-01-07 04:30:09] Production.INFO: NewNextChargeDate =2025-02-06 00:00:00
[2025-01-07 04:30:09] Production.INFO: EndDate =2025-01-06 00:00:00
[2025-01-07 04:30:09] Production.INFO: NewEndDate1 =2025-01-07
[2025-01-07 04:30:09] Production.INFO: SubscriptionDate
[2025-01-07 04:30:09] Production.INFO: Array
(
[StartDate] => 2025-01-07
[EndDate] => 2025-02-06 00:00:00
[AlreadyCharged] => 0
)
[2025-01-07 04:30:09] Production.INFO: AccountSubscription StartDate 2021-05-18 StartDate 2024-12-07
[2025-01-07 04:30:09] Production.INFO: SubscriptionID - 2025-01-07=====2025-02-06 00:00:00
[2025-01-07 04:30:09] Production.INFO: AccountSubscriptionID - 615 === 2021-05-18=====2026-01-07
[2025-01-07 04:30:09] Production.INFO: regular Advance Subscription
[2025-01-07 04:30:09] Production.INFO: First Time False 2021-05-18 2025-01-07
[2025-01-07 04:30:09] Production.INFO: StartDate 2025-01-07 AccountSubscription->StartDate 2021-05-18 EndDate 2025-02-06 00:00:00 AccountSubscription->EndDate 2026-01-07
[2025-01-07 04:30:09] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-07 04:30:09] Production.INFO: AccountSubscription::getSubscriptionAmount(615,2025-01-07,2025-02-06 00:00:00,,0)
[2025-01-07 04:30:09] Production.INFO: SubscriptionCharge - -5
[2025-01-07 04:30:09] Production.INFO: Already Invoice Subscription 0
[2025-01-07 04:30:09] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(155,1,11,2025-01-07,2025-02-06 00:00:00,Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service,-25,-5,5,615)
[2025-01-07 04:30:09] Production.INFO: DiscountAmount 0.000000
[2025-01-07 04:30:09] Production.INFO: DiscountType
[2025-01-07 04:30:09] Production.INFO: SubscriptionCharge -25
[2025-01-07 04:30:09] Production.INFO: New SubscriptionCharge -25
[2025-01-07 04:30:09] Production.INFO: TotalSubscriptionCharge - -25.00
[2025-01-07 04:30:09] Production.INFO: ============================Subscription End =================
[2025-01-07 04:30:09] Production.INFO: SUBSCRIPTION Over
[2025-01-07 04:30:09] Production.INFO: Call prc_getAccountOneOffCharge(155,0,2024-12-07,2025-01-07 23:59:59)
[2025-01-07 04:30:09] Production.INFO: AccountOneOffCharge 0
[2025-01-07 04:30:09] Production.INFO: AccountOneOffCharge Over
[2025-01-07 04:30:09] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-01-07 04:30:09] Production.INFO: New UsageDates 2024-12-07 - 2025-01-06 23:59:59
[2025-01-07 04:30:09] Production.INFO: SubTotal 52.5
[2025-01-07 04:30:09] Production.INFO: SubTotalWithouttaxTotal 0
[2025-01-07 04:30:09] Production.INFO: AccountOneOffCharge Tax Over
[2025-01-07 04:30:09] Production.INFO: TotalTax 6.825
[2025-01-07 04:30:09] Production.INFO: InvoiceGrandTotal 59.325
[2025-01-07 04:30:09] Production.INFO: InvoiceTaxAmount 6.83
[2025-01-07 04:30:09] Production.INFO: GrandTotal 59.33
[2025-01-07 04:30:09] Production.INFO: SubTotal 52.50
[2025-01-07 04:30:09] Production.INFO: TotalDue 59.33
[2025-01-07 04:30:09] Production.INFO: Reseller ==> 0
[2025-01-07 04:30:09] Production.INFO: original start date ==>2024-12-07 changed start date ==>2024-12-07 00:00:00 original end date ==>2025-01-06 23:59:59 changed end date ==>2025-01-06 23:59:59
[2025-01-07 04:30:09] Production.INFO: CALL prc_getInvoiceUsage(1,'155','0','1','2024-12-07 00:00:00','2025-01-06 23:59:59',0)
[2025-01-07 04:30:09] Production.INFO: PDF Generation start
[2025-01-07 04:30:09] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/155/Invoices/2025/01/07/Invoice-dominos-10388-sandeep-chaudhari-inv11322-from-12-07-2024-to-01-06-2025-10247.pdf
[2025-01-07 04:30:09] Production.INFO: On Linux
[2025-01-07 04:30:10] 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/155/Invoices/2025/01/07/footer-dominos-10388-sandeep-chaudhari-inv11322-from-12-07-2024-to-01-06-2025-10247.html" "/var/www/tmp/1/155/Invoices/2025/01/07/Invoice-dominos-10388-sandeep-chaudhari-inv11322-from-12-07-2024-to-01-06-2025-10247.html" "/var/www/tmp/1/155/Invoices/2025/01/07/Invoice-dominos-10388-sandeep-chaudhari-inv11322-from-12-07-2024-to-01-06-2025-10247.pdf"
[2025-01-07 04:30:10] Production.INFO:
[2025-01-07 04:30:10] Production.INFO: /var/www/tmp/1/155/Invoices/2025/01/07/Invoice-dominos-10388-sandeep-chaudhari-inv11322-from-12-07-2024-to-01-06-2025-10247.html
[2025-01-07 04:30:10] Production.INFO: /var/www/tmp/1/155/Invoices/2025/01/07/header-dominos-10388-sandeep-chaudhari-inv11322-from-12-07-2024-to-01-06-2025-10247.html
[2025-01-07 04:30:10] Production.INFO: /var/www/tmp/1/155/Invoices/2025/01/07/footer-dominos-10388-sandeep-chaudhari-inv11322-from-12-07-2024-to-01-06-2025-10247.html
[2025-01-07 04:30:10] Production.INFO: Invoice generation PDF path
[2025-01-07 04:30:11] Production.INFO: PDF fullPath 1/155/Invoices/2025/01/07/Invoice-dominos-10388-sandeep-chaudhari-inv11322-from-12-07-2024-to-01-06-2025-10247.pdf
[2025-01-07 04:30:11] Production.INFO: Generate Usage File Start
[2025-01-07 04:30:11] Production.INFO: Usage File fullPath 1/155/InvoiceUsageFile/2025/01/07/dominos-10388-sandeep-chaudhari-07-12-2024-00-00-00-TO-06-01-2025-23-59-59_1808__fdd44cc0-ccd9-11ef-b6d4-376e5bc5d3b6.csv
[2025-01-07 04:30:11] Production.INFO: Contact id print CheckCustomer Case===1ac67d8d-8981-4be8-9709-0bb5a101fe05
[2025-01-07 04:30:11] Production.INFO: -- count --1
[2025-01-07 04:30:11] Production.INFO: AccountID 232
[2025-01-07 04:30:11] Production.INFO: AccountName Jenopher Inc.
[2025-01-07 04:30:11] Production.INFO: Checkcustomer
[2025-01-07 04:30:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Jenopher%20Inc."
[2025-01-07 04:30:11] Production.INFO: Sending Email to Staff over
[2025-01-07 04:30:11] Production.INFO: Email Status 1
[2025-01-07 04:30:11] Production.INFO: Sending Email to Customer
[2025-01-07 04:30:12] Production.INFO: Email Try 10247 1
[2025-01-07 04:30:13] Production.INFO: Email Try 10247 1
[2025-01-07 04:30:13] Production.INFO: =========== Email Sending over ===========
[2025-01-07 04:30:13] Production.INFO: =========== Returning as Success =========== AccountID 155
[2025-01-07 04:30:13] Production.INFO: Invoice::sendInvoice done
[2025-01-07 04:30:13] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-01-07 04:30:13] Production.INFO: Invoice Committed AccountID = 155
[2025-01-07 04:30:13] Production.INFO: =========== Updating InvoiceDate ===========
[2025-01-07 04:30:13] Production.INFO: NextInvoice 2025-01-07 2025-02-06
[2025-01-07 04:30:13] Production.INFO: new dates
[2025-01-07 04:30:13] Production.INFO: LastInvoiceDate 2025-01-07 NextInvoiceDate 2025-02-07
[2025-01-07 04:30:13] Production.INFO: LastChargeDate 2025-01-07 NextChargeDate 2025-02-06
[2025-01-07 04:30:13] Production.INFO: =========== Updated InvoiceDate ===========
[2025-01-07 04:30:13] Production.INFO: ========================== Invoice Send End =============================
[2025-01-07 04:30:13] Production.INFO: AccountID =157 FirstInvoiceSend 0
[2025-01-07 04:30:13] Production.INFO: LastInvoiceDate 2024-12-07 NextInvoiceDate 2025-01-07
[2025-01-07 04:30:13] Production.INFO: LastChargeDate 2024-12-07 NextChargeDate 2025-01-06
[2025-01-07 04:30:13] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-01-07 04:30:13] Production.INFO: ========================== Invoice Send Start =============================
[2025-01-07 04:30:13] Production.INFO: Invoice::sendInvoice(1,157,2024-12-07,2025-01-07,billing@onswitchit.ca)
[2025-01-07 04:30:13] Production.INFO: start Date =2024-12-07 EndDate =2025-01-06 23:59:59
[2025-01-07 04:30:13] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-01-07 04:30:13] 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-07 04:30:13] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-01-07 04:30:13] Production.INFO: AlreadyBilled
[2025-01-07 04:30:13] Production.INFO: Reseller ==> 0
[2025-01-07 04:30:13] Production.INFO: original start date ==>2024-12-07 changed start date ==>2024-12-07 00:00:00 original end date ==>2025-01-06 23:59:59 changed end date ==>2025-01-06 23:59:59
[2025-01-07 04:30:13] Production.INFO: Invoice::getAccountUsageTotal(1,157,2024-12-07,2025-01-06 23:59:59)
[2025-01-07 04:30:13] Production.INFO: TotalCharges - 0
[2025-01-07 04:30:13] Production.INFO: TotalUsageCharges - 0.00
[2025-01-07 04:30:13] Production.INFO: Usage Over
[2025-01-07 04:30:13] Production.INFO: Call prc_getAccountSubscription(157,0)
[2025-01-07 04:30:13] Production.INFO: SUBSCRIPTION 3
[2025-01-07 04:30:13] Production.INFO: ============================Subscription Start =================
[2025-01-07 04:30:13] Production.INFO: SubscriptionID - 5
[2025-01-07 04:30:13] Production.INFO: isAdvanceSubscription - 5
[2025-01-07 04:30:13] Production.INFO: SubscriptionStartDate =2025-01-07 - SubscriptionEndDate = 2025-02-06
[2025-01-07 04:30:13] Production.INFO: NewNextChargeDate =2025-02-06 00:00:00
[2025-01-07 04:30:13] Production.INFO: EndDate =2025-01-06 00:00:00
[2025-01-07 04:30:13] Production.INFO: NewEndDate1 =2025-01-07
[2025-01-07 04:30:13] Production.INFO: SubscriptionDate
[2025-01-07 04:30:13] Production.INFO: Array
(
[StartDate] => 2025-01-07
[EndDate] => 2025-02-06 00:00:00
[AlreadyCharged] => 0
)
[2025-01-07 04:30:13] Production.INFO: AccountSubscription StartDate 2021-08-06 StartDate 2024-12-07
[2025-01-07 04:30:13] Production.INFO: SubscriptionID - 2025-01-07=====2025-02-06 00:00:00
[2025-01-07 04:30:13] Production.INFO: AccountSubscriptionID - 619 === 2021-08-06=====2026-01-07
[2025-01-07 04:30:13] Production.INFO: regular Advance Subscription
[2025-01-07 04:30:13] Production.INFO: First Time False 2021-08-06 2025-01-07
[2025-01-07 04:30:13] Production.INFO: StartDate 2025-01-07 AccountSubscription->StartDate 2021-08-06 EndDate 2025-02-06 00:00:00 AccountSubscription->EndDate 2026-01-07
[2025-01-07 04:30:13] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-07 04:30:13] Production.INFO: AccountSubscription::getSubscriptionAmount(619,2025-01-07,2025-02-06 00:00:00,,0)
[2025-01-07 04:30:13] Production.INFO: SubscriptionCharge - 75
[2025-01-07 04:30:13] Production.INFO: Already Invoice Subscription 0
[2025-01-07 04:30:13] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(157,1,5,2025-01-07,2025-02-06 00:00:00,Restaurant - 4 Line Flat Rate,75,75,1,619)
[2025-01-07 04:30:13] Production.INFO: DiscountAmount 0.000000
[2025-01-07 04:30:13] Production.INFO: DiscountType
[2025-01-07 04:30:13] Production.INFO: SubscriptionCharge 75
[2025-01-07 04:30:13] Production.INFO: New SubscriptionCharge 75
[2025-01-07 04:30:13] Production.INFO: TotalSubscriptionCharge - 75.00
[2025-01-07 04:30:13] Production.INFO: ============================Subscription End =================
[2025-01-07 04:30:13] Production.INFO: ============================Subscription Start =================
[2025-01-07 04:30:13] Production.INFO: SubscriptionID - 4
[2025-01-07 04:30:13] Production.INFO: isAdvanceSubscription - 4
[2025-01-07 04:30:13] Production.INFO: SubscriptionStartDate =2025-01-07 - SubscriptionEndDate = 2025-02-06
[2025-01-07 04:30:13] Production.INFO: NewNextChargeDate =2025-02-06 00:00:00
[2025-01-07 04:30:13] Production.INFO: EndDate =2025-01-06 00:00:00
[2025-01-07 04:30:13] Production.INFO: NewEndDate1 =2025-01-07
[2025-01-07 04:30:13] Production.INFO: SubscriptionDate
[2025-01-07 04:30:13] Production.INFO: Array
(
[StartDate] => 2025-01-07
[EndDate] => 2025-02-06 00:00:00
[AlreadyCharged] => 0
)
[2025-01-07 04:30:13] Production.INFO: AccountSubscription StartDate 2021-08-06 StartDate 2024-12-07
[2025-01-07 04:30:13] Production.INFO: SubscriptionID - 2025-01-07=====2025-02-06 00:00:00
[2025-01-07 04:30:13] Production.INFO: AccountSubscriptionID - 620 === 2021-08-06=====2026-01-07
[2025-01-07 04:30:13] Production.INFO: regular Advance Subscription
[2025-01-07 04:30:13] Production.INFO: First Time False 2021-08-06 2025-01-07
[2025-01-07 04:30:13] Production.INFO: StartDate 2025-01-07 AccountSubscription->StartDate 2021-08-06 EndDate 2025-02-06 00:00:00 AccountSubscription->EndDate 2026-01-07
[2025-01-07 04:30:13] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-07 04:30:13] Production.INFO: AccountSubscription::getSubscriptionAmount(620,2025-01-07,2025-02-06 00:00:00,,0)
[2025-01-07 04:30:13] Production.INFO: SubscriptionCharge - 2.5
[2025-01-07 04:30:13] Production.INFO: Already Invoice Subscription 0
[2025-01-07 04:30:13] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(157,1,4,2025-01-07,2025-02-06 00:00:00,e911 address registration (12268873030 - 23 Wellington St 23 Guelph, ON N1H 3R7 Canada),2.5,2.5,1,620)
[2025-01-07 04:30:13] Production.INFO: DiscountAmount 0.000000
[2025-01-07 04:30:13] Production.INFO: DiscountType
[2025-01-07 04:30:13] Production.INFO: SubscriptionCharge 2.5
[2025-01-07 04:30:13] Production.INFO: New SubscriptionCharge 2.5
[2025-01-07 04:30:13] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-01-07 04:30:13] Production.INFO: ============================Subscription End =================
[2025-01-07 04:30:13] Production.INFO: ============================Subscription Start =================
[2025-01-07 04:30:13] Production.INFO: SubscriptionID - 11
[2025-01-07 04:30:13] Production.INFO: isAdvanceSubscription - 11
[2025-01-07 04:30:13] Production.INFO: SubscriptionStartDate =2025-01-07 - SubscriptionEndDate = 2025-02-06
[2025-01-07 04:30:13] Production.INFO: NewNextChargeDate =2025-02-06 00:00:00
[2025-01-07 04:30:13] Production.INFO: EndDate =2025-01-06 00:00:00
[2025-01-07 04:30:13] Production.INFO: NewEndDate1 =2025-01-07
[2025-01-07 04:30:13] Production.INFO: SubscriptionDate
[2025-01-07 04:30:13] Production.INFO: Array
(
[StartDate] => 2025-01-07
[EndDate] => 2025-02-06 00:00:00
[AlreadyCharged] => 0
)
[2025-01-07 04:30:13] Production.INFO: AccountSubscription StartDate 2021-08-06 StartDate 2024-12-07
[2025-01-07 04:30:13] Production.INFO: SubscriptionID - 2025-01-07=====2025-02-06 00:00:00
[2025-01-07 04:30:13] Production.INFO: AccountSubscriptionID - 621 === 2021-08-06=====2026-01-07
[2025-01-07 04:30:13] Production.INFO: regular Advance Subscription
[2025-01-07 04:30:13] Production.INFO: First Time False 2021-08-06 2025-01-07
[2025-01-07 04:30:13] Production.INFO: StartDate 2025-01-07 AccountSubscription->StartDate 2021-08-06 EndDate 2025-02-06 00:00:00 AccountSubscription->EndDate 2026-01-07
[2025-01-07 04:30:13] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-07 04:30:13] Production.INFO: AccountSubscription::getSubscriptionAmount(621,2025-01-07,2025-02-06 00:00:00,,0)
[2025-01-07 04:30:13] Production.INFO: SubscriptionCharge - -5
[2025-01-07 04:30:13] Production.INFO: Already Invoice Subscription 0
[2025-01-07 04:30:13] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(157,1,11,2025-01-07,2025-02-06 00:00:00,Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service,-10,-5,2,621)
[2025-01-07 04:30:13] Production.INFO: DiscountAmount 0.000000
[2025-01-07 04:30:13] Production.INFO: DiscountType
[2025-01-07 04:30:13] Production.INFO: SubscriptionCharge -10
[2025-01-07 04:30:13] Production.INFO: New SubscriptionCharge -10
[2025-01-07 04:30:13] Production.INFO: TotalSubscriptionCharge - -10.00
[2025-01-07 04:30:13] Production.INFO: ============================Subscription End =================
[2025-01-07 04:30:13] Production.INFO: SUBSCRIPTION Over
[2025-01-07 04:30:13] Production.INFO: Call prc_getAccountOneOffCharge(157,0,2024-12-07,2025-01-07 23:59:59)
[2025-01-07 04:30:13] Production.INFO: AccountOneOffCharge 0
[2025-01-07 04:30:13] Production.INFO: AccountOneOffCharge Over
[2025-01-07 04:30:13] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-01-07 04:30:13] Production.INFO: New UsageDates 2024-12-07 - 2025-01-06 23:59:59
[2025-01-07 04:30:13] Production.INFO: SubTotal 67.5
[2025-01-07 04:30:13] Production.INFO: SubTotalWithouttaxTotal 0
[2025-01-07 04:30:13] Production.INFO: AccountOneOffCharge Tax Over
[2025-01-07 04:30:13] Production.INFO: TotalTax 8.775
[2025-01-07 04:30:13] Production.INFO: InvoiceGrandTotal 76.275
[2025-01-07 04:30:13] Production.INFO: InvoiceTaxAmount 8.78
[2025-01-07 04:30:13] Production.INFO: GrandTotal 76.28
[2025-01-07 04:30:13] Production.INFO: SubTotal 67.50
[2025-01-07 04:30:13] Production.INFO: TotalDue 76.28
[2025-01-07 04:30:13] Production.INFO: Reseller ==> 0
[2025-01-07 04:30:13] Production.INFO: original start date ==>2024-12-07 changed start date ==>2024-12-07 00:00:00 original end date ==>2025-01-06 23:59:59 changed end date ==>2025-01-06 23:59:59
[2025-01-07 04:30:13] Production.INFO: CALL prc_getInvoiceUsage(1,'157','0','1','2024-12-07 00:00:00','2025-01-06 23:59:59',0)
[2025-01-07 04:30:13] Production.INFO: PDF Generation start
[2025-01-07 04:30:14] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/157/Invoices/2025/01/07/Invoice-dominos-10588-gurinder-saini-inv11323-from-12-07-2024-to-01-06-2025-10248.pdf
[2025-01-07 04:30:14] Production.INFO: On Linux
[2025-01-07 04:30:14] Production.INFO: Contact id print CheckCustomer Case===5fa26058-5c6f-4ffe-9c35-4f8d77ccf359
[2025-01-07 04:30:14] Production.INFO: -- count --1
[2025-01-07 04:30:14] Production.INFO: AccountID 53
[2025-01-07 04:30:14] Production.INFO: AccountName Plus Travel Group
[2025-01-07 04:30:14] Production.INFO: Checkcustomer
[2025-01-07 04:30:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plus%20Travel%20Group"
[2025-01-07 04:30:15] 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/157/Invoices/2025/01/07/footer-dominos-10588-gurinder-saini-inv11323-from-12-07-2024-to-01-06-2025-10248.html" "/var/www/tmp/1/157/Invoices/2025/01/07/Invoice-dominos-10588-gurinder-saini-inv11323-from-12-07-2024-to-01-06-2025-10248.html" "/var/www/tmp/1/157/Invoices/2025/01/07/Invoice-dominos-10588-gurinder-saini-inv11323-from-12-07-2024-to-01-06-2025-10248.pdf"
[2025-01-07 04:30:15] Production.INFO:
[2025-01-07 04:30:15] Production.INFO: /var/www/tmp/1/157/Invoices/2025/01/07/Invoice-dominos-10588-gurinder-saini-inv11323-from-12-07-2024-to-01-06-2025-10248.html
[2025-01-07 04:30:15] Production.INFO: /var/www/tmp/1/157/Invoices/2025/01/07/header-dominos-10588-gurinder-saini-inv11323-from-12-07-2024-to-01-06-2025-10248.html
[2025-01-07 04:30:15] Production.INFO: /var/www/tmp/1/157/Invoices/2025/01/07/footer-dominos-10588-gurinder-saini-inv11323-from-12-07-2024-to-01-06-2025-10248.html
[2025-01-07 04:30:15] Production.INFO: Invoice generation PDF path
[2025-01-07 04:30:15] Production.INFO: PDF fullPath 1/157/Invoices/2025/01/07/Invoice-dominos-10588-gurinder-saini-inv11323-from-12-07-2024-to-01-06-2025-10248.pdf
[2025-01-07 04:30:15] Production.INFO: Generate Usage File Start
[2025-01-07 04:30:15] Production.INFO: Usage File fullPath 1/157/InvoiceUsageFile/2025/01/07/dominos-10588-gurinder-saini-07-12-2024-00-00-00-TO-06-01-2025-23-59-59_5796__00762320-ccda-11ef-aab2-3797ebdfbd5d.csv
[2025-01-07 04:30:16] Production.INFO: Sending Email to Staff over
[2025-01-07 04:30:16] Production.INFO: Email Status 1
[2025-01-07 04:30:16] Production.INFO: Sending Email to Customer
[2025-01-07 04:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:30:16] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:30:16] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:30:16] Production.ERROR: CronJobId end10
[2025-01-07 04:30:16] Production.INFO: ==862== Releasing lock...
[2025-01-07 04:30:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:30:16] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:30:16] Production.INFO: call_cost start
[2025-01-07 04:30:16] Production.INFO: call_cost end
[2025-01-07 04:30:17] Production.INFO: Contact id print CheckCustomer Case===5f6b39a6-c5bb-485f-9fdd-a6c7a1eccc47
[2025-01-07 04:30:17] Production.INFO: -- count --1
[2025-01-07 04:30:17] Production.INFO: AccountID 144
[2025-01-07 04:30:17] Production.INFO: AccountName Discount Coach Tours and Wed in Destination
[2025-01-07 04:30:17] Production.INFO: Checkcustomer
[2025-01-07 04:30:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Discount%20Coach%20Tours%20and%20Wed%20in%20Destination"
[2025-01-07 04:30:17] Production.INFO: Email Try 10248 1
[2025-01-07 04:30:17] Production.INFO: =========== Email Sending over ===========
[2025-01-07 04:30:17] Production.INFO: =========== Returning as Success =========== AccountID 157
[2025-01-07 04:30:17] Production.INFO: Invoice::sendInvoice done
[2025-01-07 04:30:17] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-01-07 04:30:17] Production.INFO: Invoice Committed AccountID = 157
[2025-01-07 04:30:17] Production.INFO: =========== Updating InvoiceDate ===========
[2025-01-07 04:30:17] Production.INFO: NextInvoice 2025-01-07 2025-02-06
[2025-01-07 04:30:17] Production.INFO: new dates
[2025-01-07 04:30:17] Production.INFO: LastInvoiceDate 2025-01-07 NextInvoiceDate 2025-02-07
[2025-01-07 04:30:17] Production.INFO: LastChargeDate 2025-01-07 NextChargeDate 2025-02-06
[2025-01-07 04:30:17] Production.INFO: =========== Updated InvoiceDate ===========
[2025-01-07 04:30:17] Production.INFO: ========================== Invoice Send End =============================
[2025-01-07 04:30:17] Production.INFO: AccountID =232 FirstInvoiceSend 0
[2025-01-07 04:30:17] Production.INFO: LastInvoiceDate 2024-12-07 NextInvoiceDate 2025-01-07
[2025-01-07 04:30:17] Production.INFO: LastChargeDate 2024-12-07 NextChargeDate 2025-01-06
[2025-01-07 04:30:17] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-01-07 04:30:17] Production.INFO: ========================== Invoice Send Start =============================
[2025-01-07 04:30:17] Production.INFO: Invoice::sendInvoice(1,232,2024-12-07,2025-01-07,billing@onswitchit.ca)
[2025-01-07 04:30:17] Production.INFO: start Date =2024-12-07 EndDate =2025-01-06 23:59:59
[2025-01-07 04:30:17] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-01-07 04:30:17] 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-07 04:30:17] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-01-07 04:30:17] Production.INFO: AlreadyBilled
[2025-01-07 04:30:17] Production.INFO: Reseller ==> 0
[2025-01-07 04:30:17] Production.INFO: original start date ==>2024-12-07 changed start date ==>2024-12-07 00:00:00 original end date ==>2025-01-06 23:59:59 changed end date ==>2025-01-06 23:59:59
[2025-01-07 04:30:17] Production.INFO: Invoice::getAccountUsageTotal(1,232,2024-12-07,2025-01-06 23:59:59)
[2025-01-07 04:30:17] Production.INFO: TotalCharges - 0
[2025-01-07 04:30:17] Production.INFO: TotalUsageCharges - 0.00
[2025-01-07 04:30:17] Production.INFO: Usage Over
[2025-01-07 04:30:17] Production.INFO: Call prc_getAccountSubscription(232,0)
[2025-01-07 04:30:17] Production.INFO: SUBSCRIPTION 3
[2025-01-07 04:30:17] Production.INFO: ============================Subscription Start =================
[2025-01-07 04:30:17] Production.INFO: SubscriptionID - 2
[2025-01-07 04:30:17] Production.INFO: isAdvanceSubscription - 2
[2025-01-07 04:30:17] Production.INFO: SubscriptionStartDate =2025-01-07 - SubscriptionEndDate = 2025-02-06
[2025-01-07 04:30:17] Production.INFO: NewNextChargeDate =2025-02-06 00:00:00
[2025-01-07 04:30:17] Production.INFO: EndDate =2025-01-06 00:00:00
[2025-01-07 04:30:17] Production.INFO: NewEndDate1 =2025-01-07
[2025-01-07 04:30:17] Production.INFO: SubscriptionDate
[2025-01-07 04:30:17] Production.INFO: Array
(
[StartDate] => 2025-01-07
[EndDate] => 2025-02-06 00:00:00
[AlreadyCharged] => 0
)
[2025-01-07 04:30:17] Production.INFO: AccountSubscription StartDate 2024-06-05 StartDate 2024-12-07
[2025-01-07 04:30:17] Production.INFO: SubscriptionID - 2025-01-07=====2025-02-06 00:00:00
[2025-01-07 04:30:17] Production.INFO: AccountSubscriptionID - 1125 === 2024-06-05=====2026-01-07
[2025-01-07 04:30:17] Production.INFO: regular Advance Subscription
[2025-01-07 04:30:17] Production.INFO: First Time False 2024-06-05 2025-01-07
[2025-01-07 04:30:17] Production.INFO: StartDate 2025-01-07 AccountSubscription->StartDate 2024-06-05 EndDate 2025-02-06 00:00:00 AccountSubscription->EndDate 2026-01-07
[2025-01-07 04:30:17] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-07 04:30:17] Production.INFO: AccountSubscription::getSubscriptionAmount(1125,2025-01-07,2025-02-06 00:00:00,,0)
[2025-01-07 04:30:17] Production.INFO: SubscriptionCharge - 12.99
[2025-01-07 04:30:17] Production.INFO: Already Invoice Subscription 0
[2025-01-07 04:30:17] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(232,1,2,2025-01-07,2025-02-06 00:00:00,License for an Unlimited Canada/US Cloud Phone extension (discounted - utility phone/low call volume),64.95,12.99,5,1125)
[2025-01-07 04:30:17] Production.INFO: DiscountAmount 90.000000
[2025-01-07 04:30:17] Production.INFO: DiscountType Percentage
[2025-01-07 04:30:17] Production.INFO: SubscriptionCharge 64.95
[2025-01-07 04:30:17] Production.INFO: New SubscriptionCharge 6.495
[2025-01-07 04:30:17] Production.INFO: TotalSubscriptionCharge - 6.50
[2025-01-07 04:30:17] Production.INFO: ============================Subscription End =================
[2025-01-07 04:30:17] Production.INFO: ============================Subscription Start =================
[2025-01-07 04:30:17] Production.INFO: SubscriptionID - 12
[2025-01-07 04:30:17] Production.INFO: isAdvanceSubscription - 12
[2025-01-07 04:30:17] Production.INFO: SubscriptionStartDate =2025-01-07 - SubscriptionEndDate = 2025-02-06
[2025-01-07 04:30:17] Production.INFO: NewNextChargeDate =2025-02-06 00:00:00
[2025-01-07 04:30:17] Production.INFO: EndDate =2025-01-06 00:00:00
[2025-01-07 04:30:17] Production.INFO: NewEndDate1 =2025-01-07
[2025-01-07 04:30:17] Production.INFO: SubscriptionDate
[2025-01-07 04:30:17] Production.INFO: Array
(
[StartDate] => 2025-01-07
[EndDate] => 2025-02-06 00:00:00
[AlreadyCharged] => 0
)
[2025-01-07 04:30:17] Production.INFO: AccountSubscription StartDate 2024-06-05 StartDate 2024-12-07
[2025-01-07 04:30:17] Production.INFO: SubscriptionID - 2025-01-07=====2025-02-06 00:00:00
[2025-01-07 04:30:17] Production.INFO: AccountSubscriptionID - 1135 === 2024-06-05=====2026-01-07
[2025-01-07 04:30:17] Production.INFO: regular Advance Subscription
[2025-01-07 04:30:17] Production.INFO: First Time False 2024-06-05 2025-01-07
[2025-01-07 04:30:17] Production.INFO: StartDate 2025-01-07 AccountSubscription->StartDate 2024-06-05 EndDate 2025-02-06 00:00:00 AccountSubscription->EndDate 2026-01-07
[2025-01-07 04:30:17] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-07 04:30:17] Production.INFO: AccountSubscription::getSubscriptionAmount(1135,2025-01-07,2025-02-06 00:00:00,,0)
[2025-01-07 04:30:17] Production.INFO: SubscriptionCharge - 0
[2025-01-07 04:30:17] Production.INFO: Already Invoice Subscription 0
[2025-01-07 04:30:17] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(232,1,12,2025-01-07,2025-02-06 00:00:00,Included DID (416-244-6155),0,0,1,1135)
[2025-01-07 04:30:17] Production.INFO: DiscountAmount 0.000000
[2025-01-07 04:30:17] Production.INFO: DiscountType Flat
[2025-01-07 04:30:17] Production.INFO: SubscriptionCharge 0
[2025-01-07 04:30:17] Production.INFO: New SubscriptionCharge 0
[2025-01-07 04:30:17] Production.INFO: TotalSubscriptionCharge - 0.00
[2025-01-07 04:30:17] Production.INFO: ============================Subscription End =================
[2025-01-07 04:30:17] Production.INFO: ============================Subscription Start =================
[2025-01-07 04:30:17] Production.INFO: SubscriptionID - 7
[2025-01-07 04:30:17] Production.INFO: isAdvanceSubscription - 7
[2025-01-07 04:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:30:17] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:30:17] Production.INFO: SubscriptionStartDate =2025-01-07 - SubscriptionEndDate = 2025-02-06
[2025-01-07 04:30:17] Production.INFO: NewNextChargeDate =2025-02-06 00:00:00
[2025-01-07 04:30:17] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:30:17] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:30:17] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:30:17] Production.INFO: EndDate =2025-01-06 00:00:00
[2025-01-07 04:30:17] Production.INFO: NewEndDate1 =2025-01-07
[2025-01-07 04:30:17] Production.INFO: SubscriptionDate
[2025-01-07 04:30:17] Production.INFO: Array
(
[StartDate] => 2025-01-07
[EndDate] => 2025-02-06 00:00:00
[AlreadyCharged] => 0
)
[2025-01-07 04:30:17] Production.INFO: ==856== Releasing lock...
[2025-01-07 04:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:30:17] Production.INFO: AccountSubscription StartDate 2024-10-01 StartDate 2024-12-07
[2025-01-07 04:30:17] Production.INFO: SubscriptionID - 2025-01-07=====2025-02-06 00:00:00
[2025-01-07 04:30:17] Production.INFO: AccountSubscriptionID - 1173 === 2024-10-01=====2026-01-07
[2025-01-07 04:30:17] Production.INFO: regular Advance Subscription
[2025-01-07 04:30:17] Production.INFO: First Time False 2024-10-01 2025-01-07
[2025-01-07 04:30:17] Production.INFO: StartDate 2025-01-07 AccountSubscription->StartDate 2024-10-01 EndDate 2025-02-06 00:00:00 AccountSubscription->EndDate 2026-01-07
[2025-01-07 04:30:17] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-07 04:30:17] Production.INFO: AccountSubscription::getSubscriptionAmount(1173,2025-01-07,2025-02-06 00:00:00,,0)
[2025-01-07 04:30:17] Production.INFO: SubscriptionCharge - 8.1
[2025-01-07 04:30:17] Production.INFO: Already Invoice Subscription 0
[2025-01-07 04:30:17] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(232,2,7,2025-01-07,2025-02-06 00:00:00,Microsoft 365 Business Essentials subscription. Collaboration and productivity suite, managed by OnSwitch.,56.7,8.1,7,1173)
[2025-01-07 04:30:17] Production.INFO: DiscountAmount 0.000000
[2025-01-07 04:30:17] Production.INFO: DiscountType Flat
[2025-01-07 04:30:17] Production.INFO: SubscriptionCharge 56.7
[2025-01-07 04:30:17] Production.INFO: New SubscriptionCharge 56.7
[2025-01-07 04:30:17] Production.INFO: TotalSubscriptionCharge - 56.70
[2025-01-07 04:30:17] Production.INFO: ============================Subscription End =================
[2025-01-07 04:30:17] Production.INFO: SUBSCRIPTION Over
[2025-01-07 04:30:17] Production.INFO: Call prc_getAccountOneOffCharge(232,0,2024-12-07,2025-01-07 23:59:59)
[2025-01-07 04:30:17] Production.INFO: AccountOneOffCharge 0
[2025-01-07 04:30:17] Production.INFO: AccountOneOffCharge Over
[2025-01-07 04:30:17] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-01-07 04:30:17] Production.INFO: New UsageDates 2024-12-07 - 2025-01-06 23:59:59
[2025-01-07 04:30:17] Production.INFO: SubTotal 63.195
[2025-01-07 04:30:17] Production.INFO: SubTotalWithouttaxTotal 0
[2025-01-07 04:30:17] Production.INFO: AccountOneOffCharge Tax Over
[2025-01-07 04:30:17] Production.INFO: TotalTax 8.21535
[2025-01-07 04:30:17] Production.INFO: InvoiceGrandTotal 71.41035
[2025-01-07 04:30:17] Production.INFO: InvoiceTaxAmount 8.22
[2025-01-07 04:30:17] Production.INFO: GrandTotal 71.42
[2025-01-07 04:30:17] Production.INFO: SubTotal 63.20
[2025-01-07 04:30:17] Production.INFO: TotalDue 71.42
[2025-01-07 04:30:17] Production.INFO: Reseller ==> 0
[2025-01-07 04:30:17] Production.INFO: original start date ==>2024-12-07 changed start date ==>2024-12-07 00:00:00 original end date ==>2025-01-06 23:59:59 changed end date ==>2025-01-06 23:59:59
[2025-01-07 04:30:17] Production.INFO: CALL prc_getInvoiceUsage(1,'232','0','1','2024-12-07 00:00:00','2025-01-06 23:59:59',0)
[2025-01-07 04:30:17] Production.INFO: PDF Generation start
[2025-01-07 04:30:17] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/232/Invoices/2025/01/07/Invoice-jenopher-inc-inv11324-from-12-07-2024-to-01-06-2025-10249.pdf
[2025-01-07 04:30:17] Production.INFO: On Linux
[2025-01-07 04:30:18] 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/232/Invoices/2025/01/07/footer-jenopher-inc-inv11324-from-12-07-2024-to-01-06-2025-10249.html" "/var/www/tmp/1/232/Invoices/2025/01/07/Invoice-jenopher-inc-inv11324-from-12-07-2024-to-01-06-2025-10249.html" "/var/www/tmp/1/232/Invoices/2025/01/07/Invoice-jenopher-inc-inv11324-from-12-07-2024-to-01-06-2025-10249.pdf"
[2025-01-07 04:30:18] Production.INFO:
[2025-01-07 04:30:18] Production.INFO: /var/www/tmp/1/232/Invoices/2025/01/07/Invoice-jenopher-inc-inv11324-from-12-07-2024-to-01-06-2025-10249.html
[2025-01-07 04:30:18] Production.INFO: /var/www/tmp/1/232/Invoices/2025/01/07/header-jenopher-inc-inv11324-from-12-07-2024-to-01-06-2025-10249.html
[2025-01-07 04:30:18] Production.INFO: /var/www/tmp/1/232/Invoices/2025/01/07/footer-jenopher-inc-inv11324-from-12-07-2024-to-01-06-2025-10249.html
[2025-01-07 04:30:18] Production.INFO: Invoice generation PDF path
[2025-01-07 04:30:18] Production.INFO: PDF fullPath 1/232/Invoices/2025/01/07/Invoice-jenopher-inc-inv11324-from-12-07-2024-to-01-06-2025-10249.pdf
[2025-01-07 04:30:18] Production.INFO: Generate Usage File Start
[2025-01-07 04:30:18] Production.INFO: Usage File fullPath 1/232/InvoiceUsageFile/2025/01/07/jenopher-inc-07-12-2024-00-00-00-TO-06-01-2025-23-59-59_268__027a9b30-ccda-11ef-b55c-113b547ea733.csv
[2025-01-07 04:30:19] Production.INFO: count ==133
[2025-01-07 04:30:19] Production.ERROR: pbx CDR StartTime 2025-01-07 01:30:06 - End Time 2025-01-07 04:30:06
[2025-01-07 04:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192462', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192462', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192462', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192462', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:30:19] Production.INFO: ProcessCDR(1,14192462,1,1,2)
[2025-01-07 04:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192462,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:30:19] Production.INFO: Contact id print CheckCustomer Case===c864ce51-780a-4f49-93fc-921fe633c032
[2025-01-07 04:30:19] Production.INFO: -- count --1
[2025-01-07 04:30:19] Production.INFO: AccountID 145
[2025-01-07 04:30:19] Production.INFO: AccountName Factor Direct Corporation
[2025-01-07 04:30:19] Production.INFO: Checkcustomer
[2025-01-07 04:30:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Factor%20Direct%20Corporation"
[2025-01-07 04:30:19] Production.INFO: Sending Email to Staff over
[2025-01-07 04:30:19] Production.INFO: Email Status 1
[2025-01-07 04:30:19] Production.INFO: Sending Email to Customer
[2025-01-07 04:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192462,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192462,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:30:20] Production.INFO: Email Try 10249 1
[2025-01-07 04:30:20] Production.INFO: =========== Email Sending over ===========
[2025-01-07 04:30:20] Production.INFO: =========== Returning as Success =========== AccountID 232
[2025-01-07 04:30:20] Production.INFO: Invoice::sendInvoice done
[2025-01-07 04:30:20] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-01-07 04:30:20] Production.INFO: Invoice Committed AccountID = 232
[2025-01-07 04:30:20] Production.INFO: =========== Updating InvoiceDate ===========
[2025-01-07 04:30:20] Production.INFO: NextInvoice 2025-01-07 2025-02-06
[2025-01-07 04:30:20] Production.INFO: new dates
[2025-01-07 04:30:20] Production.INFO: LastInvoiceDate 2025-01-07 NextInvoiceDate 2025-02-07
[2025-01-07 04:30:20] Production.INFO: LastChargeDate 2025-01-07 NextChargeDate 2025-02-06
[2025-01-07 04:30:20] Production.INFO: =========== Updated InvoiceDate ===========
[2025-01-07 04:30:20] Production.INFO: ========================== Invoice Send End =============================
[2025-01-07 04:30:20] Production.INFO: ========================== Recurring invoice Start =============================
[2025-01-07 04:30:20] Production.INFO: recurring invoices ID
[2025-01-07 04:30:20] Production.INFO:
[2025-01-07 04:30:20] Production.INFO: recurring errorsArray
(
)
[2025-01-07 04:30:20] Production.INFO: ========================== Recurring invoice End =============================
[2025-01-07 04:30:20] Production.INFO: ========================== Job Updated =============================
[2025-01-07 04:30:21] Production.INFO: ========================== Job Email Sent =============================
[2025-01-07 04:30:21] Production.ERROR: **Email Sent Status 1
[2025-01-07 04:30:21] Production.ERROR: **Email Sent message Email has been sent
[2025-01-07 04:30:21] Production.ERROR: CronJobId end6
[2025-01-07 04:30:21] Production.INFO: ==858== Releasing lock...
[2025-01-07 04:30:21] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Stops#
[2025-01-07 04:30:21] Production.INFO: 38.5 MB #Memory Used#
[2025-01-07 04:30:21] Production.INFO: Contact id print CheckCustomer Case===7c1277f3-bcd9-451c-bc86-2de69f5b3c16
[2025-01-07 04:30:21] Production.INFO: -- count --1
[2025-01-07 04:30:21] Production.INFO: AccountID 211
[2025-01-07 04:30:21] Production.INFO: AccountName Dominos 39052 (Sandeep Chaudhari)
[2025-01-07 04:30:21] Production.INFO: Checkcustomer
[2025-01-07 04:30:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039052%20%28Sandeep%20Chaudhari%29"
[2025-01-07 04:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192462,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192462', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192462', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:30:22] Production.INFO: ==866== Releasing lock...
[2025-01-07 04:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:30:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-07 04:30:24] Production.INFO: Contact id print CheckCustomer Case===fef41f69-d586-4623-95ec-1702df71d8e3
[2025-01-07 04:30:24] Production.INFO: -- count --1
[2025-01-07 04:30:24] Production.INFO: AccountID 227
[2025-01-07 04:30:24] Production.INFO: AccountName Quiznos 15184 (Akshay Naik)
[2025-01-07 04:30:24] Production.INFO: Checkcustomer
[2025-01-07 04:30:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015184%20%28Akshay%20Naik%29"
[2025-01-07 04:30:26] Production.INFO: Contact id print CheckCustomer Case===7d4d8a6e-9b66-4daf-be5c-0e7e0524121b
[2025-01-07 04:30:26] Production.INFO: -- count --1
[2025-01-07 04:30:26] Production.INFO: AccountID 241
[2025-01-07 04:30:26] Production.INFO: AccountName Quiznos 15192 (Akshay Naik)
[2025-01-07 04:30:26] Production.INFO: Checkcustomer
[2025-01-07 04:30:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015192%20%28Akshay%20Naik%29"
[2025-01-07 04:30:28] Production.INFO: Contact id print CheckCustomer Case===9f823e1c-f0d1-4915-b9fd-4b0d691e058e
[2025-01-07 04:30:28] Production.INFO: -- count --1
[2025-01-07 04:30:28] Production.INFO: AccountID 65
[2025-01-07 04:30:28] Production.INFO: AccountName AOPG Inc.
[2025-01-07 04:30:28] Production.INFO: Checkcustomer
[2025-01-07 04:30:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="AOPG%20Inc."
[2025-01-07 04:30:31] Production.INFO: Contact id print CheckCustomer Case===d7433a1b-abec-492c-bcf0-79c422ee5e45
[2025-01-07 04:30:31] Production.INFO: -- count --1
[2025-01-07 04:30:31] Production.INFO: AccountID 53
[2025-01-07 04:30:31] Production.INFO: AccountName Plus Travel Group
[2025-01-07 04:30:31] Production.INFO: Checkcustomer
[2025-01-07 04:30:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plus%20Travel%20Group"
[2025-01-07 04:30:34] Production.INFO: Contact id print CheckCustomer Case===5f6b39a6-c5bb-485f-9fdd-a6c7a1eccc47
[2025-01-07 04:30:34] Production.INFO: -- count --1
[2025-01-07 04:30:34] Production.INFO: AccountID 53
[2025-01-07 04:30:34] Production.INFO: AccountName Plus Travel Group
[2025-01-07 04:30:34] Production.INFO: Checkcustomer
[2025-01-07 04:30:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plus%20Travel%20Group"
[2025-01-07 04:30:36] Production.INFO: Contact id print CheckCustomer Case===5f6b39a6-c5bb-485f-9fdd-a6c7a1eccc47
[2025-01-07 04:30:36] Production.INFO: -- count --1
[2025-01-07 04:30:36] Production.INFO: AccountID 63
[2025-01-07 04:30:36] Production.INFO: AccountName Clek Inc.
[2025-01-07 04:30:36] Production.INFO: Checkcustomer
[2025-01-07 04:30:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc."
[2025-01-07 04:30:39] Production.INFO: Contact id print CheckCustomer Case===c5a4d0ce-0d87-4131-b0d8-9808badfe70b
[2025-01-07 04:30:39] Production.INFO: -- count --1
[2025-01-07 04:30:39] Production.INFO: AccountID 236
[2025-01-07 04:30:39] Production.INFO: AccountName Keogh Construction
[2025-01-07 04:30:39] Production.INFO: Checkcustomer
[2025-01-07 04:30:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Keogh%20Construction"
[2025-01-07 04:30:42] Production.INFO: Contact id print CheckCustomer Case===cad302ad-7c7e-456b-bcf1-bd7729cb22b7
[2025-01-07 04:30:42] Production.INFO: -- count --1
[2025-01-07 04:30:42] Production.INFO: AccountID 237
[2025-01-07 04:30:42] Production.INFO: AccountName Natural Insect Control
[2025-01-07 04:30:42] Production.INFO: Checkcustomer
[2025-01-07 04:30:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Natural%20Insect%20Control"
[2025-01-07 04:30:44] Production.INFO: Contact id print CheckCustomer Case===fcade0cf-7b43-4bfe-86cf-b6c9e33f1686
[2025-01-07 04:30:44] Production.INFO: -- count --1
[2025-01-07 04:30:44] Production.INFO: AccountID 5
[2025-01-07 04:30:44] Production.INFO: AccountName DMCI
[2025-01-07 04:30:44] Production.INFO: Checkcustomer
[2025-01-07 04:30:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="DMCI"
[2025-01-07 04:30:47] Production.INFO: Contact id print CheckCustomer Case===7bc9d577-a1e5-4866-a22c-25fb311cbded
[2025-01-07 04:30:47] Production.INFO: -- count --1
[2025-01-07 04:30:47] Production.INFO: AccountID 13
[2025-01-07 04:30:47] Production.INFO: AccountName Rosedale Diner
[2025-01-07 04:30:47] Production.INFO: Checkcustomer
[2025-01-07 04:30:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Rosedale%20Diner"
[2025-01-07 04:30:49] Production.INFO: Contact id print CheckCustomer Case===d315b223-0318-473a-8190-ce14e673da0e
[2025-01-07 04:30:49] Production.INFO: -- count --1
[2025-01-07 04:30:49] Production.INFO: AccountID 73
[2025-01-07 04:30:49] Production.INFO: AccountName Discovery Point Nursery
[2025-01-07 04:30:49] Production.INFO: Checkcustomer
[2025-01-07 04:30:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Discovery%20Point%20Nursery"
[2025-01-07 04:30:52] Production.INFO: Contact id print CheckCustomer Case===cb58377f-8ea7-4ab2-9952-d9be1c41b3e2
[2025-01-07 04:30:52] Production.INFO: -- count --1
[2025-01-07 04:30:52] Production.INFO: AccountID 139
[2025-01-07 04:30:52] Production.INFO: AccountName Dominos 10560 (Ricky Singh)
[2025-01-07 04:30:52] Production.INFO: Checkcustomer
[2025-01-07 04:30:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010560%20%28Ricky%20Singh%29"
[2025-01-07 04:30:54] Production.INFO: Contact id print CheckCustomer Case===7c24a24f-0252-42cb-b4ca-aa9aa79c4f0b
[2025-01-07 04:30:54] Production.INFO: -- count --1
[2025-01-07 04:30:54] Production.INFO: AccountID 98
[2025-01-07 04:30:54] Production.INFO: AccountName Dominos 10537 (Brandon Meyers)
[2025-01-07 04:30:54] Production.INFO: Checkcustomer
[2025-01-07 04:30:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010537%20%28Brandon%20Meyers%29"
[2025-01-07 04:30:56] Production.INFO: Contact id print CheckCustomer Case===e432f2ff-87d1-4a0f-b87d-a33325db6e89
[2025-01-07 04:30:56] Production.INFO: -- count --1
[2025-01-07 04:30:56] Production.INFO: AccountID 106
[2025-01-07 04:30:56] Production.INFO: AccountName G4 Broker
[2025-01-07 04:30:56] Production.INFO: Checkcustomer
[2025-01-07 04:30:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="G4%20Broker"
[2025-01-07 04:30:59] Production.INFO: Contact id print CheckCustomer Case===3cfda7a3-4db5-4680-a967-42dbcc00679b
[2025-01-07 04:30:59] Production.INFO: -- count --1
[2025-01-07 04:30:59] Production.INFO: AccountID 119
[2025-01-07 04:30:59] Production.INFO: AccountName Dominos 10402 (Anwar Hossain)
[2025-01-07 04:30:59] Production.INFO: Checkcustomer
[2025-01-07 04:30:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010402%20%28Anwar%20Hossain%29"
[2025-01-07 09:31:01] Production.INFO: ==1014== Lock acquired, processing the job...
[2025-01-07 09:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:31:01] Production.INFO: neon service started
[2025-01-07 09:31:01] Production.INFO: neon service started
[2025-01-07 09:31:01] Production.INFO: ==1014== Releasing lock...
[2025-01-07 09:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:31:02] Production.INFO: ==1016== Lock acquired, processing the job...
[2025-01-07 04:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:31:02] Production.INFO: ==1016== Releasing lock...
[2025-01-07 04:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:31:02] Production.INFO: ==1018== Lock acquired, processing the job...
[2025-01-07 09:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:31:02] Production.INFO: Contact id print CheckCustomer Case===638629e4-7df5-47ca-ab31-ab7d228ee597
[2025-01-07 04:31:02] Production.INFO: -- count --1
[2025-01-07 04:31:02] Production.INFO: AccountID 123
[2025-01-07 04:31:02] Production.INFO: AccountName Dominos 10547 (Nathan Krishnan)
[2025-01-07 04:31:02] Production.INFO: Checkcustomer
[2025-01-07 04:31:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010547%20%28Nathan%20Krishnan%29"
[2025-01-07 09:31:02] Production.INFO: ==1018== Releasing lock...
[2025-01-07 09:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:31:02] Production.INFO: 26 MB #Memory Used#
[2025-01-07 04:31:03] Production.INFO: ==1024== Lock acquired, processing the job...
[2025-01-07 04:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:31:03] Production.INFO: ==1020== Lock acquired, processing the job...
[2025-01-07 04:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:31:03] Production.INFO: ==1022== Lock acquired, processing the job...
[2025-01-07 04:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:31:03] Production.INFO: ==1031== Lock acquired, processing the job...
[2025-01-07 04:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:31:03] Production.INFO: ==1028== Lock acquired, processing the job...
[2025-01-07 04:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:31:03] Production.INFO: ==1026== Lock acquired, processing the job...
[2025-01-07 04:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:31:03] Production.INFO: count ==21
[2025-01-07 04:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:31:03] Production.INFO: count ==21
[2025-01-07 04:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192466') start
[2025-01-07 04:31:03] Production.INFO: ==1022== Releasing lock...
[2025-01-07 04:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:31:03] Production.INFO: Account Balance Start.
[2025-01-07 04:31:03] Production.INFO: CreateAllLog Start
[2025-01-07 04:31:03] Production.INFO: 117
[2025-01-07 04:31:03] Production.INFO: Date 2024-12-08
[2025-01-07 04:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192466') end
[2025-01-07 04:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:31:03] Production.INFO: 1
[2025-01-07 04:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:31:03] Production.ERROR: done
[2025-01-07 04:31:03] Production.INFO: ==1031== Releasing lock...
[2025-01-07 04:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:31:03] Production.INFO: Date 2024-12-09
[2025-01-07 04:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:31:03] Production.INFO: Date 2024-12-10
[2025-01-07 04:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:31:03] Production.INFO: Date 2024-12-11
[2025-01-07 04:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:31:04] Production.ERROR: done
[2025-01-07 04:31:04] Production.INFO: Date 2024-12-12
[2025-01-07 04:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:31:04] Production.INFO: Date 2024-12-13
[2025-01-07 04:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:31:04] Production.INFO: Date 2024-12-14
[2025-01-07 04:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:31:04] Production.INFO: Date 2024-12-15
[2025-01-07 04:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:31:04] Production.INFO: Date 2024-12-16
[2025-01-07 04:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:31:04] Production.INFO: Date 2024-12-17
[2025-01-07 04:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:31:04] Production.INFO: Date 2024-12-18
[2025-01-07 04:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:31:04] Production.INFO: Date 2024-12-19
[2025-01-07 04:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:31:04] Production.INFO: Date 2024-12-20
[2025-01-07 04:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:31:04] Production.INFO: Date 2024-12-21
[2025-01-07 04:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:31:04] Production.INFO: Date 2024-12-22
[2025-01-07 04:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:31:04] Production.INFO: Date 2024-12-23
[2025-01-07 04:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:31:04] Production.INFO: Date 2024-12-24
[2025-01-07 04:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:31:04] Production.INFO: Date 2024-12-25
[2025-01-07 04:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:31:04] Production.INFO: Date 2024-12-26
[2025-01-07 04:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:31:04] Production.INFO: Date 2024-12-27
[2025-01-07 04:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:31:04] Production.INFO: Date 2024-12-28
[2025-01-07 04:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:31:04] Production.INFO: Date 2024-12-29
[2025-01-07 04:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:31:04] Production.INFO: Date 2024-12-30
[2025-01-07 04:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:31:04] Production.INFO: Date 2024-12-31
[2025-01-07 04:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:31:04] Production.INFO: Date 2025-01-01
[2025-01-07 04:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:31:04] Production.INFO: Date 2025-01-02
[2025-01-07 04:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:31:04] Production.INFO: Date 2025-01-03
[2025-01-07 04:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:31:04] Production.INFO: Date 2025-01-04
[2025-01-07 04:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:31:04] Production.INFO: Date 2025-01-05
[2025-01-07 04:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:31:04] Production.INFO: Date 2025-01-06
[2025-01-07 04:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:31:04] Production.INFO: Date 2025-01-07
[2025-01-07 04:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:31:04] Production.INFO: Contact id print CheckCustomer Case===b7a54595-13f3-43f4-ba4f-ba957a026442
[2025-01-07 04:31:04] Production.INFO: -- count --1
[2025-01-07 04:31:04] Production.INFO: AccountID 134
[2025-01-07 04:31:04] Production.INFO: AccountName Sidhu Law Chambers
[2025-01-07 04:31:04] Production.INFO: Checkcustomer
[2025-01-07 04:31:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Sidhu%20Law%20Chambers"
[2025-01-07 04:31:04] Production.INFO: Total Charge 0
[2025-01-07 04:31:04] Production.INFO: CreateAllLog End
[2025-01-07 04:31:04] Production.INFO: Account Balance End.
[2025-01-07 04:31:05] Production.ERROR: CronJobId end 12
[2025-01-07 04:31:05] Production.INFO: ==1026== Releasing lock...
[2025-01-07 04:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:31:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:31:05
[end_date_ymd] => 2025-01-07 04:31:05
[RateCDR] => 1
)
[2025-01-07 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-07 01:31:05' and `end` < '2025-01-07 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-07 04:31:07] Production.INFO: Contact id print CheckCustomer Case===2844b970-e681-4127-91fd-f61dd7a36ea0
[2025-01-07 04:31:07] Production.INFO: -- count --1
[2025-01-07 04:31:07] Production.INFO: AccountID 229
[2025-01-07 04:31:07] Production.INFO: AccountName Dominos 10096 (Albert Chan)
[2025-01-07 04:31:07] Production.INFO: Checkcustomer
[2025-01-07 04:31:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010096%20%28Albert%20Chan%29"
[2025-01-07 04:31:09] Production.INFO: Contact id print CheckCustomer Case===dc1089bc-e9ac-4fac-8919-44bc3549e60a
[2025-01-07 04:31:09] Production.INFO: -- count --1
[2025-01-07 04:31:09] Production.INFO: AccountID 70
[2025-01-07 04:31:09] Production.INFO: AccountName Dominos 10293 (David Mills)
[2025-01-07 04:31:09] Production.INFO: Checkcustomer
[2025-01-07 04:31:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010293%20%28David%20Mills%29"
[2025-01-07 04:31:11] Production.ERROR: CronJobId end10
[2025-01-07 04:31:11] Production.INFO: ==1024== Releasing lock...
[2025-01-07 04:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:31:11] Production.INFO: Contact id print CheckCustomer Case===dd25779b-67aa-4626-b1f4-381418d46919
[2025-01-07 04:31:11] Production.INFO: -- count --1
[2025-01-07 04:31:11] Production.INFO: AccountID 52
[2025-01-07 04:31:11] Production.INFO: AccountName Dunbloor Medical Centre
[2025-01-07 04:31:11] Production.INFO: Checkcustomer
[2025-01-07 04:31:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dunbloor%20Medical%20Centre"
[2025-01-07 04:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:31:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:31:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:31:13] Production.INFO: call_cost start
[2025-01-07 04:31:13] Production.INFO: call_cost end
[2025-01-07 04:31:14] Production.INFO: Contact id print CheckCustomer Case===afd1bd01-a006-445e-9a92-85deb57a3bc0
[2025-01-07 04:31:14] Production.INFO: -- count --1
[2025-01-07 04:31:14] Production.INFO: AccountID 54
[2025-01-07 04:31:14] Production.INFO: AccountName Dominos 10296 (Gurinder Saini)
[2025-01-07 04:31:14] Production.INFO: Checkcustomer
[2025-01-07 04:31:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010296%20%28Gurinder%20Saini%29"
[2025-01-07 04:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:31:14] Production.INFO: ==1020== Releasing lock...
[2025-01-07 04:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:31:16] Production.INFO: Contact id print CheckCustomer Case===6c1941a7-23be-4018-9a2e-523e55d27a57
[2025-01-07 04:31:16] Production.INFO: -- count --1
[2025-01-07 04:31:16] Production.INFO: AccountID 82
[2025-01-07 04:31:16] Production.INFO: AccountName Delco Windows & Doors
[2025-01-07 04:31:16] Production.INFO: Checkcustomer
[2025-01-07 04:31:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Delco%20Windows%20%26%20Doors"
[2025-01-07 04:31:18] Production.INFO: Contact id print CheckCustomer Case===2a87a634-1e8b-4663-9f61-13fff8791cfb
[2025-01-07 04:31:18] Production.INFO: -- count --1
[2025-01-07 04:31:18] Production.INFO: AccountID 83
[2025-01-07 04:31:18] Production.INFO: AccountName Dominos 10455 (Ricky Singh)
[2025-01-07 04:31:18] Production.INFO: Checkcustomer
[2025-01-07 04:31:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010455%20%28Ricky%20Singh%29"
[2025-01-07 04:31:19] Production.INFO: count ==140
[2025-01-07 04:31:19] Production.ERROR: pbx CDR StartTime 2025-01-07 01:31:05 - End Time 2025-01-07 04:31:05
[2025-01-07 04:31:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192468', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192468', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192468', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192468', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:31:19] Production.INFO: ProcessCDR(1,14192468,1,1,2)
[2025-01-07 04:31:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192468,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:31:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192468,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:31:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192468,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:31:21] Production.INFO: Contact id print CheckCustomer Case===40d799a0-fa8e-497f-be5e-788af7a33b55
[2025-01-07 04:31:21] Production.INFO: -- count --1
[2025-01-07 04:31:21] Production.INFO: AccountID 84
[2025-01-07 04:31:21] Production.INFO: AccountName Dominos 10534 (Sandeep Chaudhari)
[2025-01-07 04:31:21] Production.INFO: Checkcustomer
[2025-01-07 04:31:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010534%20%28Sandeep%20Chaudhari%29"
[2025-01-07 04:31:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192468,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192468', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192468', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:31:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:31:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:31:23] Production.INFO: ==1028== Releasing lock...
[2025-01-07 04:31:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:31:23] Production.INFO: 28.5 MB #Memory Used#
[2025-01-07 04:31:24] Production.INFO: Contact id print CheckCustomer Case===8f094a5b-f8d1-4cb4-be2e-59f80f574839
[2025-01-07 04:31:24] Production.INFO: -- count --1
[2025-01-07 04:31:24] Production.INFO: AccountID 131
[2025-01-07 04:31:24] Production.INFO: AccountName Infinite Possibilities
[2025-01-07 04:31:24] Production.INFO: Checkcustomer
[2025-01-07 04:31:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Infinite%20Possibilities"
[2025-01-07 04:31:26] Production.INFO: Contact id print CheckCustomer Case===a00da236-4e1c-4856-8599-fd3ed8268a07
[2025-01-07 04:31:26] Production.INFO: -- count --1
[2025-01-07 04:31:26] Production.INFO: AccountID 189
[2025-01-07 04:31:26] Production.INFO: AccountName Bauman Group Inc.
[2025-01-07 04:31:26] Production.INFO: Checkcustomer
[2025-01-07 04:31:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Bauman%20Group%20Inc."
[2025-01-07 04:31:28] Production.INFO: Contact id print CheckCustomer Case===55837711-2979-41d6-b74d-0bee4c711dc6
[2025-01-07 04:31:28] Production.INFO: -- count --1
[2025-01-07 04:31:28] Production.INFO: AccountID 191
[2025-01-07 04:31:28] Production.INFO: AccountName Lake Life Financial Solutions Inc.
[2025-01-07 04:31:28] Production.INFO: Checkcustomer
[2025-01-07 04:31:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Lake%20Life%20Financial%20Solutions%20Inc."
[2025-01-07 04:31:31] Production.INFO: Contact id print CheckCustomer Case===2ab5d3da-c85d-4d7e-91cc-61b21f64178e
[2025-01-07 04:31:31] Production.INFO: -- count --1
[2025-01-07 04:31:31] Production.INFO: AccountID 20
[2025-01-07 04:31:31] Production.INFO: AccountName Dominos 10514 (Sandeep Chaudhari)
[2025-01-07 04:31:31] Production.INFO: Checkcustomer
[2025-01-07 04:31:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010514%20%28Sandeep%20Chaudhari%29"
[2025-01-07 04:31:34] Production.INFO: Contact id print CheckCustomer Case===f2764bcf-df27-4f1c-86cf-e8005ea19444
[2025-01-07 04:31:34] Production.INFO: -- count --1
[2025-01-07 04:31:34] Production.INFO: AccountID 21
[2025-01-07 04:31:34] Production.INFO: AccountName Aaxel Insurance Brokers (Peel Ltd.)
[2025-01-07 04:31:34] Production.INFO: Checkcustomer
[2025-01-07 04:31:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Aaxel%20Insurance%20Brokers%20%28Peel%20Ltd.%29"
[2025-01-07 04:31:37] Production.INFO: Contact id print CheckCustomer Case===ae39ade0-cb7f-4596-8b84-41b21b906e54
[2025-01-07 04:31:37] Production.INFO: -- count --1
[2025-01-07 04:31:37] Production.INFO: AccountID 43
[2025-01-07 04:31:37] Production.INFO: AccountName Wattpad
[2025-01-07 04:31:37] Production.INFO: Checkcustomer
[2025-01-07 04:31:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Wattpad"
[2025-01-07 04:31:40] Production.INFO: Contact id print CheckCustomer Case===8c586c5d-b401-441c-8cc4-7ca5911a8c28
[2025-01-07 04:31:40] Production.INFO: -- count --1
[2025-01-07 04:31:40] Production.INFO: AccountID 49
[2025-01-07 04:31:40] Production.INFO: AccountName Technologies for Learning Group
[2025-01-07 04:31:40] Production.INFO: Checkcustomer
[2025-01-07 04:31:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Technologies%20for%20Learning%20Group"
[2025-01-07 04:31:42] Production.INFO: Contact id print CheckCustomer Case===548d87cf-625c-4b68-be89-595b2161a774
[2025-01-07 04:31:42] Production.INFO: -- count --1
[2025-01-07 04:31:42] Production.INFO: AccountID 137
[2025-01-07 04:31:42] Production.INFO: AccountName Dominos 10558 (David Mills)
[2025-01-07 04:31:42] Production.INFO: Checkcustomer
[2025-01-07 04:31:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010558%20%28David%20Mills%29"
[2025-01-07 04:31:44] Production.INFO: Contact id print CheckCustomer Case===2149c89a-278c-4dda-ad9d-2a94478559a8
[2025-01-07 04:31:44] Production.INFO: -- count --1
[2025-01-07 04:31:44] Production.INFO: AccountID 138
[2025-01-07 04:31:44] Production.INFO: AccountName Dominos 10567 (Sandeep Chaudhari)
[2025-01-07 04:31:44] Production.INFO: Checkcustomer
[2025-01-07 04:31:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010567%20%28Sandeep%20Chaudhari%29"
[2025-01-07 04:31:47] Production.INFO: Contact id print CheckCustomer Case===e7245c9e-f77f-4765-a131-4eff2704ecf0
[2025-01-07 04:31:47] Production.INFO: -- count --1
[2025-01-07 04:31:47] Production.INFO: AccountID 192
[2025-01-07 04:31:47] Production.INFO: AccountName Ontario Turtle Conservation Centre
[2025-01-07 04:31:47] Production.INFO: Checkcustomer
[2025-01-07 04:31:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Ontario%20Turtle%20Conservation%20Centre"
[2025-01-07 04:31:49] Production.INFO: Contact id print CheckCustomer Case===24cd1aba-5ae0-4087-aad8-a6d157b1a548
[2025-01-07 04:31:49] Production.INFO: -- count --1
[2025-01-07 04:31:49] Production.INFO: AccountID 193
[2025-01-07 04:31:49] Production.INFO: AccountName Plaza Auto Group
[2025-01-07 04:31:49] Production.INFO: Checkcustomer
[2025-01-07 04:31:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plaza%20Auto%20Group"
[2025-01-07 04:31:51] Production.INFO: Contact id print CheckCustomer Case===6b58ee01-f67a-4205-8873-1c91dd58d79c
[2025-01-07 04:31:51] Production.INFO: -- count --1
[2025-01-07 04:31:51] Production.INFO: AccountID 32
[2025-01-07 04:31:51] Production.INFO: AccountName Dominos 10353 (Ronny Khan)
[2025-01-07 04:31:51] Production.INFO: Checkcustomer
[2025-01-07 04:31:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010353%20%28Ronny%20Khan%29"
[2025-01-07 04:31:54] Production.INFO: Contact id print CheckCustomer Case===a80d32c8-bbaa-43c9-b4d0-a7fff9d3ef21
[2025-01-07 04:31:54] Production.INFO: -- count --1
[2025-01-07 04:31:54] Production.INFO: AccountID 136
[2025-01-07 04:31:54] Production.INFO: AccountName Dominos 10483 (Ronny Khan)
[2025-01-07 04:31:54] Production.INFO: Checkcustomer
[2025-01-07 04:31:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010483%20%28Ronny%20Khan%29"
[2025-01-07 04:31:56] Production.INFO: Contact id print CheckCustomer Case===39e8e2e7-bbd0-4c58-9676-ff9889ed0960
[2025-01-07 04:31:56] Production.INFO: -- count --1
[2025-01-07 04:31:56] Production.INFO: AccountID 184
[2025-01-07 04:31:56] Production.INFO: AccountName TTC (Donlands - Strathmore Subway) - Construction Site (Cancom - Think Secure)
[2025-01-07 04:31:56] Production.INFO: Checkcustomer
[2025-01-07 04:31:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="TTC%20%28Donlands%20-%20Strathmore%20Subway%29%20-%20Construction%20Site%20%28Cancom%20-%20Think%20Secure%29"
[2025-01-07 04:31:59] Production.INFO: Contact id print CheckCustomer Case===bc13c86d-cd70-4f32-948a-d1f4850061a0
[2025-01-07 04:31:59] Production.INFO: -- count --1
[2025-01-07 04:31:59] Production.INFO: AccountID 185
[2025-01-07 04:31:59] Production.INFO: AccountName TTC (College-Subway) - Construction Site (Cancom - Think Secure)
[2025-01-07 04:31:59] Production.INFO: Checkcustomer
[2025-01-07 04:31:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="TTC%20%28College-Subway%29%20-%20Construction%20Site%20%28Cancom%20-%20Think%20Secure%29"
[2025-01-07 04:32:01] Production.INFO: Contact id print CheckCustomer Case===8c5c7d93-c398-4829-91b3-8174fe21f9a7
[2025-01-07 04:32:01] Production.INFO: -- count --1
[2025-01-07 04:32:01] Production.INFO: AccountID 187
[2025-01-07 04:32:01] Production.INFO: AccountName Graybill & Hazlewood - Trial Lawyers
[2025-01-07 04:32:01] Production.INFO: Checkcustomer
[2025-01-07 04:32:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Graybill%20%26%20Hazlewood%20-%20Trial%20Lawyers"
[2025-01-07 09:32:02] Production.INFO: ==1158== Lock acquired, processing the job...
[2025-01-07 09:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:32:02] Production.INFO: neon service started
[2025-01-07 09:32:02] Production.INFO: neon service started
[2025-01-07 09:32:02] Production.INFO: ==1158== Releasing lock...
[2025-01-07 09:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:32:02] Production.INFO: ==1160== Lock acquired, processing the job...
[2025-01-07 04:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:32:02] Production.INFO: ==1160== Releasing lock...
[2025-01-07 04:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:32:02] Production.INFO: ==1162== Lock acquired, processing the job...
[2025-01-07 09:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:32:02] Production.INFO: ==1162== Releasing lock...
[2025-01-07 09:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:32:03] Production.INFO: ==1167== Lock acquired, processing the job...
[2025-01-07 04:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:32:03] Production.INFO: ==1175== Lock acquired, processing the job...
[2025-01-07 04:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:32:03] Production.INFO: Account Balance Start.
[2025-01-07 04:32:03] Production.INFO: CreateAllLog Start
[2025-01-07 04:32:03] Production.INFO: 117
[2025-01-07 04:32:03] Production.INFO: Date 2024-12-08
[2025-01-07 04:32:03] Production.INFO: ==1179== Lock acquired, processing the job...
[2025-01-07 04:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:32:03] Production.INFO: Contact id print CheckCustomer Case===b306e9f3-f561-41b4-bd54-ad2d17a96c90
[2025-01-07 04:32:03] Production.INFO: -- count --1
[2025-01-07 04:32:03] Production.INFO: AccountID 230
[2025-01-07 04:32:03] Production.INFO: AccountName Harbourfront Medicine Cabinet
[2025-01-07 04:32:03] Production.INFO: Date 2024-12-09
[2025-01-07 04:32:03] Production.INFO: Checkcustomer
[2025-01-07 04:32:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Harbourfront%20Medicine%20Cabinet"
[2025-01-07 04:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:32:03] Production.INFO: Date 2024-12-10
[2025-01-07 04:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 04:32:03] Production.INFO: ==1172== Lock acquired, processing the job...
[2025-01-07 04:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:32:03] Production.INFO: Date 2024-12-11
[2025-01-07 04:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:32:03] Production.INFO: ==1169== Lock acquired, processing the job...
[2025-01-07 04:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:32:03] Production.INFO: count ==21
[2025-01-07 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-07 04:32:03] Production.INFO: count ==21
[2025-01-07 04:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192471') start
[2025-01-07 04:32:03] Production.INFO: Date 2024-12-12
[2025-01-07 04:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:32:03] Production.INFO: Date 2024-12-13
[2025-01-07 04:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:32:03] Production.INFO: Date 2024-12-14
[2025-01-07 04:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192471') end
[2025-01-07 04:32:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:32:03] Production.INFO: 1
[2025-01-07 04:32:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:32:03] Production.INFO: Date 2024-12-15
[2025-01-07 04:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:32:03] Production.INFO: ==1177== Lock acquired, processing the job...
[2025-01-07 04:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:32:03] Production.INFO: Date 2024-12-16
[2025-01-07 04:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:32:03] Production.INFO: ==1179== Releasing lock...
[2025-01-07 04:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:32:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:32:03] Production.INFO: Date 2024-12-17
[2025-01-07 04:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:32:04] Production.INFO: Date 2024-12-18
[2025-01-07 04:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:32:04] Production.INFO: Date 2024-12-19
[2025-01-07 04:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:32:04] Production.INFO: Date 2024-12-20
[2025-01-07 04:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:32:04] Production.ERROR: done
[2025-01-07 04:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:32:04] Production.INFO: Date 2024-12-21
[2025-01-07 04:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:32:04] Production.INFO: ==1169== Releasing lock...
[2025-01-07 04:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:32:04] Production.INFO: Date 2024-12-22
[2025-01-07 04:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:32:04] Production.INFO: Date 2024-12-23
[2025-01-07 04:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:32:04] Production.INFO: Date 2024-12-24
[2025-01-07 04:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:32:04] Production.INFO: Date 2024-12-25
[2025-01-07 04:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:32:04] Production.ERROR: done
[2025-01-07 04:32:04] Production.INFO: Date 2024-12-26
[2025-01-07 04:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:32:04] Production.INFO: Date 2024-12-27
[2025-01-07 04:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:32:04] Production.INFO: Date 2024-12-28
[2025-01-07 04:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:32:04] Production.INFO: Date 2024-12-29
[2025-01-07 04:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:32:04] Production.INFO: Date 2024-12-30
[2025-01-07 04:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:32:04] Production.INFO: Date 2024-12-31
[2025-01-07 04:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:32:04] Production.INFO: Date 2025-01-01
[2025-01-07 04:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:32:05] Production.INFO: Date 2025-01-02
[2025-01-07 04:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:32:05] Production.INFO: Date 2025-01-03
[2025-01-07 04:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:32:05] Production.INFO: Date 2025-01-04
[2025-01-07 04:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:32:05] Production.INFO: Date 2025-01-05
[2025-01-07 04:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:32:05] Production.INFO: Date 2025-01-06
[2025-01-07 04:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:32:05] Production.INFO: Date 2025-01-07
[2025-01-07 04:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:32:05] Production.INFO: Total Charge 0
[2025-01-07 04:32:05] Production.INFO: CreateAllLog End
[2025-01-07 04:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:32:05
[end_date_ymd] => 2025-01-07 04:32:05
[RateCDR] => 1
)
[2025-01-07 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-07 01:32:05' and `end` < '2025-01-07 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-07 04:32:05] Production.INFO: Account Balance End.
[2025-01-07 04:32:05] Production.ERROR: CronJobId end 12
[2025-01-07 04:32:05] Production.INFO: ==1175== Releasing lock...
[2025-01-07 04:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:32:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:32:05] Production.INFO: Contact id print CheckCustomer Case===e4609e79-2a2f-49b0-a0f8-9766de2b1774
[2025-01-07 04:32:05] Production.INFO: -- count --1
[2025-01-07 04:32:05] Production.INFO: AccountID 57
[2025-01-07 04:32:05] Production.INFO: AccountName Dominos 39041 (Rishi Kakar)
[2025-01-07 04:32:05] Production.INFO: Checkcustomer
[2025-01-07 04:32:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039041%20%28Rishi%20Kakar%29"
[2025-01-07 04:32:08] Production.INFO: Contact id print CheckCustomer Case===e874c379-a70c-405c-bc58-0ac6921c29ba
[2025-01-07 04:32:08] Production.INFO: -- count --1
[2025-01-07 04:32:08] Production.INFO: AccountID 107
[2025-01-07 04:32:08] Production.INFO: AccountName Dominos 10179 (Akshay Naik)
[2025-01-07 04:32:08] Production.INFO: Checkcustomer
[2025-01-07 04:32:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010179%20%28Akshay%20Naik%29"
[2025-01-07 04:32:10] Production.INFO: Contact id print CheckCustomer Case===669bb033-93e4-4d2e-aa92-454e682a5c09
[2025-01-07 04:32:10] Production.INFO: -- count --1
[2025-01-07 04:32:10] Production.INFO: AccountID 140
[2025-01-07 04:32:10] Production.INFO: AccountName PharmaSave (Uxbridge)
[2025-01-07 04:32:10] Production.INFO: Checkcustomer
[2025-01-07 04:32:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="PharmaSave%20%28Uxbridge%29"
[2025-01-07 04:32:11] Production.ERROR: CronJobId end10
[2025-01-07 04:32:11] Production.INFO: ==1172== Releasing lock...
[2025-01-07 04:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:32:12] Production.INFO: Contact id print CheckCustomer Case===ac797c62-9d84-4beb-9f18-85a8d961b94f
[2025-01-07 04:32:12] Production.INFO: -- count --1
[2025-01-07 04:32:12] Production.INFO: AccountID 161
[2025-01-07 04:32:12] Production.INFO: AccountName Dominos 10476 (Sandeep Chaudhari)
[2025-01-07 04:32:12] Production.INFO: Checkcustomer
[2025-01-07 04:32:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010476%20%28Sandeep%20Chaudhari%29"
[2025-01-07 04:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:32:13] Production.INFO: call_cost start
[2025-01-07 04:32:13] Production.INFO: call_cost end
[2025-01-07 04:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:32:14] Production.INFO: ==1167== Releasing lock...
[2025-01-07 04:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:32:14] Production.INFO: Contact id print CheckCustomer Case===fc4aff1d-c37f-4c5c-9191-e58f25d1bcb1
[2025-01-07 04:32:14] Production.INFO: -- count --1
[2025-01-07 04:32:14] Production.INFO: AccountID 93
[2025-01-07 04:32:14] Production.INFO: AccountName Personas
[2025-01-07 04:32:14] Production.INFO: Checkcustomer
[2025-01-07 04:32:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Personas"
[2025-01-07 04:32:17] Production.INFO: Contact id print CheckCustomer Case===31472f57-4acd-4468-9ab0-8ed346b2d96f
[2025-01-07 04:32:17] Production.INFO: -- count --1
[2025-01-07 04:32:17] Production.INFO: AccountID 151
[2025-01-07 04:32:17] Production.INFO: AccountName Dominos 10584 (Rick Singh)
[2025-01-07 04:32:17] Production.INFO: Checkcustomer
[2025-01-07 04:32:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010584%20%28Rick%20Singh%29"
[2025-01-07 04:32:18] Production.INFO: count ==140
[2025-01-07 04:32:18] Production.ERROR: pbx CDR StartTime 2025-01-07 01:32:05 - End Time 2025-01-07 04:32:05
[2025-01-07 04:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192473', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192473', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192473', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192473', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:32:18] Production.INFO: ProcessCDR(1,14192473,1,1,2)
[2025-01-07 04:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192473,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192473,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192473,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:32:21] Production.INFO: Contact id print CheckCustomer Case===1e8b6299-6571-4c51-87f6-a0280833b109
[2025-01-07 04:32:21] Production.INFO: -- count --1
[2025-01-07 04:32:21] Production.INFO: AccountID 14
[2025-01-07 04:32:21] Production.INFO: AccountName Dominos 10515 (Ronny Khan)
[2025-01-07 04:32:21] Production.INFO: Checkcustomer
[2025-01-07 04:32:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010515%20%28Ronny%20Khan%29"
[2025-01-07 04:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192473,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192473', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192473', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:32:21] Production.INFO: ==1177== Releasing lock...
[2025-01-07 04:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:32:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-07 04:32:23] Production.INFO: Contact id print CheckCustomer Case===de29a9c7-cecf-49b7-b42f-7b106467f0ce
[2025-01-07 04:32:23] Production.INFO: -- count --1
[2025-01-07 04:32:23] Production.INFO: AccountID 67
[2025-01-07 04:32:23] Production.INFO: AccountName Stars & Maple Tours
[2025-01-07 04:32:23] Production.INFO: Checkcustomer
[2025-01-07 04:32:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Stars%20%26%20Maple%20Tours"
[2025-01-07 04:32:26] Production.INFO: Contact id print CheckCustomer Case===42f3da1b-13b4-4bab-b989-2a74b97947bd
[2025-01-07 04:32:26] Production.INFO: -- count --1
[2025-01-07 04:32:26] Production.INFO: AccountID 78
[2025-01-07 04:32:26] Production.INFO: AccountName Halcyon Travel
[2025-01-07 04:32:26] Production.INFO: Checkcustomer
[2025-01-07 04:32:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Halcyon%20Travel"
[2025-01-07 04:32:28] Production.INFO: Contact id print CheckCustomer Case===2fb0f102-2ef2-41cf-8d40-4c3f58cf996f
[2025-01-07 04:32:28] Production.INFO: -- count --1
[2025-01-07 04:32:28] Production.INFO: AccountID 102
[2025-01-07 04:32:28] Production.INFO: AccountName Dominos 39013 (Mudassar Zia)
[2025-01-07 04:32:28] Production.INFO: Checkcustomer
[2025-01-07 04:32:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039013%20%28Mudassar%20Zia%29"
[2025-01-07 04:32:31] Production.INFO: Contact id print CheckCustomer Case===8893c88d-0603-4dd4-9524-da8cd6ed65c9
[2025-01-07 04:32:31] Production.INFO: -- count --1
[2025-01-07 04:32:31] Production.INFO: AccountID 19
[2025-01-07 04:32:31] Production.INFO: AccountName Craig Travel
[2025-01-07 04:32:31] Production.INFO: Checkcustomer
[2025-01-07 04:32:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Craig%20Travel"
[2025-01-07 04:32:33] Production.INFO: Contact id print CheckCustomer Case===65a499d2-8fb3-4c56-ab50-2bdc7bfc40a1
[2025-01-07 04:32:33] Production.INFO: -- count --1
[2025-01-07 04:32:33] Production.INFO: AccountID 121
[2025-01-07 04:32:33] Production.INFO: AccountName Dominos 10462 (Anwar Hossain)
[2025-01-07 04:32:33] Production.INFO: Checkcustomer
[2025-01-07 04:32:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010462%20%28Anwar%20Hossain%29"
[2025-01-07 04:32:36] Production.INFO: Contact id print CheckCustomer Case===dd9d12a6-43e5-42f4-9c71-f881ac0e5dfe
[2025-01-07 04:32:36] Production.INFO: -- count --1
[2025-01-07 04:32:36] Production.INFO: AccountID 17
[2025-01-07 04:32:36] Production.INFO: AccountName UNIGLOBE Bon Voyage Travel
[2025-01-07 04:32:36] Production.INFO: Checkcustomer
[2025-01-07 04:32:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="UNIGLOBE%20Bon%20Voyage%20Travel"
[2025-01-07 04:32:38] Production.INFO: Contact id print CheckCustomer Case===b3f98fb9-7d83-4a9d-a9db-618acdfb5df3
[2025-01-07 04:32:38] Production.INFO: -- count --1
[2025-01-07 04:32:38] Production.INFO: AccountID 18
[2025-01-07 04:32:38] Production.INFO: AccountName Sivananda Ashram Yoga Retreat
[2025-01-07 04:32:38] Production.INFO: Checkcustomer
[2025-01-07 04:32:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Sivananda%20Ashram%20Yoga%20Retreat"
[2025-01-07 04:32:40] Production.INFO: Contact id print CheckCustomer Case===64c07100-e054-4831-b9c1-0c728c4e9ba3
[2025-01-07 04:32:40] Production.INFO: -- count --1
[2025-01-07 04:32:40] Production.INFO: AccountID 34
[2025-01-07 04:32:40] Production.INFO: AccountName Escape Games Canada
[2025-01-07 04:32:40] Production.INFO: Checkcustomer
[2025-01-07 04:32:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Escape%20Games%20Canada"
[2025-01-07 04:32:43] Production.INFO: Contact id print CheckCustomer Case===f8bf0f6c-4bd5-483c-b42f-b3dd4f2c7deb
[2025-01-07 04:32:43] Production.INFO: -- count --1
[2025-01-07 04:32:43] Production.INFO: AccountID 56
[2025-01-07 04:32:43] Production.INFO: AccountName Alexander and Casey Law
[2025-01-07 04:32:43] Production.INFO: Checkcustomer
[2025-01-07 04:32:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Alexander%20and%20Casey%20Law"
[2025-01-07 04:32:46] Production.INFO: Contact id print CheckCustomer Case===3b1c6fb0-8df6-447b-805b-319c8fd7f13f
[2025-01-07 04:32:46] Production.INFO: -- count --1
[2025-01-07 04:32:46] Production.INFO: AccountID 85
[2025-01-07 04:32:46] Production.INFO: AccountName MK TAXPLUS LTD
[2025-01-07 04:32:46] Production.INFO: Checkcustomer
[2025-01-07 04:32:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="MK%20TAXPLUS%20LTD"
[2025-01-07 04:32:48] Production.INFO: Contact id print CheckCustomer Case===b2a980df-8333-4b5e-8b50-c1d40e826ba3
[2025-01-07 04:32:48] Production.INFO: -- count --1
[2025-01-07 04:32:48] Production.INFO: AccountID 87
[2025-01-07 04:32:48] Production.INFO: AccountName Small Business Owners & Professionals Association
[2025-01-07 04:32:48] Production.INFO: Checkcustomer
[2025-01-07 04:32:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Small%20Business%20Owners%20%26%20Professionals%20Association"
[2025-01-07 04:32:51] Production.INFO: Contact id print CheckCustomer Case===e8c42b4a-0408-4ca6-a815-dbd8da598a80
[2025-01-07 04:32:51] Production.INFO: -- count --1
[2025-01-07 04:32:51] Production.INFO: AccountID 100
[2025-01-07 04:32:51] Production.INFO: AccountName Dominos 10538 (Waqas Ayaz)
[2025-01-07 04:32:51] Production.INFO: Checkcustomer
[2025-01-07 04:32:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010538%20%28Waqas%20Ayaz%29"
[2025-01-07 04:32:53] Production.INFO: Contact id print CheckCustomer Case===7b571efd-034b-4c11-82c7-5ed343693624
[2025-01-07 04:32:53] Production.INFO: -- count --1
[2025-01-07 04:32:53] Production.INFO: AccountID 115
[2025-01-07 04:32:53] Production.INFO: AccountName AromaCafeBayviewVillage
[2025-01-07 04:32:53] Production.INFO: Checkcustomer
[2025-01-07 04:32:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="AromaCafeBayviewVillage"
[2025-01-07 04:32:56] Production.INFO: Contact id print CheckCustomer Case===60b24dce-a269-4d1e-8535-3506428c9ffb
[2025-01-07 04:32:56] Production.INFO: -- count --1
[2025-01-07 04:32:56] Production.INFO: AccountID 47
[2025-01-07 04:32:56] Production.INFO: AccountName Aaxel Insurance Brokers
[2025-01-07 04:32:56] Production.INFO: Checkcustomer
[2025-01-07 04:32:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Aaxel%20Insurance%20Brokers"
[2025-01-07 04:32:59] Production.INFO: Contact id print CheckCustomer Case===4e313157-1b83-4634-91d3-f0b4cdbdcb8b
[2025-01-07 04:32:59] Production.INFO: -- count --1
[2025-01-07 04:32:59] Production.INFO: AccountID 86
[2025-01-07 04:32:59] Production.INFO: AccountName Selective Conformal Coatings Inc.
[2025-01-07 04:32:59] Production.INFO: Checkcustomer
[2025-01-07 04:32:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Selective%20Conformal%20Coatings%20Inc."
[2025-01-07 04:33:01] Production.INFO: Contact id print CheckCustomer Case===829ddc9d-f1ae-447b-9687-394867f488a7
[2025-01-07 04:33:01] Production.INFO: -- count --1
[2025-01-07 04:33:01] Production.INFO: AccountID 226
[2025-01-07 04:33:01] Production.INFO: AccountName Dominos 10189 (Akshay Naik)
[2025-01-07 04:33:01] Production.INFO: Checkcustomer
[2025-01-07 04:33:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010189%20%28Akshay%20Naik%29"
[2025-01-07 09:33:01] Production.INFO: ==1267== Lock acquired, processing the job...
[2025-01-07 09:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:33:01] Production.INFO: neon service started
[2025-01-07 09:33:01] Production.INFO: neon service started
[2025-01-07 09:33:01] Production.INFO: ==1267== Releasing lock...
[2025-01-07 09:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:33:01] Production.INFO: ==1269== Lock acquired, processing the job...
[2025-01-07 04:33:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:33:02] Production.INFO: ==1269== Releasing lock...
[2025-01-07 04:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:33:02] Production.INFO: ==1271== Lock acquired, processing the job...
[2025-01-07 09:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:33:02] Production.INFO: ==1271== Releasing lock...
[2025-01-07 09:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:33:02] Production.INFO: ==1279== Lock acquired, processing the job...
[2025-01-07 04:33:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:33:02] Production.INFO: ==1273== Lock acquired, processing the job...
[2025-01-07 04:33:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:33:03] Production.INFO: ==1283== Lock acquired, processing the job...
[2025-01-07 04:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:33:03] Production.INFO: ==1275== Lock acquired, processing the job...
[2025-01-07 04:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:33:03] Production.INFO: Account Balance Start.
[2025-01-07 04:33:03] Production.INFO: CreateAllLog Start
[2025-01-07 04:33:03] Production.INFO: 117
[2025-01-07 04:33:03] Production.INFO: Date 2024-12-08
[2025-01-07 04:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:33:03] Production.INFO: ==1277== Lock acquired, processing the job...
[2025-01-07 04:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 04: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-07 04:33:03] Production.INFO: Date 2024-12-09
[2025-01-07 04:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:33:03] Production.INFO: count ==21
[2025-01-07 04:33:03] Production.INFO: Date 2024-12-10
[2025-01-07 04:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 04: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-07 04:33:03] Production.INFO: count ==21
[2025-01-07 04:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192476') start
[2025-01-07 04:33:03] Production.INFO: Date 2024-12-11
[2025-01-07 04:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:33:03] Production.INFO: ==1281== Lock acquired, processing the job...
[2025-01-07 04:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:33:03] Production.INFO: Date 2024-12-12
[2025-01-07 04:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:33:03] Production.INFO: Date 2024-12-13
[2025-01-07 04:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192476') end
[2025-01-07 04:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:33:03] Production.INFO: 1
[2025-01-07 04:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:33:03] Production.INFO: ==1283== Releasing lock...
[2025-01-07 04:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:33:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:33:03] Production.INFO: ==1275== Releasing lock...
[2025-01-07 04:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:33:03] Production.INFO: Date 2024-12-14
[2025-01-07 04:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:33:03] Production.INFO: Date 2024-12-15
[2025-01-07 04:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:33:03] Production.INFO: Date 2024-12-16
[2025-01-07 04:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:33:03] Production.INFO: Date 2024-12-17
[2025-01-07 04:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:33:03] Production.INFO: Date 2024-12-18
[2025-01-07 04:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:33:03] Production.ERROR: done
[2025-01-07 04:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:33:03] Production.INFO: Date 2024-12-19
[2025-01-07 04:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:33:03] Production.INFO: Date 2024-12-20
[2025-01-07 04:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:33:03] Production.INFO: Contact id print CheckCustomer Case===4982fdbe-e8c3-4cfb-854b-994478db81a7
[2025-01-07 04:33:03] Production.INFO: -- count --1
[2025-01-07 04:33:03] Production.INFO: AccountID 7
[2025-01-07 04:33:03] Production.INFO: AccountName Dominos 10099 (Mudassar Zia)
[2025-01-07 04:33:03] Production.INFO: Checkcustomer
[2025-01-07 04:33:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010099%20%28Mudassar%20Zia%29"
[2025-01-07 04:33:03] Production.INFO: Date 2024-12-21
[2025-01-07 04:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:33:03] Production.INFO: Date 2024-12-22
[2025-01-07 04:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:33:03] Production.ERROR: done
[2025-01-07 04:33:03] Production.INFO: Date 2024-12-23
[2025-01-07 04:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:33:03] Production.INFO: Date 2024-12-24
[2025-01-07 04:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:33:03] Production.INFO: Date 2024-12-25
[2025-01-07 04:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:33:03] Production.INFO: Date 2024-12-26
[2025-01-07 04:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:33:03] Production.INFO: Date 2024-12-27
[2025-01-07 04:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:33:03] Production.INFO: Date 2024-12-28
[2025-01-07 04:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:33:03] Production.INFO: Date 2024-12-29
[2025-01-07 04:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:33:03] Production.INFO: Date 2024-12-30
[2025-01-07 04:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:33:03] Production.INFO: Date 2024-12-31
[2025-01-07 04:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:33:04] Production.INFO: Date 2025-01-01
[2025-01-07 04:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:33:04] Production.INFO: Date 2025-01-02
[2025-01-07 04:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:33:04] Production.INFO: Date 2025-01-03
[2025-01-07 04:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:33:04] Production.INFO: Date 2025-01-04
[2025-01-07 04:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:33:04] Production.INFO: Date 2025-01-05
[2025-01-07 04:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:33:04] Production.INFO: Date 2025-01-06
[2025-01-07 04:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:33:04] Production.INFO: Date 2025-01-07
[2025-01-07 04:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:33:04] Production.INFO: Total Charge 0
[2025-01-07 04:33:04] Production.INFO: CreateAllLog End
[2025-01-07 04:33:04] Production.INFO: Account Balance End.
[2025-01-07 04:33:04] Production.ERROR: CronJobId end 12
[2025-01-07 04:33:04] Production.INFO: ==1279== Releasing lock...
[2025-01-07 04:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:33:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:33:04
[end_date_ymd] => 2025-01-07 04:33:04
[RateCDR] => 1
)
[2025-01-07 04: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-07 01:33:04' and `end` < '2025-01-07 04: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-07 04:33:05] Production.INFO: Contact id print CheckCustomer Case===71c34967-10de-4adf-ac3c-873348ba60c5
[2025-01-07 04:33:05] Production.INFO: -- count --1
[2025-01-07 04:33:05] Production.INFO: AccountID 74
[2025-01-07 04:33:05] Production.INFO: AccountName Dominos 10532 (Sandeep Chaudhari)
[2025-01-07 04:33:05] Production.INFO: Checkcustomer
[2025-01-07 04:33:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010532%20%28Sandeep%20Chaudhari%29"
[2025-01-07 04:33:08] Production.INFO: Contact id print CheckCustomer Case===dded1f8a-d8ba-43e9-a033-ca82f3d54f47
[2025-01-07 04:33:08] Production.INFO: -- count --1
[2025-01-07 04:33:08] Production.INFO: AccountID 110
[2025-01-07 04:33:08] Production.INFO: AccountName Dominos 10422 (David Mills)
[2025-01-07 04:33:08] Production.INFO: Checkcustomer
[2025-01-07 04:33:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010422%20%28David%20Mills%29"
[2025-01-07 04:33:10] Production.ERROR: CronJobId end10
[2025-01-07 04:33:10] Production.INFO: ==1277== Releasing lock...
[2025-01-07 04:33:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:33:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:33:11] Production.INFO: Contact id print CheckCustomer Case===56e7aabd-b1e3-4807-a57f-483fba350c3e
[2025-01-07 04:33:11] Production.INFO: -- count --1
[2025-01-07 04:33:11] Production.INFO: AccountID 111
[2025-01-07 04:33:11] Production.INFO: AccountName Dominos 10545 (Mohan Kantha)
[2025-01-07 04:33:11] Production.INFO: Checkcustomer
[2025-01-07 04:33:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010545%20%28Mohan%20Kantha%29"
[2025-01-07 04:33:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:33:11] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:33:11] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:33:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:33:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:33:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:33:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:33:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:33:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:33:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:33:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:33:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:33:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:33:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:33:12] Production.INFO: call_cost start
[2025-01-07 04:33:12] Production.INFO: call_cost end
[2025-01-07 04:33:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:33:12] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:33:12] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:33:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:33:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:33:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:33:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:33:12] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:33:12] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:33:12] Production.INFO: ==1273== Releasing lock...
[2025-01-07 04:33:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:33:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:33:13] Production.INFO: Contact id print CheckCustomer Case===922fdab1-eecb-4982-8db6-fe1325f04d0d
[2025-01-07 04:33:13] Production.INFO: -- count --1
[2025-01-07 04:33:13] Production.INFO: AccountID 158
[2025-01-07 04:33:13] Production.INFO: AccountName Dominos 39102 (Muzafar Ahmad)
[2025-01-07 04:33:13] Production.INFO: Checkcustomer
[2025-01-07 04:33:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039102%20%28Muzafar%20Ahmad%29"
[2025-01-07 04:33:16] Production.INFO: Contact id print CheckCustomer Case===749cea7f-cdd5-4ee1-9755-990afa6667fb
[2025-01-07 04:33:16] Production.INFO: -- count --1
[2025-01-07 04:33:16] Production.INFO: AccountID 101
[2025-01-07 04:33:16] Production.INFO: AccountName Dominos 10364 (Shane Linthorne)
[2025-01-07 04:33:16] Production.INFO: Checkcustomer
[2025-01-07 04:33:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010364%20%28Shane%20Linthorne%29"
[2025-01-07 04:33:19] Production.INFO: Contact id print CheckCustomer Case===12ca1405-c90f-4ad7-83b0-d937a569ffd9
[2025-01-07 04:33:19] Production.INFO: -- count --1
[2025-01-07 04:33:19] Production.INFO: AccountID 33
[2025-01-07 04:33:19] Production.INFO: AccountName Dominos 10395 (Ronny Khan)
[2025-01-07 04:33:19] Production.INFO: Checkcustomer
[2025-01-07 04:33:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010395%20%28Ronny%20Khan%29"
[2025-01-07 04:33:19] Production.INFO: count ==140
[2025-01-07 04:33:19] Production.ERROR: pbx CDR StartTime 2025-01-07 01:33:04 - End Time 2025-01-07 04:33:04
[2025-01-07 04:33:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192478', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192478', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192478', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192478', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:33:19] Production.INFO: ProcessCDR(1,14192478,1,1,2)
[2025-01-07 04:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192478,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:33:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192478,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:33:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192478,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:33:21] Production.INFO: Contact id print CheckCustomer Case===2ad5ad33-c3c5-457d-96a1-96787e4ed1ae
[2025-01-07 04:33:21] Production.INFO: -- count --1
[2025-01-07 04:33:21] Production.INFO: AccountID 58
[2025-01-07 04:33:21] Production.INFO: AccountName Think Secure
[2025-01-07 04:33:21] Production.INFO: Checkcustomer
[2025-01-07 04:33:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Think%20Secure"
[2025-01-07 04:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192478,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192478', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192478', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:33:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:33:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:33:22] Production.INFO: ==1281== Releasing lock...
[2025-01-07 04:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:33:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-07 04:33:24] Production.INFO: Contact id print CheckCustomer Case===c4bd70fd-3ccd-42a6-a692-2d9f355b91a8
[2025-01-07 04:33:24] Production.INFO: -- count --1
[2025-01-07 04:33:24] Production.INFO: AccountID 183
[2025-01-07 04:33:24] Production.INFO: AccountName Sunnybrook - Construction Site (Cancom - Think Secure)
[2025-01-07 04:33:24] Production.INFO: Checkcustomer
[2025-01-07 04:33:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Sunnybrook%20-%20Construction%20Site%20%28Cancom%20-%20Think%20Secure%29"
[2025-01-07 04:33:26] Production.INFO: Contact id print CheckCustomer Case===9438f80c-bb9a-4440-84ef-9c1f20f46b34
[2025-01-07 04:33:26] Production.INFO: -- count --1
[2025-01-07 04:33:26] Production.INFO: AccountID 25
[2025-01-07 04:33:26] Production.INFO: AccountName Harding Security
[2025-01-07 04:33:26] Production.INFO: Checkcustomer
[2025-01-07 04:33:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Harding%20Security"
[2025-01-07 04:33:29] Production.INFO: Contact id print CheckCustomer Case===631aa009-5337-4bbb-817f-724f7ca5f6db
[2025-01-07 04:33:29] Production.INFO: -- count --1
[2025-01-07 04:33:29] Production.INFO: AccountID 103
[2025-01-07 04:33:29] Production.INFO: AccountName Cathim Inc
[2025-01-07 04:33:29] Production.INFO: Checkcustomer
[2025-01-07 04:33:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Cathim%20Inc"
[2025-01-07 04:33:32] Production.INFO: Contact id print CheckCustomer Case===b3a32be3-34a8-47ed-9add-6507ade181ac
[2025-01-07 04:33:32] Production.INFO: -- count --1
[2025-01-07 04:33:32] Production.INFO: AccountID 104
[2025-01-07 04:33:32] Production.INFO: AccountName Dominos 39017 (Mudassar Zia)
[2025-01-07 04:33:32] Production.INFO: Checkcustomer
[2025-01-07 04:33:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039017%20%28Mudassar%20Zia%29"
[2025-01-07 04:33:34] Production.INFO: Contact id print CheckCustomer Case===5f89a930-66a1-45ba-8124-8b5cbb0531bb
[2025-01-07 04:33:34] Production.INFO: -- count --1
[2025-01-07 04:33:34] Production.INFO: AccountID 92
[2025-01-07 04:33:34] Production.INFO: AccountName Dominos 10443 (Ricky Singh)
[2025-01-07 04:33:34] Production.INFO: Checkcustomer
[2025-01-07 04:33:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010443%20%28Ricky%20Singh%29"
[2025-01-07 04:33:36] Production.INFO: Contact id print CheckCustomer Case===21dc8586-f1ab-42cc-9c64-94234cb72e84
[2025-01-07 04:33:36] Production.INFO: -- count --1
[2025-01-07 04:33:36] Production.INFO: AccountID 97
[2025-01-07 04:33:36] Production.INFO: AccountName Dominos 10416 (David Mills)
[2025-01-07 04:33:36] Production.INFO: Checkcustomer
[2025-01-07 04:33:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010416%20%28David%20Mills%29"
[2025-01-07 04:33:39] Production.INFO: Contact id print CheckCustomer Case===f7785be9-5933-4338-9f5d-47dda0ca47b7
[2025-01-07 04:33:39] Production.INFO: -- count --1
[2025-01-07 04:33:39] Production.INFO: AccountID 165
[2025-01-07 04:33:39] Production.INFO: AccountName PharmaSave (Oak Tree Medical)
[2025-01-07 04:33:39] Production.INFO: Checkcustomer
[2025-01-07 04:33:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="PharmaSave%20%28Oak%20Tree%20Medical%29"
[2025-01-07 04:33:41] Production.INFO: Contact id print CheckCustomer Case===dd008964-6378-4903-b54b-a7b8eb03f05f
[2025-01-07 04:33:41] Production.INFO: -- count --1
[2025-01-07 04:33:41] Production.INFO: AccountID 205
[2025-01-07 04:33:41] Production.INFO: AccountName Dominos 10459 (Sandeep Chaudhari)
[2025-01-07 04:33:41] Production.INFO: Checkcustomer
[2025-01-07 04:33:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010459%20%28Sandeep%20Chaudhari%29"
[2025-01-07 04:33:43] Production.INFO: Contact id print CheckCustomer Case===9e4e5c67-a78f-406f-bfd6-d013ce749c4a
[2025-01-07 04:33:43] Production.INFO: -- count --1
[2025-01-07 04:33:43] Production.INFO: AccountID 63
[2025-01-07 04:33:43] Production.INFO: AccountName Clek Inc.
[2025-01-07 04:33:43] Production.INFO: Checkcustomer
[2025-01-07 04:33:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc."
[2025-01-07 04:33:46] Production.INFO: Contact id print CheckCustomer Case===c5a4d0ce-0d87-4131-b0d8-9808badfe70b
[2025-01-07 04:33:46] Production.INFO: -- count --1
[2025-01-07 04:33:46] Production.INFO: AccountID 63
[2025-01-07 04:33:46] Production.INFO: AccountName Clek Inc.
[2025-01-07 04:33:46] Production.INFO: Checkcustomer
[2025-01-07 04:33:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc."
[2025-01-07 04:33:48] Production.INFO: Contact id print CheckCustomer Case===c5a4d0ce-0d87-4131-b0d8-9808badfe70b
[2025-01-07 04:33:48] Production.INFO: -- count --1
[2025-01-07 04:33:48] Production.INFO: AccountID 37
[2025-01-07 04:33:48] Production.INFO: AccountName Quality Car Rentals (AutoQuest)
[2025-01-07 04:33:48] Production.INFO: Checkcustomer
[2025-01-07 04:33:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quality%20Car%20Rentals%20%28AutoQuest%29"
[2025-01-07 04:33:50] Production.INFO: Contact id print CheckCustomer Case===d97f29cf-e0f8-4b9a-bb8e-aaec76dd5612
[2025-01-07 04:33:50] Production.INFO: -- count --1
[2025-01-07 04:33:50] Production.INFO: AccountID 41
[2025-01-07 04:33:50] Production.INFO: AccountName Law Offices of Diane Staples
[2025-01-07 04:33:50] Production.INFO: Checkcustomer
[2025-01-07 04:33:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Law%20Offices%20of%20Diane%20Staples"
[2025-01-07 04:33:52] Production.INFO: Contact id print CheckCustomer Case===97ef00b2-8eb5-497a-aadd-ae29a942c858
[2025-01-07 04:33:52] Production.INFO: -- count --1
[2025-01-07 04:33:52] Production.INFO: AccountID 95
[2025-01-07 04:33:52] Production.INFO: AccountName CanTrust Insurance Services
[2025-01-07 04:33:52] Production.INFO: Checkcustomer
[2025-01-07 04:33:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="CanTrust%20Insurance%20Services"
[2025-01-07 04:33:55] Production.INFO: Contact id print CheckCustomer Case===d5a46ee9-fef7-49ae-981c-b537df046ad7
[2025-01-07 04:33:55] Production.INFO: -- count --1
[2025-01-07 04:33:55] Production.INFO: AccountID 113
[2025-01-07 04:33:55] Production.INFO: AccountName Dominos 39016 (Chandresh Patel)
[2025-01-07 04:33:55] Production.INFO: Checkcustomer
[2025-01-07 04:33:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039016%20%28Chandresh%20Patel%29"
[2025-01-07 04:33:57] Production.INFO: Contact id print CheckCustomer Case===67dc5e22-ea19-468e-b918-c0db577b9240
[2025-01-07 04:33:57] Production.INFO: -- count --1
[2025-01-07 04:33:57] Production.INFO: AccountID 114
[2025-01-07 04:33:57] Production.INFO: AccountName Dominos 10552 (Werner Lomker)
[2025-01-07 04:33:57] Production.INFO: Checkcustomer
[2025-01-07 04:33:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010552%20%28Werner%20Lomker%29"
[2025-01-07 04:34:00] Production.INFO: Contact id print CheckCustomer Case===6f5d3631-ded1-4310-ab70-a39a8b602341
[2025-01-07 04:34:00] Production.INFO: -- count --1
[2025-01-07 04:34:00] Production.INFO: AccountID 127
[2025-01-07 04:34:00] Production.INFO: AccountName Dominos 10297 (Shane Linthorne)
[2025-01-07 04:34:00] Production.INFO: Checkcustomer
[2025-01-07 04:34:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010297%20%28Shane%20Linthorne%29"
[2025-01-07 09:34:02] Production.INFO: ==1361== Lock acquired, processing the job...
[2025-01-07 09:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:34:02] Production.INFO: neon service started
[2025-01-07 09:34:02] Production.INFO: neon service started
[2025-01-07 09:34:02] Production.INFO: ==1361== Releasing lock...
[2025-01-07 09:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:34:02] Production.INFO: ==1363== Lock acquired, processing the job...
[2025-01-07 04:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:34:02] Production.INFO: Contact id print CheckCustomer Case===d8f292bb-743b-4f94-916e-1de8803fa73f
[2025-01-07 04:34:02] Production.INFO: -- count --1
[2025-01-07 04:34:02] Production.INFO: AccountID 148
[2025-01-07 04:34:02] Production.INFO: AccountName Pharmacy Associates of Port Perry
[2025-01-07 04:34:02] Production.INFO: Checkcustomer
[2025-01-07 04:34:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Pharmacy%20Associates%20of%20Port%20Perry"
[2025-01-07 09:34:02] Production.INFO: ==1365== Lock acquired, processing the job...
[2025-01-07 09:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:34:02] Production.INFO: ==1365== Releasing lock...
[2025-01-07 09:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:34:02] Production.INFO: ==1363== Releasing lock...
[2025-01-07 04:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:34:03] Production.INFO: ==1375== Lock acquired, processing the job...
[2025-01-07 04:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:34:03] Production.INFO: Account Balance Start.
[2025-01-07 04:34:03] Production.INFO: CreateAllLog Start
[2025-01-07 04:34:03] Production.INFO: 117
[2025-01-07 04:34:03] Production.INFO: ==1379== Lock acquired, processing the job...
[2025-01-07 04:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:34:03] Production.INFO: Date 2024-12-08
[2025-01-07 04:34:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:34:03] Production.INFO: Date 2024-12-09
[2025-01-07 04:34:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:34:03] Production.INFO: Date 2024-12-10
[2025-01-07 04:34:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:34:03] Production.INFO: Date 2024-12-11
[2025-01-07 04:34:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 04:34:03] Production.INFO: Date 2024-12-12
[2025-01-07 04:34:03] Production.INFO: ==1369== Lock acquired, processing the job...
[2025-01-07 04:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:34:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:34:03] Production.INFO: count ==21
[2025-01-07 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-07 04:34:03] Production.INFO: count ==21
[2025-01-07 04:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192480') start
[2025-01-07 04:34:03] Production.INFO: ==1371== Lock acquired, processing the job...
[2025-01-07 04:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:34:03] Production.INFO: Date 2024-12-13
[2025-01-07 04:34:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:34:03] Production.INFO: Date 2024-12-14
[2025-01-07 04:34:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:34:04] Production.INFO: Date 2024-12-15
[2025-01-07 04:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:34:04] Production.INFO: ==1377== Lock acquired, processing the job...
[2025-01-07 04:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:34:04] Production.INFO: Date 2024-12-16
[2025-01-07 04:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:34:04] Production.INFO: Date 2024-12-17
[2025-01-07 04:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:34:04] Production.INFO: Date 2024-12-18
[2025-01-07 04:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192480') end
[2025-01-07 04:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:34:04] Production.INFO: 1
[2025-01-07 04:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:34:04] Production.INFO: ==1373== Lock acquired, processing the job...
[2025-01-07 04:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:34:04] Production.INFO: ==1379== Releasing lock...
[2025-01-07 04:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:34:04] Production.INFO: Date 2024-12-19
[2025-01-07 04:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:34:04] Production.INFO: Date 2024-12-20
[2025-01-07 04:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:34:04] Production.INFO: Date 2024-12-21
[2025-01-07 04:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:34:04] Production.INFO: Date 2024-12-22
[2025-01-07 04:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:34:04] Production.INFO: Date 2024-12-23
[2025-01-07 04:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:34:04] Production.INFO: Date 2024-12-24
[2025-01-07 04:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:34:04] Production.ERROR: done
[2025-01-07 04:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:34:04] Production.INFO: Date 2024-12-25
[2025-01-07 04:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:34:04] Production.INFO: ==1371== Releasing lock...
[2025-01-07 04:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:34:04] Production.INFO: Date 2024-12-26
[2025-01-07 04:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:34:04] Production.INFO: Date 2024-12-27
[2025-01-07 04:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:34:04] Production.INFO: Date 2024-12-28
[2025-01-07 04:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:34:04] Production.ERROR: done
[2025-01-07 04:34:04] Production.INFO: Date 2024-12-29
[2025-01-07 04:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:34:04] Production.INFO: Date 2024-12-30
[2025-01-07 04:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:34:04] Production.INFO: Date 2024-12-31
[2025-01-07 04:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:34:04] Production.INFO: Date 2025-01-01
[2025-01-07 04:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:34:04] Production.INFO: Date 2025-01-02
[2025-01-07 04:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:34:04] Production.INFO: Date 2025-01-03
[2025-01-07 04:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:34:04] Production.INFO: Date 2025-01-04
[2025-01-07 04:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:34:04] Production.INFO: Date 2025-01-05
[2025-01-07 04:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:34:04] Production.INFO: Date 2025-01-06
[2025-01-07 04:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:34:04] Production.INFO: Date 2025-01-07
[2025-01-07 04:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:34:05] Production.INFO: Total Charge 0
[2025-01-07 04:34:05] Production.INFO: CreateAllLog End
[2025-01-07 04:34:05] Production.INFO: Account Balance End.
[2025-01-07 04:34:05] Production.ERROR: CronJobId end 12
[2025-01-07 04:34:05] Production.INFO: ==1375== Releasing lock...
[2025-01-07 04:34:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:34:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:34:05] Production.INFO: Contact id print CheckCustomer Case===c60706d0-0fd9-40ff-a211-387c86733ac7
[2025-01-07 04:34:05] Production.INFO: -- count --1
[2025-01-07 04:34:05] Production.INFO: AccountID 152
[2025-01-07 04:34:05] Production.INFO: AccountName 3G Print Group
[2025-01-07 04:34:05] Production.INFO: Checkcustomer
[2025-01-07 04:34:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="3G%20Print%20Group"
[2025-01-07 04:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:34:05
[end_date_ymd] => 2025-01-07 04:34:05
[RateCDR] => 1
)
[2025-01-07 04:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 01:34:05' and `end` < '2025-01-07 04:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 04:34:07] Production.INFO: Contact id print CheckCustomer Case===d4a36319-8eb8-433b-a39c-ded75fc85345
[2025-01-07 04:34:07] Production.INFO: -- count --1
[2025-01-07 04:34:07] Production.INFO: AccountID 160
[2025-01-07 04:34:07] Production.INFO: AccountName Avani Rolls & Bowls
[2025-01-07 04:34:07] Production.INFO: Checkcustomer
[2025-01-07 04:34:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Avani%20Rolls%20%26%20Bowls"
[2025-01-07 04:34:10] Production.INFO: Contact id print CheckCustomer Case===08d693ac-f648-4d13-baf5-18b2b59d959f
[2025-01-07 04:34:10] Production.INFO: -- count --1
[2025-01-07 04:34:10] Production.INFO: AccountID 236
[2025-01-07 04:34:10] Production.INFO: AccountName Keogh Construction
[2025-01-07 04:34:10] Production.INFO: Checkcustomer
[2025-01-07 04:34:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Keogh%20Construction"
[2025-01-07 04:34:12] Production.INFO: Contact id print CheckCustomer Case===cad302ad-7c7e-456b-bcf1-bd7729cb22b7
[2025-01-07 04:34:12] Production.INFO: -- count --1
[2025-01-07 04:34:12] Production.INFO: AccountID 99
[2025-01-07 04:34:12] Production.INFO: AccountName LevLending
[2025-01-07 04:34:12] Production.INFO: Checkcustomer
[2025-01-07 04:34:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="LevLending"
[2025-01-07 04:34:14] Production.ERROR: CronJobId end10
[2025-01-07 04:34:14] Production.INFO: ==1373== Releasing lock...
[2025-01-07 04:34:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:34:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:34:15] Production.INFO: Contact id print CheckCustomer Case===0c3388d2-858d-4ab0-82a5-823938ebfea0
[2025-01-07 04:34:15] Production.INFO: -- count --1
[2025-01-07 04:34:15] Production.INFO: AccountID 45
[2025-01-07 04:34:15] Production.INFO: AccountName Metro Toronto Collision Centre
[2025-01-07 04:34:15] Production.INFO: Checkcustomer
[2025-01-07 04:34:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Metro%20Toronto%20Collision%20Centre"
[2025-01-07 04:34:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:34:16] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:34:16] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:34:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:34:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:34:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:34:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:34:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:34:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:34:16] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:34:16] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:34:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:34:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:34:16] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:34:16] Production.INFO: call_cost start
[2025-01-07 04:34:16] Production.INFO: call_cost end
[2025-01-07 04:34:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:34:17] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:34:17] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:34:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:34:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:34:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:34:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:34:17] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:34:17] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:34:17] Production.INFO: ==1369== Releasing lock...
[2025-01-07 04:34:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:34:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:34:18] Production.INFO: Contact id print CheckCustomer Case===639507fe-3c02-40f6-89b2-b3a1c40bc965
[2025-01-07 04:34:18] Production.INFO: -- count --1
[2025-01-07 04:34:18] Production.INFO: AccountID 90
[2025-01-07 04:34:18] Production.INFO: AccountName Terry Anderson
[2025-01-07 04:34:18] Production.INFO: Checkcustomer
[2025-01-07 04:34:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Terry%20Anderson"
[2025-01-07 04:34:18] Production.INFO: count ==140
[2025-01-07 04:34:18] Production.ERROR: pbx CDR StartTime 2025-01-07 01:34:05 - End Time 2025-01-07 04:34:05
[2025-01-07 04:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192483', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192483', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192483', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192483', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:34:18] Production.INFO: ProcessCDR(1,14192483,1,1,2)
[2025-01-07 04:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192483,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192483,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192483,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:34:20] Production.INFO: Contact id print CheckCustomer Case===d5be271f-e649-44ed-a97e-8af24111fe24
[2025-01-07 04:34:20] Production.INFO: -- count --1
[2025-01-07 04:34:20] Production.INFO: AccountID 182
[2025-01-07 04:34:20] Production.INFO: AccountName Dominos 39049 (Sandeep Chaudhari)
[2025-01-07 04:34:20] Production.INFO: Checkcustomer
[2025-01-07 04:34:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039049%20%28Sandeep%20Chaudhari%29"
[2025-01-07 04:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192483,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192483', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192483', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:34:21] Production.INFO: ==1377== Releasing lock...
[2025-01-07 04:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:34:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-07 04:34:22] Production.INFO: Contact id print CheckCustomer Case===1c0b2017-4eb0-4996-8c28-357329632ba9
[2025-01-07 04:34:22] Production.INFO: -- count --1
[2025-01-07 04:34:22] Production.INFO: AccountID 188
[2025-01-07 04:34:22] Production.INFO: AccountName All Care Insurance Brokers Ltd.
[2025-01-07 04:34:22] Production.INFO: Checkcustomer
[2025-01-07 04:34:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="All%20Care%20Insurance%20Brokers%20Ltd."
[2025-01-07 04:34:25] Production.INFO: Contact id print CheckCustomer Case===6d542d8f-684c-435c-82fd-abdec98b3c10
[2025-01-07 04:34:25] Production.INFO: -- count --1
[2025-01-07 04:34:25] Production.INFO: AccountID 195
[2025-01-07 04:34:25] Production.INFO: AccountName TSFV Management Corp (Two Small Fish)
[2025-01-07 04:34:25] Production.INFO: Checkcustomer
[2025-01-07 04:34:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="TSFV%20Management%20Corp%20%28Two%20Small%20Fish%29"
[2025-01-07 04:34:28] Production.INFO: Contact id print CheckCustomer Case===9833b5c4-71b1-4ca5-9307-986f727c9b62
[2025-01-07 04:34:28] Production.INFO: -- count --1
[2025-01-07 04:34:28] Production.INFO: AccountID 124
[2025-01-07 04:34:28] Production.INFO: AccountName Dominos 39009 (Mudassar Zia)
[2025-01-07 04:34:28] Production.INFO: Checkcustomer
[2025-01-07 04:34:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039009%20%28Mudassar%20Zia%29"
[2025-01-07 04:34:32] Production.INFO: Contact id print CheckCustomer Case===40c47681-8e37-4e12-be60-e7c71250891f
[2025-01-07 04:34:32] Production.INFO: -- count --1
[2025-01-07 04:34:32] Production.INFO: AccountID 153
[2025-01-07 04:34:32] Production.INFO: AccountName Dominos 10191 (Chandresh Patel)
[2025-01-07 04:34:32] Production.INFO: Checkcustomer
[2025-01-07 04:34:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010191%20%28Chandresh%20Patel%29"
[2025-01-07 04:34:34] Production.INFO: Contact id print CheckCustomer Case===a1f84b26-3d74-4603-893d-c86292f301ef
[2025-01-07 04:34:34] Production.INFO: -- count --1
[2025-01-07 04:34:34] Production.INFO: AccountID 154
[2025-01-07 04:34:34] Production.INFO: AccountName Dominos 10385 (Sandeep Chaudhari)
[2025-01-07 04:34:34] Production.INFO: Checkcustomer
[2025-01-07 04:34:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010385%20%28Sandeep%20Chaudhari%29"
[2025-01-07 04:34:37] Production.INFO: Contact id print CheckCustomer Case===f21476d6-c1e8-4e8b-b2a8-87f68276aedf
[2025-01-07 04:34:37] Production.INFO: -- count --1
[2025-01-07 04:34:37] Production.INFO: -- Xero Add Inovice --
[2025-01-07 04:34:37] Production.INFO: CheckInvoice xerov2: INV9661
[2025-01-07 04:34:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV9661
[2025-01-07 04:34:39] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 04:34:39] Production.INFO: Invoice SubTotal 197.620000
[2025-01-07 04:34:39] Production.INFO: Invoice DetTotal 197.62
[2025-01-07 04:34:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Riavera"
[2025-01-07 04:34:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 04:34:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 04:34:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 04:34:50] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-18-2024 To 02-17-2024",Quantity : 1,UnitAmount : 0.030000,LineAmount : 0.030000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (14168157000)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (16474939495)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DIDs (16477890070 - 16477890079)",Quantity : 10,UnitAmount : 1.500000,LineAmount : 15.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18557890078)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18663639217)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18776890076)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18889890071)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14168157000 - 181 UNIVERSITY AVE STE 2000 TORONTO, ON M5H3M7)",Quantity : 1,UnitAmount : 2.750000,LineAmount : 2.750000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 15,UnitAmount : 10.990000,LineAmount : 164.850000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (16477890077) - Digital Fax",Quantity : 1,UnitAmount : 5.990000,LineAmount : 5.990000}
[2025-01-07 04:34:52] Production.INFO: ==== result =====
[2025-01-07 04:34:52] Production.INFO: {
"Id": "dbc5f31a-a154-4ea7-b914-a5c9eb07a58e",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736242492961)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "f10b105a-425d-42ce-b9fe-4ac5bd9f509c",
"InvoiceNumber": "INV9661",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 223.34,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "e55c0831-3c53-4fcf-8b75-89133eb5af09",
"ContactStatus": "ACTIVE",
"Name": "Riavera",
"FirstName": "David",
"LastName": "Kerry",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1655922965160+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-02-18T00:00:00",
"Date": "\/Date(1708214400000+0000)\/",
"DueDateString": "2024-03-19T00:00:00",
"DueDate": "\/Date(1710806400000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "From 01-18-2024 To 02-17-2024",
"UnitAmount": 0.03,
"TaxType": "TAX020",
"TaxAmount": 0.00,
"LineAmount": 0.03,
"AccountCode": "234",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "7e5700dd-3a82-4f1a-9abc-23f2acfb8a3f",
"AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (14168157000)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "621c2963-7c1c-47b4-bbcb-13a275f972e7",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (16474939495)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "714da766-4971-4b3d-9db2-1cd95909a5c8",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DIDs (16477890070 - 16477890079)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 1.95,
"LineAmount": 15.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 10.0000,
"DiscountRate": 0.00,
"LineItemID": "1da70da9-31d6-41fc-9d2f-bc89a7919ae3",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (18557890078)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "611d7757-608a-45a7-8f17-d66d05868164",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (18663639217)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "61163540-9681-47a0-a9e7-ec6a51747b35",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (18776890076)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "7eebf075-6832-4dd6-8be4-5b751a50a845",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (18889890071)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "21a52e5e-bfe0-4625-ac0f-2f7243e1cbb2",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (14168157000 - 181 UNIVERSITY AVE STE 2000 TORONTO, ON M5H3M7)",
"UnitAmount": 2.75,
"TaxType": "TAX020",
"TaxAmount": 0.36,
"LineAmount": 2.75,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "f950e548-5fdf-42cc-8c78-625456840a3d",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "License for a Pay As You Go Cloud Phone extension",
"UnitAmount": 10.99,
"TaxType": "TAX020",
"TaxAmount": 21.43,
"LineAmount": 164.85,
"AccountCode": "203",
"Tracking": [],
"Quantity": 15.0000,
"DiscountRate": 0.00,
"LineItemID": "08efb7b7-aaa0-44c7-8ae0-0b427f808ce3",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (16477890077) - Digital Fax",
"UnitAmount": 5.99,
"TaxType": "TAX020",
"TaxAmount": 0.78,
"LineAmount": 5.99,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "27f1e0f2-031f-47c4-aa8f-817b320a448c",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 197.62,
"TotalTax": 25.72,
"Total": 223.34,
"UpdatedDateUTC": "\/Date(1736242492820+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 04:34:52] Production.INFO: -- Create Invoice id --f10b105a-425d-42ce-b9fe-4ac5bd9f509c
[2025-01-07 04:34:52] Production.INFO: -- Create Invoice Done --
[2025-01-07 04:34:52] Production.INFO: CheckInvoice xerov2: INV10455
[2025-01-07 04:34:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10455
[2025-01-07 04:34:55] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 04:34:55] Production.INFO: ========================== Exception occured =============================
[2025-01-07 04:34:55] Production.ERROR: exception 'ErrorException' with message 'Undefined offset: 33' in /var/www/html/onswitch.neon.service/app/lib/XeroV2.php:0
Stack trace:
#0 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined offse...', '/var/www/html/o...', 0, Array)
#1 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->GetInvoiceData()
#2 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->CreateInvoice()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/XeroInvoicePostV2.php(0): App\Lib\XeroV2->addInvoices()
#4 [internal function]: App\Console\Commands\XeroInvoicePostV2->fire()
#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\XeroInvoicePostV2), 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-07 04:34:55] Production.INFO: ========================== Exception updated in job and email sent =============================
[2025-01-07 04:34:55] Production.INFO: ==333== Releasing lock...
[2025-01-07 04:34:55] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10417 #Stops#
[2025-01-07 04:34:55] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 09:35:01] Production.INFO: ==1452== Lock acquired, processing the job...
[2025-01-07 09:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:35:01] Production.INFO: neon service started
[2025-01-07 09:35:01] Production.INFO: neon service started
[2025-01-07 09:35:01] Production.INFO: ==1452== Releasing lock...
[2025-01-07 09:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:35:01] Production.INFO: ==1455== Lock acquired, processing the job...
[2025-01-07 04:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:35:02] Production.INFO: ==1457== Lock acquired, processing the job...
[2025-01-07 09:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:35:02] Production.INFO: ==1457== Releasing lock...
[2025-01-07 09:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:35:02] Production.INFO: ==1455== Releasing lock...
[2025-01-07 04:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:35:02] Production.INFO: ==1459== Lock acquired, processing the job...
[2025-01-07 04:35:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:35:03] Production.INFO: ==1461== Lock acquired, processing the job...
[2025-01-07 04:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:35:03] Production.INFO: ==1463== Lock acquired, processing the job...
[2025-01-07 04:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:35:03] Production.INFO: ==1465== Lock acquired, processing the job...
[2025-01-07 04:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:35:03] Production.INFO: ==1467== Lock acquired, processing the job...
[2025-01-07 04:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:35:03] Production.INFO: ==1461== Releasing lock...
[2025-01-07 04:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:35:03] Production.INFO: ==1469== Lock acquired, processing the job...
[2025-01-07 04:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:35:03] Production.INFO: Account Balance Start.
[2025-01-07 04:35:03] Production.INFO: CreateAllLog Start
[2025-01-07 04:35:03] Production.INFO: 117
[2025-01-07 04:35:03] Production.INFO: Date 2024-12-08
[2025-01-07 04:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:35:03] Production.INFO: Date 2024-12-09
[2025-01-07 04:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:35:03] Production.INFO: Date 2024-12-10
[2025-01-07 04:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 04:35:03] Production.INFO: count ==21
[2025-01-07 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-07 04:35:03] Production.INFO: count ==21
[2025-01-07 04:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192487') start
[2025-01-07 04:35:03] Production.INFO: Date 2024-12-11
[2025-01-07 04:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192487') end
[2025-01-07 04:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:35:03] Production.INFO: 1
[2025-01-07 04:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:35:03] Production.ERROR: done
[2025-01-07 04:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:35:03] Production.INFO: Date 2024-12-12
[2025-01-07 04:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:35:03] Production.INFO: ==1469== Releasing lock...
[2025-01-07 04:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:35:04] Production.INFO: Date 2024-12-13
[2025-01-07 04:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:35:04] Production.INFO: Date 2024-12-14
[2025-01-07 04:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:35:04] Production.INFO: Date 2024-12-15
[2025-01-07 04:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:35:04] Production.ERROR: done
[2025-01-07 04:35:04] Production.INFO: Date 2024-12-16
[2025-01-07 04:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:35:04] Production.INFO: Date 2024-12-17
[2025-01-07 04:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:35:04] Production.INFO: Date 2024-12-18
[2025-01-07 04:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:35:04] Production.INFO: Date 2024-12-19
[2025-01-07 04:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:35:04] Production.INFO: Date 2024-12-20
[2025-01-07 04:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:35:04] Production.INFO: Date 2024-12-21
[2025-01-07 04:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:35:04] Production.INFO: Date 2024-12-22
[2025-01-07 04:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:35:04] Production.INFO: Date 2024-12-23
[2025-01-07 04:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:35:04] Production.INFO: Date 2024-12-24
[2025-01-07 04:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:35:04] Production.INFO: Date 2024-12-25
[2025-01-07 04:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:35:04] Production.INFO: Date 2024-12-26
[2025-01-07 04:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:35:04] Production.INFO: Date 2024-12-27
[2025-01-07 04:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:35:04] Production.INFO: Date 2024-12-28
[2025-01-07 04:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:35:04] Production.INFO: Date 2024-12-29
[2025-01-07 04:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:35:04] Production.INFO: Date 2024-12-30
[2025-01-07 04:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:35:04] Production.INFO: Date 2024-12-31
[2025-01-07 04:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:35:04] Production.INFO: Date 2025-01-01
[2025-01-07 04:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:35:04] Production.INFO: Date 2025-01-02
[2025-01-07 04:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:35:04] Production.INFO: Date 2025-01-03
[2025-01-07 04:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:35:04] Production.INFO: Date 2025-01-04
[2025-01-07 04:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:35:04] Production.INFO: Date 2025-01-05
[2025-01-07 04:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:35:04] Production.INFO: Date 2025-01-06
[2025-01-07 04:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:35:04] Production.INFO: Date 2025-01-07
[2025-01-07 04:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:35:04] Production.INFO: Total Charge 0
[2025-01-07 04:35:04] Production.INFO: CreateAllLog End
[2025-01-07 04:35:04] Production.INFO: Account Balance End.
[2025-01-07 04:35:04] Production.ERROR: CronJobId end 12
[2025-01-07 04:35:04] Production.INFO: ==1465== Releasing lock...
[2025-01-07 04:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:35:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:35:04
[end_date_ymd] => 2025-01-07 04:35:04
[RateCDR] => 1
)
[2025-01-07 04: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-07 01:35:04' and `end` < '2025-01-07 04: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-07 04:35:11] Production.ERROR: CronJobId end10
[2025-01-07 04:35:11] Production.INFO: ==1463== Releasing lock...
[2025-01-07 04:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:35:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:35:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:35:13] Production.INFO: call_cost start
[2025-01-07 04:35:13] Production.INFO: call_cost end
[2025-01-07 04:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:35:14] Production.INFO: ==1459== Releasing lock...
[2025-01-07 04:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:35:17] Production.INFO: count ==140
[2025-01-07 04:35:17] Production.ERROR: pbx CDR StartTime 2025-01-07 01:35:04 - End Time 2025-01-07 04:35:04
[2025-01-07 04:35:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192488', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192488', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192488', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192488', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:35:17] Production.INFO: ProcessCDR(1,14192488,1,1,2)
[2025-01-07 04:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192488,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:35:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192488,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:35:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192488,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:35:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192488,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192488', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192488', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:35:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:35:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:35:20] Production.INFO: ==1467== Releasing lock...
[2025-01-07 04:35:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:35:20] Production.INFO: 28.5 MB #Memory Used#
[2025-01-07 09:36:02] Production.INFO: ==1558== Lock acquired, processing the job...
[2025-01-07 09:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:36:02] Production.INFO: neon service started
[2025-01-07 09:36:02] Production.INFO: neon service started
[2025-01-07 09:36:02] Production.INFO: ==1558== Releasing lock...
[2025-01-07 09:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:36:02] Production.INFO: ==1560== Lock acquired, processing the job...
[2025-01-07 04:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:36:02] Production.INFO: ==1560== Releasing lock...
[2025-01-07 04:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:36:02] Production.INFO: ==1562== Lock acquired, processing the job...
[2025-01-07 09:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:36:02] Production.INFO: ==1562== Releasing lock...
[2025-01-07 09:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:36:03] Production.INFO: ==1573== Lock acquired, processing the job...
[2025-01-07 04:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:36:03] Production.INFO: ==1565== Lock acquired, processing the job...
[2025-01-07 04:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:36:03] Production.INFO: ==1579== Lock acquired, processing the job...
[2025-01-07 04:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:36:03] Production.INFO: ==1567== Lock acquired, processing the job...
[2025-01-07 04:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:36:04] Production.INFO: count ==21
[2025-01-07 04:36:04] Production.INFO: ==1575== Lock acquired, processing the job...
[2025-01-07 04:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 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-07 04:36:04] Production.INFO: count ==21
[2025-01-07 04:36:04] Production.INFO: ==1577== Lock acquired, processing the job...
[2025-01-07 04:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192489') start
[2025-01-07 04:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:36:04] Production.INFO: Account Balance Start.
[2025-01-07 04:36:04] Production.INFO: CreateAllLog Start
[2025-01-07 04:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192489') end
[2025-01-07 04:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:36:04] Production.INFO: 1
[2025-01-07 04:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:36:04] Production.INFO: 117
[2025-01-07 04:36:04] Production.INFO: Date 2024-12-08
[2025-01-07 04:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:36:04] Production.INFO: ==1567== Releasing lock...
[2025-01-07 04:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:36:04] Production.INFO: ==1579== Releasing lock...
[2025-01-07 04:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:36:04] Production.ERROR: done
[2025-01-07 04:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:36:04] Production.INFO: Date 2024-12-09
[2025-01-07 04:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:36:04] Production.INFO: Date 2024-12-10
[2025-01-07 04:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:36:04] Production.ERROR: done
[2025-01-07 04:36:04] Production.INFO: Date 2024-12-11
[2025-01-07 04:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:36:04] Production.INFO: Date 2024-12-12
[2025-01-07 04:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:36:04] Production.INFO: Date 2024-12-13
[2025-01-07 04:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:36:04] Production.INFO: Date 2024-12-14
[2025-01-07 04:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:36:04] Production.INFO: Date 2024-12-15
[2025-01-07 04:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:36:04] Production.INFO: Date 2024-12-16
[2025-01-07 04:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:36:04] Production.INFO: Date 2024-12-17
[2025-01-07 04:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:36:04] Production.INFO: Date 2024-12-18
[2025-01-07 04:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:36:05] Production.INFO: Date 2024-12-19
[2025-01-07 04:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:36:05] Production.INFO: Date 2024-12-20
[2025-01-07 04:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:36:05] Production.INFO: Date 2024-12-21
[2025-01-07 04:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:36:05] Production.INFO: Date 2024-12-22
[2025-01-07 04:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:36:05] Production.INFO: Date 2024-12-23
[2025-01-07 04:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:36:05] Production.INFO: Date 2024-12-24
[2025-01-07 04:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:36:05] Production.INFO: Date 2024-12-25
[2025-01-07 04:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:36:05] Production.INFO: Date 2024-12-26
[2025-01-07 04:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:36:05] Production.INFO: Date 2024-12-27
[2025-01-07 04:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:36:05] Production.INFO: Date 2024-12-28
[2025-01-07 04:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:36:05] Production.INFO: Date 2024-12-29
[2025-01-07 04:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:36:05] Production.INFO: Date 2024-12-30
[2025-01-07 04:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:36:05
[end_date_ymd] => 2025-01-07 04:36:05
[RateCDR] => 1
)
[2025-01-07 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-07 01:36:05' and `end` < '2025-01-07 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-07 04:36:05] Production.INFO: Date 2024-12-31
[2025-01-07 04:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:36:05] Production.INFO: Date 2025-01-01
[2025-01-07 04:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:36:05] Production.INFO: Date 2025-01-02
[2025-01-07 04:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:36:05] Production.INFO: Date 2025-01-03
[2025-01-07 04:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:36:05] Production.INFO: Date 2025-01-04
[2025-01-07 04:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:36:05] Production.INFO: Date 2025-01-05
[2025-01-07 04:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:36:05] Production.INFO: Date 2025-01-06
[2025-01-07 04:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:36:06] Production.INFO: Date 2025-01-07
[2025-01-07 04:36:06] Production.INFO: Reseller ==> 0
[2025-01-07 04:36:06] Production.INFO: Total Charge 0
[2025-01-07 04:36:06] Production.INFO: CreateAllLog End
[2025-01-07 04:36:06] Production.INFO: Account Balance End.
[2025-01-07 04:36:06] Production.ERROR: CronJobId end 12
[2025-01-07 04:36:06] Production.INFO: ==1575== Releasing lock...
[2025-01-07 04:36:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:36:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:36:11] Production.ERROR: CronJobId end10
[2025-01-07 04:36:11] Production.INFO: ==1573== Releasing lock...
[2025-01-07 04:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:36:14] Production.INFO: call_cost start
[2025-01-07 04:36:14] Production.INFO: call_cost end
[2025-01-07 04:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:36:14] Production.INFO: ==1565== Releasing lock...
[2025-01-07 04:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:36:18] Production.INFO: count ==140
[2025-01-07 04:36:18] Production.ERROR: pbx CDR StartTime 2025-01-07 01:36:05 - End Time 2025-01-07 04:36:05
[2025-01-07 04:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192493', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192493', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192493', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192493', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:36:18] Production.INFO: ProcessCDR(1,14192493,1,1,2)
[2025-01-07 04:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192493,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192493,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192493,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192493,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192493', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192493', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:36:22] Production.INFO: ==1577== Releasing lock...
[2025-01-07 04:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:36:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-07 09:37:01] Production.INFO: ==1632== Lock acquired, processing the job...
[2025-01-07 09:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:37:01] Production.INFO: neon service started
[2025-01-07 09:37:01] Production.INFO: neon service started
[2025-01-07 09:37:01] Production.INFO: ==1632== Releasing lock...
[2025-01-07 09:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:37:02] Production.INFO: ==1634== Lock acquired, processing the job...
[2025-01-07 04:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:37:02] Production.INFO: ==1636== Lock acquired, processing the job...
[2025-01-07 09:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:37:02] Production.INFO: ==1634== Releasing lock...
[2025-01-07 04:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:37:02] Production.INFO: ==1636== Releasing lock...
[2025-01-07 09:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:37:02] Production.INFO: ==1645== Lock acquired, processing the job...
[2025-01-07 04:37:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:37:03] Production.INFO: Account Balance Start.
[2025-01-07 04:37:03] Production.INFO: CreateAllLog Start
[2025-01-07 04:37:03] Production.INFO: 117
[2025-01-07 04:37:03] Production.INFO: Date 2024-12-08
[2025-01-07 04:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:37:03] Production.INFO: Date 2024-12-09
[2025-01-07 04:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:37:03] Production.INFO: Date 2024-12-10
[2025-01-07 04:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:37:03] Production.INFO: Date 2024-12-11
[2025-01-07 04:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:37:03] Production.INFO: Date 2024-12-12
[2025-01-07 04:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:37:03] Production.INFO: ==1647== Lock acquired, processing the job...
[2025-01-07 04:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:37:03] Production.INFO: ==1639== Lock acquired, processing the job...
[2025-01-07 04:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:37:03] Production.INFO: Date 2024-12-13
[2025-01-07 04:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:37:03] Production.INFO: Date 2024-12-14
[2025-01-07 04:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:37:03] Production.INFO: Date 2024-12-15
[2025-01-07 04:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:37:03] Production.INFO: ==1643== Lock acquired, processing the job...
[2025-01-07 04:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:37:03] Production.INFO: ==1641== Lock acquired, processing the job...
[2025-01-07 04:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:37:03] Production.ERROR: done
[2025-01-07 04:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:37:03] Production.INFO: Date 2024-12-16
[2025-01-07 04:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:37:03] Production.INFO: ==1649== Lock acquired, processing the job...
[2025-01-07 04:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:37:03] Production.INFO: Date 2024-12-17
[2025-01-07 04:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:37:03] Production.ERROR: done
[2025-01-07 04:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:37:03] Production.INFO: Date 2024-12-18
[2025-01-07 04:37:03] Production.INFO: count ==21
[2025-01-07 04:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:37:04] Production.INFO: count ==21
[2025-01-07 04:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192497') start
[2025-01-07 04:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192497') end
[2025-01-07 04:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:37:04] Production.INFO: 1
[2025-01-07 04:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:37:04] Production.INFO: Date 2024-12-19
[2025-01-07 04:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:37:04] Production.INFO: ==1649== Releasing lock...
[2025-01-07 04:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:37:04] Production.INFO: ==1641== Releasing lock...
[2025-01-07 04:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:37:04] Production.INFO: Date 2024-12-20
[2025-01-07 04:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:37:04] Production.INFO: Date 2024-12-21
[2025-01-07 04:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:37:04] Production.INFO: Date 2024-12-22
[2025-01-07 04:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:37:04] Production.INFO: Date 2024-12-23
[2025-01-07 04:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:37:04] Production.INFO: Date 2024-12-24
[2025-01-07 04:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:37:04] Production.INFO: Date 2024-12-25
[2025-01-07 04:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:37:04] Production.INFO: Date 2024-12-26
[2025-01-07 04:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:37:04] Production.INFO: Date 2024-12-27
[2025-01-07 04:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:37:04] Production.INFO: Date 2024-12-28
[2025-01-07 04:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:37:04] Production.INFO: Date 2024-12-29
[2025-01-07 04:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:37:04] Production.INFO: Date 2024-12-30
[2025-01-07 04:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:37:04] Production.INFO: Date 2024-12-31
[2025-01-07 04:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:37:04] Production.INFO: Date 2025-01-01
[2025-01-07 04:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:37:04] Production.INFO: Date 2025-01-02
[2025-01-07 04:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:37:04] Production.INFO: Date 2025-01-03
[2025-01-07 04:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:37:04] Production.INFO: Date 2025-01-04
[2025-01-07 04:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:37:04] Production.INFO: Date 2025-01-05
[2025-01-07 04:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:37:04] Production.INFO: Date 2025-01-06
[2025-01-07 04:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:37:05] Production.INFO: Date 2025-01-07
[2025-01-07 04:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:37:05] Production.INFO: Total Charge 0
[2025-01-07 04:37:05] Production.INFO: CreateAllLog End
[2025-01-07 04:37:05] Production.INFO: Account Balance End.
[2025-01-07 04:37:05] Production.ERROR: CronJobId end 12
[2025-01-07 04:37:05] Production.INFO: ==1645== Releasing lock...
[2025-01-07 04:37:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:37:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:37:05
[end_date_ymd] => 2025-01-07 04:37:05
[RateCDR] => 1
)
[2025-01-07 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-07 01:37:05' and `end` < '2025-01-07 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-07 04:37:11] Production.ERROR: CronJobId end10
[2025-01-07 04:37:11] Production.INFO: ==1643== Releasing lock...
[2025-01-07 04:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:37:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:37:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:37:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:37:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:37:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:37:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:37:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:37:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:37:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:37:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:37:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:37:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:37:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:37:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:37:13] Production.INFO: call_cost start
[2025-01-07 04:37:13] Production.INFO: call_cost end
[2025-01-07 04:37:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:37:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:37:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:37:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:37:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:37:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:37:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:37:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:37:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:37:13] Production.INFO: ==1639== Releasing lock...
[2025-01-07 04:37:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:37:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:37:18] Production.INFO: count ==140
[2025-01-07 04:37:18] Production.ERROR: pbx CDR StartTime 2025-01-07 01:37:05 - End Time 2025-01-07 04:37:05
[2025-01-07 04:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192498', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192498', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192498', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192498', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:37:18] Production.INFO: ProcessCDR(1,14192498,1,1,2)
[2025-01-07 04:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192498,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192498,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192498,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192498,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192498', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192498', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:37:21] Production.INFO: ==1647== Releasing lock...
[2025-01-07 04:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:37:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-07 09:38:02] Production.INFO: ==1705== Lock acquired, processing the job...
[2025-01-07 09:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:38:02] Production.INFO: neon service started
[2025-01-07 09:38:02] Production.INFO: neon service started
[2025-01-07 09:38:02] Production.INFO: ==1705== Releasing lock...
[2025-01-07 09:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:38:02] Production.INFO: ==1709== Lock acquired, processing the job...
[2025-01-07 09:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:38:02] Production.INFO: ==1709== Releasing lock...
[2025-01-07 09:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:38:02] Production.INFO: ==1707== Lock acquired, processing the job...
[2025-01-07 04:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:38:03] Production.INFO: ==1707== Releasing lock...
[2025-01-07 04:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:38:03] Production.INFO: ==1712== Lock acquired, processing the job...
[2025-01-07 04:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:38:03] Production.INFO: ==1714== Lock acquired, processing the job...
[2025-01-07 04:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:38:04] Production.INFO: ==1718== Lock acquired, processing the job...
[2025-01-07 04:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:38:04] Production.INFO: ==1716== Lock acquired, processing the job...
[2025-01-07 04:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:38:04] Production.INFO: Account Balance Start.
[2025-01-07 04:38:04] Production.INFO: CreateAllLog Start
[2025-01-07 04:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:38:04] Production.INFO: 117
[2025-01-07 04:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:38:04] Production.INFO: Date 2024-12-08
[2025-01-07 04:38:04] Production.INFO: ==1722== Lock acquired, processing the job...
[2025-01-07 04:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:38:04] Production.INFO: ==1720== Lock acquired, processing the job...
[2025-01-07 04:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:38:04] Production.INFO: Date 2024-12-09
[2025-01-07 04:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:38:04] Production.INFO: Date 2024-12-10
[2025-01-07 04:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:38:04] Production.INFO: Date 2024-12-11
[2025-01-07 04:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:38:04] Production.INFO: count ==21
[2025-01-07 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-07 04:38:04] Production.INFO: count ==21
[2025-01-07 04:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192502') start
[2025-01-07 04:38:04] Production.INFO: Date 2024-12-12
[2025-01-07 04:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:38:04] Production.INFO: ==1714== Releasing lock...
[2025-01-07 04:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:38:04] Production.INFO: Date 2024-12-13
[2025-01-07 04:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192502') end
[2025-01-07 04:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:38:04] Production.INFO: 1
[2025-01-07 04:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:38:04] Production.INFO: Date 2024-12-14
[2025-01-07 04:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:38:04] Production.ERROR: done
[2025-01-07 04:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:38:04] Production.INFO: ==1722== Releasing lock...
[2025-01-07 04:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:38:04] Production.INFO: Date 2024-12-15
[2025-01-07 04:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:38:04] Production.INFO: Date 2024-12-16
[2025-01-07 04:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:38:04] Production.INFO: Date 2024-12-17
[2025-01-07 04:38:04] Production.ERROR: done
[2025-01-07 04:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:38:04] Production.INFO: Date 2024-12-18
[2025-01-07 04:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:38:04] Production.INFO: Date 2024-12-19
[2025-01-07 04:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:38:05] Production.INFO: Date 2024-12-20
[2025-01-07 04:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:38:05] Production.INFO: Date 2024-12-21
[2025-01-07 04:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:38:05] Production.INFO: Date 2024-12-22
[2025-01-07 04:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:38:05] Production.INFO: Date 2024-12-23
[2025-01-07 04:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:38:05] Production.INFO: Date 2024-12-24
[2025-01-07 04:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:38:05] Production.INFO: Date 2024-12-25
[2025-01-07 04:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:38:05] Production.INFO: Date 2024-12-26
[2025-01-07 04:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:38:05] Production.INFO: Date 2024-12-27
[2025-01-07 04:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:38:05] Production.INFO: Date 2024-12-28
[2025-01-07 04:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:38:05] Production.INFO: Date 2024-12-29
[2025-01-07 04:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:38:05] Production.INFO: Date 2024-12-30
[2025-01-07 04:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:38:05] Production.INFO: Date 2024-12-31
[2025-01-07 04:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:38:05] Production.INFO: Date 2025-01-01
[2025-01-07 04:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:38:05] Production.INFO: Date 2025-01-02
[2025-01-07 04:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:38:05] Production.INFO: Date 2025-01-03
[2025-01-07 04:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:38:05] Production.INFO: Date 2025-01-04
[2025-01-07 04:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:38:05] Production.INFO: Date 2025-01-05
[2025-01-07 04:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:38:05] Production.INFO: Date 2025-01-06
[2025-01-07 04:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:38:05] Production.INFO: Date 2025-01-07
[2025-01-07 04:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:38:05] Production.INFO: Total Charge 0
[2025-01-07 04:38:05] Production.INFO: CreateAllLog End
[2025-01-07 04:38:05] Production.INFO: Account Balance End.
[2025-01-07 04:38:05] Production.ERROR: CronJobId end 12
[2025-01-07 04:38:05] Production.INFO: ==1718== Releasing lock...
[2025-01-07 04:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:38:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:38:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:38:06
[end_date_ymd] => 2025-01-07 04:38:06
[RateCDR] => 1
)
[2025-01-07 04:38:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 01:38:06' and `end` < '2025-01-07 04:38:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 04:38:12] Production.ERROR: CronJobId end10
[2025-01-07 04:38:12] Production.INFO: ==1716== Releasing lock...
[2025-01-07 04:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:38:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:38:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:38:14] Production.INFO: call_cost start
[2025-01-07 04:38:14] Production.INFO: call_cost end
[2025-01-07 04:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:38:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:38:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:38:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:38:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:38:15] Production.INFO: ==1712== Releasing lock...
[2025-01-07 04:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:38:19] Production.INFO: count ==138
[2025-01-07 04:38:19] Production.ERROR: pbx CDR StartTime 2025-01-07 01:38:06 - End Time 2025-01-07 04:38:06
[2025-01-07 04:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192503', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192503', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192503', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192503', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:38:19] Production.INFO: ProcessCDR(1,14192503,1,1,2)
[2025-01-07 04:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192503,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192503,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192503,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:38:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192503,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192503', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192503', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:38:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:38:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:38:23] Production.INFO: ==1720== Releasing lock...
[2025-01-07 04:38:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:38:23] Production.INFO: 28.5 MB #Memory Used#
[2025-01-07 09:39:01] Production.INFO: ==1776== Lock acquired, processing the job...
[2025-01-07 09:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:39:01] Production.INFO: neon service started
[2025-01-07 09:39:01] Production.INFO: neon service started
[2025-01-07 09:39:01] Production.INFO: ==1776== Releasing lock...
[2025-01-07 09:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:39:02] Production.INFO: ==1778== Lock acquired, processing the job...
[2025-01-07 04:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:39:02] Production.INFO: ==1780== Lock acquired, processing the job...
[2025-01-07 09:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:39:02] Production.INFO: ==1780== Releasing lock...
[2025-01-07 09:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:39:02] Production.INFO: ==1778== Releasing lock...
[2025-01-07 04:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:39:03] Production.INFO: ==1785== Lock acquired, processing the job...
[2025-01-07 04:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:39:03] Production.INFO: ==1783== Lock acquired, processing the job...
[2025-01-07 04:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:39:03] Production.INFO: ==1787== Lock acquired, processing the job...
[2025-01-07 04:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:39:03] Production.INFO: ==1789== Lock acquired, processing the job...
[2025-01-07 04:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:39:03] Production.INFO: ==1793== Lock acquired, processing the job...
[2025-01-07 04:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:39:03] Production.INFO: Account Balance Start.
[2025-01-07 04:39:03] Production.INFO: CreateAllLog Start
[2025-01-07 04:39:03] Production.INFO: 117
[2025-01-07 04:39:03] Production.INFO: Date 2024-12-08
[2025-01-07 04:39:03] Production.INFO: ==1785== Releasing lock...
[2025-01-07 04:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:39:03] Production.INFO: ==1791== Lock acquired, processing the job...
[2025-01-07 04:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:39:03] Production.INFO: Date 2024-12-09
[2025-01-07 04:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 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-07 04:39:03] Production.INFO: Date 2024-12-10
[2025-01-07 04:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:39:03] Production.INFO: count ==21
[2025-01-07 04:39:03] Production.INFO: Date 2024-12-11
[2025-01-07 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-07 04:39:03] Production.INFO: count ==21
[2025-01-07 04:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192507') start
[2025-01-07 04:39:03] Production.INFO: Date 2024-12-12
[2025-01-07 04:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:39:03] Production.INFO: Date 2024-12-13
[2025-01-07 04:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192507') end
[2025-01-07 04:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:39:04] Production.INFO: 1
[2025-01-07 04:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:39:04] Production.INFO: Date 2024-12-14
[2025-01-07 04:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:39:04] Production.INFO: Date 2024-12-15
[2025-01-07 04:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:39:04] Production.ERROR: done
[2025-01-07 04:39:04] Production.INFO: Date 2024-12-16
[2025-01-07 04:39:04] Production.INFO: ==1793== Releasing lock...
[2025-01-07 04:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:39:04] Production.INFO: Date 2024-12-17
[2025-01-07 04:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:39:04] Production.INFO: Date 2024-12-18
[2025-01-07 04:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:39:04] Production.INFO: Date 2024-12-19
[2025-01-07 04:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:39:04] Production.ERROR: done
[2025-01-07 04:39:04] Production.INFO: Date 2024-12-20
[2025-01-07 04:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:39:04] Production.INFO: Date 2024-12-21
[2025-01-07 04:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:39:04] Production.INFO: Date 2024-12-22
[2025-01-07 04:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:39:04] Production.INFO: Date 2024-12-23
[2025-01-07 04:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:39:04] Production.INFO: Date 2024-12-24
[2025-01-07 04:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:39:04] Production.INFO: Date 2024-12-25
[2025-01-07 04:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:39:04] Production.INFO: Date 2024-12-26
[2025-01-07 04:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:39:04] Production.INFO: Date 2024-12-27
[2025-01-07 04:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:39:04] Production.INFO: Date 2024-12-28
[2025-01-07 04:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:39:04] Production.INFO: Date 2024-12-29
[2025-01-07 04:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:39:04] Production.INFO: Date 2024-12-30
[2025-01-07 04:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:39:04] Production.INFO: Date 2024-12-31
[2025-01-07 04:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:39:04] Production.INFO: Date 2025-01-01
[2025-01-07 04:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:39:04] Production.INFO: Date 2025-01-02
[2025-01-07 04:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:39:04] Production.INFO: Date 2025-01-03
[2025-01-07 04:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:39:04] Production.INFO: Date 2025-01-04
[2025-01-07 04:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:39:04] Production.INFO: Date 2025-01-05
[2025-01-07 04:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:39:04] Production.INFO: Date 2025-01-06
[2025-01-07 04:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:39:04] Production.INFO: Date 2025-01-07
[2025-01-07 04:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:39:05] Production.INFO: Total Charge 0
[2025-01-07 04:39:05] Production.INFO: CreateAllLog End
[2025-01-07 04:39:05] Production.INFO: Account Balance End.
[2025-01-07 04:39:05] Production.ERROR: CronJobId end 12
[2025-01-07 04:39:05] Production.INFO: ==1789== Releasing lock...
[2025-01-07 04:39:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:39:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:39:05
[end_date_ymd] => 2025-01-07 04:39:05
[RateCDR] => 1
)
[2025-01-07 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-07 01:39:05' and `end` < '2025-01-07 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-07 04:39:11] Production.ERROR: CronJobId end10
[2025-01-07 04:39:11] Production.INFO: ==1787== Releasing lock...
[2025-01-07 04:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:39:13] Production.INFO: call_cost start
[2025-01-07 04:39:13] Production.INFO: call_cost end
[2025-01-07 04:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:39:14] Production.INFO: ==1783== Releasing lock...
[2025-01-07 04:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:39:19] Production.INFO: count ==135
[2025-01-07 04:39:19] Production.ERROR: pbx CDR StartTime 2025-01-07 01:39:05 - End Time 2025-01-07 04:39:05
[2025-01-07 04:39:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192508', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192508', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192508', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192508', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:39:19] Production.INFO: ProcessCDR(1,14192508,1,1,2)
[2025-01-07 04:39:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192508,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:39:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192508,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:39:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192508,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192508,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192508', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192508', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:39:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:39:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:39:22] Production.INFO: ==1791== Releasing lock...
[2025-01-07 04:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:39:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-07 09:40:01] Production.INFO: ==1852== Lock acquired, processing the job...
[2025-01-07 09:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:40:02] Production.INFO: neon service started
[2025-01-07 09:40:02] Production.INFO: neon service started
[2025-01-07 09:40:02] Production.INFO: ==1852== Releasing lock...
[2025-01-07 09:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:40:02] Production.INFO: ==1854== Lock acquired, processing the job...
[2025-01-07 04:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:40:02] Production.INFO: ==1854== Releasing lock...
[2025-01-07 04:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:40:02] Production.INFO: ==1857== Lock acquired, processing the job...
[2025-01-07 09:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:40:02] Production.INFO: ==1857== Releasing lock...
[2025-01-07 09:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:40:03] Production.INFO: ==1867== Lock acquired, processing the job...
[2025-01-07 04:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:40:03] Production.INFO: ==1859== Lock acquired, processing the job...
[2025-01-07 04:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 04:40:03] Production.INFO: ==1873== Lock acquired, processing the job...
[2025-01-07 04:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:40:03] Production.INFO: Account Balance Start.
[2025-01-07 04:40:03] Production.INFO: CreateAllLog Start
[2025-01-07 04:40:03] Production.INFO: 117
[2025-01-07 04:40:03] Production.INFO: Date 2024-12-08
[2025-01-07 04:40:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:40:03] Production.INFO: ==1871== Lock acquired, processing the job...
[2025-01-07 04:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 04:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 04:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 04:40:03] Production.ERROR: CronJob PID - 1867
[2025-01-07 04:40:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-07 04:40:03] Production.ERROR: CronJob ID - 12
[2025-01-07 04:40:03] Production.ERROR: CronJob Last Run Time 2025-01-07 04:40:00
[2025-01-07 04:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 04:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 04:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 04:40:03] Production.ERROR: CronJob PID - 1873
[2025-01-07 04:40:03] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-07 04:40:03] Production.ERROR: CronJob ID - 19
[2025-01-07 04:40:03] Production.ERROR: CronJob Last Run Time 2025-01-07 04:40:00
[2025-01-07 04:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 04:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 04:40:03] Production.INFO: Date 2024-12-09
[2025-01-07 04:40:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:40:03] Production.INFO: ==1861== Lock acquired, processing the job...
[2025-01-07 04:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:40:03] Production.INFO: Date 2024-12-10
[2025-01-07 04:40:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 04:40:04] Production.INFO: Date 2024-12-11
[2025-01-07 04:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:40:04] Production.INFO: ==1863== Lock acquired, processing the job...
[2025-01-07 04:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:40:04] Production.INFO: count ==21
[2025-01-07 04:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 04:40:04] Production.INFO: ==1859== Releasing lock...
[2025-01-07 04:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 04:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 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-07 04:40:04] Production.INFO: count ==21
[2025-01-07 04:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192510') start
[2025-01-07 04:40:04] Production.INFO: ==1865== Lock acquired, processing the job...
[2025-01-07 04:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:40:04] Production.INFO: Date 2024-12-12
[2025-01-07 04:40:04] Production.INFO: ==1869== Lock acquired, processing the job...
[2025-01-07 04:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:40:04] Production.INFO: Date 2024-12-13
[2025-01-07 04:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:40:04] Production.ERROR: done
[2025-01-07 04:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192510') end
[2025-01-07 04:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:40:04] Production.INFO: 1
[2025-01-07 04:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:40:04] Production.INFO: ==1873== Releasing lock...
[2025-01-07 04:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:40:04] Production.INFO: Date 2024-12-14
[2025-01-07 04:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 04:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14192513', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 04:40:04] Production.INFO: Date 2024-12-15
[2025-01-07 04:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:40:04] Production.INFO: Date 2024-12-16
[2025-01-07 04:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:40:04] Production.ERROR: done
[2025-01-07 04:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:40:04] Production.INFO: ==1863== Releasing lock...
[2025-01-07 04:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:40:04] Production.INFO: Date 2024-12-17
[2025-01-07 04:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:40:04] Production.INFO: Date 2024-12-18
[2025-01-07 04:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:40:04] Production.INFO: Date 2024-12-19
[2025-01-07 04:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:40:04] Production.ERROR: done
[2025-01-07 04:40:04] Production.INFO: Date 2024-12-20
[2025-01-07 04:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:40:04] Production.INFO: Date 2024-12-21
[2025-01-07 04:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:40:04] Production.INFO: Date 2024-12-22
[2025-01-07 04:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:40:04] Production.INFO: Date 2024-12-23
[2025-01-07 04:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:40:04] Production.INFO: Date 2024-12-24
[2025-01-07 04:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:40:05] Production.INFO: Date 2024-12-25
[2025-01-07 04:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:40:05] Production.INFO: Date 2024-12-26
[2025-01-07 04:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:40:05] Production.INFO: Date 2024-12-27
[2025-01-07 04:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:40:05] Production.INFO: Date 2024-12-28
[2025-01-07 04:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:40:05] Production.INFO: Date 2024-12-29
[2025-01-07 04:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:40:05] Production.INFO: Date 2024-12-30
[2025-01-07 04:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:40:05] Production.INFO: Date 2024-12-31
[2025-01-07 04:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:40:05] Production.INFO: Date 2025-01-01
[2025-01-07 04:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:40:05] Production.INFO: Date 2025-01-02
[2025-01-07 04:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:40:05] Production.INFO: Date 2025-01-03
[2025-01-07 04:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:40:05] Production.INFO: Date 2025-01-04
[2025-01-07 04:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:40:05] Production.INFO: Date 2025-01-05
[2025-01-07 04:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:40:05] Production.INFO: Date 2025-01-06
[2025-01-07 04:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:40:05] Production.INFO: Date 2025-01-07
[2025-01-07 04:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:40:05] Production.INFO: Total Charge 0
[2025-01-07 04:40:05] Production.INFO: CreateAllLog End
[2025-01-07 04:40:05] Production.INFO: Account Balance End.
[2025-01-07 04:40:05] Production.ERROR: CronJobId end 12
[2025-01-07 04:40:05] Production.INFO: ==1867== Releasing lock...
[2025-01-07 04:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:40:06
[end_date_ymd] => 2025-01-07 04:40:06
[RateCDR] => 1
)
[2025-01-07 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-07 01:40:06' and `end` < '2025-01-07 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-07 04:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14192513', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 04:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 04:40:09] Production.INFO: ProcessCDR(1,14192513,1,1,2)
[2025-01-07 04:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14192513,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14192513,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:40:09] Production.INFO: ==1871== Releasing lock...
[2025-01-07 04:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 04:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-07 04:40:12] Production.ERROR: CronJobId end10
[2025-01-07 04:40:12] Production.INFO: ==1865== Releasing lock...
[2025-01-07 04:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:40:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:40:14] Production.INFO: call_cost start
[2025-01-07 04:40:14] Production.INFO: call_cost end
[2025-01-07 04:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:40:15] Production.INFO: ==1861== Releasing lock...
[2025-01-07 04:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:40:19] Production.INFO: count ==128
[2025-01-07 04:40:19] Production.ERROR: pbx CDR StartTime 2025-01-07 01:40:06 - End Time 2025-01-07 04:40:06
[2025-01-07 04:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192514', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192514', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192514', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192514', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:40:19] Production.INFO: ProcessCDR(1,14192514,1,1,2)
[2025-01-07 04:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192514,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192514,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192514,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192514,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192514', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192514', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:40:22] Production.INFO: ==1869== Releasing lock...
[2025-01-07 04:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:40:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:41:01] Production.INFO: ==1927== Lock acquired, processing the job...
[2025-01-07 09:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:41:01] Production.INFO: neon service started
[2025-01-07 09:41:01] Production.INFO: neon service started
[2025-01-07 09:41:01] Production.INFO: ==1927== Releasing lock...
[2025-01-07 09:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:41:01] Production.INFO: ==1929== Lock acquired, processing the job...
[2025-01-07 04:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:41:02] Production.INFO: ==1931== Lock acquired, processing the job...
[2025-01-07 09:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:41:02] Production.INFO: ==1929== Releasing lock...
[2025-01-07 04:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:41:02] Production.INFO: ==1931== Releasing lock...
[2025-01-07 09:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:41:02] Production.INFO: ==1939== Lock acquired, processing the job...
[2025-01-07 04:41:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:41:03] Production.INFO: ==1943== Lock acquired, processing the job...
[2025-01-07 04:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:41:03] Production.INFO: Account Balance Start.
[2025-01-07 04:41:03] Production.INFO: CreateAllLog Start
[2025-01-07 04:41:03] Production.INFO: 117
[2025-01-07 04:41:03] Production.INFO: Date 2024-12-08
[2025-01-07 04:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 04:41:03] Production.INFO: Date 2024-12-09
[2025-01-07 04:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:41:03] Production.INFO: ==1933== Lock acquired, processing the job...
[2025-01-07 04:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:41:03] Production.INFO: ==1935== Lock acquired, processing the job...
[2025-01-07 04:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:41:03] Production.INFO: count ==21
[2025-01-07 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-07 04:41:03] Production.INFO: count ==21
[2025-01-07 04:41:03] Production.INFO: Date 2024-12-10
[2025-01-07 04:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192516') start
[2025-01-07 04:41:03] Production.INFO: Date 2024-12-11
[2025-01-07 04:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:41:03] Production.INFO: Date 2024-12-12
[2025-01-07 04:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:41:03] Production.INFO: ==1937== Lock acquired, processing the job...
[2025-01-07 04:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:41:03] Production.INFO: Date 2024-12-13
[2025-01-07 04:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:41:03] Production.INFO: Date 2024-12-14
[2025-01-07 04:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:41:03] Production.INFO: Date 2024-12-15
[2025-01-07 04:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:41:03] Production.INFO: Date 2024-12-16
[2025-01-07 04:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192516') end
[2025-01-07 04:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:41:03] Production.INFO: 1
[2025-01-07 04:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:41:03] Production.INFO: ==1941== Lock acquired, processing the job...
[2025-01-07 04:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:41:03] Production.INFO: Date 2024-12-17
[2025-01-07 04:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:41:03] Production.INFO: ==1943== Releasing lock...
[2025-01-07 04:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:41:03] Production.INFO: Date 2024-12-18
[2025-01-07 04:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:41:03] Production.INFO: Date 2024-12-19
[2025-01-07 04:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:41:03] Production.INFO: Date 2024-12-20
[2025-01-07 04:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:41:03] Production.INFO: Date 2024-12-21
[2025-01-07 04:41:03] Production.INFO: ==1935== Releasing lock...
[2025-01-07 04:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:41:03] Production.INFO: Date 2024-12-22
[2025-01-07 04:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:41:03] Production.INFO: Date 2024-12-23
[2025-01-07 04:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:41:03] Production.INFO: Date 2024-12-24
[2025-01-07 04:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:41:03] Production.INFO: Date 2024-12-25
[2025-01-07 04:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:41:03] Production.INFO: Date 2024-12-26
[2025-01-07 04:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:41:03] Production.INFO: Date 2024-12-27
[2025-01-07 04:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:41:03] Production.ERROR: done
[2025-01-07 04:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:41:03] Production.INFO: Date 2024-12-28
[2025-01-07 04:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:41:03] Production.INFO: Date 2024-12-29
[2025-01-07 04:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:41:03] Production.INFO: Date 2024-12-30
[2025-01-07 04:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:41:04] Production.INFO: Date 2024-12-31
[2025-01-07 04:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:41:04] Production.ERROR: done
[2025-01-07 04:41:04] Production.INFO: Date 2025-01-01
[2025-01-07 04:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:41:04] Production.INFO: Date 2025-01-02
[2025-01-07 04:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:41:04] Production.INFO: Date 2025-01-03
[2025-01-07 04:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:41:04] Production.INFO: Date 2025-01-04
[2025-01-07 04:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:41:04] Production.INFO: Date 2025-01-05
[2025-01-07 04:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:41:04] Production.INFO: Date 2025-01-06
[2025-01-07 04:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:41:04] Production.INFO: Date 2025-01-07
[2025-01-07 04:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:41:04] Production.INFO: Total Charge 0
[2025-01-07 04:41:04] Production.INFO: CreateAllLog End
[2025-01-07 04:41:04] Production.INFO: Account Balance End.
[2025-01-07 04:41:04] Production.ERROR: CronJobId end 12
[2025-01-07 04:41:04] Production.INFO: ==1939== Releasing lock...
[2025-01-07 04:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:41:05
[end_date_ymd] => 2025-01-07 04:41:05
[RateCDR] => 1
)
[2025-01-07 04:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 01:41:05' and `end` < '2025-01-07 04:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 04:41:11] Production.ERROR: CronJobId end10
[2025-01-07 04:41:11] Production.INFO: ==1937== Releasing lock...
[2025-01-07 04:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:41:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:41:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:41:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:41:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:41:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:41:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:41:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:41:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:41:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:41:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:41:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:41:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:41:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:41:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:41:12] Production.INFO: call_cost start
[2025-01-07 04:41:12] Production.INFO: call_cost end
[2025-01-07 04:41:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:41:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:41:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:41:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:41:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:41:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:41:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:41:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:41:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:41:13] Production.INFO: ==1933== Releasing lock...
[2025-01-07 04:41:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:41:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:41:17] Production.INFO: count ==128
[2025-01-07 04:41:17] Production.ERROR: pbx CDR StartTime 2025-01-07 01:41:05 - End Time 2025-01-07 04:41:05
[2025-01-07 04:41:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192519', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192519', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192519', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192519', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:41:17] Production.INFO: ProcessCDR(1,14192519,1,1,2)
[2025-01-07 04:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192519,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:41:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192519,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:41:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192519,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192519,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192519', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192519', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:41:21] Production.INFO: ==1941== Releasing lock...
[2025-01-07 04:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:41:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:42:02] Production.INFO: ==2001== Lock acquired, processing the job...
[2025-01-07 09:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:42:02] Production.INFO: neon service started
[2025-01-07 09:42:02] Production.INFO: neon service started
[2025-01-07 09:42:02] Production.INFO: ==2001== Releasing lock...
[2025-01-07 09:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:42:02] Production.INFO: ==2003== Lock acquired, processing the job...
[2025-01-07 04:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:42:02] Production.INFO: ==2003== Releasing lock...
[2025-01-07 04:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:42:03] Production.INFO: ==2005== Lock acquired, processing the job...
[2025-01-07 09:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:42:03] Production.INFO: ==2005== Releasing lock...
[2025-01-07 09:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:42:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:42:03] Production.INFO: ==2009== Lock acquired, processing the job...
[2025-01-07 04:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:42:03] Production.INFO: ==2011== Lock acquired, processing the job...
[2025-01-07 04:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:42:03] Production.INFO: ==2007== Lock acquired, processing the job...
[2025-01-07 04:42:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10419 #Starts#
[2025-01-07 04:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:42:03] Production.INFO: ==2013== Lock acquired, processing the job...
[2025-01-07 04:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:42:03] Production.INFO: -- Xero Api Check --
[2025-01-07 04:42:03] Production.INFO: ==2015== Lock acquired, processing the job...
[2025-01-07 04:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:42:03] Production.INFO: ==2017== Lock acquired, processing the job...
[2025-01-07 04:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:42:03] Production.INFO: ==2019== Lock acquired, processing the job...
[2025-01-07 04:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:42:04] Production.INFO: Account Balance Start.
[2025-01-07 04:42:04] Production.INFO: CreateAllLog Start
[2025-01-07 04:42:04] Production.INFO: 117
[2025-01-07 04:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:42:04] Production.INFO: Date 2024-12-08
[2025-01-07 04:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:42:04] Production.INFO: count ==21
[2025-01-07 04:42:04] Production.INFO: ==2011== Releasing lock...
[2025-01-07 04:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 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-07 04:42:04] Production.INFO: count ==21
[2025-01-07 04:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192523') start
[2025-01-07 04:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192523') end
[2025-01-07 04:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:42:04] Production.INFO: 1
[2025-01-07 04:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:42:04] Production.ERROR: done
[2025-01-07 04:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:42:04] Production.INFO: Date 2024-12-09
[2025-01-07 04:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:42:04] Production.INFO: ==2019== Releasing lock...
[2025-01-07 04:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:42:04] Production.INFO: Date 2024-12-10
[2025-01-07 04:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:42: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.618222
[namelookup_time] => 0.289514
[connect_time] => 0.301804
[pretransfer_time] => 0.541369
[size_upload] => 82
[size_download] => 2755
[speed_download] => 4456
[speed_upload] => 132
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.618174
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.17
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 41628
)
[2025-01-07 04:42:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDI5MjQsImV4cCI6MTczNjI0MzIyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQyOTI0LCJhdF9oYXNoIjoiR3VKYzZsNC1hWE1SUHdBd213T2VRQSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.dWRJwxpxQc0oGJyomuKcrLuy_umIWXnzMXmM-XziRYECWPeGWhdLRDB5J8eh3-hI2jBLVzprBM_PXrVjVcuB3ik5UJhSy3_GoE-orBXuOx-rjzLB9WKrdb1eZeqSDWDmpfAo3BuJr9a2fRRbZzx7eobCmys1QEJVQwtcmUgs8ZHZnRwUb16yfnmY0rU21a61zYermrPHm-87KVN3yCGZLX0icoJqp2P3LruQgNcqpC3H_WKsBGpNbqRWJR4vzh6Pp0YHBtDiyOERckH5sMRDTHsWDJjEiPmDgwa0KcR4XJxXFPEKS-1ZfmGtzDQ1JfWPWbELNQNkrv7hMDqAbNF1QA
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDI5MjQsImV4cCI6MTczNjI0NDcyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.TUl_uPRD0Ih0nrSQG28mOzWGRC7xMSqh8ZoiZtwT7U9ApHNzrWfyzPce6OzKYhkEDvLHklToF8vbBsvx7-eQRWJk3QICG80_Xjr-LrJ0-er_cYBEbBRZiAIiXBDpdiyT9HHGO1rnHvvhuhjcuVN4FIudZlFitjDVfW32TGrcAEV4jq2nY_UrNAxIHkj_2ix3TcBV2O3etnkhYesuFQsThdngvO8w1bWLbGqG5FuJLn0GvjHdrrLcAJyjLjEMKpeZKPvpG4p1SHeJegAtJ0LjRCeFZfrgaVyZAXc_lQGK1JOSYNDvL4tDhJTvWr0xSk0SBGouDLw1goayJA0JcAP-yg
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => kKkeoquOc2_knBKkVbwWW9sIQpl9T0z6aOwtzeE5R9o
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 04:42:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDI5MjQsImV4cCI6MTczNjI0MzIyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQyOTI0LCJhdF9oYXNoIjoiR3VKYzZsNC1hWE1SUHdBd213T2VRQSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.dWRJwxpxQc0oGJyomuKcrLuy_umIWXnzMXmM-XziRYECWPeGWhdLRDB5J8eh3-hI2jBLVzprBM_PXrVjVcuB3ik5UJhSy3_GoE-orBXuOx-rjzLB9WKrdb1eZeqSDWDmpfAo3BuJr9a2fRRbZzx7eobCmys1QEJVQwtcmUgs8ZHZnRwUb16yfnmY0rU21a61zYermrPHm-87KVN3yCGZLX0icoJqp2P3LruQgNcqpC3H_WKsBGpNbqRWJR4vzh6Pp0YHBtDiyOERckH5sMRDTHsWDJjEiPmDgwa0KcR4XJxXFPEKS-1ZfmGtzDQ1JfWPWbELNQNkrv7hMDqAbNF1QA
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDI5MjQsImV4cCI6MTczNjI0NDcyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.TUl_uPRD0Ih0nrSQG28mOzWGRC7xMSqh8ZoiZtwT7U9ApHNzrWfyzPce6OzKYhkEDvLHklToF8vbBsvx7-eQRWJk3QICG80_Xjr-LrJ0-er_cYBEbBRZiAIiXBDpdiyT9HHGO1rnHvvhuhjcuVN4FIudZlFitjDVfW32TGrcAEV4jq2nY_UrNAxIHkj_2ix3TcBV2O3etnkhYesuFQsThdngvO8w1bWLbGqG5FuJLn0GvjHdrrLcAJyjLjEMKpeZKPvpG4p1SHeJegAtJ0LjRCeFZfrgaVyZAXc_lQGK1JOSYNDvL4tDhJTvWr0xSk0SBGouDLw1goayJA0JcAP-yg
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => kKkeoquOc2_knBKkVbwWW9sIQpl9T0z6aOwtzeE5R9o
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 04:42:04] Production.INFO: AccountID 63
[2025-01-07 04:42:04] Production.INFO: AccountName Clek Inc.
[2025-01-07 04:42:04] Production.INFO: Checkcustomer
[2025-01-07 04:42:04] Production.INFO: Date 2024-12-11
[2025-01-07 04:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:42:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc."
[2025-01-07 04:42:04] Production.INFO: Date 2024-12-12
[2025-01-07 04:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:42:04] Production.ERROR: done
[2025-01-07 04:42:04] Production.INFO: Date 2024-12-13
[2025-01-07 04:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:42:04] Production.INFO: Date 2024-12-14
[2025-01-07 04:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:42:04] Production.INFO: Date 2024-12-15
[2025-01-07 04:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:42:05] Production.INFO: Date 2024-12-16
[2025-01-07 04:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:42:05] Production.INFO: Date 2024-12-17
[2025-01-07 04:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:42:05] Production.INFO: Date 2024-12-18
[2025-01-07 04:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:42:05] Production.INFO: Date 2024-12-19
[2025-01-07 04:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:42:05] Production.INFO: Date 2024-12-20
[2025-01-07 04:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:42:05] Production.INFO: Date 2024-12-21
[2025-01-07 04:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:42:05] Production.INFO: Date 2024-12-22
[2025-01-07 04:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:42:05] Production.INFO: Date 2024-12-23
[2025-01-07 04:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:42:05] Production.INFO: Date 2024-12-24
[2025-01-07 04:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:42:05] Production.INFO: Date 2024-12-25
[2025-01-07 04:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:42:05] Production.INFO: Date 2024-12-26
[2025-01-07 04:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:42:05] Production.INFO: Date 2024-12-27
[2025-01-07 04:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:42:05] Production.INFO: Date 2024-12-28
[2025-01-07 04:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:42:05] Production.INFO: Date 2024-12-29
[2025-01-07 04:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:42:05] Production.INFO: Date 2024-12-30
[2025-01-07 04:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:42:05
[end_date_ymd] => 2025-01-07 04:42:05
[RateCDR] => 1
)
[2025-01-07 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-07 01:42:05' and `end` < '2025-01-07 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-07 04:42:05] Production.INFO: Date 2024-12-31
[2025-01-07 04:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:42:05] Production.INFO: Date 2025-01-01
[2025-01-07 04:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:42:05] Production.INFO: Date 2025-01-02
[2025-01-07 04:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:42:05] Production.INFO: Date 2025-01-03
[2025-01-07 04:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:42:05] Production.INFO: Date 2025-01-04
[2025-01-07 04:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:42:05] Production.INFO: Date 2025-01-05
[2025-01-07 04:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:42:05] Production.INFO: Date 2025-01-06
[2025-01-07 04:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:42:05] Production.INFO: Date 2025-01-07
[2025-01-07 04:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:42:05] Production.INFO: Total Charge 0
[2025-01-07 04:42:05] Production.INFO: CreateAllLog End
[2025-01-07 04:42:05] Production.INFO: Account Balance End.
[2025-01-07 04:42:05] Production.ERROR: CronJobId end 12
[2025-01-07 04:42:05] Production.INFO: ==2015== Releasing lock...
[2025-01-07 04:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:42:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:42:07] Production.INFO: Contact id print CheckCustomer Case===c5a4d0ce-0d87-4131-b0d8-9808badfe70b
[2025-01-07 04:42:07] Production.INFO: -- count --1
[2025-01-07 04:42:07] Production.INFO: AccountID 18
[2025-01-07 04:42:07] Production.INFO: AccountName Sivananda Ashram Yoga Retreat
[2025-01-07 04:42:07] Production.INFO: Checkcustomer
[2025-01-07 04:42:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Sivananda%20Ashram%20Yoga%20Retreat"
[2025-01-07 04:42:10] Production.INFO: Contact id print CheckCustomer Case===64c07100-e054-4831-b9c1-0c728c4e9ba3
[2025-01-07 04:42:10] Production.INFO: -- count --1
[2025-01-07 04:42:10] Production.INFO: AccountID 149
[2025-01-07 04:42:10] Production.INFO: AccountName Dominos 10471 (Ken Hoose)
[2025-01-07 04:42:10] Production.INFO: Checkcustomer
[2025-01-07 04:42:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010471%20%28Ken%20Hoose%29"
[2025-01-07 04:42:10] Production.ERROR: CronJobId end10
[2025-01-07 04:42:10] Production.INFO: ==2013== Releasing lock...
[2025-01-07 04:42:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:42:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:42:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:42:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:42:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:42:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:42:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:42:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:42:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:42:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:42:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:42:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:42:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:42:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:42:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:42:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:42:12] Production.INFO: call_cost start
[2025-01-07 04:42:12] Production.INFO: call_cost end
[2025-01-07 04:42:13] Production.INFO: Contact id print CheckCustomer Case===035db9cd-92a8-4776-bb57-e5a70cdb3e03
[2025-01-07 04:42:13] Production.INFO: -- count --1
[2025-01-07 04:42:13] Production.INFO: AccountID 93
[2025-01-07 04:42:13] Production.INFO: AccountName Personas
[2025-01-07 04:42:13] Production.INFO: Checkcustomer
[2025-01-07 04:42:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Personas"
[2025-01-07 04:42:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:42:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:42:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:42:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:42:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:42:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:42:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:42:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:42:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:42:13] Production.INFO: ==2009== Releasing lock...
[2025-01-07 04:42:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:42:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:42:15] Production.INFO: Contact id print CheckCustomer Case===31472f57-4acd-4468-9ab0-8ed346b2d96f
[2025-01-07 04:42:15] Production.INFO: -- count --1
[2025-01-07 04:42:15] Production.INFO: AccountID 63
[2025-01-07 04:42:15] Production.INFO: AccountName Clek Inc.
[2025-01-07 04:42:15] Production.INFO: Checkcustomer
[2025-01-07 04:42:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc."
[2025-01-07 04:42:17] Production.INFO: Contact id print CheckCustomer Case===c5a4d0ce-0d87-4131-b0d8-9808badfe70b
[2025-01-07 04:42:17] Production.INFO: -- count --1
[2025-01-07 04:42:17] Production.INFO: AccountID 236
[2025-01-07 04:42:17] Production.INFO: AccountName Keogh Construction
[2025-01-07 04:42:17] Production.INFO: Checkcustomer
[2025-01-07 04:42:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Keogh%20Construction"
[2025-01-07 04:42:20] Production.INFO: count ==128
[2025-01-07 04:42:20] Production.ERROR: pbx CDR StartTime 2025-01-07 01:42:05 - End Time 2025-01-07 04:42:05
[2025-01-07 04:42:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192524', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192524', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192524', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192524', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:42:20] Production.INFO: ProcessCDR(1,14192524,1,1,2)
[2025-01-07 04:42:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192524,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:42:20] Production.INFO: Contact id print CheckCustomer Case===cad302ad-7c7e-456b-bcf1-bd7729cb22b7
[2025-01-07 04:42:20] Production.INFO: -- count --1
[2025-01-07 04:42:20] Production.INFO: AccountID 237
[2025-01-07 04:42:20] Production.INFO: AccountName Natural Insect Control
[2025-01-07 04:42:20] Production.INFO: Checkcustomer
[2025-01-07 04:42:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Natural%20Insect%20Control"
[2025-01-07 04:42:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192524,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:42:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192524,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:42:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192524,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192524', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192524', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:42:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:42:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:42:23] Production.INFO: ==2017== Releasing lock...
[2025-01-07 04:42:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:42:23] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:42:23] Production.INFO: Contact id print CheckCustomer Case===fcade0cf-7b43-4bfe-86cf-b6c9e33f1686
[2025-01-07 04:42:23] Production.INFO: -- count --1
[2025-01-07 04:42:23] Production.INFO: AccountID 53
[2025-01-07 04:42:23] Production.INFO: AccountName Plus Travel Group
[2025-01-07 04:42:23] Production.INFO: Checkcustomer
[2025-01-07 04:42:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plus%20Travel%20Group"
[2025-01-07 04:42:25] Production.INFO: Contact id print CheckCustomer Case===5f6b39a6-c5bb-485f-9fdd-a6c7a1eccc47
[2025-01-07 04:42:25] Production.INFO: -- count --1
[2025-01-07 04:42:25] Production.INFO: AccountID 187
[2025-01-07 04:42:25] Production.INFO: AccountName Graybill & Hazlewood - Trial Lawyers
[2025-01-07 04:42:25] Production.INFO: Checkcustomer
[2025-01-07 04:42:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Graybill%20%26%20Hazlewood%20-%20Trial%20Lawyers"
[2025-01-07 04:42:27] Production.INFO: Contact id print CheckCustomer Case===b306e9f3-f561-41b4-bd54-ad2d17a96c90
[2025-01-07 04:42:27] Production.INFO: -- count --1
[2025-01-07 04:42:27] Production.INFO: AccountID 21
[2025-01-07 04:42:27] Production.INFO: AccountName Aaxel Insurance Brokers (Peel Ltd.)
[2025-01-07 04:42:27] Production.INFO: Checkcustomer
[2025-01-07 04:42:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Aaxel%20Insurance%20Brokers%20%28Peel%20Ltd.%29"
[2025-01-07 04:42:30] Production.INFO: Contact id print CheckCustomer Case===ae39ade0-cb7f-4596-8b84-41b21b906e54
[2025-01-07 04:42:30] Production.INFO: -- count --1
[2025-01-07 04:42:30] Production.INFO: -- Xero Add Inovice --
[2025-01-07 04:42:30] Production.INFO: CheckInvoice xerov2: INV11102
[2025-01-07 04:42:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11102
[2025-01-07 04:42:32] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 04:42:32] Production.INFO: ========================== Exception occured =============================
[2025-01-07 04:42:32] Production.ERROR: exception 'ErrorException' with message 'Undefined offset: 102' in /var/www/html/onswitch.neon.service/app/lib/XeroV2.php:0
Stack trace:
#0 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined offse...', '/var/www/html/o...', 0, Array)
#1 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->GetInvoiceData()
#2 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->CreateInvoice()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/XeroInvoicePostV2.php(0): App\Lib\XeroV2->addInvoices()
#4 [internal function]: App\Console\Commands\XeroInvoicePostV2->fire()
#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\XeroInvoicePostV2), 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-07 04:42:32] Production.INFO: ========================== Exception updated in job and email sent =============================
[2025-01-07 04:42:32] Production.INFO: ==2007== Releasing lock...
[2025-01-07 04:42:32] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10419 #Stops#
[2025-01-07 04:42:32] Production.INFO: 27.5 MB #Memory Used#
[2025-01-07 09:43:01] Production.INFO: ==2087== Lock acquired, processing the job...
[2025-01-07 09:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:43:01] Production.INFO: neon service started
[2025-01-07 09:43:01] Production.INFO: neon service started
[2025-01-07 09:43:01] Production.INFO: ==2087== Releasing lock...
[2025-01-07 09:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:43:02] Production.INFO: ==2089== Lock acquired, processing the job...
[2025-01-07 04:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:43:02] Production.INFO: ==2091== Lock acquired, processing the job...
[2025-01-07 09:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:43:02] Production.INFO: ==2091== Releasing lock...
[2025-01-07 09:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:43:02] Production.INFO: ==2089== Releasing lock...
[2025-01-07 04:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:43:03] Production.INFO: ==2094== Lock acquired, processing the job...
[2025-01-07 04:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:43:03] Production.INFO: ==2096== Lock acquired, processing the job...
[2025-01-07 04:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:43:03] Production.INFO: ==2100== Lock acquired, processing the job...
[2025-01-07 04:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:43:03] Production.INFO: Account Balance Start.
[2025-01-07 04:43:03] Production.INFO: CreateAllLog Start
[2025-01-07 04:43:03] Production.INFO: 117
[2025-01-07 04:43:03] Production.INFO: Date 2024-12-08
[2025-01-07 04:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:43:03] Production.INFO: ==2098== Lock acquired, processing the job...
[2025-01-07 04:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:43:03] Production.INFO: Date 2024-12-09
[2025-01-07 04:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:43:03] Production.INFO: Date 2024-12-10
[2025-01-07 04:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:43:03] Production.INFO: Date 2024-12-11
[2025-01-07 04:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:43:03] Production.INFO: ==2102== Lock acquired, processing the job...
[2025-01-07 04:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:43:03] Production.INFO: ==2096== Releasing lock...
[2025-01-07 04:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:43:03] Production.INFO: Date 2024-12-12
[2025-01-07 04:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:43:03] Production.INFO: Date 2024-12-13
[2025-01-07 04:43:03] Production.INFO: ==2104== Lock acquired, processing the job...
[2025-01-07 04:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:43:03] Production.INFO: Date 2024-12-14
[2025-01-07 04:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:43:03] Production.INFO: Date 2024-12-15
[2025-01-07 04:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:43:03] Production.INFO: Date 2024-12-16
[2025-01-07 04:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:43:03] Production.INFO: Date 2024-12-17
[2025-01-07 04:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:43:03] Production.INFO: Date 2024-12-18
[2025-01-07 04:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 04:43:03] Production.INFO: Date 2024-12-19
[2025-01-07 04:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:43:03] Production.INFO: Date 2024-12-20
[2025-01-07 04:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:43:04] Production.INFO: count ==21
[2025-01-07 04:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:43:04] Production.INFO: Date 2024-12-21
[2025-01-07 04:43:04] Production.INFO: count ==21
[2025-01-07 04:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192528') start
[2025-01-07 04:43:04] Production.INFO: Date 2024-12-22
[2025-01-07 04:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:43:04] Production.INFO: Date 2024-12-23
[2025-01-07 04:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192528') end
[2025-01-07 04:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:43:04] Production.ERROR: done
[2025-01-07 04:43:04] Production.INFO: 1
[2025-01-07 04:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:43:04] Production.INFO: ==2104== Releasing lock...
[2025-01-07 04:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:43:04] Production.INFO: Date 2024-12-24
[2025-01-07 04:43:04] Production.ERROR: done
[2025-01-07 04:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:43:04] Production.INFO: Date 2024-12-25
[2025-01-07 04:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:43:04] Production.INFO: Date 2024-12-26
[2025-01-07 04:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:43:04] Production.INFO: Date 2024-12-27
[2025-01-07 04:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:43:04] Production.INFO: Date 2024-12-28
[2025-01-07 04:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:43:04] Production.INFO: Date 2024-12-29
[2025-01-07 04:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:43:04] Production.INFO: Date 2024-12-30
[2025-01-07 04:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:43:04] Production.INFO: Date 2024-12-31
[2025-01-07 04:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:43:04] Production.INFO: Date 2025-01-01
[2025-01-07 04:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:43:04] Production.INFO: Date 2025-01-02
[2025-01-07 04:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:43:04] Production.INFO: Date 2025-01-03
[2025-01-07 04:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:43:04] Production.INFO: Date 2025-01-04
[2025-01-07 04:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:43:04] Production.INFO: Date 2025-01-05
[2025-01-07 04:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:43:04] Production.INFO: Date 2025-01-06
[2025-01-07 04:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:43:04] Production.INFO: Date 2025-01-07
[2025-01-07 04:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:43:04] Production.INFO: Total Charge 0
[2025-01-07 04:43:04] Production.INFO: CreateAllLog End
[2025-01-07 04:43:04] Production.INFO: Account Balance End.
[2025-01-07 04:43:04] Production.ERROR: CronJobId end 12
[2025-01-07 04:43:04] Production.INFO: ==2100== Releasing lock...
[2025-01-07 04:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:43:05
[end_date_ymd] => 2025-01-07 04:43:05
[RateCDR] => 1
)
[2025-01-07 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-07 01:43:05' and `end` < '2025-01-07 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-07 04:43:11] Production.ERROR: CronJobId end10
[2025-01-07 04:43:11] Production.INFO: ==2098== Releasing lock...
[2025-01-07 04:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:43:13] Production.INFO: call_cost start
[2025-01-07 04:43:13] Production.INFO: call_cost end
[2025-01-07 04:43:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:43:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:43:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:43:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:43:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:43:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:43:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:43:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:43:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:43:13] Production.INFO: ==2094== Releasing lock...
[2025-01-07 04:43:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:43:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:43:18] Production.INFO: count ==128
[2025-01-07 04:43:18] Production.ERROR: pbx CDR StartTime 2025-01-07 01:43:05 - End Time 2025-01-07 04:43:05
[2025-01-07 04:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192529', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192529', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192529', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192529', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:43:18] Production.INFO: ProcessCDR(1,14192529,1,1,2)
[2025-01-07 04:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192529,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192529,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192529,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192529,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192529', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192529', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:43:21] Production.INFO: ==2102== Releasing lock...
[2025-01-07 04:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:43:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:44:02] Production.INFO: ==2162== Lock acquired, processing the job...
[2025-01-07 09:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:44:02] Production.INFO: neon service started
[2025-01-07 09:44:02] Production.INFO: neon service started
[2025-01-07 09:44:02] Production.INFO: ==2162== Releasing lock...
[2025-01-07 09:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:44:02] Production.INFO: ==2164== Lock acquired, processing the job...
[2025-01-07 04:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:44:02] Production.INFO: ==2164== Releasing lock...
[2025-01-07 04:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:44:02] Production.INFO: ==2166== Lock acquired, processing the job...
[2025-01-07 09:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:44:02] Production.INFO: ==2166== Releasing lock...
[2025-01-07 09:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:44:03] Production.INFO: ==2175== Lock acquired, processing the job...
[2025-01-07 04:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:44:03] Production.INFO: ==2179== Lock acquired, processing the job...
[2025-01-07 04:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:44:03] Production.INFO: Account Balance Start.
[2025-01-07 04:44:03] Production.INFO: CreateAllLog Start
[2025-01-07 04:44:03] Production.INFO: 117
[2025-01-07 04:44:03] Production.INFO: Date 2024-12-08
[2025-01-07 04:44:03] Production.INFO: ==2169== Lock acquired, processing the job...
[2025-01-07 04:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:44:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:44:03] Production.INFO: ==2171== Lock acquired, processing the job...
[2025-01-07 04:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:44:03] Production.INFO: Date 2024-12-09
[2025-01-07 04:44:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:44:03] Production.INFO: count ==21
[2025-01-07 04:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:44:03] Production.INFO: ==2173== Lock acquired, processing the job...
[2025-01-07 04:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:44:03] Production.INFO: count ==21
[2025-01-07 04:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192531') start
[2025-01-07 04:44:03] Production.INFO: Date 2024-12-10
[2025-01-07 04:44:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:44:03] Production.INFO: ==2177== Lock acquired, processing the job...
[2025-01-07 04:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:44:03] Production.INFO: Date 2024-12-11
[2025-01-07 04:44:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:44:04] Production.INFO: Date 2024-12-12
[2025-01-07 04:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192531') end
[2025-01-07 04:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:44:04] Production.INFO: 1
[2025-01-07 04:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:44:04] Production.INFO: Date 2024-12-13
[2025-01-07 04:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:44:04] Production.INFO: ==2179== Releasing lock...
[2025-01-07 04:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:44:04] Production.INFO: Date 2024-12-14
[2025-01-07 04:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:44:04] Production.INFO: Date 2024-12-15
[2025-01-07 04:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:44:04] Production.INFO: Date 2024-12-16
[2025-01-07 04:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:44:04] Production.INFO: ==2171== Releasing lock...
[2025-01-07 04:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:44:04] Production.INFO: Date 2024-12-17
[2025-01-07 04:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:44:04] Production.ERROR: done
[2025-01-07 04:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:44:04] Production.ERROR: done
[2025-01-07 04:44:04] Production.INFO: Date 2024-12-18
[2025-01-07 04:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:44:04] Production.INFO: Date 2024-12-19
[2025-01-07 04:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:44:04] Production.INFO: Date 2024-12-20
[2025-01-07 04:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:44:04] Production.INFO: Date 2024-12-21
[2025-01-07 04:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:44:04] Production.INFO: Date 2024-12-22
[2025-01-07 04:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:44:04] Production.INFO: Date 2024-12-23
[2025-01-07 04:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:44:04] Production.INFO: Date 2024-12-24
[2025-01-07 04:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:44:04] Production.INFO: Date 2024-12-25
[2025-01-07 04:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:44:04] Production.INFO: Date 2024-12-26
[2025-01-07 04:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:44:04] Production.INFO: Date 2024-12-27
[2025-01-07 04:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:44:04] Production.INFO: Date 2024-12-28
[2025-01-07 04:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:44:04] Production.INFO: Date 2024-12-29
[2025-01-07 04:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:44:04] Production.INFO: Date 2024-12-30
[2025-01-07 04:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:44:04] Production.INFO: Date 2024-12-31
[2025-01-07 04:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:44:04] Production.INFO: Date 2025-01-01
[2025-01-07 04:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:44:04] Production.INFO: Date 2025-01-02
[2025-01-07 04:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:44:04] Production.INFO: Date 2025-01-03
[2025-01-07 04:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:44:04] Production.INFO: Date 2025-01-04
[2025-01-07 04:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:44:04] Production.INFO: Date 2025-01-05
[2025-01-07 04:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:44:04] Production.INFO: Date 2025-01-06
[2025-01-07 04:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:44:04] Production.INFO: Date 2025-01-07
[2025-01-07 04:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:44:04] Production.INFO: Total Charge 0
[2025-01-07 04:44:04] Production.INFO: CreateAllLog End
[2025-01-07 04:44:05] Production.INFO: Account Balance End.
[2025-01-07 04:44:05] Production.ERROR: CronJobId end 12
[2025-01-07 04:44:05] Production.INFO: ==2175== Releasing lock...
[2025-01-07 04:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:44:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:44:05
[end_date_ymd] => 2025-01-07 04:44:05
[RateCDR] => 1
)
[2025-01-07 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-07 01:44:05' and `end` < '2025-01-07 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-07 04:44:10] Production.ERROR: CronJobId end10
[2025-01-07 04:44:10] Production.INFO: ==2173== Releasing lock...
[2025-01-07 04:44:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:44:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:44:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:44:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:44:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:44:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:44:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:44:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:44:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:44:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:44:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:44:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:44:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:44:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:44:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:44:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:44:12] Production.INFO: call_cost start
[2025-01-07 04:44:12] Production.INFO: call_cost end
[2025-01-07 04:44:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:44:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:44:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:44:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:44:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:44:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:44:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:44:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:44:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:44:13] Production.INFO: ==2169== Releasing lock...
[2025-01-07 04:44:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:44:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:44:18] Production.INFO: count ==128
[2025-01-07 04:44:19] Production.ERROR: pbx CDR StartTime 2025-01-07 01:44:05 - End Time 2025-01-07 04:44:05
[2025-01-07 04:44:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192534', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192534', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192534', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192534', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:44:19] Production.INFO: ProcessCDR(1,14192534,1,1,2)
[2025-01-07 04:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192534,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192534,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192534,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192534,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192534', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192534', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:44:22] Production.INFO: ==2177== Releasing lock...
[2025-01-07 04:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:44:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:45:01] Production.INFO: ==2234== Lock acquired, processing the job...
[2025-01-07 09:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:45:01] Production.INFO: neon service started
[2025-01-07 09:45:01] Production.INFO: neon service started
[2025-01-07 09:45:01] Production.INFO: ==2234== Releasing lock...
[2025-01-07 09:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:45:01] Production.INFO: ==2238== Lock acquired, processing the job...
[2025-01-07 09:45:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:45:01] Production.INFO: ==2238== Releasing lock...
[2025-01-07 09:45:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:45:01] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:45:01] Production.INFO: ==2236== Lock acquired, processing the job...
[2025-01-07 04:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:45:02] Production.INFO: ==2236== Releasing lock...
[2025-01-07 04:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:45:02] Production.INFO: ==2241== Lock acquired, processing the job...
[2025-01-07 04:45:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:45:03] Production.INFO: ==2243== Lock acquired, processing the job...
[2025-01-07 04:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:45:03] Production.INFO: ==2247== Lock acquired, processing the job...
[2025-01-07 04:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:45:03] Production.INFO: ==2245== Lock acquired, processing the job...
[2025-01-07 04:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:45:03] Production.INFO: ==2251== Lock acquired, processing the job...
[2025-01-07 04:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:45:03] Production.INFO: Account Balance Start.
[2025-01-07 04:45:03] Production.INFO: CreateAllLog Start
[2025-01-07 04:45:03] Production.INFO: 117
[2025-01-07 04:45:03] Production.INFO: Date 2024-12-08
[2025-01-07 04:45:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:45:03] Production.INFO: Date 2024-12-09
[2025-01-07 04:45:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 04:45:03] Production.INFO: Date 2024-12-10
[2025-01-07 04:45:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:45:03] Production.INFO: count ==21
[2025-01-07 04:45:03] Production.INFO: Date 2024-12-11
[2025-01-07 04:45:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:45:03] Production.INFO: ==2249== Lock acquired, processing the job...
[2025-01-07 04:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 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-07 04:45:03] Production.INFO: count ==21
[2025-01-07 04:45:03] Production.INFO: Date 2024-12-12
[2025-01-07 04:45:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192538') start
[2025-01-07 04:45:03] Production.INFO: Date 2024-12-13
[2025-01-07 04:45:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:45:03] Production.INFO: Date 2024-12-14
[2025-01-07 04:45:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:45:03] Production.INFO: ==2243== Releasing lock...
[2025-01-07 04:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:45:03] Production.INFO: Date 2024-12-15
[2025-01-07 04:45:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192538') end
[2025-01-07 04:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:45:03] Production.INFO: 1
[2025-01-07 04:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:45:03] Production.INFO: Date 2024-12-16
[2025-01-07 04:45:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:45:03] Production.INFO: ==2251== Releasing lock...
[2025-01-07 04:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:45:03] Production.ERROR: done
[2025-01-07 04:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:45:03] Production.INFO: Date 2024-12-17
[2025-01-07 04:45:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:45:04] Production.INFO: Date 2024-12-18
[2025-01-07 04:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:45:04] Production.INFO: Date 2024-12-19
[2025-01-07 04:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:45:04] Production.INFO: Date 2024-12-20
[2025-01-07 04:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:45:04] Production.ERROR: done
[2025-01-07 04:45:04] Production.INFO: Date 2024-12-21
[2025-01-07 04:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:45:04] Production.INFO: Date 2024-12-22
[2025-01-07 04:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:45:04] Production.INFO: Date 2024-12-23
[2025-01-07 04:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:45:04] Production.INFO: Date 2024-12-24
[2025-01-07 04:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:45:04] Production.INFO: Date 2024-12-25
[2025-01-07 04:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:45:04] Production.INFO: Date 2024-12-26
[2025-01-07 04:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:45:04] Production.INFO: Date 2024-12-27
[2025-01-07 04:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:45:04] Production.INFO: Date 2024-12-28
[2025-01-07 04:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:45:04] Production.INFO: Date 2024-12-29
[2025-01-07 04:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:45:04] Production.INFO: Date 2024-12-30
[2025-01-07 04:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:45:04] Production.INFO: Date 2024-12-31
[2025-01-07 04:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:45:04] Production.INFO: Date 2025-01-01
[2025-01-07 04:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:45:04] Production.INFO: Date 2025-01-02
[2025-01-07 04:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:45:04] Production.INFO: Date 2025-01-03
[2025-01-07 04:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:45:04] Production.INFO: Date 2025-01-04
[2025-01-07 04:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:45:04] Production.INFO: Date 2025-01-05
[2025-01-07 04:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:45:04] Production.INFO: Date 2025-01-06
[2025-01-07 04:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:45:04] Production.INFO: Date 2025-01-07
[2025-01-07 04:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:45:04] Production.INFO: Total Charge 0
[2025-01-07 04:45:04] Production.INFO: CreateAllLog End
[2025-01-07 04:45:04] Production.INFO: Account Balance End.
[2025-01-07 04:45:04] Production.ERROR: CronJobId end 12
[2025-01-07 04:45:04] Production.INFO: ==2247== Releasing lock...
[2025-01-07 04:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:45:05
[end_date_ymd] => 2025-01-07 04:45:05
[RateCDR] => 1
)
[2025-01-07 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-07 01:45:05' and `end` < '2025-01-07 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-07 04:45:10] Production.ERROR: CronJobId end10
[2025-01-07 04:45:10] Production.INFO: ==2245== Releasing lock...
[2025-01-07 04:45:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:45:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:45:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:45:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:45:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:45:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:45:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:45:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:45:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:45:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:45:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:45:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:45:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:45:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:45:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:45:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:45:12] Production.INFO: call_cost start
[2025-01-07 04:45:12] Production.INFO: call_cost end
[2025-01-07 04:45:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:45:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:45:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:45:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:45:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:45:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:45:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:45:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:45:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:45:13] Production.INFO: ==2241== Releasing lock...
[2025-01-07 04:45:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:45:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:45:18] Production.INFO: count ==128
[2025-01-07 04:45:18] Production.ERROR: pbx CDR StartTime 2025-01-07 01:45:05 - End Time 2025-01-07 04:45:05
[2025-01-07 04:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192539', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192539', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192539', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192539', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:45:18] Production.INFO: ProcessCDR(1,14192539,1,1,2)
[2025-01-07 04:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192539,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192539,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192539,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192539,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192539', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192539', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:45:21] Production.INFO: ==2249== Releasing lock...
[2025-01-07 04:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:45:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:46:01] Production.INFO: ==2307== Lock acquired, processing the job...
[2025-01-07 09:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:46:01] Production.INFO: neon service started
[2025-01-07 09:46:01] Production.INFO: neon service started
[2025-01-07 09:46:01] Production.INFO: ==2307== Releasing lock...
[2025-01-07 09:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:46:02] Production.INFO: ==2309== Lock acquired, processing the job...
[2025-01-07 04:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:46:02] Production.INFO: ==2311== Lock acquired, processing the job...
[2025-01-07 09:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:46:02] Production.INFO: ==2311== Releasing lock...
[2025-01-07 09:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:46:02] Production.INFO: ==2309== Releasing lock...
[2025-01-07 04:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:46:03] Production.INFO: ==2314== Lock acquired, processing the job...
[2025-01-07 04:46:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10420 #Starts#
[2025-01-07 04:46:03] Production.INFO: -- Xero Api Check --
[2025-01-07 04:46:03] Production.INFO: ==2316== Lock acquired, processing the job...
[2025-01-07 04:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:46:03] Production.INFO: ==2326== Lock acquired, processing the job...
[2025-01-07 04:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 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-07 04:46:03] Production.INFO: count ==21
[2025-01-07 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-07 04:46:03] Production.INFO: count ==21
[2025-01-07 04:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192541') start
[2025-01-07 04:46:03] Production.INFO: ==2324== Lock acquired, processing the job...
[2025-01-07 04:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:46:03] Production.INFO: ==2318== Lock acquired, processing the job...
[2025-01-07 04:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:46:03] Production.INFO: ==2320== Lock acquired, processing the job...
[2025-01-07 04:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:46:03] Production.INFO: ==2322== Lock acquired, processing the job...
[2025-01-07 04:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192541') end
[2025-01-07 04:46:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:46:03] Production.INFO: 1
[2025-01-07 04:46:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:46:03] Production.INFO: ==2326== Releasing lock...
[2025-01-07 04:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:46:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:46:03] Production.INFO: Account Balance Start.
[2025-01-07 04:46:03] Production.INFO: CreateAllLog Start
[2025-01-07 04:46:03] Production.INFO: 117
[2025-01-07 04:46:03] Production.INFO: Date 2024-12-08
[2025-01-07 04:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:46:04] Production.INFO: Date 2024-12-09
[2025-01-07 04:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:46:04] Production.INFO: Date 2024-12-10
[2025-01-07 04:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:46:04] Production.INFO: Date 2024-12-11
[2025-01-07 04:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:46:04] Production.ERROR: done
[2025-01-07 04:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:46:04] Production.INFO: Date 2024-12-12
[2025-01-07 04:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:46: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.894974
[namelookup_time] => 0.53413
[connect_time] => 0.542071
[pretransfer_time] => 0.768394
[size_upload] => 82
[size_download] => 2755
[speed_download] => 3078
[speed_upload] => 91
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.894934
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.17
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 41668
)
[2025-01-07 04:46:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDMxNjQsImV4cCI6MTczNjI0MzQ2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQzMTY0LCJhdF9oYXNoIjoiUWlMdDJfOEhUOTFFcEdoUzVaUGQxQSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.hhL3Zidf46D67zeSI3a9NbUG5-FQ_7n1jclAc1FU9oA6AGtDqpiKM_aNYK70T2iUC9HUU-kC9HvJABvTWMiKe7d_KkzL1fT-U4hzkG2zG9Jv57WISrNk7KXvI3avGgoGg4qowCtZ50g-W2FSiVrsU1t3kuIpkrVAS9oP_s3omqIjSODdIH4C8DqHqlDKM797moUbd4nIO9u_mIxlLaCHxpTSHKqpJi3pyW9Z1VnOPdnoiuHyT4k1OfPVdBaQKRaN79wNqpISf8T9JNw0LHEeAZ8O2d0W9GK4ouKcHF6yK6e_D_HY0EAT9J0bnT8JN9D7b8IU0cYWFoGPpXjxSWMoRw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDMxNjQsImV4cCI6MTczNjI0NDk2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.IkbEJbM_m3R-NdJuVWjcWpLHg8diovCW54Rx28a2w41i2m8aAAPo7dmpwZYcd3DbUE-ftZaOl3Qp8FmdNu91tPXuFnbGBsdu-7XJLeRrOTRhsme4AAOyZGtpUbLf5xKU4tYd8mCIcj60o-zNbf8ySkEiqjXSsmRJuGsP_R4jTlbCD1fYNUNtYck1SLcdYJIn5Lwh0syeeZxcNQ6kFC1ZHd3zCXeotxgSzqQ5eur5IXxpofaV5Lxs32rGNrcHLNjZ40_ycFwS61Z_mFhv-e3jyTpE1TMd_L8NT3m_KCEV3VTY0h5NHF4oE3OuOnJ-4pigDqpYh4HCipbmnVm_5MoQPw
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => 0OYGDyj1_MYgFBGXXQ4VyRcSeYc1wr3tGJUuX7QCbqs
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 04:46:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDMxNjQsImV4cCI6MTczNjI0MzQ2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQzMTY0LCJhdF9oYXNoIjoiUWlMdDJfOEhUOTFFcEdoUzVaUGQxQSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.hhL3Zidf46D67zeSI3a9NbUG5-FQ_7n1jclAc1FU9oA6AGtDqpiKM_aNYK70T2iUC9HUU-kC9HvJABvTWMiKe7d_KkzL1fT-U4hzkG2zG9Jv57WISrNk7KXvI3avGgoGg4qowCtZ50g-W2FSiVrsU1t3kuIpkrVAS9oP_s3omqIjSODdIH4C8DqHqlDKM797moUbd4nIO9u_mIxlLaCHxpTSHKqpJi3pyW9Z1VnOPdnoiuHyT4k1OfPVdBaQKRaN79wNqpISf8T9JNw0LHEeAZ8O2d0W9GK4ouKcHF6yK6e_D_HY0EAT9J0bnT8JN9D7b8IU0cYWFoGPpXjxSWMoRw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDMxNjQsImV4cCI6MTczNjI0NDk2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.IkbEJbM_m3R-NdJuVWjcWpLHg8diovCW54Rx28a2w41i2m8aAAPo7dmpwZYcd3DbUE-ftZaOl3Qp8FmdNu91tPXuFnbGBsdu-7XJLeRrOTRhsme4AAOyZGtpUbLf5xKU4tYd8mCIcj60o-zNbf8ySkEiqjXSsmRJuGsP_R4jTlbCD1fYNUNtYck1SLcdYJIn5Lwh0syeeZxcNQ6kFC1ZHd3zCXeotxgSzqQ5eur5IXxpofaV5Lxs32rGNrcHLNjZ40_ycFwS61Z_mFhv-e3jyTpE1TMd_L8NT3m_KCEV3VTY0h5NHF4oE3OuOnJ-4pigDqpYh4HCipbmnVm_5MoQPw
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => 0OYGDyj1_MYgFBGXXQ4VyRcSeYc1wr3tGJUuX7QCbqs
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 04:46:04] Production.INFO: AccountID 124
[2025-01-07 04:46:04] Production.ERROR: done
[2025-01-07 04:46:04] Production.INFO: Date 2024-12-13
[2025-01-07 04:46:04] Production.INFO: AccountName Dominos 39009 (Mudassar Zia)
[2025-01-07 04:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:46:04] Production.INFO: Checkcustomer
[2025-01-07 04:46:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039009%20%28Mudassar%20Zia%29"
[2025-01-07 04:46:04] Production.INFO: ==2318== Releasing lock...
[2025-01-07 04:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:46:04] Production.INFO: Date 2024-12-14
[2025-01-07 04:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:46:04] Production.INFO: Date 2024-12-15
[2025-01-07 04:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:46:04] Production.INFO: Date 2024-12-16
[2025-01-07 04:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:46:04] Production.INFO: Date 2024-12-17
[2025-01-07 04:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:46:04] Production.INFO: Date 2024-12-18
[2025-01-07 04:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:46:04] Production.INFO: Date 2024-12-19
[2025-01-07 04:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:46:04] Production.INFO: Date 2024-12-20
[2025-01-07 04:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:46:04] Production.INFO: Date 2024-12-21
[2025-01-07 04:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:46:04] Production.INFO: Date 2024-12-22
[2025-01-07 04:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:46:04] Production.INFO: Date 2024-12-23
[2025-01-07 04:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:46:04] Production.INFO: Date 2024-12-24
[2025-01-07 04:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:46:04] Production.INFO: Date 2024-12-25
[2025-01-07 04:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:46:04] Production.INFO: Date 2024-12-26
[2025-01-07 04:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:46:04] Production.INFO: Date 2024-12-27
[2025-01-07 04:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:46:04] Production.INFO: Date 2024-12-28
[2025-01-07 04:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:46:04] Production.INFO: Date 2024-12-29
[2025-01-07 04:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:46:04] Production.INFO: Date 2024-12-30
[2025-01-07 04:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:46:04] Production.INFO: Date 2024-12-31
[2025-01-07 04:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:46:04] Production.INFO: Date 2025-01-01
[2025-01-07 04:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:46:05] Production.INFO: Date 2025-01-02
[2025-01-07 04:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:46:05] Production.INFO: Date 2025-01-03
[2025-01-07 04:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:46:05] Production.INFO: Date 2025-01-04
[2025-01-07 04:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:46:05] Production.INFO: Date 2025-01-05
[2025-01-07 04:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:46:05] Production.INFO: Date 2025-01-06
[2025-01-07 04:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:46:05] Production.INFO: Date 2025-01-07
[2025-01-07 04:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:46:05] Production.INFO: Total Charge 0
[2025-01-07 04:46:05] Production.INFO: CreateAllLog End
[2025-01-07 04:46:05] Production.INFO: Account Balance End.
[2025-01-07 04:46:05] Production.ERROR: CronJobId end 12
[2025-01-07 04:46:05] Production.INFO: ==2322== Releasing lock...
[2025-01-07 04:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:46:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:46:05
[end_date_ymd] => 2025-01-07 04:46:05
[RateCDR] => 1
)
[2025-01-07 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-07 01:46:05' and `end` < '2025-01-07 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-07 04:46:06] Production.INFO: Contact id print CheckCustomer Case===40c47681-8e37-4e12-be60-e7c71250891f
[2025-01-07 04:46:06] Production.INFO: -- count --1
[2025-01-07 04:46:06] Production.INFO: AccountID 153
[2025-01-07 04:46:06] Production.INFO: AccountName Dominos 10191 (Chandresh Patel)
[2025-01-07 04:46:06] Production.INFO: Checkcustomer
[2025-01-07 04:46:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010191%20%28Chandresh%20Patel%29"
[2025-01-07 04:46:09] Production.INFO: Contact id print CheckCustomer Case===a1f84b26-3d74-4603-893d-c86292f301ef
[2025-01-07 04:46:09] Production.INFO: -- count --1
[2025-01-07 04:46:09] Production.INFO: AccountID 154
[2025-01-07 04:46:09] Production.INFO: AccountName Dominos 10385 (Sandeep Chaudhari)
[2025-01-07 04:46:09] Production.INFO: Checkcustomer
[2025-01-07 04:46:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010385%20%28Sandeep%20Chaudhari%29"
[2025-01-07 04:46:11] Production.INFO: Contact id print CheckCustomer Case===f21476d6-c1e8-4e8b-b2a8-87f68276aedf
[2025-01-07 04:46:11] Production.INFO: -- count --1
[2025-01-07 04:46:11] Production.INFO: AccountID 182
[2025-01-07 04:46:11] Production.INFO: AccountName Dominos 39049 (Sandeep Chaudhari)
[2025-01-07 04:46:11] Production.INFO: Checkcustomer
[2025-01-07 04:46:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039049%20%28Sandeep%20Chaudhari%29"
[2025-01-07 04:46:11] Production.ERROR: CronJobId end10
[2025-01-07 04:46:11] Production.INFO: ==2320== Releasing lock...
[2025-01-07 04:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:46:13] Production.INFO: call_cost start
[2025-01-07 04:46:13] Production.INFO: call_cost end
[2025-01-07 04:46:14] Production.INFO: Contact id print CheckCustomer Case===1c0b2017-4eb0-4996-8c28-357329632ba9
[2025-01-07 04:46:14] Production.INFO: -- count --1
[2025-01-07 04:46:14] Production.INFO: AccountID 188
[2025-01-07 04:46:14] Production.INFO: AccountName All Care Insurance Brokers Ltd.
[2025-01-07 04:46:14] Production.INFO: Checkcustomer
[2025-01-07 04:46:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="All%20Care%20Insurance%20Brokers%20Ltd."
[2025-01-07 04:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:46:14] Production.INFO: ==2316== Releasing lock...
[2025-01-07 04:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:46:16] Production.INFO: Contact id print CheckCustomer Case===6d542d8f-684c-435c-82fd-abdec98b3c10
[2025-01-07 04:46:16] Production.INFO: -- count --1
[2025-01-07 04:46:16] Production.INFO: -- Xero Add Inovice --
[2025-01-07 04:46:16] Production.INFO: CheckInvoice xerov2: INV11316
[2025-01-07 04:46:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11316
[2025-01-07 04:46:18] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 04:46:18] Production.INFO: Invoice SubTotal 62.500000
[2025-01-07 04:46:18] Production.INFO: Invoice DetTotal 62.5
[2025-01-07 04:46:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039009%20%28Mudassar%20Zia%29"
[2025-01-07 04:46:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 04:46:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 04:46:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 04:46:26] Production.INFO: count ==128
[2025-01-07 04:46:26] Production.ERROR: pbx CDR StartTime 2025-01-07 01:46:05 - End Time 2025-01-07 04:46:05
[2025-01-07 04:46:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:46:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192544', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:46:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192544', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:46:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192544', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:46:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192544', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:46:26] Production.INFO: ProcessCDR(1,14192544,1,1,2)
[2025-01-07 04:46:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192544,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:46:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192544,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:46:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192544,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:46:28] Production.INFO: =========Invoices String here======{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14039819191 - 104 River Heights Blvd 4A Cochrane, AB T4C 2T8 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX012",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 3,UnitAmount : -5.000000,LineAmount : -15.000000}
[2025-01-07 04:46:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192544,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:46:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192544', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:46:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192544', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:46:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:46:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:46:29] Production.INFO: ==2324== Releasing lock...
[2025-01-07 04:46:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:46:29] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:46:32] Production.INFO: ==== result =====
[2025-01-07 04:46:32] Production.INFO: {
"Id": "04c413c5-69cd-4854-87fb-864bfd9bdcde",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736243192077)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "81cc19a9-231a-4771-9a59-c3c48ae68295",
"InvoiceNumber": "INV11316",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 65.63,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "40c47681-8e37-4e12-be60-e7c71250891f",
"ContactStatus": "ACTIVE",
"Name": "Dominos 39009 (Mudassar Zia)",
"FirstName": "Mudassar",
"LastName": "Zia",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1730122119387+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2025-01-06T00:00:00",
"Date": "\/Date(1736121600000+0000)\/",
"DueDateString": "2025-02-05T00:00:00",
"DueDate": "\/Date(1738713600000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX012",
"TaxAmount": 3.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "8cec1cf5-d0c8-4ea9-93ed-c58060c7f1c8",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (14039819191 - 104 River Heights Blvd 4A Cochrane, AB T4C 2T8 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX012",
"TaxAmount": 0.13,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "74ce1949-b03a-424e-b8cf-a0b00a1f55ca",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -5.00,
"TaxType": "TAX012",
"TaxAmount": -0.75,
"LineAmount": -15.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 3.0000,
"DiscountRate": 0.00,
"LineItemID": "2e529ae7-0158-48b1-b149-82273bc45f12",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 62.50,
"TotalTax": 3.13,
"Total": 65.63,
"UpdatedDateUTC": "\/Date(1736243192013+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 04:46:32] Production.INFO: -- Create Invoice id --81cc19a9-231a-4771-9a59-c3c48ae68295
[2025-01-07 04:46:32] Production.INFO: -- Create Invoice Done --
[2025-01-07 04:46:32] Production.INFO: CheckInvoice xerov2: INV11317
[2025-01-07 04:46:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11317
[2025-01-07 04:46:34] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 04:46:34] Production.INFO: Invoice SubTotal 52.500000
[2025-01-07 04:46:34] Production.INFO: Invoice DetTotal 52.5
[2025-01-07 04:46:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010191%20%28Chandresh%20Patel%29"
[2025-01-07 04:46:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 04:46:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 04:46:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 04:46:44] Production.INFO: =========Invoices String here======{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX012",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 1,UnitAmount : -25.000000,LineAmount : -25.000000},{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (17809689999 - 3919 49 Ave, Unit 121, Stony Plain, AB T7Z2J7)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 04:46:46] Production.INFO: ==== result =====
[2025-01-07 04:46:46] Production.INFO: {
"Id": "7702226a-1e24-4f60-8cca-874ad6eb3682",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736243206941)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "1047e3bd-b70d-456b-873f-70ae473c9c0d",
"InvoiceNumber": "INV11317",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 55.13,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "a1f84b26-3d74-4603-893d-c86292f301ef",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10191 (Chandresh Patel)",
"FirstName": "Chandresh",
"LastName": "Patel",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1639845523350+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2025-01-06T00:00:00",
"Date": "\/Date(1736121600000+0000)\/",
"DueDateString": "2025-02-05T00:00:00",
"DueDate": "\/Date(1738713600000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX012",
"TaxAmount": 3.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "4623d3f4-693c-41b9-aea0-78f1f0adbd65",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -25.00,
"TaxType": "TAX012",
"TaxAmount": -1.25,
"LineAmount": -25.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "8b137afa-a011-4848-9d0a-0f5620d84ce8",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (17809689999 - 3919 49 Ave, Unit 121, Stony Plain, AB T7Z2J7)",
"UnitAmount": 2.50,
"TaxType": "TAX012",
"TaxAmount": 0.13,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "185055dd-5efb-460b-9dde-0a49a7962767",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 52.50,
"TotalTax": 2.63,
"Total": 55.13,
"UpdatedDateUTC": "\/Date(1736243206880+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 04:46:46] Production.INFO: -- Create Invoice id --1047e3bd-b70d-456b-873f-70ae473c9c0d
[2025-01-07 04:46:46] Production.INFO: -- Create Invoice Done --
[2025-01-07 04:46:46] Production.INFO: CheckInvoice xerov2: INV11318
[2025-01-07 04:46:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11318
[2025-01-07 04:46:49] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 04:46:49] Production.INFO: Invoice SubTotal 52.500000
[2025-01-07 04:46:49] Production.INFO: Invoice DetTotal 52.5
[2025-01-07 04:46:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010385%20%28Sandeep%20Chaudhari%29"
[2025-01-07 04:46:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 04:46:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 04:46:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 04:46:58] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (15197477300 - 450 Columbia St W 2 Waterloo, ON N2T 2W1 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 5,UnitAmount : -5.000000,LineAmount : -25.000000}
[2025-01-07 09:47:02] Production.INFO: ==2401== Lock acquired, processing the job...
[2025-01-07 09:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:47:02] Production.INFO: neon service started
[2025-01-07 09:47:02] Production.INFO: neon service started
[2025-01-07 09:47:02] Production.INFO: ==2401== Releasing lock...
[2025-01-07 09:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:47:02] Production.INFO: ==== result =====
[2025-01-07 04:47:02] Production.INFO: {
"Id": "01cea319-6a15-46db-a1a9-f95f591fdb29",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736243222160)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "0cf2b0ce-2b21-4deb-a0aa-a9073c97e1f9",
"InvoiceNumber": "INV11318",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 59.33,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "f21476d6-c1e8-4e8b-b2a8-87f68276aedf",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10385 (Sandeep Chaudhari)",
"FirstName": "Sandeep",
"LastName": "Chaudhari",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1639845523757+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2025-01-06T00:00:00",
"Date": "\/Date(1736121600000+0000)\/",
"DueDateString": "2025-02-05T00:00:00",
"DueDate": "\/Date(1738713600000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "4397a866-98fd-47c9-81ac-d3ea1e524329",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (15197477300 - 450 Columbia St W 2 Waterloo, ON N2T 2W1 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "1f45429c-1f4f-4aec-8de6-983422e09be3",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -5.00,
"TaxType": "TAX020",
"TaxAmount": -3.25,
"LineAmount": -25.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 5.0000,
"DiscountRate": 0.00,
"LineItemID": "e13e97e8-cdfb-43b2-b7b2-b3224d115d95",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 52.50,
"TotalTax": 6.83,
"Total": 59.33,
"UpdatedDateUTC": "\/Date(1736243222113+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 04:47:02] Production.INFO: -- Create Invoice id --0cf2b0ce-2b21-4deb-a0aa-a9073c97e1f9
[2025-01-07 04:47:02] Production.INFO: -- Create Invoice Done --
[2025-01-07 04:47:02] Production.INFO: CheckInvoice xerov2: INV11312
[2025-01-07 04:47:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11312
[2025-01-07 04:47:03] Production.INFO: ==2403== Lock acquired, processing the job...
[2025-01-07 04:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:47:03] Production.INFO: ==2405== Lock acquired, processing the job...
[2025-01-07 09:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:47:03] Production.INFO: ==2405== Releasing lock...
[2025-01-07 09:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:47:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:47:03] Production.INFO: ==2403== Releasing lock...
[2025-01-07 04:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:47:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:47:04] Production.INFO: ==2408== Lock acquired, processing the job...
[2025-01-07 04:47:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:47:04] Production.INFO: ==2412== Lock acquired, processing the job...
[2025-01-07 04:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:47:04] Production.INFO: ==2416== Lock acquired, processing the job...
[2025-01-07 04:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:47:04] Production.INFO: ==2410== Lock acquired, processing the job...
[2025-01-07 04:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:47:04] Production.INFO: ==2414== Lock acquired, processing the job...
[2025-01-07 04:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:47:04] Production.INFO: ==2418== Lock acquired, processing the job...
[2025-01-07 04:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:47:04] Production.ERROR: done
[2025-01-07 04:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:47:04] Production.INFO: Account Balance Start.
[2025-01-07 04:47:04] Production.INFO: CreateAllLog Start
[2025-01-07 04:47:04] Production.INFO: 117
[2025-01-07 04:47:04] Production.INFO: Date 2024-12-08
[2025-01-07 04:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:47:04] Production.INFO: count ==21
[2025-01-07 04:47:04] Production.INFO: ==2410== Releasing lock...
[2025-01-07 04:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:47:04] Production.INFO: count ==21
[2025-01-07 04:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192548') start
[2025-01-07 04:47:04] Production.INFO: Date 2024-12-09
[2025-01-07 04:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:47:04] Production.ERROR: done
[2025-01-07 04:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192548') end
[2025-01-07 04:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:47:04] Production.INFO: 1
[2025-01-07 04:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:47:04] Production.INFO: Date 2024-12-10
[2025-01-07 04:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:47:04] Production.INFO: Date 2024-12-11
[2025-01-07 04:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:47:04] Production.INFO: Date 2024-12-12
[2025-01-07 04:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:47:05] Production.INFO: ==2418== Releasing lock...
[2025-01-07 04:47:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:47:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:47:05] Production.INFO: Date 2024-12-13
[2025-01-07 04:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:47:05] Production.INFO: Date 2024-12-14
[2025-01-07 04:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:47:05] Production.INFO: Date 2024-12-15
[2025-01-07 04:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:47:05] Production.INFO: Date 2024-12-16
[2025-01-07 04:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:47:05] Production.INFO: Date 2024-12-17
[2025-01-07 04:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:47:05] Production.INFO: Date 2024-12-18
[2025-01-07 04:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:47:05] Production.INFO: Date 2024-12-19
[2025-01-07 04:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:47:05] Production.INFO: Date 2024-12-20
[2025-01-07 04:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:47:05] Production.INFO: Date 2024-12-21
[2025-01-07 04:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:47:05] Production.INFO: Date 2024-12-22
[2025-01-07 04:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:47:05] Production.INFO: Date 2024-12-23
[2025-01-07 04:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:47:05] Production.INFO: Date 2024-12-24
[2025-01-07 04:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:47:05] Production.INFO: Date 2024-12-25
[2025-01-07 04:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:47:05] Production.INFO: Date 2024-12-26
[2025-01-07 04:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:47:05] Production.INFO: Date 2024-12-27
[2025-01-07 04:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:47:05] Production.INFO: Date 2024-12-28
[2025-01-07 04:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:47:05] Production.INFO: Date 2024-12-29
[2025-01-07 04:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:47:05] Production.INFO: Date 2024-12-30
[2025-01-07 04:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:47:05] Production.INFO: Date 2024-12-31
[2025-01-07 04:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:47:05] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 04:47:05] Production.INFO: Invoice SubTotal 50.000000
[2025-01-07 04:47:05] Production.INFO: Invoice DetTotal 50
[2025-01-07 04:47:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039049%20%28Sandeep%20Chaudhari%29"
[2025-01-07 04:47:05] Production.INFO: Date 2025-01-01
[2025-01-07 04:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:47:05] Production.INFO: Date 2025-01-02
[2025-01-07 04:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:47:05] Production.INFO: Date 2025-01-03
[2025-01-07 04:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:47:05] Production.INFO: Date 2025-01-04
[2025-01-07 04:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:47:05] Production.INFO: Date 2025-01-05
[2025-01-07 04:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:47:05] Production.INFO: Date 2025-01-06
[2025-01-07 04:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:47:06] Production.INFO: Date 2025-01-07
[2025-01-07 04:47:06] Production.INFO: Reseller ==> 0
[2025-01-07 04:47:06] Production.INFO: Total Charge 0
[2025-01-07 04:47:06] Production.INFO: CreateAllLog End
[2025-01-07 04:47:06] Production.INFO: Account Balance End.
[2025-01-07 04:47:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:47:06
[end_date_ymd] => 2025-01-07 04:47:06
[RateCDR] => 1
)
[2025-01-07 04:47:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 01:47:06' and `end` < '2025-01-07 04:47:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 04:47:06] Production.ERROR: CronJobId end 12
[2025-01-07 04:47:06] Production.INFO: ==2414== Releasing lock...
[2025-01-07 04:47:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:47:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:47:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 04:47:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 04:47:12] Production.ERROR: CronJobId end10
[2025-01-07 04:47:12] Production.INFO: ==2412== Releasing lock...
[2025-01-07 04:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:47:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 04:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:47:14] Production.INFO: call_cost start
[2025-01-07 04:47:14] Production.INFO: call_cost end
[2025-01-07 04:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:47:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:47:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:47:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:47:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:47:15] Production.INFO: ==2408== Releasing lock...
[2025-01-07 04:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:47:15] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Provides a $5/store/month discount when 5+ stores have OnSwitch Cloud Phone service",Quantity : 1,UnitAmount : -25.000000,LineAmount : -25.000000}
[2025-01-07 04:47:18] Production.INFO: ==== result =====
[2025-01-07 04:47:18] Production.INFO: {
"Id": "366ea49d-83b3-41b7-97ff-ec25250c75f4",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736243238635)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "fa4ee3d3-e340-4246-8492-e467e9fd6a83",
"InvoiceNumber": "INV11312",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 56.50,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"IsDiscounted": false,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "1c0b2017-4eb0-4996-8c28-357329632ba9",
"ContactStatus": "ACTIVE",
"Name": "Dominos 39049 (Sandeep Chaudhari)",
"FirstName": "Sandeep",
"LastName": "Chaudhari",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1697457583520+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2025-01-05T00:00:00",
"Date": "\/Date(1736035200000+0000)\/",
"DueDateString": "2025-02-04T00:00:00",
"DueDate": "\/Date(1738627200000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "1a6baa42-9d11-4a91-ac01-064f84bb8837",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 5+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -25.00,
"TaxType": "TAX020",
"TaxAmount": -3.25,
"LineAmount": -25.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "52a45cf4-b6c1-46d9-a52d-276281af1516",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
}
],
"SubTotal": 50.00,
"TotalTax": 6.50,
"Total": 56.50,
"UpdatedDateUTC": "\/Date(1736243238557+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 04:47:18] Production.INFO: -- Create Invoice id --fa4ee3d3-e340-4246-8492-e467e9fd6a83
[2025-01-07 04:47:18] Production.INFO: -- Create Invoice Done --
[2025-01-07 04:47:18] Production.INFO: CheckInvoice xerov2: INV11313
[2025-01-07 04:47:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11313
[2025-01-07 04:47:20] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 04:47:20] Production.INFO: Invoice SubTotal 22.590000
[2025-01-07 04:47:20] Production.INFO: Invoice DetTotal 22.59
[2025-01-07 04:47:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="All%20Care%20Insurance%20Brokers%20Ltd."
[2025-01-07 04:47:21] Production.INFO: count ==127
[2025-01-07 04:47:21] Production.ERROR: pbx CDR StartTime 2025-01-07 01:47:06 - End Time 2025-01-07 04:47:06
[2025-01-07 04:47:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192549', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192549', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192549', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192549', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:47:21] Production.INFO: ProcessCDR(1,14192549,1,1,2)
[2025-01-07 04:47:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192549,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:47:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192549,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:47:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192549,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:47:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 04:47:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192549,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:47:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192549', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:47:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192549', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:47:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:47:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:47:24] Production.INFO: ==2416== Releasing lock...
[2025-01-07 04:47:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:47:24] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:47:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 04:47:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 04:47:31] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 12-05-2024 To 01-04-2025",Quantity : 1,UnitAmount : 10.090000,LineAmount : 10.090000},{taxType:"TAX020",AccountCode : 203,"Description": "License for an Unlimited Canada/US Cloud Phone extension",Quantity : 1,UnitAmount : 10.000000,LineAmount : 10.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (9053321362 - 1332 Khalsa Drive 11 Mississauga, ON L5S 0A2 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 04:47:35] Production.INFO: ==== result =====
[2025-01-07 04:47:35] Production.INFO: {
"Id": "222f41a6-dfe0-4ddc-94e4-9f2722f12c94",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736243255019)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "8fe00cee-cd6b-4c68-af5c-b3f3c977f2d8",
"InvoiceNumber": "INV11313",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 25.53,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "6d542d8f-684c-435c-82fd-abdec98b3c10",
"ContactStatus": "ACTIVE",
"Name": "All Care Insurance Brokers Ltd.",
"FirstName": "Manwinder",
"LastName": "Mangat",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1696240411443+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2025-01-05T00:00:00",
"Date": "\/Date(1736035200000+0000)\/",
"DueDateString": "2025-02-04T00:00:00",
"DueDate": "\/Date(1738627200000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "From 12-05-2024 To 01-04-2025",
"UnitAmount": 10.09,
"TaxType": "TAX020",
"TaxAmount": 1.31,
"LineAmount": 10.09,
"AccountCode": "234",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "559beff6-59b2-46f7-b768-9380785ef777",
"AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "License for an Unlimited Canada/US Cloud Phone extension",
"UnitAmount": 10.00,
"TaxType": "TAX020",
"TaxAmount": 1.30,
"LineAmount": 10.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "517ffbeb-a52c-4931-a09c-87eb02a509ca",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
},
{
"Description": "e911 address registration (9053321362 - 1332 Khalsa Drive 11 Mississauga, ON L5S 0A2 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "a7c886ed-0615-45d9-99bc-8a4612131bbc",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
}
],
"SubTotal": 22.59,
"TotalTax": 2.94,
"Total": 25.53,
"UpdatedDateUTC": "\/Date(1736243254973+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 04:47:35] Production.INFO: -- Create Invoice id --8fe00cee-cd6b-4c68-af5c-b3f3c977f2d8
[2025-01-07 04:47:35] Production.INFO: -- Create Invoice Done --
[2025-01-07 04:47:35] Production.INFO: -- Xero End Inovice --
[2025-01-07 04:47:35] Production.INFO: ==2314== Releasing lock...
[2025-01-07 04:47:35] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10420 #Stops#
[2025-01-07 04:47:35] Production.INFO: 32.5 MB #Memory Used#
[2025-01-07 09:48:01] Production.INFO: ==2527== Lock acquired, processing the job...
[2025-01-07 09:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:48:01] Production.INFO: neon service started
[2025-01-07 09:48:01] Production.INFO: neon service started
[2025-01-07 09:48:01] Production.INFO: ==2527== Releasing lock...
[2025-01-07 09:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:48:02] Production.INFO: ==2531== Lock acquired, processing the job...
[2025-01-07 09:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:48:02] Production.INFO: ==2531== Releasing lock...
[2025-01-07 09:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:48:02] Production.INFO: ==2529== Lock acquired, processing the job...
[2025-01-07 04:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:48:02] Production.INFO: ==2529== Releasing lock...
[2025-01-07 04:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:48:03] Production.INFO: ==2538== Lock acquired, processing the job...
[2025-01-07 04:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:48:03] Production.INFO: ==2542== Lock acquired, processing the job...
[2025-01-07 04:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:48:03] Production.INFO: ==2534== Lock acquired, processing the job...
[2025-01-07 04:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:48:03] Production.INFO: ==2536== Lock acquired, processing the job...
[2025-01-07 04:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:48:03] Production.INFO: ==2540== Lock acquired, processing the job...
[2025-01-07 04:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:48:03] Production.INFO: ==2544== Lock acquired, processing the job...
[2025-01-07 04:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:48:04] Production.INFO: Account Balance Start.
[2025-01-07 04:48:04] Production.INFO: CreateAllLog Start
[2025-01-07 04:48:04] Production.INFO: 117
[2025-01-07 04:48:04] Production.INFO: Date 2024-12-08
[2025-01-07 04:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:48:04] Production.ERROR: done
[2025-01-07 04:48:04] Production.INFO: Date 2024-12-09
[2025-01-07 04:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:48:04] Production.INFO: Date 2024-12-10
[2025-01-07 04:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 04:48:04] Production.INFO: Date 2024-12-11
[2025-01-07 04:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:48:04] Production.INFO: Date 2024-12-12
[2025-01-07 04:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:48:04] Production.INFO: Date 2024-12-13
[2025-01-07 04:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:48:04] Production.INFO: count ==21
[2025-01-07 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-07 04:48:04] Production.INFO: count ==21
[2025-01-07 04:48:04] Production.INFO: Date 2024-12-14
[2025-01-07 04:48:04] Production.ERROR: done
[2025-01-07 04:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:48:04] Production.INFO: Date 2024-12-15
[2025-01-07 04:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192553') start
[2025-01-07 04:48:04] Production.INFO: Date 2024-12-16
[2025-01-07 04:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:48:04] Production.INFO: ==2536== Releasing lock...
[2025-01-07 04:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:48:04] Production.INFO: Date 2024-12-17
[2025-01-07 04:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:48:04] Production.INFO: Date 2024-12-18
[2025-01-07 04:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192553') end
[2025-01-07 04:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:48:04] Production.INFO: 1
[2025-01-07 04:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:48:04] Production.INFO: Date 2024-12-19
[2025-01-07 04:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:48:04] Production.INFO: ==2544== Releasing lock...
[2025-01-07 04:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:48:04] Production.INFO: Date 2024-12-20
[2025-01-07 04:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:48:04] Production.INFO: Date 2024-12-21
[2025-01-07 04:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:48:04] Production.INFO: Date 2024-12-22
[2025-01-07 04:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:48:04] Production.INFO: Date 2024-12-23
[2025-01-07 04:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:48:04] Production.INFO: Date 2024-12-24
[2025-01-07 04:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:48:04] Production.INFO: Date 2024-12-25
[2025-01-07 04:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:48:04] Production.INFO: Date 2024-12-26
[2025-01-07 04:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:48:05] Production.INFO: Date 2024-12-27
[2025-01-07 04:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:48:05] Production.INFO: Date 2024-12-28
[2025-01-07 04:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:48:05] Production.INFO: Date 2024-12-29
[2025-01-07 04:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:48:05] Production.INFO: Date 2024-12-30
[2025-01-07 04:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:48:05] Production.INFO: Date 2024-12-31
[2025-01-07 04:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:48:05] Production.INFO: Date 2025-01-01
[2025-01-07 04:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:48:05] Production.INFO: Date 2025-01-02
[2025-01-07 04:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:48:05] Production.INFO: Date 2025-01-03
[2025-01-07 04:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:48:05] Production.INFO: Date 2025-01-04
[2025-01-07 04:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:48:05] Production.INFO: Date 2025-01-05
[2025-01-07 04:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:48:05] Production.INFO: Date 2025-01-06
[2025-01-07 04:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:48:05] Production.INFO: Date 2025-01-07
[2025-01-07 04:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:48:05] Production.INFO: Total Charge 0
[2025-01-07 04:48:05] Production.INFO: CreateAllLog End
[2025-01-07 04:48:05] Production.INFO: Account Balance End.
[2025-01-07 04:48:05] Production.ERROR: CronJobId end 12
[2025-01-07 04:48:05] Production.INFO: ==2540== Releasing lock...
[2025-01-07 04:48:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:48:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:48:05
[end_date_ymd] => 2025-01-07 04:48:05
[RateCDR] => 1
)
[2025-01-07 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-07 01:48:05' and `end` < '2025-01-07 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-07 04:48:10] Production.ERROR: CronJobId end10
[2025-01-07 04:48:10] Production.INFO: ==2538== Releasing lock...
[2025-01-07 04:48:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:48:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:48:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:48:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:48:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:48:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:48:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:48:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:48:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:48:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:48:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:48:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:48:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:48:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:48:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:48:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:48:13] Production.INFO: call_cost start
[2025-01-07 04:48:13] Production.INFO: call_cost end
[2025-01-07 04:48:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:48:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:48:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:48:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:48:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:48:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:48:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:48:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:48:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:48:13] Production.INFO: ==2534== Releasing lock...
[2025-01-07 04:48:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:48:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:48:21] Production.INFO: count ==127
[2025-01-07 04:48:21] Production.ERROR: pbx CDR StartTime 2025-01-07 01:48:05 - End Time 2025-01-07 04:48:05
[2025-01-07 04:48:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192554', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192554', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192554', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192554', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:48:21] Production.INFO: ProcessCDR(1,14192554,1,1,2)
[2025-01-07 04:48:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192554,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:48:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192554,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:48:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192554,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:48:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192554,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:48:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192554', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:48:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192554', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:48:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:48:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:48:24] Production.INFO: ==2542== Releasing lock...
[2025-01-07 04:48:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:48:24] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:49:02] Production.INFO: ==2599== Lock acquired, processing the job...
[2025-01-07 09:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:49:02] Production.INFO: neon service started
[2025-01-07 09:49:02] Production.INFO: neon service started
[2025-01-07 09:49:02] Production.INFO: ==2599== Releasing lock...
[2025-01-07 09:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:49:02] Production.INFO: ==2601== Lock acquired, processing the job...
[2025-01-07 04:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:49:02] Production.INFO: ==2603== Lock acquired, processing the job...
[2025-01-07 09:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:49:02] Production.INFO: ==2601== Releasing lock...
[2025-01-07 04:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:49:02] Production.INFO: ==2603== Releasing lock...
[2025-01-07 09:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:49:03] Production.INFO: ==2605== Lock acquired, processing the job...
[2025-01-07 04:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:49:03] Production.INFO: ==2611== Lock acquired, processing the job...
[2025-01-07 04:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:49:03] Production.INFO: ==2615== Lock acquired, processing the job...
[2025-01-07 04:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:49:03] Production.INFO: ==2607== Lock acquired, processing the job...
[2025-01-07 04:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:49:03] Production.INFO: Account Balance Start.
[2025-01-07 04:49:03] Production.INFO: CreateAllLog Start
[2025-01-07 04:49:03] Production.INFO: 117
[2025-01-07 04:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:49:03] Production.INFO: ==2609== Lock acquired, processing the job...
[2025-01-07 04:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:49:03] Production.INFO: Date 2024-12-08
[2025-01-07 04:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:49:03] Production.INFO: count ==21
[2025-01-07 04:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:49:03] Production.INFO: Date 2024-12-09
[2025-01-07 04:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:49:03] Production.INFO: count ==21
[2025-01-07 04:49:03] Production.INFO: ==2613== Lock acquired, processing the job...
[2025-01-07 04:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:49:04] Production.INFO: Date 2024-12-10
[2025-01-07 04:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192557') start
[2025-01-07 04:49:04] Production.INFO: Date 2024-12-11
[2025-01-07 04:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:49:04] Production.INFO: Date 2024-12-12
[2025-01-07 04:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:49:04] Production.INFO: Date 2024-12-13
[2025-01-07 04:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192557') end
[2025-01-07 04:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:49:04] Production.INFO: 1
[2025-01-07 04:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:49:04] Production.INFO: Date 2024-12-14
[2025-01-07 04:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:49:04] Production.INFO: Date 2024-12-15
[2025-01-07 04:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:49:04] Production.INFO: ==2615== Releasing lock...
[2025-01-07 04:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:49:04] Production.INFO: Date 2024-12-16
[2025-01-07 04:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:49:04] Production.ERROR: done
[2025-01-07 04:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:49:04] Production.INFO: Date 2024-12-17
[2025-01-07 04:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:49:04] Production.INFO: Date 2024-12-18
[2025-01-07 04:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:49:04] Production.INFO: Date 2024-12-19
[2025-01-07 04:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:49:04] Production.INFO: ==2607== Releasing lock...
[2025-01-07 04:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:49:04] Production.ERROR: done
[2025-01-07 04:49:04] Production.INFO: Date 2024-12-20
[2025-01-07 04:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:49:04] Production.INFO: Date 2024-12-21
[2025-01-07 04:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:49:04] Production.INFO: Date 2024-12-22
[2025-01-07 04:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:49:04] Production.INFO: Date 2024-12-23
[2025-01-07 04:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:49:04] Production.INFO: Date 2024-12-24
[2025-01-07 04:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:49:04] Production.INFO: Date 2024-12-25
[2025-01-07 04:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:49:04] Production.INFO: Date 2024-12-26
[2025-01-07 04:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:49:04] Production.INFO: Date 2024-12-27
[2025-01-07 04:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:49:04] Production.INFO: Date 2024-12-28
[2025-01-07 04:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:49:04] Production.INFO: Date 2024-12-29
[2025-01-07 04:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:49:04] Production.INFO: Date 2024-12-30
[2025-01-07 04:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:49:04] Production.INFO: Date 2024-12-31
[2025-01-07 04:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:49:04] Production.INFO: Date 2025-01-01
[2025-01-07 04:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:49:04] Production.INFO: Date 2025-01-02
[2025-01-07 04:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:49:05] Production.INFO: Date 2025-01-03
[2025-01-07 04:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:49:05] Production.INFO: Date 2025-01-04
[2025-01-07 04:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:49:05] Production.INFO: Date 2025-01-05
[2025-01-07 04:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:49:05] Production.INFO: Date 2025-01-06
[2025-01-07 04:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:49:05] Production.INFO: Date 2025-01-07
[2025-01-07 04:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:49:05] Production.INFO: Total Charge 0
[2025-01-07 04:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:49:05
[end_date_ymd] => 2025-01-07 04:49:05
[RateCDR] => 1
)
[2025-01-07 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-07 01:49:05' and `end` < '2025-01-07 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-07 04:49:05] Production.INFO: CreateAllLog End
[2025-01-07 04:49:05] Production.INFO: Account Balance End.
[2025-01-07 04:49:05] Production.ERROR: CronJobId end 12
[2025-01-07 04:49:05] Production.INFO: ==2611== Releasing lock...
[2025-01-07 04:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:49:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:49:12] Production.ERROR: CronJobId end10
[2025-01-07 04:49:12] Production.INFO: ==2609== Releasing lock...
[2025-01-07 04:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:49:14] Production.INFO: call_cost start
[2025-01-07 04:49:14] Production.INFO: call_cost end
[2025-01-07 04:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:49:14] Production.INFO: ==2605== Releasing lock...
[2025-01-07 04:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:49:20] Production.INFO: count ==123
[2025-01-07 04:49:20] Production.ERROR: pbx CDR StartTime 2025-01-07 01:49:05 - End Time 2025-01-07 04:49:05
[2025-01-07 04:49:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192559', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192559', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192559', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192559', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:49:20] Production.INFO: ProcessCDR(1,14192559,1,1,2)
[2025-01-07 04:49:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192559,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:49:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192559,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:49:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192559,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:49:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192559,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192559', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192559', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:49:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:49:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:49:23] Production.INFO: ==2613== Releasing lock...
[2025-01-07 04:49:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:49:23] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:50:01] Production.INFO: ==2673== Lock acquired, processing the job...
[2025-01-07 09:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:50:01] Production.INFO: neon service started
[2025-01-07 09:50:01] Production.INFO: neon service started
[2025-01-07 09:50:01] Production.INFO: ==2673== Releasing lock...
[2025-01-07 09:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:50:02] Production.INFO: ==2675== Lock acquired, processing the job...
[2025-01-07 04:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:50:02] Production.INFO: ==2677== Lock acquired, processing the job...
[2025-01-07 09:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 04:50:02] Production.INFO: ==2675== Releasing lock...
[2025-01-07 04:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:50:02] Production.INFO: ==2677== Releasing lock...
[2025-01-07 09:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:50:03] Production.INFO: ==2685== Lock acquired, processing the job...
[2025-01-07 04:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:50:03] Production.INFO: ==2692== Lock acquired, processing the job...
[2025-01-07 04:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:50:03] Production.INFO: ==2694== Lock acquired, processing the job...
[2025-01-07 04:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:50:03] Production.INFO: Account Balance Start.
[2025-01-07 04:50:03] Production.INFO: CreateAllLog Start
[2025-01-07 04:50:03] Production.INFO: 117
[2025-01-07 04:50:03] Production.INFO: Date 2024-12-08
[2025-01-07 04:50:03] Production.INFO: ==2681== Lock acquired, processing the job...
[2025-01-07 04:50:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10421 #Starts#
[2025-01-07 04:50:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:50:03] Production.INFO: -- Xero Api Check --
[2025-01-07 04:50:03] Production.INFO: Date 2024-12-09
[2025-01-07 04:50:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:50:03] Production.INFO: ==2683== Lock acquired, processing the job...
[2025-01-07 04:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 04:50:03] Production.INFO: Date 2024-12-10
[2025-01-07 04:50:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:50:03] Production.INFO: Date 2024-12-11
[2025-01-07 04:50:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:50:03] Production.INFO: ==2688== Lock acquired, processing the job...
[2025-01-07 04:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 04:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 04:50:03] Production.ERROR: CronJob PID - 2685
[2025-01-07 04:50:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-07 04:50:03] Production.ERROR: CronJob ID - 5
[2025-01-07 04:50:03] Production.ERROR: CronJob Last Run Time 2025-01-07 04:50:00
[2025-01-07 04:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 04:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 04:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 04:50:03] Production.ERROR: CronJob PID - 2692
[2025-01-07 04:50:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-07 04:50:03] Production.ERROR: CronJob ID - 12
[2025-01-07 04:50:03] Production.ERROR: CronJob Last Run Time 2025-01-07 04:50:00
[2025-01-07 04:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 04:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 04:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 04:50:03] Production.ERROR: CronJob PID - 2694
[2025-01-07 04:50:03] Production.INFO: Date 2024-12-12
[2025-01-07 04:50:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-07 04:50:03] Production.ERROR: CronJob ID - 16
[2025-01-07 04:50:03] Production.ERROR: CronJob Last Run Time 2025-01-07 04:50:00
[2025-01-07 04:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 04:50:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 04:50:04] Production.ERROR: done
[2025-01-07 04:50:04] Production.INFO: ==2690== Lock acquired, processing the job...
[2025-01-07 04:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:50:04] Production.INFO: Date 2024-12-13
[2025-01-07 04:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:50:04] Production.INFO: Date 2024-12-14
[2025-01-07 04:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:50:04] Production.INFO: ==2698== Lock acquired, processing the job...
[2025-01-07 04:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:50:04] Production.INFO: ==2696== Lock acquired, processing the job...
[2025-01-07 04:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 04:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:50:04] Production.INFO: Date 2024-12-15
[2025-01-07 04:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 04:50:04] Production.INFO: ==2683== Releasing lock...
[2025-01-07 04:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 04:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 04:50:04] Production.ERROR: done
[2025-01-07 04:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:50:04] Production.INFO: Date 2024-12-16
[2025-01-07 04:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 04:50:04] Production.INFO: Date 2024-12-17
[2025-01-07 04:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:50:04] Production.INFO: count ==21
[2025-01-07 04:50:04] Production.INFO: Date 2024-12-18
[2025-01-07 04:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 04:50:04] Production.INFO: count ==21
[2025-01-07 04:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192563') start
[2025-01-07 04:50:04] Production.INFO: Date 2024-12-19
[2025-01-07 04:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:50:04] Production.INFO: Date 2024-12-20
[2025-01-07 04:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:50: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.596725
[namelookup_time] => 0.143699
[connect_time] => 0.154165
[pretransfer_time] => 0.523284
[size_upload] => 82
[size_download] => 2755
[speed_download] => 4616
[speed_upload] => 137
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.596689
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.33
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 39660
)
[2025-01-07 04:50:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDM0MDQsImV4cCI6MTczNjI0MzcwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQzNDA0LCJhdF9oYXNoIjoiRWtMZk94eWNBbUxHVU96TDZpLWtTQSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.GVT8wxjT-nglEyhr1q0jkLfk9W_5Qxm2NPT6G7UJuhqBxaN1Z4YNVSMgm4pZ3IoR6F5FecahqjCe_lyr3hRgyZ6hVwGqbSWfB6q71yJ_olmUwuyG-StKoZ88Gi5l4B1eUAINTaLlOUy77YYd-9jLjg377iVEXlj-zjnWdJP1zjO7wFC5hcpqRc1--T6lGqFpK-S4kU64QAMMckSYutUGW1Vusj9NzkEYfzsFT0jhIXGRy6SgIzS3YA12COaob_6b8CKRbyXJAKrGffIwR6jHtH1vBIB1SzzlwkPcmZ0QA4AkCdBy29BMLUeeONzRGY78Cgq9ohT3vqnhJawAQj55hg
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDM0MDQsImV4cCI6MTczNjI0NTIwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.TCkdgVTBW0vU6JSgvsDlE-WNTyUAs4MYcGszfaRfWkOKG_O1LDybyQOHRb5wMWLV1bCM2Q9GfQUiYP4pTo36s8tcYP9xz8x3LoA2ydF6dd30u7_lFeWpMfCwFDTJJaDyleHNQzFlSFwrIDAA6Ink7_LB7Nt264FCiT5zQJfXKCrty8NdWIgOCj2KIczi_sohv5DfuymfsppIMx5VBV_B4naiu0yHdoz3_7esLHw83k2XR2t9ITYu28nFreIXOM3b0r8WnLkiVmGUUdM-i45ed4Ow25WIPcbT4flkRKgvt9TVrpWmxHaMsF0vmhWEUlcj85W4Ub4PpzkopupsNTzwiQ
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => 3cUC0cXmybrI7geJrULc_3X2dyY_E2YmCSzfhCr3mZU
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 04:50:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDM0MDQsImV4cCI6MTczNjI0MzcwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQzNDA0LCJhdF9oYXNoIjoiRWtMZk94eWNBbUxHVU96TDZpLWtTQSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.GVT8wxjT-nglEyhr1q0jkLfk9W_5Qxm2NPT6G7UJuhqBxaN1Z4YNVSMgm4pZ3IoR6F5FecahqjCe_lyr3hRgyZ6hVwGqbSWfB6q71yJ_olmUwuyG-StKoZ88Gi5l4B1eUAINTaLlOUy77YYd-9jLjg377iVEXlj-zjnWdJP1zjO7wFC5hcpqRc1--T6lGqFpK-S4kU64QAMMckSYutUGW1Vusj9NzkEYfzsFT0jhIXGRy6SgIzS3YA12COaob_6b8CKRbyXJAKrGffIwR6jHtH1vBIB1SzzlwkPcmZ0QA4AkCdBy29BMLUeeONzRGY78Cgq9ohT3vqnhJawAQj55hg
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDM0MDQsImV4cCI6MTczNjI0NTIwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.TCkdgVTBW0vU6JSgvsDlE-WNTyUAs4MYcGszfaRfWkOKG_O1LDybyQOHRb5wMWLV1bCM2Q9GfQUiYP4pTo36s8tcYP9xz8x3LoA2ydF6dd30u7_lFeWpMfCwFDTJJaDyleHNQzFlSFwrIDAA6Ink7_LB7Nt264FCiT5zQJfXKCrty8NdWIgOCj2KIczi_sohv5DfuymfsppIMx5VBV_B4naiu0yHdoz3_7esLHw83k2XR2t9ITYu28nFreIXOM3b0r8WnLkiVmGUUdM-i45ed4Ow25WIPcbT4flkRKgvt9TVrpWmxHaMsF0vmhWEUlcj85W4Ub4PpzkopupsNTzwiQ
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => 3cUC0cXmybrI7geJrULc_3X2dyY_E2YmCSzfhCr3mZU
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 04:50:04] Production.INFO: Date 2024-12-21
[2025-01-07 04:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:50:04] Production.INFO: ==2688== Releasing lock...
[2025-01-07 04:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:50:04] Production.INFO: Date 2024-12-22
[2025-01-07 04:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:50:04] Production.INFO: AccountID 195
[2025-01-07 04:50:04] Production.INFO: AccountName TSFV Management Corp (Two Small Fish)
[2025-01-07 04:50:04] Production.INFO: Checkcustomer
[2025-01-07 04:50:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="TSFV%20Management%20Corp%20%28Two%20Small%20Fish%29"
[2025-01-07 04:50:04] Production.INFO: Date 2024-12-23
[2025-01-07 04:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192563') end
[2025-01-07 04:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:50:04] Production.INFO: 1
[2025-01-07 04:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:50:04] Production.INFO: ==2698== Releasing lock...
[2025-01-07 04:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:50:04] Production.INFO: Date 2024-12-24
[2025-01-07 04:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:50:04] Production.ERROR: done
[2025-01-07 04:50:04] Production.INFO: Date 2024-12-25
[2025-01-07 04:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 04:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14192565', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 04:50:04] Production.INFO: Date 2024-12-26
[2025-01-07 04:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:50:05] Production.INFO: Date 2024-12-27
[2025-01-07 04:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:50:05] Production.INFO: Date 2024-12-28
[2025-01-07 04:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:50:05] Production.INFO: Date 2024-12-29
[2025-01-07 04:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:50:05] Production.INFO: Date 2024-12-30
[2025-01-07 04:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:50:05] Production.INFO: Date 2024-12-31
[2025-01-07 04:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:50:05] Production.INFO: Date 2025-01-01
[2025-01-07 04:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:50:05] Production.INFO: Date 2025-01-02
[2025-01-07 04:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:50:05] Production.INFO: Date 2025-01-03
[2025-01-07 04:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:50:05] Production.INFO: Date 2025-01-04
[2025-01-07 04:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:50:05] Production.INFO: Date 2025-01-05
[2025-01-07 04:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:50:05] Production.INFO: Date 2025-01-06
[2025-01-07 04:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:50:05] Production.INFO: Date 2025-01-07
[2025-01-07 04:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:50:05] Production.INFO: Total Charge 0
[2025-01-07 04:50:05] Production.INFO: CreateAllLog End
[2025-01-07 04:50:05] Production.INFO: Account Balance End.
[2025-01-07 04:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:50:05
[end_date_ymd] => 2025-01-07 04:50:05
[RateCDR] => 1
)
[2025-01-07 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-07 01:50:05' and `end` < '2025-01-07 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-07 04:50:05] Production.ERROR: CronJobId end 12
[2025-01-07 04:50:05] Production.INFO: ==2692== Releasing lock...
[2025-01-07 04:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:50:07] Production.INFO: Contact id print CheckCustomer Case===9833b5c4-71b1-4ca5-9307-986f727c9b62
[2025-01-07 04:50:07] Production.INFO: -- count --1
[2025-01-07 04:50:07] Production.INFO: AccountID 90
[2025-01-07 04:50:07] Production.INFO: AccountName Terry Anderson
[2025-01-07 04:50:07] Production.INFO: Checkcustomer
[2025-01-07 04:50:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Terry%20Anderson"
[2025-01-07 04:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14192565', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 04:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 04:50:08] Production.INFO: ProcessCDR(1,14192565,1,1,2)
[2025-01-07 04:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14192565,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14192565,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:50:08] Production.INFO: ==2696== Releasing lock...
[2025-01-07 04:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 04:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-07 04:50:09] Production.INFO: Contact id print CheckCustomer Case===d5be271f-e649-44ed-a97e-8af24111fe24
[2025-01-07 04:50:09] Production.INFO: -- count --1
[2025-01-07 04:50:09] Production.INFO: AccountID 45
[2025-01-07 04:50:09] Production.INFO: AccountName Metro Toronto Collision Centre
[2025-01-07 04:50:09] Production.INFO: Checkcustomer
[2025-01-07 04:50:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Metro%20Toronto%20Collision%20Centre"
[2025-01-07 04:50:12] Production.INFO: Contact id print CheckCustomer Case===639507fe-3c02-40f6-89b2-b3a1c40bc965
[2025-01-07 04:50:12] Production.INFO: -- count --1
[2025-01-07 04:50:12] Production.INFO: AccountID 99
[2025-01-07 04:50:12] Production.INFO: AccountName LevLending
[2025-01-07 04:50:12] Production.INFO: Checkcustomer
[2025-01-07 04:50:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="LevLending"
[2025-01-07 04:50:12] Production.ERROR: CronJobId end10
[2025-01-07 04:50:12] Production.INFO: ==2690== Releasing lock...
[2025-01-07 04:50:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:50:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:50:14] Production.INFO: Contact id print CheckCustomer Case===0c3388d2-858d-4ab0-82a5-823938ebfea0
[2025-01-07 04:50:14] Production.INFO: -- count --1
[2025-01-07 04:50:14] Production.INFO: AccountID 53
[2025-01-07 04:50:14] Production.INFO: AccountName Plus Travel Group
[2025-01-07 04:50:14] Production.INFO: Checkcustomer
[2025-01-07 04:50:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plus%20Travel%20Group"
[2025-01-07 04:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:50:15] Production.INFO: call_cost start
[2025-01-07 04:50:15] Production.INFO: call_cost end
[2025-01-07 04:50:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:50:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:50:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:50:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:50:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:50:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:50:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:50:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:50:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:50:15] Production.INFO: ==2685== Releasing lock...
[2025-01-07 04:50:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:50:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:50:16] Production.INFO: Contact id print CheckCustomer Case===5f6b39a6-c5bb-485f-9fdd-a6c7a1eccc47
[2025-01-07 04:50:16] Production.INFO: -- count --1
[2025-01-07 04:50:16] Production.INFO: -- Xero Add Inovice --
[2025-01-07 04:50:16] Production.INFO: CheckInvoice xerov2: INV11314
[2025-01-07 04:50:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11314
[2025-01-07 04:50:19] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 04:50:19] Production.INFO: Invoice SubTotal 1.750000
[2025-01-07 04:50:19] Production.INFO: Invoice DetTotal 1.75
[2025-01-07 04:50:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="TSFV%20Management%20Corp%20%28Two%20Small%20Fish%29"
[2025-01-07 04:50:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 04:50:23] Production.INFO: count ==111
[2025-01-07 04:50:23] Production.ERROR: pbx CDR StartTime 2025-01-07 01:50:05 - End Time 2025-01-07 04:50:05
[2025-01-07 04:50:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:50:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192564', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:50:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192564', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:50:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192564', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:50:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192564', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:50:23] Production.INFO: ProcessCDR(1,14192564,1,1,2)
[2025-01-07 04:50:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192564,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:50:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192564,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:50:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192564,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:50:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 04:50:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192564,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:50:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192564', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:50:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192564', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:50:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:50:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:50:26] Production.INFO: ==2694== Releasing lock...
[2025-01-07 04:50:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:50:26] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:50:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 04:50:31] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "License for a VM-only line",Quantity : 1,UnitAmount : 1.750000,LineAmount : 1.750000}
[2025-01-07 04:50:33] Production.INFO: ==== result =====
[2025-01-07 04:50:33] Production.INFO: {
"Id": "fcabd357-b3c2-458c-a3c1-7558149965a4",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736243433897)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "1ea78e30-1a4f-4d17-a7af-2ede44d6b544",
"InvoiceNumber": "INV11314",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 1.98,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"IsDiscounted": false,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "9833b5c4-71b1-4ca5-9307-986f727c9b62",
"ContactStatus": "ACTIVE",
"Name": "TSFV Management Corp (Two Small Fish)",
"FirstName": "Nazia",
"LastName": "Khan",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1682945569710+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2025-01-05T00:00:00",
"Date": "\/Date(1736035200000+0000)\/",
"DueDateString": "2025-02-04T00:00:00",
"DueDate": "\/Date(1738627200000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "License for a VM-only line",
"UnitAmount": 1.75,
"TaxType": "TAX020",
"TaxAmount": 0.23,
"LineAmount": 1.75,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "317de27e-15d1-4cdb-971c-6fe9069aa5b2",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
}
],
"SubTotal": 1.75,
"TotalTax": 0.23,
"Total": 1.98,
"UpdatedDateUTC": "\/Date(1736243433727+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 04:50:33] Production.INFO: -- Create Invoice id --1ea78e30-1a4f-4d17-a7af-2ede44d6b544
[2025-01-07 04:50:33] Production.INFO: -- Create Invoice Done --
[2025-01-07 04:50:33] Production.INFO: CheckInvoice xerov2: INV11306
[2025-01-07 04:50:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11306
[2025-01-07 04:50:36] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 04:50:36] Production.INFO: Invoice SubTotal 3.000000
[2025-01-07 04:50:36] Production.INFO: Invoice DetTotal 3
[2025-01-07 04:50:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Terry%20Anderson"
[2025-01-07 04:50:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 04:50:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 04:50:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 04:50:47] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 1,UnitAmount : 10.000000,LineAmount : 10.000000},{taxType:"TAX020",AccountCode : 303,"Description": "The "You're Overcharging Me" Discount",Quantity : 1,UnitAmount : -7.000000,LineAmount : -7.000000}
[2025-01-07 04:50:49] Production.INFO: ==== result =====
[2025-01-07 04:50:49] Production.INFO: {
"ErrorNumber": 14,
"Type": "PostDataInvalidException",
"Message": "Invalid Json data"
}
[2025-01-07 04:50:49] Production.ERROR: exception 'ErrorException' with message 'Undefined property: stdClass::$Invoices' in /var/www/html/onswitch.neon.service/app/lib/XeroV2.php:0
Stack trace:
#0 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined prope...', '/var/www/html/o...', 0, Array)
#1 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->CreateInvoice()
#2 /var/www/html/onswitch.neon.service/app/Console/Commands/XeroInvoicePostV2.php(0): App\Lib\XeroV2->addInvoices()
#3 [internal function]: App\Console\Commands\XeroInvoicePostV2->fire()
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#6 /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))
#7 /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))
#8 /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))
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\XeroInvoicePostV2), 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(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /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))
#12 /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))
#13 {main}
[2025-01-07 04:50:49] Production.INFO: -- Create Invoice Error --Undefined property: stdClass::$Invoices
[2025-01-07 04:50:49] Production.INFO: -- Create Invoice Error --
[2025-01-07 04:50:49] Production.INFO: -- Create Invoice Done --
[2025-01-07 04:50:49] Production.INFO: CheckInvoice xerov2: INV11303
[2025-01-07 04:50:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11303
[2025-01-07 04:50:51] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 04:50:51] Production.INFO: Invoice SubTotal 33.560000
[2025-01-07 04:50:51] Production.INFO: Invoice DetTotal 33.56
[2025-01-07 04:50:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Metro%20Toronto%20Collision%20Centre"
[2025-01-07 04:50:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 04:50:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 04:50:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 04:51:01] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 12-03-2024 To 01-02-2025",Quantity : 1,UnitAmount : 3.060000,LineAmount : 3.060000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 4,UnitAmount : 7.000000,LineAmount : 28.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (16475609483 - 19 VANLEY CRES NORTH YORK, ON M3J2B7)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 09:51:02] Production.INFO: ==2772== Lock acquired, processing the job...
[2025-01-07 09:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:51:02] Production.INFO: neon service started
[2025-01-07 09:51:02] Production.INFO: neon service started
[2025-01-07 09:51:02] Production.INFO: ==2772== Releasing lock...
[2025-01-07 09:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:51:02] Production.INFO: ==2776== Lock acquired, processing the job...
[2025-01-07 09:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:51:02] Production.INFO: ==2776== Releasing lock...
[2025-01-07 09:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:51:02] Production.INFO: ==2774== Lock acquired, processing the job...
[2025-01-07 04:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:51:02] Production.INFO: ==2774== Releasing lock...
[2025-01-07 04:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:51:03] Production.INFO: ==2786== Lock acquired, processing the job...
[2025-01-07 04:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:51:03] Production.INFO: ==2784== Lock acquired, processing the job...
[2025-01-07 04:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:51:03] Production.INFO: ==2778== Lock acquired, processing the job...
[2025-01-07 04:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:51:03] Production.INFO: Account Balance Start.
[2025-01-07 04:51:03] Production.INFO: CreateAllLog Start
[2025-01-07 04:51:03] Production.INFO: 117
[2025-01-07 04:51:03] Production.INFO: Date 2024-12-08
[2025-01-07 04:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:51:03] Production.INFO: ==== result =====
[2025-01-07 04:51:03] Production.INFO: {
"Id": "7501f00a-dbf9-44dd-81ce-d897d484f7bf",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736243463817)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "96568b3c-8e66-46ad-b4f0-b35dc5d44543",
"InvoiceNumber": "INV11303",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 37.93,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "639507fe-3c02-40f6-89b2-b3a1c40bc965",
"ContactStatus": "ACTIVE",
"Name": "Metro Toronto Collision Centre",
"FirstName": "Avi",
"LastName": "",
"EmailAddress": "mtccinc@gmail.com",
"BankAccountDetails": "",
"TaxNumber": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"AddressLine1": "19 Vanley Cres.",
"AddressLine2": "",
"AddressLine3": "",
"AddressLine4": "",
"City": "North York",
"Region": "ON",
"PostalCode": "M3J 2B7",
"Country": "Canada",
"AttentionTo": "Avi"
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "(416) 4761593",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "4164761593",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1562268200550+0000)\/",
"ContactGroups": [
{
"ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58",
"Name": "Benjamin's Customers",
"Status": "ACTIVE",
"Contacts": [],
"HasValidationErrors": false
}
],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2025-01-03T00:00:00",
"Date": "\/Date(1735862400000+0000)\/",
"DueDateString": "2025-02-02T00:00:00",
"DueDate": "\/Date(1738454400000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "From 12-03-2024 To 01-02-2025",
"UnitAmount": 3.06,
"TaxType": "TAX020",
"TaxAmount": 0.40,
"LineAmount": 3.06,
"AccountCode": "234",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "b9f77fe2-5c88-4d77-b1fe-e7b7669eaf1b",
"AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "License for a Pay As You Go Cloud Phone extension",
"UnitAmount": 7.00,
"TaxType": "TAX020",
"TaxAmount": 3.64,
"LineAmount": 28.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 4.0000,
"DiscountRate": 0.00,
"LineItemID": "c628ac05-ca47-42aa-b243-ddf2f56864d9",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (16475609483 - 19 VANLEY CRES NORTH YORK, ON M3J2B7)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "22830a27-85fc-4cb9-9dbe-31064f656854",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 33.56,
"TotalTax": 4.37,
"Total": 37.93,
"UpdatedDateUTC": "\/Date(1736243463707+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 04:51:03] Production.INFO: ==2782== Lock acquired, processing the job...
[2025-01-07 04:51:03] Production.INFO: ==2780== Lock acquired, processing the job...
[2025-01-07 04:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:51:03] Production.INFO: -- Create Invoice id --96568b3c-8e66-46ad-b4f0-b35dc5d44543
[2025-01-07 04:51:03] Production.INFO: -- Create Invoice Done --
[2025-01-07 04:51:03] Production.INFO: Date 2024-12-09
[2025-01-07 04:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:51:03] Production.INFO: CheckInvoice xerov2: INV11301
[2025-01-07 04:51:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11301
[2025-01-07 04:51:03] Production.INFO: ==2788== Lock acquired, processing the job...
[2025-01-07 04:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:51:03] Production.INFO: Date 2024-12-10
[2025-01-07 04:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:51:03] Production.INFO: Date 2024-12-11
[2025-01-07 04:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:51:04] Production.INFO: Date 2024-12-12
[2025-01-07 04:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:51:04] Production.INFO: Date 2024-12-13
[2025-01-07 04:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:51:04] Production.INFO: Date 2024-12-14
[2025-01-07 04:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:51:04] Production.ERROR: done
[2025-01-07 04:51:04] Production.INFO: Date 2024-12-15
[2025-01-07 04:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 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-07 04:51:04] Production.INFO: Date 2024-12-16
[2025-01-07 04:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:51:04] Production.INFO: Date 2024-12-17
[2025-01-07 04:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:51:04] Production.INFO: count ==21
[2025-01-07 04:51:04] Production.INFO: ==2780== Releasing lock...
[2025-01-07 04:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 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-07 04:51:04] Production.INFO: Date 2024-12-18
[2025-01-07 04:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:51:04] Production.INFO: count ==21
[2025-01-07 04:51:04] Production.ERROR: done
[2025-01-07 04:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192569') start
[2025-01-07 04:51:04] Production.INFO: Date 2024-12-19
[2025-01-07 04:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:51:04] Production.INFO: Date 2024-12-20
[2025-01-07 04:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:51:04] Production.INFO: Date 2024-12-21
[2025-01-07 04:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:51:04] Production.INFO: Date 2024-12-22
[2025-01-07 04:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192569') end
[2025-01-07 04:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:51:04] Production.INFO: 1
[2025-01-07 04:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:51:04] Production.INFO: Date 2024-12-23
[2025-01-07 04:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:51:04] Production.INFO: Date 2024-12-24
[2025-01-07 04:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:51:04] Production.INFO: ==2788== Releasing lock...
[2025-01-07 04:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:51:04] Production.INFO: Date 2024-12-25
[2025-01-07 04:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:51:04] Production.INFO: Date 2024-12-26
[2025-01-07 04:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:51:04] Production.INFO: Date 2024-12-27
[2025-01-07 04:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:51:04] Production.INFO: Date 2024-12-28
[2025-01-07 04:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:51:04] Production.INFO: Date 2024-12-29
[2025-01-07 04:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:51:04] Production.INFO: Date 2024-12-30
[2025-01-07 04:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:51:04] Production.INFO: Date 2024-12-31
[2025-01-07 04:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:51:04] Production.INFO: Date 2025-01-01
[2025-01-07 04:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:51:04] Production.INFO: Date 2025-01-02
[2025-01-07 04:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:51:04] Production.INFO: Date 2025-01-03
[2025-01-07 04:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:51:04] Production.INFO: Date 2025-01-04
[2025-01-07 04:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:51:04] Production.INFO: Date 2025-01-05
[2025-01-07 04:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:51:04] Production.INFO: Date 2025-01-06
[2025-01-07 04:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:51:04] Production.INFO: Date 2025-01-07
[2025-01-07 04:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:51:04] Production.INFO: Total Charge 0
[2025-01-07 04:51:04] Production.INFO: CreateAllLog End
[2025-01-07 04:51:05] Production.INFO: Account Balance End.
[2025-01-07 04:51:05] Production.ERROR: CronJobId end 12
[2025-01-07 04:51:05] Production.INFO: ==2784== Releasing lock...
[2025-01-07 04:51:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:51:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:51:05
[end_date_ymd] => 2025-01-07 04:51:05
[RateCDR] => 1
)
[2025-01-07 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-07 01:51:05' and `end` < '2025-01-07 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-07 04:51:06] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 04:51:06] Production.INFO: Invoice SubTotal 77.500000
[2025-01-07 04:51:06] Production.INFO: Invoice DetTotal 77.5
[2025-01-07 04:51:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="LevLending"
[2025-01-07 04:51:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 04:51:10] Production.ERROR: CronJobId end10
[2025-01-07 04:51:10] Production.INFO: ==2782== Releasing lock...
[2025-01-07 04:51:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:51:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:51:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:51:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:51:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:51:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:51:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:51:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:51:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:51:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:51:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:51:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:51:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:51:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:51:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:51:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:51:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 04:51:12] Production.INFO: call_cost start
[2025-01-07 04:51:12] Production.INFO: call_cost end
[2025-01-07 04:51:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:51:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:51:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:51:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:51:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:51:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:51:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:51:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:51:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:51:13] Production.INFO: ==2778== Releasing lock...
[2025-01-07 04:51:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:51:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:51:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 04:51:17] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (9057608274 - 11 Buttermill Ave. Unit 2 Concord, ON L4K 3X5 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 04:51:20] Production.INFO: ==== result =====
[2025-01-07 04:51:20] Production.INFO: {
"Id": "94994a5e-682e-4573-b34c-4eeae40d84a2",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736243480040)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "d3de9964-bcd1-4aaf-afa6-42c6f0481d9d",
"InvoiceNumber": "INV11301",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 87.58,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "0c3388d2-858d-4ab0-82a5-823938ebfea0",
"ContactStatus": "ACTIVE",
"Name": "LevLending",
"FirstName": "Nick",
"LastName": "Levin",
"EmailAddress": "Nick-levin@hotmail.com",
"BankAccountDetails": "",
"TaxNumber": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"AddressLine1": "11 Buttermill Ave.",
"AddressLine2": "Unit 2",
"AddressLine3": "",
"AddressLine4": "",
"City": "Concord",
"Region": "ON",
"PostalCode": "L4K 3X5",
"Country": "Canada",
"AttentionTo": "Nick Levin"
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "4168288127",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "(416) 828-8127",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1542138669507+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2025-01-02T00:00:00",
"Date": "\/Date(1735776000000+0000)\/",
"DueDateString": "2025-02-01T00:00:00",
"DueDate": "\/Date(1738368000000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "f10ecc98-2465-4e0b-b588-e934f740b5ce",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (9057608274 - 11 Buttermill Ave. Unit 2 Concord, ON L4K 3X5 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "d5f159e3-7142-4adc-8044-5ce576825b99",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 77.50,
"TotalTax": 10.08,
"Total": 87.58,
"UpdatedDateUTC": "\/Date(1736243479930+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 04:51:20] Production.INFO: -- Create Invoice id --d3de9964-bcd1-4aaf-afa6-42c6f0481d9d
[2025-01-07 04:51:20] Production.INFO: -- Create Invoice Done --
[2025-01-07 04:51:20] Production.INFO: CheckInvoice xerov2: INV50007
[2025-01-07 04:51:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV50007
[2025-01-07 04:51:22] Production.INFO: count ==104
[2025-01-07 04:51:22] Production.ERROR: pbx CDR StartTime 2025-01-07 01:51:05 - End Time 2025-01-07 04:51:05
[2025-01-07 04:51:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:51:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192570', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:51:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192570', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:51:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192570', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:51:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192570', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:51:22] Production.INFO: ProcessCDR(1,14192570,1,1,2)
[2025-01-07 04:51:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192570,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:51:23] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 04:51:23] Production.INFO: ========================== Exception occured =============================
[2025-01-07 04:51:23] Production.ERROR: exception 'ErrorException' with message 'Undefined offset: 80' in /var/www/html/onswitch.neon.service/app/lib/XeroV2.php:0
Stack trace:
#0 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined offse...', '/var/www/html/o...', 0, Array)
#1 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->GetInvoiceData()
#2 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->CreateInvoice()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/XeroInvoicePostV2.php(0): App\Lib\XeroV2->addInvoices()
#4 [internal function]: App\Console\Commands\XeroInvoicePostV2->fire()
#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\XeroInvoicePostV2), 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-07 04:51:23] Production.INFO: ========================== Exception updated in job and email sent =============================
[2025-01-07 04:51:23] Production.INFO: ==2681== Releasing lock...
[2025-01-07 04:51:23] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10421 #Stops#
[2025-01-07 04:51:23] Production.INFO: 32.25 MB #Memory Used#
[2025-01-07 04:51:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192570,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:51:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192570,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:51:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192570,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:51:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192570', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:51:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192570', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:51:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:51:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:51:25] Production.INFO: ==2786== Releasing lock...
[2025-01-07 04:51:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:51:25] Production.INFO: 28 MB #Memory Used#
[2025-01-07 09:52:01] Production.INFO: ==2850== Lock acquired, processing the job...
[2025-01-07 09:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:52:01] Production.INFO: neon service started
[2025-01-07 09:52:01] Production.INFO: neon service started
[2025-01-07 09:52:01] Production.INFO: ==2850== Releasing lock...
[2025-01-07 09:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:52:01] Production.INFO: ==2852== Lock acquired, processing the job...
[2025-01-07 04:52:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:52:02] Production.INFO: ==2852== Releasing lock...
[2025-01-07 04:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:52:02] Production.INFO: ==2854== Lock acquired, processing the job...
[2025-01-07 09:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:52:02] Production.INFO: ==2854== Releasing lock...
[2025-01-07 09:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:52:02] Production.INFO: ==2857== Lock acquired, processing the job...
[2025-01-07 04:52:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:52:03] Production.INFO: ==2859== Lock acquired, processing the job...
[2025-01-07 04:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:52:03] Production.INFO: ==2861== Lock acquired, processing the job...
[2025-01-07 04:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:52:03] Production.INFO: ==2863== Lock acquired, processing the job...
[2025-01-07 04:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:52:03] Production.INFO: Account Balance Start.
[2025-01-07 04:52:03] Production.INFO: CreateAllLog Start
[2025-01-07 04:52:03] Production.INFO: 117
[2025-01-07 04:52:03] Production.INFO: ==2859== Releasing lock...
[2025-01-07 04:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:52:03] Production.INFO: Date 2024-12-08
[2025-01-07 04:52:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:52:03] Production.INFO: Date 2024-12-09
[2025-01-07 04:52:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:52:03] Production.INFO: Date 2024-12-10
[2025-01-07 04:52:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:52:03] Production.INFO: Date 2024-12-11
[2025-01-07 04:52:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:52:03] Production.INFO: ==2865== Lock acquired, processing the job...
[2025-01-07 04:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:52:03] Production.INFO: Date 2024-12-12
[2025-01-07 04:52:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:52:03] Production.INFO: Date 2024-12-13
[2025-01-07 04:52:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:52:03] Production.INFO: Date 2024-12-14
[2025-01-07 04:52:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:52:03] Production.INFO: ==2867== Lock acquired, processing the job...
[2025-01-07 04:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:52:03] Production.INFO: Date 2024-12-15
[2025-01-07 04:52:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:52:03] Production.INFO: Date 2024-12-16
[2025-01-07 04:52:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:52:03] Production.INFO: Date 2024-12-17
[2025-01-07 04:52:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:52:03] Production.INFO: Date 2024-12-18
[2025-01-07 04:52:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:52:03] Production.INFO: Date 2024-12-19
[2025-01-07 04:52:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 04:52:03] Production.INFO: count ==21
[2025-01-07 04:52:03] Production.ERROR: done
[2025-01-07 04:52:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:52:03] Production.INFO: Date 2024-12-20
[2025-01-07 04:52:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 04:52:03] Production.INFO: count ==21
[2025-01-07 04:52:03] Production.INFO: Date 2024-12-21
[2025-01-07 04:52:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:52:03] Production.INFO: Date 2024-12-22
[2025-01-07 04:52:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192574') start
[2025-01-07 04:52:03] Production.INFO: Date 2024-12-23
[2025-01-07 04:52:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:52:04] Production.ERROR: done
[2025-01-07 04:52:04] Production.INFO: Date 2024-12-24
[2025-01-07 04:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192574') end
[2025-01-07 04:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:52:04] Production.INFO: 1
[2025-01-07 04:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:52:04] Production.INFO: Date 2024-12-25
[2025-01-07 04:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:52:04] Production.INFO: Date 2024-12-26
[2025-01-07 04:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:52:04] Production.INFO: Date 2024-12-27
[2025-01-07 04:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:52:04] Production.INFO: Date 2024-12-28
[2025-01-07 04:52:04] Production.INFO: ==2867== Releasing lock...
[2025-01-07 04:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:52:04] Production.INFO: Date 2024-12-29
[2025-01-07 04:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:52:04] Production.INFO: Date 2024-12-30
[2025-01-07 04:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:52:04] Production.INFO: Date 2024-12-31
[2025-01-07 04:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:52:04] Production.INFO: Date 2025-01-01
[2025-01-07 04:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:52:04] Production.INFO: Date 2025-01-02
[2025-01-07 04:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:52:04] Production.INFO: Date 2025-01-03
[2025-01-07 04:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:52:04] Production.INFO: Date 2025-01-04
[2025-01-07 04:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:52:04] Production.INFO: Date 2025-01-05
[2025-01-07 04:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:52:04] Production.INFO: Date 2025-01-06
[2025-01-07 04:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:52:04] Production.INFO: Date 2025-01-07
[2025-01-07 04:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:52:04] Production.INFO: Total Charge 0
[2025-01-07 04:52:04] Production.INFO: CreateAllLog End
[2025-01-07 04:52:04] Production.INFO: Account Balance End.
[2025-01-07 04:52:05] Production.ERROR: CronJobId end 12
[2025-01-07 04:52:05] Production.INFO: ==2863== Releasing lock...
[2025-01-07 04:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:52:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:52:05
[end_date_ymd] => 2025-01-07 04:52:05
[RateCDR] => 1
)
[2025-01-07 04:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 01:52:05' and `end` < '2025-01-07 04:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 04:52:11] Production.ERROR: CronJobId end10
[2025-01-07 04:52:11] Production.INFO: ==2861== Releasing lock...
[2025-01-07 04:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:52:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:52:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:52:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:52:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:52:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:52:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:52:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:52:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:52:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:52:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:52:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:52:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:52:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:52:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:52:13] Production.INFO: call_cost start
[2025-01-07 04:52:13] Production.INFO: call_cost end
[2025-01-07 04:52:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:52:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:52:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:52:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:52:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:52:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:52:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:52:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:52:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:52:13] Production.INFO: ==2857== Releasing lock...
[2025-01-07 04:52:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:52:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:52:22] Production.INFO: count ==104
[2025-01-07 04:52:22] Production.ERROR: pbx CDR StartTime 2025-01-07 01:52:05 - End Time 2025-01-07 04:52:05
[2025-01-07 04:52:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:52:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192575', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:52:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192575', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:52:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192575', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:52:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192575', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:52:22] Production.INFO: ProcessCDR(1,14192575,1,1,2)
[2025-01-07 04:52:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192575,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:52:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192575,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:52:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192575,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:52:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192575,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:52:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192575', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:52:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192575', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:52:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:52:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:52:25] Production.INFO: ==2865== Releasing lock...
[2025-01-07 04:52:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:52:25] Production.INFO: 28 MB #Memory Used#
[2025-01-07 09:53:01] Production.INFO: ==2920== Lock acquired, processing the job...
[2025-01-07 09:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:53:01] Production.INFO: neon service started
[2025-01-07 09:53:02] Production.INFO: neon service started
[2025-01-07 09:53:02] Production.INFO: ==2920== Releasing lock...
[2025-01-07 09:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:53:02] Production.INFO: ==2922== Lock acquired, processing the job...
[2025-01-07 04:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:53:02] Production.INFO: ==2924== Lock acquired, processing the job...
[2025-01-07 09:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:53:02] Production.INFO: ==2924== Releasing lock...
[2025-01-07 09:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:53:02] Production.INFO: ==2922== Releasing lock...
[2025-01-07 04:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:53:03] Production.INFO: ==2927== Lock acquired, processing the job...
[2025-01-07 04:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:53:03] Production.INFO: ==2929== Lock acquired, processing the job...
[2025-01-07 04:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:53:03] Production.INFO: ==2931== Lock acquired, processing the job...
[2025-01-07 04:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:53:03] Production.INFO: ==2929== Releasing lock...
[2025-01-07 04:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:53:04] Production.INFO: ==2933== Lock acquired, processing the job...
[2025-01-07 04:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:53:04] Production.INFO: ==2937== Lock acquired, processing the job...
[2025-01-07 04:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:53:04] Production.INFO: ==2935== Lock acquired, processing the job...
[2025-01-07 04:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 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-07 04:53:04] Production.INFO: count ==21
[2025-01-07 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-07 04:53:04] Production.INFO: Account Balance Start.
[2025-01-07 04:53:04] Production.INFO: CreateAllLog Start
[2025-01-07 04:53:04] Production.INFO: 117
[2025-01-07 04:53:04] Production.INFO: Date 2024-12-08
[2025-01-07 04:53:04] Production.ERROR: done
[2025-01-07 04:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:53:04] Production.INFO: count ==21
[2025-01-07 04:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192578') start
[2025-01-07 04:53:04] Production.INFO: Date 2024-12-09
[2025-01-07 04:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:53:04] Production.ERROR: done
[2025-01-07 04:53:04] Production.INFO: Date 2024-12-10
[2025-01-07 04:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:53:04] Production.INFO: Date 2024-12-11
[2025-01-07 04:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192578') end
[2025-01-07 04:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:53:04] Production.INFO: 1
[2025-01-07 04:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:53:04] Production.INFO: Date 2024-12-12
[2025-01-07 04:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:53:04] Production.INFO: ==2937== Releasing lock...
[2025-01-07 04:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:53:04] Production.INFO: Date 2024-12-13
[2025-01-07 04:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:53:04] Production.INFO: Date 2024-12-14
[2025-01-07 04:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:53:04] Production.INFO: Date 2024-12-15
[2025-01-07 04:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:53:04] Production.INFO: Date 2024-12-16
[2025-01-07 04:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:53:04] Production.INFO: Date 2024-12-17
[2025-01-07 04:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:53:04] Production.INFO: Date 2024-12-18
[2025-01-07 04:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:53:04] Production.INFO: Date 2024-12-19
[2025-01-07 04:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:53:04] Production.INFO: Date 2024-12-20
[2025-01-07 04:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:53:04] Production.INFO: Date 2024-12-21
[2025-01-07 04:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:53:04] Production.INFO: Date 2024-12-22
[2025-01-07 04:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:53:05] Production.INFO: Date 2024-12-23
[2025-01-07 04:53:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:53:05] Production.INFO: Date 2024-12-24
[2025-01-07 04:53:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:53:05] Production.INFO: Date 2024-12-25
[2025-01-07 04:53:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:53:05] Production.INFO: Date 2024-12-26
[2025-01-07 04:53:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:53:05] Production.INFO: Date 2024-12-27
[2025-01-07 04:53:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:53:05] Production.INFO: Date 2024-12-28
[2025-01-07 04:53:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:53:05] Production.INFO: Date 2024-12-29
[2025-01-07 04:53:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:53:05] Production.INFO: Date 2024-12-30
[2025-01-07 04:53:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:53:05] Production.INFO: Date 2024-12-31
[2025-01-07 04:53:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:53:05] Production.INFO: Date 2025-01-01
[2025-01-07 04:53:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:53:05] Production.INFO: Date 2025-01-02
[2025-01-07 04:53:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:53:05] Production.INFO: Date 2025-01-03
[2025-01-07 04:53:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:53:05] Production.INFO: Date 2025-01-04
[2025-01-07 04:53:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:53:05] Production.INFO: Date 2025-01-05
[2025-01-07 04:53:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:53:05] Production.INFO: Date 2025-01-06
[2025-01-07 04:53:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:53:05] Production.INFO: Date 2025-01-07
[2025-01-07 04:53:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:53:05] Production.INFO: Total Charge 0
[2025-01-07 04:53:05] Production.INFO: CreateAllLog End
[2025-01-07 04:53:05] Production.INFO: Account Balance End.
[2025-01-07 04:53:05] Production.ERROR: CronJobId end 12
[2025-01-07 04:53:05] Production.INFO: ==2933== Releasing lock...
[2025-01-07 04:53:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:53:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:53:05
[end_date_ymd] => 2025-01-07 04:53:05
[RateCDR] => 1
)
[2025-01-07 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-07 01:53:05' and `end` < '2025-01-07 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-07 04:53:10] Production.ERROR: CronJobId end10
[2025-01-07 04:53:10] Production.INFO: ==2931== Releasing lock...
[2025-01-07 04:53:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:53:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:53:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:53:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:53:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:53:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:53:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:53:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:53:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:53:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:53:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:53:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:53:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:53:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:53:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:53:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:53:13] Production.INFO: call_cost start
[2025-01-07 04:53:13] Production.INFO: call_cost end
[2025-01-07 04:53:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:53:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:53:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:53:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:53:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:53:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:53:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:53:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:53:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:53:13] Production.INFO: ==2927== Releasing lock...
[2025-01-07 04:53:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:53:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:53:20] Production.INFO: count ==104
[2025-01-07 04:53:20] Production.ERROR: pbx CDR StartTime 2025-01-07 01:53:05 - End Time 2025-01-07 04:53:05
[2025-01-07 04:53:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192580', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192580', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192580', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192580', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:53:20] Production.INFO: ProcessCDR(1,14192580,1,1,2)
[2025-01-07 04:53:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192580,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:53:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192580,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:53:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192580,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:53:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192580,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:53:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192580', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:53:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192580', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:53:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:53:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:53:24] Production.INFO: ==2935== Releasing lock...
[2025-01-07 04:53:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:53:24] Production.INFO: 28 MB #Memory Used#
[2025-01-07 09:54:01] Production.INFO: ==2993== Lock acquired, processing the job...
[2025-01-07 09:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:54:01] Production.INFO: neon service started
[2025-01-07 09:54:01] Production.INFO: neon service started
[2025-01-07 09:54:01] Production.INFO: ==2993== Releasing lock...
[2025-01-07 09:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:54:01] Production.INFO: ==2997== Lock acquired, processing the job...
[2025-01-07 09:54:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:54:01] Production.INFO: ==2997== Releasing lock...
[2025-01-07 09:54:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:54:01] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:54:01] Production.INFO: ==2995== Lock acquired, processing the job...
[2025-01-07 04:54:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:54:02] Production.INFO: ==2995== Releasing lock...
[2025-01-07 04:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:54:02] Production.INFO: ==2999== Lock acquired, processing the job...
[2025-01-07 04:54:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:54:03] Production.INFO: ==3001== Lock acquired, processing the job...
[2025-01-07 04:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:54:03] Production.INFO: ==3003== Lock acquired, processing the job...
[2025-01-07 04:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:54:03] Production.INFO: ==3005== Lock acquired, processing the job...
[2025-01-07 04:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:54:03] Production.INFO: ==3001== Releasing lock...
[2025-01-07 04:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:54:03] Production.INFO: ==3007== Lock acquired, processing the job...
[2025-01-07 04:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:54:03] Production.INFO: ==3010== Lock acquired, processing the job...
[2025-01-07 04:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:54:03] Production.INFO: Account Balance Start.
[2025-01-07 04:54:03] Production.INFO: CreateAllLog Start
[2025-01-07 04:54:03] Production.INFO: 117
[2025-01-07 04:54:03] Production.INFO: Date 2024-12-08
[2025-01-07 04:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:54:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:54:03] Production.INFO: Date 2024-12-09
[2025-01-07 04:54:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 04:54:03] Production.INFO: count ==21
[2025-01-07 04:54:03] Production.INFO: Date 2024-12-10
[2025-01-07 04:54:03] Production.INFO: Reseller ==> 0
[2025-01-07 04: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-07 04:54:03] Production.INFO: Date 2024-12-11
[2025-01-07 04:54:03] Production.INFO: count ==21
[2025-01-07 04:54:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:54:03] Production.INFO: Date 2024-12-12
[2025-01-07 04:54:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192584') start
[2025-01-07 04:54:03] Production.INFO: Date 2024-12-13
[2025-01-07 04:54:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:54:03] Production.ERROR: done
[2025-01-07 04:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192584') end
[2025-01-07 04:54:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:54:03] Production.INFO: 1
[2025-01-07 04:54:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:54:04] Production.INFO: Date 2024-12-14
[2025-01-07 04:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:54:04] Production.INFO: Date 2024-12-15
[2025-01-07 04:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:54:04] Production.INFO: ==3010== Releasing lock...
[2025-01-07 04:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:54:04] Production.ERROR: done
[2025-01-07 04:54:04] Production.INFO: Date 2024-12-16
[2025-01-07 04:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:54:04] Production.INFO: Date 2024-12-17
[2025-01-07 04:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:54:04] Production.INFO: Date 2024-12-18
[2025-01-07 04:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:54:04] Production.INFO: Date 2024-12-19
[2025-01-07 04:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:54:04] Production.INFO: Date 2024-12-20
[2025-01-07 04:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:54:04] Production.INFO: Date 2024-12-21
[2025-01-07 04:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:54:04] Production.INFO: Date 2024-12-22
[2025-01-07 04:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:54:04] Production.INFO: Date 2024-12-23
[2025-01-07 04:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:54:04] Production.INFO: Date 2024-12-24
[2025-01-07 04:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:54:04] Production.INFO: Date 2024-12-25
[2025-01-07 04:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:54:04] Production.INFO: Date 2024-12-26
[2025-01-07 04:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:54:04] Production.INFO: Date 2024-12-27
[2025-01-07 04:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:54:04] Production.INFO: Date 2024-12-28
[2025-01-07 04:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:54:04] Production.INFO: Date 2024-12-29
[2025-01-07 04:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:54:04] Production.INFO: Date 2024-12-30
[2025-01-07 04:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:54:04] Production.INFO: Date 2024-12-31
[2025-01-07 04:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:54:04] Production.INFO: Date 2025-01-01
[2025-01-07 04:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:54:04] Production.INFO: Date 2025-01-02
[2025-01-07 04:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:54:04] Production.INFO: Date 2025-01-03
[2025-01-07 04:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:54:04] Production.INFO: Date 2025-01-04
[2025-01-07 04:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:54:04] Production.INFO: Date 2025-01-05
[2025-01-07 04:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:54:04] Production.INFO: Date 2025-01-06
[2025-01-07 04:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:54:04] Production.INFO: Date 2025-01-07
[2025-01-07 04:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:54:04] Production.INFO: Total Charge 0
[2025-01-07 04:54:04] Production.INFO: CreateAllLog End
[2025-01-07 04:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:54:05
[end_date_ymd] => 2025-01-07 04:54:05
[RateCDR] => 1
)
[2025-01-07 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-07 01:54:05' and `end` < '2025-01-07 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-07 04:54:05] Production.INFO: Account Balance End.
[2025-01-07 04:54:05] Production.ERROR: CronJobId end 12
[2025-01-07 04:54:05] Production.INFO: ==3005== Releasing lock...
[2025-01-07 04:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:54:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:54:10] Production.ERROR: CronJobId end10
[2025-01-07 04:54:10] Production.INFO: ==3003== Releasing lock...
[2025-01-07 04:54:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:54:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:54:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:54:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:54:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:54:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:54:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:54:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:54:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:54:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:54:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:54:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:54:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:54:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:54:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:54:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:54:12] Production.INFO: call_cost start
[2025-01-07 04:54:12] Production.INFO: call_cost end
[2025-01-07 04:54:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:54:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:54:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:54:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:54:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:54:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:54:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:54:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:54:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:54:13] Production.INFO: ==2999== Releasing lock...
[2025-01-07 04:54:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:54:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:54:22] Production.INFO: count ==104
[2025-01-07 04:54:22] Production.ERROR: pbx CDR StartTime 2025-01-07 01:54:05 - End Time 2025-01-07 04:54:05
[2025-01-07 04:54:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:54:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192585', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:54:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192585', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:54:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192585', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:54:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192585', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:54:22] Production.INFO: ProcessCDR(1,14192585,1,1,2)
[2025-01-07 04:54:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192585,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:54:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192585,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:54:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192585,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:54:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192585,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:54:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192585', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:54:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192585', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:54:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:54:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:54:25] Production.INFO: ==3007== Releasing lock...
[2025-01-07 04:54:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:54:25] Production.INFO: 28 MB #Memory Used#
[2025-01-07 09:55:01] Production.INFO: ==3065== Lock acquired, processing the job...
[2025-01-07 09:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:55:01] Production.INFO: neon service started
[2025-01-07 09:55:01] Production.INFO: neon service started
[2025-01-07 09:55:01] Production.INFO: ==3065== Releasing lock...
[2025-01-07 09:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 04:55:02] Production.INFO: ==3067== Lock acquired, processing the job...
[2025-01-07 04:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:55:02] Production.INFO: ==3069== Lock acquired, processing the job...
[2025-01-07 09:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:55:02] Production.INFO: ==3069== Releasing lock...
[2025-01-07 09:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:55:02] Production.INFO: ==3067== Releasing lock...
[2025-01-07 04:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:55:03] Production.INFO: ==3074== Lock acquired, processing the job...
[2025-01-07 04:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:55:03] Production.INFO: ==3080== Lock acquired, processing the job...
[2025-01-07 04:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:55:03] Production.INFO: ==3072== Lock acquired, processing the job...
[2025-01-07 04:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:55:03] Production.INFO: ==3074== Releasing lock...
[2025-01-07 04:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:55:03] Production.INFO: ==3076== Lock acquired, processing the job...
[2025-01-07 04:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:55:03] Production.INFO: ==3082== Lock acquired, processing the job...
[2025-01-07 04:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:55:03] Production.INFO: ==3078== Lock acquired, processing the job...
[2025-01-07 04:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:55:03] Production.ERROR: done
[2025-01-07 04:55:03] Production.INFO: Account Balance Start.
[2025-01-07 04:55:03] Production.INFO: CreateAllLog Start
[2025-01-07 04:55:03] Production.INFO: 117
[2025-01-07 04:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:55:03] Production.INFO: Date 2024-12-08
[2025-01-07 04:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:55:03] Production.INFO: Date 2024-12-09
[2025-01-07 04:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:55:03] Production.INFO: Date 2024-12-10
[2025-01-07 04:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:55:03] Production.INFO: Date 2024-12-11
[2025-01-07 04:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:55:04] Production.ERROR: done
[2025-01-07 04:55:04] Production.INFO: Date 2024-12-12
[2025-01-07 04:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:55:04] Production.INFO: count ==21
[2025-01-07 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-07 04:55:04] Production.INFO: count ==21
[2025-01-07 04:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192588') start
[2025-01-07 04:55:04] Production.INFO: Date 2024-12-13
[2025-01-07 04:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:55:04] Production.INFO: Date 2024-12-14
[2025-01-07 04:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:55:04] Production.INFO: Date 2024-12-15
[2025-01-07 04:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192588') end
[2025-01-07 04:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:55:04] Production.INFO: 1
[2025-01-07 04:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:55:04] Production.INFO: Date 2024-12-16
[2025-01-07 04:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:55:04] Production.INFO: ==3082== Releasing lock...
[2025-01-07 04:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:55:04] Production.INFO: Date 2024-12-17
[2025-01-07 04:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:55:04] Production.INFO: Date 2024-12-18
[2025-01-07 04:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:55:04] Production.INFO: Date 2024-12-19
[2025-01-07 04:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:55:04] Production.INFO: Date 2024-12-20
[2025-01-07 04:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:55:04] Production.INFO: Date 2024-12-21
[2025-01-07 04:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:55:04] Production.INFO: Date 2024-12-22
[2025-01-07 04:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:55:04] Production.INFO: Date 2024-12-23
[2025-01-07 04:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:55:04] Production.INFO: Date 2024-12-24
[2025-01-07 04:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:55:04] Production.INFO: Date 2024-12-25
[2025-01-07 04:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:55:04] Production.INFO: Date 2024-12-26
[2025-01-07 04:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:55:04] Production.INFO: Date 2024-12-27
[2025-01-07 04:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:55:04] Production.INFO: Date 2024-12-28
[2025-01-07 04:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:55:04] Production.INFO: Date 2024-12-29
[2025-01-07 04:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:55:04] Production.INFO: Date 2024-12-30
[2025-01-07 04:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:55:04] Production.INFO: Date 2024-12-31
[2025-01-07 04:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:55:04] Production.INFO: Date 2025-01-01
[2025-01-07 04:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:55:04] Production.INFO: Date 2025-01-02
[2025-01-07 04:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:55:04] Production.INFO: Date 2025-01-03
[2025-01-07 04:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:55:04] Production.INFO: Date 2025-01-04
[2025-01-07 04:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:55:04] Production.INFO: Date 2025-01-05
[2025-01-07 04:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:55:04] Production.INFO: Date 2025-01-06
[2025-01-07 04:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:55:04] Production.INFO: Date 2025-01-07
[2025-01-07 04:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:55:04] Production.INFO: Total Charge 0
[2025-01-07 04:55:04] Production.INFO: CreateAllLog End
[2025-01-07 04:55:05] Production.INFO: Account Balance End.
[2025-01-07 04:55:05] Production.ERROR: CronJobId end 12
[2025-01-07 04:55:05] Production.INFO: ==3078== Releasing lock...
[2025-01-07 04:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:55:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:55:05
[end_date_ymd] => 2025-01-07 04:55:05
[RateCDR] => 1
)
[2025-01-07 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-07 01:55:05' and `end` < '2025-01-07 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-07 04:55:11] Production.ERROR: CronJobId end10
[2025-01-07 04:55:11] Production.INFO: ==3076== Releasing lock...
[2025-01-07 04:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:55:14] Production.INFO: call_cost start
[2025-01-07 04:55:14] Production.INFO: call_cost end
[2025-01-07 04:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:55:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:55:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:55:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:55:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:55:15] Production.INFO: ==3072== Releasing lock...
[2025-01-07 04:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:55:21] Production.INFO: count ==104
[2025-01-07 04:55:21] Production.ERROR: pbx CDR StartTime 2025-01-07 01:55:05 - End Time 2025-01-07 04:55:05
[2025-01-07 04:55:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192590', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192590', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192590', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192590', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:55:21] Production.INFO: ProcessCDR(1,14192590,1,1,2)
[2025-01-07 04:55:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192590,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:55:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192590,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:55:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192590,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:55:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192590,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:55:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192590', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:55:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192590', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:55:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:55:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:55:24] Production.INFO: ==3080== Releasing lock...
[2025-01-07 04:55:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:55:24] Production.INFO: 28 MB #Memory Used#
[2025-01-07 09:56:02] Production.INFO: ==3141== Lock acquired, processing the job...
[2025-01-07 09:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:56:02] Production.INFO: neon service started
[2025-01-07 09:56:02] Production.INFO: neon service started
[2025-01-07 09:56:02] Production.INFO: ==3141== Releasing lock...
[2025-01-07 09:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:56:02] Production.INFO: ==3145== Lock acquired, processing the job...
[2025-01-07 09:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:56:02] Production.INFO: ==3145== Releasing lock...
[2025-01-07 09:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:56:02] Production.INFO: ==3143== Lock acquired, processing the job...
[2025-01-07 04:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:56:03] Production.INFO: ==3143== Releasing lock...
[2025-01-07 04:56:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:56:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:56:04] Production.INFO: ==3148== Lock acquired, processing the job...
[2025-01-07 04:56:04] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10422 #Starts#
[2025-01-07 04:56:04] Production.INFO: ==3152== Lock acquired, processing the job...
[2025-01-07 04:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:56:04] Production.INFO: ==3150== Lock acquired, processing the job...
[2025-01-07 04:56:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:56:04] Production.INFO: -- Xero Api Check --
[2025-01-07 04:56:04] Production.INFO: ==3154== Lock acquired, processing the job...
[2025-01-07 04:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:56:04] Production.INFO: ==3156== Lock acquired, processing the job...
[2025-01-07 04:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:56:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:56:04] Production.INFO: ==3160== Lock acquired, processing the job...
[2025-01-07 04:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:56:04] Production.INFO: ==3158== Lock acquired, processing the job...
[2025-01-07 04:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:56:04] Production.INFO: Account Balance Start.
[2025-01-07 04:56:04] Production.INFO: CreateAllLog Start
[2025-01-07 04:56:04] Production.INFO: 117
[2025-01-07 04:56:05] Production.INFO: Date 2024-12-08
[2025-01-07 04:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:56:05] Production.INFO: ==3152== Releasing lock...
[2025-01-07 04:56:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:56:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:56:05] Production.INFO: Date 2024-12-09
[2025-01-07 04:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:56:05] Production.INFO: count ==21
[2025-01-07 04:56:05] Production.INFO: Date 2024-12-10
[2025-01-07 04:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:56:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:56:05] Production.INFO: count ==21
[2025-01-07 04:56:05] Production.INFO: Date 2024-12-11
[2025-01-07 04:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:56:05] Production.ERROR: PBX CALL prc_importPBXExtension('14192594') start
[2025-01-07 04:56:05] Production.INFO: Date 2024-12-12
[2025-01-07 04:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:56:05] Production.ERROR: done
[2025-01-07 04:56:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:56:05] Production.INFO: Date 2024-12-13
[2025-01-07 04:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:56:05] Production.ERROR: PBX CALL prc_importPBXExtension('14192594') end
[2025-01-07 04:56:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:56:05] Production.INFO: 1
[2025-01-07 04:56:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:56:05] Production.INFO: Date 2024-12-14
[2025-01-07 04:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:56:05] Production.ERROR: done
[2025-01-07 04:56:05] Production.INFO: Date 2024-12-15
[2025-01-07 04:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:56:05] Production.INFO: ==3160== Releasing lock...
[2025-01-07 04:56:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:56:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:56:05] Production.INFO: Date 2024-12-16
[2025-01-07 04:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:56:05] Production.INFO: Date 2024-12-17
[2025-01-07 04:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:56:05] Production.INFO: Date 2024-12-18
[2025-01-07 04:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:56:05] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 856
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 1.118208
[namelookup_time] => 0.291521
[connect_time] => 0.303245
[pretransfer_time] => 0.556725
[size_upload] => 82
[size_download] => 2755
[speed_download] => 2463
[speed_upload] => 73
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 1.118163
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.33
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 39748
)
[2025-01-07 04:56:05] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDM3NjUsImV4cCI6MTczNjI0NDA2NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQzNzY1LCJhdF9oYXNoIjoiUHJERW45N3hVbzJNdEo4UEFOdUFkQSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.fL-k0wpjRjTwIuTOuloQLMJzSLSTZKjW_CVYgD8WxlYE90-Nw_61_5xrUDeb-bGznz_ldenCBzpibU4IuV0ZZDYnCTFwWrXKAW6FqNSAMJ-fPrjClulD5Kp0GKtZ3DDwAz-ytXPwMTjYPBKegCKHWSgpHKPJzH5WPIpzeRJ3PN80ABbMGy9BoMzAXIbNCkAdGJShSnMVofLNEQjwvGBp36ZL4mMfh-A8yJkkywLGU9DIoxWl0Ix2xsul1p3uuQX_Iqt7bTIr6SlFJH0ipaujlSDGpg-WhpFPCNKvgvYwUiq3CX5CSN9jqupT-ETYfBdehllubT_V0BPVXuxOREgdQw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDM3NjUsImV4cCI6MTczNjI0NTU2NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.jvgcn5ULZH2JxSfJlXOz_FOhdzo8EyxDXQtETHXDotq5c_v8nAMDpeGJdX9jSrpgFx0ac7XGZHst5a8z_3X42QS89UxEGBc7QE3VBR3tx5hetapMNlgJkUWdhNmsUXShl5uDusKvHcIFpSe_gPbVB76xrQMpeHI6uF3AGKUerCK6bUm_GId0VE1WIWqWpwxnAvkmWyUGr-8oPgUIvMEyVRC1J9_Vg2lg96Wq-tO_uSxeW5GB1mpSn-of7xbQZtDjyrTux_rZVVBEoGVlsu94qBNvdg5VFnQPs7QF_EixxTJKmhm4wiAjDpjCas7DPYZ60peD3A2zJAfukl1KVI1CRA
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => XYCqWF3NTkp0niBUieNkQWKIUE-oYwQVS0SniyXngEo
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 04:56:05] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDM3NjUsImV4cCI6MTczNjI0NDA2NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQzNzY1LCJhdF9oYXNoIjoiUHJERW45N3hVbzJNdEo4UEFOdUFkQSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.fL-k0wpjRjTwIuTOuloQLMJzSLSTZKjW_CVYgD8WxlYE90-Nw_61_5xrUDeb-bGznz_ldenCBzpibU4IuV0ZZDYnCTFwWrXKAW6FqNSAMJ-fPrjClulD5Kp0GKtZ3DDwAz-ytXPwMTjYPBKegCKHWSgpHKPJzH5WPIpzeRJ3PN80ABbMGy9BoMzAXIbNCkAdGJShSnMVofLNEQjwvGBp36ZL4mMfh-A8yJkkywLGU9DIoxWl0Ix2xsul1p3uuQX_Iqt7bTIr6SlFJH0ipaujlSDGpg-WhpFPCNKvgvYwUiq3CX5CSN9jqupT-ETYfBdehllubT_V0BPVXuxOREgdQw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDM3NjUsImV4cCI6MTczNjI0NTU2NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.jvgcn5ULZH2JxSfJlXOz_FOhdzo8EyxDXQtETHXDotq5c_v8nAMDpeGJdX9jSrpgFx0ac7XGZHst5a8z_3X42QS89UxEGBc7QE3VBR3tx5hetapMNlgJkUWdhNmsUXShl5uDusKvHcIFpSe_gPbVB76xrQMpeHI6uF3AGKUerCK6bUm_GId0VE1WIWqWpwxnAvkmWyUGr-8oPgUIvMEyVRC1J9_Vg2lg96Wq-tO_uSxeW5GB1mpSn-of7xbQZtDjyrTux_rZVVBEoGVlsu94qBNvdg5VFnQPs7QF_EixxTJKmhm4wiAjDpjCas7DPYZ60peD3A2zJAfukl1KVI1CRA
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => XYCqWF3NTkp0niBUieNkQWKIUE-oYwQVS0SniyXngEo
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 04:56:05] Production.INFO: Date 2024-12-19
[2025-01-07 04:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:56:05] Production.INFO: AccountID 152
[2025-01-07 04:56:05] Production.INFO: AccountName 3G Print Group
[2025-01-07 04:56:05] Production.INFO: Checkcustomer
[2025-01-07 04:56:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="3G%20Print%20Group"
[2025-01-07 04:56:05] Production.INFO: Date 2024-12-20
[2025-01-07 04:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:56:05] Production.INFO: Date 2024-12-21
[2025-01-07 04:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:56:05] Production.INFO: Date 2024-12-22
[2025-01-07 04:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:56:05] Production.INFO: Date 2024-12-23
[2025-01-07 04:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:56:05] Production.INFO: Date 2024-12-24
[2025-01-07 04:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:56:05] Production.INFO: Date 2024-12-25
[2025-01-07 04:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:56:06] Production.INFO: Date 2024-12-26
[2025-01-07 04:56:06] Production.INFO: Reseller ==> 0
[2025-01-07 04:56:06] Production.INFO: Date 2024-12-27
[2025-01-07 04:56:06] Production.INFO: Reseller ==> 0
[2025-01-07 04:56:06] Production.INFO: Date 2024-12-28
[2025-01-07 04:56:06] Production.INFO: Reseller ==> 0
[2025-01-07 04:56:06] Production.INFO: Date 2024-12-29
[2025-01-07 04:56:06] Production.INFO: Reseller ==> 0
[2025-01-07 04:56:06] Production.INFO: Date 2024-12-30
[2025-01-07 04:56:06] Production.INFO: Reseller ==> 0
[2025-01-07 04:56:06] Production.INFO: Date 2024-12-31
[2025-01-07 04:56:06] Production.INFO: Reseller ==> 0
[2025-01-07 04:56:06] Production.INFO: Date 2025-01-01
[2025-01-07 04:56:06] Production.INFO: Reseller ==> 0
[2025-01-07 04:56:06] Production.INFO: Date 2025-01-02
[2025-01-07 04:56:06] Production.INFO: Reseller ==> 0
[2025-01-07 04:56:06] Production.INFO: Date 2025-01-03
[2025-01-07 04:56:06] Production.INFO: Reseller ==> 0
[2025-01-07 04:56:06] Production.INFO: Date 2025-01-04
[2025-01-07 04:56:06] Production.INFO: Reseller ==> 0
[2025-01-07 04:56:06] Production.INFO: Date 2025-01-05
[2025-01-07 04:56:06] Production.INFO: Reseller ==> 0
[2025-01-07 04:56:06] Production.INFO: Date 2025-01-06
[2025-01-07 04:56:06] Production.INFO: Reseller ==> 0
[2025-01-07 04:56:06] Production.INFO: Date 2025-01-07
[2025-01-07 04:56:06] Production.INFO: Reseller ==> 0
[2025-01-07 04:56:06] Production.INFO: Total Charge 0
[2025-01-07 04:56:06] Production.INFO: CreateAllLog End
[2025-01-07 04:56:06] Production.INFO: Account Balance End.
[2025-01-07 04:56:06] Production.ERROR: CronJobId end 12
[2025-01-07 04:56:06] Production.INFO: ==3156== Releasing lock...
[2025-01-07 04:56:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:56:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:56:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:56:07
[end_date_ymd] => 2025-01-07 04:56:07
[RateCDR] => 1
)
[2025-01-07 04:56:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 01:56:07' and `end` < '2025-01-07 04:56:07'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 04:56:08] Production.INFO: Contact id print CheckCustomer Case===d4a36319-8eb8-433b-a39c-ded75fc85345
[2025-01-07 04:56:08] Production.INFO: -- count --1
[2025-01-07 04:56:08] Production.INFO: AccountID 152
[2025-01-07 04:56:08] Production.INFO: AccountName 3G Print Group
[2025-01-07 04:56:08] Production.INFO: Checkcustomer
[2025-01-07 04:56:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="3G%20Print%20Group"
[2025-01-07 04:56:11] Production.INFO: Contact id print CheckCustomer Case===d4a36319-8eb8-433b-a39c-ded75fc85345
[2025-01-07 04:56:11] Production.INFO: -- count --1
[2025-01-07 04:56:11] Production.INFO: AccountID 47
[2025-01-07 04:56:11] Production.INFO: AccountName Aaxel Insurance Brokers
[2025-01-07 04:56:11] Production.INFO: Checkcustomer
[2025-01-07 04:56:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Aaxel%20Insurance%20Brokers"
[2025-01-07 04:56:13] Production.ERROR: CronJobId end10
[2025-01-07 04:56:13] Production.INFO: ==3154== Releasing lock...
[2025-01-07 04:56:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:56:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:56:14] Production.INFO: Contact id print CheckCustomer Case===4e313157-1b83-4634-91d3-f0b4cdbdcb8b
[2025-01-07 04:56:14] Production.INFO: -- count --1
[2025-01-07 04:56:14] Production.INFO: AccountID 21
[2025-01-07 04:56:14] Production.INFO: AccountName Aaxel Insurance Brokers (Peel Ltd.)
[2025-01-07 04:56:14] Production.INFO: Checkcustomer
[2025-01-07 04:56:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Aaxel%20Insurance%20Brokers%20%28Peel%20Ltd.%29"
[2025-01-07 04:56:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:56:15] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:56:15] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:56:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:56:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:56:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:56:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:56:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:56:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:56:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:56:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:56:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:56:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:56:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:56:15] Production.INFO: call_cost start
[2025-01-07 04:56:15] Production.INFO: call_cost end
[2025-01-07 04:56:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:56:16] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:56:16] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:56:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:56:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:56:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:56:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:56:16] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:56:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:56:16] Production.INFO: ==3150== Releasing lock...
[2025-01-07 04:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:56:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:56:16] Production.INFO: Contact id print CheckCustomer Case===ae39ade0-cb7f-4596-8b84-41b21b906e54
[2025-01-07 04:56:16] Production.INFO: -- count --1
[2025-01-07 04:56:16] Production.INFO: AccountID 21
[2025-01-07 04:56:16] Production.INFO: AccountName Aaxel Insurance Brokers (Peel Ltd.)
[2025-01-07 04:56:16] Production.INFO: Checkcustomer
[2025-01-07 04:56:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Aaxel%20Insurance%20Brokers%20%28Peel%20Ltd.%29"
[2025-01-07 04:56:18] Production.INFO: Contact id print CheckCustomer Case===ae39ade0-cb7f-4596-8b84-41b21b906e54
[2025-01-07 04:56:18] Production.INFO: -- count --1
[2025-01-07 04:56:18] Production.INFO: -- Xero Add Inovice --
[2025-01-07 04:56:18] Production.INFO: CheckInvoice xerov2: INV11136
[2025-01-07 04:56:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11136
[2025-01-07 04:56:21] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 04:56:21] Production.INFO: Invoice SubTotal 65.500000
[2025-01-07 04:56:21] Production.INFO: Invoice DetTotal 65.5
[2025-01-07 04:56:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="3G%20Print%20Group"
[2025-01-07 04:56:21] Production.INFO: count ==104
[2025-01-07 04:56:21] Production.ERROR: pbx CDR StartTime 2025-01-07 01:56:07 - End Time 2025-01-07 04:56:07
[2025-01-07 04:56:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192595', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:56:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192595', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:56:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192595', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:56:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192595', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:56:22] Production.INFO: ProcessCDR(1,14192595,1,1,2)
[2025-01-07 04:56:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192595,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:56:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192595,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:56:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192595,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:56:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 04:56:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192595,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:56:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192595', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:56:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192595', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:56:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:56:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:56:25] Production.INFO: ==3158== Releasing lock...
[2025-01-07 04:56:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:56:25] Production.INFO: 28 MB #Memory Used#
[2025-01-07 04:56:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 04:56:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 04:56:32] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 9,UnitAmount : 10.000000,LineAmount : 90.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (9057621414 - 9225 Leslie St 5 Richmond Hill, ON L4B 3H6 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,"Description": "Friends & Family Discount",Quantity : 9,UnitAmount : -3.000000,LineAmount : -27.000000}
[2025-01-07 04:56:35] Production.INFO: ==== result =====
[2025-01-07 04:56:35] Production.INFO: {
"Id": "5f6f0b27-aa0b-4d79-94b8-a6c510180a21",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736243794968)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "b7a29513-bc66-4b04-ba3a-54d4c2fdec59",
"InvoiceNumber": "INV11136",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 74.02,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"IsDiscounted": false,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "d4a36319-8eb8-433b-a39c-ded75fc85345",
"ContactStatus": "ACTIVE",
"Name": "3G Print Group",
"FirstName": "Glenn",
"LastName": "Shaw",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1657573744717+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-01T00:00:00",
"Date": "\/Date(1733011200000+0000)\/",
"DueDateString": "2024-12-31T00:00:00",
"DueDate": "\/Date(1735603200000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "License for a Pay As You Go Cloud Phone extension",
"UnitAmount": 10.00,
"TaxType": "TAX020",
"TaxAmount": 11.70,
"LineAmount": 90.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 9.0000,
"LineItemID": "73dbd072-83e6-45f3-a34c-56d1c8c8e043",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
},
{
"Description": "e911 address registration (9057621414 - 9225 Leslie St 5 Richmond Hill, ON L4B 3H6 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "747fe7bd-d414-44dd-887e-6c78e34098b4",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
},
{
"Description": "Friends & Family Discount",
"UnitAmount": -3.00,
"TaxType": "TAX020",
"TaxAmount": -3.51,
"LineAmount": -27.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 9.0000,
"LineItemID": "10b47509-1800-43b4-a95b-e5330d922b8a",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"ValidationErrors": []
}
],
"SubTotal": 65.50,
"TotalTax": 8.52,
"Total": 74.02,
"UpdatedDateUTC": "\/Date(1736243794890+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 04:56:35] Production.INFO: -- Create Invoice id --b7a29513-bc66-4b04-ba3a-54d4c2fdec59
[2025-01-07 04:56:35] Production.INFO: -- Create Invoice Done --
[2025-01-07 04:56:35] Production.INFO: CheckInvoice xerov2: INV11294
[2025-01-07 04:56:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11294
[2025-01-07 04:56:37] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 04:56:37] Production.INFO: Invoice SubTotal 65.500000
[2025-01-07 04:56:37] Production.INFO: Invoice DetTotal 65.5
[2025-01-07 04:56:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="3G%20Print%20Group"
[2025-01-07 04:56:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 04:56:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 04:56:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 04:56:48] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 9,UnitAmount : 10.000000,LineAmount : 90.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (9057621414 - 9225 Leslie St 5 Richmond Hill, ON L4B 3H6 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,"Description": "Friends & Family Discount",Quantity : 9,UnitAmount : -3.000000,LineAmount : -27.000000}
[2025-01-07 04:56:50] Production.INFO: ==== result =====
[2025-01-07 04:56:50] Production.INFO: {
"Id": "cad46c86-3c28-498a-804b-7ca1ac28efad",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736243810643)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "ea984bfe-13e6-409a-8c9d-f1e44204c607",
"InvoiceNumber": "INV11294",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 74.02,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"IsDiscounted": false,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "d4a36319-8eb8-433b-a39c-ded75fc85345",
"ContactStatus": "ACTIVE",
"Name": "3G Print Group",
"FirstName": "Glenn",
"LastName": "Shaw",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1657573744717+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2025-01-01T00:00:00",
"Date": "\/Date(1735689600000+0000)\/",
"DueDateString": "2025-01-31T00:00:00",
"DueDate": "\/Date(1738281600000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "License for a Pay As You Go Cloud Phone extension",
"UnitAmount": 10.00,
"TaxType": "TAX020",
"TaxAmount": 11.70,
"LineAmount": 90.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 9.0000,
"LineItemID": "f04991c5-bb5c-4468-b45a-8cda03bb3793",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
},
{
"Description": "e911 address registration (9057621414 - 9225 Leslie St 5 Richmond Hill, ON L4B 3H6 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "da9a2fc4-4ba7-4d57-b93a-d54f892f38a2",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
},
{
"Description": "Friends & Family Discount",
"UnitAmount": -3.00,
"TaxType": "TAX020",
"TaxAmount": -3.51,
"LineAmount": -27.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 9.0000,
"LineItemID": "883d0d4e-07f4-45a3-8532-cfe29639589c",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"ValidationErrors": []
}
],
"SubTotal": 65.50,
"TotalTax": 8.52,
"Total": 74.02,
"UpdatedDateUTC": "\/Date(1736243810580+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 04:56:50] Production.INFO: -- Create Invoice id --ea984bfe-13e6-409a-8c9d-f1e44204c607
[2025-01-07 04:56:50] Production.INFO: -- Create Invoice Done --
[2025-01-07 04:56:50] Production.INFO: CheckInvoice xerov2: INV11257
[2025-01-07 04:56:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11257
[2025-01-07 04:56:53] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 04:56:53] Production.INFO: Invoice SubTotal 473.560000
[2025-01-07 04:56:53] Production.INFO: Invoice DetTotal 473.56
[2025-01-07 04:56:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Aaxel%20Insurance%20Brokers"
[2025-01-07 04:56:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 04:56:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 04:57:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 09:57:01] Production.INFO: ==3236== Lock acquired, processing the job...
[2025-01-07 09:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:57:01] Production.INFO: neon service started
[2025-01-07 09:57:01] Production.INFO: neon service started
[2025-01-07 09:57:01] Production.INFO: ==3236== Releasing lock...
[2025-01-07 09:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:57:02] Production.INFO: ==3240== Lock acquired, processing the job...
[2025-01-07 09:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:57:02] Production.INFO: ==3240== Releasing lock...
[2025-01-07 09:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:57:02] Production.INFO: ==3238== Lock acquired, processing the job...
[2025-01-07 04:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:57:02] Production.INFO: ==3238== Releasing lock...
[2025-01-07 04:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:57:03] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 11-23-2024 To 12-22-2024",Quantity : 1,UnitAmount : 317.060000,LineAmount : 317.060000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (14165486407)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (12899991236)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (14166134444)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (15195132449)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (16479251495)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DIDs (16479254066 - 16479254074)",Quantity : 9,UnitAmount : 1.500000,LineAmount : 13.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DIDs (16479254076 - 16479254079)",Quantity : 4,UnitAmount : 1.500000,LineAmount : 6.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DIDs (16479254081 - 16479254087)",Quantity : 7,UnitAmount : 1.500000,LineAmount : 10.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (19053628080)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (19054862295)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (19056048900)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (19057967600)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional Toll Free DID (18553803666)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional Toll Free DID (18663582860)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (16474959552)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (19057969700)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (19054871440)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (16136997961)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (16475586401)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (19053611274)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (19053611275)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (12893016674)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (12892744807)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (12262165777)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (12262151515)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (12893272232)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (12893272273)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (16474845777)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (19052822525)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (19052829594)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (12262162522)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,"Description": "Additional DID (6479255005)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,"Description": "Additional DID (6479255025)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,"Description": "Additional DID (6479255050)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,"Description": "Additional DID (6479255055)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,"Description": "Additional DID (6479255151)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,"Description": "Additional DIDs (6479255226 - 6479255253)",Quantity : 27,UnitAmount : 1.500000,LineAmount : 40.500000},{taxType:"TAX020",AccountCode : 203,"Description": "Additional DID (6479255353)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 50.000000,"Description": "Additional reserved capacity (licenses cover 10 active calls, 17 are regularly in use)",Quantity : 7,UnitAmount : 10.000000,LineAmount : 35.000000}
[2025-01-07 04:57:03] Production.INFO: ==3245== Lock acquired, processing the job...
[2025-01-07 04:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:57:03] Production.INFO: ==3253== Lock acquired, processing the job...
[2025-01-07 04:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:57:03] Production.INFO: ==3243== Lock acquired, processing the job...
[2025-01-07 04:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 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-07 04:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:57:03] Production.INFO: ==3247== Lock acquired, processing the job...
[2025-01-07 04:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:57:03] Production.INFO: count ==21
[2025-01-07 04:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:57:03] Production.INFO: ==3249== Lock acquired, processing the job...
[2025-01-07 04:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:57:03] Production.INFO: count ==21
[2025-01-07 04:57:03] Production.INFO: ==3251== Lock acquired, processing the job...
[2025-01-07 04:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192596') start
[2025-01-07 04:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192596') end
[2025-01-07 04:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:57:03] Production.INFO: 1
[2025-01-07 04:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:57:03] Production.INFO: ==3253== Releasing lock...
[2025-01-07 04:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:57:03] Production.INFO: Account Balance Start.
[2025-01-07 04:57:03] Production.INFO: CreateAllLog Start
[2025-01-07 04:57:03] Production.INFO: 117
[2025-01-07 04:57:03] Production.INFO: Date 2024-12-08
[2025-01-07 04:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:57:03] Production.INFO: Date 2024-12-09
[2025-01-07 04:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:57:04] Production.INFO: ==3245== Releasing lock...
[2025-01-07 04:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:57:04] Production.INFO: Date 2024-12-10
[2025-01-07 04:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:57:04] Production.INFO: Date 2024-12-11
[2025-01-07 04:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:57:04] Production.INFO: Date 2024-12-12
[2025-01-07 04:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:57:04] Production.ERROR: done
[2025-01-07 04:57:04] Production.INFO: Date 2024-12-13
[2025-01-07 04:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:57:04] Production.INFO: Date 2024-12-14
[2025-01-07 04:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:57:04] Production.INFO: Date 2024-12-15
[2025-01-07 04:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:57:04] Production.ERROR: done
[2025-01-07 04:57:04] Production.INFO: Date 2024-12-16
[2025-01-07 04:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:57:04] Production.INFO: Date 2024-12-17
[2025-01-07 04:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:57:04] Production.INFO: Date 2024-12-18
[2025-01-07 04:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:57:04] Production.INFO: Date 2024-12-19
[2025-01-07 04:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:57:04] Production.INFO: Date 2024-12-20
[2025-01-07 04:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:57:04] Production.INFO: Date 2024-12-21
[2025-01-07 04:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:57:04] Production.INFO: Date 2024-12-22
[2025-01-07 04:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:57:04] Production.INFO: Date 2024-12-23
[2025-01-07 04:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:57:04] Production.INFO: Date 2024-12-24
[2025-01-07 04:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:57:04] Production.INFO: Date 2024-12-25
[2025-01-07 04:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:57:04] Production.INFO: Date 2024-12-26
[2025-01-07 04:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:57:04] Production.INFO: Date 2024-12-27
[2025-01-07 04:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:57:04] Production.INFO: Date 2024-12-28
[2025-01-07 04:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:57:04] Production.INFO: Date 2024-12-29
[2025-01-07 04:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:57:04] Production.INFO: Date 2024-12-30
[2025-01-07 04:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:57:05] Production.INFO: Date 2024-12-31
[2025-01-07 04:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:57:05] Production.INFO: Date 2025-01-01
[2025-01-07 04:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:57:05] Production.INFO: Date 2025-01-02
[2025-01-07 04:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:57:05] Production.INFO: Date 2025-01-03
[2025-01-07 04:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:57:05] Production.INFO: Date 2025-01-04
[2025-01-07 04:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:57:05] Production.INFO: Date 2025-01-05
[2025-01-07 04:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:57:05] Production.INFO: Date 2025-01-06
[2025-01-07 04:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:57:05] Production.INFO: Date 2025-01-07
[2025-01-07 04:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:57:05] Production.INFO: Total Charge 0
[2025-01-07 04:57:05] Production.INFO: CreateAllLog End
[2025-01-07 04:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:57:05
[end_date_ymd] => 2025-01-07 04:57:05
[RateCDR] => 1
)
[2025-01-07 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-07 01:57:05' and `end` < '2025-01-07 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-07 04:57:05] Production.INFO: Account Balance End.
[2025-01-07 04:57:05] Production.ERROR: CronJobId end 12
[2025-01-07 04:57:05] Production.INFO: ==3249== Releasing lock...
[2025-01-07 04:57:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:57:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:57:06] Production.INFO: ==== result =====
[2025-01-07 04:57:06] Production.INFO: {
"Id": "4b0a5a28-d52d-413a-9d69-25676c81d3df",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736243826520)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "3cf410a9-65b5-4de8-b942-5207ff950873",
"InvoiceNumber": "INV11257",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 535.31,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 35.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "4e313157-1b83-4634-91d3-f0b4cdbdcb8b",
"ContactStatus": "ACTIVE",
"Name": "Aaxel Insurance Brokers",
"FirstName": "Paul",
"LastName": "Mann",
"EmailAddress": "paul.mann@aaxelinsurance.com",
"BankAccountDetails": "",
"AccountsReceivableTaxType": "OUTPUT",
"AccountsPayableTaxType": "OUTPUT",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": "",
"AttentionTo": ""
},
{
"AddressType": "POBOX",
"AddressLine1": "1550 South Gateway Road",
"AddressLine2": "Suite 220",
"AddressLine3": "",
"AddressLine4": "",
"City": "Mississauga",
"Region": "ON",
"PostalCode": "L4W5G6",
"Country": "Canada",
"AttentionTo": "Paul Mann"
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "(905) 7967600",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "6478297470",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "6478297470",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1629352418927+0000)\/",
"ContactGroups": [],
"IsSupplier": true,
"IsCustomer": true,
"DefaultCurrency": "CAD",
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-23T00:00:00",
"Date": "\/Date(1734912000000+0000)\/",
"DueDateString": "2025-01-22T00:00:00",
"DueDate": "\/Date(1737504000000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "From 11-23-2024 To 12-22-2024",
"UnitAmount": 317.06,
"TaxType": "TAX020",
"TaxAmount": 41.22,
"LineAmount": 317.06,
"AccountCode": "234",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "26ce12a0-b296-4594-ab12-3d62eea71c2d",
"AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (14165486407)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "38dfc635-6ed6-4f2f-aeef-93445dc1964b",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (12899991236)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "467bba35-d729-4e47-8acf-89854d883e41",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (14166134444)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "2b73cd21-d7ec-4125-8a25-5b20c30b1195",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (15195132449)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "963d86ca-fa66-434a-bf68-da7900859338",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (16479251495)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "90d985b1-642e-4d1a-be7e-1418ce2cb5c5",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DIDs (16479254066 - 16479254074)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 1.76,
"LineAmount": 13.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 9.0000,
"DiscountRate": 0.00,
"LineItemID": "4e0cbb5e-0470-4af6-8728-12cd963721c4",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DIDs (16479254076 - 16479254079)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.78,
"LineAmount": 6.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 4.0000,
"DiscountRate": 0.00,
"LineItemID": "e55b5b15-c747-44a1-8395-850bcc16d722",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DIDs (16479254081 - 16479254087)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 1.37,
"LineAmount": 10.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 7.0000,
"DiscountRate": 0.00,
"LineItemID": "9e6f3dfd-86ea-47ee-a286-2fe283005893",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (19053628080)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "522f7840-ecec-4e1e-807b-4b51bbbe11ce",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (19054862295)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "604d5d5c-98df-442f-a078-aedbbbe6ddc1",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (19056048900)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "b0cb4a8f-f33d-4dc7-b846-b2f9cee6a7bf",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (19057967600)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "4a58e3d2-eead-40b2-a5e8-a7da9df03b1a",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional Toll Free DID (18553803666)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "9fe74d92-51d4-405e-8ccc-a03a7ccc9234",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional Toll Free DID (18663582860)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "2d08da68-2590-4a35-ae90-ec03e8448d7e",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (16474959552)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "03f732a1-7471-4afd-b750-712247fa5a70",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (19057969700)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "00bb0050-1773-4a92-8222-35d539c3258d",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (19054871440)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "57936110-3e5e-4c6c-a30e-c5ccd960e981",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (16136997961)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "9face307-12b6-4b8f-a482-bb67ad096a68",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (16475586401)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "19384c20-2379-4767-b081-556c776cf00d",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (19053611274)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "89966d81-782b-42ac-99fa-a85c6cd96a27",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (19053611275)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "7f330067-119b-45d7-a389-d4c8ce406804",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (12893016674)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "d40d6f22-05d1-4a86-91b9-6ccecb08f5e5",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (12892744807)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "23b3056e-1f9f-4eb8-bc9c-c4273187dbd0",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (12262165777)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "2b082849-3591-4588-86df-118d5305e971",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (12262151515)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "9a5f5b6e-98b1-4c31-9939-ef597bf3a8c3",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (12893272232)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "425da6b2-97b9-4b19-b3dc-b087d8bc0d1f",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (12893272273)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "be9892fb-59bd-4a9c-82dd-30460046de2a",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (16474845777)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "0ef23539-dcee-4c01-b0ec-92f2fac26c54",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (19052822525)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "f7d94362-4d44-4acf-8aa1-0506cefe0a53",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (19052829594)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "f12d17ae-b903-458c-ad7a-749cf19bceed",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (12262162522)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "f72c6d96-a251-4daa-82bb-2ad0411503dd",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (6479255005)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "63fe9c47-ae57-42af-ad7b-ac2600029b3f",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
},
{
"Description": "Additional DID (6479255025)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "cf618023-32bc-40c8-8d6e-d896c8315ede",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
},
{
"Description": "Additional DID (6479255050)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "feaddf63-ba69-4172-973b-e119f35ec60e",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
},
{
"Description": "Additional DID (6479255055)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "927c9d80-3731-44ca-93a7-435c9549a174",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
},
{
"Description": "Additional DID (6479255151)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "c2000ab9-7f44-4a2f-a45d-a4597b208732",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
},
{
"Description": "Additional DIDs (6479255226 - 6479255253)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 5.27,
"LineAmount": 40.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 27.0000,
"LineItemID": "865eedde-08cd-4698-bc61-52d9009c2023",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
},
{
"Description": "Additional DID (6479255353)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "8eac36a8-8021-46d0-b102-f26549e13fb7",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
},
{
"Description": "Additional reserved capacity (licenses cover 10 active calls, 17 are regularly in use)",
"UnitAmount": 10.00,
"TaxType": "TAX020",
"TaxAmount": 4.55,
"LineAmount": 35.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 7.0000,
"DiscountRate": 50.00,
"LineItemID": "57058f71-d81c-4b15-a8ee-cc88b3446ba7",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountEnteredAsPercent": true,
"DiscountAmount": 35.0000,
"ValidationErrors": []
}
],
"SubTotal": 473.56,
"TotalTax": 61.75,
"Total": 535.31,
"UpdatedDateUTC": "\/Date(1736243826333+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 04:57:06] Production.INFO: -- Create Invoice id --3cf410a9-65b5-4de8-b942-5207ff950873
[2025-01-07 04:57:06] Production.INFO: -- Create Invoice Done --
[2025-01-07 04:57:06] Production.INFO: CheckInvoice xerov2: INV11052
[2025-01-07 04:57:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11052
[2025-01-07 04:57:08] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 04:57:08] Production.INFO: Invoice SubTotal 212.750000
[2025-01-07 04:57:08] Production.INFO: Invoice DetTotal 212.75
[2025-01-07 04:57:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Aaxel%20Insurance%20Brokers%20%28Peel%20Ltd.%29"
[2025-01-07 04:57:10] Production.ERROR: CronJobId end10
[2025-01-07 04:57:10] Production.INFO: ==3247== Releasing lock...
[2025-01-07 04:57:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:57:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:57:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 04:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:57:12] Production.INFO: call_cost start
[2025-01-07 04:57:12] Production.INFO: call_cost end
[2025-01-07 04:57:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:57:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:57:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:57:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:57:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:57:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:57:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:57:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:57:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:57:13] Production.INFO: ==3243== Releasing lock...
[2025-01-07 04:57:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:57:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:57:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 04:57:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 04:57:18] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 10-14-2024 To 11-13-2024",Quantity : 1,UnitAmount : 93.000000,LineAmount : 93.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 18,UnitAmount : 7.500000,LineAmount : 135.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (19055656644 - 1332 KHALSA DR UNIT 11 MISSISSAUGA, ON L5S0A2)",Quantity : 1,UnitAmount : 2.750000,LineAmount : 2.750000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Discount - 10+ Extensions ($1 off per extension per month)",Quantity : 18,UnitAmount : -1.000000,LineAmount : -18.000000}
[2025-01-07 04:57:20] Production.INFO: count ==104
[2025-01-07 04:57:20] Production.ERROR: pbx CDR StartTime 2025-01-07 01:57:05 - End Time 2025-01-07 04:57:05
[2025-01-07 04:57:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192600', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192600', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192600', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192600', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:57:20] Production.INFO: ProcessCDR(1,14192600,1,1,2)
[2025-01-07 04:57:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192600,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:57:21] Production.INFO: ==== result =====
[2025-01-07 04:57:21] Production.INFO: {
"Id": "b92c8d5b-7772-4bd3-a284-36075391029d",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736243841415)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "cdfd3d0c-38a4-4688-9c63-17f4b19a8b47",
"InvoiceNumber": "INV11052",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 240.41,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "ae39ade0-cb7f-4596-8b84-41b21b906e54",
"ContactStatus": "ACTIVE",
"Name": "Aaxel Insurance Brokers (Peel Ltd.)",
"FirstName": "Kuldip",
"LastName": "Chahal",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1655917145357+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-11-14T00:00:00",
"Date": "\/Date(1731542400000+0000)\/",
"DueDateString": "2024-12-14T00:00:00",
"DueDate": "\/Date(1734134400000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "From 10-14-2024 To 11-13-2024",
"UnitAmount": 93.00,
"TaxType": "TAX020",
"TaxAmount": 12.09,
"LineAmount": 93.00,
"AccountCode": "234",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "1cd4e923-c073-459e-b042-b642049dccc6",
"AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "License for a Pay As You Go Cloud Phone extension",
"UnitAmount": 7.50,
"TaxType": "TAX020",
"TaxAmount": 17.55,
"LineAmount": 135.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 18.0000,
"DiscountRate": 0.00,
"LineItemID": "874591f1-8f74-46b6-9f09-b305b8cbfc9a",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (19055656644 - 1332 KHALSA DR UNIT 11 MISSISSAUGA, ON L5S0A2)",
"UnitAmount": 2.75,
"TaxType": "TAX020",
"TaxAmount": 0.36,
"LineAmount": 2.75,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "9dd46fdf-a8fa-414f-a049-a846ab7f3d59",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Discount - 10+ Extensions ($1 off per extension per month)",
"UnitAmount": -1.00,
"TaxType": "TAX020",
"TaxAmount": -2.34,
"LineAmount": -18.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 18.0000,
"DiscountRate": 0.00,
"LineItemID": "bff1388b-45d6-43f7-87fc-58a9d2ae2e9d",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 212.75,
"TotalTax": 27.66,
"Total": 240.41,
"UpdatedDateUTC": "\/Date(1736243841353+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 04:57:21] Production.INFO: -- Create Invoice id --cdfd3d0c-38a4-4688-9c63-17f4b19a8b47
[2025-01-07 04:57:21] Production.INFO: -- Create Invoice Done --
[2025-01-07 04:57:21] Production.INFO: CheckInvoice xerov2: INV11214
[2025-01-07 04:57:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11214
[2025-01-07 04:57:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192600,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:57:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192600,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:57:23] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 04:57:23] Production.INFO: Invoice SubTotal 203.810000
[2025-01-07 04:57:23] Production.INFO: Invoice DetTotal 203.81
[2025-01-07 04:57:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Aaxel%20Insurance%20Brokers%20%28Peel%20Ltd.%29"
[2025-01-07 04:57:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192600,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192600', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192600', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:57:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:57:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:57:23] Production.INFO: ==3251== Releasing lock...
[2025-01-07 04:57:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:57:23] Production.INFO: 28 MB #Memory Used#
[2025-01-07 04:57:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 04:57:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 04:57:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 04:57:35] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 11-14-2024 To 12-13-2024",Quantity : 1,UnitAmount : 84.060000,LineAmount : 84.060000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 18,UnitAmount : 7.500000,LineAmount : 135.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (19055656644 - 1332 KHALSA DR UNIT 11 MISSISSAUGA, ON L5S0A2)",Quantity : 1,UnitAmount : 2.750000,LineAmount : 2.750000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Discount - 10+ Extensions ($1 off per extension per month)",Quantity : 18,UnitAmount : -1.000000,LineAmount : -18.000000}
[2025-01-07 04:57:37] Production.INFO: ==== result =====
[2025-01-07 04:57:37] Production.INFO: {
"Id": "437b1f9b-0cad-4357-9ce7-f8a61a116f74",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736243857772)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "d0491cc5-24df-4fd6-8212-0d299ea22ac3",
"InvoiceNumber": "INV11214",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 230.31,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "ae39ade0-cb7f-4596-8b84-41b21b906e54",
"ContactStatus": "ACTIVE",
"Name": "Aaxel Insurance Brokers (Peel Ltd.)",
"FirstName": "Kuldip",
"LastName": "Chahal",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1655917145357+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-14T00:00:00",
"Date": "\/Date(1734134400000+0000)\/",
"DueDateString": "2025-01-13T00:00:00",
"DueDate": "\/Date(1736726400000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "From 11-14-2024 To 12-13-2024",
"UnitAmount": 84.06,
"TaxType": "TAX020",
"TaxAmount": 10.93,
"LineAmount": 84.06,
"AccountCode": "234",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "5fa5bc8a-e763-4125-969c-6d057e760c90",
"AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "License for a Pay As You Go Cloud Phone extension",
"UnitAmount": 7.50,
"TaxType": "TAX020",
"TaxAmount": 17.55,
"LineAmount": 135.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 18.0000,
"DiscountRate": 0.00,
"LineItemID": "c54094d7-3f64-44f6-990d-e76a37a2f11b",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (19055656644 - 1332 KHALSA DR UNIT 11 MISSISSAUGA, ON L5S0A2)",
"UnitAmount": 2.75,
"TaxType": "TAX020",
"TaxAmount": 0.36,
"LineAmount": 2.75,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "15afa648-4e81-4e85-bd45-0027c027b8de",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Discount - 10+ Extensions ($1 off per extension per month)",
"UnitAmount": -1.00,
"TaxType": "TAX020",
"TaxAmount": -2.34,
"LineAmount": -18.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 18.0000,
"DiscountRate": 0.00,
"LineItemID": "8c7654a3-f58d-4f45-869e-073c6b348d83",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 203.81,
"TotalTax": 26.50,
"Total": 230.31,
"UpdatedDateUTC": "\/Date(1736243857710+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 04:57:37] Production.INFO: -- Create Invoice id --d0491cc5-24df-4fd6-8212-0d299ea22ac3
[2025-01-07 04:57:37] Production.INFO: -- Create Invoice Done --
[2025-01-07 04:57:37] Production.INFO: -- Xero End Inovice --
[2025-01-07 04:57:37] Production.INFO: ==3148== Releasing lock...
[2025-01-07 04:57:37] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10422 #Stops#
[2025-01-07 04:57:37] Production.INFO: 32.75 MB #Memory Used#
[2025-01-07 09:58:02] Production.INFO: ==3322== Lock acquired, processing the job...
[2025-01-07 09:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:58:02] Production.INFO: neon service started
[2025-01-07 09:58:02] Production.INFO: neon service started
[2025-01-07 09:58:02] Production.INFO: ==3322== Releasing lock...
[2025-01-07 09:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:58:02] Production.INFO: ==3326== Lock acquired, processing the job...
[2025-01-07 09:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:58:02] Production.INFO: ==3326== Releasing lock...
[2025-01-07 09:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:58:02] Production.INFO: ==3324== Lock acquired, processing the job...
[2025-01-07 04:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:58:02] Production.INFO: ==3324== Releasing lock...
[2025-01-07 04:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:58:03] Production.INFO: ==3332== Lock acquired, processing the job...
[2025-01-07 04:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:58:03] Production.INFO: ==3328== Lock acquired, processing the job...
[2025-01-07 04:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:58:03] Production.INFO: ==3334== Lock acquired, processing the job...
[2025-01-07 04:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:58:03] Production.INFO: Account Balance Start.
[2025-01-07 04:58:03] Production.INFO: CreateAllLog Start
[2025-01-07 04:58:03] Production.INFO: 117
[2025-01-07 04:58:03] Production.INFO: Date 2024-12-08
[2025-01-07 04:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:58:03] Production.INFO: Date 2024-12-09
[2025-01-07 04:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:58:04] Production.INFO: Date 2024-12-10
[2025-01-07 04:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:58:04] Production.INFO: Date 2024-12-11
[2025-01-07 04:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:58:04] Production.INFO: ==3330== Lock acquired, processing the job...
[2025-01-07 04:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:58:04] Production.INFO: Date 2024-12-12
[2025-01-07 04:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:58:04] Production.INFO: Date 2024-12-13
[2025-01-07 04:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:58:04] Production.INFO: Date 2024-12-14
[2025-01-07 04:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:58:04] Production.INFO: ==3338== Lock acquired, processing the job...
[2025-01-07 04:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:58:04] Production.INFO: Date 2024-12-15
[2025-01-07 04:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:58:04] Production.INFO: ==3336== Lock acquired, processing the job...
[2025-01-07 04:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:58:04] Production.INFO: Date 2024-12-16
[2025-01-07 04:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:58:04] Production.INFO: Date 2024-12-17
[2025-01-07 04:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:58:04] Production.INFO: Date 2024-12-18
[2025-01-07 04:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:58:04] Production.INFO: Date 2024-12-19
[2025-01-07 04:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:58:04] Production.INFO: count ==21
[2025-01-07 04:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:58:04] Production.INFO: count ==21
[2025-01-07 04:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192604') start
[2025-01-07 04:58:04] Production.INFO: Date 2024-12-20
[2025-01-07 04:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:58:04] Production.INFO: Date 2024-12-21
[2025-01-07 04:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:58:04] Production.INFO: Date 2024-12-22
[2025-01-07 04:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:58:04] Production.ERROR: done
[2025-01-07 04:58:04] Production.INFO: ==3330== Releasing lock...
[2025-01-07 04:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:58:04] Production.INFO: Date 2024-12-23
[2025-01-07 04:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:58:04] Production.INFO: Date 2024-12-24
[2025-01-07 04:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:58:04] Production.INFO: Date 2024-12-25
[2025-01-07 04:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192604') end
[2025-01-07 04:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:58:04] Production.INFO: 1
[2025-01-07 04:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:58:04] Production.INFO: Date 2024-12-26
[2025-01-07 04:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:58:05] Production.INFO: Date 2024-12-27
[2025-01-07 04:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:58:05] Production.ERROR: done
[2025-01-07 04:58:05] Production.INFO: Date 2024-12-28
[2025-01-07 04:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:58:05] Production.INFO: ==3338== Releasing lock...
[2025-01-07 04:58:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:58:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:58:05] Production.INFO: Date 2024-12-29
[2025-01-07 04:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:58:05] Production.INFO: Date 2024-12-30
[2025-01-07 04:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:58:05] Production.INFO: Date 2024-12-31
[2025-01-07 04:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:58:05] Production.INFO: Date 2025-01-01
[2025-01-07 04:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:58:05] Production.INFO: Date 2025-01-02
[2025-01-07 04:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:58:05] Production.INFO: Date 2025-01-03
[2025-01-07 04:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:58:05] Production.INFO: Date 2025-01-04
[2025-01-07 04:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:58:05] Production.INFO: Date 2025-01-05
[2025-01-07 04:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:58:05] Production.INFO: Date 2025-01-06
[2025-01-07 04:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:58:05] Production.INFO: Date 2025-01-07
[2025-01-07 04:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 04:58:05] Production.INFO: Total Charge 0
[2025-01-07 04:58:05] Production.INFO: CreateAllLog End
[2025-01-07 04:58:05] Production.INFO: Account Balance End.
[2025-01-07 04:58:05] Production.ERROR: CronJobId end 12
[2025-01-07 04:58:05] Production.INFO: ==3334== Releasing lock...
[2025-01-07 04:58:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:58:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:58:05
[end_date_ymd] => 2025-01-07 04:58:05
[RateCDR] => 1
)
[2025-01-07 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-07 01:58:05' and `end` < '2025-01-07 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-07 04:58:11] Production.ERROR: CronJobId end10
[2025-01-07 04:58:11] Production.INFO: ==3332== Releasing lock...
[2025-01-07 04:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:58:14] Production.INFO: call_cost start
[2025-01-07 04:58:14] Production.INFO: call_cost end
[2025-01-07 04:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:58:14] Production.INFO: ==3328== Releasing lock...
[2025-01-07 04:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:58:21] Production.INFO: count ==104
[2025-01-07 04:58:21] Production.ERROR: pbx CDR StartTime 2025-01-07 01:58:05 - End Time 2025-01-07 04:58:05
[2025-01-07 04:58:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192605', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192605', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192605', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192605', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:58:21] Production.INFO: ProcessCDR(1,14192605,1,1,2)
[2025-01-07 04:58:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192605,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:58:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192605,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:58:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192605,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:58:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192605,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:58:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192605', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:58:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192605', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:58:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:58:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:58:24] Production.INFO: ==3336== Releasing lock...
[2025-01-07 04:58:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:58:24] Production.INFO: 28 MB #Memory Used#
[2025-01-07 09:59:01] Production.INFO: ==3396== Lock acquired, processing the job...
[2025-01-07 09:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 09:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 09:59:01] Production.INFO: neon service started
[2025-01-07 09:59:01] Production.INFO: neon service started
[2025-01-07 09:59:01] Production.INFO: ==3396== Releasing lock...
[2025-01-07 09:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 09:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:59:01] Production.INFO: ==3400== Lock acquired, processing the job...
[2025-01-07 09:59:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:59:01] Production.INFO: ==3400== Releasing lock...
[2025-01-07 09:59:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 09:59:01] Production.INFO: 25 MB #Memory Used#
[2025-01-07 04:59:02] Production.INFO: ==3398== Lock acquired, processing the job...
[2025-01-07 04:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 04:59:02] Production.INFO: ==3398== Releasing lock...
[2025-01-07 04:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 04:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 04:59:03] Production.INFO: ==3410== Lock acquired, processing the job...
[2025-01-07 04:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 04:59:03] Production.INFO: ==3406== Lock acquired, processing the job...
[2025-01-07 04:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 04:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 04:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 04:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 04:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 04:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 04:59:03] Production.INFO: ==3402== Lock acquired, processing the job...
[2025-01-07 04:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 04:59:03] Production.INFO: ==3404== Lock acquired, processing the job...
[2025-01-07 04:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 04:59:03] Production.INFO: ==3408== Lock acquired, processing the job...
[2025-01-07 04:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 04:59:03] Production.INFO: ==3412== Lock acquired, processing the job...
[2025-01-07 04:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 04:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 04:59:03] Production.ERROR: done
[2025-01-07 04:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 04:59:03] Production.INFO: Account Balance Start.
[2025-01-07 04:59:03] Production.INFO: CreateAllLog Start
[2025-01-07 04:59:03] Production.INFO: 117
[2025-01-07 04:59:03] Production.INFO: Date 2024-12-08
[2025-01-07 04:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:59:03] Production.ERROR: done
[2025-01-07 04:59:03] Production.INFO: ==3404== Releasing lock...
[2025-01-07 04:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 04:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 04:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:59:03] Production.INFO: Date 2024-12-09
[2025-01-07 04:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:59:03] Production.INFO: count ==21
[2025-01-07 04:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 04:59:03] Production.INFO: count ==21
[2025-01-07 04:59:03] Production.INFO: Date 2024-12-10
[2025-01-07 04:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192608') start
[2025-01-07 04:59:03] Production.INFO: Date 2024-12-11
[2025-01-07 04:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 04:59:04] Production.INFO: Date 2024-12-12
[2025-01-07 04:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:59:04] Production.INFO: Date 2024-12-13
[2025-01-07 04:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192608') end
[2025-01-07 04:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 04:59:04] Production.INFO: 1
[2025-01-07 04:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 04:59:04] Production.INFO: Date 2024-12-14
[2025-01-07 04:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:59:04] Production.INFO: ==3412== Releasing lock...
[2025-01-07 04:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 04:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 04:59:04] Production.INFO: Date 2024-12-15
[2025-01-07 04:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:59:04] Production.INFO: Date 2024-12-16
[2025-01-07 04:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:59:04] Production.INFO: Date 2024-12-17
[2025-01-07 04:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:59:04] Production.INFO: Date 2024-12-18
[2025-01-07 04:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:59:04] Production.INFO: Date 2024-12-19
[2025-01-07 04:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:59:04] Production.INFO: Date 2024-12-20
[2025-01-07 04:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:59:04] Production.INFO: Date 2024-12-21
[2025-01-07 04:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:59:04] Production.INFO: Date 2024-12-22
[2025-01-07 04:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:59:04] Production.INFO: Date 2024-12-23
[2025-01-07 04:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:59:04] Production.INFO: Date 2024-12-24
[2025-01-07 04:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:59:04] Production.INFO: Date 2024-12-25
[2025-01-07 04:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:59:04] Production.INFO: Date 2024-12-26
[2025-01-07 04:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:59:04] Production.INFO: Date 2024-12-27
[2025-01-07 04:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:59:04] Production.INFO: Date 2024-12-28
[2025-01-07 04:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:59:04] Production.INFO: Date 2024-12-29
[2025-01-07 04:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:59:04] Production.INFO: Date 2024-12-30
[2025-01-07 04:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:59:04] Production.INFO: Date 2024-12-31
[2025-01-07 04:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:59:04] Production.INFO: Date 2025-01-01
[2025-01-07 04:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:59:04] Production.INFO: Date 2025-01-02
[2025-01-07 04:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:59:04] Production.INFO: Date 2025-01-03
[2025-01-07 04:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:59:04] Production.INFO: Date 2025-01-04
[2025-01-07 04:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:59:04] Production.INFO: Date 2025-01-05
[2025-01-07 04:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:59:04] Production.INFO: Date 2025-01-06
[2025-01-07 04:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:59:04] Production.INFO: Date 2025-01-07
[2025-01-07 04:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 04:59:04] Production.INFO: Total Charge 0
[2025-01-07 04:59:04] Production.INFO: CreateAllLog End
[2025-01-07 04:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 01:59:04
[end_date_ymd] => 2025-01-07 04:59:04
[RateCDR] => 1
)
[2025-01-07 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-07 01:59:04' and `end` < '2025-01-07 04: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-07 04:59:05] Production.INFO: Account Balance End.
[2025-01-07 04:59:05] Production.ERROR: CronJobId end 12
[2025-01-07 04:59:05] Production.INFO: ==3408== Releasing lock...
[2025-01-07 04:59:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 04:59:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 04:59:12] Production.ERROR: CronJobId end10
[2025-01-07 04:59:12] Production.INFO: ==3406== Releasing lock...
[2025-01-07 04:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 04:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 04:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 04:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 04:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 04:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 04:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 04:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 04:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 04:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 04:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 04:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 04:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 04:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 04:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 04:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 04:59:14] Production.INFO: call_cost start
[2025-01-07 04:59:14] Production.INFO: call_cost end
[2025-01-07 04:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 04:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 04:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 04:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 04:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 04:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 04:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 04:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 04:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 04:59:14] Production.INFO: ==3402== Releasing lock...
[2025-01-07 04:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 04:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 04:59:20] Production.INFO: count ==104
[2025-01-07 04:59:20] Production.ERROR: pbx CDR StartTime 2025-01-07 01:59:04 - End Time 2025-01-07 04:59:04
[2025-01-07 04:59:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 04:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192610', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192610', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192610', 'tblTempVendorCDR_20' ) start
[2025-01-07 04:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192610', 'tblTempVendorCDR_20' ) end
[2025-01-07 04:59:20] Production.INFO: ProcessCDR(1,14192610,1,1,2)
[2025-01-07 04:59:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192610,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:59:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192610,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 04:59:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192610,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:59:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192610,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 04:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192610', 'tblTempUsageDetail_20' ) start
[2025-01-07 04:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192610', 'tblTempUsageDetail_20' ) end
[2025-01-07 04:59:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 04:59:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 04:59:23] Production.INFO: ==3410== Releasing lock...
[2025-01-07 04:59:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 04:59:23] Production.INFO: 28 MB #Memory Used#
[2025-01-07 10:00:02] Production.INFO: ==3469== Lock acquired, processing the job...
[2025-01-07 10:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:00:02] Production.INFO: neon service started
[2025-01-07 10:00:02] Production.INFO: neon service started
[2025-01-07 10:00:02] Production.INFO: ==3469== Releasing lock...
[2025-01-07 10:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:00:02] Production.INFO: ==3473== Lock acquired, processing the job...
[2025-01-07 10:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:00:02] Production.INFO: ==3473== Releasing lock...
[2025-01-07 10:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:00:02] Production.INFO: ==3471== Lock acquired, processing the job...
[2025-01-07 05:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:00:02] Production.INFO: ==3471== Releasing lock...
[2025-01-07 05:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:00:03] Production.INFO: ==3475== Lock acquired, processing the job...
[2025-01-07 05:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 05:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 05:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 05:00:03] Production.INFO: ==3475== Releasing lock...
[2025-01-07 05:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 05:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 05:00:03] Production.INFO: ==3486== Lock acquired, processing the job...
[2025-01-07 05:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:00:04] Production.INFO: ==3490== Lock acquired, processing the job...
[2025-01-07 05:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 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-07 05:00:04] Production.INFO: ==3477== Lock acquired, processing the job...
[2025-01-07 05:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:00:04] Production.INFO: count ==21
[2025-01-07 05:00:04] Production.INFO: ==3479== Lock acquired, processing the job...
[2025-01-07 05:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 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-07 05:00:04] Production.INFO: count ==21
[2025-01-07 05:00:04] Production.INFO: ==3481== Lock acquired, processing the job...
[2025-01-07 05:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:00:04] Production.INFO: ==3483== Lock acquired, processing the job...
[2025-01-07 05:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:00:04] Production.INFO: ==3488== Lock acquired, processing the job...
[2025-01-07 05:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 05:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192611') start
[2025-01-07 05:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192611') end
[2025-01-07 05:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:00:04] Production.INFO: 1
[2025-01-07 05:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:00:04] Production.INFO: Account Balance Start.
[2025-01-07 05:00:04] Production.INFO: CreateAllLog Start
[2025-01-07 05:00:04] Production.INFO: 117
[2025-01-07 05:00:04] Production.INFO: ==3490== Releasing lock...
[2025-01-07 05:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:00:04] Production.INFO: Date 2024-12-08
[2025-01-07 05:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:00:04] Production.ERROR: done
[2025-01-07 05:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:00:04] Production.INFO: Date 2024-12-09
[2025-01-07 05:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:00:04] Production.INFO: Date 2024-12-10
[2025-01-07 05:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:00:04] Production.INFO: Date 2024-12-11
[2025-01-07 05:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:00:04] Production.ERROR: done
[2025-01-07 05:00:04] Production.INFO: Date 2024-12-12
[2025-01-07 05:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:00:04] Production.INFO: Date 2024-12-13
[2025-01-07 05:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:00:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:00:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:00:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:00:04] Production.INFO: ==3479== Releasing lock...
[2025-01-07 05:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:00:05] Production.ERROR: done
[2025-01-07 05:00:05] Production.INFO: Date 2024-12-17
[2025-01-07 05:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 05:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14192616', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 05:00:05] Production.INFO: Date 2024-12-18
[2025-01-07 05:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:00:05] Production.INFO: Date 2024-12-19
[2025-01-07 05:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:00:05] Production.INFO: Date 2024-12-20
[2025-01-07 05:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:00:05] Production.INFO: Date 2024-12-21
[2025-01-07 05:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:00:05] Production.INFO: Date 2024-12-22
[2025-01-07 05:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:00:05] Production.INFO: Date 2024-12-23
[2025-01-07 05:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:00:05] Production.INFO: Date 2024-12-24
[2025-01-07 05:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:00:05] Production.INFO: Date 2024-12-25
[2025-01-07 05:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:00:05] Production.INFO: Date 2024-12-26
[2025-01-07 05:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:00:05] Production.INFO: Date 2024-12-27
[2025-01-07 05:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:00:05] Production.INFO: Date 2024-12-28
[2025-01-07 05:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:00:05] Production.INFO: Date 2024-12-29
[2025-01-07 05:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:00:05] Production.INFO: Date 2024-12-30
[2025-01-07 05:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:00:05] Production.INFO: Date 2024-12-31
[2025-01-07 05:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:00:05] Production.INFO: Date 2025-01-01
[2025-01-07 05:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:00:05] Production.INFO: Date 2025-01-02
[2025-01-07 05:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:00:05] Production.INFO: Date 2025-01-03
[2025-01-07 05:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:00:05] Production.INFO: Date 2025-01-04
[2025-01-07 05:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:00:05] Production.INFO: Date 2025-01-05
[2025-01-07 05:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:00:05] Production.INFO: Date 2025-01-06
[2025-01-07 05:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:00:05] Production.INFO: Date 2025-01-07
[2025-01-07 05:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:00:05] Production.INFO: Total Charge 0
[2025-01-07 05:00:05] Production.INFO: CreateAllLog End
[2025-01-07 05:00:06] Production.INFO: Account Balance End.
[2025-01-07 05:00:06] Production.ERROR: CronJobId end 12
[2025-01-07 05:00:06] Production.INFO: ==3483== Releasing lock...
[2025-01-07 05:00:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:00:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:00:06
[end_date_ymd] => 2025-01-07 05:00:06
[RateCDR] => 1
)
[2025-01-07 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-07 02:00:06' and `end` < '2025-01-07 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-07 05:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14192616', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 05:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 05:00:09] Production.INFO: ProcessCDR(1,14192616,1,1,2)
[2025-01-07 05:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14192616,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14192616,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:00:10] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:00:10] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:00:10] Production.INFO: ==3488== Releasing lock...
[2025-01-07 05:00:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 05:00:10] Production.INFO: 26 MB #Memory Used#
[2025-01-07 05:00:14] Production.ERROR: CronJobId end10
[2025-01-07 05:00:14] Production.INFO: ==3481== Releasing lock...
[2025-01-07 05:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:00:15] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:00:15] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:00:16] Production.INFO: call_cost start
[2025-01-07 05:00:16] Production.INFO: call_cost end
[2025-01-07 05:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:00:16] Production.INFO: ==3477== Releasing lock...
[2025-01-07 05:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:00:21] Production.INFO: count ==97
[2025-01-07 05:00:22] Production.ERROR: pbx CDR StartTime 2025-01-07 02:00:06 - End Time 2025-01-07 05:00:06
[2025-01-07 05:00:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192615', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192615', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192615', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192615', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:00:22] Production.INFO: ProcessCDR(1,14192615,1,1,2)
[2025-01-07 05:00:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192615,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:00:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192615,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:00:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192615,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:00:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192615,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:00:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192615', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:00:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192615', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:00:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:00:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:00:25] Production.INFO: ==3486== Releasing lock...
[2025-01-07 05:00:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:00:25] Production.INFO: 28 MB #Memory Used#
[2025-01-07 10:01:01] Production.INFO: ==3550== Lock acquired, processing the job...
[2025-01-07 10:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:01:01] Production.INFO: neon service started
[2025-01-07 10:01:01] Production.INFO: neon service started
[2025-01-07 10:01:01] Production.INFO: ==3550== Releasing lock...
[2025-01-07 10:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:01:01] Production.INFO: ==3557== Lock acquired, processing the job...
[2025-01-07 05:01:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:01:02] Production.INFO: ==3557== Releasing lock...
[2025-01-07 05:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:01:02] Production.INFO: ==3559== Lock acquired, processing the job...
[2025-01-07 10:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:01:02] Production.INFO: ==3559== Releasing lock...
[2025-01-07 10:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:01:02] Production.INFO: ==3561== Lock acquired, processing the job...
[2025-01-07 05:01:02] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10423 #Starts#
[2025-01-07 05:01:03] Production.INFO: -- Xero Api Check --
[2025-01-07 05:01:03] Production.INFO: ==3563== Lock acquired, processing the job...
[2025-01-07 05:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:01:03] Production.INFO: ==3565== Lock acquired, processing the job...
[2025-01-07 05:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:01:03] Production.INFO: ==3567== Lock acquired, processing the job...
[2025-01-07 05:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:01:03] Production.INFO: ==3570== Lock acquired, processing the job...
[2025-01-07 05:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:01:03] Production.INFO: ==3574== Lock acquired, processing the job...
[2025-01-07 05:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:01:03] Production.INFO: ==3572== Lock acquired, processing the job...
[2025-01-07 05:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:01:03] Production.INFO: Account Balance Start.
[2025-01-07 05:01:03] Production.INFO: CreateAllLog Start
[2025-01-07 05:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:01:03] Production.INFO: 117
[2025-01-07 05:01:03] Production.INFO: Date 2024-12-08
[2025-01-07 05:01:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 05:01:03] Production.INFO: Date 2024-12-09
[2025-01-07 05:01:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:01:03] Production.INFO: Date 2024-12-10
[2025-01-07 05:01:03] Production.INFO: count ==21
[2025-01-07 05:01:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:01:03] Production.INFO: ==3565== Releasing lock...
[2025-01-07 05:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:01:03] Production.INFO: count ==21
[2025-01-07 05:01:03] Production.INFO: Date 2024-12-11
[2025-01-07 05:01:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192620') start
[2025-01-07 05:01:03] Production.INFO: Date 2024-12-12
[2025-01-07 05:01:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:01:03] Production.ERROR: done
[2025-01-07 05:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192620') end
[2025-01-07 05:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:01:03] Production.INFO: 1
[2025-01-07 05:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:01:03] Production.INFO: Date 2024-12-13
[2025-01-07 05:01:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:01:03] Production.INFO: ==3574== Releasing lock...
[2025-01-07 05:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:01:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:01:03] Production.ERROR: done
[2025-01-07 05:01:03] Production.INFO: Date 2024-12-14
[2025-01-07 05:01:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:01:03] 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.936567
[namelookup_time] => 0.540357
[connect_time] => 0.550482
[pretransfer_time] => 0.863608
[size_upload] => 82
[size_download] => 2755
[speed_download] => 2941
[speed_upload] => 87
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.936532
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.17
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 41934
)
[2025-01-07 05:01:03] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDQwNjMsImV4cCI6MTczNjI0NDM2MywiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ0MDYzLCJhdF9oYXNoIjoiMTA1bmhHUmdhdnJFbzlxQUMwSU1wdyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.B0Wnj7WWaT649E7ll5QljiEN8YnINq6E-5VbvzT-hiube68gqBgNTiEsYLJtqT5rur6ZtFXzB3CmO3YmfQhQjXvv0kM-tS7zaJvSmpErqJ1oD-p4vMA4-7C3Ar11kWiVo5jWna42xZ63H5YD0luEEj8RWOxsHIfh7aIN7hFVj2AC6lEIs48atYBB6tfzIdv5ZhDyhlaUFmoW6S9Mejl2PLyvxuiJkQ8D1sFLckHwuMbUoPkIhX_-yBLFxQPdPTGKKkgasiAZM8Cj4M645WkeIfjY5O-AeBXza5LruIQRvJejrppao3f0KpPKgitq2qONS9Z5qzYuxojT7-JvrrailA
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDQwNjMsImV4cCI6MTczNjI0NTg2MywiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.P5svoCREO1bgCgYdCjt5QAOpfRxaiNZMkBhmZVYwncwYwbFIaLugVZXizkefCBZ_IdwK5ezKzVDUmQHVctFkTgOeWp5SKeD1gfDz6UuYz_f8pB3XS5lg9DOGakIoljQOp9B-cG7S4C9xzNL9IBHaZRcr4-yccs4tswJN4gFU-8bkfdFwnmHRl-vwNmGiTEWklQThWXfd5PasH3kFBaV75-vUIGGUNea6VepOF4BVtn_m9k_Xjl_Oq5GpBpeqbJdRiJM9enjxe5BtORlJuELUAHHsOLOcJg0Nbuw7X5vUQz_Jk7mIFbZGGspXotHphm4dIt2tbRIR6gHkym2QgIN1ZQ
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => SZqOuOmYR7_rwVbkYcYn2zKEFHK3G5NIXxQvXWNR0aM
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 05:01:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDQwNjMsImV4cCI6MTczNjI0NDM2MywiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ0MDYzLCJhdF9oYXNoIjoiMTA1bmhHUmdhdnJFbzlxQUMwSU1wdyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.B0Wnj7WWaT649E7ll5QljiEN8YnINq6E-5VbvzT-hiube68gqBgNTiEsYLJtqT5rur6ZtFXzB3CmO3YmfQhQjXvv0kM-tS7zaJvSmpErqJ1oD-p4vMA4-7C3Ar11kWiVo5jWna42xZ63H5YD0luEEj8RWOxsHIfh7aIN7hFVj2AC6lEIs48atYBB6tfzIdv5ZhDyhlaUFmoW6S9Mejl2PLyvxuiJkQ8D1sFLckHwuMbUoPkIhX_-yBLFxQPdPTGKKkgasiAZM8Cj4M645WkeIfjY5O-AeBXza5LruIQRvJejrppao3f0KpPKgitq2qONS9Z5qzYuxojT7-JvrrailA
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDQwNjMsImV4cCI6MTczNjI0NTg2MywiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.P5svoCREO1bgCgYdCjt5QAOpfRxaiNZMkBhmZVYwncwYwbFIaLugVZXizkefCBZ_IdwK5ezKzVDUmQHVctFkTgOeWp5SKeD1gfDz6UuYz_f8pB3XS5lg9DOGakIoljQOp9B-cG7S4C9xzNL9IBHaZRcr4-yccs4tswJN4gFU-8bkfdFwnmHRl-vwNmGiTEWklQThWXfd5PasH3kFBaV75-vUIGGUNea6VepOF4BVtn_m9k_Xjl_Oq5GpBpeqbJdRiJM9enjxe5BtORlJuELUAHHsOLOcJg0Nbuw7X5vUQz_Jk7mIFbZGGspXotHphm4dIt2tbRIR6gHkym2QgIN1ZQ
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => SZqOuOmYR7_rwVbkYcYn2zKEFHK3G5NIXxQvXWNR0aM
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 05:01:04] Production.INFO: AccountID 56
[2025-01-07 05:01:04] Production.INFO: AccountName Alexander and Casey Law
[2025-01-07 05:01:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:01:04] Production.INFO: Checkcustomer
[2025-01-07 05:01:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Alexander%20and%20Casey%20Law"
[2025-01-07 05:01:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:01:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:01:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:01:04] Production.INFO: Date 2024-12-19
[2025-01-07 05:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:01:04] Production.INFO: Date 2024-12-20
[2025-01-07 05:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:01:04] Production.INFO: Date 2024-12-21
[2025-01-07 05:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:01:04] Production.INFO: Date 2024-12-22
[2025-01-07 05:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:01:04] Production.INFO: Date 2024-12-23
[2025-01-07 05:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:01:04] Production.INFO: Date 2024-12-24
[2025-01-07 05:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:01:04] Production.INFO: Date 2024-12-25
[2025-01-07 05:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:01:04] Production.INFO: Date 2024-12-26
[2025-01-07 05:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:01:04] Production.INFO: Date 2024-12-27
[2025-01-07 05:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:01:04] Production.INFO: Date 2024-12-28
[2025-01-07 05:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:01:04] Production.INFO: Date 2024-12-29
[2025-01-07 05:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:01:04] Production.INFO: Date 2024-12-30
[2025-01-07 05:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:01:04] Production.INFO: Date 2024-12-31
[2025-01-07 05:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:01:04] Production.INFO: Date 2025-01-01
[2025-01-07 05:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:01:04] Production.INFO: Date 2025-01-02
[2025-01-07 05:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:01:04] Production.INFO: Date 2025-01-03
[2025-01-07 05:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:01:04] Production.INFO: Date 2025-01-04
[2025-01-07 05:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:01:04] Production.INFO: Date 2025-01-05
[2025-01-07 05:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:01:04] Production.INFO: Date 2025-01-06
[2025-01-07 05:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:01:04] Production.INFO: Date 2025-01-07
[2025-01-07 05:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:01:04] Production.INFO: Total Charge 0
[2025-01-07 05:01:04] Production.INFO: CreateAllLog End
[2025-01-07 05:01:05] Production.INFO: Account Balance End.
[2025-01-07 05:01:05] Production.ERROR: CronJobId end 12
[2025-01-07 05:01:05] Production.INFO: ==3570== Releasing lock...
[2025-01-07 05:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:01:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:01:05
[end_date_ymd] => 2025-01-07 05:01:05
[RateCDR] => 1
)
[2025-01-07 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-07 02:01:05' and `end` < '2025-01-07 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-07 05:01:07] Production.INFO: Contact id print CheckCustomer Case===3b1c6fb0-8df6-447b-805b-319c8fd7f13f
[2025-01-07 05:01:07] Production.INFO: -- count --1
[2025-01-07 05:01:07] Production.INFO: AccountID 188
[2025-01-07 05:01:07] Production.INFO: AccountName All Care Insurance Brokers Ltd.
[2025-01-07 05:01:07] Production.INFO: Checkcustomer
[2025-01-07 05:01:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="All%20Care%20Insurance%20Brokers%20Ltd."
[2025-01-07 05:01:09] Production.INFO: Contact id print CheckCustomer Case===6d542d8f-684c-435c-82fd-abdec98b3c10
[2025-01-07 05:01:09] Production.INFO: -- count --1
[2025-01-07 05:01:09] Production.INFO: AccountID 235
[2025-01-07 05:01:09] Production.INFO: AccountName All Seasons Learning Center
[2025-01-07 05:01:09] Production.INFO: Checkcustomer
[2025-01-07 05:01:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="All%20Seasons%20Learning%20Center"
[2025-01-07 05:01:10] Production.ERROR: CronJobId end10
[2025-01-07 05:01:10] Production.INFO: ==3567== Releasing lock...
[2025-01-07 05:01:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:01:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:01:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:01:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:01:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:01:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:01:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:01:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:01:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:01:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:01:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:01:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:01:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:01:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:01:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:01:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:01:13] Production.INFO: Contact id print CheckCustomer Case===680201a7-650c-4c24-b7d7-b8171bdcd911
[2025-01-07 05:01:13] Production.INFO: -- count --1
[2025-01-07 05:01:13] Production.INFO: AccountID 235
[2025-01-07 05:01:13] Production.INFO: AccountName All Seasons Learning Center
[2025-01-07 05:01:13] Production.INFO: Checkcustomer
[2025-01-07 05:01:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="All%20Seasons%20Learning%20Center"
[2025-01-07 05:01:13] Production.INFO: call_cost start
[2025-01-07 05:01:13] Production.INFO: call_cost end
[2025-01-07 05:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:01:14] Production.INFO: ==3563== Releasing lock...
[2025-01-07 05:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:01:16] Production.INFO: Contact id print CheckCustomer Case===680201a7-650c-4c24-b7d7-b8171bdcd911
[2025-01-07 05:01:16] Production.INFO: -- count --1
[2025-01-07 05:01:16] Production.INFO: AccountID 235
[2025-01-07 05:01:16] Production.INFO: AccountName All Seasons Learning Center
[2025-01-07 05:01:16] Production.INFO: Checkcustomer
[2025-01-07 05:01:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="All%20Seasons%20Learning%20Center"
[2025-01-07 05:01:18] Production.INFO: Contact id print CheckCustomer Case===680201a7-650c-4c24-b7d7-b8171bdcd911
[2025-01-07 05:01:18] Production.INFO: -- count --1
[2025-01-07 05:01:18] Production.INFO: -- Xero Add Inovice --
[2025-01-07 05:01:18] Production.INFO: CheckInvoice xerov2: INV11251
[2025-01-07 05:01:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11251
[2025-01-07 05:01:21] Production.INFO: count ==85
[2025-01-07 05:01:21] Production.ERROR: pbx CDR StartTime 2025-01-07 02:01:05 - End Time 2025-01-07 05:01:05
[2025-01-07 05:01:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192621', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192621', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192621', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192621', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:01:21] Production.INFO: ProcessCDR(1,14192621,1,1,2)
[2025-01-07 05:01:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192621,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:01:21] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:01:21] Production.INFO: Invoice SubTotal 18.210000
[2025-01-07 05:01:21] Production.INFO: Invoice DetTotal 18.21
[2025-01-07 05:01:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Alexander%20and%20Casey%20Law"
[2025-01-07 05:01:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192621,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:01:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192621,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:01:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:01:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192621,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:01:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192621', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:01:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192621', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:01:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:01:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:01:24] Production.INFO: ==3572== Releasing lock...
[2025-01-07 05:01:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:01:24] Production.INFO: 28 MB #Memory Used#
[2025-01-07 05:01:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:01:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:01:33] Production.INFO: =========Invoices String here======{AccountCode : 234,DiscountRate : 0.000000,"Description": " From 11-21-2024 To 12-20-2024",Quantity : 1,UnitAmount : 0.710000,LineAmount : 0.710000},{AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 3,UnitAmount : 5.000000,LineAmount : 15.000000},{AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (13162691100 - 225 N MARKET ST STE 230 WICHITA, KS 67202)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 05:01:36] Production.INFO: ==== result =====
[2025-01-07 05:01:36] Production.INFO: {
"Id": "84c5eb37-29d5-4416-b5d7-ac472c01ecaa",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736244096329)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "3552236b-2641-4b49-b209-1fe771c39c34",
"InvoiceNumber": "INV11251",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 20.58,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "3b1c6fb0-8df6-447b-805b-319c8fd7f13f",
"ContactStatus": "ACTIVE",
"Name": "Alexander and Casey Law",
"FirstName": "",
"LastName": "",
"EmailAddress": "",
"BankAccountDetails": "",
"AccountsReceivableTaxType": "TAX007",
"AccountsPayableTaxType": "TAX007",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": "",
"AttentionTo": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": "",
"AttentionTo": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1549906801707+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-21T00:00:00",
"Date": "\/Date(1734739200000+0000)\/",
"DueDateString": "2024-12-28T00:00:00",
"DueDate": "\/Date(1735344000000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "From 11-21-2024 To 12-20-2024",
"UnitAmount": 0.71,
"TaxType": "OUTPUT",
"TaxAmount": 0.09,
"LineAmount": 0.71,
"AccountCode": "234",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "2d7d2b99-4659-4091-aea3-ff1c8dda539d",
"AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "License for a Pay As You Go Cloud Phone extension",
"UnitAmount": 5.00,
"TaxType": "OUTPUT",
"TaxAmount": 1.95,
"LineAmount": 15.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 3.0000,
"DiscountRate": 0.00,
"LineItemID": "f20bc5e7-a4e8-49b5-8511-0b9e679ccffa",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (13162691100 - 225 N MARKET ST STE 230 WICHITA, KS 67202)",
"UnitAmount": 2.50,
"TaxType": "OUTPUT",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "5d2d357b-9ec0-4719-836d-215626d57153",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 18.21,
"TotalTax": 2.37,
"Total": 20.58,
"UpdatedDateUTC": "\/Date(1736244096250+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:01:36] Production.INFO: -- Create Invoice id --3552236b-2641-4b49-b209-1fe771c39c34
[2025-01-07 05:01:36] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:01:36] Production.INFO: CheckInvoice xerov2: INV11155
[2025-01-07 05:01:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11155
[2025-01-07 05:01:39] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:01:39] Production.INFO: Invoice SubTotal 24.200000
[2025-01-07 05:01:39] Production.INFO: Invoice DetTotal 24.2
[2025-01-07 05:01:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="All%20Care%20Insurance%20Brokers%20Ltd."
[2025-01-07 05:01:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:01:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:01:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:01:49] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 11-05-2024 To 12-04-2024",Quantity : 1,UnitAmount : 11.700000,LineAmount : 11.700000},{taxType:"TAX020",AccountCode : 203,"Description": "License for an Unlimited Canada/US Cloud Phone extension",Quantity : 1,UnitAmount : 10.000000,LineAmount : 10.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (9053321362 - 1332 Khalsa Drive 11 Mississauga, ON L5S 0A2 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 05:01:52] Production.INFO: ==== result =====
[2025-01-07 05:01:52] Production.INFO: {
"Id": "af45ed50-5439-4ef7-9fe4-d22a022f787b",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736244112426)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "9f3a973f-c9d1-449e-8785-8fa15b0f17df",
"InvoiceNumber": "INV11155",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 27.35,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "6d542d8f-684c-435c-82fd-abdec98b3c10",
"ContactStatus": "ACTIVE",
"Name": "All Care Insurance Brokers Ltd.",
"FirstName": "Manwinder",
"LastName": "Mangat",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1696240411443+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-05T00:00:00",
"Date": "\/Date(1733356800000+0000)\/",
"DueDateString": "2025-01-04T00:00:00",
"DueDate": "\/Date(1735948800000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "From 11-05-2024 To 12-04-2024",
"UnitAmount": 11.70,
"TaxType": "TAX020",
"TaxAmount": 1.52,
"LineAmount": 11.70,
"AccountCode": "234",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "7247e63a-16c1-488a-a81b-bd4ef7fa76ba",
"AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "License for an Unlimited Canada/US Cloud Phone extension",
"UnitAmount": 10.00,
"TaxType": "TAX020",
"TaxAmount": 1.30,
"LineAmount": 10.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "6cf273e1-7666-4502-8fba-8227405fd2e1",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
},
{
"Description": "e911 address registration (9053321362 - 1332 Khalsa Drive 11 Mississauga, ON L5S 0A2 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "a2570f88-a380-4b4a-b1dd-dc73883cb261",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
}
],
"SubTotal": 24.20,
"TotalTax": 3.15,
"Total": 27.35,
"UpdatedDateUTC": "\/Date(1736244112333+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:01:52] Production.INFO: -- Create Invoice id --9f3a973f-c9d1-449e-8785-8fa15b0f17df
[2025-01-07 05:01:52] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:01:52] Production.INFO: CheckInvoice xerov2: INV10461
[2025-01-07 05:01:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10461
[2025-01-07 05:01:55] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:01:55] Production.INFO: ========================== Exception occured =============================
[2025-01-07 05:01:55] Production.ERROR: exception 'ErrorException' with message 'Undefined offset: 33' in /var/www/html/onswitch.neon.service/app/lib/XeroV2.php:0
Stack trace:
#0 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined offse...', '/var/www/html/o...', 0, Array)
#1 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->GetInvoiceData()
#2 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->CreateInvoice()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/XeroInvoicePostV2.php(0): App\Lib\XeroV2->addInvoices()
#4 [internal function]: App\Console\Commands\XeroInvoicePostV2->fire()
#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\XeroInvoicePostV2), 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-07 05:01:55] Production.INFO: ========================== Exception updated in job and email sent =============================
[2025-01-07 05:01:55] Production.INFO: ==3561== Releasing lock...
[2025-01-07 05:01:55] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10423 #Stops#
[2025-01-07 05:01:55] Production.INFO: 30.75 MB #Memory Used#
[2025-01-07 10:02:01] Production.INFO: ==3648== Lock acquired, processing the job...
[2025-01-07 10:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:02:01] Production.INFO: neon service started
[2025-01-07 10:02:01] Production.INFO: neon service started
[2025-01-07 10:02:01] Production.INFO: ==3648== Releasing lock...
[2025-01-07 10:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:02:02] Production.INFO: ==3650== Lock acquired, processing the job...
[2025-01-07 05:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:02:02] Production.INFO: ==3650== Releasing lock...
[2025-01-07 05:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:02:02] Production.INFO: ==3652== Lock acquired, processing the job...
[2025-01-07 10:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:02:02] Production.INFO: ==3652== Releasing lock...
[2025-01-07 10:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:02:03] Production.INFO: ==3656== Lock acquired, processing the job...
[2025-01-07 05:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:02:03] Production.INFO: ==3654== Lock acquired, processing the job...
[2025-01-07 05:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:02:03] Production.INFO: ==3660== Lock acquired, processing the job...
[2025-01-07 05:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:02:03] Production.INFO: ==3658== Lock acquired, processing the job...
[2025-01-07 05:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:02:03] Production.INFO: Account Balance Start.
[2025-01-07 05:02:03] Production.INFO: CreateAllLog Start
[2025-01-07 05:02:03] Production.INFO: 117
[2025-01-07 05:02:03] Production.INFO: Date 2024-12-08
[2025-01-07 05:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:02:03] Production.INFO: ==3662== Lock acquired, processing the job...
[2025-01-07 05:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:02:03] Production.INFO: Date 2024-12-09
[2025-01-07 05:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:02:03] Production.INFO: Date 2024-12-10
[2025-01-07 05:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:02:03] Production.INFO: ==3665== Lock acquired, processing the job...
[2025-01-07 05:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:02:03] Production.INFO: ==3656== Releasing lock...
[2025-01-07 05:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:02:03] Production.INFO: Date 2024-12-11
[2025-01-07 05:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:02:03] Production.INFO: Date 2024-12-12
[2025-01-07 05:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 05:02:04] Production.INFO: Date 2024-12-13
[2025-01-07 05:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:02:04] Production.INFO: count ==21
[2025-01-07 05:02:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:02:04] Production.ERROR: done
[2025-01-07 05:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:02:04] Production.INFO: count ==21
[2025-01-07 05:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192625') start
[2025-01-07 05:02:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:02:04] Production.ERROR: done
[2025-01-07 05:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192625') end
[2025-01-07 05:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:02:04] Production.INFO: 1
[2025-01-07 05:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:02:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:02:04] Production.INFO: ==3665== Releasing lock...
[2025-01-07 05:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:02:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:02:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:02:04] Production.INFO: Date 2024-12-19
[2025-01-07 05:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:02:04] Production.INFO: Date 2024-12-20
[2025-01-07 05:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:02:04] Production.INFO: Date 2024-12-21
[2025-01-07 05:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:02:04] Production.INFO: Date 2024-12-22
[2025-01-07 05:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:02:04] Production.INFO: Date 2024-12-23
[2025-01-07 05:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:02:04] Production.INFO: Date 2024-12-24
[2025-01-07 05:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:02:04] Production.INFO: Date 2024-12-25
[2025-01-07 05:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:02:04] Production.INFO: Date 2024-12-26
[2025-01-07 05:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:02:04] Production.INFO: Date 2024-12-27
[2025-01-07 05:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:02:04] Production.INFO: Date 2024-12-28
[2025-01-07 05:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:02:04] Production.INFO: Date 2024-12-29
[2025-01-07 05:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:02:04] Production.INFO: Date 2024-12-30
[2025-01-07 05:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:02:04] Production.INFO: Date 2024-12-31
[2025-01-07 05:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:02:04] Production.INFO: Date 2025-01-01
[2025-01-07 05:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:02:04] Production.INFO: Date 2025-01-02
[2025-01-07 05:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:02:04] Production.INFO: Date 2025-01-03
[2025-01-07 05:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:02:04] Production.INFO: Date 2025-01-04
[2025-01-07 05:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:02:04] Production.INFO: Date 2025-01-05
[2025-01-07 05:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:02:04] Production.INFO: Date 2025-01-06
[2025-01-07 05:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:02:04] Production.INFO: Date 2025-01-07
[2025-01-07 05:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:02:05] Production.INFO: Total Charge 0
[2025-01-07 05:02:05] Production.INFO: CreateAllLog End
[2025-01-07 05:02:05] Production.INFO: Account Balance End.
[2025-01-07 05:02:05] Production.ERROR: CronJobId end 12
[2025-01-07 05:02:05] Production.INFO: ==3660== Releasing lock...
[2025-01-07 05:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:02:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:02:05
[end_date_ymd] => 2025-01-07 05:02:05
[RateCDR] => 1
)
[2025-01-07 05:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 02:02:05' and `end` < '2025-01-07 05:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 05:02:10] Production.ERROR: CronJobId end10
[2025-01-07 05:02:10] Production.INFO: ==3658== Releasing lock...
[2025-01-07 05:02:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:02:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:02:13] Production.INFO: call_cost start
[2025-01-07 05:02:13] Production.INFO: call_cost end
[2025-01-07 05:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:02:14] Production.INFO: ==3654== Releasing lock...
[2025-01-07 05:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:02:22] Production.INFO: count ==86
[2025-01-07 05:02:22] Production.ERROR: pbx CDR StartTime 2025-01-07 02:02:05 - End Time 2025-01-07 05:02:05
[2025-01-07 05:02:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192626', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192626', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192626', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192626', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:02:23] Production.INFO: ProcessCDR(1,14192626,1,1,2)
[2025-01-07 05:02:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192626,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:02:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192626,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:02:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192626,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:02:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192626,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:02:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192626', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:02:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192626', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:02:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:02:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:02:27] Production.INFO: ==3662== Releasing lock...
[2025-01-07 05:02:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:02:27] Production.INFO: 28 MB #Memory Used#
[2025-01-07 10:03:02] Production.INFO: ==3757== Lock acquired, processing the job...
[2025-01-07 10:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:03:02] Production.INFO: neon service started
[2025-01-07 10:03:02] Production.INFO: neon service started
[2025-01-07 10:03:02] Production.INFO: ==3757== Releasing lock...
[2025-01-07 10:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:03:02] Production.INFO: ==3761== Lock acquired, processing the job...
[2025-01-07 10:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:03:02] Production.INFO: ==3761== Releasing lock...
[2025-01-07 10:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:03:02] Production.INFO: ==3759== Lock acquired, processing the job...
[2025-01-07 05:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:03:02] Production.INFO: ==3759== Releasing lock...
[2025-01-07 05:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:03:03] Production.INFO: ==3766== Lock acquired, processing the job...
[2025-01-07 05:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:03:03] Production.INFO: ==3770== Lock acquired, processing the job...
[2025-01-07 05:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:03:03] Production.INFO: ==3772== Lock acquired, processing the job...
[2025-01-07 05:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:03:03] Production.INFO: Account Balance Start.
[2025-01-07 05:03:03] Production.INFO: CreateAllLog Start
[2025-01-07 05:03:03] Production.INFO: 117
[2025-01-07 05:03:03] Production.INFO: Date 2024-12-08
[2025-01-07 05:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:03:03] Production.INFO: Date 2024-12-09
[2025-01-07 05:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:03:03] Production.INFO: Date 2024-12-10
[2025-01-07 05:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:03:03] Production.INFO: ==3764== Lock acquired, processing the job...
[2025-01-07 05:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:03:03] Production.INFO: ==3768== Lock acquired, processing the job...
[2025-01-07 05:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:03:04] Production.INFO: Date 2024-12-11
[2025-01-07 05:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:03:04] Production.INFO: ==3774== Lock acquired, processing the job...
[2025-01-07 05:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:03:04] Production.INFO: ==3766== Releasing lock...
[2025-01-07 05:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:03:04] Production.INFO: Date 2024-12-12
[2025-01-07 05:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:03:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:03:04] Production.INFO: Date 2024-12-13
[2025-01-07 05:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:03:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:03:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:03:04] Production.ERROR: done
[2025-01-07 05:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:03:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:03:04] Production.INFO: count ==21
[2025-01-07 05:03:04] Production.INFO: Date 2024-12-17
[2025-01-07 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-07 05:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:03:04] Production.INFO: count ==21
[2025-01-07 05:03:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192630') start
[2025-01-07 05:03:04] Production.ERROR: done
[2025-01-07 05:03:04] Production.INFO: Date 2024-12-19
[2025-01-07 05:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:03:04] Production.INFO: Date 2024-12-20
[2025-01-07 05:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:03:04] Production.INFO: Date 2024-12-21
[2025-01-07 05:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192630') end
[2025-01-07 05:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:03:04] Production.INFO: 1
[2025-01-07 05:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:03:04] Production.INFO: ==3774== Releasing lock...
[2025-01-07 05:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:03:04] Production.INFO: Date 2024-12-22
[2025-01-07 05:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:03:04] Production.INFO: Date 2024-12-23
[2025-01-07 05:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:03:04] Production.INFO: Date 2024-12-24
[2025-01-07 05:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:03:04] Production.INFO: Date 2024-12-25
[2025-01-07 05:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:03:04] Production.INFO: Date 2024-12-26
[2025-01-07 05:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:03:04] Production.INFO: Date 2024-12-27
[2025-01-07 05:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:03:04] Production.INFO: Date 2024-12-28
[2025-01-07 05:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:03:04] Production.INFO: Date 2024-12-29
[2025-01-07 05:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:03:04] Production.INFO: Date 2024-12-30
[2025-01-07 05:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:03:04] Production.INFO: Date 2024-12-31
[2025-01-07 05:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:03:04] Production.INFO: Date 2025-01-01
[2025-01-07 05:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:03:04] Production.INFO: Date 2025-01-02
[2025-01-07 05:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:03:04] Production.INFO: Date 2025-01-03
[2025-01-07 05:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:03:04] Production.INFO: Date 2025-01-04
[2025-01-07 05:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:03:04] Production.INFO: Date 2025-01-05
[2025-01-07 05:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:03:04] Production.INFO: Date 2025-01-06
[2025-01-07 05:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:03:05] Production.INFO: Date 2025-01-07
[2025-01-07 05:03:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:03:05] Production.INFO: Total Charge 0
[2025-01-07 05:03:05] Production.INFO: CreateAllLog End
[2025-01-07 05:03:05] Production.INFO: Account Balance End.
[2025-01-07 05:03:05] Production.ERROR: CronJobId end 12
[2025-01-07 05:03:05] Production.INFO: ==3770== Releasing lock...
[2025-01-07 05:03:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:03:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:03:05
[end_date_ymd] => 2025-01-07 05:03:05
[RateCDR] => 1
)
[2025-01-07 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-07 02:03:05' and `end` < '2025-01-07 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-07 05:03:11] Production.ERROR: CronJobId end10
[2025-01-07 05:03:11] Production.INFO: ==3768== Releasing lock...
[2025-01-07 05:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:03:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:03:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:03:13] Production.INFO: call_cost start
[2025-01-07 05:03:13] Production.INFO: call_cost end
[2025-01-07 05:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:03:14] Production.INFO: ==3764== Releasing lock...
[2025-01-07 05:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:03:20] Production.INFO: count ==86
[2025-01-07 05:03:20] Production.ERROR: pbx CDR StartTime 2025-01-07 02:03:05 - End Time 2025-01-07 05:03:05
[2025-01-07 05:03:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192631', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192631', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192631', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192631', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:03:20] Production.INFO: ProcessCDR(1,14192631,1,1,2)
[2025-01-07 05:03:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192631,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:03:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192631,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:03:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192631,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:03:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192631,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192631', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192631', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:03:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:03:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:03:23] Production.INFO: ==3772== Releasing lock...
[2025-01-07 05:03:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:03:23] Production.INFO: 28 MB #Memory Used#
[2025-01-07 10:04:01] Production.INFO: ==3828== Lock acquired, processing the job...
[2025-01-07 10:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:04:01] Production.INFO: neon service started
[2025-01-07 10:04:01] Production.INFO: neon service started
[2025-01-07 10:04:01] Production.INFO: ==3828== Releasing lock...
[2025-01-07 10:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:04:01] Production.INFO: ==3830== Lock acquired, processing the job...
[2025-01-07 05:04:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:04:02] Production.INFO: ==3830== Releasing lock...
[2025-01-07 05:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:04:02] Production.INFO: ==3832== Lock acquired, processing the job...
[2025-01-07 10:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:04:02] Production.INFO: ==3832== Releasing lock...
[2025-01-07 10:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:04:03] Production.INFO: ==3840== Lock acquired, processing the job...
[2025-01-07 05:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:04:03] Production.INFO: ==3843== Lock acquired, processing the job...
[2025-01-07 05:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:04:03] Production.INFO: ==3835== Lock acquired, processing the job...
[2025-01-07 05:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:04:03] Production.INFO: ==3837== Lock acquired, processing the job...
[2025-01-07 05:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:04:03] Production.INFO: ==3845== Lock acquired, processing the job...
[2025-01-07 05:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:04:03] Production.INFO: Account Balance Start.
[2025-01-07 05:04:03] Production.INFO: CreateAllLog Start
[2025-01-07 05:04:03] Production.INFO: 117
[2025-01-07 05:04:03] Production.INFO: Date 2024-12-08
[2025-01-07 05:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:04:03] Production.INFO: ==3847== Lock acquired, processing the job...
[2025-01-07 05:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:04:03] Production.INFO: Date 2024-12-09
[2025-01-07 05:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:04:03] Production.INFO: Date 2024-12-10
[2025-01-07 05:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:04:03] Production.INFO: Date 2024-12-11
[2025-01-07 05:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:04:03] Production.INFO: count ==21
[2025-01-07 05:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:04:03] Production.INFO: count ==21
[2025-01-07 05:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192635') start
[2025-01-07 05:04:03] Production.INFO: ==3837== Releasing lock...
[2025-01-07 05:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:04:03] Production.INFO: Date 2024-12-12
[2025-01-07 05:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:04:03] Production.INFO: Date 2024-12-13
[2025-01-07 05:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192635') end
[2025-01-07 05:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:04:03] Production.INFO: 1
[2025-01-07 05:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:04:03] Production.ERROR: done
[2025-01-07 05:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:04:03] Production.INFO: ==3847== Releasing lock...
[2025-01-07 05:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:04:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:04:03] Production.INFO: Date 2024-12-14
[2025-01-07 05:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:04:03] Production.INFO: Date 2024-12-15
[2025-01-07 05:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:04:04] Production.ERROR: done
[2025-01-07 05:04:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:04:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:04:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:04:04] Production.INFO: Date 2024-12-19
[2025-01-07 05:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:04:04] Production.INFO: Date 2024-12-20
[2025-01-07 05:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:04:04] Production.INFO: Date 2024-12-21
[2025-01-07 05:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:04:04] Production.INFO: Date 2024-12-22
[2025-01-07 05:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:04:04] Production.INFO: Date 2024-12-23
[2025-01-07 05:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:04:04] Production.INFO: Date 2024-12-24
[2025-01-07 05:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:04:04] Production.INFO: Date 2024-12-25
[2025-01-07 05:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:04:04] Production.INFO: Date 2024-12-26
[2025-01-07 05:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:04:04] Production.INFO: Date 2024-12-27
[2025-01-07 05:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:04:04] Production.INFO: Date 2024-12-28
[2025-01-07 05:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:04:04] Production.INFO: Date 2024-12-29
[2025-01-07 05:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:04:04] Production.INFO: Date 2024-12-30
[2025-01-07 05:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:04:04] Production.INFO: Date 2024-12-31
[2025-01-07 05:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:04:04] Production.INFO: Date 2025-01-01
[2025-01-07 05:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:04:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:04:04
[end_date_ymd] => 2025-01-07 05:04:04
[RateCDR] => 1
)
[2025-01-07 05:04:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 02:04:04' and `end` < '2025-01-07 05:04:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 05:04:05] Production.INFO: Date 2025-01-02
[2025-01-07 05:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:04:05] Production.INFO: Date 2025-01-03
[2025-01-07 05:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:04:05] Production.INFO: Date 2025-01-04
[2025-01-07 05:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:04:05] Production.INFO: Date 2025-01-05
[2025-01-07 05:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:04:05] Production.INFO: Date 2025-01-06
[2025-01-07 05:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:04:05] Production.INFO: Date 2025-01-07
[2025-01-07 05:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:04:05] Production.INFO: Total Charge 0
[2025-01-07 05:04:05] Production.INFO: CreateAllLog End
[2025-01-07 05:04:05] Production.INFO: Account Balance End.
[2025-01-07 05:04:05] Production.ERROR: CronJobId end 12
[2025-01-07 05:04:05] Production.INFO: ==3843== Releasing lock...
[2025-01-07 05:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:04:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:04:12] Production.ERROR: CronJobId end10
[2025-01-07 05:04:12] Production.INFO: ==3840== Releasing lock...
[2025-01-07 05:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:04:13] Production.INFO: call_cost start
[2025-01-07 05:04:13] Production.INFO: call_cost end
[2025-01-07 05:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:04:14] Production.INFO: ==3835== Releasing lock...
[2025-01-07 05:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:04:18] Production.INFO: count ==86
[2025-01-07 05:04:18] Production.ERROR: pbx CDR StartTime 2025-01-07 02:04:04 - End Time 2025-01-07 05:04:04
[2025-01-07 05:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192636', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192636', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192636', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192636', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:04:18] Production.INFO: ProcessCDR(1,14192636,1,1,2)
[2025-01-07 05:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192636,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192636,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192636,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192636,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192636', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192636', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:04:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:04:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:04:21] Production.INFO: ==3845== Releasing lock...
[2025-01-07 05:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:04:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 10:05:02] Production.INFO: ==3903== Lock acquired, processing the job...
[2025-01-07 10:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:05:02] Production.INFO: neon service started
[2025-01-07 10:05:02] Production.INFO: neon service started
[2025-01-07 10:05:02] Production.INFO: ==3903== Releasing lock...
[2025-01-07 10:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:05:02] Production.INFO: ==3905== Lock acquired, processing the job...
[2025-01-07 05:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:05:02] Production.INFO: ==3905== Releasing lock...
[2025-01-07 05:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:05:02] Production.INFO: ==3907== Lock acquired, processing the job...
[2025-01-07 10:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:05:02] Production.INFO: ==3907== Releasing lock...
[2025-01-07 10:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:05:03] Production.INFO: ==3916== Lock acquired, processing the job...
[2025-01-07 05:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:05:03] Production.INFO: ==3920== Lock acquired, processing the job...
[2025-01-07 05:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:05:03] Production.INFO: ==3910== Lock acquired, processing the job...
[2025-01-07 05:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:05:03] Production.INFO: ==3912== Lock acquired, processing the job...
[2025-01-07 05:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:05:03] Production.INFO: Account Balance Start.
[2025-01-07 05:05:03] Production.INFO: CreateAllLog Start
[2025-01-07 05:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:05:03] Production.INFO: 117
[2025-01-07 05:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:05:03] Production.INFO: Date 2024-12-08
[2025-01-07 05:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:05:03] Production.INFO: count ==21
[2025-01-07 05:05:03] Production.INFO: ==3914== Lock acquired, processing the job...
[2025-01-07 05:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:05:03] Production.INFO: count ==21
[2025-01-07 05:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192637') start
[2025-01-07 05:05:03] Production.INFO: Date 2024-12-09
[2025-01-07 05:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:05:03] Production.INFO: ==3918== Lock acquired, processing the job...
[2025-01-07 05:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:05:03] Production.INFO: Date 2024-12-10
[2025-01-07 05:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:05:03] Production.INFO: Date 2024-12-11
[2025-01-07 05:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:05:03] Production.INFO: Date 2024-12-12
[2025-01-07 05:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192637') end
[2025-01-07 05:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:05:03] Production.INFO: 1
[2025-01-07 05:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:05:03] Production.INFO: Date 2024-12-13
[2025-01-07 05:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:05:04] Production.INFO: ==3920== Releasing lock...
[2025-01-07 05:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:05:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:05:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:05:04] Production.INFO: ==3912== Releasing lock...
[2025-01-07 05:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:05:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:05:04] Production.ERROR: done
[2025-01-07 05:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:05:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:05:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:05:04] Production.INFO: Date 2024-12-19
[2025-01-07 05:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:05:04] Production.INFO: Date 2024-12-20
[2025-01-07 05:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:05:04] Production.INFO: Date 2024-12-21
[2025-01-07 05:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:05:04] Production.ERROR: done
[2025-01-07 05:05:04] Production.INFO: Date 2024-12-22
[2025-01-07 05:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:05:04] Production.INFO: Date 2024-12-23
[2025-01-07 05:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:05:04] Production.INFO: Date 2024-12-24
[2025-01-07 05:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:05:04] Production.INFO: Date 2024-12-25
[2025-01-07 05:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:05:04] Production.INFO: Date 2024-12-26
[2025-01-07 05:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:05:04] Production.INFO: Date 2024-12-27
[2025-01-07 05:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:05:04] Production.INFO: Date 2024-12-28
[2025-01-07 05:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:05:04] Production.INFO: Date 2024-12-29
[2025-01-07 05:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:05:04] Production.INFO: Date 2024-12-30
[2025-01-07 05:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:05:04] Production.INFO: Date 2024-12-31
[2025-01-07 05:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:05:04] Production.INFO: Date 2025-01-01
[2025-01-07 05:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:05:04] Production.INFO: Date 2025-01-02
[2025-01-07 05:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:05:04] Production.INFO: Date 2025-01-03
[2025-01-07 05:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:05:04] Production.INFO: Date 2025-01-04
[2025-01-07 05:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:05:04] Production.INFO: Date 2025-01-05
[2025-01-07 05:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:05:04] Production.INFO: Date 2025-01-06
[2025-01-07 05:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:05:04] Production.INFO: Date 2025-01-07
[2025-01-07 05:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:05:04] Production.INFO: Total Charge 0
[2025-01-07 05:05:04] Production.INFO: CreateAllLog End
[2025-01-07 05:05:04] Production.INFO: Account Balance End.
[2025-01-07 05:05:04] Production.ERROR: CronJobId end 12
[2025-01-07 05:05:04] Production.INFO: ==3916== Releasing lock...
[2025-01-07 05:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:05:05
[end_date_ymd] => 2025-01-07 05:05:05
[RateCDR] => 1
)
[2025-01-07 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-07 02:05:05' and `end` < '2025-01-07 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-07 05:05:11] Production.ERROR: CronJobId end10
[2025-01-07 05:05:11] Production.INFO: ==3914== Releasing lock...
[2025-01-07 05:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:05:13] Production.INFO: call_cost start
[2025-01-07 05:05:13] Production.INFO: call_cost end
[2025-01-07 05:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:05:14] Production.INFO: ==3910== Releasing lock...
[2025-01-07 05:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:05:18] Production.INFO: count ==85
[2025-01-07 05:05:18] Production.ERROR: pbx CDR StartTime 2025-01-07 02:05:05 - End Time 2025-01-07 05:05:05
[2025-01-07 05:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192641', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192641', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192641', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192641', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:05:18] Production.INFO: ProcessCDR(1,14192641,1,1,2)
[2025-01-07 05:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192641,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192641,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192641,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192641,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192641', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192641', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:05:21] Production.INFO: ==3918== Releasing lock...
[2025-01-07 05:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:05:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 10:06:01] Production.INFO: ==3974== Lock acquired, processing the job...
[2025-01-07 10:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:06:01] Production.INFO: neon service started
[2025-01-07 10:06:01] Production.INFO: neon service started
[2025-01-07 10:06:01] Production.INFO: ==3974== Releasing lock...
[2025-01-07 10:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:06:01] Production.INFO: ==3976== Lock acquired, processing the job...
[2025-01-07 05:06:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:06:02] Production.INFO: ==3976== Releasing lock...
[2025-01-07 05:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:06:02] Production.INFO: ==3978== Lock acquired, processing the job...
[2025-01-07 10:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:06:02] Production.INFO: ==3978== Releasing lock...
[2025-01-07 10:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:06:03] Production.INFO: ==3988== Lock acquired, processing the job...
[2025-01-07 05:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:06:03] Production.INFO: ==3990== Lock acquired, processing the job...
[2025-01-07 05:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:06:03] Production.INFO: ==3980== Lock acquired, processing the job...
[2025-01-07 05:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 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-07 05:06:03] Production.INFO: ==3984== Lock acquired, processing the job...
[2025-01-07 05:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:06:03] Production.INFO: ==3982== Lock acquired, processing the job...
[2025-01-07 05:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:06:03] Production.INFO: ==3986== Lock acquired, processing the job...
[2025-01-07 05:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:06:03] Production.ERROR: done
[2025-01-07 05:06:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:06:03] Production.INFO: Account Balance Start.
[2025-01-07 05:06:03] Production.INFO: CreateAllLog Start
[2025-01-07 05:06:03] Production.INFO: 117
[2025-01-07 05:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:06:03] Production.INFO: Date 2024-12-08
[2025-01-07 05:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:06:03] Production.ERROR: done
[2025-01-07 05:06:03] Production.INFO: Date 2024-12-09
[2025-01-07 05:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:06:03] Production.INFO: ==3982== Releasing lock...
[2025-01-07 05:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:06:03] Production.INFO: Date 2024-12-10
[2025-01-07 05:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:06:03] Production.INFO: Date 2024-12-11
[2025-01-07 05:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:06:03] Production.INFO: Date 2024-12-12
[2025-01-07 05:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:06:03] Production.INFO: Date 2024-12-13
[2025-01-07 05:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:06:03] Production.INFO: Date 2024-12-14
[2025-01-07 05:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:06:03] Production.INFO: Date 2024-12-15
[2025-01-07 05:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:06:03] Production.INFO: Date 2024-12-16
[2025-01-07 05:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:06:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:06:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:06:04] Production.INFO: Date 2024-12-19
[2025-01-07 05:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:06:04] Production.INFO: Date 2024-12-20
[2025-01-07 05:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:06:04] Production.INFO: Date 2024-12-21
[2025-01-07 05:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:06:04] Production.INFO: Date 2024-12-22
[2025-01-07 05:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:06:04] Production.INFO: count ==21
[2025-01-07 05:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:06:04] Production.INFO: Date 2024-12-23
[2025-01-07 05:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:06:04] Production.INFO: count ==21
[2025-01-07 05:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192642') start
[2025-01-07 05:06:04] Production.INFO: Date 2024-12-24
[2025-01-07 05:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:06:04] Production.INFO: Date 2024-12-25
[2025-01-07 05:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:06:04] Production.INFO: Date 2024-12-26
[2025-01-07 05:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192642') end
[2025-01-07 05:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:06:04] Production.INFO: 1
[2025-01-07 05:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:06:04] Production.INFO: ==3990== Releasing lock...
[2025-01-07 05:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:06:04] Production.INFO: Date 2024-12-27
[2025-01-07 05:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:06:04] Production.INFO: Date 2024-12-28
[2025-01-07 05:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:06:04] Production.INFO: Date 2024-12-29
[2025-01-07 05:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:06:04] Production.INFO: Date 2024-12-30
[2025-01-07 05:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:06:04] Production.INFO: Date 2024-12-31
[2025-01-07 05:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:06:04] Production.INFO: Date 2025-01-01
[2025-01-07 05:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:06:04] Production.INFO: Date 2025-01-02
[2025-01-07 05:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:06:04] Production.INFO: Date 2025-01-03
[2025-01-07 05:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:06:04] Production.INFO: Date 2025-01-04
[2025-01-07 05:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:06:04] Production.INFO: Date 2025-01-05
[2025-01-07 05:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:06:04] Production.INFO: Date 2025-01-06
[2025-01-07 05:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:06:04] Production.INFO: Date 2025-01-07
[2025-01-07 05:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:06:04] Production.INFO: Total Charge 0
[2025-01-07 05:06:04] Production.INFO: CreateAllLog End
[2025-01-07 05:06:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:06:04
[end_date_ymd] => 2025-01-07 05:06:04
[RateCDR] => 1
)
[2025-01-07 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-07 02:06:04' and `end` < '2025-01-07 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-07 05:06:05] Production.INFO: Account Balance End.
[2025-01-07 05:06:05] Production.ERROR: CronJobId end 12
[2025-01-07 05:06:05] Production.INFO: ==3986== Releasing lock...
[2025-01-07 05:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:06:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:06:10] Production.ERROR: CronJobId end10
[2025-01-07 05:06:10] Production.INFO: ==3984== Releasing lock...
[2025-01-07 05:06:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:06:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:06:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:06:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:06:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:06:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:06:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:06:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:06:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:06:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:06:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:06:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:06:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:06:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:06:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:06:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:06:12] Production.INFO: call_cost start
[2025-01-07 05:06:12] Production.INFO: call_cost end
[2025-01-07 05:06:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:06:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:06:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:06:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:06:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:06:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:06:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:06:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:06:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:06:13] Production.INFO: ==3980== Releasing lock...
[2025-01-07 05:06:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:06:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:06:20] Production.INFO: count ==85
[2025-01-07 05:06:20] Production.ERROR: pbx CDR StartTime 2025-01-07 02:06:04 - End Time 2025-01-07 05:06:04
[2025-01-07 05:06:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192646', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192646', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192646', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192646', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:06:20] Production.INFO: ProcessCDR(1,14192646,1,1,2)
[2025-01-07 05:06:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192646,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:06:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192646,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:06:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192646,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:06:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192646,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:06:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192646', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:06:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192646', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:06:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:06:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:06:24] Production.INFO: ==3988== Releasing lock...
[2025-01-07 05:06:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:06:24] Production.INFO: 28 MB #Memory Used#
[2025-01-07 10:07:01] Production.INFO: ==4048== Lock acquired, processing the job...
[2025-01-07 10:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:07:01] Production.INFO: neon service started
[2025-01-07 10:07:01] Production.INFO: neon service started
[2025-01-07 10:07:01] Production.INFO: ==4048== Releasing lock...
[2025-01-07 10:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:07:02] Production.INFO: ==4052== Lock acquired, processing the job...
[2025-01-07 10:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:07:02] Production.INFO: ==4052== Releasing lock...
[2025-01-07 10:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:07:02] Production.INFO: ==4050== Lock acquired, processing the job...
[2025-01-07 05:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:07:02] Production.INFO: ==4050== Releasing lock...
[2025-01-07 05:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:07:03] Production.INFO: ==4054== Lock acquired, processing the job...
[2025-01-07 05:07:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10424 #Starts#
[2025-01-07 05:07:03] Production.INFO: -- Xero Api Check --
[2025-01-07 05:07:03] Production.INFO: ==4056== Lock acquired, processing the job...
[2025-01-07 05:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:07:03] Production.INFO: ==4061== Lock acquired, processing the job...
[2025-01-07 05:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:07:03] Production.INFO: ==4058== Lock acquired, processing the job...
[2025-01-07 05:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:07:03] Production.INFO: ==4065== Lock acquired, processing the job...
[2025-01-07 05:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:07:03] Production.INFO: ==4067== Lock acquired, processing the job...
[2025-01-07 05:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:07:03] Production.INFO: ==4063== Lock acquired, processing the job...
[2025-01-07 05:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:07:03] Production.INFO: Account Balance Start.
[2025-01-07 05:07:03] Production.INFO: CreateAllLog Start
[2025-01-07 05:07:03] Production.INFO: 117
[2025-01-07 05:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:07:03] Production.INFO: count ==21
[2025-01-07 05:07:04] Production.INFO: Date 2024-12-08
[2025-01-07 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-07 05:07:04] Production.ERROR: done
[2025-01-07 05:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:07:04] Production.INFO: count ==21
[2025-01-07 05:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:07:04] Production.INFO: ==4058== Releasing lock...
[2025-01-07 05:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192649') start
[2025-01-07 05:07:04] Production.ERROR: done
[2025-01-07 05:07:04] Production.INFO: Date 2024-12-09
[2025-01-07 05:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:07:04] Production.INFO: Date 2024-12-10
[2025-01-07 05:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:07:04] Production.INFO: Date 2024-12-11
[2025-01-07 05:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192649') end
[2025-01-07 05:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:07:04] Production.INFO: 1
[2025-01-07 05:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:07:04] Production.INFO: Date 2024-12-12
[2025-01-07 05:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:07:04] Production.INFO: ==4067== Releasing lock...
[2025-01-07 05:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:07:04] Production.INFO: Date 2024-12-13
[2025-01-07 05:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:07:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:07:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:07:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:07:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:07:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:07:04] Production.INFO: Date 2024-12-19
[2025-01-07 05:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:07:04] Production.INFO: Date 2024-12-20
[2025-01-07 05:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:07:04] Production.INFO: Date 2024-12-21
[2025-01-07 05:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:07:04] Production.INFO: Date 2024-12-22
[2025-01-07 05:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:07:04] Production.INFO: Date 2024-12-23
[2025-01-07 05:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:07:04] Production.INFO: Date 2024-12-24
[2025-01-07 05:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:07:04] Production.INFO: Date 2024-12-25
[2025-01-07 05:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:07:04] Production.INFO: Date 2024-12-26
[2025-01-07 05:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:07:04] Production.INFO: Date 2024-12-27
[2025-01-07 05:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:07:04] Production.INFO: Date 2024-12-28
[2025-01-07 05:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:07:04] Production.INFO: Date 2024-12-29
[2025-01-07 05:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:07:04] Production.INFO: Date 2024-12-30
[2025-01-07 05:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:07:04] Production.INFO: Date 2024-12-31
[2025-01-07 05:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:07:04] Production.INFO: Date 2025-01-01
[2025-01-07 05:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:07:05] Production.INFO: Date 2025-01-02
[2025-01-07 05:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:07:05] Production.INFO: Date 2025-01-03
[2025-01-07 05:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:07:05] Production.INFO: Date 2025-01-04
[2025-01-07 05:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:07:05] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 856
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 1.468337
[namelookup_time] => 0.545887
[connect_time] => 0.645774
[pretransfer_time] => 1.059473
[size_upload] => 82
[size_download] => 2755
[speed_download] => 1876
[speed_upload] => 55
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 1.468292
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 2.22.251.42
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 34662
)
[2025-01-07 05:07:05] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDQ0MjQsImV4cCI6MTczNjI0NDcyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ0NDI0LCJhdF9oYXNoIjoieS1GMFZNc1dtR3B3dGVBOGQxNGkzQSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.yUYJbLJq3msiBTyw4bPb_cK3OSwjQXQh5mMCH35M1ItRrrmki_1C_uLeGleeztIsZKLXTbCMT8RDnO8ZNIbYvZB2Id8lq89va8fOmx6cWuZigk6AAAUcjm5aS3KJsvbnPD-y2ZT3k6Zi45NrY6Zi_WuGifPsHCe3EClqWs9hAO5vKcThovUyk_VWe31MQaYJEvR8Jnv638DfQJIeJMcBW6gt-LWJsVaDm9VRl29P24hGTovLnkStfhVq6Nbpamap9c3jaOZ5NoP4Li8UzKQyH2Vee9GkfOruo26HD8AVeBAYMnYa4m0_MhJ9EWMct88iGEE6lopdfLD3OxglJOXiqg
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDQ0MjQsImV4cCI6MTczNjI0NjIyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.XaAh52zOfVS0gPqw231J8aspjyhAVEankeWKPUMiel-PleZIZM6aI8osQCYNuZw65k3zWApSgOSRwcxfP2c6id94A1CGqPryl5tJrm6eJ_mB3TPEX8l6NiKEbq1QVShRMSxynxIxZhj08udw8rKP3djj6Ehhi_gg_cvdImvXMhsx9aDgM4idKhPm2LKaGtW52f7zQNPtKVaqSh-6AbrbrfqlyUIi8SbpqIw86vuTWj1CsaYWZpzu5vUFd0nC-DAiOjlkHKr2qYpmFZi2aus_awGZlMhi4cgNZ_r_xQeq-fdGaKmIIAw6-5stJrm5LQrI5mWdcmVA7eohNGccMOW0dg
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => Ea7A6-jkUcTdM2EuS00b-ZyTP16SdUiiSEZePE0vJTY
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 05:07:05] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDQ0MjQsImV4cCI6MTczNjI0NDcyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ0NDI0LCJhdF9oYXNoIjoieS1GMFZNc1dtR3B3dGVBOGQxNGkzQSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.yUYJbLJq3msiBTyw4bPb_cK3OSwjQXQh5mMCH35M1ItRrrmki_1C_uLeGleeztIsZKLXTbCMT8RDnO8ZNIbYvZB2Id8lq89va8fOmx6cWuZigk6AAAUcjm5aS3KJsvbnPD-y2ZT3k6Zi45NrY6Zi_WuGifPsHCe3EClqWs9hAO5vKcThovUyk_VWe31MQaYJEvR8Jnv638DfQJIeJMcBW6gt-LWJsVaDm9VRl29P24hGTovLnkStfhVq6Nbpamap9c3jaOZ5NoP4Li8UzKQyH2Vee9GkfOruo26HD8AVeBAYMnYa4m0_MhJ9EWMct88iGEE6lopdfLD3OxglJOXiqg
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDQ0MjQsImV4cCI6MTczNjI0NjIyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.XaAh52zOfVS0gPqw231J8aspjyhAVEankeWKPUMiel-PleZIZM6aI8osQCYNuZw65k3zWApSgOSRwcxfP2c6id94A1CGqPryl5tJrm6eJ_mB3TPEX8l6NiKEbq1QVShRMSxynxIxZhj08udw8rKP3djj6Ehhi_gg_cvdImvXMhsx9aDgM4idKhPm2LKaGtW52f7zQNPtKVaqSh-6AbrbrfqlyUIi8SbpqIw86vuTWj1CsaYWZpzu5vUFd0nC-DAiOjlkHKr2qYpmFZi2aus_awGZlMhi4cgNZ_r_xQeq-fdGaKmIIAw6-5stJrm5LQrI5mWdcmVA7eohNGccMOW0dg
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => Ea7A6-jkUcTdM2EuS00b-ZyTP16SdUiiSEZePE0vJTY
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 05:07:05] Production.INFO: Date 2025-01-05
[2025-01-07 05:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:07:05] Production.INFO: AccountID 65
[2025-01-07 05:07:05] Production.INFO: AccountName AOPG Inc.
[2025-01-07 05:07:05] Production.INFO: Checkcustomer
[2025-01-07 05:07:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="AOPG%20Inc."
[2025-01-07 05:07:05] Production.INFO: Date 2025-01-06
[2025-01-07 05:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:07:05] Production.INFO: Date 2025-01-07
[2025-01-07 05:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:07:05] Production.INFO: Total Charge 0
[2025-01-07 05:07:05] Production.INFO: CreateAllLog End
[2025-01-07 05:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:07:05
[end_date_ymd] => 2025-01-07 05:07:05
[RateCDR] => 1
)
[2025-01-07 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-07 02:07:05' and `end` < '2025-01-07 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-07 05:07:05] Production.INFO: Account Balance End.
[2025-01-07 05:07:05] Production.ERROR: CronJobId end 12
[2025-01-07 05:07:05] Production.INFO: ==4063== Releasing lock...
[2025-01-07 05:07:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:07:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:07:07] Production.INFO: Contact id print CheckCustomer Case===d7433a1b-abec-492c-bcf0-79c422ee5e45
[2025-01-07 05:07:07] Production.INFO: -- count --1
[2025-01-07 05:07:07] Production.INFO: AccountID 115
[2025-01-07 05:07:07] Production.INFO: AccountName AromaCafeBayviewVillage
[2025-01-07 05:07:07] Production.INFO: Checkcustomer
[2025-01-07 05:07:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="AromaCafeBayviewVillage"
[2025-01-07 05:07:09] Production.INFO: Contact id print CheckCustomer Case===60b24dce-a269-4d1e-8535-3506428c9ffb
[2025-01-07 05:07:09] Production.INFO: -- count --1
[2025-01-07 05:07:09] Production.INFO: AccountID 160
[2025-01-07 05:07:09] Production.INFO: AccountName Avani Rolls & Bowls
[2025-01-07 05:07:09] Production.INFO: Checkcustomer
[2025-01-07 05:07:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Avani%20Rolls%20%26%20Bowls"
[2025-01-07 05:07:11] Production.ERROR: CronJobId end10
[2025-01-07 05:07:11] Production.INFO: ==4061== Releasing lock...
[2025-01-07 05:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:07:13] Production.INFO: Contact id print CheckCustomer Case===08d693ac-f648-4d13-baf5-18b2b59d959f
[2025-01-07 05:07:13] Production.INFO: -- count --1
[2025-01-07 05:07:13] Production.INFO: AccountID 160
[2025-01-07 05:07:13] Production.INFO: AccountName Avani Rolls & Bowls
[2025-01-07 05:07:13] Production.INFO: Checkcustomer
[2025-01-07 05:07:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Avani%20Rolls%20%26%20Bowls"
[2025-01-07 05:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:07:14] Production.INFO: call_cost start
[2025-01-07 05:07:14] Production.INFO: call_cost end
[2025-01-07 05:07:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:07:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:07:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:07:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:07:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:07:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:07:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:07:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:07:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:07:15] Production.INFO: ==4056== Releasing lock...
[2025-01-07 05:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:07:15] Production.INFO: Contact id print CheckCustomer Case===08d693ac-f648-4d13-baf5-18b2b59d959f
[2025-01-07 05:07:15] Production.INFO: -- count --1
[2025-01-07 05:07:15] Production.INFO: AccountID 79
[2025-01-07 05:07:15] Production.INFO: AccountName Axxima
[2025-01-07 05:07:15] Production.INFO: Checkcustomer
[2025-01-07 05:07:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Axxima"
[2025-01-07 05:07:18] Production.INFO: Contact id print CheckCustomer Case===5a62af79-4890-44a7-9d0e-f81cfe9497c1
[2025-01-07 05:07:18] Production.INFO: -- count --1
[2025-01-07 05:07:18] Production.INFO: -- Xero Add Inovice --
[2025-01-07 05:07:18] Production.INFO: CheckInvoice xerov2: INV11184
[2025-01-07 05:07:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11184
[2025-01-07 05:07:21] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:07:21] Production.INFO: Invoice SubTotal 23.760000
[2025-01-07 05:07:21] Production.INFO: Invoice DetTotal 23.76
[2025-01-07 05:07:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="AOPG%20Inc."
[2025-01-07 05:07:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:07:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:07:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:07:30] Production.INFO: count ==85
[2025-01-07 05:07:30] Production.ERROR: pbx CDR StartTime 2025-01-07 02:07:05 - End Time 2025-01-07 05:07:05
[2025-01-07 05:07:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:07:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192651', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:07:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192651', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:07:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192651', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:07:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192651', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:07:30] Production.INFO: ProcessCDR(1,14192651,1,1,2)
[2025-01-07 05:07:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192651,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:07:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192651,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:07:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192651,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:07:32] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 11-09-2024 To 12-08-2024",Quantity : 1,UnitAmount : 0.260000,LineAmount : 0.260000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 3,UnitAmount : 7.000000,LineAmount : 21.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (16473177297 - 69 KINGSGATE CRES MOUNT ALBERT, ON L0G1M0)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 05:07:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192651,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:07:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192651', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:07:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192651', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:07:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:07:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:07:33] Production.INFO: ==4065== Releasing lock...
[2025-01-07 05:07:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:07:33] Production.INFO: 28 MB #Memory Used#
[2025-01-07 05:07:35] Production.INFO: ==== result =====
[2025-01-07 05:07:35] Production.INFO: {
"Id": "b2893f65-7b2c-4a0e-9a3f-b8f4816ee574",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736244455245)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "2ab4f2cf-2fd5-4e73-beb8-d5af84508bb4",
"InvoiceNumber": "INV11184",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 26.85,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "d7433a1b-abec-492c-bcf0-79c422ee5e45",
"ContactStatus": "ACTIVE",
"Name": "AOPG Inc.",
"FirstName": "John",
"LastName": "Caswell",
"EmailAddress": "jec@aopginc.com",
"BankAccountDetails": "",
"TaxNumber": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"AddressLine1": "69 Kingsgate Crescent",
"AddressLine2": "",
"AddressLine3": "",
"AddressLine4": "",
"City": "Mount Albert",
"Region": "ON",
"PostalCode": "L0G 1M0",
"Country": "Canada",
"AttentionTo": "John Caswell"
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "(647) 3177297",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "6473177297",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1487615948263+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-09T00:00:00",
"Date": "\/Date(1733702400000+0000)\/",
"DueDateString": "2025-01-08T00:00:00",
"DueDate": "\/Date(1736294400000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "From 11-09-2024 To 12-08-2024",
"UnitAmount": 0.26,
"TaxType": "TAX020",
"TaxAmount": 0.03,
"LineAmount": 0.26,
"AccountCode": "234",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "51b7dabb-6150-4881-89d8-d4e221dfb236",
"AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "License for a Pay As You Go Cloud Phone extension",
"UnitAmount": 7.00,
"TaxType": "TAX020",
"TaxAmount": 2.73,
"LineAmount": 21.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 3.0000,
"DiscountRate": 0.00,
"LineItemID": "8468eb7d-1066-4f9b-81f2-380c5251485b",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (16473177297 - 69 KINGSGATE CRES MOUNT ALBERT, ON L0G1M0)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "89b02100-8721-4115-b5e1-caca78d65234",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 23.76,
"TotalTax": 3.09,
"Total": 26.85,
"UpdatedDateUTC": "\/Date(1736244455150+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:07:35] Production.INFO: -- Create Invoice id --2ab4f2cf-2fd5-4e73-beb8-d5af84508bb4
[2025-01-07 05:07:35] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:07:35] Production.INFO: CheckInvoice xerov2: INV11256
[2025-01-07 05:07:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11256
[2025-01-07 05:07:38] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:07:38] Production.INFO: Invoice SubTotal 80.460000
[2025-01-07 05:07:38] Production.INFO: Invoice DetTotal 80.46
[2025-01-07 05:07:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="AromaCafeBayviewVillage"
[2025-01-07 05:07:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:07:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:07:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:07:47] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "LTE Internet Failover Service (2901 Bayview Ave, Unit A11, North York, ON M2K 1E6) - 2GB Usage Included",Quantity : 1,UnitAmount : 80.460000,LineAmount : 80.460000}
[2025-01-07 05:07:50] Production.INFO: ==== result =====
[2025-01-07 05:07:50] Production.INFO: {
"Id": "b670c7e3-7906-4c45-a23c-d4964f54028f",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736244470329)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "da8ab048-5b87-4348-90b7-f07a3949e550",
"InvoiceNumber": "INV11256",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 90.92,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "60b24dce-a269-4d1e-8535-3506428c9ffb",
"ContactStatus": "ACTIVE",
"Name": "AromaCafeBayviewVillage",
"FirstName": "Azadeh",
"LastName": "Matinsadeshi",
"EmailAddress": "azadeh@aroma.ca",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1580836759787+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-22T00:00:00",
"Date": "\/Date(1734825600000+0000)\/",
"DueDateString": "2025-01-21T00:00:00",
"DueDate": "\/Date(1737417600000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "LTE Internet Failover Service (2901 Bayview Ave, Unit A11, North York, ON M2K 1E6) - 2GB Usage Included",
"UnitAmount": 80.46,
"TaxType": "TAX020",
"TaxAmount": 10.46,
"LineAmount": 80.46,
"AccountCode": "204",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "c38752ed-e2d2-4173-9ec1-8469ff940a22",
"AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 80.46,
"TotalTax": 10.46,
"Total": 90.92,
"UpdatedDateUTC": "\/Date(1736244470250+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:07:50] Production.INFO: -- Create Invoice id --da8ab048-5b87-4348-90b7-f07a3949e550
[2025-01-07 05:07:50] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:07:50] Production.INFO: CheckInvoice xerov2: INV11137
[2025-01-07 05:07:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11137
[2025-01-07 05:07:52] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:07:52] Production.INFO: Invoice SubTotal 40.000000
[2025-01-07 05:07:52] Production.INFO: Invoice DetTotal 40
[2025-01-07 05:07:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Avani%20Rolls%20%26%20Bowls"
[2025-01-07 05:07:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:07:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:07:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 10:08:02] Production.INFO: ==4143== Lock acquired, processing the job...
[2025-01-07 10:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:08:02] Production.INFO: neon service started
[2025-01-07 10:08:02] Production.INFO: neon service started
[2025-01-07 10:08:02] Production.INFO: ==4143== Releasing lock...
[2025-01-07 10:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:08:02] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Restaurant - 2 Line Flat Rate",Quantity : 1,UnitAmount : 37.500000,LineAmount : 37.500000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (5198068000 - 802 Main Street East 6 Shelburne, ON L0N 1S4 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 05:08:02] Production.INFO: ==4146== Lock acquired, processing the job...
[2025-01-07 05:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:08:03] Production.INFO: ==4146== Releasing lock...
[2025-01-07 05:08:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:08:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:08:03] Production.INFO: ==4148== Lock acquired, processing the job...
[2025-01-07 10:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:08:03] Production.INFO: ==4148== Releasing lock...
[2025-01-07 10:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:08:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:08:04] Production.INFO: ==4156== Lock acquired, processing the job...
[2025-01-07 05:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:08:04] Production.INFO: ==4158== Lock acquired, processing the job...
[2025-01-07 05:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:08:04] Production.INFO: ==4150== Lock acquired, processing the job...
[2025-01-07 05:08:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:08:04] Production.INFO: Account Balance Start.
[2025-01-07 05:08:04] Production.INFO: CreateAllLog Start
[2025-01-07 05:08:04] Production.INFO: 117
[2025-01-07 05:08:04] Production.INFO: Date 2024-12-08
[2025-01-07 05:08:04] Production.INFO: ==4152== Lock acquired, processing the job...
[2025-01-07 05:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:08:04] Production.INFO: Date 2024-12-09
[2025-01-07 05:08:04] Production.INFO: ==4154== Lock acquired, processing the job...
[2025-01-07 05:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:08:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:08:04] Production.INFO: Date 2024-12-10
[2025-01-07 05:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:08:04] Production.INFO: Date 2024-12-11
[2025-01-07 05:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:08:04] Production.INFO: ==4160== Lock acquired, processing the job...
[2025-01-07 05:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:08:04] Production.INFO: Date 2024-12-12
[2025-01-07 05:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:08:04] Production.INFO: Date 2024-12-13
[2025-01-07 05:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:08:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:08:04] Production.INFO: count ==21
[2025-01-07 05:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:08:04] Production.INFO: count ==21
[2025-01-07 05:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192655') start
[2025-01-07 05:08:04] Production.ERROR: done
[2025-01-07 05:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:08:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:08:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192655') end
[2025-01-07 05:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:08:04] Production.INFO: 1
[2025-01-07 05:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:08:04] Production.ERROR: done
[2025-01-07 05:08:04] Production.INFO: ==4152== Releasing lock...
[2025-01-07 05:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:08:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:08:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:08:04] Production.INFO: ==4160== Releasing lock...
[2025-01-07 05:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:08:05] Production.INFO: Date 2024-12-19
[2025-01-07 05:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:08:05] Production.INFO: Date 2024-12-20
[2025-01-07 05:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:08:05] Production.INFO: Date 2024-12-21
[2025-01-07 05:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:08:05] Production.INFO: Date 2024-12-22
[2025-01-07 05:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:08:05] Production.INFO: ==== result =====
[2025-01-07 05:08:05] Production.INFO: {
"Id": "45ad6284-582e-4c6b-9477-cb97ffd8da18",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736244485338)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "e79349e9-8611-40a0-ba83-e1907490ed65",
"InvoiceNumber": "INV11137",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 45.21,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"IsDiscounted": false,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "08d693ac-f648-4d13-baf5-18b2b59d959f",
"ContactStatus": "ACTIVE",
"Name": "Avani Rolls & Bowls",
"FirstName": "Rishi",
"LastName": "Kakar",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1666687333697+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-01T00:00:00",
"Date": "\/Date(1733011200000+0000)\/",
"DueDateString": "2024-12-31T00:00:00",
"DueDate": "\/Date(1735603200000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 2 Line Flat Rate",
"UnitAmount": 37.50,
"TaxType": "TAX020",
"TaxAmount": 4.88,
"LineAmount": 37.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "ae930c2d-8d02-47a6-9450-1efc14227bcb",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
},
{
"Description": "e911 address registration (5198068000 - 802 Main Street East 6 Shelburne, ON L0N 1S4 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "ec1fdaad-6c13-4a3f-a7f7-2de555d7e756",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
}
],
"SubTotal": 40.00,
"TotalTax": 5.21,
"Total": 45.21,
"UpdatedDateUTC": "\/Date(1736244485150+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:08:05] Production.INFO: -- Create Invoice id --e79349e9-8611-40a0-ba83-e1907490ed65
[2025-01-07 05:08:05] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:08:05] Production.INFO: CheckInvoice xerov2: INV11295
[2025-01-07 05:08:05] Production.INFO: Date 2024-12-23
[2025-01-07 05:08:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11295
[2025-01-07 05:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:08:05] Production.INFO: Date 2024-12-24
[2025-01-07 05:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:08:05] Production.INFO: Date 2024-12-25
[2025-01-07 05:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:08:05] Production.INFO: Date 2024-12-26
[2025-01-07 05:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:08:05] Production.INFO: Date 2024-12-27
[2025-01-07 05:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:08:05] Production.INFO: Date 2024-12-28
[2025-01-07 05:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:08:05] Production.INFO: Date 2024-12-29
[2025-01-07 05:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:08:05] Production.INFO: Date 2024-12-30
[2025-01-07 05:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:08:05] Production.INFO: Date 2024-12-31
[2025-01-07 05:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:08:05] Production.INFO: Date 2025-01-01
[2025-01-07 05:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:08:05] Production.INFO: Date 2025-01-02
[2025-01-07 05:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:08:05] Production.INFO: Date 2025-01-03
[2025-01-07 05:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:08:05] Production.INFO: Date 2025-01-04
[2025-01-07 05:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:08:05] Production.INFO: Date 2025-01-05
[2025-01-07 05:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:08:06] Production.INFO: Date 2025-01-06
[2025-01-07 05:08:06] Production.INFO: Reseller ==> 0
[2025-01-07 05:08:06] Production.INFO: Date 2025-01-07
[2025-01-07 05:08:06] Production.INFO: Reseller ==> 0
[2025-01-07 05:08:06] Production.INFO: Total Charge 0
[2025-01-07 05:08:06] Production.INFO: CreateAllLog End
[2025-01-07 05:08:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:08:06
[end_date_ymd] => 2025-01-07 05:08:06
[RateCDR] => 1
)
[2025-01-07 05:08:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 02:08:06' and `end` < '2025-01-07 05:08:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 05:08:06] Production.INFO: Account Balance End.
[2025-01-07 05:08:06] Production.ERROR: CronJobId end 12
[2025-01-07 05:08:06] Production.INFO: ==4156== Releasing lock...
[2025-01-07 05:08:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:08:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:08:07] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:08:08] Production.INFO: Invoice SubTotal 40.000000
[2025-01-07 05:08:08] Production.INFO: Invoice DetTotal 40
[2025-01-07 05:08:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Avani%20Rolls%20%26%20Bowls"
[2025-01-07 05:08:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:08:12] Production.ERROR: CronJobId end10
[2025-01-07 05:08:12] Production.INFO: ==4154== Releasing lock...
[2025-01-07 05:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:08:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:08:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:08:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:08:14] Production.INFO: call_cost start
[2025-01-07 05:08:14] Production.INFO: call_cost end
[2025-01-07 05:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:08:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:08:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:08:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:08:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:08:15] Production.INFO: ==4150== Releasing lock...
[2025-01-07 05:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:08:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:08:18] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Restaurant - 2 Line Flat Rate",Quantity : 1,UnitAmount : 37.500000,LineAmount : 37.500000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (5198068000 - 802 Main Street East 6 Shelburne, ON L0N 1S4 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 05:08:18] Production.INFO: count ==85
[2025-01-07 05:08:18] Production.ERROR: pbx CDR StartTime 2025-01-07 02:08:06 - End Time 2025-01-07 05:08:06
[2025-01-07 05:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192656', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192656', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192656', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192656', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:08:19] Production.INFO: ProcessCDR(1,14192656,1,1,2)
[2025-01-07 05:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192656,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192656,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192656,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:08:21] Production.INFO: ==== result =====
[2025-01-07 05:08:21] Production.INFO: {
"Id": "3aacc938-d2cd-422f-b188-6ef4e6527ff9",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736244500998)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "04b29cab-f536-4917-9daa-ea364be50fdb",
"InvoiceNumber": "INV11295",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 45.21,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"IsDiscounted": false,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "08d693ac-f648-4d13-baf5-18b2b59d959f",
"ContactStatus": "ACTIVE",
"Name": "Avani Rolls & Bowls",
"FirstName": "Rishi",
"LastName": "Kakar",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1666687333697+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2025-01-01T00:00:00",
"Date": "\/Date(1735689600000+0000)\/",
"DueDateString": "2025-01-31T00:00:00",
"DueDate": "\/Date(1738281600000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 2 Line Flat Rate",
"UnitAmount": 37.50,
"TaxType": "TAX020",
"TaxAmount": 4.88,
"LineAmount": 37.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "21988965-f79e-4d22-9588-4ef599f32747",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
},
{
"Description": "e911 address registration (5198068000 - 802 Main Street East 6 Shelburne, ON L0N 1S4 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "57db745f-5b3c-4c1f-af6f-4d3e6ee82ac4",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
}
],
"SubTotal": 40.00,
"TotalTax": 5.21,
"Total": 45.21,
"UpdatedDateUTC": "\/Date(1736244500950+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:08:21] Production.INFO: -- Create Invoice id --04b29cab-f536-4917-9daa-ea364be50fdb
[2025-01-07 05:08:21] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:08:21] Production.INFO: CheckInvoice xerov2: INV11147
[2025-01-07 05:08:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11147
[2025-01-07 05:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192656,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192656', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192656', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:08:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:08:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:08:22] Production.INFO: ==4158== Releasing lock...
[2025-01-07 05:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:08:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 05:08:23] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:08:23] Production.INFO: Invoice SubTotal 173.630000
[2025-01-07 05:08:23] Production.INFO: Invoice DetTotal 173.63
[2025-01-07 05:08:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Axxima"
[2025-01-07 05:08:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:08:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:08:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:08:34] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 11-04-2024 To 12-03-2024",Quantity : 1,UnitAmount : 0.630000,LineAmount : 0.630000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 19,UnitAmount : 7.000000,LineAmount : 133.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14506462500 - 2200 Marie-Victorin Road, Suite 201, St. Bruno-de-Montarville, Quebec, J3V 0M2)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional Telephone Numbers",Quantity : 17,UnitAmount : 1.500000,LineAmount : 25.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional Toll Free Telephone Numbers",Quantity : 4,UnitAmount : 3.000000,LineAmount : 12.000000}
[2025-01-07 05:08:37] Production.INFO: ==== result =====
[2025-01-07 05:08:37] Production.INFO: {
"Id": "51af28ac-7df7-4fe2-bbfc-2f5d9fa2aac3",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736244517230)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "76c41836-1ca0-4767-9c9b-dc19930546db",
"InvoiceNumber": "INV11147",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 196.21,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "5a62af79-4890-44a7-9d0e-f81cfe9497c1",
"ContactStatus": "ACTIVE",
"Name": "Axxima",
"FirstName": "Norma",
"LastName": "Ibbetson",
"EmailAddress": "normaibbetson@axxima.ca",
"BankAccountDetails": "",
"AccountsReceivableTaxType": "TAX022",
"AccountsPayableTaxType": "TAX022",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": "",
"AttentionTo": ""
},
{
"AddressType": "POBOX",
"AddressLine1": "36 Toronto Street",
"AddressLine2": "Suite 510",
"AddressLine3": "",
"AddressLine4": "",
"City": "Toronto",
"Region": "ON",
"PostalCode": "M5C 2C5",
"Country": "Canada",
"AttentionTo": "Norma Ibbetson"
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "18557299462",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "4164085294,5294",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1555602837907+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-04T00:00:00",
"Date": "\/Date(1733270400000+0000)\/",
"DueDateString": "2025-01-03T00:00:00",
"DueDate": "\/Date(1735862400000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "From 11-04-2024 To 12-03-2024",
"UnitAmount": 0.63,
"TaxType": "TAX020",
"TaxAmount": 0.08,
"LineAmount": 0.63,
"AccountCode": "234",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "e93b24de-778d-4347-9925-632392e68f1c",
"AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "License for a Pay As You Go Cloud Phone extension",
"UnitAmount": 7.00,
"TaxType": "TAX020",
"TaxAmount": 17.29,
"LineAmount": 133.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 19.0000,
"DiscountRate": 0.00,
"LineItemID": "918908b6-1d33-450c-b1fc-cee903539499",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (14506462500 - 2200 Marie-Victorin Road, Suite 201, St. Bruno-de-Montarville, Quebec, J3V 0M2)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "9a105800-3d83-413d-86d5-a6775d2802e7",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional Telephone Numbers",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 3.32,
"LineAmount": 25.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 17.0000,
"DiscountRate": 0.00,
"LineItemID": "bc484f20-e18e-43a7-899d-2614c6870f87",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional Toll Free Telephone Numbers",
"UnitAmount": 3.00,
"TaxType": "TAX020",
"TaxAmount": 1.56,
"LineAmount": 12.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 4.0000,
"DiscountRate": 0.00,
"LineItemID": "6bf89357-fdfa-4e93-bd58-73a9557af8c0",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 173.63,
"TotalTax": 22.58,
"Total": 196.21,
"UpdatedDateUTC": "\/Date(1736244517160+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:08:37] Production.INFO: -- Create Invoice id --76c41836-1ca0-4767-9c9b-dc19930546db
[2025-01-07 05:08:37] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:08:37] Production.INFO: -- Xero End Inovice --
[2025-01-07 05:08:37] Production.INFO: ==4054== Releasing lock...
[2025-01-07 05:08:37] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10424 #Stops#
[2025-01-07 05:08:37] Production.INFO: 32.5 MB #Memory Used#
[2025-01-07 10:09:01] Production.INFO: ==4228== Lock acquired, processing the job...
[2025-01-07 10:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:09:01] Production.INFO: neon service started
[2025-01-07 10:09:01] Production.INFO: neon service started
[2025-01-07 10:09:01] Production.INFO: ==4228== Releasing lock...
[2025-01-07 10:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:09:02] Production.INFO: ==4230== Lock acquired, processing the job...
[2025-01-07 05:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:09:02] Production.INFO: ==4230== Releasing lock...
[2025-01-07 05:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:09:02] Production.INFO: ==4232== Lock acquired, processing the job...
[2025-01-07 10:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:09:02] Production.INFO: ==4232== Releasing lock...
[2025-01-07 10:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:09:03] Production.INFO: ==4241== Lock acquired, processing the job...
[2025-01-07 05:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:09:03] Production.INFO: ==4245== Lock acquired, processing the job...
[2025-01-07 05:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:09:03] Production.INFO: Account Balance Start.
[2025-01-07 05:09:03] Production.INFO: CreateAllLog Start
[2025-01-07 05:09:03] Production.INFO: 117
[2025-01-07 05:09:03] Production.INFO: Date 2024-12-08
[2025-01-07 05:09:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 05:09:03] Production.INFO: Date 2024-12-09
[2025-01-07 05:09:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:09:03] Production.INFO: Date 2024-12-10
[2025-01-07 05:09:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:09:03] Production.INFO: count ==21
[2025-01-07 05:09:03] Production.INFO: Date 2024-12-11
[2025-01-07 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-07 05:09:03] Production.INFO: count ==21
[2025-01-07 05:09:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:09:03] Production.INFO: ==4235== Lock acquired, processing the job...
[2025-01-07 05:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:09:03] Production.INFO: ==4237== Lock acquired, processing the job...
[2025-01-07 05:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192658') start
[2025-01-07 05:09:03] Production.INFO: Date 2024-12-12
[2025-01-07 05:09:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:09:03] Production.INFO: Date 2024-12-13
[2025-01-07 05:09:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:09:03] Production.INFO: ==4239== Lock acquired, processing the job...
[2025-01-07 05:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:09:03] Production.INFO: ==4243== Lock acquired, processing the job...
[2025-01-07 05:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:09:03] Production.INFO: Date 2024-12-14
[2025-01-07 05:09:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192658') end
[2025-01-07 05:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:09:03] Production.INFO: 1
[2025-01-07 05:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:09:03] Production.INFO: Date 2024-12-15
[2025-01-07 05:09:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:09:03] Production.INFO: ==4245== Releasing lock...
[2025-01-07 05:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:09:03] Production.INFO: Date 2024-12-16
[2025-01-07 05:09:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:09:03] Production.INFO: Date 2024-12-17
[2025-01-07 05:09:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:09:03] Production.INFO: Date 2024-12-18
[2025-01-07 05:09:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:09:03] Production.INFO: Date 2024-12-19
[2025-01-07 05:09:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:09:04] Production.INFO: ==4237== Releasing lock...
[2025-01-07 05:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:09:04] Production.INFO: Date 2024-12-20
[2025-01-07 05:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:09:04] Production.INFO: Date 2024-12-21
[2025-01-07 05:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:09:04] Production.ERROR: done
[2025-01-07 05:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:09:04] Production.INFO: Date 2024-12-22
[2025-01-07 05:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:09:04] Production.INFO: Date 2024-12-23
[2025-01-07 05:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:09:04] Production.INFO: Date 2024-12-24
[2025-01-07 05:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:09:04] Production.INFO: Date 2024-12-25
[2025-01-07 05:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:09:04] Production.ERROR: done
[2025-01-07 05:09:04] Production.INFO: Date 2024-12-26
[2025-01-07 05:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:09:04] Production.INFO: Date 2024-12-27
[2025-01-07 05:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:09:04] Production.INFO: Date 2024-12-28
[2025-01-07 05:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:09:04] Production.INFO: Date 2024-12-29
[2025-01-07 05:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:09:04] Production.INFO: Date 2024-12-30
[2025-01-07 05:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:09:04] Production.INFO: Date 2024-12-31
[2025-01-07 05:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:09:04] Production.INFO: Date 2025-01-01
[2025-01-07 05:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:09:04] Production.INFO: Date 2025-01-02
[2025-01-07 05:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:09:04] Production.INFO: Date 2025-01-03
[2025-01-07 05:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:09:04] Production.INFO: Date 2025-01-04
[2025-01-07 05:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:09:04] Production.INFO: Date 2025-01-05
[2025-01-07 05:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:09:04] Production.INFO: Date 2025-01-06
[2025-01-07 05:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:09:04] Production.INFO: Date 2025-01-07
[2025-01-07 05:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:09:04] Production.INFO: Total Charge 0
[2025-01-07 05:09:04] Production.INFO: CreateAllLog End
[2025-01-07 05:09:04] Production.INFO: Account Balance End.
[2025-01-07 05:09:04] Production.ERROR: CronJobId end 12
[2025-01-07 05:09:04] Production.INFO: ==4241== Releasing lock...
[2025-01-07 05:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:09:05
[end_date_ymd] => 2025-01-07 05:09:05
[RateCDR] => 1
)
[2025-01-07 05:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 02:09:05' and `end` < '2025-01-07 05:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 05:09:11] Production.ERROR: CronJobId end10
[2025-01-07 05:09:11] Production.INFO: ==4239== Releasing lock...
[2025-01-07 05:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:09:13] Production.INFO: call_cost start
[2025-01-07 05:09:13] Production.INFO: call_cost end
[2025-01-07 05:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:09:14] Production.INFO: ==4235== Releasing lock...
[2025-01-07 05:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:09:17] Production.INFO: count ==85
[2025-01-07 05:09:17] Production.ERROR: pbx CDR StartTime 2025-01-07 02:09:05 - End Time 2025-01-07 05:09:05
[2025-01-07 05:09:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192661', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192661', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192661', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192661', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:09:17] Production.INFO: ProcessCDR(1,14192661,1,1,2)
[2025-01-07 05:09:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192661,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:09:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192661,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:09:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192661,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192661,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192661', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192661', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:09:21] Production.INFO: ==4243== Releasing lock...
[2025-01-07 05:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:09:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 10:10:02] Production.INFO: ==4305== Lock acquired, processing the job...
[2025-01-07 10:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:10:02] Production.INFO: neon service started
[2025-01-07 10:10:02] Production.INFO: neon service started
[2025-01-07 10:10:02] Production.INFO: ==4305== Releasing lock...
[2025-01-07 10:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:10:02] Production.INFO: ==4309== Lock acquired, processing the job...
[2025-01-07 10:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:10:02] Production.INFO: ==4309== Releasing lock...
[2025-01-07 10:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:10:02] Production.INFO: ==4307== Lock acquired, processing the job...
[2025-01-07 05:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:10:03] Production.INFO: ==4307== Releasing lock...
[2025-01-07 05:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:10:03] Production.INFO: ==4312== Lock acquired, processing the job...
[2025-01-07 05:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 05:10:04] Production.INFO: ==4314== Lock acquired, processing the job...
[2025-01-07 05:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 05:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 05:10:04] Production.ERROR: CronJob PID - 4314
[2025-01-07 05:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-07 05:10:04] Production.ERROR: CronJob ID - 5
[2025-01-07 05:10:04] Production.ERROR: CronJob Last Run Time 2025-01-07 05:10:00
[2025-01-07 05:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 05:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 05:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 05:10:04] Production.INFO: ==4312== Releasing lock...
[2025-01-07 05:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 05:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 05:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:10:04] Production.INFO: ==4318== Lock acquired, processing the job...
[2025-01-07 05:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:10:04] Production.INFO: ==4322== Lock acquired, processing the job...
[2025-01-07 05:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:10:04] Production.INFO: ==4316== Lock acquired, processing the job...
[2025-01-07 05:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:10:04] Production.INFO: ==4326== Lock acquired, processing the job...
[2025-01-07 05:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:10:04] Production.INFO: ==4320== Lock acquired, processing the job...
[2025-01-07 05:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:10:04] Production.INFO: ==4324== Lock acquired, processing the job...
[2025-01-07 05:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 05:10:04] Production.INFO: Account Balance Start.
[2025-01-07 05:10:04] Production.INFO: CreateAllLog Start
[2025-01-07 05:10:04] Production.INFO: 117
[2025-01-07 05:10:04] Production.ERROR: done
[2025-01-07 05:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 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-07 05:10:04] Production.INFO: Date 2024-12-08
[2025-01-07 05:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:10:04] Production.INFO: count ==21
[2025-01-07 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-07 05:10:04] Production.INFO: count ==21
[2025-01-07 05:10:04] Production.ERROR: done
[2025-01-07 05:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192663') start
[2025-01-07 05:10:04] Production.INFO: Date 2024-12-09
[2025-01-07 05:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:10:04] Production.ERROR: done
[2025-01-07 05:10:04] Production.INFO: Date 2024-12-10
[2025-01-07 05:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:10:04] Production.INFO: Date 2024-12-11
[2025-01-07 05:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:10:04] Production.INFO: ==4316== Releasing lock...
[2025-01-07 05:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 05:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14192667', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 05:10:04] Production.INFO: Date 2024-12-12
[2025-01-07 05:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192663') end
[2025-01-07 05:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:10:04] Production.INFO: 1
[2025-01-07 05:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:10:05] Production.INFO: Date 2024-12-13
[2025-01-07 05:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:10:05] Production.INFO: ==4326== Releasing lock...
[2025-01-07 05:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:10:05] Production.INFO: Date 2024-12-14
[2025-01-07 05:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:10:05] Production.INFO: Date 2024-12-15
[2025-01-07 05:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:10:05] Production.INFO: Date 2024-12-16
[2025-01-07 05:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:10:05] Production.INFO: Date 2024-12-17
[2025-01-07 05:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:10:05] Production.INFO: Date 2024-12-18
[2025-01-07 05:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:10:05] Production.INFO: Date 2024-12-19
[2025-01-07 05:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:10:05] Production.INFO: Date 2024-12-20
[2025-01-07 05:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:10:05] Production.INFO: Date 2024-12-21
[2025-01-07 05:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:10:05] Production.INFO: Date 2024-12-22
[2025-01-07 05:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:10:05] Production.INFO: Date 2024-12-23
[2025-01-07 05:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:10:05] Production.INFO: Date 2024-12-24
[2025-01-07 05:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:10:05] Production.INFO: Date 2024-12-25
[2025-01-07 05:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:10:05] Production.INFO: Date 2024-12-26
[2025-01-07 05:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:10:05] Production.INFO: Date 2024-12-27
[2025-01-07 05:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:10:05] Production.INFO: Date 2024-12-28
[2025-01-07 05:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:10:05] Production.INFO: Date 2024-12-29
[2025-01-07 05:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:10:05] Production.INFO: Date 2024-12-30
[2025-01-07 05:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:10:05] Production.INFO: Date 2024-12-31
[2025-01-07 05:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:10:05] Production.INFO: Date 2025-01-01
[2025-01-07 05:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:10:05] Production.INFO: Date 2025-01-02
[2025-01-07 05:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:10:05] Production.INFO: Date 2025-01-03
[2025-01-07 05:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:10:05] Production.INFO: Date 2025-01-04
[2025-01-07 05:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:10:05] Production.INFO: Date 2025-01-05
[2025-01-07 05:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:10:05] Production.INFO: Date 2025-01-06
[2025-01-07 05:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:10:06] Production.INFO: Date 2025-01-07
[2025-01-07 05:10:06] Production.INFO: Reseller ==> 0
[2025-01-07 05:10:06] Production.INFO: Total Charge 0
[2025-01-07 05:10:06] Production.INFO: CreateAllLog End
[2025-01-07 05:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:10:06
[end_date_ymd] => 2025-01-07 05:10:06
[RateCDR] => 1
)
[2025-01-07 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-07 02:10:06' and `end` < '2025-01-07 05:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 05:10:06] Production.INFO: Account Balance End.
[2025-01-07 05:10:06] Production.ERROR: CronJobId end 12
[2025-01-07 05:10:06] Production.INFO: ==4320== Releasing lock...
[2025-01-07 05:10:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:10:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14192667', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 05:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 05:10:09] Production.INFO: ProcessCDR(1,14192667,1,1,2)
[2025-01-07 05:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14192667,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14192667,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:10:09] Production.INFO: ==4324== Releasing lock...
[2025-01-07 05:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 05:10:09] Production.INFO: 26 MB #Memory Used#
[2025-01-07 05:10:12] Production.ERROR: CronJobId end10
[2025-01-07 05:10:12] Production.INFO: ==4318== Releasing lock...
[2025-01-07 05:10:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:10:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:10:15] Production.INFO: call_cost start
[2025-01-07 05:10:15] Production.INFO: call_cost end
[2025-01-07 05:10:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:10:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:10:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:10:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:10:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:10:15] Production.INFO: ==4314== Releasing lock...
[2025-01-07 05:10:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:10:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:10:18] Production.INFO: count ==81
[2025-01-07 05:10:18] Production.ERROR: pbx CDR StartTime 2025-01-07 02:10:06 - End Time 2025-01-07 05:10:06
[2025-01-07 05:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192666', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192666', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192666', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192666', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:10:18] Production.INFO: ProcessCDR(1,14192666,1,1,2)
[2025-01-07 05:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192666,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192666,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192666,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192666,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192666', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192666', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:10:22] Production.INFO: ==4322== Releasing lock...
[2025-01-07 05:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:10:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 10:11:01] Production.INFO: ==4379== Lock acquired, processing the job...
[2025-01-07 10:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:11:01] Production.INFO: neon service started
[2025-01-07 10:11:01] Production.INFO: neon service started
[2025-01-07 10:11:01] Production.INFO: ==4379== Releasing lock...
[2025-01-07 10:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:11:01] Production.INFO: ==4383== Lock acquired, processing the job...
[2025-01-07 10:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:11:01] Production.INFO: ==4383== Releasing lock...
[2025-01-07 10:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:11:01] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:11:02] Production.INFO: ==4381== Lock acquired, processing the job...
[2025-01-07 05:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:11:02] Production.INFO: ==4381== Releasing lock...
[2025-01-07 05:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:11:03] Production.INFO: ==4390== Lock acquired, processing the job...
[2025-01-07 05:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:11:03] Production.INFO: ==4394== Lock acquired, processing the job...
[2025-01-07 05:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:11:03] Production.INFO: ==4386== Lock acquired, processing the job...
[2025-01-07 05:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:11:03] Production.INFO: ==4388== Lock acquired, processing the job...
[2025-01-07 05:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:11:03] Production.INFO: ==4392== Lock acquired, processing the job...
[2025-01-07 05:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:11:03] Production.INFO: ==4396== Lock acquired, processing the job...
[2025-01-07 05:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:11:03] Production.INFO: Account Balance Start.
[2025-01-07 05:11:03] Production.INFO: CreateAllLog Start
[2025-01-07 05:11:03] Production.INFO: 117
[2025-01-07 05:11:03] Production.INFO: Date 2024-12-08
[2025-01-07 05:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:11:03] Production.INFO: Date 2024-12-09
[2025-01-07 05:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:11:03] Production.INFO: Date 2024-12-10
[2025-01-07 05:11:03] Production.ERROR: done
[2025-01-07 05:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 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-07 05:11:03] Production.INFO: Date 2024-12-11
[2025-01-07 05:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:11:03] Production.INFO: count ==21
[2025-01-07 05:11:03] Production.INFO: Date 2024-12-12
[2025-01-07 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-07 05:11:03] Production.INFO: count ==21
[2025-01-07 05:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192671') start
[2025-01-07 05:11:04] Production.ERROR: done
[2025-01-07 05:11:04] Production.INFO: Date 2024-12-13
[2025-01-07 05:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:11:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:11:04] Production.INFO: ==4388== Releasing lock...
[2025-01-07 05:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:11:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192671') end
[2025-01-07 05:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:11:04] Production.INFO: 1
[2025-01-07 05:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:11:04] Production.INFO: ==4396== Releasing lock...
[2025-01-07 05:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:11:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:11:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:11:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:11:04] Production.INFO: Date 2024-12-19
[2025-01-07 05:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:11:04] Production.INFO: Date 2024-12-20
[2025-01-07 05:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:11:04] Production.INFO: Date 2024-12-21
[2025-01-07 05:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:11:04] Production.INFO: Date 2024-12-22
[2025-01-07 05:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:11:04] Production.INFO: Date 2024-12-23
[2025-01-07 05:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:11:04] Production.INFO: Date 2024-12-24
[2025-01-07 05:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:11:04] Production.INFO: Date 2024-12-25
[2025-01-07 05:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:11:04] Production.INFO: Date 2024-12-26
[2025-01-07 05:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:11:04] Production.INFO: Date 2024-12-27
[2025-01-07 05:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:11:04] Production.INFO: Date 2024-12-28
[2025-01-07 05:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:11:04] Production.INFO: Date 2024-12-29
[2025-01-07 05:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:11:04] Production.INFO: Date 2024-12-30
[2025-01-07 05:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:11:04] Production.INFO: Date 2024-12-31
[2025-01-07 05:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:11:04] Production.INFO: Date 2025-01-01
[2025-01-07 05:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:11:04] Production.INFO: Date 2025-01-02
[2025-01-07 05:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:11:05] Production.INFO: Date 2025-01-03
[2025-01-07 05:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:11:05] Production.INFO: Date 2025-01-04
[2025-01-07 05:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:11:05] Production.INFO: Date 2025-01-05
[2025-01-07 05:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:11:05] Production.INFO: Date 2025-01-06
[2025-01-07 05:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:11:05] Production.INFO: Date 2025-01-07
[2025-01-07 05:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:11:05] Production.INFO: Total Charge 0
[2025-01-07 05:11:05] Production.INFO: CreateAllLog End
[2025-01-07 05:11:05] Production.INFO: Account Balance End.
[2025-01-07 05:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:11:05
[end_date_ymd] => 2025-01-07 05:11:05
[RateCDR] => 1
)
[2025-01-07 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-07 02:11:05' and `end` < '2025-01-07 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-07 05:11:05] Production.ERROR: CronJobId end 12
[2025-01-07 05:11:05] Production.INFO: ==4392== Releasing lock...
[2025-01-07 05:11:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:11:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:11:10] Production.ERROR: CronJobId end10
[2025-01-07 05:11:10] Production.INFO: ==4390== Releasing lock...
[2025-01-07 05:11:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:11:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:11:13] Production.INFO: call_cost start
[2025-01-07 05:11:13] Production.INFO: call_cost end
[2025-01-07 05:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:11:14] Production.INFO: ==4386== Releasing lock...
[2025-01-07 05:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:11:19] Production.INFO: count ==81
[2025-01-07 05:11:19] Production.ERROR: pbx CDR StartTime 2025-01-07 02:11:05 - End Time 2025-01-07 05:11:05
[2025-01-07 05:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192672', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192672', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192672', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192672', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:11:19] Production.INFO: ProcessCDR(1,14192672,1,1,2)
[2025-01-07 05:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192672,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192672,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192672,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192672,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192672', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192672', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:11:22] Production.INFO: ==4394== Releasing lock...
[2025-01-07 05:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:11:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 10:12:02] Production.INFO: ==4454== Lock acquired, processing the job...
[2025-01-07 10:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:12:02] Production.INFO: neon service started
[2025-01-07 10:12:02] Production.INFO: neon service started
[2025-01-07 10:12:02] Production.INFO: ==4454== Releasing lock...
[2025-01-07 10:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:12:02] Production.INFO: ==4456== Lock acquired, processing the job...
[2025-01-07 05:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:12:02] Production.INFO: ==4458== Lock acquired, processing the job...
[2025-01-07 10:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:12:02] Production.INFO: ==4458== Releasing lock...
[2025-01-07 10:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:12:02] Production.INFO: ==4456== Releasing lock...
[2025-01-07 05:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:12:03] Production.INFO: ==4460== Lock acquired, processing the job...
[2025-01-07 05:12:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10425 #Starts#
[2025-01-07 05:12:03] Production.INFO: ==4469== Lock acquired, processing the job...
[2025-01-07 05:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:12:03] Production.INFO: ==4466== Lock acquired, processing the job...
[2025-01-07 05:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:12:03] Production.INFO: -- Xero Api Check --
[2025-01-07 05:12:04] Production.INFO: Account Balance Start.
[2025-01-07 05:12:04] Production.INFO: CreateAllLog Start
[2025-01-07 05:12:04] Production.INFO: ==4462== Lock acquired, processing the job...
[2025-01-07 05:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:12:04] Production.INFO: 117
[2025-01-07 05:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:12:04] Production.INFO: Date 2024-12-08
[2025-01-07 05:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:12:04] Production.INFO: ==4464== Lock acquired, processing the job...
[2025-01-07 05:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:12:04] Production.INFO: Date 2024-12-09
[2025-01-07 05:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:12:04] Production.INFO: ==4473== Lock acquired, processing the job...
[2025-01-07 05:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:12:04] Production.INFO: Date 2024-12-10
[2025-01-07 05:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:12:04] Production.INFO: ==4471== Lock acquired, processing the job...
[2025-01-07 05:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 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-07 05:12:04] Production.INFO: count ==21
[2025-01-07 05:12:04] Production.INFO: Date 2024-12-11
[2025-01-07 05:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 05:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:12:04] Production.INFO: Date 2024-12-12
[2025-01-07 05:12:04] Production.INFO: count ==21
[2025-01-07 05:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192675') start
[2025-01-07 05:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:12:04] Production.INFO: Date 2024-12-13
[2025-01-07 05:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:12:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192675') end
[2025-01-07 05:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:12:04] Production.INFO: 1
[2025-01-07 05:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:12:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:12:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:12:04] Production.INFO: ==4473== Releasing lock...
[2025-01-07 05:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:12:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:12:04] Production.INFO: ==4464== Releasing lock...
[2025-01-07 05:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:12:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:12:04] Production.INFO: Date 2024-12-19
[2025-01-07 05:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:12:04] Production.INFO: Date 2024-12-20
[2025-01-07 05:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:12:04] Production.ERROR: done
[2025-01-07 05:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:12:04] Production.INFO: Date 2024-12-21
[2025-01-07 05:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:12:04] Production.ERROR: done
[2025-01-07 05:12:04] Production.INFO: Date 2024-12-22
[2025-01-07 05:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:12:05] Production.INFO: Date 2024-12-23
[2025-01-07 05:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:12:05] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 856
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 1.085655
[namelookup_time] => 0.557688
[connect_time] => 0.559479
[pretransfer_time] => 0.803113
[size_upload] => 82
[size_download] => 2755
[speed_download] => 2537
[speed_upload] => 75
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 1.085624
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.17
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 42088
)
[2025-01-07 05:12:05] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDQ3MjQsImV4cCI6MTczNjI0NTAyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ0NzI0LCJhdF9oYXNoIjoiN2RIX0FnUGpEb0tsWXVJZEtyV1FNdyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.Ro5k0URQmZrif3COCbbDakiPqMdbI_jQpo092vvVRgC2VGFj1VsRjFvTrLhSWLf-Eu7IMs-VTbBGCvmPfI43rSFxmTsQExbM95MbYBKH0TSx9Eu3uvtfqLP-JcLcIRTBQqyDyQkrPNIQOMslaIwlVYe9KJYkRlQQkdJjBqd_XUiQl6KZPrYkY63jZVcId2VDV9b5mxktogESCIkbF6sPy27KSMz3R5F6uOOcNuC0xH5qNHTR37bFEwYUD2z1TVSifGjwg3kvPRgix6DNYZgYK6hqyrNWv3Mha7XgiI7mqGV2RuJ5kz9pFlCe7aaFNf2ql51Ys6UJF1Qojhl2WfEWPw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDQ3MjQsImV4cCI6MTczNjI0NjUyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.RNSd0qcmE9JwQxqc4KQzkav-jiSeR0-MvBuUdnEtHtPOBka65iyK_CFHTcQNWQ2ZlR3_GLrOBdpsHMv06kr4fTZoxMe-3FoJdgPzmlADotaCnA2tGDGT-unGSo1-GJfbH98BTXh1Anxw1JvLBncRUTep-q1ugwlCn4BhF_V2Rypc-pYGOCz0JuMvy4O71UUgn2z-cCdfrywT_whiCsuW4yv3PfJPO2YLGn7n4QuLaGaYw_39EFMhP3cAd4znsCyaQ_xmTMNNIOUY2T4RSofjWOBoTXRfxgZ8g7IE4EhAP-ht4tZSmtoFkkSTAzXqgnu2t4qLLgDkfYfND2z9TBUacQ
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => g9MBHKx_JDobkbpsxuEB1TMKzql58mftujJTxoh66A4
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 05:12:05] Production.INFO: Date 2024-12-24
[2025-01-07 05:12:05] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDQ3MjQsImV4cCI6MTczNjI0NTAyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ0NzI0LCJhdF9oYXNoIjoiN2RIX0FnUGpEb0tsWXVJZEtyV1FNdyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.Ro5k0URQmZrif3COCbbDakiPqMdbI_jQpo092vvVRgC2VGFj1VsRjFvTrLhSWLf-Eu7IMs-VTbBGCvmPfI43rSFxmTsQExbM95MbYBKH0TSx9Eu3uvtfqLP-JcLcIRTBQqyDyQkrPNIQOMslaIwlVYe9KJYkRlQQkdJjBqd_XUiQl6KZPrYkY63jZVcId2VDV9b5mxktogESCIkbF6sPy27KSMz3R5F6uOOcNuC0xH5qNHTR37bFEwYUD2z1TVSifGjwg3kvPRgix6DNYZgYK6hqyrNWv3Mha7XgiI7mqGV2RuJ5kz9pFlCe7aaFNf2ql51Ys6UJF1Qojhl2WfEWPw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDQ3MjQsImV4cCI6MTczNjI0NjUyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.RNSd0qcmE9JwQxqc4KQzkav-jiSeR0-MvBuUdnEtHtPOBka65iyK_CFHTcQNWQ2ZlR3_GLrOBdpsHMv06kr4fTZoxMe-3FoJdgPzmlADotaCnA2tGDGT-unGSo1-GJfbH98BTXh1Anxw1JvLBncRUTep-q1ugwlCn4BhF_V2Rypc-pYGOCz0JuMvy4O71UUgn2z-cCdfrywT_whiCsuW4yv3PfJPO2YLGn7n4QuLaGaYw_39EFMhP3cAd4znsCyaQ_xmTMNNIOUY2T4RSofjWOBoTXRfxgZ8g7IE4EhAP-ht4tZSmtoFkkSTAzXqgnu2t4qLLgDkfYfND2z9TBUacQ
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => g9MBHKx_JDobkbpsxuEB1TMKzql58mftujJTxoh66A4
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 05:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:12:05] Production.INFO: AccountID 242
[2025-01-07 05:12:05] Production.INFO: Date 2024-12-25
[2025-01-07 05:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:12:05] Production.INFO: AccountName Ball Construction
[2025-01-07 05:12:05] Production.INFO: Checkcustomer
[2025-01-07 05:12:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Ball%20Construction"
[2025-01-07 05:12:05] Production.INFO: Date 2024-12-26
[2025-01-07 05:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:12:05] Production.INFO: Date 2024-12-27
[2025-01-07 05:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:12:05] Production.INFO: Date 2024-12-28
[2025-01-07 05:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:12:05] Production.INFO: Date 2024-12-29
[2025-01-07 05:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:12:05] Production.INFO: Date 2024-12-30
[2025-01-07 05:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:12:05] Production.INFO: Date 2024-12-31
[2025-01-07 05:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:12:05] Production.INFO: Date 2025-01-01
[2025-01-07 05:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:12:05] Production.INFO: Date 2025-01-02
[2025-01-07 05:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:12:05] Production.INFO: Date 2025-01-03
[2025-01-07 05:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:12:05] Production.INFO: Date 2025-01-04
[2025-01-07 05:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:12:05] Production.INFO: Date 2025-01-05
[2025-01-07 05:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:12:05] Production.INFO: Date 2025-01-06
[2025-01-07 05:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:12:05] Production.INFO: Date 2025-01-07
[2025-01-07 05:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:12:05] Production.INFO: Total Charge 0
[2025-01-07 05:12:05] Production.INFO: CreateAllLog End
[2025-01-07 05:12:06] Production.INFO: Account Balance End.
[2025-01-07 05:12:06] Production.ERROR: CronJobId end 12
[2025-01-07 05:12:06] Production.INFO: ==4469== Releasing lock...
[2025-01-07 05:12:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:12:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:12:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:12:06
[end_date_ymd] => 2025-01-07 05:12:06
[RateCDR] => 1
)
[2025-01-07 05:12:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 02:12:06' and `end` < '2025-01-07 05:12:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 05:12:07] Production.INFO: Contact id print CheckCustomer Case===b0bd4d3e-7d9a-4f7f-a743-aafe2ee02798
[2025-01-07 05:12:07] Production.INFO: -- count --1
[2025-01-07 05:12:07] Production.INFO: AccountID 189
[2025-01-07 05:12:07] Production.INFO: AccountName Bauman Group Inc.
[2025-01-07 05:12:07] Production.INFO: Checkcustomer
[2025-01-07 05:12:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Bauman%20Group%20Inc."
[2025-01-07 05:12:10] Production.INFO: Contact id print CheckCustomer Case===55837711-2979-41d6-b74d-0bee4c711dc6
[2025-01-07 05:12:10] Production.INFO: -- count --1
[2025-01-07 05:12:10] Production.INFO: AccountID 190
[2025-01-07 05:12:10] Production.INFO: AccountName Behrns Metal Fabricating Inc
[2025-01-07 05:12:10] Production.INFO: Checkcustomer
[2025-01-07 05:12:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Behrns%20Metal%20Fabricating%20Inc"
[2025-01-07 05:12:12] Production.INFO: Contact id print CheckCustomer Case===b5208613-a884-49ac-9417-cb8891a7008b
[2025-01-07 05:12:12] Production.INFO: -- count --1
[2025-01-07 05:12:12] Production.INFO: AccountID 243
[2025-01-07 05:12:12] Production.INFO: AccountName Bio-Ag Consultants & Distributors Inc.
[2025-01-07 05:12:12] Production.INFO: Checkcustomer
[2025-01-07 05:12:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Bio-Ag%20Consultants%20%26%20Distributors%20Inc."
[2025-01-07 05:12:13] Production.ERROR: CronJobId end10
[2025-01-07 05:12:13] Production.INFO: ==4466== Releasing lock...
[2025-01-07 05:12:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:12:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:12:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:12:15] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:12:15] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:12:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:12:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:12:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:12:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:12:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:12:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:12:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:12:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:12:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:12:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:12:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:12:15] Production.INFO: Contact id print CheckCustomer Case===d07f68ac-89bd-4e73-ae6e-c60c05b83dae
[2025-01-07 05:12:15] Production.INFO: -- count --1
[2025-01-07 05:12:15] Production.INFO: AccountID 95
[2025-01-07 05:12:15] Production.INFO: AccountName CanTrust Insurance Services
[2025-01-07 05:12:15] Production.INFO: Checkcustomer
[2025-01-07 05:12:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="CanTrust%20Insurance%20Services"
[2025-01-07 05:12:15] Production.INFO: call_cost start
[2025-01-07 05:12:15] Production.INFO: call_cost end
[2025-01-07 05:12:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:12:16] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:12:16] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:12:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:12:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:12:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:12:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:12:16] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:12:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:12:16] Production.INFO: ==4462== Releasing lock...
[2025-01-07 05:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:12:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:12:17] Production.INFO: Contact id print CheckCustomer Case===d5a46ee9-fef7-49ae-981c-b537df046ad7
[2025-01-07 05:12:17] Production.INFO: -- count --1
[2025-01-07 05:12:17] Production.INFO: -- Xero Add Inovice --
[2025-01-07 05:12:17] Production.INFO: CheckInvoice xerov2: INV11023
[2025-01-07 05:12:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11023
[2025-01-07 05:12:19] Production.INFO: count ==81
[2025-01-07 05:12:19] Production.ERROR: pbx CDR StartTime 2025-01-07 02:12:06 - End Time 2025-01-07 05:12:06
[2025-01-07 05:12:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192677', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192677', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192677', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192677', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:12:19] Production.INFO: ProcessCDR(1,14192677,1,1,2)
[2025-01-07 05:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192677,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:12:20] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:12:20] Production.INFO: Invoice SubTotal 344.260000
[2025-01-07 05:12:20] Production.INFO: Invoice DetTotal 344.26
[2025-01-07 05:12:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Ball%20Construction"
[2025-01-07 05:12:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192677,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:12:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192677,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:12:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:12:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192677,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192677', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192677', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:12:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:12:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:12:23] Production.INFO: ==4471== Releasing lock...
[2025-01-07 05:12:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:12:23] Production.INFO: 28 MB #Memory Used#
[2025-01-07 05:12:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:12:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:12:30] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 5.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension",Quantity : 25,UnitAmount : 12.990000,LineAmount : 308.510000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 5.000000,"Description": "Fax-to-Email service, with ability to send faxes via CloudPhone.ONE admin portal",Quantity : 1,UnitAmount : 10.000000,LineAmount : 9.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 5.000000,"Description": "CloudPhone.ONE Softphone add-on",Quantity : 25,UnitAmount : 1.000000,LineAmount : 23.750000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (5197425851 - 5 Shirley Ave, Kitchener, ON N2B 2E6)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 05:12:33] Production.INFO: ==== result =====
[2025-01-07 05:12:33] Production.INFO: {
"Id": "ea47ba3f-ffaf-4222-aa24-2bbf8a1e33d3",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736244753253)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "45c3bda0-6ac8-4fa5-9b95-83eb54b881dd",
"InvoiceNumber": "INV11023",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 389.03,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 17.99,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "b0bd4d3e-7d9a-4f7f-a743-aafe2ee02798",
"ContactStatus": "ACTIVE",
"Name": "Ball Construction",
"FirstName": "Byron",
"LastName": "Noseworthy",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1736242068147+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-11-08T00:00:00",
"Date": "\/Date(1731024000000+0000)\/",
"DueDateString": "2024-12-08T00:00:00",
"DueDate": "\/Date(1733616000000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "License for an Unlimited Canada/US Cloud Phone extension",
"UnitAmount": 12.99,
"TaxType": "TAX020",
"TaxAmount": 40.11,
"LineAmount": 308.51,
"AccountCode": "203",
"Tracking": [],
"Quantity": 25.0000,
"DiscountRate": 5.00,
"LineItemID": "4a2bdd0f-030c-4129-b0b6-aaecd172ebee",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountEnteredAsPercent": true,
"DiscountAmount": 16.2400,
"ValidationErrors": []
},
{
"Description": "Fax-to-Email service, with ability to send faxes via CloudPhone.ONE admin portal",
"UnitAmount": 10.00,
"TaxType": "TAX020",
"TaxAmount": 1.24,
"LineAmount": 9.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 5.00,
"LineItemID": "d306ebd9-d26c-4ac7-b110-2cc17442d2b8",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountEnteredAsPercent": true,
"DiscountAmount": 0.5000,
"ValidationErrors": []
},
{
"Description": "CloudPhone.ONE Softphone add-on",
"UnitAmount": 1.00,
"TaxType": "TAX020",
"TaxAmount": 3.09,
"LineAmount": 23.75,
"AccountCode": "203",
"Tracking": [],
"Quantity": 25.0000,
"DiscountRate": 5.00,
"LineItemID": "08506f27-c8e2-4fe0-a772-d4e1c985f9d3",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountEnteredAsPercent": true,
"DiscountAmount": 1.2500,
"ValidationErrors": []
},
{
"Description": "e911 address registration (5197425851 - 5 Shirley Ave, Kitchener, ON N2B 2E6)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "4843518b-c3c6-4d06-8c85-3f2fd0da9507",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
}
],
"SubTotal": 344.26,
"TotalTax": 44.77,
"Total": 389.03,
"UpdatedDateUTC": "\/Date(1736244753223+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:12:33] Production.INFO: -- Create Invoice id --45c3bda0-6ac8-4fa5-9b95-83eb54b881dd
[2025-01-07 05:12:33] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:12:33] Production.INFO: CheckInvoice xerov2: INV11210
[2025-01-07 05:12:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11210
[2025-01-07 05:12:35] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:12:35] Production.INFO: Invoice SubTotal 221.200000
[2025-01-07 05:12:35] Production.INFO: Invoice DetTotal 221.2
[2025-01-07 05:12:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Bauman%20Group%20Inc."
[2025-01-07 05:12:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:12:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:12:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:12:46] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 10.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension",Quantity : 27,UnitAmount : 9.000000,LineAmount : 218.700000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (15196694333 - 3 Industrial Drive Elmira, ON N3B 2S1 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 05:12:48] Production.INFO: ==== result =====
[2025-01-07 05:12:48] Production.INFO: {
"Id": "b39ca204-5a0b-40c0-a6fd-8951850c9f17",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736244768875)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "5442a57e-948b-40c9-9e17-efeb6f355cbb",
"InvoiceNumber": "INV11210",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 249.96,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 24.30,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "55837711-2979-41d6-b74d-0bee4c711dc6",
"ContactStatus": "ACTIVE",
"Name": "Bauman Group Inc.",
"FirstName": "Randy",
"LastName": "Bauman",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1700566819650+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-13T00:00:00",
"Date": "\/Date(1734048000000+0000)\/",
"DueDateString": "2025-01-12T00:00:00",
"DueDate": "\/Date(1736640000000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "License for an Unlimited Canada/US Cloud Phone extension",
"UnitAmount": 9.00,
"TaxType": "TAX020",
"TaxAmount": 28.43,
"LineAmount": 218.70,
"AccountCode": "203",
"Tracking": [],
"Quantity": 27.0000,
"DiscountRate": 10.00,
"LineItemID": "e17c1d50-ed9d-42d1-b6d7-23e2a21b7cbf",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountEnteredAsPercent": true,
"DiscountAmount": 24.3000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (15196694333 - 3 Industrial Drive Elmira, ON N3B 2S1 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "4172adaa-d9ae-48a1-825d-8173f97bf678",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
}
],
"SubTotal": 221.20,
"TotalTax": 28.76,
"Total": 249.96,
"UpdatedDateUTC": "\/Date(1736244768830+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:12:48] Production.INFO: -- Create Invoice id --5442a57e-948b-40c9-9e17-efeb6f355cbb
[2025-01-07 05:12:48] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:12:48] Production.INFO: CheckInvoice xerov2: INV11049
[2025-01-07 05:12:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11049
[2025-01-07 05:12:51] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:12:51] Production.INFO: Invoice SubTotal 77.430000
[2025-01-07 05:12:51] Production.INFO: Invoice DetTotal 77.43
[2025-01-07 05:12:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Behrns%20Metal%20Fabricating%20Inc"
[2025-01-07 05:12:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:12:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:12:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 10:13:01] Production.INFO: ==4553== Lock acquired, processing the job...
[2025-01-07 10:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:13:01] Production.INFO: neon service started
[2025-01-07 10:13:01] Production.INFO: neon service started
[2025-01-07 10:13:01] Production.INFO: ==4553== Releasing lock...
[2025-01-07 10:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:13:01] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 10-13-2024 To 11-12-2024",Quantity : 1,UnitAmount : 2.930000,LineAmount : 2.930000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 10.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension",Quantity : 8,UnitAmount : 10.000000,LineAmount : 72.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (15192914136 - 6650 Perth County Line 88 Gowanstown, ON N0G 1Y0 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 05:13:01] Production.INFO: ==4556== Lock acquired, processing the job...
[2025-01-07 05:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:13:02] Production.INFO: ==4556== Releasing lock...
[2025-01-07 05:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:13:02] Production.INFO: ==4558== Lock acquired, processing the job...
[2025-01-07 10:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:13:02] Production.INFO: ==4558== Releasing lock...
[2025-01-07 10:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:13:02] Production.INFO: ==4567== Lock acquired, processing the job...
[2025-01-07 05:13:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:13:02] Production.INFO: Account Balance Start.
[2025-01-07 05:13:02] Production.INFO: CreateAllLog Start
[2025-01-07 05:13:02] Production.INFO: 117
[2025-01-07 05:13:02] Production.INFO: Date 2024-12-08
[2025-01-07 05:13:02] Production.INFO: Reseller ==> 0
[2025-01-07 05:13:03] Production.INFO: Date 2024-12-09
[2025-01-07 05:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:13:03] Production.INFO: Date 2024-12-10
[2025-01-07 05:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:13:03] Production.INFO: Date 2024-12-11
[2025-01-07 05:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:13:03] Production.INFO: ==4571== Lock acquired, processing the job...
[2025-01-07 05:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:13:03] Production.INFO: Date 2024-12-12
[2025-01-07 05:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:13:03] Production.INFO: Date 2024-12-13
[2025-01-07 05:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:13:03] Production.INFO: Date 2024-12-14
[2025-01-07 05:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 05:13:03] Production.INFO: Date 2024-12-15
[2025-01-07 05:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:13:03] Production.INFO: count ==21
[2025-01-07 05:13:03] Production.INFO: Date 2024-12-16
[2025-01-07 05:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:13:03] Production.INFO: ==4569== Lock acquired, processing the job...
[2025-01-07 05:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:13:03] Production.INFO: ==4563== Lock acquired, processing the job...
[2025-01-07 05:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 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-07 05:13:03] Production.INFO: count ==21
[2025-01-07 05:13:03] Production.INFO: Date 2024-12-17
[2025-01-07 05:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192679') start
[2025-01-07 05:13:03] Production.INFO: ==4561== Lock acquired, processing the job...
[2025-01-07 05:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:13:03] Production.INFO: Date 2024-12-18
[2025-01-07 05:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:13:03] Production.INFO: ==4565== Lock acquired, processing the job...
[2025-01-07 05:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:13:03] Production.INFO: Date 2024-12-19
[2025-01-07 05:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:13:03] Production.INFO: Date 2024-12-20
[2025-01-07 05:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192679') end
[2025-01-07 05:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:13:03] Production.INFO: 1
[2025-01-07 05:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:13:03] Production.INFO: Date 2024-12-21
[2025-01-07 05:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:13:03] Production.INFO: ==4571== Releasing lock...
[2025-01-07 05:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:13:03] Production.INFO: Date 2024-12-22
[2025-01-07 05:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:13:03] Production.INFO: Date 2024-12-23
[2025-01-07 05:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:13:03] Production.ERROR: done
[2025-01-07 05:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:13:03] Production.INFO: Date 2024-12-24
[2025-01-07 05:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:13:03] Production.INFO: Date 2024-12-25
[2025-01-07 05:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:13:03] Production.INFO: ==4563== Releasing lock...
[2025-01-07 05:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:13:03] Production.INFO: Date 2024-12-26
[2025-01-07 05:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:13:03] Production.INFO: Date 2024-12-27
[2025-01-07 05:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:13:03] Production.ERROR: done
[2025-01-07 05:13:04] Production.INFO: Date 2024-12-28
[2025-01-07 05:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:13:04] Production.INFO: Date 2024-12-29
[2025-01-07 05:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:13:04] Production.INFO: Date 2024-12-30
[2025-01-07 05:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:13:04] Production.INFO: Date 2024-12-31
[2025-01-07 05:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:13:04] Production.INFO: Date 2025-01-01
[2025-01-07 05:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:13:04] Production.INFO: Date 2025-01-02
[2025-01-07 05:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:13:04] Production.INFO: Date 2025-01-03
[2025-01-07 05:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:13:04] Production.INFO: ==== result =====
[2025-01-07 05:13:04] Production.INFO: {
"Id": "a5ea224e-6687-48d4-8e90-6e5a7c5c5bed",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736244784255)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "3291da16-e996-4003-894d-82551aa76f6c",
"InvoiceNumber": "INV11049",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 87.50,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 8.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "b5208613-a884-49ac-9417-cb8891a7008b",
"ContactStatus": "ACTIVE",
"Name": "Behrns Metal Fabricating Inc",
"FirstName": "Janice",
"LastName": "George",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1686216462723+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-11-13T00:00:00",
"Date": "\/Date(1731456000000+0000)\/",
"DueDateString": "2024-12-13T00:00:00",
"DueDate": "\/Date(1734048000000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "From 10-13-2024 To 11-12-2024",
"UnitAmount": 2.93,
"TaxType": "TAX020",
"TaxAmount": 0.38,
"LineAmount": 2.93,
"AccountCode": "234",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "d71ba785-6566-4352-a6b4-a80e8e129f63",
"AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "License for an Unlimited Canada/US Cloud Phone extension",
"UnitAmount": 10.00,
"TaxType": "TAX020",
"TaxAmount": 9.36,
"LineAmount": 72.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 8.0000,
"DiscountRate": 10.00,
"LineItemID": "b36a6dd9-4ed7-49b1-b1ac-f2cc6c95dc0d",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountEnteredAsPercent": true,
"DiscountAmount": 8.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (15192914136 - 6650 Perth County Line 88 Gowanstown, ON N0G 1Y0 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "10496ecf-324c-4820-a798-b0bc60c0b220",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
}
],
"SubTotal": 77.43,
"TotalTax": 10.07,
"Total": 87.50,
"UpdatedDateUTC": "\/Date(1736244784193+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:13:04] Production.INFO: Date 2025-01-04
[2025-01-07 05:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:13:04] Production.INFO: Date 2025-01-05
[2025-01-07 05:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:13:04] Production.INFO: -- Create Invoice id --3291da16-e996-4003-894d-82551aa76f6c
[2025-01-07 05:13:04] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:13:04] Production.INFO: CheckInvoice xerov2: INV10862
[2025-01-07 05:13:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10862
[2025-01-07 05:13:04] Production.INFO: Date 2025-01-06
[2025-01-07 05:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:13:04] Production.INFO: Date 2025-01-07
[2025-01-07 05:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:13:04] Production.INFO: Total Charge 0
[2025-01-07 05:13:04] Production.INFO: CreateAllLog End
[2025-01-07 05:13:04] Production.INFO: Account Balance End.
[2025-01-07 05:13:04] Production.ERROR: CronJobId end 12
[2025-01-07 05:13:04] Production.INFO: ==4567== Releasing lock...
[2025-01-07 05:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:13:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:13:04
[end_date_ymd] => 2025-01-07 05:13:04
[RateCDR] => 1
)
[2025-01-07 05:13:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 02:13:04' and `end` < '2025-01-07 05:13:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 05:13:07] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:13:07] Production.INFO: ========================== Exception occured =============================
[2025-01-07 05:13:07] Production.ERROR: exception 'ErrorException' with message 'Undefined offset: 48' in /var/www/html/onswitch.neon.service/app/lib/XeroV2.php:0
Stack trace:
#0 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined offse...', '/var/www/html/o...', 0, Array)
#1 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->GetInvoiceData()
#2 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->CreateInvoice()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/XeroInvoicePostV2.php(0): App\Lib\XeroV2->addInvoices()
#4 [internal function]: App\Console\Commands\XeroInvoicePostV2->fire()
#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\XeroInvoicePostV2), 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-07 05:13:07] Production.INFO: ========================== Exception updated in job and email sent =============================
[2025-01-07 05:13:07] Production.INFO: ==4460== Releasing lock...
[2025-01-07 05:13:07] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10425 #Stops#
[2025-01-07 05:13:07] Production.INFO: 31.5 MB #Memory Used#
[2025-01-07 05:13:11] Production.ERROR: CronJobId end10
[2025-01-07 05:13:11] Production.INFO: ==4565== Releasing lock...
[2025-01-07 05:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:13:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:13:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:13:14] Production.INFO: call_cost start
[2025-01-07 05:13:14] Production.INFO: call_cost end
[2025-01-07 05:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:13:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:13:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:13:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:13:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:13:15] Production.INFO: ==4561== Releasing lock...
[2025-01-07 05:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:13:17] Production.INFO: count ==81
[2025-01-07 05:13:17] Production.ERROR: pbx CDR StartTime 2025-01-07 02:13:04 - End Time 2025-01-07 05:13:04
[2025-01-07 05:13:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192682', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192682', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192682', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192682', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:13:17] Production.INFO: ProcessCDR(1,14192682,1,1,2)
[2025-01-07 05:13:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192682,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:13:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192682,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:13:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192682,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:13:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192682,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192682', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192682', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:13:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:13:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:13:20] Production.INFO: ==4569== Releasing lock...
[2025-01-07 05:13:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:13:20] Production.INFO: 28 MB #Memory Used#
[2025-01-07 10:14:01] Production.INFO: ==4640== Lock acquired, processing the job...
[2025-01-07 10:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:14:01] Production.INFO: neon service started
[2025-01-07 10:14:01] Production.INFO: neon service started
[2025-01-07 10:14:01] Production.INFO: ==4640== Releasing lock...
[2025-01-07 10:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:14:02] Production.INFO: ==4642== Lock acquired, processing the job...
[2025-01-07 05:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:14:02] Production.INFO: ==4644== Lock acquired, processing the job...
[2025-01-07 10:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:14:02] Production.INFO: ==4644== Releasing lock...
[2025-01-07 10:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:14:02] Production.INFO: ==4642== Releasing lock...
[2025-01-07 05:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:14:03] Production.INFO: ==4651== Lock acquired, processing the job...
[2025-01-07 05:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:14:03] Production.INFO: ==4647== Lock acquired, processing the job...
[2025-01-07 05:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:14:03] Production.INFO: ==4657== Lock acquired, processing the job...
[2025-01-07 05:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:14:03] Production.INFO: ==4649== Lock acquired, processing the job...
[2025-01-07 05:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:14:04] Production.INFO: ==4653== Lock acquired, processing the job...
[2025-01-07 05:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 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-07 05:14:04] Production.INFO: ==4655== Lock acquired, processing the job...
[2025-01-07 05:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:14:04] Production.INFO: count ==21
[2025-01-07 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-07 05:14:04] Production.INFO: count ==21
[2025-01-07 05:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192683') start
[2025-01-07 05:14:04] Production.INFO: Account Balance Start.
[2025-01-07 05:14:04] Production.INFO: CreateAllLog Start
[2025-01-07 05:14:04] Production.INFO: 117
[2025-01-07 05:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:14:04] Production.INFO: Date 2024-12-08
[2025-01-07 05:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:14:04] Production.INFO: Date 2024-12-09
[2025-01-07 05:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192683') end
[2025-01-07 05:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:14:04] Production.INFO: 1
[2025-01-07 05:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:14:04] Production.INFO: Date 2024-12-10
[2025-01-07 05:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:14:04] Production.INFO: ==4649== Releasing lock...
[2025-01-07 05:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:14:04] Production.INFO: ==4657== Releasing lock...
[2025-01-07 05:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:14:04] Production.INFO: Date 2024-12-11
[2025-01-07 05:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:14:04] Production.INFO: Date 2024-12-12
[2025-01-07 05:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:14:04] Production.INFO: Date 2024-12-13
[2025-01-07 05:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:14:04] Production.ERROR: done
[2025-01-07 05:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:14:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:14:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:14:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:14:04] Production.ERROR: done
[2025-01-07 05:14:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:14:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:14:04] Production.INFO: Date 2024-12-19
[2025-01-07 05:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:14:04] Production.INFO: Date 2024-12-20
[2025-01-07 05:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:14:04] Production.INFO: Date 2024-12-21
[2025-01-07 05:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:14:04] Production.INFO: Date 2024-12-22
[2025-01-07 05:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:14:05] Production.INFO: Date 2024-12-23
[2025-01-07 05:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:14:05] Production.INFO: Date 2024-12-24
[2025-01-07 05:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:14:05] Production.INFO: Date 2024-12-25
[2025-01-07 05:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:14:05] Production.INFO: Date 2024-12-26
[2025-01-07 05:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:14:05] Production.INFO: Date 2024-12-27
[2025-01-07 05:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:14:05] Production.INFO: Date 2024-12-28
[2025-01-07 05:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:14:05] Production.INFO: Date 2024-12-29
[2025-01-07 05:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:14:05] Production.INFO: Date 2024-12-30
[2025-01-07 05:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:14:05] Production.INFO: Date 2024-12-31
[2025-01-07 05:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:14:05] Production.INFO: Date 2025-01-01
[2025-01-07 05:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:14:05] Production.INFO: Date 2025-01-02
[2025-01-07 05:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:14:05] Production.INFO: Date 2025-01-03
[2025-01-07 05:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:14:05] Production.INFO: Date 2025-01-04
[2025-01-07 05:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:14:05] Production.INFO: Date 2025-01-05
[2025-01-07 05:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:14:05] Production.INFO: Date 2025-01-06
[2025-01-07 05:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:14:05] Production.INFO: Date 2025-01-07
[2025-01-07 05:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:14:05] Production.INFO: Total Charge 0
[2025-01-07 05:14:05] Production.INFO: CreateAllLog End
[2025-01-07 05:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:14:05
[end_date_ymd] => 2025-01-07 05:14:05
[RateCDR] => 1
)
[2025-01-07 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-07 02:14:05' and `end` < '2025-01-07 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-07 05:14:05] Production.INFO: Account Balance End.
[2025-01-07 05:14:05] Production.ERROR: CronJobId end 12
[2025-01-07 05:14:05] Production.INFO: ==4653== Releasing lock...
[2025-01-07 05:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:14:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:14:11] Production.ERROR: CronJobId end10
[2025-01-07 05:14:11] Production.INFO: ==4651== Releasing lock...
[2025-01-07 05:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:14:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:14:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:14:14] Production.INFO: call_cost start
[2025-01-07 05:14:14] Production.INFO: call_cost end
[2025-01-07 05:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:14:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:14:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:14:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:14:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:14:15] Production.INFO: ==4647== Releasing lock...
[2025-01-07 05:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:14:19] Production.INFO: count ==81
[2025-01-07 05:14:19] Production.ERROR: pbx CDR StartTime 2025-01-07 02:14:05 - End Time 2025-01-07 05:14:05
[2025-01-07 05:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192687', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192687', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192687', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192687', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:14:19] Production.INFO: ProcessCDR(1,14192687,1,1,2)
[2025-01-07 05:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192687,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192687,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192687,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192687,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192687', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192687', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:14:22] Production.INFO: ==4655== Releasing lock...
[2025-01-07 05:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:14:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 10:15:02] Production.INFO: ==4713== Lock acquired, processing the job...
[2025-01-07 10:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:15:02] Production.INFO: neon service started
[2025-01-07 10:15:02] Production.INFO: neon service started
[2025-01-07 10:15:02] Production.INFO: ==4713== Releasing lock...
[2025-01-07 10:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:15:02] Production.INFO: ==4715== Lock acquired, processing the job...
[2025-01-07 05:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:15:02] Production.INFO: ==4717== Lock acquired, processing the job...
[2025-01-07 10:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:15:03] Production.INFO: ==4715== Releasing lock...
[2025-01-07 05:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:15:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:15:03] Production.INFO: ==4717== Releasing lock...
[2025-01-07 10:15:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:15:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:15:03] Production.INFO: ==4719== Lock acquired, processing the job...
[2025-01-07 05:15:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10426 #Starts#
[2025-01-07 05:15:04] Production.INFO: -- Xero Api Check --
[2025-01-07 05:15:04] Production.INFO: ==4727== Lock acquired, processing the job...
[2025-01-07 05:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:15:04] Production.INFO: ==4723== Lock acquired, processing the job...
[2025-01-07 05:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:15:04] Production.INFO: ==4721== Lock acquired, processing the job...
[2025-01-07 05:15:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:15:04] Production.INFO: ==4729== Lock acquired, processing the job...
[2025-01-07 05:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:15:04] Production.INFO: Account Balance Start.
[2025-01-07 05:15:04] Production.INFO: CreateAllLog Start
[2025-01-07 05:15:04] Production.INFO: 117
[2025-01-07 05:15:04] Production.INFO: ==4725== Lock acquired, processing the job...
[2025-01-07 05:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:15:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:15:04] Production.INFO: Date 2024-12-08
[2025-01-07 05:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:15:04] Production.INFO: ==4731== Lock acquired, processing the job...
[2025-01-07 05:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:15:04] Production.INFO: Date 2024-12-09
[2025-01-07 05:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:15:04] Production.INFO: Date 2024-12-10
[2025-01-07 05:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:15:04] Production.INFO: Date 2024-12-11
[2025-01-07 05:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:15:04] Production.INFO: Date 2024-12-12
[2025-01-07 05:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:15:04] Production.INFO: Date 2024-12-13
[2025-01-07 05:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:15:04] Production.INFO: ==4723== Releasing lock...
[2025-01-07 05:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:15:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:15:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:15:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:15:04] Production.INFO: count ==21
[2025-01-07 05:15:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:15:04] Production.INFO: count ==21
[2025-01-07 05:15:04] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 855
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.643796
[namelookup_time] => 0.269884
[connect_time] => 0.271085
[pretransfer_time] => 0.51524
[size_upload] => 82
[size_download] => 2755
[speed_download] => 4279
[speed_upload] => 127
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.643749
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.17
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 42148
)
[2025-01-07 05:15:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDQ5MDQsImV4cCI6MTczNjI0NTIwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ0OTA0LCJhdF9oYXNoIjoiYV9pT2wxalNvZXJLRExPQ1BhVUl2dyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.P7bO3zoxx8uLh9eeXDiNH9c7w-pCsOp3SVTSdTAR_Xq5b0a0dw3anFSBpcW554i1rvpf0wNMLS3kGQjtCNOaCUyVDfWC0lH8QZKhMMgW4foyWgnybMJDGkvf6XBaGe_Zb62cuxTA2cnlEmkpQ9_BA_S46Rysz-36lFi7STbfHcVKfEz8asdFShOrexcoAg4wnlTpxJQGDq8qSICHfhmaIroJZvg07IYZRH79v9FHZX3t7miI7ObA0GdIHXbRNG2qa7Fpke_qttAuCatkO8Lown2g6qBstcmq1WbVb6uVmPI-e5cKCD_LmTga7NhJLmthYUXQf89wdYpjH2n3MGtigg
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDQ5MDQsImV4cCI6MTczNjI0NjcwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.ygj3VMYsqn6r_1JlUJjSi3gmJHCJuGxD8mvAHKJved0l69PXK6OC6InO1RN0WXO4TXrG0YFeOCZ2Mdo2Kiz69bKge4OHAByaYRARPrZ9FzGHyxQuYTKyXXYTjjDTioN36Am5q7UsGK5Q9E2X6wZ4lL5-eCZuWc4MVvjU_t_HnFSUIJt089SQMKsvW47Nd1oYV5CHvao_om9XnReaqwTz4X8SrOZmzk9LYgwxwbdtMvmP6pZf5Zh4mN6zHWLuUkimxod1zn5Q1N1dNHG6um42lPxXeTksGwVQDYXLZ8P-Ybs2JK6DlG9XrkvIiUPgPoGVRNJE0G0BxhNAVrRDqb_scQ
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => 2MqT4bgqsynf-X02EdBX7D_NdMvB1AJctrntb-h-CN0
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 05:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:15:04] Production.ERROR: done
[2025-01-07 05:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192691') start
[2025-01-07 05:15:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDQ5MDQsImV4cCI6MTczNjI0NTIwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ0OTA0LCJhdF9oYXNoIjoiYV9pT2wxalNvZXJLRExPQ1BhVUl2dyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.P7bO3zoxx8uLh9eeXDiNH9c7w-pCsOp3SVTSdTAR_Xq5b0a0dw3anFSBpcW554i1rvpf0wNMLS3kGQjtCNOaCUyVDfWC0lH8QZKhMMgW4foyWgnybMJDGkvf6XBaGe_Zb62cuxTA2cnlEmkpQ9_BA_S46Rysz-36lFi7STbfHcVKfEz8asdFShOrexcoAg4wnlTpxJQGDq8qSICHfhmaIroJZvg07IYZRH79v9FHZX3t7miI7ObA0GdIHXbRNG2qa7Fpke_qttAuCatkO8Lown2g6qBstcmq1WbVb6uVmPI-e5cKCD_LmTga7NhJLmthYUXQf89wdYpjH2n3MGtigg
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDQ5MDQsImV4cCI6MTczNjI0NjcwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.ygj3VMYsqn6r_1JlUJjSi3gmJHCJuGxD8mvAHKJved0l69PXK6OC6InO1RN0WXO4TXrG0YFeOCZ2Mdo2Kiz69bKge4OHAByaYRARPrZ9FzGHyxQuYTKyXXYTjjDTioN36Am5q7UsGK5Q9E2X6wZ4lL5-eCZuWc4MVvjU_t_HnFSUIJt089SQMKsvW47Nd1oYV5CHvao_om9XnReaqwTz4X8SrOZmzk9LYgwxwbdtMvmP6pZf5Zh4mN6zHWLuUkimxod1zn5Q1N1dNHG6um42lPxXeTksGwVQDYXLZ8P-Ybs2JK6DlG9XrkvIiUPgPoGVRNJE0G0BxhNAVrRDqb_scQ
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => 2MqT4bgqsynf-X02EdBX7D_NdMvB1AJctrntb-h-CN0
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 05:15:04] Production.INFO: AccountID 95
[2025-01-07 05:15:04] Production.INFO: AccountName CanTrust Insurance Services
[2025-01-07 05:15:04] Production.INFO: Checkcustomer
[2025-01-07 05:15:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="CanTrust%20Insurance%20Services"
[2025-01-07 05:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192691') end
[2025-01-07 05:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:15:04] Production.INFO: 1
[2025-01-07 05:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:15:04] Production.ERROR: done
[2025-01-07 05:15:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:15:04] Production.INFO: ==4731== Releasing lock...
[2025-01-07 05:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:15:04] Production.INFO: Date 2024-12-19
[2025-01-07 05:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:15:04] Production.INFO: Date 2024-12-20
[2025-01-07 05:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:15:04] Production.INFO: Date 2024-12-21
[2025-01-07 05:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:15:04] Production.INFO: Date 2024-12-22
[2025-01-07 05:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:15:05] Production.INFO: Date 2024-12-23
[2025-01-07 05:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:15:05] Production.INFO: Date 2024-12-24
[2025-01-07 05:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:15:05] Production.INFO: Date 2024-12-25
[2025-01-07 05:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:15:05] Production.INFO: Date 2024-12-26
[2025-01-07 05:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:15:05] Production.INFO: Date 2024-12-27
[2025-01-07 05:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:15:05] Production.INFO: Date 2024-12-28
[2025-01-07 05:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:15:05] Production.INFO: Date 2024-12-29
[2025-01-07 05:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:15:05] Production.INFO: Date 2024-12-30
[2025-01-07 05:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:15:05] Production.INFO: Date 2024-12-31
[2025-01-07 05:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:15:05] Production.INFO: Date 2025-01-01
[2025-01-07 05:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:15:05] Production.INFO: Date 2025-01-02
[2025-01-07 05:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:15:05] Production.INFO: Date 2025-01-03
[2025-01-07 05:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:15:05] Production.INFO: Date 2025-01-04
[2025-01-07 05:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:15:05] Production.INFO: Date 2025-01-05
[2025-01-07 05:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:15:05] Production.INFO: Date 2025-01-06
[2025-01-07 05:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:15:05] Production.INFO: Date 2025-01-07
[2025-01-07 05:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:15:05] Production.INFO: Total Charge 0
[2025-01-07 05:15:05] Production.INFO: CreateAllLog End
[2025-01-07 05:15:05] Production.INFO: Account Balance End.
[2025-01-07 05:15:05] Production.ERROR: CronJobId end 12
[2025-01-07 05:15:05] Production.INFO: ==4727== Releasing lock...
[2025-01-07 05:15:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:15:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:15:05
[end_date_ymd] => 2025-01-07 05:15:05
[RateCDR] => 1
)
[2025-01-07 05:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 02:15:05' and `end` < '2025-01-07 05:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 05:15:07] Production.INFO: Contact id print CheckCustomer Case===d5a46ee9-fef7-49ae-981c-b537df046ad7
[2025-01-07 05:15:07] Production.INFO: -- count --1
[2025-01-07 05:15:07] Production.INFO: AccountID 103
[2025-01-07 05:15:07] Production.INFO: AccountName Cathim Inc
[2025-01-07 05:15:07] Production.INFO: Checkcustomer
[2025-01-07 05:15:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Cathim%20Inc"
[2025-01-07 05:15:10] Production.INFO: Contact id print CheckCustomer Case===b3a32be3-34a8-47ed-9add-6507ade181ac
[2025-01-07 05:15:10] Production.INFO: -- count --1
[2025-01-07 05:15:10] Production.INFO: AccountID 103
[2025-01-07 05:15:10] Production.INFO: AccountName Cathim Inc
[2025-01-07 05:15:10] Production.INFO: Checkcustomer
[2025-01-07 05:15:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Cathim%20Inc"
[2025-01-07 05:15:13] Production.ERROR: CronJobId end10
[2025-01-07 05:15:13] Production.INFO: ==4725== Releasing lock...
[2025-01-07 05:15:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:15:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:15:13] Production.INFO: Contact id print CheckCustomer Case===b3a32be3-34a8-47ed-9add-6507ade181ac
[2025-01-07 05:15:13] Production.INFO: -- count --1
[2025-01-07 05:15:13] Production.INFO: -- Xero Add Inovice --
[2025-01-07 05:15:13] Production.INFO: CheckInvoice xerov2: INV11285
[2025-01-07 05:15:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11285
[2025-01-07 05:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:15:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:15:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:15:14] Production.INFO: call_cost start
[2025-01-07 05:15:14] Production.INFO: call_cost end
[2025-01-07 05:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:15:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:15:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:15:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:15:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:15:15] Production.INFO: ==4721== Releasing lock...
[2025-01-07 05:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:15:16] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:15:16] Production.INFO: Invoice SubTotal 78.520000
[2025-01-07 05:15:16] Production.INFO: Invoice DetTotal 78.52
[2025-01-07 05:15:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="CanTrust%20Insurance%20Services"
[2025-01-07 05:15:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:15:19] Production.INFO: count ==81
[2025-01-07 05:15:19] Production.ERROR: pbx CDR StartTime 2025-01-07 02:15:05 - End Time 2025-01-07 05:15:05
[2025-01-07 05:15:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192692', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192692', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192692', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192692', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:15:19] Production.INFO: ProcessCDR(1,14192692,1,1,2)
[2025-01-07 05:15:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192692,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:15:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192692,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:15:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192692,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:15:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192692,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192692', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192692', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:15:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:15:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:15:23] Production.INFO: ==4729== Releasing lock...
[2025-01-07 05:15:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:15:23] Production.INFO: 28 MB #Memory Used#
[2025-01-07 05:15:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:15:26] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 12-01-2024 To 12-31-2024",Quantity : 1,UnitAmount : 28.020000,LineAmount : 28.020000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Inbound Channels",Quantity : 6,UnitAmount : 8.000000,LineAmount : 48.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14168175555 - 3640 Victoria Park Ave. 301, North York, ON M2H 3B2)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 05:15:29] Production.INFO: ==== result =====
[2025-01-07 05:15:29] Production.INFO: {
"Id": "938cb8f5-f08d-4f66-bdc5-ffda2adea6b8",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736244929309)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "b89c65af-cd1a-4ff8-9e0b-ae6b5957e96b",
"InvoiceNumber": "INV11285",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 88.73,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "d5a46ee9-fef7-49ae-981c-b537df046ad7",
"ContactStatus": "ACTIVE",
"Name": "CanTrust Insurance Services",
"FirstName": "Ken",
"LastName": "Chen",
"EmailAddress": "ken.chen@cantrustcanada.com",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1549033984247+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2025-01-01T00:00:00",
"Date": "\/Date(1735689600000+0000)\/",
"DueDateString": "2025-01-31T00:00:00",
"DueDate": "\/Date(1738281600000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "From 12-01-2024 To 12-31-2024",
"UnitAmount": 28.02,
"TaxType": "TAX020",
"TaxAmount": 3.64,
"LineAmount": 28.02,
"AccountCode": "234",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "7761305e-9a09-4582-921d-70b408b915a5",
"AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Inbound Channels",
"UnitAmount": 8.00,
"TaxType": "TAX020",
"TaxAmount": 6.24,
"LineAmount": 48.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 6.0000,
"DiscountRate": 0.00,
"LineItemID": "e7d1602b-9423-4caa-90c2-bdc5f8859aaa",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (14168175555 - 3640 Victoria Park Ave. 301, North York, ON M2H 3B2)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "be778336-7d36-4493-b2db-c784ee0fff65",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 78.52,
"TotalTax": 10.21,
"Total": 88.73,
"UpdatedDateUTC": "\/Date(1736244929247+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:15:29] Production.INFO: -- Create Invoice id --b89c65af-cd1a-4ff8-9e0b-ae6b5957e96b
[2025-01-07 05:15:29] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:15:29] Production.INFO: CheckInvoice xerov2: INV11114
[2025-01-07 05:15:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11114
[2025-01-07 05:15:31] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:15:31] Production.INFO: Invoice SubTotal 17.690000
[2025-01-07 05:15:31] Production.INFO: Invoice DetTotal 17.69
[2025-01-07 05:15:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Cathim%20Inc"
[2025-01-07 05:15:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:15:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:15:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:15:43] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 10-28-2024 To 11-27-2024",Quantity : 1,UnitAmount : 7.690000,LineAmount : 7.690000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18889888860)",Quantity : 1,UnitAmount : 10.000000,LineAmount : 10.000000}
[2025-01-07 05:15:45] Production.INFO: ==== result =====
[2025-01-07 05:15:45] Production.INFO: {
"Id": "f3ccded1-f3c5-4533-b67b-609915131640",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736244945788)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "736a4201-c9a8-45f4-ac7f-8cd873cf5b72",
"InvoiceNumber": "INV11114",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 19.99,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "b3a32be3-34a8-47ed-9add-6507ade181ac",
"ContactStatus": "ACTIVE",
"Name": "Cathim Inc",
"FirstName": "Jim",
"LastName": "Norfolk",
"EmailAddress": "jim@cathim.com",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1551296572893+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-11-28T00:00:00",
"Date": "\/Date(1732752000000+0000)\/",
"DueDateString": "2024-12-28T00:00:00",
"DueDate": "\/Date(1735344000000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "From 10-28-2024 To 11-27-2024",
"UnitAmount": 7.69,
"TaxType": "TAX020",
"TaxAmount": 1.00,
"LineAmount": 7.69,
"AccountCode": "234",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "21178571-a560-4d2c-a357-c115ed426d19",
"AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (18889888860)",
"UnitAmount": 10.00,
"TaxType": "TAX020",
"TaxAmount": 1.30,
"LineAmount": 10.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "3ca7b514-09b0-434c-a910-146e605f129d",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 17.69,
"TotalTax": 2.30,
"Total": 19.99,
"UpdatedDateUTC": "\/Date(1736244945727+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:15:45] Production.INFO: -- Create Invoice id --736a4201-c9a8-45f4-ac7f-8cd873cf5b72
[2025-01-07 05:15:45] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:15:45] Production.INFO: CheckInvoice xerov2: INV11271
[2025-01-07 05:15:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11271
[2025-01-07 05:15:48] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:15:48] Production.INFO: Invoice SubTotal 14.650000
[2025-01-07 05:15:48] Production.INFO: Invoice DetTotal 14.65
[2025-01-07 05:15:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Cathim%20Inc"
[2025-01-07 05:15:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:15:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:15:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:15:58] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 11-28-2024 To 12-27-2024",Quantity : 1,UnitAmount : 4.650000,LineAmount : 4.650000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18889888860)",Quantity : 1,UnitAmount : 10.000000,LineAmount : 10.000000}
[2025-01-07 05:16:01] Production.INFO: ==== result =====
[2025-01-07 05:16:01] Production.INFO: {
"Id": "3db87965-fd22-464a-b466-8a968dbe363c",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736244961284)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "7025df44-4344-4fac-bb87-7bf5623a98ed",
"InvoiceNumber": "INV11271",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 16.55,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "b3a32be3-34a8-47ed-9add-6507ade181ac",
"ContactStatus": "ACTIVE",
"Name": "Cathim Inc",
"FirstName": "Jim",
"LastName": "Norfolk",
"EmailAddress": "jim@cathim.com",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1551296572893+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-28T00:00:00",
"Date": "\/Date(1735344000000+0000)\/",
"DueDateString": "2025-01-27T00:00:00",
"DueDate": "\/Date(1737936000000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "From 11-28-2024 To 12-27-2024",
"UnitAmount": 4.65,
"TaxType": "TAX020",
"TaxAmount": 0.60,
"LineAmount": 4.65,
"AccountCode": "234",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "c23e3055-48cf-4fbd-8fd4-9edfbb0705be",
"AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (18889888860)",
"UnitAmount": 10.00,
"TaxType": "TAX020",
"TaxAmount": 1.30,
"LineAmount": 10.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "3f44fe84-6aab-4648-b094-0b2647164a9d",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 14.65,
"TotalTax": 1.90,
"Total": 16.55,
"UpdatedDateUTC": "\/Date(1736244961173+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:16:01] Production.INFO: -- Create Invoice id --7025df44-4344-4fac-bb87-7bf5623a98ed
[2025-01-07 05:16:01] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:16:01] Production.INFO: -- Xero End Inovice --
[2025-01-07 05:16:01] Production.INFO: ==4719== Releasing lock...
[2025-01-07 05:16:01] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10426 #Stops#
[2025-01-07 05:16:01] Production.INFO: 31.75 MB #Memory Used#
[2025-01-07 10:16:01] Production.INFO: ==4810== Lock acquired, processing the job...
[2025-01-07 10:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:16:01] Production.INFO: neon service started
[2025-01-07 10:16:01] Production.INFO: neon service started
[2025-01-07 10:16:01] Production.INFO: ==4810== Releasing lock...
[2025-01-07 10:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:16:02] Production.INFO: ==4812== Lock acquired, processing the job...
[2025-01-07 05:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:16:02] Production.INFO: ==4814== Lock acquired, processing the job...
[2025-01-07 10:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:16:02] Production.INFO: ==4814== Releasing lock...
[2025-01-07 10:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:16:02] Production.INFO: ==4812== Releasing lock...
[2025-01-07 05:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:16:03] Production.INFO: ==4817== Lock acquired, processing the job...
[2025-01-07 05:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:16:03] Production.INFO: ==4827== Lock acquired, processing the job...
[2025-01-07 05:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 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-07 05:16:03] Production.INFO: ==4819== Lock acquired, processing the job...
[2025-01-07 05:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:16:03] Production.INFO: count ==21
[2025-01-07 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-07 05:16:03] Production.INFO: count ==21
[2025-01-07 05:16:03] Production.INFO: ==4821== Lock acquired, processing the job...
[2025-01-07 05:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192694') start
[2025-01-07 05:16:03] Production.INFO: ==4823== Lock acquired, processing the job...
[2025-01-07 05:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:16:03] Production.INFO: ==4825== Lock acquired, processing the job...
[2025-01-07 05:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192694') end
[2025-01-07 05:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:16:03] Production.INFO: 1
[2025-01-07 05:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:16:03] Production.INFO: ==4827== Releasing lock...
[2025-01-07 05:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:16:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:16:03] Production.INFO: Account Balance Start.
[2025-01-07 05:16:03] Production.INFO: CreateAllLog Start
[2025-01-07 05:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:16:03] Production.INFO: 117
[2025-01-07 05:16:03] Production.INFO: Date 2024-12-08
[2025-01-07 05:16:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:16:03] Production.INFO: Date 2024-12-09
[2025-01-07 05:16:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:16:03] Production.INFO: Date 2024-12-10
[2025-01-07 05:16:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:16:03] Production.INFO: Date 2024-12-11
[2025-01-07 05:16:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:16:04] Production.ERROR: done
[2025-01-07 05:16:04] Production.INFO: ==4819== Releasing lock...
[2025-01-07 05:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:16:04] Production.INFO: Date 2024-12-12
[2025-01-07 05:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:16:04] Production.ERROR: done
[2025-01-07 05:16:04] Production.INFO: Date 2024-12-13
[2025-01-07 05:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:16:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:16:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:16:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:16:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:16:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:16:04] Production.INFO: Date 2024-12-19
[2025-01-07 05:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:16:04] Production.INFO: Date 2024-12-20
[2025-01-07 05:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:16:04] Production.INFO: Date 2024-12-21
[2025-01-07 05:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:16:04] Production.INFO: Date 2024-12-22
[2025-01-07 05:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:16:04] Production.INFO: Date 2024-12-23
[2025-01-07 05:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:16:04] Production.INFO: Date 2024-12-24
[2025-01-07 05:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:16:04] Production.INFO: Date 2024-12-25
[2025-01-07 05:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:16:04] Production.INFO: Date 2024-12-26
[2025-01-07 05:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:16:04] Production.INFO: Date 2024-12-27
[2025-01-07 05:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:16:04] Production.INFO: Date 2024-12-28
[2025-01-07 05:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:16:04] Production.INFO: Date 2024-12-29
[2025-01-07 05:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:16:04] Production.INFO: Date 2024-12-30
[2025-01-07 05:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:16:04] Production.INFO: Date 2024-12-31
[2025-01-07 05:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:16:04] Production.INFO: Date 2025-01-01
[2025-01-07 05:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:16:04] Production.INFO: Date 2025-01-02
[2025-01-07 05:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:16:04] Production.INFO: Date 2025-01-03
[2025-01-07 05:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:16:04] Production.INFO: Date 2025-01-04
[2025-01-07 05:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:16:04] Production.INFO: Date 2025-01-05
[2025-01-07 05:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:16:04] Production.INFO: Date 2025-01-06
[2025-01-07 05:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:16:04] Production.INFO: Date 2025-01-07
[2025-01-07 05:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:16:04] Production.INFO: Total Charge 0
[2025-01-07 05:16:04] Production.INFO: CreateAllLog End
[2025-01-07 05:16:05] Production.INFO: Account Balance End.
[2025-01-07 05:16:05] Production.ERROR: CronJobId end 12
[2025-01-07 05:16:05] Production.INFO: ==4823== Releasing lock...
[2025-01-07 05:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:16:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:16:05
[end_date_ymd] => 2025-01-07 05:16:05
[RateCDR] => 1
)
[2025-01-07 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-07 02:16:05' and `end` < '2025-01-07 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-07 05:16:11] Production.ERROR: CronJobId end10
[2025-01-07 05:16:11] Production.INFO: ==4821== Releasing lock...
[2025-01-07 05:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:16:13] Production.INFO: call_cost start
[2025-01-07 05:16:13] Production.INFO: call_cost end
[2025-01-07 05:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:16:14] Production.INFO: ==4817== Releasing lock...
[2025-01-07 05:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:16:18] Production.INFO: count ==79
[2025-01-07 05:16:18] Production.ERROR: pbx CDR StartTime 2025-01-07 02:16:05 - End Time 2025-01-07 05:16:05
[2025-01-07 05:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192697', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192697', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192697', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192697', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:16:18] Production.INFO: ProcessCDR(1,14192697,1,1,2)
[2025-01-07 05:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192697,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192697,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192697,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192697,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192697', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192697', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:16:21] Production.INFO: ==4825== Releasing lock...
[2025-01-07 05:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:16:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 10:17:02] Production.INFO: ==4883== Lock acquired, processing the job...
[2025-01-07 10:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:17:02] Production.INFO: neon service started
[2025-01-07 10:17:02] Production.INFO: neon service started
[2025-01-07 10:17:02] Production.INFO: ==4883== Releasing lock...
[2025-01-07 10:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:17:02] Production.INFO: ==4885== Lock acquired, processing the job...
[2025-01-07 05:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:17:03] Production.INFO: ==4887== Lock acquired, processing the job...
[2025-01-07 10:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:17:03] Production.INFO: ==4885== Releasing lock...
[2025-01-07 05:17:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:17:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:17:03] Production.INFO: ==4887== Releasing lock...
[2025-01-07 10:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:17:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:17:03] Production.INFO: ==4895== Lock acquired, processing the job...
[2025-01-07 05:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:17:04] Production.INFO: ==4899== Lock acquired, processing the job...
[2025-01-07 05:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:17:04] Production.INFO: ==4891== Lock acquired, processing the job...
[2025-01-07 05:17:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:17:04] Production.INFO: ==4893== Lock acquired, processing the job...
[2025-01-07 05:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:17:04] Production.INFO: ==4897== Lock acquired, processing the job...
[2025-01-07 05:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:17:04] Production.INFO: ==4889== Lock acquired, processing the job...
[2025-01-07 05:17:04] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10427 #Starts#
[2025-01-07 05:17:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:17:04] Production.INFO: -- Xero Api Check --
[2025-01-07 05:17:04] Production.INFO: Account Balance Start.
[2025-01-07 05:17:04] Production.INFO: CreateAllLog Start
[2025-01-07 05:17:04] Production.INFO: 117
[2025-01-07 05:17:04] Production.INFO: Date 2024-12-08
[2025-01-07 05:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:17:04] Production.INFO: Date 2024-12-09
[2025-01-07 05:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:17:04] Production.ERROR: done
[2025-01-07 05:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:17:04] Production.INFO: Date 2024-12-10
[2025-01-07 05:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:17:04] Production.INFO: ==4893== Releasing lock...
[2025-01-07 05:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:17:04] Production.INFO: Date 2024-12-11
[2025-01-07 05:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:17:04] Production.INFO: ==4902== Lock acquired, processing the job...
[2025-01-07 05:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:17:04] Production.INFO: Date 2024-12-12
[2025-01-07 05:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:17:04] Production.INFO: Date 2024-12-13
[2025-01-07 05:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:17:04] Production.ERROR: done
[2025-01-07 05:17:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:17:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:17:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:17:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:17:04] Production.INFO: count ==21
[2025-01-07 05:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:17:04] Production.INFO: count ==21
[2025-01-07 05:17:05] Production.INFO: Date 2024-12-18
[2025-01-07 05:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:17:05] Production.ERROR: PBX CALL prc_importPBXExtension('14192701') start
[2025-01-07 05:17:05] Production.INFO: Date 2024-12-19
[2025-01-07 05:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:17:05] Production.INFO: Date 2024-12-20
[2025-01-07 05:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:17:05] Production.INFO: Date 2024-12-21
[2025-01-07 05:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:17:05] Production.ERROR: PBX CALL prc_importPBXExtension('14192701') end
[2025-01-07 05:17:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:17:05] Production.INFO: 1
[2025-01-07 05:17:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:17:05] Production.INFO: Date 2024-12-22
[2025-01-07 05:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:17:05] Production.INFO: Date 2024-12-23
[2025-01-07 05:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:17:05] Production.INFO: ==4902== Releasing lock...
[2025-01-07 05:17:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:17:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:17:05] Production.INFO: Date 2024-12-24
[2025-01-07 05:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:17:05] Production.INFO: Date 2024-12-25
[2025-01-07 05:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:17:05] Production.INFO: Date 2024-12-26
[2025-01-07 05:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:17:05] Production.INFO: Date 2024-12-27
[2025-01-07 05:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:17:05] Production.INFO: Date 2024-12-28
[2025-01-07 05:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:17:05] Production.INFO: Date 2024-12-29
[2025-01-07 05:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:17:05] Production.INFO: Date 2024-12-30
[2025-01-07 05:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:17:05] Production.INFO: Date 2024-12-31
[2025-01-07 05:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:17:05] Production.INFO: Date 2025-01-01
[2025-01-07 05:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:17:05] Production.INFO: Date 2025-01-02
[2025-01-07 05:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:17:05] Production.INFO: Date 2025-01-03
[2025-01-07 05:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:17:05] Production.INFO: Date 2025-01-04
[2025-01-07 05:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:17:05] Production.INFO: Date 2025-01-05
[2025-01-07 05:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:17:05] Production.INFO: Date 2025-01-06
[2025-01-07 05:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:17:05] Production.INFO: Date 2025-01-07
[2025-01-07 05:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:17:05] Production.INFO: Total Charge 0
[2025-01-07 05:17:05] Production.INFO: CreateAllLog End
[2025-01-07 05:17:05] Production.INFO: Account Balance End.
[2025-01-07 05:17:06] Production.ERROR: CronJobId end 12
[2025-01-07 05:17:06] Production.INFO: ==4897== Releasing lock...
[2025-01-07 05:17:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:17:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:17:06] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 852
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 1.651702
[namelookup_time] => 0.529576
[connect_time] => 0.628925
[pretransfer_time] => 1.140822
[size_upload] => 82
[size_download] => 2755
[speed_download] => 1667
[speed_upload] => 49
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 1.651642
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 2.22.251.19
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 36448
)
[2025-01-07 05:17:06] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDUwMjUsImV4cCI6MTczNjI0NTMyNSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ1MDI1LCJhdF9oYXNoIjoiSHNCV3VhOV9XZHctbEVyNzR2ZHhHZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.SRPMxnGK8S7JclS9dmE-3XC_ohWjE4t3bgQN-JYJRj4wAmc-fQqtmzua-DLqH_KAgo4xtBawLFVqjreRXnG7EXkuXLDvfnlpF6JekbxDiWzH4Fsv0rUVG7t7qq8A6E1t8TuASFNuarWZ-vMgPUUCTLyoDtQkaJqvgz98J-gvNyKAOefLw0ZtmqbGAkxSYv4csZeXjXMYPfZIU5TYwTHEVqVvFXCAAcyGyjWuhTkV8hpcV3W4Z66bUbgHj1nCo65Jnj3IiXHF5i5YaLZi3VQgMuIZBfbyj40mhQP4aBeaKyejwyAlosFkii2mMkIaoknOjS5N0lPKR17nwZ3oHhz-fA
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDUwMjUsImV4cCI6MTczNjI0NjgyNSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.ZGdm84Rnp2Hl5FPk6aFGepULyJ9RPlSY5a9DSXxHUy8GrfTp3f4jgtpMHKcyLIXr3q8cD1LQA_5-tJCQLKzWmD6bgd7390rf04zp6-2ltchdmhre3jI7lBvYQO09bTsDM_M78IUMTKtTFaepJY98WEos-4lY64HRqMP6WzXoBZ1cCHWcwVD37tnu-wij10wdeSO_x4CKsdVpnkMZLS8QvGzpbHzu7IZ0sIrrlJlVHgoIGUS-hWNvmi_izFAT4wWG2MY6iQ92bMdWWcjTewGBXNK8_7SIV8XebP-lQSHvTba5zVv7jlM-e5Kqec4l5QR_DbWNl2UyR8Y5LNCFlZY99w
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => 47Mq7Ij_7OZgQ4vQ8eY7Due35bJwhNg4386XTcmKLsE
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 05:17:06] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDUwMjUsImV4cCI6MTczNjI0NTMyNSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ1MDI1LCJhdF9oYXNoIjoiSHNCV3VhOV9XZHctbEVyNzR2ZHhHZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.SRPMxnGK8S7JclS9dmE-3XC_ohWjE4t3bgQN-JYJRj4wAmc-fQqtmzua-DLqH_KAgo4xtBawLFVqjreRXnG7EXkuXLDvfnlpF6JekbxDiWzH4Fsv0rUVG7t7qq8A6E1t8TuASFNuarWZ-vMgPUUCTLyoDtQkaJqvgz98J-gvNyKAOefLw0ZtmqbGAkxSYv4csZeXjXMYPfZIU5TYwTHEVqVvFXCAAcyGyjWuhTkV8hpcV3W4Z66bUbgHj1nCo65Jnj3IiXHF5i5YaLZi3VQgMuIZBfbyj40mhQP4aBeaKyejwyAlosFkii2mMkIaoknOjS5N0lPKR17nwZ3oHhz-fA
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDUwMjUsImV4cCI6MTczNjI0NjgyNSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.ZGdm84Rnp2Hl5FPk6aFGepULyJ9RPlSY5a9DSXxHUy8GrfTp3f4jgtpMHKcyLIXr3q8cD1LQA_5-tJCQLKzWmD6bgd7390rf04zp6-2ltchdmhre3jI7lBvYQO09bTsDM_M78IUMTKtTFaepJY98WEos-4lY64HRqMP6WzXoBZ1cCHWcwVD37tnu-wij10wdeSO_x4CKsdVpnkMZLS8QvGzpbHzu7IZ0sIrrlJlVHgoIGUS-hWNvmi_izFAT4wWG2MY6iQ92bMdWWcjTewGBXNK8_7SIV8XebP-lQSHvTba5zVv7jlM-e5Kqec4l5QR_DbWNl2UyR8Y5LNCFlZY99w
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => 47Mq7Ij_7OZgQ4vQ8eY7Due35bJwhNg4386XTcmKLsE
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 05:17:06] Production.INFO: AccountID 63
[2025-01-07 05:17:06] Production.INFO: AccountName Clek Inc.
[2025-01-07 05:17:06] Production.INFO: Checkcustomer
[2025-01-07 05:17:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc."
[2025-01-07 05:17:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:17:06
[end_date_ymd] => 2025-01-07 05:17:06
[RateCDR] => 1
)
[2025-01-07 05:17:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 02:17:06' and `end` < '2025-01-07 05:17:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 05:17:08] Production.INFO: Contact id print CheckCustomer Case===c5a4d0ce-0d87-4131-b0d8-9808badfe70b
[2025-01-07 05:17:08] Production.INFO: -- count --1
[2025-01-07 05:17:08] Production.INFO: AccountID 63
[2025-01-07 05:17:08] Production.INFO: AccountName Clek Inc.
[2025-01-07 05:17:08] Production.INFO: Checkcustomer
[2025-01-07 05:17:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc."
[2025-01-07 05:17:10] Production.INFO: Contact id print CheckCustomer Case===c5a4d0ce-0d87-4131-b0d8-9808badfe70b
[2025-01-07 05:17:10] Production.INFO: -- count --1
[2025-01-07 05:17:10] Production.INFO: AccountID 63
[2025-01-07 05:17:10] Production.INFO: AccountName Clek Inc.
[2025-01-07 05:17:10] Production.INFO: Checkcustomer
[2025-01-07 05:17:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc."
[2025-01-07 05:17:12] Production.ERROR: CronJobId end10
[2025-01-07 05:17:12] Production.INFO: ==4895== Releasing lock...
[2025-01-07 05:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:17:14] Production.INFO: Contact id print CheckCustomer Case===c5a4d0ce-0d87-4131-b0d8-9808badfe70b
[2025-01-07 05:17:14] Production.INFO: -- count --1
[2025-01-07 05:17:14] Production.INFO: -- Xero Add Inovice --
[2025-01-07 05:17:14] Production.INFO: CheckInvoice xerov2: INV10632
[2025-01-07 05:17:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10632
[2025-01-07 05:17:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:17:15] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:17:15] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:17:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:17:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:17:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:17:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:17:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:17:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:17:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:17:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:17:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:17:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:17:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:17:15] Production.INFO: call_cost start
[2025-01-07 05:17:15] Production.INFO: call_cost end
[2025-01-07 05:17:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:17:16] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:17:16] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:17:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:17:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:17:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:17:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:17:16] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:17:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:17:16] Production.INFO: ==4891== Releasing lock...
[2025-01-07 05:17:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:17:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:17:16] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:17:16] Production.INFO: ========================== Exception occured =============================
[2025-01-07 05:17:16] Production.ERROR: exception 'ErrorException' with message 'Undefined offset: 47' in /var/www/html/onswitch.neon.service/app/lib/XeroV2.php:0
Stack trace:
#0 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined offse...', '/var/www/html/o...', 0, Array)
#1 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->GetInvoiceData()
#2 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->CreateInvoice()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/XeroInvoicePostV2.php(0): App\Lib\XeroV2->addInvoices()
#4 [internal function]: App\Console\Commands\XeroInvoicePostV2->fire()
#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\XeroInvoicePostV2), 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-07 05:17:16] Production.INFO: ========================== Exception updated in job and email sent =============================
[2025-01-07 05:17:16] Production.INFO: ==4889== Releasing lock...
[2025-01-07 05:17:16] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10427 #Stops#
[2025-01-07 05:17:16] Production.INFO: 27.5 MB #Memory Used#
[2025-01-07 05:17:19] Production.INFO: count ==79
[2025-01-07 05:17:19] Production.ERROR: pbx CDR StartTime 2025-01-07 02:17:06 - End Time 2025-01-07 05:17:06
[2025-01-07 05:17:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192702', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192702', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192702', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192702', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:17:19] Production.INFO: ProcessCDR(1,14192702,1,1,2)
[2025-01-07 05:17:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192702,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:17:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192702,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:17:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192702,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:17:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192702,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192702', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192702', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:17:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:17:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:17:23] Production.INFO: ==4899== Releasing lock...
[2025-01-07 05:17:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:17:23] Production.INFO: 28 MB #Memory Used#
[2025-01-07 10:18:01] Production.INFO: ==4959== Lock acquired, processing the job...
[2025-01-07 10:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:18:01] Production.INFO: neon service started
[2025-01-07 10:18:01] Production.INFO: neon service started
[2025-01-07 10:18:01] Production.INFO: ==4959== Releasing lock...
[2025-01-07 10:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:18:02] Production.INFO: ==4961== Lock acquired, processing the job...
[2025-01-07 05:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:18:02] Production.INFO: ==4963== Lock acquired, processing the job...
[2025-01-07 10:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:18:02] Production.INFO: ==4963== Releasing lock...
[2025-01-07 10:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:18:02] Production.INFO: ==4961== Releasing lock...
[2025-01-07 05:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:18:03] Production.INFO: ==4968== Lock acquired, processing the job...
[2025-01-07 05:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:18:03] Production.INFO: ==4966== Lock acquired, processing the job...
[2025-01-07 05:18:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10428 #Starts#
[2025-01-07 05:18:03] Production.INFO: ==4970== Lock acquired, processing the job...
[2025-01-07 05:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:18:03] Production.INFO: -- Xero Api Check --
[2025-01-07 05:18:03] Production.INFO: ==4974== Lock acquired, processing the job...
[2025-01-07 05:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:18:03] Production.INFO: Account Balance Start.
[2025-01-07 05:18:03] Production.INFO: CreateAllLog Start
[2025-01-07 05:18:03] Production.INFO: 117
[2025-01-07 05:18:03] Production.INFO: ==4972== Lock acquired, processing the job...
[2025-01-07 05:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:18:03] Production.INFO: Date 2024-12-08
[2025-01-07 05:18:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:18:03] Production.INFO: Date 2024-12-09
[2025-01-07 05:18:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:18:03] Production.INFO: ==4976== Lock acquired, processing the job...
[2025-01-07 05:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:18:03] Production.INFO: Date 2024-12-10
[2025-01-07 05:18:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:18:03] Production.INFO: ==4970== Releasing lock...
[2025-01-07 05:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:18:03] Production.INFO: Date 2024-12-11
[2025-01-07 05:18:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:18:04] Production.INFO: ==4978== Lock acquired, processing the job...
[2025-01-07 05:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:18:04] Production.INFO: Date 2024-12-12
[2025-01-07 05:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:18:04] Production.INFO: Date 2024-12-13
[2025-01-07 05:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:18:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:18:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:18:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:18:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:18:04] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 855
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.55607
[namelookup_time] => 0.287817
[connect_time] => 0.289462
[pretransfer_time] => 0.489133
[size_upload] => 82
[size_download] => 2755
[speed_download] => 4954
[speed_upload] => 147
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.556042
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.17
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 42214
)
[2025-01-07 05:18:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDUwODQsImV4cCI6MTczNjI0NTM4NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ1MDg0LCJhdF9oYXNoIjoiSzkyX1lNNXlxM0lrTVdQay14QW9fQSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.JgPXS_fI8ct9O3vuxrmB3Khyb7bKDYled1dPbLQ4HLSOA8Ll7GFFn9saxUBEiKhPcSIW4owvflwBzycvQOfEiV9t0CID73LSiDRySbbewTwRnAOsTEC1qyIxo1kH4nrPXaZxSiV9uHoiYtiyRZ3ZUmZ8feAMd-S_w4bOgM4ZBCCJ-8-o35ouptQ1qZwhEOWDbc_mlMiWzvzqU3Em3YO5K5B2yLYdwfx5dvVETBO2CtYxxU3LAuj_ry5XOJyENdnSMupsBQxalsXqpCjPuGOWCbMKKjFnmqf5gSA9B9DFlYBPdl55Fjop7JSjrhRyYoAqV-D7aZquekMGDW_t1b2tOw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDUwODQsImV4cCI6MTczNjI0Njg4NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.MPZ9k96dP6W6TE_UGN4v0SWlgXOECIHuNFjulURt6ZRDDpE4OQcqAeyM_haktYOpx6vnxEWSkXWZTuU9qFRczXqKSiHGkLiFwyyW76iK8aZ-kRoYdzP0SO1NBrfzUZ11LnFBEwEx7uKkFlUlFohfb5rCAS883k767eQC4nt_sHe-K80ciVcGfYlCxxCa2m-gdR2e2bq7bNu2nBvBb4dM_LVQlMakeWZBwLB9RVchB7XfVKPkUkNv6FgxLaXSAyABjIjue2tVWNKiBMYuYD1gveyIctieDGjlaR4HCJN-50f-e0iJPtX2qdmftbzjpoDXmO_cz0E8N7c02IDFk0Fx8w
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => EIvgGfnSuwk_lr-Xd4n245Z-LrebuR3BXh8g0wjW6WU
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 05:18:04] Production.INFO: count ==21
[2025-01-07 05:18:04] Production.ERROR: done
[2025-01-07 05:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:18:04] Production.INFO: count ==21
[2025-01-07 05:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192706') start
[2025-01-07 05:18:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDUwODQsImV4cCI6MTczNjI0NTM4NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ1MDg0LCJhdF9oYXNoIjoiSzkyX1lNNXlxM0lrTVdQay14QW9fQSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.JgPXS_fI8ct9O3vuxrmB3Khyb7bKDYled1dPbLQ4HLSOA8Ll7GFFn9saxUBEiKhPcSIW4owvflwBzycvQOfEiV9t0CID73LSiDRySbbewTwRnAOsTEC1qyIxo1kH4nrPXaZxSiV9uHoiYtiyRZ3ZUmZ8feAMd-S_w4bOgM4ZBCCJ-8-o35ouptQ1qZwhEOWDbc_mlMiWzvzqU3Em3YO5K5B2yLYdwfx5dvVETBO2CtYxxU3LAuj_ry5XOJyENdnSMupsBQxalsXqpCjPuGOWCbMKKjFnmqf5gSA9B9DFlYBPdl55Fjop7JSjrhRyYoAqV-D7aZquekMGDW_t1b2tOw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDUwODQsImV4cCI6MTczNjI0Njg4NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.MPZ9k96dP6W6TE_UGN4v0SWlgXOECIHuNFjulURt6ZRDDpE4OQcqAeyM_haktYOpx6vnxEWSkXWZTuU9qFRczXqKSiHGkLiFwyyW76iK8aZ-kRoYdzP0SO1NBrfzUZ11LnFBEwEx7uKkFlUlFohfb5rCAS883k767eQC4nt_sHe-K80ciVcGfYlCxxCa2m-gdR2e2bq7bNu2nBvBb4dM_LVQlMakeWZBwLB9RVchB7XfVKPkUkNv6FgxLaXSAyABjIjue2tVWNKiBMYuYD1gveyIctieDGjlaR4HCJN-50f-e0iJPtX2qdmftbzjpoDXmO_cz0E8N7c02IDFk0Fx8w
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => EIvgGfnSuwk_lr-Xd4n245Z-LrebuR3BXh8g0wjW6WU
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 05:18:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:18:04] Production.INFO: AccountID 63
[2025-01-07 05:18:04] Production.INFO: AccountName Clek Inc.
[2025-01-07 05:18:04] Production.INFO: Checkcustomer
[2025-01-07 05:18:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc."
[2025-01-07 05:18:04] Production.ERROR: done
[2025-01-07 05:18:04] Production.INFO: Date 2024-12-19
[2025-01-07 05:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192706') end
[2025-01-07 05:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:18:04] Production.INFO: 1
[2025-01-07 05:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:18:04] Production.INFO: Date 2024-12-20
[2025-01-07 05:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:18:04] Production.INFO: Date 2024-12-21
[2025-01-07 05:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:18:04] Production.INFO: ==4978== Releasing lock...
[2025-01-07 05:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:18:04] Production.INFO: Date 2024-12-22
[2025-01-07 05:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:18:04] Production.INFO: Date 2024-12-23
[2025-01-07 05:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:18:04] Production.INFO: Date 2024-12-24
[2025-01-07 05:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:18:04] Production.INFO: Date 2024-12-25
[2025-01-07 05:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:18:04] Production.INFO: Date 2024-12-26
[2025-01-07 05:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:18:04] Production.INFO: Date 2024-12-27
[2025-01-07 05:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:18:04] Production.INFO: Date 2024-12-28
[2025-01-07 05:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:18:04] Production.INFO: Date 2024-12-29
[2025-01-07 05:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:18:04] Production.INFO: Date 2024-12-30
[2025-01-07 05:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:18:04] Production.INFO: Date 2024-12-31
[2025-01-07 05:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:18:04] Production.INFO: Date 2025-01-01
[2025-01-07 05:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:18:04] Production.INFO: Date 2025-01-02
[2025-01-07 05:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:18:04] Production.INFO: Date 2025-01-03
[2025-01-07 05:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:18:05] Production.INFO: Date 2025-01-04
[2025-01-07 05:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:18:05] Production.INFO: Date 2025-01-05
[2025-01-07 05:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:18:05] Production.INFO: Date 2025-01-06
[2025-01-07 05:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:18:05] Production.INFO: Date 2025-01-07
[2025-01-07 05:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:18:05] Production.INFO: Total Charge 0
[2025-01-07 05:18:05] Production.INFO: CreateAllLog End
[2025-01-07 05:18:05] Production.INFO: Account Balance End.
[2025-01-07 05:18:05] Production.ERROR: CronJobId end 12
[2025-01-07 05:18:05] Production.INFO: ==4974== Releasing lock...
[2025-01-07 05:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:18:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:18:05
[end_date_ymd] => 2025-01-07 05:18:05
[RateCDR] => 1
)
[2025-01-07 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-07 02:18:05' and `end` < '2025-01-07 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-07 05:18:06] Production.INFO: Contact id print CheckCustomer Case===c5a4d0ce-0d87-4131-b0d8-9808badfe70b
[2025-01-07 05:18:06] Production.INFO: -- count --1
[2025-01-07 05:18:06] Production.INFO: AccountID 63
[2025-01-07 05:18:06] Production.INFO: AccountName Clek Inc.
[2025-01-07 05:18:06] Production.INFO: Checkcustomer
[2025-01-07 05:18:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc."
[2025-01-07 05:18:09] Production.INFO: Contact id print CheckCustomer Case===c5a4d0ce-0d87-4131-b0d8-9808badfe70b
[2025-01-07 05:18:09] Production.INFO: -- count --1
[2025-01-07 05:18:09] Production.INFO: AccountID 63
[2025-01-07 05:18:09] Production.INFO: AccountName Clek Inc.
[2025-01-07 05:18:09] Production.INFO: Checkcustomer
[2025-01-07 05:18:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc."
[2025-01-07 05:18:11] Production.INFO: Contact id print CheckCustomer Case===c5a4d0ce-0d87-4131-b0d8-9808badfe70b
[2025-01-07 05:18:11] Production.INFO: -- count --1
[2025-01-07 05:18:11] Production.INFO: AccountID 63
[2025-01-07 05:18:11] Production.INFO: AccountName Clek Inc.
[2025-01-07 05:18:11] Production.INFO: Checkcustomer
[2025-01-07 05:18:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc."
[2025-01-07 05:18:11] Production.ERROR: CronJobId end10
[2025-01-07 05:18:11] Production.INFO: ==4972== Releasing lock...
[2025-01-07 05:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:18:13] Production.INFO: call_cost start
[2025-01-07 05:18:13] Production.INFO: call_cost end
[2025-01-07 05:18:13] Production.INFO: Contact id print CheckCustomer Case===c5a4d0ce-0d87-4131-b0d8-9808badfe70b
[2025-01-07 05:18:13] Production.INFO: -- count --1
[2025-01-07 05:18:13] Production.INFO: AccountID 63
[2025-01-07 05:18:13] Production.INFO: AccountName Clek Inc.
[2025-01-07 05:18:13] Production.INFO: Checkcustomer
[2025-01-07 05:18:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc."
[2025-01-07 05:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:18:14] Production.INFO: ==4968== Releasing lock...
[2025-01-07 05:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:18:16] Production.INFO: Contact id print CheckCustomer Case===c5a4d0ce-0d87-4131-b0d8-9808badfe70b
[2025-01-07 05:18:16] Production.INFO: -- count --1
[2025-01-07 05:18:16] Production.INFO: AccountID 63
[2025-01-07 05:18:16] Production.INFO: AccountName Clek Inc.
[2025-01-07 05:18:16] Production.INFO: Checkcustomer
[2025-01-07 05:18:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc."
[2025-01-07 05:18:19] Production.INFO: Contact id print CheckCustomer Case===c5a4d0ce-0d87-4131-b0d8-9808badfe70b
[2025-01-07 05:18:19] Production.INFO: -- count --1
[2025-01-07 05:18:19] Production.INFO: AccountID 63
[2025-01-07 05:18:19] Production.INFO: AccountName Clek Inc.
[2025-01-07 05:18:19] Production.INFO: Checkcustomer
[2025-01-07 05:18:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc."
[2025-01-07 05:18:19] Production.INFO: count ==78
[2025-01-07 05:18:19] Production.ERROR: pbx CDR StartTime 2025-01-07 02:18:05 - End Time 2025-01-07 05:18:05
[2025-01-07 05:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192707', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192707', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192707', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192707', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:18:19] Production.INFO: ProcessCDR(1,14192707,1,1,2)
[2025-01-07 05:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192707,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192707,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192707,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:18:21] Production.INFO: Contact id print CheckCustomer Case===c5a4d0ce-0d87-4131-b0d8-9808badfe70b
[2025-01-07 05:18:21] Production.INFO: -- count --1
[2025-01-07 05:18:21] Production.INFO: AccountID 63
[2025-01-07 05:18:21] Production.INFO: AccountName Clek Inc.
[2025-01-07 05:18:21] Production.INFO: Checkcustomer
[2025-01-07 05:18:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc."
[2025-01-07 05:18:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192707,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192707', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192707', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:18:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:18:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:18:23] Production.INFO: ==4976== Releasing lock...
[2025-01-07 05:18:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:18:23] Production.INFO: 28 MB #Memory Used#
[2025-01-07 05:18:23] Production.INFO: Contact id print CheckCustomer Case===c5a4d0ce-0d87-4131-b0d8-9808badfe70b
[2025-01-07 05:18:23] Production.INFO: -- count --1
[2025-01-07 05:18:23] Production.INFO: -- Xero Add Inovice --
[2025-01-07 05:18:23] Production.INFO: CheckInvoice xerov2: INV10925
[2025-01-07 05:18:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10925
[2025-01-07 05:18:25] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:18:25] Production.INFO: ========================== Exception occured =============================
[2025-01-07 05:18:25] Production.ERROR: exception 'ErrorException' with message 'Undefined offset: 47' in /var/www/html/onswitch.neon.service/app/lib/XeroV2.php:0
Stack trace:
#0 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined offse...', '/var/www/html/o...', 0, Array)
#1 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->GetInvoiceData()
#2 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->CreateInvoice()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/XeroInvoicePostV2.php(0): App\Lib\XeroV2->addInvoices()
#4 [internal function]: App\Console\Commands\XeroInvoicePostV2->fire()
#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\XeroInvoicePostV2), 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-07 05:18:25] Production.INFO: ========================== Exception updated in job and email sent =============================
[2025-01-07 05:18:25] Production.INFO: ==4966== Releasing lock...
[2025-01-07 05:18:25] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10428 #Stops#
[2025-01-07 05:18:25] Production.INFO: 27.5 MB #Memory Used#
[2025-01-07 10:19:02] Production.INFO: ==5085== Lock acquired, processing the job...
[2025-01-07 10:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:19:02] Production.INFO: neon service started
[2025-01-07 10:19:02] Production.INFO: neon service started
[2025-01-07 10:19:02] Production.INFO: ==5085== Releasing lock...
[2025-01-07 10:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:19:02] Production.INFO: ==5087== Lock acquired, processing the job...
[2025-01-07 05:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:19:02] Production.INFO: ==5087== Releasing lock...
[2025-01-07 05:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:19:03] Production.INFO: ==5089== Lock acquired, processing the job...
[2025-01-07 10:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:19:03] Production.INFO: ==5089== Releasing lock...
[2025-01-07 10:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:19:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:19:03] Production.INFO: ==5092== Lock acquired, processing the job...
[2025-01-07 05:19:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10429 #Starts#
[2025-01-07 05:19:04] Production.INFO: ==5096== Lock acquired, processing the job...
[2025-01-07 05:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:19:04] Production.INFO: -- Xero Api Check --
[2025-01-07 05:19:04] Production.INFO: ==5094== Lock acquired, processing the job...
[2025-01-07 05:19:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:19:04] Production.INFO: ==5100== Lock acquired, processing the job...
[2025-01-07 05:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:19:04] Production.INFO: ==5104== Lock acquired, processing the job...
[2025-01-07 05:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:19:04] Production.INFO: ==5098== Lock acquired, processing the job...
[2025-01-07 05:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:19:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:19:04] Production.INFO: Account Balance Start.
[2025-01-07 05:19:04] Production.INFO: CreateAllLog Start
[2025-01-07 05:19:04] Production.INFO: 117
[2025-01-07 05:19:04] Production.INFO: Date 2024-12-08
[2025-01-07 05:19:04] Production.INFO: ==5102== Lock acquired, processing the job...
[2025-01-07 05:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:19:04] Production.INFO: Date 2024-12-09
[2025-01-07 05:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:19:04] Production.INFO: count ==21
[2025-01-07 05:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:19:04] Production.INFO: count ==21
[2025-01-07 05:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192711') start
[2025-01-07 05:19:04] Production.INFO: Date 2024-12-10
[2025-01-07 05:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:19:04] Production.INFO: Date 2024-12-11
[2025-01-07 05:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:19:04] Production.INFO: ==5096== Releasing lock...
[2025-01-07 05:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:19:04] Production.INFO: Date 2024-12-12
[2025-01-07 05:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192711') end
[2025-01-07 05:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:19:04] Production.INFO: 1
[2025-01-07 05:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:19:04] Production.INFO: Date 2024-12-13
[2025-01-07 05:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:19:04] Production.INFO: ==5104== Releasing lock...
[2025-01-07 05:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:19:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:19:04] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 855
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.731677
[namelookup_time] => 0.287579
[connect_time] => 0.298936
[pretransfer_time] => 0.56019
[size_upload] => 82
[size_download] => 2755
[speed_download] => 3765
[speed_upload] => 112
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.731637
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.33
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 40146
)
[2025-01-07 05:19:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDUxNDQsImV4cCI6MTczNjI0NTQ0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ1MTQ0LCJhdF9oYXNoIjoibTJJQ0haMzhqTjhzM2tDNjVMZHdPZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.HpKIrZEjHbtkItlPAFjxF76KX0Cg1uelN_8VeiBhq5d6WPVjWHwQSsn3JXGuD7igtWn995bNidKbdvHNzwnsd3RE0GqNei20gGZK5iyr7KOvh7ljCDw5PUXb_68CrkvPm5NOgrfLuO_NjV-3efusKKHo0FwimbdOeUH6DBjwQz65vih2hLtUIWF5fYM6PxWCJiN9daRfLM_7ESd_M8JwOME1-VpfPLodC67hN51BL92O5Dv0uT9nxVcx8F8CzpMlJgBAiV7A5Gg9LpxQGDNwUjN6W5y8z37Ps_kNzTmPS9J10RGEg9Khs6JTmsx_LoYgLBO8MYO4b5oyzpAJfEZMMw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDUxNDQsImV4cCI6MTczNjI0Njk0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.X-sd21nOCT5ywbT6kdMw60gffV7kMbnVCMxLpNg30-e-aRzlvhW15VPPfdO88cdlQIEe2oLjw_PADEZAnco_90oAkK0tBOWV2SFDMSwGe0qvrZh5SOlEYlWVbcqflk4b8XpM2fF-mbbfpK-olOcVMsfNmZGmv2qxJpDe2UeP57rmXj2_gJOphDPSDc4XErxQiq5W3A4baaaX5cRxFwiPaswgGCJVyP4_3fze_QRYjVH_tE2G74MXOpLXbbD-sykf6nO_LyLUVwmZ6hQpvwPgjF_wWGVwopDmO3v8cYdXNTDDegntS9dnCuGABsDoekPEwwF3ee3Q0ZfLbt1OCpujCA
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => XEZzmg-AdxVZ6Bllbfu0AtGh0RCWTFNSMv9mIDHg5UM
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 05:19:04] Production.ERROR: done
[2025-01-07 05:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:19:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDUxNDQsImV4cCI6MTczNjI0NTQ0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ1MTQ0LCJhdF9oYXNoIjoibTJJQ0haMzhqTjhzM2tDNjVMZHdPZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.HpKIrZEjHbtkItlPAFjxF76KX0Cg1uelN_8VeiBhq5d6WPVjWHwQSsn3JXGuD7igtWn995bNidKbdvHNzwnsd3RE0GqNei20gGZK5iyr7KOvh7ljCDw5PUXb_68CrkvPm5NOgrfLuO_NjV-3efusKKHo0FwimbdOeUH6DBjwQz65vih2hLtUIWF5fYM6PxWCJiN9daRfLM_7ESd_M8JwOME1-VpfPLodC67hN51BL92O5Dv0uT9nxVcx8F8CzpMlJgBAiV7A5Gg9LpxQGDNwUjN6W5y8z37Ps_kNzTmPS9J10RGEg9Khs6JTmsx_LoYgLBO8MYO4b5oyzpAJfEZMMw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDUxNDQsImV4cCI6MTczNjI0Njk0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.X-sd21nOCT5ywbT6kdMw60gffV7kMbnVCMxLpNg30-e-aRzlvhW15VPPfdO88cdlQIEe2oLjw_PADEZAnco_90oAkK0tBOWV2SFDMSwGe0qvrZh5SOlEYlWVbcqflk4b8XpM2fF-mbbfpK-olOcVMsfNmZGmv2qxJpDe2UeP57rmXj2_gJOphDPSDc4XErxQiq5W3A4baaaX5cRxFwiPaswgGCJVyP4_3fze_QRYjVH_tE2G74MXOpLXbbD-sykf6nO_LyLUVwmZ6hQpvwPgjF_wWGVwopDmO3v8cYdXNTDDegntS9dnCuGABsDoekPEwwF3ee3Q0ZfLbt1OCpujCA
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => XEZzmg-AdxVZ6Bllbfu0AtGh0RCWTFNSMv9mIDHg5UM
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 05:19:04] Production.INFO: AccountID 133
[2025-01-07 05:19:04] Production.INFO: AccountName Compass ELC - Admin
[2025-01-07 05:19:04] Production.INFO: Checkcustomer
[2025-01-07 05:19:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Admin"
[2025-01-07 05:19:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:19:04] Production.ERROR: done
[2025-01-07 05:19:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:19:05] Production.INFO: Date 2024-12-17
[2025-01-07 05:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:19:05] Production.INFO: Date 2024-12-18
[2025-01-07 05:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:19:05] Production.INFO: Date 2024-12-19
[2025-01-07 05:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:19:05] Production.INFO: Date 2024-12-20
[2025-01-07 05:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:19:05] Production.INFO: Date 2024-12-21
[2025-01-07 05:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:19:05] Production.INFO: Date 2024-12-22
[2025-01-07 05:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:19:05] Production.INFO: Date 2024-12-23
[2025-01-07 05:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:19:05] Production.INFO: Date 2024-12-24
[2025-01-07 05:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:19:05] Production.INFO: Date 2024-12-25
[2025-01-07 05:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:19:05] Production.INFO: Date 2024-12-26
[2025-01-07 05:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:19:05] Production.INFO: Date 2024-12-27
[2025-01-07 05:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:19:05] Production.INFO: Date 2024-12-28
[2025-01-07 05:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:19:05] Production.INFO: Date 2024-12-29
[2025-01-07 05:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:19:05] Production.INFO: Date 2024-12-30
[2025-01-07 05:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:19:05] Production.INFO: Date 2024-12-31
[2025-01-07 05:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:19:05] Production.INFO: Date 2025-01-01
[2025-01-07 05:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:19:05] Production.INFO: Date 2025-01-02
[2025-01-07 05:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:19:05] Production.INFO: Date 2025-01-03
[2025-01-07 05:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:19:06] Production.INFO: Date 2025-01-04
[2025-01-07 05:19:06] Production.INFO: Reseller ==> 0
[2025-01-07 05:19:06] Production.INFO: Date 2025-01-05
[2025-01-07 05:19:06] Production.INFO: Reseller ==> 0
[2025-01-07 05:19:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:19:06
[end_date_ymd] => 2025-01-07 05:19:06
[RateCDR] => 1
)
[2025-01-07 05:19:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 02:19:06' and `end` < '2025-01-07 05:19:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 05:19:06] Production.INFO: Date 2025-01-06
[2025-01-07 05:19:06] Production.INFO: Reseller ==> 0
[2025-01-07 05:19:06] Production.INFO: Date 2025-01-07
[2025-01-07 05:19:06] Production.INFO: Reseller ==> 0
[2025-01-07 05:19:06] Production.INFO: Total Charge 0
[2025-01-07 05:19:06] Production.INFO: CreateAllLog End
[2025-01-07 05:19:06] Production.INFO: Account Balance End.
[2025-01-07 05:19:06] Production.ERROR: CronJobId end 12
[2025-01-07 05:19:06] Production.INFO: ==5100== Releasing lock...
[2025-01-07 05:19:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:19:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:19:07] Production.INFO: Contact id print CheckCustomer Case===45a97611-b88b-4aeb-9499-d79cf1bf033c
[2025-01-07 05:19:07] Production.INFO: -- count --1
[2025-01-07 05:19:07] Production.INFO: AccountID 133
[2025-01-07 05:19:07] Production.INFO: AccountName Compass ELC - Admin
[2025-01-07 05:19:07] Production.INFO: Checkcustomer
[2025-01-07 05:19:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Admin"
[2025-01-07 05:19:09] Production.INFO: Contact id print CheckCustomer Case===45a97611-b88b-4aeb-9499-d79cf1bf033c
[2025-01-07 05:19:09] Production.INFO: -- count --1
[2025-01-07 05:19:09] Production.INFO: -- Xero Add Inovice --
[2025-01-07 05:19:09] Production.INFO: CheckInvoice xerov2: INV10455
[2025-01-07 05:19:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10455
[2025-01-07 05:19:11] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:19:11] Production.INFO: ========================== Exception occured =============================
[2025-01-07 05:19:11] Production.ERROR: exception 'ErrorException' with message 'Undefined offset: 33' in /var/www/html/onswitch.neon.service/app/lib/XeroV2.php:0
Stack trace:
#0 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined offse...', '/var/www/html/o...', 0, Array)
#1 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->GetInvoiceData()
#2 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->CreateInvoice()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/XeroInvoicePostV2.php(0): App\Lib\XeroV2->addInvoices()
#4 [internal function]: App\Console\Commands\XeroInvoicePostV2->fire()
#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\XeroInvoicePostV2), 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-07 05:19:11] Production.INFO: ========================== Exception updated in job and email sent =============================
[2025-01-07 05:19:11] Production.INFO: ==5092== Releasing lock...
[2025-01-07 05:19:11] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10429 #Stops#
[2025-01-07 05:19:11] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:19:12] Production.ERROR: CronJobId end10
[2025-01-07 05:19:12] Production.INFO: ==5098== Releasing lock...
[2025-01-07 05:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:19:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:19:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:19:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:19:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:19:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:19:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:19:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:19:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:19:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:19:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:19:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:19:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:19:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:19:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:19:14] Production.INFO: call_cost start
[2025-01-07 05:19:14] Production.INFO: call_cost end
[2025-01-07 05:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:19:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:19:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:19:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:19:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:19:15] Production.INFO: ==5094== Releasing lock...
[2025-01-07 05:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:19:19] Production.INFO: count ==78
[2025-01-07 05:19:19] Production.ERROR: pbx CDR StartTime 2025-01-07 02:19:06 - End Time 2025-01-07 05:19:06
[2025-01-07 05:19:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192712', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192712', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192712', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192712', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:19:19] Production.INFO: ProcessCDR(1,14192712,1,1,2)
[2025-01-07 05:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192712,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192712,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192712,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:19:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192712,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192712', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192712', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:19:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:19:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:19:23] Production.INFO: ==5102== Releasing lock...
[2025-01-07 05:19:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:19:23] Production.INFO: 28 MB #Memory Used#
[2025-01-07 10:20:01] Production.INFO: ==5169== Lock acquired, processing the job...
[2025-01-07 10:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:20:01] Production.INFO: neon service started
[2025-01-07 10:20:01] Production.INFO: neon service started
[2025-01-07 10:20:01] Production.INFO: ==5169== Releasing lock...
[2025-01-07 10:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:20:02] Production.INFO: ==5171== Lock acquired, processing the job...
[2025-01-07 05:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:20:02] Production.INFO: ==5173== Lock acquired, processing the job...
[2025-01-07 10:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:20:02] Production.INFO: ==5173== Releasing lock...
[2025-01-07 10:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:20:02] Production.INFO: ==5171== Releasing lock...
[2025-01-07 05:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:20:03] Production.INFO: ==5180== Lock acquired, processing the job...
[2025-01-07 05:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:20:03] Production.INFO: ==5176== Lock acquired, processing the job...
[2025-01-07 05:20:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10430 #Starts#
[2025-01-07 05:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:20:04] Production.INFO: ==5178== Lock acquired, processing the job...
[2025-01-07 05:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 05:20:04] Production.INFO: -- Xero Api Check --
[2025-01-07 05:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 05:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 05:20:04] Production.ERROR: CronJob PID - 5180
[2025-01-07 05:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-07 05:20:04] Production.ERROR: CronJob ID - 5
[2025-01-07 05:20:04] Production.ERROR: CronJob Last Run Time 2025-01-07 05:20:00
[2025-01-07 05:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 05:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 05:20:04] Production.INFO: ==5182== Lock acquired, processing the job...
[2025-01-07 05:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 05:20:04] Production.INFO: ==5178== Releasing lock...
[2025-01-07 05:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 05:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 05:20:04] Production.INFO: ==5186== Lock acquired, processing the job...
[2025-01-07 05:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:20:04] Production.INFO: ==5184== Lock acquired, processing the job...
[2025-01-07 05:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:20:04] Production.INFO: ==5188== Lock acquired, processing the job...
[2025-01-07 05:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:20:04] Production.INFO: Account Balance Start.
[2025-01-07 05:20:04] Production.INFO: CreateAllLog Start
[2025-01-07 05:20:04] Production.INFO: 117
[2025-01-07 05:20:04] Production.INFO: Date 2024-12-08
[2025-01-07 05:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:20:04] Production.INFO: ==5190== Lock acquired, processing the job...
[2025-01-07 05:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 05:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:20:04] Production.INFO: Date 2024-12-09
[2025-01-07 05:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:20:04] Production.INFO: ==5192== Lock acquired, processing the job...
[2025-01-07 05:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:20:04] Production.INFO: Date 2024-12-10
[2025-01-07 05:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:20:04] Production.INFO: Date 2024-12-11
[2025-01-07 05:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:20:04] Production.INFO: ==5182== Releasing lock...
[2025-01-07 05:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:20:04] Production.INFO: Date 2024-12-12
[2025-01-07 05:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:20:04] Production.INFO: Date 2024-12-13
[2025-01-07 05:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:20:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 05:20:04] Production.INFO: count ==21
[2025-01-07 05:20:04] Production.ERROR: done
[2025-01-07 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-07 05:20:04] Production.INFO: count ==21
[2025-01-07 05:20:04] Production.ERROR: done
[2025-01-07 05:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:20:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192716') start
[2025-01-07 05:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:20:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 05:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14192717', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 05:20:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:20:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:20:04] Production.ERROR: done
[2025-01-07 05:20:04] Production.INFO: Date 2024-12-19
[2025-01-07 05:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:20:04] Production.INFO: Date 2024-12-20
[2025-01-07 05:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192716') end
[2025-01-07 05:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:20:04] Production.INFO: 1
[2025-01-07 05:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:20:05] Production.INFO: Date 2024-12-21
[2025-01-07 05:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:20:05] Production.INFO: Date 2024-12-22
[2025-01-07 05:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:20:05] Production.INFO: ==5192== Releasing lock...
[2025-01-07 05:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:20:05] Production.INFO: Date 2024-12-23
[2025-01-07 05:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:20:05] Production.INFO: Date 2024-12-24
[2025-01-07 05:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:20:05] Production.INFO: Date 2024-12-25
[2025-01-07 05:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:20:05] Production.INFO: Date 2024-12-26
[2025-01-07 05:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:20:05] Production.INFO: Date 2024-12-27
[2025-01-07 05:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:20:05] Production.INFO: Date 2024-12-28
[2025-01-07 05:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:20:05] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 856
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 1.310674
[namelookup_time] => 0.534547
[connect_time] => 0.641193
[pretransfer_time] => 1.056491
[size_upload] => 82
[size_download] => 2755
[speed_download] => 2101
[speed_upload] => 62
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 1.310642
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 2.22.251.19
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 36496
)
[2025-01-07 05:20:05] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDUyMDUsImV4cCI6MTczNjI0NTUwNSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ1MjA1LCJhdF9oYXNoIjoiendvdFRibUQtUkVrRnNBcUhkVHpOZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.DvFV0LphvbjY97ZqUfqNAUUZ87R1jziyiHweJzQ4lycggNRa3aBw8Rlj-PjUcGaJqfbvfpXtzxIaUoeyDhfe68QA9fMjFv0iEJnmOvJBV5WFfE4340JsqDK9zqkS6B0T6LJyD_QQZoGIf0pNnFTXkxCZ0v-cpQK1P9usX-McTxIZ1_6rXrJ1zUmq2EdnFednCTeqCebi87mETaovYVQ9wl0WW1ejYVFEV8T7wI8DiBsLCunaaddmasPh6CN3_oGE6hvYMKi6cac4fXaqDPkFXnxOr9xIf4C9fBVfOtsJkgHt5B_RYl0i-kD8MlRbOLJbETX9eMNIqf_P1HInczpu1Q
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDUyMDUsImV4cCI6MTczNjI0NzAwNSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.wgOHnoJxWJj1bniMimwR_COU14ieECpP_RPD7vHR_8NmnT3O1MGjXecJck-FZNvivo_96T0Bjk2BUPzQHfyXb7rrmvq5eWFY8PwH6_7ULmgXMxVyUvTdfB0ymp72LfZEOpFw-vPUpiQGf14nyc0Y9So5IxoEzxsjjmmBb_a4ff37HfsyGQh_P8YX6mYW-IvVPZ5ybvBTqd_HPffS5T99oCvYeRXVyB6H_YM83qM-JNGKbY1a-kPqslklyxzk5wLKGIJLD9ozKh-vcyj5IYCviaqklnncja4CU2K0HOflB2uioxanNmPrg8FFhaOW-oE3n4JUxtPZEMu9QDlJAY075Q
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => 2cOjYOlXHvYwI0A3GjAEmO74rkXWjbKtwCUEN99odqg
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 05:20:05] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDUyMDUsImV4cCI6MTczNjI0NTUwNSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ1MjA1LCJhdF9oYXNoIjoiendvdFRibUQtUkVrRnNBcUhkVHpOZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.DvFV0LphvbjY97ZqUfqNAUUZ87R1jziyiHweJzQ4lycggNRa3aBw8Rlj-PjUcGaJqfbvfpXtzxIaUoeyDhfe68QA9fMjFv0iEJnmOvJBV5WFfE4340JsqDK9zqkS6B0T6LJyD_QQZoGIf0pNnFTXkxCZ0v-cpQK1P9usX-McTxIZ1_6rXrJ1zUmq2EdnFednCTeqCebi87mETaovYVQ9wl0WW1ejYVFEV8T7wI8DiBsLCunaaddmasPh6CN3_oGE6hvYMKi6cac4fXaqDPkFXnxOr9xIf4C9fBVfOtsJkgHt5B_RYl0i-kD8MlRbOLJbETX9eMNIqf_P1HInczpu1Q
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDUyMDUsImV4cCI6MTczNjI0NzAwNSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.wgOHnoJxWJj1bniMimwR_COU14ieECpP_RPD7vHR_8NmnT3O1MGjXecJck-FZNvivo_96T0Bjk2BUPzQHfyXb7rrmvq5eWFY8PwH6_7ULmgXMxVyUvTdfB0ymp72LfZEOpFw-vPUpiQGf14nyc0Y9So5IxoEzxsjjmmBb_a4ff37HfsyGQh_P8YX6mYW-IvVPZ5ybvBTqd_HPffS5T99oCvYeRXVyB6H_YM83qM-JNGKbY1a-kPqslklyxzk5wLKGIJLD9ozKh-vcyj5IYCviaqklnncja4CU2K0HOflB2uioxanNmPrg8FFhaOW-oE3n4JUxtPZEMu9QDlJAY075Q
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => 2cOjYOlXHvYwI0A3GjAEmO74rkXWjbKtwCUEN99odqg
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 05:20:05] Production.INFO: Date 2024-12-29
[2025-01-07 05:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:20:05] Production.INFO: AccountID 19
[2025-01-07 05:20:05] Production.INFO: AccountName Craig Travel
[2025-01-07 05:20:05] Production.INFO: Checkcustomer
[2025-01-07 05:20:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Craig%20Travel"
[2025-01-07 05:20:05] Production.INFO: Date 2024-12-30
[2025-01-07 05:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:20:05] Production.INFO: Date 2024-12-31
[2025-01-07 05:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:20:05] Production.INFO: Date 2025-01-01
[2025-01-07 05:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:20:05] Production.INFO: Date 2025-01-02
[2025-01-07 05:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:20:05] Production.INFO: Date 2025-01-03
[2025-01-07 05:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:20:05] Production.INFO: Date 2025-01-04
[2025-01-07 05:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:20:05] Production.INFO: Date 2025-01-05
[2025-01-07 05:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:20:05] Production.INFO: Date 2025-01-06
[2025-01-07 05:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:20:05] Production.INFO: Date 2025-01-07
[2025-01-07 05:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:20:05] Production.INFO: Total Charge 0
[2025-01-07 05:20:05] Production.INFO: CreateAllLog End
[2025-01-07 05:20:05] Production.INFO: Account Balance End.
[2025-01-07 05:20:05] Production.ERROR: CronJobId end 12
[2025-01-07 05:20:05] Production.INFO: ==5186== Releasing lock...
[2025-01-07 05:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:20:06
[end_date_ymd] => 2025-01-07 05:20:06
[RateCDR] => 1
)
[2025-01-07 05:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 02:20:06' and `end` < '2025-01-07 05:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 05:20:07] Production.INFO: Contact id print CheckCustomer Case===65a499d2-8fb3-4c56-ab50-2bdc7bfc40a1
[2025-01-07 05:20:07] Production.INFO: -- count --1
[2025-01-07 05:20:07] Production.INFO: AccountID 82
[2025-01-07 05:20:07] Production.INFO: AccountName Delco Windows & Doors
[2025-01-07 05:20:07] Production.INFO: Checkcustomer
[2025-01-07 05:20:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Delco%20Windows%20%26%20Doors"
[2025-01-07 05:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14192717', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 05:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 05:20:09] Production.INFO: ProcessCDR(1,14192717,1,1,2)
[2025-01-07 05:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14192717,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14192717,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:20:09] Production.INFO: ==5190== Releasing lock...
[2025-01-07 05:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 05:20:09] Production.INFO: 26 MB #Memory Used#
[2025-01-07 05:20:10] Production.INFO: Contact id print CheckCustomer Case===2a87a634-1e8b-4663-9f61-13fff8791cfb
[2025-01-07 05:20:10] Production.INFO: -- count --1
[2025-01-07 05:20:10] Production.INFO: AccountID 144
[2025-01-07 05:20:10] Production.INFO: AccountName Discount Coach Tours and Wed in Destination
[2025-01-07 05:20:10] Production.INFO: Checkcustomer
[2025-01-07 05:20:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Discount%20Coach%20Tours%20and%20Wed%20in%20Destination"
[2025-01-07 05:20:13] Production.ERROR: CronJobId end10
[2025-01-07 05:20:13] Production.INFO: ==5184== Releasing lock...
[2025-01-07 05:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:20:13] Production.INFO: Contact id print CheckCustomer Case===c864ce51-780a-4f49-93fc-921fe633c032
[2025-01-07 05:20:13] Production.INFO: -- count --1
[2025-01-07 05:20:13] Production.INFO: AccountID 144
[2025-01-07 05:20:13] Production.INFO: AccountName Discount Coach Tours and Wed in Destination
[2025-01-07 05:20:13] Production.INFO: Checkcustomer
[2025-01-07 05:20:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Discount%20Coach%20Tours%20and%20Wed%20in%20Destination"
[2025-01-07 05:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:20:16] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:20:16] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:20:16] Production.INFO: call_cost start
[2025-01-07 05:20:16] Production.INFO: call_cost end
[2025-01-07 05:20:16] Production.INFO: Contact id print CheckCustomer Case===c864ce51-780a-4f49-93fc-921fe633c032
[2025-01-07 05:20:16] Production.INFO: -- count --1
[2025-01-07 05:20:16] Production.INFO: AccountID 73
[2025-01-07 05:20:16] Production.INFO: AccountName Discovery Point Nursery
[2025-01-07 05:20:16] Production.INFO: Checkcustomer
[2025-01-07 05:20:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Discovery%20Point%20Nursery"
[2025-01-07 05:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:20:17] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:20:17] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:20:17] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:20:17] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:20:17] Production.INFO: ==5180== Releasing lock...
[2025-01-07 05:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:20:18] Production.INFO: Contact id print CheckCustomer Case===cb58377f-8ea7-4ab2-9952-d9be1c41b3e2
[2025-01-07 05:20:18] Production.INFO: -- count --1
[2025-01-07 05:20:18] Production.INFO: AccountID 5
[2025-01-07 05:20:18] Production.INFO: AccountName DMCI
[2025-01-07 05:20:18] Production.INFO: Checkcustomer
[2025-01-07 05:20:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="DMCI"
[2025-01-07 05:20:19] Production.INFO: count ==72
[2025-01-07 05:20:19] Production.ERROR: pbx CDR StartTime 2025-01-07 02:20:06 - End Time 2025-01-07 05:20:06
[2025-01-07 05:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192718', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192718', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192718', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192718', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:20:19] Production.INFO: ProcessCDR(1,14192718,1,1,2)
[2025-01-07 05:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192718,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192718,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192718,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:20:21] Production.INFO: Contact id print CheckCustomer Case===7bc9d577-a1e5-4866-a22c-25fb311cbded
[2025-01-07 05:20:21] Production.INFO: -- count --1
[2025-01-07 05:20:21] Production.INFO: -- Xero Add Inovice --
[2025-01-07 05:20:21] Production.INFO: CheckInvoice xerov2: INV11246
[2025-01-07 05:20:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11246
[2025-01-07 05:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192718,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192718', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192718', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:20:22] Production.INFO: ==5188== Releasing lock...
[2025-01-07 05:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:20:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 05:20:23] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:20:23] Production.INFO: Invoice SubTotal 263.540000
[2025-01-07 05:20:23] Production.INFO: Invoice DetTotal 263.54
[2025-01-07 05:20:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Craig%20Travel"
[2025-01-07 05:20:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:20:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:20:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:20:34] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 11-20-2024 To 12-19-2024",Quantity : 1,UnitAmount : 41.040000,LineAmount : 41.040000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 22,UnitAmount : 10.000000,LineAmount : 220.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14164840926 - 1092 MOUNT PLEASANT RD TORONTO, ON M4P2M6)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 05:20:36] Production.INFO: ==== result =====
[2025-01-07 05:20:36] Production.INFO: {
"Id": "64f52c4b-075f-4fe0-b1e8-af8f9eef2c37",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736245236925)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "25f50178-5522-4a43-89c2-e305759e3f91",
"InvoiceNumber": "INV11246",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 297.81,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "65a499d2-8fb3-4c56-ab50-2bdc7bfc40a1",
"ContactStatus": "ACTIVE",
"Name": "Craig Travel",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1533070464017+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-20T00:00:00",
"Date": "\/Date(1734652800000+0000)\/",
"DueDateString": "2025-01-19T00:00:00",
"DueDate": "\/Date(1737244800000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "From 11-20-2024 To 12-19-2024",
"UnitAmount": 41.04,
"TaxType": "TAX020",
"TaxAmount": 5.34,
"LineAmount": 41.04,
"AccountCode": "234",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "9f6a124b-39da-47d4-ab4d-994bd3da9073",
"AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "License for a Pay As You Go Cloud Phone extension",
"UnitAmount": 10.00,
"TaxType": "TAX020",
"TaxAmount": 28.60,
"LineAmount": 220.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 22.0000,
"DiscountRate": 0.00,
"LineItemID": "2fe164a4-3026-4e25-8ebb-df18f20ce64f",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (14164840926 - 1092 MOUNT PLEASANT RD TORONTO, ON M4P2M6)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "d0ea7639-74e9-4926-9b72-5420710e0777",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 263.54,
"TotalTax": 34.27,
"Total": 297.81,
"UpdatedDateUTC": "\/Date(1736245236880+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:20:36] Production.INFO: -- Create Invoice id --25f50178-5522-4a43-89c2-e305759e3f91
[2025-01-07 05:20:36] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:20:36] Production.INFO: CheckInvoice xerov2: INV11205
[2025-01-07 05:20:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11205
[2025-01-07 05:20:39] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:20:39] Production.INFO: Invoice SubTotal 35.970000
[2025-01-07 05:20:39] Production.INFO: Invoice DetTotal 35.97
[2025-01-07 05:20:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Delco%20Windows%20%26%20Doors"
[2025-01-07 05:20:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:20:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:20:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:20:50] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 11-13-2024 To 12-12-2024",Quantity : 1,UnitAmount : 5.470000,LineAmount : 5.470000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 4,UnitAmount : 7.000000,LineAmount : 28.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14163643834 - 9994 KEELE ST UNIT 201 VAUGHAN, ON L6A3Y4)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 05:20:52] Production.INFO: ==== result =====
[2025-01-07 05:20:52] Production.INFO: {
"Id": "0c75f223-5f8a-4110-8402-9dac095fb518",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736245252425)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "2dc35f7b-2f4d-421a-895d-8991f0ba47b4",
"InvoiceNumber": "INV11205",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 40.65,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "2a87a634-1e8b-4663-9f61-13fff8791cfb",
"ContactStatus": "ACTIVE",
"Name": "Delco Windows & Doors",
"FirstName": "Ayal",
"LastName": "Cohen",
"EmailAddress": "info@delcowindows.com",
"BankAccountDetails": "",
"TaxNumber": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"AddressLine1": "9994 Keele Street",
"AddressLine2": "Unit 201",
"AddressLine3": "",
"AddressLine4": "",
"City": "Toronto",
"Region": "ON",
"PostalCode": "L6A 3Y4",
"Country": "Canada",
"AttentionTo": "Ayal Cohen"
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "(416) 3643834",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "4163643834,103",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "4166776381",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1562268099593+0000)\/",
"ContactGroups": [
{
"ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58",
"Name": "Benjamin's Customers",
"Status": "ACTIVE",
"Contacts": [],
"HasValidationErrors": false
}
],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-13T00:00:00",
"Date": "\/Date(1734048000000+0000)\/",
"DueDateString": "2025-01-12T00:00:00",
"DueDate": "\/Date(1736640000000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "From 11-13-2024 To 12-12-2024",
"UnitAmount": 5.47,
"TaxType": "TAX020",
"TaxAmount": 0.71,
"LineAmount": 5.47,
"AccountCode": "234",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "48bb5d1e-c248-46a0-bb90-7c4c3d364074",
"AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "License for a Pay As You Go Cloud Phone extension",
"UnitAmount": 7.00,
"TaxType": "TAX020",
"TaxAmount": 3.64,
"LineAmount": 28.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 4.0000,
"DiscountRate": 0.00,
"LineItemID": "c52e1dbf-c1d4-4b56-814d-3b1d21e8f998",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (14163643834 - 9994 KEELE ST UNIT 201 VAUGHAN, ON L6A3Y4)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "53631048-a0d6-4f47-9115-f0c7067fea91",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 35.97,
"TotalTax": 4.68,
"Total": 40.65,
"UpdatedDateUTC": "\/Date(1736245252363+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:20:52] Production.INFO: -- Create Invoice id --2dc35f7b-2f4d-421a-895d-8991f0ba47b4
[2025-01-07 05:20:52] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:20:52] Production.INFO: CheckInvoice xerov2: INV11013
[2025-01-07 05:20:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11013
[2025-01-07 05:20:54] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:20:54] Production.INFO: Invoice SubTotal 26.250000
[2025-01-07 05:20:54] Production.INFO: Invoice DetTotal 26.25
[2025-01-07 05:20:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Discount%20Coach%20Tours%20and%20Wed%20in%20Destination"
[2025-01-07 05:20:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:21:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 10:21:02] Production.INFO: ==5265== Lock acquired, processing the job...
[2025-01-07 10:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:21:02] Production.INFO: neon service started
[2025-01-07 10:21:02] Production.INFO: neon service started
[2025-01-07 10:21:02] Production.INFO: ==5265== Releasing lock...
[2025-01-07 10:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:21:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:21:02] Production.INFO: ==5267== Lock acquired, processing the job...
[2025-01-07 05:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:21:02] Production.INFO: ==5267== Releasing lock...
[2025-01-07 05:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:21:02] Production.INFO: ==5269== Lock acquired, processing the job...
[2025-01-07 10:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:21:03] Production.INFO: ==5269== Releasing lock...
[2025-01-07 10:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:21:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:21:03] Production.INFO: ==5272== Lock acquired, processing the job...
[2025-01-07 05:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:21:03] Production.INFO: ==5274== Lock acquired, processing the job...
[2025-01-07 05:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:21:03] Production.INFO: ==5276== Lock acquired, processing the job...
[2025-01-07 05:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:21:03] Production.INFO: ==5282== Lock acquired, processing the job...
[2025-01-07 05:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:21:03] Production.INFO: ==5278== Lock acquired, processing the job...
[2025-01-07 05:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:21:04] Production.INFO: ==5280== Lock acquired, processing the job...
[2025-01-07 05:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 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-07 05:21:04] Production.INFO: count ==21
[2025-01-07 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-07 05:21:04] Production.INFO: count ==21
[2025-01-07 05:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:21:04] Production.INFO: Account Balance Start.
[2025-01-07 05:21:04] Production.INFO: CreateAllLog Start
[2025-01-07 05:21:04] Production.INFO: 117
[2025-01-07 05:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192721') start
[2025-01-07 05:21:04] Production.INFO: Date 2024-12-08
[2025-01-07 05:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:21:04] Production.INFO: Date 2024-12-09
[2025-01-07 05:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:21:04] Production.INFO: Date 2024-12-10
[2025-01-07 05:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:21:04] Production.INFO: ==5274== Releasing lock...
[2025-01-07 05:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:21:04] Production.INFO: Date 2024-12-11
[2025-01-07 05:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:21:04] Production.INFO: Date 2024-12-12
[2025-01-07 05:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192721') end
[2025-01-07 05:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:21:04] Production.INFO: 1
[2025-01-07 05:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:21:04] Production.INFO: ==5282== Releasing lock...
[2025-01-07 05:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:21:04] Production.ERROR: done
[2025-01-07 05:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:21:04] Production.INFO: Date 2024-12-13
[2025-01-07 05:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:21:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:21:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:21:04] Production.ERROR: done
[2025-01-07 05:21:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:21:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:21:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:21:04] Production.INFO: Date 2024-12-19
[2025-01-07 05:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:21:04] Production.INFO: Date 2024-12-20
[2025-01-07 05:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:21:04] Production.INFO: Date 2024-12-21
[2025-01-07 05:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:21:04] Production.INFO: Date 2024-12-22
[2025-01-07 05:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:21:04] Production.INFO: Date 2024-12-23
[2025-01-07 05:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:21:05] Production.INFO: Date 2024-12-24
[2025-01-07 05:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:21:05] Production.INFO: Date 2024-12-25
[2025-01-07 05:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:21:05] Production.INFO: Date 2024-12-26
[2025-01-07 05:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:21:05] Production.INFO: Date 2024-12-27
[2025-01-07 05:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:21:05] Production.INFO: Date 2024-12-28
[2025-01-07 05:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:21:05] Production.INFO: Date 2024-12-29
[2025-01-07 05:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:21:05] Production.INFO: Date 2024-12-30
[2025-01-07 05:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:21:05] Production.INFO: Date 2024-12-31
[2025-01-07 05:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:21:05] Production.INFO: Date 2025-01-01
[2025-01-07 05:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:21:05] Production.INFO: Date 2025-01-02
[2025-01-07 05:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:21:05] Production.INFO: Date 2025-01-03
[2025-01-07 05:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:21:05] Production.INFO: Date 2025-01-04
[2025-01-07 05:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:21:05] Production.INFO: Date 2025-01-05
[2025-01-07 05:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:21:05] Production.INFO: Date 2025-01-06
[2025-01-07 05:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:21:05] Production.INFO: Date 2025-01-07
[2025-01-07 05:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:21:05] Production.INFO: Total Charge 0
[2025-01-07 05:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:21:05
[end_date_ymd] => 2025-01-07 05:21:05
[RateCDR] => 1
)
[2025-01-07 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-07 02:21:05' and `end` < '2025-01-07 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-07 05:21:05] Production.INFO: CreateAllLog End
[2025-01-07 05:21:05] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 10-08-2024 To 11-07-2024",Quantity : 1,UnitAmount : 1.250000,LineAmount : 1.250000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension",Quantity : 5,UnitAmount : 5.000000,LineAmount : 25.000000}
[2025-01-07 05:21:05] Production.INFO: Account Balance End.
[2025-01-07 05:21:05] Production.ERROR: CronJobId end 12
[2025-01-07 05:21:05] Production.INFO: ==5278== Releasing lock...
[2025-01-07 05:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:21:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:21:08] Production.INFO: ==== result =====
[2025-01-07 05:21:08] Production.INFO: {
"Id": "5da51d73-4415-44aa-b981-c3f476d238a8",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736245268109)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "3ced58bb-156a-4041-ab24-191c2de12d0f",
"InvoiceNumber": "INV11013",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 29.66,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "c864ce51-780a-4f49-93fc-921fe633c032",
"ContactStatus": "ACTIVE",
"Name": "Discount Coach Tours and Wed in Destination",
"FirstName": "Kiran",
"LastName": "Grewal",
"EmailAddress": "kiran@discountcoachtours.ca",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1620922586947+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-11-08T00:00:00",
"Date": "\/Date(1731024000000+0000)\/",
"DueDateString": "2024-12-08T00:00:00",
"DueDate": "\/Date(1733616000000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "From 10-08-2024 To 11-07-2024",
"UnitAmount": 1.25,
"TaxType": "TAX020",
"TaxAmount": 0.16,
"LineAmount": 1.25,
"AccountCode": "234",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "714d2bea-6269-4fed-b684-7eb8cff97960",
"AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "License for an Unlimited Canada/US Cloud Phone extension",
"UnitAmount": 5.00,
"TaxType": "TAX020",
"TaxAmount": 3.25,
"LineAmount": 25.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 5.0000,
"DiscountRate": 0.00,
"LineItemID": "bf8b356d-2579-4687-9819-d658a7ea4ec1",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 26.25,
"TotalTax": 3.41,
"Total": 29.66,
"UpdatedDateUTC": "\/Date(1736245268063+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:21:08] Production.INFO: -- Create Invoice id --3ced58bb-156a-4041-ab24-191c2de12d0f
[2025-01-07 05:21:08] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:21:08] Production.INFO: CheckInvoice xerov2: INV11172
[2025-01-07 05:21:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11172
[2025-01-07 05:21:10] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:21:10] Production.INFO: Invoice SubTotal 27.150000
[2025-01-07 05:21:10] Production.INFO: Invoice DetTotal 27.15
[2025-01-07 05:21:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Discount%20Coach%20Tours%20and%20Wed%20in%20Destination"
[2025-01-07 05:21:11] Production.ERROR: CronJobId end10
[2025-01-07 05:21:11] Production.INFO: ==5276== Releasing lock...
[2025-01-07 05:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:21:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:21:14] Production.INFO: call_cost start
[2025-01-07 05:21:14] Production.INFO: call_cost end
[2025-01-07 05:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:21:14] Production.INFO: ==5272== Releasing lock...
[2025-01-07 05:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:21:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:21:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:21:18] Production.INFO: count ==70
[2025-01-07 05:21:18] Production.ERROR: pbx CDR StartTime 2025-01-07 02:21:05 - End Time 2025-01-07 05:21:05
[2025-01-07 05:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192723', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192723', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192723', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192723', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:21:18] Production.INFO: ProcessCDR(1,14192723,1,1,2)
[2025-01-07 05:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192723,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192723,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192723,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192723,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192723', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192723', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:21:22] Production.INFO: ==5280== Releasing lock...
[2025-01-07 05:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:21:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 05:21:22] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 11-08-2024 To 12-07-2024",Quantity : 1,UnitAmount : 2.150000,LineAmount : 2.150000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension",Quantity : 5,UnitAmount : 5.000000,LineAmount : 25.000000}
[2025-01-07 05:21:26] Production.INFO: ==== result =====
[2025-01-07 05:21:26] Production.INFO: {
"Id": "a251449a-1051-445b-aaf7-2c4a71d8c096",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736245285920)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "2e4c982f-ed8e-42b6-ba59-3e46c63cf22c",
"InvoiceNumber": "INV11172",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 30.68,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "c864ce51-780a-4f49-93fc-921fe633c032",
"ContactStatus": "ACTIVE",
"Name": "Discount Coach Tours and Wed in Destination",
"FirstName": "Kiran",
"LastName": "Grewal",
"EmailAddress": "kiran@discountcoachtours.ca",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1620922586947+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-08T00:00:00",
"Date": "\/Date(1733616000000+0000)\/",
"DueDateString": "2025-01-07T00:00:00",
"DueDate": "\/Date(1736208000000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "From 11-08-2024 To 12-07-2024",
"UnitAmount": 2.15,
"TaxType": "TAX020",
"TaxAmount": 0.28,
"LineAmount": 2.15,
"AccountCode": "234",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "2e0170d5-7581-4744-8fb1-0c9c2a199968",
"AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "License for an Unlimited Canada/US Cloud Phone extension",
"UnitAmount": 5.00,
"TaxType": "TAX020",
"TaxAmount": 3.25,
"LineAmount": 25.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 5.0000,
"DiscountRate": 0.00,
"LineItemID": "dd839415-0823-40d7-b707-1f819953ef5b",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 27.15,
"TotalTax": 3.53,
"Total": 30.68,
"UpdatedDateUTC": "\/Date(1736245285827+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:21:26] Production.INFO: -- Create Invoice id --2e4c982f-ed8e-42b6-ba59-3e46c63cf22c
[2025-01-07 05:21:26] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:21:26] Production.INFO: CheckInvoice xerov2: INV11191
[2025-01-07 05:21:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11191
[2025-01-07 05:21:29] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:21:29] Production.INFO: Invoice SubTotal 11.370000
[2025-01-07 05:21:29] Production.INFO: Invoice DetTotal 11.37
[2025-01-07 05:21:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Discovery%20Point%20Nursery"
[2025-01-07 05:21:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:21:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:21:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:21:39] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 11-10-2024 To 12-09-2024",Quantity : 1,UnitAmount : 1.870000,LineAmount : 1.870000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 1,UnitAmount : 7.000000,LineAmount : 7.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (19057273568 - 10501 WESTON RD WOODBRIDGE, ON L4H4G8)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 05:21:42] Production.INFO: ==== result =====
[2025-01-07 05:21:42] Production.INFO: {
"Id": "72e59860-328a-411a-9c32-55e61f37ed43",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736245302445)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "987769fe-e8c7-4265-910e-955a4b068239",
"InvoiceNumber": "INV11191",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 12.85,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "cb58377f-8ea7-4ab2-9952-d9be1c41b3e2",
"ContactStatus": "ACTIVE",
"Name": "Discovery Point Nursery",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1562268117260+0000)\/",
"ContactGroups": [
{
"ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58",
"Name": "Benjamin's Customers",
"Status": "ACTIVE",
"Contacts": [],
"HasValidationErrors": false
}
],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-10T00:00:00",
"Date": "\/Date(1733788800000+0000)\/",
"DueDateString": "2025-01-09T00:00:00",
"DueDate": "\/Date(1736380800000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "From 11-10-2024 To 12-09-2024",
"UnitAmount": 1.87,
"TaxType": "TAX020",
"TaxAmount": 0.24,
"LineAmount": 1.87,
"AccountCode": "234",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "1241f985-1051-487e-ae2e-010d4f1ecf52",
"AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "License for a Pay As You Go Cloud Phone extension",
"UnitAmount": 7.00,
"TaxType": "TAX020",
"TaxAmount": 0.91,
"LineAmount": 7.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "74f9cb75-3360-4ab2-a8ee-ac205096f130",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (19057273568 - 10501 WESTON RD WOODBRIDGE, ON L4H4G8)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "c930656a-4ee3-4388-b102-190a6e1c919e",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 11.37,
"TotalTax": 1.48,
"Total": 12.85,
"UpdatedDateUTC": "\/Date(1736245302367+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:21:42] Production.INFO: -- Create Invoice id --987769fe-e8c7-4265-910e-955a4b068239
[2025-01-07 05:21:42] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:21:42] Production.INFO: CheckInvoice xerov2: INV11188
[2025-01-07 05:21:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11188
[2025-01-07 05:21:44] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:21:44] Production.INFO: Invoice SubTotal 38.870000
[2025-01-07 05:21:44] Production.INFO: Invoice DetTotal 38.87
[2025-01-07 05:21:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="DMCI"
[2025-01-07 05:21:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:21:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:21:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:21:55] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension (DMCi)",Quantity : 5,UnitAmount : 5.000000,LineAmount : 25.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional Toll Free DID (18336210750)",Quantity : 1,UnitAmount : 5.000000,LineAmount : 5.000000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Loyalty discount - $10/month - Never expires (XR)",Quantity : 1,UnitAmount : -10.000000,LineAmount : -10.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Allows Microsoft Teams app to be used to make and receive calls via Cloud Phone.",Quantity : 3,UnitAmount : 6.290000,LineAmount : 18.870000}
[2025-01-07 05:21:58] Production.INFO: ==== result =====
[2025-01-07 05:21:58] Production.INFO: {
"Id": "d2284864-cf8b-417c-a350-2dde827769db",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736245318505)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "611067f9-a954-48fe-90fd-84138140e056",
"InvoiceNumber": "INV11188",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 43.92,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "7bc9d577-a1e5-4866-a22c-25fb311cbded",
"ContactStatus": "ACTIVE",
"Name": "DMCI",
"FirstName": "Prasad",
"LastName": "Gopinath",
"EmailAddress": "prasad@dmci.ca",
"BankAccountDetails": "",
"TaxNumber": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"AddressLine1": "1448 Lawrence Ave. East",
"AddressLine2": "Suite 303",
"AddressLine3": "",
"AddressLine4": "",
"City": "North York",
"Region": "ON",
"PostalCode": "M4A2V6",
"Country": "Canada",
"AttentionTo": "Prasad Gopinath"
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "(416) 4258001",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "4164258001,4201",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "6478893297",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1629352418927+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"DefaultCurrency": "CAD",
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-10T00:00:00",
"Date": "\/Date(1733788800000+0000)\/",
"DueDateString": "2025-01-09T00:00:00",
"DueDate": "\/Date(1736380800000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "License for a Pay As You Go Cloud Phone extension (DMCi)",
"UnitAmount": 5.00,
"TaxType": "TAX020",
"TaxAmount": 3.25,
"LineAmount": 25.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 5.0000,
"DiscountRate": 0.00,
"LineItemID": "eb972620-01dc-4564-96c3-b3a30e9265b7",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional Toll Free DID (18336210750)",
"UnitAmount": 5.00,
"TaxType": "TAX020",
"TaxAmount": 0.65,
"LineAmount": 5.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "0c0d9740-6078-4270-ba3e-17ca5d39df12",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Loyalty discount - $10/month - Never expires (XR)",
"UnitAmount": -10.00,
"TaxType": "TAX020",
"TaxAmount": -1.30,
"LineAmount": -10.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "2217945d-a152-4d0b-8d8e-3651341a309a",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Allows Microsoft Teams app to be used to make and receive calls via Cloud Phone.",
"UnitAmount": 6.29,
"TaxType": "TAX020",
"TaxAmount": 2.45,
"LineAmount": 18.87,
"AccountCode": "203",
"Tracking": [],
"Quantity": 3.0000,
"LineItemID": "9e72909a-17a1-434c-a5e3-38aec5cc318a",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
}
],
"SubTotal": 38.87,
"TotalTax": 5.05,
"Total": 43.92,
"UpdatedDateUTC": "\/Date(1736245318427+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:21:58] Production.INFO: -- Create Invoice id --611067f9-a954-48fe-90fd-84138140e056
[2025-01-07 05:21:58] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:21:58] Production.INFO: -- Xero End Inovice --
[2025-01-07 05:21:58] Production.INFO: ==5176== Releasing lock...
[2025-01-07 05:21:58] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10430 #Stops#
[2025-01-07 05:21:58] Production.INFO: 32.5 MB #Memory Used#
[2025-01-07 10:22:01] Production.INFO: ==5359== Lock acquired, processing the job...
[2025-01-07 10:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:22:01] Production.INFO: neon service started
[2025-01-07 10:22:01] Production.INFO: neon service started
[2025-01-07 10:22:01] Production.INFO: ==5359== Releasing lock...
[2025-01-07 10:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:22:02] Production.INFO: ==5361== Lock acquired, processing the job...
[2025-01-07 05:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:22:02] Production.INFO: ==5363== Lock acquired, processing the job...
[2025-01-07 10:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:22:02] Production.INFO: ==5363== Releasing lock...
[2025-01-07 10:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:22:02] Production.INFO: ==5361== Releasing lock...
[2025-01-07 05:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:22:03] Production.INFO: ==5366== Lock acquired, processing the job...
[2025-01-07 05:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:22:03] Production.INFO: ==5368== Lock acquired, processing the job...
[2025-01-07 05:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:22:03] Production.INFO: ==5370== Lock acquired, processing the job...
[2025-01-07 05:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:22:03] Production.INFO: ==5372== Lock acquired, processing the job...
[2025-01-07 05:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:22:03] Production.INFO: ==5374== Lock acquired, processing the job...
[2025-01-07 05:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:22:03] Production.INFO: ==5376== Lock acquired, processing the job...
[2025-01-07 05:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:22:03] Production.INFO: ==5368== Releasing lock...
[2025-01-07 05:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:22:03] Production.INFO: Account Balance Start.
[2025-01-07 05:22:03] Production.INFO: CreateAllLog Start
[2025-01-07 05:22:03] Production.INFO: 117
[2025-01-07 05:22:03] Production.INFO: Date 2024-12-08
[2025-01-07 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-07 05:22:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:22:03] Production.INFO: count ==21
[2025-01-07 05:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:22:03] Production.INFO: count ==21
[2025-01-07 05:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192727') start
[2025-01-07 05:22:04] Production.ERROR: done
[2025-01-07 05:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192727') end
[2025-01-07 05:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:22:04] Production.INFO: 1
[2025-01-07 05:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:22:04] Production.INFO: Date 2024-12-09
[2025-01-07 05:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:22:04] Production.ERROR: done
[2025-01-07 05:22:04] Production.INFO: ==5376== Releasing lock...
[2025-01-07 05:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:22:04] Production.INFO: Date 2024-12-10
[2025-01-07 05:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:22:04] Production.INFO: Date 2024-12-11
[2025-01-07 05:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:22:04] Production.INFO: Date 2024-12-12
[2025-01-07 05:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:22:04] Production.INFO: Date 2024-12-13
[2025-01-07 05:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:22:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:22:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:22:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:22:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:22:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:22:04] Production.INFO: Date 2024-12-19
[2025-01-07 05:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:22:04] Production.INFO: Date 2024-12-20
[2025-01-07 05:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:22:04] Production.INFO: Date 2024-12-21
[2025-01-07 05:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:22:04] Production.INFO: Date 2024-12-22
[2025-01-07 05:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:22:04] Production.INFO: Date 2024-12-23
[2025-01-07 05:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:22:04] Production.INFO: Date 2024-12-24
[2025-01-07 05:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:22:04] Production.INFO: Date 2024-12-25
[2025-01-07 05:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:22:04] Production.INFO: Date 2024-12-26
[2025-01-07 05:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:22:04] Production.INFO: Date 2024-12-27
[2025-01-07 05:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:22:04] Production.INFO: Date 2024-12-28
[2025-01-07 05:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:22:04] Production.INFO: Date 2024-12-29
[2025-01-07 05:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:22:04] Production.INFO: Date 2024-12-30
[2025-01-07 05:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:22:05] Production.INFO: Date 2024-12-31
[2025-01-07 05:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:22:05] Production.INFO: Date 2025-01-01
[2025-01-07 05:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:22:05] Production.INFO: Date 2025-01-02
[2025-01-07 05:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:22:05] Production.INFO: Date 2025-01-03
[2025-01-07 05:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:22:05] Production.INFO: Date 2025-01-04
[2025-01-07 05:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:22:05] Production.INFO: Date 2025-01-05
[2025-01-07 05:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:22:05] Production.INFO: Date 2025-01-06
[2025-01-07 05:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:22:05] Production.INFO: Date 2025-01-07
[2025-01-07 05:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:22:05] Production.INFO: Total Charge 0
[2025-01-07 05:22:05] Production.INFO: CreateAllLog End
[2025-01-07 05:22:05] Production.INFO: Account Balance End.
[2025-01-07 05:22:05] Production.ERROR: CronJobId end 12
[2025-01-07 05:22:05] Production.INFO: ==5372== Releasing lock...
[2025-01-07 05:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:22:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:22:05
[end_date_ymd] => 2025-01-07 05:22:05
[RateCDR] => 1
)
[2025-01-07 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-07 02:22:05' and `end` < '2025-01-07 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-07 05:22:10] Production.ERROR: CronJobId end10
[2025-01-07 05:22:10] Production.INFO: ==5370== Releasing lock...
[2025-01-07 05:22:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:22:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:22:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:22:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:22:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:22:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:22:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:22:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:22:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:22:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:22:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:22:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:22:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:22:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:22:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:22:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:22:12] Production.INFO: call_cost start
[2025-01-07 05:22:12] Production.INFO: call_cost end
[2025-01-07 05:22:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:22:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:22:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:22:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:22:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:22:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:22:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:22:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:22:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:22:13] Production.INFO: ==5366== Releasing lock...
[2025-01-07 05:22:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:22:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:22:19] Production.INFO: count ==70
[2025-01-07 05:22:19] Production.ERROR: pbx CDR StartTime 2025-01-07 02:22:05 - End Time 2025-01-07 05:22:05
[2025-01-07 05:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192728', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192728', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192728', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192728', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:22:19] Production.INFO: ProcessCDR(1,14192728,1,1,2)
[2025-01-07 05:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192728,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192728,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192728,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192728,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192728', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192728', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:22:22] Production.INFO: ==5374== Releasing lock...
[2025-01-07 05:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:22:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 10:23:02] Production.INFO: ==5428== Lock acquired, processing the job...
[2025-01-07 10:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:23:02] Production.INFO: neon service started
[2025-01-07 10:23:02] Production.INFO: neon service started
[2025-01-07 10:23:02] Production.INFO: ==5428== Releasing lock...
[2025-01-07 10:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:23:02] Production.INFO: ==5431== Lock acquired, processing the job...
[2025-01-07 05:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:23:02] Production.INFO: ==5433== Lock acquired, processing the job...
[2025-01-07 10:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:23:02] Production.INFO: ==5431== Releasing lock...
[2025-01-07 05:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:23:02] Production.INFO: ==5433== Releasing lock...
[2025-01-07 10:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:23:03] Production.INFO: ==5435== Lock acquired, processing the job...
[2025-01-07 05:23:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10431 #Starts#
[2025-01-07 05:23:03] Production.INFO: ==5437== Lock acquired, processing the job...
[2025-01-07 05:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:23:03] Production.INFO: ==5439== Lock acquired, processing the job...
[2025-01-07 05:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:23:03] Production.INFO: -- Xero Api Check --
[2025-01-07 05:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:23:03] Production.INFO: ==5441== Lock acquired, processing the job...
[2025-01-07 05:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:23:03] Production.INFO: ==5445== Lock acquired, processing the job...
[2025-01-07 05:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:23:03] Production.INFO: ==5443== Lock acquired, processing the job...
[2025-01-07 05:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:23:04] Production.INFO: ==5447== Lock acquired, processing the job...
[2025-01-07 05:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:23:04] Production.INFO: Account Balance Start.
[2025-01-07 05:23:04] Production.INFO: CreateAllLog Start
[2025-01-07 05:23:04] Production.INFO: 117
[2025-01-07 05:23:04] Production.INFO: Date 2024-12-08
[2025-01-07 05:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:23:04] Production.ERROR: done
[2025-01-07 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-07 05:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:23:04] Production.INFO: count ==21
[2025-01-07 05:23:04] Production.INFO: Date 2024-12-09
[2025-01-07 05:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 05:23:04] Production.INFO: count ==21
[2025-01-07 05:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192731') start
[2025-01-07 05:23:04] Production.ERROR: done
[2025-01-07 05:23:04] Production.INFO: Date 2024-12-10
[2025-01-07 05:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:23: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.635429
[namelookup_time] => 0.282728
[connect_time] => 0.293718
[pretransfer_time] => 0.501054
[size_upload] => 82
[size_download] => 2755
[speed_download] => 4335
[speed_upload] => 129
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.63539
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.17
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 42348
)
[2025-01-07 05:23:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDUzODQsImV4cCI6MTczNjI0NTY4NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ1Mzg0LCJhdF9oYXNoIjoiT0l6WDJucmYwMUNDQ1RBNW5FbzZLZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.IjEzJBgLC5OJXPq4je1vkrAmvwcXGmFu1f3FbOo1C1xTrya7nQNoWb-gm3W979gK-uuz3vVFnyR7_0nTiYt5rYEBvCXo-ZykhM8RrGLfiQor2F78KIF9psDZvBdfkq5DyX3GtFrjAjRxdgda71YA8kMZ0JdTrg-BJAaqgtrfZVy2g6TX6P16uegjYFrQb8OG8TdjhyfinhGqcIQNxoCtfDKMVE-pLW77bxEgeoxD-hp4EgWMpyyAv1uzAxRMmInXZpjpmc32m7JV25SiHBghlNDniTS0oIEE_9-9S6W-zZgInmiyNAsQ710SPs4Pqlmv-SlDlfzm4cwPBGjbzAlWkg
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDUzODQsImV4cCI6MTczNjI0NzE4NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.kXD2xjvm8e_ZVN2gYTGBsezwVPKpE-3770gjfNyNfLOlhC0Tt1jGhij4b4meLaQVPubruROvIVquyNmIooUSRLyqakWvHb1G0R4iWHHOxHOM-eqlvCRaSy1AYFhpf7ZGJqUWFOtqJlZWzOOC9QJErWLawHDJsHrfrR3xvVOgOdgfYb13UxWrBKmyYHmL6e7dAlXi9vZgvHCg-MjTWqWV14JmbyGUjL-ZkCV7q4zGaABrGad2cVl870d9FHatmmACV2rATwfD25UbG_Mvb73Kjs35kfSzcktCXFhxkTjC-sU7Kc90ttIzbNhpzOWNQSsnlZKonD1qhXUG5Bb_QjYs5g
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => lB7LEEOExjmnVPSSnnwb6zUR9TbFVDtX2-oEfx8MWRo
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 05:23:04] Production.INFO: ==5439== Releasing lock...
[2025-01-07 05:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:23:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDUzODQsImV4cCI6MTczNjI0NTY4NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ1Mzg0LCJhdF9oYXNoIjoiT0l6WDJucmYwMUNDQ1RBNW5FbzZLZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.IjEzJBgLC5OJXPq4je1vkrAmvwcXGmFu1f3FbOo1C1xTrya7nQNoWb-gm3W979gK-uuz3vVFnyR7_0nTiYt5rYEBvCXo-ZykhM8RrGLfiQor2F78KIF9psDZvBdfkq5DyX3GtFrjAjRxdgda71YA8kMZ0JdTrg-BJAaqgtrfZVy2g6TX6P16uegjYFrQb8OG8TdjhyfinhGqcIQNxoCtfDKMVE-pLW77bxEgeoxD-hp4EgWMpyyAv1uzAxRMmInXZpjpmc32m7JV25SiHBghlNDniTS0oIEE_9-9S6W-zZgInmiyNAsQ710SPs4Pqlmv-SlDlfzm4cwPBGjbzAlWkg
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDUzODQsImV4cCI6MTczNjI0NzE4NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.kXD2xjvm8e_ZVN2gYTGBsezwVPKpE-3770gjfNyNfLOlhC0Tt1jGhij4b4meLaQVPubruROvIVquyNmIooUSRLyqakWvHb1G0R4iWHHOxHOM-eqlvCRaSy1AYFhpf7ZGJqUWFOtqJlZWzOOC9QJErWLawHDJsHrfrR3xvVOgOdgfYb13UxWrBKmyYHmL6e7dAlXi9vZgvHCg-MjTWqWV14JmbyGUjL-ZkCV7q4zGaABrGad2cVl870d9FHatmmACV2rATwfD25UbG_Mvb73Kjs35kfSzcktCXFhxkTjC-sU7Kc90ttIzbNhpzOWNQSsnlZKonD1qhXUG5Bb_QjYs5g
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => lB7LEEOExjmnVPSSnnwb6zUR9TbFVDtX2-oEfx8MWRo
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 05:23:04] Production.INFO: Date 2024-12-11
[2025-01-07 05:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:23:04] Production.INFO: AccountID 229
[2025-01-07 05:23:04] Production.INFO: AccountName Dominos 10096 (Albert Chan)
[2025-01-07 05:23:04] Production.INFO: Checkcustomer
[2025-01-07 05:23:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010096%20%28Albert%20Chan%29"
[2025-01-07 05:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192731') end
[2025-01-07 05:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:23:04] Production.INFO: 1
[2025-01-07 05:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:23:04] Production.INFO: Date 2024-12-12
[2025-01-07 05:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:23:04] Production.INFO: ==5447== Releasing lock...
[2025-01-07 05:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:23:04] Production.INFO: Date 2024-12-13
[2025-01-07 05:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:23:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:23:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:23:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:23:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:23:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:23:04] Production.INFO: Date 2024-12-19
[2025-01-07 05:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:23:04] Production.INFO: Date 2024-12-20
[2025-01-07 05:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:23:04] Production.INFO: Date 2024-12-21
[2025-01-07 05:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:23:05] Production.INFO: Date 2024-12-22
[2025-01-07 05:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:23:05] Production.INFO: Date 2024-12-23
[2025-01-07 05:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:23:05] Production.INFO: Date 2024-12-24
[2025-01-07 05:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:23:05] Production.INFO: Date 2024-12-25
[2025-01-07 05:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:23:05] Production.INFO: Date 2024-12-26
[2025-01-07 05:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:23:05] Production.INFO: Date 2024-12-27
[2025-01-07 05:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:23:05] Production.INFO: Date 2024-12-28
[2025-01-07 05:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:23:05] Production.INFO: Date 2024-12-29
[2025-01-07 05:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:23:05] Production.INFO: Date 2024-12-30
[2025-01-07 05:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:23:05] Production.INFO: Date 2024-12-31
[2025-01-07 05:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:23:05] Production.INFO: Date 2025-01-01
[2025-01-07 05:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:23:05] Production.INFO: Date 2025-01-02
[2025-01-07 05:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:23:05] Production.INFO: Date 2025-01-03
[2025-01-07 05:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:23:05] Production.INFO: Date 2025-01-04
[2025-01-07 05:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:23:05] Production.INFO: Date 2025-01-05
[2025-01-07 05:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:23:05] Production.INFO: Date 2025-01-06
[2025-01-07 05:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:23:05] Production.INFO: Date 2025-01-07
[2025-01-07 05:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:23:05] Production.INFO: Total Charge 0
[2025-01-07 05:23:05] Production.INFO: CreateAllLog End
[2025-01-07 05:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:23:05
[end_date_ymd] => 2025-01-07 05:23:05
[RateCDR] => 1
)
[2025-01-07 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-07 02:23:05' and `end` < '2025-01-07 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-07 05:23:05] Production.INFO: Account Balance End.
[2025-01-07 05:23:05] Production.ERROR: CronJobId end 12
[2025-01-07 05:23:05] Production.INFO: ==5443== Releasing lock...
[2025-01-07 05:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:23:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:23:06] Production.INFO: Contact id print CheckCustomer Case===dc1089bc-e9ac-4fac-8919-44bc3549e60a
[2025-01-07 05:23:06] Production.INFO: -- count --1
[2025-01-07 05:23:06] Production.INFO: AccountID 7
[2025-01-07 05:23:06] Production.INFO: AccountName Dominos 10099 (Mudassar Zia)
[2025-01-07 05:23:06] Production.INFO: Checkcustomer
[2025-01-07 05:23:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010099%20%28Mudassar%20Zia%29"
[2025-01-07 05:23:09] Production.INFO: Contact id print CheckCustomer Case===71c34967-10de-4adf-ac3c-873348ba60c5
[2025-01-07 05:23:09] Production.INFO: -- count --1
[2025-01-07 05:23:09] Production.INFO: AccountID 107
[2025-01-07 05:23:09] Production.INFO: AccountName Dominos 10179 (Akshay Naik)
[2025-01-07 05:23:09] Production.INFO: Checkcustomer
[2025-01-07 05:23:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010179%20%28Akshay%20Naik%29"
[2025-01-07 05:23:11] Production.ERROR: CronJobId end10
[2025-01-07 05:23:11] Production.INFO: ==5441== Releasing lock...
[2025-01-07 05:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:23:12] Production.INFO: Contact id print CheckCustomer Case===669bb033-93e4-4d2e-aa92-454e682a5c09
[2025-01-07 05:23:12] Production.INFO: -- count --1
[2025-01-07 05:23:12] Production.INFO: AccountID 226
[2025-01-07 05:23:12] Production.INFO: AccountName Dominos 10189 (Akshay Naik)
[2025-01-07 05:23:12] Production.INFO: Checkcustomer
[2025-01-07 05:23:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010189%20%28Akshay%20Naik%29"
[2025-01-07 05:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:23:14] Production.INFO: call_cost start
[2025-01-07 05:23:14] Production.INFO: call_cost end
[2025-01-07 05:23:14] Production.INFO: Contact id print CheckCustomer Case===4982fdbe-e8c3-4cfb-854b-994478db81a7
[2025-01-07 05:23:14] Production.INFO: -- count --1
[2025-01-07 05:23:14] Production.INFO: AccountID 226
[2025-01-07 05:23:14] Production.INFO: AccountName Dominos 10189 (Akshay Naik)
[2025-01-07 05:23:14] Production.INFO: Checkcustomer
[2025-01-07 05:23:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010189%20%28Akshay%20Naik%29"
[2025-01-07 05:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:23:14] Production.INFO: ==5437== Releasing lock...
[2025-01-07 05:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:23:17] Production.INFO: Contact id print CheckCustomer Case===4982fdbe-e8c3-4cfb-854b-994478db81a7
[2025-01-07 05:23:17] Production.INFO: -- count --1
[2025-01-07 05:23:17] Production.INFO: AccountID 153
[2025-01-07 05:23:17] Production.INFO: AccountName Dominos 10191 (Chandresh Patel)
[2025-01-07 05:23:17] Production.INFO: Checkcustomer
[2025-01-07 05:23:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010191%20%28Chandresh%20Patel%29"
[2025-01-07 05:23:18] Production.INFO: count ==70
[2025-01-07 05:23:18] Production.ERROR: pbx CDR StartTime 2025-01-07 02:23:05 - End Time 2025-01-07 05:23:05
[2025-01-07 05:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192733', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192733', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192733', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192733', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:23:18] Production.INFO: ProcessCDR(1,14192733,1,1,2)
[2025-01-07 05:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192733,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:23:19] Production.INFO: Contact id print CheckCustomer Case===a1f84b26-3d74-4603-893d-c86292f301ef
[2025-01-07 05:23:19] Production.INFO: -- count --1
[2025-01-07 05:23:19] Production.INFO: -- Xero Add Inovice --
[2025-01-07 05:23:19] Production.INFO: CheckInvoice xerov2: INV11198
[2025-01-07 05:23:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11198
[2025-01-07 05:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192733,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192733,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192733,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192733', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192733', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:23:21] Production.INFO: ==5445== Releasing lock...
[2025-01-07 05:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:23:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 05:23:21] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:23:21] Production.INFO: Invoice SubTotal 28.490000
[2025-01-07 05:23:21] Production.INFO: Invoice DetTotal 28.49
[2025-01-07 05:23:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010096%20%28Albert%20Chan%29"
[2025-01-07 05:23:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:23:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:23:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:23:32] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Restaurant - 5 Line Flat Rate DPZ Canada",Quantity : 1,UnitAmount : 75.990000,LineAmount : 75.990000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (1-778-649-2222 - 386 City Centre Kitimat, BC V8C2G3 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,"Description": "Credit - Yealink hardware discount ($500 total, $50/mo for 10 months)",Quantity : 1,UnitAmount : -50.000000,LineAmount : -50.000000}
[2025-01-07 05:23:34] Production.INFO: ==== result =====
[2025-01-07 05:23:34] Production.INFO: {
"Id": "1f5ee529-ea57-4490-9c5b-e46ce015da30",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736245414415)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "10a42abf-1c9f-4a1b-aca0-4fe6b204eb1e",
"InvoiceNumber": "INV11198",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 32.20,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"IsDiscounted": false,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "dc1089bc-e9ac-4fac-8919-44bc3549e60a",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10096 (Albert Chan)",
"FirstName": "Albert",
"LastName": "Chan",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1730121892430+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-11T00:00:00",
"Date": "\/Date(1733875200000+0000)\/",
"DueDateString": "2025-01-10T00:00:00",
"DueDate": "\/Date(1736467200000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 5 Line Flat Rate DPZ Canada",
"UnitAmount": 75.99,
"TaxType": "TAX020",
"TaxAmount": 9.88,
"LineAmount": 75.99,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "be5d04ee-3017-4044-9e65-13d43f7e0f03",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
},
{
"Description": "e911 address registration (1-778-649-2222 - 386 City Centre Kitimat, BC V8C2G3 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "83e0fc68-713f-48ce-b98f-4c1736f43315",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
},
{
"Description": "Credit - Yealink hardware discount ($500 total, $50/mo for 10 months)",
"UnitAmount": -50.00,
"TaxType": "TAX020",
"TaxAmount": -6.50,
"LineAmount": -50.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "065e96e7-d81b-42f7-9a71-bf7043fb29a0",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"ValidationErrors": []
}
],
"SubTotal": 28.49,
"TotalTax": 3.71,
"Total": 32.20,
"UpdatedDateUTC": "\/Date(1736245414337+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:23:34] Production.INFO: -- Create Invoice id --10a42abf-1c9f-4a1b-aca0-4fe6b204eb1e
[2025-01-07 05:23:34] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:23:34] Production.INFO: CheckInvoice xerov2: INV11260
[2025-01-07 05:23:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11260
[2025-01-07 05:23:36] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:23:36] Production.INFO: Invoice SubTotal 67.500000
[2025-01-07 05:23:36] Production.INFO: Invoice DetTotal 67.5
[2025-01-07 05:23:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010099%20%28Mudassar%20Zia%29"
[2025-01-07 05:23:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:23:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:23:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:23:47] Production.INFO: =========Invoices String here======{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "Dominos Pizza - 4 Line Flat Rate with $5 discount (3+ stores)",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration - (AUBURN MEADOWS DR SE UNIT 330 CALGARY, AB T3M2G5)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID - Fax (14038790958)",Quantity : 1,UnitAmount : 5.000000,LineAmount : 5.000000},{taxType:"TAX012",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 3,UnitAmount : -5.000000,LineAmount : -15.000000}
[2025-01-07 05:23:49] Production.INFO: ==== result =====
[2025-01-07 05:23:49] Production.INFO: {
"Id": "0fd2fa05-efc2-4f2c-b555-090d6f374516",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736245429589)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "2835bbde-7e45-4a92-84ce-69cb8448b5d7",
"InvoiceNumber": "INV11260",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 70.88,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "71c34967-10de-4adf-ac3c-873348ba60c5",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10099 (Mudassar Zia)",
"FirstName": "",
"LastName": "",
"EmailAddress": "",
"BankAccountDetails": "",
"AccountsReceivableTaxType": "TAX012",
"AccountsPayableTaxType": "TAX012",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": "",
"AttentionTo": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": "",
"AttentionTo": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1580930547427+0000)\/",
"ContactGroups": [
{
"ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58",
"Name": "Benjamin's Customers",
"Status": "ACTIVE",
"Contacts": [],
"HasValidationErrors": false
}
],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-24T00:00:00",
"Date": "\/Date(1734998400000+0000)\/",
"DueDateString": "2025-01-23T00:00:00",
"DueDate": "\/Date(1737590400000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Dominos Pizza - 4 Line Flat Rate with $5 discount (3+ stores)",
"UnitAmount": 75.00,
"TaxType": "TAX012",
"TaxAmount": 3.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "28fa0902-6ef6-4803-81f6-e75df27b7c36",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration - (AUBURN MEADOWS DR SE UNIT 330 CALGARY, AB T3M2G5)",
"UnitAmount": 2.50,
"TaxType": "TAX012",
"TaxAmount": 0.13,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "5be558b5-91d1-448c-99ce-f527d31c1fd1",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID - Fax (14038790958)",
"UnitAmount": 5.00,
"TaxType": "TAX012",
"TaxAmount": 0.25,
"LineAmount": 5.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "e2900e42-27b3-4f8d-9f75-e10fc819b224",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -5.00,
"TaxType": "TAX012",
"TaxAmount": -0.75,
"LineAmount": -15.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 3.0000,
"DiscountRate": 0.00,
"LineItemID": "f8767986-c219-4ab5-9ad8-79a2464980c6",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 67.50,
"TotalTax": 3.38,
"Total": 70.88,
"UpdatedDateUTC": "\/Date(1736245429543+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:23:49] Production.INFO: -- Create Invoice id --2835bbde-7e45-4a92-84ce-69cb8448b5d7
[2025-01-07 05:23:49] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:23:49] Production.INFO: CheckInvoice xerov2: INV11231
[2025-01-07 05:23:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11231
[2025-01-07 05:23:52] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:23:52] Production.INFO: Invoice SubTotal 52.500000
[2025-01-07 05:23:52] Production.INFO: Invoice DetTotal 52.5
[2025-01-07 05:23:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010179%20%28Akshay%20Naik%29"
[2025-01-07 05:23:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:23:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:24:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 10:24:01] Production.INFO: ==5520== Lock acquired, processing the job...
[2025-01-07 10:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:24:01] Production.INFO: neon service started
[2025-01-07 10:24:01] Production.INFO: neon service started
[2025-01-07 10:24:01] Production.INFO: ==5520== Releasing lock...
[2025-01-07 10:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:24:01] Production.INFO: ==5522== Lock acquired, processing the job...
[2025-01-07 05:24:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:24:02] Production.INFO: ==5522== Releasing lock...
[2025-01-07 05:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:24:02] Production.INFO: ==5524== Lock acquired, processing the job...
[2025-01-07 10:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:24:02] Production.INFO: ==5524== Releasing lock...
[2025-01-07 10:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:24:03] Production.INFO: ==5527== Lock acquired, processing the job...
[2025-01-07 05:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:24:03] Production.INFO: ==5531== Lock acquired, processing the job...
[2025-01-07 05:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:24:03] Production.INFO: ==5529== Lock acquired, processing the job...
[2025-01-07 05:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:24:03] Production.INFO: ==5537== Lock acquired, processing the job...
[2025-01-07 05:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:24:03] Production.INFO: =========Invoices String here======{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 50.000000,LineAmount : 50.000000},{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (17808757725 - 4402 52 Ave 110 Lloydminster, AB T9V 0T9 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 05:24:03] Production.INFO: ==5535== Lock acquired, processing the job...
[2025-01-07 05:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:24:03] Production.INFO: ==5533== Lock acquired, processing the job...
[2025-01-07 05:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 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-07 05:24:03] Production.INFO: count ==21
[2025-01-07 05:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 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-07 05:24:03] Production.INFO: count ==21
[2025-01-07 05:24:03] Production.INFO: ==5529== Releasing lock...
[2025-01-07 05:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192736') start
[2025-01-07 05:24:03] Production.INFO: Account Balance Start.
[2025-01-07 05:24:03] Production.INFO: CreateAllLog Start
[2025-01-07 05:24:03] Production.INFO: 117
[2025-01-07 05:24:03] Production.INFO: Date 2024-12-08
[2025-01-07 05:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192736') end
[2025-01-07 05:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:24:03] Production.INFO: 1
[2025-01-07 05:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:24:03] Production.INFO: Date 2024-12-09
[2025-01-07 05:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:24:03] Production.INFO: Date 2024-12-10
[2025-01-07 05:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:24:03] Production.ERROR: done
[2025-01-07 05:24:03] Production.INFO: ==5537== Releasing lock...
[2025-01-07 05:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:24:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:24:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:24:03] Production.INFO: Date 2024-12-11
[2025-01-07 05:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:24:03] Production.INFO: Date 2024-12-12
[2025-01-07 05:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:24:03] Production.INFO: Date 2024-12-13
[2025-01-07 05:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:24:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:24:04] Production.ERROR: done
[2025-01-07 05:24:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:24:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:24:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:24:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:24:04] Production.INFO: Date 2024-12-19
[2025-01-07 05:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:24:04] Production.INFO: Date 2024-12-20
[2025-01-07 05:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:24:04] Production.INFO: Date 2024-12-21
[2025-01-07 05:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:24:04] Production.INFO: Date 2024-12-22
[2025-01-07 05:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:24:04] Production.INFO: Date 2024-12-23
[2025-01-07 05:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:24:04] Production.INFO: Date 2024-12-24
[2025-01-07 05:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:24:04] Production.INFO: Date 2024-12-25
[2025-01-07 05:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:24:04] Production.INFO: Date 2024-12-26
[2025-01-07 05:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:24:04] Production.INFO: Date 2024-12-27
[2025-01-07 05:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:24:04] Production.INFO: Date 2024-12-28
[2025-01-07 05:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:24:04] Production.INFO: Date 2024-12-29
[2025-01-07 05:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:24:04] Production.INFO: Date 2024-12-30
[2025-01-07 05:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:24:04] Production.INFO: Date 2024-12-31
[2025-01-07 05:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:24:04] Production.INFO: Date 2025-01-01
[2025-01-07 05:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:24:04] Production.INFO: Date 2025-01-02
[2025-01-07 05:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:24:04] Production.INFO: Date 2025-01-03
[2025-01-07 05:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:24:04] Production.INFO: Date 2025-01-04
[2025-01-07 05:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:24:04] Production.INFO: Date 2025-01-05
[2025-01-07 05:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:24:04] Production.INFO: Date 2025-01-06
[2025-01-07 05:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:24:04] Production.INFO: Date 2025-01-07
[2025-01-07 05:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:24:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:24:04
[end_date_ymd] => 2025-01-07 05:24:04
[RateCDR] => 1
)
[2025-01-07 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-07 02:24:04' and `end` < '2025-01-07 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-07 05:24:04] Production.INFO: Total Charge 0
[2025-01-07 05:24:04] Production.INFO: CreateAllLog End
[2025-01-07 05:24:05] Production.INFO: Account Balance End.
[2025-01-07 05:24:05] Production.ERROR: CronJobId end 12
[2025-01-07 05:24:05] Production.INFO: ==5533== Releasing lock...
[2025-01-07 05:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:24:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:24:05] Production.INFO: ==== result =====
[2025-01-07 05:24:05] Production.INFO: {
"Id": "acd39a90-fd51-4823-9e73-092b8d7d3b05",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736245445852)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "1ca3c548-7730-40cb-8acd-b4ffc7def5b1",
"InvoiceNumber": "INV11231",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 55.13,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "669bb033-93e4-4d2e-aa92-454e682a5c09",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10179 (Akshay Naik)",
"FirstName": "Akshay",
"LastName": "Naik",
"EmailAddress": "akshaynnaik@gmail.com",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1580834779557+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-16T00:00:00",
"Date": "\/Date(1734307200000+0000)\/",
"DueDateString": "2025-01-15T00:00:00",
"DueDate": "\/Date(1736899200000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 50.00,
"TaxType": "TAX012",
"TaxAmount": 2.50,
"LineAmount": 50.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "1dcd2dd8-975f-45ae-827f-5957ca8a4ffd",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (17808757725 - 4402 52 Ave 110 Lloydminster, AB T9V 0T9 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX012",
"TaxAmount": 0.13,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "ab66cb8a-2691-45d5-ad63-a6f49d7a5560",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 52.50,
"TotalTax": 2.63,
"Total": 55.13,
"UpdatedDateUTC": "\/Date(1736245445807+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:24:06] Production.INFO: -- Create Invoice id --1ca3c548-7730-40cb-8acd-b4ffc7def5b1
[2025-01-07 05:24:06] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:24:06] Production.INFO: CheckInvoice xerov2: INV10942
[2025-01-07 05:24:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10942
[2025-01-07 05:24:08] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:24:08] Production.INFO: Invoice SubTotal 52.500000
[2025-01-07 05:24:08] Production.INFO: Invoice DetTotal 52.5
[2025-01-07 05:24:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010189%20%28Akshay%20Naik%29"
[2025-01-07 05:24:10] Production.ERROR: CronJobId end10
[2025-01-07 05:24:10] Production.INFO: ==5531== Releasing lock...
[2025-01-07 05:24:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:24:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:24:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:24:13] Production.INFO: call_cost start
[2025-01-07 05:24:13] Production.INFO: call_cost end
[2025-01-07 05:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:24:14] Production.INFO: ==5527== Releasing lock...
[2025-01-07 05:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:24:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:24:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:24:19] Production.INFO: count ==70
[2025-01-07 05:24:19] Production.ERROR: pbx CDR StartTime 2025-01-07 02:24:04 - End Time 2025-01-07 05:24:04
[2025-01-07 05:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192738', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192738', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192738', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192738', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:24:19] Production.INFO: ProcessCDR(1,14192738,1,1,2)
[2025-01-07 05:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192738,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:24:19] Production.INFO: =========Invoices String here======{taxType:"TAX012",AccountCode : 203,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 50.000000,LineAmount : 50.000000},{taxType:"TAX012",AccountCode : 203,"Description": "e911 address registration (7808423366 - 1017 14 Ave Wainwright, AB T9W1K5)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 05:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192738,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192738,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:24:22] Production.INFO: ==== result =====
[2025-01-07 05:24:22] Production.INFO: {
"Id": "af9df82e-392c-4758-84b7-03de0d036a31",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736245462508)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "f26526ff-b008-46b7-8da7-e7623b45cd38",
"InvoiceNumber": "INV10942",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 55.13,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"IsDiscounted": false,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "4982fdbe-e8c3-4cfb-854b-994478db81a7",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10189 (Akshay Naik)",
"EmailAddress": "akshaynnaik@gmail.com",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"AddressLine1": "1017 14 Ave.",
"City": "Wainwright",
"Region": "AB",
"PostalCode": "T9W 1K5",
"Country": "Canada"
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1730662362960+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-10-23T00:00:00",
"Date": "\/Date(1729641600000+0000)\/",
"DueDateString": "2024-11-22T00:00:00",
"DueDate": "\/Date(1732233600000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 50.00,
"TaxType": "TAX012",
"TaxAmount": 2.50,
"LineAmount": 50.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "f6f9323e-0cb1-40b9-b90d-fb6a901e8d1c",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
},
{
"Description": "e911 address registration (7808423366 - 1017 14 Ave Wainwright, AB T9W1K5)",
"UnitAmount": 2.50,
"TaxType": "TAX012",
"TaxAmount": 0.13,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "da04b26a-57db-4fa0-a026-99d273e4abe9",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
}
],
"SubTotal": 52.50,
"TotalTax": 2.63,
"Total": 55.13,
"UpdatedDateUTC": "\/Date(1736245462447+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:24:22] Production.INFO: -- Create Invoice id --f26526ff-b008-46b7-8da7-e7623b45cd38
[2025-01-07 05:24:22] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:24:22] Production.INFO: CheckInvoice xerov2: INV11259
[2025-01-07 05:24:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11259
[2025-01-07 05:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192738,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192738', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192738', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:24:22] Production.INFO: ==5535== Releasing lock...
[2025-01-07 05:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:24:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 05:24:24] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:24:24] Production.INFO: Invoice SubTotal 52.500000
[2025-01-07 05:24:24] Production.INFO: Invoice DetTotal 52.5
[2025-01-07 05:24:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010189%20%28Akshay%20Naik%29"
[2025-01-07 05:24:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:24:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:24:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:24:36] Production.INFO: =========Invoices String here======{taxType:"TAX012",AccountCode : 203,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 50.000000,LineAmount : 50.000000},{taxType:"TAX012",AccountCode : 203,"Description": "e911 address registration (7808423366 - 1017 14 Ave Wainwright, AB T9W1K5)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 05:24:38] Production.INFO: ==== result =====
[2025-01-07 05:24:38] Production.INFO: {
"Id": "2bb1455e-26d1-4f29-ad78-48ede6456fd8",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736245478664)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "f8dd17c0-d59b-478a-8c94-c22c8929dc1b",
"InvoiceNumber": "INV11259",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 55.13,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"IsDiscounted": false,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "4982fdbe-e8c3-4cfb-854b-994478db81a7",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10189 (Akshay Naik)",
"EmailAddress": "akshaynnaik@gmail.com",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"AddressLine1": "1017 14 Ave.",
"City": "Wainwright",
"Region": "AB",
"PostalCode": "T9W 1K5",
"Country": "Canada"
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1730662362960+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-23T00:00:00",
"Date": "\/Date(1734912000000+0000)\/",
"DueDateString": "2025-01-22T00:00:00",
"DueDate": "\/Date(1737504000000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 50.00,
"TaxType": "TAX012",
"TaxAmount": 2.50,
"LineAmount": 50.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "abcfb5ed-922b-4ca4-af9b-26264a839f33",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
},
{
"Description": "e911 address registration (7808423366 - 1017 14 Ave Wainwright, AB T9W1K5)",
"UnitAmount": 2.50,
"TaxType": "TAX012",
"TaxAmount": 0.13,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "313dcdcf-8e64-4905-90bb-37f22f8259a2",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
}
],
"SubTotal": 52.50,
"TotalTax": 2.63,
"Total": 55.13,
"UpdatedDateUTC": "\/Date(1736245478617+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:24:38] Production.INFO: -- Create Invoice id --f8dd17c0-d59b-478a-8c94-c22c8929dc1b
[2025-01-07 05:24:38] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:24:38] Production.INFO: CheckInvoice xerov2: INV11159
[2025-01-07 05:24:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11159
[2025-01-07 05:24:40] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:24:40] Production.INFO: Invoice SubTotal 52.500000
[2025-01-07 05:24:40] Production.INFO: Invoice DetTotal 52.5
[2025-01-07 05:24:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010191%20%28Chandresh%20Patel%29"
[2025-01-07 05:24:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:24:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:24:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:24:50] Production.INFO: =========Invoices String here======{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX012",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 1,UnitAmount : -25.000000,LineAmount : -25.000000},{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (17809689999 - 3919 49 Ave, Unit 121, Stony Plain, AB T7Z2J7)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 05:24:53] Production.INFO: ==== result =====
[2025-01-07 05:24:53] Production.INFO: {
"Id": "ccc49a3f-1b9f-40ea-a6df-62ef7f4800cb",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736245493107)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "6e65dbdd-59ee-4ad8-9514-4b71c50bc61b",
"InvoiceNumber": "INV11159",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 55.13,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "a1f84b26-3d74-4603-893d-c86292f301ef",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10191 (Chandresh Patel)",
"FirstName": "Chandresh",
"LastName": "Patel",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1639845523350+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-06T00:00:00",
"Date": "\/Date(1733443200000+0000)\/",
"DueDateString": "2025-01-05T00:00:00",
"DueDate": "\/Date(1736035200000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX012",
"TaxAmount": 3.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "c7e238f3-a62f-45c7-a744-b84c532b2705",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -25.00,
"TaxType": "TAX012",
"TaxAmount": -1.25,
"LineAmount": -25.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "c258957a-590d-4743-8232-4ea7db1180c2",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (17809689999 - 3919 49 Ave, Unit 121, Stony Plain, AB T7Z2J7)",
"UnitAmount": 2.50,
"TaxType": "TAX012",
"TaxAmount": 0.13,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "8eb94513-eda2-4742-a25b-a209bec2a0ac",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 52.50,
"TotalTax": 2.63,
"Total": 55.13,
"UpdatedDateUTC": "\/Date(1736245493047+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:24:53] Production.INFO: -- Create Invoice id --6e65dbdd-59ee-4ad8-9514-4b71c50bc61b
[2025-01-07 05:24:53] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:24:53] Production.INFO: -- Xero End Inovice --
[2025-01-07 05:24:53] Production.INFO: ==5435== Releasing lock...
[2025-01-07 05:24:53] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10431 #Stops#
[2025-01-07 05:24:53] Production.INFO: 32.25 MB #Memory Used#
[2025-01-07 10:25:01] Production.INFO: ==5614== Lock acquired, processing the job...
[2025-01-07 10:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:25:01] Production.INFO: neon service started
[2025-01-07 10:25:01] Production.INFO: neon service started
[2025-01-07 10:25:01] Production.INFO: ==5614== Releasing lock...
[2025-01-07 10:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:25:02] Production.INFO: ==5616== Lock acquired, processing the job...
[2025-01-07 05:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:25:02] Production.INFO: ==5618== Lock acquired, processing the job...
[2025-01-07 10:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:25:02] Production.INFO: ==5618== Releasing lock...
[2025-01-07 10:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:25:02] Production.INFO: ==5616== Releasing lock...
[2025-01-07 05:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:25:03] Production.INFO: ==5621== Lock acquired, processing the job...
[2025-01-07 05:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:25:03] Production.INFO: ==5625== Lock acquired, processing the job...
[2025-01-07 05:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:25:03] Production.INFO: ==5627== Lock acquired, processing the job...
[2025-01-07 05:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:25:03] Production.INFO: Account Balance Start.
[2025-01-07 05:25:03] Production.INFO: CreateAllLog Start
[2025-01-07 05:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:25:03] Production.INFO: 117
[2025-01-07 05:25:03] Production.INFO: Date 2024-12-08
[2025-01-07 05:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:25:03] Production.INFO: Date 2024-12-09
[2025-01-07 05:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:25:03] Production.INFO: ==5623== Lock acquired, processing the job...
[2025-01-07 05:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:25:03] Production.INFO: Date 2024-12-10
[2025-01-07 05:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:25:03] Production.INFO: Date 2024-12-11
[2025-01-07 05:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:25:03] Production.INFO: Date 2024-12-12
[2025-01-07 05:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:25:03] Production.INFO: ==5629== Lock acquired, processing the job...
[2025-01-07 05:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:25:03] Production.INFO: Date 2024-12-13
[2025-01-07 05:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:25:03] Production.INFO: Date 2024-12-14
[2025-01-07 05:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:25:03] Production.INFO: ==5631== Lock acquired, processing the job...
[2025-01-07 05:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:25:03] Production.INFO: Date 2024-12-15
[2025-01-07 05:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:25:03] Production.INFO: Date 2024-12-16
[2025-01-07 05:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:25:04] Production.INFO: ==5623== Releasing lock...
[2025-01-07 05:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:25:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:25:04] Production.ERROR: done
[2025-01-07 05:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:25:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:25:04] Production.INFO: count ==21
[2025-01-07 05:25:04] Production.INFO: Date 2024-12-19
[2025-01-07 05:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:25:04] Production.INFO: count ==21
[2025-01-07 05:25:04] Production.ERROR: done
[2025-01-07 05:25:04] Production.INFO: Date 2024-12-20
[2025-01-07 05:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192742') start
[2025-01-07 05:25:04] Production.INFO: Date 2024-12-21
[2025-01-07 05:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192742') end
[2025-01-07 05:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:25:04] Production.INFO: 1
[2025-01-07 05:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:25:04] Production.INFO: Date 2024-12-22
[2025-01-07 05:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:25:04] Production.INFO: ==5631== Releasing lock...
[2025-01-07 05:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:25:04] Production.INFO: Date 2024-12-23
[2025-01-07 05:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:25:04] Production.INFO: Date 2024-12-24
[2025-01-07 05:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:25:04] Production.INFO: Date 2024-12-25
[2025-01-07 05:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:25:04] Production.INFO: Date 2024-12-26
[2025-01-07 05:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:25:04] Production.INFO: Date 2024-12-27
[2025-01-07 05:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:25:04] Production.INFO: Date 2024-12-28
[2025-01-07 05:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:25:04] Production.INFO: Date 2024-12-29
[2025-01-07 05:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:25:04] Production.INFO: Date 2024-12-30
[2025-01-07 05:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:25:04] Production.INFO: Date 2024-12-31
[2025-01-07 05:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:25:04] Production.INFO: Date 2025-01-01
[2025-01-07 05:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:25:04] Production.INFO: Date 2025-01-02
[2025-01-07 05:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:25:04] Production.INFO: Date 2025-01-03
[2025-01-07 05:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:25:04] Production.INFO: Date 2025-01-04
[2025-01-07 05:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:25:05] Production.INFO: Date 2025-01-05
[2025-01-07 05:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:25:05] Production.INFO: Date 2025-01-06
[2025-01-07 05:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:25:05] Production.INFO: Date 2025-01-07
[2025-01-07 05:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:25:05] Production.INFO: Total Charge 0
[2025-01-07 05:25:05] Production.INFO: CreateAllLog End
[2025-01-07 05:25:05] Production.INFO: Account Balance End.
[2025-01-07 05:25:05] Production.ERROR: CronJobId end 12
[2025-01-07 05:25:05] Production.INFO: ==5627== Releasing lock...
[2025-01-07 05:25:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:25:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:25:05
[end_date_ymd] => 2025-01-07 05:25:05
[RateCDR] => 1
)
[2025-01-07 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-07 02:25:05' and `end` < '2025-01-07 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-07 05:25:11] Production.ERROR: CronJobId end10
[2025-01-07 05:25:11] Production.INFO: ==5625== Releasing lock...
[2025-01-07 05:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:25:13] Production.INFO: call_cost start
[2025-01-07 05:25:13] Production.INFO: call_cost end
[2025-01-07 05:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:25:14] Production.INFO: ==5621== Releasing lock...
[2025-01-07 05:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:25:19] Production.INFO: count ==70
[2025-01-07 05:25:19] Production.ERROR: pbx CDR StartTime 2025-01-07 02:25:05 - End Time 2025-01-07 05:25:05
[2025-01-07 05:25:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192743', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192743', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192743', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192743', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:25:19] Production.INFO: ProcessCDR(1,14192743,1,1,2)
[2025-01-07 05:25:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192743,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:25:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192743,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:25:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192743,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192743,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192743', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192743', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:25:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:25:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:25:22] Production.INFO: ==5629== Releasing lock...
[2025-01-07 05:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:25:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 10:26:02] Production.INFO: ==5690== Lock acquired, processing the job...
[2025-01-07 10:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:26:02] Production.INFO: neon service started
[2025-01-07 10:26:02] Production.INFO: neon service started
[2025-01-07 10:26:02] Production.INFO: ==5690== Releasing lock...
[2025-01-07 10:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:26:02] Production.INFO: ==5692== Lock acquired, processing the job...
[2025-01-07 05:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:26:02] Production.INFO: ==5692== Releasing lock...
[2025-01-07 05:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:26:03] Production.INFO: ==5694== Lock acquired, processing the job...
[2025-01-07 10:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:26:03] Production.INFO: ==5694== Releasing lock...
[2025-01-07 10:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:26:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:26:03] Production.INFO: ==5700== Lock acquired, processing the job...
[2025-01-07 05:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:26:04] Production.INFO: ==5696== Lock acquired, processing the job...
[2025-01-07 05:26:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:26:04] Production.INFO: ==5698== Lock acquired, processing the job...
[2025-01-07 05:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:26:04] Production.INFO: ==5702== Lock acquired, processing the job...
[2025-01-07 05:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:26:04] Production.INFO: ==5704== Lock acquired, processing the job...
[2025-01-07 05:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:26:04] Production.INFO: Account Balance Start.
[2025-01-07 05:26:04] Production.INFO: CreateAllLog Start
[2025-01-07 05:26:04] Production.INFO: 117
[2025-01-07 05:26:04] Production.INFO: Date 2024-12-08
[2025-01-07 05:26:04] Production.INFO: ==5706== Lock acquired, processing the job...
[2025-01-07 05:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:26:04] Production.INFO: Date 2024-12-09
[2025-01-07 05:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:26:04] Production.INFO: Date 2024-12-10
[2025-01-07 05:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:26:04] Production.INFO: Date 2024-12-11
[2025-01-07 05:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:26:04] Production.INFO: count ==21
[2025-01-07 05:26:04] Production.ERROR: done
[2025-01-07 05:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:26:04] Production.INFO: Date 2024-12-12
[2025-01-07 05:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:26:04] Production.INFO: ==5698== Releasing lock...
[2025-01-07 05:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:26:04] Production.INFO: Date 2024-12-13
[2025-01-07 05:26:04] Production.INFO: count ==21
[2025-01-07 05:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192747') start
[2025-01-07 05:26:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:26:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192747') end
[2025-01-07 05:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:26:04] Production.INFO: 1
[2025-01-07 05:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:26:04] Production.ERROR: done
[2025-01-07 05:26:04] Production.INFO: ==5706== Releasing lock...
[2025-01-07 05:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:26:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:26:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:26:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:26:04] Production.INFO: Date 2024-12-19
[2025-01-07 05:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:26:05] Production.INFO: Date 2024-12-20
[2025-01-07 05:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:26:05] Production.INFO: Date 2024-12-21
[2025-01-07 05:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:26:05] Production.INFO: Date 2024-12-22
[2025-01-07 05:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:26:05] Production.INFO: Date 2024-12-23
[2025-01-07 05:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:26:05] Production.INFO: Date 2024-12-24
[2025-01-07 05:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:26:05] Production.INFO: Date 2024-12-25
[2025-01-07 05:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:26:05] Production.INFO: Date 2024-12-26
[2025-01-07 05:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:26:05] Production.INFO: Date 2024-12-27
[2025-01-07 05:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:26:05] Production.INFO: Date 2024-12-28
[2025-01-07 05:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:26:05] Production.INFO: Date 2024-12-29
[2025-01-07 05:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:26:05] Production.INFO: Date 2024-12-30
[2025-01-07 05:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:26:05] Production.INFO: Date 2024-12-31
[2025-01-07 05:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:26:05] Production.INFO: Date 2025-01-01
[2025-01-07 05:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:26:05] Production.INFO: Date 2025-01-02
[2025-01-07 05:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:26:05] Production.INFO: Date 2025-01-03
[2025-01-07 05:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:26:05] Production.INFO: Date 2025-01-04
[2025-01-07 05:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:26:05] Production.INFO: Date 2025-01-05
[2025-01-07 05:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:26:05] Production.INFO: Date 2025-01-06
[2025-01-07 05:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:26:05] Production.INFO: Date 2025-01-07
[2025-01-07 05:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:26:05] Production.INFO: Total Charge 0
[2025-01-07 05:26:05] Production.INFO: CreateAllLog End
[2025-01-07 05:26:05] Production.INFO: Account Balance End.
[2025-01-07 05:26:05] Production.ERROR: CronJobId end 12
[2025-01-07 05:26:05] Production.INFO: ==5702== Releasing lock...
[2025-01-07 05:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:26:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:26:05
[end_date_ymd] => 2025-01-07 05:26:05
[RateCDR] => 1
)
[2025-01-07 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-07 02:26:05' and `end` < '2025-01-07 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-07 05:26:12] Production.ERROR: CronJobId end10
[2025-01-07 05:26:12] Production.INFO: ==5700== Releasing lock...
[2025-01-07 05:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:26:13] Production.INFO: call_cost start
[2025-01-07 05:26:13] Production.INFO: call_cost end
[2025-01-07 05:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:26:14] Production.INFO: ==5696== Releasing lock...
[2025-01-07 05:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:26:18] Production.INFO: count ==70
[2025-01-07 05:26:18] Production.ERROR: pbx CDR StartTime 2025-01-07 02:26:05 - End Time 2025-01-07 05:26:05
[2025-01-07 05:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192748', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192748', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192748', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192748', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:26:18] Production.INFO: ProcessCDR(1,14192748,1,1,2)
[2025-01-07 05:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192748,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192748,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192748,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192748,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192748', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192748', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:26:21] Production.INFO: ==5704== Releasing lock...
[2025-01-07 05:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:26:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 10:27:01] Production.INFO: ==5765== Lock acquired, processing the job...
[2025-01-07 10:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:27:01] Production.INFO: neon service started
[2025-01-07 10:27:01] Production.INFO: neon service started
[2025-01-07 10:27:01] Production.INFO: ==5765== Releasing lock...
[2025-01-07 10:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:27:02] Production.INFO: ==5767== Lock acquired, processing the job...
[2025-01-07 05:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:27:02] Production.INFO: ==5769== Lock acquired, processing the job...
[2025-01-07 10:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:27:02] Production.INFO: ==5769== Releasing lock...
[2025-01-07 10:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:27:02] Production.INFO: ==5767== Releasing lock...
[2025-01-07 05:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:27:02] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:27:03] Production.INFO: ==5772== Lock acquired, processing the job...
[2025-01-07 05:27:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10432 #Starts#
[2025-01-07 05:27:03] Production.INFO: ==5774== Lock acquired, processing the job...
[2025-01-07 05:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:27:03] Production.INFO: -- Xero Api Check --
[2025-01-07 05:27:03] Production.INFO: ==5778== Lock acquired, processing the job...
[2025-01-07 05:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:27:03] Production.INFO: ==5776== Lock acquired, processing the job...
[2025-01-07 05:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:27:03] Production.INFO: ==5780== Lock acquired, processing the job...
[2025-01-07 05:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:27:03] Production.INFO: ==5782== Lock acquired, processing the job...
[2025-01-07 05:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:27:03] Production.INFO: ==5784== Lock acquired, processing the job...
[2025-01-07 05:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:27:03] Production.INFO: Account Balance Start.
[2025-01-07 05:27:03] Production.INFO: CreateAllLog Start
[2025-01-07 05:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:27:03] Production.INFO: 117
[2025-01-07 05:27:03] Production.INFO: Date 2024-12-08
[2025-01-07 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-07 05:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:27:03] Production.INFO: Date 2024-12-09
[2025-01-07 05:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:27:03] Production.INFO: count ==21
[2025-01-07 05:27:03] Production.INFO: Date 2024-12-10
[2025-01-07 05:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 05:27:03] Production.INFO: count ==21
[2025-01-07 05:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192752') start
[2025-01-07 05:27:03] Production.INFO: ==5776== Releasing lock...
[2025-01-07 05:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:27:03] Production.INFO: Date 2024-12-11
[2025-01-07 05:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:27:04] Production.INFO: Date 2024-12-12
[2025-01-07 05:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:27:04] Production.INFO: Date 2024-12-13
[2025-01-07 05:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:27:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:27:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192752') end
[2025-01-07 05:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:27:04] Production.INFO: 1
[2025-01-07 05:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:27:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:27:04] Production.INFO: ==5784== Releasing lock...
[2025-01-07 05:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:27:04] Production.ERROR: done
[2025-01-07 05:27:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:27:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:27:04] Production.INFO: Date 2024-12-19
[2025-01-07 05:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:27:04] Production.INFO: Date 2024-12-20
[2025-01-07 05:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:27:04] Production.INFO: Date 2024-12-21
[2025-01-07 05:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:27:04] Production.INFO: Date 2024-12-22
[2025-01-07 05:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:27:04] Production.INFO: Date 2024-12-23
[2025-01-07 05:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:27:04] Production.ERROR: done
[2025-01-07 05:27:04] Production.INFO: Date 2024-12-24
[2025-01-07 05:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:27:04] Production.INFO: Date 2024-12-25
[2025-01-07 05:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:27:04] Production.INFO: Date 2024-12-26
[2025-01-07 05:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:27:04] Production.INFO: Date 2024-12-27
[2025-01-07 05:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:27:04] Production.INFO: Date 2024-12-28
[2025-01-07 05:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:27:04] Production.INFO: Date 2024-12-29
[2025-01-07 05:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:27:04] Production.INFO: Date 2024-12-30
[2025-01-07 05:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:27:04] Production.INFO: Date 2024-12-31
[2025-01-07 05:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:27:04] Production.INFO: Date 2025-01-01
[2025-01-07 05:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:27:04] Production.INFO: Date 2025-01-02
[2025-01-07 05:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:27:04] Production.INFO: Date 2025-01-03
[2025-01-07 05:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:27:04] Production.INFO: Date 2025-01-04
[2025-01-07 05:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:27:04] Production.INFO: Date 2025-01-05
[2025-01-07 05:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:27: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] => 1.27282
[namelookup_time] => 0.534923
[connect_time] => 0.629963
[pretransfer_time] => 1.025061
[size_upload] => 82
[size_download] => 2755
[speed_download] => 2164
[speed_upload] => 64
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 1.27275
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 2.22.251.42
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 35118
)
[2025-01-07 05:27:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDU2MjQsImV4cCI6MTczNjI0NTkyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ1NjI0LCJhdF9oYXNoIjoiWWo3XzRKMEdzS0s2T2lsVWU4VWZfZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.Zw6zGDe3BZqQaxzPFGSeMoJp8XqJNgHYqym-OoK939QnF_beH5OOBwUbw2WSf53qDW2JQ7VJn7T0cx7f7gox_9Xb-I0zd9mWSglUfg9NlhuiLT_92fxDK8l-2mjzw61U_gF4kIeoC3ClyMcjyjFYsA5dohzLI71MWZVelo3dR07iJ-W1xQg_J0KUFskDA5UCpOeO8YSTfm6s9edhu8BMY6fuPjp9oIbuuCb0B3V8orshIo6HkDL-GseoMPVlxT-xaJfqQAA4UUKvtAnTvsWPc7uxggPdFOWH6V8qnxfpCBNBn90rJl6qaZGD77y-ztqL_0r0D30h7BrOwX1MWN82gg
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDU2MjQsImV4cCI6MTczNjI0NzQyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.iVqt1WJIEXVfO-5e_qy4LEWNXURzBNnJxJPHVRHBJKd-pA8Rsf3vIEeChmJnUTH5OfK-UTUPwpgOFvZ0Xd1ElB_NacT7iMmKy7o8SwLmTzLTa3KNDY9am4tM6xhVox2t2XXEk6I6b56d-kNaJ84PpzZGdUnooxi3oMIqaOUqNCEPtOzwWdPvVEndyhsPHCam2UUyGfk92c0cVT-ZBlbrWsRAFqTBFIZxPmCtDjUet-dsoe5FlCEuPHhfMVBO-l601qWcvqhGSZ02Rcv-gSnTh_ElBxeWYi3nNfoa1bGnJSCmDdKIcjaFBrWftdRCO6jSUXsJAt_ORrSC_2h-A67S4w
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => T8v0oV3EqYMc-Tm10RBBy0FEDrT6oawScZwYhMl3dH4
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 05:27:04] Production.INFO: Date 2025-01-06
[2025-01-07 05:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:27:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDU2MjQsImV4cCI6MTczNjI0NTkyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ1NjI0LCJhdF9oYXNoIjoiWWo3XzRKMEdzS0s2T2lsVWU4VWZfZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.Zw6zGDe3BZqQaxzPFGSeMoJp8XqJNgHYqym-OoK939QnF_beH5OOBwUbw2WSf53qDW2JQ7VJn7T0cx7f7gox_9Xb-I0zd9mWSglUfg9NlhuiLT_92fxDK8l-2mjzw61U_gF4kIeoC3ClyMcjyjFYsA5dohzLI71MWZVelo3dR07iJ-W1xQg_J0KUFskDA5UCpOeO8YSTfm6s9edhu8BMY6fuPjp9oIbuuCb0B3V8orshIo6HkDL-GseoMPVlxT-xaJfqQAA4UUKvtAnTvsWPc7uxggPdFOWH6V8qnxfpCBNBn90rJl6qaZGD77y-ztqL_0r0D30h7BrOwX1MWN82gg
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDU2MjQsImV4cCI6MTczNjI0NzQyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.iVqt1WJIEXVfO-5e_qy4LEWNXURzBNnJxJPHVRHBJKd-pA8Rsf3vIEeChmJnUTH5OfK-UTUPwpgOFvZ0Xd1ElB_NacT7iMmKy7o8SwLmTzLTa3KNDY9am4tM6xhVox2t2XXEk6I6b56d-kNaJ84PpzZGdUnooxi3oMIqaOUqNCEPtOzwWdPvVEndyhsPHCam2UUyGfk92c0cVT-ZBlbrWsRAFqTBFIZxPmCtDjUet-dsoe5FlCEuPHhfMVBO-l601qWcvqhGSZ02Rcv-gSnTh_ElBxeWYi3nNfoa1bGnJSCmDdKIcjaFBrWftdRCO6jSUXsJAt_ORrSC_2h-A67S4w
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => T8v0oV3EqYMc-Tm10RBBy0FEDrT6oawScZwYhMl3dH4
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 05:27:04] Production.INFO: Date 2025-01-07
[2025-01-07 05:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:27:04] Production.INFO: AccountID 70
[2025-01-07 05:27:04] Production.INFO: AccountName Dominos 10293 (David Mills)
[2025-01-07 05:27:04] Production.INFO: Checkcustomer
[2025-01-07 05:27:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010293%20%28David%20Mills%29"
[2025-01-07 05:27:04] Production.INFO: Total Charge 0
[2025-01-07 05:27:04] Production.INFO: CreateAllLog End
[2025-01-07 05:27:05] Production.INFO: Account Balance End.
[2025-01-07 05:27:05] Production.ERROR: CronJobId end 12
[2025-01-07 05:27:05] Production.INFO: ==5780== Releasing lock...
[2025-01-07 05:27:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:27:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:27:05
[end_date_ymd] => 2025-01-07 05:27:05
[RateCDR] => 1
)
[2025-01-07 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-07 02:27:05' and `end` < '2025-01-07 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-07 05:27:07] Production.INFO: Contact id print CheckCustomer Case===dd25779b-67aa-4626-b1f4-381418d46919
[2025-01-07 05:27:07] Production.INFO: -- count --1
[2025-01-07 05:27:07] Production.INFO: AccountID 54
[2025-01-07 05:27:07] Production.INFO: AccountName Dominos 10296 (Gurinder Saini)
[2025-01-07 05:27:07] Production.INFO: Checkcustomer
[2025-01-07 05:27:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010296%20%28Gurinder%20Saini%29"
[2025-01-07 05:27:10] Production.INFO: Contact id print CheckCustomer Case===6c1941a7-23be-4018-9a2e-523e55d27a57
[2025-01-07 05:27:10] Production.INFO: -- count --1
[2025-01-07 05:27:10] Production.INFO: AccountID 127
[2025-01-07 05:27:10] Production.INFO: AccountName Dominos 10297 (Shane Linthorne)
[2025-01-07 05:27:10] Production.INFO: Checkcustomer
[2025-01-07 05:27:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010297%20%28Shane%20Linthorne%29"
[2025-01-07 05:27:12] Production.ERROR: CronJobId end10
[2025-01-07 05:27:12] Production.INFO: ==5778== Releasing lock...
[2025-01-07 05:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:27:13] Production.INFO: Contact id print CheckCustomer Case===d8f292bb-743b-4f94-916e-1de8803fa73f
[2025-01-07 05:27:13] Production.INFO: -- count --1
[2025-01-07 05:27:13] Production.INFO: AccountID 127
[2025-01-07 05:27:13] Production.INFO: AccountName Dominos 10297 (Shane Linthorne)
[2025-01-07 05:27:13] Production.INFO: Checkcustomer
[2025-01-07 05:27:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010297%20%28Shane%20Linthorne%29"
[2025-01-07 05:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:27:14] Production.INFO: call_cost start
[2025-01-07 05:27:14] Production.INFO: call_cost end
[2025-01-07 05:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:27:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:27:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:27:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:27:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:27:15] Production.INFO: ==5774== Releasing lock...
[2025-01-07 05:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:27:15] Production.INFO: Contact id print CheckCustomer Case===d8f292bb-743b-4f94-916e-1de8803fa73f
[2025-01-07 05:27:15] Production.INFO: -- count --1
[2025-01-07 05:27:15] Production.INFO: AccountID 32
[2025-01-07 05:27:15] Production.INFO: AccountName Dominos 10353 (Ronny Khan)
[2025-01-07 05:27:15] Production.INFO: Checkcustomer
[2025-01-07 05:27:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010353%20%28Ronny%20Khan%29"
[2025-01-07 05:27:18] Production.INFO: Contact id print CheckCustomer Case===a80d32c8-bbaa-43c9-b4d0-a7fff9d3ef21
[2025-01-07 05:27:18] Production.INFO: -- count --1
[2025-01-07 05:27:18] Production.INFO: AccountID 101
[2025-01-07 05:27:18] Production.INFO: AccountName Dominos 10364 (Shane Linthorne)
[2025-01-07 05:27:18] Production.INFO: Checkcustomer
[2025-01-07 05:27:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010364%20%28Shane%20Linthorne%29"
[2025-01-07 05:27:19] Production.INFO: count ==70
[2025-01-07 05:27:19] Production.ERROR: pbx CDR StartTime 2025-01-07 02:27:05 - End Time 2025-01-07 05:27:05
[2025-01-07 05:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192753', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192753', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192753', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192753', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:27:19] Production.INFO: ProcessCDR(1,14192753,1,1,2)
[2025-01-07 05:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192753,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:27:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192753,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:27:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192753,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:27:20] Production.INFO: Contact id print CheckCustomer Case===12ca1405-c90f-4ad7-83b0-d937a569ffd9
[2025-01-07 05:27:20] Production.INFO: -- count --1
[2025-01-07 05:27:20] Production.INFO: -- Xero Add Inovice --
[2025-01-07 05:27:20] Production.INFO: CheckInvoice xerov2: INV11199
[2025-01-07 05:27:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11199
[2025-01-07 05:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192753,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192753', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192753', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:27:22] Production.INFO: ==5782== Releasing lock...
[2025-01-07 05:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:27:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 05:27:23] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:27:23] Production.INFO: Invoice SubTotal 57.500000
[2025-01-07 05:27:23] Production.INFO: Invoice DetTotal 57.5
[2025-01-07 05:27:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010293%20%28David%20Mills%29"
[2025-01-07 05:27:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:27:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:27:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:27:33] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (19054589858 - 1650 WILLIAMS PKWY BRAMPTON, ON L6S5R7)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service",Quantity : 4,UnitAmount : -5.000000,LineAmount : -20.000000}
[2025-01-07 05:27:35] Production.INFO: ==== result =====
[2025-01-07 05:27:35] Production.INFO: {
"Id": "c77e0831-bf70-42b0-a127-843ada470fc9",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736245655637)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "71cebf19-e72a-4b19-bd8f-41d6dc1cdc96",
"InvoiceNumber": "INV11199",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 64.98,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "dd25779b-67aa-4626-b1f4-381418d46919",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10293 (David Mills)",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1562267972817+0000)\/",
"ContactGroups": [
{
"ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58",
"Name": "Benjamin's Customers",
"Status": "ACTIVE",
"Contacts": [],
"HasValidationErrors": false
}
],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-12T00:00:00",
"Date": "\/Date(1733961600000+0000)\/",
"DueDateString": "2025-01-11T00:00:00",
"DueDate": "\/Date(1736553600000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "0c7cf3c4-c1f1-46c6-8e8e-a3a06358604b",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (19054589858 - 1650 WILLIAMS PKWY BRAMPTON, ON L6S5R7)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "31bfee3c-8224-4436-9370-a02a18948150",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -5.00,
"TaxType": "TAX020",
"TaxAmount": -2.60,
"LineAmount": -20.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 4.0000,
"DiscountRate": 0.00,
"LineItemID": "526315d1-b12e-4443-a573-99136be6dbb4",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 57.50,
"TotalTax": 7.48,
"Total": 64.98,
"UpdatedDateUTC": "\/Date(1736245655577+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:27:35] Production.INFO: -- Create Invoice id --71cebf19-e72a-4b19-bd8f-41d6dc1cdc96
[2025-01-07 05:27:35] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:27:35] Production.INFO: CheckInvoice xerov2: INV11203
[2025-01-07 05:27:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11203
[2025-01-07 05:27:37] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:27:38] Production.INFO: Invoice SubTotal 333.800000
[2025-01-07 05:27:38] Production.INFO: Invoice DetTotal 333.8
[2025-01-07 05:27:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010296%20%28Gurinder%20Saini%29"
[2025-01-07 05:27:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:27:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:27:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:27:50] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Dominos Pizza - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (15197633030 - 204 SILVERCREEK PKWY N UNIT 1 GUELPH, ON N1H7P7)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "Line of Sight Wireless Internet Access - 50mbps/10mbps",Quantity : 1,UnitAmount : 266.300000,LineAmount : 266.300000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 2,UnitAmount : -5.000000,LineAmount : -10.000000}
[2025-01-07 05:27:52] Production.INFO: ==== result =====
[2025-01-07 05:27:52] Production.INFO: {
"Id": "395ad947-f57d-4244-a70f-7025281b4652",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736245672763)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "f837e434-c6dd-4c59-a176-aaefe141de84",
"InvoiceNumber": "INV11203",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 377.20,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "6c1941a7-23be-4018-9a2e-523e55d27a57",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10296 (Gurinder Saini)",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1562267972817+0000)\/",
"ContactGroups": [
{
"ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58",
"Name": "Benjamin's Customers",
"Status": "ACTIVE",
"Contacts": [],
"HasValidationErrors": false
}
],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-13T00:00:00",
"Date": "\/Date(1734048000000+0000)\/",
"DueDateString": "2025-01-12T00:00:00",
"DueDate": "\/Date(1736640000000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Dominos Pizza - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "d2b4c3f4-ca97-40c7-998c-e2bbf790f667",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (15197633030 - 204 SILVERCREEK PKWY N UNIT 1 GUELPH, ON N1H7P7)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "ebb099f2-4465-40d2-8bd0-d0817af6ecbd",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Line of Sight Wireless Internet Access - 50mbps/10mbps",
"UnitAmount": 266.30,
"TaxType": "TAX020",
"TaxAmount": 34.62,
"LineAmount": 266.30,
"AccountCode": "204",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "60f1076e-dd8e-456d-a8a6-b47500e72dcd",
"AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -5.00,
"TaxType": "TAX020",
"TaxAmount": -1.30,
"LineAmount": -10.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 2.0000,
"DiscountRate": 0.00,
"LineItemID": "bbfdf53b-c6e0-4ac1-aa38-7d980515ad9e",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 333.80,
"TotalTax": 43.40,
"Total": 377.20,
"UpdatedDateUTC": "\/Date(1736245672713+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:27:52] Production.INFO: -- Create Invoice id --f837e434-c6dd-4c59-a176-aaefe141de84
[2025-01-07 05:27:52] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:27:52] Production.INFO: CheckInvoice xerov2: INV11131
[2025-01-07 05:27:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11131
[2025-01-07 05:27:54] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:27:54] Production.INFO: Invoice SubTotal 292.590000
[2025-01-07 05:27:54] Production.INFO: Invoice DetTotal 292.59
[2025-01-07 05:27:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010297%20%28Shane%20Linthorne%29"
[2025-01-07 05:27:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:28:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 10:28:02] Production.INFO: ==5861== Lock acquired, processing the job...
[2025-01-07 10:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:28:02] Production.INFO: neon service started
[2025-01-07 10:28:02] Production.INFO: neon service started
[2025-01-07 10:28:02] Production.INFO: ==5861== Releasing lock...
[2025-01-07 10:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:28:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:28:02] Production.INFO: ==5864== Lock acquired, processing the job...
[2025-01-07 05:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:28:03] Production.INFO: ==5864== Releasing lock...
[2025-01-07 05:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:28:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:28:03] Production.INFO: ==5866== Lock acquired, processing the job...
[2025-01-07 10:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:28:03] Production.INFO: ==5866== Releasing lock...
[2025-01-07 10:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:28:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:28:03] Production.INFO: ==5878== Lock acquired, processing the job...
[2025-01-07 05:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:28:03] Production.INFO: ==5876== Lock acquired, processing the job...
[2025-01-07 05:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:28:04] Production.INFO: count ==21
[2025-01-07 05:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:28:04] Production.INFO: count ==21
[2025-01-07 05:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192754') start
[2025-01-07 05:28:04] Production.INFO: ==5868== Lock acquired, processing the job...
[2025-01-07 05:28:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:28:04] Production.INFO: ==5870== Lock acquired, processing the job...
[2025-01-07 05:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:28:04] Production.INFO: ==5872== Lock acquired, processing the job...
[2025-01-07 05:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:28:04] Production.INFO: ==5874== Lock acquired, processing the job...
[2025-01-07 05:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192754') end
[2025-01-07 05:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:28:04] Production.INFO: 1
[2025-01-07 05:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:28:04] Production.INFO: ==5878== Releasing lock...
[2025-01-07 05:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:28:04] Production.ERROR: done
[2025-01-07 05:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:28:04] Production.INFO: Account Balance Start.
[2025-01-07 05:28:04] Production.INFO: CreateAllLog Start
[2025-01-07 05:28:04] Production.INFO: 117
[2025-01-07 05:28:04] Production.INFO: Date 2024-12-08
[2025-01-07 05:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:28:04] Production.INFO: Date 2024-12-09
[2025-01-07 05:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:28:04] Production.INFO: Date 2024-12-10
[2025-01-07 05:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:28:04] Production.ERROR: done
[2025-01-07 05:28:04] Production.INFO: Date 2024-12-11
[2025-01-07 05:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:28:04] Production.INFO: Date 2024-12-12
[2025-01-07 05:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:28:04] Production.INFO: Date 2024-12-13
[2025-01-07 05:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:28:04] Production.INFO: ==5870== Releasing lock...
[2025-01-07 05:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:28:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:28:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:28:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:28:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:28:04] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (15198539000 - 352 Queen Street Acton, ON L7J1R2 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service",Quantity : 2,UnitAmount : -5.000000,LineAmount : -10.000000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "Cable Internet Service - 120x15 (315 Queen Street, Unit #3, Acton, ON, L7J 1R1)",Quantity : 1,UnitAmount : 160.480000,LineAmount : 160.480000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "LTE Internet Failover Service (315 Queen Street, Unit #3, Acton, ON, L7J 1R1)",Quantity : 1,UnitAmount : 64.610000,LineAmount : 64.610000}
[2025-01-07 05:28:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:28:04] Production.INFO: Date 2024-12-19
[2025-01-07 05:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:28:04] Production.INFO: Date 2024-12-20
[2025-01-07 05:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:28:05] Production.INFO: Date 2024-12-21
[2025-01-07 05:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:28:05] Production.INFO: Date 2024-12-22
[2025-01-07 05:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:28:05] Production.INFO: Date 2024-12-23
[2025-01-07 05:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:28:05] Production.INFO: Date 2024-12-24
[2025-01-07 05:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:28:05] Production.INFO: Date 2024-12-25
[2025-01-07 05:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:28:05] Production.INFO: Date 2024-12-26
[2025-01-07 05:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:28:05] Production.INFO: Date 2024-12-27
[2025-01-07 05:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:28:05] Production.INFO: Date 2024-12-28
[2025-01-07 05:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:28:05] Production.INFO: Date 2024-12-29
[2025-01-07 05:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:28:05] Production.INFO: Date 2024-12-30
[2025-01-07 05:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:28:05] Production.INFO: Date 2024-12-31
[2025-01-07 05:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:28:05] Production.INFO: Date 2025-01-01
[2025-01-07 05:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:28:05] Production.INFO: Date 2025-01-02
[2025-01-07 05:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:28:05] Production.INFO: Date 2025-01-03
[2025-01-07 05:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:28:05] Production.INFO: Date 2025-01-04
[2025-01-07 05:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:28:05] Production.INFO: Date 2025-01-05
[2025-01-07 05:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:28:05] Production.INFO: Date 2025-01-06
[2025-01-07 05:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:28:05] Production.INFO: Date 2025-01-07
[2025-01-07 05:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:28:05] Production.INFO: Total Charge 0
[2025-01-07 05:28:05] Production.INFO: CreateAllLog End
[2025-01-07 05:28:05] Production.INFO: Account Balance End.
[2025-01-07 05:28:05] Production.ERROR: CronJobId end 12
[2025-01-07 05:28:05] Production.INFO: ==5874== Releasing lock...
[2025-01-07 05:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:28:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:28:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:28:06
[end_date_ymd] => 2025-01-07 05:28:06
[RateCDR] => 1
)
[2025-01-07 05:28:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 02:28:06' and `end` < '2025-01-07 05:28:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 05:28:07] Production.INFO: ==== result =====
[2025-01-07 05:28:07] Production.INFO: {
"Id": "6366e7ab-8c6a-4bc5-8d6b-eb5b6dd7d2e2",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736245687435)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "d61419cd-c2f2-442d-a7ff-36cfcd71552a",
"InvoiceNumber": "INV11131",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 330.63,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "d8f292bb-743b-4f94-916e-1de8803fa73f",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10297 (Shane Linthorne)",
"FirstName": "Shane",
"LastName": "Linthorne",
"EmailAddress": "poundinpizzainc@gmail.com",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1582260450560+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-01T00:00:00",
"Date": "\/Date(1733011200000+0000)\/",
"DueDateString": "2024-12-31T00:00:00",
"DueDate": "\/Date(1735603200000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "0d4255b8-a1e4-4eb0-aefa-46303969cc27",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (15198539000 - 352 Queen Street Acton, ON L7J1R2 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "b557deca-ba78-42e5-9244-80733c321a31",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -5.00,
"TaxType": "TAX020",
"TaxAmount": -1.30,
"LineAmount": -10.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 2.0000,
"DiscountRate": 0.00,
"LineItemID": "42f1884f-ce05-4ab5-9a44-a3392e888ee9",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Cable Internet Service - 120x15 (315 Queen Street, Unit #3, Acton, ON, L7J 1R1)",
"UnitAmount": 160.48,
"TaxType": "TAX020",
"TaxAmount": 20.86,
"LineAmount": 160.48,
"AccountCode": "204",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "2cb1a280-759f-4a66-a5d4-07783afefd8f",
"AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "LTE Internet Failover Service (315 Queen Street, Unit #3, Acton, ON, L7J 1R1)",
"UnitAmount": 64.61,
"TaxType": "TAX020",
"TaxAmount": 8.40,
"LineAmount": 64.61,
"AccountCode": "204",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "c050fa61-c96b-45d2-9adf-e05019d9717c",
"AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 292.59,
"TotalTax": 38.04,
"Total": 330.63,
"UpdatedDateUTC": "\/Date(1736245687357+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:28:07] Production.INFO: -- Create Invoice id --d61419cd-c2f2-442d-a7ff-36cfcd71552a
[2025-01-07 05:28:07] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:28:07] Production.INFO: CheckInvoice xerov2: INV11289
[2025-01-07 05:28:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11289
[2025-01-07 05:28:10] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:28:10] Production.INFO: Invoice SubTotal 292.590000
[2025-01-07 05:28:10] Production.INFO: Invoice DetTotal 292.59
[2025-01-07 05:28:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010297%20%28Shane%20Linthorne%29"
[2025-01-07 05:28:11] Production.ERROR: CronJobId end10
[2025-01-07 05:28:11] Production.INFO: ==5872== Releasing lock...
[2025-01-07 05:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:28:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:28:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:28:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:28:14] Production.INFO: call_cost start
[2025-01-07 05:28:14] Production.INFO: call_cost end
[2025-01-07 05:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:28:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:28:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:28:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:28:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:28:15] Production.INFO: ==5868== Releasing lock...
[2025-01-07 05:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:28:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:28:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:28:18] Production.INFO: count ==70
[2025-01-07 05:28:18] Production.ERROR: pbx CDR StartTime 2025-01-07 02:28:06 - End Time 2025-01-07 05:28:06
[2025-01-07 05:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192758', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192758', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192758', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192758', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:28:18] Production.INFO: ProcessCDR(1,14192758,1,1,2)
[2025-01-07 05:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192758,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192758,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192758,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:28:21] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (15198539000 - 352 Queen Street Acton, ON L7J1R2 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service",Quantity : 2,UnitAmount : -5.000000,LineAmount : -10.000000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "Cable Internet Service - 120x15 (315 Queen Street, Unit #3, Acton, ON, L7J 1R1)",Quantity : 1,UnitAmount : 160.480000,LineAmount : 160.480000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "LTE Internet Failover Service (315 Queen Street, Unit #3, Acton, ON, L7J 1R1)",Quantity : 1,UnitAmount : 64.610000,LineAmount : 64.610000}
[2025-01-07 05:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192758,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192758', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192758', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:28:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:28:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:28:22] Production.INFO: ==5876== Releasing lock...
[2025-01-07 05:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:28:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 05:28:24] Production.INFO: ==== result =====
[2025-01-07 05:28:24] Production.INFO: {
"Id": "35f7db74-23d5-4b40-b8e6-67c69b47f123",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736245704049)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "6f40387e-5604-426d-86bf-58c0bbbe8aeb",
"InvoiceNumber": "INV11289",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 330.63,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "d8f292bb-743b-4f94-916e-1de8803fa73f",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10297 (Shane Linthorne)",
"FirstName": "Shane",
"LastName": "Linthorne",
"EmailAddress": "poundinpizzainc@gmail.com",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1582260450560+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2025-01-01T00:00:00",
"Date": "\/Date(1735689600000+0000)\/",
"DueDateString": "2025-01-31T00:00:00",
"DueDate": "\/Date(1738281600000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "bac6ef22-0b4f-49cd-b07d-1f69d7c36003",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (15198539000 - 352 Queen Street Acton, ON L7J1R2 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "de2feb87-d3f6-4f50-ae7e-051bd5c2adb2",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -5.00,
"TaxType": "TAX020",
"TaxAmount": -1.30,
"LineAmount": -10.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 2.0000,
"DiscountRate": 0.00,
"LineItemID": "2da704e5-7595-4539-a870-48ff6f7972d2",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Cable Internet Service - 120x15 (315 Queen Street, Unit #3, Acton, ON, L7J 1R1)",
"UnitAmount": 160.48,
"TaxType": "TAX020",
"TaxAmount": 20.86,
"LineAmount": 160.48,
"AccountCode": "204",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "54dd8b4f-033f-4601-b601-41147cc608e4",
"AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "LTE Internet Failover Service (315 Queen Street, Unit #3, Acton, ON, L7J 1R1)",
"UnitAmount": 64.61,
"TaxType": "TAX020",
"TaxAmount": 8.40,
"LineAmount": 64.61,
"AccountCode": "204",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "f40916fe-b350-4cdc-a631-d185ee05af63",
"AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 292.59,
"TotalTax": 38.04,
"Total": 330.63,
"UpdatedDateUTC": "\/Date(1736245704003+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:28:24] Production.INFO: -- Create Invoice id --6f40387e-5604-426d-86bf-58c0bbbe8aeb
[2025-01-07 05:28:24] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:28:24] Production.INFO: CheckInvoice xerov2: INV11221
[2025-01-07 05:28:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11221
[2025-01-07 05:28:26] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:28:26] Production.INFO: Invoice SubTotal 57.500000
[2025-01-07 05:28:26] Production.INFO: Invoice DetTotal 57.5
[2025-01-07 05:28:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010353%20%28Ronny%20Khan%29"
[2025-01-07 05:28:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:28:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:28:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:28:37] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Dominos Pizza - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14164292929 - 784 Eglinton Avenue East Toronto, ON M4G2L1)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 4,UnitAmount : -5.000000,LineAmount : -20.000000}
[2025-01-07 05:28:39] Production.INFO: ==== result =====
[2025-01-07 05:28:39] Production.INFO: {
"Id": "5e84bd12-9a44-4bcf-8fc7-ef8ef51ba1af",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736245719827)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "fbaa7e0c-7b92-4592-b487-36295ffa0ca9",
"InvoiceNumber": "INV11221",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 64.98,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "a80d32c8-bbaa-43c9-b4d0-a7fff9d3ef21",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10353 (Ronny Khan)",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1562267972817+0000)\/",
"ContactGroups": [
{
"ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58",
"Name": "Benjamin's Customers",
"Status": "ACTIVE",
"Contacts": [],
"HasValidationErrors": false
}
],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-15T00:00:00",
"Date": "\/Date(1734220800000+0000)\/",
"DueDateString": "2025-01-14T00:00:00",
"DueDate": "\/Date(1736812800000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Dominos Pizza - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "bcee492a-cc29-4e05-bea3-f34c43d2ad48",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (14164292929 - 784 Eglinton Avenue East Toronto, ON M4G2L1)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "22fb1a97-c44f-48d9-aec9-72b6428ae451",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -5.00,
"TaxType": "TAX020",
"TaxAmount": -2.60,
"LineAmount": -20.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 4.0000,
"DiscountRate": 0.00,
"LineItemID": "64e11f30-75a4-4439-a780-dc8845847fbd",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 57.50,
"TotalTax": 7.48,
"Total": 64.98,
"UpdatedDateUTC": "\/Date(1736245719733+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:28:39] Production.INFO: -- Create Invoice id --fbaa7e0c-7b92-4592-b487-36295ffa0ca9
[2025-01-07 05:28:39] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:28:39] Production.INFO: CheckInvoice xerov2: INV11108
[2025-01-07 05:28:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11108
[2025-01-07 05:28:42] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:28:42] Production.INFO: Invoice SubTotal 193.180000
[2025-01-07 05:28:42] Production.INFO: Invoice DetTotal 193.18
[2025-01-07 05:28:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010364%20%28Shane%20Linthorne%29"
[2025-01-07 05:28:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:28:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:28:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:28:52] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "VDSL Internet Service (324 Guelph St 10 Georgetown, ON L7G 4B5 Canada)",Quantity : 1,UnitAmount : 69.780000,LineAmount : 69.780000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "LTE Internet Failover Service (324 Guelph St 10 Georgetown, ON L7G 4B5 Canada)",Quantity : 1,UnitAmount : 55.900000,LineAmount : 55.900000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (19057028800 - 324 Guelph St 10 Georgetown, ON L7G 4B5 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service",Quantity : 2,UnitAmount : -5.000000,LineAmount : -10.000000}
[2025-01-07 05:28:55] Production.INFO: ==== result =====
[2025-01-07 05:28:55] Production.INFO: {
"Id": "e229ec62-cae4-4d8a-834a-aa1faea551ab",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736245735579)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "10eed40e-129c-49e6-b3ff-4cdce9206e14",
"InvoiceNumber": "INV11108",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 218.30,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "12ca1405-c90f-4ad7-83b0-d937a569ffd9",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10364 (Shane Linthorne)",
"FirstName": "Shane",
"LastName": "Linthorne",
"EmailAddress": "poundinpizzainc@gmail.com",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1562267972817+0000)\/",
"ContactGroups": [
{
"ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58",
"Name": "Benjamin's Customers",
"Status": "ACTIVE",
"Contacts": [],
"HasValidationErrors": false
}
],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-11-26T00:00:00",
"Date": "\/Date(1732579200000+0000)\/",
"DueDateString": "2024-12-26T00:00:00",
"DueDate": "\/Date(1735171200000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "VDSL Internet Service (324 Guelph St 10 Georgetown, ON L7G 4B5 Canada)",
"UnitAmount": 69.78,
"TaxType": "TAX020",
"TaxAmount": 9.07,
"LineAmount": 69.78,
"AccountCode": "204",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "be33a752-2e31-4e0f-9a2c-a72126bfa9c0",
"AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "LTE Internet Failover Service (324 Guelph St 10 Georgetown, ON L7G 4B5 Canada)",
"UnitAmount": 55.90,
"TaxType": "TAX020",
"TaxAmount": 7.27,
"LineAmount": 55.90,
"AccountCode": "204",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "c91553b5-dd7b-405c-a1d9-ebd4f34a3b25",
"AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "14a8d802-ee87-42a9-91ba-25804a2faeec",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (19057028800 - 324 Guelph St 10 Georgetown, ON L7G 4B5 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "35b1d439-441d-40eb-af42-53d36e3933e3",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -5.00,
"TaxType": "TAX020",
"TaxAmount": -1.30,
"LineAmount": -10.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 2.0000,
"DiscountRate": 0.00,
"LineItemID": "71066132-b32a-46d4-b5b8-9c8b00837c13",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 193.18,
"TotalTax": 25.12,
"Total": 218.30,
"UpdatedDateUTC": "\/Date(1736245735517+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:28:55] Production.INFO: -- Create Invoice id --10eed40e-129c-49e6-b3ff-4cdce9206e14
[2025-01-07 05:28:55] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:28:55] Production.INFO: -- Xero End Inovice --
[2025-01-07 05:28:55] Production.INFO: ==5772== Releasing lock...
[2025-01-07 05:28:55] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10432 #Stops#
[2025-01-07 05:28:55] Production.INFO: 32.5 MB #Memory Used#
[2025-01-07 10:29:01] Production.INFO: ==5955== Lock acquired, processing the job...
[2025-01-07 10:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:29:01] Production.INFO: neon service started
[2025-01-07 10:29:01] Production.INFO: neon service started
[2025-01-07 10:29:01] Production.INFO: ==5955== Releasing lock...
[2025-01-07 10:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:29:02] Production.INFO: ==5957== Lock acquired, processing the job...
[2025-01-07 05:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:29:02] Production.INFO: ==5959== Lock acquired, processing the job...
[2025-01-07 10:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:29:02] Production.INFO: ==5957== Releasing lock...
[2025-01-07 05:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:29:02] Production.INFO: ==5959== Releasing lock...
[2025-01-07 10:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:29:03] Production.INFO: ==5961== Lock acquired, processing the job...
[2025-01-07 05:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:29:03] Production.INFO: ==5969== Lock acquired, processing the job...
[2025-01-07 05:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:29:03] Production.INFO: ==5965== Lock acquired, processing the job...
[2025-01-07 05:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:29:03] Production.INFO: ==5963== Lock acquired, processing the job...
[2025-01-07 05:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:29:03] Production.INFO: ==5967== Lock acquired, processing the job...
[2025-01-07 05:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:29:03] Production.INFO: ==5971== Lock acquired, processing the job...
[2025-01-07 05:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:29:03] Production.ERROR: done
[2025-01-07 05:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:29:03] Production.INFO: Account Balance Start.
[2025-01-07 05:29:03] Production.INFO: CreateAllLog Start
[2025-01-07 05:29:03] Production.INFO: 117
[2025-01-07 05:29:03] Production.INFO: Date 2024-12-08
[2025-01-07 05:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:29:03] Production.ERROR: done
[2025-01-07 05:29:03] Production.INFO: Date 2024-12-09
[2025-01-07 05:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:29:03] Production.INFO: ==5963== Releasing lock...
[2025-01-07 05:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:29:03] Production.INFO: Date 2024-12-10
[2025-01-07 05:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:29:03] Production.INFO: Date 2024-12-11
[2025-01-07 05:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:29:03] Production.INFO: count ==21
[2025-01-07 05:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:29:03] Production.INFO: count ==21
[2025-01-07 05:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192763') start
[2025-01-07 05:29:03] Production.INFO: Date 2024-12-12
[2025-01-07 05:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:29:04] Production.INFO: Date 2024-12-13
[2025-01-07 05:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192763') end
[2025-01-07 05:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:29:04] Production.INFO: 1
[2025-01-07 05:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:29:04] Production.INFO: ==5971== Releasing lock...
[2025-01-07 05:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:29:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:29:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:29:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:29:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:29:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:29:04] Production.INFO: Date 2024-12-19
[2025-01-07 05:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:29:04] Production.INFO: Date 2024-12-20
[2025-01-07 05:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:29:04] Production.INFO: Date 2024-12-21
[2025-01-07 05:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:29:04] Production.INFO: Date 2024-12-22
[2025-01-07 05:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:29:04] Production.INFO: Date 2024-12-23
[2025-01-07 05:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:29:04] Production.INFO: Date 2024-12-24
[2025-01-07 05:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:29:04] Production.INFO: Date 2024-12-25
[2025-01-07 05:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:29:04] Production.INFO: Date 2024-12-26
[2025-01-07 05:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:29:04] Production.INFO: Date 2024-12-27
[2025-01-07 05:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:29:04] Production.INFO: Date 2024-12-28
[2025-01-07 05:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:29:04] Production.INFO: Date 2024-12-29
[2025-01-07 05:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:29:04] Production.INFO: Date 2024-12-30
[2025-01-07 05:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:29:04] Production.INFO: Date 2024-12-31
[2025-01-07 05:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:29:04] Production.INFO: Date 2025-01-01
[2025-01-07 05:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:29:04] Production.INFO: Date 2025-01-02
[2025-01-07 05:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:29:04] Production.INFO: Date 2025-01-03
[2025-01-07 05:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:29:04] Production.INFO: Date 2025-01-04
[2025-01-07 05:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:29:04] Production.INFO: Date 2025-01-05
[2025-01-07 05:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:29:04] Production.INFO: Date 2025-01-06
[2025-01-07 05:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:29:04] Production.INFO: Date 2025-01-07
[2025-01-07 05:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:29:04] Production.INFO: Total Charge 0
[2025-01-07 05:29:04] Production.INFO: CreateAllLog End
[2025-01-07 05:29:05] Production.INFO: Account Balance End.
[2025-01-07 05:29:05] Production.ERROR: CronJobId end 12
[2025-01-07 05:29:05] Production.INFO: ==5967== Releasing lock...
[2025-01-07 05:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:29:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:29:05
[end_date_ymd] => 2025-01-07 05:29:05
[RateCDR] => 1
)
[2025-01-07 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-07 02:29:05' and `end` < '2025-01-07 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-07 05:29:12] Production.ERROR: CronJobId end10
[2025-01-07 05:29:12] Production.INFO: ==5965== Releasing lock...
[2025-01-07 05:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:29:13] Production.INFO: call_cost start
[2025-01-07 05:29:13] Production.INFO: call_cost end
[2025-01-07 05:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:29:14] Production.INFO: ==5961== Releasing lock...
[2025-01-07 05:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:29:17] Production.INFO: count ==70
[2025-01-07 05:29:17] Production.ERROR: pbx CDR StartTime 2025-01-07 02:29:05 - End Time 2025-01-07 05:29:05
[2025-01-07 05:29:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192762', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192762', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192762', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192762', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:29:18] Production.INFO: ProcessCDR(1,14192762,1,1,2)
[2025-01-07 05:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192762,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:29:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192762,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:29:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192762,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192762,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192762', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192762', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:29:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:29:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:29:21] Production.INFO: ==5969== Releasing lock...
[2025-01-07 05:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:29:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 10:30:02] Production.INFO: ==6026== Lock acquired, processing the job...
[2025-01-07 10:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:30:02] Production.INFO: neon service started
[2025-01-07 10:30:02] Production.INFO: neon service started
[2025-01-07 10:30:02] Production.INFO: ==6026== Releasing lock...
[2025-01-07 10:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:30:02] Production.INFO: ==6028== Lock acquired, processing the job...
[2025-01-07 05:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:30:02] Production.INFO: ==6030== Lock acquired, processing the job...
[2025-01-07 10:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:30:03] Production.INFO: ==6028== Releasing lock...
[2025-01-07 05:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:30:03] Production.INFO: ==6030== Releasing lock...
[2025-01-07 10:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:30:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:30:03] Production.INFO: ==6033== Lock acquired, processing the job...
[2025-01-07 05:30:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10433 #Starts#
[2025-01-07 05:30:03] Production.INFO: -- Xero Api Check --
[2025-01-07 05:30:04] Production.INFO: ==6037== Lock acquired, processing the job...
[2025-01-07 05:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:30:04] Production.INFO: ==6035== Lock acquired, processing the job...
[2025-01-07 05:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 05:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 05:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 05:30:04] Production.ERROR: CronJob PID - 6037
[2025-01-07 05:30:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-07 05:30:04] Production.ERROR: CronJob ID - 5
[2025-01-07 05:30:04] Production.ERROR: CronJob Last Run Time 2025-01-07 05:30:00
[2025-01-07 05:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 05:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 05:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 05:30:04] Production.INFO: ==6035== Releasing lock...
[2025-01-07 05:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 05:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 05:30:04] Production.INFO: ==6041== Lock acquired, processing the job...
[2025-01-07 05:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:30:04] Production.INFO: ==6039== Lock acquired, processing the job...
[2025-01-07 05:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:30:04] Production.INFO: ==6043== Lock acquired, processing the job...
[2025-01-07 05:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:30:04] Production.INFO: ==6045== Lock acquired, processing the job...
[2025-01-07 05:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:30:04] Production.INFO: Account Balance Start.
[2025-01-07 05:30:04] Production.INFO: CreateAllLog Start
[2025-01-07 05:30:04] Production.INFO: 117
[2025-01-07 05:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:30:04] Production.INFO: Date 2024-12-08
[2025-01-07 05:30:04] Production.INFO: ==6047== Lock acquired, processing the job...
[2025-01-07 05:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 05:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:30:04] Production.INFO: ==6049== Lock acquired, processing the job...
[2025-01-07 05:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:30:04] Production.INFO: Date 2024-12-09
[2025-01-07 05:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:30: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.834986
[namelookup_time] => 0.546491
[connect_time] => 0.548127
[pretransfer_time] => 0.757107
[size_upload] => 82
[size_download] => 2755
[speed_download] => 3299
[speed_upload] => 98
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.834952
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.17
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 42548
)
[2025-01-07 05:30:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDU4MDQsImV4cCI6MTczNjI0NjEwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ1ODA0LCJhdF9oYXNoIjoiZmwtN1p1NFhUajBsdmc0eDItQzAtZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.Cwxp7vdB80SZnzvffxr2wBa8mv1ywlIZGNtQh2cqAFgFSQX_AuitQCwkRAFVDWe9mBebMFH80AhkOBnYpkN5DPCzIN76FuGobDpVCpJKo19vIYjKm83WvuOnIuSWfinrIl02AsNvuLJHI1nwdBpq2-x7PXHBVu7Dj2JAJiHd2lLdSwVd-_MVYPhNQPQ4o0_4kIBDFktdSPwvZNi7uky0KpGEnXSFoJTaMQXfEJTJr7sAsz93FzStZIC02sy2UE5zThGYN6ctvhlNVebqOhC1-q8i4oRfJjZZPvCUXtfqCiwXgn8hHCr_WQBgiikc4soUkAxqGZmGgBjE20HxaQqNAw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDU4MDQsImV4cCI6MTczNjI0NzYwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.sdB8-fIP6GtMP5oHQ43J9P7602jWaf2372i0-ocjhYuxP5rURFM6W0hYcjFhn8c59BOskHFAbezx8u6Ps59o9IxytLf7EyAvW4QOuqVow8WdbCtSJeZBitbpmntHNT5-aKI-lQ_hnaRyZN1UgA6jUzYzdwIF9_sZ6wAqrixdb9d9KjbUyzMH9dGi1UxpEoLpS1MiTkpWA3gJMoQKoGLC6PeiuqOywcsIN2l4hVRc-VgJ-WmSwabi_F4BUezrHRxQHl-moidu9FKJDfUeP3yVEPcb_O5U17sUmYQOALXjYNos1tCOt6W0h_FUn7nvq096QWuQmf3T3aftBJwFpd7m_g
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => Kg84PjKiLpJR35zUKWrSCIwofTlorPG3R1kxpzJkCkM
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 05:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:30:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDU4MDQsImV4cCI6MTczNjI0NjEwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ1ODA0LCJhdF9oYXNoIjoiZmwtN1p1NFhUajBsdmc0eDItQzAtZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.Cwxp7vdB80SZnzvffxr2wBa8mv1ywlIZGNtQh2cqAFgFSQX_AuitQCwkRAFVDWe9mBebMFH80AhkOBnYpkN5DPCzIN76FuGobDpVCpJKo19vIYjKm83WvuOnIuSWfinrIl02AsNvuLJHI1nwdBpq2-x7PXHBVu7Dj2JAJiHd2lLdSwVd-_MVYPhNQPQ4o0_4kIBDFktdSPwvZNi7uky0KpGEnXSFoJTaMQXfEJTJr7sAsz93FzStZIC02sy2UE5zThGYN6ctvhlNVebqOhC1-q8i4oRfJjZZPvCUXtfqCiwXgn8hHCr_WQBgiikc4soUkAxqGZmGgBjE20HxaQqNAw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDU4MDQsImV4cCI6MTczNjI0NzYwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.sdB8-fIP6GtMP5oHQ43J9P7602jWaf2372i0-ocjhYuxP5rURFM6W0hYcjFhn8c59BOskHFAbezx8u6Ps59o9IxytLf7EyAvW4QOuqVow8WdbCtSJeZBitbpmntHNT5-aKI-lQ_hnaRyZN1UgA6jUzYzdwIF9_sZ6wAqrixdb9d9KjbUyzMH9dGi1UxpEoLpS1MiTkpWA3gJMoQKoGLC6PeiuqOywcsIN2l4hVRc-VgJ-WmSwabi_F4BUezrHRxQHl-moidu9FKJDfUeP3yVEPcb_O5U17sUmYQOALXjYNos1tCOt6W0h_FUn7nvq096QWuQmf3T3aftBJwFpd7m_g
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => Kg84PjKiLpJR35zUKWrSCIwofTlorPG3R1kxpzJkCkM
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 05:30:04] Production.INFO: Date 2024-12-10
[2025-01-07 05:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:30:04] Production.ERROR: done
[2025-01-07 05:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:30:04] Production.INFO: count ==21
[2025-01-07 05:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:30:04] Production.INFO: count ==21
[2025-01-07 05:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192767') start
[2025-01-07 05:30:04] Production.INFO: AccountID 101
[2025-01-07 05:30:04] Production.INFO: Date 2024-12-11
[2025-01-07 05:30:04] Production.INFO: ==6039== Releasing lock...
[2025-01-07 05:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:30:04] Production.INFO: AccountName Dominos 10364 (Shane Linthorne)
[2025-01-07 05:30:04] Production.INFO: Checkcustomer
[2025-01-07 05:30:04] Production.ERROR: done
[2025-01-07 05:30:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010364%20%28Shane%20Linthorne%29"
[2025-01-07 05:30:05] Production.ERROR: done
[2025-01-07 05:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14192767') end
[2025-01-07 05:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:30:05] Production.INFO: 1
[2025-01-07 05:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:30:05] Production.INFO: Date 2024-12-12
[2025-01-07 05:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:30:05] Production.INFO: ==6049== Releasing lock...
[2025-01-07 05:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 05:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14192769', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 05:30:05] Production.INFO: Date 2024-12-13
[2025-01-07 05:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:30:05] Production.INFO: Date 2024-12-14
[2025-01-07 05:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:30:05] Production.INFO: Date 2024-12-15
[2025-01-07 05:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:30:05] Production.INFO: Date 2024-12-16
[2025-01-07 05:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:30:05] Production.INFO: Date 2024-12-17
[2025-01-07 05:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:30:05] Production.INFO: Date 2024-12-18
[2025-01-07 05:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:30:05] Production.INFO: Date 2024-12-19
[2025-01-07 05:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:30:05] Production.INFO: Date 2024-12-20
[2025-01-07 05:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:30:05] Production.INFO: Date 2024-12-21
[2025-01-07 05:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:30:05] Production.INFO: Date 2024-12-22
[2025-01-07 05:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:30:05] Production.INFO: Date 2024-12-23
[2025-01-07 05:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:30:05] Production.INFO: Date 2024-12-24
[2025-01-07 05:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:30:05] Production.INFO: Date 2024-12-25
[2025-01-07 05:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:30:05] Production.INFO: Date 2024-12-26
[2025-01-07 05:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:30:05] Production.INFO: Date 2024-12-27
[2025-01-07 05:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:30:05] Production.INFO: Date 2024-12-28
[2025-01-07 05:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:30:05] Production.INFO: Date 2024-12-29
[2025-01-07 05:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:30:05] Production.INFO: Date 2024-12-30
[2025-01-07 05:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:30:05
[end_date_ymd] => 2025-01-07 05:30:05
[RateCDR] => 1
)
[2025-01-07 05:30:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 02:30:05' and `end` < '2025-01-07 05:30:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 05:30:06] Production.INFO: Date 2024-12-31
[2025-01-07 05:30:06] Production.INFO: Reseller ==> 0
[2025-01-07 05:30:06] Production.INFO: Date 2025-01-01
[2025-01-07 05:30:06] Production.INFO: Reseller ==> 0
[2025-01-07 05:30:06] Production.INFO: Date 2025-01-02
[2025-01-07 05:30:06] Production.INFO: Reseller ==> 0
[2025-01-07 05:30:06] Production.INFO: Date 2025-01-03
[2025-01-07 05:30:06] Production.INFO: Reseller ==> 0
[2025-01-07 05:30:06] Production.INFO: Date 2025-01-04
[2025-01-07 05:30:06] Production.INFO: Reseller ==> 0
[2025-01-07 05:30:06] Production.INFO: Date 2025-01-05
[2025-01-07 05:30:06] Production.INFO: Reseller ==> 0
[2025-01-07 05:30:06] Production.INFO: Date 2025-01-06
[2025-01-07 05:30:06] Production.INFO: Reseller ==> 0
[2025-01-07 05:30:06] Production.INFO: Date 2025-01-07
[2025-01-07 05:30:06] Production.INFO: Reseller ==> 0
[2025-01-07 05:30:06] Production.INFO: Total Charge 0
[2025-01-07 05:30:06] Production.INFO: CreateAllLog End
[2025-01-07 05:30:06] Production.INFO: Account Balance End.
[2025-01-07 05:30:06] Production.ERROR: CronJobId end 12
[2025-01-07 05:30:06] Production.INFO: ==6043== Releasing lock...
[2025-01-07 05:30:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:30:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:30:08] Production.INFO: Contact id print CheckCustomer Case===12ca1405-c90f-4ad7-83b0-d937a569ffd9
[2025-01-07 05:30:08] Production.INFO: -- count --1
[2025-01-07 05:30:08] Production.INFO: AccountID 154
[2025-01-07 05:30:08] Production.INFO: AccountName Dominos 10385 (Sandeep Chaudhari)
[2025-01-07 05:30:08] Production.INFO: Checkcustomer
[2025-01-07 05:30:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010385%20%28Sandeep%20Chaudhari%29"
[2025-01-07 05:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14192769', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 05:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 05:30:08] Production.INFO: ProcessCDR(1,14192769,1,1,2)
[2025-01-07 05:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14192769,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14192769,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:30:09] Production.INFO: ==6047== Releasing lock...
[2025-01-07 05:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 05:30:09] Production.INFO: 26 MB #Memory Used#
[2025-01-07 05:30:10] Production.INFO: Contact id print CheckCustomer Case===f21476d6-c1e8-4e8b-b2a8-87f68276aedf
[2025-01-07 05:30:10] Production.INFO: -- count --1
[2025-01-07 05:30:10] Production.INFO: AccountID 155
[2025-01-07 05:30:10] Production.INFO: AccountName Dominos 10388 (Sandeep Chaudhari)
[2025-01-07 05:30:10] Production.INFO: Checkcustomer
[2025-01-07 05:30:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010388%20%28Sandeep%20Chaudhari%29"
[2025-01-07 05:30:13] Production.ERROR: CronJobId end10
[2025-01-07 05:30:13] Production.INFO: ==6041== Releasing lock...
[2025-01-07 05:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:30:13] Production.INFO: Contact id print CheckCustomer Case===f7e4d9d4-d7d6-4a37-b185-fce2c2d150b9
[2025-01-07 05:30:13] Production.INFO: -- count --1
[2025-01-07 05:30:13] Production.INFO: AccountID 33
[2025-01-07 05:30:13] Production.INFO: AccountName Dominos 10395 (Ronny Khan)
[2025-01-07 05:30:13] Production.INFO: Checkcustomer
[2025-01-07 05:30:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010395%20%28Ronny%20Khan%29"
[2025-01-07 05:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:30:15] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:30:15] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:30:15] Production.INFO: call_cost start
[2025-01-07 05:30:15] Production.INFO: call_cost end
[2025-01-07 05:30:15] Production.INFO: Contact id print CheckCustomer Case===2ad5ad33-c3c5-457d-96a1-96787e4ed1ae
[2025-01-07 05:30:15] Production.INFO: -- count --1
[2025-01-07 05:30:15] Production.INFO: AccountID 33
[2025-01-07 05:30:15] Production.INFO: AccountName Dominos 10395 (Ronny Khan)
[2025-01-07 05:30:15] Production.INFO: Checkcustomer
[2025-01-07 05:30:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010395%20%28Ronny%20Khan%29"
[2025-01-07 05:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:30:16] Production.INFO: ==6037== Releasing lock...
[2025-01-07 05:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:30:18] Production.INFO: Contact id print CheckCustomer Case===2ad5ad33-c3c5-457d-96a1-96787e4ed1ae
[2025-01-07 05:30:18] Production.INFO: -- count --1
[2025-01-07 05:30:18] Production.INFO: AccountID 119
[2025-01-07 05:30:18] Production.INFO: AccountName Dominos 10402 (Anwar Hossain)
[2025-01-07 05:30:18] Production.INFO: Checkcustomer
[2025-01-07 05:30:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010402%20%28Anwar%20Hossain%29"
[2025-01-07 05:30:18] Production.INFO: count ==68
[2025-01-07 05:30:18] Production.ERROR: pbx CDR StartTime 2025-01-07 02:30:05 - End Time 2025-01-07 05:30:05
[2025-01-07 05:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192768', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192768', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192768', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192768', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:30:18] Production.INFO: ProcessCDR(1,14192768,1,1,2)
[2025-01-07 05:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192768,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192768,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192768,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:30:20] Production.INFO: Contact id print CheckCustomer Case===638629e4-7df5-47ca-ab31-ab7d228ee597
[2025-01-07 05:30:20] Production.INFO: -- count --1
[2025-01-07 05:30:20] Production.INFO: -- Xero Add Inovice --
[2025-01-07 05:30:20] Production.INFO: CheckInvoice xerov2: INV11265
[2025-01-07 05:30:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11265
[2025-01-07 05:30:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192768,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192768', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192768', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:30:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:30:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:30:21] Production.INFO: ==6045== Releasing lock...
[2025-01-07 05:30:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:30:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 05:30:23] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:30:23] Production.INFO: Invoice SubTotal 193.180000
[2025-01-07 05:30:23] Production.INFO: Invoice DetTotal 193.18
[2025-01-07 05:30:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010364%20%28Shane%20Linthorne%29"
[2025-01-07 05:30:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:30:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:30:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:30:33] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "VDSL Internet Service (324 Guelph St 10 Georgetown, ON L7G 4B5 Canada)",Quantity : 1,UnitAmount : 69.780000,LineAmount : 69.780000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "LTE Internet Failover Service (324 Guelph St 10 Georgetown, ON L7G 4B5 Canada)",Quantity : 1,UnitAmount : 55.900000,LineAmount : 55.900000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (19057028800 - 324 Guelph St 10 Georgetown, ON L7G 4B5 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service",Quantity : 2,UnitAmount : -5.000000,LineAmount : -10.000000}
[2025-01-07 05:30:35] Production.INFO: ==== result =====
[2025-01-07 05:30:35] Production.INFO: {
"Id": "3fa8ca3f-bd2c-477d-9965-bc10fb5858a1",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736245835895)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "3ae9b269-f57d-45ee-ba59-706cc74aad8b",
"InvoiceNumber": "INV11265",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 218.30,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "12ca1405-c90f-4ad7-83b0-d937a569ffd9",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10364 (Shane Linthorne)",
"FirstName": "Shane",
"LastName": "Linthorne",
"EmailAddress": "poundinpizzainc@gmail.com",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1562267972817+0000)\/",
"ContactGroups": [
{
"ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58",
"Name": "Benjamin's Customers",
"Status": "ACTIVE",
"Contacts": [],
"HasValidationErrors": false
}
],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-26T00:00:00",
"Date": "\/Date(1735171200000+0000)\/",
"DueDateString": "2025-01-25T00:00:00",
"DueDate": "\/Date(1737763200000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "VDSL Internet Service (324 Guelph St 10 Georgetown, ON L7G 4B5 Canada)",
"UnitAmount": 69.78,
"TaxType": "TAX020",
"TaxAmount": 9.07,
"LineAmount": 69.78,
"AccountCode": "204",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "706eb12f-fc77-4ede-b847-c519e2e3146a",
"AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "LTE Internet Failover Service (324 Guelph St 10 Georgetown, ON L7G 4B5 Canada)",
"UnitAmount": 55.90,
"TaxType": "TAX020",
"TaxAmount": 7.27,
"LineAmount": 55.90,
"AccountCode": "204",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "07101f2c-ca2f-4d6c-91bb-ba140a9b8636",
"AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "ba8420dc-3764-44c9-a91d-86f5a02804fb",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (19057028800 - 324 Guelph St 10 Georgetown, ON L7G 4B5 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "7443cefd-d336-43e3-928e-d326a4dae235",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -5.00,
"TaxType": "TAX020",
"TaxAmount": -1.30,
"LineAmount": -10.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 2.0000,
"DiscountRate": 0.00,
"LineItemID": "0b1f5bbf-1133-4397-adf4-7159cd014ec9",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 193.18,
"TotalTax": 25.12,
"Total": 218.30,
"UpdatedDateUTC": "\/Date(1736245835770+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:30:35] Production.INFO: -- Create Invoice id --3ae9b269-f57d-45ee-ba59-706cc74aad8b
[2025-01-07 05:30:35] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:30:35] Production.INFO: CheckInvoice xerov2: INV11160
[2025-01-07 05:30:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11160
[2025-01-07 05:30:38] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:30:38] Production.INFO: Invoice SubTotal 52.500000
[2025-01-07 05:30:38] Production.INFO: Invoice DetTotal 52.5
[2025-01-07 05:30:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010385%20%28Sandeep%20Chaudhari%29"
[2025-01-07 05:30:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:30:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:30:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:30:48] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (15197477300 - 450 Columbia St W 2 Waterloo, ON N2T 2W1 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 5,UnitAmount : -5.000000,LineAmount : -25.000000}
[2025-01-07 05:30:50] Production.INFO: ==== result =====
[2025-01-07 05:30:50] Production.INFO: {
"Id": "41af1c55-e1ae-400d-95a5-f7d25a47f6c2",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736245850749)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "5708fe6d-cd0f-411b-9a09-e91c5526e937",
"InvoiceNumber": "INV11160",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 59.33,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "f21476d6-c1e8-4e8b-b2a8-87f68276aedf",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10385 (Sandeep Chaudhari)",
"FirstName": "Sandeep",
"LastName": "Chaudhari",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1639845523757+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-06T00:00:00",
"Date": "\/Date(1733443200000+0000)\/",
"DueDateString": "2025-01-05T00:00:00",
"DueDate": "\/Date(1736035200000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "2d9ca52e-452f-4a57-a47f-aa5359d2eb12",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (15197477300 - 450 Columbia St W 2 Waterloo, ON N2T 2W1 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "cd57d3bc-444e-49dd-8e8a-59617315055d",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -5.00,
"TaxType": "TAX020",
"TaxAmount": -3.25,
"LineAmount": -25.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 5.0000,
"DiscountRate": 0.00,
"LineItemID": "78a19527-b794-4f5c-8eb5-874cbc57e86e",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 52.50,
"TotalTax": 6.83,
"Total": 59.33,
"UpdatedDateUTC": "\/Date(1736245850687+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:30:50] Production.INFO: -- Create Invoice id --5708fe6d-cd0f-411b-9a09-e91c5526e937
[2025-01-07 05:30:50] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:30:50] Production.INFO: CheckInvoice xerov2: INV11164
[2025-01-07 05:30:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11164
[2025-01-07 05:30:53] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:30:53] Production.INFO: Invoice SubTotal 52.500000
[2025-01-07 05:30:53] Production.INFO: Invoice DetTotal 52.5
[2025-01-07 05:30:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010388%20%28Sandeep%20Chaudhari%29"
[2025-01-07 05:30:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:30:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:30:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 10:31:01] Production.INFO: ==6123== Lock acquired, processing the job...
[2025-01-07 10:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:31:01] Production.INFO: neon service started
[2025-01-07 10:31:01] Production.INFO: neon service started
[2025-01-07 10:31:01] Production.INFO: ==6123== Releasing lock...
[2025-01-07 10:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:31:01] Production.INFO: ==6125== Lock acquired, processing the job...
[2025-01-07 05:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:31:02] Production.INFO: ==6127== Lock acquired, processing the job...
[2025-01-07 10:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:31:02] Production.INFO: ==6125== Releasing lock...
[2025-01-07 05:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:31:02] Production.INFO: ==6127== Releasing lock...
[2025-01-07 10:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:31:02] Production.INFO: 26 MB #Memory Used#
[2025-01-07 05:31:03] Production.INFO: ==6136== Lock acquired, processing the job...
[2025-01-07 05:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:31:03] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (15197463900 - 65 University Ave E Waterloo, ON N2J 2V9 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 5,UnitAmount : -5.000000,LineAmount : -25.000000}
[2025-01-07 05:31:03] Production.INFO: ==6138== Lock acquired, processing the job...
[2025-01-07 05:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:31:03] Production.INFO: Account Balance Start.
[2025-01-07 05:31:03] Production.INFO: CreateAllLog Start
[2025-01-07 05:31:03] Production.INFO: 117
[2025-01-07 05:31:03] Production.INFO: Date 2024-12-08
[2025-01-07 05:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:31:03] Production.INFO: Date 2024-12-09
[2025-01-07 05:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:31:03] Production.INFO: Date 2024-12-10
[2025-01-07 05:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:31:03] Production.INFO: ==6130== Lock acquired, processing the job...
[2025-01-07 05:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:31:03] Production.INFO: Date 2024-12-11
[2025-01-07 05:31:03] Production.INFO: ==6134== Lock acquired, processing the job...
[2025-01-07 05:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:31:03] Production.INFO: ==6132== Lock acquired, processing the job...
[2025-01-07 05:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:31:03] Production.INFO: Date 2024-12-12
[2025-01-07 05:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:31:03] Production.INFO: Date 2024-12-13
[2025-01-07 05:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:31:03] Production.INFO: ==6140== Lock acquired, processing the job...
[2025-01-07 05:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:31:03] Production.INFO: Date 2024-12-14
[2025-01-07 05:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:31:03] Production.INFO: Date 2024-12-15
[2025-01-07 05:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:31:03] Production.ERROR: done
[2025-01-07 05:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:31:03] Production.INFO: Date 2024-12-16
[2025-01-07 05:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:31:03] Production.INFO: Date 2024-12-17
[2025-01-07 05:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:31:03] Production.INFO: Date 2024-12-18
[2025-01-07 05:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:31:03] Production.INFO: count ==21
[2025-01-07 05:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:31:03] Production.INFO: count ==21
[2025-01-07 05:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192773') start
[2025-01-07 05:31:03] Production.INFO: Date 2024-12-19
[2025-01-07 05:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:31:03] Production.ERROR: done
[2025-01-07 05:31:03] Production.INFO: Date 2024-12-20
[2025-01-07 05:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:31:03] Production.INFO: Date 2024-12-21
[2025-01-07 05:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192773') end
[2025-01-07 05:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:31:03] Production.INFO: 1
[2025-01-07 05:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:31:03] Production.INFO: Date 2024-12-22
[2025-01-07 05:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:31:03] Production.INFO: ==6140== Releasing lock...
[2025-01-07 05:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:31:03] Production.INFO: Date 2024-12-23
[2025-01-07 05:31:03] Production.INFO: ==6132== Releasing lock...
[2025-01-07 05:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:31:03] Production.INFO: Date 2024-12-24
[2025-01-07 05:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:31:03] Production.INFO: Date 2024-12-25
[2025-01-07 05:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:31:03] Production.INFO: Date 2024-12-26
[2025-01-07 05:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:31:04] Production.INFO: Date 2024-12-27
[2025-01-07 05:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:31:04] Production.INFO: Date 2024-12-28
[2025-01-07 05:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:31:04] Production.INFO: Date 2024-12-29
[2025-01-07 05:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:31:04] Production.INFO: Date 2024-12-30
[2025-01-07 05:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:31:04] Production.INFO: Date 2024-12-31
[2025-01-07 05:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:31:04] Production.INFO: Date 2025-01-01
[2025-01-07 05:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:31:04] Production.INFO: Date 2025-01-02
[2025-01-07 05:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:31:04] Production.INFO: Date 2025-01-03
[2025-01-07 05:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:31:04] Production.INFO: Date 2025-01-04
[2025-01-07 05:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:31:04] Production.INFO: Date 2025-01-05
[2025-01-07 05:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:31:04] Production.INFO: Date 2025-01-06
[2025-01-07 05:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:31:04] Production.INFO: Date 2025-01-07
[2025-01-07 05:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:31:04] Production.INFO: Total Charge 0
[2025-01-07 05:31:04] Production.INFO: CreateAllLog End
[2025-01-07 05:31:04] Production.INFO: Account Balance End.
[2025-01-07 05:31:04] Production.ERROR: CronJobId end 12
[2025-01-07 05:31:04] Production.INFO: ==6136== Releasing lock...
[2025-01-07 05:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:31:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:31:04
[end_date_ymd] => 2025-01-07 05:31:04
[RateCDR] => 1
)
[2025-01-07 05: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-07 02:31:04' and `end` < '2025-01-07 05: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-07 05:31:05] Production.INFO: ==== result =====
[2025-01-07 05:31:05] Production.INFO: {
"Id": "af0f1a5c-4195-4979-ad00-b4dec5195274",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736245865714)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "a6c22af1-2b4e-4d71-b720-d176033d3172",
"InvoiceNumber": "INV11164",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 59.33,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "f7e4d9d4-d7d6-4a37-b185-fce2c2d150b9",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10388 (Sandeep Chaudhari)",
"FirstName": "Sandeep",
"LastName": "Chaudhari",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1639845522693+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-07T00:00:00",
"Date": "\/Date(1733529600000+0000)\/",
"DueDateString": "2025-01-06T00:00:00",
"DueDate": "\/Date(1736121600000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "af7ff8de-b9bc-4297-8e35-ef6a5d48f6b1",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (15197463900 - 65 University Ave E Waterloo, ON N2J 2V9 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "6c2a33b5-0a35-464f-ac3a-7628656e1a70",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -5.00,
"TaxType": "TAX020",
"TaxAmount": -3.25,
"LineAmount": -25.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 5.0000,
"DiscountRate": 0.00,
"LineItemID": "dd3ff8e5-c4dd-4760-88d4-545386f8f9fa",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 52.50,
"TotalTax": 6.83,
"Total": 59.33,
"UpdatedDateUTC": "\/Date(1736245865620+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:31:05] Production.INFO: -- Create Invoice id --a6c22af1-2b4e-4d71-b720-d176033d3172
[2025-01-07 05:31:05] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:31:05] Production.INFO: CheckInvoice xerov2: INV11109
[2025-01-07 05:31:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11109
[2025-01-07 05:31:08] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:31:08] Production.INFO: Invoice SubTotal 57.500000
[2025-01-07 05:31:08] Production.INFO: Invoice DetTotal 57.5
[2025-01-07 05:31:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010395%20%28Ronny%20Khan%29"
[2025-01-07 05:31:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:31:11] Production.ERROR: CronJobId end10
[2025-01-07 05:31:11] Production.INFO: ==6134== Releasing lock...
[2025-01-07 05:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:31:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:31:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:31:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:31:13] Production.INFO: call_cost start
[2025-01-07 05:31:13] Production.INFO: call_cost end
[2025-01-07 05:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:31:14] Production.INFO: ==6130== Releasing lock...
[2025-01-07 05:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:31:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:31:17] Production.INFO: count ==68
[2025-01-07 05:31:17] Production.ERROR: pbx CDR StartTime 2025-01-07 02:31:04 - End Time 2025-01-07 05:31:04
[2025-01-07 05:31:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192774', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192774', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192774', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192774', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:31:17] Production.INFO: ProcessCDR(1,14192774,1,1,2)
[2025-01-07 05:31:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192774,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:31:18] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Dominos Pizza - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14166363888 - 820 SHEPPARD AVE W TORONTO, ON M3H2T1)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 4,UnitAmount : -5.000000,LineAmount : -20.000000}
[2025-01-07 05:31:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192774,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:31:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192774,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:31:20] Production.INFO: ==== result =====
[2025-01-07 05:31:20] Production.INFO: {
"Id": "2eb4f6e0-caf1-47d7-a521-26703e47a2c0",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736245880916)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "e7278533-958f-4705-96a3-08747edba2b4",
"InvoiceNumber": "INV11109",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 64.98,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "2ad5ad33-c3c5-457d-96a1-96787e4ed1ae",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10395 (Ronny Khan)",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1562267972817+0000)\/",
"ContactGroups": [
{
"ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58",
"Name": "Benjamin's Customers",
"Status": "ACTIVE",
"Contacts": [],
"HasValidationErrors": false
}
],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-11-27T00:00:00",
"Date": "\/Date(1732665600000+0000)\/",
"DueDateString": "2024-12-27T00:00:00",
"DueDate": "\/Date(1735257600000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Dominos Pizza - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "da847578-6142-4713-9988-b9a898a4f527",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (14166363888 - 820 SHEPPARD AVE W TORONTO, ON M3H2T1)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "4821f3a2-ca8d-494c-88d9-ed16dafc6ee7",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -5.00,
"TaxType": "TAX020",
"TaxAmount": -2.60,
"LineAmount": -20.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 4.0000,
"DiscountRate": 0.00,
"LineItemID": "00ea97e0-46d0-4631-9f32-ca439bf1a2f1",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 57.50,
"TotalTax": 7.48,
"Total": 64.98,
"UpdatedDateUTC": "\/Date(1736245880853+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:31:20] Production.INFO: -- Create Invoice id --e7278533-958f-4705-96a3-08747edba2b4
[2025-01-07 05:31:20] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:31:20] Production.INFO: CheckInvoice xerov2: INV11266
[2025-01-07 05:31:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11266
[2025-01-07 05:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192774,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192774', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192774', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:31:21] Production.INFO: ==6138== Releasing lock...
[2025-01-07 05:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:31:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 05:31:23] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:31:23] Production.INFO: Invoice SubTotal 57.500000
[2025-01-07 05:31:23] Production.INFO: Invoice DetTotal 57.5
[2025-01-07 05:31:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010395%20%28Ronny%20Khan%29"
[2025-01-07 05:31:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:31:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:31:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:31:33] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Dominos Pizza - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14166363888 - 820 SHEPPARD AVE W TORONTO, ON M3H2T1)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 4,UnitAmount : -5.000000,LineAmount : -20.000000}
[2025-01-07 05:31:36] Production.INFO: ==== result =====
[2025-01-07 05:31:36] Production.INFO: {
"Id": "922706ca-bd7f-4e8b-857b-65101227c0a5",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736245895978)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "0a94e8b9-5d7f-4bac-b620-b2350cd7e49f",
"InvoiceNumber": "INV11266",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 64.98,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "2ad5ad33-c3c5-457d-96a1-96787e4ed1ae",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10395 (Ronny Khan)",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1562267972817+0000)\/",
"ContactGroups": [
{
"ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58",
"Name": "Benjamin's Customers",
"Status": "ACTIVE",
"Contacts": [],
"HasValidationErrors": false
}
],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-27T00:00:00",
"Date": "\/Date(1735257600000+0000)\/",
"DueDateString": "2025-01-26T00:00:00",
"DueDate": "\/Date(1737849600000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Dominos Pizza - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "f0e97bb5-b683-4566-ba13-23b2286289ac",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (14166363888 - 820 SHEPPARD AVE W TORONTO, ON M3H2T1)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "a82e30a5-5a7f-4687-9e2c-6ffe88e1e1d7",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -5.00,
"TaxType": "TAX020",
"TaxAmount": -2.60,
"LineAmount": -20.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 4.0000,
"DiscountRate": 0.00,
"LineItemID": "55ed1b43-9aad-456a-a44d-4fabe15b624c",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 57.50,
"TotalTax": 7.48,
"Total": 64.98,
"UpdatedDateUTC": "\/Date(1736245895900+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:31:36] Production.INFO: -- Create Invoice id --0a94e8b9-5d7f-4bac-b620-b2350cd7e49f
[2025-01-07 05:31:36] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:31:36] Production.INFO: CheckInvoice xerov2: INV11195
[2025-01-07 05:31:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11195
[2025-01-07 05:31:38] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:31:38] Production.INFO: Invoice SubTotal 65.000000
[2025-01-07 05:31:38] Production.INFO: Invoice DetTotal 65
[2025-01-07 05:31:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010402%20%28Anwar%20Hossain%29"
[2025-01-07 05:31:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:31:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:31:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:31:48] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service",Quantity : 2,UnitAmount : -5.000000,LineAmount : -10.000000}
[2025-01-07 05:31:50] Production.INFO: ==== result =====
[2025-01-07 05:31:50] Production.INFO: {
"Id": "e80d7768-9efd-40e3-9ecf-ea4b51e68194",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736245910790)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "a110f794-cc60-4ab6-beb2-e7260b814086",
"InvoiceNumber": "INV11195",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 73.45,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "638629e4-7df5-47ca-ab31-ab7d228ee597",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10402 (Anwar Hossain)",
"FirstName": "Anwar",
"LastName": "Hossain",
"EmailAddress": "anwar377@yahoo.com",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1581435194217+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-11T00:00:00",
"Date": "\/Date(1733875200000+0000)\/",
"DueDateString": "2025-01-10T00:00:00",
"DueDate": "\/Date(1736467200000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "1131d078-bdd4-49b1-b25e-4cd302aff6d9",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -5.00,
"TaxType": "TAX020",
"TaxAmount": -1.30,
"LineAmount": -10.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 2.0000,
"DiscountRate": 0.00,
"LineItemID": "1501edd8-37b0-4258-93b6-763cd7ec3ee4",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 65.00,
"TotalTax": 8.45,
"Total": 73.45,
"UpdatedDateUTC": "\/Date(1736245910713+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:31:50] Production.INFO: -- Create Invoice id --a110f794-cc60-4ab6-beb2-e7260b814086
[2025-01-07 05:31:50] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:31:50] Production.INFO: -- Xero End Inovice --
[2025-01-07 05:31:50] Production.INFO: ==6033== Releasing lock...
[2025-01-07 05:31:50] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10433 #Stops#
[2025-01-07 05:31:50] Production.INFO: 32.5 MB #Memory Used#
[2025-01-07 10:32:02] Production.INFO: ==6217== Lock acquired, processing the job...
[2025-01-07 10:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:32:02] Production.INFO: neon service started
[2025-01-07 10:32:02] Production.INFO: neon service started
[2025-01-07 10:32:02] Production.INFO: ==6217== Releasing lock...
[2025-01-07 10:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:32:02] Production.INFO: ==6219== Lock acquired, processing the job...
[2025-01-07 05:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:32:02] Production.INFO: ==6221== Lock acquired, processing the job...
[2025-01-07 10:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:32:02] Production.INFO: ==6221== Releasing lock...
[2025-01-07 10:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:32:03] Production.INFO: ==6219== Releasing lock...
[2025-01-07 05:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:32:03] Production.INFO: ==6228== Lock acquired, processing the job...
[2025-01-07 05:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:32:04] Production.INFO: ==6224== Lock acquired, processing the job...
[2025-01-07 05:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:32:04] Production.INFO: ==6234== Lock acquired, processing the job...
[2025-01-07 05:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:32:04] Production.INFO: ==6226== Lock acquired, processing the job...
[2025-01-07 05:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:32:04] Production.INFO: ==6230== Lock acquired, processing the job...
[2025-01-07 05:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:32:04] Production.INFO: ==6232== Lock acquired, processing the job...
[2025-01-07 05:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:32:04] Production.INFO: count ==21
[2025-01-07 05:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:32:04] Production.INFO: count ==21
[2025-01-07 05:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192776') start
[2025-01-07 05:32:04] Production.INFO: Account Balance Start.
[2025-01-07 05:32:04] Production.INFO: CreateAllLog Start
[2025-01-07 05:32:04] Production.INFO: 117
[2025-01-07 05:32:04] Production.INFO: Date 2024-12-08
[2025-01-07 05:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:32:04] Production.INFO: Date 2024-12-09
[2025-01-07 05:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:32:04] Production.INFO: ==6226== Releasing lock...
[2025-01-07 05:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:32:04] Production.INFO: Date 2024-12-10
[2025-01-07 05:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:32:04] Production.INFO: Date 2024-12-11
[2025-01-07 05:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192776') end
[2025-01-07 05:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:32:04] Production.INFO: 1
[2025-01-07 05:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:32:04] Production.ERROR: done
[2025-01-07 05:32:04] Production.INFO: Date 2024-12-12
[2025-01-07 05:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:32:04] Production.INFO: ==6234== Releasing lock...
[2025-01-07 05:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:32:04] Production.INFO: Date 2024-12-13
[2025-01-07 05:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:32:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:32:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:32:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:32:04] Production.ERROR: done
[2025-01-07 05:32:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:32:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:32:05] Production.INFO: Date 2024-12-19
[2025-01-07 05:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:32:05] Production.INFO: Date 2024-12-20
[2025-01-07 05:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:32:05] Production.INFO: Date 2024-12-21
[2025-01-07 05:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:32:05] Production.INFO: Date 2024-12-22
[2025-01-07 05:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:32:05] Production.INFO: Date 2024-12-23
[2025-01-07 05:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:32:05] Production.INFO: Date 2024-12-24
[2025-01-07 05:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:32:05] Production.INFO: Date 2024-12-25
[2025-01-07 05:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:32:05] Production.INFO: Date 2024-12-26
[2025-01-07 05:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:32:05] Production.INFO: Date 2024-12-27
[2025-01-07 05:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:32:05] Production.INFO: Date 2024-12-28
[2025-01-07 05:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:32:05] Production.INFO: Date 2024-12-29
[2025-01-07 05:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:32:05] Production.INFO: Date 2024-12-30
[2025-01-07 05:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:32:05] Production.INFO: Date 2024-12-31
[2025-01-07 05:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:32:05] Production.INFO: Date 2025-01-01
[2025-01-07 05:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:32:05] Production.INFO: Date 2025-01-02
[2025-01-07 05:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:32:05] Production.INFO: Date 2025-01-03
[2025-01-07 05:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:32:05] Production.INFO: Date 2025-01-04
[2025-01-07 05:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:32:05] Production.INFO: Date 2025-01-05
[2025-01-07 05:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:32:05] Production.INFO: Date 2025-01-06
[2025-01-07 05:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:32:05] Production.INFO: Date 2025-01-07
[2025-01-07 05:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:32:05] Production.INFO: Total Charge 0
[2025-01-07 05:32:05] Production.INFO: CreateAllLog End
[2025-01-07 05:32:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:32:06
[end_date_ymd] => 2025-01-07 05:32:06
[RateCDR] => 1
)
[2025-01-07 05:32:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 02:32:06' and `end` < '2025-01-07 05:32:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 05:32:06] Production.INFO: Account Balance End.
[2025-01-07 05:32:06] Production.ERROR: CronJobId end 12
[2025-01-07 05:32:06] Production.INFO: ==6230== Releasing lock...
[2025-01-07 05:32:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:32:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:32:11] Production.ERROR: CronJobId end10
[2025-01-07 05:32:11] Production.INFO: ==6228== Releasing lock...
[2025-01-07 05:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:32:13] Production.INFO: call_cost start
[2025-01-07 05:32:13] Production.INFO: call_cost end
[2025-01-07 05:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:32:14] Production.INFO: ==6224== Releasing lock...
[2025-01-07 05:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:32:19] Production.INFO: count ==68
[2025-01-07 05:32:19] Production.ERROR: pbx CDR StartTime 2025-01-07 02:32:06 - End Time 2025-01-07 05:32:06
[2025-01-07 05:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192779', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192779', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192779', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192779', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:32:19] Production.INFO: ProcessCDR(1,14192779,1,1,2)
[2025-01-07 05:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192779,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:32:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192779,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:32:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192779,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:32:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192779,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192779', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192779', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:32:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:32:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:32:23] Production.INFO: ==6232== Releasing lock...
[2025-01-07 05:32:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:32:23] Production.INFO: 28 MB #Memory Used#
[2025-01-07 10:33:01] Production.INFO: ==6290== Lock acquired, processing the job...
[2025-01-07 10:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:33:01] Production.INFO: neon service started
[2025-01-07 10:33:01] Production.INFO: neon service started
[2025-01-07 10:33:01] Production.INFO: ==6290== Releasing lock...
[2025-01-07 10:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:33:02] Production.INFO: ==6293== Lock acquired, processing the job...
[2025-01-07 05:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:33:02] Production.INFO: ==6295== Lock acquired, processing the job...
[2025-01-07 10:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:33:02] Production.INFO: ==6295== Releasing lock...
[2025-01-07 10:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:33:02] Production.INFO: ==6293== Releasing lock...
[2025-01-07 05:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:33:03] Production.INFO: ==6305== Lock acquired, processing the job...
[2025-01-07 05:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:33:03] Production.INFO: ==6307== Lock acquired, processing the job...
[2025-01-07 05:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:33:03] Production.INFO: Account Balance Start.
[2025-01-07 05:33:03] Production.INFO: CreateAllLog Start
[2025-01-07 05:33:03] Production.INFO: 117
[2025-01-07 05:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:33:03] Production.INFO: Date 2024-12-08
[2025-01-07 05:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:33:03] Production.INFO: Date 2024-12-09
[2025-01-07 05:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:33:03] Production.INFO: Date 2024-12-10
[2025-01-07 05:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:33:03] Production.INFO: Date 2024-12-11
[2025-01-07 05:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:33:03] Production.INFO: ==6297== Lock acquired, processing the job...
[2025-01-07 05:33:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10434 #Starts#
[2025-01-07 05:33:03] Production.INFO: ==6299== Lock acquired, processing the job...
[2025-01-07 05:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:33:03] Production.INFO: Date 2024-12-12
[2025-01-07 05:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:33:03] Production.INFO: -- Xero Api Check --
[2025-01-07 05:33:03] Production.INFO: ==6301== Lock acquired, processing the job...
[2025-01-07 05:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:33:03] Production.INFO: Date 2024-12-13
[2025-01-07 05:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:33:03] Production.INFO: ==6303== Lock acquired, processing the job...
[2025-01-07 05:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:33:03] Production.INFO: Date 2024-12-14
[2025-01-07 05:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:33:03] Production.ERROR: done
[2025-01-07 05:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:33:03] Production.INFO: Date 2024-12-15
[2025-01-07 05:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:33:03] Production.INFO: ==6309== Lock acquired, processing the job...
[2025-01-07 05:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:33:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 05:33:04] Production.INFO: count ==21
[2025-01-07 05:33:04] Production.ERROR: done
[2025-01-07 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-07 05:33:04] Production.INFO: count ==21
[2025-01-07 05:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192783') start
[2025-01-07 05:33:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:33:04] Production.INFO: ==6301== Releasing lock...
[2025-01-07 05:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192783') end
[2025-01-07 05:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:33:04] Production.INFO: 1
[2025-01-07 05:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:33:04] Production.INFO: ==6309== Releasing lock...
[2025-01-07 05:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:33:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:33:04] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 855
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.651168
[namelookup_time] => 0.270077
[connect_time] => 0.284064
[pretransfer_time] => 0.476048
[size_upload] => 82
[size_download] => 2755
[speed_download] => 4230
[speed_upload] => 125
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.65113
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.17
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 42648
)
[2025-01-07 05:33:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDU5ODQsImV4cCI6MTczNjI0NjI4NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ1OTg0LCJhdF9oYXNoIjoiMXdpUU1lZ2tfMkZ6dFM4SVZFY1B0dyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.ks9XthySc0JgdXYWrX8i8Pl4I1vn3Qm2adfEkrxJIeu9riTtv1k-kmlGJeoumQ2PNl1ADm6er82_zC7G0cekvFr6YOJ3C-Fu0duLc3AaEJzJgfRTSaJAy2xwo54sKMrNIJLBwzGghotuOm860rpyqTDVkpzXvk4gc1N67hiQ7tzEJLZB-AeilJFwoeBPvteTRgLEvs_nv6NQrJ61MwXpM0pREdbmjCWheqMaJYlviq_lDGFb80Gy5GVoyNi4ct0-YOafKPf2IRAO4M9UMCewTZLVXQwHbdDNFinWELG61B41u9ZFCprPC_QZR_6F42-FlRaiKa01EPdeoFLR4Da2Mg
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDU5ODQsImV4cCI6MTczNjI0Nzc4NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.JDFwwvGDSyr91uwAze9-UJOP6gb_YZLoZAA1AsQdoW8A1BFBANp5rz9sayiKUl6tiAgHxyfdSN-dolQ2ZNBNXEl2O9wna0ISf4oZzzVIo7iFKiH7HycQld0nXON9FTox1bG3SWWVcrBhcae1TyzkAggN8IAQApqPAWVOzc6L2TlXKVzjSEedfobBXmUNna0WL59VFXVnX1crwIAO5EyljRc1UjYMEDfbWkapbB_HszkHo4xdxvD_eUxPqqolIi5Aoi8wm7UOwgH27Z0-IFy7PqC-udT8S_YyciSUNyw965Y5JD_eNmst18jWcRNOkUL1PlCR8GRLvC38x8zpVnaGFw
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => ysz1IWfqI5ShxXGWsB7j8f6ttdV-t4oSpcJHVdXCU3o
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 05:33:04] Production.INFO: Date 2024-12-19
[2025-01-07 05:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:33:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDU5ODQsImV4cCI6MTczNjI0NjI4NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ1OTg0LCJhdF9oYXNoIjoiMXdpUU1lZ2tfMkZ6dFM4SVZFY1B0dyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.ks9XthySc0JgdXYWrX8i8Pl4I1vn3Qm2adfEkrxJIeu9riTtv1k-kmlGJeoumQ2PNl1ADm6er82_zC7G0cekvFr6YOJ3C-Fu0duLc3AaEJzJgfRTSaJAy2xwo54sKMrNIJLBwzGghotuOm860rpyqTDVkpzXvk4gc1N67hiQ7tzEJLZB-AeilJFwoeBPvteTRgLEvs_nv6NQrJ61MwXpM0pREdbmjCWheqMaJYlviq_lDGFb80Gy5GVoyNi4ct0-YOafKPf2IRAO4M9UMCewTZLVXQwHbdDNFinWELG61B41u9ZFCprPC_QZR_6F42-FlRaiKa01EPdeoFLR4Da2Mg
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDU5ODQsImV4cCI6MTczNjI0Nzc4NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.JDFwwvGDSyr91uwAze9-UJOP6gb_YZLoZAA1AsQdoW8A1BFBANp5rz9sayiKUl6tiAgHxyfdSN-dolQ2ZNBNXEl2O9wna0ISf4oZzzVIo7iFKiH7HycQld0nXON9FTox1bG3SWWVcrBhcae1TyzkAggN8IAQApqPAWVOzc6L2TlXKVzjSEedfobBXmUNna0WL59VFXVnX1crwIAO5EyljRc1UjYMEDfbWkapbB_HszkHo4xdxvD_eUxPqqolIi5Aoi8wm7UOwgH27Z0-IFy7PqC-udT8S_YyciSUNyw965Y5JD_eNmst18jWcRNOkUL1PlCR8GRLvC38x8zpVnaGFw
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => ysz1IWfqI5ShxXGWsB7j8f6ttdV-t4oSpcJHVdXCU3o
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 05:33:04] Production.INFO: AccountID 97
[2025-01-07 05:33:04] Production.INFO: AccountName Dominos 10416 (David Mills)
[2025-01-07 05:33:04] Production.INFO: Date 2024-12-20
[2025-01-07 05:33:04] Production.INFO: Checkcustomer
[2025-01-07 05:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:33:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010416%20%28David%20Mills%29"
[2025-01-07 05:33:04] Production.INFO: Date 2024-12-21
[2025-01-07 05:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:33:04] Production.INFO: Date 2024-12-22
[2025-01-07 05:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:33:05] Production.INFO: Date 2024-12-23
[2025-01-07 05:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:33:05] Production.INFO: Date 2024-12-24
[2025-01-07 05:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:33:05] Production.INFO: Date 2024-12-25
[2025-01-07 05:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:33:05] Production.INFO: Date 2024-12-26
[2025-01-07 05:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:33:05] Production.INFO: Date 2024-12-27
[2025-01-07 05:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:33:05] Production.INFO: Date 2024-12-28
[2025-01-07 05:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:33:05] Production.INFO: Date 2024-12-29
[2025-01-07 05:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:33:05] Production.INFO: Date 2024-12-30
[2025-01-07 05:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:33:05] Production.INFO: Date 2024-12-31
[2025-01-07 05:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:33:05
[end_date_ymd] => 2025-01-07 05:33:05
[RateCDR] => 1
)
[2025-01-07 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-07 02:33:05' and `end` < '2025-01-07 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-07 05:33:05] Production.INFO: Date 2025-01-01
[2025-01-07 05:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:33:05] Production.INFO: Date 2025-01-02
[2025-01-07 05:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:33:05] Production.INFO: Date 2025-01-03
[2025-01-07 05:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:33:05] Production.INFO: Date 2025-01-04
[2025-01-07 05:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:33:05] Production.INFO: Date 2025-01-05
[2025-01-07 05:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:33:05] Production.INFO: Date 2025-01-06
[2025-01-07 05:33:06] Production.INFO: Reseller ==> 0
[2025-01-07 05:33:06] Production.INFO: Date 2025-01-07
[2025-01-07 05:33:06] Production.INFO: Reseller ==> 0
[2025-01-07 05:33:06] Production.INFO: Total Charge 0
[2025-01-07 05:33:06] Production.INFO: CreateAllLog End
[2025-01-07 05:33:06] Production.INFO: Account Balance End.
[2025-01-07 05:33:06] Production.ERROR: CronJobId end 12
[2025-01-07 05:33:06] Production.INFO: ==6305== Releasing lock...
[2025-01-07 05:33:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:33:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:33:07] Production.INFO: Contact id print CheckCustomer Case===f7785be9-5933-4338-9f5d-47dda0ca47b7
[2025-01-07 05:33:07] Production.INFO: -- count --1
[2025-01-07 05:33:07] Production.INFO: AccountID 97
[2025-01-07 05:33:07] Production.INFO: AccountName Dominos 10416 (David Mills)
[2025-01-07 05:33:07] Production.INFO: Checkcustomer
[2025-01-07 05:33:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010416%20%28David%20Mills%29"
[2025-01-07 05:33:10] Production.INFO: Contact id print CheckCustomer Case===f7785be9-5933-4338-9f5d-47dda0ca47b7
[2025-01-07 05:33:10] Production.INFO: -- count --1
[2025-01-07 05:33:10] Production.INFO: AccountID 110
[2025-01-07 05:33:10] Production.INFO: AccountName Dominos 10422 (David Mills)
[2025-01-07 05:33:10] Production.INFO: Checkcustomer
[2025-01-07 05:33:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010422%20%28David%20Mills%29"
[2025-01-07 05:33:11] Production.ERROR: CronJobId end10
[2025-01-07 05:33:11] Production.INFO: ==6303== Releasing lock...
[2025-01-07 05:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:33:12] Production.INFO: Contact id print CheckCustomer Case===56e7aabd-b1e3-4807-a57f-483fba350c3e
[2025-01-07 05:33:12] Production.INFO: -- count --1
[2025-01-07 05:33:12] Production.INFO: AccountID 110
[2025-01-07 05:33:12] Production.INFO: AccountName Dominos 10422 (David Mills)
[2025-01-07 05:33:12] Production.INFO: Checkcustomer
[2025-01-07 05:33:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010422%20%28David%20Mills%29"
[2025-01-07 05:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:33:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:33:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:33:15] Production.INFO: call_cost start
[2025-01-07 05:33:15] Production.INFO: call_cost end
[2025-01-07 05:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:33:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:33:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:33:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:33:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:33:15] Production.INFO: ==6299== Releasing lock...
[2025-01-07 05:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:33:15] Production.INFO: Contact id print CheckCustomer Case===56e7aabd-b1e3-4807-a57f-483fba350c3e
[2025-01-07 05:33:15] Production.INFO: -- count --1
[2025-01-07 05:33:15] Production.INFO: AccountID 92
[2025-01-07 05:33:15] Production.INFO: AccountName Dominos 10443 (Ricky Singh)
[2025-01-07 05:33:15] Production.INFO: Checkcustomer
[2025-01-07 05:33:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010443%20%28Ricky%20Singh%29"
[2025-01-07 05:33:18] Production.INFO: Contact id print CheckCustomer Case===21dc8586-f1ab-42cc-9c64-94234cb72e84
[2025-01-07 05:33:18] Production.INFO: -- count --1
[2025-01-07 05:33:18] Production.INFO: AccountID 92
[2025-01-07 05:33:18] Production.INFO: AccountName Dominos 10443 (Ricky Singh)
[2025-01-07 05:33:18] Production.INFO: Checkcustomer
[2025-01-07 05:33:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010443%20%28Ricky%20Singh%29"
[2025-01-07 05:33:19] Production.INFO: count ==68
[2025-01-07 05:33:19] Production.ERROR: pbx CDR StartTime 2025-01-07 02:33:05 - End Time 2025-01-07 05:33:05
[2025-01-07 05:33:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192784', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192784', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192784', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192784', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:33:19] Production.INFO: ProcessCDR(1,14192784,1,1,2)
[2025-01-07 05:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192784,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:33:20] Production.INFO: Contact id print CheckCustomer Case===21dc8586-f1ab-42cc-9c64-94234cb72e84
[2025-01-07 05:33:20] Production.INFO: -- count --1
[2025-01-07 05:33:20] Production.INFO: -- Xero Add Inovice --
[2025-01-07 05:33:20] Production.INFO: CheckInvoice xerov2: INV11119
[2025-01-07 05:33:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11119
[2025-01-07 05:33:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192784,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:33:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192784,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192784,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192784', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192784', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:33:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:33:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:33:22] Production.INFO: ==6307== Releasing lock...
[2025-01-07 05:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:33:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 05:33:22] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:33:22] Production.INFO: Invoice SubTotal 181.740000
[2025-01-07 05:33:22] Production.INFO: Invoice DetTotal 181.74
[2025-01-07 05:33:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010416%20%28David%20Mills%29"
[2025-01-07 05:33:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:33:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:33:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:33:34] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (9058564244 - 4585 Highway 7 Unit 18 Woodbridge, ON L4L 9T8 CANADA)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "VDSL Internet Service (4585 Highway 7, Unit 18 Woodbridge, ON L4L 9T8 CANADA)",Quantity : 1,UnitAmount : 72.660000,LineAmount : 72.660000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "LTE Internet Failover Service (4585 Highway 7, Unit 18 Woodbridge, ON L4L 9T8 CANADA)",Quantity : 1,UnitAmount : 51.580000,LineAmount : 51.580000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 4,UnitAmount : -5.000000,LineAmount : -20.000000}
[2025-01-07 05:33:37] Production.INFO: ==== result =====
[2025-01-07 05:33:37] Production.INFO: {
"Id": "109fa395-9cc0-4a8e-a76b-072563cb76e1",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736246017537)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "d50f341a-23d5-4395-b18d-117252a6b595",
"InvoiceNumber": "INV11119",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 205.38,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "f7785be9-5933-4338-9f5d-47dda0ca47b7",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10416 (David Mills)",
"FirstName": "David",
"LastName": "Mills",
"EmailAddress": "david@teamtenfold.com",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1580833879373+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-11-29T00:00:00",
"Date": "\/Date(1732838400000+0000)\/",
"DueDateString": "2024-12-29T00:00:00",
"DueDate": "\/Date(1735430400000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "5868726a-84ba-4340-a8d5-5cbb7c085f8f",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (9058564244 - 4585 Highway 7 Unit 18 Woodbridge, ON L4L 9T8 CANADA)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "b0e8952f-8c25-483e-b837-657f5f916141",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "VDSL Internet Service (4585 Highway 7, Unit 18 Woodbridge, ON L4L 9T8 CANADA)",
"UnitAmount": 72.66,
"TaxType": "TAX020",
"TaxAmount": 9.45,
"LineAmount": 72.66,
"AccountCode": "204",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "811cf925-f7aa-42dc-a6e9-cd8aa38d175f",
"AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "LTE Internet Failover Service (4585 Highway 7, Unit 18 Woodbridge, ON L4L 9T8 CANADA)",
"UnitAmount": 51.58,
"TaxType": "TAX020",
"TaxAmount": 6.71,
"LineAmount": 51.58,
"AccountCode": "204",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "23028ec0-7cd4-41c3-86d1-10013c730b4c",
"AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -5.00,
"TaxType": "TAX020",
"TaxAmount": -2.60,
"LineAmount": -20.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 4.0000,
"DiscountRate": 0.00,
"LineItemID": "632d2021-13ec-4bc0-be2d-6ea39ff8151e",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 181.74,
"TotalTax": 23.64,
"Total": 205.38,
"UpdatedDateUTC": "\/Date(1736246017473+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:33:37] Production.INFO: -- Create Invoice id --d50f341a-23d5-4395-b18d-117252a6b595
[2025-01-07 05:33:37] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:33:37] Production.INFO: CheckInvoice xerov2: INV11276
[2025-01-07 05:33:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11276
[2025-01-07 05:33:40] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:33:40] Production.INFO: Invoice SubTotal 181.740000
[2025-01-07 05:33:40] Production.INFO: Invoice DetTotal 181.74
[2025-01-07 05:33:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010416%20%28David%20Mills%29"
[2025-01-07 05:33:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:33:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:33:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:33:50] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (9058564244 - 4585 Highway 7 Unit 18 Woodbridge, ON L4L 9T8 CANADA)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "VDSL Internet Service (4585 Highway 7, Unit 18 Woodbridge, ON L4L 9T8 CANADA)",Quantity : 1,UnitAmount : 72.660000,LineAmount : 72.660000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "LTE Internet Failover Service (4585 Highway 7, Unit 18 Woodbridge, ON L4L 9T8 CANADA)",Quantity : 1,UnitAmount : 51.580000,LineAmount : 51.580000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 4,UnitAmount : -5.000000,LineAmount : -20.000000}
[2025-01-07 05:33:53] Production.INFO: ==== result =====
[2025-01-07 05:33:53] Production.INFO: {
"Id": "05b67bff-51ec-4e9e-bf20-342d3fa85225",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736246033145)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "d55b5442-4c8c-4049-a4e0-dca8ad1f55af",
"InvoiceNumber": "INV11276",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 205.38,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "f7785be9-5933-4338-9f5d-47dda0ca47b7",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10416 (David Mills)",
"FirstName": "David",
"LastName": "Mills",
"EmailAddress": "david@teamtenfold.com",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1580833879373+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-29T00:00:00",
"Date": "\/Date(1735430400000+0000)\/",
"DueDateString": "2025-01-28T00:00:00",
"DueDate": "\/Date(1738022400000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "b6a6267a-4113-4d00-a707-64a3f1f449ba",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (9058564244 - 4585 Highway 7 Unit 18 Woodbridge, ON L4L 9T8 CANADA)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "0c20251d-bd56-451a-bda6-72e4110cc53c",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "VDSL Internet Service (4585 Highway 7, Unit 18 Woodbridge, ON L4L 9T8 CANADA)",
"UnitAmount": 72.66,
"TaxType": "TAX020",
"TaxAmount": 9.45,
"LineAmount": 72.66,
"AccountCode": "204",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "4dfcc729-d7ac-4320-91ce-c1250a6844c0",
"AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "LTE Internet Failover Service (4585 Highway 7, Unit 18 Woodbridge, ON L4L 9T8 CANADA)",
"UnitAmount": 51.58,
"TaxType": "TAX020",
"TaxAmount": 6.71,
"LineAmount": 51.58,
"AccountCode": "204",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "df7d1ea2-e878-47a2-919a-fd7fcde79fd4",
"AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -5.00,
"TaxType": "TAX020",
"TaxAmount": -2.60,
"LineAmount": -20.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 4.0000,
"DiscountRate": 0.00,
"LineItemID": "4190bd5e-d1c2-4a6e-b7d2-4e68b9cb323a",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 181.74,
"TotalTax": 23.64,
"Total": 205.38,
"UpdatedDateUTC": "\/Date(1736246033067+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:33:53] Production.INFO: -- Create Invoice id --d55b5442-4c8c-4049-a4e0-dca8ad1f55af
[2025-01-07 05:33:53] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:33:53] Production.INFO: CheckInvoice xerov2: INV11105
[2025-01-07 05:33:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11105
[2025-01-07 05:33:55] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:33:55] Production.INFO: Invoice SubTotal 70.820000
[2025-01-07 05:33:55] Production.INFO: Invoice DetTotal 70.82
[2025-01-07 05:33:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010422%20%28David%20Mills%29"
[2025-01-07 05:33:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:34:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 10:34:01] Production.INFO: ==6382== Lock acquired, processing the job...
[2025-01-07 10:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:34:02] Production.INFO: neon service started
[2025-01-07 10:34:02] Production.INFO: neon service started
[2025-01-07 10:34:02] Production.INFO: ==6382== Releasing lock...
[2025-01-07 10:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:34:02] Production.INFO: ==6384== Lock acquired, processing the job...
[2025-01-07 05:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:34:02] Production.INFO: ==6384== Releasing lock...
[2025-01-07 05:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:34:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 10:34:02] Production.INFO: ==6386== Lock acquired, processing the job...
[2025-01-07 10:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:34:02] Production.INFO: ==6386== Releasing lock...
[2025-01-07 10:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:34:03] Production.INFO: ==6394== Lock acquired, processing the job...
[2025-01-07 05:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:34:03] Production.INFO: ==6398== Lock acquired, processing the job...
[2025-01-07 05:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:34:03] Production.INFO: ==6388== Lock acquired, processing the job...
[2025-01-07 05:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:34:03] Production.INFO: ==6390== Lock acquired, processing the job...
[2025-01-07 05:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:34:03] Production.INFO: ==6396== Lock acquired, processing the job...
[2025-01-07 05:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:34:03] Production.INFO: ==6400== Lock acquired, processing the job...
[2025-01-07 05:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:34:03] Production.INFO: Account Balance Start.
[2025-01-07 05:34:03] Production.INFO: CreateAllLog Start
[2025-01-07 05:34:04] Production.INFO: 117
[2025-01-07 05:34:04] Production.ERROR: done
[2025-01-07 05:34:04] Production.INFO: Date 2024-12-08
[2025-01-07 05:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:34:04] Production.INFO: count ==21
[2025-01-07 05:34:04] Production.INFO: Date 2024-12-09
[2025-01-07 05:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:34:04] Production.INFO: count ==21
[2025-01-07 05:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192787') start
[2025-01-07 05:34:04] Production.ERROR: done
[2025-01-07 05:34:04] Production.INFO: Date 2024-12-10
[2025-01-07 05:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:34:04] Production.INFO: ==6390== Releasing lock...
[2025-01-07 05:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192787') end
[2025-01-07 05:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:34:04] Production.INFO: 1
[2025-01-07 05:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:34:04] Production.INFO: Date 2024-12-11
[2025-01-07 05:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:34:04] Production.INFO: ==6400== Releasing lock...
[2025-01-07 05:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:34:04] Production.INFO: Date 2024-12-12
[2025-01-07 05:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:34:04] Production.INFO: Date 2024-12-13
[2025-01-07 05:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:34:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:34:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:34:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:34:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:34:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:34:04] Production.INFO: Date 2024-12-19
[2025-01-07 05:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:34:04] Production.INFO: Date 2024-12-20
[2025-01-07 05:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:34:04] Production.INFO: Date 2024-12-21
[2025-01-07 05:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:34:04] Production.INFO: Date 2024-12-22
[2025-01-07 05:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:34:04] Production.INFO: Date 2024-12-23
[2025-01-07 05:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:34:04] Production.INFO: Date 2024-12-24
[2025-01-07 05:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:34:05] Production.INFO: Date 2024-12-25
[2025-01-07 05:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:34:05] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (19059510999 - 15 Allan Drive Bolton, ON L7E 2B5 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service",Quantity : 4,UnitAmount : -1.670000,LineAmount : -6.680000}
[2025-01-07 05:34:05] Production.INFO: Date 2024-12-26
[2025-01-07 05:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:34:05] Production.INFO: Date 2024-12-27
[2025-01-07 05:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:34:05] Production.INFO: Date 2024-12-28
[2025-01-07 05:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:34:05] Production.INFO: Date 2024-12-29
[2025-01-07 05:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:34:05] Production.INFO: Date 2024-12-30
[2025-01-07 05:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:34:05] Production.INFO: Date 2024-12-31
[2025-01-07 05:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:34:05
[end_date_ymd] => 2025-01-07 05:34:05
[RateCDR] => 1
)
[2025-01-07 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-07 02:34:05' and `end` < '2025-01-07 05:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 05:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:34:05] Production.INFO: Date 2025-01-01
[2025-01-07 05:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:34:05] Production.INFO: Date 2025-01-02
[2025-01-07 05:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:34:05] Production.INFO: Date 2025-01-03
[2025-01-07 05:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:34:05] Production.INFO: Date 2025-01-04
[2025-01-07 05:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:34:05] Production.INFO: Date 2025-01-05
[2025-01-07 05:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:34:05] Production.INFO: Date 2025-01-06
[2025-01-07 05:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:34:05] Production.INFO: Date 2025-01-07
[2025-01-07 05:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:34:05] Production.INFO: Total Charge 0
[2025-01-07 05:34:05] Production.INFO: CreateAllLog End
[2025-01-07 05:34:05] Production.INFO: Account Balance End.
[2025-01-07 05:34:05] Production.ERROR: CronJobId end 12
[2025-01-07 05:34:05] Production.INFO: ==6396== Releasing lock...
[2025-01-07 05:34:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:34:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:34:07] Production.INFO: ==== result =====
[2025-01-07 05:34:07] Production.INFO: {
"Id": "3904182c-eaf5-492b-bf22-aa3c6d2cf41e",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736246047663)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "96fa101b-10f4-416d-8b53-486449b25d67",
"InvoiceNumber": "INV11105",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 80.03,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "56e7aabd-b1e3-4807-a57f-483fba350c3e",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10422 (David Mills)",
"FirstName": "David",
"LastName": "Mills",
"EmailAddress": "david@teamtenfold.com",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1580835623880+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-11-25T00:00:00",
"Date": "\/Date(1732492800000+0000)\/",
"DueDateString": "2024-12-25T00:00:00",
"DueDate": "\/Date(1735084800000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "11fe6b62-d6ff-4481-9d79-03c67ec9675a",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (19059510999 - 15 Allan Drive Bolton, ON L7E 2B5 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "f8ad369e-c2ed-4fa6-aba4-e9ecc2ffc8da",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -1.67,
"TaxType": "TAX020",
"TaxAmount": -0.87,
"LineAmount": -6.68,
"AccountCode": "303",
"Tracking": [],
"Quantity": 4.0000,
"DiscountRate": 0.00,
"LineItemID": "17c8f37e-ee89-4a37-89e4-0fffa400efc3",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 70.82,
"TotalTax": 9.21,
"Total": 80.03,
"UpdatedDateUTC": "\/Date(1736246047617+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:34:08] Production.INFO: -- Create Invoice id --96fa101b-10f4-416d-8b53-486449b25d67
[2025-01-07 05:34:08] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:34:08] Production.INFO: CheckInvoice xerov2: INV11262
[2025-01-07 05:34:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11262
[2025-01-07 05:34:10] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:34:10] Production.INFO: Invoice SubTotal 70.820000
[2025-01-07 05:34:10] Production.INFO: Invoice DetTotal 70.82
[2025-01-07 05:34:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010422%20%28David%20Mills%29"
[2025-01-07 05:34:11] Production.ERROR: CronJobId end10
[2025-01-07 05:34:11] Production.INFO: ==6394== Releasing lock...
[2025-01-07 05:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:34:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:34:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:34:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:34:14] Production.INFO: call_cost start
[2025-01-07 05:34:14] Production.INFO: call_cost end
[2025-01-07 05:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:34:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:34:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:34:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:34:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:34:15] Production.INFO: ==6388== Releasing lock...
[2025-01-07 05:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:34:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:34:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:34:19] Production.INFO: count ==68
[2025-01-07 05:34:19] Production.ERROR: pbx CDR StartTime 2025-01-07 02:34:05 - End Time 2025-01-07 05:34:05
[2025-01-07 05:34:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192789', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192789', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192789', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192789', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:34:19] Production.INFO: ProcessCDR(1,14192789,1,1,2)
[2025-01-07 05:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192789,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:34:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192789,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:34:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192789,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:34:21] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (19059510999 - 15 Allan Drive Bolton, ON L7E 2B5 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service",Quantity : 4,UnitAmount : -1.670000,LineAmount : -6.680000}
[2025-01-07 05:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192789,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192789', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192789', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:34:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:34:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:34:22] Production.INFO: ==6398== Releasing lock...
[2025-01-07 05:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:34:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 05:34:23] Production.INFO: ==== result =====
[2025-01-07 05:34:23] Production.INFO: {
"Id": "851d9855-37d4-49c3-85c0-6c782808e8bb",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736246063786)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "48221bc2-074b-49f0-a362-f9c25e35a054",
"InvoiceNumber": "INV11262",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 80.03,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "56e7aabd-b1e3-4807-a57f-483fba350c3e",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10422 (David Mills)",
"FirstName": "David",
"LastName": "Mills",
"EmailAddress": "david@teamtenfold.com",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1580835623880+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-25T00:00:00",
"Date": "\/Date(1735084800000+0000)\/",
"DueDateString": "2025-01-24T00:00:00",
"DueDate": "\/Date(1737676800000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "7bf86334-0322-4453-81ab-32be9cf6e3c0",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (19059510999 - 15 Allan Drive Bolton, ON L7E 2B5 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "9d5b960f-f0e1-4e70-af62-481be7cb5e3e",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -1.67,
"TaxType": "TAX020",
"TaxAmount": -0.87,
"LineAmount": -6.68,
"AccountCode": "303",
"Tracking": [],
"Quantity": 4.0000,
"DiscountRate": 0.00,
"LineItemID": "9b87f777-af22-4341-be1a-fd67effe8b6b",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 70.82,
"TotalTax": 9.21,
"Total": 80.03,
"UpdatedDateUTC": "\/Date(1736246063740+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:34:23] Production.INFO: -- Create Invoice id --48221bc2-074b-49f0-a362-f9c25e35a054
[2025-01-07 05:34:23] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:34:23] Production.INFO: CheckInvoice xerov2: INV11118
[2025-01-07 05:34:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11118
[2025-01-07 05:34:26] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:34:26] Production.INFO: Invoice SubTotal 170.000000
[2025-01-07 05:34:26] Production.INFO: Invoice DetTotal 170
[2025-01-07 05:34:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010443%20%28Ricky%20Singh%29"
[2025-01-07 05:34:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:34:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:34:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:34:35] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 60.000000,LineAmount : 60.000000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "VDSL Internet Service (54 Brock St. W. Unit 2 Uxbridge, ON L9P 1P4 Canada)",Quantity : 1,UnitAmount : 73.420000,LineAmount : 73.420000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "LTE Internet Failover Service (54 Brock St. W. Unit 2 Uxbridge, ON L9P 1P4 Canada)",Quantity : 1,UnitAmount : 51.580000,LineAmount : 51.580000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service",Quantity : 3,UnitAmount : -5.000000,LineAmount : -15.000000}
[2025-01-07 05:34:37] Production.INFO: ==== result =====
[2025-01-07 05:34:37] Production.INFO: {
"Id": "9c1d64f7-28a8-4200-b87a-b3964b653a94",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736246077912)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "728d2dfd-0f01-4d69-b05a-26a43f397e14",
"InvoiceNumber": "INV11118",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 192.10,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "21dc8586-f1ab-42cc-9c64-94234cb72e84",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10443 (Ricky Singh)",
"FirstName": "Ricky",
"LastName": "Singh",
"EmailAddress": "ricky_bhawar@yahoo.com",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1562267972817+0000)\/",
"ContactGroups": [
{
"ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58",
"Name": "Benjamin's Customers",
"Status": "ACTIVE",
"Contacts": [],
"HasValidationErrors": false
}
],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-11-29T00:00:00",
"Date": "\/Date(1732838400000+0000)\/",
"DueDateString": "2024-12-29T00:00:00",
"DueDate": "\/Date(1735430400000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 60.00,
"TaxType": "TAX020",
"TaxAmount": 7.80,
"LineAmount": 60.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "20314d23-d22f-4bc4-a2a8-f5c42b5c6570",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "VDSL Internet Service (54 Brock St. W. Unit 2 Uxbridge, ON L9P 1P4 Canada)",
"UnitAmount": 73.42,
"TaxType": "TAX020",
"TaxAmount": 9.54,
"LineAmount": 73.42,
"AccountCode": "204",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "9a552c6b-8b6c-4e2e-815e-f7a752c39426",
"AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "LTE Internet Failover Service (54 Brock St. W. Unit 2 Uxbridge, ON L9P 1P4 Canada)",
"UnitAmount": 51.58,
"TaxType": "TAX020",
"TaxAmount": 6.71,
"LineAmount": 51.58,
"AccountCode": "204",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "4bd6f3e4-2b0a-462b-a29e-3f8841fcf8fe",
"AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -5.00,
"TaxType": "TAX020",
"TaxAmount": -1.95,
"LineAmount": -15.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 3.0000,
"DiscountRate": 0.00,
"LineItemID": "97386e0b-4a38-49be-800c-db5d0c037b43",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 170.00,
"TotalTax": 22.10,
"Total": 192.10,
"UpdatedDateUTC": "\/Date(1736246077867+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:34:37] Production.INFO: -- Create Invoice id --728d2dfd-0f01-4d69-b05a-26a43f397e14
[2025-01-07 05:34:37] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:34:37] Production.INFO: CheckInvoice xerov2: INV11275
[2025-01-07 05:34:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11275
[2025-01-07 05:34:41] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:34:41] Production.INFO: Invoice SubTotal 170.000000
[2025-01-07 05:34:41] Production.INFO: Invoice DetTotal 170
[2025-01-07 05:34:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010443%20%28Ricky%20Singh%29"
[2025-01-07 05:34:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:34:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:34:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:34:51] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 60.000000,LineAmount : 60.000000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "VDSL Internet Service (54 Brock St. W. Unit 2 Uxbridge, ON L9P 1P4 Canada)",Quantity : 1,UnitAmount : 73.420000,LineAmount : 73.420000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "LTE Internet Failover Service (54 Brock St. W. Unit 2 Uxbridge, ON L9P 1P4 Canada)",Quantity : 1,UnitAmount : 51.580000,LineAmount : 51.580000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service",Quantity : 3,UnitAmount : -5.000000,LineAmount : -15.000000}
[2025-01-07 05:34:53] Production.INFO: ==== result =====
[2025-01-07 05:34:53] Production.INFO: {
"Id": "032ee8fc-ebda-487e-9035-dbc00efd03db",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736246093931)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "88b035f9-7061-47da-959c-029393a99067",
"InvoiceNumber": "INV11275",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 192.10,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "21dc8586-f1ab-42cc-9c64-94234cb72e84",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10443 (Ricky Singh)",
"FirstName": "Ricky",
"LastName": "Singh",
"EmailAddress": "ricky_bhawar@yahoo.com",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1562267972817+0000)\/",
"ContactGroups": [
{
"ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58",
"Name": "Benjamin's Customers",
"Status": "ACTIVE",
"Contacts": [],
"HasValidationErrors": false
}
],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-29T00:00:00",
"Date": "\/Date(1735430400000+0000)\/",
"DueDateString": "2025-01-28T00:00:00",
"DueDate": "\/Date(1738022400000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 60.00,
"TaxType": "TAX020",
"TaxAmount": 7.80,
"LineAmount": 60.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "6dbf4526-eeef-438e-bc4f-489e468cb9eb",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "VDSL Internet Service (54 Brock St. W. Unit 2 Uxbridge, ON L9P 1P4 Canada)",
"UnitAmount": 73.42,
"TaxType": "TAX020",
"TaxAmount": 9.54,
"LineAmount": 73.42,
"AccountCode": "204",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "0e040731-c60b-4db3-8773-90949621536e",
"AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "LTE Internet Failover Service (54 Brock St. W. Unit 2 Uxbridge, ON L9P 1P4 Canada)",
"UnitAmount": 51.58,
"TaxType": "TAX020",
"TaxAmount": 6.71,
"LineAmount": 51.58,
"AccountCode": "204",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "b2c18a5a-aacb-4bda-be9f-dea8e3c01ae6",
"AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -5.00,
"TaxType": "TAX020",
"TaxAmount": -1.95,
"LineAmount": -15.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 3.0000,
"DiscountRate": 0.00,
"LineItemID": "6e0a5a44-28f2-4108-bc41-d2a82f44e942",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 170.00,
"TotalTax": 22.10,
"Total": 192.10,
"UpdatedDateUTC": "\/Date(1736246093883+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:34:53] Production.INFO: -- Create Invoice id --88b035f9-7061-47da-959c-029393a99067
[2025-01-07 05:34:53] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:34:53] Production.INFO: -- Xero End Inovice --
[2025-01-07 05:34:53] Production.INFO: ==6297== Releasing lock...
[2025-01-07 05:34:53] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10434 #Stops#
[2025-01-07 05:34:53] Production.INFO: 32.5 MB #Memory Used#
[2025-01-07 10:35:01] Production.INFO: ==6516== Lock acquired, processing the job...
[2025-01-07 10:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:35:01] Production.INFO: neon service started
[2025-01-07 10:35:01] Production.INFO: neon service started
[2025-01-07 10:35:01] Production.INFO: ==6516== Releasing lock...
[2025-01-07 10:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:35:02] Production.INFO: ==6518== Lock acquired, processing the job...
[2025-01-07 05:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:35:02] Production.INFO: ==6520== Lock acquired, processing the job...
[2025-01-07 10:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:35:02] Production.INFO: ==6520== Releasing lock...
[2025-01-07 10:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:35:02] Production.INFO: ==6518== Releasing lock...
[2025-01-07 05:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:35:03] Production.INFO: ==6527== Lock acquired, processing the job...
[2025-01-07 05:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:35:03] Production.INFO: ==6533== Lock acquired, processing the job...
[2025-01-07 05:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:35:03] Production.INFO: ==6523== Lock acquired, processing the job...
[2025-01-07 05:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:35:03] Production.INFO: ==6525== Lock acquired, processing the job...
[2025-01-07 05:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:35:03] Production.INFO: count ==21
[2025-01-07 05:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:35:03] Production.INFO: count ==21
[2025-01-07 05:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192791') start
[2025-01-07 05:35:03] Production.INFO: ==6529== Lock acquired, processing the job...
[2025-01-07 05:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:35:03] Production.INFO: ==6531== Lock acquired, processing the job...
[2025-01-07 05:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192791') end
[2025-01-07 05:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:35:03] Production.INFO: 1
[2025-01-07 05:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:35:03] Production.INFO: ==6533== Releasing lock...
[2025-01-07 05:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:35:03] Production.INFO: Account Balance Start.
[2025-01-07 05:35:03] Production.INFO: CreateAllLog Start
[2025-01-07 05:35:03] Production.INFO: 117
[2025-01-07 05:35:03] Production.INFO: ==6525== Releasing lock...
[2025-01-07 05:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:35:03] Production.INFO: Date 2024-12-08
[2025-01-07 05:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:35:03] Production.INFO: Date 2024-12-09
[2025-01-07 05:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:35:03] Production.INFO: Date 2024-12-10
[2025-01-07 05:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:35:03] Production.INFO: Date 2024-12-11
[2025-01-07 05:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:35:04] Production.ERROR: done
[2025-01-07 05:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:35:04] Production.INFO: Date 2024-12-12
[2025-01-07 05:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:35:04] Production.INFO: Date 2024-12-13
[2025-01-07 05:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:35:04] Production.ERROR: done
[2025-01-07 05:35:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:35:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:35:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:35:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:35:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:35:04] Production.INFO: Date 2024-12-19
[2025-01-07 05:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:35:04] Production.INFO: Date 2024-12-20
[2025-01-07 05:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:35:04] Production.INFO: Date 2024-12-21
[2025-01-07 05:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:35:04] Production.INFO: Date 2024-12-22
[2025-01-07 05:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:35:04] Production.INFO: Date 2024-12-23
[2025-01-07 05:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:35:04] Production.INFO: Date 2024-12-24
[2025-01-07 05:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:35:04] Production.INFO: Date 2024-12-25
[2025-01-07 05:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:35:04] Production.INFO: Date 2024-12-26
[2025-01-07 05:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:35:04] Production.INFO: Date 2024-12-27
[2025-01-07 05:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:35:04] Production.INFO: Date 2024-12-28
[2025-01-07 05:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:35:04] Production.INFO: Date 2024-12-29
[2025-01-07 05:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:35:04] Production.INFO: Date 2024-12-30
[2025-01-07 05:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:35:04] Production.INFO: Date 2024-12-31
[2025-01-07 05:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:35:05] Production.INFO: Date 2025-01-01
[2025-01-07 05:35:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:35:05] Production.INFO: Date 2025-01-02
[2025-01-07 05:35:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:35:05] Production.INFO: Date 2025-01-03
[2025-01-07 05:35:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:35:05] Production.INFO: Date 2025-01-04
[2025-01-07 05:35:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:35:05] Production.INFO: Date 2025-01-05
[2025-01-07 05:35:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:35:05] Production.INFO: Date 2025-01-06
[2025-01-07 05:35:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:35:05] Production.INFO: Date 2025-01-07
[2025-01-07 05:35:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:35:05
[end_date_ymd] => 2025-01-07 05:35:05
[RateCDR] => 1
)
[2025-01-07 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-07 02:35:05' and `end` < '2025-01-07 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-07 05:35:05] Production.INFO: Total Charge 0
[2025-01-07 05:35:05] Production.INFO: CreateAllLog End
[2025-01-07 05:35:05] Production.INFO: Account Balance End.
[2025-01-07 05:35:05] Production.ERROR: CronJobId end 12
[2025-01-07 05:35:05] Production.INFO: ==6529== Releasing lock...
[2025-01-07 05:35:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:35:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:35:10] Production.ERROR: CronJobId end10
[2025-01-07 05:35:10] Production.INFO: ==6527== Releasing lock...
[2025-01-07 05:35:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:35:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:35:13] Production.INFO: call_cost start
[2025-01-07 05:35:13] Production.INFO: call_cost end
[2025-01-07 05:35:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:35:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:35:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:35:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:35:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:35:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:35:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:35:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:35:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:35:13] Production.INFO: ==6523== Releasing lock...
[2025-01-07 05:35:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:35:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:35:18] Production.INFO: count ==68
[2025-01-07 05:35:18] Production.ERROR: pbx CDR StartTime 2025-01-07 02:35:05 - End Time 2025-01-07 05:35:05
[2025-01-07 05:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192794', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192794', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192794', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192794', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:35:18] Production.INFO: ProcessCDR(1,14192794,1,1,2)
[2025-01-07 05:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192794,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192794,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192794,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192794,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192794', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192794', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:35:21] Production.INFO: ==6531== Releasing lock...
[2025-01-07 05:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:35:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 10:36:01] Production.INFO: ==6589== Lock acquired, processing the job...
[2025-01-07 10:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:36:01] Production.INFO: neon service started
[2025-01-07 10:36:01] Production.INFO: neon service started
[2025-01-07 10:36:01] Production.INFO: ==6589== Releasing lock...
[2025-01-07 10:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:36:02] Production.INFO: ==6594== Lock acquired, processing the job...
[2025-01-07 10:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:36:02] Production.INFO: ==6594== Releasing lock...
[2025-01-07 10:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:36:02] Production.INFO: ==6592== Lock acquired, processing the job...
[2025-01-07 05:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:36:02] Production.INFO: ==6592== Releasing lock...
[2025-01-07 05:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:36:03] Production.INFO: ==6596== Lock acquired, processing the job...
[2025-01-07 05:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:36:03] Production.INFO: ==6598== Lock acquired, processing the job...
[2025-01-07 05:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:36:03] Production.INFO: ==6606== Lock acquired, processing the job...
[2025-01-07 05:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 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-07 05:36:03] Production.INFO: count ==21
[2025-01-07 05:36:03] Production.INFO: ==6598== Releasing lock...
[2025-01-07 05:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 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-07 05:36:03] Production.INFO: count ==21
[2025-01-07 05:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192797') start
[2025-01-07 05:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192797') end
[2025-01-07 05:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:36:04] Production.INFO: 1
[2025-01-07 05:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:36:04] Production.INFO: ==6600== Lock acquired, processing the job...
[2025-01-07 05:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:36:04] Production.INFO: ==6606== Releasing lock...
[2025-01-07 05:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:36:04] Production.INFO: ==6602== Lock acquired, processing the job...
[2025-01-07 05:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:36:04] Production.INFO: ==6604== Lock acquired, processing the job...
[2025-01-07 05:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:36:04] Production.INFO: Account Balance Start.
[2025-01-07 05:36:04] Production.INFO: CreateAllLog Start
[2025-01-07 05:36:04] Production.INFO: 117
[2025-01-07 05:36:04] Production.INFO: Date 2024-12-08
[2025-01-07 05:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:36:04] Production.INFO: Date 2024-12-09
[2025-01-07 05:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:36:04] Production.INFO: Date 2024-12-10
[2025-01-07 05:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:36:04] Production.INFO: Date 2024-12-11
[2025-01-07 05:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:36:04] Production.ERROR: done
[2025-01-07 05:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:36:04] Production.INFO: Date 2024-12-12
[2025-01-07 05:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:36:04] Production.INFO: Date 2024-12-13
[2025-01-07 05:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:36:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:36:04] Production.ERROR: done
[2025-01-07 05:36:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:36:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:36:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:36:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:36:05] Production.INFO: Date 2024-12-19
[2025-01-07 05:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:36:05] Production.INFO: Date 2024-12-20
[2025-01-07 05:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:36:05] Production.INFO: Date 2024-12-21
[2025-01-07 05:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:36:05] Production.INFO: Date 2024-12-22
[2025-01-07 05:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:36:05] Production.INFO: Date 2024-12-23
[2025-01-07 05:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:36:05] Production.INFO: Date 2024-12-24
[2025-01-07 05:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:36:05] Production.INFO: Date 2024-12-25
[2025-01-07 05:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:36:05] Production.INFO: Date 2024-12-26
[2025-01-07 05:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:36:05] Production.INFO: Date 2024-12-27
[2025-01-07 05:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:36:05] Production.INFO: Date 2024-12-28
[2025-01-07 05:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:36:05] Production.INFO: Date 2024-12-29
[2025-01-07 05:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:36:05] Production.INFO: Date 2024-12-30
[2025-01-07 05:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:36:05] Production.INFO: Date 2024-12-31
[2025-01-07 05:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:36:05] Production.INFO: Date 2025-01-01
[2025-01-07 05:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:36:05] Production.INFO: Date 2025-01-02
[2025-01-07 05:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:36:05] Production.INFO: Date 2025-01-03
[2025-01-07 05:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:36:05] Production.INFO: Date 2025-01-04
[2025-01-07 05:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:36:05] Production.INFO: Date 2025-01-05
[2025-01-07 05:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:36:05] Production.INFO: Date 2025-01-06
[2025-01-07 05:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:36:05] Production.INFO: Date 2025-01-07
[2025-01-07 05:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:36:05
[end_date_ymd] => 2025-01-07 05:36:05
[RateCDR] => 1
)
[2025-01-07 05:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 02:36:05' and `end` < '2025-01-07 05:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 05:36:05] Production.INFO: Total Charge 0
[2025-01-07 05:36:05] Production.INFO: CreateAllLog End
[2025-01-07 05:36:05] Production.INFO: Account Balance End.
[2025-01-07 05:36:05] Production.ERROR: CronJobId end 12
[2025-01-07 05:36:05] Production.INFO: ==6602== Releasing lock...
[2025-01-07 05:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:36:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:36:12] Production.ERROR: CronJobId end10
[2025-01-07 05:36:12] Production.INFO: ==6600== Releasing lock...
[2025-01-07 05:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:36:14] Production.INFO: call_cost start
[2025-01-07 05:36:14] Production.INFO: call_cost end
[2025-01-07 05:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:36:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:36:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:36:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:36:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:36:15] Production.INFO: ==6596== Releasing lock...
[2025-01-07 05:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:36:19] Production.INFO: count ==68
[2025-01-07 05:36:19] Production.ERROR: pbx CDR StartTime 2025-01-07 02:36:05 - End Time 2025-01-07 05:36:05
[2025-01-07 05:36:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192799', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192799', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192799', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192799', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:36:19] Production.INFO: ProcessCDR(1,14192799,1,1,2)
[2025-01-07 05:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192799,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192799,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192799,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192799,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192799', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192799', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:36:22] Production.INFO: ==6604== Releasing lock...
[2025-01-07 05:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:36:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 10:37:02] Production.INFO: ==6660== Lock acquired, processing the job...
[2025-01-07 10:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:37:02] Production.INFO: neon service started
[2025-01-07 10:37:02] Production.INFO: neon service started
[2025-01-07 10:37:02] Production.INFO: ==6660== Releasing lock...
[2025-01-07 10:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:37:02] Production.INFO: ==6664== Lock acquired, processing the job...
[2025-01-07 10:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:37:02] Production.INFO: ==6664== Releasing lock...
[2025-01-07 10:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:37:02] Production.INFO: ==6662== Lock acquired, processing the job...
[2025-01-07 05:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:37:03] Production.INFO: ==6662== Releasing lock...
[2025-01-07 05:37:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:37:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:37:04] Production.INFO: ==6667== Lock acquired, processing the job...
[2025-01-07 05:37:04] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10435 #Starts#
[2025-01-07 05:37:04] Production.INFO: ==6669== Lock acquired, processing the job...
[2025-01-07 05:37:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:37:04] Production.INFO: ==6671== Lock acquired, processing the job...
[2025-01-07 05:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:37:04] Production.INFO: -- Xero Api Check --
[2025-01-07 05:37:04] Production.INFO: ==6677== Lock acquired, processing the job...
[2025-01-07 05:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:37:04] Production.INFO: ==6675== Lock acquired, processing the job...
[2025-01-07 05:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:37:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:37:04] Production.INFO: ==6679== Lock acquired, processing the job...
[2025-01-07 05:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:37:04] Production.INFO: ==6673== Lock acquired, processing the job...
[2025-01-07 05:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 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-07 05:37:04] Production.INFO: Account Balance Start.
[2025-01-07 05:37:04] Production.INFO: CreateAllLog Start
[2025-01-07 05:37:04] Production.INFO: 117
[2025-01-07 05:37:04] Production.INFO: ==6671== Releasing lock...
[2025-01-07 05:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:37:04] Production.INFO: Date 2024-12-08
[2025-01-07 05:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:37:04] Production.INFO: count ==21
[2025-01-07 05:37:04] Production.ERROR: done
[2025-01-07 05:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:37:04] Production.INFO: Date 2024-12-09
[2025-01-07 05:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 05:37:04] Production.INFO: Date 2024-12-10
[2025-01-07 05:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:37:04] Production.INFO: count ==21
[2025-01-07 05:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192803') start
[2025-01-07 05:37:04] Production.INFO: Date 2024-12-11
[2025-01-07 05:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:37:04] Production.INFO: Date 2024-12-12
[2025-01-07 05:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:37:04] Production.ERROR: done
[2025-01-07 05:37:04] Production.INFO: Date 2024-12-13
[2025-01-07 05:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:37:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192803') end
[2025-01-07 05:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:37:04] Production.INFO: 1
[2025-01-07 05:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:37: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.616179
[namelookup_time] => 0.273771
[connect_time] => 0.275086
[pretransfer_time] => 0.537248
[size_upload] => 82
[size_download] => 2755
[speed_download] => 4471
[speed_upload] => 133
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.616133
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.17
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 42750
)
[2025-01-07 05:37:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDYyMjQsImV4cCI6MTczNjI0NjUyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ2MjI0LCJhdF9oYXNoIjoiV3N5aDVTWUJVVFdaR1FiQjFDcmlIdyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.SPunOKj9wSeLsCJY2VmGbRW_ZdYvpnbqFOvYqu0UvgaAoboyxTDZo36JAHPNEXm9IABKITiXnODFCQ9z9WOuS5Wonn6wWTXiTYkjmaEDMIC6G8DakQEv7gOeQ_iUEnWVhY7ngREciLa79_eLOObsZgCnspVdosZANkrZgwrEkH_ZtWSswWuezPq0W33iouuzIoZVBecNYFG4L-upGKlC9k6Sd9TYegxGIvpt8FW3xSi0jxtQQw9V5nPpbNPx1RcQyUD6lADSghlIVdnVqrg5Nc8PJI2WnPndtozKzy3XNkdJAt2SGBaG0BJ5g2XpZStMz5-ZMgQ3TpL0PjloDCNn2g
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDYyMjQsImV4cCI6MTczNjI0ODAyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.lfpW39Z0F2hNlH57uCv1vM7ZEYeijhyuTskIO4BbzY1XbCPEzuT0XfOlHCzW6XVIUpBGjJ3Bp-VzggD100irajJHnJhyT5vQHXuYxkdrOdB7X8PZcaIco97wLJPauyFl0G0eNa-Bo1MeCx6pk-JvQ730JZMzR8-J6SDtWBKmw1X5-3VRT_jS8C6w4W62pRjJPMeSAczOPShIw7EjbFYj60aNjrLHro_lZ7BaHkm5J-tT7bIoXVR1dY-4W8SRtZp147ls2MfZM0r7RyhsZEfgVrsNUfmA_ZHOX2fWuD6hcrp3nyGzSoN0vFjtUDO_MDYKlEmfFAY09BInOgC0F5BIrA
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => sYjA1CSnYapTM4PKSnhQDLPSll5Ust8YEUI_F28Agj4
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 05:37:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:37:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDYyMjQsImV4cCI6MTczNjI0NjUyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ2MjI0LCJhdF9oYXNoIjoiV3N5aDVTWUJVVFdaR1FiQjFDcmlIdyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.SPunOKj9wSeLsCJY2VmGbRW_ZdYvpnbqFOvYqu0UvgaAoboyxTDZo36JAHPNEXm9IABKITiXnODFCQ9z9WOuS5Wonn6wWTXiTYkjmaEDMIC6G8DakQEv7gOeQ_iUEnWVhY7ngREciLa79_eLOObsZgCnspVdosZANkrZgwrEkH_ZtWSswWuezPq0W33iouuzIoZVBecNYFG4L-upGKlC9k6Sd9TYegxGIvpt8FW3xSi0jxtQQw9V5nPpbNPx1RcQyUD6lADSghlIVdnVqrg5Nc8PJI2WnPndtozKzy3XNkdJAt2SGBaG0BJ5g2XpZStMz5-ZMgQ3TpL0PjloDCNn2g
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDYyMjQsImV4cCI6MTczNjI0ODAyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.lfpW39Z0F2hNlH57uCv1vM7ZEYeijhyuTskIO4BbzY1XbCPEzuT0XfOlHCzW6XVIUpBGjJ3Bp-VzggD100irajJHnJhyT5vQHXuYxkdrOdB7X8PZcaIco97wLJPauyFl0G0eNa-Bo1MeCx6pk-JvQ730JZMzR8-J6SDtWBKmw1X5-3VRT_jS8C6w4W62pRjJPMeSAczOPShIw7EjbFYj60aNjrLHro_lZ7BaHkm5J-tT7bIoXVR1dY-4W8SRtZp147ls2MfZM0r7RyhsZEfgVrsNUfmA_ZHOX2fWuD6hcrp3nyGzSoN0vFjtUDO_MDYKlEmfFAY09BInOgC0F5BIrA
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => sYjA1CSnYapTM4PKSnhQDLPSll5Ust8YEUI_F28Agj4
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 05:37:04] Production.INFO: ==6679== Releasing lock...
[2025-01-07 05:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:37:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:37:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:37:04] Production.INFO: AccountID 83
[2025-01-07 05:37:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:37:04] Production.INFO: AccountName Dominos 10455 (Ricky Singh)
[2025-01-07 05:37:04] Production.INFO: Checkcustomer
[2025-01-07 05:37:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010455%20%28Ricky%20Singh%29"
[2025-01-07 05:37:04] Production.INFO: Date 2024-12-19
[2025-01-07 05:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:37:04] Production.INFO: Date 2024-12-20
[2025-01-07 05:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:37:04] Production.INFO: Date 2024-12-21
[2025-01-07 05:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:37:05] Production.INFO: Date 2024-12-22
[2025-01-07 05:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:37:05] Production.INFO: Date 2024-12-23
[2025-01-07 05:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:37:05] Production.INFO: Date 2024-12-24
[2025-01-07 05:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:37:05] Production.INFO: Date 2024-12-25
[2025-01-07 05:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:37:05] Production.INFO: Date 2024-12-26
[2025-01-07 05:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:37:05] Production.INFO: Date 2024-12-27
[2025-01-07 05:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:37:05] Production.INFO: Date 2024-12-28
[2025-01-07 05:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:37:05] Production.INFO: Date 2024-12-29
[2025-01-07 05:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:37:05] Production.INFO: Date 2024-12-30
[2025-01-07 05:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:37:05] Production.INFO: Date 2024-12-31
[2025-01-07 05:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:37:05] Production.INFO: Date 2025-01-01
[2025-01-07 05:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:37:05] Production.INFO: Date 2025-01-02
[2025-01-07 05:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:37:05] Production.INFO: Date 2025-01-03
[2025-01-07 05:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:37:05] Production.INFO: Date 2025-01-04
[2025-01-07 05:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:37:05] Production.INFO: Date 2025-01-05
[2025-01-07 05:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:37:05] Production.INFO: Date 2025-01-06
[2025-01-07 05:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:37:05] Production.INFO: Date 2025-01-07
[2025-01-07 05:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:37:05] Production.INFO: Total Charge 0
[2025-01-07 05:37:05] Production.INFO: CreateAllLog End
[2025-01-07 05:37:05] Production.INFO: Account Balance End.
[2025-01-07 05:37:05] Production.ERROR: CronJobId end 12
[2025-01-07 05:37:05] Production.INFO: ==6675== Releasing lock...
[2025-01-07 05:37:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:37:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:37:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:37:06
[end_date_ymd] => 2025-01-07 05:37:06
[RateCDR] => 1
)
[2025-01-07 05:37:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 02:37:06' and `end` < '2025-01-07 05:37:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 05:37:07] Production.INFO: Contact id print CheckCustomer Case===40d799a0-fa8e-497f-be5e-788af7a33b55
[2025-01-07 05:37:07] Production.INFO: -- count --1
[2025-01-07 05:37:07] Production.INFO: AccountID 205
[2025-01-07 05:37:07] Production.INFO: AccountName Dominos 10459 (Sandeep Chaudhari)
[2025-01-07 05:37:07] Production.INFO: Checkcustomer
[2025-01-07 05:37:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010459%20%28Sandeep%20Chaudhari%29"
[2025-01-07 05:37:10] Production.INFO: Contact id print CheckCustomer Case===9e4e5c67-a78f-406f-bfd6-d013ce749c4a
[2025-01-07 05:37:10] Production.INFO: -- count --1
[2025-01-07 05:37:10] Production.INFO: AccountID 205
[2025-01-07 05:37:10] Production.INFO: AccountName Dominos 10459 (Sandeep Chaudhari)
[2025-01-07 05:37:10] Production.INFO: Checkcustomer
[2025-01-07 05:37:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010459%20%28Sandeep%20Chaudhari%29"
[2025-01-07 05:37:12] Production.ERROR: CronJobId end10
[2025-01-07 05:37:12] Production.INFO: ==6673== Releasing lock...
[2025-01-07 05:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:37:12] Production.INFO: Contact id print CheckCustomer Case===9e4e5c67-a78f-406f-bfd6-d013ce749c4a
[2025-01-07 05:37:12] Production.INFO: -- count --1
[2025-01-07 05:37:12] Production.INFO: AccountID 121
[2025-01-07 05:37:12] Production.INFO: AccountName Dominos 10462 (Anwar Hossain)
[2025-01-07 05:37:12] Production.INFO: Checkcustomer
[2025-01-07 05:37:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010462%20%28Anwar%20Hossain%29"
[2025-01-07 05:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:37:14] Production.INFO: call_cost start
[2025-01-07 05:37:14] Production.INFO: call_cost end
[2025-01-07 05:37:14] Production.INFO: Contact id print CheckCustomer Case===dd9d12a6-43e5-42f4-9c71-f881ac0e5dfe
[2025-01-07 05:37:14] Production.INFO: -- count --1
[2025-01-07 05:37:14] Production.INFO: AccountID 149
[2025-01-07 05:37:14] Production.INFO: AccountName Dominos 10471 (Ken Hoose)
[2025-01-07 05:37:14] Production.INFO: Checkcustomer
[2025-01-07 05:37:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010471%20%28Ken%20Hoose%29"
[2025-01-07 05:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:37:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:37:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:37:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:37:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:37:15] Production.INFO: ==6669== Releasing lock...
[2025-01-07 05:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:37:17] Production.INFO: Contact id print CheckCustomer Case===035db9cd-92a8-4776-bb57-e5a70cdb3e03
[2025-01-07 05:37:17] Production.INFO: -- count --1
[2025-01-07 05:37:17] Production.INFO: AccountID 161
[2025-01-07 05:37:17] Production.INFO: AccountName Dominos 10476 (Sandeep Chaudhari)
[2025-01-07 05:37:17] Production.INFO: Checkcustomer
[2025-01-07 05:37:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010476%20%28Sandeep%20Chaudhari%29"
[2025-01-07 05:37:20] Production.INFO: count ==68
[2025-01-07 05:37:20] Production.ERROR: pbx CDR StartTime 2025-01-07 02:37:06 - End Time 2025-01-07 05:37:06
[2025-01-07 05:37:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192804', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192804', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192804', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192804', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:37:20] Production.INFO: ProcessCDR(1,14192804,1,1,2)
[2025-01-07 05:37:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192804,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:37:20] Production.INFO: Contact id print CheckCustomer Case===fc4aff1d-c37f-4c5c-9191-e58f25d1bcb1
[2025-01-07 05:37:20] Production.INFO: -- count --1
[2025-01-07 05:37:20] Production.INFO: -- Xero Add Inovice --
[2025-01-07 05:37:20] Production.INFO: CheckInvoice xerov2: INV11206
[2025-01-07 05:37:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11206
[2025-01-07 05:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192804,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192804,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:37:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192804,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192804', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192804', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:37:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:37:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:37:23] Production.INFO: ==6677== Releasing lock...
[2025-01-07 05:37:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:37:23] Production.INFO: 28 MB #Memory Used#
[2025-01-07 05:37:23] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:37:23] Production.INFO: Invoice SubTotal 60.000000
[2025-01-07 05:37:23] Production.INFO: Invoice DetTotal 60
[2025-01-07 05:37:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010455%20%28Ricky%20Singh%29"
[2025-01-07 05:37:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:37:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:37:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:37:33] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service",Quantity : 3,UnitAmount : -5.000000,LineAmount : -15.000000}
[2025-01-07 05:37:36] Production.INFO: ==== result =====
[2025-01-07 05:37:36] Production.INFO: {
"Id": "6819e0ff-b1ca-46c4-966c-444cbd4b8131",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736246256776)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "a375991f-14f8-4a27-81a6-5dee08675d23",
"InvoiceNumber": "INV11206",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 67.80,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "40d799a0-fa8e-497f-be5e-788af7a33b55",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10455 (Ricky Singh)",
"FirstName": "Ricky",
"LastName": "Singh",
"EmailAddress": "ricky_bhawar@yahoo.com",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1597802803227+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-13T00:00:00",
"Date": "\/Date(1734048000000+0000)\/",
"DueDateString": "2025-01-12T00:00:00",
"DueDate": "\/Date(1736640000000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "6e7f3796-2baa-42d1-91b2-ea0822f6a985",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -5.00,
"TaxType": "TAX020",
"TaxAmount": -1.95,
"LineAmount": -15.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 3.0000,
"DiscountRate": 0.00,
"LineItemID": "6f9fab68-6522-4ebe-bcad-0d64f92724eb",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 60.00,
"TotalTax": 7.80,
"Total": 67.80,
"UpdatedDateUTC": "\/Date(1736246256700+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:37:36] Production.INFO: -- Create Invoice id --a375991f-14f8-4a27-81a6-5dee08675d23
[2025-01-07 05:37:36] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:37:36] Production.INFO: CheckInvoice xerov2: INV11121
[2025-01-07 05:37:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11121
[2025-01-07 05:37:39] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:37:39] Production.INFO: Invoice SubTotal 52.500000
[2025-01-07 05:37:39] Production.INFO: Invoice DetTotal 52.5
[2025-01-07 05:37:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010459%20%28Sandeep%20Chaudhari%29"
[2025-01-07 05:37:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:37:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:37:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:37:50] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (5194424400 - 308 Grand River Street North 3 Paris, ON N3L 3R7 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,"Description": "Provides a $5/store/month discount when 5+ stores have OnSwitch Cloud Phone service",Quantity : 1,UnitAmount : -25.000000,LineAmount : -25.000000}
[2025-01-07 05:37:53] Production.INFO: ==== result =====
[2025-01-07 05:37:53] Production.INFO: {
"Id": "356e71f9-2c52-4e55-ab99-273443b9ae8b",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736246273416)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "b513f77c-1190-4d3b-91cb-429edaf2736c",
"InvoiceNumber": "INV11121",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 59.33,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"IsDiscounted": false,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "9e4e5c67-a78f-406f-bfd6-d013ce749c4a",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10459 (Sandeep Chaudhari)",
"FirstName": "Sandeep",
"LastName": "Chaudhari",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1697457604537+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-11-30T00:00:00",
"Date": "\/Date(1732924800000+0000)\/",
"DueDateString": "2024-12-30T00:00:00",
"DueDate": "\/Date(1735516800000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "a2c275a2-ca2a-4ee6-af96-d3c518cd8f17",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
},
{
"Description": "e911 address registration (5194424400 - 308 Grand River Street North 3 Paris, ON N3L 3R7 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "b22f6f38-105f-4be3-9235-edfbf8fabd6d",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 5+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -25.00,
"TaxType": "TAX020",
"TaxAmount": -3.25,
"LineAmount": -25.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "64e0bed1-b4cb-40fb-8f53-d5139304d460",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
}
],
"SubTotal": 52.50,
"TotalTax": 6.83,
"Total": 59.33,
"UpdatedDateUTC": "\/Date(1736246273370+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:37:53] Production.INFO: -- Create Invoice id --b513f77c-1190-4d3b-91cb-429edaf2736c
[2025-01-07 05:37:53] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:37:53] Production.INFO: CheckInvoice xerov2: INV11278
[2025-01-07 05:37:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11278
[2025-01-07 05:37:55] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:37:55] Production.INFO: Invoice SubTotal 52.500000
[2025-01-07 05:37:55] Production.INFO: Invoice DetTotal 52.5
[2025-01-07 05:37:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010459%20%28Sandeep%20Chaudhari%29"
[2025-01-07 05:37:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:38:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 10:38:01] Production.INFO: ==6751== Lock acquired, processing the job...
[2025-01-07 10:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:38:01] Production.INFO: neon service started
[2025-01-07 10:38:01] Production.INFO: neon service started
[2025-01-07 10:38:01] Production.INFO: ==6751== Releasing lock...
[2025-01-07 10:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:38:02] Production.INFO: ==6753== Lock acquired, processing the job...
[2025-01-07 05:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:38:02] Production.INFO: ==6753== Releasing lock...
[2025-01-07 05:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:38:02] Production.INFO: ==6755== Lock acquired, processing the job...
[2025-01-07 10:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:38:02] Production.INFO: ==6755== Releasing lock...
[2025-01-07 10:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:38:03] Production.INFO: ==6758== Lock acquired, processing the job...
[2025-01-07 05:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:38:03] Production.INFO: ==6762== Lock acquired, processing the job...
[2025-01-07 05:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:38:03] Production.INFO: ==6760== Lock acquired, processing the job...
[2025-01-07 05:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:38:03] Production.INFO: ==6768== Lock acquired, processing the job...
[2025-01-07 05:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:38:03] Production.INFO: ==6764== Lock acquired, processing the job...
[2025-01-07 05:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:38:03] Production.INFO: ==6766== Lock acquired, processing the job...
[2025-01-07 05:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:38:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:38:03] Production.INFO: Account Balance Start.
[2025-01-07 05:38:03] Production.INFO: CreateAllLog Start
[2025-01-07 05:38:03] Production.INFO: 117
[2025-01-07 05:38:03] Production.INFO: Date 2024-12-08
[2025-01-07 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-07 05:38:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:38:03] Production.INFO: count ==21
[2025-01-07 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-07 05:38:03] Production.INFO: count ==21
[2025-01-07 05:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192807') start
[2025-01-07 05:38:03] Production.INFO: Date 2024-12-09
[2025-01-07 05:38:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:38:03] Production.INFO: ==6760== Releasing lock...
[2025-01-07 05:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:38:03] Production.INFO: Date 2024-12-10
[2025-01-07 05:38:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192807') end
[2025-01-07 05:38:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:38:03] Production.INFO: 1
[2025-01-07 05:38:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:38:03] Production.INFO: Date 2024-12-11
[2025-01-07 05:38:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:38:03] Production.INFO: Date 2024-12-12
[2025-01-07 05:38:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:38:03] Production.INFO: Date 2024-12-13
[2025-01-07 05:38:03] Production.INFO: ==6768== Releasing lock...
[2025-01-07 05:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:38:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:38:04] Production.ERROR: done
[2025-01-07 05:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:38:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:38:04] Production.ERROR: done
[2025-01-07 05:38:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:38:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:38:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:38:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:38:04] Production.INFO: Date 2024-12-19
[2025-01-07 05:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:38:04] Production.INFO: Date 2024-12-20
[2025-01-07 05:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:38:04] Production.INFO: Date 2024-12-21
[2025-01-07 05:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:38:04] Production.INFO: Date 2024-12-22
[2025-01-07 05:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:38:04] Production.INFO: Date 2024-12-23
[2025-01-07 05:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:38:04] Production.INFO: Date 2024-12-24
[2025-01-07 05:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:38:04] Production.INFO: Date 2024-12-25
[2025-01-07 05:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:38:04] Production.INFO: Date 2024-12-26
[2025-01-07 05:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:38:04] Production.INFO: Date 2024-12-27
[2025-01-07 05:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:38:04] Production.INFO: Date 2024-12-28
[2025-01-07 05:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:38:04] Production.INFO: Date 2024-12-29
[2025-01-07 05:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:38:04] Production.INFO: Date 2024-12-30
[2025-01-07 05:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:38:04] Production.INFO: Date 2024-12-31
[2025-01-07 05:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:38:04] Production.INFO: Date 2025-01-01
[2025-01-07 05:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:38:04] Production.INFO: Date 2025-01-02
[2025-01-07 05:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:38:04] Production.INFO: Date 2025-01-03
[2025-01-07 05:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:38:04] Production.INFO: Date 2025-01-04
[2025-01-07 05:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:38:04] Production.INFO: Date 2025-01-05
[2025-01-07 05:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:38:04] Production.INFO: Date 2025-01-06
[2025-01-07 05:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:38:04] Production.INFO: Date 2025-01-07
[2025-01-07 05:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:38:04] Production.INFO: Total Charge 0
[2025-01-07 05:38:04] Production.INFO: CreateAllLog End
[2025-01-07 05:38:05] Production.INFO: Account Balance End.
[2025-01-07 05:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:38:05
[end_date_ymd] => 2025-01-07 05:38:05
[RateCDR] => 1
)
[2025-01-07 05:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 02:38:05' and `end` < '2025-01-07 05:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 05:38:05] Production.ERROR: CronJobId end 12
[2025-01-07 05:38:05] Production.INFO: ==6764== Releasing lock...
[2025-01-07 05:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:38:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:38:05] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (5194424400 - 308 Grand River Street North 3 Paris, ON N3L 3R7 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,"Description": "Provides a $5/store/month discount when 5+ stores have OnSwitch Cloud Phone service",Quantity : 1,UnitAmount : -25.000000,LineAmount : -25.000000}
[2025-01-07 05:38:08] Production.INFO: ==== result =====
[2025-01-07 05:38:08] Production.INFO: {
"Id": "f1a4e920-2f53-4bfa-a5ea-09e29debee68",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736246288461)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "0bdf3f19-bbbe-4d3b-b215-2df0c0811726",
"InvoiceNumber": "INV11278",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 59.33,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"IsDiscounted": false,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "9e4e5c67-a78f-406f-bfd6-d013ce749c4a",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10459 (Sandeep Chaudhari)",
"FirstName": "Sandeep",
"LastName": "Chaudhari",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1697457604537+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-30T00:00:00",
"Date": "\/Date(1735516800000+0000)\/",
"DueDateString": "2025-01-29T00:00:00",
"DueDate": "\/Date(1738108800000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "b1f27d48-a23b-4c39-9124-fab1e98f60a5",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
},
{
"Description": "e911 address registration (5194424400 - 308 Grand River Street North 3 Paris, ON N3L 3R7 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "fabe3d30-a7b2-414f-b436-bd320df9516b",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 5+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -25.00,
"TaxType": "TAX020",
"TaxAmount": -3.25,
"LineAmount": -25.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "59520321-df51-41a6-8578-e15c525f811c",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
}
],
"SubTotal": 52.50,
"TotalTax": 6.83,
"Total": 59.33,
"UpdatedDateUTC": "\/Date(1736246288400+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:38:08] Production.INFO: -- Create Invoice id --0bdf3f19-bbbe-4d3b-b215-2df0c0811726
[2025-01-07 05:38:08] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:38:08] Production.INFO: CheckInvoice xerov2: INV11247
[2025-01-07 05:38:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11247
[2025-01-07 05:38:11] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:38:11] Production.INFO: Invoice SubTotal 67.500000
[2025-01-07 05:38:11] Production.INFO: Invoice DetTotal 67.5
[2025-01-07 05:38:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010462%20%28Anwar%20Hossain%29"
[2025-01-07 05:38:11] Production.ERROR: CronJobId end10
[2025-01-07 05:38:11] Production.INFO: ==6762== Releasing lock...
[2025-01-07 05:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:38:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:38:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:38:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:38:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:38:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:38:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:38:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:38:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:38:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:38:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:38:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:38:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:38:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:38:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:38:13] Production.INFO: call_cost start
[2025-01-07 05:38:13] Production.INFO: call_cost end
[2025-01-07 05:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:38:14] Production.INFO: ==6758== Releasing lock...
[2025-01-07 05:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:38:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:38:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:38:18] Production.INFO: count ==68
[2025-01-07 05:38:18] Production.ERROR: pbx CDR StartTime 2025-01-07 02:38:05 - End Time 2025-01-07 05:38:05
[2025-01-07 05:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192809', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192809', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192809', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192809', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:38:18] Production.INFO: ProcessCDR(1,14192809,1,1,2)
[2025-01-07 05:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192809,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192809,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192809,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:38:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192809,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192809', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192809', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:38:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:38:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:38:21] Production.INFO: ==6766== Releasing lock...
[2025-01-07 05:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:38:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 05:38:22] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (17056457700 - 195 Wellington St 1 Bracebridge, ON P1L1C2)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service",Quantity : 2,UnitAmount : -5.000000,LineAmount : -10.000000}
[2025-01-07 05:38:24] Production.INFO: ==== result =====
[2025-01-07 05:38:24] Production.INFO: {
"Id": "fc3098c3-7cc9-433c-ab7b-c4f847453c27",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736246304765)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "5a2c5ba6-3f2d-4505-942d-2c750cc19dc1",
"InvoiceNumber": "INV11247",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 76.28,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "dd9d12a6-43e5-42f4-9c71-f881ac0e5dfe",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10462 (Anwar Hossain)",
"FirstName": "Anwar",
"LastName": "Hossain",
"EmailAddress": "dominos10462@gmail.com",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1582217221650+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-20T00:00:00",
"Date": "\/Date(1734652800000+0000)\/",
"DueDateString": "2025-01-19T00:00:00",
"DueDate": "\/Date(1737244800000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "fef34892-0ed0-43ff-bef5-cf367ecddc3b",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (17056457700 - 195 Wellington St 1 Bracebridge, ON P1L1C2)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "33c07238-9cd2-4510-a14e-fbf1690bc783",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -5.00,
"TaxType": "TAX020",
"TaxAmount": -1.30,
"LineAmount": -10.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 2.0000,
"DiscountRate": 0.00,
"LineItemID": "f34fe0dd-60f6-40b8-91a5-2fcc266b1bf1",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 67.50,
"TotalTax": 8.78,
"Total": 76.28,
"UpdatedDateUTC": "\/Date(1736246304720+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:38:24] Production.INFO: -- Create Invoice id --5a2c5ba6-3f2d-4505-942d-2c750cc19dc1
[2025-01-07 05:38:24] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:38:24] Production.INFO: CheckInvoice xerov2: INV11081
[2025-01-07 05:38:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11081
[2025-01-07 05:38:26] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:38:26] Production.INFO: Invoice SubTotal 67.500000
[2025-01-07 05:38:26] Production.INFO: Invoice DetTotal 67.5
[2025-01-07 05:38:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010471%20%28Ken%20Hoose%29"
[2025-01-07 05:38:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:38:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:38:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:38:37] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (5196333123 - 965 Talbot St C St Thomas, ON N5P 1E8 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 2,UnitAmount : -5.000000,LineAmount : -10.000000}
[2025-01-07 05:38:41] Production.INFO: ==== result =====
[2025-01-07 05:38:41] Production.INFO: {
"Id": "3b45fc44-e63b-4d1f-8729-1b0b7d512e73",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736246321487)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "c5d2ba0f-22cd-43d0-bac2-d8f3447099f0",
"InvoiceNumber": "INV11081",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 76.28,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"IsDiscounted": false,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "035db9cd-92a8-4776-bb57-e5a70cdb3e03",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10471 (Ken Hoose)",
"FirstName": "Ken",
"LastName": "Hoose",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1655925306193+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-11-18T00:00:00",
"Date": "\/Date(1731888000000+0000)\/",
"DueDateString": "2024-12-18T00:00:00",
"DueDate": "\/Date(1734480000000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "ac5dabf4-2ac5-4601-a864-899b5d59bcd4",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
},
{
"Description": "e911 address registration (5196333123 - 965 Talbot St C St Thomas, ON N5P 1E8 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "859ddc21-760b-405e-a131-68e63d10ce88",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -5.00,
"TaxType": "TAX020",
"TaxAmount": -1.30,
"LineAmount": -10.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 2.0000,
"LineItemID": "72bb9d88-9016-43ce-9b19-82894cbd1dcd",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"ValidationErrors": []
}
],
"SubTotal": 67.50,
"TotalTax": 8.78,
"Total": 76.28,
"UpdatedDateUTC": "\/Date(1736246321440+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:38:41] Production.INFO: -- Create Invoice id --c5d2ba0f-22cd-43d0-bac2-d8f3447099f0
[2025-01-07 05:38:41] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:38:41] Production.INFO: CheckInvoice xerov2: INV11233
[2025-01-07 05:38:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11233
[2025-01-07 05:38:43] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:38:43] Production.INFO: Invoice SubTotal 52.500000
[2025-01-07 05:38:43] Production.INFO: Invoice DetTotal 52.5
[2025-01-07 05:38:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010476%20%28Sandeep%20Chaudhari%29"
[2025-01-07 05:38:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:38:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:38:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:38:53] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 303,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 5,UnitAmount : -5.000000,LineAmount : -25.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (5197490120- 1188 Fischer Hallman Rd Unit 205 Kitchener, ON N2E0B7)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 05:38:56] Production.INFO: ==== result =====
[2025-01-07 05:38:56] Production.INFO: {
"Id": "50a6876f-fcee-4516-bf8b-637db560ee76",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736246336555)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "2adc023e-d7b1-4f98-81db-53b4de91bc09",
"InvoiceNumber": "INV11233",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 59.33,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"IsDiscounted": false,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "fc4aff1d-c37f-4c5c-9191-e58f25d1bcb1",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10476 (Sandeep Chaudhari)",
"FirstName": "Sandeep`",
"LastName": "Chaudhari",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1674470231750+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-16T00:00:00",
"Date": "\/Date(1734307200000+0000)\/",
"DueDateString": "2025-01-15T00:00:00",
"DueDate": "\/Date(1736899200000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "57e97cd4-eb8e-4789-9dce-a6f659637875",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -5.00,
"TaxType": "TAX020",
"TaxAmount": -3.25,
"LineAmount": -25.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 5.0000,
"LineItemID": "654f5612-7df0-4dfc-bfd5-73c153e4a517",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"ValidationErrors": []
},
{
"Description": "e911 address registration (5197490120- 1188 Fischer Hallman Rd Unit 205 Kitchener, ON N2E0B7)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "a5bfca75-4bb4-44c9-8d27-01bde02ab0f9",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
}
],
"SubTotal": 52.50,
"TotalTax": 6.83,
"Total": 59.33,
"UpdatedDateUTC": "\/Date(1736246336497+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:38:56] Production.INFO: -- Create Invoice id --2adc023e-d7b1-4f98-81db-53b4de91bc09
[2025-01-07 05:38:56] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:38:56] Production.INFO: -- Xero End Inovice --
[2025-01-07 05:38:56] Production.INFO: ==6667== Releasing lock...
[2025-01-07 05:38:56] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10435 #Stops#
[2025-01-07 05:38:56] Production.INFO: 32.25 MB #Memory Used#
[2025-01-07 10:39:02] Production.INFO: ==6843== Lock acquired, processing the job...
[2025-01-07 10:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:39:02] Production.INFO: neon service started
[2025-01-07 10:39:02] Production.INFO: neon service started
[2025-01-07 10:39:02] Production.INFO: ==6843== Releasing lock...
[2025-01-07 10:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:39:02] Production.INFO: ==6847== Lock acquired, processing the job...
[2025-01-07 10:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:39:02] Production.INFO: ==6847== Releasing lock...
[2025-01-07 10:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:39:02] Production.INFO: ==6845== Lock acquired, processing the job...
[2025-01-07 05:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:39:02] Production.INFO: ==6845== Releasing lock...
[2025-01-07 05:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:39:03] Production.INFO: ==6854== Lock acquired, processing the job...
[2025-01-07 05:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:39:03] Production.INFO: ==6856== Lock acquired, processing the job...
[2025-01-07 05:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:39:04] Production.INFO: ==6850== Lock acquired, processing the job...
[2025-01-07 05:39:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:39:04] Production.INFO: ==6852== Lock acquired, processing the job...
[2025-01-07 05:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:39:04] Production.INFO: Account Balance Start.
[2025-01-07 05:39:04] Production.INFO: CreateAllLog Start
[2025-01-07 05:39:04] Production.INFO: 117
[2025-01-07 05:39:04] Production.INFO: Date 2024-12-08
[2025-01-07 05:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:39:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:39:04] Production.INFO: ==6858== Lock acquired, processing the job...
[2025-01-07 05:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:39:04] Production.INFO: Date 2024-12-09
[2025-01-07 05:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:39:04] Production.INFO: Date 2024-12-10
[2025-01-07 05:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:39:04] Production.INFO: Date 2024-12-11
[2025-01-07 05:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:39:04] Production.INFO: ==6860== Lock acquired, processing the job...
[2025-01-07 05:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:39:04] Production.INFO: Date 2024-12-12
[2025-01-07 05:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:39:04] Production.INFO: ==6852== Releasing lock...
[2025-01-07 05:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:39:04] Production.INFO: Date 2024-12-13
[2025-01-07 05:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 05:39:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:39:04] Production.INFO: count ==21
[2025-01-07 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-07 05:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:39:04] Production.INFO: count ==21
[2025-01-07 05:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192813') start
[2025-01-07 05:39:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:39:04] Production.ERROR: done
[2025-01-07 05:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192813') end
[2025-01-07 05:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:39:04] Production.INFO: 1
[2025-01-07 05:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:39:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:39:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:39:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:39:04] Production.INFO: ==6860== Releasing lock...
[2025-01-07 05:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:39:04] Production.ERROR: done
[2025-01-07 05:39:04] Production.INFO: Date 2024-12-19
[2025-01-07 05:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:39:05] Production.INFO: Date 2024-12-20
[2025-01-07 05:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:39:05] Production.INFO: Date 2024-12-21
[2025-01-07 05:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:39:05] Production.INFO: Date 2024-12-22
[2025-01-07 05:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:39:05] Production.INFO: Date 2024-12-23
[2025-01-07 05:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:39:05] Production.INFO: Date 2024-12-24
[2025-01-07 05:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:39:05] Production.INFO: Date 2024-12-25
[2025-01-07 05:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:39:05] Production.INFO: Date 2024-12-26
[2025-01-07 05:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:39:05] Production.INFO: Date 2024-12-27
[2025-01-07 05:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:39:05] Production.INFO: Date 2024-12-28
[2025-01-07 05:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:39:05] Production.INFO: Date 2024-12-29
[2025-01-07 05:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:39:05] Production.INFO: Date 2024-12-30
[2025-01-07 05:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:39:05] Production.INFO: Date 2024-12-31
[2025-01-07 05:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:39:05] Production.INFO: Date 2025-01-01
[2025-01-07 05:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:39:05] Production.INFO: Date 2025-01-02
[2025-01-07 05:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:39:05] Production.INFO: Date 2025-01-03
[2025-01-07 05:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:39:05] Production.INFO: Date 2025-01-04
[2025-01-07 05:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:39:05
[end_date_ymd] => 2025-01-07 05:39:05
[RateCDR] => 1
)
[2025-01-07 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-07 02:39:05' and `end` < '2025-01-07 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-07 05:39:05] Production.INFO: Date 2025-01-05
[2025-01-07 05:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:39:05] Production.INFO: Date 2025-01-06
[2025-01-07 05:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:39:06] Production.INFO: Date 2025-01-07
[2025-01-07 05:39:06] Production.INFO: Reseller ==> 0
[2025-01-07 05:39:06] Production.INFO: Total Charge 0
[2025-01-07 05:39:06] Production.INFO: CreateAllLog End
[2025-01-07 05:39:06] Production.INFO: Account Balance End.
[2025-01-07 05:39:06] Production.ERROR: CronJobId end 12
[2025-01-07 05:39:06] Production.INFO: ==6856== Releasing lock...
[2025-01-07 05:39:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:39:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:39:12] Production.ERROR: CronJobId end10
[2025-01-07 05:39:12] Production.INFO: ==6854== Releasing lock...
[2025-01-07 05:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:39:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:39:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:39:13] Production.INFO: call_cost start
[2025-01-07 05:39:13] Production.INFO: call_cost end
[2025-01-07 05:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:39:14] Production.INFO: ==6850== Releasing lock...
[2025-01-07 05:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:39:19] Production.INFO: count ==68
[2025-01-07 05:39:19] Production.ERROR: pbx CDR StartTime 2025-01-07 02:39:05 - End Time 2025-01-07 05:39:05
[2025-01-07 05:39:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192814', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192814', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192814', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192814', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:39:19] Production.INFO: ProcessCDR(1,14192814,1,1,2)
[2025-01-07 05:39:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192814,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:39:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192814,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:39:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192814,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192814,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192814', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192814', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:39:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:39:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:39:22] Production.INFO: ==6858== Releasing lock...
[2025-01-07 05:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:39:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 10:40:01] Production.INFO: ==6915== Lock acquired, processing the job...
[2025-01-07 10:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:40:01] Production.INFO: neon service started
[2025-01-07 10:40:01] Production.INFO: neon service started
[2025-01-07 10:40:01] Production.INFO: ==6915== Releasing lock...
[2025-01-07 10:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:40:02] Production.INFO: ==6917== Lock acquired, processing the job...
[2025-01-07 05:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:40:02] Production.INFO: ==6919== Lock acquired, processing the job...
[2025-01-07 10:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:40:02] Production.INFO: ==6917== Releasing lock...
[2025-01-07 05:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:40:02] Production.INFO: ==6919== Releasing lock...
[2025-01-07 10:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:40:03] Production.INFO: ==6922== Lock acquired, processing the job...
[2025-01-07 05:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 05:40:03] Production.INFO: ==6926== Lock acquired, processing the job...
[2025-01-07 05:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 05:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 05:40:03] Production.ERROR: CronJob PID - 6926
[2025-01-07 05:40:03] Production.ERROR: CronJob Title - Account Block
[2025-01-07 05:40:03] Production.ERROR: CronJob ID - 7
[2025-01-07 05:40:03] Production.ERROR: CronJob Last Run Time 2025-01-07 05:40:00
[2025-01-07 05:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 05:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 05:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 05:40:03] Production.INFO: ==6922== Releasing lock...
[2025-01-07 05:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 05:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 05:40:03] Production.INFO: ==6928== Lock acquired, processing the job...
[2025-01-07 05:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:40:03] Production.INFO: ==6924== Lock acquired, processing the job...
[2025-01-07 05:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:40:03] Production.INFO: ==6936== Lock acquired, processing the job...
[2025-01-07 05:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:40:03] Production.INFO: ==6930== Lock acquired, processing the job...
[2025-01-07 05:40:03] Production.INFO: ==6934== Lock acquired, processing the job...
[2025-01-07 05:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 05:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:40:03] Production.INFO: ==6932== Lock acquired, processing the job...
[2025-01-07 05:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:40:03] Production.INFO: Account Balance Start.
[2025-01-07 05:40:03] Production.INFO: CreateAllLog Start
[2025-01-07 05:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:40:03] Production.INFO: 117
[2025-01-07 05:40:03] Production.INFO: Date 2024-12-08
[2025-01-07 05:40:03] Production.INFO: Reseller ==> 0
[2025-01-07 05: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-07 05:40:04] Production.INFO: ==6926== Releasing lock...
[2025-01-07 05:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:40:04] Production.INFO: count ==21
[2025-01-07 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-07 05:40:04] Production.INFO: count ==21
[2025-01-07 05:40:04] Production.INFO: Date 2024-12-09
[2025-01-07 05:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192818') start
[2025-01-07 05:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:40:04] Production.ERROR: done
[2025-01-07 05:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:40:04] Production.INFO: Date 2024-12-10
[2025-01-07 05:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192818') end
[2025-01-07 05:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:40:04] Production.INFO: 1
[2025-01-07 05:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:40:04] Production.ERROR: done
[2025-01-07 05:40:04] Production.INFO: Date 2024-12-11
[2025-01-07 05:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:40:04] Production.ERROR: done
[2025-01-07 05:40:04] Production.INFO: Date 2024-12-12
[2025-01-07 05:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 05:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14192819', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 05:40:04] Production.INFO: Date 2024-12-13
[2025-01-07 05:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:40:04] Production.INFO: ==6936== Releasing lock...
[2025-01-07 05:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:40:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:40:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:40:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:40:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:40:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:40:04] Production.INFO: Date 2024-12-19
[2025-01-07 05:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:40:04] Production.INFO: Date 2024-12-20
[2025-01-07 05:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:40:04] Production.INFO: Date 2024-12-21
[2025-01-07 05:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:40:04] Production.INFO: Date 2024-12-22
[2025-01-07 05:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:40:04] Production.INFO: Date 2024-12-23
[2025-01-07 05:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:40:05] Production.INFO: Date 2024-12-24
[2025-01-07 05:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:40:05] Production.INFO: Date 2024-12-25
[2025-01-07 05:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:40:05] Production.INFO: Date 2024-12-26
[2025-01-07 05:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:40:05] Production.INFO: Date 2024-12-27
[2025-01-07 05:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:40:05] Production.INFO: Date 2024-12-28
[2025-01-07 05:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:40:05] Production.INFO: Date 2024-12-29
[2025-01-07 05:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:40:05] Production.INFO: Date 2024-12-30
[2025-01-07 05:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:40:05] Production.INFO: Date 2024-12-31
[2025-01-07 05:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:40:05] Production.INFO: Date 2025-01-01
[2025-01-07 05:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:40:05] Production.INFO: Date 2025-01-02
[2025-01-07 05:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:40:05] Production.INFO: Date 2025-01-03
[2025-01-07 05:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:40:05] Production.INFO: Date 2025-01-04
[2025-01-07 05:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:40:05] Production.INFO: Date 2025-01-05
[2025-01-07 05:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:40:05] Production.INFO: Date 2025-01-06
[2025-01-07 05:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:40:05] Production.INFO: Date 2025-01-07
[2025-01-07 05:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:40:05] Production.INFO: Total Charge 0
[2025-01-07 05:40:05] Production.INFO: CreateAllLog End
[2025-01-07 05:40:05] Production.INFO: Account Balance End.
[2025-01-07 05:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:40:05
[end_date_ymd] => 2025-01-07 05:40:05
[RateCDR] => 1
)
[2025-01-07 05:40:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 02:40:05' and `end` < '2025-01-07 05:40:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 05:40:05] Production.ERROR: CronJobId end 12
[2025-01-07 05:40:05] Production.INFO: ==6930== Releasing lock...
[2025-01-07 05:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14192819', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 05:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 05:40:09] Production.INFO: ProcessCDR(1,14192819,1,1,2)
[2025-01-07 05:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14192819,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14192819,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:40:09] Production.INFO: ==6934== Releasing lock...
[2025-01-07 05:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 05:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-07 05:40:13] Production.ERROR: CronJobId end10
[2025-01-07 05:40:13] Production.INFO: ==6928== Releasing lock...
[2025-01-07 05:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:40:15] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:40:15] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:40:16] Production.INFO: call_cost start
[2025-01-07 05:40:16] Production.INFO: call_cost end
[2025-01-07 05:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:40:17] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:40:17] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:40:17] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:40:17] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:40:17] Production.INFO: ==6924== Releasing lock...
[2025-01-07 05:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:40:18] Production.INFO: count ==64
[2025-01-07 05:40:18] Production.ERROR: pbx CDR StartTime 2025-01-07 02:40:05 - End Time 2025-01-07 05:40:05
[2025-01-07 05:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192820', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192820', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192820', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192820', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:40:18] Production.INFO: ProcessCDR(1,14192820,1,1,2)
[2025-01-07 05:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192820,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192820,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192820,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192820,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192820', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192820', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:40:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:40:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:40:21] Production.INFO: ==6932== Releasing lock...
[2025-01-07 05:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:40:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 10:41:02] Production.INFO: ==6998== Lock acquired, processing the job...
[2025-01-07 10:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:41:02] Production.INFO: neon service started
[2025-01-07 10:41:02] Production.INFO: neon service started
[2025-01-07 10:41:02] Production.INFO: ==6998== Releasing lock...
[2025-01-07 10:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:41:02] Production.INFO: ==7002== Lock acquired, processing the job...
[2025-01-07 10:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:41:02] Production.INFO: ==7002== Releasing lock...
[2025-01-07 10:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:41:02] Production.INFO: ==7000== Lock acquired, processing the job...
[2025-01-07 05:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:41:02] Production.INFO: ==7000== Releasing lock...
[2025-01-07 05:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:41:03] Production.INFO: ==7005== Lock acquired, processing the job...
[2025-01-07 05:41:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10436 #Starts#
[2025-01-07 05:41:03] Production.INFO: -- Xero Api Check --
[2025-01-07 05:41:03] Production.INFO: ==7007== Lock acquired, processing the job...
[2025-01-07 05:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:41:03] Production.INFO: ==7009== Lock acquired, processing the job...
[2025-01-07 05:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:41:03] Production.INFO: ==7011== Lock acquired, processing the job...
[2025-01-07 05:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:41:03] Production.INFO: ==7013== Lock acquired, processing the job...
[2025-01-07 05:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:41:03] Production.INFO: ==7015== Lock acquired, processing the job...
[2025-01-07 05:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:41:03] Production.INFO: ==7017== Lock acquired, processing the job...
[2025-01-07 05:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:41:03] Production.INFO: Account Balance Start.
[2025-01-07 05:41:03] Production.INFO: CreateAllLog Start
[2025-01-07 05:41:03] Production.INFO: 117
[2025-01-07 05:41:03] Production.INFO: Date 2024-12-08
[2025-01-07 05:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:41:04] Production.INFO: Date 2024-12-09
[2025-01-07 05:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:41:04] Production.INFO: Date 2024-12-10
[2025-01-07 05:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:41:04] Production.INFO: Date 2024-12-11
[2025-01-07 05:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:41:04] Production.INFO: Date 2024-12-12
[2025-01-07 05:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:41:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:41:04] Production.INFO: ==7009== Releasing lock...
[2025-01-07 05:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:41:04] Production.INFO: Date 2024-12-13
[2025-01-07 05:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:41:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:41:04] Production.INFO: count ==21
[2025-01-07 05:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:41:04] Production.ERROR: done
[2025-01-07 05:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:41: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] => 856
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.675577
[namelookup_time] => 0.272949
[connect_time] => 0.275999
[pretransfer_time] => 0.54007
[size_upload] => 82
[size_download] => 2755
[speed_download] => 4077
[speed_upload] => 121
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.675549
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.17
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 42850
)
[2025-01-07 05:41:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDY0NjQsImV4cCI6MTczNjI0Njc2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ2NDY0LCJhdF9oYXNoIjoiTzlPV2o3aExZeE1URWZfS3ZNRktTZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.wikCcv_SpIKZAN8g2jbv3hxyZye3uPG_jgMjisKNONHIS54DNOP8n8ub9FVcUtVUZjMStqZ_5ikLcQjAT0VeC2x6Fq_UeHr-NJYKiz-ySTRr7rB0R6BgCpTCVt8TKq1Vvhjy9TcToIPRmiZJu3Oj3aVAIog8p0GD8uu3Qdhr12Vb-unM5ZxyWRFz7pe2dVLKuouGSA44Gnsw2XjtWJc-_yUhqk5wo_OTMS3PrDm_o0yPVk5bdzzFaj9QEIVywihl2Mi0OOfdHlY3Q9cwUMWKuz_KYTg6FuDObxHJ9sp0_RPZRM6WWvN_TIZYhH7haSQCq23idfzD9PLi6XtY3NP7bw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDY0NjQsImV4cCI6MTczNjI0ODI2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.GueBHZO7Ag-ABfmE43mC3GIS7GA54SjVxZEpL8QR3_BA45r7X_48DsgB0466I8aR3jR9lYoq28b70tK7e1p9A3Y7JKi8oIHuzZh77uY7ZEPX7bmc2T9zpx1wneGRs0e89s2odH4q7B0sU95zPQQwRuV02BmMb5qtleSHtA_0x_g3NHYeF4d5WU3fidFnWAgqjFYEx6jO9th3xqbfgj-O81m4PQQOP-OZtZYthWufLYNfmT_OxwA-ky8IZcG4o-SLgY9wpJ6G9ZpCrBCBlHlAMnvXoU1OCIMPGeoHnukm1HaE0I6Jj5C9HI-wXEGExP2PLeVhyotmPMVhEM4ubRgt4A
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => 2MXgo0VJyLt_4TKQY4e3S5FGO8_U62Gv5svotzE9dpo
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 05:41:04] Production.INFO: count ==21
[2025-01-07 05:41:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDY0NjQsImV4cCI6MTczNjI0Njc2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ2NDY0LCJhdF9oYXNoIjoiTzlPV2o3aExZeE1URWZfS3ZNRktTZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.wikCcv_SpIKZAN8g2jbv3hxyZye3uPG_jgMjisKNONHIS54DNOP8n8ub9FVcUtVUZjMStqZ_5ikLcQjAT0VeC2x6Fq_UeHr-NJYKiz-ySTRr7rB0R6BgCpTCVt8TKq1Vvhjy9TcToIPRmiZJu3Oj3aVAIog8p0GD8uu3Qdhr12Vb-unM5ZxyWRFz7pe2dVLKuouGSA44Gnsw2XjtWJc-_yUhqk5wo_OTMS3PrDm_o0yPVk5bdzzFaj9QEIVywihl2Mi0OOfdHlY3Q9cwUMWKuz_KYTg6FuDObxHJ9sp0_RPZRM6WWvN_TIZYhH7haSQCq23idfzD9PLi6XtY3NP7bw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDY0NjQsImV4cCI6MTczNjI0ODI2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.GueBHZO7Ag-ABfmE43mC3GIS7GA54SjVxZEpL8QR3_BA45r7X_48DsgB0466I8aR3jR9lYoq28b70tK7e1p9A3Y7JKi8oIHuzZh77uY7ZEPX7bmc2T9zpx1wneGRs0e89s2odH4q7B0sU95zPQQwRuV02BmMb5qtleSHtA_0x_g3NHYeF4d5WU3fidFnWAgqjFYEx6jO9th3xqbfgj-O81m4PQQOP-OZtZYthWufLYNfmT_OxwA-ky8IZcG4o-SLgY9wpJ6G9ZpCrBCBlHlAMnvXoU1OCIMPGeoHnukm1HaE0I6Jj5C9HI-wXEGExP2PLeVhyotmPMVhEM4ubRgt4A
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => 2MXgo0VJyLt_4TKQY4e3S5FGO8_U62Gv5svotzE9dpo
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 05:41:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192824') start
[2025-01-07 05:41:04] Production.INFO: AccountID 136
[2025-01-07 05:41:04] Production.INFO: AccountName Dominos 10483 (Ronny Khan)
[2025-01-07 05:41:04] Production.INFO: Checkcustomer
[2025-01-07 05:41:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010483%20%28Ronny%20Khan%29"
[2025-01-07 05:41:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:41:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:41:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:41:04] Production.ERROR: done
[2025-01-07 05:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192824') end
[2025-01-07 05:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:41:04] Production.INFO: 1
[2025-01-07 05:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:41:04] Production.INFO: Date 2024-12-19
[2025-01-07 05:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:41:04] Production.INFO: Date 2024-12-20
[2025-01-07 05:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:41:04] Production.INFO: ==7017== Releasing lock...
[2025-01-07 05:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:41:04] Production.INFO: Date 2024-12-21
[2025-01-07 05:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:41:04] Production.INFO: Date 2024-12-22
[2025-01-07 05:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:41:04] Production.INFO: Date 2024-12-23
[2025-01-07 05:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:41:04] Production.INFO: Date 2024-12-24
[2025-01-07 05:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:41:04] Production.INFO: Date 2024-12-25
[2025-01-07 05:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:41:04] Production.INFO: Date 2024-12-26
[2025-01-07 05:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:41:04] Production.INFO: Date 2024-12-27
[2025-01-07 05:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:41:04] Production.INFO: Date 2024-12-28
[2025-01-07 05:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:41:04] Production.INFO: Date 2024-12-29
[2025-01-07 05:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:41:04] Production.INFO: Date 2024-12-30
[2025-01-07 05:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:41:04] Production.INFO: Date 2024-12-31
[2025-01-07 05:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:41:04] Production.INFO: Date 2025-01-01
[2025-01-07 05:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:41:04] Production.INFO: Date 2025-01-02
[2025-01-07 05:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:41:04] Production.INFO: Date 2025-01-03
[2025-01-07 05:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:41:04] Production.INFO: Date 2025-01-04
[2025-01-07 05:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:41:05] Production.INFO: Date 2025-01-05
[2025-01-07 05:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:41:05] Production.INFO: Date 2025-01-06
[2025-01-07 05:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:41:05] Production.INFO: Date 2025-01-07
[2025-01-07 05:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:41:05] Production.INFO: Total Charge 0
[2025-01-07 05:41:05] Production.INFO: CreateAllLog End
[2025-01-07 05:41:05] Production.INFO: Account Balance End.
[2025-01-07 05:41:05] Production.ERROR: CronJobId end 12
[2025-01-07 05:41:05] Production.INFO: ==7013== Releasing lock...
[2025-01-07 05:41:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:41:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:41:05
[end_date_ymd] => 2025-01-07 05:41:05
[RateCDR] => 1
)
[2025-01-07 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-07 02:41:05' and `end` < '2025-01-07 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-07 05:41:06] Production.INFO: Contact id print CheckCustomer Case===39e8e2e7-bbd0-4c58-9676-ff9889ed0960
[2025-01-07 05:41:06] Production.INFO: -- count --1
[2025-01-07 05:41:06] Production.INFO: AccountID 20
[2025-01-07 05:41:06] Production.INFO: AccountName Dominos 10514 (Sandeep Chaudhari)
[2025-01-07 05:41:06] Production.INFO: Checkcustomer
[2025-01-07 05:41:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010514%20%28Sandeep%20Chaudhari%29"
[2025-01-07 05:41:09] Production.INFO: Contact id print CheckCustomer Case===f2764bcf-df27-4f1c-86cf-e8005ea19444
[2025-01-07 05:41:09] Production.INFO: -- count --1
[2025-01-07 05:41:09] Production.INFO: AccountID 14
[2025-01-07 05:41:09] Production.INFO: AccountName Dominos 10515 (Ronny Khan)
[2025-01-07 05:41:09] Production.INFO: Checkcustomer
[2025-01-07 05:41:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010515%20%28Ronny%20Khan%29"
[2025-01-07 05:41:12] Production.INFO: Contact id print CheckCustomer Case===de29a9c7-cecf-49b7-b42f-7b106467f0ce
[2025-01-07 05:41:12] Production.INFO: -- count --1
[2025-01-07 05:41:12] Production.INFO: AccountID 74
[2025-01-07 05:41:12] Production.INFO: AccountName Dominos 10532 (Sandeep Chaudhari)
[2025-01-07 05:41:12] Production.INFO: Checkcustomer
[2025-01-07 05:41:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010532%20%28Sandeep%20Chaudhari%29"
[2025-01-07 05:41:12] Production.ERROR: CronJobId end10
[2025-01-07 05:41:12] Production.INFO: ==7011== Releasing lock...
[2025-01-07 05:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:41:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:41:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:41:14] Production.INFO: call_cost start
[2025-01-07 05:41:14] Production.INFO: call_cost end
[2025-01-07 05:41:14] Production.INFO: Contact id print CheckCustomer Case===dded1f8a-d8ba-43e9-a033-ca82f3d54f47
[2025-01-07 05:41:14] Production.INFO: -- count --1
[2025-01-07 05:41:14] Production.INFO: AccountID 74
[2025-01-07 05:41:14] Production.INFO: AccountName Dominos 10532 (Sandeep Chaudhari)
[2025-01-07 05:41:14] Production.INFO: Checkcustomer
[2025-01-07 05:41:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010532%20%28Sandeep%20Chaudhari%29"
[2025-01-07 05:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:41:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:41:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:41:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:41:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:41:15] Production.INFO: ==7007== Releasing lock...
[2025-01-07 05:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:41:17] Production.INFO: Contact id print CheckCustomer Case===dded1f8a-d8ba-43e9-a033-ca82f3d54f47
[2025-01-07 05:41:17] Production.INFO: -- count --1
[2025-01-07 05:41:17] Production.INFO: AccountID 84
[2025-01-07 05:41:17] Production.INFO: AccountName Dominos 10534 (Sandeep Chaudhari)
[2025-01-07 05:41:17] Production.INFO: Checkcustomer
[2025-01-07 05:41:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010534%20%28Sandeep%20Chaudhari%29"
[2025-01-07 05:41:18] Production.INFO: count ==59
[2025-01-07 05:41:18] Production.ERROR: pbx CDR StartTime 2025-01-07 02:41:05 - End Time 2025-01-07 05:41:05
[2025-01-07 05:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192825', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192825', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192825', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192825', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:41:18] Production.INFO: ProcessCDR(1,14192825,1,1,2)
[2025-01-07 05:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192825,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:41:20] Production.INFO: Contact id print CheckCustomer Case===8f094a5b-f8d1-4cb4-be2e-59f80f574839
[2025-01-07 05:41:20] Production.INFO: -- count --1
[2025-01-07 05:41:20] Production.INFO: -- Xero Add Inovice --
[2025-01-07 05:41:20] Production.INFO: CheckInvoice xerov2: INV11222
[2025-01-07 05:41:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11222
[2025-01-07 05:41:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192825,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:41:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192825,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:41:22] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:41:22] Production.INFO: Invoice SubTotal 57.500000
[2025-01-07 05:41:22] Production.INFO: Invoice DetTotal 57.5
[2025-01-07 05:41:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010483%20%28Ronny%20Khan%29"
[2025-01-07 05:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192825,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192825', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192825', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:41:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:41:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:41:22] Production.INFO: ==7015== Releasing lock...
[2025-01-07 05:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:41:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 05:41:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:41:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:41:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:41:33] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (6473525055 - 10 Mallard Rd 52 North York, ON M3B 0A7)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 4,UnitAmount : -5.000000,LineAmount : -20.000000}
[2025-01-07 05:41:36] Production.INFO: ==== result =====
[2025-01-07 05:41:36] Production.INFO: {
"Id": "05dbb09f-87c2-49c6-afdf-bb4f8724d77a",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736246496878)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "f1df679c-39b3-41bc-9190-d4e90c0d1e81",
"InvoiceNumber": "INV11222",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 64.98,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "39e8e2e7-bbd0-4c58-9676-ff9889ed0960",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10483 (Ronny Khan)",
"FirstName": "Ronny",
"LastName": "Khan",
"EmailAddress": "sarwar247@hotmail.com",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1602454226393+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-15T00:00:00",
"Date": "\/Date(1734220800000+0000)\/",
"DueDateString": "2025-01-14T00:00:00",
"DueDate": "\/Date(1736812800000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "9d1de0cc-7a58-4367-b419-35a5d24685cb",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (6473525055 - 10 Mallard Rd 52 North York, ON M3B 0A7)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "820d3dd4-6869-4ee4-8558-258c4ae2049f",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -5.00,
"TaxType": "TAX020",
"TaxAmount": -2.60,
"LineAmount": -20.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 4.0000,
"DiscountRate": 0.00,
"LineItemID": "ea2f5ea1-292a-49c9-8ebf-032057b7219b",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 57.50,
"TotalTax": 7.48,
"Total": 64.98,
"UpdatedDateUTC": "\/Date(1736246496830+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:41:36] Production.INFO: -- Create Invoice id --f1df679c-39b3-41bc-9190-d4e90c0d1e81
[2025-01-07 05:41:36] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:41:36] Production.INFO: CheckInvoice xerov2: INV11213
[2025-01-07 05:41:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11213
[2025-01-07 05:41:39] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:41:39] Production.INFO: Invoice SubTotal 52.500000
[2025-01-07 05:41:39] Production.INFO: Invoice DetTotal 52.5
[2025-01-07 05:41:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010514%20%28Sandeep%20Chaudhari%29"
[2025-01-07 05:41:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:41:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:41:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:41:49] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Dominos Pizza - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (15198880012 - 221 HOLIDAY INN DR CAMBRIDGE, ON N3C3T2)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 5,UnitAmount : -5.000000,LineAmount : -25.000000}
[2025-01-07 05:41:52] Production.INFO: ==== result =====
[2025-01-07 05:41:52] Production.INFO: {
"Id": "f97863c9-82c4-4906-aab9-79d7d9943b62",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736246512753)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "49da96c2-dc89-4885-a9c3-ec09c98a3192",
"InvoiceNumber": "INV11213",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 59.33,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "f2764bcf-df27-4f1c-86cf-e8005ea19444",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10514 (Sandeep Chaudhari)",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1562267972817+0000)\/",
"ContactGroups": [
{
"ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58",
"Name": "Benjamin's Customers",
"Status": "ACTIVE",
"Contacts": [],
"HasValidationErrors": false
}
],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-14T00:00:00",
"Date": "\/Date(1734134400000+0000)\/",
"DueDateString": "2025-01-13T00:00:00",
"DueDate": "\/Date(1736726400000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Dominos Pizza - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "3b32cca4-4e30-4163-844a-697ec5f04ef1",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (15198880012 - 221 HOLIDAY INN DR CAMBRIDGE, ON N3C3T2)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "8fb5ddd6-4bba-4365-9321-910236314142",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -5.00,
"TaxType": "TAX020",
"TaxAmount": -3.25,
"LineAmount": -25.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 5.0000,
"DiscountRate": 0.00,
"LineItemID": "9cfd08c0-a6f4-4345-bd69-eb7873f59dae",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 52.50,
"TotalTax": 6.83,
"Total": 59.33,
"UpdatedDateUTC": "\/Date(1736246512690+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:41:52] Production.INFO: -- Create Invoice id --49da96c2-dc89-4885-a9c3-ec09c98a3192
[2025-01-07 05:41:52] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:41:52] Production.INFO: CheckInvoice xerov2: INV11236
[2025-01-07 05:41:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11236
[2025-01-07 05:41:55] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:41:55] Production.INFO: Invoice SubTotal 57.500000
[2025-01-07 05:41:55] Production.INFO: Invoice DetTotal 57.5
[2025-01-07 05:41:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010515%20%28Ronny%20Khan%29"
[2025-01-07 05:41:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 10:42:01] Production.INFO: ==7090== Lock acquired, processing the job...
[2025-01-07 10:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:42:01] Production.INFO: neon service started
[2025-01-07 10:42:01] Production.INFO: neon service started
[2025-01-07 10:42:01] Production.INFO: ==7090== Releasing lock...
[2025-01-07 10:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:42:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 10:42:02] Production.INFO: ==7094== Lock acquired, processing the job...
[2025-01-07 10:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:42:02] Production.INFO: ==7092== Lock acquired, processing the job...
[2025-01-07 05:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:42:02] Production.INFO: ==7094== Releasing lock...
[2025-01-07 10:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:42:02] Production.INFO: ==7092== Releasing lock...
[2025-01-07 05:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:42:03] Production.INFO: ==7101== Lock acquired, processing the job...
[2025-01-07 05:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:42:03] Production.INFO: ==7097== Lock acquired, processing the job...
[2025-01-07 05:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:42:03] Production.INFO: ==7099== Lock acquired, processing the job...
[2025-01-07 05:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:42:03] Production.INFO: ==7105== Lock acquired, processing the job...
[2025-01-07 05:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:42:03] Production.INFO: ==7107== Lock acquired, processing the job...
[2025-01-07 05:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:42:03] Production.INFO: ==7103== Lock acquired, processing the job...
[2025-01-07 05:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 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-07 05:42:03] Production.INFO: ==7099== Releasing lock...
[2025-01-07 05:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:42:03] Production.INFO: count ==21
[2025-01-07 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-07 05:42:03] Production.INFO: count ==21
[2025-01-07 05:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192828') start
[2025-01-07 05:42:03] Production.INFO: Account Balance Start.
[2025-01-07 05:42:03] Production.INFO: CreateAllLog Start
[2025-01-07 05:42:03] Production.INFO: 117
[2025-01-07 05:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192828') end
[2025-01-07 05:42:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:42:03] Production.INFO: 1
[2025-01-07 05:42:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:42:03] Production.INFO: Date 2024-12-08
[2025-01-07 05:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:42:03] Production.INFO: ==7107== Releasing lock...
[2025-01-07 05:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:42:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:42:03] Production.INFO: Date 2024-12-09
[2025-01-07 05:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:42:03] Production.ERROR: done
[2025-01-07 05:42:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:42:03] Production.INFO: Date 2024-12-10
[2025-01-07 05:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:42:04] Production.INFO: Date 2024-12-11
[2025-01-07 05:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:42:04] Production.ERROR: done
[2025-01-07 05:42:04] Production.INFO: Date 2024-12-12
[2025-01-07 05:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:42:04] Production.INFO: Date 2024-12-13
[2025-01-07 05:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:42:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:42:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:42:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:42:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:42:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:42:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:42:04] Production.INFO: Date 2024-12-19
[2025-01-07 05:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:42:04] Production.INFO: Date 2024-12-20
[2025-01-07 05:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:42:04] Production.INFO: Date 2024-12-21
[2025-01-07 05:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:42:04] Production.INFO: Date 2024-12-22
[2025-01-07 05:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:42:04] Production.INFO: Date 2024-12-23
[2025-01-07 05:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:42:04] Production.INFO: Date 2024-12-24
[2025-01-07 05:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:42:04] Production.INFO: Date 2024-12-25
[2025-01-07 05:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:42:04] Production.INFO: Date 2024-12-26
[2025-01-07 05:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:42:04] Production.INFO: Date 2024-12-27
[2025-01-07 05:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:42:04] Production.INFO: Date 2024-12-28
[2025-01-07 05:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:42:04] Production.INFO: Date 2024-12-29
[2025-01-07 05:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:42:04] Production.INFO: Date 2024-12-30
[2025-01-07 05:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:42:04] Production.INFO: Date 2024-12-31
[2025-01-07 05:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:42:04] Production.INFO: Date 2025-01-01
[2025-01-07 05:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:42:04] Production.INFO: Date 2025-01-02
[2025-01-07 05:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:42:04] Production.INFO: Date 2025-01-03
[2025-01-07 05:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:42:04] Production.INFO: Date 2025-01-04
[2025-01-07 05:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:42:04] Production.INFO: Date 2025-01-05
[2025-01-07 05:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:42:04] Production.INFO: Date 2025-01-06
[2025-01-07 05:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:42:04] Production.INFO: Date 2025-01-07
[2025-01-07 05:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:42:05] Production.INFO: Total Charge 0
[2025-01-07 05:42:05] Production.INFO: CreateAllLog End
[2025-01-07 05:42:05] Production.INFO: Account Balance End.
[2025-01-07 05:42:05] Production.ERROR: CronJobId end 12
[2025-01-07 05:42:05] Production.INFO: ==7103== Releasing lock...
[2025-01-07 05:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:42:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:42:05
[end_date_ymd] => 2025-01-07 05:42:05
[RateCDR] => 1
)
[2025-01-07 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-07 02:42:05' and `end` < '2025-01-07 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-07 05:42:06] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Dominos Pizza - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (182 WILSON AVE NORTH YORK, ON M5M4N7)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 4,UnitAmount : -5.000000,LineAmount : -20.000000}
[2025-01-07 05:42:09] Production.INFO: ==== result =====
[2025-01-07 05:42:09] Production.INFO: {
"Id": "c400beb2-5d8e-46d1-8d32-2cad2cf7662b",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736246529208)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "fc38f5e8-39d3-419e-8948-c21e299da347",
"InvoiceNumber": "INV11236",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 64.98,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "de29a9c7-cecf-49b7-b42f-7b106467f0ce",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10515 (Ronny Khan)",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1562267972817+0000)\/",
"ContactGroups": [
{
"ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58",
"Name": "Benjamin's Customers",
"Status": "ACTIVE",
"Contacts": [],
"HasValidationErrors": false
}
],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-18T00:00:00",
"Date": "\/Date(1734480000000+0000)\/",
"DueDateString": "2025-01-17T00:00:00",
"DueDate": "\/Date(1737072000000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Dominos Pizza - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "f1a42b6a-bc9a-4857-a4da-66ecfcc38497",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (182 WILSON AVE NORTH YORK, ON M5M4N7)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "84591d2e-f25c-4435-8ffa-3781895ab19e",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -5.00,
"TaxType": "TAX020",
"TaxAmount": -2.60,
"LineAmount": -20.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 4.0000,
"DiscountRate": 0.00,
"LineItemID": "0f2f61d8-d607-4474-8eb9-7942e955b615",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 57.50,
"TotalTax": 7.48,
"Total": 64.98,
"UpdatedDateUTC": "\/Date(1736246529163+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:42:09] Production.INFO: -- Create Invoice id --fc38f5e8-39d3-419e-8948-c21e299da347
[2025-01-07 05:42:09] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:42:09] Production.INFO: CheckInvoice xerov2: INV11104
[2025-01-07 05:42:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11104
[2025-01-07 05:42:10] Production.ERROR: CronJobId end10
[2025-01-07 05:42:10] Production.INFO: ==7101== Releasing lock...
[2025-01-07 05:42:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:42:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:42:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:42:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:42:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:42:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:42:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:42:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:42:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:42:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:42:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:42:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:42:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:42:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:42:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:42:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:42:12] Production.INFO: call_cost start
[2025-01-07 05:42:12] Production.INFO: call_cost end
[2025-01-07 05:42:12] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:42:12] Production.INFO: Invoice SubTotal 52.500000
[2025-01-07 05:42:12] Production.INFO: Invoice DetTotal 52.5
[2025-01-07 05:42:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010532%20%28Sandeep%20Chaudhari%29"
[2025-01-07 05:42:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:42:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:42:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:42:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:42:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:42:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:42:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:42:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:42:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:42:13] Production.INFO: ==7097== Releasing lock...
[2025-01-07 05:42:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:42:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:42:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:42:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:42:19] Production.INFO: count ==59
[2025-01-07 05:42:19] Production.ERROR: pbx CDR StartTime 2025-01-07 02:42:05 - End Time 2025-01-07 05:42:05
[2025-01-07 05:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192830', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192830', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192830', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192830', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:42:19] Production.INFO: ProcessCDR(1,14192830,1,1,2)
[2025-01-07 05:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192830,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192830,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192830,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:42:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192830,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192830', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192830', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:42:22] Production.INFO: ==7105== Releasing lock...
[2025-01-07 05:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:42:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 05:42:23] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (15198041212 - 655 FAIRWAY RD S BLDG B UNIT B4B KITCHENER, ON N2C1X4)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 5,UnitAmount : -5.000000,LineAmount : -25.000000}
[2025-01-07 05:42:25] Production.INFO: ==== result =====
[2025-01-07 05:42:25] Production.INFO: {
"Id": "ad461dae-84d7-4bd7-9a7d-6367ccfa31f0",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736246545691)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "5561a7f6-4901-4a22-a615-eb2837fdc981",
"InvoiceNumber": "INV11104",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 59.33,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "dded1f8a-d8ba-43e9-a033-ca82f3d54f47",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10532 (Sandeep Chaudhari)",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1562267972817+0000)\/",
"ContactGroups": [
{
"ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58",
"Name": "Benjamin's Customers",
"Status": "ACTIVE",
"Contacts": [],
"HasValidationErrors": false
}
],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-11-25T00:00:00",
"Date": "\/Date(1732492800000+0000)\/",
"DueDateString": "2024-12-25T00:00:00",
"DueDate": "\/Date(1735084800000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "0e9ddd16-9c4f-46e3-948d-ec27c45873f3",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (15198041212 - 655 FAIRWAY RD S BLDG B UNIT B4B KITCHENER, ON N2C1X4)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "901941b9-150e-49a6-a793-d10bd03d9d6e",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -5.00,
"TaxType": "TAX020",
"TaxAmount": -3.25,
"LineAmount": -25.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 5.0000,
"DiscountRate": 0.00,
"LineItemID": "74592381-ae0c-49dc-920b-eaf57da70d40",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 52.50,
"TotalTax": 6.83,
"Total": 59.33,
"UpdatedDateUTC": "\/Date(1736246545613+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:42:25] Production.INFO: -- Create Invoice id --5561a7f6-4901-4a22-a615-eb2837fdc981
[2025-01-07 05:42:25] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:42:25] Production.INFO: CheckInvoice xerov2: INV11261
[2025-01-07 05:42:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11261
[2025-01-07 05:42:28] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:42:28] Production.INFO: Invoice SubTotal 52.500000
[2025-01-07 05:42:28] Production.INFO: Invoice DetTotal 52.5
[2025-01-07 05:42:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010532%20%28Sandeep%20Chaudhari%29"
[2025-01-07 05:42:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:42:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:42:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:42:37] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (15198041212 - 655 FAIRWAY RD S BLDG B UNIT B4B KITCHENER, ON N2C1X4)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 5,UnitAmount : -5.000000,LineAmount : -25.000000}
[2025-01-07 05:42:40] Production.INFO: ==== result =====
[2025-01-07 05:42:40] Production.INFO: {
"Id": "546b1855-9791-41ff-a6cb-f9690ec1dde4",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736246560793)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "f147fcf1-a242-4ee4-bdf3-25170d357b94",
"InvoiceNumber": "INV11261",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 59.33,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "dded1f8a-d8ba-43e9-a033-ca82f3d54f47",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10532 (Sandeep Chaudhari)",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1562267972817+0000)\/",
"ContactGroups": [
{
"ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58",
"Name": "Benjamin's Customers",
"Status": "ACTIVE",
"Contacts": [],
"HasValidationErrors": false
}
],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-25T00:00:00",
"Date": "\/Date(1735084800000+0000)\/",
"DueDateString": "2025-01-24T00:00:00",
"DueDate": "\/Date(1737676800000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "90a13725-8aea-41f8-8457-703daf219eab",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (15198041212 - 655 FAIRWAY RD S BLDG B UNIT B4B KITCHENER, ON N2C1X4)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "469c6c5b-9e46-4c1e-aa5f-3c1aa0983980",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -5.00,
"TaxType": "TAX020",
"TaxAmount": -3.25,
"LineAmount": -25.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 5.0000,
"DiscountRate": 0.00,
"LineItemID": "df61384d-8c19-4bd1-acfe-fdd3165dc45c",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 52.50,
"TotalTax": 6.83,
"Total": 59.33,
"UpdatedDateUTC": "\/Date(1736246560747+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:42:40] Production.INFO: -- Create Invoice id --f147fcf1-a242-4ee4-bdf3-25170d357b94
[2025-01-07 05:42:40] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:42:40] Production.INFO: CheckInvoice xerov2: INV11207
[2025-01-07 05:42:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11207
[2025-01-07 05:42:43] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:42:43] Production.INFO: Invoice SubTotal 52.500000
[2025-01-07 05:42:43] Production.INFO: Invoice DetTotal 52.5
[2025-01-07 05:42:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010534%20%28Sandeep%20Chaudhari%29"
[2025-01-07 05:42:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:42:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:42:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:42:54] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (PHONENUMBER - ADDRESS)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 5,UnitAmount : -5.000000,LineAmount : -25.000000}
[2025-01-07 05:42:56] Production.INFO: ==== result =====
[2025-01-07 05:42:56] Production.INFO: {
"Id": "faf7b508-df9f-46b5-b72b-8df7f7c83de3",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736246576665)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "9b7631e9-7ce3-4f9a-8bde-9ec03fbde92c",
"InvoiceNumber": "INV11207",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 59.33,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "8f094a5b-f8d1-4cb4-be2e-59f80f574839",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10534 (Sandeep Chaudhari)",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1562267972817+0000)\/",
"ContactGroups": [
{
"ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58",
"Name": "Benjamin's Customers",
"Status": "ACTIVE",
"Contacts": [],
"HasValidationErrors": false
}
],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-13T00:00:00",
"Date": "\/Date(1734048000000+0000)\/",
"DueDateString": "2025-01-12T00:00:00",
"DueDate": "\/Date(1736640000000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "0227aefc-6c4e-46d7-8838-7be275339504",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (PHONENUMBER - ADDRESS)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "30cfb00c-17d6-49d4-b49e-7bcbb27309af",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -5.00,
"TaxType": "TAX020",
"TaxAmount": -3.25,
"LineAmount": -25.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 5.0000,
"DiscountRate": 0.00,
"LineItemID": "13b65397-af5a-4819-a604-3faaf3003a6c",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 52.50,
"TotalTax": 6.83,
"Total": 59.33,
"UpdatedDateUTC": "\/Date(1736246576587+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:42:56] Production.INFO: -- Create Invoice id --9b7631e9-7ce3-4f9a-8bde-9ec03fbde92c
[2025-01-07 05:42:56] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:42:56] Production.INFO: -- Xero End Inovice --
[2025-01-07 05:42:56] Production.INFO: ==7005== Releasing lock...
[2025-01-07 05:42:56] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10436 #Stops#
[2025-01-07 05:42:56] Production.INFO: 32.5 MB #Memory Used#
[2025-01-07 10:43:01] Production.INFO: ==7183== Lock acquired, processing the job...
[2025-01-07 10:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:43:01] Production.INFO: neon service started
[2025-01-07 10:43:01] Production.INFO: neon service started
[2025-01-07 10:43:01] Production.INFO: ==7183== Releasing lock...
[2025-01-07 10:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:43:02] Production.INFO: ==7185== Lock acquired, processing the job...
[2025-01-07 05:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:43:02] Production.INFO: ==7185== Releasing lock...
[2025-01-07 05:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:43:02] Production.INFO: ==7187== Lock acquired, processing the job...
[2025-01-07 10:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:43:02] Production.INFO: ==7187== Releasing lock...
[2025-01-07 10:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:43:03] Production.INFO: ==7191== Lock acquired, processing the job...
[2025-01-07 05:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:43:03] Production.INFO: ==7197== Lock acquired, processing the job...
[2025-01-07 05:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:43:03] Production.INFO: ==7189== Lock acquired, processing the job...
[2025-01-07 05:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:43:03] Production.INFO: ==7193== Lock acquired, processing the job...
[2025-01-07 05:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:43:03] Production.INFO: ==7191== Releasing lock...
[2025-01-07 05:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:43:03] Production.INFO: ==7195== Lock acquired, processing the job...
[2025-01-07 05:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:43:03] Production.INFO: ==7199== Lock acquired, processing the job...
[2025-01-07 05:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:43:03] Production.ERROR: done
[2025-01-07 05:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:43:03] Production.INFO: Account Balance Start.
[2025-01-07 05:43:03] Production.INFO: CreateAllLog Start
[2025-01-07 05:43:03] Production.INFO: 117
[2025-01-07 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-07 05:43:03] Production.INFO: Date 2024-12-08
[2025-01-07 05:43:03] Production.INFO: count ==21
[2025-01-07 05:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 05:43:03] Production.INFO: count ==21
[2025-01-07 05:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192834') start
[2025-01-07 05:43:03] Production.ERROR: done
[2025-01-07 05:43:03] Production.INFO: Date 2024-12-09
[2025-01-07 05:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:43:03] Production.INFO: Date 2024-12-10
[2025-01-07 05:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192834') end
[2025-01-07 05:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:43:03] Production.INFO: 1
[2025-01-07 05:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:43:03] Production.INFO: Date 2024-12-11
[2025-01-07 05:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:43:03] Production.INFO: ==7199== Releasing lock...
[2025-01-07 05:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:43:03] Production.INFO: Date 2024-12-12
[2025-01-07 05:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:43:04] Production.INFO: Date 2024-12-13
[2025-01-07 05:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:43:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:43:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:43:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:43:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:43:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:43:04] Production.INFO: Date 2024-12-19
[2025-01-07 05:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:43:04] Production.INFO: Date 2024-12-20
[2025-01-07 05:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:43:04] Production.INFO: Date 2024-12-21
[2025-01-07 05:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:43:04] Production.INFO: Date 2024-12-22
[2025-01-07 05:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:43:04] Production.INFO: Date 2024-12-23
[2025-01-07 05:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:43:04] Production.INFO: Date 2024-12-24
[2025-01-07 05:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:43:04] Production.INFO: Date 2024-12-25
[2025-01-07 05:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:43:04] Production.INFO: Date 2024-12-26
[2025-01-07 05:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:43:04] Production.INFO: Date 2024-12-27
[2025-01-07 05:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:43:04] Production.INFO: Date 2024-12-28
[2025-01-07 05:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:43:04] Production.INFO: Date 2024-12-29
[2025-01-07 05:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:43:04] Production.INFO: Date 2024-12-30
[2025-01-07 05:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:43:04] Production.INFO: Date 2024-12-31
[2025-01-07 05:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:43:04] Production.INFO: Date 2025-01-01
[2025-01-07 05:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:43:04] Production.INFO: Date 2025-01-02
[2025-01-07 05:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:43:04] Production.INFO: Date 2025-01-03
[2025-01-07 05:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:43:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:43:04
[end_date_ymd] => 2025-01-07 05:43:04
[RateCDR] => 1
)
[2025-01-07 05:43:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 02:43:04' and `end` < '2025-01-07 05:43:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 05:43:05] Production.INFO: Date 2025-01-04
[2025-01-07 05:43:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:43:05] Production.INFO: Date 2025-01-05
[2025-01-07 05:43:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:43:05] Production.INFO: Date 2025-01-06
[2025-01-07 05:43:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:43:05] Production.INFO: Date 2025-01-07
[2025-01-07 05:43:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:43:05] Production.INFO: Total Charge 0
[2025-01-07 05:43:05] Production.INFO: CreateAllLog End
[2025-01-07 05:43:05] Production.INFO: Account Balance End.
[2025-01-07 05:43:05] Production.ERROR: CronJobId end 12
[2025-01-07 05:43:05] Production.INFO: ==7195== Releasing lock...
[2025-01-07 05:43:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:43:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:43:10] Production.ERROR: CronJobId end10
[2025-01-07 05:43:10] Production.INFO: ==7193== Releasing lock...
[2025-01-07 05:43:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:43:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:43:12] Production.INFO: call_cost start
[2025-01-07 05:43:12] Production.INFO: call_cost end
[2025-01-07 05:43:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:43:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:43:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:43:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:43:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:43:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:43:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:43:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:43:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:43:13] Production.INFO: ==7189== Releasing lock...
[2025-01-07 05:43:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:43:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:43:19] Production.INFO: count ==59
[2025-01-07 05:43:19] Production.ERROR: pbx CDR StartTime 2025-01-07 02:43:04 - End Time 2025-01-07 05:43:04
[2025-01-07 05:43:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192835', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192835', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192835', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192835', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:43:19] Production.INFO: ProcessCDR(1,14192835,1,1,2)
[2025-01-07 05:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192835,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:43:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192835,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:43:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192835,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192835,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192835', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192835', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:43:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:43:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:43:22] Production.INFO: ==7197== Releasing lock...
[2025-01-07 05:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:43:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 10:44:02] Production.INFO: ==7255== Lock acquired, processing the job...
[2025-01-07 10:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:44:02] Production.INFO: neon service started
[2025-01-07 10:44:02] Production.INFO: neon service started
[2025-01-07 10:44:02] Production.INFO: ==7255== Releasing lock...
[2025-01-07 10:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:44:02] Production.INFO: ==7258== Lock acquired, processing the job...
[2025-01-07 05:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:44:02] Production.INFO: ==7260== Lock acquired, processing the job...
[2025-01-07 10:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:44:02] Production.INFO: ==7260== Releasing lock...
[2025-01-07 10:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:44:03] Production.INFO: ==7258== Releasing lock...
[2025-01-07 05:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:44:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:44:03] Production.INFO: ==7262== Lock acquired, processing the job...
[2025-01-07 05:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:44:03] Production.INFO: ==7264== Lock acquired, processing the job...
[2025-01-07 05:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:44:03] Production.INFO: ==7268== Lock acquired, processing the job...
[2025-01-07 05:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:44:04] Production.INFO: Account Balance Start.
[2025-01-07 05:44:04] Production.INFO: CreateAllLog Start
[2025-01-07 05:44:04] Production.INFO: 117
[2025-01-07 05:44:04] Production.INFO: Date 2024-12-08
[2025-01-07 05:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:44:04] Production.INFO: Date 2024-12-09
[2025-01-07 05:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:44:04] Production.INFO: Date 2024-12-10
[2025-01-07 05:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:44:04] Production.INFO: ==7266== Lock acquired, processing the job...
[2025-01-07 05:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:44:04] Production.INFO: Date 2024-12-11
[2025-01-07 05:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:44:04] Production.INFO: Date 2024-12-12
[2025-01-07 05:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:44:04] Production.INFO: Date 2024-12-13
[2025-01-07 05:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:44:04] Production.INFO: ==7264== Releasing lock...
[2025-01-07 05:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:44:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:44:04] Production.INFO: ==7270== Lock acquired, processing the job...
[2025-01-07 05:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:44:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:44:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:44:04] Production.INFO: ==7272== Lock acquired, processing the job...
[2025-01-07 05:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:44:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:44:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:44:04] Production.INFO: Date 2024-12-19
[2025-01-07 05:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:44:04] Production.INFO: Date 2024-12-20
[2025-01-07 05:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:44:04] Production.INFO: Date 2024-12-21
[2025-01-07 05:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 05:44:04] Production.INFO: Date 2024-12-22
[2025-01-07 05:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:44:04] Production.INFO: count ==21
[2025-01-07 05:44:04] Production.ERROR: done
[2025-01-07 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-07 05:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:44:04] Production.INFO: count ==21
[2025-01-07 05:44:04] Production.INFO: Date 2024-12-23
[2025-01-07 05:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192839') start
[2025-01-07 05:44:04] Production.INFO: Date 2024-12-24
[2025-01-07 05:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:44:04] Production.INFO: Date 2024-12-25
[2025-01-07 05:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:44:05] Production.INFO: Date 2024-12-26
[2025-01-07 05:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:44:05] Production.ERROR: done
[2025-01-07 05:44:05] Production.ERROR: PBX CALL prc_importPBXExtension('14192839') end
[2025-01-07 05:44:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:44:05] Production.INFO: 1
[2025-01-07 05:44:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:44:05] Production.INFO: Date 2024-12-27
[2025-01-07 05:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:44:05] Production.INFO: ==7272== Releasing lock...
[2025-01-07 05:44:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:44:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:44:05] Production.INFO: Date 2024-12-28
[2025-01-07 05:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:44:05] Production.INFO: Date 2024-12-29
[2025-01-07 05:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:44:05] Production.INFO: Date 2024-12-30
[2025-01-07 05:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:44:05] Production.INFO: Date 2024-12-31
[2025-01-07 05:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:44:05] Production.INFO: Date 2025-01-01
[2025-01-07 05:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:44:05] Production.INFO: Date 2025-01-02
[2025-01-07 05:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:44:05] Production.INFO: Date 2025-01-03
[2025-01-07 05:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:44:05] Production.INFO: Date 2025-01-04
[2025-01-07 05:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:44:05] Production.INFO: Date 2025-01-05
[2025-01-07 05:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:44:05] Production.INFO: Date 2025-01-06
[2025-01-07 05:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:44:05] Production.INFO: Date 2025-01-07
[2025-01-07 05:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:44:05] Production.INFO: Total Charge 0
[2025-01-07 05:44:05] Production.INFO: CreateAllLog End
[2025-01-07 05:44:05] Production.INFO: Account Balance End.
[2025-01-07 05:44:05] Production.ERROR: CronJobId end 12
[2025-01-07 05:44:05] Production.INFO: ==7268== Releasing lock...
[2025-01-07 05:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:44:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:44:05
[end_date_ymd] => 2025-01-07 05:44:05
[RateCDR] => 1
)
[2025-01-07 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-07 02:44:05' and `end` < '2025-01-07 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-07 05:44:12] Production.ERROR: CronJobId end10
[2025-01-07 05:44:12] Production.INFO: ==7266== Releasing lock...
[2025-01-07 05:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:44:14] Production.INFO: call_cost start
[2025-01-07 05:44:14] Production.INFO: call_cost end
[2025-01-07 05:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:44:14] Production.INFO: ==7262== Releasing lock...
[2025-01-07 05:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:44:18] Production.INFO: count ==59
[2025-01-07 05:44:18] Production.ERROR: pbx CDR StartTime 2025-01-07 02:44:05 - End Time 2025-01-07 05:44:05
[2025-01-07 05:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192840', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192840', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192840', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192840', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:44:18] Production.INFO: ProcessCDR(1,14192840,1,1,2)
[2025-01-07 05:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192840,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192840,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192840,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192840,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192840', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192840', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:44:21] Production.INFO: ==7270== Releasing lock...
[2025-01-07 05:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:44:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 10:45:01] Production.INFO: ==7326== Lock acquired, processing the job...
[2025-01-07 10:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:45:01] Production.INFO: neon service started
[2025-01-07 10:45:01] Production.INFO: neon service started
[2025-01-07 10:45:01] Production.INFO: ==7326== Releasing lock...
[2025-01-07 10:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:45:02] Production.INFO: ==7328== Lock acquired, processing the job...
[2025-01-07 05:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:45:02] Production.INFO: ==7328== Releasing lock...
[2025-01-07 05:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:45:02] Production.INFO: ==7330== Lock acquired, processing the job...
[2025-01-07 10:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:45:02] Production.INFO: ==7330== Releasing lock...
[2025-01-07 10:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:45:03] Production.INFO: ==7335== Lock acquired, processing the job...
[2025-01-07 05:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:45:03] Production.INFO: ==7333== Lock acquired, processing the job...
[2025-01-07 05:45:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10437 #Starts#
[2025-01-07 05:45:03] Production.INFO: -- Xero Api Check --
[2025-01-07 05:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:45:03] Production.INFO: ==7343== Lock acquired, processing the job...
[2025-01-07 05:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:45:03] Production.INFO: ==7337== Lock acquired, processing the job...
[2025-01-07 05:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:45:03] Production.INFO: ==7339== Lock acquired, processing the job...
[2025-01-07 05:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:45:03] Production.INFO: ==7341== Lock acquired, processing the job...
[2025-01-07 05:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:45:03] Production.INFO: ==7345== Lock acquired, processing the job...
[2025-01-07 05:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:45:03] Production.INFO: Account Balance Start.
[2025-01-07 05:45:03] Production.INFO: CreateAllLog Start
[2025-01-07 05:45:03] Production.INFO: 117
[2025-01-07 05:45:03] Production.INFO: Date 2024-12-08
[2025-01-07 05:45:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 05:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:45:03] Production.INFO: count ==21
[2025-01-07 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-07 05:45:03] Production.INFO: count ==21
[2025-01-07 05:45:04] Production.ERROR: done
[2025-01-07 05:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192844') start
[2025-01-07 05:45:04] Production.INFO: Date 2024-12-09
[2025-01-07 05:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:45:04] Production.INFO: Date 2024-12-10
[2025-01-07 05:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:45:04] Production.INFO: Date 2024-12-11
[2025-01-07 05:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:45:04] Production.INFO: Date 2024-12-12
[2025-01-07 05:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192844') end
[2025-01-07 05:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:45:04] Production.INFO: 1
[2025-01-07 05:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:45:04] Production.ERROR: done
[2025-01-07 05:45:04] Production.INFO: ==7337== Releasing lock...
[2025-01-07 05:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:45:04] Production.INFO: Date 2024-12-13
[2025-01-07 05:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:45:04] Production.INFO: ==7345== Releasing lock...
[2025-01-07 05:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:45:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:45:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:45:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:45:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:45:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:45:04] Production.INFO: Date 2024-12-19
[2025-01-07 05:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:45:04] Production.INFO: Date 2024-12-20
[2025-01-07 05:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:45:04] Production.INFO: Date 2024-12-21
[2025-01-07 05:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:45:04] Production.INFO: Date 2024-12-22
[2025-01-07 05:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:45:04] Production.INFO: Date 2024-12-23
[2025-01-07 05:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:45:04] Production.INFO: Date 2024-12-24
[2025-01-07 05:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:45:04] Production.INFO: Date 2024-12-25
[2025-01-07 05:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:45:04] Production.INFO: Date 2024-12-26
[2025-01-07 05:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:45: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] => 856
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 1.292778
[namelookup_time] => 0.544679
[connect_time] => 0.628836
[pretransfer_time] => 1.042926
[size_upload] => 82
[size_download] => 2755
[speed_download] => 2131
[speed_upload] => 63
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 1.29274
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 2.22.251.42
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 35620
)
[2025-01-07 05:45:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDY3MDQsImV4cCI6MTczNjI0NzAwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ2NzA0LCJhdF9oYXNoIjoiLXVVejJza0lQSDlEbjFLQTNrR3pMZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.wHR7BlrLqfo8p4y0JVrGVZaOj3YSmS8EMcuJP0xeNAb57xSvjnlIy0822xoeAQ6-A5kGR3jxpdkWevCyAzC3yuJDai6RvNiKWXCONODrkFXG0HUQnM0DmCcROlidtm7qsjCNmNHl9QOt7Ml49rLDdmHaYQz5-wfz0VNHCnlJqfFjxhByMCPQFOPOzorV5Q6MlwBsz4fvu5pmTKpwhekGP9DIR49PmI-VrYiP90rAHpMMZuneqyg1HATn0FKcGP0zNsTEYAZzYBDvKge8Rjv25_10PqrPgXrJuw3y4lXF7hYe9Q6k5hisbC9vRPBNGTqFTvhv0h2r7L7VwiXchy_l8Q
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDY3MDQsImV4cCI6MTczNjI0ODUwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.gbzGPeIDgaz2MleNcbK7bY4q1NzQbbCfPfgIO2lqsQVa51YjAGKCP0qcKFrjMTtYegtVa8ITPT6Cn1KgaYTA8cgmuWvxoxKj1oRGSETm4e1lKe7BeScrQq1-W1vZ8BrRuQa406D-pflZJcvxiC3WcEyTabzV8tUJ-7pexPEdGodUfLgmSDJQTSLg3IdFkHVmfjrJwobFCULCIybSxjmGAag_75ADzzmHdcucCb-ChIn1eu2Q8wlf8w4F7xAgH5ya2q9ec2PlMhW5O4YDxCTYod9fvSO-LXzcZZ5eXFZ3SV3BF5fU5xFVvlsMEVcsgEPn7ok0LufRNkqSd7GcS-c7mQ
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => T_nGjSbaqREZMf8R0NzdrUIvKE0vgA6qDgiowU4oAYU
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 05:45:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDY3MDQsImV4cCI6MTczNjI0NzAwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ2NzA0LCJhdF9oYXNoIjoiLXVVejJza0lQSDlEbjFLQTNrR3pMZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.wHR7BlrLqfo8p4y0JVrGVZaOj3YSmS8EMcuJP0xeNAb57xSvjnlIy0822xoeAQ6-A5kGR3jxpdkWevCyAzC3yuJDai6RvNiKWXCONODrkFXG0HUQnM0DmCcROlidtm7qsjCNmNHl9QOt7Ml49rLDdmHaYQz5-wfz0VNHCnlJqfFjxhByMCPQFOPOzorV5Q6MlwBsz4fvu5pmTKpwhekGP9DIR49PmI-VrYiP90rAHpMMZuneqyg1HATn0FKcGP0zNsTEYAZzYBDvKge8Rjv25_10PqrPgXrJuw3y4lXF7hYe9Q6k5hisbC9vRPBNGTqFTvhv0h2r7L7VwiXchy_l8Q
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDY3MDQsImV4cCI6MTczNjI0ODUwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.gbzGPeIDgaz2MleNcbK7bY4q1NzQbbCfPfgIO2lqsQVa51YjAGKCP0qcKFrjMTtYegtVa8ITPT6Cn1KgaYTA8cgmuWvxoxKj1oRGSETm4e1lKe7BeScrQq1-W1vZ8BrRuQa406D-pflZJcvxiC3WcEyTabzV8tUJ-7pexPEdGodUfLgmSDJQTSLg3IdFkHVmfjrJwobFCULCIybSxjmGAag_75ADzzmHdcucCb-ChIn1eu2Q8wlf8w4F7xAgH5ya2q9ec2PlMhW5O4YDxCTYod9fvSO-LXzcZZ5eXFZ3SV3BF5fU5xFVvlsMEVcsgEPn7ok0LufRNkqSd7GcS-c7mQ
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => T_nGjSbaqREZMf8R0NzdrUIvKE0vgA6qDgiowU4oAYU
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 05:45:04] Production.INFO: AccountID 98
[2025-01-07 05:45:04] Production.INFO: AccountName Dominos 10537 (Brandon Meyers)
[2025-01-07 05:45:04] Production.INFO: Date 2024-12-27
[2025-01-07 05:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:45:04] Production.INFO: Checkcustomer
[2025-01-07 05:45:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010537%20%28Brandon%20Meyers%29"
[2025-01-07 05:45:04] Production.INFO: Date 2024-12-28
[2025-01-07 05:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:45:04] Production.INFO: Date 2024-12-29
[2025-01-07 05:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:45:04] Production.INFO: Date 2024-12-30
[2025-01-07 05:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:45:04] Production.INFO: Date 2024-12-31
[2025-01-07 05:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:45:04] Production.INFO: Date 2025-01-01
[2025-01-07 05:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:45:04] Production.INFO: Date 2025-01-02
[2025-01-07 05:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:45:04] Production.INFO: Date 2025-01-03
[2025-01-07 05:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:45:04] Production.INFO: Date 2025-01-04
[2025-01-07 05:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:45:05] Production.INFO: Date 2025-01-05
[2025-01-07 05:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:45:05] Production.INFO: Date 2025-01-06
[2025-01-07 05:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:45:05] Production.INFO: Date 2025-01-07
[2025-01-07 05:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:45:05] Production.INFO: Total Charge 0
[2025-01-07 05:45:05] Production.INFO: CreateAllLog End
[2025-01-07 05:45:05] Production.INFO: Account Balance End.
[2025-01-07 05:45:05] Production.ERROR: CronJobId end 12
[2025-01-07 05:45:05] Production.INFO: ==7341== Releasing lock...
[2025-01-07 05:45:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:45:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:45:05
[end_date_ymd] => 2025-01-07 05:45:05
[RateCDR] => 1
)
[2025-01-07 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-07 02:45:05' and `end` < '2025-01-07 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-07 05:45:07] Production.INFO: Contact id print CheckCustomer Case===e432f2ff-87d1-4a0f-b87d-a33325db6e89
[2025-01-07 05:45:07] Production.INFO: -- count --1
[2025-01-07 05:45:07] Production.INFO: AccountID 100
[2025-01-07 05:45:07] Production.INFO: AccountName Dominos 10538 (Waqas Ayaz)
[2025-01-07 05:45:07] Production.INFO: Checkcustomer
[2025-01-07 05:45:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010538%20%28Waqas%20Ayaz%29"
[2025-01-07 05:45:09] Production.INFO: Contact id print CheckCustomer Case===7b571efd-034b-4c11-82c7-5ed343693624
[2025-01-07 05:45:09] Production.INFO: -- count --1
[2025-01-07 05:45:09] Production.INFO: AccountID 111
[2025-01-07 05:45:09] Production.INFO: AccountName Dominos 10545 (Mohan Kantha)
[2025-01-07 05:45:09] Production.INFO: Checkcustomer
[2025-01-07 05:45:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010545%20%28Mohan%20Kantha%29"
[2025-01-07 05:45:11] Production.ERROR: CronJobId end10
[2025-01-07 05:45:11] Production.INFO: ==7339== Releasing lock...
[2025-01-07 05:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:45:11] Production.INFO: Contact id print CheckCustomer Case===922fdab1-eecb-4982-8db6-fe1325f04d0d
[2025-01-07 05:45:11] Production.INFO: -- count --1
[2025-01-07 05:45:11] Production.INFO: AccountID 111
[2025-01-07 05:45:11] Production.INFO: AccountName Dominos 10545 (Mohan Kantha)
[2025-01-07 05:45:11] Production.INFO: Checkcustomer
[2025-01-07 05:45:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010545%20%28Mohan%20Kantha%29"
[2025-01-07 05:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:45:14] Production.INFO: call_cost start
[2025-01-07 05:45:14] Production.INFO: call_cost end
[2025-01-07 05:45:14] Production.INFO: Contact id print CheckCustomer Case===922fdab1-eecb-4982-8db6-fe1325f04d0d
[2025-01-07 05:45:14] Production.INFO: -- count --1
[2025-01-07 05:45:14] Production.INFO: AccountID 123
[2025-01-07 05:45:14] Production.INFO: AccountName Dominos 10547 (Nathan Krishnan)
[2025-01-07 05:45:14] Production.INFO: Checkcustomer
[2025-01-07 05:45:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010547%20%28Nathan%20Krishnan%29"
[2025-01-07 05:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:45:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:45:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:45:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:45:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:45:15] Production.INFO: ==7335== Releasing lock...
[2025-01-07 05:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:45:18] Production.INFO: Contact id print CheckCustomer Case===b7a54595-13f3-43f4-ba4f-ba957a026442
[2025-01-07 05:45:18] Production.INFO: -- count --1
[2025-01-07 05:45:18] Production.INFO: AccountID 114
[2025-01-07 05:45:18] Production.INFO: AccountName Dominos 10552 (Werner Lomker)
[2025-01-07 05:45:18] Production.INFO: Checkcustomer
[2025-01-07 05:45:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010552%20%28Werner%20Lomker%29"
[2025-01-07 05:45:18] Production.INFO: count ==59
[2025-01-07 05:45:18] Production.ERROR: pbx CDR StartTime 2025-01-07 02:45:05 - End Time 2025-01-07 05:45:05
[2025-01-07 05:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192845', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192845', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192845', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192845', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:45:18] Production.INFO: ProcessCDR(1,14192845,1,1,2)
[2025-01-07 05:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192845,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192845,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192845,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:45:20] Production.INFO: Contact id print CheckCustomer Case===6f5d3631-ded1-4310-ab70-a39a8b602341
[2025-01-07 05:45:20] Production.INFO: -- count --1
[2025-01-07 05:45:20] Production.INFO: -- Xero Add Inovice --
[2025-01-07 05:45:20] Production.INFO: CheckInvoice xerov2: INV11193
[2025-01-07 05:45:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11193
[2025-01-07 05:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192845,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192845', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192845', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:45:21] Production.INFO: ==7343== Releasing lock...
[2025-01-07 05:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:45:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 05:45:23] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:45:23] Production.INFO: Invoice SubTotal 57.500000
[2025-01-07 05:45:23] Production.INFO: Invoice DetTotal 57.5
[2025-01-07 05:45:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010537%20%28Brandon%20Meyers%29"
[2025-01-07 05:45:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:45:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:45:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:45:33] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 55.000000,LineAmount : 55.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (12264580100 - 316 Suncoast Dr. E. Unit C Goderich, On N7A 4N7, Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 05:45:36] Production.INFO: ==== result =====
[2025-01-07 05:45:36] Production.INFO: {
"Id": "f8aea64f-0303-48c1-8c2f-6c7a1b131134",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736246736656)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "eafb530a-fdca-4827-b18e-1f2743e083a4",
"InvoiceNumber": "INV11193",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 64.98,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "e432f2ff-87d1-4a0f-b87d-a33325db6e89",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10537 (Brandon Meyers)",
"FirstName": "Brandon",
"LastName": "Meyers",
"EmailAddress": "brandongordonmeyers@gmail.com",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1562267972817+0000)\/",
"ContactGroups": [
{
"ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58",
"Name": "Benjamin's Customers",
"Status": "ACTIVE",
"Contacts": [],
"HasValidationErrors": false
}
],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-11T00:00:00",
"Date": "\/Date(1733875200000+0000)\/",
"DueDateString": "2025-01-10T00:00:00",
"DueDate": "\/Date(1736467200000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 55.00,
"TaxType": "TAX020",
"TaxAmount": 7.15,
"LineAmount": 55.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "e6c8377e-b83d-4ae7-9079-5d3b2cd250a0",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (12264580100 - 316 Suncoast Dr. E. Unit C Goderich, On N7A 4N7, Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "ccb4bb08-4abb-44ab-a0e1-d45460f0ec02",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 57.50,
"TotalTax": 7.48,
"Total": 64.98,
"UpdatedDateUTC": "\/Date(1736246736577+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:45:36] Production.INFO: -- Create Invoice id --eafb530a-fdca-4827-b18e-1f2743e083a4
[2025-01-07 05:45:36] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:45:36] Production.INFO: CheckInvoice xerov2: INV11255
[2025-01-07 05:45:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11255
[2025-01-07 05:45:39] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:45:39] Production.INFO: Invoice SubTotal 70.000000
[2025-01-07 05:45:39] Production.INFO: Invoice DetTotal 70
[2025-01-07 05:45:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010538%20%28Waqas%20Ayaz%29"
[2025-01-07 05:45:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:45:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:45:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:45:49] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 70.000000,LineAmount : 70.000000}
[2025-01-07 05:45:52] Production.INFO: ==== result =====
[2025-01-07 05:45:52] Production.INFO: {
"Id": "392ccc37-dc3d-483f-a0c6-c0f506ab60b5",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736246752004)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "b4e5a0aa-fcb4-4666-80e2-4479295a4a2c",
"InvoiceNumber": "INV11255",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 79.10,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "7b571efd-034b-4c11-82c7-5ed343693624",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10538 (Waqas Ayaz)",
"FirstName": "Waqas",
"LastName": "Ayaz",
"EmailAddress": "dominoslakeshore@hotmail.com",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1562267972817+0000)\/",
"ContactGroups": [
{
"ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58",
"Name": "Benjamin's Customers",
"Status": "ACTIVE",
"Contacts": [],
"HasValidationErrors": false
}
],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-21T00:00:00",
"Date": "\/Date(1734739200000+0000)\/",
"DueDateString": "2025-01-20T00:00:00",
"DueDate": "\/Date(1737331200000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 70.00,
"TaxType": "TAX020",
"TaxAmount": 9.10,
"LineAmount": 70.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "c835d681-d90b-433b-9f33-298e3f9fe848",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 70.00,
"TotalTax": 9.10,
"Total": 79.10,
"UpdatedDateUTC": "\/Date(1736246751927+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:45:52] Production.INFO: -- Create Invoice id --b4e5a0aa-fcb4-4666-80e2-4479295a4a2c
[2025-01-07 05:45:52] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:45:52] Production.INFO: CheckInvoice xerov2: INV11106
[2025-01-07 05:45:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11106
[2025-01-07 05:45:54] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:45:54] Production.INFO: Invoice SubTotal 305.480000
[2025-01-07 05:45:54] Production.INFO: Invoice DetTotal 305.48
[2025-01-07 05:45:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010545%20%28Mohan%20Kantha%29"
[2025-01-07 05:45:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:45:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:46:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 10:46:02] Production.INFO: ==7419== Lock acquired, processing the job...
[2025-01-07 10:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:46:02] Production.INFO: neon service started
[2025-01-07 10:46:02] Production.INFO: neon service started
[2025-01-07 10:46:02] Production.INFO: ==7419== Releasing lock...
[2025-01-07 10:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:46:02] Production.INFO: ==7422== Lock acquired, processing the job...
[2025-01-07 05:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:46:02] Production.INFO: ==7422== Releasing lock...
[2025-01-07 05:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:46:03] Production.INFO: ==7424== Lock acquired, processing the job...
[2025-01-07 10:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:46:03] Production.INFO: ==7424== Releasing lock...
[2025-01-07 10:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:46:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:46:03] Production.INFO: ==7426== Lock acquired, processing the job...
[2025-01-07 05:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:46:03] Production.INFO: ==7428== Lock acquired, processing the job...
[2025-01-07 05:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:46:03] Production.INFO: ==7430== Lock acquired, processing the job...
[2025-01-07 05:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:46:03] Production.INFO: ==7436== Lock acquired, processing the job...
[2025-01-07 05:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:46:03] Production.INFO: ==7432== Lock acquired, processing the job...
[2025-01-07 05:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:46:03] Production.INFO: Account Balance Start.
[2025-01-07 05:46:03] Production.INFO: CreateAllLog Start
[2025-01-07 05:46:03] Production.INFO: 117
[2025-01-07 05:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:46:03] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (13653950005 - 5402 Main St.Unit 4Stouffville, Ontario L4A 1H3)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Bundle Discount - $15/month",Quantity : 1,UnitAmount : -15.000000,LineAmount : -15.000000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "Cable Internet Service (5402 Main St.Unit 4Stouffville, Ontario L4A 1H3)",Quantity : 1,UnitAmount : 191.400000,LineAmount : 191.400000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "LTE Internet Failover Service (5402 Main St.Unit 4Stouffville, Ontario L4A 1H3)",Quantity : 1,UnitAmount : 51.580000,LineAmount : 51.580000}
[2025-01-07 05:46:03] Production.INFO: Date 2024-12-08
[2025-01-07 05:46:03] Production.INFO: ==7434== Lock acquired, processing the job...
[2025-01-07 05:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:46:03] Production.INFO: count ==21
[2025-01-07 05:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:46:04] Production.INFO: count ==21
[2025-01-07 05:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192848') start
[2025-01-07 05:46:04] Production.INFO: ==7428== Releasing lock...
[2025-01-07 05:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:46:04] Production.INFO: Date 2024-12-09
[2025-01-07 05:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:46:04] Production.INFO: Date 2024-12-10
[2025-01-07 05:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192848') end
[2025-01-07 05:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:46:04] Production.INFO: 1
[2025-01-07 05:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:46:04] Production.INFO: Date 2024-12-11
[2025-01-07 05:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:46:04] Production.INFO: Date 2024-12-12
[2025-01-07 05:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:46:04] Production.INFO: Date 2024-12-13
[2025-01-07 05:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:46:04] Production.INFO: ==7436== Releasing lock...
[2025-01-07 05:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:46:04] Production.ERROR: done
[2025-01-07 05:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:46:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:46:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:46:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:46:04] Production.ERROR: done
[2025-01-07 05:46:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:46:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:46:04] Production.INFO: Date 2024-12-19
[2025-01-07 05:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:46:04] Production.INFO: Date 2024-12-20
[2025-01-07 05:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:46:04] Production.INFO: Date 2024-12-21
[2025-01-07 05:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:46:04] Production.INFO: Date 2024-12-22
[2025-01-07 05:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:46:04] Production.INFO: Date 2024-12-23
[2025-01-07 05:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:46:04] Production.INFO: Date 2024-12-24
[2025-01-07 05:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:46:04] Production.INFO: Date 2024-12-25
[2025-01-07 05:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:46:04] Production.INFO: Date 2024-12-26
[2025-01-07 05:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:46:04] Production.INFO: Date 2024-12-27
[2025-01-07 05:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:46:04] Production.INFO: Date 2024-12-28
[2025-01-07 05:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:46:04] Production.INFO: Date 2024-12-29
[2025-01-07 05:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:46:04] Production.INFO: Date 2024-12-30
[2025-01-07 05:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:46:04] Production.INFO: Date 2024-12-31
[2025-01-07 05:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:46:04] Production.INFO: Date 2025-01-01
[2025-01-07 05:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:46:05] Production.INFO: Date 2025-01-02
[2025-01-07 05:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:46:05] Production.INFO: Date 2025-01-03
[2025-01-07 05:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:46:05] Production.INFO: Date 2025-01-04
[2025-01-07 05:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:46:05] Production.INFO: Date 2025-01-05
[2025-01-07 05:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:46:05] Production.INFO: Date 2025-01-06
[2025-01-07 05:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:46:05] Production.INFO: Date 2025-01-07
[2025-01-07 05:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:46:05] Production.INFO: Total Charge 0
[2025-01-07 05:46:05] Production.INFO: CreateAllLog End
[2025-01-07 05:46:05] Production.INFO: Account Balance End.
[2025-01-07 05:46:05] Production.ERROR: CronJobId end 12
[2025-01-07 05:46:05] Production.INFO: ==7432== Releasing lock...
[2025-01-07 05:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:46:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:46:05
[end_date_ymd] => 2025-01-07 05:46:05
[RateCDR] => 1
)
[2025-01-07 05:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 02:46:05' and `end` < '2025-01-07 05:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 05:46:06] Production.INFO: ==== result =====
[2025-01-07 05:46:06] Production.INFO: {
"Id": "2b7de284-03dd-4aeb-a49d-b962572220de",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736246766385)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "c25f97b1-264d-47e9-a08d-b9b1692e69de",
"InvoiceNumber": "INV11106",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 345.20,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "922fdab1-eecb-4982-8db6-fe1325f04d0d",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10545 (Mohan Kantha)",
"FirstName": "Mohan",
"LastName": "Kantha",
"EmailAddress": "mohan_kantha@rogers.com",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1580835320340+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-11-25T00:00:00",
"Date": "\/Date(1732492800000+0000)\/",
"DueDateString": "2024-12-25T00:00:00",
"DueDate": "\/Date(1735084800000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "7b38f51f-d26a-4967-923a-9de30ddc8c4e",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (13653950005 - 5402 Main St.Unit 4Stouffville, Ontario L4A 1H3)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "503e2ada-a76b-4da7-9a19-5f6475ce7a80",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Bundle Discount - $15/month",
"UnitAmount": -15.00,
"TaxType": "TAX020",
"TaxAmount": -1.95,
"LineAmount": -15.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "b76c7f22-7b69-411b-87c9-9dcdca6c4447",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Cable Internet Service (5402 Main St.Unit 4Stouffville, Ontario L4A 1H3)",
"UnitAmount": 191.40,
"TaxType": "TAX020",
"TaxAmount": 24.88,
"LineAmount": 191.40,
"AccountCode": "204",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "6ac477b2-382d-443e-9007-ccb2ade3daad",
"AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "LTE Internet Failover Service (5402 Main St.Unit 4Stouffville, Ontario L4A 1H3)",
"UnitAmount": 51.58,
"TaxType": "TAX020",
"TaxAmount": 6.71,
"LineAmount": 51.58,
"AccountCode": "204",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "c8b05952-59a7-4bc0-bcb2-d7d7ac4242c2",
"AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 305.48,
"TotalTax": 39.72,
"Total": 345.20,
"UpdatedDateUTC": "\/Date(1736246766337+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:46:06] Production.INFO: -- Create Invoice id --c25f97b1-264d-47e9-a08d-b9b1692e69de
[2025-01-07 05:46:06] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:46:06] Production.INFO: CheckInvoice xerov2: INV11263
[2025-01-07 05:46:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11263
[2025-01-07 05:46:08] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:46:08] Production.INFO: Invoice SubTotal 305.480000
[2025-01-07 05:46:08] Production.INFO: Invoice DetTotal 305.48
[2025-01-07 05:46:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010545%20%28Mohan%20Kantha%29"
[2025-01-07 05:46:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:46:11] Production.ERROR: CronJobId end10
[2025-01-07 05:46:12] Production.INFO: ==7430== Releasing lock...
[2025-01-07 05:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:46:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:46:14] Production.INFO: call_cost start
[2025-01-07 05:46:14] Production.INFO: call_cost end
[2025-01-07 05:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:46:14] Production.INFO: ==7426== Releasing lock...
[2025-01-07 05:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:46:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:46:17] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (13653950005 - 5402 Main St.Unit 4Stouffville, Ontario L4A 1H3)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Bundle Discount - $15/month",Quantity : 1,UnitAmount : -15.000000,LineAmount : -15.000000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "Cable Internet Service (5402 Main St.Unit 4Stouffville, Ontario L4A 1H3)",Quantity : 1,UnitAmount : 191.400000,LineAmount : 191.400000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "LTE Internet Failover Service (5402 Main St.Unit 4Stouffville, Ontario L4A 1H3)",Quantity : 1,UnitAmount : 51.580000,LineAmount : 51.580000}
[2025-01-07 05:46:18] Production.INFO: count ==59
[2025-01-07 05:46:18] Production.ERROR: pbx CDR StartTime 2025-01-07 02:46:05 - End Time 2025-01-07 05:46:05
[2025-01-07 05:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192850', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192850', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192850', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192850', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:46:18] Production.INFO: ProcessCDR(1,14192850,1,1,2)
[2025-01-07 05:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192850,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192850,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192850,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:46:21] Production.INFO: ==== result =====
[2025-01-07 05:46:21] Production.INFO: {
"Id": "0d925044-9486-4cc5-9e67-464a9d016e8d",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736246781224)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "e6bb95c0-8b70-4c31-8c78-931e2af53fd8",
"InvoiceNumber": "INV11263",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 345.20,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "922fdab1-eecb-4982-8db6-fe1325f04d0d",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10545 (Mohan Kantha)",
"FirstName": "Mohan",
"LastName": "Kantha",
"EmailAddress": "mohan_kantha@rogers.com",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1580835320340+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-25T00:00:00",
"Date": "\/Date(1735084800000+0000)\/",
"DueDateString": "2025-01-24T00:00:00",
"DueDate": "\/Date(1737676800000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "271d7f03-6c7c-474e-8c68-1e2a1ccf483b",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (13653950005 - 5402 Main St.Unit 4Stouffville, Ontario L4A 1H3)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "10b4f9ad-1cbf-4ef1-8fb5-fcab65366233",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Bundle Discount - $15/month",
"UnitAmount": -15.00,
"TaxType": "TAX020",
"TaxAmount": -1.95,
"LineAmount": -15.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "295dfc8d-1c19-40e6-9e66-7fe0d2dca1c4",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Cable Internet Service (5402 Main St.Unit 4Stouffville, Ontario L4A 1H3)",
"UnitAmount": 191.40,
"TaxType": "TAX020",
"TaxAmount": 24.88,
"LineAmount": 191.40,
"AccountCode": "204",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "8c9a99e7-0d2f-4797-916e-42c46e67c72c",
"AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "LTE Internet Failover Service (5402 Main St.Unit 4Stouffville, Ontario L4A 1H3)",
"UnitAmount": 51.58,
"TaxType": "TAX020",
"TaxAmount": 6.71,
"LineAmount": 51.58,
"AccountCode": "204",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "14f4bbf6-ddcf-43d8-8128-6e821c3876e2",
"AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 305.48,
"TotalTax": 39.72,
"Total": 345.20,
"UpdatedDateUTC": "\/Date(1736246781163+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:46:21] Production.INFO: -- Create Invoice id --e6bb95c0-8b70-4c31-8c78-931e2af53fd8
[2025-01-07 05:46:21] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:46:21] Production.INFO: CheckInvoice xerov2: INV11196
[2025-01-07 05:46:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11196
[2025-01-07 05:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192850,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192850', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192850', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:46:21] Production.INFO: ==7434== Releasing lock...
[2025-01-07 05:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:46:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 05:46:23] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:46:23] Production.INFO: Invoice SubTotal 77.500000
[2025-01-07 05:46:23] Production.INFO: Invoice DetTotal 77.5
[2025-01-07 05:46:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010547%20%28Nathan%20Krishnan%29"
[2025-01-07 05:46:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:46:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:46:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:46:34] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14162515251 - 3345 LAKESHORE BLVD W ETOBICOKE, ON M8W1N1 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 05:46:37] Production.INFO: ==== result =====
[2025-01-07 05:46:37] Production.INFO: {
"Id": "41dde38a-3b52-4819-b3fd-84a3795292be",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736246796997)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "68193248-e497-41f0-a179-c4c954b7a645",
"InvoiceNumber": "INV11196",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 87.58,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "b7a54595-13f3-43f4-ba4f-ba957a026442",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10547 (Nathan Krishnan)",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1629352418927+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"DefaultCurrency": "CAD",
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-11T00:00:00",
"Date": "\/Date(1733875200000+0000)\/",
"DueDateString": "2025-01-10T00:00:00",
"DueDate": "\/Date(1736467200000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "3deacf3e-cd70-498b-9697-d5ed23ea45e0",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (14162515251 - 3345 LAKESHORE BLVD W ETOBICOKE, ON M8W1N1 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "1429f7c3-964f-4b19-93fc-b5dc9d83e2d6",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 77.50,
"TotalTax": 10.08,
"Total": 87.58,
"UpdatedDateUTC": "\/Date(1736246796933+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:46:37] Production.INFO: -- Create Invoice id --68193248-e497-41f0-a179-c4c954b7a645
[2025-01-07 05:46:37] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:46:37] Production.INFO: CheckInvoice xerov2: INV11130
[2025-01-07 05:46:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11130
[2025-01-07 05:46:39] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:46:39] Production.INFO: Invoice SubTotal 96.510000
[2025-01-07 05:46:39] Production.INFO: Invoice DetTotal 96.51
[2025-01-07 05:46:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010552%20%28Werner%20Lomker%29"
[2025-01-07 05:46:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:46:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:46:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:46:50] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "VDSL Internet Service - 50x10mbps (3068 Mayfield Rd., Brampton, ON)",Quantity : 1,UnitAmount : 96.510000,LineAmount : 96.510000}
[2025-01-07 05:46:53] Production.INFO: ==== result =====
[2025-01-07 05:46:53] Production.INFO: {
"Id": "759cab09-e956-4924-8476-8458dcc25456",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736246813054)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "b339896d-ee69-41c0-afa9-6758b07530d9",
"InvoiceNumber": "INV11130",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 109.06,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "6f5d3631-ded1-4310-ab70-a39a8b602341",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10552 (Werner Lomker)",
"FirstName": "Werner",
"LastName": "Lomker",
"EmailAddress": "akaiserbun@sympatico.ca",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1580835559637+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-01T00:00:00",
"Date": "\/Date(1733011200000+0000)\/",
"DueDateString": "2024-12-31T00:00:00",
"DueDate": "\/Date(1735603200000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "VDSL Internet Service - 50x10mbps (3068 Mayfield Rd., Brampton, ON)",
"UnitAmount": 96.51,
"TaxType": "TAX020",
"TaxAmount": 12.55,
"LineAmount": 96.51,
"AccountCode": "204",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "a574f06d-00e8-432b-a7a2-f85f95a6b424",
"AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 96.51,
"TotalTax": 12.55,
"Total": 109.06,
"UpdatedDateUTC": "\/Date(1736246812977+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:46:53] Production.INFO: -- Create Invoice id --b339896d-ee69-41c0-afa9-6758b07530d9
[2025-01-07 05:46:53] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:46:53] Production.INFO: -- Xero End Inovice --
[2025-01-07 05:46:53] Production.INFO: ==7333== Releasing lock...
[2025-01-07 05:46:53] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10437 #Stops#
[2025-01-07 05:46:53] Production.INFO: 32.5 MB #Memory Used#
[2025-01-07 10:47:01] Production.INFO: ==7515== Lock acquired, processing the job...
[2025-01-07 10:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:47:01] Production.INFO: neon service started
[2025-01-07 10:47:01] Production.INFO: neon service started
[2025-01-07 10:47:01] Production.INFO: ==7515== Releasing lock...
[2025-01-07 10:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:47:01] Production.INFO: ==7517== Lock acquired, processing the job...
[2025-01-07 05:47:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:47:02] Production.INFO: ==7519== Lock acquired, processing the job...
[2025-01-07 10:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:47:02] Production.INFO: ==7519== Releasing lock...
[2025-01-07 10:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:47:02] Production.INFO: ==7517== Releasing lock...
[2025-01-07 05:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:47:02] Production.INFO: ==7524== Lock acquired, processing the job...
[2025-01-07 05:47:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:47:02] Production.INFO: ==7526== Lock acquired, processing the job...
[2025-01-07 05:47:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:47:02] Production.INFO: ==7532== Lock acquired, processing the job...
[2025-01-07 05:47:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:47:02] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:47:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:47:02] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:47:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:47:02] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:47:03] Production.INFO: count ==21
[2025-01-07 05:47:03] Production.INFO: ==7522== Lock acquired, processing the job...
[2025-01-07 05:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05: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-07 05:47:03] Production.INFO: count ==21
[2025-01-07 05:47:03] Production.INFO: ==7530== Lock acquired, processing the job...
[2025-01-07 05:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192851') start
[2025-01-07 05:47:03] Production.INFO: ==7524== Releasing lock...
[2025-01-07 05:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:47:03] Production.INFO: ==7528== Lock acquired, processing the job...
[2025-01-07 05:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192851') end
[2025-01-07 05:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:47:03] Production.INFO: 1
[2025-01-07 05:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:47:03] Production.INFO: ==7532== Releasing lock...
[2025-01-07 05:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:47:03] Production.INFO: Account Balance Start.
[2025-01-07 05:47:03] Production.INFO: CreateAllLog Start
[2025-01-07 05:47:03] Production.INFO: 117
[2025-01-07 05:47:03] Production.INFO: Date 2024-12-08
[2025-01-07 05:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:47:03] Production.INFO: Date 2024-12-09
[2025-01-07 05:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:47:03] Production.INFO: Date 2024-12-10
[2025-01-07 05:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:47:03] Production.ERROR: done
[2025-01-07 05:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:47:03] Production.INFO: Date 2024-12-11
[2025-01-07 05:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:47:03] Production.INFO: Date 2024-12-12
[2025-01-07 05:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:47:03] Production.INFO: Date 2024-12-13
[2025-01-07 05:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:47:03] Production.ERROR: done
[2025-01-07 05:47:03] Production.INFO: Date 2024-12-14
[2025-01-07 05:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:47:03] Production.INFO: Date 2024-12-15
[2025-01-07 05:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:47:03] Production.INFO: Date 2024-12-16
[2025-01-07 05:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:47:03] Production.INFO: Date 2024-12-17
[2025-01-07 05:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:47:03] Production.INFO: Date 2024-12-18
[2025-01-07 05:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:47:03] Production.INFO: Date 2024-12-19
[2025-01-07 05:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:47:03] Production.INFO: Date 2024-12-20
[2025-01-07 05:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:47:04] Production.INFO: Date 2024-12-21
[2025-01-07 05:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:47:04] Production.INFO: Date 2024-12-22
[2025-01-07 05:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:47:04] Production.INFO: Date 2024-12-23
[2025-01-07 05:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:47:04] Production.INFO: Date 2024-12-24
[2025-01-07 05:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:47:04] Production.INFO: Date 2024-12-25
[2025-01-07 05:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:47:04] Production.INFO: Date 2024-12-26
[2025-01-07 05:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:47:04] Production.INFO: Date 2024-12-27
[2025-01-07 05:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:47:04] Production.INFO: Date 2024-12-28
[2025-01-07 05:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:47:04] Production.INFO: Date 2024-12-29
[2025-01-07 05:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:47:04] Production.INFO: Date 2024-12-30
[2025-01-07 05:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:47:04] Production.INFO: Date 2024-12-31
[2025-01-07 05:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:47:04] Production.INFO: Date 2025-01-01
[2025-01-07 05:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:47:04] Production.INFO: Date 2025-01-02
[2025-01-07 05:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:47:04] Production.INFO: Date 2025-01-03
[2025-01-07 05:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:47:04] Production.INFO: Date 2025-01-04
[2025-01-07 05:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:47:04] Production.INFO: Date 2025-01-05
[2025-01-07 05:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:47:04] Production.INFO: Date 2025-01-06
[2025-01-07 05:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:47:04] Production.INFO: Date 2025-01-07
[2025-01-07 05:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:47:04] Production.INFO: Total Charge 0
[2025-01-07 05:47:04] Production.INFO: CreateAllLog End
[2025-01-07 05:47:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:47:04
[end_date_ymd] => 2025-01-07 05:47:04
[RateCDR] => 1
)
[2025-01-07 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-07 02:47:04' and `end` < '2025-01-07 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-07 05:47:04] Production.INFO: Account Balance End.
[2025-01-07 05:47:04] Production.ERROR: CronJobId end 12
[2025-01-07 05:47:04] Production.INFO: ==7528== Releasing lock...
[2025-01-07 05:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:47:10] Production.ERROR: CronJobId end10
[2025-01-07 05:47:10] Production.INFO: ==7526== Releasing lock...
[2025-01-07 05:47:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:47:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:47:13] Production.INFO: call_cost start
[2025-01-07 05:47:13] Production.INFO: call_cost end
[2025-01-07 05:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:47:14] Production.INFO: ==7522== Releasing lock...
[2025-01-07 05:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:47:17] Production.INFO: count ==59
[2025-01-07 05:47:17] Production.ERROR: pbx CDR StartTime 2025-01-07 02:47:04 - End Time 2025-01-07 05:47:04
[2025-01-07 05:47:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192855', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192855', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192855', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192855', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:47:18] Production.INFO: ProcessCDR(1,14192855,1,1,2)
[2025-01-07 05:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192855,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:47:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192855,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:47:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192855,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192855,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192855', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192855', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:47:21] Production.INFO: ==7530== Releasing lock...
[2025-01-07 05:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:47:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 10:48:01] Production.INFO: ==7587== Lock acquired, processing the job...
[2025-01-07 10:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:48:01] Production.INFO: neon service started
[2025-01-07 10:48:01] Production.INFO: neon service started
[2025-01-07 10:48:01] Production.INFO: ==7587== Releasing lock...
[2025-01-07 10:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:48:02] Production.INFO: ==7589== Lock acquired, processing the job...
[2025-01-07 05:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:48:02] Production.INFO: ==7591== Lock acquired, processing the job...
[2025-01-07 10:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:48:02] Production.INFO: ==7591== Releasing lock...
[2025-01-07 10:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:48:02] Production.INFO: ==7589== Releasing lock...
[2025-01-07 05:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:48:03] Production.INFO: ==7594== Lock acquired, processing the job...
[2025-01-07 05:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:48:03] Production.INFO: ==7598== Lock acquired, processing the job...
[2025-01-07 05:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:48:03] Production.INFO: ==7600== Lock acquired, processing the job...
[2025-01-07 05:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:48:03] Production.INFO: Account Balance Start.
[2025-01-07 05:48:03] Production.INFO: CreateAllLog Start
[2025-01-07 05:48:03] Production.INFO: 117
[2025-01-07 05:48:03] Production.INFO: Date 2024-12-08
[2025-01-07 05:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:48:03] Production.INFO: ==7596== Lock acquired, processing the job...
[2025-01-07 05:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:48:04] Production.INFO: Date 2024-12-09
[2025-01-07 05:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:48:04] Production.INFO: Date 2024-12-10
[2025-01-07 05:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:48:04] Production.INFO: Date 2024-12-11
[2025-01-07 05:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:48:04] Production.INFO: ==7602== Lock acquired, processing the job...
[2025-01-07 05:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:48:04] Production.INFO: Date 2024-12-12
[2025-01-07 05:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:48:04] Production.INFO: ==7604== Lock acquired, processing the job...
[2025-01-07 05:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:48:04] Production.INFO: Date 2024-12-13
[2025-01-07 05:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:48:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:48:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 05:48:04] Production.INFO: count ==21
[2025-01-07 05:48:04] Production.INFO: ==7596== Releasing lock...
[2025-01-07 05:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:48:04] Production.INFO: Date 2024-12-16
[2025-01-07 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-07 05:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:48:04] Production.INFO: count ==21
[2025-01-07 05:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192859') start
[2025-01-07 05:48:04] Production.ERROR: done
[2025-01-07 05:48:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:48:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192859') end
[2025-01-07 05:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:48:04] Production.INFO: 1
[2025-01-07 05:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:48:04] Production.INFO: Date 2024-12-19
[2025-01-07 05:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:48:04] Production.INFO: ==7604== Releasing lock...
[2025-01-07 05:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:48:04] Production.ERROR: done
[2025-01-07 05:48:04] Production.INFO: Date 2024-12-20
[2025-01-07 05:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:48:04] Production.INFO: Date 2024-12-21
[2025-01-07 05:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:48:04] Production.INFO: Date 2024-12-22
[2025-01-07 05:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:48:04] Production.INFO: Date 2024-12-23
[2025-01-07 05:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:48:04] Production.INFO: Date 2024-12-24
[2025-01-07 05:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:48:04] Production.INFO: Date 2024-12-25
[2025-01-07 05:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:48:04] Production.INFO: Date 2024-12-26
[2025-01-07 05:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:48:05] Production.INFO: Date 2024-12-27
[2025-01-07 05:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:48:05] Production.INFO: Date 2024-12-28
[2025-01-07 05:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:48:05] Production.INFO: Date 2024-12-29
[2025-01-07 05:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:48:05] Production.INFO: Date 2024-12-30
[2025-01-07 05:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:48:05] Production.INFO: Date 2024-12-31
[2025-01-07 05:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:48:05] Production.INFO: Date 2025-01-01
[2025-01-07 05:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:48:05] Production.INFO: Date 2025-01-02
[2025-01-07 05:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:48:05] Production.INFO: Date 2025-01-03
[2025-01-07 05:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:48:05] Production.INFO: Date 2025-01-04
[2025-01-07 05:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:48:05] Production.INFO: Date 2025-01-05
[2025-01-07 05:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:48:05] Production.INFO: Date 2025-01-06
[2025-01-07 05:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:48:05] Production.INFO: Date 2025-01-07
[2025-01-07 05:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:48:05] Production.INFO: Total Charge 0
[2025-01-07 05:48:05] Production.INFO: CreateAllLog End
[2025-01-07 05:48:05] Production.INFO: Account Balance End.
[2025-01-07 05:48:05] Production.ERROR: CronJobId end 12
[2025-01-07 05:48:05] Production.INFO: ==7600== Releasing lock...
[2025-01-07 05:48:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:48:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:48:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:48:06
[end_date_ymd] => 2025-01-07 05:48:06
[RateCDR] => 1
)
[2025-01-07 05:48:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 02:48:06' and `end` < '2025-01-07 05:48:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 05:48:13] Production.ERROR: CronJobId end10
[2025-01-07 05:48:13] Production.INFO: ==7598== Releasing lock...
[2025-01-07 05:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:48:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:48:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:48:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:48:15] Production.INFO: call_cost start
[2025-01-07 05:48:15] Production.INFO: call_cost end
[2025-01-07 05:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:48:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:48:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:48:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:48:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:48:15] Production.INFO: ==7594== Releasing lock...
[2025-01-07 05:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:48:20] Production.INFO: count ==59
[2025-01-07 05:48:20] Production.ERROR: pbx CDR StartTime 2025-01-07 02:48:06 - End Time 2025-01-07 05:48:06
[2025-01-07 05:48:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192860', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192860', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192860', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192860', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:48:20] Production.INFO: ProcessCDR(1,14192860,1,1,2)
[2025-01-07 05:48:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192860,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192860,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192860,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:48:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192860,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192860', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192860', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:48:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:48:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:48:23] Production.INFO: ==7602== Releasing lock...
[2025-01-07 05:48:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:48:23] Production.INFO: 28 MB #Memory Used#
[2025-01-07 10:49:02] Production.INFO: ==7660== Lock acquired, processing the job...
[2025-01-07 10:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:49:02] Production.INFO: neon service started
[2025-01-07 10:49:02] Production.INFO: neon service started
[2025-01-07 10:49:02] Production.INFO: ==7660== Releasing lock...
[2025-01-07 10:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:49:02] Production.INFO: ==7662== Lock acquired, processing the job...
[2025-01-07 05:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:49:02] Production.INFO: ==7664== Lock acquired, processing the job...
[2025-01-07 10:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:49:02] Production.INFO: ==7664== Releasing lock...
[2025-01-07 10:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:49:03] Production.INFO: ==7662== Releasing lock...
[2025-01-07 05:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:49:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:49:04] Production.INFO: ==7672== Lock acquired, processing the job...
[2025-01-07 05:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:49:04] Production.INFO: ==7670== Lock acquired, processing the job...
[2025-01-07 05:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:49:04] Production.INFO: ==7666== Lock acquired, processing the job...
[2025-01-07 05:49:04] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10438 #Starts#
[2025-01-07 05:49:04] Production.INFO: ==7668== Lock acquired, processing the job...
[2025-01-07 05:49:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:49:04] Production.INFO: ==7675== Lock acquired, processing the job...
[2025-01-07 05:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:49:04] Production.INFO: -- Xero Api Check --
[2025-01-07 05:49:04] Production.INFO: ==7677== Lock acquired, processing the job...
[2025-01-07 05:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:49:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:49:04] Production.INFO: Account Balance Start.
[2025-01-07 05:49:04] Production.INFO: CreateAllLog Start
[2025-01-07 05:49:04] Production.INFO: ==7679== Lock acquired, processing the job...
[2025-01-07 05:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:49:04] Production.INFO: 117
[2025-01-07 05:49:04] Production.INFO: Date 2024-12-08
[2025-01-07 05:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:49:04] Production.INFO: Date 2024-12-09
[2025-01-07 05:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:49:04] Production.INFO: Date 2024-12-10
[2025-01-07 05:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:49:04] Production.INFO: count ==21
[2025-01-07 05:49:04] Production.INFO: Date 2024-12-11
[2025-01-07 05:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:49:04] Production.INFO: count ==21
[2025-01-07 05:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192864') start
[2025-01-07 05:49:04] Production.INFO: Date 2024-12-12
[2025-01-07 05:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:49:04] Production.INFO: Date 2024-12-13
[2025-01-07 05:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:49:04] Production.INFO: ==7670== Releasing lock...
[2025-01-07 05:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:49:04] Production.ERROR: done
[2025-01-07 05:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:49:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:49:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192864') end
[2025-01-07 05:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:49:04] Production.INFO: 1
[2025-01-07 05:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:49:05] Production.INFO: Date 2024-12-16
[2025-01-07 05:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:49:05] Production.INFO: ==7679== Releasing lock...
[2025-01-07 05:49:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:49:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:49:05] Production.ERROR: done
[2025-01-07 05:49:05] Production.INFO: Date 2024-12-17
[2025-01-07 05:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:49:05] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 855
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.82824
[namelookup_time] => 0.261813
[connect_time] => 0.267305
[pretransfer_time] => 0.574823
[size_upload] => 82
[size_download] => 2755
[speed_download] => 3326
[speed_upload] => 99
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.828211
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.17
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 43056
)
[2025-01-07 05:49:05] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDY5NDUsImV4cCI6MTczNjI0NzI0NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ2OTQ1LCJhdF9oYXNoIjoid09vRnE4WnljQm13Qlp5MWh4anU2ZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.HhGXDRGOHQ7WfIGPdDTls71oKPc6sLgxgCBPrMO_AQP1l0yO2o3N6zDOOD88XxGefQcxFYPBpghbhsn3IlwtWy0eeEkQ7D6iL3B2FWGMDUf8yqSRuc17X6C2xldpiRW5dDSN4e3JphE9zTzQvFF4zg1xc5wPGeRceAwJlUoAngIx10v8PL8VcogtTTFsb9yhrOV1hjTLQHHUH4rE4rZhEh3iNuPQ_y980gJDPAu2klCE1pauIHMATOdQQ4nZXriyAC5iQ139vLeOYri1dUUUWVm4jliQ5_1EGnb5GV6d8RIJErwlkguXhQ2C2TdJDiItofoTjRcDQQNs-TqXFPvA4A
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDY5NDUsImV4cCI6MTczNjI0ODc0NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.IPTtHY3aUMgAtIijQIZmD0Drby2EUZorIru3Ajn79ryIM-aPXoeA2qG6HZVVDreJfFPKgHk-nUtH7Hc0GY54zId5kmSJStWp9e2Lf0skOJR9jpB7mVFAjSZ3NmztK9z8m-VlGx4VyFIs7QIRkRQI28zkB43blxWWSzpDynsYxloN16GOH8ujKqGR_pXv_I5uSouPHLFs6jPyocVLloCjUF6T-AEz5zMhdg8shMshwa7Sf305xV0WxgnGdZLAqIVU7G0SpoykojnXxSmIM9e10YGGu4HK81sNPTL62CumUpIP4cIvXKBsV-hfDZK0uTbLi2APiIkkZDFEd-kU2Kx1vA
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => 4SVGx2hKNZzS1dn3HcsdX19_8WQMg5jzrLDejFKzx60
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 05:49:05] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDY5NDUsImV4cCI6MTczNjI0NzI0NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ2OTQ1LCJhdF9oYXNoIjoid09vRnE4WnljQm13Qlp5MWh4anU2ZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.HhGXDRGOHQ7WfIGPdDTls71oKPc6sLgxgCBPrMO_AQP1l0yO2o3N6zDOOD88XxGefQcxFYPBpghbhsn3IlwtWy0eeEkQ7D6iL3B2FWGMDUf8yqSRuc17X6C2xldpiRW5dDSN4e3JphE9zTzQvFF4zg1xc5wPGeRceAwJlUoAngIx10v8PL8VcogtTTFsb9yhrOV1hjTLQHHUH4rE4rZhEh3iNuPQ_y980gJDPAu2klCE1pauIHMATOdQQ4nZXriyAC5iQ139vLeOYri1dUUUWVm4jliQ5_1EGnb5GV6d8RIJErwlkguXhQ2C2TdJDiItofoTjRcDQQNs-TqXFPvA4A
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDY5NDUsImV4cCI6MTczNjI0ODc0NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.IPTtHY3aUMgAtIijQIZmD0Drby2EUZorIru3Ajn79ryIM-aPXoeA2qG6HZVVDreJfFPKgHk-nUtH7Hc0GY54zId5kmSJStWp9e2Lf0skOJR9jpB7mVFAjSZ3NmztK9z8m-VlGx4VyFIs7QIRkRQI28zkB43blxWWSzpDynsYxloN16GOH8ujKqGR_pXv_I5uSouPHLFs6jPyocVLloCjUF6T-AEz5zMhdg8shMshwa7Sf305xV0WxgnGdZLAqIVU7G0SpoykojnXxSmIM9e10YGGu4HK81sNPTL62CumUpIP4cIvXKBsV-hfDZK0uTbLi2APiIkkZDFEd-kU2Kx1vA
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => 4SVGx2hKNZzS1dn3HcsdX19_8WQMg5jzrLDejFKzx60
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 05:49:05] Production.INFO: Date 2024-12-18
[2025-01-07 05:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:49:05] Production.INFO: Date 2024-12-19
[2025-01-07 05:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:49:05] Production.INFO: AccountID 114
[2025-01-07 05:49:05] Production.INFO: AccountName Dominos 10552 (Werner Lomker)
[2025-01-07 05:49:05] Production.INFO: Checkcustomer
[2025-01-07 05:49:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010552%20%28Werner%20Lomker%29"
[2025-01-07 05:49:05] Production.INFO: Date 2024-12-20
[2025-01-07 05:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:49:05] Production.INFO: Date 2024-12-21
[2025-01-07 05:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:49:05] Production.INFO: Date 2024-12-22
[2025-01-07 05:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:49:05] Production.INFO: Date 2024-12-23
[2025-01-07 05:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:49:05] Production.INFO: Date 2024-12-24
[2025-01-07 05:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:49:05] Production.INFO: Date 2024-12-25
[2025-01-07 05:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:49:05] Production.INFO: Date 2024-12-26
[2025-01-07 05:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:49:05] Production.INFO: Date 2024-12-27
[2025-01-07 05:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:49:05] Production.INFO: Date 2024-12-28
[2025-01-07 05:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:49:05] Production.INFO: Date 2024-12-29
[2025-01-07 05:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:49:05] Production.INFO: Date 2024-12-30
[2025-01-07 05:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:49:05] Production.INFO: Date 2024-12-31
[2025-01-07 05:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:49:05] Production.INFO: Date 2025-01-01
[2025-01-07 05:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:49:05] Production.INFO: Date 2025-01-02
[2025-01-07 05:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:49:05] Production.INFO: Date 2025-01-03
[2025-01-07 05:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:49:06] Production.INFO: Date 2025-01-04
[2025-01-07 05:49:06] Production.INFO: Reseller ==> 0
[2025-01-07 05:49:06] Production.INFO: Date 2025-01-05
[2025-01-07 05:49:06] Production.INFO: Reseller ==> 0
[2025-01-07 05:49:06] Production.INFO: Date 2025-01-06
[2025-01-07 05:49:06] Production.INFO: Reseller ==> 0
[2025-01-07 05:49:06] Production.INFO: Date 2025-01-07
[2025-01-07 05:49:06] Production.INFO: Reseller ==> 0
[2025-01-07 05:49:06] Production.INFO: Total Charge 0
[2025-01-07 05:49:06] Production.INFO: CreateAllLog End
[2025-01-07 05:49:06] Production.INFO: Account Balance End.
[2025-01-07 05:49:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:49:06
[end_date_ymd] => 2025-01-07 05:49:06
[RateCDR] => 1
)
[2025-01-07 05: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-07 02:49:06' and `end` < '2025-01-07 05: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-07 05:49:06] Production.ERROR: CronJobId end 12
[2025-01-07 05:49:06] Production.INFO: ==7675== Releasing lock...
[2025-01-07 05:49:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:49:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:49:07] Production.INFO: Contact id print CheckCustomer Case===6f5d3631-ded1-4310-ab70-a39a8b602341
[2025-01-07 05:49:07] Production.INFO: -- count --1
[2025-01-07 05:49:07] Production.INFO: AccountID 137
[2025-01-07 05:49:07] Production.INFO: AccountName Dominos 10558 (David Mills)
[2025-01-07 05:49:07] Production.INFO: Checkcustomer
[2025-01-07 05:49:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010558%20%28David%20Mills%29"
[2025-01-07 05:49:10] Production.INFO: Contact id print CheckCustomer Case===2149c89a-278c-4dda-ad9d-2a94478559a8
[2025-01-07 05:49:10] Production.INFO: -- count --1
[2025-01-07 05:49:10] Production.INFO: AccountID 139
[2025-01-07 05:49:10] Production.INFO: AccountName Dominos 10560 (Ricky Singh)
[2025-01-07 05:49:10] Production.INFO: Checkcustomer
[2025-01-07 05:49:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010560%20%28Ricky%20Singh%29"
[2025-01-07 05:49:11] Production.ERROR: CronJobId end10
[2025-01-07 05:49:11] Production.INFO: ==7672== Releasing lock...
[2025-01-07 05:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:49:12] Production.INFO: Contact id print CheckCustomer Case===7c24a24f-0252-42cb-b4ca-aa9aa79c4f0b
[2025-01-07 05:49:12] Production.INFO: -- count --1
[2025-01-07 05:49:12] Production.INFO: AccountID 138
[2025-01-07 05:49:12] Production.INFO: AccountName Dominos 10567 (Sandeep Chaudhari)
[2025-01-07 05:49:12] Production.INFO: Checkcustomer
[2025-01-07 05:49:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010567%20%28Sandeep%20Chaudhari%29"
[2025-01-07 05:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:49:13] Production.INFO: call_cost start
[2025-01-07 05:49:13] Production.INFO: call_cost end
[2025-01-07 05:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:49:14] Production.INFO: ==7668== Releasing lock...
[2025-01-07 05:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:49:15] Production.INFO: Contact id print CheckCustomer Case===e7245c9e-f77f-4765-a131-4eff2704ecf0
[2025-01-07 05:49:15] Production.INFO: -- count --1
[2025-01-07 05:49:15] Production.INFO: AccountID 150
[2025-01-07 05:49:15] Production.INFO: AccountName Dominos 10581 (Ken Hoose)
[2025-01-07 05:49:15] Production.INFO: Checkcustomer
[2025-01-07 05:49:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010581%20%28Ken%20Hoose%29"
[2025-01-07 05:49:18] Production.INFO: Contact id print CheckCustomer Case===07c709b0-937e-40e5-a0d5-b08ea9074e65
[2025-01-07 05:49:18] Production.INFO: -- count --1
[2025-01-07 05:49:18] Production.INFO: AccountID 150
[2025-01-07 05:49:18] Production.INFO: AccountName Dominos 10581 (Ken Hoose)
[2025-01-07 05:49:18] Production.INFO: Checkcustomer
[2025-01-07 05:49:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010581%20%28Ken%20Hoose%29"
[2025-01-07 05:49:19] Production.INFO: count ==59
[2025-01-07 05:49:19] Production.ERROR: pbx CDR StartTime 2025-01-07 02:49:06 - End Time 2025-01-07 05:49:06
[2025-01-07 05:49:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192865', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192865', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192865', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192865', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:49:19] Production.INFO: ProcessCDR(1,14192865,1,1,2)
[2025-01-07 05:49:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192865,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192865,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192865,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:49:21] Production.INFO: Contact id print CheckCustomer Case===07c709b0-937e-40e5-a0d5-b08ea9074e65
[2025-01-07 05:49:21] Production.INFO: -- count --1
[2025-01-07 05:49:21] Production.INFO: -- Xero Add Inovice --
[2025-01-07 05:49:21] Production.INFO: CheckInvoice xerov2: INV11288
[2025-01-07 05:49:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11288
[2025-01-07 05:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192865,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192865', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192865', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:49:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:49:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:49:22] Production.INFO: ==7677== Releasing lock...
[2025-01-07 05:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:49:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 05:49:23] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:49:23] Production.INFO: Invoice SubTotal 96.510000
[2025-01-07 05:49:23] Production.INFO: Invoice DetTotal 96.51
[2025-01-07 05:49:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010552%20%28Werner%20Lomker%29"
[2025-01-07 05:49:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:49:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:49:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:49:33] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "VDSL Internet Service - 50x10mbps (3068 Mayfield Rd., Brampton, ON)",Quantity : 1,UnitAmount : 96.510000,LineAmount : 96.510000}
[2025-01-07 05:49:36] Production.INFO: ==== result =====
[2025-01-07 05:49:36] Production.INFO: {
"Id": "f2c989f8-f1c5-4127-a4bb-6a0f6fae8416",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736246976391)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "89a9d51b-8c79-4fc5-b6b4-44833b1cfe2b",
"InvoiceNumber": "INV11288",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 109.06,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "6f5d3631-ded1-4310-ab70-a39a8b602341",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10552 (Werner Lomker)",
"FirstName": "Werner",
"LastName": "Lomker",
"EmailAddress": "akaiserbun@sympatico.ca",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1580835559637+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2025-01-01T00:00:00",
"Date": "\/Date(1735689600000+0000)\/",
"DueDateString": "2025-01-31T00:00:00",
"DueDate": "\/Date(1738281600000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "VDSL Internet Service - 50x10mbps (3068 Mayfield Rd., Brampton, ON)",
"UnitAmount": 96.51,
"TaxType": "TAX020",
"TaxAmount": 12.55,
"LineAmount": 96.51,
"AccountCode": "204",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "d32f4589-6895-4464-8146-778f8d18848c",
"AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 96.51,
"TotalTax": 12.55,
"Total": 109.06,
"UpdatedDateUTC": "\/Date(1736246976343+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:49:36] Production.INFO: -- Create Invoice id --89a9d51b-8c79-4fc5-b6b4-44833b1cfe2b
[2025-01-07 05:49:36] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:49:36] Production.INFO: CheckInvoice xerov2: INV11217
[2025-01-07 05:49:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11217
[2025-01-07 05:49:39] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:49:39] Production.INFO: Invoice SubTotal 57.500000
[2025-01-07 05:49:39] Production.INFO: Invoice DetTotal 57.5
[2025-01-07 05:49:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010558%20%28David%20Mills%29"
[2025-01-07 05:49:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:49:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:49:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:49:48] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (2893233323 - 10 Dewside Drive U15 Brampton, ON L6R 3Y3)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 4,UnitAmount : -5.000000,LineAmount : -20.000000}
[2025-01-07 05:49:50] Production.INFO: ==== result =====
[2025-01-07 05:49:50] Production.INFO: {
"Id": "15d821fe-990c-48aa-ab0a-730344b66b2f",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736246990717)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "0dbccf69-b633-4a2a-8046-b79c40ef758d",
"InvoiceNumber": "INV11217",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 64.98,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "2149c89a-278c-4dda-ad9d-2a94478559a8",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10558 (David Mills)",
"EmailAddress": "office@teamtenfold.com",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1594927753780+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-14T00:00:00",
"Date": "\/Date(1734134400000+0000)\/",
"DueDateString": "2025-01-13T00:00:00",
"DueDate": "\/Date(1736726400000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "48b8e635-3096-4df0-b035-505355e67e34",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (2893233323 - 10 Dewside Drive U15 Brampton, ON L6R 3Y3)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "21968109-f495-4b14-97dc-5ccfef293e8c",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -5.00,
"TaxType": "TAX020",
"TaxAmount": -2.60,
"LineAmount": -20.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 4.0000,
"DiscountRate": 0.00,
"LineItemID": "6ddfb40f-b1b3-41da-b32a-2cba5e501bfb",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 57.50,
"TotalTax": 7.48,
"Total": 64.98,
"UpdatedDateUTC": "\/Date(1736246990670+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:49:50] Production.INFO: -- Create Invoice id --0dbccf69-b633-4a2a-8046-b79c40ef758d
[2025-01-07 05:49:50] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:49:50] Production.INFO: CheckInvoice xerov2: INV11192
[2025-01-07 05:49:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11192
[2025-01-07 05:49:53] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:49:53] Production.INFO: Invoice SubTotal 249.220000
[2025-01-07 05:49:53] Production.INFO: Invoice DetTotal 249.22
[2025-01-07 05:49:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010560%20%28Ricky%20Singh%29"
[2025-01-07 05:49:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:49:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:50:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 10:50:01] Production.INFO: ==7791== Lock acquired, processing the job...
[2025-01-07 10:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:50:01] Production.INFO: neon service started
[2025-01-07 10:50:01] Production.INFO: neon service started
[2025-01-07 10:50:01] Production.INFO: ==7791== Releasing lock...
[2025-01-07 10:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:50:02] Production.INFO: ==7795== Lock acquired, processing the job...
[2025-01-07 10:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:50:02] Production.INFO: ==7795== Releasing lock...
[2025-01-07 10:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:50:02] Production.INFO: ==7793== Lock acquired, processing the job...
[2025-01-07 05:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:50:02] Production.INFO: ==7793== Releasing lock...
[2025-01-07 05:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:50:03] Production.INFO: ==7797== Lock acquired, processing the job...
[2025-01-07 05:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 05:50:03] Production.INFO: ==7799== Lock acquired, processing the job...
[2025-01-07 05:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:50:03] Production.INFO: ==7804== Lock acquired, processing the job...
[2025-01-07 05:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:50:03] Production.INFO: ==7801== Lock acquired, processing the job...
[2025-01-07 05:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 05:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 05:50:03] Production.ERROR: CronJob PID - 7799
[2025-01-07 05:50:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-07 05:50:03] Production.ERROR: CronJob ID - 5
[2025-01-07 05:50:03] Production.ERROR: CronJob Last Run Time 2025-01-07 05:50:00
[2025-01-07 05:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 05:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 05:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 05:50:03] Production.ERROR: CronJob PID - 7804
[2025-01-07 05:50:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-07 05:50:03] Production.ERROR: CronJob ID - 10
[2025-01-07 05:50:03] Production.ERROR: CronJob Last Run Time 2025-01-07 05:50:00
[2025-01-07 05:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 05:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 05:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 05:50:03] Production.INFO: ==7797== Releasing lock...
[2025-01-07 05:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 05:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 05:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:50:03] Production.INFO: ==7813== Lock acquired, processing the job...
[2025-01-07 05:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:50:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:50:03] Production.INFO: ==7808== Lock acquired, processing the job...
[2025-01-07 05:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:50:03] Production.INFO: ==7811== Lock acquired, processing the job...
[2025-01-07 05:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 05:50:03] Production.INFO: ==7806== Lock acquired, processing the job...
[2025-01-07 05:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:50:04] Production.INFO: count ==21
[2025-01-07 05:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 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-07 05:50:04] Production.INFO: count ==21
[2025-01-07 05:50:04] Production.INFO: Account Balance Start.
[2025-01-07 05:50:04] Production.INFO: CreateAllLog Start
[2025-01-07 05:50:04] Production.INFO: 117
[2025-01-07 05:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192868') start
[2025-01-07 05:50:04] Production.INFO: ==7801== Releasing lock...
[2025-01-07 05:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:50:04] Production.INFO: Date 2024-12-08
[2025-01-07 05:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:50:04] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "Cable Internet Service (60 McNaughton Ave, Unit A-101, Wallaceburg, ON) - 80x15",Quantity : 1,UnitAmount : 125.980000,LineAmount : 125.980000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "LTE Internet Failover Service (60 McNaughton Ave, Unit A-101, Wallaceburg, ON) - 1GB transfer",Quantity : 1,UnitAmount : 63.240000,LineAmount : 63.240000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Bundle discount",Quantity : 3,UnitAmount : -5.000000,LineAmount : -15.000000}
[2025-01-07 05:50:04] Production.INFO: Date 2024-12-09
[2025-01-07 05:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:50:04] Production.INFO: Date 2024-12-10
[2025-01-07 05:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192868') end
[2025-01-07 05:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:50:04] Production.INFO: 1
[2025-01-07 05:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:50:04] Production.ERROR: done
[2025-01-07 05:50:04] Production.INFO: Date 2024-12-11
[2025-01-07 05:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:50:04] Production.INFO: Date 2024-12-12
[2025-01-07 05:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:50:04] Production.INFO: ==7813== Releasing lock...
[2025-01-07 05:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:50:04] Production.ERROR: done
[2025-01-07 05:50:04] Production.INFO: Date 2024-12-13
[2025-01-07 05:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:50:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:50:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:50:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:50:04] Production.ERROR: done
[2025-01-07 05:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 05:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14192870', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 05:50:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:50:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:50:04] Production.INFO: Date 2024-12-19
[2025-01-07 05:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:50:04] Production.INFO: Date 2024-12-20
[2025-01-07 05:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:50:04] Production.INFO: Date 2024-12-21
[2025-01-07 05:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:50:04] Production.INFO: Date 2024-12-22
[2025-01-07 05:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:50:04] Production.INFO: Date 2024-12-23
[2025-01-07 05:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:50:05] Production.INFO: Date 2024-12-24
[2025-01-07 05:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:50:05] Production.INFO: Date 2024-12-25
[2025-01-07 05:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:50:05] Production.INFO: Date 2024-12-26
[2025-01-07 05:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:50:05] Production.INFO: Date 2024-12-27
[2025-01-07 05:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:50:05] Production.INFO: Date 2024-12-28
[2025-01-07 05:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:50:05] Production.INFO: Date 2024-12-29
[2025-01-07 05:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:50:05] Production.INFO: Date 2024-12-30
[2025-01-07 05:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:50:05] Production.INFO: Date 2024-12-31
[2025-01-07 05:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:50:05] Production.INFO: Date 2025-01-01
[2025-01-07 05:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:50:05] Production.INFO: Date 2025-01-02
[2025-01-07 05:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:50:05] Production.INFO: Date 2025-01-03
[2025-01-07 05:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:50:05] Production.INFO: Date 2025-01-04
[2025-01-07 05:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:50:05] Production.INFO: Date 2025-01-05
[2025-01-07 05:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:50:05] Production.INFO: Date 2025-01-06
[2025-01-07 05:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:50:05
[end_date_ymd] => 2025-01-07 05:50:05
[RateCDR] => 1
)
[2025-01-07 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-07 02:50:05' and `end` < '2025-01-07 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-07 05:50:05] Production.INFO: Date 2025-01-07
[2025-01-07 05:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:50:05] Production.INFO: Total Charge 0
[2025-01-07 05:50:05] Production.INFO: CreateAllLog End
[2025-01-07 05:50:05] Production.INFO: Account Balance End.
[2025-01-07 05:50:05] Production.ERROR: CronJobId end 12
[2025-01-07 05:50:05] Production.INFO: ==7806== Releasing lock...
[2025-01-07 05:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14192870', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 05:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 05:50:08] Production.INFO: ProcessCDR(1,14192870,1,1,2)
[2025-01-07 05:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14192870,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14192870,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:50:08] Production.INFO: ==7811== Releasing lock...
[2025-01-07 05:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 05:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-07 05:50:10] Production.INFO: ==== result =====
[2025-01-07 05:50:10] Production.INFO: {
"Id": "77077ad0-9e69-4a69-ba55-35c318cbbbfc",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736247010435)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "f5bfc1e3-8fa2-47c0-a561-64b857f67176",
"InvoiceNumber": "INV11192",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 281.62,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "7c24a24f-0252-42cb-b4ca-aa9aa79c4f0b",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10560 (Ricky Singh)",
"FirstName": "Ricky",
"LastName": "Singh",
"EmailAddress": "ricky_bhawar@yahoo.com",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1606238954070+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-10T00:00:00",
"Date": "\/Date(1733788800000+0000)\/",
"DueDateString": "2025-01-09T00:00:00",
"DueDate": "\/Date(1736380800000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Cable Internet Service (60 McNaughton Ave, Unit A-101, Wallaceburg, ON) - 80x15",
"UnitAmount": 125.98,
"TaxType": "TAX020",
"TaxAmount": 16.38,
"LineAmount": 125.98,
"AccountCode": "204",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "fb04711d-09e9-44fd-98ff-efaf6d02c4ec",
"AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "LTE Internet Failover Service (60 McNaughton Ave, Unit A-101, Wallaceburg, ON) - 1GB transfer",
"UnitAmount": 63.24,
"TaxType": "TAX020",
"TaxAmount": 8.22,
"LineAmount": 63.24,
"AccountCode": "204",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "cd869a7e-7657-461f-8598-5861202e3775",
"AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "51c97041-78e4-4b5b-821c-93e500fc4569",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Bundle discount",
"UnitAmount": -5.00,
"TaxType": "TAX020",
"TaxAmount": -1.95,
"LineAmount": -15.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 3.0000,
"DiscountRate": 0.00,
"LineItemID": "6cd8bd65-334d-4d30-b779-1490406a0435",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 249.22,
"TotalTax": 32.40,
"Total": 281.62,
"UpdatedDateUTC": "\/Date(1736247010297+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:50:10] Production.INFO: -- Create Invoice id --f5bfc1e3-8fa2-47c0-a561-64b857f67176
[2025-01-07 05:50:10] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:50:10] Production.INFO: CheckInvoice xerov2: INV11218
[2025-01-07 05:50:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11218
[2025-01-07 05:50:11] Production.ERROR: CronJobId end10
[2025-01-07 05:50:11] Production.INFO: ==7804== Releasing lock...
[2025-01-07 05:50:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:50:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:50:14] Production.INFO: call_cost start
[2025-01-07 05:50:14] Production.INFO: call_cost end
[2025-01-07 05:50:14] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:50:14] Production.INFO: Invoice SubTotal 52.500000
[2025-01-07 05:50:14] Production.INFO: Invoice DetTotal 52.5
[2025-01-07 05:50:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010567%20%28Sandeep%20Chaudhari%29"
[2025-01-07 05:50:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:50:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:50:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:50:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:50:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:50:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:50:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:50:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:50:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:50:15] Production.INFO: ==7799== Releasing lock...
[2025-01-07 05:50:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:50:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:50:18] Production.INFO: count ==57
[2025-01-07 05:50:18] Production.ERROR: pbx CDR StartTime 2025-01-07 02:50:05 - End Time 2025-01-07 05:50:05
[2025-01-07 05:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192871', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192871', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192871', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192871', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:50:18] Production.INFO: ProcessCDR(1,14192871,1,1,2)
[2025-01-07 05:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192871,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192871,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192871,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:50:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192871,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192871', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192871', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:50:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:50:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:50:21] Production.INFO: ==7808== Releasing lock...
[2025-01-07 05:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:50:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 05:50:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:50:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:50:30] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (5198049744 - 195 Franklin Blvd 5 Cambridge, ON N1R 8H3)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 5,UnitAmount : -5.000000,LineAmount : -25.000000}
[2025-01-07 05:50:34] Production.INFO: ==== result =====
[2025-01-07 05:50:34] Production.INFO: {
"Id": "5161413a-ed1a-4ecf-b1e9-d4f95d3f2826",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736247034451)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "3323b194-6e5e-4884-aae3-88c8baf697ab",
"InvoiceNumber": "INV11218",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 59.33,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "e7245c9e-f77f-4765-a131-4eff2704ecf0",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10567 (Sandeep Chaudhari)",
"FirstName": "Sandeep",
"LastName": "Chaudhari",
"EmailAddress": "schaudha@hotmail.com",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1594927784687+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-14T00:00:00",
"Date": "\/Date(1734134400000+0000)\/",
"DueDateString": "2025-01-13T00:00:00",
"DueDate": "\/Date(1736726400000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "09353f15-4752-409f-a757-3058c07920e1",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (5198049744 - 195 Franklin Blvd 5 Cambridge, ON N1R 8H3)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "04f49e6a-ad2b-4602-b1d3-34c8d7c15250",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -5.00,
"TaxType": "TAX020",
"TaxAmount": -3.25,
"LineAmount": -25.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 5.0000,
"DiscountRate": 0.00,
"LineItemID": "d77a31e5-1160-47b5-8d0f-9cf6182b4b93",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 52.50,
"TotalTax": 6.83,
"Total": 59.33,
"UpdatedDateUTC": "\/Date(1736247034357+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:50:34] Production.INFO: -- Create Invoice id --3323b194-6e5e-4884-aae3-88c8baf697ab
[2025-01-07 05:50:34] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:50:34] Production.INFO: CheckInvoice xerov2: INV10976
[2025-01-07 05:50:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10976
[2025-01-07 05:50:36] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:50:36] Production.INFO: Invoice SubTotal 67.500000
[2025-01-07 05:50:36] Production.INFO: Invoice DetTotal 67.5
[2025-01-07 05:50:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010581%20%28Ken%20Hoose%29"
[2025-01-07 05:50:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:50:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:50:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:50:46] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (12265700029- 300 Elm Street St. Thomas, ON N5R 1J7 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 2,UnitAmount : -5.000000,LineAmount : -10.000000}
[2025-01-07 05:50:50] Production.INFO: ==== result =====
[2025-01-07 05:50:50] Production.INFO: {
"Id": "d1d44fd6-862a-4e21-b7e1-ae540856191c",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736247050292)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "bd2749f9-06c1-49f8-83d4-50deb23e9318",
"InvoiceNumber": "INV10976",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 76.28,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "07c709b0-937e-40e5-a0d5-b08ea9074e65",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10581 (Ken Hoose)",
"FirstName": "Ken",
"LastName": "Hoose",
"EmailAddress": "kenhoose94@gmail.com",
"BankAccountDetails": "",
"AccountsReceivableTaxType": "TAX011",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": "",
"AttentionTo": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": "",
"AttentionTo": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1617976682070+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesDefaultAccountCode": "203",
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-11-01T00:00:00",
"Date": "\/Date(1730419200000+0000)\/",
"DueDateString": "2024-12-01T00:00:00",
"DueDate": "\/Date(1733011200000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "e703ed65-fafa-4694-8abf-1faa875330ac",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (12265700029- 300 Elm Street St. Thomas, ON N5R 1J7 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "4dd7cad2-aae5-4446-97d4-5932d655116b",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -5.00,
"TaxType": "TAX020",
"TaxAmount": -1.30,
"LineAmount": -10.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 2.0000,
"LineItemID": "e7c19faf-0eb4-4e7c-a577-882fa8ec63d9",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"ValidationErrors": []
}
],
"SubTotal": 67.50,
"TotalTax": 8.78,
"Total": 76.28,
"UpdatedDateUTC": "\/Date(1736247050230+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:50:50] Production.INFO: -- Create Invoice id --bd2749f9-06c1-49f8-83d4-50deb23e9318
[2025-01-07 05:50:50] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:50:50] Production.INFO: CheckInvoice xerov2: INV11135
[2025-01-07 05:50:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11135
[2025-01-07 05:50:53] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:50:53] Production.INFO: Invoice SubTotal 67.500000
[2025-01-07 05:50:53] Production.INFO: Invoice DetTotal 67.5
[2025-01-07 05:50:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010581%20%28Ken%20Hoose%29"
[2025-01-07 05:50:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:50:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:51:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 10:51:02] Production.INFO: ==7882== Lock acquired, processing the job...
[2025-01-07 10:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:51:02] Production.INFO: neon service started
[2025-01-07 10:51:02] Production.INFO: neon service started
[2025-01-07 10:51:02] Production.INFO: ==7882== Releasing lock...
[2025-01-07 10:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:51:02] Production.INFO: ==7886== Lock acquired, processing the job...
[2025-01-07 10:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:51:02] Production.INFO: ==7886== Releasing lock...
[2025-01-07 10:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:51:02] Production.INFO: ==7884== Lock acquired, processing the job...
[2025-01-07 05:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:51:02] Production.INFO: ==7884== Releasing lock...
[2025-01-07 05:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:51:03] Production.INFO: ==7889== Lock acquired, processing the job...
[2025-01-07 05:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:51:03] Production.INFO: ==7891== Lock acquired, processing the job...
[2025-01-07 05:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:51:03] Production.INFO: ==7897== Lock acquired, processing the job...
[2025-01-07 05:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:51:03] Production.INFO: ==7893== Lock acquired, processing the job...
[2025-01-07 05:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:51:03] Production.INFO: ==7895== Lock acquired, processing the job...
[2025-01-07 05:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:51:04] Production.INFO: ==7899== Lock acquired, processing the job...
[2025-01-07 05:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:51:04] Production.ERROR: done
[2025-01-07 05:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:51:04] Production.INFO: Account Balance Start.
[2025-01-07 05:51:04] Production.INFO: CreateAllLog Start
[2025-01-07 05:51:04] Production.INFO: 117
[2025-01-07 05:51:04] Production.INFO: Date 2024-12-08
[2025-01-07 05:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:51:04] Production.INFO: Date 2024-12-09
[2025-01-07 05:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:51:04] Production.INFO: ==7891== Releasing lock...
[2025-01-07 05:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:51:04] Production.INFO: Date 2024-12-10
[2025-01-07 05:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:51:04] Production.ERROR: done
[2025-01-07 05:51:04] Production.INFO: count ==21
[2025-01-07 05:51:04] Production.INFO: Date 2024-12-11
[2025-01-07 05:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:51:04] Production.INFO: count ==21
[2025-01-07 05:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192875') start
[2025-01-07 05:51:04] Production.INFO: Date 2024-12-12
[2025-01-07 05:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:51:04] Production.INFO: Date 2024-12-13
[2025-01-07 05:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:51:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192875') end
[2025-01-07 05:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:51:04] Production.INFO: 1
[2025-01-07 05:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:51:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:51:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:51:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:51:04] Production.INFO: ==7899== Releasing lock...
[2025-01-07 05:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:51:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:51:04] Production.INFO: Date 2024-12-19
[2025-01-07 05:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:51:04] Production.INFO: Date 2024-12-20
[2025-01-07 05:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:51:04] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (12265700029- 300 Elm Street St. Thomas, ON N5R 1J7 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 2,UnitAmount : -5.000000,LineAmount : -10.000000}
[2025-01-07 05:51:04] Production.INFO: Date 2024-12-21
[2025-01-07 05:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:51:04] Production.INFO: Date 2024-12-22
[2025-01-07 05:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:51:04] Production.INFO: Date 2024-12-23
[2025-01-07 05:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:51:04] Production.INFO: Date 2024-12-24
[2025-01-07 05:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:51:04] Production.INFO: Date 2024-12-25
[2025-01-07 05:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:51:04] Production.INFO: Date 2024-12-26
[2025-01-07 05:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:51:04] Production.INFO: Date 2024-12-27
[2025-01-07 05:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:51:04] Production.INFO: Date 2024-12-28
[2025-01-07 05:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:51:04] Production.INFO: Date 2024-12-29
[2025-01-07 05:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:51:04] Production.INFO: Date 2024-12-30
[2025-01-07 05:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:51:04] Production.INFO: Date 2024-12-31
[2025-01-07 05:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:51:05] Production.INFO: Date 2025-01-01
[2025-01-07 05:51:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:51:05] Production.INFO: Date 2025-01-02
[2025-01-07 05:51:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:51:05] Production.INFO: Date 2025-01-03
[2025-01-07 05:51:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:51:05] Production.INFO: Date 2025-01-04
[2025-01-07 05:51:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:51:05] Production.INFO: Date 2025-01-05
[2025-01-07 05:51:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:51:05] Production.INFO: Date 2025-01-06
[2025-01-07 05:51:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:51:05] Production.INFO: Date 2025-01-07
[2025-01-07 05:51:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:51:05] Production.INFO: Total Charge 0
[2025-01-07 05:51:05] Production.INFO: CreateAllLog End
[2025-01-07 05:51:05] Production.INFO: Account Balance End.
[2025-01-07 05:51:05] Production.ERROR: CronJobId end 12
[2025-01-07 05:51:05] Production.INFO: ==7895== Releasing lock...
[2025-01-07 05:51:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:51:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:51:05
[end_date_ymd] => 2025-01-07 05:51:05
[RateCDR] => 1
)
[2025-01-07 05:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 02:51:05' and `end` < '2025-01-07 05:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 05:51:08] Production.INFO: ==== result =====
[2025-01-07 05:51:08] Production.INFO: {
"Id": "98c78e6b-1905-4345-ab59-5a1a472ec66b",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736247067926)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "99bf8a46-306b-41db-b944-bb8e2ed32615",
"InvoiceNumber": "INV11135",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 76.28,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "07c709b0-937e-40e5-a0d5-b08ea9074e65",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10581 (Ken Hoose)",
"FirstName": "Ken",
"LastName": "Hoose",
"EmailAddress": "kenhoose94@gmail.com",
"BankAccountDetails": "",
"AccountsReceivableTaxType": "TAX011",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": "",
"AttentionTo": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": "",
"AttentionTo": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1617976682070+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesDefaultAccountCode": "203",
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-01T00:00:00",
"Date": "\/Date(1733011200000+0000)\/",
"DueDateString": "2024-12-31T00:00:00",
"DueDate": "\/Date(1735603200000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "0a929d54-663b-4bcc-9863-fb90860d803e",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (12265700029- 300 Elm Street St. Thomas, ON N5R 1J7 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "5d3d1ea6-d22e-488f-9862-b9b3d1b328b5",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -5.00,
"TaxType": "TAX020",
"TaxAmount": -1.30,
"LineAmount": -10.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 2.0000,
"LineItemID": "99174aa6-16ea-49d3-ae63-f0c1c8034af2",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"ValidationErrors": []
}
],
"SubTotal": 67.50,
"TotalTax": 8.78,
"Total": 76.28,
"UpdatedDateUTC": "\/Date(1736247067863+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:51:08] Production.INFO: -- Create Invoice id --99bf8a46-306b-41db-b944-bb8e2ed32615
[2025-01-07 05:51:08] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:51:08] Production.INFO: -- Xero End Inovice --
[2025-01-07 05:51:08] Production.INFO: ==7666== Releasing lock...
[2025-01-07 05:51:08] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10438 #Stops#
[2025-01-07 05:51:08] Production.INFO: 32.5 MB #Memory Used#
[2025-01-07 05:51:11] Production.ERROR: CronJobId end10
[2025-01-07 05:51:11] Production.INFO: ==7893== Releasing lock...
[2025-01-07 05:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:51:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:51:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:51:13] Production.INFO: call_cost start
[2025-01-07 05:51:13] Production.INFO: call_cost end
[2025-01-07 05:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:51:14] Production.INFO: ==7889== Releasing lock...
[2025-01-07 05:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:51:19] Production.INFO: count ==57
[2025-01-07 05:51:19] Production.ERROR: pbx CDR StartTime 2025-01-07 02:51:05 - End Time 2025-01-07 05:51:05
[2025-01-07 05:51:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192876', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192876', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192876', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192876', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:51:19] Production.INFO: ProcessCDR(1,14192876,1,1,2)
[2025-01-07 05:51:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192876,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192876,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192876,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192876,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192876', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192876', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:51:22] Production.INFO: ==7897== Releasing lock...
[2025-01-07 05:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:51:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 10:52:01] Production.INFO: ==7957== Lock acquired, processing the job...
[2025-01-07 10:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:52:01] Production.INFO: neon service started
[2025-01-07 10:52:01] Production.INFO: neon service started
[2025-01-07 10:52:01] Production.INFO: ==7957== Releasing lock...
[2025-01-07 10:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:52:01] Production.INFO: ==7961== Lock acquired, processing the job...
[2025-01-07 10:52:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:52:01] Production.INFO: ==7961== Releasing lock...
[2025-01-07 10:52:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:52:01] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:52:02] Production.INFO: ==7959== Lock acquired, processing the job...
[2025-01-07 05:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:52:02] Production.INFO: ==7959== Releasing lock...
[2025-01-07 05:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:52:03] Production.INFO: ==7964== Lock acquired, processing the job...
[2025-01-07 05:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:52:03] Production.INFO: ==7968== Lock acquired, processing the job...
[2025-01-07 05:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:52:03] Production.INFO: ==7966== Lock acquired, processing the job...
[2025-01-07 05:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:52:03] Production.INFO: ==7970== Lock acquired, processing the job...
[2025-01-07 05:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:52:03] Production.INFO: ==7972== Lock acquired, processing the job...
[2025-01-07 05:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:52:03] Production.INFO: Account Balance Start.
[2025-01-07 05:52:03] Production.INFO: CreateAllLog Start
[2025-01-07 05:52:03] Production.INFO: 117
[2025-01-07 05:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:52:03] Production.INFO: Date 2024-12-08
[2025-01-07 05:52:03] Production.INFO: ==7974== Lock acquired, processing the job...
[2025-01-07 05:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:52:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:52:03] Production.INFO: Date 2024-12-09
[2025-01-07 05:52:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 05:52:03] Production.INFO: count ==21
[2025-01-07 05:52:03] Production.INFO: ==7966== Releasing lock...
[2025-01-07 05:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 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-07 05:52:03] Production.INFO: count ==21
[2025-01-07 05:52:03] Production.INFO: Date 2024-12-10
[2025-01-07 05:52:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:52:03] Production.INFO: Date 2024-12-11
[2025-01-07 05:52:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192880') start
[2025-01-07 05:52:03] Production.ERROR: done
[2025-01-07 05:52:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:52:03] Production.INFO: Date 2024-12-12
[2025-01-07 05:52:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192880') end
[2025-01-07 05:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:52:04] Production.INFO: 1
[2025-01-07 05:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:52:04] Production.INFO: Date 2024-12-13
[2025-01-07 05:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:52:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:52:04] Production.INFO: ==7974== Releasing lock...
[2025-01-07 05:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:52:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:52:04] Production.ERROR: done
[2025-01-07 05:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:52:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:52:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:52:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:52:04] Production.INFO: Date 2024-12-19
[2025-01-07 05:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:52:04] Production.INFO: Date 2024-12-20
[2025-01-07 05:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:52:04] Production.INFO: Date 2024-12-21
[2025-01-07 05:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:52:04] Production.INFO: Date 2024-12-22
[2025-01-07 05:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:52:04] Production.INFO: Date 2024-12-23
[2025-01-07 05:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:52:04] Production.INFO: Date 2024-12-24
[2025-01-07 05:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:52:04] Production.INFO: Date 2024-12-25
[2025-01-07 05:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:52:04] Production.INFO: Date 2024-12-26
[2025-01-07 05:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:52:04] Production.INFO: Date 2024-12-27
[2025-01-07 05:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:52:04] Production.INFO: Date 2024-12-28
[2025-01-07 05:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:52:04] Production.INFO: Date 2024-12-29
[2025-01-07 05:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:52:04] Production.INFO: Date 2024-12-30
[2025-01-07 05:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:52:04] Production.INFO: Date 2024-12-31
[2025-01-07 05:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:52:04] Production.INFO: Date 2025-01-01
[2025-01-07 05:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:52:04] Production.INFO: Date 2025-01-02
[2025-01-07 05:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:52:04] Production.INFO: Date 2025-01-03
[2025-01-07 05:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:52:04] Production.INFO: Date 2025-01-04
[2025-01-07 05:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:52:04] Production.INFO: Date 2025-01-05
[2025-01-07 05:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:52:04] Production.INFO: Date 2025-01-06
[2025-01-07 05:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:52:04] Production.INFO: Date 2025-01-07
[2025-01-07 05:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:52:04] Production.INFO: Total Charge 0
[2025-01-07 05:52:04] Production.INFO: CreateAllLog End
[2025-01-07 05:52:05] Production.INFO: Account Balance End.
[2025-01-07 05:52:05] Production.ERROR: CronJobId end 12
[2025-01-07 05:52:05] Production.INFO: ==7970== Releasing lock...
[2025-01-07 05:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:52:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:52:05
[end_date_ymd] => 2025-01-07 05:52:05
[RateCDR] => 1
)
[2025-01-07 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-07 02:52:05' and `end` < '2025-01-07 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-07 05:52:11] Production.ERROR: CronJobId end10
[2025-01-07 05:52:11] Production.INFO: ==7968== Releasing lock...
[2025-01-07 05:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:52:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:52:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:52:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:52:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:52:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:52:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:52:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:52:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:52:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:52:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:52:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:52:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:52:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:52:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:52:12] Production.INFO: call_cost start
[2025-01-07 05:52:12] Production.INFO: call_cost end
[2025-01-07 05:52:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:52:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:52:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:52:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:52:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:52:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:52:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:52:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:52:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:52:13] Production.INFO: ==7964== Releasing lock...
[2025-01-07 05:52:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:52:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:52:18] Production.INFO: count ==57
[2025-01-07 05:52:18] Production.ERROR: pbx CDR StartTime 2025-01-07 02:52:05 - End Time 2025-01-07 05:52:05
[2025-01-07 05:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192881', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192881', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192881', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192881', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:52:18] Production.INFO: ProcessCDR(1,14192881,1,1,2)
[2025-01-07 05:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192881,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192881,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192881,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192881,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192881', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192881', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:52:21] Production.INFO: ==7972== Releasing lock...
[2025-01-07 05:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:52:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 10:53:01] Production.INFO: ==8028== Lock acquired, processing the job...
[2025-01-07 10:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:53:01] Production.INFO: neon service started
[2025-01-07 10:53:01] Production.INFO: neon service started
[2025-01-07 10:53:01] Production.INFO: ==8028== Releasing lock...
[2025-01-07 10:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:53:02] Production.INFO: ==8030== Lock acquired, processing the job...
[2025-01-07 05:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:53:02] Production.INFO: ==8030== Releasing lock...
[2025-01-07 05:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:53:02] Production.INFO: ==8032== Lock acquired, processing the job...
[2025-01-07 10:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:53:02] Production.INFO: ==8032== Releasing lock...
[2025-01-07 10:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:53:03] Production.INFO: ==8039== Lock acquired, processing the job...
[2025-01-07 05:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:53:03] Production.INFO: ==8035== Lock acquired, processing the job...
[2025-01-07 05:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:53:03] Production.INFO: ==8045== Lock acquired, processing the job...
[2025-01-07 05:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:53:03] Production.INFO: ==8037== Lock acquired, processing the job...
[2025-01-07 05:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 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-07 05:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:53:03] Production.INFO: ==8041== Lock acquired, processing the job...
[2025-01-07 05:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:53:03] Production.INFO: ==8043== Lock acquired, processing the job...
[2025-01-07 05:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:53:03] Production.INFO: count ==21
[2025-01-07 05:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 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-07 05:53:03] Production.INFO: count ==21
[2025-01-07 05:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192882') start
[2025-01-07 05:53:03] Production.INFO: ==8037== Releasing lock...
[2025-01-07 05:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:53:03] Production.INFO: Account Balance Start.
[2025-01-07 05:53:03] Production.INFO: CreateAllLog Start
[2025-01-07 05:53:03] Production.INFO: 117
[2025-01-07 05:53:03] Production.INFO: Date 2024-12-08
[2025-01-07 05:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192882') end
[2025-01-07 05:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:53:03] Production.INFO: 1
[2025-01-07 05:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:53:03] Production.ERROR: done
[2025-01-07 05:53:03] Production.INFO: Date 2024-12-09
[2025-01-07 05:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:53:03] Production.INFO: ==8045== Releasing lock...
[2025-01-07 05:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:53:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:53:03] Production.INFO: Date 2024-12-10
[2025-01-07 05:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:53:03] Production.INFO: Date 2024-12-11
[2025-01-07 05:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:53:04] Production.INFO: Date 2024-12-12
[2025-01-07 05:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:53:04] Production.ERROR: done
[2025-01-07 05:53:04] Production.INFO: Date 2024-12-13
[2025-01-07 05:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:53:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:53:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:53:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:53:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:53:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:53:04] Production.INFO: Date 2024-12-19
[2025-01-07 05:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:53:04] Production.INFO: Date 2024-12-20
[2025-01-07 05:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:53:04] Production.INFO: Date 2024-12-21
[2025-01-07 05:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:53:04] Production.INFO: Date 2024-12-22
[2025-01-07 05:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:53:04] Production.INFO: Date 2024-12-23
[2025-01-07 05:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:53:04] Production.INFO: Date 2024-12-24
[2025-01-07 05:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:53:04] Production.INFO: Date 2024-12-25
[2025-01-07 05:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:53:04] Production.INFO: Date 2024-12-26
[2025-01-07 05:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:53:04] Production.INFO: Date 2024-12-27
[2025-01-07 05:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:53:04] Production.INFO: Date 2024-12-28
[2025-01-07 05:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:53:04] Production.INFO: Date 2024-12-29
[2025-01-07 05:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:53:04] Production.INFO: Date 2024-12-30
[2025-01-07 05:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:53:04] Production.INFO: Date 2024-12-31
[2025-01-07 05:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:53:04] Production.INFO: Date 2025-01-01
[2025-01-07 05:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:53:04] Production.INFO: Date 2025-01-02
[2025-01-07 05:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:53:04] Production.INFO: Date 2025-01-03
[2025-01-07 05:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:53:05] Production.INFO: Date 2025-01-04
[2025-01-07 05:53:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:53:05] Production.INFO: Date 2025-01-05
[2025-01-07 05:53:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:53:05] Production.INFO: Date 2025-01-06
[2025-01-07 05:53:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:53:05] Production.INFO: Date 2025-01-07
[2025-01-07 05:53:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:53:05] Production.INFO: Total Charge 0
[2025-01-07 05:53:05] Production.INFO: CreateAllLog End
[2025-01-07 05:53:05] Production.INFO: Account Balance End.
[2025-01-07 05:53:05] Production.ERROR: CronJobId end 12
[2025-01-07 05:53:05] Production.INFO: ==8041== Releasing lock...
[2025-01-07 05:53:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:53:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:53:05
[end_date_ymd] => 2025-01-07 05:53:05
[RateCDR] => 1
)
[2025-01-07 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-07 02:53:05' and `end` < '2025-01-07 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-07 05:53:11] Production.ERROR: CronJobId end10
[2025-01-07 05:53:11] Production.INFO: ==8039== Releasing lock...
[2025-01-07 05:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:53:13] Production.INFO: call_cost start
[2025-01-07 05:53:13] Production.INFO: call_cost end
[2025-01-07 05:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:53:14] Production.INFO: ==8035== Releasing lock...
[2025-01-07 05:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:53:18] Production.INFO: count ==57
[2025-01-07 05:53:18] Production.ERROR: pbx CDR StartTime 2025-01-07 02:53:05 - End Time 2025-01-07 05:53:05
[2025-01-07 05:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192886', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192886', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192886', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192886', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:53:18] Production.INFO: ProcessCDR(1,14192886,1,1,2)
[2025-01-07 05:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192886,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192886,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192886,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192886,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192886', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192886', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:53:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:53:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:53:21] Production.INFO: ==8043== Releasing lock...
[2025-01-07 05:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:53:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 10:54:02] Production.INFO: ==8101== Lock acquired, processing the job...
[2025-01-07 10:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:54:02] Production.INFO: neon service started
[2025-01-07 10:54:02] Production.INFO: neon service started
[2025-01-07 10:54:02] Production.INFO: ==8101== Releasing lock...
[2025-01-07 10:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:54:03] Production.INFO: ==8104== Lock acquired, processing the job...
[2025-01-07 05:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:54:03] Production.INFO: ==8106== Lock acquired, processing the job...
[2025-01-07 10:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:54:03] Production.INFO: ==8106== Releasing lock...
[2025-01-07 10:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:54:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:54:04] Production.INFO: ==8104== Releasing lock...
[2025-01-07 05:54:04] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:54:04] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:54:05] Production.INFO: ==8110== Lock acquired, processing the job...
[2025-01-07 05:54:05] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:54:05] Production.INFO: ==8108== Lock acquired, processing the job...
[2025-01-07 05:54:05] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10439 #Starts#
[2025-01-07 05:54:05] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:54:05] Production.INFO: -- Xero Api Check --
[2025-01-07 05:54:05] Production.INFO: ==8112== Lock acquired, processing the job...
[2025-01-07 05:54:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:54:05] Production.INFO: ==8116== Lock acquired, processing the job...
[2025-01-07 05:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:54:05] Production.INFO: ==8114== Lock acquired, processing the job...
[2025-01-07 05:54:05] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:54:05] Production.INFO: ==8118== Lock acquired, processing the job...
[2025-01-07 05:54:05] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:54:05] Production.INFO: Account Balance Start.
[2025-01-07 05:54:05] Production.INFO: CreateAllLog Start
[2025-01-07 05:54:05] Production.INFO: 117
[2025-01-07 05:54:05] Production.INFO: Date 2024-12-08
[2025-01-07 05:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:54:05] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:54:05] Production.INFO: Date 2024-12-09
[2025-01-07 05:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:54:05] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:54:05] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:54:05] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:54:05] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:54:05] Production.INFO: Date 2024-12-10
[2025-01-07 05:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:54:05] Production.INFO: ==8121== Lock acquired, processing the job...
[2025-01-07 05:54:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:54:05] Production.INFO: Date 2024-12-11
[2025-01-07 05:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:54:05] Production.INFO: ==8112== Releasing lock...
[2025-01-07 05:54:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:54:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:54:05] Production.INFO: Date 2024-12-12
[2025-01-07 05:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:54: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-07 05:54:05] Production.INFO: Date 2024-12-13
[2025-01-07 05:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:54:05] Production.INFO: count ==21
[2025-01-07 05:54:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:54:05] Production.INFO: count ==21
[2025-01-07 05:54:05] Production.ERROR: PBX CALL prc_importPBXExtension('14192890') start
[2025-01-07 05:54:05] Production.ERROR: done
[2025-01-07 05:54:05] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 854
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.585581
[namelookup_time] => 0.145999
[connect_time] => 0.154138
[pretransfer_time] => 0.44149
[size_upload] => 82
[size_download] => 2755
[speed_download] => 4704
[speed_upload] => 140
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.585543
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.33
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 41066
)
[2025-01-07 05:54:05] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDcyNDUsImV4cCI6MTczNjI0NzU0NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ3MjQ1LCJhdF9oYXNoIjoiYkxOLW5LRi1Ud05wczU5MXU2Rmk5QSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.p6ihiXMsJ2rcQVYJ3nWD9bGVbdu7QOAWQQ_uSdOFmZmtbWoCv1eUPsydfM7HFCMOQkk8HOGNgtYAaajmo2SIZyBrQLQuVHbkNCqoCSSk8z-cUkKQMFjI2kEVMhSFuDr8gBIiSfaubiGNuBP_yfL-Sg7HO2w63dsowIPQ_nC966InT19j99v4hbpjdfQ1e-kf9bqcUFQTFSHwsGJSSHZ-NypGPre3dVoD04zAuQmGCOeKo3xGZVl0oHzb1UULi5z-PtyTJ_nAIN5nlR3zNRZG_X7V02c0NAkOY0Xje0Y78keJBS5FNqIGrHGuLb-HQggAPYfe8fhnh3UwGf6rY0W7gg
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDcyNDUsImV4cCI6MTczNjI0OTA0NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.qf6TZJxWyGX7ruUeOanuNn7qt6xWN6Vxc2f_giq9tWT6JOlY0GqtxuSApXcowzTUgvqM4gX-aiQFrz8Wbisp4RttGZY-ASZGQ7A0GxC8o64XEix5kbq1_PUrMb9A7US5GjtQDFmvYLafZIB-5QyPjDa6PuVHb01o99NgCPhd6PAtL8PxwmlaNEd1RXgRAJqHOUr431_bRzMq7FHUxYYAtRo4KusmD6iZW7-MxSq3pWwK4dxnp-EjJ1BF1D1oBziJsapnkWPYE0a8m1f_vkIl6kGPBZrhlvELeRjqtK_ZcUFQXN-FOX-PH6EpwIwTCsYb9Ctt9LOhEV80awaiC_U6eA
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => WXK_kjAdeedrF1xyVeyvAb3e_LzZvzrKvZejAt2lrrY
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 05:54:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:54:05] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDcyNDUsImV4cCI6MTczNjI0NzU0NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ3MjQ1LCJhdF9oYXNoIjoiYkxOLW5LRi1Ud05wczU5MXU2Rmk5QSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.p6ihiXMsJ2rcQVYJ3nWD9bGVbdu7QOAWQQ_uSdOFmZmtbWoCv1eUPsydfM7HFCMOQkk8HOGNgtYAaajmo2SIZyBrQLQuVHbkNCqoCSSk8z-cUkKQMFjI2kEVMhSFuDr8gBIiSfaubiGNuBP_yfL-Sg7HO2w63dsowIPQ_nC966InT19j99v4hbpjdfQ1e-kf9bqcUFQTFSHwsGJSSHZ-NypGPre3dVoD04zAuQmGCOeKo3xGZVl0oHzb1UULi5z-PtyTJ_nAIN5nlR3zNRZG_X7V02c0NAkOY0Xje0Y78keJBS5FNqIGrHGuLb-HQggAPYfe8fhnh3UwGf6rY0W7gg
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDcyNDUsImV4cCI6MTczNjI0OTA0NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.qf6TZJxWyGX7ruUeOanuNn7qt6xWN6Vxc2f_giq9tWT6JOlY0GqtxuSApXcowzTUgvqM4gX-aiQFrz8Wbisp4RttGZY-ASZGQ7A0GxC8o64XEix5kbq1_PUrMb9A7US5GjtQDFmvYLafZIB-5QyPjDa6PuVHb01o99NgCPhd6PAtL8PxwmlaNEd1RXgRAJqHOUr431_bRzMq7FHUxYYAtRo4KusmD6iZW7-MxSq3pWwK4dxnp-EjJ1BF1D1oBziJsapnkWPYE0a8m1f_vkIl6kGPBZrhlvELeRjqtK_ZcUFQXN-FOX-PH6EpwIwTCsYb9Ctt9LOhEV80awaiC_U6eA
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => WXK_kjAdeedrF1xyVeyvAb3e_LzZvzrKvZejAt2lrrY
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 05:54:05] Production.INFO: Date 2024-12-14
[2025-01-07 05:54:05] Production.INFO: AccountID 156
[2025-01-07 05:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:54:05] Production.INFO: AccountName Dominos 10583 (William Prichard)
[2025-01-07 05:54:05] Production.INFO: Checkcustomer
[2025-01-07 05:54:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010583%20%28William%20Prichard%29"
[2025-01-07 05:54:05] Production.INFO: Date 2024-12-15
[2025-01-07 05:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:54:06] Production.INFO: Date 2024-12-16
[2025-01-07 05:54:06] Production.INFO: Reseller ==> 0
[2025-01-07 05:54:06] Production.ERROR: PBX CALL prc_importPBXExtension('14192890') end
[2025-01-07 05:54:06] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:54:06] Production.INFO: 1
[2025-01-07 05:54:06] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:54:06] Production.ERROR: done
[2025-01-07 05:54:06] Production.INFO: Date 2024-12-17
[2025-01-07 05:54:06] Production.INFO: Reseller ==> 0
[2025-01-07 05:54:06] Production.INFO: ==8121== Releasing lock...
[2025-01-07 05:54:06] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:54:06] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:54:06] Production.INFO: Date 2024-12-18
[2025-01-07 05:54:06] Production.INFO: Reseller ==> 0
[2025-01-07 05:54:06] Production.INFO: Date 2024-12-19
[2025-01-07 05:54:06] Production.INFO: Reseller ==> 0
[2025-01-07 05:54:06] Production.INFO: Date 2024-12-20
[2025-01-07 05:54:06] Production.INFO: Reseller ==> 0
[2025-01-07 05:54:06] Production.INFO: Date 2024-12-21
[2025-01-07 05:54:06] Production.INFO: Reseller ==> 0
[2025-01-07 05:54:06] Production.INFO: Date 2024-12-22
[2025-01-07 05:54:06] Production.INFO: Reseller ==> 0
[2025-01-07 05:54:06] Production.INFO: Date 2024-12-23
[2025-01-07 05:54:06] Production.INFO: Reseller ==> 0
[2025-01-07 05:54:06] Production.INFO: Date 2024-12-24
[2025-01-07 05:54:06] Production.INFO: Reseller ==> 0
[2025-01-07 05:54:06] Production.INFO: Date 2024-12-25
[2025-01-07 05:54:06] Production.INFO: Reseller ==> 0
[2025-01-07 05:54:07] Production.INFO: Date 2024-12-26
[2025-01-07 05:54:07] Production.INFO: Reseller ==> 0
[2025-01-07 05:54:07] Production.INFO: Date 2024-12-27
[2025-01-07 05:54:07] Production.INFO: Reseller ==> 0
[2025-01-07 05:54:07] Production.INFO: Date 2024-12-28
[2025-01-07 05:54:07] Production.INFO: Reseller ==> 0
[2025-01-07 05:54:07] Production.INFO: Date 2024-12-29
[2025-01-07 05:54:07] Production.INFO: Reseller ==> 0
[2025-01-07 05:54:07] Production.INFO: Date 2024-12-30
[2025-01-07 05:54:07] Production.INFO: Reseller ==> 0
[2025-01-07 05:54:07] Production.INFO: Date 2024-12-31
[2025-01-07 05:54:07] Production.INFO: Reseller ==> 0
[2025-01-07 05:54:07] Production.INFO: Date 2025-01-01
[2025-01-07 05:54:07] Production.INFO: Reseller ==> 0
[2025-01-07 05:54:07] Production.INFO: Date 2025-01-02
[2025-01-07 05:54:07] Production.INFO: Reseller ==> 0
[2025-01-07 05:54:07] Production.INFO: Date 2025-01-03
[2025-01-07 05:54:07] Production.INFO: Reseller ==> 0
[2025-01-07 05:54:07] Production.INFO: Date 2025-01-04
[2025-01-07 05:54:07] Production.INFO: Reseller ==> 0
[2025-01-07 05:54:07] Production.INFO: Date 2025-01-05
[2025-01-07 05:54:07] Production.INFO: Reseller ==> 0
[2025-01-07 05:54:07] Production.INFO: Date 2025-01-06
[2025-01-07 05:54:07] Production.INFO: Reseller ==> 0
[2025-01-07 05:54:07] Production.INFO: Date 2025-01-07
[2025-01-07 05:54:07] Production.INFO: Reseller ==> 0
[2025-01-07 05:54:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:54:07
[end_date_ymd] => 2025-01-07 05:54:07
[RateCDR] => 1
)
[2025-01-07 05:54:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 02:54:07' and `end` < '2025-01-07 05:54:07'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 05:54:07] Production.INFO: Total Charge 0
[2025-01-07 05:54:07] Production.INFO: CreateAllLog End
[2025-01-07 05:54:07] Production.INFO: Account Balance End.
[2025-01-07 05:54:07] Production.ERROR: CronJobId end 12
[2025-01-07 05:54:07] Production.INFO: ==8116== Releasing lock...
[2025-01-07 05:54:07] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:54:07] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:54:08] Production.INFO: Contact id print CheckCustomer Case===17005aca-7cf0-4aa4-ac3f-3f8f1c2c61ea
[2025-01-07 05:54:08] Production.INFO: -- count --1
[2025-01-07 05:54:08] Production.INFO: AccountID 151
[2025-01-07 05:54:08] Production.INFO: AccountName Dominos 10584 (Rick Singh)
[2025-01-07 05:54:08] Production.INFO: Checkcustomer
[2025-01-07 05:54:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010584%20%28Rick%20Singh%29"
[2025-01-07 05:54:10] Production.INFO: Contact id print CheckCustomer Case===1e8b6299-6571-4c51-87f6-a0280833b109
[2025-01-07 05:54:10] Production.INFO: -- count --1
[2025-01-07 05:54:10] Production.INFO: AccountID 157
[2025-01-07 05:54:10] Production.INFO: AccountName Dominos 10588 (Gurinder Saini)
[2025-01-07 05:54:10] Production.INFO: Checkcustomer
[2025-01-07 05:54:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010588%20%28Gurinder%20Saini%29"
[2025-01-07 05:54:12] Production.ERROR: CronJobId end10
[2025-01-07 05:54:12] Production.INFO: ==8114== Releasing lock...
[2025-01-07 05:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:54:13] Production.INFO: Contact id print CheckCustomer Case===1ac67d8d-8981-4be8-9709-0bb5a101fe05
[2025-01-07 05:54:13] Production.INFO: -- count --1
[2025-01-07 05:54:13] Production.INFO: AccountID 124
[2025-01-07 05:54:13] Production.INFO: AccountName Dominos 39009 (Mudassar Zia)
[2025-01-07 05:54:13] Production.INFO: Checkcustomer
[2025-01-07 05:54:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039009%20%28Mudassar%20Zia%29"
[2025-01-07 05:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:54:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:54:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:54:14] Production.INFO: call_cost start
[2025-01-07 05:54:14] Production.INFO: call_cost end
[2025-01-07 05:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:54:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:54:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:54:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:54:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:54:15] Production.INFO: ==8110== Releasing lock...
[2025-01-07 05:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:54:16] Production.INFO: Contact id print CheckCustomer Case===40c47681-8e37-4e12-be60-e7c71250891f
[2025-01-07 05:54:16] Production.INFO: -- count --1
[2025-01-07 05:54:16] Production.INFO: AccountID 102
[2025-01-07 05:54:16] Production.INFO: AccountName Dominos 39013 (Mudassar Zia)
[2025-01-07 05:54:16] Production.INFO: Checkcustomer
[2025-01-07 05:54:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039013%20%28Mudassar%20Zia%29"
[2025-01-07 05:54:18] Production.INFO: Contact id print CheckCustomer Case===8893c88d-0603-4dd4-9524-da8cd6ed65c9
[2025-01-07 05:54:18] Production.INFO: -- count --1
[2025-01-07 05:54:18] Production.INFO: AccountID 113
[2025-01-07 05:54:18] Production.INFO: AccountName Dominos 39016 (Chandresh Patel)
[2025-01-07 05:54:18] Production.INFO: Checkcustomer
[2025-01-07 05:54:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039016%20%28Chandresh%20Patel%29"
[2025-01-07 05:54:21] Production.INFO: count ==57
[2025-01-07 05:54:21] Production.ERROR: pbx CDR StartTime 2025-01-07 02:54:07 - End Time 2025-01-07 05:54:07
[2025-01-07 05:54:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192891', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192891', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192891', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192891', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:54:21] Production.INFO: ProcessCDR(1,14192891,1,1,2)
[2025-01-07 05:54:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192891,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:54:21] Production.INFO: Contact id print CheckCustomer Case===67dc5e22-ea19-468e-b918-c0db577b9240
[2025-01-07 05:54:21] Production.INFO: -- count --1
[2025-01-07 05:54:21] Production.INFO: AccountID 113
[2025-01-07 05:54:21] Production.INFO: AccountName Dominos 39016 (Chandresh Patel)
[2025-01-07 05:54:21] Production.INFO: Checkcustomer
[2025-01-07 05:54:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039016%20%28Chandresh%20Patel%29"
[2025-01-07 05:54:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192891,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:54:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192891,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:54:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192891,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:54:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192891', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:54:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192891', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:54:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:54:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:54:24] Production.INFO: ==8118== Releasing lock...
[2025-01-07 05:54:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:54:24] Production.INFO: 28 MB #Memory Used#
[2025-01-07 05:54:24] Production.INFO: Contact id print CheckCustomer Case===67dc5e22-ea19-468e-b918-c0db577b9240
[2025-01-07 05:54:24] Production.INFO: -- count --1
[2025-01-07 05:54:24] Production.INFO: AccountID 104
[2025-01-07 05:54:24] Production.INFO: AccountName Dominos 39017 (Mudassar Zia)
[2025-01-07 05:54:24] Production.INFO: Checkcustomer
[2025-01-07 05:54:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039017%20%28Mudassar%20Zia%29"
[2025-01-07 05:54:27] Production.INFO: Contact id print CheckCustomer Case===5f89a930-66a1-45ba-8124-8b5cbb0531bb
[2025-01-07 05:54:27] Production.INFO: -- count --1
[2025-01-07 05:54:27] Production.INFO: AccountID 104
[2025-01-07 05:54:27] Production.INFO: AccountName Dominos 39017 (Mudassar Zia)
[2025-01-07 05:54:27] Production.INFO: Checkcustomer
[2025-01-07 05:54:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039017%20%28Mudassar%20Zia%29"
[2025-01-07 05:54:29] Production.INFO: Contact id print CheckCustomer Case===5f89a930-66a1-45ba-8124-8b5cbb0531bb
[2025-01-07 05:54:29] Production.INFO: -- count --1
[2025-01-07 05:54:29] Production.INFO: AccountID 57
[2025-01-07 05:54:29] Production.INFO: AccountName Dominos 39041 (Rishi Kakar)
[2025-01-07 05:54:29] Production.INFO: Checkcustomer
[2025-01-07 05:54:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039041%20%28Rishi%20Kakar%29"
[2025-01-07 05:54:31] Production.INFO: Contact id print CheckCustomer Case===e874c379-a70c-405c-bc58-0ac6921c29ba
[2025-01-07 05:54:31] Production.INFO: -- count --1
[2025-01-07 05:54:31] Production.INFO: AccountID 182
[2025-01-07 05:54:31] Production.INFO: AccountName Dominos 39049 (Sandeep Chaudhari)
[2025-01-07 05:54:31] Production.INFO: Checkcustomer
[2025-01-07 05:54:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039049%20%28Sandeep%20Chaudhari%29"
[2025-01-07 05:54:34] Production.INFO: Contact id print CheckCustomer Case===1c0b2017-4eb0-4996-8c28-357329632ba9
[2025-01-07 05:54:34] Production.INFO: -- count --1
[2025-01-07 05:54:34] Production.INFO: AccountID 211
[2025-01-07 05:54:34] Production.INFO: AccountName Dominos 39052 (Sandeep Chaudhari)
[2025-01-07 05:54:34] Production.INFO: Checkcustomer
[2025-01-07 05:54:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039052%20%28Sandeep%20Chaudhari%29"
[2025-01-07 05:54:37] Production.INFO: Contact id print CheckCustomer Case===fef41f69-d586-4623-95ec-1702df71d8e3
[2025-01-07 05:54:37] Production.INFO: -- count --1
[2025-01-07 05:54:37] Production.INFO: AccountID 158
[2025-01-07 05:54:37] Production.INFO: AccountName Dominos 39102 (Muzafar Ahmad)
[2025-01-07 05:54:37] Production.INFO: Checkcustomer
[2025-01-07 05:54:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039102%20%28Muzafar%20Ahmad%29"
[2025-01-07 05:54:40] Production.INFO: Contact id print CheckCustomer Case===749cea7f-cdd5-4ee1-9755-990afa6667fb
[2025-01-07 05:54:40] Production.INFO: -- count --1
[2025-01-07 05:54:40] Production.INFO: AccountID 158
[2025-01-07 05:54:40] Production.INFO: AccountName Dominos 39102 (Muzafar Ahmad)
[2025-01-07 05:54:40] Production.INFO: Checkcustomer
[2025-01-07 05:54:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039102%20%28Muzafar%20Ahmad%29"
[2025-01-07 05:54:42] Production.INFO: Contact id print CheckCustomer Case===749cea7f-cdd5-4ee1-9755-990afa6667fb
[2025-01-07 05:54:42] Production.INFO: -- count --1
[2025-01-07 05:54:42] Production.INFO: -- Xero Add Inovice --
[2025-01-07 05:54:42] Production.INFO: CheckInvoice xerov2: INV10990
[2025-01-07 05:54:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10990
[2025-01-07 05:54:45] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:54:45] Production.INFO: Invoice SubTotal 90.980000
[2025-01-07 05:54:45] Production.INFO: Invoice DetTotal 90.98
[2025-01-07 05:54:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010583%20%28William%20Prichard%29"
[2025-01-07 05:54:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:54:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:54:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:54:56] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (12262272000 - 257 James St Delhi, ON N4B 1X5 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 234,"Description": "Late payment fee. 3% of the outstanding balance that is overdue ($449.2).",Quantity : 1,UnitAmount : 13.480000,LineAmount : 13.480000}
[2025-01-07 05:54:59] Production.INFO: ==== result =====
[2025-01-07 05:54:59] Production.INFO: {
"Id": "50331131-0c96-43c0-8f87-cdf19d3a515d",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736247299643)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "c6ef12fb-939f-4e9b-b62a-616e779ce2f8",
"InvoiceNumber": "INV10990",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 102.81,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "17005aca-7cf0-4aa4-ac3f-3f8f1c2c61ea",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10583 (William Prichard)",
"FirstName": "William",
"LastName": "Prichard",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1646697446090+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-11-04T00:00:00",
"Date": "\/Date(1730678400000+0000)\/",
"DueDateString": "2024-12-04T00:00:00",
"DueDate": "\/Date(1733270400000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "89c78b97-c55e-4edd-8275-c094961a401c",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (12262272000 - 257 James St Delhi, ON N4B 1X5 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "e31a1765-11b2-4cc5-9af1-05d075b46035",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Late payment fee. 3% of the outstanding balance that is overdue ($449.2).",
"UnitAmount": 13.48,
"TaxType": "TAX020",
"TaxAmount": 1.75,
"LineAmount": 13.48,
"AccountCode": "234",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "d7782e78-d4a9-4a58-9091-5e44d0aea1cb",
"AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
"ValidationErrors": []
}
],
"SubTotal": 90.98,
"TotalTax": 11.83,
"Total": 102.81,
"UpdatedDateUTC": "\/Date(1736247299597+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:54:59] Production.INFO: -- Create Invoice id --c6ef12fb-939f-4e9b-b62a-616e779ce2f8
[2025-01-07 05:54:59] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:54:59] Production.INFO: CheckInvoice xerov2: INV11235
[2025-01-07 05:54:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11235
[2025-01-07 10:55:02] Production.INFO: ==8199== Lock acquired, processing the job...
[2025-01-07 10:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:55:02] Production.INFO: neon service started
[2025-01-07 10:55:02] Production.INFO: neon service started
[2025-01-07 10:55:02] Production.INFO: ==8199== Releasing lock...
[2025-01-07 10:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:55:02] Production.INFO: ==8201== Lock acquired, processing the job...
[2025-01-07 05:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:55:02] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:55:02] Production.INFO: Invoice SubTotal 67.500000
[2025-01-07 05:55:02] Production.INFO: Invoice DetTotal 67.5
[2025-01-07 05:55:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010584%20%28Rick%20Singh%29"
[2025-01-07 10:55:02] Production.INFO: ==8203== Lock acquired, processing the job...
[2025-01-07 10:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:55:02] Production.INFO: ==8203== Releasing lock...
[2025-01-07 10:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:55:03] Production.INFO: ==8201== Releasing lock...
[2025-01-07 05:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:55:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:55:03] Production.INFO: ==8210== Lock acquired, processing the job...
[2025-01-07 05:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:55:04] Production.INFO: ==8214== Lock acquired, processing the job...
[2025-01-07 05:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:55:04] Production.INFO: ==8206== Lock acquired, processing the job...
[2025-01-07 05:55:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:55:04] Production.INFO: ==8208== Lock acquired, processing the job...
[2025-01-07 05:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:55:04] Production.INFO: ==8212== Lock acquired, processing the job...
[2025-01-07 05:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:55:04] Production.INFO: ==8216== Lock acquired, processing the job...
[2025-01-07 05:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:55:04] Production.ERROR: done
[2025-01-07 05:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:55:04] Production.INFO: Account Balance Start.
[2025-01-07 05:55:04] Production.INFO: CreateAllLog Start
[2025-01-07 05:55:04] Production.INFO: 117
[2025-01-07 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-07 05:55:04] Production.INFO: count ==21
[2025-01-07 05:55:04] Production.ERROR: done
[2025-01-07 05:55:04] Production.INFO: Date 2024-12-08
[2025-01-07 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-07 05:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:55:04] Production.INFO: count ==21
[2025-01-07 05:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192894') start
[2025-01-07 05:55:04] Production.INFO: Date 2024-12-09
[2025-01-07 05:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:55:04] Production.INFO: ==8208== Releasing lock...
[2025-01-07 05:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:55:04] Production.INFO: Date 2024-12-10
[2025-01-07 05:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192894') end
[2025-01-07 05:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:55:04] Production.INFO: 1
[2025-01-07 05:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:55:04] Production.INFO: Date 2024-12-11
[2025-01-07 05:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:55:04] Production.INFO: Date 2024-12-12
[2025-01-07 05:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:55:04] Production.INFO: ==8216== Releasing lock...
[2025-01-07 05:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:55:04] Production.INFO: Date 2024-12-13
[2025-01-07 05:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:55:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:55:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:55:05] Production.INFO: Date 2024-12-16
[2025-01-07 05:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:55:05] Production.INFO: Date 2024-12-17
[2025-01-07 05:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:55:05] Production.INFO: Date 2024-12-18
[2025-01-07 05:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:55:05] Production.INFO: Date 2024-12-19
[2025-01-07 05:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:55:05] Production.INFO: Date 2024-12-20
[2025-01-07 05:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:55:05] Production.INFO: Date 2024-12-21
[2025-01-07 05:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:55:05] Production.INFO: Date 2024-12-22
[2025-01-07 05:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:55:05] Production.INFO: Date 2024-12-23
[2025-01-07 05:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:55:05] Production.INFO: Date 2024-12-24
[2025-01-07 05:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:55:05] Production.INFO: Date 2024-12-25
[2025-01-07 05:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:55:05] Production.INFO: Date 2024-12-26
[2025-01-07 05:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:55:05] Production.INFO: Date 2024-12-27
[2025-01-07 05:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:55:05] Production.INFO: Date 2024-12-28
[2025-01-07 05:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:55:05] Production.INFO: Date 2024-12-29
[2025-01-07 05:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:55:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:55:05] Production.INFO: Date 2024-12-30
[2025-01-07 05:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:55:05] Production.INFO: Date 2024-12-31
[2025-01-07 05:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:55:05] Production.INFO: Date 2025-01-01
[2025-01-07 05:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:55:05] Production.INFO: Date 2025-01-02
[2025-01-07 05:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:55:05] Production.INFO: Date 2025-01-03
[2025-01-07 05:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:55:05] Production.INFO: Date 2025-01-04
[2025-01-07 05:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:55:05
[end_date_ymd] => 2025-01-07 05:55:05
[RateCDR] => 1
)
[2025-01-07 05:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 02:55:05' and `end` < '2025-01-07 05:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 05:55:05] Production.INFO: Date 2025-01-05
[2025-01-07 05:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:55:05] Production.INFO: Date 2025-01-06
[2025-01-07 05:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:55:05] Production.INFO: Date 2025-01-07
[2025-01-07 05:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:55:05] Production.INFO: Total Charge 0
[2025-01-07 05:55:05] Production.INFO: CreateAllLog End
[2025-01-07 05:55:06] Production.INFO: Account Balance End.
[2025-01-07 05:55:06] Production.ERROR: CronJobId end 12
[2025-01-07 05:55:06] Production.INFO: ==8212== Releasing lock...
[2025-01-07 05:55:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:55:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:55:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:55:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:55:12] Production.ERROR: CronJobId end10
[2025-01-07 05:55:12] Production.INFO: ==8210== Releasing lock...
[2025-01-07 05:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:55:12] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 65.000000,LineAmount : 65.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (2264585420 - 1796 Highway 21 North Kincardine, ON N0G 2T0 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 05:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:55:13] Production.INFO: call_cost start
[2025-01-07 05:55:13] Production.INFO: call_cost end
[2025-01-07 05:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:55:14] Production.INFO: ==8206== Releasing lock...
[2025-01-07 05:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:55:15] Production.INFO: ==== result =====
[2025-01-07 05:55:15] Production.INFO: {
"Id": "d7fded1e-7404-430a-9e37-40b6c955adbc",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736247315304)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "93c8d89a-7941-41d9-8388-7549aa864e00",
"InvoiceNumber": "INV11235",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 76.28,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "1e8b6299-6571-4c51-87f6-a0280833b109",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10584 (Rick Singh)",
"FirstName": "Rick",
"LastName": "Singh",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1692010794453+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-17T00:00:00",
"Date": "\/Date(1734393600000+0000)\/",
"DueDateString": "2025-01-16T00:00:00",
"DueDate": "\/Date(1736985600000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 65.00,
"TaxType": "TAX020",
"TaxAmount": 8.45,
"LineAmount": 65.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "5547feb0-2115-487d-9f35-76f768cff32b",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (2264585420 - 1796 Highway 21 North Kincardine, ON N0G 2T0 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "60e5a425-20fe-43ea-b5f3-1418acc618ee",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 67.50,
"TotalTax": 8.78,
"Total": 76.28,
"UpdatedDateUTC": "\/Date(1736247315263+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:55:15] Production.INFO: -- Create Invoice id --93c8d89a-7941-41d9-8388-7549aa864e00
[2025-01-07 05:55:15] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:55:15] Production.INFO: CheckInvoice xerov2: INV11165
[2025-01-07 05:55:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11165
[2025-01-07 05:55:17] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:55:17] Production.INFO: Invoice SubTotal 67.500000
[2025-01-07 05:55:17] Production.INFO: Invoice DetTotal 67.5
[2025-01-07 05:55:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010588%20%28Gurinder%20Saini%29"
[2025-01-07 05:55:19] Production.INFO: count ==57
[2025-01-07 05:55:19] Production.ERROR: pbx CDR StartTime 2025-01-07 02:55:05 - End Time 2025-01-07 05:55:05
[2025-01-07 05:55:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192896', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192896', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192896', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192896', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:55:19] Production.INFO: ProcessCDR(1,14192896,1,1,2)
[2025-01-07 05:55:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192896,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192896,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192896,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:55:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192896,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192896', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192896', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:55:22] Production.INFO: ==8214== Releasing lock...
[2025-01-07 05:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:55:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 05:55:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:55:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:55:27] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (12268873030 - 23 Wellington St 23 Guelph, ON N1H 3R7 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 2,UnitAmount : -5.000000,LineAmount : -10.000000}
[2025-01-07 05:55:30] Production.INFO: ==== result =====
[2025-01-07 05:55:30] Production.INFO: {
"Id": "455ce0c3-84be-429a-8f49-cd40080894ab",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736247330211)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "727fb7b1-c786-4a10-9002-cb98b22d10cf",
"InvoiceNumber": "INV11165",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 76.28,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "1ac67d8d-8981-4be8-9709-0bb5a101fe05",
"ContactStatus": "ACTIVE",
"Name": "Dominos 10588 (Gurinder Saini)",
"FirstName": "Gurinder",
"LastName": "Saini",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1657824306857+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-07T00:00:00",
"Date": "\/Date(1733529600000+0000)\/",
"DueDateString": "2025-01-06T00:00:00",
"DueDate": "\/Date(1736121600000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "f724ad58-6d15-47be-b700-55f9dacd3fb3",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (12268873030 - 23 Wellington St 23 Guelph, ON N1H 3R7 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "6d85eb39-731a-467b-a952-da1e1ee442e0",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -5.00,
"TaxType": "TAX020",
"TaxAmount": -1.30,
"LineAmount": -10.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 2.0000,
"DiscountRate": 0.00,
"LineItemID": "7fe949ea-8c68-4e3c-b213-b7344fa06f7f",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 67.50,
"TotalTax": 8.78,
"Total": 76.28,
"UpdatedDateUTC": "\/Date(1736247330133+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:55:30] Production.INFO: -- Create Invoice id --727fb7b1-c786-4a10-9002-cb98b22d10cf
[2025-01-07 05:55:30] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:55:30] Production.INFO: CheckInvoice xerov2: INV11158
[2025-01-07 05:55:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11158
[2025-01-07 05:55:32] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:55:32] Production.INFO: Invoice SubTotal 62.500000
[2025-01-07 05:55:32] Production.INFO: Invoice DetTotal 62.5
[2025-01-07 05:55:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039009%20%28Mudassar%20Zia%29"
[2025-01-07 05:55:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:55:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:55:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:55:43] Production.INFO: =========Invoices String here======{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14039819191 - 104 River Heights Blvd 4A Cochrane, AB T4C 2T8 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX012",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 3,UnitAmount : -5.000000,LineAmount : -15.000000}
[2025-01-07 05:55:46] Production.INFO: ==== result =====
[2025-01-07 05:55:46] Production.INFO: {
"Id": "f6cc5cd8-0ccc-4260-bace-000b5fc83623",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736247346169)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "c334e68a-35f7-489c-82f3-275403ba241c",
"InvoiceNumber": "INV11158",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 65.63,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "40c47681-8e37-4e12-be60-e7c71250891f",
"ContactStatus": "ACTIVE",
"Name": "Dominos 39009 (Mudassar Zia)",
"FirstName": "Mudassar",
"LastName": "Zia",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1730122119387+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-06T00:00:00",
"Date": "\/Date(1733443200000+0000)\/",
"DueDateString": "2025-01-05T00:00:00",
"DueDate": "\/Date(1736035200000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX012",
"TaxAmount": 3.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "abd69e11-9e95-4e1e-9b3c-97e1ed8cfe68",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (14039819191 - 104 River Heights Blvd 4A Cochrane, AB T4C 2T8 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX012",
"TaxAmount": 0.13,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "2331d9fa-85ee-435f-a1b7-a4cb7f00ab71",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -5.00,
"TaxType": "TAX012",
"TaxAmount": -0.75,
"LineAmount": -15.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 3.0000,
"DiscountRate": 0.00,
"LineItemID": "8df8f6f0-a480-4e7a-b1b6-73b3c6f1c464",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 62.50,
"TotalTax": 3.13,
"Total": 65.63,
"UpdatedDateUTC": "\/Date(1736247346117+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:55:46] Production.INFO: -- Create Invoice id --c334e68a-35f7-489c-82f3-275403ba241c
[2025-01-07 05:55:46] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:55:46] Production.INFO: CheckInvoice xerov2: INV11243
[2025-01-07 05:55:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11243
[2025-01-07 05:55:48] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:55:48] Production.INFO: Invoice SubTotal 60.000000
[2025-01-07 05:55:48] Production.INFO: Invoice DetTotal 60
[2025-01-07 05:55:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039013%20%28Mudassar%20Zia%29"
[2025-01-07 05:55:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:55:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:55:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:55:58] Production.INFO: =========Invoices String here======{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX012",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 3,UnitAmount : -5.000000,LineAmount : -15.000000}
[2025-01-07 05:56:01] Production.INFO: ==== result =====
[2025-01-07 05:56:01] Production.INFO: {
"Id": "da0d924a-51b5-46fa-9c16-e9cd85fedf4b",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736247360920)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "51fbae7f-0023-4cfa-a439-8a859571c171",
"InvoiceNumber": "INV11243",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 63.00,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "8893c88d-0603-4dd4-9524-da8cd6ed65c9",
"ContactStatus": "ACTIVE",
"Name": "Dominos 39013 (Mudassar Zia)",
"FirstName": "Mudassar",
"LastName": "Zia",
"EmailAddress": "mudasarzia@gmail.com",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1580833699367+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-19T00:00:00",
"Date": "\/Date(1734566400000+0000)\/",
"DueDateString": "2025-01-18T00:00:00",
"DueDate": "\/Date(1737158400000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX012",
"TaxAmount": 3.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "497f424a-3cf9-4684-bdd4-7f39315b1494",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -5.00,
"TaxType": "TAX012",
"TaxAmount": -0.75,
"LineAmount": -15.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 3.0000,
"DiscountRate": 0.00,
"LineItemID": "10924a5f-4084-47c7-af04-70fa25ee79e8",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 60.00,
"TotalTax": 3.00,
"Total": 63.00,
"UpdatedDateUTC": "\/Date(1736247360873+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:56:01] Production.INFO: -- Create Invoice id --51fbae7f-0023-4cfa-a439-8a859571c171
[2025-01-07 05:56:01] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:56:01] Production.INFO: CheckInvoice xerov2: INV11129
[2025-01-07 05:56:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11129
[2025-01-07 10:56:01] Production.INFO: ==8294== Lock acquired, processing the job...
[2025-01-07 10:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:56:01] Production.INFO: neon service started
[2025-01-07 10:56:01] Production.INFO: neon service started
[2025-01-07 10:56:01] Production.INFO: ==8294== Releasing lock...
[2025-01-07 10:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:56:02] Production.INFO: ==8296== Lock acquired, processing the job...
[2025-01-07 05:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:56:02] Production.INFO: ==8298== Lock acquired, processing the job...
[2025-01-07 10:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 05:56:02] Production.INFO: ==8296== Releasing lock...
[2025-01-07 05:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:56:02] Production.INFO: ==8298== Releasing lock...
[2025-01-07 10:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:56:02] Production.INFO: ==8311== Lock acquired, processing the job...
[2025-01-07 05:56:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 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-07 05:56:03] Production.INFO: count ==21
[2025-01-07 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-07 05:56:03] Production.INFO: count ==21
[2025-01-07 05:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192897') start
[2025-01-07 05:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192897') end
[2025-01-07 05:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:56:03] Production.INFO: 1
[2025-01-07 05:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:56:03] Production.INFO: ==8311== Releasing lock...
[2025-01-07 05:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:56:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:56:03] Production.INFO: ==8303== Lock acquired, processing the job...
[2025-01-07 05:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:56:03] Production.INFO: ==8301== Lock acquired, processing the job...
[2025-01-07 05:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:56:03] Production.INFO: ==8309== Lock acquired, processing the job...
[2025-01-07 05:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:56:03] Production.INFO: ==8305== Lock acquired, processing the job...
[2025-01-07 05:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:56:03] Production.INFO: ==8307== Lock acquired, processing the job...
[2025-01-07 05:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:56:03] Production.INFO: Account Balance Start.
[2025-01-07 05:56:03] Production.INFO: CreateAllLog Start
[2025-01-07 05:56:03] Production.INFO: 117
[2025-01-07 05:56:03] Production.INFO: Date 2024-12-08
[2025-01-07 05:56:03] Production.INFO: ==8303== Releasing lock...
[2025-01-07 05:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:56:03] Production.ERROR: done
[2025-01-07 05:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:56:04] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:56:04] Production.INFO: Date 2024-12-09
[2025-01-07 05:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:56:04] Production.INFO: Invoice SubTotal 52.500000
[2025-01-07 05:56:04] Production.INFO: Invoice DetTotal 52.5
[2025-01-07 05:56:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039016%20%28Chandresh%20Patel%29"
[2025-01-07 05:56:04] Production.INFO: Date 2024-12-10
[2025-01-07 05:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:56:04] Production.ERROR: done
[2025-01-07 05:56:04] Production.INFO: Date 2024-12-11
[2025-01-07 05:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:56:04] Production.INFO: Date 2024-12-12
[2025-01-07 05:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:56:04] Production.INFO: Date 2024-12-13
[2025-01-07 05:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:56:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:56:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:56:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:56:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:56:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:56:04] Production.INFO: Date 2024-12-19
[2025-01-07 05:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:56:04] Production.INFO: Date 2024-12-20
[2025-01-07 05:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:56:04] Production.INFO: Date 2024-12-21
[2025-01-07 05:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:56:04] Production.INFO: Date 2024-12-22
[2025-01-07 05:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:56:04] Production.INFO: Date 2024-12-23
[2025-01-07 05:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:56:04] Production.INFO: Date 2024-12-24
[2025-01-07 05:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:56:04] Production.INFO: Date 2024-12-25
[2025-01-07 05:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:56:04] Production.INFO: Date 2024-12-26
[2025-01-07 05:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:56:04] Production.INFO: Date 2024-12-27
[2025-01-07 05:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:56:04] Production.INFO: Date 2024-12-28
[2025-01-07 05:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:56:04] Production.INFO: Date 2024-12-29
[2025-01-07 05:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:56:04] Production.INFO: Date 2024-12-30
[2025-01-07 05:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:56:04] Production.INFO: Date 2024-12-31
[2025-01-07 05:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:56:04] Production.INFO: Date 2025-01-01
[2025-01-07 05:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:56:04] Production.INFO: Date 2025-01-02
[2025-01-07 05:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:56:04] Production.INFO: Date 2025-01-03
[2025-01-07 05:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:56:04] Production.INFO: Date 2025-01-04
[2025-01-07 05:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:56:04] Production.INFO: Date 2025-01-05
[2025-01-07 05:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:56:04] Production.INFO: Date 2025-01-06
[2025-01-07 05:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:56:04] Production.INFO: Date 2025-01-07
[2025-01-07 05:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:56:04] Production.INFO: Total Charge 0
[2025-01-07 05:56:04] Production.INFO: CreateAllLog End
[2025-01-07 05:56:05] Production.INFO: Account Balance End.
[2025-01-07 05:56:05] Production.ERROR: CronJobId end 12
[2025-01-07 05:56:05] Production.INFO: ==8307== Releasing lock...
[2025-01-07 05:56:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:56:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:56:05
[end_date_ymd] => 2025-01-07 05:56:05
[RateCDR] => 1
)
[2025-01-07 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-07 02:56:05' and `end` < '2025-01-07 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-07 05:56:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:56:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:56:10] Production.ERROR: CronJobId end10
[2025-01-07 05:56:10] Production.INFO: ==8305== Releasing lock...
[2025-01-07 05:56:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:56:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:56:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:56:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:56:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:56:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:56:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:56:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:56:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:56:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:56:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:56:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:56:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:56:13] Production.INFO: call_cost start
[2025-01-07 05:56:13] Production.INFO: call_cost end
[2025-01-07 05:56:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:56:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:56:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:56:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:56:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:56:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:56:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:56:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:56:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:56:13] Production.INFO: ==8301== Releasing lock...
[2025-01-07 05:56:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:56:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:56:15] Production.INFO: =========Invoices String here======{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX012",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $25/store/month discount when 3+ stores have OnSwitch Cloud Phone servic",Quantity : 1,UnitAmount : -25.000000,LineAmount : -25.000000},{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (15879180888 - 5 Spruce Village Way 120 Spruce Grove, AB T7X 0B2 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 05:56:17] Production.INFO: ==== result =====
[2025-01-07 05:56:17] Production.INFO: {
"Id": "404be192-f501-49a8-bf60-0967d347d462",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736247377784)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "c91c9e96-8c0b-47cd-af9c-55b697d700a4",
"InvoiceNumber": "INV11129",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 55.13,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "67dc5e22-ea19-468e-b918-c0db577b9240",
"ContactStatus": "ACTIVE",
"Name": "Dominos 39016 (Chandresh Patel)",
"FirstName": "Chandresh",
"LastName": "Patel",
"EmailAddress": "dominos.patel@gmail.com",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1580835558757+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-01T00:00:00",
"Date": "\/Date(1733011200000+0000)\/",
"DueDateString": "2024-12-31T00:00:00",
"DueDate": "\/Date(1735603200000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX012",
"TaxAmount": 3.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "93b226c6-fd79-42af-bb4d-6a23130f1670",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Provides a $25/store/month discount when 3+ stores have OnSwitch Cloud Phone servic",
"UnitAmount": -25.00,
"TaxType": "TAX012",
"TaxAmount": -1.25,
"LineAmount": -25.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "20d3dc2b-acd7-4e9d-b741-330776424eb3",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (15879180888 - 5 Spruce Village Way 120 Spruce Grove, AB T7X 0B2 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX012",
"TaxAmount": 0.13,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "d3271888-8b29-4989-80b4-708171c6fcd4",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 52.50,
"TotalTax": 2.63,
"Total": 55.13,
"UpdatedDateUTC": "\/Date(1736247377720+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:56:17] Production.INFO: -- Create Invoice id --c91c9e96-8c0b-47cd-af9c-55b697d700a4
[2025-01-07 05:56:17] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:56:17] Production.INFO: CheckInvoice xerov2: INV11287
[2025-01-07 05:56:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11287
[2025-01-07 05:56:18] Production.INFO: count ==57
[2025-01-07 05:56:18] Production.ERROR: pbx CDR StartTime 2025-01-07 02:56:05 - End Time 2025-01-07 05:56:05
[2025-01-07 05:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192901', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192901', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192901', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192901', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:56:18] Production.INFO: ProcessCDR(1,14192901,1,1,2)
[2025-01-07 05:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192901,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192901,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192901,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:56:20] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:56:20] Production.INFO: Invoice SubTotal 52.500000
[2025-01-07 05:56:20] Production.INFO: Invoice DetTotal 52.5
[2025-01-07 05:56:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039016%20%28Chandresh%20Patel%29"
[2025-01-07 05:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192901,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192901', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192901', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:56:21] Production.INFO: ==8309== Releasing lock...
[2025-01-07 05:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:56:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 05:56:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:56:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:56:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:56:30] Production.INFO: =========Invoices String here======{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX012",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $25/store/month discount when 3+ stores have OnSwitch Cloud Phone servic",Quantity : 1,UnitAmount : -25.000000,LineAmount : -25.000000},{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (15879180888 - 5 Spruce Village Way 120 Spruce Grove, AB T7X 0B2 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 05:56:33] Production.INFO: ==== result =====
[2025-01-07 05:56:33] Production.INFO: {
"Id": "2426d9f3-3379-4c43-b494-ba0c3b4641fb",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736247393329)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "11a8608f-f354-4199-8f5b-326c150f021b",
"InvoiceNumber": "INV11287",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 55.13,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "67dc5e22-ea19-468e-b918-c0db577b9240",
"ContactStatus": "ACTIVE",
"Name": "Dominos 39016 (Chandresh Patel)",
"FirstName": "Chandresh",
"LastName": "Patel",
"EmailAddress": "dominos.patel@gmail.com",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1580835558757+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2025-01-01T00:00:00",
"Date": "\/Date(1735689600000+0000)\/",
"DueDateString": "2025-01-31T00:00:00",
"DueDate": "\/Date(1738281600000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX012",
"TaxAmount": 3.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "948bd1cb-381c-450b-8bf7-e96c264cd45a",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Provides a $25/store/month discount when 3+ stores have OnSwitch Cloud Phone servic",
"UnitAmount": -25.00,
"TaxType": "TAX012",
"TaxAmount": -1.25,
"LineAmount": -25.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "70826e55-7b89-4ba5-a386-9da969001c67",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (15879180888 - 5 Spruce Village Way 120 Spruce Grove, AB T7X 0B2 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX012",
"TaxAmount": 0.13,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "3382b2ca-3d47-4137-b936-10efe24eec35",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 52.50,
"TotalTax": 2.63,
"Total": 55.13,
"UpdatedDateUTC": "\/Date(1736247393267+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:56:33] Production.INFO: -- Create Invoice id --11a8608f-f354-4199-8f5b-326c150f021b
[2025-01-07 05:56:33] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:56:33] Production.INFO: CheckInvoice xerov2: INV11115
[2025-01-07 05:56:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11115
[2025-01-07 05:56:35] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:56:35] Production.INFO: Invoice SubTotal 62.500000
[2025-01-07 05:56:35] Production.INFO: Invoice DetTotal 62.5
[2025-01-07 05:56:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039017%20%28Mudassar%20Zia%29"
[2025-01-07 05:56:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:56:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:56:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:56:45] Production.INFO: =========Invoices String here======{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "Dominos Pizza - 4 Line Flat Rate with $5 discount (3+ stores)",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14035478500 - 929 17 Ave SW Calgary, AB T2T 0A4 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX012",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 3,UnitAmount : -5.000000,LineAmount : -15.000000}
[2025-01-07 05:56:48] Production.INFO: ==== result =====
[2025-01-07 05:56:48] Production.INFO: {
"Id": "20fcea43-1a1b-4848-b382-bf262ef21211",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736247408307)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "17265184-83b5-4dee-a203-30a67d342f03",
"InvoiceNumber": "INV11115",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 65.63,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "5f89a930-66a1-45ba-8124-8b5cbb0531bb",
"ContactStatus": "ACTIVE",
"Name": "Dominos 39017 (Mudassar Zia)",
"FirstName": "Mudassar",
"LastName": "Zia",
"EmailAddress": "mudasarzia@gmail.com",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1580833878733+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-11-28T00:00:00",
"Date": "\/Date(1732752000000+0000)\/",
"DueDateString": "2024-12-28T00:00:00",
"DueDate": "\/Date(1735344000000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Dominos Pizza - 4 Line Flat Rate with $5 discount (3+ stores)",
"UnitAmount": 75.00,
"TaxType": "TAX012",
"TaxAmount": 3.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "4afe8c04-27c4-4f6f-a2ed-ded4bbb7798a",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (14035478500 - 929 17 Ave SW Calgary, AB T2T 0A4 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX012",
"TaxAmount": 0.13,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "442016d4-85c7-4426-b460-bf2fa65c0d40",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -5.00,
"TaxType": "TAX012",
"TaxAmount": -0.75,
"LineAmount": -15.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 3.0000,
"DiscountRate": 0.00,
"LineItemID": "8fd9a41b-db64-4e51-9554-dcd11f2dc21b",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 62.50,
"TotalTax": 3.13,
"Total": 65.63,
"UpdatedDateUTC": "\/Date(1736247408213+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:56:48] Production.INFO: -- Create Invoice id --17265184-83b5-4dee-a203-30a67d342f03
[2025-01-07 05:56:48] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:56:48] Production.INFO: CheckInvoice xerov2: INV11272
[2025-01-07 05:56:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11272
[2025-01-07 05:56:51] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:56:51] Production.INFO: Invoice SubTotal 62.500000
[2025-01-07 05:56:51] Production.INFO: Invoice DetTotal 62.5
[2025-01-07 05:56:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039017%20%28Mudassar%20Zia%29"
[2025-01-07 05:56:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:56:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:56:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:57:01] Production.INFO: =========Invoices String here======{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "Dominos Pizza - 4 Line Flat Rate with $5 discount (3+ stores)",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14035478500 - 929 17 Ave SW Calgary, AB T2T 0A4 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX012",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 3,UnitAmount : -5.000000,LineAmount : -15.000000}
[2025-01-07 10:57:02] Production.INFO: ==8386== Lock acquired, processing the job...
[2025-01-07 10:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:57:02] Production.INFO: neon service started
[2025-01-07 10:57:02] Production.INFO: neon service started
[2025-01-07 10:57:02] Production.INFO: ==8386== Releasing lock...
[2025-01-07 10:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:57:02] Production.INFO: ==8390== Lock acquired, processing the job...
[2025-01-07 10:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:57:02] Production.INFO: ==8390== Releasing lock...
[2025-01-07 10:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:57:02] Production.INFO: ==8388== Lock acquired, processing the job...
[2025-01-07 05:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:57:02] Production.INFO: ==8388== Releasing lock...
[2025-01-07 05:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:57:03] Production.INFO: ==8403== Lock acquired, processing the job...
[2025-01-07 05:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:57:03] Production.INFO: ==8393== Lock acquired, processing the job...
[2025-01-07 05:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:57:03] Production.INFO: ==8401== Lock acquired, processing the job...
[2025-01-07 05:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:57:03] Production.INFO: count ==21
[2025-01-07 05:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:57:03] Production.INFO: ==8395== Lock acquired, processing the job...
[2025-01-07 05:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 05:57:03] Production.INFO: count ==21
[2025-01-07 05:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:57:03] Production.INFO: ==8397== Lock acquired, processing the job...
[2025-01-07 05:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192902') start
[2025-01-07 05:57:04] Production.INFO: ==8399== Lock acquired, processing the job...
[2025-01-07 05:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192902') end
[2025-01-07 05:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:57:04] Production.INFO: 1
[2025-01-07 05:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:57:04] Production.INFO: ==8403== Releasing lock...
[2025-01-07 05:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:57:04] Production.ERROR: done
[2025-01-07 05:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:57:04] Production.INFO: Account Balance Start.
[2025-01-07 05:57:04] Production.INFO: CreateAllLog Start
[2025-01-07 05:57:04] Production.INFO: 117
[2025-01-07 05:57:04] Production.INFO: ==8395== Releasing lock...
[2025-01-07 05:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:57:04] Production.ERROR: done
[2025-01-07 05:57:04] Production.INFO: Date 2024-12-08
[2025-01-07 05:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:57:04] Production.INFO: Date 2024-12-09
[2025-01-07 05:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:57:04] Production.INFO: Date 2024-12-10
[2025-01-07 05:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:57:04] Production.INFO: ==== result =====
[2025-01-07 05:57:04] Production.INFO: {
"Id": "0d4f46ac-407c-4083-bbd9-78da9b060b53",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736247424460)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "a1285f8f-9c2b-4a50-8623-dc3c823e08c2",
"InvoiceNumber": "INV11272",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 65.63,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "5f89a930-66a1-45ba-8124-8b5cbb0531bb",
"ContactStatus": "ACTIVE",
"Name": "Dominos 39017 (Mudassar Zia)",
"FirstName": "Mudassar",
"LastName": "Zia",
"EmailAddress": "mudasarzia@gmail.com",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1580833878733+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-28T00:00:00",
"Date": "\/Date(1735344000000+0000)\/",
"DueDateString": "2025-01-27T00:00:00",
"DueDate": "\/Date(1737936000000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Dominos Pizza - 4 Line Flat Rate with $5 discount (3+ stores)",
"UnitAmount": 75.00,
"TaxType": "TAX012",
"TaxAmount": 3.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "d6f9211d-dc96-4d55-af56-f214d17659a2",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (14035478500 - 929 17 Ave SW Calgary, AB T2T 0A4 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX012",
"TaxAmount": 0.13,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "dbb251fd-6a3f-47fb-9d30-acb9f9f48137",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -5.00,
"TaxType": "TAX012",
"TaxAmount": -0.75,
"LineAmount": -15.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 3.0000,
"DiscountRate": 0.00,
"LineItemID": "1d932390-f814-4549-bd92-ec6371b167d6",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 62.50,
"TotalTax": 3.13,
"Total": 65.63,
"UpdatedDateUTC": "\/Date(1736247424383+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:57:04] Production.INFO: Date 2024-12-11
[2025-01-07 05:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:57:04] Production.INFO: -- Create Invoice id --a1285f8f-9c2b-4a50-8623-dc3c823e08c2
[2025-01-07 05:57:04] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:57:04] Production.INFO: CheckInvoice xerov2: INV11229
[2025-01-07 05:57:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11229
[2025-01-07 05:57:04] Production.INFO: Date 2024-12-12
[2025-01-07 05:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:57:04] Production.INFO: Date 2024-12-13
[2025-01-07 05:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:57:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:57:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:57:05] Production.INFO: Date 2024-12-16
[2025-01-07 05:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:57:05] Production.INFO: Date 2024-12-17
[2025-01-07 05:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:57:05] Production.INFO: Date 2024-12-18
[2025-01-07 05:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:57:05] Production.INFO: Date 2024-12-19
[2025-01-07 05:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:57:05] Production.INFO: Date 2024-12-20
[2025-01-07 05:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:57:05] Production.INFO: Date 2024-12-21
[2025-01-07 05:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:57:05] Production.INFO: Date 2024-12-22
[2025-01-07 05:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:57:05] Production.INFO: Date 2024-12-23
[2025-01-07 05:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:57:05] Production.INFO: Date 2024-12-24
[2025-01-07 05:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:57:05] Production.INFO: Date 2024-12-25
[2025-01-07 05:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:57:05] Production.INFO: Date 2024-12-26
[2025-01-07 05:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:57:05] Production.INFO: Date 2024-12-27
[2025-01-07 05:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:57:05] Production.INFO: Date 2024-12-28
[2025-01-07 05:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:57:05] Production.INFO: Date 2024-12-29
[2025-01-07 05:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:57:05] Production.INFO: Date 2024-12-30
[2025-01-07 05:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:57:05] Production.INFO: Date 2024-12-31
[2025-01-07 05:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:57:05] Production.INFO: Date 2025-01-01
[2025-01-07 05:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:57:05] Production.INFO: Date 2025-01-02
[2025-01-07 05:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:57:05] Production.INFO: Date 2025-01-03
[2025-01-07 05:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:57:05] Production.INFO: Date 2025-01-04
[2025-01-07 05:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:57:05] Production.INFO: Date 2025-01-05
[2025-01-07 05:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:57:05] Production.INFO: Date 2025-01-06
[2025-01-07 05:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:57:05] Production.INFO: Date 2025-01-07
[2025-01-07 05:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:57:05] Production.INFO: Total Charge 0
[2025-01-07 05:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:57:05
[end_date_ymd] => 2025-01-07 05:57:05
[RateCDR] => 1
)
[2025-01-07 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-07 02:57:05' and `end` < '2025-01-07 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-07 05:57:05] Production.INFO: CreateAllLog End
[2025-01-07 05:57:05] Production.INFO: Account Balance End.
[2025-01-07 05:57:05] Production.ERROR: CronJobId end 12
[2025-01-07 05:57:05] Production.INFO: ==8399== Releasing lock...
[2025-01-07 05:57:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:57:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:57:07] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:57:07] Production.INFO: Invoice SubTotal 77.500000
[2025-01-07 05:57:07] Production.INFO: Invoice DetTotal 77.5
[2025-01-07 05:57:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039041%20%28Rishi%20Kakar%29"
[2025-01-07 05:57:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:57:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:57:11] Production.ERROR: CronJobId end10
[2025-01-07 05:57:11] Production.INFO: ==8397== Releasing lock...
[2025-01-07 05:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:57:13] Production.INFO: call_cost start
[2025-01-07 05:57:13] Production.INFO: call_cost end
[2025-01-07 05:57:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:57:14] Production.INFO: ==8393== Releasing lock...
[2025-01-07 05:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:57:16] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Dominos Pizza - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (19052572900 - 2387 TRAFALGAR RD UNIT 1 OAKVILLE, ON L6H6K7)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 05:57:19] Production.INFO: count ==57
[2025-01-07 05:57:19] Production.ERROR: pbx CDR StartTime 2025-01-07 02:57:05 - End Time 2025-01-07 05:57:05
[2025-01-07 05:57:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192906', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192906', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192906', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192906', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:57:19] Production.INFO: ProcessCDR(1,14192906,1,1,2)
[2025-01-07 05:57:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192906,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:57:19] Production.INFO: ==== result =====
[2025-01-07 05:57:19] Production.INFO: {
"Id": "e5575fea-e5f9-46be-9520-4dfd9a17b99f",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736247439363)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "ef76976c-e2b0-4cd8-882a-45cf4adf9836",
"InvoiceNumber": "INV11229",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 87.58,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "e874c379-a70c-405c-bc58-0ac6921c29ba",
"ContactStatus": "ACTIVE",
"Name": "Dominos 39041 (Rishi Kakar)",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1562267972817+0000)\/",
"ContactGroups": [
{
"ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58",
"Name": "Benjamin's Customers",
"Status": "ACTIVE",
"Contacts": [],
"HasValidationErrors": false
}
],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-16T00:00:00",
"Date": "\/Date(1734307200000+0000)\/",
"DueDateString": "2025-01-15T00:00:00",
"DueDate": "\/Date(1736899200000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Dominos Pizza - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "478038a8-b247-4423-a17f-e6bf1f2af493",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (19052572900 - 2387 TRAFALGAR RD UNIT 1 OAKVILLE, ON L6H6K7)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "f8c0a0a3-aaee-4e2e-a385-6d1c7b14f34c",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 77.50,
"TotalTax": 10.08,
"Total": 87.58,
"UpdatedDateUTC": "\/Date(1736247439287+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:57:19] Production.INFO: -- Create Invoice id --ef76976c-e2b0-4cd8-882a-45cf4adf9836
[2025-01-07 05:57:19] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:57:19] Production.INFO: CheckInvoice xerov2: INV11154
[2025-01-07 05:57:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11154
[2025-01-07 05:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192906,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192906,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:57:21] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:57:21] Production.INFO: Invoice SubTotal 50.000000
[2025-01-07 05:57:21] Production.INFO: Invoice DetTotal 50
[2025-01-07 05:57:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039049%20%28Sandeep%20Chaudhari%29"
[2025-01-07 05:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192906,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192906', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192906', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:57:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:57:22] Production.INFO: ==8401== Releasing lock...
[2025-01-07 05:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:57:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 05:57:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:57:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:57:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:57:33] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Provides a $5/store/month discount when 5+ stores have OnSwitch Cloud Phone service",Quantity : 1,UnitAmount : -25.000000,LineAmount : -25.000000}
[2025-01-07 05:57:36] Production.INFO: ==== result =====
[2025-01-07 05:57:36] Production.INFO: {
"Id": "277fb4a8-f464-4f60-b9ea-905088da0810",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736247456029)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "290fc8b5-60be-4aa8-81e2-473a04b6bdfd",
"InvoiceNumber": "INV11154",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 56.50,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"IsDiscounted": false,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "1c0b2017-4eb0-4996-8c28-357329632ba9",
"ContactStatus": "ACTIVE",
"Name": "Dominos 39049 (Sandeep Chaudhari)",
"FirstName": "Sandeep",
"LastName": "Chaudhari",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1697457583520+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-05T00:00:00",
"Date": "\/Date(1733356800000+0000)\/",
"DueDateString": "2025-01-04T00:00:00",
"DueDate": "\/Date(1735948800000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "0e3066c4-32b8-45bb-b600-15ab0d51b976",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 5+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -25.00,
"TaxType": "TAX020",
"TaxAmount": -3.25,
"LineAmount": -25.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "14cb6edc-5e72-4074-8fa0-ff1b573dfdc1",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
}
],
"SubTotal": 50.00,
"TotalTax": 6.50,
"Total": 56.50,
"UpdatedDateUTC": "\/Date(1736247455967+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:57:36] Production.INFO: -- Create Invoice id --290fc8b5-60be-4aa8-81e2-473a04b6bdfd
[2025-01-07 05:57:36] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:57:36] Production.INFO: CheckInvoice xerov2: INV11174
[2025-01-07 05:57:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11174
[2025-01-07 05:57:38] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:57:38] Production.INFO: Invoice SubTotal 50.000000
[2025-01-07 05:57:38] Production.INFO: Invoice DetTotal 50
[2025-01-07 05:57:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039052%20%28Sandeep%20Chaudhari%29"
[2025-01-07 05:57:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:57:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:57:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:57:48] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Provides a $5/store/month discount when 5+ stores have OnSwitch Cloud Phone service",Quantity : 1,UnitAmount : -25.000000,LineAmount : -25.000000}
[2025-01-07 05:57:51] Production.INFO: ==== result =====
[2025-01-07 05:57:51] Production.INFO: {
"Id": "eef6c50e-ab86-49a8-91c9-5080ff5a84ef",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736247471143)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "69177ce4-d86c-405c-8658-3a92601cc1ac",
"InvoiceNumber": "INV11174",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 56.50,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"IsDiscounted": false,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "fef41f69-d586-4623-95ec-1702df71d8e3",
"ContactStatus": "ACTIVE",
"Name": "Dominos 39052 (Sandeep Chaudhari)",
"FirstName": "Sandeep",
"LastName": "Chaudhari",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1697457563547+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-08T00:00:00",
"Date": "\/Date(1733616000000+0000)\/",
"DueDateString": "2025-01-07T00:00:00",
"DueDate": "\/Date(1736208000000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "c0792547-57cd-4651-b754-68574d82d8a1",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount when 5+ stores have OnSwitch Cloud Phone service",
"UnitAmount": -25.00,
"TaxType": "TAX020",
"TaxAmount": -3.25,
"LineAmount": -25.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "3ef48e17-f9cc-4602-8cf0-1bfcbfe0d7f2",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
}
],
"SubTotal": 50.00,
"TotalTax": 6.50,
"Total": 56.50,
"UpdatedDateUTC": "\/Date(1736247471063+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:57:51] Production.INFO: -- Create Invoice id --69177ce4-d86c-405c-8658-3a92601cc1ac
[2025-01-07 05:57:51] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:57:51] Production.INFO: CheckInvoice xerov2: INV11107
[2025-01-07 05:57:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11107
[2025-01-07 05:57:53] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:57:53] Production.INFO: Invoice SubTotal 72.500000
[2025-01-07 05:57:53] Production.INFO: Invoice DetTotal 72.5
[2025-01-07 05:57:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039102%20%28Muzafar%20Ahmad%29"
[2025-01-07 05:57:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:57:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:58:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 10:58:01] Production.INFO: ==8485== Lock acquired, processing the job...
[2025-01-07 10:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:58:01] Production.INFO: neon service started
[2025-01-07 10:58:01] Production.INFO: neon service started
[2025-01-07 10:58:01] Production.INFO: ==8485== Releasing lock...
[2025-01-07 10:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 05:58:02] Production.INFO: ==8487== Lock acquired, processing the job...
[2025-01-07 05:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:58:02] Production.INFO: ==8489== Lock acquired, processing the job...
[2025-01-07 10:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:58:02] Production.INFO: ==8489== Releasing lock...
[2025-01-07 10:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:58:02] Production.INFO: ==8487== Releasing lock...
[2025-01-07 05:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:58:02] Production.INFO: =========Invoices String here======{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14037557654 - 1 Iron Gate Drive 115 Sylvan Lake, AB T4S 0T8 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX012",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount for Covid-19",Quantity : 1,UnitAmount : -5.000000,LineAmount : -5.000000}
[2025-01-07 05:58:03] Production.INFO: ==8500== Lock acquired, processing the job...
[2025-01-07 05:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:58:03] Production.INFO: ==8498== Lock acquired, processing the job...
[2025-01-07 05:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:58:03] Production.INFO: Account Balance Start.
[2025-01-07 05:58:03] Production.INFO: CreateAllLog Start
[2025-01-07 05:58:03] Production.INFO: 117
[2025-01-07 05:58:03] Production.INFO: ==8492== Lock acquired, processing the job...
[2025-01-07 05:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:58:03] Production.INFO: Date 2024-12-08
[2025-01-07 05:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:58:03] Production.INFO: ==8494== Lock acquired, processing the job...
[2025-01-07 05:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:58:03] Production.INFO: ==8496== Lock acquired, processing the job...
[2025-01-07 05:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:58:03] Production.INFO: Date 2024-12-09
[2025-01-07 05:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:58:03] Production.INFO: Date 2024-12-10
[2025-01-07 05:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:58:03] Production.ERROR: done
[2025-01-07 05:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:58:03] Production.INFO: Date 2024-12-11
[2025-01-07 05:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:58:03] Production.INFO: ==8503== Lock acquired, processing the job...
[2025-01-07 05:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:58:03] Production.INFO: Date 2024-12-12
[2025-01-07 05:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:58:03] Production.INFO: Date 2024-12-13
[2025-01-07 05:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 05:58:03] Production.INFO: Date 2024-12-14
[2025-01-07 05:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:58:03] Production.ERROR: done
[2025-01-07 05:58:03] Production.INFO: count ==21
[2025-01-07 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-07 05:58:03] Production.INFO: count ==21
[2025-01-07 05:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192910') start
[2025-01-07 05:58:03] Production.INFO: Date 2024-12-15
[2025-01-07 05:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:58:03] Production.INFO: Date 2024-12-16
[2025-01-07 05:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:58:03] Production.INFO: Date 2024-12-17
[2025-01-07 05:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:58:03] Production.INFO: ==8494== Releasing lock...
[2025-01-07 05:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:58:03] Production.INFO: Date 2024-12-18
[2025-01-07 05:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 05:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192910') end
[2025-01-07 05:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:58:03] Production.INFO: 1
[2025-01-07 05:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:58:04] Production.INFO: Date 2024-12-19
[2025-01-07 05:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:58:04] Production.INFO: Date 2024-12-20
[2025-01-07 05:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:58:04] Production.INFO: ==8503== Releasing lock...
[2025-01-07 05:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:58:04] Production.INFO: Date 2024-12-21
[2025-01-07 05:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:58:04] Production.INFO: Date 2024-12-22
[2025-01-07 05:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:58:04] Production.INFO: Date 2024-12-23
[2025-01-07 05:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:58:04] Production.INFO: Date 2024-12-24
[2025-01-07 05:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:58:04] Production.INFO: Date 2024-12-25
[2025-01-07 05:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:58:04] Production.INFO: Date 2024-12-26
[2025-01-07 05:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:58:04] Production.INFO: Date 2024-12-27
[2025-01-07 05:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:58:04] Production.INFO: Date 2024-12-28
[2025-01-07 05:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:58:04] Production.INFO: Date 2024-12-29
[2025-01-07 05:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:58:04] Production.INFO: Date 2024-12-30
[2025-01-07 05:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:58:04] Production.INFO: Date 2024-12-31
[2025-01-07 05:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:58:04] Production.INFO: Date 2025-01-01
[2025-01-07 05:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:58:04] Production.INFO: Date 2025-01-02
[2025-01-07 05:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:58:04] Production.INFO: Date 2025-01-03
[2025-01-07 05:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:58:04] Production.INFO: Date 2025-01-04
[2025-01-07 05:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:58:04] Production.INFO: Date 2025-01-05
[2025-01-07 05:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:58:04] Production.INFO: Date 2025-01-06
[2025-01-07 05:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:58:04] Production.INFO: Date 2025-01-07
[2025-01-07 05:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:58:04] Production.INFO: Total Charge 0
[2025-01-07 05:58:04] Production.INFO: CreateAllLog End
[2025-01-07 05:58:04] Production.INFO: Account Balance End.
[2025-01-07 05:58:04] Production.ERROR: CronJobId end 12
[2025-01-07 05:58:04] Production.INFO: ==8498== Releasing lock...
[2025-01-07 05:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:58:05
[end_date_ymd] => 2025-01-07 05:58:05
[RateCDR] => 1
)
[2025-01-07 05:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 02:58:05' and `end` < '2025-01-07 05:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 05:58:05] Production.INFO: ==== result =====
[2025-01-07 05:58:05] Production.INFO: {
"Id": "dfeec34d-165a-4022-8995-d2aa14f26db7",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736247485192)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "58a95e43-6c9e-475a-b224-0332c94d9aaf",
"InvoiceNumber": "INV11107",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 76.13,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "749cea7f-cdd5-4ee1-9755-990afa6667fb",
"ContactStatus": "ACTIVE",
"Name": "Dominos 39102 (Muzafar Ahmad)",
"FirstName": "Muzafar",
"LastName": "Ahmad",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1639848517473+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-11-25T00:00:00",
"Date": "\/Date(1732492800000+0000)\/",
"DueDateString": "2024-12-25T00:00:00",
"DueDate": "\/Date(1735084800000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX012",
"TaxAmount": 3.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "dcba6446-7123-4b79-9ffc-9c1e4ae4e9e8",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (14037557654 - 1 Iron Gate Drive 115 Sylvan Lake, AB T4S 0T8 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX012",
"TaxAmount": 0.13,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "982944e6-1a5a-436c-9c92-5319c4fc433f",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount for Covid-19",
"UnitAmount": -5.00,
"TaxType": "TAX012",
"TaxAmount": -0.25,
"LineAmount": -5.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "56b4b798-4b8b-4bde-ad5e-fc18b954f5c7",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 72.50,
"TotalTax": 3.63,
"Total": 76.13,
"UpdatedDateUTC": "\/Date(1736247485147+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:58:05] Production.INFO: -- Create Invoice id --58a95e43-6c9e-475a-b224-0332c94d9aaf
[2025-01-07 05:58:05] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:58:05] Production.INFO: CheckInvoice xerov2: INV11264
[2025-01-07 05:58:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11264
[2025-01-07 05:58:07] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:58:07] Production.INFO: Invoice SubTotal 72.500000
[2025-01-07 05:58:07] Production.INFO: Invoice DetTotal 72.5
[2025-01-07 05:58:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039102%20%28Muzafar%20Ahmad%29"
[2025-01-07 05:58:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 05:58:10] Production.ERROR: CronJobId end10
[2025-01-07 05:58:10] Production.INFO: ==8496== Releasing lock...
[2025-01-07 05:58:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:58:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:58:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:58:11] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:58:11] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:58:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:58:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:58:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:58:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:58:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:58:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:58:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:58:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:58:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:58:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:58:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:58:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 05:58:12] Production.INFO: call_cost start
[2025-01-07 05:58:12] Production.INFO: call_cost end
[2025-01-07 05:58:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:58:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:58:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:58:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:58:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:58:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:58:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:58:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:58:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:58:13] Production.INFO: ==8492== Releasing lock...
[2025-01-07 05:58:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:58:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:58:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 05:58:17] Production.INFO: count ==57
[2025-01-07 05:58:17] Production.ERROR: pbx CDR StartTime 2025-01-07 02:58:05 - End Time 2025-01-07 05:58:05
[2025-01-07 05:58:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192911', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192911', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192911', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192911', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:58:17] Production.INFO: ProcessCDR(1,14192911,1,1,2)
[2025-01-07 05:58:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192911,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:58:18] Production.INFO: =========Invoices String here======{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14037557654 - 1 Iron Gate Drive 115 Sylvan Lake, AB T4S 0T8 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX012",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount for Covid-19",Quantity : 1,UnitAmount : -5.000000,LineAmount : -5.000000}
[2025-01-07 05:58:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192911,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:58:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192911,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:58:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192911,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:58:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192911', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:58:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192911', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:58:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:58:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:58:20] Production.INFO: ==8500== Releasing lock...
[2025-01-07 05:58:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:58:20] Production.INFO: 28 MB #Memory Used#
[2025-01-07 05:58:21] Production.INFO: ==== result =====
[2025-01-07 05:58:21] Production.INFO: {
"Id": "4f4088ea-e8af-406d-af14-8c383fc6056b",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736247501114)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "8e1c4653-6553-466f-862c-ed9f12e980eb",
"InvoiceNumber": "INV11264",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 76.13,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "749cea7f-cdd5-4ee1-9755-990afa6667fb",
"ContactStatus": "ACTIVE",
"Name": "Dominos 39102 (Muzafar Ahmad)",
"FirstName": "Muzafar",
"LastName": "Ahmad",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1639848517473+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-25T00:00:00",
"Date": "\/Date(1735084800000+0000)\/",
"DueDateString": "2025-01-24T00:00:00",
"DueDate": "\/Date(1737676800000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX012",
"TaxAmount": 3.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "c0b775f3-b7be-49ab-b324-077f51ad3b09",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (14037557654 - 1 Iron Gate Drive 115 Sylvan Lake, AB T4S 0T8 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX012",
"TaxAmount": 0.13,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "4ad90cf9-9675-4915-bf2f-4885dd6acc22",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Provides a $5/store/month discount for Covid-19",
"UnitAmount": -5.00,
"TaxType": "TAX012",
"TaxAmount": -0.25,
"LineAmount": -5.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "9b80dc61-d821-4abb-b17f-55e0823dcccc",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 72.50,
"TotalTax": 3.63,
"Total": 76.13,
"UpdatedDateUTC": "\/Date(1736247501067+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 05:58:21] Production.INFO: -- Create Invoice id --8e1c4653-6553-466f-862c-ed9f12e980eb
[2025-01-07 05:58:21] Production.INFO: -- Create Invoice Done --
[2025-01-07 05:58:21] Production.INFO: -- Xero End Inovice --
[2025-01-07 05:58:21] Production.INFO: ==8108== Releasing lock...
[2025-01-07 05:58:21] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10439 #Stops#
[2025-01-07 05:58:21] Production.INFO: 33.5 MB #Memory Used#
[2025-01-07 10:59:01] Production.INFO: ==8578== Lock acquired, processing the job...
[2025-01-07 10:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 10:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 10:59:01] Production.INFO: neon service started
[2025-01-07 10:59:01] Production.INFO: neon service started
[2025-01-07 10:59:01] Production.INFO: ==8578== Releasing lock...
[2025-01-07 10:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 10:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:59:02] Production.INFO: ==8582== Lock acquired, processing the job...
[2025-01-07 10:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:59:02] Production.INFO: ==8582== Releasing lock...
[2025-01-07 10:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 10:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 05:59:02] Production.INFO: ==8580== Lock acquired, processing the job...
[2025-01-07 05:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 05:59:02] Production.INFO: ==8580== Releasing lock...
[2025-01-07 05:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 05:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 05:59:03] Production.INFO: ==8584== Lock acquired, processing the job...
[2025-01-07 05:59:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10440 #Starts#
[2025-01-07 05:59:03] Production.INFO: -- Xero Api Check --
[2025-01-07 05:59:03] Production.INFO: ==8586== Lock acquired, processing the job...
[2025-01-07 05:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 05:59:03] Production.INFO: ==8588== Lock acquired, processing the job...
[2025-01-07 05:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 05:59:03] Production.INFO: ==8590== Lock acquired, processing the job...
[2025-01-07 05:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 05:59:03] Production.INFO: ==8592== Lock acquired, processing the job...
[2025-01-07 05:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 05:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 05:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 05:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 05:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 05:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 05:59:03] Production.INFO: Account Balance Start.
[2025-01-07 05:59:03] Production.INFO: CreateAllLog Start
[2025-01-07 05:59:03] Production.INFO: 117
[2025-01-07 05:59:03] Production.INFO: Date 2024-12-08
[2025-01-07 05:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:59:04] Production.INFO: Date 2024-12-09
[2025-01-07 05:59:04] Production.INFO: ==8595== Lock acquired, processing the job...
[2025-01-07 05:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 05:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:59:04] Production.INFO: ==8597== Lock acquired, processing the job...
[2025-01-07 05:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 05:59:04] Production.INFO: Date 2024-12-10
[2025-01-07 05:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:59:04] Production.INFO: ==8588== Releasing lock...
[2025-01-07 05:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 05:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 05:59:04] Production.INFO: Date 2024-12-11
[2025-01-07 05:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 05:59:04] Production.INFO: Date 2024-12-12
[2025-01-07 05:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 05:59:04] Production.INFO: Date 2024-12-13
[2025-01-07 05:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:59:04] Production.INFO: Date 2024-12-14
[2025-01-07 05:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:59:04] Production.INFO: count ==21
[2025-01-07 05:59:04] Production.INFO: Date 2024-12-15
[2025-01-07 05:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 05:59:04] Production.INFO: count ==21
[2025-01-07 05:59:04] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 855
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.730947
[namelookup_time] => 0.276226
[connect_time] => 0.277957
[pretransfer_time] => 0.597084
[size_upload] => 82
[size_download] => 2755
[speed_download] => 3769
[speed_upload] => 112
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.730907
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.33
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 41284
)
[2025-01-07 05:59:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDc1NDQsImV4cCI6MTczNjI0Nzg0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ3NTQ0LCJhdF9oYXNoIjoiSkUwMkVYV0RqMzk3ajlKQ2R0Z25IQSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.H8TvrUjcr5E_nJX0XKvgHrL-geFvJDaqqNPSCZU4z9uALY5FjoBKdCp9tlInWtliKKClBXvikJ8u1kAi68kTOBbM2yocLNRDscwrqeDZhhVJPIPbVAT7ffyV4h0zU5gq_TDQLBMBhgRvRgSeCVlkXt-tIvoxX9kijbSRCOPJe6y8s6TgqTclMnw86I_VR4DXE4DuAj6wmzgclqiQLeQ08DNRborfXDaf-NkoXbpxWa35XUvJ3wCdL0RB70HaUkPYAjTvox4ZMFrRdP8YtPeW15RD39OiRxw2a4SRRm9bb0IiRah8BHDG7HzzJa4E5eBlYX8gE0jXXgkXKqh1hSdNSQ
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDc1NDQsImV4cCI6MTczNjI0OTM0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.D1kyzsI9oCl7JiGLWscp15KHK0I7nMusQpUn7e_-F1n9b_SpQAIRNrezDJbCpos9MJgyDKNjU2XvoxPFIcV0OHdWR0BT4f5vZVfR0jJPeHz0MlJE3mRnwkbF6moor9n7CDgwZyjgfwcqjAuSQNXS7OKn6UWf26buikLEYpCJF3EOZ_lQhnN0BAa4i51wyLgvvMsl75NXRhlETlgtrif9pCXPU2vVtzlPb_qJHoomTpW2Qruc8M3CU91NtTQKYNZ4S5fuaPbSMZpDkoLl9075HZkaz7zR3fMz2ai1NOMWe3TOzfDl9R4js3duy7eeNQjBCb43Owft90HdBptvE8S9aQ
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => AaOdBUOwKg6FoX3MmdiPnDzFMu5-JcnpE6fXDK-SYWw
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 05:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192915') start
[2025-01-07 05:59:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDc1NDQsImV4cCI6MTczNjI0Nzg0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ3NTQ0LCJhdF9oYXNoIjoiSkUwMkVYV0RqMzk3ajlKQ2R0Z25IQSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.H8TvrUjcr5E_nJX0XKvgHrL-geFvJDaqqNPSCZU4z9uALY5FjoBKdCp9tlInWtliKKClBXvikJ8u1kAi68kTOBbM2yocLNRDscwrqeDZhhVJPIPbVAT7ffyV4h0zU5gq_TDQLBMBhgRvRgSeCVlkXt-tIvoxX9kijbSRCOPJe6y8s6TgqTclMnw86I_VR4DXE4DuAj6wmzgclqiQLeQ08DNRborfXDaf-NkoXbpxWa35XUvJ3wCdL0RB70HaUkPYAjTvox4ZMFrRdP8YtPeW15RD39OiRxw2a4SRRm9bb0IiRah8BHDG7HzzJa4E5eBlYX8gE0jXXgkXKqh1hSdNSQ
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDc1NDQsImV4cCI6MTczNjI0OTM0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.D1kyzsI9oCl7JiGLWscp15KHK0I7nMusQpUn7e_-F1n9b_SpQAIRNrezDJbCpos9MJgyDKNjU2XvoxPFIcV0OHdWR0BT4f5vZVfR0jJPeHz0MlJE3mRnwkbF6moor9n7CDgwZyjgfwcqjAuSQNXS7OKn6UWf26buikLEYpCJF3EOZ_lQhnN0BAa4i51wyLgvvMsl75NXRhlETlgtrif9pCXPU2vVtzlPb_qJHoomTpW2Qruc8M3CU91NtTQKYNZ4S5fuaPbSMZpDkoLl9075HZkaz7zR3fMz2ai1NOMWe3TOzfDl9R4js3duy7eeNQjBCb43Owft90HdBptvE8S9aQ
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => AaOdBUOwKg6FoX3MmdiPnDzFMu5-JcnpE6fXDK-SYWw
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 05:59:04] Production.INFO: AccountID 236
[2025-01-07 05:59:04] Production.INFO: AccountName Keogh Construction
[2025-01-07 05:59:04] Production.INFO: Date 2024-12-16
[2025-01-07 05:59:04] Production.INFO: Checkcustomer
[2025-01-07 05:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:59:04] Production.ERROR: done
[2025-01-07 05:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 05:59:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Keogh%20Construction"
[2025-01-07 05:59:04] Production.ERROR: done
[2025-01-07 05:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192915') end
[2025-01-07 05:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 05:59:04] Production.INFO: 1
[2025-01-07 05:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 05:59:04] Production.INFO: Date 2024-12-17
[2025-01-07 05:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:59:04] Production.INFO: Date 2024-12-18
[2025-01-07 05:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:59:04] Production.INFO: ==8597== Releasing lock...
[2025-01-07 05:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 05:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 05:59:04] Production.INFO: Date 2024-12-19
[2025-01-07 05:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:59:04] Production.INFO: Date 2024-12-20
[2025-01-07 05:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:59:04] Production.INFO: Date 2024-12-21
[2025-01-07 05:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:59:04] Production.INFO: Date 2024-12-22
[2025-01-07 05:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:59:04] Production.INFO: Date 2024-12-23
[2025-01-07 05:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:59:04] Production.INFO: Date 2024-12-24
[2025-01-07 05:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:59:04] Production.INFO: Date 2024-12-25
[2025-01-07 05:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:59:04] Production.INFO: Date 2024-12-26
[2025-01-07 05:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:59:04] Production.INFO: Date 2024-12-27
[2025-01-07 05:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:59:04] Production.INFO: Date 2024-12-28
[2025-01-07 05:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:59:04] Production.INFO: Date 2024-12-29
[2025-01-07 05:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 05:59:05] Production.INFO: Date 2024-12-30
[2025-01-07 05:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:59:05] Production.INFO: Date 2024-12-31
[2025-01-07 05:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:59:05] Production.INFO: Date 2025-01-01
[2025-01-07 05:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:59:05] Production.INFO: Date 2025-01-02
[2025-01-07 05:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:59:05] Production.INFO: Date 2025-01-03
[2025-01-07 05:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:59:05] Production.INFO: Date 2025-01-04
[2025-01-07 05:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:59:05] Production.INFO: Date 2025-01-05
[2025-01-07 05:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:59:05] Production.INFO: Date 2025-01-06
[2025-01-07 05:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:59:05] Production.INFO: Date 2025-01-07
[2025-01-07 05:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 05:59:05] Production.INFO: Total Charge 0
[2025-01-07 05:59:05] Production.INFO: CreateAllLog End
[2025-01-07 05:59:05] Production.INFO: Account Balance End.
[2025-01-07 05:59:05] Production.ERROR: CronJobId end 12
[2025-01-07 05:59:05] Production.INFO: ==8592== Releasing lock...
[2025-01-07 05:59:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 05:59:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 05:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 02:59:05
[end_date_ymd] => 2025-01-07 05:59:05
[RateCDR] => 1
)
[2025-01-07 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-07 02:59:05' and `end` < '2025-01-07 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-07 05:59:07] Production.INFO: Contact id print CheckCustomer Case===cad302ad-7c7e-456b-bcf1-bd7729cb22b7
[2025-01-07 05:59:07] Production.INFO: -- count --1
[2025-01-07 05:59:07] Production.INFO: -- Xero Add Inovice --
[2025-01-07 05:59:07] Production.INFO: CheckInvoice xerov2: INV10462
[2025-01-07 05:59:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10462
[2025-01-07 05:59:09] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 05:59:09] Production.INFO: ========================== Exception occured =============================
[2025-01-07 05:59:09] Production.ERROR: exception 'ErrorException' with message 'Undefined offset: 33' in /var/www/html/onswitch.neon.service/app/lib/XeroV2.php:0
Stack trace:
#0 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined offse...', '/var/www/html/o...', 0, Array)
#1 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->GetInvoiceData()
#2 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->CreateInvoice()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/XeroInvoicePostV2.php(0): App\Lib\XeroV2->addInvoices()
#4 [internal function]: App\Console\Commands\XeroInvoicePostV2->fire()
#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\XeroInvoicePostV2), 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-07 05:59:09] Production.INFO: ========================== Exception updated in job and email sent =============================
[2025-01-07 05:59:09] Production.INFO: ==8584== Releasing lock...
[2025-01-07 05:59:09] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10440 #Stops#
[2025-01-07 05:59:09] Production.INFO: 27.5 MB #Memory Used#
[2025-01-07 05:59:12] Production.ERROR: CronJobId end10
[2025-01-07 05:59:12] Production.INFO: ==8590== Releasing lock...
[2025-01-07 05:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 05:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 05:59:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 05:59:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 05:59:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 05:59:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 05:59:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 05:59:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 05:59:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 05:59:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 05:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 05:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 05:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 05:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 05:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 05:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 05:59:14] Production.INFO: call_cost start
[2025-01-07 05:59:14] Production.INFO: call_cost end
[2025-01-07 05:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 05:59:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 05:59:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 05:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 05:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 05:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 05:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 05:59:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 05:59:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 05:59:15] Production.INFO: ==8586== Releasing lock...
[2025-01-07 05:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 05:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 05:59:19] Production.INFO: count ==57
[2025-01-07 05:59:19] Production.ERROR: pbx CDR StartTime 2025-01-07 02:59:05 - End Time 2025-01-07 05:59:05
[2025-01-07 05:59:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 05:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192916', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192916', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192916', 'tblTempVendorCDR_20' ) start
[2025-01-07 05:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192916', 'tblTempVendorCDR_20' ) end
[2025-01-07 05:59:19] Production.INFO: ProcessCDR(1,14192916,1,1,2)
[2025-01-07 05:59:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192916,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:59:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192916,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 05:59:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192916,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192916,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 05:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192916', 'tblTempUsageDetail_20' ) start
[2025-01-07 05:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192916', 'tblTempUsageDetail_20' ) end
[2025-01-07 05:59:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 05:59:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 05:59:22] Production.INFO: ==8595== Releasing lock...
[2025-01-07 05:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 05:59:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 11:00:01] Production.INFO: ==8669== Lock acquired, processing the job...
[2025-01-07 11:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:00:01] Production.INFO: neon service started
[2025-01-07 11:00:01] Production.INFO: neon service started
[2025-01-07 11:00:01] Production.INFO: ==8669== Releasing lock...
[2025-01-07 11:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:00:01] Production.INFO: ==8671== Lock acquired, processing the job...
[2025-01-07 06:00:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:00:02] Production.INFO: ==8673== Lock acquired, processing the job...
[2025-01-07 11:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:00:02] Production.INFO: ==8673== Releasing lock...
[2025-01-07 11:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:00:02] Production.INFO: ==8671== Releasing lock...
[2025-01-07 06:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:00:03] Production.INFO: ==8676== Lock acquired, processing the job...
[2025-01-07 06:00:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10441 #Starts#
[2025-01-07 06:00:03] Production.INFO: -- Xero Api Check --
[2025-01-07 06:00:03] Production.INFO: ==8678== Lock acquired, processing the job...
[2025-01-07 06:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 06:00:03] Production.INFO: ==8680== Lock acquired, processing the job...
[2025-01-07 06:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 06:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 06:00:03] Production.INFO: ==8678== Releasing lock...
[2025-01-07 06:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 06:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 06:00:03] Production.INFO: ==8682== Lock acquired, processing the job...
[2025-01-07 06:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:00:03] Production.INFO: ==8684== Lock acquired, processing the job...
[2025-01-07 06:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:00:04] Production.INFO: ==8686== Lock acquired, processing the job...
[2025-01-07 06:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:00:04] Production.INFO: ==8688== Lock acquired, processing the job...
[2025-01-07 06:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:00:04] Production.INFO: ==8690== Lock acquired, processing the job...
[2025-01-07 06:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 06:00:04] Production.INFO: Account Balance Start.
[2025-01-07 06:00:04] Production.INFO: CreateAllLog Start
[2025-01-07 06:00:04] Production.INFO: 117
[2025-01-07 06:00:04] Production.INFO: Date 2024-12-08
[2025-01-07 06:00:04] Production.INFO: ==8692== Lock acquired, processing the job...
[2025-01-07 06:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:00:04] Production.INFO: Date 2024-12-09
[2025-01-07 06:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:00:04] Production.INFO: count ==21
[2025-01-07 06:00:04] Production.INFO: Date 2024-12-10
[2025-01-07 06:00:04] Production.INFO: ==8682== Releasing lock...
[2025-01-07 06:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:00:04] Production.INFO: count ==21
[2025-01-07 06:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:00:04] Production.ERROR: done
[2025-01-07 06:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192920') start
[2025-01-07 06:00:04] Production.INFO: Date 2024-12-11
[2025-01-07 06:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:00: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.907125
[namelookup_time] => 0.536328
[connect_time] => 0.537542
[pretransfer_time] => 0.843407
[size_upload] => 82
[size_download] => 2755
[speed_download] => 3037
[speed_upload] => 90
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.907089
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.33
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 41294
)
[2025-01-07 06:00:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDc2MDQsImV4cCI6MTczNjI0NzkwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ3NjA0LCJhdF9oYXNoIjoiYzJiU3BKM29lWnFRaGNDLWpLZmJzdyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.IFLxU6214MSlD-c3K-bI0gSxzHMGBOe4NXayqAG1bUBRdxI1ku-g63DrXYnu7f-MiG9KZpT7DF-iQ5Bj4lRBTvlHK9a4LB0Te8ksLOlMT74Ix-ZzX2o-qztuhULRWfiJcAqnlDXIkNX-fhCJYAEc-6JHZaPCNolp_cFz_Yzcvj7arK7ovihQaLmBIyBmYu4eJQKaOtEdGMa0qeNwuzaePeE6nXgBNaa6aGVi6vDgQO-W_Ovly3G7O2C9N0tmu-j9S99SD7zBt0AidJ-oZkzC--uJUJgLA7xOyBPKF-aHclrNi54pl26SILdBUF6AV_yU_aISdnc41cePJhaGPykArg
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDc2MDQsImV4cCI6MTczNjI0OTQwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.K9u_vHQ9sWJPLuS6b9mdRyctYA41UWM-Dtahs8ZqrhC1SMp1FTS9ZruLFXYCO04mG228MsAV1JxaJFa9Uig924bmmqLq-ZacDPLU6Z1eN7Q5IMiKXYrBEuO4uAYxDkDX4OIGdbMiWrcBJwS68jXhzW12RxFabdi-rPGcFsN_vaAFt5zLdcqbczUD7vbojAJHYpIm9jvaYjNm1jVjERKUDvaqBSZTmCbIbMj-bdVvRXd87BWlAsC2Pt_T3jhQzI2QeIwdwyR5pU7ede0Ov0xlKVhOLxWFTjuNCRLKoulYtBIR0ko1EbvQ9NbCXcCMt3KxEARJrOYuzCDRdg7CiOpjPw
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => zeiZD3pLv9PYOD6pkVJPeKIaYHwKQNdKIGuMXqF_P_E
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 06:00:04] Production.INFO: Date 2024-12-12
[2025-01-07 06:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:00:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDc2MDQsImV4cCI6MTczNjI0NzkwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ3NjA0LCJhdF9oYXNoIjoiYzJiU3BKM29lWnFRaGNDLWpLZmJzdyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.IFLxU6214MSlD-c3K-bI0gSxzHMGBOe4NXayqAG1bUBRdxI1ku-g63DrXYnu7f-MiG9KZpT7DF-iQ5Bj4lRBTvlHK9a4LB0Te8ksLOlMT74Ix-ZzX2o-qztuhULRWfiJcAqnlDXIkNX-fhCJYAEc-6JHZaPCNolp_cFz_Yzcvj7arK7ovihQaLmBIyBmYu4eJQKaOtEdGMa0qeNwuzaePeE6nXgBNaa6aGVi6vDgQO-W_Ovly3G7O2C9N0tmu-j9S99SD7zBt0AidJ-oZkzC--uJUJgLA7xOyBPKF-aHclrNi54pl26SILdBUF6AV_yU_aISdnc41cePJhaGPykArg
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDc2MDQsImV4cCI6MTczNjI0OTQwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.K9u_vHQ9sWJPLuS6b9mdRyctYA41UWM-Dtahs8ZqrhC1SMp1FTS9ZruLFXYCO04mG228MsAV1JxaJFa9Uig924bmmqLq-ZacDPLU6Z1eN7Q5IMiKXYrBEuO4uAYxDkDX4OIGdbMiWrcBJwS68jXhzW12RxFabdi-rPGcFsN_vaAFt5zLdcqbczUD7vbojAJHYpIm9jvaYjNm1jVjERKUDvaqBSZTmCbIbMj-bdVvRXd87BWlAsC2Pt_T3jhQzI2QeIwdwyR5pU7ede0Ov0xlKVhOLxWFTjuNCRLKoulYtBIR0ko1EbvQ9NbCXcCMt3KxEARJrOYuzCDRdg7CiOpjPw
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => zeiZD3pLv9PYOD6pkVJPeKIaYHwKQNdKIGuMXqF_P_E
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 06:00:04] Production.INFO: Date 2024-12-13
[2025-01-07 06:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192920') end
[2025-01-07 06:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:00:04] Production.INFO: 1
[2025-01-07 06:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:00:04] Production.ERROR: done
[2025-01-07 06:00:04] Production.INFO: AccountID 52
[2025-01-07 06:00:04] Production.INFO: AccountName Dunbloor Medical Centre
[2025-01-07 06:00:04] Production.INFO: Date 2024-12-14
[2025-01-07 06:00:04] Production.INFO: Checkcustomer
[2025-01-07 06:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:00:04] Production.INFO: ==8692== Releasing lock...
[2025-01-07 06:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:00:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dunbloor%20Medical%20Centre"
[2025-01-07 06:00:04] Production.INFO: Date 2024-12-15
[2025-01-07 06:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:00:04] Production.INFO: Date 2024-12-16
[2025-01-07 06:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:00:04] Production.ERROR: done
[2025-01-07 06:00:04] Production.INFO: Date 2024-12-17
[2025-01-07 06:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:00:04] Production.INFO: Date 2024-12-18
[2025-01-07 06:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:00:05] Production.INFO: Date 2024-12-19
[2025-01-07 06:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 06:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14192922', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 06:00:05] Production.INFO: Date 2024-12-20
[2025-01-07 06:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:00:05] Production.INFO: Date 2024-12-21
[2025-01-07 06:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:00:05] Production.INFO: Date 2024-12-22
[2025-01-07 06:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:00:05] Production.INFO: Date 2024-12-23
[2025-01-07 06:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:00:05] Production.INFO: Date 2024-12-24
[2025-01-07 06:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:00:05] Production.INFO: Date 2024-12-25
[2025-01-07 06:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:00:05] Production.INFO: Date 2024-12-26
[2025-01-07 06:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:00:05] Production.INFO: Date 2024-12-27
[2025-01-07 06:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:00:05] Production.INFO: Date 2024-12-28
[2025-01-07 06:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:00:05] Production.INFO: Date 2024-12-29
[2025-01-07 06:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:00:05] Production.INFO: Date 2024-12-30
[2025-01-07 06:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:00:05] Production.INFO: Date 2024-12-31
[2025-01-07 06:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:00:05] Production.INFO: Date 2025-01-01
[2025-01-07 06:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:00:05] Production.INFO: Date 2025-01-02
[2025-01-07 06:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:00:05] Production.INFO: Date 2025-01-03
[2025-01-07 06:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:00:05] Production.INFO: Date 2025-01-04
[2025-01-07 06:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:00:05] Production.INFO: Date 2025-01-05
[2025-01-07 06:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:00:05] Production.INFO: Date 2025-01-06
[2025-01-07 06:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:00:05] Production.INFO: Date 2025-01-07
[2025-01-07 06:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:00:05] Production.INFO: Total Charge 0
[2025-01-07 06:00:05] Production.INFO: CreateAllLog End
[2025-01-07 06:00:05] Production.INFO: Account Balance End.
[2025-01-07 06:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:00:06
[end_date_ymd] => 2025-01-07 06:00:06
[RateCDR] => 1
)
[2025-01-07 06:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 03:00:06' and `end` < '2025-01-07 06:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 06:00:06] Production.ERROR: CronJobId end 12
[2025-01-07 06:00:06] Production.INFO: ==8686== Releasing lock...
[2025-01-07 06:00:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:00:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:00:07] Production.INFO: Contact id print CheckCustomer Case===afd1bd01-a006-445e-9a92-85deb57a3bc0
[2025-01-07 06:00:07] Production.INFO: -- count --1
[2025-01-07 06:00:07] Production.INFO: AccountID 34
[2025-01-07 06:00:07] Production.INFO: AccountName Escape Games Canada
[2025-01-07 06:00:07] Production.INFO: Checkcustomer
[2025-01-07 06:00:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Escape%20Games%20Canada"
[2025-01-07 06:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14192922', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 06:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 06:00:09] Production.INFO: ProcessCDR(1,14192922,1,1,2)
[2025-01-07 06:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14192922,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14192922,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:00:09] Production.INFO: ==8690== Releasing lock...
[2025-01-07 06:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 06:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-07 06:00:10] Production.INFO: Contact id print CheckCustomer Case===f8bf0f6c-4bd5-483c-b42f-b3dd4f2c7deb
[2025-01-07 06:00:10] Production.INFO: -- count --1
[2025-01-07 06:00:10] Production.INFO: AccountID 145
[2025-01-07 06:00:10] Production.INFO: AccountName Factor Direct Corporation
[2025-01-07 06:00:10] Production.INFO: Checkcustomer
[2025-01-07 06:00:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Factor%20Direct%20Corporation"
[2025-01-07 06:00:13] Production.INFO: Contact id print CheckCustomer Case===7c1277f3-bcd9-451c-bc86-2de69f5b3c16
[2025-01-07 06:00:13] Production.INFO: -- count --1
[2025-01-07 06:00:13] Production.INFO: AccountID 106
[2025-01-07 06:00:13] Production.INFO: AccountName G4 Broker
[2025-01-07 06:00:13] Production.INFO: Checkcustomer
[2025-01-07 06:00:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="G4%20Broker"
[2025-01-07 06:00:15] Production.ERROR: CronJobId end10
[2025-01-07 06:00:15] Production.INFO: ==8684== Releasing lock...
[2025-01-07 06:00:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:00:15] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:00:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:00:16] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:00:16] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:00:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:00:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:00:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:00:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:00:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:00:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:00:16] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:00:16] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:00:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:00:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:00:16] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:00:16] Production.INFO: call_cost start
[2025-01-07 06:00:16] Production.INFO: call_cost end
[2025-01-07 06:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:00:17] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:00:17] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:00:17] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:00:17] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:00:17] Production.INFO: ==8680== Releasing lock...
[2025-01-07 06:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:00:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:00:17] Production.INFO: Contact id print CheckCustomer Case===3cfda7a3-4db5-4680-a967-42dbcc00679b
[2025-01-07 06:00:17] Production.INFO: -- count --1
[2025-01-07 06:00:17] Production.INFO: AccountID 187
[2025-01-07 06:00:17] Production.INFO: AccountName Graybill & Hazlewood - Trial Lawyers
[2025-01-07 06:00:17] Production.INFO: Checkcustomer
[2025-01-07 06:00:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Graybill%20%26%20Hazlewood%20-%20Trial%20Lawyers"
[2025-01-07 06:00:18] Production.INFO: count ==57
[2025-01-07 06:00:18] Production.ERROR: pbx CDR StartTime 2025-01-07 03:00:06 - End Time 2025-01-07 06:00:06
[2025-01-07 06:00:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192921', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192921', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192921', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192921', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:00:18] Production.INFO: ProcessCDR(1,14192921,1,1,2)
[2025-01-07 06:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192921,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:00:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192921,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:00:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192921,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:00:20] Production.INFO: Contact id print CheckCustomer Case===b306e9f3-f561-41b4-bd54-ad2d17a96c90
[2025-01-07 06:00:20] Production.INFO: -- count --1
[2025-01-07 06:00:20] Production.INFO: AccountID 187
[2025-01-07 06:00:20] Production.INFO: AccountName Graybill & Hazlewood - Trial Lawyers
[2025-01-07 06:00:20] Production.INFO: Checkcustomer
[2025-01-07 06:00:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Graybill%20%26%20Hazlewood%20-%20Trial%20Lawyers"
[2025-01-07 06:00:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192921,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192921', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192921', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:00:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:00:22] Production.INFO: ==8688== Releasing lock...
[2025-01-07 06:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:00:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 06:00:23] Production.INFO: Contact id print CheckCustomer Case===b306e9f3-f561-41b4-bd54-ad2d17a96c90
[2025-01-07 06:00:23] Production.INFO: -- count --1
[2025-01-07 06:00:23] Production.INFO: -- Xero Add Inovice --
[2025-01-07 06:00:23] Production.INFO: CheckInvoice xerov2: INV11202
[2025-01-07 06:00:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11202
[2025-01-07 06:00:26] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 06:00:26] Production.INFO: Invoice SubTotal 87.440000
[2025-01-07 06:00:26] Production.INFO: Invoice DetTotal 87.44
[2025-01-07 06:00:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dunbloor%20Medical%20Centre"
[2025-01-07 06:00:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 06:00:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 06:00:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 06:00:35] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 11-13-2024 To 12-12-2024",Quantity : 1,UnitAmount : 14.940000,LineAmount : 14.940000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 10,UnitAmount : 7.000000,LineAmount : 70.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14164821980 - 5115 DUNDAS ST W ETOBICOKE, ON M9A1C1)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 06:00:37] Production.INFO: ==== result =====
[2025-01-07 06:00:37] Production.INFO: {
"Id": "5417e6ab-920b-40c3-bae7-f47e4b2809e6",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736247637962)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "b8e7419f-0b7c-4858-8665-c8a8e8e1ce5c",
"InvoiceNumber": "INV11202",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 98.81,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "afd1bd01-a006-445e-9a92-85deb57a3bc0",
"ContactStatus": "ACTIVE",
"Name": "Dunbloor Medical Centre",
"FirstName": "Ashraf",
"LastName": "Soliman",
"EmailAddress": "dunbloor@outlook.com",
"BankAccountDetails": "",
"TaxNumber": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"AddressLine1": "5115 Dundas Street West",
"AddressLine2": "",
"AddressLine3": "",
"AddressLine4": "",
"City": "Etobicoke",
"Region": "ON",
"PostalCode": "M9A 1C1",
"Country": "Canada",
"AttentionTo": "Ashraf Soliman"
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "(416) 4821980",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "4164821980",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1562268146223+0000)\/",
"ContactGroups": [
{
"ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58",
"Name": "Benjamin's Customers",
"Status": "ACTIVE",
"Contacts": [],
"HasValidationErrors": false
}
],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-13T00:00:00",
"Date": "\/Date(1734048000000+0000)\/",
"DueDateString": "2025-01-12T00:00:00",
"DueDate": "\/Date(1736640000000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "From 11-13-2024 To 12-12-2024",
"UnitAmount": 14.94,
"TaxType": "TAX020",
"TaxAmount": 1.94,
"LineAmount": 14.94,
"AccountCode": "234",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "9ed083d6-e68b-4e01-97fe-b61980ca1e99",
"AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "License for a Pay As You Go Cloud Phone extension",
"UnitAmount": 7.00,
"TaxType": "TAX020",
"TaxAmount": 9.10,
"LineAmount": 70.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 10.0000,
"DiscountRate": 0.00,
"LineItemID": "f5e5298c-0212-4e6c-bbbe-885a02f395c9",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (14164821980 - 5115 DUNDAS ST W ETOBICOKE, ON M9A1C1)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "7b6ec183-18e4-494c-a9fd-0bdfd3707bde",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 87.44,
"TotalTax": 11.37,
"Total": 98.81,
"UpdatedDateUTC": "\/Date(1736247637917+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 06:00:38] Production.INFO: -- Create Invoice id --b8e7419f-0b7c-4858-8665-c8a8e8e1ce5c
[2025-01-07 06:00:38] Production.INFO: -- Create Invoice Done --
[2025-01-07 06:00:38] Production.INFO: CheckInvoice xerov2: INV11250
[2025-01-07 06:00:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11250
[2025-01-07 06:00:40] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 06:00:40] Production.INFO: Invoice SubTotal 16.360000
[2025-01-07 06:00:40] Production.INFO: Invoice DetTotal 16.36
[2025-01-07 06:00:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Escape%20Games%20Canada"
[2025-01-07 06:00:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 06:00:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 06:00:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 06:00:51] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 11-21-2024 To 12-20-2024",Quantity : 1,UnitAmount : 6.110000,LineAmount : 6.110000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 1,UnitAmount : 7.500000,LineAmount : 7.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14166336868 - 15 KODIAK CRES UNIT 5B NORTH YORK, ON M3J3E5)",Quantity : 1,UnitAmount : 2.750000,LineAmount : 2.750000}
[2025-01-07 06:00:54] Production.INFO: ==== result =====
[2025-01-07 06:00:54] Production.INFO: {
"Id": "e3f3ce6b-a96f-471f-96a7-f5af3096a831",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736247654319)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "49554028-9dc3-45db-a342-6d90ff51ef42",
"InvoiceNumber": "INV11250",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 18.49,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "f8bf0f6c-4bd5-483c-b42f-b3dd4f2c7deb",
"ContactStatus": "ACTIVE",
"Name": "Escape Games Canada",
"FirstName": "Shawn",
"LastName": "Fischtein",
"EmailAddress": "shawn@escapegames.ca",
"BankAccountDetails": "",
"TaxNumber": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"AddressLine1": "15 Kodiak Crescent",
"AddressLine2": "Unit 15",
"AddressLine3": "",
"AddressLine4": "",
"City": "Toronto",
"Region": "ON",
"PostalCode": "M3J 3E5",
"Country": "Canada",
"AttentionTo": "Shawn Fischtein"
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "4166336868",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "4166336868",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1562268155850+0000)\/",
"ContactGroups": [
{
"ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58",
"Name": "Benjamin's Customers",
"Status": "ACTIVE",
"Contacts": [],
"HasValidationErrors": false
}
],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-21T00:00:00",
"Date": "\/Date(1734739200000+0000)\/",
"DueDateString": "2025-01-20T00:00:00",
"DueDate": "\/Date(1737331200000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "From 11-21-2024 To 12-20-2024",
"UnitAmount": 6.11,
"TaxType": "TAX020",
"TaxAmount": 0.79,
"LineAmount": 6.11,
"AccountCode": "234",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "481b938e-5c40-46b9-910c-60cc90668c85",
"AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "License for a Pay As You Go Cloud Phone extension",
"UnitAmount": 7.50,
"TaxType": "TAX020",
"TaxAmount": 0.98,
"LineAmount": 7.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "9bc7a6b2-416b-4b6a-9cf8-3a99f85d2c6d",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (14166336868 - 15 KODIAK CRES UNIT 5B NORTH YORK, ON M3J3E5)",
"UnitAmount": 2.75,
"TaxType": "TAX020",
"TaxAmount": 0.36,
"LineAmount": 2.75,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "5ec3d908-de13-41d7-89bb-184f2f0d0f16",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 16.36,
"TotalTax": 2.13,
"Total": 18.49,
"UpdatedDateUTC": "\/Date(1736247654257+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 06:00:54] Production.INFO: -- Create Invoice id --49554028-9dc3-45db-a342-6d90ff51ef42
[2025-01-07 06:00:54] Production.INFO: -- Create Invoice Done --
[2025-01-07 06:00:54] Production.INFO: CheckInvoice xerov2: INV11173
[2025-01-07 06:00:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11173
[2025-01-07 06:00:56] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 06:00:56] Production.INFO: Invoice SubTotal 15.090000
[2025-01-07 06:00:56] Production.INFO: Invoice DetTotal 15.09
[2025-01-07 06:00:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Factor%20Direct%20Corporation"
[2025-01-07 06:00:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 11:01:01] Production.INFO: ==8785== Lock acquired, processing the job...
[2025-01-07 11:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:01:01] Production.INFO: neon service started
[2025-01-07 11:01:01] Production.INFO: neon service started
[2025-01-07 11:01:01] Production.INFO: ==8785== Releasing lock...
[2025-01-07 11:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:01:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 06:01:02] Production.INFO: ==8797== Lock acquired, processing the job...
[2025-01-07 06:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:01:02] Production.INFO: ==8799== Lock acquired, processing the job...
[2025-01-07 11:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:01:02] Production.INFO: ==8799== Releasing lock...
[2025-01-07 11:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:01:02] Production.INFO: ==8797== Releasing lock...
[2025-01-07 06:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:01:03] Production.INFO: ==8801== Lock acquired, processing the job...
[2025-01-07 06:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:01:03] Production.INFO: ==8807== Lock acquired, processing the job...
[2025-01-07 06:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:01:03] Production.INFO: ==8812== Lock acquired, processing the job...
[2025-01-07 06:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:01:03] Production.INFO: ==8803== Lock acquired, processing the job...
[2025-01-07 06:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:01:03] Production.INFO: ==8805== Lock acquired, processing the job...
[2025-01-07 06:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:01:03] Production.INFO: Account Balance Start.
[2025-01-07 06:01:03] Production.INFO: CreateAllLog Start
[2025-01-07 06:01:03] Production.INFO: 117
[2025-01-07 06:01:03] Production.INFO: Date 2024-12-08
[2025-01-07 06:01:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:01:03] Production.INFO: count ==21
[2025-01-07 06:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:01:03] Production.INFO: count ==21
[2025-01-07 06:01:03] Production.INFO: ==8809== Lock acquired, processing the job...
[2025-01-07 06:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192925') start
[2025-01-07 06:01:04] Production.INFO: Date 2024-12-09
[2025-01-07 06:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:01:04] Production.INFO: Date 2024-12-10
[2025-01-07 06:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192925') end
[2025-01-07 06:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:01:04] Production.INFO: 1
[2025-01-07 06:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:01:04] Production.INFO: Date 2024-12-11
[2025-01-07 06:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:01:04] Production.INFO: Date 2024-12-12
[2025-01-07 06:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:01:04] Production.INFO: Date 2024-12-13
[2025-01-07 06:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:01:04] Production.INFO: ==8803== Releasing lock...
[2025-01-07 06:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:01:04] Production.INFO: ==8812== Releasing lock...
[2025-01-07 06:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:01:04] Production.INFO: Date 2024-12-14
[2025-01-07 06:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:01:04] Production.INFO: Date 2024-12-15
[2025-01-07 06:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:01:04] Production.INFO: Date 2024-12-16
[2025-01-07 06:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:01:04] Production.INFO: Date 2024-12-17
[2025-01-07 06:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:01:04] Production.ERROR: done
[2025-01-07 06:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:01:04] Production.INFO: Date 2024-12-18
[2025-01-07 06:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:01:04] Production.INFO: Date 2024-12-19
[2025-01-07 06:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:01:04] Production.INFO: Date 2024-12-20
[2025-01-07 06:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:01:04] Production.INFO: Date 2024-12-21
[2025-01-07 06:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:01:04] Production.ERROR: done
[2025-01-07 06:01:04] Production.INFO: Date 2024-12-22
[2025-01-07 06:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:01:04] Production.INFO: Date 2024-12-23
[2025-01-07 06:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:01:04] Production.INFO: Date 2024-12-24
[2025-01-07 06:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:01:04] Production.INFO: Date 2024-12-25
[2025-01-07 06:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:01:04] Production.INFO: Date 2024-12-26
[2025-01-07 06:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:01:04] Production.INFO: Date 2024-12-27
[2025-01-07 06:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:01:04] Production.INFO: Date 2024-12-28
[2025-01-07 06:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:01:04] Production.INFO: Date 2024-12-29
[2025-01-07 06:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:01:04] Production.INFO: Date 2024-12-30
[2025-01-07 06:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:01:04] Production.INFO: Date 2024-12-31
[2025-01-07 06:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:01:04] Production.INFO: Date 2025-01-01
[2025-01-07 06:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:01:04] Production.INFO: Date 2025-01-02
[2025-01-07 06:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:01:04] Production.INFO: Date 2025-01-03
[2025-01-07 06:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:01:04] Production.INFO: Date 2025-01-04
[2025-01-07 06:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:01:04] Production.INFO: Date 2025-01-05
[2025-01-07 06:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:01:04] Production.INFO: Date 2025-01-06
[2025-01-07 06:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:01:04] Production.INFO: Date 2025-01-07
[2025-01-07 06:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:01:04] Production.INFO: Total Charge 0
[2025-01-07 06:01:04] Production.INFO: CreateAllLog End
[2025-01-07 06:01:05] Production.INFO: Account Balance End.
[2025-01-07 06:01:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 06:01:05] Production.ERROR: CronJobId end 12
[2025-01-07 06:01:05] Production.INFO: ==8807== Releasing lock...
[2025-01-07 06:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:01:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:01:05
[end_date_ymd] => 2025-01-07 06:01:05
[RateCDR] => 1
)
[2025-01-07 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-07 03:01:05' and `end` < '2025-01-07 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-07 06:01:08] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 11-08-2024 To 12-07-2024",Quantity : 1,UnitAmount : 0.090000,LineAmount : 0.090000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 3,UnitAmount : 5.000000,LineAmount : 15.000000}
[2025-01-07 06:01:11] Production.INFO: ==== result =====
[2025-01-07 06:01:11] Production.INFO: {
"Id": "face3c1e-d409-4d3b-84f0-a3deb0e146c6",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736247671423)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "18bd2aa5-8a4f-48df-888c-327048dbc073",
"InvoiceNumber": "INV11173",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 17.05,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "7c1277f3-bcd9-451c-bc86-2de69f5b3c16",
"ContactStatus": "ACTIVE",
"Name": "Factor Direct Corporation",
"FirstName": "Liliya",
"LastName": "Erlikh",
"EmailAddress": "Liliya@factordirectcorp.com",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1629163989493+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-08T00:00:00",
"Date": "\/Date(1733616000000+0000)\/",
"DueDateString": "2025-01-07T00:00:00",
"DueDate": "\/Date(1736208000000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "From 11-08-2024 To 12-07-2024",
"UnitAmount": 0.09,
"TaxType": "TAX020",
"TaxAmount": 0.01,
"LineAmount": 0.09,
"AccountCode": "234",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "2629386e-9720-4b52-845b-044be9fec141",
"AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "License for a Pay As You Go Cloud Phone extension",
"UnitAmount": 5.00,
"TaxType": "TAX020",
"TaxAmount": 1.95,
"LineAmount": 15.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 3.0000,
"DiscountRate": 0.00,
"LineItemID": "92854fe8-ff54-44fe-8d4f-63bebcb454e2",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 15.09,
"TotalTax": 1.96,
"Total": 17.05,
"UpdatedDateUTC": "\/Date(1736247671377+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 06:01:11] Production.INFO: -- Create Invoice id --18bd2aa5-8a4f-48df-888c-327048dbc073
[2025-01-07 06:01:11] Production.INFO: -- Create Invoice Done --
[2025-01-07 06:01:11] Production.INFO: CheckInvoice xerov2: INV11194
[2025-01-07 06:01:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11194
[2025-01-07 06:01:12] Production.ERROR: CronJobId end10
[2025-01-07 06:01:12] Production.INFO: ==8805== Releasing lock...
[2025-01-07 06:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:01:13] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 06:01:13] Production.INFO: Invoice SubTotal 9.500000
[2025-01-07 06:01:13] Production.INFO: Invoice DetTotal 9.5
[2025-01-07 06:01:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="G4%20Broker"
[2025-01-07 06:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:01:14] Production.INFO: call_cost start
[2025-01-07 06:01:14] Production.INFO: call_cost end
[2025-01-07 06:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:01:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:01:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:01:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:01:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:01:15] Production.INFO: ==8801== Releasing lock...
[2025-01-07 06:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:01:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 06:01:18] Production.INFO: count ==57
[2025-01-07 06:01:18] Production.ERROR: pbx CDR StartTime 2025-01-07 03:01:05 - End Time 2025-01-07 06:01:05
[2025-01-07 06:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192927', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192927', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192927', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192927', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:01:18] Production.INFO: ProcessCDR(1,14192927,1,1,2)
[2025-01-07 06:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192927,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192927,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192927,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:01:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 06:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192927,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192927', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192927', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:01:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:01:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:01:21] Production.INFO: ==8809== Releasing lock...
[2025-01-07 06:01:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:01:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 06:01:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 06:01:24] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 1,UnitAmount : 7.000000,LineAmount : 7.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (13652350035 - 145 Royal Crest Court 4 Unionville, ON L3R 9Z4 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 06:01:27] Production.INFO: ==== result =====
[2025-01-07 06:01:27] Production.INFO: {
"Id": "0d3274e3-f1c1-470d-8884-191f380fe344",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736247687014)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "693a0bc7-5013-49cf-9e70-91e2ff410ca6",
"InvoiceNumber": "INV11194",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 10.74,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "3cfda7a3-4db5-4680-a967-42dbcc00679b",
"ContactStatus": "ACTIVE",
"Name": "G4 Broker",
"FirstName": "Paul",
"LastName": "Mann",
"EmailAddress": "paul.mann@aaxelinsurance.com",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1580834599177+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-11T00:00:00",
"Date": "\/Date(1733875200000+0000)\/",
"DueDateString": "2025-01-10T00:00:00",
"DueDate": "\/Date(1736467200000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "License for a Pay As You Go Cloud Phone extension",
"UnitAmount": 7.00,
"TaxType": "TAX020",
"TaxAmount": 0.91,
"LineAmount": 7.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "1f9ebdf4-2d4e-4a6d-b303-0b229501b2b2",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (13652350035 - 145 Royal Crest Court 4 Unionville, ON L3R 9Z4 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "d417fdcb-56b0-4244-ae21-413e01b2045f",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 9.50,
"TotalTax": 1.24,
"Total": 10.74,
"UpdatedDateUTC": "\/Date(1736247686937+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 06:01:27] Production.INFO: -- Create Invoice id --693a0bc7-5013-49cf-9e70-91e2ff410ca6
[2025-01-07 06:01:27] Production.INFO: -- Create Invoice Done --
[2025-01-07 06:01:27] Production.INFO: CheckInvoice xerov2: INV11064
[2025-01-07 06:01:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11064
[2025-01-07 06:01:30] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 06:01:30] Production.INFO: Invoice SubTotal 40.500000
[2025-01-07 06:01:30] Production.INFO: Invoice DetTotal 40.5
[2025-01-07 06:01:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Graybill%20%26%20Hazlewood%20-%20Trial%20Lawyers"
[2025-01-07 06:01:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 06:01:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 06:01:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 06:01:41] Production.INFO: =========Invoices String here======{AccountCode : 250,"Description": "Microsoft Office 365 Business - Security Add-on - IronScales Core",Quantity : 9,UnitAmount : 4.500000,LineAmount : 40.500000}
[2025-01-07 06:01:44] Production.INFO: ==== result =====
[2025-01-07 06:01:44] Production.INFO: {
"Id": "817bc40c-96a1-4daf-888f-471ab65e78bd",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736247703950)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "dae6ebf6-8bae-4b7f-8530-1314c7fcbeba",
"InvoiceNumber": "INV11064",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 45.77,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"IsDiscounted": false,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "b306e9f3-f561-41b4-bd54-ad2d17a96c90",
"ContactStatus": "ACTIVE",
"Name": "Graybill & Hazlewood - Trial Lawyers",
"FirstName": "Russ",
"LastName": "Hazlewood",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1682945560397+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-11-15T00:00:00",
"Date": "\/Date(1731628800000+0000)\/",
"DueDateString": "2024-11-22T00:00:00",
"DueDate": "\/Date(1732233600000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Microsoft Office 365 Business - Security Add-on - IronScales Core",
"UnitAmount": 4.50,
"TaxType": "OUTPUT",
"TaxAmount": 5.27,
"LineAmount": 40.50,
"AccountCode": "250",
"Tracking": [],
"Quantity": 9.0000,
"LineItemID": "d749968b-802f-4ced-9cb3-f7e453ee1d09",
"AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7",
"ValidationErrors": []
}
],
"SubTotal": 40.50,
"TotalTax": 5.27,
"Total": 45.77,
"UpdatedDateUTC": "\/Date(1736247703903+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 06:01:44] Production.INFO: -- Create Invoice id --dae6ebf6-8bae-4b7f-8530-1314c7fcbeba
[2025-01-07 06:01:44] Production.INFO: -- Create Invoice Done --
[2025-01-07 06:01:44] Production.INFO: CheckInvoice xerov2: INV11226
[2025-01-07 06:01:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11226
[2025-01-07 06:01:46] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 06:01:46] Production.INFO: Invoice SubTotal 40.500000
[2025-01-07 06:01:46] Production.INFO: Invoice DetTotal 40.5
[2025-01-07 06:01:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Graybill%20%26%20Hazlewood%20-%20Trial%20Lawyers"
[2025-01-07 06:01:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 06:01:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 06:01:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 06:01:56] Production.INFO: =========Invoices String here======{AccountCode : 250,"Description": "Microsoft Office 365 Business - Security Add-on - IronScales Core",Quantity : 9,UnitAmount : 4.500000,LineAmount : 40.500000}
[2025-01-07 06:01:58] Production.INFO: ==== result =====
[2025-01-07 06:01:58] Production.INFO: {
"Id": "1b854e79-65f6-4f3b-af87-6f4701ecf51a",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736247718598)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "2c715cc6-a72e-49bc-a157-023ccc8c013f",
"InvoiceNumber": "INV11226",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 45.77,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"IsDiscounted": false,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "b306e9f3-f561-41b4-bd54-ad2d17a96c90",
"ContactStatus": "ACTIVE",
"Name": "Graybill & Hazlewood - Trial Lawyers",
"FirstName": "Russ",
"LastName": "Hazlewood",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1682945560397+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-15T00:00:00",
"Date": "\/Date(1734220800000+0000)\/",
"DueDateString": "2024-12-22T00:00:00",
"DueDate": "\/Date(1734825600000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Microsoft Office 365 Business - Security Add-on - IronScales Core",
"UnitAmount": 4.50,
"TaxType": "OUTPUT",
"TaxAmount": 5.27,
"LineAmount": 40.50,
"AccountCode": "250",
"Tracking": [],
"Quantity": 9.0000,
"LineItemID": "474ea90b-e94e-4ada-af54-c5ff57ce9e23",
"AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7",
"ValidationErrors": []
}
],
"SubTotal": 40.50,
"TotalTax": 5.27,
"Total": 45.77,
"UpdatedDateUTC": "\/Date(1736247718567+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 06:01:58] Production.INFO: -- Create Invoice id --2c715cc6-a72e-49bc-a157-023ccc8c013f
[2025-01-07 06:01:58] Production.INFO: -- Create Invoice Done --
[2025-01-07 06:01:58] Production.INFO: -- Xero End Inovice --
[2025-01-07 06:01:58] Production.INFO: ==8676== Releasing lock...
[2025-01-07 06:01:58] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10441 #Stops#
[2025-01-07 06:01:58] Production.INFO: 32.5 MB #Memory Used#
[2025-01-07 11:02:02] Production.INFO: ==8899== Lock acquired, processing the job...
[2025-01-07 11:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:02:02] Production.INFO: neon service started
[2025-01-07 11:02:02] Production.INFO: neon service started
[2025-01-07 11:02:02] Production.INFO: ==8899== Releasing lock...
[2025-01-07 11:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:02:02] Production.INFO: ==8905== Lock acquired, processing the job...
[2025-01-07 11:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:02:02] Production.INFO: ==8905== Releasing lock...
[2025-01-07 11:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:02:02] Production.INFO: ==8903== Lock acquired, processing the job...
[2025-01-07 06:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:02:03] Production.INFO: ==8903== Releasing lock...
[2025-01-07 06:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:02:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:02:03] Production.INFO: ==8907== Lock acquired, processing the job...
[2025-01-07 06:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:02:03] Production.INFO: ==8909== Lock acquired, processing the job...
[2025-01-07 06:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:02:03] Production.INFO: ==8911== Lock acquired, processing the job...
[2025-01-07 06:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:02:04] Production.INFO: ==8913== Lock acquired, processing the job...
[2025-01-07 06:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:02:04] Production.INFO: ==8916== Lock acquired, processing the job...
[2025-01-07 06:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:02:04] Production.INFO: ==8909== Releasing lock...
[2025-01-07 06:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:02:04] Production.INFO: Account Balance Start.
[2025-01-07 06:02:04] Production.INFO: CreateAllLog Start
[2025-01-07 06:02:04] Production.INFO: 117
[2025-01-07 06:02:04] Production.INFO: Date 2024-12-08
[2025-01-07 06:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:02:04] Production.INFO: ==8918== Lock acquired, processing the job...
[2025-01-07 06:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:02:04] Production.INFO: Date 2024-12-09
[2025-01-07 06:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:02:04] Production.INFO: Date 2024-12-10
[2025-01-07 06:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:02:04] Production.INFO: Date 2024-12-11
[2025-01-07 06:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:02:04] Production.INFO: Date 2024-12-12
[2025-01-07 06:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:02:04] Production.INFO: count ==21
[2025-01-07 06:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:02:04] Production.INFO: count ==21
[2025-01-07 06:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192931') start
[2025-01-07 06:02:04] Production.INFO: Date 2024-12-13
[2025-01-07 06:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:02:04] Production.INFO: Date 2024-12-14
[2025-01-07 06:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:02:04] Production.ERROR: done
[2025-01-07 06:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192931') end
[2025-01-07 06:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:02:04] Production.INFO: 1
[2025-01-07 06:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:02:04] Production.INFO: Date 2024-12-15
[2025-01-07 06:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:02:04] Production.INFO: ==8918== Releasing lock...
[2025-01-07 06:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:02:04] Production.INFO: Date 2024-12-16
[2025-01-07 06:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:02:04] Production.INFO: Date 2024-12-17
[2025-01-07 06:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:02:04] Production.ERROR: done
[2025-01-07 06:02:04] Production.INFO: Date 2024-12-18
[2025-01-07 06:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:02:04] Production.INFO: Date 2024-12-19
[2025-01-07 06:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:02:04] Production.INFO: Date 2024-12-20
[2025-01-07 06:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:02:05] Production.INFO: Date 2024-12-21
[2025-01-07 06:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:02:05] Production.INFO: Date 2024-12-22
[2025-01-07 06:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:02:05] Production.INFO: Date 2024-12-23
[2025-01-07 06:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:02:05] Production.INFO: Date 2024-12-24
[2025-01-07 06:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:02:05] Production.INFO: Date 2024-12-25
[2025-01-07 06:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:02:05] Production.INFO: Date 2024-12-26
[2025-01-07 06:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:02:05] Production.INFO: Date 2024-12-27
[2025-01-07 06:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:02:05] Production.INFO: Date 2024-12-28
[2025-01-07 06:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:02:05] Production.INFO: Date 2024-12-29
[2025-01-07 06:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:02:05] Production.INFO: Date 2024-12-30
[2025-01-07 06:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:02:05] Production.INFO: Date 2024-12-31
[2025-01-07 06:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:02:05] Production.INFO: Date 2025-01-01
[2025-01-07 06:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:02:05] Production.INFO: Date 2025-01-02
[2025-01-07 06:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:02:05] Production.INFO: Date 2025-01-03
[2025-01-07 06:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:02:05] Production.INFO: Date 2025-01-04
[2025-01-07 06:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:02:05] Production.INFO: Date 2025-01-05
[2025-01-07 06:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:02:05] Production.INFO: Date 2025-01-06
[2025-01-07 06:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:02:05] Production.INFO: Date 2025-01-07
[2025-01-07 06:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:02:05
[end_date_ymd] => 2025-01-07 06:02:05
[RateCDR] => 1
)
[2025-01-07 06:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 03:02:05' and `end` < '2025-01-07 06:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 06:02:05] Production.INFO: Total Charge 0
[2025-01-07 06:02:05] Production.INFO: CreateAllLog End
[2025-01-07 06:02:05] Production.INFO: Account Balance End.
[2025-01-07 06:02:06] Production.ERROR: CronJobId end 12
[2025-01-07 06:02:06] Production.INFO: ==8913== Releasing lock...
[2025-01-07 06:02:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:02:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:02:11] Production.ERROR: CronJobId end10
[2025-01-07 06:02:11] Production.INFO: ==8911== Releasing lock...
[2025-01-07 06:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:02:13] Production.INFO: call_cost start
[2025-01-07 06:02:13] Production.INFO: call_cost end
[2025-01-07 06:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:02:14] Production.INFO: ==8907== Releasing lock...
[2025-01-07 06:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:02:19] Production.INFO: count ==57
[2025-01-07 06:02:19] Production.ERROR: pbx CDR StartTime 2025-01-07 03:02:05 - End Time 2025-01-07 06:02:05
[2025-01-07 06:02:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192932', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192932', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192932', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192932', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:02:19] Production.INFO: ProcessCDR(1,14192932,1,1,2)
[2025-01-07 06:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192932,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192932,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192932,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:02:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192932,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192932', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192932', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:02:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:02:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:02:23] Production.INFO: ==8916== Releasing lock...
[2025-01-07 06:02:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:02:23] Production.INFO: 28 MB #Memory Used#
[2025-01-07 11:03:01] Production.INFO: ==8986== Lock acquired, processing the job...
[2025-01-07 11:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:03:01] Production.INFO: neon service started
[2025-01-07 11:03:01] Production.INFO: neon service started
[2025-01-07 11:03:01] Production.INFO: ==8986== Releasing lock...
[2025-01-07 11:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:03:01] Production.INFO: ==8988== Lock acquired, processing the job...
[2025-01-07 06:03:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:03:02] Production.INFO: ==8988== Releasing lock...
[2025-01-07 06:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:03:02] Production.INFO: ==8990== Lock acquired, processing the job...
[2025-01-07 11:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:03:02] Production.INFO: ==8990== Releasing lock...
[2025-01-07 11:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:03:03] Production.INFO: ==8998== Lock acquired, processing the job...
[2025-01-07 06:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:03:03] Production.INFO: Account Balance Start.
[2025-01-07 06:03:03] Production.INFO: CreateAllLog Start
[2025-01-07 06:03:03] Production.INFO: 117
[2025-01-07 06:03:03] Production.INFO: Date 2024-12-08
[2025-01-07 06:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:03:03] Production.INFO: Date 2024-12-09
[2025-01-07 06:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:03:03] Production.INFO: Date 2024-12-10
[2025-01-07 06:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:03:03] Production.INFO: Date 2024-12-11
[2025-01-07 06:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:03:03] Production.INFO: Date 2024-12-12
[2025-01-07 06:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:03:03] Production.INFO: Date 2024-12-13
[2025-01-07 06:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:03:03] Production.INFO: Date 2024-12-14
[2025-01-07 06:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:03:03] Production.INFO: ==8992== Lock acquired, processing the job...
[2025-01-07 06:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:03:03] Production.INFO: Date 2024-12-15
[2025-01-07 06:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:03:03] Production.INFO: ==8994== Lock acquired, processing the job...
[2025-01-07 06:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:03:03] Production.INFO: Date 2024-12-16
[2025-01-07 06:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:03:03] Production.INFO: ==8996== Lock acquired, processing the job...
[2025-01-07 06:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:03:03] Production.INFO: Date 2024-12-17
[2025-01-07 06:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:03:03] Production.INFO: ==9000== Lock acquired, processing the job...
[2025-01-07 06:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:03:03] Production.INFO: Date 2024-12-18
[2025-01-07 06:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:03:03] Production.INFO: Date 2024-12-19
[2025-01-07 06:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:03:03] Production.INFO: ==9002== Lock acquired, processing the job...
[2025-01-07 06:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:03:03] Production.INFO: Date 2024-12-20
[2025-01-07 06:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:03:03] Production.INFO: Date 2024-12-21
[2025-01-07 06:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:03:03] Production.INFO: Date 2024-12-22
[2025-01-07 06:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:03:03] Production.INFO: Date 2024-12-23
[2025-01-07 06:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:03:03] Production.INFO: ==8994== Releasing lock...
[2025-01-07 06:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 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-07 06:03:03] Production.INFO: Date 2024-12-24
[2025-01-07 06:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:03:03] Production.INFO: Date 2024-12-25
[2025-01-07 06:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:03:03] Production.INFO: Date 2024-12-26
[2025-01-07 06:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:03:03] Production.INFO: count ==21
[2025-01-07 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-07 06:03:03] Production.INFO: count ==21
[2025-01-07 06:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192936') start
[2025-01-07 06:03:04] Production.ERROR: done
[2025-01-07 06:03:04] Production.INFO: Date 2024-12-27
[2025-01-07 06:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:03:04] Production.INFO: Date 2024-12-28
[2025-01-07 06:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:03:04] Production.INFO: Date 2024-12-29
[2025-01-07 06:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192936') end
[2025-01-07 06:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:03:04] Production.INFO: 1
[2025-01-07 06:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:03:04] Production.INFO: Date 2024-12-30
[2025-01-07 06:03:04] Production.INFO: ==9002== Releasing lock...
[2025-01-07 06:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:03:04] Production.INFO: Date 2024-12-31
[2025-01-07 06:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:03:04] Production.ERROR: done
[2025-01-07 06:03:04] Production.INFO: Date 2025-01-01
[2025-01-07 06:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:03:04] Production.INFO: Date 2025-01-02
[2025-01-07 06:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:03:04] Production.INFO: Date 2025-01-03
[2025-01-07 06:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:03:04] Production.INFO: Date 2025-01-04
[2025-01-07 06:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:03:04] Production.INFO: Date 2025-01-05
[2025-01-07 06:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:03:04] Production.INFO: Date 2025-01-06
[2025-01-07 06:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:03:04] Production.INFO: Date 2025-01-07
[2025-01-07 06:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:03:04] Production.INFO: Total Charge 0
[2025-01-07 06:03:04] Production.INFO: CreateAllLog End
[2025-01-07 06:03:04] Production.INFO: Account Balance End.
[2025-01-07 06:03:04] Production.ERROR: CronJobId end 12
[2025-01-07 06:03:04] Production.INFO: ==8998== Releasing lock...
[2025-01-07 06:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:03:05
[end_date_ymd] => 2025-01-07 06:03:05
[RateCDR] => 1
)
[2025-01-07 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-07 03:03:05' and `end` < '2025-01-07 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-07 06:03:10] Production.ERROR: CronJobId end10
[2025-01-07 06:03:10] Production.INFO: ==8996== Releasing lock...
[2025-01-07 06:03:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:03:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:03:13] Production.INFO: call_cost start
[2025-01-07 06:03:13] Production.INFO: call_cost end
[2025-01-07 06:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:03:14] Production.INFO: ==8992== Releasing lock...
[2025-01-07 06:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:03:19] Production.INFO: count ==57
[2025-01-07 06:03:19] Production.ERROR: pbx CDR StartTime 2025-01-07 03:03:05 - End Time 2025-01-07 06:03:05
[2025-01-07 06:03:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192937', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192937', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192937', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192937', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:03:19] Production.INFO: ProcessCDR(1,14192937,1,1,2)
[2025-01-07 06:03:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192937,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192937,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192937,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192937,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192937', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192937', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:03:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:03:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:03:22] Production.INFO: ==9000== Releasing lock...
[2025-01-07 06:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:03:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 11:04:02] Production.INFO: ==9072== Lock acquired, processing the job...
[2025-01-07 11:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:04:02] Production.INFO: neon service started
[2025-01-07 11:04:02] Production.INFO: neon service started
[2025-01-07 11:04:02] Production.INFO: ==9072== Releasing lock...
[2025-01-07 11:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:04:02] Production.INFO: ==9074== Lock acquired, processing the job...
[2025-01-07 06:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:04:02] Production.INFO: ==9074== Releasing lock...
[2025-01-07 06:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:04:02] Production.INFO: ==9076== Lock acquired, processing the job...
[2025-01-07 11:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:04:02] Production.INFO: ==9076== Releasing lock...
[2025-01-07 11:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:04:03] Production.INFO: ==9080== Lock acquired, processing the job...
[2025-01-07 06:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:04:03] Production.INFO: ==9084== Lock acquired, processing the job...
[2025-01-07 06:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:04:03] Production.INFO: ==9078== Lock acquired, processing the job...
[2025-01-07 06:04:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10442 #Starts#
[2025-01-07 06:04:03] Production.INFO: ==9082== Lock acquired, processing the job...
[2025-01-07 06:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:04:03] Production.INFO: -- Xero Api Check --
[2025-01-07 06:04:03] Production.INFO: ==9090== Lock acquired, processing the job...
[2025-01-07 06:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:04:03] Production.INFO: ==9086== Lock acquired, processing the job...
[2025-01-07 06:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:04:03] Production.INFO: ==9088== Lock acquired, processing the job...
[2025-01-07 06:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 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-07 06:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:04:04] Production.INFO: count ==21
[2025-01-07 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-07 06:04:04] Production.INFO: Account Balance Start.
[2025-01-07 06:04:04] Production.INFO: CreateAllLog Start
[2025-01-07 06:04:04] Production.INFO: count ==21
[2025-01-07 06:04:04] Production.INFO: 117
[2025-01-07 06:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192940') start
[2025-01-07 06:04:04] Production.INFO: Date 2024-12-08
[2025-01-07 06:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:04:04] Production.INFO: Date 2024-12-09
[2025-01-07 06:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:04:04] Production.INFO: ==9082== Releasing lock...
[2025-01-07 06:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192940') end
[2025-01-07 06:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:04:04] Production.INFO: 1
[2025-01-07 06:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:04:04] Production.INFO: Date 2024-12-10
[2025-01-07 06:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:04:04] Production.ERROR: done
[2025-01-07 06:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:04:04] Production.INFO: ==9090== Releasing lock...
[2025-01-07 06:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:04:04] Production.INFO: Date 2024-12-11
[2025-01-07 06:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:04:04] Production.INFO: Date 2024-12-12
[2025-01-07 06:04:04] Production.ERROR: done
[2025-01-07 06:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:04: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] => 856
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.74538
[namelookup_time] => 0.275159
[connect_time] => 0.285819
[pretransfer_time] => 0.55324
[size_upload] => 82
[size_download] => 2755
[speed_download] => 3696
[speed_upload] => 110
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.745351
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.17
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 43492
)
[2025-01-07 06:04:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDc4NDQsImV4cCI6MTczNjI0ODE0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ3ODQ0LCJhdF9oYXNoIjoibkdpWHJxenB5bW13bC16ZHM3cGd3ZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.SMPon2POWZDxQMtcvkcc2NQw78Qx75LoST2SkA4I2w6CIBmwJ2dHYhY13gDr6es56gkS4rFDybJtaFF33EBFu09AXUi4il0fNj8_urAdnr9SKhSJiv5kDscVvWVjLcKw5JN6-jY8kCIvNyk5cMsljsY2RBLjIC1WrjdZf3ZtL02splStRnI5ydW4pHtaGD40QeNkkcl2jSac_SvSRuVKUb9TEQo1yAk9cXordTw-8gAnLh3_lg2db6tF4dLPa04FPpIEfe3KZb8tm1qtXkboXvM-p-VgiYF4gbNS4zaejMww8db887NKBZFQhmm0c_t1NXCJgoUmUx8tIMrdSIfnOQ
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDc4NDQsImV4cCI6MTczNjI0OTY0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.gUgO5_cIC7vO_AdMQCW9jNWm7odeFJ96vDZXi8vHc2gHBYJ06H-WnD1XkqJaanqkmDvGdC2qoG1tz43oV44zKkoOivXKSjiJnvb6_N9RLiWE7fFbfRz8YreDirhVJbv6CZRsnDN8ILPEhBQYp_aBX46X6QVdc2QQvpliXs4WxII9uW9qQlnYrFPz9rUBE7K2ze6HJs9if07fLy8RAQnKLDVVeTFYuHzGE2XjQnc2UQVqspxAIpuLnxMjCjY_hQKUfiQ-KD4N6bhfAhjMogAR_KALDYJe_i7RDNG3T72Zl0aEX0FyWR-I4axppmjMHyLS7e2iyOAdCe6yY86P3phT8Q
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => 23vkJEQtPIXkbVUDvYiKv88tyA1iXwVXttVn-ukqBgQ
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 06:04:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDc4NDQsImV4cCI6MTczNjI0ODE0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ3ODQ0LCJhdF9oYXNoIjoibkdpWHJxenB5bW13bC16ZHM3cGd3ZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.SMPon2POWZDxQMtcvkcc2NQw78Qx75LoST2SkA4I2w6CIBmwJ2dHYhY13gDr6es56gkS4rFDybJtaFF33EBFu09AXUi4il0fNj8_urAdnr9SKhSJiv5kDscVvWVjLcKw5JN6-jY8kCIvNyk5cMsljsY2RBLjIC1WrjdZf3ZtL02splStRnI5ydW4pHtaGD40QeNkkcl2jSac_SvSRuVKUb9TEQo1yAk9cXordTw-8gAnLh3_lg2db6tF4dLPa04FPpIEfe3KZb8tm1qtXkboXvM-p-VgiYF4gbNS4zaejMww8db887NKBZFQhmm0c_t1NXCJgoUmUx8tIMrdSIfnOQ
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDc4NDQsImV4cCI6MTczNjI0OTY0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.gUgO5_cIC7vO_AdMQCW9jNWm7odeFJ96vDZXi8vHc2gHBYJ06H-WnD1XkqJaanqkmDvGdC2qoG1tz43oV44zKkoOivXKSjiJnvb6_N9RLiWE7fFbfRz8YreDirhVJbv6CZRsnDN8ILPEhBQYp_aBX46X6QVdc2QQvpliXs4WxII9uW9qQlnYrFPz9rUBE7K2ze6HJs9if07fLy8RAQnKLDVVeTFYuHzGE2XjQnc2UQVqspxAIpuLnxMjCjY_hQKUfiQ-KD4N6bhfAhjMogAR_KALDYJe_i7RDNG3T72Zl0aEX0FyWR-I4axppmjMHyLS7e2iyOAdCe6yY86P3phT8Q
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => 23vkJEQtPIXkbVUDvYiKv88tyA1iXwVXttVn-ukqBgQ
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 06:04:04] Production.INFO: Date 2024-12-13
[2025-01-07 06:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:04:04] Production.INFO: AccountID 78
[2025-01-07 06:04:04] Production.INFO: AccountName Halcyon Travel
[2025-01-07 06:04:04] Production.INFO: Checkcustomer
[2025-01-07 06:04:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Halcyon%20Travel"
[2025-01-07 06:04:04] Production.INFO: Date 2024-12-14
[2025-01-07 06:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:04:04] Production.INFO: Date 2024-12-15
[2025-01-07 06:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:04:04] Production.INFO: Date 2024-12-16
[2025-01-07 06:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:04:04] Production.INFO: Date 2024-12-17
[2025-01-07 06:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:04:04] Production.INFO: Date 2024-12-18
[2025-01-07 06:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:04:04] Production.INFO: Date 2024-12-19
[2025-01-07 06:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:04:04] Production.INFO: Date 2024-12-20
[2025-01-07 06:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:04:04] Production.INFO: Date 2024-12-21
[2025-01-07 06:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:04:04] Production.INFO: Date 2024-12-22
[2025-01-07 06:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:04:04] Production.INFO: Date 2024-12-23
[2025-01-07 06:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:04:04] Production.INFO: Date 2024-12-24
[2025-01-07 06:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:04:04] Production.INFO: Date 2024-12-25
[2025-01-07 06:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:04:05] Production.INFO: Date 2024-12-26
[2025-01-07 06:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:04:05] Production.INFO: Date 2024-12-27
[2025-01-07 06:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:04:05] Production.INFO: Date 2024-12-28
[2025-01-07 06:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:04:05] Production.INFO: Date 2024-12-29
[2025-01-07 06:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:04:05] Production.INFO: Date 2024-12-30
[2025-01-07 06:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:04:05] Production.INFO: Date 2024-12-31
[2025-01-07 06:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:04:05] Production.INFO: Date 2025-01-01
[2025-01-07 06:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:04:05] Production.INFO: Date 2025-01-02
[2025-01-07 06:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:04:05] Production.INFO: Date 2025-01-03
[2025-01-07 06:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:04:05] Production.INFO: Date 2025-01-04
[2025-01-07 06:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:04:05] Production.INFO: Date 2025-01-05
[2025-01-07 06:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:04:05] Production.INFO: Date 2025-01-06
[2025-01-07 06:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:04:05] Production.INFO: Date 2025-01-07
[2025-01-07 06:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:04:05] Production.INFO: Total Charge 0
[2025-01-07 06:04:05] Production.INFO: CreateAllLog End
[2025-01-07 06:04:05] Production.INFO: Account Balance End.
[2025-01-07 06:04:05] Production.ERROR: CronJobId end 12
[2025-01-07 06:04:05] Production.INFO: ==9086== Releasing lock...
[2025-01-07 06:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:04:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:04:05
[end_date_ymd] => 2025-01-07 06:04:05
[RateCDR] => 1
)
[2025-01-07 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-07 03:04:05' and `end` < '2025-01-07 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-07 06:04:07] Production.INFO: Contact id print CheckCustomer Case===2fb0f102-2ef2-41cf-8d40-4c3f58cf996f
[2025-01-07 06:04:07] Production.INFO: -- count --1
[2025-01-07 06:04:07] Production.INFO: AccountID 78
[2025-01-07 06:04:07] Production.INFO: AccountName Halcyon Travel
[2025-01-07 06:04:07] Production.INFO: Checkcustomer
[2025-01-07 06:04:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Halcyon%20Travel"
[2025-01-07 06:04:09] Production.INFO: Contact id print CheckCustomer Case===2fb0f102-2ef2-41cf-8d40-4c3f58cf996f
[2025-01-07 06:04:09] Production.INFO: -- count --1
[2025-01-07 06:04:09] Production.INFO: AccountID 230
[2025-01-07 06:04:09] Production.INFO: AccountName Harbourfront Medicine Cabinet
[2025-01-07 06:04:09] Production.INFO: Checkcustomer
[2025-01-07 06:04:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Harbourfront%20Medicine%20Cabinet"
[2025-01-07 06:04:13] Production.INFO: Contact id print CheckCustomer Case===e4609e79-2a2f-49b0-a0f8-9766de2b1774
[2025-01-07 06:04:13] Production.INFO: -- count --1
[2025-01-07 06:04:13] Production.INFO: AccountID 230
[2025-01-07 06:04:13] Production.INFO: AccountName Harbourfront Medicine Cabinet
[2025-01-07 06:04:13] Production.INFO: Checkcustomer
[2025-01-07 06:04:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Harbourfront%20Medicine%20Cabinet"
[2025-01-07 06:04:13] Production.ERROR: CronJobId end10
[2025-01-07 06:04:13] Production.INFO: ==9084== Releasing lock...
[2025-01-07 06:04:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:04:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:04:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:04:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:04:15] Production.INFO: call_cost start
[2025-01-07 06:04:15] Production.INFO: call_cost end
[2025-01-07 06:04:15] Production.INFO: Contact id print CheckCustomer Case===e4609e79-2a2f-49b0-a0f8-9766de2b1774
[2025-01-07 06:04:15] Production.INFO: -- count --1
[2025-01-07 06:04:15] Production.INFO: AccountID 25
[2025-01-07 06:04:15] Production.INFO: AccountName Harding Security
[2025-01-07 06:04:15] Production.INFO: Checkcustomer
[2025-01-07 06:04:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Harding%20Security"
[2025-01-07 06:04:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:04:16] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:04:16] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:04:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:04:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:04:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:04:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:04:16] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:04:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:04:16] Production.INFO: ==9080== Releasing lock...
[2025-01-07 06:04:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:04:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:04:18] Production.INFO: Contact id print CheckCustomer Case===631aa009-5337-4bbb-817f-724f7ca5f6db
[2025-01-07 06:04:18] Production.INFO: -- count --1
[2025-01-07 06:04:18] Production.INFO: AccountID 25
[2025-01-07 06:04:18] Production.INFO: AccountName Harding Security
[2025-01-07 06:04:18] Production.INFO: Checkcustomer
[2025-01-07 06:04:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Harding%20Security"
[2025-01-07 06:04:20] Production.INFO: count ==57
[2025-01-07 06:04:20] Production.ERROR: pbx CDR StartTime 2025-01-07 03:04:05 - End Time 2025-01-07 06:04:05
[2025-01-07 06:04:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192942', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192942', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192942', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192942', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:04:20] Production.INFO: ProcessCDR(1,14192942,1,1,2)
[2025-01-07 06:04:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192942,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:04:20] Production.INFO: Contact id print CheckCustomer Case===631aa009-5337-4bbb-817f-724f7ca5f6db
[2025-01-07 06:04:20] Production.INFO: -- count --1
[2025-01-07 06:04:20] Production.INFO: AccountID 25
[2025-01-07 06:04:20] Production.INFO: AccountName Harding Security
[2025-01-07 06:04:20] Production.INFO: Checkcustomer
[2025-01-07 06:04:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Harding%20Security"
[2025-01-07 06:04:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192942,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:04:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192942,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:04:23] Production.INFO: Contact id print CheckCustomer Case===631aa009-5337-4bbb-817f-724f7ca5f6db
[2025-01-07 06:04:23] Production.INFO: -- count --1
[2025-01-07 06:04:23] Production.INFO: -- Xero Add Inovice --
[2025-01-07 06:04:23] Production.INFO: CheckInvoice xerov2: INV10921
[2025-01-07 06:04:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10921
[2025-01-07 06:04:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192942,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192942', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192942', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:04:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:04:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:04:23] Production.INFO: ==9088== Releasing lock...
[2025-01-07 06:04:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:04:23] Production.INFO: 28 MB #Memory Used#
[2025-01-07 06:04:25] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 06:04:25] Production.INFO: Invoice SubTotal 17.900000
[2025-01-07 06:04:25] Production.INFO: Invoice DetTotal 17.9
[2025-01-07 06:04:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Halcyon%20Travel"
[2025-01-07 06:04:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 06:04:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 06:04:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 06:04:35] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 09-19-2024 To 10-18-2024",Quantity : 1,UnitAmount : 5.400000,LineAmount : 5.400000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 1,UnitAmount : 10.000000,LineAmount : 10.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (19052019009 - 50 Anderson Ave., Markham, ON L6E 1A6 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 06:04:38] Production.INFO: ==== result =====
[2025-01-07 06:04:38] Production.INFO: {
"Id": "45af46cb-ca5f-4f80-8c91-d0ea7270448a",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736247878322)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "b882d987-0eb9-4c6d-bd0e-febf915ee94d",
"InvoiceNumber": "INV10921",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 20.23,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "2fb0f102-2ef2-41cf-8d40-4c3f58cf996f",
"ContactStatus": "ACTIVE",
"Name": "Halcyon Travel",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1533070479233+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-10-19T00:00:00",
"Date": "\/Date(1729296000000+0000)\/",
"DueDateString": "2024-11-18T00:00:00",
"DueDate": "\/Date(1731888000000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "From 09-19-2024 To 10-18-2024",
"UnitAmount": 5.40,
"TaxType": "TAX020",
"TaxAmount": 0.70,
"LineAmount": 5.40,
"AccountCode": "234",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "5528271f-3465-4abf-ade1-940070b77885",
"AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "License for a Pay As You Go Cloud Phone extension",
"UnitAmount": 10.00,
"TaxType": "TAX020",
"TaxAmount": 1.30,
"LineAmount": 10.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "e8755d37-d309-4088-a6a7-6be54bb697b0",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (19052019009 - 50 Anderson Ave., Markham, ON L6E 1A6 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "318ca20c-f458-422e-9558-5c6853f07866",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 17.90,
"TotalTax": 2.33,
"Total": 20.23,
"UpdatedDateUTC": "\/Date(1736247878243+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 06:04:38] Production.INFO: -- Create Invoice id --b882d987-0eb9-4c6d-bd0e-febf915ee94d
[2025-01-07 06:04:38] Production.INFO: -- Create Invoice Done --
[2025-01-07 06:04:38] Production.INFO: CheckInvoice xerov2: INV11242
[2025-01-07 06:04:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11242
[2025-01-07 06:04:41] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 06:04:41] Production.INFO: Invoice SubTotal 15.050000
[2025-01-07 06:04:41] Production.INFO: Invoice DetTotal 15.05
[2025-01-07 06:04:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Halcyon%20Travel"
[2025-01-07 06:04:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 06:04:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 06:04:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 06:04:51] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 11-19-2024 To 12-18-2024",Quantity : 1,UnitAmount : 2.550000,LineAmount : 2.550000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 1,UnitAmount : 10.000000,LineAmount : 10.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (19052019009 - 50 Anderson Ave., Markham, ON L6E 1A6 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 06:04:54] Production.INFO: ==== result =====
[2025-01-07 06:04:54] Production.INFO: {
"Id": "656d6c1c-fe1f-4421-bf57-19724b337eb3",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736247894612)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "8b416211-a486-476b-a186-faa93d106120",
"InvoiceNumber": "INV11242",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 17.01,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "2fb0f102-2ef2-41cf-8d40-4c3f58cf996f",
"ContactStatus": "ACTIVE",
"Name": "Halcyon Travel",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1533070479233+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-19T00:00:00",
"Date": "\/Date(1734566400000+0000)\/",
"DueDateString": "2025-01-18T00:00:00",
"DueDate": "\/Date(1737158400000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "From 11-19-2024 To 12-18-2024",
"UnitAmount": 2.55,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.55,
"AccountCode": "234",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "8c7b11f6-f273-4bb9-bc73-0b873f315ee4",
"AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "License for a Pay As You Go Cloud Phone extension",
"UnitAmount": 10.00,
"TaxType": "TAX020",
"TaxAmount": 1.30,
"LineAmount": 10.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "eed3fac4-a51b-4180-9106-41c849ae9725",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (19052019009 - 50 Anderson Ave., Markham, ON L6E 1A6 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "7f87d93c-d640-4266-973b-01bcc6f5134d",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 15.05,
"TotalTax": 1.96,
"Total": 17.01,
"UpdatedDateUTC": "\/Date(1736247894567+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 06:04:54] Production.INFO: -- Create Invoice id --8b416211-a486-476b-a186-faa93d106120
[2025-01-07 06:04:54] Production.INFO: -- Create Invoice Done --
[2025-01-07 06:04:54] Production.INFO: CheckInvoice xerov2: INV10819
[2025-01-07 06:04:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10819
[2025-01-07 06:04:57] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 06:04:57] Production.INFO: ========================== Exception occured =============================
[2025-01-07 06:04:57] Production.ERROR: exception 'ErrorException' with message 'Undefined offset: 47' in /var/www/html/onswitch.neon.service/app/lib/XeroV2.php:0
Stack trace:
#0 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined offse...', '/var/www/html/o...', 0, Array)
#1 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->GetInvoiceData()
#2 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->CreateInvoice()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/XeroInvoicePostV2.php(0): App\Lib\XeroV2->addInvoices()
#4 [internal function]: App\Console\Commands\XeroInvoicePostV2->fire()
#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\XeroInvoicePostV2), 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-07 06:04:57] Production.INFO: ========================== Exception updated in job and email sent =============================
[2025-01-07 06:04:57] Production.INFO: ==9078== Releasing lock...
[2025-01-07 06:04:57] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10442 #Stops#
[2025-01-07 06:04:57] Production.INFO: 30.75 MB #Memory Used#
[2025-01-07 11:05:01] Production.INFO: ==9177== Lock acquired, processing the job...
[2025-01-07 11:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:05:01] Production.INFO: neon service started
[2025-01-07 11:05:01] Production.INFO: neon service started
[2025-01-07 11:05:01] Production.INFO: ==9177== Releasing lock...
[2025-01-07 11:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:05:01] Production.INFO: ==9179== Lock acquired, processing the job...
[2025-01-07 06:05:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:05:02] Production.INFO: ==9179== Releasing lock...
[2025-01-07 06:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:05:02] Production.INFO: ==9181== Lock acquired, processing the job...
[2025-01-07 11:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:05:02] Production.INFO: ==9181== Releasing lock...
[2025-01-07 11:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:05:02] Production.INFO: ==9185== Lock acquired, processing the job...
[2025-01-07 06:05:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:05:03] Production.INFO: ==9189== Lock acquired, processing the job...
[2025-01-07 06:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:05:03] Production.INFO: ==9183== Lock acquired, processing the job...
[2025-01-07 06:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:05:03] Production.INFO: Account Balance Start.
[2025-01-07 06:05:03] Production.INFO: CreateAllLog Start
[2025-01-07 06:05:03] Production.INFO: 117
[2025-01-07 06:05:03] Production.INFO: Date 2024-12-08
[2025-01-07 06:05:03] Production.INFO: ==9187== Lock acquired, processing the job...
[2025-01-07 06:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:05:03] Production.INFO: ==9191== Lock acquired, processing the job...
[2025-01-07 06:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:05:03] Production.INFO: ==9185== Releasing lock...
[2025-01-07 06:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:05:03] Production.INFO: Date 2024-12-09
[2025-01-07 06:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:05:03] Production.INFO: Date 2024-12-10
[2025-01-07 06:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:05:03] Production.INFO: ==9193== Lock acquired, processing the job...
[2025-01-07 06:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:05:03] Production.INFO: Date 2024-12-11
[2025-01-07 06:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:05:03] Production.INFO: Date 2024-12-12
[2025-01-07 06:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 06:05:03] Production.INFO: Date 2024-12-13
[2025-01-07 06:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:05:03] Production.INFO: count ==21
[2025-01-07 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-07 06:05:03] Production.INFO: count ==21
[2025-01-07 06:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192946') start
[2025-01-07 06:05:03] Production.INFO: Date 2024-12-14
[2025-01-07 06:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:05:03] Production.INFO: Date 2024-12-15
[2025-01-07 06:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192946') end
[2025-01-07 06:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:05:03] Production.INFO: 1
[2025-01-07 06:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:05:03] Production.ERROR: done
[2025-01-07 06:05:03] Production.INFO: ==9193== Releasing lock...
[2025-01-07 06:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:05:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:05:03] Production.INFO: Date 2024-12-16
[2025-01-07 06:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:05:03] Production.INFO: Date 2024-12-17
[2025-01-07 06:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:05:03] Production.INFO: Date 2024-12-18
[2025-01-07 06:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:05:03] Production.ERROR: done
[2025-01-07 06:05:03] Production.INFO: Date 2024-12-19
[2025-01-07 06:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:05:03] Production.INFO: Date 2024-12-20
[2025-01-07 06:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:05:04] Production.INFO: Date 2024-12-21
[2025-01-07 06:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:05:04] Production.INFO: Date 2024-12-22
[2025-01-07 06:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:05:04] Production.INFO: Date 2024-12-23
[2025-01-07 06:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:05:04] Production.INFO: Date 2024-12-24
[2025-01-07 06:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:05:04] Production.INFO: Date 2024-12-25
[2025-01-07 06:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:05:04] Production.INFO: Date 2024-12-26
[2025-01-07 06:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:05:04] Production.INFO: Date 2024-12-27
[2025-01-07 06:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:05:04] Production.INFO: Date 2024-12-28
[2025-01-07 06:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:05:04] Production.INFO: Date 2024-12-29
[2025-01-07 06:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:05:04] Production.INFO: Date 2024-12-30
[2025-01-07 06:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:05:04] Production.INFO: Date 2024-12-31
[2025-01-07 06:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:05:04] Production.INFO: Date 2025-01-01
[2025-01-07 06:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:05:04] Production.INFO: Date 2025-01-02
[2025-01-07 06:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:05:04] Production.INFO: Date 2025-01-03
[2025-01-07 06:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:05:04] Production.INFO: Date 2025-01-04
[2025-01-07 06:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:05:04] Production.INFO: Date 2025-01-05
[2025-01-07 06:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:05:04] Production.INFO: Date 2025-01-06
[2025-01-07 06:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:05:04] Production.INFO: Date 2025-01-07
[2025-01-07 06:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:05:04] Production.INFO: Total Charge 0
[2025-01-07 06:05:05] Production.INFO: CreateAllLog End
[2025-01-07 06:05:05] Production.INFO: Account Balance End.
[2025-01-07 06:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:05:05
[end_date_ymd] => 2025-01-07 06:05:05
[RateCDR] => 1
)
[2025-01-07 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-07 03:05:05' and `end` < '2025-01-07 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-07 06:05:05] Production.ERROR: CronJobId end 12
[2025-01-07 06:05:05] Production.INFO: ==9189== Releasing lock...
[2025-01-07 06:05:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:05:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:05:10] Production.ERROR: CronJobId end10
[2025-01-07 06:05:10] Production.INFO: ==9187== Releasing lock...
[2025-01-07 06:05:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:05:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:05:13] Production.INFO: call_cost start
[2025-01-07 06:05:13] Production.INFO: call_cost end
[2025-01-07 06:05:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:05:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:05:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:05:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:05:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:05:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:05:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:05:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:05:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:05:13] Production.INFO: ==9183== Releasing lock...
[2025-01-07 06:05:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:05:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:05:17] Production.INFO: count ==57
[2025-01-07 06:05:17] Production.ERROR: pbx CDR StartTime 2025-01-07 03:05:05 - End Time 2025-01-07 06:05:05
[2025-01-07 06:05:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192947', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192947', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192947', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192947', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:05:17] Production.INFO: ProcessCDR(1,14192947,1,1,2)
[2025-01-07 06:05:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192947,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:05:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192947,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:05:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192947,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:05:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192947,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192947', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192947', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:05:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:05:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:05:20] Production.INFO: ==9191== Releasing lock...
[2025-01-07 06:05:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:05:20] Production.INFO: 28 MB #Memory Used#
[2025-01-07 11:06:01] Production.INFO: ==9299== Lock acquired, processing the job...
[2025-01-07 11:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:06:02] Production.INFO: neon service started
[2025-01-07 11:06:02] Production.INFO: neon service started
[2025-01-07 11:06:02] Production.INFO: ==9299== Releasing lock...
[2025-01-07 11:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:06:02] Production.INFO: ==9301== Lock acquired, processing the job...
[2025-01-07 06:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:06:02] Production.INFO: ==9303== Lock acquired, processing the job...
[2025-01-07 11:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:06:02] Production.INFO: ==9303== Releasing lock...
[2025-01-07 11:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:06:03] Production.INFO: ==9301== Releasing lock...
[2025-01-07 06:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:06:03] Production.INFO: ==9306== Lock acquired, processing the job...
[2025-01-07 06:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:06:03] Production.INFO: ==9308== Lock acquired, processing the job...
[2025-01-07 06:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:06:04] Production.INFO: ==9310== Lock acquired, processing the job...
[2025-01-07 06:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:06:04] Production.INFO: ==9314== Lock acquired, processing the job...
[2025-01-07 06:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:06:04] Production.INFO: ==9308== Releasing lock...
[2025-01-07 06:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:06:04] Production.INFO: ==9312== Lock acquired, processing the job...
[2025-01-07 06:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:06:04] Production.INFO: Account Balance Start.
[2025-01-07 06:06:04] Production.INFO: CreateAllLog Start
[2025-01-07 06:06:04] Production.INFO: 117
[2025-01-07 06:06:04] Production.INFO: Date 2024-12-08
[2025-01-07 06:06:04] Production.INFO: ==9316== Lock acquired, processing the job...
[2025-01-07 06:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:06:04] Production.INFO: Date 2024-12-09
[2025-01-07 06:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:06:04] Production.INFO: Date 2024-12-10
[2025-01-07 06:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:06:04] Production.INFO: Date 2024-12-11
[2025-01-07 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-07 06:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:06:04] Production.INFO: count ==21
[2025-01-07 06:06:04] Production.INFO: Date 2024-12-12
[2025-01-07 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-07 06:06:04] Production.INFO: count ==21
[2025-01-07 06:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192951') start
[2025-01-07 06:06:04] Production.INFO: Date 2024-12-13
[2025-01-07 06:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192951') end
[2025-01-07 06:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:06:04] Production.INFO: 1
[2025-01-07 06:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:06:04] Production.INFO: Date 2024-12-14
[2025-01-07 06:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:06:04] Production.INFO: Date 2024-12-15
[2025-01-07 06:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:06:04] Production.INFO: Date 2024-12-16
[2025-01-07 06:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:06:04] Production.INFO: ==9316== Releasing lock...
[2025-01-07 06:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:06:04] Production.ERROR: done
[2025-01-07 06:06:04] Production.INFO: Date 2024-12-17
[2025-01-07 06:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:06:04] Production.INFO: Date 2024-12-18
[2025-01-07 06:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:06:05] Production.INFO: Date 2024-12-19
[2025-01-07 06:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:06:05] Production.ERROR: done
[2025-01-07 06:06:05] Production.INFO: Date 2024-12-20
[2025-01-07 06:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:06:05] Production.INFO: Date 2024-12-21
[2025-01-07 06:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:06:05] Production.INFO: Date 2024-12-22
[2025-01-07 06:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:06:05] Production.INFO: Date 2024-12-23
[2025-01-07 06:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:06:05] Production.INFO: Date 2024-12-24
[2025-01-07 06:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:06:05] Production.INFO: Date 2024-12-25
[2025-01-07 06:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:06:05] Production.INFO: Date 2024-12-26
[2025-01-07 06:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:06:05] Production.INFO: Date 2024-12-27
[2025-01-07 06:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:06:05] Production.INFO: Date 2024-12-28
[2025-01-07 06:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:06:05] Production.INFO: Date 2024-12-29
[2025-01-07 06:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:06:05] Production.INFO: Date 2024-12-30
[2025-01-07 06:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:06:05] Production.INFO: Date 2024-12-31
[2025-01-07 06:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:06:05] Production.INFO: Date 2025-01-01
[2025-01-07 06:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:06:05] Production.INFO: Date 2025-01-02
[2025-01-07 06:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:06:05] Production.INFO: Date 2025-01-03
[2025-01-07 06:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:06:05] Production.INFO: Date 2025-01-04
[2025-01-07 06:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:06:05] Production.INFO: Date 2025-01-05
[2025-01-07 06:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:06:05] Production.INFO: Date 2025-01-06
[2025-01-07 06:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:06:05] Production.INFO: Date 2025-01-07
[2025-01-07 06:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:06:05] Production.INFO: Total Charge 0
[2025-01-07 06:06:05] Production.INFO: CreateAllLog End
[2025-01-07 06:06:05] Production.INFO: Account Balance End.
[2025-01-07 06:06:05] Production.ERROR: CronJobId end 12
[2025-01-07 06:06:05] Production.INFO: ==9312== Releasing lock...
[2025-01-07 06:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:06:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:06:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:06:06
[end_date_ymd] => 2025-01-07 06:06:06
[RateCDR] => 1
)
[2025-01-07 06: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-07 03:06:06' and `end` < '2025-01-07 06: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-07 06:06:11] Production.ERROR: CronJobId end10
[2025-01-07 06:06:11] Production.INFO: ==9310== Releasing lock...
[2025-01-07 06:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:06:14] Production.INFO: call_cost start
[2025-01-07 06:06:14] Production.INFO: call_cost end
[2025-01-07 06:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:06:14] Production.INFO: ==9306== Releasing lock...
[2025-01-07 06:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:06:19] Production.INFO: count ==57
[2025-01-07 06:06:19] Production.ERROR: pbx CDR StartTime 2025-01-07 03:06:06 - End Time 2025-01-07 06:06:06
[2025-01-07 06:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192952', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192952', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192952', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192952', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:06:19] Production.INFO: ProcessCDR(1,14192952,1,1,2)
[2025-01-07 06:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192952,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192952,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192952,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192952,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192952', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192952', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:06:22] Production.INFO: ==9314== Releasing lock...
[2025-01-07 06:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:06:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 11:07:01] Production.INFO: ==9385== Lock acquired, processing the job...
[2025-01-07 11:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:07:01] Production.INFO: neon service started
[2025-01-07 11:07:01] Production.INFO: neon service started
[2025-01-07 11:07:01] Production.INFO: ==9385== Releasing lock...
[2025-01-07 11:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:07:02] Production.INFO: ==9387== Lock acquired, processing the job...
[2025-01-07 06:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:07:02] Production.INFO: ==9389== Lock acquired, processing the job...
[2025-01-07 11:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:07:02] Production.INFO: ==9389== Releasing lock...
[2025-01-07 11:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:07:02] Production.INFO: ==9387== Releasing lock...
[2025-01-07 06:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:07:03] Production.INFO: ==9394== Lock acquired, processing the job...
[2025-01-07 06:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:07:03] Production.INFO: ==9396== Lock acquired, processing the job...
[2025-01-07 06:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:07:03] Production.INFO: ==9404== Lock acquired, processing the job...
[2025-01-07 06:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:07:03] Production.INFO: ==9396== Releasing lock...
[2025-01-07 06:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 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-07 06:07:03] Production.INFO: ==9392== Lock acquired, processing the job...
[2025-01-07 06:07:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10443 #Starts#
[2025-01-07 06:07:03] Production.INFO: count ==21
[2025-01-07 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-07 06:07:03] Production.INFO: count ==21
[2025-01-07 06:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192955') start
[2025-01-07 06:07:03] Production.INFO: -- Xero Api Check --
[2025-01-07 06:07:03] Production.INFO: ==9398== Lock acquired, processing the job...
[2025-01-07 06:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192955') end
[2025-01-07 06:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:07:03] Production.INFO: 1
[2025-01-07 06:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:07:03] Production.INFO: ==9402== Lock acquired, processing the job...
[2025-01-07 06:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:07:03] Production.INFO: ==9404== Releasing lock...
[2025-01-07 06:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:07:03] Production.INFO: ==9400== Lock acquired, processing the job...
[2025-01-07 06:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:07:04] Production.ERROR: done
[2025-01-07 06:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:07:04] Production.INFO: Account Balance Start.
[2025-01-07 06:07:04] Production.INFO: CreateAllLog Start
[2025-01-07 06:07:04] Production.INFO: 117
[2025-01-07 06:07:04] Production.INFO: Date 2024-12-08
[2025-01-07 06:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:07:04] Production.ERROR: done
[2025-01-07 06:07:04] Production.INFO: Date 2024-12-09
[2025-01-07 06:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:07:04] Production.INFO: Date 2024-12-10
[2025-01-07 06:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:07:04] Production.INFO: Date 2024-12-11
[2025-01-07 06:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:07:04] Production.INFO: Date 2024-12-12
[2025-01-07 06:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:07:04] Production.INFO: Date 2024-12-13
[2025-01-07 06:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:07:04] Production.INFO: Date 2024-12-14
[2025-01-07 06:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:07:04] Production.INFO: Date 2024-12-15
[2025-01-07 06:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:07:04] Production.INFO: Date 2024-12-16
[2025-01-07 06:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:07:04] Production.INFO: Date 2024-12-17
[2025-01-07 06:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:07:04] Production.INFO: Date 2024-12-18
[2025-01-07 06:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:07:04] Production.INFO: Date 2024-12-19
[2025-01-07 06:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:07: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] => 857
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 1.035837
[namelookup_time] => 0.284037
[connect_time] => 0.29505
[pretransfer_time] => 0.560385
[size_upload] => 82
[size_download] => 2755
[speed_download] => 2659
[speed_upload] => 79
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 1.035805
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.17
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 43546
)
[2025-01-07 06:07:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDgwMjQsImV4cCI6MTczNjI0ODMyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ4MDI0LCJhdF9oYXNoIjoiUklxYWptWFlKMGVnQ3Utak4zWkY0ZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.MNdqyK_v6tr8jMyGeBbe6nZlz_5G7dikfzlUreE1ufzl6XMy9tMqPGumUfWmteZjX-TnUcmam4UpfgbgwpOrnYrCDTsen1z_8fH2_aYB79iPYcMqMJOeFieZt5GhsUKxXqXjBaT3933oB-x42ZOTid6HWadD1p_AuEfYhwMaCxKxHEdMmfGFtXMWbno3Z0FgEknerKF5aQkPs6AiVUlYy3lG7p1p6XQymhHnNOhVNDXHV9Wf5Miqt-cKnESaNSJEEbtXUjiLyxMGU29u4KNWSE2MEjFcjhqb45Pis_GxfqHygCZ_YJL-YtorIlwyZWd0YfG-gH0jxObFVexI2C309g
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDgwMjQsImV4cCI6MTczNjI0OTgyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.WuOjA_O2dZhBb_eNlQXfIHnMySBlWDgRRv9bblT-2CCDntdUW0e9319x1pWSg5vKqGcYeUlsJBRhS-2XFaY5HeLH2hkTQ5Kht7qwOqmMI8SFKqpG74MOMftyEKhnb3vyioVQJRK4GvDlqwiRbRsk2wdWSDuPlk7obaK89ZsTYYvZV7D7MVrRxK610WVcOl62aDI2JhtclWN-Mq4eB8XYbbneJ-YSOw0mJhg3PpfM-0xw15CAD-Yt-8RVHB-DWb799j6-YPjvTsE38UB4gIFkmYZUFu1Q8hpoTJ4NSryT3TvLRP72L1ZvT_OabWWzIarhh8lt4CBd8426vFs4wgUI1g
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => DLhAYcUxrIO1uv0hhYw8v6Kiab72NSMzZJj60a24P7Y
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 06:07:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDgwMjQsImV4cCI6MTczNjI0ODMyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ4MDI0LCJhdF9oYXNoIjoiUklxYWptWFlKMGVnQ3Utak4zWkY0ZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.MNdqyK_v6tr8jMyGeBbe6nZlz_5G7dikfzlUreE1ufzl6XMy9tMqPGumUfWmteZjX-TnUcmam4UpfgbgwpOrnYrCDTsen1z_8fH2_aYB79iPYcMqMJOeFieZt5GhsUKxXqXjBaT3933oB-x42ZOTid6HWadD1p_AuEfYhwMaCxKxHEdMmfGFtXMWbno3Z0FgEknerKF5aQkPs6AiVUlYy3lG7p1p6XQymhHnNOhVNDXHV9Wf5Miqt-cKnESaNSJEEbtXUjiLyxMGU29u4KNWSE2MEjFcjhqb45Pis_GxfqHygCZ_YJL-YtorIlwyZWd0YfG-gH0jxObFVexI2C309g
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDgwMjQsImV4cCI6MTczNjI0OTgyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.WuOjA_O2dZhBb_eNlQXfIHnMySBlWDgRRv9bblT-2CCDntdUW0e9319x1pWSg5vKqGcYeUlsJBRhS-2XFaY5HeLH2hkTQ5Kht7qwOqmMI8SFKqpG74MOMftyEKhnb3vyioVQJRK4GvDlqwiRbRsk2wdWSDuPlk7obaK89ZsTYYvZV7D7MVrRxK610WVcOl62aDI2JhtclWN-Mq4eB8XYbbneJ-YSOw0mJhg3PpfM-0xw15CAD-Yt-8RVHB-DWb799j6-YPjvTsE38UB4gIFkmYZUFu1Q8hpoTJ4NSryT3TvLRP72L1ZvT_OabWWzIarhh8lt4CBd8426vFs4wgUI1g
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => DLhAYcUxrIO1uv0hhYw8v6Kiab72NSMzZJj60a24P7Y
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 06:07:04] Production.INFO: Date 2024-12-20
[2025-01-07 06:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:07:04] Production.INFO: AccountID 131
[2025-01-07 06:07:04] Production.INFO: AccountName Infinite Possibilities
[2025-01-07 06:07:04] Production.INFO: Checkcustomer
[2025-01-07 06:07:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Infinite%20Possibilities"
[2025-01-07 06:07:04] Production.INFO: Date 2024-12-21
[2025-01-07 06:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:07:04] Production.INFO: Date 2024-12-22
[2025-01-07 06:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:07:04] Production.INFO: Date 2024-12-23
[2025-01-07 06:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:07:04] Production.INFO: Date 2024-12-24
[2025-01-07 06:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:07:04] Production.INFO: Date 2024-12-25
[2025-01-07 06:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:07:04] Production.INFO: Date 2024-12-26
[2025-01-07 06:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:07:04] Production.INFO: Date 2024-12-27
[2025-01-07 06:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:07:04] Production.INFO: Date 2024-12-28
[2025-01-07 06:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:07:04] Production.INFO: Date 2024-12-29
[2025-01-07 06:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:07:04] Production.INFO: Date 2024-12-30
[2025-01-07 06:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:07:04] Production.INFO: Date 2024-12-31
[2025-01-07 06:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:07:05] Production.INFO: Date 2025-01-01
[2025-01-07 06:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:07:05] Production.INFO: Date 2025-01-02
[2025-01-07 06:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:07:05] Production.INFO: Date 2025-01-03
[2025-01-07 06:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:07:05] Production.INFO: Date 2025-01-04
[2025-01-07 06:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:07:05] Production.INFO: Date 2025-01-05
[2025-01-07 06:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:07:05] Production.INFO: Date 2025-01-06
[2025-01-07 06:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:07:05] Production.INFO: Date 2025-01-07
[2025-01-07 06:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:07:05] Production.INFO: Total Charge 0
[2025-01-07 06:07:05] Production.INFO: CreateAllLog End
[2025-01-07 06:07:05] Production.INFO: Account Balance End.
[2025-01-07 06:07:05] Production.ERROR: CronJobId end 12
[2025-01-07 06:07:05] Production.INFO: ==9400== Releasing lock...
[2025-01-07 06:07:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:07:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:07:05
[end_date_ymd] => 2025-01-07 06:07:05
[RateCDR] => 1
)
[2025-01-07 06:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 03:07:05' and `end` < '2025-01-07 06:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 06:07:07] Production.INFO: Contact id print CheckCustomer Case===a00da236-4e1c-4856-8599-fd3ed8268a07
[2025-01-07 06:07:07] Production.INFO: -- count --1
[2025-01-07 06:07:07] Production.INFO: AccountID 232
[2025-01-07 06:07:07] Production.INFO: AccountName Jenopher Inc.
[2025-01-07 06:07:07] Production.INFO: Checkcustomer
[2025-01-07 06:07:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Jenopher%20Inc."
[2025-01-07 06:07:09] Production.INFO: Contact id print CheckCustomer Case===5fa26058-5c6f-4ffe-9c35-4f8d77ccf359
[2025-01-07 06:07:09] Production.INFO: -- count --1
[2025-01-07 06:07:09] Production.INFO: AccountID 232
[2025-01-07 06:07:09] Production.INFO: AccountName Jenopher Inc.
[2025-01-07 06:07:09] Production.INFO: Checkcustomer
[2025-01-07 06:07:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Jenopher%20Inc."
[2025-01-07 06:07:10] Production.ERROR: CronJobId end10
[2025-01-07 06:07:10] Production.INFO: ==9398== Releasing lock...
[2025-01-07 06:07:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:07:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:07:11] Production.INFO: Contact id print CheckCustomer Case===5fa26058-5c6f-4ffe-9c35-4f8d77ccf359
[2025-01-07 06:07:11] Production.INFO: -- count --1
[2025-01-07 06:07:11] Production.INFO: -- Xero Add Inovice --
[2025-01-07 06:07:11] Production.INFO: CheckInvoice xerov2: INV11208
[2025-01-07 06:07:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11208
[2025-01-07 06:07:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:07:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:07:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:07:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:07:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:07:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:07:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:07:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:07:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:07:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:07:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:07:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:07:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:07:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:07:12] Production.INFO: call_cost start
[2025-01-07 06:07:12] Production.INFO: call_cost end
[2025-01-07 06:07:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:07:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:07:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:07:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:07:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:07:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:07:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:07:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:07:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:07:13] Production.INFO: ==9394== Releasing lock...
[2025-01-07 06:07:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:07:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:07:14] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 06:07:14] Production.INFO: Invoice SubTotal 5.000000
[2025-01-07 06:07:14] Production.INFO: Invoice DetTotal 5
[2025-01-07 06:07:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Infinite%20Possibilities"
[2025-01-07 06:07:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 06:07:18] Production.INFO: count ==57
[2025-01-07 06:07:18] Production.ERROR: pbx CDR StartTime 2025-01-07 03:07:05 - End Time 2025-01-07 06:07:05
[2025-01-07 06:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192957', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192957', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192957', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192957', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:07:18] Production.INFO: ProcessCDR(1,14192957,1,1,2)
[2025-01-07 06:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192957,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192957,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192957,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:07:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 06:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192957,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192957', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192957', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:07:21] Production.INFO: ==9402== Releasing lock...
[2025-01-07 06:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:07:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 06:07:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 06:07:26] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone toll free DID (18666955378)",Quantity : 1,UnitAmount : 5.000000,LineAmount : 5.000000}
[2025-01-07 06:07:28] Production.INFO: ==== result =====
[2025-01-07 06:07:28] Production.INFO: {
"Id": "50358b14-6ba8-43f5-9a7e-543fbbbdc31a",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736248048572)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "9e3581e8-3926-42a1-84c3-019b6e8249d8",
"InvoiceNumber": "INV11208",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 5.65,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "a00da236-4e1c-4856-8599-fd3ed8268a07",
"ContactStatus": "ACTIVE",
"Name": "Infinite Possibilities",
"FirstName": "Rob",
"LastName": "Brubacher",
"EmailAddress": "accounts@ipdesignbuild.com",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1594746678157+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-13T00:00:00",
"Date": "\/Date(1734048000000+0000)\/",
"DueDateString": "2025-01-12T00:00:00",
"DueDate": "\/Date(1736640000000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "License for a Pay As You Go Cloud Phone toll free DID (18666955378)",
"UnitAmount": 5.00,
"TaxType": "TAX020",
"TaxAmount": 0.65,
"LineAmount": 5.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "2e1c59e2-2b94-4dcc-b99b-43ca8ab249ce",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 5.00,
"TotalTax": 0.65,
"Total": 5.65,
"UpdatedDateUTC": "\/Date(1736248048477+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 06:07:28] Production.INFO: -- Create Invoice id --9e3581e8-3926-42a1-84c3-019b6e8249d8
[2025-01-07 06:07:28] Production.INFO: -- Create Invoice Done --
[2025-01-07 06:07:28] Production.INFO: CheckInvoice xerov2: INV10678
[2025-01-07 06:07:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10678
[2025-01-07 06:07:30] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 06:07:30] Production.INFO: ========================== Exception occured =============================
[2025-01-07 06:07:30] Production.ERROR: exception 'ErrorException' with message 'Undefined offset: 88' in /var/www/html/onswitch.neon.service/app/lib/XeroV2.php:0
Stack trace:
#0 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined offse...', '/var/www/html/o...', 0, Array)
#1 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->GetInvoiceData()
#2 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->CreateInvoice()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/XeroInvoicePostV2.php(0): App\Lib\XeroV2->addInvoices()
#4 [internal function]: App\Console\Commands\XeroInvoicePostV2->fire()
#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\XeroInvoicePostV2), 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-07 06:07:30] Production.INFO: ========================== Exception updated in job and email sent =============================
[2025-01-07 06:07:30] Production.INFO: ==9392== Releasing lock...
[2025-01-07 06:07:30] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10443 #Stops#
[2025-01-07 06:07:30] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 11:08:01] Production.INFO: ==9487== Lock acquired, processing the job...
[2025-01-07 11:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:08:01] Production.INFO: neon service started
[2025-01-07 11:08:01] Production.INFO: neon service started
[2025-01-07 11:08:01] Production.INFO: ==9487== Releasing lock...
[2025-01-07 11:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:08:02] Production.INFO: ==9489== Lock acquired, processing the job...
[2025-01-07 06:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:08:02] Production.INFO: ==9491== Lock acquired, processing the job...
[2025-01-07 11:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:08:02] Production.INFO: ==9491== Releasing lock...
[2025-01-07 11:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:08:02] Production.INFO: ==9489== Releasing lock...
[2025-01-07 06:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:08:03] Production.INFO: ==9494== Lock acquired, processing the job...
[2025-01-07 06:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:08:03] Production.INFO: ==9496== Lock acquired, processing the job...
[2025-01-07 06:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:08:03] Production.INFO: ==9500== Lock acquired, processing the job...
[2025-01-07 06:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:08:03] Production.INFO: Account Balance Start.
[2025-01-07 06:08:03] Production.INFO: CreateAllLog Start
[2025-01-07 06:08:03] Production.INFO: 117
[2025-01-07 06:08:03] Production.INFO: Date 2024-12-08
[2025-01-07 06:08:03] Production.INFO: ==9498== Lock acquired, processing the job...
[2025-01-07 06:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:08:03] Production.INFO: Date 2024-12-09
[2025-01-07 06:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:08:03] Production.INFO: Date 2024-12-10
[2025-01-07 06:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:08:03] Production.INFO: ==9502== Lock acquired, processing the job...
[2025-01-07 06:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:08:03] Production.INFO: Date 2024-12-11
[2025-01-07 06:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:08:03] Production.INFO: Date 2024-12-12
[2025-01-07 06:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:08:03] Production.INFO: ==9504== Lock acquired, processing the job...
[2025-01-07 06:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:08:03] Production.INFO: Date 2024-12-13
[2025-01-07 06:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:08:04] Production.INFO: ==9496== Releasing lock...
[2025-01-07 06:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:08:04] Production.INFO: Date 2024-12-14
[2025-01-07 06:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 06: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-07 06:08:04] Production.INFO: Date 2024-12-15
[2025-01-07 06:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:08:04] Production.INFO: count ==21
[2025-01-07 06:08:04] Production.ERROR: done
[2025-01-07 06:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06: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-07 06:08:04] Production.INFO: count ==21
[2025-01-07 06:08:04] Production.INFO: Date 2024-12-16
[2025-01-07 06:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192961') start
[2025-01-07 06:08:04] Production.INFO: Date 2024-12-17
[2025-01-07 06:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:08:04] Production.INFO: Date 2024-12-18
[2025-01-07 06:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:08:04] Production.INFO: Date 2024-12-19
[2025-01-07 06:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:08:04] Production.ERROR: done
[2025-01-07 06:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192961') end
[2025-01-07 06:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:08:04] Production.INFO: 1
[2025-01-07 06:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:08:04] Production.INFO: Date 2024-12-20
[2025-01-07 06:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:08:04] Production.INFO: Date 2024-12-21
[2025-01-07 06:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:08:04] Production.INFO: ==9504== Releasing lock...
[2025-01-07 06:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:08:04] Production.INFO: Date 2024-12-22
[2025-01-07 06:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:08:04] Production.INFO: Date 2024-12-23
[2025-01-07 06:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:08:04] Production.INFO: Date 2024-12-24
[2025-01-07 06:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:08:04] Production.INFO: Date 2024-12-25
[2025-01-07 06:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:08:04] Production.INFO: Date 2024-12-26
[2025-01-07 06:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:08:04] Production.INFO: Date 2024-12-27
[2025-01-07 06:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:08:04] Production.INFO: Date 2024-12-28
[2025-01-07 06:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:08:04] Production.INFO: Date 2024-12-29
[2025-01-07 06:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:08:04] Production.INFO: Date 2024-12-30
[2025-01-07 06:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:08:04] Production.INFO: Date 2024-12-31
[2025-01-07 06:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:08:04] Production.INFO: Date 2025-01-01
[2025-01-07 06:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:08:04] Production.INFO: Date 2025-01-02
[2025-01-07 06:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:08:04] Production.INFO: Date 2025-01-03
[2025-01-07 06:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:08:04] Production.INFO: Date 2025-01-04
[2025-01-07 06:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:08:04] Production.INFO: Date 2025-01-05
[2025-01-07 06:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:08:05] Production.INFO: Date 2025-01-06
[2025-01-07 06:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:08:05] Production.INFO: Date 2025-01-07
[2025-01-07 06:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:08:05] Production.INFO: Total Charge 0
[2025-01-07 06:08:05] Production.INFO: CreateAllLog End
[2025-01-07 06:08:05] Production.INFO: Account Balance End.
[2025-01-07 06:08:05] Production.ERROR: CronJobId end 12
[2025-01-07 06:08:05] Production.INFO: ==9500== Releasing lock...
[2025-01-07 06:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:08:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:08:05
[end_date_ymd] => 2025-01-07 06:08:05
[RateCDR] => 1
)
[2025-01-07 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-07 03:08:05' and `end` < '2025-01-07 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-07 06:08:11] Production.ERROR: CronJobId end10
[2025-01-07 06:08:11] Production.INFO: ==9498== Releasing lock...
[2025-01-07 06:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:08:13] Production.INFO: call_cost start
[2025-01-07 06:08:13] Production.INFO: call_cost end
[2025-01-07 06:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:08:14] Production.INFO: ==9494== Releasing lock...
[2025-01-07 06:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:08:18] Production.INFO: count ==57
[2025-01-07 06:08:18] Production.ERROR: pbx CDR StartTime 2025-01-07 03:08:05 - End Time 2025-01-07 06:08:05
[2025-01-07 06:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192962', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192962', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192962', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192962', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:08:18] Production.INFO: ProcessCDR(1,14192962,1,1,2)
[2025-01-07 06:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192962,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192962,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192962,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192962,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192962', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192962', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:08:21] Production.INFO: ==9502== Releasing lock...
[2025-01-07 06:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:08:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 11:09:02] Production.INFO: ==9575== Lock acquired, processing the job...
[2025-01-07 11:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:09:02] Production.INFO: neon service started
[2025-01-07 11:09:02] Production.INFO: neon service started
[2025-01-07 11:09:02] Production.INFO: ==9575== Releasing lock...
[2025-01-07 11:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:09:02] Production.INFO: ==9577== Lock acquired, processing the job...
[2025-01-07 06:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:09:02] Production.INFO: ==9579== Lock acquired, processing the job...
[2025-01-07 11:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:09:02] Production.INFO: ==9579== Releasing lock...
[2025-01-07 11:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:09:03] Production.INFO: ==9577== Releasing lock...
[2025-01-07 06:09:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:09:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:09:04] Production.INFO: ==9584== Lock acquired, processing the job...
[2025-01-07 06:09:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:09:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:09:04] Production.INFO: ==9590== Lock acquired, processing the job...
[2025-01-07 06:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:09:04] Production.INFO: ==9582== Lock acquired, processing the job...
[2025-01-07 06:09:04] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10444 #Starts#
[2025-01-07 06:09:04] Production.INFO: -- Xero Api Check --
[2025-01-07 06:09:04] Production.INFO: Account Balance Start.
[2025-01-07 06:09:04] Production.INFO: CreateAllLog Start
[2025-01-07 06:09:04] Production.INFO: 117
[2025-01-07 06:09:04] Production.INFO: Date 2024-12-08
[2025-01-07 06:09:04] Production.INFO: ==9594== Lock acquired, processing the job...
[2025-01-07 06:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:09:04] Production.INFO: ==9588== Lock acquired, processing the job...
[2025-01-07 06:09:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:09:04] Production.INFO: ==9586== Lock acquired, processing the job...
[2025-01-07 06:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:09:04] Production.INFO: ==9592== Lock acquired, processing the job...
[2025-01-07 06:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:09:04] Production.INFO: Date 2024-12-09
[2025-01-07 06:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:09:04] Production.INFO: Date 2024-12-10
[2025-01-07 06:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:09:04] Production.INFO: Date 2024-12-11
[2025-01-07 06:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:09:04] Production.INFO: Date 2024-12-12
[2025-01-07 06:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:09:04] Production.INFO: count ==21
[2025-01-07 06:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:09:04] Production.INFO: count ==21
[2025-01-07 06:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192966') start
[2025-01-07 06:09:04] Production.INFO: Date 2024-12-13
[2025-01-07 06:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:09:04] Production.ERROR: done
[2025-01-07 06:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:09:04] Production.INFO: ==9586== Releasing lock...
[2025-01-07 06:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192966') end
[2025-01-07 06:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:09:04] Production.INFO: 1
[2025-01-07 06:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:09:04] Production.INFO: Date 2024-12-14
[2025-01-07 06:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:09:04] Production.ERROR: done
[2025-01-07 06:09:04] Production.INFO: Date 2024-12-15
[2025-01-07 06:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:09:04] Production.INFO: ==9594== Releasing lock...
[2025-01-07 06:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:09:04] Production.INFO: Date 2024-12-16
[2025-01-07 06:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:09:04] Production.INFO: Date 2024-12-17
[2025-01-07 06:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:09:05] Production.INFO: Date 2024-12-18
[2025-01-07 06:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:09:05] Production.INFO: Date 2024-12-19
[2025-01-07 06:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:09:05] Production.INFO: Date 2024-12-20
[2025-01-07 06:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:09:05] Production.INFO: Date 2024-12-21
[2025-01-07 06:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:09:05] Production.INFO: Date 2024-12-22
[2025-01-07 06:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:09:05] Production.INFO: Date 2024-12-23
[2025-01-07 06:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:09:05] Production.INFO: Date 2024-12-24
[2025-01-07 06:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:09:05] Production.INFO: Date 2024-12-25
[2025-01-07 06:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:09:05] Production.INFO: Date 2024-12-26
[2025-01-07 06:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:09:05] Production.INFO: Date 2024-12-27
[2025-01-07 06:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:09:05] Production.INFO: Date 2024-12-28
[2025-01-07 06:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:09:05] Production.INFO: Date 2024-12-29
[2025-01-07 06:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:09:05] Production.INFO: Date 2024-12-30
[2025-01-07 06:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:09:05] Production.INFO: Date 2024-12-31
[2025-01-07 06:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:09:05] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 858
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 1.271064
[namelookup_time] => 0.529946
[connect_time] => 0.633426
[pretransfer_time] => 1.025199
[size_upload] => 82
[size_download] => 2755
[speed_download] => 2167
[speed_upload] => 64
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 1.271034
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.72.248.213
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 56914
)
[2025-01-07 06:09:05] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDgxNDUsImV4cCI6MTczNjI0ODQ0NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ4MTQ1LCJhdF9oYXNoIjoiclNNZnlETm1nM1dBVVlkZVZqTkJKZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.JoQ4xODKSlqrFB2enibL6ObxYR1nbRsCvVRyyGZ7_Dw4KpBQZGY2B5YMU5vzkFLzZcc20PIlYHFo0Zz8VTTzVjJq8rCRP1rtrTjhUNy_njEkw9wKW2Pnw7OcTOzqPQtR_PMopJTb_yyFS_XBrr2qKcEXUI1ofpMntViY0GCJoSBNCJzvS-xmdV3XpHlcW1fjcHagz3KB8eiVEJQb4jh3HMLEZ02ZE7BEQOlVymXjH3meFSnEqyVK164ZfZmn14xqkPNYw4WdPEdzyXFAqmMGHER4GjkwCDcXKAz_6iU19x9L6wUVBqtV7HTtwQsb4IjmhGe_KaYNKn87ApexaRAyrg
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDgxNDUsImV4cCI6MTczNjI0OTk0NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.AkxkqEMkMaSytWu-CGXJQY5ZWaJ4krJ4iNs_papmp6JMjS1F9LQv9KOU2bIieiF8SZs0BI-vC8q2hRFUeZ4ZQR1TSrlwc88GcLBUSAisWYC4vpl8vaUhET8j2TyRzhL4IKW-tWIRXQz8_Kg3iHuqI2onzjNTvtXWmOMCuu7x5octjTghcDkFypBQvane9CoJ8k_WYvL7Mp3-XV_FbLQAnsKA7o1kpnks1bBqK18LbBl934kvmlQjB3f5SiqBKFdHAL9z8W3BWA6wNR1qqBMzwfcQ70rpzNzWoSBKC-7pB4gikrfofnZt2Y95FdKW5Pz-JwedpDFtxLtbJMCh_bqR2g
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => 7d7IsQAfPQl3r6jqypHhKwgQ907-7dTdwgqMNk3tYcI
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 06:09:05] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDgxNDUsImV4cCI6MTczNjI0ODQ0NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ4MTQ1LCJhdF9oYXNoIjoiclNNZnlETm1nM1dBVVlkZVZqTkJKZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.JoQ4xODKSlqrFB2enibL6ObxYR1nbRsCvVRyyGZ7_Dw4KpBQZGY2B5YMU5vzkFLzZcc20PIlYHFo0Zz8VTTzVjJq8rCRP1rtrTjhUNy_njEkw9wKW2Pnw7OcTOzqPQtR_PMopJTb_yyFS_XBrr2qKcEXUI1ofpMntViY0GCJoSBNCJzvS-xmdV3XpHlcW1fjcHagz3KB8eiVEJQb4jh3HMLEZ02ZE7BEQOlVymXjH3meFSnEqyVK164ZfZmn14xqkPNYw4WdPEdzyXFAqmMGHER4GjkwCDcXKAz_6iU19x9L6wUVBqtV7HTtwQsb4IjmhGe_KaYNKn87ApexaRAyrg
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDgxNDUsImV4cCI6MTczNjI0OTk0NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.AkxkqEMkMaSytWu-CGXJQY5ZWaJ4krJ4iNs_papmp6JMjS1F9LQv9KOU2bIieiF8SZs0BI-vC8q2hRFUeZ4ZQR1TSrlwc88GcLBUSAisWYC4vpl8vaUhET8j2TyRzhL4IKW-tWIRXQz8_Kg3iHuqI2onzjNTvtXWmOMCuu7x5octjTghcDkFypBQvane9CoJ8k_WYvL7Mp3-XV_FbLQAnsKA7o1kpnks1bBqK18LbBl934kvmlQjB3f5SiqBKFdHAL9z8W3BWA6wNR1qqBMzwfcQ70rpzNzWoSBKC-7pB4gikrfofnZt2Y95FdKW5Pz-JwedpDFtxLtbJMCh_bqR2g
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => 7d7IsQAfPQl3r6jqypHhKwgQ907-7dTdwgqMNk3tYcI
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 06:09:05] Production.INFO: AccountID 236
[2025-01-07 06:09:05] Production.INFO: Date 2025-01-01
[2025-01-07 06:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:09:05] Production.INFO: AccountName Keogh Construction
[2025-01-07 06:09:05] Production.INFO: Checkcustomer
[2025-01-07 06:09:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Keogh%20Construction"
[2025-01-07 06:09:05] Production.INFO: Date 2025-01-02
[2025-01-07 06:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:09:05] Production.INFO: Date 2025-01-03
[2025-01-07 06:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:09:05] Production.INFO: Date 2025-01-04
[2025-01-07 06:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:09:05] Production.INFO: Date 2025-01-05
[2025-01-07 06:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:09:05] Production.INFO: Date 2025-01-06
[2025-01-07 06:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:09:05] Production.INFO: Date 2025-01-07
[2025-01-07 06:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:09:05] Production.INFO: Total Charge 0
[2025-01-07 06:09:05] Production.INFO: CreateAllLog End
[2025-01-07 06:09:05] Production.INFO: Account Balance End.
[2025-01-07 06:09:05] Production.ERROR: CronJobId end 12
[2025-01-07 06:09:05] Production.INFO: ==9590== Releasing lock...
[2025-01-07 06:09:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:09:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:09:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:09:06
[end_date_ymd] => 2025-01-07 06:09:06
[RateCDR] => 1
)
[2025-01-07 06:09:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 03:09:06' and `end` < '2025-01-07 06:09:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 06:09:08] Production.INFO: Contact id print CheckCustomer Case===cad302ad-7c7e-456b-bcf1-bd7729cb22b7
[2025-01-07 06:09:08] Production.INFO: -- count --1
[2025-01-07 06:09:08] Production.INFO: AccountID 236
[2025-01-07 06:09:08] Production.INFO: AccountName Keogh Construction
[2025-01-07 06:09:08] Production.INFO: Checkcustomer
[2025-01-07 06:09:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Keogh%20Construction"
[2025-01-07 06:09:10] Production.INFO: Contact id print CheckCustomer Case===cad302ad-7c7e-456b-bcf1-bd7729cb22b7
[2025-01-07 06:09:10] Production.INFO: -- count --1
[2025-01-07 06:09:10] Production.INFO: AccountID 236
[2025-01-07 06:09:10] Production.INFO: AccountName Keogh Construction
[2025-01-07 06:09:10] Production.INFO: Checkcustomer
[2025-01-07 06:09:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Keogh%20Construction"
[2025-01-07 06:09:11] Production.ERROR: CronJobId end10
[2025-01-07 06:09:11] Production.INFO: ==9588== Releasing lock...
[2025-01-07 06:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:09:13] Production.INFO: Contact id print CheckCustomer Case===cad302ad-7c7e-456b-bcf1-bd7729cb22b7
[2025-01-07 06:09:13] Production.INFO: -- count --1
[2025-01-07 06:09:13] Production.INFO: AccountID 236
[2025-01-07 06:09:13] Production.INFO: AccountName Keogh Construction
[2025-01-07 06:09:13] Production.INFO: Checkcustomer
[2025-01-07 06:09:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Keogh%20Construction"
[2025-01-07 06:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:09:14] Production.INFO: call_cost start
[2025-01-07 06:09:14] Production.INFO: call_cost end
[2025-01-07 06:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:09:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:09:15] Production.INFO: ==9584== Releasing lock...
[2025-01-07 06:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:09:15] Production.INFO: Contact id print CheckCustomer Case===cad302ad-7c7e-456b-bcf1-bd7729cb22b7
[2025-01-07 06:09:15] Production.INFO: -- count --1
[2025-01-07 06:09:15] Production.INFO: AccountID 236
[2025-01-07 06:09:15] Production.INFO: AccountName Keogh Construction
[2025-01-07 06:09:15] Production.INFO: Checkcustomer
[2025-01-07 06:09:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Keogh%20Construction"
[2025-01-07 06:09:18] Production.INFO: Contact id print CheckCustomer Case===cad302ad-7c7e-456b-bcf1-bd7729cb22b7
[2025-01-07 06:09:18] Production.INFO: -- count --1
[2025-01-07 06:09:18] Production.INFO: AccountID 236
[2025-01-07 06:09:18] Production.INFO: AccountName Keogh Construction
[2025-01-07 06:09:18] Production.INFO: Checkcustomer
[2025-01-07 06:09:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Keogh%20Construction"
[2025-01-07 06:09:19] Production.INFO: count ==57
[2025-01-07 06:09:19] Production.ERROR: pbx CDR StartTime 2025-01-07 03:09:06 - End Time 2025-01-07 06:09:06
[2025-01-07 06:09:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192967', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192967', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192967', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192967', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:09:19] Production.INFO: ProcessCDR(1,14192967,1,1,2)
[2025-01-07 06:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192967,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192967,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192967,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:09:21] Production.INFO: Contact id print CheckCustomer Case===cad302ad-7c7e-456b-bcf1-bd7729cb22b7
[2025-01-07 06:09:21] Production.INFO: -- count --1
[2025-01-07 06:09:21] Production.INFO: AccountID 236
[2025-01-07 06:09:21] Production.INFO: AccountName Keogh Construction
[2025-01-07 06:09:21] Production.INFO: Checkcustomer
[2025-01-07 06:09:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Keogh%20Construction"
[2025-01-07 06:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192967,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192967', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192967', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:09:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:09:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:09:22] Production.INFO: ==9592== Releasing lock...
[2025-01-07 06:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:09:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 06:09:23] Production.INFO: Contact id print CheckCustomer Case===cad302ad-7c7e-456b-bcf1-bd7729cb22b7
[2025-01-07 06:09:23] Production.INFO: -- count --1
[2025-01-07 06:09:23] Production.INFO: -- Xero Add Inovice --
[2025-01-07 06:09:23] Production.INFO: CheckInvoice xerov2: INV10462
[2025-01-07 06:09:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10462
[2025-01-07 06:09:26] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 06:09:26] Production.INFO: ========================== Exception occured =============================
[2025-01-07 06:09:26] Production.ERROR: exception 'ErrorException' with message 'Undefined offset: 33' in /var/www/html/onswitch.neon.service/app/lib/XeroV2.php:0
Stack trace:
#0 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined offse...', '/var/www/html/o...', 0, Array)
#1 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->GetInvoiceData()
#2 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->CreateInvoice()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/XeroInvoicePostV2.php(0): App\Lib\XeroV2->addInvoices()
#4 [internal function]: App\Console\Commands\XeroInvoicePostV2->fire()
#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\XeroInvoicePostV2), 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-07 06:09:26] Production.INFO: ========================== Exception updated in job and email sent =============================
[2025-01-07 06:09:26] Production.INFO: ==9582== Releasing lock...
[2025-01-07 06:09:26] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10444 #Stops#
[2025-01-07 06:09:26] Production.INFO: 27.5 MB #Memory Used#
[2025-01-07 11:10:01] Production.INFO: ==9669== Lock acquired, processing the job...
[2025-01-07 11:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:10:01] Production.INFO: neon service started
[2025-01-07 11:10:01] Production.INFO: neon service started
[2025-01-07 11:10:01] Production.INFO: ==9669== Releasing lock...
[2025-01-07 11:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:10:02] Production.INFO: ==9671== Lock acquired, processing the job...
[2025-01-07 06:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:10:02] Production.INFO: ==9673== Lock acquired, processing the job...
[2025-01-07 11:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:10:02] Production.INFO: ==9673== Releasing lock...
[2025-01-07 11:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:10:02] Production.INFO: ==9671== Releasing lock...
[2025-01-07 06:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:10:03] Production.INFO: ==9676== Lock acquired, processing the job...
[2025-01-07 06:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 06:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 06:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 06:10:03] Production.INFO: ==9676== Releasing lock...
[2025-01-07 06:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 06:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 06:10:03] Production.INFO: ==9680== Lock acquired, processing the job...
[2025-01-07 06:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:10:03] Production.INFO: ==9684== Lock acquired, processing the job...
[2025-01-07 06:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:10:03] Production.INFO: ==9688== Lock acquired, processing the job...
[2025-01-07 06:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 06:10:03] Production.INFO: ==9678== Lock acquired, processing the job...
[2025-01-07 06:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:10:03] Production.INFO: Account Balance Start.
[2025-01-07 06:10:03] Production.INFO: CreateAllLog Start
[2025-01-07 06:10:03] Production.INFO: 117
[2025-01-07 06:10:03] Production.INFO: ==9680== Releasing lock...
[2025-01-07 06:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:10:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:10:03] Production.INFO: Date 2024-12-08
[2025-01-07 06:10:03] Production.INFO: ==9682== Lock acquired, processing the job...
[2025-01-07 06:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:10:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:10:03] Production.INFO: ==9686== Lock acquired, processing the job...
[2025-01-07 06:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:10:03] Production.INFO: Date 2024-12-09
[2025-01-07 06:10:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:10:03] Production.INFO: Date 2024-12-10
[2025-01-07 06:10:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:10:03] Production.INFO: ==9690== Lock acquired, processing the job...
[2025-01-07 06:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:10:04] Production.INFO: Date 2024-12-11
[2025-01-07 06:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:10:04] Production.ERROR: done
[2025-01-07 06:10:04] Production.INFO: Date 2024-12-12
[2025-01-07 06:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 06:10:04] Production.INFO: count ==21
[2025-01-07 06:10:04] Production.INFO: Date 2024-12-13
[2025-01-07 06:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 06:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14192972', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 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-07 06:10:04] Production.INFO: count ==21
[2025-01-07 06:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192971') start
[2025-01-07 06:10:04] Production.INFO: Date 2024-12-14
[2025-01-07 06:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192971') end
[2025-01-07 06:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:10:04] Production.INFO: 1
[2025-01-07 06:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:10:04] Production.INFO: Date 2024-12-15
[2025-01-07 06:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:10:04] Production.INFO: ==9690== Releasing lock...
[2025-01-07 06:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:10:04] Production.ERROR: done
[2025-01-07 06:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:10:04] Production.INFO: Date 2024-12-16
[2025-01-07 06:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:10:04] Production.INFO: Date 2024-12-17
[2025-01-07 06:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:10:04] Production.INFO: Date 2024-12-18
[2025-01-07 06:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:10:04] Production.INFO: Date 2024-12-19
[2025-01-07 06:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:10:04] Production.INFO: Date 2024-12-20
[2025-01-07 06:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:10:04] Production.INFO: Date 2024-12-21
[2025-01-07 06:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:10:04] Production.ERROR: done
[2025-01-07 06:10:04] Production.INFO: Date 2024-12-22
[2025-01-07 06:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:10:04] Production.INFO: Date 2024-12-23
[2025-01-07 06:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:10:04] Production.INFO: Date 2024-12-24
[2025-01-07 06:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:10:04] Production.INFO: Date 2024-12-25
[2025-01-07 06:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:10:04] Production.INFO: Date 2024-12-26
[2025-01-07 06:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:10:04] Production.INFO: Date 2024-12-27
[2025-01-07 06:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:10:04] Production.INFO: Date 2024-12-28
[2025-01-07 06:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:10:04] Production.INFO: Date 2024-12-29
[2025-01-07 06:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:10:04] Production.INFO: Date 2024-12-30
[2025-01-07 06:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:10:05] Production.INFO: Date 2024-12-31
[2025-01-07 06:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:10:05] Production.INFO: Date 2025-01-01
[2025-01-07 06:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:10:05] Production.INFO: Date 2025-01-02
[2025-01-07 06:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:10:05] Production.INFO: Date 2025-01-03
[2025-01-07 06:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:10:05] Production.INFO: Date 2025-01-04
[2025-01-07 06:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:10:05] Production.INFO: Date 2025-01-05
[2025-01-07 06:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:10:05] Production.INFO: Date 2025-01-06
[2025-01-07 06:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:10:05] Production.INFO: Date 2025-01-07
[2025-01-07 06:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:10:05] Production.INFO: Total Charge 0
[2025-01-07 06:10:05] Production.INFO: CreateAllLog End
[2025-01-07 06:10:05] Production.INFO: Account Balance End.
[2025-01-07 06:10:05] Production.ERROR: CronJobId end 12
[2025-01-07 06:10:05] Production.INFO: ==9684== Releasing lock...
[2025-01-07 06:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:10:05
[end_date_ymd] => 2025-01-07 06:10:05
[RateCDR] => 1
)
[2025-01-07 06:10:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 03:10:05' and `end` < '2025-01-07 06:10:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 06:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14192972', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 06:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 06:10:08] Production.INFO: ProcessCDR(1,14192972,1,1,2)
[2025-01-07 06:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14192972,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14192972,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:10:08] Production.INFO: ==9688== Releasing lock...
[2025-01-07 06:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 06:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-07 06:10:12] Production.ERROR: CronJobId end10
[2025-01-07 06:10:12] Production.INFO: ==9682== Releasing lock...
[2025-01-07 06:10:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:10:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:10:14] Production.INFO: call_cost start
[2025-01-07 06:10:14] Production.INFO: call_cost end
[2025-01-07 06:10:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:10:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:10:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:10:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:10:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:10:15] Production.INFO: ==9678== Releasing lock...
[2025-01-07 06:10:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:10:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:10:18] Production.INFO: count ==53
[2025-01-07 06:10:18] Production.ERROR: pbx CDR StartTime 2025-01-07 03:10:05 - End Time 2025-01-07 06:10:05
[2025-01-07 06:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192973', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192973', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192973', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192973', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:10:18] Production.INFO: ProcessCDR(1,14192973,1,1,2)
[2025-01-07 06:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192973,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192973,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192973,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:10:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192973,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192973', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192973', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:10:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:10:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:10:21] Production.INFO: ==9686== Releasing lock...
[2025-01-07 06:10:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:10:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 11:11:02] Production.INFO: ==9763== Lock acquired, processing the job...
[2025-01-07 11:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:11:02] Production.INFO: neon service started
[2025-01-07 11:11:02] Production.INFO: neon service started
[2025-01-07 11:11:02] Production.INFO: ==9763== Releasing lock...
[2025-01-07 11:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:11:02] Production.INFO: ==9765== Lock acquired, processing the job...
[2025-01-07 06:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:11:02] Production.INFO: ==9767== Lock acquired, processing the job...
[2025-01-07 11:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:11:02] Production.INFO: ==9767== Releasing lock...
[2025-01-07 11:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:11:03] Production.INFO: ==9765== Releasing lock...
[2025-01-07 06:11:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:11:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:11:03] Production.INFO: ==9770== Lock acquired, processing the job...
[2025-01-07 06:11:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10445 #Starts#
[2025-01-07 06:11:03] Production.INFO: ==9776== Lock acquired, processing the job...
[2025-01-07 06:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:11:03] Production.INFO: ==9772== Lock acquired, processing the job...
[2025-01-07 06:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:11:03] Production.INFO: -- Xero Api Check --
[2025-01-07 06:11:03] Production.INFO: ==9778== Lock acquired, processing the job...
[2025-01-07 06:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:11:04] Production.INFO: ==9774== Lock acquired, processing the job...
[2025-01-07 06:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:11:04] Production.INFO: ==9782== Lock acquired, processing the job...
[2025-01-07 06:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:11:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:11:04] Production.INFO: ==9780== Lock acquired, processing the job...
[2025-01-07 06:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:11:04] Production.INFO: Account Balance Start.
[2025-01-07 06:11:04] Production.INFO: CreateAllLog Start
[2025-01-07 06:11:04] Production.INFO: 117
[2025-01-07 06:11:04] Production.INFO: Date 2024-12-08
[2025-01-07 06:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 06:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:11:04] Production.INFO: Date 2024-12-09
[2025-01-07 06:11:04] Production.INFO: count ==21
[2025-01-07 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-07 06:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:11:04] Production.INFO: count ==21
[2025-01-07 06:11:04] Production.INFO: Date 2024-12-10
[2025-01-07 06:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192976') start
[2025-01-07 06:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:11:04] Production.INFO: Date 2024-12-11
[2025-01-07 06:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:11:04] Production.ERROR: done
[2025-01-07 06:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:11:04] Production.INFO: Date 2024-12-12
[2025-01-07 06:11:04] Production.INFO: ==9774== Releasing lock...
[2025-01-07 06:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192976') end
[2025-01-07 06:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:11:04] Production.INFO: 1
[2025-01-07 06:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:11:04] Production.INFO: Date 2024-12-13
[2025-01-07 06:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:11:04] Production.INFO: ==9782== Releasing lock...
[2025-01-07 06:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:11:04] Production.ERROR: done
[2025-01-07 06:11:04] Production.INFO: Date 2024-12-14
[2025-01-07 06:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:11:04] Production.INFO: Date 2024-12-15
[2025-01-07 06:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:11:04] Production.INFO: Date 2024-12-16
[2025-01-07 06:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:11:04] Production.INFO: Date 2024-12-17
[2025-01-07 06:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:11:04] Production.INFO: Date 2024-12-18
[2025-01-07 06:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:11:04] Production.INFO: Date 2024-12-19
[2025-01-07 06:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:11:05] Production.INFO: Date 2024-12-20
[2025-01-07 06:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:11:05] Production.INFO: Date 2024-12-21
[2025-01-07 06:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:11:05] Production.INFO: Date 2024-12-22
[2025-01-07 06:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:11:05] Production.INFO: Date 2024-12-23
[2025-01-07 06:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:11:05] Production.INFO: Date 2024-12-24
[2025-01-07 06:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:11:05] Production.INFO: Date 2024-12-25
[2025-01-07 06:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:11:05] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 858
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 1.338281
[namelookup_time] => 0.529594
[connect_time] => 0.611197
[pretransfer_time] => 1.107889
[size_upload] => 82
[size_download] => 2755
[speed_download] => 2058
[speed_upload] => 61
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 1.338235
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.72.248.213
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 56940
)
[2025-01-07 06:11:05] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDgyNjUsImV4cCI6MTczNjI0ODU2NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ4MjY1LCJhdF9oYXNoIjoiSVcySGRsclFVX2lQdlNORTlYU2VqUSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.bQecoV-j-iWQjvdKXyEkAHSm0z2Ai4exHKr_p2Q2_wg4SZNRDioUPnA1PC62yPCyzrdHKnD3P5lYOcUXQ-pHtO_yLGxQj_JDPq8rLBNGwh37KCa3DsuOaV0GkkbNFFRu61VJVCG40Tyyu629nT5RWLesO-Hiik7Rh_h3Szm7dfdwBe6ATWdkfkSUlo4qSgO-GECZ4FttjUQD_rTGx_v2Ew3xmDJyVDo-Zr-Cu-aG6phZxH0rw2j7bObRWEDOSkWnXyTLCdZ37Pu3P_nk-D8PZtnc1dp48PClB2tJUmk8Tr41VnhGdT_wnWFHgefz9TaPuk6hXge66emRMkQMOtM3zw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDgyNjUsImV4cCI6MTczNjI1MDA2NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.S-pmLWbi2B8xXQ2o8MgUyVXiD19fhc_rtsymyES2BRitkKR-H0pH9r0KE1UVSPQnkyX_Yh7DPpuqclHUKtJHoNxtz131jxYY7HfhZFmP8kgBslGjjIgHmLGdN-SLhylfhFSgYIllDWBAKTiZ_JGW8IjHM-K0BM7NGXw4wG2Z2D7MhQVQ0Z_bcSjXvMhy_DJT2DShfxDhuI4X65eb8xjiptkS1IkcLXxEaLcatipAZ9Xc8gkOvrsf1nuFlRARc7mql6jR79GM8-wFa8Hiez1DX5SSjqy7PwDMrzjYipo6MaNu00rNTe35B4KA1fSVdssyaa5wDGsmDaqtuOK0AjL2LQ
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => VYIkY5OKnFfdj-d42XPSCi_pS7R0FkD2UlyFJCtOEjI
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 06:11:05] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDgyNjUsImV4cCI6MTczNjI0ODU2NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ4MjY1LCJhdF9oYXNoIjoiSVcySGRsclFVX2lQdlNORTlYU2VqUSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.bQecoV-j-iWQjvdKXyEkAHSm0z2Ai4exHKr_p2Q2_wg4SZNRDioUPnA1PC62yPCyzrdHKnD3P5lYOcUXQ-pHtO_yLGxQj_JDPq8rLBNGwh37KCa3DsuOaV0GkkbNFFRu61VJVCG40Tyyu629nT5RWLesO-Hiik7Rh_h3Szm7dfdwBe6ATWdkfkSUlo4qSgO-GECZ4FttjUQD_rTGx_v2Ew3xmDJyVDo-Zr-Cu-aG6phZxH0rw2j7bObRWEDOSkWnXyTLCdZ37Pu3P_nk-D8PZtnc1dp48PClB2tJUmk8Tr41VnhGdT_wnWFHgefz9TaPuk6hXge66emRMkQMOtM3zw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDgyNjUsImV4cCI6MTczNjI1MDA2NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.S-pmLWbi2B8xXQ2o8MgUyVXiD19fhc_rtsymyES2BRitkKR-H0pH9r0KE1UVSPQnkyX_Yh7DPpuqclHUKtJHoNxtz131jxYY7HfhZFmP8kgBslGjjIgHmLGdN-SLhylfhFSgYIllDWBAKTiZ_JGW8IjHM-K0BM7NGXw4wG2Z2D7MhQVQ0Z_bcSjXvMhy_DJT2DShfxDhuI4X65eb8xjiptkS1IkcLXxEaLcatipAZ9Xc8gkOvrsf1nuFlRARc7mql6jR79GM8-wFa8Hiez1DX5SSjqy7PwDMrzjYipo6MaNu00rNTe35B4KA1fSVdssyaa5wDGsmDaqtuOK0AjL2LQ
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => VYIkY5OKnFfdj-d42XPSCi_pS7R0FkD2UlyFJCtOEjI
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 06:11:05] Production.INFO: Date 2024-12-26
[2025-01-07 06:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:11:05] Production.INFO: AccountID 191
[2025-01-07 06:11:05] Production.INFO: AccountName Lake Life Financial Solutions Inc.
[2025-01-07 06:11:05] Production.INFO: Checkcustomer
[2025-01-07 06:11:05] Production.INFO: Date 2024-12-27
[2025-01-07 06:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:11:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Lake%20Life%20Financial%20Solutions%20Inc."
[2025-01-07 06:11:05] Production.INFO: Date 2024-12-28
[2025-01-07 06:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:11:05] Production.INFO: Date 2024-12-29
[2025-01-07 06:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:11:05] Production.INFO: Date 2024-12-30
[2025-01-07 06:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:11:05] Production.INFO: Date 2024-12-31
[2025-01-07 06:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:11:05] Production.INFO: Date 2025-01-01
[2025-01-07 06:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:11:05] Production.INFO: Date 2025-01-02
[2025-01-07 06:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:11:05] Production.INFO: Date 2025-01-03
[2025-01-07 06:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:11:05] Production.INFO: Date 2025-01-04
[2025-01-07 06:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:11:05] Production.INFO: Date 2025-01-05
[2025-01-07 06:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:11:05] Production.INFO: Date 2025-01-06
[2025-01-07 06:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:11:05] Production.INFO: Date 2025-01-07
[2025-01-07 06:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:11:05] Production.INFO: Total Charge 0
[2025-01-07 06:11:05] Production.INFO: CreateAllLog End
[2025-01-07 06:11:05] Production.INFO: Account Balance End.
[2025-01-07 06:11:05] Production.ERROR: CronJobId end 12
[2025-01-07 06:11:05] Production.INFO: ==9778== Releasing lock...
[2025-01-07 06:11:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:11:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:11:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:11:06
[end_date_ymd] => 2025-01-07 06:11:06
[RateCDR] => 1
)
[2025-01-07 06:11:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 03:11:06' and `end` < '2025-01-07 06:11:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 06:11:08] Production.INFO: Contact id print CheckCustomer Case===2ab5d3da-c85d-4d7e-91cc-61b21f64178e
[2025-01-07 06:11:08] Production.INFO: -- count --1
[2025-01-07 06:11:08] Production.INFO: AccountID 41
[2025-01-07 06:11:08] Production.INFO: AccountName Law Offices of Diane Staples
[2025-01-07 06:11:08] Production.INFO: Checkcustomer
[2025-01-07 06:11:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Law%20Offices%20of%20Diane%20Staples"
[2025-01-07 06:11:11] Production.INFO: Contact id print CheckCustomer Case===97ef00b2-8eb5-497a-aadd-ae29a942c858
[2025-01-07 06:11:11] Production.INFO: -- count --1
[2025-01-07 06:11:11] Production.INFO: AccountID 41
[2025-01-07 06:11:11] Production.INFO: AccountName Law Offices of Diane Staples
[2025-01-07 06:11:11] Production.INFO: Checkcustomer
[2025-01-07 06:11:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Law%20Offices%20of%20Diane%20Staples"
[2025-01-07 06:11:12] Production.ERROR: CronJobId end10
[2025-01-07 06:11:12] Production.INFO: ==9776== Releasing lock...
[2025-01-07 06:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:11:14] Production.INFO: call_cost start
[2025-01-07 06:11:14] Production.INFO: call_cost end
[2025-01-07 06:11:14] Production.INFO: Contact id print CheckCustomer Case===97ef00b2-8eb5-497a-aadd-ae29a942c858
[2025-01-07 06:11:14] Production.INFO: -- count --1
[2025-01-07 06:11:14] Production.INFO: AccountID 99
[2025-01-07 06:11:14] Production.INFO: AccountName LevLending
[2025-01-07 06:11:14] Production.INFO: Checkcustomer
[2025-01-07 06:11:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="LevLending"
[2025-01-07 06:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:11:14] Production.INFO: ==9772== Releasing lock...
[2025-01-07 06:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:11:16] Production.INFO: Contact id print CheckCustomer Case===0c3388d2-858d-4ab0-82a5-823938ebfea0
[2025-01-07 06:11:16] Production.INFO: -- count --1
[2025-01-07 06:11:16] Production.INFO: AccountID 208
[2025-01-07 06:11:16] Production.INFO: AccountName Lions Auto Protection
[2025-01-07 06:11:16] Production.INFO: Checkcustomer
[2025-01-07 06:11:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Lions%20Auto%20Protection"
[2025-01-07 06:11:18] Production.INFO: count ==53
[2025-01-07 06:11:18] Production.ERROR: pbx CDR StartTime 2025-01-07 03:11:06 - End Time 2025-01-07 06:11:06
[2025-01-07 06:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192978', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192978', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192978', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192978', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:11:18] Production.INFO: ProcessCDR(1,14192978,1,1,2)
[2025-01-07 06:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192978,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:11:19] Production.INFO: Contact id print CheckCustomer Case===173facd8-68c9-4e18-bac1-f10f211f33e1
[2025-01-07 06:11:19] Production.INFO: -- count --1
[2025-01-07 06:11:19] Production.INFO: AccountID 208
[2025-01-07 06:11:19] Production.INFO: AccountName Lions Auto Protection
[2025-01-07 06:11:19] Production.INFO: Checkcustomer
[2025-01-07 06:11:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Lions%20Auto%20Protection"
[2025-01-07 06:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192978,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192978,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192978,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192978', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192978', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:11:21] Production.INFO: ==9780== Releasing lock...
[2025-01-07 06:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:11:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 06:11:21] Production.INFO: Contact id print CheckCustomer Case===173facd8-68c9-4e18-bac1-f10f211f33e1
[2025-01-07 06:11:21] Production.INFO: -- count --1
[2025-01-07 06:11:21] Production.INFO: -- Xero Add Inovice --
[2025-01-07 06:11:21] Production.INFO: CheckInvoice xerov2: INV11212
[2025-01-07 06:11:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11212
[2025-01-07 06:11:24] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 06:11:24] Production.INFO: Invoice SubTotal 38.500000
[2025-01-07 06:11:24] Production.INFO: Invoice DetTotal 38.5
[2025-01-07 06:11:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Lake%20Life%20Financial%20Solutions%20Inc."
[2025-01-07 06:11:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 06:11:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 06:11:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 06:11:35] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 10.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension",Quantity : 4,UnitAmount : 10.000000,LineAmount : 36.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (12263995253 - 255 King Street North 301 Waterloo, ON N2J 4V2 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 06:11:37] Production.INFO: ==== result =====
[2025-01-07 06:11:37] Production.INFO: {
"Id": "5aa77d4c-b7e6-4d11-a7b1-d193e92af275",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736248297643)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "1fd0d7b6-5039-40a4-b6cf-889a0727e4d2",
"InvoiceNumber": "INV11212",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 43.51,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 4.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "2ab5d3da-c85d-4d7e-91cc-61b21f64178e",
"ContactStatus": "ACTIVE",
"Name": "Lake Life Financial Solutions Inc.",
"FirstName": "Ryan",
"LastName": "Hammar",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1682946194770+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-13T00:00:00",
"Date": "\/Date(1734048000000+0000)\/",
"DueDateString": "2025-01-12T00:00:00",
"DueDate": "\/Date(1736640000000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "License for an Unlimited Canada/US Cloud Phone extension",
"UnitAmount": 10.00,
"TaxType": "TAX020",
"TaxAmount": 4.68,
"LineAmount": 36.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 4.0000,
"DiscountRate": 10.00,
"LineItemID": "dc709b9a-f107-4a86-bf21-5b6b2e597aab",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountEnteredAsPercent": true,
"DiscountAmount": 4.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (12263995253 - 255 King Street North 301 Waterloo, ON N2J 4V2 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "b6483d79-f867-4f91-8e75-79693515c55d",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
}
],
"SubTotal": 38.50,
"TotalTax": 5.01,
"Total": 43.51,
"UpdatedDateUTC": "\/Date(1736248297597+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 06:11:37] Production.INFO: -- Create Invoice id --1fd0d7b6-5039-40a4-b6cf-889a0727e4d2
[2025-01-07 06:11:37] Production.INFO: -- Create Invoice Done --
[2025-01-07 06:11:37] Production.INFO: CheckInvoice xerov2: INV11124
[2025-01-07 06:11:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11124
[2025-01-07 06:11:39] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 06:11:39] Production.INFO: Invoice SubTotal 7.000000
[2025-01-07 06:11:39] Production.INFO: Invoice DetTotal 7
[2025-01-07 06:11:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Law%20Offices%20of%20Diane%20Staples"
[2025-01-07 06:11:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 06:11:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 06:11:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 06:11:51] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "PAYGo - Voice - 15198330040",Quantity : 1,UnitAmount : 7.000000,LineAmount : 7.000000}
[2025-01-07 06:11:53] Production.INFO: ==== result =====
[2025-01-07 06:11:53] Production.INFO: {
"Id": "35e260a5-6667-41ea-b3d4-b0b7576335cf",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736248313696)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "ea8aa72e-fb81-4cf7-843c-afc6f59d7376",
"InvoiceNumber": "INV11124",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 7.91,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "97ef00b2-8eb5-497a-aadd-ae29a942c858",
"ContactStatus": "ACTIVE",
"Name": "Law Offices of Diane Staples",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1533070460420+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-01T00:00:00",
"Date": "\/Date(1733011200000+0000)\/",
"DueDateString": "2024-12-31T00:00:00",
"DueDate": "\/Date(1735603200000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "PAYGo - Voice - 15198330040",
"UnitAmount": 7.00,
"TaxType": "TAX020",
"TaxAmount": 0.91,
"LineAmount": 7.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "56d91e6d-c278-41c1-a325-f3443ee8c5b2",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 7.00,
"TotalTax": 0.91,
"Total": 7.91,
"UpdatedDateUTC": "\/Date(1736248313540+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 06:11:53] Production.INFO: -- Create Invoice id --ea8aa72e-fb81-4cf7-843c-afc6f59d7376
[2025-01-07 06:11:53] Production.INFO: -- Create Invoice Done --
[2025-01-07 06:11:53] Production.INFO: CheckInvoice xerov2: INV11283
[2025-01-07 06:11:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11283
[2025-01-07 06:11:56] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 06:11:56] Production.INFO: Invoice SubTotal 7.000000
[2025-01-07 06:11:56] Production.INFO: Invoice DetTotal 7
[2025-01-07 06:11:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Law%20Offices%20of%20Diane%20Staples"
[2025-01-07 06:11:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 11:12:01] Production.INFO: ==9870== Lock acquired, processing the job...
[2025-01-07 11:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:12:01] Production.INFO: neon service started
[2025-01-07 11:12:01] Production.INFO: neon service started
[2025-01-07 11:12:01] Production.INFO: ==9870== Releasing lock...
[2025-01-07 11:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:12:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 06:12:01] Production.INFO: ==9872== Lock acquired, processing the job...
[2025-01-07 06:12:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:12:02] Production.INFO: ==9872== Releasing lock...
[2025-01-07 06:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:12:02] Production.INFO: ==9874== Lock acquired, processing the job...
[2025-01-07 11:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:12:02] Production.INFO: ==9874== Releasing lock...
[2025-01-07 11:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:12:02] Production.INFO: ==9879== Lock acquired, processing the job...
[2025-01-07 06:12:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:12:02] Production.INFO: ==9887== Lock acquired, processing the job...
[2025-01-07 06:12:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:12:03] Production.INFO: ==9877== Lock acquired, processing the job...
[2025-01-07 06:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:12:03] Production.INFO: ==9881== Lock acquired, processing the job...
[2025-01-07 06:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:12:03] Production.INFO: ==9879== Releasing lock...
[2025-01-07 06:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:12:03] Production.INFO: ==9883== Lock acquired, processing the job...
[2025-01-07 06:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:12:03] Production.INFO: count ==21
[2025-01-07 06:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:12:03] Production.INFO: count ==21
[2025-01-07 06:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192980') start
[2025-01-07 06:12:03] Production.INFO: ==9885== Lock acquired, processing the job...
[2025-01-07 06:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192980') end
[2025-01-07 06:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:12:03] Production.INFO: 1
[2025-01-07 06:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:12:03] Production.INFO: Account Balance Start.
[2025-01-07 06:12:03] Production.INFO: CreateAllLog Start
[2025-01-07 06:12:03] Production.INFO: 117
[2025-01-07 06:12:03] Production.INFO: ==9887== Releasing lock...
[2025-01-07 06:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:12:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:12:03] Production.INFO: Date 2024-12-08
[2025-01-07 06:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:12:03] Production.ERROR: done
[2025-01-07 06:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:12:03] Production.INFO: Date 2024-12-09
[2025-01-07 06:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:12:03] Production.INFO: Date 2024-12-10
[2025-01-07 06:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:12:03] Production.INFO: Date 2024-12-11
[2025-01-07 06:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:12:03] Production.INFO: Date 2024-12-12
[2025-01-07 06:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:12:03] Production.ERROR: done
[2025-01-07 06:12:03] Production.INFO: Date 2024-12-13
[2025-01-07 06:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:12:03] Production.INFO: Date 2024-12-14
[2025-01-07 06:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:12:03] Production.INFO: Date 2024-12-15
[2025-01-07 06:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:12:03] Production.INFO: Date 2024-12-16
[2025-01-07 06:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:12:03] Production.INFO: Date 2024-12-17
[2025-01-07 06:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:12:03] Production.INFO: Date 2024-12-18
[2025-01-07 06:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:12:04] Production.INFO: Date 2024-12-19
[2025-01-07 06:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:12:04] Production.INFO: Date 2024-12-20
[2025-01-07 06:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:12:04] Production.INFO: Date 2024-12-21
[2025-01-07 06:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:12:04] Production.INFO: Date 2024-12-22
[2025-01-07 06:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:12:04] Production.INFO: Date 2024-12-23
[2025-01-07 06:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:12:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 06:12:04] Production.INFO: Date 2024-12-24
[2025-01-07 06:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:12:04] Production.INFO: Date 2024-12-25
[2025-01-07 06:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:12:04] Production.INFO: Date 2024-12-26
[2025-01-07 06:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:12:04] Production.INFO: Date 2024-12-27
[2025-01-07 06:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:12:04] Production.INFO: Date 2024-12-28
[2025-01-07 06:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:12:04] Production.INFO: Date 2024-12-29
[2025-01-07 06:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:12:04] Production.INFO: Date 2024-12-30
[2025-01-07 06:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:12:04] Production.INFO: Date 2024-12-31
[2025-01-07 06:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:12:04] Production.INFO: Date 2025-01-01
[2025-01-07 06:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:12:04] Production.INFO: Date 2025-01-02
[2025-01-07 06:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:12:04] Production.INFO: Date 2025-01-03
[2025-01-07 06:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:12:04] Production.INFO: Date 2025-01-04
[2025-01-07 06:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:12:04] Production.INFO: Date 2025-01-05
[2025-01-07 06:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:12:04] Production.INFO: Date 2025-01-06
[2025-01-07 06:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:12:04] Production.INFO: Date 2025-01-07
[2025-01-07 06:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:12:04] Production.INFO: Total Charge 0
[2025-01-07 06:12:04] Production.INFO: CreateAllLog End
[2025-01-07 06:12:04] Production.INFO: Account Balance End.
[2025-01-07 06:12:04] Production.ERROR: CronJobId end 12
[2025-01-07 06:12:04] Production.INFO: ==9883== Releasing lock...
[2025-01-07 06:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:12:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:12:04
[end_date_ymd] => 2025-01-07 06:12:04
[RateCDR] => 1
)
[2025-01-07 06: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-07 03:12:04' and `end` < '2025-01-07 06: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-07 06:12:06] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "PAYGo - Voice - 15198330040",Quantity : 1,UnitAmount : 7.000000,LineAmount : 7.000000}
[2025-01-07 06:12:09] Production.INFO: ==== result =====
[2025-01-07 06:12:09] Production.INFO: {
"Id": "3b76931f-0a3d-4ed3-b0cf-279df601e963",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736248329356)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "03f649ed-b1c9-42f6-80f7-243808f80fd0",
"InvoiceNumber": "INV11283",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 7.91,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "97ef00b2-8eb5-497a-aadd-ae29a942c858",
"ContactStatus": "ACTIVE",
"Name": "Law Offices of Diane Staples",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1533070460420+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2025-01-01T00:00:00",
"Date": "\/Date(1735689600000+0000)\/",
"DueDateString": "2025-01-31T00:00:00",
"DueDate": "\/Date(1738281600000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "PAYGo - Voice - 15198330040",
"UnitAmount": 7.00,
"TaxType": "TAX020",
"TaxAmount": 0.91,
"LineAmount": 7.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "1f34ed44-047a-438d-8683-8d3c0ebd0b7b",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 7.00,
"TotalTax": 0.91,
"Total": 7.91,
"UpdatedDateUTC": "\/Date(1736248329323+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 06:12:09] Production.INFO: -- Create Invoice id --03f649ed-b1c9-42f6-80f7-243808f80fd0
[2025-01-07 06:12:09] Production.INFO: -- Create Invoice Done --
[2025-01-07 06:12:09] Production.INFO: CheckInvoice xerov2: INV11143
[2025-01-07 06:12:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11143
[2025-01-07 06:12:09] Production.ERROR: CronJobId end10
[2025-01-07 06:12:09] Production.INFO: ==9881== Releasing lock...
[2025-01-07 06:12:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:12:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:12:11] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 06:12:11] Production.INFO: Invoice SubTotal 77.500000
[2025-01-07 06:12:11] Production.INFO: Invoice DetTotal 77.5
[2025-01-07 06:12:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="LevLending"
[2025-01-07 06:12:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:12:11] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:12:11] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:12:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:12:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:12:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:12:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:12:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:12:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:12:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:12:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:12:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:12:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:12:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:12:12] Production.INFO: call_cost start
[2025-01-07 06:12:12] Production.INFO: call_cost end
[2025-01-07 06:12:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:12:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:12:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:12:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:12:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:12:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:12:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:12:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:12:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:12:13] Production.INFO: ==9877== Releasing lock...
[2025-01-07 06:12:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:12:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:12:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 06:12:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 06:12:18] Production.INFO: count ==53
[2025-01-07 06:12:18] Production.ERROR: pbx CDR StartTime 2025-01-07 03:12:04 - End Time 2025-01-07 06:12:04
[2025-01-07 06:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192983', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192983', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192983', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192983', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:12:18] Production.INFO: ProcessCDR(1,14192983,1,1,2)
[2025-01-07 06:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192983,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192983,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192983,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:12:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 06:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192983,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192983', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192983', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:12:21] Production.INFO: ==9885== Releasing lock...
[2025-01-07 06:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:12:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 06:12:22] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (9057608274 - 11 Buttermill Ave. Unit 2 Concord, ON L4K 3X5 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 06:12:24] Production.INFO: ==== result =====
[2025-01-07 06:12:24] Production.INFO: {
"Id": "35510564-36a7-4a12-99af-b4888aeb7b62",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736248344926)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "53a0dbc6-9b8a-45a2-bf5b-43bbc60785d3",
"InvoiceNumber": "INV11143",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 87.58,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "0c3388d2-858d-4ab0-82a5-823938ebfea0",
"ContactStatus": "ACTIVE",
"Name": "LevLending",
"FirstName": "Nick",
"LastName": "Levin",
"EmailAddress": "Nick-levin@hotmail.com",
"BankAccountDetails": "",
"TaxNumber": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"AddressLine1": "11 Buttermill Ave.",
"AddressLine2": "Unit 2",
"AddressLine3": "",
"AddressLine4": "",
"City": "Concord",
"Region": "ON",
"PostalCode": "L4K 3X5",
"Country": "Canada",
"AttentionTo": "Nick Levin"
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "4168288127",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "(416) 828-8127",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1542138669507+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-02T00:00:00",
"Date": "\/Date(1733097600000+0000)\/",
"DueDateString": "2025-01-01T00:00:00",
"DueDate": "\/Date(1735689600000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 4 Line Flat Rate",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "6c167878-ad3a-4de6-a437-77ca42137917",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (9057608274 - 11 Buttermill Ave. Unit 2 Concord, ON L4K 3X5 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "bf5db855-9b25-4097-8240-d48be02b0b6c",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 77.50,
"TotalTax": 10.08,
"Total": 87.58,
"UpdatedDateUTC": "\/Date(1736248344723+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 06:12:24] Production.INFO: -- Create Invoice id --53a0dbc6-9b8a-45a2-bf5b-43bbc60785d3
[2025-01-07 06:12:24] Production.INFO: -- Create Invoice Done --
[2025-01-07 06:12:24] Production.INFO: CheckInvoice xerov2: INV10963
[2025-01-07 06:12:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10963
[2025-01-07 06:12:27] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 06:12:27] Production.INFO: Invoice SubTotal 82.460000
[2025-01-07 06:12:27] Production.INFO: Invoice DetTotal 82.46
[2025-01-07 06:12:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Lions%20Auto%20Protection"
[2025-01-07 06:12:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 06:12:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 06:12:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 06:12:38] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 10-01-2024 To 10-30-2024",Quantity : 1,UnitAmount : 19.960000,LineAmount : 19.960000},{taxType:"TAX020",AccountCode : 203,"Description": "License for an Unlimited Canada/US Cloud Phone extension",Quantity : 6,UnitAmount : 10.000000,LineAmount : 60.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (9056299698 - 1 Greensborough Drive, Suite 300, Etobicoke, ON M9W1C8)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 06:12:40] Production.INFO: ==== result =====
[2025-01-07 06:12:40] Production.INFO: {
"Id": "31cfe864-971f-4123-bc38-6b381d030e71",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736248360755)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "fd48cefb-67b8-4e17-b88b-e74fe0b136bb",
"InvoiceNumber": "INV10963",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 93.18,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "173facd8-68c9-4e18-bac1-f10f211f33e1",
"ContactStatus": "ACTIVE",
"Name": "Lions Auto Protection",
"FirstName": "Krystyne",
"LastName": "V.",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1696242146763+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-10-31T00:00:00",
"Date": "\/Date(1730332800000+0000)\/",
"DueDateString": "2024-11-30T00:00:00",
"DueDate": "\/Date(1732924800000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "From 10-01-2024 To 10-30-2024",
"UnitAmount": 19.96,
"TaxType": "TAX020",
"TaxAmount": 2.59,
"LineAmount": 19.96,
"AccountCode": "234",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "209a3876-ceb3-48a5-a68d-90e0ddae248d",
"AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "License for an Unlimited Canada/US Cloud Phone extension",
"UnitAmount": 10.00,
"TaxType": "TAX020",
"TaxAmount": 7.80,
"LineAmount": 60.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 6.0000,
"LineItemID": "b76c1094-2b3c-4f52-8f4b-44595f22ad5a",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
},
{
"Description": "e911 address registration (9056299698 - 1 Greensborough Drive, Suite 300, Etobicoke, ON M9W1C8)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "8986c80c-1bd9-4fc1-939a-75963a0836f9",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
}
],
"SubTotal": 82.46,
"TotalTax": 10.72,
"Total": 93.18,
"UpdatedDateUTC": "\/Date(1736248360707+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 06:12:40] Production.INFO: -- Create Invoice id --fd48cefb-67b8-4e17-b88b-e74fe0b136bb
[2025-01-07 06:12:40] Production.INFO: -- Create Invoice Done --
[2025-01-07 06:12:40] Production.INFO: CheckInvoice xerov2: INV11139
[2025-01-07 06:12:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11139
[2025-01-07 06:12:43] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 06:12:43] Production.INFO: Invoice SubTotal 81.130000
[2025-01-07 06:12:43] Production.INFO: Invoice DetTotal 81.13
[2025-01-07 06:12:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Lions%20Auto%20Protection"
[2025-01-07 06:12:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 06:12:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 06:12:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 06:12:54] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 10-31-2024 To 11-30-2024",Quantity : 1,UnitAmount : 19.330000,LineAmount : 19.330000},{taxType:"TAX020",AccountCode : 203,"Description": "License for an Unlimited Canada/US Cloud Phone extension",Quantity : 6,UnitAmount : 9.900000,LineAmount : 59.400000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (9056299698 - 1 Greensborough Drive, Suite 300, Etobicoke, ON M9W1C8)",Quantity : 1,UnitAmount : 2.400000,LineAmount : 2.400000}
[2025-01-07 06:12:57] Production.INFO: ==== result =====
[2025-01-07 06:12:57] Production.INFO: {
"Id": "869faeda-98da-43b8-8262-7744bf9cacd6",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736248377725)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "c5e48b1a-881f-4492-b0f8-5eb507a6cdd7",
"InvoiceNumber": "INV11139",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 91.67,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "173facd8-68c9-4e18-bac1-f10f211f33e1",
"ContactStatus": "ACTIVE",
"Name": "Lions Auto Protection",
"FirstName": "Krystyne",
"LastName": "V.",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1696242146763+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-01T00:00:00",
"Date": "\/Date(1733011200000+0000)\/",
"DueDateString": "2024-12-31T00:00:00",
"DueDate": "\/Date(1735603200000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "From 10-31-2024 To 11-30-2024",
"UnitAmount": 19.33,
"TaxType": "TAX020",
"TaxAmount": 2.51,
"LineAmount": 19.33,
"AccountCode": "234",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "2d3252b9-3324-4b9c-93a6-a58432c9a91c",
"AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "License for an Unlimited Canada/US Cloud Phone extension",
"UnitAmount": 9.90,
"TaxType": "TAX020",
"TaxAmount": 7.72,
"LineAmount": 59.40,
"AccountCode": "203",
"Tracking": [],
"Quantity": 6.0000,
"LineItemID": "439da28e-6fb6-4973-ae1a-bcbd79dee4c9",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
},
{
"Description": "e911 address registration (9056299698 - 1 Greensborough Drive, Suite 300, Etobicoke, ON M9W1C8)",
"UnitAmount": 2.40,
"TaxType": "TAX020",
"TaxAmount": 0.31,
"LineAmount": 2.40,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "eb7563df-4db8-40de-ac56-ee8fd06d47e2",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
}
],
"SubTotal": 81.13,
"TotalTax": 10.54,
"Total": 91.67,
"UpdatedDateUTC": "\/Date(1736248377693+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 06:12:57] Production.INFO: -- Create Invoice id --c5e48b1a-881f-4492-b0f8-5eb507a6cdd7
[2025-01-07 06:12:57] Production.INFO: -- Create Invoice Done --
[2025-01-07 06:12:57] Production.INFO: -- Xero End Inovice --
[2025-01-07 06:12:57] Production.INFO: ==9770== Releasing lock...
[2025-01-07 06:12:57] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10445 #Stops#
[2025-01-07 06:12:57] Production.INFO: 32.25 MB #Memory Used#
[2025-01-07 11:13:01] Production.INFO: ==9977== Lock acquired, processing the job...
[2025-01-07 11:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:13:01] Production.INFO: neon service started
[2025-01-07 11:13:01] Production.INFO: neon service started
[2025-01-07 11:13:01] Production.INFO: ==9977== Releasing lock...
[2025-01-07 11:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:13:02] Production.INFO: ==9979== Lock acquired, processing the job...
[2025-01-07 06:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:13:02] Production.INFO: ==9979== Releasing lock...
[2025-01-07 06:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:13:02] Production.INFO: ==9981== Lock acquired, processing the job...
[2025-01-07 11:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:13:02] Production.INFO: ==9981== Releasing lock...
[2025-01-07 11:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:13:03] Production.INFO: ==9990== Lock acquired, processing the job...
[2025-01-07 06:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:13:03] Production.INFO: ==9992== Lock acquired, processing the job...
[2025-01-07 06:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:13:03] Production.INFO: Account Balance Start.
[2025-01-07 06:13:03] Production.INFO: CreateAllLog Start
[2025-01-07 06:13:03] Production.INFO: 117
[2025-01-07 06:13:03] Production.INFO: Date 2024-12-08
[2025-01-07 06:13:03] Production.INFO: ==9984== Lock acquired, processing the job...
[2025-01-07 06:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:13:03] Production.INFO: ==9986== Lock acquired, processing the job...
[2025-01-07 06:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:13:03] Production.INFO: Date 2024-12-09
[2025-01-07 06:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:13:03] Production.INFO: ==9988== Lock acquired, processing the job...
[2025-01-07 06:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:13:03] Production.INFO: Date 2024-12-10
[2025-01-07 06:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:13:03] Production.INFO: ==9994== Lock acquired, processing the job...
[2025-01-07 06:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:13:03] Production.INFO: Date 2024-12-11
[2025-01-07 06:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 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-07 06:13:03] Production.INFO: Date 2024-12-12
[2025-01-07 06:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:13:03] Production.INFO: count ==21
[2025-01-07 06:13:03] Production.ERROR: done
[2025-01-07 06:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:13:03] Production.INFO: Date 2024-12-13
[2025-01-07 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-07 06:13:03] Production.INFO: count ==21
[2025-01-07 06:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192987') start
[2025-01-07 06:13:03] Production.INFO: Date 2024-12-14
[2025-01-07 06:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:13:03] Production.ERROR: done
[2025-01-07 06:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192987') end
[2025-01-07 06:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:13:03] Production.INFO: 1
[2025-01-07 06:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:13:03] Production.INFO: ==9986== Releasing lock...
[2025-01-07 06:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:13:04] Production.INFO: ==9994== Releasing lock...
[2025-01-07 06:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:13:04] Production.INFO: Date 2024-12-15
[2025-01-07 06:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:13:04] Production.INFO: Date 2024-12-16
[2025-01-07 06:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:13:04] Production.INFO: Date 2024-12-17
[2025-01-07 06:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:13:04] Production.INFO: Date 2024-12-18
[2025-01-07 06:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:13:04] Production.INFO: Date 2024-12-19
[2025-01-07 06:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:13:04] Production.INFO: Date 2024-12-20
[2025-01-07 06:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:13:04] Production.INFO: Date 2024-12-21
[2025-01-07 06:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:13:04] Production.INFO: Date 2024-12-22
[2025-01-07 06:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:13:04] Production.INFO: Date 2024-12-23
[2025-01-07 06:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:13:04] Production.INFO: Date 2024-12-24
[2025-01-07 06:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:13:04] Production.INFO: Date 2024-12-25
[2025-01-07 06:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:13:04] Production.INFO: Date 2024-12-26
[2025-01-07 06:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:13:04] Production.INFO: Date 2024-12-27
[2025-01-07 06:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:13:04] Production.INFO: Date 2024-12-28
[2025-01-07 06:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:13:04] Production.INFO: Date 2024-12-29
[2025-01-07 06:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:13:04] Production.INFO: Date 2024-12-30
[2025-01-07 06:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:13:04] Production.INFO: Date 2024-12-31
[2025-01-07 06:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:13:04] Production.INFO: Date 2025-01-01
[2025-01-07 06:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:13:04] Production.INFO: Date 2025-01-02
[2025-01-07 06:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:13:05] Production.INFO: Date 2025-01-03
[2025-01-07 06:13:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:13:05
[end_date_ymd] => 2025-01-07 06:13:05
[RateCDR] => 1
)
[2025-01-07 06:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 03:13:05' and `end` < '2025-01-07 06:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 06:13:05] Production.INFO: Date 2025-01-04
[2025-01-07 06:13:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:13:05] Production.INFO: Date 2025-01-05
[2025-01-07 06:13:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:13:05] Production.INFO: Date 2025-01-06
[2025-01-07 06:13:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:13:05] Production.INFO: Date 2025-01-07
[2025-01-07 06:13:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:13:05] Production.INFO: Total Charge 0
[2025-01-07 06:13:05] Production.INFO: CreateAllLog End
[2025-01-07 06:13:05] Production.INFO: Account Balance End.
[2025-01-07 06:13:05] Production.ERROR: CronJobId end 12
[2025-01-07 06:13:05] Production.INFO: ==9990== Releasing lock...
[2025-01-07 06:13:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:13:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:13:11] Production.ERROR: CronJobId end10
[2025-01-07 06:13:11] Production.INFO: ==9988== Releasing lock...
[2025-01-07 06:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:13:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:13:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:13:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:13:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:13:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:13:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:13:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:13:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:13:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:13:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:13:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:13:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:13:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:13:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:13:12] Production.INFO: call_cost start
[2025-01-07 06:13:12] Production.INFO: call_cost end
[2025-01-07 06:13:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:13:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:13:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:13:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:13:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:13:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:13:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:13:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:13:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:13:13] Production.INFO: ==9984== Releasing lock...
[2025-01-07 06:13:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:13:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:13:17] Production.INFO: count ==54
[2025-01-07 06:13:17] Production.ERROR: pbx CDR StartTime 2025-01-07 03:13:05 - End Time 2025-01-07 06:13:05
[2025-01-07 06:13:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192988', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192988', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192988', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192988', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:13:17] Production.INFO: ProcessCDR(1,14192988,1,1,2)
[2025-01-07 06:13:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192988,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:13:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192988,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:13:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192988,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192988,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192988', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192988', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:13:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:13:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:13:22] Production.INFO: ==9992== Releasing lock...
[2025-01-07 06:13:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:13:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 11:14:02] Production.INFO: ==10067== Lock acquired, processing the job...
[2025-01-07 11:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:14:02] Production.INFO: neon service started
[2025-01-07 11:14:02] Production.INFO: neon service started
[2025-01-07 11:14:02] Production.INFO: ==10067== Releasing lock...
[2025-01-07 11:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:14:02] Production.INFO: ==10069== Lock acquired, processing the job...
[2025-01-07 06:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:14:02] Production.INFO: ==10069== Releasing lock...
[2025-01-07 06:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:14:02] Production.INFO: ==10071== Lock acquired, processing the job...
[2025-01-07 11:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:14:03] Production.INFO: ==10071== Releasing lock...
[2025-01-07 11:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:14:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:14:03] Production.INFO: ==10073== Lock acquired, processing the job...
[2025-01-07 06:14:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10446 #Starts#
[2025-01-07 06:14:03] Production.INFO: -- Xero Api Check --
[2025-01-07 06:14:03] Production.INFO: ==10075== Lock acquired, processing the job...
[2025-01-07 06:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:14:03] Production.INFO: ==10077== Lock acquired, processing the job...
[2025-01-07 06:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:14:04] Production.INFO: ==10079== Lock acquired, processing the job...
[2025-01-07 06:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:14:04] Production.INFO: ==10083== Lock acquired, processing the job...
[2025-01-07 06:14:04] Production.INFO: xeropaymentimport-command-xeropaymentimport-companyid-1-cronjobid-14 #Starts#
[2025-01-07 06:14:04] Production.INFO: ==10081== Lock acquired, processing the job...
[2025-01-07 06:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:14:04] Production.INFO: ==10085== Lock acquired, processing the job...
[2025-01-07 06:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:14:04] Production.INFO: Account Balance Start.
[2025-01-07 06:14:04] Production.INFO: CreateAllLog Start
[2025-01-07 06:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:14:04] Production.INFO: 117
[2025-01-07 06:14:04] Production.INFO: Date 2024-12-08
[2025-01-07 06:14:04] Production.INFO: -- Xero Api Check --
[2025-01-07 06:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:14:04] Production.INFO: Date 2024-12-09
[2025-01-07 06:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:14:04] Production.INFO: Date 2024-12-10
[2025-01-07 06:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:14:04] Production.INFO: ==10087== Lock acquired, processing the job...
[2025-01-07 06:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:14:04] Production.INFO: ==10077== Releasing lock...
[2025-01-07 06:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:14:04] Production.INFO: Date 2024-12-11
[2025-01-07 06:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:14:04] Production.ERROR: done
[2025-01-07 06:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 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-07 06:14:04] Production.INFO: Date 2024-12-12
[2025-01-07 06:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:14:04] Production.INFO: count ==21
[2025-01-07 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.832959
[namelookup_time] => 0.539324
[connect_time] => 0.549544
[pretransfer_time] => 0.759148
[size_upload] => 82
[size_download] => 2755
[speed_download] => 3307
[speed_upload] => 98
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.83293
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.17
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 43698
)
[2025-01-07 06:14:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDg0NDQsImV4cCI6MTczNjI0ODc0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ4NDQ0LCJhdF9oYXNoIjoia01TbHNMS1NSa1RCSHd1N2hGRUxNUSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.Cq28mGzzm4Qp4jKQMQYpCy83MuR03Ppqz_d7EFYnl78Yz9CYsY4pp97g-zz6ALSuzVOf6mmT2M3_yO-XNr2hoDf1yS4Ty3uqKq-AsHjGm0l9BdCAMbPfpYwRl667uSPk3yLFu5zHb5Ta87Rcp_89gK7QpbXf19UbSD9Qqv3PvXfB7838bSQpL9TlYYwKz0OZR_R_sWk567FNCd-urh9GAOEztFIVxf9bLIsYHpy4VHhGZceHFh3AyUQB8L5Ri8YYIP-pwwZ1jUNGsFzPHaxEnpapntkDAMkGSI6X8ggmZ4UJXHHkt1-MqdMj6hyHVL5jkMx3iaXFCKDhCNBybk1MHw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDg0NDQsImV4cCI6MTczNjI1MDI0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.fdEbdCMhDLAapgtfuCchY8C6qaaXaALGjUbeGYU5SMnHO-qTQhjgb8BADy7I6WXu4xtD21iMVZ-xyV0_T78ojF7cWmKnYVHazGoRrM8aJH-YXIR1vuTDI03jaDyBEdjgFryXFWc-sX4DdxRK9sIyd7ISKRxaGPbrzWVbVhHA6hPV-HOflV2hiVzAmJ7ndwKn4eVnrkX-1RmTtgmdjlVmkakOsRGBjPKe1d0D2iw71oSSV7KlwqVOXcFzWiNdo8CWSt2f4vF_CNuMZleTxWiS7QWPcZnaTC_8v_W-9gMU964l6TO4z3NBAHeZ3MQZha99rhzQOrfkBau22WPBBUX88w
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => AS1GqGslq46YH1f_4o8jd27IMidrx5TYOJUXVhxeKmY
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 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-07 06:14:04] Production.INFO: count ==21
[2025-01-07 06:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192992') start
[2025-01-07 06:14:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDg0NDQsImV4cCI6MTczNjI0ODc0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ4NDQ0LCJhdF9oYXNoIjoia01TbHNMS1NSa1RCSHd1N2hGRUxNUSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.Cq28mGzzm4Qp4jKQMQYpCy83MuR03Ppqz_d7EFYnl78Yz9CYsY4pp97g-zz6ALSuzVOf6mmT2M3_yO-XNr2hoDf1yS4Ty3uqKq-AsHjGm0l9BdCAMbPfpYwRl667uSPk3yLFu5zHb5Ta87Rcp_89gK7QpbXf19UbSD9Qqv3PvXfB7838bSQpL9TlYYwKz0OZR_R_sWk567FNCd-urh9GAOEztFIVxf9bLIsYHpy4VHhGZceHFh3AyUQB8L5Ri8YYIP-pwwZ1jUNGsFzPHaxEnpapntkDAMkGSI6X8ggmZ4UJXHHkt1-MqdMj6hyHVL5jkMx3iaXFCKDhCNBybk1MHw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDg0NDQsImV4cCI6MTczNjI1MDI0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.fdEbdCMhDLAapgtfuCchY8C6qaaXaALGjUbeGYU5SMnHO-qTQhjgb8BADy7I6WXu4xtD21iMVZ-xyV0_T78ojF7cWmKnYVHazGoRrM8aJH-YXIR1vuTDI03jaDyBEdjgFryXFWc-sX4DdxRK9sIyd7ISKRxaGPbrzWVbVhHA6hPV-HOflV2hiVzAmJ7ndwKn4eVnrkX-1RmTtgmdjlVmkakOsRGBjPKe1d0D2iw71oSSV7KlwqVOXcFzWiNdo8CWSt2f4vF_CNuMZleTxWiS7QWPcZnaTC_8v_W-9gMU964l6TO4z3NBAHeZ3MQZha99rhzQOrfkBau22WPBBUX88w
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => AS1GqGslq46YH1f_4o8jd27IMidrx5TYOJUXVhxeKmY
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 06:14:04] Production.INFO: Date 2024-12-13
[2025-01-07 06:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:14:04] Production.INFO: AccountID 45
[2025-01-07 06:14:04] Production.ERROR: done
[2025-01-07 06:14:04] Production.INFO: AccountName Metro Toronto Collision Centre
[2025-01-07 06:14:04] Production.INFO: Checkcustomer
[2025-01-07 06:14:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Metro%20Toronto%20Collision%20Centre"
[2025-01-07 06:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14192992') end
[2025-01-07 06:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:14:04] Production.INFO: 1
[2025-01-07 06:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:14:04] Production.INFO: ==10087== Releasing lock...
[2025-01-07 06:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:14:04] Production.INFO: Date 2024-12-14
[2025-01-07 06:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:14:04] Production.INFO: Date 2024-12-15
[2025-01-07 06:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:14:04] Production.INFO: Date 2024-12-16
[2025-01-07 06:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:14:04] Production.INFO: Date 2024-12-17
[2025-01-07 06:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:14:04] Production.INFO: Date 2024-12-18
[2025-01-07 06:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:14:04] Production.INFO: Date 2024-12-19
[2025-01-07 06:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:14:05] Production.INFO: Date 2024-12-20
[2025-01-07 06:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:14:05] Production.INFO: Date 2024-12-21
[2025-01-07 06:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:14:05] Production.INFO: Date 2024-12-22
[2025-01-07 06:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:14:05] Production.INFO: Date 2024-12-23
[2025-01-07 06:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:14:05] Production.INFO: Date 2024-12-24
[2025-01-07 06:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:14:05] Production.INFO: Date 2024-12-25
[2025-01-07 06:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:14:05] Production.INFO: Date 2024-12-26
[2025-01-07 06:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:14:05] Production.INFO: Date 2024-12-27
[2025-01-07 06:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:14:05] Production.INFO: Date 2024-12-28
[2025-01-07 06:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:14:05] Production.INFO: Date 2024-12-29
[2025-01-07 06:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:14:05] Production.INFO: Date 2024-12-30
[2025-01-07 06:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:14:05] Production.INFO: Date 2024-12-31
[2025-01-07 06:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:14:05] Production.INFO: Date 2025-01-01
[2025-01-07 06:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:14:05] Production.INFO: Date 2025-01-02
[2025-01-07 06:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:14:05] Production.INFO: Date 2025-01-03
[2025-01-07 06:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:14:05] Production.INFO: Date 2025-01-04
[2025-01-07 06:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:14:05] Production.INFO: Date 2025-01-05
[2025-01-07 06:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:14:05] Production.INFO: Date 2025-01-06
[2025-01-07 06:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:14:05] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 859
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 1.371639
[namelookup_time] => 0.542652
[connect_time] => 0.630557
[pretransfer_time] => 1.009786
[size_upload] => 82
[size_download] => 2755
[speed_download] => 2008
[speed_upload] => 59
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 1.371597
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.72.248.213
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 57040
)
[2025-01-07 06:14:05] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDg0NDUsImV4cCI6MTczNjI0ODc0NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ4NDQ1LCJhdF9oYXNoIjoiZmxkNE9ISDdnc2xYSHJZQmppN25XZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.Gcy6jysybQD1g6xYxVCPT2uGzsM3oSHOs3NNgu7mBE70vt94trHtf5Dpjkm-rMzglysQvO72LAnT6NH-2NqDrpn7DxDdjAgvGLyBRD4yzmIyXJlXNC_i9SgbzE8qAEk9LzRh3q7x9y5B4nEBHK5qTPqRHJhbNdIBOsOgDVSlKV7CpM2hvGrfnp8uPrTv8yKRSI-SWYGiItu_D1Ru0oKpywcFDPi5NIUjeF1vMFKD0CH44j8MabUzUvnAS4pp-LuX36eELhsvwRkaYSB4-JNXibrwhm9oh7TaKcW47XJJ2YTLn3eq_ikTvuRlMLJ6OEB9ZCwpIgGMPZcx2fw77vdM0w
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDg0NDUsImV4cCI6MTczNjI1MDI0NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.m7dwS7_5eS8N45afn7VaiayZSkjhpmSV6PaySEZZJYF7QS7E_hB7P1_EJzzQR-k2d-hF7L9nmjO6EM3LMaJla7Q3znIoq0U2gftHTvnQjfNAbl0D-BNm6wxs7T0EVeNhqL74uB2Qvowep-bKPt-oovfa5Wwk0_AOrv8AqiFKJKNV5hK-uii4KJO8k9d-SbQmD4MCWuPwBSAneg93mHPVPTB-8ihP7gMwXbZhjJxjrKLlDrR-CVCtjyTgqme5OLgwNJLSMYLGZ-19Hg6ucy2kaj0CR5iZ-Axh6QNNWoSdc7NnvDQbw9A1inp1nAXrVhPjgJoJ1199vRSldinE0i3vZg
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => hC1dZXrKe26Ntp0oAmJdG9C0LgO6y2-XfzNGY5lQL9Y
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 06:14:05] Production.INFO: Date 2025-01-07
[2025-01-07 06:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:14:05] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDg0NDUsImV4cCI6MTczNjI0ODc0NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ4NDQ1LCJhdF9oYXNoIjoiZmxkNE9ISDdnc2xYSHJZQmppN25XZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.Gcy6jysybQD1g6xYxVCPT2uGzsM3oSHOs3NNgu7mBE70vt94trHtf5Dpjkm-rMzglysQvO72LAnT6NH-2NqDrpn7DxDdjAgvGLyBRD4yzmIyXJlXNC_i9SgbzE8qAEk9LzRh3q7x9y5B4nEBHK5qTPqRHJhbNdIBOsOgDVSlKV7CpM2hvGrfnp8uPrTv8yKRSI-SWYGiItu_D1Ru0oKpywcFDPi5NIUjeF1vMFKD0CH44j8MabUzUvnAS4pp-LuX36eELhsvwRkaYSB4-JNXibrwhm9oh7TaKcW47XJJ2YTLn3eq_ikTvuRlMLJ6OEB9ZCwpIgGMPZcx2fw77vdM0w
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDg0NDUsImV4cCI6MTczNjI1MDI0NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.m7dwS7_5eS8N45afn7VaiayZSkjhpmSV6PaySEZZJYF7QS7E_hB7P1_EJzzQR-k2d-hF7L9nmjO6EM3LMaJla7Q3znIoq0U2gftHTvnQjfNAbl0D-BNm6wxs7T0EVeNhqL74uB2Qvowep-bKPt-oovfa5Wwk0_AOrv8AqiFKJKNV5hK-uii4KJO8k9d-SbQmD4MCWuPwBSAneg93mHPVPTB-8ihP7gMwXbZhjJxjrKLlDrR-CVCtjyTgqme5OLgwNJLSMYLGZ-19Hg6ucy2kaj0CR5iZ-Axh6QNNWoSdc7NnvDQbw9A1inp1nAXrVhPjgJoJ1199vRSldinE0i3vZg
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => hC1dZXrKe26Ntp0oAmJdG9C0LgO6y2-XfzNGY5lQL9Y
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 06:14:05] Production.ERROR: Invoice Payment Date 2025-01-06 00:00:00
[2025-01-07 06:14:05] Production.INFO: Total Charge 0
[2025-01-07 06:14:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Payments?where=Date>=DateTime(2025,01,06)
[2025-01-07 06:14:05] Production.INFO: CreateAllLog End
[2025-01-07 06:14:05] Production.INFO: Account Balance End.
[2025-01-07 06:14:05] Production.ERROR: CronJobId end 12
[2025-01-07 06:14:05] Production.INFO: ==10081== Releasing lock...
[2025-01-07 06:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:14:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:14:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:14:06
[end_date_ymd] => 2025-01-07 06:14:06
[RateCDR] => 1
)
[2025-01-07 06: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-07 03:14:06' and `end` < '2025-01-07 06: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-07 06:14:07] Production.INFO: Contact id print CheckCustomer Case===639507fe-3c02-40f6-89b2-b3a1c40bc965
[2025-01-07 06:14:07] Production.INFO: -- count --1
[2025-01-07 06:14:07] Production.INFO: AccountID 85
[2025-01-07 06:14:07] Production.INFO: AccountName MK TAXPLUS LTD
[2025-01-07 06:14:07] Production.INFO: Checkcustomer
[2025-01-07 06:14:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="MK%20TAXPLUS%20LTD"
[2025-01-07 06:14:08] Production.INFO: Batch insert start
[2025-01-07 06:14:08] Production.INFO: global counter4
[2025-01-07 06:14:08] Production.INFO: insertion start
[2025-01-07 06:14:08] Production.INFO: last batch insert 4
[2025-01-07 06:14:08] Production.INFO: insertion end
[2025-01-07 06:14:08] Production.INFO: CALL prc_importPaymentAccounting ('81f8bea0-cce8-11ef-af4a-c586e405f206') start
[2025-01-07 06:14:08] Production.INFO: CALL prc_importPaymentAccounting ('81f8bea0-cce8-11ef-af4a-c586e405f206') end
[2025-01-07 06:14:08] Production.INFO: array (
0 =>
array (
'Message' => '3 Records Imported
',
),
1 =>
array (
'Message' => ' Invalid InvoiceNumber : Expenses - 18 May 2018',
),
)
[2025-01-07 06:14:08] Production.INFO: 2
[2025-01-07 06:14:08] Production.ERROR: CronJobId end14
[2025-01-07 06:14:08] Production.INFO: ==10083== Releasing lock...
[2025-01-07 06:14:08] Production.INFO: xeropaymentimport-command-xeropaymentimport-companyid-1-cronjobid-14 #Stops#
[2025-01-07 06:14:08] Production.INFO: 26 MB #Memory Used#
[2025-01-07 06:14:10] Production.INFO: Contact id print CheckCustomer Case===b2a980df-8333-4b5e-8b50-c1d40e826ba3
[2025-01-07 06:14:10] Production.INFO: -- count --1
[2025-01-07 06:14:10] Production.INFO: AccountID 237
[2025-01-07 06:14:10] Production.INFO: AccountName Natural Insect Control
[2025-01-07 06:14:10] Production.INFO: Checkcustomer
[2025-01-07 06:14:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Natural%20Insect%20Control"
[2025-01-07 06:14:11] Production.ERROR: CronJobId end10
[2025-01-07 06:14:11] Production.INFO: ==10079== Releasing lock...
[2025-01-07 06:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:14:12] Production.INFO: Contact id print CheckCustomer Case===fcade0cf-7b43-4bfe-86cf-b6c9e33f1686
[2025-01-07 06:14:12] Production.INFO: -- count --1
[2025-01-07 06:14:12] Production.INFO: AccountID 237
[2025-01-07 06:14:12] Production.INFO: AccountName Natural Insect Control
[2025-01-07 06:14:12] Production.INFO: Checkcustomer
[2025-01-07 06:14:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Natural%20Insect%20Control"
[2025-01-07 06:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:14:13] Production.INFO: call_cost start
[2025-01-07 06:14:13] Production.INFO: call_cost end
[2025-01-07 06:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:14:14] Production.INFO: ==10075== Releasing lock...
[2025-01-07 06:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:14:15] Production.INFO: Contact id print CheckCustomer Case===fcade0cf-7b43-4bfe-86cf-b6c9e33f1686
[2025-01-07 06:14:15] Production.INFO: -- count --1
[2025-01-07 06:14:15] Production.INFO: AccountID 237
[2025-01-07 06:14:15] Production.INFO: AccountName Natural Insect Control
[2025-01-07 06:14:15] Production.INFO: Checkcustomer
[2025-01-07 06:14:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Natural%20Insect%20Control"
[2025-01-07 06:14:17] Production.INFO: Contact id print CheckCustomer Case===fcade0cf-7b43-4bfe-86cf-b6c9e33f1686
[2025-01-07 06:14:17] Production.INFO: -- count --1
[2025-01-07 06:14:17] Production.INFO: AccountID 237
[2025-01-07 06:14:17] Production.INFO: AccountName Natural Insect Control
[2025-01-07 06:14:17] Production.INFO: Checkcustomer
[2025-01-07 06:14:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Natural%20Insect%20Control"
[2025-01-07 06:14:19] Production.INFO: count ==54
[2025-01-07 06:14:19] Production.ERROR: pbx CDR StartTime 2025-01-07 03:14:06 - End Time 2025-01-07 06:14:06
[2025-01-07 06:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192993', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192993', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192993', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192993', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:14:20] Production.INFO: ProcessCDR(1,14192993,1,1,2)
[2025-01-07 06:14:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192993,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:14:20] Production.INFO: Contact id print CheckCustomer Case===fcade0cf-7b43-4bfe-86cf-b6c9e33f1686
[2025-01-07 06:14:20] Production.INFO: -- count --1
[2025-01-07 06:14:20] Production.INFO: AccountID 237
[2025-01-07 06:14:20] Production.INFO: AccountName Natural Insect Control
[2025-01-07 06:14:20] Production.INFO: Checkcustomer
[2025-01-07 06:14:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Natural%20Insect%20Control"
[2025-01-07 06:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192993,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192993,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:14:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192993,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192993', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192993', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:14:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:14:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:14:23] Production.INFO: ==10085== Releasing lock...
[2025-01-07 06:14:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:14:23] Production.INFO: 28 MB #Memory Used#
[2025-01-07 06:14:23] Production.INFO: Contact id print CheckCustomer Case===fcade0cf-7b43-4bfe-86cf-b6c9e33f1686
[2025-01-07 06:14:23] Production.INFO: -- count --1
[2025-01-07 06:14:23] Production.INFO: AccountID 237
[2025-01-07 06:14:23] Production.INFO: AccountName Natural Insect Control
[2025-01-07 06:14:23] Production.INFO: Checkcustomer
[2025-01-07 06:14:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Natural%20Insect%20Control"
[2025-01-07 06:14:25] Production.INFO: Contact id print CheckCustomer Case===fcade0cf-7b43-4bfe-86cf-b6c9e33f1686
[2025-01-07 06:14:25] Production.INFO: -- count --1
[2025-01-07 06:14:25] Production.INFO: -- Xero Add Inovice --
[2025-01-07 06:14:25] Production.INFO: CheckInvoice xerov2: INV11145
[2025-01-07 06:14:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11145
[2025-01-07 06:14:28] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 06:14:28] Production.INFO: Invoice SubTotal 34.140000
[2025-01-07 06:14:28] Production.INFO: Invoice DetTotal 34.14
[2025-01-07 06:14:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Metro%20Toronto%20Collision%20Centre"
[2025-01-07 06:14:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 06:14:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 06:14:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 06:14:38] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 11-03-2024 To 12-02-2024",Quantity : 1,UnitAmount : 3.640000,LineAmount : 3.640000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 4,UnitAmount : 7.000000,LineAmount : 28.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (16475609483 - 19 VANLEY CRES NORTH YORK, ON M3J2B7)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 06:14:41] Production.INFO: ==== result =====
[2025-01-07 06:14:41] Production.INFO: {
"Id": "2df7db0a-10aa-4b0b-a153-86e57d9c3b37",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736248481748)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "52a27096-4673-4e80-b045-b5afc08f06fc",
"InvoiceNumber": "INV11145",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 38.58,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "639507fe-3c02-40f6-89b2-b3a1c40bc965",
"ContactStatus": "ACTIVE",
"Name": "Metro Toronto Collision Centre",
"FirstName": "Avi",
"LastName": "",
"EmailAddress": "mtccinc@gmail.com",
"BankAccountDetails": "",
"TaxNumber": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"AddressLine1": "19 Vanley Cres.",
"AddressLine2": "",
"AddressLine3": "",
"AddressLine4": "",
"City": "North York",
"Region": "ON",
"PostalCode": "M3J 2B7",
"Country": "Canada",
"AttentionTo": "Avi"
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "(416) 4761593",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "4164761593",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1562268200550+0000)\/",
"ContactGroups": [
{
"ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58",
"Name": "Benjamin's Customers",
"Status": "ACTIVE",
"Contacts": [],
"HasValidationErrors": false
}
],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-03T00:00:00",
"Date": "\/Date(1733184000000+0000)\/",
"DueDateString": "2025-01-02T00:00:00",
"DueDate": "\/Date(1735776000000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "From 11-03-2024 To 12-02-2024",
"UnitAmount": 3.64,
"TaxType": "TAX020",
"TaxAmount": 0.47,
"LineAmount": 3.64,
"AccountCode": "234",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "d485bc6f-d466-494f-8e45-345b5e97f48e",
"AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "License for a Pay As You Go Cloud Phone extension",
"UnitAmount": 7.00,
"TaxType": "TAX020",
"TaxAmount": 3.64,
"LineAmount": 28.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 4.0000,
"DiscountRate": 0.00,
"LineItemID": "76f4d8f1-e664-40b6-a754-db725728eb82",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (16475609483 - 19 VANLEY CRES NORTH YORK, ON M3J2B7)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "f225bede-34f6-4300-a131-317a77d138ae",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 34.14,
"TotalTax": 4.44,
"Total": 38.58,
"UpdatedDateUTC": "\/Date(1736248481700+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 06:14:41] Production.INFO: -- Create Invoice id --52a27096-4673-4e80-b045-b5afc08f06fc
[2025-01-07 06:14:41] Production.INFO: -- Create Invoice Done --
[2025-01-07 06:14:41] Production.INFO: CheckInvoice xerov2: INV11252
[2025-01-07 06:14:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11252
[2025-01-07 06:14:44] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 06:14:44] Production.INFO: Invoice SubTotal 14.490000
[2025-01-07 06:14:44] Production.INFO: Invoice DetTotal 14.49
[2025-01-07 06:14:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="MK%20TAXPLUS%20LTD"
[2025-01-07 06:14:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 06:14:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 06:14:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 06:14:54] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 11-21-2024 To 12-20-2024",Quantity : 1,UnitAmount : 3.990000,LineAmount : 3.990000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 2,UnitAmount : 4.000000,LineAmount : 8.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (19057936600 - 45 BRAMALEA RD STE 202 BRAMPTON, ON L6T2W4)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 06:14:56] Production.INFO: ==== result =====
[2025-01-07 06:14:56] Production.INFO: {
"Id": "a0301224-3747-44a7-a958-9c56914a7a5f",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736248496530)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "f1571a9d-e252-4415-a05e-e573b0eebfc8",
"InvoiceNumber": "INV11252",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 16.38,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "b2a980df-8333-4b5e-8b50-c1d40e826ba3",
"ContactStatus": "ACTIVE",
"Name": "MK TAXPLUS LTD",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1533070484890+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-21T00:00:00",
"Date": "\/Date(1734739200000+0000)\/",
"DueDateString": "2025-01-20T00:00:00",
"DueDate": "\/Date(1737331200000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "From 11-21-2024 To 12-20-2024",
"UnitAmount": 3.99,
"TaxType": "TAX020",
"TaxAmount": 0.52,
"LineAmount": 3.99,
"AccountCode": "234",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "1094e260-4e27-4f77-adcf-5e7be3600e8a",
"AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "License for a Pay As You Go Cloud Phone extension",
"UnitAmount": 4.00,
"TaxType": "TAX020",
"TaxAmount": 1.04,
"LineAmount": 8.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 2.0000,
"DiscountRate": 0.00,
"LineItemID": "47f2824a-892b-4408-b686-7c14439471bf",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (19057936600 - 45 BRAMALEA RD STE 202 BRAMPTON, ON L6T2W4)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "368b9add-c27d-4d2d-b64e-2fb3db68b845",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 14.49,
"TotalTax": 1.89,
"Total": 16.38,
"UpdatedDateUTC": "\/Date(1736248496500+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 06:14:56] Production.INFO: -- Create Invoice id --f1571a9d-e252-4415-a05e-e573b0eebfc8
[2025-01-07 06:14:56] Production.INFO: -- Create Invoice Done --
[2025-01-07 06:14:56] Production.INFO: CheckInvoice xerov2: INV10561
[2025-01-07 06:14:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10561
[2025-01-07 06:14:58] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 06:14:58] Production.INFO: ========================== Exception occured =============================
[2025-01-07 06:14:58] Production.ERROR: exception 'ErrorException' with message 'Undefined offset: 99' in /var/www/html/onswitch.neon.service/app/lib/XeroV2.php:0
Stack trace:
#0 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined offse...', '/var/www/html/o...', 0, Array)
#1 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->GetInvoiceData()
#2 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->CreateInvoice()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/XeroInvoicePostV2.php(0): App\Lib\XeroV2->addInvoices()
#4 [internal function]: App\Console\Commands\XeroInvoicePostV2->fire()
#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\XeroInvoicePostV2), 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-07 06:14:58] Production.INFO: ========================== Exception updated in job and email sent =============================
[2025-01-07 06:14:58] Production.INFO: ==10073== Releasing lock...
[2025-01-07 06:14:58] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10446 #Stops#
[2025-01-07 06:14:58] Production.INFO: 30.75 MB #Memory Used#
[2025-01-07 11:15:01] Production.INFO: ==10179== Lock acquired, processing the job...
[2025-01-07 11:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:15:01] Production.INFO: neon service started
[2025-01-07 11:15:01] Production.INFO: neon service started
[2025-01-07 11:15:01] Production.INFO: ==10179== Releasing lock...
[2025-01-07 11:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:15:01] Production.INFO: ==10183== Lock acquired, processing the job...
[2025-01-07 11:15:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:15:01] Production.INFO: ==10183== Releasing lock...
[2025-01-07 11:15:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:15:01] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:15:02] Production.INFO: ==10181== Lock acquired, processing the job...
[2025-01-07 06:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:15:02] Production.INFO: ==10181== Releasing lock...
[2025-01-07 06:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:15:03] Production.INFO: ==10185== Lock acquired, processing the job...
[2025-01-07 06:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:15:03] Production.INFO: ==10187== Lock acquired, processing the job...
[2025-01-07 06:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:15:03] Production.INFO: ==10193== Lock acquired, processing the job...
[2025-01-07 06:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:15:03] Production.INFO: ==10189== Lock acquired, processing the job...
[2025-01-07 06:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:15:03] Production.INFO: ==10191== Lock acquired, processing the job...
[2025-01-07 06:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:15:03] Production.INFO: ==10187== Releasing lock...
[2025-01-07 06:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:15:03] Production.INFO: ==10195== Lock acquired, processing the job...
[2025-01-07 06:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:15:03] Production.INFO: Account Balance Start.
[2025-01-07 06:15:03] Production.INFO: CreateAllLog Start
[2025-01-07 06:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:15:03] Production.INFO: 117
[2025-01-07 06:15:03] Production.INFO: Date 2024-12-08
[2025-01-07 06:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:15:03] Production.ERROR: done
[2025-01-07 06:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:15:03] Production.INFO: Date 2024-12-09
[2025-01-07 06:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:15:03] Production.INFO: Date 2024-12-10
[2025-01-07 06:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:15:03] Production.INFO: count ==21
[2025-01-07 06:15:03] Production.ERROR: done
[2025-01-07 06:15:03] Production.INFO: Date 2024-12-11
[2025-01-07 06:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:15:03] Production.INFO: Date 2024-12-12
[2025-01-07 06:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:15:03] Production.INFO: count ==21
[2025-01-07 06:15:03] Production.INFO: Date 2024-12-13
[2025-01-07 06:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192997') start
[2025-01-07 06:15:03] Production.INFO: Date 2024-12-14
[2025-01-07 06:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:15:03] Production.INFO: Date 2024-12-15
[2025-01-07 06:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14192997') end
[2025-01-07 06:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:15:03] Production.INFO: 1
[2025-01-07 06:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:15:03] Production.INFO: Date 2024-12-16
[2025-01-07 06:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:15:03] Production.INFO: Date 2024-12-17
[2025-01-07 06:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:15:04] Production.INFO: ==10195== Releasing lock...
[2025-01-07 06:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:15:04] Production.INFO: Date 2024-12-18
[2025-01-07 06:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:15:04] Production.INFO: Date 2024-12-19
[2025-01-07 06:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:15:04] Production.INFO: Date 2024-12-20
[2025-01-07 06:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:15:04] Production.INFO: Date 2024-12-21
[2025-01-07 06:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:15:04] Production.INFO: Date 2024-12-22
[2025-01-07 06:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:15:04] Production.INFO: Date 2024-12-23
[2025-01-07 06:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:15:04] Production.INFO: Date 2024-12-24
[2025-01-07 06:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:15:04] Production.INFO: Date 2024-12-25
[2025-01-07 06:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:15:04] Production.INFO: Date 2024-12-26
[2025-01-07 06:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:15:04] Production.INFO: Date 2024-12-27
[2025-01-07 06:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:15:04] Production.INFO: Date 2024-12-28
[2025-01-07 06:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:15:04] Production.INFO: Date 2024-12-29
[2025-01-07 06:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:15:04] Production.INFO: Date 2024-12-30
[2025-01-07 06:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:15:04] Production.INFO: Date 2024-12-31
[2025-01-07 06:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:15:04] Production.INFO: Date 2025-01-01
[2025-01-07 06:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:15:04] Production.INFO: Date 2025-01-02
[2025-01-07 06:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:15:04] Production.INFO: Date 2025-01-03
[2025-01-07 06:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:15:04] Production.INFO: Date 2025-01-04
[2025-01-07 06:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:15:04] Production.INFO: Date 2025-01-05
[2025-01-07 06:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:15:04] Production.INFO: Date 2025-01-06
[2025-01-07 06:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:15:04] Production.INFO: Date 2025-01-07
[2025-01-07 06:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:15:04] Production.INFO: Total Charge 0
[2025-01-07 06:15:04] Production.INFO: CreateAllLog End
[2025-01-07 06:15:04] Production.INFO: Account Balance End.
[2025-01-07 06:15:04] Production.ERROR: CronJobId end 12
[2025-01-07 06:15:04] Production.INFO: ==10191== Releasing lock...
[2025-01-07 06:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:15:05
[end_date_ymd] => 2025-01-07 06:15:05
[RateCDR] => 1
)
[2025-01-07 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-07 03:15:05' and `end` < '2025-01-07 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-07 06:15:11] Production.ERROR: CronJobId end10
[2025-01-07 06:15:11] Production.INFO: ==10189== Releasing lock...
[2025-01-07 06:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:15:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:15:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:15:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:15:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:15:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:15:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:15:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:15:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:15:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:15:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:15:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:15:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:15:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:15:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:15:12] Production.INFO: call_cost start
[2025-01-07 06:15:12] Production.INFO: call_cost end
[2025-01-07 06:15:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:15:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:15:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:15:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:15:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:15:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:15:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:15:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:15:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:15:13] Production.INFO: ==10185== Releasing lock...
[2025-01-07 06:15:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:15:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:15:18] Production.INFO: count ==54
[2025-01-07 06:15:18] Production.ERROR: pbx CDR StartTime 2025-01-07 03:15:05 - End Time 2025-01-07 06:15:05
[2025-01-07 06:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192998', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14192998', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192998', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14192998', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:15:18] Production.INFO: ProcessCDR(1,14192998,1,1,2)
[2025-01-07 06:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14192998,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14192998,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14192998,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14192998,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192998', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14192998', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:15:21] Production.INFO: ==10193== Releasing lock...
[2025-01-07 06:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:15:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 11:16:02] Production.INFO: ==10268== Lock acquired, processing the job...
[2025-01-07 11:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:16:02] Production.INFO: neon service started
[2025-01-07 11:16:02] Production.INFO: neon service started
[2025-01-07 11:16:02] Production.INFO: ==10268== Releasing lock...
[2025-01-07 11:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:16:02] Production.INFO: ==10270== Lock acquired, processing the job...
[2025-01-07 06:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:16:02] Production.INFO: ==10272== Lock acquired, processing the job...
[2025-01-07 11:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:16:02] Production.INFO: ==10272== Releasing lock...
[2025-01-07 11:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:16:02] Production.INFO: ==10270== Releasing lock...
[2025-01-07 06:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:16:03] Production.INFO: ==10275== Lock acquired, processing the job...
[2025-01-07 06:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:16:03] Production.INFO: ==10279== Lock acquired, processing the job...
[2025-01-07 06:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:16:03] Production.INFO: ==10285== Lock acquired, processing the job...
[2025-01-07 06:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:16:04] Production.INFO: count ==21
[2025-01-07 06:16:04] Production.INFO: ==10277== Lock acquired, processing the job...
[2025-01-07 06:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:16:04] Production.INFO: count ==21
[2025-01-07 06:16:04] Production.INFO: ==10281== Lock acquired, processing the job...
[2025-01-07 06:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193000') start
[2025-01-07 06:16:04] Production.INFO: ==10283== Lock acquired, processing the job...
[2025-01-07 06:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193000') end
[2025-01-07 06:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:16:04] Production.INFO: 1
[2025-01-07 06:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:16:04] Production.INFO: Account Balance Start.
[2025-01-07 06:16:04] Production.INFO: CreateAllLog Start
[2025-01-07 06:16:04] Production.INFO: 117
[2025-01-07 06:16:04] Production.INFO: Date 2024-12-08
[2025-01-07 06:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:16:04] Production.INFO: ==10285== Releasing lock...
[2025-01-07 06:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:16:04] Production.INFO: Date 2024-12-09
[2025-01-07 06:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:16:04] Production.INFO: Date 2024-12-10
[2025-01-07 06:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:16:04] Production.INFO: Date 2024-12-11
[2025-01-07 06:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:16:04] Production.INFO: Date 2024-12-12
[2025-01-07 06:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:16:04] Production.INFO: Date 2024-12-13
[2025-01-07 06:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:16:04] Production.INFO: Date 2024-12-14
[2025-01-07 06:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:16:04] Production.INFO: ==10277== Releasing lock...
[2025-01-07 06:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:16:04] Production.ERROR: done
[2025-01-07 06:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:16:04] Production.INFO: Date 2024-12-15
[2025-01-07 06:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:16:04] Production.INFO: Date 2024-12-16
[2025-01-07 06:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:16:04] Production.INFO: Date 2024-12-17
[2025-01-07 06:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:16:04] Production.ERROR: done
[2025-01-07 06:16:04] Production.INFO: Date 2024-12-18
[2025-01-07 06:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:16:04] Production.INFO: Date 2024-12-19
[2025-01-07 06:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:16:04] Production.INFO: Date 2024-12-20
[2025-01-07 06:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:16:04] Production.INFO: Date 2024-12-21
[2025-01-07 06:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:16:04] Production.INFO: Date 2024-12-22
[2025-01-07 06:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:16:04] Production.INFO: Date 2024-12-23
[2025-01-07 06:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:16:05] Production.INFO: Date 2024-12-24
[2025-01-07 06:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:16:05] Production.INFO: Date 2024-12-25
[2025-01-07 06:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:16:05] Production.INFO: Date 2024-12-26
[2025-01-07 06:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:16:05] Production.INFO: Date 2024-12-27
[2025-01-07 06:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:16:05] Production.INFO: Date 2024-12-28
[2025-01-07 06:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:16:05] Production.INFO: Date 2024-12-29
[2025-01-07 06:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:16:05] Production.INFO: Date 2024-12-30
[2025-01-07 06:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:16:05] Production.INFO: Date 2024-12-31
[2025-01-07 06:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:16:05] Production.INFO: Date 2025-01-01
[2025-01-07 06:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:16:05] Production.INFO: Date 2025-01-02
[2025-01-07 06:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:16:05] Production.INFO: Date 2025-01-03
[2025-01-07 06:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:16:05] Production.INFO: Date 2025-01-04
[2025-01-07 06:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:16:05] Production.INFO: Date 2025-01-05
[2025-01-07 06:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:16:05] Production.INFO: Date 2025-01-06
[2025-01-07 06:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:16:05] Production.INFO: Date 2025-01-07
[2025-01-07 06:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:16:05] Production.INFO: Total Charge 0
[2025-01-07 06:16:05] Production.INFO: CreateAllLog End
[2025-01-07 06:16:05] Production.INFO: Account Balance End.
[2025-01-07 06:16:05] Production.ERROR: CronJobId end 12
[2025-01-07 06:16:05] Production.INFO: ==10281== Releasing lock...
[2025-01-07 06:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:16:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:16:05
[end_date_ymd] => 2025-01-07 06:16:05
[RateCDR] => 1
)
[2025-01-07 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-07 03:16:05' and `end` < '2025-01-07 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-07 06:16:11] Production.ERROR: CronJobId end10
[2025-01-07 06:16:11] Production.INFO: ==10279== Releasing lock...
[2025-01-07 06:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:16:14] Production.INFO: call_cost start
[2025-01-07 06:16:14] Production.INFO: call_cost end
[2025-01-07 06:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:16:14] Production.INFO: ==10275== Releasing lock...
[2025-01-07 06:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:16:19] Production.INFO: count ==54
[2025-01-07 06:16:19] Production.ERROR: pbx CDR StartTime 2025-01-07 03:16:05 - End Time 2025-01-07 06:16:05
[2025-01-07 06:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193003', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193003', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193003', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193003', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:16:19] Production.INFO: ProcessCDR(1,14193003,1,1,2)
[2025-01-07 06:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193003,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193003,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193003,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193003,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193003', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193003', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:16:22] Production.INFO: ==10283== Releasing lock...
[2025-01-07 06:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:16:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 11:17:01] Production.INFO: ==10354== Lock acquired, processing the job...
[2025-01-07 11:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:17:01] Production.INFO: neon service started
[2025-01-07 11:17:01] Production.INFO: neon service started
[2025-01-07 11:17:01] Production.INFO: ==10354== Releasing lock...
[2025-01-07 11:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:17:02] Production.INFO: ==10356== Lock acquired, processing the job...
[2025-01-07 06:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:17:02] Production.INFO: ==10358== Lock acquired, processing the job...
[2025-01-07 11:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:17:02] Production.INFO: ==10358== Releasing lock...
[2025-01-07 11:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:17:02] Production.INFO: ==10356== Releasing lock...
[2025-01-07 06:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:17:03] Production.INFO: ==10361== Lock acquired, processing the job...
[2025-01-07 06:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:17:03] Production.INFO: ==10363== Lock acquired, processing the job...
[2025-01-07 06:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:17:03] Production.INFO: ==10369== Lock acquired, processing the job...
[2025-01-07 06:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:17:03] Production.INFO: ==10365== Lock acquired, processing the job...
[2025-01-07 06:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:17:03] Production.INFO: ==10367== Lock acquired, processing the job...
[2025-01-07 06:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:17:03] Production.INFO: ==10363== Releasing lock...
[2025-01-07 06:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:17:03] Production.INFO: ==10371== Lock acquired, processing the job...
[2025-01-07 06:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:17:03] Production.ERROR: done
[2025-01-07 06:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:17:03] Production.INFO: Account Balance Start.
[2025-01-07 06:17:03] Production.INFO: CreateAllLog Start
[2025-01-07 06:17:03] Production.INFO: 117
[2025-01-07 06:17:03] Production.INFO: Date 2024-12-08
[2025-01-07 06:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:17:03] Production.ERROR: done
[2025-01-07 06:17:03] Production.INFO: Date 2024-12-09
[2025-01-07 06:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:17:03] Production.INFO: Date 2024-12-10
[2025-01-07 06:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:17:03] Production.INFO: Date 2024-12-11
[2025-01-07 06:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:17:03] Production.INFO: Date 2024-12-12
[2025-01-07 06:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:17:03] Production.INFO: Date 2024-12-13
[2025-01-07 06:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:17:03] Production.INFO: count ==21
[2025-01-07 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-07 06:17:04] Production.INFO: Date 2024-12-14
[2025-01-07 06:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:17:04] Production.INFO: count ==21
[2025-01-07 06:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193007') start
[2025-01-07 06:17:04] Production.INFO: Date 2024-12-15
[2025-01-07 06:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:17:04] Production.INFO: Date 2024-12-16
[2025-01-07 06:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193007') end
[2025-01-07 06:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:17:04] Production.INFO: 1
[2025-01-07 06:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:17:04] Production.INFO: ==10371== Releasing lock...
[2025-01-07 06:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:17:04] Production.INFO: Date 2024-12-17
[2025-01-07 06:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:17:04] Production.INFO: Date 2024-12-18
[2025-01-07 06:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:17:04] Production.INFO: Date 2024-12-19
[2025-01-07 06:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:17:04] Production.INFO: Date 2024-12-20
[2025-01-07 06:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:17:04] Production.INFO: Date 2024-12-21
[2025-01-07 06:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:17:04] Production.INFO: Date 2024-12-22
[2025-01-07 06:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:17:04] Production.INFO: Date 2024-12-23
[2025-01-07 06:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:17:04] Production.INFO: Date 2024-12-24
[2025-01-07 06:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:17:04] Production.INFO: Date 2024-12-25
[2025-01-07 06:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:17:04] Production.INFO: Date 2024-12-26
[2025-01-07 06:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:17:04] Production.INFO: Date 2024-12-27
[2025-01-07 06:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:17:04] Production.INFO: Date 2024-12-28
[2025-01-07 06:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:17:04] Production.INFO: Date 2024-12-29
[2025-01-07 06:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:17:04] Production.INFO: Date 2024-12-30
[2025-01-07 06:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:17:04] Production.INFO: Date 2024-12-31
[2025-01-07 06:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:17:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:17:04
[end_date_ymd] => 2025-01-07 06:17:04
[RateCDR] => 1
)
[2025-01-07 06: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-07 03:17:04' and `end` < '2025-01-07 06: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-07 06:17:04] Production.INFO: Date 2025-01-01
[2025-01-07 06:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:17:04] Production.INFO: Date 2025-01-02
[2025-01-07 06:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:17:05] Production.INFO: Date 2025-01-03
[2025-01-07 06:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:17:05] Production.INFO: Date 2025-01-04
[2025-01-07 06:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:17:05] Production.INFO: Date 2025-01-05
[2025-01-07 06:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:17:05] Production.INFO: Date 2025-01-06
[2025-01-07 06:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:17:05] Production.INFO: Date 2025-01-07
[2025-01-07 06:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:17:05] Production.INFO: Total Charge 0
[2025-01-07 06:17:05] Production.INFO: CreateAllLog End
[2025-01-07 06:17:05] Production.INFO: Account Balance End.
[2025-01-07 06:17:05] Production.ERROR: CronJobId end 12
[2025-01-07 06:17:05] Production.INFO: ==10367== Releasing lock...
[2025-01-07 06:17:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:17:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:17:11] Production.ERROR: CronJobId end10
[2025-01-07 06:17:11] Production.INFO: ==10365== Releasing lock...
[2025-01-07 06:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:17:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:17:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:17:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:17:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:17:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:17:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:17:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:17:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:17:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:17:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:17:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:17:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:17:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:17:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:17:12] Production.INFO: call_cost start
[2025-01-07 06:17:12] Production.INFO: call_cost end
[2025-01-07 06:17:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:17:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:17:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:17:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:17:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:17:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:17:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:17:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:17:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:17:13] Production.INFO: ==10361== Releasing lock...
[2025-01-07 06:17:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:17:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:17:17] Production.INFO: count ==54
[2025-01-07 06:17:17] Production.ERROR: pbx CDR StartTime 2025-01-07 03:17:04 - End Time 2025-01-07 06:17:04
[2025-01-07 06:17:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193008', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193008', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193008', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193008', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:17:17] Production.INFO: ProcessCDR(1,14193008,1,1,2)
[2025-01-07 06:17:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193008,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:17:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193008,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:17:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193008,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:17:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193008,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:17:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193008', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:17:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193008', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:17:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:17:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:17:20] Production.INFO: ==10369== Releasing lock...
[2025-01-07 06:17:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:17:20] Production.INFO: 28 MB #Memory Used#
[2025-01-07 11:18:01] Production.INFO: ==10437== Lock acquired, processing the job...
[2025-01-07 11:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:18:01] Production.INFO: neon service started
[2025-01-07 11:18:01] Production.INFO: neon service started
[2025-01-07 11:18:01] Production.INFO: ==10437== Releasing lock...
[2025-01-07 11:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:18:02] Production.INFO: ==10439== Lock acquired, processing the job...
[2025-01-07 06:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:18:02] Production.INFO: ==10439== Releasing lock...
[2025-01-07 06:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:18:02] Production.INFO: ==10441== Lock acquired, processing the job...
[2025-01-07 11:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:18:02] Production.INFO: ==10441== Releasing lock...
[2025-01-07 11:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:18:03] Production.INFO: ==10443== Lock acquired, processing the job...
[2025-01-07 06:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:18:03] Production.INFO: ==10449== Lock acquired, processing the job...
[2025-01-07 06:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:18:03] Production.INFO: ==10445== Lock acquired, processing the job...
[2025-01-07 06:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:18:03] Production.INFO: ==10447== Lock acquired, processing the job...
[2025-01-07 06:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:18:03] Production.INFO: Account Balance Start.
[2025-01-07 06:18:03] Production.INFO: CreateAllLog Start
[2025-01-07 06:18:03] Production.INFO: 117
[2025-01-07 06:18:03] Production.INFO: Date 2024-12-08
[2025-01-07 06:18:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:18:03] Production.INFO: Date 2024-12-09
[2025-01-07 06:18:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:18:03] Production.INFO: Date 2024-12-10
[2025-01-07 06:18:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:18:03] Production.INFO: ==10451== Lock acquired, processing the job...
[2025-01-07 06:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:18:03] Production.INFO: Date 2024-12-11
[2025-01-07 06:18:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:18:03] Production.INFO: ==10445== Releasing lock...
[2025-01-07 06:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:18:03] Production.INFO: Date 2024-12-12
[2025-01-07 06:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:18:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:18:03] Production.INFO: Date 2024-12-13
[2025-01-07 06:18:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:18:03] Production.INFO: ==10453== Lock acquired, processing the job...
[2025-01-07 06:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:18:03] Production.INFO: Date 2024-12-14
[2025-01-07 06:18:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:18:03] Production.INFO: Date 2024-12-15
[2025-01-07 06:18:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:18:04] Production.ERROR: done
[2025-01-07 06:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:18:04] Production.INFO: count ==21
[2025-01-07 06:18:04] Production.INFO: Date 2024-12-16
[2025-01-07 06:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:18:04] Production.INFO: count ==21
[2025-01-07 06:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193012') start
[2025-01-07 06:18:04] Production.ERROR: done
[2025-01-07 06:18:04] Production.INFO: Date 2024-12-17
[2025-01-07 06:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:18:04] Production.INFO: Date 2024-12-18
[2025-01-07 06:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:18:04] Production.INFO: Date 2024-12-19
[2025-01-07 06:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193012') end
[2025-01-07 06:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:18:04] Production.INFO: 1
[2025-01-07 06:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:18:04] Production.INFO: Date 2024-12-20
[2025-01-07 06:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:18:04] Production.INFO: ==10453== Releasing lock...
[2025-01-07 06:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:18:04] Production.INFO: Date 2024-12-21
[2025-01-07 06:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:18:04] Production.INFO: Date 2024-12-22
[2025-01-07 06:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:18:04] Production.INFO: Date 2024-12-23
[2025-01-07 06:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:18:04] Production.INFO: Date 2024-12-24
[2025-01-07 06:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:18:04] Production.INFO: Date 2024-12-25
[2025-01-07 06:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:18:04] Production.INFO: Date 2024-12-26
[2025-01-07 06:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:18:04] Production.INFO: Date 2024-12-27
[2025-01-07 06:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:18:04] Production.INFO: Date 2024-12-28
[2025-01-07 06:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:18:04] Production.INFO: Date 2024-12-29
[2025-01-07 06:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:18:04] Production.INFO: Date 2024-12-30
[2025-01-07 06:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:18:04] Production.INFO: Date 2024-12-31
[2025-01-07 06:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:18:04] Production.INFO: Date 2025-01-01
[2025-01-07 06:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:18:04] Production.INFO: Date 2025-01-02
[2025-01-07 06:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:18:04] Production.INFO: Date 2025-01-03
[2025-01-07 06:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:18:04] Production.INFO: Date 2025-01-04
[2025-01-07 06:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:18:04] Production.INFO: Date 2025-01-05
[2025-01-07 06:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:18:04] Production.INFO: Date 2025-01-06
[2025-01-07 06:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:18:04] Production.INFO: Date 2025-01-07
[2025-01-07 06:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:18:04] Production.INFO: Total Charge 0
[2025-01-07 06:18:04] Production.INFO: CreateAllLog End
[2025-01-07 06:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:18:05
[end_date_ymd] => 2025-01-07 06:18:05
[RateCDR] => 1
)
[2025-01-07 06:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 03:18:05' and `end` < '2025-01-07 06:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 06:18:05] Production.INFO: Account Balance End.
[2025-01-07 06:18:05] Production.ERROR: CronJobId end 12
[2025-01-07 06:18:05] Production.INFO: ==10449== Releasing lock...
[2025-01-07 06:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:18:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:18:10] Production.ERROR: CronJobId end10
[2025-01-07 06:18:10] Production.INFO: ==10447== Releasing lock...
[2025-01-07 06:18:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:18:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:18:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:18:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:18:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:18:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:18:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:18:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:18:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:18:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:18:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:18:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:18:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:18:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:18:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:18:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:18:12] Production.INFO: call_cost start
[2025-01-07 06:18:12] Production.INFO: call_cost end
[2025-01-07 06:18:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:18:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:18:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:18:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:18:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:18:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:18:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:18:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:18:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:18:13] Production.INFO: ==10443== Releasing lock...
[2025-01-07 06:18:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:18:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:18:18] Production.INFO: count ==54
[2025-01-07 06:18:18] Production.ERROR: pbx CDR StartTime 2025-01-07 03:18:05 - End Time 2025-01-07 06:18:05
[2025-01-07 06:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193013', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193013', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193013', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193013', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:18:18] Production.INFO: ProcessCDR(1,14193013,1,1,2)
[2025-01-07 06:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193013,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193013,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193013,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193013,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193013', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193013', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:18:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:18:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:18:21] Production.INFO: ==10451== Releasing lock...
[2025-01-07 06:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:18:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 11:19:02] Production.INFO: ==10528== Lock acquired, processing the job...
[2025-01-07 11:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:19:02] Production.INFO: neon service started
[2025-01-07 11:19:02] Production.INFO: neon service started
[2025-01-07 11:19:02] Production.INFO: ==10528== Releasing lock...
[2025-01-07 11:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:19:02] Production.INFO: ==10530== Lock acquired, processing the job...
[2025-01-07 06:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:19:03] Production.INFO: ==10532== Lock acquired, processing the job...
[2025-01-07 11:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:19:03] Production.INFO: ==10532== Releasing lock...
[2025-01-07 11:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:19:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:19:03] Production.INFO: ==10530== Releasing lock...
[2025-01-07 06:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:19:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:19:04] Production.INFO: ==10543== Lock acquired, processing the job...
[2025-01-07 06:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:19:04] Production.INFO: ==10535== Lock acquired, processing the job...
[2025-01-07 06:19:04] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10447 #Starts#
[2025-01-07 06:19:04] Production.INFO: ==10547== Lock acquired, processing the job...
[2025-01-07 06:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:19:04] Production.INFO: ==10537== Lock acquired, processing the job...
[2025-01-07 06:19:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:19:04] Production.INFO: -- Xero Api Check --
[2025-01-07 06:19:04] Production.INFO: ==10539== Lock acquired, processing the job...
[2025-01-07 06:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:19:04] Production.INFO: Account Balance Start.
[2025-01-07 06:19:04] Production.INFO: CreateAllLog Start
[2025-01-07 06:19:04] Production.INFO: 117
[2025-01-07 06:19:04] Production.INFO: ==10541== Lock acquired, processing the job...
[2025-01-07 06:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:19:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:19:04] Production.INFO: Date 2024-12-08
[2025-01-07 06:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:19:04] Production.INFO: count ==21
[2025-01-07 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-07 06:19:04] Production.INFO: count ==21
[2025-01-07 06:19:04] Production.INFO: ==10545== Lock acquired, processing the job...
[2025-01-07 06:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193015') start
[2025-01-07 06:19:04] Production.INFO: Date 2024-12-09
[2025-01-07 06:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:19:04] Production.INFO: Date 2024-12-10
[2025-01-07 06:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193015') end
[2025-01-07 06:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:19:04] Production.INFO: 1
[2025-01-07 06:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:19:04] Production.INFO: Date 2024-12-11
[2025-01-07 06:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:19:04] Production.INFO: ==10547== Releasing lock...
[2025-01-07 06:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:19:05] Production.INFO: Date 2024-12-12
[2025-01-07 06:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:19:05] Production.INFO: ==10539== Releasing lock...
[2025-01-07 06:19:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:19:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:19:05] Production.INFO: Date 2024-12-13
[2025-01-07 06:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:19:05] Production.ERROR: done
[2025-01-07 06:19:05] Production.INFO: Date 2024-12-14
[2025-01-07 06:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:19:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:19:05] Production.INFO: Date 2024-12-15
[2025-01-07 06:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:19:05] Production.INFO: Date 2024-12-16
[2025-01-07 06:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:19:05] Production.ERROR: done
[2025-01-07 06:19:05] Production.INFO: Date 2024-12-17
[2025-01-07 06:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:19:05] Production.INFO: Date 2024-12-18
[2025-01-07 06:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:19:05] Production.INFO: Date 2024-12-19
[2025-01-07 06:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:19:05] Production.INFO: Date 2024-12-20
[2025-01-07 06:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:19:05] Production.INFO: Date 2024-12-21
[2025-01-07 06:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:19:05] Production.INFO: Date 2024-12-22
[2025-01-07 06:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:19:05] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 856
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 1.030552
[namelookup_time] => 0.526478
[connect_time] => 0.537453
[pretransfer_time] => 0.750917
[size_upload] => 82
[size_download] => 2755
[speed_download] => 2673
[speed_upload] => 79
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 1.030505
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.33
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 41674
)
[2025-01-07 06:19:05] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDg3NDUsImV4cCI6MTczNjI0OTA0NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ4NzQ1LCJhdF9oYXNoIjoiZ1lPVWJLYlJjTWR4c01FdlNndDFYZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.FfXYmMmJRZpABYV3WG_AEN_Y-9_4aozBcfIcVt8eaHSy2VHd1wM6KtuljCi8ECO0viq2A30_s3sakglMalCm_8lXTZ3RAi9-2IaUeue23AZG26di2P0SaMYQ7ZAqXZy9VN2aD27nPEn3AbUKGHqdfTTYmCat87_yvnx-2RS4jjEt1ip9oY7KWMxv3JZ_MR7Yqm0FCYiybB1H9BVYtYi0LrdAI6tQxKSIKjAm5rVFV19i7YmHMtfuLRIm2rc9ZwE7AAg3iY6S2v-fx3d5WcFxTBQRXrTF-UnUJbytO9n6kAmI8MmFf8coP3TZIfgJR9g3Htf_2ObqLDOUGjAKNAhGug
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDg3NDUsImV4cCI6MTczNjI1MDU0NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.CAGDkmn7pnXHCamryVfMnpOCB2_BjaLJqAz_jltVlRBYQF9EYp2VUObvcBCrB4_szE3Qzo1sGXudHqSNWrnYCwJLWgh3vTjhJ44c23B2C-oNk7_TmnERW06iy-ngaEA1Mdmu314IZw-AytX8cuq_4LSEF3ZbkF9rwdR9SQR9oRxjxMT7GqwnWbBjJmII8CsyFM4cjyB7MHnTMSl17llpfAdzAS0aixlvdBG55o8oWF8WPC26y-D8y3BTY06BhaWLkKJ0OQ4Bdtg_EEBVR4EYPo78bJOIMwiwMCg92Oypoyl4W3SU7FoMwmY4Si3I9nJG0CFQxFB8Z-cee6brsFpiWA
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => uqkUtBdlZbZ_Ph06JpqDEs6O5gYLMjDCYvX0TsOmj1o
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 06:19:05] Production.INFO: Date 2024-12-23
[2025-01-07 06:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:19:05] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDg3NDUsImV4cCI6MTczNjI0OTA0NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ4NzQ1LCJhdF9oYXNoIjoiZ1lPVWJLYlJjTWR4c01FdlNndDFYZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.FfXYmMmJRZpABYV3WG_AEN_Y-9_4aozBcfIcVt8eaHSy2VHd1wM6KtuljCi8ECO0viq2A30_s3sakglMalCm_8lXTZ3RAi9-2IaUeue23AZG26di2P0SaMYQ7ZAqXZy9VN2aD27nPEn3AbUKGHqdfTTYmCat87_yvnx-2RS4jjEt1ip9oY7KWMxv3JZ_MR7Yqm0FCYiybB1H9BVYtYi0LrdAI6tQxKSIKjAm5rVFV19i7YmHMtfuLRIm2rc9ZwE7AAg3iY6S2v-fx3d5WcFxTBQRXrTF-UnUJbytO9n6kAmI8MmFf8coP3TZIfgJR9g3Htf_2ObqLDOUGjAKNAhGug
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDg3NDUsImV4cCI6MTczNjI1MDU0NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.CAGDkmn7pnXHCamryVfMnpOCB2_BjaLJqAz_jltVlRBYQF9EYp2VUObvcBCrB4_szE3Qzo1sGXudHqSNWrnYCwJLWgh3vTjhJ44c23B2C-oNk7_TmnERW06iy-ngaEA1Mdmu314IZw-AytX8cuq_4LSEF3ZbkF9rwdR9SQR9oRxjxMT7GqwnWbBjJmII8CsyFM4cjyB7MHnTMSl17llpfAdzAS0aixlvdBG55o8oWF8WPC26y-D8y3BTY06BhaWLkKJ0OQ4Bdtg_EEBVR4EYPo78bJOIMwiwMCg92Oypoyl4W3SU7FoMwmY4Si3I9nJG0CFQxFB8Z-cee6brsFpiWA
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => uqkUtBdlZbZ_Ph06JpqDEs6O5gYLMjDCYvX0TsOmj1o
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 06:19:05] Production.INFO: Date 2024-12-24
[2025-01-07 06:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:19:05] Production.INFO: AccountID 86
[2025-01-07 06:19:05] Production.INFO: AccountName Selective Conformal Coatings Inc.
[2025-01-07 06:19:05] Production.INFO: Checkcustomer
[2025-01-07 06:19:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Selective%20Conformal%20Coatings%20Inc."
[2025-01-07 06:19:05] Production.INFO: Date 2024-12-25
[2025-01-07 06:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:19:05] Production.INFO: Date 2024-12-26
[2025-01-07 06:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:19:05] Production.INFO: Date 2024-12-27
[2025-01-07 06:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:19:05] Production.INFO: Date 2024-12-28
[2025-01-07 06:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:19:05] Production.INFO: Date 2024-12-29
[2025-01-07 06:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:19:06] Production.INFO: Date 2024-12-30
[2025-01-07 06:19:06] Production.INFO: Reseller ==> 0
[2025-01-07 06:19:06] Production.INFO: Date 2024-12-31
[2025-01-07 06:19:06] Production.INFO: Reseller ==> 0
[2025-01-07 06:19:06] Production.INFO: Date 2025-01-01
[2025-01-07 06:19:06] Production.INFO: Reseller ==> 0
[2025-01-07 06:19:06] Production.INFO: Date 2025-01-02
[2025-01-07 06:19:06] Production.INFO: Reseller ==> 0
[2025-01-07 06:19:06] Production.INFO: Date 2025-01-03
[2025-01-07 06:19:06] Production.INFO: Reseller ==> 0
[2025-01-07 06:19:06] Production.INFO: Date 2025-01-04
[2025-01-07 06:19:06] Production.INFO: Reseller ==> 0
[2025-01-07 06:19:06] Production.INFO: Date 2025-01-05
[2025-01-07 06:19:06] Production.INFO: Reseller ==> 0
[2025-01-07 06:19:06] Production.INFO: Date 2025-01-06
[2025-01-07 06:19:06] Production.INFO: Reseller ==> 0
[2025-01-07 06:19:06] Production.INFO: Date 2025-01-07
[2025-01-07 06:19:06] Production.INFO: Reseller ==> 0
[2025-01-07 06:19:06] Production.INFO: Total Charge 0
[2025-01-07 06:19:06] Production.INFO: CreateAllLog End
[2025-01-07 06:19:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:19:06
[end_date_ymd] => 2025-01-07 06:19:06
[RateCDR] => 1
)
[2025-01-07 06:19:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 03:19:06' and `end` < '2025-01-07 06:19:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 06:19:06] Production.INFO: Account Balance End.
[2025-01-07 06:19:06] Production.ERROR: CronJobId end 12
[2025-01-07 06:19:06] Production.INFO: ==10543== Releasing lock...
[2025-01-07 06:19:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:19:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:19:08] Production.INFO: Contact id print CheckCustomer Case===829ddc9d-f1ae-447b-9687-394867f488a7
[2025-01-07 06:19:08] Production.INFO: -- count --1
[2025-01-07 06:19:08] Production.INFO: AccountID 86
[2025-01-07 06:19:08] Production.INFO: AccountName Selective Conformal Coatings Inc.
[2025-01-07 06:19:08] Production.INFO: Checkcustomer
[2025-01-07 06:19:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Selective%20Conformal%20Coatings%20Inc."
[2025-01-07 06:19:10] Production.INFO: Contact id print CheckCustomer Case===829ddc9d-f1ae-447b-9687-394867f488a7
[2025-01-07 06:19:10] Production.INFO: -- count --1
[2025-01-07 06:19:10] Production.INFO: AccountID 86
[2025-01-07 06:19:10] Production.INFO: AccountName Selective Conformal Coatings Inc.
[2025-01-07 06:19:10] Production.INFO: Checkcustomer
[2025-01-07 06:19:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Selective%20Conformal%20Coatings%20Inc."
[2025-01-07 06:19:13] Production.ERROR: CronJobId end10
[2025-01-07 06:19:13] Production.INFO: ==10541== Releasing lock...
[2025-01-07 06:19:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:19:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:19:13] Production.INFO: Contact id print CheckCustomer Case===829ddc9d-f1ae-447b-9687-394867f488a7
[2025-01-07 06:19:13] Production.INFO: -- count --1
[2025-01-07 06:19:13] Production.INFO: AccountID 134
[2025-01-07 06:19:13] Production.INFO: AccountName Sidhu Law Chambers
[2025-01-07 06:19:13] Production.INFO: Checkcustomer
[2025-01-07 06:19:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Sidhu%20Law%20Chambers"
[2025-01-07 06:19:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:19:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:19:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:19:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:19:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:19:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:19:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:19:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:19:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:19:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:19:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:19:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:19:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:19:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:19:15] Production.INFO: call_cost start
[2025-01-07 06:19:15] Production.INFO: call_cost end
[2025-01-07 06:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:19:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:19:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:19:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:19:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:19:15] Production.INFO: ==10537== Releasing lock...
[2025-01-07 06:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:19:16] Production.INFO: Contact id print CheckCustomer Case===2844b970-e681-4127-91fd-f61dd7a36ea0
[2025-01-07 06:19:16] Production.INFO: -- count --1
[2025-01-07 06:19:16] Production.INFO: AccountID 18
[2025-01-07 06:19:16] Production.INFO: AccountName Sivananda Ashram Yoga Retreat
[2025-01-07 06:19:16] Production.INFO: Checkcustomer
[2025-01-07 06:19:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Sivananda%20Ashram%20Yoga%20Retreat"
[2025-01-07 06:19:19] Production.INFO: Contact id print CheckCustomer Case===64c07100-e054-4831-b9c1-0c728c4e9ba3
[2025-01-07 06:19:19] Production.INFO: -- count --1
[2025-01-07 06:19:19] Production.INFO: AccountID 18
[2025-01-07 06:19:19] Production.INFO: AccountName Sivananda Ashram Yoga Retreat
[2025-01-07 06:19:19] Production.INFO: Checkcustomer
[2025-01-07 06:19:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Sivananda%20Ashram%20Yoga%20Retreat"
[2025-01-07 06:19:20] Production.INFO: count ==54
[2025-01-07 06:19:20] Production.ERROR: pbx CDR StartTime 2025-01-07 03:19:06 - End Time 2025-01-07 06:19:06
[2025-01-07 06:19:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193018', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193018', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193018', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193018', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:19:20] Production.INFO: ProcessCDR(1,14193018,1,1,2)
[2025-01-07 06:19:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193018,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:19:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193018,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:19:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193018,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:19:22] Production.INFO: Contact id print CheckCustomer Case===64c07100-e054-4831-b9c1-0c728c4e9ba3
[2025-01-07 06:19:22] Production.INFO: -- count --1
[2025-01-07 06:19:22] Production.INFO: AccountID 87
[2025-01-07 06:19:22] Production.INFO: AccountName Small Business Owners & Professionals Association
[2025-01-07 06:19:22] Production.INFO: Checkcustomer
[2025-01-07 06:19:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Small%20Business%20Owners%20%26%20Professionals%20Association"
[2025-01-07 06:19:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193018,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193018', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193018', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:19:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:19:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:19:23] Production.INFO: ==10545== Releasing lock...
[2025-01-07 06:19:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:19:23] Production.INFO: 28 MB #Memory Used#
[2025-01-07 06:19:25] Production.INFO: Contact id print CheckCustomer Case===e8c42b4a-0408-4ca6-a815-dbd8da598a80
[2025-01-07 06:19:25] Production.INFO: -- count --1
[2025-01-07 06:19:25] Production.INFO: AccountID 67
[2025-01-07 06:19:25] Production.INFO: AccountName Stars & Maple Tours
[2025-01-07 06:19:25] Production.INFO: Checkcustomer
[2025-01-07 06:19:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Stars%20%26%20Maple%20Tours"
[2025-01-07 06:19:27] Production.INFO: Contact id print CheckCustomer Case===42f3da1b-13b4-4bab-b989-2a74b97947bd
[2025-01-07 06:19:27] Production.INFO: -- count --1
[2025-01-07 06:19:27] Production.INFO: AccountID 183
[2025-01-07 06:19:27] Production.INFO: AccountName Sunnybrook - Construction Site (Cancom - Think Secure)
[2025-01-07 06:19:27] Production.INFO: Checkcustomer
[2025-01-07 06:19:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Sunnybrook%20-%20Construction%20Site%20%28Cancom%20-%20Think%20Secure%29"
[2025-01-07 06:19:29] Production.INFO: Contact id print CheckCustomer Case===9438f80c-bb9a-4440-84ef-9c1f20f46b34
[2025-01-07 06:19:29] Production.INFO: -- count --1
[2025-01-07 06:19:29] Production.INFO: AccountID 183
[2025-01-07 06:19:29] Production.INFO: AccountName Sunnybrook - Construction Site (Cancom - Think Secure)
[2025-01-07 06:19:29] Production.INFO: Checkcustomer
[2025-01-07 06:19:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Sunnybrook%20-%20Construction%20Site%20%28Cancom%20-%20Think%20Secure%29"
[2025-01-07 06:19:32] Production.INFO: Contact id print CheckCustomer Case===9438f80c-bb9a-4440-84ef-9c1f20f46b34
[2025-01-07 06:19:32] Production.INFO: -- count --1
[2025-01-07 06:19:32] Production.INFO: AccountID 49
[2025-01-07 06:19:32] Production.INFO: AccountName Technologies for Learning Group
[2025-01-07 06:19:32] Production.INFO: Checkcustomer
[2025-01-07 06:19:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Technologies%20for%20Learning%20Group"
[2025-01-07 06:19:34] Production.INFO: Contact id print CheckCustomer Case===548d87cf-625c-4b68-be89-595b2161a774
[2025-01-07 06:19:34] Production.INFO: -- count --1
[2025-01-07 06:19:34] Production.INFO: -- Xero Add Inovice --
[2025-01-07 06:19:34] Production.INFO: CheckInvoice xerov2: INV10820
[2025-01-07 06:19:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10820
[2025-01-07 06:19:37] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 06:19:37] Production.INFO: ========================== Exception occured =============================
[2025-01-07 06:19:37] Production.ERROR: exception 'ErrorException' with message 'Undefined offset: 64' in /var/www/html/onswitch.neon.service/app/lib/XeroV2.php:0
Stack trace:
#0 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined offse...', '/var/www/html/o...', 0, Array)
#1 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->GetInvoiceData()
#2 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->CreateInvoice()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/XeroInvoicePostV2.php(0): App\Lib\XeroV2->addInvoices()
#4 [internal function]: App\Console\Commands\XeroInvoicePostV2->fire()
#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\XeroInvoicePostV2), 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-07 06:19:37] Production.INFO: ========================== Exception updated in job and email sent =============================
[2025-01-07 06:19:37] Production.INFO: ==10535== Releasing lock...
[2025-01-07 06:19:37] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10447 #Stops#
[2025-01-07 06:19:37] Production.INFO: 27.5 MB #Memory Used#
[2025-01-07 11:20:01] Production.INFO: ==10627== Lock acquired, processing the job...
[2025-01-07 11:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:20:01] Production.INFO: neon service started
[2025-01-07 11:20:01] Production.INFO: neon service started
[2025-01-07 11:20:01] Production.INFO: ==10627== Releasing lock...
[2025-01-07 11:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:20:02] Production.INFO: ==10629== Lock acquired, processing the job...
[2025-01-07 06:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:20:02] Production.INFO: ==10631== Lock acquired, processing the job...
[2025-01-07 11:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:20:02] Production.INFO: ==10631== Releasing lock...
[2025-01-07 11:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:20:02] Production.INFO: ==10629== Releasing lock...
[2025-01-07 06:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:20:03] Production.INFO: ==10634== Lock acquired, processing the job...
[2025-01-07 06:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 06:20:03] Production.INFO: ==10640== Lock acquired, processing the job...
[2025-01-07 06:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:20:03] Production.INFO: ==10636== Lock acquired, processing the job...
[2025-01-07 06:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 06:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 06:20:03] Production.ERROR: CronJob PID - 10636
[2025-01-07 06:20:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-07 06:20:03] Production.ERROR: CronJob ID - 5
[2025-01-07 06:20:03] Production.ERROR: CronJob Last Run Time 2025-01-07 06:20:00
[2025-01-07 06:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 06:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 06:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 06:20:03] Production.ERROR: CronJob PID - 10640
[2025-01-07 06:20:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-07 06:20:03] Production.ERROR: CronJob ID - 10
[2025-01-07 06:20:03] Production.ERROR: CronJob Last Run Time 2025-01-07 06:20:00
[2025-01-07 06:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 06:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 06:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 06:20:03] Production.INFO: ==10634== Releasing lock...
[2025-01-07 06:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 06:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 06:20:03] Production.INFO: ==10638== Lock acquired, processing the job...
[2025-01-07 06:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:20:03] Production.INFO: ==10646== Lock acquired, processing the job...
[2025-01-07 06:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 06:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:20:03] Production.INFO: ==10642== Lock acquired, processing the job...
[2025-01-07 06:20:03] Production.INFO: ==10648== Lock acquired, processing the job...
[2025-01-07 06:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:20:03] Production.INFO: ==10644== Lock acquired, processing the job...
[2025-01-07 06:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 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-07 06:20:04] Production.INFO: Account Balance Start.
[2025-01-07 06:20:04] Production.INFO: CreateAllLog Start
[2025-01-07 06:20:04] Production.INFO: 117
[2025-01-07 06:20:04] Production.INFO: count ==21
[2025-01-07 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-07 06:20:04] Production.INFO: count ==21
[2025-01-07 06:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193022') start
[2025-01-07 06:20:04] Production.ERROR: done
[2025-01-07 06:20:04] Production.INFO: Date 2024-12-08
[2025-01-07 06:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193022') end
[2025-01-07 06:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:20:04] Production.INFO: 1
[2025-01-07 06:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:20:04] Production.INFO: ==10638== Releasing lock...
[2025-01-07 06:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 06:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14193023', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 06:20:04] Production.INFO: Date 2024-12-09
[2025-01-07 06:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:20:04] Production.INFO: ==10648== Releasing lock...
[2025-01-07 06:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:20:04] Production.ERROR: done
[2025-01-07 06:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:20:04] Production.INFO: Date 2024-12-10
[2025-01-07 06:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:20:04] Production.INFO: Date 2024-12-11
[2025-01-07 06:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:20:04] Production.ERROR: done
[2025-01-07 06:20:04] Production.INFO: Date 2024-12-12
[2025-01-07 06:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:20:04] Production.INFO: Date 2024-12-13
[2025-01-07 06:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:20:04] Production.INFO: Date 2024-12-14
[2025-01-07 06:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:20:04] Production.INFO: Date 2024-12-15
[2025-01-07 06:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:20:05] Production.INFO: Date 2024-12-16
[2025-01-07 06:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:20:05] Production.INFO: Date 2024-12-17
[2025-01-07 06:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:20:05] Production.INFO: Date 2024-12-18
[2025-01-07 06:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:20:05] Production.INFO: Date 2024-12-19
[2025-01-07 06:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:20:05] Production.INFO: Date 2024-12-20
[2025-01-07 06:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:20:05] Production.INFO: Date 2024-12-21
[2025-01-07 06:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:20:05
[end_date_ymd] => 2025-01-07 06:20:05
[RateCDR] => 1
)
[2025-01-07 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-07 03:20:05' and `end` < '2025-01-07 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-07 06:20:05] Production.INFO: Date 2024-12-22
[2025-01-07 06:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:20:05] Production.INFO: Date 2024-12-23
[2025-01-07 06:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:20:05] Production.INFO: Date 2024-12-24
[2025-01-07 06:20:06] Production.INFO: Reseller ==> 0
[2025-01-07 06:20:06] Production.INFO: Date 2024-12-25
[2025-01-07 06:20:06] Production.INFO: Reseller ==> 0
[2025-01-07 06:20:06] Production.INFO: Date 2024-12-26
[2025-01-07 06:20:06] Production.INFO: Reseller ==> 0
[2025-01-07 06:20:06] Production.INFO: Date 2024-12-27
[2025-01-07 06:20:06] Production.INFO: Reseller ==> 0
[2025-01-07 06:20:06] Production.INFO: Date 2024-12-28
[2025-01-07 06:20:06] Production.INFO: Reseller ==> 0
[2025-01-07 06:20:06] Production.INFO: Date 2024-12-29
[2025-01-07 06:20:06] Production.INFO: Reseller ==> 0
[2025-01-07 06:20:06] Production.INFO: Date 2024-12-30
[2025-01-07 06:20:06] Production.INFO: Reseller ==> 0
[2025-01-07 06:20:06] Production.INFO: Date 2024-12-31
[2025-01-07 06:20:06] Production.INFO: Reseller ==> 0
[2025-01-07 06:20:06] Production.INFO: Date 2025-01-01
[2025-01-07 06:20:06] Production.INFO: Reseller ==> 0
[2025-01-07 06:20:06] Production.INFO: Date 2025-01-02
[2025-01-07 06:20:06] Production.INFO: Reseller ==> 0
[2025-01-07 06:20:06] Production.INFO: Date 2025-01-03
[2025-01-07 06:20:06] Production.INFO: Reseller ==> 0
[2025-01-07 06:20:06] Production.INFO: Date 2025-01-04
[2025-01-07 06:20:06] Production.INFO: Reseller ==> 0
[2025-01-07 06:20:06] Production.INFO: Date 2025-01-05
[2025-01-07 06:20:06] Production.INFO: Reseller ==> 0
[2025-01-07 06:20:06] Production.INFO: Date 2025-01-06
[2025-01-07 06:20:06] Production.INFO: Reseller ==> 0
[2025-01-07 06:20:07] Production.INFO: Date 2025-01-07
[2025-01-07 06:20:07] Production.INFO: Reseller ==> 0
[2025-01-07 06:20:07] Production.INFO: Total Charge 0
[2025-01-07 06:20:07] Production.INFO: CreateAllLog End
[2025-01-07 06:20:07] Production.INFO: Account Balance End.
[2025-01-07 06:20:07] Production.ERROR: CronJobId end 12
[2025-01-07 06:20:07] Production.INFO: ==10642== Releasing lock...
[2025-01-07 06:20:07] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:20:07] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14193023', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 06:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 06:20:09] Production.INFO: ProcessCDR(1,14193023,1,1,2)
[2025-01-07 06:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14193023,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14193023,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:20:09] Production.INFO: ==10646== Releasing lock...
[2025-01-07 06:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 06:20:09] Production.INFO: 26 MB #Memory Used#
[2025-01-07 06:20:13] Production.ERROR: CronJobId end10
[2025-01-07 06:20:13] Production.INFO: ==10640== Releasing lock...
[2025-01-07 06:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:20:15] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:20:15] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:20:15] Production.INFO: call_cost start
[2025-01-07 06:20:15] Production.INFO: call_cost end
[2025-01-07 06:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:20:16] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:20:16] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:20:16] Production.INFO: ==10636== Releasing lock...
[2025-01-07 06:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:20:18] Production.INFO: count ==52
[2025-01-07 06:20:18] Production.ERROR: pbx CDR StartTime 2025-01-07 03:20:05 - End Time 2025-01-07 06:20:05
[2025-01-07 06:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193024', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193024', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193024', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193024', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:20:18] Production.INFO: ProcessCDR(1,14193024,1,1,2)
[2025-01-07 06:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193024,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193024,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193024,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:20:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193024,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193024', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193024', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:20:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:20:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:20:21] Production.INFO: ==10644== Releasing lock...
[2025-01-07 06:20:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:20:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 11:21:02] Production.INFO: ==10719== Lock acquired, processing the job...
[2025-01-07 11:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:21:02] Production.INFO: neon service started
[2025-01-07 11:21:02] Production.INFO: neon service started
[2025-01-07 11:21:02] Production.INFO: ==10719== Releasing lock...
[2025-01-07 11:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:21:02] Production.INFO: ==10721== Lock acquired, processing the job...
[2025-01-07 06:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:21:02] Production.INFO: ==10721== Releasing lock...
[2025-01-07 06:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:21:03] Production.INFO: ==10723== Lock acquired, processing the job...
[2025-01-07 11:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:21:03] Production.INFO: ==10723== Releasing lock...
[2025-01-07 11:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:21:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:21:03] Production.INFO: ==10729== Lock acquired, processing the job...
[2025-01-07 06:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:21:03] Production.INFO: ==10743== Lock acquired, processing the job...
[2025-01-07 06:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 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-07 06:21:03] Production.INFO: ==10727== Lock acquired, processing the job...
[2025-01-07 06:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:21:03] Production.INFO: count ==21
[2025-01-07 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-07 06:21:03] Production.INFO: count ==21
[2025-01-07 06:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193026') start
[2025-01-07 06:21:03] Production.INFO: ==10731== Lock acquired, processing the job...
[2025-01-07 06:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:21:03] Production.INFO: ==10729== Releasing lock...
[2025-01-07 06:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:21:04] Production.INFO: ==10734== Lock acquired, processing the job...
[2025-01-07 06:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:21:04] Production.INFO: ==10738== Lock acquired, processing the job...
[2025-01-07 06:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193026') end
[2025-01-07 06:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:21:04] Production.INFO: 1
[2025-01-07 06:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:21:04] Production.INFO: ==10743== Releasing lock...
[2025-01-07 06:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:21:04] Production.INFO: Account Balance Start.
[2025-01-07 06:21:04] Production.INFO: CreateAllLog Start
[2025-01-07 06:21:04] Production.INFO: 117
[2025-01-07 06:21:04] Production.INFO: Date 2024-12-08
[2025-01-07 06:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:21:04] Production.INFO: Date 2024-12-09
[2025-01-07 06:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:21:04] Production.INFO: Date 2024-12-10
[2025-01-07 06:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:21:04] Production.INFO: Date 2024-12-11
[2025-01-07 06:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:21:04] Production.ERROR: done
[2025-01-07 06:21:04] Production.INFO: Date 2024-12-12
[2025-01-07 06:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:21:04] Production.INFO: Date 2024-12-13
[2025-01-07 06:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:21:04] Production.INFO: Date 2024-12-14
[2025-01-07 06:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:21:04] Production.INFO: Date 2024-12-15
[2025-01-07 06:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:21:04] Production.INFO: Date 2024-12-16
[2025-01-07 06:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:21:04] Production.INFO: Date 2024-12-17
[2025-01-07 06:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:21:04] Production.ERROR: done
[2025-01-07 06:21:04] Production.INFO: Date 2024-12-18
[2025-01-07 06:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:21:04] Production.INFO: Date 2024-12-19
[2025-01-07 06:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:21:04] Production.INFO: Date 2024-12-20
[2025-01-07 06:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:21:04] Production.INFO: Date 2024-12-21
[2025-01-07 06:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:21:04] Production.INFO: Date 2024-12-22
[2025-01-07 06:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:21:04] Production.INFO: Date 2024-12-23
[2025-01-07 06:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:21:04] Production.INFO: Date 2024-12-24
[2025-01-07 06:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:21:04] Production.INFO: Date 2024-12-25
[2025-01-07 06:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:21:04] Production.INFO: Date 2024-12-26
[2025-01-07 06:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:21:05] Production.INFO: Date 2024-12-27
[2025-01-07 06:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:21:05] Production.INFO: Date 2024-12-28
[2025-01-07 06:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:21:05] Production.INFO: Date 2024-12-29
[2025-01-07 06:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:21:05] Production.INFO: Date 2024-12-30
[2025-01-07 06:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:21:05] Production.INFO: Date 2024-12-31
[2025-01-07 06:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:21:05] Production.INFO: Date 2025-01-01
[2025-01-07 06:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:21:05] Production.INFO: Date 2025-01-02
[2025-01-07 06:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:21:05] Production.INFO: Date 2025-01-03
[2025-01-07 06:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:21:05] Production.INFO: Date 2025-01-04
[2025-01-07 06:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:21:05] Production.INFO: Date 2025-01-05
[2025-01-07 06:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:21:05] Production.INFO: Date 2025-01-06
[2025-01-07 06:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:21:05] Production.INFO: Date 2025-01-07
[2025-01-07 06:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:21:05] Production.INFO: Total Charge 0
[2025-01-07 06:21:05] Production.INFO: CreateAllLog End
[2025-01-07 06:21:05] Production.INFO: Account Balance End.
[2025-01-07 06:21:05] Production.ERROR: CronJobId end 12
[2025-01-07 06:21:05] Production.INFO: ==10734== Releasing lock...
[2025-01-07 06:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:21:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:21:05
[end_date_ymd] => 2025-01-07 06:21:05
[RateCDR] => 1
)
[2025-01-07 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-07 03:21:05' and `end` < '2025-01-07 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-07 06:21:11] Production.ERROR: CronJobId end10
[2025-01-07 06:21:11] Production.INFO: ==10731== Releasing lock...
[2025-01-07 06:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:21:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:21:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:21:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:21:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:21:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:21:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:21:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:21:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:21:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:21:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:21:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:21:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:21:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:21:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:21:14] Production.INFO: call_cost start
[2025-01-07 06:21:14] Production.INFO: call_cost end
[2025-01-07 06:21:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:21:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:21:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:21:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:21:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:21:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:21:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:21:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:21:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:21:15] Production.INFO: ==10727== Releasing lock...
[2025-01-07 06:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:21:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:21:19] Production.INFO: count ==52
[2025-01-07 06:21:19] Production.ERROR: pbx CDR StartTime 2025-01-07 03:21:05 - End Time 2025-01-07 06:21:05
[2025-01-07 06:21:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193029', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193029', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193029', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193029', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:21:19] Production.INFO: ProcessCDR(1,14193029,1,1,2)
[2025-01-07 06:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193029,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193029,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193029,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193029,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193029', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193029', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:21:22] Production.INFO: ==10738== Releasing lock...
[2025-01-07 06:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:21:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 11:22:01] Production.INFO: ==10846== Lock acquired, processing the job...
[2025-01-07 11:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:22:01] Production.INFO: neon service started
[2025-01-07 11:22:01] Production.INFO: neon service started
[2025-01-07 11:22:01] Production.INFO: ==10846== Releasing lock...
[2025-01-07 11:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:22:02] Production.INFO: ==10850== Lock acquired, processing the job...
[2025-01-07 11:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:22:02] Production.INFO: ==10850== Releasing lock...
[2025-01-07 11:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:22:02] Production.INFO: ==10848== Lock acquired, processing the job...
[2025-01-07 06:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:22:02] Production.INFO: ==10848== Releasing lock...
[2025-01-07 06:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:22:03] Production.INFO: ==10857== Lock acquired, processing the job...
[2025-01-07 06:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:22:03] Production.INFO: ==10855== Lock acquired, processing the job...
[2025-01-07 06:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:22:03] Production.INFO: ==10853== Lock acquired, processing the job...
[2025-01-07 06:22:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10448 #Starts#
[2025-01-07 06:22:03] Production.INFO: -- Xero Api Check --
[2025-01-07 06:22:03] Production.INFO: ==10863== Lock acquired, processing the job...
[2025-01-07 06:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:22:03] Production.INFO: ==10859== Lock acquired, processing the job...
[2025-01-07 06:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:22:03] Production.INFO: ==10861== Lock acquired, processing the job...
[2025-01-07 06:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:22:03] Production.INFO: ==10865== Lock acquired, processing the job...
[2025-01-07 06:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:22:03] Production.INFO: Account Balance Start.
[2025-01-07 06:22:03] Production.INFO: CreateAllLog Start
[2025-01-07 06:22:03] Production.INFO: 117
[2025-01-07 06:22:03] Production.INFO: Date 2024-12-08
[2025-01-07 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-07 06:22:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:22:03] Production.INFO: ==10857== Releasing lock...
[2025-01-07 06:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:22:03] Production.INFO: Date 2024-12-09
[2025-01-07 06:22:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:22:03] Production.INFO: count ==21
[2025-01-07 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-07 06:22:03] Production.INFO: count ==21
[2025-01-07 06:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193033') start
[2025-01-07 06:22:03] Production.ERROR: done
[2025-01-07 06:22:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:22:03] Production.INFO: Date 2024-12-10
[2025-01-07 06:22:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:22:04] Production.INFO: Date 2024-12-11
[2025-01-07 06:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:22:04] Production.ERROR: done
[2025-01-07 06:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193033') end
[2025-01-07 06:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:22:04] Production.INFO: 1
[2025-01-07 06:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:22:04] Production.INFO: Date 2024-12-12
[2025-01-07 06:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:22:04] Production.INFO: ==10865== Releasing lock...
[2025-01-07 06:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:22:04] Production.INFO: Date 2024-12-13
[2025-01-07 06:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:22:04] Production.INFO: Date 2024-12-14
[2025-01-07 06:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:22:04] Production.INFO: Date 2024-12-15
[2025-01-07 06:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:22:04] Production.INFO: Date 2024-12-16
[2025-01-07 06:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:22:04] Production.INFO: Date 2024-12-17
[2025-01-07 06:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:22:04] Production.INFO: Date 2024-12-18
[2025-01-07 06:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:22:04] Production.INFO: Date 2024-12-19
[2025-01-07 06:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:22:04] Production.INFO: Date 2024-12-20
[2025-01-07 06:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:22:04] Production.INFO: Date 2024-12-21
[2025-01-07 06:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:22:04] Production.INFO: Date 2024-12-22
[2025-01-07 06:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:22:04] Production.INFO: Date 2024-12-23
[2025-01-07 06:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:22:04] Production.INFO: Date 2024-12-24
[2025-01-07 06:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:22: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] => 859
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 1.49199
[namelookup_time] => 0.53558
[connect_time] => 0.628542
[pretransfer_time] => 1.019444
[size_upload] => 82
[size_download] => 2755
[speed_download] => 1846
[speed_upload] => 54
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 1.491942
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.72.248.213
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 57144
)
[2025-01-07 06:22:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDg5MjQsImV4cCI6MTczNjI0OTIyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ4OTI0LCJhdF9oYXNoIjoiWDlDUTFhckxqa1FQemdHbHl3dk5UdyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.FkABBLyAhsrmR4HrgMSvRqUZ8uGsqKGYNp7DYVLymrRqvh3NRUPfeLGGRr3huVB_mjpAsqe3Y__bf5fA-Sy-9x7qeBbk73CY_y_PEVo2IJx5gf5eL3tjZpr3JPnDaat1TUeYHD-t0kJqZquxlaWWSFLXT_yzjrlv-KSyr43qe3h3zD_Qmx32zNjirQdWIlqh2h6mwpCL_s7hv-VYmZyidfeekG9WmoiC4GjbT4iYakOIE2wptt2unF15Pb6epCLYRlAEM_3dxidWE7wHx_1_klSzXqzmCyNOPdb5YYNaMWPHkoqgi679YQGEj29k7IepNdQoxPF8B23xbojstZFsqA
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDg5MjQsImV4cCI6MTczNjI1MDcyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.DbvF4bgW7_7pMWCITpJDkDfdhZpSGUil6UfoFHi0v1eumxNBIhYqUJyQAeOQzDcozD81POtU_gm7S8Q6gSucbei14-Fs9q1VYbTHWQOQsz3KIMQs4cUGLqKhEBxzckBy3VUnak30uu_y8C4Gfutx_M-2DChaZEBp_wTTU_2rqt8YNp1aeSNB0lFryWfZ7txVA77NVjD3TQCoYg1_XFMRdHNeCof0IT45Nz7sP3O-T3To86gaouhtDazYEUkRnb0oVJDJDCZW0y3sk8pBVOz4kWMZGdspt_9VrrTxRVOgaDwd5GX1y4T8VYkMgQxAfufwG4arJfzkPlNsrZ0AMv4T-g
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => BQRDWuT8DCvX9pd0AM6FGSq1yvwg--BamxYznVXuF7Y
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 06:22:05] Production.INFO: Date 2024-12-25
[2025-01-07 06:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:22:05] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDg5MjQsImV4cCI6MTczNjI0OTIyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ4OTI0LCJhdF9oYXNoIjoiWDlDUTFhckxqa1FQemdHbHl3dk5UdyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.FkABBLyAhsrmR4HrgMSvRqUZ8uGsqKGYNp7DYVLymrRqvh3NRUPfeLGGRr3huVB_mjpAsqe3Y__bf5fA-Sy-9x7qeBbk73CY_y_PEVo2IJx5gf5eL3tjZpr3JPnDaat1TUeYHD-t0kJqZquxlaWWSFLXT_yzjrlv-KSyr43qe3h3zD_Qmx32zNjirQdWIlqh2h6mwpCL_s7hv-VYmZyidfeekG9WmoiC4GjbT4iYakOIE2wptt2unF15Pb6epCLYRlAEM_3dxidWE7wHx_1_klSzXqzmCyNOPdb5YYNaMWPHkoqgi679YQGEj29k7IepNdQoxPF8B23xbojstZFsqA
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDg5MjQsImV4cCI6MTczNjI1MDcyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.DbvF4bgW7_7pMWCITpJDkDfdhZpSGUil6UfoFHi0v1eumxNBIhYqUJyQAeOQzDcozD81POtU_gm7S8Q6gSucbei14-Fs9q1VYbTHWQOQsz3KIMQs4cUGLqKhEBxzckBy3VUnak30uu_y8C4Gfutx_M-2DChaZEBp_wTTU_2rqt8YNp1aeSNB0lFryWfZ7txVA77NVjD3TQCoYg1_XFMRdHNeCof0IT45Nz7sP3O-T3To86gaouhtDazYEUkRnb0oVJDJDCZW0y3sk8pBVOz4kWMZGdspt_9VrrTxRVOgaDwd5GX1y4T8VYkMgQxAfufwG4arJfzkPlNsrZ0AMv4T-g
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => BQRDWuT8DCvX9pd0AM6FGSq1yvwg--BamxYznVXuF7Y
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 06:22:05] Production.INFO: Date 2024-12-26
[2025-01-07 06:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:22:05] Production.INFO: Date 2024-12-27
[2025-01-07 06:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:22:05] Production.INFO: Date 2024-12-28
[2025-01-07 06:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:22:05] Production.INFO: AccountID 58
[2025-01-07 06:22:05] Production.INFO: AccountName Think Secure
[2025-01-07 06:22:05] Production.INFO: Checkcustomer
[2025-01-07 06:22:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Think%20Secure"
[2025-01-07 06:22:05] Production.INFO: Date 2024-12-29
[2025-01-07 06:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:22:05] Production.INFO: Date 2024-12-30
[2025-01-07 06:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:22:05] Production.INFO: Date 2024-12-31
[2025-01-07 06:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:22:05
[end_date_ymd] => 2025-01-07 06:22:05
[RateCDR] => 1
)
[2025-01-07 06:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 03:22:05' and `end` < '2025-01-07 06:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 06:22:05] Production.INFO: Date 2025-01-01
[2025-01-07 06:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:22:05] Production.INFO: Date 2025-01-02
[2025-01-07 06:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:22:05] Production.INFO: Date 2025-01-03
[2025-01-07 06:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:22:05] Production.INFO: Date 2025-01-04
[2025-01-07 06:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:22:05] Production.INFO: Date 2025-01-05
[2025-01-07 06:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:22:05] Production.INFO: Date 2025-01-06
[2025-01-07 06:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:22:05] Production.INFO: Date 2025-01-07
[2025-01-07 06:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:22:05] Production.INFO: Total Charge 0
[2025-01-07 06:22:05] Production.INFO: CreateAllLog End
[2025-01-07 06:22:05] Production.INFO: Account Balance End.
[2025-01-07 06:22:05] Production.ERROR: CronJobId end 12
[2025-01-07 06:22:05] Production.INFO: ==10861== Releasing lock...
[2025-01-07 06:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:22:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:22:07] Production.INFO: Contact id print CheckCustomer Case===c4bd70fd-3ccd-42a6-a692-2d9f355b91a8
[2025-01-07 06:22:07] Production.INFO: -- count --1
[2025-01-07 06:22:07] Production.INFO: AccountID 58
[2025-01-07 06:22:07] Production.INFO: AccountName Think Secure
[2025-01-07 06:22:07] Production.INFO: Checkcustomer
[2025-01-07 06:22:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Think%20Secure"
[2025-01-07 06:22:10] Production.INFO: Contact id print CheckCustomer Case===c4bd70fd-3ccd-42a6-a692-2d9f355b91a8
[2025-01-07 06:22:10] Production.INFO: -- count --1
[2025-01-07 06:22:10] Production.INFO: -- Xero Add Inovice --
[2025-01-07 06:22:10] Production.INFO: CheckInvoice xerov2: INV11110
[2025-01-07 06:22:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11110
[2025-01-07 06:22:12] Production.ERROR: CronJobId end10
[2025-01-07 06:22:12] Production.INFO: ==10859== Releasing lock...
[2025-01-07 06:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:22:12] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 06:22:12] Production.INFO: Invoice SubTotal 273.260000
[2025-01-07 06:22:12] Production.INFO: Invoice DetTotal 273.26
[2025-01-07 06:22:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Think%20Secure"
[2025-01-07 06:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:22:14] Production.INFO: call_cost start
[2025-01-07 06:22:14] Production.INFO: call_cost end
[2025-01-07 06:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:22:14] Production.INFO: ==10855== Releasing lock...
[2025-01-07 06:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:22:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 06:22:18] Production.INFO: count ==52
[2025-01-07 06:22:18] Production.ERROR: pbx CDR StartTime 2025-01-07 03:22:05 - End Time 2025-01-07 06:22:05
[2025-01-07 06:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193034', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193034', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193034', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193034', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:22:18] Production.INFO: ProcessCDR(1,14193034,1,1,2)
[2025-01-07 06:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193034,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:22:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 06:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193034,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193034,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:22:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 06:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193034,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193034', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193034', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:22:21] Production.INFO: ==10863== Releasing lock...
[2025-01-07 06:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:22:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 06:22:23] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 10-27-2024 To 11-26-2024",Quantity : 1,UnitAmount : 0.330000,LineAmount : 0.330000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 7,UnitAmount : 7.000000,LineAmount : 49.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (19053267233 - Cancom Security - 1183 Finch Ave W 205 North York, ON M3J2G2 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "Cable Internet Service - 300 x 20 - (160 Aspen Crescent, WhitechurchStouffville, ON L4A 5C3)",Quantity : 1,UnitAmount : 85.950000,LineAmount : 85.950000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (16475586206 - Benjamin Wein - 160 Aspen Cresent Stouffville, ON L4A 5C3 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 204,"Description": "Portable LTE Emergency Internet Service (with Larry Bennett)",Quantity : 1,UnitAmount : 132.980000,LineAmount : 132.980000}
[2025-01-07 06:22:25] Production.INFO: ==== result =====
[2025-01-07 06:22:25] Production.INFO: {
"Id": "73ec3637-06b9-41e8-841a-abd5d9fa68f9",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736248945805)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "ce09cddf-d882-4ebb-b36d-8da71659c412",
"InvoiceNumber": "INV11110",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 308.79,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "c4bd70fd-3ccd-42a6-a692-2d9f355b91a8",
"ContactStatus": "ACTIVE",
"Name": "Think Secure",
"FirstName": "Keshia",
"LastName": "Brubacher",
"EmailAddress": "accounts@thinksecure.ca",
"BankAccountDetails": "",
"TaxNumber": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"AddressLine1": "10 Newkirk Rd.",
"AddressLine2": "Unit 1",
"AddressLine3": "",
"AddressLine4": "",
"City": "Richmond Hill",
"Region": "ON",
"PostalCode": "L4C 5S3",
"Country": "Canada",
"AttentionTo": "Keshia Brubacher"
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "9053267233",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "9053267233",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1562268255557+0000)\/",
"ContactGroups": [
{
"ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58",
"Name": "Benjamin's Customers",
"Status": "ACTIVE",
"Contacts": [],
"HasValidationErrors": false
}
],
"IsSupplier": true,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-11-27T00:00:00",
"Date": "\/Date(1732665600000+0000)\/",
"DueDateString": "2024-12-27T00:00:00",
"DueDate": "\/Date(1735257600000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "From 10-27-2024 To 11-26-2024",
"UnitAmount": 0.33,
"TaxType": "TAX020",
"TaxAmount": 0.04,
"LineAmount": 0.33,
"AccountCode": "234",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "66ed9671-bd24-4833-9dd3-3bcf0297df41",
"AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "License for a Pay As You Go Cloud Phone extension",
"UnitAmount": 7.00,
"TaxType": "TAX020",
"TaxAmount": 6.37,
"LineAmount": 49.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 7.0000,
"DiscountRate": 0.00,
"LineItemID": "ec2ed3ae-1911-4c36-8d93-0df0b162842a",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (19053267233 - Cancom Security - 1183 Finch Ave W 205 North York, ON M3J2G2 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "6f1308a2-de75-47e1-a4ff-7f798935d873",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Cable Internet Service - 300 x 20 - (160 Aspen Crescent, WhitechurchStouffville, ON L4A 5C3)",
"UnitAmount": 85.95,
"TaxType": "TAX020",
"TaxAmount": 11.17,
"LineAmount": 85.95,
"AccountCode": "204",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "991a7263-7702-4879-8568-e65fa4f71c3c",
"AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (16475586206 - Benjamin Wein - 160 Aspen Cresent Stouffville, ON L4A 5C3 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "4228a674-af51-490b-b984-1458c06903ed",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Portable LTE Emergency Internet Service (with Larry Bennett)",
"UnitAmount": 132.98,
"TaxType": "TAX020",
"TaxAmount": 17.29,
"LineAmount": 132.98,
"AccountCode": "204",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "2f148e36-ce7a-48aa-b7de-239ef3fc0cd8",
"AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df",
"ValidationErrors": []
}
],
"SubTotal": 273.26,
"TotalTax": 35.53,
"Total": 308.79,
"UpdatedDateUTC": "\/Date(1736248945727+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 06:22:25] Production.INFO: -- Create Invoice id --ce09cddf-d882-4ebb-b36d-8da71659c412
[2025-01-07 06:22:25] Production.INFO: -- Create Invoice Done --
[2025-01-07 06:22:25] Production.INFO: CheckInvoice xerov2: INV11267
[2025-01-07 06:22:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11267
[2025-01-07 06:22:28] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 06:22:28] Production.INFO: Invoice SubTotal 275.760000
[2025-01-07 06:22:28] Production.INFO: Invoice DetTotal 275.76
[2025-01-07 06:22:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Think%20Secure"
[2025-01-07 06:22:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 06:22:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 06:22:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 06:22:39] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 11-27-2024 To 12-26-2024",Quantity : 1,UnitAmount : 2.830000,LineAmount : 2.830000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 7,UnitAmount : 7.000000,LineAmount : 49.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (19053267233 - Cancom Security - 1183 Finch Ave W 205 North York, ON M3J2G2 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "Cable Internet Service - 300 x 20 - (160 Aspen Crescent, WhitechurchStouffville, ON L4A 5C3)",Quantity : 1,UnitAmount : 85.950000,LineAmount : 85.950000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (16475586206 - Benjamin Wein - 160 Aspen Cresent Stouffville, ON L4A 5C3 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 204,"Description": "Portable LTE Emergency Internet Service (with Larry Bennett)",Quantity : 1,UnitAmount : 132.980000,LineAmount : 132.980000}
[2025-01-07 06:22:42] Production.INFO: ==== result =====
[2025-01-07 06:22:42] Production.INFO: {
"Id": "ec69835c-ef66-40dc-b9e7-c50d42e4c2e4",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736248962364)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "a2bea957-4886-4c6a-a4e9-f9aa508b1fb1",
"InvoiceNumber": "INV11267",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 311.62,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "c4bd70fd-3ccd-42a6-a692-2d9f355b91a8",
"ContactStatus": "ACTIVE",
"Name": "Think Secure",
"FirstName": "Keshia",
"LastName": "Brubacher",
"EmailAddress": "accounts@thinksecure.ca",
"BankAccountDetails": "",
"TaxNumber": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"AddressLine1": "10 Newkirk Rd.",
"AddressLine2": "Unit 1",
"AddressLine3": "",
"AddressLine4": "",
"City": "Richmond Hill",
"Region": "ON",
"PostalCode": "L4C 5S3",
"Country": "Canada",
"AttentionTo": "Keshia Brubacher"
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "9053267233",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "9053267233",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1562268255557+0000)\/",
"ContactGroups": [
{
"ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58",
"Name": "Benjamin's Customers",
"Status": "ACTIVE",
"Contacts": [],
"HasValidationErrors": false
}
],
"IsSupplier": true,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-27T00:00:00",
"Date": "\/Date(1735257600000+0000)\/",
"DueDateString": "2025-01-26T00:00:00",
"DueDate": "\/Date(1737849600000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "From 11-27-2024 To 12-26-2024",
"UnitAmount": 2.83,
"TaxType": "TAX020",
"TaxAmount": 0.37,
"LineAmount": 2.83,
"AccountCode": "234",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "471677e3-5cfd-4cac-935d-79c6673775db",
"AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "License for a Pay As You Go Cloud Phone extension",
"UnitAmount": 7.00,
"TaxType": "TAX020",
"TaxAmount": 6.37,
"LineAmount": 49.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 7.0000,
"DiscountRate": 0.00,
"LineItemID": "5219dce8-9fbe-44c4-8c98-008bdcb08348",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (19053267233 - Cancom Security - 1183 Finch Ave W 205 North York, ON M3J2G2 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "e87945f8-af9f-405d-a5b0-6c422f4edb51",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Cable Internet Service - 300 x 20 - (160 Aspen Crescent, WhitechurchStouffville, ON L4A 5C3)",
"UnitAmount": 85.95,
"TaxType": "TAX020",
"TaxAmount": 11.17,
"LineAmount": 85.95,
"AccountCode": "204",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "c4a874bb-e0d0-4027-ab2b-3b346a07a6f4",
"AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (16475586206 - Benjamin Wein - 160 Aspen Cresent Stouffville, ON L4A 5C3 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "3e4e2bd4-56cc-42a6-8d34-3e0997d9f3da",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Portable LTE Emergency Internet Service (with Larry Bennett)",
"UnitAmount": 132.98,
"TaxType": "TAX020",
"TaxAmount": 17.29,
"LineAmount": 132.98,
"AccountCode": "204",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "44293595-a0fa-423f-b145-cdc0c9391589",
"AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df",
"ValidationErrors": []
}
],
"SubTotal": 275.76,
"TotalTax": 35.86,
"Total": 311.62,
"UpdatedDateUTC": "\/Date(1736248962323+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 06:22:42] Production.INFO: -- Create Invoice id --a2bea957-4886-4c6a-a4e9-f9aa508b1fb1
[2025-01-07 06:22:42] Production.INFO: -- Create Invoice Done --
[2025-01-07 06:22:42] Production.INFO: -- Xero End Inovice --
[2025-01-07 06:22:42] Production.INFO: ==10853== Releasing lock...
[2025-01-07 06:22:42] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10448 #Stops#
[2025-01-07 06:22:42] Production.INFO: 30.75 MB #Memory Used#
[2025-01-07 11:23:02] Production.INFO: ==10946== Lock acquired, processing the job...
[2025-01-07 11:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:23:02] Production.INFO: neon service started
[2025-01-07 11:23:02] Production.INFO: neon service started
[2025-01-07 11:23:02] Production.INFO: ==10946== Releasing lock...
[2025-01-07 11:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:23:02] Production.INFO: ==10948== Lock acquired, processing the job...
[2025-01-07 06:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:23:02] Production.INFO: ==10948== Releasing lock...
[2025-01-07 06:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:23:02] Production.INFO: ==10950== Lock acquired, processing the job...
[2025-01-07 11:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:23:02] Production.INFO: ==10950== Releasing lock...
[2025-01-07 11:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:23:03] Production.INFO: ==10958== Lock acquired, processing the job...
[2025-01-07 06:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:23:03] Production.INFO: ==10960== Lock acquired, processing the job...
[2025-01-07 06:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:23:03] Production.INFO: ==10952== Lock acquired, processing the job...
[2025-01-07 06:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:23:03] Production.INFO: ==10956== Lock acquired, processing the job...
[2025-01-07 06:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:23:03] Production.INFO: ==10954== Lock acquired, processing the job...
[2025-01-07 06:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:23:03] Production.INFO: Account Balance Start.
[2025-01-07 06:23:03] Production.INFO: CreateAllLog Start
[2025-01-07 06:23:03] Production.INFO: 117
[2025-01-07 06:23:03] Production.INFO: Date 2024-12-08
[2025-01-07 06:23:03] Production.INFO: ==10962== Lock acquired, processing the job...
[2025-01-07 06:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:23:03] Production.INFO: Date 2024-12-09
[2025-01-07 06:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:23:03] Production.INFO: Date 2024-12-10
[2025-01-07 06:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:23:03] Production.INFO: count ==21
[2025-01-07 06:23:03] Production.ERROR: done
[2025-01-07 06:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:23:03] Production.INFO: count ==21
[2025-01-07 06:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193038') start
[2025-01-07 06:23:03] Production.INFO: Date 2024-12-11
[2025-01-07 06:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:23:03] Production.INFO: Date 2024-12-12
[2025-01-07 06:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193038') end
[2025-01-07 06:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:23:04] Production.INFO: 1
[2025-01-07 06:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:23:04] Production.INFO: ==10954== Releasing lock...
[2025-01-07 06:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:23:04] Production.ERROR: done
[2025-01-07 06:23:04] Production.INFO: Date 2024-12-13
[2025-01-07 06:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:23:04] Production.INFO: ==10962== Releasing lock...
[2025-01-07 06:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:23:04] Production.INFO: Date 2024-12-14
[2025-01-07 06:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:23:04] Production.INFO: Date 2024-12-15
[2025-01-07 06:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:23:04] Production.INFO: Date 2024-12-16
[2025-01-07 06:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:23:04] Production.INFO: Date 2024-12-17
[2025-01-07 06:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:23:04] Production.INFO: Date 2024-12-18
[2025-01-07 06:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:23:04] Production.INFO: Date 2024-12-19
[2025-01-07 06:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:23:04] Production.INFO: Date 2024-12-20
[2025-01-07 06:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:23:04] Production.INFO: Date 2024-12-21
[2025-01-07 06:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:23:04] Production.INFO: Date 2024-12-22
[2025-01-07 06:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:23:04] Production.INFO: Date 2024-12-23
[2025-01-07 06:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:23:04] Production.INFO: Date 2024-12-24
[2025-01-07 06:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:23:04] Production.INFO: Date 2024-12-25
[2025-01-07 06:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:23:04] Production.INFO: Date 2024-12-26
[2025-01-07 06:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:23:04] Production.INFO: Date 2024-12-27
[2025-01-07 06:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:23:04] Production.INFO: Date 2024-12-28
[2025-01-07 06:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:23:04] Production.INFO: Date 2024-12-29
[2025-01-07 06:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:23:04] Production.INFO: Date 2024-12-30
[2025-01-07 06:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:23:04] Production.INFO: Date 2024-12-31
[2025-01-07 06:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:23:04] Production.INFO: Date 2025-01-01
[2025-01-07 06:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:23:04] Production.INFO: Date 2025-01-02
[2025-01-07 06:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:23:04] Production.INFO: Date 2025-01-03
[2025-01-07 06:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:23:04] Production.INFO: Date 2025-01-04
[2025-01-07 06:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:23:04] Production.INFO: Date 2025-01-05
[2025-01-07 06:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:23:05] Production.INFO: Date 2025-01-06
[2025-01-07 06:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:23:05] Production.INFO: Date 2025-01-07
[2025-01-07 06:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:23:05
[end_date_ymd] => 2025-01-07 06:23:05
[RateCDR] => 1
)
[2025-01-07 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-07 03:23:05' and `end` < '2025-01-07 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-07 06:23:05] Production.INFO: Total Charge 0
[2025-01-07 06:23:05] Production.INFO: CreateAllLog End
[2025-01-07 06:23:05] Production.INFO: Account Balance End.
[2025-01-07 06:23:05] Production.ERROR: CronJobId end 12
[2025-01-07 06:23:05] Production.INFO: ==10958== Releasing lock...
[2025-01-07 06:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:23:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:23:11] Production.ERROR: CronJobId end10
[2025-01-07 06:23:11] Production.INFO: ==10956== Releasing lock...
[2025-01-07 06:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:23:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:23:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:23:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:23:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:23:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:23:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:23:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:23:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:23:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:23:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:23:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:23:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:23:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:23:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:23:13] Production.INFO: call_cost start
[2025-01-07 06:23:13] Production.INFO: call_cost end
[2025-01-07 06:23:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:23:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:23:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:23:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:23:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:23:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:23:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:23:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:23:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:23:13] Production.INFO: ==10952== Releasing lock...
[2025-01-07 06:23:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:23:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:23:17] Production.INFO: count ==52
[2025-01-07 06:23:17] Production.ERROR: pbx CDR StartTime 2025-01-07 03:23:05 - End Time 2025-01-07 06:23:05
[2025-01-07 06:23:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193039', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193039', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193039', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193039', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:23:17] Production.INFO: ProcessCDR(1,14193039,1,1,2)
[2025-01-07 06:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193039,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:23:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193039,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:23:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193039,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:23:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193039,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193039', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193039', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:23:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:23:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:23:20] Production.INFO: ==10960== Releasing lock...
[2025-01-07 06:23:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:23:20] Production.INFO: 28 MB #Memory Used#
[2025-01-07 11:24:01] Production.INFO: ==11029== Lock acquired, processing the job...
[2025-01-07 11:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:24:01] Production.INFO: neon service started
[2025-01-07 11:24:01] Production.INFO: neon service started
[2025-01-07 11:24:01] Production.INFO: ==11029== Releasing lock...
[2025-01-07 11:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:24:01] Production.INFO: ==11031== Lock acquired, processing the job...
[2025-01-07 06:24:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:24:02] Production.INFO: ==11031== Releasing lock...
[2025-01-07 06:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:24:02] Production.INFO: ==11033== Lock acquired, processing the job...
[2025-01-07 11:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:24:02] Production.INFO: ==11033== Releasing lock...
[2025-01-07 11:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:24:03] Production.INFO: ==11035== Lock acquired, processing the job...
[2025-01-07 06:24:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10449 #Starts#
[2025-01-07 06:24:03] Production.INFO: -- Xero Api Check --
[2025-01-07 06:24:03] Production.INFO: ==11039== Lock acquired, processing the job...
[2025-01-07 06:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:24:03] Production.INFO: ==11037== Lock acquired, processing the job...
[2025-01-07 06:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:24:03] Production.INFO: ==11042== Lock acquired, processing the job...
[2025-01-07 06:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:24:03] Production.INFO: ==11044== Lock acquired, processing the job...
[2025-01-07 06:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:24:03] Production.INFO: ==11046== Lock acquired, processing the job...
[2025-01-07 06:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:24:03] Production.INFO: ==11048== Lock acquired, processing the job...
[2025-01-07 06:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:24:03] Production.INFO: Account Balance Start.
[2025-01-07 06:24:03] Production.INFO: CreateAllLog Start
[2025-01-07 06:24:03] Production.INFO: 117
[2025-01-07 06:24:03] Production.INFO: Date 2024-12-08
[2025-01-07 06:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:24:03] Production.INFO: count ==21
[2025-01-07 06: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-07 06:24:03] Production.INFO: count ==21
[2025-01-07 06:24:03] Production.INFO: ==11039== Releasing lock...
[2025-01-07 06:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:24:03] Production.INFO: Date 2024-12-09
[2025-01-07 06:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193043') start
[2025-01-07 06:24:03] Production.INFO: Date 2024-12-10
[2025-01-07 06:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:24:03] Production.ERROR: done
[2025-01-07 06:24:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:24:03] Production.INFO: Date 2024-12-11
[2025-01-07 06:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:24:03] 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.596103
[namelookup_time] => 0.261159
[connect_time] => 0.272463
[pretransfer_time] => 0.491678
[size_upload] => 82
[size_download] => 2755
[speed_download] => 4621
[speed_upload] => 137
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.596073
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.17
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 43842
)
[2025-01-07 06:24:03] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDkwNDMsImV4cCI6MTczNjI0OTM0MywiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ5MDQzLCJhdF9oYXNoIjoiSXRpdDlqcG5FZVk3NUJOMXkzYkV6dyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.djC1pu9fAOYvKzMhl386whwhrk7kbKOd-k3n78o4YG7REN4fJcbpVy-KPSRXacA6Rc8o3owLqpZc6B25JWAs7EA_vCgwpJKNpNNLcu03yUSPtpLAW7NuwuBRoBVIpczWZj2DR2WqGGjG_z6d9qJ8C9u_5AdOJPkwKYYWIpNg3WPVHpGF8KVB20INf05YZoubU9uKk0PzJtfdyszLO-kSe2AC9MC7hgK9mSFR0Ds1meM86A49BDuTK3X1iRUSar5qfjSflYp33zFSllA-__sJqbKWFuQg2JRQxcUzoi-cgTwwWsZjBUe_GKgWX7rKckq3e05mtJS3gTMyH3jQt683Lw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDkwNDMsImV4cCI6MTczNjI1MDg0MywiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.prln2nnPhs4hh7h-BI9IWkMuSXtY3ZjZCm3161xtANkNeLiCLPAIb8On3NVbeBEH-h3gK0xQO4ie6YaFCOmu_DAvCG8YMYpof7e0yxrZWmei9jy1I7OyIdY28fgdD9cvYBS14GkqLJsx_Hepm03zKR4kM6RuDzhS_4OVDbjBDCLkzowvCebpOGCJF2eiLVIifU5TbjjPqydtqrK83jjWPlNfkVHpExlray3qKrruNWpvBcv_fkofqvUKBLxMG30fJvbPvPNKkrLOAcH3LJsQw1q2SyCMW7Eh7n2JR6oOomn7STMqcmr3XgIf0NMyGCpyM2FTT7BCTr6K66zITi0elw
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => dcPNppVIF73gXwPBnAHXOVmDng3VPCUHMFkQB1gNckE
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 06:24:03] Production.INFO: Date 2024-12-12
[2025-01-07 06:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:24:03] Production.ERROR: done
[2025-01-07 06:24:03] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDkwNDMsImV4cCI6MTczNjI0OTM0MywiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ5MDQzLCJhdF9oYXNoIjoiSXRpdDlqcG5FZVk3NUJOMXkzYkV6dyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.djC1pu9fAOYvKzMhl386whwhrk7kbKOd-k3n78o4YG7REN4fJcbpVy-KPSRXacA6Rc8o3owLqpZc6B25JWAs7EA_vCgwpJKNpNNLcu03yUSPtpLAW7NuwuBRoBVIpczWZj2DR2WqGGjG_z6d9qJ8C9u_5AdOJPkwKYYWIpNg3WPVHpGF8KVB20INf05YZoubU9uKk0PzJtfdyszLO-kSe2AC9MC7hgK9mSFR0Ds1meM86A49BDuTK3X1iRUSar5qfjSflYp33zFSllA-__sJqbKWFuQg2JRQxcUzoi-cgTwwWsZjBUe_GKgWX7rKckq3e05mtJS3gTMyH3jQt683Lw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDkwNDMsImV4cCI6MTczNjI1MDg0MywiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.prln2nnPhs4hh7h-BI9IWkMuSXtY3ZjZCm3161xtANkNeLiCLPAIb8On3NVbeBEH-h3gK0xQO4ie6YaFCOmu_DAvCG8YMYpof7e0yxrZWmei9jy1I7OyIdY28fgdD9cvYBS14GkqLJsx_Hepm03zKR4kM6RuDzhS_4OVDbjBDCLkzowvCebpOGCJF2eiLVIifU5TbjjPqydtqrK83jjWPlNfkVHpExlray3qKrruNWpvBcv_fkofqvUKBLxMG30fJvbPvPNKkrLOAcH3LJsQw1q2SyCMW7Eh7n2JR6oOomn7STMqcmr3XgIf0NMyGCpyM2FTT7BCTr6K66zITi0elw
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => dcPNppVIF73gXwPBnAHXOVmDng3VPCUHMFkQB1gNckE
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 06:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193043') end
[2025-01-07 06:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:24:03] Production.INFO: 1
[2025-01-07 06:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:24:03] Production.INFO: Date 2024-12-13
[2025-01-07 06:24:03] Production.INFO: ==11048== Releasing lock...
[2025-01-07 06:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:24:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:24:04] Production.INFO: AccountID 183
[2025-01-07 06:24:04] Production.INFO: AccountName Sunnybrook - Construction Site (Cancom - Think Secure)
[2025-01-07 06:24:04] Production.INFO: Checkcustomer
[2025-01-07 06:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:24:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Sunnybrook%20-%20Construction%20Site%20%28Cancom%20-%20Think%20Secure%29"
[2025-01-07 06:24:04] Production.INFO: Date 2024-12-14
[2025-01-07 06:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:24:04] Production.INFO: Date 2024-12-15
[2025-01-07 06:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:24:04] Production.INFO: Date 2024-12-16
[2025-01-07 06:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:24:04] Production.INFO: Date 2024-12-17
[2025-01-07 06:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:24:04] Production.INFO: Date 2024-12-18
[2025-01-07 06:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:24:04] Production.INFO: Date 2024-12-19
[2025-01-07 06:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:24:04] Production.INFO: Date 2024-12-20
[2025-01-07 06:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:24:04] Production.INFO: Date 2024-12-21
[2025-01-07 06:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:24:04] Production.INFO: Date 2024-12-22
[2025-01-07 06:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:24:04] Production.INFO: Date 2024-12-23
[2025-01-07 06:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:24:04] Production.INFO: Date 2024-12-24
[2025-01-07 06:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:24:04] Production.INFO: Date 2024-12-25
[2025-01-07 06:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:24:04] Production.INFO: Date 2024-12-26
[2025-01-07 06:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:24:04] Production.INFO: Date 2024-12-27
[2025-01-07 06:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:24:04] Production.INFO: Date 2024-12-28
[2025-01-07 06:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:24:04] Production.INFO: Date 2024-12-29
[2025-01-07 06:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:24:04] Production.INFO: Date 2024-12-30
[2025-01-07 06:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:24:04] Production.INFO: Date 2024-12-31
[2025-01-07 06:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:24:04] Production.INFO: Date 2025-01-01
[2025-01-07 06:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:24:04] Production.INFO: Date 2025-01-02
[2025-01-07 06:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:24:04] Production.INFO: Date 2025-01-03
[2025-01-07 06:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:24:04] Production.INFO: Date 2025-01-04
[2025-01-07 06:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:24:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:24:04
[end_date_ymd] => 2025-01-07 06:24:04
[RateCDR] => 1
)
[2025-01-07 06: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-07 03:24:04' and `end` < '2025-01-07 06: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-07 06:24:04] Production.INFO: Date 2025-01-05
[2025-01-07 06:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:24:04] Production.INFO: Date 2025-01-06
[2025-01-07 06:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:24:04] Production.INFO: Date 2025-01-07
[2025-01-07 06:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:24:04] Production.INFO: Total Charge 0
[2025-01-07 06:24:04] Production.INFO: CreateAllLog End
[2025-01-07 06:24:05] Production.INFO: Account Balance End.
[2025-01-07 06:24:05] Production.ERROR: CronJobId end 12
[2025-01-07 06:24:05] Production.INFO: ==11044== Releasing lock...
[2025-01-07 06:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:24:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:24:06] Production.INFO: Contact id print CheckCustomer Case===9438f80c-bb9a-4440-84ef-9c1f20f46b34
[2025-01-07 06:24:06] Production.INFO: -- count --1
[2025-01-07 06:24:06] Production.INFO: AccountID 183
[2025-01-07 06:24:06] Production.INFO: AccountName Sunnybrook - Construction Site (Cancom - Think Secure)
[2025-01-07 06:24:06] Production.INFO: Checkcustomer
[2025-01-07 06:24:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Sunnybrook%20-%20Construction%20Site%20%28Cancom%20-%20Think%20Secure%29"
[2025-01-07 06:24:09] Production.INFO: Contact id print CheckCustomer Case===9438f80c-bb9a-4440-84ef-9c1f20f46b34
[2025-01-07 06:24:09] Production.INFO: -- count --1
[2025-01-07 06:24:09] Production.INFO: -- Xero Add Inovice --
[2025-01-07 06:24:09] Production.INFO: CheckInvoice xerov2: INV11112
[2025-01-07 06:24:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11112
[2025-01-07 06:24:11] Production.ERROR: CronJobId end10
[2025-01-07 06:24:11] Production.INFO: ==11042== Releasing lock...
[2025-01-07 06:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:24:12] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 06:24:12] Production.INFO: Invoice SubTotal 360.300000
[2025-01-07 06:24:12] Production.INFO: Invoice DetTotal 360.3
[2025-01-07 06:24:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Sunnybrook%20-%20Construction%20Site%20%28Cancom%20-%20Think%20Secure%29"
[2025-01-07 06:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:24:13] Production.INFO: call_cost start
[2025-01-07 06:24:13] Production.INFO: call_cost end
[2025-01-07 06:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:24:14] Production.INFO: ==11037== Releasing lock...
[2025-01-07 06:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:24:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 06:24:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 06:24:18] Production.INFO: count ==52
[2025-01-07 06:24:18] Production.ERROR: pbx CDR StartTime 2025-01-07 03:24:04 - End Time 2025-01-07 06:24:04
[2025-01-07 06:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193044', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193044', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193044', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193044', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:24:18] Production.INFO: ProcessCDR(1,14193044,1,1,2)
[2025-01-07 06:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193044,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193044,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193044,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:24:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 06:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193044,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193044', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193044', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:24:21] Production.INFO: ==11046== Releasing lock...
[2025-01-07 06:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:24:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 06:24:22] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 204,"Description": "SUNNYBROOK - Air Fiber Internet Service (2075 Bayview Ave, Toronto, ON M4N 3M5)",Quantity : 1,UnitAmount : 360.300000,LineAmount : 360.300000}
[2025-01-07 06:24:24] Production.INFO: ==== result =====
[2025-01-07 06:24:24] Production.INFO: {
"Id": "90c72a36-3402-4690-b889-7797f2a1a7a8",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736249064902)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "e3e744ba-610c-4b46-aa84-761e3cee85e4",
"InvoiceNumber": "INV11112",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 407.14,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"IsDiscounted": false,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "9438f80c-bb9a-4440-84ef-9c1f20f46b34",
"ContactStatus": "ACTIVE",
"Name": "Sunnybrook - Construction Site (Cancom - Think Secure)",
"FirstName": "Darcy",
"LastName": "Chelvan",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1657573684763+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-11-27T00:00:00",
"Date": "\/Date(1732665600000+0000)\/",
"DueDateString": "2024-12-27T00:00:00",
"DueDate": "\/Date(1735257600000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "SUNNYBROOK - Air Fiber Internet Service (2075 Bayview Ave, Toronto, ON M4N 3M5)",
"UnitAmount": 360.30,
"TaxType": "TAX020",
"TaxAmount": 46.84,
"LineAmount": 360.30,
"AccountCode": "204",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "b6ade72f-fb6e-4771-9f12-66d65e2f20b9",
"AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df",
"ValidationErrors": []
}
],
"SubTotal": 360.30,
"TotalTax": 46.84,
"Total": 407.14,
"UpdatedDateUTC": "\/Date(1736249064840+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 06:24:24] Production.INFO: -- Create Invoice id --e3e744ba-610c-4b46-aa84-761e3cee85e4
[2025-01-07 06:24:24] Production.INFO: -- Create Invoice Done --
[2025-01-07 06:24:24] Production.INFO: CheckInvoice xerov2: INV11269
[2025-01-07 06:24:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11269
[2025-01-07 06:24:27] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 06:24:27] Production.INFO: Invoice SubTotal 360.300000
[2025-01-07 06:24:27] Production.INFO: Invoice DetTotal 360.3
[2025-01-07 06:24:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Sunnybrook%20-%20Construction%20Site%20%28Cancom%20-%20Think%20Secure%29"
[2025-01-07 06:24:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 06:24:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 06:24:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 06:24:38] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 204,"Description": "SUNNYBROOK - Air Fiber Internet Service (2075 Bayview Ave, Toronto, ON M4N 3M5)",Quantity : 1,UnitAmount : 360.300000,LineAmount : 360.300000}
[2025-01-07 06:24:41] Production.INFO: ==== result =====
[2025-01-07 06:24:41] Production.INFO: {
"Id": "d82d773f-3ee6-4baf-81b6-dde65a000223",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736249081094)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "fe65488e-0514-430d-97e1-5e4cddb32a2c",
"InvoiceNumber": "INV11269",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 407.14,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"IsDiscounted": false,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "9438f80c-bb9a-4440-84ef-9c1f20f46b34",
"ContactStatus": "ACTIVE",
"Name": "Sunnybrook - Construction Site (Cancom - Think Secure)",
"FirstName": "Darcy",
"LastName": "Chelvan",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1657573684763+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-27T00:00:00",
"Date": "\/Date(1735257600000+0000)\/",
"DueDateString": "2025-01-26T00:00:00",
"DueDate": "\/Date(1737849600000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "SUNNYBROOK - Air Fiber Internet Service (2075 Bayview Ave, Toronto, ON M4N 3M5)",
"UnitAmount": 360.30,
"TaxType": "TAX020",
"TaxAmount": 46.84,
"LineAmount": 360.30,
"AccountCode": "204",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "9102eb90-e8ef-418f-bed5-c1a31a270712",
"AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df",
"ValidationErrors": []
}
],
"SubTotal": 360.30,
"TotalTax": 46.84,
"Total": 407.14,
"UpdatedDateUTC": "\/Date(1736249081063+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 06:24:41] Production.INFO: -- Create Invoice id --fe65488e-0514-430d-97e1-5e4cddb32a2c
[2025-01-07 06:24:41] Production.INFO: -- Create Invoice Done --
[2025-01-07 06:24:41] Production.INFO: -- Xero End Inovice --
[2025-01-07 06:24:41] Production.INFO: ==11035== Releasing lock...
[2025-01-07 06:24:41] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10449 #Stops#
[2025-01-07 06:24:41] Production.INFO: 30.75 MB #Memory Used#
[2025-01-07 11:25:01] Production.INFO: ==11125== Lock acquired, processing the job...
[2025-01-07 11:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:25:01] Production.INFO: neon service started
[2025-01-07 11:25:01] Production.INFO: neon service started
[2025-01-07 11:25:01] Production.INFO: ==11125== Releasing lock...
[2025-01-07 11:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:25:02] Production.INFO: ==11131== Lock acquired, processing the job...
[2025-01-07 11:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:25:02] Production.INFO: ==11131== Releasing lock...
[2025-01-07 11:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:25:02] Production.INFO: ==11129== Lock acquired, processing the job...
[2025-01-07 06:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:25:02] Production.INFO: ==11129== Releasing lock...
[2025-01-07 06:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:25:03] Production.INFO: ==11141== Lock acquired, processing the job...
[2025-01-07 06:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:25:03] Production.INFO: ==11145== Lock acquired, processing the job...
[2025-01-07 06:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:25:03] Production.INFO: ==11134== Lock acquired, processing the job...
[2025-01-07 06:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:25:03] Production.INFO: ==11136== Lock acquired, processing the job...
[2025-01-07 06:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:25:03] Production.INFO: Account Balance Start.
[2025-01-07 06:25:03] Production.INFO: CreateAllLog Start
[2025-01-07 06:25:03] Production.INFO: 117
[2025-01-07 06:25:03] Production.INFO: Date 2024-12-08
[2025-01-07 06:25:03] Production.INFO: ==11138== Lock acquired, processing the job...
[2025-01-07 06:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:25:03] Production.INFO: Date 2024-12-09
[2025-01-07 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-07 06:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:25:03] Production.INFO: count ==21
[2025-01-07 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-07 06:25:03] Production.INFO: ==11143== Lock acquired, processing the job...
[2025-01-07 06:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:25:03] Production.INFO: count ==21
[2025-01-07 06:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193046') start
[2025-01-07 06:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:25:03] Production.INFO: Date 2024-12-10
[2025-01-07 06:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:25:03] Production.INFO: Date 2024-12-11
[2025-01-07 06:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:25:03] Production.INFO: Date 2024-12-12
[2025-01-07 06:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:25:03] Production.INFO: Date 2024-12-13
[2025-01-07 06:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193046') end
[2025-01-07 06:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:25:03] Production.INFO: 1
[2025-01-07 06:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:25:04] Production.INFO: ==11145== Releasing lock...
[2025-01-07 06:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:25:04] Production.INFO: Date 2024-12-14
[2025-01-07 06:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:25:04] Production.INFO: Date 2024-12-15
[2025-01-07 06:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:25:04] Production.INFO: Date 2024-12-16
[2025-01-07 06:25:04] Production.INFO: ==11136== Releasing lock...
[2025-01-07 06:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:25:04] Production.ERROR: done
[2025-01-07 06:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:25:04] Production.INFO: Date 2024-12-17
[2025-01-07 06:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:25:04] Production.INFO: Date 2024-12-18
[2025-01-07 06:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:25:04] Production.INFO: Date 2024-12-19
[2025-01-07 06:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:25:04] Production.ERROR: done
[2025-01-07 06:25:04] Production.INFO: Date 2024-12-20
[2025-01-07 06:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:25:04] Production.INFO: Date 2024-12-21
[2025-01-07 06:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:25:04] Production.INFO: Date 2024-12-22
[2025-01-07 06:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:25:04] Production.INFO: Date 2024-12-23
[2025-01-07 06:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:25:04] Production.INFO: Date 2024-12-24
[2025-01-07 06:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:25:04] Production.INFO: Date 2024-12-25
[2025-01-07 06:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:25:04] Production.INFO: Date 2024-12-26
[2025-01-07 06:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:25:04] Production.INFO: Date 2024-12-27
[2025-01-07 06:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:25:04] Production.INFO: Date 2024-12-28
[2025-01-07 06:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:25:04] Production.INFO: Date 2024-12-29
[2025-01-07 06:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:25:04] Production.INFO: Date 2024-12-30
[2025-01-07 06:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:25:04] Production.INFO: Date 2024-12-31
[2025-01-07 06:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:25:04] Production.INFO: Date 2025-01-01
[2025-01-07 06:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:25:05] Production.INFO: Date 2025-01-02
[2025-01-07 06:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:25:05] Production.INFO: Date 2025-01-03
[2025-01-07 06:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:25:05] Production.INFO: Date 2025-01-04
[2025-01-07 06:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:25:05] Production.INFO: Date 2025-01-05
[2025-01-07 06:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:25:05] Production.INFO: Date 2025-01-06
[2025-01-07 06:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:25:05] Production.INFO: Date 2025-01-07
[2025-01-07 06:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:25:05] Production.INFO: Total Charge 0
[2025-01-07 06:25:05] Production.INFO: CreateAllLog End
[2025-01-07 06:25:05] Production.INFO: Account Balance End.
[2025-01-07 06:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:25:05
[end_date_ymd] => 2025-01-07 06:25:05
[RateCDR] => 1
)
[2025-01-07 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-07 03:25:05' and `end` < '2025-01-07 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-07 06:25:05] Production.ERROR: CronJobId end 12
[2025-01-07 06:25:05] Production.INFO: ==11141== Releasing lock...
[2025-01-07 06:25:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:25:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:25:11] Production.ERROR: CronJobId end10
[2025-01-07 06:25:11] Production.INFO: ==11138== Releasing lock...
[2025-01-07 06:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:25:13] Production.INFO: call_cost start
[2025-01-07 06:25:13] Production.INFO: call_cost end
[2025-01-07 06:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:25:14] Production.INFO: ==11134== Releasing lock...
[2025-01-07 06:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:25:18] Production.INFO: count ==52
[2025-01-07 06:25:18] Production.ERROR: pbx CDR StartTime 2025-01-07 03:25:05 - End Time 2025-01-07 06:25:05
[2025-01-07 06:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193049', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193049', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193049', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193049', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:25:18] Production.INFO: ProcessCDR(1,14193049,1,1,2)
[2025-01-07 06:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193049,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193049,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193049,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193049,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193049', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193049', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:25:21] Production.INFO: ==11143== Releasing lock...
[2025-01-07 06:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:25:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 11:26:02] Production.INFO: ==11208== Lock acquired, processing the job...
[2025-01-07 11:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:26:02] Production.INFO: neon service started
[2025-01-07 11:26:02] Production.INFO: neon service started
[2025-01-07 11:26:02] Production.INFO: ==11208== Releasing lock...
[2025-01-07 11:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:26:03] Production.INFO: ==11210== Lock acquired, processing the job...
[2025-01-07 06:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:26:03] Production.INFO: ==11212== Lock acquired, processing the job...
[2025-01-07 11:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:26:03] Production.INFO: ==11212== Releasing lock...
[2025-01-07 11:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:26:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:26:03] Production.INFO: ==11210== Releasing lock...
[2025-01-07 06:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:26:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:26:04] Production.INFO: ==11215== Lock acquired, processing the job...
[2025-01-07 06:26:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:26:04] Production.INFO: ==11219== Lock acquired, processing the job...
[2025-01-07 06:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:26:04] Production.INFO: ==11223== Lock acquired, processing the job...
[2025-01-07 06:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:26:04] Production.INFO: ==11217== Lock acquired, processing the job...
[2025-01-07 06:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:26:04] Production.INFO: ==11221== Lock acquired, processing the job...
[2025-01-07 06:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:26:04] Production.INFO: ==11225== Lock acquired, processing the job...
[2025-01-07 06:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:26:04] Production.INFO: Account Balance Start.
[2025-01-07 06:26:04] Production.INFO: CreateAllLog Start
[2025-01-07 06:26:04] Production.INFO: 117
[2025-01-07 06:26:04] Production.ERROR: done
[2025-01-07 06:26:04] Production.INFO: Date 2024-12-08
[2025-01-07 06:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:26:04] Production.INFO: Date 2024-12-09
[2025-01-07 06:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:26:04] Production.INFO: Date 2024-12-10
[2025-01-07 06:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 06:26:04] Production.INFO: count ==21
[2025-01-07 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-07 06:26:04] Production.INFO: count ==21
[2025-01-07 06:26:04] Production.ERROR: done
[2025-01-07 06:26:04] Production.INFO: Date 2024-12-11
[2025-01-07 06:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193053') start
[2025-01-07 06:26:04] Production.INFO: Date 2024-12-12
[2025-01-07 06:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193053') end
[2025-01-07 06:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:26:04] Production.INFO: 1
[2025-01-07 06:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:26:04] Production.INFO: Date 2024-12-13
[2025-01-07 06:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:26:05] Production.INFO: ==11217== Releasing lock...
[2025-01-07 06:26:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:26:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:26:05] Production.INFO: Date 2024-12-14
[2025-01-07 06:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:26:05] Production.INFO: Date 2024-12-15
[2025-01-07 06:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:26:05] Production.INFO: Date 2024-12-16
[2025-01-07 06:26:05] Production.INFO: ==11225== Releasing lock...
[2025-01-07 06:26:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:26:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:26:05] Production.INFO: Date 2024-12-17
[2025-01-07 06:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:26:05] Production.INFO: Date 2024-12-18
[2025-01-07 06:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:26:05] Production.INFO: Date 2024-12-19
[2025-01-07 06:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:26:05] Production.INFO: Date 2024-12-20
[2025-01-07 06:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:26:05] Production.INFO: Date 2024-12-21
[2025-01-07 06:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:26:05] Production.INFO: Date 2024-12-22
[2025-01-07 06:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:26:05] Production.INFO: Date 2024-12-23
[2025-01-07 06:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:26:05] Production.INFO: Date 2024-12-24
[2025-01-07 06:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:26:05] Production.INFO: Date 2024-12-25
[2025-01-07 06:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:26:05] Production.INFO: Date 2024-12-26
[2025-01-07 06:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:26:05] Production.INFO: Date 2024-12-27
[2025-01-07 06:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:26:05] Production.INFO: Date 2024-12-28
[2025-01-07 06:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:26:05] Production.INFO: Date 2024-12-29
[2025-01-07 06:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:26:05] Production.INFO: Date 2024-12-30
[2025-01-07 06:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:26:05] Production.INFO: Date 2024-12-31
[2025-01-07 06:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:26:05] Production.INFO: Date 2025-01-01
[2025-01-07 06:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:26:05] Production.INFO: Date 2025-01-02
[2025-01-07 06:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:26:05] Production.INFO: Date 2025-01-03
[2025-01-07 06:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:26:05] Production.INFO: Date 2025-01-04
[2025-01-07 06:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:26:05] Production.INFO: Date 2025-01-05
[2025-01-07 06:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:26:05] Production.INFO: Date 2025-01-06
[2025-01-07 06:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:26:05] Production.INFO: Date 2025-01-07
[2025-01-07 06:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:26:05] Production.INFO: Total Charge 0
[2025-01-07 06:26:05] Production.INFO: CreateAllLog End
[2025-01-07 06:26:05] Production.INFO: Account Balance End.
[2025-01-07 06:26:06] Production.ERROR: CronJobId end 12
[2025-01-07 06:26:06] Production.INFO: ==11221== Releasing lock...
[2025-01-07 06:26:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:26:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:26:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:26:06
[end_date_ymd] => 2025-01-07 06:26:06
[RateCDR] => 1
)
[2025-01-07 06: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-07 03:26:06' and `end` < '2025-01-07 06: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-07 06:26:11] Production.ERROR: CronJobId end10
[2025-01-07 06:26:11] Production.INFO: ==11219== Releasing lock...
[2025-01-07 06:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:26:14] Production.INFO: call_cost start
[2025-01-07 06:26:14] Production.INFO: call_cost end
[2025-01-07 06:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:26:14] Production.INFO: ==11215== Releasing lock...
[2025-01-07 06:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:26:19] Production.INFO: count ==52
[2025-01-07 06:26:19] Production.ERROR: pbx CDR StartTime 2025-01-07 03:26:06 - End Time 2025-01-07 06:26:06
[2025-01-07 06:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193054', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193054', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193054', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193054', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:26:19] Production.INFO: ProcessCDR(1,14193054,1,1,2)
[2025-01-07 06:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193054,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193054,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193054,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193054,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193054', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193054', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:26:22] Production.INFO: ==11223== Releasing lock...
[2025-01-07 06:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:26:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 11:27:01] Production.INFO: ==11286== Lock acquired, processing the job...
[2025-01-07 11:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:27:01] Production.INFO: neon service started
[2025-01-07 11:27:01] Production.INFO: neon service started
[2025-01-07 11:27:01] Production.INFO: ==11286== Releasing lock...
[2025-01-07 11:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:27:02] Production.INFO: ==11288== Lock acquired, processing the job...
[2025-01-07 06:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:27:02] Production.INFO: ==11290== Lock acquired, processing the job...
[2025-01-07 11:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:27:02] Production.INFO: ==11290== Releasing lock...
[2025-01-07 11:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:27:02] Production.INFO: ==11288== Releasing lock...
[2025-01-07 06:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:27:02] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:27:03] Production.INFO: ==11292== Lock acquired, processing the job...
[2025-01-07 06:27:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10450 #Starts#
[2025-01-07 06:27:03] Production.INFO: -- Xero Api Check --
[2025-01-07 06:27:03] Production.INFO: ==11298== Lock acquired, processing the job...
[2025-01-07 06:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:27:03] Production.INFO: ==11296== Lock acquired, processing the job...
[2025-01-07 06:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:27:03] Production.INFO: ==11294== Lock acquired, processing the job...
[2025-01-07 06:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:27:03] Production.INFO: ==11303== Lock acquired, processing the job...
[2025-01-07 06:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:27:03] Production.INFO: ==11300== Lock acquired, processing the job...
[2025-01-07 06:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:27:03] Production.INFO: ==11305== Lock acquired, processing the job...
[2025-01-07 06:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:27:03] Production.INFO: Account Balance Start.
[2025-01-07 06:27:03] Production.INFO: CreateAllLog Start
[2025-01-07 06:27:03] Production.INFO: 117
[2025-01-07 06:27:03] Production.INFO: Date 2024-12-08
[2025-01-07 06:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:27:03] Production.INFO: Date 2024-12-09
[2025-01-07 06:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:27:03] Production.INFO: ==11296== Releasing lock...
[2025-01-07 06:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:27:04] Production.ERROR: done
[2025-01-07 06:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:27:04] Production.INFO: Date 2024-12-10
[2025-01-07 06:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:27:04] Production.INFO: count ==21
[2025-01-07 06:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:27:04] Production.INFO: count ==21
[2025-01-07 06:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193058') start
[2025-01-07 06:27:04] Production.INFO: Date 2024-12-11
[2025-01-07 06:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:27:04] Production.ERROR: done
[2025-01-07 06:27:04] Production.INFO: Date 2024-12-12
[2025-01-07 06:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:27:04] Production.INFO: Date 2024-12-13
[2025-01-07 06:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:27:04] Production.INFO: Date 2024-12-14
[2025-01-07 06:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193058') end
[2025-01-07 06:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:27:04] Production.INFO: 1
[2025-01-07 06:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:27:04] Production.INFO: Date 2024-12-15
[2025-01-07 06:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:27:04] Production.INFO: Date 2024-12-16
[2025-01-07 06:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:27:04] Production.INFO: ==11305== Releasing lock...
[2025-01-07 06:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:27:04] Production.INFO: Date 2024-12-17
[2025-01-07 06:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:27:04] Production.INFO: Date 2024-12-18
[2025-01-07 06:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:27:04] Production.INFO: Date 2024-12-19
[2025-01-07 06:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:27:04] Production.INFO: Date 2024-12-20
[2025-01-07 06:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:27:04] Production.INFO: Date 2024-12-21
[2025-01-07 06:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:27:04] Production.INFO: Date 2024-12-22
[2025-01-07 06:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:27:04] Production.INFO: Date 2024-12-23
[2025-01-07 06:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:27:04] Production.INFO: Date 2024-12-24
[2025-01-07 06:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:27:04] Production.INFO: Date 2024-12-25
[2025-01-07 06:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:27:04] Production.INFO: Date 2024-12-26
[2025-01-07 06:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:27:04] Production.INFO: Date 2024-12-27
[2025-01-07 06:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:27:04] Production.INFO: Date 2024-12-28
[2025-01-07 06:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:27:04] Production.INFO: Date 2024-12-29
[2025-01-07 06:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:27:04] Production.INFO: Date 2024-12-30
[2025-01-07 06:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:27: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] => 858
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 1.299577
[namelookup_time] => 0.548499
[connect_time] => 0.640474
[pretransfer_time] => 1.048349
[size_upload] => 82
[size_download] => 2755
[speed_download] => 2119
[speed_upload] => 63
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 1.299519
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.72.248.213
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 57224
)
[2025-01-07 06:27:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDkyMjQsImV4cCI6MTczNjI0OTUyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ5MjI0LCJhdF9oYXNoIjoiRHVGUFplaFd4Y3V5dFdKR0lJN1pQUSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.DxIablISudAUQ5U3fDX1Oi0eGBwanZwpN7Dl6GtXnHVjj-KbcGeM2qAPudq4gahkrelsn1g0EmWYcSUqea7ZLmggN18XpquOM4_OcUyFBXSyjMKGbCcaJUAtaSbonKvvKStZRKbZulTupbMirqNsxtEapmanJyxCdovsT7CMddenYrlJs1F28wc3eHkNfxVyUaFhU0eSiwFswMRwQgBr9PhH3doP4s5warARU1f82wsHvil-I6FBuQTZB-Bhy_Sz-PpP-RcCdkwWwoiyBNLkoaxhHFYkuZSoBcnH3yBKpCYqUPj-M2WoQ5a0sSPByeIj4Vrrlhm_iKCkLgJTJGa1bQ
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDkyMjQsImV4cCI6MTczNjI1MTAyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.SpPd2SODIGE3yje8OGWOfoK6V3Kl4-0ItoOOxCGZgrwjWtSLA2tRv_D_wDlWUqJ4evEyCKrRa00JWoaQPcvPrM8De5Xw9fs6hQ6mHGC9tPM0ij6n_DzcAyS2RQJTcWe6-vuOnEIuRthdUWwBuyzDifwx8jhpluVAX6m6o0O9dXOQtx1pRi-VFUcuhfn-xnDNBkoh2PLQmL9MM7wI8qG9UTuZsRmNiORKnSEnzLV0jveIbim_Kq9RaJFVBeScXaV0QBI9VSi69qo0zkAHGyesLRudfRNsIsWOMiWO9ma7P6dA6sXXO92Ljp_Nn49hCKuQqLHC8QcUbkCMT4I8hC8j9A
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => cZr0S9i6YeCZpkcSxLg3PIpoxJEsaY9F9YPzNdT0Qno
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 06:27:04] Production.INFO: Date 2024-12-31
[2025-01-07 06:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:27:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDkyMjQsImV4cCI6MTczNjI0OTUyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ5MjI0LCJhdF9oYXNoIjoiRHVGUFplaFd4Y3V5dFdKR0lJN1pQUSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.DxIablISudAUQ5U3fDX1Oi0eGBwanZwpN7Dl6GtXnHVjj-KbcGeM2qAPudq4gahkrelsn1g0EmWYcSUqea7ZLmggN18XpquOM4_OcUyFBXSyjMKGbCcaJUAtaSbonKvvKStZRKbZulTupbMirqNsxtEapmanJyxCdovsT7CMddenYrlJs1F28wc3eHkNfxVyUaFhU0eSiwFswMRwQgBr9PhH3doP4s5warARU1f82wsHvil-I6FBuQTZB-Bhy_Sz-PpP-RcCdkwWwoiyBNLkoaxhHFYkuZSoBcnH3yBKpCYqUPj-M2WoQ5a0sSPByeIj4Vrrlhm_iKCkLgJTJGa1bQ
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDkyMjQsImV4cCI6MTczNjI1MTAyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.SpPd2SODIGE3yje8OGWOfoK6V3Kl4-0ItoOOxCGZgrwjWtSLA2tRv_D_wDlWUqJ4evEyCKrRa00JWoaQPcvPrM8De5Xw9fs6hQ6mHGC9tPM0ij6n_DzcAyS2RQJTcWe6-vuOnEIuRthdUWwBuyzDifwx8jhpluVAX6m6o0O9dXOQtx1pRi-VFUcuhfn-xnDNBkoh2PLQmL9MM7wI8qG9UTuZsRmNiORKnSEnzLV0jveIbim_Kq9RaJFVBeScXaV0QBI9VSi69qo0zkAHGyesLRudfRNsIsWOMiWO9ma7P6dA6sXXO92Ljp_Nn49hCKuQqLHC8QcUbkCMT4I8hC8j9A
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => cZr0S9i6YeCZpkcSxLg3PIpoxJEsaY9F9YPzNdT0Qno
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 06:27:04] Production.INFO: AccountID 3
[2025-01-07 06:27:04] Production.INFO: AccountName Tundra
[2025-01-07 06:27:04] Production.INFO: Checkcustomer
[2025-01-07 06:27:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Tundra"
[2025-01-07 06:27:04] Production.INFO: Date 2025-01-01
[2025-01-07 06:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:27:04] Production.INFO: Date 2025-01-02
[2025-01-07 06:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:27:04] Production.INFO: Date 2025-01-03
[2025-01-07 06:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:27:05] Production.INFO: Date 2025-01-04
[2025-01-07 06:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:27:05] Production.INFO: Date 2025-01-05
[2025-01-07 06:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:27:05] Production.INFO: Date 2025-01-06
[2025-01-07 06:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:27:05] Production.INFO: Date 2025-01-07
[2025-01-07 06:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:27:05] Production.INFO: Total Charge 0
[2025-01-07 06:27:05] Production.INFO: CreateAllLog End
[2025-01-07 06:27:05] Production.INFO: Account Balance End.
[2025-01-07 06:27:05] Production.ERROR: CronJobId end 12
[2025-01-07 06:27:05] Production.INFO: ==11300== Releasing lock...
[2025-01-07 06:27:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:27:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:27:05
[end_date_ymd] => 2025-01-07 06:27:05
[RateCDR] => 1
)
[2025-01-07 06:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 03:27:05' and `end` < '2025-01-07 06:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 06:27:08] Production.INFO: Contact id print CheckCustomer Case===623680fb-29d2-4940-8787-6a04edc9b023
[2025-01-07 06:27:08] Production.INFO: -- count --1
[2025-01-07 06:27:08] Production.INFO: AccountID 17
[2025-01-07 06:27:08] Production.INFO: AccountName UNIGLOBE Bon Voyage Travel
[2025-01-07 06:27:08] Production.INFO: Checkcustomer
[2025-01-07 06:27:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="UNIGLOBE%20Bon%20Voyage%20Travel"
[2025-01-07 06:27:11] Production.INFO: Contact id print CheckCustomer Case===b3f98fb9-7d83-4a9d-a9db-618acdfb5df3
[2025-01-07 06:27:11] Production.INFO: -- count --1
[2025-01-07 06:27:11] Production.INFO: AccountID 4
[2025-01-07 06:27:11] Production.INFO: AccountName UNIGLOBE Canada
[2025-01-07 06:27:11] Production.INFO: Checkcustomer
[2025-01-07 06:27:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="UNIGLOBE%20Canada"
[2025-01-07 06:27:13] Production.ERROR: CronJobId end10
[2025-01-07 06:27:13] Production.INFO: ==11298== Releasing lock...
[2025-01-07 06:27:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:27:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:27:13] Production.INFO: Contact id print CheckCustomer Case===d965b2fe-ffb5-4359-bc08-f6a098234349
[2025-01-07 06:27:13] Production.INFO: -- count --1
[2025-01-07 06:27:13] Production.INFO: AccountID 4
[2025-01-07 06:27:13] Production.INFO: AccountName UNIGLOBE Canada
[2025-01-07 06:27:13] Production.INFO: Checkcustomer
[2025-01-07 06:27:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="UNIGLOBE%20Canada"
[2025-01-07 06:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:27:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:27:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:27:14] Production.INFO: call_cost start
[2025-01-07 06:27:14] Production.INFO: call_cost end
[2025-01-07 06:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:27:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:27:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:27:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:27:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:27:15] Production.INFO: ==11294== Releasing lock...
[2025-01-07 06:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:27:16] Production.INFO: Contact id print CheckCustomer Case===d965b2fe-ffb5-4359-bc08-f6a098234349
[2025-01-07 06:27:16] Production.INFO: -- count --1
[2025-01-07 06:27:16] Production.INFO: AccountID 4
[2025-01-07 06:27:16] Production.INFO: AccountName UNIGLOBE Canada
[2025-01-07 06:27:16] Production.INFO: Checkcustomer
[2025-01-07 06:27:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="UNIGLOBE%20Canada"
[2025-01-07 06:27:19] Production.INFO: Contact id print CheckCustomer Case===d965b2fe-ffb5-4359-bc08-f6a098234349
[2025-01-07 06:27:19] Production.INFO: -- count --1
[2025-01-07 06:27:19] Production.INFO: AccountID 4
[2025-01-07 06:27:19] Production.INFO: AccountName UNIGLOBE Canada
[2025-01-07 06:27:19] Production.INFO: Checkcustomer
[2025-01-07 06:27:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="UNIGLOBE%20Canada"
[2025-01-07 06:27:19] Production.INFO: count ==52
[2025-01-07 06:27:19] Production.ERROR: pbx CDR StartTime 2025-01-07 03:27:05 - End Time 2025-01-07 06:27:05
[2025-01-07 06:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193059', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193059', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193059', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193059', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:27:19] Production.INFO: ProcessCDR(1,14193059,1,1,2)
[2025-01-07 06:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193059,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:27:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193059,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:27:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193059,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:27:21] Production.INFO: Contact id print CheckCustomer Case===d965b2fe-ffb5-4359-bc08-f6a098234349
[2025-01-07 06:27:21] Production.INFO: -- count --1
[2025-01-07 06:27:21] Production.INFO: AccountID 4
[2025-01-07 06:27:21] Production.INFO: AccountName UNIGLOBE Canada
[2025-01-07 06:27:21] Production.INFO: Checkcustomer
[2025-01-07 06:27:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="UNIGLOBE%20Canada"
[2025-01-07 06:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193059,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193059', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193059', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:27:22] Production.INFO: ==11303== Releasing lock...
[2025-01-07 06:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:27:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 06:27:23] Production.INFO: Contact id print CheckCustomer Case===d965b2fe-ffb5-4359-bc08-f6a098234349
[2025-01-07 06:27:23] Production.INFO: -- count --1
[2025-01-07 06:27:23] Production.INFO: AccountID 4
[2025-01-07 06:27:23] Production.INFO: AccountName UNIGLOBE Canada
[2025-01-07 06:27:23] Production.INFO: Checkcustomer
[2025-01-07 06:27:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="UNIGLOBE%20Canada"
[2025-01-07 06:27:26] Production.INFO: Contact id print CheckCustomer Case===d965b2fe-ffb5-4359-bc08-f6a098234349
[2025-01-07 06:27:26] Production.INFO: -- count --1
[2025-01-07 06:27:26] Production.INFO: AccountID 43
[2025-01-07 06:27:26] Production.INFO: AccountName Wattpad
[2025-01-07 06:27:26] Production.INFO: Checkcustomer
[2025-01-07 06:27:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Wattpad"
[2025-01-07 06:27:28] Production.INFO: Contact id print CheckCustomer Case===8c586c5d-b401-441c-8cc4-7ca5911a8c28
[2025-01-07 06:27:28] Production.INFO: -- count --1
[2025-01-07 06:27:28] Production.INFO: AccountID 209
[2025-01-07 06:27:28] Production.INFO: AccountName Workside Early Childhood Education Centre
[2025-01-07 06:27:28] Production.INFO: Checkcustomer
[2025-01-07 06:27:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Workside%20Early%20Childhood%20Education%20Centre"
[2025-01-07 06:27:31] Production.INFO: Contact id print CheckCustomer Case===40cecbae-263a-4b0c-adbf-5350531feed1
[2025-01-07 06:27:31] Production.INFO: -- count --1
[2025-01-07 06:27:31] Production.INFO: -- Xero Add Inovice --
[2025-01-07 06:27:31] Production.INFO: CheckInvoice xerov2: INV11122
[2025-01-07 06:27:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11122
[2025-01-07 06:27:34] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 06:27:34] Production.INFO: Invoice SubTotal 256.470000
[2025-01-07 06:27:34] Production.INFO: Invoice DetTotal 256.47
[2025-01-07 06:27:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Tundra"
[2025-01-07 06:27:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 06:27:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 06:27:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 06:27:45] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 11-01-2024 To 11-30-2024",Quantity : 1,UnitAmount : 6.030000,LineAmount : 6.030000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "VDSL Internet Service - Bonded - 2 Circuits (251 Laurier Ave West, Suite 1050, Ottawa, ON K1P 5J6). 36 month agreement ending April 19, 2021.",Quantity : 1,UnitAmount : 240.440000,LineAmount : 240.440000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Fax Adapter (Toronto)",Quantity : 2,UnitAmount : 5.000000,LineAmount : 10.000000}
[2025-01-07 06:27:48] Production.INFO: ==== result =====
[2025-01-07 06:27:48] Production.INFO: {
"Id": "8e5a1edf-c82e-41ee-b62e-bf74d9edd516",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736249268711)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "4dbbce57-65bb-4367-ba09-7f229b826744",
"InvoiceNumber": "INV11122",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 289.81,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "623680fb-29d2-4940-8787-6a04edc9b023",
"ContactStatus": "ACTIVE",
"Name": "Tundra",
"FirstName": "Tundra",
"LastName": "Technical",
"EmailAddress": "ap@tundratechnical.ca",
"BankAccountDetails": "",
"AccountsReceivableTaxType": "OUTPUT",
"AccountsPayableTaxType": "OUTPUT",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": "",
"AttentionTo": ""
},
{
"AddressType": "POBOX",
"AddressLine1": "1 Eglinton Ave. East",
"AddressLine2": "Suite 705",
"AddressLine3": "",
"AddressLine4": "",
"City": "Toronto",
"Region": "ON",
"PostalCode": "M4P 3A1",
"Country": "",
"AttentionTo": "Tundra Technical"
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "18669886372",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "18669886372",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "6477607778",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1617722615863+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"DefaultCurrency": "CAD",
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-01T00:00:00",
"Date": "\/Date(1733011200000+0000)\/",
"DueDateString": "2024-12-31T00:00:00",
"DueDate": "\/Date(1735603200000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "From 11-01-2024 To 11-30-2024",
"UnitAmount": 6.03,
"TaxType": "TAX020",
"TaxAmount": 0.78,
"LineAmount": 6.03,
"AccountCode": "234",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "4325ac4b-6749-4292-83c0-420922e22000",
"AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "VDSL Internet Service - Bonded - 2 Circuits (251 Laurier Ave West, Suite 1050, Ottawa, ON K1P 5J6). 36 month agreement ending April 19, 2021.",
"UnitAmount": 240.44,
"TaxType": "TAX020",
"TaxAmount": 31.26,
"LineAmount": 240.44,
"AccountCode": "204",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "9dcc5717-2348-474d-8c72-7141e7ceeead",
"AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Fax Adapter (Toronto)",
"UnitAmount": 5.00,
"TaxType": "TAX020",
"TaxAmount": 1.30,
"LineAmount": 10.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 2.0000,
"DiscountRate": 0.00,
"LineItemID": "bfdf5cbb-30e7-4467-99cc-02397a3115bf",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 256.47,
"TotalTax": 33.34,
"Total": 289.81,
"UpdatedDateUTC": "\/Date(1736249268633+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 06:27:48] Production.INFO: -- Create Invoice id --4dbbce57-65bb-4367-ba09-7f229b826744
[2025-01-07 06:27:48] Production.INFO: -- Create Invoice Done --
[2025-01-07 06:27:48] Production.INFO: CheckInvoice xerov2: INV11248
[2025-01-07 06:27:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11248
[2025-01-07 06:27:51] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 06:27:51] Production.INFO: Invoice SubTotal 76.220000
[2025-01-07 06:27:51] Production.INFO: Invoice DetTotal 76.22
[2025-01-07 06:27:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="UNIGLOBE%20Bon%20Voyage%20Travel"
[2025-01-07 06:27:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 06:27:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 06:27:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 06:28:00] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 11-21-2024 To 12-20-2024",Quantity : 1,UnitAmount : 9.220000,LineAmount : 9.220000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 8,UnitAmount : 10.000000,LineAmount : 80.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (1448 LAWRENCE AVE E STE 303 TORONTO, ON M4A2S8)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Digital Fax (4164255888)",Quantity : 1,UnitAmount : 5.000000,LineAmount : 5.000000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Loyalty discount - $20.50 off monthly bills, never expires (XR)",Quantity : 1,UnitAmount : -20.500000,LineAmount : -20.500000}
[2025-01-07 11:28:02] Production.INFO: ==11383== Lock acquired, processing the job...
[2025-01-07 11:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:28:02] Production.INFO: neon service started
[2025-01-07 11:28:02] Production.INFO: neon service started
[2025-01-07 11:28:02] Production.INFO: ==11383== Releasing lock...
[2025-01-07 11:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:28:02] Production.INFO: ==11387== Lock acquired, processing the job...
[2025-01-07 11:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:28:02] Production.INFO: ==11387== Releasing lock...
[2025-01-07 11:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:28:02] Production.INFO: ==11385== Lock acquired, processing the job...
[2025-01-07 06:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:28:02] Production.INFO: ==11385== Releasing lock...
[2025-01-07 06:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:28:03] Production.INFO: ==== result =====
[2025-01-07 06:28:03] Production.INFO: {
"Id": "42046e70-87af-42a9-b5de-87ffb86ca01b",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736249283086)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "2acb594a-28be-463c-8090-df89376ebc7b",
"InvoiceNumber": "INV11248",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 86.13,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "b3f98fb9-7d83-4a9d-a9db-618acdfb5df3",
"ContactStatus": "ACTIVE",
"Name": "Uniglobe Bon Voyage Travel",
"FirstName": "Rose",
"LastName": "Chin",
"EmailAddress": "rose@ubvt.ca",
"BankAccountDetails": "",
"TaxNumber": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": "",
"AttentionTo": ""
},
{
"AddressType": "POBOX",
"AddressLine1": "1448 Lawrence Ave. East",
"AddressLine2": "Suite 303",
"AddressLine3": "",
"AddressLine4": "",
"City": "North York",
"Region": "ON",
"PostalCode": "M4A2V6",
"Country": "Canada",
"AttentionTo": "Rose Chin"
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "(416) 4255885",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "4164255885,4202",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1629352418927+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"DefaultCurrency": "CAD",
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-21T00:00:00",
"Date": "\/Date(1734739200000+0000)\/",
"DueDateString": "2025-01-20T00:00:00",
"DueDate": "\/Date(1737331200000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "From 11-21-2024 To 12-20-2024",
"UnitAmount": 9.22,
"TaxType": "TAX020",
"TaxAmount": 1.20,
"LineAmount": 9.22,
"AccountCode": "234",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "7cf603fb-4207-42a9-9874-b92d4943438c",
"AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "License for a Pay As You Go Cloud Phone extension",
"UnitAmount": 10.00,
"TaxType": "TAX020",
"TaxAmount": 10.40,
"LineAmount": 80.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 8.0000,
"DiscountRate": 0.00,
"LineItemID": "c328a02d-4d2e-48a6-9216-9687c4376f50",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (1448 LAWRENCE AVE E STE 303 TORONTO, ON M4A2S8)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "4a7741e4-44cb-48d7-b30d-9407bfbe163c",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Digital Fax (4164255888)",
"UnitAmount": 5.00,
"TaxType": "TAX020",
"TaxAmount": 0.65,
"LineAmount": 5.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "d3464315-ec58-4e11-bc08-c6acb81d7988",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Loyalty discount - $20.50 off monthly bills, never expires (XR)",
"UnitAmount": -20.50,
"TaxType": "TAX020",
"TaxAmount": -2.67,
"LineAmount": -20.50,
"AccountCode": "303",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "5915238d-324f-4800-a40e-301fb4c6efe1",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 76.22,
"TotalTax": 9.91,
"Total": 86.13,
"UpdatedDateUTC": "\/Date(1736249283023+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 06:28:03] Production.INFO: -- Create Invoice id --2acb594a-28be-463c-8090-df89376ebc7b
[2025-01-07 06:28:03] Production.INFO: -- Create Invoice Done --
[2025-01-07 06:28:03] Production.INFO: CheckInvoice xerov2: INV10722
[2025-01-07 06:28:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10722
[2025-01-07 06:28:03] Production.INFO: ==11395== Lock acquired, processing the job...
[2025-01-07 06:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:28:03] Production.INFO: ==11401== Lock acquired, processing the job...
[2025-01-07 06:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:28:03] Production.INFO: ==11391== Lock acquired, processing the job...
[2025-01-07 06:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:28:03] Production.INFO: count ==21
[2025-01-07 06:28:04] Production.INFO: ==11393== Lock acquired, processing the job...
[2025-01-07 06:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:28:04] Production.INFO: ==11397== Lock acquired, processing the job...
[2025-01-07 06:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 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-07 06:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:28:04] Production.INFO: count ==21
[2025-01-07 06:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193060') start
[2025-01-07 06:28:04] Production.INFO: ==11399== Lock acquired, processing the job...
[2025-01-07 06:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:28:04] Production.INFO: Account Balance Start.
[2025-01-07 06:28:04] Production.INFO: CreateAllLog Start
[2025-01-07 06:28:04] Production.INFO: 117
[2025-01-07 06:28:04] Production.INFO: Date 2024-12-08
[2025-01-07 06:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193060') end
[2025-01-07 06:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:28:04] Production.INFO: 1
[2025-01-07 06:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:28:04] Production.INFO: ==11401== Releasing lock...
[2025-01-07 06:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:28:04] Production.INFO: Date 2024-12-09
[2025-01-07 06:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:28:04] Production.INFO: Date 2024-12-10
[2025-01-07 06:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:28:04] Production.INFO: Date 2024-12-11
[2025-01-07 06:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:28:04] Production.INFO: Date 2024-12-12
[2025-01-07 06:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:28:04] Production.INFO: Date 2024-12-13
[2025-01-07 06:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:28:04] Production.INFO: Date 2024-12-14
[2025-01-07 06:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:28:04] Production.INFO: Date 2024-12-15
[2025-01-07 06:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:28:04] Production.INFO: Date 2024-12-16
[2025-01-07 06:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:28:04] Production.ERROR: done
[2025-01-07 06:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:28:04] Production.INFO: ==11393== Releasing lock...
[2025-01-07 06:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:28:04] Production.INFO: Date 2024-12-17
[2025-01-07 06:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:28:04] Production.INFO: Date 2024-12-18
[2025-01-07 06:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:28:04] Production.INFO: Date 2024-12-19
[2025-01-07 06:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:28:04] Production.ERROR: done
[2025-01-07 06:28:04] Production.INFO: Date 2024-12-20
[2025-01-07 06:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:28:04] Production.INFO: Date 2024-12-21
[2025-01-07 06:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:28:04] Production.INFO: Date 2024-12-22
[2025-01-07 06:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:28:04] Production.INFO: Date 2024-12-23
[2025-01-07 06:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:28:04] Production.INFO: Date 2024-12-24
[2025-01-07 06:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:28:04] Production.INFO: Date 2024-12-25
[2025-01-07 06:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:28:04] Production.INFO: Date 2024-12-26
[2025-01-07 06:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:28:04] Production.INFO: Date 2024-12-27
[2025-01-07 06:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:28:04] Production.INFO: Date 2024-12-28
[2025-01-07 06:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:28:04] Production.INFO: Date 2024-12-29
[2025-01-07 06:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:28:04] Production.INFO: Date 2024-12-30
[2025-01-07 06:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:28:05] Production.INFO: Date 2024-12-31
[2025-01-07 06:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:28:05] Production.INFO: Date 2025-01-01
[2025-01-07 06:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:28:05] Production.INFO: Date 2025-01-02
[2025-01-07 06:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:28:05] Production.INFO: Date 2025-01-03
[2025-01-07 06:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:28:05] Production.INFO: Date 2025-01-04
[2025-01-07 06:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:28:05] Production.INFO: Date 2025-01-05
[2025-01-07 06:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:28:05] Production.INFO: Date 2025-01-06
[2025-01-07 06:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:28:05] Production.INFO: Date 2025-01-07
[2025-01-07 06:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:28:05] Production.INFO: Total Charge 0
[2025-01-07 06:28:05] Production.INFO: CreateAllLog End
[2025-01-07 06:28:05] Production.INFO: Account Balance End.
[2025-01-07 06:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:28:05
[end_date_ymd] => 2025-01-07 06:28:05
[RateCDR] => 1
)
[2025-01-07 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-07 03:28:05' and `end` < '2025-01-07 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-07 06:28:05] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 06:28:05] Production.ERROR: CronJobId end 12
[2025-01-07 06:28:05] Production.INFO: ==11397== Releasing lock...
[2025-01-07 06:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:28:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:28:05] Production.INFO: ========================== Exception occured =============================
[2025-01-07 06:28:05] Production.ERROR: exception 'ErrorException' with message 'Undefined offset: 89' in /var/www/html/onswitch.neon.service/app/lib/XeroV2.php:0
Stack trace:
#0 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined offse...', '/var/www/html/o...', 0, Array)
#1 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->GetInvoiceData()
#2 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->CreateInvoice()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/XeroInvoicePostV2.php(0): App\Lib\XeroV2->addInvoices()
#4 [internal function]: App\Console\Commands\XeroInvoicePostV2->fire()
#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\XeroInvoicePostV2), 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-07 06:28:05] Production.INFO: ========================== Exception updated in job and email sent =============================
[2025-01-07 06:28:05] Production.INFO: ==11292== Releasing lock...
[2025-01-07 06:28:05] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10450 #Stops#
[2025-01-07 06:28:05] Production.INFO: 30.75 MB #Memory Used#
[2025-01-07 06:28:11] Production.ERROR: CronJobId end10
[2025-01-07 06:28:11] Production.INFO: ==11395== Releasing lock...
[2025-01-07 06:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:28:13] Production.INFO: call_cost start
[2025-01-07 06:28:13] Production.INFO: call_cost end
[2025-01-07 06:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:28:14] Production.INFO: ==11391== Releasing lock...
[2025-01-07 06:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:28:18] Production.INFO: count ==52
[2025-01-07 06:28:18] Production.ERROR: pbx CDR StartTime 2025-01-07 03:28:05 - End Time 2025-01-07 06:28:05
[2025-01-07 06:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193064', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193064', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193064', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193064', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:28:18] Production.INFO: ProcessCDR(1,14193064,1,1,2)
[2025-01-07 06:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193064,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193064,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193064,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193064,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193064', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193064', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:28:21] Production.INFO: ==11399== Releasing lock...
[2025-01-07 06:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:28:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 11:29:01] Production.INFO: ==11468== Lock acquired, processing the job...
[2025-01-07 11:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:29:01] Production.INFO: neon service started
[2025-01-07 11:29:01] Production.INFO: neon service started
[2025-01-07 11:29:01] Production.INFO: ==11468== Releasing lock...
[2025-01-07 11:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:29:01] Production.INFO: ==11470== Lock acquired, processing the job...
[2025-01-07 06:29:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:29:02] Production.INFO: ==11470== Releasing lock...
[2025-01-07 06:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:29:02] Production.INFO: ==11472== Lock acquired, processing the job...
[2025-01-07 11:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:29:02] Production.INFO: ==11472== Releasing lock...
[2025-01-07 11:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:29:02] Production.INFO: ==11481== Lock acquired, processing the job...
[2025-01-07 06:29:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:29:03] Production.INFO: Account Balance Start.
[2025-01-07 06:29:03] Production.INFO: CreateAllLog Start
[2025-01-07 06:29:03] Production.INFO: 117
[2025-01-07 06:29:03] Production.INFO: Date 2024-12-08
[2025-01-07 06:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:29:03] Production.INFO: ==11485== Lock acquired, processing the job...
[2025-01-07 06:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:29:03] Production.INFO: Date 2024-12-09
[2025-01-07 06:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:29:03] Production.INFO: Date 2024-12-10
[2025-01-07 06:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:29:03] Production.INFO: Date 2024-12-11
[2025-01-07 06:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:29:03] Production.INFO: Date 2024-12-12
[2025-01-07 06:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:29:03] Production.INFO: Date 2024-12-13
[2025-01-07 06:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:29:03] Production.INFO: ==11475== Lock acquired, processing the job...
[2025-01-07 06:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 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-07 06:29:03] Production.INFO: Date 2024-12-14
[2025-01-07 06:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:29:03] Production.INFO: ==11477== Lock acquired, processing the job...
[2025-01-07 06:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:29:03] Production.INFO: Date 2024-12-15
[2025-01-07 06:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:29:03] Production.INFO: count ==21
[2025-01-07 06:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 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-07 06:29:03] Production.INFO: count ==21
[2025-01-07 06:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193066') start
[2025-01-07 06:29:03] Production.INFO: ==11479== Lock acquired, processing the job...
[2025-01-07 06:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:29:03] Production.INFO: ==11483== Lock acquired, processing the job...
[2025-01-07 06:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:29:03] Production.INFO: Date 2024-12-16
[2025-01-07 06:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:29:03] Production.INFO: Date 2024-12-17
[2025-01-07 06:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:29:03] Production.INFO: Date 2024-12-18
[2025-01-07 06:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193066') end
[2025-01-07 06:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:29:03] Production.INFO: 1
[2025-01-07 06:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:29:03] Production.INFO: ==11485== Releasing lock...
[2025-01-07 06:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:29:03] Production.INFO: Date 2024-12-19
[2025-01-07 06:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:29:03] Production.INFO: Date 2024-12-20
[2025-01-07 06:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:29:03] Production.INFO: ==11477== Releasing lock...
[2025-01-07 06:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:29:03] Production.INFO: Date 2024-12-21
[2025-01-07 06:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:29:03] Production.ERROR: done
[2025-01-07 06:29:03] Production.INFO: Date 2024-12-22
[2025-01-07 06:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:29:03] Production.INFO: Date 2024-12-23
[2025-01-07 06:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:29:03] Production.INFO: Date 2024-12-24
[2025-01-07 06:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:29:03] Production.ERROR: done
[2025-01-07 06:29:03] Production.INFO: Date 2024-12-25
[2025-01-07 06:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:29:03] Production.INFO: Date 2024-12-26
[2025-01-07 06:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:29:04] Production.INFO: Date 2024-12-27
[2025-01-07 06:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:29:04] Production.INFO: Date 2024-12-28
[2025-01-07 06:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:29:04] Production.INFO: Date 2024-12-29
[2025-01-07 06:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:29:04] Production.INFO: Date 2024-12-30
[2025-01-07 06:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:29:04] Production.INFO: Date 2024-12-31
[2025-01-07 06:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:29:04] Production.INFO: Date 2025-01-01
[2025-01-07 06:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:29:04] Production.INFO: Date 2025-01-02
[2025-01-07 06:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:29:04] Production.INFO: Date 2025-01-03
[2025-01-07 06:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:29:04] Production.INFO: Date 2025-01-04
[2025-01-07 06:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:29:04] Production.INFO: Date 2025-01-05
[2025-01-07 06:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:29:04] Production.INFO: Date 2025-01-06
[2025-01-07 06:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:29:04] Production.INFO: Date 2025-01-07
[2025-01-07 06:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:29:04] Production.INFO: Total Charge 0
[2025-01-07 06:29:04] Production.INFO: CreateAllLog End
[2025-01-07 06:29:04] Production.INFO: Account Balance End.
[2025-01-07 06:29:04] Production.ERROR: CronJobId end 12
[2025-01-07 06:29:04] Production.INFO: ==11481== Releasing lock...
[2025-01-07 06:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:29:05
[end_date_ymd] => 2025-01-07 06:29:05
[RateCDR] => 1
)
[2025-01-07 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-07 03:29:05' and `end` < '2025-01-07 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-07 06:29:09] Production.ERROR: CronJobId end10
[2025-01-07 06:29:09] Production.INFO: ==11479== Releasing lock...
[2025-01-07 06:29:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:29:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:29:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:29:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:29:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:29:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:29:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:29:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:29:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:29:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:29:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:29:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:29:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:29:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:29:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:29:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:29:12] Production.INFO: call_cost start
[2025-01-07 06:29:12] Production.INFO: call_cost end
[2025-01-07 06:29:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:29:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:29:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:29:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:29:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:29:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:29:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:29:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:29:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:29:13] Production.INFO: ==11475== Releasing lock...
[2025-01-07 06:29:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:29:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:29:17] Production.INFO: count ==52
[2025-01-07 06:29:17] Production.ERROR: pbx CDR StartTime 2025-01-07 03:29:05 - End Time 2025-01-07 06:29:05
[2025-01-07 06:29:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193069', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193069', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193069', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193069', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:29:17] Production.INFO: ProcessCDR(1,14193069,1,1,2)
[2025-01-07 06:29:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193069,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:29:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193069,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:29:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193069,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:29:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193069,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193069', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193069', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:29:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:29:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:29:20] Production.INFO: ==11483== Releasing lock...
[2025-01-07 06:29:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:29:20] Production.INFO: 28 MB #Memory Used#
[2025-01-07 11:30:01] Production.INFO: ==11548== Lock acquired, processing the job...
[2025-01-07 11:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:30:01] Production.INFO: neon service started
[2025-01-07 11:30:02] Production.INFO: neon service started
[2025-01-07 11:30:02] Production.INFO: ==11548== Releasing lock...
[2025-01-07 11:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:30:02] Production.INFO: ==11552== Lock acquired, processing the job...
[2025-01-07 11:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:30:02] Production.INFO: ==11552== Releasing lock...
[2025-01-07 11:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:30:02] Production.INFO: ==11550== Lock acquired, processing the job...
[2025-01-07 06:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:30:03] Production.INFO: ==11550== Releasing lock...
[2025-01-07 06:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:30:03] Production.INFO: ==11556== Lock acquired, processing the job...
[2025-01-07 06:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 06:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 06:30:03] Production.INFO: ==11560== Lock acquired, processing the job...
[2025-01-07 06:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 06:30:03] Production.INFO: ==11556== Releasing lock...
[2025-01-07 06:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 06:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 06:30:04] Production.INFO: ==11562== Lock acquired, processing the job...
[2025-01-07 06:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:30:04] Production.INFO: ==11568== Lock acquired, processing the job...
[2025-01-07 06:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 06:30:04] Production.INFO: ==11558== Lock acquired, processing the job...
[2025-01-07 06:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:30:04] Production.INFO: ==11564== Lock acquired, processing the job...
[2025-01-07 06:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:30:04] Production.INFO: ==11560== Releasing lock...
[2025-01-07 06:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:30:04] Production.INFO: ==11566== Lock acquired, processing the job...
[2025-01-07 06:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:30:04] Production.INFO: ==11570== Lock acquired, processing the job...
[2025-01-07 06:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:30:04] Production.INFO: Account Balance Start.
[2025-01-07 06:30:04] Production.INFO: CreateAllLog Start
[2025-01-07 06:30:04] Production.INFO: 117
[2025-01-07 06:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:30:04] Production.INFO: Date 2024-12-08
[2025-01-07 06:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:30:04] Production.ERROR: done
[2025-01-07 06:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 06:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14193073', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 06:30:04] Production.INFO: Date 2024-12-09
[2025-01-07 06:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 06:30:04] Production.INFO: Date 2024-12-10
[2025-01-07 06:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:30:04] Production.INFO: count ==21
[2025-01-07 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-07 06:30:04] Production.ERROR: done
[2025-01-07 06:30:04] Production.INFO: count ==21
[2025-01-07 06:30:04] Production.INFO: Date 2024-12-11
[2025-01-07 06:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193074') start
[2025-01-07 06:30:04] Production.INFO: Date 2024-12-12
[2025-01-07 06:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:30:04] Production.INFO: Date 2024-12-13
[2025-01-07 06:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14193074') end
[2025-01-07 06:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:30:05] Production.INFO: 1
[2025-01-07 06:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:30:05] Production.ERROR: done
[2025-01-07 06:30:05] Production.INFO: Date 2024-12-14
[2025-01-07 06:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:30:05] Production.INFO: ==11570== Releasing lock...
[2025-01-07 06:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:30:05] Production.INFO: Date 2024-12-15
[2025-01-07 06:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:30:05] Production.INFO: Date 2024-12-16
[2025-01-07 06:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:30:05] Production.INFO: Date 2024-12-17
[2025-01-07 06:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:30:05] Production.INFO: Date 2024-12-18
[2025-01-07 06:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:30:05] Production.INFO: Date 2024-12-19
[2025-01-07 06:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:30:05] Production.INFO: Date 2024-12-20
[2025-01-07 06:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:30:05] Production.INFO: Date 2024-12-21
[2025-01-07 06:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:30:05] Production.INFO: Date 2024-12-22
[2025-01-07 06:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:30:05] Production.INFO: Date 2024-12-23
[2025-01-07 06:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:30:05] Production.INFO: Date 2024-12-24
[2025-01-07 06:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:30:05] Production.INFO: Date 2024-12-25
[2025-01-07 06:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:30:05] Production.INFO: Date 2024-12-26
[2025-01-07 06:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:30:05] Production.INFO: Date 2024-12-27
[2025-01-07 06:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:30:05] Production.INFO: Date 2024-12-28
[2025-01-07 06:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:30:05] Production.INFO: Date 2024-12-29
[2025-01-07 06:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:30:05] Production.INFO: Date 2024-12-30
[2025-01-07 06:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:30:05] Production.INFO: Date 2024-12-31
[2025-01-07 06:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:30:05] Production.INFO: Date 2025-01-01
[2025-01-07 06:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:30:05] Production.INFO: Date 2025-01-02
[2025-01-07 06:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:30:05] Production.INFO: Date 2025-01-03
[2025-01-07 06:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:30:05] Production.INFO: Date 2025-01-04
[2025-01-07 06:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:30:05] Production.INFO: Date 2025-01-05
[2025-01-07 06:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:30:05] Production.INFO: Date 2025-01-06
[2025-01-07 06:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:30:06] Production.INFO: Date 2025-01-07
[2025-01-07 06:30:06] Production.INFO: Reseller ==> 0
[2025-01-07 06:30:06] Production.INFO: Total Charge 0
[2025-01-07 06:30:06] Production.INFO: CreateAllLog End
[2025-01-07 06:30:06] Production.INFO: Account Balance End.
[2025-01-07 06:30:06] Production.ERROR: CronJobId end 12
[2025-01-07 06:30:06] Production.INFO: ==11564== Releasing lock...
[2025-01-07 06:30:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:30:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:30:06
[end_date_ymd] => 2025-01-07 06:30:06
[RateCDR] => 1
)
[2025-01-07 06:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 03:30:06' and `end` < '2025-01-07 06:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 06:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14193073', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 06:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 06:30:08] Production.INFO: ProcessCDR(1,14193073,1,1,2)
[2025-01-07 06:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14193073,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14193073,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:30:08] Production.INFO: ==11568== Releasing lock...
[2025-01-07 06:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 06:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-07 06:30:11] Production.ERROR: CronJobId end10
[2025-01-07 06:30:11] Production.INFO: ==11562== Releasing lock...
[2025-01-07 06:30:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:30:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:30:14] Production.INFO: call_cost start
[2025-01-07 06:30:14] Production.INFO: call_cost end
[2025-01-07 06:30:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:30:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:30:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:30:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:30:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:30:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:30:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:30:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:30:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:30:15] Production.INFO: ==11558== Releasing lock...
[2025-01-07 06:30:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:30:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:30:19] Production.INFO: count ==54
[2025-01-07 06:30:19] Production.ERROR: pbx CDR StartTime 2025-01-07 03:30:06 - End Time 2025-01-07 06:30:06
[2025-01-07 06:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193075', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193075', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193075', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193075', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:30:19] Production.INFO: ProcessCDR(1,14193075,1,1,2)
[2025-01-07 06:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193075,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193075,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193075,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193075,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193075', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193075', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:30:22] Production.INFO: ==11566== Releasing lock...
[2025-01-07 06:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:30:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 11:31:01] Production.INFO: ==11627== Lock acquired, processing the job...
[2025-01-07 11:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:31:01] Production.INFO: neon service started
[2025-01-07 11:31:01] Production.INFO: neon service started
[2025-01-07 11:31:01] Production.INFO: ==11627== Releasing lock...
[2025-01-07 11:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:31:01] Production.INFO: ==11629== Lock acquired, processing the job...
[2025-01-07 06:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:31:02] Production.INFO: ==11629== Releasing lock...
[2025-01-07 06:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:31:02] Production.INFO: ==11631== Lock acquired, processing the job...
[2025-01-07 11:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:31:02] Production.INFO: ==11631== Releasing lock...
[2025-01-07 11:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:31:02] Production.INFO: 26 MB #Memory Used#
[2025-01-07 06:31:02] Production.INFO: ==11633== Lock acquired, processing the job...
[2025-01-07 06:31:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:31:02] Production.INFO: ==11635== Lock acquired, processing the job...
[2025-01-07 06:31:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:31:02] Production.INFO: ==11639== Lock acquired, processing the job...
[2025-01-07 06:31:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:31:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:31:02] Production.INFO: Account Balance Start.
[2025-01-07 06:31:02] Production.INFO: CreateAllLog Start
[2025-01-07 06:31:02] Production.INFO: 117
[2025-01-07 06:31:02] Production.INFO: Date 2024-12-08
[2025-01-07 06:31:02] Production.INFO: Reseller ==> 0
[2025-01-07 06:31:03] Production.INFO: Date 2024-12-09
[2025-01-07 06:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:31:03] Production.INFO: ==11637== Lock acquired, processing the job...
[2025-01-07 06:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:31:03] Production.INFO: Date 2024-12-10
[2025-01-07 06:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:31:03] Production.INFO: Date 2024-12-11
[2025-01-07 06:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:31:03] Production.INFO: Date 2024-12-12
[2025-01-07 06:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:31:03] Production.INFO: ==11635== Releasing lock...
[2025-01-07 06:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:31:03] Production.INFO: Date 2024-12-13
[2025-01-07 06:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:31:03] Production.INFO: ==11641== Lock acquired, processing the job...
[2025-01-07 06:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:31:03] Production.INFO: Date 2024-12-14
[2025-01-07 06:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:31:03] Production.INFO: ==11643== Lock acquired, processing the job...
[2025-01-07 06:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:31:03] Production.INFO: Date 2024-12-15
[2025-01-07 06:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:31:03] Production.INFO: Date 2024-12-16
[2025-01-07 06:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:31:03] Production.INFO: Date 2024-12-17
[2025-01-07 06:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 06:31:03] Production.INFO: Date 2024-12-18
[2025-01-07 06:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:31:03] Production.INFO: count ==21
[2025-01-07 06:31:03] Production.INFO: Date 2024-12-19
[2025-01-07 06:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:31:03] Production.INFO: Date 2024-12-20
[2025-01-07 06:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 06:31:03] Production.INFO: count ==21
[2025-01-07 06:31:03] Production.INFO: Date 2024-12-21
[2025-01-07 06:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193079') start
[2025-01-07 06:31:03] Production.ERROR: done
[2025-01-07 06:31:03] Production.INFO: Date 2024-12-22
[2025-01-07 06:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193079') end
[2025-01-07 06:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:31:03] Production.INFO: 1
[2025-01-07 06:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:31:03] Production.INFO: Date 2024-12-23
[2025-01-07 06:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:31:03] Production.INFO: Date 2024-12-24
[2025-01-07 06:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:31:03] Production.INFO: Date 2024-12-25
[2025-01-07 06:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:31:03] Production.INFO: ==11643== Releasing lock...
[2025-01-07 06:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:31:03] Production.INFO: Date 2024-12-26
[2025-01-07 06:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:31:03] Production.ERROR: done
[2025-01-07 06:31:03] Production.INFO: Date 2024-12-27
[2025-01-07 06:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:31:03] Production.INFO: Date 2024-12-28
[2025-01-07 06:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:31:03] Production.INFO: Date 2024-12-29
[2025-01-07 06:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:31:03] Production.INFO: Date 2024-12-30
[2025-01-07 06:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:31:03] Production.INFO: Date 2024-12-31
[2025-01-07 06:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:31:04] Production.INFO: Date 2025-01-01
[2025-01-07 06:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:31:04] Production.INFO: Date 2025-01-02
[2025-01-07 06:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:31:04] Production.INFO: Date 2025-01-03
[2025-01-07 06:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:31:04] Production.INFO: Date 2025-01-04
[2025-01-07 06:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:31:04] Production.INFO: Date 2025-01-05
[2025-01-07 06:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:31:04] Production.INFO: Date 2025-01-06
[2025-01-07 06:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:31:04] Production.INFO: Date 2025-01-07
[2025-01-07 06:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:31:04] Production.INFO: Total Charge 0
[2025-01-07 06:31:04] Production.INFO: CreateAllLog End
[2025-01-07 06:31:04] Production.INFO: Account Balance End.
[2025-01-07 06:31:04] Production.ERROR: CronJobId end 12
[2025-01-07 06:31:04] Production.INFO: ==11639== Releasing lock...
[2025-01-07 06:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:31:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:31:04
[end_date_ymd] => 2025-01-07 06:31:04
[RateCDR] => 1
)
[2025-01-07 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-07 03:31:04' and `end` < '2025-01-07 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-07 06:31:10] Production.ERROR: CronJobId end10
[2025-01-07 06:31:10] Production.INFO: ==11637== Releasing lock...
[2025-01-07 06:31:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:31:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:31:12] Production.INFO: call_cost start
[2025-01-07 06:31:12] Production.INFO: call_cost end
[2025-01-07 06:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:31:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:31:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:31:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:31:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:31:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:31:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:31:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:31:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:31:13] Production.INFO: ==11633== Releasing lock...
[2025-01-07 06:31:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:31:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:31:18] Production.INFO: count ==56
[2025-01-07 06:31:18] Production.ERROR: pbx CDR StartTime 2025-01-07 03:31:04 - End Time 2025-01-07 06:31:04
[2025-01-07 06:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193080', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193080', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193080', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193080', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:31:18] Production.INFO: ProcessCDR(1,14193080,1,1,2)
[2025-01-07 06:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193080,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193080,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193080,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193080,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193080', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193080', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:31:21] Production.INFO: ==11641== Releasing lock...
[2025-01-07 06:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:31:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 11:32:01] Production.INFO: ==11702== Lock acquired, processing the job...
[2025-01-07 11:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:32:01] Production.INFO: neon service started
[2025-01-07 11:32:01] Production.INFO: neon service started
[2025-01-07 11:32:01] Production.INFO: ==11702== Releasing lock...
[2025-01-07 11:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:32:02] Production.INFO: ==11704== Lock acquired, processing the job...
[2025-01-07 06:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:32:02] Production.INFO: ==11706== Lock acquired, processing the job...
[2025-01-07 11:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:32:02] Production.INFO: ==11706== Releasing lock...
[2025-01-07 11:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:32:02] Production.INFO: ==11704== Releasing lock...
[2025-01-07 06:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:32:03] Production.INFO: ==11711== Lock acquired, processing the job...
[2025-01-07 06:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:32:03] Production.INFO: ==11709== Lock acquired, processing the job...
[2025-01-07 06:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:32:03] Production.INFO: ==11719== Lock acquired, processing the job...
[2025-01-07 06:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:32:03] Production.INFO: ==11713== Lock acquired, processing the job...
[2025-01-07 06:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:32:03] Production.INFO: ==11715== Lock acquired, processing the job...
[2025-01-07 06:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:32:03] Production.INFO: count ==21
[2025-01-07 06:32:03] Production.INFO: ==11717== Lock acquired, processing the job...
[2025-01-07 06:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:32:03] Production.INFO: count ==21
[2025-01-07 06:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193083') start
[2025-01-07 06:32:03] Production.INFO: ==11711== Releasing lock...
[2025-01-07 06:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:32:03] Production.INFO: Account Balance Start.
[2025-01-07 06:32:03] Production.INFO: CreateAllLog Start
[2025-01-07 06:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193083') end
[2025-01-07 06:32:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:32:03] Production.INFO: 1
[2025-01-07 06:32:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:32:03] Production.INFO: 117
[2025-01-07 06:32:03] Production.INFO: Date 2024-12-08
[2025-01-07 06:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:32:03] Production.INFO: ==11719== Releasing lock...
[2025-01-07 06:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:32:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:32:03] Production.INFO: Date 2024-12-09
[2025-01-07 06:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:32:03] Production.INFO: Date 2024-12-10
[2025-01-07 06:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:32:04] Production.INFO: Date 2024-12-11
[2025-01-07 06:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:32:04] Production.ERROR: done
[2025-01-07 06:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:32:04] Production.INFO: Date 2024-12-12
[2025-01-07 06:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:32:04] Production.INFO: Date 2024-12-13
[2025-01-07 06:32:04] Production.ERROR: done
[2025-01-07 06:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:32:04] Production.INFO: Date 2024-12-14
[2025-01-07 06:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:32:04] Production.INFO: Date 2024-12-15
[2025-01-07 06:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:32:04] Production.INFO: Date 2024-12-16
[2025-01-07 06:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:32:04] Production.INFO: Date 2024-12-17
[2025-01-07 06:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:32:04] Production.INFO: Date 2024-12-18
[2025-01-07 06:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:32:04] Production.INFO: Date 2024-12-19
[2025-01-07 06:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:32:04] Production.INFO: Date 2024-12-20
[2025-01-07 06:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:32:04] Production.INFO: Date 2024-12-21
[2025-01-07 06:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:32:04] Production.INFO: Date 2024-12-22
[2025-01-07 06:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:32:04] Production.INFO: Date 2024-12-23
[2025-01-07 06:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:32:04] Production.INFO: Date 2024-12-24
[2025-01-07 06:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:32:04] Production.INFO: Date 2024-12-25
[2025-01-07 06:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:32:04] Production.INFO: Date 2024-12-26
[2025-01-07 06:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:32:04] Production.INFO: Date 2024-12-27
[2025-01-07 06:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:32:04] Production.INFO: Date 2024-12-28
[2025-01-07 06:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:32:04] Production.INFO: Date 2024-12-29
[2025-01-07 06:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:32:04] Production.INFO: Date 2024-12-30
[2025-01-07 06:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:32:04] Production.INFO: Date 2024-12-31
[2025-01-07 06:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:32:04] Production.INFO: Date 2025-01-01
[2025-01-07 06:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:32:04] Production.INFO: Date 2025-01-02
[2025-01-07 06:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:32:04] Production.INFO: Date 2025-01-03
[2025-01-07 06:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:32:04] Production.INFO: Date 2025-01-04
[2025-01-07 06:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:32:04] Production.INFO: Date 2025-01-05
[2025-01-07 06:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:32:04] Production.INFO: Date 2025-01-06
[2025-01-07 06:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:32:04] Production.INFO: Date 2025-01-07
[2025-01-07 06:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:32:04] Production.INFO: Total Charge 0
[2025-01-07 06:32:04] Production.INFO: CreateAllLog End
[2025-01-07 06:32:04] Production.INFO: Account Balance End.
[2025-01-07 06:32:05] Production.ERROR: CronJobId end 12
[2025-01-07 06:32:05] Production.INFO: ==11715== Releasing lock...
[2025-01-07 06:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:32:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:32:05
[end_date_ymd] => 2025-01-07 06:32:05
[RateCDR] => 1
)
[2025-01-07 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-07 03:32:05' and `end` < '2025-01-07 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-07 06:32:10] Production.ERROR: CronJobId end10
[2025-01-07 06:32:10] Production.INFO: ==11713== Releasing lock...
[2025-01-07 06:32:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:32:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:32:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:32:11] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:32:11] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:32:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:32:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:32:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:32:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:32:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:32:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:32:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:32:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:32:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:32:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:32:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:32:12] Production.INFO: call_cost start
[2025-01-07 06:32:12] Production.INFO: call_cost end
[2025-01-07 06:32:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:32:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:32:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:32:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:32:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:32:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:32:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:32:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:32:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:32:13] Production.INFO: ==11709== Releasing lock...
[2025-01-07 06:32:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:32:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:32:18] Production.INFO: count ==56
[2025-01-07 06:32:18] Production.ERROR: pbx CDR StartTime 2025-01-07 03:32:05 - End Time 2025-01-07 06:32:05
[2025-01-07 06:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193085', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193085', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193085', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193085', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:32:18] Production.INFO: ProcessCDR(1,14193085,1,1,2)
[2025-01-07 06:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193085,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193085,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193085,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193085,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193085', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193085', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:32:21] Production.INFO: ==11717== Releasing lock...
[2025-01-07 06:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:32:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 11:33:02] Production.INFO: ==11777== Lock acquired, processing the job...
[2025-01-07 11:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:33:02] Production.INFO: neon service started
[2025-01-07 11:33:02] Production.INFO: neon service started
[2025-01-07 11:33:02] Production.INFO: ==11777== Releasing lock...
[2025-01-07 11:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:33:02] Production.INFO: ==11779== Lock acquired, processing the job...
[2025-01-07 06:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:33:02] Production.INFO: ==11781== Lock acquired, processing the job...
[2025-01-07 11:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:33:02] Production.INFO: ==11781== Releasing lock...
[2025-01-07 11:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:33:03] Production.INFO: ==11779== Releasing lock...
[2025-01-07 06:33:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:33:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:33:03] Production.INFO: ==11784== Lock acquired, processing the job...
[2025-01-07 06:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:33:03] Production.INFO: ==11786== Lock acquired, processing the job...
[2025-01-07 06:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:33:04] Production.INFO: ==11788== Lock acquired, processing the job...
[2025-01-07 06:33:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:33:04] Production.INFO: ==11790== Lock acquired, processing the job...
[2025-01-07 06:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:33:04] Production.INFO: Account Balance Start.
[2025-01-07 06:33:04] Production.INFO: CreateAllLog Start
[2025-01-07 06:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:33:04] Production.INFO: 117
[2025-01-07 06:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:33:04] Production.INFO: Date 2024-12-08
[2025-01-07 06:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:33:04] Production.INFO: ==11794== Lock acquired, processing the job...
[2025-01-07 06:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:33:04] Production.INFO: ==11792== Lock acquired, processing the job...
[2025-01-07 06:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:33:04] Production.INFO: Date 2024-12-09
[2025-01-07 06:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:33:04] Production.INFO: ==11786== Releasing lock...
[2025-01-07 06:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:33:04] Production.INFO: Date 2024-12-10
[2025-01-07 06:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:33:04] Production.INFO: Date 2024-12-11
[2025-01-07 06:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:33:04] Production.INFO: Date 2024-12-12
[2025-01-07 06:33:04] Production.INFO: count ==21
[2025-01-07 06:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:33:04] Production.INFO: count ==21
[2025-01-07 06:33:04] Production.INFO: Date 2024-12-13
[2025-01-07 06:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193089') start
[2025-01-07 06:33:04] Production.INFO: Date 2024-12-14
[2025-01-07 06:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:33:04] Production.INFO: Date 2024-12-15
[2025-01-07 06:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193089') end
[2025-01-07 06:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:33:04] Production.INFO: 1
[2025-01-07 06:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:33:04] Production.ERROR: done
[2025-01-07 06:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:33:04] Production.INFO: Date 2024-12-16
[2025-01-07 06:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:33:04] Production.INFO: ==11794== Releasing lock...
[2025-01-07 06:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:33:04] Production.INFO: Date 2024-12-17
[2025-01-07 06:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:33:04] Production.ERROR: done
[2025-01-07 06:33:04] Production.INFO: Date 2024-12-18
[2025-01-07 06:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:33:04] Production.INFO: Date 2024-12-19
[2025-01-07 06:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:33:04] Production.INFO: Date 2024-12-20
[2025-01-07 06:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:33:04] Production.INFO: Date 2024-12-21
[2025-01-07 06:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:33:04] Production.INFO: Date 2024-12-22
[2025-01-07 06:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:33:04] Production.INFO: Date 2024-12-23
[2025-01-07 06:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:33:05] Production.INFO: Date 2024-12-24
[2025-01-07 06:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:33:05] Production.INFO: Date 2024-12-25
[2025-01-07 06:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:33:05] Production.INFO: Date 2024-12-26
[2025-01-07 06:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:33:05] Production.INFO: Date 2024-12-27
[2025-01-07 06:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:33:05] Production.INFO: Date 2024-12-28
[2025-01-07 06:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:33:05] Production.INFO: Date 2024-12-29
[2025-01-07 06:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:33:05] Production.INFO: Date 2024-12-30
[2025-01-07 06:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:33:05] Production.INFO: Date 2024-12-31
[2025-01-07 06:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:33:05] Production.INFO: Date 2025-01-01
[2025-01-07 06:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:33:05] Production.INFO: Date 2025-01-02
[2025-01-07 06:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:33:05] Production.INFO: Date 2025-01-03
[2025-01-07 06:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:33:05] Production.INFO: Date 2025-01-04
[2025-01-07 06:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:33:05] Production.INFO: Date 2025-01-05
[2025-01-07 06:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:33:05] Production.INFO: Date 2025-01-06
[2025-01-07 06:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:33:05] Production.INFO: Date 2025-01-07
[2025-01-07 06:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:33:05] Production.INFO: Total Charge 0
[2025-01-07 06:33:05] Production.INFO: CreateAllLog End
[2025-01-07 06:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:33:05
[end_date_ymd] => 2025-01-07 06:33:05
[RateCDR] => 1
)
[2025-01-07 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-07 03:33:05' and `end` < '2025-01-07 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-07 06:33:05] Production.INFO: Account Balance End.
[2025-01-07 06:33:05] Production.ERROR: CronJobId end 12
[2025-01-07 06:33:05] Production.INFO: ==11790== Releasing lock...
[2025-01-07 06:33:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:33:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:33:11] Production.ERROR: CronJobId end10
[2025-01-07 06:33:11] Production.INFO: ==11788== Releasing lock...
[2025-01-07 06:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:33:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:33:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:33:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:33:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:33:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:33:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:33:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:33:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:33:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:33:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:33:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:33:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:33:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:33:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:33:13] Production.INFO: call_cost start
[2025-01-07 06:33:13] Production.INFO: call_cost end
[2025-01-07 06:33:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:33:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:33:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:33:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:33:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:33:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:33:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:33:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:33:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:33:13] Production.INFO: ==11784== Releasing lock...
[2025-01-07 06:33:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:33:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:33:19] Production.INFO: count ==56
[2025-01-07 06:33:19] Production.ERROR: pbx CDR StartTime 2025-01-07 03:33:05 - End Time 2025-01-07 06:33:05
[2025-01-07 06:33:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193090', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193090', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193090', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193090', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:33:19] Production.INFO: ProcessCDR(1,14193090,1,1,2)
[2025-01-07 06:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193090,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:33:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193090,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:33:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193090,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193090,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193090', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193090', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:33:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:33:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:33:22] Production.INFO: ==11792== Releasing lock...
[2025-01-07 06:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:33:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 11:34:01] Production.INFO: ==11852== Lock acquired, processing the job...
[2025-01-07 11:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:34:01] Production.INFO: neon service started
[2025-01-07 11:34:01] Production.INFO: neon service started
[2025-01-07 11:34:01] Production.INFO: ==11852== Releasing lock...
[2025-01-07 11:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:34:01] Production.INFO: ==11856== Lock acquired, processing the job...
[2025-01-07 11:34:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:34:01] Production.INFO: ==11856== Releasing lock...
[2025-01-07 11:34:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:34:01] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:34:02] Production.INFO: ==11854== Lock acquired, processing the job...
[2025-01-07 06:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:34:02] Production.INFO: ==11854== Releasing lock...
[2025-01-07 06:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:34:03] Production.INFO: ==11860== Lock acquired, processing the job...
[2025-01-07 06:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:34:03] Production.INFO: ==11864== Lock acquired, processing the job...
[2025-01-07 06:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:34:03] Production.INFO: ==11866== Lock acquired, processing the job...
[2025-01-07 06:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:34:03] Production.INFO: Account Balance Start.
[2025-01-07 06:34:03] Production.INFO: CreateAllLog Start
[2025-01-07 06:34:03] Production.INFO: 117
[2025-01-07 06:34:03] Production.INFO: Date 2024-12-08
[2025-01-07 06:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:34:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:34:03] Production.INFO: ==11860== Releasing lock...
[2025-01-07 06:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:34:03] Production.INFO: Date 2024-12-09
[2025-01-07 06:34:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:34:03] Production.INFO: ==11862== Lock acquired, processing the job...
[2025-01-07 06:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:34:03] Production.INFO: ==11858== Lock acquired, processing the job...
[2025-01-07 06:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:34:03] Production.INFO: Date 2024-12-10
[2025-01-07 06:34:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:34:03] Production.INFO: Date 2024-12-11
[2025-01-07 06:34:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:34:03] Production.INFO: ==11868== Lock acquired, processing the job...
[2025-01-07 06:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:34:03] Production.INFO: Date 2024-12-12
[2025-01-07 06:34:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:34:03] Production.ERROR: done
[2025-01-07 06:34:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:34:03] Production.INFO: Date 2024-12-13
[2025-01-07 06:34:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:34:03] Production.INFO: Date 2024-12-14
[2025-01-07 06:34:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 06:34:03] Production.ERROR: done
[2025-01-07 06:34:03] Production.INFO: count ==21
[2025-01-07 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-07 06:34:03] Production.INFO: count ==21
[2025-01-07 06:34:03] Production.INFO: Date 2024-12-15
[2025-01-07 06:34:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193094') start
[2025-01-07 06:34:03] Production.INFO: Date 2024-12-16
[2025-01-07 06:34:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:34:03] Production.INFO: Date 2024-12-17
[2025-01-07 06:34:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:34:03] Production.INFO: Date 2024-12-18
[2025-01-07 06:34:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193094') end
[2025-01-07 06:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:34:03] Production.INFO: 1
[2025-01-07 06:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:34:03] Production.INFO: Date 2024-12-19
[2025-01-07 06:34:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:34:03] Production.INFO: Date 2024-12-20
[2025-01-07 06:34:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:34:03] Production.INFO: ==11868== Releasing lock...
[2025-01-07 06:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:34:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:34:04] Production.INFO: Date 2024-12-21
[2025-01-07 06:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:34:04] Production.INFO: Date 2024-12-22
[2025-01-07 06:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:34:04] Production.INFO: Date 2024-12-23
[2025-01-07 06:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:34:04] Production.INFO: Date 2024-12-24
[2025-01-07 06:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:34:04] Production.INFO: Date 2024-12-25
[2025-01-07 06:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:34:04] Production.INFO: Date 2024-12-26
[2025-01-07 06:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:34:04] Production.INFO: Date 2024-12-27
[2025-01-07 06:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:34:04] Production.INFO: Date 2024-12-28
[2025-01-07 06:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:34:04] Production.INFO: Date 2024-12-29
[2025-01-07 06:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:34:04] Production.INFO: Date 2024-12-30
[2025-01-07 06:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:34:04] Production.INFO: Date 2024-12-31
[2025-01-07 06:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:34:04] Production.INFO: Date 2025-01-01
[2025-01-07 06:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:34:04] Production.INFO: Date 2025-01-02
[2025-01-07 06:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:34:04] Production.INFO: Date 2025-01-03
[2025-01-07 06:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:34:04] Production.INFO: Date 2025-01-04
[2025-01-07 06:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:34:04] Production.INFO: Date 2025-01-05
[2025-01-07 06:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:34:04] Production.INFO: Date 2025-01-06
[2025-01-07 06:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:34:04] Production.INFO: Date 2025-01-07
[2025-01-07 06:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:34:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:34:04
[end_date_ymd] => 2025-01-07 06:34:04
[RateCDR] => 1
)
[2025-01-07 06: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-07 03:34:04' and `end` < '2025-01-07 06: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-07 06:34:04] Production.INFO: Total Charge 0
[2025-01-07 06:34:04] Production.INFO: CreateAllLog End
[2025-01-07 06:34:04] Production.INFO: Account Balance End.
[2025-01-07 06:34:04] Production.ERROR: CronJobId end 12
[2025-01-07 06:34:04] Production.INFO: ==11864== Releasing lock...
[2025-01-07 06:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:34:09] Production.ERROR: CronJobId end10
[2025-01-07 06:34:09] Production.INFO: ==11862== Releasing lock...
[2025-01-07 06:34:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:34:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:34:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:34:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:34:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:34:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:34:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:34:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:34:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:34:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:34:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:34:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:34:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:34:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:34:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:34:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:34:12] Production.INFO: call_cost start
[2025-01-07 06:34:12] Production.INFO: call_cost end
[2025-01-07 06:34:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:34:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:34:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:34:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:34:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:34:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:34:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:34:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:34:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:34:13] Production.INFO: ==11858== Releasing lock...
[2025-01-07 06:34:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:34:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:34:17] Production.INFO: count ==57
[2025-01-07 06:34:17] Production.ERROR: pbx CDR StartTime 2025-01-07 03:34:04 - End Time 2025-01-07 06:34:04
[2025-01-07 06:34:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193095', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193095', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193095', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193095', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:34:17] Production.INFO: ProcessCDR(1,14193095,1,1,2)
[2025-01-07 06:34:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193095,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193095,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193095,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193095,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193095', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193095', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:34:21] Production.INFO: ==11866== Releasing lock...
[2025-01-07 06:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:34:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 11:35:02] Production.INFO: ==11924== Lock acquired, processing the job...
[2025-01-07 11:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:35:02] Production.INFO: neon service started
[2025-01-07 11:35:02] Production.INFO: neon service started
[2025-01-07 11:35:02] Production.INFO: ==11924== Releasing lock...
[2025-01-07 11:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:35:02] Production.INFO: ==11930== Lock acquired, processing the job...
[2025-01-07 11:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:35:02] Production.INFO: ==11930== Releasing lock...
[2025-01-07 11:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:35:02] Production.INFO: ==11928== Lock acquired, processing the job...
[2025-01-07 06:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:35:02] Production.INFO: ==11928== Releasing lock...
[2025-01-07 06:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:35:03] Production.INFO: ==11936== Lock acquired, processing the job...
[2025-01-07 06:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:35:03] Production.INFO: ==11943== Lock acquired, processing the job...
[2025-01-07 06:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:35:03] Production.INFO: ==11932== Lock acquired, processing the job...
[2025-01-07 06:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:35:03] Production.INFO: ==11934== Lock acquired, processing the job...
[2025-01-07 06:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 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-07 06:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:35:03] Production.INFO: count ==21
[2025-01-07 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-07 06:35:03] Production.INFO: ==11938== Lock acquired, processing the job...
[2025-01-07 06:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:35:03] Production.INFO: count ==21
[2025-01-07 06:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193096') start
[2025-01-07 06:35:03] Production.INFO: ==11940== Lock acquired, processing the job...
[2025-01-07 06:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:35:04] Production.INFO: Account Balance Start.
[2025-01-07 06:35:04] Production.INFO: CreateAllLog Start
[2025-01-07 06:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193096') end
[2025-01-07 06:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:35:04] Production.INFO: 1
[2025-01-07 06:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:35:04] Production.INFO: 117
[2025-01-07 06:35:04] Production.INFO: Date 2024-12-08
[2025-01-07 06:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:35:04] Production.INFO: Date 2024-12-09
[2025-01-07 06:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:35:04] Production.INFO: Date 2024-12-10
[2025-01-07 06:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:35:04] Production.INFO: ==11934== Releasing lock...
[2025-01-07 06:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:35:04] Production.INFO: ==11943== Releasing lock...
[2025-01-07 06:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:35:04] Production.INFO: Date 2024-12-11
[2025-01-07 06:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:35:04] Production.INFO: Date 2024-12-12
[2025-01-07 06:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:35:04] Production.INFO: Date 2024-12-13
[2025-01-07 06:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:35:04] Production.INFO: Date 2024-12-14
[2025-01-07 06:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:35:04] Production.INFO: Date 2024-12-15
[2025-01-07 06:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:35:04] Production.ERROR: done
[2025-01-07 06:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:35:04] Production.INFO: Date 2024-12-16
[2025-01-07 06:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:35:04] Production.ERROR: done
[2025-01-07 06:35:04] Production.INFO: Date 2024-12-17
[2025-01-07 06:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:35:04] Production.INFO: Date 2024-12-18
[2025-01-07 06:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:35:04] Production.INFO: Date 2024-12-19
[2025-01-07 06:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:35:04] Production.INFO: Date 2024-12-20
[2025-01-07 06:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:35:04] Production.INFO: Date 2024-12-21
[2025-01-07 06:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:35:04] Production.INFO: Date 2024-12-22
[2025-01-07 06:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:35:04] Production.INFO: Date 2024-12-23
[2025-01-07 06:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:35:04] Production.INFO: Date 2024-12-24
[2025-01-07 06:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:35:05] Production.INFO: Date 2024-12-25
[2025-01-07 06:35:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:35:05] Production.INFO: Date 2024-12-26
[2025-01-07 06:35:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:35:05] Production.INFO: Date 2024-12-27
[2025-01-07 06:35:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:35:05] Production.INFO: Date 2024-12-28
[2025-01-07 06:35:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:35:05] Production.INFO: Date 2024-12-29
[2025-01-07 06:35:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:35:05] Production.INFO: Date 2024-12-30
[2025-01-07 06:35:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:35:05] Production.INFO: Date 2024-12-31
[2025-01-07 06:35:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:35:05] Production.INFO: Date 2025-01-01
[2025-01-07 06:35:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:35:05] Production.INFO: Date 2025-01-02
[2025-01-07 06:35:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:35:05] Production.INFO: Date 2025-01-03
[2025-01-07 06:35:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:35:05] Production.INFO: Date 2025-01-04
[2025-01-07 06:35:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:35:05] Production.INFO: Date 2025-01-05
[2025-01-07 06:35:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:35:05] Production.INFO: Date 2025-01-06
[2025-01-07 06:35:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:35:05] Production.INFO: Date 2025-01-07
[2025-01-07 06:35:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:35:05] Production.INFO: Total Charge 0
[2025-01-07 06:35:05] Production.INFO: CreateAllLog End
[2025-01-07 06:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:35:05
[end_date_ymd] => 2025-01-07 06:35:05
[RateCDR] => 1
)
[2025-01-07 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-07 03:35:05' and `end` < '2025-01-07 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-07 06:35:05] Production.INFO: Account Balance End.
[2025-01-07 06:35:05] Production.ERROR: CronJobId end 12
[2025-01-07 06:35:05] Production.INFO: ==11938== Releasing lock...
[2025-01-07 06:35:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:35:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:35:11] Production.ERROR: CronJobId end10
[2025-01-07 06:35:11] Production.INFO: ==11936== Releasing lock...
[2025-01-07 06:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:35:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:35:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:35:14] Production.INFO: call_cost start
[2025-01-07 06:35:14] Production.INFO: call_cost end
[2025-01-07 06:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:35:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:35:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:35:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:35:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:35:15] Production.INFO: ==11932== Releasing lock...
[2025-01-07 06:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:35:18] Production.INFO: count ==60
[2025-01-07 06:35:18] Production.ERROR: pbx CDR StartTime 2025-01-07 03:35:05 - End Time 2025-01-07 06:35:05
[2025-01-07 06:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193100', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193100', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193100', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193100', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:35:18] Production.INFO: ProcessCDR(1,14193100,1,1,2)
[2025-01-07 06:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193100,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:35:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193100,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:35:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193100,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:35:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193100,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193100', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193100', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:35:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:35:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:35:22] Production.INFO: ==11940== Releasing lock...
[2025-01-07 06:35:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:35:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 11:36:01] Production.INFO: ==12004== Lock acquired, processing the job...
[2025-01-07 11:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:36:01] Production.INFO: neon service started
[2025-01-07 11:36:01] Production.INFO: neon service started
[2025-01-07 11:36:01] Production.INFO: ==12004== Releasing lock...
[2025-01-07 11:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:36:01] Production.INFO: ==12006== Lock acquired, processing the job...
[2025-01-07 06:36:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:36:02] Production.INFO: ==12006== Releasing lock...
[2025-01-07 06:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:36:02] Production.INFO: ==12008== Lock acquired, processing the job...
[2025-01-07 11:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:36:02] Production.INFO: ==12008== Releasing lock...
[2025-01-07 11:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:36:03] Production.INFO: ==12020== Lock acquired, processing the job...
[2025-01-07 06:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:36:03] Production.INFO: ==12018== Lock acquired, processing the job...
[2025-01-07 06:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:36:03] Production.INFO: ==12010== Lock acquired, processing the job...
[2025-01-07 06:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:36:03] Production.INFO: ==12012== Lock acquired, processing the job...
[2025-01-07 06:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:36:03] Production.INFO: ==12014== Lock acquired, processing the job...
[2025-01-07 06:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:36:03] Production.INFO: ==12016== Lock acquired, processing the job...
[2025-01-07 06:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:36:03] Production.INFO: count ==21
[2025-01-07 06:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:36:03] Production.INFO: count ==21
[2025-01-07 06:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193101') start
[2025-01-07 06:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:36:03] Production.INFO: Account Balance Start.
[2025-01-07 06:36:03] Production.INFO: CreateAllLog Start
[2025-01-07 06:36:03] Production.INFO: 117
[2025-01-07 06:36:03] Production.INFO: Date 2024-12-08
[2025-01-07 06:36:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:36:03] Production.INFO: Date 2024-12-09
[2025-01-07 06:36:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193101') end
[2025-01-07 06:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:36:03] Production.INFO: 1
[2025-01-07 06:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:36:03] Production.ERROR: done
[2025-01-07 06:36:03] Production.INFO: ==12020== Releasing lock...
[2025-01-07 06:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:36:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:36:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:36:03] Production.INFO: Date 2024-12-10
[2025-01-07 06:36:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:36:03] Production.INFO: ==12012== Releasing lock...
[2025-01-07 06:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:36:03] Production.INFO: Date 2024-12-11
[2025-01-07 06:36:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:36:03] Production.ERROR: done
[2025-01-07 06:36:03] Production.INFO: Date 2024-12-12
[2025-01-07 06:36:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:36:03] Production.INFO: Date 2024-12-13
[2025-01-07 06:36:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:36:03] Production.INFO: Date 2024-12-14
[2025-01-07 06:36:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:36:03] Production.INFO: Date 2024-12-15
[2025-01-07 06:36:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:36:03] Production.INFO: Date 2024-12-16
[2025-01-07 06:36:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:36:03] Production.INFO: Date 2024-12-17
[2025-01-07 06:36:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:36:04] Production.INFO: Date 2024-12-18
[2025-01-07 06:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:36:04] Production.INFO: Date 2024-12-19
[2025-01-07 06:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:36:04] Production.INFO: Date 2024-12-20
[2025-01-07 06:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:36:04] Production.INFO: Date 2024-12-21
[2025-01-07 06:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:36:04] Production.INFO: Date 2024-12-22
[2025-01-07 06:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:36:04] Production.INFO: Date 2024-12-23
[2025-01-07 06:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:36:04] Production.INFO: Date 2024-12-24
[2025-01-07 06:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:36:04] Production.INFO: Date 2024-12-25
[2025-01-07 06:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:36:04] Production.INFO: Date 2024-12-26
[2025-01-07 06:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:36:04] Production.INFO: Date 2024-12-27
[2025-01-07 06:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:36:04] Production.INFO: Date 2024-12-28
[2025-01-07 06:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:36:04] Production.INFO: Date 2024-12-29
[2025-01-07 06:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:36:04] Production.INFO: Date 2024-12-30
[2025-01-07 06:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:36:04] Production.INFO: Date 2024-12-31
[2025-01-07 06:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:36:04] Production.INFO: Date 2025-01-01
[2025-01-07 06:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:36:04] Production.INFO: Date 2025-01-02
[2025-01-07 06:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:36:04] Production.INFO: Date 2025-01-03
[2025-01-07 06:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:36:04] Production.INFO: Date 2025-01-04
[2025-01-07 06:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:36:04] Production.INFO: Date 2025-01-05
[2025-01-07 06:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:36:04] Production.INFO: Date 2025-01-06
[2025-01-07 06:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:36:04] Production.INFO: Date 2025-01-07
[2025-01-07 06:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:36:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:36:04
[end_date_ymd] => 2025-01-07 06:36:04
[RateCDR] => 1
)
[2025-01-07 06:36:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 03:36:04' and `end` < '2025-01-07 06:36:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 06:36:04] Production.INFO: Total Charge 0
[2025-01-07 06:36:04] Production.INFO: CreateAllLog End
[2025-01-07 06:36:04] Production.INFO: Account Balance End.
[2025-01-07 06:36:04] Production.ERROR: CronJobId end 12
[2025-01-07 06:36:04] Production.INFO: ==12016== Releasing lock...
[2025-01-07 06:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:36:10] Production.ERROR: CronJobId end10
[2025-01-07 06:36:10] Production.INFO: ==12014== Releasing lock...
[2025-01-07 06:36:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:36:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:36:13] Production.INFO: call_cost start
[2025-01-07 06:36:13] Production.INFO: call_cost end
[2025-01-07 06:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:36:14] Production.INFO: ==12010== Releasing lock...
[2025-01-07 06:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:36:18] Production.INFO: count ==64
[2025-01-07 06:36:18] Production.ERROR: pbx CDR StartTime 2025-01-07 03:36:04 - End Time 2025-01-07 06:36:04
[2025-01-07 06:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193105', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193105', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193105', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193105', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:36:18] Production.INFO: ProcessCDR(1,14193105,1,1,2)
[2025-01-07 06:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193105,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193105,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193105,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193105,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193105', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193105', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:36:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:36:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:36:23] Production.INFO: ==12018== Releasing lock...
[2025-01-07 06:36:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:36:23] Production.INFO: 28 MB #Memory Used#
[2025-01-07 11:37:01] Production.INFO: ==12123== Lock acquired, processing the job...
[2025-01-07 11:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:37:01] Production.INFO: neon service started
[2025-01-07 11:37:01] Production.INFO: neon service started
[2025-01-07 11:37:01] Production.INFO: ==12123== Releasing lock...
[2025-01-07 11:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:37:02] Production.INFO: ==12125== Lock acquired, processing the job...
[2025-01-07 06:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:37:02] Production.INFO: ==12125== Releasing lock...
[2025-01-07 06:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:37:02] Production.INFO: ==12127== Lock acquired, processing the job...
[2025-01-07 11:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:37:02] Production.INFO: ==12127== Releasing lock...
[2025-01-07 11:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:37:03] Production.INFO: ==12130== Lock acquired, processing the job...
[2025-01-07 06:37:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10451 #Starts#
[2025-01-07 06:37:03] Production.INFO: -- Xero Api Check --
[2025-01-07 06:37:03] Production.INFO: ==12142== Lock acquired, processing the job...
[2025-01-07 06:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 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-07 06:37:03] Production.INFO: count ==21
[2025-01-07 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-07 06:37:03] Production.INFO: count ==21
[2025-01-07 06:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193106') start
[2025-01-07 06:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193106') end
[2025-01-07 06:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:37:03] Production.INFO: 1
[2025-01-07 06:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:37:03] Production.INFO: ==12142== Releasing lock...
[2025-01-07 06:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:37:03] Production.INFO: ==12134== Lock acquired, processing the job...
[2025-01-07 06:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:37:03] Production.INFO: ==12132== Lock acquired, processing the job...
[2025-01-07 06:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:37:03] Production.INFO: ==12136== Lock acquired, processing the job...
[2025-01-07 06:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:37:03] Production.INFO: ==12138== Lock acquired, processing the job...
[2025-01-07 06:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:37:03] Production.INFO: ==12140== Lock acquired, processing the job...
[2025-01-07 06:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:37:03] Production.INFO: Account Balance Start.
[2025-01-07 06:37:03] Production.INFO: CreateAllLog Start
[2025-01-07 06:37:03] Production.INFO: 117
[2025-01-07 06:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:37:03] Production.INFO: Date 2024-12-08
[2025-01-07 06:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:37:04] Production.INFO: ==12134== Releasing lock...
[2025-01-07 06:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:37:04] Production.INFO: Date 2024-12-09
[2025-01-07 06:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:37:04] Production.INFO: Date 2024-12-10
[2025-01-07 06:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:37:04] Production.INFO: Date 2024-12-11
[2025-01-07 06:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:37:04] Production.INFO: Date 2024-12-12
[2025-01-07 06:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:37:04] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 855
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.844246
[namelookup_time] => 0.289616
[connect_time] => 0.290861
[pretransfer_time] => 0.65693
[size_upload] => 82
[size_download] => 2755
[speed_download] => 3263
[speed_upload] => 97
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.84421
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.33
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 41880
)
[2025-01-07 06:37:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDk4MjQsImV4cCI6MTczNjI1MDEyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ5ODI0LCJhdF9oYXNoIjoiaUgxWURwWTFDbGppZGF0bEhEM3ZfZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.XRoLs6MEWll_LZuZi9A3jsU4qzRh-G4zTDK4DzPnkJ6huMZ5IOZBUlSiKzxfRDpFZqrhIrWffpOC3NBfVUzf8VEtVjPl7afXfQfSzACgXSIoJAC2VLfHOlUapyXr78L1wudnEFRpVMIPEo9sDwZf9teUFwGMVOO9xUay3po7Y4z8tHPRvbMFXwMJeaqD71VZW2q07BE8MwRnCxBQieU1jeLah476XOpEP99FNNUjphOA9jmIBPEanSmovI1iZeka6lLDYd1FywWSWBc0Y2ewlb7ZDED7ucfMCDSS27eLM-YGqbYScLciKiQ9fHVw0Sin1_PXjz-RKYarNATe7YFfhQ
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDk4MjQsImV4cCI6MTczNjI1MTYyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.Zayzf9rg2gh2oFXU6cnDeR0cqNatkVfHGOH_CNrdLj9hzHNwA2qbARAj2r8NdRrm10y_PBiABgTMhtaHkdaQaCCMr3J84d2gUJVzSYvH_CymRUQWeZtROtj4E0-F_9l2m4U7sacqSH2NwpKv70UoTkOuCMexhKzpuvBwUFOn61skDXgrq9-QgcZGgOsofIhaFpESpY2KNVvTNv-LesA124M4bA7AIu0TthqyaUMrYE6cUI4MgFj6qzgPHagM0C4VAMfbRgarAQVmH-OSzqg89q_DtlGT0qM2norWeshWGcTriuiulhQrz_7PN_9YbnieDwEHSHKM4FZzHq2fhRUgRg
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => 3tRgFl9wJ9cM4O8_SXRLxyrieIm6LoasRUvbdVC886Y
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 06:37:04] Production.ERROR: done
[2025-01-07 06:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:37:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDk4MjQsImV4cCI6MTczNjI1MDEyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ5ODI0LCJhdF9oYXNoIjoiaUgxWURwWTFDbGppZGF0bEhEM3ZfZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.XRoLs6MEWll_LZuZi9A3jsU4qzRh-G4zTDK4DzPnkJ6huMZ5IOZBUlSiKzxfRDpFZqrhIrWffpOC3NBfVUzf8VEtVjPl7afXfQfSzACgXSIoJAC2VLfHOlUapyXr78L1wudnEFRpVMIPEo9sDwZf9teUFwGMVOO9xUay3po7Y4z8tHPRvbMFXwMJeaqD71VZW2q07BE8MwRnCxBQieU1jeLah476XOpEP99FNNUjphOA9jmIBPEanSmovI1iZeka6lLDYd1FywWSWBc0Y2ewlb7ZDED7ucfMCDSS27eLM-YGqbYScLciKiQ9fHVw0Sin1_PXjz-RKYarNATe7YFfhQ
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDk4MjQsImV4cCI6MTczNjI1MTYyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.Zayzf9rg2gh2oFXU6cnDeR0cqNatkVfHGOH_CNrdLj9hzHNwA2qbARAj2r8NdRrm10y_PBiABgTMhtaHkdaQaCCMr3J84d2gUJVzSYvH_CymRUQWeZtROtj4E0-F_9l2m4U7sacqSH2NwpKv70UoTkOuCMexhKzpuvBwUFOn61skDXgrq9-QgcZGgOsofIhaFpESpY2KNVvTNv-LesA124M4bA7AIu0TthqyaUMrYE6cUI4MgFj6qzgPHagM0C4VAMfbRgarAQVmH-OSzqg89q_DtlGT0qM2norWeshWGcTriuiulhQrz_7PN_9YbnieDwEHSHKM4FZzHq2fhRUgRg
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => 3tRgFl9wJ9cM4O8_SXRLxyrieIm6LoasRUvbdVC886Y
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 06:37:04] Production.INFO: Date 2024-12-13
[2025-01-07 06:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:37:04] Production.INFO: Date 2024-12-14
[2025-01-07 06:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:37:04] Production.INFO: AccountID 43
[2025-01-07 06:37:04] Production.ERROR: done
[2025-01-07 06:37:04] Production.INFO: Date 2024-12-15
[2025-01-07 06:37:04] Production.INFO: AccountName Wattpad
[2025-01-07 06:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:37:04] Production.INFO: Checkcustomer
[2025-01-07 06:37:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Wattpad"
[2025-01-07 06:37:04] Production.INFO: Date 2024-12-16
[2025-01-07 06:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:37:04] Production.INFO: Date 2024-12-17
[2025-01-07 06:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:37:04] Production.INFO: Date 2024-12-18
[2025-01-07 06:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:37:04] Production.INFO: Date 2024-12-19
[2025-01-07 06:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:37:04] Production.INFO: Date 2024-12-20
[2025-01-07 06:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:37:04] Production.INFO: Date 2024-12-21
[2025-01-07 06:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:37:04] Production.INFO: Date 2024-12-22
[2025-01-07 06:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:37:04] Production.INFO: Date 2024-12-23
[2025-01-07 06:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:37:04] Production.INFO: Date 2024-12-24
[2025-01-07 06:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:37:04] Production.INFO: Date 2024-12-25
[2025-01-07 06:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:37:04] Production.INFO: Date 2024-12-26
[2025-01-07 06:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:37:04] Production.INFO: Date 2024-12-27
[2025-01-07 06:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:37:04] Production.INFO: Date 2024-12-28
[2025-01-07 06:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:37:05] Production.INFO: Date 2024-12-29
[2025-01-07 06:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:37:05] Production.INFO: Date 2024-12-30
[2025-01-07 06:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:37:05] Production.INFO: Date 2024-12-31
[2025-01-07 06:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:37:05] Production.INFO: Date 2025-01-01
[2025-01-07 06:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:37:05] Production.INFO: Date 2025-01-02
[2025-01-07 06:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:37:05] Production.INFO: Date 2025-01-03
[2025-01-07 06:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:37:05] Production.INFO: Date 2025-01-04
[2025-01-07 06:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:37:05] Production.INFO: Date 2025-01-05
[2025-01-07 06:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:37:05] Production.INFO: Date 2025-01-06
[2025-01-07 06:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:37:05] Production.INFO: Date 2025-01-07
[2025-01-07 06:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:37:05] Production.INFO: Total Charge 0
[2025-01-07 06:37:05] Production.INFO: CreateAllLog End
[2025-01-07 06:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:37:05
[end_date_ymd] => 2025-01-07 06:37:05
[RateCDR] => 1
)
[2025-01-07 06:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 03:37:05' and `end` < '2025-01-07 06:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 06:37:05] Production.INFO: Account Balance End.
[2025-01-07 06:37:05] Production.ERROR: CronJobId end 12
[2025-01-07 06:37:05] Production.INFO: ==12138== Releasing lock...
[2025-01-07 06:37:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:37:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:37:06] Production.INFO: Contact id print CheckCustomer Case===8c586c5d-b401-441c-8cc4-7ca5911a8c28
[2025-01-07 06:37:06] Production.INFO: -- count --1
[2025-01-07 06:37:06] Production.INFO: AccountID 209
[2025-01-07 06:37:06] Production.INFO: AccountName Workside Early Childhood Education Centre
[2025-01-07 06:37:06] Production.INFO: Checkcustomer
[2025-01-07 06:37:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Workside%20Early%20Childhood%20Education%20Centre"
[2025-01-07 06:37:09] Production.INFO: Contact id print CheckCustomer Case===40cecbae-263a-4b0c-adbf-5350531feed1
[2025-01-07 06:37:09] Production.INFO: -- count --1
[2025-01-07 06:37:09] Production.INFO: -- Xero Add Inovice --
[2025-01-07 06:37:09] Production.INFO: CheckInvoice xerov2: INV11215
[2025-01-07 06:37:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11215
[2025-01-07 06:37:10] Production.ERROR: CronJobId end10
[2025-01-07 06:37:10] Production.INFO: ==12136== Releasing lock...
[2025-01-07 06:37:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:37:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:37:12] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 06:37:12] Production.INFO: Invoice SubTotal 200.500000
[2025-01-07 06:37:12] Production.INFO: Invoice DetTotal 200.5
[2025-01-07 06:37:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Wattpad"
[2025-01-07 06:37:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:37:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:37:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:37:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:37:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:37:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:37:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:37:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:37:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:37:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:37:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:37:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:37:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:37:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:37:13] Production.INFO: call_cost start
[2025-01-07 06:37:13] Production.INFO: call_cost end
[2025-01-07 06:37:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:37:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:37:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:37:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:37:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:37:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:37:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:37:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:37:14] Production.INFO: ==12132== Releasing lock...
[2025-01-07 06:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:37:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 06:37:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 06:37:18] Production.INFO: count ==64
[2025-01-07 06:37:18] Production.ERROR: pbx CDR StartTime 2025-01-07 03:37:05 - End Time 2025-01-07 06:37:05
[2025-01-07 06:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193110', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193110', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193110', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193110', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:37:18] Production.INFO: ProcessCDR(1,14193110,1,1,2)
[2025-01-07 06:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193110,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193110,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193110,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:37:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 06:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193110,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193110', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193110', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:37:21] Production.INFO: ==12140== Releasing lock...
[2025-01-07 06:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:37:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 06:37:22] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 18,UnitAmount : 7.750000,LineAmount : 139.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14164799694 - 36 WELLINGTON ST E STE 200 TORONTO, ON M5E1C7)",Quantity : 1,UnitAmount : 2.750000,LineAmount : 2.750000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Softphone users",Quantity : 18,UnitAmount : 3.000000,LineAmount : 54.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (1-833-WATTPAD (1-833-928-8723))",Quantity : 1,UnitAmount : 2.750000,LineAmount : 2.750000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (16474178599)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000}
[2025-01-07 06:37:24] Production.INFO: ==== result =====
[2025-01-07 06:37:24] Production.INFO: {
"Id": "d22f75b9-98cb-45f8-883e-8c1b275aec79",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736249844497)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "f283f734-39c7-4eea-9502-407af5a8f6fb",
"InvoiceNumber": "INV11215",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 226.58,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "8c586c5d-b401-441c-8cc4-7ca5911a8c28",
"ContactStatus": "ACTIVE",
"Name": "Wattpad",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1533070462703+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-14T00:00:00",
"Date": "\/Date(1734134400000+0000)\/",
"DueDateString": "2025-01-13T00:00:00",
"DueDate": "\/Date(1736726400000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "License for a Pay As You Go Cloud Phone extension",
"UnitAmount": 7.75,
"TaxType": "TAX020",
"TaxAmount": 18.14,
"LineAmount": 139.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 18.0000,
"DiscountRate": 0.00,
"LineItemID": "ea51b459-0d5d-4e91-b78b-99b596dd8521",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (14164799694 - 36 WELLINGTON ST E STE 200 TORONTO, ON M5E1C7)",
"UnitAmount": 2.75,
"TaxType": "TAX020",
"TaxAmount": 0.36,
"LineAmount": 2.75,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "b1ace94f-95a2-4347-8be3-0341975775b7",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Softphone users",
"UnitAmount": 3.00,
"TaxType": "TAX020",
"TaxAmount": 7.02,
"LineAmount": 54.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 18.0000,
"DiscountRate": 0.00,
"LineItemID": "02172026-b0bc-44b8-bb84-7b995176e5a0",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (1-833-WATTPAD (1-833-928-8723))",
"UnitAmount": 2.75,
"TaxType": "TAX020",
"TaxAmount": 0.36,
"LineAmount": 2.75,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "36db9111-800a-498a-b3ea-809c898dfdfb",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (16474178599)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "174b9e34-e851-43a0-a4e5-065cfb36bad8",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 200.50,
"TotalTax": 26.08,
"Total": 226.58,
"UpdatedDateUTC": "\/Date(1736249844450+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 06:37:24] Production.INFO: -- Create Invoice id --f283f734-39c7-4eea-9502-407af5a8f6fb
[2025-01-07 06:37:24] Production.INFO: -- Create Invoice Done --
[2025-01-07 06:37:24] Production.INFO: CheckInvoice xerov2: INV11151
[2025-01-07 06:37:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11151
[2025-01-07 06:37:27] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 06:37:27] Production.INFO: Invoice SubTotal 46.300000
[2025-01-07 06:37:27] Production.INFO: Invoice DetTotal 46.3
[2025-01-07 06:37:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Workside%20Early%20Childhood%20Education%20Centre"
[2025-01-07 06:37:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 06:37:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 06:37:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 06:37:37] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 11-04-2024 To 12-03-2024",Quantity : 1,UnitAmount : 1.170000,LineAmount : 1.170000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 5.000000,"Description": "e911 address registration (5198226500) (99 Woolwich Street Guelph, ON N1H 3V1 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.380000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 5.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension/digital line",Quantity : 3,UnitAmount : 15.000000,LineAmount : 42.750000}
[2025-01-07 06:37:39] Production.INFO: ==== result =====
[2025-01-07 06:37:39] Production.INFO: {
"Id": "df2e8dea-e86b-42d1-a80c-1b18d5676b54",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736249859540)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "4af810d3-a5b2-4937-b04f-36f9e9414d2d",
"InvoiceNumber": "INV11151",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 52.32,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 2.38,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "40cecbae-263a-4b0c-adbf-5350531feed1",
"ContactStatus": "ACTIVE",
"Name": "Workside Early Childhood Education Centre",
"FirstName": "Christina",
"LastName": "Roberts Farrell",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1696240431583+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-04T00:00:00",
"Date": "\/Date(1733270400000+0000)\/",
"DueDateString": "2025-01-03T00:00:00",
"DueDate": "\/Date(1735862400000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "From 11-04-2024 To 12-03-2024",
"UnitAmount": 1.17,
"TaxType": "TAX020",
"TaxAmount": 0.15,
"LineAmount": 1.17,
"AccountCode": "234",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "c0c5c70b-1beb-438f-a78e-a0a479ad289f",
"AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (5198226500) (99 Woolwich Street Guelph, ON N1H 3V1 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.31,
"LineAmount": 2.38,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 5.00,
"LineItemID": "29f7d4e5-e3e3-4359-b7b4-29317411bee5",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountEnteredAsPercent": true,
"DiscountAmount": 0.1200,
"ValidationErrors": []
},
{
"Description": "License for an Unlimited Canada/US Cloud Phone extension/digital line",
"UnitAmount": 15.00,
"TaxType": "TAX020",
"TaxAmount": 5.56,
"LineAmount": 42.75,
"AccountCode": "203",
"Tracking": [],
"Quantity": 3.0000,
"DiscountRate": 5.00,
"LineItemID": "662bfacf-a57f-4d19-8e41-9d44531f25e6",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountEnteredAsPercent": true,
"DiscountAmount": 2.2500,
"ValidationErrors": []
}
],
"SubTotal": 46.30,
"TotalTax": 6.02,
"Total": 52.32,
"UpdatedDateUTC": "\/Date(1736249859510+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 06:37:39] Production.INFO: -- Create Invoice id --4af810d3-a5b2-4937-b04f-36f9e9414d2d
[2025-01-07 06:37:39] Production.INFO: -- Create Invoice Done --
[2025-01-07 06:37:39] Production.INFO: -- Xero End Inovice --
[2025-01-07 06:37:39] Production.INFO: ==12130== Releasing lock...
[2025-01-07 06:37:39] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10451 #Stops#
[2025-01-07 06:37:39] Production.INFO: 31 MB #Memory Used#
[2025-01-07 11:38:02] Production.INFO: ==12213== Lock acquired, processing the job...
[2025-01-07 11:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:38:02] Production.INFO: neon service started
[2025-01-07 11:38:02] Production.INFO: neon service started
[2025-01-07 11:38:02] Production.INFO: ==12213== Releasing lock...
[2025-01-07 11:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:38:02] Production.INFO: ==12215== Lock acquired, processing the job...
[2025-01-07 06:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:38:02] Production.INFO: ==12215== Releasing lock...
[2025-01-07 06:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:38:03] Production.INFO: ==12217== Lock acquired, processing the job...
[2025-01-07 11:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:38:03] Production.INFO: ==12217== Releasing lock...
[2025-01-07 11:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:38:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:38:03] Production.INFO: ==12224== Lock acquired, processing the job...
[2025-01-07 06:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:38:03] Production.INFO: ==12220== Lock acquired, processing the job...
[2025-01-07 06:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:38:03] Production.INFO: ==12230== Lock acquired, processing the job...
[2025-01-07 06:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:38:03] Production.INFO: ==12222== Lock acquired, processing the job...
[2025-01-07 06:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:38:03] Production.INFO: ==12226== Lock acquired, processing the job...
[2025-01-07 06:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:38:03] Production.INFO: count ==21
[2025-01-07 06:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:38:03] Production.INFO: ==12228== Lock acquired, processing the job...
[2025-01-07 06:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:38:04] Production.INFO: count ==21
[2025-01-07 06:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193111') start
[2025-01-07 06:38:04] Production.INFO: Account Balance Start.
[2025-01-07 06:38:04] Production.INFO: CreateAllLog Start
[2025-01-07 06:38:04] Production.INFO: 117
[2025-01-07 06:38:04] Production.INFO: Date 2024-12-08
[2025-01-07 06:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:38:04] Production.INFO: Date 2024-12-09
[2025-01-07 06:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:38:04] Production.INFO: Date 2024-12-10
[2025-01-07 06:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193111') end
[2025-01-07 06:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:38:04] Production.INFO: 1
[2025-01-07 06:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:38:04] Production.INFO: ==12230== Releasing lock...
[2025-01-07 06:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:38:04] Production.INFO: ==12222== Releasing lock...
[2025-01-07 06:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:38:04] Production.INFO: Date 2024-12-11
[2025-01-07 06:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:38:04] Production.INFO: Date 2024-12-12
[2025-01-07 06:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:38:04] Production.INFO: Date 2024-12-13
[2025-01-07 06:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:38:04] Production.INFO: Date 2024-12-14
[2025-01-07 06:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:38:04] Production.INFO: Date 2024-12-15
[2025-01-07 06:38:04] Production.ERROR: done
[2025-01-07 06:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:38:04] Production.INFO: Date 2024-12-16
[2025-01-07 06:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:38:04] Production.INFO: Date 2024-12-17
[2025-01-07 06:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:38:04] Production.INFO: Date 2024-12-18
[2025-01-07 06:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:38:04] Production.INFO: Date 2024-12-19
[2025-01-07 06:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:38:04] Production.INFO: Date 2024-12-20
[2025-01-07 06:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:38:04] Production.INFO: Date 2024-12-21
[2025-01-07 06:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:38:04] Production.ERROR: done
[2025-01-07 06:38:04] Production.INFO: Date 2024-12-22
[2025-01-07 06:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:38:04] Production.INFO: Date 2024-12-23
[2025-01-07 06:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:38:04] Production.INFO: Date 2024-12-24
[2025-01-07 06:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:38:04] Production.INFO: Date 2024-12-25
[2025-01-07 06:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:38:04] Production.INFO: Date 2024-12-26
[2025-01-07 06:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:38:04] Production.INFO: Date 2024-12-27
[2025-01-07 06:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:38:04] Production.INFO: Date 2024-12-28
[2025-01-07 06:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:38:04] Production.INFO: Date 2024-12-29
[2025-01-07 06:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:38:04] Production.INFO: Date 2024-12-30
[2025-01-07 06:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:38:04] Production.INFO: Date 2024-12-31
[2025-01-07 06:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:38:04] Production.INFO: Date 2025-01-01
[2025-01-07 06:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:38:04] Production.INFO: Date 2025-01-02
[2025-01-07 06:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:38:04] Production.INFO: Date 2025-01-03
[2025-01-07 06:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:38:04] Production.INFO: Date 2025-01-04
[2025-01-07 06:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:38:04] Production.INFO: Date 2025-01-05
[2025-01-07 06:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:38:04] Production.INFO: Date 2025-01-06
[2025-01-07 06:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:38:05] Production.INFO: Date 2025-01-07
[2025-01-07 06:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:38:05] Production.INFO: Total Charge 0
[2025-01-07 06:38:05] Production.INFO: CreateAllLog End
[2025-01-07 06:38:05] Production.INFO: Account Balance End.
[2025-01-07 06:38:05] Production.ERROR: CronJobId end 12
[2025-01-07 06:38:05] Production.INFO: ==12226== Releasing lock...
[2025-01-07 06:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:38:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:38:05
[end_date_ymd] => 2025-01-07 06:38:05
[RateCDR] => 1
)
[2025-01-07 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-07 03:38:05' and `end` < '2025-01-07 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-07 06:38:11] Production.ERROR: CronJobId end10
[2025-01-07 06:38:11] Production.INFO: ==12224== Releasing lock...
[2025-01-07 06:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:38:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:38:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:38:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:38:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:38:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:38:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:38:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:38:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:38:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:38:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:38:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:38:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:38:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:38:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:38:13] Production.INFO: call_cost start
[2025-01-07 06:38:13] Production.INFO: call_cost end
[2025-01-07 06:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:38:14] Production.INFO: ==12220== Releasing lock...
[2025-01-07 06:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:38:18] Production.INFO: count ==64
[2025-01-07 06:38:18] Production.ERROR: pbx CDR StartTime 2025-01-07 03:38:05 - End Time 2025-01-07 06:38:05
[2025-01-07 06:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193115', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193115', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193115', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193115', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:38:18] Production.INFO: ProcessCDR(1,14193115,1,1,2)
[2025-01-07 06:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193115,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193115,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193115,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193115,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193115', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193115', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:38:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:38:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:38:21] Production.INFO: ==12228== Releasing lock...
[2025-01-07 06:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:38:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 11:39:01] Production.INFO: ==12289== Lock acquired, processing the job...
[2025-01-07 11:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:39:01] Production.INFO: neon service started
[2025-01-07 11:39:01] Production.INFO: neon service started
[2025-01-07 11:39:01] Production.INFO: ==12289== Releasing lock...
[2025-01-07 11:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:39:02] Production.INFO: ==12291== Lock acquired, processing the job...
[2025-01-07 06:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:39:02] Production.INFO: ==12293== Lock acquired, processing the job...
[2025-01-07 11:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:39:02] Production.INFO: ==12293== Releasing lock...
[2025-01-07 11:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:39:02] Production.INFO: ==12291== Releasing lock...
[2025-01-07 06:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:39:03] Production.INFO: ==12296== Lock acquired, processing the job...
[2025-01-07 06:39:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10452 #Starts#
[2025-01-07 06:39:03] Production.INFO: -- Xero Api Check --
[2025-01-07 06:39:03] Production.INFO: ==12298== Lock acquired, processing the job...
[2025-01-07 06:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:39:03] Production.INFO: ==12300== Lock acquired, processing the job...
[2025-01-07 06:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:39:03] Production.INFO: ==12302== Lock acquired, processing the job...
[2025-01-07 06:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:39:03] Production.INFO: ==12304== Lock acquired, processing the job...
[2025-01-07 06:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:39:03] Production.INFO: ==12308== Lock acquired, processing the job...
[2025-01-07 06:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:39:03] Production.INFO: Account Balance Start.
[2025-01-07 06:39:03] Production.INFO: CreateAllLog Start
[2025-01-07 06:39:03] Production.INFO: ==12306== Lock acquired, processing the job...
[2025-01-07 06:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:39:03] Production.INFO: 117
[2025-01-07 06:39:03] Production.INFO: Date 2024-12-08
[2025-01-07 06:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:39:03] Production.INFO: count ==21
[2025-01-07 06:39:03] Production.INFO: Date 2024-12-09
[2025-01-07 06:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:39:03] Production.INFO: count ==21
[2025-01-07 06:39:04] Production.INFO: Date 2024-12-10
[2025-01-07 06:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193119') start
[2025-01-07 06:39:04] Production.INFO: Date 2024-12-11
[2025-01-07 06:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:39:04] Production.INFO: ==12300== Releasing lock...
[2025-01-07 06:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:39:04] Production.INFO: Date 2024-12-12
[2025-01-07 06:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:39:04] Production.INFO: Date 2024-12-13
[2025-01-07 06:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:39:04] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 855
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.773743
[namelookup_time] => 0.275721
[connect_time] => 0.28681
[pretransfer_time] => 0.57703
[size_upload] => 82
[size_download] => 2755
[speed_download] => 3560
[speed_upload] => 105
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.773697
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.33
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 41916
)
[2025-01-07 06:39:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDk5NDQsImV4cCI6MTczNjI1MDI0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ5OTQ0LCJhdF9oYXNoIjoieVd5QnZvMVozVW5wRGljcWszcGYyUSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.eslWCbKKK8AkyQbm5kPDWux7SJBFXoe3rOFRm6iBeoiUJQKy_WBl6vM5waHqE_9Xaf5_dk6wQ3-OWqrLDGaeG00IgxFaY5tgLORPAWPgUdVGxUb6YaIW0L2ZCWX7EqOM-0NtrVjPco1JjCFkD62vVM0drY7ZmIHbiK8Lyfw55yUJ8FCnLxuMi1qIGOxiC936rHhGPzDzUE0s3xRcN9V8eMxPmHgeh2nXFlR9ETuLDnNw-ygssQwo_YkVLPzHDjPGhafFvJ6A0924pBQS4pAmQv5kX4wXFChqiL-7kd5mHiVdkgcvPgiLcYBU2PkwiHzreh26WqOM4-K3_C1i1JpCCQ
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDk5NDQsImV4cCI6MTczNjI1MTc0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.px9_3JXhyxlAy8eBStD3go7_7s8E3GFIHOkVjrqFuwFPUrZ5ScGqv5SXPWJCl5cRvGWA2GdKocWehs0Ei3ve98-BduHf8eLuVFG57d1ZMD7WuzQ0VUqyeccB5m48X1Vpf2WYYmuEOYNt8OX-ZNMfX2OZ7R4TxJTwJwqN7jW0SMTfVmJPk2Ik9erM124nevGZRngp6jkMurNzO_0eKjFlcnUwO7hIe1X_ePMmIBkHjVED1BO_aczSVVsjREuskUgWGIQD1TyW2JVPZXVwLKxMhtKGXnYK_WjYVo4ymE2qSR7iH7AJlOZoEnuRr-Clsd8ZL9SpL-F1GK1EmoHf3iK5hw
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => iJqzmuh-DbNQMtPt8HWkupsc8RbwnU_ddPrtyglaC7Q
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 06:39:04] Production.INFO: Date 2024-12-14
[2025-01-07 06:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:39:04] Production.ERROR: done
[2025-01-07 06:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193119') end
[2025-01-07 06:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:39:04] Production.INFO: 1
[2025-01-07 06:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:39:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDk5NDQsImV4cCI6MTczNjI1MDI0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ5OTQ0LCJhdF9oYXNoIjoieVd5QnZvMVozVW5wRGljcWszcGYyUSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.eslWCbKKK8AkyQbm5kPDWux7SJBFXoe3rOFRm6iBeoiUJQKy_WBl6vM5waHqE_9Xaf5_dk6wQ3-OWqrLDGaeG00IgxFaY5tgLORPAWPgUdVGxUb6YaIW0L2ZCWX7EqOM-0NtrVjPco1JjCFkD62vVM0drY7ZmIHbiK8Lyfw55yUJ8FCnLxuMi1qIGOxiC936rHhGPzDzUE0s3xRcN9V8eMxPmHgeh2nXFlR9ETuLDnNw-ygssQwo_YkVLPzHDjPGhafFvJ6A0924pBQS4pAmQv5kX4wXFChqiL-7kd5mHiVdkgcvPgiLcYBU2PkwiHzreh26WqOM4-K3_C1i1JpCCQ
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDk5NDQsImV4cCI6MTczNjI1MTc0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.px9_3JXhyxlAy8eBStD3go7_7s8E3GFIHOkVjrqFuwFPUrZ5ScGqv5SXPWJCl5cRvGWA2GdKocWehs0Ei3ve98-BduHf8eLuVFG57d1ZMD7WuzQ0VUqyeccB5m48X1Vpf2WYYmuEOYNt8OX-ZNMfX2OZ7R4TxJTwJwqN7jW0SMTfVmJPk2Ik9erM124nevGZRngp6jkMurNzO_0eKjFlcnUwO7hIe1X_ePMmIBkHjVED1BO_aczSVVsjREuskUgWGIQD1TyW2JVPZXVwLKxMhtKGXnYK_WjYVo4ymE2qSR7iH7AJlOZoEnuRr-Clsd8ZL9SpL-F1GK1EmoHf3iK5hw
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => iJqzmuh-DbNQMtPt8HWkupsc8RbwnU_ddPrtyglaC7Q
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 06:39:04] Production.INFO: ==12308== Releasing lock...
[2025-01-07 06:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:39:04] Production.INFO: Date 2024-12-15
[2025-01-07 06:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:39:04] Production.INFO: Date 2024-12-16
[2025-01-07 06:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:39:04] Production.INFO: AccountID 4
[2025-01-07 06:39:04] Production.INFO: AccountName UNIGLOBE Canada
[2025-01-07 06:39:04] Production.INFO: Checkcustomer
[2025-01-07 06:39:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="UNIGLOBE%20Canada"
[2025-01-07 06:39:04] Production.INFO: Date 2024-12-17
[2025-01-07 06:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:39:04] Production.ERROR: done
[2025-01-07 06:39:04] Production.INFO: Date 2024-12-18
[2025-01-07 06:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:39:04] Production.INFO: Date 2024-12-19
[2025-01-07 06:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:39:04] Production.INFO: Date 2024-12-20
[2025-01-07 06:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:39:04] Production.INFO: Date 2024-12-21
[2025-01-07 06:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:39:04] Production.INFO: Date 2024-12-22
[2025-01-07 06:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:39:04] Production.INFO: Date 2024-12-23
[2025-01-07 06:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:39:04] Production.INFO: Date 2024-12-24
[2025-01-07 06:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:39:04] Production.INFO: Date 2024-12-25
[2025-01-07 06:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:39:04] Production.INFO: Date 2024-12-26
[2025-01-07 06:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:39:04] Production.INFO: Date 2024-12-27
[2025-01-07 06:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:39:04] Production.INFO: Date 2024-12-28
[2025-01-07 06:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:39:04] Production.INFO: Date 2024-12-29
[2025-01-07 06:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:39:04] Production.INFO: Date 2024-12-30
[2025-01-07 06:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:39:04] Production.INFO: Date 2024-12-31
[2025-01-07 06:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:39:04] Production.INFO: Date 2025-01-01
[2025-01-07 06:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:39:04] Production.INFO: Date 2025-01-02
[2025-01-07 06:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:39:04] Production.INFO: Date 2025-01-03
[2025-01-07 06:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:39:05] Production.INFO: Date 2025-01-04
[2025-01-07 06:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:39:05] Production.INFO: Date 2025-01-05
[2025-01-07 06:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:39:05] Production.INFO: Date 2025-01-06
[2025-01-07 06:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:39:05] Production.INFO: Date 2025-01-07
[2025-01-07 06:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:39:05] Production.INFO: Total Charge 0
[2025-01-07 06:39:05] Production.INFO: CreateAllLog End
[2025-01-07 06:39:05] Production.INFO: Account Balance End.
[2025-01-07 06:39:05] Production.ERROR: CronJobId end 12
[2025-01-07 06:39:05] Production.INFO: ==12304== Releasing lock...
[2025-01-07 06:39:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:39:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:39:05
[end_date_ymd] => 2025-01-07 06:39:05
[RateCDR] => 1
)
[2025-01-07 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-07 03:39:05' and `end` < '2025-01-07 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-07 06:39:06] Production.INFO: Contact id print CheckCustomer Case===d965b2fe-ffb5-4359-bc08-f6a098234349
[2025-01-07 06:39:06] Production.INFO: -- count --1
[2025-01-07 06:39:06] Production.INFO: AccountID 4
[2025-01-07 06:39:06] Production.INFO: AccountName UNIGLOBE Canada
[2025-01-07 06:39:06] Production.INFO: Checkcustomer
[2025-01-07 06:39:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="UNIGLOBE%20Canada"
[2025-01-07 06:39:09] Production.INFO: Contact id print CheckCustomer Case===d965b2fe-ffb5-4359-bc08-f6a098234349
[2025-01-07 06:39:09] Production.INFO: -- count --1
[2025-01-07 06:39:09] Production.INFO: AccountID 4
[2025-01-07 06:39:09] Production.INFO: AccountName UNIGLOBE Canada
[2025-01-07 06:39:09] Production.INFO: Checkcustomer
[2025-01-07 06:39:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="UNIGLOBE%20Canada"
[2025-01-07 06:39:12] Production.INFO: Contact id print CheckCustomer Case===d965b2fe-ffb5-4359-bc08-f6a098234349
[2025-01-07 06:39:12] Production.INFO: -- count --1
[2025-01-07 06:39:12] Production.INFO: AccountID 4
[2025-01-07 06:39:12] Production.INFO: AccountName UNIGLOBE Canada
[2025-01-07 06:39:12] Production.INFO: Checkcustomer
[2025-01-07 06:39:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="UNIGLOBE%20Canada"
[2025-01-07 06:39:12] Production.ERROR: CronJobId end10
[2025-01-07 06:39:12] Production.INFO: ==12302== Releasing lock...
[2025-01-07 06:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:39:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:39:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:39:14] Production.INFO: call_cost start
[2025-01-07 06:39:14] Production.INFO: call_cost end
[2025-01-07 06:39:14] Production.INFO: Contact id print CheckCustomer Case===d965b2fe-ffb5-4359-bc08-f6a098234349
[2025-01-07 06:39:14] Production.INFO: -- count --1
[2025-01-07 06:39:14] Production.INFO: AccountID 4
[2025-01-07 06:39:14] Production.INFO: AccountName UNIGLOBE Canada
[2025-01-07 06:39:14] Production.INFO: Checkcustomer
[2025-01-07 06:39:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="UNIGLOBE%20Canada"
[2025-01-07 06:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:39:14] Production.INFO: ==12298== Releasing lock...
[2025-01-07 06:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:39:16] Production.INFO: Contact id print CheckCustomer Case===d965b2fe-ffb5-4359-bc08-f6a098234349
[2025-01-07 06:39:16] Production.INFO: -- count --1
[2025-01-07 06:39:16] Production.INFO: AccountID 4
[2025-01-07 06:39:16] Production.INFO: AccountName UNIGLOBE Canada
[2025-01-07 06:39:16] Production.INFO: Checkcustomer
[2025-01-07 06:39:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="UNIGLOBE%20Canada"
[2025-01-07 06:39:19] Production.INFO: Contact id print CheckCustomer Case===d965b2fe-ffb5-4359-bc08-f6a098234349
[2025-01-07 06:39:19] Production.INFO: -- count --1
[2025-01-07 06:39:19] Production.INFO: -- Xero Add Inovice --
[2025-01-07 06:39:19] Production.INFO: CheckInvoice xerov2: INV10722
[2025-01-07 06:39:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10722
[2025-01-07 06:39:19] Production.INFO: count ==65
[2025-01-07 06:39:19] Production.ERROR: pbx CDR StartTime 2025-01-07 03:39:05 - End Time 2025-01-07 06:39:05
[2025-01-07 06:39:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193120', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193120', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193120', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193120', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:39:19] Production.INFO: ProcessCDR(1,14193120,1,1,2)
[2025-01-07 06:39:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193120,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:39:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193120,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:39:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193120,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:39:21] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 06:39:21] Production.INFO: ========================== Exception occured =============================
[2025-01-07 06:39:21] Production.ERROR: exception 'ErrorException' with message 'Undefined offset: 89' in /var/www/html/onswitch.neon.service/app/lib/XeroV2.php:0
Stack trace:
#0 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined offse...', '/var/www/html/o...', 0, Array)
#1 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->GetInvoiceData()
#2 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->CreateInvoice()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/XeroInvoicePostV2.php(0): App\Lib\XeroV2->addInvoices()
#4 [internal function]: App\Console\Commands\XeroInvoicePostV2->fire()
#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\XeroInvoicePostV2), 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-07 06:39:21] Production.INFO: ========================== Exception updated in job and email sent =============================
[2025-01-07 06:39:21] Production.INFO: ==12296== Releasing lock...
[2025-01-07 06:39:21] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10452 #Stops#
[2025-01-07 06:39:21] Production.INFO: 27.5 MB #Memory Used#
[2025-01-07 06:39:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193120,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193120', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:39:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193120', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:39:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:39:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:39:24] Production.INFO: ==12306== Releasing lock...
[2025-01-07 06:39:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:39:24] Production.INFO: 28 MB #Memory Used#
[2025-01-07 11:40:02] Production.INFO: ==12373== Lock acquired, processing the job...
[2025-01-07 11:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:40:02] Production.INFO: neon service started
[2025-01-07 11:40:02] Production.INFO: neon service started
[2025-01-07 11:40:02] Production.INFO: ==12373== Releasing lock...
[2025-01-07 11:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:40:02] Production.INFO: ==12375== Lock acquired, processing the job...
[2025-01-07 06:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:40:02] Production.INFO: ==12377== Lock acquired, processing the job...
[2025-01-07 11:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:40:02] Production.INFO: ==12377== Releasing lock...
[2025-01-07 11:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:40:03] Production.INFO: ==12375== Releasing lock...
[2025-01-07 06:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:40:04] Production.INFO: ==12384== Lock acquired, processing the job...
[2025-01-07 06:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:40:04] Production.INFO: ==12380== Lock acquired, processing the job...
[2025-01-07 06:40:04] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10453 #Starts#
[2025-01-07 06:40:04] Production.INFO: -- Xero Api Check --
[2025-01-07 06:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:40:04] Production.INFO: ==12382== Lock acquired, processing the job...
[2025-01-07 06:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 06:40:04] Production.INFO: ==12388== Lock acquired, processing the job...
[2025-01-07 06:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 06:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 06:40:04] Production.ERROR: CronJob PID - 12384
[2025-01-07 06:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-07 06:40:04] Production.ERROR: CronJob ID - 5
[2025-01-07 06:40:04] Production.ERROR: CronJob Last Run Time 2025-01-07 06:40:00
[2025-01-07 06:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 06:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 06:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 06:40:04] Production.ERROR: CronJob PID - 12388
[2025-01-07 06:40:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-07 06:40:04] Production.ERROR: CronJob ID - 10
[2025-01-07 06:40:04] Production.ERROR: CronJob Last Run Time 2025-01-07 06:40:00
[2025-01-07 06:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 06:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 06:40:04] Production.INFO: ==12390== Lock acquired, processing the job...
[2025-01-07 06:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 06:40:04] Production.INFO: ==12382== Releasing lock...
[2025-01-07 06:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 06:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 06:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:40:04] Production.INFO: ==12386== Lock acquired, processing the job...
[2025-01-07 06:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:40:04] Production.INFO: Account Balance Start.
[2025-01-07 06:40:04] Production.INFO: CreateAllLog Start
[2025-01-07 06:40:04] Production.INFO: 117
[2025-01-07 06:40:04] Production.INFO: Date 2024-12-08
[2025-01-07 06:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:40:04] Production.INFO: ==12392== Lock acquired, processing the job...
[2025-01-07 06:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:40:04] Production.INFO: Date 2024-12-09
[2025-01-07 06:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:40:04] Production.INFO: ==12394== Lock acquired, processing the job...
[2025-01-07 06:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 06:40:04] Production.INFO: Date 2024-12-10
[2025-01-07 06:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:40:04] Production.INFO: Date 2024-12-11
[2025-01-07 06:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:40:04] Production.INFO: ==12396== Lock acquired, processing the job...
[2025-01-07 06:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:40:04] Production.INFO: Date 2024-12-12
[2025-01-07 06:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:40:04] Production.INFO: Date 2024-12-13
[2025-01-07 06:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:40:05] Production.INFO: Date 2024-12-14
[2025-01-07 06:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:40:05] Production.INFO: ==12386== Releasing lock...
[2025-01-07 06:40:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:40:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:40:05] Production.INFO: Date 2024-12-15
[2025-01-07 06:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 06: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-07 06:40:05] Production.INFO: count ==21
[2025-01-07 06:40:05] Production.ERROR: done
[2025-01-07 06:40:05] Production.INFO: Date 2024-12-16
[2025-01-07 06: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-07 06:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:40:05] Production.INFO: count ==21
[2025-01-07 06:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 06:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14193125', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 06:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14193124') start
[2025-01-07 06:40:05] Production.INFO: Date 2024-12-17
[2025-01-07 06:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:40:05] Production.ERROR: done
[2025-01-07 06:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14193124') end
[2025-01-07 06:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:40:05] Production.INFO: 1
[2025-01-07 06:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:40:05] Production.INFO: Date 2024-12-18
[2025-01-07 06:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:40:05] Production.INFO: Date 2024-12-19
[2025-01-07 06:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:40:05] Production.INFO: Date 2024-12-20
[2025-01-07 06:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:40:05] Production.INFO: ==12396== Releasing lock...
[2025-01-07 06:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:40:05] Production.ERROR: done
[2025-01-07 06:40:05] Production.INFO: Date 2024-12-21
[2025-01-07 06:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:40:05] Production.INFO: Date 2024-12-22
[2025-01-07 06:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:40:05] Production.INFO: Date 2024-12-23
[2025-01-07 06:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:40:05] Production.INFO: Date 2024-12-24
[2025-01-07 06:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:40:05] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 854
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 1.39981
[namelookup_time] => 0.534889
[connect_time] => 0.625124
[pretransfer_time] => 1.087867
[size_upload] => 82
[size_download] => 2755
[speed_download] => 1968
[speed_upload] => 58
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 1.399781
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 2.22.251.19
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 38276
)
[2025-01-07 06:40:05] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTAwMDUsImV4cCI6MTczNjI1MDMwNSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjUwMDA1LCJhdF9oYXNoIjoicHY0Zm5vRlpBZFFRNWswUjFZMG5qUSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.i94qPet24taepNeGIOtVMjdrxL3RsX_2wU1xODzfEU6eVqp9UgqEqvMt__fIWftz7kHGJb8b3LbJEMUX_l1GklAwrnHecK2qyP5n5eHUIDxr92jkoAwFmkCJQMPoH4gvkQvas1is_W0GFPnrRs-lCX-hw3-LEM2dhn83XTA4HDSScKLpOKUM35Gx7g5l6HbW9GH7fWN9DxPiRSA08NM25r5-xRP2kXINECII9_WyytgbcIzXT2s_Qr34H8mm4rFFtl7cfsSCK7mLQ8g_rgL1B860AGdi8SksPnTgzM3yftRTQ4ih_seqdgffxee3pTPqHi8B3eycYpMg2iLN9rohOA
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTAwMDUsImV4cCI6MTczNjI1MTgwNSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.LWqLS49b_gfdcDA5wiPP3_hk2gaSkX1YrKc6EO0Xaf7FST88W7_wTaQgTK3lY9xy-shcxhqg2f9C9meL3pDzw5rBFQb7XfhkB-GtveWM3UVr1SjHysA9YMIPsGI-F9A0UUKAtkF25PSX8seLBzOXlq4_RIYj194ocEdTa63hAS8R4aQ3q7Zg88rKf0Ck4kByZj9b9s5VCHIeqNWWYtMZxAh9UTvFMeKOaBLY5SDXZTcCnCkDpCkaWwJfnOMQ-zHxaYdusdL_Pkxs_AOSkS927PCYrN3KzZqAZxv0yuFeZQlP2ChVJ064lF69Gvcdj81AUYMQUHBZS07Efr1f5FIzpQ
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => i8V3uY9uH_WP3Q8nRZQpbba6LHbQvC9pKP-IyV68Wgw
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 06:40:05] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTAwMDUsImV4cCI6MTczNjI1MDMwNSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjUwMDA1LCJhdF9oYXNoIjoicHY0Zm5vRlpBZFFRNWswUjFZMG5qUSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.i94qPet24taepNeGIOtVMjdrxL3RsX_2wU1xODzfEU6eVqp9UgqEqvMt__fIWftz7kHGJb8b3LbJEMUX_l1GklAwrnHecK2qyP5n5eHUIDxr92jkoAwFmkCJQMPoH4gvkQvas1is_W0GFPnrRs-lCX-hw3-LEM2dhn83XTA4HDSScKLpOKUM35Gx7g5l6HbW9GH7fWN9DxPiRSA08NM25r5-xRP2kXINECII9_WyytgbcIzXT2s_Qr34H8mm4rFFtl7cfsSCK7mLQ8g_rgL1B860AGdi8SksPnTgzM3yftRTQ4ih_seqdgffxee3pTPqHi8B3eycYpMg2iLN9rohOA
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTAwMDUsImV4cCI6MTczNjI1MTgwNSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.LWqLS49b_gfdcDA5wiPP3_hk2gaSkX1YrKc6EO0Xaf7FST88W7_wTaQgTK3lY9xy-shcxhqg2f9C9meL3pDzw5rBFQb7XfhkB-GtveWM3UVr1SjHysA9YMIPsGI-F9A0UUKAtkF25PSX8seLBzOXlq4_RIYj194ocEdTa63hAS8R4aQ3q7Zg88rKf0Ck4kByZj9b9s5VCHIeqNWWYtMZxAh9UTvFMeKOaBLY5SDXZTcCnCkDpCkaWwJfnOMQ-zHxaYdusdL_Pkxs_AOSkS927PCYrN3KzZqAZxv0yuFeZQlP2ChVJ064lF69Gvcdj81AUYMQUHBZS07Efr1f5FIzpQ
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => i8V3uY9uH_WP3Q8nRZQpbba6LHbQvC9pKP-IyV68Wgw
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 06:40:05] Production.INFO: Date 2024-12-25
[2025-01-07 06:40:05] Production.INFO: AccountID 18
[2025-01-07 06:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:40:05] Production.INFO: AccountName Sivananda Ashram Yoga Retreat
[2025-01-07 06:40:05] Production.INFO: Checkcustomer
[2025-01-07 06:40:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Sivananda%20Ashram%20Yoga%20Retreat"
[2025-01-07 06:40:05] Production.INFO: Date 2024-12-26
[2025-01-07 06:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:40:05] Production.INFO: Date 2024-12-27
[2025-01-07 06:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:40:05] Production.INFO: Date 2024-12-28
[2025-01-07 06:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:40:05] Production.INFO: Date 2024-12-29
[2025-01-07 06:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:40:06] Production.INFO: Date 2024-12-30
[2025-01-07 06:40:06] Production.INFO: Reseller ==> 0
[2025-01-07 06:40:06] Production.INFO: Date 2024-12-31
[2025-01-07 06:40:06] Production.INFO: Reseller ==> 0
[2025-01-07 06:40:06] Production.INFO: Date 2025-01-01
[2025-01-07 06:40:06] Production.INFO: Reseller ==> 0
[2025-01-07 06:40:06] Production.INFO: Date 2025-01-02
[2025-01-07 06:40:06] Production.INFO: Reseller ==> 0
[2025-01-07 06:40:06] Production.INFO: Date 2025-01-03
[2025-01-07 06:40:06] Production.INFO: Reseller ==> 0
[2025-01-07 06:40:06] Production.INFO: Date 2025-01-04
[2025-01-07 06:40:06] Production.INFO: Reseller ==> 0
[2025-01-07 06:40:06] Production.INFO: Date 2025-01-05
[2025-01-07 06:40:06] Production.INFO: Reseller ==> 0
[2025-01-07 06:40:06] Production.INFO: Date 2025-01-06
[2025-01-07 06:40:06] Production.INFO: Reseller ==> 0
[2025-01-07 06:40:06] Production.INFO: Date 2025-01-07
[2025-01-07 06:40:06] Production.INFO: Reseller ==> 0
[2025-01-07 06:40:06] Production.INFO: Total Charge 0
[2025-01-07 06:40:06] Production.INFO: CreateAllLog End
[2025-01-07 06:40:06] Production.INFO: Account Balance End.
[2025-01-07 06:40:06] Production.ERROR: CronJobId end 12
[2025-01-07 06:40:06] Production.INFO: ==12390== Releasing lock...
[2025-01-07 06:40:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:40:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:40:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:40:07
[end_date_ymd] => 2025-01-07 06:40:07
[RateCDR] => 1
)
[2025-01-07 06:40:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 03:40:07' and `end` < '2025-01-07 06:40:07'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 06:40:08] Production.INFO: Contact id print CheckCustomer Case===64c07100-e054-4831-b9c1-0c728c4e9ba3
[2025-01-07 06:40:08] Production.INFO: -- count --1
[2025-01-07 06:40:08] Production.INFO: AccountID 18
[2025-01-07 06:40:08] Production.INFO: AccountName Sivananda Ashram Yoga Retreat
[2025-01-07 06:40:08] Production.INFO: Checkcustomer
[2025-01-07 06:40:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Sivananda%20Ashram%20Yoga%20Retreat"
[2025-01-07 06:40:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14193125', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 06:40:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 06:40:10] Production.INFO: ProcessCDR(1,14193125,1,1,2)
[2025-01-07 06:40:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14193125,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:40:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14193125,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:40:10] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:40:10] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:40:10] Production.INFO: ==12394== Releasing lock...
[2025-01-07 06:40:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 06:40:10] Production.INFO: 26 MB #Memory Used#
[2025-01-07 06:40:10] Production.INFO: Contact id print CheckCustomer Case===64c07100-e054-4831-b9c1-0c728c4e9ba3
[2025-01-07 06:40:10] Production.INFO: -- count --1
[2025-01-07 06:40:10] Production.INFO: -- Xero Add Inovice --
[2025-01-07 06:40:10] Production.INFO: CheckInvoice xerov2: INV11091
[2025-01-07 06:40:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11091
[2025-01-07 06:40:13] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 06:40:13] Production.INFO: Invoice SubTotal 364.830000
[2025-01-07 06:40:13] Production.INFO: Invoice DetTotal 364.83
[2025-01-07 06:40:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Sivananda%20Ashram%20Yoga%20Retreat"
[2025-01-07 06:40:15] Production.ERROR: CronJobId end10
[2025-01-07 06:40:15] Production.INFO: ==12388== Releasing lock...
[2025-01-07 06:40:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:40:15] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:40:16] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:40:16] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:40:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 06:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:40:16] Production.INFO: call_cost start
[2025-01-07 06:40:16] Production.INFO: call_cost end
[2025-01-07 06:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:40:17] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:40:17] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:40:17] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:40:17] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:40:17] Production.INFO: ==12384== Releasing lock...
[2025-01-07 06:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:40:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 06:40:20] Production.INFO: count ==71
[2025-01-07 06:40:20] Production.ERROR: pbx CDR StartTime 2025-01-07 03:40:07 - End Time 2025-01-07 06:40:07
[2025-01-07 06:40:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193126', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193126', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193126', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193126', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:40:20] Production.INFO: ProcessCDR(1,14193126,1,1,2)
[2025-01-07 06:40:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193126,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:40:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193126,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:40:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193126,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:40:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 06:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193126,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193126', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193126', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:40:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:40:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:40:23] Production.INFO: ==12392== Releasing lock...
[2025-01-07 06:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:40:23] Production.INFO: 28 MB #Memory Used#
[2025-01-07 06:40:23] Production.INFO: =========Invoices String here======{AccountCode : 234,DiscountRate : 0.000000,"Description": " From 10-21-2024 To 11-20-2024",Quantity : 1,UnitAmount : 14.830000,LineAmount : 14.830000},{AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 35,UnitAmount : 10.000000,LineAmount : 350.000000}
[2025-01-07 06:40:26] Production.INFO: ==== result =====
[2025-01-07 06:40:26] Production.INFO: {
"Id": "28073bd9-654c-4870-a303-e6ba8990bb55",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736250026081)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "a7b6560d-ce0b-4fba-b5cc-cc0948bbb28f",
"InvoiceNumber": "INV11091",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 412.26,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "64c07100-e054-4831-b9c1-0c728c4e9ba3",
"ContactStatus": "ACTIVE",
"Name": "Sivananda Ashram Yoga Retreat",
"FirstName": "Carol",
"LastName": "",
"EmailAddress": "ap.yogaretreat@sivananda.org",
"BankAccountDetails": "",
"TaxNumber": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"AddressLine1": "P.O. Box N7550",
"AddressLine2": "Paradise Island",
"AddressLine3": "",
"AddressLine4": "",
"City": "Nassau, Bahamas",
"Region": "",
"PostalCode": "",
"Country": "",
"AttentionTo": "Carol"
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "(416) 4790199",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "4164790199",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1562268236110+0000)\/",
"ContactGroups": [
{
"ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58",
"Name": "Benjamin's Customers",
"Status": "ACTIVE",
"Contacts": [],
"HasValidationErrors": false
}
],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-11-21T00:00:00",
"Date": "\/Date(1732147200000+0000)\/",
"DueDateString": "2024-11-28T00:00:00",
"DueDate": "\/Date(1732752000000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "From 10-21-2024 To 11-20-2024",
"UnitAmount": 14.83,
"TaxType": "OUTPUT",
"TaxAmount": 1.93,
"LineAmount": 14.83,
"AccountCode": "234",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "ac563650-8445-4907-bb4a-b8b72fda7943",
"AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "License for a Pay As You Go Cloud Phone extension",
"UnitAmount": 10.00,
"TaxType": "OUTPUT",
"TaxAmount": 45.50,
"LineAmount": 350.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 35.0000,
"DiscountRate": 0.00,
"LineItemID": "ca9a80bd-61f9-47b9-8332-e7b8061bd77d",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 364.83,
"TotalTax": 47.43,
"Total": 412.26,
"UpdatedDateUTC": "\/Date(1736250025973+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 06:40:26] Production.INFO: -- Create Invoice id --a7b6560d-ce0b-4fba-b5cc-cc0948bbb28f
[2025-01-07 06:40:26] Production.INFO: -- Create Invoice Done --
[2025-01-07 06:40:26] Production.INFO: CheckInvoice xerov2: INV11249
[2025-01-07 06:40:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11249
[2025-01-07 06:40:31] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 06:40:31] Production.INFO: Invoice SubTotal 374.250000
[2025-01-07 06:40:31] Production.INFO: Invoice DetTotal 374.25
[2025-01-07 06:40:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Sivananda%20Ashram%20Yoga%20Retreat"
[2025-01-07 06:40:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 06:40:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 06:40:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 06:40:41] Production.INFO: =========Invoices String here======{AccountCode : 234,DiscountRate : 0.000000,"Description": " From 11-21-2024 To 12-20-2024",Quantity : 1,UnitAmount : 24.250000,LineAmount : 24.250000},{AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 35,UnitAmount : 10.000000,LineAmount : 350.000000}
[2025-01-07 06:40:44] Production.INFO: ==== result =====
[2025-01-07 06:40:44] Production.INFO: {
"Id": "b084ceaf-030f-44ff-b054-37f97b116745",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736250044761)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "c47b9e94-d855-4688-bec2-fdc0b4abca6d",
"InvoiceNumber": "INV11249",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 422.90,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "64c07100-e054-4831-b9c1-0c728c4e9ba3",
"ContactStatus": "ACTIVE",
"Name": "Sivananda Ashram Yoga Retreat",
"FirstName": "Carol",
"LastName": "",
"EmailAddress": "ap.yogaretreat@sivananda.org",
"BankAccountDetails": "",
"TaxNumber": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"AddressLine1": "P.O. Box N7550",
"AddressLine2": "Paradise Island",
"AddressLine3": "",
"AddressLine4": "",
"City": "Nassau, Bahamas",
"Region": "",
"PostalCode": "",
"Country": "",
"AttentionTo": "Carol"
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "(416) 4790199",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "4164790199",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1562268236110+0000)\/",
"ContactGroups": [
{
"ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58",
"Name": "Benjamin's Customers",
"Status": "ACTIVE",
"Contacts": [],
"HasValidationErrors": false
}
],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-21T00:00:00",
"Date": "\/Date(1734739200000+0000)\/",
"DueDateString": "2024-12-28T00:00:00",
"DueDate": "\/Date(1735344000000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "From 11-21-2024 To 12-20-2024",
"UnitAmount": 24.25,
"TaxType": "OUTPUT",
"TaxAmount": 3.15,
"LineAmount": 24.25,
"AccountCode": "234",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "0e6a6954-2b8f-4fb4-9599-b864d7ffa982",
"AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "License for a Pay As You Go Cloud Phone extension",
"UnitAmount": 10.00,
"TaxType": "OUTPUT",
"TaxAmount": 45.50,
"LineAmount": 350.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 35.0000,
"DiscountRate": 0.00,
"LineItemID": "39e9816f-84e5-4872-b296-8090704c462c",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 374.25,
"TotalTax": 48.65,
"Total": 422.90,
"UpdatedDateUTC": "\/Date(1736250044700+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 06:40:44] Production.INFO: -- Create Invoice id --c47b9e94-d855-4688-bec2-fdc0b4abca6d
[2025-01-07 06:40:44] Production.INFO: -- Create Invoice Done --
[2025-01-07 06:40:44] Production.INFO: -- Xero End Inovice --
[2025-01-07 06:40:44] Production.INFO: ==12380== Releasing lock...
[2025-01-07 06:40:44] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10453 #Stops#
[2025-01-07 06:40:44] Production.INFO: 30.75 MB #Memory Used#
[2025-01-07 11:41:01] Production.INFO: ==12468== Lock acquired, processing the job...
[2025-01-07 11:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:41:01] Production.INFO: neon service started
[2025-01-07 11:41:01] Production.INFO: neon service started
[2025-01-07 11:41:01] Production.INFO: ==12468== Releasing lock...
[2025-01-07 11:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:41:01] Production.INFO: ==12470== Lock acquired, processing the job...
[2025-01-07 06:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:41:02] Production.INFO: ==12470== Releasing lock...
[2025-01-07 06:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:41:02] Production.INFO: ==12472== Lock acquired, processing the job...
[2025-01-07 11:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:41:02] Production.INFO: ==12472== Releasing lock...
[2025-01-07 11:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:41:02] Production.INFO: ==12481== Lock acquired, processing the job...
[2025-01-07 06:41:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:41:03] Production.INFO: ==12483== Lock acquired, processing the job...
[2025-01-07 06:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:41:03] Production.INFO: ==12474== Lock acquired, processing the job...
[2025-01-07 06:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:41:03] Production.INFO: Account Balance Start.
[2025-01-07 06:41:03] Production.INFO: CreateAllLog Start
[2025-01-07 06:41:03] Production.INFO: 117
[2025-01-07 06:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:41:03] Production.INFO: Date 2024-12-08
[2025-01-07 06:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:41:03] Production.INFO: ==12476== Lock acquired, processing the job...
[2025-01-07 06:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:41:03] Production.INFO: Date 2024-12-09
[2025-01-07 06:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:41:03] Production.INFO: Date 2024-12-10
[2025-01-07 06:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:41:03] Production.INFO: ==12478== Lock acquired, processing the job...
[2025-01-07 06:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:41:03] Production.INFO: Date 2024-12-11
[2025-01-07 06:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:41:03] Production.INFO: Date 2024-12-12
[2025-01-07 06:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:41:03] Production.INFO: ==12485== Lock acquired, processing the job...
[2025-01-07 06:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:41:03] Production.INFO: Date 2024-12-13
[2025-01-07 06:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:41:03] Production.INFO: Date 2024-12-14
[2025-01-07 06:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:41:03] Production.ERROR: done
[2025-01-07 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-07 06:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:41:03] Production.INFO: Date 2024-12-15
[2025-01-07 06:41:03] Production.INFO: count ==21
[2025-01-07 06:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 06:41:03] Production.INFO: count ==21
[2025-01-07 06:41:03] Production.ERROR: done
[2025-01-07 06:41:03] Production.INFO: Date 2024-12-16
[2025-01-07 06:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193130') start
[2025-01-07 06:41:03] Production.INFO: Date 2024-12-17
[2025-01-07 06:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193130') end
[2025-01-07 06:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:41:03] Production.INFO: 1
[2025-01-07 06:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:41:03] Production.INFO: Date 2024-12-18
[2025-01-07 06:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:41:03] Production.INFO: ==12476== Releasing lock...
[2025-01-07 06:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:41:03] Production.INFO: Date 2024-12-19
[2025-01-07 06:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:41:03] Production.INFO: Date 2024-12-20
[2025-01-07 06:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:41:03] Production.INFO: ==12485== Releasing lock...
[2025-01-07 06:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:41:03] Production.INFO: Date 2024-12-21
[2025-01-07 06:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:41:03] Production.INFO: Date 2024-12-22
[2025-01-07 06:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:41:03] Production.INFO: Date 2024-12-23
[2025-01-07 06:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:41:03] Production.INFO: Date 2024-12-24
[2025-01-07 06:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:41:03] Production.INFO: Date 2024-12-25
[2025-01-07 06:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:41:04] Production.INFO: Date 2024-12-26
[2025-01-07 06:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:41:04] Production.INFO: Date 2024-12-27
[2025-01-07 06:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:41:04] Production.INFO: Date 2024-12-28
[2025-01-07 06:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:41:04] Production.INFO: Date 2024-12-29
[2025-01-07 06:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:41:04] Production.INFO: Date 2024-12-30
[2025-01-07 06:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:41:04] Production.INFO: Date 2024-12-31
[2025-01-07 06:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:41:04] Production.INFO: Date 2025-01-01
[2025-01-07 06:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:41:04] Production.INFO: Date 2025-01-02
[2025-01-07 06:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:41:04] Production.INFO: Date 2025-01-03
[2025-01-07 06:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:41:04] Production.INFO: Date 2025-01-04
[2025-01-07 06:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:41:04] Production.INFO: Date 2025-01-05
[2025-01-07 06:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:41:04] Production.INFO: Date 2025-01-06
[2025-01-07 06:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:41:04] Production.INFO: Date 2025-01-07
[2025-01-07 06:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:41:04
[end_date_ymd] => 2025-01-07 06:41:04
[RateCDR] => 1
)
[2025-01-07 06:41:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 03:41:04' and `end` < '2025-01-07 06:41:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 06:41:04] Production.INFO: Total Charge 0
[2025-01-07 06:41:04] Production.INFO: CreateAllLog End
[2025-01-07 06:41:04] Production.INFO: Account Balance End.
[2025-01-07 06:41:04] Production.ERROR: CronJobId end 12
[2025-01-07 06:41:04] Production.INFO: ==12481== Releasing lock...
[2025-01-07 06:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:41:10] Production.ERROR: CronJobId end10
[2025-01-07 06:41:10] Production.INFO: ==12478== Releasing lock...
[2025-01-07 06:41:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:41:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:41:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:41:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:41:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:41:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:41:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:41:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:41:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:41:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:41:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:41:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:41:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:41:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:41:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:41:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:41:12] Production.INFO: call_cost start
[2025-01-07 06:41:12] Production.INFO: call_cost end
[2025-01-07 06:41:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:41:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:41:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:41:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:41:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:41:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:41:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:41:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:41:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:41:13] Production.INFO: ==12474== Releasing lock...
[2025-01-07 06:41:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:41:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:41:17] Production.INFO: count ==71
[2025-01-07 06:41:17] Production.ERROR: pbx CDR StartTime 2025-01-07 03:41:04 - End Time 2025-01-07 06:41:04
[2025-01-07 06:41:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193131', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193131', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193131', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193131', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:41:17] Production.INFO: ProcessCDR(1,14193131,1,1,2)
[2025-01-07 06:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193131,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:41:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193131,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:41:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193131,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:41:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193131,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:41:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193131', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:41:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193131', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:41:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:41:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:41:20] Production.INFO: ==12483== Releasing lock...
[2025-01-07 06:41:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:41:20] Production.INFO: 28 MB #Memory Used#
[2025-01-07 11:42:01] Production.INFO: ==12542== Lock acquired, processing the job...
[2025-01-07 11:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:42:01] Production.INFO: neon service started
[2025-01-07 11:42:01] Production.INFO: neon service started
[2025-01-07 11:42:01] Production.INFO: ==12542== Releasing lock...
[2025-01-07 11:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:42:02] Production.INFO: ==12544== Lock acquired, processing the job...
[2025-01-07 06:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:42:02] Production.INFO: ==12544== Releasing lock...
[2025-01-07 06:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:42:02] Production.INFO: ==12546== Lock acquired, processing the job...
[2025-01-07 11:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:42:02] Production.INFO: ==12546== Releasing lock...
[2025-01-07 11:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:42:03] Production.INFO: ==12548== Lock acquired, processing the job...
[2025-01-07 06:42:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10454 #Starts#
[2025-01-07 06:42:03] Production.INFO: ==12550== Lock acquired, processing the job...
[2025-01-07 06:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:42:03] Production.INFO: -- Xero Api Check --
[2025-01-07 06:42:03] Production.INFO: ==12556== Lock acquired, processing the job...
[2025-01-07 06:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:42:03] Production.INFO: Account Balance Start.
[2025-01-07 06:42:03] Production.INFO: CreateAllLog Start
[2025-01-07 06:42:03] Production.INFO: 117
[2025-01-07 06:42:03] Production.INFO: Date 2024-12-08
[2025-01-07 06:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:42:03] Production.INFO: Date 2024-12-09
[2025-01-07 06:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:42:03] Production.INFO: Date 2024-12-10
[2025-01-07 06:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:42:03] Production.INFO: Date 2024-12-11
[2025-01-07 06:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:42:03] Production.INFO: Date 2024-12-12
[2025-01-07 06:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:42:03] Production.INFO: Date 2024-12-13
[2025-01-07 06:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:42:03] Production.INFO: Date 2024-12-14
[2025-01-07 06:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:42:03] Production.INFO: Date 2024-12-15
[2025-01-07 06:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:42:03] Production.INFO: Date 2024-12-16
[2025-01-07 06:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:42:03] Production.INFO: ==12552== Lock acquired, processing the job...
[2025-01-07 06:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:42:03] Production.INFO: Date 2024-12-17
[2025-01-07 06:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:42:03] Production.INFO: Date 2024-12-18
[2025-01-07 06:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:42:03] Production.INFO: ==12554== Lock acquired, processing the job...
[2025-01-07 06:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:42:03] Production.INFO: Date 2024-12-19
[2025-01-07 06:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:42:03] Production.INFO: Date 2024-12-20
[2025-01-07 06:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:42:04] Production.INFO: ==12558== Lock acquired, processing the job...
[2025-01-07 06:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:42:04] Production.INFO: ==12560== Lock acquired, processing the job...
[2025-01-07 06:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:42:04] Production.INFO: Date 2024-12-21
[2025-01-07 06:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:42:04] Production.INFO: Date 2024-12-22
[2025-01-07 06:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:42:04] Production.INFO: Date 2024-12-23
[2025-01-07 06:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:42:04] Production.INFO: Date 2024-12-24
[2025-01-07 06:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:42:04] Production.INFO: Date 2024-12-25
[2025-01-07 06:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:42:04] Production.INFO: count ==21
[2025-01-07 06:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:42:04] Production.INFO: ==12552== Releasing lock...
[2025-01-07 06:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:42:04] Production.INFO: count ==21
[2025-01-07 06:42:04] Production.INFO: Date 2024-12-26
[2025-01-07 06:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193135') start
[2025-01-07 06:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:42:04] Production.ERROR: done
[2025-01-07 06:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:42:04] Production.INFO: Date 2024-12-27
[2025-01-07 06:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193135') end
[2025-01-07 06:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:42:04] Production.INFO: 1
[2025-01-07 06:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:42:04] Production.INFO: ==12560== Releasing lock...
[2025-01-07 06:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:42:04] Production.ERROR: done
[2025-01-07 06:42:04] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 855
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 1.393971
[namelookup_time] => 0.538883
[connect_time] => 0.636674
[pretransfer_time] => 1.098228
[size_upload] => 82
[size_download] => 2755
[speed_download] => 1976
[speed_upload] => 58
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 1.393944
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 2.22.251.19
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 38314
)
[2025-01-07 06:42:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTAxMjQsImV4cCI6MTczNjI1MDQyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjUwMTI0LCJhdF9oYXNoIjoiaFVPd29MdGtpU3pvV3JqSlhJdHprUSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.yASUd4u_xPPEASm0Xjim2yFAJ-kJiFDeAeI-DX0sCoXXifvSVmyvf3TcTWjAAlPor084fTbIBXIdu7XkYJlrE6DRb7-GpEDUq7iKm4UHq7qFSdAdcc0CfnFvYpDvj_28-MA5IZLjsY-tkqxHKolFd9QRlTCvO1YS1ixClhClM468qvM6kt8h_1N4xoNRAiSty-U8sIsK3Tn-7hmStzJao1HGyQPQ34iB8WCpxm8aL5RmvIC3fwIs5X4Cm5OIaxZfnMaFG7jZ1sOfqzqSre35IFV7z_TwShiGOL4V4DbK5WMqhB6eVanPpAiXVQPWy2Se55w1b_0JMQrBeIeB2B1grw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTAxMjQsImV4cCI6MTczNjI1MTkyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.f6GGQd063FgstZ-R51GCqOi5QOZAM05XNzH6FMIYi2ZvbJFtI2kFLONiSHv3SE2ogSrmYGYnMMnhlnIBg0zkcgJ6MwomS64Ex0reYVvrdjzl7JA5oPYWTMIay1QbZqfhBVvdbz7U8W89Lpjxhdww4BMl81DTndoXjrnvwEErw8W-3Omtec2q5ak_XxPFBZgX-MYCJsA7ABofL4wpJf4IEm8sY3ZrKmTG_wRcicIO6CXSWHs63uRrXhoF2pwADHbMHQXak35oj0K9LjpaUedVn98wuercC60sSo46s3PC_hKyvwdpw_WuZDSehRHpZI_38ZEDqFFzPlcf4j1uVUgDkw
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => ACRJZclYkIYTlY-IkEu0i59qaSIW-i8Hrx0w55sAxoI
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 06:42:04] Production.INFO: Date 2024-12-28
[2025-01-07 06:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:42:04] Production.INFO: Date 2024-12-29
[2025-01-07 06:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:42:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTAxMjQsImV4cCI6MTczNjI1MDQyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjUwMTI0LCJhdF9oYXNoIjoiaFVPd29MdGtpU3pvV3JqSlhJdHprUSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.yASUd4u_xPPEASm0Xjim2yFAJ-kJiFDeAeI-DX0sCoXXifvSVmyvf3TcTWjAAlPor084fTbIBXIdu7XkYJlrE6DRb7-GpEDUq7iKm4UHq7qFSdAdcc0CfnFvYpDvj_28-MA5IZLjsY-tkqxHKolFd9QRlTCvO1YS1ixClhClM468qvM6kt8h_1N4xoNRAiSty-U8sIsK3Tn-7hmStzJao1HGyQPQ34iB8WCpxm8aL5RmvIC3fwIs5X4Cm5OIaxZfnMaFG7jZ1sOfqzqSre35IFV7z_TwShiGOL4V4DbK5WMqhB6eVanPpAiXVQPWy2Se55w1b_0JMQrBeIeB2B1grw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTAxMjQsImV4cCI6MTczNjI1MTkyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.f6GGQd063FgstZ-R51GCqOi5QOZAM05XNzH6FMIYi2ZvbJFtI2kFLONiSHv3SE2ogSrmYGYnMMnhlnIBg0zkcgJ6MwomS64Ex0reYVvrdjzl7JA5oPYWTMIay1QbZqfhBVvdbz7U8W89Lpjxhdww4BMl81DTndoXjrnvwEErw8W-3Omtec2q5ak_XxPFBZgX-MYCJsA7ABofL4wpJf4IEm8sY3ZrKmTG_wRcicIO6CXSWHs63uRrXhoF2pwADHbMHQXak35oj0K9LjpaUedVn98wuercC60sSo46s3PC_hKyvwdpw_WuZDSehRHpZI_38ZEDqFFzPlcf4j1uVUgDkw
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => ACRJZclYkIYTlY-IkEu0i59qaSIW-i8Hrx0w55sAxoI
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 06:42:04] Production.INFO: AccountID 153
[2025-01-07 06:42:04] Production.INFO: Date 2024-12-30
[2025-01-07 06:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:42:04] Production.INFO: AccountName Dominos 10191 (Chandresh Patel)
[2025-01-07 06:42:04] Production.INFO: Checkcustomer
[2025-01-07 06:42:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010191%20%28Chandresh%20Patel%29"
[2025-01-07 06:42:04] Production.INFO: Date 2024-12-31
[2025-01-07 06:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:42:04] Production.INFO: Date 2025-01-01
[2025-01-07 06:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:42:04] Production.INFO: Date 2025-01-02
[2025-01-07 06:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:42:04] Production.INFO: Date 2025-01-03
[2025-01-07 06:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:42:05] Production.INFO: Date 2025-01-04
[2025-01-07 06:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:42:05] Production.INFO: Date 2025-01-05
[2025-01-07 06:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:42:05] Production.INFO: Date 2025-01-06
[2025-01-07 06:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:42:05] Production.INFO: Date 2025-01-07
[2025-01-07 06:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:42:05] Production.INFO: Total Charge 0
[2025-01-07 06:42:05] Production.INFO: CreateAllLog End
[2025-01-07 06:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:42:05
[end_date_ymd] => 2025-01-07 06:42:05
[RateCDR] => 1
)
[2025-01-07 06:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 03:42:05' and `end` < '2025-01-07 06:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 06:42:05] Production.INFO: Account Balance End.
[2025-01-07 06:42:05] Production.ERROR: CronJobId end 12
[2025-01-07 06:42:05] Production.INFO: ==12556== Releasing lock...
[2025-01-07 06:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:42:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:42:07] Production.INFO: Contact id print CheckCustomer Case===a1f84b26-3d74-4603-893d-c86292f301ef
[2025-01-07 06:42:07] Production.INFO: -- count --1
[2025-01-07 06:42:07] Production.INFO: AccountID 154
[2025-01-07 06:42:07] Production.INFO: AccountName Dominos 10385 (Sandeep Chaudhari)
[2025-01-07 06:42:07] Production.INFO: Checkcustomer
[2025-01-07 06:42:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010385%20%28Sandeep%20Chaudhari%29"
[2025-01-07 06:42:09] Production.INFO: Contact id print CheckCustomer Case===f21476d6-c1e8-4e8b-b2a8-87f68276aedf
[2025-01-07 06:42:09] Production.INFO: -- count --1
[2025-01-07 06:42:09] Production.INFO: AccountID 124
[2025-01-07 06:42:09] Production.INFO: AccountName Dominos 39009 (Mudassar Zia)
[2025-01-07 06:42:09] Production.INFO: Checkcustomer
[2025-01-07 06:42:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039009%20%28Mudassar%20Zia%29"
[2025-01-07 06:42:11] Production.ERROR: CronJobId end10
[2025-01-07 06:42:11] Production.INFO: ==12554== Releasing lock...
[2025-01-07 06:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:42:11] Production.INFO: Contact id print CheckCustomer Case===40c47681-8e37-4e12-be60-e7c71250891f
[2025-01-07 06:42:11] Production.INFO: -- count --1
[2025-01-07 06:42:11] Production.INFO: -- Xero Add Inovice --
[2025-01-07 06:42:11] Production.INFO: CheckInvoice xerov2: INV11317
[2025-01-07 06:42:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11317
[2025-01-07 06:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:42:13] Production.INFO: call_cost start
[2025-01-07 06:42:13] Production.INFO: call_cost end
[2025-01-07 06:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:42:14] Production.INFO: ==12550== Releasing lock...
[2025-01-07 06:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:42:15] Production.INFO: Check Invoice Id XEROV21
[2025-01-07 06:42:15] Production.INFO: -- Create Invoice Done --
[2025-01-07 06:42:15] Production.INFO: CheckInvoice xerov2: INV11318
[2025-01-07 06:42:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11318
[2025-01-07 06:42:17] Production.INFO: Check Invoice Id XEROV21
[2025-01-07 06:42:17] Production.INFO: -- Create Invoice Done --
[2025-01-07 06:42:17] Production.INFO: CheckInvoice xerov2: INV11316
[2025-01-07 06:42:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11316
[2025-01-07 06:42:19] Production.INFO: count ==72
[2025-01-07 06:42:19] Production.ERROR: pbx CDR StartTime 2025-01-07 03:42:05 - End Time 2025-01-07 06:42:05
[2025-01-07 06:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193136', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193136', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193136', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193136', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:42:20] Production.INFO: ProcessCDR(1,14193136,1,1,2)
[2025-01-07 06:42:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193136,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:42:20] Production.INFO: Check Invoice Id XEROV21
[2025-01-07 06:42:20] Production.INFO: -- Create Invoice Done --
[2025-01-07 06:42:20] Production.INFO: -- Xero End Inovice --
[2025-01-07 06:42:20] Production.INFO: ==12548== Releasing lock...
[2025-01-07 06:42:20] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10454 #Stops#
[2025-01-07 06:42:20] Production.INFO: 27.25 MB #Memory Used#
[2025-01-07 06:42:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193136,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:42:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193136,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:42:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193136,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:42:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193136', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:42:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193136', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:42:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:42:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:42:24] Production.INFO: ==12558== Releasing lock...
[2025-01-07 06:42:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:42:24] Production.INFO: 28 MB #Memory Used#
[2025-01-07 11:43:01] Production.INFO: ==12623== Lock acquired, processing the job...
[2025-01-07 11:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:43:01] Production.INFO: neon service started
[2025-01-07 11:43:01] Production.INFO: neon service started
[2025-01-07 11:43:01] Production.INFO: ==12623== Releasing lock...
[2025-01-07 11:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:43:01] Production.INFO: ==12627== Lock acquired, processing the job...
[2025-01-07 11:43:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:43:01] Production.INFO: ==12627== Releasing lock...
[2025-01-07 11:43:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:43:01] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:43:01] Production.INFO: ==12625== Lock acquired, processing the job...
[2025-01-07 06:43:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:43:02] Production.INFO: ==12625== Releasing lock...
[2025-01-07 06:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:43:02] Production.INFO: ==12633== Lock acquired, processing the job...
[2025-01-07 06:43:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:43:02] Production.INFO: ==12640== Lock acquired, processing the job...
[2025-01-07 06:43:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:43:02] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:43:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:43:02] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:43:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:43:03] Production.INFO: ==12629== Lock acquired, processing the job...
[2025-01-07 06:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:43:03] Production.INFO: ==12631== Lock acquired, processing the job...
[2025-01-07 06:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 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-07 06:43:03] Production.INFO: ==12636== Lock acquired, processing the job...
[2025-01-07 06:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:43:03] Production.INFO: count ==21
[2025-01-07 06:43:03] Production.INFO: ==12638== Lock acquired, processing the job...
[2025-01-07 06:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 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-07 06:43:03] Production.INFO: count ==21
[2025-01-07 06:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193137') start
[2025-01-07 06:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:43:03] Production.INFO: Account Balance Start.
[2025-01-07 06:43:03] Production.INFO: CreateAllLog Start
[2025-01-07 06:43:03] Production.INFO: 117
[2025-01-07 06:43:03] Production.INFO: ==12631== Releasing lock...
[2025-01-07 06:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193137') end
[2025-01-07 06:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:43:03] Production.INFO: 1
[2025-01-07 06:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:43:03] Production.INFO: Date 2024-12-08
[2025-01-07 06:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:43:03] Production.INFO: ==12640== Releasing lock...
[2025-01-07 06:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:43:03] Production.ERROR: done
[2025-01-07 06:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:43:03] Production.INFO: Date 2024-12-09
[2025-01-07 06:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:43:03] Production.INFO: Date 2024-12-10
[2025-01-07 06:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:43:03] Production.ERROR: done
[2025-01-07 06:43:03] Production.INFO: Date 2024-12-11
[2025-01-07 06:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:43:03] Production.INFO: Date 2024-12-12
[2025-01-07 06:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:43:03] Production.INFO: Date 2024-12-13
[2025-01-07 06:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:43:03] Production.INFO: Date 2024-12-14
[2025-01-07 06:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:43:03] Production.INFO: Date 2024-12-15
[2025-01-07 06:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:43:03] Production.INFO: Date 2024-12-16
[2025-01-07 06:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:43:04] Production.INFO: Date 2024-12-17
[2025-01-07 06:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:43:04] Production.INFO: Date 2024-12-18
[2025-01-07 06:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:43:04] Production.INFO: Date 2024-12-19
[2025-01-07 06:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:43:04] Production.INFO: Date 2024-12-20
[2025-01-07 06:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:43:04] Production.INFO: Date 2024-12-21
[2025-01-07 06:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:43:04] Production.INFO: Date 2024-12-22
[2025-01-07 06:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:43:04] Production.INFO: Date 2024-12-23
[2025-01-07 06:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:43:04] Production.INFO: Date 2024-12-24
[2025-01-07 06:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:43:04] Production.INFO: Date 2024-12-25
[2025-01-07 06:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:43:04] Production.INFO: Date 2024-12-26
[2025-01-07 06:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:43:04] Production.INFO: Date 2024-12-27
[2025-01-07 06:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:43:04] Production.INFO: Date 2024-12-28
[2025-01-07 06:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:43:04] Production.INFO: Date 2024-12-29
[2025-01-07 06:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:43:04] Production.INFO: Date 2024-12-30
[2025-01-07 06:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:43:04] Production.INFO: Date 2024-12-31
[2025-01-07 06:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:43:04] Production.INFO: Date 2025-01-01
[2025-01-07 06:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:43:04] Production.INFO: Date 2025-01-02
[2025-01-07 06:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:43:04] Production.INFO: Date 2025-01-03
[2025-01-07 06:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:43:04] Production.INFO: Date 2025-01-04
[2025-01-07 06:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:43:04] Production.INFO: Date 2025-01-05
[2025-01-07 06:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:43:04] Production.INFO: Date 2025-01-06
[2025-01-07 06:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:43:04] Production.INFO: Date 2025-01-07
[2025-01-07 06:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:43:04] Production.INFO: Total Charge 0
[2025-01-07 06:43:04] Production.INFO: CreateAllLog End
[2025-01-07 06:43:04] Production.INFO: Account Balance End.
[2025-01-07 06:43:05] Production.ERROR: CronJobId end 12
[2025-01-07 06:43:05] Production.INFO: ==12636== Releasing lock...
[2025-01-07 06:43:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:43:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:43:05
[end_date_ymd] => 2025-01-07 06:43:05
[RateCDR] => 1
)
[2025-01-07 06:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 03:43:05' and `end` < '2025-01-07 06:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 06:43:10] Production.ERROR: CronJobId end10
[2025-01-07 06:43:10] Production.INFO: ==12633== Releasing lock...
[2025-01-07 06:43:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:43:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:43:13] Production.INFO: call_cost start
[2025-01-07 06:43:13] Production.INFO: call_cost end
[2025-01-07 06:43:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:43:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:43:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:43:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:43:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:43:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:43:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:43:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:43:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:43:13] Production.INFO: ==12629== Releasing lock...
[2025-01-07 06:43:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:43:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:43:18] Production.INFO: count ==72
[2025-01-07 06:43:18] Production.ERROR: pbx CDR StartTime 2025-01-07 03:43:05 - End Time 2025-01-07 06:43:05
[2025-01-07 06:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193141', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193141', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193141', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193141', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:43:18] Production.INFO: ProcessCDR(1,14193141,1,1,2)
[2025-01-07 06:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193141,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193141,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193141,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193141,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193141', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193141', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:43:21] Production.INFO: ==12638== Releasing lock...
[2025-01-07 06:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:43:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 11:44:01] Production.INFO: ==12700== Lock acquired, processing the job...
[2025-01-07 11:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:44:01] Production.INFO: neon service started
[2025-01-07 11:44:01] Production.INFO: neon service started
[2025-01-07 11:44:01] Production.INFO: ==12700== Releasing lock...
[2025-01-07 11:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:44:02] Production.INFO: ==12704== Lock acquired, processing the job...
[2025-01-07 11:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:44:02] Production.INFO: ==12702== Lock acquired, processing the job...
[2025-01-07 06:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:44:02] Production.INFO: ==12704== Releasing lock...
[2025-01-07 11:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:44:02] Production.INFO: ==12702== Releasing lock...
[2025-01-07 06:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:44:03] Production.INFO: ==12707== Lock acquired, processing the job...
[2025-01-07 06:44:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10455 #Starts#
[2025-01-07 06:44:03] Production.INFO: -- Xero Api Check --
[2025-01-07 06:44:03] Production.INFO: ==12709== Lock acquired, processing the job...
[2025-01-07 06:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:44:03] Production.INFO: ==12711== Lock acquired, processing the job...
[2025-01-07 06:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:44:03] Production.INFO: ==12713== Lock acquired, processing the job...
[2025-01-07 06:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:44:03] Production.INFO: ==12715== Lock acquired, processing the job...
[2025-01-07 06:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:44:03] Production.INFO: ==12719== Lock acquired, processing the job...
[2025-01-07 06:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:44:03] Production.INFO: ==12717== Lock acquired, processing the job...
[2025-01-07 06:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:44:03] Production.INFO: Account Balance Start.
[2025-01-07 06:44:03] Production.INFO: CreateAllLog Start
[2025-01-07 06:44:03] Production.INFO: 117
[2025-01-07 06:44:03] Production.INFO: Date 2024-12-08
[2025-01-07 06:44:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 06:44:03] Production.INFO: Date 2024-12-09
[2025-01-07 06:44:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:44:04] Production.INFO: count ==21
[2025-01-07 06:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:44:04] Production.INFO: ==12711== Releasing lock...
[2025-01-07 06:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:44:04] Production.INFO: count ==21
[2025-01-07 06:44:04] Production.INFO: Date 2024-12-10
[2025-01-07 06:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193145') start
[2025-01-07 06:44:04] Production.INFO: Date 2024-12-11
[2025-01-07 06:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:44:04] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 855
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.579729
[namelookup_time] => 0.283665
[connect_time] => 0.286338
[pretransfer_time] => 0.49038
[size_upload] => 82
[size_download] => 2755
[speed_download] => 4752
[speed_upload] => 141
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.579695
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.33
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 41996
)
[2025-01-07 06:44:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTAyNDQsImV4cCI6MTczNjI1MDU0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjUwMjQ0LCJhdF9oYXNoIjoiVHhmZ1lzYjliWnEyR1dkTlpJSndiQSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.lhWlT3sXKA-W1o017k4Wpt0IPiykdBM67t1V3vXaN_6pcDe1e0BtxNBXypaqpnhQRwRHvAG1l6vpEAq5R2fUy-VpoC8fd2R6tl3xnVugAeTUNZ1qb4YlACYPnhuxW69BeRUgVpg5YAEk6di8FLob0xDlgJzoiN2pn4n46lD6EtNCJnWXLiCEOSjaopawXk9SjzfTIVm8yWvCoII4TM43WY0CteRJA8vOvbQ8YpTwChFZINIk_qMBWyPYulRk6kFiD4fopI1MI3fMfRYa_LBaoHZ_dj9iG9CFP2wxTqbDdbJm8MPvxY5JRaAh4ge1A-jLCrunLf1dDsWaX_29M1UcXA
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTAyNDQsImV4cCI6MTczNjI1MjA0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.GwYEdZKgRw925Q2oySuRBpWnZBrKF1lm56AqBGKh51dHiuXxTEZlodm3MJ60KE-Bv90Q1CsBSM780uRcMOo-gTkWJqj-D-zaYecv0C6YBkppOSQ8dEsLR-pnaGKU2ogmH8TdK5szgnM7VVEr0ceZkyyaEqxtt-V3EbxjbyGETd4YyT8R1ZvYBUZO7v8tvCLt3ex1eWzeB4Rbtbp6KEWDMGvyAyM5uksY__w-CtaGK1eWS4410-ztpLFJRZhDuK1zCUCOcuYnKapM76uXuEK61VWQILPqdn5ELbnn98bWw1XAdkzN6wa5A9z_V1bQQgd6NuIvuKCzuWI9Mk3EXRL7mg
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => WS7JGPXqxvUY3PqEGcL7lehKBqxYKd_VJquClY_Q4Xk
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 06:44:04] Production.ERROR: done
[2025-01-07 06:44:04] Production.INFO: Date 2024-12-12
[2025-01-07 06:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:44:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTAyNDQsImV4cCI6MTczNjI1MDU0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjUwMjQ0LCJhdF9oYXNoIjoiVHhmZ1lzYjliWnEyR1dkTlpJSndiQSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.lhWlT3sXKA-W1o017k4Wpt0IPiykdBM67t1V3vXaN_6pcDe1e0BtxNBXypaqpnhQRwRHvAG1l6vpEAq5R2fUy-VpoC8fd2R6tl3xnVugAeTUNZ1qb4YlACYPnhuxW69BeRUgVpg5YAEk6di8FLob0xDlgJzoiN2pn4n46lD6EtNCJnWXLiCEOSjaopawXk9SjzfTIVm8yWvCoII4TM43WY0CteRJA8vOvbQ8YpTwChFZINIk_qMBWyPYulRk6kFiD4fopI1MI3fMfRYa_LBaoHZ_dj9iG9CFP2wxTqbDdbJm8MPvxY5JRaAh4ge1A-jLCrunLf1dDsWaX_29M1UcXA
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTAyNDQsImV4cCI6MTczNjI1MjA0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.GwYEdZKgRw925Q2oySuRBpWnZBrKF1lm56AqBGKh51dHiuXxTEZlodm3MJ60KE-Bv90Q1CsBSM780uRcMOo-gTkWJqj-D-zaYecv0C6YBkppOSQ8dEsLR-pnaGKU2ogmH8TdK5szgnM7VVEr0ceZkyyaEqxtt-V3EbxjbyGETd4YyT8R1ZvYBUZO7v8tvCLt3ex1eWzeB4Rbtbp6KEWDMGvyAyM5uksY__w-CtaGK1eWS4410-ztpLFJRZhDuK1zCUCOcuYnKapM76uXuEK61VWQILPqdn5ELbnn98bWw1XAdkzN6wa5A9z_V1bQQgd6NuIvuKCzuWI9Mk3EXRL7mg
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => WS7JGPXqxvUY3PqEGcL7lehKBqxYKd_VJquClY_Q4Xk
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 06:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193145') end
[2025-01-07 06:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:44:04] Production.INFO: 1
[2025-01-07 06:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:44:04] Production.INFO: AccountID 230
[2025-01-07 06:44:04] Production.INFO: Date 2024-12-13
[2025-01-07 06:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:44:04] Production.INFO: AccountName Harbourfront Medicine Cabinet
[2025-01-07 06:44:04] Production.INFO: Checkcustomer
[2025-01-07 06:44:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Harbourfront%20Medicine%20Cabinet"
[2025-01-07 06:44:04] Production.INFO: ==12719== Releasing lock...
[2025-01-07 06:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:44:04] Production.INFO: Date 2024-12-14
[2025-01-07 06:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:44:04] Production.ERROR: done
[2025-01-07 06:44:04] Production.INFO: Date 2024-12-15
[2025-01-07 06:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:44:04] Production.INFO: Date 2024-12-16
[2025-01-07 06:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:44:04] Production.INFO: Date 2024-12-17
[2025-01-07 06:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:44:04] Production.INFO: Date 2024-12-18
[2025-01-07 06:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:44:04] Production.INFO: Date 2024-12-19
[2025-01-07 06:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:44:04] Production.INFO: Date 2024-12-20
[2025-01-07 06:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:44:04] Production.INFO: Date 2024-12-21
[2025-01-07 06:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:44:04] Production.INFO: Date 2024-12-22
[2025-01-07 06:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:44:04] Production.INFO: Date 2024-12-23
[2025-01-07 06:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:44:04] Production.INFO: Date 2024-12-24
[2025-01-07 06:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:44:04] Production.INFO: Date 2024-12-25
[2025-01-07 06:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:44:04] Production.INFO: Date 2024-12-26
[2025-01-07 06:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:44:04] Production.INFO: Date 2024-12-27
[2025-01-07 06:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:44:04] Production.INFO: Date 2024-12-28
[2025-01-07 06:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:44:04] Production.INFO: Date 2024-12-29
[2025-01-07 06:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:44:04] Production.INFO: Date 2024-12-30
[2025-01-07 06:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:44:04] Production.INFO: Date 2024-12-31
[2025-01-07 06:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:44:04] Production.INFO: Date 2025-01-01
[2025-01-07 06:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:44:04] Production.INFO: Date 2025-01-02
[2025-01-07 06:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:44:04] Production.INFO: Date 2025-01-03
[2025-01-07 06:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:44:04] Production.INFO: Date 2025-01-04
[2025-01-07 06:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:44:04] Production.INFO: Date 2025-01-05
[2025-01-07 06:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:44:04] Production.INFO: Date 2025-01-06
[2025-01-07 06:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:44:05] Production.INFO: Date 2025-01-07
[2025-01-07 06:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:44:05] Production.INFO: Total Charge 0
[2025-01-07 06:44:05] Production.INFO: CreateAllLog End
[2025-01-07 06:44:05] Production.INFO: Account Balance End.
[2025-01-07 06:44:05] Production.ERROR: CronJobId end 12
[2025-01-07 06:44:05] Production.INFO: ==12715== Releasing lock...
[2025-01-07 06:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:44:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:44:05
[end_date_ymd] => 2025-01-07 06:44:05
[RateCDR] => 1
)
[2025-01-07 06:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 03:44:05' and `end` < '2025-01-07 06:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 06:44:07] Production.INFO: Contact id print CheckCustomer Case===e4609e79-2a2f-49b0-a0f8-9766de2b1774
[2025-01-07 06:44:07] Production.INFO: -- count --1
[2025-01-07 06:44:07] Production.INFO: AccountID 230
[2025-01-07 06:44:07] Production.INFO: AccountName Harbourfront Medicine Cabinet
[2025-01-07 06:44:07] Production.INFO: Checkcustomer
[2025-01-07 06:44:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Harbourfront%20Medicine%20Cabinet"
[2025-01-07 06:44:10] Production.INFO: Contact id print CheckCustomer Case===e4609e79-2a2f-49b0-a0f8-9766de2b1774
[2025-01-07 06:44:10] Production.INFO: -- count --1
[2025-01-07 06:44:10] Production.INFO: -- Xero Add Inovice --
[2025-01-07 06:44:10] Production.INFO: CheckInvoice xerov2: INV10819
[2025-01-07 06:44:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10819
[2025-01-07 06:44:11] Production.ERROR: CronJobId end10
[2025-01-07 06:44:11] Production.INFO: ==12713== Releasing lock...
[2025-01-07 06:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:44:13] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 06:44:13] Production.INFO: ========================== Exception occured =============================
[2025-01-07 06:44:13] Production.ERROR: exception 'ErrorException' with message 'Undefined offset: 47' in /var/www/html/onswitch.neon.service/app/lib/XeroV2.php:0
Stack trace:
#0 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined offse...', '/var/www/html/o...', 0, Array)
#1 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->GetInvoiceData()
#2 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->CreateInvoice()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/XeroInvoicePostV2.php(0): App\Lib\XeroV2->addInvoices()
#4 [internal function]: App\Console\Commands\XeroInvoicePostV2->fire()
#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\XeroInvoicePostV2), 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-07 06:44:13] Production.INFO: ========================== Exception updated in job and email sent =============================
[2025-01-07 06:44:13] Production.INFO: ==12707== Releasing lock...
[2025-01-07 06:44:13] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10455 #Stops#
[2025-01-07 06:44:13] Production.INFO: 27.5 MB #Memory Used#
[2025-01-07 06:44:14] Production.INFO: call_cost start
[2025-01-07 06:44:14] Production.INFO: call_cost end
[2025-01-07 06:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:44:14] Production.INFO: ==12709== Releasing lock...
[2025-01-07 06:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:44:18] Production.INFO: count ==72
[2025-01-07 06:44:18] Production.ERROR: pbx CDR StartTime 2025-01-07 03:44:05 - End Time 2025-01-07 06:44:05
[2025-01-07 06:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193146', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193146', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193146', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193146', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:44:18] Production.INFO: ProcessCDR(1,14193146,1,1,2)
[2025-01-07 06:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193146,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193146,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193146,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193146,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193146', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193146', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:44:21] Production.INFO: ==12717== Releasing lock...
[2025-01-07 06:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:44:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 11:45:02] Production.INFO: ==12779== Lock acquired, processing the job...
[2025-01-07 11:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:45:02] Production.INFO: neon service started
[2025-01-07 11:45:02] Production.INFO: neon service started
[2025-01-07 11:45:02] Production.INFO: ==12779== Releasing lock...
[2025-01-07 11:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:45:02] Production.INFO: ==12781== Lock acquired, processing the job...
[2025-01-07 06:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:45:02] Production.INFO: ==12781== Releasing lock...
[2025-01-07 06:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:45:02] Production.INFO: ==12783== Lock acquired, processing the job...
[2025-01-07 11:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:45:02] Production.INFO: ==12783== Releasing lock...
[2025-01-07 11:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:45:03] Production.INFO: ==12792== Lock acquired, processing the job...
[2025-01-07 06:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:45:03] Production.INFO: ==12794== Lock acquired, processing the job...
[2025-01-07 06:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:45:03] Production.INFO: Account Balance Start.
[2025-01-07 06:45:03] Production.INFO: CreateAllLog Start
[2025-01-07 06:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:45:03] Production.INFO: ==12788== Lock acquired, processing the job...
[2025-01-07 06:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:45:03] Production.INFO: 117
[2025-01-07 06:45:03] Production.INFO: Date 2024-12-08
[2025-01-07 06:45:03] Production.INFO: ==12790== Lock acquired, processing the job...
[2025-01-07 06:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:45:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:45:03] Production.INFO: Date 2024-12-09
[2025-01-07 06:45:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:45:03] Production.INFO: Date 2024-12-10
[2025-01-07 06:45:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:45:03] Production.INFO: Date 2024-12-11
[2025-01-07 06:45:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:45:03] Production.INFO: ==12798== Lock acquired, processing the job...
[2025-01-07 06:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:45:04] Production.INFO: ==12796== Lock acquired, processing the job...
[2025-01-07 06:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:45:04] Production.INFO: Date 2024-12-12
[2025-01-07 06:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:45:04] Production.INFO: Date 2024-12-13
[2025-01-07 06:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:45:04] Production.INFO: Date 2024-12-14
[2025-01-07 06:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:45:04] Production.INFO: count ==21
[2025-01-07 06:45:04] Production.INFO: Date 2024-12-15
[2025-01-07 06:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:45:04] Production.INFO: count ==21
[2025-01-07 06:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193150') start
[2025-01-07 06:45:04] Production.INFO: ==12790== Releasing lock...
[2025-01-07 06:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:45:04] Production.INFO: Date 2024-12-16
[2025-01-07 06:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:45:04] Production.INFO: Date 2024-12-17
[2025-01-07 06:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193150') end
[2025-01-07 06:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:45:04] Production.INFO: 1
[2025-01-07 06:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:45:04] Production.INFO: Date 2024-12-18
[2025-01-07 06:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:45:04] Production.INFO: Date 2024-12-19
[2025-01-07 06:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:45:04] Production.INFO: ==12798== Releasing lock...
[2025-01-07 06:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:45:04] Production.INFO: Date 2024-12-20
[2025-01-07 06:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:45:04] Production.ERROR: done
[2025-01-07 06:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:45:04] Production.INFO: Date 2024-12-21
[2025-01-07 06:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:45:04] Production.INFO: Date 2024-12-22
[2025-01-07 06:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:45:04] Production.INFO: Date 2024-12-23
[2025-01-07 06:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:45:04] Production.ERROR: done
[2025-01-07 06:45:04] Production.INFO: Date 2024-12-24
[2025-01-07 06:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:45:04] Production.INFO: Date 2024-12-25
[2025-01-07 06:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:45:04] Production.INFO: Date 2024-12-26
[2025-01-07 06:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:45:04] Production.INFO: Date 2024-12-27
[2025-01-07 06:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:45:04] Production.INFO: Date 2024-12-28
[2025-01-07 06:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:45:04] Production.INFO: Date 2024-12-29
[2025-01-07 06:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:45:04] Production.INFO: Date 2024-12-30
[2025-01-07 06:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:45:04] Production.INFO: Date 2024-12-31
[2025-01-07 06:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:45:04] Production.INFO: Date 2025-01-01
[2025-01-07 06:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:45:04] Production.INFO: Date 2025-01-02
[2025-01-07 06:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:45:05] Production.INFO: Date 2025-01-03
[2025-01-07 06:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:45:05] Production.INFO: Date 2025-01-04
[2025-01-07 06:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:45:05] Production.INFO: Date 2025-01-05
[2025-01-07 06:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:45:05] Production.INFO: Date 2025-01-06
[2025-01-07 06:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:45:05] Production.INFO: Date 2025-01-07
[2025-01-07 06:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:45:05] Production.INFO: Total Charge 0
[2025-01-07 06:45:05] Production.INFO: CreateAllLog End
[2025-01-07 06:45:05] Production.INFO: Account Balance End.
[2025-01-07 06:45:05] Production.ERROR: CronJobId end 12
[2025-01-07 06:45:05] Production.INFO: ==12794== Releasing lock...
[2025-01-07 06:45:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:45:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:45:05
[end_date_ymd] => 2025-01-07 06:45:05
[RateCDR] => 1
)
[2025-01-07 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-07 03:45:05' and `end` < '2025-01-07 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-07 06:45:11] Production.ERROR: CronJobId end10
[2025-01-07 06:45:11] Production.INFO: ==12792== Releasing lock...
[2025-01-07 06:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:45:13] Production.INFO: call_cost start
[2025-01-07 06:45:13] Production.INFO: call_cost end
[2025-01-07 06:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:45:14] Production.INFO: ==12788== Releasing lock...
[2025-01-07 06:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:45:19] Production.INFO: count ==72
[2025-01-07 06:45:19] Production.ERROR: pbx CDR StartTime 2025-01-07 03:45:05 - End Time 2025-01-07 06:45:05
[2025-01-07 06:45:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193151', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193151', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193151', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193151', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:45:19] Production.INFO: ProcessCDR(1,14193151,1,1,2)
[2025-01-07 06:45:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193151,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:45:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193151,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:45:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193151,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:45:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193151,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193151', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193151', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:45:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:45:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:45:22] Production.INFO: ==12796== Releasing lock...
[2025-01-07 06:45:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:45:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 11:46:01] Production.INFO: ==12853== Lock acquired, processing the job...
[2025-01-07 11:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:46:01] Production.INFO: neon service started
[2025-01-07 11:46:01] Production.INFO: neon service started
[2025-01-07 11:46:01] Production.INFO: ==12853== Releasing lock...
[2025-01-07 11:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:46:02] Production.INFO: ==12855== Lock acquired, processing the job...
[2025-01-07 06:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:46:02] Production.INFO: ==12855== Releasing lock...
[2025-01-07 06:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:46:02] Production.INFO: ==12857== Lock acquired, processing the job...
[2025-01-07 11:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:46:02] Production.INFO: ==12857== Releasing lock...
[2025-01-07 11:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:46:03] Production.INFO: ==12863== Lock acquired, processing the job...
[2025-01-07 06:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:46:03] Production.INFO: ==12869== Lock acquired, processing the job...
[2025-01-07 06:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:46:03] Production.INFO: ==12859== Lock acquired, processing the job...
[2025-01-07 06:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 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-07 06:46:03] Production.INFO: ==12861== Lock acquired, processing the job...
[2025-01-07 06:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:46:03] Production.INFO: ==12865== Lock acquired, processing the job...
[2025-01-07 06:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:46:03] Production.INFO: count ==21
[2025-01-07 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-07 06:46:03] Production.INFO: count ==21
[2025-01-07 06:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193152') start
[2025-01-07 06:46:03] Production.INFO: ==12867== Lock acquired, processing the job...
[2025-01-07 06:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:46:03] Production.INFO: Account Balance Start.
[2025-01-07 06:46:03] Production.INFO: CreateAllLog Start
[2025-01-07 06:46:03] Production.INFO: 117
[2025-01-07 06:46:03] Production.INFO: Date 2024-12-08
[2025-01-07 06:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193152') end
[2025-01-07 06:46:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:46:03] Production.INFO: 1
[2025-01-07 06:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:46:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:46:03] Production.INFO: ==12869== Releasing lock...
[2025-01-07 06:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:46:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:46:03] Production.INFO: Date 2024-12-09
[2025-01-07 06:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:46:03] Production.INFO: Date 2024-12-10
[2025-01-07 06:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:46:03] Production.INFO: Date 2024-12-11
[2025-01-07 06:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:46:03] Production.INFO: ==12861== Releasing lock...
[2025-01-07 06:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:46:03] Production.INFO: Date 2024-12-12
[2025-01-07 06:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:46:04] Production.INFO: Date 2024-12-13
[2025-01-07 06:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:46:04] Production.INFO: Date 2024-12-14
[2025-01-07 06:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:46:04] Production.INFO: Date 2024-12-15
[2025-01-07 06:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:46:04] Production.INFO: Date 2024-12-16
[2025-01-07 06:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:46:04] Production.INFO: Date 2024-12-17
[2025-01-07 06:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:46:04] Production.INFO: Date 2024-12-18
[2025-01-07 06:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:46:04] Production.INFO: Date 2024-12-19
[2025-01-07 06:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:46:04] Production.INFO: Date 2024-12-20
[2025-01-07 06:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:46:04] Production.ERROR: done
[2025-01-07 06:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:46:04] Production.INFO: Date 2024-12-21
[2025-01-07 06:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:46:04] Production.INFO: Date 2024-12-22
[2025-01-07 06:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:46:04] Production.INFO: Date 2024-12-23
[2025-01-07 06:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:46:04] Production.ERROR: done
[2025-01-07 06:46:04] Production.INFO: Date 2024-12-24
[2025-01-07 06:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:46:04] Production.INFO: Date 2024-12-25
[2025-01-07 06:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:46:04] Production.INFO: Date 2024-12-26
[2025-01-07 06:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:46:04] Production.INFO: Date 2024-12-27
[2025-01-07 06:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:46:04] Production.INFO: Date 2024-12-28
[2025-01-07 06:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:46:04] Production.INFO: Date 2024-12-29
[2025-01-07 06:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:46:04] Production.INFO: Date 2024-12-30
[2025-01-07 06:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:46:04] Production.INFO: Date 2024-12-31
[2025-01-07 06:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:46:04] Production.INFO: Date 2025-01-01
[2025-01-07 06:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:46:04] Production.INFO: Date 2025-01-02
[2025-01-07 06:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:46:04] Production.INFO: Date 2025-01-03
[2025-01-07 06:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:46:04] Production.INFO: Date 2025-01-04
[2025-01-07 06:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:46:04] Production.INFO: Date 2025-01-05
[2025-01-07 06:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:46:04] Production.INFO: Date 2025-01-06
[2025-01-07 06:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:46:04] Production.INFO: Date 2025-01-07
[2025-01-07 06:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:46:04] Production.INFO: Total Charge 0
[2025-01-07 06:46:04] Production.INFO: CreateAllLog End
[2025-01-07 06:46:05] Production.INFO: Account Balance End.
[2025-01-07 06:46:05] Production.ERROR: CronJobId end 12
[2025-01-07 06:46:05] Production.INFO: ==12865== Releasing lock...
[2025-01-07 06:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:46:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:46:05
[end_date_ymd] => 2025-01-07 06:46:05
[RateCDR] => 1
)
[2025-01-07 06:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 03:46:05' and `end` < '2025-01-07 06:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 06:46:10] Production.ERROR: CronJobId end10
[2025-01-07 06:46:10] Production.INFO: ==12863== Releasing lock...
[2025-01-07 06:46:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:46:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:46:14] Production.INFO: call_cost start
[2025-01-07 06:46:14] Production.INFO: call_cost end
[2025-01-07 06:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:46:14] Production.INFO: ==12859== Releasing lock...
[2025-01-07 06:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:46:19] Production.INFO: count ==72
[2025-01-07 06:46:19] Production.ERROR: pbx CDR StartTime 2025-01-07 03:46:05 - End Time 2025-01-07 06:46:05
[2025-01-07 06:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193156', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193156', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193156', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193156', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:46:19] Production.INFO: ProcessCDR(1,14193156,1,1,2)
[2025-01-07 06:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193156,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:46:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193156,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:46:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193156,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193156,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193156', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193156', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:46:22] Production.INFO: ==12867== Releasing lock...
[2025-01-07 06:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:46:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 11:47:02] Production.INFO: ==12931== Lock acquired, processing the job...
[2025-01-07 11:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:47:02] Production.INFO: neon service started
[2025-01-07 11:47:02] Production.INFO: neon service started
[2025-01-07 11:47:02] Production.INFO: ==12931== Releasing lock...
[2025-01-07 11:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:47:02] Production.INFO: ==12933== Lock acquired, processing the job...
[2025-01-07 06:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:47:02] Production.INFO: ==12935== Lock acquired, processing the job...
[2025-01-07 11:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:47:02] Production.INFO: ==12935== Releasing lock...
[2025-01-07 11:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:47:03] Production.INFO: ==12933== Releasing lock...
[2025-01-07 06:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:47:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:47:04] Production.INFO: ==12938== Lock acquired, processing the job...
[2025-01-07 06:47:04] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10456 #Starts#
[2025-01-07 06:47:04] Production.INFO: ==12944== Lock acquired, processing the job...
[2025-01-07 06:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:47:04] Production.INFO: ==12940== Lock acquired, processing the job...
[2025-01-07 06:47:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:47:04] Production.INFO: -- Xero Api Check --
[2025-01-07 06:47:04] Production.INFO: ==12942== Lock acquired, processing the job...
[2025-01-07 06:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:47:04] Production.INFO: ==12946== Lock acquired, processing the job...
[2025-01-07 06:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:47:04] Production.INFO: ==12948== Lock acquired, processing the job...
[2025-01-07 06:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:47:04] Production.INFO: Account Balance Start.
[2025-01-07 06:47:04] Production.INFO: CreateAllLog Start
[2025-01-07 06:47:04] Production.INFO: 117
[2025-01-07 06:47:04] Production.INFO: Date 2024-12-08
[2025-01-07 06:47:04] Production.INFO: ==12950== Lock acquired, processing the job...
[2025-01-07 06:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:47:04] Production.INFO: Date 2024-12-09
[2025-01-07 06:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:47:04] Production.INFO: count ==21
[2025-01-07 06:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:47:04] Production.ERROR: done
[2025-01-07 06:47:04] Production.INFO: count ==21
[2025-01-07 06:47:04] Production.INFO: Date 2024-12-10
[2025-01-07 06:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193160') start
[2025-01-07 06:47:04] Production.INFO: Date 2024-12-11
[2025-01-07 06:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:47:04] Production.INFO: Date 2024-12-12
[2025-01-07 06:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:47:04] Production.ERROR: done
[2025-01-07 06:47:04] Production.INFO: Date 2024-12-13
[2025-01-07 06:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:47:04] Production.INFO: ==12942== Releasing lock...
[2025-01-07 06:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:47:04] Production.INFO: Date 2024-12-14
[2025-01-07 06:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:47:05] Production.ERROR: PBX CALL prc_importPBXExtension('14193160') end
[2025-01-07 06:47:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:47:05] Production.INFO: 1
[2025-01-07 06:47:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:47:05] Production.INFO: Date 2024-12-15
[2025-01-07 06:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:47:05] Production.INFO: ==12950== Releasing lock...
[2025-01-07 06:47:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:47:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:47:05] Production.INFO: Date 2024-12-16
[2025-01-07 06:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:47:05] Production.INFO: Date 2024-12-17
[2025-01-07 06:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:47:05] Production.INFO: Date 2024-12-18
[2025-01-07 06:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:47:05] Production.INFO: Date 2024-12-19
[2025-01-07 06:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:47:05] Production.INFO: Date 2024-12-20
[2025-01-07 06:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:47:05] Production.INFO: Date 2024-12-21
[2025-01-07 06:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:47:05] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 857
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 1.237149
[namelookup_time] => 0.528054
[connect_time] => 0.539273
[pretransfer_time] => 0.775241
[size_upload] => 82
[size_download] => 2755
[speed_download] => 2226
[speed_upload] => 66
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 1.237111
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.17
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 44112
)
[2025-01-07 06:47:05] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTA0MjUsImV4cCI6MTczNjI1MDcyNSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjUwNDI1LCJhdF9oYXNoIjoiZUFFRmdMOG1paWJhUU5QWG1BenFrQSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.DZWo6XxZZvlqBJHLMrlZtdfhOSHwpXWoyPxqubuzqrO3C0tq5KUDjA1yMAmeeVaYJOF-8jC1NQoYx3crgsy3NQI31hdS_mvCak_J0atWXCC7ahdlwWEVsks-M2YNAhLM1Vr26bRfP7UOmNb3zxr_Gmm-i9Su8e2vpsV_K7DJvNsb4IMKYc6f8zw3m_qsZfryOvdtckML7y5RzE5_TJwrhDeHrdNwkNN_nFfrIwVet3cv--sBDbIaHcJgu5CQH17F4ikJJq6zvV7w83LzNLCmODrC8b6KfLvhRTf4Zzw9pgSADiy-qkwpjcwFKLjpY5RMwQ4yy5fNPAuzA3k7SeFSaw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTA0MjUsImV4cCI6MTczNjI1MjIyNSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.kjoKAtaLrjYvf-ecrhFXysNuwVjlEUmFDFLRz-5v92JzRAa4OBLjHDWudphlxvemN0YNjkmwpMgawZkl7ufkpfpzWCHpr5OR6DcIEt7_l6QxhJCvqonY8VvRMfDaIexfdzGyGuc5EStNouQcPHVk6Av_OPeJXZScR96ncFxcHCKqFp_jJHaNoWB7f6xoN5cAIc40dZc1v47SaR2HkYQ0cAKLVrnheiZSdSkXTejfa9wwONZ1j7_2rWPPdU4rbFrclLZnTbSL6SReNItsnNXtIM6ox7pTwR4XmzaMtuzjAD9RgHsv6ieRbb44M6IyiDmYSy_TTCUCltL_Bq_-Ft1e4Q
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => whAP3yXhlCYUtEm6Svc8u8H5ogxBn0-4I3iNTg8wlsI
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 06:47:05] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTA0MjUsImV4cCI6MTczNjI1MDcyNSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjUwNDI1LCJhdF9oYXNoIjoiZUFFRmdMOG1paWJhUU5QWG1BenFrQSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.DZWo6XxZZvlqBJHLMrlZtdfhOSHwpXWoyPxqubuzqrO3C0tq5KUDjA1yMAmeeVaYJOF-8jC1NQoYx3crgsy3NQI31hdS_mvCak_J0atWXCC7ahdlwWEVsks-M2YNAhLM1Vr26bRfP7UOmNb3zxr_Gmm-i9Su8e2vpsV_K7DJvNsb4IMKYc6f8zw3m_qsZfryOvdtckML7y5RzE5_TJwrhDeHrdNwkNN_nFfrIwVet3cv--sBDbIaHcJgu5CQH17F4ikJJq6zvV7w83LzNLCmODrC8b6KfLvhRTf4Zzw9pgSADiy-qkwpjcwFKLjpY5RMwQ4yy5fNPAuzA3k7SeFSaw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTA0MjUsImV4cCI6MTczNjI1MjIyNSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.kjoKAtaLrjYvf-ecrhFXysNuwVjlEUmFDFLRz-5v92JzRAa4OBLjHDWudphlxvemN0YNjkmwpMgawZkl7ufkpfpzWCHpr5OR6DcIEt7_l6QxhJCvqonY8VvRMfDaIexfdzGyGuc5EStNouQcPHVk6Av_OPeJXZScR96ncFxcHCKqFp_jJHaNoWB7f6xoN5cAIc40dZc1v47SaR2HkYQ0cAKLVrnheiZSdSkXTejfa9wwONZ1j7_2rWPPdU4rbFrclLZnTbSL6SReNItsnNXtIM6ox7pTwR4XmzaMtuzjAD9RgHsv6ieRbb44M6IyiDmYSy_TTCUCltL_Bq_-Ft1e4Q
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => whAP3yXhlCYUtEm6Svc8u8H5ogxBn0-4I3iNTg8wlsI
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 06:47:05] Production.INFO: Date 2024-12-22
[2025-01-07 06:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:47:05] Production.INFO: AccountID 86
[2025-01-07 06:47:05] Production.INFO: AccountName Selective Conformal Coatings Inc.
[2025-01-07 06:47:05] Production.INFO: Checkcustomer
[2025-01-07 06:47:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Selective%20Conformal%20Coatings%20Inc."
[2025-01-07 06:47:05] Production.INFO: Date 2024-12-23
[2025-01-07 06:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:47:05] Production.INFO: Date 2024-12-24
[2025-01-07 06:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:47:05] Production.INFO: Date 2024-12-25
[2025-01-07 06:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:47:05] Production.INFO: Date 2024-12-26
[2025-01-07 06:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:47:05] Production.INFO: Date 2024-12-27
[2025-01-07 06:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:47:05] Production.INFO: Date 2024-12-28
[2025-01-07 06:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:47:05] Production.INFO: Date 2024-12-29
[2025-01-07 06:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:47:05
[end_date_ymd] => 2025-01-07 06:47:05
[RateCDR] => 1
)
[2025-01-07 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-07 03:47:05' and `end` < '2025-01-07 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-07 06:47:05] Production.INFO: Date 2024-12-30
[2025-01-07 06:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:47:05] Production.INFO: Date 2024-12-31
[2025-01-07 06:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:47:05] Production.INFO: Date 2025-01-01
[2025-01-07 06:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:47:05] Production.INFO: Date 2025-01-02
[2025-01-07 06:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:47:05] Production.INFO: Date 2025-01-03
[2025-01-07 06:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:47:05] Production.INFO: Date 2025-01-04
[2025-01-07 06:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:47:05] Production.INFO: Date 2025-01-05
[2025-01-07 06:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:47:05] Production.INFO: Date 2025-01-06
[2025-01-07 06:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:47:05] Production.INFO: Date 2025-01-07
[2025-01-07 06:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:47:05] Production.INFO: Total Charge 0
[2025-01-07 06:47:05] Production.INFO: CreateAllLog End
[2025-01-07 06:47:06] Production.INFO: Account Balance End.
[2025-01-07 06:47:06] Production.ERROR: CronJobId end 12
[2025-01-07 06:47:06] Production.INFO: ==12946== Releasing lock...
[2025-01-07 06:47:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:47:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:47:07] Production.INFO: Contact id print CheckCustomer Case===829ddc9d-f1ae-447b-9687-394867f488a7
[2025-01-07 06:47:07] Production.INFO: -- count --1
[2025-01-07 06:47:07] Production.INFO: AccountID 86
[2025-01-07 06:47:07] Production.INFO: AccountName Selective Conformal Coatings Inc.
[2025-01-07 06:47:07] Production.INFO: Checkcustomer
[2025-01-07 06:47:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Selective%20Conformal%20Coatings%20Inc."
[2025-01-07 06:47:10] Production.INFO: Contact id print CheckCustomer Case===829ddc9d-f1ae-447b-9687-394867f488a7
[2025-01-07 06:47:10] Production.INFO: -- count --1
[2025-01-07 06:47:10] Production.INFO: AccountID 86
[2025-01-07 06:47:10] Production.INFO: AccountName Selective Conformal Coatings Inc.
[2025-01-07 06:47:10] Production.INFO: Checkcustomer
[2025-01-07 06:47:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Selective%20Conformal%20Coatings%20Inc."
[2025-01-07 06:47:11] Production.ERROR: CronJobId end10
[2025-01-07 06:47:11] Production.INFO: ==12944== Releasing lock...
[2025-01-07 06:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:47:13] Production.INFO: Contact id print CheckCustomer Case===829ddc9d-f1ae-447b-9687-394867f488a7
[2025-01-07 06:47:13] Production.INFO: -- count --1
[2025-01-07 06:47:13] Production.INFO: AccountID 67
[2025-01-07 06:47:13] Production.INFO: AccountName Stars & Maple Tours
[2025-01-07 06:47:13] Production.INFO: Checkcustomer
[2025-01-07 06:47:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Stars%20%26%20Maple%20Tours"
[2025-01-07 06:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:47:13] Production.INFO: call_cost start
[2025-01-07 06:47:13] Production.INFO: call_cost end
[2025-01-07 06:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:47:14] Production.INFO: ==12940== Releasing lock...
[2025-01-07 06:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:47:15] Production.INFO: Contact id print CheckCustomer Case===42f3da1b-13b4-4bab-b989-2a74b97947bd
[2025-01-07 06:47:15] Production.INFO: -- count --1
[2025-01-07 06:47:15] Production.INFO: -- Xero Add Inovice --
[2025-01-07 06:47:15] Production.INFO: CheckInvoice xerov2: INV10820
[2025-01-07 06:47:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10820
[2025-01-07 06:47:17] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 06:47:17] Production.INFO: ========================== Exception occured =============================
[2025-01-07 06:47:17] Production.ERROR: exception 'ErrorException' with message 'Undefined offset: 64' in /var/www/html/onswitch.neon.service/app/lib/XeroV2.php:0
Stack trace:
#0 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined offse...', '/var/www/html/o...', 0, Array)
#1 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->GetInvoiceData()
#2 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->CreateInvoice()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/XeroInvoicePostV2.php(0): App\Lib\XeroV2->addInvoices()
#4 [internal function]: App\Console\Commands\XeroInvoicePostV2->fire()
#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\XeroInvoicePostV2), 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-07 06:47:17] Production.INFO: ========================== Exception updated in job and email sent =============================
[2025-01-07 06:47:17] Production.INFO: ==12938== Releasing lock...
[2025-01-07 06:47:17] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10456 #Stops#
[2025-01-07 06:47:17] Production.INFO: 27.5 MB #Memory Used#
[2025-01-07 06:47:19] Production.INFO: count ==72
[2025-01-07 06:47:19] Production.ERROR: pbx CDR StartTime 2025-01-07 03:47:05 - End Time 2025-01-07 06:47:05
[2025-01-07 06:47:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193161', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193161', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193161', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193161', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:47:19] Production.INFO: ProcessCDR(1,14193161,1,1,2)
[2025-01-07 06:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193161,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:47:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193161,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:47:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193161,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193161,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193161', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193161', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:47:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:47:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:47:22] Production.INFO: ==12948== Releasing lock...
[2025-01-07 06:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:47:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 11:48:01] Production.INFO: ==13011== Lock acquired, processing the job...
[2025-01-07 11:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:48:01] Production.INFO: neon service started
[2025-01-07 11:48:01] Production.INFO: neon service started
[2025-01-07 11:48:01] Production.INFO: ==13011== Releasing lock...
[2025-01-07 11:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:48:01] Production.INFO: ==13014== Lock acquired, processing the job...
[2025-01-07 06:48:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:48:02] Production.INFO: ==13014== Releasing lock...
[2025-01-07 06:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:48:02] Production.INFO: ==13016== Lock acquired, processing the job...
[2025-01-07 11:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:48:02] Production.INFO: ==13016== Releasing lock...
[2025-01-07 11:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:48:02] Production.INFO: ==13022== Lock acquired, processing the job...
[2025-01-07 06:48:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:48:03] Production.INFO: ==13018== Lock acquired, processing the job...
[2025-01-07 06:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:48:03] Production.INFO: ==13020== Lock acquired, processing the job...
[2025-01-07 06:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:48:03] Production.INFO: ==13024== Lock acquired, processing the job...
[2025-01-07 06:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:48:03] Production.INFO: ==13026== Lock acquired, processing the job...
[2025-01-07 06:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:48:03] Production.INFO: ==13028== Lock acquired, processing the job...
[2025-01-07 06:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:48:03] Production.INFO: Account Balance Start.
[2025-01-07 06:48:03] Production.INFO: CreateAllLog Start
[2025-01-07 06:48:03] Production.INFO: 117
[2025-01-07 06:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:48:03] Production.INFO: Date 2024-12-08
[2025-01-07 06:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:48:03] Production.INFO: Date 2024-12-09
[2025-01-07 06:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:48:03] Production.INFO: ==13020== Releasing lock...
[2025-01-07 06:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:48:03] Production.INFO: Date 2024-12-10
[2025-01-07 06:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 06:48:03] Production.ERROR: done
[2025-01-07 06:48:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:48:04] Production.INFO: count ==21
[2025-01-07 06:48:04] Production.INFO: Date 2024-12-11
[2025-01-07 06:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:48:04] Production.INFO: count ==21
[2025-01-07 06:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193165') start
[2025-01-07 06:48:04] Production.ERROR: done
[2025-01-07 06:48:04] Production.INFO: Date 2024-12-12
[2025-01-07 06:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:48:04] Production.INFO: Date 2024-12-13
[2025-01-07 06:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193165') end
[2025-01-07 06:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:48:04] Production.INFO: 1
[2025-01-07 06:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:48:04] Production.INFO: Date 2024-12-14
[2025-01-07 06:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:48:04] Production.INFO: ==13028== Releasing lock...
[2025-01-07 06:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:48:04] Production.INFO: Date 2024-12-15
[2025-01-07 06:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:48:04] Production.INFO: Date 2024-12-16
[2025-01-07 06:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:48:04] Production.INFO: Date 2024-12-17
[2025-01-07 06:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:48:04] Production.INFO: Date 2024-12-18
[2025-01-07 06:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:48:04] Production.INFO: Date 2024-12-19
[2025-01-07 06:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:48:04] Production.INFO: Date 2024-12-20
[2025-01-07 06:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:48:04] Production.INFO: Date 2024-12-21
[2025-01-07 06:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:48:04] Production.INFO: Date 2024-12-22
[2025-01-07 06:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:48:04] Production.INFO: Date 2024-12-23
[2025-01-07 06:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:48:04] Production.INFO: Date 2024-12-24
[2025-01-07 06:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:48:04] Production.INFO: Date 2024-12-25
[2025-01-07 06:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:48:04] Production.INFO: Date 2024-12-26
[2025-01-07 06:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:48:04] Production.INFO: Date 2024-12-27
[2025-01-07 06:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:48:04] Production.INFO: Date 2024-12-28
[2025-01-07 06:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:48:04] Production.INFO: Date 2024-12-29
[2025-01-07 06:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:48:04] Production.INFO: Date 2024-12-30
[2025-01-07 06:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:48:04] Production.INFO: Date 2024-12-31
[2025-01-07 06:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:48:04] Production.INFO: Date 2025-01-01
[2025-01-07 06:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:48:04] Production.INFO: Date 2025-01-02
[2025-01-07 06:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:48:04] Production.INFO: Date 2025-01-03
[2025-01-07 06:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:48:04] Production.INFO: Date 2025-01-04
[2025-01-07 06:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:48:04] Production.INFO: Date 2025-01-05
[2025-01-07 06:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:48:04] Production.INFO: Date 2025-01-06
[2025-01-07 06:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:48:04] Production.INFO: Date 2025-01-07
[2025-01-07 06:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:48:05
[end_date_ymd] => 2025-01-07 06:48:05
[RateCDR] => 1
)
[2025-01-07 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-07 03:48:05' and `end` < '2025-01-07 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-07 06:48:05] Production.INFO: Total Charge 0
[2025-01-07 06:48:05] Production.INFO: CreateAllLog End
[2025-01-07 06:48:05] Production.INFO: Account Balance End.
[2025-01-07 06:48:05] Production.ERROR: CronJobId end 12
[2025-01-07 06:48:05] Production.INFO: ==13024== Releasing lock...
[2025-01-07 06:48:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:48:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:48:10] Production.ERROR: CronJobId end10
[2025-01-07 06:48:10] Production.INFO: ==13022== Releasing lock...
[2025-01-07 06:48:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:48:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:48:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:48:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:48:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:48:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:48:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:48:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:48:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:48:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:48:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:48:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:48:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:48:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:48:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:48:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:48:13] Production.INFO: call_cost start
[2025-01-07 06:48:13] Production.INFO: call_cost end
[2025-01-07 06:48:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:48:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:48:14] Production.INFO: ==13018== Releasing lock...
[2025-01-07 06:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:48:19] Production.INFO: count ==72
[2025-01-07 06:48:19] Production.ERROR: pbx CDR StartTime 2025-01-07 03:48:05 - End Time 2025-01-07 06:48:05
[2025-01-07 06:48:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193166', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193166', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193166', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193166', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:48:19] Production.INFO: ProcessCDR(1,14193166,1,1,2)
[2025-01-07 06:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193166,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193166,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193166,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193166,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193166', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193166', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:48:22] Production.INFO: ==13026== Releasing lock...
[2025-01-07 06:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:48:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 11:49:01] Production.INFO: ==13086== Lock acquired, processing the job...
[2025-01-07 11:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:49:01] Production.INFO: neon service started
[2025-01-07 11:49:01] Production.INFO: neon service started
[2025-01-07 11:49:01] Production.INFO: ==13086== Releasing lock...
[2025-01-07 11:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:49:02] Production.INFO: ==13088== Lock acquired, processing the job...
[2025-01-07 06:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:49:02] Production.INFO: ==13090== Lock acquired, processing the job...
[2025-01-07 11:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:49:02] Production.INFO: ==13090== Releasing lock...
[2025-01-07 11:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:49:02] Production.INFO: ==13088== Releasing lock...
[2025-01-07 06:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:49:03] Production.INFO: ==13093== Lock acquired, processing the job...
[2025-01-07 06:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:49:03] Production.INFO: ==13097== Lock acquired, processing the job...
[2025-01-07 06:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:49:03] Production.INFO: ==13103== Lock acquired, processing the job...
[2025-01-07 06:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:49:03] Production.INFO: ==13095== Lock acquired, processing the job...
[2025-01-07 06:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:49:03] Production.INFO: count ==21
[2025-01-07 06:49:03] Production.INFO: ==13101== Lock acquired, processing the job...
[2025-01-07 06:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:49:03] Production.INFO: ==13099== Lock acquired, processing the job...
[2025-01-07 06:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:49:03] Production.INFO: count ==21
[2025-01-07 06:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193168') start
[2025-01-07 06:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:49:03] Production.INFO: Account Balance Start.
[2025-01-07 06:49:03] Production.INFO: CreateAllLog Start
[2025-01-07 06:49:03] Production.INFO: 117
[2025-01-07 06:49:03] Production.INFO: Date 2024-12-08
[2025-01-07 06:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193168') end
[2025-01-07 06:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:49:04] Production.INFO: 1
[2025-01-07 06:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:49:04] Production.INFO: Date 2024-12-09
[2025-01-07 06:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:49:04] Production.INFO: ==13103== Releasing lock...
[2025-01-07 06:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:49:04] Production.INFO: ==13095== Releasing lock...
[2025-01-07 06:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:49:04] Production.INFO: Date 2024-12-10
[2025-01-07 06:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:49:04] Production.INFO: Date 2024-12-11
[2025-01-07 06:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:49:04] Production.INFO: Date 2024-12-12
[2025-01-07 06:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:49:04] Production.ERROR: done
[2025-01-07 06:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:49:04] Production.INFO: Date 2024-12-13
[2025-01-07 06:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:49:04] Production.INFO: Date 2024-12-14
[2025-01-07 06:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:49:04] Production.ERROR: done
[2025-01-07 06:49:04] Production.INFO: Date 2024-12-15
[2025-01-07 06:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:49:04] Production.INFO: Date 2024-12-16
[2025-01-07 06:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:49:04] Production.INFO: Date 2024-12-17
[2025-01-07 06:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:49:04] Production.INFO: Date 2024-12-18
[2025-01-07 06:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:49:04] Production.INFO: Date 2024-12-19
[2025-01-07 06:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:49:04] Production.INFO: Date 2024-12-20
[2025-01-07 06:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:49:04] Production.INFO: Date 2024-12-21
[2025-01-07 06:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:49:04] Production.INFO: Date 2024-12-22
[2025-01-07 06:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:49:04] Production.INFO: Date 2024-12-23
[2025-01-07 06:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:49:04] Production.INFO: Date 2024-12-24
[2025-01-07 06:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:49:04] Production.INFO: Date 2024-12-25
[2025-01-07 06:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:49:04] Production.INFO: Date 2024-12-26
[2025-01-07 06:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:49:04] Production.INFO: Date 2024-12-27
[2025-01-07 06:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:49:04] Production.INFO: Date 2024-12-28
[2025-01-07 06:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:49:04] Production.INFO: Date 2024-12-29
[2025-01-07 06:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:49:04] Production.INFO: Date 2024-12-30
[2025-01-07 06:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:49:05] Production.INFO: Date 2024-12-31
[2025-01-07 06:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:49:05] Production.INFO: Date 2025-01-01
[2025-01-07 06:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:49:05] Production.INFO: Date 2025-01-02
[2025-01-07 06:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:49:05] Production.INFO: Date 2025-01-03
[2025-01-07 06:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:49:05] Production.INFO: Date 2025-01-04
[2025-01-07 06:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:49:05] Production.INFO: Date 2025-01-05
[2025-01-07 06:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:49:05] Production.INFO: Date 2025-01-06
[2025-01-07 06:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:49:05] Production.INFO: Date 2025-01-07
[2025-01-07 06:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:49:05] Production.INFO: Total Charge 0
[2025-01-07 06:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:49:05
[end_date_ymd] => 2025-01-07 06:49:05
[RateCDR] => 1
)
[2025-01-07 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-07 03:49:05' and `end` < '2025-01-07 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-07 06:49:05] Production.INFO: CreateAllLog End
[2025-01-07 06:49:05] Production.INFO: Account Balance End.
[2025-01-07 06:49:05] Production.ERROR: CronJobId end 12
[2025-01-07 06:49:05] Production.INFO: ==13099== Releasing lock...
[2025-01-07 06:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:49:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:49:11] Production.ERROR: CronJobId end10
[2025-01-07 06:49:11] Production.INFO: ==13097== Releasing lock...
[2025-01-07 06:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:49:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:49:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:49:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:49:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:49:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:49:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:49:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:49:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:49:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:49:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:49:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:49:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:49:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:49:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:49:13] Production.INFO: call_cost start
[2025-01-07 06:49:13] Production.INFO: call_cost end
[2025-01-07 06:49:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:49:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:49:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:49:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:49:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:49:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:49:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:49:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:49:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:49:13] Production.INFO: ==13093== Releasing lock...
[2025-01-07 06:49:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:49:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:49:18] Production.INFO: count ==72
[2025-01-07 06:49:18] Production.ERROR: pbx CDR StartTime 2025-01-07 03:49:05 - End Time 2025-01-07 06:49:05
[2025-01-07 06:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193171', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193171', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193171', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193171', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:49:18] Production.INFO: ProcessCDR(1,14193171,1,1,2)
[2025-01-07 06:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193171,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193171,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193171,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193171,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193171', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193171', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:49:21] Production.INFO: ==13101== Releasing lock...
[2025-01-07 06:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:49:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 11:50:01] Production.INFO: ==13159== Lock acquired, processing the job...
[2025-01-07 11:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:50:01] Production.INFO: neon service started
[2025-01-07 11:50:01] Production.INFO: neon service started
[2025-01-07 11:50:01] Production.INFO: ==13159== Releasing lock...
[2025-01-07 11:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:50:02] Production.INFO: ==13161== Lock acquired, processing the job...
[2025-01-07 06:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:50:02] Production.INFO: ==13163== Lock acquired, processing the job...
[2025-01-07 11:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:50:02] Production.INFO: ==13163== Releasing lock...
[2025-01-07 11:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:50:02] Production.INFO: ==13161== Releasing lock...
[2025-01-07 06:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:50:03] Production.INFO: ==13166== Lock acquired, processing the job...
[2025-01-07 06:50:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10457 #Starts#
[2025-01-07 06:50:03] Production.INFO: -- Xero Api Check --
[2025-01-07 06:50:03] Production.INFO: ==13168== Lock acquired, processing the job...
[2025-01-07 06:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 06:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 06:50:03] Production.INFO: ==13170== Lock acquired, processing the job...
[2025-01-07 06:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:50:03] Production.INFO: ==13172== Lock acquired, processing the job...
[2025-01-07 06:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 06:50:03] Production.INFO: ==13168== Releasing lock...
[2025-01-07 06:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 06:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 06:50:03] Production.INFO: ==13174== Lock acquired, processing the job...
[2025-01-07 06:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:50:03] Production.INFO: ==13176== Lock acquired, processing the job...
[2025-01-07 06:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:50:03] Production.INFO: ==13178== Lock acquired, processing the job...
[2025-01-07 06:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:50:03] Production.INFO: Account Balance Start.
[2025-01-07 06:50:03] Production.INFO: CreateAllLog Start
[2025-01-07 06:50:03] Production.INFO: 117
[2025-01-07 06:50:03] Production.INFO: Date 2024-12-08
[2025-01-07 06:50:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:50:03] Production.INFO: ==13180== Lock acquired, processing the job...
[2025-01-07 06:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 06:50:03] Production.INFO: Date 2024-12-09
[2025-01-07 06:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:50:04] Production.INFO: Date 2024-12-10
[2025-01-07 06:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:50:04] Production.INFO: ==13182== Lock acquired, processing the job...
[2025-01-07 06:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:50:04] Production.INFO: Date 2024-12-11
[2025-01-07 06:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:50:04] Production.INFO: Date 2024-12-12
[2025-01-07 06:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:50:04] Production.INFO: ==13172== Releasing lock...
[2025-01-07 06:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:50:04] Production.INFO: Date 2024-12-13
[2025-01-07 06:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:50:04] Production.INFO: Date 2024-12-14
[2025-01-07 06:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:50:04] Production.INFO: Date 2024-12-15
[2025-01-07 06:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:50:04] Production.ERROR: done
[2025-01-07 06:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:50:04] Production.INFO: Date 2024-12-16
[2025-01-07 06:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 06:50:04] Production.INFO: Date 2024-12-17
[2025-01-07 06:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:50:04] Production.INFO: count ==21
[2025-01-07 06:50:04] Production.INFO: Date 2024-12-18
[2025-01-07 06:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 06:50:04] Production.INFO: count ==21
[2025-01-07 06:50:04] Production.ERROR: done
[2025-01-07 06:50:04] Production.INFO: Date 2024-12-19
[2025-01-07 06:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193175') start
[2025-01-07 06:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:50:04] Production.ERROR: done
[2025-01-07 06:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 06:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14193177', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 06:50:04] Production.INFO: Date 2024-12-20
[2025-01-07 06:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193175') end
[2025-01-07 06:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:50:04] Production.INFO: 1
[2025-01-07 06:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:50:04] Production.INFO: Date 2024-12-21
[2025-01-07 06:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:50:04] Production.INFO: Date 2024-12-22
[2025-01-07 06:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:50: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] => 1.338502
[namelookup_time] => 0.533395
[connect_time] => 0.637605
[pretransfer_time] => 1.100493
[size_upload] => 82
[size_download] => 2755
[speed_download] => 2058
[speed_upload] => 61
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 1.338435
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 2.22.251.19
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 38380
)
[2025-01-07 06:50:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTA2MDQsImV4cCI6MTczNjI1MDkwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjUwNjA0LCJhdF9oYXNoIjoiV012ZTZxaXJXbGlJS1czLVZzV1VuZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.RoXZTRQ4U__15a97qO7bvjFb9wnrAzYSEUzjTPA5-dM1r5R-xRaHaxwP3-CLvJ2ka45hVa2LsfXWHPesPsp3xwrJjZ9RWKaFlwZkdiI-7lJBISFeBWkaBnK28c6Dx_P4E2zf-5GF0-Wd_XMDiAZu0kSFyr36Rs0jCbRXklj2k8qoPVnmQi_MbkTSRH2DpdZHh3swBlCT1ZMrOpCmKJpbESFZoDR6mPNZOFBa6vBJ1Taj29ocS3MJQXcjh6FQppDNMlWEIZk571QNrw_igeFyorQ8nYpX7WJfYZzgkUlRzqAFifESON2fiWo0j5QHUfcW_Wxkxs6Y8oK-XWpW_xjK0A
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTA2MDQsImV4cCI6MTczNjI1MjQwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.hdMbctKSKCcEjXxwo_v7zJ2dyHwxSAyetN1xwY6uTCump-oZ5mNWDX-_UwJioc_KLuVdpvdh3hTWioCptGKd9BFaFWLjZV7Mdwdk2_7dKCPwv1wlA26F5-x8YAefuf1MZBtVSeCMg2FE3v_SeCfcNTDMAjHvNXhe3UjL_EME7cXA7OMk0goo4EBl83qYf1Sr94FgeIv7Nf1gLSAku9HioLWvSf-lQUW9bxAXi2BKKj_0P1zlHbVvn4lc5rttsr1t5CeqenYQxYEvtJGSAAEIUdSSBA2eIVeLk88n3DfF_qb7uNJbYjD2G6oEIAvyTmbh4yKd7bUds3NhTHesRLlsFQ
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => 9FehLOH2_OQnUn7MQKa27wY7aapV5zfFB5v7AHzjofU
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 06:50:04] Production.INFO: ==13182== Releasing lock...
[2025-01-07 06:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:50:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTA2MDQsImV4cCI6MTczNjI1MDkwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjUwNjA0LCJhdF9oYXNoIjoiV012ZTZxaXJXbGlJS1czLVZzV1VuZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.RoXZTRQ4U__15a97qO7bvjFb9wnrAzYSEUzjTPA5-dM1r5R-xRaHaxwP3-CLvJ2ka45hVa2LsfXWHPesPsp3xwrJjZ9RWKaFlwZkdiI-7lJBISFeBWkaBnK28c6Dx_P4E2zf-5GF0-Wd_XMDiAZu0kSFyr36Rs0jCbRXklj2k8qoPVnmQi_MbkTSRH2DpdZHh3swBlCT1ZMrOpCmKJpbESFZoDR6mPNZOFBa6vBJ1Taj29ocS3MJQXcjh6FQppDNMlWEIZk571QNrw_igeFyorQ8nYpX7WJfYZzgkUlRzqAFifESON2fiWo0j5QHUfcW_Wxkxs6Y8oK-XWpW_xjK0A
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTA2MDQsImV4cCI6MTczNjI1MjQwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.hdMbctKSKCcEjXxwo_v7zJ2dyHwxSAyetN1xwY6uTCump-oZ5mNWDX-_UwJioc_KLuVdpvdh3hTWioCptGKd9BFaFWLjZV7Mdwdk2_7dKCPwv1wlA26F5-x8YAefuf1MZBtVSeCMg2FE3v_SeCfcNTDMAjHvNXhe3UjL_EME7cXA7OMk0goo4EBl83qYf1Sr94FgeIv7Nf1gLSAku9HioLWvSf-lQUW9bxAXi2BKKj_0P1zlHbVvn4lc5rttsr1t5CeqenYQxYEvtJGSAAEIUdSSBA2eIVeLk88n3DfF_qb7uNJbYjD2G6oEIAvyTmbh4yKd7bUds3NhTHesRLlsFQ
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => 9FehLOH2_OQnUn7MQKa27wY7aapV5zfFB5v7AHzjofU
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 06:50:04] Production.INFO: Date 2024-12-23
[2025-01-07 06:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:50:04] Production.INFO: Date 2024-12-24
[2025-01-07 06:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:50:04] Production.INFO: Date 2024-12-25
[2025-01-07 06:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:50:05] Production.INFO: Date 2024-12-26
[2025-01-07 06:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:50:05] Production.INFO: Date 2024-12-27
[2025-01-07 06:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:50:05] Production.INFO: Date 2024-12-28
[2025-01-07 06:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:50:05] Production.INFO: AccountID 235
[2025-01-07 06:50:05] Production.INFO: AccountName All Seasons Learning Center
[2025-01-07 06:50:05] Production.INFO: Checkcustomer
[2025-01-07 06:50:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="All%20Seasons%20Learning%20Center"
[2025-01-07 06:50:05] Production.INFO: Date 2024-12-29
[2025-01-07 06:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:50:05] Production.INFO: Date 2024-12-30
[2025-01-07 06:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:50:05] Production.INFO: Date 2024-12-31
[2025-01-07 06:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:50:05] Production.INFO: Date 2025-01-01
[2025-01-07 06:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:50:05] Production.INFO: Date 2025-01-02
[2025-01-07 06:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:50:05] Production.INFO: Date 2025-01-03
[2025-01-07 06:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:50:05] Production.INFO: Date 2025-01-04
[2025-01-07 06:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:50:05] Production.INFO: Date 2025-01-05
[2025-01-07 06:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:50:05] Production.INFO: Date 2025-01-06
[2025-01-07 06:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:50:05] Production.INFO: Date 2025-01-07
[2025-01-07 06:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:50:05] Production.INFO: Total Charge 0
[2025-01-07 06:50:05] Production.INFO: CreateAllLog End
[2025-01-07 06:50:05] Production.INFO: Account Balance End.
[2025-01-07 06:50:05] Production.ERROR: CronJobId end 12
[2025-01-07 06:50:05] Production.INFO: ==13176== Releasing lock...
[2025-01-07 06:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:50:06
[end_date_ymd] => 2025-01-07 06:50:06
[RateCDR] => 1
)
[2025-01-07 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-07 03:50:06' and `end` < '2025-01-07 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-07 06:50:08] Production.INFO: Contact id print CheckCustomer Case===680201a7-650c-4c24-b7d7-b8171bdcd911
[2025-01-07 06:50:08] Production.INFO: -- count --1
[2025-01-07 06:50:08] Production.INFO: AccountID 235
[2025-01-07 06:50:08] Production.INFO: AccountName All Seasons Learning Center
[2025-01-07 06:50:08] Production.INFO: Checkcustomer
[2025-01-07 06:50:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="All%20Seasons%20Learning%20Center"
[2025-01-07 06:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14193177', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 06:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 06:50:09] Production.INFO: ProcessCDR(1,14193177,1,1,2)
[2025-01-07 06:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14193177,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14193177,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:50:09] Production.INFO: ==13180== Releasing lock...
[2025-01-07 06:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 06:50:09] Production.INFO: 26 MB #Memory Used#
[2025-01-07 06:50:11] Production.INFO: Contact id print CheckCustomer Case===680201a7-650c-4c24-b7d7-b8171bdcd911
[2025-01-07 06:50:11] Production.INFO: -- count --1
[2025-01-07 06:50:11] Production.INFO: AccountID 235
[2025-01-07 06:50:11] Production.INFO: AccountName All Seasons Learning Center
[2025-01-07 06:50:11] Production.INFO: Checkcustomer
[2025-01-07 06:50:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="All%20Seasons%20Learning%20Center"
[2025-01-07 06:50:13] Production.INFO: Contact id print CheckCustomer Case===680201a7-650c-4c24-b7d7-b8171bdcd911
[2025-01-07 06:50:13] Production.INFO: -- count --1
[2025-01-07 06:50:13] Production.INFO: AccountID 235
[2025-01-07 06:50:13] Production.INFO: AccountName All Seasons Learning Center
[2025-01-07 06:50:13] Production.INFO: Checkcustomer
[2025-01-07 06:50:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="All%20Seasons%20Learning%20Center"
[2025-01-07 06:50:13] Production.ERROR: CronJobId end10
[2025-01-07 06:50:13] Production.INFO: ==13174== Releasing lock...
[2025-01-07 06:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:50:14] Production.INFO: call_cost start
[2025-01-07 06:50:14] Production.INFO: call_cost end
[2025-01-07 06:50:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:50:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:50:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:50:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:50:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:50:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:50:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:50:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:50:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:50:15] Production.INFO: ==13170== Releasing lock...
[2025-01-07 06:50:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:50:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:50:15] Production.INFO: Contact id print CheckCustomer Case===680201a7-650c-4c24-b7d7-b8171bdcd911
[2025-01-07 06:50:15] Production.INFO: -- count --1
[2025-01-07 06:50:15] Production.INFO: AccountID 235
[2025-01-07 06:50:15] Production.INFO: AccountName All Seasons Learning Center
[2025-01-07 06:50:15] Production.INFO: Checkcustomer
[2025-01-07 06:50:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="All%20Seasons%20Learning%20Center"
[2025-01-07 06:50:18] Production.INFO: Contact id print CheckCustomer Case===680201a7-650c-4c24-b7d7-b8171bdcd911
[2025-01-07 06:50:18] Production.INFO: -- count --1
[2025-01-07 06:50:18] Production.INFO: AccountID 243
[2025-01-07 06:50:18] Production.INFO: AccountName Bio-Ag Consultants & Distributors Inc.
[2025-01-07 06:50:18] Production.INFO: Checkcustomer
[2025-01-07 06:50:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Bio-Ag%20Consultants%20%26%20Distributors%20Inc."
[2025-01-07 06:50:18] Production.INFO: count ==72
[2025-01-07 06:50:18] Production.ERROR: pbx CDR StartTime 2025-01-07 03:50:06 - End Time 2025-01-07 06:50:06
[2025-01-07 06:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193176', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193176', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193176', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193176', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:50:18] Production.INFO: ProcessCDR(1,14193176,1,1,2)
[2025-01-07 06:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193176,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193176,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193176,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:50:21] Production.INFO: Contact id print CheckCustomer Case===d07f68ac-89bd-4e73-ae6e-c60c05b83dae
[2025-01-07 06:50:21] Production.INFO: -- count --1
[2025-01-07 06:50:21] Production.INFO: AccountID 95
[2025-01-07 06:50:21] Production.INFO: AccountName CanTrust Insurance Services
[2025-01-07 06:50:21] Production.INFO: Checkcustomer
[2025-01-07 06:50:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="CanTrust%20Insurance%20Services"
[2025-01-07 06:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193176,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193176', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193176', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:50:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:50:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:50:21] Production.INFO: ==13178== Releasing lock...
[2025-01-07 06:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:50:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 06:50:24] Production.INFO: Contact id print CheckCustomer Case===d5a46ee9-fef7-49ae-981c-b537df046ad7
[2025-01-07 06:50:24] Production.INFO: -- count --1
[2025-01-07 06:50:24] Production.INFO: AccountID 63
[2025-01-07 06:50:24] Production.INFO: AccountName Clek Inc.
[2025-01-07 06:50:24] Production.INFO: Checkcustomer
[2025-01-07 06:50:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc."
[2025-01-07 06:50:26] Production.INFO: Contact id print CheckCustomer Case===c5a4d0ce-0d87-4131-b0d8-9808badfe70b
[2025-01-07 06:50:26] Production.INFO: -- count --1
[2025-01-07 06:50:26] Production.INFO: AccountID 63
[2025-01-07 06:50:26] Production.INFO: AccountName Clek Inc.
[2025-01-07 06:50:26] Production.INFO: Checkcustomer
[2025-01-07 06:50:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc."
[2025-01-07 06:50:29] Production.INFO: Contact id print CheckCustomer Case===c5a4d0ce-0d87-4131-b0d8-9808badfe70b
[2025-01-07 06:50:29] Production.INFO: -- count --1
[2025-01-07 06:50:29] Production.INFO: AccountID 63
[2025-01-07 06:50:29] Production.INFO: AccountName Clek Inc.
[2025-01-07 06:50:29] Production.INFO: Checkcustomer
[2025-01-07 06:50:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc."
[2025-01-07 06:50:31] Production.INFO: Contact id print CheckCustomer Case===c5a4d0ce-0d87-4131-b0d8-9808badfe70b
[2025-01-07 06:50:31] Production.INFO: -- count --1
[2025-01-07 06:50:31] Production.INFO: AccountID 63
[2025-01-07 06:50:31] Production.INFO: AccountName Clek Inc.
[2025-01-07 06:50:31] Production.INFO: Checkcustomer
[2025-01-07 06:50:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc."
[2025-01-07 06:50:33] Production.INFO: Contact id print CheckCustomer Case===c5a4d0ce-0d87-4131-b0d8-9808badfe70b
[2025-01-07 06:50:33] Production.INFO: -- count --1
[2025-01-07 06:50:33] Production.INFO: AccountID 63
[2025-01-07 06:50:33] Production.INFO: AccountName Clek Inc.
[2025-01-07 06:50:33] Production.INFO: Checkcustomer
[2025-01-07 06:50:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc."
[2025-01-07 06:50:36] Production.INFO: Contact id print CheckCustomer Case===c5a4d0ce-0d87-4131-b0d8-9808badfe70b
[2025-01-07 06:50:36] Production.INFO: -- count --1
[2025-01-07 06:50:36] Production.INFO: AccountID 63
[2025-01-07 06:50:36] Production.INFO: AccountName Clek Inc.
[2025-01-07 06:50:36] Production.INFO: Checkcustomer
[2025-01-07 06:50:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc."
[2025-01-07 06:50:39] Production.INFO: Contact id print CheckCustomer Case===c5a4d0ce-0d87-4131-b0d8-9808badfe70b
[2025-01-07 06:50:39] Production.INFO: -- count --1
[2025-01-07 06:50:39] Production.INFO: AccountID 63
[2025-01-07 06:50:39] Production.INFO: AccountName Clek Inc.
[2025-01-07 06:50:39] Production.INFO: Checkcustomer
[2025-01-07 06:50:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc."
[2025-01-07 06:50:41] Production.INFO: Contact id print CheckCustomer Case===c5a4d0ce-0d87-4131-b0d8-9808badfe70b
[2025-01-07 06:50:41] Production.INFO: -- count --1
[2025-01-07 06:50:41] Production.INFO: AccountID 63
[2025-01-07 06:50:41] Production.INFO: AccountName Clek Inc.
[2025-01-07 06:50:41] Production.INFO: Checkcustomer
[2025-01-07 06:50:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc."
[2025-01-07 06:50:43] Production.INFO: Contact id print CheckCustomer Case===c5a4d0ce-0d87-4131-b0d8-9808badfe70b
[2025-01-07 06:50:43] Production.INFO: -- count --1
[2025-01-07 06:50:43] Production.INFO: AccountID 63
[2025-01-07 06:50:43] Production.INFO: AccountName Clek Inc.
[2025-01-07 06:50:43] Production.INFO: Checkcustomer
[2025-01-07 06:50:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc."
[2025-01-07 06:50:46] Production.INFO: Contact id print CheckCustomer Case===c5a4d0ce-0d87-4131-b0d8-9808badfe70b
[2025-01-07 06:50:46] Production.INFO: -- count --1
[2025-01-07 06:50:46] Production.INFO: AccountID 63
[2025-01-07 06:50:46] Production.INFO: AccountName Clek Inc.
[2025-01-07 06:50:46] Production.INFO: Checkcustomer
[2025-01-07 06:50:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc."
[2025-01-07 06:50:48] Production.INFO: Contact id print CheckCustomer Case===c5a4d0ce-0d87-4131-b0d8-9808badfe70b
[2025-01-07 06:50:48] Production.INFO: -- count --1
[2025-01-07 06:50:48] Production.INFO: AccountID 63
[2025-01-07 06:50:48] Production.INFO: AccountName Clek Inc.
[2025-01-07 06:50:48] Production.INFO: Checkcustomer
[2025-01-07 06:50:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc."
[2025-01-07 06:50:51] Production.INFO: Contact id print CheckCustomer Case===c5a4d0ce-0d87-4131-b0d8-9808badfe70b
[2025-01-07 06:50:51] Production.INFO: -- count --1
[2025-01-07 06:50:51] Production.INFO: AccountID 133
[2025-01-07 06:50:51] Production.INFO: AccountName Compass ELC - Admin
[2025-01-07 06:50:51] Production.INFO: Checkcustomer
[2025-01-07 06:50:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Admin"
[2025-01-07 06:50:54] Production.INFO: Contact id print CheckCustomer Case===45a97611-b88b-4aeb-9499-d79cf1bf033c
[2025-01-07 06:50:54] Production.INFO: -- count --1
[2025-01-07 06:50:54] Production.INFO: AccountID 133
[2025-01-07 06:50:54] Production.INFO: AccountName Compass ELC - Admin
[2025-01-07 06:50:54] Production.INFO: Checkcustomer
[2025-01-07 06:50:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Admin"
[2025-01-07 06:50:56] Production.INFO: Contact id print CheckCustomer Case===45a97611-b88b-4aeb-9499-d79cf1bf033c
[2025-01-07 06:50:56] Production.INFO: -- count --1
[2025-01-07 06:50:56] Production.INFO: AccountID 133
[2025-01-07 06:50:56] Production.INFO: AccountName Compass ELC - Admin
[2025-01-07 06:50:56] Production.INFO: Checkcustomer
[2025-01-07 06:50:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Admin"
[2025-01-07 06:50:59] Production.INFO: Contact id print CheckCustomer Case===45a97611-b88b-4aeb-9499-d79cf1bf033c
[2025-01-07 06:50:59] Production.INFO: -- count --1
[2025-01-07 06:50:59] Production.INFO: AccountID 133
[2025-01-07 06:50:59] Production.INFO: AccountName Compass ELC - Admin
[2025-01-07 06:50:59] Production.INFO: Checkcustomer
[2025-01-07 06:50:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Admin"
[2025-01-07 06:51:01] Production.INFO: Contact id print CheckCustomer Case===45a97611-b88b-4aeb-9499-d79cf1bf033c
[2025-01-07 06:51:01] Production.INFO: -- count --1
[2025-01-07 06:51:01] Production.INFO: AccountID 117
[2025-01-07 06:51:01] Production.INFO: AccountName Compass ELC - Durham HCC
[2025-01-07 06:51:01] Production.INFO: Checkcustomer
[2025-01-07 06:51:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Durham%20HCC"
[2025-01-07 11:51:01] Production.INFO: ==13262== Lock acquired, processing the job...
[2025-01-07 11:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:51:01] Production.INFO: neon service started
[2025-01-07 11:51:01] Production.INFO: neon service started
[2025-01-07 11:51:01] Production.INFO: ==13262== Releasing lock...
[2025-01-07 11:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:51:02] Production.INFO: ==13264== Lock acquired, processing the job...
[2025-01-07 06:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:51:02] Production.INFO: ==13264== Releasing lock...
[2025-01-07 06:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:51:02] Production.INFO: ==13266== Lock acquired, processing the job...
[2025-01-07 11:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:51:02] Production.INFO: ==13266== Releasing lock...
[2025-01-07 11:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:51:03] Production.INFO: ==13273== Lock acquired, processing the job...
[2025-01-07 06:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:51:03] Production.INFO: ==13279== Lock acquired, processing the job...
[2025-01-07 06:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:51:03] Production.INFO: ==13269== Lock acquired, processing the job...
[2025-01-07 06:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 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-07 06:51:03] Production.INFO: ==13271== Lock acquired, processing the job...
[2025-01-07 06:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:51:03] Production.INFO: count ==21
[2025-01-07 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-07 06:51:03] Production.INFO: count ==21
[2025-01-07 06:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193178') start
[2025-01-07 06:51:03] Production.INFO: ==13275== Lock acquired, processing the job...
[2025-01-07 06:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:51:03] Production.INFO: ==13277== Lock acquired, processing the job...
[2025-01-07 06:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193178') end
[2025-01-07 06:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:51:03] Production.INFO: 1
[2025-01-07 06:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:51:03] Production.INFO: Account Balance Start.
[2025-01-07 06:51:03] Production.INFO: CreateAllLog Start
[2025-01-07 06:51:03] Production.INFO: 117
[2025-01-07 06:51:03] Production.INFO: ==13279== Releasing lock...
[2025-01-07 06:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:51:03] Production.INFO: Date 2024-12-08
[2025-01-07 06:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:51:03] Production.ERROR: done
[2025-01-07 06:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:51:03] Production.INFO: Date 2024-12-09
[2025-01-07 06:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:51:04] Production.INFO: Contact id print CheckCustomer Case===f8b88efb-63e8-472e-81a0-aaf95bba55fd
[2025-01-07 06:51:04] Production.INFO: -- count --1
[2025-01-07 06:51:04] Production.INFO: AccountID 186
[2025-01-07 06:51:04] Production.INFO: AccountName Compass ELC - Shamrock
[2025-01-07 06:51:04] Production.INFO: Checkcustomer
[2025-01-07 06:51:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Shamrock"
[2025-01-07 06:51:04] Production.ERROR: done
[2025-01-07 06:51:04] Production.INFO: ==13271== Releasing lock...
[2025-01-07 06:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:51:04] Production.INFO: Date 2024-12-10
[2025-01-07 06:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:51:04] Production.INFO: Date 2024-12-11
[2025-01-07 06:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:51:04] Production.INFO: Date 2024-12-12
[2025-01-07 06:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:51:04] Production.INFO: Date 2024-12-13
[2025-01-07 06:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:51:04] Production.INFO: Date 2024-12-14
[2025-01-07 06:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:51:04] Production.INFO: Date 2024-12-15
[2025-01-07 06:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:51:04] Production.INFO: Date 2024-12-16
[2025-01-07 06:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:51:04] Production.INFO: Date 2024-12-17
[2025-01-07 06:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:51:04] Production.INFO: Date 2024-12-18
[2025-01-07 06:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:51:04] Production.INFO: Date 2024-12-19
[2025-01-07 06:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:51:04] Production.INFO: Date 2024-12-20
[2025-01-07 06:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:51:04] Production.INFO: Date 2024-12-21
[2025-01-07 06:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:51:04] Production.INFO: Date 2024-12-22
[2025-01-07 06:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:51:04] Production.INFO: Date 2024-12-23
[2025-01-07 06:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:51:04] Production.INFO: Date 2024-12-24
[2025-01-07 06:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:51:04] Production.INFO: Date 2024-12-25
[2025-01-07 06:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:51:05] Production.INFO: Date 2024-12-26
[2025-01-07 06:51:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:51:05] Production.INFO: Date 2024-12-27
[2025-01-07 06:51:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:51:05] Production.INFO: Date 2024-12-28
[2025-01-07 06:51:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:51:05
[end_date_ymd] => 2025-01-07 06:51:05
[RateCDR] => 1
)
[2025-01-07 06:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 03:51:05' and `end` < '2025-01-07 06:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 06:51:05] Production.INFO: Date 2024-12-29
[2025-01-07 06:51:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:51:05] Production.INFO: Date 2024-12-30
[2025-01-07 06:51:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:51:05] Production.INFO: Date 2024-12-31
[2025-01-07 06:51:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:51:05] Production.INFO: Date 2025-01-01
[2025-01-07 06:51:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:51:05] Production.INFO: Date 2025-01-02
[2025-01-07 06:51:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:51:05] Production.INFO: Date 2025-01-03
[2025-01-07 06:51:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:51:05] Production.INFO: Date 2025-01-04
[2025-01-07 06:51:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:51:05] Production.INFO: Date 2025-01-05
[2025-01-07 06:51:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:51:05] Production.INFO: Date 2025-01-06
[2025-01-07 06:51:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:51:05] Production.INFO: Date 2025-01-07
[2025-01-07 06:51:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:51:05] Production.INFO: Total Charge 0
[2025-01-07 06:51:05] Production.INFO: CreateAllLog End
[2025-01-07 06:51:05] Production.INFO: Account Balance End.
[2025-01-07 06:51:05] Production.ERROR: CronJobId end 12
[2025-01-07 06:51:05] Production.INFO: ==13275== Releasing lock...
[2025-01-07 06:51:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:51:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:51:06] Production.INFO: Contact id print CheckCustomer Case===df7a6ec9-a1c3-47bf-9a70-a8ca44c5cf25
[2025-01-07 06:51:06] Production.INFO: -- count --1
[2025-01-07 06:51:06] Production.INFO: AccountID 153
[2025-01-07 06:51:06] Production.INFO: AccountName Dominos 10191 (Chandresh Patel)
[2025-01-07 06:51:06] Production.INFO: Checkcustomer
[2025-01-07 06:51:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010191%20%28Chandresh%20Patel%29"
[2025-01-07 06:51:09] Production.INFO: Contact id print CheckCustomer Case===a1f84b26-3d74-4603-893d-c86292f301ef
[2025-01-07 06:51:09] Production.INFO: -- count --1
[2025-01-07 06:51:09] Production.INFO: AccountID 154
[2025-01-07 06:51:09] Production.INFO: AccountName Dominos 10385 (Sandeep Chaudhari)
[2025-01-07 06:51:09] Production.INFO: Checkcustomer
[2025-01-07 06:51:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010385%20%28Sandeep%20Chaudhari%29"
[2025-01-07 06:51:10] Production.ERROR: CronJobId end10
[2025-01-07 06:51:10] Production.INFO: ==13273== Releasing lock...
[2025-01-07 06:51:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:51:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:51:11] Production.INFO: Contact id print CheckCustomer Case===f21476d6-c1e8-4e8b-b2a8-87f68276aedf
[2025-01-07 06:51:11] Production.INFO: -- count --1
[2025-01-07 06:51:11] Production.INFO: AccountID 124
[2025-01-07 06:51:11] Production.INFO: AccountName Dominos 39009 (Mudassar Zia)
[2025-01-07 06:51:11] Production.INFO: Checkcustomer
[2025-01-07 06:51:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039009%20%28Mudassar%20Zia%29"
[2025-01-07 06:51:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:51:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:51:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:51:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:51:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:51:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:51:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:51:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:51:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:51:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:51:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:51:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:51:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:51:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:51:12] Production.INFO: call_cost start
[2025-01-07 06:51:12] Production.INFO: call_cost end
[2025-01-07 06:51:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:51:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:51:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:51:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:51:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:51:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:51:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:51:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:51:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:51:13] Production.INFO: ==13269== Releasing lock...
[2025-01-07 06:51:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:51:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:51:14] Production.INFO: Contact id print CheckCustomer Case===40c47681-8e37-4e12-be60-e7c71250891f
[2025-01-07 06:51:14] Production.INFO: -- count --1
[2025-01-07 06:51:14] Production.INFO: AccountID 230
[2025-01-07 06:51:14] Production.INFO: AccountName Harbourfront Medicine Cabinet
[2025-01-07 06:51:14] Production.INFO: Checkcustomer
[2025-01-07 06:51:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Harbourfront%20Medicine%20Cabinet"
[2025-01-07 06:51:16] Production.INFO: Contact id print CheckCustomer Case===e4609e79-2a2f-49b0-a0f8-9766de2b1774
[2025-01-07 06:51:16] Production.INFO: -- count --1
[2025-01-07 06:51:16] Production.INFO: AccountID 230
[2025-01-07 06:51:16] Production.INFO: AccountName Harbourfront Medicine Cabinet
[2025-01-07 06:51:16] Production.INFO: Checkcustomer
[2025-01-07 06:51:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Harbourfront%20Medicine%20Cabinet"
[2025-01-07 06:51:19] Production.INFO: Contact id print CheckCustomer Case===e4609e79-2a2f-49b0-a0f8-9766de2b1774
[2025-01-07 06:51:19] Production.INFO: -- count --1
[2025-01-07 06:51:19] Production.INFO: AccountID 25
[2025-01-07 06:51:19] Production.INFO: AccountName Harding Security
[2025-01-07 06:51:19] Production.INFO: Checkcustomer
[2025-01-07 06:51:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Harding%20Security"
[2025-01-07 06:51:19] Production.INFO: count ==72
[2025-01-07 06:51:19] Production.ERROR: pbx CDR StartTime 2025-01-07 03:51:05 - End Time 2025-01-07 06:51:05
[2025-01-07 06:51:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193182', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193182', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193182', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193182', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:51:19] Production.INFO: ProcessCDR(1,14193182,1,1,2)
[2025-01-07 06:51:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193182,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193182,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193182,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:51:21] Production.INFO: Contact id print CheckCustomer Case===631aa009-5337-4bbb-817f-724f7ca5f6db
[2025-01-07 06:51:21] Production.INFO: -- count --1
[2025-01-07 06:51:21] Production.INFO: AccountID 25
[2025-01-07 06:51:21] Production.INFO: AccountName Harding Security
[2025-01-07 06:51:21] Production.INFO: Checkcustomer
[2025-01-07 06:51:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Harding%20Security"
[2025-01-07 06:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193182,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193182', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193182', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:51:22] Production.INFO: ==13277== Releasing lock...
[2025-01-07 06:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:51:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 06:51:23] Production.INFO: Contact id print CheckCustomer Case===631aa009-5337-4bbb-817f-724f7ca5f6db
[2025-01-07 06:51:23] Production.INFO: -- count --1
[2025-01-07 06:51:23] Production.INFO: AccountID 25
[2025-01-07 06:51:23] Production.INFO: AccountName Harding Security
[2025-01-07 06:51:23] Production.INFO: Checkcustomer
[2025-01-07 06:51:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Harding%20Security"
[2025-01-07 06:51:26] Production.INFO: Contact id print CheckCustomer Case===631aa009-5337-4bbb-817f-724f7ca5f6db
[2025-01-07 06:51:26] Production.INFO: -- count --1
[2025-01-07 06:51:26] Production.INFO: AccountID 232
[2025-01-07 06:51:26] Production.INFO: AccountName Jenopher Inc.
[2025-01-07 06:51:26] Production.INFO: Checkcustomer
[2025-01-07 06:51:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Jenopher%20Inc."
[2025-01-07 06:51:28] Production.INFO: Contact id print CheckCustomer Case===5fa26058-5c6f-4ffe-9c35-4f8d77ccf359
[2025-01-07 06:51:28] Production.INFO: -- count --1
[2025-01-07 06:51:28] Production.INFO: AccountID 232
[2025-01-07 06:51:28] Production.INFO: AccountName Jenopher Inc.
[2025-01-07 06:51:28] Production.INFO: Checkcustomer
[2025-01-07 06:51:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Jenopher%20Inc."
[2025-01-07 06:51:30] Production.INFO: Contact id print CheckCustomer Case===5fa26058-5c6f-4ffe-9c35-4f8d77ccf359
[2025-01-07 06:51:30] Production.INFO: -- count --1
[2025-01-07 06:51:30] Production.INFO: AccountID 236
[2025-01-07 06:51:30] Production.INFO: AccountName Keogh Construction
[2025-01-07 06:51:30] Production.INFO: Checkcustomer
[2025-01-07 06:51:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Keogh%20Construction"
[2025-01-07 06:51:33] Production.INFO: Contact id print CheckCustomer Case===cad302ad-7c7e-456b-bcf1-bd7729cb22b7
[2025-01-07 06:51:33] Production.INFO: -- count --1
[2025-01-07 06:51:33] Production.INFO: AccountID 236
[2025-01-07 06:51:33] Production.INFO: AccountName Keogh Construction
[2025-01-07 06:51:33] Production.INFO: Checkcustomer
[2025-01-07 06:51:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Keogh%20Construction"
[2025-01-07 06:51:35] Production.INFO: Contact id print CheckCustomer Case===cad302ad-7c7e-456b-bcf1-bd7729cb22b7
[2025-01-07 06:51:35] Production.INFO: -- count --1
[2025-01-07 06:51:35] Production.INFO: AccountID 236
[2025-01-07 06:51:35] Production.INFO: AccountName Keogh Construction
[2025-01-07 06:51:35] Production.INFO: Checkcustomer
[2025-01-07 06:51:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Keogh%20Construction"
[2025-01-07 06:51:37] Production.INFO: Contact id print CheckCustomer Case===cad302ad-7c7e-456b-bcf1-bd7729cb22b7
[2025-01-07 06:51:37] Production.INFO: -- count --1
[2025-01-07 06:51:37] Production.INFO: AccountID 236
[2025-01-07 06:51:37] Production.INFO: AccountName Keogh Construction
[2025-01-07 06:51:37] Production.INFO: Checkcustomer
[2025-01-07 06:51:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Keogh%20Construction"
[2025-01-07 06:51:39] Production.INFO: Contact id print CheckCustomer Case===cad302ad-7c7e-456b-bcf1-bd7729cb22b7
[2025-01-07 06:51:39] Production.INFO: -- count --1
[2025-01-07 06:51:39] Production.INFO: AccountID 236
[2025-01-07 06:51:39] Production.INFO: AccountName Keogh Construction
[2025-01-07 06:51:39] Production.INFO: Checkcustomer
[2025-01-07 06:51:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Keogh%20Construction"
[2025-01-07 06:51:41] Production.INFO: Contact id print CheckCustomer Case===cad302ad-7c7e-456b-bcf1-bd7729cb22b7
[2025-01-07 06:51:41] Production.INFO: -- count --1
[2025-01-07 06:51:41] Production.INFO: AccountID 236
[2025-01-07 06:51:41] Production.INFO: AccountName Keogh Construction
[2025-01-07 06:51:41] Production.INFO: Checkcustomer
[2025-01-07 06:51:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Keogh%20Construction"
[2025-01-07 06:51:44] Production.INFO: Contact id print CheckCustomer Case===cad302ad-7c7e-456b-bcf1-bd7729cb22b7
[2025-01-07 06:51:44] Production.INFO: -- count --1
[2025-01-07 06:51:44] Production.INFO: AccountID 236
[2025-01-07 06:51:44] Production.INFO: AccountName Keogh Construction
[2025-01-07 06:51:44] Production.INFO: Checkcustomer
[2025-01-07 06:51:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Keogh%20Construction"
[2025-01-07 06:51:46] Production.INFO: Contact id print CheckCustomer Case===cad302ad-7c7e-456b-bcf1-bd7729cb22b7
[2025-01-07 06:51:46] Production.INFO: -- count --1
[2025-01-07 06:51:46] Production.INFO: AccountID 237
[2025-01-07 06:51:46] Production.INFO: AccountName Natural Insect Control
[2025-01-07 06:51:46] Production.INFO: Checkcustomer
[2025-01-07 06:51:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Natural%20Insect%20Control"
[2025-01-07 06:51:48] Production.INFO: Contact id print CheckCustomer Case===fcade0cf-7b43-4bfe-86cf-b6c9e33f1686
[2025-01-07 06:51:48] Production.INFO: -- count --1
[2025-01-07 06:51:48] Production.INFO: AccountID 237
[2025-01-07 06:51:48] Production.INFO: AccountName Natural Insect Control
[2025-01-07 06:51:48] Production.INFO: Checkcustomer
[2025-01-07 06:51:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Natural%20Insect%20Control"
[2025-01-07 06:51:51] Production.INFO: Contact id print CheckCustomer Case===fcade0cf-7b43-4bfe-86cf-b6c9e33f1686
[2025-01-07 06:51:51] Production.INFO: -- count --1
[2025-01-07 06:51:51] Production.INFO: AccountID 237
[2025-01-07 06:51:51] Production.INFO: AccountName Natural Insect Control
[2025-01-07 06:51:51] Production.INFO: Checkcustomer
[2025-01-07 06:51:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Natural%20Insect%20Control"
[2025-01-07 06:51:54] Production.INFO: Contact id print CheckCustomer Case===fcade0cf-7b43-4bfe-86cf-b6c9e33f1686
[2025-01-07 06:51:54] Production.INFO: -- count --1
[2025-01-07 06:51:54] Production.INFO: AccountID 237
[2025-01-07 06:51:54] Production.INFO: AccountName Natural Insect Control
[2025-01-07 06:51:54] Production.INFO: Checkcustomer
[2025-01-07 06:51:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Natural%20Insect%20Control"
[2025-01-07 06:51:56] Production.INFO: Contact id print CheckCustomer Case===fcade0cf-7b43-4bfe-86cf-b6c9e33f1686
[2025-01-07 06:51:56] Production.INFO: -- count --1
[2025-01-07 06:51:56] Production.INFO: AccountID 237
[2025-01-07 06:51:56] Production.INFO: AccountName Natural Insect Control
[2025-01-07 06:51:56] Production.INFO: Checkcustomer
[2025-01-07 06:51:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Natural%20Insect%20Control"
[2025-01-07 06:51:59] Production.INFO: Contact id print CheckCustomer Case===fcade0cf-7b43-4bfe-86cf-b6c9e33f1686
[2025-01-07 06:51:59] Production.INFO: -- count --1
[2025-01-07 06:51:59] Production.INFO: AccountID 237
[2025-01-07 06:51:59] Production.INFO: AccountName Natural Insect Control
[2025-01-07 06:51:59] Production.INFO: Checkcustomer
[2025-01-07 06:51:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Natural%20Insect%20Control"
[2025-01-07 06:52:01] Production.INFO: Contact id print CheckCustomer Case===fcade0cf-7b43-4bfe-86cf-b6c9e33f1686
[2025-01-07 06:52:01] Production.INFO: -- count --1
[2025-01-07 06:52:01] Production.INFO: AccountID 213
[2025-01-07 06:52:01] Production.INFO: AccountName One City Peterborough
[2025-01-07 06:52:01] Production.INFO: Checkcustomer
[2025-01-07 06:52:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="One%20City%20Peterborough"
[2025-01-07 11:52:02] Production.INFO: ==13356== Lock acquired, processing the job...
[2025-01-07 11:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:52:02] Production.INFO: neon service started
[2025-01-07 11:52:02] Production.INFO: neon service started
[2025-01-07 11:52:02] Production.INFO: ==13356== Releasing lock...
[2025-01-07 11:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:52:02] Production.INFO: ==13358== Lock acquired, processing the job...
[2025-01-07 06:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:52:02] Production.INFO: ==13358== Releasing lock...
[2025-01-07 06:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:52:02] Production.INFO: ==13360== Lock acquired, processing the job...
[2025-01-07 11:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:52:03] Production.INFO: ==13360== Releasing lock...
[2025-01-07 11:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:52:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:52:03] Production.INFO: ==13369== Lock acquired, processing the job...
[2025-01-07 06:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:52:03] Production.INFO: ==13373== Lock acquired, processing the job...
[2025-01-07 06:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:52:03] Production.INFO: Account Balance Start.
[2025-01-07 06:52:03] Production.INFO: CreateAllLog Start
[2025-01-07 06:52:03] Production.INFO: 117
[2025-01-07 06:52:03] Production.INFO: Date 2024-12-08
[2025-01-07 06:52:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:52:03] Production.INFO: ==13363== Lock acquired, processing the job...
[2025-01-07 06:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:52:03] Production.INFO: Date 2024-12-09
[2025-01-07 06:52:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:52:03] Production.INFO: Date 2024-12-10
[2025-01-07 06:52:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:52:03] Production.INFO: ==13365== Lock acquired, processing the job...
[2025-01-07 06:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:52:03] Production.INFO: ==13367== Lock acquired, processing the job...
[2025-01-07 06:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:52:03] Production.INFO: Date 2024-12-11
[2025-01-07 06:52:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:52:04] Production.INFO: ==13371== Lock acquired, processing the job...
[2025-01-07 06:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:52:04] Production.INFO: Date 2024-12-12
[2025-01-07 06:52:04] Production.INFO: count ==21
[2025-01-07 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-07 06:52:04] Production.INFO: count ==21
[2025-01-07 06:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193184') start
[2025-01-07 06:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:52:04] Production.INFO: Date 2024-12-13
[2025-01-07 06:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193184') end
[2025-01-07 06:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:52:04] Production.INFO: 1
[2025-01-07 06:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:52:04] Production.INFO: ==13373== Releasing lock...
[2025-01-07 06:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:52:04] Production.INFO: Date 2024-12-14
[2025-01-07 06:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:52:04] Production.ERROR: done
[2025-01-07 06:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:52:04] Production.INFO: Date 2024-12-15
[2025-01-07 06:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:52:04] Production.ERROR: done
[2025-01-07 06:52:04] Production.INFO: ==13365== Releasing lock...
[2025-01-07 06:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:52:04] Production.INFO: Contact id print CheckCustomer Case===5e7868ac-fe74-43a1-ada1-68662ffb17f1
[2025-01-07 06:52:04] Production.INFO: -- count --1
[2025-01-07 06:52:04] Production.INFO: AccountID 192
[2025-01-07 06:52:04] Production.INFO: AccountName Ontario Turtle Conservation Centre
[2025-01-07 06:52:04] Production.INFO: Checkcustomer
[2025-01-07 06:52:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Ontario%20Turtle%20Conservation%20Centre"
[2025-01-07 06:52:04] Production.INFO: Date 2024-12-16
[2025-01-07 06:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:52:04] Production.INFO: Date 2024-12-17
[2025-01-07 06:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:52:04] Production.INFO: Date 2024-12-18
[2025-01-07 06:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:52:04] Production.INFO: Date 2024-12-19
[2025-01-07 06:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:52:04] Production.INFO: Date 2024-12-20
[2025-01-07 06:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:52:04] Production.INFO: Date 2024-12-21
[2025-01-07 06:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:52:04] Production.INFO: Date 2024-12-22
[2025-01-07 06:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:52:04] Production.INFO: Date 2024-12-23
[2025-01-07 06:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:52:04] Production.INFO: Date 2024-12-24
[2025-01-07 06:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:52:05] Production.INFO: Date 2024-12-25
[2025-01-07 06:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:52:05] Production.INFO: Date 2024-12-26
[2025-01-07 06:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:52:05] Production.INFO: Date 2024-12-27
[2025-01-07 06:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:52:05] Production.INFO: Date 2024-12-28
[2025-01-07 06:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:52:05] Production.INFO: Date 2024-12-29
[2025-01-07 06:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:52:05] Production.INFO: Date 2024-12-30
[2025-01-07 06:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:52:05] Production.INFO: Date 2024-12-31
[2025-01-07 06:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:52:05
[end_date_ymd] => 2025-01-07 06:52:05
[RateCDR] => 1
)
[2025-01-07 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-07 03:52:05' and `end` < '2025-01-07 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-07 06:52:05] Production.INFO: Date 2025-01-01
[2025-01-07 06:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:52:05] Production.INFO: Date 2025-01-02
[2025-01-07 06:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:52:05] Production.INFO: Date 2025-01-03
[2025-01-07 06:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:52:05] Production.INFO: Date 2025-01-04
[2025-01-07 06:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:52:05] Production.INFO: Date 2025-01-05
[2025-01-07 06:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:52:05] Production.INFO: Date 2025-01-06
[2025-01-07 06:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:52:05] Production.INFO: Date 2025-01-07
[2025-01-07 06:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:52:05] Production.INFO: Total Charge 0
[2025-01-07 06:52:05] Production.INFO: CreateAllLog End
[2025-01-07 06:52:05] Production.INFO: Account Balance End.
[2025-01-07 06:52:05] Production.ERROR: CronJobId end 12
[2025-01-07 06:52:05] Production.INFO: ==13369== Releasing lock...
[2025-01-07 06:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:52:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:52:07] Production.INFO: Contact id print CheckCustomer Case===24cd1aba-5ae0-4087-aad8-a6d157b1a548
[2025-01-07 06:52:07] Production.INFO: -- count --1
[2025-01-07 06:52:07] Production.INFO: AccountID 143
[2025-01-07 06:52:07] Production.INFO: AccountName Orange Contracting
[2025-01-07 06:52:07] Production.INFO: Checkcustomer
[2025-01-07 06:52:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Orange%20Contracting"
[2025-01-07 06:52:09] Production.INFO: Contact id print CheckCustomer Case===075abb78-3e33-47bd-a869-70486b7179f2
[2025-01-07 06:52:09] Production.INFO: -- count --1
[2025-01-07 06:52:09] Production.INFO: AccountID 143
[2025-01-07 06:52:09] Production.INFO: AccountName Orange Contracting
[2025-01-07 06:52:09] Production.INFO: Checkcustomer
[2025-01-07 06:52:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Orange%20Contracting"
[2025-01-07 06:52:10] Production.ERROR: CronJobId end10
[2025-01-07 06:52:10] Production.INFO: ==13367== Releasing lock...
[2025-01-07 06:52:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:52:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:52:11] Production.INFO: Contact id print CheckCustomer Case===075abb78-3e33-47bd-a869-70486b7179f2
[2025-01-07 06:52:11] Production.INFO: -- count --1
[2025-01-07 06:52:11] Production.INFO: AccountID 93
[2025-01-07 06:52:11] Production.INFO: AccountName Personas
[2025-01-07 06:52:11] Production.INFO: Checkcustomer
[2025-01-07 06:52:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Personas"
[2025-01-07 06:52:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:52:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:52:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:52:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:52:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:52:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:52:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:52:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:52:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:52:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:52:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:52:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:52:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:52:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:52:13] Production.INFO: call_cost start
[2025-01-07 06:52:13] Production.INFO: call_cost end
[2025-01-07 06:52:14] Production.INFO: Contact id print CheckCustomer Case===31472f57-4acd-4468-9ab0-8ed346b2d96f
[2025-01-07 06:52:14] Production.INFO: -- count --1
[2025-01-07 06:52:14] Production.INFO: AccountID 93
[2025-01-07 06:52:14] Production.INFO: AccountName Personas
[2025-01-07 06:52:14] Production.INFO: Checkcustomer
[2025-01-07 06:52:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Personas"
[2025-01-07 06:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:52:14] Production.INFO: ==13363== Releasing lock...
[2025-01-07 06:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:52:16] Production.INFO: Contact id print CheckCustomer Case===31472f57-4acd-4468-9ab0-8ed346b2d96f
[2025-01-07 06:52:16] Production.INFO: -- count --1
[2025-01-07 06:52:16] Production.INFO: AccountID 93
[2025-01-07 06:52:16] Production.INFO: AccountName Personas
[2025-01-07 06:52:16] Production.INFO: Checkcustomer
[2025-01-07 06:52:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Personas"
[2025-01-07 06:52:18] Production.INFO: count ==72
[2025-01-07 06:52:18] Production.ERROR: pbx CDR StartTime 2025-01-07 03:52:05 - End Time 2025-01-07 06:52:05
[2025-01-07 06:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193187', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193187', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193187', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193187', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:52:18] Production.INFO: ProcessCDR(1,14193187,1,1,2)
[2025-01-07 06:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193187,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:52:18] Production.INFO: Contact id print CheckCustomer Case===31472f57-4acd-4468-9ab0-8ed346b2d96f
[2025-01-07 06:52:18] Production.INFO: -- count --1
[2025-01-07 06:52:18] Production.INFO: AccountID 148
[2025-01-07 06:52:18] Production.INFO: AccountName Pharmacy Associates of Port Perry
[2025-01-07 06:52:18] Production.INFO: Checkcustomer
[2025-01-07 06:52:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Pharmacy%20Associates%20of%20Port%20Perry"
[2025-01-07 06:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193187,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193187,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193187,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193187', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193187', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:52:21] Production.INFO: ==13371== Releasing lock...
[2025-01-07 06:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:52:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 06:52:21] Production.INFO: Contact id print CheckCustomer Case===c60706d0-0fd9-40ff-a211-387c86733ac7
[2025-01-07 06:52:21] Production.INFO: -- count --1
[2025-01-07 06:52:21] Production.INFO: AccountID 148
[2025-01-07 06:52:21] Production.INFO: AccountName Pharmacy Associates of Port Perry
[2025-01-07 06:52:21] Production.INFO: Checkcustomer
[2025-01-07 06:52:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Pharmacy%20Associates%20of%20Port%20Perry"
[2025-01-07 06:52:23] Production.INFO: Contact id print CheckCustomer Case===c60706d0-0fd9-40ff-a211-387c86733ac7
[2025-01-07 06:52:23] Production.INFO: -- count --1
[2025-01-07 06:52:23] Production.INFO: AccountID 165
[2025-01-07 06:52:23] Production.INFO: AccountName PharmaSave (Oak Tree Medical)
[2025-01-07 06:52:23] Production.INFO: Checkcustomer
[2025-01-07 06:52:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="PharmaSave%20%28Oak%20Tree%20Medical%29"
[2025-01-07 06:52:26] Production.INFO: Contact id print CheckCustomer Case===dd008964-6378-4903-b54b-a7b8eb03f05f
[2025-01-07 06:52:26] Production.INFO: -- count --1
[2025-01-07 06:52:26] Production.INFO: AccountID 165
[2025-01-07 06:52:26] Production.INFO: AccountName PharmaSave (Oak Tree Medical)
[2025-01-07 06:52:26] Production.INFO: Checkcustomer
[2025-01-07 06:52:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="PharmaSave%20%28Oak%20Tree%20Medical%29"
[2025-01-07 06:52:29] Production.INFO: Contact id print CheckCustomer Case===dd008964-6378-4903-b54b-a7b8eb03f05f
[2025-01-07 06:52:29] Production.INFO: -- count --1
[2025-01-07 06:52:29] Production.INFO: AccountID 246
[2025-01-07 06:52:29] Production.INFO: AccountName Pharmasave (Stouffville)
[2025-01-07 06:52:29] Production.INFO: Checkcustomer
[2025-01-07 06:52:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Pharmasave%20%28Stouffville%29"
[2025-01-07 06:52:31] Production.INFO: Contact id print CheckCustomer Case===762a953f-f402-469b-a4fb-adecaebb0031
[2025-01-07 06:52:31] Production.INFO: -- count --1
[2025-01-07 06:52:31] Production.INFO: AccountID 140
[2025-01-07 06:52:31] Production.INFO: AccountName PharmaSave (Uxbridge)
[2025-01-07 06:52:31] Production.INFO: Checkcustomer
[2025-01-07 06:52:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="PharmaSave%20%28Uxbridge%29"
[2025-01-07 06:52:34] Production.INFO: Contact id print CheckCustomer Case===ac797c62-9d84-4beb-9f18-85a8d961b94f
[2025-01-07 06:52:34] Production.INFO: -- count --1
[2025-01-07 06:52:34] Production.INFO: AccountID 193
[2025-01-07 06:52:34] Production.INFO: AccountName Plaza Auto Group
[2025-01-07 06:52:34] Production.INFO: Checkcustomer
[2025-01-07 06:52:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plaza%20Auto%20Group"
[2025-01-07 06:52:36] Production.INFO: Contact id print CheckCustomer Case===6b58ee01-f67a-4205-8873-1c91dd58d79c
[2025-01-07 06:52:36] Production.INFO: -- count --1
[2025-01-07 06:52:36] Production.INFO: AccountID 193
[2025-01-07 06:52:36] Production.INFO: AccountName Plaza Auto Group
[2025-01-07 06:52:36] Production.INFO: Checkcustomer
[2025-01-07 06:52:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plaza%20Auto%20Group"
[2025-01-07 06:52:39] Production.INFO: Contact id print CheckCustomer Case===6b58ee01-f67a-4205-8873-1c91dd58d79c
[2025-01-07 06:52:39] Production.INFO: -- count --1
[2025-01-07 06:52:39] Production.INFO: AccountID 53
[2025-01-07 06:52:39] Production.INFO: AccountName Plus Travel Group
[2025-01-07 06:52:39] Production.INFO: Checkcustomer
[2025-01-07 06:52:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plus%20Travel%20Group"
[2025-01-07 06:52:41] Production.INFO: Contact id print CheckCustomer Case===5f6b39a6-c5bb-485f-9fdd-a6c7a1eccc47
[2025-01-07 06:52:41] Production.INFO: -- count --1
[2025-01-07 06:52:41] Production.INFO: AccountID 53
[2025-01-07 06:52:41] Production.INFO: AccountName Plus Travel Group
[2025-01-07 06:52:41] Production.INFO: Checkcustomer
[2025-01-07 06:52:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plus%20Travel%20Group"
[2025-01-07 06:52:43] Production.INFO: Contact id print CheckCustomer Case===5f6b39a6-c5bb-485f-9fdd-a6c7a1eccc47
[2025-01-07 06:52:43] Production.INFO: -- count --1
[2025-01-07 06:52:43] Production.INFO: AccountID 53
[2025-01-07 06:52:43] Production.INFO: AccountName Plus Travel Group
[2025-01-07 06:52:43] Production.INFO: Checkcustomer
[2025-01-07 06:52:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plus%20Travel%20Group"
[2025-01-07 06:52:45] Production.INFO: Contact id print CheckCustomer Case===5f6b39a6-c5bb-485f-9fdd-a6c7a1eccc47
[2025-01-07 06:52:45] Production.INFO: -- count --1
[2025-01-07 06:52:45] Production.INFO: AccountID 53
[2025-01-07 06:52:45] Production.INFO: AccountName Plus Travel Group
[2025-01-07 06:52:45] Production.INFO: Checkcustomer
[2025-01-07 06:52:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plus%20Travel%20Group"
[2025-01-07 06:52:48] Production.INFO: Contact id print CheckCustomer Case===5f6b39a6-c5bb-485f-9fdd-a6c7a1eccc47
[2025-01-07 06:52:48] Production.INFO: -- count --1
[2025-01-07 06:52:48] Production.INFO: AccountID 53
[2025-01-07 06:52:48] Production.INFO: AccountName Plus Travel Group
[2025-01-07 06:52:48] Production.INFO: Checkcustomer
[2025-01-07 06:52:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plus%20Travel%20Group"
[2025-01-07 06:52:50] Production.INFO: Contact id print CheckCustomer Case===5f6b39a6-c5bb-485f-9fdd-a6c7a1eccc47
[2025-01-07 06:52:50] Production.INFO: -- count --1
[2025-01-07 06:52:50] Production.INFO: AccountID 53
[2025-01-07 06:52:50] Production.INFO: AccountName Plus Travel Group
[2025-01-07 06:52:50] Production.INFO: Checkcustomer
[2025-01-07 06:52:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plus%20Travel%20Group"
[2025-01-07 06:52:52] Production.INFO: Contact id print CheckCustomer Case===5f6b39a6-c5bb-485f-9fdd-a6c7a1eccc47
[2025-01-07 06:52:52] Production.INFO: -- count --1
[2025-01-07 06:52:52] Production.INFO: AccountID 53
[2025-01-07 06:52:52] Production.INFO: AccountName Plus Travel Group
[2025-01-07 06:52:52] Production.INFO: Checkcustomer
[2025-01-07 06:52:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plus%20Travel%20Group"
[2025-01-07 06:52:54] Production.INFO: Contact id print CheckCustomer Case===5f6b39a6-c5bb-485f-9fdd-a6c7a1eccc47
[2025-01-07 06:52:54] Production.INFO: -- count --1
[2025-01-07 06:52:54] Production.INFO: AccountID 53
[2025-01-07 06:52:54] Production.INFO: AccountName Plus Travel Group
[2025-01-07 06:52:54] Production.INFO: Checkcustomer
[2025-01-07 06:52:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plus%20Travel%20Group"
[2025-01-07 06:52:57] Production.INFO: Contact id print CheckCustomer Case===5f6b39a6-c5bb-485f-9fdd-a6c7a1eccc47
[2025-01-07 06:52:57] Production.INFO: -- count --1
[2025-01-07 06:52:57] Production.INFO: AccountID 53
[2025-01-07 06:52:57] Production.INFO: AccountName Plus Travel Group
[2025-01-07 06:52:57] Production.INFO: Checkcustomer
[2025-01-07 06:52:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plus%20Travel%20Group"
[2025-01-07 06:53:00] Production.INFO: Contact id print CheckCustomer Case===5f6b39a6-c5bb-485f-9fdd-a6c7a1eccc47
[2025-01-07 06:53:00] Production.INFO: -- count --1
[2025-01-07 06:53:00] Production.INFO: AccountID 53
[2025-01-07 06:53:00] Production.INFO: AccountName Plus Travel Group
[2025-01-07 06:53:00] Production.INFO: Checkcustomer
[2025-01-07 06:53:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plus%20Travel%20Group"
[2025-01-07 11:53:01] Production.INFO: ==13488== Lock acquired, processing the job...
[2025-01-07 11:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:53:01] Production.INFO: neon service started
[2025-01-07 11:53:01] Production.INFO: neon service started
[2025-01-07 11:53:01] Production.INFO: ==13488== Releasing lock...
[2025-01-07 11:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:53:02] Production.INFO: ==13490== Lock acquired, processing the job...
[2025-01-07 06:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:53:02] Production.INFO: ==13490== Releasing lock...
[2025-01-07 06:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:53:02] Production.INFO: ==13492== Lock acquired, processing the job...
[2025-01-07 11:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:53:02] Production.INFO: ==13492== Releasing lock...
[2025-01-07 11:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:53:03] Production.INFO: ==13495== Lock acquired, processing the job...
[2025-01-07 06:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:53:03] Production.INFO: Contact id print CheckCustomer Case===5f6b39a6-c5bb-485f-9fdd-a6c7a1eccc47
[2025-01-07 06:53:03] Production.INFO: -- count --1
[2025-01-07 06:53:03] Production.INFO: AccountID 53
[2025-01-07 06:53:03] Production.INFO: AccountName Plus Travel Group
[2025-01-07 06:53:03] Production.INFO: Checkcustomer
[2025-01-07 06:53:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plus%20Travel%20Group"
[2025-01-07 06:53:03] Production.INFO: ==13506== Lock acquired, processing the job...
[2025-01-07 06:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:53:03] Production.INFO: ==13504== Lock acquired, processing the job...
[2025-01-07 06:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:53:03] Production.INFO: count ==21
[2025-01-07 06:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:53:03] Production.INFO: ==13502== Lock acquired, processing the job...
[2025-01-07 06:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:53:03] Production.INFO: count ==21
[2025-01-07 06:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193189') start
[2025-01-07 06:53:03] Production.INFO: ==13499== Lock acquired, processing the job...
[2025-01-07 06:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:53:03] Production.INFO: ==13497== Lock acquired, processing the job...
[2025-01-07 06:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:53:03] Production.INFO: Account Balance Start.
[2025-01-07 06:53:03] Production.INFO: CreateAllLog Start
[2025-01-07 06:53:03] Production.INFO: 117
[2025-01-07 06:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193189') end
[2025-01-07 06:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:53:04] Production.INFO: 1
[2025-01-07 06:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:53:04] Production.INFO: Date 2024-12-08
[2025-01-07 06:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:53:04] Production.INFO: Date 2024-12-09
[2025-01-07 06:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:53:04] Production.INFO: Date 2024-12-10
[2025-01-07 06:53:04] Production.INFO: ==13506== Releasing lock...
[2025-01-07 06:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:53:04] Production.ERROR: done
[2025-01-07 06:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:53:04] Production.INFO: Date 2024-12-11
[2025-01-07 06:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:53:04] Production.INFO: Date 2024-12-12
[2025-01-07 06:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:53:04] Production.ERROR: done
[2025-01-07 06:53:04] Production.INFO: ==13497== Releasing lock...
[2025-01-07 06:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:53:04] Production.INFO: Date 2024-12-13
[2025-01-07 06:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:53:04] Production.INFO: Date 2024-12-14
[2025-01-07 06:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:53:04] Production.INFO: Date 2024-12-15
[2025-01-07 06:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:53:04] Production.INFO: Date 2024-12-16
[2025-01-07 06:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:53:04] Production.INFO: Date 2024-12-17
[2025-01-07 06:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:53:04] Production.INFO: Date 2024-12-18
[2025-01-07 06:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:53:04] Production.INFO: Date 2024-12-19
[2025-01-07 06:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:53:04] Production.INFO: Date 2024-12-20
[2025-01-07 06:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:53:04] Production.INFO: Date 2024-12-21
[2025-01-07 06:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:53:04] Production.INFO: Date 2024-12-22
[2025-01-07 06:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:53:04] Production.INFO: Date 2024-12-23
[2025-01-07 06:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:53:04] Production.INFO: Date 2024-12-24
[2025-01-07 06:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:53:04] Production.INFO: Date 2024-12-25
[2025-01-07 06:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:53:04] Production.INFO: Date 2024-12-26
[2025-01-07 06:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:53:04] Production.INFO: Date 2024-12-27
[2025-01-07 06:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:53:04] Production.INFO: Date 2024-12-28
[2025-01-07 06:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:53:04] Production.INFO: Date 2024-12-29
[2025-01-07 06:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:53:04] Production.INFO: Date 2024-12-30
[2025-01-07 06:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:53:05] Production.INFO: Date 2024-12-31
[2025-01-07 06:53:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:53:05] Production.INFO: Date 2025-01-01
[2025-01-07 06:53:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:53:05] Production.INFO: Date 2025-01-02
[2025-01-07 06:53:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:53:05] Production.INFO: Date 2025-01-03
[2025-01-07 06:53:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:53:05] Production.INFO: Date 2025-01-04
[2025-01-07 06:53:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:53:05] Production.INFO: Date 2025-01-05
[2025-01-07 06:53:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:53:05
[end_date_ymd] => 2025-01-07 06:53:05
[RateCDR] => 1
)
[2025-01-07 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-07 03:53:05' and `end` < '2025-01-07 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-07 06:53:05] Production.INFO: Date 2025-01-06
[2025-01-07 06:53:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:53:05] Production.INFO: Date 2025-01-07
[2025-01-07 06:53:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:53:05] Production.INFO: Total Charge 0
[2025-01-07 06:53:05] Production.INFO: CreateAllLog End
[2025-01-07 06:53:05] Production.INFO: Account Balance End.
[2025-01-07 06:53:05] Production.ERROR: CronJobId end 12
[2025-01-07 06:53:05] Production.INFO: ==13502== Releasing lock...
[2025-01-07 06:53:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:53:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:53:06] Production.INFO: Contact id print CheckCustomer Case===5f6b39a6-c5bb-485f-9fdd-a6c7a1eccc47
[2025-01-07 06:53:06] Production.INFO: -- count --1
[2025-01-07 06:53:06] Production.INFO: AccountID 37
[2025-01-07 06:53:06] Production.INFO: AccountName Quality Car Rentals (AutoQuest)
[2025-01-07 06:53:06] Production.INFO: Checkcustomer
[2025-01-07 06:53:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quality%20Car%20Rentals%20%28AutoQuest%29"
[2025-01-07 06:53:09] Production.INFO: Contact id print CheckCustomer Case===d97f29cf-e0f8-4b9a-bb8e-aaec76dd5612
[2025-01-07 06:53:09] Production.INFO: -- count --1
[2025-01-07 06:53:09] Production.INFO: AccountID 37
[2025-01-07 06:53:09] Production.INFO: AccountName Quality Car Rentals (AutoQuest)
[2025-01-07 06:53:09] Production.INFO: Checkcustomer
[2025-01-07 06:53:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quality%20Car%20Rentals%20%28AutoQuest%29"
[2025-01-07 06:53:11] Production.INFO: Contact id print CheckCustomer Case===d97f29cf-e0f8-4b9a-bb8e-aaec76dd5612
[2025-01-07 06:53:11] Production.INFO: -- count --1
[2025-01-07 06:53:11] Production.INFO: AccountID 227
[2025-01-07 06:53:11] Production.INFO: AccountName Quiznos 15184 (Akshay Naik)
[2025-01-07 06:53:11] Production.INFO: Checkcustomer
[2025-01-07 06:53:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015184%20%28Akshay%20Naik%29"
[2025-01-07 06:53:12] Production.ERROR: CronJobId end10
[2025-01-07 06:53:12] Production.INFO: ==13499== Releasing lock...
[2025-01-07 06:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:53:13] Production.INFO: Contact id print CheckCustomer Case===7d4d8a6e-9b66-4daf-be5c-0e7e0524121b
[2025-01-07 06:53:13] Production.INFO: -- count --1
[2025-01-07 06:53:13] Production.INFO: AccountID 227
[2025-01-07 06:53:13] Production.INFO: AccountName Quiznos 15184 (Akshay Naik)
[2025-01-07 06:53:13] Production.INFO: Checkcustomer
[2025-01-07 06:53:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015184%20%28Akshay%20Naik%29"
[2025-01-07 06:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:53:14] Production.INFO: call_cost start
[2025-01-07 06:53:14] Production.INFO: call_cost end
[2025-01-07 06:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:53:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:53:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:53:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:53:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:53:15] Production.INFO: ==13495== Releasing lock...
[2025-01-07 06:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:53:16] Production.INFO: Contact id print CheckCustomer Case===7d4d8a6e-9b66-4daf-be5c-0e7e0524121b
[2025-01-07 06:53:16] Production.INFO: -- count --1
[2025-01-07 06:53:16] Production.INFO: AccountID 227
[2025-01-07 06:53:16] Production.INFO: AccountName Quiznos 15184 (Akshay Naik)
[2025-01-07 06:53:16] Production.INFO: Checkcustomer
[2025-01-07 06:53:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015184%20%28Akshay%20Naik%29"
[2025-01-07 06:53:18] Production.INFO: count ==72
[2025-01-07 06:53:18] Production.ERROR: pbx CDR StartTime 2025-01-07 03:53:05 - End Time 2025-01-07 06:53:05
[2025-01-07 06:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193192', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193192', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193192', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193192', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:53:18] Production.INFO: ProcessCDR(1,14193192,1,1,2)
[2025-01-07 06:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193192,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:53:18] Production.INFO: Contact id print CheckCustomer Case===7d4d8a6e-9b66-4daf-be5c-0e7e0524121b
[2025-01-07 06:53:18] Production.INFO: -- count --1
[2025-01-07 06:53:18] Production.INFO: AccountID 241
[2025-01-07 06:53:18] Production.INFO: AccountName Quiznos 15192 (Akshay Naik)
[2025-01-07 06:53:18] Production.INFO: Checkcustomer
[2025-01-07 06:53:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015192%20%28Akshay%20Naik%29"
[2025-01-07 06:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193192,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193192,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193192,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193192', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193192', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:53:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:53:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:53:21] Production.INFO: ==13504== Releasing lock...
[2025-01-07 06:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:53:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 06:53:21] Production.INFO: Contact id print CheckCustomer Case===9f823e1c-f0d1-4915-b9fd-4b0d691e058e
[2025-01-07 06:53:21] Production.INFO: -- count --1
[2025-01-07 06:53:21] Production.INFO: AccountID 241
[2025-01-07 06:53:21] Production.INFO: AccountName Quiznos 15192 (Akshay Naik)
[2025-01-07 06:53:21] Production.INFO: Checkcustomer
[2025-01-07 06:53:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015192%20%28Akshay%20Naik%29"
[2025-01-07 06:53:23] Production.INFO: Contact id print CheckCustomer Case===9f823e1c-f0d1-4915-b9fd-4b0d691e058e
[2025-01-07 06:53:23] Production.INFO: -- count --1
[2025-01-07 06:53:23] Production.INFO: AccountID 241
[2025-01-07 06:53:23] Production.INFO: AccountName Quiznos 15192 (Akshay Naik)
[2025-01-07 06:53:23] Production.INFO: Checkcustomer
[2025-01-07 06:53:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015192%20%28Akshay%20Naik%29"
[2025-01-07 06:53:26] Production.INFO: Contact id print CheckCustomer Case===9f823e1c-f0d1-4915-b9fd-4b0d691e058e
[2025-01-07 06:53:26] Production.INFO: -- count --1
[2025-01-07 06:53:26] Production.INFO: AccountID 13
[2025-01-07 06:53:26] Production.INFO: AccountName Rosedale Diner
[2025-01-07 06:53:26] Production.INFO: Checkcustomer
[2025-01-07 06:53:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Rosedale%20Diner"
[2025-01-07 06:53:28] Production.INFO: Contact id print CheckCustomer Case===d315b223-0318-473a-8190-ce14e673da0e
[2025-01-07 06:53:28] Production.INFO: -- count --1
[2025-01-07 06:53:28] Production.INFO: AccountID 86
[2025-01-07 06:53:28] Production.INFO: AccountName Selective Conformal Coatings Inc.
[2025-01-07 06:53:28] Production.INFO: Checkcustomer
[2025-01-07 06:53:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Selective%20Conformal%20Coatings%20Inc."
[2025-01-07 06:53:31] Production.INFO: Contact id print CheckCustomer Case===829ddc9d-f1ae-447b-9687-394867f488a7
[2025-01-07 06:53:31] Production.INFO: -- count --1
[2025-01-07 06:53:31] Production.INFO: AccountID 86
[2025-01-07 06:53:31] Production.INFO: AccountName Selective Conformal Coatings Inc.
[2025-01-07 06:53:31] Production.INFO: Checkcustomer
[2025-01-07 06:53:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Selective%20Conformal%20Coatings%20Inc."
[2025-01-07 06:53:34] Production.INFO: Contact id print CheckCustomer Case===829ddc9d-f1ae-447b-9687-394867f488a7
[2025-01-07 06:53:34] Production.INFO: -- count --1
[2025-01-07 06:53:34] Production.INFO: AccountID 86
[2025-01-07 06:53:34] Production.INFO: AccountName Selective Conformal Coatings Inc.
[2025-01-07 06:53:34] Production.INFO: Checkcustomer
[2025-01-07 06:53:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Selective%20Conformal%20Coatings%20Inc."
[2025-01-07 06:53:37] Production.INFO: Contact id print CheckCustomer Case===829ddc9d-f1ae-447b-9687-394867f488a7
[2025-01-07 06:53:37] Production.INFO: -- count --1
[2025-01-07 06:53:37] Production.INFO: AccountID 134
[2025-01-07 06:53:37] Production.INFO: AccountName Sidhu Law Chambers
[2025-01-07 06:53:37] Production.INFO: Checkcustomer
[2025-01-07 06:53:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Sidhu%20Law%20Chambers"
[2025-01-07 06:53:39] Production.INFO: Contact id print CheckCustomer Case===2844b970-e681-4127-91fd-f61dd7a36ea0
[2025-01-07 06:53:39] Production.INFO: -- count --1
[2025-01-07 06:53:39] Production.INFO: AccountID 87
[2025-01-07 06:53:39] Production.INFO: AccountName Small Business Owners & Professionals Association
[2025-01-07 06:53:39] Production.INFO: Checkcustomer
[2025-01-07 06:53:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Small%20Business%20Owners%20%26%20Professionals%20Association"
[2025-01-07 06:53:42] Production.INFO: Contact id print CheckCustomer Case===e8c42b4a-0408-4ca6-a815-dbd8da598a80
[2025-01-07 06:53:42] Production.INFO: -- count --1
[2025-01-07 06:53:42] Production.INFO: AccountID 67
[2025-01-07 06:53:42] Production.INFO: AccountName Stars & Maple Tours
[2025-01-07 06:53:42] Production.INFO: Checkcustomer
[2025-01-07 06:53:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Stars%20%26%20Maple%20Tours"
[2025-01-07 06:53:44] Production.INFO: Contact id print CheckCustomer Case===42f3da1b-13b4-4bab-b989-2a74b97947bd
[2025-01-07 06:53:44] Production.INFO: -- count --1
[2025-01-07 06:53:44] Production.INFO: AccountID 49
[2025-01-07 06:53:44] Production.INFO: AccountName Technologies for Learning Group
[2025-01-07 06:53:44] Production.INFO: Checkcustomer
[2025-01-07 06:53:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Technologies%20for%20Learning%20Group"
[2025-01-07 06:53:46] Production.INFO: Contact id print CheckCustomer Case===548d87cf-625c-4b68-be89-595b2161a774
[2025-01-07 06:53:46] Production.INFO: -- count --1
[2025-01-07 06:53:46] Production.INFO: AccountID 90
[2025-01-07 06:53:46] Production.INFO: AccountName Terry Anderson
[2025-01-07 06:53:46] Production.INFO: Checkcustomer
[2025-01-07 06:53:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Terry%20Anderson"
[2025-01-07 06:53:49] Production.INFO: Contact id print CheckCustomer Case===d5be271f-e649-44ed-a97e-8af24111fe24
[2025-01-07 06:53:49] Production.INFO: -- count --1
[2025-01-07 06:53:49] Production.INFO: AccountID 90
[2025-01-07 06:53:49] Production.INFO: AccountName Terry Anderson
[2025-01-07 06:53:49] Production.INFO: Checkcustomer
[2025-01-07 06:53:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Terry%20Anderson"
[2025-01-07 06:53:51] Production.INFO: Contact id print CheckCustomer Case===d5be271f-e649-44ed-a97e-8af24111fe24
[2025-01-07 06:53:51] Production.INFO: -- count --1
[2025-01-07 06:53:51] Production.INFO: AccountID 90
[2025-01-07 06:53:51] Production.INFO: AccountName Terry Anderson
[2025-01-07 06:53:51] Production.INFO: Checkcustomer
[2025-01-07 06:53:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Terry%20Anderson"
[2025-01-07 06:53:54] Production.INFO: Contact id print CheckCustomer Case===d5be271f-e649-44ed-a97e-8af24111fe24
[2025-01-07 06:53:54] Production.INFO: -- count --1
[2025-01-07 06:53:54] Production.INFO: AccountID 90
[2025-01-07 06:53:54] Production.INFO: AccountName Terry Anderson
[2025-01-07 06:53:54] Production.INFO: Checkcustomer
[2025-01-07 06:53:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Terry%20Anderson"
[2025-01-07 06:53:56] Production.INFO: Contact id print CheckCustomer Case===d5be271f-e649-44ed-a97e-8af24111fe24
[2025-01-07 06:53:56] Production.INFO: -- count --1
[2025-01-07 06:53:56] Production.INFO: AccountID 90
[2025-01-07 06:53:56] Production.INFO: AccountName Terry Anderson
[2025-01-07 06:53:56] Production.INFO: Checkcustomer
[2025-01-07 06:53:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Terry%20Anderson"
[2025-01-07 06:53:58] Production.INFO: Contact id print CheckCustomer Case===d5be271f-e649-44ed-a97e-8af24111fe24
[2025-01-07 06:53:58] Production.INFO: -- count --1
[2025-01-07 06:53:58] Production.INFO: AccountID 195
[2025-01-07 06:53:58] Production.INFO: AccountName TSFV Management Corp (Two Small Fish)
[2025-01-07 06:53:58] Production.INFO: Checkcustomer
[2025-01-07 06:53:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="TSFV%20Management%20Corp%20%28Two%20Small%20Fish%29"
[2025-01-07 06:54:01] Production.INFO: Contact id print CheckCustomer Case===9833b5c4-71b1-4ca5-9307-986f727c9b62
[2025-01-07 06:54:01] Production.INFO: -- count --1
[2025-01-07 06:54:01] Production.INFO: AccountID 185
[2025-01-07 06:54:01] Production.INFO: AccountName TTC (College-Subway) - Construction Site (Cancom - Think Secure)
[2025-01-07 06:54:01] Production.INFO: Checkcustomer
[2025-01-07 06:54:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="TTC%20%28College-Subway%29%20-%20Construction%20Site%20%28Cancom%20-%20Think%20Secure%29"
[2025-01-07 11:54:01] Production.INFO: ==13580== Lock acquired, processing the job...
[2025-01-07 11:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:54:01] Production.INFO: neon service started
[2025-01-07 11:54:01] Production.INFO: neon service started
[2025-01-07 11:54:01] Production.INFO: ==13580== Releasing lock...
[2025-01-07 11:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:54:01] Production.INFO: ==13584== Lock acquired, processing the job...
[2025-01-07 11:54:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:54:01] Production.INFO: ==13584== Releasing lock...
[2025-01-07 11:54:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:54:01] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:54:01] Production.INFO: ==13582== Lock acquired, processing the job...
[2025-01-07 06:54:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:54:02] Production.INFO: ==13582== Releasing lock...
[2025-01-07 06:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:54:02] Production.INFO: ==13586== Lock acquired, processing the job...
[2025-01-07 06:54:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:54:02] Production.INFO: ==13588== Lock acquired, processing the job...
[2025-01-07 06:54:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:54:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:54:03] Production.INFO: ==13593== Lock acquired, processing the job...
[2025-01-07 06:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:54:03] Production.INFO: Account Balance Start.
[2025-01-07 06:54:03] Production.INFO: CreateAllLog Start
[2025-01-07 06:54:03] Production.INFO: ==13591== Lock acquired, processing the job...
[2025-01-07 06:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:54:03] Production.INFO: 117
[2025-01-07 06:54:03] Production.INFO: Date 2024-12-08
[2025-01-07 06:54:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:54:03] Production.INFO: Date 2024-12-09
[2025-01-07 06:54:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:54:03] Production.INFO: Date 2024-12-10
[2025-01-07 06:54:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:54:03] Production.INFO: ==13588== Releasing lock...
[2025-01-07 06:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:54:03] Production.INFO: ==13597== Lock acquired, processing the job...
[2025-01-07 06:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:54:03] Production.INFO: ==13595== Lock acquired, processing the job...
[2025-01-07 06:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:54:03] Production.INFO: Date 2024-12-11
[2025-01-07 06:54:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:54:03] Production.INFO: Contact id print CheckCustomer Case===8c5c7d93-c398-4829-91b3-8174fe21f9a7
[2025-01-07 06:54:03] Production.INFO: -- count --1
[2025-01-07 06:54:03] Production.INFO: AccountID 184
[2025-01-07 06:54:03] Production.INFO: AccountName TTC (Donlands - Strathmore Subway) - Construction Site (Cancom - Think Secure)
[2025-01-07 06:54:03] Production.INFO: Checkcustomer
[2025-01-07 06:54:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="TTC%20%28Donlands%20-%20Strathmore%20Subway%29%20-%20Construction%20Site%20%28Cancom%20-%20Think%20Secure%29"
[2025-01-07 06:54:03] Production.INFO: Date 2024-12-12
[2025-01-07 06:54:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 06:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:54:03] Production.INFO: Date 2024-12-13
[2025-01-07 06:54:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:54:03] Production.INFO: Date 2024-12-14
[2025-01-07 06:54:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:54:03] Production.INFO: count ==21
[2025-01-07 06:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:54:03] Production.INFO: count ==21
[2025-01-07 06:54:03] Production.INFO: Date 2024-12-15
[2025-01-07 06:54:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193196') start
[2025-01-07 06:54:03] Production.INFO: Date 2024-12-16
[2025-01-07 06:54:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:54:03] Production.INFO: Date 2024-12-17
[2025-01-07 06:54:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:54:03] Production.INFO: Date 2024-12-18
[2025-01-07 06:54:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193196') end
[2025-01-07 06:54:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:54:03] Production.INFO: 1
[2025-01-07 06:54:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:54:03] Production.INFO: Date 2024-12-19
[2025-01-07 06:54:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:54:03] Production.ERROR: done
[2025-01-07 06:54:03] Production.INFO: Date 2024-12-20
[2025-01-07 06:54:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:54:03] Production.INFO: ==13597== Releasing lock...
[2025-01-07 06:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:54:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:54:03] Production.INFO: Date 2024-12-21
[2025-01-07 06:54:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:54:03] Production.INFO: Date 2024-12-22
[2025-01-07 06:54:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:54:04] Production.INFO: Date 2024-12-23
[2025-01-07 06:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:54:04] Production.ERROR: done
[2025-01-07 06:54:04] Production.INFO: Date 2024-12-24
[2025-01-07 06:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:54:04] Production.INFO: Date 2024-12-25
[2025-01-07 06:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:54:04] Production.INFO: Date 2024-12-26
[2025-01-07 06:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:54:04] Production.INFO: Date 2024-12-27
[2025-01-07 06:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:54:04] Production.INFO: Date 2024-12-28
[2025-01-07 06:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:54:04] Production.INFO: Date 2024-12-29
[2025-01-07 06:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:54:04] Production.INFO: Date 2024-12-30
[2025-01-07 06:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:54:04] Production.INFO: Date 2024-12-31
[2025-01-07 06:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:54:04] Production.INFO: Date 2025-01-01
[2025-01-07 06:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:54:04] Production.INFO: Date 2025-01-02
[2025-01-07 06:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:54:04] Production.INFO: Date 2025-01-03
[2025-01-07 06:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:54:04] Production.INFO: Date 2025-01-04
[2025-01-07 06:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:54:04] Production.INFO: Date 2025-01-05
[2025-01-07 06:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:54:04] Production.INFO: Date 2025-01-06
[2025-01-07 06:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:54:04] Production.INFO: Date 2025-01-07
[2025-01-07 06:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:54:04] Production.INFO: Total Charge 0
[2025-01-07 06:54:04] Production.INFO: CreateAllLog End
[2025-01-07 06:54:04] Production.INFO: Account Balance End.
[2025-01-07 06:54:04] Production.ERROR: CronJobId end 12
[2025-01-07 06:54:04] Production.INFO: ==13593== Releasing lock...
[2025-01-07 06:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:54:05
[end_date_ymd] => 2025-01-07 06:54:05
[RateCDR] => 1
)
[2025-01-07 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-07 03:54:05' and `end` < '2025-01-07 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-07 06:54:06] Production.INFO: Contact id print CheckCustomer Case===bc13c86d-cd70-4f32-948a-d1f4850061a0
[2025-01-07 06:54:06] Production.INFO: -- count --1
[2025-01-07 06:54:06] Production.INFO: AccountID 3
[2025-01-07 06:54:06] Production.INFO: AccountName Tundra
[2025-01-07 06:54:06] Production.INFO: Checkcustomer
[2025-01-07 06:54:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Tundra"
[2025-01-07 06:54:09] Production.INFO: Contact id print CheckCustomer Case===623680fb-29d2-4940-8787-6a04edc9b023
[2025-01-07 06:54:09] Production.INFO: -- count --1
[2025-01-07 06:54:09] Production.INFO: AccountID 4
[2025-01-07 06:54:09] Production.INFO: AccountName UNIGLOBE Canada
[2025-01-07 06:54:09] Production.INFO: Checkcustomer
[2025-01-07 06:54:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="UNIGLOBE%20Canada"
[2025-01-07 06:54:12] Production.INFO: Contact id print CheckCustomer Case===d965b2fe-ffb5-4359-bc08-f6a098234349
[2025-01-07 06:54:12] Production.INFO: -- count --1
[2025-01-07 06:54:12] Production.INFO: AccountID 4
[2025-01-07 06:54:12] Production.INFO: AccountName UNIGLOBE Canada
[2025-01-07 06:54:12] Production.INFO: Checkcustomer
[2025-01-07 06:54:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="UNIGLOBE%20Canada"
[2025-01-07 06:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:54:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:54:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:54:14] Production.INFO: Contact id print CheckCustomer Case===d965b2fe-ffb5-4359-bc08-f6a098234349
[2025-01-07 06:54:14] Production.INFO: -- count --1
[2025-01-07 06:54:14] Production.INFO: -- Xero Add Inovice --
[2025-01-07 06:54:14] Production.ERROR: CronJobId end10
[2025-01-07 06:54:14] Production.INFO: ==13591== Releasing lock...
[2025-01-07 06:54:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:54:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:54:14] Production.INFO: CheckInvoice xerov2: INV10461
[2025-01-07 06:54:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10461
[2025-01-07 06:54:14] Production.INFO: call_cost start
[2025-01-07 06:54:14] Production.INFO: call_cost end
[2025-01-07 06:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:54:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:54:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:54:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:54:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:54:15] Production.INFO: ==13586== Releasing lock...
[2025-01-07 06:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:54:17] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 06:54:17] Production.INFO: ========================== Exception occured =============================
[2025-01-07 06:54:17] Production.ERROR: exception 'ErrorException' with message 'Undefined offset: 33' in /var/www/html/onswitch.neon.service/app/lib/XeroV2.php:0
Stack trace:
#0 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined offse...', '/var/www/html/o...', 0, Array)
#1 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->GetInvoiceData()
#2 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->CreateInvoice()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/XeroInvoicePostV2.php(0): App\Lib\XeroV2->addInvoices()
#4 [internal function]: App\Console\Commands\XeroInvoicePostV2->fire()
#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\XeroInvoicePostV2), 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-07 06:54:17] Production.INFO: ========================== Exception updated in job and email sent =============================
[2025-01-07 06:54:17] Production.INFO: ==13166== Releasing lock...
[2025-01-07 06:54:17] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10457 #Stops#
[2025-01-07 06:54:17] Production.INFO: 27.5 MB #Memory Used#
[2025-01-07 06:54:18] Production.INFO: count ==72
[2025-01-07 06:54:18] Production.ERROR: pbx CDR StartTime 2025-01-07 03:54:05 - End Time 2025-01-07 06:54:05
[2025-01-07 06:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193197', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193197', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193197', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193197', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:54:18] Production.INFO: ProcessCDR(1,14193197,1,1,2)
[2025-01-07 06:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193197,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193197,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193197,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193197,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193197', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193197', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:54:21] Production.INFO: ==13595== Releasing lock...
[2025-01-07 06:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:54:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 11:55:01] Production.INFO: ==13660== Lock acquired, processing the job...
[2025-01-07 11:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:55:01] Production.INFO: neon service started
[2025-01-07 11:55:01] Production.INFO: neon service started
[2025-01-07 11:55:01] Production.INFO: ==13660== Releasing lock...
[2025-01-07 11:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:55:02] Production.INFO: ==13662== Lock acquired, processing the job...
[2025-01-07 06:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:55:02] Production.INFO: ==13664== Lock acquired, processing the job...
[2025-01-07 11:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 06:55:02] Production.INFO: ==13662== Releasing lock...
[2025-01-07 06:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:55:02] Production.INFO: ==13664== Releasing lock...
[2025-01-07 11:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:55:02] Production.INFO: ==13675== Lock acquired, processing the job...
[2025-01-07 06:55:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:55:03] Production.ERROR: done
[2025-01-07 06:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:55:03] Production.INFO: ==13667== Lock acquired, processing the job...
[2025-01-07 06:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:55:03] Production.ERROR: done
[2025-01-07 06:55:03] Production.INFO: ==13669== Lock acquired, processing the job...
[2025-01-07 06:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:55:03] Production.INFO: ==13671== Lock acquired, processing the job...
[2025-01-07 06:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:55:03] Production.INFO: ==13673== Lock acquired, processing the job...
[2025-01-07 06:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:55:03] Production.INFO: ==13677== Lock acquired, processing the job...
[2025-01-07 06:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:55:03] Production.INFO: Account Balance Start.
[2025-01-07 06:55:03] Production.INFO: CreateAllLog Start
[2025-01-07 06:55:03] Production.INFO: 117
[2025-01-07 06:55:03] Production.INFO: Date 2024-12-08
[2025-01-07 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-07 06:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:55:03] Production.INFO: count ==21
[2025-01-07 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-07 06:55:03] Production.INFO: count ==21
[2025-01-07 06:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193202') start
[2025-01-07 06:55:03] Production.INFO: Date 2024-12-09
[2025-01-07 06:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:55:03] Production.INFO: ==13669== Releasing lock...
[2025-01-07 06:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:55:03] Production.INFO: Date 2024-12-10
[2025-01-07 06:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:55:03] Production.INFO: Date 2024-12-11
[2025-01-07 06:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193202') end
[2025-01-07 06:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:55:03] Production.INFO: 1
[2025-01-07 06:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:55:03] Production.INFO: Date 2024-12-12
[2025-01-07 06:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:55:03] Production.INFO: ==13677== Releasing lock...
[2025-01-07 06:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:55:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:55:04] Production.INFO: Date 2024-12-13
[2025-01-07 06:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:55:04] Production.INFO: Date 2024-12-14
[2025-01-07 06:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:55:04] Production.INFO: Date 2024-12-15
[2025-01-07 06:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:55:04] Production.INFO: Date 2024-12-16
[2025-01-07 06:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:55:04] Production.INFO: Date 2024-12-17
[2025-01-07 06:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:55:04] Production.INFO: Date 2024-12-18
[2025-01-07 06:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:55:04] Production.INFO: Date 2024-12-19
[2025-01-07 06:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:55:04] Production.INFO: Date 2024-12-20
[2025-01-07 06:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:55:04] Production.INFO: Date 2024-12-21
[2025-01-07 06:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:55:04] Production.INFO: Date 2024-12-22
[2025-01-07 06:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:55:04] Production.INFO: Date 2024-12-23
[2025-01-07 06:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:55:04] Production.INFO: Date 2024-12-24
[2025-01-07 06:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:55:04] Production.INFO: Date 2024-12-25
[2025-01-07 06:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:55:04] Production.INFO: Date 2024-12-26
[2025-01-07 06:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:55:04] Production.INFO: Date 2024-12-27
[2025-01-07 06:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:55:04] Production.INFO: Date 2024-12-28
[2025-01-07 06:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:55:04] Production.INFO: Date 2024-12-29
[2025-01-07 06:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:55:04] Production.INFO: Date 2024-12-30
[2025-01-07 06:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:55:04] Production.INFO: Date 2024-12-31
[2025-01-07 06:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:55:04] Production.INFO: Date 2025-01-01
[2025-01-07 06:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:55:04] Production.INFO: Date 2025-01-02
[2025-01-07 06:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:55:04] Production.INFO: Date 2025-01-03
[2025-01-07 06:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:55:04] Production.INFO: Date 2025-01-04
[2025-01-07 06:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:55:04] Production.INFO: Date 2025-01-05
[2025-01-07 06:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:55:04] Production.INFO: Date 2025-01-06
[2025-01-07 06:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:55:04] Production.INFO: Date 2025-01-07
[2025-01-07 06:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:55:04] Production.INFO: Total Charge 0
[2025-01-07 06:55:04] Production.INFO: CreateAllLog End
[2025-01-07 06:55:05] Production.INFO: Account Balance End.
[2025-01-07 06:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:55:05
[end_date_ymd] => 2025-01-07 06:55:05
[RateCDR] => 1
)
[2025-01-07 06:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 03:55:05' and `end` < '2025-01-07 06:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 06:55:05] Production.ERROR: CronJobId end 12
[2025-01-07 06:55:05] Production.INFO: ==13673== Releasing lock...
[2025-01-07 06:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:55:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:55:11] Production.ERROR: CronJobId end10
[2025-01-07 06:55:11] Production.INFO: ==13671== Releasing lock...
[2025-01-07 06:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:55:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:55:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:55:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:55:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:55:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:55:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:55:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:55:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:55:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:55:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:55:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:55:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:55:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:55:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:55:12] Production.INFO: call_cost start
[2025-01-07 06:55:12] Production.INFO: call_cost end
[2025-01-07 06:55:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:55:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:55:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:55:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:55:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:55:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:55:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:55:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:55:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:55:13] Production.INFO: ==13667== Releasing lock...
[2025-01-07 06:55:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:55:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:55:17] Production.INFO: count ==72
[2025-01-07 06:55:17] Production.ERROR: pbx CDR StartTime 2025-01-07 03:55:05 - End Time 2025-01-07 06:55:05
[2025-01-07 06:55:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193198', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193198', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193198', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193198', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:55:17] Production.INFO: ProcessCDR(1,14193198,1,1,2)
[2025-01-07 06:55:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193198,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:55:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193198,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:55:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193198,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:55:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193198,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:55:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193198', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:55:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193198', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:55:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:55:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:55:20] Production.INFO: ==13675== Releasing lock...
[2025-01-07 06:55:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:55:20] Production.INFO: 28 MB #Memory Used#
[2025-01-07 11:56:02] Production.INFO: ==13732== Lock acquired, processing the job...
[2025-01-07 11:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:56:02] Production.INFO: neon service started
[2025-01-07 11:56:02] Production.INFO: neon service started
[2025-01-07 11:56:02] Production.INFO: ==13732== Releasing lock...
[2025-01-07 11:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:56:02] Production.INFO: ==13734== Lock acquired, processing the job...
[2025-01-07 06:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:56:03] Production.INFO: ==13736== Lock acquired, processing the job...
[2025-01-07 11:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:56:03] Production.INFO: ==13736== Releasing lock...
[2025-01-07 11:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:56:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:56:03] Production.INFO: ==13734== Releasing lock...
[2025-01-07 06:56:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:56:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:56:04] Production.INFO: ==13739== Lock acquired, processing the job...
[2025-01-07 06:56:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:56:04] Production.INFO: ==13743== Lock acquired, processing the job...
[2025-01-07 06:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:56:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:56:04] Production.INFO: ==13747== Lock acquired, processing the job...
[2025-01-07 06:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:56:04] Production.INFO: ==13741== Lock acquired, processing the job...
[2025-01-07 06:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:56:04] Production.INFO: ==13745== Lock acquired, processing the job...
[2025-01-07 06:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:56:04] Production.INFO: ==13749== Lock acquired, processing the job...
[2025-01-07 06:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:56:04] Production.ERROR: done
[2025-01-07 06:56:04] Production.INFO: Account Balance Start.
[2025-01-07 06:56:04] Production.INFO: CreateAllLog Start
[2025-01-07 06:56:04] Production.INFO: 117
[2025-01-07 06:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:56:04] Production.INFO: Date 2024-12-08
[2025-01-07 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-07 06:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:56:04] Production.INFO: count ==21
[2025-01-07 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-07 06:56:04] Production.INFO: count ==21
[2025-01-07 06:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193206') start
[2025-01-07 06:56:04] Production.ERROR: done
[2025-01-07 06:56:04] Production.INFO: Date 2024-12-09
[2025-01-07 06:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:56:04] Production.INFO: Date 2024-12-10
[2025-01-07 06:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193206') end
[2025-01-07 06:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:56:04] Production.INFO: 1
[2025-01-07 06:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:56:04] Production.INFO: ==13749== Releasing lock...
[2025-01-07 06:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:56:04] Production.INFO: Date 2024-12-11
[2025-01-07 06:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:56:04] Production.INFO: Date 2024-12-12
[2025-01-07 06:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:56:04] Production.INFO: Date 2024-12-13
[2025-01-07 06:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:56:04] Production.INFO: ==13741== Releasing lock...
[2025-01-07 06:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:56:04] Production.INFO: Date 2024-12-14
[2025-01-07 06:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:56:04] Production.INFO: Date 2024-12-15
[2025-01-07 06:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:56:05] Production.INFO: Date 2024-12-16
[2025-01-07 06:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:56:05] Production.INFO: Date 2024-12-17
[2025-01-07 06:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:56:05] Production.INFO: Date 2024-12-18
[2025-01-07 06:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:56:05] Production.INFO: Date 2024-12-19
[2025-01-07 06:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:56:05] Production.INFO: Date 2024-12-20
[2025-01-07 06:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:56:05] Production.INFO: Date 2024-12-21
[2025-01-07 06:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:56:05] Production.INFO: Date 2024-12-22
[2025-01-07 06:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:56:05] Production.INFO: Date 2024-12-23
[2025-01-07 06:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:56:05] Production.INFO: Date 2024-12-24
[2025-01-07 06:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:56:05] Production.INFO: Date 2024-12-25
[2025-01-07 06:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:56:05] Production.INFO: Date 2024-12-26
[2025-01-07 06:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:56:05] Production.INFO: Date 2024-12-27
[2025-01-07 06:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:56:05] Production.INFO: Date 2024-12-28
[2025-01-07 06:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:56:05] Production.INFO: Date 2024-12-29
[2025-01-07 06:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:56:05] Production.INFO: Date 2024-12-30
[2025-01-07 06:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:56:05] Production.INFO: Date 2024-12-31
[2025-01-07 06:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:56:05] Production.INFO: Date 2025-01-01
[2025-01-07 06:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:56:05] Production.INFO: Date 2025-01-02
[2025-01-07 06:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:56:05] Production.INFO: Date 2025-01-03
[2025-01-07 06:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:56:05] Production.INFO: Date 2025-01-04
[2025-01-07 06:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:56:05] Production.INFO: Date 2025-01-05
[2025-01-07 06:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:56:05] Production.INFO: Date 2025-01-06
[2025-01-07 06:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:56:05
[end_date_ymd] => 2025-01-07 06:56:05
[RateCDR] => 1
)
[2025-01-07 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-07 03:56:05' and `end` < '2025-01-07 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-07 06:56:05] Production.INFO: Date 2025-01-07
[2025-01-07 06:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 06:56:05] Production.INFO: Total Charge 0
[2025-01-07 06:56:05] Production.INFO: CreateAllLog End
[2025-01-07 06:56:05] Production.INFO: Account Balance End.
[2025-01-07 06:56:05] Production.ERROR: CronJobId end 12
[2025-01-07 06:56:05] Production.INFO: ==13745== Releasing lock...
[2025-01-07 06:56:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:56:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:56:12] Production.ERROR: CronJobId end10
[2025-01-07 06:56:12] Production.INFO: ==13743== Releasing lock...
[2025-01-07 06:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:56:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:56:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:56:13] Production.INFO: call_cost start
[2025-01-07 06:56:13] Production.INFO: call_cost end
[2025-01-07 06:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:56:14] Production.INFO: ==13739== Releasing lock...
[2025-01-07 06:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:56:18] Production.INFO: count ==72
[2025-01-07 06:56:18] Production.ERROR: pbx CDR StartTime 2025-01-07 03:56:05 - End Time 2025-01-07 06:56:05
[2025-01-07 06:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193207', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193207', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193207', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193207', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:56:18] Production.INFO: ProcessCDR(1,14193207,1,1,2)
[2025-01-07 06:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193207,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193207,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193207,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193207,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193207', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193207', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:56:21] Production.INFO: ==13747== Releasing lock...
[2025-01-07 06:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:56:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 11:57:01] Production.INFO: ==13803== Lock acquired, processing the job...
[2025-01-07 11:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:57:01] Production.INFO: neon service started
[2025-01-07 11:57:01] Production.INFO: neon service started
[2025-01-07 11:57:01] Production.INFO: ==13803== Releasing lock...
[2025-01-07 11:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:57:02] Production.INFO: ==13807== Lock acquired, processing the job...
[2025-01-07 11:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:57:02] Production.INFO: ==13807== Releasing lock...
[2025-01-07 11:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:57:02] Production.INFO: ==13805== Lock acquired, processing the job...
[2025-01-07 06:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:57:02] Production.INFO: ==13805== Releasing lock...
[2025-01-07 06:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 06:57:03] Production.INFO: ==13810== Lock acquired, processing the job...
[2025-01-07 06:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:57:03] Production.INFO: ==13812== Lock acquired, processing the job...
[2025-01-07 06:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:57:03] Production.INFO: ==13818== Lock acquired, processing the job...
[2025-01-07 06:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:57:03] Production.INFO: ==13814== Lock acquired, processing the job...
[2025-01-07 06:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:57:03] Production.INFO: ==13816== Lock acquired, processing the job...
[2025-01-07 06:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:57:03] Production.INFO: ==13812== Releasing lock...
[2025-01-07 06:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:57:03] Production.INFO: Account Balance Start.
[2025-01-07 06:57:03] Production.INFO: CreateAllLog Start
[2025-01-07 06:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:57:03] Production.INFO: 117
[2025-01-07 06:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:57:03] Production.INFO: Date 2024-12-08
[2025-01-07 06:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:57:03] Production.INFO: ==13820== Lock acquired, processing the job...
[2025-01-07 06:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:57:03] Production.INFO: Date 2024-12-09
[2025-01-07 06:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:57:03] Production.INFO: Date 2024-12-10
[2025-01-07 06:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:57:03] Production.INFO: Date 2024-12-11
[2025-01-07 06:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:57:03] Production.ERROR: done
[2025-01-07 06:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:57:03] Production.INFO: Date 2024-12-12
[2025-01-07 06:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:57:03] Production.INFO: Date 2024-12-13
[2025-01-07 06:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:57:03] Production.ERROR: done
[2025-01-07 06:57:03] Production.INFO: Date 2024-12-14
[2025-01-07 06:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 06:57:03] Production.INFO: count ==21
[2025-01-07 06:57:03] Production.INFO: Date 2024-12-15
[2025-01-07 06:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 06:57:03] Production.INFO: count ==21
[2025-01-07 06:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193211') start
[2025-01-07 06:57:03] Production.INFO: Date 2024-12-16
[2025-01-07 06:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:57:03] Production.INFO: Date 2024-12-17
[2025-01-07 06:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:57:04] Production.INFO: Date 2024-12-18
[2025-01-07 06:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193211') end
[2025-01-07 06:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:57:04] Production.INFO: 1
[2025-01-07 06:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:57:04] Production.INFO: Date 2024-12-19
[2025-01-07 06:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:57:04] Production.INFO: Date 2024-12-20
[2025-01-07 06:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:57:04] Production.INFO: Date 2024-12-21
[2025-01-07 06:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:57:04] Production.INFO: ==13820== Releasing lock...
[2025-01-07 06:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:57:04] Production.INFO: Date 2024-12-22
[2025-01-07 06:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:57:04] Production.INFO: Date 2024-12-23
[2025-01-07 06:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:57:04] Production.INFO: Date 2024-12-24
[2025-01-07 06:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:57:04] Production.INFO: Date 2024-12-25
[2025-01-07 06:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:57:04] Production.INFO: Date 2024-12-26
[2025-01-07 06:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:57:04] Production.INFO: Date 2024-12-27
[2025-01-07 06:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:57:04] Production.INFO: Date 2024-12-28
[2025-01-07 06:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:57:04] Production.INFO: Date 2024-12-29
[2025-01-07 06:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:57:04] Production.INFO: Date 2024-12-30
[2025-01-07 06:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:57:04] Production.INFO: Date 2024-12-31
[2025-01-07 06:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:57:04] Production.INFO: Date 2025-01-01
[2025-01-07 06:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:57:04] Production.INFO: Date 2025-01-02
[2025-01-07 06:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:57:04] Production.INFO: Date 2025-01-03
[2025-01-07 06:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:57:04] Production.INFO: Date 2025-01-04
[2025-01-07 06:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:57:04] Production.INFO: Date 2025-01-05
[2025-01-07 06:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:57:04] Production.INFO: Date 2025-01-06
[2025-01-07 06:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:57:04] Production.INFO: Date 2025-01-07
[2025-01-07 06:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:57:04] Production.INFO: Total Charge 0
[2025-01-07 06:57:04] Production.INFO: CreateAllLog End
[2025-01-07 06:57:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:57:04
[end_date_ymd] => 2025-01-07 06:57:04
[RateCDR] => 1
)
[2025-01-07 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-07 03:57:04' and `end` < '2025-01-07 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-07 06:57:04] Production.INFO: Account Balance End.
[2025-01-07 06:57:05] Production.ERROR: CronJobId end 12
[2025-01-07 06:57:05] Production.INFO: ==13816== Releasing lock...
[2025-01-07 06:57:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:57:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:57:10] Production.ERROR: CronJobId end10
[2025-01-07 06:57:10] Production.INFO: ==13814== Releasing lock...
[2025-01-07 06:57:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:57:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:57:12] Production.INFO: call_cost start
[2025-01-07 06:57:12] Production.INFO: call_cost end
[2025-01-07 06:57:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:57:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:57:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:57:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:57:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:57:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:57:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:57:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:57:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:57:13] Production.INFO: ==13810== Releasing lock...
[2025-01-07 06:57:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:57:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:57:18] Production.INFO: count ==72
[2025-01-07 06:57:18] Production.ERROR: pbx CDR StartTime 2025-01-07 03:57:04 - End Time 2025-01-07 06:57:04
[2025-01-07 06:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193212', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193212', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193212', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193212', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:57:18] Production.INFO: ProcessCDR(1,14193212,1,1,2)
[2025-01-07 06:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193212,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193212,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193212,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193212,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193212', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193212', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:57:21] Production.INFO: ==13818== Releasing lock...
[2025-01-07 06:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:57:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 11:58:02] Production.INFO: ==13874== Lock acquired, processing the job...
[2025-01-07 11:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:58:02] Production.INFO: neon service started
[2025-01-07 11:58:02] Production.INFO: neon service started
[2025-01-07 11:58:02] Production.INFO: ==13874== Releasing lock...
[2025-01-07 11:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:58:02] Production.INFO: ==13876== Lock acquired, processing the job...
[2025-01-07 06:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:58:02] Production.INFO: ==13876== Releasing lock...
[2025-01-07 06:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:58:02] Production.INFO: ==13878== Lock acquired, processing the job...
[2025-01-07 11:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:58:02] Production.INFO: ==13878== Releasing lock...
[2025-01-07 11:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:58:03] Production.INFO: ==13887== Lock acquired, processing the job...
[2025-01-07 06:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:58:03] Production.INFO: ==13889== Lock acquired, processing the job...
[2025-01-07 06:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:58:03] Production.INFO: Account Balance Start.
[2025-01-07 06:58:03] Production.INFO: CreateAllLog Start
[2025-01-07 06:58:03] Production.INFO: ==13880== Lock acquired, processing the job...
[2025-01-07 06:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:58:03] Production.INFO: 117
[2025-01-07 06:58:03] Production.INFO: Date 2024-12-08
[2025-01-07 06:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:58:03] Production.INFO: Date 2024-12-09
[2025-01-07 06:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:58:03] Production.INFO: ==13883== Lock acquired, processing the job...
[2025-01-07 06:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:58:03] Production.INFO: ==13885== Lock acquired, processing the job...
[2025-01-07 06:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:58:03] Production.INFO: Date 2024-12-10
[2025-01-07 06:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:58:03] Production.INFO: ==13891== Lock acquired, processing the job...
[2025-01-07 06:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:58:03] Production.INFO: Date 2024-12-11
[2025-01-07 06:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:58:03] Production.INFO: Date 2024-12-12
[2025-01-07 06:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:58:03] Production.INFO: Date 2024-12-13
[2025-01-07 06:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:58:03] Production.INFO: count ==21
[2025-01-07 06:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:58:03] Production.INFO: count ==21
[2025-01-07 06:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193214') start
[2025-01-07 06:58:03] Production.INFO: Date 2024-12-14
[2025-01-07 06:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:58:04] Production.ERROR: done
[2025-01-07 06:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193214') end
[2025-01-07 06:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:58:04] Production.INFO: 1
[2025-01-07 06:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:58:04] Production.INFO: Date 2024-12-15
[2025-01-07 06:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:58:04] Production.INFO: Date 2024-12-16
[2025-01-07 06:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:58:04] Production.INFO: Date 2024-12-17
[2025-01-07 06:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:58:04] Production.INFO: Date 2024-12-18
[2025-01-07 06:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:58:04] Production.INFO: ==13891== Releasing lock...
[2025-01-07 06:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:58:04] Production.ERROR: done
[2025-01-07 06:58:04] Production.INFO: Date 2024-12-19
[2025-01-07 06:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:58:04] Production.INFO: Date 2024-12-20
[2025-01-07 06:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:58:04] Production.INFO: Date 2024-12-21
[2025-01-07 06:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:58:04] Production.INFO: Date 2024-12-22
[2025-01-07 06:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:58:04] Production.INFO: Date 2024-12-23
[2025-01-07 06:58:04] Production.INFO: ==13883== Releasing lock...
[2025-01-07 06:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:58:04] Production.INFO: Date 2024-12-24
[2025-01-07 06:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:58:04] Production.INFO: Date 2024-12-25
[2025-01-07 06:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:58:04] Production.INFO: Date 2024-12-26
[2025-01-07 06:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:58:04] Production.INFO: Date 2024-12-27
[2025-01-07 06:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:58:04] Production.INFO: Date 2024-12-28
[2025-01-07 06:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:58:04] Production.INFO: Date 2024-12-29
[2025-01-07 06:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:58:04] Production.INFO: Date 2024-12-30
[2025-01-07 06:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:58:04] Production.INFO: Date 2024-12-31
[2025-01-07 06:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:58:04] Production.INFO: Date 2025-01-01
[2025-01-07 06:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:58:04] Production.INFO: Date 2025-01-02
[2025-01-07 06:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:58:04] Production.INFO: Date 2025-01-03
[2025-01-07 06:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:58:04] Production.INFO: Date 2025-01-04
[2025-01-07 06:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:58:04] Production.INFO: Date 2025-01-05
[2025-01-07 06:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:58:04] Production.INFO: Date 2025-01-06
[2025-01-07 06:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:58:04] Production.INFO: Date 2025-01-07
[2025-01-07 06:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:58:05] Production.INFO: Total Charge 0
[2025-01-07 06:58:05] Production.INFO: CreateAllLog End
[2025-01-07 06:58:05] Production.INFO: Account Balance End.
[2025-01-07 06:58:05] Production.ERROR: CronJobId end 12
[2025-01-07 06:58:05] Production.INFO: ==13887== Releasing lock...
[2025-01-07 06:58:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:58:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:58:05
[end_date_ymd] => 2025-01-07 06:58:05
[RateCDR] => 1
)
[2025-01-07 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-07 03:58:05' and `end` < '2025-01-07 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-07 06:58:11] Production.ERROR: CronJobId end10
[2025-01-07 06:58:11] Production.INFO: ==13885== Releasing lock...
[2025-01-07 06:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:58:13] Production.INFO: call_cost start
[2025-01-07 06:58:13] Production.INFO: call_cost end
[2025-01-07 06:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:58:14] Production.INFO: ==13880== Releasing lock...
[2025-01-07 06:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:58:19] Production.INFO: count ==72
[2025-01-07 06:58:19] Production.ERROR: pbx CDR StartTime 2025-01-07 03:58:05 - End Time 2025-01-07 06:58:05
[2025-01-07 06:58:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193217', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193217', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193217', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193217', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:58:19] Production.INFO: ProcessCDR(1,14193217,1,1,2)
[2025-01-07 06:58:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193217,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:58:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193217,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:58:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193217,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193217,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193217', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193217', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:58:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:58:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:58:22] Production.INFO: ==13889== Releasing lock...
[2025-01-07 06:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:58:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 11:59:01] Production.INFO: ==13945== Lock acquired, processing the job...
[2025-01-07 11:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 11:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 11:59:01] Production.INFO: neon service started
[2025-01-07 11:59:01] Production.INFO: neon service started
[2025-01-07 11:59:01] Production.INFO: ==13945== Releasing lock...
[2025-01-07 11:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 11:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 06:59:01] Production.INFO: ==13947== Lock acquired, processing the job...
[2025-01-07 06:59:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 06:59:02] Production.INFO: ==13947== Releasing lock...
[2025-01-07 06:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 06:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:59:02] Production.INFO: ==13949== Lock acquired, processing the job...
[2025-01-07 11:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:59:02] Production.INFO: ==13949== Releasing lock...
[2025-01-07 11:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 11:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 06:59:02] Production.INFO: ==13951== Lock acquired, processing the job...
[2025-01-07 06:59:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 06:59:02] Production.INFO: ==13955== Lock acquired, processing the job...
[2025-01-07 06:59:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 06:59:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 06:59:02] Production.INFO: ==13959== Lock acquired, processing the job...
[2025-01-07 06:59:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 06:59:02] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 06:59:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 06:59:02] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 06:59:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 06:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 06:59:03] Production.INFO: ==13953== Lock acquired, processing the job...
[2025-01-07 06:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 06:59:03] Production.INFO: ==13957== Lock acquired, processing the job...
[2025-01-07 06:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 06:59:03] Production.INFO: ==13961== Lock acquired, processing the job...
[2025-01-07 06:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 06:59:03] Production.ERROR: done
[2025-01-07 06:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 06:59:03] Production.INFO: Account Balance Start.
[2025-01-07 06:59:03] Production.INFO: CreateAllLog Start
[2025-01-07 06:59:03] Production.INFO: 117
[2025-01-07 06:59:03] Production.ERROR: done
[2025-01-07 06:59:03] Production.INFO: Date 2024-12-08
[2025-01-07 06:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:59:03] Production.INFO: Date 2024-12-09
[2025-01-07 06:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:59:03] Production.INFO: count ==21
[2025-01-07 06:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 06:59:03] Production.INFO: count ==21
[2025-01-07 06:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193221') start
[2025-01-07 06:59:03] Production.INFO: Date 2024-12-10
[2025-01-07 06:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:59:03] Production.INFO: Date 2024-12-11
[2025-01-07 06:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193221') end
[2025-01-07 06:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 06:59:03] Production.INFO: 1
[2025-01-07 06:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 06:59:03] Production.INFO: ==13953== Releasing lock...
[2025-01-07 06:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 06:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 06:59:03] Production.INFO: Date 2024-12-12
[2025-01-07 06:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:59:03] Production.INFO: ==13961== Releasing lock...
[2025-01-07 06:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 06:59:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 06:59:03] Production.INFO: Date 2024-12-13
[2025-01-07 06:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:59:03] Production.INFO: Date 2024-12-14
[2025-01-07 06:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:59:03] Production.INFO: Date 2024-12-15
[2025-01-07 06:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 06:59:04] Production.INFO: Date 2024-12-16
[2025-01-07 06:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:59:04] Production.INFO: Date 2024-12-17
[2025-01-07 06:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:59:04] Production.INFO: Date 2024-12-18
[2025-01-07 06:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:59:04] Production.INFO: Date 2024-12-19
[2025-01-07 06:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:59:04] Production.INFO: Date 2024-12-20
[2025-01-07 06:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:59:04] Production.INFO: Date 2024-12-21
[2025-01-07 06:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:59:04] Production.INFO: Date 2024-12-22
[2025-01-07 06:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:59:04] Production.INFO: Date 2024-12-23
[2025-01-07 06:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:59:04] Production.INFO: Date 2024-12-24
[2025-01-07 06:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:59:04] Production.INFO: Date 2024-12-25
[2025-01-07 06:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:59:04] Production.INFO: Date 2024-12-26
[2025-01-07 06:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:59:04] Production.INFO: Date 2024-12-27
[2025-01-07 06:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:59:04] Production.INFO: Date 2024-12-28
[2025-01-07 06:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:59:04] Production.INFO: Date 2024-12-29
[2025-01-07 06:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:59:04] Production.INFO: Date 2024-12-30
[2025-01-07 06:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:59:04] Production.INFO: Date 2024-12-31
[2025-01-07 06:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:59:04] Production.INFO: Date 2025-01-01
[2025-01-07 06:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:59:04] Production.INFO: Date 2025-01-02
[2025-01-07 06:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:59:04] Production.INFO: Date 2025-01-03
[2025-01-07 06:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:59:04] Production.INFO: Date 2025-01-04
[2025-01-07 06:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:59:04] Production.INFO: Date 2025-01-05
[2025-01-07 06:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:59:04] Production.INFO: Date 2025-01-06
[2025-01-07 06:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:59:04] Production.INFO: Date 2025-01-07
[2025-01-07 06:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 06:59:04] Production.INFO: Total Charge 0
[2025-01-07 06:59:04] Production.INFO: CreateAllLog End
[2025-01-07 06:59:04] Production.INFO: Account Balance End.
[2025-01-07 06:59:04] Production.ERROR: CronJobId end 12
[2025-01-07 06:59:04] Production.INFO: ==13957== Releasing lock...
[2025-01-07 06:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 06:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 06:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 03:59:05
[end_date_ymd] => 2025-01-07 06:59:05
[RateCDR] => 1
)
[2025-01-07 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-07 03:59:05' and `end` < '2025-01-07 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-07 06:59:11] Production.ERROR: CronJobId end10
[2025-01-07 06:59:11] Production.INFO: ==13955== Releasing lock...
[2025-01-07 06:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 06:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 06:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 06:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 06:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 06:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 06:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 06:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 06:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 06:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 06:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 06:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 06:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 06:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 06:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 06:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 06:59:13] Production.INFO: call_cost start
[2025-01-07 06:59:13] Production.INFO: call_cost end
[2025-01-07 06:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 06:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 06:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 06:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 06:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 06:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 06:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 06:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 06:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 06:59:14] Production.INFO: ==13951== Releasing lock...
[2025-01-07 06:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 06:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 06:59:17] Production.INFO: count ==72
[2025-01-07 06:59:17] Production.ERROR: pbx CDR StartTime 2025-01-07 03:59:05 - End Time 2025-01-07 06:59:05
[2025-01-07 06:59:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 06:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193222', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193222', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193222', 'tblTempVendorCDR_20' ) start
[2025-01-07 06:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193222', 'tblTempVendorCDR_20' ) end
[2025-01-07 06:59:17] Production.INFO: ProcessCDR(1,14193222,1,1,2)
[2025-01-07 06:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193222,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:59:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193222,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 06:59:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193222,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193222,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 06:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193222', 'tblTempUsageDetail_20' ) start
[2025-01-07 06:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193222', 'tblTempUsageDetail_20' ) end
[2025-01-07 06:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 06:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 06:59:21] Production.INFO: ==13959== Releasing lock...
[2025-01-07 06:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 06:59:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 12:00:01] Production.INFO: ==14015== Lock acquired, processing the job...
[2025-01-07 12:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:00:01] Production.INFO: neon service started
[2025-01-07 12:00:01] Production.INFO: neon service started
[2025-01-07 12:00:01] Production.INFO: ==14015== Releasing lock...
[2025-01-07 12:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:00:02] Production.INFO: ==14017== Lock acquired, processing the job...
[2025-01-07 07:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 12:00:02] Production.INFO: ==14019== Lock acquired, processing the job...
[2025-01-07 12:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:00:02] Production.INFO: ==14019== Releasing lock...
[2025-01-07 12:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:00:03] Production.INFO: ==14017== Releasing lock...
[2025-01-07 07:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:00:04] Production.INFO: ==14026== Lock acquired, processing the job...
[2025-01-07 07:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:00:04] Production.INFO: ==14028== Lock acquired, processing the job...
[2025-01-07 07:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:00:04] Production.INFO: ==14022== Lock acquired, processing the job...
[2025-01-07 07:00:04] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10458 #Starts#
[2025-01-07 07:00:04] Production.INFO: ==14024== Lock acquired, processing the job...
[2025-01-07 07:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 07:00:04] Production.INFO: -- Xero Api Check --
[2025-01-07 07:00:04] Production.INFO: ==14034== Lock acquired, processing the job...
[2025-01-07 07:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 07:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 07:00:04] Production.ERROR: CronJob PID - 14026
[2025-01-07 07:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-07 07:00:04] Production.ERROR: CronJob ID - 5
[2025-01-07 07:00:04] Production.ERROR: CronJob Last Run Time 2025-01-07 07:00:00
[2025-01-07 07:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 07:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 07:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 07:00:04] Production.ERROR: CronJob PID - 14028
[2025-01-07 07:00:04] Production.ERROR: CronJob Title - Account Block
[2025-01-07 07:00:04] Production.ERROR: CronJob ID - 7
[2025-01-07 07:00:04] Production.ERROR: CronJob Last Run Time 2025-01-07 07:00:00
[2025-01-07 07:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 07:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 07:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 07:00:04] Production.ERROR: CronJob PID - 14034
[2025-01-07 07:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-07 07:00:04] Production.ERROR: CronJob ID - 16
[2025-01-07 07:00:04] Production.ERROR: CronJob Last Run Time 2025-01-07 07:00:00
[2025-01-07 07:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 07:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 07:00:04] Production.INFO: ==14030== Lock acquired, processing the job...
[2025-01-07 07:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:00:04] Production.INFO: ==14038== Lock acquired, processing the job...
[2025-01-07 07:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:00:04] Production.INFO: ==14032== Lock acquired, processing the job...
[2025-01-07 07:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 07:00:04] Production.INFO: ==14024== Releasing lock...
[2025-01-07 07:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 07:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 07:00:04] Production.INFO: ==14036== Lock acquired, processing the job...
[2025-01-07 07:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 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-07 07:00:04] Production.INFO: Account Balance Start.
[2025-01-07 07:00:04] Production.INFO: CreateAllLog Start
[2025-01-07 07:00:04] Production.INFO: 117
[2025-01-07 07:00:04] Production.INFO: count ==21
[2025-01-07 07:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 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-07 07:00:04] Production.INFO: count ==21
[2025-01-07 07:00:04] Production.INFO: ==14028== Releasing lock...
[2025-01-07 07:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:00:04] Production.INFO: Date 2024-12-08
[2025-01-07 07:00:04] Production.ERROR: done
[2025-01-07 07:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193225') start
[2025-01-07 07:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:00:04] Production.INFO: Date 2024-12-09
[2025-01-07 07:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193225') end
[2025-01-07 07:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:00:04] Production.INFO: 1
[2025-01-07 07:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:00:04] Production.ERROR: done
[2025-01-07 07:00:04] Production.INFO: ==14038== Releasing lock...
[2025-01-07 07:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:00:05] Production.INFO: Date 2024-12-10
[2025-01-07 07:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:00:05] Production.INFO: Date 2024-12-11
[2025-01-07 07:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:00:05] Production.INFO: Date 2024-12-12
[2025-01-07 07:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:00:05] Production.INFO: Date 2024-12-13
[2025-01-07 07:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:00:05] Production.INFO: Date 2024-12-14
[2025-01-07 07:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:00:05] Production.INFO: Date 2024-12-15
[2025-01-07 07:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:00:05] Production.INFO: Date 2024-12-16
[2025-01-07 07:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:00:05] Production.INFO: Date 2024-12-17
[2025-01-07 07:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:00:05] Production.INFO: Date 2024-12-18
[2025-01-07 07:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:00:05] Production.ERROR: done
[2025-01-07 07:00:05] Production.INFO: Date 2024-12-19
[2025-01-07 07:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:00:05] Production.INFO: Date 2024-12-20
[2025-01-07 07:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 07:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14193228', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 07:00:05] Production.INFO: Date 2024-12-21
[2025-01-07 07:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:00:05] Production.INFO: Date 2024-12-22
[2025-01-07 07:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:00:05] Production.INFO: Date 2024-12-23
[2025-01-07 07:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:00:05] Production.INFO: Date 2024-12-24
[2025-01-07 07:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:00:05] Production.INFO: Date 2024-12-25
[2025-01-07 07:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:00:05] Production.INFO: Date 2024-12-26
[2025-01-07 07:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:00:05] Production.INFO: Date 2024-12-27
[2025-01-07 07:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:00:05] Production.INFO: Date 2024-12-28
[2025-01-07 07:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:00:05] Production.INFO: Date 2024-12-29
[2025-01-07 07:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:00:05] Production.INFO: Date 2024-12-30
[2025-01-07 07:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:00:05] Production.INFO: Date 2024-12-31
[2025-01-07 07:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:00:05] Production.INFO: Date 2025-01-01
[2025-01-07 07:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:00:05] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 856
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 1.388508
[namelookup_time] => 0.520345
[connect_time] => 0.522133
[pretransfer_time] => 1.127548
[size_upload] => 82
[size_download] => 2755
[speed_download] => 1984
[speed_upload] => 59
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 1.388476
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.33
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 42286
)
[2025-01-07 07:00:05] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTEyMDUsImV4cCI6MTczNjI1MTUwNSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjUxMjA1LCJhdF9oYXNoIjoiUlM0aEM3XzNfbXFIZnFJRXFpTGdhUSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.L8jHsNNVnCqOS6TBesbqRDgbp_TwIwUJrN06KxNZ8pZpoY13LRnYzMO_ERWZzo7JsF-ycu-cu43xcymubVN5VkP6hy2B1VT-v_Cn1-1lCk0rS8A39wnxUnDz_PEjfrVXNZ5RPVBgh3IVCRw8CEUj8TtwFlbeSAc9PgsT65q6aqe5gOm2pE7BmoFPuufK16fCLbPUpV9jGVlH0l9KcshPIUdAdSsC-QrM_lujnvF-fRF1cN4FzIFpVQQPdPIKZ-fH_OP5Kszder94ORfoDqXTjBG5ubQYY3i1tUEVX-O1jzM5lfiWiIIz843ISs5pbdO034u79E4x26JjVG_V0BCySg
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTEyMDUsImV4cCI6MTczNjI1MzAwNSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.FoaU7kLLBeTkrvzK1OApv_jPMDxu7PKTLRXasx4H6UwUQKEPb3myBAmeAs4A2vQoSM06XYyyu_8P_fvddVZiaWtdvPMEsmDWPvYA6J6LgfflMPUE5sfEbEaRdA2qSZj1w5k2PQrywSz364ehhfnSFVQrVclxgxnoIOZ9uByPTmXOTgxcEOXJ-y6VpWjWsl4X-pHMd89SqdbyL4DlxDUx84g-O5bUbWw4AqLK5xJz4PLinVWNXtezMdJISlgucbAjiabAZSax_CDHTs3CTX2M4ukyvxTIbJ6IA0WdxxXfjecz-9iD4ftcYQ5jM5sFJoBCeaZQTWri1WYNBWjSULfxxw
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => 16Yi-E5-QHdMj0kzyv7ZU1Uk8vRCZPUDzA3gcQGOQQo
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 07:00:05] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTEyMDUsImV4cCI6MTczNjI1MTUwNSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjUxMjA1LCJhdF9oYXNoIjoiUlM0aEM3XzNfbXFIZnFJRXFpTGdhUSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.L8jHsNNVnCqOS6TBesbqRDgbp_TwIwUJrN06KxNZ8pZpoY13LRnYzMO_ERWZzo7JsF-ycu-cu43xcymubVN5VkP6hy2B1VT-v_Cn1-1lCk0rS8A39wnxUnDz_PEjfrVXNZ5RPVBgh3IVCRw8CEUj8TtwFlbeSAc9PgsT65q6aqe5gOm2pE7BmoFPuufK16fCLbPUpV9jGVlH0l9KcshPIUdAdSsC-QrM_lujnvF-fRF1cN4FzIFpVQQPdPIKZ-fH_OP5Kszder94ORfoDqXTjBG5ubQYY3i1tUEVX-O1jzM5lfiWiIIz843ISs5pbdO034u79E4x26JjVG_V0BCySg
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTEyMDUsImV4cCI6MTczNjI1MzAwNSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.FoaU7kLLBeTkrvzK1OApv_jPMDxu7PKTLRXasx4H6UwUQKEPb3myBAmeAs4A2vQoSM06XYyyu_8P_fvddVZiaWtdvPMEsmDWPvYA6J6LgfflMPUE5sfEbEaRdA2qSZj1w5k2PQrywSz364ehhfnSFVQrVclxgxnoIOZ9uByPTmXOTgxcEOXJ-y6VpWjWsl4X-pHMd89SqdbyL4DlxDUx84g-O5bUbWw4AqLK5xJz4PLinVWNXtezMdJISlgucbAjiabAZSax_CDHTs3CTX2M4ukyvxTIbJ6IA0WdxxXfjecz-9iD4ftcYQ5jM5sFJoBCeaZQTWri1WYNBWjSULfxxw
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => 16Yi-E5-QHdMj0kzyv7ZU1Uk8vRCZPUDzA3gcQGOQQo
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 07:00:05] Production.INFO: Date 2025-01-02
[2025-01-07 07:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:00:05] Production.INFO: AccountID 148
[2025-01-07 07:00:05] Production.INFO: AccountName Pharmacy Associates of Port Perry
[2025-01-07 07:00:05] Production.INFO: Checkcustomer
[2025-01-07 07:00:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Pharmacy%20Associates%20of%20Port%20Perry"
[2025-01-07 07:00:05] Production.INFO: Date 2025-01-03
[2025-01-07 07:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:00:05] Production.INFO: Date 2025-01-04
[2025-01-07 07:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:00:05] Production.INFO: Date 2025-01-05
[2025-01-07 07:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:00:05] Production.INFO: Date 2025-01-06
[2025-01-07 07:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:00:05] Production.INFO: Date 2025-01-07
[2025-01-07 07:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:00:06] Production.INFO: Total Charge 0
[2025-01-07 07:00:06] Production.INFO: CreateAllLog End
[2025-01-07 07:00:06] Production.INFO: Account Balance End.
[2025-01-07 07:00:06] Production.ERROR: CronJobId end 12
[2025-01-07 07:00:06] Production.INFO: ==14032== Releasing lock...
[2025-01-07 07:00:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:00:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:00:06
[end_date_ymd] => 2025-01-07 07:00:06
[RateCDR] => 1
)
[2025-01-07 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-07 04:00:06' and `end` < '2025-01-07 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-07 07:00:08] Production.INFO: Contact id print CheckCustomer Case===c60706d0-0fd9-40ff-a211-387c86733ac7
[2025-01-07 07:00:08] Production.INFO: -- count --1
[2025-01-07 07:00:08] Production.INFO: -- Xero Add Inovice --
[2025-01-07 07:00:08] Production.INFO: CheckInvoice xerov2: INV11292
[2025-01-07 07:00:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11292
[2025-01-07 07:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14193228', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 07:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 07:00:09] Production.INFO: ProcessCDR(1,14193228,1,1,2)
[2025-01-07 07:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14193228,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:00:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14193228,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:00:10] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:00:10] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:00:10] Production.INFO: ==14036== Releasing lock...
[2025-01-07 07:00:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 07:00:10] Production.INFO: 26 MB #Memory Used#
[2025-01-07 07:00:10] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 07:00:10] Production.INFO: Invoice SubTotal 32.500000
[2025-01-07 07:00:10] Production.INFO: Invoice DetTotal 32.5
[2025-01-07 07:00:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Pharmacy%20Associates%20of%20Port%20Perry"
[2025-01-07 07:00:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 07:00:13] Production.ERROR: CronJobId end10
[2025-01-07 07:00:13] Production.INFO: ==14030== Releasing lock...
[2025-01-07 07:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:00:15] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:00:15] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:00:15] Production.INFO: call_cost start
[2025-01-07 07:00:15] Production.INFO: call_cost end
[2025-01-07 07:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:00:16] Production.INFO: ==14026== Releasing lock...
[2025-01-07 07:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:00:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 07:00:19] Production.INFO: count ==72
[2025-01-07 07:00:19] Production.ERROR: pbx CDR StartTime 2025-01-07 04:00:06 - End Time 2025-01-07 07:00:06
[2025-01-07 07:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193227', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193227', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193227', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193227', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:00:19] Production.INFO: ProcessCDR(1,14193227,1,1,2)
[2025-01-07 07:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193227,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:00:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 07:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193227,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193227,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:00:22] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Retail - 3 Line Flat Rate (Burstable to 5 Active Calls)",Quantity : 3,UnitAmount : 10.000000,LineAmount : 30.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (19059850200 - 11 Water Street Unit B Port Perry, ON L9L 1H9 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 07:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193227,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193227', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193227', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:00:22] Production.INFO: ==14034== Releasing lock...
[2025-01-07 07:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:00:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 07:00:25] Production.INFO: ==== result =====
[2025-01-07 07:00:25] Production.INFO: {
"Id": "76fbb2ad-66d7-4e02-b2c0-4dd5cebd1940",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736251225289)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "2e58a0e6-b755-4ed9-9e11-69f511d83ca5",
"InvoiceNumber": "INV11292",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 36.73,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "c60706d0-0fd9-40ff-a211-387c86733ac7",
"ContactStatus": "ACTIVE",
"Name": "Pharmacy Associates of Port Perry",
"FirstName": "Doug",
"LastName": "Brown",
"EmailAddress": "pharmacyassociates.pp@gmail.com",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1620932850877+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2025-01-01T00:00:00",
"Date": "\/Date(1735689600000+0000)\/",
"DueDateString": "2025-01-31T00:00:00",
"DueDate": "\/Date(1738281600000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Retail - 3 Line Flat Rate (Burstable to 5 Active Calls)",
"UnitAmount": 10.00,
"TaxType": "TAX020",
"TaxAmount": 3.90,
"LineAmount": 30.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 3.0000,
"DiscountRate": 0.00,
"LineItemID": "606dc62e-61a4-41e7-807f-e84117f84cf1",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (19059850200 - 11 Water Street Unit B Port Perry, ON L9L 1H9 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "f2f92d1b-3c1e-4f6b-bfeb-29fcd163168f",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 32.50,
"TotalTax": 4.23,
"Total": 36.73,
"UpdatedDateUTC": "\/Date(1736251225023+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 07:00:25] Production.INFO: -- Create Invoice id --2e58a0e6-b755-4ed9-9e11-69f511d83ca5
[2025-01-07 07:00:25] Production.INFO: -- Create Invoice Done --
[2025-01-07 07:00:25] Production.INFO: -- Xero End Inovice --
[2025-01-07 07:00:25] Production.INFO: ==14022== Releasing lock...
[2025-01-07 07:00:25] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10458 #Stops#
[2025-01-07 07:00:25] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 12:01:01] Production.INFO: ==14144== Lock acquired, processing the job...
[2025-01-07 12:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:01:01] Production.INFO: neon service started
[2025-01-07 12:01:01] Production.INFO: neon service started
[2025-01-07 12:01:01] Production.INFO: ==14144== Releasing lock...
[2025-01-07 12:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:01:01] Production.INFO: ==14156== Lock acquired, processing the job...
[2025-01-07 07:01:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:01:02] Production.INFO: ==14156== Releasing lock...
[2025-01-07 07:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:01:02] Production.INFO: ==14158== Lock acquired, processing the job...
[2025-01-07 12:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:01:02] Production.INFO: ==14158== Releasing lock...
[2025-01-07 12:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:01:03] Production.INFO: ==14183== Lock acquired, processing the job...
[2025-01-07 07:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:01:03] Production.INFO: ==14179== Lock acquired, processing the job...
[2025-01-07 07:01:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10459 #Starts#
[2025-01-07 07:01:03] Production.INFO: -- Xero Api Check --
[2025-01-07 07:01:03] Production.INFO: ==14188== Lock acquired, processing the job...
[2025-01-07 07:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:01:03] Production.INFO: ==14195== Lock acquired, processing the job...
[2025-01-07 07:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:01:03] Production.INFO: ==14198== Lock acquired, processing the job...
[2025-01-07 07:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:01:03] Production.INFO: ==14191== Lock acquired, processing the job...
[2025-01-07 07:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:01:03] Production.INFO: ==14202== Lock acquired, processing the job...
[2025-01-07 07:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:01:03] Production.INFO: Account Balance Start.
[2025-01-07 07:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:01:03] Production.INFO: CreateAllLog Start
[2025-01-07 07:01:03] Production.INFO: 117
[2025-01-07 07:01:03] Production.INFO: Date 2024-12-08
[2025-01-07 07:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:01:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 07:01:03] Production.INFO: Date 2024-12-09
[2025-01-07 07:01:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:01:03] Production.INFO: count ==21
[2025-01-07 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-07 07:01:03] Production.INFO: count ==21
[2025-01-07 07:01:03] Production.INFO: ==14188== Releasing lock...
[2025-01-07 07:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193232') start
[2025-01-07 07:01:03] Production.INFO: Date 2024-12-10
[2025-01-07 07:01:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:01:03] Production.INFO: Date 2024-12-11
[2025-01-07 07:01:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:01:03] Production.ERROR: done
[2025-01-07 07:01:03] Production.INFO: Date 2024-12-12
[2025-01-07 07:01:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:01:03] Production.ERROR: done
[2025-01-07 07:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193232') end
[2025-01-07 07:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:01:03] Production.INFO: 1
[2025-01-07 07:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:01:03] Production.INFO: Date 2024-12-13
[2025-01-07 07:01:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:01:03] Production.INFO: Date 2024-12-14
[2025-01-07 07:01:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:01:03] Production.INFO: ==14202== Releasing lock...
[2025-01-07 07:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:01:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:01:03] Production.INFO: Date 2024-12-15
[2025-01-07 07:01:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:01:04] Production.INFO: Date 2024-12-16
[2025-01-07 07:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:01:04] Production.INFO: Date 2024-12-17
[2025-01-07 07:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:01:04] Production.INFO: Date 2024-12-18
[2025-01-07 07:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:01:04] Production.INFO: Date 2024-12-19
[2025-01-07 07:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:01:04] Production.INFO: Date 2024-12-20
[2025-01-07 07:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:01:04] Production.INFO: Date 2024-12-21
[2025-01-07 07:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:01: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] => 859
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 1.125439
[namelookup_time] => 0.264463
[connect_time] => 0.357347
[pretransfer_time] => 0.743253
[size_upload] => 82
[size_download] => 2755
[speed_download] => 2447
[speed_upload] => 72
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 1.125409
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.72.248.201
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 60404
)
[2025-01-07 07:01:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTEyNjQsImV4cCI6MTczNjI1MTU2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjUxMjY0LCJhdF9oYXNoIjoiWnp5UHZuYy1rM0NnWXkybWRtbUxwZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.sADYcUrZoAuegmKauWD5wituvHdsS_4TKOajrAH0ZAxAokZttKrQB3xSArbC7NDqduV-p3y59wehOQ_PRRxN1jdWqG9890-eqdzeI2hbqXOYt2ZOzoj2zBE-RskFpkcelHrw1aFFx03Ptyi7NU-pnO81gx1oMGRseEaiTYbvhze7x4NYXD9oebPTStp5aRLKH2NGpsM6aMyBtmVhtIDOGJRscIULWkpIGsZy-_ng-CMwgIMCJLq6-oA9PewDzNaaaq1R6SB-VtifJgwqXazSVj44IK2X5-Rb0Mix_uFC2G6XqJoptI_Hz3_4pRov3A3xgD9TUZ4_ZPqq6nqj6Pxm9Q
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTEyNjQsImV4cCI6MTczNjI1MzA2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.F4w0KkkuQNuiWNH45fze9_1yA6-7DgsLFvIvJJNtSzjcOWGANvkPvi5vKDL1A-oRNFkc7KkDUnPWkp8KXz5XuPH-oLfEjdFIxQKJfsTZp4mbl3i18COqt168_FO-U5rqdVBVrSWbamKtvvTDU1habAvG-TmhShPmpQjvx6gY5fBY7jGGxif_yN9qhEytSALHR4lYHjT51rKqH0__PdJdXup0hc4T2r-5PqDnFGRZwhi2a8BR2oaZKVWAxwlofdUtFh6D-24_EhPMGh0opZW-zX-OZFHkhcP9y3zL9vxGjsFNWUnZLiqhDB43IQrK9nV3EeTJ1PBieMCw5U_FM9hKHw
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => waosGpC_W00QnHVXAIUUbsniNIiu2WtspLatZ-eGFok
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 07:01:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTEyNjQsImV4cCI6MTczNjI1MTU2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjUxMjY0LCJhdF9oYXNoIjoiWnp5UHZuYy1rM0NnWXkybWRtbUxwZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.sADYcUrZoAuegmKauWD5wituvHdsS_4TKOajrAH0ZAxAokZttKrQB3xSArbC7NDqduV-p3y59wehOQ_PRRxN1jdWqG9890-eqdzeI2hbqXOYt2ZOzoj2zBE-RskFpkcelHrw1aFFx03Ptyi7NU-pnO81gx1oMGRseEaiTYbvhze7x4NYXD9oebPTStp5aRLKH2NGpsM6aMyBtmVhtIDOGJRscIULWkpIGsZy-_ng-CMwgIMCJLq6-oA9PewDzNaaaq1R6SB-VtifJgwqXazSVj44IK2X5-Rb0Mix_uFC2G6XqJoptI_Hz3_4pRov3A3xgD9TUZ4_ZPqq6nqj6Pxm9Q
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTEyNjQsImV4cCI6MTczNjI1MzA2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.F4w0KkkuQNuiWNH45fze9_1yA6-7DgsLFvIvJJNtSzjcOWGANvkPvi5vKDL1A-oRNFkc7KkDUnPWkp8KXz5XuPH-oLfEjdFIxQKJfsTZp4mbl3i18COqt168_FO-U5rqdVBVrSWbamKtvvTDU1habAvG-TmhShPmpQjvx6gY5fBY7jGGxif_yN9qhEytSALHR4lYHjT51rKqH0__PdJdXup0hc4T2r-5PqDnFGRZwhi2a8BR2oaZKVWAxwlofdUtFh6D-24_EhPMGh0opZW-zX-OZFHkhcP9y3zL9vxGjsFNWUnZLiqhDB43IQrK9nV3EeTJ1PBieMCw5U_FM9hKHw
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => waosGpC_W00QnHVXAIUUbsniNIiu2WtspLatZ-eGFok
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 07:01:04] Production.INFO: AccountID 124
[2025-01-07 07:01:04] Production.INFO: AccountName Dominos 39009 (Mudassar Zia)
[2025-01-07 07:01:04] Production.INFO: Date 2024-12-22
[2025-01-07 07:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:01:04] Production.INFO: Checkcustomer
[2025-01-07 07:01:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039009%20%28Mudassar%20Zia%29"
[2025-01-07 07:01:04] Production.INFO: Date 2024-12-23
[2025-01-07 07:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:01:04] Production.INFO: Date 2024-12-24
[2025-01-07 07:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:01:04] Production.INFO: Date 2024-12-25
[2025-01-07 07:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:01:04] Production.INFO: Date 2024-12-26
[2025-01-07 07:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:01:04] Production.INFO: Date 2024-12-27
[2025-01-07 07:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:01:04] Production.INFO: Date 2024-12-28
[2025-01-07 07:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:01:04] Production.INFO: Date 2024-12-29
[2025-01-07 07:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:01:04] Production.INFO: Date 2024-12-30
[2025-01-07 07:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:01:04] Production.INFO: Date 2024-12-31
[2025-01-07 07:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:01:04] Production.INFO: Date 2025-01-01
[2025-01-07 07:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:01:04] Production.INFO: Date 2025-01-02
[2025-01-07 07:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:01:04] Production.INFO: Date 2025-01-03
[2025-01-07 07:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:01:04] Production.INFO: Date 2025-01-04
[2025-01-07 07:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:01:05] Production.INFO: Date 2025-01-05
[2025-01-07 07:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:01:05] Production.INFO: Date 2025-01-06
[2025-01-07 07:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:01:05] Production.INFO: Date 2025-01-07
[2025-01-07 07:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:01:05] Production.INFO: Total Charge 0
[2025-01-07 07:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:01:05
[end_date_ymd] => 2025-01-07 07:01:05
[RateCDR] => 1
)
[2025-01-07 07:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 04:01:05' and `end` < '2025-01-07 07:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 07:01:05] Production.INFO: CreateAllLog End
[2025-01-07 07:01:05] Production.INFO: Account Balance End.
[2025-01-07 07:01:05] Production.ERROR: CronJobId end 12
[2025-01-07 07:01:05] Production.INFO: ==14195== Releasing lock...
[2025-01-07 07:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:01:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:01:06] Production.INFO: Contact id print CheckCustomer Case===40c47681-8e37-4e12-be60-e7c71250891f
[2025-01-07 07:01:06] Production.INFO: -- count --1
[2025-01-07 07:01:06] Production.INFO: -- Xero Add Inovice --
[2025-01-07 07:01:06] Production.INFO: CheckInvoice xerov2: INV11316
[2025-01-07 07:01:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11316
[2025-01-07 07:01:09] Production.INFO: Check Invoice Id XEROV21
[2025-01-07 07:01:09] Production.INFO: -- Create Invoice Done --
[2025-01-07 07:01:09] Production.INFO: -- Xero End Inovice --
[2025-01-07 07:01:09] Production.INFO: ==14179== Releasing lock...
[2025-01-07 07:01:09] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10459 #Stops#
[2025-01-07 07:01:09] Production.INFO: 27.25 MB #Memory Used#
[2025-01-07 07:01:11] Production.ERROR: CronJobId end10
[2025-01-07 07:01:11] Production.INFO: ==14191== Releasing lock...
[2025-01-07 07:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:01:13] Production.INFO: call_cost start
[2025-01-07 07:01:13] Production.INFO: call_cost end
[2025-01-07 07:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:01:14] Production.INFO: ==14183== Releasing lock...
[2025-01-07 07:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:01:23] Production.INFO: count ==72
[2025-01-07 07:01:23] Production.ERROR: pbx CDR StartTime 2025-01-07 04:01:05 - End Time 2025-01-07 07:01:05
[2025-01-07 07:01:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:01:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193233', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:01:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193233', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:01:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193233', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:01:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193233', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:01:23] Production.INFO: ProcessCDR(1,14193233,1,1,2)
[2025-01-07 07:01:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193233,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:01:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193233,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:01:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193233,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:01:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193233,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:01:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193233', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:01:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193233', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:01:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:01:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:01:26] Production.INFO: ==14198== Releasing lock...
[2025-01-07 07:01:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:01:26] Production.INFO: 28 MB #Memory Used#
[2025-01-07 12:02:01] Production.INFO: ==14268== Lock acquired, processing the job...
[2025-01-07 12:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:02:01] Production.INFO: neon service started
[2025-01-07 12:02:01] Production.INFO: neon service started
[2025-01-07 12:02:01] Production.INFO: ==14268== Releasing lock...
[2025-01-07 12:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:02:02] Production.INFO: ==14270== Lock acquired, processing the job...
[2025-01-07 07:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:02:02] Production.INFO: ==14270== Releasing lock...
[2025-01-07 07:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:02:02] Production.INFO: ==14272== Lock acquired, processing the job...
[2025-01-07 12:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:02:02] Production.INFO: ==14272== Releasing lock...
[2025-01-07 12:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:02:03] Production.INFO: ==14277== Lock acquired, processing the job...
[2025-01-07 07:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:02:03] Production.INFO: ==14285== Lock acquired, processing the job...
[2025-01-07 07:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:02:03] Production.INFO: ==14275== Lock acquired, processing the job...
[2025-01-07 07:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:02:03] Production.INFO: ==14277== Releasing lock...
[2025-01-07 07:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:02:03] Production.INFO: ==14279== Lock acquired, processing the job...
[2025-01-07 07:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:02:03] Production.INFO: ==14281== Lock acquired, processing the job...
[2025-01-07 07:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:02:03] Production.INFO: ==14283== Lock acquired, processing the job...
[2025-01-07 07:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:02:03] Production.INFO: count ==21
[2025-01-07 07: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-07 07:02:03] Production.INFO: count ==21
[2025-01-07 07:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193235') start
[2025-01-07 07:02:03] Production.INFO: Account Balance Start.
[2025-01-07 07:02:03] Production.INFO: CreateAllLog Start
[2025-01-07 07:02:03] Production.INFO: 117
[2025-01-07 07:02:03] Production.INFO: Date 2024-12-08
[2025-01-07 07:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:02:03] Production.INFO: Date 2024-12-09
[2025-01-07 07:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193235') end
[2025-01-07 07:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:02:03] Production.INFO: 1
[2025-01-07 07:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:02:03] Production.INFO: ==14285== Releasing lock...
[2025-01-07 07:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:02:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:02:03] Production.INFO: Date 2024-12-10
[2025-01-07 07:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:02:03] Production.INFO: Date 2024-12-11
[2025-01-07 07:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:02:03] Production.INFO: Date 2024-12-12
[2025-01-07 07:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:02:04] Production.ERROR: done
[2025-01-07 07:02:04] Production.INFO: Date 2024-12-13
[2025-01-07 07:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:02:04] Production.INFO: Date 2024-12-14
[2025-01-07 07:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:02:04] Production.INFO: Date 2024-12-15
[2025-01-07 07:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:02:04] Production.INFO: Date 2024-12-16
[2025-01-07 07:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:02:04] Production.INFO: Date 2024-12-17
[2025-01-07 07:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:02:04] Production.ERROR: done
[2025-01-07 07:02:04] Production.INFO: Date 2024-12-18
[2025-01-07 07:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:02:04] Production.INFO: Date 2024-12-19
[2025-01-07 07:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:02:04] Production.INFO: Date 2024-12-20
[2025-01-07 07:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:02:04] Production.INFO: Date 2024-12-21
[2025-01-07 07:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:02:04] Production.INFO: Date 2024-12-22
[2025-01-07 07:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:02:04] Production.INFO: Date 2024-12-23
[2025-01-07 07:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:02:04] Production.INFO: Date 2024-12-24
[2025-01-07 07:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:02:04] Production.INFO: Date 2024-12-25
[2025-01-07 07:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:02:04] Production.INFO: Date 2024-12-26
[2025-01-07 07:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:02:04] Production.INFO: Date 2024-12-27
[2025-01-07 07:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:02:04] Production.INFO: Date 2024-12-28
[2025-01-07 07:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:02:04] Production.INFO: Date 2024-12-29
[2025-01-07 07:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:02:04] Production.INFO: Date 2024-12-30
[2025-01-07 07:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:02:04] Production.INFO: Date 2024-12-31
[2025-01-07 07:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:02:04] Production.INFO: Date 2025-01-01
[2025-01-07 07:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:02:04] Production.INFO: Date 2025-01-02
[2025-01-07 07:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:02:04] Production.INFO: Date 2025-01-03
[2025-01-07 07:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:02:04] Production.INFO: Date 2025-01-04
[2025-01-07 07:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:02:04] Production.INFO: Date 2025-01-05
[2025-01-07 07:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:02:04] Production.INFO: Date 2025-01-06
[2025-01-07 07:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:02:04] Production.INFO: Date 2025-01-07
[2025-01-07 07:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:02:04] Production.INFO: Total Charge 0
[2025-01-07 07:02:04] Production.INFO: CreateAllLog End
[2025-01-07 07:02:05] Production.INFO: Account Balance End.
[2025-01-07 07:02:05] Production.ERROR: CronJobId end 12
[2025-01-07 07:02:05] Production.INFO: ==14281== Releasing lock...
[2025-01-07 07:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:02:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:02:05
[end_date_ymd] => 2025-01-07 07:02:05
[RateCDR] => 1
)
[2025-01-07 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-07 04:02:05' and `end` < '2025-01-07 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-07 07:02:12] Production.ERROR: CronJobId end10
[2025-01-07 07:02:12] Production.INFO: ==14279== Releasing lock...
[2025-01-07 07:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:02:14] Production.INFO: call_cost start
[2025-01-07 07:02:14] Production.INFO: call_cost end
[2025-01-07 07:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:02:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:02:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:02:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:02:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:02:15] Production.INFO: ==14275== Releasing lock...
[2025-01-07 07:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:02:19] Production.INFO: count ==72
[2025-01-07 07:02:19] Production.ERROR: pbx CDR StartTime 2025-01-07 04:02:05 - End Time 2025-01-07 07:02:05
[2025-01-07 07:02:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193238', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193238', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193238', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193238', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:02:19] Production.INFO: ProcessCDR(1,14193238,1,1,2)
[2025-01-07 07:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193238,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193238,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193238,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193238,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193238', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193238', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:02:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:02:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:02:22] Production.INFO: ==14283== Releasing lock...
[2025-01-07 07:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:02:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 12:03:02] Production.INFO: ==14342== Lock acquired, processing the job...
[2025-01-07 12:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:03:02] Production.INFO: neon service started
[2025-01-07 12:03:02] Production.INFO: neon service started
[2025-01-07 12:03:02] Production.INFO: ==14342== Releasing lock...
[2025-01-07 12:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:03:02] Production.INFO: ==14344== Lock acquired, processing the job...
[2025-01-07 07:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 12:03:02] Production.INFO: ==14346== Lock acquired, processing the job...
[2025-01-07 12:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:03:02] Production.INFO: ==14346== Releasing lock...
[2025-01-07 12:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:03:02] Production.INFO: ==14344== Releasing lock...
[2025-01-07 07:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:03:03] Production.INFO: ==14348== Lock acquired, processing the job...
[2025-01-07 07:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:03:03] Production.INFO: ==14355== Lock acquired, processing the job...
[2025-01-07 07:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:03:03] Production.INFO: ==14350== Lock acquired, processing the job...
[2025-01-07 07:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:03:03] Production.INFO: Account Balance Start.
[2025-01-07 07:03:03] Production.INFO: CreateAllLog Start
[2025-01-07 07:03:03] Production.INFO: 117
[2025-01-07 07:03:03] Production.INFO: Date 2024-12-08
[2025-01-07 07:03:03] Production.INFO: ==14359== Lock acquired, processing the job...
[2025-01-07 07:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:03:03] Production.INFO: ==14352== Lock acquired, processing the job...
[2025-01-07 07:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:03:03] Production.INFO: Date 2024-12-09
[2025-01-07 07:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:03:03] Production.INFO: Date 2024-12-10
[2025-01-07 07:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:03:03] Production.INFO: Date 2024-12-11
[2025-01-07 07:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:03:04] Production.INFO: ==14357== Lock acquired, processing the job...
[2025-01-07 07:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:03:04] Production.INFO: Date 2024-12-12
[2025-01-07 07:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:03:04] Production.INFO: Date 2024-12-13
[2025-01-07 07:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:03:04] Production.INFO: Date 2024-12-14
[2025-01-07 07:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:03:04] Production.INFO: count ==21
[2025-01-07 07:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:03:04] Production.INFO: Date 2024-12-15
[2025-01-07 07:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:03:04] Production.INFO: count ==21
[2025-01-07 07:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193242') start
[2025-01-07 07:03:04] Production.INFO: Date 2024-12-16
[2025-01-07 07:03:04] Production.INFO: ==14350== Releasing lock...
[2025-01-07 07:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:03:04] Production.INFO: Date 2024-12-17
[2025-01-07 07:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193242') end
[2025-01-07 07:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:03:04] Production.INFO: 1
[2025-01-07 07:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:03:04] Production.INFO: Date 2024-12-18
[2025-01-07 07:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:03:04] Production.INFO: Date 2024-12-19
[2025-01-07 07:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:03:04] Production.INFO: ==14359== Releasing lock...
[2025-01-07 07:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:03:04] Production.ERROR: done
[2025-01-07 07:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:03:04] Production.INFO: Date 2024-12-20
[2025-01-07 07:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:03:04] Production.ERROR: done
[2025-01-07 07:03:04] Production.INFO: Date 2024-12-21
[2025-01-07 07:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:03:04] Production.INFO: Date 2024-12-22
[2025-01-07 07:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:03:04] Production.INFO: Date 2024-12-23
[2025-01-07 07:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:03:04] Production.INFO: Date 2024-12-24
[2025-01-07 07:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:03:04] Production.INFO: Date 2024-12-25
[2025-01-07 07:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:03:04] Production.INFO: Date 2024-12-26
[2025-01-07 07:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:03:04] Production.INFO: Date 2024-12-27
[2025-01-07 07:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:03:04] Production.INFO: Date 2024-12-28
[2025-01-07 07:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:03:05] Production.INFO: Date 2024-12-29
[2025-01-07 07:03:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:03:05] Production.INFO: Date 2024-12-30
[2025-01-07 07:03:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:03:05] Production.INFO: Date 2024-12-31
[2025-01-07 07:03:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:03:05] Production.INFO: Date 2025-01-01
[2025-01-07 07:03:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:03:05] Production.INFO: Date 2025-01-02
[2025-01-07 07:03:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:03:05] Production.INFO: Date 2025-01-03
[2025-01-07 07:03:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:03:05] Production.INFO: Date 2025-01-04
[2025-01-07 07:03:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:03:05] Production.INFO: Date 2025-01-05
[2025-01-07 07:03:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:03:05] Production.INFO: Date 2025-01-06
[2025-01-07 07:03:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:03:05] Production.INFO: Date 2025-01-07
[2025-01-07 07:03:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:03:05] Production.INFO: Total Charge 0
[2025-01-07 07:03:05] Production.INFO: CreateAllLog End
[2025-01-07 07:03:05] Production.INFO: Account Balance End.
[2025-01-07 07:03:05] Production.ERROR: CronJobId end 12
[2025-01-07 07:03:05] Production.INFO: ==14355== Releasing lock...
[2025-01-07 07:03:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:03:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:03:05
[end_date_ymd] => 2025-01-07 07:03:05
[RateCDR] => 1
)
[2025-01-07 07:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 04:03:05' and `end` < '2025-01-07 07:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 07:03:12] Production.ERROR: CronJobId end10
[2025-01-07 07:03:12] Production.INFO: ==14352== Releasing lock...
[2025-01-07 07:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:03:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:03:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:03:14] Production.INFO: call_cost start
[2025-01-07 07:03:14] Production.INFO: call_cost end
[2025-01-07 07:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:03:14] Production.INFO: ==14348== Releasing lock...
[2025-01-07 07:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:03:20] Production.INFO: count ==72
[2025-01-07 07:03:20] Production.ERROR: pbx CDR StartTime 2025-01-07 04:03:05 - End Time 2025-01-07 07:03:05
[2025-01-07 07:03:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193243', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193243', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193243', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193243', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:03:20] Production.INFO: ProcessCDR(1,14193243,1,1,2)
[2025-01-07 07:03:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193243,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:03:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193243,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:03:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193243,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:03:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193243,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193243', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193243', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:03:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:03:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:03:23] Production.INFO: ==14357== Releasing lock...
[2025-01-07 07:03:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:03:23] Production.INFO: 28 MB #Memory Used#
[2025-01-07 12:04:01] Production.INFO: ==14416== Lock acquired, processing the job...
[2025-01-07 12:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:04:01] Production.INFO: neon service started
[2025-01-07 12:04:01] Production.INFO: neon service started
[2025-01-07 12:04:01] Production.INFO: ==14416== Releasing lock...
[2025-01-07 12:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:04:02] Production.INFO: ==14418== Lock acquired, processing the job...
[2025-01-07 07:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:04:02] Production.INFO: ==14418== Releasing lock...
[2025-01-07 07:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:04:02] Production.INFO: ==14420== Lock acquired, processing the job...
[2025-01-07 12:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:04:02] Production.INFO: ==14420== Releasing lock...
[2025-01-07 12:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:04:03] Production.INFO: ==14423== Lock acquired, processing the job...
[2025-01-07 07:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:04:03] Production.INFO: ==14431== Lock acquired, processing the job...
[2025-01-07 07:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:04:03] Production.INFO: ==14425== Lock acquired, processing the job...
[2025-01-07 07:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:04:03] Production.INFO: ==14433== Lock acquired, processing the job...
[2025-01-07 07:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:04:03] Production.INFO: ==14427== Lock acquired, processing the job...
[2025-01-07 07:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 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-07 07:04:03] Production.INFO: ==14429== Lock acquired, processing the job...
[2025-01-07 07:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:04:03] Production.INFO: count ==21
[2025-01-07 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-07 07:04:03] Production.INFO: count ==21
[2025-01-07 07:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193244') start
[2025-01-07 07:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:04:03] Production.INFO: Account Balance Start.
[2025-01-07 07:04:03] Production.INFO: CreateAllLog Start
[2025-01-07 07:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193244') end
[2025-01-07 07:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:04:03] Production.INFO: 1
[2025-01-07 07:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:04:03] Production.INFO: 117
[2025-01-07 07:04:03] Production.INFO: ==14425== Releasing lock...
[2025-01-07 07:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:04:03] Production.INFO: ==14433== Releasing lock...
[2025-01-07 07:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:04:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:04:03] Production.ERROR: done
[2025-01-07 07:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:04:03] Production.INFO: Date 2024-12-08
[2025-01-07 07:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:04:04] Production.ERROR: done
[2025-01-07 07:04:04] Production.INFO: Date 2024-12-09
[2025-01-07 07:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:04:04] Production.INFO: Date 2024-12-10
[2025-01-07 07:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:04:04] Production.INFO: Date 2024-12-11
[2025-01-07 07:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:04:04] Production.INFO: Date 2024-12-12
[2025-01-07 07:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:04:04] Production.INFO: Date 2024-12-13
[2025-01-07 07:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:04:04] Production.INFO: Date 2024-12-14
[2025-01-07 07:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:04:04] Production.INFO: Date 2024-12-15
[2025-01-07 07:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:04:04] Production.INFO: Date 2024-12-16
[2025-01-07 07:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:04:04] Production.INFO: Date 2024-12-17
[2025-01-07 07:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:04:04] Production.INFO: Date 2024-12-18
[2025-01-07 07:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:04:04] Production.INFO: Date 2024-12-19
[2025-01-07 07:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:04:04] Production.INFO: Date 2024-12-20
[2025-01-07 07:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:04:04] Production.INFO: Date 2024-12-21
[2025-01-07 07:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:04:04] Production.INFO: Date 2024-12-22
[2025-01-07 07:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:04:04] Production.INFO: Date 2024-12-23
[2025-01-07 07:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:04:04] Production.INFO: Date 2024-12-24
[2025-01-07 07:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:04:04] Production.INFO: Date 2024-12-25
[2025-01-07 07:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:04:04] Production.INFO: Date 2024-12-26
[2025-01-07 07:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:04:04] Production.INFO: Date 2024-12-27
[2025-01-07 07:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:04:04] Production.INFO: Date 2024-12-28
[2025-01-07 07:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:04:04] Production.INFO: Date 2024-12-29
[2025-01-07 07:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:04:04] Production.INFO: Date 2024-12-30
[2025-01-07 07:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:04:04] Production.INFO: Date 2024-12-31
[2025-01-07 07:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:04:04] Production.INFO: Date 2025-01-01
[2025-01-07 07:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:04:04] Production.INFO: Date 2025-01-02
[2025-01-07 07:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:04:04] Production.INFO: Date 2025-01-03
[2025-01-07 07:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:04:04] Production.INFO: Date 2025-01-04
[2025-01-07 07:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:04:04] Production.INFO: Date 2025-01-05
[2025-01-07 07:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:04:04] Production.INFO: Date 2025-01-06
[2025-01-07 07:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:04:04] Production.INFO: Date 2025-01-07
[2025-01-07 07:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:04:04] Production.INFO: Total Charge 0
[2025-01-07 07:04:04] Production.INFO: CreateAllLog End
[2025-01-07 07:04:05] Production.INFO: Account Balance End.
[2025-01-07 07:04:05] Production.ERROR: CronJobId end 12
[2025-01-07 07:04:05] Production.INFO: ==14429== Releasing lock...
[2025-01-07 07:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:04:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:04:05
[end_date_ymd] => 2025-01-07 07:04:05
[RateCDR] => 1
)
[2025-01-07 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-07 04:04:05' and `end` < '2025-01-07 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-07 07:04:10] Production.ERROR: CronJobId end10
[2025-01-07 07:04:10] Production.INFO: ==14427== Releasing lock...
[2025-01-07 07:04:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:04:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:04:13] Production.INFO: call_cost start
[2025-01-07 07:04:13] Production.INFO: call_cost end
[2025-01-07 07:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:04:14] Production.INFO: ==14423== Releasing lock...
[2025-01-07 07:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:04:20] Production.INFO: count ==72
[2025-01-07 07:04:20] Production.ERROR: pbx CDR StartTime 2025-01-07 04:04:05 - End Time 2025-01-07 07:04:05
[2025-01-07 07:04:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193248', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193248', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193248', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193248', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:04:20] Production.INFO: ProcessCDR(1,14193248,1,1,2)
[2025-01-07 07:04:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193248,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:04:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193248,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:04:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193248,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:04:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193248,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193248', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193248', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:04:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:04:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:04:23] Production.INFO: ==14431== Releasing lock...
[2025-01-07 07:04:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:04:23] Production.INFO: 28 MB #Memory Used#
[2025-01-07 12:05:02] Production.INFO: ==14567== Lock acquired, processing the job...
[2025-01-07 12:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:05:02] Production.INFO: neon service started
[2025-01-07 12:05:02] Production.INFO: neon service started
[2025-01-07 12:05:02] Production.INFO: ==14567== Releasing lock...
[2025-01-07 12:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:05:02] Production.INFO: ==14569== Lock acquired, processing the job...
[2025-01-07 07:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 12:05:03] Production.INFO: ==14571== Lock acquired, processing the job...
[2025-01-07 12:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:05:03] Production.INFO: ==14571== Releasing lock...
[2025-01-07 12:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:05:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:05:03] Production.INFO: ==14569== Releasing lock...
[2025-01-07 07:05:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:05:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:05:04] Production.INFO: ==14574== Lock acquired, processing the job...
[2025-01-07 07:05:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:05:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:05:04] Production.INFO: ==14576== Lock acquired, processing the job...
[2025-01-07 07:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:05:04] Production.INFO: ==14578== Lock acquired, processing the job...
[2025-01-07 07:05:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:05:04] Production.INFO: ==14580== Lock acquired, processing the job...
[2025-01-07 07:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:05:04] Production.INFO: ==14582== Lock acquired, processing the job...
[2025-01-07 07:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:05:04] Production.INFO: ==14584== Lock acquired, processing the job...
[2025-01-07 07:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:05:04] Production.INFO: Account Balance Start.
[2025-01-07 07:05:04] Production.INFO: CreateAllLog Start
[2025-01-07 07:05:04] Production.INFO: 117
[2025-01-07 07:05:04] Production.INFO: Date 2024-12-08
[2025-01-07 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-07 07:05:04] Production.INFO: ==14576== Releasing lock...
[2025-01-07 07:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:05:04] Production.INFO: count ==21
[2025-01-07 07:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 07:05:04] Production.INFO: count ==21
[2025-01-07 07:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193252') start
[2025-01-07 07:05:04] Production.INFO: Date 2024-12-09
[2025-01-07 07:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:05:04] Production.ERROR: done
[2025-01-07 07:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193252') end
[2025-01-07 07:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:05:04] Production.INFO: 1
[2025-01-07 07:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:05:04] Production.INFO: Date 2024-12-10
[2025-01-07 07:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:05:04] Production.INFO: Date 2024-12-11
[2025-01-07 07:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:05:04] Production.INFO: ==14584== Releasing lock...
[2025-01-07 07:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:05:05] Production.INFO: Date 2024-12-12
[2025-01-07 07:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:05:05] Production.ERROR: done
[2025-01-07 07:05:05] Production.INFO: Date 2024-12-13
[2025-01-07 07:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:05:05] Production.INFO: Date 2024-12-14
[2025-01-07 07:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:05:05] Production.INFO: Date 2024-12-15
[2025-01-07 07:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:05:05] Production.INFO: Date 2024-12-16
[2025-01-07 07:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:05:05] Production.INFO: Date 2024-12-17
[2025-01-07 07:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:05:05] Production.INFO: Date 2024-12-18
[2025-01-07 07:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:05:05] Production.INFO: Date 2024-12-19
[2025-01-07 07:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:05:05] Production.INFO: Date 2024-12-20
[2025-01-07 07:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:05:05] Production.INFO: Date 2024-12-21
[2025-01-07 07:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:05:05] Production.INFO: Date 2024-12-22
[2025-01-07 07:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:05:05] Production.INFO: Date 2024-12-23
[2025-01-07 07:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:05:05] Production.INFO: Date 2024-12-24
[2025-01-07 07:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:05:05] Production.INFO: Date 2024-12-25
[2025-01-07 07:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:05:05] Production.INFO: Date 2024-12-26
[2025-01-07 07:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:05:05] Production.INFO: Date 2024-12-27
[2025-01-07 07:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:05:05] Production.INFO: Date 2024-12-28
[2025-01-07 07:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:05:05] Production.INFO: Date 2024-12-29
[2025-01-07 07:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:05:05] Production.INFO: Date 2024-12-30
[2025-01-07 07:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:05:05] Production.INFO: Date 2024-12-31
[2025-01-07 07:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:05:06] Production.INFO: Date 2025-01-01
[2025-01-07 07:05:06] Production.INFO: Reseller ==> 0
[2025-01-07 07:05:06] Production.INFO: Date 2025-01-02
[2025-01-07 07:05:06] Production.INFO: Reseller ==> 0
[2025-01-07 07:05:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:05:06
[end_date_ymd] => 2025-01-07 07:05:06
[RateCDR] => 1
)
[2025-01-07 07:05:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 04:05:06' and `end` < '2025-01-07 07:05:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 07:05:06] Production.INFO: Date 2025-01-03
[2025-01-07 07:05:06] Production.INFO: Reseller ==> 0
[2025-01-07 07:05:06] Production.INFO: Date 2025-01-04
[2025-01-07 07:05:06] Production.INFO: Reseller ==> 0
[2025-01-07 07:05:06] Production.INFO: Date 2025-01-05
[2025-01-07 07:05:06] Production.INFO: Reseller ==> 0
[2025-01-07 07:05:06] Production.INFO: Date 2025-01-06
[2025-01-07 07:05:06] Production.INFO: Reseller ==> 0
[2025-01-07 07:05:06] Production.INFO: Date 2025-01-07
[2025-01-07 07:05:06] Production.INFO: Reseller ==> 0
[2025-01-07 07:05:06] Production.INFO: Total Charge 0
[2025-01-07 07:05:06] Production.INFO: CreateAllLog End
[2025-01-07 07:05:06] Production.INFO: Account Balance End.
[2025-01-07 07:05:06] Production.ERROR: CronJobId end 12
[2025-01-07 07:05:06] Production.INFO: ==14580== Releasing lock...
[2025-01-07 07:05:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:05:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:05:12] Production.ERROR: CronJobId end10
[2025-01-07 07:05:12] Production.INFO: ==14578== Releasing lock...
[2025-01-07 07:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:05:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:05:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:05:14] Production.INFO: call_cost start
[2025-01-07 07:05:14] Production.INFO: call_cost end
[2025-01-07 07:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:05:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:05:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:05:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:05:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:05:15] Production.INFO: ==14574== Releasing lock...
[2025-01-07 07:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:05:20] Production.INFO: count ==72
[2025-01-07 07:05:20] Production.ERROR: pbx CDR StartTime 2025-01-07 04:05:06 - End Time 2025-01-07 07:05:06
[2025-01-07 07:05:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193253', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193253', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193253', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193253', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:05:20] Production.INFO: ProcessCDR(1,14193253,1,1,2)
[2025-01-07 07:05:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193253,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:05:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193253,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:05:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193253,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:05:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193253,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193253', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193253', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:05:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:05:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:05:23] Production.INFO: ==14582== Releasing lock...
[2025-01-07 07:05:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:05:23] Production.INFO: 28 MB #Memory Used#
[2025-01-07 12:06:01] Production.INFO: ==14638== Lock acquired, processing the job...
[2025-01-07 12:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:06:01] Production.INFO: neon service started
[2025-01-07 12:06:01] Production.INFO: neon service started
[2025-01-07 12:06:01] Production.INFO: ==14638== Releasing lock...
[2025-01-07 12:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:06:02] Production.INFO: ==14640== Lock acquired, processing the job...
[2025-01-07 07:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 12:06:02] Production.INFO: ==14642== Lock acquired, processing the job...
[2025-01-07 12:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:06:02] Production.INFO: ==14640== Releasing lock...
[2025-01-07 07:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:06:02] Production.INFO: ==14642== Releasing lock...
[2025-01-07 12:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:06:03] Production.INFO: ==14644== Lock acquired, processing the job...
[2025-01-07 07:06:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10460 #Starts#
[2025-01-07 07:06:03] Production.INFO: ==14647== Lock acquired, processing the job...
[2025-01-07 07:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:06:03] Production.INFO: -- Xero Api Check --
[2025-01-07 07:06:03] Production.INFO: ==14649== Lock acquired, processing the job...
[2025-01-07 07:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:06:03] Production.INFO: ==14651== Lock acquired, processing the job...
[2025-01-07 07:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:06:03] Production.INFO: ==14653== Lock acquired, processing the job...
[2025-01-07 07:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:06:03] Production.INFO: ==14655== Lock acquired, processing the job...
[2025-01-07 07:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:06:03] Production.INFO: ==14657== Lock acquired, processing the job...
[2025-01-07 07:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:06:03] Production.INFO: Account Balance Start.
[2025-01-07 07:06:03] Production.INFO: CreateAllLog Start
[2025-01-07 07:06:03] Production.INFO: 117
[2025-01-07 07:06:03] Production.INFO: Date 2024-12-08
[2025-01-07 07:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:06:03] Production.INFO: Date 2024-12-09
[2025-01-07 07:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 07:06:03] Production.INFO: count ==21
[2025-01-07 07:06:03] Production.INFO: Date 2024-12-10
[2025-01-07 07:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 07:06:04] Production.INFO: ==14649== Releasing lock...
[2025-01-07 07:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:06:04] Production.INFO: count ==21
[2025-01-07 07:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193257') start
[2025-01-07 07:06:04] Production.INFO: Date 2024-12-11
[2025-01-07 07:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:06:04] Production.ERROR: done
[2025-01-07 07:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:06:04] Production.INFO: Date 2024-12-12
[2025-01-07 07:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193257') end
[2025-01-07 07:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:06:04] Production.INFO: 1
[2025-01-07 07:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:06:04] Production.INFO: Date 2024-12-13
[2025-01-07 07:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:06:04] Production.INFO: Date 2024-12-14
[2025-01-07 07:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:06:04] Production.ERROR: done
[2025-01-07 07:06: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] => 857
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.755882
[namelookup_time] => 0.278378
[connect_time] => 0.279953
[pretransfer_time] => 0.504935
[size_upload] => 82
[size_download] => 2755
[speed_download] => 3644
[speed_upload] => 108
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.755846
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.33
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 42330
)
[2025-01-07 07:06:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTE1NjQsImV4cCI6MTczNjI1MTg2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjUxNTY0LCJhdF9oYXNoIjoiTUhrQWtOSGtDS0cxSXl3TGhZeWdsZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.oUyFCKR61FOPO8tMvugdxS6itLyL1ZymrxmY6LpkHD7Zo7UWjcQZz4DOX4QpxHua_Y0ROgHhse0Q4dpLRAveykO3dJGb30ILf71yl1IeIZxQxDBlzcLUUg9mcguaqbC-8_WHpXsxfMpOVsx0dPeUoW0yLxDFpal955639x9EZiW5HG8OHPTsYZDJQ6aL76CSmpu48v0bi3oYPiA9TUyz28J-Ss8auWhTH4VuSTPDwtOLNPKGSUbEJ49YNn4zy25OpTmzmdNetWfBO4PDcQ7BWHjlBL1nDFKMTjG28DKrSWJP5XLpRtYw8tVzPFUdNNSPb4eoeyVBGMn9UxZT02lrYw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTE1NjQsImV4cCI6MTczNjI1MzM2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.aGGsRL6o05G8fU9pDAzCJD5T0UghuzKYvXE9MPj33NqTvUa2lZ5o3cSbTOL10lNzpxaNQkDJpC1FprTRCSrEplECtRcqdUwlinvNzjHONyR3vnJdQUe2h7ldRVsJC2MiEvjFB-KGan_F_1CadPLBLZHUrcs3AQ9KNn7hcGyyfTiyLqzSP2trVkFPdzp5bXPABGUkpz1NlJJPX-d_ez8kHIU2k2f46sA22MwRAeqt9HEr29uX76cGEzYccCfOqTEH5SsbIfmbLeWhJU60m6UViQdZC9H6HSMd-0l83LGI75U4lePRYPKO0EK9z0Y6OI6bbIw9sgvHjIH2yInsHWrWJA
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => U_0EstNEO3915qJA-3TjrXcqJTT4vfrAGGjZiy5EZWU
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 07:06:04] Production.INFO: ==14657== Releasing lock...
[2025-01-07 07:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:06:04] Production.INFO: Date 2024-12-15
[2025-01-07 07:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:06:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTE1NjQsImV4cCI6MTczNjI1MTg2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjUxNTY0LCJhdF9oYXNoIjoiTUhrQWtOSGtDS0cxSXl3TGhZeWdsZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.oUyFCKR61FOPO8tMvugdxS6itLyL1ZymrxmY6LpkHD7Zo7UWjcQZz4DOX4QpxHua_Y0ROgHhse0Q4dpLRAveykO3dJGb30ILf71yl1IeIZxQxDBlzcLUUg9mcguaqbC-8_WHpXsxfMpOVsx0dPeUoW0yLxDFpal955639x9EZiW5HG8OHPTsYZDJQ6aL76CSmpu48v0bi3oYPiA9TUyz28J-Ss8auWhTH4VuSTPDwtOLNPKGSUbEJ49YNn4zy25OpTmzmdNetWfBO4PDcQ7BWHjlBL1nDFKMTjG28DKrSWJP5XLpRtYw8tVzPFUdNNSPb4eoeyVBGMn9UxZT02lrYw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTE1NjQsImV4cCI6MTczNjI1MzM2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.aGGsRL6o05G8fU9pDAzCJD5T0UghuzKYvXE9MPj33NqTvUa2lZ5o3cSbTOL10lNzpxaNQkDJpC1FprTRCSrEplECtRcqdUwlinvNzjHONyR3vnJdQUe2h7ldRVsJC2MiEvjFB-KGan_F_1CadPLBLZHUrcs3AQ9KNn7hcGyyfTiyLqzSP2trVkFPdzp5bXPABGUkpz1NlJJPX-d_ez8kHIU2k2f46sA22MwRAeqt9HEr29uX76cGEzYccCfOqTEH5SsbIfmbLeWhJU60m6UViQdZC9H6HSMd-0l83LGI75U4lePRYPKO0EK9z0Y6OI6bbIw9sgvHjIH2yInsHWrWJA
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => U_0EstNEO3915qJA-3TjrXcqJTT4vfrAGGjZiy5EZWU
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 07:06:04] Production.INFO: Date 2024-12-16
[2025-01-07 07:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:06:04] Production.INFO: AccountID 165
[2025-01-07 07:06:04] Production.INFO: AccountName PharmaSave (Oak Tree Medical)
[2025-01-07 07:06:04] Production.INFO: Checkcustomer
[2025-01-07 07:06:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="PharmaSave%20%28Oak%20Tree%20Medical%29"
[2025-01-07 07:06:04] Production.INFO: Date 2024-12-17
[2025-01-07 07:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:06:04] Production.INFO: Date 2024-12-18
[2025-01-07 07:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:06:04] Production.INFO: Date 2024-12-19
[2025-01-07 07:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:06:04] Production.INFO: Date 2024-12-20
[2025-01-07 07:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:06:04] Production.INFO: Date 2024-12-21
[2025-01-07 07:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:06:04] Production.INFO: Date 2024-12-22
[2025-01-07 07:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:06:04] Production.INFO: Date 2024-12-23
[2025-01-07 07:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:06:04] Production.INFO: Date 2024-12-24
[2025-01-07 07:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:06:04] Production.INFO: Date 2024-12-25
[2025-01-07 07:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:06:04] Production.INFO: Date 2024-12-26
[2025-01-07 07:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:06:04] Production.INFO: Date 2024-12-27
[2025-01-07 07:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:06:04] Production.INFO: Date 2024-12-28
[2025-01-07 07:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:06:04] Production.INFO: Date 2024-12-29
[2025-01-07 07:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:06:04] Production.INFO: Date 2024-12-30
[2025-01-07 07:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:06:04] Production.INFO: Date 2024-12-31
[2025-01-07 07:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:06:04] Production.INFO: Date 2025-01-01
[2025-01-07 07:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:06:04] Production.INFO: Date 2025-01-02
[2025-01-07 07:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:06:04] Production.INFO: Date 2025-01-03
[2025-01-07 07:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:06:04] Production.INFO: Date 2025-01-04
[2025-01-07 07:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:06:05] Production.INFO: Date 2025-01-05
[2025-01-07 07:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:06:05] Production.INFO: Date 2025-01-06
[2025-01-07 07:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:06:05] Production.INFO: Date 2025-01-07
[2025-01-07 07:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:06:05] Production.INFO: Total Charge 0
[2025-01-07 07:06:05] Production.INFO: CreateAllLog End
[2025-01-07 07:06:05] Production.INFO: Account Balance End.
[2025-01-07 07:06:05] Production.ERROR: CronJobId end 12
[2025-01-07 07:06:05] Production.INFO: ==14653== Releasing lock...
[2025-01-07 07:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:06:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:06:05
[end_date_ymd] => 2025-01-07 07:06:05
[RateCDR] => 1
)
[2025-01-07 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-07 04:06:05' and `end` < '2025-01-07 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-07 07:06:07] Production.INFO: Contact id print CheckCustomer Case===dd008964-6378-4903-b54b-a7b8eb03f05f
[2025-01-07 07:06:07] Production.INFO: -- count --1
[2025-01-07 07:06:07] Production.INFO: -- Xero Add Inovice --
[2025-01-07 07:06:07] Production.INFO: CheckInvoice xerov2: INV11277
[2025-01-07 07:06:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11277
[2025-01-07 07:06:09] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 07:06:09] Production.INFO: Invoice SubTotal 32.500000
[2025-01-07 07:06:09] Production.INFO: Invoice DetTotal 32.5
[2025-01-07 07:06:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="PharmaSave%20%28Oak%20Tree%20Medical%29"
[2025-01-07 07:06:12] Production.ERROR: CronJobId end10
[2025-01-07 07:06:12] Production.INFO: ==14651== Releasing lock...
[2025-01-07 07:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:06:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 07:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:06:13] Production.INFO: call_cost start
[2025-01-07 07:06:13] Production.INFO: call_cost end
[2025-01-07 07:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:06:14] Production.INFO: ==14647== Releasing lock...
[2025-01-07 07:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:06:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 07:06:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 07:06:19] Production.INFO: count ==72
[2025-01-07 07:06:19] Production.ERROR: pbx CDR StartTime 2025-01-07 04:06:05 - End Time 2025-01-07 07:06:05
[2025-01-07 07:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193258', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193258', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193258', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193258', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:06:19] Production.INFO: ProcessCDR(1,14193258,1,1,2)
[2025-01-07 07:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193258,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193258,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193258,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:06:20] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Retail Phone Service - 3 Channels Dedicated/Burst to 5 Channels",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (9058521007 - 4B Campbell Drive, Unit 1, Uxbridge, ON L9P1H6)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,"Description": "Discount - Friends and Family (Doug Geary referral)",Quantity : 1,UnitAmount : -45.000000,LineAmount : -45.000000}
[2025-01-07 07:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193258,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193258', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193258', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:06:22] Production.INFO: ==14655== Releasing lock...
[2025-01-07 07:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:06:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 07:06:23] Production.INFO: ==== result =====
[2025-01-07 07:06:23] Production.INFO: {
"Id": "6c56063e-fbcd-46ea-b80b-87ab934e5da1",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736251583634)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "c68671d5-66ce-4cde-8fa2-3f45daeba1c7",
"InvoiceNumber": "INV11277",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 36.73,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"IsDiscounted": false,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "dd008964-6378-4903-b54b-a7b8eb03f05f",
"ContactStatus": "ACTIVE",
"Name": "PharmaSave (Oak Tree Medical)",
"FirstName": "Sameer",
"LastName": "Remtulla",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1666687158210+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-30T00:00:00",
"Date": "\/Date(1735516800000+0000)\/",
"DueDateString": "2025-01-29T00:00:00",
"DueDate": "\/Date(1738108800000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Retail Phone Service - 3 Channels Dedicated/Burst to 5 Channels",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "b8db27a0-a0ff-4b79-bf24-9f832a94065b",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
},
{
"Description": "e911 address registration (9058521007 - 4B Campbell Drive, Unit 1, Uxbridge, ON L9P1H6)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "649fea55-0d00-4f88-b4e2-1d2702115dd2",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
},
{
"Description": "Discount - Friends and Family (Doug Geary referral)",
"UnitAmount": -45.00,
"TaxType": "TAX020",
"TaxAmount": -5.85,
"LineAmount": -45.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "e899c3ef-af30-431a-a0ae-c99ecc58d24d",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"ValidationErrors": []
}
],
"SubTotal": 32.50,
"TotalTax": 4.23,
"Total": 36.73,
"UpdatedDateUTC": "\/Date(1736251583527+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 07:06:23] Production.INFO: -- Create Invoice id --c68671d5-66ce-4cde-8fa2-3f45daeba1c7
[2025-01-07 07:06:23] Production.INFO: -- Create Invoice Done --
[2025-01-07 07:06:23] Production.INFO: -- Xero End Inovice --
[2025-01-07 07:06:23] Production.INFO: ==14644== Releasing lock...
[2025-01-07 07:06:23] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10460 #Stops#
[2025-01-07 07:06:23] Production.INFO: 29.75 MB #Memory Used#
[2025-01-07 12:07:02] Production.INFO: ==14719== Lock acquired, processing the job...
[2025-01-07 12:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:07:02] Production.INFO: neon service started
[2025-01-07 12:07:02] Production.INFO: neon service started
[2025-01-07 12:07:02] Production.INFO: ==14719== Releasing lock...
[2025-01-07 12:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:07:02] Production.INFO: ==14721== Lock acquired, processing the job...
[2025-01-07 07:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 12:07:02] Production.INFO: ==14723== Lock acquired, processing the job...
[2025-01-07 12:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:07:02] Production.INFO: ==14723== Releasing lock...
[2025-01-07 12:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:07:03] Production.INFO: ==14721== Releasing lock...
[2025-01-07 07:07:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:07:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:07:03] Production.INFO: ==14726== Lock acquired, processing the job...
[2025-01-07 07:07:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10461 #Starts#
[2025-01-07 07:07:04] Production.INFO: -- Xero Api Check --
[2025-01-07 07:07:04] Production.INFO: ==14730== Lock acquired, processing the job...
[2025-01-07 07:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:07:04] Production.INFO: ==14728== Lock acquired, processing the job...
[2025-01-07 07:07:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:07:04] Production.INFO: ==14732== Lock acquired, processing the job...
[2025-01-07 07:07:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:07:04] Production.INFO: ==14734== Lock acquired, processing the job...
[2025-01-07 07:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:07:04] Production.INFO: ==14738== Lock acquired, processing the job...
[2025-01-07 07:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:07:04] Production.INFO: ==14736== Lock acquired, processing the job...
[2025-01-07 07:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:07:04] Production.INFO: Account Balance Start.
[2025-01-07 07:07:04] Production.INFO: CreateAllLog Start
[2025-01-07 07:07:04] Production.INFO: 117
[2025-01-07 07:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:07:04] Production.INFO: Date 2024-12-08
[2025-01-07 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-07 07:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:07:04] Production.INFO: count ==21
[2025-01-07 07:07:04] Production.INFO: Date 2024-12-09
[2025-01-07 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-07 07:07:04] Production.INFO: count ==21
[2025-01-07 07:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193262') start
[2025-01-07 07:07:04] Production.INFO: Date 2024-12-10
[2025-01-07 07:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:07:04] Production.INFO: Date 2024-12-11
[2025-01-07 07:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:07:04] Production.INFO: Date 2024-12-12
[2025-01-07 07:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:07:04] Production.INFO: ==14730== Releasing lock...
[2025-01-07 07:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:07:04] Production.INFO: Date 2024-12-13
[2025-01-07 07:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193262') end
[2025-01-07 07:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:07:04] Production.INFO: 1
[2025-01-07 07:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:07:04] Production.ERROR: done
[2025-01-07 07:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:07:04] Production.INFO: Date 2024-12-14
[2025-01-07 07:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:07:04] Production.INFO: ==14738== Releasing lock...
[2025-01-07 07:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:07:04] Production.ERROR: done
[2025-01-07 07:07:04] Production.INFO: Date 2024-12-15
[2025-01-07 07:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:07:04] Production.INFO: Date 2024-12-16
[2025-01-07 07:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:07:05] Production.INFO: Date 2024-12-17
[2025-01-07 07:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:07:05] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 858
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 1.004799
[namelookup_time] => 0.28865
[connect_time] => 0.37851
[pretransfer_time] => 0.781874
[size_upload] => 82
[size_download] => 2755
[speed_download] => 2741
[speed_upload] => 81
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 1.004767
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.72.248.213
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 57782
)
[2025-01-07 07:07:05] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTE2MjQsImV4cCI6MTczNjI1MTkyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjUxNjI0LCJhdF9oYXNoIjoiRWFpd2NXc2FnN2xEdjVNT1lSYTNqUSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.k1q91ShaT-JmQMLFVJZCa0r9fLD7LG1ZTsy8qpVZzfcX0hFaBLFDUUMe3hz41fnwaiS_ihU_LEqWe1htpwa8C5G6zDRaIPQn7UEd7uXQXgcblYJuln9m5NT_c4SZoANfJFAlpe4GxmoLfzC74I8UXN1Y9gx4F66R7dWWnMksT7uBGtPBYPQWGikzn0S9He5FM2BJ1tll_tvQDSc8IhYL2u_XGnw2GThJWmpIjuFk84S287PHkjdvhvviVQcwsVT1LneqBy0f3LL3aU8mx079crmRfVyJq8oQyf-qS7orJ_1Y2zRoRWWJUJS4FtbTKGV92kmEghfuiVSe1tKN2RSshg
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTE2MjQsImV4cCI6MTczNjI1MzQyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.RZVg_5uFLXed5EjNZXgC5Ill9leuJJ7mVInOnitqiiatm9ix9bbbzvev4EgzITx4Nwn9sembIYaagIVDPGq4Hy92OzzlixPY0YduM55piP-UPZN1cUXoi3091GQshyI2f6uZn8xGw977Xj9zbZJM6uebmRqOlZJjaSD2s6k1KbEVtE-mYPtFIN-puZFrqVwRuItllsWuxqytuaPP7LP2C9YYOH_51UpFXmoL0F2bp1aZ6s5B0TNvcRQG1hcRV71gL1JBgfbw6RAZczZnqJrvWRkkMlJFSdGmH_Bu3hX7zbRcTyoLkoxsa69Aa1nRukbQfxUfPM4BjLgpFK-xxicHIQ
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => Zm2JQZmLLlt6M6VOuUmm8d_qLyBBS8j3h3JzIsrGJ2o
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 07:07:05] Production.INFO: Date 2024-12-18
[2025-01-07 07:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:07:05] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTE2MjQsImV4cCI6MTczNjI1MTkyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjUxNjI0LCJhdF9oYXNoIjoiRWFpd2NXc2FnN2xEdjVNT1lSYTNqUSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.k1q91ShaT-JmQMLFVJZCa0r9fLD7LG1ZTsy8qpVZzfcX0hFaBLFDUUMe3hz41fnwaiS_ihU_LEqWe1htpwa8C5G6zDRaIPQn7UEd7uXQXgcblYJuln9m5NT_c4SZoANfJFAlpe4GxmoLfzC74I8UXN1Y9gx4F66R7dWWnMksT7uBGtPBYPQWGikzn0S9He5FM2BJ1tll_tvQDSc8IhYL2u_XGnw2GThJWmpIjuFk84S287PHkjdvhvviVQcwsVT1LneqBy0f3LL3aU8mx079crmRfVyJq8oQyf-qS7orJ_1Y2zRoRWWJUJS4FtbTKGV92kmEghfuiVSe1tKN2RSshg
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTE2MjQsImV4cCI6MTczNjI1MzQyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.RZVg_5uFLXed5EjNZXgC5Ill9leuJJ7mVInOnitqiiatm9ix9bbbzvev4EgzITx4Nwn9sembIYaagIVDPGq4Hy92OzzlixPY0YduM55piP-UPZN1cUXoi3091GQshyI2f6uZn8xGw977Xj9zbZJM6uebmRqOlZJjaSD2s6k1KbEVtE-mYPtFIN-puZFrqVwRuItllsWuxqytuaPP7LP2C9YYOH_51UpFXmoL0F2bp1aZ6s5B0TNvcRQG1hcRV71gL1JBgfbw6RAZczZnqJrvWRkkMlJFSdGmH_Bu3hX7zbRcTyoLkoxsa69Aa1nRukbQfxUfPM4BjLgpFK-xxicHIQ
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => Zm2JQZmLLlt6M6VOuUmm8d_qLyBBS8j3h3JzIsrGJ2o
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 07:07:05] Production.INFO: Date 2024-12-19
[2025-01-07 07:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:07:05] Production.INFO: AccountID 67
[2025-01-07 07:07:05] Production.INFO: AccountName Stars & Maple Tours
[2025-01-07 07:07:05] Production.INFO: Checkcustomer
[2025-01-07 07:07:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Stars%20%26%20Maple%20Tours"
[2025-01-07 07:07:05] Production.INFO: Date 2024-12-20
[2025-01-07 07:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:07:05] Production.INFO: Date 2024-12-21
[2025-01-07 07:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:07:05] Production.INFO: Date 2024-12-22
[2025-01-07 07:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:07:05] Production.INFO: Date 2024-12-23
[2025-01-07 07:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:07:05] Production.INFO: Date 2024-12-24
[2025-01-07 07:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:07:05] Production.INFO: Date 2024-12-25
[2025-01-07 07:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:07:05] Production.INFO: Date 2024-12-26
[2025-01-07 07:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:07:05] Production.INFO: Date 2024-12-27
[2025-01-07 07:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:07:05] Production.INFO: Date 2024-12-28
[2025-01-07 07:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:07:05] Production.INFO: Date 2024-12-29
[2025-01-07 07:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:07:05] Production.INFO: Date 2024-12-30
[2025-01-07 07:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:07:05] Production.INFO: Date 2024-12-31
[2025-01-07 07:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:07:05] Production.INFO: Date 2025-01-01
[2025-01-07 07:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:07:05] Production.INFO: Date 2025-01-02
[2025-01-07 07:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:07:05] Production.INFO: Date 2025-01-03
[2025-01-07 07:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:07:05] Production.INFO: Date 2025-01-04
[2025-01-07 07:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:07:05] Production.INFO: Date 2025-01-05
[2025-01-07 07:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:07:05] Production.INFO: Date 2025-01-06
[2025-01-07 07:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:07:05] Production.INFO: Date 2025-01-07
[2025-01-07 07:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:07:05] Production.INFO: Total Charge 0
[2025-01-07 07:07:05] Production.INFO: CreateAllLog End
[2025-01-07 07:07:05] Production.INFO: Account Balance End.
[2025-01-07 07:07:06] Production.ERROR: CronJobId end 12
[2025-01-07 07:07:06] Production.INFO: ==14734== Releasing lock...
[2025-01-07 07:07:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:07:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:07:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:07:06
[end_date_ymd] => 2025-01-07 07:07:06
[RateCDR] => 1
)
[2025-01-07 07:07:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 04:07:06' and `end` < '2025-01-07 07:07:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 07:07:07] Production.INFO: Contact id print CheckCustomer Case===42f3da1b-13b4-4bab-b989-2a74b97947bd
[2025-01-07 07:07:07] Production.INFO: -- count --1
[2025-01-07 07:07:07] Production.INFO: -- Xero Add Inovice --
[2025-01-07 07:07:07] Production.INFO: CheckInvoice xerov2: INV11241
[2025-01-07 07:07:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11241
[2025-01-07 07:07:10] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 07:07:10] Production.INFO: Invoice SubTotal 32.000000
[2025-01-07 07:07:10] Production.INFO: Invoice DetTotal 32
[2025-01-07 07:07:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Stars%20%26%20Maple%20Tours"
[2025-01-07 07:07:11] Production.ERROR: CronJobId end10
[2025-01-07 07:07:11] Production.INFO: ==14732== Releasing lock...
[2025-01-07 07:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:07:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 07:07:13] Production.INFO: call_cost start
[2025-01-07 07:07:13] Production.INFO: call_cost end
[2025-01-07 07:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:07:14] Production.INFO: ==14728== Releasing lock...
[2025-01-07 07:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:07:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 07:07:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 07:07:21] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension",Quantity : 5,UnitAmount : 5.000000,LineAmount : 25.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (611800431330) - Australia Toll Free",Quantity : 1,UnitAmount : 12.000000,LineAmount : 12.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18772928528) - North America Toll Free",Quantity : 1,UnitAmount : 5.000000,LineAmount : 5.000000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Loyalty discount - $10/month - No expiry (XR)",Quantity : 1,UnitAmount : -10.000000,LineAmount : -10.000000}
[2025-01-07 07:07:21] Production.INFO: count ==72
[2025-01-07 07:07:21] Production.ERROR: pbx CDR StartTime 2025-01-07 04:07:06 - End Time 2025-01-07 07:07:06
[2025-01-07 07:07:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:07:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193263', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:07:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193263', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:07:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193263', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:07:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193263', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:07:21] Production.INFO: ProcessCDR(1,14193263,1,1,2)
[2025-01-07 07:07:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193263,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:07:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193263,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:07:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193263,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:07:24] Production.INFO: ==== result =====
[2025-01-07 07:07:24] Production.INFO: {
"Id": "239a9e67-67c5-448a-b6fb-81c309ae208f",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736251643959)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "c32711cf-0d5e-45f9-8983-441184db60e6",
"InvoiceNumber": "INV11241",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 36.16,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "42f3da1b-13b4-4bab-b989-2a74b97947bd",
"ContactStatus": "ACTIVE",
"Name": "Stars & Maple Tours",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1533070471157+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-19T00:00:00",
"Date": "\/Date(1734566400000+0000)\/",
"DueDateString": "2025-01-18T00:00:00",
"DueDate": "\/Date(1737158400000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "License for an Unlimited Canada/US Cloud Phone extension",
"UnitAmount": 5.00,
"TaxType": "TAX020",
"TaxAmount": 3.25,
"LineAmount": 25.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 5.0000,
"DiscountRate": 0.00,
"LineItemID": "0f2ec97b-af4e-48c4-beb0-f82de2665662",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (611800431330) - Australia Toll Free",
"UnitAmount": 12.00,
"TaxType": "TAX020",
"TaxAmount": 1.56,
"LineAmount": 12.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "539b1fa6-ad68-4ab4-9a11-1baa234c26fa",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (18772928528) - North America Toll Free",
"UnitAmount": 5.00,
"TaxType": "TAX020",
"TaxAmount": 0.65,
"LineAmount": 5.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "3d96be74-d86a-4fff-9456-a02d36f4b7b6",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Loyalty discount - $10/month - No expiry (XR)",
"UnitAmount": -10.00,
"TaxType": "TAX020",
"TaxAmount": -1.30,
"LineAmount": -10.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "6896098a-c409-4141-9f20-23df84a2b37b",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 32.00,
"TotalTax": 4.16,
"Total": 36.16,
"UpdatedDateUTC": "\/Date(1736251643913+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 07:07:24] Production.INFO: -- Create Invoice id --c32711cf-0d5e-45f9-8983-441184db60e6
[2025-01-07 07:07:24] Production.INFO: -- Create Invoice Done --
[2025-01-07 07:07:24] Production.INFO: -- Xero End Inovice --
[2025-01-07 07:07:24] Production.INFO: ==14726== Releasing lock...
[2025-01-07 07:07:24] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10461 #Stops#
[2025-01-07 07:07:24] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 07:07:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193263,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:07:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193263', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:07:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193263', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:07:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:07:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:07:24] Production.INFO: ==14736== Releasing lock...
[2025-01-07 07:07:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:07:24] Production.INFO: 28 MB #Memory Used#
[2025-01-07 12:08:01] Production.INFO: ==14916== Lock acquired, processing the job...
[2025-01-07 12:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:08:01] Production.INFO: neon service started
[2025-01-07 12:08:01] Production.INFO: neon service started
[2025-01-07 12:08:01] Production.INFO: ==14916== Releasing lock...
[2025-01-07 12:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:08:01] Production.INFO: ==14918== Lock acquired, processing the job...
[2025-01-07 07:08:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:08:02] Production.INFO: ==14918== Releasing lock...
[2025-01-07 07:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:08:02] Production.INFO: ==14920== Lock acquired, processing the job...
[2025-01-07 12:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:08:02] Production.INFO: ==14920== Releasing lock...
[2025-01-07 12:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:08:03] Production.INFO: ==14930== Lock acquired, processing the job...
[2025-01-07 07:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:08:03] Production.INFO: ==14932== Lock acquired, processing the job...
[2025-01-07 07:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:08:03] Production.INFO: ==14922== Lock acquired, processing the job...
[2025-01-07 07:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:08:03] Production.INFO: ==14924== Lock acquired, processing the job...
[2025-01-07 07:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:08:03] Production.INFO: ==14928== Lock acquired, processing the job...
[2025-01-07 07:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:08:03] Production.INFO: ==14926== Lock acquired, processing the job...
[2025-01-07 07:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:08:03] Production.INFO: Account Balance Start.
[2025-01-07 07:08:03] Production.INFO: CreateAllLog Start
[2025-01-07 07:08:03] Production.INFO: 117
[2025-01-07 07:08:03] Production.INFO: count ==21
[2025-01-07 07:08:03] Production.INFO: Date 2024-12-08
[2025-01-07 07:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:08:03] Production.INFO: count ==21
[2025-01-07 07:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193265') start
[2025-01-07 07:08:03] Production.INFO: Date 2024-12-09
[2025-01-07 07:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193265') end
[2025-01-07 07:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:08:03] Production.INFO: 1
[2025-01-07 07:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:08:03] Production.ERROR: done
[2025-01-07 07:08:03] Production.INFO: Date 2024-12-10
[2025-01-07 07:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:08:03] Production.INFO: Date 2024-12-11
[2025-01-07 07:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:08:03] Production.INFO: ==14932== Releasing lock...
[2025-01-07 07:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:08:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:08:03] Production.INFO: ==14924== Releasing lock...
[2025-01-07 07:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:08:03] Production.INFO: Date 2024-12-12
[2025-01-07 07:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:08:03] Production.INFO: Date 2024-12-13
[2025-01-07 07:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:08:03] Production.INFO: Date 2024-12-14
[2025-01-07 07:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:08:03] Production.ERROR: done
[2025-01-07 07:08:03] Production.INFO: Date 2024-12-15
[2025-01-07 07:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:08:03] Production.INFO: Date 2024-12-16
[2025-01-07 07:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:08:03] Production.INFO: Date 2024-12-17
[2025-01-07 07:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:08:04] Production.INFO: Date 2024-12-18
[2025-01-07 07:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:08:04] Production.INFO: Date 2024-12-19
[2025-01-07 07:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:08:04] Production.INFO: Date 2024-12-20
[2025-01-07 07:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:08:04] Production.INFO: Date 2024-12-21
[2025-01-07 07:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:08:04] Production.INFO: Date 2024-12-22
[2025-01-07 07:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:08:04] Production.INFO: Date 2024-12-23
[2025-01-07 07:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:08:04] Production.INFO: Date 2024-12-24
[2025-01-07 07:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:08:04] Production.INFO: Date 2024-12-25
[2025-01-07 07:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:08:04] Production.INFO: Date 2024-12-26
[2025-01-07 07:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:08:04] Production.INFO: Date 2024-12-27
[2025-01-07 07:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:08:04] Production.INFO: Date 2024-12-28
[2025-01-07 07:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:08:04] Production.INFO: Date 2024-12-29
[2025-01-07 07:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:08:04] Production.INFO: Date 2024-12-30
[2025-01-07 07:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:08:04] Production.INFO: Date 2024-12-31
[2025-01-07 07:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:08:04] Production.INFO: Date 2025-01-01
[2025-01-07 07:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:08:04] Production.INFO: Date 2025-01-02
[2025-01-07 07:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:08:04] Production.INFO: Date 2025-01-03
[2025-01-07 07:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:08:04] Production.INFO: Date 2025-01-04
[2025-01-07 07:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:08:04] Production.INFO: Date 2025-01-05
[2025-01-07 07:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:08:04] Production.INFO: Date 2025-01-06
[2025-01-07 07:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:08:04] Production.INFO: Date 2025-01-07
[2025-01-07 07:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:08:04] Production.INFO: Total Charge 0
[2025-01-07 07:08:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:08:04
[end_date_ymd] => 2025-01-07 07:08:04
[RateCDR] => 1
)
[2025-01-07 07: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-07 04:08:04' and `end` < '2025-01-07 07: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-07 07:08:04] Production.INFO: CreateAllLog End
[2025-01-07 07:08:04] Production.INFO: Account Balance End.
[2025-01-07 07:08:04] Production.ERROR: CronJobId end 12
[2025-01-07 07:08:04] Production.INFO: ==14928== Releasing lock...
[2025-01-07 07:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:08:11] Production.ERROR: CronJobId end10
[2025-01-07 07:08:11] Production.INFO: ==14926== Releasing lock...
[2025-01-07 07:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:08:13] Production.INFO: call_cost start
[2025-01-07 07:08:13] Production.INFO: call_cost end
[2025-01-07 07:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:08:14] Production.INFO: ==14922== Releasing lock...
[2025-01-07 07:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:08:18] Production.INFO: count ==72
[2025-01-07 07:08:18] Production.ERROR: pbx CDR StartTime 2025-01-07 04:08:04 - End Time 2025-01-07 07:08:04
[2025-01-07 07:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193268', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193268', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193268', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193268', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:08:18] Production.INFO: ProcessCDR(1,14193268,1,1,2)
[2025-01-07 07:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193268,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193268,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193268,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193268,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193268', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193268', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:08:21] Production.INFO: ==14930== Releasing lock...
[2025-01-07 07:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:08:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 12:09:02] Production.INFO: ==14986== Lock acquired, processing the job...
[2025-01-07 12:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:09:02] Production.INFO: neon service started
[2025-01-07 12:09:02] Production.INFO: neon service started
[2025-01-07 12:09:02] Production.INFO: ==14986== Releasing lock...
[2025-01-07 12:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:09:02] Production.INFO: ==14988== Lock acquired, processing the job...
[2025-01-07 07:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 12:09:02] Production.INFO: ==14990== Lock acquired, processing the job...
[2025-01-07 12:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:09:03] Production.INFO: ==14990== Releasing lock...
[2025-01-07 12:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:09:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:09:03] Production.INFO: ==14988== Releasing lock...
[2025-01-07 07:09:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:09:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:09:03] Production.INFO: ==14993== Lock acquired, processing the job...
[2025-01-07 07:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:09:04] Production.INFO: ==15001== Lock acquired, processing the job...
[2025-01-07 07:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:09:04] Production.INFO: ==14995== Lock acquired, processing the job...
[2025-01-07 07:09:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:09:04] Production.INFO: ==14997== Lock acquired, processing the job...
[2025-01-07 07:09:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:09:04] Production.INFO: ==14999== Lock acquired, processing the job...
[2025-01-07 07:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:09:04] Production.INFO: ==15003== Lock acquired, processing the job...
[2025-01-07 07:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:09:04] Production.INFO: Account Balance Start.
[2025-01-07 07:09:04] Production.INFO: CreateAllLog Start
[2025-01-07 07:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:09:04] Production.INFO: 117
[2025-01-07 07:09:04] Production.INFO: Date 2024-12-08
[2025-01-07 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-07 07:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:09:04] Production.INFO: Date 2024-12-09
[2025-01-07 07:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:09:04] Production.INFO: Date 2024-12-10
[2025-01-07 07:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:09:04] Production.INFO: count ==21
[2025-01-07 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-07 07:09:04] Production.INFO: Date 2024-12-11
[2025-01-07 07:09:04] Production.INFO: count ==21
[2025-01-07 07:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193272') start
[2025-01-07 07:09:04] Production.INFO: Date 2024-12-12
[2025-01-07 07:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:09:04] Production.INFO: ==14995== Releasing lock...
[2025-01-07 07:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:09:04] Production.INFO: Date 2024-12-13
[2025-01-07 07:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:09:04] Production.ERROR: done
[2025-01-07 07:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193272') end
[2025-01-07 07:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:09:04] Production.INFO: 1
[2025-01-07 07:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:09:04] Production.INFO: Date 2024-12-14
[2025-01-07 07:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:09:04] Production.INFO: Date 2024-12-15
[2025-01-07 07:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:09:04] Production.INFO: Date 2024-12-16
[2025-01-07 07:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:09:04] Production.INFO: ==15003== Releasing lock...
[2025-01-07 07:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:09:04] Production.INFO: Date 2024-12-17
[2025-01-07 07:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:09:04] Production.ERROR: done
[2025-01-07 07:09:04] Production.INFO: Date 2024-12-18
[2025-01-07 07:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:09:05] Production.INFO: Date 2024-12-19
[2025-01-07 07:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:09:05] Production.INFO: Date 2024-12-20
[2025-01-07 07:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:09:05] Production.INFO: Date 2024-12-21
[2025-01-07 07:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:09:05] Production.INFO: Date 2024-12-22
[2025-01-07 07:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:09:05] Production.INFO: Date 2024-12-23
[2025-01-07 07:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:09:05] Production.INFO: Date 2024-12-24
[2025-01-07 07:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:09:05] Production.INFO: Date 2024-12-25
[2025-01-07 07:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:09:05] Production.INFO: Date 2024-12-26
[2025-01-07 07:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:09:05] Production.INFO: Date 2024-12-27
[2025-01-07 07:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:09:05] Production.INFO: Date 2024-12-28
[2025-01-07 07:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:09:05] Production.INFO: Date 2024-12-29
[2025-01-07 07:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:09:05] Production.INFO: Date 2024-12-30
[2025-01-07 07:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:09:05] Production.INFO: Date 2024-12-31
[2025-01-07 07:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:09:05] Production.INFO: Date 2025-01-01
[2025-01-07 07:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:09:05] Production.INFO: Date 2025-01-02
[2025-01-07 07:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:09:05] Production.INFO: Date 2025-01-03
[2025-01-07 07:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:09:05] Production.INFO: Date 2025-01-04
[2025-01-07 07:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:09:05] Production.INFO: Date 2025-01-05
[2025-01-07 07:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:09:05] Production.INFO: Date 2025-01-06
[2025-01-07 07:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:09:05] Production.INFO: Date 2025-01-07
[2025-01-07 07:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:09:05] Production.INFO: Total Charge 0
[2025-01-07 07:09:05] Production.INFO: CreateAllLog End
[2025-01-07 07:09:05] Production.INFO: Account Balance End.
[2025-01-07 07:09:05] Production.ERROR: CronJobId end 12
[2025-01-07 07:09:05] Production.INFO: ==14999== Releasing lock...
[2025-01-07 07:09:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:09:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:09:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:09:06
[end_date_ymd] => 2025-01-07 07:09:06
[RateCDR] => 1
)
[2025-01-07 07:09:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 04:09:06' and `end` < '2025-01-07 07:09:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 07:09:11] Production.ERROR: CronJobId end10
[2025-01-07 07:09:11] Production.INFO: ==14997== Releasing lock...
[2025-01-07 07:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:09:14] Production.INFO: call_cost start
[2025-01-07 07:09:14] Production.INFO: call_cost end
[2025-01-07 07:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:09:14] Production.INFO: ==14993== Releasing lock...
[2025-01-07 07:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:09:21] Production.INFO: count ==72
[2025-01-07 07:09:21] Production.ERROR: pbx CDR StartTime 2025-01-07 04:09:06 - End Time 2025-01-07 07:09:06
[2025-01-07 07:09:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193273', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193273', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193273', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193273', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:09:21] Production.INFO: ProcessCDR(1,14193273,1,1,2)
[2025-01-07 07:09:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193273,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:09:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193273,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:09:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193273,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:09:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193273,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:09:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193273', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:09:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193273', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:09:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:09:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:09:24] Production.INFO: ==15001== Releasing lock...
[2025-01-07 07:09:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:09:24] Production.INFO: 28 MB #Memory Used#
[2025-01-07 12:10:01] Production.INFO: ==15060== Lock acquired, processing the job...
[2025-01-07 12:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:10:01] Production.INFO: neon service started
[2025-01-07 12:10:01] Production.INFO: neon service started
[2025-01-07 12:10:01] Production.INFO: ==15060== Releasing lock...
[2025-01-07 12:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 12:10:02] Production.INFO: ==15064== Lock acquired, processing the job...
[2025-01-07 12:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:10:02] Production.INFO: ==15064== Releasing lock...
[2025-01-07 12:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:10:02] Production.INFO: ==15062== Lock acquired, processing the job...
[2025-01-07 07:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:10:02] Production.INFO: ==15062== Releasing lock...
[2025-01-07 07:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:10:03] Production.INFO: ==15067== Lock acquired, processing the job...
[2025-01-07 07:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 07:10:03] Production.INFO: ==15069== Lock acquired, processing the job...
[2025-01-07 07:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 07:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 07:10:03] Production.INFO: ==15067== Releasing lock...
[2025-01-07 07:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 07:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 07:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:10:04] Production.INFO: ==15077== Lock acquired, processing the job...
[2025-01-07 07:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:10:04] Production.INFO: ==15071== Lock acquired, processing the job...
[2025-01-07 07:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:10:04] Production.INFO: ==15073== Lock acquired, processing the job...
[2025-01-07 07:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:10:04] Production.INFO: ==15081== Lock acquired, processing the job...
[2025-01-07 07:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:10:04] Production.INFO: ==15075== Lock acquired, processing the job...
[2025-01-07 07:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:10:04] Production.INFO: ==15079== Lock acquired, processing the job...
[2025-01-07 07:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 07:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:10:04] Production.INFO: count ==21
[2025-01-07 07:10:04] Production.ERROR: done
[2025-01-07 07:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:10:04] Production.INFO: Account Balance Start.
[2025-01-07 07:10:04] Production.INFO: CreateAllLog Start
[2025-01-07 07:10:04] Production.INFO: 117
[2025-01-07 07:10:04] Production.INFO: ==15071== Releasing lock...
[2025-01-07 07:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:10:04] Production.INFO: count ==21
[2025-01-07 07:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193276') start
[2025-01-07 07:10:04] Production.INFO: Date 2024-12-08
[2025-01-07 07:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:10:04] Production.ERROR: done
[2025-01-07 07:10:04] Production.ERROR: done
[2025-01-07 07:10:04] Production.INFO: Date 2024-12-09
[2025-01-07 07:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193276') end
[2025-01-07 07:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:10:04] Production.INFO: 1
[2025-01-07 07:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:10:04] Production.INFO: ==15081== Releasing lock...
[2025-01-07 07:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 07:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14193278', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 07:10:04] Production.INFO: Date 2024-12-10
[2025-01-07 07:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:10:05] Production.INFO: Date 2024-12-11
[2025-01-07 07:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:10:05] Production.INFO: Date 2024-12-12
[2025-01-07 07:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:10:05] Production.INFO: Date 2024-12-13
[2025-01-07 07:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:10:05] Production.INFO: Date 2024-12-14
[2025-01-07 07:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:10:05] Production.INFO: Date 2024-12-15
[2025-01-07 07:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:10:05] Production.INFO: Date 2024-12-16
[2025-01-07 07:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:10:05] Production.INFO: Date 2024-12-17
[2025-01-07 07:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:10:05] Production.INFO: Date 2024-12-18
[2025-01-07 07:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:10:05] Production.INFO: Date 2024-12-19
[2025-01-07 07:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:10:05] Production.INFO: Date 2024-12-20
[2025-01-07 07:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:10:05] Production.INFO: Date 2024-12-21
[2025-01-07 07:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:10:05] Production.INFO: Date 2024-12-22
[2025-01-07 07:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:10:05] Production.INFO: Date 2024-12-23
[2025-01-07 07:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:10:05] Production.INFO: Date 2024-12-24
[2025-01-07 07:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:10:05] Production.INFO: Date 2024-12-25
[2025-01-07 07:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:10:05] Production.INFO: Date 2024-12-26
[2025-01-07 07:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:10:05] Production.INFO: Date 2024-12-27
[2025-01-07 07:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:10:05] Production.INFO: Date 2024-12-28
[2025-01-07 07:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:10:05] Production.INFO: Date 2024-12-29
[2025-01-07 07:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:10:05] Production.INFO: Date 2024-12-30
[2025-01-07 07:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:10:05] Production.INFO: Date 2024-12-31
[2025-01-07 07:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:10:05] Production.INFO: Date 2025-01-01
[2025-01-07 07:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:10:05] Production.INFO: Date 2025-01-02
[2025-01-07 07:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:10:05] Production.INFO: Date 2025-01-03
[2025-01-07 07:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:10:05] Production.INFO: Date 2025-01-04
[2025-01-07 07:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:10:05] Production.INFO: Date 2025-01-05
[2025-01-07 07:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:10:06] Production.INFO: Date 2025-01-06
[2025-01-07 07:10:06] Production.INFO: Reseller ==> 0
[2025-01-07 07:10:06] Production.INFO: Date 2025-01-07
[2025-01-07 07:10:06] Production.INFO: Reseller ==> 0
[2025-01-07 07:10:06] Production.INFO: Total Charge 0
[2025-01-07 07:10:06] Production.INFO: CreateAllLog End
[2025-01-07 07:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:10:06
[end_date_ymd] => 2025-01-07 07:10:06
[RateCDR] => 1
)
[2025-01-07 07:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 04:10:06' and `end` < '2025-01-07 07:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 07:10:06] Production.INFO: Account Balance End.
[2025-01-07 07:10:06] Production.ERROR: CronJobId end 12
[2025-01-07 07:10:06] Production.INFO: ==15075== Releasing lock...
[2025-01-07 07:10:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:10:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14193278', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 07:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 07:10:09] Production.INFO: ProcessCDR(1,14193278,1,1,2)
[2025-01-07 07:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14193278,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14193278,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:10:09] Production.INFO: ==15079== Releasing lock...
[2025-01-07 07:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 07:10:09] Production.INFO: 26 MB #Memory Used#
[2025-01-07 07:10:13] Production.ERROR: CronJobId end10
[2025-01-07 07:10:13] Production.INFO: ==15073== Releasing lock...
[2025-01-07 07:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:10:15] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:10:15] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:10:15] Production.INFO: call_cost start
[2025-01-07 07:10:15] Production.INFO: call_cost end
[2025-01-07 07:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:10:16] Production.INFO: ==15069== Releasing lock...
[2025-01-07 07:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:10:21] Production.INFO: count ==72
[2025-01-07 07:10:21] Production.ERROR: pbx CDR StartTime 2025-01-07 04:10:06 - End Time 2025-01-07 07:10:06
[2025-01-07 07:10:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:10:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193279', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:10:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193279', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:10:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193279', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:10:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193279', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:10:21] Production.INFO: ProcessCDR(1,14193279,1,1,2)
[2025-01-07 07:10:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193279,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:10:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193279,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:10:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193279,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:10:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193279,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:10:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193279', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:10:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193279', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:10:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:10:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:10:24] Production.INFO: ==15077== Releasing lock...
[2025-01-07 07:10:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:10:24] Production.INFO: 28 MB #Memory Used#
[2025-01-07 12:11:01] Production.INFO: ==15136== Lock acquired, processing the job...
[2025-01-07 12:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:11:01] Production.INFO: neon service started
[2025-01-07 12:11:01] Production.INFO: neon service started
[2025-01-07 12:11:01] Production.INFO: ==15136== Releasing lock...
[2025-01-07 12:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:11:01] Production.INFO: ==15138== Lock acquired, processing the job...
[2025-01-07 07:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:11:01] Production.INFO: ==15138== Releasing lock...
[2025-01-07 07:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:11:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:11:02] Production.INFO: ==15140== Lock acquired, processing the job...
[2025-01-07 12:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:11:02] Production.INFO: ==15140== Releasing lock...
[2025-01-07 12:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:11:02] Production.INFO: ==15150== Lock acquired, processing the job...
[2025-01-07 07:11:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:11:02] Production.INFO: ==15146== Lock acquired, processing the job...
[2025-01-07 07:11:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:11:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:11:02] Production.INFO: ==15144== Lock acquired, processing the job...
[2025-01-07 07:11:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:11:02] Production.INFO: ==15142== Lock acquired, processing the job...
[2025-01-07 07:11:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:11:02] Production.INFO: ==15148== Lock acquired, processing the job...
[2025-01-07 07:11:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:11:03] Production.INFO: ==15152== Lock acquired, processing the job...
[2025-01-07 07:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:11:03] Production.ERROR: done
[2025-01-07 07:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:11:03] Production.INFO: Account Balance Start.
[2025-01-07 07:11:03] Production.INFO: CreateAllLog Start
[2025-01-07 07:11:03] Production.INFO: 117
[2025-01-07 07:11:03] Production.INFO: Date 2024-12-08
[2025-01-07 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-07 07:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:11:03] Production.INFO: Date 2024-12-09
[2025-01-07 07:11:03] Production.INFO: count ==21
[2025-01-07 07:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:11:03] Production.ERROR: done
[2025-01-07 07:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:11:03] Production.INFO: count ==21
[2025-01-07 07:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193283') start
[2025-01-07 07:11:03] Production.INFO: Date 2024-12-10
[2025-01-07 07:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:11:03] Production.INFO: ==15144== Releasing lock...
[2025-01-07 07:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:11:03] Production.INFO: Date 2024-12-11
[2025-01-07 07:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:11:03] Production.INFO: Date 2024-12-12
[2025-01-07 07:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193283') end
[2025-01-07 07:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:11:03] Production.INFO: 1
[2025-01-07 07:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:11:03] Production.INFO: ==15152== Releasing lock...
[2025-01-07 07:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:11:03] Production.INFO: Date 2024-12-13
[2025-01-07 07:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:11:03] Production.INFO: Date 2024-12-14
[2025-01-07 07:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:11:03] Production.INFO: Date 2024-12-15
[2025-01-07 07:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:11:03] Production.INFO: Date 2024-12-16
[2025-01-07 07:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:11:03] Production.INFO: Date 2024-12-17
[2025-01-07 07:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:11:03] Production.INFO: Date 2024-12-18
[2025-01-07 07:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:11:03] Production.INFO: Date 2024-12-19
[2025-01-07 07:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:11:03] Production.INFO: Date 2024-12-20
[2025-01-07 07:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:11:03] Production.INFO: Date 2024-12-21
[2025-01-07 07:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:11:03] Production.INFO: Date 2024-12-22
[2025-01-07 07:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:11:03] Production.INFO: Date 2024-12-23
[2025-01-07 07:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:11:03] Production.INFO: Date 2024-12-24
[2025-01-07 07:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:11:03] Production.INFO: Date 2024-12-25
[2025-01-07 07:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:11:03] Production.INFO: Date 2024-12-26
[2025-01-07 07:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:11:03] Production.INFO: Date 2024-12-27
[2025-01-07 07:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:11:03] Production.INFO: Date 2024-12-28
[2025-01-07 07:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:11:03] Production.INFO: Date 2024-12-29
[2025-01-07 07:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:11:03] Production.INFO: Date 2024-12-30
[2025-01-07 07:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:11:03] Production.INFO: Date 2024-12-31
[2025-01-07 07:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:11:03] Production.INFO: Date 2025-01-01
[2025-01-07 07:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:11:03] Production.INFO: Date 2025-01-02
[2025-01-07 07:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:11:04] Production.INFO: Date 2025-01-03
[2025-01-07 07:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:11:04] Production.INFO: Date 2025-01-04
[2025-01-07 07:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:11:04] Production.INFO: Date 2025-01-05
[2025-01-07 07:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:11:04] Production.INFO: Date 2025-01-06
[2025-01-07 07:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:11:04] Production.INFO: Date 2025-01-07
[2025-01-07 07:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:11:04] Production.INFO: Total Charge 0
[2025-01-07 07:11:04] Production.INFO: CreateAllLog End
[2025-01-07 07:11:04] Production.INFO: Account Balance End.
[2025-01-07 07:11:04] Production.ERROR: CronJobId end 12
[2025-01-07 07:11:04] Production.INFO: ==15148== Releasing lock...
[2025-01-07 07:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:11:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:11:04
[end_date_ymd] => 2025-01-07 07:11:04
[RateCDR] => 1
)
[2025-01-07 07:11:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 04:11:04' and `end` < '2025-01-07 07:11:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 07:11:10] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:362
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(362): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_update...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(363): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#4 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->statement()
#5 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::getOutstandingAmount()
#6 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_updateSOAOffSet(1,0))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(363): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#2 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->statement()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::getOutstandingAmount()
#4 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#7 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 {main}
[2025-01-07 07:11:10] Production.ERROR: CronJobId end10
[2025-01-07 07:11:10] Production.INFO: ==15146== Releasing lock...
[2025-01-07 07:11:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:11:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:11:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:11:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:11:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:11:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:11:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:11:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:11:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:11:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:11:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:11:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:11:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:11:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:11:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:11:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:11:13] Production.INFO: call_cost start
[2025-01-07 07:11:13] Production.INFO: call_cost end
[2025-01-07 07:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:11:14] Production.INFO: ==15142== Releasing lock...
[2025-01-07 07:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:11:20] Production.INFO: count ==72
[2025-01-07 07:11:20] Production.ERROR: pbx CDR StartTime 2025-01-07 04:11:04 - End Time 2025-01-07 07:11:04
[2025-01-07 07:11:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193284', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193284', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193284', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193284', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:11:20] Production.INFO: ProcessCDR(1,14193284,1,1,2)
[2025-01-07 07:11:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193284,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:11:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193284,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:11:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193284,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:11:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193284,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193284', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193284', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:11:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:11:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:11:23] Production.INFO: ==15150== Releasing lock...
[2025-01-07 07:11:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:11:23] Production.INFO: 28 MB #Memory Used#
[2025-01-07 12:12:01] Production.INFO: ==15284== Lock acquired, processing the job...
[2025-01-07 12:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:12:01] Production.INFO: neon service started
[2025-01-07 12:12:01] Production.INFO: neon service started
[2025-01-07 12:12:01] Production.INFO: ==15284== Releasing lock...
[2025-01-07 12:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 12:12:02] Production.INFO: ==15288== Lock acquired, processing the job...
[2025-01-07 12:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:12:02] Production.INFO: ==15288== Releasing lock...
[2025-01-07 12:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:12:02] Production.INFO: ==15286== Lock acquired, processing the job...
[2025-01-07 07:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:12:02] Production.INFO: ==15286== Releasing lock...
[2025-01-07 07:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:12:03] Production.INFO: ==15290== Lock acquired, processing the job...
[2025-01-07 07:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:12:03] Production.INFO: ==15292== Lock acquired, processing the job...
[2025-01-07 07:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:12:03] Production.INFO: ==15294== Lock acquired, processing the job...
[2025-01-07 07:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:12:03] Production.INFO: ==15296== Lock acquired, processing the job...
[2025-01-07 07:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:12:03] Production.INFO: ==15299== Lock acquired, processing the job...
[2025-01-07 07:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:12:03] Production.INFO: Account Balance Start.
[2025-01-07 07:12:03] Production.INFO: CreateAllLog Start
[2025-01-07 07:12:03] Production.INFO: 117
[2025-01-07 07:12:03] Production.INFO: Date 2024-12-08
[2025-01-07 07:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:12:03] Production.INFO: ==15301== Lock acquired, processing the job...
[2025-01-07 07:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:12:03] Production.INFO: ==15292== Releasing lock...
[2025-01-07 07:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:12:03] Production.INFO: Date 2024-12-09
[2025-01-07 07:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:12:04] Production.INFO: Date 2024-12-10
[2025-01-07 07:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:12:04] Production.INFO: count ==21
[2025-01-07 07:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:12:04] Production.INFO: count ==21
[2025-01-07 07:12:04] Production.ERROR: done
[2025-01-07 07:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:12:04] Production.INFO: Date 2024-12-11
[2025-01-07 07:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193288') start
[2025-01-07 07:12:04] Production.INFO: Date 2024-12-12
[2025-01-07 07:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:12:04] Production.INFO: Date 2024-12-13
[2025-01-07 07:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:12:04] Production.INFO: Date 2024-12-14
[2025-01-07 07:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193288') end
[2025-01-07 07:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:12:04] Production.INFO: 1
[2025-01-07 07:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:12:04] Production.INFO: Date 2024-12-15
[2025-01-07 07:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:12:04] Production.INFO: ==15301== Releasing lock...
[2025-01-07 07:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:12:04] Production.ERROR: done
[2025-01-07 07:12:04] Production.INFO: Date 2024-12-16
[2025-01-07 07:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:12:04] Production.INFO: Date 2024-12-17
[2025-01-07 07:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:12:04] Production.INFO: Date 2024-12-18
[2025-01-07 07:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:12:04] Production.INFO: Date 2024-12-19
[2025-01-07 07:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:12:04] Production.INFO: Date 2024-12-20
[2025-01-07 07:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:12:04] Production.INFO: Date 2024-12-21
[2025-01-07 07:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:12:04] Production.INFO: Date 2024-12-22
[2025-01-07 07:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:12:04] Production.INFO: Date 2024-12-23
[2025-01-07 07:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:12:04] Production.INFO: Date 2024-12-24
[2025-01-07 07:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:12:04] Production.INFO: Date 2024-12-25
[2025-01-07 07:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:12:04] Production.INFO: Date 2024-12-26
[2025-01-07 07:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:12:04] Production.INFO: Date 2024-12-27
[2025-01-07 07:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:12:04] Production.INFO: Date 2024-12-28
[2025-01-07 07:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:12:04] Production.INFO: Date 2024-12-29
[2025-01-07 07:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:12:04] Production.INFO: Date 2024-12-30
[2025-01-07 07:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:12:04] Production.INFO: Date 2024-12-31
[2025-01-07 07:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:12:04] Production.INFO: Date 2025-01-01
[2025-01-07 07:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:12:04] Production.INFO: Date 2025-01-02
[2025-01-07 07:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:12:04] Production.INFO: Date 2025-01-03
[2025-01-07 07:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:12:04] Production.INFO: Date 2025-01-04
[2025-01-07 07:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:12:05] Production.INFO: Date 2025-01-05
[2025-01-07 07:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:12:05] Production.INFO: Date 2025-01-06
[2025-01-07 07:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:12:05] Production.INFO: Date 2025-01-07
[2025-01-07 07:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:12:05] Production.INFO: Total Charge 0
[2025-01-07 07:12:05] Production.INFO: CreateAllLog End
[2025-01-07 07:12:05] Production.INFO: Account Balance End.
[2025-01-07 07:12:05] Production.ERROR: CronJobId end 12
[2025-01-07 07:12:05] Production.INFO: ==15296== Releasing lock...
[2025-01-07 07:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:12:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:12:05
[end_date_ymd] => 2025-01-07 07:12:05
[RateCDR] => 1
)
[2025-01-07 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-07 04:12:05' and `end` < '2025-01-07 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-07 07:12:11] Production.ERROR: CronJobId end10
[2025-01-07 07:12:11] Production.INFO: ==15294== Releasing lock...
[2025-01-07 07:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:12:13] Production.INFO: call_cost start
[2025-01-07 07:12:13] Production.INFO: call_cost end
[2025-01-07 07:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:12:14] Production.INFO: ==15290== Releasing lock...
[2025-01-07 07:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:12:19] Production.INFO: count ==72
[2025-01-07 07:12:19] Production.ERROR: pbx CDR StartTime 2025-01-07 04:12:05 - End Time 2025-01-07 07:12:05
[2025-01-07 07:12:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193289', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193289', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193289', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193289', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:12:19] Production.INFO: ProcessCDR(1,14193289,1,1,2)
[2025-01-07 07:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193289,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193289,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193289,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193289,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193289', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193289', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:12:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:12:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:12:22] Production.INFO: ==15299== Releasing lock...
[2025-01-07 07:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:12:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 12:13:02] Production.INFO: ==15360== Lock acquired, processing the job...
[2025-01-07 12:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:13:02] Production.INFO: neon service started
[2025-01-07 12:13:02] Production.INFO: neon service started
[2025-01-07 12:13:02] Production.INFO: ==15360== Releasing lock...
[2025-01-07 12:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:13:02] Production.INFO: ==15362== Lock acquired, processing the job...
[2025-01-07 07:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:13:02] Production.INFO: ==15362== Releasing lock...
[2025-01-07 07:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:13:02] Production.INFO: ==15364== Lock acquired, processing the job...
[2025-01-07 12:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:13:03] Production.INFO: ==15364== Releasing lock...
[2025-01-07 12:13:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:13:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:13:03] Production.INFO: ==15366== Lock acquired, processing the job...
[2025-01-07 07:13:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10462 #Starts#
[2025-01-07 07:13:03] Production.INFO: -- Xero Api Check --
[2025-01-07 07:13:03] Production.INFO: ==15368== Lock acquired, processing the job...
[2025-01-07 07:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:13:03] Production.INFO: ==15370== Lock acquired, processing the job...
[2025-01-07 07:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:13:03] Production.INFO: ==15372== Lock acquired, processing the job...
[2025-01-07 07:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:13:03] Production.INFO: ==15374== Lock acquired, processing the job...
[2025-01-07 07:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:13:03] Production.INFO: ==15376== Lock acquired, processing the job...
[2025-01-07 07:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:13:04] Production.INFO: ==15378== Lock acquired, processing the job...
[2025-01-07 07:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:13:04] Production.INFO: Account Balance Start.
[2025-01-07 07:13:04] Production.INFO: CreateAllLog Start
[2025-01-07 07:13:04] Production.INFO: 117
[2025-01-07 07:13:04] Production.INFO: Date 2024-12-08
[2025-01-07 07:13:04] Production.INFO: ==15370== Releasing lock...
[2025-01-07 07:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:13:04] Production.INFO: count ==21
[2025-01-07 07:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:13:04] Production.INFO: count ==21
[2025-01-07 07:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193293') start
[2025-01-07 07:13:04] Production.INFO: Date 2024-12-09
[2025-01-07 07:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:13:04] Production.INFO: Date 2024-12-10
[2025-01-07 07:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:13:04] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 855
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.542914
[namelookup_time] => 0.274663
[connect_time] => 0.27629
[pretransfer_time] => 0.451773
[size_upload] => 82
[size_download] => 2755
[speed_download] => 5074
[speed_upload] => 151
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.542875
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.17
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 44484
)
[2025-01-07 07:13:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTE5ODQsImV4cCI6MTczNjI1MjI4NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjUxOTg0LCJhdF9oYXNoIjoiWFY3QURUdDJxU1h5c1ptMEVZSjJzUSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.dBIXP_k9uWU3yIZJdzkP16KQIAgAM-v6sjhNwz1sNWkxyMD5igwjM8Fu4g4PEQK_Qs0OYZuLJgRZEyQ951Ov2ACxS6pdmpWQaud-lZtf9epazjDQD1ytK_3GkfuCX_xcdGHJBpnI6RrRfnYSXlFPawzEW2Bacdzajb68JmhnfrYiMgEZRa0pr56fTCIAX3SRdTCuXJoIiDuP_ZQxZ0C_NLasos51TjpUlGF9vkhILNIPO_DVz_Gtxc6hfHc5NJyi-vXERojW2AR_-gG06CmCv_EcAqQAXJHI07JUUZRN7_2XKRZ-Pnu5RILJlSxavBX3v8WLiU9ahBvYDjULXPlMwA
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTE5ODQsImV4cCI6MTczNjI1Mzc4NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.omGMY1IvC262zqjbaptdBhhS_49UEKlScxDC3mn-HN4XS3483y-5-pHGwMIPQdSy4GiVyQXjPj2JZcLJ7RI5ZD_8oynKn1QxJKvHcuDT6KQF18lA5_oUWsCjGH3E9MQbIxtLjJvzk81zcssA5u3FQ5NB2muVMIoIyBCYVdfxJ9n3PFE46pUkLYBWn45hTsZ-Pk8ss3mAQfAbdSSnC_N-lBCVEQrZ7oxYjjdcIBLIhszWkaiKvAMNynVWmITx9BS4YvBmv8cefiFqDLw5huoy84eCFvldSuNb9_roJiZNWfPVigv_N2BD0yAy58iSTkiur6K-NJWwCoDFwU0D6vAvYg
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => kx6R4GtVUUT831x-hrrryYG1bCPReeQCvGZOJT_IyTA
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 07:13:04] Production.INFO: Date 2024-12-11
[2025-01-07 07:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:13:04] Production.ERROR: done
[2025-01-07 07:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193293') end
[2025-01-07 07:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:13:04] Production.INFO: 1
[2025-01-07 07:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:13:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTE5ODQsImV4cCI6MTczNjI1MjI4NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjUxOTg0LCJhdF9oYXNoIjoiWFY3QURUdDJxU1h5c1ptMEVZSjJzUSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.dBIXP_k9uWU3yIZJdzkP16KQIAgAM-v6sjhNwz1sNWkxyMD5igwjM8Fu4g4PEQK_Qs0OYZuLJgRZEyQ951Ov2ACxS6pdmpWQaud-lZtf9epazjDQD1ytK_3GkfuCX_xcdGHJBpnI6RrRfnYSXlFPawzEW2Bacdzajb68JmhnfrYiMgEZRa0pr56fTCIAX3SRdTCuXJoIiDuP_ZQxZ0C_NLasos51TjpUlGF9vkhILNIPO_DVz_Gtxc6hfHc5NJyi-vXERojW2AR_-gG06CmCv_EcAqQAXJHI07JUUZRN7_2XKRZ-Pnu5RILJlSxavBX3v8WLiU9ahBvYDjULXPlMwA
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTE5ODQsImV4cCI6MTczNjI1Mzc4NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.omGMY1IvC262zqjbaptdBhhS_49UEKlScxDC3mn-HN4XS3483y-5-pHGwMIPQdSy4GiVyQXjPj2JZcLJ7RI5ZD_8oynKn1QxJKvHcuDT6KQF18lA5_oUWsCjGH3E9MQbIxtLjJvzk81zcssA5u3FQ5NB2muVMIoIyBCYVdfxJ9n3PFE46pUkLYBWn45hTsZ-Pk8ss3mAQfAbdSSnC_N-lBCVEQrZ7oxYjjdcIBLIhszWkaiKvAMNynVWmITx9BS4YvBmv8cefiFqDLw5huoy84eCFvldSuNb9_roJiZNWfPVigv_N2BD0yAy58iSTkiur6K-NJWwCoDFwU0D6vAvYg
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => kx6R4GtVUUT831x-hrrryYG1bCPReeQCvGZOJT_IyTA
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 07:13:04] Production.INFO: AccountID 86
[2025-01-07 07:13:04] Production.INFO: Date 2024-12-12
[2025-01-07 07:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:13:04] Production.INFO: AccountName Selective Conformal Coatings Inc.
[2025-01-07 07:13:04] Production.INFO: Date 2024-12-13
[2025-01-07 07:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:13:04] Production.INFO: Checkcustomer
[2025-01-07 07:13:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Selective%20Conformal%20Coatings%20Inc."
[2025-01-07 07:13:04] Production.INFO: Date 2024-12-14
[2025-01-07 07:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:13:04] Production.INFO: ==15378== Releasing lock...
[2025-01-07 07:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:13:04] Production.ERROR: done
[2025-01-07 07:13:04] Production.INFO: Date 2024-12-15
[2025-01-07 07:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:13:04] Production.INFO: Date 2024-12-16
[2025-01-07 07:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:13:04] Production.INFO: Date 2024-12-17
[2025-01-07 07:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:13:04] Production.INFO: Date 2024-12-18
[2025-01-07 07:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:13:04] Production.INFO: Date 2024-12-19
[2025-01-07 07:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:13:04] Production.INFO: Date 2024-12-20
[2025-01-07 07:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:13:04] Production.INFO: Date 2024-12-21
[2025-01-07 07:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:13:04] Production.INFO: Date 2024-12-22
[2025-01-07 07:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:13:04] Production.INFO: Date 2024-12-23
[2025-01-07 07:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:13:04] Production.INFO: Date 2024-12-24
[2025-01-07 07:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:13:05] Production.INFO: Date 2024-12-25
[2025-01-07 07:13:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:13:05] Production.INFO: Date 2024-12-26
[2025-01-07 07:13:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:13:05] Production.INFO: Date 2024-12-27
[2025-01-07 07:13:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:13:05] Production.INFO: Date 2024-12-28
[2025-01-07 07:13:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:13:05] Production.INFO: Date 2024-12-29
[2025-01-07 07:13:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:13:05] Production.INFO: Date 2024-12-30
[2025-01-07 07:13:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:13:05] Production.INFO: Date 2024-12-31
[2025-01-07 07:13:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:13:05] Production.INFO: Date 2025-01-01
[2025-01-07 07:13:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:13:05] Production.INFO: Date 2025-01-02
[2025-01-07 07:13:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:13:05] Production.INFO: Date 2025-01-03
[2025-01-07 07:13:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:13:05] Production.INFO: Date 2025-01-04
[2025-01-07 07:13:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:13:05] Production.INFO: Date 2025-01-05
[2025-01-07 07:13:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:13:05] Production.INFO: Date 2025-01-06
[2025-01-07 07:13:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:13:05] Production.INFO: Date 2025-01-07
[2025-01-07 07:13:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:13:05] Production.INFO: Total Charge 0
[2025-01-07 07:13:05] Production.INFO: CreateAllLog End
[2025-01-07 07:13:05] Production.INFO: Account Balance End.
[2025-01-07 07:13:05] Production.ERROR: CronJobId end 12
[2025-01-07 07:13:05] Production.INFO: ==15374== Releasing lock...
[2025-01-07 07:13:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:13:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:13:05
[end_date_ymd] => 2025-01-07 07:13:05
[RateCDR] => 1
)
[2025-01-07 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-07 04:13:05' and `end` < '2025-01-07 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-07 07:13:07] Production.INFO: Contact id print CheckCustomer Case===829ddc9d-f1ae-447b-9687-394867f488a7
[2025-01-07 07:13:07] Production.INFO: -- count --1
[2025-01-07 07:13:07] Production.INFO: -- Xero Add Inovice --
[2025-01-07 07:13:07] Production.INFO: CheckInvoice xerov2: INV11258
[2025-01-07 07:13:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11258
[2025-01-07 07:13:09] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 07:13:09] Production.INFO: Invoice SubTotal 199.580000
[2025-01-07 07:13:09] Production.INFO: Invoice DetTotal 199.58
[2025-01-07 07:13:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Selective%20Conformal%20Coatings%20Inc."
[2025-01-07 07:13:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 07:13:12] Production.ERROR: CronJobId end10
[2025-01-07 07:13:12] Production.INFO: ==15372== Releasing lock...
[2025-01-07 07:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:13:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:13:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:13:14] Production.INFO: call_cost start
[2025-01-07 07:13:14] Production.INFO: call_cost end
[2025-01-07 07:13:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 07:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:13:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:13:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:13:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:13:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:13:15] Production.INFO: ==15368== Releasing lock...
[2025-01-07 07:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:13:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 07:13:20] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 11-23-2024 To 12-22-2024",Quantity : 1,UnitAmount : 1.380000,LineAmount : 1.380000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 7,UnitAmount : 10.000000,LineAmount : 70.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (19059519523 - 141 TRADE VALLEY DR UNIT 5 VAUGHAN, ON L4H3N6)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 250,DiscountRate : 0.000000,"Description": "Microsoft Office 365 Business Standard subscription (formerly called Office 365 Business Premium)",Quantity : 6,UnitAmount : 16.900000,LineAmount : 101.400000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft Office 365 Business Basic subscription (formerly called Office 365 Business Essentials)",Quantity : 3,UnitAmount : 8.100000,LineAmount : 24.300000}
[2025-01-07 07:13:22] Production.INFO: count ==75
[2025-01-07 07:13:22] Production.ERROR: pbx CDR StartTime 2025-01-07 04:13:05 - End Time 2025-01-07 07:13:05
[2025-01-07 07:13:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:13:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193294', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:13:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193294', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:13:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193294', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:13:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193294', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:13:22] Production.INFO: ProcessCDR(1,14193294,1,1,2)
[2025-01-07 07:13:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193294,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:13:22] Production.INFO: ==== result =====
[2025-01-07 07:13:22] Production.INFO: {
"Id": "30041d59-cffb-482d-97b4-9b83ca167428",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736252002817)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "7bead9a3-72f5-4d67-b66c-4a651b194c9d",
"InvoiceNumber": "INV11258",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 225.53,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "829ddc9d-f1ae-447b-9687-394867f488a7",
"ContactNumber": "",
"ContactStatus": "ACTIVE",
"Name": "Selective Conformal Coatings Inc.",
"FirstName": "Christine",
"LastName": "Francis",
"EmailAddress": "cfrancis@conformalcoating.ca",
"BankAccountDetails": "",
"TaxNumber": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"AddressLine1": "365 Healey Dr.",
"AddressLine2": "Unit 5",
"AddressLine3": "",
"AddressLine4": "",
"City": "Bolton",
"Region": "ON",
"PostalCode": "L7E 5C1",
"Country": "Canada",
"AttentionTo": "Christine Francis"
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "(905) 9519523",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "(905) 9519523",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "9055051135",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1544121527830+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-23T00:00:00",
"Date": "\/Date(1734912000000+0000)\/",
"DueDateString": "2025-01-22T00:00:00",
"DueDate": "\/Date(1737504000000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "From 11-23-2024 To 12-22-2024",
"UnitAmount": 1.38,
"TaxType": "TAX020",
"TaxAmount": 0.18,
"LineAmount": 1.38,
"AccountCode": "234",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "d81fa4c1-8c49-4073-bdf1-c46f6a5b1627",
"AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "License for a Pay As You Go Cloud Phone extension",
"UnitAmount": 10.00,
"TaxType": "TAX020",
"TaxAmount": 9.10,
"LineAmount": 70.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 7.0000,
"DiscountRate": 0.00,
"LineItemID": "b1d4bf47-0b34-40ed-ad05-8f739a2061a7",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (19059519523 - 141 TRADE VALLEY DR UNIT 5 VAUGHAN, ON L4H3N6)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "2a4fe5d3-c0d0-4c09-a39b-ad313ae594f7",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Microsoft Office 365 Business Standard subscription (formerly called Office 365 Business Premium)",
"UnitAmount": 16.90,
"TaxType": "TAX020",
"TaxAmount": 13.18,
"LineAmount": 101.40,
"AccountCode": "250",
"Tracking": [],
"Quantity": 6.0000,
"DiscountRate": 0.00,
"LineItemID": "90fc802d-bbc4-4c6a-ad43-21cbfca586b6",
"AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Microsoft Office 365 Business Basic subscription (formerly called Office 365 Business Essentials)",
"UnitAmount": 8.10,
"TaxType": "TAX020",
"TaxAmount": 3.16,
"LineAmount": 24.30,
"AccountCode": "250",
"Tracking": [],
"Quantity": 3.0000,
"LineItemID": "c2491039-57bd-430f-a171-807ef7c04c6c",
"AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7",
"ValidationErrors": []
}
],
"SubTotal": 199.58,
"TotalTax": 25.95,
"Total": 225.53,
"UpdatedDateUTC": "\/Date(1736252002753+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 07:13:22] Production.INFO: -- Create Invoice id --7bead9a3-72f5-4d67-b66c-4a651b194c9d
[2025-01-07 07:13:22] Production.INFO: -- Create Invoice Done --
[2025-01-07 07:13:22] Production.INFO: -- Xero End Inovice --
[2025-01-07 07:13:22] Production.INFO: ==15366== Releasing lock...
[2025-01-07 07:13:22] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10462 #Stops#
[2025-01-07 07:13:22] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 07:13:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193294,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:13:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193294,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:13:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193294,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:13:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193294', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:13:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193294', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:13:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:13:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:13:26] Production.INFO: ==15376== Releasing lock...
[2025-01-07 07:13:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:13:26] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:14:01] Production.INFO: ==15442== Lock acquired, processing the job...
[2025-01-07 12:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:14:01] Production.INFO: neon service started
[2025-01-07 12:14:01] Production.INFO: neon service started
[2025-01-07 12:14:01] Production.INFO: ==15442== Releasing lock...
[2025-01-07 12:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:14:02] Production.INFO: ==15444== Lock acquired, processing the job...
[2025-01-07 07:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:14:02] Production.INFO: ==15444== Releasing lock...
[2025-01-07 07:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:14:02] Production.INFO: ==15446== Lock acquired, processing the job...
[2025-01-07 12:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:14:02] Production.INFO: ==15446== Releasing lock...
[2025-01-07 12:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:14:03] Production.INFO: ==15457== Lock acquired, processing the job...
[2025-01-07 07:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:14:03] Production.INFO: ==15449== Lock acquired, processing the job...
[2025-01-07 07:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:14:03] Production.INFO: ==15451== Lock acquired, processing the job...
[2025-01-07 07:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:14:03] Production.INFO: ==15455== Lock acquired, processing the job...
[2025-01-07 07:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:14:03] Production.INFO: ==15453== Lock acquired, processing the job...
[2025-01-07 07:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:14:03] Production.INFO: ==15459== Lock acquired, processing the job...
[2025-01-07 07:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:14:03] Production.ERROR: done
[2025-01-07 07:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:14:03] Production.INFO: Account Balance Start.
[2025-01-07 07:14:03] Production.INFO: CreateAllLog Start
[2025-01-07 07:14:03] Production.INFO: 117
[2025-01-07 07:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:14:03] Production.ERROR: done
[2025-01-07 07:14:03] Production.INFO: Date 2024-12-08
[2025-01-07 07:14:03] Production.INFO: count ==21
[2025-01-07 07:14:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:14:04] Production.INFO: Date 2024-12-09
[2025-01-07 07:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:14:04] Production.INFO: Date 2024-12-10
[2025-01-07 07:14:04] Production.INFO: ==15451== Releasing lock...
[2025-01-07 07:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:14:04] Production.INFO: Date 2024-12-11
[2025-01-07 07:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:14:04] Production.INFO: Date 2024-12-12
[2025-01-07 07:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:14:04] Production.INFO: count ==21
[2025-01-07 07:14:04] Production.INFO: Date 2024-12-13
[2025-01-07 07:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:14:04] Production.INFO: Date 2024-12-14
[2025-01-07 07:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193297') start
[2025-01-07 07:14:04] Production.INFO: Date 2024-12-15
[2025-01-07 07:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:14:04] Production.INFO: Date 2024-12-16
[2025-01-07 07:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:14:04] Production.INFO: Date 2024-12-17
[2025-01-07 07:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193297') end
[2025-01-07 07:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:14:04] Production.INFO: 1
[2025-01-07 07:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:14:04] Production.INFO: Date 2024-12-18
[2025-01-07 07:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:14:04] Production.INFO: Date 2024-12-19
[2025-01-07 07:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:14:04] Production.INFO: ==15459== Releasing lock...
[2025-01-07 07:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:14:04] Production.INFO: Date 2024-12-20
[2025-01-07 07:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:14:04] Production.INFO: Date 2024-12-21
[2025-01-07 07:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:14:04] Production.INFO: Date 2024-12-22
[2025-01-07 07:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:14:04] Production.INFO: Date 2024-12-23
[2025-01-07 07:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:14:04] Production.INFO: Date 2024-12-24
[2025-01-07 07:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:14:04] Production.INFO: Date 2024-12-25
[2025-01-07 07:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:14:04] Production.INFO: Date 2024-12-26
[2025-01-07 07:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:14:04] Production.INFO: Date 2024-12-27
[2025-01-07 07:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:14:04] Production.INFO: Date 2024-12-28
[2025-01-07 07:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:14:04] Production.INFO: Date 2024-12-29
[2025-01-07 07:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:14:04] Production.INFO: Date 2024-12-30
[2025-01-07 07:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:14:04] Production.INFO: Date 2024-12-31
[2025-01-07 07:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:14:04] Production.INFO: Date 2025-01-01
[2025-01-07 07:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:14:04] Production.INFO: Date 2025-01-02
[2025-01-07 07:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:14:04] Production.INFO: Date 2025-01-03
[2025-01-07 07:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:14:04] Production.INFO: Date 2025-01-04
[2025-01-07 07:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:14:04] Production.INFO: Date 2025-01-05
[2025-01-07 07:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:14:04] Production.INFO: Date 2025-01-06
[2025-01-07 07:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:14:04] Production.INFO: Date 2025-01-07
[2025-01-07 07:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:14:04] Production.INFO: Total Charge 0
[2025-01-07 07:14:04] Production.INFO: CreateAllLog End
[2025-01-07 07:14:05] Production.INFO: Account Balance End.
[2025-01-07 07:14:05] Production.ERROR: CronJobId end 12
[2025-01-07 07:14:05] Production.INFO: ==15455== Releasing lock...
[2025-01-07 07:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:14:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:14:05
[end_date_ymd] => 2025-01-07 07:14:05
[RateCDR] => 1
)
[2025-01-07 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-07 04:14:05' and `end` < '2025-01-07 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-07 07:14:11] Production.ERROR: CronJobId end10
[2025-01-07 07:14:11] Production.INFO: ==15453== Releasing lock...
[2025-01-07 07:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:14:13] Production.INFO: call_cost start
[2025-01-07 07:14:13] Production.INFO: call_cost end
[2025-01-07 07:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:14:14] Production.INFO: ==15449== Releasing lock...
[2025-01-07 07:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:14:20] Production.INFO: count ==75
[2025-01-07 07:14:20] Production.ERROR: pbx CDR StartTime 2025-01-07 04:14:05 - End Time 2025-01-07 07:14:05
[2025-01-07 07:14:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193299', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193299', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193299', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193299', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:14:20] Production.INFO: ProcessCDR(1,14193299,1,1,2)
[2025-01-07 07:14:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193299,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:14:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193299,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:14:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193299,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:14:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193299,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193299', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193299', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:14:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:14:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:14:23] Production.INFO: ==15457== Releasing lock...
[2025-01-07 07:14:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:14:23] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:15:02] Production.INFO: ==15591== Lock acquired, processing the job...
[2025-01-07 12:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:15:02] Production.INFO: neon service started
[2025-01-07 12:15:02] Production.INFO: neon service started
[2025-01-07 12:15:02] Production.INFO: ==15591== Releasing lock...
[2025-01-07 12:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 12:15:02] Production.INFO: ==15595== Lock acquired, processing the job...
[2025-01-07 12:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:15:02] Production.INFO: ==15595== Releasing lock...
[2025-01-07 12:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:15:02] Production.INFO: ==15593== Lock acquired, processing the job...
[2025-01-07 07:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:15:03] Production.INFO: ==15593== Releasing lock...
[2025-01-07 07:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:15:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:15:04] Production.INFO: ==15602== Lock acquired, processing the job...
[2025-01-07 07:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:15:04] Production.INFO: ==15598== Lock acquired, processing the job...
[2025-01-07 07:15:04] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10463 #Starts#
[2025-01-07 07:15:04] Production.INFO: ==15600== Lock acquired, processing the job...
[2025-01-07 07:15:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:15:04] Production.INFO: -- Xero Api Check --
[2025-01-07 07:15:04] Production.INFO: ==15606== Lock acquired, processing the job...
[2025-01-07 07:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:15:04] Production.INFO: ==15604== Lock acquired, processing the job...
[2025-01-07 07:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:15:04] Production.INFO: ==15610== Lock acquired, processing the job...
[2025-01-07 07:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:15:04] Production.INFO: ==15608== Lock acquired, processing the job...
[2025-01-07 07:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:15:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:15:04] Production.INFO: Account Balance Start.
[2025-01-07 07:15:04] Production.INFO: CreateAllLog Start
[2025-01-07 07:15:04] Production.INFO: 117
[2025-01-07 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-07 07:15:04] Production.INFO: Date 2024-12-08
[2025-01-07 07:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:15:04] Production.INFO: count ==21
[2025-01-07 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-07 07:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:15:04] Production.INFO: count ==21
[2025-01-07 07:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193303') start
[2025-01-07 07:15:04] Production.INFO: ==15602== Releasing lock...
[2025-01-07 07:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:15:04] Production.INFO: Date 2024-12-09
[2025-01-07 07:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:15:04] Production.INFO: Date 2024-12-10
[2025-01-07 07:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193303') end
[2025-01-07 07:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:15:04] Production.INFO: 1
[2025-01-07 07:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:15:04] Production.INFO: Date 2024-12-11
[2025-01-07 07:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:15:04] Production.INFO: ==15610== Releasing lock...
[2025-01-07 07:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:15:04] Production.ERROR: done
[2025-01-07 07:15:04] Production.INFO: Date 2024-12-12
[2025-01-07 07:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:15: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] => 856
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.654598
[namelookup_time] => 0.254014
[connect_time] => 0.261461
[pretransfer_time] => 0.486342
[size_upload] => 82
[size_download] => 2755
[speed_download] => 4208
[speed_upload] => 125
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.654564
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.33
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 42416
)
[2025-01-07 07:15:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTIxMDQsImV4cCI6MTczNjI1MjQwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjUyMTA0LCJhdF9oYXNoIjoiVU1PYndPNXhsU2xJUjY5allqZG5TZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.SIK6ESsTqg-GS-8TaBSHllQ9HJqZsEAYG8SAviBSMcHT76hoR1Ypz-nyif0T9iE7rKDEMHlJcbKBGzKtZyS4yPJuIfB4YPNe0dp8lacNx5onrGjDj5QUTSk84kvwM3HeeqCB3tjdD9Qn0qiEp6rnDdlVYliNhjZlL2PdXwi68vlM_WfS5GlhRgXYIe795MApmVGz_DzmYRdZ1VlYrTjRAxZEWYptuHhLtjMUqTV-nEQYuWx_svSQ3knh3Z75oIKkSkHv3Ne9y5nz4jGsxL-7HA4PAcSX9bQ9CxGSCydGJAL7TWtBpR5zKkIH9rM3dYqVLJspdMWY0MDhBVLaNq9QTA
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTIxMDQsImV4cCI6MTczNjI1MzkwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.ixrFjS6eDBWQqIM_bwlXUNPNUCs1zv5KmA0eF9rHe-fL29jYL5wzYhukzXyRcvQOxDdw0EGB64xC2hpIm8Zpshnn3YP4yL_HDa_pxMgbF-63QMssDUaNmwUVfmB245_DMl-4qKKVCW2SsVlbf06X-Ldvsqozjwxs7Axk8lDrof0EJ2vY90bVL2EMuMf5vkonu8nPQsQJSkObTa93IiedVGShO5ngRiDGOCLWI03L9Zdi-MZ27IBSCcVvjarCw9doRnoEbUEGeWM8rWRwlmXzZRrDCE0oFfGYHSYMVOlN2QMReAE7ulLGjDX8L0PLuEhOaewIcP9YUUj9WY78Y74KFA
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => XCEnR5n8m-wjkwuTQMYPhK6FJL_Y1u_EZaLTbfYi2Fk
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 07:15:04] Production.INFO: Date 2024-12-13
[2025-01-07 07:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:15:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTIxMDQsImV4cCI6MTczNjI1MjQwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjUyMTA0LCJhdF9oYXNoIjoiVU1PYndPNXhsU2xJUjY5allqZG5TZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.SIK6ESsTqg-GS-8TaBSHllQ9HJqZsEAYG8SAviBSMcHT76hoR1Ypz-nyif0T9iE7rKDEMHlJcbKBGzKtZyS4yPJuIfB4YPNe0dp8lacNx5onrGjDj5QUTSk84kvwM3HeeqCB3tjdD9Qn0qiEp6rnDdlVYliNhjZlL2PdXwi68vlM_WfS5GlhRgXYIe795MApmVGz_DzmYRdZ1VlYrTjRAxZEWYptuHhLtjMUqTV-nEQYuWx_svSQ3knh3Z75oIKkSkHv3Ne9y5nz4jGsxL-7HA4PAcSX9bQ9CxGSCydGJAL7TWtBpR5zKkIH9rM3dYqVLJspdMWY0MDhBVLaNq9QTA
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTIxMDQsImV4cCI6MTczNjI1MzkwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.ixrFjS6eDBWQqIM_bwlXUNPNUCs1zv5KmA0eF9rHe-fL29jYL5wzYhukzXyRcvQOxDdw0EGB64xC2hpIm8Zpshnn3YP4yL_HDa_pxMgbF-63QMssDUaNmwUVfmB245_DMl-4qKKVCW2SsVlbf06X-Ldvsqozjwxs7Axk8lDrof0EJ2vY90bVL2EMuMf5vkonu8nPQsQJSkObTa93IiedVGShO5ngRiDGOCLWI03L9Zdi-MZ27IBSCcVvjarCw9doRnoEbUEGeWM8rWRwlmXzZRrDCE0oFfGYHSYMVOlN2QMReAE7ulLGjDX8L0PLuEhOaewIcP9YUUj9WY78Y74KFA
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => XCEnR5n8m-wjkwuTQMYPhK6FJL_Y1u_EZaLTbfYi2Fk
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 07:15:04] Production.INFO: AccountID 140
[2025-01-07 07:15:04] Production.INFO: AccountName PharmaSave (Uxbridge)
[2025-01-07 07:15:04] Production.INFO: Checkcustomer
[2025-01-07 07:15:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="PharmaSave%20%28Uxbridge%29"
[2025-01-07 07:15:04] Production.INFO: Date 2024-12-14
[2025-01-07 07:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:15:04] Production.ERROR: done
[2025-01-07 07:15:04] Production.INFO: Date 2024-12-15
[2025-01-07 07:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:15:04] Production.INFO: Date 2024-12-16
[2025-01-07 07:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:15:05] Production.INFO: Date 2024-12-17
[2025-01-07 07:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:15:05] Production.INFO: Date 2024-12-18
[2025-01-07 07:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:15:05] Production.INFO: Date 2024-12-19
[2025-01-07 07:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:15:05] Production.INFO: Date 2024-12-20
[2025-01-07 07:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:15:05] Production.INFO: Date 2024-12-21
[2025-01-07 07:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:15:05] Production.INFO: Date 2024-12-22
[2025-01-07 07:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:15:05] Production.INFO: Date 2024-12-23
[2025-01-07 07:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:15:05] Production.INFO: Date 2024-12-24
[2025-01-07 07:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:15:05] Production.INFO: Date 2024-12-25
[2025-01-07 07:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:15:05] Production.INFO: Date 2024-12-26
[2025-01-07 07:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:15:05] Production.INFO: Date 2024-12-27
[2025-01-07 07:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:15:05] Production.INFO: Date 2024-12-28
[2025-01-07 07:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:15:05] Production.INFO: Date 2024-12-29
[2025-01-07 07:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:15:05] Production.INFO: Date 2024-12-30
[2025-01-07 07:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:15:05] Production.INFO: Date 2024-12-31
[2025-01-07 07:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:15:05] Production.INFO: Date 2025-01-01
[2025-01-07 07:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:15:05] Production.INFO: Date 2025-01-02
[2025-01-07 07:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:15:05] Production.INFO: Date 2025-01-03
[2025-01-07 07:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:15:05] Production.INFO: Date 2025-01-04
[2025-01-07 07:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:15:05] Production.INFO: Date 2025-01-05
[2025-01-07 07:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:15:05] Production.INFO: Date 2025-01-06
[2025-01-07 07:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:15:05] Production.INFO: Date 2025-01-07
[2025-01-07 07:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:15:05] Production.INFO: Total Charge 0
[2025-01-07 07:15:05] Production.INFO: CreateAllLog End
[2025-01-07 07:15:06] Production.INFO: Account Balance End.
[2025-01-07 07:15:06] Production.ERROR: CronJobId end 12
[2025-01-07 07:15:06] Production.INFO: ==15606== Releasing lock...
[2025-01-07 07:15:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:15:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:15:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:15:06
[end_date_ymd] => 2025-01-07 07:15:06
[RateCDR] => 1
)
[2025-01-07 07:15:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 04:15:06' and `end` < '2025-01-07 07:15:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 07:15:07] Production.INFO: Contact id print CheckCustomer Case===ac797c62-9d84-4beb-9f18-85a8d961b94f
[2025-01-07 07:15:07] Production.INFO: -- count --1
[2025-01-07 07:15:07] Production.INFO: -- Xero Add Inovice --
[2025-01-07 07:15:07] Production.INFO: CheckInvoice xerov2: INV11232
[2025-01-07 07:15:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11232
[2025-01-07 07:15:09] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 07:15:09] Production.INFO: Invoice SubTotal 32.500000
[2025-01-07 07:15:09] Production.INFO: Invoice DetTotal 32.5
[2025-01-07 07:15:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="PharmaSave%20%28Uxbridge%29"
[2025-01-07 07:15:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 07:15:13] Production.ERROR: CronJobId end10
[2025-01-07 07:15:13] Production.INFO: ==15604== Releasing lock...
[2025-01-07 07:15:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:15:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:15:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 07:15:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:15:15] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:15:15] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:15:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:15:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:15:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:15:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:15:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:15:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:15:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:15:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:15:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:15:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:15:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:15:15] Production.INFO: call_cost start
[2025-01-07 07:15:15] Production.INFO: call_cost end
[2025-01-07 07:15:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:15:16] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:15:16] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:15:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:15:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:15:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:15:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:15:16] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:15:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:15:16] Production.INFO: ==15600== Releasing lock...
[2025-01-07 07:15:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:15:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:15:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 07:15:19] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Retail Phone Service - 3 Channels Dedicated/Burst to 5 Channels",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (9058622800 - 29 Toronto Street South 1B Uxbridge, ON L9P 1V9)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Discount - Friends and Family (Doug Geary referral)",Quantity : 1,UnitAmount : -45.000000,LineAmount : -45.000000}
[2025-01-07 07:15:21] Production.INFO: count ==75
[2025-01-07 07:15:21] Production.ERROR: pbx CDR StartTime 2025-01-07 04:15:06 - End Time 2025-01-07 07:15:06
[2025-01-07 07:15:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193304', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193304', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193304', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193304', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:15:21] Production.INFO: ProcessCDR(1,14193304,1,1,2)
[2025-01-07 07:15:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193304,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:15:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193304,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:15:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193304,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:15:22] Production.INFO: ==== result =====
[2025-01-07 07:15:22] Production.INFO: {
"Id": "c6d5fd5f-663b-4e9e-abbf-89b87ebfcd7c",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736252122510)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "f5f7bfa0-0c49-4a1f-8e98-afe15e946e58",
"InvoiceNumber": "INV11232",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 36.73,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "ac797c62-9d84-4beb-9f18-85a8d961b94f",
"ContactStatus": "ACTIVE",
"Name": "PharmaSave (Uxbridge)",
"FirstName": "Sameer",
"LastName": "Remtulla",
"EmailAddress": "uxbridge.rx@gmail.com",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1606240153850+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-16T00:00:00",
"Date": "\/Date(1734307200000+0000)\/",
"DueDateString": "2025-01-15T00:00:00",
"DueDate": "\/Date(1736899200000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Retail Phone Service - 3 Channels Dedicated/Burst to 5 Channels",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "cdc1e3b4-6f1f-42fe-a549-80ce73f98f9a",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (9058622800 - 29 Toronto Street South 1B Uxbridge, ON L9P 1V9)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "4598edf5-b591-4b04-98fd-2f4db184d2af",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Discount - Friends and Family (Doug Geary referral)",
"UnitAmount": -45.00,
"TaxType": "TAX020",
"TaxAmount": -5.85,
"LineAmount": -45.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "3926685d-9628-433a-ad50-f236cd748fdb",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 32.50,
"TotalTax": 4.23,
"Total": 36.73,
"UpdatedDateUTC": "\/Date(1736252122447+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 07:15:22] Production.INFO: -- Create Invoice id --f5f7bfa0-0c49-4a1f-8e98-afe15e946e58
[2025-01-07 07:15:22] Production.INFO: -- Create Invoice Done --
[2025-01-07 07:15:22] Production.INFO: -- Xero End Inovice --
[2025-01-07 07:15:22] Production.INFO: ==15598== Releasing lock...
[2025-01-07 07:15:22] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10463 #Stops#
[2025-01-07 07:15:22] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 07:15:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193304,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:15:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193304', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:15:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193304', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:15:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:15:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:15:24] Production.INFO: ==15608== Releasing lock...
[2025-01-07 07:15:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:15:24] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:16:01] Production.INFO: ==15673== Lock acquired, processing the job...
[2025-01-07 12:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:16:01] Production.INFO: neon service started
[2025-01-07 12:16:01] Production.INFO: neon service started
[2025-01-07 12:16:01] Production.INFO: ==15673== Releasing lock...
[2025-01-07 12:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:16:01] Production.INFO: ==15675== Lock acquired, processing the job...
[2025-01-07 07:16:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:16:02] Production.INFO: ==15675== Releasing lock...
[2025-01-07 07:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:16:02] Production.INFO: ==15677== Lock acquired, processing the job...
[2025-01-07 12:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:16:02] Production.INFO: ==15677== Releasing lock...
[2025-01-07 12:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:16:03] Production.INFO: ==15682== Lock acquired, processing the job...
[2025-01-07 07:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:16:03] Production.INFO: ==15680== Lock acquired, processing the job...
[2025-01-07 07:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:16:03] Production.INFO: ==15690== Lock acquired, processing the job...
[2025-01-07 07:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:16:03] Production.INFO: ==15682== Releasing lock...
[2025-01-07 07:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:16:03] Production.INFO: ==15684== Lock acquired, processing the job...
[2025-01-07 07:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:16:03] Production.INFO: count ==21
[2025-01-07 07:16:03] Production.INFO: ==15688== Lock acquired, processing the job...
[2025-01-07 07:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:16:03] Production.INFO: count ==21
[2025-01-07 07:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193307') start
[2025-01-07 07:16:03] Production.INFO: ==15686== Lock acquired, processing the job...
[2025-01-07 07:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:16:03] Production.INFO: Account Balance Start.
[2025-01-07 07:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:16:03] Production.INFO: CreateAllLog Start
[2025-01-07 07:16:03] Production.INFO: 117
[2025-01-07 07:16:03] Production.INFO: Date 2024-12-08
[2025-01-07 07:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193307') end
[2025-01-07 07:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:16:03] Production.INFO: 1
[2025-01-07 07:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:16:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:16:03] Production.INFO: ==15690== Releasing lock...
[2025-01-07 07:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:16:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:16:03] Production.ERROR: done
[2025-01-07 07:16:03] Production.INFO: Date 2024-12-09
[2025-01-07 07:16:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:16:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:16:04] Production.ERROR: done
[2025-01-07 07:16:04] Production.INFO: Date 2024-12-10
[2025-01-07 07:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:16:04] Production.INFO: Date 2024-12-11
[2025-01-07 07:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:16:04] Production.INFO: Date 2024-12-12
[2025-01-07 07:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:16:04] Production.INFO: Date 2024-12-13
[2025-01-07 07:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:16:04] Production.INFO: Date 2024-12-14
[2025-01-07 07:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:16:04] Production.INFO: Date 2024-12-15
[2025-01-07 07:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:16:04] Production.INFO: Date 2024-12-16
[2025-01-07 07:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:16:04] Production.INFO: Date 2024-12-17
[2025-01-07 07:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:16:04] Production.INFO: Date 2024-12-18
[2025-01-07 07:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:16:04] Production.INFO: Date 2024-12-19
[2025-01-07 07:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:16:04] Production.INFO: Date 2024-12-20
[2025-01-07 07:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:16:04] Production.INFO: Date 2024-12-21
[2025-01-07 07:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:16:04] Production.INFO: Date 2024-12-22
[2025-01-07 07:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:16:04] Production.INFO: Date 2024-12-23
[2025-01-07 07:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:16:04] Production.INFO: Date 2024-12-24
[2025-01-07 07:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:16:04] Production.INFO: Date 2024-12-25
[2025-01-07 07:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:16:04] Production.INFO: Date 2024-12-26
[2025-01-07 07:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:16:04] Production.INFO: Date 2024-12-27
[2025-01-07 07:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:16:04] Production.INFO: Date 2024-12-28
[2025-01-07 07:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:16:04] Production.INFO: Date 2024-12-29
[2025-01-07 07:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:16:04] Production.INFO: Date 2024-12-30
[2025-01-07 07:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:16:05] Production.INFO: Date 2024-12-31
[2025-01-07 07:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:16:05] Production.INFO: Date 2025-01-01
[2025-01-07 07:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:16:05] Production.INFO: Date 2025-01-02
[2025-01-07 07:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:16:05] Production.INFO: Date 2025-01-03
[2025-01-07 07:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:16:05] Production.INFO: Date 2025-01-04
[2025-01-07 07:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:16:05] Production.INFO: Date 2025-01-05
[2025-01-07 07:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:16:05
[end_date_ymd] => 2025-01-07 07:16:05
[RateCDR] => 1
)
[2025-01-07 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-07 04:16:05' and `end` < '2025-01-07 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-07 07:16:05] Production.INFO: Date 2025-01-06
[2025-01-07 07:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:16:05] Production.INFO: Date 2025-01-07
[2025-01-07 07:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:16:05] Production.INFO: Total Charge 0
[2025-01-07 07:16:05] Production.INFO: CreateAllLog End
[2025-01-07 07:16:05] Production.INFO: Account Balance End.
[2025-01-07 07:16:05] Production.ERROR: CronJobId end 12
[2025-01-07 07:16:05] Production.INFO: ==15686== Releasing lock...
[2025-01-07 07:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:16:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:16:10] Production.ERROR: CronJobId end10
[2025-01-07 07:16:10] Production.INFO: ==15684== Releasing lock...
[2025-01-07 07:16:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:16:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:16:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:16:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:16:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:16:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:16:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:16:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:16:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:16:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:16:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:16:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:16:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:16:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:16:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:16:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:16:12] Production.INFO: call_cost start
[2025-01-07 07:16:12] Production.INFO: call_cost end
[2025-01-07 07:16:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:16:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:16:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:16:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:16:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:16:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:16:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:16:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:16:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:16:13] Production.INFO: ==15680== Releasing lock...
[2025-01-07 07:16:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:16:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:16:21] Production.INFO: count ==75
[2025-01-07 07:16:21] Production.ERROR: pbx CDR StartTime 2025-01-07 04:16:05 - End Time 2025-01-07 07:16:05
[2025-01-07 07:16:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193309', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193309', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193309', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193309', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:16:21] Production.INFO: ProcessCDR(1,14193309,1,1,2)
[2025-01-07 07:16:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193309,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:16:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193309,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:16:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193309,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:16:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193309,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:16:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193309', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:16:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193309', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:16:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:16:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:16:24] Production.INFO: ==15688== Releasing lock...
[2025-01-07 07:16:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:16:24] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:17:01] Production.INFO: ==15746== Lock acquired, processing the job...
[2025-01-07 12:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:17:01] Production.INFO: neon service started
[2025-01-07 12:17:02] Production.INFO: neon service started
[2025-01-07 12:17:02] Production.INFO: ==15746== Releasing lock...
[2025-01-07 12:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:17:02] Production.INFO: ==15748== Lock acquired, processing the job...
[2025-01-07 07:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:17:02] Production.INFO: ==15748== Releasing lock...
[2025-01-07 07:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:17:02] Production.INFO: ==15750== Lock acquired, processing the job...
[2025-01-07 12:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:17:02] Production.INFO: ==15750== Releasing lock...
[2025-01-07 12:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:17:03] Production.INFO: ==15752== Lock acquired, processing the job...
[2025-01-07 07:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:17:03] Production.INFO: ==15754== Lock acquired, processing the job...
[2025-01-07 07:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:17:03] Production.INFO: ==15758== Lock acquired, processing the job...
[2025-01-07 07:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:17:03] Production.INFO: ==15756== Lock acquired, processing the job...
[2025-01-07 07:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:17:03] Production.INFO: ==15760== Lock acquired, processing the job...
[2025-01-07 07:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:17:03] Production.INFO: ==15762== Lock acquired, processing the job...
[2025-01-07 07:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:17:03] Production.INFO: Account Balance Start.
[2025-01-07 07:17:03] Production.INFO: CreateAllLog Start
[2025-01-07 07:17:03] Production.INFO: count ==21
[2025-01-07 07:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:17:03] Production.INFO: 117
[2025-01-07 07:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:17:03] Production.INFO: count ==21
[2025-01-07 07:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193313') start
[2025-01-07 07:17:03] Production.INFO: Date 2024-12-08
[2025-01-07 07:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:17:03] Production.INFO: Date 2024-12-09
[2025-01-07 07:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:17:04] Production.INFO: Date 2024-12-10
[2025-01-07 07:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:17:04] Production.INFO: ==15754== Releasing lock...
[2025-01-07 07:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193313') end
[2025-01-07 07:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:17:04] Production.INFO: 1
[2025-01-07 07:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:17:04] Production.INFO: Date 2024-12-11
[2025-01-07 07:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:17:04] Production.ERROR: done
[2025-01-07 07:17:04] Production.INFO: Date 2024-12-12
[2025-01-07 07:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:17:04] Production.INFO: ==15762== Releasing lock...
[2025-01-07 07:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:17:04] Production.INFO: Date 2024-12-13
[2025-01-07 07:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:17:04] Production.INFO: Date 2024-12-14
[2025-01-07 07:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:17:04] Production.INFO: Date 2024-12-15
[2025-01-07 07:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:17:04] Production.INFO: Date 2024-12-16
[2025-01-07 07:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:17:04] Production.ERROR: done
[2025-01-07 07:17:04] Production.INFO: Date 2024-12-17
[2025-01-07 07:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:17:04] Production.INFO: Date 2024-12-18
[2025-01-07 07:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:17:04] Production.INFO: Date 2024-12-19
[2025-01-07 07:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:17:04] Production.INFO: Date 2024-12-20
[2025-01-07 07:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:17:04] Production.INFO: Date 2024-12-21
[2025-01-07 07:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:17:04] Production.INFO: Date 2024-12-22
[2025-01-07 07:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:17:04] Production.INFO: Date 2024-12-23
[2025-01-07 07:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:17:04] Production.INFO: Date 2024-12-24
[2025-01-07 07:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:17:04] Production.INFO: Date 2024-12-25
[2025-01-07 07:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:17:04] Production.INFO: Date 2024-12-26
[2025-01-07 07:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:17:04] Production.INFO: Date 2024-12-27
[2025-01-07 07:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:17:04] Production.INFO: Date 2024-12-28
[2025-01-07 07:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:17:04] Production.INFO: Date 2024-12-29
[2025-01-07 07:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:17:04] Production.INFO: Date 2024-12-30
[2025-01-07 07:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:17:04] Production.INFO: Date 2024-12-31
[2025-01-07 07:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:17:04] Production.INFO: Date 2025-01-01
[2025-01-07 07:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:17:04] Production.INFO: Date 2025-01-02
[2025-01-07 07:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:17:04] Production.INFO: Date 2025-01-03
[2025-01-07 07:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:17:05] Production.INFO: Date 2025-01-04
[2025-01-07 07:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:17:05] Production.INFO: Date 2025-01-05
[2025-01-07 07:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:17:05] Production.INFO: Date 2025-01-06
[2025-01-07 07:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:17:05] Production.INFO: Date 2025-01-07
[2025-01-07 07:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:17:05] Production.INFO: Total Charge 0
[2025-01-07 07:17:05] Production.INFO: CreateAllLog End
[2025-01-07 07:17:05] Production.INFO: Account Balance End.
[2025-01-07 07:17:05] Production.ERROR: CronJobId end 12
[2025-01-07 07:17:05] Production.INFO: ==15758== Releasing lock...
[2025-01-07 07:17:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:17:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:17:05
[end_date_ymd] => 2025-01-07 07:17:05
[RateCDR] => 1
)
[2025-01-07 07:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 04:17:05' and `end` < '2025-01-07 07:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 07:17:10] Production.ERROR: CronJobId end10
[2025-01-07 07:17:10] Production.INFO: ==15756== Releasing lock...
[2025-01-07 07:17:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:17:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:17:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:17:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:17:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:17:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:17:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:17:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:17:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:17:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:17:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:17:13] Production.INFO: call_cost start
[2025-01-07 07:17:13] Production.INFO: call_cost end
[2025-01-07 07:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:17:14] Production.INFO: ==15752== Releasing lock...
[2025-01-07 07:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:17:20] Production.INFO: count ==75
[2025-01-07 07:17:20] Production.ERROR: pbx CDR StartTime 2025-01-07 04:17:05 - End Time 2025-01-07 07:17:05
[2025-01-07 07:17:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193314', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193314', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193314', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193314', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:17:20] Production.INFO: ProcessCDR(1,14193314,1,1,2)
[2025-01-07 07:17:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193314,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:17:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193314,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:17:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193314,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:17:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193314,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193314', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193314', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:17:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:17:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:17:23] Production.INFO: ==15760== Releasing lock...
[2025-01-07 07:17:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:17:23] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:18:01] Production.INFO: ==15825== Lock acquired, processing the job...
[2025-01-07 12:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:18:01] Production.INFO: neon service started
[2025-01-07 12:18:01] Production.INFO: neon service started
[2025-01-07 12:18:01] Production.INFO: ==15825== Releasing lock...
[2025-01-07 12:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:18:02] Production.INFO: ==15827== Lock acquired, processing the job...
[2025-01-07 07:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 12:18:02] Production.INFO: ==15829== Lock acquired, processing the job...
[2025-01-07 12:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:18:02] Production.INFO: ==15829== Releasing lock...
[2025-01-07 12:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:18:02] Production.INFO: ==15827== Releasing lock...
[2025-01-07 07:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:18:03] Production.INFO: ==15834== Lock acquired, processing the job...
[2025-01-07 07:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:18:03] Production.INFO: ==15832== Lock acquired, processing the job...
[2025-01-07 07:18:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10464 #Starts#
[2025-01-07 07:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:18:03] Production.INFO: -- Xero Api Check --
[2025-01-07 07:18:03] Production.INFO: ==15838== Lock acquired, processing the job...
[2025-01-07 07:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:18:03] Production.INFO: ==15836== Lock acquired, processing the job...
[2025-01-07 07:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:18:03] Production.INFO: ==15844== Lock acquired, processing the job...
[2025-01-07 07:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:18:03] Production.INFO: ==15840== Lock acquired, processing the job...
[2025-01-07 07:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:18:03] Production.INFO: ==15842== Lock acquired, processing the job...
[2025-01-07 07:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 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-07 07:18:03] Production.INFO: count ==21
[2025-01-07 07: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-07 07:18:03] Production.INFO: count ==21
[2025-01-07 07:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193317') start
[2025-01-07 07:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193317') end
[2025-01-07 07:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:18:03] Production.INFO: 1
[2025-01-07 07:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:18:03] Production.INFO: Account Balance Start.
[2025-01-07 07:18:03] Production.INFO: CreateAllLog Start
[2025-01-07 07:18:03] Production.INFO: 117
[2025-01-07 07:18:03] Production.INFO: Date 2024-12-08
[2025-01-07 07:18:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:18:03] Production.INFO: ==15844== Releasing lock...
[2025-01-07 07:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:18:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:18:03] Production.INFO: ==15836== Releasing lock...
[2025-01-07 07:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:18:03] Production.INFO: Date 2024-12-09
[2025-01-07 07:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:18:04] Production.INFO: Date 2024-12-10
[2025-01-07 07:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:18:04] Production.INFO: Date 2024-12-11
[2025-01-07 07:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:18:04] Production.INFO: Date 2024-12-12
[2025-01-07 07:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:18:04] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 855
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.577762
[namelookup_time] => 0.154506
[connect_time] => 0.155795
[pretransfer_time] => 0.423636
[size_upload] => 82
[size_download] => 2755
[speed_download] => 4768
[speed_upload] => 141
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.57771
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.33
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 42442
)
[2025-01-07 07:18:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTIyODQsImV4cCI6MTczNjI1MjU4NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjUyMjg0LCJhdF9oYXNoIjoiTzQ1NTRZRjNOTlNCMXpybXdXQWU4dyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.SbHRlwVxhN0ttEyD3AG6Zxa4VO15SDtRI53DO8Y1Qs4qicAnEMRdHkOBE1XZ40_5sF3BBdY75N4ryS9tawkFbuM38xbEOOa9_qrg1v7Oc8ABi8JbeB15ocbL6VA-Er9HsdrXMOcYOlZUCjP1SWsaWp8XSrMnaRWf1DM22XemZCav7feErWiKzG9nXSRO-D6xIpfrX2hXTGITfM58VS5lhNw21G83saTXqmDADfQ4UxwhfNuhy5t4Vrh9LEeWIxQ4FlCPe8_dsu1zK1iC_NqioGRS-F8ANzBcsuWKoZsIgQ7bbxcy-Nwd96ePruEq0Y1Ghp2ReNd9-ws0DCe4Jumi2A
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTIyODQsImV4cCI6MTczNjI1NDA4NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.BhsWo_q4zte5LxB9pee65K8r5A05IknzMjJH9nIMP5RJsPxS8Kz3k4dkSv_dldhoQnJvowYQ6BELtSrqVHA6DzSm2hxy8SNzH6l93kS2hKP4j0IjOnqUqSyAYXhj1dMu7sExHgBBxDd2EmK2vX2vXLCXRQKp3nGNF5Q63VI6E8XaH9imQG6eDe_5FxES7Uy4m10Y81H2BZyZ5rN4pQp2p4hGtOg4V5hKCFAApuM4p93UDcbYn107JLwHnuLo4lSaDB6RlKDd_EDN9N8mHfL_uPOBTaocYZMJiabhodiIUeMp7YW8OiChS8crPnBjwOE3I4V8jWD1s4oZH4Ns6S6E0A
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => bIE3MWI9SOGwB9aIz5QMK41ObjB88URV-Yp1Hbmdgwg
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 07:18:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTIyODQsImV4cCI6MTczNjI1MjU4NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjUyMjg0LCJhdF9oYXNoIjoiTzQ1NTRZRjNOTlNCMXpybXdXQWU4dyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.SbHRlwVxhN0ttEyD3AG6Zxa4VO15SDtRI53DO8Y1Qs4qicAnEMRdHkOBE1XZ40_5sF3BBdY75N4ryS9tawkFbuM38xbEOOa9_qrg1v7Oc8ABi8JbeB15ocbL6VA-Er9HsdrXMOcYOlZUCjP1SWsaWp8XSrMnaRWf1DM22XemZCav7feErWiKzG9nXSRO-D6xIpfrX2hXTGITfM58VS5lhNw21G83saTXqmDADfQ4UxwhfNuhy5t4Vrh9LEeWIxQ4FlCPe8_dsu1zK1iC_NqioGRS-F8ANzBcsuWKoZsIgQ7bbxcy-Nwd96ePruEq0Y1Ghp2ReNd9-ws0DCe4Jumi2A
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTIyODQsImV4cCI6MTczNjI1NDA4NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.BhsWo_q4zte5LxB9pee65K8r5A05IknzMjJH9nIMP5RJsPxS8Kz3k4dkSv_dldhoQnJvowYQ6BELtSrqVHA6DzSm2hxy8SNzH6l93kS2hKP4j0IjOnqUqSyAYXhj1dMu7sExHgBBxDd2EmK2vX2vXLCXRQKp3nGNF5Q63VI6E8XaH9imQG6eDe_5FxES7Uy4m10Y81H2BZyZ5rN4pQp2p4hGtOg4V5hKCFAApuM4p93UDcbYn107JLwHnuLo4lSaDB6RlKDd_EDN9N8mHfL_uPOBTaocYZMJiabhodiIUeMp7YW8OiChS8crPnBjwOE3I4V8jWD1s4oZH4Ns6S6E0A
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => bIE3MWI9SOGwB9aIz5QMK41ObjB88URV-Yp1Hbmdgwg
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 07:18:04] Production.ERROR: done
[2025-01-07 07:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:18:04] Production.INFO: AccountID 87
[2025-01-07 07:18:04] Production.INFO: AccountName Small Business Owners & Professionals Association
[2025-01-07 07:18:04] Production.INFO: Checkcustomer
[2025-01-07 07:18:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Small%20Business%20Owners%20%26%20Professionals%20Association"
[2025-01-07 07:18:04] Production.INFO: Date 2024-12-13
[2025-01-07 07:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:18:04] Production.INFO: Date 2024-12-14
[2025-01-07 07:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:18:04] Production.INFO: Date 2024-12-15
[2025-01-07 07:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:18:04] Production.INFO: Date 2024-12-16
[2025-01-07 07:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:18:04] Production.ERROR: done
[2025-01-07 07:18:04] Production.INFO: Date 2024-12-17
[2025-01-07 07:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:18:04] Production.INFO: Date 2024-12-18
[2025-01-07 07:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:18:04] Production.INFO: Date 2024-12-19
[2025-01-07 07:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:18:04] Production.INFO: Date 2024-12-20
[2025-01-07 07:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:18:04] Production.INFO: Date 2024-12-21
[2025-01-07 07:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:18:04] Production.INFO: Date 2024-12-22
[2025-01-07 07:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:18:04] Production.INFO: Date 2024-12-23
[2025-01-07 07:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:18:04] Production.INFO: Date 2024-12-24
[2025-01-07 07:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:18:04] Production.INFO: Date 2024-12-25
[2025-01-07 07:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:18:04] Production.INFO: Date 2024-12-26
[2025-01-07 07:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:18:04] Production.INFO: Date 2024-12-27
[2025-01-07 07:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:18:04] Production.INFO: Date 2024-12-28
[2025-01-07 07:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:18:04] Production.INFO: Date 2024-12-29
[2025-01-07 07:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:18:04] Production.INFO: Date 2024-12-30
[2025-01-07 07:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:18:04] Production.INFO: Date 2024-12-31
[2025-01-07 07:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:18:04] Production.INFO: Date 2025-01-01
[2025-01-07 07:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:18:04] Production.INFO: Date 2025-01-02
[2025-01-07 07:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:18:05] Production.INFO: Date 2025-01-03
[2025-01-07 07:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:18:05] Production.INFO: Date 2025-01-04
[2025-01-07 07:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:18:05] Production.INFO: Date 2025-01-05
[2025-01-07 07:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:18:05] Production.INFO: Date 2025-01-06
[2025-01-07 07:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:18:05] Production.INFO: Date 2025-01-07
[2025-01-07 07:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:18:05] Production.INFO: Total Charge 0
[2025-01-07 07:18:05] Production.INFO: CreateAllLog End
[2025-01-07 07:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:18:05
[end_date_ymd] => 2025-01-07 07:18:05
[RateCDR] => 1
)
[2025-01-07 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-07 04:18:05' and `end` < '2025-01-07 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-07 07:18:05] Production.INFO: Account Balance End.
[2025-01-07 07:18:05] Production.ERROR: CronJobId end 12
[2025-01-07 07:18:05] Production.INFO: ==15840== Releasing lock...
[2025-01-07 07:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:18:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:18:06] Production.INFO: Contact id print CheckCustomer Case===e8c42b4a-0408-4ca6-a815-dbd8da598a80
[2025-01-07 07:18:06] Production.INFO: -- count --1
[2025-01-07 07:18:06] Production.INFO: -- Xero Add Inovice --
[2025-01-07 07:18:06] Production.INFO: CheckInvoice xerov2: INV11253
[2025-01-07 07:18:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11253
[2025-01-07 07:18:08] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 07:18:09] Production.INFO: Invoice SubTotal 8.050000
[2025-01-07 07:18:09] Production.INFO: Invoice DetTotal 8.05
[2025-01-07 07:18:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Small%20Business%20Owners%20%26%20Professionals%20Association"
[2025-01-07 07:18:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 07:18:12] Production.ERROR: CronJobId end10
[2025-01-07 07:18:12] Production.INFO: ==15838== Releasing lock...
[2025-01-07 07:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:18:13] Production.INFO: call_cost start
[2025-01-07 07:18:13] Production.INFO: call_cost end
[2025-01-07 07:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:18:14] Production.INFO: ==15834== Releasing lock...
[2025-01-07 07:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:18:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 07:18:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 07:18:19] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 11-21-2024 To 12-20-2024",Quantity : 1,UnitAmount : 0.550000,LineAmount : 0.550000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 1,UnitAmount : 5.000000,LineAmount : 5.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (18666781385 - 45 BRAMALEA RD STE 202 BRAMPTON, ON L6T2W4 CANADA)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 07:18:19] Production.INFO: count ==75
[2025-01-07 07:18:19] Production.ERROR: pbx CDR StartTime 2025-01-07 04:18:05 - End Time 2025-01-07 07:18:05
[2025-01-07 07:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193319', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193319', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193319', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193319', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:18:19] Production.INFO: ProcessCDR(1,14193319,1,1,2)
[2025-01-07 07:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193319,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193319,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193319,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:18:21] Production.INFO: ==== result =====
[2025-01-07 07:18:21] Production.INFO: {
"Id": "a9cfc534-d151-4cbd-ad91-9c4399044c93",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736252301388)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "7e624ca7-66d0-47cd-9a4e-5ecf2f8f7a4b",
"InvoiceNumber": "INV11253",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 9.10,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "e8c42b4a-0408-4ca6-a815-dbd8da598a80",
"ContactStatus": "ACTIVE",
"Name": "Small Business Owners & Professionals Association",
"FirstName": "Paul",
"LastName": "Mann",
"EmailAddress": "paul.mann@aaxelinsurance.com",
"BankAccountDetails": "",
"TaxNumber": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"AddressLine1": "145 Royal Crest Court",
"AddressLine2": "Unit 50B",
"AddressLine3": "",
"AddressLine4": "",
"City": "Markham",
"Region": "ON",
"PostalCode": "L3R9Z4",
"Country": "Canada",
"AttentionTo": "Paul Mann"
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "(800) 3108531",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "8003108531",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1487615948263+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-21T00:00:00",
"Date": "\/Date(1734739200000+0000)\/",
"DueDateString": "2025-01-20T00:00:00",
"DueDate": "\/Date(1737331200000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "From 11-21-2024 To 12-20-2024",
"UnitAmount": 0.55,
"TaxType": "TAX020",
"TaxAmount": 0.07,
"LineAmount": 0.55,
"AccountCode": "234",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "7a1bc4c9-fe7c-4b1d-9a64-7a546ecd9075",
"AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "License for a Pay As You Go Cloud Phone extension",
"UnitAmount": 5.00,
"TaxType": "TAX020",
"TaxAmount": 0.65,
"LineAmount": 5.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "aaf13b5e-bdcb-459f-a8f9-9e3e72c8f613",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (18666781385 - 45 BRAMALEA RD STE 202 BRAMPTON, ON L6T2W4 CANADA)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "cd0e4a7a-725d-46fa-abb8-3df56521e0aa",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 8.05,
"TotalTax": 1.05,
"Total": 9.10,
"UpdatedDateUTC": "\/Date(1736252301327+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 07:18:21] Production.INFO: -- Create Invoice id --7e624ca7-66d0-47cd-9a4e-5ecf2f8f7a4b
[2025-01-07 07:18:21] Production.INFO: -- Create Invoice Done --
[2025-01-07 07:18:21] Production.INFO: -- Xero End Inovice --
[2025-01-07 07:18:21] Production.INFO: ==15832== Releasing lock...
[2025-01-07 07:18:21] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10464 #Stops#
[2025-01-07 07:18:21] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 07:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193319,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193319', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193319', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:18:22] Production.INFO: ==15842== Releasing lock...
[2025-01-07 07:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:18:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:19:01] Production.INFO: ==15929== Lock acquired, processing the job...
[2025-01-07 12:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:19:01] Production.INFO: neon service started
[2025-01-07 12:19:01] Production.INFO: neon service started
[2025-01-07 12:19:01] Production.INFO: ==15929== Releasing lock...
[2025-01-07 12:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:19:02] Production.INFO: ==15931== Lock acquired, processing the job...
[2025-01-07 07:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 12:19:02] Production.INFO: ==15933== Lock acquired, processing the job...
[2025-01-07 12:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:19:02] Production.INFO: ==15933== Releasing lock...
[2025-01-07 12:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:19:02] Production.INFO: ==15931== Releasing lock...
[2025-01-07 07:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:19:03] Production.INFO: ==15936== Lock acquired, processing the job...
[2025-01-07 07:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:19:03] Production.INFO: ==15938== Lock acquired, processing the job...
[2025-01-07 07:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:19:03] Production.INFO: ==15944== Lock acquired, processing the job...
[2025-01-07 07:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:19:03] Production.INFO: ==15942== Lock acquired, processing the job...
[2025-01-07 07:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:19:03] Production.INFO: ==15938== Releasing lock...
[2025-01-07 07:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:19:04] Production.INFO: ==15940== Lock acquired, processing the job...
[2025-01-07 07:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:19:04] Production.INFO: ==15946== Lock acquired, processing the job...
[2025-01-07 07:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:19:04] Production.INFO: Account Balance Start.
[2025-01-07 07:19:04] Production.INFO: CreateAllLog Start
[2025-01-07 07:19:04] Production.INFO: 117
[2025-01-07 07:19:04] Production.INFO: Date 2024-12-08
[2025-01-07 07:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:19:04] Production.INFO: Date 2024-12-09
[2025-01-07 07:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:19:04] Production.ERROR: done
[2025-01-07 07:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:19:04] Production.INFO: Date 2024-12-10
[2025-01-07 07:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:19:04] Production.INFO: count ==21
[2025-01-07 07:19:04] Production.INFO: Date 2024-12-11
[2025-01-07 07:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:19:04] Production.INFO: count ==21
[2025-01-07 07:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193323') start
[2025-01-07 07:19:04] Production.INFO: Date 2024-12-12
[2025-01-07 07:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:19:04] Production.ERROR: done
[2025-01-07 07:19:04] Production.INFO: Date 2024-12-13
[2025-01-07 07:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193323') end
[2025-01-07 07:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:19:04] Production.INFO: 1
[2025-01-07 07:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:19:04] Production.INFO: Date 2024-12-14
[2025-01-07 07:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:19:04] Production.INFO: Date 2024-12-15
[2025-01-07 07:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:19:04] Production.INFO: ==15946== Releasing lock...
[2025-01-07 07:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:19:04] Production.INFO: Date 2024-12-16
[2025-01-07 07:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:19:04] Production.INFO: Date 2024-12-17
[2025-01-07 07:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:19:04] Production.INFO: Date 2024-12-18
[2025-01-07 07:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:19:04] Production.INFO: Date 2024-12-19
[2025-01-07 07:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:19:04] Production.INFO: Date 2024-12-20
[2025-01-07 07:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:19:04] Production.INFO: Date 2024-12-21
[2025-01-07 07:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:19:04] Production.INFO: Date 2024-12-22
[2025-01-07 07:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:19:04] Production.INFO: Date 2024-12-23
[2025-01-07 07:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:19:04] Production.INFO: Date 2024-12-24
[2025-01-07 07:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:19:04] Production.INFO: Date 2024-12-25
[2025-01-07 07:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:19:05] Production.INFO: Date 2024-12-26
[2025-01-07 07:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:19:05] Production.INFO: Date 2024-12-27
[2025-01-07 07:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:19:05] Production.INFO: Date 2024-12-28
[2025-01-07 07:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:19:05] Production.INFO: Date 2024-12-29
[2025-01-07 07:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:19:05] Production.INFO: Date 2024-12-30
[2025-01-07 07:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:19:05] Production.INFO: Date 2024-12-31
[2025-01-07 07:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:19:05] Production.INFO: Date 2025-01-01
[2025-01-07 07:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:19:05] Production.INFO: Date 2025-01-02
[2025-01-07 07:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:19:05] Production.INFO: Date 2025-01-03
[2025-01-07 07:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:19:05] Production.INFO: Date 2025-01-04
[2025-01-07 07:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:19:05] Production.INFO: Date 2025-01-05
[2025-01-07 07:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:19:05] Production.INFO: Date 2025-01-06
[2025-01-07 07:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:19:05] Production.INFO: Date 2025-01-07
[2025-01-07 07:19:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:19:05] Production.INFO: Total Charge 0
[2025-01-07 07:19:05] Production.INFO: CreateAllLog End
[2025-01-07 07:19:05] Production.INFO: Account Balance End.
[2025-01-07 07:19:05] Production.ERROR: CronJobId end 12
[2025-01-07 07:19:05] Production.INFO: ==15942== Releasing lock...
[2025-01-07 07:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:19:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:19:05
[end_date_ymd] => 2025-01-07 07:19:05
[RateCDR] => 1
)
[2025-01-07 07:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 04:19:05' and `end` < '2025-01-07 07:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 07:19:14] Production.ERROR: CronJobId end10
[2025-01-07 07:19:14] Production.INFO: ==15940== Releasing lock...
[2025-01-07 07:19:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:19:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:19:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:19:15] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:19:15] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:19:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:19:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:19:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:19:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:19:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:19:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:19:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:19:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:19:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:19:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:19:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:19:15] Production.INFO: call_cost start
[2025-01-07 07:19:15] Production.INFO: call_cost end
[2025-01-07 07:19:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:19:16] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:19:16] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:19:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:19:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:19:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:19:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:19:16] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:19:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:19:16] Production.INFO: ==15936== Releasing lock...
[2025-01-07 07:19:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:19:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:19:19] Production.INFO: count ==75
[2025-01-07 07:19:19] Production.ERROR: pbx CDR StartTime 2025-01-07 04:19:05 - End Time 2025-01-07 07:19:05
[2025-01-07 07:19:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193324', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193324', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193324', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193324', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:19:19] Production.INFO: ProcessCDR(1,14193324,1,1,2)
[2025-01-07 07:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193324,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193324,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193324,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193324,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193324', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193324', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:19:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:19:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:19:22] Production.INFO: ==15944== Releasing lock...
[2025-01-07 07:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:19:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:20:02] Production.INFO: ==16006== Lock acquired, processing the job...
[2025-01-07 12:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:20:02] Production.INFO: neon service started
[2025-01-07 12:20:02] Production.INFO: neon service started
[2025-01-07 12:20:02] Production.INFO: ==16006== Releasing lock...
[2025-01-07 12:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:20:02] Production.INFO: ==16009== Lock acquired, processing the job...
[2025-01-07 07:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:20:03] Production.INFO: ==16009== Releasing lock...
[2025-01-07 07:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:20:03] Production.INFO: ==16011== Lock acquired, processing the job...
[2025-01-07 12:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:20:03] Production.INFO: ==16011== Releasing lock...
[2025-01-07 12:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:20:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:20:04] Production.INFO: ==16013== Lock acquired, processing the job...
[2025-01-07 07:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 07:20:04] Production.INFO: ==16015== Lock acquired, processing the job...
[2025-01-07 07:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 07:20:04] Production.INFO: ==16019== Lock acquired, processing the job...
[2025-01-07 07:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 07:20:04] Production.INFO: ==16013== Releasing lock...
[2025-01-07 07:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 07:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 07:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:20:04] Production.INFO: ==16025== Lock acquired, processing the job...
[2025-01-07 07:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 07:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:20:04] Production.INFO: ==16017== Lock acquired, processing the job...
[2025-01-07 07:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:20:04] Production.INFO: ==16021== Lock acquired, processing the job...
[2025-01-07 07:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:20:04] Production.INFO: ==16023== Lock acquired, processing the job...
[2025-01-07 07:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:20:04] Production.INFO: ==16027== Lock acquired, processing the job...
[2025-01-07 07:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:20:04] Production.INFO: Account Balance Start.
[2025-01-07 07:20:04] Production.INFO: CreateAllLog Start
[2025-01-07 07:20:04] Production.INFO: 117
[2025-01-07 07:20:04] Production.INFO: Date 2024-12-08
[2025-01-07 07:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:20:04] Production.ERROR: done
[2025-01-07 07:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 07:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14193329', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 07:20:05] Production.INFO: Date 2024-12-09
[2025-01-07 07:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 07: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-07 07:20:05] Production.INFO: Date 2024-12-10
[2025-01-07 07:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:20:05] Production.INFO: count ==21
[2025-01-07 07:20:05] Production.INFO: Date 2024-12-11
[2025-01-07 07:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:20:05] Production.ERROR: done
[2025-01-07 07: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-07 07:20:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:20:05] Production.INFO: count ==21
[2025-01-07 07:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14193328') start
[2025-01-07 07:20:05] Production.INFO: Date 2024-12-12
[2025-01-07 07:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:20:05] Production.INFO: Date 2024-12-13
[2025-01-07 07:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:20:05] Production.INFO: ==16017== Releasing lock...
[2025-01-07 07:20:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:20:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:20:05] Production.ERROR: done
[2025-01-07 07:20:05] Production.INFO: Date 2024-12-14
[2025-01-07 07:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14193328') end
[2025-01-07 07:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:20:05] Production.INFO: 1
[2025-01-07 07:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:20:05] Production.INFO: Date 2024-12-15
[2025-01-07 07:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:20:05] Production.INFO: ==16027== Releasing lock...
[2025-01-07 07:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:20:05] Production.INFO: Date 2024-12-16
[2025-01-07 07:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:20:05] Production.INFO: Date 2024-12-17
[2025-01-07 07:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:20:05] Production.INFO: Date 2024-12-18
[2025-01-07 07:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:20:05] Production.INFO: Date 2024-12-19
[2025-01-07 07:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:20:05] Production.INFO: Date 2024-12-20
[2025-01-07 07:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:20:05] Production.INFO: Date 2024-12-21
[2025-01-07 07:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:20:05] Production.INFO: Date 2024-12-22
[2025-01-07 07:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:20:05] Production.INFO: Date 2024-12-23
[2025-01-07 07:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:20:05] Production.INFO: Date 2024-12-24
[2025-01-07 07:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:20:05] Production.INFO: Date 2024-12-25
[2025-01-07 07:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:20:05] Production.INFO: Date 2024-12-26
[2025-01-07 07:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:20:05] Production.INFO: Date 2024-12-27
[2025-01-07 07:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:20:05] Production.INFO: Date 2024-12-28
[2025-01-07 07:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:20:05] Production.INFO: Date 2024-12-29
[2025-01-07 07:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:20:05] Production.INFO: Date 2024-12-30
[2025-01-07 07:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:20:05] Production.INFO: Date 2024-12-31
[2025-01-07 07:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:20:05] Production.INFO: Date 2025-01-01
[2025-01-07 07:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:20:06] Production.INFO: Date 2025-01-02
[2025-01-07 07:20:06] Production.INFO: Reseller ==> 0
[2025-01-07 07:20:06] Production.INFO: Date 2025-01-03
[2025-01-07 07:20:06] Production.INFO: Reseller ==> 0
[2025-01-07 07:20:06] Production.INFO: Date 2025-01-04
[2025-01-07 07:20:06] Production.INFO: Reseller ==> 0
[2025-01-07 07:20:06] Production.INFO: Date 2025-01-05
[2025-01-07 07:20:06] Production.INFO: Reseller ==> 0
[2025-01-07 07:20:06] Production.INFO: Date 2025-01-06
[2025-01-07 07:20:06] Production.INFO: Reseller ==> 0
[2025-01-07 07:20:06] Production.INFO: Date 2025-01-07
[2025-01-07 07:20:06] Production.INFO: Reseller ==> 0
[2025-01-07 07:20:06] Production.INFO: Total Charge 0
[2025-01-07 07:20:06] Production.INFO: CreateAllLog End
[2025-01-07 07:20:06] Production.INFO: Account Balance End.
[2025-01-07 07:20:06] Production.ERROR: CronJobId end 12
[2025-01-07 07:20:06] Production.INFO: ==16021== Releasing lock...
[2025-01-07 07:20:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:20:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:20:06
[end_date_ymd] => 2025-01-07 07:20:06
[RateCDR] => 1
)
[2025-01-07 07:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 04:20:06' and `end` < '2025-01-07 07:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 07:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14193329', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 07:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 07:20:09] Production.INFO: ProcessCDR(1,14193329,1,1,2)
[2025-01-07 07:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14193329,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14193329,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:20:09] Production.INFO: ==16025== Releasing lock...
[2025-01-07 07:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 07:20:09] Production.INFO: 26 MB #Memory Used#
[2025-01-07 07:20:13] Production.ERROR: CronJobId end10
[2025-01-07 07:20:13] Production.INFO: ==16019== Releasing lock...
[2025-01-07 07:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:20:15] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:20:15] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:20:15] Production.INFO: call_cost start
[2025-01-07 07:20:15] Production.INFO: call_cost end
[2025-01-07 07:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:20:16] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:20:16] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:20:16] Production.INFO: ==16015== Releasing lock...
[2025-01-07 07:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:20:19] Production.INFO: count ==77
[2025-01-07 07:20:19] Production.ERROR: pbx CDR StartTime 2025-01-07 04:20:06 - End Time 2025-01-07 07:20:06
[2025-01-07 07:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193330', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193330', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193330', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193330', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:20:19] Production.INFO: ProcessCDR(1,14193330,1,1,2)
[2025-01-07 07:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193330,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193330,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193330,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193330,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193330', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193330', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:20:22] Production.INFO: ==16023== Releasing lock...
[2025-01-07 07:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:20:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:21:01] Production.INFO: ==16081== Lock acquired, processing the job...
[2025-01-07 12:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:21:01] Production.INFO: neon service started
[2025-01-07 12:21:01] Production.INFO: neon service started
[2025-01-07 12:21:01] Production.INFO: ==16081== Releasing lock...
[2025-01-07 12:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 12:21:02] Production.INFO: ==16085== Lock acquired, processing the job...
[2025-01-07 12:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:21:02] Production.INFO: ==16085== Releasing lock...
[2025-01-07 12:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:21:02] Production.INFO: ==16083== Lock acquired, processing the job...
[2025-01-07 07:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:21:02] Production.INFO: ==16083== Releasing lock...
[2025-01-07 07:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:21:03] Production.INFO: ==16088== Lock acquired, processing the job...
[2025-01-07 07:21:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10465 #Starts#
[2025-01-07 07:21:03] Production.INFO: ==16090== Lock acquired, processing the job...
[2025-01-07 07:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:21:03] Production.INFO: ==16094== Lock acquired, processing the job...
[2025-01-07 07:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:21:03] Production.INFO: -- Xero Api Check --
[2025-01-07 07:21:03] Production.INFO: ==16096== Lock acquired, processing the job...
[2025-01-07 07:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:21:03] Production.INFO: ==16092== Lock acquired, processing the job...
[2025-01-07 07:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:21:03] Production.INFO: ==16098== Lock acquired, processing the job...
[2025-01-07 07:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:21:03] Production.INFO: ==16100== Lock acquired, processing the job...
[2025-01-07 07:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:21:03] Production.INFO: Account Balance Start.
[2025-01-07 07:21:03] Production.INFO: CreateAllLog Start
[2025-01-07 07:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:21:03] Production.INFO: 117
[2025-01-07 07:21:03] Production.INFO: Date 2024-12-08
[2025-01-07 07:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:21:03] Production.INFO: Date 2024-12-09
[2025-01-07 07:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:21:03] Production.INFO: Date 2024-12-10
[2025-01-07 07:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:21:03] Production.INFO: Date 2024-12-11
[2025-01-07 07:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:21:03] Production.INFO: ==16092== Releasing lock...
[2025-01-07 07:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:21:03] Production.INFO: Date 2024-12-12
[2025-01-07 07:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 07:21:04] Production.INFO: count ==21
[2025-01-07 07:21:04] Production.INFO: Date 2024-12-13
[2025-01-07 07:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:21:04] Production.INFO: count ==21
[2025-01-07 07:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193334') start
[2025-01-07 07:21:04] Production.INFO: Date 2024-12-14
[2025-01-07 07:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:21:04] Production.ERROR: done
[2025-01-07 07:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:21:04] Production.INFO: Date 2024-12-15
[2025-01-07 07:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193334') end
[2025-01-07 07:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:21:04] Production.INFO: 1
[2025-01-07 07:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:21:04] Production.INFO: Date 2024-12-16
[2025-01-07 07:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:21:04] Production.INFO: Date 2024-12-17
[2025-01-07 07:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:21:04] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 855
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.705127
[namelookup_time] => 0.271851
[connect_time] => 0.273367
[pretransfer_time] => 0.609871
[size_upload] => 82
[size_download] => 2755
[speed_download] => 3907
[speed_upload] => 116
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.705081
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.33
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 42474
)
[2025-01-07 07:21:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTI0NjQsImV4cCI6MTczNjI1Mjc2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjUyNDY0LCJhdF9oYXNoIjoiQjFrUVlRU3pkQmVJZkxWLUd6S050ZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.gT_OdT9p6C6ZOuuFx-UIcVU4To0vlNNUcHS5uK5GJljEuqZyf44KwnOYIIhnltUiwBg2gkEzOOeMhXkgHBGXR5fHrTNNoMT6t_jyK4QLa-VwNZfWjpPfTff_aOgLRI9veGVJ8KP7fV3UstY40449ktN8-0bVWWSSqzsF2fBL3aWOdrLCd3mRjxKm5d_cPr6WdlSgV6xjNem73iLPNMv1a0qfX_iH-djxWTWjwdJIQLNWXA9TDnJqaF8M4_LfAqHtTwJJuCuZqMOek8rSMK20mctiEzWnBrYRzIpGUHUn4hImD7hWotcbyM1c4C0of75NetpP_DVrdHi0xsfVWAJpqQ
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTI0NjQsImV4cCI6MTczNjI1NDI2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.QEPxrJa5M8OUGoMNViGLJ-CLa7xcXMMk0lqEB8iqRkNGKPbtjlziLyp_LWXXSNxVBFaYPmNuth-S1XKixhD1bkeIf3aaIEOT2JCQKKlWqXIqoxRfVCB-592D1j-I5egEifav-bpNCmBfmv0ohKzxtWJin-AT2B-2irNTaz7ihJql5xGQQh9MHLzderP4Y6z4r-Xt4aGH80wV6n4qgQr20w3Z3-CFPWYwV3-dP4U63AjRKx-QQTE8x7JJzOMa7Qj1818XbsLYFjak6bnVLXFM67PHTtzqAsBkVJAIB6VCnQi0Wyk6zBNjq6Ao_Oak0GADvQKhcEogkQYCrgzLG0WenQ
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => 3t70uwYgWH0mMu5xYa48Y3q_j8h3qb__ptq-7XrOe3E
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 07:21:04] Production.INFO: ==16100== Releasing lock...
[2025-01-07 07:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:21:04] Production.ERROR: done
[2025-01-07 07:21:04] Production.INFO: Date 2024-12-18
[2025-01-07 07:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:21:04] Production.INFO: Date 2024-12-19
[2025-01-07 07:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:21:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTI0NjQsImV4cCI6MTczNjI1Mjc2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjUyNDY0LCJhdF9oYXNoIjoiQjFrUVlRU3pkQmVJZkxWLUd6S050ZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.gT_OdT9p6C6ZOuuFx-UIcVU4To0vlNNUcHS5uK5GJljEuqZyf44KwnOYIIhnltUiwBg2gkEzOOeMhXkgHBGXR5fHrTNNoMT6t_jyK4QLa-VwNZfWjpPfTff_aOgLRI9veGVJ8KP7fV3UstY40449ktN8-0bVWWSSqzsF2fBL3aWOdrLCd3mRjxKm5d_cPr6WdlSgV6xjNem73iLPNMv1a0qfX_iH-djxWTWjwdJIQLNWXA9TDnJqaF8M4_LfAqHtTwJJuCuZqMOek8rSMK20mctiEzWnBrYRzIpGUHUn4hImD7hWotcbyM1c4C0of75NetpP_DVrdHi0xsfVWAJpqQ
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTI0NjQsImV4cCI6MTczNjI1NDI2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.QEPxrJa5M8OUGoMNViGLJ-CLa7xcXMMk0lqEB8iqRkNGKPbtjlziLyp_LWXXSNxVBFaYPmNuth-S1XKixhD1bkeIf3aaIEOT2JCQKKlWqXIqoxRfVCB-592D1j-I5egEifav-bpNCmBfmv0ohKzxtWJin-AT2B-2irNTaz7ihJql5xGQQh9MHLzderP4Y6z4r-Xt4aGH80wV6n4qgQr20w3Z3-CFPWYwV3-dP4U63AjRKx-QQTE8x7JJzOMa7Qj1818XbsLYFjak6bnVLXFM67PHTtzqAsBkVJAIB6VCnQi0Wyk6zBNjq6Ao_Oak0GADvQKhcEogkQYCrgzLG0WenQ
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => 3t70uwYgWH0mMu5xYa48Y3q_j8h3qb__ptq-7XrOe3E
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 07:21:04] Production.INFO: AccountID 53
[2025-01-07 07:21:04] Production.INFO: AccountName Plus Travel Group
[2025-01-07 07:21:04] Production.INFO: Checkcustomer
[2025-01-07 07:21:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plus%20Travel%20Group"
[2025-01-07 07:21:04] Production.INFO: Date 2024-12-20
[2025-01-07 07:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:21:04] Production.INFO: Date 2024-12-21
[2025-01-07 07:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:21:04] Production.INFO: Date 2024-12-22
[2025-01-07 07:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:21:04] Production.INFO: Date 2024-12-23
[2025-01-07 07:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:21:04] Production.INFO: Date 2024-12-24
[2025-01-07 07:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:21:04] Production.INFO: Date 2024-12-25
[2025-01-07 07:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:21:04] Production.INFO: Date 2024-12-26
[2025-01-07 07:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:21:04] Production.INFO: Date 2024-12-27
[2025-01-07 07:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:21:04] Production.INFO: Date 2024-12-28
[2025-01-07 07:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:21:04] Production.INFO: Date 2024-12-29
[2025-01-07 07:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:21:04] Production.INFO: Date 2024-12-30
[2025-01-07 07:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:21:04] Production.INFO: Date 2024-12-31
[2025-01-07 07:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:21:04] Production.INFO: Date 2025-01-01
[2025-01-07 07:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:21:04] Production.INFO: Date 2025-01-02
[2025-01-07 07:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:21:04] Production.INFO: Date 2025-01-03
[2025-01-07 07:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:21:04] Production.INFO: Date 2025-01-04
[2025-01-07 07:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:21:04] Production.INFO: Date 2025-01-05
[2025-01-07 07:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:21:04] Production.INFO: Date 2025-01-06
[2025-01-07 07:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:21:04] Production.INFO: Date 2025-01-07
[2025-01-07 07:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:21:05] Production.INFO: Total Charge 0
[2025-01-07 07:21:05] Production.INFO: CreateAllLog End
[2025-01-07 07:21:05] Production.INFO: Account Balance End.
[2025-01-07 07:21:05] Production.ERROR: CronJobId end 12
[2025-01-07 07:21:05] Production.INFO: ==16096== Releasing lock...
[2025-01-07 07:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:21:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:21:05
[end_date_ymd] => 2025-01-07 07:21:05
[RateCDR] => 1
)
[2025-01-07 07:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 04:21:05' and `end` < '2025-01-07 07:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 07:21:06] Production.INFO: Contact id print CheckCustomer Case===5f6b39a6-c5bb-485f-9fdd-a6c7a1eccc47
[2025-01-07 07:21:06] Production.INFO: -- count --1
[2025-01-07 07:21:06] Production.INFO: -- Xero Add Inovice --
[2025-01-07 07:21:06] Production.INFO: CheckInvoice xerov2: INV50007
[2025-01-07 07:21:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV50007
[2025-01-07 07:21:09] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 07:21:09] Production.INFO: ========================== Exception occured =============================
[2025-01-07 07:21:09] Production.ERROR: exception 'ErrorException' with message 'Undefined offset: 80' in /var/www/html/onswitch.neon.service/app/lib/XeroV2.php:0
Stack trace:
#0 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined offse...', '/var/www/html/o...', 0, Array)
#1 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->GetInvoiceData()
#2 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->CreateInvoice()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/XeroInvoicePostV2.php(0): App\Lib\XeroV2->addInvoices()
#4 [internal function]: App\Console\Commands\XeroInvoicePostV2->fire()
#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\XeroInvoicePostV2), 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-07 07:21:09] Production.INFO: ========================== Exception updated in job and email sent =============================
[2025-01-07 07:21:09] Production.INFO: ==16088== Releasing lock...
[2025-01-07 07:21:09] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10465 #Stops#
[2025-01-07 07:21:09] Production.INFO: 27.5 MB #Memory Used#
[2025-01-07 07:21:12] Production.ERROR: CronJobId end10
[2025-01-07 07:21:12] Production.INFO: ==16094== Releasing lock...
[2025-01-07 07:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:21:14] Production.INFO: call_cost start
[2025-01-07 07:21:14] Production.INFO: call_cost end
[2025-01-07 07:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:21:14] Production.INFO: ==16090== Releasing lock...
[2025-01-07 07:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:21:22] Production.INFO: count ==77
[2025-01-07 07:21:22] Production.ERROR: pbx CDR StartTime 2025-01-07 04:21:05 - End Time 2025-01-07 07:21:05
[2025-01-07 07:21:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:21:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193335', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:21:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193335', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:21:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193335', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:21:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193335', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:21:22] Production.INFO: ProcessCDR(1,14193335,1,1,2)
[2025-01-07 07:21:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193335,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:21:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193335,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:21:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193335,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:21:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193335,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:21:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193335', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:21:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193335', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:21:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:21:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:21:25] Production.INFO: ==16098== Releasing lock...
[2025-01-07 07:21:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:21:25] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:22:02] Production.INFO: ==16159== Lock acquired, processing the job...
[2025-01-07 12:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:22:02] Production.INFO: neon service started
[2025-01-07 12:22:02] Production.INFO: neon service started
[2025-01-07 12:22:02] Production.INFO: ==16159== Releasing lock...
[2025-01-07 12:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 12:22:02] Production.INFO: ==16163== Lock acquired, processing the job...
[2025-01-07 12:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:22:02] Production.INFO: ==16163== Releasing lock...
[2025-01-07 12:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:22:02] Production.INFO: ==16161== Lock acquired, processing the job...
[2025-01-07 07:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:22:02] Production.INFO: ==16161== Releasing lock...
[2025-01-07 07:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:22:03] Production.INFO: ==16166== Lock acquired, processing the job...
[2025-01-07 07:22:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10466 #Starts#
[2025-01-07 07:22:03] Production.INFO: ==16168== Lock acquired, processing the job...
[2025-01-07 07:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:22:03] Production.INFO: -- Xero Api Check --
[2025-01-07 07:22:03] Production.INFO: ==16170== Lock acquired, processing the job...
[2025-01-07 07:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:22:03] Production.INFO: ==16172== Lock acquired, processing the job...
[2025-01-07 07:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:22:04] Production.INFO: ==16174== Lock acquired, processing the job...
[2025-01-07 07:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:22:04] Production.INFO: ==16176== Lock acquired, processing the job...
[2025-01-07 07:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:22:04] Production.INFO: ==16178== Lock acquired, processing the job...
[2025-01-07 07:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:22:04] Production.INFO: Account Balance Start.
[2025-01-07 07:22:04] Production.INFO: CreateAllLog Start
[2025-01-07 07:22:04] Production.INFO: 117
[2025-01-07 07:22:04] Production.INFO: Date 2024-12-08
[2025-01-07 07:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:22:04] Production.INFO: Date 2024-12-09
[2025-01-07 07:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:22:04] Production.INFO: count ==21
[2025-01-07 07:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:22:04] Production.INFO: count ==21
[2025-01-07 07:22:04] Production.ERROR: done
[2025-01-07 07:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:22:04] Production.INFO: Date 2024-12-10
[2025-01-07 07:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193339') start
[2025-01-07 07:22:04] Production.INFO: Date 2024-12-11
[2025-01-07 07:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:22:04] Production.INFO: Date 2024-12-12
[2025-01-07 07:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:22:04] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 855
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.685056
[namelookup_time] => 0.275106
[connect_time] => 0.283556
[pretransfer_time] => 0.524775
[size_upload] => 82
[size_download] => 2755
[speed_download] => 4021
[speed_upload] => 119
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.685022
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.33
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 42484
)
[2025-01-07 07:22:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTI1MjQsImV4cCI6MTczNjI1MjgyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjUyNTI0LCJhdF9oYXNoIjoic2h0YkxLYlhRZS1iVlBfYnRaQkVqZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.g65ZnxJjAmpkw6nD6eOmRXdPYB2Nwl1Y1oOZ3cgEvunNkWnKiQVTLBJQhmtVQQ19IwuOb9kn0Eh_TodM1Hd6DJmV8Nnm_Pjc62u5N-2fStWBa_u4UaZRGMLjvvDo5XzCEAjMI1fXIyMBKopTzp7H3oxm3mtPRH518btnnuJ6URXhqf_OJN8oDjNSs04hxQslLTctg_h1A3UuPs4coSEHUsnYDHUT3dGT9_NuG8HJolRS0P7fBdEJ25MVRT-hCSwn6bDNVVAVscMqE2fssDYCPD98PiFWAxJa0f15bhe1dZgZd28TfE0r9gWSIRYjAukPXwSIS6RIdVFkZAfXGTgMkg
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTI1MjQsImV4cCI6MTczNjI1NDMyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.rF59eaLOqEOdTrJD8ArdXKUn31UWb7UliMNrzdbjI5gqhNuOea5auriNWv7qW4NElldmVMnxA64R6LRjB4o2Hzw2RjlDnWw7fCLFtuKP3_zh2D5bdCbN5avQ-0fvzNYwrZ1jwOsSKdFH14HdneHT0SiNAP1Y6ew2aIczLHcnsLmVDPvVE1lolD0ftjtbrYxhXfKlryptjUfRMN_7oiwINrV9Sqj1o6DzZmywHCaCBIdGocELCohiMnbWhkEXg1Vko9oT8i6OqpaD7bNbMcztYdjlIiGyZMFjDUmTO3T6ioGoehX4IdOm-NHS9DMlGbMakvS0pfgvr0LNmH5HJk4wyg
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => 91QpwSXJa12C0VV1Lm_UYeJ3UlVTUx6_p79m28hFHVE
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 07:22:04] Production.INFO: ==16170== Releasing lock...
[2025-01-07 07:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:22:04] Production.ERROR: done
[2025-01-07 07:22:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTI1MjQsImV4cCI6MTczNjI1MjgyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjUyNTI0LCJhdF9oYXNoIjoic2h0YkxLYlhRZS1iVlBfYnRaQkVqZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.g65ZnxJjAmpkw6nD6eOmRXdPYB2Nwl1Y1oOZ3cgEvunNkWnKiQVTLBJQhmtVQQ19IwuOb9kn0Eh_TodM1Hd6DJmV8Nnm_Pjc62u5N-2fStWBa_u4UaZRGMLjvvDo5XzCEAjMI1fXIyMBKopTzp7H3oxm3mtPRH518btnnuJ6URXhqf_OJN8oDjNSs04hxQslLTctg_h1A3UuPs4coSEHUsnYDHUT3dGT9_NuG8HJolRS0P7fBdEJ25MVRT-hCSwn6bDNVVAVscMqE2fssDYCPD98PiFWAxJa0f15bhe1dZgZd28TfE0r9gWSIRYjAukPXwSIS6RIdVFkZAfXGTgMkg
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTI1MjQsImV4cCI6MTczNjI1NDMyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.rF59eaLOqEOdTrJD8ArdXKUn31UWb7UliMNrzdbjI5gqhNuOea5auriNWv7qW4NElldmVMnxA64R6LRjB4o2Hzw2RjlDnWw7fCLFtuKP3_zh2D5bdCbN5avQ-0fvzNYwrZ1jwOsSKdFH14HdneHT0SiNAP1Y6ew2aIczLHcnsLmVDPvVE1lolD0ftjtbrYxhXfKlryptjUfRMN_7oiwINrV9Sqj1o6DzZmywHCaCBIdGocELCohiMnbWhkEXg1Vko9oT8i6OqpaD7bNbMcztYdjlIiGyZMFjDUmTO3T6ioGoehX4IdOm-NHS9DMlGbMakvS0pfgvr0LNmH5HJk4wyg
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => 91QpwSXJa12C0VV1Lm_UYeJ3UlVTUx6_p79m28hFHVE
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 07:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193339') end
[2025-01-07 07:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:22:04] Production.INFO: 1
[2025-01-07 07:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:22:04] Production.INFO: Date 2024-12-13
[2025-01-07 07:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:22:04] Production.INFO: Date 2024-12-14
[2025-01-07 07:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:22:04] Production.INFO: Date 2024-12-15
[2025-01-07 07:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:22:04] Production.INFO: ==16178== Releasing lock...
[2025-01-07 07:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:22:04] Production.INFO: AccountID 37
[2025-01-07 07:22:04] Production.INFO: AccountName Quality Car Rentals (AutoQuest)
[2025-01-07 07:22:04] Production.INFO: Checkcustomer
[2025-01-07 07:22:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quality%20Car%20Rentals%20%28AutoQuest%29"
[2025-01-07 07:22:04] Production.INFO: Date 2024-12-16
[2025-01-07 07:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:22:04] Production.INFO: Date 2024-12-17
[2025-01-07 07:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:22:04] Production.INFO: Date 2024-12-18
[2025-01-07 07:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:22:04] Production.INFO: Date 2024-12-19
[2025-01-07 07:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:22:04] Production.INFO: Date 2024-12-20
[2025-01-07 07:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:22:04] Production.INFO: Date 2024-12-21
[2025-01-07 07:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:22:04] Production.INFO: Date 2024-12-22
[2025-01-07 07:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:22:04] Production.INFO: Date 2024-12-23
[2025-01-07 07:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:22:04] Production.INFO: Date 2024-12-24
[2025-01-07 07:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:22:04] Production.INFO: Date 2024-12-25
[2025-01-07 07:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:22:04] Production.INFO: Date 2024-12-26
[2025-01-07 07:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:22:04] Production.INFO: Date 2024-12-27
[2025-01-07 07:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:22:04] Production.INFO: Date 2024-12-28
[2025-01-07 07:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:22:05] Production.INFO: Date 2024-12-29
[2025-01-07 07:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:22:05] Production.INFO: Date 2024-12-30
[2025-01-07 07:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:22:05] Production.INFO: Date 2024-12-31
[2025-01-07 07:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:22:05] Production.INFO: Date 2025-01-01
[2025-01-07 07:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:22:05] Production.INFO: Date 2025-01-02
[2025-01-07 07:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:22:05] Production.INFO: Date 2025-01-03
[2025-01-07 07:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:22:05] Production.INFO: Date 2025-01-04
[2025-01-07 07:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:22:05] Production.INFO: Date 2025-01-05
[2025-01-07 07:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:22:05] Production.INFO: Date 2025-01-06
[2025-01-07 07:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:22:05] Production.INFO: Date 2025-01-07
[2025-01-07 07:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:22:05] Production.INFO: Total Charge 0
[2025-01-07 07:22:05] Production.INFO: CreateAllLog End
[2025-01-07 07:22:05] Production.INFO: Account Balance End.
[2025-01-07 07:22:05] Production.ERROR: CronJobId end 12
[2025-01-07 07:22:05] Production.INFO: ==16174== Releasing lock...
[2025-01-07 07:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:22:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:22:05
[end_date_ymd] => 2025-01-07 07:22:05
[RateCDR] => 1
)
[2025-01-07 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-07 04:22:05' and `end` < '2025-01-07 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-07 07:22:07] Production.INFO: Contact id print CheckCustomer Case===d97f29cf-e0f8-4b9a-bb8e-aaec76dd5612
[2025-01-07 07:22:07] Production.INFO: -- count --1
[2025-01-07 07:22:07] Production.INFO: -- Xero Add Inovice --
[2025-01-07 07:22:07] Production.INFO: CheckInvoice xerov2: INV11282
[2025-01-07 07:22:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11282
[2025-01-07 07:22:10] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 07:22:10] Production.INFO: Invoice SubTotal 350.240000
[2025-01-07 07:22:10] Production.INFO: Invoice DetTotal 350.24
[2025-01-07 07:22:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quality%20Car%20Rentals%20%28AutoQuest%29"
[2025-01-07 07:22:12] Production.ERROR: CronJobId end10
[2025-01-07 07:22:12] Production.INFO: ==16172== Releasing lock...
[2025-01-07 07:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:22:13] Production.INFO: call_cost start
[2025-01-07 07:22:13] Production.INFO: call_cost end
[2025-01-07 07:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:22:14] Production.INFO: ==16168== Releasing lock...
[2025-01-07 07:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:22:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 07:22:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 07:22:18] Production.INFO: count ==77
[2025-01-07 07:22:18] Production.ERROR: pbx CDR StartTime 2025-01-07 04:22:05 - End Time 2025-01-07 07:22:05
[2025-01-07 07:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193340', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193340', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193340', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193340', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:22:18] Production.INFO: ProcessCDR(1,14193340,1,1,2)
[2025-01-07 07:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193340,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:22:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 07:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193340,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193340,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:22:22] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 12-01-2024 To 12-31-2024",Quantity : 1,UnitAmount : 15.980000,LineAmount : 15.980000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 17,UnitAmount : 7.000000,LineAmount : 119.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (8243 YONGE ST MARKHAM, ON L3T2C7)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (5 TANGIERS RD NORTH YORK, ON M3J2B1)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (71 ANNE ST S BARRIE, ON L4N2E2)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (14164775948)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (14164309608)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (14164772862)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (14164794438)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (17053001000)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (19054158172)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (19058899642)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "VDSL Internet Service 100mbps/10mbps (1380 Cardiff Blvd Unit 4, Mississauga, ON L5S 1P9)",Quantity : 1,UnitAmount : 131.220000,LineAmount : 131.220000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "LTE Internet Failover Service (1380 Cardiff Blvd Unit 4, Mississauga, ON L5S 1P9)",Quantity : 1,UnitAmount : 63.040000,LineAmount : 63.040000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (17054182705)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (16474175110)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000}
[2025-01-07 07:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193340,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193340', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193340', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:22:22] Production.INFO: ==16176== Releasing lock...
[2025-01-07 07:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:22:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:22:25] Production.INFO: ==== result =====
[2025-01-07 07:22:25] Production.INFO: {
"Id": "e06c84ff-40b2-4744-b79b-f56ea384cd73",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736252545023)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "bc445b94-9dd8-4f36-a178-79cc8f31f45b",
"InvoiceNumber": "INV11282",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 395.84,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "d97f29cf-e0f8-4b9a-bb8e-aaec76dd5612",
"ContactStatus": "ACTIVE",
"Name": "Quality Car Rentals (AutoQuest)",
"FirstName": "Gary",
"LastName": "Letechiver",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1649250056207+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2025-01-01T00:00:00",
"Date": "\/Date(1735689600000+0000)\/",
"DueDateString": "2025-01-31T00:00:00",
"DueDate": "\/Date(1738281600000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "From 12-01-2024 To 12-31-2024",
"UnitAmount": 15.98,
"TaxType": "TAX020",
"TaxAmount": 2.08,
"LineAmount": 15.98,
"AccountCode": "234",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "ef1d538a-f177-43c7-a585-32a8e55575bb",
"AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "License for a Pay As You Go Cloud Phone extension",
"UnitAmount": 7.00,
"TaxType": "TAX020",
"TaxAmount": 15.47,
"LineAmount": 119.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 17.0000,
"DiscountRate": 0.00,
"LineItemID": "82457616-82a8-4e3b-aa45-9963656eca60",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (8243 YONGE ST MARKHAM, ON L3T2C7)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "9ee9a58e-4c91-487c-8aae-c31a7af48ad8",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (5 TANGIERS RD NORTH YORK, ON M3J2B1)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "079f53c1-a952-4370-ad45-3577867cab64",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (71 ANNE ST S BARRIE, ON L4N2E2)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "3c8bc81a-04e2-46a4-b25c-f331292ea5cb",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (14164775948)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "5aebb5c8-af3b-4c86-be0f-9c1288eeaa07",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (14164309608)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "c3bc1575-353b-4210-9d56-9c2b3592c727",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (14164772862)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "94613fe5-eac0-49b4-94ae-616ad66248f1",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (14164794438)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "b08cc3bb-a386-48c7-a1d2-84e18d445f58",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (17053001000)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "ff99c8dc-87f6-4551-9c9e-d930b24dc9f5",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (19054158172)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "cc7e1834-316c-4414-bf99-72f4a6e8593c",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (19058899642)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "5d9465cc-a32a-4d43-8a23-b3adc998d1fc",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "VDSL Internet Service 100mbps/10mbps (1380 Cardiff Blvd Unit 4, Mississauga, ON L5S 1P9)",
"UnitAmount": 131.22,
"TaxType": "TAX020",
"TaxAmount": 17.06,
"LineAmount": 131.22,
"AccountCode": "204",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "7501d2ec-857a-418b-941a-a85d0b5d2db4",
"AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "LTE Internet Failover Service (1380 Cardiff Blvd Unit 4, Mississauga, ON L5S 1P9)",
"UnitAmount": 63.04,
"TaxType": "TAX020",
"TaxAmount": 8.20,
"LineAmount": 63.04,
"AccountCode": "204",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "067ffe3e-95a4-4fcd-8a62-f46ebc762ddf",
"AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (17054182705)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "110dbed4-b9f2-4d2c-8281-10fa9c72021c",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (16474175110)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "22fcd8af-b153-463f-9d5c-ba5ecc758483",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 350.24,
"TotalTax": 45.60,
"Total": 395.84,
"UpdatedDateUTC": "\/Date(1736252544913+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 07:22:25] Production.INFO: -- Create Invoice id --bc445b94-9dd8-4f36-a178-79cc8f31f45b
[2025-01-07 07:22:25] Production.INFO: -- Create Invoice Done --
[2025-01-07 07:22:25] Production.INFO: -- Xero End Inovice --
[2025-01-07 07:22:25] Production.INFO: ==16166== Releasing lock...
[2025-01-07 07:22:25] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10466 #Stops#
[2025-01-07 07:22:25] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 12:23:01] Production.INFO: ==16255== Lock acquired, processing the job...
[2025-01-07 12:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:23:01] Production.INFO: neon service started
[2025-01-07 12:23:01] Production.INFO: neon service started
[2025-01-07 12:23:01] Production.INFO: ==16255== Releasing lock...
[2025-01-07 12:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:23:02] Production.INFO: ==16257== Lock acquired, processing the job...
[2025-01-07 07:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 12:23:02] Production.INFO: ==16259== Lock acquired, processing the job...
[2025-01-07 12:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:23:02] Production.INFO: ==16259== Releasing lock...
[2025-01-07 12:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:23:02] Production.INFO: ==16257== Releasing lock...
[2025-01-07 07:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:23:03] Production.INFO: ==16270== Lock acquired, processing the job...
[2025-01-07 07:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:23:03] Production.INFO: ==16268== Lock acquired, processing the job...
[2025-01-07 07:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:23:03] Production.INFO: ==16265== Lock acquired, processing the job...
[2025-01-07 07:23:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10467 #Starts#
[2025-01-07 07:23:03] Production.INFO: ==16272== Lock acquired, processing the job...
[2025-01-07 07:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:23:03] Production.INFO: -- Xero Api Check --
[2025-01-07 07:23:03] Production.INFO: ==16274== Lock acquired, processing the job...
[2025-01-07 07:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:23:03] Production.INFO: ==16270== Releasing lock...
[2025-01-07 07:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:23:03] Production.INFO: ==16278== Lock acquired, processing the job...
[2025-01-07 07:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:23:03] Production.INFO: ==16276== Lock acquired, processing the job...
[2025-01-07 07:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:23:03] Production.INFO: Account Balance Start.
[2025-01-07 07:23:03] Production.INFO: CreateAllLog Start
[2025-01-07 07:23:03] Production.INFO: 117
[2025-01-07 07:23:04] Production.INFO: count ==21
[2025-01-07 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-07 07:23:04] Production.INFO: count ==21
[2025-01-07 07:23:04] Production.INFO: Date 2024-12-08
[2025-01-07 07:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193343') start
[2025-01-07 07:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:23:04] Production.ERROR: done
[2025-01-07 07:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:23:04] Production.INFO: Date 2024-12-09
[2025-01-07 07:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193343') end
[2025-01-07 07:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:23:04] Production.INFO: 1
[2025-01-07 07:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:23:04] Production.INFO: Date 2024-12-10
[2025-01-07 07:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:23:04] Production.INFO: Date 2024-12-11
[2025-01-07 07:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:23:04] Production.INFO: ==16278== Releasing lock...
[2025-01-07 07:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:23:04] Production.ERROR: done
[2025-01-07 07:23:04] Production.INFO: Date 2024-12-12
[2025-01-07 07:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:23:04] Production.INFO: Date 2024-12-13
[2025-01-07 07:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:23:04] Production.INFO: Date 2024-12-14
[2025-01-07 07:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:23:04] Production.INFO: Date 2024-12-15
[2025-01-07 07:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:23:04] Production.INFO: Date 2024-12-16
[2025-01-07 07:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:23:04] Production.INFO: Date 2024-12-17
[2025-01-07 07:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:23:04] Production.INFO: Date 2024-12-18
[2025-01-07 07:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:23:04] Production.INFO: Date 2024-12-19
[2025-01-07 07:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:23:04] Production.INFO: Date 2024-12-20
[2025-01-07 07:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:23:04] Production.INFO: Date 2024-12-21
[2025-01-07 07:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:23:04] Production.INFO: Date 2024-12-22
[2025-01-07 07:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:23:04] Production.INFO: Date 2024-12-23
[2025-01-07 07:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:23:04] Production.INFO: Date 2024-12-24
[2025-01-07 07:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:23:04] Production.INFO: Date 2024-12-25
[2025-01-07 07:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:23:04] Production.INFO: Date 2024-12-26
[2025-01-07 07:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:23:04] Production.INFO: Date 2024-12-27
[2025-01-07 07:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:23:04] Production.INFO: Date 2024-12-28
[2025-01-07 07:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:23: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] => 858
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 1.271476
[namelookup_time] => 0.537466
[connect_time] => 0.630648
[pretransfer_time] => 1.017651
[size_upload] => 82
[size_download] => 2755
[speed_download] => 2166
[speed_upload] => 64
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 1.271429
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.72.248.201
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 60604
)
[2025-01-07 07:23:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTI1ODQsImV4cCI6MTczNjI1Mjg4NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjUyNTg0LCJhdF9oYXNoIjoiaC1MYjNXWDNuRFYtWkcwZENIY0xUQSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.QXR-qEV0TtgJQNya9Bj-ZMl-7qPSu7Ppl5G4a3-_AaEvt8ic23iscW0XrceO05DwMCA-5FHS5metmhk81RhagcGfdgSqO-QP80SJYxL0kY2dkBJ8u5Yy4SdrMAj8xzDHAvWY_zHRMvBbgOfB_1TH-EP62SNgELhNzYvnYfUV5Xv5SvO5zuIv3XHkfhLruAc9_CYXJmGEEZPSWnUYD9DT7elPPKiz-6byNBhSPLLL39GNuLVE3uc-JzJVgCHpPg0f-jin5IJT2IMfjh9fH1olMq0nuShR9lBM5Vnu7B-TTxOqmZUtRFFGaCB6n53-WpJTVIh19XvbPKa8rDmlLzClDw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTI1ODQsImV4cCI6MTczNjI1NDM4NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.p-VWRQEH3cF5Dz1FA_dYmLFrCzBEWP-aQfVY-WfFycYmQHM-mmA-A74zmiGxAJwXEdKSpHLWzJ2p4W5BC5o3LFERSwahC-qwq-3JXkGuVDfLr1HYLIser3Aj9GbAZVwInbe3FJx0hBI4eGoP6SJxquW5TDt33I_T_KZAaP4uu8RnbyXtPT-PU7zB398NY2LHHlYxND2wpixWxpDGcywtHM2jmRXrW_GXyE05jfnJhSa9RZq2lXXVznCfVp7pqMiwRaLe3OA8Zd1rMHYFHW7lHrDsAS43X4Ifge-srq3Wy0xBsePwr4GTgbVxRsa-sSzfLNao9IOt2xJLYRSLjZdC0w
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => 7-59JmxBT3xsz11c1PBZ-I5y6I_uGxnOqBR8YnYoPiU
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 07:23:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTI1ODQsImV4cCI6MTczNjI1Mjg4NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjUyNTg0LCJhdF9oYXNoIjoiaC1MYjNXWDNuRFYtWkcwZENIY0xUQSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.QXR-qEV0TtgJQNya9Bj-ZMl-7qPSu7Ppl5G4a3-_AaEvt8ic23iscW0XrceO05DwMCA-5FHS5metmhk81RhagcGfdgSqO-QP80SJYxL0kY2dkBJ8u5Yy4SdrMAj8xzDHAvWY_zHRMvBbgOfB_1TH-EP62SNgELhNzYvnYfUV5Xv5SvO5zuIv3XHkfhLruAc9_CYXJmGEEZPSWnUYD9DT7elPPKiz-6byNBhSPLLL39GNuLVE3uc-JzJVgCHpPg0f-jin5IJT2IMfjh9fH1olMq0nuShR9lBM5Vnu7B-TTxOqmZUtRFFGaCB6n53-WpJTVIh19XvbPKa8rDmlLzClDw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTI1ODQsImV4cCI6MTczNjI1NDM4NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.p-VWRQEH3cF5Dz1FA_dYmLFrCzBEWP-aQfVY-WfFycYmQHM-mmA-A74zmiGxAJwXEdKSpHLWzJ2p4W5BC5o3LFERSwahC-qwq-3JXkGuVDfLr1HYLIser3Aj9GbAZVwInbe3FJx0hBI4eGoP6SJxquW5TDt33I_T_KZAaP4uu8RnbyXtPT-PU7zB398NY2LHHlYxND2wpixWxpDGcywtHM2jmRXrW_GXyE05jfnJhSa9RZq2lXXVznCfVp7pqMiwRaLe3OA8Zd1rMHYFHW7lHrDsAS43X4Ifge-srq3Wy0xBsePwr4GTgbVxRsa-sSzfLNao9IOt2xJLYRSLjZdC0w
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => 7-59JmxBT3xsz11c1PBZ-I5y6I_uGxnOqBR8YnYoPiU
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 07:23:04] Production.INFO: Date 2024-12-29
[2025-01-07 07:23:04] Production.INFO: AccountID 230
[2025-01-07 07:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:23:04] Production.INFO: AccountName Harbourfront Medicine Cabinet
[2025-01-07 07:23:04] Production.INFO: Checkcustomer
[2025-01-07 07:23:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Harbourfront%20Medicine%20Cabinet"
[2025-01-07 07:23:05] Production.INFO: Date 2024-12-30
[2025-01-07 07:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:23:05] Production.INFO: Date 2024-12-31
[2025-01-07 07:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:23:05] Production.INFO: Date 2025-01-01
[2025-01-07 07:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:23:05] Production.INFO: Date 2025-01-02
[2025-01-07 07:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:23:05] Production.INFO: Date 2025-01-03
[2025-01-07 07:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:23:05] Production.INFO: Date 2025-01-04
[2025-01-07 07:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:23:05] Production.INFO: Date 2025-01-05
[2025-01-07 07:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:23:05] Production.INFO: Date 2025-01-06
[2025-01-07 07:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:23:05] Production.INFO: Date 2025-01-07
[2025-01-07 07:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:23:05
[end_date_ymd] => 2025-01-07 07:23:05
[RateCDR] => 1
)
[2025-01-07 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-07 04:23:05' and `end` < '2025-01-07 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-07 07:23:05] Production.INFO: Total Charge 0
[2025-01-07 07:23:05] Production.INFO: CreateAllLog End
[2025-01-07 07:23:05] Production.INFO: Account Balance End.
[2025-01-07 07:23:05] Production.ERROR: CronJobId end 12
[2025-01-07 07:23:05] Production.INFO: ==16274== Releasing lock...
[2025-01-07 07:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:23:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:23:07] Production.INFO: Contact id print CheckCustomer Case===e4609e79-2a2f-49b0-a0f8-9766de2b1774
[2025-01-07 07:23:07] Production.INFO: -- count --1
[2025-01-07 07:23:07] Production.INFO: -- Xero Add Inovice --
[2025-01-07 07:23:07] Production.INFO: CheckInvoice xerov2: INV11227
[2025-01-07 07:23:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11227
[2025-01-07 07:23:10] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 07:23:10] Production.INFO: ========================== Exception occured =============================
[2025-01-07 07:23:10] Production.ERROR: exception 'ErrorException' with message 'Undefined offset: 47' in /var/www/html/onswitch.neon.service/app/lib/XeroV2.php:0
Stack trace:
#0 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined offse...', '/var/www/html/o...', 0, Array)
#1 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->GetInvoiceData()
#2 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->CreateInvoice()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/XeroInvoicePostV2.php(0): App\Lib\XeroV2->addInvoices()
#4 [internal function]: App\Console\Commands\XeroInvoicePostV2->fire()
#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\XeroInvoicePostV2), 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-07 07:23:10] Production.INFO: ========================== Exception updated in job and email sent =============================
[2025-01-07 07:23:10] Production.INFO: ==16265== Releasing lock...
[2025-01-07 07:23:10] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10467 #Stops#
[2025-01-07 07:23:10] Production.INFO: 27.5 MB #Memory Used#
[2025-01-07 07:23:12] Production.ERROR: CronJobId end10
[2025-01-07 07:23:12] Production.INFO: ==16272== Releasing lock...
[2025-01-07 07:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:23:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:23:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:23:14] Production.INFO: call_cost start
[2025-01-07 07:23:14] Production.INFO: call_cost end
[2025-01-07 07:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:23:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:23:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:23:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:23:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:23:15] Production.INFO: ==16268== Releasing lock...
[2025-01-07 07:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:23:19] Production.INFO: count ==77
[2025-01-07 07:23:19] Production.ERROR: pbx CDR StartTime 2025-01-07 04:23:05 - End Time 2025-01-07 07:23:05
[2025-01-07 07:23:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193345', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193345', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193345', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193345', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:23:19] Production.INFO: ProcessCDR(1,14193345,1,1,2)
[2025-01-07 07:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193345,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:23:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193345,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:23:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193345,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193345,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193345', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193345', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:23:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:23:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:23:22] Production.INFO: ==16276== Releasing lock...
[2025-01-07 07:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:23:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:24:02] Production.INFO: ==16395== Lock acquired, processing the job...
[2025-01-07 12:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:24:02] Production.INFO: neon service started
[2025-01-07 12:24:02] Production.INFO: neon service started
[2025-01-07 12:24:02] Production.INFO: ==16395== Releasing lock...
[2025-01-07 12:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:24:02] Production.INFO: ==16397== Lock acquired, processing the job...
[2025-01-07 07:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:24:02] Production.INFO: ==16397== Releasing lock...
[2025-01-07 07:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:24:02] Production.INFO: ==16399== Lock acquired, processing the job...
[2025-01-07 12:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:24:02] Production.INFO: ==16399== Releasing lock...
[2025-01-07 12:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:24:03] Production.INFO: ==16401== Lock acquired, processing the job...
[2025-01-07 07:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:24:03] Production.INFO: ==16411== Lock acquired, processing the job...
[2025-01-07 07:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:24:03] Production.INFO: ==16409== Lock acquired, processing the job...
[2025-01-07 07:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07: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-07 07:24:03] Production.INFO: ==16403== Lock acquired, processing the job...
[2025-01-07 07:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:24:03] Production.INFO: ==16405== Lock acquired, processing the job...
[2025-01-07 07:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:24:03] Production.INFO: ==16407== Lock acquired, processing the job...
[2025-01-07 07:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:24:03] Production.INFO: count ==21
[2025-01-07 07: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-07 07:24:03] Production.INFO: count ==21
[2025-01-07 07:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193346') start
[2025-01-07 07:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:24:04] Production.INFO: Account Balance Start.
[2025-01-07 07:24:04] Production.INFO: CreateAllLog Start
[2025-01-07 07:24:04] Production.INFO: 117
[2025-01-07 07:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193346') end
[2025-01-07 07:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:24:04] Production.INFO: 1
[2025-01-07 07:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:24:04] Production.ERROR: done
[2025-01-07 07:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:24:04] Production.INFO: Date 2024-12-08
[2025-01-07 07:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:24:04] Production.INFO: ==16411== Releasing lock...
[2025-01-07 07:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:24:04] Production.INFO: Date 2024-12-09
[2025-01-07 07:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:24:04] Production.INFO: Date 2024-12-10
[2025-01-07 07:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:24:04] Production.INFO: ==16403== Releasing lock...
[2025-01-07 07:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:24:04] Production.ERROR: done
[2025-01-07 07:24:04] Production.INFO: Date 2024-12-11
[2025-01-07 07:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:24:04] Production.INFO: Date 2024-12-12
[2025-01-07 07:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:24:04] Production.INFO: Date 2024-12-13
[2025-01-07 07:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:24:04] Production.INFO: Date 2024-12-14
[2025-01-07 07:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:24:04] Production.INFO: Date 2024-12-15
[2025-01-07 07:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:24:04] Production.INFO: Date 2024-12-16
[2025-01-07 07:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:24:04] Production.INFO: Date 2024-12-17
[2025-01-07 07:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:24:04] Production.INFO: Date 2024-12-18
[2025-01-07 07:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:24:04] Production.INFO: Date 2024-12-19
[2025-01-07 07:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:24:04] Production.INFO: Date 2024-12-20
[2025-01-07 07:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:24:04] Production.INFO: Date 2024-12-21
[2025-01-07 07:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:24:04] Production.INFO: Date 2024-12-22
[2025-01-07 07:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:24:04] Production.INFO: Date 2024-12-23
[2025-01-07 07:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:24:04] Production.INFO: Date 2024-12-24
[2025-01-07 07:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:24:04] Production.INFO: Date 2024-12-25
[2025-01-07 07:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:24:04] Production.INFO: Date 2024-12-26
[2025-01-07 07:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:24:04] Production.INFO: Date 2024-12-27
[2025-01-07 07:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:24:04] Production.INFO: Date 2024-12-28
[2025-01-07 07:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:24:04] Production.INFO: Date 2024-12-29
[2025-01-07 07:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:24:04] Production.INFO: Date 2024-12-30
[2025-01-07 07:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:24:05] Production.INFO: Date 2024-12-31
[2025-01-07 07:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:24:05] Production.INFO: Date 2025-01-01
[2025-01-07 07:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:24:05] Production.INFO: Date 2025-01-02
[2025-01-07 07:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:24:05] Production.INFO: Date 2025-01-03
[2025-01-07 07:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:24:05] Production.INFO: Date 2025-01-04
[2025-01-07 07:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:24:05] Production.INFO: Date 2025-01-05
[2025-01-07 07:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:24:05] Production.INFO: Date 2025-01-06
[2025-01-07 07:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:24:05] Production.INFO: Date 2025-01-07
[2025-01-07 07:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:24:05] Production.INFO: Total Charge 0
[2025-01-07 07:24:05] Production.INFO: CreateAllLog End
[2025-01-07 07:24:05] Production.INFO: Account Balance End.
[2025-01-07 07:24:05] Production.ERROR: CronJobId end 12
[2025-01-07 07:24:05] Production.INFO: ==16407== Releasing lock...
[2025-01-07 07:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:24:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:24:05
[end_date_ymd] => 2025-01-07 07:24:05
[RateCDR] => 1
)
[2025-01-07 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-07 04:24:05' and `end` < '2025-01-07 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-07 07:24:12] Production.ERROR: CronJobId end10
[2025-01-07 07:24:12] Production.INFO: ==16405== Releasing lock...
[2025-01-07 07:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:24:13] Production.INFO: call_cost start
[2025-01-07 07:24:13] Production.INFO: call_cost end
[2025-01-07 07:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:24:14] Production.INFO: ==16401== Releasing lock...
[2025-01-07 07:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:24:19] Production.INFO: count ==77
[2025-01-07 07:24:19] Production.ERROR: pbx CDR StartTime 2025-01-07 04:24:05 - End Time 2025-01-07 07:24:05
[2025-01-07 07:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193350', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193350', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193350', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193350', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:24:19] Production.INFO: ProcessCDR(1,14193350,1,1,2)
[2025-01-07 07:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193350,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193350,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193350,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193350,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193350', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193350', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:24:22] Production.INFO: ==16409== Releasing lock...
[2025-01-07 07:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:24:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:25:01] Production.INFO: ==16493== Lock acquired, processing the job...
[2025-01-07 12:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:25:01] Production.INFO: neon service started
[2025-01-07 12:25:01] Production.INFO: neon service started
[2025-01-07 12:25:01] Production.INFO: ==16493== Releasing lock...
[2025-01-07 12:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:25:02] Production.INFO: ==16495== Lock acquired, processing the job...
[2025-01-07 07:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 12:25:02] Production.INFO: ==16497== Lock acquired, processing the job...
[2025-01-07 12:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:25:02] Production.INFO: ==16497== Releasing lock...
[2025-01-07 12:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:25:02] Production.INFO: ==16495== Releasing lock...
[2025-01-07 07:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:25:03] Production.INFO: ==16504== Lock acquired, processing the job...
[2025-01-07 07:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:25:03] Production.INFO: ==16506== Lock acquired, processing the job...
[2025-01-07 07:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:25:03] Production.INFO: ==16508== Lock acquired, processing the job...
[2025-01-07 07:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:25:03] Production.INFO: ==16500== Lock acquired, processing the job...
[2025-01-07 07:25:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10468 #Starts#
[2025-01-07 07:25:03] Production.INFO: Account Balance Start.
[2025-01-07 07:25:03] Production.INFO: CreateAllLog Start
[2025-01-07 07:25:03] Production.INFO: 117
[2025-01-07 07:25:03] Production.INFO: Date 2024-12-08
[2025-01-07 07:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:25:04] Production.INFO: ==16504== Releasing lock...
[2025-01-07 07:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:25:04] Production.INFO: -- Xero Api Check --
[2025-01-07 07:25:04] Production.INFO: ==16502== Lock acquired, processing the job...
[2025-01-07 07:25:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:25:04] Production.INFO: Date 2024-12-09
[2025-01-07 07:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:25:04] Production.INFO: Date 2024-12-10
[2025-01-07 07:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:25:04] Production.INFO: Date 2024-12-11
[2025-01-07 07:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:25:04] Production.INFO: Date 2024-12-12
[2025-01-07 07:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:25:04] Production.INFO: Date 2024-12-13
[2025-01-07 07:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:25:04] Production.INFO: ==16510== Lock acquired, processing the job...
[2025-01-07 07:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:25:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:25:04] Production.INFO: Date 2024-12-14
[2025-01-07 07:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:25:04] Production.INFO: ==16512== Lock acquired, processing the job...
[2025-01-07 07:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:25:04] Production.INFO: Date 2024-12-15
[2025-01-07 07:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:25:04] Production.INFO: Date 2024-12-16
[2025-01-07 07:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:25:04] Production.INFO: Date 2024-12-17
[2025-01-07 07:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 07:25:04] Production.INFO: count ==21
[2025-01-07 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-07 07:25:04] Production.INFO: count ==21
[2025-01-07 07:25:04] Production.INFO: Date 2024-12-18
[2025-01-07 07:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193354') start
[2025-01-07 07:25:04] Production.INFO: Date 2024-12-19
[2025-01-07 07:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:25:04] Production.INFO: Date 2024-12-20
[2025-01-07 07:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:25:04] Production.INFO: Date 2024-12-21
[2025-01-07 07:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:25:04] Production.INFO: Date 2024-12-22
[2025-01-07 07:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:25:04] Production.INFO: Date 2024-12-23
[2025-01-07 07:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:25:04] Production.ERROR: done
[2025-01-07 07:25:04] Production.INFO: Date 2024-12-24
[2025-01-07 07:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193354') end
[2025-01-07 07:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:25:04] Production.INFO: 1
[2025-01-07 07:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:25:04] Production.INFO: Date 2024-12-25
[2025-01-07 07:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:25:04] Production.INFO: Date 2024-12-26
[2025-01-07 07:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:25:04] Production.INFO: Date 2024-12-27
[2025-01-07 07:25:04] Production.INFO: ==16512== Releasing lock...
[2025-01-07 07:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:25:04] Production.ERROR: done
[2025-01-07 07:25:04] Production.INFO: Date 2024-12-28
[2025-01-07 07:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:25:04] Production.INFO: Date 2024-12-29
[2025-01-07 07:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:25:04] Production.INFO: Date 2024-12-30
[2025-01-07 07:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:25:04] Production.INFO: Date 2024-12-31
[2025-01-07 07:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:25:04] Production.INFO: Date 2025-01-01
[2025-01-07 07:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:25:05] Production.INFO: Date 2025-01-02
[2025-01-07 07:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:25:05] Production.INFO: Date 2025-01-03
[2025-01-07 07:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:25:05] Production.INFO: Date 2025-01-04
[2025-01-07 07:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:25:05] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 858
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 1.15535
[namelookup_time] => 0.272319
[connect_time] => 0.276703
[pretransfer_time] => 0.519407
[size_upload] => 82
[size_download] => 2755
[speed_download] => 2384
[speed_upload] => 70
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 1.155311
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.17
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 44612
)
[2025-01-07 07:25:05] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTI3MDUsImV4cCI6MTczNjI1MzAwNSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjUyNzA1LCJhdF9oYXNoIjoicDJLd0M3LW9LSlBaZGozZXFQcFZydyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.LCYl4Kf_6K7ENhzB3IdKkCV4Vr66b6hGiTvXqFgCNEYdF2dKOVQ0LNWdzCwZKBtu1KlpHbxXGH79qsBYiR_Wxa-iYPbJqllskfLmsLDlS8QewsQykig-Wf4VdPjT4lB7Jy56a8jPSKUXc45r_8DNwrh_t0Lv87ozVVpK7ErQLr4JxA9MmeN4k46Iz3TJzQm9h5j9W03U0olUpGBwozzPjp_BeHr0ZKCWKVG_k6BVcDVycMKD63t6dzt4lZO0CjHULEbW15ZLLkokTaIsuu-YBQuIpNNgpnDxQWuco0m0oX0WQvZSvoxSlN_0-PHNvlxIhHGNnjvPkLMqdXL9hd-3_A
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTI3MDUsImV4cCI6MTczNjI1NDUwNSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.HFhhpu4TvjS_uXbmxbK-Uh2zI9jV8bf3StF12ILM2WY6ZASRpVE0fKqb34bZRuP4EjM5um6cg6eKCMdjzcMYOmwD3Qgh1Wt8oW-4yVoCLJnsJBmE_u1r4PvWB1mRpznifvjB5qcyMSIU6n83x1Idv1Xu0H-tSDXSDDmQqG6LxNEdzUUDTWy_K5HAZAwtAPFTYGKF0ooSiDCFOGxhW6H43y3ASPJvcQ76GQFlx1jteeTfLSicaJ6axXr1opRxBo9th8Ut6vnNPHFHvOCJDrWhgIakry_Kb3cgRmTp8doQLtpQpX52D4d31tDMGNtfEVD4BC67EYIzD6j9aVtFVsrzMQ
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => 2bleks_C0yvD7ggOfSfUuIZzFQY1_yNzAIWAXx3_j74
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 07:25:05] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTI3MDUsImV4cCI6MTczNjI1MzAwNSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjUyNzA1LCJhdF9oYXNoIjoicDJLd0M3LW9LSlBaZGozZXFQcFZydyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.LCYl4Kf_6K7ENhzB3IdKkCV4Vr66b6hGiTvXqFgCNEYdF2dKOVQ0LNWdzCwZKBtu1KlpHbxXGH79qsBYiR_Wxa-iYPbJqllskfLmsLDlS8QewsQykig-Wf4VdPjT4lB7Jy56a8jPSKUXc45r_8DNwrh_t0Lv87ozVVpK7ErQLr4JxA9MmeN4k46Iz3TJzQm9h5j9W03U0olUpGBwozzPjp_BeHr0ZKCWKVG_k6BVcDVycMKD63t6dzt4lZO0CjHULEbW15ZLLkokTaIsuu-YBQuIpNNgpnDxQWuco0m0oX0WQvZSvoxSlN_0-PHNvlxIhHGNnjvPkLMqdXL9hd-3_A
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTI3MDUsImV4cCI6MTczNjI1NDUwNSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.HFhhpu4TvjS_uXbmxbK-Uh2zI9jV8bf3StF12ILM2WY6ZASRpVE0fKqb34bZRuP4EjM5um6cg6eKCMdjzcMYOmwD3Qgh1Wt8oW-4yVoCLJnsJBmE_u1r4PvWB1mRpznifvjB5qcyMSIU6n83x1Idv1Xu0H-tSDXSDDmQqG6LxNEdzUUDTWy_K5HAZAwtAPFTYGKF0ooSiDCFOGxhW6H43y3ASPJvcQ76GQFlx1jteeTfLSicaJ6axXr1opRxBo9th8Ut6vnNPHFHvOCJDrWhgIakry_Kb3cgRmTp8doQLtpQpX52D4d31tDMGNtfEVD4BC67EYIzD6j9aVtFVsrzMQ
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => 2bleks_C0yvD7ggOfSfUuIZzFQY1_yNzAIWAXx3_j74
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 07:25:05] Production.INFO: AccountID 192
[2025-01-07 07:25:05] Production.INFO: AccountName Ontario Turtle Conservation Centre
[2025-01-07 07:25:05] Production.INFO: Checkcustomer
[2025-01-07 07:25:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Ontario%20Turtle%20Conservation%20Centre"
[2025-01-07 07:25:05] Production.INFO: Date 2025-01-05
[2025-01-07 07:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:25:05] Production.INFO: Date 2025-01-06
[2025-01-07 07:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:25:05] Production.INFO: Date 2025-01-07
[2025-01-07 07:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:25:05] Production.INFO: Total Charge 0
[2025-01-07 07:25:05] Production.INFO: CreateAllLog End
[2025-01-07 07:25:05] Production.INFO: Account Balance End.
[2025-01-07 07:25:05] Production.ERROR: CronJobId end 12
[2025-01-07 07:25:05] Production.INFO: ==16508== Releasing lock...
[2025-01-07 07:25:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:25:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:25:05
[end_date_ymd] => 2025-01-07 07:25:05
[RateCDR] => 1
)
[2025-01-07 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-07 04:25:05' and `end` < '2025-01-07 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-07 07:25:08] Production.INFO: Contact id print CheckCustomer Case===24cd1aba-5ae0-4087-aad8-a6d157b1a548
[2025-01-07 07:25:08] Production.INFO: -- count --1
[2025-01-07 07:25:08] Production.INFO: -- Xero Add Inovice --
[2025-01-07 07:25:08] Production.INFO: CheckInvoice xerov2: INV11219
[2025-01-07 07:25:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11219
[2025-01-07 07:25:10] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 07:25:10] Production.INFO: Invoice SubTotal 79.750000
[2025-01-07 07:25:10] Production.INFO: Invoice DetTotal 79.75
[2025-01-07 07:25:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Ontario%20Turtle%20Conservation%20Centre"
[2025-01-07 07:25:12] Production.ERROR: CronJobId end10
[2025-01-07 07:25:12] Production.INFO: ==16506== Releasing lock...
[2025-01-07 07:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:25:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 07:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:25:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:25:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:25:14] Production.INFO: call_cost start
[2025-01-07 07:25:14] Production.INFO: call_cost end
[2025-01-07 07:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:25:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:25:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:25:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:25:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:25:15] Production.INFO: ==16502== Releasing lock...
[2025-01-07 07:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:25:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 07:25:19] Production.INFO: count ==77
[2025-01-07 07:25:19] Production.ERROR: pbx CDR StartTime 2025-01-07 04:25:05 - End Time 2025-01-07 07:25:05
[2025-01-07 07:25:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193355', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193355', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193355', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193355', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:25:19] Production.INFO: ProcessCDR(1,14193355,1,1,2)
[2025-01-07 07:25:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193355,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:25:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 07:25:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193355,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:25:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193355,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:25:21] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Restaurant/Retail Package - 4 Line Flat Rate",Quantity : 1,UnitAmount : 45,LineAmount : 45.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 30.000000,"Description": "e911 address registration (17057415000 - 2785 Television Road, Douro-Dummer, ON K9L 1E9)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 1.750000},{taxType:"TAX020",AccountCode : 212,"Description": "PasswordBoss - password management and sharing",Quantity : 6,UnitAmount : 5.500000,LineAmount : 33.000000}
[2025-01-07 07:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193355,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193355', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193355', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:25:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:25:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:25:22] Production.INFO: ==16510== Releasing lock...
[2025-01-07 07:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:25:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:25:27] Production.INFO: ==== result =====
[2025-01-07 07:25:27] Production.INFO: {
"Id": "d3ba9d3f-8194-4176-a274-48c991b82d78",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736252727077)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "69a9b09d-420e-453d-931b-110737c52eb4",
"InvoiceNumber": "INV11219",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 90.12,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.75,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "24cd1aba-5ae0-4087-aad8-a6d157b1a548",
"ContactStatus": "ACTIVE",
"Name": "Ontario Turtle Conservation Centre",
"EmailAddress": "info@ontarioturtle.ca",
"BankAccountDetails": "",
"TaxNumber": "",
"Addresses": [
{
"AddressType": "STREET",
"AddressLine1": "1434 Chemong Road",
"AddressLine2": "Unit 4",
"City": "Selwyn",
"Region": "ON",
"PostalCode": "K9J 6X2",
"Country": "CANADA"
},
{
"AddressType": "POBOX",
"AddressLine1": "1434 Chemong Road",
"AddressLine2": "Unit 4",
"City": "Selwyn",
"Region": "ON",
"PostalCode": "K9J 6X2",
"Country": "CANADA"
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "(705) 741-5000",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1714493843707+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-14T00:00:00",
"Date": "\/Date(1734134400000+0000)\/",
"DueDateString": "2025-01-13T00:00:00",
"DueDate": "\/Date(1736726400000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant/Retail Package - 4 Line Flat Rate",
"UnitAmount": 45.00,
"TaxType": "TAX020",
"TaxAmount": 5.85,
"LineAmount": 45.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "67351bae-d3d9-4697-894c-82d4f73ebd3d",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
},
{
"Description": "e911 address registration (17057415000 - 2785 Television Road, Douro-Dummer, ON K9L 1E9)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.23,
"LineAmount": 1.75,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 30.00,
"LineItemID": "d561ff69-0b50-4e1e-8498-f2ead29f3ace",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountEnteredAsPercent": true,
"DiscountAmount": 0.7500,
"ValidationErrors": []
},
{
"Description": "PasswordBoss - password management and sharing",
"UnitAmount": 5.50,
"TaxType": "TAX020",
"TaxAmount": 4.29,
"LineAmount": 33.00,
"AccountCode": "212",
"Tracking": [],
"Quantity": 6.0000,
"LineItemID": "fa888b54-e85f-481c-9acb-72164bc8bf52",
"AccountID": "f910948c-6e7a-46ea-91d4-60d5bab373c8",
"ValidationErrors": []
}
],
"SubTotal": 79.75,
"TotalTax": 10.37,
"Total": 90.12,
"UpdatedDateUTC": "\/Date(1736252726907+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 07:25:27] Production.INFO: -- Create Invoice id --69a9b09d-420e-453d-931b-110737c52eb4
[2025-01-07 07:25:27] Production.INFO: -- Create Invoice Done --
[2025-01-07 07:25:27] Production.INFO: -- Xero End Inovice --
[2025-01-07 07:25:27] Production.INFO: ==16500== Releasing lock...
[2025-01-07 07:25:27] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10468 #Stops#
[2025-01-07 07:25:27] Production.INFO: 29.75 MB #Memory Used#
[2025-01-07 12:26:02] Production.INFO: ==16598== Lock acquired, processing the job...
[2025-01-07 12:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:26:02] Production.INFO: neon service started
[2025-01-07 12:26:02] Production.INFO: neon service started
[2025-01-07 12:26:02] Production.INFO: ==16598== Releasing lock...
[2025-01-07 12:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:26:02] Production.INFO: ==16601== Lock acquired, processing the job...
[2025-01-07 07:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:26:02] Production.INFO: ==16601== Releasing lock...
[2025-01-07 07:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:26:02] Production.INFO: ==16603== Lock acquired, processing the job...
[2025-01-07 12:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:26:02] Production.INFO: ==16603== Releasing lock...
[2025-01-07 12:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:26:03] Production.INFO: ==16611== Lock acquired, processing the job...
[2025-01-07 07:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:26:03] Production.INFO: ==16605== Lock acquired, processing the job...
[2025-01-07 07:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:26:03] Production.INFO: ==16607== Lock acquired, processing the job...
[2025-01-07 07:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:26:03] Production.INFO: ==16613== Lock acquired, processing the job...
[2025-01-07 07:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:26:03] Production.INFO: Account Balance Start.
[2025-01-07 07:26:03] Production.INFO: CreateAllLog Start
[2025-01-07 07:26:03] Production.INFO: 117
[2025-01-07 07:26:03] Production.INFO: ==16609== Lock acquired, processing the job...
[2025-01-07 07:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:26:03] Production.INFO: Date 2024-12-08
[2025-01-07 07:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:26:03] Production.INFO: ==16615== Lock acquired, processing the job...
[2025-01-07 07:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:26:03] Production.INFO: Date 2024-12-09
[2025-01-07 07:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 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-07 07:26:03] Production.INFO: count ==21
[2025-01-07 07:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:26:03] Production.INFO: Date 2024-12-10
[2025-01-07 07:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:26:03] Production.INFO: count ==21
[2025-01-07 07:26:03] Production.INFO: Date 2024-12-11
[2025-01-07 07:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193359') start
[2025-01-07 07:26:04] Production.ERROR: done
[2025-01-07 07:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:26:04] Production.INFO: Date 2024-12-12
[2025-01-07 07:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:26:04] Production.INFO: ==16607== Releasing lock...
[2025-01-07 07:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:26:04] Production.INFO: Date 2024-12-13
[2025-01-07 07:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193359') end
[2025-01-07 07:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:26:04] Production.INFO: 1
[2025-01-07 07:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:26:04] Production.INFO: Date 2024-12-14
[2025-01-07 07:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:26:04] Production.INFO: ==16615== Releasing lock...
[2025-01-07 07:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:26:04] Production.INFO: Date 2024-12-15
[2025-01-07 07:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:26:04] Production.INFO: Date 2024-12-16
[2025-01-07 07:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:26:04] Production.ERROR: done
[2025-01-07 07:26:04] Production.INFO: Date 2024-12-17
[2025-01-07 07:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:26:04] Production.INFO: Date 2024-12-18
[2025-01-07 07:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:26:04] Production.INFO: Date 2024-12-19
[2025-01-07 07:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:26:04] Production.INFO: Date 2024-12-20
[2025-01-07 07:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:26:04] Production.INFO: Date 2024-12-21
[2025-01-07 07:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:26:04] Production.INFO: Date 2024-12-22
[2025-01-07 07:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:26:04] Production.INFO: Date 2024-12-23
[2025-01-07 07:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:26:04] Production.INFO: Date 2024-12-24
[2025-01-07 07:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:26:04] Production.INFO: Date 2024-12-25
[2025-01-07 07:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:26:04] Production.INFO: Date 2024-12-26
[2025-01-07 07:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:26:04] Production.INFO: Date 2024-12-27
[2025-01-07 07:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:26:04] Production.INFO: Date 2024-12-28
[2025-01-07 07:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:26:05] Production.INFO: Date 2024-12-29
[2025-01-07 07:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:26:05] Production.INFO: Date 2024-12-30
[2025-01-07 07:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:26:05] Production.INFO: Date 2024-12-31
[2025-01-07 07:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:26:05] Production.INFO: Date 2025-01-01
[2025-01-07 07:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:26:05] Production.INFO: Date 2025-01-02
[2025-01-07 07:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:26:05] Production.INFO: Date 2025-01-03
[2025-01-07 07:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:26:05] Production.INFO: Date 2025-01-04
[2025-01-07 07:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:26:05] Production.INFO: Date 2025-01-05
[2025-01-07 07:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:26:05] Production.INFO: Date 2025-01-06
[2025-01-07 07:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:26:05] Production.INFO: Date 2025-01-07
[2025-01-07 07:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:26:05] Production.INFO: Total Charge 0
[2025-01-07 07:26:05] Production.INFO: CreateAllLog End
[2025-01-07 07:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:26:05
[end_date_ymd] => 2025-01-07 07:26:05
[RateCDR] => 1
)
[2025-01-07 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-07 04:26:05' and `end` < '2025-01-07 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-07 07:26:05] Production.INFO: Account Balance End.
[2025-01-07 07:26:05] Production.ERROR: CronJobId end 12
[2025-01-07 07:26:05] Production.INFO: ==16611== Releasing lock...
[2025-01-07 07:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:26:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:26:12] Production.ERROR: CronJobId end10
[2025-01-07 07:26:12] Production.INFO: ==16609== Releasing lock...
[2025-01-07 07:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:26:13] Production.INFO: call_cost start
[2025-01-07 07:26:13] Production.INFO: call_cost end
[2025-01-07 07:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:26:14] Production.INFO: ==16605== Releasing lock...
[2025-01-07 07:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:26:19] Production.INFO: count ==77
[2025-01-07 07:26:19] Production.ERROR: pbx CDR StartTime 2025-01-07 04:26:05 - End Time 2025-01-07 07:26:05
[2025-01-07 07:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193360', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193360', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193360', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193360', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:26:19] Production.INFO: ProcessCDR(1,14193360,1,1,2)
[2025-01-07 07:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193360,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193360,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193360,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193360,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193360', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193360', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:26:22] Production.INFO: ==16613== Releasing lock...
[2025-01-07 07:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:26:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:27:01] Production.INFO: ==16694== Lock acquired, processing the job...
[2025-01-07 12:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:27:01] Production.INFO: neon service started
[2025-01-07 12:27:01] Production.INFO: neon service started
[2025-01-07 12:27:01] Production.INFO: ==16694== Releasing lock...
[2025-01-07 12:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:27:01] Production.INFO: ==16696== Lock acquired, processing the job...
[2025-01-07 07:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:27:02] Production.INFO: ==16696== Releasing lock...
[2025-01-07 07:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:27:02] Production.INFO: ==16698== Lock acquired, processing the job...
[2025-01-07 12:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:27:02] Production.INFO: ==16698== Releasing lock...
[2025-01-07 12:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:27:02] Production.INFO: ==16703== Lock acquired, processing the job...
[2025-01-07 07:27:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:27:03] Production.INFO: ==16709== Lock acquired, processing the job...
[2025-01-07 07:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:27:03] Production.INFO: ==16701== Lock acquired, processing the job...
[2025-01-07 07:27:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10469 #Starts#
[2025-01-07 07:27:03] Production.INFO: Account Balance Start.
[2025-01-07 07:27:03] Production.INFO: CreateAllLog Start
[2025-01-07 07:27:03] Production.INFO: 117
[2025-01-07 07:27:03] Production.INFO: Date 2024-12-08
[2025-01-07 07:27:03] Production.INFO: -- Xero Api Check --
[2025-01-07 07:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:27:03] Production.INFO: Date 2024-12-09
[2025-01-07 07:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:27:03] Production.INFO: Date 2024-12-10
[2025-01-07 07:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:27:03] Production.INFO: Date 2024-12-11
[2025-01-07 07:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:27:03] Production.INFO: ==16705== Lock acquired, processing the job...
[2025-01-07 07:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:27:03] Production.INFO: Date 2024-12-12
[2025-01-07 07:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:27:03] Production.INFO: Date 2024-12-13
[2025-01-07 07:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:27:03] Production.INFO: Date 2024-12-14
[2025-01-07 07:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:27:03] Production.INFO: ==16707== Lock acquired, processing the job...
[2025-01-07 07:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:27:03] Production.INFO: Date 2024-12-15
[2025-01-07 07:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:27:03] Production.INFO: Date 2024-12-16
[2025-01-07 07:27:03] Production.INFO: ==16711== Lock acquired, processing the job...
[2025-01-07 07:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:27:03] Production.INFO: Date 2024-12-17
[2025-01-07 07:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:27:03] Production.INFO: Date 2024-12-18
[2025-01-07 07:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:27:03] Production.INFO: ==16713== Lock acquired, processing the job...
[2025-01-07 07:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:27:03] Production.INFO: Date 2024-12-19
[2025-01-07 07:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:27:03] Production.INFO: ==16705== Releasing lock...
[2025-01-07 07:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:27:03] Production.INFO: Date 2024-12-20
[2025-01-07 07:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 07:27:03] Production.INFO: count ==21
[2025-01-07 07:27:03] Production.ERROR: done
[2025-01-07 07:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:27:03] Production.INFO: Date 2024-12-21
[2025-01-07 07:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 07:27:03] Production.INFO: count ==21
[2025-01-07 07:27:03] Production.INFO: Date 2024-12-22
[2025-01-07 07:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193364') start
[2025-01-07 07:27:04] Production.ERROR: done
[2025-01-07 07:27:04] Production.INFO: Date 2024-12-23
[2025-01-07 07:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:27:04] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 855
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.965794
[namelookup_time] => 0.549667
[connect_time] => 0.560654
[pretransfer_time] => 0.837409
[size_upload] => 82
[size_download] => 2755
[speed_download] => 2852
[speed_upload] => 84
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.965754
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.33
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 42542
)
[2025-01-07 07:27:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTI4MjQsImV4cCI6MTczNjI1MzEyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjUyODI0LCJhdF9oYXNoIjoiTll0YkNxaFlNcGNyZFpWRjd0RDNsQSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.Zyq8MXvsVdYB_DvTlwR4MoWmanbFEJs5hEaBPJGYqRY7WN35i0GHVttYR449qjHamgKpe-J8IuRTMLamYL_4fbC0witdJOGoYTYEZYsK74fVBPbFAbXH2RMzhUKS3RJppMg9gEIU9ZWfYwerfNwpWXMM2ChBa5wEbQGV_SEeMr5jwdcwf3wshMGvBx1jkwmjD0DUZGgqpWwmwAjHaF3IcaeWEGSJzeCLs8itcToCH-LDOUiFzAPjnZz5fig2rYlbIuv-hlz158SloDCnEnj-PhyIugqgGXLZ3aGLGjXKKIXoj8s-QT4HZZvnrkSoyDGjSb8cE6RrLdEJHhETlBLsHQ
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTI4MjQsImV4cCI6MTczNjI1NDYyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.e_VkyUOjHRSQpBdEvd2UIFKxs5_a0Gqrq9ZI5AXxXgdwnXvyqZiitIjBfFJ3QAaCrZW4eZxBVRgey_LHyzFK78aEZ6mYPqEVHJznqhPoQaIOWRN4FzG9uQEfzaXq4THJ4i6ox3g3i0gEv0K1euHpsRjydRX2FdvHjADAgKIJqi4Q8dSv0jStgrfQgzXhB7Czl7FD0Gu_55ZIizUvQSMCuN4DVGj6aIK03U51xU2IftnAhghWqyaLtKlWTBP3S93nYR1mJUY2nIQ8821NrJm2jEy-9yrbqO2VxWdK82WrZjSC3JEgvuK8ogm4K7cjTcwhoVxOEkHtJigiNYXL6Fdwmw
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => H5F9GngoD8IYlxR07E7rvLOdVuLwyYVRiykWzGewBeE
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 07:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193364') end
[2025-01-07 07:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:27:04] Production.INFO: 1
[2025-01-07 07:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:27:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTI4MjQsImV4cCI6MTczNjI1MzEyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjUyODI0LCJhdF9oYXNoIjoiTll0YkNxaFlNcGNyZFpWRjd0RDNsQSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.Zyq8MXvsVdYB_DvTlwR4MoWmanbFEJs5hEaBPJGYqRY7WN35i0GHVttYR449qjHamgKpe-J8IuRTMLamYL_4fbC0witdJOGoYTYEZYsK74fVBPbFAbXH2RMzhUKS3RJppMg9gEIU9ZWfYwerfNwpWXMM2ChBa5wEbQGV_SEeMr5jwdcwf3wshMGvBx1jkwmjD0DUZGgqpWwmwAjHaF3IcaeWEGSJzeCLs8itcToCH-LDOUiFzAPjnZz5fig2rYlbIuv-hlz158SloDCnEnj-PhyIugqgGXLZ3aGLGjXKKIXoj8s-QT4HZZvnrkSoyDGjSb8cE6RrLdEJHhETlBLsHQ
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTI4MjQsImV4cCI6MTczNjI1NDYyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.e_VkyUOjHRSQpBdEvd2UIFKxs5_a0Gqrq9ZI5AXxXgdwnXvyqZiitIjBfFJ3QAaCrZW4eZxBVRgey_LHyzFK78aEZ6mYPqEVHJznqhPoQaIOWRN4FzG9uQEfzaXq4THJ4i6ox3g3i0gEv0K1euHpsRjydRX2FdvHjADAgKIJqi4Q8dSv0jStgrfQgzXhB7Czl7FD0Gu_55ZIizUvQSMCuN4DVGj6aIK03U51xU2IftnAhghWqyaLtKlWTBP3S93nYR1mJUY2nIQ8821NrJm2jEy-9yrbqO2VxWdK82WrZjSC3JEgvuK8ogm4K7cjTcwhoVxOEkHtJigiNYXL6Fdwmw
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => H5F9GngoD8IYlxR07E7rvLOdVuLwyYVRiykWzGewBeE
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 07:27:04] Production.INFO: Date 2024-12-24
[2025-01-07 07:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:27:04] Production.INFO: AccountID 227
[2025-01-07 07:27:04] Production.INFO: Date 2024-12-25
[2025-01-07 07:27:04] Production.INFO: AccountName Quiznos 15184 (Akshay Naik)
[2025-01-07 07:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:27:04] Production.INFO: Checkcustomer
[2025-01-07 07:27:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015184%20%28Akshay%20Naik%29"
[2025-01-07 07:27:04] Production.INFO: ==16713== Releasing lock...
[2025-01-07 07:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:27:04] Production.INFO: Date 2024-12-26
[2025-01-07 07:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:27:04] Production.INFO: Date 2024-12-27
[2025-01-07 07:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:27:04] Production.INFO: Date 2024-12-28
[2025-01-07 07:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:27:04] Production.INFO: Date 2024-12-29
[2025-01-07 07:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:27:04] Production.INFO: Date 2024-12-30
[2025-01-07 07:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:27:04] Production.INFO: Date 2024-12-31
[2025-01-07 07:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:27:04] Production.INFO: Date 2025-01-01
[2025-01-07 07:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:27:04] Production.INFO: Date 2025-01-02
[2025-01-07 07:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:27:04] Production.INFO: Date 2025-01-03
[2025-01-07 07:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:27:04] Production.INFO: Date 2025-01-04
[2025-01-07 07:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:27:04] Production.INFO: Date 2025-01-05
[2025-01-07 07:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:27:04] Production.INFO: Date 2025-01-06
[2025-01-07 07:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:27:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:27:04
[end_date_ymd] => 2025-01-07 07:27:04
[RateCDR] => 1
)
[2025-01-07 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-07 04:27:04' and `end` < '2025-01-07 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-07 07:27:05] Production.INFO: Date 2025-01-07
[2025-01-07 07:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:27:05] Production.INFO: Total Charge 0
[2025-01-07 07:27:05] Production.INFO: CreateAllLog End
[2025-01-07 07:27:05] Production.INFO: Account Balance End.
[2025-01-07 07:27:05] Production.ERROR: CronJobId end 12
[2025-01-07 07:27:05] Production.INFO: ==16709== Releasing lock...
[2025-01-07 07:27:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:27:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:27:06] Production.INFO: Contact id print CheckCustomer Case===7d4d8a6e-9b66-4daf-be5c-0e7e0524121b
[2025-01-07 07:27:06] Production.INFO: -- count --1
[2025-01-07 07:27:06] Production.INFO: -- Xero Add Inovice --
[2025-01-07 07:27:06] Production.INFO: CheckInvoice xerov2: INV11177
[2025-01-07 07:27:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11177
[2025-01-07 07:27:09] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 07:27:09] Production.INFO: Invoice SubTotal 7.500000
[2025-01-07 07:27:09] Production.INFO: Invoice DetTotal 7.5
[2025-01-07 07:27:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015184%20%28Akshay%20Naik%29"
[2025-01-07 07:27:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 07:27:12] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:362
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(362): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_update...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(363): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#4 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->statement()
#5 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::getOutstandingAmount()
#6 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_updateSOAOffSet(1,0))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(363): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#2 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->statement()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::getOutstandingAmount()
#4 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#7 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 {main}
[2025-01-07 07:27:12] Production.ERROR: CronJobId end10
[2025-01-07 07:27:12] Production.INFO: ==16707== Releasing lock...
[2025-01-07 07:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:27:14] Production.INFO: call_cost start
[2025-01-07 07:27:14] Production.INFO: call_cost end
[2025-01-07 07:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:27:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:27:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:27:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:27:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:27:15] Production.INFO: ==16703== Releasing lock...
[2025-01-07 07:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:27:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 07:27:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 07:27:17] Production.INFO: count ==77
[2025-01-07 07:27:17] Production.ERROR: pbx CDR StartTime 2025-01-07 04:27:04 - End Time 2025-01-07 07:27:04
[2025-01-07 07:27:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193365', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193365', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193365', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193365', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:27:17] Production.INFO: ProcessCDR(1,14193365,1,1,2)
[2025-01-07 07:27:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193365,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:27:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193365,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:27:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193365,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:27:20] Production.INFO: =========Invoices String here======{taxType:"TAX012",AccountCode : 203,DiscountRate : 75.000000,"Description": "Restaurant - 1 Line Flat Rate",Quantity : 1,UnitAmount : 19.990000,LineAmount : 5.000000},{taxType:"TAX012",AccountCode : 203,"Description": "e911 address registration (15877911400 - 1015 14 Ave Wainwright, AB T9W 1K5 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 07:27:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193365,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:27:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193365', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:27:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193365', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:27:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:27:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:27:20] Production.INFO: ==16711== Releasing lock...
[2025-01-07 07:27:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:27:20] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:27:23] Production.INFO: ==== result =====
[2025-01-07 07:27:23] Production.INFO: {
"Id": "cd22f697-65a1-47b6-a74c-7ceb8de27851",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736252843194)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "b811a6f0-271d-495e-8483-01989f9b8e37",
"InvoiceNumber": "INV11177",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 7.88,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 14.99,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "7d4d8a6e-9b66-4daf-be5c-0e7e0524121b",
"ContactStatus": "ACTIVE",
"Name": "Quiznos 15184 (Akshay Naik)",
"EmailAddress": "akshaynnaik@gmail.com",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"AddressLine1": "1015 14 Ave.",
"City": "Wainwright",
"Region": "AB",
"PostalCode": "T9W 1K5",
"Country": "Canada"
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1730662363163+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-08T00:00:00",
"Date": "\/Date(1733616000000+0000)\/",
"DueDateString": "2025-01-07T00:00:00",
"DueDate": "\/Date(1736208000000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 1 Line Flat Rate",
"UnitAmount": 19.99,
"TaxType": "TAX012",
"TaxAmount": 0.25,
"LineAmount": 5.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 75.00,
"LineItemID": "5f2d23a4-892e-4f3c-8625-e14d94635d31",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountEnteredAsPercent": true,
"DiscountAmount": 14.9900,
"ValidationErrors": []
},
{
"Description": "e911 address registration (15877911400 - 1015 14 Ave Wainwright, AB T9W 1K5 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX012",
"TaxAmount": 0.13,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "bea1dc1d-cc7b-4358-9425-225c7c862322",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
}
],
"SubTotal": 7.50,
"TotalTax": 0.38,
"Total": 7.88,
"UpdatedDateUTC": "\/Date(1736252843133+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 07:27:23] Production.INFO: -- Create Invoice id --b811a6f0-271d-495e-8483-01989f9b8e37
[2025-01-07 07:27:23] Production.INFO: -- Create Invoice Done --
[2025-01-07 07:27:23] Production.INFO: -- Xero End Inovice --
[2025-01-07 07:27:23] Production.INFO: ==16701== Releasing lock...
[2025-01-07 07:27:23] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10469 #Stops#
[2025-01-07 07:27:23] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 12:28:02] Production.INFO: ==16800== Lock acquired, processing the job...
[2025-01-07 12:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:28:02] Production.INFO: neon service started
[2025-01-07 12:28:02] Production.INFO: neon service started
[2025-01-07 12:28:02] Production.INFO: ==16800== Releasing lock...
[2025-01-07 12:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:28:02] Production.INFO: ==16802== Lock acquired, processing the job...
[2025-01-07 07:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:28:02] Production.INFO: ==16802== Releasing lock...
[2025-01-07 07:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:28:02] Production.INFO: ==16804== Lock acquired, processing the job...
[2025-01-07 12:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:28:02] Production.INFO: ==16804== Releasing lock...
[2025-01-07 12:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:28:03] Production.INFO: ==16811== Lock acquired, processing the job...
[2025-01-07 07:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:28:03] Production.INFO: ==16809== Lock acquired, processing the job...
[2025-01-07 07:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:28:03] Production.INFO: ==16807== Lock acquired, processing the job...
[2025-01-07 07:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:28:04] Production.INFO: ==16813== Lock acquired, processing the job...
[2025-01-07 07:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:28:04] Production.INFO: ==16815== Lock acquired, processing the job...
[2025-01-07 07:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:28:04] Production.INFO: Account Balance Start.
[2025-01-07 07:28:04] Production.INFO: CreateAllLog Start
[2025-01-07 07:28:04] Production.INFO: 117
[2025-01-07 07:28:04] Production.INFO: Date 2024-12-08
[2025-01-07 07:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:28:04] Production.INFO: ==16817== Lock acquired, processing the job...
[2025-01-07 07:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:28:04] Production.INFO: Date 2024-12-09
[2025-01-07 07:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:28:04] Production.INFO: Date 2024-12-10
[2025-01-07 07:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:28:04] Production.INFO: Date 2024-12-11
[2025-01-07 07:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:28:04] Production.INFO: ==16809== Releasing lock...
[2025-01-07 07:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:28:04] Production.INFO: Date 2024-12-12
[2025-01-07 07:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:28:04] Production.INFO: Date 2024-12-13
[2025-01-07 07:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:28:04] Production.INFO: Date 2024-12-14
[2025-01-07 07:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:28:04] Production.INFO: count ==21
[2025-01-07 07:28:04] Production.ERROR: done
[2025-01-07 07:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:28:04] Production.INFO: count ==21
[2025-01-07 07:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193369') start
[2025-01-07 07:28:04] Production.INFO: Date 2024-12-15
[2025-01-07 07:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:28:04] Production.INFO: Date 2024-12-16
[2025-01-07 07:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:28:04] Production.INFO: Date 2024-12-17
[2025-01-07 07:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193369') end
[2025-01-07 07:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:28:04] Production.INFO: 1
[2025-01-07 07:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:28:04] Production.ERROR: done
[2025-01-07 07:28:04] Production.INFO: Date 2024-12-18
[2025-01-07 07:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:28:04] Production.INFO: ==16817== Releasing lock...
[2025-01-07 07:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:28:04] Production.INFO: Date 2024-12-19
[2025-01-07 07:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:28:04] Production.INFO: Date 2024-12-20
[2025-01-07 07:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:28:05] Production.INFO: Date 2024-12-21
[2025-01-07 07:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:28:05] Production.INFO: Date 2024-12-22
[2025-01-07 07:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:28:05] Production.INFO: Date 2024-12-23
[2025-01-07 07:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:28:05] Production.INFO: Date 2024-12-24
[2025-01-07 07:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:28:05] Production.INFO: Date 2024-12-25
[2025-01-07 07:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:28:05] Production.INFO: Date 2024-12-26
[2025-01-07 07:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:28:05] Production.INFO: Date 2024-12-27
[2025-01-07 07:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:28:05] Production.INFO: Date 2024-12-28
[2025-01-07 07:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:28:05] Production.INFO: Date 2024-12-29
[2025-01-07 07:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:28:05] Production.INFO: Date 2024-12-30
[2025-01-07 07:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:28:05] Production.INFO: Date 2024-12-31
[2025-01-07 07:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:28:05] Production.INFO: Date 2025-01-01
[2025-01-07 07:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:28:05] Production.INFO: Date 2025-01-02
[2025-01-07 07:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:28:05] Production.INFO: Date 2025-01-03
[2025-01-07 07:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:28:05] Production.INFO: Date 2025-01-04
[2025-01-07 07:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:28:05] Production.INFO: Date 2025-01-05
[2025-01-07 07:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:28:05] Production.INFO: Date 2025-01-06
[2025-01-07 07:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:28:05] Production.INFO: Date 2025-01-07
[2025-01-07 07:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:28:05] Production.INFO: Total Charge 0
[2025-01-07 07:28:05] Production.INFO: CreateAllLog End
[2025-01-07 07:28:05] Production.INFO: Account Balance End.
[2025-01-07 07:28:05] Production.ERROR: CronJobId end 12
[2025-01-07 07:28:05] Production.INFO: ==16813== Releasing lock...
[2025-01-07 07:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:28:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:28:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:28:06
[end_date_ymd] => 2025-01-07 07:28:06
[RateCDR] => 1
)
[2025-01-07 07:28:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 04:28:06' and `end` < '2025-01-07 07:28:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 07:28:13] Production.ERROR: CronJobId end10
[2025-01-07 07:28:13] Production.INFO: ==16811== Releasing lock...
[2025-01-07 07:28:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:28:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:28:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:28:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:28:15] Production.INFO: call_cost start
[2025-01-07 07:28:15] Production.INFO: call_cost end
[2025-01-07 07:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:28:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:28:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:28:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:28:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:28:16] Production.INFO: ==16807== Releasing lock...
[2025-01-07 07:28:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:28:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:28:19] Production.INFO: count ==77
[2025-01-07 07:28:19] Production.ERROR: pbx CDR StartTime 2025-01-07 04:28:06 - End Time 2025-01-07 07:28:06
[2025-01-07 07:28:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193370', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193370', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193370', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193370', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:28:19] Production.INFO: ProcessCDR(1,14193370,1,1,2)
[2025-01-07 07:28:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193370,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:28:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193370,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:28:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193370,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:28:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193370,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193370', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193370', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:28:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:28:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:28:23] Production.INFO: ==16815== Releasing lock...
[2025-01-07 07:28:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:28:23] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:29:01] Production.INFO: ==16898== Lock acquired, processing the job...
[2025-01-07 12:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:29:01] Production.INFO: neon service started
[2025-01-07 12:29:01] Production.INFO: neon service started
[2025-01-07 12:29:01] Production.INFO: ==16898== Releasing lock...
[2025-01-07 12:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 12:29:01] Production.INFO: ==16902== Lock acquired, processing the job...
[2025-01-07 12:29:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:29:02] Production.INFO: ==16902== Releasing lock...
[2025-01-07 12:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:29:02] Production.INFO: ==16900== Lock acquired, processing the job...
[2025-01-07 07:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:29:02] Production.INFO: ==16900== Releasing lock...
[2025-01-07 07:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:29:03] Production.INFO: ==16904== Lock acquired, processing the job...
[2025-01-07 07:29:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10470 #Starts#
[2025-01-07 07:29:03] Production.INFO: -- Xero Api Check --
[2025-01-07 07:29:03] Production.INFO: ==16907== Lock acquired, processing the job...
[2025-01-07 07:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:29:03] Production.INFO: ==16909== Lock acquired, processing the job...
[2025-01-07 07:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:29:03] Production.INFO: ==16911== Lock acquired, processing the job...
[2025-01-07 07:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:29:03] Production.INFO: ==16913== Lock acquired, processing the job...
[2025-01-07 07:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:29:03] Production.INFO: ==16915== Lock acquired, processing the job...
[2025-01-07 07:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:29:03] Production.INFO: ==16917== Lock acquired, processing the job...
[2025-01-07 07:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:29:03] Production.INFO: Account Balance Start.
[2025-01-07 07:29:03] Production.INFO: CreateAllLog Start
[2025-01-07 07:29:03] Production.INFO: 117
[2025-01-07 07:29:03] Production.INFO: Date 2024-12-08
[2025-01-07 07:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:29:03] Production.INFO: Date 2024-12-09
[2025-01-07 07:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:29:03] Production.INFO: count ==21
[2025-01-07 07:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:29:03] Production.INFO: count ==21
[2025-01-07 07:29:04] Production.INFO: ==16909== Releasing lock...
[2025-01-07 07:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193374') start
[2025-01-07 07:29:04] Production.ERROR: done
[2025-01-07 07:29:04] Production.INFO: Date 2024-12-10
[2025-01-07 07:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:29:04] Production.INFO: Date 2024-12-11
[2025-01-07 07:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:29:04] Production.INFO: Date 2024-12-12
[2025-01-07 07:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:29: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] => 856
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.713706
[namelookup_time] => 0.280763
[connect_time] => 0.295938
[pretransfer_time] => 0.560293
[size_upload] => 82
[size_download] => 2755
[speed_download] => 3860
[speed_upload] => 114
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.713661
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.33
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 42566
)
[2025-01-07 07:29:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTI5NDQsImV4cCI6MTczNjI1MzI0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjUyOTQ0LCJhdF9oYXNoIjoidVdjV1F5ZjFqaHRoUW5MaWJqVkRrUSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.hxjDAZnUvvFtJ5kLYfTB5LHvn7sA6U5wvVttcgAUYaowR_A3SLv6TY8cL6KjT7uTtCQfBruTTM7sBzYt0QtCaxSZdmOfTjeJeY5k7w_9tb_W7MX4hyZV0ZpKewNqZOISUtXLXA1moH0m3ED_ffF8_uRUbhXoRF7Xet0xHb2yeAsgL7MPLcEcfpAuzEF0RJJeWjcLt2MlRyaCX4tnF2fPGuxEYOFhbnYHGaR34KwpEJAwO3uFJfn81G4OWfHF_HIAtTjqNsH-pQlbZC68DohbYWLrLwmvAmoxVOa4qkNEw4OOQSUn29cBn2D3_VuXFlKyL2bTI23ezNyk-6ArZsTk0A
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTI5NDQsImV4cCI6MTczNjI1NDc0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.FU44vl9lJEfD1-5J7yftuHEBOeh2y_cArpN3KDoyGjmqUfG8_MeOY7ubBMEDElP8hWx0IbuCCN2HpzAvC25u8Es2jhdsdS6A7n6tgZ3vxdEmowcTlI9BoEqPp7qWmur9SFcSxreyG8cRX8QM5Y_EoiJL9vL-QV-cRVlMyzCGaa4KsOZsw8ENkUXBeC-KIP8nhuf8sBtK1JasPhqtqRySDlDLOSM74Cl9S1ssgQ1HCnOzqwgjFmbABoa_bspAev91vc-L9TjsGtWwH6lbnTwR8b6jRO8XnDvFsDDwae2FB0vfLyxtYabR_5f4kQ7hXu3lnWLdBzHwwrjxxHRAGMRENQ
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => apkrg-ZE8MWN_TftbXp44LssbdZ9GrugdzOFek1Di6s
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 07:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193374') end
[2025-01-07 07:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:29:04] Production.INFO: 1
[2025-01-07 07:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:29:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTI5NDQsImV4cCI6MTczNjI1MzI0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjUyOTQ0LCJhdF9oYXNoIjoidVdjV1F5ZjFqaHRoUW5MaWJqVkRrUSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.hxjDAZnUvvFtJ5kLYfTB5LHvn7sA6U5wvVttcgAUYaowR_A3SLv6TY8cL6KjT7uTtCQfBruTTM7sBzYt0QtCaxSZdmOfTjeJeY5k7w_9tb_W7MX4hyZV0ZpKewNqZOISUtXLXA1moH0m3ED_ffF8_uRUbhXoRF7Xet0xHb2yeAsgL7MPLcEcfpAuzEF0RJJeWjcLt2MlRyaCX4tnF2fPGuxEYOFhbnYHGaR34KwpEJAwO3uFJfn81G4OWfHF_HIAtTjqNsH-pQlbZC68DohbYWLrLwmvAmoxVOa4qkNEw4OOQSUn29cBn2D3_VuXFlKyL2bTI23ezNyk-6ArZsTk0A
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTI5NDQsImV4cCI6MTczNjI1NDc0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.FU44vl9lJEfD1-5J7yftuHEBOeh2y_cArpN3KDoyGjmqUfG8_MeOY7ubBMEDElP8hWx0IbuCCN2HpzAvC25u8Es2jhdsdS6A7n6tgZ3vxdEmowcTlI9BoEqPp7qWmur9SFcSxreyG8cRX8QM5Y_EoiJL9vL-QV-cRVlMyzCGaa4KsOZsw8ENkUXBeC-KIP8nhuf8sBtK1JasPhqtqRySDlDLOSM74Cl9S1ssgQ1HCnOzqwgjFmbABoa_bspAev91vc-L9TjsGtWwH6lbnTwR8b6jRO8XnDvFsDDwae2FB0vfLyxtYabR_5f4kQ7hXu3lnWLdBzHwwrjxxHRAGMRENQ
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => apkrg-ZE8MWN_TftbXp44LssbdZ9GrugdzOFek1Di6s
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 07:29:04] Production.ERROR: done
[2025-01-07 07:29:04] Production.INFO: ==16917== Releasing lock...
[2025-01-07 07:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:29:04] Production.INFO: Date 2024-12-13
[2025-01-07 07:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:29:04] Production.INFO: AccountID 241
[2025-01-07 07:29:04] Production.INFO: AccountName Quiznos 15192 (Akshay Naik)
[2025-01-07 07:29:04] Production.INFO: Checkcustomer
[2025-01-07 07:29:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015192%20%28Akshay%20Naik%29"
[2025-01-07 07:29:04] Production.INFO: Date 2024-12-14
[2025-01-07 07:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:29:04] Production.INFO: Date 2024-12-15
[2025-01-07 07:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:29:04] Production.INFO: Date 2024-12-16
[2025-01-07 07:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:29:04] Production.INFO: Date 2024-12-17
[2025-01-07 07:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:29:04] Production.INFO: Date 2024-12-18
[2025-01-07 07:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:29:04] Production.INFO: Date 2024-12-19
[2025-01-07 07:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:29:04] Production.INFO: Date 2024-12-20
[2025-01-07 07:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:29:04] Production.INFO: Date 2024-12-21
[2025-01-07 07:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:29:04] Production.INFO: Date 2024-12-22
[2025-01-07 07:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:29:04] Production.INFO: Date 2024-12-23
[2025-01-07 07:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:29:04] Production.INFO: Date 2024-12-24
[2025-01-07 07:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:29:04] Production.INFO: Date 2024-12-25
[2025-01-07 07:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:29:04] Production.INFO: Date 2024-12-26
[2025-01-07 07:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:29:05] Production.INFO: Date 2024-12-27
[2025-01-07 07:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:29:05] Production.INFO: Date 2024-12-28
[2025-01-07 07:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:29:05
[end_date_ymd] => 2025-01-07 07:29:05
[RateCDR] => 1
)
[2025-01-07 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-07 04:29:05' and `end` < '2025-01-07 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-07 07:29:05] Production.INFO: Date 2024-12-29
[2025-01-07 07:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:29:05] Production.INFO: Date 2024-12-30
[2025-01-07 07:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:29:05] Production.INFO: Date 2024-12-31
[2025-01-07 07:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:29:05] Production.INFO: Date 2025-01-01
[2025-01-07 07:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:29:05] Production.INFO: Date 2025-01-02
[2025-01-07 07:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:29:05] Production.INFO: Date 2025-01-03
[2025-01-07 07:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:29:05] Production.INFO: Date 2025-01-04
[2025-01-07 07:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:29:05] Production.INFO: Date 2025-01-05
[2025-01-07 07:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:29:05] Production.INFO: Date 2025-01-06
[2025-01-07 07:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:29:05] Production.INFO: Date 2025-01-07
[2025-01-07 07:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:29:05] Production.INFO: Total Charge 0
[2025-01-07 07:29:05] Production.INFO: CreateAllLog End
[2025-01-07 07:29:05] Production.INFO: Account Balance End.
[2025-01-07 07:29:05] Production.ERROR: CronJobId end 12
[2025-01-07 07:29:05] Production.INFO: ==16913== Releasing lock...
[2025-01-07 07:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:29:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:29:07] Production.INFO: Contact id print CheckCustomer Case===9f823e1c-f0d1-4915-b9fd-4b0d691e058e
[2025-01-07 07:29:07] Production.INFO: -- count --1
[2025-01-07 07:29:07] Production.INFO: -- Xero Add Inovice --
[2025-01-07 07:29:07] Production.INFO: CheckInvoice xerov2: INV11181
[2025-01-07 07:29:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11181
[2025-01-07 07:29:10] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 07:29:10] Production.INFO: Invoice SubTotal 7.500000
[2025-01-07 07:29:10] Production.INFO: Invoice DetTotal 7.5
[2025-01-07 07:29:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015192%20%28Akshay%20Naik%29"
[2025-01-07 07:29:11] Production.ERROR: CronJobId end10
[2025-01-07 07:29:11] Production.INFO: ==16911== Releasing lock...
[2025-01-07 07:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:29:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 07:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:29:14] Production.INFO: call_cost start
[2025-01-07 07:29:14] Production.INFO: call_cost end
[2025-01-07 07:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:29:14] Production.INFO: ==16907== Releasing lock...
[2025-01-07 07:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:29:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 07:29:18] Production.INFO: count ==77
[2025-01-07 07:29:18] Production.ERROR: pbx CDR StartTime 2025-01-07 04:29:05 - End Time 2025-01-07 07:29:05
[2025-01-07 07:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193375', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193375', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193375', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193375', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:29:18] Production.INFO: ProcessCDR(1,14193375,1,1,2)
[2025-01-07 07:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193375,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:29:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 07:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193375,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193375,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:29:20] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 75.000000,"Description": "Restaurant - 1 Line Flat Rate",Quantity : 1,UnitAmount : 19.990000,LineAmount : 5.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (3433177878 - 133 Bank St. Ottawa, ON K1P 5N7 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 07:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193375,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193375', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193375', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:29:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:29:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:29:21] Production.INFO: ==16915== Releasing lock...
[2025-01-07 07:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:29:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:29:23] Production.INFO: ==== result =====
[2025-01-07 07:29:23] Production.INFO: {
"Id": "b77cd45e-26a0-4a87-aae1-9ac155a61efc",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736252963243)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "29fbcfc0-cfc8-4463-b91c-dc9989dd1fe1",
"InvoiceNumber": "INV11181",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 8.48,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 14.99,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "9f823e1c-f0d1-4915-b9fd-4b0d691e058e",
"ContactStatus": "ACTIVE",
"Name": "Quiznos 15192 (Akshay Naik)",
"FirstName": "Akshay",
"LastName": "Naik",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1732531690253+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-08T00:00:00",
"Date": "\/Date(1733616000000+0000)\/",
"DueDateString": "2025-01-07T00:00:00",
"DueDate": "\/Date(1736208000000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 1 Line Flat Rate",
"UnitAmount": 19.99,
"TaxType": "TAX020",
"TaxAmount": 0.65,
"LineAmount": 5.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 75.00,
"LineItemID": "0553dd58-a554-4ac4-a493-b5add11a2768",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountEnteredAsPercent": true,
"DiscountAmount": 14.9900,
"ValidationErrors": []
},
{
"Description": "e911 address registration (3433177878 - 133 Bank St. Ottawa, ON K1P 5N7 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "3d4d1e88-eefa-4fe1-8ba4-4fb3e63b3617",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
}
],
"SubTotal": 7.50,
"TotalTax": 0.98,
"Total": 8.48,
"UpdatedDateUTC": "\/Date(1736252963197+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 07:29:23] Production.INFO: -- Create Invoice id --29fbcfc0-cfc8-4463-b91c-dc9989dd1fe1
[2025-01-07 07:29:23] Production.INFO: -- Create Invoice Done --
[2025-01-07 07:29:23] Production.INFO: -- Xero End Inovice --
[2025-01-07 07:29:23] Production.INFO: ==16904== Releasing lock...
[2025-01-07 07:29:23] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10470 #Stops#
[2025-01-07 07:29:23] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 12:30:02] Production.INFO: ==17000== Lock acquired, processing the job...
[2025-01-07 12:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:30:02] Production.INFO: neon service started
[2025-01-07 12:30:02] Production.INFO: neon service started
[2025-01-07 12:30:02] Production.INFO: ==17000== Releasing lock...
[2025-01-07 12:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:30:02] Production.INFO: ==17002== Lock acquired, processing the job...
[2025-01-07 07:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 12:30:02] Production.INFO: ==17004== Lock acquired, processing the job...
[2025-01-07 12:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:30:02] Production.INFO: ==17002== Releasing lock...
[2025-01-07 07:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:30:02] Production.INFO: ==17004== Releasing lock...
[2025-01-07 12:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:30:03] Production.INFO: ==17007== Lock acquired, processing the job...
[2025-01-07 07:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 07:30:03] Production.INFO: ==17013== Lock acquired, processing the job...
[2025-01-07 07:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 07:30:03] Production.INFO: ==17009== Lock acquired, processing the job...
[2025-01-07 07:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 07:30:03] Production.INFO: ==17007== Releasing lock...
[2025-01-07 07:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 07:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 07:30:04] Production.INFO: ==17011== Lock acquired, processing the job...
[2025-01-07 07:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:30:04] Production.INFO: ==17019== Lock acquired, processing the job...
[2025-01-07 07:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 07:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:30:04] Production.INFO: ==17021== Lock acquired, processing the job...
[2025-01-07 07:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:30:04] Production.INFO: ==17017== Lock acquired, processing the job...
[2025-01-07 07:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:30:04] Production.INFO: ==17015== Lock acquired, processing the job...
[2025-01-07 07:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:30:04] Production.INFO: count ==21
[2025-01-07 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-07 07:30:04] Production.INFO: count ==21
[2025-01-07 07:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193378') start
[2025-01-07 07:30:04] Production.INFO: ==17011== Releasing lock...
[2025-01-07 07:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193378') end
[2025-01-07 07:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:30:04] Production.INFO: 1
[2025-01-07 07:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:30:04] Production.INFO: Account Balance Start.
[2025-01-07 07:30:04] Production.INFO: CreateAllLog Start
[2025-01-07 07:30:04] Production.INFO: 117
[2025-01-07 07:30:04] Production.INFO: Date 2024-12-08
[2025-01-07 07:30:04] Production.ERROR: done
[2025-01-07 07:30:04] Production.INFO: ==17021== Releasing lock...
[2025-01-07 07:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:30:04] Production.ERROR: done
[2025-01-07 07:30:04] Production.INFO: Date 2024-12-09
[2025-01-07 07:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:30:04] Production.INFO: Date 2024-12-10
[2025-01-07 07:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:30:04] Production.ERROR: done
[2025-01-07 07:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 07:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14193380', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 07:30:04] Production.INFO: Date 2024-12-11
[2025-01-07 07:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:30:05] Production.INFO: Date 2024-12-12
[2025-01-07 07:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:30:05] Production.INFO: Date 2024-12-13
[2025-01-07 07:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:30:05] Production.INFO: Date 2024-12-14
[2025-01-07 07:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:30:05] Production.INFO: Date 2024-12-15
[2025-01-07 07:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:30:05] Production.INFO: Date 2024-12-16
[2025-01-07 07:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:30:05] Production.INFO: Date 2024-12-17
[2025-01-07 07:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:30:05] Production.INFO: Date 2024-12-18
[2025-01-07 07:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:30:05] Production.INFO: Date 2024-12-19
[2025-01-07 07:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:30:05] Production.INFO: Date 2024-12-20
[2025-01-07 07:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:30:05] Production.INFO: Date 2024-12-21
[2025-01-07 07:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:30:05] Production.INFO: Date 2024-12-22
[2025-01-07 07:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:30:05] Production.INFO: Date 2024-12-23
[2025-01-07 07:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:30:05] Production.INFO: Date 2024-12-24
[2025-01-07 07:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:30:05] Production.INFO: Date 2024-12-25
[2025-01-07 07:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:30:05] Production.INFO: Date 2024-12-26
[2025-01-07 07:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:30:05] Production.INFO: Date 2024-12-27
[2025-01-07 07:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:30:05] Production.INFO: Date 2024-12-28
[2025-01-07 07:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:30:05] Production.INFO: Date 2024-12-29
[2025-01-07 07:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:30:05] Production.INFO: Date 2024-12-30
[2025-01-07 07:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:30:05] Production.INFO: Date 2024-12-31
[2025-01-07 07:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:30:05] Production.INFO: Date 2025-01-01
[2025-01-07 07:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:30:05] Production.INFO: Date 2025-01-02
[2025-01-07 07:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:30:05] Production.INFO: Date 2025-01-03
[2025-01-07 07:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:30:05] Production.INFO: Date 2025-01-04
[2025-01-07 07:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:30:05] Production.INFO: Date 2025-01-05
[2025-01-07 07:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:30:05] Production.INFO: Date 2025-01-06
[2025-01-07 07:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:30:05] Production.INFO: Date 2025-01-07
[2025-01-07 07:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:30:05] Production.INFO: Total Charge 0
[2025-01-07 07:30:05] Production.INFO: CreateAllLog End
[2025-01-07 07:30:06] Production.INFO: Account Balance End.
[2025-01-07 07:30:06] Production.ERROR: CronJobId end 12
[2025-01-07 07:30:06] Production.INFO: ==17015== Releasing lock...
[2025-01-07 07:30:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:30:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:30:06
[end_date_ymd] => 2025-01-07 07:30:06
[RateCDR] => 1
)
[2025-01-07 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-07 04:30:06' and `end` < '2025-01-07 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-07 07:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14193380', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 07:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 07:30:09] Production.INFO: ProcessCDR(1,14193380,1,1,2)
[2025-01-07 07:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14193380,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14193380,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:30:09] Production.INFO: ==17019== Releasing lock...
[2025-01-07 07:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 07:30:09] Production.INFO: 26 MB #Memory Used#
[2025-01-07 07:30:14] Production.ERROR: CronJobId end10
[2025-01-07 07:30:14] Production.INFO: ==17013== Releasing lock...
[2025-01-07 07:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:30:15] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:30:15] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:30:15] Production.INFO: call_cost start
[2025-01-07 07:30:15] Production.INFO: call_cost end
[2025-01-07 07:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:30:16] Production.INFO: ==17009== Releasing lock...
[2025-01-07 07:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:30:19] Production.INFO: count ==71
[2025-01-07 07:30:19] Production.ERROR: pbx CDR StartTime 2025-01-07 04:30:06 - End Time 2025-01-07 07:30:06
[2025-01-07 07:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193381', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193381', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193381', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193381', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:30:19] Production.INFO: ProcessCDR(1,14193381,1,1,2)
[2025-01-07 07:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193381,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193381,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193381,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193381,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193381', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193381', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:30:22] Production.INFO: ==17017== Releasing lock...
[2025-01-07 07:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:30:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:31:01] Production.INFO: ==17098== Lock acquired, processing the job...
[2025-01-07 12:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:31:01] Production.INFO: neon service started
[2025-01-07 12:31:01] Production.INFO: neon service started
[2025-01-07 12:31:01] Production.INFO: ==17098== Releasing lock...
[2025-01-07 12:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:31:01] Production.INFO: ==17100== Lock acquired, processing the job...
[2025-01-07 07:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:31:02] Production.INFO: ==17100== Releasing lock...
[2025-01-07 07:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:31:02] Production.INFO: ==17102== Lock acquired, processing the job...
[2025-01-07 12:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:31:02] Production.INFO: ==17102== Releasing lock...
[2025-01-07 12:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:31:02] Production.INFO: 26 MB #Memory Used#
[2025-01-07 07:31:03] Production.INFO: ==17106== Lock acquired, processing the job...
[2025-01-07 07:31:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10471 #Starts#
[2025-01-07 07:31:03] Production.INFO: ==17113== Lock acquired, processing the job...
[2025-01-07 07:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:31:03] Production.INFO: -- Xero Api Check --
[2025-01-07 07:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:31:03] Production.INFO: ==17109== Lock acquired, processing the job...
[2025-01-07 07:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:31:03] Production.INFO: ==17111== Lock acquired, processing the job...
[2025-01-07 07:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:31:03] Production.INFO: ==17115== Lock acquired, processing the job...
[2025-01-07 07:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:31:03] Production.INFO: ==17117== Lock acquired, processing the job...
[2025-01-07 07:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:31:03] Production.INFO: ==17119== Lock acquired, processing the job...
[2025-01-07 07:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:31:03] Production.INFO: Account Balance Start.
[2025-01-07 07:31:03] Production.INFO: CreateAllLog Start
[2025-01-07 07:31:03] Production.INFO: 117
[2025-01-07 07:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:31:03] Production.INFO: Date 2024-12-08
[2025-01-07 07:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:31:03] Production.INFO: count ==21
[2025-01-07 07:31:03] Production.INFO: ==17111== Releasing lock...
[2025-01-07 07:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:31:03] Production.INFO: Date 2024-12-09
[2025-01-07 07:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:31:03] Production.INFO: count ==21
[2025-01-07 07:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193385') start
[2025-01-07 07:31:03] Production.INFO: Date 2024-12-10
[2025-01-07 07:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193385') end
[2025-01-07 07:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:31:03] Production.INFO: 1
[2025-01-07 07:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:31:03] Production.ERROR: done
[2025-01-07 07:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:31:03] Production.INFO: ==17119== Releasing lock...
[2025-01-07 07:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:31:04] Production.INFO: Date 2024-12-11
[2025-01-07 07:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:31:04] Production.INFO: Date 2024-12-12
[2025-01-07 07:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:31:04] Production.ERROR: done
[2025-01-07 07:31:04] Production.INFO: Date 2024-12-13
[2025-01-07 07:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:31:04] Production.INFO: Date 2024-12-14
[2025-01-07 07:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:31:04] Production.INFO: Date 2024-12-15
[2025-01-07 07:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:31:04] Production.INFO: Date 2024-12-16
[2025-01-07 07:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:31:04] Production.INFO: Date 2024-12-17
[2025-01-07 07:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:31:04] Production.INFO: Date 2024-12-18
[2025-01-07 07:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:31:04] Production.INFO: Date 2024-12-19
[2025-01-07 07:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:31:04] Production.INFO: Date 2024-12-20
[2025-01-07 07:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:31:04] Production.INFO: Date 2024-12-21
[2025-01-07 07:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:31: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] => 856
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 1.275102
[namelookup_time] => 0.535136
[connect_time] => 0.625059
[pretransfer_time] => 1.038433
[size_upload] => 82
[size_download] => 2755
[speed_download] => 2160
[speed_upload] => 64
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 1.275044
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 96.16.248.154
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 60588
)
[2025-01-07 07:31:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTMwNjQsImV4cCI6MTczNjI1MzM2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjUzMDY0LCJhdF9oYXNoIjoiSnhMb0F2VU5iNE1Ic0F0OUotb3lLQSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.Lw8QVjJYCAlTNUQnhfSqLUDLe5yysYbIy29NeX3fGUOV1WMTXbK6geMCcINyG5QvbZ-_8l5yURh08pls-4X9L7a_TokWPQrDOTv044m23KE6XbPAZ4TixPlMnR_Q8Z162dsL60QiPDEb3iAi37TK8TXAk2eClYpY0PWnSxSoHX4uU9ynghDGLEvU6mS-puqQylDvCY3Z2ZKXYBQW2N9d6FlA1ow8Y14UxMRKM5px4qbQ7j5qzcJCDlyz7Q95dl4fT1faJgbfbpOL9EzLfUkHXFgr2WFox9zoUj3TAKFsjm5isAxrNNdDz-RAgs-1WHlCn-2gQNBhuAjv87xyfPG9JQ
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTMwNjQsImV4cCI6MTczNjI1NDg2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.D8AQbHcCAM6PWC6UzYLc8ZHbETqate_OFzLfoVfC-_nWnG7rZnbHwBPMGkcpVbqBLlFM05tTL4p6j7PcNXoZy0DaeEHrOG0Z2nTm-8zwjlI2blNW1cQP20b-Kf0N59ztr9Fj2OyNTH_rv3nStTQHnpIBsgeRuyQH02wjomqZxYvUXwmfd5Um0uz5o1WXiQMDjPj3XY5bgP4_Mv3yv4ZYkHFo80HR72k88dfIwwPmPXGzk7bcf6ZrFFCTDKdFiRhgYcNiCxuQa1Gp_v2Tv3bHF_l7WJMqhIsCjOArt479LC6WlG_ZDRkjYLYHLEKlDsI6UGAhYQG9ZlVQbuNG0iDqig
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => _y2bGadQ7sMXNZgvvmPICfPeUkT8eTqcmV9l3M_eEPA
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 07:31:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTMwNjQsImV4cCI6MTczNjI1MzM2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjUzMDY0LCJhdF9oYXNoIjoiSnhMb0F2VU5iNE1Ic0F0OUotb3lLQSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.Lw8QVjJYCAlTNUQnhfSqLUDLe5yysYbIy29NeX3fGUOV1WMTXbK6geMCcINyG5QvbZ-_8l5yURh08pls-4X9L7a_TokWPQrDOTv044m23KE6XbPAZ4TixPlMnR_Q8Z162dsL60QiPDEb3iAi37TK8TXAk2eClYpY0PWnSxSoHX4uU9ynghDGLEvU6mS-puqQylDvCY3Z2ZKXYBQW2N9d6FlA1ow8Y14UxMRKM5px4qbQ7j5qzcJCDlyz7Q95dl4fT1faJgbfbpOL9EzLfUkHXFgr2WFox9zoUj3TAKFsjm5isAxrNNdDz-RAgs-1WHlCn-2gQNBhuAjv87xyfPG9JQ
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTMwNjQsImV4cCI6MTczNjI1NDg2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.D8AQbHcCAM6PWC6UzYLc8ZHbETqate_OFzLfoVfC-_nWnG7rZnbHwBPMGkcpVbqBLlFM05tTL4p6j7PcNXoZy0DaeEHrOG0Z2nTm-8zwjlI2blNW1cQP20b-Kf0N59ztr9Fj2OyNTH_rv3nStTQHnpIBsgeRuyQH02wjomqZxYvUXwmfd5Um0uz5o1WXiQMDjPj3XY5bgP4_Mv3yv4ZYkHFo80HR72k88dfIwwPmPXGzk7bcf6ZrFFCTDKdFiRhgYcNiCxuQa1Gp_v2Tv3bHF_l7WJMqhIsCjOArt479LC6WlG_ZDRkjYLYHLEKlDsI6UGAhYQG9ZlVQbuNG0iDqig
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => _y2bGadQ7sMXNZgvvmPICfPeUkT8eTqcmV9l3M_eEPA
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 07:31:04] Production.INFO: AccountID 39
[2025-01-07 07:31:04] Production.INFO: AccountName Riavera
[2025-01-07 07:31:04] Production.INFO: Date 2024-12-22
[2025-01-07 07:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:31:04] Production.INFO: Checkcustomer
[2025-01-07 07:31:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Riavera"
[2025-01-07 07:31:04] Production.INFO: Date 2024-12-23
[2025-01-07 07:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:31:04] Production.INFO: Date 2024-12-24
[2025-01-07 07:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:31:04] Production.INFO: Date 2024-12-25
[2025-01-07 07:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:31:04] Production.INFO: Date 2024-12-26
[2025-01-07 07:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:31:04] Production.INFO: Date 2024-12-27
[2025-01-07 07:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:31:05] Production.INFO: Date 2024-12-28
[2025-01-07 07:31:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:31:05
[end_date_ymd] => 2025-01-07 07:31:05
[RateCDR] => 1
)
[2025-01-07 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-07 04:31:05' and `end` < '2025-01-07 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-07 07:31:05] Production.INFO: Date 2024-12-29
[2025-01-07 07:31:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:31:05] Production.INFO: Date 2024-12-30
[2025-01-07 07:31:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:31:05] Production.INFO: Date 2024-12-31
[2025-01-07 07:31:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:31:05] Production.INFO: Date 2025-01-01
[2025-01-07 07:31:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:31:05] Production.INFO: Date 2025-01-02
[2025-01-07 07:31:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:31:05] Production.INFO: Date 2025-01-03
[2025-01-07 07:31:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:31:05] Production.INFO: Date 2025-01-04
[2025-01-07 07:31:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:31:05] Production.INFO: Date 2025-01-05
[2025-01-07 07:31:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:31:05] Production.INFO: Date 2025-01-06
[2025-01-07 07:31:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:31:05] Production.INFO: Date 2025-01-07
[2025-01-07 07:31:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:31:05] Production.INFO: Total Charge 0
[2025-01-07 07:31:05] Production.INFO: CreateAllLog End
[2025-01-07 07:31:05] Production.INFO: Account Balance End.
[2025-01-07 07:31:05] Production.ERROR: CronJobId end 12
[2025-01-07 07:31:05] Production.INFO: ==17115== Releasing lock...
[2025-01-07 07:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:31:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:31:07] Production.INFO: Contact id print CheckCustomer Case===e55c0831-3c53-4fcf-8b75-89133eb5af09
[2025-01-07 07:31:07] Production.INFO: -- count --1
[2025-01-07 07:31:07] Production.INFO: -- Xero Add Inovice --
[2025-01-07 07:31:07] Production.INFO: CheckInvoice xerov2: INV9363
[2025-01-07 07:31:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV9363
[2025-01-07 07:31:10] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 07:31:10] Production.INFO: Invoice SubTotal 197.860000
[2025-01-07 07:31:10] Production.INFO: Invoice DetTotal 197.86
[2025-01-07 07:31:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Riavera"
[2025-01-07 07:31:12] Production.ERROR: CronJobId end10
[2025-01-07 07:31:12] Production.INFO: ==17113== Releasing lock...
[2025-01-07 07:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:31:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 07:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:31:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:31:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:31:14] Production.INFO: call_cost start
[2025-01-07 07:31:14] Production.INFO: call_cost end
[2025-01-07 07:31:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 07:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:31:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:31:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:31:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:31:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:31:15] Production.INFO: ==17109== Releasing lock...
[2025-01-07 07:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:31:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 07:31:18] Production.INFO: count ==64
[2025-01-07 07:31:18] Production.ERROR: pbx CDR StartTime 2025-01-07 04:31:05 - End Time 2025-01-07 07:31:05
[2025-01-07 07:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193386', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193386', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193386', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193386', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:31:18] Production.INFO: ProcessCDR(1,14193386,1,1,2)
[2025-01-07 07:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193386,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193386,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193386,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:31:20] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 11-18-2023 To 12-17-2023",Quantity : 1,UnitAmount : 0.270000,LineAmount : 0.270000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (14168157000)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (16474939495)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DIDs (16477890070 - 16477890079)",Quantity : 10,UnitAmount : 1.500000,LineAmount : 15.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18557890078)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18663639217)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18776890076)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18889890071)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14168157000 - 181 UNIVERSITY AVE STE 2000 TORONTO, ON M5H3M7)",Quantity : 1,UnitAmount : 2.750000,LineAmount : 2.750000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 15,UnitAmount : 10.990000,LineAmount : 164.850000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (16477890077) - Digital Fax",Quantity : 1,UnitAmount : 5.990000,LineAmount : 5.990000}
[2025-01-07 07:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193386,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193386', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193386', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:31:22] Production.INFO: ==17117== Releasing lock...
[2025-01-07 07:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:31:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 07:31:23] Production.INFO: ==== result =====
[2025-01-07 07:31:23] Production.INFO: {
"Id": "c86cc8e7-0a89-4da4-85c1-32c2908e3751",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736253083529)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "1bf17f88-e277-47db-94d5-223491463c43",
"InvoiceNumber": "INV9363",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 223.62,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "e55c0831-3c53-4fcf-8b75-89133eb5af09",
"ContactStatus": "ACTIVE",
"Name": "Riavera",
"FirstName": "David",
"LastName": "Kerry",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1655922965160+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2023-12-18T00:00:00",
"Date": "\/Date(1702857600000+0000)\/",
"DueDateString": "2024-01-17T00:00:00",
"DueDate": "\/Date(1705449600000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "From 11-18-2023 To 12-17-2023",
"UnitAmount": 0.27,
"TaxType": "TAX020",
"TaxAmount": 0.04,
"LineAmount": 0.27,
"AccountCode": "234",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "200c5fb9-080c-4dc8-b3e9-9b9e58bc48d3",
"AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (14168157000)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "f134be1e-4742-46b5-8513-739a63d1661f",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (16474939495)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "1c2bdcef-7a18-4de2-9ecd-a105290a81b3",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DIDs (16477890070 - 16477890079)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 1.95,
"LineAmount": 15.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 10.0000,
"DiscountRate": 0.00,
"LineItemID": "f128e42a-644a-4962-bf45-7cd55ce9e152",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (18557890078)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "41c25377-f2c1-4c41-ad0e-7fd7f2e6dbe5",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (18663639217)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "4bf1d5da-85fe-48ee-add1-91c869784387",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (18776890076)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "928bf605-d50b-4257-9bd7-8f761ad807f6",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (18889890071)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "a430382f-1346-4219-afb2-4c36445da7d2",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (14168157000 - 181 UNIVERSITY AVE STE 2000 TORONTO, ON M5H3M7)",
"UnitAmount": 2.75,
"TaxType": "TAX020",
"TaxAmount": 0.36,
"LineAmount": 2.75,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "d17d61da-f2f7-4416-8bb2-2bd2ca7795c1",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "License for a Pay As You Go Cloud Phone extension",
"UnitAmount": 10.99,
"TaxType": "TAX020",
"TaxAmount": 21.43,
"LineAmount": 164.85,
"AccountCode": "203",
"Tracking": [],
"Quantity": 15.0000,
"DiscountRate": 0.00,
"LineItemID": "e1c36a8f-ab00-4d5d-a8a9-619687910fb1",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (16477890077) - Digital Fax",
"UnitAmount": 5.99,
"TaxType": "TAX020",
"TaxAmount": 0.78,
"LineAmount": 5.99,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "c40131f8-b679-4644-ac86-b98635d7f193",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 197.86,
"TotalTax": 25.76,
"Total": 223.62,
"UpdatedDateUTC": "\/Date(1736253083467+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 07:31:23] Production.INFO: -- Create Invoice id --1bf17f88-e277-47db-94d5-223491463c43
[2025-01-07 07:31:23] Production.INFO: -- Create Invoice Done --
[2025-01-07 07:31:23] Production.INFO: -- Xero End Inovice --
[2025-01-07 07:31:23] Production.INFO: ==17106== Releasing lock...
[2025-01-07 07:31:23] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10471 #Stops#
[2025-01-07 07:31:23] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 12:32:01] Production.INFO: ==17206== Lock acquired, processing the job...
[2025-01-07 12:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:32:01] Production.INFO: neon service started
[2025-01-07 12:32:01] Production.INFO: neon service started
[2025-01-07 12:32:01] Production.INFO: ==17206== Releasing lock...
[2025-01-07 12:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:32:02] Production.INFO: ==17208== Lock acquired, processing the job...
[2025-01-07 07:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:32:02] Production.INFO: ==17208== Releasing lock...
[2025-01-07 07:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:32:02] Production.INFO: ==17210== Lock acquired, processing the job...
[2025-01-07 12:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:32:02] Production.INFO: ==17210== Releasing lock...
[2025-01-07 12:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:32:03] Production.INFO: ==17213== Lock acquired, processing the job...
[2025-01-07 07:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:32:03] Production.INFO: ==17215== Lock acquired, processing the job...
[2025-01-07 07:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:32:03] Production.INFO: ==17219== Lock acquired, processing the job...
[2025-01-07 07:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:32:03] Production.INFO: ==17217== Lock acquired, processing the job...
[2025-01-07 07:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:32:03] Production.INFO: ==17221== Lock acquired, processing the job...
[2025-01-07 07:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:32:03] Production.INFO: Account Balance Start.
[2025-01-07 07:32:03] Production.INFO: CreateAllLog Start
[2025-01-07 07:32:03] Production.INFO: 117
[2025-01-07 07:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:32:03] Production.INFO: Date 2024-12-08
[2025-01-07 07:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:32:03] Production.INFO: ==17223== Lock acquired, processing the job...
[2025-01-07 07:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:32:03] Production.INFO: Date 2024-12-09
[2025-01-07 07:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:32:03] Production.INFO: Date 2024-12-10
[2025-01-07 07:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:32:03] Production.INFO: ==17215== Releasing lock...
[2025-01-07 07:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:32:03] Production.INFO: Date 2024-12-11
[2025-01-07 07:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 07:32:03] Production.INFO: count ==21
[2025-01-07 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-07 07:32:03] Production.INFO: count ==21
[2025-01-07 07:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193390') start
[2025-01-07 07:32:03] Production.INFO: Date 2024-12-12
[2025-01-07 07:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:32:04] Production.ERROR: done
[2025-01-07 07:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193390') end
[2025-01-07 07:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:32:04] Production.INFO: 1
[2025-01-07 07:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:32:04] Production.INFO: Date 2024-12-13
[2025-01-07 07:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:32:04] Production.INFO: ==17223== Releasing lock...
[2025-01-07 07:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:32:04] Production.INFO: Date 2024-12-14
[2025-01-07 07:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:32:04] Production.ERROR: done
[2025-01-07 07:32:04] Production.INFO: Date 2024-12-15
[2025-01-07 07:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:32:04] Production.INFO: Date 2024-12-16
[2025-01-07 07:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:32:04] Production.INFO: Date 2024-12-17
[2025-01-07 07:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:32:04] Production.INFO: Date 2024-12-18
[2025-01-07 07:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:32:04] Production.INFO: Date 2024-12-19
[2025-01-07 07:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:32:04] Production.INFO: Date 2024-12-20
[2025-01-07 07:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:32:04] Production.INFO: Date 2024-12-21
[2025-01-07 07:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:32:04] Production.INFO: Date 2024-12-22
[2025-01-07 07:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:32:04] Production.INFO: Date 2024-12-23
[2025-01-07 07:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:32:04] Production.INFO: Date 2024-12-24
[2025-01-07 07:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:32:04] Production.INFO: Date 2024-12-25
[2025-01-07 07:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:32:04] Production.INFO: Date 2024-12-26
[2025-01-07 07:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:32:05] Production.INFO: Date 2024-12-27
[2025-01-07 07:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:32:05] Production.INFO: Date 2024-12-28
[2025-01-07 07:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:32:05] Production.INFO: Date 2024-12-29
[2025-01-07 07:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:32:05
[end_date_ymd] => 2025-01-07 07:32:05
[RateCDR] => 1
)
[2025-01-07 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-07 04:32:05' and `end` < '2025-01-07 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-07 07:32:05] Production.INFO: Date 2024-12-30
[2025-01-07 07:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:32:05] Production.INFO: Date 2024-12-31
[2025-01-07 07:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:32:05] Production.INFO: Date 2025-01-01
[2025-01-07 07:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:32:05] Production.INFO: Date 2025-01-02
[2025-01-07 07:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:32:05] Production.INFO: Date 2025-01-03
[2025-01-07 07:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:32:05] Production.INFO: Date 2025-01-04
[2025-01-07 07:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:32:05] Production.INFO: Date 2025-01-05
[2025-01-07 07:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:32:05] Production.INFO: Date 2025-01-06
[2025-01-07 07:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:32:05] Production.INFO: Date 2025-01-07
[2025-01-07 07:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:32:05] Production.INFO: Total Charge 0
[2025-01-07 07:32:05] Production.INFO: CreateAllLog End
[2025-01-07 07:32:05] Production.INFO: Account Balance End.
[2025-01-07 07:32:05] Production.ERROR: CronJobId end 12
[2025-01-07 07:32:05] Production.INFO: ==17219== Releasing lock...
[2025-01-07 07:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:32:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:32:11] Production.ERROR: CronJobId end10
[2025-01-07 07:32:11] Production.INFO: ==17217== Releasing lock...
[2025-01-07 07:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:32:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:32:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:32:14] Production.INFO: call_cost start
[2025-01-07 07:32:14] Production.INFO: call_cost end
[2025-01-07 07:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:32:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:32:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:32:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:32:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:32:15] Production.INFO: ==17213== Releasing lock...
[2025-01-07 07:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:32:18] Production.INFO: count ==64
[2025-01-07 07:32:18] Production.ERROR: pbx CDR StartTime 2025-01-07 04:32:05 - End Time 2025-01-07 07:32:05
[2025-01-07 07:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193391', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193391', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193391', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193391', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:32:18] Production.INFO: ProcessCDR(1,14193391,1,1,2)
[2025-01-07 07:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193391,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193391,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193391,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193391,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193391', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193391', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:32:21] Production.INFO: ==17221== Releasing lock...
[2025-01-07 07:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:32:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 12:33:02] Production.INFO: ==17324== Lock acquired, processing the job...
[2025-01-07 12:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:33:02] Production.INFO: neon service started
[2025-01-07 12:33:02] Production.INFO: neon service started
[2025-01-07 12:33:02] Production.INFO: ==17324== Releasing lock...
[2025-01-07 12:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:33:03] Production.INFO: ==17327== Lock acquired, processing the job...
[2025-01-07 07:33:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 12:33:03] Production.INFO: ==17329== Lock acquired, processing the job...
[2025-01-07 12:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:33:03] Production.INFO: ==17329== Releasing lock...
[2025-01-07 12:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:33:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:33:03] Production.INFO: ==17327== Releasing lock...
[2025-01-07 07:33:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:33:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:33:04] Production.INFO: ==17335== Lock acquired, processing the job...
[2025-01-07 07:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:33:04] Production.INFO: ==17331== Lock acquired, processing the job...
[2025-01-07 07:33:04] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10472 #Starts#
[2025-01-07 07:33:04] Production.INFO: ==17333== Lock acquired, processing the job...
[2025-01-07 07:33:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:33:04] Production.INFO: ==17337== Lock acquired, processing the job...
[2025-01-07 07:33:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:33:04] Production.INFO: -- Xero Api Check --
[2025-01-07 07:33:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:33:04] Production.INFO: ==17339== Lock acquired, processing the job...
[2025-01-07 07:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:33:04] Production.INFO: ==17341== Lock acquired, processing the job...
[2025-01-07 07:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:33:04] Production.INFO: ==17343== Lock acquired, processing the job...
[2025-01-07 07:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:33:04] Production.INFO: Account Balance Start.
[2025-01-07 07:33:04] Production.INFO: CreateAllLog Start
[2025-01-07 07:33:04] Production.INFO: 117
[2025-01-07 07:33:04] Production.INFO: Date 2024-12-08
[2025-01-07 07:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:33:04] Production.INFO: Date 2024-12-09
[2025-01-07 07:33:04] Production.INFO: ==17335== Releasing lock...
[2025-01-07 07:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:33:04] Production.INFO: Date 2024-12-10
[2025-01-07 07:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 07:33:04] Production.INFO: Date 2024-12-11
[2025-01-07 07:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:33:04] Production.INFO: count ==21
[2025-01-07 07:33:04] Production.INFO: Date 2024-12-12
[2025-01-07 07:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 07:33:04] Production.INFO: count ==21
[2025-01-07 07:33:04] Production.INFO: Date 2024-12-13
[2025-01-07 07:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:33:04] Production.ERROR: done
[2025-01-07 07:33:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:33:05] Production.ERROR: PBX CALL prc_importPBXExtension('14193395') start
[2025-01-07 07:33:05] Production.INFO: Date 2024-12-14
[2025-01-07 07:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:33:05] Production.ERROR: done
[2025-01-07 07:33:05] Production.ERROR: PBX CALL prc_importPBXExtension('14193395') end
[2025-01-07 07:33:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:33:05] Production.INFO: 1
[2025-01-07 07:33:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:33:05] Production.INFO: Date 2024-12-15
[2025-01-07 07:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:33:05] Production.INFO: ==17343== Releasing lock...
[2025-01-07 07:33:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:33:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:33:05] Production.INFO: Date 2024-12-16
[2025-01-07 07:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:33:05] Production.INFO: Date 2024-12-17
[2025-01-07 07:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:33:05] Production.INFO: Date 2024-12-18
[2025-01-07 07:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:33:05] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 855
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.88795
[namelookup_time] => 0.530788
[connect_time] => 0.533069
[pretransfer_time] => 0.790744
[size_upload] => 82
[size_download] => 2755
[speed_download] => 3102
[speed_upload] => 92
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.887918
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.33
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 42618
)
[2025-01-07 07:33:05] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTMxODUsImV4cCI6MTczNjI1MzQ4NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjUzMTg1LCJhdF9oYXNoIjoiZk1PbDdYWmJyNnNKQ29fTnh1MmFrUSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.BUSiOELmjSI6sRnbR5PrvR3WNSTx3DI5MTZpLApwmqQOEoyt8rOcwDfcusLkCQbg-VdtMdKFtVO3JJx6zupQJH02YXkZDpB2uhU_iNE6rB2ozZXszgaj6ePJmNV2A1yo9o72N7AwK44r_sWvVSmzg1CCcZFa7pmZIr-AlCicgibxgckXxlpScblN9zRqTyCgpDeMziTJlmclmDXv9p7PIP3keB8STGD7MkB7ABbrB-mFDNuOEmP-1pFPaDGkYXpLEXVptWLGLADbUYnzKhOTyGVvzhy_tlRkucaIjWwCVMRyM54tY0CvC_wOkee1Ad0eKm0qi0zAGMMg4DMrPqWhkg
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTMxODUsImV4cCI6MTczNjI1NDk4NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.RRMUDaKTYh9oo5QBcm6RhSjp0Xidlr_Qfq9prpt0_51j0xpUueVHWnXV8p4I0vPKrZxNO94co9UygyKUlXQTqdhLBISsGHQOnHK2CzgKQZgX2t15MpfuwSZ-90Yu99XzZ7r6IkNx1ehOmJav35Air3OvSPbCOXuei6VOfxkDFYEhAbTF2-Sp29wL0TAQ4r6jeS_m5Kf6zQrKgP9Kl0rC4rTSwgG6F0xPbqWFCeliLXLIIF0EP21tWWcQpVzW2xxUsF1Wk-doLQV8CUFyIHmO-x5d44u2tn9jK_PLUATT0SaCDCGliQFGrdn2_k7_IS01ii196YM-rHNXWedhGY-bPw
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => yFu-89IkLOSa6vzsS2pIBeu0G8YFSmmJgT8YT1f-oUA
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 07:33:05] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTMxODUsImV4cCI6MTczNjI1MzQ4NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjUzMTg1LCJhdF9oYXNoIjoiZk1PbDdYWmJyNnNKQ29fTnh1MmFrUSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.BUSiOELmjSI6sRnbR5PrvR3WNSTx3DI5MTZpLApwmqQOEoyt8rOcwDfcusLkCQbg-VdtMdKFtVO3JJx6zupQJH02YXkZDpB2uhU_iNE6rB2ozZXszgaj6ePJmNV2A1yo9o72N7AwK44r_sWvVSmzg1CCcZFa7pmZIr-AlCicgibxgckXxlpScblN9zRqTyCgpDeMziTJlmclmDXv9p7PIP3keB8STGD7MkB7ABbrB-mFDNuOEmP-1pFPaDGkYXpLEXVptWLGLADbUYnzKhOTyGVvzhy_tlRkucaIjWwCVMRyM54tY0CvC_wOkee1Ad0eKm0qi0zAGMMg4DMrPqWhkg
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTMxODUsImV4cCI6MTczNjI1NDk4NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.RRMUDaKTYh9oo5QBcm6RhSjp0Xidlr_Qfq9prpt0_51j0xpUueVHWnXV8p4I0vPKrZxNO94co9UygyKUlXQTqdhLBISsGHQOnHK2CzgKQZgX2t15MpfuwSZ-90Yu99XzZ7r6IkNx1ehOmJav35Air3OvSPbCOXuei6VOfxkDFYEhAbTF2-Sp29wL0TAQ4r6jeS_m5Kf6zQrKgP9Kl0rC4rTSwgG6F0xPbqWFCeliLXLIIF0EP21tWWcQpVzW2xxUsF1Wk-doLQV8CUFyIHmO-x5d44u2tn9jK_PLUATT0SaCDCGliQFGrdn2_k7_IS01ii196YM-rHNXWedhGY-bPw
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => yFu-89IkLOSa6vzsS2pIBeu0G8YFSmmJgT8YT1f-oUA
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 07:33:05] Production.INFO: AccountID 39
[2025-01-07 07:33:05] Production.INFO: AccountName Riavera
[2025-01-07 07:33:05] Production.INFO: Checkcustomer
[2025-01-07 07:33:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Riavera"
[2025-01-07 07:33:05] Production.INFO: Date 2024-12-19
[2025-01-07 07:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:33:05] Production.INFO: Date 2024-12-20
[2025-01-07 07:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:33:05] Production.INFO: Date 2024-12-21
[2025-01-07 07:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:33:05] Production.INFO: Date 2024-12-22
[2025-01-07 07:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:33:05] Production.INFO: Date 2024-12-23
[2025-01-07 07:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:33:05] Production.INFO: Date 2024-12-24
[2025-01-07 07:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:33:05] Production.INFO: Date 2024-12-25
[2025-01-07 07:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:33:05] Production.INFO: Date 2024-12-26
[2025-01-07 07:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:33:05] Production.INFO: Date 2024-12-27
[2025-01-07 07:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:33:05] Production.INFO: Date 2024-12-28
[2025-01-07 07:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:33:05] Production.INFO: Date 2024-12-29
[2025-01-07 07:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:33:06] Production.INFO: Date 2024-12-30
[2025-01-07 07:33:06] Production.INFO: Reseller ==> 0
[2025-01-07 07:33:06] Production.INFO: Date 2024-12-31
[2025-01-07 07:33:06] Production.INFO: Reseller ==> 0
[2025-01-07 07:33:06] Production.INFO: Date 2025-01-01
[2025-01-07 07:33:06] Production.INFO: Reseller ==> 0
[2025-01-07 07:33:06] Production.INFO: Date 2025-01-02
[2025-01-07 07:33:06] Production.INFO: Reseller ==> 0
[2025-01-07 07:33:06] Production.INFO: Date 2025-01-03
[2025-01-07 07:33:06] Production.INFO: Reseller ==> 0
[2025-01-07 07:33:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:33:06
[end_date_ymd] => 2025-01-07 07:33:06
[RateCDR] => 1
)
[2025-01-07 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-07 04:33:06' and `end` < '2025-01-07 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-07 07:33:06] Production.INFO: Date 2025-01-04
[2025-01-07 07:33:06] Production.INFO: Reseller ==> 0
[2025-01-07 07:33:06] Production.INFO: Date 2025-01-05
[2025-01-07 07:33:06] Production.INFO: Reseller ==> 0
[2025-01-07 07:33:06] Production.INFO: Date 2025-01-06
[2025-01-07 07:33:06] Production.INFO: Reseller ==> 0
[2025-01-07 07:33:06] Production.INFO: Date 2025-01-07
[2025-01-07 07:33:06] Production.INFO: Reseller ==> 0
[2025-01-07 07:33:06] Production.INFO: Total Charge 0
[2025-01-07 07:33:06] Production.INFO: CreateAllLog End
[2025-01-07 07:33:06] Production.INFO: Account Balance End.
[2025-01-07 07:33:06] Production.ERROR: CronJobId end 12
[2025-01-07 07:33:06] Production.INFO: ==17339== Releasing lock...
[2025-01-07 07:33:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:33:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:33:07] Production.INFO: Contact id print CheckCustomer Case===e55c0831-3c53-4fcf-8b75-89133eb5af09
[2025-01-07 07:33:07] Production.INFO: -- count --1
[2025-01-07 07:33:07] Production.INFO: -- Xero Add Inovice --
[2025-01-07 07:33:07] Production.INFO: CheckInvoice xerov2: INV9214
[2025-01-07 07:33:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV9214
[2025-01-07 07:33:10] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 07:33:10] Production.INFO: Invoice SubTotal 197.950000
[2025-01-07 07:33:10] Production.INFO: Invoice DetTotal 197.95
[2025-01-07 07:33:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Riavera"
[2025-01-07 07:33:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 07:33:13] Production.ERROR: CronJobId end10
[2025-01-07 07:33:13] Production.INFO: ==17337== Releasing lock...
[2025-01-07 07:33:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:33:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:33:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:33:15] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:33:15] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:33:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:33:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:33:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:33:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:33:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:33:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:33:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:33:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:33:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:33:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:33:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:33:15] Production.INFO: call_cost start
[2025-01-07 07:33:15] Production.INFO: call_cost end
[2025-01-07 07:33:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:33:16] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:33:16] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:33:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:33:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:33:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:33:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:33:16] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:33:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:33:16] Production.INFO: ==17333== Releasing lock...
[2025-01-07 07:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:33:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:33:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 07:33:19] Production.INFO: count ==64
[2025-01-07 07:33:19] Production.ERROR: pbx CDR StartTime 2025-01-07 04:33:06 - End Time 2025-01-07 07:33:06
[2025-01-07 07:33:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193396', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193396', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193396', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193396', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:33:19] Production.INFO: ProcessCDR(1,14193396,1,1,2)
[2025-01-07 07:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193396,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:33:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 07:33:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193396,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:33:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193396,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:33:21] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 10-18-2023 To 11-17-2023",Quantity : 1,UnitAmount : 0.360000,LineAmount : 0.360000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (14168157000)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (16474939495)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DIDs (16477890070 - 16477890079)",Quantity : 10,UnitAmount : 1.500000,LineAmount : 15.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18557890078)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18663639217)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18776890076)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18889890071)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14168157000 - 181 UNIVERSITY AVE STE 2000 TORONTO, ON M5H3M7)",Quantity : 1,UnitAmount : 2.750000,LineAmount : 2.750000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 15,UnitAmount : 10.990000,LineAmount : 164.850000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (16477890077) - Digital Fax",Quantity : 1,UnitAmount : 5.990000,LineAmount : 5.990000}
[2025-01-07 07:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193396,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193396', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193396', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:33:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:33:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:33:22] Production.INFO: ==17341== Releasing lock...
[2025-01-07 07:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:33:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 07:33:25] Production.INFO: ==== result =====
[2025-01-07 07:33:25] Production.INFO: {
"Id": "a4d370fe-7adb-459e-9fa7-3cf47d90345c",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736253205325)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "c015a8d0-7360-4017-95f4-5229df0a05ad",
"InvoiceNumber": "INV9214",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 223.72,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "e55c0831-3c53-4fcf-8b75-89133eb5af09",
"ContactStatus": "ACTIVE",
"Name": "Riavera",
"FirstName": "David",
"LastName": "Kerry",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1655922965160+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2023-11-18T00:00:00",
"Date": "\/Date(1700265600000+0000)\/",
"DueDateString": "2023-12-18T00:00:00",
"DueDate": "\/Date(1702857600000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "From 10-18-2023 To 11-17-2023",
"UnitAmount": 0.36,
"TaxType": "TAX020",
"TaxAmount": 0.05,
"LineAmount": 0.36,
"AccountCode": "234",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "5d1634ea-ad1b-415d-98ad-e5513f3f48ed",
"AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (14168157000)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "e3bb9229-0f1b-480f-8184-777b91d8a924",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (16474939495)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "5474a709-cdb1-40a8-8709-12eff6ebe3b9",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DIDs (16477890070 - 16477890079)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 1.95,
"LineAmount": 15.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 10.0000,
"DiscountRate": 0.00,
"LineItemID": "aa4ea146-48df-46ec-ac47-92cdf34321c5",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (18557890078)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "9c355ba5-66e5-4457-abb5-1c8032dccc1c",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (18663639217)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "b3510d22-7dfe-411b-9e49-13400dd50033",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (18776890076)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "1c723596-f641-4e9e-a85f-5006d7e3a199",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (18889890071)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "b45789cd-3668-414a-bc5f-3d6d1d3d83ba",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (14168157000 - 181 UNIVERSITY AVE STE 2000 TORONTO, ON M5H3M7)",
"UnitAmount": 2.75,
"TaxType": "TAX020",
"TaxAmount": 0.36,
"LineAmount": 2.75,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "f3bcd9d4-bc5c-412c-bc11-5b98312d93f8",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "License for a Pay As You Go Cloud Phone extension",
"UnitAmount": 10.99,
"TaxType": "TAX020",
"TaxAmount": 21.43,
"LineAmount": 164.85,
"AccountCode": "203",
"Tracking": [],
"Quantity": 15.0000,
"DiscountRate": 0.00,
"LineItemID": "736943da-c42f-4738-a205-103c4c0fafa7",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (16477890077) - Digital Fax",
"UnitAmount": 5.99,
"TaxType": "TAX020",
"TaxAmount": 0.78,
"LineAmount": 5.99,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "87d88236-6c06-4d49-9e0c-a9b33a1871d1",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 197.95,
"TotalTax": 25.77,
"Total": 223.72,
"UpdatedDateUTC": "\/Date(1736253205247+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 07:33:25] Production.INFO: -- Create Invoice id --c015a8d0-7360-4017-95f4-5229df0a05ad
[2025-01-07 07:33:25] Production.INFO: -- Create Invoice Done --
[2025-01-07 07:33:25] Production.INFO: -- Xero End Inovice --
[2025-01-07 07:33:25] Production.INFO: ==17331== Releasing lock...
[2025-01-07 07:33:25] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10472 #Stops#
[2025-01-07 07:33:25] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 12:34:01] Production.INFO: ==17428== Lock acquired, processing the job...
[2025-01-07 12:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:34:01] Production.INFO: neon service started
[2025-01-07 12:34:01] Production.INFO: neon service started
[2025-01-07 12:34:01] Production.INFO: ==17428== Releasing lock...
[2025-01-07 12:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:34:02] Production.INFO: ==17430== Lock acquired, processing the job...
[2025-01-07 07:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:34:02] Production.INFO: ==17430== Releasing lock...
[2025-01-07 07:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:34:02] Production.INFO: ==17432== Lock acquired, processing the job...
[2025-01-07 12:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:34:02] Production.INFO: ==17432== Releasing lock...
[2025-01-07 12:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:34:03] Production.INFO: ==17436== Lock acquired, processing the job...
[2025-01-07 07:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:34:03] Production.INFO: ==17445== Lock acquired, processing the job...
[2025-01-07 07:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 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-07 07:34:03] Production.INFO: count ==21
[2025-01-07 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-07 07:34:03] Production.INFO: count ==21
[2025-01-07 07:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193398') start
[2025-01-07 07:34:03] Production.INFO: ==17434== Lock acquired, processing the job...
[2025-01-07 07:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:34:03] Production.INFO: ==17436== Releasing lock...
[2025-01-07 07:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193398') end
[2025-01-07 07:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:34:03] Production.INFO: 1
[2025-01-07 07:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:34:03] Production.INFO: ==17439== Lock acquired, processing the job...
[2025-01-07 07:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:34:03] Production.INFO: ==17445== Releasing lock...
[2025-01-07 07:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:34:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:34:03] Production.INFO: ==17441== Lock acquired, processing the job...
[2025-01-07 07:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:34:04] Production.INFO: ==17443== Lock acquired, processing the job...
[2025-01-07 07:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:34:04] Production.INFO: Account Balance Start.
[2025-01-07 07:34:04] Production.INFO: CreateAllLog Start
[2025-01-07 07:34:04] Production.INFO: 117
[2025-01-07 07:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:34:04] Production.INFO: Date 2024-12-08
[2025-01-07 07:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:34:04] Production.INFO: Date 2024-12-09
[2025-01-07 07:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:34:04] Production.INFO: Date 2024-12-10
[2025-01-07 07:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:34:04] Production.INFO: Date 2024-12-11
[2025-01-07 07:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:34:04] Production.INFO: Date 2024-12-12
[2025-01-07 07:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:34:04] Production.INFO: Date 2024-12-13
[2025-01-07 07:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:34:04] Production.ERROR: done
[2025-01-07 07:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:34:04] Production.INFO: Date 2024-12-14
[2025-01-07 07:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:34:04] Production.INFO: Date 2024-12-15
[2025-01-07 07:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:34:04] Production.INFO: Date 2024-12-16
[2025-01-07 07:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:34:04] Production.INFO: Date 2024-12-17
[2025-01-07 07:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:34:04] Production.INFO: Date 2024-12-18
[2025-01-07 07:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:34:04] Production.ERROR: done
[2025-01-07 07:34:04] Production.INFO: Date 2024-12-19
[2025-01-07 07:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:34:04] Production.INFO: Date 2024-12-20
[2025-01-07 07:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:34:04] Production.INFO: Date 2024-12-21
[2025-01-07 07:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:34:04] Production.INFO: Date 2024-12-22
[2025-01-07 07:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:34:04] Production.INFO: Date 2024-12-23
[2025-01-07 07:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:34:04] Production.INFO: Date 2024-12-24
[2025-01-07 07:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:34:04] Production.INFO: Date 2024-12-25
[2025-01-07 07:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:34:04] Production.INFO: Date 2024-12-26
[2025-01-07 07:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:34:04] Production.INFO: Date 2024-12-27
[2025-01-07 07:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:34:04] Production.INFO: Date 2024-12-28
[2025-01-07 07:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:34:04] Production.INFO: Date 2024-12-29
[2025-01-07 07:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:34:04] Production.INFO: Date 2024-12-30
[2025-01-07 07:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:34:05] Production.INFO: Date 2024-12-31
[2025-01-07 07:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:34:05] Production.INFO: Date 2025-01-01
[2025-01-07 07:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:34:05] Production.INFO: Date 2025-01-02
[2025-01-07 07:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:34:05] Production.INFO: Date 2025-01-03
[2025-01-07 07:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:34:05] Production.INFO: Date 2025-01-04
[2025-01-07 07:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:34:05] Production.INFO: Date 2025-01-05
[2025-01-07 07:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:34:05] Production.INFO: Date 2025-01-06
[2025-01-07 07:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:34:05] Production.INFO: Date 2025-01-07
[2025-01-07 07:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:34:05] Production.INFO: Total Charge 0
[2025-01-07 07:34:05] Production.INFO: CreateAllLog End
[2025-01-07 07:34:05] Production.INFO: Account Balance End.
[2025-01-07 07:34:05] Production.ERROR: CronJobId end 12
[2025-01-07 07:34:05] Production.INFO: ==17441== Releasing lock...
[2025-01-07 07:34:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:34:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:34:05
[end_date_ymd] => 2025-01-07 07:34:05
[RateCDR] => 1
)
[2025-01-07 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-07 04:34:05' and `end` < '2025-01-07 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-07 07:34:13] Production.ERROR: CronJobId end10
[2025-01-07 07:34:13] Production.INFO: ==17439== Releasing lock...
[2025-01-07 07:34:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:34:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:34:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:34:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:34:14] Production.INFO: call_cost start
[2025-01-07 07:34:14] Production.INFO: call_cost end
[2025-01-07 07:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:34:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:34:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:34:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:34:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:34:15] Production.INFO: ==17434== Releasing lock...
[2025-01-07 07:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:34:18] Production.INFO: count ==64
[2025-01-07 07:34:18] Production.ERROR: pbx CDR StartTime 2025-01-07 04:34:05 - End Time 2025-01-07 07:34:05
[2025-01-07 07:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193401', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193401', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193401', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193401', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:34:18] Production.INFO: ProcessCDR(1,14193401,1,1,2)
[2025-01-07 07:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193401,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193401,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193401,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193401,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193401', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193401', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:34:21] Production.INFO: ==17443== Releasing lock...
[2025-01-07 07:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:34:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 12:35:01] Production.INFO: ==17522== Lock acquired, processing the job...
[2025-01-07 12:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:35:01] Production.INFO: neon service started
[2025-01-07 12:35:01] Production.INFO: neon service started
[2025-01-07 12:35:01] Production.INFO: ==17522== Releasing lock...
[2025-01-07 12:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:35:01] Production.INFO: ==17524== Lock acquired, processing the job...
[2025-01-07 07:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:35:02] Production.INFO: ==17524== Releasing lock...
[2025-01-07 07:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:35:02] Production.INFO: ==17526== Lock acquired, processing the job...
[2025-01-07 12:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:35:02] Production.INFO: ==17526== Releasing lock...
[2025-01-07 12:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:35:02] Production.INFO: ==17534== Lock acquired, processing the job...
[2025-01-07 07:35:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:35:03] Production.INFO: ==17532== Lock acquired, processing the job...
[2025-01-07 07:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:35:03] Production.INFO: ==17532== Releasing lock...
[2025-01-07 07:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:35:03] Production.INFO: ==17528== Lock acquired, processing the job...
[2025-01-07 07:35:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10473 #Starts#
[2025-01-07 07:35:03] Production.INFO: ==17530== Lock acquired, processing the job...
[2025-01-07 07:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:35:03] Production.INFO: -- Xero Api Check --
[2025-01-07 07:35:03] Production.INFO: ==17536== Lock acquired, processing the job...
[2025-01-07 07:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:35:03] Production.INFO: ==17540== Lock acquired, processing the job...
[2025-01-07 07:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:35:03] Production.INFO: Account Balance Start.
[2025-01-07 07:35:03] Production.INFO: CreateAllLog Start
[2025-01-07 07:35:03] Production.INFO: 117
[2025-01-07 07:35:03] Production.INFO: ==17538== Lock acquired, processing the job...
[2025-01-07 07:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:35:03] Production.INFO: Date 2024-12-08
[2025-01-07 07:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:35:03] Production.INFO: Date 2024-12-09
[2025-01-07 07:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:35:03] Production.INFO: count ==21
[2025-01-07 07:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:35:03] Production.INFO: count ==21
[2025-01-07 07:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193405') start
[2025-01-07 07:35:03] Production.INFO: Date 2024-12-10
[2025-01-07 07:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:35:03] Production.INFO: Date 2024-12-11
[2025-01-07 07:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193405') end
[2025-01-07 07:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:35:03] Production.INFO: 1
[2025-01-07 07:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:35:03] Production.INFO: ==17540== Releasing lock...
[2025-01-07 07:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:35:04] Production.ERROR: done
[2025-01-07 07:35:04] Production.INFO: Date 2024-12-12
[2025-01-07 07:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:35:04] Production.ERROR: done
[2025-01-07 07:35:04] Production.INFO: Date 2024-12-13
[2025-01-07 07:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:35: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] => 858
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.889415
[namelookup_time] => 0.284681
[connect_time] => 0.295594
[pretransfer_time] => 0.584841
[size_upload] => 82
[size_download] => 2755
[speed_download] => 3097
[speed_upload] => 92
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.889381
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.17
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 44736
)
[2025-01-07 07:35:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTMzMDQsImV4cCI6MTczNjI1MzYwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjUzMzA0LCJhdF9oYXNoIjoiVGlUZmd6QnNCeEx1d2pFR3lKMDRZUSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.aw-JUbFpvQvYF0icW9U4KLZCCihOgWtHXy7iX6dYGkkCr24nmNUYMe2GbOC9r53WDsErGBO55tbFpO0UncgFHiSCOYfehFDXKsaeXptydcnGDBohjwyVXj8fDbrw3vfxvyugBnsN3q-u9v7_iKc4zN4W953n-XpASxdj-H0J3UgsHR1VdXNsq7V68Y1DfOR7uGKikgurxanJedZgg2SfREcAZauro0ivYOXIhJ-f9o3VXi3QQLd1yxOrhVjBvIlwZCTwN0t7NnDzt-lzzBE4E5yyJ-y-aes0Lo4wV7ehP_cr3gwMfAf7Muna3aT0NFyLl8s_gksEpQIGlN0MtX7cwQ
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTMzMDQsImV4cCI6MTczNjI1NTEwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.FlMQGMr4J7KhoXsvOsoSadKNcmsg9kvFaNCZRSwQzqtGB1VGKTv2D9M7LIpuP67OOQtAtwxJp6o_0VHN2Ig79I-k3CrVqnx1uudkciWpo16pGiz1SpWgk6-Ka7k3bfYGf7SPdcuczKCwCcopVdvP6Ml-vVEUS8YmJ7HJJzmjRP-PY2GH_S6LU0dHgfiABipvWR6XxuoFnqLPy7zb2WWKwmWFMz3-Cl0GQ4nsRZZWxKXn9Dvw1ntVXdpxJl2VFJUAJ-yjGhlF5HVTyi6WjvKYKLTpbGRgYsNgPgBiuRPgGCOqZHYVb0G_Ucy4Z3k8WPMDJVCykzhAHVPDkKwu25-pSQ
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => 53V2xwb33krBu26p6no62KvRPeKpH1C0MkBQRREjWK0
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 07:35:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTMzMDQsImV4cCI6MTczNjI1MzYwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjUzMzA0LCJhdF9oYXNoIjoiVGlUZmd6QnNCeEx1d2pFR3lKMDRZUSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.aw-JUbFpvQvYF0icW9U4KLZCCihOgWtHXy7iX6dYGkkCr24nmNUYMe2GbOC9r53WDsErGBO55tbFpO0UncgFHiSCOYfehFDXKsaeXptydcnGDBohjwyVXj8fDbrw3vfxvyugBnsN3q-u9v7_iKc4zN4W953n-XpASxdj-H0J3UgsHR1VdXNsq7V68Y1DfOR7uGKikgurxanJedZgg2SfREcAZauro0ivYOXIhJ-f9o3VXi3QQLd1yxOrhVjBvIlwZCTwN0t7NnDzt-lzzBE4E5yyJ-y-aes0Lo4wV7ehP_cr3gwMfAf7Muna3aT0NFyLl8s_gksEpQIGlN0MtX7cwQ
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTMzMDQsImV4cCI6MTczNjI1NTEwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.FlMQGMr4J7KhoXsvOsoSadKNcmsg9kvFaNCZRSwQzqtGB1VGKTv2D9M7LIpuP67OOQtAtwxJp6o_0VHN2Ig79I-k3CrVqnx1uudkciWpo16pGiz1SpWgk6-Ka7k3bfYGf7SPdcuczKCwCcopVdvP6Ml-vVEUS8YmJ7HJJzmjRP-PY2GH_S6LU0dHgfiABipvWR6XxuoFnqLPy7zb2WWKwmWFMz3-Cl0GQ4nsRZZWxKXn9Dvw1ntVXdpxJl2VFJUAJ-yjGhlF5HVTyi6WjvKYKLTpbGRgYsNgPgBiuRPgGCOqZHYVb0G_Ucy4Z3k8WPMDJVCykzhAHVPDkKwu25-pSQ
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => 53V2xwb33krBu26p6no62KvRPeKpH1C0MkBQRREjWK0
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 07:35:04] Production.INFO: Date 2024-12-14
[2025-01-07 07:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:35:04] Production.INFO: AccountID 39
[2025-01-07 07:35:04] Production.INFO: AccountName Riavera
[2025-01-07 07:35:04] Production.INFO: Checkcustomer
[2025-01-07 07:35:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Riavera"
[2025-01-07 07:35:04] Production.INFO: Date 2024-12-15
[2025-01-07 07:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:35:04] Production.INFO: Date 2024-12-16
[2025-01-07 07:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:35:04] Production.INFO: Date 2024-12-17
[2025-01-07 07:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:35:04] Production.INFO: Date 2024-12-18
[2025-01-07 07:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:35:04] Production.INFO: Date 2024-12-19
[2025-01-07 07:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:35:04] Production.INFO: Date 2024-12-20
[2025-01-07 07:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:35:04] Production.INFO: Date 2024-12-21
[2025-01-07 07:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:35:04] Production.INFO: Date 2024-12-22
[2025-01-07 07:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:35:04] Production.INFO: Date 2024-12-23
[2025-01-07 07:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:35:04] Production.INFO: Date 2024-12-24
[2025-01-07 07:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:35:04] Production.INFO: Date 2024-12-25
[2025-01-07 07:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:35:04] Production.INFO: Date 2024-12-26
[2025-01-07 07:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:35:04] Production.INFO: Date 2024-12-27
[2025-01-07 07:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:35:04] Production.INFO: Date 2024-12-28
[2025-01-07 07:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:35:04] Production.INFO: Date 2024-12-29
[2025-01-07 07:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:35:05] Production.INFO: Date 2024-12-30
[2025-01-07 07:35:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:35:05] Production.INFO: Date 2024-12-31
[2025-01-07 07:35:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:35:05] Production.INFO: Date 2025-01-01
[2025-01-07 07:35:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:35:05] Production.INFO: Date 2025-01-02
[2025-01-07 07:35:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:35:05] Production.INFO: Date 2025-01-03
[2025-01-07 07:35:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:35:05] Production.INFO: Date 2025-01-04
[2025-01-07 07:35:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:35:05] Production.INFO: Date 2025-01-05
[2025-01-07 07:35:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:35:05] Production.INFO: Date 2025-01-06
[2025-01-07 07:35:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:35:05] Production.INFO: Date 2025-01-07
[2025-01-07 07:35:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:35:05] Production.INFO: Total Charge 0
[2025-01-07 07:35:05] Production.INFO: CreateAllLog End
[2025-01-07 07:35:05] Production.INFO: Account Balance End.
[2025-01-07 07:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:35:05
[end_date_ymd] => 2025-01-07 07:35:05
[RateCDR] => 1
)
[2025-01-07 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-07 04:35:05' and `end` < '2025-01-07 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-07 07:35:05] Production.ERROR: CronJobId end 12
[2025-01-07 07:35:05] Production.INFO: ==17536== Releasing lock...
[2025-01-07 07:35:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:35:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:35:07] Production.INFO: Contact id print CheckCustomer Case===e55c0831-3c53-4fcf-8b75-89133eb5af09
[2025-01-07 07:35:07] Production.INFO: -- count --1
[2025-01-07 07:35:07] Production.INFO: -- Xero Add Inovice --
[2025-01-07 07:35:07] Production.INFO: CheckInvoice xerov2: INV8915
[2025-01-07 07:35:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV8915
[2025-01-07 07:35:09] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 07:35:09] Production.INFO: Invoice SubTotal 197.770000
[2025-01-07 07:35:09] Production.INFO: Invoice DetTotal 197.77
[2025-01-07 07:35:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Riavera"
[2025-01-07 07:35:11] Production.ERROR: CronJobId end10
[2025-01-07 07:35:11] Production.INFO: ==17534== Releasing lock...
[2025-01-07 07:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:35:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 07:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:35:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:35:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:35:14] Production.INFO: call_cost start
[2025-01-07 07:35:14] Production.INFO: call_cost end
[2025-01-07 07:35:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 07:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:35:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:35:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:35:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:35:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:35:15] Production.INFO: ==17530== Releasing lock...
[2025-01-07 07:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:35:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 07:35:18] Production.INFO: count ==64
[2025-01-07 07:35:18] Production.ERROR: pbx CDR StartTime 2025-01-07 04:35:05 - End Time 2025-01-07 07:35:05
[2025-01-07 07:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193406', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193406', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193406', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193406', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:35:18] Production.INFO: ProcessCDR(1,14193406,1,1,2)
[2025-01-07 07:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193406,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193406,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193406,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:35:20] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 08-18-2023 To 09-17-2023",Quantity : 1,UnitAmount : 0.180000,LineAmount : 0.180000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (14168157000)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (16474939495)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DIDs (16477890070 - 16477890079)",Quantity : 10,UnitAmount : 1.500000,LineAmount : 15.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18557890078)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18663639217)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18776890076)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18889890071)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14168157000 - 181 UNIVERSITY AVE STE 2000 TORONTO, ON M5H3M7)",Quantity : 1,UnitAmount : 2.750000,LineAmount : 2.750000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 15,UnitAmount : 10.990000,LineAmount : 164.850000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (16477890077) - Digital Fax",Quantity : 1,UnitAmount : 5.990000,LineAmount : 5.990000}
[2025-01-07 07:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193406,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193406', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193406', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:35:21] Production.INFO: ==17538== Releasing lock...
[2025-01-07 07:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:35:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 07:35:23] Production.INFO: ==== result =====
[2025-01-07 07:35:23] Production.INFO: {
"Id": "57922849-f3c2-4357-947b-961bf7f31383",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736253323019)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "73728ee9-e312-4955-b24b-19042d83774a",
"InvoiceNumber": "INV8915",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 223.51,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "e55c0831-3c53-4fcf-8b75-89133eb5af09",
"ContactStatus": "ACTIVE",
"Name": "Riavera",
"FirstName": "David",
"LastName": "Kerry",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1655922965160+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2023-09-18T00:00:00",
"Date": "\/Date(1694995200000+0000)\/",
"DueDateString": "2023-10-18T00:00:00",
"DueDate": "\/Date(1697587200000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "From 08-18-2023 To 09-17-2023",
"UnitAmount": 0.18,
"TaxType": "TAX020",
"TaxAmount": 0.02,
"LineAmount": 0.18,
"AccountCode": "234",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "1ac68b23-fcaf-48e4-9e15-0a6b110d3064",
"AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (14168157000)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "673c1ad2-5c48-4a20-a331-64f09f90b219",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (16474939495)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "d031c19a-373c-4359-8f30-d0ab5569487c",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DIDs (16477890070 - 16477890079)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 1.95,
"LineAmount": 15.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 10.0000,
"DiscountRate": 0.00,
"LineItemID": "19a02f39-cac1-45ae-ac51-89f7d694c795",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (18557890078)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "903cd760-0514-4e1b-a0a0-910dc37e25cf",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (18663639217)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "4f1c1e48-8759-4e1a-9359-7c03470dea34",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (18776890076)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "cf56d1b4-5c57-4238-920b-afb11081e1bb",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (18889890071)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "2e4205b4-fc60-4fb1-848d-ff0cec51187d",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (14168157000 - 181 UNIVERSITY AVE STE 2000 TORONTO, ON M5H3M7)",
"UnitAmount": 2.75,
"TaxType": "TAX020",
"TaxAmount": 0.36,
"LineAmount": 2.75,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "3ee88b95-dad1-4e3e-bc31-a929039b74e0",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "License for a Pay As You Go Cloud Phone extension",
"UnitAmount": 10.99,
"TaxType": "TAX020",
"TaxAmount": 21.43,
"LineAmount": 164.85,
"AccountCode": "203",
"Tracking": [],
"Quantity": 15.0000,
"DiscountRate": 0.00,
"LineItemID": "754c0de7-38c4-4c86-b28d-cdbd2c953cc5",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (16477890077) - Digital Fax",
"UnitAmount": 5.99,
"TaxType": "TAX020",
"TaxAmount": 0.78,
"LineAmount": 5.99,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "1232c7f8-8244-4f44-9811-8ee8461ae55e",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 197.77,
"TotalTax": 25.74,
"Total": 223.51,
"UpdatedDateUTC": "\/Date(1736253322980+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 07:35:23] Production.INFO: -- Create Invoice id --73728ee9-e312-4955-b24b-19042d83774a
[2025-01-07 07:35:23] Production.INFO: -- Create Invoice Done --
[2025-01-07 07:35:23] Production.INFO: -- Xero End Inovice --
[2025-01-07 07:35:23] Production.INFO: ==17528== Releasing lock...
[2025-01-07 07:35:23] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10473 #Stops#
[2025-01-07 07:35:23] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 12:36:01] Production.INFO: ==17623== Lock acquired, processing the job...
[2025-01-07 12:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:36:01] Production.INFO: neon service started
[2025-01-07 12:36:01] Production.INFO: neon service started
[2025-01-07 12:36:01] Production.INFO: ==17623== Releasing lock...
[2025-01-07 12:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:36:02] Production.INFO: ==17625== Lock acquired, processing the job...
[2025-01-07 07:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:36:02] Production.INFO: ==17625== Releasing lock...
[2025-01-07 07:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:36:02] Production.INFO: ==17627== Lock acquired, processing the job...
[2025-01-07 12:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:36:02] Production.INFO: ==17627== Releasing lock...
[2025-01-07 12:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:36:03] Production.INFO: ==17632== Lock acquired, processing the job...
[2025-01-07 07:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:36:03] Production.INFO: ==17630== Lock acquired, processing the job...
[2025-01-07 07:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:36:03] Production.INFO: ==17636== Lock acquired, processing the job...
[2025-01-07 07:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:36:03] Production.INFO: ==17634== Lock acquired, processing the job...
[2025-01-07 07:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:36:03] Production.INFO: Account Balance Start.
[2025-01-07 07:36:03] Production.INFO: CreateAllLog Start
[2025-01-07 07:36:03] Production.INFO: 117
[2025-01-07 07:36:03] Production.INFO: Date 2024-12-08
[2025-01-07 07:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:36:03] Production.INFO: ==17638== Lock acquired, processing the job...
[2025-01-07 07:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:36:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:36:03] Production.INFO: ==17632== Releasing lock...
[2025-01-07 07:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:36:03] Production.INFO: ==17640== Lock acquired, processing the job...
[2025-01-07 07:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:36:03] Production.INFO: Date 2024-12-09
[2025-01-07 07:36:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:36:03] Production.INFO: Date 2024-12-10
[2025-01-07 07:36:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:36:03] Production.INFO: Date 2024-12-11
[2025-01-07 07:36:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 07:36:04] Production.INFO: count ==21
[2025-01-07 07:36:04] Production.INFO: Date 2024-12-12
[2025-01-07 07:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:36:04] Production.INFO: count ==21
[2025-01-07 07:36:04] Production.INFO: Date 2024-12-13
[2025-01-07 07:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193410') start
[2025-01-07 07:36:04] Production.INFO: Date 2024-12-14
[2025-01-07 07:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:36:04] Production.ERROR: done
[2025-01-07 07:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193410') end
[2025-01-07 07:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:36:04] Production.INFO: 1
[2025-01-07 07:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:36:04] Production.INFO: Date 2024-12-15
[2025-01-07 07:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:36:04] Production.INFO: Date 2024-12-16
[2025-01-07 07:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:36:04] Production.INFO: Date 2024-12-17
[2025-01-07 07:36:04] Production.INFO: ==17640== Releasing lock...
[2025-01-07 07:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:36:04] Production.ERROR: done
[2025-01-07 07:36:04] Production.INFO: Date 2024-12-18
[2025-01-07 07:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:36:04] Production.INFO: Date 2024-12-19
[2025-01-07 07:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:36:04] Production.INFO: Date 2024-12-20
[2025-01-07 07:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:36:04] Production.INFO: Date 2024-12-21
[2025-01-07 07:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:36:04] Production.INFO: Date 2024-12-22
[2025-01-07 07:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:36:04] Production.INFO: Date 2024-12-23
[2025-01-07 07:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:36:04] Production.INFO: Date 2024-12-24
[2025-01-07 07:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:36:04] Production.INFO: Date 2024-12-25
[2025-01-07 07:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:36:04] Production.INFO: Date 2024-12-26
[2025-01-07 07:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:36:04] Production.INFO: Date 2024-12-27
[2025-01-07 07:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:36:04] Production.INFO: Date 2024-12-28
[2025-01-07 07:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:36:04] Production.INFO: Date 2024-12-29
[2025-01-07 07:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:36:04] Production.INFO: Date 2024-12-30
[2025-01-07 07:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:36:04] Production.INFO: Date 2024-12-31
[2025-01-07 07:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:36:04] Production.INFO: Date 2025-01-01
[2025-01-07 07:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:36:04] Production.INFO: Date 2025-01-02
[2025-01-07 07:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:36:04] Production.INFO: Date 2025-01-03
[2025-01-07 07:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:36:04] Production.INFO: Date 2025-01-04
[2025-01-07 07:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:36:04] Production.INFO: Date 2025-01-05
[2025-01-07 07:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:36:05] Production.INFO: Date 2025-01-06
[2025-01-07 07:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:36:05] Production.INFO: Date 2025-01-07
[2025-01-07 07:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:36:05] Production.INFO: Total Charge 0
[2025-01-07 07:36:05] Production.INFO: CreateAllLog End
[2025-01-07 07:36:05] Production.INFO: Account Balance End.
[2025-01-07 07:36:05] Production.ERROR: CronJobId end 12
[2025-01-07 07:36:05] Production.INFO: ==17636== Releasing lock...
[2025-01-07 07:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:36:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:36:05
[end_date_ymd] => 2025-01-07 07:36:05
[RateCDR] => 1
)
[2025-01-07 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-07 04:36:05' and `end` < '2025-01-07 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-07 07:36:11] Production.ERROR: CronJobId end10
[2025-01-07 07:36:11] Production.INFO: ==17634== Releasing lock...
[2025-01-07 07:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:36:14] Production.INFO: call_cost start
[2025-01-07 07:36:14] Production.INFO: call_cost end
[2025-01-07 07:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:36:14] Production.INFO: ==17630== Releasing lock...
[2025-01-07 07:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:36:18] Production.INFO: count ==64
[2025-01-07 07:36:18] Production.ERROR: pbx CDR StartTime 2025-01-07 04:36:05 - End Time 2025-01-07 07:36:05
[2025-01-07 07:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193411', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193411', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193411', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193411', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:36:18] Production.INFO: ProcessCDR(1,14193411,1,1,2)
[2025-01-07 07:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193411,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193411,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193411,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193411,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193411', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193411', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:36:21] Production.INFO: ==17638== Releasing lock...
[2025-01-07 07:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:36:21] Production.INFO: 28 MB #Memory Used#
[2025-01-07 12:37:02] Production.INFO: ==17719== Lock acquired, processing the job...
[2025-01-07 12:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:37:02] Production.INFO: neon service started
[2025-01-07 12:37:02] Production.INFO: neon service started
[2025-01-07 12:37:02] Production.INFO: ==17719== Releasing lock...
[2025-01-07 12:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 12:37:02] Production.INFO: ==17723== Lock acquired, processing the job...
[2025-01-07 12:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:37:02] Production.INFO: ==17723== Releasing lock...
[2025-01-07 12:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:37:02] Production.INFO: ==17721== Lock acquired, processing the job...
[2025-01-07 07:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:37:03] Production.INFO: ==17721== Releasing lock...
[2025-01-07 07:37:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:37:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:37:03] Production.INFO: ==17727== Lock acquired, processing the job...
[2025-01-07 07:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:37:03] Production.INFO: ==17729== Lock acquired, processing the job...
[2025-01-07 07:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:37:04] Production.INFO: ==17736== Lock acquired, processing the job...
[2025-01-07 07:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:37:04] Production.INFO: ==17732== Lock acquired, processing the job...
[2025-01-07 07:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:37:04] Production.INFO: ==17734== Lock acquired, processing the job...
[2025-01-07 07:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:37:04] Production.INFO: ==17738== Lock acquired, processing the job...
[2025-01-07 07:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:37:04] Production.ERROR: done
[2025-01-07 07:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:37:04] Production.INFO: Account Balance Start.
[2025-01-07 07:37:04] Production.INFO: CreateAllLog Start
[2025-01-07 07:37:04] Production.INFO: 117
[2025-01-07 07:37:04] Production.INFO: ==17729== Releasing lock...
[2025-01-07 07:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:37:04] Production.INFO: Date 2024-12-08
[2025-01-07 07:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:37:04] Production.ERROR: done
[2025-01-07 07:37:04] Production.INFO: count ==21
[2025-01-07 07:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:37:04] Production.INFO: count ==21
[2025-01-07 07:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193415') start
[2025-01-07 07:37:04] Production.INFO: Date 2024-12-09
[2025-01-07 07:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193415') end
[2025-01-07 07:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:37:04] Production.INFO: 1
[2025-01-07 07:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:37:04] Production.INFO: ==17738== Releasing lock...
[2025-01-07 07:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:37:04] Production.INFO: Date 2024-12-10
[2025-01-07 07:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:37:05] Production.INFO: Date 2024-12-11
[2025-01-07 07:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:37:05] Production.INFO: Date 2024-12-12
[2025-01-07 07:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:37:05] Production.INFO: Date 2024-12-13
[2025-01-07 07:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:37:05] Production.INFO: Date 2024-12-14
[2025-01-07 07:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:37:05] Production.INFO: Date 2024-12-15
[2025-01-07 07:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:37:05] Production.INFO: Date 2024-12-16
[2025-01-07 07:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:37:05] Production.INFO: Date 2024-12-17
[2025-01-07 07:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:37:05] Production.INFO: Date 2024-12-18
[2025-01-07 07:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:37:05] Production.INFO: Date 2024-12-19
[2025-01-07 07:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:37:05] Production.INFO: Date 2024-12-20
[2025-01-07 07:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:37:05] Production.INFO: Date 2024-12-21
[2025-01-07 07:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:37:05] Production.INFO: Date 2024-12-22
[2025-01-07 07:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:37:05] Production.INFO: Date 2024-12-23
[2025-01-07 07:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:37:05] Production.INFO: Date 2024-12-24
[2025-01-07 07:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:37:05] Production.INFO: Date 2024-12-25
[2025-01-07 07:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:37:05] Production.INFO: Date 2024-12-26
[2025-01-07 07:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:37:05] Production.INFO: Date 2024-12-27
[2025-01-07 07:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:37:05] Production.INFO: Date 2024-12-28
[2025-01-07 07:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:37:05] Production.INFO: Date 2024-12-29
[2025-01-07 07:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:37:05] Production.INFO: Date 2024-12-30
[2025-01-07 07:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:37:05] Production.INFO: Date 2024-12-31
[2025-01-07 07:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:37:05] Production.INFO: Date 2025-01-01
[2025-01-07 07:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:37:05] Production.INFO: Date 2025-01-02
[2025-01-07 07:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:37:05] Production.INFO: Date 2025-01-03
[2025-01-07 07:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:37:05] Production.INFO: Date 2025-01-04
[2025-01-07 07:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:37:05] Production.INFO: Date 2025-01-05
[2025-01-07 07:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:37:05] Production.INFO: Date 2025-01-06
[2025-01-07 07:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:37:06] Production.INFO: Date 2025-01-07
[2025-01-07 07:37:06] Production.INFO: Reseller ==> 0
[2025-01-07 07:37:06] Production.INFO: Total Charge 0
[2025-01-07 07:37:06] Production.INFO: CreateAllLog End
[2025-01-07 07:37:06] Production.INFO: Account Balance End.
[2025-01-07 07:37:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:37:06
[end_date_ymd] => 2025-01-07 07:37:06
[RateCDR] => 1
)
[2025-01-07 07:37:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 04:37:06' and `end` < '2025-01-07 07:37:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 07:37:06] Production.ERROR: CronJobId end 12
[2025-01-07 07:37:06] Production.INFO: ==17734== Releasing lock...
[2025-01-07 07:37:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:37:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:37:12] Production.ERROR: CronJobId end10
[2025-01-07 07:37:12] Production.INFO: ==17732== Releasing lock...
[2025-01-07 07:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:37:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:37:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:37:14] Production.INFO: call_cost start
[2025-01-07 07:37:14] Production.INFO: call_cost end
[2025-01-07 07:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:37:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:37:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:37:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:37:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:37:15] Production.INFO: ==17727== Releasing lock...
[2025-01-07 07:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:37:19] Production.INFO: count ==64
[2025-01-07 07:37:19] Production.ERROR: pbx CDR StartTime 2025-01-07 04:37:06 - End Time 2025-01-07 07:37:06
[2025-01-07 07:37:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193416', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193416', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193416', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193416', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:37:19] Production.INFO: ProcessCDR(1,14193416,1,1,2)
[2025-01-07 07:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193416,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193416,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193416,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193416,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193416', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193416', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:37:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:37:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:37:22] Production.INFO: ==17736== Releasing lock...
[2025-01-07 07:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:37:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 12:38:01] Production.INFO: ==17813== Lock acquired, processing the job...
[2025-01-07 12:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:38:01] Production.INFO: neon service started
[2025-01-07 12:38:01] Production.INFO: neon service started
[2025-01-07 12:38:01] Production.INFO: ==17813== Releasing lock...
[2025-01-07 12:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:38:02] Production.INFO: ==17815== Lock acquired, processing the job...
[2025-01-07 07:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 12:38:02] Production.INFO: ==17817== Lock acquired, processing the job...
[2025-01-07 12:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:38:02] Production.INFO: ==17817== Releasing lock...
[2025-01-07 12:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:38:02] Production.INFO: ==17815== Releasing lock...
[2025-01-07 07:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:38:03] Production.INFO: ==17824== Lock acquired, processing the job...
[2025-01-07 07:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:38:03] Production.INFO: ==17830== Lock acquired, processing the job...
[2025-01-07 07:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:38:03] Production.INFO: ==17820== Lock acquired, processing the job...
[2025-01-07 07:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:38:03] Production.INFO: count ==21
[2025-01-07 07:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:38:03] Production.INFO: count ==21
[2025-01-07 07:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193417') start
[2025-01-07 07:38:04] Production.INFO: ==17822== Lock acquired, processing the job...
[2025-01-07 07:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:38:04] Production.INFO: ==17826== Lock acquired, processing the job...
[2025-01-07 07:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193417') end
[2025-01-07 07:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:38:04] Production.INFO: 1
[2025-01-07 07:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:38:04] Production.INFO: ==17828== Lock acquired, processing the job...
[2025-01-07 07:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:38:04] Production.INFO: ==17830== Releasing lock...
[2025-01-07 07:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:38:04] Production.INFO: Account Balance Start.
[2025-01-07 07:38:04] Production.INFO: CreateAllLog Start
[2025-01-07 07:38:04] Production.INFO: 117
[2025-01-07 07:38:04] Production.INFO: Date 2024-12-08
[2025-01-07 07:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:38:04] Production.ERROR: done
[2025-01-07 07:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:38:04] Production.INFO: Date 2024-12-09
[2025-01-07 07:38:04] Production.INFO: ==17822== Releasing lock...
[2025-01-07 07:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:38:04] Production.INFO: Date 2024-12-10
[2025-01-07 07:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:38:04] Production.ERROR: done
[2025-01-07 07:38:04] Production.INFO: Date 2024-12-11
[2025-01-07 07:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:38:04] Production.INFO: Date 2024-12-12
[2025-01-07 07:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:38:04] Production.INFO: Date 2024-12-13
[2025-01-07 07:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:38:04] Production.INFO: Date 2024-12-14
[2025-01-07 07:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:38:04] Production.INFO: Date 2024-12-15
[2025-01-07 07:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:38:04] Production.INFO: Date 2024-12-16
[2025-01-07 07:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:38:05] Production.INFO: Date 2024-12-17
[2025-01-07 07:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:38:05] Production.INFO: Date 2024-12-18
[2025-01-07 07:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:38:05] Production.INFO: Date 2024-12-19
[2025-01-07 07:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:38:05] Production.INFO: Date 2024-12-20
[2025-01-07 07:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:38:05] Production.INFO: Date 2024-12-21
[2025-01-07 07:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:38:05] Production.INFO: Date 2024-12-22
[2025-01-07 07:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:38:05] Production.INFO: Date 2024-12-23
[2025-01-07 07:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:38:05] Production.INFO: Date 2024-12-24
[2025-01-07 07:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:38:05] Production.INFO: Date 2024-12-25
[2025-01-07 07:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:38:05] Production.INFO: Date 2024-12-26
[2025-01-07 07:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:38:05] Production.INFO: Date 2024-12-27
[2025-01-07 07:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:38:05] Production.INFO: Date 2024-12-28
[2025-01-07 07:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:38:05] Production.INFO: Date 2024-12-29
[2025-01-07 07:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:38:05] Production.INFO: Date 2024-12-30
[2025-01-07 07:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:38:05] Production.INFO: Date 2024-12-31
[2025-01-07 07:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:38:05] Production.INFO: Date 2025-01-01
[2025-01-07 07:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:38:05] Production.INFO: Date 2025-01-02
[2025-01-07 07:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:38:05] Production.INFO: Date 2025-01-03
[2025-01-07 07:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:38:05
[end_date_ymd] => 2025-01-07 07:38:05
[RateCDR] => 1
)
[2025-01-07 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-07 04:38:05' and `end` < '2025-01-07 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-07 07:38:05] Production.INFO: Date 2025-01-04
[2025-01-07 07:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:38:05] Production.INFO: Date 2025-01-05
[2025-01-07 07:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:38:05] Production.INFO: Date 2025-01-06
[2025-01-07 07:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:38:05] Production.INFO: Date 2025-01-07
[2025-01-07 07:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:38:05] Production.INFO: Total Charge 0
[2025-01-07 07:38:05] Production.INFO: CreateAllLog End
[2025-01-07 07:38:06] Production.INFO: Account Balance End.
[2025-01-07 07:38:06] Production.ERROR: CronJobId end 12
[2025-01-07 07:38:06] Production.INFO: ==17826== Releasing lock...
[2025-01-07 07:38:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:38:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:38:11] Production.ERROR: CronJobId end10
[2025-01-07 07:38:11] Production.INFO: ==17824== Releasing lock...
[2025-01-07 07:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:38:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:38:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:38:15] Production.INFO: call_cost start
[2025-01-07 07:38:15] Production.INFO: call_cost end
[2025-01-07 07:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:38:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:38:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:38:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:38:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:38:15] Production.INFO: ==17820== Releasing lock...
[2025-01-07 07:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:38:20] Production.INFO: count ==64
[2025-01-07 07:38:20] Production.ERROR: pbx CDR StartTime 2025-01-07 04:38:05 - End Time 2025-01-07 07:38:05
[2025-01-07 07:38:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193421', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193421', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193421', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193421', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:38:20] Production.INFO: ProcessCDR(1,14193421,1,1,2)
[2025-01-07 07:38:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193421,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:38:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193421,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:38:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193421,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:38:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193421,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193421', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193421', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:38:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:38:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:38:23] Production.INFO: ==17828== Releasing lock...
[2025-01-07 07:38:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:38:23] Production.INFO: 28 MB #Memory Used#
[2025-01-07 12:39:02] Production.INFO: ==17904== Lock acquired, processing the job...
[2025-01-07 12:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:39:02] Production.INFO: neon service started
[2025-01-07 12:39:02] Production.INFO: neon service started
[2025-01-07 12:39:02] Production.INFO: ==17904== Releasing lock...
[2025-01-07 12:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:39:02] Production.INFO: ==17908== Lock acquired, processing the job...
[2025-01-07 07:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:39:02] Production.INFO: ==17908== Releasing lock...
[2025-01-07 07:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:39:02] Production.INFO: ==17910== Lock acquired, processing the job...
[2025-01-07 12:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:39:03] Production.INFO: ==17910== Releasing lock...
[2025-01-07 12:39:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:39:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:39:03] Production.INFO: ==17920== Lock acquired, processing the job...
[2025-01-07 07:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:39:03] Production.INFO: ==17918== Lock acquired, processing the job...
[2025-01-07 07:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:39:04] Production.INFO: ==17912== Lock acquired, processing the job...
[2025-01-07 07:39:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:39:04] Production.INFO: ==17914== Lock acquired, processing the job...
[2025-01-07 07:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:39:04] Production.INFO: Account Balance Start.
[2025-01-07 07:39:04] Production.INFO: CreateAllLog Start
[2025-01-07 07:39:04] Production.INFO: ==17916== Lock acquired, processing the job...
[2025-01-07 07:39:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:39:04] Production.INFO: 117
[2025-01-07 07:39:04] Production.INFO: Date 2024-12-08
[2025-01-07 07:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:39:04] Production.INFO: ==17922== Lock acquired, processing the job...
[2025-01-07 07:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:39:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:39:04] Production.INFO: Date 2024-12-09
[2025-01-07 07:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:39:04] Production.ERROR: done
[2025-01-07 07:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:39:04] Production.INFO: Date 2024-12-10
[2025-01-07 07:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 07:39:04] Production.INFO: count ==21
[2025-01-07 07:39:04] Production.INFO: Date 2024-12-11
[2025-01-07 07:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:39:04] Production.ERROR: done
[2025-01-07 07:39:04] Production.INFO: Date 2024-12-12
[2025-01-07 07:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 07:39:04] Production.INFO: count ==21
[2025-01-07 07:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193425') start
[2025-01-07 07:39:04] Production.INFO: Date 2024-12-13
[2025-01-07 07:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:39:04] Production.INFO: Date 2024-12-14
[2025-01-07 07:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:39:04] Production.INFO: ==17914== Releasing lock...
[2025-01-07 07:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:39:04] Production.INFO: Date 2024-12-15
[2025-01-07 07:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:39:04] Production.INFO: Date 2024-12-16
[2025-01-07 07:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193425') end
[2025-01-07 07:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:39:04] Production.INFO: 1
[2025-01-07 07:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:39:04] Production.INFO: Date 2024-12-17
[2025-01-07 07:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:39:04] Production.INFO: ==17922== Releasing lock...
[2025-01-07 07:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:39:04] Production.INFO: Date 2024-12-18
[2025-01-07 07:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:39:04] Production.INFO: Date 2024-12-19
[2025-01-07 07:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:39:04] Production.INFO: Date 2024-12-20
[2025-01-07 07:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:39:05] Production.INFO: Date 2024-12-21
[2025-01-07 07:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:39:05] Production.INFO: Date 2024-12-22
[2025-01-07 07:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:39:05] Production.INFO: Date 2024-12-23
[2025-01-07 07:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:39:05] Production.INFO: Date 2024-12-24
[2025-01-07 07:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:39:05] Production.INFO: Date 2024-12-25
[2025-01-07 07:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:39:05] Production.INFO: Date 2024-12-26
[2025-01-07 07:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:39:05] Production.INFO: Date 2024-12-27
[2025-01-07 07:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:39:05] Production.INFO: Date 2024-12-28
[2025-01-07 07:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:39:05] Production.INFO: Date 2024-12-29
[2025-01-07 07:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:39:05] Production.INFO: Date 2024-12-30
[2025-01-07 07:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:39:05] Production.INFO: Date 2024-12-31
[2025-01-07 07:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:39:05] Production.INFO: Date 2025-01-01
[2025-01-07 07:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:39:05
[end_date_ymd] => 2025-01-07 07:39:05
[RateCDR] => 1
)
[2025-01-07 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-07 04:39:05' and `end` < '2025-01-07 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-07 07:39:05] Production.INFO: Date 2025-01-02
[2025-01-07 07:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:39:05] Production.INFO: Date 2025-01-03
[2025-01-07 07:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:39:05] Production.INFO: Date 2025-01-04
[2025-01-07 07:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:39:05] Production.INFO: Date 2025-01-05
[2025-01-07 07:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:39:06] Production.INFO: Date 2025-01-06
[2025-01-07 07:39:06] Production.INFO: Reseller ==> 0
[2025-01-07 07:39:06] Production.INFO: Date 2025-01-07
[2025-01-07 07:39:06] Production.INFO: Reseller ==> 0
[2025-01-07 07:39:06] Production.INFO: Total Charge 0
[2025-01-07 07:39:06] Production.INFO: CreateAllLog End
[2025-01-07 07:39:06] Production.INFO: Account Balance End.
[2025-01-07 07:39:06] Production.ERROR: CronJobId end 12
[2025-01-07 07:39:06] Production.INFO: ==17918== Releasing lock...
[2025-01-07 07:39:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:39:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:39:12] Production.ERROR: CronJobId end10
[2025-01-07 07:39:12] Production.INFO: ==17916== Releasing lock...
[2025-01-07 07:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:39:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:39:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:39:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:39:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:39:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:39:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:39:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:39:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:39:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:39:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:39:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:39:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:39:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:39:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:39:15] Production.INFO: call_cost start
[2025-01-07 07:39:15] Production.INFO: call_cost end
[2025-01-07 07:39:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:39:16] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:39:16] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:39:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:39:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:39:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:39:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:39:16] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:39:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:39:16] Production.INFO: ==17912== Releasing lock...
[2025-01-07 07:39:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:39:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:39:18] Production.INFO: count ==65
[2025-01-07 07:39:18] Production.ERROR: pbx CDR StartTime 2025-01-07 04:39:05 - End Time 2025-01-07 07:39:05
[2025-01-07 07:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193426', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193426', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193426', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193426', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:39:18] Production.INFO: ProcessCDR(1,14193426,1,1,2)
[2025-01-07 07:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193426,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193426,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193426,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193426,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193426', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193426', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:39:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:39:22] Production.INFO: ==17920== Releasing lock...
[2025-01-07 07:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:39:22] Production.INFO: 28 MB #Memory Used#
[2025-01-07 12:40:01] Production.INFO: ==18037== Lock acquired, processing the job...
[2025-01-07 12:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:40:01] Production.INFO: neon service started
[2025-01-07 12:40:01] Production.INFO: neon service started
[2025-01-07 12:40:01] Production.INFO: ==18037== Releasing lock...
[2025-01-07 12:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:40:02] Production.INFO: ==18039== Lock acquired, processing the job...
[2025-01-07 07:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:40:02] Production.INFO: ==18039== Releasing lock...
[2025-01-07 07:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:40:02] Production.INFO: ==18041== Lock acquired, processing the job...
[2025-01-07 12:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:40:02] Production.INFO: ==18041== Releasing lock...
[2025-01-07 12:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:40:03] Production.INFO: ==18043== Lock acquired, processing the job...
[2025-01-07 07:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 07:40:03] Production.INFO: ==18045== Lock acquired, processing the job...
[2025-01-07 07:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 07:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 07:40:03] Production.INFO: ==18043== Releasing lock...
[2025-01-07 07:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 07:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 07:40:03] Production.INFO: ==18047== Lock acquired, processing the job...
[2025-01-07 07:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:40:03] Production.INFO: ==18055== Lock acquired, processing the job...
[2025-01-07 07:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 07:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:40:03] Production.INFO: ==18049== Lock acquired, processing the job...
[2025-01-07 07:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:40:03] Production.INFO: ==18051== Lock acquired, processing the job...
[2025-01-07 07:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:40:03] Production.INFO: ==18053== Lock acquired, processing the job...
[2025-01-07 07:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:40:03] Production.INFO: Account Balance Start.
[2025-01-07 07:40:03] Production.INFO: CreateAllLog Start
[2025-01-07 07:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:40:03] Production.INFO: ==18057== Lock acquired, processing the job...
[2025-01-07 07:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:40:03] Production.INFO: 117
[2025-01-07 07:40:04] Production.INFO: Date 2024-12-08
[2025-01-07 07:40:04] Production.INFO: ==18047== Releasing lock...
[2025-01-07 07:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:40:04] Production.ERROR: done
[2025-01-07 07:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:40:04] Production.INFO: Date 2024-12-09
[2025-01-07 07:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 07:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14193431', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 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-07 07:40:04] Production.INFO: Date 2024-12-10
[2025-01-07 07:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:40:04] Production.INFO: count ==21
[2025-01-07 07:40:04] Production.INFO: Date 2024-12-11
[2025-01-07 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-07 07:40:04] Production.INFO: count ==21
[2025-01-07 07:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193430') start
[2025-01-07 07:40:04] Production.ERROR: done
[2025-01-07 07:40:04] Production.INFO: Date 2024-12-12
[2025-01-07 07:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:40:04] Production.INFO: Date 2024-12-13
[2025-01-07 07:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:40:04] Production.INFO: Date 2024-12-14
[2025-01-07 07:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:40:04] Production.ERROR: done
[2025-01-07 07:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193430') end
[2025-01-07 07:40:04] Production.INFO: Date 2024-12-15
[2025-01-07 07:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:40:04] Production.INFO: 1
[2025-01-07 07:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:40:04] Production.INFO: Date 2024-12-16
[2025-01-07 07:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:40:04] Production.INFO: ==18057== Releasing lock...
[2025-01-07 07:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:40:04] Production.INFO: Date 2024-12-17
[2025-01-07 07:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:40:04] Production.INFO: Date 2024-12-18
[2025-01-07 07:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:40:04] Production.INFO: Date 2024-12-19
[2025-01-07 07:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:40:04] Production.INFO: Date 2024-12-20
[2025-01-07 07:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:40:04] Production.INFO: Date 2024-12-21
[2025-01-07 07:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:40:04] Production.INFO: Date 2024-12-22
[2025-01-07 07:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:40:04] Production.INFO: Date 2024-12-23
[2025-01-07 07:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:40:04] Production.INFO: Date 2024-12-24
[2025-01-07 07:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:40:04] Production.INFO: Date 2024-12-25
[2025-01-07 07:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:40:04] Production.INFO: Date 2024-12-26
[2025-01-07 07:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:40:04] Production.INFO: Date 2024-12-27
[2025-01-07 07:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:40:04] Production.INFO: Date 2024-12-28
[2025-01-07 07:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:40:04] Production.INFO: Date 2024-12-29
[2025-01-07 07:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:40:04] Production.INFO: Date 2024-12-30
[2025-01-07 07:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:40:05] Production.INFO: Date 2024-12-31
[2025-01-07 07:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:40:05] Production.INFO: Date 2025-01-01
[2025-01-07 07:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:40:05] Production.INFO: Date 2025-01-02
[2025-01-07 07:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:40:05] Production.INFO: Date 2025-01-03
[2025-01-07 07:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:40:05] Production.INFO: Date 2025-01-04
[2025-01-07 07:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:40:05] Production.INFO: Date 2025-01-05
[2025-01-07 07:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:40:05] Production.INFO: Date 2025-01-06
[2025-01-07 07:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:40:05] Production.INFO: Date 2025-01-07
[2025-01-07 07:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:40:05] Production.INFO: Total Charge 0
[2025-01-07 07:40:05] Production.INFO: CreateAllLog End
[2025-01-07 07:40:05] Production.INFO: Account Balance End.
[2025-01-07 07:40:05] Production.ERROR: CronJobId end 12
[2025-01-07 07:40:05] Production.INFO: ==18051== Releasing lock...
[2025-01-07 07:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:40:05
[end_date_ymd] => 2025-01-07 07:40:05
[RateCDR] => 1
)
[2025-01-07 07:40:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 04:40:05' and `end` < '2025-01-07 07:40:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 07:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14193431', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 07:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 07:40:08] Production.INFO: ProcessCDR(1,14193431,1,1,2)
[2025-01-07 07:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14193431,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14193431,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:40:08] Production.INFO: ==18055== Releasing lock...
[2025-01-07 07:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 07:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-07 07:40:13] Production.ERROR: CronJobId end10
[2025-01-07 07:40:13] Production.INFO: ==18049== Releasing lock...
[2025-01-07 07:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:40:15] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:40:15] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:40:15] Production.INFO: call_cost start
[2025-01-07 07:40:15] Production.INFO: call_cost end
[2025-01-07 07:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:40:16] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:40:16] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:40:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:40:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:40:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:40:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:40:16] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:40:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:40:16] Production.INFO: ==18045== Releasing lock...
[2025-01-07 07:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:40:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:40:18] Production.INFO: count ==74
[2025-01-07 07:40:18] Production.ERROR: pbx CDR StartTime 2025-01-07 04:40:05 - End Time 2025-01-07 07:40:05
[2025-01-07 07:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193432', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193432', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193432', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193432', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:40:18] Production.INFO: ProcessCDR(1,14193432,1,1,2)
[2025-01-07 07:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193432,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193432,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193432,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193432,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193432', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193432', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:40:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:40:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:40:21] Production.INFO: ==18053== Releasing lock...
[2025-01-07 07:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:40:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:41:02] Production.INFO: ==18134== Lock acquired, processing the job...
[2025-01-07 12:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:41:02] Production.INFO: neon service started
[2025-01-07 12:41:02] Production.INFO: neon service started
[2025-01-07 12:41:02] Production.INFO: ==18134== Releasing lock...
[2025-01-07 12:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 12:41:02] Production.INFO: ==18138== Lock acquired, processing the job...
[2025-01-07 12:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:41:02] Production.INFO: ==18138== Releasing lock...
[2025-01-07 12:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:41:02] Production.INFO: ==18136== Lock acquired, processing the job...
[2025-01-07 07:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:41:02] Production.INFO: ==18136== Releasing lock...
[2025-01-07 07:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:41:03] Production.INFO: ==18145== Lock acquired, processing the job...
[2025-01-07 07:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:41:04] Production.INFO: ==18143== Lock acquired, processing the job...
[2025-01-07 07:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:41:04] Production.INFO: ==18141== Lock acquired, processing the job...
[2025-01-07 07:41:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:41:04] Production.INFO: ==18147== Lock acquired, processing the job...
[2025-01-07 07:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:41:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:41:04] Production.INFO: ==18149== Lock acquired, processing the job...
[2025-01-07 07:41:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:41:04] Production.INFO: Account Balance Start.
[2025-01-07 07:41:04] Production.INFO: CreateAllLog Start
[2025-01-07 07:41:04] Production.INFO: ==18151== Lock acquired, processing the job...
[2025-01-07 07:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:41:04] Production.INFO: 117
[2025-01-07 07:41:04] Production.INFO: Date 2024-12-08
[2025-01-07 07:41:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:41:04] Production.INFO: Date 2024-12-09
[2025-01-07 07:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:41:04] Production.INFO: Date 2024-12-10
[2025-01-07 07:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:41:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:41:04] Production.INFO: count ==21
[2025-01-07 07:41:04] Production.INFO: Date 2024-12-11
[2025-01-07 07:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:41:04] Production.INFO: count ==21
[2025-01-07 07:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:41:04] Production.INFO: ==18143== Releasing lock...
[2025-01-07 07:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193436') start
[2025-01-07 07:41:04] Production.INFO: Date 2024-12-12
[2025-01-07 07:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:41:04] Production.INFO: Date 2024-12-13
[2025-01-07 07:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:41:04] Production.INFO: Date 2024-12-14
[2025-01-07 07:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:41:04] Production.ERROR: done
[2025-01-07 07:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:41:04] Production.INFO: Date 2024-12-15
[2025-01-07 07:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:41:05] Production.INFO: Date 2024-12-16
[2025-01-07 07:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:41:05] Production.INFO: Date 2024-12-17
[2025-01-07 07:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:41:05] Production.ERROR: PBX CALL prc_importPBXExtension('14193436') end
[2025-01-07 07:41:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:41:05] Production.INFO: 1
[2025-01-07 07:41:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:41:05] Production.ERROR: done
[2025-01-07 07:41:05] Production.INFO: ==18151== Releasing lock...
[2025-01-07 07:41:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:41:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:41:05] Production.INFO: Date 2024-12-18
[2025-01-07 07:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:41:05] Production.INFO: Date 2024-12-19
[2025-01-07 07:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:41:05] Production.INFO: Date 2024-12-20
[2025-01-07 07:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:41:05] Production.INFO: Date 2024-12-21
[2025-01-07 07:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:41:05] Production.INFO: Date 2024-12-22
[2025-01-07 07:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:41:05] Production.INFO: Date 2024-12-23
[2025-01-07 07:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:41:05] Production.INFO: Date 2024-12-24
[2025-01-07 07:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:41:05] Production.INFO: Date 2024-12-25
[2025-01-07 07:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:41:05] Production.INFO: Date 2024-12-26
[2025-01-07 07:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:41:05] Production.INFO: Date 2024-12-27
[2025-01-07 07:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:41:05] Production.INFO: Date 2024-12-28
[2025-01-07 07:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:41:05] Production.INFO: Date 2024-12-29
[2025-01-07 07:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:41:05] Production.INFO: Date 2024-12-30
[2025-01-07 07:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:41:05] Production.INFO: Date 2024-12-31
[2025-01-07 07:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:41:05] Production.INFO: Date 2025-01-01
[2025-01-07 07:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:41:05] Production.INFO: Date 2025-01-02
[2025-01-07 07:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:41:05] Production.INFO: Date 2025-01-03
[2025-01-07 07:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:41:05] Production.INFO: Date 2025-01-04
[2025-01-07 07:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:41:05] Production.INFO: Date 2025-01-05
[2025-01-07 07:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:41:05] Production.INFO: Date 2025-01-06
[2025-01-07 07:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:41:05] Production.INFO: Date 2025-01-07
[2025-01-07 07:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:41:06] Production.INFO: Total Charge 0
[2025-01-07 07:41:06] Production.INFO: CreateAllLog End
[2025-01-07 07:41:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:41:06
[end_date_ymd] => 2025-01-07 07:41:06
[RateCDR] => 1
)
[2025-01-07 07: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-07 04:41:06' and `end` < '2025-01-07 07: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-07 07:41:06] Production.INFO: Account Balance End.
[2025-01-07 07:41:06] Production.ERROR: CronJobId end 12
[2025-01-07 07:41:06] Production.INFO: ==18147== Releasing lock...
[2025-01-07 07:41:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:41:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:41:11] Production.ERROR: CronJobId end10
[2025-01-07 07:41:11] Production.INFO: ==18145== Releasing lock...
[2025-01-07 07:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:41:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:41:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:41:14] Production.INFO: call_cost start
[2025-01-07 07:41:14] Production.INFO: call_cost end
[2025-01-07 07:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:41:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:41:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:41:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:41:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:41:15] Production.INFO: ==18141== Releasing lock...
[2025-01-07 07:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:41:18] Production.INFO: count ==78
[2025-01-07 07:41:18] Production.ERROR: pbx CDR StartTime 2025-01-07 04:41:06 - End Time 2025-01-07 07:41:06
[2025-01-07 07:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193437', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193437', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193437', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193437', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:41:18] Production.INFO: ProcessCDR(1,14193437,1,1,2)
[2025-01-07 07:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193437,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193437,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193437,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193437,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193437', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193437', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:41:21] Production.INFO: ==18149== Releasing lock...
[2025-01-07 07:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:41:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:42:01] Production.INFO: ==18228== Lock acquired, processing the job...
[2025-01-07 12:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:42:01] Production.INFO: neon service started
[2025-01-07 12:42:01] Production.INFO: neon service started
[2025-01-07 12:42:01] Production.INFO: ==18228== Releasing lock...
[2025-01-07 12:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:42:01] Production.INFO: ==18230== Lock acquired, processing the job...
[2025-01-07 07:42:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:42:02] Production.INFO: ==18230== Releasing lock...
[2025-01-07 07:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:42:02] Production.INFO: ==18232== Lock acquired, processing the job...
[2025-01-07 12:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:42:02] Production.INFO: ==18232== Releasing lock...
[2025-01-07 12:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:42:03] Production.INFO: ==18245== Lock acquired, processing the job...
[2025-01-07 07:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:42:03] Production.INFO: ==18238== Lock acquired, processing the job...
[2025-01-07 07:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:42:03] Production.INFO: ==18236== Lock acquired, processing the job...
[2025-01-07 07:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:42:03] Production.INFO: ==18247== Lock acquired, processing the job...
[2025-01-07 07:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:42:03] Production.INFO: ==18240== Lock acquired, processing the job...
[2025-01-07 07:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:42:03] Production.INFO: ==18242== Lock acquired, processing the job...
[2025-01-07 07:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:42:03] Production.INFO: Account Balance Start.
[2025-01-07 07:42:03] Production.INFO: CreateAllLog Start
[2025-01-07 07:42:03] Production.INFO: 117
[2025-01-07 07:42:03] Production.INFO: count ==21
[2025-01-07 07:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:42:03] Production.ERROR: done
[2025-01-07 07:42:03] Production.INFO: count ==21
[2025-01-07 07:42:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:42:03] Production.INFO: Date 2024-12-08
[2025-01-07 07:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:42:03] Production.INFO: ==18238== Releasing lock...
[2025-01-07 07:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193439') start
[2025-01-07 07:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:42:03] Production.ERROR: done
[2025-01-07 07:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193439') end
[2025-01-07 07:42:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:42:03] Production.INFO: 1
[2025-01-07 07:42:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:42:03] Production.INFO: Date 2024-12-09
[2025-01-07 07:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:42:04] Production.INFO: Date 2024-12-10
[2025-01-07 07:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:42:04] Production.INFO: ==18247== Releasing lock...
[2025-01-07 07:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:42:04] Production.INFO: Date 2024-12-11
[2025-01-07 07:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:42:04] Production.INFO: Date 2024-12-12
[2025-01-07 07:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:42:04] Production.INFO: Date 2024-12-13
[2025-01-07 07:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:42:04] Production.INFO: Date 2024-12-14
[2025-01-07 07:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:42:04] Production.INFO: Date 2024-12-15
[2025-01-07 07:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:42:04] Production.INFO: Date 2024-12-16
[2025-01-07 07:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:42:04] Production.INFO: Date 2024-12-17
[2025-01-07 07:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:42:04] Production.INFO: Date 2024-12-18
[2025-01-07 07:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:42:04] Production.INFO: Date 2024-12-19
[2025-01-07 07:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:42:04] Production.INFO: Date 2024-12-20
[2025-01-07 07:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:42:04] Production.INFO: Date 2024-12-21
[2025-01-07 07:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:42:04] Production.INFO: Date 2024-12-22
[2025-01-07 07:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:42:04] Production.INFO: Date 2024-12-23
[2025-01-07 07:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:42:04] Production.INFO: Date 2024-12-24
[2025-01-07 07:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:42:04] Production.INFO: Date 2024-12-25
[2025-01-07 07:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:42:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:42:04
[end_date_ymd] => 2025-01-07 07:42:04
[RateCDR] => 1
)
[2025-01-07 07:42:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 04:42:04' and `end` < '2025-01-07 07:42:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 07:42:04] Production.INFO: Date 2024-12-26
[2025-01-07 07:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:42:04] Production.INFO: Date 2024-12-27
[2025-01-07 07:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:42:05] Production.INFO: Date 2024-12-28
[2025-01-07 07:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:42:05] Production.INFO: Date 2024-12-29
[2025-01-07 07:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:42:05] Production.INFO: Date 2024-12-30
[2025-01-07 07:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:42:05] Production.INFO: Date 2024-12-31
[2025-01-07 07:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:42:05] Production.INFO: Date 2025-01-01
[2025-01-07 07:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:42:05] Production.INFO: Date 2025-01-02
[2025-01-07 07:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:42:05] Production.INFO: Date 2025-01-03
[2025-01-07 07:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:42:05] Production.INFO: Date 2025-01-04
[2025-01-07 07:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:42:05] Production.INFO: Date 2025-01-05
[2025-01-07 07:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:42:05] Production.INFO: Date 2025-01-06
[2025-01-07 07:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:42:05] Production.INFO: Date 2025-01-07
[2025-01-07 07:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:42:05] Production.INFO: Total Charge 0
[2025-01-07 07:42:05] Production.INFO: CreateAllLog End
[2025-01-07 07:42:05] Production.INFO: Account Balance End.
[2025-01-07 07:42:05] Production.ERROR: CronJobId end 12
[2025-01-07 07:42:05] Production.INFO: ==18242== Releasing lock...
[2025-01-07 07:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:42:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:42:11] Production.ERROR: CronJobId end10
[2025-01-07 07:42:11] Production.INFO: ==18240== Releasing lock...
[2025-01-07 07:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:42:13] Production.INFO: call_cost start
[2025-01-07 07:42:13] Production.INFO: call_cost end
[2025-01-07 07:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:42:14] Production.INFO: ==18236== Releasing lock...
[2025-01-07 07:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:42:17] Production.INFO: count ==78
[2025-01-07 07:42:17] Production.ERROR: pbx CDR StartTime 2025-01-07 04:42:04 - End Time 2025-01-07 07:42:04
[2025-01-07 07:42:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193442', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193442', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193442', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193442', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:42:17] Production.INFO: ProcessCDR(1,14193442,1,1,2)
[2025-01-07 07:42:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193442,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:42:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193442,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:42:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193442,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:42:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193442,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:42:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193442', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:42:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193442', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:42:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:42:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:42:20] Production.INFO: ==18245== Releasing lock...
[2025-01-07 07:42:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:42:20] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:43:02] Production.INFO: ==18314== Lock acquired, processing the job...
[2025-01-07 12:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:43:02] Production.INFO: neon service started
[2025-01-07 12:43:02] Production.INFO: neon service started
[2025-01-07 12:43:02] Production.INFO: ==18314== Releasing lock...
[2025-01-07 12:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 12:43:02] Production.INFO: ==18318== Lock acquired, processing the job...
[2025-01-07 12:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:43:02] Production.INFO: ==18318== Releasing lock...
[2025-01-07 12:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:43:02] Production.INFO: ==18316== Lock acquired, processing the job...
[2025-01-07 07:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:43:03] Production.INFO: ==18316== Releasing lock...
[2025-01-07 07:43:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:43:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:43:03] Production.INFO: ==18323== Lock acquired, processing the job...
[2025-01-07 07:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:43:03] Production.INFO: ==18325== Lock acquired, processing the job...
[2025-01-07 07:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:43:03] Production.INFO: ==18321== Lock acquired, processing the job...
[2025-01-07 07:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:43:03] Production.INFO: ==18323== Releasing lock...
[2025-01-07 07:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:43:04] Production.INFO: ==18331== Lock acquired, processing the job...
[2025-01-07 07:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:43:04] Production.INFO: ==18327== Lock acquired, processing the job...
[2025-01-07 07:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:43:04] Production.INFO: ==18329== Lock acquired, processing the job...
[2025-01-07 07:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:43:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:43:04] Production.INFO: count ==21
[2025-01-07 07:43:04] Production.INFO: Account Balance Start.
[2025-01-07 07:43:04] Production.INFO: CreateAllLog Start
[2025-01-07 07:43:04] Production.INFO: 117
[2025-01-07 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-07 07:43:04] Production.INFO: Date 2024-12-08
[2025-01-07 07:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:43:04] Production.INFO: count ==21
[2025-01-07 07:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193445') start
[2025-01-07 07:43:04] Production.INFO: Date 2024-12-09
[2025-01-07 07:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193445') end
[2025-01-07 07:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:43:04] Production.INFO: 1
[2025-01-07 07:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:43:04] Production.INFO: Date 2024-12-10
[2025-01-07 07:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:43:04] Production.INFO: ==18331== Releasing lock...
[2025-01-07 07:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:43:04] Production.ERROR: done
[2025-01-07 07:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:43:04] Production.INFO: Date 2024-12-11
[2025-01-07 07:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:43:04] Production.INFO: Date 2024-12-12
[2025-01-07 07:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:43:04] Production.INFO: Date 2024-12-13
[2025-01-07 07:43:04] Production.ERROR: done
[2025-01-07 07:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:43:04] Production.INFO: Date 2024-12-14
[2025-01-07 07:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:43:04] Production.INFO: Date 2024-12-15
[2025-01-07 07:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:43:04] Production.INFO: Date 2024-12-16
[2025-01-07 07:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:43:04] Production.INFO: Date 2024-12-17
[2025-01-07 07:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:43:04] Production.INFO: Date 2024-12-18
[2025-01-07 07:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:43:04] Production.INFO: Date 2024-12-19
[2025-01-07 07:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:43:04] Production.INFO: Date 2024-12-20
[2025-01-07 07:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:43:04] Production.INFO: Date 2024-12-21
[2025-01-07 07:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:43:05] Production.INFO: Date 2024-12-22
[2025-01-07 07:43:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:43:05] Production.INFO: Date 2024-12-23
[2025-01-07 07:43:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:43:05] Production.INFO: Date 2024-12-24
[2025-01-07 07:43:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:43:05] Production.INFO: Date 2024-12-25
[2025-01-07 07:43:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:43:05] Production.INFO: Date 2024-12-26
[2025-01-07 07:43:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:43:05] Production.INFO: Date 2024-12-27
[2025-01-07 07:43:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:43:05] Production.INFO: Date 2024-12-28
[2025-01-07 07:43:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:43:05] Production.INFO: Date 2024-12-29
[2025-01-07 07:43:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:43:05] Production.INFO: Date 2024-12-30
[2025-01-07 07:43:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:43:05] Production.INFO: Date 2024-12-31
[2025-01-07 07:43:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:43:05] Production.INFO: Date 2025-01-01
[2025-01-07 07:43:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:43:05] Production.INFO: Date 2025-01-02
[2025-01-07 07:43:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:43:05] Production.INFO: Date 2025-01-03
[2025-01-07 07:43:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:43:05] Production.INFO: Date 2025-01-04
[2025-01-07 07:43:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:43:05] Production.INFO: Date 2025-01-05
[2025-01-07 07:43:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:43:05] Production.INFO: Date 2025-01-06
[2025-01-07 07:43:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:43:05] Production.INFO: Date 2025-01-07
[2025-01-07 07:43:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:43:05] Production.INFO: Total Charge 0
[2025-01-07 07:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:43:05
[end_date_ymd] => 2025-01-07 07:43:05
[RateCDR] => 1
)
[2025-01-07 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-07 04:43:05' and `end` < '2025-01-07 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-07 07:43:05] Production.INFO: CreateAllLog End
[2025-01-07 07:43:05] Production.INFO: Account Balance End.
[2025-01-07 07:43:05] Production.ERROR: CronJobId end 12
[2025-01-07 07:43:05] Production.INFO: ==18327== Releasing lock...
[2025-01-07 07:43:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:43:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:43:12] Production.ERROR: CronJobId end10
[2025-01-07 07:43:12] Production.INFO: ==18325== Releasing lock...
[2025-01-07 07:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:43:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:43:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:43:14] Production.INFO: call_cost start
[2025-01-07 07:43:14] Production.INFO: call_cost end
[2025-01-07 07:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:43:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:43:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:43:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:43:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:43:15] Production.INFO: ==18321== Releasing lock...
[2025-01-07 07:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:43:18] Production.INFO: count ==80
[2025-01-07 07:43:18] Production.ERROR: pbx CDR StartTime 2025-01-07 04:43:05 - End Time 2025-01-07 07:43:05
[2025-01-07 07:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193447', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193447', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193447', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193447', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:43:18] Production.INFO: ProcessCDR(1,14193447,1,1,2)
[2025-01-07 07:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193447,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193447,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193447,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193447,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193447', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193447', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:43:21] Production.INFO: ==18329== Releasing lock...
[2025-01-07 07:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:43:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:44:01] Production.INFO: ==18399== Lock acquired, processing the job...
[2025-01-07 12:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:44:01] Production.INFO: neon service started
[2025-01-07 12:44:01] Production.INFO: neon service started
[2025-01-07 12:44:01] Production.INFO: ==18399== Releasing lock...
[2025-01-07 12:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 12:44:02] Production.INFO: ==18403== Lock acquired, processing the job...
[2025-01-07 12:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:44:02] Production.INFO: ==18403== Releasing lock...
[2025-01-07 12:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:44:02] Production.INFO: ==18401== Lock acquired, processing the job...
[2025-01-07 07:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:44:02] Production.INFO: ==18401== Releasing lock...
[2025-01-07 07:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:44:03] Production.INFO: ==18407== Lock acquired, processing the job...
[2025-01-07 07:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:44:03] Production.INFO: ==18412== Lock acquired, processing the job...
[2025-01-07 07:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:44:03] Production.INFO: ==18416== Lock acquired, processing the job...
[2025-01-07 07:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:44:03] Production.INFO: ==18410== Lock acquired, processing the job...
[2025-01-07 07:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:44:03] Production.INFO: ==18414== Lock acquired, processing the job...
[2025-01-07 07:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:44:03] Production.INFO: ==18418== Lock acquired, processing the job...
[2025-01-07 07:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:44:03] Production.INFO: Account Balance Start.
[2025-01-07 07:44:03] Production.INFO: CreateAllLog Start
[2025-01-07 07:44:03] Production.INFO: 117
[2025-01-07 07:44:03] Production.ERROR: done
[2025-01-07 07:44:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:44:03] Production.INFO: Date 2024-12-08
[2025-01-07 07:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:44:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:44:03] Production.ERROR: done
[2025-01-07 07:44:03] Production.INFO: count ==21
[2025-01-07 07:44:03] Production.INFO: Date 2024-12-09
[2025-01-07 07:44:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:44:03] Production.INFO: count ==21
[2025-01-07 07:44:03] Production.INFO: ==18410== Releasing lock...
[2025-01-07 07:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:44:04] Production.INFO: Date 2024-12-10
[2025-01-07 07:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193451') start
[2025-01-07 07:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193451') end
[2025-01-07 07:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:44:04] Production.INFO: 1
[2025-01-07 07:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:44:04] Production.INFO: Date 2024-12-11
[2025-01-07 07:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:44:04] Production.INFO: Date 2024-12-12
[2025-01-07 07:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:44:04] Production.INFO: Date 2024-12-13
[2025-01-07 07:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:44:04] Production.INFO: ==18418== Releasing lock...
[2025-01-07 07:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:44:04] Production.INFO: Date 2024-12-14
[2025-01-07 07:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:44:04] Production.INFO: Date 2024-12-15
[2025-01-07 07:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:44:04] Production.INFO: Date 2024-12-16
[2025-01-07 07:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:44:04] Production.INFO: Date 2024-12-17
[2025-01-07 07:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:44:04] Production.INFO: Date 2024-12-18
[2025-01-07 07:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:44:04] Production.INFO: Date 2024-12-19
[2025-01-07 07:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:44:04] Production.INFO: Date 2024-12-20
[2025-01-07 07:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:44:04] Production.INFO: Date 2024-12-21
[2025-01-07 07:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:44:04] Production.INFO: Date 2024-12-22
[2025-01-07 07:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:44:04] Production.INFO: Date 2024-12-23
[2025-01-07 07:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:44:04] Production.INFO: Date 2024-12-24
[2025-01-07 07:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:44:04] Production.INFO: Date 2024-12-25
[2025-01-07 07:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:44:04] Production.INFO: Date 2024-12-26
[2025-01-07 07:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:44:04] Production.INFO: Date 2024-12-27
[2025-01-07 07:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:44:04] Production.INFO: Date 2024-12-28
[2025-01-07 07:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:44:04] Production.INFO: Date 2024-12-29
[2025-01-07 07:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:44:04] Production.INFO: Date 2024-12-30
[2025-01-07 07:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:44:04] Production.INFO: Date 2024-12-31
[2025-01-07 07:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:44:04] Production.INFO: Date 2025-01-01
[2025-01-07 07:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:44:04] Production.INFO: Date 2025-01-02
[2025-01-07 07:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:44:04] Production.INFO: Date 2025-01-03
[2025-01-07 07:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:44:04] Production.INFO: Date 2025-01-04
[2025-01-07 07:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:44:04] Production.INFO: Date 2025-01-05
[2025-01-07 07:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:44:05] Production.INFO: Date 2025-01-06
[2025-01-07 07:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:44:05] Production.INFO: Date 2025-01-07
[2025-01-07 07:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:44:05] Production.INFO: Total Charge 0
[2025-01-07 07:44:05] Production.INFO: CreateAllLog End
[2025-01-07 07:44:05] Production.INFO: Account Balance End.
[2025-01-07 07:44:05] Production.ERROR: CronJobId end 12
[2025-01-07 07:44:05] Production.INFO: ==18414== Releasing lock...
[2025-01-07 07:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:44:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:44:05
[end_date_ymd] => 2025-01-07 07:44:05
[RateCDR] => 1
)
[2025-01-07 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-07 04:44:05' and `end` < '2025-01-07 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-07 07:44:11] Production.ERROR: CronJobId end10
[2025-01-07 07:44:11] Production.INFO: ==18412== Releasing lock...
[2025-01-07 07:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:44:14] Production.INFO: call_cost start
[2025-01-07 07:44:14] Production.INFO: call_cost end
[2025-01-07 07:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:44:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:44:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:44:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:44:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:44:15] Production.INFO: ==18407== Releasing lock...
[2025-01-07 07:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:44:18] Production.INFO: count ==83
[2025-01-07 07:44:18] Production.ERROR: pbx CDR StartTime 2025-01-07 04:44:05 - End Time 2025-01-07 07:44:05
[2025-01-07 07:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193452', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193452', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193452', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193452', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:44:18] Production.INFO: ProcessCDR(1,14193452,1,1,2)
[2025-01-07 07:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193452,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193452,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193452,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193452,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193452', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193452', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:44:21] Production.INFO: ==18416== Releasing lock...
[2025-01-07 07:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:44:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:45:02] Production.INFO: ==18482== Lock acquired, processing the job...
[2025-01-07 12:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:45:02] Production.INFO: neon service started
[2025-01-07 12:45:02] Production.INFO: neon service started
[2025-01-07 12:45:02] Production.INFO: ==18482== Releasing lock...
[2025-01-07 12:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:45:02] Production.INFO: ==18484== Lock acquired, processing the job...
[2025-01-07 07:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 12:45:02] Production.INFO: ==18486== Lock acquired, processing the job...
[2025-01-07 12:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:45:02] Production.INFO: ==18486== Releasing lock...
[2025-01-07 12:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:45:03] Production.INFO: ==18484== Releasing lock...
[2025-01-07 07:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:45:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:45:03] Production.INFO: ==18489== Lock acquired, processing the job...
[2025-01-07 07:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:45:03] Production.INFO: ==18499== Lock acquired, processing the job...
[2025-01-07 07:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:45:04] Production.INFO: ==18491== Lock acquired, processing the job...
[2025-01-07 07:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:45:04] Production.INFO: ==18493== Lock acquired, processing the job...
[2025-01-07 07:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:45:04] Production.INFO: ==18495== Lock acquired, processing the job...
[2025-01-07 07:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:45:04] Production.INFO: count ==21
[2025-01-07 07:45:04] Production.INFO: ==18497== Lock acquired, processing the job...
[2025-01-07 07:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:45:04] Production.INFO: count ==21
[2025-01-07 07:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193454') start
[2025-01-07 07:45:04] Production.INFO: Account Balance Start.
[2025-01-07 07:45:04] Production.INFO: CreateAllLog Start
[2025-01-07 07:45:04] Production.INFO: 117
[2025-01-07 07:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:45:04] Production.INFO: Date 2024-12-08
[2025-01-07 07:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193454') end
[2025-01-07 07:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:45:04] Production.INFO: Date 2024-12-09
[2025-01-07 07:45:04] Production.INFO: 1
[2025-01-07 07:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:45:04] Production.INFO: ==18491== Releasing lock...
[2025-01-07 07:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:45:04] Production.INFO: Date 2024-12-10
[2025-01-07 07:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:45:04] Production.INFO: Date 2024-12-11
[2025-01-07 07:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:45:04] Production.ERROR: done
[2025-01-07 07:45:04] Production.INFO: ==18499== Releasing lock...
[2025-01-07 07:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:45:04] Production.INFO: Date 2024-12-12
[2025-01-07 07:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:45:04] Production.INFO: Date 2024-12-13
[2025-01-07 07:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:45:04] Production.INFO: Date 2024-12-14
[2025-01-07 07:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:45:04] Production.INFO: Date 2024-12-15
[2025-01-07 07:45:04] Production.ERROR: done
[2025-01-07 07:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:45:04] Production.INFO: Date 2024-12-16
[2025-01-07 07:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:45:04] Production.INFO: Date 2024-12-17
[2025-01-07 07:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:45:04] Production.INFO: Date 2024-12-18
[2025-01-07 07:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:45:04] Production.INFO: Date 2024-12-19
[2025-01-07 07:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:45:04] Production.INFO: Date 2024-12-20
[2025-01-07 07:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:45:04] Production.INFO: Date 2024-12-21
[2025-01-07 07:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:45:05] Production.INFO: Date 2024-12-22
[2025-01-07 07:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:45:05] Production.INFO: Date 2024-12-23
[2025-01-07 07:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:45:05] Production.INFO: Date 2024-12-24
[2025-01-07 07:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:45:05] Production.INFO: Date 2024-12-25
[2025-01-07 07:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:45:05] Production.INFO: Date 2024-12-26
[2025-01-07 07:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:45:05] Production.INFO: Date 2024-12-27
[2025-01-07 07:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:45:05] Production.INFO: Date 2024-12-28
[2025-01-07 07:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:45:05] Production.INFO: Date 2024-12-29
[2025-01-07 07:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:45:05] Production.INFO: Date 2024-12-30
[2025-01-07 07:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:45:05] Production.INFO: Date 2024-12-31
[2025-01-07 07:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:45:05] Production.INFO: Date 2025-01-01
[2025-01-07 07:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:45:05] Production.INFO: Date 2025-01-02
[2025-01-07 07:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:45:05] Production.INFO: Date 2025-01-03
[2025-01-07 07:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:45:05] Production.INFO: Date 2025-01-04
[2025-01-07 07:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:45:05] Production.INFO: Date 2025-01-05
[2025-01-07 07:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:45:05] Production.INFO: Date 2025-01-06
[2025-01-07 07:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:45:05] Production.INFO: Date 2025-01-07
[2025-01-07 07:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:45:05] Production.INFO: Total Charge 0
[2025-01-07 07:45:05] Production.INFO: CreateAllLog End
[2025-01-07 07:45:05] Production.INFO: Account Balance End.
[2025-01-07 07:45:05] Production.ERROR: CronJobId end 12
[2025-01-07 07:45:05] Production.INFO: ==18495== Releasing lock...
[2025-01-07 07:45:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:45:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:45:05
[end_date_ymd] => 2025-01-07 07:45:05
[RateCDR] => 1
)
[2025-01-07 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-07 04:45:05' and `end` < '2025-01-07 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-07 07:45:12] Production.ERROR: CronJobId end10
[2025-01-07 07:45:12] Production.INFO: ==18493== Releasing lock...
[2025-01-07 07:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:45:13] Production.INFO: call_cost start
[2025-01-07 07:45:13] Production.INFO: call_cost end
[2025-01-07 07:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:45:14] Production.INFO: ==18489== Releasing lock...
[2025-01-07 07:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:45:18] Production.INFO: count ==83
[2025-01-07 07:45:18] Production.ERROR: pbx CDR StartTime 2025-01-07 04:45:05 - End Time 2025-01-07 07:45:05
[2025-01-07 07:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193457', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193457', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193457', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193457', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:45:18] Production.INFO: ProcessCDR(1,14193457,1,1,2)
[2025-01-07 07:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193457,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193457,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193457,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193457,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193457', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193457', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:45:21] Production.INFO: ==18497== Releasing lock...
[2025-01-07 07:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:45:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:46:01] Production.INFO: ==18564== Lock acquired, processing the job...
[2025-01-07 12:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:46:01] Production.INFO: neon service started
[2025-01-07 12:46:01] Production.INFO: neon service started
[2025-01-07 12:46:01] Production.INFO: ==18564== Releasing lock...
[2025-01-07 12:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:46:01] Production.INFO: ==18566== Lock acquired, processing the job...
[2025-01-07 07:46:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 12:46:02] Production.INFO: ==18568== Lock acquired, processing the job...
[2025-01-07 12:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 07:46:02] Production.INFO: ==18566== Releasing lock...
[2025-01-07 07:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:46:02] Production.INFO: ==18568== Releasing lock...
[2025-01-07 12:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:46:03] Production.INFO: ==18576== Lock acquired, processing the job...
[2025-01-07 07:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:46:03] Production.INFO: ==18578== Lock acquired, processing the job...
[2025-01-07 07:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:46:03] Production.INFO: Account Balance Start.
[2025-01-07 07:46:03] Production.INFO: CreateAllLog Start
[2025-01-07 07:46:03] Production.INFO: 117
[2025-01-07 07:46:03] Production.INFO: Date 2024-12-08
[2025-01-07 07:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:46:03] Production.INFO: ==18570== Lock acquired, processing the job...
[2025-01-07 07:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:46:03] Production.INFO: ==18574== Lock acquired, processing the job...
[2025-01-07 07:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:46:03] Production.INFO: Date 2024-12-09
[2025-01-07 07:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:46:03] Production.INFO: ==18572== Lock acquired, processing the job...
[2025-01-07 07:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:46:03] Production.INFO: ==18581== Lock acquired, processing the job...
[2025-01-07 07:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:46:03] Production.INFO: Date 2024-12-10
[2025-01-07 07:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:46:03] Production.INFO: Date 2024-12-11
[2025-01-07 07:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:46:03] Production.INFO: Date 2024-12-12
[2025-01-07 07:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:46:03] Production.INFO: count ==21
[2025-01-07 07:46:03] Production.INFO: Date 2024-12-13
[2025-01-07 07:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:46:03] Production.INFO: count ==21
[2025-01-07 07:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193461') start
[2025-01-07 07:46:03] Production.INFO: Date 2024-12-14
[2025-01-07 07:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:46:03] Production.ERROR: done
[2025-01-07 07:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:46:03] Production.INFO: Date 2024-12-15
[2025-01-07 07:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:46:03] Production.INFO: Date 2024-12-16
[2025-01-07 07:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193461') end
[2025-01-07 07:46:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:46:03] Production.INFO: 1
[2025-01-07 07:46:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:46:03] Production.INFO: Date 2024-12-17
[2025-01-07 07:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:46:03] Production.INFO: Date 2024-12-18
[2025-01-07 07:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:46:03] Production.INFO: ==18581== Releasing lock...
[2025-01-07 07:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:46:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:46:03] Production.INFO: Date 2024-12-19
[2025-01-07 07:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:46:03] Production.ERROR: done
[2025-01-07 07:46:03] Production.INFO: ==18572== Releasing lock...
[2025-01-07 07:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:46:03] Production.INFO: Date 2024-12-20
[2025-01-07 07:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:46:04] Production.INFO: Date 2024-12-21
[2025-01-07 07:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:46:04] Production.INFO: Date 2024-12-22
[2025-01-07 07:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:46:04] Production.INFO: Date 2024-12-23
[2025-01-07 07:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:46:04] Production.INFO: Date 2024-12-24
[2025-01-07 07:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:46:04] Production.INFO: Date 2024-12-25
[2025-01-07 07:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:46:04] Production.INFO: Date 2024-12-26
[2025-01-07 07:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:46:04] Production.INFO: Date 2024-12-27
[2025-01-07 07:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:46:04] Production.INFO: Date 2024-12-28
[2025-01-07 07:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:46:04] Production.INFO: Date 2024-12-29
[2025-01-07 07:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:46:04] Production.INFO: Date 2024-12-30
[2025-01-07 07:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:46:04] Production.INFO: Date 2024-12-31
[2025-01-07 07:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:46:04] Production.INFO: Date 2025-01-01
[2025-01-07 07:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:46:04] Production.INFO: Date 2025-01-02
[2025-01-07 07:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:46:04] Production.INFO: Date 2025-01-03
[2025-01-07 07:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:46:04] Production.INFO: Date 2025-01-04
[2025-01-07 07:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:46:04] Production.INFO: Date 2025-01-05
[2025-01-07 07:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:46:04] Production.INFO: Date 2025-01-06
[2025-01-07 07:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:46:04] Production.INFO: Date 2025-01-07
[2025-01-07 07:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:46:04] Production.INFO: Total Charge 0
[2025-01-07 07:46:04] Production.INFO: CreateAllLog End
[2025-01-07 07:46:04] Production.INFO: Account Balance End.
[2025-01-07 07:46:04] Production.ERROR: CronJobId end 12
[2025-01-07 07:46:04] Production.INFO: ==18576== Releasing lock...
[2025-01-07 07:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:46:05
[end_date_ymd] => 2025-01-07 07:46:05
[RateCDR] => 1
)
[2025-01-07 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-07 04:46:05' and `end` < '2025-01-07 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-07 07:46:12] Production.ERROR: CronJobId end10
[2025-01-07 07:46:12] Production.INFO: ==18574== Releasing lock...
[2025-01-07 07:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:46:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:46:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:46:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:46:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:46:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:46:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:46:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:46:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:46:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:46:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:46:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:46:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:46:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:46:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:46:13] Production.INFO: call_cost start
[2025-01-07 07:46:13] Production.INFO: call_cost end
[2025-01-07 07:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:46:14] Production.INFO: ==18570== Releasing lock...
[2025-01-07 07:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:46:17] Production.INFO: count ==86
[2025-01-07 07:46:17] Production.ERROR: pbx CDR StartTime 2025-01-07 04:46:05 - End Time 2025-01-07 07:46:05
[2025-01-07 07:46:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193462', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193462', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193462', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193462', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:46:17] Production.INFO: ProcessCDR(1,14193462,1,1,2)
[2025-01-07 07:46:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193462,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:46:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193462,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:46:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193462,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193462,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193462', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193462', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:46:21] Production.INFO: ==18578== Releasing lock...
[2025-01-07 07:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:46:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:47:02] Production.INFO: ==18637== Lock acquired, processing the job...
[2025-01-07 12:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:47:02] Production.INFO: neon service started
[2025-01-07 12:47:02] Production.INFO: neon service started
[2025-01-07 12:47:02] Production.INFO: ==18637== Releasing lock...
[2025-01-07 12:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 12:47:02] Production.INFO: ==18641== Lock acquired, processing the job...
[2025-01-07 12:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:47:02] Production.INFO: ==18641== Releasing lock...
[2025-01-07 12:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:47:02] Production.INFO: ==18639== Lock acquired, processing the job...
[2025-01-07 07:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:47:02] Production.INFO: ==18639== Releasing lock...
[2025-01-07 07:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:47:03] Production.INFO: ==18644== Lock acquired, processing the job...
[2025-01-07 07:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:47:03] Production.INFO: ==18648== Lock acquired, processing the job...
[2025-01-07 07:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:47:03] Production.INFO: ==18652== Lock acquired, processing the job...
[2025-01-07 07:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:47:03] Production.INFO: ==18646== Lock acquired, processing the job...
[2025-01-07 07:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:47:03] Production.INFO: ==18650== Lock acquired, processing the job...
[2025-01-07 07:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:47:03] Production.INFO: ==18654== Lock acquired, processing the job...
[2025-01-07 07:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:47:04] Production.ERROR: done
[2025-01-07 07:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:47:04] Production.INFO: Account Balance Start.
[2025-01-07 07:47:04] Production.INFO: CreateAllLog Start
[2025-01-07 07:47:04] Production.INFO: 117
[2025-01-07 07:47:04] Production.INFO: Date 2024-12-08
[2025-01-07 07:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:47:04] Production.ERROR: done
[2025-01-07 07:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:47:04] Production.INFO: count ==21
[2025-01-07 07:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:47:04] Production.INFO: count ==21
[2025-01-07 07:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193466') start
[2025-01-07 07:47:04] Production.INFO: Date 2024-12-09
[2025-01-07 07:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:47:04] Production.INFO: ==18646== Releasing lock...
[2025-01-07 07:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:47:04] Production.INFO: Date 2024-12-10
[2025-01-07 07:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:47:04] Production.INFO: Date 2024-12-11
[2025-01-07 07:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193466') end
[2025-01-07 07:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:47:04] Production.INFO: 1
[2025-01-07 07:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:47:04] Production.INFO: Date 2024-12-12
[2025-01-07 07:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:47:04] Production.INFO: ==18654== Releasing lock...
[2025-01-07 07:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:47:04] Production.INFO: Date 2024-12-13
[2025-01-07 07:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:47:04] Production.INFO: Date 2024-12-14
[2025-01-07 07:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:47:04] Production.INFO: Date 2024-12-15
[2025-01-07 07:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:47:04] Production.INFO: Date 2024-12-16
[2025-01-07 07:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:47:04] Production.INFO: Date 2024-12-17
[2025-01-07 07:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:47:04] Production.INFO: Date 2024-12-18
[2025-01-07 07:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:47:04] Production.INFO: Date 2024-12-19
[2025-01-07 07:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:47:04] Production.INFO: Date 2024-12-20
[2025-01-07 07:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:47:04] Production.INFO: Date 2024-12-21
[2025-01-07 07:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:47:04] Production.INFO: Date 2024-12-22
[2025-01-07 07:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:47:04] Production.INFO: Date 2024-12-23
[2025-01-07 07:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:47:04] Production.INFO: Date 2024-12-24
[2025-01-07 07:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:47:04] Production.INFO: Date 2024-12-25
[2025-01-07 07:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:47:04] Production.INFO: Date 2024-12-26
[2025-01-07 07:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:47:04] Production.INFO: Date 2024-12-27
[2025-01-07 07:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:47:04] Production.INFO: Date 2024-12-28
[2025-01-07 07:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:47:04] Production.INFO: Date 2024-12-29
[2025-01-07 07:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:47:04] Production.INFO: Date 2024-12-30
[2025-01-07 07:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:47:05] Production.INFO: Date 2024-12-31
[2025-01-07 07:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:47:05] Production.INFO: Date 2025-01-01
[2025-01-07 07:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:47:05] Production.INFO: Date 2025-01-02
[2025-01-07 07:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:47:05] Production.INFO: Date 2025-01-03
[2025-01-07 07:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:47:05] Production.INFO: Date 2025-01-04
[2025-01-07 07:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:47:05] Production.INFO: Date 2025-01-05
[2025-01-07 07:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:47:05] Production.INFO: Date 2025-01-06
[2025-01-07 07:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:47:05] Production.INFO: Date 2025-01-07
[2025-01-07 07:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:47:05] Production.INFO: Total Charge 0
[2025-01-07 07:47:05] Production.INFO: CreateAllLog End
[2025-01-07 07:47:05] Production.INFO: Account Balance End.
[2025-01-07 07:47:05] Production.ERROR: CronJobId end 12
[2025-01-07 07:47:05] Production.INFO: ==18650== Releasing lock...
[2025-01-07 07:47:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:47:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:47:05
[end_date_ymd] => 2025-01-07 07:47:05
[RateCDR] => 1
)
[2025-01-07 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-07 04:47:05' and `end` < '2025-01-07 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-07 07:47:10] Production.ERROR: CronJobId end10
[2025-01-07 07:47:10] Production.INFO: ==18648== Releasing lock...
[2025-01-07 07:47:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:47:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:47:13] Production.INFO: call_cost start
[2025-01-07 07:47:13] Production.INFO: call_cost end
[2025-01-07 07:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:47:14] Production.INFO: ==18644== Releasing lock...
[2025-01-07 07:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:47:19] Production.INFO: count ==95
[2025-01-07 07:47:19] Production.ERROR: pbx CDR StartTime 2025-01-07 04:47:05 - End Time 2025-01-07 07:47:05
[2025-01-07 07:47:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193467', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193467', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193467', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193467', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:47:19] Production.INFO: ProcessCDR(1,14193467,1,1,2)
[2025-01-07 07:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193467,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:47:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193467,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:47:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193467,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193467,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193467', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193467', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:47:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:47:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:47:22] Production.INFO: ==18652== Releasing lock...
[2025-01-07 07:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:47:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:48:01] Production.INFO: ==18716== Lock acquired, processing the job...
[2025-01-07 12:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:48:01] Production.INFO: neon service started
[2025-01-07 12:48:01] Production.INFO: neon service started
[2025-01-07 12:48:01] Production.INFO: ==18716== Releasing lock...
[2025-01-07 12:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 12:48:01] Production.INFO: ==18720== Lock acquired, processing the job...
[2025-01-07 12:48:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:48:01] Production.INFO: ==18720== Releasing lock...
[2025-01-07 12:48:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:48:01] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:48:01] Production.INFO: ==18718== Lock acquired, processing the job...
[2025-01-07 07:48:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:48:02] Production.INFO: ==18718== Releasing lock...
[2025-01-07 07:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:48:03] Production.INFO: ==18725== Lock acquired, processing the job...
[2025-01-07 07:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:48:03] Production.INFO: ==18733== Lock acquired, processing the job...
[2025-01-07 07:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:48:03] Production.INFO: ==18723== Lock acquired, processing the job...
[2025-01-07 07:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:48:03] Production.INFO: ==18725== Releasing lock...
[2025-01-07 07:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 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-07 07:48:03] Production.INFO: count ==21
[2025-01-07 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-07 07:48:03] Production.INFO: count ==21
[2025-01-07 07:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193469') start
[2025-01-07 07:48:03] Production.INFO: ==18727== Lock acquired, processing the job...
[2025-01-07 07:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:48:03] Production.INFO: ==18729== Lock acquired, processing the job...
[2025-01-07 07:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:48:03] Production.INFO: ==18731== Lock acquired, processing the job...
[2025-01-07 07:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193469') end
[2025-01-07 07:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:48:03] Production.INFO: 1
[2025-01-07 07:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:48:03] Production.INFO: Account Balance Start.
[2025-01-07 07:48:03] Production.INFO: CreateAllLog Start
[2025-01-07 07:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:48:03] Production.INFO: 117
[2025-01-07 07:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:48:03] Production.INFO: Date 2024-12-08
[2025-01-07 07:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:48:03] Production.INFO: ==18733== Releasing lock...
[2025-01-07 07:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:48:03] Production.INFO: Date 2024-12-09
[2025-01-07 07:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:48:03] Production.INFO: Date 2024-12-10
[2025-01-07 07:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:48:03] Production.INFO: Date 2024-12-11
[2025-01-07 07:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:48:03] Production.INFO: Date 2024-12-12
[2025-01-07 07:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:48:03] Production.ERROR: done
[2025-01-07 07:48:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:48:03] Production.INFO: Date 2024-12-13
[2025-01-07 07:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:48:03] Production.INFO: Date 2024-12-14
[2025-01-07 07:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:48:03] Production.INFO: Date 2024-12-15
[2025-01-07 07:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:48:04] Production.ERROR: done
[2025-01-07 07:48:04] Production.INFO: Date 2024-12-16
[2025-01-07 07:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:48:04] Production.INFO: Date 2024-12-17
[2025-01-07 07:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:48:04] Production.INFO: Date 2024-12-18
[2025-01-07 07:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:48:04] Production.INFO: Date 2024-12-19
[2025-01-07 07:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:48:04] Production.INFO: Date 2024-12-20
[2025-01-07 07:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:48:04] Production.INFO: Date 2024-12-21
[2025-01-07 07:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:48:04] Production.INFO: Date 2024-12-22
[2025-01-07 07:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:48:04] Production.INFO: Date 2024-12-23
[2025-01-07 07:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:48:04] Production.INFO: Date 2024-12-24
[2025-01-07 07:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:48:04] Production.INFO: Date 2024-12-25
[2025-01-07 07:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:48:04] Production.INFO: Date 2024-12-26
[2025-01-07 07:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:48:04] Production.INFO: Date 2024-12-27
[2025-01-07 07:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:48:04] Production.INFO: Date 2024-12-28
[2025-01-07 07:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:48:04] Production.INFO: Date 2024-12-29
[2025-01-07 07:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:48:04] Production.INFO: Date 2024-12-30
[2025-01-07 07:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:48:04] Production.INFO: Date 2024-12-31
[2025-01-07 07:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:48:04] Production.INFO: Date 2025-01-01
[2025-01-07 07:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:48:04] Production.INFO: Date 2025-01-02
[2025-01-07 07:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:48:04] Production.INFO: Date 2025-01-03
[2025-01-07 07:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:48:04] Production.INFO: Date 2025-01-04
[2025-01-07 07:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:48:04] Production.INFO: Date 2025-01-05
[2025-01-07 07:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:48:04] Production.INFO: Date 2025-01-06
[2025-01-07 07:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:48:04] Production.INFO: Date 2025-01-07
[2025-01-07 07:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:48:04] Production.INFO: Total Charge 0
[2025-01-07 07:48:04] Production.INFO: CreateAllLog End
[2025-01-07 07:48:05] Production.INFO: Account Balance End.
[2025-01-07 07:48:05] Production.ERROR: CronJobId end 12
[2025-01-07 07:48:05] Production.INFO: ==18729== Releasing lock...
[2025-01-07 07:48:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:48:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:48:05
[end_date_ymd] => 2025-01-07 07:48:05
[RateCDR] => 1
)
[2025-01-07 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-07 04:48:05' and `end` < '2025-01-07 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-07 07:48:11] Production.ERROR: CronJobId end10
[2025-01-07 07:48:11] Production.INFO: ==18727== Releasing lock...
[2025-01-07 07:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:48:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:48:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:48:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:48:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:48:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:48:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:48:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:48:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:48:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:48:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:48:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:48:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:48:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:48:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:48:13] Production.INFO: call_cost start
[2025-01-07 07:48:13] Production.INFO: call_cost end
[2025-01-07 07:48:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:48:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:48:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:48:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:48:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:48:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:48:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:48:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:48:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:48:13] Production.INFO: ==18723== Releasing lock...
[2025-01-07 07:48:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:48:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:48:18] Production.INFO: count ==95
[2025-01-07 07:48:18] Production.ERROR: pbx CDR StartTime 2025-01-07 04:48:05 - End Time 2025-01-07 07:48:05
[2025-01-07 07:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193472', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193472', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193472', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193472', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:48:18] Production.INFO: ProcessCDR(1,14193472,1,1,2)
[2025-01-07 07:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193472,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193472,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193472,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193472,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193472', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193472', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:48:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:48:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:48:21] Production.INFO: ==18731== Releasing lock...
[2025-01-07 07:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:48:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:49:01] Production.INFO: ==18792== Lock acquired, processing the job...
[2025-01-07 12:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:49:01] Production.INFO: neon service started
[2025-01-07 12:49:01] Production.INFO: neon service started
[2025-01-07 12:49:01] Production.INFO: ==18792== Releasing lock...
[2025-01-07 12:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:49:02] Production.INFO: ==18794== Lock acquired, processing the job...
[2025-01-07 07:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:49:02] Production.INFO: ==18794== Releasing lock...
[2025-01-07 07:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:49:02] Production.INFO: ==18796== Lock acquired, processing the job...
[2025-01-07 12:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:49:02] Production.INFO: ==18796== Releasing lock...
[2025-01-07 12:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:49:03] Production.INFO: ==18801== Lock acquired, processing the job...
[2025-01-07 07:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:49:03] Production.INFO: ==18798== Lock acquired, processing the job...
[2025-01-07 07:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:49:03] Production.INFO: ==18809== Lock acquired, processing the job...
[2025-01-07 07:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:49:03] Production.INFO: ==18803== Lock acquired, processing the job...
[2025-01-07 07:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 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-07 07:49:03] Production.INFO: ==18807== Lock acquired, processing the job...
[2025-01-07 07:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:49:03] Production.INFO: ==18805== Lock acquired, processing the job...
[2025-01-07 07:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:49:03] Production.INFO: count ==21
[2025-01-07 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-07 07:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:49:03] Production.INFO: count ==21
[2025-01-07 07:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193475') start
[2025-01-07 07:49:03] Production.INFO: Account Balance Start.
[2025-01-07 07:49:03] Production.INFO: CreateAllLog Start
[2025-01-07 07:49:03] Production.INFO: 117
[2025-01-07 07:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193475') end
[2025-01-07 07:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:49:03] Production.INFO: 1
[2025-01-07 07:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:49:03] Production.INFO: ==18801== Releasing lock...
[2025-01-07 07:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:49:03] Production.INFO: Date 2024-12-08
[2025-01-07 07:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:49:03] Production.INFO: ==18809== Releasing lock...
[2025-01-07 07:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:49:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:49:03] Production.ERROR: done
[2025-01-07 07:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:49:03] Production.INFO: Date 2024-12-09
[2025-01-07 07:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:49:04] Production.INFO: Date 2024-12-10
[2025-01-07 07:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:49:04] Production.ERROR: done
[2025-01-07 07:49:04] Production.INFO: Date 2024-12-11
[2025-01-07 07:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:49:04] Production.INFO: Date 2024-12-12
[2025-01-07 07:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:49:04] Production.INFO: Date 2024-12-13
[2025-01-07 07:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:49:04] Production.INFO: Date 2024-12-14
[2025-01-07 07:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:49:04] Production.INFO: Date 2024-12-15
[2025-01-07 07:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:49:04] Production.INFO: Date 2024-12-16
[2025-01-07 07:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:49:04] Production.INFO: Date 2024-12-17
[2025-01-07 07:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:49:04] Production.INFO: Date 2024-12-18
[2025-01-07 07:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:49:04] Production.INFO: Date 2024-12-19
[2025-01-07 07:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:49:04] Production.INFO: Date 2024-12-20
[2025-01-07 07:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:49:04] Production.INFO: Date 2024-12-21
[2025-01-07 07:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:49:04] Production.INFO: Date 2024-12-22
[2025-01-07 07:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:49:04] Production.INFO: Date 2024-12-23
[2025-01-07 07:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:49:04] Production.INFO: Date 2024-12-24
[2025-01-07 07:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:49:04] Production.INFO: Date 2024-12-25
[2025-01-07 07:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:49:04] Production.INFO: Date 2024-12-26
[2025-01-07 07:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:49:04] Production.INFO: Date 2024-12-27
[2025-01-07 07:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:49:04] Production.INFO: Date 2024-12-28
[2025-01-07 07:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:49:04] Production.INFO: Date 2024-12-29
[2025-01-07 07:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:49:04] Production.INFO: Date 2024-12-30
[2025-01-07 07:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:49:04] Production.INFO: Date 2024-12-31
[2025-01-07 07:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:49:04] Production.INFO: Date 2025-01-01
[2025-01-07 07:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:49:04] Production.INFO: Date 2025-01-02
[2025-01-07 07:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:49:04] Production.INFO: Date 2025-01-03
[2025-01-07 07:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:49:04] Production.INFO: Date 2025-01-04
[2025-01-07 07:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:49:04] Production.INFO: Date 2025-01-05
[2025-01-07 07:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:49:04] Production.INFO: Date 2025-01-06
[2025-01-07 07:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:49:05] Production.INFO: Date 2025-01-07
[2025-01-07 07:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:49:05
[end_date_ymd] => 2025-01-07 07:49:05
[RateCDR] => 1
)
[2025-01-07 07:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 04:49:05' and `end` < '2025-01-07 07:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 07:49:05] Production.INFO: Total Charge 0
[2025-01-07 07:49:05] Production.INFO: CreateAllLog End
[2025-01-07 07:49:05] Production.INFO: Account Balance End.
[2025-01-07 07:49:05] Production.ERROR: CronJobId end 12
[2025-01-07 07:49:05] Production.INFO: ==18805== Releasing lock...
[2025-01-07 07:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:49:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:49:11] Production.ERROR: CronJobId end10
[2025-01-07 07:49:11] Production.INFO: ==18803== Releasing lock...
[2025-01-07 07:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:49:13] Production.INFO: call_cost start
[2025-01-07 07:49:13] Production.INFO: call_cost end
[2025-01-07 07:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:49:14] Production.INFO: ==18798== Releasing lock...
[2025-01-07 07:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:49:17] Production.INFO: count ==95
[2025-01-07 07:49:17] Production.ERROR: pbx CDR StartTime 2025-01-07 04:49:05 - End Time 2025-01-07 07:49:05
[2025-01-07 07:49:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193477', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193477', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193477', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193477', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:49:17] Production.INFO: ProcessCDR(1,14193477,1,1,2)
[2025-01-07 07:49:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193477,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:49:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193477,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:49:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193477,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:49:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193477,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193477', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193477', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:49:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:49:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:49:20] Production.INFO: ==18807== Releasing lock...
[2025-01-07 07:49:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:49:20] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:50:02] Production.INFO: ==18873== Lock acquired, processing the job...
[2025-01-07 12:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:50:02] Production.INFO: neon service started
[2025-01-07 12:50:02] Production.INFO: neon service started
[2025-01-07 12:50:02] Production.INFO: ==18873== Releasing lock...
[2025-01-07 12:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 12:50:02] Production.INFO: ==18877== Lock acquired, processing the job...
[2025-01-07 12:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:50:02] Production.INFO: ==18877== Releasing lock...
[2025-01-07 12:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:50:02] Production.INFO: ==18875== Lock acquired, processing the job...
[2025-01-07 07:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:50:03] Production.INFO: ==18875== Releasing lock...
[2025-01-07 07:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:50:04] Production.INFO: ==18883== Lock acquired, processing the job...
[2025-01-07 07:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:50:04] Production.INFO: ==18879== Lock acquired, processing the job...
[2025-01-07 07:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 07:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 07:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 07:50:04] Production.ERROR: CronJob PID - 18883
[2025-01-07 07:50:04] Production.ERROR: CronJob Title - Account Block
[2025-01-07 07:50:04] Production.ERROR: CronJob ID - 7
[2025-01-07 07:50:04] Production.ERROR: CronJob Last Run Time 2025-01-07 07:50:00
[2025-01-07 07:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 07:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 07:50:04] Production.INFO: ==18887== Lock acquired, processing the job...
[2025-01-07 07:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:50:04] Production.INFO: ==18881== Lock acquired, processing the job...
[2025-01-07 07:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 07:50:04] Production.INFO: ==18879== Releasing lock...
[2025-01-07 07:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 07:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 07:50:04] Production.INFO: ==18890== Lock acquired, processing the job...
[2025-01-07 07:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:50:04] Production.INFO: ==18885== Lock acquired, processing the job...
[2025-01-07 07:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:50:04] Production.INFO: ==18883== Releasing lock...
[2025-01-07 07:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:50:04] Production.INFO: Account Balance Start.
[2025-01-07 07:50:04] Production.INFO: CreateAllLog Start
[2025-01-07 07:50:04] Production.INFO: 117
[2025-01-07 07:50:04] Production.INFO: Date 2024-12-08
[2025-01-07 07:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:50:04] Production.INFO: ==18892== Lock acquired, processing the job...
[2025-01-07 07:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 07:50:04] Production.INFO: Date 2024-12-09
[2025-01-07 07:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:50:04] Production.INFO: ==18894== Lock acquired, processing the job...
[2025-01-07 07:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:50:04] Production.INFO: Date 2024-12-10
[2025-01-07 07:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:50:04] Production.ERROR: done
[2025-01-07 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-07 07:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:50:04] Production.INFO: count ==21
[2025-01-07 07:50:04] Production.INFO: Date 2024-12-11
[2025-01-07 07:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 07:50:04] Production.INFO: count ==21
[2025-01-07 07:50:04] Production.INFO: Date 2024-12-12
[2025-01-07 07:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193481') start
[2025-01-07 07:50:04] Production.ERROR: done
[2025-01-07 07:50:04] Production.ERROR: done
[2025-01-07 07:50:04] Production.INFO: Date 2024-12-13
[2025-01-07 07:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 07:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14193482', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 07:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:50:04] Production.INFO: Date 2024-12-14
[2025-01-07 07:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:50:04] Production.INFO: Date 2024-12-15
[2025-01-07 07:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14193481') end
[2025-01-07 07:50:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:50:05] Production.INFO: 1
[2025-01-07 07:50:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:50:05] Production.INFO: Date 2024-12-16
[2025-01-07 07:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:50:05] Production.INFO: Date 2024-12-17
[2025-01-07 07:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:50:05] Production.INFO: ==18894== Releasing lock...
[2025-01-07 07:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:50:05] Production.INFO: Date 2024-12-18
[2025-01-07 07:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:50:05] Production.INFO: Date 2024-12-19
[2025-01-07 07:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:50:05] Production.INFO: Date 2024-12-20
[2025-01-07 07:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:50:05] Production.INFO: Date 2024-12-21
[2025-01-07 07:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:50:05] Production.INFO: Date 2024-12-22
[2025-01-07 07:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:50:05] Production.INFO: Date 2024-12-23
[2025-01-07 07:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:50:05] Production.INFO: Date 2024-12-24
[2025-01-07 07:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:50:05] Production.INFO: Date 2024-12-25
[2025-01-07 07:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:50:05] Production.INFO: Date 2024-12-26
[2025-01-07 07:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:50:05] Production.INFO: Date 2024-12-27
[2025-01-07 07:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:50:05] Production.INFO: Date 2024-12-28
[2025-01-07 07:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:50:05] Production.INFO: Date 2024-12-29
[2025-01-07 07:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:50:05] Production.INFO: Date 2024-12-30
[2025-01-07 07:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:50:05] Production.INFO: Date 2024-12-31
[2025-01-07 07:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:50:05] Production.INFO: Date 2025-01-01
[2025-01-07 07:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:50:05] Production.INFO: Date 2025-01-02
[2025-01-07 07:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:50:05] Production.INFO: Date 2025-01-03
[2025-01-07 07:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:50:05] Production.INFO: Date 2025-01-04
[2025-01-07 07:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:50:05] Production.INFO: Date 2025-01-05
[2025-01-07 07:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:50:05] Production.INFO: Date 2025-01-06
[2025-01-07 07:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:50:05] Production.INFO: Date 2025-01-07
[2025-01-07 07:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:50:05] Production.INFO: Total Charge 0
[2025-01-07 07:50:05] Production.INFO: CreateAllLog End
[2025-01-07 07:50:06] Production.INFO: Account Balance End.
[2025-01-07 07:50:06] Production.ERROR: CronJobId end 12
[2025-01-07 07:50:06] Production.INFO: ==18887== Releasing lock...
[2025-01-07 07:50:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:50:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:50:06
[end_date_ymd] => 2025-01-07 07:50:06
[RateCDR] => 1
)
[2025-01-07 07:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 04:50:06' and `end` < '2025-01-07 07:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 07:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14193482', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 07:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 07:50:09] Production.INFO: ProcessCDR(1,14193482,1,1,2)
[2025-01-07 07:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14193482,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14193482,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:50:09] Production.INFO: ==18892== Releasing lock...
[2025-01-07 07:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 07:50:09] Production.INFO: 26 MB #Memory Used#
[2025-01-07 07:50:13] Production.ERROR: CronJobId end10
[2025-01-07 07:50:13] Production.INFO: ==18885== Releasing lock...
[2025-01-07 07:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:50:15] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:50:15] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:50:15] Production.INFO: call_cost start
[2025-01-07 07:50:15] Production.INFO: call_cost end
[2025-01-07 07:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:50:16] Production.INFO: ==18881== Releasing lock...
[2025-01-07 07:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:50:19] Production.INFO: count ==99
[2025-01-07 07:50:19] Production.ERROR: pbx CDR StartTime 2025-01-07 04:50:06 - End Time 2025-01-07 07:50:06
[2025-01-07 07:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193483', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193483', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193483', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193483', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:50:19] Production.INFO: ProcessCDR(1,14193483,1,1,2)
[2025-01-07 07:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193483,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193483,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193483,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193483,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193483', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193483', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:50:22] Production.INFO: ==18890== Releasing lock...
[2025-01-07 07:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:50:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:51:01] Production.INFO: ==18951== Lock acquired, processing the job...
[2025-01-07 12:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:51:01] Production.INFO: neon service started
[2025-01-07 12:51:01] Production.INFO: neon service started
[2025-01-07 12:51:01] Production.INFO: ==18951== Releasing lock...
[2025-01-07 12:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:51:01] Production.INFO: ==18953== Lock acquired, processing the job...
[2025-01-07 07:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:51:02] Production.INFO: ==18953== Releasing lock...
[2025-01-07 07:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:51:02] Production.INFO: ==18955== Lock acquired, processing the job...
[2025-01-07 12:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:51:02] Production.INFO: ==18955== Releasing lock...
[2025-01-07 12:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:51:02] Production.INFO: ==18963== Lock acquired, processing the job...
[2025-01-07 07:51:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:51:03] Production.INFO: Account Balance Start.
[2025-01-07 07:51:03] Production.INFO: CreateAllLog Start
[2025-01-07 07:51:03] Production.INFO: 117
[2025-01-07 07:51:03] Production.INFO: Date 2024-12-08
[2025-01-07 07:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:51:03] Production.INFO: Date 2024-12-09
[2025-01-07 07:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:51:03] Production.INFO: Date 2024-12-10
[2025-01-07 07:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:51:03] Production.INFO: ==18957== Lock acquired, processing the job...
[2025-01-07 07:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:51:03] Production.INFO: Date 2024-12-11
[2025-01-07 07:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:51:03] Production.INFO: Date 2024-12-12
[2025-01-07 07:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:51:03] Production.INFO: Date 2024-12-13
[2025-01-07 07:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:51:03] Production.INFO: ==18961== Lock acquired, processing the job...
[2025-01-07 07:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:51:03] Production.INFO: ==18959== Lock acquired, processing the job...
[2025-01-07 07:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:51:03] Production.INFO: ==18965== Lock acquired, processing the job...
[2025-01-07 07:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:51:03] Production.INFO: Date 2024-12-14
[2025-01-07 07:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:51:03] Production.INFO: Date 2024-12-15
[2025-01-07 07:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:51:03] Production.INFO: Date 2024-12-16
[2025-01-07 07:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:51:03] Production.INFO: Date 2024-12-17
[2025-01-07 07:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:51:03] Production.INFO: ==18967== Lock acquired, processing the job...
[2025-01-07 07:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:51:03] Production.INFO: Date 2024-12-18
[2025-01-07 07:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:51:03] Production.INFO: Date 2024-12-19
[2025-01-07 07:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 07:51:03] Production.INFO: ==18959== Releasing lock...
[2025-01-07 07:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:51:03] Production.INFO: count ==21
[2025-01-07 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-07 07:51:03] Production.INFO: count ==21
[2025-01-07 07:51:03] Production.INFO: Date 2024-12-20
[2025-01-07 07:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193487') start
[2025-01-07 07:51:03] Production.ERROR: done
[2025-01-07 07:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:51:03] Production.INFO: Date 2024-12-21
[2025-01-07 07:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193487') end
[2025-01-07 07:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:51:03] Production.INFO: 1
[2025-01-07 07:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:51:03] Production.INFO: Date 2024-12-22
[2025-01-07 07:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:51:03] Production.INFO: Date 2024-12-23
[2025-01-07 07:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:51:03] Production.INFO: Date 2024-12-24
[2025-01-07 07:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:51:03] Production.INFO: Date 2024-12-25
[2025-01-07 07:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:51:03] Production.INFO: ==18967== Releasing lock...
[2025-01-07 07:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:51:03] Production.INFO: Date 2024-12-26
[2025-01-07 07:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:51:04] Production.ERROR: done
[2025-01-07 07:51:04] Production.INFO: Date 2024-12-27
[2025-01-07 07:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:51:04] Production.INFO: Date 2024-12-28
[2025-01-07 07:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:51:04] Production.INFO: Date 2024-12-29
[2025-01-07 07:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:51:04] Production.INFO: Date 2024-12-30
[2025-01-07 07:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:51:04] Production.INFO: Date 2024-12-31
[2025-01-07 07:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:51:04] Production.INFO: Date 2025-01-01
[2025-01-07 07:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:51:04] Production.INFO: Date 2025-01-02
[2025-01-07 07:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:51:04] Production.INFO: Date 2025-01-03
[2025-01-07 07:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:51:04] Production.INFO: Date 2025-01-04
[2025-01-07 07:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:51:04] Production.INFO: Date 2025-01-05
[2025-01-07 07:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:51:04] Production.INFO: Date 2025-01-06
[2025-01-07 07:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:51:04] Production.INFO: Date 2025-01-07
[2025-01-07 07:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:51:04] Production.INFO: Total Charge 0
[2025-01-07 07:51:04] Production.INFO: CreateAllLog End
[2025-01-07 07:51:04] Production.INFO: Account Balance End.
[2025-01-07 07:51:04] Production.ERROR: CronJobId end 12
[2025-01-07 07:51:04] Production.INFO: ==18963== Releasing lock...
[2025-01-07 07:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:51:04
[end_date_ymd] => 2025-01-07 07:51:04
[RateCDR] => 1
)
[2025-01-07 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-07 04:51:04' and `end` < '2025-01-07 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-07 07:51:11] Production.ERROR: CronJobId end10
[2025-01-07 07:51:11] Production.INFO: ==18961== Releasing lock...
[2025-01-07 07:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:51:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:51:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:51:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:51:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:51:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:51:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:51:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:51:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:51:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:51:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:51:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:51:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:51:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:51:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:51:13] Production.INFO: call_cost start
[2025-01-07 07:51:13] Production.INFO: call_cost end
[2025-01-07 07:51:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:51:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:51:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:51:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:51:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:51:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:51:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:51:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:51:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:51:13] Production.INFO: ==18957== Releasing lock...
[2025-01-07 07:51:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:51:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:51:17] Production.INFO: count ==99
[2025-01-07 07:51:17] Production.ERROR: pbx CDR StartTime 2025-01-07 04:51:04 - End Time 2025-01-07 07:51:04
[2025-01-07 07:51:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193488', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193488', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193488', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193488', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:51:17] Production.INFO: ProcessCDR(1,14193488,1,1,2)
[2025-01-07 07:51:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193488,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:51:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193488,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:51:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193488,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:51:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193488,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:51:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193488', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:51:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193488', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:51:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:51:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:51:20] Production.INFO: ==18965== Releasing lock...
[2025-01-07 07:51:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:51:20] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:52:01] Production.INFO: ==19022== Lock acquired, processing the job...
[2025-01-07 12:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:52:01] Production.INFO: neon service started
[2025-01-07 12:52:02] Production.INFO: neon service started
[2025-01-07 12:52:02] Production.INFO: ==19022== Releasing lock...
[2025-01-07 12:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:52:02] Production.INFO: ==19024== Lock acquired, processing the job...
[2025-01-07 07:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 12:52:02] Production.INFO: ==19026== Lock acquired, processing the job...
[2025-01-07 12:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:52:02] Production.INFO: ==19026== Releasing lock...
[2025-01-07 12:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:52:02] Production.INFO: ==19024== Releasing lock...
[2025-01-07 07:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:52:03] Production.INFO: ==19029== Lock acquired, processing the job...
[2025-01-07 07:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:52:03] Production.INFO: ==19031== Lock acquired, processing the job...
[2025-01-07 07:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:52:03] Production.INFO: ==19035== Lock acquired, processing the job...
[2025-01-07 07:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:52:03] Production.INFO: Account Balance Start.
[2025-01-07 07:52:03] Production.INFO: CreateAllLog Start
[2025-01-07 07:52:03] Production.INFO: 117
[2025-01-07 07:52:03] Production.INFO: Date 2024-12-08
[2025-01-07 07:52:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:52:03] Production.INFO: ==19031== Releasing lock...
[2025-01-07 07:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:52:03] Production.INFO: Date 2024-12-09
[2025-01-07 07:52:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:52:03] Production.INFO: Date 2024-12-10
[2025-01-07 07:52:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:52:03] Production.INFO: ==19033== Lock acquired, processing the job...
[2025-01-07 07:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:52:03] Production.INFO: Date 2024-12-11
[2025-01-07 07:52:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:52:04] Production.INFO: Date 2024-12-12
[2025-01-07 07:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:52:04] Production.INFO: Date 2024-12-13
[2025-01-07 07:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:52:04] Production.INFO: ==19037== Lock acquired, processing the job...
[2025-01-07 07:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:52:04] Production.INFO: Date 2024-12-14
[2025-01-07 07:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:52:04] Production.INFO: Date 2024-12-15
[2025-01-07 07:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:52:04] Production.INFO: ==19039== Lock acquired, processing the job...
[2025-01-07 07:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:52:04] Production.INFO: Date 2024-12-16
[2025-01-07 07:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:52:04] Production.INFO: Date 2024-12-17
[2025-01-07 07:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:52:04] Production.INFO: Date 2024-12-18
[2025-01-07 07:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:52:04] Production.INFO: Date 2024-12-19
[2025-01-07 07:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:52:04] Production.INFO: count ==21
[2025-01-07 07:52:04] Production.INFO: Date 2024-12-20
[2025-01-07 07:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:52:04] Production.ERROR: done
[2025-01-07 07:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:52:04] Production.INFO: count ==21
[2025-01-07 07:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193492') start
[2025-01-07 07:52:04] Production.INFO: Date 2024-12-21
[2025-01-07 07:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:52:04] Production.INFO: Date 2024-12-22
[2025-01-07 07:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:52:04] Production.INFO: Date 2024-12-23
[2025-01-07 07:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:52:04] Production.ERROR: done
[2025-01-07 07:52:04] Production.INFO: Date 2024-12-24
[2025-01-07 07:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:52:04] Production.INFO: Date 2024-12-25
[2025-01-07 07:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193492') end
[2025-01-07 07:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:52:04] Production.INFO: 1
[2025-01-07 07:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:52:04] Production.INFO: Date 2024-12-26
[2025-01-07 07:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:52:04] Production.INFO: Date 2024-12-27
[2025-01-07 07:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:52:04] Production.INFO: ==19039== Releasing lock...
[2025-01-07 07:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:52:04] Production.INFO: Date 2024-12-28
[2025-01-07 07:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:52:04] Production.INFO: Date 2024-12-29
[2025-01-07 07:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:52:04] Production.INFO: Date 2024-12-30
[2025-01-07 07:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:52:04] Production.INFO: Date 2024-12-31
[2025-01-07 07:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:52:04] Production.INFO: Date 2025-01-01
[2025-01-07 07:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:52:04] Production.INFO: Date 2025-01-02
[2025-01-07 07:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:52:04] Production.INFO: Date 2025-01-03
[2025-01-07 07:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:52:04] Production.INFO: Date 2025-01-04
[2025-01-07 07:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:52:04] Production.INFO: Date 2025-01-05
[2025-01-07 07:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:52:05] Production.INFO: Date 2025-01-06
[2025-01-07 07:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:52:05] Production.INFO: Date 2025-01-07
[2025-01-07 07:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:52:05] Production.INFO: Total Charge 0
[2025-01-07 07:52:05] Production.INFO: CreateAllLog End
[2025-01-07 07:52:05] Production.INFO: Account Balance End.
[2025-01-07 07:52:05] Production.ERROR: CronJobId end 12
[2025-01-07 07:52:05] Production.INFO: ==19035== Releasing lock...
[2025-01-07 07:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:52:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:52:05
[end_date_ymd] => 2025-01-07 07:52:05
[RateCDR] => 1
)
[2025-01-07 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-07 04:52:05' and `end` < '2025-01-07 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-07 07:52:12] Production.ERROR: CronJobId end10
[2025-01-07 07:52:12] Production.INFO: ==19033== Releasing lock...
[2025-01-07 07:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:52:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:52:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:52:14] Production.INFO: call_cost start
[2025-01-07 07:52:14] Production.INFO: call_cost end
[2025-01-07 07:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:52:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:52:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:52:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:52:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:52:15] Production.INFO: ==19029== Releasing lock...
[2025-01-07 07:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:52:18] Production.INFO: count ==100
[2025-01-07 07:52:18] Production.ERROR: pbx CDR StartTime 2025-01-07 04:52:05 - End Time 2025-01-07 07:52:05
[2025-01-07 07:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193493', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193493', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193493', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193493', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:52:18] Production.INFO: ProcessCDR(1,14193493,1,1,2)
[2025-01-07 07:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193493,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193493,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193493,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193493,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193493', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193493', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:52:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:52:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:52:23] Production.INFO: ==19037== Releasing lock...
[2025-01-07 07:52:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:52:23] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:53:01] Production.INFO: ==19093== Lock acquired, processing the job...
[2025-01-07 12:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:53:01] Production.INFO: neon service started
[2025-01-07 12:53:01] Production.INFO: neon service started
[2025-01-07 12:53:01] Production.INFO: ==19093== Releasing lock...
[2025-01-07 12:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:53:01] Production.INFO: ==19095== Lock acquired, processing the job...
[2025-01-07 07:53:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:53:02] Production.INFO: ==19095== Releasing lock...
[2025-01-07 07:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:53:02] Production.INFO: ==19097== Lock acquired, processing the job...
[2025-01-07 12:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:53:02] Production.INFO: ==19097== Releasing lock...
[2025-01-07 12:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:53:02] Production.INFO: ==19100== Lock acquired, processing the job...
[2025-01-07 07:53:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:53:03] Production.INFO: ==19102== Lock acquired, processing the job...
[2025-01-07 07:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:53:03] Production.INFO: ==19108== Lock acquired, processing the job...
[2025-01-07 07:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:53:03] Production.INFO: ==19104== Lock acquired, processing the job...
[2025-01-07 07:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:53:03] Production.INFO: ==19106== Lock acquired, processing the job...
[2025-01-07 07:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:53:03] Production.INFO: Account Balance Start.
[2025-01-07 07:53:03] Production.INFO: CreateAllLog Start
[2025-01-07 07:53:03] Production.INFO: ==19110== Lock acquired, processing the job...
[2025-01-07 07:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:53:03] Production.INFO: 117
[2025-01-07 07:53:03] Production.INFO: Date 2024-12-08
[2025-01-07 07:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:53:03] Production.INFO: Date 2024-12-09
[2025-01-07 07:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:53:03] Production.INFO: Date 2024-12-10
[2025-01-07 07:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:53:03] Production.ERROR: done
[2025-01-07 07:53:03] Production.INFO: ==19102== Releasing lock...
[2025-01-07 07:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:53:03] Production.INFO: Date 2024-12-11
[2025-01-07 07:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:53:03] Production.INFO: Date 2024-12-12
[2025-01-07 07:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 07:53:03] Production.INFO: count ==21
[2025-01-07 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-07 07:53:03] Production.INFO: count ==21
[2025-01-07 07:53:03] Production.INFO: Date 2024-12-13
[2025-01-07 07:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193497') start
[2025-01-07 07:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:53:03] Production.ERROR: done
[2025-01-07 07:53:03] Production.INFO: Date 2024-12-14
[2025-01-07 07:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:53:03] Production.INFO: Date 2024-12-15
[2025-01-07 07:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:53:03] Production.INFO: Date 2024-12-16
[2025-01-07 07:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193497') end
[2025-01-07 07:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:53:03] Production.INFO: 1
[2025-01-07 07:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:53:03] Production.INFO: ==19110== Releasing lock...
[2025-01-07 07:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:53:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:53:03] Production.INFO: Date 2024-12-17
[2025-01-07 07:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:53:03] Production.INFO: Date 2024-12-18
[2025-01-07 07:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:53:03] Production.INFO: Date 2024-12-19
[2025-01-07 07:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:53:03] Production.INFO: Date 2024-12-20
[2025-01-07 07:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:53:03] Production.INFO: Date 2024-12-21
[2025-01-07 07:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:53:03] Production.INFO: Date 2024-12-22
[2025-01-07 07:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:53:03] Production.INFO: Date 2024-12-23
[2025-01-07 07:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:53:03] Production.INFO: Date 2024-12-24
[2025-01-07 07:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:53:03] Production.INFO: Date 2024-12-25
[2025-01-07 07:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:53:03] Production.INFO: Date 2024-12-26
[2025-01-07 07:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:53:03] Production.INFO: Date 2024-12-27
[2025-01-07 07:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:53:03] Production.INFO: Date 2024-12-28
[2025-01-07 07:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:53:04] Production.INFO: Date 2024-12-29
[2025-01-07 07:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:53:04] Production.INFO: Date 2024-12-30
[2025-01-07 07:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:53:04] Production.INFO: Date 2024-12-31
[2025-01-07 07:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:53:04] Production.INFO: Date 2025-01-01
[2025-01-07 07:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:53:04] Production.INFO: Date 2025-01-02
[2025-01-07 07:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:53:04] Production.INFO: Date 2025-01-03
[2025-01-07 07:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:53:04] Production.INFO: Date 2025-01-04
[2025-01-07 07:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:53:04] Production.INFO: Date 2025-01-05
[2025-01-07 07:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:53:04] Production.INFO: Date 2025-01-06
[2025-01-07 07:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:53:04] Production.INFO: Date 2025-01-07
[2025-01-07 07:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:53:04] Production.INFO: Total Charge 0
[2025-01-07 07:53:04] Production.INFO: CreateAllLog End
[2025-01-07 07:53:04] Production.INFO: Account Balance End.
[2025-01-07 07:53:04] Production.ERROR: CronJobId end 12
[2025-01-07 07:53:04] Production.INFO: ==19106== Releasing lock...
[2025-01-07 07:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:53:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:53:04
[end_date_ymd] => 2025-01-07 07:53:04
[RateCDR] => 1
)
[2025-01-07 07:53:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 04:53:04' and `end` < '2025-01-07 07:53:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 07:53:12] Production.ERROR: CronJobId end10
[2025-01-07 07:53:12] Production.INFO: ==19104== Releasing lock...
[2025-01-07 07:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:53:13] Production.INFO: call_cost start
[2025-01-07 07:53:13] Production.INFO: call_cost end
[2025-01-07 07:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:53:14] Production.INFO: ==19100== Releasing lock...
[2025-01-07 07:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:53:18] Production.INFO: count ==101
[2025-01-07 07:53:18] Production.ERROR: pbx CDR StartTime 2025-01-07 04:53:04 - End Time 2025-01-07 07:53:04
[2025-01-07 07:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193498', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193498', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193498', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193498', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:53:18] Production.INFO: ProcessCDR(1,14193498,1,1,2)
[2025-01-07 07:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193498,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193498,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193498,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193498,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193498', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193498', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:53:22] Production.INFO: ==19108== Releasing lock...
[2025-01-07 07:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:53:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-07 12:54:02] Production.INFO: ==19163== Lock acquired, processing the job...
[2025-01-07 12:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:54:02] Production.INFO: neon service started
[2025-01-07 12:54:02] Production.INFO: neon service started
[2025-01-07 12:54:02] Production.INFO: ==19163== Releasing lock...
[2025-01-07 12:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 12:54:02] Production.INFO: ==19167== Lock acquired, processing the job...
[2025-01-07 12:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:54:02] Production.INFO: ==19167== Releasing lock...
[2025-01-07 12:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:54:02] Production.INFO: ==19165== Lock acquired, processing the job...
[2025-01-07 07:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:54:03] Production.INFO: ==19165== Releasing lock...
[2025-01-07 07:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:54:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:54:03] Production.INFO: ==19170== Lock acquired, processing the job...
[2025-01-07 07:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:54:03] Production.INFO: ==19174== Lock acquired, processing the job...
[2025-01-07 07:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:54:03] Production.INFO: ==19180== Lock acquired, processing the job...
[2025-01-07 07:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 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-07 07:54:04] Production.INFO: count ==21
[2025-01-07 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-07 07:54:04] Production.INFO: count ==21
[2025-01-07 07:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193500') start
[2025-01-07 07:54:04] Production.INFO: ==19172== Lock acquired, processing the job...
[2025-01-07 07:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193500') end
[2025-01-07 07:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:54:04] Production.INFO: 1
[2025-01-07 07:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:54:04] Production.INFO: ==19176== Lock acquired, processing the job...
[2025-01-07 07:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:54:04] Production.INFO: ==19180== Releasing lock...
[2025-01-07 07:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:54:04] Production.INFO: Account Balance Start.
[2025-01-07 07:54:04] Production.INFO: CreateAllLog Start
[2025-01-07 07:54:04] Production.INFO: 117
[2025-01-07 07:54:04] Production.INFO: ==19178== Lock acquired, processing the job...
[2025-01-07 07:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:54:04] Production.INFO: Date 2024-12-08
[2025-01-07 07:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:54:04] Production.INFO: Date 2024-12-09
[2025-01-07 07:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:54:04] Production.INFO: Date 2024-12-10
[2025-01-07 07:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:54:04] Production.INFO: Date 2024-12-11
[2025-01-07 07:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:54:04] Production.INFO: ==19172== Releasing lock...
[2025-01-07 07:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:54:04] Production.INFO: Date 2024-12-12
[2025-01-07 07:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:54:04] Production.INFO: Date 2024-12-13
[2025-01-07 07:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:54:04] Production.ERROR: done
[2025-01-07 07:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:54:04] Production.INFO: Date 2024-12-14
[2025-01-07 07:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:54:04] Production.INFO: Date 2024-12-15
[2025-01-07 07:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:54:04] Production.INFO: Date 2024-12-16
[2025-01-07 07:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:54:04] Production.ERROR: done
[2025-01-07 07:54:04] Production.INFO: Date 2024-12-17
[2025-01-07 07:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:54:04] Production.INFO: Date 2024-12-18
[2025-01-07 07:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:54:04] Production.INFO: Date 2024-12-19
[2025-01-07 07:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:54:04] Production.INFO: Date 2024-12-20
[2025-01-07 07:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:54:05] Production.INFO: Date 2024-12-21
[2025-01-07 07:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:54:05] Production.INFO: Date 2024-12-22
[2025-01-07 07:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:54:05] Production.INFO: Date 2024-12-23
[2025-01-07 07:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:54:05] Production.INFO: Date 2024-12-24
[2025-01-07 07:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:54:05] Production.INFO: Date 2024-12-25
[2025-01-07 07:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:54:05] Production.INFO: Date 2024-12-26
[2025-01-07 07:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:54:05] Production.INFO: Date 2024-12-27
[2025-01-07 07:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:54:05] Production.INFO: Date 2024-12-28
[2025-01-07 07:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:54:05] Production.INFO: Date 2024-12-29
[2025-01-07 07:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:54:05] Production.INFO: Date 2024-12-30
[2025-01-07 07:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:54:05] Production.INFO: Date 2024-12-31
[2025-01-07 07:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:54:05] Production.INFO: Date 2025-01-01
[2025-01-07 07:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:54:05] Production.INFO: Date 2025-01-02
[2025-01-07 07:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:54:05] Production.INFO: Date 2025-01-03
[2025-01-07 07:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:54:05] Production.INFO: Date 2025-01-04
[2025-01-07 07:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:54:05] Production.INFO: Date 2025-01-05
[2025-01-07 07:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:54:05] Production.INFO: Date 2025-01-06
[2025-01-07 07:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:54:05] Production.INFO: Date 2025-01-07
[2025-01-07 07:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:54:05] Production.INFO: Total Charge 0
[2025-01-07 07:54:05] Production.INFO: CreateAllLog End
[2025-01-07 07:54:05] Production.INFO: Account Balance End.
[2025-01-07 07:54:05] Production.ERROR: CronJobId end 12
[2025-01-07 07:54:05] Production.INFO: ==19176== Releasing lock...
[2025-01-07 07:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:54:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:54:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:54:06
[end_date_ymd] => 2025-01-07 07:54:06
[RateCDR] => 1
)
[2025-01-07 07:54:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 04:54:06' and `end` < '2025-01-07 07:54:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 07:54:11] Production.ERROR: CronJobId end10
[2025-01-07 07:54:11] Production.INFO: ==19174== Releasing lock...
[2025-01-07 07:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:54:13] Production.INFO: call_cost start
[2025-01-07 07:54:13] Production.INFO: call_cost end
[2025-01-07 07:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:54:14] Production.INFO: ==19170== Releasing lock...
[2025-01-07 07:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:54:18] Production.INFO: count ==105
[2025-01-07 07:54:18] Production.ERROR: pbx CDR StartTime 2025-01-07 04:54:06 - End Time 2025-01-07 07:54:06
[2025-01-07 07:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193503', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193503', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193503', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193503', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:54:18] Production.INFO: ProcessCDR(1,14193503,1,1,2)
[2025-01-07 07:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193503,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:54:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193503,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:54:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193503,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:54:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193503,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193503', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193503', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:54:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:54:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:54:23] Production.INFO: ==19178== Releasing lock...
[2025-01-07 07:54:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:54:23] Production.INFO: 28.5 MB #Memory Used#
[2025-01-07 12:55:01] Production.INFO: ==19275== Lock acquired, processing the job...
[2025-01-07 12:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:55:01] Production.INFO: neon service started
[2025-01-07 12:55:01] Production.INFO: neon service started
[2025-01-07 12:55:01] Production.INFO: ==19275== Releasing lock...
[2025-01-07 12:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:55:02] Production.INFO: ==19277== Lock acquired, processing the job...
[2025-01-07 07:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 12:55:02] Production.INFO: ==19279== Lock acquired, processing the job...
[2025-01-07 12:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:55:02] Production.INFO: ==19279== Releasing lock...
[2025-01-07 12:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:55:02] Production.INFO: ==19277== Releasing lock...
[2025-01-07 07:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:55:03] Production.INFO: ==19282== Lock acquired, processing the job...
[2025-01-07 07:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:55:03] Production.INFO: ==19284== Lock acquired, processing the job...
[2025-01-07 07:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:55:03] Production.INFO: ==19290== Lock acquired, processing the job...
[2025-01-07 07:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:55:03] Production.INFO: ==19286== Lock acquired, processing the job...
[2025-01-07 07:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:55:03] Production.INFO: ==19288== Lock acquired, processing the job...
[2025-01-07 07:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:55:03] Production.INFO: ==19284== Releasing lock...
[2025-01-07 07:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:55:03] Production.INFO: ==19292== Lock acquired, processing the job...
[2025-01-07 07:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:55:03] Production.INFO: Account Balance Start.
[2025-01-07 07:55:03] Production.INFO: CreateAllLog Start
[2025-01-07 07:55:03] Production.INFO: 117
[2025-01-07 07:55:03] Production.INFO: Date 2024-12-08
[2025-01-07 07:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:55:04] Production.ERROR: done
[2025-01-07 07:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:55:04] Production.INFO: Date 2024-12-09
[2025-01-07 07:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:55:04] Production.INFO: Date 2024-12-10
[2025-01-07 07:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:55:04] Production.INFO: Date 2024-12-11
[2025-01-07 07:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:55:04] Production.INFO: count ==21
[2025-01-07 07:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:55:04] Production.INFO: count ==21
[2025-01-07 07:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193507') start
[2025-01-07 07:55:04] Production.ERROR: done
[2025-01-07 07:55:04] Production.INFO: Date 2024-12-12
[2025-01-07 07:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193507') end
[2025-01-07 07:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:55:04] Production.INFO: 1
[2025-01-07 07:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:55:04] Production.INFO: ==19292== Releasing lock...
[2025-01-07 07:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:55:04] Production.INFO: Date 2024-12-13
[2025-01-07 07:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:55:04] Production.INFO: Date 2024-12-14
[2025-01-07 07:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:55:04] Production.INFO: Date 2024-12-15
[2025-01-07 07:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:55:04] Production.INFO: Date 2024-12-16
[2025-01-07 07:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:55:04] Production.INFO: Date 2024-12-17
[2025-01-07 07:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:55:04] Production.INFO: Date 2024-12-18
[2025-01-07 07:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:55:04] Production.INFO: Date 2024-12-19
[2025-01-07 07:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:55:04] Production.INFO: Date 2024-12-20
[2025-01-07 07:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:55:04] Production.INFO: Date 2024-12-21
[2025-01-07 07:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:55:04] Production.INFO: Date 2024-12-22
[2025-01-07 07:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:55:04] Production.INFO: Date 2024-12-23
[2025-01-07 07:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:55:04] Production.INFO: Date 2024-12-24
[2025-01-07 07:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:55:04] Production.INFO: Date 2024-12-25
[2025-01-07 07:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:55:05] Production.INFO: Date 2024-12-26
[2025-01-07 07:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:55:05] Production.INFO: Date 2024-12-27
[2025-01-07 07:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:55:05] Production.INFO: Date 2024-12-28
[2025-01-07 07:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:55:05] Production.INFO: Date 2024-12-29
[2025-01-07 07:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:55:05] Production.INFO: Date 2024-12-30
[2025-01-07 07:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:55:05] Production.INFO: Date 2024-12-31
[2025-01-07 07:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:55:05] Production.INFO: Date 2025-01-01
[2025-01-07 07:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:55:05] Production.INFO: Date 2025-01-02
[2025-01-07 07:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:55:05] Production.INFO: Date 2025-01-03
[2025-01-07 07:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:55:05] Production.INFO: Date 2025-01-04
[2025-01-07 07:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:55:05] Production.INFO: Date 2025-01-05
[2025-01-07 07:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:55:05] Production.INFO: Date 2025-01-06
[2025-01-07 07:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:55:05] Production.INFO: Date 2025-01-07
[2025-01-07 07:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:55:05] Production.INFO: Total Charge 0
[2025-01-07 07:55:05] Production.INFO: CreateAllLog End
[2025-01-07 07:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:55:05
[end_date_ymd] => 2025-01-07 07:55:05
[RateCDR] => 1
)
[2025-01-07 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-07 04:55:05' and `end` < '2025-01-07 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-07 07:55:05] Production.INFO: Account Balance End.
[2025-01-07 07:55:05] Production.ERROR: CronJobId end 12
[2025-01-07 07:55:05] Production.INFO: ==19288== Releasing lock...
[2025-01-07 07:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:55:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:55:11] Production.ERROR: CronJobId end10
[2025-01-07 07:55:11] Production.INFO: ==19286== Releasing lock...
[2025-01-07 07:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:55:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:55:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:55:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:55:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:55:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:55:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:55:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:55:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:55:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:55:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:55:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:55:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:55:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:55:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:55:13] Production.INFO: call_cost start
[2025-01-07 07:55:13] Production.INFO: call_cost end
[2025-01-07 07:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:55:14] Production.INFO: ==19282== Releasing lock...
[2025-01-07 07:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:55:18] Production.INFO: count ==105
[2025-01-07 07:55:18] Production.ERROR: pbx CDR StartTime 2025-01-07 04:55:05 - End Time 2025-01-07 07:55:05
[2025-01-07 07:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193508', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193508', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193508', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193508', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:55:18] Production.INFO: ProcessCDR(1,14193508,1,1,2)
[2025-01-07 07:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193508,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193508,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193508,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193508,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193508', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193508', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:55:22] Production.INFO: ==19290== Releasing lock...
[2025-01-07 07:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:55:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-07 12:56:02] Production.INFO: ==19345== Lock acquired, processing the job...
[2025-01-07 12:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:56:02] Production.INFO: neon service started
[2025-01-07 12:56:02] Production.INFO: neon service started
[2025-01-07 12:56:02] Production.INFO: ==19345== Releasing lock...
[2025-01-07 12:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 12:56:02] Production.INFO: ==19349== Lock acquired, processing the job...
[2025-01-07 12:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:56:02] Production.INFO: ==19349== Releasing lock...
[2025-01-07 12:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:56:02] Production.INFO: ==19347== Lock acquired, processing the job...
[2025-01-07 07:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:56:02] Production.INFO: ==19347== Releasing lock...
[2025-01-07 07:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 07:56:03] Production.INFO: ==19352== Lock acquired, processing the job...
[2025-01-07 07:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:56:03] Production.INFO: ==19354== Lock acquired, processing the job...
[2025-01-07 07:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:56:03] Production.INFO: ==19360== Lock acquired, processing the job...
[2025-01-07 07:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:56:04] Production.INFO: ==19356== Lock acquired, processing the job...
[2025-01-07 07:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:56:04] Production.INFO: ==19358== Lock acquired, processing the job...
[2025-01-07 07:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:56:04] Production.INFO: ==19362== Lock acquired, processing the job...
[2025-01-07 07:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:56:04] Production.INFO: Account Balance Start.
[2025-01-07 07:56:04] Production.INFO: CreateAllLog Start
[2025-01-07 07:56:04] Production.INFO: 117
[2025-01-07 07:56:04] Production.INFO: Date 2024-12-08
[2025-01-07 07:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:56:04] Production.ERROR: done
[2025-01-07 07:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:56:04] Production.INFO: Date 2024-12-09
[2025-01-07 07:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:56:04] Production.INFO: ==19354== Releasing lock...
[2025-01-07 07:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:56:04] Production.ERROR: done
[2025-01-07 07:56:04] Production.INFO: Date 2024-12-10
[2025-01-07 07:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:56:04] Production.INFO: Date 2024-12-11
[2025-01-07 07:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:56:04] Production.INFO: Date 2024-12-12
[2025-01-07 07:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:56:04] Production.INFO: Date 2024-12-13
[2025-01-07 07:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:56:04] Production.INFO: Date 2024-12-14
[2025-01-07 07:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:56:04] Production.INFO: Date 2024-12-15
[2025-01-07 07:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:56:04] Production.INFO: count ==21
[2025-01-07 07:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 07:56:04] Production.INFO: Date 2024-12-16
[2025-01-07 07:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:56:04] Production.INFO: count ==21
[2025-01-07 07:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193512') start
[2025-01-07 07:56:04] Production.INFO: Date 2024-12-17
[2025-01-07 07:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:56:04] Production.INFO: Date 2024-12-18
[2025-01-07 07:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:56:04] Production.INFO: Date 2024-12-19
[2025-01-07 07:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193512') end
[2025-01-07 07:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:56:04] Production.INFO: 1
[2025-01-07 07:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:56:04] Production.INFO: Date 2024-12-20
[2025-01-07 07:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:56:04] Production.INFO: Date 2024-12-21
[2025-01-07 07:56:04] Production.INFO: ==19362== Releasing lock...
[2025-01-07 07:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:56:05] Production.INFO: Date 2024-12-22
[2025-01-07 07:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:56:05] Production.INFO: Date 2024-12-23
[2025-01-07 07:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:56:05] Production.INFO: Date 2024-12-24
[2025-01-07 07:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:56:05] Production.INFO: Date 2024-12-25
[2025-01-07 07:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:56:05] Production.INFO: Date 2024-12-26
[2025-01-07 07:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:56:05] Production.INFO: Date 2024-12-27
[2025-01-07 07:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:56:05] Production.INFO: Date 2024-12-28
[2025-01-07 07:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:56:05] Production.INFO: Date 2024-12-29
[2025-01-07 07:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:56:05] Production.INFO: Date 2024-12-30
[2025-01-07 07:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:56:05] Production.INFO: Date 2024-12-31
[2025-01-07 07:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:56:05] Production.INFO: Date 2025-01-01
[2025-01-07 07:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:56:05] Production.INFO: Date 2025-01-02
[2025-01-07 07:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:56:05] Production.INFO: Date 2025-01-03
[2025-01-07 07:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:56:05] Production.INFO: Date 2025-01-04
[2025-01-07 07:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:56:05] Production.INFO: Date 2025-01-05
[2025-01-07 07:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:56:05] Production.INFO: Date 2025-01-06
[2025-01-07 07:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:56:05] Production.INFO: Date 2025-01-07
[2025-01-07 07:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 07:56:05] Production.INFO: Total Charge 0
[2025-01-07 07:56:05] Production.INFO: CreateAllLog End
[2025-01-07 07:56:05] Production.INFO: Account Balance End.
[2025-01-07 07:56:05] Production.ERROR: CronJobId end 12
[2025-01-07 07:56:05] Production.INFO: ==19358== Releasing lock...
[2025-01-07 07:56:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:56:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:56:05
[end_date_ymd] => 2025-01-07 07:56:05
[RateCDR] => 1
)
[2025-01-07 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-07 04:56:05' and `end` < '2025-01-07 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-07 07:56:12] Production.ERROR: CronJobId end10
[2025-01-07 07:56:12] Production.INFO: ==19356== Releasing lock...
[2025-01-07 07:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:56:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:56:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:56:14] Production.INFO: call_cost start
[2025-01-07 07:56:14] Production.INFO: call_cost end
[2025-01-07 07:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:56:14] Production.INFO: ==19352== Releasing lock...
[2025-01-07 07:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:56:18] Production.INFO: count ==109
[2025-01-07 07:56:18] Production.ERROR: pbx CDR StartTime 2025-01-07 04:56:05 - End Time 2025-01-07 07:56:05
[2025-01-07 07:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193513', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193513', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193513', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193513', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:56:18] Production.INFO: ProcessCDR(1,14193513,1,1,2)
[2025-01-07 07:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193513,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193513,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:56:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193513,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:56:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193513,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193513', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193513', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:56:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:56:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:56:23] Production.INFO: ==19360== Releasing lock...
[2025-01-07 07:56:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:56:23] Production.INFO: 28.5 MB #Memory Used#
[2025-01-07 12:57:01] Production.INFO: ==19416== Lock acquired, processing the job...
[2025-01-07 12:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:57:01] Production.INFO: neon service started
[2025-01-07 12:57:01] Production.INFO: neon service started
[2025-01-07 12:57:01] Production.INFO: ==19416== Releasing lock...
[2025-01-07 12:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:57:01] Production.INFO: ==19418== Lock acquired, processing the job...
[2025-01-07 07:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:57:02] Production.INFO: ==19418== Releasing lock...
[2025-01-07 07:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:57:02] Production.INFO: ==19420== Lock acquired, processing the job...
[2025-01-07 12:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:57:02] Production.INFO: ==19420== Releasing lock...
[2025-01-07 12:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:57:03] Production.INFO: ==19422== Lock acquired, processing the job...
[2025-01-07 07:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:57:03] Production.INFO: ==19429== Lock acquired, processing the job...
[2025-01-07 07:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:57:03] Production.INFO: ==19431== Lock acquired, processing the job...
[2025-01-07 07:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:57:03] Production.INFO: ==19424== Lock acquired, processing the job...
[2025-01-07 07:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:57:03] Production.INFO: Account Balance Start.
[2025-01-07 07:57:03] Production.INFO: CreateAllLog Start
[2025-01-07 07:57:03] Production.INFO: 117
[2025-01-07 07:57:03] Production.INFO: Date 2024-12-08
[2025-01-07 07:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:57:03] Production.INFO: ==19427== Lock acquired, processing the job...
[2025-01-07 07:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:57:03] Production.INFO: Date 2024-12-09
[2025-01-07 07:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:57:03] Production.INFO: ==19433== Lock acquired, processing the job...
[2025-01-07 07:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:57:03] Production.INFO: Date 2024-12-10
[2025-01-07 07:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 07:57:03] Production.ERROR: done
[2025-01-07 07:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:57:03] Production.INFO: count ==21
[2025-01-07 07:57:03] Production.INFO: ==19424== Releasing lock...
[2025-01-07 07:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 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-07 07:57:03] Production.INFO: count ==21
[2025-01-07 07:57:03] Production.INFO: Date 2024-12-11
[2025-01-07 07:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193517') start
[2025-01-07 07:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:57:03] Production.ERROR: done
[2025-01-07 07:57:03] Production.INFO: Date 2024-12-12
[2025-01-07 07:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:57:03] Production.INFO: Date 2024-12-13
[2025-01-07 07:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193517') end
[2025-01-07 07:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:57:03] Production.INFO: 1
[2025-01-07 07:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:57:03] Production.INFO: Date 2024-12-14
[2025-01-07 07:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:57:03] Production.INFO: Date 2024-12-15
[2025-01-07 07:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:57:03] Production.INFO: ==19433== Releasing lock...
[2025-01-07 07:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:57:03] Production.INFO: Date 2024-12-16
[2025-01-07 07:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:57:03] Production.INFO: Date 2024-12-17
[2025-01-07 07:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:57:03] Production.INFO: Date 2024-12-18
[2025-01-07 07:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:57:03] Production.INFO: Date 2024-12-19
[2025-01-07 07:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:57:04] Production.INFO: Date 2024-12-20
[2025-01-07 07:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:57:04] Production.INFO: Date 2024-12-21
[2025-01-07 07:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:57:04] Production.INFO: Date 2024-12-22
[2025-01-07 07:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:57:04] Production.INFO: Date 2024-12-23
[2025-01-07 07:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:57:04] Production.INFO: Date 2024-12-24
[2025-01-07 07:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:57:04] Production.INFO: Date 2024-12-25
[2025-01-07 07:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:57:04] Production.INFO: Date 2024-12-26
[2025-01-07 07:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:57:04] Production.INFO: Date 2024-12-27
[2025-01-07 07:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:57:04] Production.INFO: Date 2024-12-28
[2025-01-07 07:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:57:04] Production.INFO: Date 2024-12-29
[2025-01-07 07:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:57:04] Production.INFO: Date 2024-12-30
[2025-01-07 07:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:57:04] Production.INFO: Date 2024-12-31
[2025-01-07 07:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:57:04] Production.INFO: Date 2025-01-01
[2025-01-07 07:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:57:04] Production.INFO: Date 2025-01-02
[2025-01-07 07:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:57:04] Production.INFO: Date 2025-01-03
[2025-01-07 07:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:57:04] Production.INFO: Date 2025-01-04
[2025-01-07 07:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:57:04] Production.INFO: Date 2025-01-05
[2025-01-07 07:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:57:04] Production.INFO: Date 2025-01-06
[2025-01-07 07:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:57:04] Production.INFO: Date 2025-01-07
[2025-01-07 07:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:57:04] Production.INFO: Total Charge 0
[2025-01-07 07:57:04] Production.INFO: CreateAllLog End
[2025-01-07 07:57:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:57:04
[end_date_ymd] => 2025-01-07 07:57:04
[RateCDR] => 1
)
[2025-01-07 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-07 04:57:04' and `end` < '2025-01-07 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-07 07:57:04] Production.INFO: Account Balance End.
[2025-01-07 07:57:04] Production.ERROR: CronJobId end 12
[2025-01-07 07:57:04] Production.INFO: ==19429== Releasing lock...
[2025-01-07 07:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:57:10] Production.ERROR: CronJobId end10
[2025-01-07 07:57:10] Production.INFO: ==19427== Releasing lock...
[2025-01-07 07:57:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:57:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:57:12] Production.INFO: call_cost start
[2025-01-07 07:57:12] Production.INFO: call_cost end
[2025-01-07 07:57:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:57:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:57:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:57:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:57:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:57:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:57:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:57:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:57:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:57:13] Production.INFO: ==19422== Releasing lock...
[2025-01-07 07:57:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:57:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:57:17] Production.INFO: count ==114
[2025-01-07 07:57:17] Production.ERROR: pbx CDR StartTime 2025-01-07 04:57:04 - End Time 2025-01-07 07:57:04
[2025-01-07 07:57:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193518', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193518', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193518', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193518', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:57:17] Production.INFO: ProcessCDR(1,14193518,1,1,2)
[2025-01-07 07:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193518,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:57:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193518,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:57:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193518,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:57:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193518,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:57:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193518', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:57:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193518', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:57:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:57:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:57:20] Production.INFO: ==19431== Releasing lock...
[2025-01-07 07:57:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:57:20] Production.INFO: 28.75 MB #Memory Used#
[2025-01-07 12:58:01] Production.INFO: ==19487== Lock acquired, processing the job...
[2025-01-07 12:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:58:01] Production.INFO: neon service started
[2025-01-07 12:58:02] Production.INFO: neon service started
[2025-01-07 12:58:02] Production.INFO: ==19487== Releasing lock...
[2025-01-07 12:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:58:02] Production.INFO: ==19489== Lock acquired, processing the job...
[2025-01-07 07:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:58:02] Production.INFO: ==19489== Releasing lock...
[2025-01-07 07:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:58:02] Production.INFO: ==19491== Lock acquired, processing the job...
[2025-01-07 12:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:58:02] Production.INFO: ==19491== Releasing lock...
[2025-01-07 12:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:58:03] Production.INFO: ==19499== Lock acquired, processing the job...
[2025-01-07 07:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:58:03] Production.INFO: Account Balance Start.
[2025-01-07 07:58:03] Production.INFO: CreateAllLog Start
[2025-01-07 07:58:03] Production.INFO: 117
[2025-01-07 07:58:03] Production.INFO: Date 2024-12-08
[2025-01-07 07:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:58:03] Production.INFO: Date 2024-12-09
[2025-01-07 07:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:58:03] Production.INFO: Date 2024-12-10
[2025-01-07 07:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:58:03] Production.INFO: Date 2024-12-11
[2025-01-07 07:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:58:03] Production.INFO: Date 2024-12-12
[2025-01-07 07:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:58:03] Production.INFO: Date 2024-12-13
[2025-01-07 07:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:58:03] Production.INFO: Date 2024-12-14
[2025-01-07 07:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:58:03] Production.INFO: Date 2024-12-15
[2025-01-07 07:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:58:03] Production.INFO: Date 2024-12-16
[2025-01-07 07:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:58:03] Production.INFO: ==19495== Lock acquired, processing the job...
[2025-01-07 07:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:58:03] Production.INFO: ==19493== Lock acquired, processing the job...
[2025-01-07 07:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:58:03] Production.INFO: Date 2024-12-17
[2025-01-07 07:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:58:03] Production.INFO: ==19497== Lock acquired, processing the job...
[2025-01-07 07:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:58:03] Production.INFO: Date 2024-12-18
[2025-01-07 07:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:58:03] Production.INFO: Date 2024-12-19
[2025-01-07 07:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:58:03] Production.INFO: Date 2024-12-20
[2025-01-07 07:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:58:03] Production.INFO: Date 2024-12-21
[2025-01-07 07:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:58:03] Production.INFO: ==19501== Lock acquired, processing the job...
[2025-01-07 07:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:58:03] Production.INFO: Date 2024-12-22
[2025-01-07 07:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:58:03] Production.INFO: ==19503== Lock acquired, processing the job...
[2025-01-07 07:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:58:04] Production.INFO: Date 2024-12-23
[2025-01-07 07:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:58:04] Production.INFO: Date 2024-12-24
[2025-01-07 07:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:58:04] Production.INFO: Date 2024-12-25
[2025-01-07 07:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 07:58:04] Production.INFO: Date 2024-12-26
[2025-01-07 07:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:58:04] Production.INFO: Date 2024-12-27
[2025-01-07 07:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:58:04] Production.INFO: count ==21
[2025-01-07 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-07 07:58:04] Production.INFO: ==19495== Releasing lock...
[2025-01-07 07:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:58:04] Production.INFO: count ==21
[2025-01-07 07:58:04] Production.INFO: Date 2024-12-28
[2025-01-07 07:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193522') start
[2025-01-07 07:58:04] Production.INFO: Date 2024-12-29
[2025-01-07 07:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:58:04] Production.INFO: Date 2024-12-30
[2025-01-07 07:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:58:04] Production.INFO: Date 2024-12-31
[2025-01-07 07:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:58:04] Production.INFO: Date 2025-01-01
[2025-01-07 07:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:58:04] Production.INFO: Date 2025-01-02
[2025-01-07 07:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:58:04] Production.ERROR: done
[2025-01-07 07:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:58:04] Production.INFO: Date 2025-01-03
[2025-01-07 07:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193522') end
[2025-01-07 07:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:58:04] Production.INFO: 1
[2025-01-07 07:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:58:04] Production.INFO: Date 2025-01-04
[2025-01-07 07:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:58:04] Production.INFO: ==19503== Releasing lock...
[2025-01-07 07:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:58:04] Production.INFO: Date 2025-01-05
[2025-01-07 07:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:58:04] Production.INFO: Date 2025-01-06
[2025-01-07 07:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:58:04] Production.ERROR: done
[2025-01-07 07:58:04] Production.INFO: Date 2025-01-07
[2025-01-07 07:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:58:04] Production.INFO: Total Charge 0
[2025-01-07 07:58:04] Production.INFO: CreateAllLog End
[2025-01-07 07:58:04] Production.INFO: Account Balance End.
[2025-01-07 07:58:04] Production.ERROR: CronJobId end 12
[2025-01-07 07:58:04] Production.INFO: ==19499== Releasing lock...
[2025-01-07 07:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:58:05
[end_date_ymd] => 2025-01-07 07:58:05
[RateCDR] => 1
)
[2025-01-07 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-07 04:58:05' and `end` < '2025-01-07 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-07 07:58:11] Production.ERROR: CronJobId end10
[2025-01-07 07:58:11] Production.INFO: ==19497== Releasing lock...
[2025-01-07 07:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:58:13] Production.INFO: call_cost start
[2025-01-07 07:58:13] Production.INFO: call_cost end
[2025-01-07 07:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:58:14] Production.INFO: ==19493== Releasing lock...
[2025-01-07 07:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:58:19] Production.INFO: count ==115
[2025-01-07 07:58:19] Production.ERROR: pbx CDR StartTime 2025-01-07 04:58:05 - End Time 2025-01-07 07:58:05
[2025-01-07 07:58:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193523', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193523', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193523', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193523', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:58:19] Production.INFO: ProcessCDR(1,14193523,1,1,2)
[2025-01-07 07:58:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193523,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:58:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193523,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:58:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193523,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:58:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193523,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193523', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193523', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:58:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:58:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:58:23] Production.INFO: ==19501== Releasing lock...
[2025-01-07 07:58:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:58:23] Production.INFO: 28.75 MB #Memory Used#
[2025-01-07 12:59:01] Production.INFO: ==19560== Lock acquired, processing the job...
[2025-01-07 12:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 12:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 12:59:01] Production.INFO: neon service started
[2025-01-07 12:59:01] Production.INFO: neon service started
[2025-01-07 12:59:01] Production.INFO: ==19560== Releasing lock...
[2025-01-07 12:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 12:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 07:59:02] Production.INFO: ==19562== Lock acquired, processing the job...
[2025-01-07 07:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 07:59:02] Production.INFO: ==19562== Releasing lock...
[2025-01-07 07:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 07:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:59:02] Production.INFO: ==19564== Lock acquired, processing the job...
[2025-01-07 12:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:59:02] Production.INFO: ==19564== Releasing lock...
[2025-01-07 12:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 12:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 07:59:03] Production.INFO: ==19567== Lock acquired, processing the job...
[2025-01-07 07:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 07:59:03] Production.INFO: ==19571== Lock acquired, processing the job...
[2025-01-07 07:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 07:59:03] Production.INFO: ==19573== Lock acquired, processing the job...
[2025-01-07 07:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 07:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 07:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 07:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 07:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 07:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 07:59:03] Production.INFO: ==19569== Lock acquired, processing the job...
[2025-01-07 07:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 07:59:03] Production.INFO: Account Balance Start.
[2025-01-07 07:59:03] Production.INFO: CreateAllLog Start
[2025-01-07 07:59:03] Production.INFO: 117
[2025-01-07 07:59:03] Production.INFO: Date 2024-12-08
[2025-01-07 07:59:03] Production.INFO: ==19575== Lock acquired, processing the job...
[2025-01-07 07:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 07:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:59:03] Production.INFO: ==19577== Lock acquired, processing the job...
[2025-01-07 07:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 07:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 07:59:03] Production.INFO: Date 2024-12-09
[2025-01-07 07:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:59:03] Production.INFO: Date 2024-12-10
[2025-01-07 07:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 07:59:03] Production.INFO: count ==21
[2025-01-07 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-07 07:59:03] Production.INFO: count ==21
[2025-01-07 07:59:03] Production.INFO: ==19569== Releasing lock...
[2025-01-07 07:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 07:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 07:59:03] Production.INFO: Date 2024-12-11
[2025-01-07 07:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193527') start
[2025-01-07 07:59:03] Production.INFO: Date 2024-12-12
[2025-01-07 07:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:59:03] Production.ERROR: done
[2025-01-07 07:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 07:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193527') end
[2025-01-07 07:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 07:59:03] Production.INFO: 1
[2025-01-07 07:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 07:59:03] Production.INFO: Date 2024-12-13
[2025-01-07 07:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 07:59:04] Production.INFO: ==19577== Releasing lock...
[2025-01-07 07:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 07:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 07:59:04] Production.ERROR: done
[2025-01-07 07:59:04] Production.INFO: Date 2024-12-14
[2025-01-07 07:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:59:04] Production.INFO: Date 2024-12-15
[2025-01-07 07:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:59:04] Production.INFO: Date 2024-12-16
[2025-01-07 07:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:59:04] Production.INFO: Date 2024-12-17
[2025-01-07 07:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:59:04] Production.INFO: Date 2024-12-18
[2025-01-07 07:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:59:04] Production.INFO: Date 2024-12-19
[2025-01-07 07:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:59:04] Production.INFO: Date 2024-12-20
[2025-01-07 07:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:59:04] Production.INFO: Date 2024-12-21
[2025-01-07 07:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:59:04] Production.INFO: Date 2024-12-22
[2025-01-07 07:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:59:04] Production.INFO: Date 2024-12-23
[2025-01-07 07:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:59:04] Production.INFO: Date 2024-12-24
[2025-01-07 07:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:59:04] Production.INFO: Date 2024-12-25
[2025-01-07 07:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:59:04] Production.INFO: Date 2024-12-26
[2025-01-07 07:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:59:04] Production.INFO: Date 2024-12-27
[2025-01-07 07:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:59:04] Production.INFO: Date 2024-12-28
[2025-01-07 07:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:59:04] Production.INFO: Date 2024-12-29
[2025-01-07 07:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:59:04] Production.INFO: Date 2024-12-30
[2025-01-07 07:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:59:04] Production.INFO: Date 2024-12-31
[2025-01-07 07:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:59:04] Production.INFO: Date 2025-01-01
[2025-01-07 07:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:59:04] Production.INFO: Date 2025-01-02
[2025-01-07 07:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:59:04] Production.INFO: Date 2025-01-03
[2025-01-07 07:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:59:04] Production.INFO: Date 2025-01-04
[2025-01-07 07:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:59:04] Production.INFO: Date 2025-01-05
[2025-01-07 07:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:59:04] Production.INFO: Date 2025-01-06
[2025-01-07 07:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:59:04] Production.INFO: Date 2025-01-07
[2025-01-07 07:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 07:59:04] Production.INFO: Total Charge 0
[2025-01-07 07:59:04] Production.INFO: CreateAllLog End
[2025-01-07 07:59:04] Production.INFO: Account Balance End.
[2025-01-07 07:59:04] Production.ERROR: CronJobId end 12
[2025-01-07 07:59:04] Production.INFO: ==19573== Releasing lock...
[2025-01-07 07:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 07:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 07:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 04:59:05
[end_date_ymd] => 2025-01-07 07:59:05
[RateCDR] => 1
)
[2025-01-07 07:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 04:59:05' and `end` < '2025-01-07 07:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 07:59:10] Production.ERROR: CronJobId end10
[2025-01-07 07:59:10] Production.INFO: ==19571== Releasing lock...
[2025-01-07 07:59:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 07:59:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 07:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 07:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 07:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 07:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 07:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 07:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 07:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 07:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 07:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 07:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 07:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 07:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 07:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 07:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 07:59:13] Production.INFO: call_cost start
[2025-01-07 07:59:13] Production.INFO: call_cost end
[2025-01-07 07:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 07:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 07:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 07:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 07:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 07:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 07:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 07:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 07:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 07:59:14] Production.INFO: ==19567== Releasing lock...
[2025-01-07 07:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 07:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 07:59:17] Production.INFO: count ==115
[2025-01-07 07:59:17] Production.ERROR: pbx CDR StartTime 2025-01-07 04:59:05 - End Time 2025-01-07 07:59:05
[2025-01-07 07:59:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 07:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193528', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193528', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193528', 'tblTempVendorCDR_20' ) start
[2025-01-07 07:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193528', 'tblTempVendorCDR_20' ) end
[2025-01-07 07:59:17] Production.INFO: ProcessCDR(1,14193528,1,1,2)
[2025-01-07 07:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193528,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193528,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 07:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193528,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193528,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 07:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193528', 'tblTempUsageDetail_20' ) start
[2025-01-07 07:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193528', 'tblTempUsageDetail_20' ) end
[2025-01-07 07:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 07:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 07:59:21] Production.INFO: ==19575== Releasing lock...
[2025-01-07 07:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 07:59:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-07 13:00:02] Production.INFO: ==19633== Lock acquired, processing the job...
[2025-01-07 13:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:00:02] Production.INFO: neon service started
[2025-01-07 13:00:02] Production.INFO: neon service started
[2025-01-07 13:00:02] Production.INFO: ==19633== Releasing lock...
[2025-01-07 13:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:00:02] Production.INFO: ==19636== Lock acquired, processing the job...
[2025-01-07 08:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 13:00:03] Production.INFO: ==19638== Lock acquired, processing the job...
[2025-01-07 13:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:00:03] Production.INFO: ==19638== Releasing lock...
[2025-01-07 13:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:00:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:00:03] Production.INFO: ==19636== Releasing lock...
[2025-01-07 08:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:00:04] Production.INFO: ==19640== Lock acquired, processing the job...
[2025-01-07 08:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 08:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 08:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 08:00:04] Production.INFO: ==19640== Releasing lock...
[2025-01-07 08:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 08:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 08:00:04] Production.INFO: ==19642== Lock acquired, processing the job...
[2025-01-07 08:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:00:04] Production.INFO: ==19646== Lock acquired, processing the job...
[2025-01-07 08:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:00:04] Production.INFO: ==19644== Lock acquired, processing the job...
[2025-01-07 08:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:00:04] Production.INFO: ==19654== Lock acquired, processing the job...
[2025-01-07 08:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:00:04] Production.INFO: ==19648== Lock acquired, processing the job...
[2025-01-07 08:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:00:04] Production.INFO: ==19650== Lock acquired, processing the job...
[2025-01-07 08:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 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-07 08:00:04] Production.INFO: count ==21
[2025-01-07 08:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 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-07 08:00:04] Production.INFO: count ==21
[2025-01-07 08:00:04] Production.INFO: ==19652== Lock acquired, processing the job...
[2025-01-07 08:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 08:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193531') start
[2025-01-07 08:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:00:04] Production.INFO: Account Balance Start.
[2025-01-07 08:00:04] Production.INFO: CreateAllLog Start
[2025-01-07 08:00:04] Production.INFO: 117
[2025-01-07 08:00:04] Production.INFO: ==19644== Releasing lock...
[2025-01-07 08:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193531') end
[2025-01-07 08:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:00:04] Production.INFO: 1
[2025-01-07 08:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:00:04] Production.INFO: Date 2024-12-08
[2025-01-07 08:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:00:04] Production.INFO: ==19654== Releasing lock...
[2025-01-07 08:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:00:05] Production.INFO: Date 2024-12-09
[2025-01-07 08:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:00:05] Production.ERROR: done
[2025-01-07 08:00:05] Production.ERROR: done
[2025-01-07 08:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:00:05] Production.INFO: Date 2024-12-10
[2025-01-07 08:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 08:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14193533', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 08:00:05] Production.INFO: Date 2024-12-11
[2025-01-07 08:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:00:05] Production.ERROR: done
[2025-01-07 08:00:05] Production.INFO: Date 2024-12-12
[2025-01-07 08:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:00:05] Production.INFO: Date 2024-12-13
[2025-01-07 08:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:00:05] Production.INFO: Date 2024-12-14
[2025-01-07 08:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:00:05] Production.INFO: Date 2024-12-15
[2025-01-07 08:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:00:05] Production.INFO: Date 2024-12-16
[2025-01-07 08:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:00:05] Production.INFO: Date 2024-12-17
[2025-01-07 08:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:00:05] Production.INFO: Date 2024-12-18
[2025-01-07 08:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:00:05] Production.INFO: Date 2024-12-19
[2025-01-07 08:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:00:05] Production.INFO: Date 2024-12-20
[2025-01-07 08:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:00:05] Production.INFO: Date 2024-12-21
[2025-01-07 08:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:00:05] Production.INFO: Date 2024-12-22
[2025-01-07 08:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:00:05] Production.INFO: Date 2024-12-23
[2025-01-07 08:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:00:05] Production.INFO: Date 2024-12-24
[2025-01-07 08:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:00:05] Production.INFO: Date 2024-12-25
[2025-01-07 08:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:00:05] Production.INFO: Date 2024-12-26
[2025-01-07 08:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:00:05] Production.INFO: Date 2024-12-27
[2025-01-07 08:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:00:05] Production.INFO: Date 2024-12-28
[2025-01-07 08:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:00:05] Production.INFO: Date 2024-12-29
[2025-01-07 08:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:00:05] Production.INFO: Date 2024-12-30
[2025-01-07 08:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:00:06] Production.INFO: Date 2024-12-31
[2025-01-07 08:00:06] Production.INFO: Reseller ==> 0
[2025-01-07 08:00:06] Production.INFO: Date 2025-01-01
[2025-01-07 08:00:06] Production.INFO: Reseller ==> 0
[2025-01-07 08:00:06] Production.INFO: Date 2025-01-02
[2025-01-07 08:00:06] Production.INFO: Reseller ==> 0
[2025-01-07 08:00:06] Production.INFO: Date 2025-01-03
[2025-01-07 08:00:06] Production.INFO: Reseller ==> 0
[2025-01-07 08:00:06] Production.INFO: Date 2025-01-04
[2025-01-07 08:00:06] Production.INFO: Reseller ==> 0
[2025-01-07 08:00:06] Production.INFO: Date 2025-01-05
[2025-01-07 08:00:06] Production.INFO: Reseller ==> 0
[2025-01-07 08:00:06] Production.INFO: Date 2025-01-06
[2025-01-07 08:00:06] Production.INFO: Reseller ==> 0
[2025-01-07 08:00:06] Production.INFO: Date 2025-01-07
[2025-01-07 08:00:06] Production.INFO: Reseller ==> 0
[2025-01-07 08:00:06] Production.INFO: Total Charge 0
[2025-01-07 08:00:06] Production.INFO: CreateAllLog End
[2025-01-07 08:00:06] Production.INFO: Account Balance End.
[2025-01-07 08:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:00:06
[end_date_ymd] => 2025-01-07 08:00:06
[RateCDR] => 1
)
[2025-01-07 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-07 05:00:06' and `end` < '2025-01-07 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-07 08:00:06] Production.ERROR: CronJobId end 12
[2025-01-07 08:00:06] Production.INFO: ==19648== Releasing lock...
[2025-01-07 08:00:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:00:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14193533', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 08:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 08:00:09] Production.INFO: ProcessCDR(1,14193533,1,1,2)
[2025-01-07 08:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14193533,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14193533,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:00:09] Production.INFO: ==19652== Releasing lock...
[2025-01-07 08:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 08:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-07 08:00:12] Production.ERROR: CronJobId end10
[2025-01-07 08:00:12] Production.INFO: ==19646== Releasing lock...
[2025-01-07 08:00:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:00:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:00:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:00:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:00:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:00:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:00:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:00:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:00:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:00:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:00:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:00:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:00:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:00:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:00:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:00:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:00:15] Production.INFO: call_cost start
[2025-01-07 08:00:15] Production.INFO: call_cost end
[2025-01-07 08:00:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:00:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:00:16] Production.INFO: ==19642== Releasing lock...
[2025-01-07 08:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:00:19] Production.INFO: count ==125
[2025-01-07 08:00:19] Production.ERROR: pbx CDR StartTime 2025-01-07 05:00:06 - End Time 2025-01-07 08:00:06
[2025-01-07 08:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193534', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193534', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193534', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193534', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:00:19] Production.INFO: ProcessCDR(1,14193534,1,1,2)
[2025-01-07 08:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193534,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193534,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193534,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:00:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193534,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193534', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193534', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:00:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:00:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:00:24] Production.INFO: ==19650== Releasing lock...
[2025-01-07 08:00:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:00:24] Production.INFO: 28.75 MB #Memory Used#
[2025-01-07 13:01:01] Production.INFO: ==19711== Lock acquired, processing the job...
[2025-01-07 13:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:01:01] Production.INFO: neon service started
[2025-01-07 13:01:01] Production.INFO: neon service started
[2025-01-07 13:01:01] Production.INFO: ==19711== Releasing lock...
[2025-01-07 13:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 13:01:02] Production.INFO: ==19725== Lock acquired, processing the job...
[2025-01-07 13:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:01:02] Production.INFO: ==19725== Releasing lock...
[2025-01-07 13:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:01:02] Production.INFO: ==19723== Lock acquired, processing the job...
[2025-01-07 08:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:01:02] Production.INFO: ==19723== Releasing lock...
[2025-01-07 08:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:01:03] Production.INFO: ==19727== Lock acquired, processing the job...
[2025-01-07 08:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:01:03] Production.INFO: ==19729== Lock acquired, processing the job...
[2025-01-07 08:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:01:03] Production.INFO: ==19738== Lock acquired, processing the job...
[2025-01-07 08:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:01:03] Production.INFO: ==19731== Lock acquired, processing the job...
[2025-01-07 08:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:01:03] Production.INFO: count ==21
[2025-01-07 08:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:01:03] Production.INFO: count ==21
[2025-01-07 08:01:03] Production.INFO: ==19733== Lock acquired, processing the job...
[2025-01-07 08:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:01:03] Production.INFO: ==19736== Lock acquired, processing the job...
[2025-01-07 08:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193537') start
[2025-01-07 08:01:03] Production.INFO: ==19729== Releasing lock...
[2025-01-07 08:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:01:03] Production.INFO: Account Balance Start.
[2025-01-07 08:01:03] Production.INFO: CreateAllLog Start
[2025-01-07 08:01:03] Production.INFO: 117
[2025-01-07 08:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193537') end
[2025-01-07 08:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:01:03] Production.INFO: 1
[2025-01-07 08:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:01:03] Production.INFO: Date 2024-12-08
[2025-01-07 08:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:01:04] Production.INFO: Date 2024-12-09
[2025-01-07 08:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:01:04] Production.INFO: ==19738== Releasing lock...
[2025-01-07 08:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:01:04] Production.INFO: Date 2024-12-10
[2025-01-07 08:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:01:04] Production.INFO: Date 2024-12-11
[2025-01-07 08:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:01:04] Production.INFO: Date 2024-12-12
[2025-01-07 08:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:01:04] Production.INFO: Date 2024-12-13
[2025-01-07 08:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:01:04] Production.ERROR: done
[2025-01-07 08:01:04] Production.INFO: Date 2024-12-14
[2025-01-07 08:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:01:04] Production.INFO: Date 2024-12-15
[2025-01-07 08:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:01:04] Production.INFO: Date 2024-12-16
[2025-01-07 08:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:01:04] Production.ERROR: done
[2025-01-07 08:01:04] Production.INFO: Date 2024-12-17
[2025-01-07 08:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:01:04] Production.INFO: Date 2024-12-18
[2025-01-07 08:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:01:04] Production.INFO: Date 2024-12-19
[2025-01-07 08:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:01:04] Production.INFO: Date 2024-12-20
[2025-01-07 08:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:01:04] Production.INFO: Date 2024-12-21
[2025-01-07 08:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:01:04] Production.INFO: Date 2024-12-22
[2025-01-07 08:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:01:04] Production.INFO: Date 2024-12-23
[2025-01-07 08:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:01:04] Production.INFO: Date 2024-12-24
[2025-01-07 08:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:01:04] Production.INFO: Date 2024-12-25
[2025-01-07 08:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:01:04] Production.INFO: Date 2024-12-26
[2025-01-07 08:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:01:04] Production.INFO: Date 2024-12-27
[2025-01-07 08:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:01:04] Production.INFO: Date 2024-12-28
[2025-01-07 08:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:01:04] Production.INFO: Date 2024-12-29
[2025-01-07 08:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:01:04] Production.INFO: Date 2024-12-30
[2025-01-07 08:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:01:04] Production.INFO: Date 2024-12-31
[2025-01-07 08:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:01:04] Production.INFO: Date 2025-01-01
[2025-01-07 08:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:01:04] Production.INFO: Date 2025-01-02
[2025-01-07 08:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:01:04] Production.INFO: Date 2025-01-03
[2025-01-07 08:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:01:04] Production.INFO: Date 2025-01-04
[2025-01-07 08:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:01:04] Production.INFO: Date 2025-01-05
[2025-01-07 08:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:01:04] Production.INFO: Date 2025-01-06
[2025-01-07 08:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:01:04] Production.INFO: Date 2025-01-07
[2025-01-07 08:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:01:05] Production.INFO: Total Charge 0
[2025-01-07 08:01:05] Production.INFO: CreateAllLog End
[2025-01-07 08:01:05] Production.INFO: Account Balance End.
[2025-01-07 08:01:05] Production.ERROR: CronJobId end 12
[2025-01-07 08:01:05] Production.INFO: ==19733== Releasing lock...
[2025-01-07 08:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:01:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:01:05
[end_date_ymd] => 2025-01-07 08:01:05
[RateCDR] => 1
)
[2025-01-07 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-07 05:01:05' and `end` < '2025-01-07 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-07 08:01:11] Production.ERROR: CronJobId end10
[2025-01-07 08:01:11] Production.INFO: ==19731== Releasing lock...
[2025-01-07 08:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:01:14] Production.INFO: call_cost start
[2025-01-07 08:01:14] Production.INFO: call_cost end
[2025-01-07 08:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:01:14] Production.INFO: ==19727== Releasing lock...
[2025-01-07 08:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:01:19] Production.INFO: count ==131
[2025-01-07 08:01:19] Production.ERROR: pbx CDR StartTime 2025-01-07 05:01:05 - End Time 2025-01-07 08:01:05
[2025-01-07 08:01:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193539', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193539', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193539', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193539', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:01:19] Production.INFO: ProcessCDR(1,14193539,1,1,2)
[2025-01-07 08:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193539,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193539,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193539,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193539,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193539', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193539', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:01:22] Production.INFO: ==19736== Releasing lock...
[2025-01-07 08:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:01:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-07 13:02:02] Production.INFO: ==19796== Lock acquired, processing the job...
[2025-01-07 13:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:02:02] Production.INFO: neon service started
[2025-01-07 13:02:02] Production.INFO: neon service started
[2025-01-07 13:02:02] Production.INFO: ==19796== Releasing lock...
[2025-01-07 13:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:02:02] Production.INFO: ==19799== Lock acquired, processing the job...
[2025-01-07 08:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 13:02:02] Production.INFO: ==19801== Lock acquired, processing the job...
[2025-01-07 13:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:02:02] Production.INFO: ==19801== Releasing lock...
[2025-01-07 13:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:02:03] Production.INFO: ==19799== Releasing lock...
[2025-01-07 08:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:02:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:02:03] Production.INFO: ==19803== Lock acquired, processing the job...
[2025-01-07 08:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:02:04] Production.INFO: ==19809== Lock acquired, processing the job...
[2025-01-07 08:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:02:04] Production.INFO: ==19811== Lock acquired, processing the job...
[2025-01-07 08:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:02:04] Production.INFO: Account Balance Start.
[2025-01-07 08:02:04] Production.INFO: CreateAllLog Start
[2025-01-07 08:02:04] Production.INFO: 117
[2025-01-07 08:02:04] Production.INFO: Date 2024-12-08
[2025-01-07 08:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:02:04] Production.INFO: Date 2024-12-09
[2025-01-07 08:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:02:04] Production.INFO: Date 2024-12-10
[2025-01-07 08:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:02:04] Production.INFO: ==19805== Lock acquired, processing the job...
[2025-01-07 08:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:02:04] Production.INFO: ==19807== Lock acquired, processing the job...
[2025-01-07 08:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:02:04] Production.INFO: Date 2024-12-11
[2025-01-07 08:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:02:04] Production.INFO: Date 2024-12-12
[2025-01-07 08:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:02:04] Production.INFO: Date 2024-12-13
[2025-01-07 08:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:02:04] Production.INFO: ==19813== Lock acquired, processing the job...
[2025-01-07 08:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:02:04] Production.INFO: Date 2024-12-14
[2025-01-07 08:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:02:04] Production.ERROR: done
[2025-01-07 08:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:02:04] Production.INFO: Date 2024-12-15
[2025-01-07 08:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:02:04] Production.INFO: Date 2024-12-16
[2025-01-07 08:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:02:04] Production.ERROR: done
[2025-01-07 08:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:02:04] Production.INFO: Date 2024-12-17
[2025-01-07 08:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:02:04] Production.INFO: ==19805== Releasing lock...
[2025-01-07 08:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:02:04] Production.INFO: Date 2024-12-18
[2025-01-07 08:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:02:04] Production.INFO: count ==21
[2025-01-07 08:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:02:04] Production.INFO: count ==21
[2025-01-07 08:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193543') start
[2025-01-07 08:02:04] Production.INFO: Date 2024-12-19
[2025-01-07 08:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193543') end
[2025-01-07 08:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:02:04] Production.INFO: 1
[2025-01-07 08:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:02:04] Production.INFO: Date 2024-12-20
[2025-01-07 08:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:02:04] Production.INFO: Date 2024-12-21
[2025-01-07 08:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:02:04] Production.INFO: ==19813== Releasing lock...
[2025-01-07 08:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:02:05] Production.INFO: Date 2024-12-22
[2025-01-07 08:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:02:05] Production.INFO: Date 2024-12-23
[2025-01-07 08:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:02:05] Production.INFO: Date 2024-12-24
[2025-01-07 08:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:02:05] Production.INFO: Date 2024-12-25
[2025-01-07 08:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:02:05] Production.INFO: Date 2024-12-26
[2025-01-07 08:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:02:05] Production.INFO: Date 2024-12-27
[2025-01-07 08:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:02:05] Production.INFO: Date 2024-12-28
[2025-01-07 08:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:02:05] Production.INFO: Date 2024-12-29
[2025-01-07 08:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:02:05] Production.INFO: Date 2024-12-30
[2025-01-07 08:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:02:05] Production.INFO: Date 2024-12-31
[2025-01-07 08:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:02:05] Production.INFO: Date 2025-01-01
[2025-01-07 08:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:02:05] Production.INFO: Date 2025-01-02
[2025-01-07 08:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:02:05] Production.INFO: Date 2025-01-03
[2025-01-07 08:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:02:05] Production.INFO: Date 2025-01-04
[2025-01-07 08:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:02:05
[end_date_ymd] => 2025-01-07 08:02:05
[RateCDR] => 1
)
[2025-01-07 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-07 05:02:05' and `end` < '2025-01-07 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-07 08:02:05] Production.INFO: Date 2025-01-05
[2025-01-07 08:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:02:05] Production.INFO: Date 2025-01-06
[2025-01-07 08:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:02:05] Production.INFO: Date 2025-01-07
[2025-01-07 08:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:02:05] Production.INFO: Total Charge 0
[2025-01-07 08:02:05] Production.INFO: CreateAllLog End
[2025-01-07 08:02:05] Production.INFO: Account Balance End.
[2025-01-07 08:02:05] Production.ERROR: CronJobId end 12
[2025-01-07 08:02:05] Production.INFO: ==19809== Releasing lock...
[2025-01-07 08:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:02:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:02:12] Production.ERROR: CronJobId end10
[2025-01-07 08:02:12] Production.INFO: ==19807== Releasing lock...
[2025-01-07 08:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:02:13] Production.INFO: call_cost start
[2025-01-07 08:02:13] Production.INFO: call_cost end
[2025-01-07 08:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:02:14] Production.INFO: ==19803== Releasing lock...
[2025-01-07 08:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:02:18] Production.INFO: count ==135
[2025-01-07 08:02:18] Production.ERROR: pbx CDR StartTime 2025-01-07 05:02:05 - End Time 2025-01-07 08:02:05
[2025-01-07 08:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193544', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193544', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193544', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193544', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:02:18] Production.INFO: ProcessCDR(1,14193544,1,1,2)
[2025-01-07 08:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193544,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193544,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193544,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193544,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193544', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193544', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:02:21] Production.INFO: ==19811== Releasing lock...
[2025-01-07 08:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:02:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-07 13:03:01] Production.INFO: ==19867== Lock acquired, processing the job...
[2025-01-07 13:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:03:01] Production.INFO: neon service started
[2025-01-07 13:03:01] Production.INFO: neon service started
[2025-01-07 13:03:01] Production.INFO: ==19867== Releasing lock...
[2025-01-07 13:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:03:01] Production.INFO: ==19869== Lock acquired, processing the job...
[2025-01-07 08:03:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:03:02] Production.INFO: ==19869== Releasing lock...
[2025-01-07 08:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 13:03:02] Production.INFO: ==19871== Lock acquired, processing the job...
[2025-01-07 13:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:03:02] Production.INFO: ==19871== Releasing lock...
[2025-01-07 13:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:03:03] Production.INFO: ==19877== Lock acquired, processing the job...
[2025-01-07 08:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:03:03] Production.INFO: ==19881== Lock acquired, processing the job...
[2025-01-07 08:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:03:03] Production.INFO: ==19875== Lock acquired, processing the job...
[2025-01-07 08:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:03:03] Production.INFO: ==19873== Lock acquired, processing the job...
[2025-01-07 08:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:03:03] Production.INFO: ==19879== Lock acquired, processing the job...
[2025-01-07 08:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:03:03] Production.INFO: ==19883== Lock acquired, processing the job...
[2025-01-07 08:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:03:03] Production.INFO: Account Balance Start.
[2025-01-07 08:03:03] Production.INFO: CreateAllLog Start
[2025-01-07 08:03:03] Production.ERROR: done
[2025-01-07 08:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:03:03] Production.INFO: 117
[2025-01-07 08:03:03] Production.INFO: Date 2024-12-08
[2025-01-07 08:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:03:03] Production.INFO: ==19875== Releasing lock...
[2025-01-07 08:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:03:03] Production.INFO: Date 2024-12-09
[2025-01-07 08:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:03:03] Production.ERROR: done
[2025-01-07 08:03:03] Production.INFO: Date 2024-12-10
[2025-01-07 08:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:03:03] Production.INFO: count ==21
[2025-01-07 08:03:03] Production.INFO: Date 2024-12-11
[2025-01-07 08:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:03:03] Production.INFO: count ==21
[2025-01-07 08:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193548') start
[2025-01-07 08:03:03] Production.INFO: Date 2024-12-12
[2025-01-07 08:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:03:03] Production.INFO: Date 2024-12-13
[2025-01-07 08:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:03:03] Production.INFO: Date 2024-12-14
[2025-01-07 08:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193548') end
[2025-01-07 08:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:03:03] Production.INFO: 1
[2025-01-07 08:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:03:03] Production.INFO: Date 2024-12-15
[2025-01-07 08:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:03:03] Production.INFO: Date 2024-12-16
[2025-01-07 08:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:03:03] Production.INFO: ==19883== Releasing lock...
[2025-01-07 08:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:03:04] Production.INFO: Date 2024-12-17
[2025-01-07 08:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:03:04] Production.INFO: Date 2024-12-18
[2025-01-07 08:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:03:04] Production.INFO: Date 2024-12-19
[2025-01-07 08:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:03:04] Production.INFO: Date 2024-12-20
[2025-01-07 08:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:03:04] Production.INFO: Date 2024-12-21
[2025-01-07 08:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:03:04] Production.INFO: Date 2024-12-22
[2025-01-07 08:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:03:04] Production.INFO: Date 2024-12-23
[2025-01-07 08:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:03:04] Production.INFO: Date 2024-12-24
[2025-01-07 08:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:03:04] Production.INFO: Date 2024-12-25
[2025-01-07 08:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:03:04] Production.INFO: Date 2024-12-26
[2025-01-07 08:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:03:04] Production.INFO: Date 2024-12-27
[2025-01-07 08:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:03:04] Production.INFO: Date 2024-12-28
[2025-01-07 08:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:03:04] Production.INFO: Date 2024-12-29
[2025-01-07 08:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:03:04] Production.INFO: Date 2024-12-30
[2025-01-07 08:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:03:04] Production.INFO: Date 2024-12-31
[2025-01-07 08:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:03:04] Production.INFO: Date 2025-01-01
[2025-01-07 08:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:03:04] Production.INFO: Date 2025-01-02
[2025-01-07 08:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:03:04] Production.INFO: Date 2025-01-03
[2025-01-07 08:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:03:04] Production.INFO: Date 2025-01-04
[2025-01-07 08:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:03:04] Production.INFO: Date 2025-01-05
[2025-01-07 08:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:03:04] Production.INFO: Date 2025-01-06
[2025-01-07 08:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:03:04] Production.INFO: Date 2025-01-07
[2025-01-07 08:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:03:04] Production.INFO: Total Charge 0
[2025-01-07 08:03:04] Production.INFO: CreateAllLog End
[2025-01-07 08:03:04] Production.INFO: Account Balance End.
[2025-01-07 08:03:04] Production.ERROR: CronJobId end 12
[2025-01-07 08:03:04] Production.INFO: ==19879== Releasing lock...
[2025-01-07 08:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:03:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:03:04
[end_date_ymd] => 2025-01-07 08:03:04
[RateCDR] => 1
)
[2025-01-07 08:03:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 05:03:04' and `end` < '2025-01-07 08:03:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 08:03:10] Production.ERROR: CronJobId end10
[2025-01-07 08:03:10] Production.INFO: ==19877== Releasing lock...
[2025-01-07 08:03:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:03:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:03:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:03:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:03:13] Production.INFO: call_cost start
[2025-01-07 08:03:13] Production.INFO: call_cost end
[2025-01-07 08:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:03:14] Production.INFO: ==19873== Releasing lock...
[2025-01-07 08:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:03:19] Production.INFO: count ==137
[2025-01-07 08:03:19] Production.ERROR: pbx CDR StartTime 2025-01-07 05:03:04 - End Time 2025-01-07 08:03:04
[2025-01-07 08:03:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193549', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193549', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193549', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193549', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:03:19] Production.INFO: ProcessCDR(1,14193549,1,1,2)
[2025-01-07 08:03:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193549,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:03:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193549,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:03:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193549,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:03:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193549,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193549', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193549', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:03:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:03:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:03:23] Production.INFO: ==19881== Releasing lock...
[2025-01-07 08:03:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:03:23] Production.INFO: 28.75 MB #Memory Used#
[2025-01-07 13:04:01] Production.INFO: ==19938== Lock acquired, processing the job...
[2025-01-07 13:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:04:02] Production.INFO: neon service started
[2025-01-07 13:04:02] Production.INFO: neon service started
[2025-01-07 13:04:02] Production.INFO: ==19938== Releasing lock...
[2025-01-07 13:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:04:02] Production.INFO: ==19940== Lock acquired, processing the job...
[2025-01-07 08:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:04:02] Production.INFO: ==19940== Releasing lock...
[2025-01-07 08:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 13:04:02] Production.INFO: ==19942== Lock acquired, processing the job...
[2025-01-07 13:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:04:02] Production.INFO: ==19942== Releasing lock...
[2025-01-07 13:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:04:03] Production.INFO: ==19946== Lock acquired, processing the job...
[2025-01-07 08:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:04:03] Production.INFO: ==19948== Lock acquired, processing the job...
[2025-01-07 08:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:04:03] Production.INFO: ==19952== Lock acquired, processing the job...
[2025-01-07 08:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:04:03] Production.INFO: ==19946== Releasing lock...
[2025-01-07 08:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:04:03] Production.INFO: ==19944== Lock acquired, processing the job...
[2025-01-07 08:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:04:03] Production.INFO: ==19950== Lock acquired, processing the job...
[2025-01-07 08:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:04:03] Production.INFO: ==19954== Lock acquired, processing the job...
[2025-01-07 08:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:04:03] Production.INFO: Account Balance Start.
[2025-01-07 08:04:03] Production.INFO: CreateAllLog Start
[2025-01-07 08:04:03] Production.INFO: 117
[2025-01-07 08:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:04:03] Production.INFO: Date 2024-12-08
[2025-01-07 08:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:04:03] Production.INFO: Date 2024-12-09
[2025-01-07 08:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:04:03] Production.INFO: Date 2024-12-10
[2025-01-07 08:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:04:04] Production.ERROR: done
[2025-01-07 08:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:04:04] Production.INFO: Date 2024-12-11
[2025-01-07 08:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:04:04] Production.INFO: Date 2024-12-12
[2025-01-07 08:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:04:04] Production.INFO: count ==21
[2025-01-07 08:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:04:04] Production.INFO: count ==21
[2025-01-07 08:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193553') start
[2025-01-07 08:04:04] Production.INFO: Date 2024-12-13
[2025-01-07 08:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:04:04] Production.INFO: Date 2024-12-14
[2025-01-07 08:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:04:04] Production.ERROR: done
[2025-01-07 08:04:04] Production.INFO: Date 2024-12-15
[2025-01-07 08:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:04:04] Production.INFO: Date 2024-12-16
[2025-01-07 08:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193553') end
[2025-01-07 08:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:04:04] Production.INFO: 1
[2025-01-07 08:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:04:04] Production.INFO: Date 2024-12-17
[2025-01-07 08:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:04:04] Production.INFO: ==19954== Releasing lock...
[2025-01-07 08:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:04:04] Production.INFO: Date 2024-12-18
[2025-01-07 08:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:04:04] Production.INFO: Date 2024-12-19
[2025-01-07 08:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:04:04] Production.INFO: Date 2024-12-20
[2025-01-07 08:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:04:04] Production.INFO: Date 2024-12-21
[2025-01-07 08:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:04:04] Production.INFO: Date 2024-12-22
[2025-01-07 08:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:04:04] Production.INFO: Date 2024-12-23
[2025-01-07 08:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:04:04] Production.INFO: Date 2024-12-24
[2025-01-07 08:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:04:04] Production.INFO: Date 2024-12-25
[2025-01-07 08:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:04:04] Production.INFO: Date 2024-12-26
[2025-01-07 08:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:04:04] Production.INFO: Date 2024-12-27
[2025-01-07 08:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:04:04] Production.INFO: Date 2024-12-28
[2025-01-07 08:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:04:04] Production.INFO: Date 2024-12-29
[2025-01-07 08:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:04:04] Production.INFO: Date 2024-12-30
[2025-01-07 08:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:04:04] Production.INFO: Date 2024-12-31
[2025-01-07 08:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:04:04] Production.INFO: Date 2025-01-01
[2025-01-07 08:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:04:05] Production.INFO: Date 2025-01-02
[2025-01-07 08:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:04:05] Production.INFO: Date 2025-01-03
[2025-01-07 08:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:04:05] Production.INFO: Date 2025-01-04
[2025-01-07 08:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:04:05] Production.INFO: Date 2025-01-05
[2025-01-07 08:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:04:05] Production.INFO: Date 2025-01-06
[2025-01-07 08:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:04:05] Production.INFO: Date 2025-01-07
[2025-01-07 08:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:04:05] Production.INFO: Total Charge 0
[2025-01-07 08:04:05] Production.INFO: CreateAllLog End
[2025-01-07 08:04:05] Production.INFO: Account Balance End.
[2025-01-07 08:04:05] Production.ERROR: CronJobId end 12
[2025-01-07 08:04:05] Production.INFO: ==19950== Releasing lock...
[2025-01-07 08:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:04:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:04:05
[end_date_ymd] => 2025-01-07 08:04:05
[RateCDR] => 1
)
[2025-01-07 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-07 05:04:05' and `end` < '2025-01-07 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-07 08:04:11] Production.ERROR: CronJobId end10
[2025-01-07 08:04:11] Production.INFO: ==19948== Releasing lock...
[2025-01-07 08:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:04:13] Production.INFO: call_cost start
[2025-01-07 08:04:13] Production.INFO: call_cost end
[2025-01-07 08:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:04:14] Production.INFO: ==19944== Releasing lock...
[2025-01-07 08:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:04:19] Production.INFO: count ==150
[2025-01-07 08:04:19] Production.ERROR: pbx CDR StartTime 2025-01-07 05:04:05 - End Time 2025-01-07 08:04:05
[2025-01-07 08:04:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193554', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193554', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193554', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193554', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:04:19] Production.INFO: ProcessCDR(1,14193554,1,1,2)
[2025-01-07 08:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193554,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:04:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193554,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:04:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193554,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:04:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193554,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:04:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193554', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:04:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193554', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:04:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:04:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:04:24] Production.INFO: ==19952== Releasing lock...
[2025-01-07 08:04:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:04:24] Production.INFO: 29 MB #Memory Used#
[2025-01-07 13:05:01] Production.INFO: ==20007== Lock acquired, processing the job...
[2025-01-07 13:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:05:01] Production.INFO: neon service started
[2025-01-07 13:05:01] Production.INFO: neon service started
[2025-01-07 13:05:01] Production.INFO: ==20007== Releasing lock...
[2025-01-07 13:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:05:01] Production.INFO: ==20009== Lock acquired, processing the job...
[2025-01-07 08:05:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:05:02] Production.INFO: ==20009== Releasing lock...
[2025-01-07 08:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 13:05:02] Production.INFO: ==20011== Lock acquired, processing the job...
[2025-01-07 13:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:05:02] Production.INFO: ==20011== Releasing lock...
[2025-01-07 13:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:05:02] Production.INFO: ==20016== Lock acquired, processing the job...
[2025-01-07 08:05:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:05:02] Production.INFO: ==20018== Lock acquired, processing the job...
[2025-01-07 08:05:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:05:02] Production.INFO: ==20020== Lock acquired, processing the job...
[2025-01-07 08:05:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:05:03] Production.INFO: ==20014== Lock acquired, processing the job...
[2025-01-07 08:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:05:03] Production.INFO: Account Balance Start.
[2025-01-07 08:05:03] Production.INFO: CreateAllLog Start
[2025-01-07 08:05:03] Production.INFO: 117
[2025-01-07 08:05:03] Production.INFO: Date 2024-12-08
[2025-01-07 08:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:05:03] Production.INFO: ==20016== Releasing lock...
[2025-01-07 08:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:05:03] Production.INFO: Date 2024-12-09
[2025-01-07 08:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:05:03] Production.INFO: Date 2024-12-10
[2025-01-07 08:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:05:03] Production.INFO: ==20024== Lock acquired, processing the job...
[2025-01-07 08:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:05:03] Production.INFO: ==20022== Lock acquired, processing the job...
[2025-01-07 08:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:05:03] Production.INFO: Date 2024-12-11
[2025-01-07 08:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:05:03] Production.INFO: Date 2024-12-12
[2025-01-07 08:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:05:03] Production.INFO: Date 2024-12-13
[2025-01-07 08:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:05:03] Production.INFO: Date 2024-12-14
[2025-01-07 08:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:05:03] Production.INFO: Date 2024-12-15
[2025-01-07 08:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:05:03] Production.INFO: count ==21
[2025-01-07 08:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:05:03] Production.INFO: count ==21
[2025-01-07 08:05:03] Production.INFO: Date 2024-12-16
[2025-01-07 08:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193558') start
[2025-01-07 08:05:03] Production.INFO: Date 2024-12-17
[2025-01-07 08:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:05:03] Production.INFO: Date 2024-12-18
[2025-01-07 08:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:05:03] Production.ERROR: done
[2025-01-07 08:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:05:03] Production.INFO: Date 2024-12-19
[2025-01-07 08:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193558') end
[2025-01-07 08:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:05:03] Production.INFO: 1
[2025-01-07 08:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:05:03] Production.INFO: Date 2024-12-20
[2025-01-07 08:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:05:03] Production.INFO: ==20024== Releasing lock...
[2025-01-07 08:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:05:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:05:03] Production.INFO: Date 2024-12-21
[2025-01-07 08:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:05:03] Production.ERROR: done
[2025-01-07 08:05:03] Production.INFO: Date 2024-12-22
[2025-01-07 08:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:05:03] Production.INFO: Date 2024-12-23
[2025-01-07 08:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:05:04] Production.INFO: Date 2024-12-24
[2025-01-07 08:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:05:04] Production.INFO: Date 2024-12-25
[2025-01-07 08:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:05:04] Production.INFO: Date 2024-12-26
[2025-01-07 08:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:05:04] Production.INFO: Date 2024-12-27
[2025-01-07 08:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:05:04] Production.INFO: Date 2024-12-28
[2025-01-07 08:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:05:04] Production.INFO: Date 2024-12-29
[2025-01-07 08:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:05:04] Production.INFO: Date 2024-12-30
[2025-01-07 08:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:05:04] Production.INFO: Date 2024-12-31
[2025-01-07 08:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:05:04] Production.INFO: Date 2025-01-01
[2025-01-07 08:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:05:04] Production.INFO: Date 2025-01-02
[2025-01-07 08:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:05:04] Production.INFO: Date 2025-01-03
[2025-01-07 08:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:05:04] Production.INFO: Date 2025-01-04
[2025-01-07 08:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:05:04] Production.INFO: Date 2025-01-05
[2025-01-07 08:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:05:04] Production.INFO: Date 2025-01-06
[2025-01-07 08:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:05:04] Production.INFO: Date 2025-01-07
[2025-01-07 08:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:05:04] Production.INFO: Total Charge 0
[2025-01-07 08:05:04] Production.INFO: CreateAllLog End
[2025-01-07 08:05:04] Production.INFO: Account Balance End.
[2025-01-07 08:05:04] Production.ERROR: CronJobId end 12
[2025-01-07 08:05:04] Production.INFO: ==20020== Releasing lock...
[2025-01-07 08:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:05:05
[end_date_ymd] => 2025-01-07 08:05:05
[RateCDR] => 1
)
[2025-01-07 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-07 05:05:05' and `end` < '2025-01-07 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-07 08:05:10] Production.ERROR: CronJobId end10
[2025-01-07 08:05:10] Production.INFO: ==20018== Releasing lock...
[2025-01-07 08:05:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:05:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:05:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:05:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:05:13] Production.INFO: call_cost start
[2025-01-07 08:05:13] Production.INFO: call_cost end
[2025-01-07 08:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:05:14] Production.INFO: ==20014== Releasing lock...
[2025-01-07 08:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:05:17] Production.INFO: count ==150
[2025-01-07 08:05:17] Production.ERROR: pbx CDR StartTime 2025-01-07 05:05:05 - End Time 2025-01-07 08:05:05
[2025-01-07 08:05:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193559', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193559', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193559', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193559', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:05:18] Production.INFO: ProcessCDR(1,14193559,1,1,2)
[2025-01-07 08:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193559,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:05:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193559,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:05:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193559,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193559,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193559', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193559', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:05:21] Production.INFO: ==20022== Releasing lock...
[2025-01-07 08:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:05:21] Production.INFO: 29 MB #Memory Used#
[2025-01-07 13:06:01] Production.INFO: ==20079== Lock acquired, processing the job...
[2025-01-07 13:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:06:01] Production.INFO: neon service started
[2025-01-07 13:06:01] Production.INFO: neon service started
[2025-01-07 13:06:01] Production.INFO: ==20079== Releasing lock...
[2025-01-07 13:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 13:06:02] Production.INFO: ==20083== Lock acquired, processing the job...
[2025-01-07 13:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:06:02] Production.INFO: ==20083== Releasing lock...
[2025-01-07 13:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:06:02] Production.INFO: ==20081== Lock acquired, processing the job...
[2025-01-07 08:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:06:02] Production.INFO: ==20081== Releasing lock...
[2025-01-07 08:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:06:03] Production.INFO: ==20094== Lock acquired, processing the job...
[2025-01-07 08:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:06:03] Production.INFO: ==20096== Lock acquired, processing the job...
[2025-01-07 08:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:06:03] Production.INFO: ==20086== Lock acquired, processing the job...
[2025-01-07 08:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:06:03] Production.INFO: ==20092== Lock acquired, processing the job...
[2025-01-07 08:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:06:03] Production.INFO: ==20088== Lock acquired, processing the job...
[2025-01-07 08:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:06:03] Production.INFO: ==20090== Lock acquired, processing the job...
[2025-01-07 08:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 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-07 08:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:06:03] Production.INFO: count ==21
[2025-01-07 08:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:06:03] Production.INFO: Account Balance Start.
[2025-01-07 08:06:03] Production.INFO: CreateAllLog Start
[2025-01-07 08:06:03] Production.INFO: 117
[2025-01-07 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-07 08:06:03] Production.INFO: Date 2024-12-08
[2025-01-07 08:06:03] Production.INFO: count ==21
[2025-01-07 08:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193560') start
[2025-01-07 08:06:04] Production.ERROR: done
[2025-01-07 08:06:04] Production.INFO: Date 2024-12-09
[2025-01-07 08:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193560') end
[2025-01-07 08:06:04] Production.INFO: Date 2024-12-10
[2025-01-07 08:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:06:04] Production.INFO: 1
[2025-01-07 08:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:06:04] Production.INFO: ==20088== Releasing lock...
[2025-01-07 08:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:06:04] Production.INFO: ==20096== Releasing lock...
[2025-01-07 08:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:06:04] Production.INFO: Date 2024-12-11
[2025-01-07 08:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:06:04] Production.ERROR: done
[2025-01-07 08:06:04] Production.INFO: Date 2024-12-12
[2025-01-07 08:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:06:04] Production.INFO: Date 2024-12-13
[2025-01-07 08:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:06:04] Production.INFO: Date 2024-12-14
[2025-01-07 08:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:06:04] Production.INFO: Date 2024-12-15
[2025-01-07 08:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:06:04] Production.INFO: Date 2024-12-16
[2025-01-07 08:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:06:04] Production.INFO: Date 2024-12-17
[2025-01-07 08:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:06:04] Production.INFO: Date 2024-12-18
[2025-01-07 08:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:06:04] Production.INFO: Date 2024-12-19
[2025-01-07 08:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:06:04] Production.INFO: Date 2024-12-20
[2025-01-07 08:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:06:04] Production.INFO: Date 2024-12-21
[2025-01-07 08:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:06:04] Production.INFO: Date 2024-12-22
[2025-01-07 08:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:06:04] Production.INFO: Date 2024-12-23
[2025-01-07 08:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:06:04] Production.INFO: Date 2024-12-24
[2025-01-07 08:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:06:04] Production.INFO: Date 2024-12-25
[2025-01-07 08:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:06:04] Production.INFO: Date 2024-12-26
[2025-01-07 08:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:06:04] Production.INFO: Date 2024-12-27
[2025-01-07 08:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:06:04] Production.INFO: Date 2024-12-28
[2025-01-07 08:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:06:04] Production.INFO: Date 2024-12-29
[2025-01-07 08:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:06:04] Production.INFO: Date 2024-12-30
[2025-01-07 08:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:06:04] Production.INFO: Date 2024-12-31
[2025-01-07 08:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:06:04] Production.INFO: Date 2025-01-01
[2025-01-07 08:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:06:04] Production.INFO: Date 2025-01-02
[2025-01-07 08:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:06:05] Production.INFO: Date 2025-01-03
[2025-01-07 08:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:06:05] Production.INFO: Date 2025-01-04
[2025-01-07 08:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:06:05] Production.INFO: Date 2025-01-05
[2025-01-07 08:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:06:05] Production.INFO: Date 2025-01-06
[2025-01-07 08:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:06:05
[end_date_ymd] => 2025-01-07 08:06:05
[RateCDR] => 1
)
[2025-01-07 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-07 05:06:05' and `end` < '2025-01-07 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-07 08:06:05] Production.INFO: Date 2025-01-07
[2025-01-07 08:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:06:05] Production.INFO: Total Charge 0
[2025-01-07 08:06:05] Production.INFO: CreateAllLog End
[2025-01-07 08:06:05] Production.INFO: Account Balance End.
[2025-01-07 08:06:05] Production.ERROR: CronJobId end 12
[2025-01-07 08:06:05] Production.INFO: ==20092== Releasing lock...
[2025-01-07 08:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:06:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:06:11] Production.ERROR: CronJobId end10
[2025-01-07 08:06:11] Production.INFO: ==20090== Releasing lock...
[2025-01-07 08:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:06:13] Production.INFO: call_cost start
[2025-01-07 08:06:13] Production.INFO: call_cost end
[2025-01-07 08:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:06:14] Production.INFO: ==20086== Releasing lock...
[2025-01-07 08:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:06:17] Production.INFO: count ==159
[2025-01-07 08:06:17] Production.ERROR: pbx CDR StartTime 2025-01-07 05:06:05 - End Time 2025-01-07 08:06:05
[2025-01-07 08:06:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193564', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193564', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193564', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193564', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:06:18] Production.INFO: ProcessCDR(1,14193564,1,1,2)
[2025-01-07 08:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193564,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193564,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193564,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193564,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193564', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193564', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:06:22] Production.INFO: ==20094== Releasing lock...
[2025-01-07 08:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:06:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 13:07:02] Production.INFO: ==20150== Lock acquired, processing the job...
[2025-01-07 13:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:07:02] Production.INFO: neon service started
[2025-01-07 13:07:02] Production.INFO: neon service started
[2025-01-07 13:07:02] Production.INFO: ==20150== Releasing lock...
[2025-01-07 13:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:07:02] Production.INFO: ==20152== Lock acquired, processing the job...
[2025-01-07 08:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:07:03] Production.INFO: ==20152== Releasing lock...
[2025-01-07 08:07:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:07:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 13:07:03] Production.INFO: ==20154== Lock acquired, processing the job...
[2025-01-07 13:07:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:07:03] Production.INFO: ==20154== Releasing lock...
[2025-01-07 13:07:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:07:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:07:03] Production.INFO: ==20163== Lock acquired, processing the job...
[2025-01-07 08:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:07:03] Production.INFO: ==20167== Lock acquired, processing the job...
[2025-01-07 08:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:07:03] Production.INFO: ==20157== Lock acquired, processing the job...
[2025-01-07 08:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:07:04] Production.INFO: Account Balance Start.
[2025-01-07 08:07:04] Production.INFO: CreateAllLog Start
[2025-01-07 08:07:04] Production.INFO: 117
[2025-01-07 08:07:04] Production.INFO: Date 2024-12-08
[2025-01-07 08:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:07:04] Production.INFO: Date 2024-12-09
[2025-01-07 08:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 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-07 08:07:04] Production.INFO: ==20159== Lock acquired, processing the job...
[2025-01-07 08:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:07:04] Production.INFO: count ==21
[2025-01-07 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-07 08:07:04] Production.INFO: Date 2024-12-10
[2025-01-07 08:07:04] Production.INFO: count ==21
[2025-01-07 08:07:04] Production.INFO: ==20161== Lock acquired, processing the job...
[2025-01-07 08:07:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193566') start
[2025-01-07 08:07:04] Production.INFO: Date 2024-12-11
[2025-01-07 08:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193566') end
[2025-01-07 08:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:07:04] Production.INFO: 1
[2025-01-07 08:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:07:04] Production.INFO: Date 2024-12-12
[2025-01-07 08:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:07:04] Production.INFO: ==20165== Lock acquired, processing the job...
[2025-01-07 08:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:07:04] Production.INFO: ==20167== Releasing lock...
[2025-01-07 08:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:07:04] Production.INFO: Date 2024-12-13
[2025-01-07 08:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:07:04] Production.INFO: ==20159== Releasing lock...
[2025-01-07 08:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:07:04] Production.INFO: Date 2024-12-14
[2025-01-07 08:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:07:04] Production.ERROR: done
[2025-01-07 08:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:07:04] Production.INFO: Date 2024-12-15
[2025-01-07 08:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:07:04] Production.INFO: Date 2024-12-16
[2025-01-07 08:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:07:04] Production.ERROR: done
[2025-01-07 08:07:04] Production.INFO: Date 2024-12-17
[2025-01-07 08:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:07:05] Production.INFO: Date 2024-12-18
[2025-01-07 08:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:07:05] Production.INFO: Date 2024-12-19
[2025-01-07 08:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:07:05] Production.INFO: Date 2024-12-20
[2025-01-07 08:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:07:05] Production.INFO: Date 2024-12-21
[2025-01-07 08:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:07:05] Production.INFO: Date 2024-12-22
[2025-01-07 08:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:07:05] Production.INFO: Date 2024-12-23
[2025-01-07 08:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:07:05] Production.INFO: Date 2024-12-24
[2025-01-07 08:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:07:05] Production.INFO: Date 2024-12-25
[2025-01-07 08:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:07:05] Production.INFO: Date 2024-12-26
[2025-01-07 08:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:07:05] Production.INFO: Date 2024-12-27
[2025-01-07 08:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:07:05
[end_date_ymd] => 2025-01-07 08:07:05
[RateCDR] => 1
)
[2025-01-07 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-07 05:07:05' and `end` < '2025-01-07 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-07 08:07:05] Production.INFO: Date 2024-12-28
[2025-01-07 08:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:07:05] Production.INFO: Date 2024-12-29
[2025-01-07 08:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:07:05] Production.INFO: Date 2024-12-30
[2025-01-07 08:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:07:06] Production.INFO: Date 2024-12-31
[2025-01-07 08:07:06] Production.INFO: Reseller ==> 0
[2025-01-07 08:07:06] Production.INFO: Date 2025-01-01
[2025-01-07 08:07:06] Production.INFO: Reseller ==> 0
[2025-01-07 08:07:06] Production.INFO: Date 2025-01-02
[2025-01-07 08:07:06] Production.INFO: Reseller ==> 0
[2025-01-07 08:07:06] Production.INFO: Date 2025-01-03
[2025-01-07 08:07:06] Production.INFO: Reseller ==> 0
[2025-01-07 08:07:06] Production.INFO: Date 2025-01-04
[2025-01-07 08:07:06] Production.INFO: Reseller ==> 0
[2025-01-07 08:07:06] Production.INFO: Date 2025-01-05
[2025-01-07 08:07:06] Production.INFO: Reseller ==> 0
[2025-01-07 08:07:06] Production.INFO: Date 2025-01-06
[2025-01-07 08:07:06] Production.INFO: Reseller ==> 0
[2025-01-07 08:07:06] Production.INFO: Date 2025-01-07
[2025-01-07 08:07:06] Production.INFO: Reseller ==> 0
[2025-01-07 08:07:06] Production.INFO: Total Charge 0
[2025-01-07 08:07:06] Production.INFO: CreateAllLog End
[2025-01-07 08:07:06] Production.INFO: Account Balance End.
[2025-01-07 08:07:06] Production.ERROR: CronJobId end 12
[2025-01-07 08:07:06] Production.INFO: ==20163== Releasing lock...
[2025-01-07 08:07:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:07:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:07:11] Production.ERROR: CronJobId end10
[2025-01-07 08:07:11] Production.INFO: ==20161== Releasing lock...
[2025-01-07 08:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:07:14] Production.INFO: call_cost start
[2025-01-07 08:07:14] Production.INFO: call_cost end
[2025-01-07 08:07:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:07:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:07:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:07:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:07:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:07:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:07:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:07:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:07:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:07:15] Production.INFO: ==20157== Releasing lock...
[2025-01-07 08:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:07:19] Production.INFO: count ==164
[2025-01-07 08:07:19] Production.ERROR: pbx CDR StartTime 2025-01-07 05:07:05 - End Time 2025-01-07 08:07:05
[2025-01-07 08:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193569', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193569', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193569', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193569', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:07:19] Production.INFO: ProcessCDR(1,14193569,1,1,2)
[2025-01-07 08:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193569,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193569,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193569,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193569,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193569', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193569', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:07:22] Production.INFO: ==20165== Releasing lock...
[2025-01-07 08:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:07:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 13:08:01] Production.INFO: ==20220== Lock acquired, processing the job...
[2025-01-07 13:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:08:01] Production.INFO: neon service started
[2025-01-07 13:08:01] Production.INFO: neon service started
[2025-01-07 13:08:01] Production.INFO: ==20220== Releasing lock...
[2025-01-07 13:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:08:02] Production.INFO: ==20222== Lock acquired, processing the job...
[2025-01-07 08:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:08:02] Production.INFO: ==20222== Releasing lock...
[2025-01-07 08:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 13:08:02] Production.INFO: ==20224== Lock acquired, processing the job...
[2025-01-07 13:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:08:02] Production.INFO: ==20224== Releasing lock...
[2025-01-07 13:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:08:03] Production.INFO: ==20233== Lock acquired, processing the job...
[2025-01-07 08:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:08:03] Production.INFO: ==20226== Lock acquired, processing the job...
[2025-01-07 08:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:08:03] Production.INFO: ==20237== Lock acquired, processing the job...
[2025-01-07 08:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:08:03] Production.INFO: ==20228== Lock acquired, processing the job...
[2025-01-07 08:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:08:03] Production.INFO: Account Balance Start.
[2025-01-07 08:08:03] Production.INFO: CreateAllLog Start
[2025-01-07 08:08:03] Production.INFO: 117
[2025-01-07 08:08:03] Production.INFO: Date 2024-12-08
[2025-01-07 08:08:03] Production.INFO: ==20230== Lock acquired, processing the job...
[2025-01-07 08:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:08:03] Production.INFO: Date 2024-12-09
[2025-01-07 08:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 08:08:03] Production.INFO: ==20235== Lock acquired, processing the job...
[2025-01-07 08:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:08:03] Production.INFO: Date 2024-12-10
[2025-01-07 08:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:08:03] Production.INFO: count ==21
[2025-01-07 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-07 08:08:03] Production.INFO: count ==21
[2025-01-07 08:08:03] Production.INFO: Date 2024-12-11
[2025-01-07 08:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193572') start
[2025-01-07 08:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:08:03] Production.INFO: Date 2024-12-12
[2025-01-07 08:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:08:03] Production.INFO: Date 2024-12-13
[2025-01-07 08:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:08:03] Production.INFO: Date 2024-12-14
[2025-01-07 08:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:08:03] Production.INFO: Date 2024-12-15
[2025-01-07 08:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193572') end
[2025-01-07 08:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:08:03] Production.INFO: 1
[2025-01-07 08:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:08:03] Production.INFO: ==20228== Releasing lock...
[2025-01-07 08:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:08:03] Production.INFO: ==20237== Releasing lock...
[2025-01-07 08:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:08:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:08:03] Production.INFO: Date 2024-12-16
[2025-01-07 08:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:08:03] Production.INFO: Date 2024-12-17
[2025-01-07 08:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:08:03] Production.INFO: Date 2024-12-18
[2025-01-07 08:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:08:04] Production.INFO: Date 2024-12-19
[2025-01-07 08:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:08:04] Production.ERROR: done
[2025-01-07 08:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:08:04] Production.INFO: Date 2024-12-20
[2025-01-07 08:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:08:04] Production.INFO: Date 2024-12-21
[2025-01-07 08:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:08:04] Production.ERROR: done
[2025-01-07 08:08:04] Production.INFO: Date 2024-12-22
[2025-01-07 08:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:08:04] Production.INFO: Date 2024-12-23
[2025-01-07 08:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:08:04] Production.INFO: Date 2024-12-24
[2025-01-07 08:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:08:04] Production.INFO: Date 2024-12-25
[2025-01-07 08:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:08:04] Production.INFO: Date 2024-12-26
[2025-01-07 08:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:08:04] Production.INFO: Date 2024-12-27
[2025-01-07 08:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:08:04] Production.INFO: Date 2024-12-28
[2025-01-07 08:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:08:04] Production.INFO: Date 2024-12-29
[2025-01-07 08:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:08:04] Production.INFO: Date 2024-12-30
[2025-01-07 08:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:08:04] Production.INFO: Date 2024-12-31
[2025-01-07 08:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:08:04] Production.INFO: Date 2025-01-01
[2025-01-07 08:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:08:04] Production.INFO: Date 2025-01-02
[2025-01-07 08:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:08:04] Production.INFO: Date 2025-01-03
[2025-01-07 08:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:08:04] Production.INFO: Date 2025-01-04
[2025-01-07 08:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:08:04] Production.INFO: Date 2025-01-05
[2025-01-07 08:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:08:04] Production.INFO: Date 2025-01-06
[2025-01-07 08:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:08:04] Production.INFO: Date 2025-01-07
[2025-01-07 08:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:08:05] Production.INFO: Total Charge 0
[2025-01-07 08:08:05] Production.INFO: CreateAllLog End
[2025-01-07 08:08:05] Production.INFO: Account Balance End.
[2025-01-07 08:08:05] Production.ERROR: CronJobId end 12
[2025-01-07 08:08:05] Production.INFO: ==20233== Releasing lock...
[2025-01-07 08:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:08:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:08:05
[end_date_ymd] => 2025-01-07 08:08:05
[RateCDR] => 1
)
[2025-01-07 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-07 05:08:05' and `end` < '2025-01-07 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-07 08:08:12] Production.ERROR: CronJobId end10
[2025-01-07 08:08:12] Production.INFO: ==20230== Releasing lock...
[2025-01-07 08:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:08:14] Production.INFO: call_cost start
[2025-01-07 08:08:14] Production.INFO: call_cost end
[2025-01-07 08:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:08:14] Production.INFO: ==20226== Releasing lock...
[2025-01-07 08:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:08:18] Production.INFO: count ==165
[2025-01-07 08:08:18] Production.ERROR: pbx CDR StartTime 2025-01-07 05:08:05 - End Time 2025-01-07 08:08:05
[2025-01-07 08:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193574', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193574', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193574', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193574', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:08:18] Production.INFO: ProcessCDR(1,14193574,1,1,2)
[2025-01-07 08:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193574,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193574,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193574,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193574,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193574', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193574', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:08:21] Production.INFO: ==20235== Releasing lock...
[2025-01-07 08:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:08:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-07 13:09:02] Production.INFO: ==20292== Lock acquired, processing the job...
[2025-01-07 13:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:09:02] Production.INFO: neon service started
[2025-01-07 13:09:02] Production.INFO: neon service started
[2025-01-07 13:09:02] Production.INFO: ==20292== Releasing lock...
[2025-01-07 13:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:09:02] Production.INFO: ==20294== Lock acquired, processing the job...
[2025-01-07 08:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:09:02] Production.INFO: ==20294== Releasing lock...
[2025-01-07 08:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 13:09:02] Production.INFO: ==20296== Lock acquired, processing the job...
[2025-01-07 13:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:09:03] Production.INFO: ==20296== Releasing lock...
[2025-01-07 13:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:09:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:09:03] Production.INFO: ==20298== Lock acquired, processing the job...
[2025-01-07 08:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:09:03] Production.INFO: ==20300== Lock acquired, processing the job...
[2025-01-07 08:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:09:03] Production.INFO: ==20304== Lock acquired, processing the job...
[2025-01-07 08:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:09:03] Production.INFO: ==20302== Lock acquired, processing the job...
[2025-01-07 08:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:09:03] Production.INFO: Account Balance Start.
[2025-01-07 08:09:03] Production.INFO: CreateAllLog Start
[2025-01-07 08:09:03] Production.INFO: 117
[2025-01-07 08:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:09:03] Production.INFO: Date 2024-12-08
[2025-01-07 08:09:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:09:03] Production.INFO: ==20306== Lock acquired, processing the job...
[2025-01-07 08:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:09:04] Production.INFO: Date 2024-12-09
[2025-01-07 08:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:09:04] Production.INFO: Date 2024-12-10
[2025-01-07 08:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:09:04] Production.INFO: ==20308== Lock acquired, processing the job...
[2025-01-07 08:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:09:04] Production.INFO: Date 2024-12-11
[2025-01-07 08:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:09:04] Production.INFO: ==20300== Releasing lock...
[2025-01-07 08:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:09:04] Production.INFO: Date 2024-12-12
[2025-01-07 08:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:09:04] Production.INFO: Date 2024-12-13
[2025-01-07 08:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:09:04] Production.INFO: Date 2024-12-14
[2025-01-07 08:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:09:04] Production.INFO: Date 2024-12-15
[2025-01-07 08:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:09:04] Production.INFO: Date 2024-12-16
[2025-01-07 08:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 08:09:04] Production.INFO: count ==21
[2025-01-07 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-07 08:09:04] Production.INFO: count ==21
[2025-01-07 08:09:04] Production.INFO: Date 2024-12-17
[2025-01-07 08:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193578') start
[2025-01-07 08:09:04] Production.ERROR: done
[2025-01-07 08:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193578') end
[2025-01-07 08:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:09:04] Production.INFO: 1
[2025-01-07 08:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:09:04] Production.ERROR: done
[2025-01-07 08:09:04] Production.INFO: Date 2024-12-18
[2025-01-07 08:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:09:04] Production.INFO: Date 2024-12-19
[2025-01-07 08:09:04] Production.INFO: ==20308== Releasing lock...
[2025-01-07 08:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:09:04] Production.INFO: Date 2024-12-20
[2025-01-07 08:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:09:04] Production.INFO: Date 2024-12-21
[2025-01-07 08:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:09:04] Production.INFO: Date 2024-12-22
[2025-01-07 08:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:09:04] Production.INFO: Date 2024-12-23
[2025-01-07 08:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:09:04] Production.INFO: Date 2024-12-24
[2025-01-07 08:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:09:04] Production.INFO: Date 2024-12-25
[2025-01-07 08:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:09:04] Production.INFO: Date 2024-12-26
[2025-01-07 08:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:09:04] Production.INFO: Date 2024-12-27
[2025-01-07 08:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:09:04] Production.INFO: Date 2024-12-28
[2025-01-07 08:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:09:04] Production.INFO: Date 2024-12-29
[2025-01-07 08:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:09:04] Production.INFO: Date 2024-12-30
[2025-01-07 08:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:09:04] Production.INFO: Date 2024-12-31
[2025-01-07 08:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:09:04] Production.INFO: Date 2025-01-01
[2025-01-07 08:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:09:04] Production.INFO: Date 2025-01-02
[2025-01-07 08:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:09:05] Production.INFO: Date 2025-01-03
[2025-01-07 08:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:09:05] Production.INFO: Date 2025-01-04
[2025-01-07 08:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:09:05] Production.INFO: Date 2025-01-05
[2025-01-07 08:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:09:05] Production.INFO: Date 2025-01-06
[2025-01-07 08:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:09:05] Production.INFO: Date 2025-01-07
[2025-01-07 08:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:09:05] Production.INFO: Total Charge 0
[2025-01-07 08:09:05] Production.INFO: CreateAllLog End
[2025-01-07 08:09:05] Production.INFO: Account Balance End.
[2025-01-07 08:09:05] Production.ERROR: CronJobId end 12
[2025-01-07 08:09:05] Production.INFO: ==20304== Releasing lock...
[2025-01-07 08:09:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:09:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:09:05
[end_date_ymd] => 2025-01-07 08:09:05
[RateCDR] => 1
)
[2025-01-07 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-07 05:09:05' and `end` < '2025-01-07 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-07 08:09:12] Production.ERROR: CronJobId end10
[2025-01-07 08:09:12] Production.INFO: ==20302== Releasing lock...
[2025-01-07 08:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:09:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:09:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:09:14] Production.INFO: call_cost start
[2025-01-07 08:09:14] Production.INFO: call_cost end
[2025-01-07 08:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:09:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:09:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:09:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:09:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:09:15] Production.INFO: ==20298== Releasing lock...
[2025-01-07 08:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:09:18] Production.INFO: count ==166
[2025-01-07 08:09:18] Production.ERROR: pbx CDR StartTime 2025-01-07 05:09:05 - End Time 2025-01-07 08:09:05
[2025-01-07 08:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193579', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193579', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193579', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193579', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:09:18] Production.INFO: ProcessCDR(1,14193579,1,1,2)
[2025-01-07 08:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193579,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193579,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193579,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193579,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193579', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193579', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:09:21] Production.INFO: ==20306== Releasing lock...
[2025-01-07 08:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:09:21] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 13:10:01] Production.INFO: ==20364== Lock acquired, processing the job...
[2025-01-07 13:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:10:01] Production.INFO: neon service started
[2025-01-07 13:10:01] Production.INFO: neon service started
[2025-01-07 13:10:01] Production.INFO: ==20364== Releasing lock...
[2025-01-07 13:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:10:01] Production.INFO: ==20366== Lock acquired, processing the job...
[2025-01-07 08:10:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:10:02] Production.INFO: ==20366== Releasing lock...
[2025-01-07 08:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 13:10:02] Production.INFO: ==20368== Lock acquired, processing the job...
[2025-01-07 13:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:10:02] Production.INFO: ==20368== Releasing lock...
[2025-01-07 13:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:10:03] Production.INFO: ==20374== Lock acquired, processing the job...
[2025-01-07 08:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:10:03] Production.INFO: ==20370== Lock acquired, processing the job...
[2025-01-07 08:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 08:10:03] Production.INFO: ==20372== Lock acquired, processing the job...
[2025-01-07 08:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 08:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 08:10:03] Production.ERROR: CronJob PID - 20374
[2025-01-07 08:10:03] Production.ERROR: CronJob Title - Account Block
[2025-01-07 08:10:03] Production.ERROR: CronJob ID - 7
[2025-01-07 08:10:03] Production.ERROR: CronJob Last Run Time 2025-01-07 08:10:00
[2025-01-07 08:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 08:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 08:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 08:10:03] Production.INFO: ==20370== Releasing lock...
[2025-01-07 08:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 08:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 08:10:03] Production.INFO: ==20384== Lock acquired, processing the job...
[2025-01-07 08:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:10:03] Production.INFO: ==20382== Lock acquired, processing the job...
[2025-01-07 08:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 08:10:03] Production.INFO: ==20376== Lock acquired, processing the job...
[2025-01-07 08:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:10:03] Production.INFO: ==20378== Lock acquired, processing the job...
[2025-01-07 08:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:10:03] Production.INFO: ==20380== Lock acquired, processing the job...
[2025-01-07 08:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 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-07 08:10:03] Production.INFO: count ==21
[2025-01-07 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-07 08:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:10:03] Production.INFO: count ==21
[2025-01-07 08:10:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193582') start
[2025-01-07 08:10:03] Production.INFO: ==20374== Releasing lock...
[2025-01-07 08:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:10:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:10:03] Production.INFO: Account Balance Start.
[2025-01-07 08:10:03] Production.INFO: CreateAllLog Start
[2025-01-07 08:10:03] Production.INFO: 117
[2025-01-07 08:10:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193582') end
[2025-01-07 08:10:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:10:03] Production.INFO: 1
[2025-01-07 08:10:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:10:03] Production.INFO: Date 2024-12-08
[2025-01-07 08:10:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:10:04] Production.INFO: ==20384== Releasing lock...
[2025-01-07 08:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:10:04] Production.INFO: Date 2024-12-09
[2025-01-07 08:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:10:04] Production.INFO: Date 2024-12-10
[2025-01-07 08:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:10:04] Production.INFO: Date 2024-12-11
[2025-01-07 08:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:10:04] Production.ERROR: done
[2025-01-07 08:10:04] Production.INFO: Date 2024-12-12
[2025-01-07 08:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 08:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14193584', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 08:10:04] Production.INFO: Date 2024-12-13
[2025-01-07 08:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:10:04] Production.INFO: Date 2024-12-14
[2025-01-07 08:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:10:04] Production.ERROR: done
[2025-01-07 08:10:04] Production.INFO: Date 2024-12-15
[2025-01-07 08:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:10:04] Production.INFO: Date 2024-12-16
[2025-01-07 08:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:10:04] Production.INFO: Date 2024-12-17
[2025-01-07 08:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:10:04] Production.INFO: Date 2024-12-18
[2025-01-07 08:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:10:04] Production.INFO: Date 2024-12-19
[2025-01-07 08:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:10:04] Production.ERROR: done
[2025-01-07 08:10:04] Production.INFO: Date 2024-12-20
[2025-01-07 08:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:10:04] Production.INFO: Date 2024-12-21
[2025-01-07 08:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:10:04] Production.INFO: Date 2024-12-22
[2025-01-07 08:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:10:04] Production.INFO: Date 2024-12-23
[2025-01-07 08:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:10:04] Production.INFO: Date 2024-12-24
[2025-01-07 08:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:10:04] Production.INFO: Date 2024-12-25
[2025-01-07 08:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:10:04] Production.INFO: Date 2024-12-26
[2025-01-07 08:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:10:04] Production.INFO: Date 2024-12-27
[2025-01-07 08:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:10:04] Production.INFO: Date 2024-12-28
[2025-01-07 08:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:10:04] Production.INFO: Date 2024-12-29
[2025-01-07 08:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:10:04] Production.INFO: Date 2024-12-30
[2025-01-07 08:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:10:04] Production.INFO: Date 2024-12-31
[2025-01-07 08:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:10:04] Production.INFO: Date 2025-01-01
[2025-01-07 08:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:10:04] Production.INFO: Date 2025-01-02
[2025-01-07 08:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:10:05] Production.INFO: Date 2025-01-03
[2025-01-07 08:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:10:05] Production.INFO: Date 2025-01-04
[2025-01-07 08:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:10:05] Production.INFO: Date 2025-01-05
[2025-01-07 08:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:10:05] Production.INFO: Date 2025-01-06
[2025-01-07 08:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:10:05] Production.INFO: Date 2025-01-07
[2025-01-07 08:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:10:05] Production.INFO: Total Charge 0
[2025-01-07 08:10:05] Production.INFO: CreateAllLog End
[2025-01-07 08:10:05] Production.INFO: Account Balance End.
[2025-01-07 08:10:05] Production.ERROR: CronJobId end 12
[2025-01-07 08:10:05] Production.INFO: ==20378== Releasing lock...
[2025-01-07 08:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:10:05
[end_date_ymd] => 2025-01-07 08:10:05
[RateCDR] => 1
)
[2025-01-07 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-07 05:10:05' and `end` < '2025-01-07 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-07 08:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14193584', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 08:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 08:10:08] Production.INFO: ProcessCDR(1,14193584,1,1,2)
[2025-01-07 08:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14193584,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14193584,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:10:08] Production.INFO: ==20382== Releasing lock...
[2025-01-07 08:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 08:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-07 08:10:12] Production.ERROR: CronJobId end10
[2025-01-07 08:10:12] Production.INFO: ==20376== Releasing lock...
[2025-01-07 08:10:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:10:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:10:14] Production.INFO: call_cost start
[2025-01-07 08:10:14] Production.INFO: call_cost end
[2025-01-07 08:10:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:10:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:10:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:10:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:10:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:10:15] Production.INFO: ==20372== Releasing lock...
[2025-01-07 08:10:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:10:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:10:18] Production.INFO: count ==186
[2025-01-07 08:10:18] Production.ERROR: pbx CDR StartTime 2025-01-07 05:10:05 - End Time 2025-01-07 08:10:05
[2025-01-07 08:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193585', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193585', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193585', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193585', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:10:18] Production.INFO: ProcessCDR(1,14193585,1,1,2)
[2025-01-07 08:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193585,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193585,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193585,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:10:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193585,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193585', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193585', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:10:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:10:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:10:21] Production.INFO: ==20380== Releasing lock...
[2025-01-07 08:10:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:10:21] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 13:11:02] Production.INFO: ==20479== Lock acquired, processing the job...
[2025-01-07 13:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:11:02] Production.INFO: neon service started
[2025-01-07 13:11:02] Production.INFO: neon service started
[2025-01-07 13:11:02] Production.INFO: ==20479== Releasing lock...
[2025-01-07 13:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:11:02] Production.INFO: ==20481== Lock acquired, processing the job...
[2025-01-07 08:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:11:02] Production.INFO: ==20481== Releasing lock...
[2025-01-07 08:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 13:11:02] Production.INFO: ==20483== Lock acquired, processing the job...
[2025-01-07 13:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:11:02] Production.INFO: ==20483== Releasing lock...
[2025-01-07 13:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:11:03] Production.INFO: ==20489== Lock acquired, processing the job...
[2025-01-07 08:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:11:03] Production.INFO: ==20487== Lock acquired, processing the job...
[2025-01-07 08:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:11:03] Production.INFO: ==20491== Lock acquired, processing the job...
[2025-01-07 08:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:11:03] Production.INFO: Account Balance Start.
[2025-01-07 08:11:03] Production.INFO: CreateAllLog Start
[2025-01-07 08:11:03] Production.INFO: 117
[2025-01-07 08:11:03] Production.INFO: Date 2024-12-08
[2025-01-07 08:11:03] Production.INFO: ==20485== Lock acquired, processing the job...
[2025-01-07 08:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:11:03] Production.INFO: Date 2024-12-09
[2025-01-07 08:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:11:03] Production.INFO: Date 2024-12-10
[2025-01-07 08:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:11:03] Production.INFO: Date 2024-12-11
[2025-01-07 08:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:11:03] Production.INFO: ==20493== Lock acquired, processing the job...
[2025-01-07 08:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:11:03] Production.INFO: Date 2024-12-12
[2025-01-07 08:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:11:03] Production.INFO: Date 2024-12-13
[2025-01-07 08:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:11:03] Production.INFO: ==20495== Lock acquired, processing the job...
[2025-01-07 08:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:11:03] Production.INFO: Date 2024-12-14
[2025-01-07 08:11:03] Production.INFO: ==20487== Releasing lock...
[2025-01-07 08:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:11:03] Production.INFO: Date 2024-12-15
[2025-01-07 08:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:11:03] Production.INFO: Date 2024-12-16
[2025-01-07 08:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:11:04] Production.INFO: Date 2024-12-17
[2025-01-07 08:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:11:04] Production.INFO: count ==21
[2025-01-07 08:11:04] Production.INFO: Date 2024-12-18
[2025-01-07 08:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:11:04] Production.INFO: count ==21
[2025-01-07 08:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193589') start
[2025-01-07 08:11:04] Production.INFO: Date 2024-12-19
[2025-01-07 08:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:11:04] Production.ERROR: done
[2025-01-07 08:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193589') end
[2025-01-07 08:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:11:04] Production.INFO: 1
[2025-01-07 08:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:11:04] Production.INFO: Date 2024-12-20
[2025-01-07 08:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:11:04] Production.INFO: Date 2024-12-21
[2025-01-07 08:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:11:04] Production.INFO: ==20495== Releasing lock...
[2025-01-07 08:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:11:04] Production.ERROR: done
[2025-01-07 08:11:04] Production.INFO: Date 2024-12-22
[2025-01-07 08:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:11:04] Production.INFO: Date 2024-12-23
[2025-01-07 08:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:11:04] Production.INFO: Date 2024-12-24
[2025-01-07 08:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:11:04] Production.INFO: Date 2024-12-25
[2025-01-07 08:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:11:04] Production.INFO: Date 2024-12-26
[2025-01-07 08:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:11:04] Production.INFO: Date 2024-12-27
[2025-01-07 08:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:11:04] Production.INFO: Date 2024-12-28
[2025-01-07 08:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:11:04] Production.INFO: Date 2024-12-29
[2025-01-07 08:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:11:04] Production.INFO: Date 2024-12-30
[2025-01-07 08:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:11:04] Production.INFO: Date 2024-12-31
[2025-01-07 08:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:11:04] Production.INFO: Date 2025-01-01
[2025-01-07 08:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:11:04] Production.INFO: Date 2025-01-02
[2025-01-07 08:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:11:04] Production.INFO: Date 2025-01-03
[2025-01-07 08:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:11:05] Production.INFO: Date 2025-01-04
[2025-01-07 08:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:11:05] Production.INFO: Date 2025-01-05
[2025-01-07 08:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:11:05] Production.INFO: Date 2025-01-06
[2025-01-07 08:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:11:05] Production.INFO: Date 2025-01-07
[2025-01-07 08:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:11:05] Production.INFO: Total Charge 0
[2025-01-07 08:11:05] Production.INFO: CreateAllLog End
[2025-01-07 08:11:05] Production.INFO: Account Balance End.
[2025-01-07 08:11:05] Production.ERROR: CronJobId end 12
[2025-01-07 08:11:05] Production.INFO: ==20491== Releasing lock...
[2025-01-07 08:11:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:11:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:11:05
[end_date_ymd] => 2025-01-07 08:11:05
[RateCDR] => 1
)
[2025-01-07 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-07 05:11:05' and `end` < '2025-01-07 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-07 08:11:11] Production.ERROR: CronJobId end10
[2025-01-07 08:11:11] Production.INFO: ==20489== Releasing lock...
[2025-01-07 08:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:11:13] Production.INFO: call_cost start
[2025-01-07 08:11:13] Production.INFO: call_cost end
[2025-01-07 08:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:11:14] Production.INFO: ==20485== Releasing lock...
[2025-01-07 08:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:11:18] Production.INFO: count ==212
[2025-01-07 08:11:18] Production.ERROR: pbx CDR StartTime 2025-01-07 05:11:05 - End Time 2025-01-07 08:11:05
[2025-01-07 08:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193590', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193590', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193590', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193590', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:11:18] Production.INFO: ProcessCDR(1,14193590,1,1,2)
[2025-01-07 08:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193590,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193590,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193590,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193590,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193590', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193590', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:11:21] Production.INFO: ==20493== Releasing lock...
[2025-01-07 08:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:11:21] Production.INFO: 29.75 MB #Memory Used#
[2025-01-07 13:12:01] Production.INFO: ==20549== Lock acquired, processing the job...
[2025-01-07 13:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:12:01] Production.INFO: neon service started
[2025-01-07 13:12:01] Production.INFO: neon service started
[2025-01-07 13:12:01] Production.INFO: ==20549== Releasing lock...
[2025-01-07 13:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 13:12:01] Production.INFO: ==20553== Lock acquired, processing the job...
[2025-01-07 13:12:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:12:01] Production.INFO: ==20553== Releasing lock...
[2025-01-07 13:12:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:12:01] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:12:02] Production.INFO: ==20551== Lock acquired, processing the job...
[2025-01-07 08:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:12:02] Production.INFO: ==20551== Releasing lock...
[2025-01-07 08:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:12:03] Production.INFO: ==20561== Lock acquired, processing the job...
[2025-01-07 08:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:12:03] Production.INFO: ==20566== Lock acquired, processing the job...
[2025-01-07 08:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:12:03] Production.INFO: Account Balance Start.
[2025-01-07 08:12:03] Production.INFO: CreateAllLog Start
[2025-01-07 08:12:03] Production.INFO: 117
[2025-01-07 08:12:03] Production.INFO: Date 2024-12-08
[2025-01-07 08:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:12:03] Production.INFO: Date 2024-12-09
[2025-01-07 08:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:12:03] Production.INFO: ==20555== Lock acquired, processing the job...
[2025-01-07 08:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:12:03] Production.INFO: Date 2024-12-10
[2025-01-07 08:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:12:03] Production.INFO: count ==21
[2025-01-07 08:12:03] Production.INFO: Date 2024-12-11
[2025-01-07 08:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:12:03] Production.INFO: count ==21
[2025-01-07 08:12:03] Production.INFO: Date 2024-12-12
[2025-01-07 08:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:12:03] Production.INFO: ==20557== Lock acquired, processing the job...
[2025-01-07 08:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:12:03] Production.INFO: ==20559== Lock acquired, processing the job...
[2025-01-07 08:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:12:03] Production.INFO: Date 2024-12-13
[2025-01-07 08:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193592') start
[2025-01-07 08:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:12:03] Production.INFO: ==20564== Lock acquired, processing the job...
[2025-01-07 08:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:12:03] Production.INFO: Date 2024-12-14
[2025-01-07 08:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:12:03] Production.INFO: Date 2024-12-15
[2025-01-07 08:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:12:03] Production.INFO: Date 2024-12-16
[2025-01-07 08:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:12:03] Production.INFO: Date 2024-12-17
[2025-01-07 08:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193592') end
[2025-01-07 08:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:12:03] Production.INFO: 1
[2025-01-07 08:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:12:03] Production.INFO: Date 2024-12-18
[2025-01-07 08:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:12:03] Production.INFO: Date 2024-12-19
[2025-01-07 08:12:03] Production.INFO: ==20566== Releasing lock...
[2025-01-07 08:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:12:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:12:03] Production.INFO: ==20557== Releasing lock...
[2025-01-07 08:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:12:03] Production.ERROR: done
[2025-01-07 08:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:12:03] Production.INFO: Date 2024-12-20
[2025-01-07 08:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:12:03] Production.INFO: Date 2024-12-21
[2025-01-07 08:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:12:03] Production.ERROR: done
[2025-01-07 08:12:03] Production.INFO: Date 2024-12-22
[2025-01-07 08:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:12:04] Production.INFO: Date 2024-12-23
[2025-01-07 08:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:12:04] Production.INFO: Date 2024-12-24
[2025-01-07 08:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:12:04] Production.INFO: Date 2024-12-25
[2025-01-07 08:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:12:04] Production.INFO: Date 2024-12-26
[2025-01-07 08:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:12:04] Production.INFO: Date 2024-12-27
[2025-01-07 08:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:12:04] Production.INFO: Date 2024-12-28
[2025-01-07 08:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:12:04] Production.INFO: Date 2024-12-29
[2025-01-07 08:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:12:04] Production.INFO: Date 2024-12-30
[2025-01-07 08:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:12:04] Production.INFO: Date 2024-12-31
[2025-01-07 08:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:12:04] Production.INFO: Date 2025-01-01
[2025-01-07 08:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:12:04] Production.INFO: Date 2025-01-02
[2025-01-07 08:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:12:04] Production.INFO: Date 2025-01-03
[2025-01-07 08:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:12:04] Production.INFO: Date 2025-01-04
[2025-01-07 08:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:12:04] Production.INFO: Date 2025-01-05
[2025-01-07 08:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:12:04] Production.INFO: Date 2025-01-06
[2025-01-07 08:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:12:04] Production.INFO: Date 2025-01-07
[2025-01-07 08:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:12:04] Production.INFO: Total Charge 0
[2025-01-07 08:12:04] Production.INFO: CreateAllLog End
[2025-01-07 08:12:04] Production.INFO: Account Balance End.
[2025-01-07 08:12:04] Production.ERROR: CronJobId end 12
[2025-01-07 08:12:04] Production.INFO: ==20561== Releasing lock...
[2025-01-07 08:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:12:05
[end_date_ymd] => 2025-01-07 08:12:05
[RateCDR] => 1
)
[2025-01-07 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-07 05:12:05' and `end` < '2025-01-07 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-07 08:12: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-07 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-07 08:12:10] Production.ERROR: CronJobId end10
[2025-01-07 08:12:10] Production.INFO: ==20559== Releasing lock...
[2025-01-07 08:12:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:12:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:12:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:12:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:12:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:12:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:12:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:12:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:12:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:12:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:12:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:12:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:12:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:12:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:12:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:12:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:12:13] Production.INFO: call_cost start
[2025-01-07 08:12:13] Production.INFO: call_cost end
[2025-01-07 08:12:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:12:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:12:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:12:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:12:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:12:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:12:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:12:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:12:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:12:13] Production.INFO: ==20555== Releasing lock...
[2025-01-07 08:12:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:12:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:12:18] Production.INFO: count ==218
[2025-01-07 08:12:18] Production.ERROR: pbx CDR StartTime 2025-01-07 05:12:05 - End Time 2025-01-07 08:12:05
[2025-01-07 08:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193595', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193595', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193595', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193595', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:12:18] Production.INFO: ProcessCDR(1,14193595,1,1,2)
[2025-01-07 08:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193595,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193595,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193595,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193595,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193595', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193595', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:12:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:12:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:12:22] Production.INFO: ==20564== Releasing lock...
[2025-01-07 08:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:12:22] Production.INFO: 29.75 MB #Memory Used#
[2025-01-07 13:13:01] Production.INFO: ==20620== Lock acquired, processing the job...
[2025-01-07 13:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:13:01] Production.INFO: neon service started
[2025-01-07 13:13:01] Production.INFO: neon service started
[2025-01-07 13:13:01] Production.INFO: ==20620== Releasing lock...
[2025-01-07 13:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 13:13:02] Production.INFO: ==20624== Lock acquired, processing the job...
[2025-01-07 13:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:13:02] Production.INFO: ==20624== Releasing lock...
[2025-01-07 13:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:13:02] Production.INFO: ==20622== Lock acquired, processing the job...
[2025-01-07 08:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:13:02] Production.INFO: ==20622== Releasing lock...
[2025-01-07 08:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:13:03] Production.INFO: ==20631== Lock acquired, processing the job...
[2025-01-07 08:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:13:03] Production.INFO: ==20627== Lock acquired, processing the job...
[2025-01-07 08:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:13:03] Production.INFO: ==20633== Lock acquired, processing the job...
[2025-01-07 08:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:13:03] Production.INFO: ==20629== Lock acquired, processing the job...
[2025-01-07 08:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:13:03] Production.INFO: Account Balance Start.
[2025-01-07 08:13:03] Production.INFO: CreateAllLog Start
[2025-01-07 08:13:03] Production.INFO: ==20635== Lock acquired, processing the job...
[2025-01-07 08:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:13:03] Production.INFO: 117
[2025-01-07 08:13:03] Production.INFO: Date 2024-12-08
[2025-01-07 08:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:13:03] Production.INFO: Date 2024-12-09
[2025-01-07 08:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:13:03] Production.INFO: Date 2024-12-10
[2025-01-07 08:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:13:03] Production.INFO: ==20637== Lock acquired, processing the job...
[2025-01-07 08:13:03] Production.INFO: Date 2024-12-11
[2025-01-07 08:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:13:03] Production.INFO: Date 2024-12-12
[2025-01-07 08:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:13:03] Production.INFO: Date 2024-12-13
[2025-01-07 08:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:13:03] Production.INFO: Date 2024-12-14
[2025-01-07 08:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:13:03] Production.INFO: Date 2024-12-15
[2025-01-07 08:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:13:03] Production.INFO: Date 2024-12-16
[2025-01-07 08:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:13:03] Production.INFO: ==20629== Releasing lock...
[2025-01-07 08:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 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-07 08:13:03] Production.INFO: count ==21
[2025-01-07 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-07 08:13:03] Production.INFO: Date 2024-12-17
[2025-01-07 08:13:03] Production.INFO: count ==21
[2025-01-07 08:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193599') start
[2025-01-07 08:13:03] Production.INFO: Date 2024-12-18
[2025-01-07 08:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:13:04] Production.INFO: Date 2024-12-19
[2025-01-07 08:13:04] Production.ERROR: done
[2025-01-07 08:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193599') end
[2025-01-07 08:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:13:04] Production.INFO: 1
[2025-01-07 08:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:13:04] Production.INFO: ==20637== Releasing lock...
[2025-01-07 08:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:13:04] Production.INFO: Date 2024-12-20
[2025-01-07 08:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:13:04] Production.INFO: Date 2024-12-21
[2025-01-07 08:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:13:04] Production.INFO: Date 2024-12-22
[2025-01-07 08:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:13:04] Production.INFO: Date 2024-12-23
[2025-01-07 08:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:13:04] Production.ERROR: done
[2025-01-07 08:13:04] Production.INFO: Date 2024-12-24
[2025-01-07 08:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:13:04] Production.INFO: Date 2024-12-25
[2025-01-07 08:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:13:04] Production.INFO: Date 2024-12-26
[2025-01-07 08:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:13:04] Production.INFO: Date 2024-12-27
[2025-01-07 08:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:13:04] Production.INFO: Date 2024-12-28
[2025-01-07 08:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:13:04] Production.INFO: Date 2024-12-29
[2025-01-07 08:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:13:04] Production.INFO: Date 2024-12-30
[2025-01-07 08:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:13:04] Production.INFO: Date 2024-12-31
[2025-01-07 08:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:13:04] Production.INFO: Date 2025-01-01
[2025-01-07 08:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:13:04] Production.INFO: Date 2025-01-02
[2025-01-07 08:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:13:04] Production.INFO: Date 2025-01-03
[2025-01-07 08:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:13:04] Production.INFO: Date 2025-01-04
[2025-01-07 08:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:13:05] Production.INFO: Date 2025-01-05
[2025-01-07 08:13:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:13:05] Production.INFO: Date 2025-01-06
[2025-01-07 08:13:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:13:05] Production.INFO: Date 2025-01-07
[2025-01-07 08:13:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:13:05] Production.INFO: Total Charge 0
[2025-01-07 08:13:05] Production.INFO: CreateAllLog End
[2025-01-07 08:13:05] Production.INFO: Account Balance End.
[2025-01-07 08:13:05] Production.ERROR: CronJobId end 12
[2025-01-07 08:13:05] Production.INFO: ==20633== Releasing lock...
[2025-01-07 08:13:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:13:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:13:05
[end_date_ymd] => 2025-01-07 08:13:05
[RateCDR] => 1
)
[2025-01-07 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-07 05:13:05' and `end` < '2025-01-07 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-07 08:13:10] Production.ERROR: CronJobId end10
[2025-01-07 08:13:10] Production.INFO: ==20631== Releasing lock...
[2025-01-07 08:13:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:13:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:13:13] Production.INFO: call_cost start
[2025-01-07 08:13:13] Production.INFO: call_cost end
[2025-01-07 08:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:13:14] Production.INFO: ==20627== Releasing lock...
[2025-01-07 08:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:13:21] Production.INFO: count ==218
[2025-01-07 08:13:21] Production.ERROR: pbx CDR StartTime 2025-01-07 05:13:05 - End Time 2025-01-07 08:13:05
[2025-01-07 08:13:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193600', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193600', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193600', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193600', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:13:21] Production.INFO: ProcessCDR(1,14193600,1,1,2)
[2025-01-07 08:13:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193600,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:13:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193600,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:13:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193600,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:13:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193600,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:13:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193600', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:13:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193600', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:13:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:13:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:13:24] Production.INFO: ==20635== Releasing lock...
[2025-01-07 08:13:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:13:24] Production.INFO: 29.75 MB #Memory Used#
[2025-01-07 13:14:02] Production.INFO: ==20696== Lock acquired, processing the job...
[2025-01-07 13:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:14:02] Production.INFO: neon service started
[2025-01-07 13:14:02] Production.INFO: neon service started
[2025-01-07 13:14:02] Production.INFO: ==20696== Releasing lock...
[2025-01-07 13:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 13:14:02] Production.INFO: ==20700== Lock acquired, processing the job...
[2025-01-07 13:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:14:02] Production.INFO: ==20700== Releasing lock...
[2025-01-07 13:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:14:02] Production.INFO: ==20698== Lock acquired, processing the job...
[2025-01-07 08:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:14:03] Production.INFO: ==20698== Releasing lock...
[2025-01-07 08:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:14:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:14:03] Production.INFO: ==20707== Lock acquired, processing the job...
[2025-01-07 08:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:14:03] Production.INFO: ==20711== Lock acquired, processing the job...
[2025-01-07 08:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:14:03] Production.INFO: ==20703== Lock acquired, processing the job...
[2025-01-07 08:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:14:04] Production.INFO: ==20705== Lock acquired, processing the job...
[2025-01-07 08:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:14:04] Production.INFO: ==20713== Lock acquired, processing the job...
[2025-01-07 08:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:14:04] Production.INFO: ==20709== Lock acquired, processing the job...
[2025-01-07 08:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:14:04] Production.INFO: Account Balance Start.
[2025-01-07 08:14:04] Production.INFO: CreateAllLog Start
[2025-01-07 08:14:04] Production.INFO: 117
[2025-01-07 08:14:04] Production.INFO: Date 2024-12-08
[2025-01-07 08:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 08:14:04] Production.ERROR: done
[2025-01-07 08:14:04] Production.INFO: count ==21
[2025-01-07 08:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 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-07 08:14:04] Production.INFO: count ==21
[2025-01-07 08:14:04] Production.INFO: Date 2024-12-09
[2025-01-07 08:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:14:04] Production.INFO: Date 2024-12-10
[2025-01-07 08:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193604') start
[2025-01-07 08:14:04] Production.ERROR: done
[2025-01-07 08:14:04] Production.INFO: Date 2024-12-11
[2025-01-07 08:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:14:04] Production.INFO: ==20705== Releasing lock...
[2025-01-07 08:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:14:04] Production.INFO: Date 2024-12-12
[2025-01-07 08:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:14:04] Production.INFO: Date 2024-12-13
[2025-01-07 08:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193604') end
[2025-01-07 08:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:14:04] Production.INFO: 1
[2025-01-07 08:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:14:04] Production.INFO: Date 2024-12-14
[2025-01-07 08:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:14:04] Production.INFO: Date 2024-12-15
[2025-01-07 08:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:14:04] Production.INFO: ==20713== Releasing lock...
[2025-01-07 08:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:14:04] Production.INFO: Date 2024-12-16
[2025-01-07 08:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:14:04] Production.INFO: Date 2024-12-17
[2025-01-07 08:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:14:04] Production.INFO: Date 2024-12-18
[2025-01-07 08:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:14:04] Production.INFO: Date 2024-12-19
[2025-01-07 08:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:14:04] Production.INFO: Date 2024-12-20
[2025-01-07 08:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:14:04] Production.INFO: Date 2024-12-21
[2025-01-07 08:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:14:04] Production.INFO: Date 2024-12-22
[2025-01-07 08:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:14:04] Production.INFO: Date 2024-12-23
[2025-01-07 08:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:14:04] Production.INFO: Date 2024-12-24
[2025-01-07 08:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:14:04] Production.INFO: Date 2024-12-25
[2025-01-07 08:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:14:04] Production.INFO: Date 2024-12-26
[2025-01-07 08:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:14:04] Production.INFO: Date 2024-12-27
[2025-01-07 08:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:14:05] Production.INFO: Date 2024-12-28
[2025-01-07 08:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:14:05] Production.INFO: Date 2024-12-29
[2025-01-07 08:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:14:05] Production.INFO: Date 2024-12-30
[2025-01-07 08:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:14:05] Production.INFO: Date 2024-12-31
[2025-01-07 08:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:14:05] Production.INFO: Date 2025-01-01
[2025-01-07 08:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:14:05] Production.INFO: Date 2025-01-02
[2025-01-07 08:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:14:05] Production.INFO: Date 2025-01-03
[2025-01-07 08:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:14:05] Production.INFO: Date 2025-01-04
[2025-01-07 08:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:14:05] Production.INFO: Date 2025-01-05
[2025-01-07 08:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:14:05] Production.INFO: Date 2025-01-06
[2025-01-07 08:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:14:05] Production.INFO: Date 2025-01-07
[2025-01-07 08:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:14:05] Production.INFO: Total Charge 0
[2025-01-07 08:14:05] Production.INFO: CreateAllLog End
[2025-01-07 08:14:05] Production.INFO: Account Balance End.
[2025-01-07 08:14:05] Production.ERROR: CronJobId end 12
[2025-01-07 08:14:05] Production.INFO: ==20709== Releasing lock...
[2025-01-07 08:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:14:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:14:05
[end_date_ymd] => 2025-01-07 08:14:05
[RateCDR] => 1
)
[2025-01-07 08:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 05:14:05' and `end` < '2025-01-07 08:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 08:14:11] Production.ERROR: CronJobId end10
[2025-01-07 08:14:11] Production.INFO: ==20707== Releasing lock...
[2025-01-07 08:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:14:13] Production.INFO: call_cost start
[2025-01-07 08:14:13] Production.INFO: call_cost end
[2025-01-07 08:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:14:14] Production.INFO: ==20703== Releasing lock...
[2025-01-07 08:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:14:19] Production.INFO: count ==219
[2025-01-07 08:14:19] Production.ERROR: pbx CDR StartTime 2025-01-07 05:14:05 - End Time 2025-01-07 08:14:05
[2025-01-07 08:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193605', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193605', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193605', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193605', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:14:19] Production.INFO: ProcessCDR(1,14193605,1,1,2)
[2025-01-07 08:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193605,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193605,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193605,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193605,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193605', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193605', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:14:22] Production.INFO: ==20711== Releasing lock...
[2025-01-07 08:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:14:22] Production.INFO: 30 MB #Memory Used#
[2025-01-07 13:15:01] Production.INFO: ==20766== Lock acquired, processing the job...
[2025-01-07 13:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:15:01] Production.INFO: neon service started
[2025-01-07 13:15:01] Production.INFO: neon service started
[2025-01-07 13:15:01] Production.INFO: ==20766== Releasing lock...
[2025-01-07 13:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:15:01] Production.INFO: ==20768== Lock acquired, processing the job...
[2025-01-07 08:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:15:02] Production.INFO: ==20768== Releasing lock...
[2025-01-07 08:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 13:15:02] Production.INFO: ==20770== Lock acquired, processing the job...
[2025-01-07 13:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:15:02] Production.INFO: ==20770== Releasing lock...
[2025-01-07 13:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:15:03] Production.INFO: ==20777== Lock acquired, processing the job...
[2025-01-07 08:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:15:03] Production.INFO: ==20781== Lock acquired, processing the job...
[2025-01-07 08:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:15:03] Production.INFO: ==20773== Lock acquired, processing the job...
[2025-01-07 08:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:15:03] Production.INFO: ==20775== Lock acquired, processing the job...
[2025-01-07 08:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:15:03] Production.INFO: ==20779== Lock acquired, processing the job...
[2025-01-07 08:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:15:03] Production.INFO: ==20783== Lock acquired, processing the job...
[2025-01-07 08:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:15:03] Production.INFO: Account Balance Start.
[2025-01-07 08:15:03] Production.INFO: CreateAllLog Start
[2025-01-07 08:15:03] Production.INFO: 117
[2025-01-07 08:15:03] Production.INFO: Date 2024-12-08
[2025-01-07 08:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:15:03] Production.INFO: Date 2024-12-09
[2025-01-07 08:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:15:03] Production.INFO: Date 2024-12-10
[2025-01-07 08:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:15:03] Production.ERROR: done
[2025-01-07 08:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:15:03] Production.INFO: Date 2024-12-11
[2025-01-07 08:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 08:15:03] Production.INFO: Date 2024-12-12
[2025-01-07 08:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:15:03] Production.INFO: count ==21
[2025-01-07 08:15:03] Production.INFO: ==20775== Releasing lock...
[2025-01-07 08:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:15:03] Production.INFO: count ==21
[2025-01-07 08:15:03] Production.INFO: Date 2024-12-13
[2025-01-07 08:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:15:03] Production.INFO: Date 2024-12-14
[2025-01-07 08:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193609') start
[2025-01-07 08:15:03] Production.INFO: Date 2024-12-15
[2025-01-07 08:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:15:04] Production.ERROR: done
[2025-01-07 08:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193609') end
[2025-01-07 08:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:15:04] Production.INFO: 1
[2025-01-07 08:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:15:04] Production.INFO: Date 2024-12-16
[2025-01-07 08:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:15:04] Production.INFO: Date 2024-12-17
[2025-01-07 08:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:15:04] Production.INFO: ==20783== Releasing lock...
[2025-01-07 08:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:15:04] Production.INFO: Date 2024-12-18
[2025-01-07 08:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:15:04] Production.INFO: Date 2024-12-19
[2025-01-07 08:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:15:04] Production.INFO: Date 2024-12-20
[2025-01-07 08:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:15:04] Production.INFO: Date 2024-12-21
[2025-01-07 08:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:15:04] Production.INFO: Date 2024-12-22
[2025-01-07 08:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:15:04] Production.INFO: Date 2024-12-23
[2025-01-07 08:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:15:04] Production.INFO: Date 2024-12-24
[2025-01-07 08:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:15:04] Production.INFO: Date 2024-12-25
[2025-01-07 08:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:15:04] Production.INFO: Date 2024-12-26
[2025-01-07 08:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:15:04] Production.INFO: Date 2024-12-27
[2025-01-07 08:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:15:04] Production.INFO: Date 2024-12-28
[2025-01-07 08:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:15:04] Production.INFO: Date 2024-12-29
[2025-01-07 08:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:15:04] Production.INFO: Date 2024-12-30
[2025-01-07 08:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:15:04] Production.INFO: Date 2024-12-31
[2025-01-07 08:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:15:04] Production.INFO: Date 2025-01-01
[2025-01-07 08:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:15:04] Production.INFO: Date 2025-01-02
[2025-01-07 08:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:15:04] Production.INFO: Date 2025-01-03
[2025-01-07 08:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:15:04] Production.INFO: Date 2025-01-04
[2025-01-07 08:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:15:04] Production.INFO: Date 2025-01-05
[2025-01-07 08:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:15:04] Production.INFO: Date 2025-01-06
[2025-01-07 08:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:15:04] Production.INFO: Date 2025-01-07
[2025-01-07 08:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:15:04] Production.INFO: Total Charge 0
[2025-01-07 08:15:04] Production.INFO: CreateAllLog End
[2025-01-07 08:15:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:15:04
[end_date_ymd] => 2025-01-07 08:15:04
[RateCDR] => 1
)
[2025-01-07 08:15:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 05:15:04' and `end` < '2025-01-07 08:15:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 08:15:04] Production.INFO: Account Balance End.
[2025-01-07 08:15:05] Production.ERROR: CronJobId end 12
[2025-01-07 08:15:05] Production.INFO: ==20779== Releasing lock...
[2025-01-07 08:15:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:15:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:15:10] Production.ERROR: CronJobId end10
[2025-01-07 08:15:10] Production.INFO: ==20777== Releasing lock...
[2025-01-07 08:15:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:15:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:15:13] Production.INFO: call_cost start
[2025-01-07 08:15:13] Production.INFO: call_cost end
[2025-01-07 08:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:15:14] Production.INFO: ==20773== Releasing lock...
[2025-01-07 08:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:15:17] Production.INFO: count ==221
[2025-01-07 08:15:18] Production.ERROR: pbx CDR StartTime 2025-01-07 05:15:04 - End Time 2025-01-07 08:15:04
[2025-01-07 08:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193610', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193610', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193610', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193610', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:15:18] Production.INFO: ProcessCDR(1,14193610,1,1,2)
[2025-01-07 08:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193610,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:15:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193610,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:15:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193610,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193610,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193610', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193610', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:15:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:15:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:15:22] Production.INFO: ==20781== Releasing lock...
[2025-01-07 08:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:15:22] Production.INFO: 30 MB #Memory Used#
[2025-01-07 13:16:02] Production.INFO: ==20837== Lock acquired, processing the job...
[2025-01-07 13:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:16:02] Production.INFO: neon service started
[2025-01-07 13:16:02] Production.INFO: neon service started
[2025-01-07 13:16:02] Production.INFO: ==20837== Releasing lock...
[2025-01-07 13:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:16:02] Production.INFO: ==20839== Lock acquired, processing the job...
[2025-01-07 08:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:16:02] Production.INFO: ==20839== Releasing lock...
[2025-01-07 08:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 13:16:03] Production.INFO: ==20841== Lock acquired, processing the job...
[2025-01-07 13:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:16:03] Production.INFO: ==20841== Releasing lock...
[2025-01-07 13:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:16:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:16:03] Production.INFO: ==20850== Lock acquired, processing the job...
[2025-01-07 08:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:16:03] Production.INFO: ==20852== Lock acquired, processing the job...
[2025-01-07 08:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:16:03] Production.INFO: ==20844== Lock acquired, processing the job...
[2025-01-07 08:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:16:03] Production.INFO: ==20846== Lock acquired, processing the job...
[2025-01-07 08:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:16:03] Production.INFO: Account Balance Start.
[2025-01-07 08:16:03] Production.INFO: CreateAllLog Start
[2025-01-07 08:16:03] Production.INFO: 117
[2025-01-07 08:16:03] Production.INFO: Date 2024-12-08
[2025-01-07 08:16:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:16:04] Production.INFO: Date 2024-12-09
[2025-01-07 08:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:16:04] Production.INFO: ==20848== Lock acquired, processing the job...
[2025-01-07 08:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:16:04] Production.INFO: Date 2024-12-10
[2025-01-07 08:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:16:04] Production.INFO: ==20854== Lock acquired, processing the job...
[2025-01-07 08:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:16:04] Production.INFO: Date 2024-12-11
[2025-01-07 08:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:16:04] Production.INFO: Date 2024-12-12
[2025-01-07 08:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:16:04] Production.INFO: Date 2024-12-13
[2025-01-07 08:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:16:04] Production.INFO: Date 2024-12-14
[2025-01-07 08:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:16:04] Production.INFO: Date 2024-12-15
[2025-01-07 08:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:16:04] Production.INFO: Date 2024-12-16
[2025-01-07 08:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 08:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:16:04] Production.ERROR: done
[2025-01-07 08:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:16:04] Production.INFO: Date 2024-12-17
[2025-01-07 08:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:16:04] Production.INFO: count ==21
[2025-01-07 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-07 08:16:04] Production.INFO: count ==21
[2025-01-07 08:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193614') start
[2025-01-07 08:16:04] Production.ERROR: done
[2025-01-07 08:16:04] Production.INFO: Date 2024-12-18
[2025-01-07 08:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:16:04] Production.INFO: ==20846== Releasing lock...
[2025-01-07 08:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:16:04] Production.INFO: Date 2024-12-19
[2025-01-07 08:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:16:04] Production.INFO: Date 2024-12-20
[2025-01-07 08:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193614') end
[2025-01-07 08:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:16:04] Production.INFO: 1
[2025-01-07 08:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:16:04] Production.INFO: Date 2024-12-21
[2025-01-07 08:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:16:04] Production.INFO: ==20854== Releasing lock...
[2025-01-07 08:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:16:04] Production.INFO: Date 2024-12-22
[2025-01-07 08:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:16:04] Production.INFO: Date 2024-12-23
[2025-01-07 08:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:16:04] Production.INFO: Date 2024-12-24
[2025-01-07 08:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:16:04] Production.INFO: Date 2024-12-25
[2025-01-07 08:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:16:04] Production.INFO: Date 2024-12-26
[2025-01-07 08:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:16:04] Production.INFO: Date 2024-12-27
[2025-01-07 08:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:16:04] Production.INFO: Date 2024-12-28
[2025-01-07 08:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:16:04] Production.INFO: Date 2024-12-29
[2025-01-07 08:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:16:05] Production.INFO: Date 2024-12-30
[2025-01-07 08:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:16:05] Production.INFO: Date 2024-12-31
[2025-01-07 08:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:16:05] Production.INFO: Date 2025-01-01
[2025-01-07 08:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:16:05] Production.INFO: Date 2025-01-02
[2025-01-07 08:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:16:05] Production.INFO: Date 2025-01-03
[2025-01-07 08:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:16:05] Production.INFO: Date 2025-01-04
[2025-01-07 08:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:16:05] Production.INFO: Date 2025-01-05
[2025-01-07 08:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:16:05] Production.INFO: Date 2025-01-06
[2025-01-07 08:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:16:05
[end_date_ymd] => 2025-01-07 08:16:05
[RateCDR] => 1
)
[2025-01-07 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-07 05:16:05' and `end` < '2025-01-07 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-07 08:16:05] Production.INFO: Date 2025-01-07
[2025-01-07 08:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:16:05] Production.INFO: Total Charge 0
[2025-01-07 08:16:05] Production.INFO: CreateAllLog End
[2025-01-07 08:16:05] Production.INFO: Account Balance End.
[2025-01-07 08:16:05] Production.ERROR: CronJobId end 12
[2025-01-07 08:16:05] Production.INFO: ==20850== Releasing lock...
[2025-01-07 08:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:16:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:16:11] Production.ERROR: CronJobId end10
[2025-01-07 08:16:11] Production.INFO: ==20848== Releasing lock...
[2025-01-07 08:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:16:13] Production.INFO: call_cost start
[2025-01-07 08:16:13] Production.INFO: call_cost end
[2025-01-07 08:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:16:14] Production.INFO: ==20844== Releasing lock...
[2025-01-07 08:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:16:18] Production.INFO: count ==235
[2025-01-07 08:16:18] Production.ERROR: pbx CDR StartTime 2025-01-07 05:16:05 - End Time 2025-01-07 08:16:05
[2025-01-07 08:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193615', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193615', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193615', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193615', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:16:19] Production.INFO: ProcessCDR(1,14193615,1,1,2)
[2025-01-07 08:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193615,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:16:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193615,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:16:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193615,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:16:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193615,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193615', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193615', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:16:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:16:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:16:23] Production.INFO: ==20852== Releasing lock...
[2025-01-07 08:16:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:16:23] Production.INFO: 30 MB #Memory Used#
[2025-01-07 13:17:01] Production.INFO: ==20915== Lock acquired, processing the job...
[2025-01-07 13:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:17:01] Production.INFO: neon service started
[2025-01-07 13:17:01] Production.INFO: neon service started
[2025-01-07 13:17:01] Production.INFO: ==20915== Releasing lock...
[2025-01-07 13:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:17:02] Production.INFO: ==20917== Lock acquired, processing the job...
[2025-01-07 08:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 13:17:02] Production.INFO: ==20919== Lock acquired, processing the job...
[2025-01-07 13:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:17:02] Production.INFO: ==20919== Releasing lock...
[2025-01-07 13:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:17:02] Production.INFO: ==20917== Releasing lock...
[2025-01-07 08:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:17:03] Production.INFO: ==20928== Lock acquired, processing the job...
[2025-01-07 08:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:17:03] Production.INFO: ==20932== Lock acquired, processing the job...
[2025-01-07 08:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:17:03] Production.INFO: Account Balance Start.
[2025-01-07 08:17:03] Production.INFO: CreateAllLog Start
[2025-01-07 08:17:03] Production.INFO: 117
[2025-01-07 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-07 08:17:03] Production.INFO: ==20922== Lock acquired, processing the job...
[2025-01-07 08:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:17:03] Production.INFO: Date 2024-12-08
[2025-01-07 08:17:03] Production.INFO: count ==21
[2025-01-07 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-07 08:17:03] Production.INFO: count ==21
[2025-01-07 08:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193617') start
[2025-01-07 08:17:03] Production.INFO: ==20924== Lock acquired, processing the job...
[2025-01-07 08:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:17:03] Production.INFO: ==20926== Lock acquired, processing the job...
[2025-01-07 08:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:17:03] Production.INFO: ==20930== Lock acquired, processing the job...
[2025-01-07 08:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:17:03] Production.INFO: Date 2024-12-09
[2025-01-07 08:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193617') end
[2025-01-07 08:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:17:04] Production.INFO: 1
[2025-01-07 08:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:17:04] Production.INFO: Date 2024-12-10
[2025-01-07 08:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:17:04] Production.INFO: ==20932== Releasing lock...
[2025-01-07 08:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:17:04] Production.INFO: Date 2024-12-11
[2025-01-07 08:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:17:04] Production.ERROR: done
[2025-01-07 08:17:04] Production.INFO: Date 2024-12-12
[2025-01-07 08:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:17:04] Production.INFO: Date 2024-12-13
[2025-01-07 08:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:17:04] Production.INFO: Date 2024-12-14
[2025-01-07 08:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:17:04] Production.INFO: Date 2024-12-15
[2025-01-07 08:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:17:04] Production.INFO: ==20924== Releasing lock...
[2025-01-07 08:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:17:04] Production.ERROR: done
[2025-01-07 08:17:04] Production.INFO: Date 2024-12-16
[2025-01-07 08:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:17:04] Production.INFO: Date 2024-12-17
[2025-01-07 08:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:17:04] Production.INFO: Date 2024-12-18
[2025-01-07 08:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:17:04] Production.INFO: Date 2024-12-19
[2025-01-07 08:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:17:04] Production.INFO: Date 2024-12-20
[2025-01-07 08:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:17:04] Production.INFO: Date 2024-12-21
[2025-01-07 08:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:17:04] Production.INFO: Date 2024-12-22
[2025-01-07 08:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:17:04] Production.INFO: Date 2024-12-23
[2025-01-07 08:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:17:04] Production.INFO: Date 2024-12-24
[2025-01-07 08:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:17:04] Production.INFO: Date 2024-12-25
[2025-01-07 08:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:17:04] Production.INFO: Date 2024-12-26
[2025-01-07 08:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:17:04] Production.INFO: Date 2024-12-27
[2025-01-07 08:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:17:04] Production.INFO: Date 2024-12-28
[2025-01-07 08:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:17:04] Production.INFO: Date 2024-12-29
[2025-01-07 08:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:17:04] Production.INFO: Date 2024-12-30
[2025-01-07 08:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:17:05] Production.INFO: Date 2024-12-31
[2025-01-07 08:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:17:05] Production.INFO: Date 2025-01-01
[2025-01-07 08:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:17:05] Production.INFO: Date 2025-01-02
[2025-01-07 08:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:17:05] Production.INFO: Date 2025-01-03
[2025-01-07 08:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:17:05] Production.INFO: Date 2025-01-04
[2025-01-07 08:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:17:05] Production.INFO: Date 2025-01-05
[2025-01-07 08:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:17:05] Production.INFO: Date 2025-01-06
[2025-01-07 08:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:17:05] Production.INFO: Date 2025-01-07
[2025-01-07 08:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:17:05] Production.INFO: Total Charge 0
[2025-01-07 08:17:05] Production.INFO: CreateAllLog End
[2025-01-07 08:17:05] Production.INFO: Account Balance End.
[2025-01-07 08:17:05] Production.ERROR: CronJobId end 12
[2025-01-07 08:17:05] Production.INFO: ==20928== Releasing lock...
[2025-01-07 08:17:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:17:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:17:05
[end_date_ymd] => 2025-01-07 08:17:05
[RateCDR] => 1
)
[2025-01-07 08:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 05:17:05' and `end` < '2025-01-07 08:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 08:17:11] Production.ERROR: CronJobId end10
[2025-01-07 08:17:11] Production.INFO: ==20926== Releasing lock...
[2025-01-07 08:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:17:14] Production.INFO: call_cost start
[2025-01-07 08:17:14] Production.INFO: call_cost end
[2025-01-07 08:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:17:14] Production.INFO: ==20922== Releasing lock...
[2025-01-07 08:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:17:18] Production.INFO: count ==249
[2025-01-07 08:17:18] Production.ERROR: pbx CDR StartTime 2025-01-07 05:17:05 - End Time 2025-01-07 08:17:05
[2025-01-07 08:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193620', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193620', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193620', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193620', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:17:18] Production.INFO: ProcessCDR(1,14193620,1,1,2)
[2025-01-07 08:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193620,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:17:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193620,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:17:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193620,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:17:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193620,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193620', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193620', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:17:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:17:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:17:23] Production.INFO: ==20930== Releasing lock...
[2025-01-07 08:17:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:17:23] Production.INFO: 30.25 MB #Memory Used#
[2025-01-07 13:18:02] Production.INFO: ==20997== Lock acquired, processing the job...
[2025-01-07 13:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:18:02] Production.INFO: neon service started
[2025-01-07 13:18:02] Production.INFO: neon service started
[2025-01-07 13:18:02] Production.INFO: ==20997== Releasing lock...
[2025-01-07 13:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:18:02] Production.INFO: ==20999== Lock acquired, processing the job...
[2025-01-07 08:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:18:03] Production.INFO: ==20999== Releasing lock...
[2025-01-07 08:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:18:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 13:18:03] Production.INFO: ==21001== Lock acquired, processing the job...
[2025-01-07 13:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:18:03] Production.INFO: ==21001== Releasing lock...
[2025-01-07 13:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:18:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:18:03] Production.INFO: ==21007== Lock acquired, processing the job...
[2025-01-07 08:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:18:04] Production.INFO: ==21003== Lock acquired, processing the job...
[2025-01-07 08:18:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:18:04] Production.INFO: ==21013== Lock acquired, processing the job...
[2025-01-07 08:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:18:04] Production.INFO: ==21005== Lock acquired, processing the job...
[2025-01-07 08:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:18:04] Production.INFO: ==21009== Lock acquired, processing the job...
[2025-01-07 08:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:18:04] Production.INFO: ==21011== Lock acquired, processing the job...
[2025-01-07 08:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:18:04] Production.INFO: count ==21
[2025-01-07 08:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:18:04] Production.INFO: count ==21
[2025-01-07 08:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193622') start
[2025-01-07 08:18:04] Production.INFO: Account Balance Start.
[2025-01-07 08:18:04] Production.INFO: CreateAllLog Start
[2025-01-07 08:18:04] Production.INFO: 117
[2025-01-07 08:18:04] Production.INFO: Date 2024-12-08
[2025-01-07 08:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193622') end
[2025-01-07 08:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:18:04] Production.INFO: 1
[2025-01-07 08:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:18:04] Production.INFO: Date 2024-12-09
[2025-01-07 08:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:18:04] Production.INFO: Date 2024-12-10
[2025-01-07 08:18:04] Production.INFO: ==21013== Releasing lock...
[2025-01-07 08:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:18:04] Production.ERROR: done
[2025-01-07 08:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:18:04] Production.INFO: Date 2024-12-11
[2025-01-07 08:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:18:04] Production.INFO: Date 2024-12-12
[2025-01-07 08:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:18:04] Production.INFO: Date 2024-12-13
[2025-01-07 08:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:18:04] Production.INFO: Date 2024-12-14
[2025-01-07 08:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:18:04] Production.INFO: ==21005== Releasing lock...
[2025-01-07 08:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:18:04] Production.INFO: Date 2024-12-15
[2025-01-07 08:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:18:04] Production.ERROR: done
[2025-01-07 08:18:04] Production.INFO: Date 2024-12-16
[2025-01-07 08:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:18:04] Production.INFO: Date 2024-12-17
[2025-01-07 08:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:18:04] Production.INFO: Date 2024-12-18
[2025-01-07 08:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:18:04] Production.INFO: Date 2024-12-19
[2025-01-07 08:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:18:04] Production.INFO: Date 2024-12-20
[2025-01-07 08:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:18:05] Production.INFO: Date 2024-12-21
[2025-01-07 08:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:18:05] Production.INFO: Date 2024-12-22
[2025-01-07 08:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:18:05] Production.INFO: Date 2024-12-23
[2025-01-07 08:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:18:05] Production.INFO: Date 2024-12-24
[2025-01-07 08:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:18:05] Production.INFO: Date 2024-12-25
[2025-01-07 08:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:18:05] Production.INFO: Date 2024-12-26
[2025-01-07 08:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:18:05] Production.INFO: Date 2024-12-27
[2025-01-07 08:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:18:05] Production.INFO: Date 2024-12-28
[2025-01-07 08:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:18:05] Production.INFO: Date 2024-12-29
[2025-01-07 08:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:18:05] Production.INFO: Date 2024-12-30
[2025-01-07 08:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:18:05] Production.INFO: Date 2024-12-31
[2025-01-07 08:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:18:05] Production.INFO: Date 2025-01-01
[2025-01-07 08:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:18:05] Production.INFO: Date 2025-01-02
[2025-01-07 08:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:18:05] Production.INFO: Date 2025-01-03
[2025-01-07 08:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:18:05] Production.INFO: Date 2025-01-04
[2025-01-07 08:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:18:05] Production.INFO: Date 2025-01-05
[2025-01-07 08:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:18:05] Production.INFO: Date 2025-01-06
[2025-01-07 08:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:18:05] Production.INFO: Date 2025-01-07
[2025-01-07 08:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:18:05] Production.INFO: Total Charge 0
[2025-01-07 08:18:05] Production.INFO: CreateAllLog End
[2025-01-07 08:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:18:05
[end_date_ymd] => 2025-01-07 08:18:05
[RateCDR] => 1
)
[2025-01-07 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-07 05:18:05' and `end` < '2025-01-07 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-07 08:18:05] Production.INFO: Account Balance End.
[2025-01-07 08:18:05] Production.ERROR: CronJobId end 12
[2025-01-07 08:18:05] Production.INFO: ==21009== Releasing lock...
[2025-01-07 08:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:18:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:18:12] Production.ERROR: CronJobId end10
[2025-01-07 08:18:12] Production.INFO: ==21007== Releasing lock...
[2025-01-07 08:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:18:14] Production.INFO: call_cost start
[2025-01-07 08:18:14] Production.INFO: call_cost end
[2025-01-07 08:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:18:14] Production.INFO: ==21003== Releasing lock...
[2025-01-07 08:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:18:18] Production.INFO: count ==265
[2025-01-07 08:18:18] Production.ERROR: pbx CDR StartTime 2025-01-07 05:18:05 - End Time 2025-01-07 08:18:05
[2025-01-07 08:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193625', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193625', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193625', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193625', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:18:18] Production.INFO: ProcessCDR(1,14193625,1,1,2)
[2025-01-07 08:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193625,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193625,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193625,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193625,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193625', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193625', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:18:22] Production.INFO: ==21011== Releasing lock...
[2025-01-07 08:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:18:22] Production.INFO: 30.25 MB #Memory Used#
[2025-01-07 13:19:01] Production.INFO: ==21065== Lock acquired, processing the job...
[2025-01-07 13:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:19:01] Production.INFO: neon service started
[2025-01-07 13:19:01] Production.INFO: neon service started
[2025-01-07 13:19:01] Production.INFO: ==21065== Releasing lock...
[2025-01-07 13:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:19:02] Production.INFO: ==21067== Lock acquired, processing the job...
[2025-01-07 08:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:19:02] Production.INFO: ==21067== Releasing lock...
[2025-01-07 08:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 13:19:02] Production.INFO: ==21069== Lock acquired, processing the job...
[2025-01-07 13:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:19:02] Production.INFO: ==21069== Releasing lock...
[2025-01-07 13:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:19:03] Production.INFO: ==21082== Lock acquired, processing the job...
[2025-01-07 08:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:19:03] Production.INFO: ==21078== Lock acquired, processing the job...
[2025-01-07 08:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:19:03] Production.INFO: ==21072== Lock acquired, processing the job...
[2025-01-07 08:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:19:03] Production.INFO: ==21074== Lock acquired, processing the job...
[2025-01-07 08:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:19:03] Production.INFO: Account Balance Start.
[2025-01-07 08:19:03] Production.INFO: CreateAllLog Start
[2025-01-07 08:19:03] Production.INFO: 117
[2025-01-07 08:19:03] Production.INFO: Date 2024-12-08
[2025-01-07 08:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:19:03] Production.INFO: count ==21
[2025-01-07 08:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:19:03] Production.INFO: count ==21
[2025-01-07 08:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193626') start
[2025-01-07 08:19:03] Production.INFO: ==21076== Lock acquired, processing the job...
[2025-01-07 08:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:19:03] Production.INFO: ==21080== Lock acquired, processing the job...
[2025-01-07 08:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:19:03] Production.INFO: Date 2024-12-09
[2025-01-07 08:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:19:03] Production.INFO: Date 2024-12-10
[2025-01-07 08:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:19:03] Production.INFO: Date 2024-12-11
[2025-01-07 08:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193626') end
[2025-01-07 08:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:19:03] Production.INFO: 1
[2025-01-07 08:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:19:03] Production.INFO: Date 2024-12-12
[2025-01-07 08:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:19:03] Production.INFO: ==21082== Releasing lock...
[2025-01-07 08:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:19:03] Production.INFO: Date 2024-12-13
[2025-01-07 08:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:19:03] Production.INFO: Date 2024-12-14
[2025-01-07 08:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:19:03] Production.INFO: ==21074== Releasing lock...
[2025-01-07 08:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:19:03] Production.INFO: Date 2024-12-15
[2025-01-07 08:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:19:03] Production.ERROR: done
[2025-01-07 08:19:03] Production.INFO: Date 2024-12-16
[2025-01-07 08:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:19:03] Production.INFO: Date 2024-12-17
[2025-01-07 08:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:19:03] Production.INFO: Date 2024-12-18
[2025-01-07 08:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:19:03] Production.INFO: Date 2024-12-19
[2025-01-07 08:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:19:03] Production.INFO: Date 2024-12-20
[2025-01-07 08:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:19:03] Production.INFO: Date 2024-12-21
[2025-01-07 08:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:19:03] Production.INFO: Date 2024-12-22
[2025-01-07 08:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:19:03] Production.INFO: Date 2024-12-23
[2025-01-07 08:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:19:04] Production.INFO: Date 2024-12-24
[2025-01-07 08:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:19:04] Production.INFO: Date 2024-12-25
[2025-01-07 08:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:19:04] Production.ERROR: done
[2025-01-07 08:19:04] Production.INFO: Date 2024-12-26
[2025-01-07 08:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:19:04] Production.INFO: Date 2024-12-27
[2025-01-07 08:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:19:04] Production.INFO: Date 2024-12-28
[2025-01-07 08:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:19:04] Production.INFO: Date 2024-12-29
[2025-01-07 08:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:19:04] Production.INFO: Date 2024-12-30
[2025-01-07 08:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:19:04] Production.INFO: Date 2024-12-31
[2025-01-07 08:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:19:04] Production.INFO: Date 2025-01-01
[2025-01-07 08:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:19:04] Production.INFO: Date 2025-01-02
[2025-01-07 08:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:19:04] Production.INFO: Date 2025-01-03
[2025-01-07 08:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:19:04] Production.INFO: Date 2025-01-04
[2025-01-07 08:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:19:04] Production.INFO: Date 2025-01-05
[2025-01-07 08:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:19:04] Production.INFO: Date 2025-01-06
[2025-01-07 08:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:19:04] Production.INFO: Date 2025-01-07
[2025-01-07 08:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:19:04] Production.INFO: Total Charge 0
[2025-01-07 08:19:04] Production.INFO: CreateAllLog End
[2025-01-07 08:19:04] Production.INFO: Account Balance End.
[2025-01-07 08:19:04] Production.ERROR: CronJobId end 12
[2025-01-07 08:19:04] Production.INFO: ==21078== Releasing lock...
[2025-01-07 08:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:19:05
[end_date_ymd] => 2025-01-07 08:19:05
[RateCDR] => 1
)
[2025-01-07 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-07 05:19:05' and `end` < '2025-01-07 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-07 08:19:11] Production.ERROR: CronJobId end10
[2025-01-07 08:19:11] Production.INFO: ==21076== Releasing lock...
[2025-01-07 08:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:19:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:19:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:19:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:19:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:19:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:19:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:19:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:19:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:19:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:19:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:19:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:19:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:19:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:19:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:19:12] Production.INFO: call_cost start
[2025-01-07 08:19:12] Production.INFO: call_cost end
[2025-01-07 08:19:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:19:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:19:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:19:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:19:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:19:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:19:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:19:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:19:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:19:13] Production.INFO: ==21072== Releasing lock...
[2025-01-07 08:19:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:19:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:19:18] Production.INFO: count ==286
[2025-01-07 08:19:18] Production.ERROR: pbx CDR StartTime 2025-01-07 05:19:05 - End Time 2025-01-07 08:19:05
[2025-01-07 08:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193630', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193630', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193630', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193630', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:19:18] Production.INFO: ProcessCDR(1,14193630,1,1,2)
[2025-01-07 08:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193630,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193630,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193630,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:19:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193630,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193630', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193630', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:19:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:19:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:19:23] Production.INFO: ==21080== Releasing lock...
[2025-01-07 08:19:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:19:23] Production.INFO: 30.5 MB #Memory Used#
[2025-01-07 13:20:02] Production.INFO: ==21137== Lock acquired, processing the job...
[2025-01-07 13:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:20:02] Production.INFO: neon service started
[2025-01-07 13:20:02] Production.INFO: neon service started
[2025-01-07 13:20:02] Production.INFO: ==21137== Releasing lock...
[2025-01-07 13:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:20:02] Production.INFO: ==21139== Lock acquired, processing the job...
[2025-01-07 08:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 13:20:02] Production.INFO: ==21141== Lock acquired, processing the job...
[2025-01-07 13:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:20:02] Production.INFO: ==21139== Releasing lock...
[2025-01-07 08:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 13:20:02] Production.INFO: ==21141== Releasing lock...
[2025-01-07 13:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:20:03] Production.INFO: ==21143== Lock acquired, processing the job...
[2025-01-07 08:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 08:20:03] Production.INFO: ==21145== Lock acquired, processing the job...
[2025-01-07 08:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 08:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 08:20:03] Production.ERROR: CronJob PID - 21145
[2025-01-07 08:20:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-07 08:20:03] Production.ERROR: CronJob ID - 5
[2025-01-07 08:20:03] Production.ERROR: CronJob Last Run Time 2025-01-07 08:20:00
[2025-01-07 08:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 08:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 08:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 08:20:03] Production.INFO: ==21143== Releasing lock...
[2025-01-07 08:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 08:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 08:20:03] Production.INFO: ==21149== Lock acquired, processing the job...
[2025-01-07 08:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:20:04] Production.INFO: ==21153== Lock acquired, processing the job...
[2025-01-07 08:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:20:04] Production.INFO: ==21147== Lock acquired, processing the job...
[2025-01-07 08:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:20:04] Production.INFO: ==21151== Lock acquired, processing the job...
[2025-01-07 08:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:20:04] Production.INFO: ==21155== Lock acquired, processing the job...
[2025-01-07 08:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 08:20:04] Production.INFO: ==21157== Lock acquired, processing the job...
[2025-01-07 08:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:20:04] Production.ERROR: done
[2025-01-07 08:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:20:04] Production.INFO: Account Balance Start.
[2025-01-07 08:20:04] Production.INFO: CreateAllLog Start
[2025-01-07 08:20:04] Production.INFO: 117
[2025-01-07 08:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:20:04] Production.INFO: Date 2024-12-08
[2025-01-07 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-07 08:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:20:04] Production.INFO: count ==21
[2025-01-07 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-07 08:20:04] Production.INFO: count ==21
[2025-01-07 08:20:04] Production.INFO: Date 2024-12-09
[2025-01-07 08:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193633') start
[2025-01-07 08:20:04] Production.ERROR: done
[2025-01-07 08:20:04] Production.INFO: Date 2024-12-10
[2025-01-07 08:20:04] Production.INFO: ==21147== Releasing lock...
[2025-01-07 08:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:20:04] Production.INFO: Date 2024-12-11
[2025-01-07 08:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:20:05] Production.ERROR: done
[2025-01-07 08:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14193633') end
[2025-01-07 08:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:20:05] Production.INFO: 1
[2025-01-07 08:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 08:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14193636', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 08:20:05] Production.INFO: Date 2024-12-12
[2025-01-07 08:20:05] Production.INFO: ==21157== Releasing lock...
[2025-01-07 08:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:20:05] Production.INFO: Date 2024-12-13
[2025-01-07 08:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:20:05] Production.INFO: Date 2024-12-14
[2025-01-07 08:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:20:05] Production.INFO: Date 2024-12-15
[2025-01-07 08:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:20:05] Production.INFO: Date 2024-12-16
[2025-01-07 08:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:20:05] Production.INFO: Date 2024-12-17
[2025-01-07 08:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:20:05] Production.INFO: Date 2024-12-18
[2025-01-07 08:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:20:05] Production.INFO: Date 2024-12-19
[2025-01-07 08:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:20:05] Production.INFO: Date 2024-12-20
[2025-01-07 08:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:20:05] Production.INFO: Date 2024-12-21
[2025-01-07 08:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:20:05] Production.INFO: Date 2024-12-22
[2025-01-07 08:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:20:05] Production.INFO: Date 2024-12-23
[2025-01-07 08:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:20:05] Production.INFO: Date 2024-12-24
[2025-01-07 08:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:20:05] Production.INFO: Date 2024-12-25
[2025-01-07 08:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:20:05] Production.INFO: Date 2024-12-26
[2025-01-07 08:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:20:06] Production.INFO: Date 2024-12-27
[2025-01-07 08:20:06] Production.INFO: Reseller ==> 0
[2025-01-07 08:20:06] Production.INFO: Date 2024-12-28
[2025-01-07 08:20:06] Production.INFO: Reseller ==> 0
[2025-01-07 08:20:06] Production.INFO: Date 2024-12-29
[2025-01-07 08:20:06] Production.INFO: Reseller ==> 0
[2025-01-07 08:20:06] Production.INFO: Date 2024-12-30
[2025-01-07 08:20:06] Production.INFO: Reseller ==> 0
[2025-01-07 08:20:06] Production.INFO: Date 2024-12-31
[2025-01-07 08:20:06] Production.INFO: Reseller ==> 0
[2025-01-07 08:20:06] Production.INFO: Date 2025-01-01
[2025-01-07 08:20:06] Production.INFO: Reseller ==> 0
[2025-01-07 08:20:06] Production.INFO: Date 2025-01-02
[2025-01-07 08:20:06] Production.INFO: Reseller ==> 0
[2025-01-07 08:20:06] Production.INFO: Date 2025-01-03
[2025-01-07 08:20:06] Production.INFO: Reseller ==> 0
[2025-01-07 08:20:06] Production.INFO: Date 2025-01-04
[2025-01-07 08:20:06] Production.INFO: Reseller ==> 0
[2025-01-07 08:20:06] Production.INFO: Date 2025-01-05
[2025-01-07 08:20:06] Production.INFO: Reseller ==> 0
[2025-01-07 08:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:20:06
[end_date_ymd] => 2025-01-07 08:20:06
[RateCDR] => 1
)
[2025-01-07 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-07 05:20:06' and `end` < '2025-01-07 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-07 08:20:06] Production.INFO: Date 2025-01-06
[2025-01-07 08:20:06] Production.INFO: Reseller ==> 0
[2025-01-07 08:20:06] Production.INFO: Date 2025-01-07
[2025-01-07 08:20:06] Production.INFO: Reseller ==> 0
[2025-01-07 08:20:06] Production.INFO: Total Charge 0
[2025-01-07 08:20:06] Production.INFO: CreateAllLog End
[2025-01-07 08:20:06] Production.INFO: Account Balance End.
[2025-01-07 08:20:06] Production.ERROR: CronJobId end 12
[2025-01-07 08:20:06] Production.INFO: ==21151== Releasing lock...
[2025-01-07 08:20:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:20:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14193636', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 08:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 08:20:09] Production.INFO: ProcessCDR(1,14193636,1,1,2)
[2025-01-07 08:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14193636,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14193636,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:20:09] Production.INFO: ==21155== Releasing lock...
[2025-01-07 08:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 08:20:09] Production.INFO: 26 MB #Memory Used#
[2025-01-07 08:20:13] Production.ERROR: CronJobId end10
[2025-01-07 08:20:13] Production.INFO: ==21149== Releasing lock...
[2025-01-07 08:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:20:15] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:20:15] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:20:15] Production.INFO: call_cost start
[2025-01-07 08:20:15] Production.INFO: call_cost end
[2025-01-07 08:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:20:16] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:20:16] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:20:16] Production.INFO: ==21145== Releasing lock...
[2025-01-07 08:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:20:19] Production.INFO: count ==298
[2025-01-07 08:20:19] Production.ERROR: pbx CDR StartTime 2025-01-07 05:20:06 - End Time 2025-01-07 08:20:06
[2025-01-07 08:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193635', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193635', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193635', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193635', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:20:19] Production.INFO: ProcessCDR(1,14193635,1,1,2)
[2025-01-07 08:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193635,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193635,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193635,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193635,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193635', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193635', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:20:22] Production.INFO: ==21153== Releasing lock...
[2025-01-07 08:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:20:22] Production.INFO: 31 MB #Memory Used#
[2025-01-07 13:21:01] Production.INFO: ==21211== Lock acquired, processing the job...
[2025-01-07 13:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:21:01] Production.INFO: neon service started
[2025-01-07 13:21:01] Production.INFO: neon service started
[2025-01-07 13:21:01] Production.INFO: ==21211== Releasing lock...
[2025-01-07 13:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 13:21:02] Production.INFO: ==21215== Lock acquired, processing the job...
[2025-01-07 13:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:21:02] Production.INFO: ==21215== Releasing lock...
[2025-01-07 13:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:21:02] Production.INFO: ==21213== Lock acquired, processing the job...
[2025-01-07 08:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:21:02] Production.INFO: ==21213== Releasing lock...
[2025-01-07 08:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:21:03] Production.INFO: ==21222== Lock acquired, processing the job...
[2025-01-07 08:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:21:03] Production.INFO: ==21224== Lock acquired, processing the job...
[2025-01-07 08:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:21:03] Production.INFO: Account Balance Start.
[2025-01-07 08:21:03] Production.INFO: CreateAllLog Start
[2025-01-07 08:21:03] Production.INFO: 117
[2025-01-07 08:21:03] Production.INFO: Date 2024-12-08
[2025-01-07 08:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:21:03] Production.INFO: ==21218== Lock acquired, processing the job...
[2025-01-07 08:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:21:03] Production.INFO: ==21220== Lock acquired, processing the job...
[2025-01-07 08:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:21:03] Production.INFO: Date 2024-12-09
[2025-01-07 08:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:21:03] Production.INFO: Date 2024-12-10
[2025-01-07 08:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:21:03] Production.INFO: Date 2024-12-11
[2025-01-07 08:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:21:03] Production.INFO: ==21226== Lock acquired, processing the job...
[2025-01-07 08:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:21:03] Production.INFO: Date 2024-12-12
[2025-01-07 08:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:21:03] Production.INFO: Date 2024-12-13
[2025-01-07 08:21:03] Production.INFO: ==21228== Lock acquired, processing the job...
[2025-01-07 08:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:21:03] Production.INFO: Date 2024-12-14
[2025-01-07 08:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:21:03] Production.INFO: Date 2024-12-15
[2025-01-07 08:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:21:03] Production.INFO: Date 2024-12-16
[2025-01-07 08:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:21:03] Production.INFO: Date 2024-12-17
[2025-01-07 08:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:21:03] Production.INFO: ==21220== Releasing lock...
[2025-01-07 08:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:21:03] Production.INFO: Date 2024-12-18
[2025-01-07 08:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:21:03] Production.ERROR: done
[2025-01-07 08:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:21:03] Production.INFO: count ==21
[2025-01-07 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-07 08:21:04] Production.INFO: count ==21
[2025-01-07 08:21:04] Production.INFO: Date 2024-12-19
[2025-01-07 08:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193640') start
[2025-01-07 08:21:04] Production.ERROR: done
[2025-01-07 08:21:04] Production.INFO: Date 2024-12-20
[2025-01-07 08:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193640') end
[2025-01-07 08:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:21:04] Production.INFO: 1
[2025-01-07 08:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:21:04] Production.INFO: ==21228== Releasing lock...
[2025-01-07 08:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:21:04] Production.INFO: Date 2024-12-21
[2025-01-07 08:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:21:04] Production.INFO: Date 2024-12-22
[2025-01-07 08:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:21:04] Production.INFO: Date 2024-12-23
[2025-01-07 08:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:21:04] Production.INFO: Date 2024-12-24
[2025-01-07 08:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:21:04] Production.INFO: Date 2024-12-25
[2025-01-07 08:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:21:04] Production.INFO: Date 2024-12-26
[2025-01-07 08:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:21:04] Production.INFO: Date 2024-12-27
[2025-01-07 08:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:21:04] Production.INFO: Date 2024-12-28
[2025-01-07 08:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:21:04] Production.INFO: Date 2024-12-29
[2025-01-07 08:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:21:04] Production.INFO: Date 2024-12-30
[2025-01-07 08:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:21:04] Production.INFO: Date 2024-12-31
[2025-01-07 08:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:21:04] Production.INFO: Date 2025-01-01
[2025-01-07 08:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:21:04] Production.INFO: Date 2025-01-02
[2025-01-07 08:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:21:04] Production.INFO: Date 2025-01-03
[2025-01-07 08:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:21:05] Production.INFO: Date 2025-01-04
[2025-01-07 08:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:21:05] Production.INFO: Date 2025-01-05
[2025-01-07 08:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:21:05] Production.INFO: Date 2025-01-06
[2025-01-07 08:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:21:05] Production.INFO: Date 2025-01-07
[2025-01-07 08:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:21:05
[end_date_ymd] => 2025-01-07 08:21:05
[RateCDR] => 1
)
[2025-01-07 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-07 05:21:05' and `end` < '2025-01-07 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-07 08:21:05] Production.INFO: Total Charge 0
[2025-01-07 08:21:05] Production.INFO: CreateAllLog End
[2025-01-07 08:21:05] Production.INFO: Account Balance End.
[2025-01-07 08:21:05] Production.ERROR: CronJobId end 12
[2025-01-07 08:21:05] Production.INFO: ==21224== Releasing lock...
[2025-01-07 08:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:21:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:21:10] Production.ERROR: CronJobId end10
[2025-01-07 08:21:10] Production.INFO: ==21222== Releasing lock...
[2025-01-07 08:21:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:21:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:21:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:21:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:21:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:21:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:21:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:21:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:21:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:21:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:21:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:21:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:21:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:21:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:21:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:21:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:21:13] Production.INFO: call_cost start
[2025-01-07 08:21:13] Production.INFO: call_cost end
[2025-01-07 08:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:21:14] Production.INFO: ==21218== Releasing lock...
[2025-01-07 08:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:21:18] Production.INFO: count ==312
[2025-01-07 08:21:18] Production.ERROR: pbx CDR StartTime 2025-01-07 05:21:05 - End Time 2025-01-07 08:21:05
[2025-01-07 08:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193641', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193641', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193641', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193641', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:21:18] Production.INFO: ProcessCDR(1,14193641,1,1,2)
[2025-01-07 08:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193641,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193641,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193641,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193641,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193641', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193641', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:21:21] Production.INFO: ==21226== Releasing lock...
[2025-01-07 08:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:21:21] Production.INFO: 31 MB #Memory Used#
[2025-01-07 13:22:01] Production.INFO: ==21281== Lock acquired, processing the job...
[2025-01-07 13:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:22:01] Production.INFO: neon service started
[2025-01-07 13:22:02] Production.INFO: neon service started
[2025-01-07 13:22:02] Production.INFO: ==21281== Releasing lock...
[2025-01-07 13:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:22:02] Production.INFO: ==21283== Lock acquired, processing the job...
[2025-01-07 08:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 13:22:02] Production.INFO: ==21285== Lock acquired, processing the job...
[2025-01-07 13:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:22:02] Production.INFO: ==21285== Releasing lock...
[2025-01-07 13:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:22:02] Production.INFO: ==21283== Releasing lock...
[2025-01-07 08:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:22:03] Production.INFO: ==21288== Lock acquired, processing the job...
[2025-01-07 08:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:22:03] Production.INFO: ==21292== Lock acquired, processing the job...
[2025-01-07 08:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:22:03] Production.INFO: ==21296== Lock acquired, processing the job...
[2025-01-07 08:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:22:03] Production.INFO: ==21290== Lock acquired, processing the job...
[2025-01-07 08:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:22:04] Production.INFO: ==21294== Lock acquired, processing the job...
[2025-01-07 08:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:22:04] Production.INFO: ==21298== Lock acquired, processing the job...
[2025-01-07 08:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:22:04] Production.INFO: Account Balance Start.
[2025-01-07 08:22:04] Production.INFO: CreateAllLog Start
[2025-01-07 08:22:04] Production.INFO: 117
[2025-01-07 08:22:04] Production.ERROR: done
[2025-01-07 08:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:22:04] Production.INFO: Date 2024-12-08
[2025-01-07 08:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:22:04] Production.INFO: count ==21
[2025-01-07 08:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:22:04] Production.INFO: count ==21
[2025-01-07 08:22:04] Production.INFO: Date 2024-12-09
[2025-01-07 08:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193644') start
[2025-01-07 08:22:04] Production.ERROR: done
[2025-01-07 08:22:04] Production.INFO: Date 2024-12-10
[2025-01-07 08:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:22:04] Production.INFO: ==21290== Releasing lock...
[2025-01-07 08:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193644') end
[2025-01-07 08:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:22:04] Production.INFO: 1
[2025-01-07 08:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:22:04] Production.INFO: ==21298== Releasing lock...
[2025-01-07 08:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:22:04] Production.INFO: Date 2024-12-11
[2025-01-07 08:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:22:04] Production.INFO: Date 2024-12-12
[2025-01-07 08:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:22:04] Production.INFO: Date 2024-12-13
[2025-01-07 08:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:22:04] Production.INFO: Date 2024-12-14
[2025-01-07 08:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:22:04] Production.INFO: Date 2024-12-15
[2025-01-07 08:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:22:04] Production.INFO: Date 2024-12-16
[2025-01-07 08:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:22:05] Production.INFO: Date 2024-12-17
[2025-01-07 08:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:22:05] Production.INFO: Date 2024-12-18
[2025-01-07 08:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:22:05] Production.INFO: Date 2024-12-19
[2025-01-07 08:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:22:05] Production.INFO: Date 2024-12-20
[2025-01-07 08:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:22:05] Production.INFO: Date 2024-12-21
[2025-01-07 08:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:22:05] Production.INFO: Date 2024-12-22
[2025-01-07 08:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:22:05] Production.INFO: Date 2024-12-23
[2025-01-07 08:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:22:05] Production.INFO: Date 2024-12-24
[2025-01-07 08:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:22:05] Production.INFO: Date 2024-12-25
[2025-01-07 08:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:22:05] Production.INFO: Date 2024-12-26
[2025-01-07 08:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:22:05] Production.INFO: Date 2024-12-27
[2025-01-07 08:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:22:05] Production.INFO: Date 2024-12-28
[2025-01-07 08:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:22:05
[end_date_ymd] => 2025-01-07 08:22:05
[RateCDR] => 1
)
[2025-01-07 08:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 05:22:05' and `end` < '2025-01-07 08:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 08:22:05] Production.INFO: Date 2024-12-29
[2025-01-07 08:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:22:05] Production.INFO: Date 2024-12-30
[2025-01-07 08:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:22:05] Production.INFO: Date 2024-12-31
[2025-01-07 08:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:22:05] Production.INFO: Date 2025-01-01
[2025-01-07 08:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:22:05] Production.INFO: Date 2025-01-02
[2025-01-07 08:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:22:05] Production.INFO: Date 2025-01-03
[2025-01-07 08:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:22:05] Production.INFO: Date 2025-01-04
[2025-01-07 08:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:22:05] Production.INFO: Date 2025-01-05
[2025-01-07 08:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:22:05] Production.INFO: Date 2025-01-06
[2025-01-07 08:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:22:05] Production.INFO: Date 2025-01-07
[2025-01-07 08:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:22:05] Production.INFO: Total Charge 0
[2025-01-07 08:22:05] Production.INFO: CreateAllLog End
[2025-01-07 08:22:05] Production.INFO: Account Balance End.
[2025-01-07 08:22:05] Production.ERROR: CronJobId end 12
[2025-01-07 08:22:05] Production.INFO: ==21294== Releasing lock...
[2025-01-07 08:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:22:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:22:11] Production.ERROR: CronJobId end10
[2025-01-07 08:22:11] Production.INFO: ==21292== Releasing lock...
[2025-01-07 08:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:22:13] Production.INFO: call_cost start
[2025-01-07 08:22:13] Production.INFO: call_cost end
[2025-01-07 08:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:22:14] Production.INFO: ==21288== Releasing lock...
[2025-01-07 08:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:22:19] Production.INFO: count ==328
[2025-01-07 08:22:19] Production.ERROR: pbx CDR StartTime 2025-01-07 05:22:05 - End Time 2025-01-07 08:22:05
[2025-01-07 08:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193646', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193646', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193646', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193646', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:22:19] Production.INFO: ProcessCDR(1,14193646,1,1,2)
[2025-01-07 08:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193646,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:22:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193646,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:22:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193646,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:22:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193646,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:22:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193646', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:22:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193646', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:22:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:22:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:22:24] Production.INFO: ==21296== Releasing lock...
[2025-01-07 08:22:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:22:24] Production.INFO: 30.75 MB #Memory Used#
[2025-01-07 13:23:01] Production.INFO: ==21352== Lock acquired, processing the job...
[2025-01-07 13:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:23:01] Production.INFO: neon service started
[2025-01-07 13:23:01] Production.INFO: neon service started
[2025-01-07 13:23:01] Production.INFO: ==21352== Releasing lock...
[2025-01-07 13:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 13:23:01] Production.INFO: ==21356== Lock acquired, processing the job...
[2025-01-07 13:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:23:01] Production.INFO: ==21356== Releasing lock...
[2025-01-07 13:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:23:01] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:23:02] Production.INFO: ==21354== Lock acquired, processing the job...
[2025-01-07 08:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:23:02] Production.INFO: ==21354== Releasing lock...
[2025-01-07 08:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:23:03] Production.INFO: ==21363== Lock acquired, processing the job...
[2025-01-07 08:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:23:03] Production.INFO: ==21369== Lock acquired, processing the job...
[2025-01-07 08:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:23:03] Production.INFO: ==21358== Lock acquired, processing the job...
[2025-01-07 08:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:23:03] Production.INFO: count ==21
[2025-01-07 08:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:23:03] Production.INFO: count ==21
[2025-01-07 08:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193647') start
[2025-01-07 08:23:03] Production.INFO: ==21360== Lock acquired, processing the job...
[2025-01-07 08:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:23:03] Production.INFO: ==21367== Lock acquired, processing the job...
[2025-01-07 08:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:23:03] Production.INFO: ==21365== Lock acquired, processing the job...
[2025-01-07 08:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193647') end
[2025-01-07 08:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:23:03] Production.INFO: 1
[2025-01-07 08:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:23:03] Production.INFO: ==21369== Releasing lock...
[2025-01-07 08:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:23:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:23:03] Production.INFO: Account Balance Start.
[2025-01-07 08:23:03] Production.INFO: CreateAllLog Start
[2025-01-07 08:23:03] Production.INFO: 117
[2025-01-07 08:23:03] Production.INFO: Date 2024-12-08
[2025-01-07 08:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:23:03] Production.INFO: Date 2024-12-09
[2025-01-07 08:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:23:03] Production.ERROR: done
[2025-01-07 08:23:03] Production.INFO: Date 2024-12-10
[2025-01-07 08:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:23:04] Production.INFO: Date 2024-12-11
[2025-01-07 08:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:23:04] Production.INFO: Date 2024-12-12
[2025-01-07 08:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:23:04] Production.INFO: Date 2024-12-13
[2025-01-07 08:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:23:04] Production.ERROR: done
[2025-01-07 08:23:04] Production.INFO: Date 2024-12-14
[2025-01-07 08:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:23:04] Production.INFO: ==21360== Releasing lock...
[2025-01-07 08:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:23:04] Production.INFO: Date 2024-12-15
[2025-01-07 08:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:23:04] Production.INFO: Date 2024-12-16
[2025-01-07 08:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:23:04] Production.INFO: Date 2024-12-17
[2025-01-07 08:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:23:04] Production.INFO: Date 2024-12-18
[2025-01-07 08:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:23:04] Production.INFO: Date 2024-12-19
[2025-01-07 08:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:23:04] Production.INFO: Date 2024-12-20
[2025-01-07 08:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:23:04] Production.INFO: Date 2024-12-21
[2025-01-07 08:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:23:04] Production.INFO: Date 2024-12-22
[2025-01-07 08:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:23:04] Production.INFO: Date 2024-12-23
[2025-01-07 08:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:23:04] Production.INFO: Date 2024-12-24
[2025-01-07 08:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:23:04] Production.INFO: Date 2024-12-25
[2025-01-07 08:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:23:04] Production.INFO: Date 2024-12-26
[2025-01-07 08:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:23:04] Production.INFO: Date 2024-12-27
[2025-01-07 08:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:23:04] Production.INFO: Date 2024-12-28
[2025-01-07 08:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:23:04] Production.INFO: Date 2024-12-29
[2025-01-07 08:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:23:04] Production.INFO: Date 2024-12-30
[2025-01-07 08:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:23:04] Production.INFO: Date 2024-12-31
[2025-01-07 08:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:23:05] Production.INFO: Date 2025-01-01
[2025-01-07 08:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:23:05] Production.INFO: Date 2025-01-02
[2025-01-07 08:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:23:05] Production.INFO: Date 2025-01-03
[2025-01-07 08:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:23:05] Production.INFO: Date 2025-01-04
[2025-01-07 08:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:23:05] Production.INFO: Date 2025-01-05
[2025-01-07 08:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:23:05] Production.INFO: Date 2025-01-06
[2025-01-07 08:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:23:05] Production.INFO: Date 2025-01-07
[2025-01-07 08:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:23:05] Production.INFO: Total Charge 0
[2025-01-07 08:23:05] Production.INFO: CreateAllLog End
[2025-01-07 08:23:05] Production.INFO: Account Balance End.
[2025-01-07 08:23:05] Production.ERROR: CronJobId end 12
[2025-01-07 08:23:05] Production.INFO: ==21365== Releasing lock...
[2025-01-07 08:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:23:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:23:05
[end_date_ymd] => 2025-01-07 08:23:05
[RateCDR] => 1
)
[2025-01-07 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-07 05:23:05' and `end` < '2025-01-07 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-07 08:23:10] Production.ERROR: CronJobId end10
[2025-01-07 08:23:10] Production.INFO: ==21363== Releasing lock...
[2025-01-07 08:23:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:23:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:23:13] Production.INFO: call_cost start
[2025-01-07 08:23:13] Production.INFO: call_cost end
[2025-01-07 08:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:23:14] Production.INFO: ==21358== Releasing lock...
[2025-01-07 08:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:23:18] Production.INFO: count ==350
[2025-01-07 08:23:18] Production.ERROR: pbx CDR StartTime 2025-01-07 05:23:05 - End Time 2025-01-07 08:23:05
[2025-01-07 08:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193651', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193651', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193651', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193651', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:23:18] Production.INFO: ProcessCDR(1,14193651,1,1,2)
[2025-01-07 08:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193651,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:23:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193651,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:23:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193651,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:23:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193651,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193651', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193651', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:23:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:23:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:23:23] Production.INFO: ==21367== Releasing lock...
[2025-01-07 08:23:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:23:23] Production.INFO: 31.5 MB #Memory Used#
[2025-01-07 13:24:02] Production.INFO: ==21426== Lock acquired, processing the job...
[2025-01-07 13:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:24:02] Production.INFO: neon service started
[2025-01-07 13:24:02] Production.INFO: neon service started
[2025-01-07 13:24:02] Production.INFO: ==21426== Releasing lock...
[2025-01-07 13:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:24:02] Production.INFO: ==21429== Lock acquired, processing the job...
[2025-01-07 08:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:24:02] Production.INFO: ==21429== Releasing lock...
[2025-01-07 08:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 13:24:02] Production.INFO: ==21431== Lock acquired, processing the job...
[2025-01-07 13:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:24:02] Production.INFO: ==21431== Releasing lock...
[2025-01-07 13:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:24:03] Production.INFO: ==21433== Lock acquired, processing the job...
[2025-01-07 08:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:24:03] Production.INFO: ==21438== Lock acquired, processing the job...
[2025-01-07 08:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:24:03] Production.INFO: ==21436== Lock acquired, processing the job...
[2025-01-07 08:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:24:04] Production.INFO: ==21436== Releasing lock...
[2025-01-07 08:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:24:04] Production.INFO: ==21444== Lock acquired, processing the job...
[2025-01-07 08:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:24:04] Production.INFO: ==21440== Lock acquired, processing the job...
[2025-01-07 08:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:24:04] Production.INFO: ==21442== Lock acquired, processing the job...
[2025-01-07 08:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:24:04] Production.INFO: Account Balance Start.
[2025-01-07 08:24:04] Production.INFO: CreateAllLog Start
[2025-01-07 08:24:04] Production.INFO: 117
[2025-01-07 08:24:04] Production.INFO: Date 2024-12-08
[2025-01-07 08:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 08: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-07 08:24:04] Production.INFO: count ==21
[2025-01-07 08:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:24:04] Production.INFO: Date 2024-12-09
[2025-01-07 08:24:04] Production.INFO: count ==21
[2025-01-07 08:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193655') start
[2025-01-07 08:24:04] Production.INFO: Date 2024-12-10
[2025-01-07 08:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:24:04] Production.INFO: Date 2024-12-11
[2025-01-07 08:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:24:04] Production.INFO: Date 2024-12-12
[2025-01-07 08:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:24:04] Production.ERROR: done
[2025-01-07 08:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193655') end
[2025-01-07 08:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:24:04] Production.INFO: 1
[2025-01-07 08:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:24:04] Production.INFO: Date 2024-12-13
[2025-01-07 08:24:04] Production.INFO: ==21444== Releasing lock...
[2025-01-07 08:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:24:04] Production.ERROR: done
[2025-01-07 08:24:04] Production.INFO: Date 2024-12-14
[2025-01-07 08:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:24:04] Production.INFO: Date 2024-12-15
[2025-01-07 08:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:24:05] Production.INFO: Date 2024-12-16
[2025-01-07 08:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:24:05] Production.INFO: Date 2024-12-17
[2025-01-07 08:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:24:05] Production.INFO: Date 2024-12-18
[2025-01-07 08:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:24:05] Production.INFO: Date 2024-12-19
[2025-01-07 08:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:24:05] Production.INFO: Date 2024-12-20
[2025-01-07 08:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:24:05] Production.INFO: Date 2024-12-21
[2025-01-07 08:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:24:05] Production.INFO: Date 2024-12-22
[2025-01-07 08:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:24:05] Production.INFO: Date 2024-12-23
[2025-01-07 08:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:24:05] Production.INFO: Date 2024-12-24
[2025-01-07 08:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:24:05] Production.INFO: Date 2024-12-25
[2025-01-07 08:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:24:05] Production.INFO: Date 2024-12-26
[2025-01-07 08:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:24:05] Production.INFO: Date 2024-12-27
[2025-01-07 08:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:24:05] Production.INFO: Date 2024-12-28
[2025-01-07 08:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:24:05] Production.INFO: Date 2024-12-29
[2025-01-07 08:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:24:05] Production.INFO: Date 2024-12-30
[2025-01-07 08:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:24:05] Production.INFO: Date 2024-12-31
[2025-01-07 08:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:24:05] Production.INFO: Date 2025-01-01
[2025-01-07 08:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:24:05] Production.INFO: Date 2025-01-02
[2025-01-07 08:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:24:05] Production.INFO: Date 2025-01-03
[2025-01-07 08:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:24:05] Production.INFO: Date 2025-01-04
[2025-01-07 08:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:24:05] Production.INFO: Date 2025-01-05
[2025-01-07 08:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:24:05] Production.INFO: Date 2025-01-06
[2025-01-07 08:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:24:05] Production.INFO: Date 2025-01-07
[2025-01-07 08:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:24:05] Production.INFO: Total Charge 0
[2025-01-07 08:24:05] Production.INFO: CreateAllLog End
[2025-01-07 08:24:05] Production.INFO: Account Balance End.
[2025-01-07 08:24:06] Production.ERROR: CronJobId end 12
[2025-01-07 08:24:06] Production.INFO: ==21440== Releasing lock...
[2025-01-07 08:24:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:24:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:24:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:24:06
[end_date_ymd] => 2025-01-07 08:24:06
[RateCDR] => 1
)
[2025-01-07 08: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-07 05:24:06' and `end` < '2025-01-07 08: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-07 08:24:12] Production.ERROR: CronJobId end10
[2025-01-07 08:24:12] Production.INFO: ==21438== Releasing lock...
[2025-01-07 08:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:24:13] Production.INFO: call_cost start
[2025-01-07 08:24:13] Production.INFO: call_cost end
[2025-01-07 08:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:24:14] Production.INFO: ==21433== Releasing lock...
[2025-01-07 08:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:24:19] Production.INFO: count ==358
[2025-01-07 08:24:19] Production.ERROR: pbx CDR StartTime 2025-01-07 05:24:06 - End Time 2025-01-07 08:24:06
[2025-01-07 08:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193656', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193656', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193656', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193656', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:24:19] Production.INFO: ProcessCDR(1,14193656,1,1,2)
[2025-01-07 08:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193656,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:24:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193656,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:24:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193656,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:24:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193656,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193656', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193656', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:24:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:24:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:24:23] Production.INFO: ==21442== Releasing lock...
[2025-01-07 08:24:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:24:23] Production.INFO: 31 MB #Memory Used#
[2025-01-07 13:25:01] Production.INFO: ==21500== Lock acquired, processing the job...
[2025-01-07 13:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:25:01] Production.INFO: neon service started
[2025-01-07 13:25:01] Production.INFO: neon service started
[2025-01-07 13:25:01] Production.INFO: ==21500== Releasing lock...
[2025-01-07 13:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:25:01] Production.INFO: ==21502== Lock acquired, processing the job...
[2025-01-07 08:25:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:25:02] Production.INFO: ==21502== Releasing lock...
[2025-01-07 08:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 13:25:02] Production.INFO: ==21504== Lock acquired, processing the job...
[2025-01-07 13:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:25:02] Production.INFO: ==21504== Releasing lock...
[2025-01-07 13:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:25:03] Production.INFO: ==21517== Lock acquired, processing the job...
[2025-01-07 08:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:25:03] Production.INFO: ==21515== Lock acquired, processing the job...
[2025-01-07 08:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:25:03] Production.INFO: ==21507== Lock acquired, processing the job...
[2025-01-07 08:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:25:03] Production.INFO: ==21509== Lock acquired, processing the job...
[2025-01-07 08:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 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-07 08:25:03] Production.INFO: ==21511== Lock acquired, processing the job...
[2025-01-07 08:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:25:03] Production.INFO: ==21513== Lock acquired, processing the job...
[2025-01-07 08:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:25:03] Production.INFO: count ==21
[2025-01-07 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-07 08:25:03] Production.INFO: count ==21
[2025-01-07 08:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193657') start
[2025-01-07 08:25:03] Production.INFO: Account Balance Start.
[2025-01-07 08:25:03] Production.INFO: CreateAllLog Start
[2025-01-07 08:25:03] Production.INFO: 117
[2025-01-07 08:25:03] Production.INFO: Date 2024-12-08
[2025-01-07 08:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:25:03] Production.INFO: Date 2024-12-09
[2025-01-07 08:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193657') end
[2025-01-07 08:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:25:03] Production.INFO: 1
[2025-01-07 08:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:25:03] Production.INFO: Date 2024-12-10
[2025-01-07 08:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:25:03] Production.INFO: ==21517== Releasing lock...
[2025-01-07 08:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:25:03] Production.ERROR: done
[2025-01-07 08:25:03] Production.INFO: Date 2024-12-11
[2025-01-07 08:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:25:03] Production.INFO: Date 2024-12-12
[2025-01-07 08:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:25:03] Production.INFO: Date 2024-12-13
[2025-01-07 08:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:25:03] Production.INFO: Date 2024-12-14
[2025-01-07 08:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:25:03] Production.INFO: ==21509== Releasing lock...
[2025-01-07 08:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:25:03] Production.ERROR: done
[2025-01-07 08:25:03] Production.INFO: Date 2024-12-15
[2025-01-07 08:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:25:03] Production.INFO: Date 2024-12-16
[2025-01-07 08:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:25:03] Production.INFO: Date 2024-12-17
[2025-01-07 08:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:25:03] Production.INFO: Date 2024-12-18
[2025-01-07 08:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:25:03] Production.INFO: Date 2024-12-19
[2025-01-07 08:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:25:03] Production.INFO: Date 2024-12-20
[2025-01-07 08:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:25:03] Production.INFO: Date 2024-12-21
[2025-01-07 08:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:25:04] Production.INFO: Date 2024-12-22
[2025-01-07 08:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:25:04] Production.INFO: Date 2024-12-23
[2025-01-07 08:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:25:04] Production.INFO: Date 2024-12-24
[2025-01-07 08:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:25:04] Production.INFO: Date 2024-12-25
[2025-01-07 08:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:25:04] Production.INFO: Date 2024-12-26
[2025-01-07 08:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:25:04] Production.INFO: Date 2024-12-27
[2025-01-07 08:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:25:04] Production.INFO: Date 2024-12-28
[2025-01-07 08:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:25:04] Production.INFO: Date 2024-12-29
[2025-01-07 08:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:25:04] Production.INFO: Date 2024-12-30
[2025-01-07 08:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:25:04] Production.INFO: Date 2024-12-31
[2025-01-07 08:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:25:04] Production.INFO: Date 2025-01-01
[2025-01-07 08:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:25:04] Production.INFO: Date 2025-01-02
[2025-01-07 08:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:25:04] Production.INFO: Date 2025-01-03
[2025-01-07 08:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:25:04] Production.INFO: Date 2025-01-04
[2025-01-07 08:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:25:04] Production.INFO: Date 2025-01-05
[2025-01-07 08:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:25:04] Production.INFO: Date 2025-01-06
[2025-01-07 08:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:25:04] Production.INFO: Date 2025-01-07
[2025-01-07 08:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:25:04] Production.INFO: Total Charge 0
[2025-01-07 08:25:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:25:04
[end_date_ymd] => 2025-01-07 08:25:04
[RateCDR] => 1
)
[2025-01-07 08: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-07 05:25:04' and `end` < '2025-01-07 08: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-07 08:25:04] Production.INFO: CreateAllLog End
[2025-01-07 08:25:04] Production.INFO: Account Balance End.
[2025-01-07 08:25:04] Production.ERROR: CronJobId end 12
[2025-01-07 08:25:04] Production.INFO: ==21513== Releasing lock...
[2025-01-07 08:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:25:12] Production.ERROR: CronJobId end10
[2025-01-07 08:25:12] Production.INFO: ==21511== Releasing lock...
[2025-01-07 08:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:25:14] Production.INFO: call_cost start
[2025-01-07 08:25:14] Production.INFO: call_cost end
[2025-01-07 08:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:25:14] Production.INFO: ==21507== Releasing lock...
[2025-01-07 08:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:25:17] Production.INFO: count ==358
[2025-01-07 08:25:17] Production.ERROR: pbx CDR StartTime 2025-01-07 05:25:04 - End Time 2025-01-07 08:25:04
[2025-01-07 08:25:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193661', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193661', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193661', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193661', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:25:17] Production.INFO: ProcessCDR(1,14193661,1,1,2)
[2025-01-07 08:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193661,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:25:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193661,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:25:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193661,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:25:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193661,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193661', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193661', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:25:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:25:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:25:20] Production.INFO: ==21515== Releasing lock...
[2025-01-07 08:25:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:25:20] Production.INFO: 31 MB #Memory Used#
[2025-01-07 13:26:01] Production.INFO: ==21614== Lock acquired, processing the job...
[2025-01-07 13:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:26:01] Production.INFO: neon service started
[2025-01-07 13:26:01] Production.INFO: neon service started
[2025-01-07 13:26:01] Production.INFO: ==21614== Releasing lock...
[2025-01-07 13:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 13:26:02] Production.INFO: ==21618== Lock acquired, processing the job...
[2025-01-07 13:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:26:02] Production.INFO: ==21618== Releasing lock...
[2025-01-07 13:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:26:02] Production.INFO: ==21616== Lock acquired, processing the job...
[2025-01-07 08:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:26:02] Production.INFO: ==21616== Releasing lock...
[2025-01-07 08:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:26:03] Production.INFO: ==21625== Lock acquired, processing the job...
[2025-01-07 08:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:26:03] Production.INFO: ==21631== Lock acquired, processing the job...
[2025-01-07 08:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:26:03] Production.INFO: ==21621== Lock acquired, processing the job...
[2025-01-07 08:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:26:03] Production.INFO: ==21623== Lock acquired, processing the job...
[2025-01-07 08:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 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-07 08:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:26:03] Production.INFO: count ==21
[2025-01-07 08:26:03] Production.INFO: ==21627== Lock acquired, processing the job...
[2025-01-07 08:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:26:03] Production.INFO: ==21629== Lock acquired, processing the job...
[2025-01-07 08:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 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-07 08:26:03] Production.INFO: count ==21
[2025-01-07 08:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193662') start
[2025-01-07 08:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:26:04] Production.INFO: Account Balance Start.
[2025-01-07 08:26:04] Production.INFO: CreateAllLog Start
[2025-01-07 08:26:04] Production.INFO: 117
[2025-01-07 08:26:04] Production.INFO: Date 2024-12-08
[2025-01-07 08:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193662') end
[2025-01-07 08:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:26:04] Production.INFO: 1
[2025-01-07 08:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:26:04] Production.INFO: Date 2024-12-09
[2025-01-07 08:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:26:04] Production.ERROR: done
[2025-01-07 08:26:04] Production.INFO: ==21631== Releasing lock...
[2025-01-07 08:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:26:04] Production.INFO: ==21623== Releasing lock...
[2025-01-07 08:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:26:04] Production.INFO: Date 2024-12-10
[2025-01-07 08:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:26:04] Production.INFO: Date 2024-12-11
[2025-01-07 08:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:26:04] Production.ERROR: done
[2025-01-07 08:26:04] Production.INFO: Date 2024-12-12
[2025-01-07 08:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:26:04] Production.INFO: Date 2024-12-13
[2025-01-07 08:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:26:04] Production.INFO: Date 2024-12-14
[2025-01-07 08:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:26:04] Production.INFO: Date 2024-12-15
[2025-01-07 08:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:26:04] Production.INFO: Date 2024-12-16
[2025-01-07 08:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:26:04] Production.INFO: Date 2024-12-17
[2025-01-07 08:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:26:04] Production.INFO: Date 2024-12-18
[2025-01-07 08:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:26:04] Production.INFO: Date 2024-12-19
[2025-01-07 08:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:26:04] Production.INFO: Date 2024-12-20
[2025-01-07 08:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:26:04] Production.INFO: Date 2024-12-21
[2025-01-07 08:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:26:04] Production.INFO: Date 2024-12-22
[2025-01-07 08:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:26:04] Production.INFO: Date 2024-12-23
[2025-01-07 08:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:26:04] Production.INFO: Date 2024-12-24
[2025-01-07 08:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:26:04] Production.INFO: Date 2024-12-25
[2025-01-07 08:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:26:05] Production.INFO: Date 2024-12-26
[2025-01-07 08:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:26:05] Production.INFO: Date 2024-12-27
[2025-01-07 08:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:26:05] Production.INFO: Date 2024-12-28
[2025-01-07 08:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:26:05] Production.INFO: Date 2024-12-29
[2025-01-07 08:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:26:05] Production.INFO: Date 2024-12-30
[2025-01-07 08:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:26:05] Production.INFO: Date 2024-12-31
[2025-01-07 08:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:26:05] Production.INFO: Date 2025-01-01
[2025-01-07 08:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:26:05] Production.INFO: Date 2025-01-02
[2025-01-07 08:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:26:05] Production.INFO: Date 2025-01-03
[2025-01-07 08:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:26:05] Production.INFO: Date 2025-01-04
[2025-01-07 08:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:26:05] Production.INFO: Date 2025-01-05
[2025-01-07 08:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:26:05] Production.INFO: Date 2025-01-06
[2025-01-07 08:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:26:05
[end_date_ymd] => 2025-01-07 08:26:05
[RateCDR] => 1
)
[2025-01-07 08:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 05:26:05' and `end` < '2025-01-07 08:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 08:26:05] Production.INFO: Date 2025-01-07
[2025-01-07 08:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:26:05] Production.INFO: Total Charge 0
[2025-01-07 08:26:05] Production.INFO: CreateAllLog End
[2025-01-07 08:26:05] Production.INFO: Account Balance End.
[2025-01-07 08:26:05] Production.ERROR: CronJobId end 12
[2025-01-07 08:26:05] Production.INFO: ==21627== Releasing lock...
[2025-01-07 08:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:26:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:26:11] Production.ERROR: CronJobId end10
[2025-01-07 08:26:11] Production.INFO: ==21625== Releasing lock...
[2025-01-07 08:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:26:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:26:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:26:14] Production.INFO: call_cost start
[2025-01-07 08:26:14] Production.INFO: call_cost end
[2025-01-07 08:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:26:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:26:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:26:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:26:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:26:15] Production.INFO: ==21621== Releasing lock...
[2025-01-07 08:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:26:18] Production.INFO: count ==360
[2025-01-07 08:26:18] Production.ERROR: pbx CDR StartTime 2025-01-07 05:26:05 - End Time 2025-01-07 08:26:05
[2025-01-07 08:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193666', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193666', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193666', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193666', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:26:18] Production.INFO: ProcessCDR(1,14193666,1,1,2)
[2025-01-07 08:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193666,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193666,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193666,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193666,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193666', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193666', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:26:22] Production.INFO: ==21629== Releasing lock...
[2025-01-07 08:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:26:22] Production.INFO: 31.25 MB #Memory Used#
[2025-01-07 13:27:02] Production.INFO: ==21686== Lock acquired, processing the job...
[2025-01-07 13:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:27:02] Production.INFO: neon service started
[2025-01-07 13:27:02] Production.INFO: neon service started
[2025-01-07 13:27:02] Production.INFO: ==21686== Releasing lock...
[2025-01-07 13:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:27:02] Production.INFO: ==21688== Lock acquired, processing the job...
[2025-01-07 08:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 13:27:03] Production.INFO: ==21690== Lock acquired, processing the job...
[2025-01-07 13:27:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:27:03] Production.INFO: ==21690== Releasing lock...
[2025-01-07 13:27:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:27:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:27:03] Production.INFO: ==21688== Releasing lock...
[2025-01-07 08:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:27:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:27:04] Production.INFO: ==21693== Lock acquired, processing the job...
[2025-01-07 08:27:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:27:04] Production.INFO: ==21695== Lock acquired, processing the job...
[2025-01-07 08:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:27:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:27:04] Production.INFO: ==21697== Lock acquired, processing the job...
[2025-01-07 08:27:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:27:04] Production.INFO: ==21699== Lock acquired, processing the job...
[2025-01-07 08:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:27:04] Production.INFO: ==21695== Releasing lock...
[2025-01-07 08:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:27:04] Production.INFO: ==21701== Lock acquired, processing the job...
[2025-01-07 08:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:27:04] Production.INFO: ==21703== Lock acquired, processing the job...
[2025-01-07 08:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:27:04] Production.INFO: Account Balance Start.
[2025-01-07 08:27:04] Production.INFO: CreateAllLog Start
[2025-01-07 08:27:04] Production.INFO: 117
[2025-01-07 08:27:04] Production.INFO: Date 2024-12-08
[2025-01-07 08:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:27:04] Production.INFO: Date 2024-12-09
[2025-01-07 08:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:27:04] Production.INFO: Date 2024-12-10
[2025-01-07 08:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:27:04] Production.INFO: Date 2024-12-11
[2025-01-07 08:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:27:04] Production.INFO: Date 2024-12-12
[2025-01-07 08:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:27:04] Production.INFO: Date 2024-12-13
[2025-01-07 08:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:27:04] Production.INFO: count ==21
[2025-01-07 08:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:27:04] Production.INFO: count ==21
[2025-01-07 08:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193670') start
[2025-01-07 08:27:04] Production.ERROR: done
[2025-01-07 08:27:04] Production.INFO: Date 2024-12-14
[2025-01-07 08:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:27:04] Production.INFO: Date 2024-12-15
[2025-01-07 08:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193670') end
[2025-01-07 08:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:27:04] Production.INFO: 1
[2025-01-07 08:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:27:05] Production.ERROR: done
[2025-01-07 08:27:05] Production.INFO: Date 2024-12-16
[2025-01-07 08:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:27:05] Production.INFO: ==21703== Releasing lock...
[2025-01-07 08:27:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:27:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:27:05] Production.INFO: Date 2024-12-17
[2025-01-07 08:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:27:05] Production.INFO: Date 2024-12-18
[2025-01-07 08:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:27:05] Production.INFO: Date 2024-12-19
[2025-01-07 08:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:27:05] Production.INFO: Date 2024-12-20
[2025-01-07 08:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:27:05] Production.INFO: Date 2024-12-21
[2025-01-07 08:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:27:05] Production.INFO: Date 2024-12-22
[2025-01-07 08:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:27:05] Production.INFO: Date 2024-12-23
[2025-01-07 08:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:27:05] Production.INFO: Date 2024-12-24
[2025-01-07 08:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:27:05] Production.INFO: Date 2024-12-25
[2025-01-07 08:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:27:05] Production.INFO: Date 2024-12-26
[2025-01-07 08:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:27:05] Production.INFO: Date 2024-12-27
[2025-01-07 08:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:27:05] Production.INFO: Date 2024-12-28
[2025-01-07 08:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:27:05] Production.INFO: Date 2024-12-29
[2025-01-07 08:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:27:05] Production.INFO: Date 2024-12-30
[2025-01-07 08:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:27:05] Production.INFO: Date 2024-12-31
[2025-01-07 08:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:27:05] Production.INFO: Date 2025-01-01
[2025-01-07 08:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:27:05] Production.INFO: Date 2025-01-02
[2025-01-07 08:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:27:05] Production.INFO: Date 2025-01-03
[2025-01-07 08:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:27:05] Production.INFO: Date 2025-01-04
[2025-01-07 08:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:27:05] Production.INFO: Date 2025-01-05
[2025-01-07 08:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:27:05] Production.INFO: Date 2025-01-06
[2025-01-07 08:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:27:05] Production.INFO: Date 2025-01-07
[2025-01-07 08:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:27:05] Production.INFO: Total Charge 0
[2025-01-07 08:27:05] Production.INFO: CreateAllLog End
[2025-01-07 08:27:06] Production.INFO: Account Balance End.
[2025-01-07 08:27:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:27:06
[end_date_ymd] => 2025-01-07 08:27:06
[RateCDR] => 1
)
[2025-01-07 08:27:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 05:27:06' and `end` < '2025-01-07 08:27:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 08:27:06] Production.ERROR: CronJobId end 12
[2025-01-07 08:27:06] Production.INFO: ==21699== Releasing lock...
[2025-01-07 08:27:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:27:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:27:12] Production.ERROR: CronJobId end10
[2025-01-07 08:27:12] Production.INFO: ==21697== Releasing lock...
[2025-01-07 08:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:27:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:27:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:27:14] Production.INFO: call_cost start
[2025-01-07 08:27:14] Production.INFO: call_cost end
[2025-01-07 08:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:27:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:27:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:27:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:27:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:27:15] Production.INFO: ==21693== Releasing lock...
[2025-01-07 08:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:27:18] Production.INFO: count ==363
[2025-01-07 08:27:19] Production.ERROR: pbx CDR StartTime 2025-01-07 05:27:06 - End Time 2025-01-07 08:27:06
[2025-01-07 08:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193671', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193671', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193671', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193671', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:27:19] Production.INFO: ProcessCDR(1,14193671,1,1,2)
[2025-01-07 08:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193671,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:27:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193671,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:27:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193671,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193671,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193671', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193671', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:27:22] Production.INFO: ==21701== Releasing lock...
[2025-01-07 08:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:27:22] Production.INFO: 31.5 MB #Memory Used#
[2025-01-07 13:28:01] Production.INFO: ==21760== Lock acquired, processing the job...
[2025-01-07 13:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:28:01] Production.INFO: neon service started
[2025-01-07 13:28:01] Production.INFO: neon service started
[2025-01-07 13:28:01] Production.INFO: ==21760== Releasing lock...
[2025-01-07 13:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:28:02] Production.INFO: ==21762== Lock acquired, processing the job...
[2025-01-07 08:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:28:02] Production.INFO: ==21762== Releasing lock...
[2025-01-07 08:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 13:28:02] Production.INFO: ==21764== Lock acquired, processing the job...
[2025-01-07 13:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:28:02] Production.INFO: ==21764== Releasing lock...
[2025-01-07 13:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:28:03] Production.INFO: ==21767== Lock acquired, processing the job...
[2025-01-07 08:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:28:03] Production.INFO: ==21769== Lock acquired, processing the job...
[2025-01-07 08:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:28:03] Production.INFO: ==21775== Lock acquired, processing the job...
[2025-01-07 08:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:28:03] Production.INFO: ==21771== Lock acquired, processing the job...
[2025-01-07 08:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:28:03] Production.INFO: ==21769== Releasing lock...
[2025-01-07 08:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:28:03] Production.INFO: ==21773== Lock acquired, processing the job...
[2025-01-07 08:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:28:03] Production.INFO: ==21777== Lock acquired, processing the job...
[2025-01-07 08:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:28:03] Production.ERROR: done
[2025-01-07 08:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:28:03] Production.INFO: Account Balance Start.
[2025-01-07 08:28:03] Production.INFO: CreateAllLog Start
[2025-01-07 08:28:03] Production.INFO: 117
[2025-01-07 08:28:03] Production.INFO: Date 2024-12-08
[2025-01-07 08:28:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:28:03] Production.ERROR: done
[2025-01-07 08:28:03] Production.INFO: Date 2024-12-09
[2025-01-07 08:28:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:28:03] Production.INFO: count ==21
[2025-01-07 08:28:03] Production.INFO: Date 2024-12-10
[2025-01-07 08:28:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:28:03] Production.INFO: count ==21
[2025-01-07 08:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193675') start
[2025-01-07 08:28:03] Production.INFO: Date 2024-12-11
[2025-01-07 08:28:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:28:03] Production.INFO: Date 2024-12-12
[2025-01-07 08:28:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:28:03] Production.INFO: Date 2024-12-13
[2025-01-07 08:28:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:28:03] Production.INFO: Date 2024-12-14
[2025-01-07 08:28:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:28:03] Production.INFO: Date 2024-12-15
[2025-01-07 08:28:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193675') end
[2025-01-07 08:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:28:03] Production.INFO: 1
[2025-01-07 08:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:28:03] Production.INFO: Date 2024-12-16
[2025-01-07 08:28:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:28:03] Production.INFO: Date 2024-12-17
[2025-01-07 08:28:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:28:03] Production.INFO: ==21777== Releasing lock...
[2025-01-07 08:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:28:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:28:03] Production.INFO: Date 2024-12-18
[2025-01-07 08:28:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:28:04] Production.INFO: Date 2024-12-19
[2025-01-07 08:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:28:04] Production.INFO: Date 2024-12-20
[2025-01-07 08:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:28:04] Production.INFO: Date 2024-12-21
[2025-01-07 08:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:28:04] Production.INFO: Date 2024-12-22
[2025-01-07 08:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:28:04] Production.INFO: Date 2024-12-23
[2025-01-07 08:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:28:04] Production.INFO: Date 2024-12-24
[2025-01-07 08:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:28:04] Production.INFO: Date 2024-12-25
[2025-01-07 08:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:28:04] Production.INFO: Date 2024-12-26
[2025-01-07 08:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:28:04] Production.INFO: Date 2024-12-27
[2025-01-07 08:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:28:04] Production.INFO: Date 2024-12-28
[2025-01-07 08:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:28:04] Production.INFO: Date 2024-12-29
[2025-01-07 08:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:28:04] Production.INFO: Date 2024-12-30
[2025-01-07 08:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:28:04] Production.INFO: Date 2024-12-31
[2025-01-07 08:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:28:04] Production.INFO: Date 2025-01-01
[2025-01-07 08:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:28:04] Production.INFO: Date 2025-01-02
[2025-01-07 08:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:28:04] Production.INFO: Date 2025-01-03
[2025-01-07 08:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:28:04] Production.INFO: Date 2025-01-04
[2025-01-07 08:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:28:04] Production.INFO: Date 2025-01-05
[2025-01-07 08:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:28:04] Production.INFO: Date 2025-01-06
[2025-01-07 08:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:28:04] Production.INFO: Date 2025-01-07
[2025-01-07 08:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:28:04] Production.INFO: Total Charge 0
[2025-01-07 08:28:04] Production.INFO: CreateAllLog End
[2025-01-07 08:28:04] Production.INFO: Account Balance End.
[2025-01-07 08:28:04] Production.ERROR: CronJobId end 12
[2025-01-07 08:28:04] Production.INFO: ==21773== Releasing lock...
[2025-01-07 08:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:28:05
[end_date_ymd] => 2025-01-07 08:28:05
[RateCDR] => 1
)
[2025-01-07 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-07 05:28:05' and `end` < '2025-01-07 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-07 08:28:10] Production.ERROR: CronJobId end10
[2025-01-07 08:28:10] Production.INFO: ==21771== Releasing lock...
[2025-01-07 08:28:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:28:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:28:13] Production.INFO: call_cost start
[2025-01-07 08:28:13] Production.INFO: call_cost end
[2025-01-07 08:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:28:14] Production.INFO: ==21767== Releasing lock...
[2025-01-07 08:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:28:17] Production.INFO: count ==371
[2025-01-07 08:28:17] Production.ERROR: pbx CDR StartTime 2025-01-07 05:28:05 - End Time 2025-01-07 08:28:05
[2025-01-07 08:28:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193676', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193676', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193676', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193676', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:28:17] Production.INFO: ProcessCDR(1,14193676,1,1,2)
[2025-01-07 08:28:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193676,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:28:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193676,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:28:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193676,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193676,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193676', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193676', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:28:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:28:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:28:23] Production.INFO: ==21775== Releasing lock...
[2025-01-07 08:28:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:28:23] Production.INFO: 31.25 MB #Memory Used#
[2025-01-07 13:29:02] Production.INFO: ==21830== Lock acquired, processing the job...
[2025-01-07 13:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:29:02] Production.INFO: neon service started
[2025-01-07 13:29:02] Production.INFO: neon service started
[2025-01-07 13:29:02] Production.INFO: ==21830== Releasing lock...
[2025-01-07 13:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 13:29:02] Production.INFO: ==21834== Lock acquired, processing the job...
[2025-01-07 13:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:29:02] Production.INFO: ==21834== Releasing lock...
[2025-01-07 13:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:29:02] Production.INFO: ==21832== Lock acquired, processing the job...
[2025-01-07 08:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:29:02] Production.INFO: ==21832== Releasing lock...
[2025-01-07 08:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:29:03] Production.INFO: ==21840== Lock acquired, processing the job...
[2025-01-07 08:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:29:03] Production.INFO: ==21836== Lock acquired, processing the job...
[2025-01-07 08:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:29:03] Production.INFO: ==21844== Lock acquired, processing the job...
[2025-01-07 08:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:29:04] Production.INFO: ==21838== Lock acquired, processing the job...
[2025-01-07 08:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:29:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:29:04] Production.INFO: ==21842== Lock acquired, processing the job...
[2025-01-07 08:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:29:04] Production.INFO: ==21846== Lock acquired, processing the job...
[2025-01-07 08:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:29:04] Production.INFO: Account Balance Start.
[2025-01-07 08:29:04] Production.INFO: CreateAllLog Start
[2025-01-07 08:29:04] Production.INFO: 117
[2025-01-07 08:29:04] Production.INFO: Date 2024-12-08
[2025-01-07 08:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:29:04] Production.INFO: Date 2024-12-09
[2025-01-07 08:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:29:04] Production.INFO: Date 2024-12-10
[2025-01-07 08:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:29:04] Production.INFO: Date 2024-12-11
[2025-01-07 08:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:29:04] Production.ERROR: done
[2025-01-07 08:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:29:04] Production.INFO: Date 2024-12-12
[2025-01-07 08:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:29:04] Production.INFO: Date 2024-12-13
[2025-01-07 08:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:29:04] Production.INFO: count ==21
[2025-01-07 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-07 08:29:04] Production.INFO: Date 2024-12-14
[2025-01-07 08:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:29:04] Production.INFO: count ==21
[2025-01-07 08:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193680') start
[2025-01-07 08:29:04] Production.INFO: Date 2024-12-15
[2025-01-07 08:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:29:04] Production.INFO: ==21838== Releasing lock...
[2025-01-07 08:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:29:04] Production.ERROR: done
[2025-01-07 08:29:04] Production.INFO: Date 2024-12-16
[2025-01-07 08:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:29:04] Production.INFO: Date 2024-12-17
[2025-01-07 08:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:29:04] Production.INFO: Date 2024-12-18
[2025-01-07 08:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193680') end
[2025-01-07 08:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:29:04] Production.INFO: 1
[2025-01-07 08:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:29:04] Production.INFO: Date 2024-12-19
[2025-01-07 08:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:29:04] Production.INFO: ==21846== Releasing lock...
[2025-01-07 08:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:29:04] Production.INFO: Date 2024-12-20
[2025-01-07 08:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:29:04] Production.INFO: Date 2024-12-21
[2025-01-07 08:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:29:04] Production.INFO: Date 2024-12-22
[2025-01-07 08:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:29:04] Production.INFO: Date 2024-12-23
[2025-01-07 08:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:29:04] Production.INFO: Date 2024-12-24
[2025-01-07 08:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:29:04] Production.INFO: Date 2024-12-25
[2025-01-07 08:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:29:05] Production.INFO: Date 2024-12-26
[2025-01-07 08:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:29:05] Production.INFO: Date 2024-12-27
[2025-01-07 08:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:29:05] Production.INFO: Date 2024-12-28
[2025-01-07 08:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:29:05] Production.INFO: Date 2024-12-29
[2025-01-07 08:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:29:05] Production.INFO: Date 2024-12-30
[2025-01-07 08:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:29:05] Production.INFO: Date 2024-12-31
[2025-01-07 08:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:29:05] Production.INFO: Date 2025-01-01
[2025-01-07 08:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:29:05] Production.INFO: Date 2025-01-02
[2025-01-07 08:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:29:05] Production.INFO: Date 2025-01-03
[2025-01-07 08:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:29:05] Production.INFO: Date 2025-01-04
[2025-01-07 08:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:29:05] Production.INFO: Date 2025-01-05
[2025-01-07 08:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:29:05] Production.INFO: Date 2025-01-06
[2025-01-07 08:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:29:05] Production.INFO: Date 2025-01-07
[2025-01-07 08:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:29:05] Production.INFO: Total Charge 0
[2025-01-07 08:29:05] Production.INFO: CreateAllLog End
[2025-01-07 08:29:05] Production.INFO: Account Balance End.
[2025-01-07 08:29:05] Production.ERROR: CronJobId end 12
[2025-01-07 08:29:05] Production.INFO: ==21842== Releasing lock...
[2025-01-07 08:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:29:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:29:05
[end_date_ymd] => 2025-01-07 08:29:05
[RateCDR] => 1
)
[2025-01-07 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-07 05:29:05' and `end` < '2025-01-07 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-07 08:29:11] Production.ERROR: CronJobId end10
[2025-01-07 08:29:11] Production.INFO: ==21840== Releasing lock...
[2025-01-07 08:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:29:13] Production.INFO: call_cost start
[2025-01-07 08:29:13] Production.INFO: call_cost end
[2025-01-07 08:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:29:14] Production.INFO: ==21836== Releasing lock...
[2025-01-07 08:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:29:18] Production.INFO: count ==372
[2025-01-07 08:29:18] Production.ERROR: pbx CDR StartTime 2025-01-07 05:29:05 - End Time 2025-01-07 08:29:05
[2025-01-07 08:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193681', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193681', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193681', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193681', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:29:18] Production.INFO: ProcessCDR(1,14193681,1,1,2)
[2025-01-07 08:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193681,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:29:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193681,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:29:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193681,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:29:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193681,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193681', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193681', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:29:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:29:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:29:23] Production.INFO: ==21844== Releasing lock...
[2025-01-07 08:29:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:29:23] Production.INFO: 31.25 MB #Memory Used#
[2025-01-07 13:30:01] Production.INFO: ==21899== Lock acquired, processing the job...
[2025-01-07 13:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:30:01] Production.INFO: neon service started
[2025-01-07 13:30:01] Production.INFO: neon service started
[2025-01-07 13:30:01] Production.INFO: ==21899== Releasing lock...
[2025-01-07 13:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:30:01] Production.INFO: ==21901== Lock acquired, processing the job...
[2025-01-07 08:30:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:30:02] Production.INFO: ==21901== Releasing lock...
[2025-01-07 08:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 13:30:02] Production.INFO: ==21903== Lock acquired, processing the job...
[2025-01-07 13:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:30:02] Production.INFO: ==21903== Releasing lock...
[2025-01-07 13:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:30:03] Production.INFO: ==21906== Lock acquired, processing the job...
[2025-01-07 08:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 08:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 08:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 08:30:03] Production.INFO: ==21906== Releasing lock...
[2025-01-07 08:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 08:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 08:30:03] Production.INFO: ==21910== Lock acquired, processing the job...
[2025-01-07 08:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:30:03] Production.INFO: ==21914== Lock acquired, processing the job...
[2025-01-07 08:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:30:03] Production.INFO: ==21912== Lock acquired, processing the job...
[2025-01-07 08:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:30:03] Production.INFO: ==21908== Lock acquired, processing the job...
[2025-01-07 08:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:30:03] Production.INFO: ==21916== Lock acquired, processing the job...
[2025-01-07 08:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:30:03] Production.INFO: Account Balance Start.
[2025-01-07 08:30:03] Production.INFO: CreateAllLog Start
[2025-01-07 08:30:03] Production.INFO: 117
[2025-01-07 08:30:03] Production.INFO: Date 2024-12-08
[2025-01-07 08:30:03] Production.INFO: ==21918== Lock acquired, processing the job...
[2025-01-07 08:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 08:30:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:30:03] Production.INFO: Date 2024-12-09
[2025-01-07 08:30:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:30:03] Production.INFO: Date 2024-12-10
[2025-01-07 08:30:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:30:03] Production.INFO: ==21920== Lock acquired, processing the job...
[2025-01-07 08:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:30:03] Production.INFO: ==21910== Releasing lock...
[2025-01-07 08:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:30:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:30:03] Production.INFO: Date 2024-12-11
[2025-01-07 08:30:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:30:03] Production.ERROR: done
[2025-01-07 08:30:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:30:03] Production.INFO: Date 2024-12-12
[2025-01-07 08:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:30:04] Production.INFO: Date 2024-12-13
[2025-01-07 08:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:30:04] Production.INFO: Date 2024-12-14
[2025-01-07 08:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 08:30:04] Production.INFO: count ==21
[2025-01-07 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-07 08:30:04] Production.INFO: count ==21
[2025-01-07 08:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193685') start
[2025-01-07 08:30:04] Production.ERROR: done
[2025-01-07 08:30:04] Production.INFO: Date 2024-12-15
[2025-01-07 08:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:30:04] Production.INFO: Date 2024-12-16
[2025-01-07 08:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:30:04] Production.ERROR: done
[2025-01-07 08:30:04] Production.INFO: Date 2024-12-17
[2025-01-07 08:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:30:04] Production.INFO: Date 2024-12-18
[2025-01-07 08:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:30:04] Production.INFO: Date 2024-12-19
[2025-01-07 08:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 08:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14193687', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 08:30:04] Production.INFO: Date 2024-12-20
[2025-01-07 08:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193685') end
[2025-01-07 08:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:30:04] Production.INFO: 1
[2025-01-07 08:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:30:04] Production.INFO: Date 2024-12-21
[2025-01-07 08:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:30:04] Production.INFO: ==21920== Releasing lock...
[2025-01-07 08:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:30:04] Production.INFO: Date 2024-12-22
[2025-01-07 08:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:30:04] Production.INFO: Date 2024-12-23
[2025-01-07 08:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:30:04] Production.INFO: Date 2024-12-24
[2025-01-07 08:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:30:04] Production.INFO: Date 2024-12-25
[2025-01-07 08:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:30:04] Production.INFO: Date 2024-12-26
[2025-01-07 08:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:30:04] Production.INFO: Date 2024-12-27
[2025-01-07 08:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:30:04] Production.INFO: Date 2024-12-28
[2025-01-07 08:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:30:04] Production.INFO: Date 2024-12-29
[2025-01-07 08:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:30:04] Production.INFO: Date 2024-12-30
[2025-01-07 08:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:30:04] Production.INFO: Date 2024-12-31
[2025-01-07 08:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:30:04] Production.INFO: Date 2025-01-01
[2025-01-07 08:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:30:05] Production.INFO: Date 2025-01-02
[2025-01-07 08:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:30:05] Production.INFO: Date 2025-01-03
[2025-01-07 08:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:30:05] Production.INFO: Date 2025-01-04
[2025-01-07 08:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:30:05] Production.INFO: Date 2025-01-05
[2025-01-07 08:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:30:05] Production.INFO: Date 2025-01-06
[2025-01-07 08:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:30:05] Production.INFO: Date 2025-01-07
[2025-01-07 08:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:30:05] Production.INFO: Total Charge 0
[2025-01-07 08:30:05] Production.INFO: CreateAllLog End
[2025-01-07 08:30:05] Production.INFO: Account Balance End.
[2025-01-07 08:30:05] Production.ERROR: CronJobId end 12
[2025-01-07 08:30:05] Production.INFO: ==21914== Releasing lock...
[2025-01-07 08:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:30:05
[end_date_ymd] => 2025-01-07 08:30:05
[RateCDR] => 1
)
[2025-01-07 08: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-07 05:30:05' and `end` < '2025-01-07 08: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-07 08:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14193687', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 08:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 08:30:08] Production.INFO: ProcessCDR(1,14193687,1,1,2)
[2025-01-07 08:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14193687,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14193687,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:30:08] Production.INFO: ==21918== Releasing lock...
[2025-01-07 08:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 08:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-07 08:30:12] Production.ERROR: CronJobId end10
[2025-01-07 08:30:12] Production.INFO: ==21912== Releasing lock...
[2025-01-07 08:30:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:30:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:30:14] Production.INFO: call_cost start
[2025-01-07 08:30:14] Production.INFO: call_cost end
[2025-01-07 08:30:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:30:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:30:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:30:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:30:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:30:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:30:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:30:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:30:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:30:15] Production.INFO: ==21908== Releasing lock...
[2025-01-07 08:30:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:30:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:30:18] Production.INFO: count ==376
[2025-01-07 08:30:18] Production.ERROR: pbx CDR StartTime 2025-01-07 05:30:05 - End Time 2025-01-07 08:30:05
[2025-01-07 08:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193686', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193686', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193686', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193686', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:30:18] Production.INFO: ProcessCDR(1,14193686,1,1,2)
[2025-01-07 08:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193686,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193686,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193686,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:30:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193686,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193686', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193686', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:30:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:30:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:30:21] Production.INFO: ==21916== Releasing lock...
[2025-01-07 08:30:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:30:21] Production.INFO: 31.25 MB #Memory Used#
[2025-01-07 13:31:02] Production.INFO: ==21977== Lock acquired, processing the job...
[2025-01-07 13:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:31:02] Production.INFO: neon service started
[2025-01-07 13:31:02] Production.INFO: neon service started
[2025-01-07 13:31:02] Production.INFO: ==21977== Releasing lock...
[2025-01-07 13:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:31:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 08:31:02] Production.INFO: ==21979== Lock acquired, processing the job...
[2025-01-07 08:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:31:02] Production.INFO: ==21979== Releasing lock...
[2025-01-07 08:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 13:31:02] Production.INFO: ==21981== Lock acquired, processing the job...
[2025-01-07 13:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:31:02] Production.INFO: ==21981== Releasing lock...
[2025-01-07 13:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:31:03] Production.INFO: ==21984== Lock acquired, processing the job...
[2025-01-07 08:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:31:03] Production.INFO: ==21988== Lock acquired, processing the job...
[2025-01-07 08:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:31:03] Production.INFO: ==21986== Lock acquired, processing the job...
[2025-01-07 08:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:31:03] Production.INFO: ==21990== Lock acquired, processing the job...
[2025-01-07 08:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:31:03] Production.INFO: ==21994== Lock acquired, processing the job...
[2025-01-07 08:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:31:03] Production.INFO: ==21992== Lock acquired, processing the job...
[2025-01-07 08:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:31:03] Production.INFO: Account Balance Start.
[2025-01-07 08:31:03] Production.INFO: CreateAllLog Start
[2025-01-07 08:31:03] Production.INFO: 117
[2025-01-07 08:31:03] Production.INFO: Date 2024-12-08
[2025-01-07 08:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 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-07 08:31:03] Production.INFO: Date 2024-12-09
[2025-01-07 08:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:31:03] Production.INFO: Date 2024-12-10
[2025-01-07 08:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:31:03] Production.INFO: count ==21
[2025-01-07 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-07 08:31:03] Production.INFO: count ==21
[2025-01-07 08:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193691') start
[2025-01-07 08:31:04] Production.INFO: Date 2024-12-11
[2025-01-07 08:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:31:04] Production.INFO: ==21986== Releasing lock...
[2025-01-07 08:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:31:04] Production.INFO: Date 2024-12-12
[2025-01-07 08:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:31:04] Production.INFO: Date 2024-12-13
[2025-01-07 08:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:31:04] Production.ERROR: done
[2025-01-07 08:31:04] Production.INFO: Date 2024-12-14
[2025-01-07 08:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193691') end
[2025-01-07 08:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:31:04] Production.INFO: 1
[2025-01-07 08:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:31:04] Production.INFO: Date 2024-12-15
[2025-01-07 08:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:31:04] Production.INFO: Date 2024-12-16
[2025-01-07 08:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:31:04] Production.INFO: ==21994== Releasing lock...
[2025-01-07 08:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:31:04] Production.INFO: Date 2024-12-17
[2025-01-07 08:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:31:04] Production.ERROR: done
[2025-01-07 08:31:04] Production.INFO: Date 2024-12-18
[2025-01-07 08:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:31:04] Production.INFO: Date 2024-12-19
[2025-01-07 08:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:31:04] Production.INFO: Date 2024-12-20
[2025-01-07 08:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:31:04] Production.INFO: Date 2024-12-21
[2025-01-07 08:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:31:04] Production.INFO: Date 2024-12-22
[2025-01-07 08:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:31:04] Production.INFO: Date 2024-12-23
[2025-01-07 08:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:31:04] Production.INFO: Date 2024-12-24
[2025-01-07 08:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:31:04] Production.INFO: Date 2024-12-25
[2025-01-07 08:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:31:04] Production.INFO: Date 2024-12-26
[2025-01-07 08:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:31:04] Production.INFO: Date 2024-12-27
[2025-01-07 08:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:31:04] Production.INFO: Date 2024-12-28
[2025-01-07 08:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:31:04] Production.INFO: Date 2024-12-29
[2025-01-07 08:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:31:04] Production.INFO: Date 2024-12-30
[2025-01-07 08:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:31:04] Production.INFO: Date 2024-12-31
[2025-01-07 08:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:31:04] Production.INFO: Date 2025-01-01
[2025-01-07 08:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:31:04] Production.INFO: Date 2025-01-02
[2025-01-07 08:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:31:04] Production.INFO: Date 2025-01-03
[2025-01-07 08:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:31:04] Production.INFO: Date 2025-01-04
[2025-01-07 08:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:31:04] Production.INFO: Date 2025-01-05
[2025-01-07 08:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:31:05] Production.INFO: Date 2025-01-06
[2025-01-07 08:31:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:31:05] Production.INFO: Date 2025-01-07
[2025-01-07 08:31:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:31:05] Production.INFO: Total Charge 0
[2025-01-07 08:31:05] Production.INFO: CreateAllLog End
[2025-01-07 08:31:05] Production.INFO: Account Balance End.
[2025-01-07 08:31:05] Production.ERROR: CronJobId end 12
[2025-01-07 08:31:05] Production.INFO: ==21990== Releasing lock...
[2025-01-07 08:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:31:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:31:05
[end_date_ymd] => 2025-01-07 08:31:05
[RateCDR] => 1
)
[2025-01-07 08:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 05:31:05' and `end` < '2025-01-07 08:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 08:31:11] Production.ERROR: CronJobId end10
[2025-01-07 08:31:11] Production.INFO: ==21988== Releasing lock...
[2025-01-07 08:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:31:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:31:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:31:13] Production.INFO: call_cost start
[2025-01-07 08:31:13] Production.INFO: call_cost end
[2025-01-07 08:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:31:14] Production.INFO: ==21984== Releasing lock...
[2025-01-07 08:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:31:19] Production.INFO: count ==395
[2025-01-07 08:31:19] Production.ERROR: pbx CDR StartTime 2025-01-07 05:31:05 - End Time 2025-01-07 08:31:05
[2025-01-07 08:31:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193692', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193692', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193692', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193692', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:31:19] Production.INFO: ProcessCDR(1,14193692,1,1,2)
[2025-01-07 08:31:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193692,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:31:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193692,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:31:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193692,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:31:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193692,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193692', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193692', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:31:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:31:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:31:23] Production.INFO: ==21992== Releasing lock...
[2025-01-07 08:31:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:31:23] Production.INFO: 31.75 MB #Memory Used#
[2025-01-07 13:32:01] Production.INFO: ==22047== Lock acquired, processing the job...
[2025-01-07 13:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:32:01] Production.INFO: neon service started
[2025-01-07 13:32:01] Production.INFO: neon service started
[2025-01-07 13:32:01] Production.INFO: ==22047== Releasing lock...
[2025-01-07 13:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:32:01] Production.INFO: ==22049== Lock acquired, processing the job...
[2025-01-07 08:32:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:32:02] Production.INFO: ==22049== Releasing lock...
[2025-01-07 08:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 13:32:02] Production.INFO: ==22051== Lock acquired, processing the job...
[2025-01-07 13:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:32:02] Production.INFO: ==22051== Releasing lock...
[2025-01-07 13:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:32:03] Production.INFO: ==22055== Lock acquired, processing the job...
[2025-01-07 08:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:32:03] Production.INFO: ==22063== Lock acquired, processing the job...
[2025-01-07 08:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:32:03] Production.INFO: ==22053== Lock acquired, processing the job...
[2025-01-07 08:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:32:03] Production.INFO: ==22057== Lock acquired, processing the job...
[2025-01-07 08:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:32:03] Production.INFO: count ==21
[2025-01-07 08:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:32:03] Production.INFO: count ==21
[2025-01-07 08:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193694') start
[2025-01-07 08:32:03] Production.INFO: ==22059== Lock acquired, processing the job...
[2025-01-07 08:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:32:03] Production.INFO: ==22061== Lock acquired, processing the job...
[2025-01-07 08:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:32:03] Production.INFO: Account Balance Start.
[2025-01-07 08:32:03] Production.INFO: CreateAllLog Start
[2025-01-07 08:32:03] Production.INFO: 117
[2025-01-07 08:32:03] Production.INFO: Date 2024-12-08
[2025-01-07 08:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193694') end
[2025-01-07 08:32:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:32:03] Production.INFO: 1
[2025-01-07 08:32:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:32:03] Production.INFO: Date 2024-12-09
[2025-01-07 08:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:32:03] Production.INFO: ==22055== Releasing lock...
[2025-01-07 08:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:32:03] Production.INFO: ==22063== Releasing lock...
[2025-01-07 08:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:32:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:32:03] Production.INFO: Date 2024-12-10
[2025-01-07 08:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:32:03] Production.INFO: Date 2024-12-11
[2025-01-07 08:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:32:03] Production.INFO: Date 2024-12-12
[2025-01-07 08:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:32:03] Production.INFO: Date 2024-12-13
[2025-01-07 08:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:32:03] Production.INFO: Date 2024-12-14
[2025-01-07 08:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:32:03] Production.INFO: Date 2024-12-15
[2025-01-07 08:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:32:03] Production.INFO: Date 2024-12-16
[2025-01-07 08:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:32:03] Production.INFO: Date 2024-12-17
[2025-01-07 08:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:32:04] Production.ERROR: done
[2025-01-07 08:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:32:04] Production.INFO: Date 2024-12-18
[2025-01-07 08:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:32:04] Production.INFO: Date 2024-12-19
[2025-01-07 08:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:32:04] Production.ERROR: done
[2025-01-07 08:32:04] Production.INFO: Date 2024-12-20
[2025-01-07 08:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:32:04] Production.INFO: Date 2024-12-21
[2025-01-07 08:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:32:04] Production.INFO: Date 2024-12-22
[2025-01-07 08:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:32:04] Production.INFO: Date 2024-12-23
[2025-01-07 08:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:32:04] Production.INFO: Date 2024-12-24
[2025-01-07 08:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:32:04] Production.INFO: Date 2024-12-25
[2025-01-07 08:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:32:04] Production.INFO: Date 2024-12-26
[2025-01-07 08:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:32:04] Production.INFO: Date 2024-12-27
[2025-01-07 08:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:32:04] Production.INFO: Date 2024-12-28
[2025-01-07 08:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:32:04] Production.INFO: Date 2024-12-29
[2025-01-07 08:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:32:04] Production.INFO: Date 2024-12-30
[2025-01-07 08:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:32:04] Production.INFO: Date 2024-12-31
[2025-01-07 08:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:32:04] Production.INFO: Date 2025-01-01
[2025-01-07 08:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:32:04] Production.INFO: Date 2025-01-02
[2025-01-07 08:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:32:04] Production.INFO: Date 2025-01-03
[2025-01-07 08:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:32:04] Production.INFO: Date 2025-01-04
[2025-01-07 08:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:32:04] Production.INFO: Date 2025-01-05
[2025-01-07 08:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:32:04] Production.INFO: Date 2025-01-06
[2025-01-07 08:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:32:04] Production.INFO: Date 2025-01-07
[2025-01-07 08:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:32:04] Production.INFO: Total Charge 0
[2025-01-07 08:32:05] Production.INFO: CreateAllLog End
[2025-01-07 08:32:05] Production.INFO: Account Balance End.
[2025-01-07 08:32:05] Production.ERROR: CronJobId end 12
[2025-01-07 08:32:05] Production.INFO: ==22059== Releasing lock...
[2025-01-07 08:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:32:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:32:05
[end_date_ymd] => 2025-01-07 08:32:05
[RateCDR] => 1
)
[2025-01-07 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-07 05:32:05' and `end` < '2025-01-07 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-07 08:32:11] Production.ERROR: CronJobId end10
[2025-01-07 08:32:11] Production.INFO: ==22057== Releasing lock...
[2025-01-07 08:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:32:13] Production.INFO: call_cost start
[2025-01-07 08:32:13] Production.INFO: call_cost end
[2025-01-07 08:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:32:14] Production.INFO: ==22053== Releasing lock...
[2025-01-07 08:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:32:19] Production.INFO: count ==397
[2025-01-07 08:32:19] Production.ERROR: pbx CDR StartTime 2025-01-07 05:32:05 - End Time 2025-01-07 08:32:05
[2025-01-07 08:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193697', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193697', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193697', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193697', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:32:19] Production.INFO: ProcessCDR(1,14193697,1,1,2)
[2025-01-07 08:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193697,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:32:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193697,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:32:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193697,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:32:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193697,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:32:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193697', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:32:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193697', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:32:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:32:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:32:24] Production.INFO: ==22061== Releasing lock...
[2025-01-07 08:32:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:32:24] Production.INFO: 32 MB #Memory Used#
[2025-01-07 13:33:01] Production.INFO: ==22117== Lock acquired, processing the job...
[2025-01-07 13:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:33:01] Production.INFO: neon service started
[2025-01-07 13:33:01] Production.INFO: neon service started
[2025-01-07 13:33:01] Production.INFO: ==22117== Releasing lock...
[2025-01-07 13:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 13:33:02] Production.INFO: ==22121== Lock acquired, processing the job...
[2025-01-07 13:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:33:02] Production.INFO: ==22121== Releasing lock...
[2025-01-07 13:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:33:02] Production.INFO: ==22119== Lock acquired, processing the job...
[2025-01-07 08:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:33:02] Production.INFO: ==22119== Releasing lock...
[2025-01-07 08:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:33:03] Production.INFO: ==22129== Lock acquired, processing the job...
[2025-01-07 08:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:33:03] Production.INFO: ==22127== Lock acquired, processing the job...
[2025-01-07 08:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:33:03] Production.INFO: Account Balance Start.
[2025-01-07 08:33:03] Production.INFO: CreateAllLog Start
[2025-01-07 08:33:03] Production.INFO: 117
[2025-01-07 08:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:33:03] Production.INFO: Date 2024-12-08
[2025-01-07 08:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:33:03] Production.INFO: ==22123== Lock acquired, processing the job...
[2025-01-07 08:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:33:03] Production.INFO: Date 2024-12-09
[2025-01-07 08:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:33:03] Production.INFO: ==22125== Lock acquired, processing the job...
[2025-01-07 08:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:33:03] Production.INFO: Date 2024-12-10
[2025-01-07 08:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:33:03] Production.INFO: Date 2024-12-11
[2025-01-07 08:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:33:03] Production.INFO: Date 2024-12-12
[2025-01-07 08:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:33:03] Production.INFO: ==22131== Lock acquired, processing the job...
[2025-01-07 08:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:33:03] Production.INFO: Date 2024-12-13
[2025-01-07 08:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:33:03] Production.INFO: ==22133== Lock acquired, processing the job...
[2025-01-07 08:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:33:03] Production.INFO: Date 2024-12-14
[2025-01-07 08:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:33:03] Production.INFO: Date 2024-12-15
[2025-01-07 08:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:33:03] Production.INFO: Date 2024-12-16
[2025-01-07 08:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:33:03] Production.INFO: Date 2024-12-17
[2025-01-07 08:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:33:04] Production.INFO: Date 2024-12-18
[2025-01-07 08:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:33:04] Production.INFO: ==22125== Releasing lock...
[2025-01-07 08:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:33:04] Production.INFO: Date 2024-12-19
[2025-01-07 08:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:33:04] Production.INFO: Date 2024-12-20
[2025-01-07 08:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:33:04] Production.INFO: count ==21
[2025-01-07 08:33:04] Production.INFO: Date 2024-12-21
[2025-01-07 08:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:33:04] Production.ERROR: done
[2025-01-07 08:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 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-07 08:33:04] Production.INFO: count ==21
[2025-01-07 08:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193701') start
[2025-01-07 08:33:04] Production.INFO: Date 2024-12-22
[2025-01-07 08:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:33:04] Production.INFO: Date 2024-12-23
[2025-01-07 08:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:33:04] Production.ERROR: done
[2025-01-07 08:33:04] Production.INFO: Date 2024-12-24
[2025-01-07 08:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:33:04] Production.INFO: Date 2024-12-25
[2025-01-07 08:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:33:04] Production.INFO: Date 2024-12-26
[2025-01-07 08:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193701') end
[2025-01-07 08:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:33:04] Production.INFO: Date 2024-12-27
[2025-01-07 08:33:04] Production.INFO: 1
[2025-01-07 08:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:33:04] Production.INFO: ==22133== Releasing lock...
[2025-01-07 08:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:33:04] Production.INFO: Date 2024-12-28
[2025-01-07 08:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:33:04] Production.INFO: Date 2024-12-29
[2025-01-07 08:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:33:04] Production.INFO: Date 2024-12-30
[2025-01-07 08:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:33:04] Production.INFO: Date 2024-12-31
[2025-01-07 08:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:33:04] Production.INFO: Date 2025-01-01
[2025-01-07 08:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:33:04] Production.INFO: Date 2025-01-02
[2025-01-07 08:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:33:04] Production.INFO: Date 2025-01-03
[2025-01-07 08:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:33:04] Production.INFO: Date 2025-01-04
[2025-01-07 08:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:33:04] Production.INFO: Date 2025-01-05
[2025-01-07 08:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:33:04] Production.INFO: Date 2025-01-06
[2025-01-07 08:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:33:04] Production.INFO: Date 2025-01-07
[2025-01-07 08:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:33:04] Production.INFO: Total Charge 0
[2025-01-07 08:33:04] Production.INFO: CreateAllLog End
[2025-01-07 08:33:04] Production.INFO: Account Balance End.
[2025-01-07 08:33:04] Production.ERROR: CronJobId end 12
[2025-01-07 08:33:04] Production.INFO: ==22129== Releasing lock...
[2025-01-07 08:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:33:05
[end_date_ymd] => 2025-01-07 08:33:05
[RateCDR] => 1
)
[2025-01-07 08:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 05:33:05' and `end` < '2025-01-07 08:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 08:33:10] Production.ERROR: CronJobId end10
[2025-01-07 08:33:10] Production.INFO: ==22127== Releasing lock...
[2025-01-07 08:33:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:33:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:33:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:33:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:33:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:33:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:33:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:33:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:33:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:33:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:33:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:33:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:33:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:33:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:33:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:33:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:33:13] Production.INFO: call_cost start
[2025-01-07 08:33:13] Production.INFO: call_cost end
[2025-01-07 08:33:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:33:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:33:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:33:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:33:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:33:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:33:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:33:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:33:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:33:13] Production.INFO: ==22123== Releasing lock...
[2025-01-07 08:33:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:33:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:33:18] Production.INFO: count ==416
[2025-01-07 08:33:18] Production.ERROR: pbx CDR StartTime 2025-01-07 05:33:05 - End Time 2025-01-07 08:33:05
[2025-01-07 08:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193702', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193702', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193702', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193702', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:33:18] Production.INFO: ProcessCDR(1,14193702,1,1,2)
[2025-01-07 08:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193702,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:33:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193702,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:33:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193702,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:33:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193702,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193702', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193702', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:33:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:33:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:33:23] Production.INFO: ==22131== Releasing lock...
[2025-01-07 08:33:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:33:23] Production.INFO: 31.5 MB #Memory Used#
[2025-01-07 13:34:02] Production.INFO: ==22187== Lock acquired, processing the job...
[2025-01-07 13:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:34:02] Production.INFO: neon service started
[2025-01-07 13:34:02] Production.INFO: neon service started
[2025-01-07 13:34:02] Production.INFO: ==22187== Releasing lock...
[2025-01-07 13:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:34:02] Production.INFO: ==22189== Lock acquired, processing the job...
[2025-01-07 08:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:34:02] Production.INFO: ==22189== Releasing lock...
[2025-01-07 08:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 13:34:03] Production.INFO: ==22191== Lock acquired, processing the job...
[2025-01-07 13:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:34:03] Production.INFO: ==22191== Releasing lock...
[2025-01-07 13:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:34:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:34:03] Production.INFO: ==22195== Lock acquired, processing the job...
[2025-01-07 08:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:34:03] Production.INFO: ==22199== Lock acquired, processing the job...
[2025-01-07 08:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:34:03] Production.INFO: ==22201== Lock acquired, processing the job...
[2025-01-07 08:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:34:03] Production.INFO: Account Balance Start.
[2025-01-07 08:34:03] Production.INFO: CreateAllLog Start
[2025-01-07 08:34:03] Production.INFO: 117
[2025-01-07 08:34:03] Production.INFO: Date 2024-12-08
[2025-01-07 08:34:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:34:03] Production.INFO: Date 2024-12-09
[2025-01-07 08:34:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:34:03] Production.INFO: Date 2024-12-10
[2025-01-07 08:34:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:34:03] Production.INFO: ==22193== Lock acquired, processing the job...
[2025-01-07 08:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:34:03] Production.INFO: ==22195== Releasing lock...
[2025-01-07 08:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:34:04] Production.INFO: ==22197== Lock acquired, processing the job...
[2025-01-07 08:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:34:04] Production.INFO: Date 2024-12-11
[2025-01-07 08:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:34:04] Production.INFO: Date 2024-12-12
[2025-01-07 08:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:34:04] Production.INFO: Date 2024-12-13
[2025-01-07 08:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:34:04] Production.INFO: ==22203== Lock acquired, processing the job...
[2025-01-07 08:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:34:04] Production.INFO: Date 2024-12-14
[2025-01-07 08:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:34:04] Production.ERROR: done
[2025-01-07 08:34:04] Production.INFO: Date 2024-12-15
[2025-01-07 08:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 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-07 08:34:04] Production.INFO: Date 2024-12-16
[2025-01-07 08:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:34:04] Production.INFO: count ==21
[2025-01-07 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-07 08:34:04] Production.INFO: count ==21
[2025-01-07 08:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193706') start
[2025-01-07 08:34:04] Production.INFO: Date 2024-12-17
[2025-01-07 08:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:34:04] Production.INFO: Date 2024-12-18
[2025-01-07 08:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:34:04] Production.ERROR: done
[2025-01-07 08:34:04] Production.INFO: Date 2024-12-19
[2025-01-07 08:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193706') end
[2025-01-07 08:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:34:04] Production.INFO: 1
[2025-01-07 08:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:34:04] Production.INFO: Date 2024-12-20
[2025-01-07 08:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:34:04] Production.INFO: ==22203== Releasing lock...
[2025-01-07 08:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:34:04] Production.INFO: Date 2024-12-21
[2025-01-07 08:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:34:04] Production.INFO: Date 2024-12-22
[2025-01-07 08:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:34:04] Production.INFO: Date 2024-12-23
[2025-01-07 08:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:34:04] Production.INFO: Date 2024-12-24
[2025-01-07 08:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:34:04] Production.INFO: Date 2024-12-25
[2025-01-07 08:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:34:04] Production.INFO: Date 2024-12-26
[2025-01-07 08:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:34:04] Production.INFO: Date 2024-12-27
[2025-01-07 08:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:34:04] Production.INFO: Date 2024-12-28
[2025-01-07 08:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:34:04] Production.INFO: Date 2024-12-29
[2025-01-07 08:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:34:04] Production.INFO: Date 2024-12-30
[2025-01-07 08:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:34:04] Production.INFO: Date 2024-12-31
[2025-01-07 08:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:34:04] Production.INFO: Date 2025-01-01
[2025-01-07 08:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:34:05] Production.INFO: Date 2025-01-02
[2025-01-07 08:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:34:05] Production.INFO: Date 2025-01-03
[2025-01-07 08:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:34:05] Production.INFO: Date 2025-01-04
[2025-01-07 08:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:34:05] Production.INFO: Date 2025-01-05
[2025-01-07 08:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:34:05] Production.INFO: Date 2025-01-06
[2025-01-07 08:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:34:05] Production.INFO: Date 2025-01-07
[2025-01-07 08:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:34:05] Production.INFO: Total Charge 0
[2025-01-07 08:34:05] Production.INFO: CreateAllLog End
[2025-01-07 08:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:34:05
[end_date_ymd] => 2025-01-07 08:34:05
[RateCDR] => 1
)
[2025-01-07 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-07 05:34:05' and `end` < '2025-01-07 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-07 08:34:05] Production.INFO: Account Balance End.
[2025-01-07 08:34:05] Production.ERROR: CronJobId end 12
[2025-01-07 08:34:05] Production.INFO: ==22199== Releasing lock...
[2025-01-07 08:34:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:34:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:34:12] Production.ERROR: CronJobId end10
[2025-01-07 08:34:12] Production.INFO: ==22197== Releasing lock...
[2025-01-07 08:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:34:14] Production.INFO: call_cost start
[2025-01-07 08:34:14] Production.INFO: call_cost end
[2025-01-07 08:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:34:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:34:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:34:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:34:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:34:15] Production.INFO: ==22193== Releasing lock...
[2025-01-07 08:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:34:20] Production.INFO: count ==429
[2025-01-07 08:34:20] Production.ERROR: pbx CDR StartTime 2025-01-07 05:34:05 - End Time 2025-01-07 08:34:05
[2025-01-07 08:34:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193707', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193707', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193707', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193707', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:34:20] Production.INFO: ProcessCDR(1,14193707,1,1,2)
[2025-01-07 08:34:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193707,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:34:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193707,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:34:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193707,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:34:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193707,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:34:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193707', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:34:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193707', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:34:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:34:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:34:25] Production.INFO: ==22201== Releasing lock...
[2025-01-07 08:34:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:34:25] Production.INFO: 32 MB #Memory Used#
[2025-01-07 13:35:01] Production.INFO: ==22258== Lock acquired, processing the job...
[2025-01-07 13:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:35:01] Production.INFO: neon service started
[2025-01-07 13:35:01] Production.INFO: neon service started
[2025-01-07 13:35:01] Production.INFO: ==22258== Releasing lock...
[2025-01-07 13:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:35:02] Production.INFO: ==22260== Lock acquired, processing the job...
[2025-01-07 08:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:35:02] Production.INFO: ==22260== Releasing lock...
[2025-01-07 08:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 13:35:02] Production.INFO: ==22262== Lock acquired, processing the job...
[2025-01-07 13:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:35:02] Production.INFO: ==22262== Releasing lock...
[2025-01-07 13:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:35:02] Production.INFO: ==22264== Lock acquired, processing the job...
[2025-01-07 08:35:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:35:03] Production.INFO: ==22266== Lock acquired, processing the job...
[2025-01-07 08:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:35:03] Production.INFO: ==22272== Lock acquired, processing the job...
[2025-01-07 08:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:35:03] Production.INFO: ==22268== Lock acquired, processing the job...
[2025-01-07 08:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:35:03] Production.INFO: ==22266== Releasing lock...
[2025-01-07 08:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:35:03] Production.INFO: ==22270== Lock acquired, processing the job...
[2025-01-07 08:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:35:03] Production.INFO: ==22274== Lock acquired, processing the job...
[2025-01-07 08:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:35:03] Production.ERROR: done
[2025-01-07 08:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:35:03] Production.INFO: Account Balance Start.
[2025-01-07 08:35:03] Production.INFO: CreateAllLog Start
[2025-01-07 08:35:03] Production.INFO: 117
[2025-01-07 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-07 08:35:03] Production.INFO: count ==21
[2025-01-07 08:35:03] Production.INFO: Date 2024-12-08
[2025-01-07 08:35:03] Production.ERROR: done
[2025-01-07 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-07 08:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:35:03] Production.INFO: count ==21
[2025-01-07 08:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193711') start
[2025-01-07 08:35:03] Production.INFO: Date 2024-12-09
[2025-01-07 08:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:35:03] Production.INFO: Date 2024-12-10
[2025-01-07 08:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193711') end
[2025-01-07 08:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:35:03] Production.INFO: 1
[2025-01-07 08:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:35:03] Production.INFO: ==22274== Releasing lock...
[2025-01-07 08:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:35:04] Production.INFO: Date 2024-12-11
[2025-01-07 08:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:35:04] Production.INFO: Date 2024-12-12
[2025-01-07 08:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:35:04] Production.INFO: Date 2024-12-13
[2025-01-07 08:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:35:04] Production.INFO: Date 2024-12-14
[2025-01-07 08:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:35:04] Production.INFO: Date 2024-12-15
[2025-01-07 08:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:35:04] Production.INFO: Date 2024-12-16
[2025-01-07 08:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:35:04] Production.INFO: Date 2024-12-17
[2025-01-07 08:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:35:04] Production.INFO: Date 2024-12-18
[2025-01-07 08:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:35:04] Production.INFO: Date 2024-12-19
[2025-01-07 08:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:35:04] Production.INFO: Date 2024-12-20
[2025-01-07 08:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:35:04] Production.INFO: Date 2024-12-21
[2025-01-07 08:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:35:04] Production.INFO: Date 2024-12-22
[2025-01-07 08:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:35:04] Production.INFO: Date 2024-12-23
[2025-01-07 08:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:35:04] Production.INFO: Date 2024-12-24
[2025-01-07 08:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:35:04] Production.INFO: Date 2024-12-25
[2025-01-07 08:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:35:04] Production.INFO: Date 2024-12-26
[2025-01-07 08:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:35:04] Production.INFO: Date 2024-12-27
[2025-01-07 08:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:35:04] Production.INFO: Date 2024-12-28
[2025-01-07 08:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:35:04] Production.INFO: Date 2024-12-29
[2025-01-07 08:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:35:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:35:04
[end_date_ymd] => 2025-01-07 08:35:04
[RateCDR] => 1
)
[2025-01-07 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-07 05:35:04' and `end` < '2025-01-07 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-07 08:35:04] Production.INFO: Date 2024-12-30
[2025-01-07 08:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:35:04] Production.INFO: Date 2024-12-31
[2025-01-07 08:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:35:04] Production.INFO: Date 2025-01-01
[2025-01-07 08:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:35:04] Production.INFO: Date 2025-01-02
[2025-01-07 08:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:35:04] Production.INFO: Date 2025-01-03
[2025-01-07 08:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:35:04] Production.INFO: Date 2025-01-04
[2025-01-07 08:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:35:04] Production.INFO: Date 2025-01-05
[2025-01-07 08:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:35:04] Production.INFO: Date 2025-01-06
[2025-01-07 08:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:35:04] Production.INFO: Date 2025-01-07
[2025-01-07 08:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:35:05] Production.INFO: Total Charge 0
[2025-01-07 08:35:05] Production.INFO: CreateAllLog End
[2025-01-07 08:35:05] Production.INFO: Account Balance End.
[2025-01-07 08:35:05] Production.ERROR: CronJobId end 12
[2025-01-07 08:35:05] Production.INFO: ==22270== Releasing lock...
[2025-01-07 08:35:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:35:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:35:11] Production.ERROR: CronJobId end10
[2025-01-07 08:35:11] Production.INFO: ==22268== Releasing lock...
[2025-01-07 08:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:35:13] Production.INFO: call_cost start
[2025-01-07 08:35:13] Production.INFO: call_cost end
[2025-01-07 08:35:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:35:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:35:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:35:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:35:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:35:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:35:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:35:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:35:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:35:13] Production.INFO: ==22264== Releasing lock...
[2025-01-07 08:35:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:35:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:35:17] Production.INFO: count ==450
[2025-01-07 08:35:17] Production.ERROR: pbx CDR StartTime 2025-01-07 05:35:04 - End Time 2025-01-07 08:35:04
[2025-01-07 08:35:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193712', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193712', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193712', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193712', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:35:17] Production.INFO: ProcessCDR(1,14193712,1,1,2)
[2025-01-07 08:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193712,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:35:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193712,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:35:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193712,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:35:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193712,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193712', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193712', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:35:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:35:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:35:22] Production.INFO: ==22272== Releasing lock...
[2025-01-07 08:35:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:35:22] Production.INFO: 32.5 MB #Memory Used#
[2025-01-07 13:36:02] Production.INFO: ==22333== Lock acquired, processing the job...
[2025-01-07 13:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:36:02] Production.INFO: neon service started
[2025-01-07 13:36:02] Production.INFO: neon service started
[2025-01-07 13:36:02] Production.INFO: ==22333== Releasing lock...
[2025-01-07 13:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:36:02] Production.INFO: ==22335== Lock acquired, processing the job...
[2025-01-07 08:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:36:02] Production.INFO: ==22335== Releasing lock...
[2025-01-07 08:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 13:36:02] Production.INFO: ==22337== Lock acquired, processing the job...
[2025-01-07 13:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:36:02] Production.INFO: ==22337== Releasing lock...
[2025-01-07 13:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:36:03] Production.INFO: ==22345== Lock acquired, processing the job...
[2025-01-07 08:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:36:03] Production.INFO: Account Balance Start.
[2025-01-07 08:36:03] Production.INFO: CreateAllLog Start
[2025-01-07 08:36:03] Production.INFO: 117
[2025-01-07 08:36:03] Production.INFO: Date 2024-12-08
[2025-01-07 08:36:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:36:03] Production.INFO: Date 2024-12-09
[2025-01-07 08:36:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:36:03] Production.INFO: Date 2024-12-10
[2025-01-07 08:36:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:36:03] Production.INFO: Date 2024-12-11
[2025-01-07 08:36:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:36:03] Production.INFO: Date 2024-12-12
[2025-01-07 08:36:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:36:03] Production.INFO: Date 2024-12-13
[2025-01-07 08:36:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:36:03] Production.INFO: Date 2024-12-14
[2025-01-07 08:36:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:36:03] Production.INFO: Date 2024-12-15
[2025-01-07 08:36:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:36:03] Production.INFO: Date 2024-12-16
[2025-01-07 08:36:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:36:03] Production.INFO: ==22339== Lock acquired, processing the job...
[2025-01-07 08:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:36:03] Production.INFO: ==22347== Lock acquired, processing the job...
[2025-01-07 08:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:36:03] Production.INFO: ==22343== Lock acquired, processing the job...
[2025-01-07 08:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:36:03] Production.INFO: ==22341== Lock acquired, processing the job...
[2025-01-07 08:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:36:03] Production.INFO: Date 2024-12-17
[2025-01-07 08:36:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:36:03] Production.INFO: Date 2024-12-18
[2025-01-07 08:36:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:36:03] Production.INFO: Date 2024-12-19
[2025-01-07 08:36:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:36:03] Production.INFO: ==22349== Lock acquired, processing the job...
[2025-01-07 08:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:36:04] Production.INFO: Date 2024-12-20
[2025-01-07 08:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:36:04] Production.INFO: Date 2024-12-21
[2025-01-07 08:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 08:36:04] Production.INFO: Date 2024-12-22
[2025-01-07 08:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:36:04] Production.INFO: Date 2024-12-23
[2025-01-07 08:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:36:04] Production.INFO: count ==21
[2025-01-07 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-07 08:36:04] Production.INFO: count ==21
[2025-01-07 08:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193716') start
[2025-01-07 08:36:04] Production.ERROR: done
[2025-01-07 08:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:36:04] Production.INFO: ==22341== Releasing lock...
[2025-01-07 08:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:36:04] Production.INFO: Date 2024-12-24
[2025-01-07 08:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:36:04] Production.INFO: Date 2024-12-25
[2025-01-07 08:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:36:04] Production.INFO: Date 2024-12-26
[2025-01-07 08:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:36:04] Production.ERROR: done
[2025-01-07 08:36:04] Production.INFO: Date 2024-12-27
[2025-01-07 08:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193716') end
[2025-01-07 08:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:36:04] Production.INFO: 1
[2025-01-07 08:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:36:04] Production.INFO: Date 2024-12-28
[2025-01-07 08:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:36:04] Production.INFO: ==22349== Releasing lock...
[2025-01-07 08:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:36:04] Production.INFO: Date 2024-12-29
[2025-01-07 08:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:36:04] Production.INFO: Date 2024-12-30
[2025-01-07 08:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:36:04] Production.INFO: Date 2024-12-31
[2025-01-07 08:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:36:04] Production.INFO: Date 2025-01-01
[2025-01-07 08:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:36:04] Production.INFO: Date 2025-01-02
[2025-01-07 08:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:36:04] Production.INFO: Date 2025-01-03
[2025-01-07 08:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:36:04] Production.INFO: Date 2025-01-04
[2025-01-07 08:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:36:04] Production.INFO: Date 2025-01-05
[2025-01-07 08:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:36:04] Production.INFO: Date 2025-01-06
[2025-01-07 08:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:36:04] Production.INFO: Date 2025-01-07
[2025-01-07 08:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:36:04] Production.INFO: Total Charge 0
[2025-01-07 08:36:04] Production.INFO: CreateAllLog End
[2025-01-07 08:36:04] Production.INFO: Account Balance End.
[2025-01-07 08:36:04] Production.ERROR: CronJobId end 12
[2025-01-07 08:36:04] Production.INFO: ==22345== Releasing lock...
[2025-01-07 08:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:36:05
[end_date_ymd] => 2025-01-07 08:36:05
[RateCDR] => 1
)
[2025-01-07 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-07 05:36:05' and `end` < '2025-01-07 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-07 08:36:11] Production.ERROR: CronJobId end10
[2025-01-07 08:36:11] Production.INFO: ==22343== Releasing lock...
[2025-01-07 08:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:36:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:36:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:36:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:36:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:36:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:36:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:36:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:36:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:36:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:36:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:36:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:36:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:36:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:36:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:36:13] Production.INFO: call_cost start
[2025-01-07 08:36:13] Production.INFO: call_cost end
[2025-01-07 08:36:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:36:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:36:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:36:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:36:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:36:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:36:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:36:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:36:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:36:13] Production.INFO: ==22339== Releasing lock...
[2025-01-07 08:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:36:18] Production.INFO: count ==450
[2025-01-07 08:36:18] Production.ERROR: pbx CDR StartTime 2025-01-07 05:36:05 - End Time 2025-01-07 08:36:05
[2025-01-07 08:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193717', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193717', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193717', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193717', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:36:18] Production.INFO: ProcessCDR(1,14193717,1,1,2)
[2025-01-07 08:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193717,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193717,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193717,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193717,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193717', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193717', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:36:21] Production.INFO: ==22347== Releasing lock...
[2025-01-07 08:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:36:21] Production.INFO: 32.5 MB #Memory Used#
[2025-01-07 13:37:01] Production.INFO: ==22403== Lock acquired, processing the job...
[2025-01-07 13:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:37:01] Production.INFO: neon service started
[2025-01-07 13:37:01] Production.INFO: neon service started
[2025-01-07 13:37:01] Production.INFO: ==22403== Releasing lock...
[2025-01-07 13:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:37:01] Production.INFO: ==22405== Lock acquired, processing the job...
[2025-01-07 08:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:37:02] Production.INFO: ==22405== Releasing lock...
[2025-01-07 08:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 13:37:02] Production.INFO: ==22407== Lock acquired, processing the job...
[2025-01-07 13:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:37:02] Production.INFO: ==22407== Releasing lock...
[2025-01-07 13:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:37:03] Production.INFO: ==22415== Lock acquired, processing the job...
[2025-01-07 08:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:37:03] Production.INFO: ==22409== Lock acquired, processing the job...
[2025-01-07 08:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:37:03] Production.INFO: ==22417== Lock acquired, processing the job...
[2025-01-07 08:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:37:03] Production.INFO: ==22411== Lock acquired, processing the job...
[2025-01-07 08:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:37:03] Production.INFO: Account Balance Start.
[2025-01-07 08:37:03] Production.INFO: ==22413== Lock acquired, processing the job...
[2025-01-07 08:37:03] Production.INFO: CreateAllLog Start
[2025-01-07 08:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:37:03] Production.INFO: 117
[2025-01-07 08:37:03] Production.INFO: Date 2024-12-08
[2025-01-07 08:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:37:03] Production.INFO: Date 2024-12-09
[2025-01-07 08:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:37:03] Production.INFO: Date 2024-12-10
[2025-01-07 08:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:37:03] Production.INFO: ==22419== Lock acquired, processing the job...
[2025-01-07 08:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:37:03] Production.INFO: Date 2024-12-11
[2025-01-07 08:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:37:03] Production.INFO: Date 2024-12-12
[2025-01-07 08:37:03] Production.ERROR: done
[2025-01-07 08:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:37:03] Production.INFO: Date 2024-12-13
[2025-01-07 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-07 08:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:37:03] Production.INFO: count ==21
[2025-01-07 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-07 08:37:03] Production.INFO: ==22411== Releasing lock...
[2025-01-07 08:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:37:03] Production.INFO: count ==21
[2025-01-07 08:37:03] Production.ERROR: done
[2025-01-07 08:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193721') start
[2025-01-07 08:37:03] Production.INFO: Date 2024-12-14
[2025-01-07 08:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:37:03] Production.INFO: Date 2024-12-15
[2025-01-07 08:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:37:03] Production.INFO: Date 2024-12-16
[2025-01-07 08:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193721') end
[2025-01-07 08:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:37:03] Production.INFO: 1
[2025-01-07 08:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:37:03] Production.INFO: Date 2024-12-17
[2025-01-07 08:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:37:03] Production.INFO: ==22419== Releasing lock...
[2025-01-07 08:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:37:03] Production.INFO: Date 2024-12-18
[2025-01-07 08:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:37:03] Production.INFO: Date 2024-12-19
[2025-01-07 08:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:37:03] Production.INFO: Date 2024-12-20
[2025-01-07 08:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:37:04] Production.INFO: Date 2024-12-21
[2025-01-07 08:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:37:04] Production.INFO: Date 2024-12-22
[2025-01-07 08:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:37:04] Production.INFO: Date 2024-12-23
[2025-01-07 08:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:37:04] Production.INFO: Date 2024-12-24
[2025-01-07 08:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:37:04] Production.INFO: Date 2024-12-25
[2025-01-07 08:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:37:04] Production.INFO: Date 2024-12-26
[2025-01-07 08:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:37:04] Production.INFO: Date 2024-12-27
[2025-01-07 08:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:37:04] Production.INFO: Date 2024-12-28
[2025-01-07 08:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:37:04] Production.INFO: Date 2024-12-29
[2025-01-07 08:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:37:04] Production.INFO: Date 2024-12-30
[2025-01-07 08:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:37:04] Production.INFO: Date 2024-12-31
[2025-01-07 08:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:37:04] Production.INFO: Date 2025-01-01
[2025-01-07 08:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:37:04] Production.INFO: Date 2025-01-02
[2025-01-07 08:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:37:04] Production.INFO: Date 2025-01-03
[2025-01-07 08:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:37:04] Production.INFO: Date 2025-01-04
[2025-01-07 08:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:37:04] Production.INFO: Date 2025-01-05
[2025-01-07 08:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:37:04] Production.INFO: Date 2025-01-06
[2025-01-07 08:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:37:04] Production.INFO: Date 2025-01-07
[2025-01-07 08:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:37:04] Production.INFO: Total Charge 0
[2025-01-07 08:37:04] Production.INFO: CreateAllLog End
[2025-01-07 08:37:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:37:04
[end_date_ymd] => 2025-01-07 08:37:04
[RateCDR] => 1
)
[2025-01-07 08:37:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 05:37:04' and `end` < '2025-01-07 08:37:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 08:37:05] Production.INFO: Account Balance End.
[2025-01-07 08:37:05] Production.ERROR: CronJobId end 12
[2025-01-07 08:37:05] Production.INFO: ==22415== Releasing lock...
[2025-01-07 08:37:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:37:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:37:11] Production.ERROR: CronJobId end10
[2025-01-07 08:37:11] Production.INFO: ==22413== Releasing lock...
[2025-01-07 08:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:37:14] Production.INFO: call_cost start
[2025-01-07 08:37:14] Production.INFO: call_cost end
[2025-01-07 08:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:37:14] Production.INFO: ==22409== Releasing lock...
[2025-01-07 08:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:37:17] Production.INFO: count ==450
[2025-01-07 08:37:17] Production.ERROR: pbx CDR StartTime 2025-01-07 05:37:04 - End Time 2025-01-07 08:37:04
[2025-01-07 08:37:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193722', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193722', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193722', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193722', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:37:17] Production.INFO: ProcessCDR(1,14193722,1,1,2)
[2025-01-07 08:37:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193722,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:37:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193722,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:37:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193722,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:37:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193722,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:37:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193722', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:37:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193722', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:37:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:37:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:37:20] Production.INFO: ==22417== Releasing lock...
[2025-01-07 08:37:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:37:20] Production.INFO: 32.5 MB #Memory Used#
[2025-01-07 13:38:01] Production.INFO: ==22482== Lock acquired, processing the job...
[2025-01-07 13:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:38:02] Production.INFO: neon service started
[2025-01-07 13:38:02] Production.INFO: neon service started
[2025-01-07 13:38:02] Production.INFO: ==22482== Releasing lock...
[2025-01-07 13:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:38:02] Production.INFO: ==22484== Lock acquired, processing the job...
[2025-01-07 08:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:38:02] Production.INFO: ==22484== Releasing lock...
[2025-01-07 08:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 13:38:02] Production.INFO: ==22486== Lock acquired, processing the job...
[2025-01-07 13:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:38:02] Production.INFO: ==22486== Releasing lock...
[2025-01-07 13:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:38:03] Production.INFO: ==22488== Lock acquired, processing the job...
[2025-01-07 08:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:38:03] Production.INFO: ==22496== Lock acquired, processing the job...
[2025-01-07 08:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:38:03] Production.INFO: ==22490== Lock acquired, processing the job...
[2025-01-07 08:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:38:03] Production.INFO: ==22492== Lock acquired, processing the job...
[2025-01-07 08:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:38:03] Production.INFO: ==22494== Lock acquired, processing the job...
[2025-01-07 08:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:38:03] Production.INFO: ==22498== Lock acquired, processing the job...
[2025-01-07 08:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:38:03] Production.INFO: Account Balance Start.
[2025-01-07 08:38:03] Production.INFO: CreateAllLog Start
[2025-01-07 08:38:03] Production.INFO: 117
[2025-01-07 08:38:03] Production.ERROR: done
[2025-01-07 08:38:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:38:03] Production.INFO: Date 2024-12-08
[2025-01-07 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-07 08:38:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:38:03] Production.INFO: count ==21
[2025-01-07 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-07 08:38:04] Production.INFO: count ==21
[2025-01-07 08:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193726') start
[2025-01-07 08:38:04] Production.INFO: Date 2024-12-09
[2025-01-07 08:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:38:04] Production.INFO: Date 2024-12-10
[2025-01-07 08:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:38:04] Production.ERROR: done
[2025-01-07 08:38:04] Production.INFO: Date 2024-12-11
[2025-01-07 08:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193726') end
[2025-01-07 08:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:38:04] Production.INFO: 1
[2025-01-07 08:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:38:04] Production.INFO: Date 2024-12-12
[2025-01-07 08:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:38:04] Production.INFO: ==22498== Releasing lock...
[2025-01-07 08:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:38:04] Production.INFO: Date 2024-12-13
[2025-01-07 08:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:38:04] Production.INFO: ==22490== Releasing lock...
[2025-01-07 08:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:38:04] Production.INFO: Date 2024-12-14
[2025-01-07 08:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:38:04] Production.INFO: Date 2024-12-15
[2025-01-07 08:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:38:04] Production.INFO: Date 2024-12-16
[2025-01-07 08:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:38:04] Production.INFO: Date 2024-12-17
[2025-01-07 08:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:38:04] Production.INFO: Date 2024-12-18
[2025-01-07 08:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:38:04] Production.INFO: Date 2024-12-19
[2025-01-07 08:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:38:04] Production.INFO: Date 2024-12-20
[2025-01-07 08:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:38:04] Production.INFO: Date 2024-12-21
[2025-01-07 08:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:38:04] Production.INFO: Date 2024-12-22
[2025-01-07 08:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:38:04] Production.INFO: Date 2024-12-23
[2025-01-07 08:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:38:04] Production.INFO: Date 2024-12-24
[2025-01-07 08:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:38:04] Production.INFO: Date 2024-12-25
[2025-01-07 08:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:38:04] Production.INFO: Date 2024-12-26
[2025-01-07 08:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:38:04] Production.INFO: Date 2024-12-27
[2025-01-07 08:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:38:04] Production.INFO: Date 2024-12-28
[2025-01-07 08:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:38:04] Production.INFO: Date 2024-12-29
[2025-01-07 08:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:38:04] Production.INFO: Date 2024-12-30
[2025-01-07 08:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:38:04] Production.INFO: Date 2024-12-31
[2025-01-07 08:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:38:04] Production.INFO: Date 2025-01-01
[2025-01-07 08:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:38:04] Production.INFO: Date 2025-01-02
[2025-01-07 08:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:38:04] Production.INFO: Date 2025-01-03
[2025-01-07 08:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:38:04] Production.INFO: Date 2025-01-04
[2025-01-07 08:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:38:04] Production.INFO: Date 2025-01-05
[2025-01-07 08:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:38:04] Production.INFO: Date 2025-01-06
[2025-01-07 08:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:38:04] Production.INFO: Date 2025-01-07
[2025-01-07 08:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:38:04] Production.INFO: Total Charge 0
[2025-01-07 08:38:04] Production.INFO: CreateAllLog End
[2025-01-07 08:38:05] Production.INFO: Account Balance End.
[2025-01-07 08:38:05] Production.ERROR: CronJobId end 12
[2025-01-07 08:38:05] Production.INFO: ==22494== Releasing lock...
[2025-01-07 08:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:38:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:38:05
[end_date_ymd] => 2025-01-07 08:38:05
[RateCDR] => 1
)
[2025-01-07 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-07 05:38:05' and `end` < '2025-01-07 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-07 08:38:11] Production.ERROR: CronJobId end10
[2025-01-07 08:38:11] Production.INFO: ==22492== Releasing lock...
[2025-01-07 08:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:38:13] Production.INFO: call_cost start
[2025-01-07 08:38:13] Production.INFO: call_cost end
[2025-01-07 08:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:38:14] Production.INFO: ==22488== Releasing lock...
[2025-01-07 08:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:38:18] Production.INFO: count ==455
[2025-01-07 08:38:18] Production.ERROR: pbx CDR StartTime 2025-01-07 05:38:05 - End Time 2025-01-07 08:38:05
[2025-01-07 08:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193727', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193727', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193727', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193727', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:38:18] Production.INFO: ProcessCDR(1,14193727,1,1,2)
[2025-01-07 08:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193727,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193727,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193727,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193727,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193727', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193727', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:38:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:38:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:38:21] Production.INFO: ==22496== Releasing lock...
[2025-01-07 08:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:38:21] Production.INFO: 31.75 MB #Memory Used#
[2025-01-07 13:39:01] Production.INFO: ==22556== Lock acquired, processing the job...
[2025-01-07 13:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:39:01] Production.INFO: neon service started
[2025-01-07 13:39:01] Production.INFO: neon service started
[2025-01-07 13:39:01] Production.INFO: ==22556== Releasing lock...
[2025-01-07 13:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:39:01] Production.INFO: ==22558== Lock acquired, processing the job...
[2025-01-07 08:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:39:02] Production.INFO: ==22558== Releasing lock...
[2025-01-07 08:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 13:39:02] Production.INFO: ==22560== Lock acquired, processing the job...
[2025-01-07 13:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:39:02] Production.INFO: ==22560== Releasing lock...
[2025-01-07 13:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:39:02] Production.INFO: ==22565== Lock acquired, processing the job...
[2025-01-07 08:39:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:39:03] Production.INFO: ==22567== Lock acquired, processing the job...
[2025-01-07 08:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:39:03] Production.INFO: ==22563== Lock acquired, processing the job...
[2025-01-07 08:39:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10474 #Starts#
[2025-01-07 08:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:39:03] Production.INFO: ==22571== Lock acquired, processing the job...
[2025-01-07 08:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:39:03] Production.INFO: ==22569== Lock acquired, processing the job...
[2025-01-07 08:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:39:03] Production.INFO: -- Xero Api Check --
[2025-01-07 08:39:03] Production.INFO: ==22573== Lock acquired, processing the job...
[2025-01-07 08:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:39:03] Production.INFO: Account Balance Start.
[2025-01-07 08:39:03] Production.INFO: CreateAllLog Start
[2025-01-07 08:39:03] Production.INFO: 117
[2025-01-07 08:39:03] Production.INFO: Date 2024-12-08
[2025-01-07 08:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:39:03] Production.INFO: Date 2024-12-09
[2025-01-07 08:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:39:03] Production.INFO: ==22575== Lock acquired, processing the job...
[2025-01-07 08:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:39:03] Production.INFO: Date 2024-12-10
[2025-01-07 08:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:39:03] Production.INFO: Date 2024-12-11
[2025-01-07 08:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:39:03] Production.INFO: Date 2024-12-12
[2025-01-07 08:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:39:03] Production.INFO: Date 2024-12-13
[2025-01-07 08:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:39:03] Production.INFO: Date 2024-12-14
[2025-01-07 08:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:39:03] Production.INFO: Date 2024-12-15
[2025-01-07 08:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:39:03] Production.INFO: ==22567== Releasing lock...
[2025-01-07 08:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:39:03] Production.INFO: Date 2024-12-16
[2025-01-07 08:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:39:03] Production.INFO: Date 2024-12-17
[2025-01-07 08:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 08:39:03] Production.INFO: Date 2024-12-18
[2025-01-07 08:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:39:03] Production.INFO: Date 2024-12-19
[2025-01-07 08:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:39:03] Production.INFO: count ==21
[2025-01-07 08:39:03] Production.INFO: Date 2024-12-20
[2025-01-07 08:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 08:39:03] Production.INFO: count ==21
[2025-01-07 08:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193731') start
[2025-01-07 08:39:03] Production.INFO: Date 2024-12-21
[2025-01-07 08:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:39:03] Production.ERROR: done
[2025-01-07 08:39:03] Production.INFO: Date 2024-12-22
[2025-01-07 08:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:39:03] Production.INFO: Date 2024-12-23
[2025-01-07 08:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193731') end
[2025-01-07 08:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:39:03] Production.INFO: 1
[2025-01-07 08:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:39:03] 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.70189
[namelookup_time] => 0.265142
[connect_time] => 0.277033
[pretransfer_time] => 0.538322
[size_upload] => 82
[size_download] => 2755
[speed_download] => 3925
[speed_upload] => 116
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.701843
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.17
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 45006
)
[2025-01-07 08:39:03] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTcxNDMsImV4cCI6MTczNjI1NzQ0MywiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjU3MTQzLCJhdF9oYXNoIjoiekFWdk91cFJsVWtKNkZrTW9jUEVzQSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.ER9PCKHZNGiY2i0JcV9d_h57ZBnmPPFowu4CdCG5crUugCmQwzWDlDiuScqW0T30-Cqhi38lh1Bl3S91bRfirqQxalnP97HLUXqNCQJfPmAmxhAsK8U_8FA0rOB7hnoo2b2xb_sFEE_JMQA58F9w_3q-3sPjWbW1LzHIGf4CA0jPrg5WKHhb9GPwznzlsyEv_H8-o2lHEzO3NloWgMMBtxnehfXbs6m_nQjNOHvbAc0TOrgbarN52uhaURn3OfrS3EjvAeCWmUYMtnYRKamx4G_zq5HLziD7PsJtDQY86s9zQFdKZEAUHuZU4DIpxzqQuujCICz_7toINzSTviYnoA
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTcxNDMsImV4cCI6MTczNjI1ODk0MywiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.ix6CHuXpB2N_bLZuuFKUfTb8-sMAYvisLYLx2i-tQlIIlF0dOf5NAx4_ZaRVSIRtNxRbftEs597fuuzN1GKW-EoYoUFG0eVJvbvthIJrZTDxMtsBPA0Pw6EFJS4LtNv5J8yKmYXFUAlyxXamW_IDL9GBCdeYjgqil6kG8PAqE9qG8OdFZQMzrbU5_gwUwS3MNnBXy6yQT5KypJaldNqviWO1TAaOLRFX3OdhTqPjoP4S9rZqk3gyVhxiiC_T2x-AiPkTF_0-VZo_eWv3EHI7ETxWh_XVIzs7wPjyfCN7_aMGNQrAvy5oRtfvE9Cp6z3muUcE2QcfaRpupkw-0vy-Nw
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => nwOaIh4eCCBMg1ZgXUSg8E1FimcuKK-fgjMgeYWwE_8
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 08:39:03] Production.INFO: ==22575== Releasing lock...
[2025-01-07 08:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:39:03] Production.ERROR: done
[2025-01-07 08:39:03] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTcxNDMsImV4cCI6MTczNjI1NzQ0MywiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjU3MTQzLCJhdF9oYXNoIjoiekFWdk91cFJsVWtKNkZrTW9jUEVzQSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.ER9PCKHZNGiY2i0JcV9d_h57ZBnmPPFowu4CdCG5crUugCmQwzWDlDiuScqW0T30-Cqhi38lh1Bl3S91bRfirqQxalnP97HLUXqNCQJfPmAmxhAsK8U_8FA0rOB7hnoo2b2xb_sFEE_JMQA58F9w_3q-3sPjWbW1LzHIGf4CA0jPrg5WKHhb9GPwznzlsyEv_H8-o2lHEzO3NloWgMMBtxnehfXbs6m_nQjNOHvbAc0TOrgbarN52uhaURn3OfrS3EjvAeCWmUYMtnYRKamx4G_zq5HLziD7PsJtDQY86s9zQFdKZEAUHuZU4DIpxzqQuujCICz_7toINzSTviYnoA
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTcxNDMsImV4cCI6MTczNjI1ODk0MywiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.ix6CHuXpB2N_bLZuuFKUfTb8-sMAYvisLYLx2i-tQlIIlF0dOf5NAx4_ZaRVSIRtNxRbftEs597fuuzN1GKW-EoYoUFG0eVJvbvthIJrZTDxMtsBPA0Pw6EFJS4LtNv5J8yKmYXFUAlyxXamW_IDL9GBCdeYjgqil6kG8PAqE9qG8OdFZQMzrbU5_gwUwS3MNnBXy6yQT5KypJaldNqviWO1TAaOLRFX3OdhTqPjoP4S9rZqk3gyVhxiiC_T2x-AiPkTF_0-VZo_eWv3EHI7ETxWh_XVIzs7wPjyfCN7_aMGNQrAvy5oRtfvE9Cp6z3muUcE2QcfaRpupkw-0vy-Nw
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => nwOaIh4eCCBMg1ZgXUSg8E1FimcuKK-fgjMgeYWwE_8
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 08:39:03] Production.INFO: Date 2024-12-24
[2025-01-07 08:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:39:03] Production.INFO: AccountID 53
[2025-01-07 08:39:03] Production.INFO: AccountName Plus Travel Group
[2025-01-07 08:39:04] Production.INFO: Checkcustomer
[2025-01-07 08:39:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plus%20Travel%20Group"
[2025-01-07 08:39:04] Production.INFO: Date 2024-12-25
[2025-01-07 08:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:39:04] Production.INFO: Date 2024-12-26
[2025-01-07 08:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:39:04] Production.INFO: Date 2024-12-27
[2025-01-07 08:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:39:04] Production.INFO: Date 2024-12-28
[2025-01-07 08:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:39:04] Production.INFO: Date 2024-12-29
[2025-01-07 08:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:39:04] Production.INFO: Date 2024-12-30
[2025-01-07 08:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:39:04] Production.INFO: Date 2024-12-31
[2025-01-07 08:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:39:04] Production.INFO: Date 2025-01-01
[2025-01-07 08:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:39:04] Production.INFO: Date 2025-01-02
[2025-01-07 08:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:39:04] Production.INFO: Date 2025-01-03
[2025-01-07 08:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:39:04] Production.INFO: Date 2025-01-04
[2025-01-07 08:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:39:04] Production.INFO: Date 2025-01-05
[2025-01-07 08:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:39:04] Production.INFO: Date 2025-01-06
[2025-01-07 08:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:39:04] Production.INFO: Date 2025-01-07
[2025-01-07 08:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:39:04] Production.INFO: Total Charge 0
[2025-01-07 08:39:04] Production.INFO: CreateAllLog End
[2025-01-07 08:39:04] Production.INFO: Account Balance End.
[2025-01-07 08:39:04] Production.ERROR: CronJobId end 12
[2025-01-07 08:39:04] Production.INFO: ==22571== Releasing lock...
[2025-01-07 08:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:39:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:39:04
[end_date_ymd] => 2025-01-07 08:39:04
[RateCDR] => 1
)
[2025-01-07 08: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-07 05:39:04' and `end` < '2025-01-07 08:39:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 08:39:07] Production.INFO: Contact id print CheckCustomer Case===5f6b39a6-c5bb-485f-9fdd-a6c7a1eccc47
[2025-01-07 08:39:07] Production.INFO: -- count --1
[2025-01-07 08:39:07] Production.INFO: -- Xero Add Inovice --
[2025-01-07 08:39:07] Production.INFO: CheckInvoice xerov2: INV50007
[2025-01-07 08:39:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV50007
[2025-01-07 08:39:09] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 08:39:09] Production.INFO: ========================== Exception occured =============================
[2025-01-07 08:39:09] Production.ERROR: exception 'ErrorException' with message 'Undefined offset: 80' in /var/www/html/onswitch.neon.service/app/lib/XeroV2.php:0
Stack trace:
#0 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined offse...', '/var/www/html/o...', 0, Array)
#1 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->GetInvoiceData()
#2 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->CreateInvoice()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/XeroInvoicePostV2.php(0): App\Lib\XeroV2->addInvoices()
#4 [internal function]: App\Console\Commands\XeroInvoicePostV2->fire()
#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\XeroInvoicePostV2), 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-07 08:39:09] Production.INFO: ========================== Exception updated in job and email sent =============================
[2025-01-07 08:39:09] Production.INFO: ==22563== Releasing lock...
[2025-01-07 08:39:09] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10474 #Stops#
[2025-01-07 08:39:09] Production.INFO: 27.5 MB #Memory Used#
[2025-01-07 08:39:10] Production.ERROR: CronJobId end10
[2025-01-07 08:39:10] Production.INFO: ==22569== Releasing lock...
[2025-01-07 08:39:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:39:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:39:13] Production.INFO: call_cost start
[2025-01-07 08:39:13] Production.INFO: call_cost end
[2025-01-07 08:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:39:14] Production.INFO: ==22565== Releasing lock...
[2025-01-07 08:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:39:17] Production.INFO: count ==463
[2025-01-07 08:39:18] Production.ERROR: pbx CDR StartTime 2025-01-07 05:39:04 - End Time 2025-01-07 08:39:04
[2025-01-07 08:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193732', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193732', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193732', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193732', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:39:18] Production.INFO: ProcessCDR(1,14193732,1,1,2)
[2025-01-07 08:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193732,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193732,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193732,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193732,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193732', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193732', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:39:21] Production.INFO: ==22573== Releasing lock...
[2025-01-07 08:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:39:21] Production.INFO: 32.25 MB #Memory Used#
[2025-01-07 13:40:01] Production.INFO: ==22632== Lock acquired, processing the job...
[2025-01-07 13:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:40:01] Production.INFO: neon service started
[2025-01-07 13:40:01] Production.INFO: neon service started
[2025-01-07 13:40:01] Production.INFO: ==22632== Releasing lock...
[2025-01-07 13:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:40:02] Production.INFO: ==22634== Lock acquired, processing the job...
[2025-01-07 08:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 13:40:02] Production.INFO: ==22636== Lock acquired, processing the job...
[2025-01-07 13:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:40:02] Production.INFO: ==22636== Releasing lock...
[2025-01-07 13:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:40:02] Production.INFO: ==22634== Releasing lock...
[2025-01-07 08:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:40:03] Production.INFO: ==22639== Lock acquired, processing the job...
[2025-01-07 08:40:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10475 #Starts#
[2025-01-07 08:40:03] Production.INFO: -- Xero Api Check --
[2025-01-07 08:40:03] Production.INFO: ==22643== Lock acquired, processing the job...
[2025-01-07 08:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:40:03] Production.INFO: ==22641== Lock acquired, processing the job...
[2025-01-07 08:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 08:40:03] Production.INFO: ==22645== Lock acquired, processing the job...
[2025-01-07 08:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 08:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 08:40:03] Production.ERROR: CronJob PID - 22643
[2025-01-07 08:40:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-07 08:40:03] Production.ERROR: CronJob ID - 5
[2025-01-07 08:40:03] Production.ERROR: CronJob Last Run Time 2025-01-07 08:40:00
[2025-01-07 08:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 08:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 08:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 08:40:03] Production.INFO: ==22641== Releasing lock...
[2025-01-07 08:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 08:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 08:40:03] Production.INFO: ==22647== Lock acquired, processing the job...
[2025-01-07 08:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:40:03] Production.INFO: ==22651== Lock acquired, processing the job...
[2025-01-07 08:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:40:04] Production.INFO: ==22649== Lock acquired, processing the job...
[2025-01-07 08:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:40:04] Production.INFO: ==22655== Lock acquired, processing the job...
[2025-01-07 08:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:40:04] Production.INFO: ==22653== Lock acquired, processing the job...
[2025-01-07 08:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 08:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:40:04] Production.INFO: Account Balance Start.
[2025-01-07 08:40:04] Production.INFO: CreateAllLog Start
[2025-01-07 08:40:04] Production.INFO: 117
[2025-01-07 08:40:04] Production.INFO: Date 2024-12-08
[2025-01-07 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-07 08:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:40:04] Production.INFO: count ==21
[2025-01-07 08:40:04] Production.INFO: Date 2024-12-09
[2025-01-07 08:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 08:40:04] Production.INFO: count ==21
[2025-01-07 08:40:04] Production.ERROR: done
[2025-01-07 08:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:40:04] Production.INFO: ==22645== Releasing lock...
[2025-01-07 08:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193735') start
[2025-01-07 08:40:04] Production.INFO: Date 2024-12-10
[2025-01-07 08:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:40:04] Production.INFO: Date 2024-12-11
[2025-01-07 08:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:40:04] Production.INFO: Date 2024-12-12
[2025-01-07 08:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:40:04] Production.INFO: Date 2024-12-13
[2025-01-07 08:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:40: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] => 856
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.84542
[namelookup_time] => 0.278332
[connect_time] => 0.279548
[pretransfer_time] => 0.626743
[size_upload] => 82
[size_download] => 2755
[speed_download] => 3258
[speed_upload] => 96
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.84537
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.33
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 42922
)
[2025-01-07 08:40:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTcyMDQsImV4cCI6MTczNjI1NzUwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjU3MjA0LCJhdF9oYXNoIjoieWRqd1dOSk4tblU0QmF5aDg0bVBYZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.qr45vz89du60aqyRfoRXLEsiqJ9QcWulIk8lMvJtM9aIqW_skcl1XVzkWzPI8fJjKzzDbeZAjymmWrCLw3fRmOq-IseHpO_SYB8l_rM4Vx8jurvOiaIbe_1P0ZcEDnmqA1SFGnWYYH3Qs_RXV1Jn5mYADIYG1X2RfZIP4rCcCeh59T_J_QJcc77F5PCY0BXBd-BYQYiImqKYzTSCrPNOOsdXPuX9lhGOAP_9dKXwW-FgU2A7cQErJkH3CCgGd5cg0Yh1oQ1ZugSHjEq9rDLQYXG2hVrT6rewm7CPsA1oY0cryy2knDSLARL90L269hLGUncM_BU4Qs70MCj-AUIRXA
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTcyMDQsImV4cCI6MTczNjI1OTAwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.xBrq908BaGavqBnrDjUVDTlsn0UXFTG-8hzH_5M_n1KApJqjRawW6Trddr1Jv_e4EqMaDLVVIvIBt23g5pkB49n8uFgX47qCovgs8ouxlbyqwwR3ja1q41syx5zXdC3mkRiMBrSiOsVOZVDv3BE6gudcyx77q06kirKB2-kEnh7xATEPvSHjMf7JJp96cf3jLDUH-0ycfxGLYEc_ZtR4nt0cFAlcskmizOOmL3HMnVytXtK0ktmcd6kmKfh2G_9DEZSwh6W1hbFBZ3ENjV-1pb80hO_P_A7OqH7KmVd1uClVbsEw3cgBo93pfFfmUSosb0Y8-1QVPQPxvOLT497yVw
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => euyKmoZv_o8xNiyJ2JkUiVhvMWjCiEnRAOfZGLn0EwA
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 08:40:04] Production.ERROR: done
[2025-01-07 08:40:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTcyMDQsImV4cCI6MTczNjI1NzUwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjU3MjA0LCJhdF9oYXNoIjoieWRqd1dOSk4tblU0QmF5aDg0bVBYZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.qr45vz89du60aqyRfoRXLEsiqJ9QcWulIk8lMvJtM9aIqW_skcl1XVzkWzPI8fJjKzzDbeZAjymmWrCLw3fRmOq-IseHpO_SYB8l_rM4Vx8jurvOiaIbe_1P0ZcEDnmqA1SFGnWYYH3Qs_RXV1Jn5mYADIYG1X2RfZIP4rCcCeh59T_J_QJcc77F5PCY0BXBd-BYQYiImqKYzTSCrPNOOsdXPuX9lhGOAP_9dKXwW-FgU2A7cQErJkH3CCgGd5cg0Yh1oQ1ZugSHjEq9rDLQYXG2hVrT6rewm7CPsA1oY0cryy2knDSLARL90L269hLGUncM_BU4Qs70MCj-AUIRXA
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTcyMDQsImV4cCI6MTczNjI1OTAwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.xBrq908BaGavqBnrDjUVDTlsn0UXFTG-8hzH_5M_n1KApJqjRawW6Trddr1Jv_e4EqMaDLVVIvIBt23g5pkB49n8uFgX47qCovgs8ouxlbyqwwR3ja1q41syx5zXdC3mkRiMBrSiOsVOZVDv3BE6gudcyx77q06kirKB2-kEnh7xATEPvSHjMf7JJp96cf3jLDUH-0ycfxGLYEc_ZtR4nt0cFAlcskmizOOmL3HMnVytXtK0ktmcd6kmKfh2G_9DEZSwh6W1hbFBZ3ENjV-1pb80hO_P_A7OqH7KmVd1uClVbsEw3cgBo93pfFfmUSosb0Y8-1QVPQPxvOLT497yVw
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => euyKmoZv_o8xNiyJ2JkUiVhvMWjCiEnRAOfZGLn0EwA
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 08:40:04] Production.ERROR: done
[2025-01-07 08:40:04] Production.INFO: Date 2024-12-14
[2025-01-07 08:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:40:04] Production.INFO: AccountID 230
[2025-01-07 08:40:04] Production.INFO: AccountName Harbourfront Medicine Cabinet
[2025-01-07 08:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 08:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14193738', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 08:40:04] Production.INFO: Date 2024-12-15
[2025-01-07 08:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:40:04] Production.INFO: Checkcustomer
[2025-01-07 08:40:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Harbourfront%20Medicine%20Cabinet"
[2025-01-07 08:40:04] Production.INFO: Date 2024-12-16
[2025-01-07 08:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193735') end
[2025-01-07 08:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:40:04] Production.INFO: 1
[2025-01-07 08:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:40:04] Production.INFO: Date 2024-12-17
[2025-01-07 08:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:40:04] Production.INFO: Date 2024-12-18
[2025-01-07 08:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:40:04] Production.INFO: ==22655== Releasing lock...
[2025-01-07 08:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:40:04] Production.INFO: Date 2024-12-19
[2025-01-07 08:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:40:04] Production.INFO: Date 2024-12-20
[2025-01-07 08:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:40:04] Production.INFO: Date 2024-12-21
[2025-01-07 08:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:40:05] Production.INFO: Date 2024-12-22
[2025-01-07 08:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:40:05] Production.INFO: Date 2024-12-23
[2025-01-07 08:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:40:05] Production.INFO: Date 2024-12-24
[2025-01-07 08:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:40:05] Production.INFO: Date 2024-12-25
[2025-01-07 08:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:40:05] Production.INFO: Date 2024-12-26
[2025-01-07 08:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:40:05] Production.INFO: Date 2024-12-27
[2025-01-07 08:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:40:05] Production.INFO: Date 2024-12-28
[2025-01-07 08:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:40:05] Production.INFO: Date 2024-12-29
[2025-01-07 08:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:40:05] Production.INFO: Date 2024-12-30
[2025-01-07 08:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:40:05] Production.INFO: Date 2024-12-31
[2025-01-07 08:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:40:05] Production.INFO: Date 2025-01-01
[2025-01-07 08:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:40:05] Production.INFO: Date 2025-01-02
[2025-01-07 08:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:40:05] Production.INFO: Date 2025-01-03
[2025-01-07 08:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:40:05] Production.INFO: Date 2025-01-04
[2025-01-07 08:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:40:05] Production.INFO: Date 2025-01-05
[2025-01-07 08:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:40:05] Production.INFO: Date 2025-01-06
[2025-01-07 08:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:40:05] Production.INFO: Date 2025-01-07
[2025-01-07 08:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:40:05] Production.INFO: Total Charge 0
[2025-01-07 08:40:05] Production.INFO: CreateAllLog End
[2025-01-07 08:40:05] Production.INFO: Account Balance End.
[2025-01-07 08:40:05] Production.ERROR: CronJobId end 12
[2025-01-07 08:40:05] Production.INFO: ==22649== Releasing lock...
[2025-01-07 08:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:40:05
[end_date_ymd] => 2025-01-07 08:40:05
[RateCDR] => 1
)
[2025-01-07 08:40:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 05:40:05' and `end` < '2025-01-07 08:40:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 08:40:08] Production.INFO: Contact id print CheckCustomer Case===e4609e79-2a2f-49b0-a0f8-9766de2b1774
[2025-01-07 08:40:08] Production.INFO: -- count --1
[2025-01-07 08:40:08] Production.INFO: -- Xero Add Inovice --
[2025-01-07 08:40:08] Production.INFO: CheckInvoice xerov2: INV11227
[2025-01-07 08:40:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11227
[2025-01-07 08:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14193738', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 08:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 08:40:08] Production.INFO: ProcessCDR(1,14193738,1,1,2)
[2025-01-07 08:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14193738,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14193738,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:40:09] Production.INFO: ==22653== Releasing lock...
[2025-01-07 08:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 08:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-07 08:40:12] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 08:40:12] Production.INFO: ========================== Exception occured =============================
[2025-01-07 08:40:12] Production.ERROR: exception 'ErrorException' with message 'Undefined offset: 47' in /var/www/html/onswitch.neon.service/app/lib/XeroV2.php:0
Stack trace:
#0 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined offse...', '/var/www/html/o...', 0, Array)
#1 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->GetInvoiceData()
#2 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->CreateInvoice()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/XeroInvoicePostV2.php(0): App\Lib\XeroV2->addInvoices()
#4 [internal function]: App\Console\Commands\XeroInvoicePostV2->fire()
#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\XeroInvoicePostV2), 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-07 08:40:12] Production.INFO: ========================== Exception updated in job and email sent =============================
[2025-01-07 08:40:12] Production.INFO: ==22639== Releasing lock...
[2025-01-07 08:40:12] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10475 #Stops#
[2025-01-07 08:40:12] Production.INFO: 27.5 MB #Memory Used#
[2025-01-07 08:40:13] Production.ERROR: CronJobId end10
[2025-01-07 08:40:13] Production.INFO: ==22647== Releasing lock...
[2025-01-07 08:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:40:15] Production.INFO: call_cost start
[2025-01-07 08:40:15] Production.INFO: call_cost end
[2025-01-07 08:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:40:16] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:40:16] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:40:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:40:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:40:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:40:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:40:16] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:40:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:40:16] Production.INFO: ==22643== Releasing lock...
[2025-01-07 08:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:40:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:40:18] Production.INFO: count ==479
[2025-01-07 08:40:19] Production.ERROR: pbx CDR StartTime 2025-01-07 05:40:05 - End Time 2025-01-07 08:40:05
[2025-01-07 08:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193737', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193737', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193737', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193737', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:40:19] Production.INFO: ProcessCDR(1,14193737,1,1,2)
[2025-01-07 08:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193737,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:40:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193737,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:40:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193737,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193737,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193737', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193737', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:40:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:40:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:40:23] Production.INFO: ==22651== Releasing lock...
[2025-01-07 08:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:40:23] Production.INFO: 32.5 MB #Memory Used#
[2025-01-07 13:41:02] Production.INFO: ==22714== Lock acquired, processing the job...
[2025-01-07 13:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:41:02] Production.INFO: neon service started
[2025-01-07 13:41:02] Production.INFO: neon service started
[2025-01-07 13:41:02] Production.INFO: ==22714== Releasing lock...
[2025-01-07 13:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 13:41:02] Production.INFO: ==22718== Lock acquired, processing the job...
[2025-01-07 13:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:41:02] Production.INFO: ==22718== Releasing lock...
[2025-01-07 13:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:41:02] Production.INFO: ==22716== Lock acquired, processing the job...
[2025-01-07 08:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:41:03] Production.INFO: ==22716== Releasing lock...
[2025-01-07 08:41:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:41:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:41:03] Production.INFO: ==22720== Lock acquired, processing the job...
[2025-01-07 08:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:41:03] Production.INFO: ==22722== Lock acquired, processing the job...
[2025-01-07 08:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:41:03] Production.INFO: ==22728== Lock acquired, processing the job...
[2025-01-07 08:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:41:04] Production.INFO: ==22730== Lock acquired, processing the job...
[2025-01-07 08:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:41:04] Production.INFO: ==22724== Lock acquired, processing the job...
[2025-01-07 08:41:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:41:04] Production.INFO: ==22726== Lock acquired, processing the job...
[2025-01-07 08:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:41:04] Production.INFO: ==22722== Releasing lock...
[2025-01-07 08:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:41:04] Production.ERROR: done
[2025-01-07 08:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:41:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:41:04] Production.INFO: Account Balance Start.
[2025-01-07 08:41:04] Production.INFO: CreateAllLog Start
[2025-01-07 08:41:04] Production.INFO: 117
[2025-01-07 08:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:41:04] Production.INFO: Date 2024-12-08
[2025-01-07 08:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:41:04] Production.INFO: count ==21
[2025-01-07 08:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:41:04] Production.INFO: count ==21
[2025-01-07 08:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193741') start
[2025-01-07 08:41:04] Production.ERROR: done
[2025-01-07 08:41:04] Production.INFO: Date 2024-12-09
[2025-01-07 08:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:41:04] Production.INFO: Date 2024-12-10
[2025-01-07 08:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193741') end
[2025-01-07 08:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:41:04] Production.INFO: 1
[2025-01-07 08:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:41:04] Production.INFO: ==22730== Releasing lock...
[2025-01-07 08:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:41:04] Production.INFO: Date 2024-12-11
[2025-01-07 08:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:41:04] Production.INFO: Date 2024-12-12
[2025-01-07 08:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:41:04] Production.INFO: Date 2024-12-13
[2025-01-07 08:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:41:04] Production.INFO: Date 2024-12-14
[2025-01-07 08:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:41:04] Production.INFO: Date 2024-12-15
[2025-01-07 08:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:41:04] Production.INFO: Date 2024-12-16
[2025-01-07 08:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:41:04] Production.INFO: Date 2024-12-17
[2025-01-07 08:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:41:04] Production.INFO: Date 2024-12-18
[2025-01-07 08:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:41:04] Production.INFO: Date 2024-12-19
[2025-01-07 08:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:41:04] Production.INFO: Date 2024-12-20
[2025-01-07 08:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:41:04] Production.INFO: Date 2024-12-21
[2025-01-07 08:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:41:04] Production.INFO: Date 2024-12-22
[2025-01-07 08:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:41:05] Production.INFO: Date 2024-12-23
[2025-01-07 08:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:41:05] Production.INFO: Date 2024-12-24
[2025-01-07 08:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:41:05] Production.INFO: Date 2024-12-25
[2025-01-07 08:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:41:05] Production.INFO: Date 2024-12-26
[2025-01-07 08:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:41:05] Production.INFO: Date 2024-12-27
[2025-01-07 08:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:41:05] Production.INFO: Date 2024-12-28
[2025-01-07 08:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:41:05] Production.INFO: Date 2024-12-29
[2025-01-07 08:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:41:05] Production.INFO: Date 2024-12-30
[2025-01-07 08:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:41:05] Production.INFO: Date 2024-12-31
[2025-01-07 08:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:41:05] Production.INFO: Date 2025-01-01
[2025-01-07 08:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:41:05] Production.INFO: Date 2025-01-02
[2025-01-07 08:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:41:05] Production.INFO: Date 2025-01-03
[2025-01-07 08:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:41:05] Production.INFO: Date 2025-01-04
[2025-01-07 08:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:41:05] Production.INFO: Date 2025-01-05
[2025-01-07 08:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:41:05] Production.INFO: Date 2025-01-06
[2025-01-07 08:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:41:05] Production.INFO: Date 2025-01-07
[2025-01-07 08:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:41:05] Production.INFO: Total Charge 0
[2025-01-07 08:41:05] Production.INFO: CreateAllLog End
[2025-01-07 08:41:05] Production.INFO: Account Balance End.
[2025-01-07 08:41:05] Production.ERROR: CronJobId end 12
[2025-01-07 08:41:05] Production.INFO: ==22726== Releasing lock...
[2025-01-07 08:41:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:41:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:41:05
[end_date_ymd] => 2025-01-07 08:41:05
[RateCDR] => 1
)
[2025-01-07 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-07 05:41:05' and `end` < '2025-01-07 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-07 08:41:10] Production.ERROR: CronJobId end10
[2025-01-07 08:41:10] Production.INFO: ==22724== Releasing lock...
[2025-01-07 08:41:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:41:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:41:13] Production.INFO: call_cost start
[2025-01-07 08:41:13] Production.INFO: call_cost end
[2025-01-07 08:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:41:14] Production.INFO: ==22720== Releasing lock...
[2025-01-07 08:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:41:19] Production.INFO: count ==515
[2025-01-07 08:41:20] Production.ERROR: pbx CDR StartTime 2025-01-07 05:41:05 - End Time 2025-01-07 08:41:05
[2025-01-07 08:41:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:41:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193743', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:41:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193743', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:41:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193743', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:41:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193743', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:41:20] Production.INFO: ProcessCDR(1,14193743,1,1,2)
[2025-01-07 08:41:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193743,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:41:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193743,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:41:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193743,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:41:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193743,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:41:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193743', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:41:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193743', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:41:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:41:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:41:24] Production.INFO: ==22728== Releasing lock...
[2025-01-07 08:41:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:41:24] Production.INFO: 32.5 MB #Memory Used#
[2025-01-07 13:42:01] Production.INFO: ==22824== Lock acquired, processing the job...
[2025-01-07 13:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:42:01] Production.INFO: neon service started
[2025-01-07 13:42:01] Production.INFO: neon service started
[2025-01-07 13:42:01] Production.INFO: ==22824== Releasing lock...
[2025-01-07 13:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:42:01] Production.INFO: ==22826== Lock acquired, processing the job...
[2025-01-07 08:42:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:42:02] Production.INFO: ==22826== Releasing lock...
[2025-01-07 08:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 13:42:02] Production.INFO: ==22828== Lock acquired, processing the job...
[2025-01-07 13:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:42:02] Production.INFO: ==22828== Releasing lock...
[2025-01-07 13:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:42:03] Production.INFO: ==22830== Lock acquired, processing the job...
[2025-01-07 08:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:42:03] Production.INFO: ==22832== Lock acquired, processing the job...
[2025-01-07 08:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:42:03] Production.INFO: ==22840== Lock acquired, processing the job...
[2025-01-07 08:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 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-07 08:42:03] Production.INFO: ==22834== Lock acquired, processing the job...
[2025-01-07 08:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:42:03] Production.INFO: count ==21
[2025-01-07 08:42:03] Production.INFO: ==22836== Lock acquired, processing the job...
[2025-01-07 08:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08: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-07 08:42:03] Production.INFO: count ==21
[2025-01-07 08:42:03] Production.INFO: ==22838== Lock acquired, processing the job...
[2025-01-07 08:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193745') start
[2025-01-07 08:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:42:03] Production.INFO: ==22832== Releasing lock...
[2025-01-07 08:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:42:03] Production.INFO: Account Balance Start.
[2025-01-07 08:42:03] Production.INFO: CreateAllLog Start
[2025-01-07 08:42:03] Production.INFO: 117
[2025-01-07 08:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193745') end
[2025-01-07 08:42:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:42:03] Production.INFO: 1
[2025-01-07 08:42:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:42:03] Production.INFO: Date 2024-12-08
[2025-01-07 08:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:42:03] Production.INFO: ==22840== Releasing lock...
[2025-01-07 08:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:42:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:42:03] Production.INFO: Date 2024-12-09
[2025-01-07 08:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:42:03] Production.INFO: Date 2024-12-10
[2025-01-07 08:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:42:03] Production.INFO: Date 2024-12-11
[2025-01-07 08:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:42:03] Production.INFO: Date 2024-12-12
[2025-01-07 08:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:42:04] Production.ERROR: done
[2025-01-07 08:42:04] Production.INFO: Date 2024-12-13
[2025-01-07 08:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:42:04] Production.INFO: Date 2024-12-14
[2025-01-07 08:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:42:04] Production.INFO: Date 2024-12-15
[2025-01-07 08:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:42:04] Production.INFO: Date 2024-12-16
[2025-01-07 08:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:42:04] Production.INFO: Date 2024-12-17
[2025-01-07 08:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:42:04] Production.ERROR: done
[2025-01-07 08:42:04] Production.INFO: Date 2024-12-18
[2025-01-07 08:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:42:04] Production.INFO: Date 2024-12-19
[2025-01-07 08:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:42:04] Production.INFO: Date 2024-12-20
[2025-01-07 08:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:42:04] Production.INFO: Date 2024-12-21
[2025-01-07 08:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:42:04] Production.INFO: Date 2024-12-22
[2025-01-07 08:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:42:04] Production.INFO: Date 2024-12-23
[2025-01-07 08:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:42:04] Production.INFO: Date 2024-12-24
[2025-01-07 08:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:42:04] Production.INFO: Date 2024-12-25
[2025-01-07 08:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:42:04] Production.INFO: Date 2024-12-26
[2025-01-07 08:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:42:04] Production.INFO: Date 2024-12-27
[2025-01-07 08:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:42:04] Production.INFO: Date 2024-12-28
[2025-01-07 08:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:42:04] Production.INFO: Date 2024-12-29
[2025-01-07 08:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:42:04] Production.INFO: Date 2024-12-30
[2025-01-07 08:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:42:04] Production.INFO: Date 2024-12-31
[2025-01-07 08:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:42:04] Production.INFO: Date 2025-01-01
[2025-01-07 08:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:42:04] Production.INFO: Date 2025-01-02
[2025-01-07 08:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:42:04] Production.INFO: Date 2025-01-03
[2025-01-07 08:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:42:05] Production.INFO: Date 2025-01-04
[2025-01-07 08:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:42:05] Production.INFO: Date 2025-01-05
[2025-01-07 08:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:42:05] Production.INFO: Date 2025-01-06
[2025-01-07 08:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:42:05] Production.INFO: Date 2025-01-07
[2025-01-07 08:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:42:05
[end_date_ymd] => 2025-01-07 08:42:05
[RateCDR] => 1
)
[2025-01-07 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-07 05:42:05' and `end` < '2025-01-07 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-07 08:42:05] Production.INFO: Total Charge 0
[2025-01-07 08:42:05] Production.INFO: CreateAllLog End
[2025-01-07 08:42:05] Production.INFO: Account Balance End.
[2025-01-07 08:42:05] Production.ERROR: CronJobId end 12
[2025-01-07 08:42:05] Production.INFO: ==22836== Releasing lock...
[2025-01-07 08:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:42:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:42:11] Production.ERROR: CronJobId end10
[2025-01-07 08:42:11] Production.INFO: ==22834== Releasing lock...
[2025-01-07 08:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:42:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:42:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:42:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:42:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:42:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:42:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:42:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:42:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:42:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:42:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:42:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:42:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:42:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:42:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:42:13] Production.INFO: call_cost start
[2025-01-07 08:42:13] Production.INFO: call_cost end
[2025-01-07 08:42:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:42:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:42:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:42:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:42:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:42:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:42:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:42:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:42:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:42:13] Production.INFO: ==22830== Releasing lock...
[2025-01-07 08:42:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:42:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:42:18] Production.INFO: count ==521
[2025-01-07 08:42:18] Production.ERROR: pbx CDR StartTime 2025-01-07 05:42:05 - End Time 2025-01-07 08:42:05
[2025-01-07 08:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193748', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193748', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193748', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193748', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:42:18] Production.INFO: ProcessCDR(1,14193748,1,1,2)
[2025-01-07 08:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193748,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193748,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193748,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193748,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193748', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193748', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:42:21] Production.INFO: ==22838== Releasing lock...
[2025-01-07 08:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:42:21] Production.INFO: 32.25 MB #Memory Used#
[2025-01-07 13:43:02] Production.INFO: ==22894== Lock acquired, processing the job...
[2025-01-07 13:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:43:02] Production.INFO: neon service started
[2025-01-07 13:43:02] Production.INFO: neon service started
[2025-01-07 13:43:02] Production.INFO: ==22894== Releasing lock...
[2025-01-07 13:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:43:02] Production.INFO: ==22896== Lock acquired, processing the job...
[2025-01-07 08:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:43:02] Production.INFO: ==22896== Releasing lock...
[2025-01-07 08:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 13:43:02] Production.INFO: ==22898== Lock acquired, processing the job...
[2025-01-07 13:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:43:02] Production.INFO: ==22898== Releasing lock...
[2025-01-07 13:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:43:03] Production.INFO: ==22901== Lock acquired, processing the job...
[2025-01-07 08:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:43:03] Production.INFO: ==22905== Lock acquired, processing the job...
[2025-01-07 08:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:43:03] Production.INFO: ==22909== Lock acquired, processing the job...
[2025-01-07 08:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:43:03] Production.INFO: ==22903== Lock acquired, processing the job...
[2025-01-07 08:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:43:03] Production.INFO: ==22907== Lock acquired, processing the job...
[2025-01-07 08:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:43:03] Production.INFO: Account Balance Start.
[2025-01-07 08:43:03] Production.INFO: CreateAllLog Start
[2025-01-07 08:43:03] Production.INFO: ==22911== Lock acquired, processing the job...
[2025-01-07 08:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:43:03] Production.INFO: 117
[2025-01-07 08:43:03] Production.INFO: Date 2024-12-08
[2025-01-07 08:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:43:04] Production.INFO: Date 2024-12-09
[2025-01-07 08:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:43:04] Production.ERROR: done
[2025-01-07 08:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:43:04] Production.INFO: ==22903== Releasing lock...
[2025-01-07 08:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:43:04] Production.INFO: Date 2024-12-10
[2025-01-07 08:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 08: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-07 08:43:04] Production.INFO: Date 2024-12-11
[2025-01-07 08:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:43:04] Production.INFO: Date 2024-12-12
[2025-01-07 08:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:43:04] Production.INFO: count ==21
[2025-01-07 08:43:04] Production.INFO: Date 2024-12-13
[2025-01-07 08:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:43:04] Production.INFO: Date 2024-12-14
[2025-01-07 08:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 08: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-07 08:43:04] Production.INFO: count ==21
[2025-01-07 08:43:04] Production.ERROR: done
[2025-01-07 08:43:04] Production.INFO: Date 2024-12-15
[2025-01-07 08:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193752') start
[2025-01-07 08:43:04] Production.INFO: Date 2024-12-16
[2025-01-07 08:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:43:04] Production.INFO: Date 2024-12-17
[2025-01-07 08:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193752') end
[2025-01-07 08:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:43:04] Production.INFO: 1
[2025-01-07 08:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:43:04] Production.INFO: Date 2024-12-18
[2025-01-07 08:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:43:04] Production.INFO: Date 2024-12-19
[2025-01-07 08:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:43:04] Production.INFO: Date 2024-12-20
[2025-01-07 08:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:43:04] Production.INFO: ==22911== Releasing lock...
[2025-01-07 08:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:43:04] Production.INFO: Date 2024-12-21
[2025-01-07 08:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:43:04] Production.INFO: Date 2024-12-22
[2025-01-07 08:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:43:04] Production.INFO: Date 2024-12-23
[2025-01-07 08:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:43:04] Production.INFO: Date 2024-12-24
[2025-01-07 08:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:43:04] Production.INFO: Date 2024-12-25
[2025-01-07 08:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:43:04] Production.INFO: Date 2024-12-26
[2025-01-07 08:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:43:04] Production.INFO: Date 2024-12-27
[2025-01-07 08:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:43:04] Production.INFO: Date 2024-12-28
[2025-01-07 08:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:43:05] Production.INFO: Date 2024-12-29
[2025-01-07 08:43:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:43:05] Production.INFO: Date 2024-12-30
[2025-01-07 08:43:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:43:05] Production.INFO: Date 2024-12-31
[2025-01-07 08:43:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:43:05] Production.INFO: Date 2025-01-01
[2025-01-07 08:43:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:43:05] Production.INFO: Date 2025-01-02
[2025-01-07 08:43:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:43:05] Production.INFO: Date 2025-01-03
[2025-01-07 08:43:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:43:05] Production.INFO: Date 2025-01-04
[2025-01-07 08:43:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:43:05] Production.INFO: Date 2025-01-05
[2025-01-07 08:43:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:43:05] Production.INFO: Date 2025-01-06
[2025-01-07 08:43:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:43:05] Production.INFO: Date 2025-01-07
[2025-01-07 08:43:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:43:05] Production.INFO: Total Charge 0
[2025-01-07 08:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:43:05
[end_date_ymd] => 2025-01-07 08:43:05
[RateCDR] => 1
)
[2025-01-07 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-07 05:43:05' and `end` < '2025-01-07 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-07 08:43:05] Production.INFO: CreateAllLog End
[2025-01-07 08:43:05] Production.INFO: Account Balance End.
[2025-01-07 08:43:05] Production.ERROR: CronJobId end 12
[2025-01-07 08:43:05] Production.INFO: ==22907== Releasing lock...
[2025-01-07 08:43:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:43:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:43:11] Production.ERROR: CronJobId end10
[2025-01-07 08:43:11] Production.INFO: ==22905== Releasing lock...
[2025-01-07 08:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:43:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:43:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:43:14] Production.INFO: call_cost start
[2025-01-07 08:43:14] Production.INFO: call_cost end
[2025-01-07 08:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:43:14] Production.INFO: ==22901== Releasing lock...
[2025-01-07 08:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:43:18] Production.INFO: count ==521
[2025-01-07 08:43:18] Production.ERROR: pbx CDR StartTime 2025-01-07 05:43:05 - End Time 2025-01-07 08:43:05
[2025-01-07 08:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193753', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193753', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193753', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193753', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:43:18] Production.INFO: ProcessCDR(1,14193753,1,1,2)
[2025-01-07 08:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193753,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193753,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193753,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193753,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193753', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193753', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:43:21] Production.INFO: ==22909== Releasing lock...
[2025-01-07 08:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:43:21] Production.INFO: 32.25 MB #Memory Used#
[2025-01-07 13:44:01] Production.INFO: ==22964== Lock acquired, processing the job...
[2025-01-07 13:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:44:01] Production.INFO: neon service started
[2025-01-07 13:44:01] Production.INFO: neon service started
[2025-01-07 13:44:01] Production.INFO: ==22964== Releasing lock...
[2025-01-07 13:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:44:01] Production.INFO: ==22966== Lock acquired, processing the job...
[2025-01-07 08:44:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:44:02] Production.INFO: ==22966== Releasing lock...
[2025-01-07 08:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 13:44:02] Production.INFO: ==22968== Lock acquired, processing the job...
[2025-01-07 13:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:44:02] Production.INFO: ==22968== Releasing lock...
[2025-01-07 13:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:44:03] Production.INFO: ==22977== Lock acquired, processing the job...
[2025-01-07 08:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:44:03] Production.INFO: ==22971== Lock acquired, processing the job...
[2025-01-07 08:44:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10476 #Starts#
[2025-01-07 08:44:03] Production.INFO: ==22973== Lock acquired, processing the job...
[2025-01-07 08:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:44:03] Production.INFO: -- Xero Api Check --
[2025-01-07 08:44:03] Production.INFO: ==22981== Lock acquired, processing the job...
[2025-01-07 08:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:44:03] Production.INFO: ==22975== Lock acquired, processing the job...
[2025-01-07 08:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:44:03] Production.INFO: ==22979== Lock acquired, processing the job...
[2025-01-07 08:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:44:03] Production.INFO: ==22983== Lock acquired, processing the job...
[2025-01-07 08:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:44:03] Production.INFO: Account Balance Start.
[2025-01-07 08:44:03] Production.INFO: CreateAllLog Start
[2025-01-07 08:44:03] Production.INFO: 117
[2025-01-07 08:44:03] Production.ERROR: done
[2025-01-07 08:44:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:44:03] Production.INFO: Date 2024-12-08
[2025-01-07 08:44:03] Production.INFO: Reseller ==> 0
[2025-01-07 08: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-07 08:44:03] Production.INFO: count ==21
[2025-01-07 08: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-07 08:44:03] Production.INFO: ==22975== Releasing lock...
[2025-01-07 08:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:44:03] Production.INFO: count ==21
[2025-01-07 08:44:03] Production.ERROR: done
[2025-01-07 08:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193757') start
[2025-01-07 08:44:03] Production.INFO: Date 2024-12-09
[2025-01-07 08:44:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:44:03] 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.659498
[namelookup_time] => 0.275455
[connect_time] => 0.276797
[pretransfer_time] => 0.554665
[size_upload] => 82
[size_download] => 2755
[speed_download] => 4177
[speed_upload] => 124
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.659448
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.33
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 42944
)
[2025-01-07 08:44:03] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTc0NDMsImV4cCI6MTczNjI1Nzc0MywiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjU3NDQzLCJhdF9oYXNoIjoiTVR1eHVfQVU2eG9aY0lsRHVYNVJlZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.Buwq6_YbVDdsbxGJFTU0CUg5MpvVbuYo8EJ2Gcj9lWohMYevhaqwuXUiw6Zgj3yIG8C1rFN3Guf7kvD6RA3iZgRVldIdKDIz3YI8txHGKVHfS-qXdJZgQf0JJtlYQ_YrxWnJwZeNnhPzRwfW0T8H8gvcKddAGHhVPfUsznJPO4m90yT5rksHbmNTEt6cKSHpOvOhDuUgfhf7oEDqsddorv8YlwZf-WGUrGm-YRbdjFa4Gd3gPjnn3mElJTI-wu7r4qTFoKYOrdQsJq6Cl0R6VO67Uib0vm1frYzq0FpZDjDltUYY42_mFQw-CbZQvt2xhflA8Nrp4esJIYMf_KYrhw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTc0NDMsImV4cCI6MTczNjI1OTI0MywiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.TUJ9BuK0Z3jy7DK1eX5zmROJjUqj9vWc_6wBaLYSteCZdokLvSJ3Obvx4xYBCs4wbJp-nZLBYcNYpcHyTnBTlMx_KSA5TfsgdZO1u6EQ6IFaEeU02wk8bHkv_18dWlL-aG76c5hyQwNFaS34ZxyZ9m9GVesLwbnwSh7Vkz1kyLJboXSVr45mzjf3nWZlHo6E7J2amgmISKa19fh8zaNs6IoaxAYaPKCfdXYjj333tjn7oTx6g2i7tacGQCPwrFgcH4D-Kh_QWZzYCepDtaGjegpVRuXi6sTEMaDeP3sCR0JGzYJOs5aHKIgVtbmVz2LGOu5vk6p7AVXfI_4wSOut7w
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => NYJ8GQ7qTQz-4_zh72SRV-EcBAkRoRY9r8ywBBK2JlA
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 08:44:03] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTc0NDMsImV4cCI6MTczNjI1Nzc0MywiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjU3NDQzLCJhdF9oYXNoIjoiTVR1eHVfQVU2eG9aY0lsRHVYNVJlZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.Buwq6_YbVDdsbxGJFTU0CUg5MpvVbuYo8EJ2Gcj9lWohMYevhaqwuXUiw6Zgj3yIG8C1rFN3Guf7kvD6RA3iZgRVldIdKDIz3YI8txHGKVHfS-qXdJZgQf0JJtlYQ_YrxWnJwZeNnhPzRwfW0T8H8gvcKddAGHhVPfUsznJPO4m90yT5rksHbmNTEt6cKSHpOvOhDuUgfhf7oEDqsddorv8YlwZf-WGUrGm-YRbdjFa4Gd3gPjnn3mElJTI-wu7r4qTFoKYOrdQsJq6Cl0R6VO67Uib0vm1frYzq0FpZDjDltUYY42_mFQw-CbZQvt2xhflA8Nrp4esJIYMf_KYrhw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTc0NDMsImV4cCI6MTczNjI1OTI0MywiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.TUJ9BuK0Z3jy7DK1eX5zmROJjUqj9vWc_6wBaLYSteCZdokLvSJ3Obvx4xYBCs4wbJp-nZLBYcNYpcHyTnBTlMx_KSA5TfsgdZO1u6EQ6IFaEeU02wk8bHkv_18dWlL-aG76c5hyQwNFaS34ZxyZ9m9GVesLwbnwSh7Vkz1kyLJboXSVr45mzjf3nWZlHo6E7J2amgmISKa19fh8zaNs6IoaxAYaPKCfdXYjj333tjn7oTx6g2i7tacGQCPwrFgcH4D-Kh_QWZzYCepDtaGjegpVRuXi6sTEMaDeP3sCR0JGzYJOs5aHKIgVtbmVz2LGOu5vk6p7AVXfI_4wSOut7w
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => NYJ8GQ7qTQz-4_zh72SRV-EcBAkRoRY9r8ywBBK2JlA
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 08:44:03] Production.INFO: AccountID 184
[2025-01-07 08:44:04] Production.INFO: AccountName TTC (Donlands - Strathmore Subway) - Construction Site (Cancom - Think Secure)
[2025-01-07 08:44:04] Production.INFO: Checkcustomer
[2025-01-07 08:44:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="TTC%20%28Donlands%20-%20Strathmore%20Subway%29%20-%20Construction%20Site%20%28Cancom%20-%20Think%20Secure%29"
[2025-01-07 08:44:04] Production.INFO: Date 2024-12-10
[2025-01-07 08:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193757') end
[2025-01-07 08:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:44:04] Production.INFO: 1
[2025-01-07 08:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:44:04] Production.INFO: Date 2024-12-11
[2025-01-07 08:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:44:04] Production.INFO: Date 2024-12-12
[2025-01-07 08:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:44:04] Production.INFO: ==22983== Releasing lock...
[2025-01-07 08:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:44:04] Production.INFO: Date 2024-12-13
[2025-01-07 08:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:44:04] Production.INFO: Date 2024-12-14
[2025-01-07 08:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:44:04] Production.INFO: Date 2024-12-15
[2025-01-07 08:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:44:04] Production.INFO: Date 2024-12-16
[2025-01-07 08:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:44:04] Production.INFO: Date 2024-12-17
[2025-01-07 08:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:44:04] Production.INFO: Date 2024-12-18
[2025-01-07 08:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:44:04] Production.INFO: Date 2024-12-19
[2025-01-07 08:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:44:04] Production.INFO: Date 2024-12-20
[2025-01-07 08:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:44:04] Production.INFO: Date 2024-12-21
[2025-01-07 08:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:44:04] Production.INFO: Date 2024-12-22
[2025-01-07 08:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:44:04] Production.INFO: Date 2024-12-23
[2025-01-07 08:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:44:04] Production.INFO: Date 2024-12-24
[2025-01-07 08:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:44:04] Production.INFO: Date 2024-12-25
[2025-01-07 08:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:44:04] Production.INFO: Date 2024-12-26
[2025-01-07 08:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:44:04] Production.INFO: Date 2024-12-27
[2025-01-07 08:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:44:04] Production.INFO: Date 2024-12-28
[2025-01-07 08:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:44:04] Production.INFO: Date 2024-12-29
[2025-01-07 08:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:44:04] Production.INFO: Date 2024-12-30
[2025-01-07 08:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:44:04] Production.INFO: Date 2024-12-31
[2025-01-07 08:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:44:04] Production.INFO: Date 2025-01-01
[2025-01-07 08:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:44:04] Production.INFO: Date 2025-01-02
[2025-01-07 08:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:44:04] Production.INFO: Date 2025-01-03
[2025-01-07 08:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:44:04] Production.INFO: Date 2025-01-04
[2025-01-07 08:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:44:04] Production.INFO: Date 2025-01-05
[2025-01-07 08:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:44:04] Production.INFO: Date 2025-01-06
[2025-01-07 08:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:44:04] Production.INFO: Date 2025-01-07
[2025-01-07 08:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:44:04] Production.INFO: Total Charge 0
[2025-01-07 08:44:04] Production.INFO: CreateAllLog End
[2025-01-07 08:44:04] Production.INFO: Account Balance End.
[2025-01-07 08:44:05] Production.ERROR: CronJobId end 12
[2025-01-07 08:44:05] Production.INFO: ==22979== Releasing lock...
[2025-01-07 08:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:44:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:44:05
[end_date_ymd] => 2025-01-07 08:44:05
[RateCDR] => 1
)
[2025-01-07 08:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 05:44:05' and `end` < '2025-01-07 08:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 08:44:06] Production.INFO: Contact id print CheckCustomer Case===bc13c86d-cd70-4f32-948a-d1f4850061a0
[2025-01-07 08:44:06] Production.INFO: -- count --1
[2025-01-07 08:44:06] Production.INFO: -- Xero Add Inovice --
[2025-01-07 08:44:06] Production.INFO: CheckInvoice xerov2: INV11224
[2025-01-07 08:44:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11224
[2025-01-07 08:44:09] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 08:44:09] Production.INFO: Invoice SubTotal 76.860000
[2025-01-07 08:44:09] Production.INFO: Invoice DetTotal 76.86
[2025-01-07 08:44:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="TTC%20%28Donlands%20-%20Strathmore%20Subway%29%20-%20Construction%20Site%20%28Cancom%20-%20Think%20Secure%29"
[2025-01-07 08:44:10] Production.ERROR: CronJobId end10
[2025-01-07 08:44:10] Production.INFO: ==22977== Releasing lock...
[2025-01-07 08:44:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:44:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:44:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 08:44:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:44:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:44:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:44:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:44:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:44:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:44:13] Production.INFO: call_cost start
[2025-01-07 08:44:13] Production.INFO: call_cost end
[2025-01-07 08:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:44:14] Production.INFO: ==22973== Releasing lock...
[2025-01-07 08:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:44:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 08:44:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 08:44:18] Production.INFO: count ==533
[2025-01-07 08:44:18] Production.ERROR: pbx CDR StartTime 2025-01-07 05:44:05 - End Time 2025-01-07 08:44:05
[2025-01-07 08:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193758', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193758', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193758', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193758', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:44:18] Production.INFO: ProcessCDR(1,14193758,1,1,2)
[2025-01-07 08:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193758,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:44:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193758,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193758,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:44:20] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 204,"Description": "LTE Primary Internet (30 Donalds Ave, Toronto, ON M4J3N6) - 10GB/month",Quantity : 1,UnitAmount : 76.860000,LineAmount : 76.860000}
[2025-01-07 08:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193758,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193758', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193758', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:44:22] Production.INFO: ==22981== Releasing lock...
[2025-01-07 08:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:44:22] Production.INFO: 32.75 MB #Memory Used#
[2025-01-07 08:44:23] Production.INFO: ==== result =====
[2025-01-07 08:44:23] Production.INFO: {
"Id": "c276d8ec-a4a0-4d89-b6fb-10aa1ec15bbb",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736257463022)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "37aab875-26c4-4839-ac4e-531e63d1e476",
"InvoiceNumber": "INV11224",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 86.85,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"IsDiscounted": false,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "bc13c86d-cd70-4f32-948a-d1f4850061a0",
"ContactStatus": "ACTIVE",
"Name": "TTC (Donlands - Strathmore Subway) - Construction Site (Cancom - Think Secure)",
"FirstName": "Darcy",
"LastName": "Chelvan",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1657573506193+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-15T00:00:00",
"Date": "\/Date(1734220800000+0000)\/",
"DueDateString": "2025-01-14T00:00:00",
"DueDate": "\/Date(1736812800000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "LTE Primary Internet (30 Donalds Ave, Toronto, ON M4J3N6) - 10GB/month",
"UnitAmount": 76.86,
"TaxType": "TAX020",
"TaxAmount": 9.99,
"LineAmount": 76.86,
"AccountCode": "204",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "5af8e896-a5bd-4e5f-bb40-f42d1a9dc5b3",
"AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df",
"ValidationErrors": []
}
],
"SubTotal": 76.86,
"TotalTax": 9.99,
"Total": 86.85,
"UpdatedDateUTC": "\/Date(1736257462977+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 08:44:23] Production.INFO: -- Create Invoice id --37aab875-26c4-4839-ac4e-531e63d1e476
[2025-01-07 08:44:23] Production.INFO: -- Create Invoice Done --
[2025-01-07 08:44:23] Production.INFO: -- Xero End Inovice --
[2025-01-07 08:44:23] Production.INFO: ==22971== Releasing lock...
[2025-01-07 08:44:23] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10476 #Stops#
[2025-01-07 08:44:23] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 13:45:01] Production.INFO: ==23047== Lock acquired, processing the job...
[2025-01-07 13:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:45:01] Production.INFO: neon service started
[2025-01-07 13:45:01] Production.INFO: neon service started
[2025-01-07 13:45:01] Production.INFO: ==23047== Releasing lock...
[2025-01-07 13:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 13:45:02] Production.INFO: ==23051== Lock acquired, processing the job...
[2025-01-07 13:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:45:02] Production.INFO: ==23049== Lock acquired, processing the job...
[2025-01-07 08:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 13:45:02] Production.INFO: ==23051== Releasing lock...
[2025-01-07 13:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:45:02] Production.INFO: ==23049== Releasing lock...
[2025-01-07 08:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:45:03] Production.INFO: ==23054== Lock acquired, processing the job...
[2025-01-07 08:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:45:03] Production.INFO: ==23058== Lock acquired, processing the job...
[2025-01-07 08:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:45:03] Production.INFO: ==23056== Lock acquired, processing the job...
[2025-01-07 08:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:45:03] Production.INFO: ==23060== Lock acquired, processing the job...
[2025-01-07 08:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:45:03] Production.INFO: ==23062== Lock acquired, processing the job...
[2025-01-07 08:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:45:03] Production.INFO: ==23064== Lock acquired, processing the job...
[2025-01-07 08:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:45:03] Production.INFO: Account Balance Start.
[2025-01-07 08:45:03] Production.INFO: CreateAllLog Start
[2025-01-07 08:45:03] Production.INFO: 117
[2025-01-07 08:45:03] Production.INFO: Date 2024-12-08
[2025-01-07 08:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:45:04] Production.INFO: Date 2024-12-09
[2025-01-07 08:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:45:04] Production.INFO: Date 2024-12-10
[2025-01-07 08:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 08:45:04] Production.INFO: ==23056== Releasing lock...
[2025-01-07 08:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:45:04] Production.INFO: count ==21
[2025-01-07 08:45:04] Production.INFO: Date 2024-12-11
[2025-01-07 08:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 08:45:04] Production.INFO: count ==21
[2025-01-07 08:45:04] Production.ERROR: done
[2025-01-07 08:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:45:04] Production.INFO: Date 2024-12-12
[2025-01-07 08:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193762') start
[2025-01-07 08:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:45:04] Production.INFO: Date 2024-12-13
[2025-01-07 08:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:45:04] Production.INFO: Date 2024-12-14
[2025-01-07 08:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:45:04] Production.ERROR: done
[2025-01-07 08:45:04] Production.INFO: Date 2024-12-15
[2025-01-07 08:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:45:04] Production.INFO: Date 2024-12-16
[2025-01-07 08:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193762') end
[2025-01-07 08:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:45:04] Production.INFO: 1
[2025-01-07 08:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:45:04] Production.INFO: Date 2024-12-17
[2025-01-07 08:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:45:04] Production.INFO: Date 2024-12-18
[2025-01-07 08:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:45:04] Production.INFO: ==23064== Releasing lock...
[2025-01-07 08:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:45:04] Production.INFO: Date 2024-12-19
[2025-01-07 08:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:45:04] Production.INFO: Date 2024-12-20
[2025-01-07 08:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:45:04] Production.INFO: Date 2024-12-21
[2025-01-07 08:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:45:04] Production.INFO: Date 2024-12-22
[2025-01-07 08:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:45:04] Production.INFO: Date 2024-12-23
[2025-01-07 08:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:45:04] Production.INFO: Date 2024-12-24
[2025-01-07 08:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:45:04] Production.INFO: Date 2024-12-25
[2025-01-07 08:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:45:04] Production.INFO: Date 2024-12-26
[2025-01-07 08:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:45:04] Production.INFO: Date 2024-12-27
[2025-01-07 08:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:45:04] Production.INFO: Date 2024-12-28
[2025-01-07 08:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:45:04] Production.INFO: Date 2024-12-29
[2025-01-07 08:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:45:04] Production.INFO: Date 2024-12-30
[2025-01-07 08:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:45:04] Production.INFO: Date 2024-12-31
[2025-01-07 08:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:45:05] Production.INFO: Date 2025-01-01
[2025-01-07 08:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:45:05] Production.INFO: Date 2025-01-02
[2025-01-07 08:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:45:05] Production.INFO: Date 2025-01-03
[2025-01-07 08:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:45:05] Production.INFO: Date 2025-01-04
[2025-01-07 08:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:45:05] Production.INFO: Date 2025-01-05
[2025-01-07 08:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:45:05] Production.INFO: Date 2025-01-06
[2025-01-07 08:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:45:05] Production.INFO: Date 2025-01-07
[2025-01-07 08:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:45:05] Production.INFO: Total Charge 0
[2025-01-07 08:45:05] Production.INFO: CreateAllLog End
[2025-01-07 08:45:05] Production.INFO: Account Balance End.
[2025-01-07 08:45:05] Production.ERROR: CronJobId end 12
[2025-01-07 08:45:05] Production.INFO: ==23060== Releasing lock...
[2025-01-07 08:45:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:45:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:45:05
[end_date_ymd] => 2025-01-07 08:45:05
[RateCDR] => 1
)
[2025-01-07 08:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 05:45:05' and `end` < '2025-01-07 08:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 08:45:11] Production.ERROR: CronJobId end10
[2025-01-07 08:45:11] Production.INFO: ==23058== Releasing lock...
[2025-01-07 08:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:45:14] Production.INFO: call_cost start
[2025-01-07 08:45:14] Production.INFO: call_cost end
[2025-01-07 08:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:45:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:45:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:45:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:45:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:45:15] Production.INFO: ==23054== Releasing lock...
[2025-01-07 08:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:45:18] Production.INFO: count ==543
[2025-01-07 08:45:18] Production.ERROR: pbx CDR StartTime 2025-01-07 05:45:05 - End Time 2025-01-07 08:45:05
[2025-01-07 08:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193763', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193763', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193763', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193763', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:45:18] Production.INFO: ProcessCDR(1,14193763,1,1,2)
[2025-01-07 08:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193763,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193763,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193763,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193763,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193763', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193763', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:45:21] Production.INFO: ==23062== Releasing lock...
[2025-01-07 08:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:45:21] Production.INFO: 33 MB #Memory Used#
[2025-01-07 13:46:02] Production.INFO: ==23116== Lock acquired, processing the job...
[2025-01-07 13:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:46:02] Production.INFO: neon service started
[2025-01-07 13:46:02] Production.INFO: neon service started
[2025-01-07 13:46:02] Production.INFO: ==23116== Releasing lock...
[2025-01-07 13:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:46:02] Production.INFO: ==23118== Lock acquired, processing the job...
[2025-01-07 08:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:46:03] Production.INFO: ==23118== Releasing lock...
[2025-01-07 08:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 13:46:03] Production.INFO: ==23120== Lock acquired, processing the job...
[2025-01-07 13:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:46:03] Production.INFO: ==23120== Releasing lock...
[2025-01-07 13:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:46:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:46:03] Production.INFO: ==23123== Lock acquired, processing the job...
[2025-01-07 08:46:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10477 #Starts#
[2025-01-07 08:46:03] Production.INFO: -- Xero Api Check --
[2025-01-07 08:46:04] Production.INFO: ==23125== Lock acquired, processing the job...
[2025-01-07 08:46:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:46:04] Production.INFO: ==23129== Lock acquired, processing the job...
[2025-01-07 08:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:46:04] Production.INFO: ==23127== Lock acquired, processing the job...
[2025-01-07 08:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:46:04] Production.INFO: ==23135== Lock acquired, processing the job...
[2025-01-07 08:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:46:04] Production.INFO: ==23133== Lock acquired, processing the job...
[2025-01-07 08:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:46:04] Production.INFO: ==23131== Lock acquired, processing the job...
[2025-01-07 08:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:46:04] Production.INFO: Account Balance Start.
[2025-01-07 08:46:04] Production.INFO: CreateAllLog Start
[2025-01-07 08:46:04] Production.INFO: 117
[2025-01-07 08:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:46:04] Production.INFO: Date 2024-12-08
[2025-01-07 08:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:46:04] Production.INFO: Date 2024-12-09
[2025-01-07 08:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:46:04] Production.INFO: count ==21
[2025-01-07 08:46:04] Production.INFO: Date 2024-12-10
[2025-01-07 08:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:46:04] Production.INFO: count ==21
[2025-01-07 08:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193766') start
[2025-01-07 08:46:04] Production.INFO: Date 2024-12-11
[2025-01-07 08:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:46:04] Production.INFO: Date 2024-12-12
[2025-01-07 08:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:46:04] Production.INFO: Date 2024-12-13
[2025-01-07 08:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:46:04] Production.ERROR: done
[2025-01-07 08:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:46:04] Production.INFO: ==23127== Releasing lock...
[2025-01-07 08:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:46:04] Production.INFO: Date 2024-12-14
[2025-01-07 08:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:46:04] Production.INFO: Date 2024-12-15
[2025-01-07 08:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193766') end
[2025-01-07 08:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:46:04] Production.INFO: 1
[2025-01-07 08:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:46:04] Production.INFO: Date 2024-12-16
[2025-01-07 08:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:46:04] Production.INFO: Date 2024-12-17
[2025-01-07 08:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:46:04] Production.INFO: Date 2024-12-18
[2025-01-07 08:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:46:04] Production.INFO: ==23135== Releasing lock...
[2025-01-07 08:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:46:04] Production.ERROR: done
[2025-01-07 08:46:04] Production.INFO: Date 2024-12-19
[2025-01-07 08:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:46:04] Production.INFO: Date 2024-12-20
[2025-01-07 08:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:46:04] Production.INFO: Date 2024-12-21
[2025-01-07 08:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:46:04] Production.INFO: Date 2024-12-22
[2025-01-07 08:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:46:05] Production.INFO: Date 2024-12-23
[2025-01-07 08:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:46:05] Production.INFO: Date 2024-12-24
[2025-01-07 08:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:46:05] Production.INFO: Date 2024-12-25
[2025-01-07 08:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:46:05] Production.INFO: Date 2024-12-26
[2025-01-07 08:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:46:05] Production.INFO: Date 2024-12-27
[2025-01-07 08:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:46:05] Production.INFO: Date 2024-12-28
[2025-01-07 08:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:46:05] Production.INFO: Date 2024-12-29
[2025-01-07 08:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:46:05] Production.INFO: Date 2024-12-30
[2025-01-07 08:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:46:05] Production.INFO: Date 2024-12-31
[2025-01-07 08:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:46:05] Production.INFO: Date 2025-01-01
[2025-01-07 08:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:46:05] Production.INFO: Date 2025-01-02
[2025-01-07 08:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:46:05] Production.INFO: Date 2025-01-03
[2025-01-07 08:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:46:05] Production.INFO: Date 2025-01-04
[2025-01-07 08:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:46:05] Production.INFO: Date 2025-01-05
[2025-01-07 08:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:46:05] Production.INFO: Date 2025-01-06
[2025-01-07 08:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:46:05] Production.INFO: Date 2025-01-07
[2025-01-07 08:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:46:05] Production.INFO: Total Charge 0
[2025-01-07 08:46:05] Production.INFO: CreateAllLog End
[2025-01-07 08:46:05] Production.INFO: Account Balance End.
[2025-01-07 08:46:05] Production.ERROR: CronJobId end 12
[2025-01-07 08:46:05] Production.INFO: ==23131== Releasing lock...
[2025-01-07 08:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:46:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:46:05] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 859
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 1.699402
[namelookup_time] => 0.540573
[connect_time] => 0.625297
[pretransfer_time] => 1.028367
[size_upload] => 82
[size_download] => 2755
[speed_download] => 1621
[speed_upload] => 48
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 1.69936
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.72.248.213
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 58402
)
[2025-01-07 08:46:05] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTc1NjUsImV4cCI6MTczNjI1Nzg2NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjU3NTY1LCJhdF9oYXNoIjoiLWYwVzMtbEIxcm4zRldXNGxoYzFJQSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.bQcefumqOFJGcMHb2z8ZgKhFl11vm5S8oioKXSm-gCMKxbwVZ4L01FbFGQCcUEq2_te5w5ZWdNNIFS2BfDuk70wffOvukkpgOc85-odxBBbU7ti72foCPBJoAXNvalRgrbKvOgS0VYnl9l7pAzarKrWZECPLEMN_1nmBZ8Evurw4jkpIVeWc06teIWZDbRwwFFZg6Me6Ku3NaEX8qho7V7jFJB0TilyvSuRmlIOqTVevzqWpIBTRczrsfnmimrBGWwZx3FxYb79V6K-P-IYoa7LV9fPwXSkUQJQ6fYSfCywfnFPJdx5wjBc1zCCrn7JT7uTyFlc8ipulVf1bzCnV1A
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTc1NjUsImV4cCI6MTczNjI1OTM2NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.kwWdSRBSIPZTahNWzPu6wrgnHT7nR3v--_TUAlOq4rDndusDp3F2MjjiLPFcdCbgp7B6piYb0Uj3Xhm-_4DWG5I2ZP4_yv13DNj4st5SySUQWLXJunzZ-caBO8_NiiocAD_qkVwq5-R0fyTkoTDnZGRrsTWToLgR5qN4Y5qW2GdAi1ha_z_Q6OCP_RhUzaknY9W7uXRAsvOIpVkSiWKxyb07sOFTNp--B1OIShJroBJNIGRl0QcIobEyET5CiwkeHtoM23NOQAZGutI6M1mml6mmcF2YBeWl3KCkG28sbF1konbf87pvDNi2uDWdZWPLF6LenwTyNyvk678fj1qiFg
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => oq8r09yiWFjt23-_2-ftjwQMYpdeAGcgGlIJcjDGJYk
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 08:46:05] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTc1NjUsImV4cCI6MTczNjI1Nzg2NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjU3NTY1LCJhdF9oYXNoIjoiLWYwVzMtbEIxcm4zRldXNGxoYzFJQSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.bQcefumqOFJGcMHb2z8ZgKhFl11vm5S8oioKXSm-gCMKxbwVZ4L01FbFGQCcUEq2_te5w5ZWdNNIFS2BfDuk70wffOvukkpgOc85-odxBBbU7ti72foCPBJoAXNvalRgrbKvOgS0VYnl9l7pAzarKrWZECPLEMN_1nmBZ8Evurw4jkpIVeWc06teIWZDbRwwFFZg6Me6Ku3NaEX8qho7V7jFJB0TilyvSuRmlIOqTVevzqWpIBTRczrsfnmimrBGWwZx3FxYb79V6K-P-IYoa7LV9fPwXSkUQJQ6fYSfCywfnFPJdx5wjBc1zCCrn7JT7uTyFlc8ipulVf1bzCnV1A
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTc1NjUsImV4cCI6MTczNjI1OTM2NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.kwWdSRBSIPZTahNWzPu6wrgnHT7nR3v--_TUAlOq4rDndusDp3F2MjjiLPFcdCbgp7B6piYb0Uj3Xhm-_4DWG5I2ZP4_yv13DNj4st5SySUQWLXJunzZ-caBO8_NiiocAD_qkVwq5-R0fyTkoTDnZGRrsTWToLgR5qN4Y5qW2GdAi1ha_z_Q6OCP_RhUzaknY9W7uXRAsvOIpVkSiWKxyb07sOFTNp--B1OIShJroBJNIGRl0QcIobEyET5CiwkeHtoM23NOQAZGutI6M1mml6mmcF2YBeWl3KCkG28sbF1konbf87pvDNi2uDWdZWPLF6LenwTyNyvk678fj1qiFg
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => oq8r09yiWFjt23-_2-ftjwQMYpdeAGcgGlIJcjDGJYk
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 08:46:05] Production.INFO: AccountID 185
[2025-01-07 08:46:05] Production.INFO: AccountName TTC (College-Subway) - Construction Site (Cancom - Think Secure)
[2025-01-07 08:46:05] Production.INFO: Checkcustomer
[2025-01-07 08:46:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="TTC%20%28College-Subway%29%20-%20Construction%20Site%20%28Cancom%20-%20Think%20Secure%29"
[2025-01-07 08:46:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:46:06
[end_date_ymd] => 2025-01-07 08:46:06
[RateCDR] => 1
)
[2025-01-07 08:46:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 05:46:06' and `end` < '2025-01-07 08:46:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 08:46:08] Production.INFO: Contact id print CheckCustomer Case===8c5c7d93-c398-4829-91b3-8174fe21f9a7
[2025-01-07 08:46:08] Production.INFO: -- count --1
[2025-01-07 08:46:08] Production.INFO: -- Xero Add Inovice --
[2025-01-07 08:46:08] Production.INFO: CheckInvoice xerov2: INV11225
[2025-01-07 08:46:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11225
[2025-01-07 08:46:10] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 08:46:10] Production.INFO: Invoice SubTotal 76.860000
[2025-01-07 08:46:10] Production.INFO: Invoice DetTotal 76.86
[2025-01-07 08:46:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="TTC%20%28College-Subway%29%20-%20Construction%20Site%20%28Cancom%20-%20Think%20Secure%29"
[2025-01-07 08:46:12] Production.ERROR: CronJobId end10
[2025-01-07 08:46:12] Production.INFO: ==23129== Releasing lock...
[2025-01-07 08:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:46:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 08:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:46:14] Production.INFO: call_cost start
[2025-01-07 08:46:14] Production.INFO: call_cost end
[2025-01-07 08:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:46:14] Production.INFO: ==23125== Releasing lock...
[2025-01-07 08:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:46:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 08:46:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 08:46:18] Production.INFO: count ==543
[2025-01-07 08:46:19] Production.ERROR: pbx CDR StartTime 2025-01-07 05:46:06 - End Time 2025-01-07 08:46:06
[2025-01-07 08:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193768', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193768', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193768', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193768', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:46:19] Production.INFO: ProcessCDR(1,14193768,1,1,2)
[2025-01-07 08:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193768,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:46:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193768,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:46:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193768,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:46:21] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 204,"Description": "LTE Primary Internet (3 Carlton St., Toronto, ON M5B 1L2) - 10GB/month",Quantity : 1,UnitAmount : 76.860000,LineAmount : 76.860000}
[2025-01-07 08:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193768,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193768', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193768', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:46:22] Production.INFO: ==23133== Releasing lock...
[2025-01-07 08:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:46:22] Production.INFO: 33 MB #Memory Used#
[2025-01-07 08:46:24] Production.INFO: ==== result =====
[2025-01-07 08:46:24] Production.INFO: {
"Id": "294cd36c-ed83-4177-bcd6-2659095b4a2c",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736257584196)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "e712e5b3-4042-475e-971b-7206667af739",
"InvoiceNumber": "INV11225",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 86.85,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"IsDiscounted": false,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "8c5c7d93-c398-4829-91b3-8174fe21f9a7",
"ContactStatus": "ACTIVE",
"Name": "TTC (College-Subway) - Construction Site (Cancom - Think Secure)",
"FirstName": "Darcy",
"LastName": "Chelvans",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1657574345580+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-15T00:00:00",
"Date": "\/Date(1734220800000+0000)\/",
"DueDateString": "2025-01-14T00:00:00",
"DueDate": "\/Date(1736812800000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "LTE Primary Internet (3 Carlton St., Toronto, ON M5B 1L2) - 10GB/month",
"UnitAmount": 76.86,
"TaxType": "TAX020",
"TaxAmount": 9.99,
"LineAmount": 76.86,
"AccountCode": "204",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "23881614-422a-4890-88fe-0843409e3665",
"AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df",
"ValidationErrors": []
}
],
"SubTotal": 76.86,
"TotalTax": 9.99,
"Total": 86.85,
"UpdatedDateUTC": "\/Date(1736257584150+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 08:46:24] Production.INFO: -- Create Invoice id --e712e5b3-4042-475e-971b-7206667af739
[2025-01-07 08:46:24] Production.INFO: -- Create Invoice Done --
[2025-01-07 08:46:24] Production.INFO: -- Xero End Inovice --
[2025-01-07 08:46:24] Production.INFO: ==23123== Releasing lock...
[2025-01-07 08:46:24] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10477 #Stops#
[2025-01-07 08:46:24] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 13:47:01] Production.INFO: ==23196== Lock acquired, processing the job...
[2025-01-07 13:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:47:01] Production.INFO: neon service started
[2025-01-07 13:47:01] Production.INFO: neon service started
[2025-01-07 13:47:01] Production.INFO: ==23196== Releasing lock...
[2025-01-07 13:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:47:02] Production.INFO: ==23198== Lock acquired, processing the job...
[2025-01-07 08:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 13:47:02] Production.INFO: ==23200== Lock acquired, processing the job...
[2025-01-07 13:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:47:02] Production.INFO: ==23198== Releasing lock...
[2025-01-07 08:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 13:47:02] Production.INFO: ==23200== Releasing lock...
[2025-01-07 13:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:47:02] Production.INFO: ==23210== Lock acquired, processing the job...
[2025-01-07 08:47:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:47:03] Production.ERROR: done
[2025-01-07 08:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:47:03] Production.INFO: ==23202== Lock acquired, processing the job...
[2025-01-07 08:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:47:03] Production.ERROR: done
[2025-01-07 08:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:47:03] Production.INFO: ==23204== Lock acquired, processing the job...
[2025-01-07 08:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:47:03] Production.INFO: ==23206== Lock acquired, processing the job...
[2025-01-07 08:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:47:03] Production.INFO: ==23208== Lock acquired, processing the job...
[2025-01-07 08:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:47:03] Production.INFO: Account Balance Start.
[2025-01-07 08:47:03] Production.INFO: CreateAllLog Start
[2025-01-07 08:47:03] Production.INFO: 117
[2025-01-07 08:47:03] Production.INFO: ==23212== Lock acquired, processing the job...
[2025-01-07 08:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:47:03] Production.INFO: Date 2024-12-08
[2025-01-07 08:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:47:03] Production.INFO: Date 2024-12-09
[2025-01-07 08:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:47:03] Production.INFO: Date 2024-12-10
[2025-01-07 08:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:47:03] Production.INFO: Date 2024-12-11
[2025-01-07 08:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 08:47:03] Production.INFO: Date 2024-12-12
[2025-01-07 08:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:47:03] Production.INFO: ==23204== Releasing lock...
[2025-01-07 08:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:47:03] Production.INFO: Date 2024-12-13
[2025-01-07 08:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:47:03] Production.INFO: count ==21
[2025-01-07 08:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:47:03] Production.INFO: count ==21
[2025-01-07 08:47:04] Production.INFO: Date 2024-12-14
[2025-01-07 08:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:47:04] Production.INFO: Date 2024-12-15
[2025-01-07 08:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193773') start
[2025-01-07 08:47:04] Production.INFO: Date 2024-12-16
[2025-01-07 08:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:47:04] Production.INFO: Date 2024-12-17
[2025-01-07 08:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:47:04] Production.INFO: Date 2024-12-18
[2025-01-07 08:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:47:04] Production.INFO: Date 2024-12-19
[2025-01-07 08:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193773') end
[2025-01-07 08:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:47:04] Production.INFO: 1
[2025-01-07 08:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:47:04] Production.INFO: ==23212== Releasing lock...
[2025-01-07 08:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:47:04] Production.INFO: Date 2024-12-20
[2025-01-07 08:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:47:04] Production.INFO: Date 2024-12-21
[2025-01-07 08:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:47:04] Production.INFO: Date 2024-12-22
[2025-01-07 08:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:47:04] Production.INFO: Date 2024-12-23
[2025-01-07 08:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:47:04] Production.INFO: Date 2024-12-24
[2025-01-07 08:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:47:04] Production.INFO: Date 2024-12-25
[2025-01-07 08:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:47:04] Production.INFO: Date 2024-12-26
[2025-01-07 08:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:47:04] Production.INFO: Date 2024-12-27
[2025-01-07 08:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:47:04] Production.INFO: Date 2024-12-28
[2025-01-07 08:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:47:04] Production.INFO: Date 2024-12-29
[2025-01-07 08:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:47:04] Production.INFO: Date 2024-12-30
[2025-01-07 08:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:47:04] Production.INFO: Date 2024-12-31
[2025-01-07 08:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:47:04] Production.INFO: Date 2025-01-01
[2025-01-07 08:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:47:04] Production.INFO: Date 2025-01-02
[2025-01-07 08:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:47:04] Production.INFO: Date 2025-01-03
[2025-01-07 08:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:47:04] Production.INFO: Date 2025-01-04
[2025-01-07 08:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:47:04] Production.INFO: Date 2025-01-05
[2025-01-07 08:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:47:04] Production.INFO: Date 2025-01-06
[2025-01-07 08:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:47:04] Production.INFO: Date 2025-01-07
[2025-01-07 08:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:47:04] Production.INFO: Total Charge 0
[2025-01-07 08:47:04] Production.INFO: CreateAllLog End
[2025-01-07 08:47:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:47:04
[end_date_ymd] => 2025-01-07 08:47:04
[RateCDR] => 1
)
[2025-01-07 08:47:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 05:47:04' and `end` < '2025-01-07 08:47:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 08:47:04] Production.INFO: Account Balance End.
[2025-01-07 08:47:04] Production.ERROR: CronJobId end 12
[2025-01-07 08:47:04] Production.INFO: ==23208== Releasing lock...
[2025-01-07 08:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:47:10] Production.ERROR: CronJobId end10
[2025-01-07 08:47:10] Production.INFO: ==23206== Releasing lock...
[2025-01-07 08:47:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:47:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:47:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:47:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:47:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:47:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:47:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:47:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:47:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:47:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:47:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:47:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:47:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:47:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:47:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:47:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:47:12] Production.INFO: call_cost start
[2025-01-07 08:47:12] Production.INFO: call_cost end
[2025-01-07 08:47:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:47:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:47:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:47:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:47:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:47:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:47:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:47:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:47:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:47:13] Production.INFO: ==23202== Releasing lock...
[2025-01-07 08:47:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:47:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:47:17] Production.INFO: count ==546
[2025-01-07 08:47:17] Production.ERROR: pbx CDR StartTime 2025-01-07 05:47:04 - End Time 2025-01-07 08:47:04
[2025-01-07 08:47:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193769', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193769', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193769', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193769', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:47:17] Production.INFO: ProcessCDR(1,14193769,1,1,2)
[2025-01-07 08:47:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193769,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:47:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193769,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:47:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193769,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193769,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193769', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193769', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:47:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:47:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:47:22] Production.INFO: ==23210== Releasing lock...
[2025-01-07 08:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:47:22] Production.INFO: 32.75 MB #Memory Used#
[2025-01-07 13:48:02] Production.INFO: ==23269== Lock acquired, processing the job...
[2025-01-07 13:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:48:02] Production.INFO: neon service started
[2025-01-07 13:48:02] Production.INFO: neon service started
[2025-01-07 13:48:02] Production.INFO: ==23269== Releasing lock...
[2025-01-07 13:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:48:02] Production.INFO: ==23271== Lock acquired, processing the job...
[2025-01-07 08:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:48:02] Production.INFO: ==23271== Releasing lock...
[2025-01-07 08:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 13:48:02] Production.INFO: ==23273== Lock acquired, processing the job...
[2025-01-07 13:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:48:03] Production.INFO: ==23273== Releasing lock...
[2025-01-07 13:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:48:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:48:03] Production.INFO: ==23283== Lock acquired, processing the job...
[2025-01-07 08:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:48:03] Production.INFO: ==23286== Lock acquired, processing the job...
[2025-01-07 08:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:48:03] Production.INFO: ==23275== Lock acquired, processing the job...
[2025-01-07 08:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:48:03] Production.INFO: ==23277== Lock acquired, processing the job...
[2025-01-07 08:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 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-07 08:48:03] Production.INFO: ==23279== Lock acquired, processing the job...
[2025-01-07 08:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:48:03] Production.INFO: ==23281== Lock acquired, processing the job...
[2025-01-07 08:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:48:03] Production.INFO: count ==21
[2025-01-07 08:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:48:03] Production.INFO: count ==21
[2025-01-07 08:48:03] Production.ERROR: done
[2025-01-07 08:48:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193774') start
[2025-01-07 08:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193774') end
[2025-01-07 08:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:48:04] Production.INFO: 1
[2025-01-07 08:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:48:04] Production.INFO: Account Balance Start.
[2025-01-07 08:48:04] Production.INFO: CreateAllLog Start
[2025-01-07 08:48:04] Production.INFO: 117
[2025-01-07 08:48:04] Production.INFO: ==23286== Releasing lock...
[2025-01-07 08:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:48:04] Production.ERROR: done
[2025-01-07 08:48:04] Production.INFO: Date 2024-12-08
[2025-01-07 08:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:48:04] Production.INFO: ==23277== Releasing lock...
[2025-01-07 08:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:48:04] Production.INFO: Date 2024-12-09
[2025-01-07 08:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:48:04] Production.INFO: Date 2024-12-10
[2025-01-07 08:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:48:04] Production.INFO: Date 2024-12-11
[2025-01-07 08:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:48:05] Production.INFO: Date 2024-12-12
[2025-01-07 08:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:48:05] Production.INFO: Date 2024-12-13
[2025-01-07 08:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:48:05] Production.INFO: Date 2024-12-14
[2025-01-07 08:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:48:05] Production.INFO: Date 2024-12-15
[2025-01-07 08:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:48:05] Production.INFO: Date 2024-12-16
[2025-01-07 08:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:48:05] Production.INFO: Date 2024-12-17
[2025-01-07 08:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:48:05] Production.INFO: Date 2024-12-18
[2025-01-07 08:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:48:05
[end_date_ymd] => 2025-01-07 08:48:05
[RateCDR] => 1
)
[2025-01-07 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-07 05:48:05' and `end` < '2025-01-07 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-07 08:48:05] Production.INFO: Date 2024-12-19
[2025-01-07 08:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:48:05] Production.INFO: Date 2024-12-20
[2025-01-07 08:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:48:05] Production.INFO: Date 2024-12-21
[2025-01-07 08:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:48:05] Production.INFO: Date 2024-12-22
[2025-01-07 08:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:48:05] Production.INFO: Date 2024-12-23
[2025-01-07 08:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:48:05] Production.INFO: Date 2024-12-24
[2025-01-07 08:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:48:05] Production.INFO: Date 2024-12-25
[2025-01-07 08:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:48:05] Production.INFO: Date 2024-12-26
[2025-01-07 08:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:48:05] Production.INFO: Date 2024-12-27
[2025-01-07 08:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:48:05] Production.INFO: Date 2024-12-28
[2025-01-07 08:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:48:05] Production.INFO: Date 2024-12-29
[2025-01-07 08:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:48:05] Production.INFO: Date 2024-12-30
[2025-01-07 08:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:48:05] Production.INFO: Date 2024-12-31
[2025-01-07 08:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:48:05] Production.INFO: Date 2025-01-01
[2025-01-07 08:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:48:05] Production.INFO: Date 2025-01-02
[2025-01-07 08:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:48:05] Production.INFO: Date 2025-01-03
[2025-01-07 08:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:48:05] Production.INFO: Date 2025-01-04
[2025-01-07 08:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:48:06] Production.INFO: Date 2025-01-05
[2025-01-07 08:48:06] Production.INFO: Reseller ==> 0
[2025-01-07 08:48:06] Production.INFO: Date 2025-01-06
[2025-01-07 08:48:06] Production.INFO: Reseller ==> 0
[2025-01-07 08:48:06] Production.INFO: Date 2025-01-07
[2025-01-07 08:48:06] Production.INFO: Reseller ==> 0
[2025-01-07 08:48:06] Production.INFO: Total Charge 0
[2025-01-07 08:48:06] Production.INFO: CreateAllLog End
[2025-01-07 08:48:06] Production.INFO: Account Balance End.
[2025-01-07 08:48:06] Production.ERROR: CronJobId end 12
[2025-01-07 08:48:06] Production.INFO: ==23281== Releasing lock...
[2025-01-07 08:48:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:48:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:48:11] Production.ERROR: CronJobId end10
[2025-01-07 08:48:11] Production.INFO: ==23279== Releasing lock...
[2025-01-07 08:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:48:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:48:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:48:14] Production.INFO: call_cost start
[2025-01-07 08:48:14] Production.INFO: call_cost end
[2025-01-07 08:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:48:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:48:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:48:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:48:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:48:15] Production.INFO: ==23275== Releasing lock...
[2025-01-07 08:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:48:18] Production.INFO: count ==553
[2025-01-07 08:48:18] Production.ERROR: pbx CDR StartTime 2025-01-07 05:48:05 - End Time 2025-01-07 08:48:05
[2025-01-07 08:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193778', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193778', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193778', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193778', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:48:18] Production.INFO: ProcessCDR(1,14193778,1,1,2)
[2025-01-07 08:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193778,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193778,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193778,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193778,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193778', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193778', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:48:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:48:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:48:21] Production.INFO: ==23283== Releasing lock...
[2025-01-07 08:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:48:21] Production.INFO: 32.5 MB #Memory Used#
[2025-01-07 13:49:01] Production.INFO: ==23340== Lock acquired, processing the job...
[2025-01-07 13:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:49:01] Production.INFO: neon service started
[2025-01-07 13:49:01] Production.INFO: neon service started
[2025-01-07 13:49:01] Production.INFO: ==23340== Releasing lock...
[2025-01-07 13:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:49:01] Production.INFO: ==23342== Lock acquired, processing the job...
[2025-01-07 08:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:49:02] Production.INFO: ==23342== Releasing lock...
[2025-01-07 08:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 13:49:02] Production.INFO: ==23344== Lock acquired, processing the job...
[2025-01-07 13:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:49:02] Production.INFO: ==23344== Releasing lock...
[2025-01-07 13:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:49:03] Production.INFO: ==23346== Lock acquired, processing the job...
[2025-01-07 08:49:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10478 #Starts#
[2025-01-07 08:49:03] Production.INFO: -- Xero Api Check --
[2025-01-07 08:49:03] Production.INFO: ==23352== Lock acquired, processing the job...
[2025-01-07 08:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:49:03] Production.INFO: ==23350== Lock acquired, processing the job...
[2025-01-07 08:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:49:03] Production.INFO: ==23358== Lock acquired, processing the job...
[2025-01-07 08:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:49:03] Production.INFO: ==23348== Lock acquired, processing the job...
[2025-01-07 08:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 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-07 08:49:03] Production.INFO: count ==21
[2025-01-07 08:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 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-07 08:49:03] Production.INFO: ==23354== Lock acquired, processing the job...
[2025-01-07 08:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:49:03] Production.INFO: count ==21
[2025-01-07 08:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193779') start
[2025-01-07 08:49:03] Production.INFO: ==23356== Lock acquired, processing the job...
[2025-01-07 08:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:49:03] Production.INFO: Account Balance Start.
[2025-01-07 08:49:03] Production.INFO: CreateAllLog Start
[2025-01-07 08:49:03] Production.INFO: 117
[2025-01-07 08:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:49:03] Production.INFO: Date 2024-12-08
[2025-01-07 08:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193779') end
[2025-01-07 08:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:49:03] Production.INFO: 1
[2025-01-07 08:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:49:03] Production.INFO: ==23358== Releasing lock...
[2025-01-07 08:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:49:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:49:03] Production.INFO: Date 2024-12-09
[2025-01-07 08:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:49:03] Production.INFO: Date 2024-12-10
[2025-01-07 08:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:49:03] Production.INFO: Date 2024-12-11
[2025-01-07 08:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:49:03] Production.INFO: Date 2024-12-12
[2025-01-07 08:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:49:03] Production.INFO: ==23350== Releasing lock...
[2025-01-07 08:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:49:03] Production.ERROR: done
[2025-01-07 08:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:49:03] Production.INFO: Date 2024-12-13
[2025-01-07 08:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:49:03] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 858
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.844097
[namelookup_time] => 0.287287
[connect_time] => 0.290417
[pretransfer_time] => 0.536322
[size_upload] => 82
[size_download] => 2755
[speed_download] => 3263
[speed_upload] => 97
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.844051
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.17
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 45092
)
[2025-01-07 08:49:03] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTc3NDMsImV4cCI6MTczNjI1ODA0MywiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjU3NzQzLCJhdF9oYXNoIjoiSXE0S1F5NGR4NENURDZvU296ZkptZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.C1-S_jO80PtWqxIMJQzfbssnjgdIUn0OA_ss4UDMki9aRl7o3rFaUc4ZQK-u5tGPrQ1NYu5jhcpn4StBfLAnyltZybQR3jpPuUU8EcYjQ0VUsyOo0Rlk24Df-QL1XeCxx5BD6EZfCaK82DhlLQQDd3bmww9IvyvI0-hhgkyQqXDt8EjUeY4Lyi6g9hmgdXqD_gscg18uqItn2_ITD7dPwtsxL_qyjpY-cHRPXjkwDarj296G1eFNbmYYtuo1ZzatX4Swpegp3yZUA5uhcPf7DkyqyBHyLrnI8BgYRAFeNLiSmGh1XeJw_9utPxGK7EJvWAzxYIZLNIWTuVlZqi20fQ
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTc3NDMsImV4cCI6MTczNjI1OTU0MywiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.JDUOb2_RXWWczD-NzE43E_Jmf1Q5mgFlYYCi-tNoB6EkkNJafh2P-VeHRMqEZfrnAZZslE94hpDjhq4U-stlXfuiwb7bb8f1YdJqEKVcaV_qcv-26fwthqxcIhImiqr3ukmi0h5nrc6f1M8gv4MLaRKkNLPtLvBsk8zbP8Q3bbD3uiTsnkDUPx2DTF1OD4yhmPzSvgh1zZGaIegUhCMuXQK70OYWxzEfHCy-uDdeYnofvbHv2i26awr_vkO1rZiZcK7nfRM-McoVzHqDa6gIE3TeyiRkEEExwfFtYH35sKicaT6CT3ruJSxZUc0bVnI8JWf5u5uxpFKyskOdukIh8w
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => Jf7m_WDVaj-CgmsXkGIE-2EmHYBVAsi6OWk1rNDJmOY
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 08:49:03] Production.INFO: Date 2024-12-14
[2025-01-07 08:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:49:03] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTc3NDMsImV4cCI6MTczNjI1ODA0MywiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjU3NzQzLCJhdF9oYXNoIjoiSXE0S1F5NGR4NENURDZvU296ZkptZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.C1-S_jO80PtWqxIMJQzfbssnjgdIUn0OA_ss4UDMki9aRl7o3rFaUc4ZQK-u5tGPrQ1NYu5jhcpn4StBfLAnyltZybQR3jpPuUU8EcYjQ0VUsyOo0Rlk24Df-QL1XeCxx5BD6EZfCaK82DhlLQQDd3bmww9IvyvI0-hhgkyQqXDt8EjUeY4Lyi6g9hmgdXqD_gscg18uqItn2_ITD7dPwtsxL_qyjpY-cHRPXjkwDarj296G1eFNbmYYtuo1ZzatX4Swpegp3yZUA5uhcPf7DkyqyBHyLrnI8BgYRAFeNLiSmGh1XeJw_9utPxGK7EJvWAzxYIZLNIWTuVlZqi20fQ
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTc3NDMsImV4cCI6MTczNjI1OTU0MywiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.JDUOb2_RXWWczD-NzE43E_Jmf1Q5mgFlYYCi-tNoB6EkkNJafh2P-VeHRMqEZfrnAZZslE94hpDjhq4U-stlXfuiwb7bb8f1YdJqEKVcaV_qcv-26fwthqxcIhImiqr3ukmi0h5nrc6f1M8gv4MLaRKkNLPtLvBsk8zbP8Q3bbD3uiTsnkDUPx2DTF1OD4yhmPzSvgh1zZGaIegUhCMuXQK70OYWxzEfHCy-uDdeYnofvbHv2i26awr_vkO1rZiZcK7nfRM-McoVzHqDa6gIE3TeyiRkEEExwfFtYH35sKicaT6CT3ruJSxZUc0bVnI8JWf5u5uxpFKyskOdukIh8w
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => Jf7m_WDVaj-CgmsXkGIE-2EmHYBVAsi6OWk1rNDJmOY
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 08:49:03] Production.INFO: Date 2024-12-15
[2025-01-07 08:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:49:03] Production.INFO: AccountID 49
[2025-01-07 08:49:04] Production.INFO: AccountName Technologies for Learning Group
[2025-01-07 08:49:04] Production.INFO: Checkcustomer
[2025-01-07 08:49:04] Production.INFO: Date 2024-12-16
[2025-01-07 08:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:49:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Technologies%20for%20Learning%20Group"
[2025-01-07 08:49:04] Production.INFO: Date 2024-12-17
[2025-01-07 08:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:49:04] Production.ERROR: done
[2025-01-07 08:49:04] Production.INFO: Date 2024-12-18
[2025-01-07 08:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:49:04] Production.INFO: Date 2024-12-19
[2025-01-07 08:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:49:04] Production.INFO: Date 2024-12-20
[2025-01-07 08:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:49:04] Production.INFO: Date 2024-12-21
[2025-01-07 08:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:49:04] Production.INFO: Date 2024-12-22
[2025-01-07 08:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:49:04] Production.INFO: Date 2024-12-23
[2025-01-07 08:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:49:04] Production.INFO: Date 2024-12-24
[2025-01-07 08:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:49:04] Production.INFO: Date 2024-12-25
[2025-01-07 08:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:49:04] Production.INFO: Date 2024-12-26
[2025-01-07 08:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:49:04] Production.INFO: Date 2024-12-27
[2025-01-07 08:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:49:04] Production.INFO: Date 2024-12-28
[2025-01-07 08:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:49:04] Production.INFO: Date 2024-12-29
[2025-01-07 08:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:49:04] Production.INFO: Date 2024-12-30
[2025-01-07 08:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:49:04] Production.INFO: Date 2024-12-31
[2025-01-07 08:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:49:04] Production.INFO: Date 2025-01-01
[2025-01-07 08:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:49:04] Production.INFO: Date 2025-01-02
[2025-01-07 08:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:49:04] Production.INFO: Date 2025-01-03
[2025-01-07 08:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:49:04] Production.INFO: Date 2025-01-04
[2025-01-07 08:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:49:04] Production.INFO: Date 2025-01-05
[2025-01-07 08:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:49:04] Production.INFO: Date 2025-01-06
[2025-01-07 08:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:49:04] Production.INFO: Date 2025-01-07
[2025-01-07 08:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:49:04] Production.INFO: Total Charge 0
[2025-01-07 08:49:04] Production.INFO: CreateAllLog End
[2025-01-07 08:49:04] Production.INFO: Account Balance End.
[2025-01-07 08:49:04] Production.ERROR: CronJobId end 12
[2025-01-07 08:49:04] Production.INFO: ==23354== Releasing lock...
[2025-01-07 08:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:49:05
[end_date_ymd] => 2025-01-07 08:49:05
[RateCDR] => 1
)
[2025-01-07 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-07 05:49:05' and `end` < '2025-01-07 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-07 08:49:07] Production.INFO: Contact id print CheckCustomer Case===548d87cf-625c-4b68-be89-595b2161a774
[2025-01-07 08:49:07] Production.INFO: -- count --1
[2025-01-07 08:49:07] Production.INFO: -- Xero Add Inovice --
[2025-01-07 08:49:07] Production.INFO: CheckInvoice xerov2: INV11216
[2025-01-07 08:49:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11216
[2025-01-07 08:49:09] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 08:49:09] Production.INFO: Invoice SubTotal 51.500000
[2025-01-07 08:49:09] Production.INFO: Invoice DetTotal 51.5
[2025-01-07 08:49:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Technologies%20for%20Learning%20Group"
[2025-01-07 08:49:11] Production.ERROR: CronJobId end10
[2025-01-07 08:49:11] Production.INFO: ==23352== Releasing lock...
[2025-01-07 08:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:49:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 08:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:49:14] Production.INFO: call_cost start
[2025-01-07 08:49:14] Production.INFO: call_cost end
[2025-01-07 08:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:49:15] Production.INFO: ==23348== Releasing lock...
[2025-01-07 08:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:49:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 08:49:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 08:49:19] Production.INFO: count ==554
[2025-01-07 08:49:19] Production.ERROR: pbx CDR StartTime 2025-01-07 05:49:05 - End Time 2025-01-07 08:49:05
[2025-01-07 08:49:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193783', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193783', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193783', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193783', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:49:19] Production.INFO: ProcessCDR(1,14193783,1,1,2)
[2025-01-07 08:49:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193783,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:49:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193783,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:49:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193783,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:49:22] Production.INFO: =========Invoices String here======{taxType:"TAX014",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 7,UnitAmount : 7.000000,LineAmount : 49.000000},{taxType:"TAX014",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (12049404550 - 110 PRINCESS ST STE 101 WINNIPEG, MB R3B1K7)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 08:49:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193783,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193783', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193783', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:49:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:49:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:49:23] Production.INFO: ==23356== Releasing lock...
[2025-01-07 08:49:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:49:23] Production.INFO: 32.5 MB #Memory Used#
[2025-01-07 08:49:26] Production.INFO: ==== result =====
[2025-01-07 08:49:26] Production.INFO: {
"Id": "fac5d5f9-e93b-499d-b885-22831b6fbfdc",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736257766078)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "70c203f3-8d69-43a5-b017-e00020ca0995",
"InvoiceNumber": "INV11216",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 58.20,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "548d87cf-625c-4b68-be89-595b2161a774",
"ContactStatus": "ACTIVE",
"Name": "Technologies for Learning Group",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1533070462873+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-14T00:00:00",
"Date": "\/Date(1734134400000+0000)\/",
"DueDateString": "2024-12-21T00:00:00",
"DueDate": "\/Date(1734739200000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "License for a Pay As You Go Cloud Phone extension",
"UnitAmount": 7.00,
"TaxType": "TAX014",
"TaxAmount": 6.37,
"LineAmount": 49.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 7.0000,
"DiscountRate": 0.00,
"LineItemID": "f72a29ae-10a5-4328-98ad-a5a6d60ee141",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (12049404550 - 110 PRINCESS ST STE 101 WINNIPEG, MB R3B1K7)",
"UnitAmount": 2.50,
"TaxType": "TAX014",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "454319a1-925a-4f9c-bd9c-ccd67f98c625",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 51.50,
"TotalTax": 6.70,
"Total": 58.20,
"UpdatedDateUTC": "\/Date(1736257766000+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 08:49:26] Production.INFO: -- Create Invoice id --70c203f3-8d69-43a5-b017-e00020ca0995
[2025-01-07 08:49:26] Production.INFO: -- Create Invoice Done --
[2025-01-07 08:49:26] Production.INFO: -- Xero End Inovice --
[2025-01-07 08:49:26] Production.INFO: ==23346== Releasing lock...
[2025-01-07 08:49:26] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10478 #Stops#
[2025-01-07 08:49:26] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 13:50:02] Production.INFO: ==23424== Lock acquired, processing the job...
[2025-01-07 13:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:50:02] Production.INFO: neon service started
[2025-01-07 13:50:02] Production.INFO: neon service started
[2025-01-07 13:50:02] Production.INFO: ==23424== Releasing lock...
[2025-01-07 13:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:50:02] Production.INFO: ==23426== Lock acquired, processing the job...
[2025-01-07 08:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 13:50:02] Production.INFO: ==23428== Lock acquired, processing the job...
[2025-01-07 13:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:50:02] Production.INFO: ==23428== Releasing lock...
[2025-01-07 13:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:50:03] Production.INFO: ==23426== Releasing lock...
[2025-01-07 08:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:50:04] Production.INFO: ==23431== Lock acquired, processing the job...
[2025-01-07 08:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 08:50:04] Production.INFO: ==23435== Lock acquired, processing the job...
[2025-01-07 08:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 08:50:04] Production.INFO: ==23433== Lock acquired, processing the job...
[2025-01-07 08:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 08:50:04] Production.INFO: ==23431== Releasing lock...
[2025-01-07 08:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 08:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 08:50:04] Production.INFO: ==23437== Lock acquired, processing the job...
[2025-01-07 08:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:50:04] Production.INFO: ==23443== Lock acquired, processing the job...
[2025-01-07 08:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 08:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:50:04] Production.INFO: ==23439== Lock acquired, processing the job...
[2025-01-07 08:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:50:04] Production.INFO: Account Balance Start.
[2025-01-07 08:50:04] Production.INFO: CreateAllLog Start
[2025-01-07 08:50:04] Production.INFO: 117
[2025-01-07 08:50:04] Production.INFO: Date 2024-12-08
[2025-01-07 08:50:04] Production.INFO: ==23441== Lock acquired, processing the job...
[2025-01-07 08:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:50:04] Production.INFO: ==23445== Lock acquired, processing the job...
[2025-01-07 08:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:50:04] Production.INFO: ==23435== Releasing lock...
[2025-01-07 08:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:50:04] Production.INFO: Date 2024-12-09
[2025-01-07 08:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:50:04] Production.INFO: Date 2024-12-10
[2025-01-07 08:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 08:50:04] Production.INFO: Date 2024-12-11
[2025-01-07 08:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:50:04] Production.INFO: count ==21
[2025-01-07 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-07 08:50:04] Production.INFO: count ==21
[2025-01-07 08:50:04] Production.INFO: Date 2024-12-12
[2025-01-07 08:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193787') start
[2025-01-07 08:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:50:04] Production.ERROR: done
[2025-01-07 08:50:05] Production.INFO: Date 2024-12-13
[2025-01-07 08:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:50:05] Production.INFO: Date 2024-12-14
[2025-01-07 08:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:50:05] Production.INFO: Date 2024-12-15
[2025-01-07 08:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:50:05] Production.INFO: Date 2024-12-16
[2025-01-07 08:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:50:05] Production.INFO: Date 2024-12-17
[2025-01-07 08:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:50:05] Production.INFO: Date 2024-12-18
[2025-01-07 08:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 08:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14193788', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 08:50:05] Production.INFO: Date 2024-12-19
[2025-01-07 08:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14193787') end
[2025-01-07 08:50:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:50:05] Production.INFO: 1
[2025-01-07 08:50:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:50:05] Production.INFO: Date 2024-12-20
[2025-01-07 08:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:50:05] Production.ERROR: done
[2025-01-07 08:50:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:50:05] Production.INFO: ==23445== Releasing lock...
[2025-01-07 08:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:50:05] Production.INFO: Date 2024-12-21
[2025-01-07 08:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:50:05] Production.ERROR: done
[2025-01-07 08:50:05] Production.INFO: Date 2024-12-22
[2025-01-07 08:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:50:05] Production.INFO: Date 2024-12-23
[2025-01-07 08:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:50:05] Production.INFO: Date 2024-12-24
[2025-01-07 08:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:50:05] Production.INFO: Date 2024-12-25
[2025-01-07 08:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:50:05] Production.INFO: Date 2024-12-26
[2025-01-07 08:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:50:05] Production.INFO: Date 2024-12-27
[2025-01-07 08:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:50:05] Production.INFO: Date 2024-12-28
[2025-01-07 08:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:50:05] Production.INFO: Date 2024-12-29
[2025-01-07 08:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:50:05] Production.INFO: Date 2024-12-30
[2025-01-07 08:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:50:05] Production.INFO: Date 2024-12-31
[2025-01-07 08:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:50:05] Production.INFO: Date 2025-01-01
[2025-01-07 08:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:50:05] Production.INFO: Date 2025-01-02
[2025-01-07 08:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:50:05] Production.INFO: Date 2025-01-03
[2025-01-07 08:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:50:05] Production.INFO: Date 2025-01-04
[2025-01-07 08:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:50:06] Production.INFO: Date 2025-01-05
[2025-01-07 08:50:06] Production.INFO: Reseller ==> 0
[2025-01-07 08:50:06] Production.INFO: Date 2025-01-06
[2025-01-07 08:50:06] Production.INFO: Reseller ==> 0
[2025-01-07 08:50:06] Production.INFO: Date 2025-01-07
[2025-01-07 08:50:06] Production.INFO: Reseller ==> 0
[2025-01-07 08:50:06] Production.INFO: Total Charge 0
[2025-01-07 08:50:06] Production.INFO: CreateAllLog End
[2025-01-07 08:50:06] Production.INFO: Account Balance End.
[2025-01-07 08:50:06] Production.ERROR: CronJobId end 12
[2025-01-07 08:50:06] Production.INFO: ==23439== Releasing lock...
[2025-01-07 08:50:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:50:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:50:06
[end_date_ymd] => 2025-01-07 08:50:06
[RateCDR] => 1
)
[2025-01-07 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-07 05:50:06' and `end` < '2025-01-07 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-07 08:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14193788', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 08:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 08:50:08] Production.INFO: ProcessCDR(1,14193788,1,1,2)
[2025-01-07 08:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14193788,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14193788,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:50:09] Production.INFO: ==23443== Releasing lock...
[2025-01-07 08:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 08:50:09] Production.INFO: 26 MB #Memory Used#
[2025-01-07 08:50:13] Production.ERROR: CronJobId end10
[2025-01-07 08:50:13] Production.INFO: ==23437== Releasing lock...
[2025-01-07 08:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:50:15] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:50:15] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:50:15] Production.INFO: call_cost start
[2025-01-07 08:50:15] Production.INFO: call_cost end
[2025-01-07 08:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:50:16] Production.INFO: ==23433== Releasing lock...
[2025-01-07 08:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:50:19] Production.INFO: count ==573
[2025-01-07 08:50:19] Production.ERROR: pbx CDR StartTime 2025-01-07 05:50:06 - End Time 2025-01-07 08:50:06
[2025-01-07 08:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193789', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193789', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193789', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193789', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:50:19] Production.INFO: ProcessCDR(1,14193789,1,1,2)
[2025-01-07 08:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193789,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:50:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193789,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:50:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193789,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:50:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193789,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193789', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193789', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:50:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:50:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:50:24] Production.INFO: ==23441== Releasing lock...
[2025-01-07 08:50:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:50:24] Production.INFO: 32.75 MB #Memory Used#
[2025-01-07 13:51:01] Production.INFO: ==23502== Lock acquired, processing the job...
[2025-01-07 13:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:51:01] Production.INFO: neon service started
[2025-01-07 13:51:01] Production.INFO: neon service started
[2025-01-07 13:51:01] Production.INFO: ==23502== Releasing lock...
[2025-01-07 13:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:51:01] Production.INFO: ==23504== Lock acquired, processing the job...
[2025-01-07 08:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 13:51:02] Production.INFO: ==23506== Lock acquired, processing the job...
[2025-01-07 13:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:51:02] Production.INFO: ==23506== Releasing lock...
[2025-01-07 13:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:51:02] Production.INFO: ==23504== Releasing lock...
[2025-01-07 08:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:51:03] Production.INFO: ==23508== Lock acquired, processing the job...
[2025-01-07 08:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:51:03] Production.INFO: ==23510== Lock acquired, processing the job...
[2025-01-07 08:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:51:03] Production.INFO: ==23512== Lock acquired, processing the job...
[2025-01-07 08:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:51:03] Production.INFO: ==23510== Releasing lock...
[2025-01-07 08:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:51:03] Production.INFO: ==23515== Lock acquired, processing the job...
[2025-01-07 08:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:51:03] Production.INFO: ==23517== Lock acquired, processing the job...
[2025-01-07 08:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:51:03] Production.INFO: ==23519== Lock acquired, processing the job...
[2025-01-07 08:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:51:03] Production.INFO: Account Balance Start.
[2025-01-07 08:51:03] Production.INFO: CreateAllLog Start
[2025-01-07 08:51:03] Production.INFO: 117
[2025-01-07 08:51:03] Production.INFO: Date 2024-12-08
[2025-01-07 08:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 08:51:03] Production.INFO: Date 2024-12-09
[2025-01-07 08:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:51:03] Production.INFO: count ==21
[2025-01-07 08:51:03] Production.INFO: Date 2024-12-10
[2025-01-07 08:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 08:51:03] Production.ERROR: done
[2025-01-07 08:51:03] Production.INFO: count ==21
[2025-01-07 08:51:03] Production.INFO: Date 2024-12-11
[2025-01-07 08:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193793') start
[2025-01-07 08:51:04] Production.INFO: Date 2024-12-12
[2025-01-07 08:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:51:04] Production.INFO: Date 2024-12-13
[2025-01-07 08:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:51:04] Production.INFO: Date 2024-12-14
[2025-01-07 08:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:51:04] Production.ERROR: done
[2025-01-07 08:51:04] Production.INFO: Date 2024-12-15
[2025-01-07 08:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193793') end
[2025-01-07 08:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:51:04] Production.INFO: 1
[2025-01-07 08:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:51:04] Production.INFO: Date 2024-12-16
[2025-01-07 08:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:51:04] Production.INFO: ==23519== Releasing lock...
[2025-01-07 08:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:51:04] Production.INFO: Date 2024-12-17
[2025-01-07 08:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:51:04] Production.INFO: Date 2024-12-18
[2025-01-07 08:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:51:04] Production.INFO: Date 2024-12-19
[2025-01-07 08:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:51:04] Production.INFO: Date 2024-12-20
[2025-01-07 08:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:51:04] Production.INFO: Date 2024-12-21
[2025-01-07 08:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:51:04] Production.INFO: Date 2024-12-22
[2025-01-07 08:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:51:04] Production.INFO: Date 2024-12-23
[2025-01-07 08:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:51:04] Production.INFO: Date 2024-12-24
[2025-01-07 08:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:51:04] Production.INFO: Date 2024-12-25
[2025-01-07 08:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:51:04] Production.INFO: Date 2024-12-26
[2025-01-07 08:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:51:04] Production.INFO: Date 2024-12-27
[2025-01-07 08:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:51:04] Production.INFO: Date 2024-12-28
[2025-01-07 08:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:51:04] Production.INFO: Date 2024-12-29
[2025-01-07 08:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:51:04] Production.INFO: Date 2024-12-30
[2025-01-07 08:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:51:04] Production.INFO: Date 2024-12-31
[2025-01-07 08:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:51:04] Production.INFO: Date 2025-01-01
[2025-01-07 08:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:51:05] Production.INFO: Date 2025-01-02
[2025-01-07 08:51:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:51:05] Production.INFO: Date 2025-01-03
[2025-01-07 08:51:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:51:05] Production.INFO: Date 2025-01-04
[2025-01-07 08:51:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:51:05] Production.INFO: Date 2025-01-05
[2025-01-07 08:51:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:51:05] Production.INFO: Date 2025-01-06
[2025-01-07 08:51:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:51:05] Production.INFO: Date 2025-01-07
[2025-01-07 08:51:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:51:05] Production.INFO: Total Charge 0
[2025-01-07 08:51:05] Production.INFO: CreateAllLog End
[2025-01-07 08:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:51:05
[end_date_ymd] => 2025-01-07 08:51:05
[RateCDR] => 1
)
[2025-01-07 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-07 05:51:05' and `end` < '2025-01-07 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-07 08:51:05] Production.INFO: Account Balance End.
[2025-01-07 08:51:05] Production.ERROR: CronJobId end 12
[2025-01-07 08:51:05] Production.INFO: ==23515== Releasing lock...
[2025-01-07 08:51:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:51:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:51:11] Production.ERROR: CronJobId end10
[2025-01-07 08:51:11] Production.INFO: ==23512== Releasing lock...
[2025-01-07 08:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:51:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:51:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:51:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:51:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:51:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:51:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:51:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:51:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:51:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:51:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:51:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:51:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:51:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:51:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:51:12] Production.INFO: call_cost start
[2025-01-07 08:51:12] Production.INFO: call_cost end
[2025-01-07 08:51:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:51:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:51:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:51:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:51:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:51:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:51:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:51:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:51:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:51:13] Production.INFO: ==23508== Releasing lock...
[2025-01-07 08:51:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:51:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:51:19] Production.INFO: count ==602
[2025-01-07 08:51:19] Production.ERROR: pbx CDR StartTime 2025-01-07 05:51:05 - End Time 2025-01-07 08:51:05
[2025-01-07 08:51:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193794', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193794', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193794', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193794', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:51:19] Production.INFO: ProcessCDR(1,14193794,1,1,2)
[2025-01-07 08:51:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193794,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:51:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193794,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:51:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193794,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:51:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193794,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:51:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193794', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:51:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193794', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:51:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:51:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:51:24] Production.INFO: ==23517== Releasing lock...
[2025-01-07 08:51:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:51:24] Production.INFO: 33.5 MB #Memory Used#
[2025-01-07 13:52:01] Production.INFO: ==23575== Lock acquired, processing the job...
[2025-01-07 13:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:52:01] Production.INFO: neon service started
[2025-01-07 13:52:02] Production.INFO: neon service started
[2025-01-07 13:52:02] Production.INFO: ==23575== Releasing lock...
[2025-01-07 13:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 13:52:02] Production.INFO: ==23579== Lock acquired, processing the job...
[2025-01-07 13:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:52:02] Production.INFO: ==23579== Releasing lock...
[2025-01-07 13:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:52:02] Production.INFO: ==23577== Lock acquired, processing the job...
[2025-01-07 08:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:52:02] Production.INFO: ==23577== Releasing lock...
[2025-01-07 08:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:52:03] Production.INFO: ==23582== Lock acquired, processing the job...
[2025-01-07 08:52:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10479 #Starts#
[2025-01-07 08:52:03] Production.INFO: ==23588== Lock acquired, processing the job...
[2025-01-07 08:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:52:03] Production.INFO: -- Xero Api Check --
[2025-01-07 08:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:52:03] Production.INFO: ==23592== Lock acquired, processing the job...
[2025-01-07 08:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:52:03] Production.INFO: ==23594== Lock acquired, processing the job...
[2025-01-07 08:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:52:03] Production.INFO: ==23584== Lock acquired, processing the job...
[2025-01-07 08:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:52:03] Production.INFO: ==23590== Lock acquired, processing the job...
[2025-01-07 08:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:52:04] Production.INFO: ==23586== Lock acquired, processing the job...
[2025-01-07 08:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:52:04] Production.INFO: count ==21
[2025-01-07 08:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:52:04] Production.INFO: Account Balance Start.
[2025-01-07 08:52:04] Production.INFO: CreateAllLog Start
[2025-01-07 08:52:04] Production.INFO: count ==21
[2025-01-07 08:52:04] Production.INFO: 117
[2025-01-07 08:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193795') start
[2025-01-07 08:52:04] Production.INFO: Date 2024-12-08
[2025-01-07 08:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:52:04] Production.ERROR: done
[2025-01-07 08:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:52:04] Production.INFO: Date 2024-12-09
[2025-01-07 08:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:52:04] Production.INFO: Date 2024-12-10
[2025-01-07 08:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193795') end
[2025-01-07 08:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:52:04] Production.INFO: 1
[2025-01-07 08:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:52:04] Production.INFO: ==23594== Releasing lock...
[2025-01-07 08:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:52:04] Production.ERROR: done
[2025-01-07 08:52:04] Production.INFO: Date 2024-12-11
[2025-01-07 08:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:52:04] Production.INFO: ==23586== Releasing lock...
[2025-01-07 08:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:52:04] Production.INFO: Date 2024-12-12
[2025-01-07 08:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:52:04] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 855
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.690768
[namelookup_time] => 0.268015
[connect_time] => 0.275809
[pretransfer_time] => 0.549063
[size_upload] => 82
[size_download] => 2755
[speed_download] => 3988
[speed_upload] => 118
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.690716
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.33
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 43026
)
[2025-01-07 08:52:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTc5MjQsImV4cCI6MTczNjI1ODIyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjU3OTI0LCJhdF9oYXNoIjoiam1tMDZFV0lPUlFxMlFhdzdwYVA4dyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.uyP3YbKxFU0WU_oBbiUZl516eFSMAocT4n7MW4pcrlND5fvSzEnTQZOpr5seZhERxVEkBJ6kO6qzj6164Z_fjKk7ND8IZ1wSXJb83sbJZ8zgXlcG1DhrHT7AWix_625rOo6C4SeRC6mc7i8RxQbeXAiqaPxXJLuuKyP3zExFCdrTHMAL7CgiiEjocYbLoCVhXMNak4exiLl6S9vYu15rHEt0jaHlBKJIibAY-Zyva1uHAQr8sJ3deUrd1Jv2KBDth2vYBSKjJuVbgvAVLmuAWqdkx8y0EaogX9MIEyOvjhdr9NSRpGcZZK9-YMKiFBf_7g4mNkZVrs4cEcHFSrjPXg
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTc5MjQsImV4cCI6MTczNjI1OTcyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.rLRzyRfpimBQDnO92wQ64Gjb30vNkoiHuc_UR_XZfvkvWv6dzU4ZY6255NCENwp2QSS-oc5HuTV0CjqddhGl1Y-yDHoYW14yS5fLCy72Z221CSG6ebQFJ4ehL1XoH6ftFVkP_3MUzyoNKGA6xyF_BCVVLUG_6eyYTGLU_ORSLqA6-K5-L81O7TrF7a5cqdS7z5mPjZNctqETJ-8MnXvla-fxavSFibjuoa6N2O29wzL5_zcSMa_4OEKekgBu5bSxQADjILu2LF39TWrEY_MIRRbCZ8rxvB3wz9UnXpUme_gkDzwEepZD6DZHNaZkk8Krze2frs1P44C_um-Im4SYlg
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => 9ZrCae8vJw2F7oz0662CfvdaKr_lo103P0GIW-iFoTk
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 08:52:04] Production.INFO: Date 2024-12-13
[2025-01-07 08:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:52:04] Production.INFO: Date 2024-12-14
[2025-01-07 08:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:52:04] Production.INFO: Date 2024-12-15
[2025-01-07 08:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:52:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTc5MjQsImV4cCI6MTczNjI1ODIyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjU3OTI0LCJhdF9oYXNoIjoiam1tMDZFV0lPUlFxMlFhdzdwYVA4dyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.uyP3YbKxFU0WU_oBbiUZl516eFSMAocT4n7MW4pcrlND5fvSzEnTQZOpr5seZhERxVEkBJ6kO6qzj6164Z_fjKk7ND8IZ1wSXJb83sbJZ8zgXlcG1DhrHT7AWix_625rOo6C4SeRC6mc7i8RxQbeXAiqaPxXJLuuKyP3zExFCdrTHMAL7CgiiEjocYbLoCVhXMNak4exiLl6S9vYu15rHEt0jaHlBKJIibAY-Zyva1uHAQr8sJ3deUrd1Jv2KBDth2vYBSKjJuVbgvAVLmuAWqdkx8y0EaogX9MIEyOvjhdr9NSRpGcZZK9-YMKiFBf_7g4mNkZVrs4cEcHFSrjPXg
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTc5MjQsImV4cCI6MTczNjI1OTcyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.rLRzyRfpimBQDnO92wQ64Gjb30vNkoiHuc_UR_XZfvkvWv6dzU4ZY6255NCENwp2QSS-oc5HuTV0CjqddhGl1Y-yDHoYW14yS5fLCy72Z221CSG6ebQFJ4ehL1XoH6ftFVkP_3MUzyoNKGA6xyF_BCVVLUG_6eyYTGLU_ORSLqA6-K5-L81O7TrF7a5cqdS7z5mPjZNctqETJ-8MnXvla-fxavSFibjuoa6N2O29wzL5_zcSMa_4OEKekgBu5bSxQADjILu2LF39TWrEY_MIRRbCZ8rxvB3wz9UnXpUme_gkDzwEepZD6DZHNaZkk8Krze2frs1P44C_um-Im4SYlg
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => 9ZrCae8vJw2F7oz0662CfvdaKr_lo103P0GIW-iFoTk
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 08:52:04] Production.INFO: AccountID 134
[2025-01-07 08:52:04] Production.INFO: AccountName Sidhu Law Chambers
[2025-01-07 08:52:04] Production.INFO: Checkcustomer
[2025-01-07 08:52:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Sidhu%20Law%20Chambers"
[2025-01-07 08:52:04] Production.INFO: Date 2024-12-16
[2025-01-07 08:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:52:04] Production.INFO: Date 2024-12-17
[2025-01-07 08:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:52:04] Production.INFO: Date 2024-12-18
[2025-01-07 08:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:52:04] Production.INFO: Date 2024-12-19
[2025-01-07 08:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:52:04] Production.INFO: Date 2024-12-20
[2025-01-07 08:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:52:04] Production.INFO: Date 2024-12-21
[2025-01-07 08:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:52:04] Production.INFO: Date 2024-12-22
[2025-01-07 08:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:52:04] Production.INFO: Date 2024-12-23
[2025-01-07 08:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:52:05] Production.INFO: Date 2024-12-24
[2025-01-07 08:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:52:05] Production.INFO: Date 2024-12-25
[2025-01-07 08:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:52:05] Production.INFO: Date 2024-12-26
[2025-01-07 08:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:52:05] Production.INFO: Date 2024-12-27
[2025-01-07 08:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:52:05] Production.INFO: Date 2024-12-28
[2025-01-07 08:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:52:05] Production.INFO: Date 2024-12-29
[2025-01-07 08:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:52:05] Production.INFO: Date 2024-12-30
[2025-01-07 08:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:52:05] Production.INFO: Date 2024-12-31
[2025-01-07 08:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:52:05] Production.INFO: Date 2025-01-01
[2025-01-07 08:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:52:05] Production.INFO: Date 2025-01-02
[2025-01-07 08:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:52:05] Production.INFO: Date 2025-01-03
[2025-01-07 08:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:52:05] Production.INFO: Date 2025-01-04
[2025-01-07 08:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:52:05] Production.INFO: Date 2025-01-05
[2025-01-07 08:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:52:05] Production.INFO: Date 2025-01-06
[2025-01-07 08:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:52:05] Production.INFO: Date 2025-01-07
[2025-01-07 08:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:52:05] Production.INFO: Total Charge 0
[2025-01-07 08:52:05] Production.INFO: CreateAllLog End
[2025-01-07 08:52:05] Production.INFO: Account Balance End.
[2025-01-07 08:52:05] Production.ERROR: CronJobId end 12
[2025-01-07 08:52:05] Production.INFO: ==23590== Releasing lock...
[2025-01-07 08:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:52:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:52:05
[end_date_ymd] => 2025-01-07 08:52:05
[RateCDR] => 1
)
[2025-01-07 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-07 05:52:05' and `end` < '2025-01-07 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-07 08:52:07] Production.INFO: Contact id print CheckCustomer Case===2844b970-e681-4127-91fd-f61dd7a36ea0
[2025-01-07 08:52:07] Production.INFO: -- count --1
[2025-01-07 08:52:07] Production.INFO: -- Xero Add Inovice --
[2025-01-07 08:52:07] Production.INFO: CheckInvoice xerov2: INV11197
[2025-01-07 08:52:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11197
[2025-01-07 08:52:10] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 08:52:10] Production.INFO: Invoice SubTotal 20.000000
[2025-01-07 08:52:10] Production.INFO: Invoice DetTotal 20
[2025-01-07 08:52:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Sidhu%20Law%20Chambers"
[2025-01-07 08:52:11] Production.ERROR: CronJobId end10
[2025-01-07 08:52:11] Production.INFO: ==23588== Releasing lock...
[2025-01-07 08:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:52:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 08:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:52:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:52:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:52:14] Production.INFO: call_cost start
[2025-01-07 08:52:14] Production.INFO: call_cost end
[2025-01-07 08:52:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 08:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:52:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:52:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:52:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:52:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:52:15] Production.INFO: ==23584== Releasing lock...
[2025-01-07 08:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:52:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 08:52:18] Production.INFO: count ==625
[2025-01-07 08:52:18] Production.ERROR: pbx CDR StartTime 2025-01-07 05:52:05 - End Time 2025-01-07 08:52:05
[2025-01-07 08:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193799', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193799', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193799', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193799', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:52:18] Production.INFO: ProcessCDR(1,14193799,1,1,2)
[2025-01-07 08:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193799,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:52:20] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension",Quantity : 1,UnitAmount : 15.000000,LineAmount : 15.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Fax DID (9057996231)",Quantity : 1,UnitAmount : 5.000000,LineAmount : 5.000000}
[2025-01-07 08:52:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193799,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:52:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193799,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:52:22] Production.INFO: ==== result =====
[2025-01-07 08:52:22] Production.INFO: {
"Id": "b1b4693f-7b74-4176-b731-7e3f55d97558",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736257942674)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "be28f704-cb3b-4e6f-bb0a-fc1617b033f9",
"InvoiceNumber": "INV11197",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 22.60,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "2844b970-e681-4127-91fd-f61dd7a36ea0",
"ContactStatus": "ACTIVE",
"Name": "Sidhu Law Chambers",
"FirstName": "Rupinder",
"LastName": "Sidhu",
"EmailAddress": "sidhulawchambers@gmail.com",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1594930454860+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-11T00:00:00",
"Date": "\/Date(1733875200000+0000)\/",
"DueDateString": "2025-01-10T00:00:00",
"DueDate": "\/Date(1736467200000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "License for an Unlimited Canada/US Cloud Phone extension",
"UnitAmount": 15.00,
"TaxType": "TAX020",
"TaxAmount": 1.95,
"LineAmount": 15.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "88b801e5-4ac4-47a2-ab2f-1d7e4a0eb96f",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Fax DID (9057996231)",
"UnitAmount": 5.00,
"TaxType": "TAX020",
"TaxAmount": 0.65,
"LineAmount": 5.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "7c2a88f1-99ee-4cdb-8752-dff1271db7e6",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 20.00,
"TotalTax": 2.60,
"Total": 22.60,
"UpdatedDateUTC": "\/Date(1736257942627+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 08:52:22] Production.INFO: -- Create Invoice id --be28f704-cb3b-4e6f-bb0a-fc1617b033f9
[2025-01-07 08:52:22] Production.INFO: -- Create Invoice Done --
[2025-01-07 08:52:22] Production.INFO: -- Xero End Inovice --
[2025-01-07 08:52:22] Production.INFO: ==23582== Releasing lock...
[2025-01-07 08:52:22] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10479 #Stops#
[2025-01-07 08:52:22] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 08:52:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193799,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193799', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:52:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193799', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:52:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:52:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:52:24] Production.INFO: ==23592== Releasing lock...
[2025-01-07 08:52:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:52:24] Production.INFO: 33.75 MB #Memory Used#
[2025-01-07 13:53:01] Production.INFO: ==23655== Lock acquired, processing the job...
[2025-01-07 13:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:53:01] Production.INFO: neon service started
[2025-01-07 13:53:01] Production.INFO: neon service started
[2025-01-07 13:53:01] Production.INFO: ==23655== Releasing lock...
[2025-01-07 13:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:53:01] Production.INFO: ==23657== Lock acquired, processing the job...
[2025-01-07 08:53:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 13:53:02] Production.INFO: ==23659== Lock acquired, processing the job...
[2025-01-07 13:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 08:53:02] Production.INFO: ==23657== Releasing lock...
[2025-01-07 08:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 13:53:02] Production.INFO: ==23659== Releasing lock...
[2025-01-07 13:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:53:02] Production.INFO: ==23662== Lock acquired, processing the job...
[2025-01-07 08:53:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:53:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:53:02] Production.INFO: ==23666== Lock acquired, processing the job...
[2025-01-07 08:53:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:53:02] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:53:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:53:02] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:53:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:53:02] Production.INFO: ==23668== Lock acquired, processing the job...
[2025-01-07 08:53:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:53:02] Production.INFO: ==23664== Lock acquired, processing the job...
[2025-01-07 08:53:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:53:03] Production.INFO: Account Balance Start.
[2025-01-07 08:53:03] Production.INFO: CreateAllLog Start
[2025-01-07 08:53:03] Production.INFO: 117
[2025-01-07 08:53:03] Production.INFO: Date 2024-12-08
[2025-01-07 08:53:03] Production.INFO: ==23670== Lock acquired, processing the job...
[2025-01-07 08:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:53:03] Production.INFO: ==23672== Lock acquired, processing the job...
[2025-01-07 08:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:53:03] Production.INFO: Date 2024-12-09
[2025-01-07 08:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:53:03] Production.INFO: Date 2024-12-10
[2025-01-07 08:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:53:03] Production.INFO: Date 2024-12-11
[2025-01-07 08:53:03] Production.INFO: ==23664== Releasing lock...
[2025-01-07 08:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 08:53:03] Production.INFO: count ==21
[2025-01-07 08:53:03] Production.INFO: Date 2024-12-12
[2025-01-07 08:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 08:53:03] Production.INFO: count ==21
[2025-01-07 08:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193803') start
[2025-01-07 08:53:03] Production.INFO: Date 2024-12-13
[2025-01-07 08:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:53:03] Production.INFO: Date 2024-12-14
[2025-01-07 08:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:53:03] Production.INFO: Date 2024-12-15
[2025-01-07 08:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:53:03] Production.INFO: Date 2024-12-16
[2025-01-07 08:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:53:03] Production.ERROR: done
[2025-01-07 08:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:53:03] Production.INFO: Date 2024-12-17
[2025-01-07 08:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:53:03] Production.INFO: Date 2024-12-18
[2025-01-07 08:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193803') end
[2025-01-07 08:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:53:03] Production.INFO: 1
[2025-01-07 08:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:53:03] Production.INFO: Date 2024-12-19
[2025-01-07 08:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:53:03] Production.INFO: ==23672== Releasing lock...
[2025-01-07 08:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:53:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:53:03] Production.ERROR: done
[2025-01-07 08:53:03] Production.INFO: Date 2024-12-20
[2025-01-07 08:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:53:03] Production.INFO: Date 2024-12-21
[2025-01-07 08:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:53:03] Production.INFO: Date 2024-12-22
[2025-01-07 08:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:53:03] Production.INFO: Date 2024-12-23
[2025-01-07 08:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:53:03] Production.INFO: Date 2024-12-24
[2025-01-07 08:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:53:03] Production.INFO: Date 2024-12-25
[2025-01-07 08:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:53:03] Production.INFO: Date 2024-12-26
[2025-01-07 08:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:53:03] Production.INFO: Date 2024-12-27
[2025-01-07 08:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:53:04] Production.INFO: Date 2024-12-28
[2025-01-07 08:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:53:04] Production.INFO: Date 2024-12-29
[2025-01-07 08:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:53:04] Production.INFO: Date 2024-12-30
[2025-01-07 08:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:53:04] Production.INFO: Date 2024-12-31
[2025-01-07 08:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:53:04] Production.INFO: Date 2025-01-01
[2025-01-07 08:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:53:04] Production.INFO: Date 2025-01-02
[2025-01-07 08:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:53:04] Production.INFO: Date 2025-01-03
[2025-01-07 08:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:53:04] Production.INFO: Date 2025-01-04
[2025-01-07 08:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:53:04] Production.INFO: Date 2025-01-05
[2025-01-07 08:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:53:04] Production.INFO: Date 2025-01-06
[2025-01-07 08:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:53:04] Production.INFO: Date 2025-01-07
[2025-01-07 08:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:53:04] Production.INFO: Total Charge 0
[2025-01-07 08:53:04] Production.INFO: CreateAllLog End
[2025-01-07 08:53:04] Production.INFO: Account Balance End.
[2025-01-07 08:53:04] Production.ERROR: CronJobId end 12
[2025-01-07 08:53:04] Production.INFO: ==23668== Releasing lock...
[2025-01-07 08:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:53:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:53:04
[end_date_ymd] => 2025-01-07 08:53:04
[RateCDR] => 1
)
[2025-01-07 08: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-07 05:53:04' and `end` < '2025-01-07 08: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-07 08:53:09] Production.ERROR: CronJobId end10
[2025-01-07 08:53:09] Production.INFO: ==23666== Releasing lock...
[2025-01-07 08:53:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:53:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:53:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:53:11] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:53:11] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:53:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:53:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:53:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:53:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:53:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:53:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:53:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:53:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:53:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:53:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:53:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:53:11] Production.INFO: call_cost start
[2025-01-07 08:53:11] Production.INFO: call_cost end
[2025-01-07 08:53:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:53:12] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:53:12] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:53:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:53:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:53:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:53:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:53:12] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:53:12] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:53:12] Production.INFO: ==23662== Releasing lock...
[2025-01-07 08:53:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:53:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:53:17] Production.INFO: count ==629
[2025-01-07 08:53:17] Production.ERROR: pbx CDR StartTime 2025-01-07 05:53:04 - End Time 2025-01-07 08:53:04
[2025-01-07 08:53:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193804', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193804', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193804', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193804', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:53:18] Production.INFO: ProcessCDR(1,14193804,1,1,2)
[2025-01-07 08:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193804,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193804,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193804,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193804,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193804', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193804', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:53:22] Production.INFO: ==23670== Releasing lock...
[2025-01-07 08:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:53:22] Production.INFO: 33.25 MB #Memory Used#
[2025-01-07 13:54:01] Production.INFO: ==23725== Lock acquired, processing the job...
[2025-01-07 13:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:54:01] Production.INFO: neon service started
[2025-01-07 13:54:01] Production.INFO: neon service started
[2025-01-07 13:54:01] Production.INFO: ==23725== Releasing lock...
[2025-01-07 13:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:54:02] Production.INFO: ==23727== Lock acquired, processing the job...
[2025-01-07 08:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 13:54:02] Production.INFO: ==23729== Lock acquired, processing the job...
[2025-01-07 13:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:54:02] Production.INFO: ==23729== Releasing lock...
[2025-01-07 13:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:54:02] Production.INFO: ==23727== Releasing lock...
[2025-01-07 08:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:54:03] Production.INFO: ==23732== Lock acquired, processing the job...
[2025-01-07 08:54:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10480 #Starts#
[2025-01-07 08:54:03] Production.INFO: ==23734== Lock acquired, processing the job...
[2025-01-07 08:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:54:03] Production.INFO: -- Xero Api Check --
[2025-01-07 08:54:03] Production.INFO: ==23736== Lock acquired, processing the job...
[2025-01-07 08:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:54:03] Production.INFO: ==23738== Lock acquired, processing the job...
[2025-01-07 08:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:54:04] Production.INFO: ==23740== Lock acquired, processing the job...
[2025-01-07 08:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:54:04] Production.INFO: ==23744== Lock acquired, processing the job...
[2025-01-07 08:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:54:04] Production.INFO: ==23742== Lock acquired, processing the job...
[2025-01-07 08:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:54:04] Production.INFO: ==23736== Releasing lock...
[2025-01-07 08:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:54:04] Production.INFO: Account Balance Start.
[2025-01-07 08:54:04] Production.INFO: CreateAllLog Start
[2025-01-07 08:54:04] Production.INFO: 117
[2025-01-07 08:54:04] Production.INFO: Date 2024-12-08
[2025-01-07 08:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:54:04] Production.INFO: Date 2024-12-09
[2025-01-07 08:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 08:54:04] Production.INFO: Date 2024-12-10
[2025-01-07 08:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:54:04] Production.INFO: count ==21
[2025-01-07 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-07 08:54:04] Production.INFO: count ==21
[2025-01-07 08:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193808') start
[2025-01-07 08:54:04] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 855
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.609038
[namelookup_time] => 0.264334
[connect_time] => 0.275596
[pretransfer_time] => 0.531037
[size_upload] => 82
[size_download] => 2755
[speed_download] => 4523
[speed_upload] => 134
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.608985
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.17
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 45142
)
[2025-01-07 08:54:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTgwNDQsImV4cCI6MTczNjI1ODM0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjU4MDQ0LCJhdF9oYXNoIjoiaW1WUC1xcUlOUnRFUWtyVXRhY0tMZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.Eou1BarP5J2cXU5ztwtaktRsEQE9_5Au0MlgzhSHxzzxiEDMBBcbYa9eLIzzURso16M0RFzwb0caTiHhFXEMOvh-H7DHHqcnMXRCunOtjGylmNoWdZJJNxUp4Q0BjV8R2AGuVaD0sme8EliE3VqWXWiVrI5AtuHcaWrNx81wjIKR6nmo2MBQgE_3dY0iK1aBCMk-6ZtHZ_4tTPeIMQSeFb_awEVuzfc375E5vE3zo1xwstHLXI9QLq6zb685Ma51Is-7jJg2MJ4UexukZma8N6cyJDclE-ua3X-ZeMZZmyUq6NoQTzCiLFokc7YI83DjIE_FvFaH4vR2jqWkE3YnKw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTgwNDQsImV4cCI6MTczNjI1OTg0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.VcHg_AepwBNv0888joNX0eqIiSawXWCjdTjmllQvf5YUCSadKDPUO20Ip8nPq9pOR2oBpng4ACRPWAoojdPVLWMHNgLa1_15uybu8DjON5n44n67k-U89XNTSaIlLgxbrid-nsr3OyAORE_yz46bBeaTOJ_SOvyVEcZ_uGgGPe6u-RP3--EMo-IB0AwSXNsif6Atsm3poix1dyqySxabzquevY7r8T9qpjrcYt9MLqo9FgIvJuPXy66tI4ctDW9r686kr55nAfq1PtlZ3IOZTz7C8eXzgK_58DL6A674mN0hnTkpvJMHnFMbDB3CQCdfJWcQmybgfG6XRJ7RwiVwJA
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => _8-Twji5OwY8qRxmdcM8pWwScNe1JlnHVcPoB-2QQAo
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 08:54:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTgwNDQsImV4cCI6MTczNjI1ODM0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjU4MDQ0LCJhdF9oYXNoIjoiaW1WUC1xcUlOUnRFUWtyVXRhY0tMZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.Eou1BarP5J2cXU5ztwtaktRsEQE9_5Au0MlgzhSHxzzxiEDMBBcbYa9eLIzzURso16M0RFzwb0caTiHhFXEMOvh-H7DHHqcnMXRCunOtjGylmNoWdZJJNxUp4Q0BjV8R2AGuVaD0sme8EliE3VqWXWiVrI5AtuHcaWrNx81wjIKR6nmo2MBQgE_3dY0iK1aBCMk-6ZtHZ_4tTPeIMQSeFb_awEVuzfc375E5vE3zo1xwstHLXI9QLq6zb685Ma51Is-7jJg2MJ4UexukZma8N6cyJDclE-ua3X-ZeMZZmyUq6NoQTzCiLFokc7YI83DjIE_FvFaH4vR2jqWkE3YnKw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTgwNDQsImV4cCI6MTczNjI1OTg0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.VcHg_AepwBNv0888joNX0eqIiSawXWCjdTjmllQvf5YUCSadKDPUO20Ip8nPq9pOR2oBpng4ACRPWAoojdPVLWMHNgLa1_15uybu8DjON5n44n67k-U89XNTSaIlLgxbrid-nsr3OyAORE_yz46bBeaTOJ_SOvyVEcZ_uGgGPe6u-RP3--EMo-IB0AwSXNsif6Atsm3poix1dyqySxabzquevY7r8T9qpjrcYt9MLqo9FgIvJuPXy66tI4ctDW9r686kr55nAfq1PtlZ3IOZTz7C8eXzgK_58DL6A674mN0hnTkpvJMHnFMbDB3CQCdfJWcQmybgfG6XRJ7RwiVwJA
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => _8-Twji5OwY8qRxmdcM8pWwScNe1JlnHVcPoB-2QQAo
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 08:54:04] Production.INFO: Date 2024-12-11
[2025-01-07 08:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:54:04] Production.INFO: AccountID 93
[2025-01-07 08:54:04] Production.INFO: AccountName Personas
[2025-01-07 08:54:04] Production.INFO: Checkcustomer
[2025-01-07 08:54:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Personas"
[2025-01-07 08:54:04] Production.INFO: Date 2024-12-12
[2025-01-07 08:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193808') end
[2025-01-07 08:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:54:04] Production.INFO: 1
[2025-01-07 08:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:54:04] Production.INFO: ==23744== Releasing lock...
[2025-01-07 08:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:54:04] Production.INFO: Date 2024-12-13
[2025-01-07 08:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:54:04] Production.ERROR: done
[2025-01-07 08:54:04] Production.INFO: Date 2024-12-14
[2025-01-07 08:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:54:04] Production.INFO: Date 2024-12-15
[2025-01-07 08:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:54:04] Production.INFO: Date 2024-12-16
[2025-01-07 08:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:54:04] Production.INFO: Date 2024-12-17
[2025-01-07 08:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:54:04] Production.ERROR: done
[2025-01-07 08:54:04] Production.INFO: Date 2024-12-18
[2025-01-07 08:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:54:04] Production.INFO: Date 2024-12-19
[2025-01-07 08:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:54:04] Production.INFO: Date 2024-12-20
[2025-01-07 08:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:54:04] Production.INFO: Date 2024-12-21
[2025-01-07 08:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:54:04] Production.INFO: Date 2024-12-22
[2025-01-07 08:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:54:05] Production.INFO: Date 2024-12-23
[2025-01-07 08:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:54:05] Production.INFO: Date 2024-12-24
[2025-01-07 08:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:54:05] Production.INFO: Date 2024-12-25
[2025-01-07 08:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:54:05] Production.INFO: Date 2024-12-26
[2025-01-07 08:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:54:05] Production.INFO: Date 2024-12-27
[2025-01-07 08:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:54:05] Production.INFO: Date 2024-12-28
[2025-01-07 08:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:54:05] Production.INFO: Date 2024-12-29
[2025-01-07 08:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:54:05] Production.INFO: Date 2024-12-30
[2025-01-07 08:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:54:05] Production.INFO: Date 2024-12-31
[2025-01-07 08:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:54:05] Production.INFO: Date 2025-01-01
[2025-01-07 08:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:54:05] Production.INFO: Date 2025-01-02
[2025-01-07 08:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:54:05] Production.INFO: Date 2025-01-03
[2025-01-07 08:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:54:05] Production.INFO: Date 2025-01-04
[2025-01-07 08:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:54:05] Production.INFO: Date 2025-01-05
[2025-01-07 08:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:54:05] Production.INFO: Date 2025-01-06
[2025-01-07 08:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:54:05] Production.INFO: Date 2025-01-07
[2025-01-07 08:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:54:05] Production.INFO: Total Charge 0
[2025-01-07 08:54:05] Production.INFO: CreateAllLog End
[2025-01-07 08:54:05] Production.INFO: Account Balance End.
[2025-01-07 08:54:05] Production.ERROR: CronJobId end 12
[2025-01-07 08:54:05] Production.INFO: ==23740== Releasing lock...
[2025-01-07 08:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:54:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:54:05
[end_date_ymd] => 2025-01-07 08:54:05
[RateCDR] => 1
)
[2025-01-07 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-07 05:54:05' and `end` < '2025-01-07 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-07 08:54:07] Production.INFO: Contact id print CheckCustomer Case===31472f57-4acd-4468-9ab0-8ed346b2d96f
[2025-01-07 08:54:07] Production.INFO: -- count --1
[2025-01-07 08:54:07] Production.INFO: -- Xero Add Inovice --
[2025-01-07 08:54:07] Production.INFO: CheckInvoice xerov2: INV11234
[2025-01-07 08:54:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11234
[2025-01-07 08:54:09] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 08:54:09] Production.INFO: Invoice SubTotal 57.000000
[2025-01-07 08:54:09] Production.INFO: Invoice DetTotal 57
[2025-01-07 08:54:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Personas"
[2025-01-07 08:54:10] Production.ERROR: CronJobId end10
[2025-01-07 08:54:10] Production.INFO: ==23738== Releasing lock...
[2025-01-07 08:54:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:54:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:54:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 08:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:54:13] Production.INFO: call_cost start
[2025-01-07 08:54:13] Production.INFO: call_cost end
[2025-01-07 08:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:54:14] Production.INFO: ==23734== Releasing lock...
[2025-01-07 08:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:54:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 08:54:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 08:54:18] Production.INFO: count ==632
[2025-01-07 08:54:19] Production.ERROR: pbx CDR StartTime 2025-01-07 05:54:05 - End Time 2025-01-07 08:54:05
[2025-01-07 08:54:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193809', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193809', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193809', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193809', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:54:19] Production.INFO: ProcessCDR(1,14193809,1,1,2)
[2025-01-07 08:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193809,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:54:19] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 7,UnitAmount : 7.500000,LineAmount : 52.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (16472642233 - 55 University Ave 302 Toronto, ON M5H 3B7 Canada)",Quantity : 1,UnitAmount : 2.750000,LineAmount : 2.750000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18883119273)",Quantity : 1,UnitAmount : 1.750000,LineAmount : 1.750000}
[2025-01-07 08:54:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193809,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:54:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193809,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:54:22] Production.INFO: ==== result =====
[2025-01-07 08:54:22] Production.INFO: {
"Id": "a39e16f2-f2e5-4b17-9b38-9e5ea1a3ebcf",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736258061999)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "4ea00f3b-c493-4094-85f1-c52396d35724",
"InvoiceNumber": "INV11234",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 64.42,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "31472f57-4acd-4468-9ab0-8ed346b2d96f",
"ContactStatus": "ACTIVE",
"Name": "Personas",
"FirstName": "David",
"LastName": "Kerry",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1655926156083+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-17T00:00:00",
"Date": "\/Date(1734393600000+0000)\/",
"DueDateString": "2025-01-16T00:00:00",
"DueDate": "\/Date(1736985600000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "License for a Pay As You Go Cloud Phone extension",
"UnitAmount": 7.50,
"TaxType": "TAX020",
"TaxAmount": 6.83,
"LineAmount": 52.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 7.0000,
"DiscountRate": 0.00,
"LineItemID": "994e06eb-f193-42c7-98f6-f9737f2b2e18",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (16472642233 - 55 University Ave 302 Toronto, ON M5H 3B7 Canada)",
"UnitAmount": 2.75,
"TaxType": "TAX020",
"TaxAmount": 0.36,
"LineAmount": 2.75,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "aff9830c-0ff0-4bf8-861e-1af2d21129b0",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (18883119273)",
"UnitAmount": 1.75,
"TaxType": "TAX020",
"TaxAmount": 0.23,
"LineAmount": 1.75,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "69675a1e-5090-45fa-b382-efcea541f32f",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 57.00,
"TotalTax": 7.42,
"Total": 64.42,
"UpdatedDateUTC": "\/Date(1736258061953+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 08:54:22] Production.INFO: -- Create Invoice id --4ea00f3b-c493-4094-85f1-c52396d35724
[2025-01-07 08:54:22] Production.INFO: -- Create Invoice Done --
[2025-01-07 08:54:22] Production.INFO: -- Xero End Inovice --
[2025-01-07 08:54:22] Production.INFO: ==23732== Releasing lock...
[2025-01-07 08:54:22] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10480 #Stops#
[2025-01-07 08:54:22] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 08:54:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193809,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193809', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193809', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:54:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:54:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:54:23] Production.INFO: ==23742== Releasing lock...
[2025-01-07 08:54:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:54:23] Production.INFO: 33.25 MB #Memory Used#
[2025-01-07 13:55:02] Production.INFO: ==23806== Lock acquired, processing the job...
[2025-01-07 13:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:55:02] Production.INFO: neon service started
[2025-01-07 13:55:02] Production.INFO: neon service started
[2025-01-07 13:55:02] Production.INFO: ==23806== Releasing lock...
[2025-01-07 13:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:55:02] Production.INFO: ==23808== Lock acquired, processing the job...
[2025-01-07 08:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:55:02] Production.INFO: ==23808== Releasing lock...
[2025-01-07 08:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 13:55:02] Production.INFO: ==23810== Lock acquired, processing the job...
[2025-01-07 13:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:55:03] Production.INFO: ==23810== Releasing lock...
[2025-01-07 13:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:55:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:55:03] Production.INFO: ==23812== Lock acquired, processing the job...
[2025-01-07 08:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:55:03] Production.INFO: ==23814== Lock acquired, processing the job...
[2025-01-07 08:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:55:03] Production.INFO: ==23816== Lock acquired, processing the job...
[2025-01-07 08:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:55:03] Production.INFO: ==23818== Lock acquired, processing the job...
[2025-01-07 08:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:55:03] Production.INFO: ==23821== Lock acquired, processing the job...
[2025-01-07 08:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:55:03] Production.INFO: ==23823== Lock acquired, processing the job...
[2025-01-07 08:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:55:03] Production.INFO: Account Balance Start.
[2025-01-07 08:55:03] Production.INFO: CreateAllLog Start
[2025-01-07 08:55:03] Production.INFO: 117
[2025-01-07 08:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:55:04] Production.INFO: Date 2024-12-08
[2025-01-07 08:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:55:04] Production.INFO: Date 2024-12-09
[2025-01-07 08:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:55:04] Production.INFO: Date 2024-12-10
[2025-01-07 08:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:55:04] Production.INFO: ==23814== Releasing lock...
[2025-01-07 08:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:55:04] Production.INFO: Date 2024-12-11
[2025-01-07 08:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:55:04] Production.INFO: Date 2024-12-12
[2025-01-07 08:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:55:04] Production.ERROR: done
[2025-01-07 08:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:55:04] Production.INFO: Date 2024-12-13
[2025-01-07 08:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:55:04] Production.INFO: Date 2024-12-14
[2025-01-07 08:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:55:04] Production.INFO: count ==21
[2025-01-07 08:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:55:04] Production.INFO: count ==21
[2025-01-07 08:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193813') start
[2025-01-07 08:55:04] Production.INFO: Date 2024-12-15
[2025-01-07 08:55:04] Production.ERROR: done
[2025-01-07 08:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:55:04] Production.INFO: Date 2024-12-16
[2025-01-07 08:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:55:04] Production.INFO: Date 2024-12-17
[2025-01-07 08:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193813') end
[2025-01-07 08:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:55:04] Production.INFO: 1
[2025-01-07 08:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:55:04] Production.INFO: ==23823== Releasing lock...
[2025-01-07 08:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:55:04] Production.INFO: Date 2024-12-18
[2025-01-07 08:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:55:04] Production.INFO: Date 2024-12-19
[2025-01-07 08:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:55:04] Production.INFO: Date 2024-12-20
[2025-01-07 08:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:55:04] Production.INFO: Date 2024-12-21
[2025-01-07 08:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:55:04] Production.INFO: Date 2024-12-22
[2025-01-07 08:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:55:04] Production.INFO: Date 2024-12-23
[2025-01-07 08:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:55:05] Production.INFO: Date 2024-12-24
[2025-01-07 08:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:55:05] Production.INFO: Date 2024-12-25
[2025-01-07 08:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:55:05] Production.INFO: Date 2024-12-26
[2025-01-07 08:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:55:05] Production.INFO: Date 2024-12-27
[2025-01-07 08:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:55:05
[end_date_ymd] => 2025-01-07 08:55:05
[RateCDR] => 1
)
[2025-01-07 08:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 05:55:05' and `end` < '2025-01-07 08:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 08:55:05] Production.INFO: Date 2024-12-28
[2025-01-07 08:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:55:05] Production.INFO: Date 2024-12-29
[2025-01-07 08:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:55:05] Production.INFO: Date 2024-12-30
[2025-01-07 08:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:55:05] Production.INFO: Date 2024-12-31
[2025-01-07 08:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:55:05] Production.INFO: Date 2025-01-01
[2025-01-07 08:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:55:05] Production.INFO: Date 2025-01-02
[2025-01-07 08:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:55:05] Production.INFO: Date 2025-01-03
[2025-01-07 08:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:55:05] Production.INFO: Date 2025-01-04
[2025-01-07 08:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:55:05] Production.INFO: Date 2025-01-05
[2025-01-07 08:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:55:05] Production.INFO: Date 2025-01-06
[2025-01-07 08:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:55:05] Production.INFO: Date 2025-01-07
[2025-01-07 08:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:55:05] Production.INFO: Total Charge 0
[2025-01-07 08:55:05] Production.INFO: CreateAllLog End
[2025-01-07 08:55:05] Production.INFO: Account Balance End.
[2025-01-07 08:55:05] Production.ERROR: CronJobId end 12
[2025-01-07 08:55:05] Production.INFO: ==23818== Releasing lock...
[2025-01-07 08:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:55:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:55:11] Production.ERROR: CronJobId end10
[2025-01-07 08:55:11] Production.INFO: ==23816== Releasing lock...
[2025-01-07 08:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:55:13] Production.INFO: call_cost start
[2025-01-07 08:55:13] Production.INFO: call_cost end
[2025-01-07 08:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:55:14] Production.INFO: ==23812== Releasing lock...
[2025-01-07 08:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:55:18] Production.INFO: count ==632
[2025-01-07 08:55:18] Production.ERROR: pbx CDR StartTime 2025-01-07 05:55:05 - End Time 2025-01-07 08:55:05
[2025-01-07 08:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193814', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193814', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193814', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193814', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:55:18] Production.INFO: ProcessCDR(1,14193814,1,1,2)
[2025-01-07 08:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193814,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193814,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193814,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193814,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193814', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193814', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:55:21] Production.INFO: ==23821== Releasing lock...
[2025-01-07 08:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:55:21] Production.INFO: 33.25 MB #Memory Used#
[2025-01-07 13:56:01] Production.INFO: ==23883== Lock acquired, processing the job...
[2025-01-07 13:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:56:01] Production.INFO: neon service started
[2025-01-07 13:56:01] Production.INFO: neon service started
[2025-01-07 13:56:01] Production.INFO: ==23883== Releasing lock...
[2025-01-07 13:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:56:02] Production.INFO: ==23885== Lock acquired, processing the job...
[2025-01-07 08:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 13:56:02] Production.INFO: ==23887== Lock acquired, processing the job...
[2025-01-07 13:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:56:02] Production.INFO: ==23887== Releasing lock...
[2025-01-07 13:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:56:02] Production.INFO: ==23885== Releasing lock...
[2025-01-07 08:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:56:03] Production.INFO: ==23890== Lock acquired, processing the job...
[2025-01-07 08:56:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10481 #Starts#
[2025-01-07 08:56:03] Production.INFO: ==23896== Lock acquired, processing the job...
[2025-01-07 08:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:56:03] Production.INFO: ==23892== Lock acquired, processing the job...
[2025-01-07 08:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:56:03] Production.INFO: -- Xero Api Check --
[2025-01-07 08:56:03] Production.INFO: ==23894== Lock acquired, processing the job...
[2025-01-07 08:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:56:03] Production.INFO: ==23898== Lock acquired, processing the job...
[2025-01-07 08:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:56:03] Production.INFO: ==23902== Lock acquired, processing the job...
[2025-01-07 08:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:56:03] Production.INFO: ==23900== Lock acquired, processing the job...
[2025-01-07 08:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:56:03] Production.INFO: Account Balance Start.
[2025-01-07 08:56:03] Production.INFO: CreateAllLog Start
[2025-01-07 08:56:03] Production.INFO: 117
[2025-01-07 08:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 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-07 08:56:03] Production.INFO: Date 2024-12-08
[2025-01-07 08:56:03] Production.INFO: count ==21
[2025-01-07 08:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 08:56:03] Production.INFO: count ==21
[2025-01-07 08:56:03] Production.INFO: ==23894== Releasing lock...
[2025-01-07 08:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193818') start
[2025-01-07 08:56:04] Production.INFO: Date 2024-12-09
[2025-01-07 08:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:56:04] Production.INFO: Date 2024-12-10
[2025-01-07 08:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:56:04] Production.INFO: Date 2024-12-11
[2025-01-07 08:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:56:04] Production.ERROR: done
[2025-01-07 08:56:04] Production.INFO: Date 2024-12-12
[2025-01-07 08:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:56:04] Production.INFO: Date 2024-12-13
[2025-01-07 08:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193818') end
[2025-01-07 08:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:56:04] Production.INFO: 1
[2025-01-07 08:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:56:04] Production.INFO: Date 2024-12-14
[2025-01-07 08:56:04] Production.INFO: ==23902== Releasing lock...
[2025-01-07 08:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:56:04] Production.ERROR: done
[2025-01-07 08:56:04] Production.INFO: Date 2024-12-15
[2025-01-07 08:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:56:04] Production.INFO: Date 2024-12-16
[2025-01-07 08:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:56:04] Production.INFO: Date 2024-12-17
[2025-01-07 08:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:56:04] Production.INFO: Date 2024-12-18
[2025-01-07 08:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:56:04] Production.INFO: Date 2024-12-19
[2025-01-07 08:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:56:04] Production.INFO: Date 2024-12-20
[2025-01-07 08:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:56:04] Production.INFO: Date 2024-12-21
[2025-01-07 08:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:56:04] Production.INFO: Date 2024-12-22
[2025-01-07 08:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:56:04] Production.INFO: Date 2024-12-23
[2025-01-07 08:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:56:04] Production.INFO: Date 2024-12-24
[2025-01-07 08:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:56:04] Production.INFO: Date 2024-12-25
[2025-01-07 08:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:56:04] Production.INFO: Date 2024-12-26
[2025-01-07 08:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:56:04] Production.INFO: Date 2024-12-27
[2025-01-07 08:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:56:04] Production.INFO: Date 2024-12-28
[2025-01-07 08:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:56:04] Production.INFO: Date 2024-12-29
[2025-01-07 08:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:56:04] Production.INFO: Date 2024-12-30
[2025-01-07 08:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:56:04] Production.INFO: Date 2024-12-31
[2025-01-07 08:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:56:04] Production.INFO: Date 2025-01-01
[2025-01-07 08:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:56: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] => 856
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 1.271512
[namelookup_time] => 0.544235
[connect_time] => 0.641399
[pretransfer_time] => 1.022449
[size_upload] => 82
[size_download] => 2755
[speed_download] => 2166
[speed_upload] => 64
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 1.271476
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 96.16.248.139
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 37974
)
[2025-01-07 08:56:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTgxNjQsImV4cCI6MTczNjI1ODQ2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjU4MTY0LCJhdF9oYXNoIjoia21abkVoanZXOU5DX1hpM1F0ZGk0dyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.qpzvjyrso5MfvIs4OcIbzwDCdg3POLUig_yxPNhY8VtDb_lX-qMTvMT9u8GjpVuNMRCS8la1Fv0gcX0cCs8-P0bpLAb4SoWSeZNwjRtZJHPdKVs4ixPGDnwAn7raJRHRFH7N-yGnwkhUFlCYJmVO8XAfW_BWI-tKDdCPhCjR_0h1dPg7YnuwR-U1fydog_PLuYd0tdB4RUIluJihmMzluBESu01J1H7IIo-gMQZKY2c0rmkyijxm4sGHe4HuyT68-3elmdE9f1n0HtHX4AhjFb_IPW1aCJ4Q7sJa-xv1wKUjP1FC5SiEt76PCgDNJwOVnaHxlyH2OuVB7iEn1ZXDnw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTgxNjQsImV4cCI6MTczNjI1OTk2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.D4DtSyAs6nTqXNRoPo19qZZVaFx2EsR1EdkbrTHLT-rOOaopF_6INSohmFUS2UBBOQiB5932hu1cpZXjC907erBcZpsi8SIADjZYKsMqkxhsgRAe13uKYeokeS8u2iLojt50HIQrqSjoPp_P8GWBq3m6WiNC8zXwUNaCGADt17jW6BvFpqPkkgjy7CQaRkUoz4GYMZELGmmhyrX4sHpASsBTwZlgGfp_VYhK7yVQE0ldSXtO-cxMmAxwgch2tlmytWAH-QWNarVLN_5tmxhZcOaofVuR3keWIom2zjWkWca4q54EPKSoVgjkvLrU9hFbTtzlvJin7d1welfdKUR9kA
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => l8ghTsKRB87GuXUEaasujvcyczuwJtUzHXPZkDUcuMI
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 08:56:04] Production.INFO: Date 2025-01-02
[2025-01-07 08:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:56:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTgxNjQsImV4cCI6MTczNjI1ODQ2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjU4MTY0LCJhdF9oYXNoIjoia21abkVoanZXOU5DX1hpM1F0ZGk0dyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.qpzvjyrso5MfvIs4OcIbzwDCdg3POLUig_yxPNhY8VtDb_lX-qMTvMT9u8GjpVuNMRCS8la1Fv0gcX0cCs8-P0bpLAb4SoWSeZNwjRtZJHPdKVs4ixPGDnwAn7raJRHRFH7N-yGnwkhUFlCYJmVO8XAfW_BWI-tKDdCPhCjR_0h1dPg7YnuwR-U1fydog_PLuYd0tdB4RUIluJihmMzluBESu01J1H7IIo-gMQZKY2c0rmkyijxm4sGHe4HuyT68-3elmdE9f1n0HtHX4AhjFb_IPW1aCJ4Q7sJa-xv1wKUjP1FC5SiEt76PCgDNJwOVnaHxlyH2OuVB7iEn1ZXDnw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTgxNjQsImV4cCI6MTczNjI1OTk2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.D4DtSyAs6nTqXNRoPo19qZZVaFx2EsR1EdkbrTHLT-rOOaopF_6INSohmFUS2UBBOQiB5932hu1cpZXjC907erBcZpsi8SIADjZYKsMqkxhsgRAe13uKYeokeS8u2iLojt50HIQrqSjoPp_P8GWBq3m6WiNC8zXwUNaCGADt17jW6BvFpqPkkgjy7CQaRkUoz4GYMZELGmmhyrX4sHpASsBTwZlgGfp_VYhK7yVQE0ldSXtO-cxMmAxwgch2tlmytWAH-QWNarVLN_5tmxhZcOaofVuR3keWIom2zjWkWca4q54EPKSoVgjkvLrU9hFbTtzlvJin7d1welfdKUR9kA
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => l8ghTsKRB87GuXUEaasujvcyczuwJtUzHXPZkDUcuMI
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 08:56:04] Production.INFO: AccountID 93
[2025-01-07 08:56:04] Production.INFO: Date 2025-01-03
[2025-01-07 08:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:56:04] Production.INFO: AccountName Personas
[2025-01-07 08:56:04] Production.INFO: Checkcustomer
[2025-01-07 08:56:04] Production.INFO: Date 2025-01-04
[2025-01-07 08:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:56:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Personas"
[2025-01-07 08:56:04] Production.INFO: Date 2025-01-05
[2025-01-07 08:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:56:04] Production.INFO: Date 2025-01-06
[2025-01-07 08:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:56:05] Production.INFO: Date 2025-01-07
[2025-01-07 08:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:56:05] Production.INFO: Total Charge 0
[2025-01-07 08:56:05] Production.INFO: CreateAllLog End
[2025-01-07 08:56:05] Production.INFO: Account Balance End.
[2025-01-07 08:56:05] Production.ERROR: CronJobId end 12
[2025-01-07 08:56:05] Production.INFO: ==23898== Releasing lock...
[2025-01-07 08:56:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:56:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:56:05
[end_date_ymd] => 2025-01-07 08:56:05
[RateCDR] => 1
)
[2025-01-07 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-07 05:56:05' and `end` < '2025-01-07 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-07 08:56:08] Production.INFO: Contact id print CheckCustomer Case===31472f57-4acd-4468-9ab0-8ed346b2d96f
[2025-01-07 08:56:08] Production.INFO: -- count --1
[2025-01-07 08:56:08] Production.INFO: -- Xero Add Inovice --
[2025-01-07 08:56:08] Production.INFO: CheckInvoice xerov2: INV11076
[2025-01-07 08:56:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11076
[2025-01-07 08:56:10] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 08:56:10] Production.INFO: Invoice SubTotal 57.000000
[2025-01-07 08:56:10] Production.INFO: Invoice DetTotal 57
[2025-01-07 08:56:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Personas"
[2025-01-07 08:56:11] Production.ERROR: CronJobId end10
[2025-01-07 08:56:11] Production.INFO: ==23896== Releasing lock...
[2025-01-07 08:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:56:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:56:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:56:13] Production.INFO: call_cost start
[2025-01-07 08:56:13] Production.INFO: call_cost end
[2025-01-07 08:56:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 08:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:56:14] Production.INFO: ==23892== Releasing lock...
[2025-01-07 08:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:56:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 08:56:18] Production.INFO: count ==636
[2025-01-07 08:56:18] Production.ERROR: pbx CDR StartTime 2025-01-07 05:56:05 - End Time 2025-01-07 08:56:05
[2025-01-07 08:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193819', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193819', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193819', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193819', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:56:18] Production.INFO: ProcessCDR(1,14193819,1,1,2)
[2025-01-07 08:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193819,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193819,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193819,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:56:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 08:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193819,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193819', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193819', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:56:21] Production.INFO: ==23900== Releasing lock...
[2025-01-07 08:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:56:21] Production.INFO: 33.75 MB #Memory Used#
[2025-01-07 08:56:22] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 7,UnitAmount : 7.500000,LineAmount : 52.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (16472642233 - 55 University Ave 302 Toronto, ON M5H 3B7 Canada)",Quantity : 1,UnitAmount : 2.750000,LineAmount : 2.750000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18883119273)",Quantity : 1,UnitAmount : 1.750000,LineAmount : 1.750000}
[2025-01-07 08:56:24] Production.INFO: ==== result =====
[2025-01-07 08:56:24] Production.INFO: {
"Id": "a0255342-f1a6-4cd6-941b-9b32193d2614",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736258184966)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "a4365ba6-4eea-4588-9c60-802baf24df9a",
"InvoiceNumber": "INV11076",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 64.42,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "31472f57-4acd-4468-9ab0-8ed346b2d96f",
"ContactStatus": "ACTIVE",
"Name": "Personas",
"FirstName": "David",
"LastName": "Kerry",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1655926156083+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-11-17T00:00:00",
"Date": "\/Date(1731801600000+0000)\/",
"DueDateString": "2024-12-17T00:00:00",
"DueDate": "\/Date(1734393600000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "License for a Pay As You Go Cloud Phone extension",
"UnitAmount": 7.50,
"TaxType": "TAX020",
"TaxAmount": 6.83,
"LineAmount": 52.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 7.0000,
"DiscountRate": 0.00,
"LineItemID": "74ff569d-32d2-4277-af98-db7d28a10593",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (16472642233 - 55 University Ave 302 Toronto, ON M5H 3B7 Canada)",
"UnitAmount": 2.75,
"TaxType": "TAX020",
"TaxAmount": 0.36,
"LineAmount": 2.75,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "6744e10e-8fe7-4079-ac5f-91a5b63f5a9d",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (18883119273)",
"UnitAmount": 1.75,
"TaxType": "TAX020",
"TaxAmount": 0.23,
"LineAmount": 1.75,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "72744cae-811c-4635-9388-d2d3035e8f7e",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 57.00,
"TotalTax": 7.42,
"Total": 64.42,
"UpdatedDateUTC": "\/Date(1736258184903+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 08:56:24] Production.INFO: -- Create Invoice id --a4365ba6-4eea-4588-9c60-802baf24df9a
[2025-01-07 08:56:24] Production.INFO: -- Create Invoice Done --
[2025-01-07 08:56:25] Production.INFO: -- Xero End Inovice --
[2025-01-07 08:56:25] Production.INFO: ==23890== Releasing lock...
[2025-01-07 08:56:25] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10481 #Stops#
[2025-01-07 08:56:25] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 13:57:01] Production.INFO: ==23964== Lock acquired, processing the job...
[2025-01-07 13:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:57:02] Production.INFO: neon service started
[2025-01-07 13:57:02] Production.INFO: neon service started
[2025-01-07 13:57:02] Production.INFO: ==23964== Releasing lock...
[2025-01-07 13:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 13:57:02] Production.INFO: ==23968== Lock acquired, processing the job...
[2025-01-07 13:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:57:02] Production.INFO: ==23968== Releasing lock...
[2025-01-07 13:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:57:02] Production.INFO: ==23966== Lock acquired, processing the job...
[2025-01-07 08:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 08:57:02] Production.INFO: ==23966== Releasing lock...
[2025-01-07 08:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:57:03] Production.INFO: ==23971== Lock acquired, processing the job...
[2025-01-07 08:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:57:03] Production.INFO: ==23973== Lock acquired, processing the job...
[2025-01-07 08:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:57:03] Production.INFO: ==23977== Lock acquired, processing the job...
[2025-01-07 08:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:57:03] Production.INFO: ==23975== Lock acquired, processing the job...
[2025-01-07 08:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:57:03] Production.INFO: Account Balance Start.
[2025-01-07 08:57:03] Production.INFO: CreateAllLog Start
[2025-01-07 08:57:03] Production.INFO: 117
[2025-01-07 08:57:03] Production.INFO: Date 2024-12-08
[2025-01-07 08:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:57:03] Production.INFO: ==23973== Releasing lock...
[2025-01-07 08:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:57:03] Production.INFO: ==23979== Lock acquired, processing the job...
[2025-01-07 08:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:57:03] Production.INFO: Date 2024-12-09
[2025-01-07 08:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:57:03] Production.INFO: Date 2024-12-10
[2025-01-07 08:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:57:03] Production.INFO: ==23981== Lock acquired, processing the job...
[2025-01-07 08:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:57:03] Production.INFO: Date 2024-12-11
[2025-01-07 08:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:57:04] Production.INFO: Date 2024-12-12
[2025-01-07 08:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:57:04] Production.INFO: count ==21
[2025-01-07 08:57:04] Production.INFO: Date 2024-12-13
[2025-01-07 08:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:57:04] Production.INFO: count ==21
[2025-01-07 08:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193823') start
[2025-01-07 08:57:04] Production.ERROR: done
[2025-01-07 08:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:57:04] Production.INFO: Date 2024-12-14
[2025-01-07 08:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193823') end
[2025-01-07 08:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:57:04] Production.INFO: 1
[2025-01-07 08:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:57:04] Production.INFO: ==23981== Releasing lock...
[2025-01-07 08:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:57:04] Production.INFO: Date 2024-12-15
[2025-01-07 08:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:57:04] Production.ERROR: done
[2025-01-07 08:57:04] Production.INFO: Date 2024-12-16
[2025-01-07 08:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:57:04] Production.INFO: Date 2024-12-17
[2025-01-07 08:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:57:04] Production.INFO: Date 2024-12-18
[2025-01-07 08:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:57:04] Production.INFO: Date 2024-12-19
[2025-01-07 08:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:57:04] Production.INFO: Date 2024-12-20
[2025-01-07 08:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:57:04] Production.INFO: Date 2024-12-21
[2025-01-07 08:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:57:04] Production.INFO: Date 2024-12-22
[2025-01-07 08:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:57:04] Production.INFO: Date 2024-12-23
[2025-01-07 08:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:57:04] Production.INFO: Date 2024-12-24
[2025-01-07 08:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:57:04] Production.INFO: Date 2024-12-25
[2025-01-07 08:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:57:05] Production.INFO: Date 2024-12-26
[2025-01-07 08:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:57:05] Production.INFO: Date 2024-12-27
[2025-01-07 08:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:57:05] Production.INFO: Date 2024-12-28
[2025-01-07 08:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:57:05] Production.INFO: Date 2024-12-29
[2025-01-07 08:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:57:05] Production.INFO: Date 2024-12-30
[2025-01-07 08:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:57:05] Production.INFO: Date 2024-12-31
[2025-01-07 08:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:57:05] Production.INFO: Date 2025-01-01
[2025-01-07 08:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:57:05] Production.INFO: Date 2025-01-02
[2025-01-07 08:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:57:05
[end_date_ymd] => 2025-01-07 08:57:05
[RateCDR] => 1
)
[2025-01-07 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-07 05:57:05' and `end` < '2025-01-07 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-07 08:57:05] Production.INFO: Date 2025-01-03
[2025-01-07 08:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:57:05] Production.INFO: Date 2025-01-04
[2025-01-07 08:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:57:05] Production.INFO: Date 2025-01-05
[2025-01-07 08:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:57:05] Production.INFO: Date 2025-01-06
[2025-01-07 08:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:57:05] Production.INFO: Date 2025-01-07
[2025-01-07 08:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 08:57:05] Production.INFO: Total Charge 0
[2025-01-07 08:57:05] Production.INFO: CreateAllLog End
[2025-01-07 08:57:05] Production.INFO: Account Balance End.
[2025-01-07 08:57:05] Production.ERROR: CronJobId end 12
[2025-01-07 08:57:05] Production.INFO: ==23977== Releasing lock...
[2025-01-07 08:57:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:57:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:57:09] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,8))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-01-07 08:57:09] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:57:09] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:57:09] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:57:09] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:57:09] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:57:09] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:57:09] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:57:09] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:57:09] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:57:09] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:57:09] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:57:09] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:57:09] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:57:09] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:57:10] Production.INFO: call_cost start
[2025-01-07 08:57:10] Production.INFO: call_cost end
[2025-01-07 08:57:10] Production.ERROR: CronJobId end10
[2025-01-07 08:57:10] Production.INFO: ==23975== Releasing lock...
[2025-01-07 08:57:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:57:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:57:11] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:57:11] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:57:11] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:57:11] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:57:11] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:57:11] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:57:11] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:57:11] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:57:11] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:57:11] Production.INFO: ==23971== Releasing lock...
[2025-01-07 08:57:11] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:57:11] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:57:18] Production.INFO: count ==641
[2025-01-07 08:57:18] Production.ERROR: pbx CDR StartTime 2025-01-07 05:57:05 - End Time 2025-01-07 08:57:05
[2025-01-07 08:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193824', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193824', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193824', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193824', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:57:18] Production.INFO: ProcessCDR(1,14193824,1,1,2)
[2025-01-07 08:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193824,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193824,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193824,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:57:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193824,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193824', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193824', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:57:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:57:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:57:23] Production.INFO: ==23979== Releasing lock...
[2025-01-07 08:57:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:57:23] Production.INFO: 33.5 MB #Memory Used#
[2025-01-07 13:58:01] Production.INFO: ==24075== Lock acquired, processing the job...
[2025-01-07 13:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:58:01] Production.INFO: neon service started
[2025-01-07 13:58:01] Production.INFO: neon service started
[2025-01-07 13:58:01] Production.INFO: ==24075== Releasing lock...
[2025-01-07 13:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:58:02] Production.INFO: ==24077== Lock acquired, processing the job...
[2025-01-07 08:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 13:58:02] Production.INFO: ==24079== Lock acquired, processing the job...
[2025-01-07 13:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:58:02] Production.INFO: ==24079== Releasing lock...
[2025-01-07 13:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:58:02] Production.INFO: ==24077== Releasing lock...
[2025-01-07 08:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:58:03] Production.INFO: ==24090== Lock acquired, processing the job...
[2025-01-07 08:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:58:03] Production.INFO: ==24088== Lock acquired, processing the job...
[2025-01-07 08:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:58:03] Production.INFO: ==24082== Lock acquired, processing the job...
[2025-01-07 08:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:58:03] Production.INFO: ==24084== Lock acquired, processing the job...
[2025-01-07 08:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:58:03] Production.INFO: ==24086== Lock acquired, processing the job...
[2025-01-07 08:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:58:03] Production.INFO: Account Balance Start.
[2025-01-07 08:58:03] Production.INFO: CreateAllLog Start
[2025-01-07 08:58:03] Production.INFO: 117
[2025-01-07 08:58:03] Production.INFO: ==24092== Lock acquired, processing the job...
[2025-01-07 08:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:58:03] Production.INFO: Date 2024-12-08
[2025-01-07 08:58:03] Production.ERROR: done
[2025-01-07 08:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:58:03] Production.ERROR: done
[2025-01-07 08:58:03] Production.INFO: Date 2024-12-09
[2025-01-07 08:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:58:03] Production.INFO: count ==21
[2025-01-07 08:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:58:03] Production.INFO: count ==21
[2025-01-07 08:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193828') start
[2025-01-07 08:58:03] Production.INFO: ==24084== Releasing lock...
[2025-01-07 08:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:58:03] Production.INFO: Date 2024-12-10
[2025-01-07 08:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193828') end
[2025-01-07 08:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:58:03] Production.INFO: 1
[2025-01-07 08:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:58:03] Production.INFO: Date 2024-12-11
[2025-01-07 08:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:58:03] Production.INFO: Date 2024-12-12
[2025-01-07 08:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:58:03] Production.INFO: ==24092== Releasing lock...
[2025-01-07 08:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:58:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:58:04] Production.INFO: Date 2024-12-13
[2025-01-07 08:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:58:04] Production.INFO: Date 2024-12-14
[2025-01-07 08:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:58:04] Production.INFO: Date 2024-12-15
[2025-01-07 08:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:58:04] Production.INFO: Date 2024-12-16
[2025-01-07 08:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:58:04] Production.INFO: Date 2024-12-17
[2025-01-07 08:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:58:04] Production.INFO: Date 2024-12-18
[2025-01-07 08:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:58:04] Production.INFO: Date 2024-12-19
[2025-01-07 08:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:58:04] Production.INFO: Date 2024-12-20
[2025-01-07 08:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:58:04] Production.INFO: Date 2024-12-21
[2025-01-07 08:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:58:04] Production.INFO: Date 2024-12-22
[2025-01-07 08:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:58:04] Production.INFO: Date 2024-12-23
[2025-01-07 08:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:58:04] Production.INFO: Date 2024-12-24
[2025-01-07 08:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:58:04] Production.INFO: Date 2024-12-25
[2025-01-07 08:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:58:04] Production.INFO: Date 2024-12-26
[2025-01-07 08:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:58:04] Production.INFO: Date 2024-12-27
[2025-01-07 08:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:58:04] Production.INFO: Date 2024-12-28
[2025-01-07 08:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:58:04] Production.INFO: Date 2024-12-29
[2025-01-07 08:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:58:04] Production.INFO: Date 2024-12-30
[2025-01-07 08:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:58:04] Production.INFO: Date 2024-12-31
[2025-01-07 08:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:58:04] Production.INFO: Date 2025-01-01
[2025-01-07 08:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:58:04] Production.INFO: Date 2025-01-02
[2025-01-07 08:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:58:04] Production.INFO: Date 2025-01-03
[2025-01-07 08:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:58:04] Production.INFO: Date 2025-01-04
[2025-01-07 08:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:58:04] Production.INFO: Date 2025-01-05
[2025-01-07 08:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:58:04] Production.INFO: Date 2025-01-06
[2025-01-07 08:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:58:04] Production.INFO: Date 2025-01-07
[2025-01-07 08:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:58:04] Production.INFO: Total Charge 0
[2025-01-07 08:58:04] Production.INFO: CreateAllLog End
[2025-01-07 08:58:04] Production.INFO: Account Balance End.
[2025-01-07 08:58:04] Production.ERROR: CronJobId end 12
[2025-01-07 08:58:04] Production.INFO: ==24088== Releasing lock...
[2025-01-07 08:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:58:05
[end_date_ymd] => 2025-01-07 08:58:05
[RateCDR] => 1
)
[2025-01-07 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-07 05:58:05' and `end` < '2025-01-07 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-07 08:58:10] Production.ERROR: CronJobId end10
[2025-01-07 08:58:10] Production.INFO: ==24086== Releasing lock...
[2025-01-07 08:58:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:58:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:58:13] Production.INFO: call_cost start
[2025-01-07 08:58:13] Production.INFO: call_cost end
[2025-01-07 08:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:58:14] Production.INFO: ==24082== Releasing lock...
[2025-01-07 08:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:58:17] Production.INFO: count ==642
[2025-01-07 08:58:18] Production.ERROR: pbx CDR StartTime 2025-01-07 05:58:05 - End Time 2025-01-07 08:58:05
[2025-01-07 08:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193829', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193829', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193829', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193829', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:58:18] Production.INFO: ProcessCDR(1,14193829,1,1,2)
[2025-01-07 08:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193829,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193829,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193829,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193829,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193829', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193829', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:58:21] Production.INFO: ==24090== Releasing lock...
[2025-01-07 08:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:58:21] Production.INFO: 33.25 MB #Memory Used#
[2025-01-07 13:59:01] Production.INFO: ==24145== Lock acquired, processing the job...
[2025-01-07 13:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 13:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 13:59:01] Production.INFO: neon service started
[2025-01-07 13:59:01] Production.INFO: neon service started
[2025-01-07 13:59:01] Production.INFO: ==24145== Releasing lock...
[2025-01-07 13:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 13:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 08:59:02] Production.INFO: ==24147== Lock acquired, processing the job...
[2025-01-07 08:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 13:59:02] Production.INFO: ==24149== Lock acquired, processing the job...
[2025-01-07 13:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 13:59:02] Production.INFO: ==24149== Releasing lock...
[2025-01-07 13:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 13:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 08:59:02] Production.INFO: ==24147== Releasing lock...
[2025-01-07 08:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 08:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 08:59:03] Production.INFO: ==24152== Lock acquired, processing the job...
[2025-01-07 08:59:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10482 #Starts#
[2025-01-07 08:59:03] Production.INFO: -- Xero Api Check --
[2025-01-07 08:59:03] Production.INFO: ==24158== Lock acquired, processing the job...
[2025-01-07 08:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 08:59:03] Production.INFO: ==24154== Lock acquired, processing the job...
[2025-01-07 08:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 08:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 08:59:03] Production.INFO: ==24156== Lock acquired, processing the job...
[2025-01-07 08:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 08:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 08:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 08:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 08:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 08:59:03] Production.INFO: ==24160== Lock acquired, processing the job...
[2025-01-07 08:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 08:59:03] Production.INFO: ==24162== Lock acquired, processing the job...
[2025-01-07 08:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 08:59:03] Production.INFO: Account Balance Start.
[2025-01-07 08:59:03] Production.INFO: CreateAllLog Start
[2025-01-07 08:59:03] Production.INFO: 117
[2025-01-07 08:59:03] Production.INFO: Date 2024-12-08
[2025-01-07 08:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 08:59:03] Production.INFO: Date 2024-12-09
[2025-01-07 08:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:59:03] Production.INFO: ==24164== Lock acquired, processing the job...
[2025-01-07 08:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 08:59:03] Production.INFO: Date 2024-12-10
[2025-01-07 08:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:59:03] Production.INFO: Date 2024-12-11
[2025-01-07 08:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:59:03] Production.INFO: Date 2024-12-12
[2025-01-07 08:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:59:03] Production.INFO: Date 2024-12-13
[2025-01-07 08:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 08:59:03] Production.INFO: Date 2024-12-14
[2025-01-07 08:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 08:59:03] Production.INFO: count ==21
[2025-01-07 08:59:03] Production.INFO: Date 2024-12-15
[2025-01-07 08:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 08:59:04] Production.INFO: count ==21
[2025-01-07 08:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:59:04] Production.ERROR: done
[2025-01-07 08:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 08:59:04] Production.INFO: ==24156== Releasing lock...
[2025-01-07 08:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 08:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 08:59:04] Production.INFO: Date 2024-12-16
[2025-01-07 08:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193833') start
[2025-01-07 08:59:04] Production.INFO: Date 2024-12-17
[2025-01-07 08:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:59:04] Production.INFO: Date 2024-12-18
[2025-01-07 08:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:59:04] Production.INFO: Date 2024-12-19
[2025-01-07 08:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:59: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] => 857
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.850857
[namelookup_time] => 0.272418
[connect_time] => 0.28277
[pretransfer_time] => 0.566706
[size_upload] => 82
[size_download] => 2755
[speed_download] => 3237
[speed_upload] => 96
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.850822
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.17
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 45194
)
[2025-01-07 08:59:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTgzNDQsImV4cCI6MTczNjI1ODY0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjU4MzQ0LCJhdF9oYXNoIjoiVzFNMEttM1JoaEN4NWpXVDVMQ2h2USIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.LrpPByxuLsLd6W9Qj_ipDXATlLvkjTgJ6zwTA4uPeKkDpoPbJ2kOIMmcJ_eqhGsXuKQW5d_VlM6LoP7WVZVSicGMHEFBdxAKplBSSyjgwRxlweeNU9T3jtVRPQTSyfcWebcUerQb5GGC-ddP7xbmM2rlzBDhcLBSdnzOPVcYY-i45YrWzcGm-hidn0KYLZajEPGLnj7evwQUpy6JD6NjHofUkD_NSiWQDQUuSKwgx45wb-xFp1RS8j_Hsaf0y_7i8aeJCKieJ8OyrfgrVAQrLn6dbH01PnPgi16nYo4sK844kFMjYO6YpifvT4cdt_r81NpUoi02rqrX2pSilI8dJg
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTgzNDQsImV4cCI6MTczNjI2MDE0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.SsvfAabmlw6aDizxcqKiQUsCotWteZfhP5097Mms1yZZhmjDAXGXUR41-JoJ89XCxJVODuwFzWdyoKY09zcbKDqcvE1bpVV4k_VHGIyZ6q8LJL4lcra3nQaP1dwSO1P2-HbM33uVVoTTRhMOQkBSVpA_vu_VPn3N9y0LHnikciQoagQe2vMp142AdRa_3nLzNVR2GIg4ywB2LxDLRI77osOau4calshMX0ZemElckVn7wdU3ocqbesoMJjQ7Kymh0woemXrQ75wtRB2Vc25DpNZ9ygUx8MlXLvN29kgsoT4-xZUd3BH73G7WGy8Y8akCwF6SgyUKivMF9Hlvca2Z8A
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => EDa6CiOnLswuXVXVs2iDtkwCf67vHnSkapLD8qht-1A
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 08:59:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTgzNDQsImV4cCI6MTczNjI1ODY0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjU4MzQ0LCJhdF9oYXNoIjoiVzFNMEttM1JoaEN4NWpXVDVMQ2h2USIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.LrpPByxuLsLd6W9Qj_ipDXATlLvkjTgJ6zwTA4uPeKkDpoPbJ2kOIMmcJ_eqhGsXuKQW5d_VlM6LoP7WVZVSicGMHEFBdxAKplBSSyjgwRxlweeNU9T3jtVRPQTSyfcWebcUerQb5GGC-ddP7xbmM2rlzBDhcLBSdnzOPVcYY-i45YrWzcGm-hidn0KYLZajEPGLnj7evwQUpy6JD6NjHofUkD_NSiWQDQUuSKwgx45wb-xFp1RS8j_Hsaf0y_7i8aeJCKieJ8OyrfgrVAQrLn6dbH01PnPgi16nYo4sK844kFMjYO6YpifvT4cdt_r81NpUoi02rqrX2pSilI8dJg
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTgzNDQsImV4cCI6MTczNjI2MDE0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.SsvfAabmlw6aDizxcqKiQUsCotWteZfhP5097Mms1yZZhmjDAXGXUR41-JoJ89XCxJVODuwFzWdyoKY09zcbKDqcvE1bpVV4k_VHGIyZ6q8LJL4lcra3nQaP1dwSO1P2-HbM33uVVoTTRhMOQkBSVpA_vu_VPn3N9y0LHnikciQoagQe2vMp142AdRa_3nLzNVR2GIg4ywB2LxDLRI77osOau4calshMX0ZemElckVn7wdU3ocqbesoMJjQ7Kymh0woemXrQ75wtRB2Vc25DpNZ9ygUx8MlXLvN29kgsoT4-xZUd3BH73G7WGy8Y8akCwF6SgyUKivMF9Hlvca2Z8A
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => EDa6CiOnLswuXVXVs2iDtkwCf67vHnSkapLD8qht-1A
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 08:59:04] Production.INFO: Date 2024-12-20
[2025-01-07 08:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:59:04] Production.INFO: AccountID 93
[2025-01-07 08:59:04] Production.INFO: AccountName Personas
[2025-01-07 08:59:04] Production.INFO: Checkcustomer
[2025-01-07 08:59:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Personas"
[2025-01-07 08:59:04] Production.INFO: Date 2024-12-21
[2025-01-07 08:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:59:04] Production.ERROR: done
[2025-01-07 08:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193833') end
[2025-01-07 08:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 08:59:04] Production.INFO: 1
[2025-01-07 08:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 08:59:04] Production.INFO: Date 2024-12-22
[2025-01-07 08:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:59:04] Production.INFO: Date 2024-12-23
[2025-01-07 08:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:59:04] Production.INFO: Date 2024-12-24
[2025-01-07 08:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:59:04] Production.INFO: ==24164== Releasing lock...
[2025-01-07 08:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 08:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 08:59:04] Production.INFO: Date 2024-12-25
[2025-01-07 08:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:59:04] Production.INFO: Date 2024-12-26
[2025-01-07 08:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:59:04] Production.INFO: Date 2024-12-27
[2025-01-07 08:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:59:04] Production.INFO: Date 2024-12-28
[2025-01-07 08:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:59:04] Production.INFO: Date 2024-12-29
[2025-01-07 08:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:59:04] Production.INFO: Date 2024-12-30
[2025-01-07 08:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:59:04] Production.INFO: Date 2024-12-31
[2025-01-07 08:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:59:04] Production.INFO: Date 2025-01-01
[2025-01-07 08:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:59:04] Production.INFO: Date 2025-01-02
[2025-01-07 08:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:59:04] Production.INFO: Date 2025-01-03
[2025-01-07 08:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:59:04] Production.INFO: Date 2025-01-04
[2025-01-07 08:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:59:04] Production.INFO: Date 2025-01-05
[2025-01-07 08:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:59:04] Production.INFO: Date 2025-01-06
[2025-01-07 08:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:59:04] Production.INFO: Date 2025-01-07
[2025-01-07 08:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 08:59:05] Production.INFO: Total Charge 0
[2025-01-07 08:59:05] Production.INFO: CreateAllLog End
[2025-01-07 08:59:05] Production.INFO: Account Balance End.
[2025-01-07 08:59:05] Production.ERROR: CronJobId end 12
[2025-01-07 08:59:05] Production.INFO: ==24160== Releasing lock...
[2025-01-07 08:59:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 08:59:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 08:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 05:59:05
[end_date_ymd] => 2025-01-07 08:59:05
[RateCDR] => 1
)
[2025-01-07 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-07 05:59:05' and `end` < '2025-01-07 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-07 08:59:06] Production.INFO: Contact id print CheckCustomer Case===31472f57-4acd-4468-9ab0-8ed346b2d96f
[2025-01-07 08:59:06] Production.INFO: -- count --1
[2025-01-07 08:59:06] Production.INFO: -- Xero Add Inovice --
[2025-01-07 08:59:06] Production.INFO: CheckInvoice xerov2: INV10912
[2025-01-07 08:59:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10912
[2025-01-07 08:59:09] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 08:59:09] Production.INFO: Invoice SubTotal 57.000000
[2025-01-07 08:59:09] Production.INFO: Invoice DetTotal 57
[2025-01-07 08:59:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Personas"
[2025-01-07 08:59:10] Production.ERROR: CronJobId end10
[2025-01-07 08:59:10] Production.INFO: ==24158== Releasing lock...
[2025-01-07 08:59:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 08:59:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 08:59:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 08:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 08:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 08:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 08:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 08:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 08:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 08:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 08:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 08:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 08:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 08:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 08:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 08:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 08:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 08:59:13] Production.INFO: call_cost start
[2025-01-07 08:59:13] Production.INFO: call_cost end
[2025-01-07 08:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 08:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 08:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 08:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 08:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 08:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 08:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 08:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 08:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 08:59:14] Production.INFO: ==24154== Releasing lock...
[2025-01-07 08:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 08:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 08:59:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 08:59:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 08:59:18] Production.INFO: count ==642
[2025-01-07 08:59:18] Production.ERROR: pbx CDR StartTime 2025-01-07 05:59:05 - End Time 2025-01-07 08:59:05
[2025-01-07 08:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 08:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193834', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193834', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193834', 'tblTempVendorCDR_20' ) start
[2025-01-07 08:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193834', 'tblTempVendorCDR_20' ) end
[2025-01-07 08:59:18] Production.INFO: ProcessCDR(1,14193834,1,1,2)
[2025-01-07 08:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193834,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:59:19] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 7,UnitAmount : 7.500000,LineAmount : 52.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (16472642233 - 55 University Ave 302 Toronto, ON M5H 3B7 Canada)",Quantity : 1,UnitAmount : 2.750000,LineAmount : 2.750000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18883119273)",Quantity : 1,UnitAmount : 1.750000,LineAmount : 1.750000}
[2025-01-07 08:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193834,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 08:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193834,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193834,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 08:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193834', 'tblTempUsageDetail_20' ) start
[2025-01-07 08:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193834', 'tblTempUsageDetail_20' ) end
[2025-01-07 08:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 08:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 08:59:21] Production.INFO: ==24162== Releasing lock...
[2025-01-07 08:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 08:59:21] Production.INFO: 33.25 MB #Memory Used#
[2025-01-07 08:59:22] Production.INFO: ==== result =====
[2025-01-07 08:59:22] Production.INFO: {
"Id": "c1a4b02f-eb55-40be-85e4-9aab8937627e",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736258362051)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "6c03cbe8-d817-4b81-927e-642f4bc8d11c",
"InvoiceNumber": "INV10912",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 64.42,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "31472f57-4acd-4468-9ab0-8ed346b2d96f",
"ContactStatus": "ACTIVE",
"Name": "Personas",
"FirstName": "David",
"LastName": "Kerry",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1655926156083+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-10-17T00:00:00",
"Date": "\/Date(1729123200000+0000)\/",
"DueDateString": "2024-11-16T00:00:00",
"DueDate": "\/Date(1731715200000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "License for a Pay As You Go Cloud Phone extension",
"UnitAmount": 7.50,
"TaxType": "TAX020",
"TaxAmount": 6.83,
"LineAmount": 52.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 7.0000,
"DiscountRate": 0.00,
"LineItemID": "53b82faf-db92-415e-93fa-817e19919439",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (16472642233 - 55 University Ave 302 Toronto, ON M5H 3B7 Canada)",
"UnitAmount": 2.75,
"TaxType": "TAX020",
"TaxAmount": 0.36,
"LineAmount": 2.75,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "f0d5d863-bb1b-4eaa-ae13-59d2e0030fb4",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (18883119273)",
"UnitAmount": 1.75,
"TaxType": "TAX020",
"TaxAmount": 0.23,
"LineAmount": 1.75,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "1a135411-1599-43c5-a7ff-774a44eb7eeb",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 57.00,
"TotalTax": 7.42,
"Total": 64.42,
"UpdatedDateUTC": "\/Date(1736258361973+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 08:59:22] Production.INFO: -- Create Invoice id --6c03cbe8-d817-4b81-927e-642f4bc8d11c
[2025-01-07 08:59:22] Production.INFO: -- Create Invoice Done --
[2025-01-07 08:59:22] Production.INFO: -- Xero End Inovice --
[2025-01-07 08:59:22] Production.INFO: ==24152== Releasing lock...
[2025-01-07 08:59:22] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10482 #Stops#
[2025-01-07 08:59:22] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 14:00:02] Production.INFO: ==24230== Lock acquired, processing the job...
[2025-01-07 14:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:00:02] Production.INFO: neon service started
[2025-01-07 14:00:02] Production.INFO: neon service started
[2025-01-07 14:00:02] Production.INFO: ==24230== Releasing lock...
[2025-01-07 14:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:00:02] Production.INFO: ==24232== Lock acquired, processing the job...
[2025-01-07 09:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 14:00:02] Production.INFO: ==24234== Lock acquired, processing the job...
[2025-01-07 14:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:00:02] Production.INFO: ==24234== Releasing lock...
[2025-01-07 14:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:00:03] Production.INFO: ==24232== Releasing lock...
[2025-01-07 09:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:00:04] Production.INFO: ==24241== Lock acquired, processing the job...
[2025-01-07 09:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:00:04] Production.INFO: ==24239== Lock acquired, processing the job...
[2025-01-07 09:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:00:04] Production.INFO: ==24237== Lock acquired, processing the job...
[2025-01-07 09:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 09:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 09:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 09:00:04] Production.ERROR: CronJob PID - 24239
[2025-01-07 09:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-07 09:00:04] Production.ERROR: CronJob ID - 5
[2025-01-07 09:00:04] Production.ERROR: CronJob Last Run Time 2025-01-07 09:00:00
[2025-01-07 09:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 09:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 09:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 09:00:04] Production.ERROR: CronJob PID - 24241
[2025-01-07 09:00:04] Production.ERROR: CronJob Title - Account Block
[2025-01-07 09:00:04] Production.ERROR: CronJob ID - 7
[2025-01-07 09:00:04] Production.ERROR: CronJob Last Run Time 2025-01-07 09:00:00
[2025-01-07 09:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 09:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 09:00:04] Production.INFO: ==24243== Lock acquired, processing the job...
[2025-01-07 09:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:00:04] Production.INFO: ==24249== Lock acquired, processing the job...
[2025-01-07 09:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 09:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 09:00:04] Production.INFO: ==24237== Releasing lock...
[2025-01-07 09:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 09:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 09:00:04] Production.INFO: ==24245== Lock acquired, processing the job...
[2025-01-07 09:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:00:04] Production.INFO: ==24247== Lock acquired, processing the job...
[2025-01-07 09:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:00:04] Production.INFO: ==24251== Lock acquired, processing the job...
[2025-01-07 09:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:00:04] Production.INFO: Account Balance Start.
[2025-01-07 09:00:04] Production.INFO: CreateAllLog Start
[2025-01-07 09:00:04] Production.INFO: ==24241== Releasing lock...
[2025-01-07 09:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:00:04] Production.INFO: 117
[2025-01-07 09:00:04] Production.ERROR: done
[2025-01-07 09:00:04] Production.INFO: Date 2024-12-08
[2025-01-07 09:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 09:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14193839', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 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-07 09:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:00:04] Production.INFO: count ==21
[2025-01-07 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-07 09:00:04] Production.INFO: count ==21
[2025-01-07 09:00:05] Production.ERROR: done
[2025-01-07 09:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14193838') start
[2025-01-07 09:00:05] Production.INFO: Date 2024-12-09
[2025-01-07 09:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:00:05] Production.INFO: Date 2024-12-10
[2025-01-07 09:00:05] Production.ERROR: done
[2025-01-07 09:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:00:05] Production.INFO: Date 2024-12-11
[2025-01-07 09:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14193838') end
[2025-01-07 09:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:00:05] Production.INFO: 1
[2025-01-07 09:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:00:05] Production.INFO: ==24251== Releasing lock...
[2025-01-07 09:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:00:05] Production.INFO: Date 2024-12-12
[2025-01-07 09:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:00:05] Production.INFO: Date 2024-12-13
[2025-01-07 09:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:00:05] Production.INFO: Date 2024-12-14
[2025-01-07 09:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:00:05] Production.INFO: Date 2024-12-15
[2025-01-07 09:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:00:05] Production.INFO: Date 2024-12-16
[2025-01-07 09:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:00:05] Production.INFO: Date 2024-12-17
[2025-01-07 09:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:00:05] Production.INFO: Date 2024-12-18
[2025-01-07 09:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:00:05] Production.INFO: Date 2024-12-19
[2025-01-07 09:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:00:05] Production.INFO: Date 2024-12-20
[2025-01-07 09:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:00:05] Production.INFO: Date 2024-12-21
[2025-01-07 09:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:00:05] Production.INFO: Date 2024-12-22
[2025-01-07 09:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:00:05] Production.INFO: Date 2024-12-23
[2025-01-07 09:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:00:05] Production.INFO: Date 2024-12-24
[2025-01-07 09:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:00:05] Production.INFO: Date 2024-12-25
[2025-01-07 09:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:00:05] Production.INFO: Date 2024-12-26
[2025-01-07 09:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:00:05] Production.INFO: Date 2024-12-27
[2025-01-07 09:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:00:05] Production.INFO: Date 2024-12-28
[2025-01-07 09:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:00:05] Production.INFO: Date 2024-12-29
[2025-01-07 09:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:00:05] Production.INFO: Date 2024-12-30
[2025-01-07 09:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:00:05] Production.INFO: Date 2024-12-31
[2025-01-07 09:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:00:05] Production.INFO: Date 2025-01-01
[2025-01-07 09:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:00:06] Production.INFO: Date 2025-01-02
[2025-01-07 09:00:06] Production.INFO: Reseller ==> 0
[2025-01-07 09:00:06] Production.INFO: Date 2025-01-03
[2025-01-07 09:00:06] Production.INFO: Reseller ==> 0
[2025-01-07 09:00:06] Production.INFO: Date 2025-01-04
[2025-01-07 09:00:06] Production.INFO: Reseller ==> 0
[2025-01-07 09:00:06] Production.INFO: Date 2025-01-05
[2025-01-07 09:00:06] Production.INFO: Reseller ==> 0
[2025-01-07 09:00:06] Production.INFO: Date 2025-01-06
[2025-01-07 09:00:06] Production.INFO: Reseller ==> 0
[2025-01-07 09:00:06] Production.INFO: Date 2025-01-07
[2025-01-07 09:00:06] Production.INFO: Reseller ==> 0
[2025-01-07 09:00:06] Production.INFO: Total Charge 0
[2025-01-07 09:00:06] Production.INFO: CreateAllLog End
[2025-01-07 09:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:00:06
[end_date_ymd] => 2025-01-07 09:00:06
[RateCDR] => 1
)
[2025-01-07 09:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 06:00:06' and `end` < '2025-01-07 09:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 09:00:06] Production.INFO: helper-LastRunTime===2025-01-07 09:00:00
[2025-01-07 09:00:06] Production.INFO: =diffInterval=0
[2025-01-07 09:00:06] Production.INFO: Account Balance End.
[2025-01-07 09:00:06] Production.ERROR: CronJobId end 12
[2025-01-07 09:00:06] Production.INFO: ==24245== Releasing lock...
[2025-01-07 09:00:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:00:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:00:07] Production.INFO: helper-LastRunTime===2025-01-07 09:00:00
[2025-01-07 09:00:07] Production.INFO: =diffInterval=0
[2025-01-07 09:00:09] Production.INFO: helper-LastRunTime===2025-01-07 09:00:00
[2025-01-07 09:00:09] Production.INFO: =diffInterval=0
[2025-01-07 09:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14193839', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 09:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 09:00:09] Production.INFO: ProcessCDR(1,14193839,1,1,2)
[2025-01-07 09:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14193839,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14193839,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:00:09] Production.INFO: ==24249== Releasing lock...
[2025-01-07 09:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 09:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-07 09:00:10] Production.INFO: helper-LastRunTime===2025-01-07 09:00:00
[2025-01-07 09:00:10] Production.INFO: =diffInterval=0
[2025-01-07 09:00:10] Production.INFO: helper-LastRunTime===2025-01-07 09:00:00
[2025-01-07 09:00:10] Production.INFO: =diffInterval=0
[2025-01-07 09:00:11] Production.INFO: helper-LastRunTime===2025-01-07 09:00:00
[2025-01-07 09:00:11] Production.INFO: =diffInterval=0
[2025-01-07 09:00:12] Production.INFO: helper-LastRunTime===2025-01-07 09:00:00
[2025-01-07 09:00:12] Production.INFO: =diffInterval=0
[2025-01-07 09:00:12] Production.INFO: helper-LastRunTime===2025-01-07 09:00:00
[2025-01-07 09:00:12] Production.INFO: =diffInterval=0
[2025-01-07 09:00:13] Production.INFO: helper-LastRunTime===2025-01-07 09:00:00
[2025-01-07 09:00:13] Production.INFO: =diffInterval=0
[2025-01-07 09:00:13] Production.INFO: helper-LastRunTime===2025-01-07 09:00:00
[2025-01-07 09:00:13] Production.INFO: =diffInterval=0
[2025-01-07 09:00:14] Production.ERROR: CronJobId end10
[2025-01-07 09:00:14] Production.INFO: ==24243== Releasing lock...
[2025-01-07 09:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:00:14] Production.INFO: helper-LastRunTime===2025-01-07 09:00:00
[2025-01-07 09:00:14] Production.INFO: =diffInterval=0
[2025-01-07 09:00:14] Production.INFO: helper-LastRunTime===2025-01-07 09:00:00
[2025-01-07 09:00:14] Production.INFO: =diffInterval=0
[2025-01-07 09:00:15] Production.INFO: helper-LastRunTime===2025-01-07 09:00:00
[2025-01-07 09:00:15] Production.INFO: =diffInterval=0
[2025-01-07 09:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:00:15] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:00:15] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:00:15] Production.INFO: call_cost start
[2025-01-07 09:00:15] Production.INFO: call_cost end
[2025-01-07 09:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:00:16] Production.INFO: ==24239== Releasing lock...
[2025-01-07 09:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:00:19] Production.INFO: count ==657
[2025-01-07 09:00:19] Production.ERROR: pbx CDR StartTime 2025-01-07 06:00:06 - End Time 2025-01-07 09:00:06
[2025-01-07 09:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193840', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193840', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193840', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193840', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:00:19] Production.INFO: ProcessCDR(1,14193840,1,1,2)
[2025-01-07 09:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193840,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193840,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193840,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:00:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193840,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193840', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193840', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:00:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:00:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:00:24] Production.INFO: ==24247== Releasing lock...
[2025-01-07 09:00:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:00:24] Production.INFO: 33.5 MB #Memory Used#
[2025-01-07 14:01:01] Production.INFO: ==24305== Lock acquired, processing the job...
[2025-01-07 14:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:01:01] Production.INFO: neon service started
[2025-01-07 14:01:01] Production.INFO: neon service started
[2025-01-07 14:01:01] Production.INFO: ==24305== Releasing lock...
[2025-01-07 14:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:01:01] Production.INFO: ==24318== Lock acquired, processing the job...
[2025-01-07 09:01:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:01:02] Production.INFO: ==24318== Releasing lock...
[2025-01-07 09:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 14:01:02] Production.INFO: ==24320== Lock acquired, processing the job...
[2025-01-07 14:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:01:02] Production.INFO: ==24320== Releasing lock...
[2025-01-07 14:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:01:03] Production.INFO: ==24322== Lock acquired, processing the job...
[2025-01-07 09:01:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10483 #Starts#
[2025-01-07 09:01:03] Production.INFO: ==24324== Lock acquired, processing the job...
[2025-01-07 09:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:01:03] Production.INFO: -- Xero Api Check --
[2025-01-07 09:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:01:03] Production.INFO: ==24330== Lock acquired, processing the job...
[2025-01-07 09:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:01:03] Production.INFO: ==24333== Lock acquired, processing the job...
[2025-01-07 09:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:01:03] Production.INFO: Account Balance Start.
[2025-01-07 09:01:03] Production.INFO: CreateAllLog Start
[2025-01-07 09:01:03] Production.INFO: 117
[2025-01-07 09:01:03] Production.INFO: ==24326== Lock acquired, processing the job...
[2025-01-07 09:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:01:03] Production.INFO: Date 2024-12-08
[2025-01-07 09:01:03] Production.INFO: ==24328== Lock acquired, processing the job...
[2025-01-07 09:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:01:03] Production.INFO: ==24335== Lock acquired, processing the job...
[2025-01-07 09:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:01:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:01:03] Production.INFO: Date 2024-12-09
[2025-01-07 09:01:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:01:03] Production.ERROR: done
[2025-01-07 09:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:01:03] Production.INFO: Date 2024-12-10
[2025-01-07 09:01:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:01:03] Production.INFO: Date 2024-12-11
[2025-01-07 09:01:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:01:03] Production.ERROR: done
[2025-01-07 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-07 09:01:03] Production.INFO: count ==21
[2025-01-07 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-07 09:01:03] Production.INFO: count ==21
[2025-01-07 09:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193844') start
[2025-01-07 09:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:01:04] Production.INFO: Date 2024-12-12
[2025-01-07 09:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:01:04] Production.INFO: Date 2024-12-13
[2025-01-07 09:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:01:04] Production.INFO: ==24326== Releasing lock...
[2025-01-07 09:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:01:04] Production.INFO: Date 2024-12-14
[2025-01-07 09:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193844') end
[2025-01-07 09:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:01:04] Production.INFO: 1
[2025-01-07 09:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:01:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:01:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:01:04] Production.INFO: ==24335== Releasing lock...
[2025-01-07 09:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:01:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:01:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:01:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:01: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] => 857
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 1.106221
[namelookup_time] => 0.545805
[connect_time] => 0.555439
[pretransfer_time] => 0.85344
[size_upload] => 82
[size_download] => 2755
[speed_download] => 2490
[speed_upload] => 74
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 1.106162
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.17
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 45218
)
[2025-01-07 09:01:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTg0NjQsImV4cCI6MTczNjI1ODc2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjU4NDY0LCJhdF9oYXNoIjoiTUkyanIxUTdmSDh1ejBLQU5qeElEZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.l1xbU0Edp71LKrgYyo3RUtXQf56cB8JblkcE2-QgE6RxSYqB_lEKzhFeLx60mRfmDRTsR5VpUzPA31CxVkAcArQTxClAc91xuHKRYzWt9EUMIWJTP-v9w1MNk2TFcbNC9IT35eXsi-6j3O1Z_1XeOFFqUKHpfnqmMF5Fefw77nZC3-1j0Kl2e2r-b7iWOeUjD29o_s4wWa4FKjgH9MGDCfTraPMkPe_ybNo1tyvbVczjJZ96n_6GNNIWFbs3r9LrTW8r0VVUUxLm53abSXGhCb-U8hk4dAnMMjb0_CVo8bzKyRcOJkFc7PU0OYMrxMSny6tZE3_Azvfn3SesEhqERw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTg0NjQsImV4cCI6MTczNjI2MDI2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.fI9GqKyyxoVfErYw5r8XaTQPb372ODLgiAZlOXXtjThwXAVfubEmXFbjm3T0_RwdsTIqyqRk7uhQR0BGfYQ3Bka0SuneHP22kFdJxPSYkFMW1T9aXyFT8qhEr3RjZItQpl4M6vcl7zdI06qRnugzyMlRL85YbdNSVWFCMM1Iw-GUziuqhDl1_DDGvo-bLE_HK4POs33v3qkCr0-ZFeuX7L2OQjjdTz89oW5SnlvTzPhUxMgpQd-Kds29xdqIG08U05ujCzoQOoF1550OVb6vpFbyXsFFtHDng4Av1yDPeSZfL87kXTWGhNn01nS4FgrHFk9zmicHbAf4TWz1BP4JWw
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => Tz62OhHhBb8YOu3BrOvDMEUW2FNi3tIO7X88kJKeLdU
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 09:01:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTg0NjQsImV4cCI6MTczNjI1ODc2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjU4NDY0LCJhdF9oYXNoIjoiTUkyanIxUTdmSDh1ejBLQU5qeElEZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.l1xbU0Edp71LKrgYyo3RUtXQf56cB8JblkcE2-QgE6RxSYqB_lEKzhFeLx60mRfmDRTsR5VpUzPA31CxVkAcArQTxClAc91xuHKRYzWt9EUMIWJTP-v9w1MNk2TFcbNC9IT35eXsi-6j3O1Z_1XeOFFqUKHpfnqmMF5Fefw77nZC3-1j0Kl2e2r-b7iWOeUjD29o_s4wWa4FKjgH9MGDCfTraPMkPe_ybNo1tyvbVczjJZ96n_6GNNIWFbs3r9LrTW8r0VVUUxLm53abSXGhCb-U8hk4dAnMMjb0_CVo8bzKyRcOJkFc7PU0OYMrxMSny6tZE3_Azvfn3SesEhqERw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTg0NjQsImV4cCI6MTczNjI2MDI2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.fI9GqKyyxoVfErYw5r8XaTQPb372ODLgiAZlOXXtjThwXAVfubEmXFbjm3T0_RwdsTIqyqRk7uhQR0BGfYQ3Bka0SuneHP22kFdJxPSYkFMW1T9aXyFT8qhEr3RjZItQpl4M6vcl7zdI06qRnugzyMlRL85YbdNSVWFCMM1Iw-GUziuqhDl1_DDGvo-bLE_HK4POs33v3qkCr0-ZFeuX7L2OQjjdTz89oW5SnlvTzPhUxMgpQd-Kds29xdqIG08U05ujCzoQOoF1550OVb6vpFbyXsFFtHDng4Av1yDPeSZfL87kXTWGhNn01nS4FgrHFk9zmicHbAf4TWz1BP4JWw
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => Tz62OhHhBb8YOu3BrOvDMEUW2FNi3tIO7X88kJKeLdU
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 09:01:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:01:04] Production.INFO: AccountID 25
[2025-01-07 09:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:01:04] Production.INFO: AccountName Harding Security
[2025-01-07 09:01:04] Production.INFO: Checkcustomer
[2025-01-07 09:01:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Harding%20Security"
[2025-01-07 09:01:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:01:04] Production.INFO: Date 2024-12-22
[2025-01-07 09:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:01:04] Production.INFO: Date 2024-12-23
[2025-01-07 09:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:01:04] Production.INFO: Date 2024-12-24
[2025-01-07 09:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:01:04] Production.INFO: Date 2024-12-25
[2025-01-07 09:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:01:04] Production.INFO: Date 2024-12-26
[2025-01-07 09:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:01:04] Production.INFO: Date 2024-12-27
[2025-01-07 09:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:01:04] Production.INFO: Date 2024-12-28
[2025-01-07 09:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:01:04] Production.INFO: Date 2024-12-29
[2025-01-07 09:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:01:04] Production.INFO: Date 2024-12-30
[2025-01-07 09:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:01:04] Production.INFO: Date 2024-12-31
[2025-01-07 09:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:01:05] Production.INFO: Date 2025-01-01
[2025-01-07 09:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:01:05] Production.INFO: Date 2025-01-02
[2025-01-07 09:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:01:05] Production.INFO: Date 2025-01-03
[2025-01-07 09:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:01:05] Production.INFO: Date 2025-01-04
[2025-01-07 09:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:01:05] Production.INFO: Date 2025-01-05
[2025-01-07 09:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:01:05
[end_date_ymd] => 2025-01-07 09:01:05
[RateCDR] => 1
)
[2025-01-07 09:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 06:01:05' and `end` < '2025-01-07 09:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 09:01:05] Production.INFO: Date 2025-01-06
[2025-01-07 09:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:01:05] Production.INFO: Date 2025-01-07
[2025-01-07 09:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:01:05] Production.INFO: Total Charge 0
[2025-01-07 09:01:05] Production.INFO: CreateAllLog End
[2025-01-07 09:01:05] Production.INFO: Account Balance End.
[2025-01-07 09:01:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:01:05] Production.INFO: ==24330== Releasing lock...
[2025-01-07 09:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:01:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:01:06] Production.INFO: Contact id print CheckCustomer Case===631aa009-5337-4bbb-817f-724f7ca5f6db
[2025-01-07 09:01:06] Production.INFO: -- count --1
[2025-01-07 09:01:06] Production.INFO: -- Xero Add Inovice --
[2025-01-07 09:01:06] Production.INFO: CheckInvoice xerov2: INV11270
[2025-01-07 09:01:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11270
[2025-01-07 09:01:09] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 09:01:09] Production.INFO: Invoice SubTotal 17.850000
[2025-01-07 09:01:09] Production.INFO: Invoice DetTotal 17.85
[2025-01-07 09:01:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Harding%20Security"
[2025-01-07 09:01:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 09:01:12] Production.ERROR: CronJobId end10
[2025-01-07 09:01:12] Production.INFO: ==24328== Releasing lock...
[2025-01-07 09:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:01:14] Production.INFO: call_cost start
[2025-01-07 09:01:14] Production.INFO: call_cost end
[2025-01-07 09:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:01:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:01:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:01:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:01:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:01:15] Production.INFO: ==24324== Releasing lock...
[2025-01-07 09:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:01:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 09:01:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 09:01:18] Production.INFO: count ==699
[2025-01-07 09:01:18] Production.ERROR: pbx CDR StartTime 2025-01-07 06:01:05 - End Time 2025-01-07 09:01:05
[2025-01-07 09:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193845', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193845', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193845', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193845', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:01:18] Production.INFO: ProcessCDR(1,14193845,1,1,2)
[2025-01-07 09:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193845,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:01:20] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension",Quantity : 1,UnitAmount : 23.000000,LineAmount : 23.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14169257474 - 70 SHAFTESBURY AVE TORONTO, ON M4T1A3)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Loyalty Discount",Quantity : 1,UnitAmount : -7.650000,LineAmount : -7.650000}
[2025-01-07 09:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193845,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193845,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:01:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193845,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193845', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193845', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:01:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:01:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:01:23] Production.INFO: ==24333== Releasing lock...
[2025-01-07 09:01:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:01:23] Production.INFO: 34.25 MB #Memory Used#
[2025-01-07 09:01:24] Production.INFO: ==== result =====
[2025-01-07 09:01:24] Production.INFO: {
"Id": "8af1061a-a938-4f89-a6b7-6c1b506a8af8",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736258483944)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "b2d6f50e-237b-4ac7-8f35-dc105bbc019f",
"InvoiceNumber": "INV11270",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 20.18,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "631aa009-5337-4bbb-817f-724f7ca5f6db",
"ContactStatus": "ACTIVE",
"Name": "Harding Security",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1562268171973+0000)\/",
"ContactGroups": [
{
"ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58",
"Name": "Benjamin's Customers",
"Status": "ACTIVE",
"Contacts": [],
"HasValidationErrors": false
}
],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-28T00:00:00",
"Date": "\/Date(1735344000000+0000)\/",
"DueDateString": "2025-01-27T00:00:00",
"DueDate": "\/Date(1737936000000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "License for an Unlimited Canada/US Cloud Phone extension",
"UnitAmount": 23.00,
"TaxType": "TAX020",
"TaxAmount": 2.99,
"LineAmount": 23.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "29180a72-5e65-4839-a507-40f777f5751e",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (14169257474 - 70 SHAFTESBURY AVE TORONTO, ON M4T1A3)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "3202e77c-65ec-4fef-939e-2abbf62e2cd8",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Loyalty Discount",
"UnitAmount": -7.65,
"TaxType": "TAX020",
"TaxAmount": -0.99,
"LineAmount": -7.65,
"AccountCode": "303",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "56d3611d-da1f-41d8-afd0-fd188f8426a1",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 17.85,
"TotalTax": 2.33,
"Total": 20.18,
"UpdatedDateUTC": "\/Date(1736258483867+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 09:01:24] Production.INFO: -- Create Invoice id --b2d6f50e-237b-4ac7-8f35-dc105bbc019f
[2025-01-07 09:01:24] Production.INFO: -- Create Invoice Done --
[2025-01-07 09:01:24] Production.INFO: -- Xero End Inovice --
[2025-01-07 09:01:24] Production.INFO: ==24322== Releasing lock...
[2025-01-07 09:01:24] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10483 #Stops#
[2025-01-07 09:01:24] Production.INFO: 29.75 MB #Memory Used#
[2025-01-07 14:02:02] Production.INFO: ==24399== Lock acquired, processing the job...
[2025-01-07 14:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:02:02] Production.INFO: neon service started
[2025-01-07 14:02:02] Production.INFO: neon service started
[2025-01-07 14:02:02] Production.INFO: ==24399== Releasing lock...
[2025-01-07 14:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 14:02:02] Production.INFO: ==24403== Lock acquired, processing the job...
[2025-01-07 14:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:02:02] Production.INFO: ==24403== Releasing lock...
[2025-01-07 14:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:02:02] Production.INFO: ==24401== Lock acquired, processing the job...
[2025-01-07 09:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:02:02] Production.INFO: ==24401== Releasing lock...
[2025-01-07 09:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:02:03] Production.INFO: ==24405== Lock acquired, processing the job...
[2025-01-07 09:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:02:03] Production.INFO: ==24410== Lock acquired, processing the job...
[2025-01-07 09:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:02:03] Production.INFO: ==24416== Lock acquired, processing the job...
[2025-01-07 09:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:02:03] Production.INFO: ==24408== Lock acquired, processing the job...
[2025-01-07 09:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:02:03] Production.INFO: count ==21
[2025-01-07 09:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:02:03] Production.INFO: count ==21
[2025-01-07 09:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193847') start
[2025-01-07 09:02:04] Production.INFO: ==24412== Lock acquired, processing the job...
[2025-01-07 09:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193847') end
[2025-01-07 09:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:02:04] Production.INFO: 1
[2025-01-07 09:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:02:04] Production.INFO: ==24414== Lock acquired, processing the job...
[2025-01-07 09:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:02:04] Production.INFO: ==24416== Releasing lock...
[2025-01-07 09:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:02:04] Production.INFO: ==24408== Releasing lock...
[2025-01-07 09:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:02:04] Production.INFO: Account Balance Start.
[2025-01-07 09:02:04] Production.INFO: CreateAllLog Start
[2025-01-07 09:02:04] Production.INFO: 117
[2025-01-07 09:02:04] Production.INFO: Date 2024-12-08
[2025-01-07 09:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:02:04] Production.INFO: Date 2024-12-09
[2025-01-07 09:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:02:04] Production.INFO: Date 2024-12-10
[2025-01-07 09:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:02:04] Production.INFO: Date 2024-12-11
[2025-01-07 09:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:02:04] Production.INFO: Date 2024-12-12
[2025-01-07 09:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:02:04] Production.INFO: Date 2024-12-13
[2025-01-07 09:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:02:04] Production.INFO: Date 2024-12-14
[2025-01-07 09:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:02:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:02:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:02:04] Production.ERROR: done
[2025-01-07 09:02:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:02:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:02:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:02:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:02:04] Production.ERROR: done
[2025-01-07 09:02:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:02:04] Production.INFO: Date 2024-12-22
[2025-01-07 09:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:02:04] Production.INFO: Date 2024-12-23
[2025-01-07 09:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:02:04] Production.INFO: Date 2024-12-24
[2025-01-07 09:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:02:04] Production.INFO: Date 2024-12-25
[2025-01-07 09:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:02:04] Production.INFO: Date 2024-12-26
[2025-01-07 09:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:02:04] Production.INFO: Date 2024-12-27
[2025-01-07 09:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:02:04] Production.INFO: Date 2024-12-28
[2025-01-07 09:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:02:05] Production.INFO: Date 2024-12-29
[2025-01-07 09:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:02:05] Production.INFO: Date 2024-12-30
[2025-01-07 09:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:02:05] Production.INFO: Date 2024-12-31
[2025-01-07 09:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:02:05] Production.INFO: Date 2025-01-01
[2025-01-07 09:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:02:05] Production.INFO: Date 2025-01-02
[2025-01-07 09:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:02:05] Production.INFO: Date 2025-01-03
[2025-01-07 09:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:02:05] Production.INFO: Date 2025-01-04
[2025-01-07 09:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:02:05] Production.INFO: Date 2025-01-05
[2025-01-07 09:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:02:05] Production.INFO: Date 2025-01-06
[2025-01-07 09:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:02:05] Production.INFO: Date 2025-01-07
[2025-01-07 09:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:02:05] Production.INFO: Total Charge 0
[2025-01-07 09:02:05] Production.INFO: CreateAllLog End
[2025-01-07 09:02:05] Production.INFO: Account Balance End.
[2025-01-07 09:02:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:02:05] Production.INFO: ==24412== Releasing lock...
[2025-01-07 09:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:02:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:02:05
[end_date_ymd] => 2025-01-07 09:02:05
[RateCDR] => 1
)
[2025-01-07 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-07 06:02:05' and `end` < '2025-01-07 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-07 09:02:10] Production.ERROR: CronJobId end10
[2025-01-07 09:02:10] Production.INFO: ==24410== Releasing lock...
[2025-01-07 09:02:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:02:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:02:13] Production.INFO: call_cost start
[2025-01-07 09:02:13] Production.INFO: call_cost end
[2025-01-07 09:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:02:14] Production.INFO: ==24405== Releasing lock...
[2025-01-07 09:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:02:21] Production.INFO: count ==753
[2025-01-07 09:02:21] Production.ERROR: pbx CDR StartTime 2025-01-07 06:02:05 - End Time 2025-01-07 09:02:05
[2025-01-07 09:02:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193850', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193850', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193850', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193850', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:02:21] Production.INFO: ProcessCDR(1,14193850,1,1,2)
[2025-01-07 09:02:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193850,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:02:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193850,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:02:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193850,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:02:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193850,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:02:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193850', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:02:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193850', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:02:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:02:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:02:26] Production.INFO: ==24414== Releasing lock...
[2025-01-07 09:02:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:02:26] Production.INFO: 34.5 MB #Memory Used#
[2025-01-07 14:03:01] Production.INFO: ==24471== Lock acquired, processing the job...
[2025-01-07 14:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:03:01] Production.INFO: neon service started
[2025-01-07 14:03:01] Production.INFO: neon service started
[2025-01-07 14:03:01] Production.INFO: ==24471== Releasing lock...
[2025-01-07 14:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:03:02] Production.INFO: ==24474== Lock acquired, processing the job...
[2025-01-07 09:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 14:03:02] Production.INFO: ==24476== Lock acquired, processing the job...
[2025-01-07 14:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:03:02] Production.INFO: ==24476== Releasing lock...
[2025-01-07 14:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:03:02] Production.INFO: ==24474== Releasing lock...
[2025-01-07 09:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:03:03] Production.INFO: ==24480== Lock acquired, processing the job...
[2025-01-07 09:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:03:03] Production.INFO: ==24484== Lock acquired, processing the job...
[2025-01-07 09:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:03:03] Production.INFO: ==24488== Lock acquired, processing the job...
[2025-01-07 09:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:03:03] Production.INFO: Account Balance Start.
[2025-01-07 09:03:03] Production.INFO: CreateAllLog Start
[2025-01-07 09:03:03] Production.INFO: 117
[2025-01-07 09:03:03] Production.INFO: Date 2024-12-08
[2025-01-07 09:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:03:03] Production.INFO: Date 2024-12-09
[2025-01-07 09:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 09:03:03] Production.INFO: Date 2024-12-10
[2025-01-07 09:03:03] Production.INFO: count ==21
[2025-01-07 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-07 09:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:03:03] Production.INFO: count ==21
[2025-01-07 09:03:03] Production.INFO: ==24482== Lock acquired, processing the job...
[2025-01-07 09:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193853') start
[2025-01-07 09:03:03] Production.INFO: ==24478== Lock acquired, processing the job...
[2025-01-07 09:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:03:03] Production.INFO: Date 2024-12-11
[2025-01-07 09:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:03:03] Production.INFO: Date 2024-12-12
[2025-01-07 09:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:03:03] Production.INFO: ==24480== Releasing lock...
[2025-01-07 09:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:03:03] Production.INFO: ==24486== Lock acquired, processing the job...
[2025-01-07 09:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:03:03] Production.INFO: Date 2024-12-13
[2025-01-07 09:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193853') end
[2025-01-07 09:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:03:03] Production.INFO: 1
[2025-01-07 09:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:03:03] Production.INFO: Date 2024-12-14
[2025-01-07 09:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:03:03] Production.INFO: Date 2024-12-15
[2025-01-07 09:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:03:03] Production.INFO: ==24488== Releasing lock...
[2025-01-07 09:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:03:03] Production.INFO: Date 2024-12-16
[2025-01-07 09:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:03:03] Production.INFO: Date 2024-12-17
[2025-01-07 09:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:03:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:03:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:03:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:03:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:03:04] Production.ERROR: done
[2025-01-07 09:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:03:04] Production.INFO: Date 2024-12-22
[2025-01-07 09:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:03:04] Production.INFO: Date 2024-12-23
[2025-01-07 09:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:03:04] Production.ERROR: done
[2025-01-07 09:03:04] Production.INFO: Date 2024-12-24
[2025-01-07 09:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:03:04] Production.INFO: Date 2024-12-25
[2025-01-07 09:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:03:04] Production.INFO: Date 2024-12-26
[2025-01-07 09:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:03:04] Production.INFO: Date 2024-12-27
[2025-01-07 09:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:03:04] Production.INFO: Date 2024-12-28
[2025-01-07 09:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:03:04] Production.INFO: Date 2024-12-29
[2025-01-07 09:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:03:04] Production.INFO: Date 2024-12-30
[2025-01-07 09:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:03:04] Production.INFO: Date 2024-12-31
[2025-01-07 09:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:03:04] Production.INFO: Date 2025-01-01
[2025-01-07 09:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:03:04] Production.INFO: Date 2025-01-02
[2025-01-07 09:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:03:04] Production.INFO: Date 2025-01-03
[2025-01-07 09:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:03:04] Production.INFO: Date 2025-01-04
[2025-01-07 09:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:03:04] Production.INFO: Date 2025-01-05
[2025-01-07 09:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:03:04] Production.INFO: Date 2025-01-06
[2025-01-07 09:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:03:04] Production.INFO: Date 2025-01-07
[2025-01-07 09:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:03:04] Production.INFO: Total Charge 0
[2025-01-07 09:03:04] Production.INFO: CreateAllLog End
[2025-01-07 09:03:04] Production.INFO: Account Balance End.
[2025-01-07 09:03:04] Production.ERROR: CronJobId end 12
[2025-01-07 09:03:04] Production.INFO: ==24484== Releasing lock...
[2025-01-07 09:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:03:05
[end_date_ymd] => 2025-01-07 09:03:05
[RateCDR] => 1
)
[2025-01-07 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-07 06:03:05' and `end` < '2025-01-07 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-07 09:03:10] Production.ERROR: CronJobId end10
[2025-01-07 09:03:10] Production.INFO: ==24482== Releasing lock...
[2025-01-07 09:03:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:03:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:03:13] Production.INFO: call_cost start
[2025-01-07 09:03:13] Production.INFO: call_cost end
[2025-01-07 09:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:03:14] Production.INFO: ==24478== Releasing lock...
[2025-01-07 09:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:03:18] Production.INFO: count ==780
[2025-01-07 09:03:18] Production.ERROR: pbx CDR StartTime 2025-01-07 06:03:05 - End Time 2025-01-07 09:03:05
[2025-01-07 09:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193855', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193855', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193855', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193855', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:03:18] Production.INFO: ProcessCDR(1,14193855,1,1,2)
[2025-01-07 09:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193855,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:03:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193855,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:03:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193855,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:03:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193855,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193855', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193855', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:03:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:03:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:03:23] Production.INFO: ==24486== Releasing lock...
[2025-01-07 09:03:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:03:23] Production.INFO: 34.25 MB #Memory Used#
[2025-01-07 14:04:02] Production.INFO: ==24543== Lock acquired, processing the job...
[2025-01-07 14:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:04:02] Production.INFO: neon service started
[2025-01-07 14:04:02] Production.INFO: neon service started
[2025-01-07 14:04:02] Production.INFO: ==24543== Releasing lock...
[2025-01-07 14:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:04:02] Production.INFO: ==24545== Lock acquired, processing the job...
[2025-01-07 09:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 14:04:02] Production.INFO: ==24547== Lock acquired, processing the job...
[2025-01-07 14:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:04:03] Production.INFO: ==24547== Releasing lock...
[2025-01-07 14:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:04:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:04:03] Production.INFO: ==24545== Releasing lock...
[2025-01-07 09:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:04:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:04:04] Production.INFO: ==24552== Lock acquired, processing the job...
[2025-01-07 09:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:04:04] Production.INFO: ==24554== Lock acquired, processing the job...
[2025-01-07 09:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:04:04] Production.INFO: ==24550== Lock acquired, processing the job...
[2025-01-07 09:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:04:04] Production.INFO: ==24556== Lock acquired, processing the job...
[2025-01-07 09:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:04:04] Production.INFO: ==24560== Lock acquired, processing the job...
[2025-01-07 09:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:04:04] Production.INFO: ==24558== Lock acquired, processing the job...
[2025-01-07 09:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:04:04] Production.INFO: Account Balance Start.
[2025-01-07 09:04:04] Production.INFO: CreateAllLog Start
[2025-01-07 09:04:04] Production.INFO: 117
[2025-01-07 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-07 09:04:04] Production.INFO: Date 2024-12-08
[2025-01-07 09:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:04:04] Production.INFO: count ==21
[2025-01-07 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-07 09:04:04] Production.INFO: count ==21
[2025-01-07 09:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193859') start
[2025-01-07 09:04:04] Production.INFO: ==24552== Releasing lock...
[2025-01-07 09:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:04:04] Production.INFO: Date 2024-12-09
[2025-01-07 09:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:04:04] Production.INFO: Date 2024-12-10
[2025-01-07 09:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:04:04] Production.INFO: Date 2024-12-11
[2025-01-07 09:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:04:04] Production.INFO: Date 2024-12-12
[2025-01-07 09:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:04:04] Production.ERROR: done
[2025-01-07 09:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193859') end
[2025-01-07 09:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:04:04] Production.INFO: 1
[2025-01-07 09:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:04:04] Production.INFO: Date 2024-12-13
[2025-01-07 09:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:04:05] Production.INFO: Date 2024-12-14
[2025-01-07 09:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:04:05] Production.INFO: ==24560== Releasing lock...
[2025-01-07 09:04:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:04:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:04:05] Production.ERROR: done
[2025-01-07 09:04:05] Production.INFO: Date 2024-12-15
[2025-01-07 09:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:04:05] Production.INFO: Date 2024-12-16
[2025-01-07 09:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:04:05] Production.INFO: Date 2024-12-17
[2025-01-07 09:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:04:05] Production.INFO: Date 2024-12-18
[2025-01-07 09:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:04:05] Production.INFO: Date 2024-12-19
[2025-01-07 09:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:04:05] Production.INFO: Date 2024-12-20
[2025-01-07 09:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:04:05] Production.INFO: Date 2024-12-21
[2025-01-07 09:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:04:05] Production.INFO: Date 2024-12-22
[2025-01-07 09:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:04:05] Production.INFO: Date 2024-12-23
[2025-01-07 09:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:04:05] Production.INFO: Date 2024-12-24
[2025-01-07 09:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:04:05] Production.INFO: Date 2024-12-25
[2025-01-07 09:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:04:05] Production.INFO: Date 2024-12-26
[2025-01-07 09:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:04:05] Production.INFO: Date 2024-12-27
[2025-01-07 09:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:04:05] Production.INFO: Date 2024-12-28
[2025-01-07 09:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:04:05] Production.INFO: Date 2024-12-29
[2025-01-07 09:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:04:05] Production.INFO: Date 2024-12-30
[2025-01-07 09:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:04:05] Production.INFO: Date 2024-12-31
[2025-01-07 09:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:04:05] Production.INFO: Date 2025-01-01
[2025-01-07 09:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:04:05] Production.INFO: Date 2025-01-02
[2025-01-07 09:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:04:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:04:05
[end_date_ymd] => 2025-01-07 09:04:05
[RateCDR] => 1
)
[2025-01-07 09:04:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 06:04:05' and `end` < '2025-01-07 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-07 09:04:06] Production.INFO: Date 2025-01-03
[2025-01-07 09:04:06] Production.INFO: Reseller ==> 0
[2025-01-07 09:04:06] Production.INFO: Date 2025-01-04
[2025-01-07 09:04:06] Production.INFO: Reseller ==> 0
[2025-01-07 09:04:06] Production.INFO: Date 2025-01-05
[2025-01-07 09:04:06] Production.INFO: Reseller ==> 0
[2025-01-07 09:04:06] Production.INFO: Date 2025-01-06
[2025-01-07 09:04:06] Production.INFO: Reseller ==> 0
[2025-01-07 09:04:06] Production.INFO: Date 2025-01-07
[2025-01-07 09:04:06] Production.INFO: Reseller ==> 0
[2025-01-07 09:04:06] Production.INFO: Total Charge 0
[2025-01-07 09:04:06] Production.INFO: CreateAllLog End
[2025-01-07 09:04:06] Production.INFO: Account Balance End.
[2025-01-07 09:04:06] Production.ERROR: CronJobId end 12
[2025-01-07 09:04:06] Production.INFO: ==24556== Releasing lock...
[2025-01-07 09:04:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:04:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:04:12] Production.ERROR: CronJobId end10
[2025-01-07 09:04:12] Production.INFO: ==24554== Releasing lock...
[2025-01-07 09:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:04:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:04:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:04:14] Production.INFO: call_cost start
[2025-01-07 09:04:14] Production.INFO: call_cost end
[2025-01-07 09:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:04:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:04:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:04:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:04:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:04:15] Production.INFO: ==24550== Releasing lock...
[2025-01-07 09:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:04:20] Production.INFO: count ==785
[2025-01-07 09:04:20] Production.ERROR: pbx CDR StartTime 2025-01-07 06:04:05 - End Time 2025-01-07 09:04:05
[2025-01-07 09:04:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193860', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193860', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193860', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193860', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:04:20] Production.INFO: ProcessCDR(1,14193860,1,1,2)
[2025-01-07 09:04:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193860,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:04:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193860,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:04:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193860,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:04:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193860,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:04:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193860', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:04:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193860', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:04:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:04:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:04:24] Production.INFO: ==24558== Releasing lock...
[2025-01-07 09:04:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:04:24] Production.INFO: 34.25 MB #Memory Used#
[2025-01-07 14:05:01] Production.INFO: ==24613== Lock acquired, processing the job...
[2025-01-07 14:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:05:01] Production.INFO: neon service started
[2025-01-07 14:05:01] Production.INFO: neon service started
[2025-01-07 14:05:01] Production.INFO: ==24613== Releasing lock...
[2025-01-07 14:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 14:05:02] Production.INFO: ==24618== Lock acquired, processing the job...
[2025-01-07 14:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:05:02] Production.INFO: ==24618== Releasing lock...
[2025-01-07 14:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:05:02] Production.INFO: ==24616== Lock acquired, processing the job...
[2025-01-07 09:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:05:02] Production.INFO: ==24616== Releasing lock...
[2025-01-07 09:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:05:03] Production.INFO: ==24622== Lock acquired, processing the job...
[2025-01-07 09:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:05:03] Production.INFO: ==24624== Lock acquired, processing the job...
[2025-01-07 09:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:05:03] Production.INFO: ==24620== Lock acquired, processing the job...
[2025-01-07 09:05:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10484 #Starts#
[2025-01-07 09:05:03] Production.INFO: -- Xero Api Check --
[2025-01-07 09:05:03] Production.INFO: ==24628== Lock acquired, processing the job...
[2025-01-07 09:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:05:03] Production.INFO: ==24630== Lock acquired, processing the job...
[2025-01-07 09:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:05:03] Production.INFO: ==24626== Lock acquired, processing the job...
[2025-01-07 09:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:05:03] Production.INFO: Account Balance Start.
[2025-01-07 09:05:03] Production.INFO: CreateAllLog Start
[2025-01-07 09:05:03] Production.INFO: 117
[2025-01-07 09:05:03] Production.INFO: Date 2024-12-08
[2025-01-07 09:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:05:03] Production.INFO: Date 2024-12-09
[2025-01-07 09:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:05:03] Production.INFO: ==24632== Lock acquired, processing the job...
[2025-01-07 09:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:05:03] Production.INFO: Date 2024-12-10
[2025-01-07 09:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:05:04] Production.INFO: Date 2024-12-11
[2025-01-07 09:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:05:04] Production.INFO: ==24624== Releasing lock...
[2025-01-07 09:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:05:04] Production.INFO: Date 2024-12-12
[2025-01-07 09:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:05:04] Production.INFO: Date 2024-12-13
[2025-01-07 09:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:05:04] Production.INFO: count ==21
[2025-01-07 09:05:04] Production.ERROR: done
[2025-01-07 09:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:05:04] Production.INFO: count ==21
[2025-01-07 09:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193864') start
[2025-01-07 09:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:05:04] Production.INFO: Date 2024-12-14
[2025-01-07 09:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193864') end
[2025-01-07 09:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:05:04] Production.INFO: 1
[2025-01-07 09:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:05:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:05:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:05:04] Production.INFO: ==24632== Releasing lock...
[2025-01-07 09:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:05:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:05:04] Production.ERROR: done
[2025-01-07 09:05:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:05:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:05: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] => 856
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.91649
[namelookup_time] => 0.526635
[connect_time] => 0.537722
[pretransfer_time] => 0.767517
[size_upload] => 82
[size_download] => 2755
[speed_download] => 3006
[speed_upload] => 89
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.916459
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.33
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 43158
)
[2025-01-07 09:05:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTg3MDQsImV4cCI6MTczNjI1OTAwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjU4NzA0LCJhdF9oYXNoIjoiVE9PZGtlNGJoUUZ5cTZKQ3RFMVlGZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.mZlv5xb_KAE_kbNybxdzkw50k7UGmtZXMZP-QzZaEaWZX6m6k8TfjPPbRsK3dMTrr6IdN_S5pRibie_RVzWdApzvY2qCl6wCnIbfba3vqj4cDRnwShE7WQb5sNXuVi7luFAoQAYVVl6AE8SJg819B-dmU6rlkFSsHFPf2SMpoCxgOOONrmPwlXcIalcEA_rsMD9nIXSU1b6V0402RDEd-RDVZwv_fD8PfFuKo7F87DmCTKZ6RYnuuieWvmenSewSbogxlQLlVFprMEF0AH4qdw8pQQwjKL0c8ejy_zCijd_yg8cvI79udg67cORO3IOaGF7jMGO6eIMH6mQWDFYP7A
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTg3MDQsImV4cCI6MTczNjI2MDUwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.wytwmy_lFHJ6cQR76gew7WtPEgB6zHO0GMfsjSyiPB_qN4XBXxmHk7p3ipfBaSd3J1ZSmncccxI1P1iAp-Di3dcBNWQaobjazFczM4tWFEVqBWdWnPVbhznJDSvDUc6_dL6lURtmlc7qIND5VRxzoLUPNXQi7NBDk9Ctquc6BqCDeuz1_6bcrsZAt5ry5tY4erHg7a2LSME5ncK9dFdrqDdqfeQp7xwFLKx9UpVFxL3WYjb3968TLLCOR9-2yVBg4wIyOODBtd4NJAHEmnTzIsA97PTjKUKqq2MK7RTSGOL00xe1jM-MSadgH9bXvhu41hhR_nN1j99f1bLVkPYm_w
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => I6QpGNhh5v3xmhDdsIP7KqTdQtTzNaIfSLqaqc8YkzY
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 09:05:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTg3MDQsImV4cCI6MTczNjI1OTAwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjU4NzA0LCJhdF9oYXNoIjoiVE9PZGtlNGJoUUZ5cTZKQ3RFMVlGZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.mZlv5xb_KAE_kbNybxdzkw50k7UGmtZXMZP-QzZaEaWZX6m6k8TfjPPbRsK3dMTrr6IdN_S5pRibie_RVzWdApzvY2qCl6wCnIbfba3vqj4cDRnwShE7WQb5sNXuVi7luFAoQAYVVl6AE8SJg819B-dmU6rlkFSsHFPf2SMpoCxgOOONrmPwlXcIalcEA_rsMD9nIXSU1b6V0402RDEd-RDVZwv_fD8PfFuKo7F87DmCTKZ6RYnuuieWvmenSewSbogxlQLlVFprMEF0AH4qdw8pQQwjKL0c8ejy_zCijd_yg8cvI79udg67cORO3IOaGF7jMGO6eIMH6mQWDFYP7A
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTg3MDQsImV4cCI6MTczNjI2MDUwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.wytwmy_lFHJ6cQR76gew7WtPEgB6zHO0GMfsjSyiPB_qN4XBXxmHk7p3ipfBaSd3J1ZSmncccxI1P1iAp-Di3dcBNWQaobjazFczM4tWFEVqBWdWnPVbhznJDSvDUc6_dL6lURtmlc7qIND5VRxzoLUPNXQi7NBDk9Ctquc6BqCDeuz1_6bcrsZAt5ry5tY4erHg7a2LSME5ncK9dFdrqDdqfeQp7xwFLKx9UpVFxL3WYjb3968TLLCOR9-2yVBg4wIyOODBtd4NJAHEmnTzIsA97PTjKUKqq2MK7RTSGOL00xe1jM-MSadgH9bXvhu41hhR_nN1j99f1bLVkPYm_w
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => I6QpGNhh5v3xmhDdsIP7KqTdQtTzNaIfSLqaqc8YkzY
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 09:05:04] Production.INFO: AccountID 13
[2025-01-07 09:05:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:05:04] Production.INFO: AccountName Rosedale Diner
[2025-01-07 09:05:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:05:04] Production.INFO: Checkcustomer
[2025-01-07 09:05:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Rosedale%20Diner"
[2025-01-07 09:05:04] Production.INFO: Date 2024-12-22
[2025-01-07 09:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:05:04] Production.INFO: Date 2024-12-23
[2025-01-07 09:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:05:04] Production.INFO: Date 2024-12-24
[2025-01-07 09:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:05:04] Production.INFO: Date 2024-12-25
[2025-01-07 09:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:05:04] Production.INFO: Date 2024-12-26
[2025-01-07 09:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:05:04] Production.INFO: Date 2024-12-27
[2025-01-07 09:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:05:04] Production.INFO: Date 2024-12-28
[2025-01-07 09:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:05:04] Production.INFO: Date 2024-12-29
[2025-01-07 09:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:05:04] Production.INFO: Date 2024-12-30
[2025-01-07 09:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:05:04] Production.INFO: Date 2024-12-31
[2025-01-07 09:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:05:04] Production.INFO: Date 2025-01-01
[2025-01-07 09:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:05:04] Production.INFO: Date 2025-01-02
[2025-01-07 09:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:05:04] Production.INFO: Date 2025-01-03
[2025-01-07 09:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:05:04] Production.INFO: Date 2025-01-04
[2025-01-07 09:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:05:05] Production.INFO: Date 2025-01-05
[2025-01-07 09:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:05:05] Production.INFO: Date 2025-01-06
[2025-01-07 09:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:05:05] Production.INFO: Date 2025-01-07
[2025-01-07 09:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:05:05] Production.INFO: Total Charge 0
[2025-01-07 09:05:05] Production.INFO: CreateAllLog End
[2025-01-07 09:05:05] Production.INFO: Account Balance End.
[2025-01-07 09:05:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:05:05] Production.INFO: ==24628== Releasing lock...
[2025-01-07 09:05:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:05:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:05:05
[end_date_ymd] => 2025-01-07 09:05:05
[RateCDR] => 1
)
[2025-01-07 09:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 06:05:05' and `end` < '2025-01-07 09:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 09:05:07] Production.INFO: Contact id print CheckCustomer Case===d315b223-0318-473a-8190-ce14e673da0e
[2025-01-07 09:05:07] Production.INFO: -- count --1
[2025-01-07 09:05:07] Production.INFO: -- Xero Add Inovice --
[2025-01-07 09:05:07] Production.INFO: CheckInvoice xerov2: INV11189
[2025-01-07 09:05:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11189
[2025-01-07 09:05:10] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 09:05:10] Production.INFO: Invoice SubTotal 14.780000
[2025-01-07 09:05:10] Production.INFO: Invoice DetTotal 14.78
[2025-01-07 09:05:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Rosedale%20Diner"
[2025-01-07 09:05:12] Production.ERROR: CronJobId end10
[2025-01-07 09:05:12] Production.INFO: ==24626== Releasing lock...
[2025-01-07 09:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:05:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 09:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:05:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:05:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:05:14] Production.INFO: call_cost start
[2025-01-07 09:05:14] Production.INFO: call_cost end
[2025-01-07 09:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:05:14] Production.INFO: ==24622== Releasing lock...
[2025-01-07 09:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:05:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 09:05:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 09:05:18] Production.INFO: count ==788
[2025-01-07 09:05:18] Production.ERROR: pbx CDR StartTime 2025-01-07 06:05:05 - End Time 2025-01-07 09:05:05
[2025-01-07 09:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193865', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193865', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193865', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193865', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:05:18] Production.INFO: ProcessCDR(1,14193865,1,1,2)
[2025-01-07 09:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193865,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193865,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193865,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:05:21] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 11-10-2024 To 12-09-2024",Quantity : 1,UnitAmount : 0.280000,LineAmount : 0.280000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 1,UnitAmount : 7.000000,LineAmount : 7.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14169233122 - 1164 YONGE ST TORONTO, ON M4W2L9)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (14167850655)",Quantity : 1,UnitAmount : 3.000000,LineAmount : 3.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Additional DID (14168770759)",Quantity : 1,UnitAmount : 2.000000,LineAmount : 2.000000}
[2025-01-07 09:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193865,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193865', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193865', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:05:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:05:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:05:22] Production.INFO: ==24630== Releasing lock...
[2025-01-07 09:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:05:22] Production.INFO: 34.75 MB #Memory Used#
[2025-01-07 09:05:23] Production.INFO: ==== result =====
[2025-01-07 09:05:23] Production.INFO: {
"Id": "7ec059f8-245a-469f-be42-dc1d20115d6b",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736258723859)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "b292fc89-a1c3-4be9-b0a0-c61aeac0f7f5",
"InvoiceNumber": "INV11189",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 16.71,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "d315b223-0318-473a-8190-ce14e673da0e",
"ContactStatus": "ACTIVE",
"Name": "Rosedale Diner",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1562268227653+0000)\/",
"ContactGroups": [
{
"ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58",
"Name": "Benjamin's Customers",
"Status": "ACTIVE",
"Contacts": [],
"HasValidationErrors": false
}
],
"IsSupplier": true,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-10T00:00:00",
"Date": "\/Date(1733788800000+0000)\/",
"DueDateString": "2025-01-09T00:00:00",
"DueDate": "\/Date(1736380800000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "From 11-10-2024 To 12-09-2024",
"UnitAmount": 0.28,
"TaxType": "TAX020",
"TaxAmount": 0.04,
"LineAmount": 0.28,
"AccountCode": "234",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "32126054-8adc-4c2e-882b-126a81dc1aba",
"AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "License for a Pay As You Go Cloud Phone extension",
"UnitAmount": 7.00,
"TaxType": "TAX020",
"TaxAmount": 0.91,
"LineAmount": 7.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "eefbb892-903d-4fc6-853c-ab83183e6696",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (14169233122 - 1164 YONGE ST TORONTO, ON M4W2L9)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "7758d98a-70c4-44df-bfa0-def3ee212420",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (14167850655)",
"UnitAmount": 3.00,
"TaxType": "TAX020",
"TaxAmount": 0.39,
"LineAmount": 3.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "39cbe225-1b04-406d-8e9a-00cce89ef5f5",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (14168770759)",
"UnitAmount": 2.00,
"TaxType": "TAX020",
"TaxAmount": 0.26,
"LineAmount": 2.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "2d1628e9-bef1-45d0-9b8d-2292e9b11d96",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
}
],
"SubTotal": 14.78,
"TotalTax": 1.93,
"Total": 16.71,
"UpdatedDateUTC": "\/Date(1736258723797+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 09:05:23] Production.INFO: -- Create Invoice id --b292fc89-a1c3-4be9-b0a0-c61aeac0f7f5
[2025-01-07 09:05:23] Production.INFO: -- Create Invoice Done --
[2025-01-07 09:05:23] Production.INFO: -- Xero End Inovice --
[2025-01-07 09:05:23] Production.INFO: ==24620== Releasing lock...
[2025-01-07 09:05:23] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10484 #Stops#
[2025-01-07 09:05:23] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 14:06:02] Production.INFO: ==24696== Lock acquired, processing the job...
[2025-01-07 14:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:06:02] Production.INFO: neon service started
[2025-01-07 14:06:02] Production.INFO: neon service started
[2025-01-07 14:06:02] Production.INFO: ==24696== Releasing lock...
[2025-01-07 14:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:06:02] Production.INFO: ==24698== Lock acquired, processing the job...
[2025-01-07 09:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:06:02] Production.INFO: ==24698== Releasing lock...
[2025-01-07 09:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 14:06:02] Production.INFO: ==24700== Lock acquired, processing the job...
[2025-01-07 14:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:06:03] Production.INFO: ==24700== Releasing lock...
[2025-01-07 14:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:06:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:06:03] Production.INFO: ==24705== Lock acquired, processing the job...
[2025-01-07 09:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:06:03] Production.INFO: ==24703== Lock acquired, processing the job...
[2025-01-07 09:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:06:03] Production.INFO: ==24711== Lock acquired, processing the job...
[2025-01-07 09:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:06:04] Production.INFO: ==24707== Lock acquired, processing the job...
[2025-01-07 09:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:06:04] Production.INFO: ==24709== Lock acquired, processing the job...
[2025-01-07 09:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:06:04] Production.INFO: ==24713== Lock acquired, processing the job...
[2025-01-07 09:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:06:04] Production.INFO: ==24705== Releasing lock...
[2025-01-07 09:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:06:04] Production.INFO: Account Balance Start.
[2025-01-07 09:06:04] Production.INFO: CreateAllLog Start
[2025-01-07 09:06:04] Production.INFO: 117
[2025-01-07 09:06:04] Production.INFO: Date 2024-12-08
[2025-01-07 09:06:04] Production.INFO: count ==21
[2025-01-07 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-07 09:06:04] Production.INFO: count ==21
[2025-01-07 09:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:06:04] Production.ERROR: done
[2025-01-07 09:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193868') start
[2025-01-07 09:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:06:04] Production.INFO: Date 2024-12-09
[2025-01-07 09:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:06:04] Production.INFO: Date 2024-12-10
[2025-01-07 09:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:06:04] Production.INFO: Date 2024-12-11
[2025-01-07 09:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193868') end
[2025-01-07 09:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:06:04] Production.INFO: 1
[2025-01-07 09:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:06:04] Production.ERROR: done
[2025-01-07 09:06:04] Production.INFO: Date 2024-12-12
[2025-01-07 09:06:04] Production.INFO: ==24713== Releasing lock...
[2025-01-07 09:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:06:04] Production.INFO: Date 2024-12-13
[2025-01-07 09:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:06:04] Production.INFO: Date 2024-12-14
[2025-01-07 09:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:06:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:06:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:06:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:06:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:06:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:06:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:06:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:06:04] Production.INFO: Date 2024-12-22
[2025-01-07 09:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:06:04] Production.INFO: Date 2024-12-23
[2025-01-07 09:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:06:04] Production.INFO: Date 2024-12-24
[2025-01-07 09:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:06:04] Production.INFO: Date 2024-12-25
[2025-01-07 09:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:06:04] Production.INFO: Date 2024-12-26
[2025-01-07 09:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:06:05] Production.INFO: Date 2024-12-27
[2025-01-07 09:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:06:05] Production.INFO: Date 2024-12-28
[2025-01-07 09:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:06:05] Production.INFO: Date 2024-12-29
[2025-01-07 09:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:06:05] Production.INFO: Date 2024-12-30
[2025-01-07 09:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:06:05] Production.INFO: Date 2024-12-31
[2025-01-07 09:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:06:05] Production.INFO: Date 2025-01-01
[2025-01-07 09:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:06:05] Production.INFO: Date 2025-01-02
[2025-01-07 09:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:06:05] Production.INFO: Date 2025-01-03
[2025-01-07 09:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:06:05] Production.INFO: Date 2025-01-04
[2025-01-07 09:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:06:05] Production.INFO: Date 2025-01-05
[2025-01-07 09:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:06:05] Production.INFO: Date 2025-01-06
[2025-01-07 09:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:06:05] Production.INFO: Date 2025-01-07
[2025-01-07 09:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:06:05] Production.INFO: Total Charge 0
[2025-01-07 09:06:05] Production.INFO: CreateAllLog End
[2025-01-07 09:06:05] Production.INFO: Account Balance End.
[2025-01-07 09:06:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:06:05] Production.INFO: ==24709== Releasing lock...
[2025-01-07 09:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:06:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:06:05
[end_date_ymd] => 2025-01-07 09:06:05
[RateCDR] => 1
)
[2025-01-07 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-07 06:06:05' and `end` < '2025-01-07 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-07 09:06:11] Production.ERROR: CronJobId end10
[2025-01-07 09:06:11] Production.INFO: ==24707== Releasing lock...
[2025-01-07 09:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:06:14] Production.INFO: call_cost start
[2025-01-07 09:06:14] Production.INFO: call_cost end
[2025-01-07 09:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:06:14] Production.INFO: ==24703== Releasing lock...
[2025-01-07 09:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:06:18] Production.INFO: count ==799
[2025-01-07 09:06:18] Production.ERROR: pbx CDR StartTime 2025-01-07 06:06:05 - End Time 2025-01-07 09:06:05
[2025-01-07 09:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193870', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193870', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193870', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193870', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:06:18] Production.INFO: ProcessCDR(1,14193870,1,1,2)
[2025-01-07 09:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193870,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:06:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193870,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:06:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193870,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:06:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193870,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193870', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193870', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:06:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:06:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:06:23] Production.INFO: ==24711== Releasing lock...
[2025-01-07 09:06:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:06:23] Production.INFO: 34.25 MB #Memory Used#
[2025-01-07 14:07:01] Production.INFO: ==24771== Lock acquired, processing the job...
[2025-01-07 14:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:07:01] Production.INFO: neon service started
[2025-01-07 14:07:01] Production.INFO: neon service started
[2025-01-07 14:07:01] Production.INFO: ==24771== Releasing lock...
[2025-01-07 14:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:07:02] Production.INFO: ==24773== Lock acquired, processing the job...
[2025-01-07 09:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 14:07:02] Production.INFO: ==24775== Lock acquired, processing the job...
[2025-01-07 14:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:07:02] Production.INFO: ==24775== Releasing lock...
[2025-01-07 14:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:07:02] Production.INFO: ==24773== Releasing lock...
[2025-01-07 09:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:07:03] Production.INFO: ==24778== Lock acquired, processing the job...
[2025-01-07 09:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:07:03] Production.INFO: ==24782== Lock acquired, processing the job...
[2025-01-07 09:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:07:03] Production.INFO: ==24784== Lock acquired, processing the job...
[2025-01-07 09:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:07:03] Production.INFO: ==24780== Lock acquired, processing the job...
[2025-01-07 09:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:07:03] Production.INFO: Account Balance Start.
[2025-01-07 09:07:03] Production.INFO: CreateAllLog Start
[2025-01-07 09:07:03] Production.INFO: 117
[2025-01-07 09:07:03] Production.INFO: Date 2024-12-08
[2025-01-07 09:07:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:07:03] Production.INFO: ==24786== Lock acquired, processing the job...
[2025-01-07 09:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:07:03] Production.INFO: Date 2024-12-09
[2025-01-07 09:07:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:07:03] Production.INFO: Date 2024-12-10
[2025-01-07 09:07:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:07:03] Production.INFO: Date 2024-12-11
[2025-01-07 09:07:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:07:04] Production.INFO: ==24788== Lock acquired, processing the job...
[2025-01-07 09:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:07:04] Production.INFO: Date 2024-12-12
[2025-01-07 09:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:07:04] Production.INFO: Date 2024-12-13
[2025-01-07 09:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:07:04] Production.INFO: Date 2024-12-14
[2025-01-07 09:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:07:04] Production.INFO: count ==21
[2025-01-07 09:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:07:04] Production.INFO: count ==21
[2025-01-07 09:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193874') start
[2025-01-07 09:07:04] Production.ERROR: done
[2025-01-07 09:07:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:07:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193874') end
[2025-01-07 09:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:07:04] Production.INFO: 1
[2025-01-07 09:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:07:04] Production.INFO: ==24780== Releasing lock...
[2025-01-07 09:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:07:04] Production.ERROR: done
[2025-01-07 09:07:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:07:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:07:04] Production.INFO: ==24788== Releasing lock...
[2025-01-07 09:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:07:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:07:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:07:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:07:04] Production.INFO: Date 2024-12-22
[2025-01-07 09:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:07:04] Production.INFO: Date 2024-12-23
[2025-01-07 09:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:07:04] Production.INFO: Date 2024-12-24
[2025-01-07 09:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:07:04] Production.INFO: Date 2024-12-25
[2025-01-07 09:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:07:04] Production.INFO: Date 2024-12-26
[2025-01-07 09:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:07:04] Production.INFO: Date 2024-12-27
[2025-01-07 09:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:07:04] Production.INFO: Date 2024-12-28
[2025-01-07 09:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:07:04] Production.INFO: Date 2024-12-29
[2025-01-07 09:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:07:04] Production.INFO: Date 2024-12-30
[2025-01-07 09:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:07:04] Production.INFO: Date 2024-12-31
[2025-01-07 09:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:07:04] Production.INFO: Date 2025-01-01
[2025-01-07 09:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:07:04] Production.INFO: Date 2025-01-02
[2025-01-07 09:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:07:04] Production.INFO: Date 2025-01-03
[2025-01-07 09:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:07:04] Production.INFO: Date 2025-01-04
[2025-01-07 09:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:07:04] Production.INFO: Date 2025-01-05
[2025-01-07 09:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:07:05] Production.INFO: Date 2025-01-06
[2025-01-07 09:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:07:05] Production.INFO: Date 2025-01-07
[2025-01-07 09:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:07:05] Production.INFO: Total Charge 0
[2025-01-07 09:07:05] Production.INFO: CreateAllLog End
[2025-01-07 09:07:05] Production.INFO: Account Balance End.
[2025-01-07 09:07:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:07:05] Production.INFO: ==24784== Releasing lock...
[2025-01-07 09:07:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:07:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:07:05
[end_date_ymd] => 2025-01-07 09:07:05
[RateCDR] => 1
)
[2025-01-07 09:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 06:07:05' and `end` < '2025-01-07 09:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 09:07:11] Production.ERROR: CronJobId end10
[2025-01-07 09:07:11] Production.INFO: ==24782== Releasing lock...
[2025-01-07 09:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:07:13] Production.INFO: call_cost start
[2025-01-07 09:07:13] Production.INFO: call_cost end
[2025-01-07 09:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:07:14] Production.INFO: ==24778== Releasing lock...
[2025-01-07 09:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:07:18] Production.INFO: count ==818
[2025-01-07 09:07:19] Production.ERROR: pbx CDR StartTime 2025-01-07 06:07:05 - End Time 2025-01-07 09:07:05
[2025-01-07 09:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193875', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193875', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193875', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193875', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:07:19] Production.INFO: ProcessCDR(1,14193875,1,1,2)
[2025-01-07 09:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193875,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:07:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193875,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:07:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193875,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:07:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193875,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193875', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193875', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:07:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:07:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:07:23] Production.INFO: ==24786== Releasing lock...
[2025-01-07 09:07:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:07:23] Production.INFO: 34.25 MB #Memory Used#
[2025-01-07 14:08:02] Production.INFO: ==24848== Lock acquired, processing the job...
[2025-01-07 14:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:08:02] Production.INFO: neon service started
[2025-01-07 14:08:02] Production.INFO: neon service started
[2025-01-07 14:08:02] Production.INFO: ==24848== Releasing lock...
[2025-01-07 14:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:08:02] Production.INFO: ==24852== Lock acquired, processing the job...
[2025-01-07 09:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 14:08:03] Production.INFO: ==24854== Lock acquired, processing the job...
[2025-01-07 14:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:08:03] Production.INFO: ==24852== Releasing lock...
[2025-01-07 09:08:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:08:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 14:08:03] Production.INFO: ==24854== Releasing lock...
[2025-01-07 14:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:08:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:08:04] Production.INFO: ==24862== Lock acquired, processing the job...
[2025-01-07 09:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:08:04] Production.INFO: ==24864== Lock acquired, processing the job...
[2025-01-07 09:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:08:04] Production.INFO: Account Balance Start.
[2025-01-07 09:08:04] Production.INFO: CreateAllLog Start
[2025-01-07 09:08:04] Production.INFO: 117
[2025-01-07 09:08:04] Production.INFO: Date 2024-12-08
[2025-01-07 09:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:08:04] Production.INFO: ==24856== Lock acquired, processing the job...
[2025-01-07 09:08:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:08:04] Production.INFO: Date 2024-12-09
[2025-01-07 09:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:08:04] Production.INFO: Date 2024-12-10
[2025-01-07 09:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:08:04] Production.INFO: ==24866== Lock acquired, processing the job...
[2025-01-07 09:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:08:04] Production.INFO: ==24860== Lock acquired, processing the job...
[2025-01-07 09:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:08:04] Production.INFO: ==24858== Lock acquired, processing the job...
[2025-01-07 09:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:08:04] Production.INFO: Date 2024-12-11
[2025-01-07 09:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:08:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:08:04] Production.INFO: Date 2024-12-12
[2025-01-07 09:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:08:04] Production.INFO: Date 2024-12-13
[2025-01-07 09:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:08:04] Production.INFO: Date 2024-12-14
[2025-01-07 09:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:08:04] Production.ERROR: done
[2025-01-07 09:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:08:04] Production.INFO: count ==21
[2025-01-07 09:08:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 09:08:04] Production.INFO: count ==21
[2025-01-07 09:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193879') start
[2025-01-07 09:08:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:08:04] Production.ERROR: done
[2025-01-07 09:08:04] Production.INFO: ==24858== Releasing lock...
[2025-01-07 09:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:08:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:08:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:08:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:08:05] Production.ERROR: PBX CALL prc_importPBXExtension('14193879') end
[2025-01-07 09:08:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:08:05] Production.INFO: 1
[2025-01-07 09:08:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:08:05] Production.INFO: Date 2024-12-20
[2025-01-07 09:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:08:05] Production.INFO: Date 2024-12-21
[2025-01-07 09:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:08:05] Production.INFO: ==24866== Releasing lock...
[2025-01-07 09:08:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:08:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:08:05] Production.INFO: Date 2024-12-22
[2025-01-07 09:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:08:05] Production.INFO: Date 2024-12-23
[2025-01-07 09:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:08:05] Production.INFO: Date 2024-12-24
[2025-01-07 09:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:08:05] Production.INFO: Date 2024-12-25
[2025-01-07 09:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:08:05] Production.INFO: Date 2024-12-26
[2025-01-07 09:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:08:05] Production.INFO: Date 2024-12-27
[2025-01-07 09:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:08:05] Production.INFO: Date 2024-12-28
[2025-01-07 09:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:08:05] Production.INFO: Date 2024-12-29
[2025-01-07 09:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:08:05] Production.INFO: Date 2024-12-30
[2025-01-07 09:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:08:05
[end_date_ymd] => 2025-01-07 09:08:05
[RateCDR] => 1
)
[2025-01-07 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-07 06:08:05' and `end` < '2025-01-07 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-07 09:08:05] Production.INFO: Date 2024-12-31
[2025-01-07 09:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:08:05] Production.INFO: Date 2025-01-01
[2025-01-07 09:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:08:06] Production.INFO: Date 2025-01-02
[2025-01-07 09:08:06] Production.INFO: Reseller ==> 0
[2025-01-07 09:08:06] Production.INFO: Date 2025-01-03
[2025-01-07 09:08:06] Production.INFO: Reseller ==> 0
[2025-01-07 09:08:06] Production.INFO: Date 2025-01-04
[2025-01-07 09:08:06] Production.INFO: Reseller ==> 0
[2025-01-07 09:08:06] Production.INFO: Date 2025-01-05
[2025-01-07 09:08:06] Production.INFO: Reseller ==> 0
[2025-01-07 09:08:06] Production.INFO: Date 2025-01-06
[2025-01-07 09:08:06] Production.INFO: Reseller ==> 0
[2025-01-07 09:08:06] Production.INFO: Date 2025-01-07
[2025-01-07 09:08:06] Production.INFO: Reseller ==> 0
[2025-01-07 09:08:06] Production.INFO: Total Charge 0
[2025-01-07 09:08:06] Production.INFO: CreateAllLog End
[2025-01-07 09:08:06] Production.INFO: Account Balance End.
[2025-01-07 09:08:06] Production.ERROR: CronJobId end 12
[2025-01-07 09:08:06] Production.INFO: ==24862== Releasing lock...
[2025-01-07 09:08:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:08:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:08:12] Production.ERROR: CronJobId end10
[2025-01-07 09:08:12] Production.INFO: ==24860== Releasing lock...
[2025-01-07 09:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:08:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:08:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:08:14] Production.INFO: call_cost start
[2025-01-07 09:08:14] Production.INFO: call_cost end
[2025-01-07 09:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:08:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:08:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:08:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:08:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:08:15] Production.INFO: ==24856== Releasing lock...
[2025-01-07 09:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:08:18] Production.INFO: count ==830
[2025-01-07 09:08:19] Production.ERROR: pbx CDR StartTime 2025-01-07 06:08:05 - End Time 2025-01-07 09:08:05
[2025-01-07 09:08:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193880', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193880', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193880', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193880', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:08:19] Production.INFO: ProcessCDR(1,14193880,1,1,2)
[2025-01-07 09:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193880,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:08:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193880,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:08:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193880,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:08:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193880,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193880', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193880', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:08:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:08:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:08:23] Production.INFO: ==24864== Releasing lock...
[2025-01-07 09:08:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:08:23] Production.INFO: 34.75 MB #Memory Used#
[2025-01-07 14:09:01] Production.INFO: ==24924== Lock acquired, processing the job...
[2025-01-07 14:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:09:01] Production.INFO: neon service started
[2025-01-07 14:09:01] Production.INFO: neon service started
[2025-01-07 14:09:01] Production.INFO: ==24924== Releasing lock...
[2025-01-07 14:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:09:02] Production.INFO: ==24926== Lock acquired, processing the job...
[2025-01-07 09:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 14:09:02] Production.INFO: ==24928== Lock acquired, processing the job...
[2025-01-07 14:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:09:02] Production.INFO: ==24928== Releasing lock...
[2025-01-07 14:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:09:02] Production.INFO: ==24926== Releasing lock...
[2025-01-07 09:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:09:03] Production.INFO: ==24931== Lock acquired, processing the job...
[2025-01-07 09:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:09:03] Production.INFO: ==24933== Lock acquired, processing the job...
[2025-01-07 09:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:09:03] Production.INFO: ==24941== Lock acquired, processing the job...
[2025-01-07 09:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:09:03] Production.INFO: count ==21
[2025-01-07 09:09:03] Production.INFO: ==24933== Releasing lock...
[2025-01-07 09:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 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-07 09:09:04] Production.INFO: ==24935== Lock acquired, processing the job...
[2025-01-07 09:09:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:09:04] Production.INFO: count ==21
[2025-01-07 09:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193883') start
[2025-01-07 09:09:04] Production.INFO: ==24939== Lock acquired, processing the job...
[2025-01-07 09:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:09:04] Production.INFO: ==24937== Lock acquired, processing the job...
[2025-01-07 09:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:09:04] Production.INFO: Account Balance Start.
[2025-01-07 09:09:04] Production.INFO: CreateAllLog Start
[2025-01-07 09:09:04] Production.INFO: 117
[2025-01-07 09:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193883') end
[2025-01-07 09:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:09:04] Production.INFO: 1
[2025-01-07 09:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:09:04] Production.INFO: Date 2024-12-08
[2025-01-07 09:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:09:04] Production.INFO: ==24941== Releasing lock...
[2025-01-07 09:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:09:04] Production.INFO: Date 2024-12-09
[2025-01-07 09:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:09:04] Production.ERROR: done
[2025-01-07 09:09:04] Production.INFO: Date 2024-12-10
[2025-01-07 09:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:09:04] Production.INFO: Date 2024-12-11
[2025-01-07 09:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:09:04] Production.INFO: Date 2024-12-12
[2025-01-07 09:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:09:04] Production.INFO: Date 2024-12-13
[2025-01-07 09:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:09:04] Production.INFO: Date 2024-12-14
[2025-01-07 09:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:09:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:09:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:09:04] Production.ERROR: done
[2025-01-07 09:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:09:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:09:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:09:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:09:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:09:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:09:04] Production.INFO: Date 2024-12-22
[2025-01-07 09:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:09:04] Production.INFO: Date 2024-12-23
[2025-01-07 09:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:09:05] Production.INFO: Date 2024-12-24
[2025-01-07 09:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:09:05] Production.INFO: Date 2024-12-25
[2025-01-07 09:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:09:05] Production.INFO: Date 2024-12-26
[2025-01-07 09:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:09:05] Production.INFO: Date 2024-12-27
[2025-01-07 09:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:09:05] Production.INFO: Date 2024-12-28
[2025-01-07 09:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:09:05] Production.INFO: Date 2024-12-29
[2025-01-07 09:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:09:05] Production.INFO: Date 2024-12-30
[2025-01-07 09:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:09:05] Production.INFO: Date 2024-12-31
[2025-01-07 09:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:09:05] Production.INFO: Date 2025-01-01
[2025-01-07 09:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:09:05] Production.INFO: Date 2025-01-02
[2025-01-07 09:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:09:05] Production.INFO: Date 2025-01-03
[2025-01-07 09:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:09:05] Production.INFO: Date 2025-01-04
[2025-01-07 09:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:09:05] Production.INFO: Date 2025-01-05
[2025-01-07 09:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:09:05] Production.INFO: Date 2025-01-06
[2025-01-07 09:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:09:05] Production.INFO: Date 2025-01-07
[2025-01-07 09:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:09:05] Production.INFO: Total Charge 0
[2025-01-07 09:09:05] Production.INFO: CreateAllLog End
[2025-01-07 09:09:05] Production.INFO: Account Balance End.
[2025-01-07 09:09:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:09:05] Production.INFO: ==24937== Releasing lock...
[2025-01-07 09:09:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:09:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:09:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:09:06
[end_date_ymd] => 2025-01-07 09:09:06
[RateCDR] => 1
)
[2025-01-07 09:09:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 06:09:06' and `end` < '2025-01-07 09:09:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 09:09:12] Production.ERROR: CronJobId end10
[2025-01-07 09:09:12] Production.INFO: ==24935== Releasing lock...
[2025-01-07 09:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:09:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:09:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:09:14] Production.INFO: call_cost start
[2025-01-07 09:09:14] Production.INFO: call_cost end
[2025-01-07 09:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:09:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:09:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:09:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:09:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:09:15] Production.INFO: ==24931== Releasing lock...
[2025-01-07 09:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:09:18] Production.INFO: count ==832
[2025-01-07 09:09:19] Production.ERROR: pbx CDR StartTime 2025-01-07 06:09:06 - End Time 2025-01-07 09:09:06
[2025-01-07 09:09:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193885', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193885', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193885', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193885', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:09:19] Production.INFO: ProcessCDR(1,14193885,1,1,2)
[2025-01-07 09:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193885,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:09:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193885,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:09:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193885,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:09:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193885,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193885', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:09:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193885', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:09:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:09:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:09:24] Production.INFO: ==24939== Releasing lock...
[2025-01-07 09:09:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:09:24] Production.INFO: 34.75 MB #Memory Used#
[2025-01-07 14:10:01] Production.INFO: ==24999== Lock acquired, processing the job...
[2025-01-07 14:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:10:01] Production.INFO: neon service started
[2025-01-07 14:10:01] Production.INFO: neon service started
[2025-01-07 14:10:01] Production.INFO: ==24999== Releasing lock...
[2025-01-07 14:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:10:01] Production.INFO: ==25001== Lock acquired, processing the job...
[2025-01-07 09:10:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 14:10:02] Production.INFO: ==25003== Lock acquired, processing the job...
[2025-01-07 14:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:10:02] Production.INFO: ==25003== Releasing lock...
[2025-01-07 14:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:10:02] Production.INFO: ==25001== Releasing lock...
[2025-01-07 09:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:10:03] Production.INFO: ==25005== Lock acquired, processing the job...
[2025-01-07 09:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 09:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 09:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 09:10:03] Production.INFO: ==25005== Releasing lock...
[2025-01-07 09:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 09:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 09:10:03] Production.INFO: ==25012== Lock acquired, processing the job...
[2025-01-07 09:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:10:03] Production.INFO: ==25014== Lock acquired, processing the job...
[2025-01-07 09:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:10:03] Production.INFO: ==25009== Lock acquired, processing the job...
[2025-01-07 09:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:10:03] Production.INFO: Account Balance Start.
[2025-01-07 09:10:03] Production.INFO: CreateAllLog Start
[2025-01-07 09:10:03] Production.INFO: 117
[2025-01-07 09:10:03] Production.INFO: Date 2024-12-08
[2025-01-07 09:10:03] Production.INFO: ==25007== Lock acquired, processing the job...
[2025-01-07 09:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:10:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:10:03] Production.INFO: Date 2024-12-09
[2025-01-07 09:10:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:10:03] Production.INFO: Date 2024-12-10
[2025-01-07 09:10:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:10:03] Production.INFO: Date 2024-12-11
[2025-01-07 09:10:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:10:03] Production.INFO: Date 2024-12-12
[2025-01-07 09:10:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:10:03] Production.INFO: Date 2024-12-13
[2025-01-07 09:10:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:10:03] Production.INFO: ==25016== Lock acquired, processing the job...
[2025-01-07 09:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:10:03] Production.INFO: ==25018== Lock acquired, processing the job...
[2025-01-07 09:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 09:10:03] Production.INFO: Date 2024-12-14
[2025-01-07 09:10:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:10:03] Production.INFO: ==25020== Lock acquired, processing the job...
[2025-01-07 09:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:10:03] Production.INFO: Date 2024-12-15
[2025-01-07 09:10:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:10:04] Production.INFO: ==25009== Releasing lock...
[2025-01-07 09:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:10:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:10:04] Production.ERROR: done
[2025-01-07 09:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 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-07 09:10:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:10:04] Production.INFO: count ==21
[2025-01-07 09:10:04] Production.ERROR: done
[2025-01-07 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-07 09:10:04] Production.INFO: count ==21
[2025-01-07 09:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193889') start
[2025-01-07 09:10:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 09:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14193890', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 09:10:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:10:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193889') end
[2025-01-07 09:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:10:04] Production.INFO: 1
[2025-01-07 09:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:10:04] Production.ERROR: done
[2025-01-07 09:10:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:10:04] Production.INFO: ==25020== Releasing lock...
[2025-01-07 09:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:10:04] Production.INFO: Date 2024-12-22
[2025-01-07 09:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:10:04] Production.INFO: Date 2024-12-23
[2025-01-07 09:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:10:04] Production.INFO: Date 2024-12-24
[2025-01-07 09:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:10:04] Production.INFO: Date 2024-12-25
[2025-01-07 09:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:10:04] Production.INFO: Date 2024-12-26
[2025-01-07 09:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:10:04] Production.INFO: Date 2024-12-27
[2025-01-07 09:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:10:04] Production.INFO: Date 2024-12-28
[2025-01-07 09:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:10:04] Production.INFO: Date 2024-12-29
[2025-01-07 09:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:10:04] Production.INFO: Date 2024-12-30
[2025-01-07 09:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:10:04] Production.INFO: Date 2024-12-31
[2025-01-07 09:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:10:04] Production.INFO: Date 2025-01-01
[2025-01-07 09:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:10:04] Production.INFO: Date 2025-01-02
[2025-01-07 09:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:10:04] Production.INFO: Date 2025-01-03
[2025-01-07 09:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:10:04] Production.INFO: Date 2025-01-04
[2025-01-07 09:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:10:05] Production.INFO: Date 2025-01-05
[2025-01-07 09:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:10:05] Production.INFO: Date 2025-01-06
[2025-01-07 09:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:10:05] Production.INFO: Date 2025-01-07
[2025-01-07 09:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:10:05] Production.INFO: Total Charge 0
[2025-01-07 09:10:05] Production.INFO: CreateAllLog End
[2025-01-07 09:10:05] Production.INFO: Account Balance End.
[2025-01-07 09:10:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:10:05] Production.INFO: ==25014== Releasing lock...
[2025-01-07 09:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:10:05
[end_date_ymd] => 2025-01-07 09:10:05
[RateCDR] => 1
)
[2025-01-07 09:10:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 06:10:05' and `end` < '2025-01-07 09:10:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 09:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14193890', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 09:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 09:10:08] Production.INFO: ProcessCDR(1,14193890,1,1,2)
[2025-01-07 09:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14193890,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14193890,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:10:08] Production.INFO: ==25018== Releasing lock...
[2025-01-07 09:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 09:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-07 09:10:12] Production.ERROR: CronJobId end10
[2025-01-07 09:10:12] Production.INFO: ==25012== Releasing lock...
[2025-01-07 09:10:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:10:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:10:14] Production.INFO: call_cost start
[2025-01-07 09:10:14] Production.INFO: call_cost end
[2025-01-07 09:10:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:10:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:10:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:10:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:10:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:10:15] Production.INFO: ==25007== Releasing lock...
[2025-01-07 09:10:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:10:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:10:18] Production.INFO: count ==847
[2025-01-07 09:10:18] Production.ERROR: pbx CDR StartTime 2025-01-07 06:10:05 - End Time 2025-01-07 09:10:05
[2025-01-07 09:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193891', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193891', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193891', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193891', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:10:18] Production.INFO: ProcessCDR(1,14193891,1,1,2)
[2025-01-07 09:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193891,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:10:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193891,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:10:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193891,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:10:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193891,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193891', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193891', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:10:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:10:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:10:23] Production.INFO: ==25016== Releasing lock...
[2025-01-07 09:10:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:10:23] Production.INFO: 34.75 MB #Memory Used#
[2025-01-07 14:11:01] Production.INFO: ==25075== Lock acquired, processing the job...
[2025-01-07 14:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:11:01] Production.INFO: neon service started
[2025-01-07 14:11:01] Production.INFO: neon service started
[2025-01-07 14:11:01] Production.INFO: ==25075== Releasing lock...
[2025-01-07 14:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:11:02] Production.INFO: ==25077== Lock acquired, processing the job...
[2025-01-07 09:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:11:02] Production.INFO: ==25077== Releasing lock...
[2025-01-07 09:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 14:11:02] Production.INFO: ==25079== Lock acquired, processing the job...
[2025-01-07 14:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:11:02] Production.INFO: ==25079== Releasing lock...
[2025-01-07 14:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:11:03] Production.INFO: ==25081== Lock acquired, processing the job...
[2025-01-07 09:11:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10485 #Starts#
[2025-01-07 09:11:03] Production.INFO: -- Xero Api Check --
[2025-01-07 09:11:03] Production.INFO: ==25083== Lock acquired, processing the job...
[2025-01-07 09:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:11:03] Production.INFO: ==25085== Lock acquired, processing the job...
[2025-01-07 09:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:11:03] Production.INFO: ==25087== Lock acquired, processing the job...
[2025-01-07 09:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:11:03] Production.INFO: ==25089== Lock acquired, processing the job...
[2025-01-07 09:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:11:03] Production.INFO: ==25091== Lock acquired, processing the job...
[2025-01-07 09:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:11:03] Production.INFO: ==25093== Lock acquired, processing the job...
[2025-01-07 09:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:11:03] Production.INFO: Account Balance Start.
[2025-01-07 09:11:03] Production.INFO: CreateAllLog Start
[2025-01-07 09:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:11:03] Production.INFO: 117
[2025-01-07 09:11:03] Production.INFO: Date 2024-12-08
[2025-01-07 09:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:11:03] Production.INFO: Date 2024-12-09
[2025-01-07 09:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:11:03] Production.INFO: Date 2024-12-10
[2025-01-07 09:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:11:03] Production.INFO: count ==21
[2025-01-07 09:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:11:03] Production.INFO: count ==21
[2025-01-07 09:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193895') start
[2025-01-07 09:11:03] Production.INFO: Date 2024-12-11
[2025-01-07 09:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:11:04] Production.INFO: Date 2024-12-12
[2025-01-07 09:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:11:04] Production.ERROR: done
[2025-01-07 09:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:11:04] Production.INFO: ==25085== Releasing lock...
[2025-01-07 09:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:11:04] Production.INFO: Date 2024-12-13
[2025-01-07 09:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:11:04] Production.ERROR: done
[2025-01-07 09:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193895') end
[2025-01-07 09:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:11:04] Production.INFO: 1
[2025-01-07 09:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:11:04] Production.INFO: Date 2024-12-14
[2025-01-07 09:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:11:04] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 855
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.964574
[namelookup_time] => 0.534056
[connect_time] => 0.536415
[pretransfer_time] => 0.817708
[size_upload] => 82
[size_download] => 2755
[speed_download] => 2856
[speed_upload] => 85
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.964522
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.17
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 45292
)
[2025-01-07 09:11:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTkwNjQsImV4cCI6MTczNjI1OTM2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjU5MDY0LCJhdF9oYXNoIjoibWtkdnZMTVljcWd5c2RDS0tVSE4yZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.tcUtm0igKfdFYoB-kI17_XzC7X4VWSlGAzvo4GUsFL_FIA6z0F-07ZdEDLcxK8dT3rxutQmaKnDFhOwWyf_wKnH1urxprqsJKj58Tt9AYK_pt1_hiaa1EgUyLYjyrFwXalYrRBDSSQCD3ZxrIhGXf9RLjm8Wp_IyoiiFrgp2y6QP94qvxQYuFc99TlAwrNqcoZztTuEnyn9EfioaZuMFd8lonibhka8jX8SS1WtoNDc3yJ7vK4UJ-FBhDStbz_h4F_v0DNSnucjnqgmAllm5iFdjcIW_L5eqkfz66VZf0QpW38XLcF2GAhsabxYu9asb1M-ZUluaQc3PoUlCkpUumQ
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTkwNjQsImV4cCI6MTczNjI2MDg2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.kJgYRVB3AJ1FrVcS-YWHuqZicNak9xnkVWfPR79lwGPzO_ScOrOscW64G7_J5wX12DXoizEAgNl02lN8ouz15lawl5lG6PGEKj77uxs1c8tCubh1lp28MDQrIoC19OZ0XtSeZ_0VChknQEtS7oGwrUaB6Ut4u8n2970xPosvZIFwK1qNhuRYqPfb1KqE3Dw-_6W_GRRKJnsDJ092We4I5-wEvAwdki9boLv9R5A0936sDC3jkqla5KeFRSUeAf_z_oauTMwJ7gC8rOdISfKdgoYOb5DeImVprHmUDdnO4uYiTJI6rLCjxmwx6OnUNwr6ogcqx3Zk-haP027NvlcO3Q
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => k-ByRP9YwgbekWYDi19ObbjGO1TVrn2P_BZBUJgtUYw
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 09:11:04] Production.INFO: ==25093== Releasing lock...
[2025-01-07 09:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:11:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:11:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTkwNjQsImV4cCI6MTczNjI1OTM2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjU5MDY0LCJhdF9oYXNoIjoibWtkdnZMTVljcWd5c2RDS0tVSE4yZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.tcUtm0igKfdFYoB-kI17_XzC7X4VWSlGAzvo4GUsFL_FIA6z0F-07ZdEDLcxK8dT3rxutQmaKnDFhOwWyf_wKnH1urxprqsJKj58Tt9AYK_pt1_hiaa1EgUyLYjyrFwXalYrRBDSSQCD3ZxrIhGXf9RLjm8Wp_IyoiiFrgp2y6QP94qvxQYuFc99TlAwrNqcoZztTuEnyn9EfioaZuMFd8lonibhka8jX8SS1WtoNDc3yJ7vK4UJ-FBhDStbz_h4F_v0DNSnucjnqgmAllm5iFdjcIW_L5eqkfz66VZf0QpW38XLcF2GAhsabxYu9asb1M-ZUluaQc3PoUlCkpUumQ
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTkwNjQsImV4cCI6MTczNjI2MDg2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.kJgYRVB3AJ1FrVcS-YWHuqZicNak9xnkVWfPR79lwGPzO_ScOrOscW64G7_J5wX12DXoizEAgNl02lN8ouz15lawl5lG6PGEKj77uxs1c8tCubh1lp28MDQrIoC19OZ0XtSeZ_0VChknQEtS7oGwrUaB6Ut4u8n2970xPosvZIFwK1qNhuRYqPfb1KqE3Dw-_6W_GRRKJnsDJ092We4I5-wEvAwdki9boLv9R5A0936sDC3jkqla5KeFRSUeAf_z_oauTMwJ7gC8rOdISfKdgoYOb5DeImVprHmUDdnO4uYiTJI6rLCjxmwx6OnUNwr6ogcqx3Zk-haP027NvlcO3Q
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => k-ByRP9YwgbekWYDi19ObbjGO1TVrn2P_BZBUJgtUYw
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 09:11:04] Production.INFO: AccountID 232
[2025-01-07 09:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:11:04] Production.INFO: AccountName Jenopher Inc.
[2025-01-07 09:11:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:11:04] Production.INFO: Checkcustomer
[2025-01-07 09:11:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Jenopher%20Inc."
[2025-01-07 09:11:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:11:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:11:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:11:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:11:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:11:04] Production.INFO: Date 2024-12-22
[2025-01-07 09:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:11:04] Production.INFO: Date 2024-12-23
[2025-01-07 09:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:11:04] Production.INFO: Date 2024-12-24
[2025-01-07 09:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:11:04] Production.INFO: Date 2024-12-25
[2025-01-07 09:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:11:04] Production.INFO: Date 2024-12-26
[2025-01-07 09:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:11:04] Production.INFO: Date 2024-12-27
[2025-01-07 09:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:11:04] Production.INFO: Date 2024-12-28
[2025-01-07 09:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:11:05] Production.INFO: Date 2024-12-29
[2025-01-07 09:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:11:05] Production.INFO: Date 2024-12-30
[2025-01-07 09:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:11:05] Production.INFO: Date 2024-12-31
[2025-01-07 09:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:11:05] Production.INFO: Date 2025-01-01
[2025-01-07 09:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:11:05] Production.INFO: Date 2025-01-02
[2025-01-07 09:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:11:05] Production.INFO: Date 2025-01-03
[2025-01-07 09:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:11:05] Production.INFO: Date 2025-01-04
[2025-01-07 09:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:11:05] Production.INFO: Date 2025-01-05
[2025-01-07 09:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:11:05
[end_date_ymd] => 2025-01-07 09:11:05
[RateCDR] => 1
)
[2025-01-07 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-07 06:11:05' and `end` < '2025-01-07 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-07 09:11:05] Production.INFO: Date 2025-01-06
[2025-01-07 09:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:11:05] Production.INFO: Date 2025-01-07
[2025-01-07 09:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:11:05] Production.INFO: Total Charge 0
[2025-01-07 09:11:05] Production.INFO: CreateAllLog End
[2025-01-07 09:11:05] Production.INFO: Account Balance End.
[2025-01-07 09:11:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:11:05] Production.INFO: ==25089== Releasing lock...
[2025-01-07 09:11:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:11:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:11:07] Production.INFO: Contact id print CheckCustomer Case===5fa26058-5c6f-4ffe-9c35-4f8d77ccf359
[2025-01-07 09:11:07] Production.INFO: -- count --1
[2025-01-07 09:11:07] Production.INFO: -- Xero Add Inovice --
[2025-01-07 09:11:07] Production.INFO: CheckInvoice xerov2: INV11166
[2025-01-07 09:11:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11166
[2025-01-07 09:11:10] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 09:11:10] Production.INFO: Invoice SubTotal 63.200000
[2025-01-07 09:11:10] Production.INFO: Invoice DetTotal 63.2
[2025-01-07 09:11:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Jenopher%20Inc."
[2025-01-07 09:11:11] Production.ERROR: CronJobId end10
[2025-01-07 09:11:11] Production.INFO: ==25087== Releasing lock...
[2025-01-07 09:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:11:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 09:11:13] Production.INFO: call_cost start
[2025-01-07 09:11:13] Production.INFO: call_cost end
[2025-01-07 09:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:11:14] Production.INFO: ==25083== Releasing lock...
[2025-01-07 09:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:11:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 09:11:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 09:11:19] Production.INFO: count ==945
[2025-01-07 09:11:19] Production.ERROR: pbx CDR StartTime 2025-01-07 06:11:05 - End Time 2025-01-07 09:11:05
[2025-01-07 09:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193896', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193896', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193896', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193896', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:11:19] Production.INFO: ProcessCDR(1,14193896,1,1,2)
[2025-01-07 09:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193896,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:11:20] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 90.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension (discounted - utility phone/low call volume)",Quantity : 5,UnitAmount : 12.990000,LineAmount : 6.500000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Business Essentials subscription. Collaboration and productivity suite, managed by OnSwitch.",Quantity : 7,UnitAmount : 8.100000,LineAmount : 56.700000}
[2025-01-07 09:11:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193896,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:11:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193896,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:11:23] Production.INFO: ==== result =====
[2025-01-07 09:11:23] Production.INFO: {
"Id": "2749f69a-8738-44a4-97c7-9e409f43aaf2",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736259083684)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "532afede-97fc-4860-98bb-896a1c391f9b",
"InvoiceNumber": "INV11166",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 71.42,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 58.46,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "5fa26058-5c6f-4ffe-9c35-4f8d77ccf359",
"ContactStatus": "ACTIVE",
"Name": "Jenopher Inc.",
"FirstName": "Chris",
"LastName": "Lumley",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1724224696790+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-07T00:00:00",
"Date": "\/Date(1733529600000+0000)\/",
"DueDateString": "2025-01-06T00:00:00",
"DueDate": "\/Date(1736121600000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "License for an Unlimited Canada/US Cloud Phone extension (discounted - utility phone/low call volume)",
"UnitAmount": 12.99,
"TaxType": "TAX020",
"TaxAmount": 0.85,
"LineAmount": 6.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 5.0000,
"DiscountRate": 90.00,
"LineItemID": "48500af9-a8db-45d3-a765-1ba9289d3a3e",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountEnteredAsPercent": true,
"DiscountAmount": 58.4500,
"ValidationErrors": []
},
{
"Description": "Microsoft 365 Business Essentials subscription. Collaboration and productivity suite, managed by OnSwitch.",
"UnitAmount": 8.10,
"TaxType": "TAX020",
"TaxAmount": 7.37,
"LineAmount": 56.70,
"AccountCode": "250",
"Tracking": [],
"Quantity": 7.0000,
"LineItemID": "f808ddad-0454-4e98-94b9-4eb1e1593caf",
"AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7",
"ValidationErrors": []
}
],
"SubTotal": 63.20,
"TotalTax": 8.22,
"Total": 71.42,
"UpdatedDateUTC": "\/Date(1736259083637+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 09:11:23] Production.INFO: -- Create Invoice id --532afede-97fc-4860-98bb-896a1c391f9b
[2025-01-07 09:11:23] Production.INFO: -- Create Invoice Done --
[2025-01-07 09:11:23] Production.INFO: -- Xero End Inovice --
[2025-01-07 09:11:23] Production.INFO: ==25081== Releasing lock...
[2025-01-07 09:11:23] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10485 #Stops#
[2025-01-07 09:11:23] Production.INFO: 29.75 MB #Memory Used#
[2025-01-07 09:11:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193896,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:11:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193896', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:11:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193896', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:11:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:11:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:11:24] Production.INFO: ==25091== Releasing lock...
[2025-01-07 09:11:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:11:24] Production.INFO: 35.75 MB #Memory Used#
[2025-01-07 14:12:02] Production.INFO: ==25155== Lock acquired, processing the job...
[2025-01-07 14:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:12:02] Production.INFO: neon service started
[2025-01-07 14:12:02] Production.INFO: neon service started
[2025-01-07 14:12:02] Production.INFO: ==25155== Releasing lock...
[2025-01-07 14:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 14:12:02] Production.INFO: ==25159== Lock acquired, processing the job...
[2025-01-07 14:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:12:02] Production.INFO: ==25159== Releasing lock...
[2025-01-07 14:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:12:02] Production.INFO: ==25157== Lock acquired, processing the job...
[2025-01-07 09:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:12:03] Production.INFO: ==25157== Releasing lock...
[2025-01-07 09:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:12:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:12:03] Production.INFO: ==25162== Lock acquired, processing the job...
[2025-01-07 09:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:12:03] Production.INFO: ==25166== Lock acquired, processing the job...
[2025-01-07 09:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:12:03] Production.INFO: ==25172== Lock acquired, processing the job...
[2025-01-07 09:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:12:03] Production.INFO: ==25164== Lock acquired, processing the job...
[2025-01-07 09:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:12:04] Production.INFO: count ==21
[2025-01-07 09:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:12:04] Production.INFO: ==25170== Lock acquired, processing the job...
[2025-01-07 09:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:12:04] Production.INFO: count ==21
[2025-01-07 09:12:04] Production.INFO: ==25168== Lock acquired, processing the job...
[2025-01-07 09:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193898') start
[2025-01-07 09:12:04] Production.INFO: Account Balance Start.
[2025-01-07 09:12:04] Production.INFO: CreateAllLog Start
[2025-01-07 09:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193898') end
[2025-01-07 09:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:12:04] Production.INFO: 1
[2025-01-07 09:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:12:04] Production.INFO: 117
[2025-01-07 09:12:04] Production.INFO: Date 2024-12-08
[2025-01-07 09:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:12:04] Production.INFO: Date 2024-12-09
[2025-01-07 09:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:12:04] Production.INFO: ==25172== Releasing lock...
[2025-01-07 09:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:12:04] Production.INFO: ==25164== Releasing lock...
[2025-01-07 09:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:12:04] Production.INFO: Date 2024-12-10
[2025-01-07 09:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:12:04] Production.INFO: Date 2024-12-11
[2025-01-07 09:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:12:04] Production.INFO: Date 2024-12-12
[2025-01-07 09:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:12:04] Production.INFO: Date 2024-12-13
[2025-01-07 09:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:12:04] Production.INFO: Date 2024-12-14
[2025-01-07 09:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:12:04] Production.ERROR: done
[2025-01-07 09:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:12:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:12:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:12:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:12:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:12:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:12:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:12:04] Production.ERROR: done
[2025-01-07 09:12:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:12:04] Production.INFO: Date 2024-12-22
[2025-01-07 09:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:12:04] Production.INFO: Date 2024-12-23
[2025-01-07 09:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:12:04] Production.INFO: Date 2024-12-24
[2025-01-07 09:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:12:04] Production.INFO: Date 2024-12-25
[2025-01-07 09:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:12:05] Production.INFO: Date 2024-12-26
[2025-01-07 09:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:12:05] Production.INFO: Date 2024-12-27
[2025-01-07 09:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:12:05] Production.INFO: Date 2024-12-28
[2025-01-07 09:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:12:05] Production.INFO: Date 2024-12-29
[2025-01-07 09:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:12:05] Production.INFO: Date 2024-12-30
[2025-01-07 09:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:12:05] Production.INFO: Date 2024-12-31
[2025-01-07 09:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:12:05] Production.INFO: Date 2025-01-01
[2025-01-07 09:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:12:05] Production.INFO: Date 2025-01-02
[2025-01-07 09:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:12:05] Production.INFO: Date 2025-01-03
[2025-01-07 09:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:12:05] Production.INFO: Date 2025-01-04
[2025-01-07 09:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:12:05] Production.INFO: Date 2025-01-05
[2025-01-07 09:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:12:05] Production.INFO: Date 2025-01-06
[2025-01-07 09:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:12:05] Production.INFO: Date 2025-01-07
[2025-01-07 09:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:12:05] Production.INFO: Total Charge 0
[2025-01-07 09:12:05] Production.INFO: CreateAllLog End
[2025-01-07 09:12:05] Production.INFO: Account Balance End.
[2025-01-07 09:12:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:12:05] Production.INFO: ==25168== Releasing lock...
[2025-01-07 09:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:12:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:12:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:12:06
[end_date_ymd] => 2025-01-07 09:12:06
[RateCDR] => 1
)
[2025-01-07 09: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-07 06:12:06' and `end` < '2025-01-07 09: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-07 09:12:11] Production.ERROR: CronJobId end10
[2025-01-07 09:12:11] Production.INFO: ==25166== Releasing lock...
[2025-01-07 09:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:12:13] Production.INFO: call_cost start
[2025-01-07 09:12:13] Production.INFO: call_cost end
[2025-01-07 09:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:12:14] Production.INFO: ==25162== Releasing lock...
[2025-01-07 09:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:12:19] Production.INFO: count ==956
[2025-01-07 09:12:19] Production.ERROR: pbx CDR StartTime 2025-01-07 06:12:06 - End Time 2025-01-07 09:12:06
[2025-01-07 09:12:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193901', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193901', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193901', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193901', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:12:19] Production.INFO: ProcessCDR(1,14193901,1,1,2)
[2025-01-07 09:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193901,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193901,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193901,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193901,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193901', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193901', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:12:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:12:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:12:22] Production.INFO: ==25170== Releasing lock...
[2025-01-07 09:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:12:22] Production.INFO: 36 MB #Memory Used#
[2025-01-07 14:13:01] Production.INFO: ==25266== Lock acquired, processing the job...
[2025-01-07 14:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:13:01] Production.INFO: neon service started
[2025-01-07 14:13:01] Production.INFO: neon service started
[2025-01-07 14:13:01] Production.INFO: ==25266== Releasing lock...
[2025-01-07 14:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:13:02] Production.INFO: ==25268== Lock acquired, processing the job...
[2025-01-07 09:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 14:13:02] Production.INFO: ==25270== Lock acquired, processing the job...
[2025-01-07 14:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:13:02] Production.INFO: ==25270== Releasing lock...
[2025-01-07 14:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:13:02] Production.INFO: ==25268== Releasing lock...
[2025-01-07 09:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:13:03] Production.INFO: ==25274== Lock acquired, processing the job...
[2025-01-07 09:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:13:03] Production.INFO: ==25272== Lock acquired, processing the job...
[2025-01-07 09:13:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10486 #Starts#
[2025-01-07 09:13:03] Production.INFO: ==25278== Lock acquired, processing the job...
[2025-01-07 09:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:13:03] Production.INFO: -- Xero Api Check --
[2025-01-07 09:13:03] Production.INFO: ==25280== Lock acquired, processing the job...
[2025-01-07 09:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:13:03] Production.INFO: ==25276== Lock acquired, processing the job...
[2025-01-07 09:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:13:03] Production.INFO: ==25284== Lock acquired, processing the job...
[2025-01-07 09:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:13:03] Production.INFO: Account Balance Start.
[2025-01-07 09:13:03] Production.INFO: CreateAllLog Start
[2025-01-07 09:13:03] Production.INFO: 117
[2025-01-07 09:13:03] Production.INFO: Date 2024-12-08
[2025-01-07 09:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:13:03] Production.INFO: ==25282== Lock acquired, processing the job...
[2025-01-07 09:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:13:03] Production.INFO: Date 2024-12-09
[2025-01-07 09:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:13:03] Production.INFO: count ==21
[2025-01-07 09:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:13:03] Production.INFO: count ==21
[2025-01-07 09:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193905') start
[2025-01-07 09:13:03] Production.INFO: Date 2024-12-10
[2025-01-07 09:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:13:03] Production.INFO: Date 2024-12-11
[2025-01-07 09:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:13:03] Production.INFO: Date 2024-12-12
[2025-01-07 09:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193905') end
[2025-01-07 09:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:13:03] Production.INFO: 1
[2025-01-07 09:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:13:03] Production.INFO: Date 2024-12-13
[2025-01-07 09:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:13:03] Production.INFO: Date 2024-12-14
[2025-01-07 09:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:13:03] Production.INFO: Date 2024-12-15
[2025-01-07 09:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:13:03] Production.INFO: ==25284== Releasing lock...
[2025-01-07 09:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:13:03] Production.INFO: ==25276== Releasing lock...
[2025-01-07 09:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:13:03] Production.ERROR: done
[2025-01-07 09:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:13:03] Production.INFO: Date 2024-12-16
[2025-01-07 09:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:13:03] Production.INFO: Date 2024-12-17
[2025-01-07 09:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:13:03] Production.INFO: Date 2024-12-18
[2025-01-07 09:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:13:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:13:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:13:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:13:04] Production.ERROR: done
[2025-01-07 09:13:04] Production.INFO: Date 2024-12-22
[2025-01-07 09:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:13:04] Production.INFO: Date 2024-12-23
[2025-01-07 09:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:13:04] Production.INFO: Date 2024-12-24
[2025-01-07 09:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:13:04] Production.INFO: Date 2024-12-25
[2025-01-07 09:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:13:04] Production.INFO: Date 2024-12-26
[2025-01-07 09:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:13:04] Production.INFO: Date 2024-12-27
[2025-01-07 09:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:13:04] Production.INFO: Date 2024-12-28
[2025-01-07 09:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:13:04] Production.INFO: Date 2024-12-29
[2025-01-07 09:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:13:04] Production.INFO: Date 2024-12-30
[2025-01-07 09:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:13:04] Production.INFO: Date 2024-12-31
[2025-01-07 09:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:13:04] Production.INFO: Date 2025-01-01
[2025-01-07 09:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:13:04] Production.INFO: Date 2025-01-02
[2025-01-07 09:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:13:04] Production.INFO: Date 2025-01-03
[2025-01-07 09:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:13:04] Production.INFO: Date 2025-01-04
[2025-01-07 09:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:13:04] Production.INFO: Date 2025-01-05
[2025-01-07 09:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:13:04] Production.INFO: Date 2025-01-06
[2025-01-07 09:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:13: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] => 858
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 1.141451
[namelookup_time] => 0.534794
[connect_time] => 0.545802
[pretransfer_time] => 0.897966
[size_upload] => 82
[size_download] => 2755
[speed_download] => 2413
[speed_upload] => 71
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 1.141416
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.33
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 43222
)
[2025-01-07 09:13:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTkxODQsImV4cCI6MTczNjI1OTQ4NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjU5MTg0LCJhdF9oYXNoIjoiQ1ZCNzBLR2QyVVZVUDBkUVRwSXJnQSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.S3TSouW1unmp8z68il8hO91D6snmZR6ZDg-TaKzfFHNELCyU9vMjto32wYKTNj8WjBtte0rs4-ZILpQPQwDsKnujSxj8Z3Zwqv21fyXW2L4rJHSHAao46y0cHTW1hPJ5gQ5tLexwspcK8A0MNwvqJhdJ8_5qU0Q0q-Q_MdaEA7-a6UPN3b-vTegyugtpc20hd5b5qc2yhONKHWVdKhUKEhzUXXHu8lxFjjuiIAs6wrLwl08RPu2CBXUwj2jlWtEne2QZPgMmFMAD9B7MgtD38VRCVj3QqN6RmKksv3iayiotufFG0VyNmPasUV3Lm35WRQAx-Yn3lMtNeQu6XwRgBQ
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTkxODQsImV4cCI6MTczNjI2MDk4NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.KDvl-rICED6bwtQqRIgE7ONDX8QCjGKoPRv9VI499asPsn-TPMs47sENJC_zIETN2-K0-x74PicZjAT_vy8xaMeiLP-cKrLJC5nO7nyf2xbrqfDWKknCP1hmHBqHh1osmcSUJlPb8wWgJKpfcNupRfFFREONJ0ZLIOSCZ6C-wm0aWCwUNo8XL6HFrSJI1sH7dGoFbm7qOsujdAfhMl9eJwLNP9RHt1aIAYUDij3hDEDrcl58MYMFLh7aok-6Oxag4h1C2CDBOl0h2738JLgDQ7ChKI9KWXB-g79O4zCV8Ym10MOPVHq5Gq1TAlAYWMXDLePBDyKNZ4HQlAlrZQ2k8g
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => THwwvnFCcLCTv6uuBwxNYmTT--4kVVWyr2sv1k-M-9k
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 09:13:04] Production.INFO: Date 2025-01-07
[2025-01-07 09:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:13:04] Production.INFO: Total Charge 0
[2025-01-07 09:13:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTkxODQsImV4cCI6MTczNjI1OTQ4NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjU5MTg0LCJhdF9oYXNoIjoiQ1ZCNzBLR2QyVVZVUDBkUVRwSXJnQSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.S3TSouW1unmp8z68il8hO91D6snmZR6ZDg-TaKzfFHNELCyU9vMjto32wYKTNj8WjBtte0rs4-ZILpQPQwDsKnujSxj8Z3Zwqv21fyXW2L4rJHSHAao46y0cHTW1hPJ5gQ5tLexwspcK8A0MNwvqJhdJ8_5qU0Q0q-Q_MdaEA7-a6UPN3b-vTegyugtpc20hd5b5qc2yhONKHWVdKhUKEhzUXXHu8lxFjjuiIAs6wrLwl08RPu2CBXUwj2jlWtEne2QZPgMmFMAD9B7MgtD38VRCVj3QqN6RmKksv3iayiotufFG0VyNmPasUV3Lm35WRQAx-Yn3lMtNeQu6XwRgBQ
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTkxODQsImV4cCI6MTczNjI2MDk4NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.KDvl-rICED6bwtQqRIgE7ONDX8QCjGKoPRv9VI499asPsn-TPMs47sENJC_zIETN2-K0-x74PicZjAT_vy8xaMeiLP-cKrLJC5nO7nyf2xbrqfDWKknCP1hmHBqHh1osmcSUJlPb8wWgJKpfcNupRfFFREONJ0ZLIOSCZ6C-wm0aWCwUNo8XL6HFrSJI1sH7dGoFbm7qOsujdAfhMl9eJwLNP9RHt1aIAYUDij3hDEDrcl58MYMFLh7aok-6Oxag4h1C2CDBOl0h2738JLgDQ7ChKI9KWXB-g79O4zCV8Ym10MOPVHq5Gq1TAlAYWMXDLePBDyKNZ4HQlAlrZQ2k8g
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => THwwvnFCcLCTv6uuBwxNYmTT--4kVVWyr2sv1k-M-9k
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 09:13:04] Production.INFO: CreateAllLog End
[2025-01-07 09:13:04] Production.INFO: AccountID 195
[2025-01-07 09:13:04] Production.INFO: AccountName TSFV Management Corp (Two Small Fish)
[2025-01-07 09:13:04] Production.INFO: Checkcustomer
[2025-01-07 09:13:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="TSFV%20Management%20Corp%20%28Two%20Small%20Fish%29"
[2025-01-07 09:13:04] Production.INFO: Account Balance End.
[2025-01-07 09:13:04] Production.ERROR: CronJobId end 12
[2025-01-07 09:13:04] Production.INFO: ==25280== Releasing lock...
[2025-01-07 09:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:13:05
[end_date_ymd] => 2025-01-07 09:13:05
[RateCDR] => 1
)
[2025-01-07 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-07 06:13:05' and `end` < '2025-01-07 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-07 09:13:07] Production.INFO: Contact id print CheckCustomer Case===9833b5c4-71b1-4ca5-9307-986f727c9b62
[2025-01-07 09:13:07] Production.INFO: -- count --1
[2025-01-07 09:13:07] Production.INFO: -- Xero Add Inovice --
[2025-01-07 09:13:07] Production.INFO: CheckInvoice xerov2: INV11156
[2025-01-07 09:13:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11156
[2025-01-07 09:13:09] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 09:13:09] Production.INFO: Invoice SubTotal 1.750000
[2025-01-07 09:13:09] Production.INFO: Invoice DetTotal 1.75
[2025-01-07 09:13:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="TSFV%20Management%20Corp%20%28Two%20Small%20Fish%29"
[2025-01-07 09:13:11] Production.ERROR: CronJobId end10
[2025-01-07 09:13:11] Production.INFO: ==25278== Releasing lock...
[2025-01-07 09:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:13:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 09:13:13] Production.INFO: call_cost start
[2025-01-07 09:13:13] Production.INFO: call_cost end
[2025-01-07 09:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:13:14] Production.INFO: ==25274== Releasing lock...
[2025-01-07 09:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:13:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 09:13:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 09:13:19] Production.INFO: count ==962
[2025-01-07 09:13:19] Production.ERROR: pbx CDR StartTime 2025-01-07 06:13:05 - End Time 2025-01-07 09:13:05
[2025-01-07 09:13:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193906', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193906', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193906', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193906', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:13:19] Production.INFO: ProcessCDR(1,14193906,1,1,2)
[2025-01-07 09:13:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193906,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:13:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193906,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:13:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193906,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:13:21] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "License for a VM-only line",Quantity : 1,UnitAmount : 1.750000,LineAmount : 1.750000}
[2025-01-07 09:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193906,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193906', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193906', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:13:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:13:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:13:23] Production.INFO: ==25282== Releasing lock...
[2025-01-07 09:13:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:13:23] Production.INFO: 36 MB #Memory Used#
[2025-01-07 09:13:23] Production.INFO: ==== result =====
[2025-01-07 09:13:23] Production.INFO: {
"Id": "7eae3612-d6a0-4292-9fe9-24fc27e810ca",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736259203501)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "b6b2cce4-de82-4b38-b7ae-41b66434806a",
"InvoiceNumber": "INV11156",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 1.98,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"IsDiscounted": false,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "9833b5c4-71b1-4ca5-9307-986f727c9b62",
"ContactStatus": "ACTIVE",
"Name": "TSFV Management Corp (Two Small Fish)",
"FirstName": "Nazia",
"LastName": "Khan",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1682945569710+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-05T00:00:00",
"Date": "\/Date(1733356800000+0000)\/",
"DueDateString": "2025-01-04T00:00:00",
"DueDate": "\/Date(1735948800000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "License for a VM-only line",
"UnitAmount": 1.75,
"TaxType": "TAX020",
"TaxAmount": 0.23,
"LineAmount": 1.75,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "cce02fa2-36ad-4808-9100-f504f1e349e1",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
}
],
"SubTotal": 1.75,
"TotalTax": 0.23,
"Total": 1.98,
"UpdatedDateUTC": "\/Date(1736259203470+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 09:13:23] Production.INFO: -- Create Invoice id --b6b2cce4-de82-4b38-b7ae-41b66434806a
[2025-01-07 09:13:23] Production.INFO: -- Create Invoice Done --
[2025-01-07 09:13:23] Production.INFO: -- Xero End Inovice --
[2025-01-07 09:13:23] Production.INFO: ==25272== Releasing lock...
[2025-01-07 09:13:23] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10486 #Stops#
[2025-01-07 09:13:23] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 14:14:02] Production.INFO: ==25351== Lock acquired, processing the job...
[2025-01-07 14:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:14:02] Production.INFO: neon service started
[2025-01-07 14:14:02] Production.INFO: neon service started
[2025-01-07 14:14:02] Production.INFO: ==25351== Releasing lock...
[2025-01-07 14:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:14:02] Production.INFO: ==25353== Lock acquired, processing the job...
[2025-01-07 09:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 14:14:02] Production.INFO: ==25355== Lock acquired, processing the job...
[2025-01-07 14:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:14:02] Production.INFO: ==25355== Releasing lock...
[2025-01-07 14:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:14:03] Production.INFO: ==25353== Releasing lock...
[2025-01-07 09:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:14:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:14:03] Production.INFO: ==25358== Lock acquired, processing the job...
[2025-01-07 09:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:14:03] Production.INFO: ==25360== Lock acquired, processing the job...
[2025-01-07 09:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:14:03] Production.INFO: ==25362== Lock acquired, processing the job...
[2025-01-07 09:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:14:04] Production.INFO: ==25360== Releasing lock...
[2025-01-07 09:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:14:04] Production.INFO: ==25364== Lock acquired, processing the job...
[2025-01-07 09:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:14:04] Production.INFO: ==25366== Lock acquired, processing the job...
[2025-01-07 09:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:14:04] Production.INFO: ==25368== Lock acquired, processing the job...
[2025-01-07 09:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:14:04] Production.INFO: Account Balance Start.
[2025-01-07 09:14:04] Production.INFO: CreateAllLog Start
[2025-01-07 09:14:04] Production.INFO: 117
[2025-01-07 09:14:04] Production.INFO: Date 2024-12-08
[2025-01-07 09:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:14:04] Production.INFO: Date 2024-12-09
[2025-01-07 09:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:14:04] Production.INFO: count ==21
[2025-01-07 09:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:14:04] Production.INFO: count ==21
[2025-01-07 09:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193910') start
[2025-01-07 09:14:04] Production.INFO: Date 2024-12-10
[2025-01-07 09:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:14:04] Production.INFO: Date 2024-12-11
[2025-01-07 09:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:14:04] Production.ERROR: done
[2025-01-07 09:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:14:04] Production.INFO: Date 2024-12-12
[2025-01-07 09:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193910') end
[2025-01-07 09:14:04] Production.INFO: Date 2024-12-13
[2025-01-07 09:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:14:04] Production.INFO: 1
[2025-01-07 09:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:14:04] Production.INFO: Date 2024-12-14
[2025-01-07 09:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:14:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:14:04] Production.INFO: ==25368== Releasing lock...
[2025-01-07 09:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:14:04] Production.ERROR: done
[2025-01-07 09:14:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:14:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:14:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:14:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:14:05] Production.INFO: Date 2024-12-20
[2025-01-07 09:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:14:05] Production.INFO: Date 2024-12-21
[2025-01-07 09:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:14:05] Production.INFO: Date 2024-12-22
[2025-01-07 09:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:14:05] Production.INFO: Date 2024-12-23
[2025-01-07 09:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:14:05] Production.INFO: Date 2024-12-24
[2025-01-07 09:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:14:05] Production.INFO: Date 2024-12-25
[2025-01-07 09:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:14:05] Production.INFO: Date 2024-12-26
[2025-01-07 09:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:14:05] Production.INFO: Date 2024-12-27
[2025-01-07 09:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:14:05] Production.INFO: Date 2024-12-28
[2025-01-07 09:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:14:05] Production.INFO: Date 2024-12-29
[2025-01-07 09:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:14:05] Production.INFO: Date 2024-12-30
[2025-01-07 09:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:14:05] Production.INFO: Date 2024-12-31
[2025-01-07 09:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:14:05] Production.INFO: Date 2025-01-01
[2025-01-07 09:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:14:05] Production.INFO: Date 2025-01-02
[2025-01-07 09:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:14:05] Production.INFO: Date 2025-01-03
[2025-01-07 09:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:14:05] Production.INFO: Date 2025-01-04
[2025-01-07 09:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:14:05] Production.INFO: Date 2025-01-05
[2025-01-07 09:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:14:05] Production.INFO: Date 2025-01-06
[2025-01-07 09:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:14:05] Production.INFO: Date 2025-01-07
[2025-01-07 09:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:14:05] Production.INFO: Total Charge 0
[2025-01-07 09:14:05] Production.INFO: CreateAllLog End
[2025-01-07 09:14:05] Production.INFO: Account Balance End.
[2025-01-07 09:14:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:14:05] Production.INFO: ==25364== Releasing lock...
[2025-01-07 09:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:14:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:14:05
[end_date_ymd] => 2025-01-07 09:14:05
[RateCDR] => 1
)
[2025-01-07 09:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 06:14:05' and `end` < '2025-01-07 09:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 09:14:11] Production.ERROR: CronJobId end10
[2025-01-07 09:14:11] Production.INFO: ==25362== Releasing lock...
[2025-01-07 09:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:14:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:14:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:14:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:14:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:14:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:14:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:14:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:14:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:14:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:14:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:14:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:14:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:14:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:14:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:14:13] Production.INFO: call_cost start
[2025-01-07 09:14:13] Production.INFO: call_cost end
[2025-01-07 09:14:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:14:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:14:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:14:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:14:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:14:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:14:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:14:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:14:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:14:13] Production.INFO: ==25358== Releasing lock...
[2025-01-07 09:14:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:14:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:14:20] Production.INFO: count ==978
[2025-01-07 09:14:21] Production.ERROR: pbx CDR StartTime 2025-01-07 06:14:05 - End Time 2025-01-07 09:14:05
[2025-01-07 09:14:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193911', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193911', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193911', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193911', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:14:21] Production.INFO: ProcessCDR(1,14193911,1,1,2)
[2025-01-07 09:14:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193911,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:14:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193911,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:14:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193911,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:14:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193911,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:14:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193911', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:14:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193911', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:14:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:14:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:14:24] Production.INFO: ==25366== Releasing lock...
[2025-01-07 09:14:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:14:24] Production.INFO: 36 MB #Memory Used#
[2025-01-07 14:15:01] Production.INFO: ==25423== Lock acquired, processing the job...
[2025-01-07 14:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:15:01] Production.INFO: neon service started
[2025-01-07 14:15:01] Production.INFO: neon service started
[2025-01-07 14:15:01] Production.INFO: ==25423== Releasing lock...
[2025-01-07 14:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:15:02] Production.INFO: ==25425== Lock acquired, processing the job...
[2025-01-07 09:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 14:15:02] Production.INFO: ==25427== Lock acquired, processing the job...
[2025-01-07 14:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:15:02] Production.INFO: ==25425== Releasing lock...
[2025-01-07 09:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 14:15:02] Production.INFO: ==25427== Releasing lock...
[2025-01-07 14:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:15:03] Production.INFO: ==25438== Lock acquired, processing the job...
[2025-01-07 09:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:15:03] Production.INFO: ==25440== Lock acquired, processing the job...
[2025-01-07 09:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:15:03] Production.INFO: Account Balance Start.
[2025-01-07 09:15:03] Production.INFO: CreateAllLog Start
[2025-01-07 09:15:03] Production.INFO: 117
[2025-01-07 09:15:03] Production.INFO: Date 2024-12-08
[2025-01-07 09:15:03] Production.INFO: ==25442== Lock acquired, processing the job...
[2025-01-07 09:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:15:03] Production.ERROR: done
[2025-01-07 09:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:15:03] Production.INFO: ==25430== Lock acquired, processing the job...
[2025-01-07 09:15:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10487 #Starts#
[2025-01-07 09:15:03] Production.INFO: Date 2024-12-09
[2025-01-07 09:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:15:03] Production.INFO: ==25432== Lock acquired, processing the job...
[2025-01-07 09:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:15:03] Production.INFO: ==25434== Lock acquired, processing the job...
[2025-01-07 09:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:15:03] Production.INFO: -- Xero Api Check --
[2025-01-07 09:15:03] Production.INFO: Date 2024-12-10
[2025-01-07 09:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:15:03] Production.INFO: ==25436== Lock acquired, processing the job...
[2025-01-07 09:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:15:03] Production.ERROR: done
[2025-01-07 09:15:03] Production.INFO: Date 2024-12-11
[2025-01-07 09:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:15:03] Production.INFO: count ==21
[2025-01-07 09:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:15:03] Production.INFO: count ==21
[2025-01-07 09:15:03] Production.INFO: Date 2024-12-12
[2025-01-07 09:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193913') start
[2025-01-07 09:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:15:03] Production.INFO: Date 2024-12-13
[2025-01-07 09:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193913') end
[2025-01-07 09:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:15:03] Production.INFO: 1
[2025-01-07 09:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:15:04] Production.INFO: Date 2024-12-14
[2025-01-07 09:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:15:04] Production.INFO: ==25442== Releasing lock...
[2025-01-07 09:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:15:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:15:04] Production.INFO: ==25434== Releasing lock...
[2025-01-07 09:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:15:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:15:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:15:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:15:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:15:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:15:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:15:04] Production.INFO: Date 2024-12-22
[2025-01-07 09:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:15:04] Production.INFO: Date 2024-12-23
[2025-01-07 09:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:15:04] Production.INFO: Date 2024-12-24
[2025-01-07 09:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:15:04] Production.INFO: Date 2024-12-25
[2025-01-07 09:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:15:04] Production.INFO: Date 2024-12-26
[2025-01-07 09:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:15:04] Production.INFO: Date 2024-12-27
[2025-01-07 09:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:15:04] Production.INFO: Date 2024-12-28
[2025-01-07 09:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:15:04] Production.INFO: Date 2024-12-29
[2025-01-07 09:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:15:04] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 855
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.948843
[namelookup_time] => 0.531927
[connect_time] => 0.533153
[pretransfer_time] => 0.816884
[size_upload] => 82
[size_download] => 2755
[speed_download] => 2903
[speed_upload] => 86
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.94879
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.17
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 45340
)
[2025-01-07 09:15:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTkzMDQsImV4cCI6MTczNjI1OTYwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjU5MzA0LCJhdF9oYXNoIjoiQzB1LVh6YUxBU1BvaC1aOWZ0MVA5ZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.f19q3UhLkgkNktRcL5hVrLnw573bsjUM2EcjaeTap3TkdN8W_ASXvNsPn9hCOin5Z4OigaN-nd8VPRgI7cUTtdhxA1NfjJ9HfNRnjvjrVENFO3uW5kVeLVkKHmf-ped50JjNl72zv5LOWwbtza1MbMhjDcR0yuzFWDaXKRrFC9HiDPzuF9RT6D_R39zCrZu5eZI-dBF-2rWqYK5W2igTnIcS2BLnsEQtk6taBhzwlkj58Q5PeAnJa8dLjXWR2EVNu0dxfUVMlLjasYUa9g_YwUy9Q7CRbOsgKqZVgsabBQOMWh38dX885sDskoCztQz-PsR6qy4Rw3ncCF4q2zUuyw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTkzMDQsImV4cCI6MTczNjI2MTEwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.xiC09UrROO_B2S1vkLgJDF0tcVeJwEOaFKFKG1tOsYSBGpnUOQoyeZEPI6f6Bqgrmah0jXEXxfzXibDs8t4EsSxnoIdBtWpi4HkA_pa_o9JrtW6Q3J-gzAbpUSFiNVYG1IyLQMYwC9ekDawWlG_Xs3VmcF1W9ujKjmERVre461Jzt7s56QPSM-9gmBVdi7bcuErv6YjXqBsee51D5yzqFW57Gzu24dPR47dLnJl1wPfxVuOmPpSd8wxLAR6PiO_1T-RLJj6_bGsw-oxwAp-fPFWCzfmT9oTm8a3EfgSzDiV-rUr00LmW_To7CssBvTensofDQBHhlR8BLszSUIIudw
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => fuHDnu9wHKeGwA8vAg2YW47IUfOniRD7kRAo2SYYvFw
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 09:15:04] Production.INFO: Date 2024-12-30
[2025-01-07 09:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:15:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTkzMDQsImV4cCI6MTczNjI1OTYwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjU5MzA0LCJhdF9oYXNoIjoiQzB1LVh6YUxBU1BvaC1aOWZ0MVA5ZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.f19q3UhLkgkNktRcL5hVrLnw573bsjUM2EcjaeTap3TkdN8W_ASXvNsPn9hCOin5Z4OigaN-nd8VPRgI7cUTtdhxA1NfjJ9HfNRnjvjrVENFO3uW5kVeLVkKHmf-ped50JjNl72zv5LOWwbtza1MbMhjDcR0yuzFWDaXKRrFC9HiDPzuF9RT6D_R39zCrZu5eZI-dBF-2rWqYK5W2igTnIcS2BLnsEQtk6taBhzwlkj58Q5PeAnJa8dLjXWR2EVNu0dxfUVMlLjasYUa9g_YwUy9Q7CRbOsgKqZVgsabBQOMWh38dX885sDskoCztQz-PsR6qy4Rw3ncCF4q2zUuyw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTkzMDQsImV4cCI6MTczNjI2MTEwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.xiC09UrROO_B2S1vkLgJDF0tcVeJwEOaFKFKG1tOsYSBGpnUOQoyeZEPI6f6Bqgrmah0jXEXxfzXibDs8t4EsSxnoIdBtWpi4HkA_pa_o9JrtW6Q3J-gzAbpUSFiNVYG1IyLQMYwC9ekDawWlG_Xs3VmcF1W9ujKjmERVre461Jzt7s56QPSM-9gmBVdi7bcuErv6YjXqBsee51D5yzqFW57Gzu24dPR47dLnJl1wPfxVuOmPpSd8wxLAR6PiO_1T-RLJj6_bGsw-oxwAp-fPFWCzfmT9oTm8a3EfgSzDiV-rUr00LmW_To7CssBvTensofDQBHhlR8BLszSUIIudw
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => fuHDnu9wHKeGwA8vAg2YW47IUfOniRD7kRAo2SYYvFw
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 09:15:04] Production.INFO: Date 2024-12-31
[2025-01-07 09:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:15:04] Production.INFO: Date 2025-01-01
[2025-01-07 09:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:15:04] Production.INFO: AccountID 246
[2025-01-07 09:15:04] Production.INFO: AccountName Pharmasave (Stouffville)
[2025-01-07 09:15:04] Production.INFO: Checkcustomer
[2025-01-07 09:15:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Pharmasave%20%28Stouffville%29"
[2025-01-07 09:15:04] Production.INFO: Date 2025-01-02
[2025-01-07 09:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:15:04] Production.INFO: Date 2025-01-03
[2025-01-07 09:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:15:04] Production.INFO: Date 2025-01-04
[2025-01-07 09:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:15:04
[end_date_ymd] => 2025-01-07 09:15:04
[RateCDR] => 1
)
[2025-01-07 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-07 06:15:04' and `end` < '2025-01-07 09: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-07 09:15:05] Production.INFO: Date 2025-01-05
[2025-01-07 09:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:15:05] Production.INFO: Date 2025-01-06
[2025-01-07 09:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:15:05] Production.INFO: Date 2025-01-07
[2025-01-07 09:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:15:05] Production.INFO: Total Charge 0
[2025-01-07 09:15:05] Production.INFO: CreateAllLog End
[2025-01-07 09:15:05] Production.INFO: Account Balance End.
[2025-01-07 09:15:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:15:05] Production.INFO: ==25438== Releasing lock...
[2025-01-07 09:15:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:15:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:15:08] Production.INFO: Contact id print CheckCustomer Case===762a953f-f402-469b-a4fb-adecaebb0031
[2025-01-07 09:15:08] Production.INFO: -- count --1
[2025-01-07 09:15:08] Production.INFO: -- Xero Add Inovice --
[2025-01-07 09:15:08] Production.INFO: CheckInvoice xerov2: INV10984
[2025-01-07 09:15:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10984
[2025-01-07 09:15:10] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 09:15:10] Production.INFO: ========================== Exception occured =============================
[2025-01-07 09:15:10] Production.ERROR: exception 'ErrorException' with message 'Undefined offset: 101' in /var/www/html/onswitch.neon.service/app/lib/XeroV2.php:0
Stack trace:
#0 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined offse...', '/var/www/html/o...', 0, Array)
#1 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->GetInvoiceData()
#2 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->CreateInvoice()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/XeroInvoicePostV2.php(0): App\Lib\XeroV2->addInvoices()
#4 [internal function]: App\Console\Commands\XeroInvoicePostV2->fire()
#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\XeroInvoicePostV2), 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-07 09:15:10] Production.INFO: ========================== Exception updated in job and email sent =============================
[2025-01-07 09:15:10] Production.INFO: ==25430== Releasing lock...
[2025-01-07 09:15:10] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10487 #Stops#
[2025-01-07 09:15:10] Production.INFO: 27.5 MB #Memory Used#
[2025-01-07 09:15:11] Production.ERROR: CronJobId end10
[2025-01-07 09:15:11] Production.INFO: ==25436== Releasing lock...
[2025-01-07 09:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:15:13] Production.INFO: call_cost start
[2025-01-07 09:15:13] Production.INFO: call_cost end
[2025-01-07 09:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:15:14] Production.INFO: ==25432== Releasing lock...
[2025-01-07 09:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:15:18] Production.INFO: count ==985
[2025-01-07 09:15:18] Production.ERROR: pbx CDR StartTime 2025-01-07 06:15:04 - End Time 2025-01-07 09:15:04
[2025-01-07 09:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193914', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193914', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193914', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193914', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:15:18] Production.INFO: ProcessCDR(1,14193914,1,1,2)
[2025-01-07 09:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193914,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:15:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193914,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:15:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193914,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193914,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193914', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193914', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:15:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:15:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:15:23] Production.INFO: ==25440== Releasing lock...
[2025-01-07 09:15:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:15:23] Production.INFO: 36.25 MB #Memory Used#
[2025-01-07 14:16:02] Production.INFO: ==25501== Lock acquired, processing the job...
[2025-01-07 14:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:16:02] Production.INFO: neon service started
[2025-01-07 14:16:02] Production.INFO: neon service started
[2025-01-07 14:16:02] Production.INFO: ==25501== Releasing lock...
[2025-01-07 14:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:16:02] Production.INFO: ==25503== Lock acquired, processing the job...
[2025-01-07 09:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:16:02] Production.INFO: ==25503== Releasing lock...
[2025-01-07 09:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 14:16:02] Production.INFO: ==25505== Lock acquired, processing the job...
[2025-01-07 14:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:16:02] Production.INFO: ==25505== Releasing lock...
[2025-01-07 14:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:16:03] Production.INFO: ==25507== Lock acquired, processing the job...
[2025-01-07 09:16:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10488 #Starts#
[2025-01-07 09:16:03] Production.INFO: -- Xero Api Check --
[2025-01-07 09:16:03] Production.INFO: ==25511== Lock acquired, processing the job...
[2025-01-07 09:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:16:03] Production.INFO: ==25515== Lock acquired, processing the job...
[2025-01-07 09:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:16:03] Production.INFO: ==25509== Lock acquired, processing the job...
[2025-01-07 09:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:16:03] Production.INFO: ==25519== Lock acquired, processing the job...
[2025-01-07 09:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:16:03] Production.INFO: ==25513== Lock acquired, processing the job...
[2025-01-07 09:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:16:03] Production.INFO: ==25517== Lock acquired, processing the job...
[2025-01-07 09:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:16:04] Production.INFO: Account Balance Start.
[2025-01-07 09:16:04] Production.INFO: CreateAllLog Start
[2025-01-07 09:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:16:04] Production.INFO: 117
[2025-01-07 09:16:04] Production.INFO: count ==21
[2025-01-07 09:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:16:04] Production.INFO: Date 2024-12-08
[2025-01-07 09:16:04] Production.INFO: count ==21
[2025-01-07 09:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193920') start
[2025-01-07 09:16:04] Production.INFO: ==25511== Releasing lock...
[2025-01-07 09:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193920') end
[2025-01-07 09:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:16:04] Production.INFO: 1
[2025-01-07 09:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:16:04] Production.INFO: Date 2024-12-09
[2025-01-07 09:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:16:04] Production.INFO: ==25519== Releasing lock...
[2025-01-07 09:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:16:04] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 855
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.667383
[namelookup_time] => 0.281606
[connect_time] => 0.2831
[pretransfer_time] => 0.563782
[size_upload] => 82
[size_download] => 2755
[speed_download] => 4128
[speed_upload] => 122
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.667347
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.33
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 43254
)
[2025-01-07 09:16:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTkzNjQsImV4cCI6MTczNjI1OTY2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjU5MzY0LCJhdF9oYXNoIjoiamNLd2xkOXhYaWZvanQ2V3ZxT0ZkUSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.MNEFgE8kkjwlI9JN4FkgauXXq9tMRI3LkZrKkagr8mPO9Rr5GxaZJdelXJpM3Wj1Gdjzn6v7Bp_PXccGMVjjx-i4qieZg7TahlstvJPKjC0h0YGe67F0JdZg3rWWZci1I7mRmdHu0PszJBQci4-HO8teNBBdwLFhzbLo9HRYKuRY6Af1Cjyb2zERLQrrjUFieiwBkPtO43cMz-TvEjSY4IVELs78NZb0JPccPSMxQsKYRR_EbhPwDisY7eeUlD4H_omCAPHkiSTtsNaj8YMe9LVFEh2KB5WQ6a5ARCpILiAbq1yGiVH2mNR-pNMXJ2xu2IXtcHMx4VELfmPNweGhFQ
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTkzNjQsImV4cCI6MTczNjI2MTE2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.dKGh1VGoQ9IhsjSMX7KB7H8FmFWYXqND8q4WUnEzXU3RrUKaM4J1jB7kPACH0CwvGNjl-gln_pU9APvLNpRPUN01MN2O2yNXVc9yz1biKwggFsaF07mRIu3tl3mps9pDMjVqc0tqsW-As-Hk2JnAnViNhRCmGuCuRmSZK_QDYOdnd2X4nrdNuV0awy62UO8-TvoYfrZv5MJ9y6FkC4sZBSdUb9hNY1AJVgMD6YSqMuT-ISDloJot3LXrh4zkIHtwI9knRZwzw_E_iWYUTUBodpM1mNFRlj4jRPutNswp9KPEciQrx_8paZO6HGRpb49j_JVC3yMCGf3trBA249uvPg
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => L8gclXL6QrcZj6-e4FBGYFitJN0JByV7AaUTx12iNag
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 09:16:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTkzNjQsImV4cCI6MTczNjI1OTY2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjU5MzY0LCJhdF9oYXNoIjoiamNLd2xkOXhYaWZvanQ2V3ZxT0ZkUSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.MNEFgE8kkjwlI9JN4FkgauXXq9tMRI3LkZrKkagr8mPO9Rr5GxaZJdelXJpM3Wj1Gdjzn6v7Bp_PXccGMVjjx-i4qieZg7TahlstvJPKjC0h0YGe67F0JdZg3rWWZci1I7mRmdHu0PszJBQci4-HO8teNBBdwLFhzbLo9HRYKuRY6Af1Cjyb2zERLQrrjUFieiwBkPtO43cMz-TvEjSY4IVELs78NZb0JPccPSMxQsKYRR_EbhPwDisY7eeUlD4H_omCAPHkiSTtsNaj8YMe9LVFEh2KB5WQ6a5ARCpILiAbq1yGiVH2mNR-pNMXJ2xu2IXtcHMx4VELfmPNweGhFQ
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTkzNjQsImV4cCI6MTczNjI2MTE2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.dKGh1VGoQ9IhsjSMX7KB7H8FmFWYXqND8q4WUnEzXU3RrUKaM4J1jB7kPACH0CwvGNjl-gln_pU9APvLNpRPUN01MN2O2yNXVc9yz1biKwggFsaF07mRIu3tl3mps9pDMjVqc0tqsW-As-Hk2JnAnViNhRCmGuCuRmSZK_QDYOdnd2X4nrdNuV0awy62UO8-TvoYfrZv5MJ9y6FkC4sZBSdUb9hNY1AJVgMD6YSqMuT-ISDloJot3LXrh4zkIHtwI9knRZwzw_E_iWYUTUBodpM1mNFRlj4jRPutNswp9KPEciQrx_8paZO6HGRpb49j_JVC3yMCGf3trBA249uvPg
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => L8gclXL6QrcZj6-e4FBGYFitJN0JByV7AaUTx12iNag
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 09:16:04] Production.INFO: AccountID 95
[2025-01-07 09:16:04] Production.INFO: AccountName CanTrust Insurance Services
[2025-01-07 09:16:04] Production.INFO: Date 2024-12-10
[2025-01-07 09:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:16:04] Production.INFO: Checkcustomer
[2025-01-07 09:16:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="CanTrust%20Insurance%20Services"
[2025-01-07 09:16:04] Production.ERROR: done
[2025-01-07 09:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:16:04] Production.INFO: Date 2024-12-11
[2025-01-07 09:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:16:04] Production.INFO: Date 2024-12-12
[2025-01-07 09:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:16:04] Production.INFO: Date 2024-12-13
[2025-01-07 09:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:16:04] Production.INFO: Date 2024-12-14
[2025-01-07 09:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:16:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:16:04] Production.ERROR: done
[2025-01-07 09:16:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:16:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:16:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:16:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:16:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:16:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:16:04] Production.INFO: Date 2024-12-22
[2025-01-07 09:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:16:05] Production.INFO: Date 2024-12-23
[2025-01-07 09:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:16:05] Production.INFO: Date 2024-12-24
[2025-01-07 09:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:16:05] Production.INFO: Date 2024-12-25
[2025-01-07 09:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:16:05] Production.INFO: Date 2024-12-26
[2025-01-07 09:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:16:05] Production.INFO: Date 2024-12-27
[2025-01-07 09:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:16:05] Production.INFO: Date 2024-12-28
[2025-01-07 09:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:16:05] Production.INFO: Date 2024-12-29
[2025-01-07 09:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:16:05] Production.INFO: Date 2024-12-30
[2025-01-07 09:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:16:05] Production.INFO: Date 2024-12-31
[2025-01-07 09:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:16:05] Production.INFO: Date 2025-01-01
[2025-01-07 09:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:16:05] Production.INFO: Date 2025-01-02
[2025-01-07 09:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:16:05] Production.INFO: Date 2025-01-03
[2025-01-07 09:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:16:05] Production.INFO: Date 2025-01-04
[2025-01-07 09:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:16:05] Production.INFO: Date 2025-01-05
[2025-01-07 09:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:16:05] Production.INFO: Date 2025-01-06
[2025-01-07 09:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:16:05] Production.INFO: Date 2025-01-07
[2025-01-07 09:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:16:05] Production.INFO: Total Charge 0
[2025-01-07 09:16:05] Production.INFO: CreateAllLog End
[2025-01-07 09:16:05] Production.INFO: Account Balance End.
[2025-01-07 09:16:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:16:05] Production.INFO: ==25515== Releasing lock...
[2025-01-07 09:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:16:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:16:05
[end_date_ymd] => 2025-01-07 09:16:05
[RateCDR] => 1
)
[2025-01-07 09:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 06:16:05' and `end` < '2025-01-07 09:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 09:16:07] Production.INFO: Contact id print CheckCustomer Case===d5a46ee9-fef7-49ae-981c-b537df046ad7
[2025-01-07 09:16:07] Production.INFO: -- count --1
[2025-01-07 09:16:07] Production.INFO: -- Xero Add Inovice --
[2025-01-07 09:16:07] Production.INFO: CheckInvoice xerov2: INV11127
[2025-01-07 09:16:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11127
[2025-01-07 09:16:10] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 09:16:10] Production.INFO: Invoice SubTotal 84.510000
[2025-01-07 09:16:10] Production.INFO: Invoice DetTotal 84.51
[2025-01-07 09:16:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="CanTrust%20Insurance%20Services"
[2025-01-07 09:16:12] Production.ERROR: CronJobId end10
[2025-01-07 09:16:12] Production.INFO: ==25513== Releasing lock...
[2025-01-07 09:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:16:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 09:16:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:16:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:16:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:16:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:16:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:16:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:16:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:16:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:16:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:16:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:16:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:16:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:16:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:16:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:16:14] Production.INFO: call_cost start
[2025-01-07 09:16:14] Production.INFO: call_cost end
[2025-01-07 09:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:16:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:16:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:16:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:16:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:16:15] Production.INFO: ==25509== Releasing lock...
[2025-01-07 09:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:16:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 09:16:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 09:16:19] Production.INFO: count ==993
[2025-01-07 09:16:19] Production.ERROR: pbx CDR StartTime 2025-01-07 06:16:05 - End Time 2025-01-07 09:16:05
[2025-01-07 09:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193921', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193921', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193921', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193921', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:16:19] Production.INFO: ProcessCDR(1,14193921,1,1,2)
[2025-01-07 09:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193921,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:16:21] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 11-01-2024 To 11-30-2024",Quantity : 1,UnitAmount : 34.010000,LineAmount : 34.010000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Inbound Channels",Quantity : 6,UnitAmount : 8.000000,LineAmount : 48.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14168175555 - 3640 Victoria Park Ave. 301, North York, ON M2H 3B2)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 09:16:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193921,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:16:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193921,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:16:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193921,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193921', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193921', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:16:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:16:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:16:23] Production.INFO: ==25517== Releasing lock...
[2025-01-07 09:16:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:16:23] Production.INFO: 36.25 MB #Memory Used#
[2025-01-07 09:16:24] Production.INFO: ==== result =====
[2025-01-07 09:16:24] Production.INFO: {
"Id": "0228d462-ab1e-4026-b305-48400067a900",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736259384756)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "4a7c61bc-db07-40f6-8bfc-254b43c36146",
"InvoiceNumber": "INV11127",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 95.50,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "d5a46ee9-fef7-49ae-981c-b537df046ad7",
"ContactStatus": "ACTIVE",
"Name": "CanTrust Insurance Services",
"FirstName": "Ken",
"LastName": "Chen",
"EmailAddress": "ken.chen@cantrustcanada.com",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1549033984247+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-01T00:00:00",
"Date": "\/Date(1733011200000+0000)\/",
"DueDateString": "2024-12-31T00:00:00",
"DueDate": "\/Date(1735603200000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "From 11-01-2024 To 11-30-2024",
"UnitAmount": 34.01,
"TaxType": "TAX020",
"TaxAmount": 4.42,
"LineAmount": 34.01,
"AccountCode": "234",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "9d466862-36ea-45fc-9abd-98af0edf9617",
"AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Inbound Channels",
"UnitAmount": 8.00,
"TaxType": "TAX020",
"TaxAmount": 6.24,
"LineAmount": 48.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 6.0000,
"DiscountRate": 0.00,
"LineItemID": "1e832c35-144c-425e-98aa-b9009592e320",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (14168175555 - 3640 Victoria Park Ave. 301, North York, ON M2H 3B2)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "67ab25bd-10c6-4450-9d80-8917c61589fc",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 84.51,
"TotalTax": 10.99,
"Total": 95.50,
"UpdatedDateUTC": "\/Date(1736259384647+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 09:16:24] Production.INFO: -- Create Invoice id --4a7c61bc-db07-40f6-8bfc-254b43c36146
[2025-01-07 09:16:24] Production.INFO: -- Create Invoice Done --
[2025-01-07 09:16:24] Production.INFO: -- Xero End Inovice --
[2025-01-07 09:16:24] Production.INFO: ==25507== Releasing lock...
[2025-01-07 09:16:24] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10488 #Stops#
[2025-01-07 09:16:24] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 14:17:01] Production.INFO: ==25581== Lock acquired, processing the job...
[2025-01-07 14:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:17:01] Production.INFO: neon service started
[2025-01-07 14:17:01] Production.INFO: neon service started
[2025-01-07 14:17:01] Production.INFO: ==25581== Releasing lock...
[2025-01-07 14:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:17:01] Production.INFO: ==25583== Lock acquired, processing the job...
[2025-01-07 09:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 14:17:02] Production.INFO: ==25585== Lock acquired, processing the job...
[2025-01-07 14:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:17:02] Production.INFO: ==25583== Releasing lock...
[2025-01-07 09:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 14:17:02] Production.INFO: ==25585== Releasing lock...
[2025-01-07 14:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:17:02] Production.INFO: ==25587== Lock acquired, processing the job...
[2025-01-07 09:17:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:17:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:17:02] Production.INFO: ==25589== Lock acquired, processing the job...
[2025-01-07 09:17:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:17:03] Production.INFO: ==25591== Lock acquired, processing the job...
[2025-01-07 09:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:17:03] Production.INFO: ==25593== Lock acquired, processing the job...
[2025-01-07 09:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:17:03] Production.INFO: ==25595== Lock acquired, processing the job...
[2025-01-07 09:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:17:03] Production.INFO: ==25589== Releasing lock...
[2025-01-07 09:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:17:03] Production.INFO: ==25597== Lock acquired, processing the job...
[2025-01-07 09:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:17:03] Production.INFO: Account Balance Start.
[2025-01-07 09:17:03] Production.INFO: CreateAllLog Start
[2025-01-07 09:17:03] Production.INFO: 117
[2025-01-07 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-07 09:17:03] Production.INFO: Date 2024-12-08
[2025-01-07 09:17:03] Production.INFO: count ==21
[2025-01-07 09:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 09:17:03] Production.INFO: count ==21
[2025-01-07 09:17:03] Production.INFO: Date 2024-12-09
[2025-01-07 09:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:17:03] Production.INFO: Date 2024-12-10
[2025-01-07 09:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193925') start
[2025-01-07 09:17:03] Production.INFO: Date 2024-12-11
[2025-01-07 09:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:17:03] Production.INFO: Date 2024-12-12
[2025-01-07 09:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:17:03] Production.ERROR: done
[2025-01-07 09:17:03] Production.INFO: Date 2024-12-13
[2025-01-07 09:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:17:03] Production.INFO: Date 2024-12-14
[2025-01-07 09:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:17:03] Production.INFO: Date 2024-12-15
[2025-01-07 09:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193925') end
[2025-01-07 09:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:17:03] Production.INFO: 1
[2025-01-07 09:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:17:03] Production.INFO: Date 2024-12-16
[2025-01-07 09:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:17:03] Production.INFO: ==25597== Releasing lock...
[2025-01-07 09:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:17:03] Production.INFO: Date 2024-12-17
[2025-01-07 09:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:17:04] Production.ERROR: done
[2025-01-07 09:17:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:17:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:17:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:17:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:17:04] Production.INFO: Date 2024-12-22
[2025-01-07 09:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:17:04] Production.INFO: Date 2024-12-23
[2025-01-07 09:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:17:04] Production.INFO: Date 2024-12-24
[2025-01-07 09:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:17:04] Production.INFO: Date 2024-12-25
[2025-01-07 09:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:17:04] Production.INFO: Date 2024-12-26
[2025-01-07 09:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:17:04] Production.INFO: Date 2024-12-27
[2025-01-07 09:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:17:04] Production.INFO: Date 2024-12-28
[2025-01-07 09:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:17:04] Production.INFO: Date 2024-12-29
[2025-01-07 09:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:17:04] Production.INFO: Date 2024-12-30
[2025-01-07 09:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:17:04] Production.INFO: Date 2024-12-31
[2025-01-07 09:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:17:04] Production.INFO: Date 2025-01-01
[2025-01-07 09:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:17:04] Production.INFO: Date 2025-01-02
[2025-01-07 09:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:17:04] Production.INFO: Date 2025-01-03
[2025-01-07 09:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:17:04] Production.INFO: Date 2025-01-04
[2025-01-07 09:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:17:04] Production.INFO: Date 2025-01-05
[2025-01-07 09:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:17:04] Production.INFO: Date 2025-01-06
[2025-01-07 09:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:17:04] Production.INFO: Date 2025-01-07
[2025-01-07 09:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:17:04] Production.INFO: Total Charge 0
[2025-01-07 09:17:04] Production.INFO: CreateAllLog End
[2025-01-07 09:17:04] Production.INFO: Account Balance End.
[2025-01-07 09:17:04] Production.ERROR: CronJobId end 12
[2025-01-07 09:17:04] Production.INFO: ==25593== Releasing lock...
[2025-01-07 09:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:17:05
[end_date_ymd] => 2025-01-07 09:17:05
[RateCDR] => 1
)
[2025-01-07 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-07 06:17:05' and `end` < '2025-01-07 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-07 09:17:11] Production.ERROR: CronJobId end10
[2025-01-07 09:17:11] Production.INFO: ==25591== Releasing lock...
[2025-01-07 09:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:17:13] Production.INFO: call_cost start
[2025-01-07 09:17:13] Production.INFO: call_cost end
[2025-01-07 09:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:17:14] Production.INFO: ==25587== Releasing lock...
[2025-01-07 09:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:17:18] Production.INFO: count ==1002
[2025-01-07 09:17:18] Production.ERROR: pbx CDR StartTime 2025-01-07 06:17:05 - End Time 2025-01-07 09:17:05
[2025-01-07 09:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193926', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193926', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193926', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193926', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:17:18] Production.INFO: ProcessCDR(1,14193926,1,1,2)
[2025-01-07 09:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193926,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:17:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193926,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:17:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193926,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193926,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193926', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193926', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:17:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:17:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:17:23] Production.INFO: ==25595== Releasing lock...
[2025-01-07 09:17:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:17:23] Production.INFO: 36 MB #Memory Used#
[2025-01-07 14:18:01] Production.INFO: ==25652== Lock acquired, processing the job...
[2025-01-07 14:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:18:01] Production.INFO: neon service started
[2025-01-07 14:18:02] Production.INFO: neon service started
[2025-01-07 14:18:02] Production.INFO: ==25652== Releasing lock...
[2025-01-07 14:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:18:02] Production.INFO: ==25654== Lock acquired, processing the job...
[2025-01-07 09:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:18:02] Production.INFO: ==25654== Releasing lock...
[2025-01-07 09:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 14:18:02] Production.INFO: ==25656== Lock acquired, processing the job...
[2025-01-07 14:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:18:02] Production.INFO: ==25656== Releasing lock...
[2025-01-07 14:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:18:03] Production.INFO: ==25658== Lock acquired, processing the job...
[2025-01-07 09:18:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10489 #Starts#
[2025-01-07 09:18:03] Production.INFO: ==25660== Lock acquired, processing the job...
[2025-01-07 09:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:18:03] Production.INFO: ==25664== Lock acquired, processing the job...
[2025-01-07 09:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:18:03] Production.INFO: -- Xero Api Check --
[2025-01-07 09:18:03] Production.INFO: ==25662== Lock acquired, processing the job...
[2025-01-07 09:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:18:03] Production.INFO: ==25670== Lock acquired, processing the job...
[2025-01-07 09:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:18:03] Production.INFO: ==25666== Lock acquired, processing the job...
[2025-01-07 09:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:18:03] Production.INFO: ==25668== Lock acquired, processing the job...
[2025-01-07 09:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 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-07 09:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:18:04] Production.INFO: count ==21
[2025-01-07 09:18:04] Production.INFO: Account Balance Start.
[2025-01-07 09:18:04] Production.INFO: CreateAllLog Start
[2025-01-07 09:18:04] Production.INFO: 117
[2025-01-07 09:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:18:04] Production.INFO: count ==21
[2025-01-07 09:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193928') start
[2025-01-07 09:18:04] Production.INFO: Date 2024-12-08
[2025-01-07 09:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193928') end
[2025-01-07 09:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:18:04] Production.INFO: 1
[2025-01-07 09:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:18:04] Production.INFO: ==25662== Releasing lock...
[2025-01-07 09:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:18:04] Production.ERROR: done
[2025-01-07 09:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:18:04] Production.INFO: Date 2024-12-09
[2025-01-07 09:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:18:04] Production.INFO: ==25670== Releasing lock...
[2025-01-07 09:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:18:04] Production.ERROR: done
[2025-01-07 09:18:04] Production.INFO: Date 2024-12-10
[2025-01-07 09:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:18:04] Production.INFO: Date 2024-12-11
[2025-01-07 09:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:18:04] Production.INFO: Date 2024-12-12
[2025-01-07 09:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:18:04] Production.INFO: Date 2024-12-13
[2025-01-07 09:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:18:04] Production.INFO: Date 2024-12-14
[2025-01-07 09:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:18:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:18:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:18:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:18:05] Production.INFO: Date 2024-12-18
[2025-01-07 09:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:18:05] Production.INFO: Date 2024-12-19
[2025-01-07 09:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:18:05] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 854
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 1.294068
[namelookup_time] => 0.523497
[connect_time] => 0.623
[pretransfer_time] => 1.048876
[size_upload] => 82
[size_download] => 2755
[speed_download] => 2128
[speed_upload] => 63
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 1.294035
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 2.22.251.42
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 38040
)
[2025-01-07 09:18:05] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTk0ODQsImV4cCI6MTczNjI1OTc4NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjU5NDg0LCJhdF9oYXNoIjoiY0o5cmR1Ync1VEJBcTBvTjkwMkxIUSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.Hb3L0NYWASVRMiQL8hKBZxdPlPGQYXeF52edM1lwFMNkcgCjo5gDsraMZwpwXBkAL_AxvB56oQrGPdTx5DHf7zLcppeKQfrpfS12wVmQa9Ibg1JY436C50E2RSJxPKumxoxK4u-P3I_C-TKZeY7Y2CKtQmtBng2jXout5qLOTZs01jvbKR0yWnu7PWjwZ05oQg_LDnfOwYAIfZwTYDXJJ7lBWUe64r4A3lKHvuLIq3qg0P7AN0zCcGxwlEpKW6ibTumq888S5PwLEeN193QnMaD_p9AoNgJZAzS8-54okE9DRyynki-3uzXb6l1TY7b3nY-SFBfcpejGhafaXdYGIQ
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTk0ODQsImV4cCI6MTczNjI2MTI4NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.gIE6e0JJG7PL3B5TiaNWLoreIirMY-NPL3LRl9SjGMmgEQGLUsiuXjHDMR2uHe0Biwz1b7sQw0Tm7GUw_7CuCskWzFOoJmxYkeWlFB4gifn4z0MeX06-wLfK5vBFLhxqiB_lSS6G09Xe6KR_8jD6YzIdF9qnA5mieTJs9JMPa4_9-MRzaZO5r3XmY48AJeBTBUrpokJzNdOYcjTHg1dwGY5BIQU1PIQI79K0bfu9KanC-998FxUo9XotZh4IDG4sjkugDmBiQqjPgtzMFn9huNRUhYf6qyVC-qPGgitRJhEUPnVj-zFyfhonTx3UivWz2kCqpe88bFDrDEhVVZ6-tg
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => DXMBA9GY9vW1Ht-dTEvXI8JHVOSOivL_F--JgrLUqEM
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 09:18:05] Production.INFO: Date 2024-12-20
[2025-01-07 09:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:18:05] Production.INFO: Date 2024-12-21
[2025-01-07 09:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:18:05] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTk0ODQsImV4cCI6MTczNjI1OTc4NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjU5NDg0LCJhdF9oYXNoIjoiY0o5cmR1Ync1VEJBcTBvTjkwMkxIUSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.Hb3L0NYWASVRMiQL8hKBZxdPlPGQYXeF52edM1lwFMNkcgCjo5gDsraMZwpwXBkAL_AxvB56oQrGPdTx5DHf7zLcppeKQfrpfS12wVmQa9Ibg1JY436C50E2RSJxPKumxoxK4u-P3I_C-TKZeY7Y2CKtQmtBng2jXout5qLOTZs01jvbKR0yWnu7PWjwZ05oQg_LDnfOwYAIfZwTYDXJJ7lBWUe64r4A3lKHvuLIq3qg0P7AN0zCcGxwlEpKW6ibTumq888S5PwLEeN193QnMaD_p9AoNgJZAzS8-54okE9DRyynki-3uzXb6l1TY7b3nY-SFBfcpejGhafaXdYGIQ
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTk0ODQsImV4cCI6MTczNjI2MTI4NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.gIE6e0JJG7PL3B5TiaNWLoreIirMY-NPL3LRl9SjGMmgEQGLUsiuXjHDMR2uHe0Biwz1b7sQw0Tm7GUw_7CuCskWzFOoJmxYkeWlFB4gifn4z0MeX06-wLfK5vBFLhxqiB_lSS6G09Xe6KR_8jD6YzIdF9qnA5mieTJs9JMPa4_9-MRzaZO5r3XmY48AJeBTBUrpokJzNdOYcjTHg1dwGY5BIQU1PIQI79K0bfu9KanC-998FxUo9XotZh4IDG4sjkugDmBiQqjPgtzMFn9huNRUhYf6qyVC-qPGgitRJhEUPnVj-zFyfhonTx3UivWz2kCqpe88bFDrDEhVVZ6-tg
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => DXMBA9GY9vW1Ht-dTEvXI8JHVOSOivL_F--JgrLUqEM
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 09:18:05] Production.INFO: Date 2024-12-22
[2025-01-07 09:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:18:05] Production.INFO: AccountID 37
[2025-01-07 09:18:05] Production.INFO: AccountName Quality Car Rentals (AutoQuest)
[2025-01-07 09:18:05] Production.INFO: Checkcustomer
[2025-01-07 09:18:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quality%20Car%20Rentals%20%28AutoQuest%29"
[2025-01-07 09:18:05] Production.INFO: Date 2024-12-23
[2025-01-07 09:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:18:05] Production.INFO: Date 2024-12-24
[2025-01-07 09:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:18:05] Production.INFO: Date 2024-12-25
[2025-01-07 09:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:18:05] Production.INFO: Date 2024-12-26
[2025-01-07 09:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:18:05] Production.INFO: Date 2024-12-27
[2025-01-07 09:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:18:05] Production.INFO: Date 2024-12-28
[2025-01-07 09:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:18:05] Production.INFO: Date 2024-12-29
[2025-01-07 09:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:18:05] Production.INFO: Date 2024-12-30
[2025-01-07 09:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:18:05] Production.INFO: Date 2024-12-31
[2025-01-07 09:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:18:05] Production.INFO: Date 2025-01-01
[2025-01-07 09:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:18:05] Production.INFO: Date 2025-01-02
[2025-01-07 09:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:18:05] Production.INFO: Date 2025-01-03
[2025-01-07 09:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:18:05] Production.INFO: Date 2025-01-04
[2025-01-07 09:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:18:05] Production.INFO: Date 2025-01-05
[2025-01-07 09:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:18:05] Production.INFO: Date 2025-01-06
[2025-01-07 09:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:18:05] Production.INFO: Date 2025-01-07
[2025-01-07 09:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:18:05] Production.INFO: Total Charge 0
[2025-01-07 09:18:05] Production.INFO: CreateAllLog End
[2025-01-07 09:18:06] Production.INFO: Account Balance End.
[2025-01-07 09:18:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:18:06
[end_date_ymd] => 2025-01-07 09:18:06
[RateCDR] => 1
)
[2025-01-07 09:18:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 06:18:06' and `end` < '2025-01-07 09:18:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 09:18:06] Production.ERROR: CronJobId end 12
[2025-01-07 09:18:06] Production.INFO: ==25666== Releasing lock...
[2025-01-07 09:18:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:18:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:18:08] Production.INFO: Contact id print CheckCustomer Case===d97f29cf-e0f8-4b9a-bb8e-aaec76dd5612
[2025-01-07 09:18:08] Production.INFO: -- count --1
[2025-01-07 09:18:08] Production.INFO: -- Xero Add Inovice --
[2025-01-07 09:18:08] Production.INFO: CheckInvoice xerov2: INV11123
[2025-01-07 09:18:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11123
[2025-01-07 09:18:10] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 09:18:10] Production.INFO: Invoice SubTotal 347.430000
[2025-01-07 09:18:10] Production.INFO: Invoice DetTotal 347.43
[2025-01-07 09:18:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quality%20Car%20Rentals%20%28AutoQuest%29"
[2025-01-07 09:18:11] Production.ERROR: CronJobId end10
[2025-01-07 09:18:11] Production.INFO: ==25664== Releasing lock...
[2025-01-07 09:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:18:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 09:18:13] Production.INFO: call_cost start
[2025-01-07 09:18:13] Production.INFO: call_cost end
[2025-01-07 09:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:18:14] Production.INFO: ==25660== Releasing lock...
[2025-01-07 09:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:18:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 09:18:19] Production.INFO: count ==1004
[2025-01-07 09:18:19] Production.ERROR: pbx CDR StartTime 2025-01-07 06:18:06 - End Time 2025-01-07 09:18:06
[2025-01-07 09:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193931', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193931', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193931', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193931', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:18:19] Production.INFO: ProcessCDR(1,14193931,1,1,2)
[2025-01-07 09:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193931,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:18:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 09:18:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193931,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:18:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193931,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:18:22] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 11-01-2024 To 11-30-2024",Quantity : 1,UnitAmount : 13.170000,LineAmount : 13.170000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 17,UnitAmount : 7.000000,LineAmount : 119.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (8243 YONGE ST MARKHAM, ON L3T2C7)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (5 TANGIERS RD NORTH YORK, ON M3J2B1)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (71 ANNE ST S BARRIE, ON L4N2E2)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (14164775948)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (14164309608)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (14164772862)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (14164794438)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (17053001000)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (19054158172)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (19058899642)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "VDSL Internet Service 100mbps/10mbps (1380 Cardiff Blvd Unit 4, Mississauga, ON L5S 1P9)",Quantity : 1,UnitAmount : 131.220000,LineAmount : 131.220000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "LTE Internet Failover Service (1380 Cardiff Blvd Unit 4, Mississauga, ON L5S 1P9)",Quantity : 1,UnitAmount : 63.040000,LineAmount : 63.040000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (17054182705)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (16474175110)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000}
[2025-01-07 09:18:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193931,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:18:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193931', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:18:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193931', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:18:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:18:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:18:24] Production.INFO: ==25668== Releasing lock...
[2025-01-07 09:18:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:18:24] Production.INFO: 36 MB #Memory Used#
[2025-01-07 09:18:24] Production.INFO: ==== result =====
[2025-01-07 09:18:24] Production.INFO: {
"Id": "6cd65d67-9f6b-4d54-bd7d-f8c1de8f5ba5",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736259504755)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "9493c02f-636d-418e-8e0f-98fa6e66db8b",
"InvoiceNumber": "INV11123",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 392.66,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "d97f29cf-e0f8-4b9a-bb8e-aaec76dd5612",
"ContactStatus": "ACTIVE",
"Name": "Quality Car Rentals (AutoQuest)",
"FirstName": "Gary",
"LastName": "Letechiver",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1649250056207+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-01T00:00:00",
"Date": "\/Date(1733011200000+0000)\/",
"DueDateString": "2024-12-31T00:00:00",
"DueDate": "\/Date(1735603200000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "From 11-01-2024 To 11-30-2024",
"UnitAmount": 13.17,
"TaxType": "TAX020",
"TaxAmount": 1.71,
"LineAmount": 13.17,
"AccountCode": "234",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "bada193e-f099-4547-b989-a7bb59c7299f",
"AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "License for a Pay As You Go Cloud Phone extension",
"UnitAmount": 7.00,
"TaxType": "TAX020",
"TaxAmount": 15.47,
"LineAmount": 119.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 17.0000,
"DiscountRate": 0.00,
"LineItemID": "9c42766c-bd81-405c-bed8-467eaba476b1",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (8243 YONGE ST MARKHAM, ON L3T2C7)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "407b71ab-7571-42a6-b649-8f103ef73728",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (5 TANGIERS RD NORTH YORK, ON M3J2B1)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "2ef06857-b4df-480b-b552-c172a0cb43af",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (71 ANNE ST S BARRIE, ON L4N2E2)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "fae0235f-bf12-4cfd-bcbe-da7cd0068f09",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (14164775948)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "a793d4a3-a97f-494b-9908-36029830c325",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (14164309608)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "7203df9f-4628-45dc-9d62-9c2f1a67034d",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (14164772862)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "84dfe08d-65d4-4262-95e0-f592de042d43",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (14164794438)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "0164c76f-f27d-427e-905a-72e97e318752",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (17053001000)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "a39f3c95-1985-4d3e-8b2c-2855ede524d1",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (19054158172)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "defb8487-eb4a-4bdc-982c-49b4901a45f3",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (19058899642)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "3106dc21-784c-49cb-8a9f-62373ac52665",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "VDSL Internet Service 100mbps/10mbps (1380 Cardiff Blvd Unit 4, Mississauga, ON L5S 1P9)",
"UnitAmount": 131.22,
"TaxType": "TAX020",
"TaxAmount": 17.06,
"LineAmount": 131.22,
"AccountCode": "204",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "a516cacc-fa29-479b-9549-9d8a17078bd4",
"AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "LTE Internet Failover Service (1380 Cardiff Blvd Unit 4, Mississauga, ON L5S 1P9)",
"UnitAmount": 63.04,
"TaxType": "TAX020",
"TaxAmount": 8.20,
"LineAmount": 63.04,
"AccountCode": "204",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "79abd6a4-40f8-429a-a8f4-eb0545f42ed2",
"AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (17054182705)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "79f3a24f-13a3-4cac-94fe-f7c8fad3d847",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Additional DID (16474175110)",
"UnitAmount": 1.50,
"TaxType": "TAX020",
"TaxAmount": 0.20,
"LineAmount": 1.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "0c5d8e96-dd5e-4f50-b7aa-80ed957d5547",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 347.43,
"TotalTax": 45.23,
"Total": 392.66,
"UpdatedDateUTC": "\/Date(1736259504710+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 09:18:24] Production.INFO: -- Create Invoice id --9493c02f-636d-418e-8e0f-98fa6e66db8b
[2025-01-07 09:18:24] Production.INFO: -- Create Invoice Done --
[2025-01-07 09:18:24] Production.INFO: -- Xero End Inovice --
[2025-01-07 09:18:24] Production.INFO: ==25658== Releasing lock...
[2025-01-07 09:18:24] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10489 #Stops#
[2025-01-07 09:18:24] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 14:19:01] Production.INFO: ==25733== Lock acquired, processing the job...
[2025-01-07 14:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:19:01] Production.INFO: neon service started
[2025-01-07 14:19:01] Production.INFO: neon service started
[2025-01-07 14:19:01] Production.INFO: ==25733== Releasing lock...
[2025-01-07 14:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 14:19:02] Production.INFO: ==25737== Lock acquired, processing the job...
[2025-01-07 14:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:19:02] Production.INFO: ==25735== Lock acquired, processing the job...
[2025-01-07 09:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 14:19:02] Production.INFO: ==25737== Releasing lock...
[2025-01-07 14:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:19:02] Production.INFO: ==25735== Releasing lock...
[2025-01-07 09:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:19:03] Production.INFO: ==25740== Lock acquired, processing the job...
[2025-01-07 09:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:19:03] Production.INFO: ==25748== Lock acquired, processing the job...
[2025-01-07 09:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:19:03] Production.INFO: ==25742== Lock acquired, processing the job...
[2025-01-07 09:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:19:03] Production.INFO: ==25744== Lock acquired, processing the job...
[2025-01-07 09:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:19:03] Production.INFO: ==25746== Lock acquired, processing the job...
[2025-01-07 09:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:19:03] Production.INFO: ==25750== Lock acquired, processing the job...
[2025-01-07 09:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:19:03] Production.INFO: Account Balance Start.
[2025-01-07 09:19:03] Production.INFO: CreateAllLog Start
[2025-01-07 09:19:03] Production.INFO: 117
[2025-01-07 09:19:03] Production.ERROR: done
[2025-01-07 09:19:03] Production.INFO: Date 2024-12-08
[2025-01-07 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-07 09:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:19:03] Production.INFO: count ==21
[2025-01-07 09:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 09:19:03] Production.INFO: count ==21
[2025-01-07 09:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193935') start
[2025-01-07 09:19:03] Production.INFO: Date 2024-12-09
[2025-01-07 09:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:19:03] Production.INFO: Date 2024-12-10
[2025-01-07 09:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:19:03] Production.INFO: ==25742== Releasing lock...
[2025-01-07 09:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:19:03] Production.ERROR: done
[2025-01-07 09:19:03] Production.INFO: Date 2024-12-11
[2025-01-07 09:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193935') end
[2025-01-07 09:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:19:03] Production.INFO: 1
[2025-01-07 09:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:19:03] Production.INFO: ==25750== Releasing lock...
[2025-01-07 09:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:19:03] Production.INFO: Date 2024-12-12
[2025-01-07 09:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:19:03] Production.INFO: Date 2024-12-13
[2025-01-07 09:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:19:03] Production.INFO: Date 2024-12-14
[2025-01-07 09:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:19:03] Production.INFO: Date 2024-12-15
[2025-01-07 09:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:19:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:19:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:19:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:19:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:19:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:19:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:19:04] Production.INFO: Date 2024-12-22
[2025-01-07 09:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:19:04] Production.INFO: Date 2024-12-23
[2025-01-07 09:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:19:04] Production.INFO: Date 2024-12-24
[2025-01-07 09:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:19:04] Production.INFO: Date 2024-12-25
[2025-01-07 09:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:19:04] Production.INFO: Date 2024-12-26
[2025-01-07 09:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:19:04] Production.INFO: Date 2024-12-27
[2025-01-07 09:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:19:04] Production.INFO: Date 2024-12-28
[2025-01-07 09:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:19:04] Production.INFO: Date 2024-12-29
[2025-01-07 09:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:19:04] Production.INFO: Date 2024-12-30
[2025-01-07 09:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:19:04] Production.INFO: Date 2024-12-31
[2025-01-07 09:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:19:04] Production.INFO: Date 2025-01-01
[2025-01-07 09:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:19:04] Production.INFO: Date 2025-01-02
[2025-01-07 09:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:19:04] Production.INFO: Date 2025-01-03
[2025-01-07 09:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:19:04] Production.INFO: Date 2025-01-04
[2025-01-07 09:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:19:04] Production.INFO: Date 2025-01-05
[2025-01-07 09:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:19:04] Production.INFO: Date 2025-01-06
[2025-01-07 09:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:19:04] Production.INFO: Date 2025-01-07
[2025-01-07 09:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:19:04] Production.INFO: Total Charge 0
[2025-01-07 09:19:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:19:04
[end_date_ymd] => 2025-01-07 09:19:04
[RateCDR] => 1
)
[2025-01-07 09:19:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 06:19:04' and `end` < '2025-01-07 09:19:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 09:19:04] Production.INFO: CreateAllLog End
[2025-01-07 09:19:05] Production.INFO: Account Balance End.
[2025-01-07 09:19:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:19:05] Production.INFO: ==25746== Releasing lock...
[2025-01-07 09:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:19:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:19:11] Production.ERROR: CronJobId end10
[2025-01-07 09:19:11] Production.INFO: ==25744== Releasing lock...
[2025-01-07 09:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:19:13] Production.INFO: call_cost start
[2025-01-07 09:19:13] Production.INFO: call_cost end
[2025-01-07 09:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:19:14] Production.INFO: ==25740== Releasing lock...
[2025-01-07 09:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:19:17] Production.INFO: count ==1029
[2025-01-07 09:19:18] Production.ERROR: pbx CDR StartTime 2025-01-07 06:19:04 - End Time 2025-01-07 09:19:04
[2025-01-07 09:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193936', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193936', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193936', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193936', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:19:18] Production.INFO: ProcessCDR(1,14193936,1,1,2)
[2025-01-07 09:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193936,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193936,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193936,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193936,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193936', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193936', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:19:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:19:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:19:23] Production.INFO: ==25748== Releasing lock...
[2025-01-07 09:19:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:19:23] Production.INFO: 36.5 MB #Memory Used#
[2025-01-07 14:20:01] Production.INFO: ==25804== Lock acquired, processing the job...
[2025-01-07 14:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:20:01] Production.INFO: neon service started
[2025-01-07 14:20:01] Production.INFO: neon service started
[2025-01-07 14:20:01] Production.INFO: ==25804== Releasing lock...
[2025-01-07 14:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:20:02] Production.INFO: ==25806== Lock acquired, processing the job...
[2025-01-07 09:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:20:02] Production.INFO: ==25806== Releasing lock...
[2025-01-07 09:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 14:20:02] Production.INFO: ==25808== Lock acquired, processing the job...
[2025-01-07 14:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:20:02] Production.INFO: ==25808== Releasing lock...
[2025-01-07 14:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:20:03] Production.INFO: ==25810== Lock acquired, processing the job...
[2025-01-07 09:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 09:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 09:20:03] Production.INFO: ==25820== Lock acquired, processing the job...
[2025-01-07 09:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 09:20:03] Production.INFO: ==25810== Releasing lock...
[2025-01-07 09:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 09:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 09:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:20:03] Production.INFO: ==25812== Lock acquired, processing the job...
[2025-01-07 09:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:20:03] Production.INFO: ==25825== Lock acquired, processing the job...
[2025-01-07 09:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:20:03] Production.INFO: ==25814== Lock acquired, processing the job...
[2025-01-07 09:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:20:03] Production.INFO: ==25816== Lock acquired, processing the job...
[2025-01-07 09:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:20:03] Production.INFO: ==25818== Lock acquired, processing the job...
[2025-01-07 09:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:20:04] Production.INFO: Account Balance Start.
[2025-01-07 09:20:04] Production.INFO: CreateAllLog Start
[2025-01-07 09:20:04] Production.INFO: 117
[2025-01-07 09:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:20:04] Production.INFO: Date 2024-12-08
[2025-01-07 09:20:04] Production.INFO: ==25823== Lock acquired, processing the job...
[2025-01-07 09:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 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-07 09:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:20:04] Production.INFO: count ==21
[2025-01-07 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-07 09:20:04] Production.INFO: count ==21
[2025-01-07 09:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193938') start
[2025-01-07 09:20:04] Production.ERROR: done
[2025-01-07 09:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:20:04] Production.INFO: Date 2024-12-09
[2025-01-07 09:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:20:04] Production.INFO: Date 2024-12-10
[2025-01-07 09:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193938') end
[2025-01-07 09:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:20:04] Production.INFO: 1
[2025-01-07 09:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:20:04] Production.INFO: Date 2024-12-11
[2025-01-07 09:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:20:04] Production.ERROR: done
[2025-01-07 09:20:04] Production.INFO: ==25825== Releasing lock...
[2025-01-07 09:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:20:04] Production.INFO: Date 2024-12-12
[2025-01-07 09:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:20:04] Production.INFO: ==25814== Releasing lock...
[2025-01-07 09:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:20:04] Production.INFO: Date 2024-12-13
[2025-01-07 09:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:20:04] Production.INFO: Date 2024-12-14
[2025-01-07 09:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:20:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:20:04] Production.ERROR: done
[2025-01-07 09:20:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:20:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:20:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 09:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14193942', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 09:20:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:20:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:20:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:20:04] Production.INFO: Date 2024-12-22
[2025-01-07 09:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:20:04] Production.INFO: Date 2024-12-23
[2025-01-07 09:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:20:04] Production.INFO: Date 2024-12-24
[2025-01-07 09:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:20:04] Production.INFO: Date 2024-12-25
[2025-01-07 09:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:20:04] Production.INFO: Date 2024-12-26
[2025-01-07 09:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:20:04] Production.INFO: Date 2024-12-27
[2025-01-07 09:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:20:05] Production.INFO: Date 2024-12-28
[2025-01-07 09:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:20:05] Production.INFO: Date 2024-12-29
[2025-01-07 09:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:20:05] Production.INFO: Date 2024-12-30
[2025-01-07 09:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:20:05] Production.INFO: Date 2024-12-31
[2025-01-07 09:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:20:05] Production.INFO: Date 2025-01-01
[2025-01-07 09:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:20:05] Production.INFO: Date 2025-01-02
[2025-01-07 09:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:20:05] Production.INFO: Date 2025-01-03
[2025-01-07 09:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:20:05] Production.INFO: Date 2025-01-04
[2025-01-07 09:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:20:05] Production.INFO: Date 2025-01-05
[2025-01-07 09:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:20:05] Production.INFO: Date 2025-01-06
[2025-01-07 09:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:20:05] Production.INFO: Date 2025-01-07
[2025-01-07 09:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:20:05] Production.INFO: Total Charge 0
[2025-01-07 09:20:05] Production.INFO: CreateAllLog End
[2025-01-07 09:20:05] Production.INFO: Account Balance End.
[2025-01-07 09:20:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:20:05] Production.INFO: ==25818== Releasing lock...
[2025-01-07 09:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:20:05
[end_date_ymd] => 2025-01-07 09:20:05
[RateCDR] => 1
)
[2025-01-07 09: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-07 06:20:05' and `end` < '2025-01-07 09: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-07 09:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14193942', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 09:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 09:20:09] Production.INFO: ProcessCDR(1,14193942,1,1,2)
[2025-01-07 09:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14193942,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14193942,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:20:09] Production.INFO: ==25823== Releasing lock...
[2025-01-07 09:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 09:20:09] Production.INFO: 26 MB #Memory Used#
[2025-01-07 09:20:13] Production.ERROR: CronJobId end10
[2025-01-07 09:20:13] Production.INFO: ==25816== Releasing lock...
[2025-01-07 09:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:20:15] Production.INFO: call_cost start
[2025-01-07 09:20:15] Production.INFO: call_cost end
[2025-01-07 09:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:20:16] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:20:16] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:20:16] Production.INFO: ==25812== Releasing lock...
[2025-01-07 09:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:20:18] Production.INFO: count ==1052
[2025-01-07 09:20:19] Production.ERROR: pbx CDR StartTime 2025-01-07 06:20:05 - End Time 2025-01-07 09:20:05
[2025-01-07 09:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193941', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193941', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193941', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193941', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:20:19] Production.INFO: ProcessCDR(1,14193941,1,1,2)
[2025-01-07 09:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193941,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193941,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193941,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193941,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193941', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193941', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:20:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:20:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:20:24] Production.INFO: ==25820== Releasing lock...
[2025-01-07 09:20:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:20:24] Production.INFO: 36.5 MB #Memory Used#
[2025-01-07 14:21:02] Production.INFO: ==25879== Lock acquired, processing the job...
[2025-01-07 14:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:21:02] Production.INFO: neon service started
[2025-01-07 14:21:02] Production.INFO: neon service started
[2025-01-07 14:21:02] Production.INFO: ==25879== Releasing lock...
[2025-01-07 14:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:21:02] Production.INFO: ==25881== Lock acquired, processing the job...
[2025-01-07 09:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 14:21:02] Production.INFO: ==25883== Lock acquired, processing the job...
[2025-01-07 14:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:21:03] Production.INFO: ==25883== Releasing lock...
[2025-01-07 14:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:21:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:21:03] Production.INFO: ==25881== Releasing lock...
[2025-01-07 09:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:21:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:21:04] Production.INFO: ==25886== Lock acquired, processing the job...
[2025-01-07 09:21:04] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10490 #Starts#
[2025-01-07 09:21:04] Production.INFO: ==25888== Lock acquired, processing the job...
[2025-01-07 09:21:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:21:04] Production.INFO: ==25890== Lock acquired, processing the job...
[2025-01-07 09:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:21:04] Production.INFO: -- Xero Api Check --
[2025-01-07 09:21:04] Production.INFO: ==25892== Lock acquired, processing the job...
[2025-01-07 09:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:21:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:21:04] Production.INFO: ==25896== Lock acquired, processing the job...
[2025-01-07 09:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:21:04] Production.INFO: ==25894== Lock acquired, processing the job...
[2025-01-07 09:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:21:04] Production.INFO: Account Balance Start.
[2025-01-07 09:21:04] Production.INFO: CreateAllLog Start
[2025-01-07 09:21:04] Production.INFO: 117
[2025-01-07 09:21:04] Production.INFO: ==25898== Lock acquired, processing the job...
[2025-01-07 09:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:21:04] Production.INFO: Date 2024-12-08
[2025-01-07 09:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:21:04] Production.INFO: Date 2024-12-09
[2025-01-07 09:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:21:04] Production.INFO: Date 2024-12-10
[2025-01-07 09:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:21:04] Production.INFO: ==25890== Releasing lock...
[2025-01-07 09:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:21:04] Production.ERROR: done
[2025-01-07 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-07 09:21:04] Production.INFO: Date 2024-12-11
[2025-01-07 09:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:21:04] Production.INFO: count ==21
[2025-01-07 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-07 09:21:04] Production.INFO: count ==21
[2025-01-07 09:21:04] Production.INFO: Date 2024-12-12
[2025-01-07 09:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193946') start
[2025-01-07 09:21:04] Production.ERROR: done
[2025-01-07 09:21:04] Production.INFO: Date 2024-12-13
[2025-01-07 09:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:21:05] Production.INFO: Date 2024-12-14
[2025-01-07 09:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:21:05] Production.ERROR: PBX CALL prc_importPBXExtension('14193946') end
[2025-01-07 09:21:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:21:05] Production.INFO: 1
[2025-01-07 09:21:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:21:05] Production.INFO: Date 2024-12-15
[2025-01-07 09:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:21:05] Production.INFO: ==25898== Releasing lock...
[2025-01-07 09:21:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:21:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:21:05] Production.INFO: Date 2024-12-16
[2025-01-07 09:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:21:05] Production.INFO: Date 2024-12-17
[2025-01-07 09:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:21:05] Production.INFO: Date 2024-12-18
[2025-01-07 09:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:21:05] Production.INFO: Date 2024-12-19
[2025-01-07 09:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:21:05] Production.INFO: Date 2024-12-20
[2025-01-07 09:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:21:05] Production.INFO: Date 2024-12-21
[2025-01-07 09:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:21:05] Production.INFO: Date 2024-12-22
[2025-01-07 09:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:21:05] Production.INFO: Date 2024-12-23
[2025-01-07 09:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:21:05] Production.INFO: Date 2024-12-24
[2025-01-07 09:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:21:05] Production.INFO: Date 2024-12-25
[2025-01-07 09:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:21:05] Production.INFO: Date 2024-12-26
[2025-01-07 09:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:21:05] Production.INFO: Date 2024-12-27
[2025-01-07 09:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:21:05] Production.INFO: Date 2024-12-28
[2025-01-07 09:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:21:05] Production.INFO: Date 2024-12-29
[2025-01-07 09:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:21:05] Production.INFO: Date 2024-12-30
[2025-01-07 09:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:21:05] Production.INFO: Date 2024-12-31
[2025-01-07 09:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:21:05] Production.INFO: Date 2025-01-01
[2025-01-07 09:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:21:05] Production.INFO: Date 2025-01-02
[2025-01-07 09:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:21:05] Production.INFO: Date 2025-01-03
[2025-01-07 09:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:21:05] Production.INFO: Date 2025-01-04
[2025-01-07 09:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:21:05] Production.INFO: Date 2025-01-05
[2025-01-07 09:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:21:05] Production.INFO: Date 2025-01-06
[2025-01-07 09:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:21:05] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 859
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 1.435664
[namelookup_time] => 0.547576
[connect_time] => 0.54887
[pretransfer_time] => 1.003857
[size_upload] => 82
[size_download] => 2755
[speed_download] => 1918
[speed_upload] => 57
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 1.435621
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.17
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 45402
)
[2025-01-07 09:21:05] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTk2NjUsImV4cCI6MTczNjI1OTk2NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjU5NjY1LCJhdF9oYXNoIjoibkJJZWRXY2ViVG0wanVwdk9TNlU3USIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.XB3inAYTXbAuWYR4qFyBvYJS9riA7a7cBt7mL0xd1D3wF6VVlWHJ90H421cE4CbzFMbPIZHYX7bSSZ8e6F5PFZ3bxo6PBrtaQvjBW4mTn2RK8dQcdc_rAsSqB4C3YzqPTMxxfnB_md5Bnnp8w3mGt2mBcHLiczXqFy-ov2nEteHIONH9m7B0JfDmhJJlWz8BEWa8JIg_j4w2C5NWwsasj8qdwfonjXzMM8kYOO9RSroo3VPKZEf9PbbM0ljMXBEQX_DCMfXtFNV_qYWlpm5Xw5Q1YxRCufLxv-G7O1S84ZjriyzGSsWy4vcM_QqGWNjH4iQjjvb3WyMLs_hc36K7ZQ
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTk2NjUsImV4cCI6MTczNjI2MTQ2NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.vOKgnY3Jnq01tf1bZffYqtF4jZEI0KcHhxxvnrrS1l2qlidxOJBJba_XoiFbgPBwD8kJBvZE5DR1b1Y1zEt4Pg3-KVBr7FztPXNJNJziI6KHkfATFASIvqrR71hax4GpA9XcDae0eush8N35s3iyC9_9gmSBSomqax47Mc1d4lE246ZFTXJ8iO3gW8QZi196Odjzv6sQgnmH9vduCQj0oIVuY-shNic4vuQlIEkNc3e0O6RThdWA_5UEBXphq8oDhAOEEp-zgyeCiUC3wVsk1Z29fvVgtqbcT5zvaTgvKVaEcPpQRJsoHvf9hL4I8CzBHhrC7i0sJxq4ji_oaJHqKA
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => KjSvXaJ7zGR0iomPCdfsTch2abA1H2KmPHzYb91Gyiw
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 09:21:05] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTk2NjUsImV4cCI6MTczNjI1OTk2NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjU5NjY1LCJhdF9oYXNoIjoibkJJZWRXY2ViVG0wanVwdk9TNlU3USIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.XB3inAYTXbAuWYR4qFyBvYJS9riA7a7cBt7mL0xd1D3wF6VVlWHJ90H421cE4CbzFMbPIZHYX7bSSZ8e6F5PFZ3bxo6PBrtaQvjBW4mTn2RK8dQcdc_rAsSqB4C3YzqPTMxxfnB_md5Bnnp8w3mGt2mBcHLiczXqFy-ov2nEteHIONH9m7B0JfDmhJJlWz8BEWa8JIg_j4w2C5NWwsasj8qdwfonjXzMM8kYOO9RSroo3VPKZEf9PbbM0ljMXBEQX_DCMfXtFNV_qYWlpm5Xw5Q1YxRCufLxv-G7O1S84ZjriyzGSsWy4vcM_QqGWNjH4iQjjvb3WyMLs_hc36K7ZQ
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTk2NjUsImV4cCI6MTczNjI2MTQ2NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.vOKgnY3Jnq01tf1bZffYqtF4jZEI0KcHhxxvnrrS1l2qlidxOJBJba_XoiFbgPBwD8kJBvZE5DR1b1Y1zEt4Pg3-KVBr7FztPXNJNJziI6KHkfATFASIvqrR71hax4GpA9XcDae0eush8N35s3iyC9_9gmSBSomqax47Mc1d4lE246ZFTXJ8iO3gW8QZi196Odjzv6sQgnmH9vduCQj0oIVuY-shNic4vuQlIEkNc3e0O6RThdWA_5UEBXphq8oDhAOEEp-zgyeCiUC3wVsk1Z29fvVgtqbcT5zvaTgvKVaEcPpQRJsoHvf9hL4I8CzBHhrC7i0sJxq4ji_oaJHqKA
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => KjSvXaJ7zGR0iomPCdfsTch2abA1H2KmPHzYb91Gyiw
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 09:21:05] Production.INFO: AccountID 148
[2025-01-07 09:21:05] Production.INFO: AccountName Pharmacy Associates of Port Perry
[2025-01-07 09:21:05] Production.INFO: Checkcustomer
[2025-01-07 09:21:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Pharmacy%20Associates%20of%20Port%20Perry"
[2025-01-07 09:21:05] Production.INFO: Date 2025-01-07
[2025-01-07 09:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:21:05] Production.INFO: Total Charge 0
[2025-01-07 09:21:05] Production.INFO: CreateAllLog End
[2025-01-07 09:21:05] Production.INFO: Account Balance End.
[2025-01-07 09:21:06] Production.ERROR: CronJobId end 12
[2025-01-07 09:21:06] Production.INFO: ==25894== Releasing lock...
[2025-01-07 09:21:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:21:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:21:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:21:06
[end_date_ymd] => 2025-01-07 09:21:06
[RateCDR] => 1
)
[2025-01-07 09: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-07 06:21:06' and `end` < '2025-01-07 09: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-07 09:21:08] Production.INFO: Contact id print CheckCustomer Case===c60706d0-0fd9-40ff-a211-387c86733ac7
[2025-01-07 09:21:08] Production.INFO: -- count --1
[2025-01-07 09:21:08] Production.INFO: -- Xero Add Inovice --
[2025-01-07 09:21:08] Production.INFO: CheckInvoice xerov2: INV11134
[2025-01-07 09:21:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11134
[2025-01-07 09:21:11] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 09:21:11] Production.INFO: Invoice SubTotal 32.500000
[2025-01-07 09:21:11] Production.INFO: Invoice DetTotal 32.5
[2025-01-07 09:21:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Pharmacy%20Associates%20of%20Port%20Perry"
[2025-01-07 09:21:11] Production.ERROR: CronJobId end10
[2025-01-07 09:21:11] Production.INFO: ==25892== Releasing lock...
[2025-01-07 09:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:21:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:21:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:21:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:21:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:21:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:21:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:21:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:21:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:21:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:21:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:21:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:21:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:21:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:21:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:21:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 09:21:14] Production.INFO: call_cost start
[2025-01-07 09:21:14] Production.INFO: call_cost end
[2025-01-07 09:21:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:21:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:21:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:21:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:21:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:21:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:21:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:21:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:21:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:21:15] Production.INFO: ==25888== Releasing lock...
[2025-01-07 09:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:21:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:21:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 09:21:19] Production.INFO: count ==1107
[2025-01-07 09:21:19] Production.ERROR: pbx CDR StartTime 2025-01-07 06:21:06 - End Time 2025-01-07 09:21:06
[2025-01-07 09:21:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193947', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193947', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193947', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193947', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:21:19] Production.INFO: ProcessCDR(1,14193947,1,1,2)
[2025-01-07 09:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193947,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:21:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 09:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193947,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193947,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:21:22] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Retail - 3 Line Flat Rate (Burstable to 5 Active Calls)",Quantity : 3,UnitAmount : 10.000000,LineAmount : 30.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (19059850200 - 11 Water Street Unit B Port Perry, ON L9L 1H9 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 09:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193947,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193947', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193947', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:21:22] Production.INFO: ==25896== Releasing lock...
[2025-01-07 09:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:21:22] Production.INFO: 37 MB #Memory Used#
[2025-01-07 09:21:25] Production.INFO: ==== result =====
[2025-01-07 09:21:25] Production.INFO: {
"Id": "3f00c7a4-9bf1-435b-a4f7-550b997d234d",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736259685277)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "e3b88015-4782-4a53-8c26-36a429152f87",
"InvoiceNumber": "INV11134",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 36.73,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "c60706d0-0fd9-40ff-a211-387c86733ac7",
"ContactStatus": "ACTIVE",
"Name": "Pharmacy Associates of Port Perry",
"FirstName": "Doug",
"LastName": "Brown",
"EmailAddress": "pharmacyassociates.pp@gmail.com",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1620932850877+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-01T00:00:00",
"Date": "\/Date(1733011200000+0000)\/",
"DueDateString": "2024-12-31T00:00:00",
"DueDate": "\/Date(1735603200000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Retail - 3 Line Flat Rate (Burstable to 5 Active Calls)",
"UnitAmount": 10.00,
"TaxType": "TAX020",
"TaxAmount": 3.90,
"LineAmount": 30.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 3.0000,
"DiscountRate": 0.00,
"LineItemID": "cb17cc50-30b7-4df5-a1f5-8b554cb458ac",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (19059850200 - 11 Water Street Unit B Port Perry, ON L9L 1H9 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "5f42299e-8590-4085-887f-cd62d3834852",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 32.50,
"TotalTax": 4.23,
"Total": 36.73,
"UpdatedDateUTC": "\/Date(1736259685213+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 09:21:25] Production.INFO: -- Create Invoice id --e3b88015-4782-4a53-8c26-36a429152f87
[2025-01-07 09:21:25] Production.INFO: -- Create Invoice Done --
[2025-01-07 09:21:25] Production.INFO: -- Xero End Inovice --
[2025-01-07 09:21:25] Production.INFO: ==25886== Releasing lock...
[2025-01-07 09:21:25] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10490 #Stops#
[2025-01-07 09:21:25] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 14:22:01] Production.INFO: ==25959== Lock acquired, processing the job...
[2025-01-07 14:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:22:01] Production.INFO: neon service started
[2025-01-07 14:22:01] Production.INFO: neon service started
[2025-01-07 14:22:01] Production.INFO: ==25959== Releasing lock...
[2025-01-07 14:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 14:22:02] Production.INFO: ==25963== Lock acquired, processing the job...
[2025-01-07 14:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:22:02] Production.INFO: ==25963== Releasing lock...
[2025-01-07 14:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:22:02] Production.INFO: ==25961== Lock acquired, processing the job...
[2025-01-07 09:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:22:02] Production.INFO: ==25961== Releasing lock...
[2025-01-07 09:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:22:03] Production.INFO: ==25967== Lock acquired, processing the job...
[2025-01-07 09:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:22:03] Production.INFO: ==25973== Lock acquired, processing the job...
[2025-01-07 09:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:22:03] Production.INFO: ==25965== Lock acquired, processing the job...
[2025-01-07 09:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:22:03] Production.INFO: ==25969== Lock acquired, processing the job...
[2025-01-07 09:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:22:03] Production.INFO: ==25971== Lock acquired, processing the job...
[2025-01-07 09:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:22:03] Production.INFO: ==25976== Lock acquired, processing the job...
[2025-01-07 09:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:22:03] Production.ERROR: done
[2025-01-07 09:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:22:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:22:03] Production.INFO: Account Balance Start.
[2025-01-07 09:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:22:03] Production.INFO: CreateAllLog Start
[2025-01-07 09:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:22:03] Production.INFO: 117
[2025-01-07 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-07 09:22:03] Production.INFO: Date 2024-12-08
[2025-01-07 09:22:03] Production.INFO: count ==21
[2025-01-07 09:22:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:22:03] Production.INFO: count ==21
[2025-01-07 09:22:03] Production.INFO: ==25967== Releasing lock...
[2025-01-07 09:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193951') start
[2025-01-07 09:22:03] Production.INFO: Date 2024-12-09
[2025-01-07 09:22:03] Production.ERROR: done
[2025-01-07 09:22:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:22:03] Production.INFO: Date 2024-12-10
[2025-01-07 09:22:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:22:03] Production.INFO: Date 2024-12-11
[2025-01-07 09:22:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193951') end
[2025-01-07 09:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:22:03] Production.INFO: 1
[2025-01-07 09:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:22:04] Production.INFO: ==25976== Releasing lock...
[2025-01-07 09:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:22:04] Production.INFO: Date 2024-12-12
[2025-01-07 09:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:22:04] Production.INFO: Date 2024-12-13
[2025-01-07 09:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:22:04] Production.INFO: Date 2024-12-14
[2025-01-07 09:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:22:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:22:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:22:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:22:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:22:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:22:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:22:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:22:04] Production.INFO: Date 2024-12-22
[2025-01-07 09:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:22:04] Production.INFO: Date 2024-12-23
[2025-01-07 09:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:22:04] Production.INFO: Date 2024-12-24
[2025-01-07 09:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:22:04] Production.INFO: Date 2024-12-25
[2025-01-07 09:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:22:04] Production.INFO: Date 2024-12-26
[2025-01-07 09:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:22:04] Production.INFO: Date 2024-12-27
[2025-01-07 09:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:22:04] Production.INFO: Date 2024-12-28
[2025-01-07 09:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:22:04] Production.INFO: Date 2024-12-29
[2025-01-07 09:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:22:04] Production.INFO: Date 2024-12-30
[2025-01-07 09:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:22:04] Production.INFO: Date 2024-12-31
[2025-01-07 09:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:22:04] Production.INFO: Date 2025-01-01
[2025-01-07 09:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:22:04] Production.INFO: Date 2025-01-02
[2025-01-07 09:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:22:04] Production.INFO: Date 2025-01-03
[2025-01-07 09:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:22:04] Production.INFO: Date 2025-01-04
[2025-01-07 09:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:22:04] Production.INFO: Date 2025-01-05
[2025-01-07 09:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:22:04] Production.INFO: Date 2025-01-06
[2025-01-07 09:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:22:04] Production.INFO: Date 2025-01-07
[2025-01-07 09:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:22:04] Production.INFO: Total Charge 0
[2025-01-07 09:22:04] Production.INFO: CreateAllLog End
[2025-01-07 09:22:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:22:04
[end_date_ymd] => 2025-01-07 09:22:04
[RateCDR] => 1
)
[2025-01-07 09: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-07 06:22:04' and `end` < '2025-01-07 09: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-07 09:22:05] Production.INFO: Account Balance End.
[2025-01-07 09:22:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:22:05] Production.INFO: ==25971== Releasing lock...
[2025-01-07 09:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:22:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:22:12] Production.ERROR: CronJobId end10
[2025-01-07 09:22:12] Production.INFO: ==25969== Releasing lock...
[2025-01-07 09:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:22:13] Production.INFO: call_cost start
[2025-01-07 09:22:13] Production.INFO: call_cost end
[2025-01-07 09:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:22:14] Production.INFO: ==25965== Releasing lock...
[2025-01-07 09:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:22:18] Production.INFO: count ==1109
[2025-01-07 09:22:18] Production.ERROR: pbx CDR StartTime 2025-01-07 06:22:04 - End Time 2025-01-07 09:22:04
[2025-01-07 09:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193952', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193952', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193952', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193952', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:22:18] Production.INFO: ProcessCDR(1,14193952,1,1,2)
[2025-01-07 09:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193952,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193952,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193952,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:22:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193952,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193952', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193952', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:22:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:22:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:22:23] Production.INFO: ==25973== Releasing lock...
[2025-01-07 09:22:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:22:23] Production.INFO: 36.5 MB #Memory Used#
[2025-01-07 14:23:02] Production.INFO: ==26030== Lock acquired, processing the job...
[2025-01-07 14:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:23:02] Production.INFO: neon service started
[2025-01-07 14:23:02] Production.INFO: neon service started
[2025-01-07 14:23:02] Production.INFO: ==26030== Releasing lock...
[2025-01-07 14:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:23:02] Production.INFO: ==26032== Lock acquired, processing the job...
[2025-01-07 09:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 14:23:02] Production.INFO: ==26034== Lock acquired, processing the job...
[2025-01-07 14:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:23:02] Production.INFO: ==26034== Releasing lock...
[2025-01-07 14:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:23:03] Production.INFO: ==26032== Releasing lock...
[2025-01-07 09:23:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:23:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:23:04] Production.INFO: ==26037== Lock acquired, processing the job...
[2025-01-07 09:23:04] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10491 #Starts#
[2025-01-07 09:23:04] Production.INFO: -- Xero Api Check --
[2025-01-07 09:23:04] Production.INFO: ==26041== Lock acquired, processing the job...
[2025-01-07 09:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:23:04] Production.INFO: ==26039== Lock acquired, processing the job...
[2025-01-07 09:23:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:23:04] Production.INFO: ==26043== Lock acquired, processing the job...
[2025-01-07 09:23:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:23:04] Production.INFO: ==26045== Lock acquired, processing the job...
[2025-01-07 09:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:23:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:23:04] Production.INFO: ==26047== Lock acquired, processing the job...
[2025-01-07 09:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:23:04] Production.INFO: Account Balance Start.
[2025-01-07 09:23:04] Production.INFO: CreateAllLog Start
[2025-01-07 09:23:04] Production.INFO: 117
[2025-01-07 09:23:04] Production.INFO: Date 2024-12-08
[2025-01-07 09:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:23:04] Production.INFO: ==26049== Lock acquired, processing the job...
[2025-01-07 09:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:23:04] Production.INFO: Date 2024-12-09
[2025-01-07 09:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:23:04] Production.INFO: ==26041== Releasing lock...
[2025-01-07 09:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:23:04] Production.INFO: Date 2024-12-10
[2025-01-07 09:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:23:04] Production.INFO: Date 2024-12-11
[2025-01-07 09:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:23:04] Production.INFO: count ==21
[2025-01-07 09:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:23:04] Production.INFO: count ==21
[2025-01-07 09:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193956') start
[2025-01-07 09:23:04] Production.ERROR: done
[2025-01-07 09:23:04] Production.INFO: Date 2024-12-12
[2025-01-07 09:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:23:04] Production.INFO: Date 2024-12-13
[2025-01-07 09:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193956') end
[2025-01-07 09:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:23:04] Production.INFO: 1
[2025-01-07 09:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:23:04] Production.INFO: Date 2024-12-14
[2025-01-07 09:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:23:04] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 855
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.597231
[namelookup_time] => 0.277039
[connect_time] => 0.283852
[pretransfer_time] => 0.514521
[size_upload] => 82
[size_download] => 2755
[speed_download] => 4612
[speed_upload] => 137
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.597199
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.33
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 43330
)
[2025-01-07 09:23:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTk3ODQsImV4cCI6MTczNjI2MDA4NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjU5Nzg0LCJhdF9oYXNoIjoibU9BQ1huWlVqNTdZcnZYaEI0SUpsUSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.qaT64d9mD9F7XJnb51fevNAu2p2DLz6CqE7vCNQgPGxzYpC2nBMnMkDH8Uz_GpcUIvZ38sqzJeoreNcbox2FcKJKL-os1nnJqTPZAIrWpf-caHN1ICeDVQVxc-G3QGT_yEwZW6ztV1SmwLJl3KDzfsbteydJ9nBx5IPNDgs2l8eJtdjsayQhIHhy3rAVY9YWtjFyBdLSqw4qmkMG1KQG4Hjoq317QID1gclPF8asPkc4BaTpxPwwxcUNlvIJvEZNTQSGa5m0_pktWhvG365rTFeqqfSM7qu2nZqlHXl-sUGjgMF7bmEw2uIRm5pM8_L-hzd7q3vPuqdgSxvQHnj-jA
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTk3ODQsImV4cCI6MTczNjI2MTU4NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.uXzWASteK_ZGLXBajzAs1q30zhj_c_BDVD1-eJ-CN2OtYy52rmk0bWEKvBli5oAgZ0luB8C1meR9EeNqFakEM1_qsdrswevZYW_Lhc7Encs7iNV8CxB4mJRpIuiQ1UbwJ2gDZvFJXhJB9Qpulcw08P_nGzW-Ac7YgOL4Lk1wt2uTABv0VFJKmo0g2AZovLwfVRqh5VPdx4gwZkQUVUldUnvrQgVj_BrT2XxsgefJP2o9vMerxmcJEEthmMP4f2WbIpezjKRmnqHGUTFoSc_25v7fw_AD5ZwTxoKCSYZYzxK6QMnlcDUI4LtL6cA1xBvnT27iRzxiipXXeecbMFiExg
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => aMW-qNJDy-sII5ugnt1T4KZb9hURfpAhlsgWyRmRLho
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 09:23:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:23:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTk3ODQsImV4cCI6MTczNjI2MDA4NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjU5Nzg0LCJhdF9oYXNoIjoibU9BQ1huWlVqNTdZcnZYaEI0SUpsUSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.qaT64d9mD9F7XJnb51fevNAu2p2DLz6CqE7vCNQgPGxzYpC2nBMnMkDH8Uz_GpcUIvZ38sqzJeoreNcbox2FcKJKL-os1nnJqTPZAIrWpf-caHN1ICeDVQVxc-G3QGT_yEwZW6ztV1SmwLJl3KDzfsbteydJ9nBx5IPNDgs2l8eJtdjsayQhIHhy3rAVY9YWtjFyBdLSqw4qmkMG1KQG4Hjoq317QID1gclPF8asPkc4BaTpxPwwxcUNlvIJvEZNTQSGa5m0_pktWhvG365rTFeqqfSM7qu2nZqlHXl-sUGjgMF7bmEw2uIRm5pM8_L-hzd7q3vPuqdgSxvQHnj-jA
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTk3ODQsImV4cCI6MTczNjI2MTU4NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.uXzWASteK_ZGLXBajzAs1q30zhj_c_BDVD1-eJ-CN2OtYy52rmk0bWEKvBli5oAgZ0luB8C1meR9EeNqFakEM1_qsdrswevZYW_Lhc7Encs7iNV8CxB4mJRpIuiQ1UbwJ2gDZvFJXhJB9Qpulcw08P_nGzW-Ac7YgOL4Lk1wt2uTABv0VFJKmo0g2AZovLwfVRqh5VPdx4gwZkQUVUldUnvrQgVj_BrT2XxsgefJP2o9vMerxmcJEEthmMP4f2WbIpezjKRmnqHGUTFoSc_25v7fw_AD5ZwTxoKCSYZYzxK6QMnlcDUI4LtL6cA1xBvnT27iRzxiipXXeecbMFiExg
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => aMW-qNJDy-sII5ugnt1T4KZb9hURfpAhlsgWyRmRLho
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 09:23:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:23:04] Production.INFO: AccountID 165
[2025-01-07 09:23:04] Production.INFO: AccountName PharmaSave (Oak Tree Medical)
[2025-01-07 09:23:04] Production.INFO: Checkcustomer
[2025-01-07 09:23:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="PharmaSave%20%28Oak%20Tree%20Medical%29"
[2025-01-07 09:23:04] Production.INFO: ==26049== Releasing lock...
[2025-01-07 09:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:23:04] Production.ERROR: done
[2025-01-07 09:23:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:23:05] Production.INFO: Date 2024-12-18
[2025-01-07 09:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:23:05] Production.INFO: Date 2024-12-19
[2025-01-07 09:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:23:05] Production.INFO: Date 2024-12-20
[2025-01-07 09:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:23:05] Production.INFO: Date 2024-12-21
[2025-01-07 09:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:23:05] Production.INFO: Date 2024-12-22
[2025-01-07 09:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:23:05] Production.INFO: Date 2024-12-23
[2025-01-07 09:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:23:05] Production.INFO: Date 2024-12-24
[2025-01-07 09:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:23:05] Production.INFO: Date 2024-12-25
[2025-01-07 09:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:23:05] Production.INFO: Date 2024-12-26
[2025-01-07 09:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:23:05] Production.INFO: Date 2024-12-27
[2025-01-07 09:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:23:05] Production.INFO: Date 2024-12-28
[2025-01-07 09:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:23:05] Production.INFO: Date 2024-12-29
[2025-01-07 09:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:23:05] Production.INFO: Date 2024-12-30
[2025-01-07 09:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:23:05] Production.INFO: Date 2024-12-31
[2025-01-07 09:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:23:05] Production.INFO: Date 2025-01-01
[2025-01-07 09:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:23:05] Production.INFO: Date 2025-01-02
[2025-01-07 09:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:23:05] Production.INFO: Date 2025-01-03
[2025-01-07 09:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:23:05] Production.INFO: Date 2025-01-04
[2025-01-07 09:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:23:05] Production.INFO: Date 2025-01-05
[2025-01-07 09:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:23:05] Production.INFO: Date 2025-01-06
[2025-01-07 09:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:23:05] Production.INFO: Date 2025-01-07
[2025-01-07 09:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:23:05] Production.INFO: Total Charge 0
[2025-01-07 09:23:05] Production.INFO: CreateAllLog End
[2025-01-07 09:23:05] Production.INFO: Account Balance End.
[2025-01-07 09:23:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:23:05] Production.INFO: ==26045== Releasing lock...
[2025-01-07 09:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:23:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:23:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:23:06
[end_date_ymd] => 2025-01-07 09:23:06
[RateCDR] => 1
)
[2025-01-07 09:23:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 06:23:06' and `end` < '2025-01-07 09:23:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 09:23:07] Production.INFO: Contact id print CheckCustomer Case===dd008964-6378-4903-b54b-a7b8eb03f05f
[2025-01-07 09:23:07] Production.INFO: -- count --1
[2025-01-07 09:23:07] Production.INFO: -- Xero Add Inovice --
[2025-01-07 09:23:07] Production.INFO: CheckInvoice xerov2: INV11120
[2025-01-07 09:23:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11120
[2025-01-07 09:23:10] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 09:23:10] Production.INFO: Invoice SubTotal 32.500000
[2025-01-07 09:23:10] Production.INFO: Invoice DetTotal 32.5
[2025-01-07 09:23:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="PharmaSave%20%28Oak%20Tree%20Medical%29"
[2025-01-07 09:23:12] Production.ERROR: CronJobId end10
[2025-01-07 09:23:12] Production.INFO: ==26043== Releasing lock...
[2025-01-07 09:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:23:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 09:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:23:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:23:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:23:14] Production.INFO: call_cost start
[2025-01-07 09:23:14] Production.INFO: call_cost end
[2025-01-07 09:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:23:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:23:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:23:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:23:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:23:15] Production.INFO: ==26039== Releasing lock...
[2025-01-07 09:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:23:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 09:23:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 09:23:19] Production.INFO: count ==1134
[2025-01-07 09:23:19] Production.ERROR: pbx CDR StartTime 2025-01-07 06:23:06 - End Time 2025-01-07 09:23:06
[2025-01-07 09:23:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193957', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193957', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193957', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193957', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:23:19] Production.INFO: ProcessCDR(1,14193957,1,1,2)
[2025-01-07 09:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193957,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:23:20] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Retail Phone Service - 3 Channels Dedicated/Burst to 5 Channels",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (9058521007 - 4B Campbell Drive, Unit 1, Uxbridge, ON L9P1H6)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,"Description": "Discount - Friends and Family (Doug Geary referral)",Quantity : 1,UnitAmount : -45.000000,LineAmount : -45.000000}
[2025-01-07 09:23:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193957,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:23:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193957,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:23:23] Production.INFO: ==== result =====
[2025-01-07 09:23:23] Production.INFO: {
"Id": "022ef998-d727-4f4a-9308-d15994241c9c",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736259803282)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "127ef182-ed02-41f7-a369-1586a6b5e6d4",
"InvoiceNumber": "INV11120",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 36.73,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"IsDiscounted": false,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "dd008964-6378-4903-b54b-a7b8eb03f05f",
"ContactStatus": "ACTIVE",
"Name": "PharmaSave (Oak Tree Medical)",
"FirstName": "Sameer",
"LastName": "Remtulla",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1666687158210+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-11-30T00:00:00",
"Date": "\/Date(1732924800000+0000)\/",
"DueDateString": "2024-12-30T00:00:00",
"DueDate": "\/Date(1735516800000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Retail Phone Service - 3 Channels Dedicated/Burst to 5 Channels",
"UnitAmount": 75.00,
"TaxType": "TAX020",
"TaxAmount": 9.75,
"LineAmount": 75.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "057c1411-2ee4-429f-88f0-391debedd82a",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
},
{
"Description": "e911 address registration (9058521007 - 4B Campbell Drive, Unit 1, Uxbridge, ON L9P1H6)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "35e828ce-19e1-45ae-b015-364ea980f5be",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
},
{
"Description": "Discount - Friends and Family (Doug Geary referral)",
"UnitAmount": -45.00,
"TaxType": "TAX020",
"TaxAmount": -5.85,
"LineAmount": -45.00,
"AccountCode": "303",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "0c5987a8-4e8f-4aa8-a254-f9c85ef4eabb",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"ValidationErrors": []
}
],
"SubTotal": 32.50,
"TotalTax": 4.23,
"Total": 36.73,
"UpdatedDateUTC": "\/Date(1736259803237+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 09:23:23] Production.INFO: -- Create Invoice id --127ef182-ed02-41f7-a369-1586a6b5e6d4
[2025-01-07 09:23:23] Production.INFO: -- Create Invoice Done --
[2025-01-07 09:23:23] Production.INFO: -- Xero End Inovice --
[2025-01-07 09:23:23] Production.INFO: ==26037== Releasing lock...
[2025-01-07 09:23:23] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10491 #Stops#
[2025-01-07 09:23:23] Production.INFO: 29.75 MB #Memory Used#
[2025-01-07 09:23:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193957,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:23:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193957', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:23:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193957', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:23:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:23:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:23:24] Production.INFO: ==26047== Releasing lock...
[2025-01-07 09:23:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:23:24] Production.INFO: 36.75 MB #Memory Used#
[2025-01-07 14:24:01] Production.INFO: ==26117== Lock acquired, processing the job...
[2025-01-07 14:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:24:01] Production.INFO: neon service started
[2025-01-07 14:24:01] Production.INFO: neon service started
[2025-01-07 14:24:01] Production.INFO: ==26117== Releasing lock...
[2025-01-07 14:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 14:24:01] Production.INFO: ==26121== Lock acquired, processing the job...
[2025-01-07 14:24:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:24:01] Production.INFO: ==26121== Releasing lock...
[2025-01-07 14:24:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:24:01] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:24:02] Production.INFO: ==26119== Lock acquired, processing the job...
[2025-01-07 09:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:24:02] Production.INFO: ==26119== Releasing lock...
[2025-01-07 09:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:24:03] Production.INFO: ==26125== Lock acquired, processing the job...
[2025-01-07 09:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:24:03] Production.INFO: ==26130== Lock acquired, processing the job...
[2025-01-07 09:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:24:03] Production.INFO: Account Balance Start.
[2025-01-07 09:24:03] Production.INFO: CreateAllLog Start
[2025-01-07 09:24:03] Production.INFO: 117
[2025-01-07 09:24:03] Production.INFO: Date 2024-12-08
[2025-01-07 09:24:03] Production.INFO: ==26134== Lock acquired, processing the job...
[2025-01-07 09:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:24:03] Production.INFO: Date 2024-12-09
[2025-01-07 09:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:24:03] Production.INFO: ==26125== Releasing lock...
[2025-01-07 09:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:24:03] Production.INFO: Date 2024-12-10
[2025-01-07 09:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:24:03] Production.INFO: ==26123== Lock acquired, processing the job...
[2025-01-07 09:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:24:03] Production.INFO: Date 2024-12-11
[2025-01-07 09:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:24:03] Production.INFO: count ==21
[2025-01-07 09:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:24:03] Production.INFO: count ==21
[2025-01-07 09:24:03] Production.INFO: Date 2024-12-12
[2025-01-07 09:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193960') start
[2025-01-07 09:24:03] Production.INFO: Date 2024-12-13
[2025-01-07 09:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:24:03] Production.INFO: ==26128== Lock acquired, processing the job...
[2025-01-07 09:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:24:03] Production.INFO: Date 2024-12-14
[2025-01-07 09:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:24:03] Production.INFO: ==26132== Lock acquired, processing the job...
[2025-01-07 09:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:24:03] Production.INFO: Date 2024-12-15
[2025-01-07 09:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193960') end
[2025-01-07 09:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:24:03] Production.INFO: 1
[2025-01-07 09:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:24:03] Production.INFO: Date 2024-12-16
[2025-01-07 09:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:24:03] Production.INFO: ==26134== Releasing lock...
[2025-01-07 09:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:24:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:24:03] Production.INFO: Date 2024-12-17
[2025-01-07 09:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:24:03] Production.INFO: Date 2024-12-18
[2025-01-07 09:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:24:03] Production.INFO: Date 2024-12-19
[2025-01-07 09:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:24:03] Production.INFO: Date 2024-12-20
[2025-01-07 09:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:24:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:24:04] Production.INFO: Date 2024-12-22
[2025-01-07 09:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:24:04] Production.INFO: Date 2024-12-23
[2025-01-07 09:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:24:04] Production.INFO: Date 2024-12-24
[2025-01-07 09:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:24:04] Production.INFO: Date 2024-12-25
[2025-01-07 09:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:24:04] Production.ERROR: done
[2025-01-07 09:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:24:04] Production.INFO: Date 2024-12-26
[2025-01-07 09:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:24:04] Production.INFO: Date 2024-12-27
[2025-01-07 09:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:24:04] Production.INFO: Date 2024-12-28
[2025-01-07 09:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:24:04] Production.INFO: Date 2024-12-29
[2025-01-07 09:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:24:04] Production.INFO: Date 2024-12-30
[2025-01-07 09:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:24:04] Production.INFO: Date 2024-12-31
[2025-01-07 09:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:24:04] Production.ERROR: done
[2025-01-07 09:24:04] Production.INFO: Date 2025-01-01
[2025-01-07 09:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:24:04] Production.INFO: Date 2025-01-02
[2025-01-07 09:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:24:04] Production.INFO: Date 2025-01-03
[2025-01-07 09:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:24:04] Production.INFO: Date 2025-01-04
[2025-01-07 09:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:24:04] Production.INFO: Date 2025-01-05
[2025-01-07 09:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:24:04] Production.INFO: Date 2025-01-06
[2025-01-07 09:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:24:04] Production.INFO: Date 2025-01-07
[2025-01-07 09:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:24:04] Production.INFO: Total Charge 0
[2025-01-07 09:24:04] Production.INFO: CreateAllLog End
[2025-01-07 09:24:04] Production.INFO: Account Balance End.
[2025-01-07 09:24:04] Production.ERROR: CronJobId end 12
[2025-01-07 09:24:04] Production.INFO: ==26130== Releasing lock...
[2025-01-07 09:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:24:05
[end_date_ymd] => 2025-01-07 09:24:05
[RateCDR] => 1
)
[2025-01-07 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-07 06:24:05' and `end` < '2025-01-07 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-07 09:24:11] Production.ERROR: CronJobId end10
[2025-01-07 09:24:11] Production.INFO: ==26128== Releasing lock...
[2025-01-07 09:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:24:14] Production.INFO: call_cost start
[2025-01-07 09:24:14] Production.INFO: call_cost end
[2025-01-07 09:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:24:14] Production.INFO: ==26123== Releasing lock...
[2025-01-07 09:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:24:18] Production.INFO: count ==1143
[2025-01-07 09:24:18] Production.ERROR: pbx CDR StartTime 2025-01-07 06:24:05 - End Time 2025-01-07 09:24:05
[2025-01-07 09:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193962', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193962', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193962', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193962', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:24:18] Production.INFO: ProcessCDR(1,14193962,1,1,2)
[2025-01-07 09:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193962,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:24:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193962,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:24:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193962,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:24:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193962,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193962', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193962', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:24:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:24:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:24:23] Production.INFO: ==26132== Releasing lock...
[2025-01-07 09:24:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:24:23] Production.INFO: 37 MB #Memory Used#
[2025-01-07 14:25:01] Production.INFO: ==26193== Lock acquired, processing the job...
[2025-01-07 14:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:25:02] Production.INFO: neon service started
[2025-01-07 14:25:02] Production.INFO: neon service started
[2025-01-07 14:25:02] Production.INFO: ==26193== Releasing lock...
[2025-01-07 14:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:25:02] Production.INFO: ==26195== Lock acquired, processing the job...
[2025-01-07 09:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 14:25:02] Production.INFO: ==26197== Lock acquired, processing the job...
[2025-01-07 14:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:25:02] Production.INFO: ==26195== Releasing lock...
[2025-01-07 09:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 14:25:02] Production.INFO: ==26197== Releasing lock...
[2025-01-07 14:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:25:03] Production.INFO: ==26205== Lock acquired, processing the job...
[2025-01-07 09:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:25:03] Production.INFO: ==26199== Lock acquired, processing the job...
[2025-01-07 09:25:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10492 #Starts#
[2025-01-07 09:25:03] Production.INFO: ==26207== Lock acquired, processing the job...
[2025-01-07 09:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:25:03] Production.INFO: -- Xero Api Check --
[2025-01-07 09:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:25:03] Production.INFO: ==26201== Lock acquired, processing the job...
[2025-01-07 09:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:25:03] Production.INFO: ==26203== Lock acquired, processing the job...
[2025-01-07 09:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:25:03] Production.INFO: Account Balance Start.
[2025-01-07 09:25:03] Production.INFO: CreateAllLog Start
[2025-01-07 09:25:03] Production.INFO: 117
[2025-01-07 09:25:03] Production.INFO: Date 2024-12-08
[2025-01-07 09:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:25:03] Production.INFO: ==26211== Lock acquired, processing the job...
[2025-01-07 09:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:25:03] Production.INFO: ==26209== Lock acquired, processing the job...
[2025-01-07 09:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:25:03] Production.INFO: Date 2024-12-09
[2025-01-07 09:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:25:03] Production.INFO: Date 2024-12-10
[2025-01-07 09:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:25:04] Production.INFO: Date 2024-12-11
[2025-01-07 09:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:25:04] Production.INFO: ==26203== Releasing lock...
[2025-01-07 09:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:25:04] Production.INFO: count ==21
[2025-01-07 09:25:04] Production.INFO: Date 2024-12-12
[2025-01-07 09:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:25:04] Production.INFO: count ==21
[2025-01-07 09:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193966') start
[2025-01-07 09:25:04] Production.INFO: Date 2024-12-13
[2025-01-07 09:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:25:04] Production.INFO: Date 2024-12-14
[2025-01-07 09:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193966') end
[2025-01-07 09:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:25:04] Production.INFO: 1
[2025-01-07 09:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:25:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:25:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:25:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:25:04] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 855
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.602668
[namelookup_time] => 0.259505
[connect_time] => 0.275061
[pretransfer_time] => 0.459255
[size_upload] => 82
[size_download] => 2755
[speed_download] => 4571
[speed_upload] => 136
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.602633
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.33
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 43354
)
[2025-01-07 09:25:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTk5MDQsImV4cCI6MTczNjI2MDIwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjU5OTA0LCJhdF9oYXNoIjoiTlpJU0pGbDNRdlAwMHYxWlNPeG1DQSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.Mzr7dLzKaSK5rlfPa5vwCuw6IUUYwQP2_H0ce6CSo0blg58rx-1qoheaXJib8Q2ZGvo7xYXDkQfhS4jXjQL-D-oA0WyN_1st3tockB7cxYqm_yqF5jXlVmz2uNysssStMKUb3TszqJDdpzNye-OI0Z2jrkE1JmWsMYvl54aH1wLl49O2jsZGj5-XgwBcq0ZYhmD2y6KiLjt78GeVXuAF-yMac8xGbX32rRDEaXTEOLQ_LxJcjzMIasbuFuIoAMElsFJBGp8FipN3ToaLN_f8ZAalFrJfyiQNr41kQ83VfUr2eUgBEg5nG4PFf3ibYjGOceDftncIlGxo5DELNKlAww
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTk5MDQsImV4cCI6MTczNjI2MTcwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.OTbB0Ok7qBW29ppcXRLP91LZxZbEBnAgYOEJqEl5Rg7dM0n_ZmShlO2RRJAFI3dYtzKf0tz7Sje0aJ5NDue3XizGwz56OlWTGEaSjHvxbHKKb_AmhjSormIG6mTNmxDsXRmIw_7lwQo1hOhgN45fEeGVo1SSeTgwyNeV54Lvk6Opn7UKfvyMt2dV3UwL9MgtBiCLw1yyl68vuw2x1GZf_wzyR5jOGNXUttvgyQa3p3lzF-RTIOn_e8Xic7lSzWV1lmhKeZEzfzsdX6GMctpIdNzaDrptnvPywb-A3gX2kLjyaAQV31SIfwOeBLSDzry1zW3PEtYd-bQVRxl5J0fCvA
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => A6vHWUUQco2q_qPC6e3jNEdQukFSKIjssiuapDMbRH8
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 09:25:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTk5MDQsImV4cCI6MTczNjI2MDIwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjU5OTA0LCJhdF9oYXNoIjoiTlpJU0pGbDNRdlAwMHYxWlNPeG1DQSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.Mzr7dLzKaSK5rlfPa5vwCuw6IUUYwQP2_H0ce6CSo0blg58rx-1qoheaXJib8Q2ZGvo7xYXDkQfhS4jXjQL-D-oA0WyN_1st3tockB7cxYqm_yqF5jXlVmz2uNysssStMKUb3TszqJDdpzNye-OI0Z2jrkE1JmWsMYvl54aH1wLl49O2jsZGj5-XgwBcq0ZYhmD2y6KiLjt78GeVXuAF-yMac8xGbX32rRDEaXTEOLQ_LxJcjzMIasbuFuIoAMElsFJBGp8FipN3ToaLN_f8ZAalFrJfyiQNr41kQ83VfUr2eUgBEg5nG4PFf3ibYjGOceDftncIlGxo5DELNKlAww
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNTk5MDQsImV4cCI6MTczNjI2MTcwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.OTbB0Ok7qBW29ppcXRLP91LZxZbEBnAgYOEJqEl5Rg7dM0n_ZmShlO2RRJAFI3dYtzKf0tz7Sje0aJ5NDue3XizGwz56OlWTGEaSjHvxbHKKb_AmhjSormIG6mTNmxDsXRmIw_7lwQo1hOhgN45fEeGVo1SSeTgwyNeV54Lvk6Opn7UKfvyMt2dV3UwL9MgtBiCLw1yyl68vuw2x1GZf_wzyR5jOGNXUttvgyQa3p3lzF-RTIOn_e8Xic7lSzWV1lmhKeZEzfzsdX6GMctpIdNzaDrptnvPywb-A3gX2kLjyaAQV31SIfwOeBLSDzry1zW3PEtYd-bQVRxl5J0fCvA
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => A6vHWUUQco2q_qPC6e3jNEdQukFSKIjssiuapDMbRH8
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 09:25:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:25:04] Production.INFO: AccountID 25
[2025-01-07 09:25:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:25:04] Production.INFO: AccountName Harding Security
[2025-01-07 09:25:04] Production.INFO: Checkcustomer
[2025-01-07 09:25:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Harding%20Security"
[2025-01-07 09:25:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:25:04] Production.INFO: ==26211== Releasing lock...
[2025-01-07 09:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:25:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:25:04] Production.ERROR: done
[2025-01-07 09:25:04] Production.INFO: Date 2024-12-22
[2025-01-07 09:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:25:04] Production.INFO: Date 2024-12-23
[2025-01-07 09:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:25:04] Production.INFO: Date 2024-12-24
[2025-01-07 09:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:25:04] Production.INFO: Date 2024-12-25
[2025-01-07 09:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:25:04] Production.INFO: Date 2024-12-26
[2025-01-07 09:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:25:04] Production.ERROR: done
[2025-01-07 09:25:04] Production.INFO: Date 2024-12-27
[2025-01-07 09:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:25:04] Production.INFO: Date 2024-12-28
[2025-01-07 09:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:25:04] Production.INFO: Date 2024-12-29
[2025-01-07 09:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:25:04] Production.INFO: Date 2024-12-30
[2025-01-07 09:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:25:04] Production.INFO: Date 2024-12-31
[2025-01-07 09:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:25:04] Production.INFO: Date 2025-01-01
[2025-01-07 09:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:25:04] Production.INFO: Date 2025-01-02
[2025-01-07 09:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:25:04] Production.INFO: Date 2025-01-03
[2025-01-07 09:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:25:05] Production.INFO: Date 2025-01-04
[2025-01-07 09:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:25:05] Production.INFO: Date 2025-01-05
[2025-01-07 09:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:25:05] Production.INFO: Date 2025-01-06
[2025-01-07 09:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:25:05] Production.INFO: Date 2025-01-07
[2025-01-07 09:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:25:05] Production.INFO: Total Charge 0
[2025-01-07 09:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:25:05
[end_date_ymd] => 2025-01-07 09:25:05
[RateCDR] => 1
)
[2025-01-07 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-07 06:25:05' and `end` < '2025-01-07 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-07 09:25:05] Production.INFO: CreateAllLog End
[2025-01-07 09:25:05] Production.INFO: Account Balance End.
[2025-01-07 09:25:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:25:05] Production.INFO: ==26207== Releasing lock...
[2025-01-07 09:25:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:25:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:25:07] Production.INFO: Contact id print CheckCustomer Case===631aa009-5337-4bbb-817f-724f7ca5f6db
[2025-01-07 09:25:07] Production.INFO: -- count --1
[2025-01-07 09:25:07] Production.INFO: -- Xero Add Inovice --
[2025-01-07 09:25:07] Production.INFO: CheckInvoice xerov2: INV11113
[2025-01-07 09:25:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11113
[2025-01-07 09:25:10] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 09:25:10] Production.INFO: Invoice SubTotal 17.850000
[2025-01-07 09:25:10] Production.INFO: Invoice DetTotal 17.85
[2025-01-07 09:25:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Harding%20Security"
[2025-01-07 09:25:13] Production.ERROR: CronJobId end10
[2025-01-07 09:25:13] Production.INFO: ==26205== Releasing lock...
[2025-01-07 09:25:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:25:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:25:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 09:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:25:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:25:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:25:14] Production.INFO: call_cost start
[2025-01-07 09:25:14] Production.INFO: call_cost end
[2025-01-07 09:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:25:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:25:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:25:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:25:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:25:15] Production.INFO: ==26201== Releasing lock...
[2025-01-07 09:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:25:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 09:25:18] Production.INFO: count ==1149
[2025-01-07 09:25:18] Production.ERROR: pbx CDR StartTime 2025-01-07 06:25:05 - End Time 2025-01-07 09:25:05
[2025-01-07 09:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193967', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193967', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193967', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193967', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:25:18] Production.INFO: ProcessCDR(1,14193967,1,1,2)
[2025-01-07 09:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193967,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:25:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 09:25:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193967,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:25:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193967,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:25:21] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension",Quantity : 1,UnitAmount : 23.000000,LineAmount : 23.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14169257474 - 70 SHAFTESBURY AVE TORONTO, ON M4T1A3)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Loyalty Discount",Quantity : 1,UnitAmount : -7.650000,LineAmount : -7.650000}
[2025-01-07 09:25:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193967,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:25:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193967', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:25:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193967', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:25:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:25:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:25:23] Production.INFO: ==26209== Releasing lock...
[2025-01-07 09:25:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:25:23] Production.INFO: 36.75 MB #Memory Used#
[2025-01-07 09:25:25] Production.INFO: ==== result =====
[2025-01-07 09:25:25] Production.INFO: {
"Id": "6054b480-d11e-4f93-95f5-f3fd5ee32077",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736259925068)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "8bcbe2ea-d264-4405-9114-f029951ddcca",
"InvoiceNumber": "INV11113",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 20.18,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "631aa009-5337-4bbb-817f-724f7ca5f6db",
"ContactStatus": "ACTIVE",
"Name": "Harding Security",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1562268171973+0000)\/",
"ContactGroups": [
{
"ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58",
"Name": "Benjamin's Customers",
"Status": "ACTIVE",
"Contacts": [],
"HasValidationErrors": false
}
],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-11-28T00:00:00",
"Date": "\/Date(1732752000000+0000)\/",
"DueDateString": "2024-12-28T00:00:00",
"DueDate": "\/Date(1735344000000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "License for an Unlimited Canada/US Cloud Phone extension",
"UnitAmount": 23.00,
"TaxType": "TAX020",
"TaxAmount": 2.99,
"LineAmount": 23.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "d776d943-808c-41e1-bab5-24527d16f6ce",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (14169257474 - 70 SHAFTESBURY AVE TORONTO, ON M4T1A3)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "10377863-e2ca-41a9-8bd4-c0c45fc49a1f",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountAmount": 0.0000,
"ValidationErrors": []
},
{
"Description": "Loyalty Discount",
"UnitAmount": -7.65,
"TaxType": "TAX020",
"TaxAmount": -0.99,
"LineAmount": -7.65,
"AccountCode": "303",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 0.00,
"LineItemID": "de6fee8b-44f1-470a-9d64-fe3ac6e8b191",
"AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 17.85,
"TotalTax": 2.33,
"Total": 20.18,
"UpdatedDateUTC": "\/Date(1736259924973+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 09:25:25] Production.INFO: -- Create Invoice id --8bcbe2ea-d264-4405-9114-f029951ddcca
[2025-01-07 09:25:25] Production.INFO: -- Create Invoice Done --
[2025-01-07 09:25:25] Production.INFO: -- Xero End Inovice --
[2025-01-07 09:25:25] Production.INFO: ==26199== Releasing lock...
[2025-01-07 09:25:25] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10492 #Stops#
[2025-01-07 09:25:25] Production.INFO: 29.75 MB #Memory Used#
[2025-01-07 14:26:01] Production.INFO: ==26273== Lock acquired, processing the job...
[2025-01-07 14:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:26:01] Production.INFO: neon service started
[2025-01-07 14:26:01] Production.INFO: neon service started
[2025-01-07 14:26:01] Production.INFO: ==26273== Releasing lock...
[2025-01-07 14:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:26:01] Production.INFO: ==26275== Lock acquired, processing the job...
[2025-01-07 09:26:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:26:02] Production.INFO: ==26275== Releasing lock...
[2025-01-07 09:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 14:26:02] Production.INFO: ==26277== Lock acquired, processing the job...
[2025-01-07 14:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:26:02] Production.INFO: ==26277== Releasing lock...
[2025-01-07 14:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:26:03] Production.INFO: ==26279== Lock acquired, processing the job...
[2025-01-07 09:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:26:03] Production.INFO: ==26281== Lock acquired, processing the job...
[2025-01-07 09:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:26:03] Production.INFO: ==26285== Lock acquired, processing the job...
[2025-01-07 09:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:26:03] Production.INFO: ==26283== Lock acquired, processing the job...
[2025-01-07 09:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:26:03] Production.INFO: Account Balance Start.
[2025-01-07 09:26:03] Production.INFO: CreateAllLog Start
[2025-01-07 09:26:03] Production.INFO: 117
[2025-01-07 09:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:26:03] Production.INFO: Date 2024-12-08
[2025-01-07 09:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:26:03] Production.INFO: Date 2024-12-09
[2025-01-07 09:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:26:03] Production.INFO: ==26289== Lock acquired, processing the job...
[2025-01-07 09:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:26:03] Production.INFO: ==26287== Lock acquired, processing the job...
[2025-01-07 09:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:26:03] Production.INFO: Date 2024-12-10
[2025-01-07 09:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:26:03] Production.INFO: Date 2024-12-11
[2025-01-07 09:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 09:26:03] Production.INFO: ==26281== Releasing lock...
[2025-01-07 09:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:26:03] Production.INFO: Date 2024-12-12
[2025-01-07 09:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:26:03] Production.INFO: Date 2024-12-13
[2025-01-07 09:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:26:03] Production.INFO: count ==21
[2025-01-07 09:26:03] Production.INFO: Date 2024-12-14
[2025-01-07 09:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 09:26:03] Production.INFO: count ==21
[2025-01-07 09:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193971') start
[2025-01-07 09:26:03] Production.INFO: Date 2024-12-15
[2025-01-07 09:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:26:03] Production.ERROR: done
[2025-01-07 09:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:26:03] Production.INFO: Date 2024-12-16
[2025-01-07 09:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:26:03] Production.INFO: Date 2024-12-17
[2025-01-07 09:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193971') end
[2025-01-07 09:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:26:03] Production.INFO: 1
[2025-01-07 09:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:26:04] Production.ERROR: done
[2025-01-07 09:26:04] Production.INFO: ==26289== Releasing lock...
[2025-01-07 09:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:26:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:26:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:26:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:26:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:26:04] Production.INFO: Date 2024-12-22
[2025-01-07 09:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:26:04] Production.INFO: Date 2024-12-23
[2025-01-07 09:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:26:04] Production.INFO: Date 2024-12-24
[2025-01-07 09:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:26:04] Production.INFO: Date 2024-12-25
[2025-01-07 09:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:26:04] Production.INFO: Date 2024-12-26
[2025-01-07 09:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:26:04] Production.INFO: Date 2024-12-27
[2025-01-07 09:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:26:04] Production.INFO: Date 2024-12-28
[2025-01-07 09:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:26:04] Production.INFO: Date 2024-12-29
[2025-01-07 09:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:26:04] Production.INFO: Date 2024-12-30
[2025-01-07 09:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:26:04] Production.INFO: Date 2024-12-31
[2025-01-07 09:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:26:05] Production.INFO: Date 2025-01-01
[2025-01-07 09:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:26:05] Production.INFO: Date 2025-01-02
[2025-01-07 09:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:26:05] Production.INFO: Date 2025-01-03
[2025-01-07 09:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:26:05] Production.INFO: Date 2025-01-04
[2025-01-07 09:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:26:05] Production.INFO: Date 2025-01-05
[2025-01-07 09:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:26:05] Production.INFO: Date 2025-01-06
[2025-01-07 09:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:26:05] Production.INFO: Date 2025-01-07
[2025-01-07 09:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:26:05
[end_date_ymd] => 2025-01-07 09:26:05
[RateCDR] => 1
)
[2025-01-07 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-07 06:26:05' and `end` < '2025-01-07 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-07 09:26:05] Production.INFO: Total Charge 0
[2025-01-07 09:26:05] Production.INFO: CreateAllLog End
[2025-01-07 09:26:05] Production.INFO: Account Balance End.
[2025-01-07 09:26:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:26:05] Production.INFO: ==26285== Releasing lock...
[2025-01-07 09:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:26:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:26:11] Production.ERROR: CronJobId end10
[2025-01-07 09:26:11] Production.INFO: ==26283== Releasing lock...
[2025-01-07 09:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:26:13] Production.INFO: call_cost start
[2025-01-07 09:26:13] Production.INFO: call_cost end
[2025-01-07 09:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:26:14] Production.INFO: ==26279== Releasing lock...
[2025-01-07 09:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:26:19] Production.INFO: count ==1159
[2025-01-07 09:26:20] Production.ERROR: pbx CDR StartTime 2025-01-07 06:26:05 - End Time 2025-01-07 09:26:05
[2025-01-07 09:26:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193972', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193972', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193972', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193972', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:26:20] Production.INFO: ProcessCDR(1,14193972,1,1,2)
[2025-01-07 09:26:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193972,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:26:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193972,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:26:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193972,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:26:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193972,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:26:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193972', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:26:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193972', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:26:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:26:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:26:24] Production.INFO: ==26287== Releasing lock...
[2025-01-07 09:26:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:26:24] Production.INFO: 37.75 MB #Memory Used#
[2025-01-07 14:27:01] Production.INFO: ==26346== Lock acquired, processing the job...
[2025-01-07 14:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:27:01] Production.INFO: neon service started
[2025-01-07 14:27:01] Production.INFO: neon service started
[2025-01-07 14:27:01] Production.INFO: ==26346== Releasing lock...
[2025-01-07 14:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:27:02] Production.INFO: ==26348== Lock acquired, processing the job...
[2025-01-07 09:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:27:02] Production.INFO: ==26348== Releasing lock...
[2025-01-07 09:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 14:27:02] Production.INFO: ==26350== Lock acquired, processing the job...
[2025-01-07 14:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:27:02] Production.INFO: ==26350== Releasing lock...
[2025-01-07 14:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:27:03] Production.INFO: ==26358== Lock acquired, processing the job...
[2025-01-07 09:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:27:03] Production.INFO: ==26352== Lock acquired, processing the job...
[2025-01-07 09:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:27:03] Production.INFO: Account Balance Start.
[2025-01-07 09:27:03] Production.INFO: CreateAllLog Start
[2025-01-07 09:27:03] Production.INFO: 117
[2025-01-07 09:27:03] Production.INFO: Date 2024-12-08
[2025-01-07 09:27:03] Production.INFO: ==26362== Lock acquired, processing the job...
[2025-01-07 09:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:27:03] Production.INFO: ==26354== Lock acquired, processing the job...
[2025-01-07 09:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:27:03] Production.INFO: Date 2024-12-09
[2025-01-07 09:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:27:03] Production.INFO: ==26356== Lock acquired, processing the job...
[2025-01-07 09:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:27:03] Production.INFO: Date 2024-12-10
[2025-01-07 09:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 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-07 09:27:03] Production.INFO: Date 2024-12-11
[2025-01-07 09:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:27:03] Production.INFO: count ==21
[2025-01-07 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-07 09:27:03] Production.INFO: ==26360== Lock acquired, processing the job...
[2025-01-07 09:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:27:03] Production.INFO: count ==21
[2025-01-07 09:27:03] Production.INFO: Date 2024-12-12
[2025-01-07 09:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193974') start
[2025-01-07 09:27:03] Production.INFO: Date 2024-12-13
[2025-01-07 09:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:27:03] Production.INFO: Date 2024-12-14
[2025-01-07 09:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193974') end
[2025-01-07 09:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:27:03] Production.INFO: 1
[2025-01-07 09:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:27:03] Production.INFO: Date 2024-12-15
[2025-01-07 09:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:27:03] Production.INFO: Date 2024-12-16
[2025-01-07 09:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:27:03] Production.INFO: Date 2024-12-17
[2025-01-07 09:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:27:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:27:04] Production.ERROR: done
[2025-01-07 09:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:27:04] Production.INFO: ==26362== Releasing lock...
[2025-01-07 09:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:27:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:27:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:27:04] Production.INFO: ==26354== Releasing lock...
[2025-01-07 09:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:27:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:27:04] Production.INFO: Date 2024-12-22
[2025-01-07 09:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:27:04] Production.ERROR: done
[2025-01-07 09:27:04] Production.INFO: Date 2024-12-23
[2025-01-07 09:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:27:04] Production.INFO: Date 2024-12-24
[2025-01-07 09:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:27:04] Production.INFO: Date 2024-12-25
[2025-01-07 09:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:27:04] Production.INFO: Date 2024-12-26
[2025-01-07 09:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:27:04] Production.INFO: Date 2024-12-27
[2025-01-07 09:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:27:04] Production.INFO: Date 2024-12-28
[2025-01-07 09:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:27:04] Production.INFO: Date 2024-12-29
[2025-01-07 09:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:27:04] Production.INFO: Date 2024-12-30
[2025-01-07 09:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:27:04] Production.INFO: Date 2024-12-31
[2025-01-07 09:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:27:04] Production.INFO: Date 2025-01-01
[2025-01-07 09:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:27:04] Production.INFO: Date 2025-01-02
[2025-01-07 09:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:27:04] Production.INFO: Date 2025-01-03
[2025-01-07 09:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:27:04] Production.INFO: Date 2025-01-04
[2025-01-07 09:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:27:04] Production.INFO: Date 2025-01-05
[2025-01-07 09:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:27:04] Production.INFO: Date 2025-01-06
[2025-01-07 09:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:27:04] Production.INFO: Date 2025-01-07
[2025-01-07 09:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:27:04] Production.INFO: Total Charge 0
[2025-01-07 09:27:04] Production.INFO: CreateAllLog End
[2025-01-07 09:27:04] Production.INFO: Account Balance End.
[2025-01-07 09:27:04] Production.ERROR: CronJobId end 12
[2025-01-07 09:27:04] Production.INFO: ==26358== Releasing lock...
[2025-01-07 09:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:27:05
[end_date_ymd] => 2025-01-07 09:27:05
[RateCDR] => 1
)
[2025-01-07 09:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 06:27:05' and `end` < '2025-01-07 09:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 09:27:10] Production.ERROR: CronJobId end10
[2025-01-07 09:27:10] Production.INFO: ==26356== Releasing lock...
[2025-01-07 09:27:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:27:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:27:13] Production.INFO: call_cost start
[2025-01-07 09:27:13] Production.INFO: call_cost end
[2025-01-07 09:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:27:14] Production.INFO: ==26352== Releasing lock...
[2025-01-07 09:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:27:18] Production.INFO: count ==1176
[2025-01-07 09:27:19] Production.ERROR: pbx CDR StartTime 2025-01-07 06:27:05 - End Time 2025-01-07 09:27:05
[2025-01-07 09:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193977', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193977', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193977', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193977', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:27:19] Production.INFO: ProcessCDR(1,14193977,1,1,2)
[2025-01-07 09:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193977,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:27:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193977,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:27:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193977,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:27:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193977,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:27:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193977', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:27:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193977', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:27:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:27:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:27:23] Production.INFO: ==26360== Releasing lock...
[2025-01-07 09:27:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:27:23] Production.INFO: 37 MB #Memory Used#
[2025-01-07 14:28:02] Production.INFO: ==26419== Lock acquired, processing the job...
[2025-01-07 14:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:28:02] Production.INFO: neon service started
[2025-01-07 14:28:02] Production.INFO: neon service started
[2025-01-07 14:28:02] Production.INFO: ==26419== Releasing lock...
[2025-01-07 14:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:28:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 14:28:02] Production.INFO: ==26423== Lock acquired, processing the job...
[2025-01-07 14:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:28:02] Production.INFO: ==26423== Releasing lock...
[2025-01-07 14:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:28:03] Production.INFO: ==26421== Lock acquired, processing the job...
[2025-01-07 09:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:28:03] Production.INFO: ==26421== Releasing lock...
[2025-01-07 09:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:28:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:28:04] Production.INFO: ==26434== Lock acquired, processing the job...
[2025-01-07 09:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:28:04] Production.INFO: ==26436== Lock acquired, processing the job...
[2025-01-07 09:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:28:04] Production.INFO: ==26426== Lock acquired, processing the job...
[2025-01-07 09:28:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:28:04] Production.INFO: ==26428== Lock acquired, processing the job...
[2025-01-07 09:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:28:04] Production.INFO: count ==21
[2025-01-07 09:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:28:04] Production.INFO: count ==21
[2025-01-07 09:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193978') start
[2025-01-07 09:28:04] Production.INFO: ==26430== Lock acquired, processing the job...
[2025-01-07 09:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:28:04] Production.INFO: ==26432== Lock acquired, processing the job...
[2025-01-07 09:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:28:04] Production.ERROR: done
[2025-01-07 09:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193978') end
[2025-01-07 09:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:28:04] Production.INFO: 1
[2025-01-07 09:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:28:04] Production.INFO: Account Balance Start.
[2025-01-07 09:28:04] Production.INFO: CreateAllLog Start
[2025-01-07 09:28:04] Production.INFO: 117
[2025-01-07 09:28:04] Production.INFO: ==26436== Releasing lock...
[2025-01-07 09:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:28:04] Production.INFO: Date 2024-12-08
[2025-01-07 09:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:28:04] Production.INFO: ==26428== Releasing lock...
[2025-01-07 09:28:04] Production.ERROR: done
[2025-01-07 09:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:28:05] Production.INFO: Date 2024-12-09
[2025-01-07 09:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:28:05] Production.INFO: Date 2024-12-10
[2025-01-07 09:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:28:05] Production.INFO: Date 2024-12-11
[2025-01-07 09:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:28:05] Production.INFO: Date 2024-12-12
[2025-01-07 09:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:28:05] Production.INFO: Date 2024-12-13
[2025-01-07 09:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:28:05] Production.INFO: Date 2024-12-14
[2025-01-07 09:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:28:05] Production.INFO: Date 2024-12-15
[2025-01-07 09:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:28:05] Production.INFO: Date 2024-12-16
[2025-01-07 09:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:28:05] Production.INFO: Date 2024-12-17
[2025-01-07 09:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:28:05] Production.INFO: Date 2024-12-18
[2025-01-07 09:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:28:05] Production.INFO: Date 2024-12-19
[2025-01-07 09:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:28:05] Production.INFO: Date 2024-12-20
[2025-01-07 09:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:28:05] Production.INFO: Date 2024-12-21
[2025-01-07 09:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:28:05] Production.INFO: Date 2024-12-22
[2025-01-07 09:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:28:05] Production.INFO: Date 2024-12-23
[2025-01-07 09:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:28:05] Production.INFO: Date 2024-12-24
[2025-01-07 09:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:28:05] Production.INFO: Date 2024-12-25
[2025-01-07 09:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:28:05] Production.INFO: Date 2024-12-26
[2025-01-07 09:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:28:05] Production.INFO: Date 2024-12-27
[2025-01-07 09:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:28:05] Production.INFO: Date 2024-12-28
[2025-01-07 09:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:28:05] Production.INFO: Date 2024-12-29
[2025-01-07 09:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:28:05] Production.INFO: Date 2024-12-30
[2025-01-07 09:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:28:05] Production.INFO: Date 2024-12-31
[2025-01-07 09:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:28:05] Production.INFO: Date 2025-01-01
[2025-01-07 09:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:28:05] Production.INFO: Date 2025-01-02
[2025-01-07 09:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:28:05] Production.INFO: Date 2025-01-03
[2025-01-07 09:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:28:05] Production.INFO: Date 2025-01-04
[2025-01-07 09:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:28:05] Production.INFO: Date 2025-01-05
[2025-01-07 09:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:28:05] Production.INFO: Date 2025-01-06
[2025-01-07 09:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:28:05] Production.INFO: Date 2025-01-07
[2025-01-07 09:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:28:05] Production.INFO: Total Charge 0
[2025-01-07 09:28:05] Production.INFO: CreateAllLog End
[2025-01-07 09:28:06] Production.INFO: Account Balance End.
[2025-01-07 09:28:06] Production.ERROR: CronJobId end 12
[2025-01-07 09:28:06] Production.INFO: ==26432== Releasing lock...
[2025-01-07 09:28:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:28:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:28:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:28:06
[end_date_ymd] => 2025-01-07 09:28:06
[RateCDR] => 1
)
[2025-01-07 09:28:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 06:28:06' and `end` < '2025-01-07 09:28:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 09:28:11] Production.ERROR: CronJobId end10
[2025-01-07 09:28:11] Production.INFO: ==26430== Releasing lock...
[2025-01-07 09:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:28:14] Production.INFO: call_cost start
[2025-01-07 09:28:14] Production.INFO: call_cost end
[2025-01-07 09:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:28:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:28:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:28:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:28:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:28:15] Production.INFO: ==26426== Releasing lock...
[2025-01-07 09:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:28:20] Production.INFO: count ==1206
[2025-01-07 09:28:21] Production.ERROR: pbx CDR StartTime 2025-01-07 06:28:06 - End Time 2025-01-07 09:28:06
[2025-01-07 09:28:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193982', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193982', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193982', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193982', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:28:21] Production.INFO: ProcessCDR(1,14193982,1,1,2)
[2025-01-07 09:28:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193982,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:28:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193982,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:28:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193982,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:28:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193982,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:28:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193982', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:28:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193982', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:28:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:28:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:28:26] Production.INFO: ==26434== Releasing lock...
[2025-01-07 09:28:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:28:26] Production.INFO: 37.5 MB #Memory Used#
[2025-01-07 14:29:01] Production.INFO: ==26529== Lock acquired, processing the job...
[2025-01-07 14:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:29:01] Production.INFO: neon service started
[2025-01-07 14:29:01] Production.INFO: neon service started
[2025-01-07 14:29:01] Production.INFO: ==26529== Releasing lock...
[2025-01-07 14:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:29:02] Production.INFO: ==26531== Lock acquired, processing the job...
[2025-01-07 09:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 14:29:02] Production.INFO: ==26533== Lock acquired, processing the job...
[2025-01-07 14:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:29:02] Production.INFO: ==26533== Releasing lock...
[2025-01-07 14:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:29:02] Production.INFO: ==26531== Releasing lock...
[2025-01-07 09:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:29:03] Production.INFO: ==26542== Lock acquired, processing the job...
[2025-01-07 09:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:29:03] Production.INFO: ==26546== Lock acquired, processing the job...
[2025-01-07 09:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:29:03] Production.INFO: ==26536== Lock acquired, processing the job...
[2025-01-07 09:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 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-07 09:29:03] Production.INFO: Account Balance Start.
[2025-01-07 09:29:03] Production.INFO: CreateAllLog Start
[2025-01-07 09:29:03] Production.INFO: ==26538== Lock acquired, processing the job...
[2025-01-07 09:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:29:03] Production.INFO: 117
[2025-01-07 09:29:04] Production.INFO: count ==21
[2025-01-07 09:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:29:04] Production.INFO: count ==21
[2025-01-07 09:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193984') start
[2025-01-07 09:29:04] Production.INFO: ==26540== Lock acquired, processing the job...
[2025-01-07 09:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:29:04] Production.INFO: Date 2024-12-08
[2025-01-07 09:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:29:04] Production.INFO: Date 2024-12-09
[2025-01-07 09:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193984') end
[2025-01-07 09:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:29:04] Production.INFO: 1
[2025-01-07 09:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:29:04] Production.INFO: ==26544== Lock acquired, processing the job...
[2025-01-07 09:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:29:04] Production.INFO: ==26546== Releasing lock...
[2025-01-07 09:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:29:04] Production.INFO: Date 2024-12-10
[2025-01-07 09:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:29:04] Production.INFO: Date 2024-12-11
[2025-01-07 09:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:29:04] Production.INFO: Date 2024-12-12
[2025-01-07 09:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:29:04] Production.INFO: ==26538== Releasing lock...
[2025-01-07 09:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:29:04] Production.INFO: Date 2024-12-13
[2025-01-07 09:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:29:04] Production.INFO: Date 2024-12-14
[2025-01-07 09:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:29:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:29:04] Production.ERROR: done
[2025-01-07 09:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:29:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:29:04] Production.ERROR: done
[2025-01-07 09:29:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:29:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:29:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:29:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:29:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:29:05] Production.INFO: Date 2024-12-22
[2025-01-07 09:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:29:05] Production.INFO: Date 2024-12-23
[2025-01-07 09:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:29:05] Production.INFO: Date 2024-12-24
[2025-01-07 09:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:29:05] Production.INFO: Date 2024-12-25
[2025-01-07 09:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:29:05] Production.INFO: Date 2024-12-26
[2025-01-07 09:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:29:05] Production.INFO: Date 2024-12-27
[2025-01-07 09:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:29:05] Production.INFO: Date 2024-12-28
[2025-01-07 09:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:29:05] Production.INFO: Date 2024-12-29
[2025-01-07 09:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:29:05] Production.INFO: Date 2024-12-30
[2025-01-07 09:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:29:05] Production.INFO: Date 2024-12-31
[2025-01-07 09:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:29:05] Production.INFO: Date 2025-01-01
[2025-01-07 09:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:29:05] Production.INFO: Date 2025-01-02
[2025-01-07 09:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:29:05] Production.INFO: Date 2025-01-03
[2025-01-07 09:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:29:05] Production.INFO: Date 2025-01-04
[2025-01-07 09:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:29:05] Production.INFO: Date 2025-01-05
[2025-01-07 09:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:29:05] Production.INFO: Date 2025-01-06
[2025-01-07 09:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:29:05] Production.INFO: Date 2025-01-07
[2025-01-07 09:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:29:05] Production.INFO: Total Charge 0
[2025-01-07 09:29:05] Production.INFO: CreateAllLog End
[2025-01-07 09:29:05] Production.INFO: Account Balance End.
[2025-01-07 09:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:29:05
[end_date_ymd] => 2025-01-07 09:29:05
[RateCDR] => 1
)
[2025-01-07 09:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 06:29:05' and `end` < '2025-01-07 09:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 09:29:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:29:05] Production.INFO: ==26542== Releasing lock...
[2025-01-07 09:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:29:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:29:11] Production.ERROR: CronJobId end10
[2025-01-07 09:29:11] Production.INFO: ==26540== Releasing lock...
[2025-01-07 09:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:29:13] Production.INFO: call_cost start
[2025-01-07 09:29:13] Production.INFO: call_cost end
[2025-01-07 09:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:29:14] Production.INFO: ==26536== Releasing lock...
[2025-01-07 09:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:29:18] Production.INFO: count ==1209
[2025-01-07 09:29:19] Production.ERROR: pbx CDR StartTime 2025-01-07 06:29:05 - End Time 2025-01-07 09:29:05
[2025-01-07 09:29:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193987', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193987', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193987', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193987', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:29:19] Production.INFO: ProcessCDR(1,14193987,1,1,2)
[2025-01-07 09:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193987,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:29:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193987,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:29:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193987,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:29:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193987,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193987', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193987', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:29:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:29:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:29:23] Production.INFO: ==26544== Releasing lock...
[2025-01-07 09:29:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:29:23] Production.INFO: 37.25 MB #Memory Used#
[2025-01-07 14:30:01] Production.INFO: ==26600== Lock acquired, processing the job...
[2025-01-07 14:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:30:01] Production.INFO: neon service started
[2025-01-07 14:30:01] Production.INFO: neon service started
[2025-01-07 14:30:01] Production.INFO: ==26600== Releasing lock...
[2025-01-07 14:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 14:30:01] Production.INFO: ==26604== Lock acquired, processing the job...
[2025-01-07 14:30:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:30:01] Production.INFO: ==26604== Releasing lock...
[2025-01-07 14:30:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:30:01] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:30:01] Production.INFO: ==26602== Lock acquired, processing the job...
[2025-01-07 09:30:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:30:02] Production.INFO: ==26602== Releasing lock...
[2025-01-07 09:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:30:03] Production.INFO: ==26612== Lock acquired, processing the job...
[2025-01-07 09:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:30:03] Production.INFO: ==26606== Lock acquired, processing the job...
[2025-01-07 09:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 09:30:03] Production.INFO: ==26616== Lock acquired, processing the job...
[2025-01-07 09:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:30:03] Production.INFO: ==26621== Lock acquired, processing the job...
[2025-01-07 09:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 09:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 09:30:03] Production.ERROR: CronJob PID - 26612
[2025-01-07 09:30:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-07 09:30:03] Production.ERROR: CronJob ID - 10
[2025-01-07 09:30:03] Production.ERROR: CronJob Last Run Time 2025-01-07 09:30:00
[2025-01-07 09:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 09:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 09:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 09:30:03] Production.ERROR: CronJob PID - 26616
[2025-01-07 09:30:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-07 09:30:03] Production.ERROR: CronJob ID - 16
[2025-01-07 09:30:03] Production.ERROR: CronJob Last Run Time 2025-01-07 09:30:00
[2025-01-07 09:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 09:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 09:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 09:30:03] Production.INFO: ==26606== Releasing lock...
[2025-01-07 09:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 09:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 09:30:03] Production.INFO: ==26608== Lock acquired, processing the job...
[2025-01-07 09:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:30:03] Production.INFO: ==26614== Lock acquired, processing the job...
[2025-01-07 09:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:30:03] Production.INFO: ==26610== Lock acquired, processing the job...
[2025-01-07 09:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:30:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:30:03] Production.INFO: ==26618== Lock acquired, processing the job...
[2025-01-07 09:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 09:30:03] Production.INFO: count ==21
[2025-01-07 09:30:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:30:03] Production.INFO: count ==21
[2025-01-07 09:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:30:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193988') start
[2025-01-07 09:30:03] Production.INFO: Account Balance Start.
[2025-01-07 09:30:03] Production.INFO: CreateAllLog Start
[2025-01-07 09:30:03] Production.INFO: 117
[2025-01-07 09:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:30:03] Production.INFO: Date 2024-12-08
[2025-01-07 09:30:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:30:04] Production.ERROR: done
[2025-01-07 09:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14193988') end
[2025-01-07 09:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:30:04] Production.INFO: 1
[2025-01-07 09:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:30:04] Production.INFO: Date 2024-12-09
[2025-01-07 09:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:30:04] Production.INFO: ==26621== Releasing lock...
[2025-01-07 09:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:30:04] Production.ERROR: done
[2025-01-07 09:30:04] Production.ERROR: done
[2025-01-07 09:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 09:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14193992', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 09:30:04] Production.INFO: Date 2024-12-10
[2025-01-07 09:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:30:04] Production.INFO: ==26610== Releasing lock...
[2025-01-07 09:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:30:04] Production.INFO: Date 2024-12-11
[2025-01-07 09:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:30:04] Production.INFO: Date 2024-12-12
[2025-01-07 09:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:30:04] Production.INFO: Date 2024-12-13
[2025-01-07 09:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:30:04] Production.INFO: Date 2024-12-14
[2025-01-07 09:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:30:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:30:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:30:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:30:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:30:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:30:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:30:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:30:04] Production.INFO: Date 2024-12-22
[2025-01-07 09:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:30:04] Production.INFO: Date 2024-12-23
[2025-01-07 09:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:30:04] Production.INFO: Date 2024-12-24
[2025-01-07 09:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:30:05] Production.INFO: Date 2024-12-25
[2025-01-07 09:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:30:05] Production.INFO: Date 2024-12-26
[2025-01-07 09:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:30:05] Production.INFO: Date 2024-12-27
[2025-01-07 09:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:30:05] Production.INFO: Date 2024-12-28
[2025-01-07 09:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:30:05] Production.INFO: Date 2024-12-29
[2025-01-07 09:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:30:05] Production.INFO: Date 2024-12-30
[2025-01-07 09:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:30:05] Production.INFO: Date 2024-12-31
[2025-01-07 09:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:30:05] Production.INFO: Date 2025-01-01
[2025-01-07 09:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:30:05] Production.INFO: Date 2025-01-02
[2025-01-07 09:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:30:05] Production.INFO: Date 2025-01-03
[2025-01-07 09:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:30:05] Production.INFO: Date 2025-01-04
[2025-01-07 09:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:30:05] Production.INFO: Date 2025-01-05
[2025-01-07 09:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:30:05] Production.INFO: Date 2025-01-06
[2025-01-07 09:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:30:05] Production.INFO: Date 2025-01-07
[2025-01-07 09:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:30:05
[end_date_ymd] => 2025-01-07 09:30:05
[RateCDR] => 1
)
[2025-01-07 09:30:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 06:30:05' and `end` < '2025-01-07 09:30:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 09:30:05] Production.INFO: Total Charge 0
[2025-01-07 09:30:05] Production.INFO: CreateAllLog End
[2025-01-07 09:30:05] Production.INFO: Account Balance End.
[2025-01-07 09:30:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:30:05] Production.INFO: ==26614== Releasing lock...
[2025-01-07 09:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14193992', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 09:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 09:30:08] Production.INFO: ProcessCDR(1,14193992,1,1,2)
[2025-01-07 09:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14193992,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14193992,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:30:08] Production.INFO: ==26618== Releasing lock...
[2025-01-07 09:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 09:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-07 09:30:12] Production.ERROR: CronJobId end10
[2025-01-07 09:30:12] Production.INFO: ==26612== Releasing lock...
[2025-01-07 09:30:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:30:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:30:15] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:30:15] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:30:15] Production.INFO: call_cost start
[2025-01-07 09:30:15] Production.INFO: call_cost end
[2025-01-07 09:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:30:16] Production.INFO: ==26608== Releasing lock...
[2025-01-07 09:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:30:21] Production.INFO: count ==1221
[2025-01-07 09:30:21] Production.ERROR: pbx CDR StartTime 2025-01-07 06:30:05 - End Time 2025-01-07 09:30:05
[2025-01-07 09:30:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:30:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193993', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:30:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193993', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:30:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193993', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:30:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193993', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:30:21] Production.INFO: ProcessCDR(1,14193993,1,1,2)
[2025-01-07 09:30:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193993,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:30:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193993,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:30:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193993,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:30:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193993,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:30:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193993', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:30:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193993', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:30:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:30:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:30:26] Production.INFO: ==26616== Releasing lock...
[2025-01-07 09:30:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:30:26] Production.INFO: 37.5 MB #Memory Used#
[2025-01-07 14:31:01] Production.INFO: ==26674== Lock acquired, processing the job...
[2025-01-07 14:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:31:01] Production.INFO: neon service started
[2025-01-07 14:31:01] Production.INFO: neon service started
[2025-01-07 14:31:01] Production.INFO: ==26674== Releasing lock...
[2025-01-07 14:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:31:02] Production.INFO: ==26676== Lock acquired, processing the job...
[2025-01-07 09:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 14:31:02] Production.INFO: ==26678== Lock acquired, processing the job...
[2025-01-07 14:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:31:02] Production.INFO: ==26678== Releasing lock...
[2025-01-07 14:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:31:02] Production.INFO: 26 MB #Memory Used#
[2025-01-07 09:31:02] Production.INFO: ==26676== Releasing lock...
[2025-01-07 09:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:31:03] Production.INFO: ==26685== Lock acquired, processing the job...
[2025-01-07 09:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:31:03] Production.INFO: ==26691== Lock acquired, processing the job...
[2025-01-07 09:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 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-07 09:31:03] Production.INFO: count ==21
[2025-01-07 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-07 09:31:03] Production.INFO: ==26681== Lock acquired, processing the job...
[2025-01-07 09:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:31:03] Production.INFO: count ==21
[2025-01-07 09:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193994') start
[2025-01-07 09:31:03] Production.INFO: ==26683== Lock acquired, processing the job...
[2025-01-07 09:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:31:03] Production.INFO: ==26687== Lock acquired, processing the job...
[2025-01-07 09:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:31:03] Production.INFO: ==26689== Lock acquired, processing the job...
[2025-01-07 09:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14193994') end
[2025-01-07 09:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:31:03] Production.INFO: 1
[2025-01-07 09:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:31:03] Production.INFO: Account Balance Start.
[2025-01-07 09:31:03] Production.INFO: CreateAllLog Start
[2025-01-07 09:31:04] Production.INFO: 117
[2025-01-07 09:31:04] Production.INFO: Date 2024-12-08
[2025-01-07 09:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:31:04] Production.INFO: ==26691== Releasing lock...
[2025-01-07 09:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:31:04] Production.INFO: Date 2024-12-09
[2025-01-07 09:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:31:04] Production.INFO: Date 2024-12-10
[2025-01-07 09:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:31:04] Production.INFO: Date 2024-12-11
[2025-01-07 09:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:31:04] Production.INFO: Date 2024-12-12
[2025-01-07 09:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:31:04] Production.INFO: Date 2024-12-13
[2025-01-07 09:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:31:04] Production.INFO: Date 2024-12-14
[2025-01-07 09:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:31:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:31:04] Production.INFO: ==26683== Releasing lock...
[2025-01-07 09:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:31:04] Production.ERROR: done
[2025-01-07 09:31:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:31:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:31:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:31:04] Production.ERROR: done
[2025-01-07 09:31:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:31:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:31:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:31:04] Production.INFO: Date 2024-12-22
[2025-01-07 09:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:31:04] Production.INFO: Date 2024-12-23
[2025-01-07 09:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:31:04] Production.INFO: Date 2024-12-24
[2025-01-07 09:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:31:04] Production.INFO: Date 2024-12-25
[2025-01-07 09:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:31:04] Production.INFO: Date 2024-12-26
[2025-01-07 09:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:31:04] Production.INFO: Date 2024-12-27
[2025-01-07 09:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:31:04] Production.INFO: Date 2024-12-28
[2025-01-07 09:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:31:04] Production.INFO: Date 2024-12-29
[2025-01-07 09:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:31:04] Production.INFO: Date 2024-12-30
[2025-01-07 09:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:31:04] Production.INFO: Date 2024-12-31
[2025-01-07 09:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:31:04] Production.INFO: Date 2025-01-01
[2025-01-07 09:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:31:04] Production.INFO: Date 2025-01-02
[2025-01-07 09:31:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:31:05] Production.INFO: Date 2025-01-03
[2025-01-07 09:31:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:31:05] Production.INFO: Date 2025-01-04
[2025-01-07 09:31:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:31:05] Production.INFO: Date 2025-01-05
[2025-01-07 09:31:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:31:05] Production.INFO: Date 2025-01-06
[2025-01-07 09:31:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:31:05] Production.INFO: Date 2025-01-07
[2025-01-07 09:31:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:31:05] Production.INFO: Total Charge 0
[2025-01-07 09:31:05] Production.INFO: CreateAllLog End
[2025-01-07 09:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:31:05
[end_date_ymd] => 2025-01-07 09:31:05
[RateCDR] => 1
)
[2025-01-07 09:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 06:31:05' and `end` < '2025-01-07 09:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 09:31:05] Production.INFO: Account Balance End.
[2025-01-07 09:31:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:31:05] Production.INFO: ==26687== Releasing lock...
[2025-01-07 09:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:31:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:31:11] Production.ERROR: CronJobId end10
[2025-01-07 09:31:11] Production.INFO: ==26685== Releasing lock...
[2025-01-07 09:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:31:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:31:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:31:13] Production.INFO: call_cost start
[2025-01-07 09:31:13] Production.INFO: call_cost end
[2025-01-07 09:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:31:14] Production.INFO: ==26681== Releasing lock...
[2025-01-07 09:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:31:19] Production.INFO: count ==1325
[2025-01-07 09:31:20] Production.ERROR: pbx CDR StartTime 2025-01-07 06:31:05 - End Time 2025-01-07 09:31:05
[2025-01-07 09:31:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193998', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14193998', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193998', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14193998', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:31:20] Production.INFO: ProcessCDR(1,14193998,1,1,2)
[2025-01-07 09:31:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14193998,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:31:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14193998,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:31:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14193998,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:31:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14193998,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:31:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193998', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:31:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14193998', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:31:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:31:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:31:25] Production.INFO: ==26689== Releasing lock...
[2025-01-07 09:31:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:31:25] Production.INFO: 38.25 MB #Memory Used#
[2025-01-07 14:32:02] Production.INFO: ==26745== Lock acquired, processing the job...
[2025-01-07 14:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:32:02] Production.INFO: neon service started
[2025-01-07 14:32:02] Production.INFO: neon service started
[2025-01-07 14:32:02] Production.INFO: ==26745== Releasing lock...
[2025-01-07 14:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:32:02] Production.INFO: ==26747== Lock acquired, processing the job...
[2025-01-07 09:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:32:02] Production.INFO: ==26747== Releasing lock...
[2025-01-07 09:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 14:32:03] Production.INFO: ==26749== Lock acquired, processing the job...
[2025-01-07 14:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:32:03] Production.INFO: ==26749== Releasing lock...
[2025-01-07 14:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:32:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:32:03] Production.INFO: ==26754== Lock acquired, processing the job...
[2025-01-07 09:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:32:03] Production.INFO: ==26752== Lock acquired, processing the job...
[2025-01-07 09:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:32:03] Production.INFO: ==26758== Lock acquired, processing the job...
[2025-01-07 09:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:32:03] Production.INFO: ==26756== Lock acquired, processing the job...
[2025-01-07 09:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:32:03] Production.INFO: ==26760== Lock acquired, processing the job...
[2025-01-07 09:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:32:03] Production.INFO: Account Balance Start.
[2025-01-07 09:32:03] Production.INFO: CreateAllLog Start
[2025-01-07 09:32:03] Production.INFO: 117
[2025-01-07 09:32:03] Production.INFO: Date 2024-12-08
[2025-01-07 09:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:32:03] Production.INFO: Date 2024-12-09
[2025-01-07 09:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:32:04] Production.INFO: Date 2024-12-10
[2025-01-07 09:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:32:04] Production.INFO: ==26762== Lock acquired, processing the job...
[2025-01-07 09:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:32:04] Production.INFO: Date 2024-12-11
[2025-01-07 09:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:32:04] Production.INFO: Date 2024-12-12
[2025-01-07 09:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:32:04] Production.INFO: ==26754== Releasing lock...
[2025-01-07 09:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:32:04] Production.INFO: Date 2024-12-13
[2025-01-07 09:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:32:04] Production.INFO: Date 2024-12-14
[2025-01-07 09:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:32:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:32:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:32:04] Production.INFO: count ==21
[2025-01-07 09:32:04] Production.ERROR: done
[2025-01-07 09:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:32:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:32:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:32:04] Production.INFO: count ==21
[2025-01-07 09:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194002') start
[2025-01-07 09:32:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:32:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:32:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194002') end
[2025-01-07 09:32:04] Production.ERROR: done
[2025-01-07 09:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:32:04] Production.INFO: 1
[2025-01-07 09:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:32:04] Production.INFO: ==26762== Releasing lock...
[2025-01-07 09:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:32:04] Production.INFO: Date 2024-12-22
[2025-01-07 09:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:32:04] Production.INFO: Date 2024-12-23
[2025-01-07 09:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:32:04] Production.INFO: Date 2024-12-24
[2025-01-07 09:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:32:04] Production.INFO: Date 2024-12-25
[2025-01-07 09:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:32:04] Production.INFO: Date 2024-12-26
[2025-01-07 09:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:32:04] Production.INFO: Date 2024-12-27
[2025-01-07 09:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:32:04] Production.INFO: Date 2024-12-28
[2025-01-07 09:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:32:04] Production.INFO: Date 2024-12-29
[2025-01-07 09:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:32:04] Production.INFO: Date 2024-12-30
[2025-01-07 09:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:32:04] Production.INFO: Date 2024-12-31
[2025-01-07 09:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:32:04] Production.INFO: Date 2025-01-01
[2025-01-07 09:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:32:04] Production.INFO: Date 2025-01-02
[2025-01-07 09:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:32:04] Production.INFO: Date 2025-01-03
[2025-01-07 09:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:32:04] Production.INFO: Date 2025-01-04
[2025-01-07 09:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:32:04] Production.INFO: Date 2025-01-05
[2025-01-07 09:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:32:04] Production.INFO: Date 2025-01-06
[2025-01-07 09:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:32:04] Production.INFO: Date 2025-01-07
[2025-01-07 09:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:32:05] Production.INFO: Total Charge 0
[2025-01-07 09:32:05] Production.INFO: CreateAllLog End
[2025-01-07 09:32:05] Production.INFO: Account Balance End.
[2025-01-07 09:32:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:32:05] Production.INFO: ==26758== Releasing lock...
[2025-01-07 09:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:32:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:32:05
[end_date_ymd] => 2025-01-07 09:32:05
[RateCDR] => 1
)
[2025-01-07 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-07 06:32:05' and `end` < '2025-01-07 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-07 09:32:12] Production.ERROR: CronJobId end10
[2025-01-07 09:32:12] Production.INFO: ==26756== Releasing lock...
[2025-01-07 09:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:32:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:32:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:32:14] Production.INFO: call_cost start
[2025-01-07 09:32:14] Production.INFO: call_cost end
[2025-01-07 09:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:32:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:32:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:32:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:32:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:32:15] Production.INFO: ==26752== Releasing lock...
[2025-01-07 09:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:32:20] Production.INFO: count ==1340
[2025-01-07 09:32:21] Production.ERROR: pbx CDR StartTime 2025-01-07 06:32:05 - End Time 2025-01-07 09:32:05
[2025-01-07 09:32:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194003', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194003', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194003', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194003', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:32:21] Production.INFO: ProcessCDR(1,14194003,1,1,2)
[2025-01-07 09:32:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194003,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:32:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194003,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:32:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194003,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:32:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194003,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:32:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194003', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:32:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194003', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:32:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:32:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:32:26] Production.INFO: ==26760== Releasing lock...
[2025-01-07 09:32:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:32:26] Production.INFO: 38.25 MB #Memory Used#
[2025-01-07 14:33:01] Production.INFO: ==26815== Lock acquired, processing the job...
[2025-01-07 14:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:33:01] Production.INFO: neon service started
[2025-01-07 14:33:01] Production.INFO: neon service started
[2025-01-07 14:33:01] Production.INFO: ==26815== Releasing lock...
[2025-01-07 14:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:33:02] Production.INFO: ==26817== Lock acquired, processing the job...
[2025-01-07 09:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 14:33:02] Production.INFO: ==26819== Lock acquired, processing the job...
[2025-01-07 14:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:33:02] Production.INFO: ==26819== Releasing lock...
[2025-01-07 14:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:33:02] Production.INFO: ==26817== Releasing lock...
[2025-01-07 09:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:33:03] Production.INFO: ==26822== Lock acquired, processing the job...
[2025-01-07 09:33:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10493 #Starts#
[2025-01-07 09:33:03] Production.INFO: ==26824== Lock acquired, processing the job...
[2025-01-07 09:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:33:03] Production.INFO: -- Xero Api Check --
[2025-01-07 09:33:03] Production.INFO: ==26826== Lock acquired, processing the job...
[2025-01-07 09:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:33:04] Production.INFO: ==26828== Lock acquired, processing the job...
[2025-01-07 09:33:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:33:04] Production.INFO: ==26830== Lock acquired, processing the job...
[2025-01-07 09:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:33:04] Production.INFO: ==26832== Lock acquired, processing the job...
[2025-01-07 09:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:33:04] Production.INFO: ==26834== Lock acquired, processing the job...
[2025-01-07 09:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:33:04] Production.INFO: Account Balance Start.
[2025-01-07 09:33:04] Production.INFO: CreateAllLog Start
[2025-01-07 09:33:04] Production.INFO: 117
[2025-01-07 09:33:04] Production.INFO: Date 2024-12-08
[2025-01-07 09:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:33:04] Production.INFO: ==26826== Releasing lock...
[2025-01-07 09:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:33:04] Production.INFO: Date 2024-12-09
[2025-01-07 09:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:33:04] Production.ERROR: done
[2025-01-07 09:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:33:04] Production.INFO: Date 2024-12-10
[2025-01-07 09:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 09:33:04] Production.INFO: count ==21
[2025-01-07 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-07 09:33:04] Production.INFO: count ==21
[2025-01-07 09:33:04] Production.INFO: Date 2024-12-11
[2025-01-07 09:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194007') start
[2025-01-07 09:33:04] Production.INFO: Date 2024-12-12
[2025-01-07 09:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:33:04] Production.ERROR: done
[2025-01-07 09:33:04] Production.INFO: Date 2024-12-13
[2025-01-07 09:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194007') end
[2025-01-07 09:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:33:04] Production.INFO: 1
[2025-01-07 09:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:33:04] Production.INFO: Date 2024-12-14
[2025-01-07 09:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:33:04] Production.INFO: ==26834== Releasing lock...
[2025-01-07 09:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:33:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:33: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] => 1.070878
[namelookup_time] => 0.286912
[connect_time] => 0.382567
[pretransfer_time] => 0.840155
[size_upload] => 82
[size_download] => 2755
[speed_download] => 2572
[speed_upload] => 76
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 1.070821
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 2.22.251.42
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 38162
)
[2025-01-07 09:33:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNjAzODQsImV4cCI6MTczNjI2MDY4NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjYwMzg0LCJhdF9oYXNoIjoiNzgyYUdieTNYcUFpY1pmVW5vQk9fZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.bTSxNWVUmX0yDYENGdMupEHTdLqNeLfCFEEsyKxWSfVvURxvuaTyBU9K0uJeONNn-b41USDcARj0TbzfXKhDYzFII-UE5PwOr8xU3TvcAqsyAJ-s-E1gP2ZcKmkmpDuXP1SXU8Va6FlAYPGN5blsNM5f_IHjAG0FMYJRczaM0vW_Oh17-goxh62bdxnpCKK4vowUQXWTdB3OcjS6ZWJowAVY1fMp_8cPygzhVE6KtondfYvI7MCag9tBoA3UP_95yAfpkDrFeAW2t2Fvj1PQX2WX_L8VcrD7mp83B-XJkvHnN5PtnHIvmm6K_8774gb_ioTa-QXF62pIQ5yG6QBJMA
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNjAzODQsImV4cCI6MTczNjI2MjE4NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.jskJwPkdkUlifivronbzeY8Kgr-lsEpMDRo6vgC-_3js2AZXLYghiABNAPsSLVGgdh_zekdfnHDAdbGhjEQCsuQNzw4sY8saXjo26NRcwPgbOg8vEptsOuxGgGaBdcpiS1R4RduTFaWIeHA9iFw2EkU72_ywBdv4pOWFD_WLk3QU5SKDNtAYiWY7_xxPSJraiWmXvhiYD853IXiD6nK30z4_IAr-uXHmoDPdVXAnRnMvwgq3oP7K-kbPh5b-gtgNt3DzfViqdYcaBJ6mWwhsxRxWwdpFFXxBWB66jEVidYBNj21COx43GoXxs4tPp-797jRgw4IPvnirTcW4md49vA
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => EiGSM0ZUuzlCFB0q4hEIXT3fh5j6sWB2qYVsTholUkA
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 09:33:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:33:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:33:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNjAzODQsImV4cCI6MTczNjI2MDY4NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjYwMzg0LCJhdF9oYXNoIjoiNzgyYUdieTNYcUFpY1pmVW5vQk9fZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.bTSxNWVUmX0yDYENGdMupEHTdLqNeLfCFEEsyKxWSfVvURxvuaTyBU9K0uJeONNn-b41USDcARj0TbzfXKhDYzFII-UE5PwOr8xU3TvcAqsyAJ-s-E1gP2ZcKmkmpDuXP1SXU8Va6FlAYPGN5blsNM5f_IHjAG0FMYJRczaM0vW_Oh17-goxh62bdxnpCKK4vowUQXWTdB3OcjS6ZWJowAVY1fMp_8cPygzhVE6KtondfYvI7MCag9tBoA3UP_95yAfpkDrFeAW2t2Fvj1PQX2WX_L8VcrD7mp83B-XJkvHnN5PtnHIvmm6K_8774gb_ioTa-QXF62pIQ5yG6QBJMA
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNjAzODQsImV4cCI6MTczNjI2MjE4NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.jskJwPkdkUlifivronbzeY8Kgr-lsEpMDRo6vgC-_3js2AZXLYghiABNAPsSLVGgdh_zekdfnHDAdbGhjEQCsuQNzw4sY8saXjo26NRcwPgbOg8vEptsOuxGgGaBdcpiS1R4RduTFaWIeHA9iFw2EkU72_ywBdv4pOWFD_WLk3QU5SKDNtAYiWY7_xxPSJraiWmXvhiYD853IXiD6nK30z4_IAr-uXHmoDPdVXAnRnMvwgq3oP7K-kbPh5b-gtgNt3DzfViqdYcaBJ6mWwhsxRxWwdpFFXxBWB66jEVidYBNj21COx43GoXxs4tPp-797jRgw4IPvnirTcW4md49vA
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => EiGSM0ZUuzlCFB0q4hEIXT3fh5j6sWB2qYVsTholUkA
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 09:33:04] Production.INFO: AccountID 227
[2025-01-07 09:33:04] Production.INFO: AccountName Quiznos 15184 (Akshay Naik)
[2025-01-07 09:33:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:33:04] Production.INFO: Checkcustomer
[2025-01-07 09:33:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015184%20%28Akshay%20Naik%29"
[2025-01-07 09:33:05] Production.INFO: Date 2024-12-19
[2025-01-07 09:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:33:05] Production.INFO: Date 2024-12-20
[2025-01-07 09:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:33:05] Production.INFO: Date 2024-12-21
[2025-01-07 09:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:33:05] Production.INFO: Date 2024-12-22
[2025-01-07 09:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:33:05] Production.INFO: Date 2024-12-23
[2025-01-07 09:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:33:05] Production.INFO: Date 2024-12-24
[2025-01-07 09:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:33:05] Production.INFO: Date 2024-12-25
[2025-01-07 09:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:33:05] Production.INFO: Date 2024-12-26
[2025-01-07 09:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:33:05] Production.INFO: Date 2024-12-27
[2025-01-07 09:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:33:05] Production.INFO: Date 2024-12-28
[2025-01-07 09:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:33:05] Production.INFO: Date 2024-12-29
[2025-01-07 09:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:33:05] Production.INFO: Date 2024-12-30
[2025-01-07 09:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:33:05] Production.INFO: Date 2024-12-31
[2025-01-07 09:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:33:05] Production.INFO: Date 2025-01-01
[2025-01-07 09:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:33:05] Production.INFO: Date 2025-01-02
[2025-01-07 09:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:33:05] Production.INFO: Date 2025-01-03
[2025-01-07 09:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:33:05] Production.INFO: Date 2025-01-04
[2025-01-07 09:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:33:05] Production.INFO: Date 2025-01-05
[2025-01-07 09:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:33:05] Production.INFO: Date 2025-01-06
[2025-01-07 09:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:33:05] Production.INFO: Date 2025-01-07
[2025-01-07 09:33:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:33:05] Production.INFO: Total Charge 0
[2025-01-07 09:33:05] Production.INFO: CreateAllLog End
[2025-01-07 09:33:05] Production.INFO: Account Balance End.
[2025-01-07 09:33:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:33:05] Production.INFO: ==26830== Releasing lock...
[2025-01-07 09:33:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:33:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:33:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:33:06
[end_date_ymd] => 2025-01-07 09:33:06
[RateCDR] => 1
)
[2025-01-07 09: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-07 06:33:06' and `end` < '2025-01-07 09: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-07 09:33:08] Production.INFO: Contact id print CheckCustomer Case===7d4d8a6e-9b66-4daf-be5c-0e7e0524121b
[2025-01-07 09:33:08] Production.INFO: -- count --1
[2025-01-07 09:33:08] Production.INFO: -- Xero Add Inovice --
[2025-01-07 09:33:08] Production.INFO: CheckInvoice xerov2: INV10869
[2025-01-07 09:33:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10869
[2025-01-07 09:33:11] Production.ERROR: CronJobId end10
[2025-01-07 09:33:11] Production.INFO: ==26828== Releasing lock...
[2025-01-07 09:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:33:11] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 09:33:11] Production.INFO: ========================== Exception occured =============================
[2025-01-07 09:33:11] Production.ERROR: exception 'ErrorException' with message 'Undefined offset: 48' in /var/www/html/onswitch.neon.service/app/lib/XeroV2.php:0
Stack trace:
#0 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined offse...', '/var/www/html/o...', 0, Array)
#1 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->GetInvoiceData()
#2 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->CreateInvoice()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/XeroInvoicePostV2.php(0): App\Lib\XeroV2->addInvoices()
#4 [internal function]: App\Console\Commands\XeroInvoicePostV2->fire()
#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\XeroInvoicePostV2), 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-07 09:33:11] Production.INFO: ========================== Exception updated in job and email sent =============================
[2025-01-07 09:33:11] Production.INFO: ==26822== Releasing lock...
[2025-01-07 09:33:11] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10493 #Stops#
[2025-01-07 09:33:11] Production.INFO: 27.5 MB #Memory Used#
[2025-01-07 09:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:33:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:33:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:33:13] Production.INFO: call_cost start
[2025-01-07 09:33:13] Production.INFO: call_cost end
[2025-01-07 09:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:33:14] Production.INFO: ==26824== Releasing lock...
[2025-01-07 09:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:33:21] Production.INFO: count ==1345
[2025-01-07 09:33:21] Production.ERROR: pbx CDR StartTime 2025-01-07 06:33:06 - End Time 2025-01-07 09:33:06
[2025-01-07 09:33:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194008', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194008', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194008', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194008', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:33:21] Production.INFO: ProcessCDR(1,14194008,1,1,2)
[2025-01-07 09:33:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194008,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:33:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194008,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:33:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194008,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:33:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194008,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:33:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194008', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:33:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194008', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:33:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:33:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:33:26] Production.INFO: ==26832== Releasing lock...
[2025-01-07 09:33:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:33:26] Production.INFO: 38.25 MB #Memory Used#
[2025-01-07 14:34:02] Production.INFO: ==26890== Lock acquired, processing the job...
[2025-01-07 14:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:34:02] Production.INFO: neon service started
[2025-01-07 14:34:02] Production.INFO: neon service started
[2025-01-07 14:34:02] Production.INFO: ==26890== Releasing lock...
[2025-01-07 14:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:34:02] Production.INFO: ==26893== Lock acquired, processing the job...
[2025-01-07 09:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:34:02] Production.INFO: ==26893== Releasing lock...
[2025-01-07 09:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 14:34:03] Production.INFO: ==26895== Lock acquired, processing the job...
[2025-01-07 14:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:34:03] Production.INFO: ==26895== Releasing lock...
[2025-01-07 14:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:34:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:34:03] Production.INFO: ==26897== Lock acquired, processing the job...
[2025-01-07 09:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:34:03] Production.INFO: ==26901== Lock acquired, processing the job...
[2025-01-07 09:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:34:03] Production.INFO: ==26903== Lock acquired, processing the job...
[2025-01-07 09:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:34:03] Production.INFO: ==26899== Lock acquired, processing the job...
[2025-01-07 09:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:34:03] Production.INFO: Account Balance Start.
[2025-01-07 09:34:03] Production.INFO: CreateAllLog Start
[2025-01-07 09:34:03] Production.INFO: 117
[2025-01-07 09:34:03] Production.INFO: Date 2024-12-08
[2025-01-07 09:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:34:04] Production.INFO: ==26905== Lock acquired, processing the job...
[2025-01-07 09:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:34:04] Production.INFO: Date 2024-12-09
[2025-01-07 09:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:34:04] Production.INFO: ==26907== Lock acquired, processing the job...
[2025-01-07 09:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:34:04] Production.INFO: Date 2024-12-10
[2025-01-07 09:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:34:04] Production.INFO: Date 2024-12-11
[2025-01-07 09:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:34:04] Production.INFO: Date 2024-12-12
[2025-01-07 09:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:34:04] Production.INFO: ==26899== Releasing lock...
[2025-01-07 09:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:34:04] Production.INFO: Date 2024-12-13
[2025-01-07 09:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:34:04] Production.INFO: Date 2024-12-14
[2025-01-07 09:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:34:04] Production.INFO: count ==21
[2025-01-07 09:34:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:34:04] Production.INFO: count ==21
[2025-01-07 09:34:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:34:04] Production.ERROR: done
[2025-01-07 09:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194012') start
[2025-01-07 09:34:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:34:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:34:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194012') end
[2025-01-07 09:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:34:04] Production.INFO: 1
[2025-01-07 09:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:34:04] Production.ERROR: done
[2025-01-07 09:34:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:34:04] Production.INFO: ==26907== Releasing lock...
[2025-01-07 09:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:34:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:34:04] Production.INFO: Date 2024-12-22
[2025-01-07 09:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:34:04] Production.INFO: Date 2024-12-23
[2025-01-07 09:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:34:04] Production.INFO: Date 2024-12-24
[2025-01-07 09:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:34:04] Production.INFO: Date 2024-12-25
[2025-01-07 09:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:34:04] Production.INFO: Date 2024-12-26
[2025-01-07 09:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:34:04] Production.INFO: Date 2024-12-27
[2025-01-07 09:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:34:04] Production.INFO: Date 2024-12-28
[2025-01-07 09:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:34:04] Production.INFO: Date 2024-12-29
[2025-01-07 09:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:34:04] Production.INFO: Date 2024-12-30
[2025-01-07 09:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:34:04] Production.INFO: Date 2024-12-31
[2025-01-07 09:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:34:05] Production.INFO: Date 2025-01-01
[2025-01-07 09:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:34:05] Production.INFO: Date 2025-01-02
[2025-01-07 09:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:34:05] Production.INFO: Date 2025-01-03
[2025-01-07 09:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:34:05] Production.INFO: Date 2025-01-04
[2025-01-07 09:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:34:05] Production.INFO: Date 2025-01-05
[2025-01-07 09:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:34:05] Production.INFO: Date 2025-01-06
[2025-01-07 09:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:34:05] Production.INFO: Date 2025-01-07
[2025-01-07 09:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:34:05] Production.INFO: Total Charge 0
[2025-01-07 09:34:05] Production.INFO: CreateAllLog End
[2025-01-07 09:34:05] Production.INFO: Account Balance End.
[2025-01-07 09:34:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:34:05] Production.INFO: ==26903== Releasing lock...
[2025-01-07 09:34:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:34:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:34:05
[end_date_ymd] => 2025-01-07 09:34:05
[RateCDR] => 1
)
[2025-01-07 09:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 06:34:05' and `end` < '2025-01-07 09:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 09:34:12] Production.ERROR: CronJobId end10
[2025-01-07 09:34:12] Production.INFO: ==26901== Releasing lock...
[2025-01-07 09:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:34:14] Production.INFO: call_cost start
[2025-01-07 09:34:14] Production.INFO: call_cost end
[2025-01-07 09:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:34:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:34:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:34:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:34:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:34:15] Production.INFO: ==26897== Releasing lock...
[2025-01-07 09:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:34:19] Production.INFO: count ==1363
[2025-01-07 09:34:19] Production.ERROR: pbx CDR StartTime 2025-01-07 06:34:05 - End Time 2025-01-07 09:34:05
[2025-01-07 09:34:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194013', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194013', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194013', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194013', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:34:19] Production.INFO: ProcessCDR(1,14194013,1,1,2)
[2025-01-07 09:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194013,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:34:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194013,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:34:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194013,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:34:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194013,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:34:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194013', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:34:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194013', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:34:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:34:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:34:25] Production.INFO: ==26905== Releasing lock...
[2025-01-07 09:34:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:34:25] Production.INFO: 38.75 MB #Memory Used#
[2025-01-07 14:35:01] Production.INFO: ==26960== Lock acquired, processing the job...
[2025-01-07 14:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:35:01] Production.INFO: neon service started
[2025-01-07 14:35:01] Production.INFO: neon service started
[2025-01-07 14:35:01] Production.INFO: ==26960== Releasing lock...
[2025-01-07 14:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:35:02] Production.INFO: ==26962== Lock acquired, processing the job...
[2025-01-07 09:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 14:35:02] Production.INFO: ==26964== Lock acquired, processing the job...
[2025-01-07 14:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:35:02] Production.INFO: ==26964== Releasing lock...
[2025-01-07 14:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:35:02] Production.INFO: ==26962== Releasing lock...
[2025-01-07 09:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:35:03] Production.INFO: ==26966== Lock acquired, processing the job...
[2025-01-07 09:35:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10494 #Starts#
[2025-01-07 09:35:03] Production.INFO: -- Xero Api Check --
[2025-01-07 09:35:03] Production.INFO: ==26970== Lock acquired, processing the job...
[2025-01-07 09:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:35:03] Production.INFO: ==26968== Lock acquired, processing the job...
[2025-01-07 09:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:35:03] Production.INFO: ==26977== Lock acquired, processing the job...
[2025-01-07 09:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:35:03] Production.INFO: ==26972== Lock acquired, processing the job...
[2025-01-07 09:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:35:03] Production.INFO: ==26979== Lock acquired, processing the job...
[2025-01-07 09:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:35:03] Production.INFO: ==26974== Lock acquired, processing the job...
[2025-01-07 09:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:35:03] Production.INFO: count ==21
[2025-01-07 09:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:35:03] Production.INFO: count ==21
[2025-01-07 09:35:03] Production.INFO: Account Balance Start.
[2025-01-07 09:35:03] Production.INFO: CreateAllLog Start
[2025-01-07 09:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194016') start
[2025-01-07 09:35:03] Production.INFO: 117
[2025-01-07 09:35:03] Production.INFO: ==26970== Releasing lock...
[2025-01-07 09:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:35:03] Production.INFO: Date 2024-12-08
[2025-01-07 09:35:03] Production.ERROR: done
[2025-01-07 09:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194016') end
[2025-01-07 09:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:35:04] Production.INFO: 1
[2025-01-07 09:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:35:04] Production.INFO: Date 2024-12-09
[2025-01-07 09:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:35:04] Production.INFO: Date 2024-12-10
[2025-01-07 09:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:35:04] Production.INFO: ==26979== Releasing lock...
[2025-01-07 09:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:35:04] Production.ERROR: done
[2025-01-07 09:35:04] Production.INFO: Date 2024-12-11
[2025-01-07 09:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:35:04] Production.INFO: Date 2024-12-12
[2025-01-07 09:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:35:04] Production.INFO: Date 2024-12-13
[2025-01-07 09:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:35:04] Production.INFO: Date 2024-12-14
[2025-01-07 09:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:35:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:35:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:35: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] => 1.000014
[namelookup_time] => 0.540455
[connect_time] => 0.54166
[pretransfer_time] => 0.8228
[size_upload] => 82
[size_download] => 2755
[speed_download] => 2754
[speed_upload] => 81
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.999977
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.17
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 45512
)
[2025-01-07 09:35:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNjA1MDQsImV4cCI6MTczNjI2MDgwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjYwNTA0LCJhdF9oYXNoIjoiSTItd1NDWDVUcHp3TldLWHBfYVhFdyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.HoL-yx_fYepgJcHm1ge9FzRRGsvSefDVpHPVndX4qQ0BX9YCKYZpyw9NhORmBLDPHPnCQtVTObzrTvDWhU65vo_tU0qCua7AlTwVTfXI77RdGxL8VPQapvJGpQ6tnJ4FzdUo0i0iI9y_aWmihYvTU2gEz69RKy2P336KlA83fzuyaDjAgpNWSq9fTTukMmfCoedhzO2yt1AXcorqKA7_0kZXN-MfQSbVar9woLQYiIBCPzvln7iVouxNYLOZhv5F71HHyzHXhhS_AsRP1ni2KIkeVcoegVoKwLukg5buhnEeHE19dowAtOklxr-CVB7XIi6GW4yOgig8QMYeCsgnSQ
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNjA1MDQsImV4cCI6MTczNjI2MjMwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.CvPfIMlcd4ds4lWGkIHAyYiAqgBB7KHR4ardSuGgv55N5lHwm5Yt66jFmnxOoXY1SqXo58R_FO68zEiSX6FvjYsI3aWDKcCWJR966FQzj85HKDdFPIMB0qoYxoM6-Lj8Eyv4xk2DvchUUnWpkdECBX1BaZdh0Z2LdYjEw4bmn2M4mf9habK7NAICGgtuulBKrXaB9OI8inuWG2tAIiC4gx1l65NzCGJy-De-kEa8O0Gi45HwlWaUU-XcDqZGBA8Y6cuI8_JOT0F2NQ4z3S6A11GFtj7dUmRN48ZC7bU7PAnd9OERQPdArEj3E-kVMOycli2fuAh7EjrwxqJewxsA5A
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => GHudPqc2NQPAiK66O5nmbdzw1LJsO0W7O-PeYY2C_sA
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 09:35:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:35:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNjA1MDQsImV4cCI6MTczNjI2MDgwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjYwNTA0LCJhdF9oYXNoIjoiSTItd1NDWDVUcHp3TldLWHBfYVhFdyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.HoL-yx_fYepgJcHm1ge9FzRRGsvSefDVpHPVndX4qQ0BX9YCKYZpyw9NhORmBLDPHPnCQtVTObzrTvDWhU65vo_tU0qCua7AlTwVTfXI77RdGxL8VPQapvJGpQ6tnJ4FzdUo0i0iI9y_aWmihYvTU2gEz69RKy2P336KlA83fzuyaDjAgpNWSq9fTTukMmfCoedhzO2yt1AXcorqKA7_0kZXN-MfQSbVar9woLQYiIBCPzvln7iVouxNYLOZhv5F71HHyzHXhhS_AsRP1ni2KIkeVcoegVoKwLukg5buhnEeHE19dowAtOklxr-CVB7XIi6GW4yOgig8QMYeCsgnSQ
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNjA1MDQsImV4cCI6MTczNjI2MjMwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.CvPfIMlcd4ds4lWGkIHAyYiAqgBB7KHR4ardSuGgv55N5lHwm5Yt66jFmnxOoXY1SqXo58R_FO68zEiSX6FvjYsI3aWDKcCWJR966FQzj85HKDdFPIMB0qoYxoM6-Lj8Eyv4xk2DvchUUnWpkdECBX1BaZdh0Z2LdYjEw4bmn2M4mf9habK7NAICGgtuulBKrXaB9OI8inuWG2tAIiC4gx1l65NzCGJy-De-kEa8O0Gi45HwlWaUU-XcDqZGBA8Y6cuI8_JOT0F2NQ4z3S6A11GFtj7dUmRN48ZC7bU7PAnd9OERQPdArEj3E-kVMOycli2fuAh7EjrwxqJewxsA5A
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => GHudPqc2NQPAiK66O5nmbdzw1LJsO0W7O-PeYY2C_sA
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 09:35:04] Production.INFO: AccountID 143
[2025-01-07 09:35:04] Production.INFO: AccountName Orange Contracting
[2025-01-07 09:35:04] Production.INFO: Checkcustomer
[2025-01-07 09:35:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Orange%20Contracting"
[2025-01-07 09:35:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:35:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:35:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:35:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:35:04] Production.INFO: Date 2024-12-22
[2025-01-07 09:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:35:04] Production.INFO: Date 2024-12-23
[2025-01-07 09:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:35:04] Production.INFO: Date 2024-12-24
[2025-01-07 09:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:35:04] Production.INFO: Date 2024-12-25
[2025-01-07 09:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:35:04] Production.INFO: Date 2024-12-26
[2025-01-07 09:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:35:04] Production.INFO: Date 2024-12-27
[2025-01-07 09:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:35:04] Production.INFO: Date 2024-12-28
[2025-01-07 09:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:35:04] Production.INFO: Date 2024-12-29
[2025-01-07 09:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:35:04] Production.INFO: Date 2024-12-30
[2025-01-07 09:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:35:05] Production.INFO: Date 2024-12-31
[2025-01-07 09:35:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:35:05] Production.INFO: Date 2025-01-01
[2025-01-07 09:35:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:35:05] Production.INFO: Date 2025-01-02
[2025-01-07 09:35:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:35:05] Production.INFO: Date 2025-01-03
[2025-01-07 09:35:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:35:05] Production.INFO: Date 2025-01-04
[2025-01-07 09:35:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:35:05] Production.INFO: Date 2025-01-05
[2025-01-07 09:35:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:35:05] Production.INFO: Date 2025-01-06
[2025-01-07 09:35:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:35:05
[end_date_ymd] => 2025-01-07 09:35:05
[RateCDR] => 1
)
[2025-01-07 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-07 06:35:05' and `end` < '2025-01-07 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-07 09:35:05] Production.INFO: Date 2025-01-07
[2025-01-07 09:35:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:35:05] Production.INFO: Total Charge 0
[2025-01-07 09:35:05] Production.INFO: CreateAllLog End
[2025-01-07 09:35:05] Production.INFO: Account Balance End.
[2025-01-07 09:35:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:35:05] Production.INFO: ==26974== Releasing lock...
[2025-01-07 09:35:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:35:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:35:06] Production.INFO: Contact id print CheckCustomer Case===075abb78-3e33-47bd-a869-70486b7179f2
[2025-01-07 09:35:06] Production.INFO: -- count --1
[2025-01-07 09:35:06] Production.INFO: -- Xero Add Inovice --
[2025-01-07 09:35:06] Production.INFO: CheckInvoice xerov2: INV10924
[2025-01-07 09:35:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10924
[2025-01-07 09:35:09] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 09:35:09] Production.INFO: Invoice SubTotal 24.300000
[2025-01-07 09:35:09] Production.INFO: Invoice DetTotal 24.3
[2025-01-07 09:35:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Orange%20Contracting"
[2025-01-07 09:35:11] Production.ERROR: CronJobId end10
[2025-01-07 09:35:11] Production.INFO: ==26972== Releasing lock...
[2025-01-07 09:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:35:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 09:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:35:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:35:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:35:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 09:35:14] Production.INFO: call_cost start
[2025-01-07 09:35:14] Production.INFO: call_cost end
[2025-01-07 09:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:35:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:35:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:35:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:35:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:35:15] Production.INFO: ==26968== Releasing lock...
[2025-01-07 09:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:35:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 09:35:19] Production.INFO: count ==1382
[2025-01-07 09:35:19] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 250,DiscountRate : 0.000000,"Description": "Collaboration and productivity suite, managed by OnSwitch.",Quantity : 3,UnitAmount : 8.100000,LineAmount : 24.300000}
[2025-01-07 09:35:19] Production.ERROR: pbx CDR StartTime 2025-01-07 06:35:05 - End Time 2025-01-07 09:35:05
[2025-01-07 09:35:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194018', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194018', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194018', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194018', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:35:19] Production.INFO: ProcessCDR(1,14194018,1,1,2)
[2025-01-07 09:35:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194018,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:35:21] Production.INFO: ==== result =====
[2025-01-07 09:35:21] Production.INFO: {
"Id": "ecb067dd-df3f-489e-80b7-5f71db311fea",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736260521889)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "45f782e4-e68a-4278-acbf-b681590a54d3",
"InvoiceNumber": "INV10924",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 27.46,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 0.00,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "075abb78-3e33-47bd-a869-70486b7179f2",
"ContactStatus": "ACTIVE",
"Name": "Orange Contracting",
"FirstName": "Mohamed",
"LastName": "",
"EmailAddress": "mohamed@orangecontracting.com",
"BankAccountDetails": "",
"TaxNumber": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"AddressLine1": "20 Poulias Ave.",
"AddressLine2": "",
"AddressLine3": "",
"AddressLine4": "",
"City": "Richmond Hill",
"Region": "ON",
"PostalCode": "L4E4A1",
"Country": "Canada",
"AttentionTo": "Mohamed"
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "(416) 8172590",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "4168172590",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1487615948263+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-10-19T00:00:00",
"Date": "\/Date(1729296000000+0000)\/",
"DueDateString": "2024-11-18T00:00:00",
"DueDate": "\/Date(1731888000000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Collaboration and productivity suite, managed by OnSwitch.",
"UnitAmount": 8.10,
"TaxType": "TAX020",
"TaxAmount": 3.16,
"LineAmount": 24.30,
"AccountCode": "250",
"Tracking": [],
"Quantity": 3.0000,
"DiscountRate": 0.00,
"LineItemID": "c5ccad18-4712-4e92-8712-1c33ab7269b3",
"AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7",
"DiscountAmount": 0.0000,
"ValidationErrors": []
}
],
"SubTotal": 24.30,
"TotalTax": 3.16,
"Total": 27.46,
"UpdatedDateUTC": "\/Date(1736260521827+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 09:35:21] Production.INFO: -- Create Invoice id --45f782e4-e68a-4278-acbf-b681590a54d3
[2025-01-07 09:35:21] Production.INFO: -- Create Invoice Done --
[2025-01-07 09:35:21] Production.INFO: -- Xero End Inovice --
[2025-01-07 09:35:21] Production.INFO: ==26966== Releasing lock...
[2025-01-07 09:35:21] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10494 #Stops#
[2025-01-07 09:35:21] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 09:35:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194018,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:35:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194018,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:35:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194018,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:35:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194018', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:35:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194018', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:35:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:35:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:35:24] Production.INFO: ==26977== Releasing lock...
[2025-01-07 09:35:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:35:24] Production.INFO: 38.75 MB #Memory Used#
[2025-01-07 14:36:02] Production.INFO: ==27041== Lock acquired, processing the job...
[2025-01-07 14:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:36:02] Production.INFO: neon service started
[2025-01-07 14:36:02] Production.INFO: neon service started
[2025-01-07 14:36:02] Production.INFO: ==27041== Releasing lock...
[2025-01-07 14:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:36:02] Production.INFO: ==27043== Lock acquired, processing the job...
[2025-01-07 09:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:36:02] Production.INFO: ==27043== Releasing lock...
[2025-01-07 09:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 14:36:02] Production.INFO: ==27045== Lock acquired, processing the job...
[2025-01-07 14:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:36:02] Production.INFO: ==27045== Releasing lock...
[2025-01-07 14:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:36:03] Production.INFO: ==27051== Lock acquired, processing the job...
[2025-01-07 09:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:36:03] Production.INFO: ==27053== Lock acquired, processing the job...
[2025-01-07 09:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:36:03] Production.INFO: ==27047== Lock acquired, processing the job...
[2025-01-07 09:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:36:03] Production.INFO: ==27049== Lock acquired, processing the job...
[2025-01-07 09:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:36:03] Production.INFO: Account Balance Start.
[2025-01-07 09:36:03] Production.INFO: CreateAllLog Start
[2025-01-07 09:36:03] Production.INFO: 117
[2025-01-07 09:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:36:03] Production.INFO: ==27055== Lock acquired, processing the job...
[2025-01-07 09:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:36:03] Production.INFO: Date 2024-12-08
[2025-01-07 09:36:03] Production.INFO: ==27057== Lock acquired, processing the job...
[2025-01-07 09:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:36:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:36:04] Production.INFO: Date 2024-12-09
[2025-01-07 09:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:36:04] Production.INFO: ==27049== Releasing lock...
[2025-01-07 09:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:36:04] Production.INFO: count ==21
[2025-01-07 09:36:04] Production.INFO: Date 2024-12-10
[2025-01-07 09:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:36:04] Production.INFO: count ==21
[2025-01-07 09:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194022') start
[2025-01-07 09:36:04] Production.INFO: Date 2024-12-11
[2025-01-07 09:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194022') end
[2025-01-07 09:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:36:04] Production.INFO: 1
[2025-01-07 09:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:36:04] Production.ERROR: done
[2025-01-07 09:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:36:04] Production.INFO: ==27057== Releasing lock...
[2025-01-07 09:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:36:04] Production.INFO: Date 2024-12-12
[2025-01-07 09:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:36:04] Production.INFO: Date 2024-12-13
[2025-01-07 09:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:36:04] Production.INFO: Date 2024-12-14
[2025-01-07 09:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:36:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:36:04] Production.ERROR: done
[2025-01-07 09:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:36:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:36:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:36:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:36:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:36:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:36:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:36:04] Production.INFO: Date 2024-12-22
[2025-01-07 09:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:36:04] Production.INFO: Date 2024-12-23
[2025-01-07 09:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:36:04] Production.INFO: Date 2024-12-24
[2025-01-07 09:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:36:04] Production.INFO: Date 2024-12-25
[2025-01-07 09:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:36:04] Production.INFO: Date 2024-12-26
[2025-01-07 09:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:36:04] Production.INFO: Date 2024-12-27
[2025-01-07 09:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:36:04] Production.INFO: Date 2024-12-28
[2025-01-07 09:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:36:04] Production.INFO: Date 2024-12-29
[2025-01-07 09:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:36:04] Production.INFO: Date 2024-12-30
[2025-01-07 09:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:36:04] Production.INFO: Date 2024-12-31
[2025-01-07 09:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:36:04] Production.INFO: Date 2025-01-01
[2025-01-07 09:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:36:04] Production.INFO: Date 2025-01-02
[2025-01-07 09:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:36:04] Production.INFO: Date 2025-01-03
[2025-01-07 09:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:36:04] Production.INFO: Date 2025-01-04
[2025-01-07 09:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:36:04] Production.INFO: Date 2025-01-05
[2025-01-07 09:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:36:05] Production.INFO: Date 2025-01-06
[2025-01-07 09:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:36:05] Production.INFO: Date 2025-01-07
[2025-01-07 09:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:36:05] Production.INFO: Total Charge 0
[2025-01-07 09:36:05] Production.INFO: CreateAllLog End
[2025-01-07 09:36:05] Production.INFO: Account Balance End.
[2025-01-07 09:36:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:36:05] Production.INFO: ==27053== Releasing lock...
[2025-01-07 09:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:36:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:36:05
[end_date_ymd] => 2025-01-07 09:36:05
[RateCDR] => 1
)
[2025-01-07 09:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 06:36:05' and `end` < '2025-01-07 09:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 09:36:11] Production.ERROR: CronJobId end10
[2025-01-07 09:36:11] Production.INFO: ==27051== Releasing lock...
[2025-01-07 09:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:36:13] Production.INFO: call_cost start
[2025-01-07 09:36:13] Production.INFO: call_cost end
[2025-01-07 09:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:36:14] Production.INFO: ==27047== Releasing lock...
[2025-01-07 09:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:36:28] Production.INFO: count ==1404
[2025-01-07 09:36:28] Production.ERROR: pbx CDR StartTime 2025-01-07 06:36:05 - End Time 2025-01-07 09:36:05
[2025-01-07 09:36:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:36:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194023', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:36:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194023', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:36:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194023', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:36:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194023', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:36:28] Production.INFO: ProcessCDR(1,14194023,1,1,2)
[2025-01-07 09:36:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194023,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:36:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194023,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:36:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194023,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:36:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194023,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:36:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194023', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:36:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194023', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:36:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:36:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:36:33] Production.INFO: ==27055== Releasing lock...
[2025-01-07 09:36:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:36:33] Production.INFO: 38.75 MB #Memory Used#
[2025-01-07 14:37:01] Production.INFO: ==27111== Lock acquired, processing the job...
[2025-01-07 14:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:37:01] Production.INFO: neon service started
[2025-01-07 14:37:01] Production.INFO: neon service started
[2025-01-07 14:37:01] Production.INFO: ==27111== Releasing lock...
[2025-01-07 14:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:37:02] Production.INFO: ==27113== Lock acquired, processing the job...
[2025-01-07 09:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:37:02] Production.INFO: ==27113== Releasing lock...
[2025-01-07 09:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 14:37:02] Production.INFO: ==27115== Lock acquired, processing the job...
[2025-01-07 14:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:37:02] Production.INFO: ==27115== Releasing lock...
[2025-01-07 14:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:37:03] Production.INFO: ==27117== Lock acquired, processing the job...
[2025-01-07 09:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:37:03] Production.INFO: ==27119== Lock acquired, processing the job...
[2025-01-07 09:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:37:03] Production.INFO: ==27121== Lock acquired, processing the job...
[2025-01-07 09:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:37:03] Production.INFO: ==27124== Lock acquired, processing the job...
[2025-01-07 09:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:37:03] Production.INFO: ==27119== Releasing lock...
[2025-01-07 09:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:37:03] Production.INFO: ==27128== Lock acquired, processing the job...
[2025-01-07 09:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:37:03] Production.INFO: Account Balance Start.
[2025-01-07 09:37:03] Production.INFO: CreateAllLog Start
[2025-01-07 09:37:03] Production.INFO: 117
[2025-01-07 09:37:03] Production.INFO: Date 2024-12-08
[2025-01-07 09:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:37:03] Production.INFO: ==27126== Lock acquired, processing the job...
[2025-01-07 09:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:37:03] Production.INFO: Date 2024-12-09
[2025-01-07 09:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 09: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-07 09:37:03] Production.INFO: count ==21
[2025-01-07 09:37:03] Production.INFO: Date 2024-12-10
[2025-01-07 09: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-07 09:37:03] Production.INFO: count ==21
[2025-01-07 09:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194027') start
[2025-01-07 09:37:04] Production.INFO: Date 2024-12-11
[2025-01-07 09:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:37:04] Production.ERROR: done
[2025-01-07 09:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:37:04] Production.INFO: Date 2024-12-12
[2025-01-07 09:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194027') end
[2025-01-07 09:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:37:04] Production.INFO: 1
[2025-01-07 09:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:37:04] Production.INFO: Date 2024-12-13
[2025-01-07 09:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:37:04] Production.INFO: Date 2024-12-14
[2025-01-07 09:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:37:04] Production.INFO: ==27128== Releasing lock...
[2025-01-07 09:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:37:04] Production.ERROR: done
[2025-01-07 09:37:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:37:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:37:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:37:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:37:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:37:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:37:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:37:04] Production.INFO: Date 2024-12-22
[2025-01-07 09:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:37:04] Production.INFO: Date 2024-12-23
[2025-01-07 09:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:37:04] Production.INFO: Date 2024-12-24
[2025-01-07 09:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:37:05] Production.INFO: Date 2024-12-25
[2025-01-07 09:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:37:05] Production.INFO: Date 2024-12-26
[2025-01-07 09:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:37:05] Production.INFO: Date 2024-12-27
[2025-01-07 09:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:37:05] Production.INFO: Date 2024-12-28
[2025-01-07 09:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:37:05] Production.INFO: Date 2024-12-29
[2025-01-07 09:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:37:05] Production.INFO: Date 2024-12-30
[2025-01-07 09:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:37:05] Production.INFO: Date 2024-12-31
[2025-01-07 09:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:37:05] Production.INFO: Date 2025-01-01
[2025-01-07 09:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:37:05] Production.INFO: Date 2025-01-02
[2025-01-07 09:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:37:05] Production.INFO: Date 2025-01-03
[2025-01-07 09:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:37:05] Production.INFO: Date 2025-01-04
[2025-01-07 09:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:37:05] Production.INFO: Date 2025-01-05
[2025-01-07 09:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:37:05] Production.INFO: Date 2025-01-06
[2025-01-07 09:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:37:05] Production.INFO: Date 2025-01-07
[2025-01-07 09:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:37:05] Production.INFO: Total Charge 0
[2025-01-07 09:37:05] Production.INFO: CreateAllLog End
[2025-01-07 09:37:05] Production.INFO: Account Balance End.
[2025-01-07 09:37:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:37:05] Production.INFO: ==27124== Releasing lock...
[2025-01-07 09:37:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:37:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:37:05
[end_date_ymd] => 2025-01-07 09:37:05
[RateCDR] => 1
)
[2025-01-07 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-07 06:37:05' and `end` < '2025-01-07 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-07 09:37:12] Production.ERROR: CronJobId end10
[2025-01-07 09:37:12] Production.INFO: ==27121== Releasing lock...
[2025-01-07 09:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:37:13] Production.INFO: call_cost start
[2025-01-07 09:37:13] Production.INFO: call_cost end
[2025-01-07 09:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:37:14] Production.INFO: ==27117== Releasing lock...
[2025-01-07 09:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:37:23] Production.INFO: count ==1424
[2025-01-07 09:37:23] Production.ERROR: pbx CDR StartTime 2025-01-07 06:37:05 - End Time 2025-01-07 09:37:05
[2025-01-07 09:37:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:37:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194028', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:37:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194028', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:37:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194028', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:37:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194028', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:37:23] Production.INFO: ProcessCDR(1,14194028,1,1,2)
[2025-01-07 09:37:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194028,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:37:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194028,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:37:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194028,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:37:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194028,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:37:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194028', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:37:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194028', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:37:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:37:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:37:28] Production.INFO: ==27126== Releasing lock...
[2025-01-07 09:37:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:37:28] Production.INFO: 39.25 MB #Memory Used#
[2025-01-07 14:38:02] Production.INFO: ==27186== Lock acquired, processing the job...
[2025-01-07 14:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:38:02] Production.INFO: neon service started
[2025-01-07 14:38:02] Production.INFO: neon service started
[2025-01-07 14:38:02] Production.INFO: ==27186== Releasing lock...
[2025-01-07 14:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:38:02] Production.INFO: ==27188== Lock acquired, processing the job...
[2025-01-07 09:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:38:02] Production.INFO: ==27188== Releasing lock...
[2025-01-07 09:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 14:38:03] Production.INFO: ==27190== Lock acquired, processing the job...
[2025-01-07 14:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:38:03] Production.INFO: ==27190== Releasing lock...
[2025-01-07 14:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:38:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:38:03] Production.INFO: ==27197== Lock acquired, processing the job...
[2025-01-07 09:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:38:03] Production.INFO: ==27203== Lock acquired, processing the job...
[2025-01-07 09:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:38:04] Production.INFO: count ==21
[2025-01-07 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-07 09:38:04] Production.INFO: count ==21
[2025-01-07 09:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194029') start
[2025-01-07 09:38:04] Production.INFO: ==27195== Lock acquired, processing the job...
[2025-01-07 09:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:38:04] Production.INFO: ==27193== Lock acquired, processing the job...
[2025-01-07 09:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:38:04] Production.INFO: ==27199== Lock acquired, processing the job...
[2025-01-07 09:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194029') end
[2025-01-07 09:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:38:04] Production.INFO: 1
[2025-01-07 09:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:38:04] Production.INFO: ==27203== Releasing lock...
[2025-01-07 09:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:38:04] Production.INFO: Account Balance Start.
[2025-01-07 09:38:04] Production.INFO: CreateAllLog Start
[2025-01-07 09:38:04] Production.INFO: 117
[2025-01-07 09:38:04] Production.INFO: Date 2024-12-08
[2025-01-07 09:38:04] Production.INFO: ==27201== Lock acquired, processing the job...
[2025-01-07 09:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:38:04] Production.INFO: Date 2024-12-09
[2025-01-07 09:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:38:04] Production.INFO: Date 2024-12-10
[2025-01-07 09:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:38:04] Production.INFO: Date 2024-12-11
[2025-01-07 09:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:38:04] Production.INFO: Date 2024-12-12
[2025-01-07 09:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:38:04] Production.INFO: ==27195== Releasing lock...
[2025-01-07 09:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:38:04] Production.INFO: Date 2024-12-13
[2025-01-07 09:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:38:04] Production.INFO: Date 2024-12-14
[2025-01-07 09:38:04] Production.ERROR: done
[2025-01-07 09:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:38:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:38:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:38:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:38:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:38:04] Production.ERROR: done
[2025-01-07 09:38:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:38:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:38:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:38:05] Production.INFO: Date 2024-12-22
[2025-01-07 09:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:38:05] Production.INFO: Date 2024-12-23
[2025-01-07 09:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:38:05] Production.INFO: Date 2024-12-24
[2025-01-07 09:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:38:05] Production.INFO: Date 2024-12-25
[2025-01-07 09:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:38:05] Production.INFO: Date 2024-12-26
[2025-01-07 09:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:38:05] Production.INFO: Date 2024-12-27
[2025-01-07 09:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:38:05] Production.INFO: Date 2024-12-28
[2025-01-07 09:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:38:05] Production.INFO: Date 2024-12-29
[2025-01-07 09:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:38:05] Production.INFO: Date 2024-12-30
[2025-01-07 09:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:38:05] Production.INFO: Date 2024-12-31
[2025-01-07 09:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:38:05] Production.INFO: Date 2025-01-01
[2025-01-07 09:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:38:05] Production.INFO: Date 2025-01-02
[2025-01-07 09:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:38:05] Production.INFO: Date 2025-01-03
[2025-01-07 09:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:38:05] Production.INFO: Date 2025-01-04
[2025-01-07 09:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:38:05] Production.INFO: Date 2025-01-05
[2025-01-07 09:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:38:05] Production.INFO: Date 2025-01-06
[2025-01-07 09:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:38:05] Production.INFO: Date 2025-01-07
[2025-01-07 09:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:38:05] Production.INFO: Total Charge 0
[2025-01-07 09:38:05] Production.INFO: CreateAllLog End
[2025-01-07 09:38:05] Production.INFO: Account Balance End.
[2025-01-07 09:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:38:05
[end_date_ymd] => 2025-01-07 09:38:05
[RateCDR] => 1
)
[2025-01-07 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-07 06:38:05' and `end` < '2025-01-07 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-07 09:38:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:38:05] Production.INFO: ==27199== Releasing lock...
[2025-01-07 09:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:38:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:38:12] Production.ERROR: CronJobId end10
[2025-01-07 09:38:12] Production.INFO: ==27197== Releasing lock...
[2025-01-07 09:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:38:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:38:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:38:14] Production.INFO: call_cost start
[2025-01-07 09:38:14] Production.INFO: call_cost end
[2025-01-07 09:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:38:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:38:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:38:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:38:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:38:15] Production.INFO: ==27193== Releasing lock...
[2025-01-07 09:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:38:21] Production.INFO: count ==1443
[2025-01-07 09:38:22] Production.ERROR: pbx CDR StartTime 2025-01-07 06:38:05 - End Time 2025-01-07 09:38:05
[2025-01-07 09:38:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:38:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194033', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:38:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194033', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:38:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194033', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:38:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194033', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:38:22] Production.INFO: ProcessCDR(1,14194033,1,1,2)
[2025-01-07 09:38:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194033,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:38:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194033,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:38:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194033,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:38:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194033,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:38:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194033', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:38:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194033', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:38:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:38:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:38:27] Production.INFO: ==27201== Releasing lock...
[2025-01-07 09:38:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:38:27] Production.INFO: 39.5 MB #Memory Used#
[2025-01-07 14:39:01] Production.INFO: ==27260== Lock acquired, processing the job...
[2025-01-07 14:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:39:01] Production.INFO: neon service started
[2025-01-07 14:39:01] Production.INFO: neon service started
[2025-01-07 14:39:01] Production.INFO: ==27260== Releasing lock...
[2025-01-07 14:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 14:39:01] Production.INFO: ==27264== Lock acquired, processing the job...
[2025-01-07 14:39:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:39:01] Production.INFO: ==27264== Releasing lock...
[2025-01-07 14:39:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:39:01] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:39:02] Production.INFO: ==27262== Lock acquired, processing the job...
[2025-01-07 09:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:39:02] Production.INFO: ==27262== Releasing lock...
[2025-01-07 09:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:39:03] Production.INFO: ==27267== Lock acquired, processing the job...
[2025-01-07 09:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:39:03] Production.INFO: ==27271== Lock acquired, processing the job...
[2025-01-07 09:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:39:03] Production.INFO: ==27275== Lock acquired, processing the job...
[2025-01-07 09:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:39:03] Production.INFO: ==27269== Lock acquired, processing the job...
[2025-01-07 09:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:39:03] Production.INFO: ==27273== Lock acquired, processing the job...
[2025-01-07 09:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:39:03] Production.INFO: Account Balance Start.
[2025-01-07 09:39:03] Production.INFO: CreateAllLog Start
[2025-01-07 09:39:03] Production.INFO: 117
[2025-01-07 09:39:03] Production.INFO: Date 2024-12-08
[2025-01-07 09:39:03] Production.INFO: ==27277== Lock acquired, processing the job...
[2025-01-07 09:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:39:03] Production.ERROR: done
[2025-01-07 09:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:39:03] Production.INFO: Date 2024-12-09
[2025-01-07 09:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:39:03] Production.INFO: Date 2024-12-10
[2025-01-07 09:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 09:39:03] Production.INFO: count ==21
[2025-01-07 09:39:03] Production.INFO: Date 2024-12-11
[2025-01-07 09:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:39:03] Production.INFO: count ==21
[2025-01-07 09:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:39:03] Production.INFO: ==27269== Releasing lock...
[2025-01-07 09:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194037') start
[2025-01-07 09:39:03] Production.INFO: Date 2024-12-12
[2025-01-07 09:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:39:03] Production.INFO: Date 2024-12-13
[2025-01-07 09:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194037') end
[2025-01-07 09:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:39:04] Production.INFO: 1
[2025-01-07 09:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:39:04] Production.ERROR: done
[2025-01-07 09:39:04] Production.INFO: Date 2024-12-14
[2025-01-07 09:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:39:04] Production.INFO: ==27277== Releasing lock...
[2025-01-07 09:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:39:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:39:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:39:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:39:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:39:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:39:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:39:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:39:04] Production.INFO: Date 2024-12-22
[2025-01-07 09:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:39:04] Production.INFO: Date 2024-12-23
[2025-01-07 09:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:39:04] Production.INFO: Date 2024-12-24
[2025-01-07 09:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:39:04] Production.INFO: Date 2024-12-25
[2025-01-07 09:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:39:04] Production.INFO: Date 2024-12-26
[2025-01-07 09:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:39:04] Production.INFO: Date 2024-12-27
[2025-01-07 09:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:39:04] Production.INFO: Date 2024-12-28
[2025-01-07 09:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:39:04] Production.INFO: Date 2024-12-29
[2025-01-07 09:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:39:04] Production.INFO: Date 2024-12-30
[2025-01-07 09:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:39:04] Production.INFO: Date 2024-12-31
[2025-01-07 09:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:39:04] Production.INFO: Date 2025-01-01
[2025-01-07 09:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:39:04] Production.INFO: Date 2025-01-02
[2025-01-07 09:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:39:04] Production.INFO: Date 2025-01-03
[2025-01-07 09:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:39:04] Production.INFO: Date 2025-01-04
[2025-01-07 09:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:39:04] Production.INFO: Date 2025-01-05
[2025-01-07 09:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:39:04] Production.INFO: Date 2025-01-06
[2025-01-07 09:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:39:04] Production.INFO: Date 2025-01-07
[2025-01-07 09:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:39:04] Production.INFO: Total Charge 0
[2025-01-07 09:39:04] Production.INFO: CreateAllLog End
[2025-01-07 09:39:05] Production.INFO: Account Balance End.
[2025-01-07 09:39:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:39:05] Production.INFO: ==27273== Releasing lock...
[2025-01-07 09:39:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:39:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:39:05
[end_date_ymd] => 2025-01-07 09:39:05
[RateCDR] => 1
)
[2025-01-07 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-07 06:39:05' and `end` < '2025-01-07 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-07 09:39:11] Production.ERROR: CronJobId end10
[2025-01-07 09:39:11] Production.INFO: ==27271== Releasing lock...
[2025-01-07 09:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:39:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:39:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:39:13] Production.INFO: call_cost start
[2025-01-07 09:39:13] Production.INFO: call_cost end
[2025-01-07 09:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:39:14] Production.INFO: ==27267== Releasing lock...
[2025-01-07 09:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:39:20] Production.INFO: count ==1456
[2025-01-07 09:39:21] Production.ERROR: pbx CDR StartTime 2025-01-07 06:39:05 - End Time 2025-01-07 09:39:05
[2025-01-07 09:39:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194038', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194038', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194038', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194038', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:39:21] Production.INFO: ProcessCDR(1,14194038,1,1,2)
[2025-01-07 09:39:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194038,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:39:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194038,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:39:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194038,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:39:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194038,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:39:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194038', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:39:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194038', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:39:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:39:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:39:26] Production.INFO: ==27275== Releasing lock...
[2025-01-07 09:39:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:39:26] Production.INFO: 39 MB #Memory Used#
[2025-01-07 14:40:02] Production.INFO: ==27335== Lock acquired, processing the job...
[2025-01-07 14:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:40:02] Production.INFO: neon service started
[2025-01-07 14:40:02] Production.INFO: neon service started
[2025-01-07 14:40:02] Production.INFO: ==27335== Releasing lock...
[2025-01-07 14:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:40:02] Production.INFO: ==27337== Lock acquired, processing the job...
[2025-01-07 09:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 14:40:02] Production.INFO: ==27339== Lock acquired, processing the job...
[2025-01-07 14:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:40:02] Production.INFO: ==27339== Releasing lock...
[2025-01-07 14:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:40:02] Production.INFO: ==27337== Releasing lock...
[2025-01-07 09:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:40:03] Production.INFO: ==27348== Lock acquired, processing the job...
[2025-01-07 09:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:40:04] Production.INFO: ==27352== Lock acquired, processing the job...
[2025-01-07 09:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:40:04] Production.INFO: ==27358== Lock acquired, processing the job...
[2025-01-07 09:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:40:04] Production.INFO: Account Balance Start.
[2025-01-07 09:40:04] Production.INFO: CreateAllLog Start
[2025-01-07 09:40:04] Production.INFO: 117
[2025-01-07 09:40:04] Production.INFO: Date 2024-12-08
[2025-01-07 09:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:40:04] Production.INFO: ==27342== Lock acquired, processing the job...
[2025-01-07 09:40:04] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10495 #Starts#
[2025-01-07 09:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:40:04] Production.INFO: Date 2024-12-09
[2025-01-07 09:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:40:04] Production.INFO: count ==21
[2025-01-07 09:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:40:04] Production.INFO: count ==21
[2025-01-07 09:40:04] Production.INFO: Date 2024-12-10
[2025-01-07 09:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:40:04] Production.INFO: -- Xero Api Check --
[2025-01-07 09:40:04] Production.INFO: Date 2024-12-11
[2025-01-07 09:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194041') start
[2025-01-07 09:40:04] Production.INFO: ==27344== Lock acquired, processing the job...
[2025-01-07 09:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 09:40:04] Production.INFO: Date 2024-12-12
[2025-01-07 09:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:40:04] Production.INFO: ==27348== Releasing lock...
[2025-01-07 09:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:40:04] Production.INFO: Date 2024-12-13
[2025-01-07 09:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 09:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 09:40:04] Production.ERROR: CronJob PID - 27352
[2025-01-07 09:40:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-07 09:40:04] Production.ERROR: CronJob ID - 12
[2025-01-07 09:40:04] Production.ERROR: CronJob Last Run Time 2025-01-07 09:40:00
[2025-01-07 09:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 09:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 09:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 09:40:04] Production.ERROR: CronJob PID - 27358
[2025-01-07 09:40:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-07 09:40:04] Production.ERROR: CronJob ID - 19
[2025-01-07 09:40:04] Production.ERROR: CronJob Last Run Time 2025-01-07 09:40:00
[2025-01-07 09:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 09:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 09:40:04] Production.INFO: Date 2024-12-14
[2025-01-07 09:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:40:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:40:04] Production.INFO: ==27346== Lock acquired, processing the job...
[2025-01-07 09:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 09:40:04] Production.INFO: ==27344== Releasing lock...
[2025-01-07 09:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 09:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 09:40:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:40:04] Production.INFO: ==27350== Lock acquired, processing the job...
[2025-01-07 09:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:40:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194041') end
[2025-01-07 09:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:40:04] Production.INFO: 1
[2025-01-07 09:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:40:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:40:04] Production.INFO: ==27358== Releasing lock...
[2025-01-07 09:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:40:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:40:04] Production.INFO: ==27354== Lock acquired, processing the job...
[2025-01-07 09:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:40:04] Production.INFO: ==27356== Lock acquired, processing the job...
[2025-01-07 09:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 09:40:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:40:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:40:04] Production.INFO: Date 2024-12-22
[2025-01-07 09:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:40:04] Production.INFO: Date 2024-12-23
[2025-01-07 09:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:40:04] Production.INFO: Date 2024-12-24
[2025-01-07 09:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:40:04] Production.INFO: Date 2024-12-25
[2025-01-07 09:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:40:05] Production.ERROR: done
[2025-01-07 09:40:05] Production.INFO: Date 2024-12-26
[2025-01-07 09:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:40:05] Production.ERROR: done
[2025-01-07 09:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:40:05] Production.INFO: Date 2024-12-27
[2025-01-07 09:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 09:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14194043', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 09:40:05] Production.INFO: Date 2024-12-28
[2025-01-07 09:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:40:05] Production.ERROR: done
[2025-01-07 09:40:05] Production.INFO: Date 2024-12-29
[2025-01-07 09:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:40:05] Production.INFO: Date 2024-12-30
[2025-01-07 09:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:40:05] Production.INFO: Date 2024-12-31
[2025-01-07 09:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:40:05] Production.INFO: Date 2025-01-01
[2025-01-07 09:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:40:05] Production.INFO: Date 2025-01-02
[2025-01-07 09:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:40:05] Production.INFO: Date 2025-01-03
[2025-01-07 09:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:40:05] Production.INFO: Date 2025-01-04
[2025-01-07 09:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:40:05] Production.INFO: Date 2025-01-05
[2025-01-07 09:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:40:05] Production.INFO: Date 2025-01-06
[2025-01-07 09:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:40:05] Production.INFO: Date 2025-01-07
[2025-01-07 09:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:40:05] Production.INFO: Total Charge 0
[2025-01-07 09:40:05] Production.INFO: CreateAllLog End
[2025-01-07 09:40:05] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 856
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 1.395194
[namelookup_time] => 0.288142
[connect_time] => 0.372355
[pretransfer_time] => 0.765056
[size_upload] => 82
[size_download] => 2755
[speed_download] => 1974
[speed_upload] => 58
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 1.395153
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 2.22.251.19
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 39794
)
[2025-01-07 09:40:05] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNjA4MDUsImV4cCI6MTczNjI2MTEwNSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjYwODA1LCJhdF9oYXNoIjoiVGZCVVVVMFAtZUl4WUxuN2hNb2ttdyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.EOuPh22_nPSIaG7OfzefqBTINJsxbQziOTJKNOGPq48CqMVOhIYUAl9elul8nU8KtLfN8QEug_jhpDvtFrwIT965NQHuZv3eJ2Br00CWVuUnvUyvwV6R9hhreAkoSAo9MonXYWIzyjoyTB1tjqRgAU1JOoBYLe8izJ1YX86f4o5VnUyCXsecTIDJE3tzWHkzy0mdK7Ll-8wlc1Vd213CloeGnl4QO2t1q0XMer9RpyzWmAO2_4J45DCWuo1JozTmV-tQZTlUaZQ05XknsA5alr-nO-oLlc2l-4gRFB2qZbZeaQD8Hz6CAuyHlShRCziMnUy5gMZnNNZ2jzV94xmqSw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNjA4MDUsImV4cCI6MTczNjI2MjYwNSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.RdmH9YSzUyQHesepHk9rvTQySEcFOaIEUcTabdX7u50PvwD0l4VW40euKAvLvIZ5KYkNJdf32qrwjH0pf6i9dEAdBhxzfT7DeaXn2NJ_D98C_Vfz0FbUDG2y7OqEVo8zXxvFATYsb2yZHVLLEKN-eVY8SLD30P5GhHIuZx2P32oyfpUrM9j7ZPdxzx92aY8hY7iSB4SFZ9btagsrgsX3lDZISvFXez0P4hjRYR32orMxgJtAZJAkSvKs6YHNGAth6FR1PKAgKv9DXrRviNM52hCodjNI7SOSzK7PJdBhe_WAdlt3_qz14v8y94PIJlQnB2LKa-aqgG-PR5TFjp0QzA
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => gjYyzuwBrDYJeMVCwAWduPgoC-eAVELIm4DMM8j142g
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 09:40:05] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNjA4MDUsImV4cCI6MTczNjI2MTEwNSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjYwODA1LCJhdF9oYXNoIjoiVGZCVVVVMFAtZUl4WUxuN2hNb2ttdyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.EOuPh22_nPSIaG7OfzefqBTINJsxbQziOTJKNOGPq48CqMVOhIYUAl9elul8nU8KtLfN8QEug_jhpDvtFrwIT965NQHuZv3eJ2Br00CWVuUnvUyvwV6R9hhreAkoSAo9MonXYWIzyjoyTB1tjqRgAU1JOoBYLe8izJ1YX86f4o5VnUyCXsecTIDJE3tzWHkzy0mdK7Ll-8wlc1Vd213CloeGnl4QO2t1q0XMer9RpyzWmAO2_4J45DCWuo1JozTmV-tQZTlUaZQ05XknsA5alr-nO-oLlc2l-4gRFB2qZbZeaQD8Hz6CAuyHlShRCziMnUy5gMZnNNZ2jzV94xmqSw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNjA4MDUsImV4cCI6MTczNjI2MjYwNSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.RdmH9YSzUyQHesepHk9rvTQySEcFOaIEUcTabdX7u50PvwD0l4VW40euKAvLvIZ5KYkNJdf32qrwjH0pf6i9dEAdBhxzfT7DeaXn2NJ_D98C_Vfz0FbUDG2y7OqEVo8zXxvFATYsb2yZHVLLEKN-eVY8SLD30P5GhHIuZx2P32oyfpUrM9j7ZPdxzx92aY8hY7iSB4SFZ9btagsrgsX3lDZISvFXez0P4hjRYR32orMxgJtAZJAkSvKs6YHNGAth6FR1PKAgKv9DXrRviNM52hCodjNI7SOSzK7PJdBhe_WAdlt3_qz14v8y94PIJlQnB2LKa-aqgG-PR5TFjp0QzA
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => gjYyzuwBrDYJeMVCwAWduPgoC-eAVELIm4DMM8j142g
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 09:40:05] Production.INFO: AccountID 243
[2025-01-07 09:40:05] Production.INFO: AccountName Bio-Ag Consultants & Distributors Inc.
[2025-01-07 09:40:05] Production.INFO: Checkcustomer
[2025-01-07 09:40:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Bio-Ag%20Consultants%20%26%20Distributors%20Inc."
[2025-01-07 09:40:05] Production.INFO: Account Balance End.
[2025-01-07 09:40:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:40:05] Production.INFO: ==27352== Releasing lock...
[2025-01-07 09:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:40:06
[end_date_ymd] => 2025-01-07 09:40:06
[RateCDR] => 1
)
[2025-01-07 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-07 06:40:06' and `end` < '2025-01-07 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-07 09:40:09] Production.INFO: Contact id print CheckCustomer Case===d07f68ac-89bd-4e73-ae6e-c60c05b83dae
[2025-01-07 09:40:09] Production.INFO: -- count --1
[2025-01-07 09:40:09] Production.INFO: -- Xero Add Inovice --
[2025-01-07 09:40:09] Production.INFO: CheckInvoice xerov2: INV10862
[2025-01-07 09:40:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10862
[2025-01-07 09:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14194043', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 09:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 09:40:09] Production.INFO: ProcessCDR(1,14194043,1,1,2)
[2025-01-07 09:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14194043,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14194043,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:40:09] Production.INFO: ==27356== Releasing lock...
[2025-01-07 09:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 09:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-07 09:40:11] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 09:40:11] Production.INFO: ========================== Exception occured =============================
[2025-01-07 09:40:11] Production.ERROR: exception 'ErrorException' with message 'Undefined offset: 48' in /var/www/html/onswitch.neon.service/app/lib/XeroV2.php:0
Stack trace:
#0 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined offse...', '/var/www/html/o...', 0, Array)
#1 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->GetInvoiceData()
#2 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->CreateInvoice()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/XeroInvoicePostV2.php(0): App\Lib\XeroV2->addInvoices()
#4 [internal function]: App\Console\Commands\XeroInvoicePostV2->fire()
#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\XeroInvoicePostV2), 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-07 09:40:11] Production.INFO: ========================== Exception updated in job and email sent =============================
[2025-01-07 09:40:11] Production.INFO: ==27342== Releasing lock...
[2025-01-07 09:40:11] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10495 #Stops#
[2025-01-07 09:40:11] Production.INFO: 27.5 MB #Memory Used#
[2025-01-07 09:40:14] Production.ERROR: CronJobId end10
[2025-01-07 09:40:14] Production.INFO: ==27350== Releasing lock...
[2025-01-07 09:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:40:16] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:40:16] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:40:16] Production.INFO: call_cost start
[2025-01-07 09:40:16] Production.INFO: call_cost end
[2025-01-07 09:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:40:17] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:40:17] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:40:17] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:40:17] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:40:17] Production.INFO: ==27346== Releasing lock...
[2025-01-07 09:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:40:23] Production.INFO: count ==1498
[2025-01-07 09:40:24] Production.ERROR: pbx CDR StartTime 2025-01-07 06:40:06 - End Time 2025-01-07 09:40:06
[2025-01-07 09:40:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:40:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194044', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:40:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194044', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:40:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194044', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:40:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194044', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:40:24] Production.INFO: ProcessCDR(1,14194044,1,1,2)
[2025-01-07 09:40:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194044,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:40:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194044,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:40:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194044,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:40:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194044,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:40:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194044', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:40:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194044', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:40:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:40:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:40:28] Production.INFO: ==27354== Releasing lock...
[2025-01-07 09:40:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:40:28] Production.INFO: 39.25 MB #Memory Used#
[2025-01-07 14:41:01] Production.INFO: ==27418== Lock acquired, processing the job...
[2025-01-07 14:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:41:01] Production.INFO: neon service started
[2025-01-07 14:41:01] Production.INFO: neon service started
[2025-01-07 14:41:01] Production.INFO: ==27418== Releasing lock...
[2025-01-07 14:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:41:01] Production.INFO: ==27421== Lock acquired, processing the job...
[2025-01-07 09:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 14:41:02] Production.INFO: ==27423== Lock acquired, processing the job...
[2025-01-07 14:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:41:02] Production.INFO: ==27421== Releasing lock...
[2025-01-07 09:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 14:41:02] Production.INFO: ==27423== Releasing lock...
[2025-01-07 14:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:41:03] Production.INFO: ==27425== Lock acquired, processing the job...
[2025-01-07 09:41:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10496 #Starts#
[2025-01-07 09:41:03] Production.INFO: -- Xero Api Check --
[2025-01-07 09:41:03] Production.INFO: ==27427== Lock acquired, processing the job...
[2025-01-07 09:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:41:03] Production.INFO: ==27429== Lock acquired, processing the job...
[2025-01-07 09:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:41:03] Production.INFO: ==27435== Lock acquired, processing the job...
[2025-01-07 09:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:41:03] Production.INFO: ==27431== Lock acquired, processing the job...
[2025-01-07 09:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:41:03] Production.INFO: ==27433== Lock acquired, processing the job...
[2025-01-07 09:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:41:03] Production.INFO: ==27438== Lock acquired, processing the job...
[2025-01-07 09:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:41:03] Production.INFO: Account Balance Start.
[2025-01-07 09:41:03] Production.INFO: CreateAllLog Start
[2025-01-07 09:41:03] Production.INFO: 117
[2025-01-07 09:41:03] Production.INFO: Date 2024-12-08
[2025-01-07 09:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 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-07 09:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:41:03] Production.INFO: count ==21
[2025-01-07 09:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:41:03] Production.ERROR: done
[2025-01-07 09:41:03] Production.INFO: count ==21
[2025-01-07 09:41:03] Production.INFO: ==27429== Releasing lock...
[2025-01-07 09:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194048') start
[2025-01-07 09:41:03] Production.INFO: Date 2024-12-09
[2025-01-07 09:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:41:03] Production.INFO: Date 2024-12-10
[2025-01-07 09:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:41:03] Production.INFO: Date 2024-12-11
[2025-01-07 09:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194048') end
[2025-01-07 09:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:41:03] Production.INFO: 1
[2025-01-07 09:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:41:03] Production.INFO: Date 2024-12-12
[2025-01-07 09:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:41:03] Production.ERROR: done
[2025-01-07 09:41:03] Production.INFO: ==27438== Releasing lock...
[2025-01-07 09:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:41:03] Production.INFO: Date 2024-12-13
[2025-01-07 09:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:41:03] Production.INFO: Date 2024-12-14
[2025-01-07 09:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:41:03] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 857
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.79365
[namelookup_time] => 0.271677
[connect_time] => 0.272829
[pretransfer_time] => 0.436231
[size_upload] => 82
[size_download] => 2755
[speed_download] => 3471
[speed_upload] => 103
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.793621
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.17
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 45556
)
[2025-01-07 09:41:03] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNjA4NjMsImV4cCI6MTczNjI2MTE2MywiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjYwODYzLCJhdF9oYXNoIjoiSTNIeXJ4Xzhfa2NTTFpDSmwwdE9PUSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.YKj0tJwMuJyzPokXxj3kZ-8zCZq4_i42cJwOon4eEJupyFpEUM6x2fdpkptQZfWMZgkuxB2vbQBfXArXUj1F4vSp-DYRVeqLoNnUV2ZyXe-Lc9iwt4O853_-CWgYXlpDdjchelMD3wdzWMcAVWzzPgCllvrHkZK5nAplK-USlL_5HGNUH5ZnttwrYpkdPaXb3wEEwvoiBFPH6qFycGwChX-w9He5tQqnVmJVjlyOA0mTD9xGJAQWkTFQ2xHJ_4YazVOwRXOPBlw_3WVa8daivSog63ZpE-6teZGndNgKpMj4pKcbE_uYfo32LnaGx0nZw-7uITQOOtL5Xy6XSxKhSg
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNjA4NjMsImV4cCI6MTczNjI2MjY2MywiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.c2PJUS6GgRK8yNykuTUQYuZCXzqTnBCh7ynI17T3gI-_W-YSTlAtik443VDUCEcpdYwdJUiUSk0ZXqv89Rm7UKyAmD-_oM3pD7iiDgVY8ZoxRvnAx-0nYrqfzBP6bIC_bhObV_h8PGLiXtjyMzqY-ouoEsKR2lZNAwVnJgg-39MyRu8VuQGVBwSuX_bWxabihnZHKnJ-KLBind61ETKjPEO9sKDWEYKF6E2XL2YsUDwyGOodVyRSyXDnXY8kO0dI_j5g9tsCFEYWpZ9V7KHOV9S6CkoODT9MqA1GekQ4wsU_RjYaR-D_4BI-W3t7NIUIKruZCGcjwRGfYZ_M5YHaQA
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => 7cOCHYVvoIp8Nk9n2hNh-TxbO9Qx1EkwwUKIvQL81fg
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 09:41:03] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNjA4NjMsImV4cCI6MTczNjI2MTE2MywiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjYwODYzLCJhdF9oYXNoIjoiSTNIeXJ4Xzhfa2NTTFpDSmwwdE9PUSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.YKj0tJwMuJyzPokXxj3kZ-8zCZq4_i42cJwOon4eEJupyFpEUM6x2fdpkptQZfWMZgkuxB2vbQBfXArXUj1F4vSp-DYRVeqLoNnUV2ZyXe-Lc9iwt4O853_-CWgYXlpDdjchelMD3wdzWMcAVWzzPgCllvrHkZK5nAplK-USlL_5HGNUH5ZnttwrYpkdPaXb3wEEwvoiBFPH6qFycGwChX-w9He5tQqnVmJVjlyOA0mTD9xGJAQWkTFQ2xHJ_4YazVOwRXOPBlw_3WVa8daivSog63ZpE-6teZGndNgKpMj4pKcbE_uYfo32LnaGx0nZw-7uITQOOtL5Xy6XSxKhSg
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNjA4NjMsImV4cCI6MTczNjI2MjY2MywiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.c2PJUS6GgRK8yNykuTUQYuZCXzqTnBCh7ynI17T3gI-_W-YSTlAtik443VDUCEcpdYwdJUiUSk0ZXqv89Rm7UKyAmD-_oM3pD7iiDgVY8ZoxRvnAx-0nYrqfzBP6bIC_bhObV_h8PGLiXtjyMzqY-ouoEsKR2lZNAwVnJgg-39MyRu8VuQGVBwSuX_bWxabihnZHKnJ-KLBind61ETKjPEO9sKDWEYKF6E2XL2YsUDwyGOodVyRSyXDnXY8kO0dI_j5g9tsCFEYWpZ9V7KHOV9S6CkoODT9MqA1GekQ4wsU_RjYaR-D_4BI-W3t7NIUIKruZCGcjwRGfYZ_M5YHaQA
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => 7cOCHYVvoIp8Nk9n2hNh-TxbO9Qx1EkwwUKIvQL81fg
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 09:41:04] Production.INFO: AccountID 232
[2025-01-07 09:41:04] Production.INFO: AccountName Jenopher Inc.
[2025-01-07 09:41:04] Production.INFO: Checkcustomer
[2025-01-07 09:41:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Jenopher%20Inc."
[2025-01-07 09:41:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:41:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:41:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:41:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:41:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:41:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:41:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:41:04] Production.INFO: Date 2024-12-22
[2025-01-07 09:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:41:04] Production.INFO: Date 2024-12-23
[2025-01-07 09:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:41:04] Production.INFO: Date 2024-12-24
[2025-01-07 09:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:41:04] Production.INFO: Date 2024-12-25
[2025-01-07 09:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:41:04] Production.INFO: Date 2024-12-26
[2025-01-07 09:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:41:04] Production.INFO: Date 2024-12-27
[2025-01-07 09:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:41:04] Production.INFO: Date 2024-12-28
[2025-01-07 09:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:41:04] Production.INFO: Date 2024-12-29
[2025-01-07 09:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:41:04] Production.INFO: Date 2024-12-30
[2025-01-07 09:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:41:04] Production.INFO: Date 2024-12-31
[2025-01-07 09:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:41:04] Production.INFO: Date 2025-01-01
[2025-01-07 09:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:41:04] Production.INFO: Date 2025-01-02
[2025-01-07 09:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:41:04] Production.INFO: Date 2025-01-03
[2025-01-07 09:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:41:04] Production.INFO: Date 2025-01-04
[2025-01-07 09:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:41:04] Production.INFO: Date 2025-01-05
[2025-01-07 09:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:41:04] Production.INFO: Date 2025-01-06
[2025-01-07 09:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:41:04] Production.INFO: Date 2025-01-07
[2025-01-07 09:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:41:04] Production.INFO: Total Charge 0
[2025-01-07 09:41:04] Production.INFO: CreateAllLog End
[2025-01-07 09:41:04] Production.INFO: Account Balance End.
[2025-01-07 09:41:04] Production.ERROR: CronJobId end 12
[2025-01-07 09:41:04] Production.INFO: ==27433== Releasing lock...
[2025-01-07 09:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:41:05
[end_date_ymd] => 2025-01-07 09:41:05
[RateCDR] => 1
)
[2025-01-07 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-07 06:41:05' and `end` < '2025-01-07 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-07 09:41:07] Production.INFO: Contact id print CheckCustomer Case===5fa26058-5c6f-4ffe-9c35-4f8d77ccf359
[2025-01-07 09:41:07] Production.INFO: -- count --1
[2025-01-07 09:41:07] Production.INFO: -- Xero Add Inovice --
[2025-01-07 09:41:07] Production.INFO: CheckInvoice xerov2: INV10678
[2025-01-07 09:41:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10678
[2025-01-07 09:41:09] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 09:41:09] Production.INFO: ========================== Exception occured =============================
[2025-01-07 09:41:09] Production.ERROR: exception 'ErrorException' with message 'Undefined offset: 88' in /var/www/html/onswitch.neon.service/app/lib/XeroV2.php:0
Stack trace:
#0 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined offse...', '/var/www/html/o...', 0, Array)
#1 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->GetInvoiceData()
#2 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->CreateInvoice()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/XeroInvoicePostV2.php(0): App\Lib\XeroV2->addInvoices()
#4 [internal function]: App\Console\Commands\XeroInvoicePostV2->fire()
#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\XeroInvoicePostV2), 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-07 09:41:09] Production.INFO: ========================== Exception updated in job and email sent =============================
[2025-01-07 09:41:09] Production.INFO: ==27425== Releasing lock...
[2025-01-07 09:41:09] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10496 #Stops#
[2025-01-07 09:41:09] Production.INFO: 27.5 MB #Memory Used#
[2025-01-07 09:41:12] Production.ERROR: CronJobId end10
[2025-01-07 09:41:12] Production.INFO: ==27431== Releasing lock...
[2025-01-07 09:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:41:13] Production.INFO: call_cost start
[2025-01-07 09:41:13] Production.INFO: call_cost end
[2025-01-07 09:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:41:14] Production.INFO: ==27427== Releasing lock...
[2025-01-07 09:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:41:23] Production.INFO: count ==1554
[2025-01-07 09:41:24] Production.ERROR: pbx CDR StartTime 2025-01-07 06:41:05 - End Time 2025-01-07 09:41:05
[2025-01-07 09:41:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:41:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194049', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:41:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194049', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:41:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194049', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:41:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194049', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:41:24] Production.INFO: ProcessCDR(1,14194049,1,1,2)
[2025-01-07 09:41:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194049,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:41:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194049,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:41:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194049,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:41:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194049,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:41:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194049', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:41:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194049', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:41:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:41:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:41:27] Production.INFO: ==27435== Releasing lock...
[2025-01-07 09:41:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:41:27] Production.INFO: 40 MB #Memory Used#
[2025-01-07 14:42:02] Production.INFO: ==27496== Lock acquired, processing the job...
[2025-01-07 14:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:42:02] Production.INFO: neon service started
[2025-01-07 14:42:02] Production.INFO: neon service started
[2025-01-07 14:42:02] Production.INFO: ==27496== Releasing lock...
[2025-01-07 14:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:42:02] Production.INFO: ==27498== Lock acquired, processing the job...
[2025-01-07 09:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 14:42:02] Production.INFO: ==27500== Lock acquired, processing the job...
[2025-01-07 14:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:42:02] Production.INFO: ==27500== Releasing lock...
[2025-01-07 14:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:42:02] Production.INFO: ==27498== Releasing lock...
[2025-01-07 09:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:42:03] Production.INFO: ==27502== Lock acquired, processing the job...
[2025-01-07 09:42:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10497 #Starts#
[2025-01-07 09:42:03] Production.INFO: -- Xero Api Check --
[2025-01-07 09:42:03] Production.INFO: ==27504== Lock acquired, processing the job...
[2025-01-07 09:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:42:03] Production.INFO: ==27506== Lock acquired, processing the job...
[2025-01-07 09:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:42:03] Production.INFO: ==27510== Lock acquired, processing the job...
[2025-01-07 09:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:42:03] Production.INFO: ==27508== Lock acquired, processing the job...
[2025-01-07 09:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:42:04] Production.INFO: ==27512== Lock acquired, processing the job...
[2025-01-07 09:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:42:04] Production.INFO: ==27515== Lock acquired, processing the job...
[2025-01-07 09:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:42:04] Production.INFO: Account Balance Start.
[2025-01-07 09:42:04] Production.INFO: CreateAllLog Start
[2025-01-07 09:42:04] Production.INFO: 117
[2025-01-07 09:42:04] Production.INFO: Date 2024-12-08
[2025-01-07 09:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 09:42:04] Production.INFO: count ==21
[2025-01-07 09:42:04] Production.INFO: Date 2024-12-09
[2025-01-07 09:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 09:42:04] Production.INFO: count ==21
[2025-01-07 09:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194053') start
[2025-01-07 09:42:04] Production.INFO: ==27506== Releasing lock...
[2025-01-07 09:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:42:04] Production.INFO: Date 2024-12-10
[2025-01-07 09:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194053') end
[2025-01-07 09:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:42:04] Production.INFO: 1
[2025-01-07 09:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:42:04] Production.INFO: ==27515== Releasing lock...
[2025-01-07 09:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:42:04] Production.ERROR: done
[2025-01-07 09:42:04] Production.INFO: Date 2024-12-11
[2025-01-07 09:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:42:04] Production.INFO: Date 2024-12-12
[2025-01-07 09:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:42: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] => 856
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.835868
[namelookup_time] => 0.269425
[connect_time] => 0.280382
[pretransfer_time] => 0.496561
[size_upload] => 82
[size_download] => 2755
[speed_download] => 3295
[speed_upload] => 98
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.835834
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.17
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 45566
)
[2025-01-07 09:42:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNjA5MjQsImV4cCI6MTczNjI2MTIyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjYwOTI0LCJhdF9oYXNoIjoiM2h0TnBjWHVzQTNYZi1Say04WU95QSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.ALY85WF3PfikiqycfRESOcGgul9K_IfyxA9pIBtii3-ffwDGm4EMEiHgzY330Thr9msszUaBB7uT-4RyLhGqwy7sgYfM2wAzmEzmnth8iPxmHezPvZcAD2icVP_b6by-7l_UKTwz_JzmE9jh-K2jqfdwigI7Z6QuZYx8T9U-smR68gbt7lC9twkUL9uQzcR1fPuXNBTb1yPh4CuRcsm7BatiGFLJYmGZlYcrE8ZlJlwf4x0llVX183emokb6WyMqnnb2ZQ1ZNKyG43_2O77UVU1ye0YP-NFBsnxcwo9bCvSUh47tFTZW8W0IBeJPiJdnn2ntkpXbsrQamOOATeCAXA
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNjA5MjQsImV4cCI6MTczNjI2MjcyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.IkOUZfy4BsmWmRQGz6neo_Y9HjJGRhqsaM-GtceOMj7VpKPw4cc0GMSuIOAtSNYEncKCfa75Sx6KRQVXJaS1vLR0jt293i1jz16Up1swy7o5e4iD5-Fv1vL3chOq4D71V9s0DDnAgYYSR_pV3jWDbxKDlRJlN0gUAd-AJRjGTogzZw5FHu4MTZEEwSoK1YflrDZ1jijS6baA-K4FdIHHM_QB9ult_-gCi3XWUjGdJspFT_KhO06l-qxk1mKiEFg6BhFY3WJvVKmHiaC0ihP6iTCVWAcIBx2H14FWtl2KsJ8eFQ6jp5vhOGJ5ngVhU3loArdiv0M_LGBRMFk1A_5ZvA
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => 5pCyA8SGcz8ue5SUIKgx52K6fOrkXUHJBWEayU77WGM
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 09:42:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNjA5MjQsImV4cCI6MTczNjI2MTIyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjYwOTI0LCJhdF9oYXNoIjoiM2h0TnBjWHVzQTNYZi1Say04WU95QSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.ALY85WF3PfikiqycfRESOcGgul9K_IfyxA9pIBtii3-ffwDGm4EMEiHgzY330Thr9msszUaBB7uT-4RyLhGqwy7sgYfM2wAzmEzmnth8iPxmHezPvZcAD2icVP_b6by-7l_UKTwz_JzmE9jh-K2jqfdwigI7Z6QuZYx8T9U-smR68gbt7lC9twkUL9uQzcR1fPuXNBTb1yPh4CuRcsm7BatiGFLJYmGZlYcrE8ZlJlwf4x0llVX183emokb6WyMqnnb2ZQ1ZNKyG43_2O77UVU1ye0YP-NFBsnxcwo9bCvSUh47tFTZW8W0IBeJPiJdnn2ntkpXbsrQamOOATeCAXA
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNjA5MjQsImV4cCI6MTczNjI2MjcyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.IkOUZfy4BsmWmRQGz6neo_Y9HjJGRhqsaM-GtceOMj7VpKPw4cc0GMSuIOAtSNYEncKCfa75Sx6KRQVXJaS1vLR0jt293i1jz16Up1swy7o5e4iD5-Fv1vL3chOq4D71V9s0DDnAgYYSR_pV3jWDbxKDlRJlN0gUAd-AJRjGTogzZw5FHu4MTZEEwSoK1YflrDZ1jijS6baA-K4FdIHHM_QB9ult_-gCi3XWUjGdJspFT_KhO06l-qxk1mKiEFg6BhFY3WJvVKmHiaC0ihP6iTCVWAcIBx2H14FWtl2KsJ8eFQ6jp5vhOGJ5ngVhU3loArdiv0M_LGBRMFk1A_5ZvA
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => 5pCyA8SGcz8ue5SUIKgx52K6fOrkXUHJBWEayU77WGM
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 09:42:04] Production.ERROR: done
[2025-01-07 09:42:04] Production.INFO: AccountID 237
[2025-01-07 09:42:04] Production.INFO: Date 2024-12-13
[2025-01-07 09:42:04] Production.INFO: AccountName Natural Insect Control
[2025-01-07 09:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:42:04] Production.INFO: Checkcustomer
[2025-01-07 09:42:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Natural%20Insect%20Control"
[2025-01-07 09:42:04] Production.INFO: Date 2024-12-14
[2025-01-07 09:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:42:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:42:05] Production.INFO: Date 2024-12-16
[2025-01-07 09:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:42:05] Production.INFO: Date 2024-12-17
[2025-01-07 09:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:42:05] Production.INFO: Date 2024-12-18
[2025-01-07 09:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:42:05] Production.INFO: Date 2024-12-19
[2025-01-07 09:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:42:05] Production.INFO: Date 2024-12-20
[2025-01-07 09:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:42:05] Production.INFO: Date 2024-12-21
[2025-01-07 09:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:42:05] Production.INFO: Date 2024-12-22
[2025-01-07 09:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:42:05] Production.INFO: Date 2024-12-23
[2025-01-07 09:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:42:05] Production.INFO: Date 2024-12-24
[2025-01-07 09:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:42:05] Production.INFO: Date 2024-12-25
[2025-01-07 09:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:42:05
[end_date_ymd] => 2025-01-07 09:42:05
[RateCDR] => 1
)
[2025-01-07 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-07 06:42:05' and `end` < '2025-01-07 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-07 09:42:05] Production.INFO: Date 2024-12-26
[2025-01-07 09:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:42:05] Production.INFO: Date 2024-12-27
[2025-01-07 09:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:42:05] Production.INFO: Date 2024-12-28
[2025-01-07 09:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:42:05] Production.INFO: Date 2024-12-29
[2025-01-07 09:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:42:05] Production.INFO: Date 2024-12-30
[2025-01-07 09:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:42:05] Production.INFO: Date 2024-12-31
[2025-01-07 09:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:42:05] Production.INFO: Date 2025-01-01
[2025-01-07 09:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:42:05] Production.INFO: Date 2025-01-02
[2025-01-07 09:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:42:05] Production.INFO: Date 2025-01-03
[2025-01-07 09:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:42:05] Production.INFO: Date 2025-01-04
[2025-01-07 09:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:42:05] Production.INFO: Date 2025-01-05
[2025-01-07 09:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:42:05] Production.INFO: Date 2025-01-06
[2025-01-07 09:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:42:05] Production.INFO: Date 2025-01-07
[2025-01-07 09:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:42:05] Production.INFO: Total Charge 0
[2025-01-07 09:42:05] Production.INFO: CreateAllLog End
[2025-01-07 09:42:05] Production.INFO: Account Balance End.
[2025-01-07 09:42:06] Production.ERROR: CronJobId end 12
[2025-01-07 09:42:06] Production.INFO: ==27510== Releasing lock...
[2025-01-07 09:42:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:42:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:42:07] Production.INFO: Contact id print CheckCustomer Case===fcade0cf-7b43-4bfe-86cf-b6c9e33f1686
[2025-01-07 09:42:07] Production.INFO: -- count --1
[2025-01-07 09:42:07] Production.INFO: AccountID 237
[2025-01-07 09:42:07] Production.INFO: AccountName Natural Insect Control
[2025-01-07 09:42:07] Production.INFO: Checkcustomer
[2025-01-07 09:42:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Natural%20Insect%20Control"
[2025-01-07 09:42:10] Production.INFO: Contact id print CheckCustomer Case===fcade0cf-7b43-4bfe-86cf-b6c9e33f1686
[2025-01-07 09:42:10] Production.INFO: -- count --1
[2025-01-07 09:42:10] Production.INFO: -- Xero Add Inovice --
[2025-01-07 09:42:10] Production.INFO: CheckInvoice xerov2: INV10561
[2025-01-07 09:42:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10561
[2025-01-07 09:42:12] Production.ERROR: CronJobId end10
[2025-01-07 09:42:12] Production.INFO: ==27508== Releasing lock...
[2025-01-07 09:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:42:13] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 09:42:13] Production.INFO: ========================== Exception occured =============================
[2025-01-07 09:42:13] Production.ERROR: exception 'ErrorException' with message 'Undefined offset: 99' in /var/www/html/onswitch.neon.service/app/lib/XeroV2.php:0
Stack trace:
#0 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined offse...', '/var/www/html/o...', 0, Array)
#1 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->GetInvoiceData()
#2 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->CreateInvoice()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/XeroInvoicePostV2.php(0): App\Lib\XeroV2->addInvoices()
#4 [internal function]: App\Console\Commands\XeroInvoicePostV2->fire()
#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\XeroInvoicePostV2), 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-07 09:42:13] Production.INFO: ========================== Exception updated in job and email sent =============================
[2025-01-07 09:42:13] Production.INFO: ==27502== Releasing lock...
[2025-01-07 09:42:13] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10497 #Stops#
[2025-01-07 09:42:13] Production.INFO: 27.5 MB #Memory Used#
[2025-01-07 09:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:42:13] Production.INFO: call_cost start
[2025-01-07 09:42:13] Production.INFO: call_cost end
[2025-01-07 09:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:42:14] Production.INFO: ==27504== Releasing lock...
[2025-01-07 09:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:42:18] Production.INFO: count ==1575
[2025-01-07 09:42:19] Production.ERROR: pbx CDR StartTime 2025-01-07 06:42:05 - End Time 2025-01-07 09:42:05
[2025-01-07 09:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194054', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194054', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194054', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194054', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:42:19] Production.INFO: ProcessCDR(1,14194054,1,1,2)
[2025-01-07 09:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194054,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:42:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194054,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:42:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194054,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:42:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194054,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194054', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:42:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194054', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:42:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:42:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:42:24] Production.INFO: ==27512== Releasing lock...
[2025-01-07 09:42:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:42:24] Production.INFO: 40.25 MB #Memory Used#
[2025-01-07 14:43:01] Production.INFO: ==27571== Lock acquired, processing the job...
[2025-01-07 14:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:43:01] Production.INFO: neon service started
[2025-01-07 14:43:01] Production.INFO: neon service started
[2025-01-07 14:43:01] Production.INFO: ==27571== Releasing lock...
[2025-01-07 14:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:43:01] Production.INFO: ==27574== Lock acquired, processing the job...
[2025-01-07 09:43:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:43:02] Production.INFO: ==27574== Releasing lock...
[2025-01-07 09:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 14:43:02] Production.INFO: ==27576== Lock acquired, processing the job...
[2025-01-07 14:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:43:02] Production.INFO: ==27576== Releasing lock...
[2025-01-07 14:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:43:03] Production.INFO: ==27578== Lock acquired, processing the job...
[2025-01-07 09:43:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10498 #Starts#
[2025-01-07 09:43:03] Production.INFO: ==27580== Lock acquired, processing the job...
[2025-01-07 09:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:43:03] Production.INFO: ==27584== Lock acquired, processing the job...
[2025-01-07 09:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:43:03] Production.INFO: -- Xero Api Check --
[2025-01-07 09:43:03] Production.INFO: ==27582== Lock acquired, processing the job...
[2025-01-07 09:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:43:03] Production.INFO: ==27586== Lock acquired, processing the job...
[2025-01-07 09:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:43:03] Production.INFO: ==27588== Lock acquired, processing the job...
[2025-01-07 09:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:43:03] Production.INFO: Account Balance Start.
[2025-01-07 09:43:03] Production.INFO: CreateAllLog Start
[2025-01-07 09:43:03] Production.INFO: ==27590== Lock acquired, processing the job...
[2025-01-07 09:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:43:03] Production.INFO: 117
[2025-01-07 09:43:03] Production.INFO: Date 2024-12-08
[2025-01-07 09:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:43:03] Production.INFO: Date 2024-12-09
[2025-01-07 09:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:43:03] Production.INFO: Date 2024-12-10
[2025-01-07 09:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:43:03] Production.INFO: Date 2024-12-11
[2025-01-07 09:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:43:03] Production.INFO: Date 2024-12-12
[2025-01-07 09:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:43:03] Production.INFO: Date 2024-12-13
[2025-01-07 09:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 09:43:03] Production.INFO: ==27582== Releasing lock...
[2025-01-07 09:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:43:03] Production.INFO: count ==21
[2025-01-07 09:43:03] Production.INFO: Date 2024-12-14
[2025-01-07 09:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 09:43:03] Production.INFO: count ==21
[2025-01-07 09:43:03] Production.ERROR: done
[2025-01-07 09:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:43:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194058') start
[2025-01-07 09:43:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:43:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:43: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] => 857
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.745472
[namelookup_time] => 0.135608
[connect_time] => 0.136826
[pretransfer_time] => 0.432014
[size_upload] => 82
[size_download] => 2755
[speed_download] => 3695
[speed_upload] => 109
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.745434
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.17
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 45578
)
[2025-01-07 09:43:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNjA5ODMsImV4cCI6MTczNjI2MTI4MywiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjYwOTgzLCJhdF9oYXNoIjoid0Z3UnRCZ3FoUmpiWkhNR0UwRGtPdyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.ZWvQtOqceDBwRio80Fhz4ayHfdGn4gUIGGCdrTZ2vPePydmhgLoTamhUSY7BW6XBo04pl4LWcpKe20ckytptFHifDTQVQVGbGWEtmYeXKAtBkoVTa-oxlIx218JMRMQ3PwrpM6MXkhJTX4w9szDIIbwgjodpIFBO_l-05hvighl8-pPujF9z_dv3JduaTuizmGrQ7J7-Yz6dmOS13reK8vNGPNkNd1m12prMUp3HBfnGVBI0RU7pwiBaXSEUFInZSCwlicnpoxKIsFbfsePOOo3JG-6n7js8SU519IDOm6Od_dUwFkzZS0GbUd0gbRc4GiaStCUoSvUUjQCnJtoFdg
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNjA5ODMsImV4cCI6MTczNjI2Mjc4MywiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.DBIifDMgWs9cSyEl2Vl9H7_BfNlANVWqFS80qVKmW4EsMFEezocGNoCCy78AmL6guT1RfHLsWuzeA-sfN5Qbiscqmtc9smmCiWD7GyBFunUKR1tNUDyKrZQhFDO_XNtOGlTlrx0-kyKaI4Uw_cbNPr1bATYZW6k23kuhtdd5RZB3-ekR0FhAzqeu2fKWZSzT874u4vhiJHziMFR84RLOGbEHnXpFSaRwi6-rRYYQvpmXmBh2WTq86XHYfCOop3GugZrmLvvrXberD88fSnftci9Eswb7P7m75ZVXzGRsPRIbCPg-bPxkrqcLmApNHePfbbOohj72KdRBkNw1GBzclw
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => ZbMeu4nu4pSvrF2QHltTlVUIg6K_lRtIumCJvjaZnMc
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 09:43:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:43:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNjA5ODMsImV4cCI6MTczNjI2MTI4MywiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjYwOTgzLCJhdF9oYXNoIjoid0Z3UnRCZ3FoUmpiWkhNR0UwRGtPdyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.ZWvQtOqceDBwRio80Fhz4ayHfdGn4gUIGGCdrTZ2vPePydmhgLoTamhUSY7BW6XBo04pl4LWcpKe20ckytptFHifDTQVQVGbGWEtmYeXKAtBkoVTa-oxlIx218JMRMQ3PwrpM6MXkhJTX4w9szDIIbwgjodpIFBO_l-05hvighl8-pPujF9z_dv3JduaTuizmGrQ7J7-Yz6dmOS13reK8vNGPNkNd1m12prMUp3HBfnGVBI0RU7pwiBaXSEUFInZSCwlicnpoxKIsFbfsePOOo3JG-6n7js8SU519IDOm6Od_dUwFkzZS0GbUd0gbRc4GiaStCUoSvUUjQCnJtoFdg
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNjA5ODMsImV4cCI6MTczNjI2Mjc4MywiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.DBIifDMgWs9cSyEl2Vl9H7_BfNlANVWqFS80qVKmW4EsMFEezocGNoCCy78AmL6guT1RfHLsWuzeA-sfN5Qbiscqmtc9smmCiWD7GyBFunUKR1tNUDyKrZQhFDO_XNtOGlTlrx0-kyKaI4Uw_cbNPr1bATYZW6k23kuhtdd5RZB3-ekR0FhAzqeu2fKWZSzT874u4vhiJHziMFR84RLOGbEHnXpFSaRwi6-rRYYQvpmXmBh2WTq86XHYfCOop3GugZrmLvvrXberD88fSnftci9Eswb7P7m75ZVXzGRsPRIbCPg-bPxkrqcLmApNHePfbbOohj72KdRBkNw1GBzclw
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => ZbMeu4nu4pSvrF2QHltTlVUIg6K_lRtIumCJvjaZnMc
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 09:43:04] Production.ERROR: done
[2025-01-07 09:43:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:43:04] Production.INFO: AccountID 193
[2025-01-07 09:43:04] Production.INFO: AccountName Plaza Auto Group
[2025-01-07 09:43:04] Production.INFO: Checkcustomer
[2025-01-07 09:43:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plaza%20Auto%20Group"
[2025-01-07 09:43:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:43:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194058') end
[2025-01-07 09:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:43:04] Production.INFO: 1
[2025-01-07 09:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:43:04] Production.INFO: Date 2024-12-22
[2025-01-07 09:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:43:04] Production.INFO: Date 2024-12-23
[2025-01-07 09:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:43:04] Production.INFO: Date 2024-12-24
[2025-01-07 09:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:43:04] Production.INFO: ==27590== Releasing lock...
[2025-01-07 09:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:43:04] Production.INFO: Date 2024-12-25
[2025-01-07 09:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:43:04] Production.INFO: Date 2024-12-26
[2025-01-07 09:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:43:04] Production.INFO: Date 2024-12-27
[2025-01-07 09:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:43:04] Production.INFO: Date 2024-12-28
[2025-01-07 09:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:43:04] Production.INFO: Date 2024-12-29
[2025-01-07 09:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:43:04] Production.INFO: Date 2024-12-30
[2025-01-07 09:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:43:04] Production.INFO: Date 2024-12-31
[2025-01-07 09:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:43:04] Production.INFO: Date 2025-01-01
[2025-01-07 09:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:43:04] Production.INFO: Date 2025-01-02
[2025-01-07 09:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:43:04] Production.INFO: Date 2025-01-03
[2025-01-07 09:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:43:04] Production.INFO: Date 2025-01-04
[2025-01-07 09:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:43:04] Production.INFO: Date 2025-01-05
[2025-01-07 09:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:43:04] Production.INFO: Date 2025-01-06
[2025-01-07 09:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:43:04] Production.INFO: Date 2025-01-07
[2025-01-07 09:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:43:04] Production.INFO: Total Charge 0
[2025-01-07 09:43:04] Production.INFO: CreateAllLog End
[2025-01-07 09:43:05] Production.INFO: Account Balance End.
[2025-01-07 09:43:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:43:05] Production.INFO: ==27586== Releasing lock...
[2025-01-07 09:43:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:43:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:43:05
[end_date_ymd] => 2025-01-07 09:43:05
[RateCDR] => 1
)
[2025-01-07 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-07 06:43:05' and `end` < '2025-01-07 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-07 09:43:07] Production.INFO: Contact id print CheckCustomer Case===6b58ee01-f67a-4205-8873-1c91dd58d79c
[2025-01-07 09:43:07] Production.INFO: -- count --1
[2025-01-07 09:43:07] Production.INFO: AccountID 193
[2025-01-07 09:43:07] Production.INFO: AccountName Plaza Auto Group
[2025-01-07 09:43:07] Production.INFO: Checkcustomer
[2025-01-07 09:43:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plaza%20Auto%20Group"
[2025-01-07 09:43:10] Production.INFO: Contact id print CheckCustomer Case===6b58ee01-f67a-4205-8873-1c91dd58d79c
[2025-01-07 09:43:10] Production.INFO: -- count --1
[2025-01-07 09:43:10] Production.INFO: AccountID 193
[2025-01-07 09:43:10] Production.INFO: AccountName Plaza Auto Group
[2025-01-07 09:43:10] Production.INFO: Checkcustomer
[2025-01-07 09:43:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plaza%20Auto%20Group"
[2025-01-07 09:43:12] Production.ERROR: CronJobId end10
[2025-01-07 09:43:12] Production.INFO: ==27584== Releasing lock...
[2025-01-07 09:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:43:13] Production.INFO: Contact id print CheckCustomer Case===6b58ee01-f67a-4205-8873-1c91dd58d79c
[2025-01-07 09:43:13] Production.INFO: -- count --1
[2025-01-07 09:43:13] Production.INFO: -- Xero Add Inovice --
[2025-01-07 09:43:13] Production.INFO: CheckInvoice xerov2: INV8724
[2025-01-07 09:43:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV8724
[2025-01-07 09:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:43:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:43:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:43:14] Production.INFO: call_cost start
[2025-01-07 09:43:14] Production.INFO: call_cost end
[2025-01-07 09:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:43:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:43:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:43:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:43:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:43:15] Production.INFO: ==27580== Releasing lock...
[2025-01-07 09:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:43:15] Production.INFO: Check Invoice Id XEROV21
[2025-01-07 09:43:15] Production.INFO: -- Create Invoice Done --
[2025-01-07 09:43:15] Production.INFO: CheckInvoice xerov2: INV11058
[2025-01-07 09:43:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11058
[2025-01-07 09:43:18] Production.INFO: count ==1583
[2025-01-07 09:43:18] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 09:43:18] Production.INFO: Invoice SubTotal 29.100000
[2025-01-07 09:43:18] Production.INFO: Invoice DetTotal 29.1
[2025-01-07 09:43:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plaza%20Auto%20Group"
[2025-01-07 09:43:19] Production.ERROR: pbx CDR StartTime 2025-01-07 06:43:05 - End Time 2025-01-07 09:43:05
[2025-01-07 09:43:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194059', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194059', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194059', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194059', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:43:19] Production.INFO: ProcessCDR(1,14194059,1,1,2)
[2025-01-07 09:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194059,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:43:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194059,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:43:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194059,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:43:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 09:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194059,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194059', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194059', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:43:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:43:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:43:22] Production.INFO: ==27588== Releasing lock...
[2025-01-07 09:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:43:22] Production.INFO: 40.25 MB #Memory Used#
[2025-01-07 09:43:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 09:43:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 09:43:28] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 5.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension",Quantity : 4,UnitAmount : 7.000000,LineAmount : 26.600000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (4169007907 - 9144 Yonge St., Richmond Hill, ON)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 09:43:31] Production.INFO: ==== result =====
[2025-01-07 09:43:31] Production.INFO: {
"Id": "2cfb9286-1844-4d3c-ae23-1a7e40895c23",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736261011402)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "7d1498d7-0644-4f68-b269-889ea70f7217",
"InvoiceNumber": "INV11058",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 32.89,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 1.40,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "6b58ee01-f67a-4205-8873-1c91dd58d79c",
"ContactStatus": "ACTIVE",
"Name": "Plaza Auto Group",
"FirstName": "Daniel",
"LastName": "Stein",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1730121861697+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-11-14T00:00:00",
"Date": "\/Date(1731542400000+0000)\/",
"DueDateString": "2024-12-14T00:00:00",
"DueDate": "\/Date(1734134400000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "License for an Unlimited Canada/US Cloud Phone extension",
"UnitAmount": 7.00,
"TaxType": "TAX020",
"TaxAmount": 3.46,
"LineAmount": 26.60,
"AccountCode": "203",
"Tracking": [],
"Quantity": 4.0000,
"DiscountRate": 5.00,
"LineItemID": "578766e7-025d-4b20-a109-db1738bac5f8",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountEnteredAsPercent": true,
"DiscountAmount": 1.4000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (4169007907 - 9144 Yonge St., Richmond Hill, ON)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "80bf1df5-fd47-46c7-ba08-c05b95f29318",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
}
],
"SubTotal": 29.10,
"TotalTax": 3.79,
"Total": 32.89,
"UpdatedDateUTC": "\/Date(1736261011240+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 09:43:31] Production.INFO: -- Create Invoice id --7d1498d7-0644-4f68-b269-889ea70f7217
[2025-01-07 09:43:31] Production.INFO: -- Create Invoice Done --
[2025-01-07 09:43:31] Production.INFO: CheckInvoice xerov2: INV11220
[2025-01-07 09:43:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11220
[2025-01-07 09:43:33] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 09:43:33] Production.INFO: Invoice SubTotal 29.100000
[2025-01-07 09:43:33] Production.INFO: Invoice DetTotal 29.1
[2025-01-07 09:43:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plaza%20Auto%20Group"
[2025-01-07 09:43:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 09:43:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 09:43:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 09:43:43] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 5.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension",Quantity : 4,UnitAmount : 7.000000,LineAmount : 26.600000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (4169007907 - 9144 Yonge St., Richmond Hill, ON)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 09:43:46] Production.INFO: ==== result =====
[2025-01-07 09:43:46] Production.INFO: {
"Id": "e29ec0af-c958-4d44-b2fd-816325a143b8",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736261025827)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "641d4e68-71f4-4dc6-98df-d36576f9b30a",
"InvoiceNumber": "INV11220",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 32.89,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 1.40,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "6b58ee01-f67a-4205-8873-1c91dd58d79c",
"ContactStatus": "ACTIVE",
"Name": "Plaza Auto Group",
"FirstName": "Daniel",
"LastName": "Stein",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1730121861697+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-12-14T00:00:00",
"Date": "\/Date(1734134400000+0000)\/",
"DueDateString": "2025-01-13T00:00:00",
"DueDate": "\/Date(1736726400000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "License for an Unlimited Canada/US Cloud Phone extension",
"UnitAmount": 7.00,
"TaxType": "TAX020",
"TaxAmount": 3.46,
"LineAmount": 26.60,
"AccountCode": "203",
"Tracking": [],
"Quantity": 4.0000,
"DiscountRate": 5.00,
"LineItemID": "cd4436d1-46a6-4287-9ba7-a59682ac0490",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountEnteredAsPercent": true,
"DiscountAmount": 1.4000,
"ValidationErrors": []
},
{
"Description": "e911 address registration (4169007907 - 9144 Yonge St., Richmond Hill, ON)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "1bfc1106-6ba5-40cb-8a26-c9a326d26437",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
}
],
"SubTotal": 29.10,
"TotalTax": 3.79,
"Total": 32.89,
"UpdatedDateUTC": "\/Date(1736261025797+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 09:43:46] Production.INFO: -- Create Invoice id --641d4e68-71f4-4dc6-98df-d36576f9b30a
[2025-01-07 09:43:46] Production.INFO: -- Create Invoice Done --
[2025-01-07 09:43:46] Production.INFO: -- Xero End Inovice --
[2025-01-07 09:43:46] Production.INFO: ==27578== Releasing lock...
[2025-01-07 09:43:46] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10498 #Stops#
[2025-01-07 09:43:46] Production.INFO: 30.75 MB #Memory Used#
[2025-01-07 14:44:01] Production.INFO: ==27661== Lock acquired, processing the job...
[2025-01-07 14:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:44:01] Production.INFO: neon service started
[2025-01-07 14:44:02] Production.INFO: neon service started
[2025-01-07 14:44:02] Production.INFO: ==27661== Releasing lock...
[2025-01-07 14:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:44:02] Production.INFO: ==27663== Lock acquired, processing the job...
[2025-01-07 09:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:44:02] Production.INFO: ==27663== Releasing lock...
[2025-01-07 09:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 14:44:02] Production.INFO: ==27665== Lock acquired, processing the job...
[2025-01-07 14:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:44:02] Production.INFO: ==27665== Releasing lock...
[2025-01-07 14:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:44:03] Production.INFO: ==27674== Lock acquired, processing the job...
[2025-01-07 09:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:44:03] Production.INFO: Account Balance Start.
[2025-01-07 09:44:03] Production.INFO: CreateAllLog Start
[2025-01-07 09:44:03] Production.INFO: 117
[2025-01-07 09:44:03] Production.INFO: ==27678== Lock acquired, processing the job...
[2025-01-07 09:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:44:03] Production.INFO: Date 2024-12-08
[2025-01-07 09:44:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:44:03] Production.INFO: ==27668== Lock acquired, processing the job...
[2025-01-07 09:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:44:03] Production.INFO: Date 2024-12-09
[2025-01-07 09:44:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:44:03] Production.INFO: Date 2024-12-10
[2025-01-07 09:44:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:44:03] Production.INFO: count ==21
[2025-01-07 09: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-07 09:44:03] Production.INFO: count ==21
[2025-01-07 09:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194061') start
[2025-01-07 09:44:03] Production.INFO: Date 2024-12-11
[2025-01-07 09:44:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:44:03] Production.INFO: Date 2024-12-12
[2025-01-07 09:44:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:44:03] Production.INFO: ==27672== Lock acquired, processing the job...
[2025-01-07 09:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:44:03] Production.INFO: ==27670== Lock acquired, processing the job...
[2025-01-07 09:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:44:03] Production.INFO: Date 2024-12-13
[2025-01-07 09:44:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194061') end
[2025-01-07 09:44:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:44:03] Production.INFO: 1
[2025-01-07 09:44:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:44:03] Production.INFO: Date 2024-12-14
[2025-01-07 09:44:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:44:03] Production.INFO: Date 2024-12-15
[2025-01-07 09:44:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:44:03] Production.INFO: ==27678== Releasing lock...
[2025-01-07 09:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:44:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:44:03] Production.INFO: Date 2024-12-16
[2025-01-07 09:44:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:44:04] Production.INFO: ==27676== Lock acquired, processing the job...
[2025-01-07 09:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:44:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:44:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:44:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:44:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:44:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:44:04] Production.INFO: Date 2024-12-22
[2025-01-07 09:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:44:04] Production.INFO: Date 2024-12-23
[2025-01-07 09:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:44:04] Production.INFO: ==27670== Releasing lock...
[2025-01-07 09:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:44:04] Production.INFO: Date 2024-12-24
[2025-01-07 09:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:44:04] Production.INFO: Date 2024-12-25
[2025-01-07 09:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:44:04] Production.INFO: Date 2024-12-26
[2025-01-07 09:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:44:04] Production.ERROR: done
[2025-01-07 09:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:44:04] Production.INFO: Date 2024-12-27
[2025-01-07 09:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:44:04] Production.INFO: Date 2024-12-28
[2025-01-07 09:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:44:04] Production.INFO: Date 2024-12-29
[2025-01-07 09:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:44:04] Production.INFO: Date 2024-12-30
[2025-01-07 09:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:44:04] Production.ERROR: done
[2025-01-07 09:44:04] Production.INFO: Date 2024-12-31
[2025-01-07 09:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:44:04] Production.INFO: Date 2025-01-01
[2025-01-07 09:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:44:04] Production.INFO: Date 2025-01-02
[2025-01-07 09:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:44:04] Production.INFO: Date 2025-01-03
[2025-01-07 09:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:44:04] Production.INFO: Date 2025-01-04
[2025-01-07 09:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:44:04] Production.INFO: Date 2025-01-05
[2025-01-07 09:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:44:04] Production.INFO: Date 2025-01-06
[2025-01-07 09:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:44:04] Production.INFO: Date 2025-01-07
[2025-01-07 09:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:44:04] Production.INFO: Total Charge 0
[2025-01-07 09:44:04] Production.INFO: CreateAllLog End
[2025-01-07 09:44:05] Production.INFO: Account Balance End.
[2025-01-07 09:44:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:44:05] Production.INFO: ==27674== Releasing lock...
[2025-01-07 09:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:44:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:44:05
[end_date_ymd] => 2025-01-07 09:44:05
[RateCDR] => 1
)
[2025-01-07 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-07 06:44:05' and `end` < '2025-01-07 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-07 09:44:13] Production.ERROR: CronJobId end10
[2025-01-07 09:44:13] Production.INFO: ==27672== Releasing lock...
[2025-01-07 09:44:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:44:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:44:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:44:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:44:14] Production.INFO: call_cost start
[2025-01-07 09:44:14] Production.INFO: call_cost end
[2025-01-07 09:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:44:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:44:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:44:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:44:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:44:15] Production.INFO: ==27668== Releasing lock...
[2025-01-07 09:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:44:19] Production.INFO: count ==1592
[2025-01-07 09:44:20] Production.ERROR: pbx CDR StartTime 2025-01-07 06:44:05 - End Time 2025-01-07 09:44:05
[2025-01-07 09:44:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:44:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194064', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:44:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194064', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:44:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194064', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:44:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194064', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:44:20] Production.INFO: ProcessCDR(1,14194064,1,1,2)
[2025-01-07 09:44:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194064,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:44:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194064,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:44:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194064,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:44:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194064,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194064', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194064', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:44:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:44:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:44:23] Production.INFO: ==27676== Releasing lock...
[2025-01-07 09:44:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:44:23] Production.INFO: 40.75 MB #Memory Used#
[2025-01-07 14:45:01] Production.INFO: ==27771== Lock acquired, processing the job...
[2025-01-07 14:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:45:01] Production.INFO: neon service started
[2025-01-07 14:45:01] Production.INFO: neon service started
[2025-01-07 14:45:01] Production.INFO: ==27771== Releasing lock...
[2025-01-07 14:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:45:01] Production.INFO: ==27773== Lock acquired, processing the job...
[2025-01-07 09:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 14:45:02] Production.INFO: ==27775== Lock acquired, processing the job...
[2025-01-07 14:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:45:02] Production.INFO: ==27773== Releasing lock...
[2025-01-07 09:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 14:45:02] Production.INFO: ==27775== Releasing lock...
[2025-01-07 14:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:45:03] Production.INFO: ==27778== Lock acquired, processing the job...
[2025-01-07 09:45:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10499 #Starts#
[2025-01-07 09:45:03] Production.INFO: -- Xero Api Check --
[2025-01-07 09:45:03] Production.INFO: ==27782== Lock acquired, processing the job...
[2025-01-07 09:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:45:03] Production.INFO: ==27780== Lock acquired, processing the job...
[2025-01-07 09:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:45:03] Production.INFO: ==27784== Lock acquired, processing the job...
[2025-01-07 09:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:45:03] Production.INFO: ==27786== Lock acquired, processing the job...
[2025-01-07 09:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:45:03] Production.INFO: ==27788== Lock acquired, processing the job...
[2025-01-07 09:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:45:03] Production.INFO: ==27790== Lock acquired, processing the job...
[2025-01-07 09:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:45:03] Production.INFO: ==27782== Releasing lock...
[2025-01-07 09:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:45:03] Production.INFO: Account Balance Start.
[2025-01-07 09:45:03] Production.INFO: CreateAllLog Start
[2025-01-07 09:45:03] Production.INFO: 117
[2025-01-07 09:45:03] Production.INFO: Date 2024-12-08
[2025-01-07 09:45:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:45:03] Production.INFO: Date 2024-12-09
[2025-01-07 09:45:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:45:03] Production.INFO: Date 2024-12-10
[2025-01-07 09:45:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 09:45:03] Production.INFO: Date 2024-12-11
[2025-01-07 09:45:03] Production.INFO: count ==21
[2025-01-07 09:45:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 09:45:03] Production.INFO: count ==21
[2025-01-07 09:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194068') start
[2025-01-07 09:45:03] Production.ERROR: done
[2025-01-07 09:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:45:03] Production.INFO: Date 2024-12-12
[2025-01-07 09:45:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:45:03] Production.INFO: Date 2024-12-13
[2025-01-07 09:45:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194068') end
[2025-01-07 09:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:45:03] Production.INFO: 1
[2025-01-07 09:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:45:03] Production.INFO: Date 2024-12-14
[2025-01-07 09:45:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:45:03] Production.INFO: ==27790== Releasing lock...
[2025-01-07 09:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:45:03] 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.901841
[namelookup_time] => 0.556788
[connect_time] => 0.558182
[pretransfer_time] => 0.814285
[size_upload] => 82
[size_download] => 2755
[speed_download] => 3054
[speed_upload] => 90
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.901801
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.17
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 45620
)
[2025-01-07 09:45:03] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNjExMDMsImV4cCI6MTczNjI2MTQwMywiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjYxMTAzLCJhdF9oYXNoIjoiWTZvVVJHM3l0anRGcVRtRHJXNUZNZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.o9NpWfcrGRtkGD-qS_DUou2XdI3YZZXHIeGgxlWaYUgma8khp7dBYpJ_CGBbBgKIheEyyRBoNj7PiZ_17EdGVMvOVez32FyTWFl11EFqTjaMa5QNeZbCdqcO3E-shgdcaa7cqhJegwQUjJG-R0rfhSZBYSlemNuRdorOHqYvP2VkGeVi_UP88j8jTocW_--1h0rM6A5dxDMgTZ2eHpSZy1Bb7lq4rrvVBiGvCwsraT0mfZDwBT02B3hW_G_x3yzVtLCqOHEHs5w3q9GLLiv3A44uiBhd9fmfIXgf0gSt-niYWr7G_uymkC8gnU-biXRJP48d15zqJeoRUrZNvyk5KA
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNjExMDMsImV4cCI6MTczNjI2MjkwMywiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.q9gpAs74y72qnknbuMNuIFv-NVeNQkBrfxLoVDmhER7gzDGVov4OoIrPcyK-8JcfwRReKOa-ZYt9DGk0_9yoL1JtdeMBQ_PkkDqilwlxzhip1Bq7uoPGV7mWiTBWtzvtEsb0mWDQQFh2dyVgGIr8mjRaOyd7EytvtkZqI2xZ9gmHCY8KY5kF2JIqdxRSpjKGd3docBlr3qTUcjSbVRasAUPBUreci_2Qt7o26L2AmAGKU1vOeAS4jhx6kJ0bwsc51XmeHI8co9RAc2A1bH1vWDkThz6HISc2iX7OFP1TVbxcWvQtUqUlEAt4f8ULtfzCqjPKyP82CCkY9o936KMywA
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => taenQPXIPVC8IOJiCvO3vTCbUfHgmwuTO-RI0yQ8pV8
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 09:45:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNjExMDMsImV4cCI6MTczNjI2MTQwMywiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjYxMTAzLCJhdF9oYXNoIjoiWTZvVVJHM3l0anRGcVRtRHJXNUZNZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.o9NpWfcrGRtkGD-qS_DUou2XdI3YZZXHIeGgxlWaYUgma8khp7dBYpJ_CGBbBgKIheEyyRBoNj7PiZ_17EdGVMvOVez32FyTWFl11EFqTjaMa5QNeZbCdqcO3E-shgdcaa7cqhJegwQUjJG-R0rfhSZBYSlemNuRdorOHqYvP2VkGeVi_UP88j8jTocW_--1h0rM6A5dxDMgTZ2eHpSZy1Bb7lq4rrvVBiGvCwsraT0mfZDwBT02B3hW_G_x3yzVtLCqOHEHs5w3q9GLLiv3A44uiBhd9fmfIXgf0gSt-niYWr7G_uymkC8gnU-biXRJP48d15zqJeoRUrZNvyk5KA
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNjExMDMsImV4cCI6MTczNjI2MjkwMywiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.q9gpAs74y72qnknbuMNuIFv-NVeNQkBrfxLoVDmhER7gzDGVov4OoIrPcyK-8JcfwRReKOa-ZYt9DGk0_9yoL1JtdeMBQ_PkkDqilwlxzhip1Bq7uoPGV7mWiTBWtzvtEsb0mWDQQFh2dyVgGIr8mjRaOyd7EytvtkZqI2xZ9gmHCY8KY5kF2JIqdxRSpjKGd3docBlr3qTUcjSbVRasAUPBUreci_2Qt7o26L2AmAGKU1vOeAS4jhx6kJ0bwsc51XmeHI8co9RAc2A1bH1vWDkThz6HISc2iX7OFP1TVbxcWvQtUqUlEAt4f8ULtfzCqjPKyP82CCkY9o936KMywA
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => taenQPXIPVC8IOJiCvO3vTCbUfHgmwuTO-RI0yQ8pV8
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 09:45:04] Production.ERROR: done
[2025-01-07 09:45:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:45:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:45:04] Production.INFO: AccountID 213
[2025-01-07 09:45:04] Production.INFO: AccountName One City Peterborough
[2025-01-07 09:45:04] Production.INFO: Checkcustomer
[2025-01-07 09:45:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="One%20City%20Peterborough"
[2025-01-07 09:45:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:45:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:45:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:45:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:45:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:45:04] Production.INFO: Date 2024-12-22
[2025-01-07 09:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:45:04] Production.INFO: Date 2024-12-23
[2025-01-07 09:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:45:04] Production.INFO: Date 2024-12-24
[2025-01-07 09:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:45:04] Production.INFO: Date 2024-12-25
[2025-01-07 09:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:45:04] Production.INFO: Date 2024-12-26
[2025-01-07 09:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:45:04] Production.INFO: Date 2024-12-27
[2025-01-07 09:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:45:04] Production.INFO: Date 2024-12-28
[2025-01-07 09:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:45:04] Production.INFO: Date 2024-12-29
[2025-01-07 09:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:45:04] Production.INFO: Date 2024-12-30
[2025-01-07 09:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:45:04] Production.INFO: Date 2024-12-31
[2025-01-07 09:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:45:04] Production.INFO: Date 2025-01-01
[2025-01-07 09:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:45:04] Production.INFO: Date 2025-01-02
[2025-01-07 09:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:45:04] Production.INFO: Date 2025-01-03
[2025-01-07 09:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:45:04] Production.INFO: Date 2025-01-04
[2025-01-07 09:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:45:04] Production.INFO: Date 2025-01-05
[2025-01-07 09:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:45:04] Production.INFO: Date 2025-01-06
[2025-01-07 09:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:45:04] Production.INFO: Date 2025-01-07
[2025-01-07 09:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:45:04] Production.INFO: Total Charge 0
[2025-01-07 09:45:04] Production.INFO: CreateAllLog End
[2025-01-07 09:45:04] Production.INFO: Account Balance End.
[2025-01-07 09:45:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:45:05] Production.INFO: ==27786== Releasing lock...
[2025-01-07 09:45:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:45:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:45:05
[end_date_ymd] => 2025-01-07 09:45:05
[RateCDR] => 1
)
[2025-01-07 09:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 06:45:05' and `end` < '2025-01-07 09:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 09:45:06] Production.INFO: Contact id print CheckCustomer Case===5e7868ac-fe74-43a1-ada1-68662ffb17f1
[2025-01-07 09:45:06] Production.INFO: -- count --1
[2025-01-07 09:45:06] Production.INFO: AccountID 143
[2025-01-07 09:45:06] Production.INFO: AccountName Orange Contracting
[2025-01-07 09:45:06] Production.INFO: Checkcustomer
[2025-01-07 09:45:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Orange%20Contracting"
[2025-01-07 09:45:09] Production.INFO: Contact id print CheckCustomer Case===075abb78-3e33-47bd-a869-70486b7179f2
[2025-01-07 09:45:09] Production.INFO: -- count --1
[2025-01-07 09:45:09] Production.INFO: -- Xero Add Inovice --
[2025-01-07 09:45:09] Production.INFO: CheckInvoice xerov2: INV10918
[2025-01-07 09:45:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10918
[2025-01-07 09:45:12] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 09:45:12] Production.ERROR: CronJobId end10
[2025-01-07 09:45:12] Production.INFO: ==27784== Releasing lock...
[2025-01-07 09:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:45:12] Production.INFO: ========================== Exception occured =============================
[2025-01-07 09:45:12] Production.ERROR: exception 'ErrorException' with message 'Undefined offset: 101' in /var/www/html/onswitch.neon.service/app/lib/XeroV2.php:0
Stack trace:
#0 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined offse...', '/var/www/html/o...', 0, Array)
#1 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->GetInvoiceData()
#2 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->CreateInvoice()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/XeroInvoicePostV2.php(0): App\Lib\XeroV2->addInvoices()
#4 [internal function]: App\Console\Commands\XeroInvoicePostV2->fire()
#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\XeroInvoicePostV2), 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-07 09:45:12] Production.INFO: ========================== Exception updated in job and email sent =============================
[2025-01-07 09:45:12] Production.INFO: ==27778== Releasing lock...
[2025-01-07 09:45:12] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10499 #Stops#
[2025-01-07 09:45:12] Production.INFO: 27.5 MB #Memory Used#
[2025-01-07 09:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:45:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:45:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:45:14] Production.INFO: call_cost start
[2025-01-07 09:45:14] Production.INFO: call_cost end
[2025-01-07 09:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:45:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:45:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:45:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:45:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:45:15] Production.INFO: ==27780== Releasing lock...
[2025-01-07 09:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:45:23] Production.INFO: count ==1634
[2025-01-07 09:45:24] Production.ERROR: pbx CDR StartTime 2025-01-07 06:45:05 - End Time 2025-01-07 09:45:05
[2025-01-07 09:45:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:45:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194069', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:45:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194069', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:45:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194069', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:45:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194069', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:45:24] Production.INFO: ProcessCDR(1,14194069,1,1,2)
[2025-01-07 09:45:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194069,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:45:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194069,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:45:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194069,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:45:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194069,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:45:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194069', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:45:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194069', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:45:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:45:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:45:28] Production.INFO: ==27788== Releasing lock...
[2025-01-07 09:45:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:45:28] Production.INFO: 40.5 MB #Memory Used#
[2025-01-07 14:46:01] Production.INFO: ==27848== Lock acquired, processing the job...
[2025-01-07 14:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:46:01] Production.INFO: neon service started
[2025-01-07 14:46:01] Production.INFO: neon service started
[2025-01-07 14:46:01] Production.INFO: ==27848== Releasing lock...
[2025-01-07 14:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 14:46:02] Production.INFO: ==27852== Lock acquired, processing the job...
[2025-01-07 14:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 09:46:02] Production.INFO: ==27850== Lock acquired, processing the job...
[2025-01-07 09:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 14:46:02] Production.INFO: ==27852== Releasing lock...
[2025-01-07 14:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:46:02] Production.INFO: ==27850== Releasing lock...
[2025-01-07 09:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:46:03] Production.INFO: ==27857== Lock acquired, processing the job...
[2025-01-07 09:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:46:03] Production.INFO: ==27859== Lock acquired, processing the job...
[2025-01-07 09:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:46:03] Production.INFO: ==27863== Lock acquired, processing the job...
[2025-01-07 09:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:46:04] Production.INFO: Account Balance Start.
[2025-01-07 09:46:04] Production.INFO: CreateAllLog Start
[2025-01-07 09:46:04] Production.INFO: 117
[2025-01-07 09:46:04] Production.INFO: Date 2024-12-08
[2025-01-07 09:46:04] Production.INFO: ==27855== Lock acquired, processing the job...
[2025-01-07 09:46:04] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10500 #Starts#
[2025-01-07 09:46:04] Production.INFO: ==27867== Lock acquired, processing the job...
[2025-01-07 09:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:46:04] Production.INFO: Date 2024-12-09
[2025-01-07 09:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:46:04] Production.INFO: -- Xero Api Check --
[2025-01-07 09:46:04] Production.INFO: ==27861== Lock acquired, processing the job...
[2025-01-07 09:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:46:04] Production.INFO: Date 2024-12-10
[2025-01-07 09:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:46:04] Production.INFO: ==27865== Lock acquired, processing the job...
[2025-01-07 09:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:46:04] Production.INFO: Date 2024-12-11
[2025-01-07 09:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:46:04] Production.INFO: ==27859== Releasing lock...
[2025-01-07 09:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:46:04] Production.INFO: Date 2024-12-12
[2025-01-07 09:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:46:04] Production.INFO: count ==21
[2025-01-07 09:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:46:04] Production.INFO: count ==21
[2025-01-07 09:46:04] Production.INFO: Date 2024-12-13
[2025-01-07 09:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:46:04] Production.INFO: Date 2024-12-14
[2025-01-07 09:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194073') start
[2025-01-07 09:46:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:46:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:46:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:46:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:46:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:46:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194073') end
[2025-01-07 09:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:46:04] Production.INFO: 1
[2025-01-07 09:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:46:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:46:04] Production.INFO: Date 2024-12-22
[2025-01-07 09:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:46:04] Production.INFO: Date 2024-12-23
[2025-01-07 09:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:46:04] Production.INFO: Date 2024-12-24
[2025-01-07 09:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:46:04] Production.INFO: ==27867== Releasing lock...
[2025-01-07 09:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:46:04] Production.INFO: Date 2024-12-25
[2025-01-07 09:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:46:04] Production.ERROR: done
[2025-01-07 09:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:46:04] Production.INFO: Date 2024-12-26
[2025-01-07 09:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:46:04] Production.INFO: Date 2024-12-27
[2025-01-07 09:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:46:04] Production.ERROR: done
[2025-01-07 09:46:04] Production.INFO: Date 2024-12-28
[2025-01-07 09:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:46:04] Production.INFO: Date 2024-12-29
[2025-01-07 09:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:46:04] Production.INFO: Date 2024-12-30
[2025-01-07 09:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:46:04] Production.INFO: Date 2024-12-31
[2025-01-07 09:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:46:05] Production.INFO: Date 2025-01-01
[2025-01-07 09:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:46:05] Production.INFO: Date 2025-01-02
[2025-01-07 09:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:46:05] Production.INFO: Date 2025-01-03
[2025-01-07 09:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:46:05] Production.INFO: Date 2025-01-04
[2025-01-07 09:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:46:05] Production.INFO: Date 2025-01-05
[2025-01-07 09:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:46:05] Production.INFO: Date 2025-01-06
[2025-01-07 09:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:46:05] Production.INFO: Date 2025-01-07
[2025-01-07 09:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:46:05] Production.INFO: Total Charge 0
[2025-01-07 09:46:05] Production.INFO: CreateAllLog End
[2025-01-07 09:46:05] Production.INFO: Account Balance End.
[2025-01-07 09:46:05] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 855
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 1.256067
[namelookup_time] => 0.541943
[connect_time] => 0.636943
[pretransfer_time] => 0.995808
[size_upload] => 82
[size_download] => 2755
[speed_download] => 2193
[speed_upload] => 65
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 1.256034
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 2.22.251.19
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 39880
)
[2025-01-07 09:46:05] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNjExNjUsImV4cCI6MTczNjI2MTQ2NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjYxMTY1LCJhdF9oYXNoIjoiXy02WU1IbFg1UzlmNjNBMTAzVEVlQSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.VbNT2WjWyY0jdZ886Us8PXGg5BHLcC2MH0ODYy2zSjV5xAJbI_Ynm6RhDLERPKIfAlTQIkPK3O6VYzWNAU-2ZPapHnD_-CAuMeadSgCM8chthFAfB8o9d3uveVuJtiKc04wqQ_aH1wrxZdMRx5Umbl1hcE0PzK4q2ZeEJoFEw4J-VJWBGtrfSHCrDZShJd744jxFZPsKpX_ToRN56Vzj90BtCqxnjOLHdWEWw9Ar59xukNg7mSu2alNYJTbgRAEq5wZiqDBS5VyVvoke_0T0SxwAxEcOWtT3n9BJ9ntReaH17RIAtq_IJNRye21wIq0gFz7mM6tXvrmNkue8t4-yTw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNjExNjUsImV4cCI6MTczNjI2Mjk2NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.xGpS7XGP6AW8PSQD-kjy3AzH113LSgUIUWXy2rF6ZGvYPFypj7OoETaSfKD07EJN1owIJf03A4CnPaZns4FxR0IZOd6fjS8z8Dh7I4BJYKcBCZHVUwpci6fYqFEF66hMTrfL_fLoej9rbxlXDxqp4iLDS18DzGoOkTF00G1wSx5vtw0YuCYU6CScncJX44-4WHWaCnhCuPRAyayC4fDdTkMcaz20HskAF4tPORXGOC_BDy1U7ks1TA95MTFEOk1ycbAneIciAtzWP-xIyxKhCE-HBDyjdR8TR1RS92IvoJLkHCcEYwqdvv4-YSBnrY56h42cPT-_yvbyD8wykFCf4A
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => fZp7MfWExw7QtWpV54XUhnVORB9FVN8TPpqCpMJ15WU
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 09:46:05] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNjExNjUsImV4cCI6MTczNjI2MTQ2NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjYxMTY1LCJhdF9oYXNoIjoiXy02WU1IbFg1UzlmNjNBMTAzVEVlQSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.VbNT2WjWyY0jdZ886Us8PXGg5BHLcC2MH0ODYy2zSjV5xAJbI_Ynm6RhDLERPKIfAlTQIkPK3O6VYzWNAU-2ZPapHnD_-CAuMeadSgCM8chthFAfB8o9d3uveVuJtiKc04wqQ_aH1wrxZdMRx5Umbl1hcE0PzK4q2ZeEJoFEw4J-VJWBGtrfSHCrDZShJd744jxFZPsKpX_ToRN56Vzj90BtCqxnjOLHdWEWw9Ar59xukNg7mSu2alNYJTbgRAEq5wZiqDBS5VyVvoke_0T0SxwAxEcOWtT3n9BJ9ntReaH17RIAtq_IJNRye21wIq0gFz7mM6tXvrmNkue8t4-yTw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNjExNjUsImV4cCI6MTczNjI2Mjk2NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.xGpS7XGP6AW8PSQD-kjy3AzH113LSgUIUWXy2rF6ZGvYPFypj7OoETaSfKD07EJN1owIJf03A4CnPaZns4FxR0IZOd6fjS8z8Dh7I4BJYKcBCZHVUwpci6fYqFEF66hMTrfL_fLoej9rbxlXDxqp4iLDS18DzGoOkTF00G1wSx5vtw0YuCYU6CScncJX44-4WHWaCnhCuPRAyayC4fDdTkMcaz20HskAF4tPORXGOC_BDy1U7ks1TA95MTFEOk1ycbAneIciAtzWP-xIyxKhCE-HBDyjdR8TR1RS92IvoJLkHCcEYwqdvv4-YSBnrY56h42cPT-_yvbyD8wykFCf4A
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => fZp7MfWExw7QtWpV54XUhnVORB9FVN8TPpqCpMJ15WU
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 09:46:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:46:05] Production.INFO: ==27863== Releasing lock...
[2025-01-07 09:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:46:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:46:05] Production.INFO: AccountID 227
[2025-01-07 09:46:05] Production.INFO: AccountName Quiznos 15184 (Akshay Naik)
[2025-01-07 09:46:05] Production.INFO: Checkcustomer
[2025-01-07 09:46:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015184%20%28Akshay%20Naik%29"
[2025-01-07 09:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:46:05
[end_date_ymd] => 2025-01-07 09:46:05
[RateCDR] => 1
)
[2025-01-07 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-07 06:46:05' and `end` < '2025-01-07 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-07 09:46:08] Production.INFO: Contact id print CheckCustomer Case===7d4d8a6e-9b66-4daf-be5c-0e7e0524121b
[2025-01-07 09:46:08] Production.INFO: -- count --1
[2025-01-07 09:46:08] Production.INFO: AccountID 227
[2025-01-07 09:46:08] Production.INFO: AccountName Quiznos 15184 (Akshay Naik)
[2025-01-07 09:46:08] Production.INFO: Checkcustomer
[2025-01-07 09:46:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015184%20%28Akshay%20Naik%29"
[2025-01-07 09:46:10] Production.INFO: Contact id print CheckCustomer Case===7d4d8a6e-9b66-4daf-be5c-0e7e0524121b
[2025-01-07 09:46:10] Production.INFO: -- count --1
[2025-01-07 09:46:10] Production.INFO: AccountID 241
[2025-01-07 09:46:10] Production.INFO: AccountName Quiznos 15192 (Akshay Naik)
[2025-01-07 09:46:10] Production.INFO: Checkcustomer
[2025-01-07 09:46:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015192%20%28Akshay%20Naik%29"
[2025-01-07 09:46:11] Production.ERROR: CronJobId end10
[2025-01-07 09:46:11] Production.INFO: ==27861== Releasing lock...
[2025-01-07 09:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:46:13] Production.INFO: Contact id print CheckCustomer Case===9f823e1c-f0d1-4915-b9fd-4b0d691e058e
[2025-01-07 09:46:13] Production.INFO: -- count --1
[2025-01-07 09:46:13] Production.INFO: AccountID 241
[2025-01-07 09:46:13] Production.INFO: AccountName Quiznos 15192 (Akshay Naik)
[2025-01-07 09:46:13] Production.INFO: Checkcustomer
[2025-01-07 09:46:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015192%20%28Akshay%20Naik%29"
[2025-01-07 09:46:13] Production.INFO: call_cost start
[2025-01-07 09:46:13] Production.INFO: call_cost end
[2025-01-07 09:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:46:14] Production.INFO: ==27857== Releasing lock...
[2025-01-07 09:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:46:16] Production.INFO: Contact id print CheckCustomer Case===9f823e1c-f0d1-4915-b9fd-4b0d691e058e
[2025-01-07 09:46:16] Production.INFO: -- count --1
[2025-01-07 09:46:16] Production.INFO: -- Xero Add Inovice --
[2025-01-07 09:46:16] Production.INFO: CheckInvoice xerov2: INV10869
[2025-01-07 09:46:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10869
[2025-01-07 09:46:18] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 09:46:18] Production.INFO: ========================== Exception occured =============================
[2025-01-07 09:46:18] Production.ERROR: exception 'ErrorException' with message 'Undefined offset: 48' in /var/www/html/onswitch.neon.service/app/lib/XeroV2.php:0
Stack trace:
#0 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined offse...', '/var/www/html/o...', 0, Array)
#1 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->GetInvoiceData()
#2 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->CreateInvoice()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/XeroInvoicePostV2.php(0): App\Lib\XeroV2->addInvoices()
#4 [internal function]: App\Console\Commands\XeroInvoicePostV2->fire()
#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\XeroInvoicePostV2), 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-07 09:46:18] Production.INFO: ========================== Exception updated in job and email sent =============================
[2025-01-07 09:46:18] Production.INFO: ==27855== Releasing lock...
[2025-01-07 09:46:18] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10500 #Stops#
[2025-01-07 09:46:18] Production.INFO: 27.5 MB #Memory Used#
[2025-01-07 09:46:18] Production.INFO: count ==1642
[2025-01-07 09:46:19] Production.ERROR: pbx CDR StartTime 2025-01-07 06:46:05 - End Time 2025-01-07 09:46:05
[2025-01-07 09:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194074', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194074', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194074', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194074', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:46:19] Production.INFO: ProcessCDR(1,14194074,1,1,2)
[2025-01-07 09:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194074,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:46:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194074,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:46:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194074,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194074,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194074', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194074', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:46:22] Production.INFO: ==27865== Releasing lock...
[2025-01-07 09:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:46:22] Production.INFO: 40.5 MB #Memory Used#
[2025-01-07 14:47:01] Production.INFO: ==27927== Lock acquired, processing the job...
[2025-01-07 14:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:47:01] Production.INFO: neon service started
[2025-01-07 14:47:01] Production.INFO: neon service started
[2025-01-07 14:47:01] Production.INFO: ==27927== Releasing lock...
[2025-01-07 14:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 14:47:01] Production.INFO: ==27931== Lock acquired, processing the job...
[2025-01-07 14:47:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:47:01] Production.INFO: ==27931== Releasing lock...
[2025-01-07 14:47:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:47:01] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:47:01] Production.INFO: ==27929== Lock acquired, processing the job...
[2025-01-07 09:47:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:47:02] Production.INFO: ==27929== Releasing lock...
[2025-01-07 09:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:47:02] Production.INFO: ==27933== Lock acquired, processing the job...
[2025-01-07 09:47:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:47:03] Production.INFO: ==27935== Lock acquired, processing the job...
[2025-01-07 09:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:47:03] Production.INFO: ==27941== Lock acquired, processing the job...
[2025-01-07 09:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:47:03] Production.INFO: ==27943== Lock acquired, processing the job...
[2025-01-07 09:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:47:03] Production.INFO: ==27937== Lock acquired, processing the job...
[2025-01-07 09:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:47:03] Production.INFO: ==27939== Lock acquired, processing the job...
[2025-01-07 09:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 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-07 09:47:03] Production.INFO: count ==21
[2025-01-07 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-07 09:47:03] Production.INFO: count ==21
[2025-01-07 09:47:03] Production.INFO: ==27935== Releasing lock...
[2025-01-07 09:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194077') start
[2025-01-07 09:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:47:03] Production.INFO: Account Balance Start.
[2025-01-07 09:47:03] Production.INFO: CreateAllLog Start
[2025-01-07 09:47:03] Production.INFO: 117
[2025-01-07 09:47:03] Production.INFO: Date 2024-12-08
[2025-01-07 09:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:47:03] Production.INFO: Date 2024-12-09
[2025-01-07 09:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:47:03] Production.ERROR: done
[2025-01-07 09:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194077') end
[2025-01-07 09:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:47:03] Production.INFO: 1
[2025-01-07 09:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:47:03] Production.INFO: Date 2024-12-10
[2025-01-07 09:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:47:03] Production.INFO: Date 2024-12-11
[2025-01-07 09:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:47:03] Production.INFO: ==27943== Releasing lock...
[2025-01-07 09:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:47:03] Production.ERROR: done
[2025-01-07 09:47:04] Production.INFO: Date 2024-12-12
[2025-01-07 09:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:47:04] Production.INFO: Date 2024-12-13
[2025-01-07 09:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:47:04] Production.INFO: Date 2024-12-14
[2025-01-07 09:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:47:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:47:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:47:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:47:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:47:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:47:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:47:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:47:04] Production.INFO: Date 2024-12-22
[2025-01-07 09:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:47:04] Production.INFO: Date 2024-12-23
[2025-01-07 09:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:47:04] Production.INFO: Date 2024-12-24
[2025-01-07 09:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:47:04] Production.INFO: Date 2024-12-25
[2025-01-07 09:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:47:04] Production.INFO: Date 2024-12-26
[2025-01-07 09:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:47:04] Production.INFO: Date 2024-12-27
[2025-01-07 09:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:47:04] Production.INFO: Date 2024-12-28
[2025-01-07 09:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:47:04] Production.INFO: Date 2024-12-29
[2025-01-07 09:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:47:04] Production.INFO: Date 2024-12-30
[2025-01-07 09:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:47:04] Production.INFO: Date 2024-12-31
[2025-01-07 09:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:47:04] Production.INFO: Date 2025-01-01
[2025-01-07 09:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:47:04] Production.INFO: Date 2025-01-02
[2025-01-07 09:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:47:04] Production.INFO: Date 2025-01-03
[2025-01-07 09:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:47:04] Production.INFO: Date 2025-01-04
[2025-01-07 09:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:47:04] Production.INFO: Date 2025-01-05
[2025-01-07 09:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:47:04] Production.INFO: Date 2025-01-06
[2025-01-07 09:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:47:04] Production.INFO: Date 2025-01-07
[2025-01-07 09:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:47:05] Production.INFO: Total Charge 0
[2025-01-07 09:47:05] Production.INFO: CreateAllLog End
[2025-01-07 09:47:05] Production.INFO: Account Balance End.
[2025-01-07 09:47:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:47:05] Production.INFO: ==27939== Releasing lock...
[2025-01-07 09:47:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:47:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:47:05
[end_date_ymd] => 2025-01-07 09:47:05
[RateCDR] => 1
)
[2025-01-07 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-07 06:47:05' and `end` < '2025-01-07 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-07 09:47:12] Production.ERROR: CronJobId end10
[2025-01-07 09:47:12] Production.INFO: ==27937== Releasing lock...
[2025-01-07 09:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:47:13] Production.INFO: call_cost start
[2025-01-07 09:47:13] Production.INFO: call_cost end
[2025-01-07 09:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:47:14] Production.INFO: ==27933== Releasing lock...
[2025-01-07 09:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:47:18] Production.INFO: count ==1644
[2025-01-07 09:47:19] Production.ERROR: pbx CDR StartTime 2025-01-07 06:47:05 - End Time 2025-01-07 09:47:05
[2025-01-07 09:47:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194079', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194079', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194079', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194079', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:47:19] Production.INFO: ProcessCDR(1,14194079,1,1,2)
[2025-01-07 09:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194079,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:47:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194079,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:47:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194079,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194079,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194079', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194079', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:47:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:47:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:47:22] Production.INFO: ==27941== Releasing lock...
[2025-01-07 09:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:47:22] Production.INFO: 41 MB #Memory Used#
[2025-01-07 14:48:01] Production.INFO: ==27999== Lock acquired, processing the job...
[2025-01-07 14:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:48:01] Production.INFO: neon service started
[2025-01-07 14:48:01] Production.INFO: neon service started
[2025-01-07 14:48:01] Production.INFO: ==27999== Releasing lock...
[2025-01-07 14:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 14:48:02] Production.INFO: ==28003== Lock acquired, processing the job...
[2025-01-07 14:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:48:02] Production.INFO: ==28003== Releasing lock...
[2025-01-07 14:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:48:02] Production.INFO: ==28001== Lock acquired, processing the job...
[2025-01-07 09:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:48:02] Production.INFO: ==28001== Releasing lock...
[2025-01-07 09:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:48:03] Production.INFO: ==28006== Lock acquired, processing the job...
[2025-01-07 09:48:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10501 #Starts#
[2025-01-07 09:48:03] Production.INFO: -- Xero Api Check --
[2025-01-07 09:48:03] Production.INFO: ==28008== Lock acquired, processing the job...
[2025-01-07 09:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:48:03] Production.INFO: ==28010== Lock acquired, processing the job...
[2025-01-07 09:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:48:03] Production.INFO: ==28012== Lock acquired, processing the job...
[2025-01-07 09:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:48:03] Production.INFO: ==28018== Lock acquired, processing the job...
[2025-01-07 09:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:48:03] Production.INFO: ==28014== Lock acquired, processing the job...
[2025-01-07 09:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:48:03] Production.INFO: ==28016== Lock acquired, processing the job...
[2025-01-07 09:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:48:03] Production.INFO: ==28010== Releasing lock...
[2025-01-07 09:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:48:03] Production.INFO: Account Balance Start.
[2025-01-07 09:48:03] Production.INFO: CreateAllLog Start
[2025-01-07 09:48:03] Production.INFO: 117
[2025-01-07 09:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:48:03] Production.INFO: Date 2024-12-08
[2025-01-07 09:48:04] Production.INFO: count ==21
[2025-01-07 09:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 09:48:04] Production.INFO: Date 2024-12-09
[2025-01-07 09:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:48:04] Production.INFO: count ==21
[2025-01-07 09:48:04] Production.INFO: Date 2024-12-10
[2025-01-07 09:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194082') start
[2025-01-07 09:48:04] Production.INFO: Date 2024-12-11
[2025-01-07 09:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194082') end
[2025-01-07 09:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:48:04] Production.INFO: 1
[2025-01-07 09:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:48:04] Production.INFO: Date 2024-12-12
[2025-01-07 09:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:48:04] Production.INFO: ==28018== Releasing lock...
[2025-01-07 09:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:48:04] Production.INFO: Date 2024-12-13
[2025-01-07 09:48:04] Production.ERROR: done
[2025-01-07 09:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:48: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] => 857
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.854966
[namelookup_time] => 0.291492
[connect_time] => 0.303246
[pretransfer_time] => 0.573781
[size_upload] => 82
[size_download] => 2755
[speed_download] => 3222
[speed_upload] => 95
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.854927
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.33
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 43558
)
[2025-01-07 09:48:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNjEyODQsImV4cCI6MTczNjI2MTU4NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjYxMjg0LCJhdF9oYXNoIjoiQUtsSVZsNnBucHlrWGRXNlY3WjFQdyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.sDLslzRZTKVXPVXABh-G1pmLHlyLGrVT497wuI7PObuaeQp8b4EewvzX64SlYAAFFEsgznXVM_d8KkVJDPwyos00tIQ40aypSIj8QHFyWS2A7YbMMw1udN4Ih1m2iu80j3znzCKDbdjOtISb7Ye5u2BGdTRHKe-umHN57ujDxoHGDw3kPvzQ_jurfwk8jslcBIhC9Ir5wLEvq4YVoed62xz5aEfNnczAdJDtqIA1iepuCZ38nbPwNuZF0IeeIxm1fjrE7ElKGMpB_OuR-I_HgA7AP3ngcTS-wa6NWJaq7Yr554vtJi-V3z8gYzNjLJvJc0KUYeeU_ecM-RjAljO3TQ
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNjEyODQsImV4cCI6MTczNjI2MzA4NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.IBdx6uniIGUFlsT2ZdXi__ISSKufBLwLcuNI628-_dwZmM6qaCbumBDPhimCx49FE5lekA-o9xT43WEzDPx1C4GBZJVdNnXn51UMWW87bTMTa54cCTUVxdf8SHAtKdCiKnRFNZRbRyFS39S1u6To49NmHHEqJ5eXn01jhXLqQVyIvgcsqXVMLRsSs7DpJGpKF6r1AoD6P35AuucnFTbCb1_lxAMnlB1dxDVYkms76rzGh8si3d4f9zCXkaNXWPSka1cp8gUPir4t3PU9qyrBAA_vHU-xI1-Miw58gNkHgEWHzcYrrsC2uEdpUtV4UmsvtUKtUt8y1Rq6z96p9ao3sQ
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => uo-fN-e3jicXaUH9iwHw0oIcfa0_MGTuEyJpKk4KDFQ
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 09:48:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNjEyODQsImV4cCI6MTczNjI2MTU4NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjYxMjg0LCJhdF9oYXNoIjoiQUtsSVZsNnBucHlrWGRXNlY3WjFQdyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.sDLslzRZTKVXPVXABh-G1pmLHlyLGrVT497wuI7PObuaeQp8b4EewvzX64SlYAAFFEsgznXVM_d8KkVJDPwyos00tIQ40aypSIj8QHFyWS2A7YbMMw1udN4Ih1m2iu80j3znzCKDbdjOtISb7Ye5u2BGdTRHKe-umHN57ujDxoHGDw3kPvzQ_jurfwk8jslcBIhC9Ir5wLEvq4YVoed62xz5aEfNnczAdJDtqIA1iepuCZ38nbPwNuZF0IeeIxm1fjrE7ElKGMpB_OuR-I_HgA7AP3ngcTS-wa6NWJaq7Yr554vtJi-V3z8gYzNjLJvJc0KUYeeU_ecM-RjAljO3TQ
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNjEyODQsImV4cCI6MTczNjI2MzA4NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.IBdx6uniIGUFlsT2ZdXi__ISSKufBLwLcuNI628-_dwZmM6qaCbumBDPhimCx49FE5lekA-o9xT43WEzDPx1C4GBZJVdNnXn51UMWW87bTMTa54cCTUVxdf8SHAtKdCiKnRFNZRbRyFS39S1u6To49NmHHEqJ5eXn01jhXLqQVyIvgcsqXVMLRsSs7DpJGpKF6r1AoD6P35AuucnFTbCb1_lxAMnlB1dxDVYkms76rzGh8si3d4f9zCXkaNXWPSka1cp8gUPir4t3PU9qyrBAA_vHU-xI1-Miw58gNkHgEWHzcYrrsC2uEdpUtV4UmsvtUKtUt8y1Rq6z96p9ao3sQ
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => uo-fN-e3jicXaUH9iwHw0oIcfa0_MGTuEyJpKk4KDFQ
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 09:48:04] Production.INFO: Date 2024-12-14
[2025-01-07 09:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:48:04] Production.ERROR: done
[2025-01-07 09:48:04] Production.INFO: AccountID 241
[2025-01-07 09:48:04] Production.INFO: AccountName Quiznos 15192 (Akshay Naik)
[2025-01-07 09:48:04] Production.INFO: Checkcustomer
[2025-01-07 09:48:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015192%20%28Akshay%20Naik%29"
[2025-01-07 09:48:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:48:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:48:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:48:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:48:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:48:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:48:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:48:04] Production.INFO: Date 2024-12-22
[2025-01-07 09:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:48:04] Production.INFO: Date 2024-12-23
[2025-01-07 09:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:48:04] Production.INFO: Date 2024-12-24
[2025-01-07 09:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:48:04] Production.INFO: Date 2024-12-25
[2025-01-07 09:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:48:04] Production.INFO: Date 2024-12-26
[2025-01-07 09:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:48:04] Production.INFO: Date 2024-12-27
[2025-01-07 09:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:48:04] Production.INFO: Date 2024-12-28
[2025-01-07 09:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:48:04] Production.INFO: Date 2024-12-29
[2025-01-07 09:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:48:05] Production.INFO: Date 2024-12-30
[2025-01-07 09:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:48:05] Production.INFO: Date 2024-12-31
[2025-01-07 09:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:48:05] Production.INFO: Date 2025-01-01
[2025-01-07 09:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:48:05] Production.INFO: Date 2025-01-02
[2025-01-07 09:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:48:05] Production.INFO: Date 2025-01-03
[2025-01-07 09:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:48:05] Production.INFO: Date 2025-01-04
[2025-01-07 09:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:48:05] Production.INFO: Date 2025-01-05
[2025-01-07 09:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:48:05] Production.INFO: Date 2025-01-06
[2025-01-07 09:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:48:05] Production.INFO: Date 2025-01-07
[2025-01-07 09:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:48:05] Production.INFO: Total Charge 0
[2025-01-07 09:48:05] Production.INFO: CreateAllLog End
[2025-01-07 09:48:05] Production.INFO: Account Balance End.
[2025-01-07 09:48:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:48:05] Production.INFO: ==28014== Releasing lock...
[2025-01-07 09:48:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:48:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:48:05
[end_date_ymd] => 2025-01-07 09:48:05
[RateCDR] => 1
)
[2025-01-07 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-07 06:48:05' and `end` < '2025-01-07 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-07 09:48:06] Production.INFO: Contact id print CheckCustomer Case===9f823e1c-f0d1-4915-b9fd-4b0d691e058e
[2025-01-07 09:48:06] Production.INFO: -- count --1
[2025-01-07 09:48:06] Production.INFO: -- Xero Add Inovice --
[2025-01-07 09:48:06] Production.INFO: CheckInvoice xerov2: INV11022
[2025-01-07 09:48:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11022
[2025-01-07 09:48:09] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 09:48:09] Production.INFO: Invoice SubTotal 7.500000
[2025-01-07 09:48:09] Production.INFO: Invoice DetTotal 7.5
[2025-01-07 09:48:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015192%20%28Akshay%20Naik%29"
[2025-01-07 09:48:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items
[2025-01-07 09:48:11] Production.ERROR: CronJobId end10
[2025-01-07 09:48:11] Production.INFO: ==28012== Releasing lock...
[2025-01-07 09:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:48:13] Production.INFO: call_cost start
[2025-01-07 09:48:13] Production.INFO: call_cost end
[2025-01-07 09:48:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates
[2025-01-07 09:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:48:14] Production.INFO: ==28008== Releasing lock...
[2025-01-07 09:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:48:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts
[2025-01-07 09:48:19] Production.INFO: count ==1653
[2025-01-07 09:48:20] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 75.000000,"Description": "Restaurant - 1 Line Flat Rate",Quantity : 1,UnitAmount : 19.990000,LineAmount : 5.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (3433177878 - 133 Bank St. Ottawa, ON K1P 5N7 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}
[2025-01-07 09:48:20] Production.ERROR: pbx CDR StartTime 2025-01-07 06:48:05 - End Time 2025-01-07 09:48:05
[2025-01-07 09:48:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194084', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194084', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194084', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194084', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:48:20] Production.INFO: ProcessCDR(1,14194084,1,1,2)
[2025-01-07 09:48:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194084,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:48:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194084,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:48:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194084,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:48:23] Production.INFO: ==== result =====
[2025-01-07 09:48:23] Production.INFO: {
"Id": "cb98dac0-b122-42c8-9727-68c6a768d3a6",
"Status": "OK",
"ProviderName": "Neon OAuth v2",
"DateTimeUTC": "\/Date(1736261303727)\/",
"Invoices": [
{
"Type": "ACCREC",
"InvoiceID": "b2df7081-9d4a-4fd9-8a80-6e46f045841e",
"InvoiceNumber": "INV11022",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 8.48,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"TotalDiscount": 14.99,
"IsDiscounted": true,
"HasErrors": false,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "9f823e1c-f0d1-4915-b9fd-4b0d691e058e",
"ContactStatus": "ACTIVE",
"Name": "Quiznos 15192 (Akshay Naik)",
"FirstName": "Akshay",
"LastName": "Naik",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1732531690253+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2024-11-08T00:00:00",
"Date": "\/Date(1731024000000+0000)\/",
"DueDateString": "2024-12-08T00:00:00",
"DueDate": "\/Date(1733616000000+0000)\/",
"BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "Restaurant - 1 Line Flat Rate",
"UnitAmount": 19.99,
"TaxType": "TAX020",
"TaxAmount": 0.65,
"LineAmount": 5.00,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"DiscountRate": 75.00,
"LineItemID": "71f51332-65d8-41bc-9eba-e36e0cc1407b",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"DiscountEnteredAsPercent": true,
"DiscountAmount": 14.9900,
"ValidationErrors": []
},
{
"Description": "e911 address registration (3433177878 - 133 Bank St. Ottawa, ON K1P 5N7 Canada)",
"UnitAmount": 2.50,
"TaxType": "TAX020",
"TaxAmount": 0.33,
"LineAmount": 2.50,
"AccountCode": "203",
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "bf50d6f7-4e91-4234-ac1a-268f3be28f32",
"AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
"ValidationErrors": []
}
],
"SubTotal": 7.50,
"TotalTax": 0.98,
"Total": 8.48,
"UpdatedDateUTC": "\/Date(1736261303667+0000)\/",
"CurrencyCode": "CAD",
"StatusAttributeString": "OK"
}
]
}
[2025-01-07 09:48:23] Production.INFO: -- Create Invoice id --b2df7081-9d4a-4fd9-8a80-6e46f045841e
[2025-01-07 09:48:23] Production.INFO: -- Create Invoice Done --
[2025-01-07 09:48:23] Production.INFO: -- Xero End Inovice --
[2025-01-07 09:48:23] Production.INFO: ==28006== Releasing lock...
[2025-01-07 09:48:23] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10501 #Stops#
[2025-01-07 09:48:23] Production.INFO: 29.5 MB #Memory Used#
[2025-01-07 09:48:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194084,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:48:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194084', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:48:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194084', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:48:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:48:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:48:24] Production.INFO: ==28016== Releasing lock...
[2025-01-07 09:48:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:48:24] Production.INFO: 40.75 MB #Memory Used#
[2025-01-07 14:49:02] Production.INFO: ==28081== Lock acquired, processing the job...
[2025-01-07 14:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:49:02] Production.INFO: neon service started
[2025-01-07 14:49:02] Production.INFO: neon service started
[2025-01-07 14:49:02] Production.INFO: ==28081== Releasing lock...
[2025-01-07 14:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:49:02] Production.INFO: ==28083== Lock acquired, processing the job...
[2025-01-07 09:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 14:49:02] Production.INFO: ==28085== Lock acquired, processing the job...
[2025-01-07 14:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:49:02] Production.INFO: ==28085== Releasing lock...
[2025-01-07 14:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:49:02] Production.INFO: ==28083== Releasing lock...
[2025-01-07 09:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:49:03] Production.INFO: ==28094== Lock acquired, processing the job...
[2025-01-07 09:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:49:03] Production.INFO: ==28096== Lock acquired, processing the job...
[2025-01-07 09:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:49:03] Production.INFO: ==28098== Lock acquired, processing the job...
[2025-01-07 09:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:49:03] Production.INFO: Account Balance Start.
[2025-01-07 09:49:03] Production.INFO: CreateAllLog Start
[2025-01-07 09:49:03] Production.INFO: 117
[2025-01-07 09:49:03] Production.INFO: Date 2024-12-08
[2025-01-07 09:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:49:03] Production.INFO: ==28088== Lock acquired, processing the job...
[2025-01-07 09:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:49:03] Production.INFO: Date 2024-12-09
[2025-01-07 09:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:49:03] Production.INFO: ==28090== Lock acquired, processing the job...
[2025-01-07 09:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 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-07 09:49:03] Production.INFO: ==28092== Lock acquired, processing the job...
[2025-01-07 09:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:49:03] Production.INFO: Date 2024-12-10
[2025-01-07 09:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:49:03] Production.INFO: count ==21
[2025-01-07 09:49:03] Production.INFO: Date 2024-12-11
[2025-01-07 09:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 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-07 09:49:03] Production.INFO: count ==21
[2025-01-07 09:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194086') start
[2025-01-07 09:49:03] Production.INFO: Date 2024-12-12
[2025-01-07 09:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:49:04] Production.ERROR: done
[2025-01-07 09:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:49:04] Production.INFO: Date 2024-12-13
[2025-01-07 09:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194086') end
[2025-01-07 09:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:49:04] Production.INFO: 1
[2025-01-07 09:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:49:04] Production.INFO: Date 2024-12-14
[2025-01-07 09:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:49:04] Production.INFO: ==28098== Releasing lock...
[2025-01-07 09:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:49:04] Production.ERROR: done
[2025-01-07 09:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:49:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:49:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:49:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:49:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:49:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:49:04] Production.INFO: ==28090== Releasing lock...
[2025-01-07 09:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:49:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:49:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:49:04] Production.INFO: Date 2024-12-22
[2025-01-07 09:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:49:04] Production.INFO: Date 2024-12-23
[2025-01-07 09:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:49:04] Production.INFO: Date 2024-12-24
[2025-01-07 09:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:49:04] Production.INFO: Date 2024-12-25
[2025-01-07 09:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:49:04] Production.INFO: Date 2024-12-26
[2025-01-07 09:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:49:04] Production.INFO: Date 2024-12-27
[2025-01-07 09:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:49:04] Production.INFO: Date 2024-12-28
[2025-01-07 09:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:49:04] Production.INFO: Date 2024-12-29
[2025-01-07 09:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:49:04] Production.INFO: Date 2024-12-30
[2025-01-07 09:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:49:04] Production.INFO: Date 2024-12-31
[2025-01-07 09:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:49:04] Production.INFO: Date 2025-01-01
[2025-01-07 09:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:49:04] Production.INFO: Date 2025-01-02
[2025-01-07 09:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:49:04] Production.INFO: Date 2025-01-03
[2025-01-07 09:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:49:05] Production.INFO: Date 2025-01-04
[2025-01-07 09:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:49:05
[end_date_ymd] => 2025-01-07 09:49:05
[RateCDR] => 1
)
[2025-01-07 09:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 06:49:05' and `end` < '2025-01-07 09:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 09:49:05] Production.INFO: Date 2025-01-05
[2025-01-07 09:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:49:05] Production.INFO: Date 2025-01-06
[2025-01-07 09:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:49:05] Production.INFO: Date 2025-01-07
[2025-01-07 09:49:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:49:05] Production.INFO: Total Charge 0
[2025-01-07 09:49:05] Production.INFO: CreateAllLog End
[2025-01-07 09:49:05] Production.INFO: Account Balance End.
[2025-01-07 09:49:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:49:05] Production.INFO: ==28094== Releasing lock...
[2025-01-07 09:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:49:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:49:11] Production.ERROR: CronJobId end10
[2025-01-07 09:49:11] Production.INFO: ==28092== Releasing lock...
[2025-01-07 09:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:49:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:49:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:49:14] Production.INFO: call_cost start
[2025-01-07 09:49:14] Production.INFO: call_cost end
[2025-01-07 09:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:49:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:49:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:49:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:49:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:49:15] Production.INFO: ==28088== Releasing lock...
[2025-01-07 09:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:49:21] Production.INFO: count ==1659
[2025-01-07 09:49:22] Production.ERROR: pbx CDR StartTime 2025-01-07 06:49:05 - End Time 2025-01-07 09:49:05
[2025-01-07 09:49:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:49:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194089', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:49:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194089', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:49:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194089', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:49:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194089', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:49:22] Production.INFO: ProcessCDR(1,14194089,1,1,2)
[2025-01-07 09:49:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194089,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:49:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194089,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:49:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194089,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:49:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194089,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:49:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194089', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:49:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194089', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:49:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:49:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:49:26] Production.INFO: ==28096== Releasing lock...
[2025-01-07 09:49:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:49:26] Production.INFO: 41.25 MB #Memory Used#
[2025-01-07 14:50:01] Production.INFO: ==28152== Lock acquired, processing the job...
[2025-01-07 14:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:50:01] Production.INFO: neon service started
[2025-01-07 14:50:01] Production.INFO: neon service started
[2025-01-07 14:50:01] Production.INFO: ==28152== Releasing lock...
[2025-01-07 14:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:50:02] Production.INFO: ==28155== Lock acquired, processing the job...
[2025-01-07 09:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 14:50:02] Production.INFO: ==28157== Lock acquired, processing the job...
[2025-01-07 14:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:50:02] Production.INFO: ==28157== Releasing lock...
[2025-01-07 14:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:50:02] Production.INFO: ==28155== Releasing lock...
[2025-01-07 09:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:50:03] Production.INFO: ==28159== Lock acquired, processing the job...
[2025-01-07 09:50:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10502 #Starts#
[2025-01-07 09:50:03] Production.INFO: ==28161== Lock acquired, processing the job...
[2025-01-07 09:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 09:50:03] Production.INFO: ==28165== Lock acquired, processing the job...
[2025-01-07 09:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:50:03] Production.INFO: -- Xero Api Check --
[2025-01-07 09:50:03] Production.INFO: ==28167== Lock acquired, processing the job...
[2025-01-07 09:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 09:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 09:50:03] Production.ERROR: CronJob PID - 28165
[2025-01-07 09:50:03] Production.ERROR: CronJob Title - Account Block
[2025-01-07 09:50:03] Production.ERROR: CronJob ID - 7
[2025-01-07 09:50:03] Production.ERROR: CronJob Last Run Time 2025-01-07 09:50:00
[2025-01-07 09:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 09:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 09:50:03] Production.INFO: ==28163== Lock acquired, processing the job...
[2025-01-07 09:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:50:04] Production.INFO: ==28169== Lock acquired, processing the job...
[2025-01-07 09:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 09:50:04] Production.INFO: ==28161== Releasing lock...
[2025-01-07 09:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 09:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 09:50:04] Production.INFO: ==28171== Lock acquired, processing the job...
[2025-01-07 09:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:50:04] Production.INFO: Account Balance Start.
[2025-01-07 09:50:04] Production.INFO: CreateAllLog Start
[2025-01-07 09:50:04] Production.INFO: 117
[2025-01-07 09:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:50:04] Production.INFO: Date 2024-12-08
[2025-01-07 09:50:04] Production.INFO: ==28173== Lock acquired, processing the job...
[2025-01-07 09:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 09:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:50:04] Production.INFO: ==28175== Lock acquired, processing the job...
[2025-01-07 09:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:50:04] Production.INFO: Date 2024-12-09
[2025-01-07 09:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:50:04] Production.INFO: ==28165== Releasing lock...
[2025-01-07 09:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 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-07 09:50:04] Production.INFO: Date 2024-12-10
[2025-01-07 09:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:50:04] Production.ERROR: done
[2025-01-07 09:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:50:04] Production.INFO: count ==21
[2025-01-07 09:50:04] Production.INFO: Date 2024-12-11
[2025-01-07 09:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 09:50:04] Production.INFO: count ==21
[2025-01-07 09:50:04] Production.ERROR: done
[2025-01-07 09:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194093') start
[2025-01-07 09:50:04] Production.INFO: Date 2024-12-12
[2025-01-07 09:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:50:04] Production.ERROR: done
[2025-01-07 09:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 09:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14194094', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 09:50:04] Production.INFO: Date 2024-12-13
[2025-01-07 09:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194093') end
[2025-01-07 09:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:50:04] Production.INFO: 1
[2025-01-07 09:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:50:04] Production.INFO: Date 2024-12-14
[2025-01-07 09:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:50:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:50:04] Production.INFO: ==28175== Releasing lock...
[2025-01-07 09:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:50:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:50:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:50:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:50:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:50:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:50:05] Production.INFO: Date 2024-12-21
[2025-01-07 09:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:50:05] Production.INFO: Date 2024-12-22
[2025-01-07 09:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:50:05] Production.INFO: Date 2024-12-23
[2025-01-07 09:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:50:05] Production.INFO: Date 2024-12-24
[2025-01-07 09:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:50:05] Production.INFO: Date 2024-12-25
[2025-01-07 09:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:50:05] Production.INFO: Date 2024-12-26
[2025-01-07 09:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:50:05] Production.INFO: Date 2024-12-27
[2025-01-07 09:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:50:05] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 855
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 1.229494
[namelookup_time] => 0.535319
[connect_time] => 0.63241
[pretransfer_time] => 1.000626
[size_upload] => 82
[size_download] => 2755
[speed_download] => 2240
[speed_upload] => 66
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 1.229446
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 2.22.251.42
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 38344
)
[2025-01-07 09:50:05] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNjE0MDUsImV4cCI6MTczNjI2MTcwNSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjYxNDA1LCJhdF9oYXNoIjoiNWZwcUtxRU1LSGxFazJuajBFZTFNdyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.ebYAr66mGqcXMRCNacvq5wks6BOmJSVuOc69Fa1qzXAMJ9BkE4L0Kbs6eY7-HXpjgi2AbL6DpRG-gfm6OVyNf0fHh8abhiFZ8jlGYMBftjuiKjYefGkr8EwUN0P5Iz68HF10Z9OgELlRPy79BibyRMrLpeaUxKJ-X--jdvUjU-u1QPJFj5XWOMphL3AG0qh79x8FCBkFIVKvIeGV6-f1EbWm_fJxBJa6XA1K-Sz-5OgNBZcvG0ANjku8BrUbCDmXTue4yQgDGErLRU2DBvvhLKcmoczZV79WRPCW3z7ngtE_n3c-6jgmQz-JWWZBwiD9NhOhbi7O8JnYuaUpEP8muQ
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNjE0MDUsImV4cCI6MTczNjI2MzIwNSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.ZQHJM8iAE_DUqcHgFPJBaLwKq-gywUkANa1i7y27sXI_lISkwEHMD5cnJxfIK9rU1p0FOnaONHw4FQFRLxvF6383AP_BwisFz5AmrsK9qFdAHPE-KV-qs8OHxgern1qRxH6at7bImelap2pgtCAugLDSXoFoNjYeSuwHmo6oBR34GEFAg_tA9yIc5PEHC7o6DI4f8RyW0hAgLKKkiSv-7ZFrQPo8l-l3Fq1E2y_IZ8RRwjMTWC8fwxVLieucHHJjri9Gwrwzu8ooRB_Gl_oBVFNoPgM21Zhpos_bEPiLzmNkdD-sUrKFRDCAUi7zChxa9WT4mHVAL75dnFw6Ui07HA
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => IdUHELH9VKG7mNvIukrkbfGlPdunFtWm8xCtIaRXz44
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 09:50:05] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNjE0MDUsImV4cCI6MTczNjI2MTcwNSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjYxNDA1LCJhdF9oYXNoIjoiNWZwcUtxRU1LSGxFazJuajBFZTFNdyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.ebYAr66mGqcXMRCNacvq5wks6BOmJSVuOc69Fa1qzXAMJ9BkE4L0Kbs6eY7-HXpjgi2AbL6DpRG-gfm6OVyNf0fHh8abhiFZ8jlGYMBftjuiKjYefGkr8EwUN0P5Iz68HF10Z9OgELlRPy79BibyRMrLpeaUxKJ-X--jdvUjU-u1QPJFj5XWOMphL3AG0qh79x8FCBkFIVKvIeGV6-f1EbWm_fJxBJa6XA1K-Sz-5OgNBZcvG0ANjku8BrUbCDmXTue4yQgDGErLRU2DBvvhLKcmoczZV79WRPCW3z7ngtE_n3c-6jgmQz-JWWZBwiD9NhOhbi7O8JnYuaUpEP8muQ
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNjE0MDUsImV4cCI6MTczNjI2MzIwNSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.ZQHJM8iAE_DUqcHgFPJBaLwKq-gywUkANa1i7y27sXI_lISkwEHMD5cnJxfIK9rU1p0FOnaONHw4FQFRLxvF6383AP_BwisFz5AmrsK9qFdAHPE-KV-qs8OHxgern1qRxH6at7bImelap2pgtCAugLDSXoFoNjYeSuwHmo6oBR34GEFAg_tA9yIc5PEHC7o6DI4f8RyW0hAgLKKkiSv-7ZFrQPo8l-l3Fq1E2y_IZ8RRwjMTWC8fwxVLieucHHJjri9Gwrwzu8ooRB_Gl_oBVFNoPgM21Zhpos_bEPiLzmNkdD-sUrKFRDCAUi7zChxa9WT4mHVAL75dnFw6Ui07HA
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => IdUHELH9VKG7mNvIukrkbfGlPdunFtWm8xCtIaRXz44
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 09:50:05] Production.INFO: AccountID 241
[2025-01-07 09:50:05] Production.INFO: Date 2024-12-28
[2025-01-07 09:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:50:05] Production.INFO: AccountName Quiznos 15192 (Akshay Naik)
[2025-01-07 09:50:05] Production.INFO: Checkcustomer
[2025-01-07 09:50:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015192%20%28Akshay%20Naik%29"
[2025-01-07 09:50:05] Production.INFO: Date 2024-12-29
[2025-01-07 09:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:50:05] Production.INFO: Date 2024-12-30
[2025-01-07 09:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:50:05] Production.INFO: Date 2024-12-31
[2025-01-07 09:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:50:05] Production.INFO: Date 2025-01-01
[2025-01-07 09:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:50:05] Production.INFO: Date 2025-01-02
[2025-01-07 09:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:50:05] Production.INFO: Date 2025-01-03
[2025-01-07 09:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:50:05] Production.INFO: Date 2025-01-04
[2025-01-07 09:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:50:05] Production.INFO: Date 2025-01-05
[2025-01-07 09:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:50:05] Production.INFO: Date 2025-01-06
[2025-01-07 09:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:50:05] Production.INFO: Date 2025-01-07
[2025-01-07 09:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:50:05] Production.INFO: Total Charge 0
[2025-01-07 09:50:05] Production.INFO: CreateAllLog End
[2025-01-07 09:50:05] Production.INFO: Account Balance End.
[2025-01-07 09:50:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:50:05] Production.INFO: ==28169== Releasing lock...
[2025-01-07 09:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:50:06
[end_date_ymd] => 2025-01-07 09:50:06
[RateCDR] => 1
)
[2025-01-07 09:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 06:50:06' and `end` < '2025-01-07 09:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 09:50:08] Production.INFO: Contact id print CheckCustomer Case===9f823e1c-f0d1-4915-b9fd-4b0d691e058e
[2025-01-07 09:50:08] Production.INFO: -- count --1
[2025-01-07 09:50:08] Production.INFO: -- Xero Add Inovice --
[2025-01-07 09:50:08] Production.INFO: CheckInvoice xerov2: INV10868
[2025-01-07 09:50:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10868
[2025-01-07 09:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14194094', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 09:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 09:50:09] Production.INFO: ProcessCDR(1,14194094,1,1,2)
[2025-01-07 09:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14194094,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14194094,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:50:09] Production.INFO: ==28173== Releasing lock...
[2025-01-07 09:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 09:50:09] Production.INFO: 26 MB #Memory Used#
[2025-01-07 09:50:10] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 09:50:10] Production.INFO: ========================== Exception occured =============================
[2025-01-07 09:50:10] Production.ERROR: exception 'ErrorException' with message 'Undefined offset: 48' in /var/www/html/onswitch.neon.service/app/lib/XeroV2.php:0
Stack trace:
#0 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined offse...', '/var/www/html/o...', 0, Array)
#1 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->GetInvoiceData()
#2 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->CreateInvoice()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/XeroInvoicePostV2.php(0): App\Lib\XeroV2->addInvoices()
#4 [internal function]: App\Console\Commands\XeroInvoicePostV2->fire()
#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\XeroInvoicePostV2), 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-07 09:50:10] Production.INFO: ========================== Exception updated in job and email sent =============================
[2025-01-07 09:50:10] Production.INFO: ==28159== Releasing lock...
[2025-01-07 09:50:10] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10502 #Stops#
[2025-01-07 09:50:10] Production.INFO: 27.5 MB #Memory Used#
[2025-01-07 09:50:13] Production.ERROR: CronJobId end10
[2025-01-07 09:50:13] Production.INFO: ==28167== Releasing lock...
[2025-01-07 09:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:50:15] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:50:15] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:50:15] Production.INFO: call_cost start
[2025-01-07 09:50:15] Production.INFO: call_cost end
[2025-01-07 09:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:50:16] Production.INFO: ==28163== Releasing lock...
[2025-01-07 09:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:50:24] Production.INFO: count ==1682
[2025-01-07 09:50:25] Production.ERROR: pbx CDR StartTime 2025-01-07 06:50:06 - End Time 2025-01-07 09:50:06
[2025-01-07 09:50:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:50:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194095', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:50:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194095', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:50:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194095', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:50:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194095', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:50:25] Production.INFO: ProcessCDR(1,14194095,1,1,2)
[2025-01-07 09:50:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194095,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:50:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194095,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:50:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194095,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:50:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194095,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:50:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194095', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:50:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194095', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:50:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:50:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:50:30] Production.INFO: ==28171== Releasing lock...
[2025-01-07 09:50:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:50:30] Production.INFO: 41 MB #Memory Used#
[2025-01-07 14:51:01] Production.INFO: ==28233== Lock acquired, processing the job...
[2025-01-07 14:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:51:01] Production.INFO: neon service started
[2025-01-07 14:51:01] Production.INFO: neon service started
[2025-01-07 14:51:01] Production.INFO: ==28233== Releasing lock...
[2025-01-07 14:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 14:51:02] Production.INFO: ==28237== Lock acquired, processing the job...
[2025-01-07 14:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:51:02] Production.INFO: ==28237== Releasing lock...
[2025-01-07 14:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:51:02] Production.INFO: ==28235== Lock acquired, processing the job...
[2025-01-07 09:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:51:02] Production.INFO: ==28235== Releasing lock...
[2025-01-07 09:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:51:03] Production.INFO: ==28240== Lock acquired, processing the job...
[2025-01-07 09:51:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10503 #Starts#
[2025-01-07 09:51:03] Production.INFO: -- Xero Api Check --
[2025-01-07 09:51:03] Production.INFO: ==28242== Lock acquired, processing the job...
[2025-01-07 09:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:51:03] Production.INFO: ==28244== Lock acquired, processing the job...
[2025-01-07 09:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:51:03] Production.INFO: ==28246== Lock acquired, processing the job...
[2025-01-07 09:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:51:03] Production.INFO: ==28248== Lock acquired, processing the job...
[2025-01-07 09:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:51:03] Production.INFO: ==28250== Lock acquired, processing the job...
[2025-01-07 09:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:51:03] Production.INFO: Account Balance Start.
[2025-01-07 09:51:03] Production.INFO: CreateAllLog Start
[2025-01-07 09:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:51:03] Production.INFO: 117
[2025-01-07 09:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:51:03] Production.INFO: Date 2024-12-08
[2025-01-07 09:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:51:04] Production.INFO: ==28252== Lock acquired, processing the job...
[2025-01-07 09:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:51:04] Production.INFO: Date 2024-12-09
[2025-01-07 09:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:51:04] Production.INFO: Date 2024-12-10
[2025-01-07 09:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:51:04] Production.INFO: Date 2024-12-11
[2025-01-07 09:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:51:04] Production.INFO: ==28244== Releasing lock...
[2025-01-07 09:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:51:04] Production.INFO: Date 2024-12-12
[2025-01-07 09:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:51:04] Production.INFO: count ==21
[2025-01-07 09:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:51:04] Production.INFO: count ==21
[2025-01-07 09:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194099') start
[2025-01-07 09:51:04] Production.INFO: Date 2024-12-13
[2025-01-07 09:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:51:04] Production.INFO: Date 2024-12-14
[2025-01-07 09:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:51: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] => 856
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.737189
[namelookup_time] => 0.272009
[connect_time] => 0.273973
[pretransfer_time] => 0.576268
[size_upload] => 82
[size_download] => 2755
[speed_download] => 3737
[speed_upload] => 111
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.737153
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.33
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 43592
)
[2025-01-07 09:51:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNjE0NjQsImV4cCI6MTczNjI2MTc2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjYxNDY0LCJhdF9oYXNoIjoiUnhDNGRKN3lyVjEtWXNJN3RlOFJpdyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.aGfZfR_LC9pUWZaG8fHDF4f3Y4coIKt1nUmgg6iyRnKVS390pAv9vYOZFEUdCPekO0yuedv0XrMu9TMalL7Ip0QQEjrx_yO2kKW1VUESOuD8wChBxnyXECPmsNhpMYssVIVa5mwOeISrUgC44ecAgkVt7phn9FRdJVcwDlolRB49qv7PwK0zCzWXb0NB1ey9CYv6P54HER1SVcIXb_Wm71jaua_4NjFgZ6l468CDgCSAHRphn9fIRXCp6tECsRXCopDJqLItUOZ3xJahFaO8VpyDoQCaMYd187OXs7pLKmZ68Fx_nTpU4pPw3KN5LrnJdwvPRkHSGyrPCl2w_Dlimg
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNjE0NjQsImV4cCI6MTczNjI2MzI2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.tDMlKLEpAM9ahn8ggNlZadseRxGe_t_3jnlomj9hE68Lja4yJbDP0Hq9U7FWVxLkHDxWB6DtGAKMSfJt6zhcOAqwnf1hOZ_g2CofcxllbEOEFVhv52HrdFpujzo6W4LZjlt92lwY0DI8s3ej9Tsp6A7n4jdJRj-Mg7GfzaXD9iG__r_oecxhN2wVhprnzM4E191e10sYWcidxByZ2x_oOMG2udTu6B-AdFNORPAqBP_-NSPSvePKyp4t4DaHt5d-L0AmVGzZotgRD3feUmQ7WT2eD38aMykh7a-914qcP_5hh1EG_1QiP5EPWQ6b3NDbVR3HeIOi7MzNirAcMbxwkw
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => aU4IBeegT7f1dj7QKgLj6APWAqgcpqU59qheAY4fPto
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 09:51:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:51:04] Production.ERROR: done
[2025-01-07 09:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:51:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:51:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNjE0NjQsImV4cCI6MTczNjI2MTc2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjYxNDY0LCJhdF9oYXNoIjoiUnhDNGRKN3lyVjEtWXNJN3RlOFJpdyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.aGfZfR_LC9pUWZaG8fHDF4f3Y4coIKt1nUmgg6iyRnKVS390pAv9vYOZFEUdCPekO0yuedv0XrMu9TMalL7Ip0QQEjrx_yO2kKW1VUESOuD8wChBxnyXECPmsNhpMYssVIVa5mwOeISrUgC44ecAgkVt7phn9FRdJVcwDlolRB49qv7PwK0zCzWXb0NB1ey9CYv6P54HER1SVcIXb_Wm71jaua_4NjFgZ6l468CDgCSAHRphn9fIRXCp6tECsRXCopDJqLItUOZ3xJahFaO8VpyDoQCaMYd187OXs7pLKmZ68Fx_nTpU4pPw3KN5LrnJdwvPRkHSGyrPCl2w_Dlimg
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNjE0NjQsImV4cCI6MTczNjI2MzI2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.tDMlKLEpAM9ahn8ggNlZadseRxGe_t_3jnlomj9hE68Lja4yJbDP0Hq9U7FWVxLkHDxWB6DtGAKMSfJt6zhcOAqwnf1hOZ_g2CofcxllbEOEFVhv52HrdFpujzo6W4LZjlt92lwY0DI8s3ej9Tsp6A7n4jdJRj-Mg7GfzaXD9iG__r_oecxhN2wVhprnzM4E191e10sYWcidxByZ2x_oOMG2udTu6B-AdFNORPAqBP_-NSPSvePKyp4t4DaHt5d-L0AmVGzZotgRD3feUmQ7WT2eD38aMykh7a-914qcP_5hh1EG_1QiP5EPWQ6b3NDbVR3HeIOi7MzNirAcMbxwkw
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => aU4IBeegT7f1dj7QKgLj6APWAqgcpqU59qheAY4fPto
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 09:51:04] Production.INFO: AccountID 227
[2025-01-07 09:51:04] Production.INFO: AccountName Quiznos 15184 (Akshay Naik)
[2025-01-07 09:51:04] Production.INFO: Checkcustomer
[2025-01-07 09:51:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015184%20%28Akshay%20Naik%29"
[2025-01-07 09:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194099') end
[2025-01-07 09:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:51:04] Production.INFO: 1
[2025-01-07 09:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:51:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:51:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:51:04] Production.INFO: ==28252== Releasing lock...
[2025-01-07 09:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:51:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:51:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:51:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:51:04] Production.ERROR: done
[2025-01-07 09:51:04] Production.INFO: Date 2024-12-22
[2025-01-07 09:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:51:04] Production.INFO: Date 2024-12-23
[2025-01-07 09:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:51:04] Production.INFO: Date 2024-12-24
[2025-01-07 09:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:51:04] Production.INFO: Date 2024-12-25
[2025-01-07 09:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:51:04] Production.INFO: Date 2024-12-26
[2025-01-07 09:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:51:04] Production.INFO: Date 2024-12-27
[2025-01-07 09:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:51:04] Production.INFO: Date 2024-12-28
[2025-01-07 09:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:51:05] Production.INFO: Date 2024-12-29
[2025-01-07 09:51:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:51:05] Production.INFO: Date 2024-12-30
[2025-01-07 09:51:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:51:05] Production.INFO: Date 2024-12-31
[2025-01-07 09:51:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:51:05] Production.INFO: Date 2025-01-01
[2025-01-07 09:51:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:51:05] Production.INFO: Date 2025-01-02
[2025-01-07 09:51:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:51:05] Production.INFO: Date 2025-01-03
[2025-01-07 09:51:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:51:05] Production.INFO: Date 2025-01-04
[2025-01-07 09:51:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:51:05] Production.INFO: Date 2025-01-05
[2025-01-07 09:51:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:51:05] Production.INFO: Date 2025-01-06
[2025-01-07 09:51:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:51:05
[end_date_ymd] => 2025-01-07 09:51:05
[RateCDR] => 1
)
[2025-01-07 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-07 06:51:05' and `end` < '2025-01-07 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-07 09:51:05] Production.INFO: Date 2025-01-07
[2025-01-07 09:51:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:51:05] Production.INFO: Total Charge 0
[2025-01-07 09:51:05] Production.INFO: CreateAllLog End
[2025-01-07 09:51:05] Production.INFO: Account Balance End.
[2025-01-07 09:51:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:51:05] Production.INFO: ==28248== Releasing lock...
[2025-01-07 09:51:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:51:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:51:07] Production.INFO: Contact id print CheckCustomer Case===7d4d8a6e-9b66-4daf-be5c-0e7e0524121b
[2025-01-07 09:51:07] Production.INFO: -- count --1
[2025-01-07 09:51:07] Production.INFO: AccountID 227
[2025-01-07 09:51:07] Production.INFO: AccountName Quiznos 15184 (Akshay Naik)
[2025-01-07 09:51:07] Production.INFO: Checkcustomer
[2025-01-07 09:51:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015184%20%28Akshay%20Naik%29"
[2025-01-07 09:51:10] Production.INFO: Contact id print CheckCustomer Case===7d4d8a6e-9b66-4daf-be5c-0e7e0524121b
[2025-01-07 09:51:10] Production.INFO: -- count --1
[2025-01-07 09:51:10] Production.INFO: -- Xero Add Inovice --
[2025-01-07 09:51:10] Production.INFO: CheckInvoice xerov2: INV10869
[2025-01-07 09:51:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10869
[2025-01-07 09:51:12] Production.ERROR: CronJobId end10
[2025-01-07 09:51:12] Production.INFO: ==28246== Releasing lock...
[2025-01-07 09:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:51:13] Production.INFO: Check Invoice Id XEROV20
[2025-01-07 09:51:13] Production.INFO: ========================== Exception occured =============================
[2025-01-07 09:51:13] Production.ERROR: exception 'ErrorException' with message 'Undefined offset: 48' in /var/www/html/onswitch.neon.service/app/lib/XeroV2.php:0
Stack trace:
#0 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined offse...', '/var/www/html/o...', 0, Array)
#1 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->GetInvoiceData()
#2 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->CreateInvoice()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/XeroInvoicePostV2.php(0): App\Lib\XeroV2->addInvoices()
#4 [internal function]: App\Console\Commands\XeroInvoicePostV2->fire()
#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\XeroInvoicePostV2), 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-07 09:51:13] Production.INFO: ========================== Exception updated in job and email sent =============================
[2025-01-07 09:51:13] Production.INFO: ==28240== Releasing lock...
[2025-01-07 09:51:13] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10503 #Stops#
[2025-01-07 09:51:13] Production.INFO: 27.5 MB #Memory Used#
[2025-01-07 09:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:51:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:51:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:51:13] Production.INFO: call_cost start
[2025-01-07 09:51:13] Production.INFO: call_cost end
[2025-01-07 09:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:51:14] Production.INFO: ==28242== Releasing lock...
[2025-01-07 09:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:51:23] Production.INFO: count ==1773
[2025-01-07 09:51:24] Production.ERROR: pbx CDR StartTime 2025-01-07 06:51:05 - End Time 2025-01-07 09:51:05
[2025-01-07 09:51:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:51:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194100', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:51:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194100', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:51:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194100', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:51:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194100', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:51:24] Production.INFO: ProcessCDR(1,14194100,1,1,2)
[2025-01-07 09:51:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194100,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:51:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194100,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:51:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194100,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:51:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194100,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:51:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194100', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:51:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194100', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:51:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:51:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:51:28] Production.INFO: ==28250== Releasing lock...
[2025-01-07 09:51:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:51:28] Production.INFO: 41.25 MB #Memory Used#
[2025-01-07 14:52:01] Production.INFO: ==28315== Lock acquired, processing the job...
[2025-01-07 14:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:52:01] Production.INFO: neon service started
[2025-01-07 14:52:01] Production.INFO: neon service started
[2025-01-07 14:52:01] Production.INFO: ==28315== Releasing lock...
[2025-01-07 14:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 14:52:02] Production.INFO: ==28319== Lock acquired, processing the job...
[2025-01-07 14:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:52:02] Production.INFO: ==28319== Releasing lock...
[2025-01-07 14:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:52:02] Production.INFO: ==28317== Lock acquired, processing the job...
[2025-01-07 09:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:52:02] Production.INFO: ==28317== Releasing lock...
[2025-01-07 09:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:52:03] Production.INFO: ==28330== Lock acquired, processing the job...
[2025-01-07 09:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:52:03] Production.INFO: ==28332== Lock acquired, processing the job...
[2025-01-07 09:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:52:03] Production.INFO: ==28324== Lock acquired, processing the job...
[2025-01-07 09:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:52:03] Production.INFO: ==28322== Lock acquired, processing the job...
[2025-01-07 09:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:52:03] Production.INFO: ==28326== Lock acquired, processing the job...
[2025-01-07 09:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:52:03] Production.INFO: count ==21
[2025-01-07 09:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:52:03] Production.INFO: count ==21
[2025-01-07 09:52:03] Production.INFO: ==28328== Lock acquired, processing the job...
[2025-01-07 09:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194101') start
[2025-01-07 09:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:52:03] Production.ERROR: done
[2025-01-07 09:52:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194101') end
[2025-01-07 09:52:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:52:03] Production.INFO: 1
[2025-01-07 09:52:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:52:03] Production.INFO: Account Balance Start.
[2025-01-07 09:52:03] Production.INFO: CreateAllLog Start
[2025-01-07 09:52:03] Production.INFO: 117
[2025-01-07 09:52:03] Production.ERROR: done
[2025-01-07 09:52:03] Production.INFO: Date 2024-12-08
[2025-01-07 09:52:03] Production.INFO: ==28332== Releasing lock...
[2025-01-07 09:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:52:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:52:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:52:03] Production.INFO: Date 2024-12-09
[2025-01-07 09:52:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:52:03] Production.INFO: Date 2024-12-10
[2025-01-07 09:52:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:52:03] Production.INFO: Date 2024-12-11
[2025-01-07 09:52:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:52:03] Production.INFO: Date 2024-12-12
[2025-01-07 09:52:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:52:04] Production.INFO: ==28324== Releasing lock...
[2025-01-07 09:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:52:04] Production.INFO: Date 2024-12-13
[2025-01-07 09:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:52:04] Production.INFO: Date 2024-12-14
[2025-01-07 09:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:52:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:52:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:52:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:52:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:52:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:52:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:52:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:52:04] Production.INFO: Date 2024-12-22
[2025-01-07 09:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:52:04] Production.INFO: Date 2024-12-23
[2025-01-07 09:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:52:04] Production.INFO: Date 2024-12-24
[2025-01-07 09:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:52:04] Production.INFO: Date 2024-12-25
[2025-01-07 09:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:52:04] Production.INFO: Date 2024-12-26
[2025-01-07 09:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:52:04] Production.INFO: Date 2024-12-27
[2025-01-07 09:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:52:04] Production.INFO: Date 2024-12-28
[2025-01-07 09:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:52:04] Production.INFO: Date 2024-12-29
[2025-01-07 09:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:52:04] Production.INFO: Date 2024-12-30
[2025-01-07 09:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:52:04] Production.INFO: Date 2024-12-31
[2025-01-07 09:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:52:04] Production.INFO: Date 2025-01-01
[2025-01-07 09:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:52:04] Production.INFO: Date 2025-01-02
[2025-01-07 09:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:52:04] Production.INFO: Date 2025-01-03
[2025-01-07 09:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:52:04] Production.INFO: Date 2025-01-04
[2025-01-07 09:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:52:04] Production.INFO: Date 2025-01-05
[2025-01-07 09:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:52:04] Production.INFO: Date 2025-01-06
[2025-01-07 09:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:52:04] Production.INFO: Date 2025-01-07
[2025-01-07 09:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:52:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:52:04
[end_date_ymd] => 2025-01-07 09:52:04
[RateCDR] => 1
)
[2025-01-07 09: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-07 06:52:04' and `end` < '2025-01-07 09:52:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 09:52:04] Production.INFO: Total Charge 0
[2025-01-07 09:52:04] Production.INFO: CreateAllLog End
[2025-01-07 09:52:05] Production.INFO: Account Balance End.
[2025-01-07 09:52:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:52:05] Production.INFO: ==28328== Releasing lock...
[2025-01-07 09:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:52:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:52:12] Production.ERROR: CronJobId end10
[2025-01-07 09:52:12] Production.INFO: ==28326== Releasing lock...
[2025-01-07 09:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:52:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:52:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:52:14] Production.INFO: call_cost start
[2025-01-07 09:52:14] Production.INFO: call_cost end
[2025-01-07 09:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:52:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:52:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:52:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:52:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:52:15] Production.INFO: ==28322== Releasing lock...
[2025-01-07 09:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:52:18] Production.INFO: count ==1778
[2025-01-07 09:52:18] Production.ERROR: pbx CDR StartTime 2025-01-07 06:52:04 - End Time 2025-01-07 09:52:04
[2025-01-07 09:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194105', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194105', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194105', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194105', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:52:18] Production.INFO: ProcessCDR(1,14194105,1,1,2)
[2025-01-07 09:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194105,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194105,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194105,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194105,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194105', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194105', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:52:22] Production.INFO: ==28330== Releasing lock...
[2025-01-07 09:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:52:22] Production.INFO: 42 MB #Memory Used#
[2025-01-07 14:53:01] Production.INFO: ==28388== Lock acquired, processing the job...
[2025-01-07 14:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:53:01] Production.INFO: neon service started
[2025-01-07 14:53:01] Production.INFO: neon service started
[2025-01-07 14:53:01] Production.INFO: ==28388== Releasing lock...
[2025-01-07 14:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 14:53:02] Production.INFO: ==28393== Lock acquired, processing the job...
[2025-01-07 14:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:53:02] Production.INFO: ==28393== Releasing lock...
[2025-01-07 14:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:53:02] Production.INFO: ==28391== Lock acquired, processing the job...
[2025-01-07 09:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:53:02] Production.INFO: ==28391== Releasing lock...
[2025-01-07 09:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:53:03] Production.INFO: ==28395== Lock acquired, processing the job...
[2025-01-07 09:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:53:03] Production.INFO: ==28399== Lock acquired, processing the job...
[2025-01-07 09:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:53:03] Production.INFO: ==28403== Lock acquired, processing the job...
[2025-01-07 09:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:53:03] Production.INFO: ==28397== Lock acquired, processing the job...
[2025-01-07 09:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:53:03] Production.INFO: ==28401== Lock acquired, processing the job...
[2025-01-07 09:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:53:03] Production.INFO: ==28405== Lock acquired, processing the job...
[2025-01-07 09:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:53:03] Production.ERROR: done
[2025-01-07 09:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:53:03] Production.INFO: Account Balance Start.
[2025-01-07 09:53:03] Production.INFO: CreateAllLog Start
[2025-01-07 09:53:03] Production.INFO: 117
[2025-01-07 09:53:03] Production.INFO: Date 2024-12-08
[2025-01-07 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-07 09:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:53:03] Production.INFO: Date 2024-12-09
[2025-01-07 09:53:03] Production.INFO: count ==21
[2025-01-07 09:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 09:53:04] Production.INFO: count ==21
[2025-01-07 09:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194109') start
[2025-01-07 09:53:04] Production.ERROR: done
[2025-01-07 09:53:04] Production.INFO: ==28397== Releasing lock...
[2025-01-07 09:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:53:04] Production.INFO: Date 2024-12-10
[2025-01-07 09:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:53:04] Production.INFO: Date 2024-12-11
[2025-01-07 09:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:53:04] Production.INFO: Date 2024-12-12
[2025-01-07 09:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:53:04] Production.INFO: Date 2024-12-13
[2025-01-07 09:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:53:04] Production.INFO: Date 2024-12-14
[2025-01-07 09:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:53:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194109') end
[2025-01-07 09:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:53:04] Production.INFO: 1
[2025-01-07 09:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:53:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:53:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:53:04] Production.INFO: ==28405== Releasing lock...
[2025-01-07 09:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:53:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:53:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:53:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:53:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:53:04] Production.INFO: Date 2024-12-22
[2025-01-07 09:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:53:04] Production.INFO: Date 2024-12-23
[2025-01-07 09:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:53:04] Production.INFO: Date 2024-12-24
[2025-01-07 09:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:53:04] Production.INFO: Date 2024-12-25
[2025-01-07 09:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:53:04] Production.INFO: Date 2024-12-26
[2025-01-07 09:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:53:04] Production.INFO: Date 2024-12-27
[2025-01-07 09:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:53:04] Production.INFO: Date 2024-12-28
[2025-01-07 09:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:53:04] Production.INFO: Date 2024-12-29
[2025-01-07 09:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:53:04] Production.INFO: Date 2024-12-30
[2025-01-07 09:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:53:04] Production.INFO: Date 2024-12-31
[2025-01-07 09:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:53:04] Production.INFO: Date 2025-01-01
[2025-01-07 09:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:53:04] Production.INFO: Date 2025-01-02
[2025-01-07 09:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:53:04] Production.INFO: Date 2025-01-03
[2025-01-07 09:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:53:04] Production.INFO: Date 2025-01-04
[2025-01-07 09:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:53:05] Production.INFO: Date 2025-01-05
[2025-01-07 09:53:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:53:05] Production.INFO: Date 2025-01-06
[2025-01-07 09:53:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:53:05] Production.INFO: Date 2025-01-07
[2025-01-07 09:53:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:53:05
[end_date_ymd] => 2025-01-07 09:53:05
[RateCDR] => 1
)
[2025-01-07 09:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 06:53:05' and `end` < '2025-01-07 09:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 09:53:05] Production.INFO: Total Charge 0
[2025-01-07 09:53:05] Production.INFO: CreateAllLog End
[2025-01-07 09:53:05] Production.INFO: Account Balance End.
[2025-01-07 09:53:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:53:05] Production.INFO: ==28401== Releasing lock...
[2025-01-07 09:53:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:53:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:53:10] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php: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-07 09:53:10] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:53:10] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:53:10] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:53:10] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:53:10] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:53:10] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:53:10] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:53:10] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:53:10] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:53:10] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:53:10] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:53:10] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:53:10] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:53:10] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:53:11] Production.INFO: call_cost start
[2025-01-07 09:53:11] Production.INFO: call_cost end
[2025-01-07 09:53:11] Production.ERROR: CronJobId end10
[2025-01-07 09:53:11] Production.INFO: ==28399== Releasing lock...
[2025-01-07 09:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:53:11] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:53:11] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:53:11] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:53:11] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:53:11] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:53:11] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:53:11] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:53:11] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:53:11] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:53:12] Production.INFO: ==28395== Releasing lock...
[2025-01-07 09:53:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:53:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:53:18] Production.INFO: count ==1790
[2025-01-07 09:53:18] Production.ERROR: pbx CDR StartTime 2025-01-07 06:53:05 - End Time 2025-01-07 09:53:05
[2025-01-07 09:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194110', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194110', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194110', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194110', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:53:19] Production.INFO: ProcessCDR(1,14194110,1,1,2)
[2025-01-07 09:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194110,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:53:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194110,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:53:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194110,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:53:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194110,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194110', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194110', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:53:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:53:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:53:23] Production.INFO: ==28403== Releasing lock...
[2025-01-07 09:53:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:53:23] Production.INFO: 42.25 MB #Memory Used#
[2025-01-07 14:54:02] Production.INFO: ==28460== Lock acquired, processing the job...
[2025-01-07 14:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:54:02] Production.INFO: neon service started
[2025-01-07 14:54:02] Production.INFO: neon service started
[2025-01-07 14:54:02] Production.INFO: ==28460== Releasing lock...
[2025-01-07 14:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:54:02] Production.INFO: ==28462== Lock acquired, processing the job...
[2025-01-07 09:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:54:02] Production.INFO: ==28462== Releasing lock...
[2025-01-07 09:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 14:54:03] Production.INFO: ==28464== Lock acquired, processing the job...
[2025-01-07 14:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:54:03] Production.INFO: ==28464== Releasing lock...
[2025-01-07 14:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:54:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:54:03] Production.INFO: ==28471== Lock acquired, processing the job...
[2025-01-07 09:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:54:03] Production.INFO: ==28473== Lock acquired, processing the job...
[2025-01-07 09:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:54:03] Production.INFO: ==28467== Lock acquired, processing the job...
[2025-01-07 09:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:54:03] Production.INFO: Account Balance Start.
[2025-01-07 09:54:03] Production.INFO: CreateAllLog Start
[2025-01-07 09:54:03] Production.INFO: 117
[2025-01-07 09:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:54:03] Production.INFO: Date 2024-12-08
[2025-01-07 09:54:03] Production.INFO: ==28469== Lock acquired, processing the job...
[2025-01-07 09:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:54:04] Production.INFO: Date 2024-12-09
[2025-01-07 09:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:54:04] Production.INFO: Date 2024-12-10
[2025-01-07 09:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:54:04] Production.INFO: Date 2024-12-11
[2025-01-07 09:54:04] Production.INFO: ==28477== Lock acquired, processing the job...
[2025-01-07 09:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:54:04] Production.INFO: ==28475== Lock acquired, processing the job...
[2025-01-07 09:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:54:04] Production.INFO: Date 2024-12-12
[2025-01-07 09:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:54:04] Production.INFO: Date 2024-12-13
[2025-01-07 09:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 09:54:04] Production.INFO: count ==21
[2025-01-07 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-07 09:54:04] Production.INFO: Date 2024-12-14
[2025-01-07 09:54:04] Production.INFO: count ==21
[2025-01-07 09:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194114') start
[2025-01-07 09:54:04] Production.INFO: ==28469== Releasing lock...
[2025-01-07 09:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:54:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:54:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194114') end
[2025-01-07 09:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:54:04] Production.INFO: 1
[2025-01-07 09:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:54:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:54:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:54:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:54:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:54:04] Production.ERROR: done
[2025-01-07 09:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:54:04] Production.INFO: ==28477== Releasing lock...
[2025-01-07 09:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:54:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:54:04] Production.INFO: Date 2024-12-22
[2025-01-07 09:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:54:04] Production.ERROR: done
[2025-01-07 09:54:04] Production.INFO: Date 2024-12-23
[2025-01-07 09:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:54:04] Production.INFO: Date 2024-12-24
[2025-01-07 09:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:54:04] Production.INFO: Date 2024-12-25
[2025-01-07 09:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:54:04] Production.INFO: Date 2024-12-26
[2025-01-07 09:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:54:04] Production.INFO: Date 2024-12-27
[2025-01-07 09:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:54:04] Production.INFO: Date 2024-12-28
[2025-01-07 09:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:54:04] Production.INFO: Date 2024-12-29
[2025-01-07 09:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:54:04] Production.INFO: Date 2024-12-30
[2025-01-07 09:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:54:04] Production.INFO: Date 2024-12-31
[2025-01-07 09:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:54:04] Production.INFO: Date 2025-01-01
[2025-01-07 09:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:54:04] Production.INFO: Date 2025-01-02
[2025-01-07 09:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:54:05] Production.INFO: Date 2025-01-03
[2025-01-07 09:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:54:05] Production.INFO: Date 2025-01-04
[2025-01-07 09:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:54:05] Production.INFO: Date 2025-01-05
[2025-01-07 09:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:54:05] Production.INFO: Date 2025-01-06
[2025-01-07 09:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:54:05] Production.INFO: Date 2025-01-07
[2025-01-07 09:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:54:05] Production.INFO: Total Charge 0
[2025-01-07 09:54:05] Production.INFO: CreateAllLog End
[2025-01-07 09:54:05] Production.INFO: Account Balance End.
[2025-01-07 09:54:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:54:05] Production.INFO: ==28473== Releasing lock...
[2025-01-07 09:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:54:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:54:05
[end_date_ymd] => 2025-01-07 09:54:05
[RateCDR] => 1
)
[2025-01-07 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-07 06:54:05' and `end` < '2025-01-07 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-07 09:54:11] Production.ERROR: CronJobId end10
[2025-01-07 09:54:11] Production.INFO: ==28471== Releasing lock...
[2025-01-07 09:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:54:13] Production.INFO: call_cost start
[2025-01-07 09:54:13] Production.INFO: call_cost end
[2025-01-07 09:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:54:14] Production.INFO: ==28467== Releasing lock...
[2025-01-07 09:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:54:24] Production.INFO: count ==1811
[2025-01-07 09:54:24] Production.ERROR: pbx CDR StartTime 2025-01-07 06:54:05 - End Time 2025-01-07 09:54:05
[2025-01-07 09:54:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:54:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194115', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:54:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194115', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:54:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194115', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:54:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194115', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:54:24] Production.INFO: ProcessCDR(1,14194115,1,1,2)
[2025-01-07 09:54:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194115,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:54:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194115,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:54:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194115,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:54:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194115,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:54:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194115', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:54:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194115', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:54:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:54:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:54:29] Production.INFO: ==28475== Releasing lock...
[2025-01-07 09:54:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:54:29] Production.INFO: 42.25 MB #Memory Used#
[2025-01-07 14:55:01] Production.INFO: ==28533== Lock acquired, processing the job...
[2025-01-07 14:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:55:01] Production.INFO: neon service started
[2025-01-07 14:55:01] Production.INFO: neon service started
[2025-01-07 14:55:01] Production.INFO: ==28533== Releasing lock...
[2025-01-07 14:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:55:02] Production.INFO: ==28535== Lock acquired, processing the job...
[2025-01-07 09:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:55:02] Production.INFO: ==28535== Releasing lock...
[2025-01-07 09:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 14:55:02] Production.INFO: ==28537== Lock acquired, processing the job...
[2025-01-07 14:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:55:02] Production.INFO: ==28537== Releasing lock...
[2025-01-07 14:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:55:03] Production.INFO: ==28548== Lock acquired, processing the job...
[2025-01-07 09:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:55:03] Production.INFO: ==28550== Lock acquired, processing the job...
[2025-01-07 09:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:55:03] Production.INFO: ==28544== Lock acquired, processing the job...
[2025-01-07 09:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:55:03] Production.INFO: ==28540== Lock acquired, processing the job...
[2025-01-07 09:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:55:03] Production.INFO: ==28542== Lock acquired, processing the job...
[2025-01-07 09:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:55:03] Production.INFO: ==28546== Lock acquired, processing the job...
[2025-01-07 09:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 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-07 09:55:03] Production.INFO: count ==21
[2025-01-07 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-07 09:55:03] Production.INFO: count ==21
[2025-01-07 09:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194116') start
[2025-01-07 09:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:55:03] Production.INFO: Account Balance Start.
[2025-01-07 09:55:03] Production.INFO: CreateAllLog Start
[2025-01-07 09:55:03] Production.ERROR: done
[2025-01-07 09:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:55:03] Production.INFO: 117
[2025-01-07 09:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:55:03] Production.INFO: Date 2024-12-08
[2025-01-07 09:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194116') end
[2025-01-07 09:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:55:03] Production.INFO: 1
[2025-01-07 09:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:55:03] Production.INFO: ==28550== Releasing lock...
[2025-01-07 09:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:55:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:55:03] Production.INFO: Date 2024-12-09
[2025-01-07 09:55:03] Production.ERROR: done
[2025-01-07 09:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:55:03] Production.INFO: Date 2024-12-10
[2025-01-07 09:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:55:03] Production.INFO: Date 2024-12-11
[2025-01-07 09:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:55:04] Production.INFO: Date 2024-12-12
[2025-01-07 09:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:55:04] Production.INFO: ==28542== Releasing lock...
[2025-01-07 09:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:55:04] Production.INFO: Date 2024-12-13
[2025-01-07 09:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:55:04] Production.INFO: Date 2024-12-14
[2025-01-07 09:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:55:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:55:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:55:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:55:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:55:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:55:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:55:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:55:04] Production.INFO: Date 2024-12-22
[2025-01-07 09:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:55:04] Production.INFO: Date 2024-12-23
[2025-01-07 09:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:55:04] Production.INFO: Date 2024-12-24
[2025-01-07 09:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:55:04] Production.INFO: Date 2024-12-25
[2025-01-07 09:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:55:04] Production.INFO: Date 2024-12-26
[2025-01-07 09:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:55:04] Production.INFO: Date 2024-12-27
[2025-01-07 09:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:55:04] Production.INFO: Date 2024-12-28
[2025-01-07 09:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:55:04] Production.INFO: Date 2024-12-29
[2025-01-07 09:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:55:04] Production.INFO: Date 2024-12-30
[2025-01-07 09:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:55:04] Production.INFO: Date 2024-12-31
[2025-01-07 09:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:55:04] Production.INFO: Date 2025-01-01
[2025-01-07 09:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:55:04] Production.INFO: Date 2025-01-02
[2025-01-07 09:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:55:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:55:04
[end_date_ymd] => 2025-01-07 09:55:04
[RateCDR] => 1
)
[2025-01-07 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-07 06:55:04' and `end` < '2025-01-07 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-07 09:55:04] Production.INFO: Date 2025-01-03
[2025-01-07 09:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:55:05] Production.INFO: Date 2025-01-04
[2025-01-07 09:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:55:05] Production.INFO: Date 2025-01-05
[2025-01-07 09:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:55:05] Production.INFO: Date 2025-01-06
[2025-01-07 09:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:55:05] Production.INFO: Date 2025-01-07
[2025-01-07 09:55:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:55:05] Production.INFO: Total Charge 0
[2025-01-07 09:55:05] Production.INFO: CreateAllLog End
[2025-01-07 09:55:05] Production.INFO: Account Balance End.
[2025-01-07 09:55:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:55:05] Production.INFO: ==28546== Releasing lock...
[2025-01-07 09:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:55:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:55:12] Production.ERROR: CronJobId end10
[2025-01-07 09:55:12] Production.INFO: ==28544== Releasing lock...
[2025-01-07 09:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:55:14] Production.INFO: call_cost start
[2025-01-07 09:55:14] Production.INFO: call_cost end
[2025-01-07 09:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:55:14] Production.INFO: ==28540== Releasing lock...
[2025-01-07 09:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:55:31] Production.INFO: count ==1822
[2025-01-07 09:55:32] Production.ERROR: pbx CDR StartTime 2025-01-07 06:55:04 - End Time 2025-01-07 09:55:04
[2025-01-07 09:55:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:55:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194120', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:55:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194120', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:55:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194120', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:55:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194120', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:55:32] Production.INFO: ProcessCDR(1,14194120,1,1,2)
[2025-01-07 09:55:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194120,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:55:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194120,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:55:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194120,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:55:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194120,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:55:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194120', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:55:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194120', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:55:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:55:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:55:36] Production.INFO: ==28548== Releasing lock...
[2025-01-07 09:55:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:55:36] Production.INFO: 41.75 MB #Memory Used#
[2025-01-07 14:56:02] Production.INFO: ==28604== Lock acquired, processing the job...
[2025-01-07 14:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:56:02] Production.INFO: neon service started
[2025-01-07 14:56:02] Production.INFO: neon service started
[2025-01-07 14:56:02] Production.INFO: ==28604== Releasing lock...
[2025-01-07 14:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 14:56:02] Production.INFO: ==28609== Lock acquired, processing the job...
[2025-01-07 14:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:56:02] Production.INFO: ==28609== Releasing lock...
[2025-01-07 14:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:56:02] Production.INFO: ==28607== Lock acquired, processing the job...
[2025-01-07 09:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:56:03] Production.INFO: ==28607== Releasing lock...
[2025-01-07 09:56:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:56:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 09:56:03] Production.INFO: ==28611== Lock acquired, processing the job...
[2025-01-07 09:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:56:03] Production.INFO: ==28615== Lock acquired, processing the job...
[2025-01-07 09:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:56:04] Production.INFO: ==28619== Lock acquired, processing the job...
[2025-01-07 09:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:56:04] Production.INFO: ==28613== Lock acquired, processing the job...
[2025-01-07 09:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:56:04] Production.INFO: ==28617== Lock acquired, processing the job...
[2025-01-07 09:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:56:04] Production.INFO: ==28621== Lock acquired, processing the job...
[2025-01-07 09:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:56:04] Production.ERROR: done
[2025-01-07 09:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:56:04] Production.INFO: Account Balance Start.
[2025-01-07 09:56:04] Production.INFO: CreateAllLog Start
[2025-01-07 09:56:04] Production.INFO: 117
[2025-01-07 09:56:04] Production.ERROR: done
[2025-01-07 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-07 09:56:04] Production.INFO: Date 2024-12-08
[2025-01-07 09:56:04] Production.INFO: count ==21
[2025-01-07 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-07 09:56:04] Production.INFO: count ==21
[2025-01-07 09:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:56:04] Production.INFO: Date 2024-12-09
[2025-01-07 09:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194124') start
[2025-01-07 09:56:04] Production.INFO: Date 2024-12-10
[2025-01-07 09:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:56:04] Production.INFO: Date 2024-12-11
[2025-01-07 09:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:56:04] Production.INFO: Date 2024-12-12
[2025-01-07 09:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194124') end
[2025-01-07 09:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:56:04] Production.INFO: 1
[2025-01-07 09:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:56:04] Production.INFO: Date 2024-12-13
[2025-01-07 09:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:56:04] Production.INFO: Date 2024-12-14
[2025-01-07 09:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:56:04] Production.INFO: ==28613== Releasing lock...
[2025-01-07 09:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:56:04] Production.INFO: ==28621== Releasing lock...
[2025-01-07 09:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:56:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:56:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:56:05] Production.INFO: Date 2024-12-17
[2025-01-07 09:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:56:05] Production.INFO: Date 2024-12-18
[2025-01-07 09:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:56:05] Production.INFO: Date 2024-12-19
[2025-01-07 09:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:56:05] Production.INFO: Date 2024-12-20
[2025-01-07 09:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:56:05] Production.INFO: Date 2024-12-21
[2025-01-07 09:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:56:05] Production.INFO: Date 2024-12-22
[2025-01-07 09:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:56:05] Production.INFO: Date 2024-12-23
[2025-01-07 09:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:56:05] Production.INFO: Date 2024-12-24
[2025-01-07 09:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:56:05] Production.INFO: Date 2024-12-25
[2025-01-07 09:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:56:05] Production.INFO: Date 2024-12-26
[2025-01-07 09:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:56:05] Production.INFO: Date 2024-12-27
[2025-01-07 09:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:56:05] Production.INFO: Date 2024-12-28
[2025-01-07 09:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:56:05] Production.INFO: Date 2024-12-29
[2025-01-07 09:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:56:05] Production.INFO: Date 2024-12-30
[2025-01-07 09:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:56:05] Production.INFO: Date 2024-12-31
[2025-01-07 09:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:56:05] Production.INFO: Date 2025-01-01
[2025-01-07 09:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:56:05] Production.INFO: Date 2025-01-02
[2025-01-07 09:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:56:05] Production.INFO: Date 2025-01-03
[2025-01-07 09:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:56:05] Production.INFO: Date 2025-01-04
[2025-01-07 09:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:56:05] Production.INFO: Date 2025-01-05
[2025-01-07 09:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:56:05] Production.INFO: Date 2025-01-06
[2025-01-07 09:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:56:05] Production.INFO: Date 2025-01-07
[2025-01-07 09:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:56:05] Production.INFO: Total Charge 0
[2025-01-07 09:56:05] Production.INFO: CreateAllLog End
[2025-01-07 09:56:05] Production.INFO: Account Balance End.
[2025-01-07 09:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:56:05
[end_date_ymd] => 2025-01-07 09:56:05
[RateCDR] => 1
)
[2025-01-07 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-07 06:56:05' and `end` < '2025-01-07 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-07 09:56:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:56:05] Production.INFO: ==28617== Releasing lock...
[2025-01-07 09:56:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:56:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:56: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-07 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-07 09:56:11] Production.ERROR: CronJobId end10
[2025-01-07 09:56:11] Production.INFO: ==28615== Releasing lock...
[2025-01-07 09:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:56:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:56:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:56:13] Production.INFO: call_cost start
[2025-01-07 09:56:13] Production.INFO: call_cost end
[2025-01-07 09:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:56:14] Production.INFO: ==28611== Releasing lock...
[2025-01-07 09:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:56:30] Production.INFO: count ==1865
[2025-01-07 09:56:31] Production.ERROR: pbx CDR StartTime 2025-01-07 06:56:05 - End Time 2025-01-07 09:56:05
[2025-01-07 09:56:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:56:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194125', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:56:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194125', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:56:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194125', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:56:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194125', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:56:31] Production.INFO: ProcessCDR(1,14194125,1,1,2)
[2025-01-07 09:56:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194125,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:56:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194125,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:56:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194125,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:56:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194125,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:56:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194125', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:56:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194125', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:56:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:56:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:56:36] Production.INFO: ==28619== Releasing lock...
[2025-01-07 09:56:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:56:36] Production.INFO: 42.5 MB #Memory Used#
[2025-01-07 14:57:01] Production.INFO: ==28673== Lock acquired, processing the job...
[2025-01-07 14:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:57:01] Production.INFO: neon service started
[2025-01-07 14:57:01] Production.INFO: neon service started
[2025-01-07 14:57:01] Production.INFO: ==28673== Releasing lock...
[2025-01-07 14:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:57:02] Production.INFO: ==28675== Lock acquired, processing the job...
[2025-01-07 09:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:57:02] Production.INFO: ==28675== Releasing lock...
[2025-01-07 09:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 14:57:02] Production.INFO: ==28677== Lock acquired, processing the job...
[2025-01-07 14:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:57:02] Production.INFO: ==28677== Releasing lock...
[2025-01-07 14:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:57:03] Production.INFO: ==28686== Lock acquired, processing the job...
[2025-01-07 09:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:57:03] Production.INFO: Account Balance Start.
[2025-01-07 09:57:03] Production.INFO: CreateAllLog Start
[2025-01-07 09:57:03] Production.INFO: 117
[2025-01-07 09:57:03] Production.INFO: Date 2024-12-08
[2025-01-07 09:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:57:03] Production.INFO: Date 2024-12-09
[2025-01-07 09:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:57:03] Production.INFO: ==28690== Lock acquired, processing the job...
[2025-01-07 09:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:57:03] Production.INFO: Date 2024-12-10
[2025-01-07 09:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:57:03] Production.INFO: ==28682== Lock acquired, processing the job...
[2025-01-07 09:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:57:03] Production.INFO: ==28680== Lock acquired, processing the job...
[2025-01-07 09:57:03] Production.INFO: ==28684== Lock acquired, processing the job...
[2025-01-07 09:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:57:03] Production.INFO: Date 2024-12-11
[2025-01-07 09:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 09:57:03] Production.INFO: Date 2024-12-12
[2025-01-07 09:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:57:03] Production.INFO: count ==21
[2025-01-07 09:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 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-07 09:57:03] Production.INFO: count ==21
[2025-01-07 09:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:57:03] Production.INFO: Date 2024-12-13
[2025-01-07 09:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:57:03] Production.INFO: ==28688== Lock acquired, processing the job...
[2025-01-07 09:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194127') start
[2025-01-07 09:57:03] Production.INFO: Date 2024-12-14
[2025-01-07 09:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:57:03] Production.INFO: Date 2024-12-15
[2025-01-07 09:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:57:03] Production.INFO: Date 2024-12-16
[2025-01-07 09:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194127') end
[2025-01-07 09:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:57:03] Production.INFO: 1
[2025-01-07 09:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:57:03] Production.INFO: ==28690== Releasing lock...
[2025-01-07 09:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:57:03] Production.INFO: Date 2024-12-17
[2025-01-07 09:57:03] Production.INFO: ==28682== Releasing lock...
[2025-01-07 09:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:57:03] Production.INFO: Date 2024-12-18
[2025-01-07 09:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:57:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:57:04] Production.ERROR: done
[2025-01-07 09:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:57:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:57:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:57:04] Production.INFO: Date 2024-12-22
[2025-01-07 09:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:57:04] Production.ERROR: done
[2025-01-07 09:57:04] Production.INFO: Date 2024-12-23
[2025-01-07 09:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:57:04] Production.INFO: Date 2024-12-24
[2025-01-07 09:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:57:04] Production.INFO: Date 2024-12-25
[2025-01-07 09:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:57:04] Production.INFO: Date 2024-12-26
[2025-01-07 09:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:57:04] Production.INFO: Date 2024-12-27
[2025-01-07 09:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:57:04] Production.INFO: Date 2024-12-28
[2025-01-07 09:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:57:04] Production.INFO: Date 2024-12-29
[2025-01-07 09:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:57:04] Production.INFO: Date 2024-12-30
[2025-01-07 09:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:57:04] Production.INFO: Date 2024-12-31
[2025-01-07 09:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:57:04] Production.INFO: Date 2025-01-01
[2025-01-07 09:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:57:04] Production.INFO: Date 2025-01-02
[2025-01-07 09:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:57:04] Production.INFO: Date 2025-01-03
[2025-01-07 09:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:57:04] Production.INFO: Date 2025-01-04
[2025-01-07 09:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:57:04] Production.INFO: Date 2025-01-05
[2025-01-07 09:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:57:05] Production.INFO: Date 2025-01-06
[2025-01-07 09:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:57:05] Production.INFO: Date 2025-01-07
[2025-01-07 09:57:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:57:05] Production.INFO: Total Charge 0
[2025-01-07 09:57:05] Production.INFO: CreateAllLog End
[2025-01-07 09:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:57:05
[end_date_ymd] => 2025-01-07 09:57:05
[RateCDR] => 1
)
[2025-01-07 09:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 06:57:05' and `end` < '2025-01-07 09:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 09:57:05] Production.INFO: Account Balance End.
[2025-01-07 09:57:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:57:05] Production.INFO: ==28686== Releasing lock...
[2025-01-07 09:57:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:57:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:57:11] Production.ERROR: CronJobId end10
[2025-01-07 09:57:11] Production.INFO: ==28684== Releasing lock...
[2025-01-07 09:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:57:13] Production.INFO: call_cost start
[2025-01-07 09:57:13] Production.INFO: call_cost end
[2025-01-07 09:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:57:14] Production.INFO: ==28680== Releasing lock...
[2025-01-07 09:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:57:24] Production.INFO: count ==1875
[2025-01-07 09:57:24] Production.ERROR: pbx CDR StartTime 2025-01-07 06:57:05 - End Time 2025-01-07 09:57:05
[2025-01-07 09:57:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:57:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194130', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:57:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194130', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:57:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194130', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:57:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194130', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:57:24] Production.INFO: ProcessCDR(1,14194130,1,1,2)
[2025-01-07 09:57:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194130,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:57:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194130,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:57:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194130,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:57:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194130,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:57:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194130', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:57:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194130', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:57:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:57:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:57:28] Production.INFO: ==28688== Releasing lock...
[2025-01-07 09:57:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:57:28] Production.INFO: 42.75 MB #Memory Used#
[2025-01-07 14:58:02] Production.INFO: ==28744== Lock acquired, processing the job...
[2025-01-07 14:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:58:02] Production.INFO: neon service started
[2025-01-07 14:58:02] Production.INFO: neon service started
[2025-01-07 14:58:02] Production.INFO: ==28744== Releasing lock...
[2025-01-07 14:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:58:02] Production.INFO: ==28746== Lock acquired, processing the job...
[2025-01-07 09:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:58:02] Production.INFO: ==28746== Releasing lock...
[2025-01-07 09:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 14:58:03] Production.INFO: ==28748== Lock acquired, processing the job...
[2025-01-07 14:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:58:03] Production.INFO: ==28748== Releasing lock...
[2025-01-07 14:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:58:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:58:03] Production.INFO: ==28755== Lock acquired, processing the job...
[2025-01-07 09:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:58:03] Production.INFO: ==28761== Lock acquired, processing the job...
[2025-01-07 09:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:58:04] Production.INFO: ==28753== Lock acquired, processing the job...
[2025-01-07 09:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 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-07 09:58:04] Production.INFO: count ==21
[2025-01-07 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-07 09:58:04] Production.INFO: count ==21
[2025-01-07 09:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194131') start
[2025-01-07 09:58:04] Production.INFO: ==28757== Lock acquired, processing the job...
[2025-01-07 09:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:58:04] Production.INFO: ==28751== Lock acquired, processing the job...
[2025-01-07 09:58:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194131') end
[2025-01-07 09:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:58:04] Production.INFO: 1
[2025-01-07 09:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:58:04] Production.INFO: ==28759== Lock acquired, processing the job...
[2025-01-07 09:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:58:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:58:04] Production.INFO: Account Balance Start.
[2025-01-07 09:58:04] Production.INFO: CreateAllLog Start
[2025-01-07 09:58:04] Production.INFO: 117
[2025-01-07 09:58:04] Production.INFO: ==28761== Releasing lock...
[2025-01-07 09:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:58:04] Production.INFO: Date 2024-12-08
[2025-01-07 09:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:58:04] Production.INFO: Date 2024-12-09
[2025-01-07 09:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:58:04] Production.INFO: Date 2024-12-10
[2025-01-07 09:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:58:04] Production.ERROR: done
[2025-01-07 09:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:58:04] Production.INFO: Date 2024-12-11
[2025-01-07 09:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:58:04] Production.ERROR: done
[2025-01-07 09:58:04] Production.INFO: Date 2024-12-12
[2025-01-07 09:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:58:04] Production.INFO: ==28753== Releasing lock...
[2025-01-07 09:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:58:04] Production.INFO: Date 2024-12-13
[2025-01-07 09:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:58:04] Production.INFO: Date 2024-12-14
[2025-01-07 09:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:58:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:58:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:58:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:58:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:58:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:58:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:58:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:58:05] Production.INFO: Date 2024-12-22
[2025-01-07 09:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:58:05] Production.INFO: Date 2024-12-23
[2025-01-07 09:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:58:05] Production.INFO: Date 2024-12-24
[2025-01-07 09:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:58:05] Production.INFO: Date 2024-12-25
[2025-01-07 09:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:58:05] Production.INFO: Date 2024-12-26
[2025-01-07 09:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:58:05] Production.INFO: Date 2024-12-27
[2025-01-07 09:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:58:05] Production.INFO: Date 2024-12-28
[2025-01-07 09:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:58:05] Production.INFO: Date 2024-12-29
[2025-01-07 09:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:58:05] Production.INFO: Date 2024-12-30
[2025-01-07 09:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:58:05] Production.INFO: Date 2024-12-31
[2025-01-07 09:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:58:05] Production.INFO: Date 2025-01-01
[2025-01-07 09:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:58:05] Production.INFO: Date 2025-01-02
[2025-01-07 09:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:58:05] Production.INFO: Date 2025-01-03
[2025-01-07 09:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:58:05] Production.INFO: Date 2025-01-04
[2025-01-07 09:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:58:05] Production.INFO: Date 2025-01-05
[2025-01-07 09:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:58:05] Production.INFO: Date 2025-01-06
[2025-01-07 09:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:58:05] Production.INFO: Date 2025-01-07
[2025-01-07 09:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:58:05] Production.INFO: Total Charge 0
[2025-01-07 09:58:05] Production.INFO: CreateAllLog End
[2025-01-07 09:58:05] Production.INFO: Account Balance End.
[2025-01-07 09:58:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:58:05] Production.INFO: ==28757== Releasing lock...
[2025-01-07 09:58:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:58:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:58:05
[end_date_ymd] => 2025-01-07 09:58:05
[RateCDR] => 1
)
[2025-01-07 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-07 06:58:05' and `end` < '2025-01-07 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-07 09:58:11] Production.ERROR: CronJobId end10
[2025-01-07 09:58:11] Production.INFO: ==28755== Releasing lock...
[2025-01-07 09:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:58:13] Production.INFO: call_cost start
[2025-01-07 09:58:13] Production.INFO: call_cost end
[2025-01-07 09:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:58:14] Production.INFO: ==28751== Releasing lock...
[2025-01-07 09:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:58:22] Production.INFO: count ==1909
[2025-01-07 09:58:23] Production.ERROR: pbx CDR StartTime 2025-01-07 06:58:05 - End Time 2025-01-07 09:58:05
[2025-01-07 09:58:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:58:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194135', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:58:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194135', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:58:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194135', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:58:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194135', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:58:23] Production.INFO: ProcessCDR(1,14194135,1,1,2)
[2025-01-07 09:58:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194135,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:58:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194135,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:58:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194135,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:58:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194135,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:58:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194135', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:58:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194135', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:58:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:58:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:58:28] Production.INFO: ==28759== Releasing lock...
[2025-01-07 09:58:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:58:28] Production.INFO: 42.5 MB #Memory Used#
[2025-01-07 14:59:01] Production.INFO: ==28815== Lock acquired, processing the job...
[2025-01-07 14:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 14:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 14:59:01] Production.INFO: neon service started
[2025-01-07 14:59:01] Production.INFO: neon service started
[2025-01-07 14:59:01] Production.INFO: ==28815== Releasing lock...
[2025-01-07 14:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 14:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 09:59:02] Production.INFO: ==28817== Lock acquired, processing the job...
[2025-01-07 09:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 09:59:02] Production.INFO: ==28817== Releasing lock...
[2025-01-07 09:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 09:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 14:59:02] Production.INFO: ==28819== Lock acquired, processing the job...
[2025-01-07 14:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 14:59:02] Production.INFO: ==28819== Releasing lock...
[2025-01-07 14:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 14:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 09:59:03] Production.INFO: ==28822== Lock acquired, processing the job...
[2025-01-07 09:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 09:59:03] Production.INFO: ==28826== Lock acquired, processing the job...
[2025-01-07 09:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 09:59:03] Production.INFO: ==28824== Lock acquired, processing the job...
[2025-01-07 09:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 09:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 09:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 09:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 09:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 09:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 09:59:03] Production.INFO: ==28828== Lock acquired, processing the job...
[2025-01-07 09:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 09:59:03] Production.INFO: ==28830== Lock acquired, processing the job...
[2025-01-07 09:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 09:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 09:59:03] Production.INFO: Account Balance Start.
[2025-01-07 09:59:03] Production.INFO: CreateAllLog Start
[2025-01-07 09:59:03] Production.INFO: 117
[2025-01-07 09:59:03] Production.INFO: ==28832== Lock acquired, processing the job...
[2025-01-07 09:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 09:59:03] Production.INFO: Date 2024-12-08
[2025-01-07 09:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:59:03] Production.INFO: ==28824== Releasing lock...
[2025-01-07 09:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 09:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 09:59:03] Production.INFO: Date 2024-12-09
[2025-01-07 09:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 09:59:03] Production.INFO: Date 2024-12-10
[2025-01-07 09:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:59:03] Production.INFO: count ==21
[2025-01-07 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-07 09:59:03] Production.INFO: count ==21
[2025-01-07 09:59:03] Production.ERROR: done
[2025-01-07 09:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194139') start
[2025-01-07 09:59:03] Production.INFO: Date 2024-12-11
[2025-01-07 09:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 09:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 09:59:04] Production.INFO: Date 2024-12-12
[2025-01-07 09:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:59:04] Production.INFO: Date 2024-12-13
[2025-01-07 09:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194139') end
[2025-01-07 09:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 09:59:04] Production.INFO: 1
[2025-01-07 09:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 09:59:04] Production.INFO: Date 2024-12-14
[2025-01-07 09:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:59:04] Production.INFO: ==28832== Releasing lock...
[2025-01-07 09:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 09:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 09:59:04] Production.ERROR: done
[2025-01-07 09:59:04] Production.INFO: Date 2024-12-15
[2025-01-07 09:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:59:04] Production.INFO: Date 2024-12-16
[2025-01-07 09:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:59:04] Production.INFO: Date 2024-12-17
[2025-01-07 09:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:59:04] Production.INFO: Date 2024-12-18
[2025-01-07 09:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:59:04] Production.INFO: Date 2024-12-19
[2025-01-07 09:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:59:04] Production.INFO: Date 2024-12-20
[2025-01-07 09:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:59:04] Production.INFO: Date 2024-12-21
[2025-01-07 09:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:59:04] Production.INFO: Date 2024-12-22
[2025-01-07 09:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:59:04] Production.INFO: Date 2024-12-23
[2025-01-07 09:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:59:04] Production.INFO: Date 2024-12-24
[2025-01-07 09:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:59:04] Production.INFO: Date 2024-12-25
[2025-01-07 09:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:59:04] Production.INFO: Date 2024-12-26
[2025-01-07 09:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:59:04] Production.INFO: Date 2024-12-27
[2025-01-07 09:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:59:04] Production.INFO: Date 2024-12-28
[2025-01-07 09:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:59:04] Production.INFO: Date 2024-12-29
[2025-01-07 09:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:59:04] Production.INFO: Date 2024-12-30
[2025-01-07 09:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:59:04] Production.INFO: Date 2024-12-31
[2025-01-07 09:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:59:04] Production.INFO: Date 2025-01-01
[2025-01-07 09:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:59:04] Production.INFO: Date 2025-01-02
[2025-01-07 09:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:59:04] Production.INFO: Date 2025-01-03
[2025-01-07 09:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:59:04] Production.INFO: Date 2025-01-04
[2025-01-07 09:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:59:04] Production.INFO: Date 2025-01-05
[2025-01-07 09:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:59:04] Production.INFO: Date 2025-01-06
[2025-01-07 09:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 09:59:05] Production.INFO: Date 2025-01-07
[2025-01-07 09:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 09:59:05] Production.INFO: Total Charge 0
[2025-01-07 09:59:05] Production.INFO: CreateAllLog End
[2025-01-07 09:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 06:59:05
[end_date_ymd] => 2025-01-07 09:59:05
[RateCDR] => 1
)
[2025-01-07 09:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 06:59:05' and `end` < '2025-01-07 09:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 09:59:05] Production.INFO: Account Balance End.
[2025-01-07 09:59:05] Production.ERROR: CronJobId end 12
[2025-01-07 09:59:05] Production.INFO: ==28828== Releasing lock...
[2025-01-07 09:59:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 09:59:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 09:59:12] Production.ERROR: CronJobId end10
[2025-01-07 09:59:12] Production.INFO: ==28826== Releasing lock...
[2025-01-07 09:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 09:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 09:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 09:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 09:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 09:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 09:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 09:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 09:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 09:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 09:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 09:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 09:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 09:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 09:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 09:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 09:59:13] Production.INFO: call_cost start
[2025-01-07 09:59:13] Production.INFO: call_cost end
[2025-01-07 09:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 09:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 09:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 09:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 09:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 09:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 09:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 09:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 09:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 09:59:14] Production.INFO: ==28822== Releasing lock...
[2025-01-07 09:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 09:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 09:59:18] Production.INFO: count ==1932
[2025-01-07 09:59:18] Production.ERROR: pbx CDR StartTime 2025-01-07 06:59:05 - End Time 2025-01-07 09:59:05
[2025-01-07 09:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 09:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194140', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194140', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194140', 'tblTempVendorCDR_20' ) start
[2025-01-07 09:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194140', 'tblTempVendorCDR_20' ) end
[2025-01-07 09:59:18] Production.INFO: ProcessCDR(1,14194140,1,1,2)
[2025-01-07 09:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194140,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:59:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194140,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 09:59:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194140,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:59:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194140,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 09:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194140', 'tblTempUsageDetail_20' ) start
[2025-01-07 09:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194140', 'tblTempUsageDetail_20' ) end
[2025-01-07 09:59:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 09:59:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 09:59:23] Production.INFO: ==28830== Releasing lock...
[2025-01-07 09:59:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 09:59:23] Production.INFO: 42.5 MB #Memory Used#
[2025-01-07 15:00:02] Production.INFO: ==28925== Lock acquired, processing the job...
[2025-01-07 15:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:00:02] Production.INFO: neon service started
[2025-01-07 15:00:02] Production.INFO: neon service started
[2025-01-07 15:00:02] Production.INFO: ==28925== Releasing lock...
[2025-01-07 15:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 15:00:02] Production.INFO: ==28930== Lock acquired, processing the job...
[2025-01-07 15:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:00:02] Production.INFO: ==28930== Releasing lock...
[2025-01-07 15:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:00:02] Production.INFO: ==28927== Lock acquired, processing the job...
[2025-01-07 10:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:00:03] Production.INFO: ==28927== Releasing lock...
[2025-01-07 10:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:00:03] Production.INFO: ==28932== Lock acquired, processing the job...
[2025-01-07 10:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 10:00:04] Production.INFO: ==28934== Lock acquired, processing the job...
[2025-01-07 10:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 10:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 10:00:04] Production.INFO: ==28932== Releasing lock...
[2025-01-07 10:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 10:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 10:00:04] Production.INFO: ==28936== Lock acquired, processing the job...
[2025-01-07 10:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:00:04] Production.INFO: ==28942== Lock acquired, processing the job...
[2025-01-07 10:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:00:04] Production.INFO: ==28940== Lock acquired, processing the job...
[2025-01-07 10:00:04] Production.INFO: bulkautopaymentcapture-command-bulkautopaymentcapture-companyid-1-cronjobid-11 #Starts#
[2025-01-07 10:00:04] Production.INFO: ==28938== Lock acquired, processing the job...
[2025-01-07 10:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:00:04] Production.INFO: ==28944== Lock acquired, processing the job...
[2025-01-07 10:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:00:04] Production.INFO: ==28949== Lock acquired, processing the job...
[2025-01-07 10:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:00:04] Production.INFO: ==28947== Lock acquired, processing the job...
[2025-01-07 10:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 10:00:04] Production.INFO: Account Balance Start.
[2025-01-07 10:00:04] Production.INFO: CreateAllLog Start
[2025-01-07 10:00:04] Production.INFO: 117
[2025-01-07 10:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:00:04] Production.INFO: Date 2024-12-08
[2025-01-07 10:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:00:04] Production.INFO: Date 2024-12-09
[2025-01-07 10:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '5', '0', '1' )
[2025-01-07 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '7', '0', '1' )
[2025-01-07 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '8', '0', '1' )
[2025-01-07 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '13', '0', '1' )
[2025-01-07 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '14', '0', '1' )
[2025-01-07 10:00:04] Production.INFO: Date 2024-12-10
[2025-01-07 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '17', '0', '1' )
[2025-01-07 10:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '19', '0', '1' )
[2025-01-07 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '21', '0', '1' )
[2025-01-07 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '25', '0', '1' )
[2025-01-07 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '26', '0', '1' )
[2025-01-07 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '20', '0', '1' )
[2025-01-07 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '32', '0', '1' )
[2025-01-07 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '33', '0', '1' )
[2025-01-07 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '37', '0', '1' )
[2025-01-07 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '41', '0', '1' )
[2025-01-07 10:00:04] Production.INFO: ==28936== Releasing lock...
[2025-01-07 10:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '43', '0', '1' )
[2025-01-07 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '45', '0', '1' )
[2025-01-07 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '49', '0', '1' )
[2025-01-07 10:00:04] Production.INFO: Date 2024-12-11
[2025-01-07 10:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '47', '0', '1' )
[2025-01-07 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '52', '0', '1' )
[2025-01-07 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '53', '0', '1' )
[2025-01-07 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '54', '0', '1' )
[2025-01-07 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-07 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '57', '0', '1' )
[2025-01-07 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '58', '0', '1' )
[2025-01-07 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '34', '0', '1' )
[2025-01-07 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '59', '0', '1' )
[2025-01-07 10:00:04] Production.INFO: count ==21
[2025-01-07 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '63', '0', '1' )
[2025-01-07 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-07 10:00:04] Production.INFO: count ==21
[2025-01-07 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '65', '0', '1' )
[2025-01-07 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '67', '0', '1' )
[2025-01-07 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '73', '0', '1' )
[2025-01-07 10:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194144') start
[2025-01-07 10:00:04] Production.INFO: Date 2024-12-12
[2025-01-07 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '74', '0', '1' )
[2025-01-07 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '70', '0', '1' )
[2025-01-07 10:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:05] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '82', '0', '1' )
[2025-01-07 10:00:05] Production.ERROR: done
[2025-01-07 10:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:05] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '83', '0', '1' )
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:05] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '84', '0', '1' )
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:05] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '85', '0', '1' )
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:05] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '93', '0', '1' )
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:05] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '95', '0', '1' )
[2025-01-07 10:00:05] Production.ERROR: done
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:05] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '92', '0', '1' )
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:05] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '86', '0', '1' )
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:05] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '78', '0', '1' )
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:05] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '87', '0', '1' )
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:05] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '88', '0', '1' )
[2025-01-07 10:00:05] Production.INFO: Date 2024-12-13
[2025-01-07 10:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 3
[2025-01-07 10:00:05] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '90', '0', '1' )
[2025-01-07 10:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 10:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14194145', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:05] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '98', '0', '1' )
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:05] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '99', '0', '1' )
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:05] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '97', '0', '1' )
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:05] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '100', '0', '1' )
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:05] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '101', '0', '1' )
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:05] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '102', '0', '1' )
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:05] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '104', '0', '1' )
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:05] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '106', '0', '1' )
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:05] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '107', '0', '1' )
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:05] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '110', '0', '1' )
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:05] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '111', '0', '1' )
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:05] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '113', '0', '1' )
[2025-01-07 10:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14194144') end
[2025-01-07 10:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:00:05] Production.INFO: 1
[2025-01-07 10:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:05] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '114', '0', '1' )
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:05] Production.INFO: Date 2024-12-14
[2025-01-07 10:00:05] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '115', '0', '1' )
[2025-01-07 10:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:05] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '119', '0', '1' )
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:05] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '121', '0', '1' )
[2025-01-07 10:00:05] Production.INFO: ==28949== Releasing lock...
[2025-01-07 10:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:05] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '123', '0', '1' )
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:05] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '124', '0', '1' )
[2025-01-07 10:00:05] Production.ERROR: done
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:05] Production.INFO: Date 2024-12-15
[2025-01-07 10:00:05] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '127', '0', '1' )
[2025-01-07 10:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:05] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '131', '0', '1' )
[2025-01-07 10:00:05] Production.INFO: Date 2024-12-16
[2025-01-07 10:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:05] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '130', '0', '1' )
[2025-01-07 10:00:05] Production.INFO: Date 2024-12-17
[2025-01-07 10:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 4
[2025-01-07 10:00:05] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '134', '0', '1' )
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:05] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '137', '0', '1' )
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:05] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '138', '0', '1' )
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:05] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '136', '0', '1' )
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:05] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '139', '0', '1' )
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:05] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '140', '0', '1' )
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:05] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '146', '0', '1' )
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 4
[2025-01-07 10:00:05] Production.INFO: Date 2024-12-18
[2025-01-07 10:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:00:05] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '147', '0', '1' )
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:05] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '151', '0', '1' )
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:05] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '153', '0', '1' )
[2025-01-07 10:00:05] Production.INFO: Date 2024-12-19
[2025-01-07 10:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:05] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '154', '0', '1' )
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:05] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '155', '0', '1' )
[2025-01-07 10:00:05] Production.INFO: PaymentPendingInvoice Count - 1
[2025-01-07 10:00:05] Production.INFO: Date 2024-12-20
[2025-01-07 10:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:00:05] Production.INFO: Outstanding Amount 59.33
[2025-01-07 10:00:05] Production.INFO: Invoice Full Number INV11322
[2025-01-07 10:00:05] Production.INFO: Transaction start
[2025-01-07 10:00:05] Production.INFO: Date 2024-12-21
[2025-01-07 10:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:00:05] Production.INFO: Date 2024-12-22
[2025-01-07 10:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:00:05] Production.INFO: Date 2024-12-23
[2025-01-07 10:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:00:05] Production.INFO: Date 2024-12-24
[2025-01-07 10:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:00:05] Production.INFO: Date 2024-12-25
[2025-01-07 10:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:00:05] Production.INFO: Date 2024-12-26
[2025-01-07 10:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:00:05] Production.INFO: Date 2024-12-27
[2025-01-07 10:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:00:06] Production.INFO: Date 2024-12-28
[2025-01-07 10:00:06] Production.INFO: Reseller ==> 0
[2025-01-07 10:00:06] Production.INFO: Date 2024-12-29
[2025-01-07 10:00:06] Production.INFO: Reseller ==> 0
[2025-01-07 10:00:06] Production.INFO: Date 2024-12-30
[2025-01-07 10:00:06] Production.INFO: Reseller ==> 0
[2025-01-07 10:00:06] Production.INFO: Date 2024-12-31
[2025-01-07 10:00:06] Production.INFO: Reseller ==> 0
[2025-01-07 10:00:06] Production.INFO: Date 2025-01-01
[2025-01-07 10:00:06] Production.INFO: Reseller ==> 0
[2025-01-07 10:00:06] Production.INFO: Date 2025-01-02
[2025-01-07 10:00:06] Production.INFO: Reseller ==> 0
[2025-01-07 10:00:06] Production.INFO: Date 2025-01-03
[2025-01-07 10:00:06] Production.INFO: Reseller ==> 0
[2025-01-07 10:00:06] Production.INFO: Date 2025-01-04
[2025-01-07 10:00:06] Production.INFO: Reseller ==> 0
[2025-01-07 10:00:06] Production.INFO: Date 2025-01-05
[2025-01-07 10:00:06] Production.INFO: Reseller ==> 0
[2025-01-07 10:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:00:06
[end_date_ymd] => 2025-01-07 10:00:06
[RateCDR] => 1
)
[2025-01-07 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-07 07:00:06' and `end` < '2025-01-07 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-07 10:00:06] Production.INFO: Date 2025-01-06
[2025-01-07 10:00:06] Production.INFO: Reseller ==> 0
[2025-01-07 10:00:06] Production.INFO: Date 2025-01-07
[2025-01-07 10:00:06] Production.INFO: Reseller ==> 0
[2025-01-07 10:00:06] Production.INFO: Total Charge 0
[2025-01-07 10:00:06] Production.INFO: CreateAllLog End
[2025-01-07 10:00:07] Production.INFO: Transaction end
[2025-01-07 10:00:07] Production.INFO: Account Balance End.
[2025-01-07 10:00:07] Production.ERROR: CronJobId end 12
[2025-01-07 10:00:07] Production.INFO: ==28942== Releasing lock...
[2025-01-07 10:00:07] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:00:07] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14194145', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 10:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 10:00:08] Production.INFO: ProcessCDR(1,14194145,1,1,2)
[2025-01-07 10:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14194145,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14194145,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:00:09] Production.INFO: ==28947== Releasing lock...
[2025-01-07 10:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 10:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-07 10:00:09] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:09] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '157', '0', '1' )
[2025-01-07 10:00:09] Production.INFO: PaymentPendingInvoice Count - 1
[2025-01-07 10:00:09] Production.INFO: Outstanding Amount 76.28
[2025-01-07 10:00:09] Production.INFO: Invoice Full Number INV11323
[2025-01-07 10:00:09] Production.INFO: Transaction start
[2025-01-07 10:00:11] Production.INFO: Transaction end
[2025-01-07 10:00:12] Production.INFO: PaymentMethod - 0
[2025-01-07 10:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '149', '0', '1' )
[2025-01-07 10:00:12] Production.INFO: PaymentPendingInvoice Count - 1
[2025-01-07 10:00:12] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '160', '0', '1' )
[2025-01-07 10:00:12] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:12] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '152', '0', '1' )
[2025-01-07 10:00:12] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:12] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '161', '0', '1' )
[2025-01-07 10:00:12] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:12] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '165', '0', '1' )
[2025-01-07 10:00:12] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:12] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '166', '0', '1' )
[2025-01-07 10:00:12] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:12] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '183', '0', '1' )
[2025-01-07 10:00:12] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:12] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '184', '0', '1' )
[2025-01-07 10:00:12] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:12] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '185', '0', '1' )
[2025-01-07 10:00:12] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:12] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '187', '0', '1' )
[2025-01-07 10:00:12] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:12] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '195', '0', '1' )
[2025-01-07 10:00:12] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:12] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '190', '0', '1' )
[2025-01-07 10:00:12] Production.INFO: PaymentPendingInvoice Count - 1
[2025-01-07 10:00:12] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '192', '0', '1' )
[2025-01-07 10:00:12] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:12] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '193', '0', '1' )
[2025-01-07 10:00:12] Production.INFO: PaymentPendingInvoice Count - 2
[2025-01-07 10:00:12] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '205', '0', '1' )
[2025-01-07 10:00:12] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:12] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '208', '0', '1' )
[2025-01-07 10:00:12] Production.INFO: PaymentPendingInvoice Count - 1
[2025-01-07 10:00:12] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '207', '0', '1' )
[2025-01-07 10:00:12] Production.INFO: PaymentPendingInvoice Count - 20
[2025-01-07 10:00:12] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '206', '0', '1' )
[2025-01-07 10:00:12] Production.INFO: PaymentPendingInvoice Count - 17
[2025-01-07 10:00:12] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '182', '0', '1' )
[2025-01-07 10:00:12] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:12] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '211', '0', '1' )
[2025-01-07 10:00:12] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:12] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '188', '0', '1' )
[2025-01-07 10:00:12] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:12] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '226', '0', '1' )
[2025-01-07 10:00:12] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:12] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '227', '0', '1' )
[2025-01-07 10:00:12] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:12] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '189', '0', '1' )
[2025-01-07 10:00:12] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:12] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '229', '0', '1' )
[2025-01-07 10:00:12] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:12] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '230', '0', '1' )
[2025-01-07 10:00:12] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:12] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '232', '0', '1' )
[2025-01-07 10:00:12] Production.INFO: PaymentPendingInvoice Count - 1
[2025-01-07 10:00:12] Production.INFO: Outstanding Amount 71.42
[2025-01-07 10:00:12] Production.INFO: Invoice Full Number INV11324
[2025-01-07 10:00:12] Production.INFO: Transaction start
[2025-01-07 10:00:13] Production.ERROR: CronJobId end10
[2025-01-07 10:00:13] Production.INFO: ==28938== Releasing lock...
[2025-01-07 10:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:00:13] Production.INFO: Transaction end
[2025-01-07 10:00:14] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '236', '0', '1' )
[2025-01-07 10:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:14] Production.INFO: PaymentMethod - 0
[2025-01-07 10:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '239', '0', '1' )
[2025-01-07 10:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:14] Production.INFO: PaymentMethod - 1
[2025-01-07 10:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '241', '0', '1' )
[2025-01-07 10:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-07 10:00:15] Production.ERROR: CronJobId end11
[2025-01-07 10:00:15] Production.INFO: ==28940== Releasing lock...
[2025-01-07 10:00:15] Production.INFO: bulkautopaymentcapture-command-bulkautopaymentcapture-companyid-1-cronjobid-11 #Stops#
[2025-01-07 10:00:15] Production.INFO: 34 MB #Memory Used#
[2025-01-07 10:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:00:15] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:00:15] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:00:16] Production.INFO: call_cost start
[2025-01-07 10:00:16] Production.INFO: call_cost end
[2025-01-07 10:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:00:16] Production.INFO: ==28934== Releasing lock...
[2025-01-07 10:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:00:20] Production.INFO: count ==1954
[2025-01-07 10:00:20] Production.ERROR: pbx CDR StartTime 2025-01-07 07:00:06 - End Time 2025-01-07 10:00:06
[2025-01-07 10:00:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194146', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194146', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194146', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194146', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:00:20] Production.INFO: ProcessCDR(1,14194146,1,1,2)
[2025-01-07 10:00:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194146,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194146,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194146,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:00:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194146,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194146', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194146', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:00:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:00:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:00:24] Production.INFO: ==28944== Releasing lock...
[2025-01-07 10:00:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:00:24] Production.INFO: 43.25 MB #Memory Used#
[2025-01-07 15:01:01] Production.INFO: ==29008== Lock acquired, processing the job...
[2025-01-07 15:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:01:01] Production.INFO: neon service started
[2025-01-07 15:01:01] Production.INFO: neon service started
[2025-01-07 15:01:01] Production.INFO: ==29008== Releasing lock...
[2025-01-07 15:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:01:02] Production.INFO: ==29020== Lock acquired, processing the job...
[2025-01-07 10:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 15:01:02] Production.INFO: ==29022== Lock acquired, processing the job...
[2025-01-07 15:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:01:02] Production.INFO: ==29022== Releasing lock...
[2025-01-07 15:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:01:02] Production.INFO: ==29020== Releasing lock...
[2025-01-07 10:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:01:03] Production.INFO: ==29025== Lock acquired, processing the job...
[2025-01-07 10:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:01:03] Production.INFO: ==29027== Lock acquired, processing the job...
[2025-01-07 10:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:01:03] Production.INFO: ==29029== Lock acquired, processing the job...
[2025-01-07 10:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:01:03] Production.INFO: ==29031== Lock acquired, processing the job...
[2025-01-07 10:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:01:03] Production.INFO: ==29033== Lock acquired, processing the job...
[2025-01-07 10:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:01:03] Production.INFO: ==29027== Releasing lock...
[2025-01-07 10:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:01:03] Production.INFO: Account Balance Start.
[2025-01-07 10:01:03] Production.INFO: CreateAllLog Start
[2025-01-07 10:01:03] Production.INFO: 117
[2025-01-07 10:01:03] Production.INFO: Date 2024-12-08
[2025-01-07 10:01:03] Production.INFO: ==29035== Lock acquired, processing the job...
[2025-01-07 10:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:01:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:01:03] Production.INFO: Date 2024-12-09
[2025-01-07 10:01:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:01:03] Production.INFO: Date 2024-12-10
[2025-01-07 10:01:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:01:03] Production.INFO: Date 2024-12-11
[2025-01-07 10:01:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 10:01:04] Production.INFO: Date 2024-12-12
[2025-01-07 10:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:01:04] Production.ERROR: done
[2025-01-07 10:01:04] Production.INFO: Date 2024-12-13
[2025-01-07 10:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:01:04] Production.INFO: count ==21
[2025-01-07 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-07 10:01:04] Production.INFO: count ==21
[2025-01-07 10:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194150') start
[2025-01-07 10:01:04] Production.INFO: Date 2024-12-14
[2025-01-07 10:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194150') end
[2025-01-07 10:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:01:04] Production.INFO: 1
[2025-01-07 10:01:04] Production.ERROR: done
[2025-01-07 10:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:01:04] Production.INFO: Date 2024-12-15
[2025-01-07 10:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:01:04] Production.INFO: Date 2024-12-16
[2025-01-07 10:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:01:04] Production.INFO: ==29035== Releasing lock...
[2025-01-07 10:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:01:04] Production.INFO: Date 2024-12-17
[2025-01-07 10:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:01:04] Production.INFO: Date 2024-12-18
[2025-01-07 10:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:01:04] Production.INFO: Date 2024-12-19
[2025-01-07 10:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:01:04] Production.INFO: Date 2024-12-20
[2025-01-07 10:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:01:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:01:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:01:04] Production.INFO: Date 2024-12-23
[2025-01-07 10:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:01:04] Production.INFO: Date 2024-12-24
[2025-01-07 10:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:01:04] Production.INFO: Date 2024-12-25
[2025-01-07 10:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:01:04] Production.INFO: Date 2024-12-26
[2025-01-07 10:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:01:04] Production.INFO: Date 2024-12-27
[2025-01-07 10:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:01:04] Production.INFO: Date 2024-12-28
[2025-01-07 10:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:01:04] Production.INFO: Date 2024-12-29
[2025-01-07 10:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:01:04] Production.INFO: Date 2024-12-30
[2025-01-07 10:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:01:04] Production.INFO: Date 2024-12-31
[2025-01-07 10:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:01:04] Production.INFO: Date 2025-01-01
[2025-01-07 10:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:01:04] Production.INFO: Date 2025-01-02
[2025-01-07 10:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:01:05] Production.INFO: Date 2025-01-03
[2025-01-07 10:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:01:05] Production.INFO: Date 2025-01-04
[2025-01-07 10:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:01:05] Production.INFO: Date 2025-01-05
[2025-01-07 10:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:01:05] Production.INFO: Date 2025-01-06
[2025-01-07 10:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:01:05
[end_date_ymd] => 2025-01-07 10:01:05
[RateCDR] => 1
)
[2025-01-07 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-07 07:01:05' and `end` < '2025-01-07 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-07 10:01:05] Production.INFO: Date 2025-01-07
[2025-01-07 10:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:01:05] Production.INFO: Total Charge 0
[2025-01-07 10:01:05] Production.INFO: CreateAllLog End
[2025-01-07 10:01:05] Production.INFO: Account Balance End.
[2025-01-07 10:01:05] Production.ERROR: CronJobId end 12
[2025-01-07 10:01:05] Production.INFO: ==29031== Releasing lock...
[2025-01-07 10:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:01:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:01:12] Production.ERROR: CronJobId end10
[2025-01-07 10:01:12] Production.INFO: ==29029== Releasing lock...
[2025-01-07 10:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:01:14] Production.INFO: call_cost start
[2025-01-07 10:01:14] Production.INFO: call_cost end
[2025-01-07 10:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:01:14] Production.INFO: ==29025== Releasing lock...
[2025-01-07 10:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:01:22] Production.INFO: count ==2006
[2025-01-07 10:01:22] Production.ERROR: pbx CDR StartTime 2025-01-07 07:01:05 - End Time 2025-01-07 10:01:05
[2025-01-07 10:01:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:01:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194151', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:01:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194151', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:01:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194151', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:01:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194151', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:01:22] Production.INFO: ProcessCDR(1,14194151,1,1,2)
[2025-01-07 10:01:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194151,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:01:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194151,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:01:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194151,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:01:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194151,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:01:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194151', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:01:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194151', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:01:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:01:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:01:27] Production.INFO: ==29033== Releasing lock...
[2025-01-07 10:01:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:01:27] Production.INFO: 43.25 MB #Memory Used#
[2025-01-07 15:02:02] Production.INFO: ==29089== Lock acquired, processing the job...
[2025-01-07 15:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:02:02] Production.INFO: neon service started
[2025-01-07 15:02:02] Production.INFO: neon service started
[2025-01-07 15:02:02] Production.INFO: ==29089== Releasing lock...
[2025-01-07 15:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:02:02] Production.INFO: ==29091== Lock acquired, processing the job...
[2025-01-07 10:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:02:02] Production.INFO: ==29091== Releasing lock...
[2025-01-07 10:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 15:02:02] Production.INFO: ==29093== Lock acquired, processing the job...
[2025-01-07 15:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:02:03] Production.INFO: ==29093== Releasing lock...
[2025-01-07 15:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:02:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:02:03] Production.INFO: ==29104== Lock acquired, processing the job...
[2025-01-07 10:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:02:04] Production.ERROR: done
[2025-01-07 10:02:04] Production.INFO: ==29096== Lock acquired, processing the job...
[2025-01-07 10:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:02:04] Production.INFO: ==29098== Lock acquired, processing the job...
[2025-01-07 10:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:02:04] Production.INFO: ==29102== Lock acquired, processing the job...
[2025-01-07 10:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:02:04] Production.INFO: ==29100== Lock acquired, processing the job...
[2025-01-07 10:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:02:04] Production.INFO: Account Balance Start.
[2025-01-07 10:02:04] Production.INFO: CreateAllLog Start
[2025-01-07 10:02:04] Production.INFO: ==29106== Lock acquired, processing the job...
[2025-01-07 10:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:02:04] Production.INFO: 117
[2025-01-07 10:02:04] Production.INFO: Date 2024-12-08
[2025-01-07 10:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:02:04] Production.ERROR: done
[2025-01-07 10:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:02:04] Production.INFO: Date 2024-12-09
[2025-01-07 10:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 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-07 10:02:04] Production.INFO: Date 2024-12-10
[2025-01-07 10:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:02:04] Production.INFO: Date 2024-12-11
[2025-01-07 10:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:02:04] Production.INFO: ==29098== Releasing lock...
[2025-01-07 10:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:02:04] Production.INFO: count ==21
[2025-01-07 10:02:04] Production.INFO: Date 2024-12-12
[2025-01-07 10:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 10:02:04] Production.INFO: count ==21
[2025-01-07 10:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194155') start
[2025-01-07 10:02:04] Production.INFO: Date 2024-12-13
[2025-01-07 10:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:02:04] Production.INFO: Date 2024-12-14
[2025-01-07 10:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:02:04] Production.INFO: Date 2024-12-15
[2025-01-07 10:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:02:04] Production.INFO: Date 2024-12-16
[2025-01-07 10:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194155') end
[2025-01-07 10:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:02:04] Production.INFO: 1
[2025-01-07 10:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:02:04] Production.INFO: ==29106== Releasing lock...
[2025-01-07 10:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:02:04] Production.INFO: Date 2024-12-17
[2025-01-07 10:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:02:04] Production.INFO: Date 2024-12-18
[2025-01-07 10:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:02:04] Production.INFO: Date 2024-12-19
[2025-01-07 10:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:02:04] Production.INFO: Date 2024-12-20
[2025-01-07 10:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:02:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:02:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:02:04] Production.INFO: Date 2024-12-23
[2025-01-07 10:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:02:05] Production.INFO: Date 2024-12-24
[2025-01-07 10:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:02:05] Production.INFO: Date 2024-12-25
[2025-01-07 10:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:02:05] Production.INFO: Date 2024-12-26
[2025-01-07 10:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:02:05] Production.INFO: Date 2024-12-27
[2025-01-07 10:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:02:05] Production.INFO: Date 2024-12-28
[2025-01-07 10:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:02:05] Production.INFO: Date 2024-12-29
[2025-01-07 10:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:02:05] Production.INFO: Date 2024-12-30
[2025-01-07 10:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:02:05] Production.INFO: Date 2024-12-31
[2025-01-07 10:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:02:05] Production.INFO: Date 2025-01-01
[2025-01-07 10:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:02:05] Production.INFO: Date 2025-01-02
[2025-01-07 10:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:02:05] Production.INFO: Date 2025-01-03
[2025-01-07 10:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:02:05] Production.INFO: Date 2025-01-04
[2025-01-07 10:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:02:05] Production.INFO: Date 2025-01-05
[2025-01-07 10:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:02:05] Production.INFO: Date 2025-01-06
[2025-01-07 10:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:02:05] Production.INFO: Date 2025-01-07
[2025-01-07 10:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:02:05] Production.INFO: Total Charge 0
[2025-01-07 10:02:05] Production.INFO: CreateAllLog End
[2025-01-07 10:02:05] Production.INFO: Account Balance End.
[2025-01-07 10:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:02:05
[end_date_ymd] => 2025-01-07 10:02:05
[RateCDR] => 1
)
[2025-01-07 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-07 07:02:05' and `end` < '2025-01-07 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-07 10:02:05] Production.ERROR: CronJobId end 12
[2025-01-07 10:02:05] Production.INFO: ==29102== Releasing lock...
[2025-01-07 10:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:02:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:02:12] Production.ERROR: CronJobId end10
[2025-01-07 10:02:12] Production.INFO: ==29100== Releasing lock...
[2025-01-07 10:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:02:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:02:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:02:14] Production.INFO: call_cost start
[2025-01-07 10:02:14] Production.INFO: call_cost end
[2025-01-07 10:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:02:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:02:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:02:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:02:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:02:15] Production.INFO: ==29096== Releasing lock...
[2025-01-07 10:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:02:20] Production.INFO: count ==2021
[2025-01-07 10:02:21] Production.ERROR: pbx CDR StartTime 2025-01-07 07:02:05 - End Time 2025-01-07 10:02:05
[2025-01-07 10:02:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194156', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194156', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194156', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194156', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:02:21] Production.INFO: ProcessCDR(1,14194156,1,1,2)
[2025-01-07 10:02:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194156,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:02:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194156,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:02:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194156,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:02:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194156,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:02:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194156', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:02:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194156', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:02:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:02:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:02:26] Production.INFO: ==29104== Releasing lock...
[2025-01-07 10:02:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:02:26] Production.INFO: 43.5 MB #Memory Used#
[2025-01-07 15:03:01] Production.INFO: ==29160== Lock acquired, processing the job...
[2025-01-07 15:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:03:01] Production.INFO: neon service started
[2025-01-07 15:03:01] Production.INFO: neon service started
[2025-01-07 15:03:01] Production.INFO: ==29160== Releasing lock...
[2025-01-07 15:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:03:02] Production.INFO: ==29162== Lock acquired, processing the job...
[2025-01-07 10:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 15:03:02] Production.INFO: ==29164== Lock acquired, processing the job...
[2025-01-07 15:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:03:02] Production.INFO: ==29164== Releasing lock...
[2025-01-07 15:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:03:02] Production.INFO: ==29162== Releasing lock...
[2025-01-07 10:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:03:03] Production.INFO: ==29167== Lock acquired, processing the job...
[2025-01-07 10:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:03:03] Production.INFO: ==29169== Lock acquired, processing the job...
[2025-01-07 10:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:03:03] Production.INFO: ==29171== Lock acquired, processing the job...
[2025-01-07 10:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:03:03] Production.INFO: ==29169== Releasing lock...
[2025-01-07 10:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:03:03] Production.INFO: ==29173== Lock acquired, processing the job...
[2025-01-07 10:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:03:03] Production.INFO: ==29177== Lock acquired, processing the job...
[2025-01-07 10:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:03:03] Production.INFO: ==29175== Lock acquired, processing the job...
[2025-01-07 10:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:03:03] Production.INFO: Account Balance Start.
[2025-01-07 10:03:03] Production.INFO: CreateAllLog Start
[2025-01-07 10:03:03] Production.INFO: 117
[2025-01-07 10:03:03] Production.INFO: Date 2024-12-08
[2025-01-07 10:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:03:03] Production.INFO: Date 2024-12-09
[2025-01-07 10:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 10:03:03] Production.INFO: count ==21
[2025-01-07 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-07 10:03:03] Production.INFO: count ==21
[2025-01-07 10:03:03] Production.INFO: Date 2024-12-10
[2025-01-07 10:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194160') start
[2025-01-07 10:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:03:04] Production.INFO: Date 2024-12-11
[2025-01-07 10:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:03:04] Production.INFO: Date 2024-12-12
[2025-01-07 10:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194160') end
[2025-01-07 10:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:03:04] Production.INFO: 1
[2025-01-07 10:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:03:04] Production.INFO: Date 2024-12-13
[2025-01-07 10:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:03:04] Production.INFO: ==29177== Releasing lock...
[2025-01-07 10:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:03:04] Production.ERROR: done
[2025-01-07 10:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:03:04] Production.INFO: Date 2024-12-14
[2025-01-07 10:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:03:04] Production.INFO: Date 2024-12-15
[2025-01-07 10:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:03:04] Production.INFO: Date 2024-12-16
[2025-01-07 10:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:03:04] Production.INFO: Date 2024-12-17
[2025-01-07 10:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:03:04] Production.ERROR: done
[2025-01-07 10:03:04] Production.INFO: Date 2024-12-18
[2025-01-07 10:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:03:04] Production.INFO: Date 2024-12-19
[2025-01-07 10:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:03:04] Production.INFO: Date 2024-12-20
[2025-01-07 10:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:03:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:03:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:03:04] Production.INFO: Date 2024-12-23
[2025-01-07 10:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:03:04] Production.INFO: Date 2024-12-24
[2025-01-07 10:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:03:04] Production.INFO: Date 2024-12-25
[2025-01-07 10:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:03:04] Production.INFO: Date 2024-12-26
[2025-01-07 10:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:03:04] Production.INFO: Date 2024-12-27
[2025-01-07 10:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:03:04] Production.INFO: Date 2024-12-28
[2025-01-07 10:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:03:04] Production.INFO: Date 2024-12-29
[2025-01-07 10:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:03:04] Production.INFO: Date 2024-12-30
[2025-01-07 10:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:03:04] Production.INFO: Date 2024-12-31
[2025-01-07 10:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:03:04] Production.INFO: Date 2025-01-01
[2025-01-07 10:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:03:04] Production.INFO: Date 2025-01-02
[2025-01-07 10:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:03:05] Production.INFO: Date 2025-01-03
[2025-01-07 10:03:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:03:05] Production.INFO: Date 2025-01-04
[2025-01-07 10:03:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:03:05] Production.INFO: Date 2025-01-05
[2025-01-07 10:03:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:03:05] Production.INFO: Date 2025-01-06
[2025-01-07 10:03:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:03:05] Production.INFO: Date 2025-01-07
[2025-01-07 10:03:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:03:05] Production.INFO: Total Charge 0
[2025-01-07 10:03:05] Production.INFO: CreateAllLog End
[2025-01-07 10:03:05] Production.INFO: Account Balance End.
[2025-01-07 10:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:03:05
[end_date_ymd] => 2025-01-07 10:03:05
[RateCDR] => 1
)
[2025-01-07 10:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 07:03:05' and `end` < '2025-01-07 10:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 10:03:05] Production.ERROR: CronJobId end 12
[2025-01-07 10:03:05] Production.INFO: ==29173== Releasing lock...
[2025-01-07 10:03:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:03:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:03:10] Production.ERROR: CronJobId end10
[2025-01-07 10:03:10] Production.INFO: ==29171== Releasing lock...
[2025-01-07 10:03:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:03:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:03:13] Production.INFO: call_cost start
[2025-01-07 10:03:13] Production.INFO: call_cost end
[2025-01-07 10:03:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:03:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:03:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:03:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:03:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:03:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:03:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:03:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:03:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:03:13] Production.INFO: ==29167== Releasing lock...
[2025-01-07 10:03:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:03:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:03:21] Production.INFO: count ==2038
[2025-01-07 10:03:21] Production.ERROR: pbx CDR StartTime 2025-01-07 07:03:05 - End Time 2025-01-07 10:03:05
[2025-01-07 10:03:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194161', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194161', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194161', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194161', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:03:21] Production.INFO: ProcessCDR(1,14194161,1,1,2)
[2025-01-07 10:03:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194161,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:03:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194161,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:03:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194161,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:03:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194161,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:03:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194161', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:03:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194161', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:03:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:03:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:03:26] Production.INFO: ==29175== Releasing lock...
[2025-01-07 10:03:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:03:26] Production.INFO: 44 MB #Memory Used#
[2025-01-07 15:04:02] Production.INFO: ==29233== Lock acquired, processing the job...
[2025-01-07 15:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:04:02] Production.INFO: neon service started
[2025-01-07 15:04:02] Production.INFO: neon service started
[2025-01-07 15:04:02] Production.INFO: ==29233== Releasing lock...
[2025-01-07 15:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:04:02] Production.INFO: ==29235== Lock acquired, processing the job...
[2025-01-07 10:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 15:04:02] Production.INFO: ==29237== Lock acquired, processing the job...
[2025-01-07 15:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:04:02] Production.INFO: ==29237== Releasing lock...
[2025-01-07 15:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:04:02] Production.INFO: ==29235== Releasing lock...
[2025-01-07 10:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:04:03] Production.INFO: ==29240== Lock acquired, processing the job...
[2025-01-07 10:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:04:03] Production.INFO: ==29244== Lock acquired, processing the job...
[2025-01-07 10:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:04:03] Production.INFO: ==29250== Lock acquired, processing the job...
[2025-01-07 10:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:04:03] Production.INFO: ==29242== Lock acquired, processing the job...
[2025-01-07 10:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:04:03] Production.INFO: ==29246== Lock acquired, processing the job...
[2025-01-07 10:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 10:04:04] Production.INFO: count ==21
[2025-01-07 10:04:04] Production.INFO: ==29248== Lock acquired, processing the job...
[2025-01-07 10:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 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-07 10:04:04] Production.INFO: count ==21
[2025-01-07 10:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194163') start
[2025-01-07 10:04:04] Production.INFO: Account Balance Start.
[2025-01-07 10:04:04] Production.INFO: CreateAllLog Start
[2025-01-07 10:04:04] Production.INFO: 117
[2025-01-07 10:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:04:04] Production.INFO: Date 2024-12-08
[2025-01-07 10:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:04:04] Production.INFO: Date 2024-12-09
[2025-01-07 10:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:04:04] Production.INFO: Date 2024-12-10
[2025-01-07 10:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:04:04] Production.INFO: Date 2024-12-11
[2025-01-07 10:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:04:04] Production.INFO: Date 2024-12-12
[2025-01-07 10:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:04:04] Production.INFO: Date 2024-12-13
[2025-01-07 10:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:04:04] Production.INFO: ==29242== Releasing lock...
[2025-01-07 10:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:04:04] Production.INFO: Date 2024-12-14
[2025-01-07 10:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:04:04] Production.ERROR: done
[2025-01-07 10:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:04:04] Production.INFO: Date 2024-12-15
[2025-01-07 10:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194163') end
[2025-01-07 10:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:04:04] Production.INFO: 1
[2025-01-07 10:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:04:04] Production.INFO: Date 2024-12-16
[2025-01-07 10:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:04:04] Production.INFO: Date 2024-12-17
[2025-01-07 10:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:04:04] Production.INFO: ==29250== Releasing lock...
[2025-01-07 10:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:04:04] Production.ERROR: done
[2025-01-07 10:04:04] Production.INFO: Date 2024-12-18
[2025-01-07 10:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:04:04] Production.INFO: Date 2024-12-19
[2025-01-07 10:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:04:04] Production.INFO: Date 2024-12-20
[2025-01-07 10:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:04:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:04:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:04:04] Production.INFO: Date 2024-12-23
[2025-01-07 10:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:04:04] Production.INFO: Date 2024-12-24
[2025-01-07 10:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:04:04] Production.INFO: Date 2024-12-25
[2025-01-07 10:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:04:04] Production.INFO: Date 2024-12-26
[2025-01-07 10:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:04:04] Production.INFO: Date 2024-12-27
[2025-01-07 10:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:04:05] Production.INFO: Date 2024-12-28
[2025-01-07 10:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:04:05] Production.INFO: Date 2024-12-29
[2025-01-07 10:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:04:05] Production.INFO: Date 2024-12-30
[2025-01-07 10:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:04:05] Production.INFO: Date 2024-12-31
[2025-01-07 10:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:04:05] Production.INFO: Date 2025-01-01
[2025-01-07 10:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:04:05] Production.INFO: Date 2025-01-02
[2025-01-07 10:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:04:05] Production.INFO: Date 2025-01-03
[2025-01-07 10:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:04:05] Production.INFO: Date 2025-01-04
[2025-01-07 10:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:04:05] Production.INFO: Date 2025-01-05
[2025-01-07 10:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:04:05] Production.INFO: Date 2025-01-06
[2025-01-07 10:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:04:05] Production.INFO: Date 2025-01-07
[2025-01-07 10:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:04:05] Production.INFO: Total Charge 0
[2025-01-07 10:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:04:05
[end_date_ymd] => 2025-01-07 10:04:05
[RateCDR] => 1
)
[2025-01-07 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-07 07:04:05' and `end` < '2025-01-07 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-07 10:04:05] Production.INFO: CreateAllLog End
[2025-01-07 10:04:05] Production.INFO: Account Balance End.
[2025-01-07 10:04:05] Production.ERROR: CronJobId end 12
[2025-01-07 10:04:05] Production.INFO: ==29246== Releasing lock...
[2025-01-07 10:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:04:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:04:11] Production.ERROR: CronJobId end10
[2025-01-07 10:04:11] Production.INFO: ==29244== Releasing lock...
[2025-01-07 10:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:04:13] Production.INFO: call_cost start
[2025-01-07 10:04:13] Production.INFO: call_cost end
[2025-01-07 10:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:04:14] Production.INFO: ==29240== Releasing lock...
[2025-01-07 10:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:04:25] Production.INFO: count ==2055
[2025-01-07 10:04:26] Production.ERROR: pbx CDR StartTime 2025-01-07 07:04:05 - End Time 2025-01-07 10:04:05
[2025-01-07 10:04:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:04:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194166', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:04:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194166', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:04:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194166', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:04:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194166', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:04:26] Production.INFO: ProcessCDR(1,14194166,1,1,2)
[2025-01-07 10:04:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194166,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:04:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194166,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:04:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194166,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:04:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194166,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:04:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194166', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:04:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194166', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:04:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:04:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:04:29] Production.INFO: ==29248== Releasing lock...
[2025-01-07 10:04:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:04:29] Production.INFO: 43.5 MB #Memory Used#
[2025-01-07 15:05:01] Production.INFO: ==29303== Lock acquired, processing the job...
[2025-01-07 15:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:05:01] Production.INFO: neon service started
[2025-01-07 15:05:01] Production.INFO: neon service started
[2025-01-07 15:05:01] Production.INFO: ==29303== Releasing lock...
[2025-01-07 15:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:05:01] Production.INFO: ==29305== Lock acquired, processing the job...
[2025-01-07 10:05:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:05:02] Production.INFO: ==29305== Releasing lock...
[2025-01-07 10:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 15:05:02] Production.INFO: ==29307== Lock acquired, processing the job...
[2025-01-07 15:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:05:02] Production.INFO: ==29307== Releasing lock...
[2025-01-07 15:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:05:03] Production.INFO: ==29318== Lock acquired, processing the job...
[2025-01-07 10:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:05:03] Production.INFO: ==29310== Lock acquired, processing the job...
[2025-01-07 10:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:05:03] Production.INFO: ==29320== Lock acquired, processing the job...
[2025-01-07 10:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:05:03] Production.INFO: ==29312== Lock acquired, processing the job...
[2025-01-07 10:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:05:03] Production.INFO: ==29314== Lock acquired, processing the job...
[2025-01-07 10:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:05:03] Production.INFO: ==29316== Lock acquired, processing the job...
[2025-01-07 10:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 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-07 10:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:05:03] Production.INFO: count ==21
[2025-01-07 10:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 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-07 10:05:03] Production.INFO: count ==21
[2025-01-07 10:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194167') start
[2025-01-07 10:05:03] Production.INFO: Account Balance Start.
[2025-01-07 10:05:03] Production.INFO: CreateAllLog Start
[2025-01-07 10:05:03] Production.ERROR: done
[2025-01-07 10:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:05:03] Production.INFO: 117
[2025-01-07 10:05:03] Production.INFO: Date 2024-12-08
[2025-01-07 10:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:05:03] Production.INFO: Date 2024-12-09
[2025-01-07 10:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194167') end
[2025-01-07 10:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:05:03] Production.INFO: 1
[2025-01-07 10:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:05:03] Production.INFO: Date 2024-12-10
[2025-01-07 10:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:05:03] Production.INFO: ==29320== Releasing lock...
[2025-01-07 10:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:05:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:05:03] Production.INFO: Date 2024-12-11
[2025-01-07 10:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:05:03] Production.INFO: ==29312== Releasing lock...
[2025-01-07 10:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:05:03] Production.ERROR: done
[2025-01-07 10:05:03] Production.INFO: Date 2024-12-12
[2025-01-07 10:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:05:03] Production.INFO: Date 2024-12-13
[2025-01-07 10:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:05:03] Production.INFO: Date 2024-12-14
[2025-01-07 10:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:05:03] Production.INFO: Date 2024-12-15
[2025-01-07 10:05:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:05:04] Production.INFO: Date 2024-12-16
[2025-01-07 10:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:05:04] Production.INFO: Date 2024-12-17
[2025-01-07 10:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:05:04] Production.INFO: Date 2024-12-18
[2025-01-07 10:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:05:04] Production.INFO: Date 2024-12-19
[2025-01-07 10:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:05:04] Production.INFO: Date 2024-12-20
[2025-01-07 10:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:05:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:05:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:05:04] Production.INFO: Date 2024-12-23
[2025-01-07 10:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:05:04] Production.INFO: Date 2024-12-24
[2025-01-07 10:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:05:04] Production.INFO: Date 2024-12-25
[2025-01-07 10:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:05:04] Production.INFO: Date 2024-12-26
[2025-01-07 10:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:05:04] Production.INFO: Date 2024-12-27
[2025-01-07 10:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:05:04] Production.INFO: Date 2024-12-28
[2025-01-07 10:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:05:04] Production.INFO: Date 2024-12-29
[2025-01-07 10:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:05:04] Production.INFO: Date 2024-12-30
[2025-01-07 10:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:05:04] Production.INFO: Date 2024-12-31
[2025-01-07 10:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:05:04] Production.INFO: Date 2025-01-01
[2025-01-07 10:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:05:04] Production.INFO: Date 2025-01-02
[2025-01-07 10:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:05:04] Production.INFO: Date 2025-01-03
[2025-01-07 10:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:05:04] Production.INFO: Date 2025-01-04
[2025-01-07 10:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:05:04] Production.INFO: Date 2025-01-05
[2025-01-07 10:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:05:04] Production.INFO: Date 2025-01-06
[2025-01-07 10:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:05:04] Production.INFO: Date 2025-01-07
[2025-01-07 10:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:05:04] Production.INFO: Total Charge 0
[2025-01-07 10:05:04] Production.INFO: CreateAllLog End
[2025-01-07 10:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:05:05
[end_date_ymd] => 2025-01-07 10:05:05
[RateCDR] => 1
)
[2025-01-07 10:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 07:05:05' and `end` < '2025-01-07 10:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 10:05:05] Production.INFO: Account Balance End.
[2025-01-07 10:05:05] Production.ERROR: CronJobId end 12
[2025-01-07 10:05:05] Production.INFO: ==29316== Releasing lock...
[2025-01-07 10:05:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:05:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:05:11] Production.ERROR: CronJobId end10
[2025-01-07 10:05:11] Production.INFO: ==29314== Releasing lock...
[2025-01-07 10:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:05:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:05:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:05:13] Production.INFO: call_cost start
[2025-01-07 10:05:13] Production.INFO: call_cost end
[2025-01-07 10:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:05:14] Production.INFO: ==29310== Releasing lock...
[2025-01-07 10:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:05:23] Production.INFO: count ==2090
[2025-01-07 10:05:24] Production.ERROR: pbx CDR StartTime 2025-01-07 07:05:05 - End Time 2025-01-07 10:05:05
[2025-01-07 10:05:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:05:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194171', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:05:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194171', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:05:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194171', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:05:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194171', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:05:24] Production.INFO: ProcessCDR(1,14194171,1,1,2)
[2025-01-07 10:05:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194171,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:05:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194171,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:05:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194171,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:05:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194171,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:05:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194171', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:05:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194171', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:05:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:05:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:05:29] Production.INFO: ==29318== Releasing lock...
[2025-01-07 10:05:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:05:29] Production.INFO: 44.25 MB #Memory Used#
[2025-01-07 15:06:02] Production.INFO: ==29378== Lock acquired, processing the job...
[2025-01-07 15:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:06:02] Production.INFO: neon service started
[2025-01-07 15:06:02] Production.INFO: neon service started
[2025-01-07 15:06:02] Production.INFO: ==29378== Releasing lock...
[2025-01-07 15:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:06:02] Production.INFO: ==29380== Lock acquired, processing the job...
[2025-01-07 10:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 15:06:02] Production.INFO: ==29382== Lock acquired, processing the job...
[2025-01-07 15:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:06:02] Production.INFO: ==29382== Releasing lock...
[2025-01-07 15:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:06:02] Production.INFO: ==29380== Releasing lock...
[2025-01-07 10:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:06:03] Production.INFO: ==29389== Lock acquired, processing the job...
[2025-01-07 10:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:06:03] Production.INFO: ==29395== Lock acquired, processing the job...
[2025-01-07 10:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:06:03] Production.INFO: ==29385== Lock acquired, processing the job...
[2025-01-07 10:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 10:06:04] Production.INFO: ==29387== Lock acquired, processing the job...
[2025-01-07 10:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:06:04] Production.INFO: count ==21
[2025-01-07 10:06:04] Production.INFO: ==29391== Lock acquired, processing the job...
[2025-01-07 10:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 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-07 10:06:04] Production.INFO: count ==21
[2025-01-07 10:06:04] Production.INFO: ==29393== Lock acquired, processing the job...
[2025-01-07 10:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194172') start
[2025-01-07 10:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194172') end
[2025-01-07 10:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:06:04] Production.INFO: 1
[2025-01-07 10:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:06:04] Production.INFO: Account Balance Start.
[2025-01-07 10:06:04] Production.INFO: CreateAllLog Start
[2025-01-07 10:06:04] Production.INFO: 117
[2025-01-07 10:06:04] Production.INFO: Date 2024-12-08
[2025-01-07 10:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:06:04] Production.INFO: Date 2024-12-09
[2025-01-07 10:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:06:04] Production.INFO: Date 2024-12-10
[2025-01-07 10:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:06:04] Production.INFO: ==29387== Releasing lock...
[2025-01-07 10:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:06:04] Production.INFO: ==29395== Releasing lock...
[2025-01-07 10:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:06:04] Production.INFO: Date 2024-12-11
[2025-01-07 10:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:06:04] Production.INFO: Date 2024-12-12
[2025-01-07 10:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:06:04] Production.INFO: Date 2024-12-13
[2025-01-07 10:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:06:04] Production.INFO: Date 2024-12-14
[2025-01-07 10:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:06:04] Production.ERROR: done
[2025-01-07 10:06:04] Production.INFO: Date 2024-12-15
[2025-01-07 10:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:06:04] Production.INFO: Date 2024-12-16
[2025-01-07 10:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:06:04] Production.INFO: Date 2024-12-17
[2025-01-07 10:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:06:04] Production.INFO: Date 2024-12-18
[2025-01-07 10:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:06:04] Production.INFO: Date 2024-12-19
[2025-01-07 10:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:06:04] Production.ERROR: done
[2025-01-07 10:06:04] Production.INFO: Date 2024-12-20
[2025-01-07 10:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:06:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:06:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:06:04] Production.INFO: Date 2024-12-23
[2025-01-07 10:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:06:05] Production.INFO: Date 2024-12-24
[2025-01-07 10:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:06:05] Production.INFO: Date 2024-12-25
[2025-01-07 10:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:06:05] Production.INFO: Date 2024-12-26
[2025-01-07 10:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:06:05] Production.INFO: Date 2024-12-27
[2025-01-07 10:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:06:05] Production.INFO: Date 2024-12-28
[2025-01-07 10:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:06:05] Production.INFO: Date 2024-12-29
[2025-01-07 10:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:06:05] Production.INFO: Date 2024-12-30
[2025-01-07 10:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:06:05] Production.INFO: Date 2024-12-31
[2025-01-07 10:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:06:05] Production.INFO: Date 2025-01-01
[2025-01-07 10:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:06:05] Production.INFO: Date 2025-01-02
[2025-01-07 10:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:06:05] Production.INFO: Date 2025-01-03
[2025-01-07 10:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:06:05] Production.INFO: Date 2025-01-04
[2025-01-07 10:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:06:05] Production.INFO: Date 2025-01-05
[2025-01-07 10:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:06:05] Production.INFO: Date 2025-01-06
[2025-01-07 10:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:06:05] Production.INFO: Date 2025-01-07
[2025-01-07 10:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:06:05] Production.INFO: Total Charge 0
[2025-01-07 10:06:05] Production.INFO: CreateAllLog End
[2025-01-07 10:06:05] Production.INFO: Account Balance End.
[2025-01-07 10:06:05] Production.ERROR: CronJobId end 12
[2025-01-07 10:06:05] Production.INFO: ==29391== Releasing lock...
[2025-01-07 10:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:06:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:06:05
[end_date_ymd] => 2025-01-07 10:06:05
[RateCDR] => 1
)
[2025-01-07 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-07 07:06:05' and `end` < '2025-01-07 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-07 10:06:12] Production.ERROR: CronJobId end10
[2025-01-07 10:06:12] Production.INFO: ==29389== Releasing lock...
[2025-01-07 10:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:06:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:06:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:06:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:06:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:06:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:06:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:06:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:06:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:06:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:06:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:06:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:06:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:06:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:06:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:06:14] Production.INFO: call_cost start
[2025-01-07 10:06:14] Production.INFO: call_cost end
[2025-01-07 10:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:06:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:06:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:06:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:06:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:06:15] Production.INFO: ==29385== Releasing lock...
[2025-01-07 10:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:06:19] Production.INFO: count ==2132
[2025-01-07 10:06:19] Production.ERROR: pbx CDR StartTime 2025-01-07 07:06:05 - End Time 2025-01-07 10:06:05
[2025-01-07 10:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194176', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194176', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194176', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194176', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:06:20] Production.INFO: ProcessCDR(1,14194176,1,1,2)
[2025-01-07 10:06:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194176,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:06:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194176,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:06:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194176,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:06:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194176,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:06:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194176', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:06:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194176', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:06:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:06:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:06:24] Production.INFO: ==29393== Releasing lock...
[2025-01-07 10:06:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:06:24] Production.INFO: 44 MB #Memory Used#
[2025-01-07 15:07:01] Production.INFO: ==29449== Lock acquired, processing the job...
[2025-01-07 15:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:07:01] Production.INFO: neon service started
[2025-01-07 15:07:01] Production.INFO: neon service started
[2025-01-07 15:07:01] Production.INFO: ==29449== Releasing lock...
[2025-01-07 15:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:07:01] Production.INFO: ==29451== Lock acquired, processing the job...
[2025-01-07 10:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 15:07:02] Production.INFO: ==29453== Lock acquired, processing the job...
[2025-01-07 15:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:07:02] Production.INFO: ==29451== Releasing lock...
[2025-01-07 10:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 15:07:02] Production.INFO: ==29453== Releasing lock...
[2025-01-07 15:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:07:03] Production.INFO: ==29464== Lock acquired, processing the job...
[2025-01-07 10:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:07:03] Production.INFO: ==29456== Lock acquired, processing the job...
[2025-01-07 10:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:07:03] Production.INFO: ==29466== Lock acquired, processing the job...
[2025-01-07 10:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:07:03] Production.INFO: ==29458== Lock acquired, processing the job...
[2025-01-07 10:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10: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-07 10:07:03] Production.INFO: ==29460== Lock acquired, processing the job...
[2025-01-07 10:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:07:03] Production.INFO: count ==21
[2025-01-07 10: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-07 10:07:03] Production.INFO: count ==21
[2025-01-07 10:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194178') start
[2025-01-07 10:07:03] Production.INFO: ==29462== Lock acquired, processing the job...
[2025-01-07 10:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194178') end
[2025-01-07 10:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:07:03] Production.INFO: 1
[2025-01-07 10:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:07:03] Production.INFO: Account Balance Start.
[2025-01-07 10:07:03] Production.INFO: CreateAllLog Start
[2025-01-07 10:07:03] Production.INFO: 117
[2025-01-07 10:07:03] Production.INFO: ==29466== Releasing lock...
[2025-01-07 10:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:07:03] Production.INFO: Date 2024-12-08
[2025-01-07 10:07:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:07:03] Production.INFO: ==29458== Releasing lock...
[2025-01-07 10:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:07:03] Production.INFO: Date 2024-12-09
[2025-01-07 10:07:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:07:03] Production.INFO: Date 2024-12-10
[2025-01-07 10:07:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:07:03] Production.ERROR: done
[2025-01-07 10:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:07:03] Production.INFO: Date 2024-12-11
[2025-01-07 10:07:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:07:03] Production.INFO: Date 2024-12-12
[2025-01-07 10:07:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:07:03] Production.INFO: Date 2024-12-13
[2025-01-07 10:07:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:07:03] Production.INFO: Date 2024-12-14
[2025-01-07 10:07:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:07:03] Production.INFO: Date 2024-12-15
[2025-01-07 10:07:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:07:03] Production.INFO: Date 2024-12-16
[2025-01-07 10:07:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:07:03] Production.ERROR: done
[2025-01-07 10:07:03] Production.INFO: Date 2024-12-17
[2025-01-07 10:07:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:07:03] Production.INFO: Date 2024-12-18
[2025-01-07 10:07:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:07:03] Production.INFO: Date 2024-12-19
[2025-01-07 10:07:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:07:03] Production.INFO: Date 2024-12-20
[2025-01-07 10:07:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:07:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:07:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:07:04] Production.INFO: Date 2024-12-23
[2025-01-07 10:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:07:04] Production.INFO: Date 2024-12-24
[2025-01-07 10:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:07:04] Production.INFO: Date 2024-12-25
[2025-01-07 10:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:07:04] Production.INFO: Date 2024-12-26
[2025-01-07 10:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:07:04] Production.INFO: Date 2024-12-27
[2025-01-07 10:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:07:04] Production.INFO: Date 2024-12-28
[2025-01-07 10:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:07:04] Production.INFO: Date 2024-12-29
[2025-01-07 10:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:07:04] Production.INFO: Date 2024-12-30
[2025-01-07 10:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:07:04] Production.INFO: Date 2024-12-31
[2025-01-07 10:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:07:04] Production.INFO: Date 2025-01-01
[2025-01-07 10:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:07:04] Production.INFO: Date 2025-01-02
[2025-01-07 10:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:07:04] Production.INFO: Date 2025-01-03
[2025-01-07 10:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:07:04] Production.INFO: Date 2025-01-04
[2025-01-07 10:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:07:04] Production.INFO: Date 2025-01-05
[2025-01-07 10:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:07:04] Production.INFO: Date 2025-01-06
[2025-01-07 10:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:07:04] Production.INFO: Date 2025-01-07
[2025-01-07 10:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:07:04] Production.INFO: Total Charge 0
[2025-01-07 10:07:04] Production.INFO: CreateAllLog End
[2025-01-07 10:07:05] Production.INFO: Account Balance End.
[2025-01-07 10:07:05] Production.ERROR: CronJobId end 12
[2025-01-07 10:07:05] Production.INFO: ==29462== Releasing lock...
[2025-01-07 10:07:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:07:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:07:05
[end_date_ymd] => 2025-01-07 10:07:05
[RateCDR] => 1
)
[2025-01-07 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-07 07:07:05' and `end` < '2025-01-07 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-07 10:07:11] Production.ERROR: CronJobId end10
[2025-01-07 10:07:11] Production.INFO: ==29460== Releasing lock...
[2025-01-07 10:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:07:13] Production.INFO: call_cost start
[2025-01-07 10:07:13] Production.INFO: call_cost end
[2025-01-07 10:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:07:14] Production.INFO: ==29456== Releasing lock...
[2025-01-07 10:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:07:18] Production.INFO: count ==2144
[2025-01-07 10:07:19] Production.ERROR: pbx CDR StartTime 2025-01-07 07:07:05 - End Time 2025-01-07 10:07:05
[2025-01-07 10:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194181', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194181', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194181', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194181', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:07:19] Production.INFO: ProcessCDR(1,14194181,1,1,2)
[2025-01-07 10:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194181,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:07:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194181,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:07:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194181,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:07:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194181,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194181', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:07:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194181', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:07:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:07:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:07:24] Production.INFO: ==29464== Releasing lock...
[2025-01-07 10:07:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:07:24] Production.INFO: 44.5 MB #Memory Used#
[2025-01-07 15:08:01] Production.INFO: ==29521== Lock acquired, processing the job...
[2025-01-07 15:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:08:01] Production.INFO: neon service started
[2025-01-07 15:08:02] Production.INFO: neon service started
[2025-01-07 15:08:02] Production.INFO: ==29521== Releasing lock...
[2025-01-07 15:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:08:02] Production.INFO: ==29523== Lock acquired, processing the job...
[2025-01-07 10:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:08:02] Production.INFO: ==29523== Releasing lock...
[2025-01-07 10:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 15:08:02] Production.INFO: ==29525== Lock acquired, processing the job...
[2025-01-07 15:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:08:02] Production.INFO: ==29525== Releasing lock...
[2025-01-07 15:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:08:03] Production.INFO: ==29532== Lock acquired, processing the job...
[2025-01-07 10:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:08:03] Production.INFO: ==29528== Lock acquired, processing the job...
[2025-01-07 10:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:08:03] Production.INFO: ==29538== Lock acquired, processing the job...
[2025-01-07 10:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:08:03] Production.INFO: ==29530== Lock acquired, processing the job...
[2025-01-07 10:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:08:03] Production.INFO: ==29534== Lock acquired, processing the job...
[2025-01-07 10:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:08:03] Production.INFO: ==29536== Lock acquired, processing the job...
[2025-01-07 10:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:08:03] Production.INFO: Account Balance Start.
[2025-01-07 10:08:03] Production.INFO: CreateAllLog Start
[2025-01-07 10:08:03] Production.INFO: 117
[2025-01-07 10:08:03] Production.INFO: Date 2024-12-08
[2025-01-07 10:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:08:03] Production.INFO: Date 2024-12-09
[2025-01-07 10:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:08:04] Production.INFO: Date 2024-12-10
[2025-01-07 10:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 10:08:04] Production.INFO: Date 2024-12-11
[2025-01-07 10:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:08:04] Production.INFO: count ==21
[2025-01-07 10:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 10:08:04] Production.INFO: count ==21
[2025-01-07 10:08:04] Production.INFO: Date 2024-12-12
[2025-01-07 10:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194184') start
[2025-01-07 10:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:08:04] Production.INFO: Date 2024-12-13
[2025-01-07 10:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:08:04] Production.INFO: Date 2024-12-14
[2025-01-07 10:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:08:04] Production.INFO: ==29530== Releasing lock...
[2025-01-07 10:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:08:04] Production.INFO: Date 2024-12-15
[2025-01-07 10:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:08:04] Production.ERROR: done
[2025-01-07 10:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:08:04] Production.INFO: Date 2024-12-16
[2025-01-07 10:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194184') end
[2025-01-07 10:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:08:04] Production.INFO: 1
[2025-01-07 10:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:08:04] Production.INFO: Date 2024-12-17
[2025-01-07 10:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:08:04] Production.INFO: ==29538== Releasing lock...
[2025-01-07 10:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:08:04] Production.INFO: Date 2024-12-18
[2025-01-07 10:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:08:04] Production.ERROR: done
[2025-01-07 10:08:04] Production.INFO: Date 2024-12-19
[2025-01-07 10:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:08:04] Production.INFO: Date 2024-12-20
[2025-01-07 10:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:08:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:08:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:08:04] Production.INFO: Date 2024-12-23
[2025-01-07 10:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:08:04] Production.INFO: Date 2024-12-24
[2025-01-07 10:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:08:04] Production.INFO: Date 2024-12-25
[2025-01-07 10:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:08:04] Production.INFO: Date 2024-12-26
[2025-01-07 10:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:08:04] Production.INFO: Date 2024-12-27
[2025-01-07 10:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:08:04] Production.INFO: Date 2024-12-28
[2025-01-07 10:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:08:04] Production.INFO: Date 2024-12-29
[2025-01-07 10:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:08:04] Production.INFO: Date 2024-12-30
[2025-01-07 10:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:08:04] Production.INFO: Date 2024-12-31
[2025-01-07 10:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:08:05] Production.INFO: Date 2025-01-01
[2025-01-07 10:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:08:05] Production.INFO: Date 2025-01-02
[2025-01-07 10:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:08:05] Production.INFO: Date 2025-01-03
[2025-01-07 10:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:08:05] Production.INFO: Date 2025-01-04
[2025-01-07 10:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:08:05] Production.INFO: Date 2025-01-05
[2025-01-07 10:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:08:05] Production.INFO: Date 2025-01-06
[2025-01-07 10:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:08:05] Production.INFO: Date 2025-01-07
[2025-01-07 10:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:08:05] Production.INFO: Total Charge 0
[2025-01-07 10:08:05] Production.INFO: CreateAllLog End
[2025-01-07 10:08:05] Production.INFO: Account Balance End.
[2025-01-07 10:08:05] Production.ERROR: CronJobId end 12
[2025-01-07 10:08:05] Production.INFO: ==29534== Releasing lock...
[2025-01-07 10:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:08:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:08:05
[end_date_ymd] => 2025-01-07 10:08:05
[RateCDR] => 1
)
[2025-01-07 10:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 07:08:05' and `end` < '2025-01-07 10:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 10:08:12] Production.ERROR: CronJobId end10
[2025-01-07 10:08:12] Production.INFO: ==29532== Releasing lock...
[2025-01-07 10:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:08:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:08:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:08:14] Production.INFO: call_cost start
[2025-01-07 10:08:14] Production.INFO: call_cost end
[2025-01-07 10:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:08:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:08:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:08:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:08:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:08:15] Production.INFO: ==29528== Releasing lock...
[2025-01-07 10:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:08:18] Production.INFO: count ==2154
[2025-01-07 10:08:19] Production.ERROR: pbx CDR StartTime 2025-01-07 07:08:05 - End Time 2025-01-07 10:08:05
[2025-01-07 10:08:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194186', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194186', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194186', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194186', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:08:19] Production.INFO: ProcessCDR(1,14194186,1,1,2)
[2025-01-07 10:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194186,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:08:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194186,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:08:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194186,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:08:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194186,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194186', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194186', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:08:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:08:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:08:24] Production.INFO: ==29536== Releasing lock...
[2025-01-07 10:08:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:08:24] Production.INFO: 44.5 MB #Memory Used#
[2025-01-07 15:09:01] Production.INFO: ==29591== Lock acquired, processing the job...
[2025-01-07 15:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:09:01] Production.INFO: neon service started
[2025-01-07 15:09:01] Production.INFO: neon service started
[2025-01-07 15:09:01] Production.INFO: ==29591== Releasing lock...
[2025-01-07 15:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:09:01] Production.INFO: ==29593== Lock acquired, processing the job...
[2025-01-07 10:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:09:02] Production.INFO: ==29593== Releasing lock...
[2025-01-07 10:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 15:09:02] Production.INFO: ==29595== Lock acquired, processing the job...
[2025-01-07 15:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:09:02] Production.INFO: ==29595== Releasing lock...
[2025-01-07 15:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:09:02] Production.INFO: ==29599== Lock acquired, processing the job...
[2025-01-07 10:09:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:09:02] Production.INFO: ==29601== Lock acquired, processing the job...
[2025-01-07 10:09:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:09:02] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:09:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:09:02] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:09:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:09:02] Production.INFO: ==29605== Lock acquired, processing the job...
[2025-01-07 10:09:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:09:03] Production.INFO: ==29599== Releasing lock...
[2025-01-07 10:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:09:03] Production.INFO: ==29597== Lock acquired, processing the job...
[2025-01-07 10:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:09:03] Production.INFO: ==29603== Lock acquired, processing the job...
[2025-01-07 10:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:09:03] Production.INFO: ==29607== Lock acquired, processing the job...
[2025-01-07 10:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:09:03] Production.ERROR: done
[2025-01-07 10:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 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-07 10:09:03] Production.INFO: Account Balance Start.
[2025-01-07 10:09:03] Production.INFO: CreateAllLog Start
[2025-01-07 10:09:03] Production.INFO: 117
[2025-01-07 10:09:03] Production.INFO: Date 2024-12-08
[2025-01-07 10:09:03] Production.INFO: count ==21
[2025-01-07 10:09:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 10:09:03] Production.INFO: count ==21
[2025-01-07 10:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194189') start
[2025-01-07 10:09:03] Production.ERROR: done
[2025-01-07 10:09:03] Production.INFO: Date 2024-12-09
[2025-01-07 10:09:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:09:03] Production.INFO: Date 2024-12-10
[2025-01-07 10:09:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:09:03] Production.INFO: Date 2024-12-11
[2025-01-07 10:09:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:09:03] Production.INFO: Date 2024-12-12
[2025-01-07 10:09:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:09:03] Production.INFO: Date 2024-12-13
[2025-01-07 10:09:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:09:03] Production.INFO: Date 2024-12-14
[2025-01-07 10:09:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:09:03] Production.INFO: Date 2024-12-15
[2025-01-07 10:09:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194189') end
[2025-01-07 10:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:09:03] Production.INFO: 1
[2025-01-07 10:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:09:03] Production.INFO: ==29607== Releasing lock...
[2025-01-07 10:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:09:03] Production.INFO: Date 2024-12-16
[2025-01-07 10:09:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:09:03] Production.INFO: Date 2024-12-17
[2025-01-07 10:09:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:09:03] Production.INFO: Date 2024-12-18
[2025-01-07 10:09:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:09:03] Production.INFO: Date 2024-12-19
[2025-01-07 10:09:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:09:04] Production.INFO: Date 2024-12-20
[2025-01-07 10:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:09:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:09:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:09:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:09:04
[end_date_ymd] => 2025-01-07 10:09:04
[RateCDR] => 1
)
[2025-01-07 10:09:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 07:09:04' and `end` < '2025-01-07 10:09:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 10:09:04] Production.INFO: Date 2024-12-23
[2025-01-07 10:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:09:04] Production.INFO: Date 2024-12-24
[2025-01-07 10:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:09:04] Production.INFO: Date 2024-12-25
[2025-01-07 10:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:09:04] Production.INFO: Date 2024-12-26
[2025-01-07 10:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:09:04] Production.INFO: Date 2024-12-27
[2025-01-07 10:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:09:04] Production.INFO: Date 2024-12-28
[2025-01-07 10:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:09:04] Production.INFO: Date 2024-12-29
[2025-01-07 10:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:09:04] Production.INFO: Date 2024-12-30
[2025-01-07 10:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:09:04] Production.INFO: Date 2024-12-31
[2025-01-07 10:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:09:04] Production.INFO: Date 2025-01-01
[2025-01-07 10:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:09:04] Production.INFO: Date 2025-01-02
[2025-01-07 10:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:09:04] Production.INFO: Date 2025-01-03
[2025-01-07 10:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:09:04] Production.INFO: Date 2025-01-04
[2025-01-07 10:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:09:04] Production.INFO: Date 2025-01-05
[2025-01-07 10:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:09:04] Production.INFO: Date 2025-01-06
[2025-01-07 10:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:09:04] Production.INFO: Date 2025-01-07
[2025-01-07 10:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:09:04] Production.INFO: Total Charge 0
[2025-01-07 10:09:04] Production.INFO: CreateAllLog End
[2025-01-07 10:09:05] Production.INFO: Account Balance End.
[2025-01-07 10:09:05] Production.ERROR: CronJobId end 12
[2025-01-07 10:09:05] Production.INFO: ==29603== Releasing lock...
[2025-01-07 10:09:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:09:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:09:10] Production.ERROR: CronJobId end10
[2025-01-07 10:09:10] Production.INFO: ==29601== Releasing lock...
[2025-01-07 10:09:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:09:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:09:12] Production.INFO: call_cost start
[2025-01-07 10:09:12] Production.INFO: call_cost end
[2025-01-07 10:09:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:09:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:09:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:09:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:09:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:09:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:09:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:09:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:09:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:09:13] Production.INFO: ==29597== Releasing lock...
[2025-01-07 10:09:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:09:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:09:17] Production.INFO: count ==2157
[2025-01-07 10:09:18] Production.ERROR: pbx CDR StartTime 2025-01-07 07:09:04 - End Time 2025-01-07 10:09:04
[2025-01-07 10:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194191', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194191', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194191', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194191', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:09:18] Production.INFO: ProcessCDR(1,14194191,1,1,2)
[2025-01-07 10:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194191,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194191,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194191,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194191,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194191', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194191', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:09:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:09:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:09:22] Production.INFO: ==29605== Releasing lock...
[2025-01-07 10:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:09:22] Production.INFO: 44.5 MB #Memory Used#
[2025-01-07 15:10:01] Production.INFO: ==29668== Lock acquired, processing the job...
[2025-01-07 15:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:10:01] Production.INFO: neon service started
[2025-01-07 15:10:01] Production.INFO: neon service started
[2025-01-07 15:10:01] Production.INFO: ==29668== Releasing lock...
[2025-01-07 15:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 15:10:02] Production.INFO: ==29672== Lock acquired, processing the job...
[2025-01-07 15:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:10:02] Production.INFO: ==29672== Releasing lock...
[2025-01-07 15:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:10:02] Production.INFO: ==29670== Lock acquired, processing the job...
[2025-01-07 10:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:10:02] Production.INFO: ==29670== Releasing lock...
[2025-01-07 10:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:10:03] Production.INFO: ==29676== Lock acquired, processing the job...
[2025-01-07 10:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 10:10:03] Production.INFO: ==29681== Lock acquired, processing the job...
[2025-01-07 10:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 10:10:03] Production.INFO: ==29678== Lock acquired, processing the job...
[2025-01-07 10:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:10:03] Production.INFO: ==29685== Lock acquired, processing the job...
[2025-01-07 10:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 10:10:03] Production.INFO: ==29676== Releasing lock...
[2025-01-07 10:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 10:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 10:10:03] Production.INFO: ==29683== Lock acquired, processing the job...
[2025-01-07 10:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:10:03] Production.INFO: Account Balance Start.
[2025-01-07 10:10:03] Production.INFO: CreateAllLog Start
[2025-01-07 10:10:03] Production.INFO: 117
[2025-01-07 10:10:03] Production.INFO: Date 2024-12-08
[2025-01-07 10:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:10:04] Production.INFO: ==29689== Lock acquired, processing the job...
[2025-01-07 10:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 10:10:04] Production.INFO: ==29687== Lock acquired, processing the job...
[2025-01-07 10:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:10:04] Production.INFO: Date 2024-12-09
[2025-01-07 10:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:10:04] Production.INFO: Date 2024-12-10
[2025-01-07 10:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:10:04] Production.INFO: Date 2024-12-11
[2025-01-07 10:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:10:04] Production.INFO: ==29691== Lock acquired, processing the job...
[2025-01-07 10:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:10:04] Production.INFO: Date 2024-12-12
[2025-01-07 10:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:10:04] Production.INFO: Date 2024-12-13
[2025-01-07 10:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:10:04] Production.INFO: Date 2024-12-14
[2025-01-07 10:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 10:10:04] Production.INFO: Date 2024-12-15
[2025-01-07 10:10:04] Production.INFO: count ==21
[2025-01-07 10:10:04] Production.INFO: ==29681== Releasing lock...
[2025-01-07 10:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:10:04] Production.ERROR: done
[2025-01-07 10:10:04] Production.ERROR: done
[2025-01-07 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-07 10:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:10:04] Production.INFO: count ==21
[2025-01-07 10:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194195') start
[2025-01-07 10:10:04] Production.INFO: Date 2024-12-16
[2025-01-07 10:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 10:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14194196', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 10:10:04] Production.INFO: Date 2024-12-17
[2025-01-07 10:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:10:04] Production.INFO: Date 2024-12-18
[2025-01-07 10:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:10:04] Production.ERROR: done
[2025-01-07 10:10:04] Production.INFO: Date 2024-12-19
[2025-01-07 10:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:10:04] Production.INFO: Date 2024-12-20
[2025-01-07 10:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:10:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194195') end
[2025-01-07 10:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:10:04] Production.INFO: 1
[2025-01-07 10:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:10:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:10:05] Production.INFO: Date 2024-12-23
[2025-01-07 10:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:10:05] Production.INFO: ==29691== Releasing lock...
[2025-01-07 10:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:10:05] Production.INFO: Date 2024-12-24
[2025-01-07 10:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:10:05] Production.INFO: Date 2024-12-25
[2025-01-07 10:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:10:05] Production.INFO: Date 2024-12-26
[2025-01-07 10:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:10:05] Production.INFO: Date 2024-12-27
[2025-01-07 10:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:10:05] Production.INFO: Date 2024-12-28
[2025-01-07 10:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:10:05] Production.INFO: Date 2024-12-29
[2025-01-07 10:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:10:05] Production.INFO: Date 2024-12-30
[2025-01-07 10:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:10:05] Production.INFO: Date 2024-12-31
[2025-01-07 10:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:10:05] Production.INFO: Date 2025-01-01
[2025-01-07 10:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:10:05] Production.INFO: Date 2025-01-02
[2025-01-07 10:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:10:05] Production.INFO: Date 2025-01-03
[2025-01-07 10:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:10:05] Production.INFO: Date 2025-01-04
[2025-01-07 10:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:10:05] Production.INFO: Date 2025-01-05
[2025-01-07 10:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:10:05] Production.INFO: Date 2025-01-06
[2025-01-07 10:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:10:05] Production.INFO: Date 2025-01-07
[2025-01-07 10:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:10:05] Production.INFO: Total Charge 0
[2025-01-07 10:10:05] Production.INFO: CreateAllLog End
[2025-01-07 10:10:05] Production.INFO: Account Balance End.
[2025-01-07 10:10:05] Production.ERROR: CronJobId end 12
[2025-01-07 10:10:05] Production.INFO: ==29685== Releasing lock...
[2025-01-07 10:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:10:06
[end_date_ymd] => 2025-01-07 10:10:06
[RateCDR] => 1
)
[2025-01-07 10:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 07:10:06' and `end` < '2025-01-07 10:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 10:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14194196', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 10:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 10:10:08] Production.INFO: ProcessCDR(1,14194196,1,1,2)
[2025-01-07 10:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14194196,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14194196,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:10:09] Production.INFO: ==29689== Releasing lock...
[2025-01-07 10:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 10:10:09] Production.INFO: 26 MB #Memory Used#
[2025-01-07 10:10:13] Production.ERROR: CronJobId end10
[2025-01-07 10:10:13] Production.INFO: ==29683== Releasing lock...
[2025-01-07 10:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:10:15] Production.INFO: call_cost start
[2025-01-07 10:10:15] Production.INFO: call_cost end
[2025-01-07 10:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:10:16] Production.INFO: ==29678== Releasing lock...
[2025-01-07 10:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:10:24] Production.INFO: count ==2175
[2025-01-07 10:10:25] Production.ERROR: pbx CDR StartTime 2025-01-07 07:10:06 - End Time 2025-01-07 10:10:06
[2025-01-07 10:10:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:10:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194197', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:10:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194197', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:10:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194197', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:10:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194197', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:10:25] Production.INFO: ProcessCDR(1,14194197,1,1,2)
[2025-01-07 10:10:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194197,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:10:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194197,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:10:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194197,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:10:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194197,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:10:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194197', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:10:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194197', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:10:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:10:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:10:30] Production.INFO: ==29687== Releasing lock...
[2025-01-07 10:10:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:10:30] Production.INFO: 44.75 MB #Memory Used#
[2025-01-07 15:11:02] Production.INFO: ==29746== Lock acquired, processing the job...
[2025-01-07 15:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:11:02] Production.INFO: neon service started
[2025-01-07 15:11:02] Production.INFO: neon service started
[2025-01-07 15:11:02] Production.INFO: ==29746== Releasing lock...
[2025-01-07 15:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 15:11:03] Production.INFO: ==29751== Lock acquired, processing the job...
[2025-01-07 15:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:11:03] Production.INFO: ==29749== Lock acquired, processing the job...
[2025-01-07 10:11:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 15:11:03] Production.INFO: ==29751== Releasing lock...
[2025-01-07 15:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:11:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:11:03] Production.INFO: ==29749== Releasing lock...
[2025-01-07 10:11:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:11:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:11:04] Production.INFO: ==29753== Lock acquired, processing the job...
[2025-01-07 10:11:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:11:04] Production.INFO: ==29763== Lock acquired, processing the job...
[2025-01-07 10:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:11:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 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-07 10:11:04] Production.INFO: count ==21
[2025-01-07 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-07 10:11:04] Production.INFO: count ==21
[2025-01-07 10:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194199') start
[2025-01-07 10:11:04] Production.INFO: ==29755== Lock acquired, processing the job...
[2025-01-07 10:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:11:04] Production.INFO: ==29757== Lock acquired, processing the job...
[2025-01-07 10:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:11:04] Production.INFO: ==29759== Lock acquired, processing the job...
[2025-01-07 10:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:11:04] Production.INFO: ==29761== Lock acquired, processing the job...
[2025-01-07 10:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194199') end
[2025-01-07 10:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:11:04] Production.INFO: 1
[2025-01-07 10:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:11:04] Production.INFO: ==29763== Releasing lock...
[2025-01-07 10:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:11:04] Production.INFO: Account Balance Start.
[2025-01-07 10:11:04] Production.INFO: CreateAllLog Start
[2025-01-07 10:11:04] Production.INFO: 117
[2025-01-07 10:11:04] Production.INFO: Date 2024-12-08
[2025-01-07 10:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:11:04] Production.INFO: Date 2024-12-09
[2025-01-07 10:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:11:04] Production.INFO: Date 2024-12-10
[2025-01-07 10:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:11:04] Production.INFO: ==29755== Releasing lock...
[2025-01-07 10:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:11:04] Production.INFO: Date 2024-12-11
[2025-01-07 10:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:11:04] Production.INFO: Date 2024-12-12
[2025-01-07 10:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:11:04] Production.ERROR: done
[2025-01-07 10:11:04] Production.INFO: Date 2024-12-13
[2025-01-07 10:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:11:05] Production.INFO: Date 2024-12-14
[2025-01-07 10:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:11:05] Production.ERROR: done
[2025-01-07 10:11:05] Production.INFO: Date 2024-12-15
[2025-01-07 10:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:11:05] Production.INFO: Date 2024-12-16
[2025-01-07 10:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:11:05] Production.INFO: Date 2024-12-17
[2025-01-07 10:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:11:05] Production.INFO: Date 2024-12-18
[2025-01-07 10:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:11:05] Production.INFO: Date 2024-12-19
[2025-01-07 10:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:11:05] Production.INFO: Date 2024-12-20
[2025-01-07 10:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:11:05] Production.INFO: Date 2024-12-21
[2025-01-07 10:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:11:05] Production.INFO: Date 2024-12-22
[2025-01-07 10:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:11:05] Production.INFO: Date 2024-12-23
[2025-01-07 10:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:11:05] Production.INFO: Date 2024-12-24
[2025-01-07 10:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:11:05] Production.INFO: Date 2024-12-25
[2025-01-07 10:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:11:05] Production.INFO: Date 2024-12-26
[2025-01-07 10:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:11:05] Production.INFO: Date 2024-12-27
[2025-01-07 10:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:11:05] Production.INFO: Date 2024-12-28
[2025-01-07 10:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:11:05] Production.INFO: Date 2024-12-29
[2025-01-07 10:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:11:05] Production.INFO: Date 2024-12-30
[2025-01-07 10:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:11:05] Production.INFO: Date 2024-12-31
[2025-01-07 10:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:11:05] Production.INFO: Date 2025-01-01
[2025-01-07 10:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:11:05] Production.INFO: Date 2025-01-02
[2025-01-07 10:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:11:05] Production.INFO: Date 2025-01-03
[2025-01-07 10:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:11:05] Production.INFO: Date 2025-01-04
[2025-01-07 10:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:11:05] Production.INFO: Date 2025-01-05
[2025-01-07 10:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:11:06] Production.INFO: Date 2025-01-06
[2025-01-07 10:11:06] Production.INFO: Reseller ==> 0
[2025-01-07 10:11:06] Production.INFO: Date 2025-01-07
[2025-01-07 10:11:06] Production.INFO: Reseller ==> 0
[2025-01-07 10:11:06] Production.INFO: Total Charge 0
[2025-01-07 10:11:06] Production.INFO: CreateAllLog End
[2025-01-07 10:11:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:11:06
[end_date_ymd] => 2025-01-07 10:11:06
[RateCDR] => 1
)
[2025-01-07 10:11:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 07:11:06' and `end` < '2025-01-07 10:11:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 10:11:06] Production.INFO: Account Balance End.
[2025-01-07 10:11:06] Production.ERROR: CronJobId end 12
[2025-01-07 10:11:06] Production.INFO: ==29759== Releasing lock...
[2025-01-07 10:11:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:11:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:11:12] Production.ERROR: CronJobId end10
[2025-01-07 10:11:12] Production.INFO: ==29757== Releasing lock...
[2025-01-07 10:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:11:14] Production.INFO: call_cost start
[2025-01-07 10:11:14] Production.INFO: call_cost end
[2025-01-07 10:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:11:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:11:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:11:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:11:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:11:15] Production.INFO: ==29753== Releasing lock...
[2025-01-07 10:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:11:25] Production.INFO: count ==2243
[2025-01-07 10:11:26] Production.ERROR: pbx CDR StartTime 2025-01-07 07:11:06 - End Time 2025-01-07 10:11:06
[2025-01-07 10:11:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:11:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194202', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:11:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194202', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:11:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194202', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:11:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194202', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:11:26] Production.INFO: ProcessCDR(1,14194202,1,1,2)
[2025-01-07 10:11:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194202,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:11:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194202,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:11:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194202,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:11:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194202,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:11:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194202', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:11:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194202', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:11:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:11:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:11:31] Production.INFO: ==29761== Releasing lock...
[2025-01-07 10:11:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:11:31] Production.INFO: 44.75 MB #Memory Used#
[2025-01-07 15:12:02] Production.INFO: ==29818== Lock acquired, processing the job...
[2025-01-07 15:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:12:02] Production.INFO: neon service started
[2025-01-07 15:12:02] Production.INFO: neon service started
[2025-01-07 15:12:02] Production.INFO: ==29818== Releasing lock...
[2025-01-07 15:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:12:02] Production.INFO: ==29821== Lock acquired, processing the job...
[2025-01-07 10:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:12:02] Production.INFO: ==29821== Releasing lock...
[2025-01-07 10:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 15:12:02] Production.INFO: ==29823== Lock acquired, processing the job...
[2025-01-07 15:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:12:02] Production.INFO: ==29823== Releasing lock...
[2025-01-07 15:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:12:03] Production.INFO: ==29825== Lock acquired, processing the job...
[2025-01-07 10:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:12:03] Production.INFO: ==29829== Lock acquired, processing the job...
[2025-01-07 10:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:12:03] Production.INFO: ==29827== Lock acquired, processing the job...
[2025-01-07 10:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:12:03] Production.INFO: ==29831== Lock acquired, processing the job...
[2025-01-07 10:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:12:03] Production.INFO: ==29835== Lock acquired, processing the job...
[2025-01-07 10:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:12:03] Production.INFO: ==29833== Lock acquired, processing the job...
[2025-01-07 10:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:12:03] Production.INFO: Account Balance Start.
[2025-01-07 10:12:03] Production.INFO: CreateAllLog Start
[2025-01-07 10:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:12:03] Production.INFO: 117
[2025-01-07 10:12:03] Production.INFO: Date 2024-12-08
[2025-01-07 10:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 10:12:03] Production.INFO: count ==21
[2025-01-07 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-07 10:12:03] Production.INFO: count ==21
[2025-01-07 10:12:03] Production.INFO: Date 2024-12-09
[2025-01-07 10:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194206') start
[2025-01-07 10:12:04] Production.INFO: Date 2024-12-10
[2025-01-07 10:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:12:04] Production.INFO: Date 2024-12-11
[2025-01-07 10:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:12:04] Production.INFO: Date 2024-12-12
[2025-01-07 10:12:04] Production.INFO: ==29827== Releasing lock...
[2025-01-07 10:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194206') end
[2025-01-07 10:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:12:04] Production.INFO: 1
[2025-01-07 10:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:12:04] Production.ERROR: done
[2025-01-07 10:12:04] Production.INFO: Date 2024-12-13
[2025-01-07 10:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:12:04] Production.INFO: ==29835== Releasing lock...
[2025-01-07 10:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:12:04] Production.INFO: Date 2024-12-14
[2025-01-07 10:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:12:04] Production.INFO: Date 2024-12-15
[2025-01-07 10:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:12:04] Production.INFO: Date 2024-12-16
[2025-01-07 10:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:12:04] Production.ERROR: done
[2025-01-07 10:12:04] Production.INFO: Date 2024-12-17
[2025-01-07 10:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:12:04] Production.INFO: Date 2024-12-18
[2025-01-07 10:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:12:04] Production.INFO: Date 2024-12-19
[2025-01-07 10:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:12:04] Production.INFO: Date 2024-12-20
[2025-01-07 10:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:12:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:12:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:12:04] Production.INFO: Date 2024-12-23
[2025-01-07 10:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:12:04] Production.INFO: Date 2024-12-24
[2025-01-07 10:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:12:04] Production.INFO: Date 2024-12-25
[2025-01-07 10:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:12:04] Production.INFO: Date 2024-12-26
[2025-01-07 10:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:12:04] Production.INFO: Date 2024-12-27
[2025-01-07 10:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:12:04] Production.INFO: Date 2024-12-28
[2025-01-07 10:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:12:04] Production.INFO: Date 2024-12-29
[2025-01-07 10:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:12:04] Production.INFO: Date 2024-12-30
[2025-01-07 10:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:12:04] Production.INFO: Date 2024-12-31
[2025-01-07 10:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:12:04] Production.INFO: Date 2025-01-01
[2025-01-07 10:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:12:04] Production.INFO: Date 2025-01-02
[2025-01-07 10:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:12:04] Production.INFO: Date 2025-01-03
[2025-01-07 10:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:12:04] Production.INFO: Date 2025-01-04
[2025-01-07 10:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:12:05] Production.INFO: Date 2025-01-05
[2025-01-07 10:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:12:05] Production.INFO: Date 2025-01-06
[2025-01-07 10:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:12:05] Production.INFO: Date 2025-01-07
[2025-01-07 10:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:12:05] Production.INFO: Total Charge 0
[2025-01-07 10:12:05] Production.INFO: CreateAllLog End
[2025-01-07 10:12:05] Production.INFO: Account Balance End.
[2025-01-07 10:12:05] Production.ERROR: CronJobId end 12
[2025-01-07 10:12:05] Production.INFO: ==29831== Releasing lock...
[2025-01-07 10:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:12:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:12:05
[end_date_ymd] => 2025-01-07 10:12:05
[RateCDR] => 1
)
[2025-01-07 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-07 07:12:05' and `end` < '2025-01-07 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-07 10:12:11] Production.ERROR: CronJobId end10
[2025-01-07 10:12:11] Production.INFO: ==29829== Releasing lock...
[2025-01-07 10:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:12:13] Production.INFO: call_cost start
[2025-01-07 10:12:13] Production.INFO: call_cost end
[2025-01-07 10:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:12:14] Production.INFO: ==29825== Releasing lock...
[2025-01-07 10:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:12:22] Production.INFO: count ==2254
[2025-01-07 10:12:23] Production.ERROR: pbx CDR StartTime 2025-01-07 07:12:05 - End Time 2025-01-07 10:12:05
[2025-01-07 10:12:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:12:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194207', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:12:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194207', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:12:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194207', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:12:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194207', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:12:23] Production.INFO: ProcessCDR(1,14194207,1,1,2)
[2025-01-07 10:12:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194207,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:12:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194207,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:12:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194207,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:12:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194207,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:12:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194207', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:12:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194207', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:12:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:12:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:12:27] Production.INFO: ==29833== Releasing lock...
[2025-01-07 10:12:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:12:27] Production.INFO: 45 MB #Memory Used#
[2025-01-07 15:13:01] Production.INFO: ==29889== Lock acquired, processing the job...
[2025-01-07 15:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:13:01] Production.INFO: neon service started
[2025-01-07 15:13:01] Production.INFO: neon service started
[2025-01-07 15:13:01] Production.INFO: ==29889== Releasing lock...
[2025-01-07 15:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:13:01] Production.INFO: ==29891== Lock acquired, processing the job...
[2025-01-07 10:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:13:02] Production.INFO: ==29891== Releasing lock...
[2025-01-07 10:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 15:13:02] Production.INFO: ==29893== Lock acquired, processing the job...
[2025-01-07 15:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:13:02] Production.INFO: ==29893== Releasing lock...
[2025-01-07 15:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:13:02] Production.INFO: ==29895== Lock acquired, processing the job...
[2025-01-07 10:13:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:13:03] Production.INFO: ==29903== Lock acquired, processing the job...
[2025-01-07 10:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:13:03] Production.INFO: ==29901== Lock acquired, processing the job...
[2025-01-07 10:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:13:03] Production.INFO: ==29897== Lock acquired, processing the job...
[2025-01-07 10:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:13:03] Production.INFO: ==29899== Lock acquired, processing the job...
[2025-01-07 10:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:13:03] Production.INFO: Account Balance Start.
[2025-01-07 10:13:03] Production.INFO: CreateAllLog Start
[2025-01-07 10:13:03] Production.INFO: 117
[2025-01-07 10:13:03] Production.INFO: ==29905== Lock acquired, processing the job...
[2025-01-07 10:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:13:03] Production.INFO: Date 2024-12-08
[2025-01-07 10:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:13:03] Production.INFO: Date 2024-12-09
[2025-01-07 10:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:13:03] Production.INFO: Date 2024-12-10
[2025-01-07 10:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:13:03] Production.INFO: Date 2024-12-11
[2025-01-07 10:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:13:03] Production.INFO: Date 2024-12-12
[2025-01-07 10:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:13:03] Production.INFO: ==29897== Releasing lock...
[2025-01-07 10:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:13:03] Production.INFO: Date 2024-12-13
[2025-01-07 10:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:13:03] Production.ERROR: done
[2025-01-07 10:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:13:03] Production.INFO: Date 2024-12-14
[2025-01-07 10:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:13:03] Production.INFO: Date 2024-12-15
[2025-01-07 10:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 10:13:03] Production.INFO: Date 2024-12-16
[2025-01-07 10:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:13:03] Production.INFO: Date 2024-12-17
[2025-01-07 10:13:03] Production.INFO: count ==21
[2025-01-07 10:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:13:03] Production.INFO: Date 2024-12-18
[2025-01-07 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-07 10:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:13:03] Production.INFO: count ==21
[2025-01-07 10:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194211') start
[2025-01-07 10:13:03] Production.ERROR: done
[2025-01-07 10:13:03] Production.INFO: Date 2024-12-19
[2025-01-07 10:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:13:03] Production.INFO: Date 2024-12-20
[2025-01-07 10:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194211') end
[2025-01-07 10:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:13:03] Production.INFO: 1
[2025-01-07 10:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:13:03] Production.INFO: Date 2024-12-21
[2025-01-07 10:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:13:03] Production.INFO: Date 2024-12-22
[2025-01-07 10:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:13:03] Production.INFO: ==29905== Releasing lock...
[2025-01-07 10:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:13:03] Production.INFO: Date 2024-12-23
[2025-01-07 10:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:13:03] Production.INFO: Date 2024-12-24
[2025-01-07 10:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:13:03] Production.INFO: Date 2024-12-25
[2025-01-07 10:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:13:04] Production.INFO: Date 2024-12-26
[2025-01-07 10:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:13:04] Production.INFO: Date 2024-12-27
[2025-01-07 10:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:13:04] Production.INFO: Date 2024-12-28
[2025-01-07 10:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:13:04] Production.INFO: Date 2024-12-29
[2025-01-07 10:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:13:04] Production.INFO: Date 2024-12-30
[2025-01-07 10:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:13:04] Production.INFO: Date 2024-12-31
[2025-01-07 10:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:13:04] Production.INFO: Date 2025-01-01
[2025-01-07 10:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:13:04] Production.INFO: Date 2025-01-02
[2025-01-07 10:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:13:04] Production.INFO: Date 2025-01-03
[2025-01-07 10:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:13:04] Production.INFO: Date 2025-01-04
[2025-01-07 10:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:13:04] Production.INFO: Date 2025-01-05
[2025-01-07 10:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:13:04] Production.INFO: Date 2025-01-06
[2025-01-07 10:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:13:04] Production.INFO: Date 2025-01-07
[2025-01-07 10:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:13:04] Production.INFO: Total Charge 0
[2025-01-07 10:13:04] Production.INFO: CreateAllLog End
[2025-01-07 10:13:04] Production.INFO: Account Balance End.
[2025-01-07 10:13:04] Production.ERROR: CronJobId end 12
[2025-01-07 10:13:04] Production.INFO: ==29901== Releasing lock...
[2025-01-07 10:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:13:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:13:04
[end_date_ymd] => 2025-01-07 10:13:04
[RateCDR] => 1
)
[2025-01-07 10:13:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 07:13:04' and `end` < '2025-01-07 10:13:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 10:13:10] Production.ERROR: CronJobId end10
[2025-01-07 10:13:10] Production.INFO: ==29899== Releasing lock...
[2025-01-07 10:13:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:13:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:13:13] Production.INFO: call_cost start
[2025-01-07 10:13:13] Production.INFO: call_cost end
[2025-01-07 10:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:13:14] Production.INFO: ==29895== Releasing lock...
[2025-01-07 10:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:13:18] Production.INFO: count ==2260
[2025-01-07 10:13:18] Production.ERROR: pbx CDR StartTime 2025-01-07 07:13:04 - End Time 2025-01-07 10:13:04
[2025-01-07 10:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194212', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194212', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194212', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194212', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:13:18] Production.INFO: ProcessCDR(1,14194212,1,1,2)
[2025-01-07 10:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194212,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:13:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194212,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:13:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194212,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:13:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194212,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194212', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194212', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:13:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:13:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:13:23] Production.INFO: ==29903== Releasing lock...
[2025-01-07 10:13:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:13:23] Production.INFO: 45 MB #Memory Used#
[2025-01-07 15:14:01] Production.INFO: ==29959== Lock acquired, processing the job...
[2025-01-07 15:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:14:01] Production.INFO: neon service started
[2025-01-07 15:14:02] Production.INFO: neon service started
[2025-01-07 15:14:02] Production.INFO: ==29959== Releasing lock...
[2025-01-07 15:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:14:02] Production.INFO: ==29961== Lock acquired, processing the job...
[2025-01-07 10:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 15:14:02] Production.INFO: ==29963== Lock acquired, processing the job...
[2025-01-07 15:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:14:02] Production.INFO: ==29963== Releasing lock...
[2025-01-07 15:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:14:03] Production.INFO: ==29961== Releasing lock...
[2025-01-07 10:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:14:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:14:03] Production.INFO: ==29970== Lock acquired, processing the job...
[2025-01-07 10:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:14:04] Production.INFO: ==29974== Lock acquired, processing the job...
[2025-01-07 10:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:14:04] Production.INFO: ==29966== Lock acquired, processing the job...
[2025-01-07 10:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:14:04] Production.INFO: ==29968== Lock acquired, processing the job...
[2025-01-07 10:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:14:04] Production.ERROR: done
[2025-01-07 10:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:14:04] Production.INFO: ==29972== Lock acquired, processing the job...
[2025-01-07 10:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:14:04] Production.INFO: ==29976== Lock acquired, processing the job...
[2025-01-07 10:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:14:04] Production.ERROR: done
[2025-01-07 10:14:04] Production.INFO: Account Balance Start.
[2025-01-07 10:14:04] Production.INFO: CreateAllLog Start
[2025-01-07 10:14:04] Production.INFO: 117
[2025-01-07 10:14:04] Production.INFO: Date 2024-12-08
[2025-01-07 10:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 10:14:04] Production.INFO: count ==21
[2025-01-07 10:14:04] Production.INFO: Date 2024-12-09
[2025-01-07 10:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 10:14:04] Production.INFO: count ==21
[2025-01-07 10:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:14:04] Production.INFO: Date 2024-12-10
[2025-01-07 10:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194217') start
[2025-01-07 10:14:04] Production.INFO: Date 2024-12-11
[2025-01-07 10:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:14:04] Production.INFO: Date 2024-12-12
[2025-01-07 10:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:14:05] Production.INFO: Date 2024-12-13
[2025-01-07 10:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:14:05] Production.INFO: ==29968== Releasing lock...
[2025-01-07 10:14:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:14:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:14:05] Production.INFO: Date 2024-12-14
[2025-01-07 10:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:14:05] Production.ERROR: PBX CALL prc_importPBXExtension('14194217') end
[2025-01-07 10:14:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:14:05] Production.INFO: 1
[2025-01-07 10:14:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:14:05] Production.INFO: Date 2024-12-15
[2025-01-07 10:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:14:05] Production.INFO: Date 2024-12-16
[2025-01-07 10:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:14:05] Production.INFO: ==29976== Releasing lock...
[2025-01-07 10:14:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:14:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:14:05] Production.INFO: Date 2024-12-17
[2025-01-07 10:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:14:05] Production.INFO: Date 2024-12-18
[2025-01-07 10:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:14:05] Production.INFO: Date 2024-12-19
[2025-01-07 10:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:14:05] Production.INFO: Date 2024-12-20
[2025-01-07 10:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:14:05] Production.INFO: Date 2024-12-21
[2025-01-07 10:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:14:05] Production.INFO: Date 2024-12-22
[2025-01-07 10:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:14:05] Production.INFO: Date 2024-12-23
[2025-01-07 10:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:14:05] Production.INFO: Date 2024-12-24
[2025-01-07 10:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:14:05] Production.INFO: Date 2024-12-25
[2025-01-07 10:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:14:05] Production.INFO: Date 2024-12-26
[2025-01-07 10:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:14:05] Production.INFO: Date 2024-12-27
[2025-01-07 10:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:14:05] Production.INFO: Date 2024-12-28
[2025-01-07 10:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:14:05] Production.INFO: Date 2024-12-29
[2025-01-07 10:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:14:05] Production.INFO: Date 2024-12-30
[2025-01-07 10:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:14:05] Production.INFO: Date 2024-12-31
[2025-01-07 10:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:14:05] Production.INFO: Date 2025-01-01
[2025-01-07 10:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:14:05
[end_date_ymd] => 2025-01-07 10:14:05
[RateCDR] => 1
)
[2025-01-07 10:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 07:14:05' and `end` < '2025-01-07 10:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 10:14:05] Production.INFO: Date 2025-01-02
[2025-01-07 10:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:14:05] Production.INFO: Date 2025-01-03
[2025-01-07 10:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:14:05] Production.INFO: Date 2025-01-04
[2025-01-07 10:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:14:05] Production.INFO: Date 2025-01-05
[2025-01-07 10:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:14:05] Production.INFO: Date 2025-01-06
[2025-01-07 10:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:14:06] Production.INFO: Date 2025-01-07
[2025-01-07 10:14:06] Production.INFO: Reseller ==> 0
[2025-01-07 10:14:06] Production.INFO: Total Charge 0
[2025-01-07 10:14:06] Production.INFO: CreateAllLog End
[2025-01-07 10:14:06] Production.INFO: Account Balance End.
[2025-01-07 10:14:06] Production.ERROR: CronJobId end 12
[2025-01-07 10:14:06] Production.INFO: ==29972== Releasing lock...
[2025-01-07 10:14:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:14:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:14:12] Production.ERROR: CronJobId end10
[2025-01-07 10:14:12] Production.INFO: ==29970== Releasing lock...
[2025-01-07 10:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:14:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:14:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:14:15] Production.INFO: call_cost start
[2025-01-07 10:14:15] Production.INFO: call_cost end
[2025-01-07 10:14:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:14:16] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:14:16] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:14:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:14:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:14:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:14:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:14:16] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:14:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:14:16] Production.INFO: ==29966== Releasing lock...
[2025-01-07 10:14:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:14:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:14:20] Production.INFO: count ==2279
[2025-01-07 10:14:21] Production.ERROR: pbx CDR StartTime 2025-01-07 07:14:05 - End Time 2025-01-07 10:14:05
[2025-01-07 10:14:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194216', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194216', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194216', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194216', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:14:21] Production.INFO: ProcessCDR(1,14194216,1,1,2)
[2025-01-07 10:14:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194216,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:14:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194216,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:14:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194216,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:14:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194216,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:14:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194216', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:14:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194216', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:14:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:14:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:14:27] Production.INFO: ==29974== Releasing lock...
[2025-01-07 10:14:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:14:27] Production.INFO: 45.5 MB #Memory Used#
[2025-01-07 15:15:01] Production.INFO: ==30030== Lock acquired, processing the job...
[2025-01-07 15:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:15:01] Production.INFO: neon service started
[2025-01-07 15:15:01] Production.INFO: neon service started
[2025-01-07 15:15:01] Production.INFO: ==30030== Releasing lock...
[2025-01-07 15:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:15:01] Production.INFO: ==30032== Lock acquired, processing the job...
[2025-01-07 10:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:15:02] Production.INFO: ==30032== Releasing lock...
[2025-01-07 10:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 15:15:02] Production.INFO: ==30034== Lock acquired, processing the job...
[2025-01-07 15:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:15:02] Production.INFO: ==30034== Releasing lock...
[2025-01-07 15:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:15:03] Production.INFO: ==30039== Lock acquired, processing the job...
[2025-01-07 10:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:15:03] Production.INFO: ==30047== Lock acquired, processing the job...
[2025-01-07 10:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:15:03] Production.INFO: ==30041== Lock acquired, processing the job...
[2025-01-07 10:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:15:03] Production.INFO: ==30037== Lock acquired, processing the job...
[2025-01-07 10:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:15:03] Production.INFO: ==30043== Lock acquired, processing the job...
[2025-01-07 10:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:15:03] Production.INFO: ==30039== Releasing lock...
[2025-01-07 10:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:15:03] Production.INFO: ==30045== Lock acquired, processing the job...
[2025-01-07 10:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:15:03] Production.INFO: Account Balance Start.
[2025-01-07 10:15:03] Production.INFO: CreateAllLog Start
[2025-01-07 10:15:03] Production.INFO: 117
[2025-01-07 10:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 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-07 10:15:03] Production.INFO: Date 2024-12-08
[2025-01-07 10:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:15:03] Production.INFO: count ==21
[2025-01-07 10:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 10:15:03] Production.INFO: count ==21
[2025-01-07 10:15:03] Production.INFO: Date 2024-12-09
[2025-01-07 10:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194219') start
[2025-01-07 10:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194219') end
[2025-01-07 10:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:15:03] Production.INFO: 1
[2025-01-07 10:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:15:03] Production.INFO: Date 2024-12-10
[2025-01-07 10:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:15:03] Production.INFO: Date 2024-12-11
[2025-01-07 10:15:03] Production.INFO: ==30047== Releasing lock...
[2025-01-07 10:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:15:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:15:03] Production.INFO: Date 2024-12-12
[2025-01-07 10:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:15:03] Production.INFO: Date 2024-12-13
[2025-01-07 10:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:15:03] Production.INFO: Date 2024-12-14
[2025-01-07 10:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:15:03] Production.ERROR: done
[2025-01-07 10:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:15:04] Production.INFO: Date 2024-12-15
[2025-01-07 10:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:15:04] Production.INFO: Date 2024-12-16
[2025-01-07 10:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:15:04] Production.INFO: Date 2024-12-17
[2025-01-07 10:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:15:04] Production.ERROR: done
[2025-01-07 10:15:04] Production.INFO: Date 2024-12-18
[2025-01-07 10:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:15:04] Production.INFO: Date 2024-12-19
[2025-01-07 10:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:15:04] Production.INFO: Date 2024-12-20
[2025-01-07 10:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:15:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:15:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:15:04] Production.INFO: Date 2024-12-23
[2025-01-07 10:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:15:04] Production.INFO: Date 2024-12-24
[2025-01-07 10:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:15:04] Production.INFO: Date 2024-12-25
[2025-01-07 10:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:15:04] Production.INFO: Date 2024-12-26
[2025-01-07 10:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:15:04] Production.INFO: Date 2024-12-27
[2025-01-07 10:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:15:04] Production.INFO: Date 2024-12-28
[2025-01-07 10:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:15:04] Production.INFO: Date 2024-12-29
[2025-01-07 10:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:15:04] Production.INFO: Date 2024-12-30
[2025-01-07 10:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:15:05] Production.INFO: Date 2024-12-31
[2025-01-07 10:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:15:05] Production.INFO: Date 2025-01-01
[2025-01-07 10:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:15:05] Production.INFO: Date 2025-01-02
[2025-01-07 10:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:15:05] Production.INFO: Date 2025-01-03
[2025-01-07 10:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:15:05] Production.INFO: Date 2025-01-04
[2025-01-07 10:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:15:05] Production.INFO: Date 2025-01-05
[2025-01-07 10:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:15:05] Production.INFO: Date 2025-01-06
[2025-01-07 10:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:15:05] Production.INFO: Date 2025-01-07
[2025-01-07 10:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:15:05] Production.INFO: Total Charge 0
[2025-01-07 10:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:15:05
[end_date_ymd] => 2025-01-07 10:15:05
[RateCDR] => 1
)
[2025-01-07 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-07 07:15:05' and `end` < '2025-01-07 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-07 10:15:05] Production.INFO: CreateAllLog End
[2025-01-07 10:15:05] Production.INFO: Account Balance End.
[2025-01-07 10:15:05] Production.ERROR: CronJobId end 12
[2025-01-07 10:15:05] Production.INFO: ==30043== Releasing lock...
[2025-01-07 10:15:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:15:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:15:11] Production.ERROR: CronJobId end10
[2025-01-07 10:15:11] Production.INFO: ==30041== Releasing lock...
[2025-01-07 10:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:15:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:15:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:15:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:15:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:15:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:15:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:15:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:15:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:15:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:15:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:15:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:15:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:15:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:15:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:15:13] Production.INFO: call_cost start
[2025-01-07 10:15:13] Production.INFO: call_cost end
[2025-01-07 10:15:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:15:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:15:14] Production.INFO: ==30037== Releasing lock...
[2025-01-07 10:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:15:18] Production.INFO: count ==2294
[2025-01-07 10:15:19] Production.ERROR: pbx CDR StartTime 2025-01-07 07:15:05 - End Time 2025-01-07 10:15:05
[2025-01-07 10:15:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194222', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194222', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194222', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194222', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:15:19] Production.INFO: ProcessCDR(1,14194222,1,1,2)
[2025-01-07 10:15:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194222,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:15:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194222,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:15:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194222,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194222,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194222', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194222', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:15:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:15:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:15:22] Production.INFO: ==30045== Releasing lock...
[2025-01-07 10:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:15:22] Production.INFO: 45.25 MB #Memory Used#
[2025-01-07 15:16:02] Production.INFO: ==30142== Lock acquired, processing the job...
[2025-01-07 15:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:16:02] Production.INFO: neon service started
[2025-01-07 15:16:02] Production.INFO: neon service started
[2025-01-07 15:16:02] Production.INFO: ==30142== Releasing lock...
[2025-01-07 15:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 15:16:02] Production.INFO: ==30146== Lock acquired, processing the job...
[2025-01-07 15:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:16:02] Production.INFO: ==30146== Releasing lock...
[2025-01-07 15:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:16:02] Production.INFO: ==30144== Lock acquired, processing the job...
[2025-01-07 10:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:16:03] Production.INFO: ==30144== Releasing lock...
[2025-01-07 10:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:16:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:16:03] Production.INFO: ==30153== Lock acquired, processing the job...
[2025-01-07 10:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:16:03] Production.INFO: ==30159== Lock acquired, processing the job...
[2025-01-07 10:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:16:04] Production.INFO: ==30149== Lock acquired, processing the job...
[2025-01-07 10:16:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:16:04] Production.INFO: ==30151== Lock acquired, processing the job...
[2025-01-07 10:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 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-07 10:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:16:04] Production.INFO: ==30155== Lock acquired, processing the job...
[2025-01-07 10:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:16:04] Production.INFO: ==30157== Lock acquired, processing the job...
[2025-01-07 10:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:16:04] Production.INFO: count ==21
[2025-01-07 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-07 10:16:04] Production.INFO: count ==21
[2025-01-07 10:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194223') start
[2025-01-07 10:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:16:04] Production.INFO: Account Balance Start.
[2025-01-07 10:16:04] Production.INFO: CreateAllLog Start
[2025-01-07 10:16:04] Production.INFO: 117
[2025-01-07 10:16:04] Production.INFO: Date 2024-12-08
[2025-01-07 10:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:16:04] Production.INFO: Date 2024-12-09
[2025-01-07 10:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194223') end
[2025-01-07 10:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:16:04] Production.INFO: 1
[2025-01-07 10:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:16:04] Production.INFO: Date 2024-12-10
[2025-01-07 10:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:16:04] Production.INFO: Date 2024-12-11
[2025-01-07 10:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:16:04] Production.INFO: Date 2024-12-12
[2025-01-07 10:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:16:04] Production.INFO: ==30159== Releasing lock...
[2025-01-07 10:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:16:04] Production.INFO: ==30151== Releasing lock...
[2025-01-07 10:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:16:04] Production.INFO: Date 2024-12-13
[2025-01-07 10:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:16:04] Production.ERROR: done
[2025-01-07 10:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:16:04] Production.INFO: Date 2024-12-14
[2025-01-07 10:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:16:04] Production.INFO: Date 2024-12-15
[2025-01-07 10:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:16:04] Production.INFO: Date 2024-12-16
[2025-01-07 10:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:16:04] Production.INFO: Date 2024-12-17
[2025-01-07 10:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:16:04] Production.ERROR: done
[2025-01-07 10:16:04] Production.INFO: Date 2024-12-18
[2025-01-07 10:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:16:04] Production.INFO: Date 2024-12-19
[2025-01-07 10:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:16:04] Production.INFO: Date 2024-12-20
[2025-01-07 10:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:16:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:16:05] Production.INFO: Date 2024-12-22
[2025-01-07 10:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:16:05] Production.INFO: Date 2024-12-23
[2025-01-07 10:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:16:05] Production.INFO: Date 2024-12-24
[2025-01-07 10:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:16:05] Production.INFO: Date 2024-12-25
[2025-01-07 10:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:16:05] Production.INFO: Date 2024-12-26
[2025-01-07 10:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:16:05] Production.INFO: Date 2024-12-27
[2025-01-07 10:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:16:05] Production.INFO: Date 2024-12-28
[2025-01-07 10:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:16:05] Production.INFO: Date 2024-12-29
[2025-01-07 10:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:16:05] Production.INFO: Date 2024-12-30
[2025-01-07 10:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:16:05] Production.INFO: Date 2024-12-31
[2025-01-07 10:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:16:05] Production.INFO: Date 2025-01-01
[2025-01-07 10:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:16:05] Production.INFO: Date 2025-01-02
[2025-01-07 10:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:16:05] Production.INFO: Date 2025-01-03
[2025-01-07 10:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:16:05] Production.INFO: Date 2025-01-04
[2025-01-07 10:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:16:05] Production.INFO: Date 2025-01-05
[2025-01-07 10:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:16:05] Production.INFO: Date 2025-01-06
[2025-01-07 10:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:16:05] Production.INFO: Date 2025-01-07
[2025-01-07 10:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:16:05] Production.INFO: Total Charge 0
[2025-01-07 10:16:05] Production.INFO: CreateAllLog End
[2025-01-07 10:16:05] Production.INFO: Account Balance End.
[2025-01-07 10:16:05] Production.ERROR: CronJobId end 12
[2025-01-07 10:16:05] Production.INFO: ==30155== Releasing lock...
[2025-01-07 10:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:16:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:16:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:16:06
[end_date_ymd] => 2025-01-07 10:16:06
[RateCDR] => 1
)
[2025-01-07 10: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-07 07:16:06' and `end` < '2025-01-07 10: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-07 10:16:13] Production.ERROR: CronJobId end10
[2025-01-07 10:16:13] Production.INFO: ==30153== Releasing lock...
[2025-01-07 10:16:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:16:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:16:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:16:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:16:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:16:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:16:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:16:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:16:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:16:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:16:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:16:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:16:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:16:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:16:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:16:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:16:14] Production.INFO: call_cost start
[2025-01-07 10:16:14] Production.INFO: call_cost end
[2025-01-07 10:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:16:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:16:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:16:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:16:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:16:15] Production.INFO: ==30149== Releasing lock...
[2025-01-07 10:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:16:26] Production.INFO: count ==2319
[2025-01-07 10:16:26] Production.ERROR: pbx CDR StartTime 2025-01-07 07:16:06 - End Time 2025-01-07 10:16:06
[2025-01-07 10:16:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:16:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194227', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:16:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194227', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:16:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194227', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:16:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194227', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:16:26] Production.INFO: ProcessCDR(1,14194227,1,1,2)
[2025-01-07 10:16:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194227,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:16:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194227,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:16:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194227,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:16:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194227,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:16:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194227', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:16:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194227', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:16:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:16:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:16:31] Production.INFO: ==30157== Releasing lock...
[2025-01-07 10:16:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:16:31] Production.INFO: 45.5 MB #Memory Used#
[2025-01-07 15:17:01] Production.INFO: ==30215== Lock acquired, processing the job...
[2025-01-07 15:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:17:01] Production.INFO: neon service started
[2025-01-07 15:17:01] Production.INFO: neon service started
[2025-01-07 15:17:01] Production.INFO: ==30215== Releasing lock...
[2025-01-07 15:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 15:17:02] Production.INFO: ==30220== Lock acquired, processing the job...
[2025-01-07 15:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:17:02] Production.INFO: ==30220== Releasing lock...
[2025-01-07 15:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:17:02] Production.INFO: ==30218== Lock acquired, processing the job...
[2025-01-07 10:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:17:02] Production.INFO: ==30218== Releasing lock...
[2025-01-07 10:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:17:03] Production.INFO: ==30222== Lock acquired, processing the job...
[2025-01-07 10:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:17:03] Production.INFO: ==30224== Lock acquired, processing the job...
[2025-01-07 10:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:17:03] Production.INFO: ==30230== Lock acquired, processing the job...
[2025-01-07 10:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:17:03] Production.INFO: ==30226== Lock acquired, processing the job...
[2025-01-07 10:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:17:04] Production.INFO: ==30228== Lock acquired, processing the job...
[2025-01-07 10:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:17:04] Production.INFO: ==30232== Lock acquired, processing the job...
[2025-01-07 10:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:17:04] Production.INFO: ==30224== Releasing lock...
[2025-01-07 10:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:17:04] Production.INFO: Account Balance Start.
[2025-01-07 10:17:04] Production.INFO: CreateAllLog Start
[2025-01-07 10:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:17:04] Production.INFO: 117
[2025-01-07 10:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 10:17:04] Production.ERROR: done
[2025-01-07 10:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:17:04] Production.INFO: Date 2024-12-08
[2025-01-07 10:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:17:04] Production.INFO: count ==21
[2025-01-07 10:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 10:17:04] Production.INFO: count ==21
[2025-01-07 10:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194231') start
[2025-01-07 10:17:04] Production.INFO: Date 2024-12-09
[2025-01-07 10:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:17:04] Production.INFO: Date 2024-12-10
[2025-01-07 10:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:17:04] Production.ERROR: done
[2025-01-07 10:17:04] Production.INFO: Date 2024-12-11
[2025-01-07 10:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:17:04] Production.INFO: Date 2024-12-12
[2025-01-07 10:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194231') end
[2025-01-07 10:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:17:04] Production.INFO: 1
[2025-01-07 10:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:17:04] Production.INFO: ==30232== Releasing lock...
[2025-01-07 10:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:17:04] Production.INFO: Date 2024-12-13
[2025-01-07 10:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:17:04] Production.INFO: Date 2024-12-14
[2025-01-07 10:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:17:04] Production.INFO: Date 2024-12-15
[2025-01-07 10:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:17:04] Production.INFO: Date 2024-12-16
[2025-01-07 10:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:17:04] Production.INFO: Date 2024-12-17
[2025-01-07 10:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:17:04] Production.INFO: Date 2024-12-18
[2025-01-07 10:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:17:04] Production.INFO: Date 2024-12-19
[2025-01-07 10:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:17:04] Production.INFO: Date 2024-12-20
[2025-01-07 10:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:17:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:17:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:17:05] Production.INFO: Date 2024-12-23
[2025-01-07 10:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:17:05] Production.INFO: Date 2024-12-24
[2025-01-07 10:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:17:05] Production.INFO: Date 2024-12-25
[2025-01-07 10:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:17:05] Production.INFO: Date 2024-12-26
[2025-01-07 10:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:17:05] Production.INFO: Date 2024-12-27
[2025-01-07 10:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:17:05] Production.INFO: Date 2024-12-28
[2025-01-07 10:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:17:05] Production.INFO: Date 2024-12-29
[2025-01-07 10:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:17:05] Production.INFO: Date 2024-12-30
[2025-01-07 10:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:17:05] Production.INFO: Date 2024-12-31
[2025-01-07 10:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:17:05] Production.INFO: Date 2025-01-01
[2025-01-07 10:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:17:05] Production.INFO: Date 2025-01-02
[2025-01-07 10:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:17:05] Production.INFO: Date 2025-01-03
[2025-01-07 10:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:17:05] Production.INFO: Date 2025-01-04
[2025-01-07 10:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:17:05] Production.INFO: Date 2025-01-05
[2025-01-07 10:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:17:05] Production.INFO: Date 2025-01-06
[2025-01-07 10:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:17:05] Production.INFO: Date 2025-01-07
[2025-01-07 10:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:17:05] Production.INFO: Total Charge 0
[2025-01-07 10:17:05] Production.INFO: CreateAllLog End
[2025-01-07 10:17:05] Production.INFO: Account Balance End.
[2025-01-07 10:17:05] Production.ERROR: CronJobId end 12
[2025-01-07 10:17:05] Production.INFO: ==30228== Releasing lock...
[2025-01-07 10:17:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:17:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:17:05
[end_date_ymd] => 2025-01-07 10:17:05
[RateCDR] => 1
)
[2025-01-07 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-07 07:17:05' and `end` < '2025-01-07 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-07 10:17:12] Production.ERROR: CronJobId end10
[2025-01-07 10:17:12] Production.INFO: ==30226== Releasing lock...
[2025-01-07 10:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:17:13] Production.INFO: call_cost start
[2025-01-07 10:17:13] Production.INFO: call_cost end
[2025-01-07 10:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:17:14] Production.INFO: ==30222== Releasing lock...
[2025-01-07 10:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:17:25] Production.INFO: count ==2320
[2025-01-07 10:17:26] Production.ERROR: pbx CDR StartTime 2025-01-07 07:17:05 - End Time 2025-01-07 10:17:05
[2025-01-07 10:17:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:17:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194232', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:17:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194232', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:17:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194232', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:17:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194232', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:17:26] Production.INFO: ProcessCDR(1,14194232,1,1,2)
[2025-01-07 10:17:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194232,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:17:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194232,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:17:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194232,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:17:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194232,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:17:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194232', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:17:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194232', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:17:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:17:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:17:29] Production.INFO: ==30230== Releasing lock...
[2025-01-07 10:17:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:17:29] Production.INFO: 45.75 MB #Memory Used#
[2025-01-07 15:18:02] Production.INFO: ==30286== Lock acquired, processing the job...
[2025-01-07 15:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:18:02] Production.INFO: neon service started
[2025-01-07 15:18:02] Production.INFO: neon service started
[2025-01-07 15:18:02] Production.INFO: ==30286== Releasing lock...
[2025-01-07 15:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 15:18:02] Production.INFO: ==30290== Lock acquired, processing the job...
[2025-01-07 15:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:18:02] Production.INFO: ==30290== Releasing lock...
[2025-01-07 15:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:18:02] Production.INFO: ==30288== Lock acquired, processing the job...
[2025-01-07 10:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:18:03] Production.INFO: ==30288== Releasing lock...
[2025-01-07 10:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:18:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:18:03] Production.INFO: ==30293== Lock acquired, processing the job...
[2025-01-07 10:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:18:03] Production.INFO: ==30295== Lock acquired, processing the job...
[2025-01-07 10:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:18:03] Production.INFO: ==30301== Lock acquired, processing the job...
[2025-01-07 10:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:18:04] Production.INFO: ==30295== Releasing lock...
[2025-01-07 10:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:18:04] Production.INFO: ==30299== Lock acquired, processing the job...
[2025-01-07 10:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:18:04] Production.INFO: ==30297== Lock acquired, processing the job...
[2025-01-07 10:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:18:04] Production.ERROR: done
[2025-01-07 10:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:18:04] Production.INFO: ==30303== Lock acquired, processing the job...
[2025-01-07 10:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:18:04] Production.INFO: Account Balance Start.
[2025-01-07 10:18:04] Production.INFO: CreateAllLog Start
[2025-01-07 10:18:04] Production.INFO: 117
[2025-01-07 10:18:04] Production.INFO: Date 2024-12-08
[2025-01-07 10:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:18:04] Production.ERROR: done
[2025-01-07 10:18:04] Production.INFO: Date 2024-12-09
[2025-01-07 10:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 10:18:04] Production.INFO: count ==21
[2025-01-07 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-07 10:18:04] Production.INFO: count ==21
[2025-01-07 10:18:04] Production.INFO: Date 2024-12-10
[2025-01-07 10:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194236') start
[2025-01-07 10:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:18:04] Production.INFO: Date 2024-12-11
[2025-01-07 10:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:18:04] Production.INFO: Date 2024-12-12
[2025-01-07 10:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:18:04] Production.INFO: Date 2024-12-13
[2025-01-07 10:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194236') end
[2025-01-07 10:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:18:04] Production.INFO: 1
[2025-01-07 10:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:18:04] Production.INFO: ==30303== Releasing lock...
[2025-01-07 10:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:18:04] Production.INFO: Date 2024-12-14
[2025-01-07 10:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:18:04] Production.INFO: Date 2024-12-15
[2025-01-07 10:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:18:04] Production.INFO: Date 2024-12-16
[2025-01-07 10:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:18:04] Production.INFO: Date 2024-12-17
[2025-01-07 10:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:18:04] Production.INFO: Date 2024-12-18
[2025-01-07 10:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:18:04] Production.INFO: Date 2024-12-19
[2025-01-07 10:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:18:04] Production.INFO: Date 2024-12-20
[2025-01-07 10:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:18:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:18:05] Production.INFO: Date 2024-12-22
[2025-01-07 10:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:18:05] Production.INFO: Date 2024-12-23
[2025-01-07 10:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:18:05] Production.INFO: Date 2024-12-24
[2025-01-07 10:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:18:05] Production.INFO: Date 2024-12-25
[2025-01-07 10:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:18:05] Production.INFO: Date 2024-12-26
[2025-01-07 10:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:18:05] Production.INFO: Date 2024-12-27
[2025-01-07 10:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:18:05] Production.INFO: Date 2024-12-28
[2025-01-07 10:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:18:05] Production.INFO: Date 2024-12-29
[2025-01-07 10:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:18:05] Production.INFO: Date 2024-12-30
[2025-01-07 10:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:18:05] Production.INFO: Date 2024-12-31
[2025-01-07 10:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:18:05
[end_date_ymd] => 2025-01-07 10:18:05
[RateCDR] => 1
)
[2025-01-07 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-07 07:18:05' and `end` < '2025-01-07 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-07 10:18:05] Production.INFO: Date 2025-01-01
[2025-01-07 10:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:18:05] Production.INFO: Date 2025-01-02
[2025-01-07 10:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:18:05] Production.INFO: Date 2025-01-03
[2025-01-07 10:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:18:05] Production.INFO: Date 2025-01-04
[2025-01-07 10:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:18:05] Production.INFO: Date 2025-01-05
[2025-01-07 10:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:18:05] Production.INFO: Date 2025-01-06
[2025-01-07 10:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:18:05] Production.INFO: Date 2025-01-07
[2025-01-07 10:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:18:05] Production.INFO: Total Charge 0
[2025-01-07 10:18:05] Production.INFO: CreateAllLog End
[2025-01-07 10:18:05] Production.INFO: Account Balance End.
[2025-01-07 10:18:05] Production.ERROR: CronJobId end 12
[2025-01-07 10:18:05] Production.INFO: ==30299== Releasing lock...
[2025-01-07 10:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:18:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:18:12] Production.ERROR: CronJobId end10
[2025-01-07 10:18:12] Production.INFO: ==30297== Releasing lock...
[2025-01-07 10:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:18:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:18:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:18:14] Production.INFO: call_cost start
[2025-01-07 10:18:14] Production.INFO: call_cost end
[2025-01-07 10:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:18:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:18:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:18:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:18:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:18:15] Production.INFO: ==30293== Releasing lock...
[2025-01-07 10:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:18:26] Production.INFO: count ==2342
[2025-01-07 10:18:26] Production.ERROR: pbx CDR StartTime 2025-01-07 07:18:05 - End Time 2025-01-07 10:18:05
[2025-01-07 10:18:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:18:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194237', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:18:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194237', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:18:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194237', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:18:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194237', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:18:27] Production.INFO: ProcessCDR(1,14194237,1,1,2)
[2025-01-07 10:18:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194237,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:18:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194237,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:18:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194237,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:18:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194237,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:18:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194237', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:18:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194237', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:18:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:18:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:18:31] Production.INFO: ==30301== Releasing lock...
[2025-01-07 10:18:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:18:31] Production.INFO: 45.75 MB #Memory Used#
[2025-01-07 15:19:01] Production.INFO: ==30356== Lock acquired, processing the job...
[2025-01-07 15:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:19:01] Production.INFO: neon service started
[2025-01-07 15:19:01] Production.INFO: neon service started
[2025-01-07 15:19:01] Production.INFO: ==30356== Releasing lock...
[2025-01-07 15:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:19:01] Production.INFO: ==30358== Lock acquired, processing the job...
[2025-01-07 10:19:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:19:02] Production.INFO: ==30358== Releasing lock...
[2025-01-07 10:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 15:19:02] Production.INFO: ==30360== Lock acquired, processing the job...
[2025-01-07 15:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:19:02] Production.INFO: ==30360== Releasing lock...
[2025-01-07 15:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:19:02] Production.INFO: ==30364== Lock acquired, processing the job...
[2025-01-07 10:19:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:19:03] Production.INFO: ==30368== Lock acquired, processing the job...
[2025-01-07 10:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:19:03] Production.INFO: ==30362== Lock acquired, processing the job...
[2025-01-07 10:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:19:03] Production.INFO: Account Balance Start.
[2025-01-07 10:19:03] Production.INFO: CreateAllLog Start
[2025-01-07 10:19:03] Production.INFO: 117
[2025-01-07 10:19:03] Production.INFO: Date 2024-12-08
[2025-01-07 10:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:19:03] Production.INFO: ==30366== Lock acquired, processing the job...
[2025-01-07 10:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:19:03] Production.INFO: Date 2024-12-09
[2025-01-07 10:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:19:03] Production.INFO: ==30364== Releasing lock...
[2025-01-07 10:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:19:03] Production.INFO: Date 2024-12-10
[2025-01-07 10:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:19:03] Production.INFO: ==30370== Lock acquired, processing the job...
[2025-01-07 10:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:19:03] Production.INFO: Date 2024-12-11
[2025-01-07 10:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:19:03] Production.INFO: Date 2024-12-12
[2025-01-07 10:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:19:03] Production.INFO: Date 2024-12-13
[2025-01-07 10:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:19:03] Production.INFO: ==30372== Lock acquired, processing the job...
[2025-01-07 10:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:19:03] Production.INFO: Date 2024-12-14
[2025-01-07 10:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:19:03] Production.INFO: Date 2024-12-15
[2025-01-07 10:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:19:03] Production.INFO: Date 2024-12-16
[2025-01-07 10:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:19:03] Production.INFO: Date 2024-12-17
[2025-01-07 10:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:19:03] Production.INFO: Date 2024-12-18
[2025-01-07 10:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 10:19:03] Production.ERROR: done
[2025-01-07 10:19:03] Production.INFO: Date 2024-12-19
[2025-01-07 10:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:19:03] Production.INFO: count ==21
[2025-01-07 10:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 10:19:03] Production.INFO: count ==21
[2025-01-07 10:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194241') start
[2025-01-07 10:19:03] Production.INFO: Date 2024-12-20
[2025-01-07 10:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:19:03] Production.ERROR: done
[2025-01-07 10:19:03] Production.INFO: Date 2024-12-21
[2025-01-07 10:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194241') end
[2025-01-07 10:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:19:04] Production.INFO: 1
[2025-01-07 10:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:19:04] Production.INFO: ==30372== Releasing lock...
[2025-01-07 10:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:19:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:19:04] Production.INFO: Date 2024-12-23
[2025-01-07 10:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:19:04] Production.INFO: Date 2024-12-24
[2025-01-07 10:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:19:04] Production.INFO: Date 2024-12-25
[2025-01-07 10:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:19:04] Production.INFO: Date 2024-12-26
[2025-01-07 10:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:19:04] Production.INFO: Date 2024-12-27
[2025-01-07 10:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:19:04] Production.INFO: Date 2024-12-28
[2025-01-07 10:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:19:04] Production.INFO: Date 2024-12-29
[2025-01-07 10:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:19:04] Production.INFO: Date 2024-12-30
[2025-01-07 10:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:19:04] Production.INFO: Date 2024-12-31
[2025-01-07 10:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:19:04] Production.INFO: Date 2025-01-01
[2025-01-07 10:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:19:04] Production.INFO: Date 2025-01-02
[2025-01-07 10:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:19:04] Production.INFO: Date 2025-01-03
[2025-01-07 10:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:19:04] Production.INFO: Date 2025-01-04
[2025-01-07 10:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:19:04] Production.INFO: Date 2025-01-05
[2025-01-07 10:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:19:04] Production.INFO: Date 2025-01-06
[2025-01-07 10:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:19:04] Production.INFO: Date 2025-01-07
[2025-01-07 10:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:19:04] Production.INFO: Total Charge 0
[2025-01-07 10:19:04] Production.INFO: CreateAllLog End
[2025-01-07 10:19:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:19:04
[end_date_ymd] => 2025-01-07 10:19:04
[RateCDR] => 1
)
[2025-01-07 10: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-07 07:19:04' and `end` < '2025-01-07 10: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-07 10:19:04] Production.INFO: Account Balance End.
[2025-01-07 10:19:04] Production.ERROR: CronJobId end 12
[2025-01-07 10:19:04] Production.INFO: ==30368== Releasing lock...
[2025-01-07 10:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:19:11] Production.ERROR: CronJobId end10
[2025-01-07 10:19:11] Production.INFO: ==30366== Releasing lock...
[2025-01-07 10:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:19:13] Production.INFO: call_cost start
[2025-01-07 10:19:13] Production.INFO: call_cost end
[2025-01-07 10:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:19:14] Production.INFO: ==30362== Releasing lock...
[2025-01-07 10:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:19:20] Production.INFO: count ==2348
[2025-01-07 10:19:21] Production.ERROR: pbx CDR StartTime 2025-01-07 07:19:04 - End Time 2025-01-07 10:19:04
[2025-01-07 10:19:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:19:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194242', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:19:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194242', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:19:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194242', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:19:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194242', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:19:21] Production.INFO: ProcessCDR(1,14194242,1,1,2)
[2025-01-07 10:19:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194242,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:19:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194242,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:19:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194242,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:19:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194242,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:19:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194242', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:19:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194242', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:19:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:19:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:19:26] Production.INFO: ==30370== Releasing lock...
[2025-01-07 10:19:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:19:26] Production.INFO: 45.75 MB #Memory Used#
[2025-01-07 15:20:02] Production.INFO: ==30431== Lock acquired, processing the job...
[2025-01-07 15:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:20:02] Production.INFO: neon service started
[2025-01-07 15:20:02] Production.INFO: neon service started
[2025-01-07 15:20:02] Production.INFO: ==30431== Releasing lock...
[2025-01-07 15:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:20:02] Production.INFO: ==30433== Lock acquired, processing the job...
[2025-01-07 10:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 15:20:02] Production.INFO: ==30435== Lock acquired, processing the job...
[2025-01-07 15:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:20:02] Production.INFO: ==30435== Releasing lock...
[2025-01-07 15:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:20:02] Production.INFO: ==30433== Releasing lock...
[2025-01-07 10:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:20:03] Production.INFO: ==30438== Lock acquired, processing the job...
[2025-01-07 10:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 10:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 10:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 10:20:03] Production.INFO: ==30438== Releasing lock...
[2025-01-07 10:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 10:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 10:20:03] Production.INFO: ==30440== Lock acquired, processing the job...
[2025-01-07 10:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:20:03] Production.INFO: ==30446== Lock acquired, processing the job...
[2025-01-07 10:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:20:03] Production.INFO: ==30452== Lock acquired, processing the job...
[2025-01-07 10:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:20:03] Production.INFO: Account Balance Start.
[2025-01-07 10:20:03] Production.INFO: CreateAllLog Start
[2025-01-07 10:20:03] Production.INFO: 117
[2025-01-07 10:20:03] Production.INFO: Date 2024-12-08
[2025-01-07 10:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:20:03] Production.INFO: ==30442== Lock acquired, processing the job...
[2025-01-07 10:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:20:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:20:04] Production.INFO: Date 2024-12-09
[2025-01-07 10:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:20:04] Production.INFO: ==30444== Lock acquired, processing the job...
[2025-01-07 10:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 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-07 10:20:04] Production.INFO: Date 2024-12-10
[2025-01-07 10:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:20:04] Production.INFO: ==30448== Lock acquired, processing the job...
[2025-01-07 10:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:20:04] Production.INFO: count ==21
[2025-01-07 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-07 10:20:04] Production.INFO: count ==21
[2025-01-07 10:20:04] Production.INFO: Date 2024-12-11
[2025-01-07 10:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194245') start
[2025-01-07 10:20:04] Production.INFO: ==30450== Lock acquired, processing the job...
[2025-01-07 10:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 10:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:20:04] Production.INFO: Date 2024-12-12
[2025-01-07 10:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194245') end
[2025-01-07 10:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:20:04] Production.INFO: 1
[2025-01-07 10:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:20:04] Production.INFO: Date 2024-12-13
[2025-01-07 10:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:20:04] Production.INFO: ==30452== Releasing lock...
[2025-01-07 10:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:20:04] Production.INFO: ==30442== Releasing lock...
[2025-01-07 10:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:20:04] Production.INFO: Date 2024-12-14
[2025-01-07 10:20:04] Production.ERROR: done
[2025-01-07 10:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:20:04] Production.INFO: Date 2024-12-15
[2025-01-07 10:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:20:04] Production.INFO: Date 2024-12-16
[2025-01-07 10:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 10:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14194247', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 10:20:04] Production.ERROR: done
[2025-01-07 10:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:20:04] Production.INFO: Date 2024-12-17
[2025-01-07 10:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:20:04] Production.INFO: Date 2024-12-18
[2025-01-07 10:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:20:04] Production.INFO: Date 2024-12-19
[2025-01-07 10:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:20:04] Production.INFO: Date 2024-12-20
[2025-01-07 10:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:20:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:20:04] Production.ERROR: done
[2025-01-07 10:20:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:20:04] Production.INFO: Date 2024-12-23
[2025-01-07 10:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:20:04] Production.INFO: Date 2024-12-24
[2025-01-07 10:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:20:05] Production.INFO: Date 2024-12-25
[2025-01-07 10:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:20:05] Production.INFO: Date 2024-12-26
[2025-01-07 10:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:20:05] Production.INFO: Date 2024-12-27
[2025-01-07 10:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:20:05] Production.INFO: Date 2024-12-28
[2025-01-07 10:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:20:05] Production.INFO: Date 2024-12-29
[2025-01-07 10:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:20:05] Production.INFO: Date 2024-12-30
[2025-01-07 10:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:20:05] Production.INFO: Date 2024-12-31
[2025-01-07 10:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:20:05] Production.INFO: Date 2025-01-01
[2025-01-07 10:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:20:05] Production.INFO: Date 2025-01-02
[2025-01-07 10:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:20:05] Production.INFO: Date 2025-01-03
[2025-01-07 10:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:20:05] Production.INFO: Date 2025-01-04
[2025-01-07 10:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:20:05] Production.INFO: Date 2025-01-05
[2025-01-07 10:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:20:05] Production.INFO: Date 2025-01-06
[2025-01-07 10:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:20:05] Production.INFO: Date 2025-01-07
[2025-01-07 10:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:20:05] Production.INFO: Total Charge 0
[2025-01-07 10:20:05] Production.INFO: CreateAllLog End
[2025-01-07 10:20:05] Production.INFO: Account Balance End.
[2025-01-07 10:20:05] Production.ERROR: CronJobId end 12
[2025-01-07 10:20:05] Production.INFO: ==30446== Releasing lock...
[2025-01-07 10:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:20:05
[end_date_ymd] => 2025-01-07 10:20:05
[RateCDR] => 1
)
[2025-01-07 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-07 07:20:05' and `end` < '2025-01-07 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-07 10:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14194247', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 10:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 10:20:08] Production.INFO: ProcessCDR(1,14194247,1,1,2)
[2025-01-07 10:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14194247,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14194247,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:20:09] Production.INFO: ==30450== Releasing lock...
[2025-01-07 10:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 10:20:09] Production.INFO: 26 MB #Memory Used#
[2025-01-07 10:20:13] Production.ERROR: CronJobId end10
[2025-01-07 10:20:13] Production.INFO: ==30444== Releasing lock...
[2025-01-07 10:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:20:15] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:20:15] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:20:15] Production.INFO: call_cost start
[2025-01-07 10:20:15] Production.INFO: call_cost end
[2025-01-07 10:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:20:16] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:20:16] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:20:16] Production.INFO: ==30440== Releasing lock...
[2025-01-07 10:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:20:28] Production.INFO: count ==2381
[2025-01-07 10:20:29] Production.ERROR: pbx CDR StartTime 2025-01-07 07:20:05 - End Time 2025-01-07 10:20:05
[2025-01-07 10:20:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:20:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194248', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:20:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194248', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:20:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194248', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:20:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194248', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:20:29] Production.INFO: ProcessCDR(1,14194248,1,1,2)
[2025-01-07 10:20:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194248,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:20:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194248,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:20:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194248,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:20:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194248,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:20:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194248', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:20:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194248', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:20:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:20:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:20:34] Production.INFO: ==30448== Releasing lock...
[2025-01-07 10:20:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:20:34] Production.INFO: 46 MB #Memory Used#
[2025-01-07 15:21:01] Production.INFO: ==30504== Lock acquired, processing the job...
[2025-01-07 15:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:21:01] Production.INFO: neon service started
[2025-01-07 15:21:01] Production.INFO: neon service started
[2025-01-07 15:21:01] Production.INFO: ==30504== Releasing lock...
[2025-01-07 15:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:21:01] Production.INFO: ==30506== Lock acquired, processing the job...
[2025-01-07 10:21:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:21:02] Production.INFO: ==30506== Releasing lock...
[2025-01-07 10:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 15:21:02] Production.INFO: ==30508== Lock acquired, processing the job...
[2025-01-07 15:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:21:02] Production.INFO: ==30508== Releasing lock...
[2025-01-07 15:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:21:03] Production.INFO: ==30515== Lock acquired, processing the job...
[2025-01-07 10:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:21:03] Production.INFO: ==30521== Lock acquired, processing the job...
[2025-01-07 10:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:21:03] Production.INFO: ==30511== Lock acquired, processing the job...
[2025-01-07 10:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:21:03] Production.INFO: ==30513== Lock acquired, processing the job...
[2025-01-07 10:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:21:03] Production.INFO: ==30517== Lock acquired, processing the job...
[2025-01-07 10:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 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-07 10:21:03] Production.INFO: ==30519== Lock acquired, processing the job...
[2025-01-07 10:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:21:03] Production.INFO: count ==21
[2025-01-07 10:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 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-07 10:21:03] Production.INFO: count ==21
[2025-01-07 10:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194249') start
[2025-01-07 10:21:03] Production.INFO: Account Balance Start.
[2025-01-07 10:21:03] Production.INFO: CreateAllLog Start
[2025-01-07 10:21:03] Production.INFO: 117
[2025-01-07 10:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:21:03] Production.INFO: Date 2024-12-08
[2025-01-07 10:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194249') end
[2025-01-07 10:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:21:03] Production.INFO: 1
[2025-01-07 10:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:21:03] Production.INFO: ==30513== Releasing lock...
[2025-01-07 10:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:21:03] Production.INFO: ==30521== Releasing lock...
[2025-01-07 10:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:21:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:21:03] Production.INFO: Date 2024-12-09
[2025-01-07 10:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:21:03] Production.INFO: Date 2024-12-10
[2025-01-07 10:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:21:03] Production.ERROR: done
[2025-01-07 10:21:03] Production.INFO: Date 2024-12-11
[2025-01-07 10:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:21:03] Production.INFO: Date 2024-12-12
[2025-01-07 10:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:21:03] Production.INFO: Date 2024-12-13
[2025-01-07 10:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:21:03] Production.INFO: Date 2024-12-14
[2025-01-07 10:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:21:04] Production.INFO: Date 2024-12-15
[2025-01-07 10:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:21:04] Production.INFO: Date 2024-12-16
[2025-01-07 10:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:21:04] Production.ERROR: done
[2025-01-07 10:21:04] Production.INFO: Date 2024-12-17
[2025-01-07 10:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:21:04] Production.INFO: Date 2024-12-18
[2025-01-07 10:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:21:04] Production.INFO: Date 2024-12-19
[2025-01-07 10:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:21:04] Production.INFO: Date 2024-12-20
[2025-01-07 10:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:21:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:21:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:21:04] Production.INFO: Date 2024-12-23
[2025-01-07 10:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:21:04] Production.INFO: Date 2024-12-24
[2025-01-07 10:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:21:04] Production.INFO: Date 2024-12-25
[2025-01-07 10:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:21:04] Production.INFO: Date 2024-12-26
[2025-01-07 10:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:21:04] Production.INFO: Date 2024-12-27
[2025-01-07 10:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:21:04] Production.INFO: Date 2024-12-28
[2025-01-07 10:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:21:04] Production.INFO: Date 2024-12-29
[2025-01-07 10:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:21:04] Production.INFO: Date 2024-12-30
[2025-01-07 10:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:21:04] Production.INFO: Date 2024-12-31
[2025-01-07 10:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:21:04] Production.INFO: Date 2025-01-01
[2025-01-07 10:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:21:04] Production.INFO: Date 2025-01-02
[2025-01-07 10:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:21:04] Production.INFO: Date 2025-01-03
[2025-01-07 10:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:21:04] Production.INFO: Date 2025-01-04
[2025-01-07 10:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:21:04] Production.INFO: Date 2025-01-05
[2025-01-07 10:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:21:04] Production.INFO: Date 2025-01-06
[2025-01-07 10:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:21:05] Production.INFO: Date 2025-01-07
[2025-01-07 10:21:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:21:05] Production.INFO: Total Charge 0
[2025-01-07 10:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:21:05
[end_date_ymd] => 2025-01-07 10:21:05
[RateCDR] => 1
)
[2025-01-07 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-07 07:21:05' and `end` < '2025-01-07 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-07 10:21:05] Production.INFO: CreateAllLog End
[2025-01-07 10:21:05] Production.INFO: Account Balance End.
[2025-01-07 10:21:05] Production.ERROR: CronJobId end 12
[2025-01-07 10:21:05] Production.INFO: ==30517== Releasing lock...
[2025-01-07 10:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:21:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:21:10] Production.ERROR: CronJobId end10
[2025-01-07 10:21:10] Production.INFO: ==30515== Releasing lock...
[2025-01-07 10:21:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:21:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:21:13] Production.INFO: call_cost start
[2025-01-07 10:21:13] Production.INFO: call_cost end
[2025-01-07 10:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:21:14] Production.INFO: ==30511== Releasing lock...
[2025-01-07 10:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:21:23] Production.INFO: count ==2447
[2025-01-07 10:21:23] Production.ERROR: pbx CDR StartTime 2025-01-07 07:21:05 - End Time 2025-01-07 10:21:05
[2025-01-07 10:21:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:21:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194253', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:21:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194253', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:21:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194253', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:21:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194253', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:21:24] Production.INFO: ProcessCDR(1,14194253,1,1,2)
[2025-01-07 10:21:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194253,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:21:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194253,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:21:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194253,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:21:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194253,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:21:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194253', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:21:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194253', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:21:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:21:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:21:28] Production.INFO: ==30519== Releasing lock...
[2025-01-07 10:21:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:21:28] Production.INFO: 46.5 MB #Memory Used#
[2025-01-07 15:22:02] Production.INFO: ==30575== Lock acquired, processing the job...
[2025-01-07 15:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:22:02] Production.INFO: neon service started
[2025-01-07 15:22:02] Production.INFO: neon service started
[2025-01-07 15:22:02] Production.INFO: ==30575== Releasing lock...
[2025-01-07 15:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:22:02] Production.INFO: ==30577== Lock acquired, processing the job...
[2025-01-07 10:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 15:22:02] Production.INFO: ==30579== Lock acquired, processing the job...
[2025-01-07 15:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:22:02] Production.INFO: ==30577== Releasing lock...
[2025-01-07 10:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 15:22:03] Production.INFO: ==30579== Releasing lock...
[2025-01-07 15:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:22:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:22:03] Production.INFO: ==30586== Lock acquired, processing the job...
[2025-01-07 10:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:22:03] Production.INFO: ==30588== Lock acquired, processing the job...
[2025-01-07 10:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:22:03] Production.INFO: ==30582== Lock acquired, processing the job...
[2025-01-07 10:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:22:04] Production.INFO: ==30590== Lock acquired, processing the job...
[2025-01-07 10:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:22:04] Production.INFO: ==30584== Lock acquired, processing the job...
[2025-01-07 10:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:22:04] Production.INFO: ==30592== Lock acquired, processing the job...
[2025-01-07 10:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:22:04] Production.INFO: Account Balance Start.
[2025-01-07 10:22:04] Production.INFO: CreateAllLog Start
[2025-01-07 10:22:04] Production.INFO: 117
[2025-01-07 10:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:22:04] Production.INFO: Date 2024-12-08
[2025-01-07 10:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:22:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:22:04] Production.INFO: Date 2024-12-09
[2025-01-07 10:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 10:22:04] Production.INFO: count ==21
[2025-01-07 10:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 10:22:04] Production.INFO: count ==21
[2025-01-07 10:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194256') start
[2025-01-07 10:22:04] Production.INFO: Date 2024-12-10
[2025-01-07 10:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:22:04] Production.INFO: Date 2024-12-11
[2025-01-07 10:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:22:04] Production.INFO: Date 2024-12-12
[2025-01-07 10:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:22:04] Production.INFO: Date 2024-12-13
[2025-01-07 10:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:22:04] Production.INFO: Date 2024-12-14
[2025-01-07 10:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:22:04] Production.ERROR: done
[2025-01-07 10:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194256') end
[2025-01-07 10:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:22:04] Production.INFO: 1
[2025-01-07 10:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:22:04] Production.INFO: Date 2024-12-15
[2025-01-07 10:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:22:04] Production.INFO: ==30592== Releasing lock...
[2025-01-07 10:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:22:04] Production.INFO: Date 2024-12-16
[2025-01-07 10:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:22:04] Production.INFO: ==30584== Releasing lock...
[2025-01-07 10:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:22:04] Production.ERROR: done
[2025-01-07 10:22:04] Production.INFO: Date 2024-12-17
[2025-01-07 10:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:22:04] Production.INFO: Date 2024-12-18
[2025-01-07 10:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:22:04] Production.INFO: Date 2024-12-19
[2025-01-07 10:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:22:04] Production.INFO: Date 2024-12-20
[2025-01-07 10:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:22:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:22:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:22:04] Production.INFO: Date 2024-12-23
[2025-01-07 10:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:22:04] Production.INFO: Date 2024-12-24
[2025-01-07 10:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:22:04] Production.INFO: Date 2024-12-25
[2025-01-07 10:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:22:04] Production.INFO: Date 2024-12-26
[2025-01-07 10:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:22:04] Production.INFO: Date 2024-12-27
[2025-01-07 10:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:22:05] Production.INFO: Date 2024-12-28
[2025-01-07 10:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:22:05] Production.INFO: Date 2024-12-29
[2025-01-07 10:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:22:05] Production.INFO: Date 2024-12-30
[2025-01-07 10:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:22:05] Production.INFO: Date 2024-12-31
[2025-01-07 10:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:22:05] Production.INFO: Date 2025-01-01
[2025-01-07 10:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:22:05] Production.INFO: Date 2025-01-02
[2025-01-07 10:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:22:05] Production.INFO: Date 2025-01-03
[2025-01-07 10:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:22:05] Production.INFO: Date 2025-01-04
[2025-01-07 10:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:22:05] Production.INFO: Date 2025-01-05
[2025-01-07 10:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:22:05] Production.INFO: Date 2025-01-06
[2025-01-07 10:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:22:05] Production.INFO: Date 2025-01-07
[2025-01-07 10:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:22:05] Production.INFO: Total Charge 0
[2025-01-07 10:22:05] Production.INFO: CreateAllLog End
[2025-01-07 10:22:05] Production.INFO: Account Balance End.
[2025-01-07 10:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:22:05
[end_date_ymd] => 2025-01-07 10:22:05
[RateCDR] => 1
)
[2025-01-07 10:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 07:22:05' and `end` < '2025-01-07 10:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 10:22:05] Production.ERROR: CronJobId end 12
[2025-01-07 10:22:05] Production.INFO: ==30588== Releasing lock...
[2025-01-07 10:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:22:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:22:12] Production.ERROR: CronJobId end10
[2025-01-07 10:22:12] Production.INFO: ==30586== Releasing lock...
[2025-01-07 10:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:22:14] Production.INFO: call_cost start
[2025-01-07 10:22:14] Production.INFO: call_cost end
[2025-01-07 10:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:22:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:22:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:22:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:22:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:22:15] Production.INFO: ==30582== Releasing lock...
[2025-01-07 10:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:22:19] Production.INFO: count ==2465
[2025-01-07 10:22:20] Production.ERROR: pbx CDR StartTime 2025-01-07 07:22:05 - End Time 2025-01-07 10:22:05
[2025-01-07 10:22:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194258', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194258', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194258', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194258', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:22:20] Production.INFO: ProcessCDR(1,14194258,1,1,2)
[2025-01-07 10:22:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194258,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:22:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194258,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:22:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194258,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:22:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194258,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:22:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194258', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:22:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194258', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:22:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:22:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:22:25] Production.INFO: ==30590== Releasing lock...
[2025-01-07 10:22:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:22:25] Production.INFO: 46.5 MB #Memory Used#
[2025-01-07 15:23:01] Production.INFO: ==30646== Lock acquired, processing the job...
[2025-01-07 15:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:23:01] Production.INFO: neon service started
[2025-01-07 15:23:01] Production.INFO: neon service started
[2025-01-07 15:23:01] Production.INFO: ==30646== Releasing lock...
[2025-01-07 15:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:23:02] Production.INFO: ==30648== Lock acquired, processing the job...
[2025-01-07 10:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 15:23:02] Production.INFO: ==30650== Lock acquired, processing the job...
[2025-01-07 15:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:23:02] Production.INFO: ==30650== Releasing lock...
[2025-01-07 15:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:23:02] Production.INFO: ==30648== Releasing lock...
[2025-01-07 10:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:23:03] Production.INFO: ==30661== Lock acquired, processing the job...
[2025-01-07 10:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:23:03] Production.INFO: ==30659== Lock acquired, processing the job...
[2025-01-07 10:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:23:03] Production.INFO: Account Balance Start.
[2025-01-07 10:23:03] Production.INFO: CreateAllLog Start
[2025-01-07 10:23:03] Production.INFO: 117
[2025-01-07 10:23:03] Production.INFO: Date 2024-12-08
[2025-01-07 10:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:23:03] Production.INFO: ==30657== Lock acquired, processing the job...
[2025-01-07 10:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:23:03] Production.INFO: ==30653== Lock acquired, processing the job...
[2025-01-07 10:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:23:03] Production.INFO: ==30655== Lock acquired, processing the job...
[2025-01-07 10:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:23:03] Production.INFO: Date 2024-12-09
[2025-01-07 10:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:23:03] Production.INFO: ==30663== Lock acquired, processing the job...
[2025-01-07 10:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:23:03] Production.INFO: Date 2024-12-10
[2025-01-07 10:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:23:03] Production.INFO: Date 2024-12-11
[2025-01-07 10:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:23:03] Production.INFO: Date 2024-12-12
[2025-01-07 10:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:23:03] Production.INFO: Date 2024-12-13
[2025-01-07 10:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 10:23:04] Production.ERROR: done
[2025-01-07 10:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:23:04] Production.INFO: count ==21
[2025-01-07 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-07 10:23:04] Production.INFO: Date 2024-12-14
[2025-01-07 10:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:23:04] Production.INFO: count ==21
[2025-01-07 10:23:04] Production.INFO: ==30655== Releasing lock...
[2025-01-07 10:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194262') start
[2025-01-07 10:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194262') end
[2025-01-07 10:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:23:04] Production.INFO: 1
[2025-01-07 10:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:23:04] Production.ERROR: done
[2025-01-07 10:23:04] Production.INFO: ==30663== Releasing lock...
[2025-01-07 10:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:23:04] Production.INFO: Date 2024-12-15
[2025-01-07 10:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:23:04] Production.INFO: Date 2024-12-16
[2025-01-07 10:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:23:04] Production.INFO: Date 2024-12-17
[2025-01-07 10:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:23:04] Production.INFO: Date 2024-12-18
[2025-01-07 10:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:23:04] Production.INFO: Date 2024-12-19
[2025-01-07 10:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:23:04] Production.INFO: Date 2024-12-20
[2025-01-07 10:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:23:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:23:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:23:05] Production.INFO: Date 2024-12-23
[2025-01-07 10:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:23:05] Production.INFO: Date 2024-12-24
[2025-01-07 10:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:23:05] Production.INFO: Date 2024-12-25
[2025-01-07 10:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:23:05
[end_date_ymd] => 2025-01-07 10:23:05
[RateCDR] => 1
)
[2025-01-07 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-07 07:23:05' and `end` < '2025-01-07 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-07 10:23:05] Production.INFO: Date 2024-12-26
[2025-01-07 10:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:23:05] Production.INFO: Date 2024-12-27
[2025-01-07 10:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:23:05] Production.INFO: Date 2024-12-28
[2025-01-07 10:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:23:05] Production.INFO: Date 2024-12-29
[2025-01-07 10:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:23:05] Production.INFO: Date 2024-12-30
[2025-01-07 10:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:23:05] Production.INFO: Date 2024-12-31
[2025-01-07 10:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:23:05] Production.INFO: Date 2025-01-01
[2025-01-07 10:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:23:05] Production.INFO: Date 2025-01-02
[2025-01-07 10:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:23:05] Production.INFO: Date 2025-01-03
[2025-01-07 10:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:23:05] Production.INFO: Date 2025-01-04
[2025-01-07 10:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:23:05] Production.INFO: Date 2025-01-05
[2025-01-07 10:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:23:05] Production.INFO: Date 2025-01-06
[2025-01-07 10:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:23:05] Production.INFO: Date 2025-01-07
[2025-01-07 10:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:23:05] Production.INFO: Total Charge 0
[2025-01-07 10:23:05] Production.INFO: CreateAllLog End
[2025-01-07 10:23:05] Production.INFO: Account Balance End.
[2025-01-07 10:23:05] Production.ERROR: CronJobId end 12
[2025-01-07 10:23:05] Production.INFO: ==30659== Releasing lock...
[2025-01-07 10:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:23:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:23:11] Production.ERROR: CronJobId end10
[2025-01-07 10:23:11] Production.INFO: ==30657== Releasing lock...
[2025-01-07 10:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:23:13] Production.INFO: call_cost start
[2025-01-07 10:23:13] Production.INFO: call_cost end
[2025-01-07 10:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:23:14] Production.INFO: ==30653== Releasing lock...
[2025-01-07 10:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:23:23] Production.INFO: count ==2486
[2025-01-07 10:23:24] Production.ERROR: pbx CDR StartTime 2025-01-07 07:23:05 - End Time 2025-01-07 10:23:05
[2025-01-07 10:23:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:23:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194263', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:23:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194263', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:23:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194263', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:23:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194263', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:23:24] Production.INFO: ProcessCDR(1,14194263,1,1,2)
[2025-01-07 10:23:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194263,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:23:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194263,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:23:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194263,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:23:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194263,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:23:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194263', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:23:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194263', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:23:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:23:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:23:29] Production.INFO: ==30661== Releasing lock...
[2025-01-07 10:23:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:23:29] Production.INFO: 46.75 MB #Memory Used#
[2025-01-07 15:24:02] Production.INFO: ==30720== Lock acquired, processing the job...
[2025-01-07 15:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:24:02] Production.INFO: neon service started
[2025-01-07 15:24:02] Production.INFO: neon service started
[2025-01-07 15:24:02] Production.INFO: ==30720== Releasing lock...
[2025-01-07 15:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:24:02] Production.INFO: ==30722== Lock acquired, processing the job...
[2025-01-07 10:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:24:02] Production.INFO: ==30722== Releasing lock...
[2025-01-07 10:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 15:24:02] Production.INFO: ==30724== Lock acquired, processing the job...
[2025-01-07 15:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:24:02] Production.INFO: ==30724== Releasing lock...
[2025-01-07 15:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:24:03] Production.INFO: ==30726== Lock acquired, processing the job...
[2025-01-07 10:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:24:03] Production.INFO: ==30728== Lock acquired, processing the job...
[2025-01-07 10:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:24:03] Production.INFO: ==30732== Lock acquired, processing the job...
[2025-01-07 10:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:24:03] Production.INFO: ==30730== Lock acquired, processing the job...
[2025-01-07 10:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:24:03] Production.INFO: ==30734== Lock acquired, processing the job...
[2025-01-07 10:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:24:03] Production.INFO: Account Balance Start.
[2025-01-07 10:24:03] Production.INFO: CreateAllLog Start
[2025-01-07 10:24:03] Production.INFO: 117
[2025-01-07 10:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:24:03] Production.INFO: Date 2024-12-08
[2025-01-07 10:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:24:03] Production.INFO: ==30736== Lock acquired, processing the job...
[2025-01-07 10:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:24:03] Production.INFO: Date 2024-12-09
[2025-01-07 10:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:24:03] Production.INFO: Date 2024-12-10
[2025-01-07 10:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:24:04] Production.INFO: Date 2024-12-11
[2025-01-07 10:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:24:04] Production.INFO: ==30728== Releasing lock...
[2025-01-07 10:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:24:04] Production.INFO: Date 2024-12-12
[2025-01-07 10:24:04] Production.ERROR: done
[2025-01-07 10:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 10:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:24:04] Production.INFO: count ==21
[2025-01-07 10:24:04] Production.INFO: Date 2024-12-13
[2025-01-07 10:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 10:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:24:04] Production.INFO: count ==21
[2025-01-07 10:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194267') start
[2025-01-07 10:24:04] Production.ERROR: done
[2025-01-07 10:24:04] Production.INFO: Date 2024-12-14
[2025-01-07 10:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:24:04] Production.INFO: Date 2024-12-15
[2025-01-07 10:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:24:04] Production.INFO: Date 2024-12-16
[2025-01-07 10:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194267') end
[2025-01-07 10:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:24:04] Production.INFO: 1
[2025-01-07 10:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:24:04] Production.INFO: Date 2024-12-17
[2025-01-07 10:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:24:04] Production.INFO: ==30736== Releasing lock...
[2025-01-07 10:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:24:04] Production.INFO: Date 2024-12-18
[2025-01-07 10:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:24:04] Production.INFO: Date 2024-12-19
[2025-01-07 10:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:24:04] Production.INFO: Date 2024-12-20
[2025-01-07 10:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:24:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:24:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:24:04] Production.INFO: Date 2024-12-23
[2025-01-07 10:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:24:04] Production.INFO: Date 2024-12-24
[2025-01-07 10:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:24:04] Production.INFO: Date 2024-12-25
[2025-01-07 10:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:24:04] Production.INFO: Date 2024-12-26
[2025-01-07 10:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:24:04] Production.INFO: Date 2024-12-27
[2025-01-07 10:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:24:05] Production.INFO: Date 2024-12-28
[2025-01-07 10:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:24:05] Production.INFO: Date 2024-12-29
[2025-01-07 10:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:24:05] Production.INFO: Date 2024-12-30
[2025-01-07 10:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:24:05] Production.INFO: Date 2024-12-31
[2025-01-07 10:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:24:05] Production.INFO: Date 2025-01-01
[2025-01-07 10:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:24:05] Production.INFO: Date 2025-01-02
[2025-01-07 10:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:24:05] Production.INFO: Date 2025-01-03
[2025-01-07 10:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:24:05] Production.INFO: Date 2025-01-04
[2025-01-07 10:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:24:05] Production.INFO: Date 2025-01-05
[2025-01-07 10:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:24:05] Production.INFO: Date 2025-01-06
[2025-01-07 10:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:24:05] Production.INFO: Date 2025-01-07
[2025-01-07 10:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:24:05] Production.INFO: Total Charge 0
[2025-01-07 10:24:05] Production.INFO: CreateAllLog End
[2025-01-07 10:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:24:05
[end_date_ymd] => 2025-01-07 10:24:05
[RateCDR] => 1
)
[2025-01-07 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-07 07:24:05' and `end` < '2025-01-07 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-07 10:24:05] Production.INFO: Account Balance End.
[2025-01-07 10:24:05] Production.ERROR: CronJobId end 12
[2025-01-07 10:24:05] Production.INFO: ==30732== Releasing lock...
[2025-01-07 10:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:24:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:24:11] Production.ERROR: CronJobId end10
[2025-01-07 10:24:11] Production.INFO: ==30730== Releasing lock...
[2025-01-07 10:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:24:13] Production.INFO: call_cost start
[2025-01-07 10:24:13] Production.INFO: call_cost end
[2025-01-07 10:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:24:14] Production.INFO: ==30726== Releasing lock...
[2025-01-07 10:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:24:23] Production.INFO: count ==2490
[2025-01-07 10:24:24] Production.ERROR: pbx CDR StartTime 2025-01-07 07:24:05 - End Time 2025-01-07 10:24:05
[2025-01-07 10:24:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:24:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194268', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:24:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194268', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:24:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194268', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:24:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194268', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:24:24] Production.INFO: ProcessCDR(1,14194268,1,1,2)
[2025-01-07 10:24:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194268,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:24:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194268,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:24:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194268,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:24:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194268,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:24:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194268', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:24:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194268', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:24:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:24:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:24:29] Production.INFO: ==30734== Releasing lock...
[2025-01-07 10:24:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:24:29] Production.INFO: 46.75 MB #Memory Used#
[2025-01-07 15:25:01] Production.INFO: ==30789== Lock acquired, processing the job...
[2025-01-07 15:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:25:01] Production.INFO: neon service started
[2025-01-07 15:25:01] Production.INFO: neon service started
[2025-01-07 15:25:01] Production.INFO: ==30789== Releasing lock...
[2025-01-07 15:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 15:25:02] Production.INFO: ==30794== Lock acquired, processing the job...
[2025-01-07 15:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:25:02] Production.INFO: ==30794== Releasing lock...
[2025-01-07 15:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:25:02] Production.INFO: ==30792== Lock acquired, processing the job...
[2025-01-07 10:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:25:02] Production.INFO: ==30792== Releasing lock...
[2025-01-07 10:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:25:03] Production.INFO: ==30798== Lock acquired, processing the job...
[2025-01-07 10:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:25:03] Production.INFO: ==30800== Lock acquired, processing the job...
[2025-01-07 10:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:25:03] Production.INFO: ==30806== Lock acquired, processing the job...
[2025-01-07 10:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 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-07 10:25:03] Production.INFO: count ==21
[2025-01-07 10:25:03] Production.INFO: ==30798== Releasing lock...
[2025-01-07 10:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:25:03] Production.INFO: ==30802== Lock acquired, processing the job...
[2025-01-07 10:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 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-07 10:25:03] Production.INFO: ==30796== Lock acquired, processing the job...
[2025-01-07 10:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:25:03] Production.INFO: count ==21
[2025-01-07 10:25:03] Production.INFO: ==30804== Lock acquired, processing the job...
[2025-01-07 10:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194270') start
[2025-01-07 10:25:03] Production.INFO: Account Balance Start.
[2025-01-07 10:25:03] Production.INFO: CreateAllLog Start
[2025-01-07 10:25:03] Production.INFO: 117
[2025-01-07 10:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:25:03] Production.INFO: Date 2024-12-08
[2025-01-07 10:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194270') end
[2025-01-07 10:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:25:03] Production.INFO: 1
[2025-01-07 10:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:25:03] Production.INFO: Date 2024-12-09
[2025-01-07 10:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:25:03] Production.INFO: Date 2024-12-10
[2025-01-07 10:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:25:03] Production.INFO: Date 2024-12-11
[2025-01-07 10:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:25:03] Production.INFO: Date 2024-12-12
[2025-01-07 10:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:25:04] Production.INFO: ==30806== Releasing lock...
[2025-01-07 10:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:25:04] Production.ERROR: done
[2025-01-07 10:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:25:04] Production.INFO: Date 2024-12-13
[2025-01-07 10:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:25:04] Production.INFO: Date 2024-12-14
[2025-01-07 10:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:25:04] Production.INFO: Date 2024-12-15
[2025-01-07 10:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:25:04] Production.ERROR: done
[2025-01-07 10:25:04] Production.INFO: Date 2024-12-16
[2025-01-07 10:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:25:04] Production.INFO: Date 2024-12-17
[2025-01-07 10:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:25:04] Production.INFO: Date 2024-12-18
[2025-01-07 10:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:25:04] Production.INFO: Date 2024-12-19
[2025-01-07 10:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:25:04] Production.INFO: Date 2024-12-20
[2025-01-07 10:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:25:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:25:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:25:04] Production.INFO: Date 2024-12-23
[2025-01-07 10:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:25:04] Production.INFO: Date 2024-12-24
[2025-01-07 10:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:25:04] Production.INFO: Date 2024-12-25
[2025-01-07 10:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:25:04] Production.INFO: Date 2024-12-26
[2025-01-07 10:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:25:04] Production.INFO: Date 2024-12-27
[2025-01-07 10:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:25:04] Production.INFO: Date 2024-12-28
[2025-01-07 10:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:25:04] Production.INFO: Date 2024-12-29
[2025-01-07 10:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:25:04] Production.INFO: Date 2024-12-30
[2025-01-07 10:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:25:04] Production.INFO: Date 2024-12-31
[2025-01-07 10:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:25:04] Production.INFO: Date 2025-01-01
[2025-01-07 10:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:25:04] Production.INFO: Date 2025-01-02
[2025-01-07 10:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:25:04] Production.INFO: Date 2025-01-03
[2025-01-07 10:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:25:04] Production.INFO: Date 2025-01-04
[2025-01-07 10:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:25:04] Production.INFO: Date 2025-01-05
[2025-01-07 10:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:25:04] Production.INFO: Date 2025-01-06
[2025-01-07 10:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:25:04] Production.INFO: Date 2025-01-07
[2025-01-07 10:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:25:04] Production.INFO: Total Charge 0
[2025-01-07 10:25:04] Production.INFO: CreateAllLog End
[2025-01-07 10:25:05] Production.INFO: Account Balance End.
[2025-01-07 10:25:05] Production.ERROR: CronJobId end 12
[2025-01-07 10:25:05] Production.INFO: ==30802== Releasing lock...
[2025-01-07 10:25:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:25:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:25:05
[end_date_ymd] => 2025-01-07 10:25:05
[RateCDR] => 1
)
[2025-01-07 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-07 07:25:05' and `end` < '2025-01-07 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-07 10:25:11] Production.ERROR: CronJobId end10
[2025-01-07 10:25:11] Production.INFO: ==30800== Releasing lock...
[2025-01-07 10:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:25:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:25:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:25:14] Production.INFO: call_cost start
[2025-01-07 10:25:14] Production.INFO: call_cost end
[2025-01-07 10:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:25:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:25:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:25:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:25:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:25:15] Production.INFO: ==30796== Releasing lock...
[2025-01-07 10:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:25:22] Production.INFO: count ==2499
[2025-01-07 10:25:23] Production.ERROR: pbx CDR StartTime 2025-01-07 07:25:05 - End Time 2025-01-07 10:25:05
[2025-01-07 10:25:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:25:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194273', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:25:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194273', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:25:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194273', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:25:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194273', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:25:23] Production.INFO: ProcessCDR(1,14194273,1,1,2)
[2025-01-07 10:25:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194273,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:25:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194273,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:25:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194273,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:25:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194273,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:25:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194273', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:25:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194273', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:25:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:25:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:25:28] Production.INFO: ==30804== Releasing lock...
[2025-01-07 10:25:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:25:28] Production.INFO: 46.75 MB #Memory Used#
[2025-01-07 15:26:02] Production.INFO: ==30860== Lock acquired, processing the job...
[2025-01-07 15:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:26:02] Production.INFO: neon service started
[2025-01-07 15:26:02] Production.INFO: neon service started
[2025-01-07 15:26:02] Production.INFO: ==30860== Releasing lock...
[2025-01-07 15:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 15:26:02] Production.INFO: ==30864== Lock acquired, processing the job...
[2025-01-07 15:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:26:02] Production.INFO: ==30864== Releasing lock...
[2025-01-07 15:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:26:02] Production.INFO: ==30862== Lock acquired, processing the job...
[2025-01-07 10:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:26:03] Production.INFO: ==30862== Releasing lock...
[2025-01-07 10:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:26:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:26:04] Production.INFO: ==30867== Lock acquired, processing the job...
[2025-01-07 10:26:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:26:04] Production.INFO: ==30871== Lock acquired, processing the job...
[2025-01-07 10:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:26:04] Production.INFO: ==30877== Lock acquired, processing the job...
[2025-01-07 10:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:26:04] Production.INFO: ==30869== Lock acquired, processing the job...
[2025-01-07 10:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:26:04] Production.INFO: ==30873== Lock acquired, processing the job...
[2025-01-07 10:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 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-07 10:26:04] Production.INFO: count ==21
[2025-01-07 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-07 10:26:04] Production.INFO: count ==21
[2025-01-07 10:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194275') start
[2025-01-07 10:26:04] Production.INFO: ==30875== Lock acquired, processing the job...
[2025-01-07 10:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:26:04] Production.INFO: Account Balance Start.
[2025-01-07 10:26:04] Production.INFO: CreateAllLog Start
[2025-01-07 10:26:04] Production.INFO: 117
[2025-01-07 10:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194275') end
[2025-01-07 10:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:26:04] Production.INFO: 1
[2025-01-07 10:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:26:04] Production.INFO: Date 2024-12-08
[2025-01-07 10:26:04] Production.INFO: ==30877== Releasing lock...
[2025-01-07 10:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:26:04] Production.INFO: Date 2024-12-09
[2025-01-07 10:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:26:04] Production.INFO: Date 2024-12-10
[2025-01-07 10:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:26:04] Production.ERROR: done
[2025-01-07 10:26:04] Production.INFO: Date 2024-12-11
[2025-01-07 10:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:26:04] Production.INFO: ==30869== Releasing lock...
[2025-01-07 10:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:26:04] Production.INFO: Date 2024-12-12
[2025-01-07 10:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:26:04] Production.INFO: Date 2024-12-13
[2025-01-07 10:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:26:04] Production.INFO: Date 2024-12-14
[2025-01-07 10:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:26:04] Production.INFO: Date 2024-12-15
[2025-01-07 10:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:26:04] Production.ERROR: done
[2025-01-07 10:26:04] Production.INFO: Date 2024-12-16
[2025-01-07 10:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:26:04] Production.INFO: Date 2024-12-17
[2025-01-07 10:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:26:04] Production.INFO: Date 2024-12-18
[2025-01-07 10:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:26:04] Production.INFO: Date 2024-12-19
[2025-01-07 10:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:26:04] Production.INFO: Date 2024-12-20
[2025-01-07 10:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:26:05] Production.INFO: Date 2024-12-21
[2025-01-07 10:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:26:05] Production.INFO: Date 2024-12-22
[2025-01-07 10:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:26:05] Production.INFO: Date 2024-12-23
[2025-01-07 10:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:26:05] Production.INFO: Date 2024-12-24
[2025-01-07 10:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:26:05] Production.INFO: Date 2024-12-25
[2025-01-07 10:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:26:05] Production.INFO: Date 2024-12-26
[2025-01-07 10:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:26:05] Production.INFO: Date 2024-12-27
[2025-01-07 10:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:26:05] Production.INFO: Date 2024-12-28
[2025-01-07 10:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:26:05] Production.INFO: Date 2024-12-29
[2025-01-07 10:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:26:05] Production.INFO: Date 2024-12-30
[2025-01-07 10:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:26:05] Production.INFO: Date 2024-12-31
[2025-01-07 10:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:26:05] Production.INFO: Date 2025-01-01
[2025-01-07 10:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:26:05] Production.INFO: Date 2025-01-02
[2025-01-07 10:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:26:05] Production.INFO: Date 2025-01-03
[2025-01-07 10:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:26:05] Production.INFO: Date 2025-01-04
[2025-01-07 10:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:26:05] Production.INFO: Date 2025-01-05
[2025-01-07 10:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:26:05] Production.INFO: Date 2025-01-06
[2025-01-07 10:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:26:05] Production.INFO: Date 2025-01-07
[2025-01-07 10:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:26:05] Production.INFO: Total Charge 0
[2025-01-07 10:26:05] Production.INFO: CreateAllLog End
[2025-01-07 10:26:05] Production.INFO: Account Balance End.
[2025-01-07 10:26:05] Production.ERROR: CronJobId end 12
[2025-01-07 10:26:05] Production.INFO: ==30873== Releasing lock...
[2025-01-07 10:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:26:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:26:05
[end_date_ymd] => 2025-01-07 10:26:05
[RateCDR] => 1
)
[2025-01-07 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-07 07:26:05' and `end` < '2025-01-07 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-07 10:26:11] Production.ERROR: CronJobId end10
[2025-01-07 10:26:11] Production.INFO: ==30871== Releasing lock...
[2025-01-07 10:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:26:14] Production.INFO: call_cost start
[2025-01-07 10:26:14] Production.INFO: call_cost end
[2025-01-07 10:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:26:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:26:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:26:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:26:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:26:15] Production.INFO: ==30867== Releasing lock...
[2025-01-07 10:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:26:23] Production.INFO: count ==2518
[2025-01-07 10:26:24] Production.ERROR: pbx CDR StartTime 2025-01-07 07:26:05 - End Time 2025-01-07 10:26:05
[2025-01-07 10:26:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:26:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194278', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:26:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194278', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:26:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194278', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:26:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194278', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:26:24] Production.INFO: ProcessCDR(1,14194278,1,1,2)
[2025-01-07 10:26:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194278,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:26:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194278,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:26:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194278,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:26:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194278,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:26:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194278', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:26:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194278', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:26:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:26:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:26:29] Production.INFO: ==30875== Releasing lock...
[2025-01-07 10:26:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:26:29] Production.INFO: 47 MB #Memory Used#
[2025-01-07 15:27:01] Production.INFO: ==30934== Lock acquired, processing the job...
[2025-01-07 15:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:27:01] Production.INFO: neon service started
[2025-01-07 15:27:01] Production.INFO: neon service started
[2025-01-07 15:27:01] Production.INFO: ==30934== Releasing lock...
[2025-01-07 15:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 15:27:02] Production.INFO: ==30939== Lock acquired, processing the job...
[2025-01-07 15:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:27:02] Production.INFO: ==30939== Releasing lock...
[2025-01-07 15:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:27:02] Production.INFO: ==30937== Lock acquired, processing the job...
[2025-01-07 10:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:27:02] Production.INFO: ==30937== Releasing lock...
[2025-01-07 10:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:27:03] Production.INFO: ==30941== Lock acquired, processing the job...
[2025-01-07 10:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:27:03] Production.INFO: ==30951== Lock acquired, processing the job...
[2025-01-07 10:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:27:03] Production.INFO: ==30943== Lock acquired, processing the job...
[2025-01-07 10:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 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-07 10:27:03] Production.INFO: count ==21
[2025-01-07 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-07 10:27:03] Production.INFO: count ==21
[2025-01-07 10:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194280') start
[2025-01-07 10:27:03] Production.INFO: ==30945== Lock acquired, processing the job...
[2025-01-07 10:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:27:03] Production.INFO: ==30947== Lock acquired, processing the job...
[2025-01-07 10:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:27:03] Production.INFO: ==30949== Lock acquired, processing the job...
[2025-01-07 10:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194280') end
[2025-01-07 10:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:27:03] Production.INFO: 1
[2025-01-07 10:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:27:03] Production.INFO: Account Balance Start.
[2025-01-07 10:27:03] Production.INFO: CreateAllLog Start
[2025-01-07 10:27:03] Production.INFO: 117
[2025-01-07 10:27:03] Production.INFO: Date 2024-12-08
[2025-01-07 10:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:27:04] Production.INFO: Date 2024-12-09
[2025-01-07 10:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:27:04] Production.INFO: Date 2024-12-10
[2025-01-07 10:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:27:04] Production.INFO: ==30951== Releasing lock...
[2025-01-07 10:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:27:04] Production.INFO: ==30943== Releasing lock...
[2025-01-07 10:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:27:04] Production.INFO: Date 2024-12-11
[2025-01-07 10:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:27:04] Production.INFO: Date 2024-12-12
[2025-01-07 10:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:27:04] Production.INFO: Date 2024-12-13
[2025-01-07 10:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:27:04] Production.ERROR: done
[2025-01-07 10:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:27:04] Production.INFO: Date 2024-12-14
[2025-01-07 10:27:04] Production.ERROR: done
[2025-01-07 10:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:27:04] Production.INFO: Date 2024-12-15
[2025-01-07 10:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:27:04] Production.INFO: Date 2024-12-16
[2025-01-07 10:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:27:04] Production.INFO: Date 2024-12-17
[2025-01-07 10:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:27:04] Production.INFO: Date 2024-12-18
[2025-01-07 10:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:27:04] Production.INFO: Date 2024-12-19
[2025-01-07 10:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:27:04] Production.INFO: Date 2024-12-20
[2025-01-07 10:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:27:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:27:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:27:04] Production.INFO: Date 2024-12-23
[2025-01-07 10:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:27:04] Production.INFO: Date 2024-12-24
[2025-01-07 10:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:27:04] Production.INFO: Date 2024-12-25
[2025-01-07 10:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:27:04] Production.INFO: Date 2024-12-26
[2025-01-07 10:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:27:04] Production.INFO: Date 2024-12-27
[2025-01-07 10:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:27:04] Production.INFO: Date 2024-12-28
[2025-01-07 10:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:27:04] Production.INFO: Date 2024-12-29
[2025-01-07 10:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:27:04] Production.INFO: Date 2024-12-30
[2025-01-07 10:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:27:04] Production.INFO: Date 2024-12-31
[2025-01-07 10:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:27:04] Production.INFO: Date 2025-01-01
[2025-01-07 10:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:27:05] Production.INFO: Date 2025-01-02
[2025-01-07 10:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:27:05] Production.INFO: Date 2025-01-03
[2025-01-07 10:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:27:05] Production.INFO: Date 2025-01-04
[2025-01-07 10:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:27:05] Production.INFO: Date 2025-01-05
[2025-01-07 10:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:27:05] Production.INFO: Date 2025-01-06
[2025-01-07 10:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:27:05] Production.INFO: Date 2025-01-07
[2025-01-07 10:27:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:27:05] Production.INFO: Total Charge 0
[2025-01-07 10:27:05] Production.INFO: CreateAllLog End
[2025-01-07 10:27:05] Production.INFO: Account Balance End.
[2025-01-07 10:27:05] Production.ERROR: CronJobId end 12
[2025-01-07 10:27:05] Production.INFO: ==30947== Releasing lock...
[2025-01-07 10:27:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:27:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:27:05
[end_date_ymd] => 2025-01-07 10:27:05
[RateCDR] => 1
)
[2025-01-07 10:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 07:27:05' and `end` < '2025-01-07 10:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 10:27:11] Production.ERROR: CronJobId end10
[2025-01-07 10:27:11] Production.INFO: ==30945== Releasing lock...
[2025-01-07 10:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:27:13] Production.INFO: call_cost start
[2025-01-07 10:27:13] Production.INFO: call_cost end
[2025-01-07 10:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:27:14] Production.INFO: ==30941== Releasing lock...
[2025-01-07 10:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:27:18] Production.INFO: count ==2535
[2025-01-07 10:27:19] Production.ERROR: pbx CDR StartTime 2025-01-07 07:27:05 - End Time 2025-01-07 10:27:05
[2025-01-07 10:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194283', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194283', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194283', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194283', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:27:19] Production.INFO: ProcessCDR(1,14194283,1,1,2)
[2025-01-07 10:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194283,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:27:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194283,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:27:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194283,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:27:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194283,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:27:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194283', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:27:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194283', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:27:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:27:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:27:24] Production.INFO: ==30949== Releasing lock...
[2025-01-07 10:27:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:27:24] Production.INFO: 47 MB #Memory Used#
[2025-01-07 15:28:02] Production.INFO: ==31007== Lock acquired, processing the job...
[2025-01-07 15:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:28:02] Production.INFO: neon service started
[2025-01-07 15:28:02] Production.INFO: neon service started
[2025-01-07 15:28:02] Production.INFO: ==31007== Releasing lock...
[2025-01-07 15:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:28:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 10:28:02] Production.INFO: ==31009== Lock acquired, processing the job...
[2025-01-07 10:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:28:02] Production.INFO: ==31009== Releasing lock...
[2025-01-07 10:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 15:28:03] Production.INFO: ==31011== Lock acquired, processing the job...
[2025-01-07 15:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:28:03] Production.INFO: ==31011== Releasing lock...
[2025-01-07 15:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:28:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:28:03] Production.INFO: ==31022== Lock acquired, processing the job...
[2025-01-07 10:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:28:03] Production.INFO: ==31018== Lock acquired, processing the job...
[2025-01-07 10:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:28:03] Production.INFO: ==31014== Lock acquired, processing the job...
[2025-01-07 10:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:28:04] Production.INFO: ==31016== Lock acquired, processing the job...
[2025-01-07 10:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:28:04] Production.INFO: ==31020== Lock acquired, processing the job...
[2025-01-07 10:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:28:04] Production.INFO: ==31024== Lock acquired, processing the job...
[2025-01-07 10:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:28:04] Production.INFO: Account Balance Start.
[2025-01-07 10:28:04] Production.INFO: CreateAllLog Start
[2025-01-07 10:28:04] Production.INFO: 117
[2025-01-07 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-07 10:28:04] Production.INFO: count ==21
[2025-01-07 10:28:04] Production.ERROR: done
[2025-01-07 10:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 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-07 10:28:04] Production.INFO: count ==21
[2025-01-07 10:28:04] Production.INFO: Date 2024-12-08
[2025-01-07 10:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194287') start
[2025-01-07 10:28:04] Production.ERROR: done
[2025-01-07 10:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194287') end
[2025-01-07 10:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:28:04] Production.INFO: 1
[2025-01-07 10:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:28:04] Production.INFO: Date 2024-12-09
[2025-01-07 10:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:28:04] Production.INFO: ==31024== Releasing lock...
[2025-01-07 10:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:28:04] Production.INFO: Date 2024-12-10
[2025-01-07 10:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:28:04] Production.INFO: Date 2024-12-11
[2025-01-07 10:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:28:04] Production.INFO: ==31016== Releasing lock...
[2025-01-07 10:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:28:04] Production.INFO: Date 2024-12-12
[2025-01-07 10:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:28:04] Production.INFO: Date 2024-12-13
[2025-01-07 10:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:28:04] Production.INFO: Date 2024-12-14
[2025-01-07 10:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:28:04] Production.INFO: Date 2024-12-15
[2025-01-07 10:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:28:04] Production.INFO: Date 2024-12-16
[2025-01-07 10:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:28:05] Production.INFO: Date 2024-12-17
[2025-01-07 10:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:28:05] Production.INFO: Date 2024-12-18
[2025-01-07 10:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:28:05] Production.INFO: Date 2024-12-19
[2025-01-07 10:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:28:05] Production.INFO: Date 2024-12-20
[2025-01-07 10:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:28:05] Production.INFO: Date 2024-12-21
[2025-01-07 10:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:28:05] Production.INFO: Date 2024-12-22
[2025-01-07 10:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:28:05] Production.INFO: Date 2024-12-23
[2025-01-07 10:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:28:05] Production.INFO: Date 2024-12-24
[2025-01-07 10:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:28:05] Production.INFO: Date 2024-12-25
[2025-01-07 10:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:28:05] Production.INFO: Date 2024-12-26
[2025-01-07 10:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:28:05] Production.INFO: Date 2024-12-27
[2025-01-07 10:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:28:05] Production.INFO: Date 2024-12-28
[2025-01-07 10:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:28:05] Production.INFO: Date 2024-12-29
[2025-01-07 10:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:28:05] Production.INFO: Date 2024-12-30
[2025-01-07 10:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:28:05] Production.INFO: Date 2024-12-31
[2025-01-07 10:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:28:05] Production.INFO: Date 2025-01-01
[2025-01-07 10:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:28:05] Production.INFO: Date 2025-01-02
[2025-01-07 10:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:28:05
[end_date_ymd] => 2025-01-07 10:28:05
[RateCDR] => 1
)
[2025-01-07 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-07 07:28:05' and `end` < '2025-01-07 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-07 10:28:05] Production.INFO: Date 2025-01-03
[2025-01-07 10:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:28:05] Production.INFO: Date 2025-01-04
[2025-01-07 10:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:28:05] Production.INFO: Date 2025-01-05
[2025-01-07 10:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:28:05] Production.INFO: Date 2025-01-06
[2025-01-07 10:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:28:05] Production.INFO: Date 2025-01-07
[2025-01-07 10:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:28:05] Production.INFO: Total Charge 0
[2025-01-07 10:28:05] Production.INFO: CreateAllLog End
[2025-01-07 10:28:06] Production.INFO: Account Balance End.
[2025-01-07 10:28:06] Production.ERROR: CronJobId end 12
[2025-01-07 10:28:06] Production.INFO: ==31020== Releasing lock...
[2025-01-07 10:28:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:28:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:28:12] Production.ERROR: CronJobId end10
[2025-01-07 10:28:12] Production.INFO: ==31018== Releasing lock...
[2025-01-07 10:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:28:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:28:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:28:14] Production.INFO: call_cost start
[2025-01-07 10:28:14] Production.INFO: call_cost end
[2025-01-07 10:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:28:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:28:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:28:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:28:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:28:15] Production.INFO: ==31014== Releasing lock...
[2025-01-07 10:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:28:24] Production.INFO: count ==2562
[2025-01-07 10:28:25] Production.ERROR: pbx CDR StartTime 2025-01-07 07:28:05 - End Time 2025-01-07 10:28:05
[2025-01-07 10:28:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:28:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194288', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:28:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194288', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:28:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194288', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:28:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194288', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:28:25] Production.INFO: ProcessCDR(1,14194288,1,1,2)
[2025-01-07 10:28:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194288,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:28:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194288,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:28:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194288,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:28:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194288,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:28:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194288', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:28:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194288', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:28:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:28:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:28:29] Production.INFO: ==31022== Releasing lock...
[2025-01-07 10:28:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:28:29] Production.INFO: 47.25 MB #Memory Used#
[2025-01-07 15:29:01] Production.INFO: ==31077== Lock acquired, processing the job...
[2025-01-07 15:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:29:01] Production.INFO: neon service started
[2025-01-07 15:29:01] Production.INFO: neon service started
[2025-01-07 15:29:01] Production.INFO: ==31077== Releasing lock...
[2025-01-07 15:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 15:29:02] Production.INFO: ==31081== Lock acquired, processing the job...
[2025-01-07 15:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:29:02] Production.INFO: ==31081== Releasing lock...
[2025-01-07 15:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:29:02] Production.INFO: ==31079== Lock acquired, processing the job...
[2025-01-07 10:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:29:02] Production.INFO: ==31079== Releasing lock...
[2025-01-07 10:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:29:03] Production.INFO: ==31084== Lock acquired, processing the job...
[2025-01-07 10:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:29:03] Production.INFO: ==31086== Lock acquired, processing the job...
[2025-01-07 10:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:29:03] Production.INFO: ==31088== Lock acquired, processing the job...
[2025-01-07 10:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:29:03] Production.INFO: ==31090== Lock acquired, processing the job...
[2025-01-07 10:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:29:03] Production.INFO: ==31086== Releasing lock...
[2025-01-07 10:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:29:03] Production.INFO: ==31092== Lock acquired, processing the job...
[2025-01-07 10:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:29:03] Production.INFO: Account Balance Start.
[2025-01-07 10:29:03] Production.INFO: CreateAllLog Start
[2025-01-07 10:29:03] Production.INFO: 117
[2025-01-07 10:29:03] Production.INFO: Date 2024-12-08
[2025-01-07 10:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:29:03] Production.INFO: ==31094== Lock acquired, processing the job...
[2025-01-07 10:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:29:03] Production.INFO: Date 2024-12-09
[2025-01-07 10:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:29:03] Production.INFO: Date 2024-12-10
[2025-01-07 10:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:29:03] Production.INFO: Date 2024-12-11
[2025-01-07 10:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:29:04] Production.INFO: Date 2024-12-12
[2025-01-07 10:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 10:29:04] Production.INFO: Date 2024-12-13
[2025-01-07 10:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:29:04] Production.INFO: Date 2024-12-14
[2025-01-07 10:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:29:04] Production.INFO: count ==21
[2025-01-07 10:29:04] Production.ERROR: done
[2025-01-07 10:29:04] Production.INFO: Date 2024-12-15
[2025-01-07 10:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 10:29:04] Production.INFO: count ==21
[2025-01-07 10:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194292') start
[2025-01-07 10:29:04] Production.INFO: Date 2024-12-16
[2025-01-07 10:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:29:04] Production.INFO: Date 2024-12-17
[2025-01-07 10:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:29:04] Production.INFO: Date 2024-12-18
[2025-01-07 10:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194292') end
[2025-01-07 10:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:29:04] Production.INFO: 1
[2025-01-07 10:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:29:04] Production.ERROR: done
[2025-01-07 10:29:04] Production.INFO: Date 2024-12-19
[2025-01-07 10:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:29:04] Production.INFO: Date 2024-12-20
[2025-01-07 10:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:29:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:29:04] Production.INFO: ==31094== Releasing lock...
[2025-01-07 10:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:29:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:29:04] Production.INFO: Date 2024-12-23
[2025-01-07 10:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:29:04] Production.INFO: Date 2024-12-24
[2025-01-07 10:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:29:04] Production.INFO: Date 2024-12-25
[2025-01-07 10:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:29:04] Production.INFO: Date 2024-12-26
[2025-01-07 10:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:29:04] Production.INFO: Date 2024-12-27
[2025-01-07 10:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:29:04] Production.INFO: Date 2024-12-28
[2025-01-07 10:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:29:04] Production.INFO: Date 2024-12-29
[2025-01-07 10:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:29:04] Production.INFO: Date 2024-12-30
[2025-01-07 10:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:29:04] Production.INFO: Date 2024-12-31
[2025-01-07 10:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:29:04] Production.INFO: Date 2025-01-01
[2025-01-07 10:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:29:04] Production.INFO: Date 2025-01-02
[2025-01-07 10:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:29:04] Production.INFO: Date 2025-01-03
[2025-01-07 10:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:29:04] Production.INFO: Date 2025-01-04
[2025-01-07 10:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:29:04] Production.INFO: Date 2025-01-05
[2025-01-07 10:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:29:05] Production.INFO: Date 2025-01-06
[2025-01-07 10:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:29:05] Production.INFO: Date 2025-01-07
[2025-01-07 10:29:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:29:05] Production.INFO: Total Charge 0
[2025-01-07 10:29:05] Production.INFO: CreateAllLog End
[2025-01-07 10:29:05] Production.INFO: Account Balance End.
[2025-01-07 10:29:05] Production.ERROR: CronJobId end 12
[2025-01-07 10:29:05] Production.INFO: ==31090== Releasing lock...
[2025-01-07 10:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:29:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:29:05
[end_date_ymd] => 2025-01-07 10:29:05
[RateCDR] => 1
)
[2025-01-07 10:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 07:29:05' and `end` < '2025-01-07 10:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 10:29:11] Production.ERROR: CronJobId end10
[2025-01-07 10:29:11] Production.INFO: ==31088== Releasing lock...
[2025-01-07 10:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:29:14] Production.INFO: call_cost start
[2025-01-07 10:29:14] Production.INFO: call_cost end
[2025-01-07 10:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:29:14] Production.INFO: ==31084== Releasing lock...
[2025-01-07 10:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:29:19] Production.INFO: count ==2568
[2025-01-07 10:29:20] Production.ERROR: pbx CDR StartTime 2025-01-07 07:29:05 - End Time 2025-01-07 10:29:05
[2025-01-07 10:29:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194293', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194293', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194293', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194293', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:29:20] Production.INFO: ProcessCDR(1,14194293,1,1,2)
[2025-01-07 10:29:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194293,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:29:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194293,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:29:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194293,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:29:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194293,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:29:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194293', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:29:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194293', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:29:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:29:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:29:24] Production.INFO: ==31092== Releasing lock...
[2025-01-07 10:29:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:29:24] Production.INFO: 47.25 MB #Memory Used#
[2025-01-07 15:30:02] Production.INFO: ==31148== Lock acquired, processing the job...
[2025-01-07 15:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:30:02] Production.INFO: neon service started
[2025-01-07 15:30:02] Production.INFO: neon service started
[2025-01-07 15:30:02] Production.INFO: ==31148== Releasing lock...
[2025-01-07 15:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:30:02] Production.INFO: ==31150== Lock acquired, processing the job...
[2025-01-07 10:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 15:30:02] Production.INFO: ==31152== Lock acquired, processing the job...
[2025-01-07 15:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:30:02] Production.INFO: ==31152== Releasing lock...
[2025-01-07 15:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:30:03] Production.INFO: ==31150== Releasing lock...
[2025-01-07 10:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:30:04] Production.INFO: ==31155== Lock acquired, processing the job...
[2025-01-07 10:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 10:30:04] Production.INFO: ==31157== Lock acquired, processing the job...
[2025-01-07 10:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:30:04] Production.INFO: ==31159== Lock acquired, processing the job...
[2025-01-07 10:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 10:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 10:30:04] Production.INFO: ==31155== Releasing lock...
[2025-01-07 10:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 10:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 10:30:04] Production.INFO: ==31161== Lock acquired, processing the job...
[2025-01-07 10:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:30:04] Production.INFO: ==31163== Lock acquired, processing the job...
[2025-01-07 10:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:30:04] Production.INFO: ==31165== Lock acquired, processing the job...
[2025-01-07 10:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:30:04] Production.INFO: Account Balance Start.
[2025-01-07 10:30:04] Production.INFO: CreateAllLog Start
[2025-01-07 10:30:04] Production.INFO: 117
[2025-01-07 10:30:04] Production.INFO: ==31159== Releasing lock...
[2025-01-07 10:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:30:04] Production.INFO: Date 2024-12-08
[2025-01-07 10:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:30:04] Production.INFO: ==31167== Lock acquired, processing the job...
[2025-01-07 10:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 10:30:04] Production.INFO: ==31169== Lock acquired, processing the job...
[2025-01-07 10:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:30:04] Production.INFO: Date 2024-12-09
[2025-01-07 10:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:30:04] Production.INFO: Date 2024-12-10
[2025-01-07 10:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 10:30:04] Production.INFO: Date 2024-12-11
[2025-01-07 10:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:30:04] Production.INFO: count ==21
[2025-01-07 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-07 10:30:04] Production.INFO: count ==21
[2025-01-07 10:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14194297') start
[2025-01-07 10:30:05] Production.ERROR: done
[2025-01-07 10:30:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:30:05] Production.INFO: Date 2024-12-12
[2025-01-07 10:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:30:05] Production.INFO: Date 2024-12-13
[2025-01-07 10:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:30:05] Production.INFO: Date 2024-12-14
[2025-01-07 10:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:30:05] Production.INFO: Date 2024-12-15
[2025-01-07 10:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:30:05] Production.ERROR: done
[2025-01-07 10:30:05] Production.ERROR: done
[2025-01-07 10:30:05] Production.INFO: Date 2024-12-16
[2025-01-07 10:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:30:05] Production.INFO: Date 2024-12-17
[2025-01-07 10:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 10:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14194298', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 10:30:05] Production.INFO: Date 2024-12-18
[2025-01-07 10:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14194297') end
[2025-01-07 10:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:30:05] Production.INFO: 1
[2025-01-07 10:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:30:05] Production.INFO: Date 2024-12-19
[2025-01-07 10:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:30:05] Production.INFO: Date 2024-12-20
[2025-01-07 10:30:05] Production.INFO: ==31169== Releasing lock...
[2025-01-07 10:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:30:05] Production.INFO: Date 2024-12-21
[2025-01-07 10:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:30:05] Production.INFO: Date 2024-12-22
[2025-01-07 10:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:30:05] Production.INFO: Date 2024-12-23
[2025-01-07 10:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:30:05] Production.INFO: Date 2024-12-24
[2025-01-07 10:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:30:05] Production.INFO: Date 2024-12-25
[2025-01-07 10:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:30:05] Production.INFO: Date 2024-12-26
[2025-01-07 10:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:30:05] Production.INFO: Date 2024-12-27
[2025-01-07 10:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:30:05] Production.INFO: Date 2024-12-28
[2025-01-07 10:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:30:05] Production.INFO: Date 2024-12-29
[2025-01-07 10:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:30:05] Production.INFO: Date 2024-12-30
[2025-01-07 10:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:30:05] Production.INFO: Date 2024-12-31
[2025-01-07 10:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:30:05] Production.INFO: Date 2025-01-01
[2025-01-07 10:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:30:05] Production.INFO: Date 2025-01-02
[2025-01-07 10:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:30:05] Production.INFO: Date 2025-01-03
[2025-01-07 10:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:30:05] Production.INFO: Date 2025-01-04
[2025-01-07 10:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:30:05] Production.INFO: Date 2025-01-05
[2025-01-07 10:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:30:05] Production.INFO: Date 2025-01-06
[2025-01-07 10:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:30:06] Production.INFO: Date 2025-01-07
[2025-01-07 10:30:06] Production.INFO: Reseller ==> 0
[2025-01-07 10:30:06] Production.INFO: Total Charge 0
[2025-01-07 10:30:06] Production.INFO: CreateAllLog End
[2025-01-07 10:30:06] Production.INFO: Account Balance End.
[2025-01-07 10:30:06] Production.ERROR: CronJobId end 12
[2025-01-07 10:30:06] Production.INFO: ==31163== Releasing lock...
[2025-01-07 10:30:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:30:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:30:06
[end_date_ymd] => 2025-01-07 10:30:06
[RateCDR] => 1
)
[2025-01-07 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-07 07:30:06' and `end` < '2025-01-07 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-07 10:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14194298', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 10:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 10:30:09] Production.INFO: ProcessCDR(1,14194298,1,1,2)
[2025-01-07 10:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14194298,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:30:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14194298,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:30:10] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:30:10] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:30:10] Production.INFO: ==31167== Releasing lock...
[2025-01-07 10:30:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 10:30:10] Production.INFO: 26 MB #Memory Used#
[2025-01-07 10:30:13] Production.ERROR: CronJobId end10
[2025-01-07 10:30:13] Production.INFO: ==31161== Releasing lock...
[2025-01-07 10:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:30:15] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:30:16] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:30:16] Production.INFO: call_cost start
[2025-01-07 10:30:16] Production.INFO: call_cost end
[2025-01-07 10:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:30:17] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:30:17] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:30:17] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:30:17] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:30:17] Production.INFO: ==31157== Releasing lock...
[2025-01-07 10:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:30:30] Production.INFO: count ==2597
[2025-01-07 10:30:31] Production.ERROR: pbx CDR StartTime 2025-01-07 07:30:06 - End Time 2025-01-07 10:30:06
[2025-01-07 10:30:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:30:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194299', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:30:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194299', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:30:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194299', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:30:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194299', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:30:31] Production.INFO: ProcessCDR(1,14194299,1,1,2)
[2025-01-07 10:30:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194299,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:30:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194299,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:30:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194299,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:30:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194299,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:30:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194299', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:30:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194299', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:30:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:30:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:30:36] Production.INFO: ==31165== Releasing lock...
[2025-01-07 10:30:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:30:36] Production.INFO: 47.5 MB #Memory Used#
[2025-01-07 15:31:01] Production.INFO: ==31265== Lock acquired, processing the job...
[2025-01-07 15:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:31:01] Production.INFO: neon service started
[2025-01-07 15:31:01] Production.INFO: neon service started
[2025-01-07 15:31:01] Production.INFO: ==31265== Releasing lock...
[2025-01-07 15:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:31:02] Production.INFO: ==31267== Lock acquired, processing the job...
[2025-01-07 10:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:31:02] Production.INFO: ==31267== Releasing lock...
[2025-01-07 10:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 15:31:02] Production.INFO: ==31269== Lock acquired, processing the job...
[2025-01-07 15:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:31:02] Production.INFO: ==31269== Releasing lock...
[2025-01-07 15:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:31:02] Production.INFO: 26 MB #Memory Used#
[2025-01-07 10:31:03] Production.INFO: ==31271== Lock acquired, processing the job...
[2025-01-07 10:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:31:03] Production.INFO: ==31281== Lock acquired, processing the job...
[2025-01-07 10:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:31:03] Production.INFO: ==31273== Lock acquired, processing the job...
[2025-01-07 10:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:31:03] Production.INFO: ==31275== Lock acquired, processing the job...
[2025-01-07 10:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:31:03] Production.INFO: ==31277== Lock acquired, processing the job...
[2025-01-07 10:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 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-07 10:31:03] Production.INFO: count ==21
[2025-01-07 10:31:03] Production.INFO: ==31279== Lock acquired, processing the job...
[2025-01-07 10:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 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-07 10:31:03] Production.INFO: count ==21
[2025-01-07 10:31:03] Production.INFO: Account Balance Start.
[2025-01-07 10:31:03] Production.INFO: CreateAllLog Start
[2025-01-07 10:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194302') start
[2025-01-07 10:31:03] Production.INFO: 117
[2025-01-07 10:31:03] Production.INFO: Date 2024-12-08
[2025-01-07 10:31:03] Production.INFO: ==31273== Releasing lock...
[2025-01-07 10:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:31:03] Production.INFO: Date 2024-12-09
[2025-01-07 10:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:31:03] Production.INFO: Date 2024-12-10
[2025-01-07 10:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194302') end
[2025-01-07 10:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:31:03] Production.INFO: 1
[2025-01-07 10:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:31:03] Production.INFO: Date 2024-12-11
[2025-01-07 10:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:31:03] Production.INFO: Date 2024-12-12
[2025-01-07 10:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:31:03] Production.INFO: ==31281== Releasing lock...
[2025-01-07 10:31:03] Production.INFO: Date 2024-12-13
[2025-01-07 10:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:31:03] Production.INFO: Date 2024-12-14
[2025-01-07 10:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:31:03] Production.INFO: Date 2024-12-15
[2025-01-07 10:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:31:04] Production.INFO: Date 2024-12-16
[2025-01-07 10:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:31:04] Production.INFO: Date 2024-12-17
[2025-01-07 10:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:31:04] Production.INFO: Date 2024-12-18
[2025-01-07 10:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:31:04] Production.ERROR: done
[2025-01-07 10:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:31:04] Production.INFO: Date 2024-12-19
[2025-01-07 10:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:31:04] Production.INFO: Date 2024-12-20
[2025-01-07 10:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:31:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:31:04] Production.ERROR: done
[2025-01-07 10:31:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:31:04] Production.INFO: Date 2024-12-23
[2025-01-07 10:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:31:04] Production.INFO: Date 2024-12-24
[2025-01-07 10:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:31:04] Production.INFO: Date 2024-12-25
[2025-01-07 10:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:31:04] Production.INFO: Date 2024-12-26
[2025-01-07 10:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:31:04] Production.INFO: Date 2024-12-27
[2025-01-07 10:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:31:04] Production.INFO: Date 2024-12-28
[2025-01-07 10:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:31:04] Production.INFO: Date 2024-12-29
[2025-01-07 10:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:31:04] Production.INFO: Date 2024-12-30
[2025-01-07 10:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:31:04] Production.INFO: Date 2024-12-31
[2025-01-07 10:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:31:04] Production.INFO: Date 2025-01-01
[2025-01-07 10:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:31:04] Production.INFO: Date 2025-01-02
[2025-01-07 10:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:31:04] Production.INFO: Date 2025-01-03
[2025-01-07 10:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:31:04] Production.INFO: Date 2025-01-04
[2025-01-07 10:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:31:04] Production.INFO: Date 2025-01-05
[2025-01-07 10:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:31:04] Production.INFO: Date 2025-01-06
[2025-01-07 10:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:31:04] Production.INFO: Date 2025-01-07
[2025-01-07 10:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:31:04] Production.INFO: Total Charge 0
[2025-01-07 10:31:04] Production.INFO: CreateAllLog End
[2025-01-07 10:31:05] Production.INFO: Account Balance End.
[2025-01-07 10:31:05] Production.ERROR: CronJobId end 12
[2025-01-07 10:31:05] Production.INFO: ==31277== Releasing lock...
[2025-01-07 10:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:31:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:31:05
[end_date_ymd] => 2025-01-07 10:31:05
[RateCDR] => 1
)
[2025-01-07 10:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 07:31:05' and `end` < '2025-01-07 10:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 10:31:12] Production.ERROR: CronJobId end10
[2025-01-07 10:31:12] Production.INFO: ==31275== Releasing lock...
[2025-01-07 10:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:31:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:31:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:31:13] Production.INFO: call_cost start
[2025-01-07 10:31:13] Production.INFO: call_cost end
[2025-01-07 10:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:31:14] Production.INFO: ==31271== Releasing lock...
[2025-01-07 10:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:31:21] Production.INFO: count ==2705
[2025-01-07 10:31:22] Production.ERROR: pbx CDR StartTime 2025-01-07 07:31:05 - End Time 2025-01-07 10:31:05
[2025-01-07 10:31:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:31:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194304', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:31:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194304', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:31:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194304', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:31:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194304', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:31:22] Production.INFO: ProcessCDR(1,14194304,1,1,2)
[2025-01-07 10:31:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194304,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:31:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194304,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:31:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194304,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:31:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194304,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:31:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194304', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:31:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194304', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:31:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:31:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:31:27] Production.INFO: ==31279== Releasing lock...
[2025-01-07 10:31:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:31:27] Production.INFO: 48.25 MB #Memory Used#
[2025-01-07 15:32:02] Production.INFO: ==31337== Lock acquired, processing the job...
[2025-01-07 15:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:32:02] Production.INFO: neon service started
[2025-01-07 15:32:02] Production.INFO: neon service started
[2025-01-07 15:32:02] Production.INFO: ==31337== Releasing lock...
[2025-01-07 15:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:32:02] Production.INFO: ==31339== Lock acquired, processing the job...
[2025-01-07 10:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 15:32:02] Production.INFO: ==31341== Lock acquired, processing the job...
[2025-01-07 15:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:32:02] Production.INFO: ==31341== Releasing lock...
[2025-01-07 15:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:32:03] Production.INFO: ==31339== Releasing lock...
[2025-01-07 10:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:32:03] Production.INFO: ==31344== Lock acquired, processing the job...
[2025-01-07 10:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:32:03] Production.INFO: ==31346== Lock acquired, processing the job...
[2025-01-07 10:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:32:04] Production.INFO: ==31348== Lock acquired, processing the job...
[2025-01-07 10:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:32:04] Production.INFO: ==31350== Lock acquired, processing the job...
[2025-01-07 10:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:32:04] Production.INFO: Account Balance Start.
[2025-01-07 10:32:04] Production.INFO: CreateAllLog Start
[2025-01-07 10:32:04] Production.INFO: 117
[2025-01-07 10:32:04] Production.INFO: Date 2024-12-08
[2025-01-07 10:32:04] Production.INFO: ==31354== Lock acquired, processing the job...
[2025-01-07 10:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:32:04] Production.INFO: Date 2024-12-09
[2025-01-07 10:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:32:04] Production.INFO: Date 2024-12-10
[2025-01-07 10:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 10:32:04] Production.INFO: Date 2024-12-11
[2025-01-07 10:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:32:04] Production.INFO: count ==21
[2025-01-07 10:32:04] Production.INFO: ==31352== Lock acquired, processing the job...
[2025-01-07 10:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 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-07 10:32:04] Production.INFO: count ==21
[2025-01-07 10:32:04] Production.INFO: ==31346== Releasing lock...
[2025-01-07 10:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:32:04] Production.INFO: Date 2024-12-12
[2025-01-07 10:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194308') start
[2025-01-07 10:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:32:04] Production.INFO: Date 2024-12-13
[2025-01-07 10:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:32:04] Production.INFO: Date 2024-12-14
[2025-01-07 10:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:32:04] Production.INFO: Date 2024-12-15
[2025-01-07 10:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:32:04] Production.INFO: Date 2024-12-16
[2025-01-07 10:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194308') end
[2025-01-07 10:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:32:04] Production.INFO: 1
[2025-01-07 10:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:32:04] Production.INFO: Date 2024-12-17
[2025-01-07 10:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:32:04] Production.INFO: ==31354== Releasing lock...
[2025-01-07 10:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:32:04] Production.INFO: Date 2024-12-18
[2025-01-07 10:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:32:04] Production.INFO: Date 2024-12-19
[2025-01-07 10:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:32:04] Production.INFO: Date 2024-12-20
[2025-01-07 10:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:32:04] Production.ERROR: done
[2025-01-07 10:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:32:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:32:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:32:04] Production.INFO: Date 2024-12-23
[2025-01-07 10:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:32:05] Production.INFO: Date 2024-12-24
[2025-01-07 10:32:05] Production.ERROR: done
[2025-01-07 10:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:32:05] Production.INFO: Date 2024-12-25
[2025-01-07 10:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:32:05] Production.INFO: Date 2024-12-26
[2025-01-07 10:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:32:05] Production.INFO: Date 2024-12-27
[2025-01-07 10:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:32:05] Production.INFO: Date 2024-12-28
[2025-01-07 10:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:32:05] Production.INFO: Date 2024-12-29
[2025-01-07 10:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:32:05] Production.INFO: Date 2024-12-30
[2025-01-07 10:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:32:05] Production.INFO: Date 2024-12-31
[2025-01-07 10:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:32:05] Production.INFO: Date 2025-01-01
[2025-01-07 10:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:32:05] Production.INFO: Date 2025-01-02
[2025-01-07 10:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:32:05] Production.INFO: Date 2025-01-03
[2025-01-07 10:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:32:05] Production.INFO: Date 2025-01-04
[2025-01-07 10:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:32:05] Production.INFO: Date 2025-01-05
[2025-01-07 10:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:32:05] Production.INFO: Date 2025-01-06
[2025-01-07 10:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:32:05] Production.INFO: Date 2025-01-07
[2025-01-07 10:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:32:05] Production.INFO: Total Charge 0
[2025-01-07 10:32:05] Production.INFO: CreateAllLog End
[2025-01-07 10:32:06] Production.INFO: Account Balance End.
[2025-01-07 10:32:06] Production.ERROR: CronJobId end 12
[2025-01-07 10:32:06] Production.INFO: ==31350== Releasing lock...
[2025-01-07 10:32:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:32:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:32:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:32:06
[end_date_ymd] => 2025-01-07 10:32:06
[RateCDR] => 1
)
[2025-01-07 10: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-07 07:32:06' and `end` < '2025-01-07 10: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-07 10:32:11] Production.ERROR: CronJobId end10
[2025-01-07 10:32:11] Production.INFO: ==31348== Releasing lock...
[2025-01-07 10:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:32:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:32:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:32:14] Production.INFO: call_cost start
[2025-01-07 10:32:14] Production.INFO: call_cost end
[2025-01-07 10:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:32:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:32:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:32:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:32:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:32:15] Production.INFO: ==31344== Releasing lock...
[2025-01-07 10:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:32:23] Production.INFO: count ==2717
[2025-01-07 10:32:24] Production.ERROR: pbx CDR StartTime 2025-01-07 07:32:06 - End Time 2025-01-07 10:32:06
[2025-01-07 10:32:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:32:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194309', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:32:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194309', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:32:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194309', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:32:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194309', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:32:24] Production.INFO: ProcessCDR(1,14194309,1,1,2)
[2025-01-07 10:32:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194309,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:32:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194309,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:32:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194309,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:32:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194309,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:32:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194309', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:32:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194309', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:32:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:32:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:32:29] Production.INFO: ==31352== Releasing lock...
[2025-01-07 10:32:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:32:29] Production.INFO: 48.5 MB #Memory Used#
[2025-01-07 15:33:01] Production.INFO: ==31407== Lock acquired, processing the job...
[2025-01-07 15:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:33:01] Production.INFO: neon service started
[2025-01-07 15:33:01] Production.INFO: neon service started
[2025-01-07 15:33:01] Production.INFO: ==31407== Releasing lock...
[2025-01-07 15:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:33:01] Production.INFO: ==31409== Lock acquired, processing the job...
[2025-01-07 10:33:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:33:02] Production.INFO: ==31409== Releasing lock...
[2025-01-07 10:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 15:33:02] Production.INFO: ==31411== Lock acquired, processing the job...
[2025-01-07 15:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:33:02] Production.INFO: ==31411== Releasing lock...
[2025-01-07 15:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:33:02] Production.INFO: ==31417== Lock acquired, processing the job...
[2025-01-07 10:33:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:33:03] Production.INFO: ==31421== Lock acquired, processing the job...
[2025-01-07 10:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:33:03] Production.INFO: ==31413== Lock acquired, processing the job...
[2025-01-07 10:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:33:03] Production.INFO: ==31415== Lock acquired, processing the job...
[2025-01-07 10:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:33:03] Production.INFO: ==31419== Lock acquired, processing the job...
[2025-01-07 10:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:33:03] Production.INFO: ==31423== Lock acquired, processing the job...
[2025-01-07 10:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:33:03] Production.ERROR: done
[2025-01-07 10:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:33:03] Production.INFO: Account Balance Start.
[2025-01-07 10:33:03] Production.INFO: CreateAllLog Start
[2025-01-07 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-07 10:33:03] Production.INFO: 117
[2025-01-07 10:33:03] Production.INFO: count ==21
[2025-01-07 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-07 10:33:03] Production.INFO: count ==21
[2025-01-07 10:33:03] Production.INFO: Date 2024-12-08
[2025-01-07 10:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194313') start
[2025-01-07 10:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:33:03] Production.ERROR: done
[2025-01-07 10:33:03] Production.INFO: ==31415== Releasing lock...
[2025-01-07 10:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:33:03] Production.INFO: Date 2024-12-09
[2025-01-07 10:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194313') end
[2025-01-07 10:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:33:03] Production.INFO: 1
[2025-01-07 10:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:33:03] Production.INFO: Date 2024-12-10
[2025-01-07 10:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:33:03] Production.INFO: ==31423== Releasing lock...
[2025-01-07 10:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:33:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:33:03] Production.INFO: Date 2024-12-11
[2025-01-07 10:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:33:03] Production.INFO: Date 2024-12-12
[2025-01-07 10:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:33:03] Production.INFO: Date 2024-12-13
[2025-01-07 10:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:33:03] Production.INFO: Date 2024-12-14
[2025-01-07 10:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:33:04] Production.INFO: Date 2024-12-15
[2025-01-07 10:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:33:04] Production.INFO: Date 2024-12-16
[2025-01-07 10:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:33:04] Production.INFO: Date 2024-12-17
[2025-01-07 10:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:33:04] Production.INFO: Date 2024-12-18
[2025-01-07 10:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:33:04] Production.INFO: Date 2024-12-19
[2025-01-07 10:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:33:04] Production.INFO: Date 2024-12-20
[2025-01-07 10:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:33:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:33:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:33:04] Production.INFO: Date 2024-12-23
[2025-01-07 10:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:33:04] Production.INFO: Date 2024-12-24
[2025-01-07 10:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:33:04] Production.INFO: Date 2024-12-25
[2025-01-07 10:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:33:04] Production.INFO: Date 2024-12-26
[2025-01-07 10:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:33:04] Production.INFO: Date 2024-12-27
[2025-01-07 10:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:33:04] Production.INFO: Date 2024-12-28
[2025-01-07 10:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:33:04] Production.INFO: Date 2024-12-29
[2025-01-07 10:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:33:04] Production.INFO: Date 2024-12-30
[2025-01-07 10:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:33:04] Production.INFO: Date 2024-12-31
[2025-01-07 10:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:33:04] Production.INFO: Date 2025-01-01
[2025-01-07 10:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:33:04] Production.INFO: Date 2025-01-02
[2025-01-07 10:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:33:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:33:04
[end_date_ymd] => 2025-01-07 10:33:04
[RateCDR] => 1
)
[2025-01-07 10: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-07 07:33:04' and `end` < '2025-01-07 10: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-07 10:33:04] Production.INFO: Date 2025-01-03
[2025-01-07 10:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:33:04] Production.INFO: Date 2025-01-04
[2025-01-07 10:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:33:04] Production.INFO: Date 2025-01-05
[2025-01-07 10:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:33:04] Production.INFO: Date 2025-01-06
[2025-01-07 10:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:33:04] Production.INFO: Date 2025-01-07
[2025-01-07 10:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:33:04] Production.INFO: Total Charge 0
[2025-01-07 10:33:04] Production.INFO: CreateAllLog End
[2025-01-07 10:33:04] Production.INFO: Account Balance End.
[2025-01-07 10:33:04] Production.ERROR: CronJobId end 12
[2025-01-07 10:33:04] Production.INFO: ==31419== Releasing lock...
[2025-01-07 10:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:33:11] Production.ERROR: CronJobId end10
[2025-01-07 10:33:11] Production.INFO: ==31417== Releasing lock...
[2025-01-07 10:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:33:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:33:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:33:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:33:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:33:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:33:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:33:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:33:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:33:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:33:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:33:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:33:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:33:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:33:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:33:13] Production.INFO: call_cost start
[2025-01-07 10:33:13] Production.INFO: call_cost end
[2025-01-07 10:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:33:14] Production.INFO: ==31413== Releasing lock...
[2025-01-07 10:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:33:20] Production.INFO: count ==2722
[2025-01-07 10:33:21] Production.ERROR: pbx CDR StartTime 2025-01-07 07:33:04 - End Time 2025-01-07 10:33:04
[2025-01-07 10:33:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194314', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194314', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194314', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194314', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:33:22] Production.INFO: ProcessCDR(1,14194314,1,1,2)
[2025-01-07 10:33:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194314,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:33:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194314,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:33:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194314,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:33:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194314,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:33:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194314', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:33:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194314', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:33:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:33:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:33:26] Production.INFO: ==31421== Releasing lock...
[2025-01-07 10:33:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:33:26] Production.INFO: 48.5 MB #Memory Used#
[2025-01-07 15:34:01] Production.INFO: ==31481== Lock acquired, processing the job...
[2025-01-07 15:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:34:02] Production.INFO: neon service started
[2025-01-07 15:34:02] Production.INFO: neon service started
[2025-01-07 15:34:02] Production.INFO: ==31481== Releasing lock...
[2025-01-07 15:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 15:34:02] Production.INFO: ==31485== Lock acquired, processing the job...
[2025-01-07 15:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:34:02] Production.INFO: ==31485== Releasing lock...
[2025-01-07 15:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:34:02] Production.INFO: ==31483== Lock acquired, processing the job...
[2025-01-07 10:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:34:02] Production.INFO: ==31483== Releasing lock...
[2025-01-07 10:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:34:03] Production.INFO: ==31492== Lock acquired, processing the job...
[2025-01-07 10:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:34:03] Production.INFO: ==31496== Lock acquired, processing the job...
[2025-01-07 10:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:34:03] Production.INFO: ==31488== Lock acquired, processing the job...
[2025-01-07 10:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:34:03] Production.INFO: ==31490== Lock acquired, processing the job...
[2025-01-07 10:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:34:03] Production.INFO: ==31494== Lock acquired, processing the job...
[2025-01-07 10:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:34:03] Production.INFO: ==31498== Lock acquired, processing the job...
[2025-01-07 10:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:34:03] Production.ERROR: done
[2025-01-07 10:34:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:34:04] Production.INFO: Account Balance Start.
[2025-01-07 10:34:04] Production.INFO: CreateAllLog Start
[2025-01-07 10:34:04] Production.ERROR: done
[2025-01-07 10:34:04] Production.INFO: 117
[2025-01-07 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-07 10:34:04] Production.INFO: count ==21
[2025-01-07 10:34:04] Production.INFO: Date 2024-12-08
[2025-01-07 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-07 10:34:04] Production.INFO: count ==21
[2025-01-07 10:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194317') start
[2025-01-07 10:34:04] Production.INFO: Date 2024-12-09
[2025-01-07 10:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:34:04] Production.INFO: Date 2024-12-10
[2025-01-07 10:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194317') end
[2025-01-07 10:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:34:04] Production.INFO: 1
[2025-01-07 10:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:34:04] Production.INFO: Date 2024-12-11
[2025-01-07 10:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:34:04] Production.INFO: ==31498== Releasing lock...
[2025-01-07 10:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:34:04] Production.INFO: ==31490== Releasing lock...
[2025-01-07 10:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:34:04] Production.INFO: Date 2024-12-12
[2025-01-07 10:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:34:04] Production.INFO: Date 2024-12-13
[2025-01-07 10:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:34:04] Production.INFO: Date 2024-12-14
[2025-01-07 10:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:34:04] Production.INFO: Date 2024-12-15
[2025-01-07 10:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:34:04] Production.INFO: Date 2024-12-16
[2025-01-07 10:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:34:04] Production.INFO: Date 2024-12-17
[2025-01-07 10:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:34:04] Production.INFO: Date 2024-12-18
[2025-01-07 10:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:34:04] Production.INFO: Date 2024-12-19
[2025-01-07 10:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:34:04] Production.INFO: Date 2024-12-20
[2025-01-07 10:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:34:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:34:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:34:04] Production.INFO: Date 2024-12-23
[2025-01-07 10:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:34:04] Production.INFO: Date 2024-12-24
[2025-01-07 10:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:34:04] Production.INFO: Date 2024-12-25
[2025-01-07 10:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:34:04] Production.INFO: Date 2024-12-26
[2025-01-07 10:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:34:04] Production.INFO: Date 2024-12-27
[2025-01-07 10:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:34:05] Production.INFO: Date 2024-12-28
[2025-01-07 10:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:34:05] Production.INFO: Date 2024-12-29
[2025-01-07 10:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:34:05] Production.INFO: Date 2024-12-30
[2025-01-07 10:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:34:05] Production.INFO: Date 2024-12-31
[2025-01-07 10:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:34:05] Production.INFO: Date 2025-01-01
[2025-01-07 10:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:34:05] Production.INFO: Date 2025-01-02
[2025-01-07 10:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:34:05] Production.INFO: Date 2025-01-03
[2025-01-07 10:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:34:05] Production.INFO: Date 2025-01-04
[2025-01-07 10:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:34:05] Production.INFO: Date 2025-01-05
[2025-01-07 10:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:34:05] Production.INFO: Date 2025-01-06
[2025-01-07 10:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:34:05] Production.INFO: Date 2025-01-07
[2025-01-07 10:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:34:05] Production.INFO: Total Charge 0
[2025-01-07 10:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:34:05
[end_date_ymd] => 2025-01-07 10:34:05
[RateCDR] => 1
)
[2025-01-07 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-07 07:34:05' and `end` < '2025-01-07 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-07 10:34:05] Production.INFO: CreateAllLog End
[2025-01-07 10:34:05] Production.INFO: Account Balance End.
[2025-01-07 10:34:05] Production.ERROR: CronJobId end 12
[2025-01-07 10:34:05] Production.INFO: ==31494== Releasing lock...
[2025-01-07 10:34:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:34:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:34:11] Production.ERROR: CronJobId end10
[2025-01-07 10:34:11] Production.INFO: ==31492== Releasing lock...
[2025-01-07 10:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:34:13] Production.INFO: call_cost start
[2025-01-07 10:34:13] Production.INFO: call_cost end
[2025-01-07 10:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:34:14] Production.INFO: ==31488== Releasing lock...
[2025-01-07 10:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:34:24] Production.INFO: count ==2768
[2025-01-07 10:34:25] Production.ERROR: pbx CDR StartTime 2025-01-07 07:34:05 - End Time 2025-01-07 10:34:05
[2025-01-07 10:34:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:34:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194319', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:34:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194319', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:34:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194319', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:34:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194319', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:34:25] Production.INFO: ProcessCDR(1,14194319,1,1,2)
[2025-01-07 10:34:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194319,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:34:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194319,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:34:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194319,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:34:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194319,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:34:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194319', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:34:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194319', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:34:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:34:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:34:30] Production.INFO: ==31496== Releasing lock...
[2025-01-07 10:34:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:34:30] Production.INFO: 48.75 MB #Memory Used#
[2025-01-07 15:35:01] Production.INFO: ==31552== Lock acquired, processing the job...
[2025-01-07 15:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:35:01] Production.INFO: neon service started
[2025-01-07 15:35:01] Production.INFO: neon service started
[2025-01-07 15:35:01] Production.INFO: ==31552== Releasing lock...
[2025-01-07 15:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:35:02] Production.INFO: ==31554== Lock acquired, processing the job...
[2025-01-07 10:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 15:35:02] Production.INFO: ==31556== Lock acquired, processing the job...
[2025-01-07 15:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:35:02] Production.INFO: ==31556== Releasing lock...
[2025-01-07 15:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:35:02] Production.INFO: ==31554== Releasing lock...
[2025-01-07 10:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:35:03] Production.INFO: ==31559== Lock acquired, processing the job...
[2025-01-07 10:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:35:03] Production.INFO: ==31563== Lock acquired, processing the job...
[2025-01-07 10:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:35:03] Production.INFO: ==31567== Lock acquired, processing the job...
[2025-01-07 10:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:35:03] Production.INFO: ==31561== Lock acquired, processing the job...
[2025-01-07 10:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:35:03] Production.INFO: ==31565== Lock acquired, processing the job...
[2025-01-07 10:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:35:03] Production.INFO: ==31569== Lock acquired, processing the job...
[2025-01-07 10:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:35:03] Production.INFO: Account Balance Start.
[2025-01-07 10:35:03] Production.INFO: CreateAllLog Start
[2025-01-07 10:35:03] Production.INFO: 117
[2025-01-07 10:35:03] Production.INFO: Date 2024-12-08
[2025-01-07 10:35:03] Production.ERROR: done
[2025-01-07 10:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 10:35:03] Production.INFO: Date 2024-12-09
[2025-01-07 10:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:35:03] Production.INFO: count ==21
[2025-01-07 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-07 10:35:03] Production.INFO: count ==21
[2025-01-07 10:35:03] Production.INFO: Date 2024-12-10
[2025-01-07 10:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:35:03] Production.INFO: Date 2024-12-11
[2025-01-07 10:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194323') start
[2025-01-07 10:35:03] Production.INFO: Date 2024-12-12
[2025-01-07 10:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:35:03] Production.ERROR: done
[2025-01-07 10:35:03] Production.INFO: ==31561== Releasing lock...
[2025-01-07 10:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:35:03] Production.INFO: Date 2024-12-13
[2025-01-07 10:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194323') end
[2025-01-07 10:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:35:03] Production.INFO: 1
[2025-01-07 10:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:35:03] Production.INFO: Date 2024-12-14
[2025-01-07 10:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:35:03] Production.INFO: ==31569== Releasing lock...
[2025-01-07 10:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:35:03] Production.INFO: Date 2024-12-15
[2025-01-07 10:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:35:03] Production.INFO: Date 2024-12-16
[2025-01-07 10:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:35:04] Production.INFO: Date 2024-12-17
[2025-01-07 10:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:35:04] Production.INFO: Date 2024-12-18
[2025-01-07 10:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:35:04] Production.INFO: Date 2024-12-19
[2025-01-07 10:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:35:04] Production.INFO: Date 2024-12-20
[2025-01-07 10:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:35:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:35:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:35:04] Production.INFO: Date 2024-12-23
[2025-01-07 10:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:35:04] Production.INFO: Date 2024-12-24
[2025-01-07 10:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:35:04] Production.INFO: Date 2024-12-25
[2025-01-07 10:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:35:04] Production.INFO: Date 2024-12-26
[2025-01-07 10:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:35:04] Production.INFO: Date 2024-12-27
[2025-01-07 10:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:35:04] Production.INFO: Date 2024-12-28
[2025-01-07 10:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:35:04] Production.INFO: Date 2024-12-29
[2025-01-07 10:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:35:04] Production.INFO: Date 2024-12-30
[2025-01-07 10:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:35:04] Production.INFO: Date 2024-12-31
[2025-01-07 10:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:35:04] Production.INFO: Date 2025-01-01
[2025-01-07 10:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:35:04] Production.INFO: Date 2025-01-02
[2025-01-07 10:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:35:04] Production.INFO: Date 2025-01-03
[2025-01-07 10:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:35:04] Production.INFO: Date 2025-01-04
[2025-01-07 10:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:35:04] Production.INFO: Date 2025-01-05
[2025-01-07 10:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:35:04] Production.INFO: Date 2025-01-06
[2025-01-07 10:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:35:04] Production.INFO: Date 2025-01-07
[2025-01-07 10:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:35:04] Production.INFO: Total Charge 0
[2025-01-07 10:35:04] Production.INFO: CreateAllLog End
[2025-01-07 10:35:04] Production.INFO: Account Balance End.
[2025-01-07 10:35:04] Production.ERROR: CronJobId end 12
[2025-01-07 10:35:04] Production.INFO: ==31565== Releasing lock...
[2025-01-07 10:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:35:05
[end_date_ymd] => 2025-01-07 10:35:05
[RateCDR] => 1
)
[2025-01-07 10:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 07:35:05' and `end` < '2025-01-07 10:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 10:35:10] Production.ERROR: CronJobId end10
[2025-01-07 10:35:10] Production.INFO: ==31563== Releasing lock...
[2025-01-07 10:35:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:35:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:35:12] Production.INFO: call_cost start
[2025-01-07 10:35:12] Production.INFO: call_cost end
[2025-01-07 10:35:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:35:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:35:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:35:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:35:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:35:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:35:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:35:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:35:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:35:13] Production.INFO: ==31559== Releasing lock...
[2025-01-07 10:35:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:35:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:35:40] Production.INFO: count ==2789
[2025-01-07 10:35:41] Production.ERROR: pbx CDR StartTime 2025-01-07 07:35:05 - End Time 2025-01-07 10:35:05
[2025-01-07 10:35:41] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:35:41] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194324', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:35:41] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194324', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:35:41] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194324', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:35:41] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194324', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:35:41] Production.INFO: ProcessCDR(1,14194324,1,1,2)
[2025-01-07 10:35:41] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194324,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:35:43] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194324,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:35:43] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194324,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:35:45] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194324,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:35:45] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194324', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:35:45] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194324', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:35:45] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:35:46] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:35:46] Production.INFO: ==31567== Releasing lock...
[2025-01-07 10:35:46] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:35:46] Production.INFO: 49 MB #Memory Used#
[2025-01-07 15:36:01] Production.INFO: ==31623== Lock acquired, processing the job...
[2025-01-07 15:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:36:01] Production.INFO: neon service started
[2025-01-07 15:36:01] Production.INFO: neon service started
[2025-01-07 15:36:01] Production.INFO: ==31623== Releasing lock...
[2025-01-07 15:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:36:02] Production.INFO: ==31625== Lock acquired, processing the job...
[2025-01-07 10:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 15:36:02] Production.INFO: ==31627== Lock acquired, processing the job...
[2025-01-07 15:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:36:02] Production.INFO: ==31627== Releasing lock...
[2025-01-07 15:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:36:02] Production.INFO: ==31625== Releasing lock...
[2025-01-07 10:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:36:03] Production.INFO: ==31634== Lock acquired, processing the job...
[2025-01-07 10:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:36:03] Production.INFO: ==31638== Lock acquired, processing the job...
[2025-01-07 10:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:36:03] Production.INFO: ==31630== Lock acquired, processing the job...
[2025-01-07 10:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:36:04] Production.INFO: ==31636== Lock acquired, processing the job...
[2025-01-07 10:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:36:04] Production.INFO: ==31632== Lock acquired, processing the job...
[2025-01-07 10:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:36:04] Production.INFO: ==31640== Lock acquired, processing the job...
[2025-01-07 10:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:36:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:36:04] Production.INFO: Account Balance Start.
[2025-01-07 10:36:04] Production.INFO: CreateAllLog Start
[2025-01-07 10:36:04] Production.INFO: 117
[2025-01-07 10:36:04] Production.ERROR: done
[2025-01-07 10:36:04] Production.INFO: Date 2024-12-08
[2025-01-07 10:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 10:36:04] Production.INFO: count ==21
[2025-01-07 10:36:04] Production.INFO: Date 2024-12-09
[2025-01-07 10:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 10:36:04] Production.INFO: count ==21
[2025-01-07 10:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194327') start
[2025-01-07 10:36:04] Production.INFO: Date 2024-12-10
[2025-01-07 10:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:36:04] Production.INFO: Date 2024-12-11
[2025-01-07 10:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:36:04] Production.ERROR: done
[2025-01-07 10:36:04] Production.INFO: Date 2024-12-12
[2025-01-07 10:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:36:04] Production.INFO: Date 2024-12-13
[2025-01-07 10:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194327') end
[2025-01-07 10:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:36:04] Production.INFO: 1
[2025-01-07 10:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:36:04] Production.INFO: Date 2024-12-14
[2025-01-07 10:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:36:04] Production.INFO: Date 2024-12-15
[2025-01-07 10:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:36:04] Production.INFO: ==31640== Releasing lock...
[2025-01-07 10:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:36:04] Production.INFO: Date 2024-12-16
[2025-01-07 10:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:36:04] Production.INFO: Date 2024-12-17
[2025-01-07 10:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:36:04] Production.INFO: Date 2024-12-18
[2025-01-07 10:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:36:04] Production.INFO: Date 2024-12-19
[2025-01-07 10:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:36:04] Production.INFO: ==31632== Releasing lock...
[2025-01-07 10:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:36:04] Production.INFO: Date 2024-12-20
[2025-01-07 10:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:36:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:36:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:36:04] Production.INFO: Date 2024-12-23
[2025-01-07 10:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:36:04] Production.INFO: Date 2024-12-24
[2025-01-07 10:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:36:04] Production.INFO: Date 2024-12-25
[2025-01-07 10:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:36:04] Production.INFO: Date 2024-12-26
[2025-01-07 10:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:36:04] Production.INFO: Date 2024-12-27
[2025-01-07 10:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:36:04] Production.INFO: Date 2024-12-28
[2025-01-07 10:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:36:04] Production.INFO: Date 2024-12-29
[2025-01-07 10:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:36:04] Production.INFO: Date 2024-12-30
[2025-01-07 10:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:36:04] Production.INFO: Date 2024-12-31
[2025-01-07 10:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:36:05] Production.INFO: Date 2025-01-01
[2025-01-07 10:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:36:05] Production.INFO: Date 2025-01-02
[2025-01-07 10:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:36:05] Production.INFO: Date 2025-01-03
[2025-01-07 10:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:36:05] Production.INFO: Date 2025-01-04
[2025-01-07 10:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:36:05] Production.INFO: Date 2025-01-05
[2025-01-07 10:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:36:05] Production.INFO: Date 2025-01-06
[2025-01-07 10:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:36:05] Production.INFO: Date 2025-01-07
[2025-01-07 10:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:36:05] Production.INFO: Total Charge 0
[2025-01-07 10:36:05] Production.INFO: CreateAllLog End
[2025-01-07 10:36:05] Production.INFO: Account Balance End.
[2025-01-07 10:36:05] Production.ERROR: CronJobId end 12
[2025-01-07 10:36:05] Production.INFO: ==31636== Releasing lock...
[2025-01-07 10:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:36:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:36:05
[end_date_ymd] => 2025-01-07 10:36:05
[RateCDR] => 1
)
[2025-01-07 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-07 07:36:05' and `end` < '2025-01-07 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-07 10:36:11] Production.ERROR: CronJobId end10
[2025-01-07 10:36:11] Production.INFO: ==31634== Releasing lock...
[2025-01-07 10:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:36:14] Production.INFO: call_cost start
[2025-01-07 10:36:14] Production.INFO: call_cost end
[2025-01-07 10:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:36:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:36:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:36:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:36:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:36:15] Production.INFO: ==31630== Releasing lock...
[2025-01-07 10:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:36:27] Production.INFO: count ==2804
[2025-01-07 10:36:28] Production.ERROR: pbx CDR StartTime 2025-01-07 07:36:05 - End Time 2025-01-07 10:36:05
[2025-01-07 10:36:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:36:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194329', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:36:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194329', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:36:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194329', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:36:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194329', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:36:28] Production.INFO: ProcessCDR(1,14194329,1,1,2)
[2025-01-07 10:36:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194329,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:36:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194329,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:36:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194329,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:36:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194329,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:36:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194329', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:36:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194329', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:36:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:36:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:36:32] Production.INFO: ==31638== Releasing lock...
[2025-01-07 10:36:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:36:32] Production.INFO: 49 MB #Memory Used#
[2025-01-07 15:37:01] Production.INFO: ==31694== Lock acquired, processing the job...
[2025-01-07 15:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:37:01] Production.INFO: neon service started
[2025-01-07 15:37:01] Production.INFO: neon service started
[2025-01-07 15:37:01] Production.INFO: ==31694== Releasing lock...
[2025-01-07 15:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:37:02] Production.INFO: ==31696== Lock acquired, processing the job...
[2025-01-07 10:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 15:37:02] Production.INFO: ==31698== Lock acquired, processing the job...
[2025-01-07 15:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:37:02] Production.INFO: ==31698== Releasing lock...
[2025-01-07 15:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:37:02] Production.INFO: ==31696== Releasing lock...
[2025-01-07 10:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:37:03] Production.INFO: ==31705== Lock acquired, processing the job...
[2025-01-07 10:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:37:03] Production.INFO: ==31707== Lock acquired, processing the job...
[2025-01-07 10:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:37:03] Production.INFO: ==31709== Lock acquired, processing the job...
[2025-01-07 10:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:37:03] Production.INFO: Account Balance Start.
[2025-01-07 10:37:03] Production.INFO: CreateAllLog Start
[2025-01-07 10:37:03] Production.INFO: 117
[2025-01-07 10:37:03] Production.INFO: Date 2024-12-08
[2025-01-07 10:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:37:03] Production.INFO: Date 2024-12-09
[2025-01-07 10:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:37:03] Production.INFO: ==31703== Lock acquired, processing the job...
[2025-01-07 10:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:37:03] Production.INFO: ==31701== Lock acquired, processing the job...
[2025-01-07 10:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:37:03] Production.INFO: ==31711== Lock acquired, processing the job...
[2025-01-07 10:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:37:03] Production.INFO: Date 2024-12-10
[2025-01-07 10:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:37:03] Production.INFO: Date 2024-12-11
[2025-01-07 10:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:37:03] Production.INFO: Date 2024-12-12
[2025-01-07 10:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:37:03] Production.ERROR: done
[2025-01-07 10:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:37:03] Production.INFO: Date 2024-12-13
[2025-01-07 10:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 10:37:04] Production.INFO: count ==21
[2025-01-07 10:37:04] Production.ERROR: done
[2025-01-07 10:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 10:37:04] Production.INFO: Date 2024-12-14
[2025-01-07 10:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:37:04] Production.INFO: count ==21
[2025-01-07 10:37:04] Production.INFO: Date 2024-12-15
[2025-01-07 10:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194332') start
[2025-01-07 10:37:04] Production.INFO: Date 2024-12-16
[2025-01-07 10:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:37:04] Production.INFO: Date 2024-12-17
[2025-01-07 10:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:37:04] Production.INFO: Date 2024-12-18
[2025-01-07 10:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194332') end
[2025-01-07 10:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:37:04] Production.INFO: 1
[2025-01-07 10:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:37:04] Production.INFO: Date 2024-12-19
[2025-01-07 10:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:37:04] Production.INFO: Date 2024-12-20
[2025-01-07 10:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:37:04] Production.INFO: ==31711== Releasing lock...
[2025-01-07 10:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:37:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:37:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:37:04] Production.INFO: ==31703== Releasing lock...
[2025-01-07 10:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:37:04] Production.INFO: Date 2024-12-23
[2025-01-07 10:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:37:04] Production.INFO: Date 2024-12-24
[2025-01-07 10:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:37:04] Production.INFO: Date 2024-12-25
[2025-01-07 10:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:37:04] Production.INFO: Date 2024-12-26
[2025-01-07 10:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:37:04] Production.INFO: Date 2024-12-27
[2025-01-07 10:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:37:04] Production.INFO: Date 2024-12-28
[2025-01-07 10:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:37:04] Production.INFO: Date 2024-12-29
[2025-01-07 10:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:37:04] Production.INFO: Date 2024-12-30
[2025-01-07 10:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:37:04] Production.INFO: Date 2024-12-31
[2025-01-07 10:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:37:04] Production.INFO: Date 2025-01-01
[2025-01-07 10:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:37:04] Production.INFO: Date 2025-01-02
[2025-01-07 10:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:37:04] Production.INFO: Date 2025-01-03
[2025-01-07 10:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:37:04] Production.INFO: Date 2025-01-04
[2025-01-07 10:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:37:04] Production.INFO: Date 2025-01-05
[2025-01-07 10:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:37:04] Production.INFO: Date 2025-01-06
[2025-01-07 10:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:37:04] Production.INFO: Date 2025-01-07
[2025-01-07 10:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:37:05] Production.INFO: Total Charge 0
[2025-01-07 10:37:05] Production.INFO: CreateAllLog End
[2025-01-07 10:37:05] Production.INFO: Account Balance End.
[2025-01-07 10:37:05] Production.ERROR: CronJobId end 12
[2025-01-07 10:37:05] Production.INFO: ==31707== Releasing lock...
[2025-01-07 10:37:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:37:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:37:05
[end_date_ymd] => 2025-01-07 10:37:05
[RateCDR] => 1
)
[2025-01-07 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-07 07:37:05' and `end` < '2025-01-07 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-07 10:37:11] Production.ERROR: CronJobId end10
[2025-01-07 10:37:11] Production.INFO: ==31705== Releasing lock...
[2025-01-07 10:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:37:13] Production.INFO: call_cost start
[2025-01-07 10:37:13] Production.INFO: call_cost end
[2025-01-07 10:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:37:14] Production.INFO: ==31701== Releasing lock...
[2025-01-07 10:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:37:29] Production.INFO: count ==2840
[2025-01-07 10:37:30] Production.ERROR: pbx CDR StartTime 2025-01-07 07:37:05 - End Time 2025-01-07 10:37:05
[2025-01-07 10:37:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:37:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194334', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:37:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194334', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:37:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194334', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:37:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194334', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:37:30] Production.INFO: ProcessCDR(1,14194334,1,1,2)
[2025-01-07 10:37:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194334,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:37:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194334,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:37:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194334,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:37:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194334,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:37:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194334', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:37:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194334', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:37:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:37:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:37:35] Production.INFO: ==31709== Releasing lock...
[2025-01-07 10:37:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:37:35] Production.INFO: 49.75 MB #Memory Used#
[2025-01-07 15:38:02] Production.INFO: ==31767== Lock acquired, processing the job...
[2025-01-07 15:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:38:02] Production.INFO: neon service started
[2025-01-07 15:38:02] Production.INFO: neon service started
[2025-01-07 15:38:02] Production.INFO: ==31767== Releasing lock...
[2025-01-07 15:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 15:38:02] Production.INFO: ==31771== Lock acquired, processing the job...
[2025-01-07 15:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:38:02] Production.INFO: ==31771== Releasing lock...
[2025-01-07 15:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:38:02] Production.INFO: ==31769== Lock acquired, processing the job...
[2025-01-07 10:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:38:02] Production.INFO: ==31769== Releasing lock...
[2025-01-07 10:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:38:03] Production.INFO: ==31774== Lock acquired, processing the job...
[2025-01-07 10:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:38:03] Production.INFO: ==31782== Lock acquired, processing the job...
[2025-01-07 10:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:38:03] Production.INFO: ==31776== Lock acquired, processing the job...
[2025-01-07 10:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:38:03] Production.INFO: ==31778== Lock acquired, processing the job...
[2025-01-07 10:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:38:03] Production.INFO: ==31780== Lock acquired, processing the job...
[2025-01-07 10:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:38:04] Production.INFO: ==31784== Lock acquired, processing the job...
[2025-01-07 10:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:38:04] Production.INFO: Account Balance Start.
[2025-01-07 10:38:04] Production.INFO: CreateAllLog Start
[2025-01-07 10:38:04] Production.INFO: 117
[2025-01-07 10:38:04] Production.INFO: Date 2024-12-08
[2025-01-07 10:38:04] Production.ERROR: done
[2025-01-07 10:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 10:38:04] Production.INFO: ==31776== Releasing lock...
[2025-01-07 10:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:38:04] Production.INFO: count ==21
[2025-01-07 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-07 10:38:04] Production.INFO: count ==21
[2025-01-07 10:38:04] Production.INFO: Date 2024-12-09
[2025-01-07 10:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:38:04] Production.ERROR: done
[2025-01-07 10:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194338') start
[2025-01-07 10:38:04] Production.INFO: Date 2024-12-10
[2025-01-07 10:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:38:04] Production.INFO: Date 2024-12-11
[2025-01-07 10:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:38:04] Production.INFO: Date 2024-12-12
[2025-01-07 10:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194338') end
[2025-01-07 10:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:38:04] Production.INFO: 1
[2025-01-07 10:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:38:04] Production.INFO: Date 2024-12-13
[2025-01-07 10:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:38:04] Production.INFO: Date 2024-12-14
[2025-01-07 10:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:38:04] Production.INFO: Date 2024-12-15
[2025-01-07 10:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:38:04] Production.INFO: Date 2024-12-16
[2025-01-07 10:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:38:04] Production.INFO: ==31784== Releasing lock...
[2025-01-07 10:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:38:04] Production.INFO: Date 2024-12-17
[2025-01-07 10:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:38:04] Production.INFO: Date 2024-12-18
[2025-01-07 10:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:38:04] Production.INFO: Date 2024-12-19
[2025-01-07 10:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:38:04] Production.INFO: Date 2024-12-20
[2025-01-07 10:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:38:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:38:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:38:04] Production.INFO: Date 2024-12-23
[2025-01-07 10:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:38:04] Production.INFO: Date 2024-12-24
[2025-01-07 10:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:38:04] Production.INFO: Date 2024-12-25
[2025-01-07 10:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:38:04] Production.INFO: Date 2024-12-26
[2025-01-07 10:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:38:04] Production.INFO: Date 2024-12-27
[2025-01-07 10:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:38:04] Production.INFO: Date 2024-12-28
[2025-01-07 10:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:38:04] Production.INFO: Date 2024-12-29
[2025-01-07 10:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:38:04] Production.INFO: Date 2024-12-30
[2025-01-07 10:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:38:04] Production.INFO: Date 2024-12-31
[2025-01-07 10:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:38:04] Production.INFO: Date 2025-01-01
[2025-01-07 10:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:38:04] Production.INFO: Date 2025-01-02
[2025-01-07 10:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:38:05] Production.INFO: Date 2025-01-03
[2025-01-07 10:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:38:05] Production.INFO: Date 2025-01-04
[2025-01-07 10:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:38:05] Production.INFO: Date 2025-01-05
[2025-01-07 10:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:38:05] Production.INFO: Date 2025-01-06
[2025-01-07 10:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:38:05] Production.INFO: Date 2025-01-07
[2025-01-07 10:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:38:05] Production.INFO: Total Charge 0
[2025-01-07 10:38:05] Production.INFO: CreateAllLog End
[2025-01-07 10:38:05] Production.INFO: Account Balance End.
[2025-01-07 10:38:05] Production.ERROR: CronJobId end 12
[2025-01-07 10:38:05] Production.INFO: ==31780== Releasing lock...
[2025-01-07 10:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:38:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:38:05
[end_date_ymd] => 2025-01-07 10:38:05
[RateCDR] => 1
)
[2025-01-07 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-07 07:38:05' and `end` < '2025-01-07 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-07 10:38:12] Production.ERROR: CronJobId end10
[2025-01-07 10:38:12] Production.INFO: ==31778== Releasing lock...
[2025-01-07 10:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:38:13] Production.INFO: call_cost start
[2025-01-07 10:38:13] Production.INFO: call_cost end
[2025-01-07 10:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:38:14] Production.INFO: ==31774== Releasing lock...
[2025-01-07 10:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:38:28] Production.INFO: count ==2853
[2025-01-07 10:38:29] Production.ERROR: pbx CDR StartTime 2025-01-07 07:38:05 - End Time 2025-01-07 10:38:05
[2025-01-07 10:38:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:38:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194339', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:38:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194339', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:38:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194339', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:38:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194339', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:38:29] Production.INFO: ProcessCDR(1,14194339,1,1,2)
[2025-01-07 10:38:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194339,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:38:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194339,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:38:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194339,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:38:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194339,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:38:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194339', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:38:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194339', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:38:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:38:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:38:34] Production.INFO: ==31782== Releasing lock...
[2025-01-07 10:38:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:38:34] Production.INFO: 50 MB #Memory Used#
[2025-01-07 15:39:01] Production.INFO: ==31838== Lock acquired, processing the job...
[2025-01-07 15:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:39:01] Production.INFO: neon service started
[2025-01-07 15:39:01] Production.INFO: neon service started
[2025-01-07 15:39:01] Production.INFO: ==31838== Releasing lock...
[2025-01-07 15:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:39:01] Production.INFO: ==31840== Lock acquired, processing the job...
[2025-01-07 10:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:39:02] Production.INFO: ==31840== Releasing lock...
[2025-01-07 10:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 15:39:02] Production.INFO: ==31842== Lock acquired, processing the job...
[2025-01-07 15:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:39:02] Production.INFO: ==31842== Releasing lock...
[2025-01-07 15:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:39:02] Production.INFO: ==31855== Lock acquired, processing the job...
[2025-01-07 10:39:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:39:03] Production.INFO: ==31849== Lock acquired, processing the job...
[2025-01-07 10:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 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-07 10:39:03] Production.INFO: count ==21
[2025-01-07 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-07 10:39:03] Production.INFO: count ==21
[2025-01-07 10:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194340') start
[2025-01-07 10:39:03] Production.INFO: ==31845== Lock acquired, processing the job...
[2025-01-07 10:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194340') end
[2025-01-07 10:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:39:03] Production.INFO: 1
[2025-01-07 10:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:39:03] Production.INFO: ==31847== Lock acquired, processing the job...
[2025-01-07 10:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:39:03] Production.INFO: ==31855== Releasing lock...
[2025-01-07 10:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:39:03] Production.INFO: ==31851== Lock acquired, processing the job...
[2025-01-07 10:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:39:03] Production.INFO: ==31853== Lock acquired, processing the job...
[2025-01-07 10:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:39:03] Production.INFO: Account Balance Start.
[2025-01-07 10:39:03] Production.INFO: CreateAllLog Start
[2025-01-07 10:39:03] Production.INFO: 117
[2025-01-07 10:39:03] Production.INFO: ==31847== Releasing lock...
[2025-01-07 10:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:39:03] Production.INFO: Date 2024-12-08
[2025-01-07 10:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:39:03] Production.INFO: Date 2024-12-09
[2025-01-07 10:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:39:03] Production.INFO: Date 2024-12-10
[2025-01-07 10:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:39:03] Production.INFO: Date 2024-12-11
[2025-01-07 10:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:39:03] Production.INFO: Date 2024-12-12
[2025-01-07 10:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:39:03] Production.INFO: Date 2024-12-13
[2025-01-07 10:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:39:03] Production.ERROR: done
[2025-01-07 10:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:39:03] Production.INFO: Date 2024-12-14
[2025-01-07 10:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:39:03] Production.INFO: Date 2024-12-15
[2025-01-07 10:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:39:04] Production.INFO: Date 2024-12-16
[2025-01-07 10:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:39:04] Production.INFO: Date 2024-12-17
[2025-01-07 10:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:39:04] Production.INFO: Date 2024-12-18
[2025-01-07 10:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:39:04] Production.INFO: Date 2024-12-19
[2025-01-07 10:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:39:04] Production.ERROR: done
[2025-01-07 10:39:04] Production.INFO: Date 2024-12-20
[2025-01-07 10:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:39:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:39:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:39:04] Production.INFO: Date 2024-12-23
[2025-01-07 10:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:39:04] Production.INFO: Date 2024-12-24
[2025-01-07 10:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:39:04] Production.INFO: Date 2024-12-25
[2025-01-07 10:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:39:04] Production.INFO: Date 2024-12-26
[2025-01-07 10:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:39:04] Production.INFO: Date 2024-12-27
[2025-01-07 10:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:39:04] Production.INFO: Date 2024-12-28
[2025-01-07 10:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:39:04] Production.INFO: Date 2024-12-29
[2025-01-07 10:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:39:04] Production.INFO: Date 2024-12-30
[2025-01-07 10:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:39:04] Production.INFO: Date 2024-12-31
[2025-01-07 10:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:39:04] Production.INFO: Date 2025-01-01
[2025-01-07 10:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:39:04] Production.INFO: Date 2025-01-02
[2025-01-07 10:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:39:04] Production.INFO: Date 2025-01-03
[2025-01-07 10:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:39:04] Production.INFO: Date 2025-01-04
[2025-01-07 10:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:39:04] Production.INFO: Date 2025-01-05
[2025-01-07 10:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:39:04] Production.INFO: Date 2025-01-06
[2025-01-07 10:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:39:04] Production.INFO: Date 2025-01-07
[2025-01-07 10:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:39:04] Production.INFO: Total Charge 0
[2025-01-07 10:39:05] Production.INFO: CreateAllLog End
[2025-01-07 10:39:05] Production.INFO: Account Balance End.
[2025-01-07 10:39:05] Production.ERROR: CronJobId end 12
[2025-01-07 10:39:05] Production.INFO: ==31851== Releasing lock...
[2025-01-07 10:39:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:39:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:39:05
[end_date_ymd] => 2025-01-07 10:39:05
[RateCDR] => 1
)
[2025-01-07 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-07 07:39:05' and `end` < '2025-01-07 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-07 10:39:12] Production.ERROR: CronJobId end10
[2025-01-07 10:39:12] Production.INFO: ==31849== Releasing lock...
[2025-01-07 10:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:39:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:39:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:39:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:39:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:39:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:39:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:39:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:39:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:39:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:39:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:39:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:39:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:39:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:39:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:39:14] Production.INFO: call_cost start
[2025-01-07 10:39:14] Production.INFO: call_cost end
[2025-01-07 10:39:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:39:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:39:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:39:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:39:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:39:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:39:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:39:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:39:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:39:15] Production.INFO: ==31845== Releasing lock...
[2025-01-07 10:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:39:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:39:28] Production.INFO: count ==2865
[2025-01-07 10:39:29] Production.ERROR: pbx CDR StartTime 2025-01-07 07:39:05 - End Time 2025-01-07 10:39:05
[2025-01-07 10:39:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:39:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194344', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:39:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194344', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:39:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194344', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:39:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194344', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:39:29] Production.INFO: ProcessCDR(1,14194344,1,1,2)
[2025-01-07 10:39:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194344,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:39:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194344,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:39:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194344,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:39:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194344,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:39:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194344', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:39:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194344', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:39:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:39:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:39:34] Production.INFO: ==31853== Releasing lock...
[2025-01-07 10:39:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:39:34] Production.INFO: 49.75 MB #Memory Used#
[2025-01-07 15:40:01] Production.INFO: ==31911== Lock acquired, processing the job...
[2025-01-07 15:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:40:01] Production.INFO: neon service started
[2025-01-07 15:40:01] Production.INFO: neon service started
[2025-01-07 15:40:01] Production.INFO: ==31911== Releasing lock...
[2025-01-07 15:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 15:40:02] Production.INFO: ==31915== Lock acquired, processing the job...
[2025-01-07 15:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:40:02] Production.INFO: ==31915== Releasing lock...
[2025-01-07 15:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:40:02] Production.INFO: ==31913== Lock acquired, processing the job...
[2025-01-07 10:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:40:03] Production.INFO: ==31913== Releasing lock...
[2025-01-07 10:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:40:03] Production.INFO: ==31918== Lock acquired, processing the job...
[2025-01-07 10:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 10:40:04] Production.INFO: ==31920== Lock acquired, processing the job...
[2025-01-07 10:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:40:04] Production.INFO: ==31922== Lock acquired, processing the job...
[2025-01-07 10:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 10:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 10:40:04] Production.ERROR: CronJob PID - 31920
[2025-01-07 10:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-07 10:40:04] Production.ERROR: CronJob ID - 5
[2025-01-07 10:40:04] Production.ERROR: CronJob Last Run Time 2025-01-07 10:40:00
[2025-01-07 10:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 10:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 10:40:04] Production.INFO: ==31926== Lock acquired, processing the job...
[2025-01-07 10:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 10:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:40:04] Production.ERROR: CronJob PID - 31922
[2025-01-07 10:40:04] Production.ERROR: CronJob Title - Account Block
[2025-01-07 10:40:04] Production.ERROR: CronJob ID - 7
[2025-01-07 10:40:04] Production.ERROR: CronJob Last Run Time 2025-01-07 10:40:00
[2025-01-07 10:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 10:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 10:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:40:04] Production.INFO: ==31928== Lock acquired, processing the job...
[2025-01-07 10:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 10:40:04] Production.INFO: ==31918== Releasing lock...
[2025-01-07 10:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 10:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 10:40:04] Production.INFO: Account Balance Start.
[2025-01-07 10:40:04] Production.INFO: CreateAllLog Start
[2025-01-07 10:40:04] Production.INFO: 117
[2025-01-07 10:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:40:04] Production.INFO: Date 2024-12-08
[2025-01-07 10:40:04] Production.INFO: ==31924== Lock acquired, processing the job...
[2025-01-07 10:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:40:04] Production.INFO: ==31930== Lock acquired, processing the job...
[2025-01-07 10:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 10:40:04] Production.INFO: ==31933== Lock acquired, processing the job...
[2025-01-07 10:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:40:04] Production.INFO: Date 2024-12-09
[2025-01-07 10:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:40:04] Production.INFO: Date 2024-12-10
[2025-01-07 10:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:40:04] Production.INFO: Date 2024-12-11
[2025-01-07 10:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:40:04] Production.INFO: Date 2024-12-12
[2025-01-07 10:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:40:04] Production.INFO: Date 2024-12-13
[2025-01-07 10:40:04] Production.INFO: ==31922== Releasing lock...
[2025-01-07 10:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:40:04] Production.ERROR: done
[2025-01-07 10:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:40:04] Production.INFO: Date 2024-12-14
[2025-01-07 10:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 10:40:04] Production.INFO: Date 2024-12-15
[2025-01-07 10:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:40:04] Production.INFO: count ==21
[2025-01-07 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-07 10:40:04] Production.INFO: count ==21
[2025-01-07 10:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194348') start
[2025-01-07 10:40:04] Production.ERROR: done
[2025-01-07 10:40:04] Production.INFO: Date 2024-12-16
[2025-01-07 10:40:04] Production.ERROR: done
[2025-01-07 10:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194348') end
[2025-01-07 10:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:40:04] Production.INFO: 1
[2025-01-07 10:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:40:05] Production.INFO: Date 2024-12-17
[2025-01-07 10:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:40:05] Production.INFO: ==31933== Releasing lock...
[2025-01-07 10:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:40:05] Production.INFO: Date 2024-12-18
[2025-01-07 10:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 10:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14194350', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 10:40:05] Production.INFO: Date 2024-12-19
[2025-01-07 10:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:40:05] Production.INFO: Date 2024-12-20
[2025-01-07 10:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:40:05] Production.INFO: Date 2024-12-21
[2025-01-07 10:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:40:05] Production.INFO: Date 2024-12-22
[2025-01-07 10:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:40:05] Production.INFO: Date 2024-12-23
[2025-01-07 10:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:40:05] Production.INFO: Date 2024-12-24
[2025-01-07 10:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:40:05] Production.INFO: Date 2024-12-25
[2025-01-07 10:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:40:05] Production.INFO: Date 2024-12-26
[2025-01-07 10:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:40:05] Production.INFO: Date 2024-12-27
[2025-01-07 10:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:40:05] Production.INFO: Date 2024-12-28
[2025-01-07 10:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:40:05] Production.INFO: Date 2024-12-29
[2025-01-07 10:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:40:05] Production.INFO: Date 2024-12-30
[2025-01-07 10:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:40:05] Production.INFO: Date 2024-12-31
[2025-01-07 10:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:40:05] Production.INFO: Date 2025-01-01
[2025-01-07 10:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:40:05] Production.INFO: Date 2025-01-02
[2025-01-07 10:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:40:05] Production.INFO: Date 2025-01-03
[2025-01-07 10:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:40:05] Production.INFO: Date 2025-01-04
[2025-01-07 10:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:40:05] Production.INFO: Date 2025-01-05
[2025-01-07 10:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:40:05] Production.INFO: Date 2025-01-06
[2025-01-07 10:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:40:05] Production.INFO: Date 2025-01-07
[2025-01-07 10:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:40:05] Production.INFO: Total Charge 0
[2025-01-07 10:40:05] Production.INFO: CreateAllLog End
[2025-01-07 10:40:05] Production.INFO: Account Balance End.
[2025-01-07 10:40:06] Production.ERROR: CronJobId end 12
[2025-01-07 10:40:06] Production.INFO: ==31926== Releasing lock...
[2025-01-07 10:40:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:40:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:40:06
[end_date_ymd] => 2025-01-07 10:40:06
[RateCDR] => 1
)
[2025-01-07 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-07 07:40:06' and `end` < '2025-01-07 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-07 10:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14194350', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 10:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 10:40:09] Production.INFO: ProcessCDR(1,14194350,1,1,2)
[2025-01-07 10:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14194350,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14194350,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:40:09] Production.INFO: ==31930== Releasing lock...
[2025-01-07 10:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 10:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-07 10:40:12] Production.ERROR: CronJobId end10
[2025-01-07 10:40:12] Production.INFO: ==31924== Releasing lock...
[2025-01-07 10:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:40:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:40:15] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:40:15] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:40:15] Production.INFO: call_cost start
[2025-01-07 10:40:15] Production.INFO: call_cost end
[2025-01-07 10:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:40:16] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:40:16] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:40:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:40:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:40:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:40:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:40:16] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:40:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:40:16] Production.INFO: ==31920== Releasing lock...
[2025-01-07 10:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:40:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:40:26] Production.INFO: count ==2883
[2025-01-07 10:40:27] Production.ERROR: pbx CDR StartTime 2025-01-07 07:40:06 - End Time 2025-01-07 10:40:06
[2025-01-07 10:40:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:40:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194349', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:40:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194349', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:40:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194349', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:40:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194349', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:40:27] Production.INFO: ProcessCDR(1,14194349,1,1,2)
[2025-01-07 10:40:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194349,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:40:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194349,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:40:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194349,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:40:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194349,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:40:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194349', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:40:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194349', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:40:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:40:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:40:32] Production.INFO: ==31928== Releasing lock...
[2025-01-07 10:40:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:40:32] Production.INFO: 49.75 MB #Memory Used#
[2025-01-07 15:41:01] Production.INFO: ==31985== Lock acquired, processing the job...
[2025-01-07 15:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:41:01] Production.INFO: neon service started
[2025-01-07 15:41:01] Production.INFO: neon service started
[2025-01-07 15:41:01] Production.INFO: ==31985== Releasing lock...
[2025-01-07 15:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:41:01] Production.INFO: ==31987== Lock acquired, processing the job...
[2025-01-07 10:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:41:02] Production.INFO: ==31987== Releasing lock...
[2025-01-07 10:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 15:41:02] Production.INFO: ==31989== Lock acquired, processing the job...
[2025-01-07 15:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:41:02] Production.INFO: ==31989== Releasing lock...
[2025-01-07 15:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:41:02] Production.INFO: ==31991== Lock acquired, processing the job...
[2025-01-07 10:41:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:41:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:41:02] Production.INFO: ==31995== Lock acquired, processing the job...
[2025-01-07 10:41:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:41:02] Production.INFO: ==31997== Lock acquired, processing the job...
[2025-01-07 10:41:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:41:02] Production.INFO: Account Balance Start.
[2025-01-07 10:41:02] Production.INFO: CreateAllLog Start
[2025-01-07 10:41:02] Production.INFO: 117
[2025-01-07 10:41:02] Production.INFO: Date 2024-12-08
[2025-01-07 10:41:02] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:41:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:41:02] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:41:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:41:02] Production.INFO: Reseller ==> 0
[2025-01-07 10:41:02] Production.INFO: Date 2024-12-09
[2025-01-07 10:41:02] Production.INFO: Reseller ==> 0
[2025-01-07 10:41:02] Production.INFO: Date 2024-12-10
[2025-01-07 10:41:02] Production.INFO: Reseller ==> 0
[2025-01-07 10:41:03] Production.INFO: Date 2024-12-11
[2025-01-07 10:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:41:03] Production.INFO: Date 2024-12-12
[2025-01-07 10:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:41:03] Production.INFO: ==31993== Lock acquired, processing the job...
[2025-01-07 10:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:41:03] Production.INFO: Date 2024-12-13
[2025-01-07 10:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:41:03] Production.INFO: Date 2024-12-14
[2025-01-07 10:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:41:03] Production.INFO: Date 2024-12-15
[2025-01-07 10:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:41:03] Production.INFO: ==31999== Lock acquired, processing the job...
[2025-01-07 10:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:41:03] Production.INFO: Date 2024-12-16
[2025-01-07 10:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:41:03] Production.INFO: Date 2024-12-17
[2025-01-07 10:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:41:03] Production.INFO: ==32001== Lock acquired, processing the job...
[2025-01-07 10:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:41:03] Production.INFO: Date 2024-12-18
[2025-01-07 10:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:41:03] Production.INFO: Date 2024-12-19
[2025-01-07 10:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 10:41:03] Production.INFO: Date 2024-12-20
[2025-01-07 10:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:41:03] Production.INFO: ==31993== Releasing lock...
[2025-01-07 10:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:41:03] Production.INFO: count ==21
[2025-01-07 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-07 10:41:03] Production.INFO: count ==21
[2025-01-07 10:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194354') start
[2025-01-07 10:41:03] Production.INFO: Date 2024-12-21
[2025-01-07 10:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:41:03] Production.ERROR: done
[2025-01-07 10:41:03] Production.INFO: Date 2024-12-22
[2025-01-07 10:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:41:03] Production.INFO: Date 2024-12-23
[2025-01-07 10:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:41:03] Production.INFO: Date 2024-12-24
[2025-01-07 10:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194354') end
[2025-01-07 10:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:41:03] Production.INFO: 1
[2025-01-07 10:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:41:03] Production.INFO: Date 2024-12-25
[2025-01-07 10:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:41:03] Production.INFO: ==32001== Releasing lock...
[2025-01-07 10:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:41:03] Production.ERROR: done
[2025-01-07 10:41:03] Production.INFO: Date 2024-12-26
[2025-01-07 10:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:41:03] Production.INFO: Date 2024-12-27
[2025-01-07 10:41:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:41:04] Production.INFO: Date 2024-12-28
[2025-01-07 10:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:41:04] Production.INFO: Date 2024-12-29
[2025-01-07 10:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:41:04] Production.INFO: Date 2024-12-30
[2025-01-07 10:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:41:04] Production.INFO: Date 2024-12-31
[2025-01-07 10:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:41:04] Production.INFO: Date 2025-01-01
[2025-01-07 10:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:41:04] Production.INFO: Date 2025-01-02
[2025-01-07 10:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:41:04] Production.INFO: Date 2025-01-03
[2025-01-07 10:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:41:04] Production.INFO: Date 2025-01-04
[2025-01-07 10:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:41:04] Production.INFO: Date 2025-01-05
[2025-01-07 10:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:41:04] Production.INFO: Date 2025-01-06
[2025-01-07 10:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:41:04] Production.INFO: Date 2025-01-07
[2025-01-07 10:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:41:04] Production.INFO: Total Charge 0
[2025-01-07 10:41:04] Production.INFO: CreateAllLog End
[2025-01-07 10:41:04] Production.INFO: Account Balance End.
[2025-01-07 10:41:04] Production.ERROR: CronJobId end 12
[2025-01-07 10:41:04] Production.INFO: ==31997== Releasing lock...
[2025-01-07 10:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:41:04
[end_date_ymd] => 2025-01-07 10:41:04
[RateCDR] => 1
)
[2025-01-07 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-07 07:41:04' and `end` < '2025-01-07 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-07 10:41:10] Production.ERROR: CronJobId end10
[2025-01-07 10:41:10] Production.INFO: ==31995== Releasing lock...
[2025-01-07 10:41:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:41:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:41:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:41:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:41:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:41:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:41:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:41:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:41:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:41:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:41:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:41:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:41:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:41:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:41:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:41:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:41:13] Production.INFO: call_cost start
[2025-01-07 10:41:13] Production.INFO: call_cost end
[2025-01-07 10:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:41:14] Production.INFO: ==31991== Releasing lock...
[2025-01-07 10:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:41:32] Production.INFO: count ==2993
[2025-01-07 10:41:33] Production.ERROR: pbx CDR StartTime 2025-01-07 07:41:04 - End Time 2025-01-07 10:41:04
[2025-01-07 10:41:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:41:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194355', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:41:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194355', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:41:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194355', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:41:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194355', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:41:33] Production.INFO: ProcessCDR(1,14194355,1,1,2)
[2025-01-07 10:41:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194355,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:41:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194355,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:41:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194355,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:41:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194355,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:41:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194355', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:41:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194355', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:41:39] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:41:39] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:41:39] Production.INFO: ==31999== Releasing lock...
[2025-01-07 10:41:39] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:41:39] Production.INFO: 50.5 MB #Memory Used#
[2025-01-07 15:42:01] Production.INFO: ==32055== Lock acquired, processing the job...
[2025-01-07 15:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:42:01] Production.INFO: neon service started
[2025-01-07 15:42:01] Production.INFO: neon service started
[2025-01-07 15:42:01] Production.INFO: ==32055== Releasing lock...
[2025-01-07 15:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 15:42:02] Production.INFO: ==32059== Lock acquired, processing the job...
[2025-01-07 15:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:42:02] Production.INFO: ==32059== Releasing lock...
[2025-01-07 15:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:42:02] Production.INFO: ==32057== Lock acquired, processing the job...
[2025-01-07 10:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:42:02] Production.INFO: ==32057== Releasing lock...
[2025-01-07 10:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:42:03] Production.INFO: ==32068== Lock acquired, processing the job...
[2025-01-07 10:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:42:03] Production.INFO: ==32061== Lock acquired, processing the job...
[2025-01-07 10:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:42:03] Production.INFO: Account Balance Start.
[2025-01-07 10:42:03] Production.INFO: CreateAllLog Start
[2025-01-07 10:42:03] Production.INFO: 117
[2025-01-07 10:42:03] Production.INFO: Date 2024-12-08
[2025-01-07 10:42:03] Production.INFO: ==32063== Lock acquired, processing the job...
[2025-01-07 10:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:42:03] Production.INFO: ==32072== Lock acquired, processing the job...
[2025-01-07 10:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:42:03] Production.INFO: Date 2024-12-09
[2025-01-07 10:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:42:03] Production.INFO: ==32065== Lock acquired, processing the job...
[2025-01-07 10:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:42:03] Production.INFO: Date 2024-12-10
[2025-01-07 10:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:42:03] Production.INFO: ==32070== Lock acquired, processing the job...
[2025-01-07 10:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:42:03] Production.INFO: Date 2024-12-11
[2025-01-07 10:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 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-07 10:42:03] Production.INFO: Date 2024-12-12
[2025-01-07 10:42:03] Production.INFO: count ==21
[2025-01-07 10:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 10:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:42:03] Production.INFO: count ==21
[2025-01-07 10:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194359') start
[2025-01-07 10:42:03] Production.INFO: Date 2024-12-13
[2025-01-07 10:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:42:03] Production.INFO: Date 2024-12-14
[2025-01-07 10:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:42:03] Production.INFO: ==32063== Releasing lock...
[2025-01-07 10:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:42:03] Production.INFO: Date 2024-12-15
[2025-01-07 10:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194359') end
[2025-01-07 10:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:42:04] Production.INFO: 1
[2025-01-07 10:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:42:04] Production.INFO: ==32072== Releasing lock...
[2025-01-07 10:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:42:04] Production.INFO: Date 2024-12-16
[2025-01-07 10:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:42:04] Production.INFO: Date 2024-12-17
[2025-01-07 10:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:42:04] Production.ERROR: done
[2025-01-07 10:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:42:04] Production.INFO: Date 2024-12-18
[2025-01-07 10:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:42:04] Production.INFO: Date 2024-12-19
[2025-01-07 10:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:42:04] Production.ERROR: done
[2025-01-07 10:42:04] Production.INFO: Date 2024-12-20
[2025-01-07 10:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:42:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:42:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:42:04] Production.INFO: Date 2024-12-23
[2025-01-07 10:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:42:04] Production.INFO: Date 2024-12-24
[2025-01-07 10:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:42:04] Production.INFO: Date 2024-12-25
[2025-01-07 10:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:42:04] Production.INFO: Date 2024-12-26
[2025-01-07 10:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:42:04] Production.INFO: Date 2024-12-27
[2025-01-07 10:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:42:04] Production.INFO: Date 2024-12-28
[2025-01-07 10:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:42:04] Production.INFO: Date 2024-12-29
[2025-01-07 10:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:42:04] Production.INFO: Date 2024-12-30
[2025-01-07 10:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:42:04] Production.INFO: Date 2024-12-31
[2025-01-07 10:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:42:04] Production.INFO: Date 2025-01-01
[2025-01-07 10:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:42:04] Production.INFO: Date 2025-01-02
[2025-01-07 10:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:42:04] Production.INFO: Date 2025-01-03
[2025-01-07 10:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:42:04] Production.INFO: Date 2025-01-04
[2025-01-07 10:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:42:04] Production.INFO: Date 2025-01-05
[2025-01-07 10:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:42:05] Production.INFO: Date 2025-01-06
[2025-01-07 10:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:42:05] Production.INFO: Date 2025-01-07
[2025-01-07 10:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:42:05] Production.INFO: Total Charge 0
[2025-01-07 10:42:05] Production.INFO: CreateAllLog End
[2025-01-07 10:42:05] Production.INFO: Account Balance End.
[2025-01-07 10:42:05] Production.ERROR: CronJobId end 12
[2025-01-07 10:42:05] Production.INFO: ==32068== Releasing lock...
[2025-01-07 10:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:42:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:42:05
[end_date_ymd] => 2025-01-07 10:42:05
[RateCDR] => 1
)
[2025-01-07 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-07 07:42:05' and `end` < '2025-01-07 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-07 10:42:12] Production.ERROR: CronJobId end10
[2025-01-07 10:42:12] Production.INFO: ==32065== Releasing lock...
[2025-01-07 10:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:42:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:42:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:42:14] Production.INFO: call_cost start
[2025-01-07 10:42:14] Production.INFO: call_cost end
[2025-01-07 10:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:42:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:42:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:42:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:42:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:42:15] Production.INFO: ==32061== Releasing lock...
[2025-01-07 10:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:42:25] Production.INFO: count ==2999
[2025-01-07 10:42:26] Production.ERROR: pbx CDR StartTime 2025-01-07 07:42:05 - End Time 2025-01-07 10:42:05
[2025-01-07 10:42:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:42:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194360', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:42:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194360', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:42:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194360', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:42:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194360', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:42:26] Production.INFO: ProcessCDR(1,14194360,1,1,2)
[2025-01-07 10:42:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194360,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:42:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194360,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:42:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194360,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:42:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194360,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:42:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194360', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:42:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194360', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:42:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:42:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:42:31] Production.INFO: ==32070== Releasing lock...
[2025-01-07 10:42:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:42:31] Production.INFO: 50.75 MB #Memory Used#
[2025-01-07 15:43:02] Production.INFO: ==32128== Lock acquired, processing the job...
[2025-01-07 15:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:43:02] Production.INFO: neon service started
[2025-01-07 15:43:02] Production.INFO: neon service started
[2025-01-07 15:43:02] Production.INFO: ==32128== Releasing lock...
[2025-01-07 15:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:43:02] Production.INFO: ==32130== Lock acquired, processing the job...
[2025-01-07 10:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:43:02] Production.INFO: ==32130== Releasing lock...
[2025-01-07 10:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 15:43:02] Production.INFO: ==32132== Lock acquired, processing the job...
[2025-01-07 15:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:43:02] Production.INFO: ==32132== Releasing lock...
[2025-01-07 15:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:43:03] Production.INFO: ==32145== Lock acquired, processing the job...
[2025-01-07 10:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:43:03] Production.INFO: ==32143== Lock acquired, processing the job...
[2025-01-07 10:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:43:03] Production.INFO: ==32135== Lock acquired, processing the job...
[2025-01-07 10:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 10:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:43:03] Production.INFO: ==32137== Lock acquired, processing the job...
[2025-01-07 10:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:43:03] Production.INFO: count ==21
[2025-01-07 10:43:03] Production.INFO: ==32139== Lock acquired, processing the job...
[2025-01-07 10:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 10:43:03] Production.INFO: count ==21
[2025-01-07 10:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:43:03] Production.INFO: ==32141== Lock acquired, processing the job...
[2025-01-07 10:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194361') start
[2025-01-07 10:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:43:04] Production.ERROR: done
[2025-01-07 10:43:04] Production.INFO: Account Balance Start.
[2025-01-07 10:43:04] Production.INFO: CreateAllLog Start
[2025-01-07 10:43:04] Production.INFO: 117
[2025-01-07 10:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:43:04] Production.INFO: Date 2024-12-08
[2025-01-07 10:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:43:04] Production.INFO: Date 2024-12-09
[2025-01-07 10:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194361') end
[2025-01-07 10:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:43:04] Production.INFO: 1
[2025-01-07 10:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:43:04] Production.INFO: Date 2024-12-10
[2025-01-07 10:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:43:04] Production.INFO: Date 2024-12-11
[2025-01-07 10:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:43:04] Production.INFO: ==32145== Releasing lock...
[2025-01-07 10:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:43:04] Production.ERROR: done
[2025-01-07 10:43:04] Production.INFO: Date 2024-12-12
[2025-01-07 10:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:43:04] Production.INFO: ==32137== Releasing lock...
[2025-01-07 10:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:43:04] Production.INFO: Date 2024-12-13
[2025-01-07 10:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:43:04] Production.INFO: Date 2024-12-14
[2025-01-07 10:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:43:04] Production.INFO: Date 2024-12-15
[2025-01-07 10:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:43:04] Production.INFO: Date 2024-12-16
[2025-01-07 10:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:43:04] Production.INFO: Date 2024-12-17
[2025-01-07 10:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:43:04] Production.INFO: Date 2024-12-18
[2025-01-07 10:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:43:04] Production.INFO: Date 2024-12-19
[2025-01-07 10:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:43:04] Production.INFO: Date 2024-12-20
[2025-01-07 10:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:43:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:43:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:43:04] Production.INFO: Date 2024-12-23
[2025-01-07 10:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:43:04] Production.INFO: Date 2024-12-24
[2025-01-07 10:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:43:04] Production.INFO: Date 2024-12-25
[2025-01-07 10:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:43:04] Production.INFO: Date 2024-12-26
[2025-01-07 10:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:43:04] Production.INFO: Date 2024-12-27
[2025-01-07 10:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:43:04] Production.INFO: Date 2024-12-28
[2025-01-07 10:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:43:04] Production.INFO: Date 2024-12-29
[2025-01-07 10:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:43:04] Production.INFO: Date 2024-12-30
[2025-01-07 10:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:43:04] Production.INFO: Date 2024-12-31
[2025-01-07 10:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:43:04] Production.INFO: Date 2025-01-01
[2025-01-07 10:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:43:04] Production.INFO: Date 2025-01-02
[2025-01-07 10:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:43:04] Production.INFO: Date 2025-01-03
[2025-01-07 10:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:43:04] Production.INFO: Date 2025-01-04
[2025-01-07 10:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:43:04] Production.INFO: Date 2025-01-05
[2025-01-07 10:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:43:04] Production.INFO: Date 2025-01-06
[2025-01-07 10:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:43:04] Production.INFO: Date 2025-01-07
[2025-01-07 10:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:43:04] Production.INFO: Total Charge 0
[2025-01-07 10:43:05] Production.INFO: CreateAllLog End
[2025-01-07 10:43:05] Production.INFO: Account Balance End.
[2025-01-07 10:43:05] Production.ERROR: CronJobId end 12
[2025-01-07 10:43:05] Production.INFO: ==32141== Releasing lock...
[2025-01-07 10:43:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:43:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:43:05
[end_date_ymd] => 2025-01-07 10:43:05
[RateCDR] => 1
)
[2025-01-07 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-07 07:43:05' and `end` < '2025-01-07 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-07 10:43:11] Production.ERROR: CronJobId end10
[2025-01-07 10:43:11] Production.INFO: ==32139== Releasing lock...
[2025-01-07 10:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:43:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:43:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:43:13] Production.INFO: call_cost start
[2025-01-07 10:43:13] Production.INFO: call_cost end
[2025-01-07 10:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:43:14] Production.INFO: ==32135== Releasing lock...
[2025-01-07 10:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:43:30] Production.INFO: count ==3019
[2025-01-07 10:43:31] Production.ERROR: pbx CDR StartTime 2025-01-07 07:43:05 - End Time 2025-01-07 10:43:05
[2025-01-07 10:43:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:43:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194365', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:43:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194365', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:43:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194365', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:43:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194365', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:43:31] Production.INFO: ProcessCDR(1,14194365,1,1,2)
[2025-01-07 10:43:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194365,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:43:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194365,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:43:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194365,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:43:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194365,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:43:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194365', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:43:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194365', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:43:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:43:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:43:36] Production.INFO: ==32143== Releasing lock...
[2025-01-07 10:43:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:43:36] Production.INFO: 51.25 MB #Memory Used#
[2025-01-07 15:44:01] Production.INFO: ==32199== Lock acquired, processing the job...
[2025-01-07 15:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:44:01] Production.INFO: neon service started
[2025-01-07 15:44:01] Production.INFO: neon service started
[2025-01-07 15:44:01] Production.INFO: ==32199== Releasing lock...
[2025-01-07 15:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 15:44:02] Production.INFO: ==32203== Lock acquired, processing the job...
[2025-01-07 15:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:44:02] Production.INFO: ==32203== Releasing lock...
[2025-01-07 15:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:44:02] Production.INFO: ==32201== Lock acquired, processing the job...
[2025-01-07 10:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:44:02] Production.INFO: ==32201== Releasing lock...
[2025-01-07 10:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:44:03] Production.INFO: ==32207== Lock acquired, processing the job...
[2025-01-07 10:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:44:03] Production.INFO: ==32205== Lock acquired, processing the job...
[2025-01-07 10:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:44:03] Production.INFO: ==32215== Lock acquired, processing the job...
[2025-01-07 10:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 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-07 10:44:03] Production.INFO: ==32211== Lock acquired, processing the job...
[2025-01-07 10:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:44:03] Production.INFO: count ==21
[2025-01-07 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-07 10:44:03] Production.INFO: count ==21
[2025-01-07 10:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194368') start
[2025-01-07 10:44:03] Production.INFO: ==32207== Releasing lock...
[2025-01-07 10:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:44:03] Production.INFO: ==32209== Lock acquired, processing the job...
[2025-01-07 10:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194368') end
[2025-01-07 10:44:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:44:03] Production.INFO: 1
[2025-01-07 10:44:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:44:03] Production.INFO: Account Balance Start.
[2025-01-07 10:44:03] Production.INFO: CreateAllLog Start
[2025-01-07 10:44:03] Production.INFO: 117
[2025-01-07 10:44:03] Production.INFO: ==32215== Releasing lock...
[2025-01-07 10:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:44:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:44:03] Production.INFO: Date 2024-12-08
[2025-01-07 10:44:03] Production.INFO: ==32213== Lock acquired, processing the job...
[2025-01-07 10:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:44:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:44:03] Production.INFO: Date 2024-12-09
[2025-01-07 10:44:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:44:03] Production.INFO: Date 2024-12-10
[2025-01-07 10:44:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:44:03] Production.INFO: Date 2024-12-11
[2025-01-07 10:44:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:44:03] Production.INFO: Date 2024-12-12
[2025-01-07 10:44:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:44:03] Production.INFO: Date 2024-12-13
[2025-01-07 10:44:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:44:03] Production.INFO: Date 2024-12-14
[2025-01-07 10:44:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:44:03] Production.INFO: Date 2024-12-15
[2025-01-07 10:44:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:44:04] Production.ERROR: done
[2025-01-07 10:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:44:04] Production.INFO: Date 2024-12-16
[2025-01-07 10:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:44:04] Production.INFO: Date 2024-12-17
[2025-01-07 10:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:44:04] Production.ERROR: done
[2025-01-07 10:44:04] Production.INFO: Date 2024-12-18
[2025-01-07 10:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:44:04] Production.INFO: Date 2024-12-19
[2025-01-07 10:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:44:04] Production.INFO: Date 2024-12-20
[2025-01-07 10:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:44:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:44:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:44:04] Production.INFO: Date 2024-12-23
[2025-01-07 10:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:44:04] Production.INFO: Date 2024-12-24
[2025-01-07 10:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:44:04] Production.INFO: Date 2024-12-25
[2025-01-07 10:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:44:04] Production.INFO: Date 2024-12-26
[2025-01-07 10:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:44:04] Production.INFO: Date 2024-12-27
[2025-01-07 10:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:44:04] Production.INFO: Date 2024-12-28
[2025-01-07 10:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:44:04] Production.INFO: Date 2024-12-29
[2025-01-07 10:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:44:04] Production.INFO: Date 2024-12-30
[2025-01-07 10:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:44:04] Production.INFO: Date 2024-12-31
[2025-01-07 10:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:44:04] Production.INFO: Date 2025-01-01
[2025-01-07 10:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:44:04] Production.INFO: Date 2025-01-02
[2025-01-07 10:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:44:04] Production.INFO: Date 2025-01-03
[2025-01-07 10:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:44:04] Production.INFO: Date 2025-01-04
[2025-01-07 10:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:44:04] Production.INFO: Date 2025-01-05
[2025-01-07 10:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:44:04] Production.INFO: Date 2025-01-06
[2025-01-07 10:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:44:04] Production.INFO: Date 2025-01-07
[2025-01-07 10:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:44:04] Production.INFO: Total Charge 0
[2025-01-07 10:44:05] Production.INFO: CreateAllLog End
[2025-01-07 10:44:05] Production.INFO: Account Balance End.
[2025-01-07 10:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:44:05
[end_date_ymd] => 2025-01-07 10:44:05
[RateCDR] => 1
)
[2025-01-07 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-07 07:44:05' and `end` < '2025-01-07 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-07 10:44:05] Production.ERROR: CronJobId end 12
[2025-01-07 10:44:05] Production.INFO: ==32211== Releasing lock...
[2025-01-07 10:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:44:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:44:11] Production.ERROR: CronJobId end10
[2025-01-07 10:44:11] Production.INFO: ==32209== Releasing lock...
[2025-01-07 10:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:44:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:44:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:44:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:44:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:44:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:44:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:44:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:44:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:44:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:44:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:44:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:44:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:44:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:44:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:44:13] Production.INFO: call_cost start
[2025-01-07 10:44:13] Production.INFO: call_cost end
[2025-01-07 10:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:44:14] Production.INFO: ==32205== Releasing lock...
[2025-01-07 10:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:44:24] Production.INFO: count ==3031
[2025-01-07 10:44:25] Production.ERROR: pbx CDR StartTime 2025-01-07 07:44:05 - End Time 2025-01-07 10:44:05
[2025-01-07 10:44:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:44:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194370', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:44:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194370', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:44:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194370', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:44:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194370', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:44:25] Production.INFO: ProcessCDR(1,14194370,1,1,2)
[2025-01-07 10:44:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194370,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:44:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194370,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:44:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194370,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:44:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194370,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:44:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194370', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:44:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194370', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:44:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:44:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:44:30] Production.INFO: ==32213== Releasing lock...
[2025-01-07 10:44:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:44:30] Production.INFO: 52 MB #Memory Used#
[2025-01-07 15:45:02] Production.INFO: ==32271== Lock acquired, processing the job...
[2025-01-07 15:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:45:02] Production.INFO: neon service started
[2025-01-07 15:45:02] Production.INFO: neon service started
[2025-01-07 15:45:02] Production.INFO: ==32271== Releasing lock...
[2025-01-07 15:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:45:02] Production.INFO: ==32273== Lock acquired, processing the job...
[2025-01-07 10:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:45:02] Production.INFO: ==32273== Releasing lock...
[2025-01-07 10:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 15:45:02] Production.INFO: ==32275== Lock acquired, processing the job...
[2025-01-07 15:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:45:02] Production.INFO: ==32275== Releasing lock...
[2025-01-07 15:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:45:03] Production.INFO: ==32283== Lock acquired, processing the job...
[2025-01-07 10:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:45:03] Production.INFO: ==32287== Lock acquired, processing the job...
[2025-01-07 10:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:45:03] Production.INFO: ==32277== Lock acquired, processing the job...
[2025-01-07 10:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:45:03] Production.INFO: Account Balance Start.
[2025-01-07 10:45:03] Production.INFO: CreateAllLog Start
[2025-01-07 10:45:03] Production.INFO: 117
[2025-01-07 10:45:03] Production.INFO: Date 2024-12-08
[2025-01-07 10:45:03] Production.INFO: ==32279== Lock acquired, processing the job...
[2025-01-07 10:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:45:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:45:03] Production.INFO: Date 2024-12-09
[2025-01-07 10:45:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 10:45:03] Production.INFO: Date 2024-12-10
[2025-01-07 10:45:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:45:03] Production.INFO: count ==21
[2025-01-07 10:45:03] Production.INFO: ==32281== Lock acquired, processing the job...
[2025-01-07 10:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 10:45:03] Production.INFO: Date 2024-12-11
[2025-01-07 10:45:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:45:03] Production.INFO: count ==21
[2025-01-07 10:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194372') start
[2025-01-07 10:45:04] Production.INFO: Date 2024-12-12
[2025-01-07 10:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:45:04] Production.INFO: ==32279== Releasing lock...
[2025-01-07 10:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:45:04] Production.INFO: Date 2024-12-13
[2025-01-07 10:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:45:04] Production.INFO: ==32285== Lock acquired, processing the job...
[2025-01-07 10:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194372') end
[2025-01-07 10:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:45:04] Production.INFO: Date 2024-12-14
[2025-01-07 10:45:04] Production.INFO: 1
[2025-01-07 10:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:45:04] Production.INFO: ==32287== Releasing lock...
[2025-01-07 10:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:45:04] Production.INFO: Date 2024-12-15
[2025-01-07 10:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:45:04] Production.INFO: Date 2024-12-16
[2025-01-07 10:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:45:04] Production.INFO: Date 2024-12-17
[2025-01-07 10:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:45:04] Production.INFO: Date 2024-12-18
[2025-01-07 10:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:45:04] Production.INFO: Date 2024-12-19
[2025-01-07 10:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:45:04] Production.INFO: Date 2024-12-20
[2025-01-07 10:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:45:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:45:04] Production.ERROR: done
[2025-01-07 10:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:45:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:45:04] Production.INFO: Date 2024-12-23
[2025-01-07 10:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:45:04] Production.ERROR: done
[2025-01-07 10:45:04] Production.INFO: Date 2024-12-24
[2025-01-07 10:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:45:04] Production.INFO: Date 2024-12-25
[2025-01-07 10:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:45:04] Production.INFO: Date 2024-12-26
[2025-01-07 10:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:45:04] Production.INFO: Date 2024-12-27
[2025-01-07 10:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:45:04] Production.INFO: Date 2024-12-28
[2025-01-07 10:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:45:04] Production.INFO: Date 2024-12-29
[2025-01-07 10:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:45:04] Production.INFO: Date 2024-12-30
[2025-01-07 10:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:45:04] Production.INFO: Date 2024-12-31
[2025-01-07 10:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:45:05] Production.INFO: Date 2025-01-01
[2025-01-07 10:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:45:05] Production.INFO: Date 2025-01-02
[2025-01-07 10:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:45:05] Production.INFO: Date 2025-01-03
[2025-01-07 10:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:45:05] Production.INFO: Date 2025-01-04
[2025-01-07 10:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:45:05] Production.INFO: Date 2025-01-05
[2025-01-07 10:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:45:05] Production.INFO: Date 2025-01-06
[2025-01-07 10:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:45:05] Production.INFO: Date 2025-01-07
[2025-01-07 10:45:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:45:05] Production.INFO: Total Charge 0
[2025-01-07 10:45:05] Production.INFO: CreateAllLog End
[2025-01-07 10:45:05] Production.INFO: Account Balance End.
[2025-01-07 10:45:05] Production.ERROR: CronJobId end 12
[2025-01-07 10:45:05] Production.INFO: ==32283== Releasing lock...
[2025-01-07 10:45:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:45:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:45:05
[end_date_ymd] => 2025-01-07 10:45:05
[RateCDR] => 1
)
[2025-01-07 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-07 07:45:05' and `end` < '2025-01-07 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-07 10:45:11] Production.ERROR: CronJobId end10
[2025-01-07 10:45:11] Production.INFO: ==32281== Releasing lock...
[2025-01-07 10:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:45:14] Production.INFO: call_cost start
[2025-01-07 10:45:14] Production.INFO: call_cost end
[2025-01-07 10:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:45:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:45:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:45:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:45:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:45:15] Production.INFO: ==32277== Releasing lock...
[2025-01-07 10:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:45:21] Production.INFO: count ==3054
[2025-01-07 10:45:22] Production.ERROR: pbx CDR StartTime 2025-01-07 07:45:05 - End Time 2025-01-07 10:45:05
[2025-01-07 10:45:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:45:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194375', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:45:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194375', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:45:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194375', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:45:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194375', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:45:22] Production.INFO: ProcessCDR(1,14194375,1,1,2)
[2025-01-07 10:45:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194375,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:45:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194375,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:45:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194375,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:45:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194375,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:45:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194375', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:45:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194375', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:45:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:45:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:45:27] Production.INFO: ==32285== Releasing lock...
[2025-01-07 10:45:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:45:27] Production.INFO: 52.5 MB #Memory Used#
[2025-01-07 15:46:01] Production.INFO: ==32341== Lock acquired, processing the job...
[2025-01-07 15:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:46:01] Production.INFO: neon service started
[2025-01-07 15:46:01] Production.INFO: neon service started
[2025-01-07 15:46:01] Production.INFO: ==32341== Releasing lock...
[2025-01-07 15:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 15:46:01] Production.INFO: ==32345== Lock acquired, processing the job...
[2025-01-07 15:46:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:46:01] Production.INFO: ==32345== Releasing lock...
[2025-01-07 15:46:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:46:01] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:46:02] Production.INFO: ==32343== Lock acquired, processing the job...
[2025-01-07 10:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:46:02] Production.INFO: ==32343== Releasing lock...
[2025-01-07 10:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:46:03] Production.INFO: ==32354== Lock acquired, processing the job...
[2025-01-07 10:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:46:03] Production.INFO: Account Balance Start.
[2025-01-07 10:46:03] Production.INFO: CreateAllLog Start
[2025-01-07 10:46:03] Production.INFO: 117
[2025-01-07 10:46:03] Production.INFO: ==32356== Lock acquired, processing the job...
[2025-01-07 10:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:46:03] Production.INFO: Date 2024-12-08
[2025-01-07 10:46:03] Production.INFO: ==32347== Lock acquired, processing the job...
[2025-01-07 10:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:46:03] Production.INFO: ==32350== Lock acquired, processing the job...
[2025-01-07 10:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:46:03] Production.INFO: Date 2024-12-09
[2025-01-07 10:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:46:03] Production.INFO: Date 2024-12-10
[2025-01-07 10:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:46:03] Production.INFO: ==32352== Lock acquired, processing the job...
[2025-01-07 10:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:46:03] Production.INFO: Date 2024-12-11
[2025-01-07 10:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:46:03] Production.INFO: Date 2024-12-12
[2025-01-07 10:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:46:03] Production.INFO: ==32358== Lock acquired, processing the job...
[2025-01-07 10:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:46:03] Production.INFO: Date 2024-12-13
[2025-01-07 10:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:46:03] Production.INFO: Date 2024-12-14
[2025-01-07 10:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:46:03] Production.INFO: Date 2024-12-15
[2025-01-07 10:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:46:03] Production.ERROR: done
[2025-01-07 10:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:46:03] Production.INFO: Date 2024-12-16
[2025-01-07 10:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 10:46:03] Production.INFO: count ==21
[2025-01-07 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-07 10:46:03] Production.INFO: count ==21
[2025-01-07 10:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194379') start
[2025-01-07 10:46:03] Production.ERROR: done
[2025-01-07 10:46:03] Production.INFO: Date 2024-12-17
[2025-01-07 10:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:46:03] Production.INFO: Date 2024-12-18
[2025-01-07 10:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:46:03] Production.INFO: Date 2024-12-19
[2025-01-07 10:46:03] Production.INFO: ==32350== Releasing lock...
[2025-01-07 10:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:46:03] Production.INFO: Date 2024-12-20
[2025-01-07 10:46:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194379') end
[2025-01-07 10:46:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:46:03] Production.INFO: 1
[2025-01-07 10:46:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:46:03] Production.INFO: ==32358== Releasing lock...
[2025-01-07 10:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:46:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:46:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:46:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:46:04] Production.INFO: Date 2024-12-23
[2025-01-07 10:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:46:04] Production.INFO: Date 2024-12-24
[2025-01-07 10:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:46:04] Production.INFO: Date 2024-12-25
[2025-01-07 10:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:46:04] Production.INFO: Date 2024-12-26
[2025-01-07 10:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:46:04] Production.INFO: Date 2024-12-27
[2025-01-07 10:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:46:04] Production.INFO: Date 2024-12-28
[2025-01-07 10:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:46:04] Production.INFO: Date 2024-12-29
[2025-01-07 10:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:46:04] Production.INFO: Date 2024-12-30
[2025-01-07 10:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:46:04] Production.INFO: Date 2024-12-31
[2025-01-07 10:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:46:04] Production.INFO: Date 2025-01-01
[2025-01-07 10:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:46:04] Production.INFO: Date 2025-01-02
[2025-01-07 10:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:46:04] Production.INFO: Date 2025-01-03
[2025-01-07 10:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:46:04] Production.INFO: Date 2025-01-04
[2025-01-07 10:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:46:04] Production.INFO: Date 2025-01-05
[2025-01-07 10:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:46:04] Production.INFO: Date 2025-01-06
[2025-01-07 10:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:46:04] Production.INFO: Date 2025-01-07
[2025-01-07 10:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:46:04] Production.INFO: Total Charge 0
[2025-01-07 10:46:04] Production.INFO: CreateAllLog End
[2025-01-07 10:46:04] Production.INFO: Account Balance End.
[2025-01-07 10:46:04] Production.ERROR: CronJobId end 12
[2025-01-07 10:46:04] Production.INFO: ==32354== Releasing lock...
[2025-01-07 10:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:46:05
[end_date_ymd] => 2025-01-07 10:46:05
[RateCDR] => 1
)
[2025-01-07 10:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 07:46:05' and `end` < '2025-01-07 10:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 10:46:11] Production.ERROR: CronJobId end10
[2025-01-07 10:46:11] Production.INFO: ==32352== Releasing lock...
[2025-01-07 10:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:46:14] Production.INFO: call_cost start
[2025-01-07 10:46:14] Production.INFO: call_cost end
[2025-01-07 10:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:46:14] Production.INFO: ==32347== Releasing lock...
[2025-01-07 10:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:46:22] Production.INFO: count ==3057
[2025-01-07 10:46:23] Production.ERROR: pbx CDR StartTime 2025-01-07 07:46:05 - End Time 2025-01-07 10:46:05
[2025-01-07 10:46:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:46:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194380', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:46:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194380', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:46:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194380', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:46:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194380', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:46:23] Production.INFO: ProcessCDR(1,14194380,1,1,2)
[2025-01-07 10:46:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194380,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:46:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194380,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:46:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194380,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:46:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194380,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:46:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194380', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:46:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194380', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:46:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:46:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:46:28] Production.INFO: ==32356== Releasing lock...
[2025-01-07 10:46:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:46:28] Production.INFO: 51.5 MB #Memory Used#
[2025-01-07 15:47:01] Production.INFO: ==32450== Lock acquired, processing the job...
[2025-01-07 15:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:47:01] Production.INFO: neon service started
[2025-01-07 15:47:01] Production.INFO: neon service started
[2025-01-07 15:47:01] Production.INFO: ==32450== Releasing lock...
[2025-01-07 15:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 15:47:02] Production.INFO: ==32454== Lock acquired, processing the job...
[2025-01-07 15:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:47:02] Production.INFO: ==32454== Releasing lock...
[2025-01-07 15:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:47:02] Production.INFO: ==32452== Lock acquired, processing the job...
[2025-01-07 10:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:47:02] Production.INFO: ==32452== Releasing lock...
[2025-01-07 10:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:47:03] Production.INFO: ==32459== Lock acquired, processing the job...
[2025-01-07 10:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:47:03] Production.INFO: ==32466== Lock acquired, processing the job...
[2025-01-07 10:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:47:03] Production.INFO: ==32457== Lock acquired, processing the job...
[2025-01-07 10:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:47:03] Production.INFO: ==32462== Lock acquired, processing the job...
[2025-01-07 10:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:47:03] Production.INFO: ==32464== Lock acquired, processing the job...
[2025-01-07 10:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:47:03] Production.INFO: ==32468== Lock acquired, processing the job...
[2025-01-07 10:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:47:03] Production.INFO: Account Balance Start.
[2025-01-07 10:47:03] Production.INFO: CreateAllLog Start
[2025-01-07 10:47:03] Production.INFO: 117
[2025-01-07 10:47:03] Production.INFO: Date 2024-12-08
[2025-01-07 10:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:47:03] Production.INFO: Date 2024-12-09
[2025-01-07 10:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:47:03] Production.INFO: Date 2024-12-10
[2025-01-07 10:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:47:04] Production.ERROR: done
[2025-01-07 10:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:47:04] Production.INFO: ==32459== Releasing lock...
[2025-01-07 10:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:47:04] Production.INFO: Date 2024-12-11
[2025-01-07 10:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:47:04] Production.INFO: Date 2024-12-12
[2025-01-07 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-07 10:47:04] Production.INFO: count ==21
[2025-01-07 10:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 10:47:04] Production.INFO: count ==21
[2025-01-07 10:47:04] Production.INFO: Date 2024-12-13
[2025-01-07 10:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194384') start
[2025-01-07 10:47:04] Production.ERROR: done
[2025-01-07 10:47:04] Production.INFO: Date 2024-12-14
[2025-01-07 10:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:47:04] Production.INFO: Date 2024-12-15
[2025-01-07 10:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194384') end
[2025-01-07 10:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:47:04] Production.INFO: 1
[2025-01-07 10:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:47:04] Production.INFO: Date 2024-12-16
[2025-01-07 10:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:47:04] Production.INFO: ==32468== Releasing lock...
[2025-01-07 10:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:47:04] Production.INFO: Date 2024-12-17
[2025-01-07 10:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:47:04] Production.INFO: Date 2024-12-18
[2025-01-07 10:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:47:04] Production.INFO: Date 2024-12-19
[2025-01-07 10:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:47:04] Production.INFO: Date 2024-12-20
[2025-01-07 10:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:47:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:47:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:47:04] Production.INFO: Date 2024-12-23
[2025-01-07 10:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:47:04] Production.INFO: Date 2024-12-24
[2025-01-07 10:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:47:04] Production.INFO: Date 2024-12-25
[2025-01-07 10:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:47:04] Production.INFO: Date 2024-12-26
[2025-01-07 10:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:47:04] Production.INFO: Date 2024-12-27
[2025-01-07 10:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:47:05] Production.INFO: Date 2024-12-28
[2025-01-07 10:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:47:05] Production.INFO: Date 2024-12-29
[2025-01-07 10:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:47:05] Production.INFO: Date 2024-12-30
[2025-01-07 10:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:47:05] Production.INFO: Date 2024-12-31
[2025-01-07 10:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:47:05
[end_date_ymd] => 2025-01-07 10:47:05
[RateCDR] => 1
)
[2025-01-07 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-07 07:47:05' and `end` < '2025-01-07 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-07 10:47:05] Production.INFO: Date 2025-01-01
[2025-01-07 10:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:47:05] Production.INFO: Date 2025-01-02
[2025-01-07 10:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:47:05] Production.INFO: Date 2025-01-03
[2025-01-07 10:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:47:05] Production.INFO: Date 2025-01-04
[2025-01-07 10:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:47:05] Production.INFO: Date 2025-01-05
[2025-01-07 10:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:47:05] Production.INFO: Date 2025-01-06
[2025-01-07 10:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:47:05] Production.INFO: Date 2025-01-07
[2025-01-07 10:47:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:47:05] Production.INFO: Total Charge 0
[2025-01-07 10:47:05] Production.INFO: CreateAllLog End
[2025-01-07 10:47:05] Production.INFO: Account Balance End.
[2025-01-07 10:47:05] Production.ERROR: CronJobId end 12
[2025-01-07 10:47:05] Production.INFO: ==32464== Releasing lock...
[2025-01-07 10:47:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:47:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:47:11] Production.ERROR: CronJobId end10
[2025-01-07 10:47:11] Production.INFO: ==32462== Releasing lock...
[2025-01-07 10:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:47:13] Production.INFO: call_cost start
[2025-01-07 10:47:13] Production.INFO: call_cost end
[2025-01-07 10:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:47:14] Production.INFO: ==32457== Releasing lock...
[2025-01-07 10:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:47:26] Production.INFO: count ==3049
[2025-01-07 10:47:27] Production.ERROR: pbx CDR StartTime 2025-01-07 07:47:05 - End Time 2025-01-07 10:47:05
[2025-01-07 10:47:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:47:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194385', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:47:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194385', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:47:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194385', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:47:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194385', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:47:28] Production.INFO: ProcessCDR(1,14194385,1,1,2)
[2025-01-07 10:47:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194385,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:47:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194385,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:47:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194385,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:47:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194385,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:47:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194385', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:47:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194385', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:47:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:47:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:47:32] Production.INFO: ==32466== Releasing lock...
[2025-01-07 10:47:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:47:32] Production.INFO: 51.5 MB #Memory Used#
[2025-01-07 15:48:01] Production.INFO: ==32528== Lock acquired, processing the job...
[2025-01-07 15:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:48:01] Production.INFO: neon service started
[2025-01-07 15:48:01] Production.INFO: neon service started
[2025-01-07 15:48:01] Production.INFO: ==32528== Releasing lock...
[2025-01-07 15:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:48:01] Production.INFO: ==32530== Lock acquired, processing the job...
[2025-01-07 10:48:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:48:01] Production.INFO: ==32530== Releasing lock...
[2025-01-07 10:48:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:48:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 15:48:02] Production.INFO: ==32532== Lock acquired, processing the job...
[2025-01-07 15:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:48:02] Production.INFO: ==32532== Releasing lock...
[2025-01-07 15:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:48:02] Production.INFO: ==32541== Lock acquired, processing the job...
[2025-01-07 10:48:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:48:03] Production.INFO: ==32545== Lock acquired, processing the job...
[2025-01-07 10:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:48:03] Production.INFO: ==32535== Lock acquired, processing the job...
[2025-01-07 10:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:48:03] Production.INFO: Account Balance Start.
[2025-01-07 10:48:03] Production.INFO: ==32537== Lock acquired, processing the job...
[2025-01-07 10:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:48:03] Production.INFO: CreateAllLog Start
[2025-01-07 10:48:03] Production.INFO: 117
[2025-01-07 10:48:03] Production.INFO: Date 2024-12-08
[2025-01-07 10:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:48:03] Production.INFO: ==32539== Lock acquired, processing the job...
[2025-01-07 10:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:48:03] Production.INFO: ==32543== Lock acquired, processing the job...
[2025-01-07 10:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 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-07 10:48:03] Production.INFO: count ==21
[2025-01-07 10:48:03] Production.INFO: Date 2024-12-09
[2025-01-07 10:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 10:48:03] Production.INFO: count ==21
[2025-01-07 10:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194387') start
[2025-01-07 10:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:48:03] Production.INFO: Date 2024-12-10
[2025-01-07 10:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:48:03] Production.INFO: Date 2024-12-11
[2025-01-07 10:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:48:03] Production.INFO: Date 2024-12-12
[2025-01-07 10:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194387') end
[2025-01-07 10:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:48:03] Production.INFO: 1
[2025-01-07 10:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:48:03] Production.INFO: Date 2024-12-13
[2025-01-07 10:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:48:03] Production.INFO: ==32545== Releasing lock...
[2025-01-07 10:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:48:03] Production.INFO: Date 2024-12-14
[2025-01-07 10:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:48:03] Production.ERROR: done
[2025-01-07 10:48:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:48:03] Production.INFO: ==32537== Releasing lock...
[2025-01-07 10:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:48:03] Production.INFO: Date 2024-12-15
[2025-01-07 10:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:48:03] Production.INFO: Date 2024-12-16
[2025-01-07 10:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:48:03] Production.ERROR: done
[2025-01-07 10:48:03] Production.INFO: Date 2024-12-17
[2025-01-07 10:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:48:03] Production.INFO: Date 2024-12-18
[2025-01-07 10:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:48:03] Production.INFO: Date 2024-12-19
[2025-01-07 10:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:48:03] Production.INFO: Date 2024-12-20
[2025-01-07 10:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:48:03] Production.INFO: Date 2024-12-21
[2025-01-07 10:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:48:03] Production.INFO: Date 2024-12-22
[2025-01-07 10:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:48:03] Production.INFO: Date 2024-12-23
[2025-01-07 10:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:48:03] Production.INFO: Date 2024-12-24
[2025-01-07 10:48:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:48:04] Production.INFO: Date 2024-12-25
[2025-01-07 10:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:48:04] Production.INFO: Date 2024-12-26
[2025-01-07 10:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:48:04] Production.INFO: Date 2024-12-27
[2025-01-07 10:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:48:04] Production.INFO: Date 2024-12-28
[2025-01-07 10:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:48:04] Production.INFO: Date 2024-12-29
[2025-01-07 10:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:48:04] Production.INFO: Date 2024-12-30
[2025-01-07 10:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:48:04] Production.INFO: Date 2024-12-31
[2025-01-07 10:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:48:04] Production.INFO: Date 2025-01-01
[2025-01-07 10:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:48:04] Production.INFO: Date 2025-01-02
[2025-01-07 10:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:48:04] Production.INFO: Date 2025-01-03
[2025-01-07 10:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:48:04] Production.INFO: Date 2025-01-04
[2025-01-07 10:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:48:04] Production.INFO: Date 2025-01-05
[2025-01-07 10:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:48:04] Production.INFO: Date 2025-01-06
[2025-01-07 10:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:48:04] Production.INFO: Date 2025-01-07
[2025-01-07 10:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:48:04] Production.INFO: Total Charge 0
[2025-01-07 10:48:04] Production.INFO: CreateAllLog End
[2025-01-07 10:48:04] Production.INFO: Account Balance End.
[2025-01-07 10:48:04] Production.ERROR: CronJobId end 12
[2025-01-07 10:48:04] Production.INFO: ==32541== Releasing lock...
[2025-01-07 10:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:48:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:48:04
[end_date_ymd] => 2025-01-07 10:48:04
[RateCDR] => 1
)
[2025-01-07 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-07 07:48:04' and `end` < '2025-01-07 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-07 10:48:11] Production.ERROR: CronJobId end10
[2025-01-07 10:48:11] Production.INFO: ==32539== Releasing lock...
[2025-01-07 10:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:48:13] Production.INFO: call_cost start
[2025-01-07 10:48:13] Production.INFO: call_cost end
[2025-01-07 10:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:48:14] Production.INFO: ==32535== Releasing lock...
[2025-01-07 10:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:48:28] Production.INFO: count ==3058
[2025-01-07 10:48:29] Production.ERROR: pbx CDR StartTime 2025-01-07 07:48:04 - End Time 2025-01-07 10:48:04
[2025-01-07 10:48:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:48:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194390', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:48:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194390', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:48:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194390', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:48:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194390', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:48:29] Production.INFO: ProcessCDR(1,14194390,1,1,2)
[2025-01-07 10:48:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194390,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:48:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194390,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:48:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194390,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:48:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194390,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:48:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194390', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:48:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194390', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:48:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:48:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:48:34] Production.INFO: ==32543== Releasing lock...
[2025-01-07 10:48:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:48:34] Production.INFO: 51.75 MB #Memory Used#
[2025-01-07 15:49:01] Production.INFO: ==32601== Lock acquired, processing the job...
[2025-01-07 15:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:49:01] Production.INFO: neon service started
[2025-01-07 15:49:01] Production.INFO: neon service started
[2025-01-07 15:49:01] Production.INFO: ==32601== Releasing lock...
[2025-01-07 15:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:49:02] Production.INFO: ==32603== Lock acquired, processing the job...
[2025-01-07 10:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 15:49:02] Production.INFO: ==32605== Lock acquired, processing the job...
[2025-01-07 15:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:49:02] Production.INFO: ==32605== Releasing lock...
[2025-01-07 15:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:49:02] Production.INFO: ==32603== Releasing lock...
[2025-01-07 10:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:49:03] Production.INFO: ==32607== Lock acquired, processing the job...
[2025-01-07 10:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:49:03] Production.INFO: ==32611== Lock acquired, processing the job...
[2025-01-07 10:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:49:03] Production.INFO: ==32613== Lock acquired, processing the job...
[2025-01-07 10:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:49:03] Production.INFO: ==32615== Lock acquired, processing the job...
[2025-01-07 10:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:49:03] Production.INFO: ==32609== Lock acquired, processing the job...
[2025-01-07 10:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:49:03] Production.INFO: Account Balance Start.
[2025-01-07 10:49:03] Production.INFO: CreateAllLog Start
[2025-01-07 10:49:03] Production.INFO: 117
[2025-01-07 10:49:03] Production.INFO: Date 2024-12-08
[2025-01-07 10:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:49:03] Production.INFO: Date 2024-12-09
[2025-01-07 10:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:49:03] Production.INFO: Date 2024-12-10
[2025-01-07 10:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:49:03] Production.INFO: Date 2024-12-11
[2025-01-07 10:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:49:03] Production.INFO: Date 2024-12-12
[2025-01-07 10:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:49:03] Production.INFO: Date 2024-12-13
[2025-01-07 10:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:49:03] Production.INFO: ==32617== Lock acquired, processing the job...
[2025-01-07 10:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:49:03] Production.INFO: Date 2024-12-14
[2025-01-07 10:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:49:03] Production.INFO: Date 2024-12-15
[2025-01-07 10:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:49:04] Production.ERROR: done
[2025-01-07 10:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:49:04] Production.INFO: Date 2024-12-16
[2025-01-07 10:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 10:49:04] Production.INFO: Date 2024-12-17
[2025-01-07 10:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:49:04] Production.INFO: count ==21
[2025-01-07 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-07 10:49:04] Production.INFO: count ==21
[2025-01-07 10:49:04] Production.INFO: Date 2024-12-18
[2025-01-07 10:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194394') start
[2025-01-07 10:49:04] Production.INFO: Date 2024-12-19
[2025-01-07 10:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:49:04] Production.INFO: ==32609== Releasing lock...
[2025-01-07 10:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:49:04] Production.INFO: Date 2024-12-20
[2025-01-07 10:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194394') end
[2025-01-07 10:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:49:04] Production.INFO: 1
[2025-01-07 10:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:49:04] Production.ERROR: done
[2025-01-07 10:49:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:49:04] Production.INFO: ==32617== Releasing lock...
[2025-01-07 10:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:49:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:49:04] Production.INFO: Date 2024-12-23
[2025-01-07 10:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:49:04] Production.INFO: Date 2024-12-24
[2025-01-07 10:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:49:04] Production.INFO: Date 2024-12-25
[2025-01-07 10:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:49:04] Production.INFO: Date 2024-12-26
[2025-01-07 10:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:49:04] Production.INFO: Date 2024-12-27
[2025-01-07 10:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:49:04] Production.INFO: Date 2024-12-28
[2025-01-07 10:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:49:04] Production.INFO: Date 2024-12-29
[2025-01-07 10:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:49:04] Production.INFO: Date 2024-12-30
[2025-01-07 10:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:49:04] Production.INFO: Date 2024-12-31
[2025-01-07 10:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:49:04] Production.INFO: Date 2025-01-01
[2025-01-07 10:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:49:04] Production.INFO: Date 2025-01-02
[2025-01-07 10:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:49:04] Production.INFO: Date 2025-01-03
[2025-01-07 10:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:49:04] Production.INFO: Date 2025-01-04
[2025-01-07 10:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:49:04] Production.INFO: Date 2025-01-05
[2025-01-07 10:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:49:04] Production.INFO: Date 2025-01-06
[2025-01-07 10:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:49:04] Production.INFO: Date 2025-01-07
[2025-01-07 10:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:49:05] Production.INFO: Total Charge 0
[2025-01-07 10:49:05] Production.INFO: CreateAllLog End
[2025-01-07 10:49:05] Production.INFO: Account Balance End.
[2025-01-07 10:49:05] Production.ERROR: CronJobId end 12
[2025-01-07 10:49:05] Production.INFO: ==32613== Releasing lock...
[2025-01-07 10:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:49:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:49:05
[end_date_ymd] => 2025-01-07 10:49:05
[RateCDR] => 1
)
[2025-01-07 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-07 07:49:05' and `end` < '2025-01-07 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-07 10:49:12] Production.ERROR: CronJobId end10
[2025-01-07 10:49:12] Production.INFO: ==32611== Releasing lock...
[2025-01-07 10:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:49:14] Production.INFO: call_cost start
[2025-01-07 10:49:14] Production.INFO: call_cost end
[2025-01-07 10:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:49:14] Production.INFO: ==32607== Releasing lock...
[2025-01-07 10:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:49:23] Production.INFO: count ==3077
[2025-01-07 10:49:24] Production.ERROR: pbx CDR StartTime 2025-01-07 07:49:05 - End Time 2025-01-07 10:49:05
[2025-01-07 10:49:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:49:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194395', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:49:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194395', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:49:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194395', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:49:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194395', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:49:24] Production.INFO: ProcessCDR(1,14194395,1,1,2)
[2025-01-07 10:49:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194395,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:49:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194395,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:49:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194395,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:49:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194395,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:49:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194395', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:49:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194395', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:49:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:49:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:49:29] Production.INFO: ==32615== Releasing lock...
[2025-01-07 10:49:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:49:29] Production.INFO: 52 MB #Memory Used#
[2025-01-07 15:50:02] Production.INFO: ==32672== Lock acquired, processing the job...
[2025-01-07 15:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:50:02] Production.INFO: neon service started
[2025-01-07 15:50:02] Production.INFO: neon service started
[2025-01-07 15:50:02] Production.INFO: ==32672== Releasing lock...
[2025-01-07 15:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:50:02] Production.INFO: ==32674== Lock acquired, processing the job...
[2025-01-07 10:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 15:50:02] Production.INFO: ==32676== Lock acquired, processing the job...
[2025-01-07 15:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:50:03] Production.INFO: ==32676== Releasing lock...
[2025-01-07 15:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:50:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:50:03] Production.INFO: ==32674== Releasing lock...
[2025-01-07 10:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:50:04] Production.INFO: ==32679== Lock acquired, processing the job...
[2025-01-07 10:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 10:50:04] Production.INFO: ==32681== Lock acquired, processing the job...
[2025-01-07 10:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 10:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 10:50:04] Production.ERROR: CronJob PID - 32681
[2025-01-07 10:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-07 10:50:04] Production.ERROR: CronJob ID - 5
[2025-01-07 10:50:04] Production.ERROR: CronJob Last Run Time 2025-01-07 10:50:00
[2025-01-07 10:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 10:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 10:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 10:50:04] Production.INFO: ==32679== Releasing lock...
[2025-01-07 10:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 10:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 10:50:04] Production.INFO: ==32691== Lock acquired, processing the job...
[2025-01-07 10:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 10:50:04] Production.INFO: ==32689== Lock acquired, processing the job...
[2025-01-07 10:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:50:04] Production.INFO: ==32685== Lock acquired, processing the job...
[2025-01-07 10:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:50:04] Production.INFO: ==32683== Lock acquired, processing the job...
[2025-01-07 10:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:50:04] Production.INFO: ==32687== Lock acquired, processing the job...
[2025-01-07 10:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:50:04] Production.INFO: ==32693== Lock acquired, processing the job...
[2025-01-07 10:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:50:04] Production.INFO: Account Balance Start.
[2025-01-07 10:50:04] Production.INFO: CreateAllLog Start
[2025-01-07 10:50:04] Production.INFO: 117
[2025-01-07 10:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:50:04] Production.INFO: Date 2024-12-08
[2025-01-07 10:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 10:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:50:04] Production.INFO: count ==21
[2025-01-07 10:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 10:50:04] Production.INFO: count ==21
[2025-01-07 10:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194398') start
[2025-01-07 10:50:04] Production.INFO: Date 2024-12-09
[2025-01-07 10:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:50:04] Production.INFO: Date 2024-12-10
[2025-01-07 10:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:50:04] Production.INFO: Date 2024-12-11
[2025-01-07 10:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:50:05] Production.ERROR: done
[2025-01-07 10:50:05] Production.ERROR: done
[2025-01-07 10:50:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14194398') end
[2025-01-07 10:50:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:50:05] Production.INFO: 1
[2025-01-07 10:50:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:50:05] Production.INFO: Date 2024-12-12
[2025-01-07 10:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 10:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14194400', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 10:50:05] Production.INFO: ==32693== Releasing lock...
[2025-01-07 10:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:50:05] Production.ERROR: done
[2025-01-07 10:50:05] Production.INFO: Date 2024-12-13
[2025-01-07 10:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:50:05] Production.INFO: Date 2024-12-14
[2025-01-07 10:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:50:05] Production.INFO: Date 2024-12-15
[2025-01-07 10:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:50:05] Production.INFO: Date 2024-12-16
[2025-01-07 10:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:50:05] Production.INFO: Date 2024-12-17
[2025-01-07 10:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:50:05] Production.INFO: ==32683== Releasing lock...
[2025-01-07 10:50:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:50:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:50:05] Production.INFO: Date 2024-12-18
[2025-01-07 10:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:50:05] Production.INFO: Date 2024-12-19
[2025-01-07 10:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:50:05] Production.INFO: Date 2024-12-20
[2025-01-07 10:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:50:05] Production.INFO: Date 2024-12-21
[2025-01-07 10:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:50:05] Production.INFO: Date 2024-12-22
[2025-01-07 10:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:50:05] Production.INFO: Date 2024-12-23
[2025-01-07 10:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:50:05] Production.INFO: Date 2024-12-24
[2025-01-07 10:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:50:05] Production.INFO: Date 2024-12-25
[2025-01-07 10:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:50:05] Production.INFO: Date 2024-12-26
[2025-01-07 10:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:50:05] Production.INFO: Date 2024-12-27
[2025-01-07 10:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:50:05] Production.INFO: Date 2024-12-28
[2025-01-07 10:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:50:05] Production.INFO: Date 2024-12-29
[2025-01-07 10:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:50:05] Production.INFO: Date 2024-12-30
[2025-01-07 10:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:50:05] Production.INFO: Date 2024-12-31
[2025-01-07 10:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:50:06] Production.INFO: Date 2025-01-01
[2025-01-07 10:50:06] Production.INFO: Reseller ==> 0
[2025-01-07 10:50:06] Production.INFO: Date 2025-01-02
[2025-01-07 10:50:06] Production.INFO: Reseller ==> 0
[2025-01-07 10:50:06] Production.INFO: Date 2025-01-03
[2025-01-07 10:50:06] Production.INFO: Reseller ==> 0
[2025-01-07 10:50:06] Production.INFO: Date 2025-01-04
[2025-01-07 10:50:06] Production.INFO: Reseller ==> 0
[2025-01-07 10:50:06] Production.INFO: Date 2025-01-05
[2025-01-07 10:50:06] Production.INFO: Reseller ==> 0
[2025-01-07 10:50:06] Production.INFO: Date 2025-01-06
[2025-01-07 10:50:06] Production.INFO: Reseller ==> 0
[2025-01-07 10:50:06] Production.INFO: Date 2025-01-07
[2025-01-07 10:50:06] Production.INFO: Reseller ==> 0
[2025-01-07 10:50:06] Production.INFO: Total Charge 0
[2025-01-07 10:50:06] Production.INFO: CreateAllLog End
[2025-01-07 10:50:06] Production.INFO: Account Balance End.
[2025-01-07 10:50:06] Production.ERROR: CronJobId end 12
[2025-01-07 10:50:06] Production.INFO: ==32687== Releasing lock...
[2025-01-07 10:50:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:50:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:50:06
[end_date_ymd] => 2025-01-07 10:50:06
[RateCDR] => 1
)
[2025-01-07 10:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 07:50:06' and `end` < '2025-01-07 10:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 10:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14194400', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 10:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 10:50:09] Production.INFO: ProcessCDR(1,14194400,1,1,2)
[2025-01-07 10:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14194400,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14194400,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:50:09] Production.INFO: ==32691== Releasing lock...
[2025-01-07 10:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 10:50:09] Production.INFO: 26 MB #Memory Used#
[2025-01-07 10:50:13] Production.ERROR: CronJobId end10
[2025-01-07 10:50:13] Production.INFO: ==32685== Releasing lock...
[2025-01-07 10:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:50:15] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:50:15] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:50:15] Production.INFO: call_cost start
[2025-01-07 10:50:15] Production.INFO: call_cost end
[2025-01-07 10:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:50:16] Production.INFO: ==32681== Releasing lock...
[2025-01-07 10:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:50:31] Production.INFO: count ==3085
[2025-01-07 10:50:32] Production.ERROR: pbx CDR StartTime 2025-01-07 07:50:06 - End Time 2025-01-07 10:50:06
[2025-01-07 10:50:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:50:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194401', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:50:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194401', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:50:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194401', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:50:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194401', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:50:32] Production.INFO: ProcessCDR(1,14194401,1,1,2)
[2025-01-07 10:50:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194401,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:50:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194401,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:50:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194401,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:50:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194401,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:50:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194401', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:50:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194401', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:50:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:50:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:50:37] Production.INFO: ==32689== Releasing lock...
[2025-01-07 10:50:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:50:37] Production.INFO: 52.5 MB #Memory Used#
[2025-01-07 15:51:01] Production.INFO: ==32747== Lock acquired, processing the job...
[2025-01-07 15:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:51:01] Production.INFO: neon service started
[2025-01-07 15:51:01] Production.INFO: neon service started
[2025-01-07 15:51:01] Production.INFO: ==32747== Releasing lock...
[2025-01-07 15:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:51:02] Production.INFO: ==32749== Lock acquired, processing the job...
[2025-01-07 10:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:51:02] Production.INFO: ==32749== Releasing lock...
[2025-01-07 10:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 15:51:02] Production.INFO: ==32751== Lock acquired, processing the job...
[2025-01-07 15:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:51:02] Production.INFO: ==32751== Releasing lock...
[2025-01-07 15:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:51:03] Production.INFO: ==32754== Lock acquired, processing the job...
[2025-01-07 10:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:51:03] Production.INFO: ==32762== Lock acquired, processing the job...
[2025-01-07 10:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:51:03] Production.INFO: ==32756== Lock acquired, processing the job...
[2025-01-07 10:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:51:03] Production.INFO: ==32764== Lock acquired, processing the job...
[2025-01-07 10:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:51:03] Production.INFO: ==32758== Lock acquired, processing the job...
[2025-01-07 10:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:51:03] Production.INFO: ==32760== Lock acquired, processing the job...
[2025-01-07 10:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 10:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:51:03] Production.INFO: count ==21
[2025-01-07 10:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 10:51:03] Production.INFO: count ==21
[2025-01-07 10:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194403') start
[2025-01-07 10:51:03] Production.ERROR: done
[2025-01-07 10:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:51:03] Production.INFO: Account Balance Start.
[2025-01-07 10:51:03] Production.INFO: CreateAllLog Start
[2025-01-07 10:51:03] Production.INFO: 117
[2025-01-07 10:51:03] Production.INFO: Date 2024-12-08
[2025-01-07 10:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:51:03] Production.INFO: Date 2024-12-09
[2025-01-07 10:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:51:03] Production.INFO: Date 2024-12-10
[2025-01-07 10:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194403') end
[2025-01-07 10:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:51:03] Production.INFO: 1
[2025-01-07 10:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:51:03] Production.INFO: Date 2024-12-11
[2025-01-07 10:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:51:03] Production.ERROR: done
[2025-01-07 10:51:03] Production.INFO: ==32764== Releasing lock...
[2025-01-07 10:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:51:03] Production.INFO: ==32756== Releasing lock...
[2025-01-07 10:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:51:03] Production.INFO: Date 2024-12-12
[2025-01-07 10:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:51:03] Production.INFO: Date 2024-12-13
[2025-01-07 10:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:51:03] Production.INFO: Date 2024-12-14
[2025-01-07 10:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:51:03] Production.INFO: Date 2024-12-15
[2025-01-07 10:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:51:04] Production.INFO: Date 2024-12-16
[2025-01-07 10:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:51:04] Production.INFO: Date 2024-12-17
[2025-01-07 10:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:51:04] Production.INFO: Date 2024-12-18
[2025-01-07 10:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:51:04] Production.INFO: Date 2024-12-19
[2025-01-07 10:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:51:04] Production.INFO: Date 2024-12-20
[2025-01-07 10:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:51:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:51:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:51:04] Production.INFO: Date 2024-12-23
[2025-01-07 10:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:51:04] Production.INFO: Date 2024-12-24
[2025-01-07 10:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:51:04] Production.INFO: Date 2024-12-25
[2025-01-07 10:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:51:04] Production.INFO: Date 2024-12-26
[2025-01-07 10:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:51:04] Production.INFO: Date 2024-12-27
[2025-01-07 10:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:51:04] Production.INFO: Date 2024-12-28
[2025-01-07 10:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:51:04] Production.INFO: Date 2024-12-29
[2025-01-07 10:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:51:04] Production.INFO: Date 2024-12-30
[2025-01-07 10:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:51:04] Production.INFO: Date 2024-12-31
[2025-01-07 10:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:51:04] Production.INFO: Date 2025-01-01
[2025-01-07 10:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:51:04] Production.INFO: Date 2025-01-02
[2025-01-07 10:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:51:04] Production.INFO: Date 2025-01-03
[2025-01-07 10:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:51:04] Production.INFO: Date 2025-01-04
[2025-01-07 10:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:51:04] Production.INFO: Date 2025-01-05
[2025-01-07 10:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:51:04] Production.INFO: Date 2025-01-06
[2025-01-07 10:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:51:04] Production.INFO: Date 2025-01-07
[2025-01-07 10:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:51:04] Production.INFO: Total Charge 0
[2025-01-07 10:51:04] Production.INFO: CreateAllLog End
[2025-01-07 10:51:04] Production.INFO: Account Balance End.
[2025-01-07 10:51:04] Production.ERROR: CronJobId end 12
[2025-01-07 10:51:04] Production.INFO: ==32760== Releasing lock...
[2025-01-07 10:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:51:04
[end_date_ymd] => 2025-01-07 10:51:04
[RateCDR] => 1
)
[2025-01-07 10: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-07 07:51:04' and `end` < '2025-01-07 10: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-07 10:51:11] Production.ERROR: CronJobId end10
[2025-01-07 10:51:11] Production.INFO: ==32758== Releasing lock...
[2025-01-07 10:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:51:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:51:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:51:13] Production.INFO: call_cost start
[2025-01-07 10:51:13] Production.INFO: call_cost end
[2025-01-07 10:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:51:14] Production.INFO: ==32754== Releasing lock...
[2025-01-07 10:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:51:22] Production.INFO: count ==3219
[2025-01-07 10:51:23] Production.ERROR: pbx CDR StartTime 2025-01-07 07:51:04 - End Time 2025-01-07 10:51:04
[2025-01-07 10:51:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:51:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194406', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:51:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194406', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:51:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194406', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:51:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194406', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:51:23] Production.INFO: ProcessCDR(1,14194406,1,1,2)
[2025-01-07 10:51:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194406,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:51:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194406,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:51:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194406,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:51:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194406,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:51:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194406', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:51:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194406', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:51:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:51:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:51:28] Production.INFO: ==32762== Releasing lock...
[2025-01-07 10:51:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:51:28] Production.INFO: 53 MB #Memory Used#
[2025-01-07 15:52:02] Production.INFO: ==372== Lock acquired, processing the job...
[2025-01-07 15:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:52:02] Production.INFO: neon service started
[2025-01-07 15:52:02] Production.INFO: neon service started
[2025-01-07 15:52:02] Production.INFO: ==372== Releasing lock...
[2025-01-07 15:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:52:02] Production.INFO: ==375== Lock acquired, processing the job...
[2025-01-07 10:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 15:52:02] Production.INFO: ==377== Lock acquired, processing the job...
[2025-01-07 15:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:52:02] Production.INFO: ==377== Releasing lock...
[2025-01-07 15:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:52:03] Production.INFO: ==375== Releasing lock...
[2025-01-07 10:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:52:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 10:52:03] Production.INFO: ==379== Lock acquired, processing the job...
[2025-01-07 10:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:52:03] Production.INFO: ==381== Lock acquired, processing the job...
[2025-01-07 10:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:52:03] Production.INFO: ==389== Lock acquired, processing the job...
[2025-01-07 10:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:52:04] Production.INFO: ==381== Releasing lock...
[2025-01-07 10:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 10:52:04] Production.INFO: count ==21
[2025-01-07 10:52:04] Production.INFO: ==383== Lock acquired, processing the job...
[2025-01-07 10:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 10:52:04] Production.INFO: count ==21
[2025-01-07 10:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194409') start
[2025-01-07 10:52:04] Production.INFO: ==385== Lock acquired, processing the job...
[2025-01-07 10:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:52:04] Production.INFO: ==387== Lock acquired, processing the job...
[2025-01-07 10:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194409') end
[2025-01-07 10:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:52:04] Production.INFO: 1
[2025-01-07 10:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:52:04] Production.INFO: ==389== Releasing lock...
[2025-01-07 10:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:52:04] Production.INFO: Account Balance Start.
[2025-01-07 10:52:04] Production.INFO: CreateAllLog Start
[2025-01-07 10:52:04] Production.INFO: 117
[2025-01-07 10:52:04] Production.INFO: Date 2024-12-08
[2025-01-07 10:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:52:04] Production.INFO: Date 2024-12-09
[2025-01-07 10:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:52:04] Production.INFO: Date 2024-12-10
[2025-01-07 10:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:52:04] Production.INFO: Date 2024-12-11
[2025-01-07 10:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:52:04] Production.ERROR: done
[2025-01-07 10:52:04] Production.INFO: Date 2024-12-12
[2025-01-07 10:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:52:04] Production.INFO: Date 2024-12-13
[2025-01-07 10:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:52:04] Production.INFO: Date 2024-12-14
[2025-01-07 10:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:52:04] Production.INFO: Date 2024-12-15
[2025-01-07 10:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:52:04] Production.INFO: Date 2024-12-16
[2025-01-07 10:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:52:04] Production.INFO: Date 2024-12-17
[2025-01-07 10:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:52:04] Production.INFO: Date 2024-12-18
[2025-01-07 10:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:52:04] Production.ERROR: done
[2025-01-07 10:52:04] Production.INFO: Date 2024-12-19
[2025-01-07 10:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:52:05] Production.INFO: Date 2024-12-20
[2025-01-07 10:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:52:05] Production.INFO: Date 2024-12-21
[2025-01-07 10:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:52:05] Production.INFO: Date 2024-12-22
[2025-01-07 10:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:52:05] Production.INFO: Date 2024-12-23
[2025-01-07 10:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:52:05] Production.INFO: Date 2024-12-24
[2025-01-07 10:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:52:05] Production.INFO: Date 2024-12-25
[2025-01-07 10:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:52:05] Production.INFO: Date 2024-12-26
[2025-01-07 10:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:52:05] Production.INFO: Date 2024-12-27
[2025-01-07 10:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:52:05] Production.INFO: Date 2024-12-28
[2025-01-07 10:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:52:05] Production.INFO: Date 2024-12-29
[2025-01-07 10:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:52:05] Production.INFO: Date 2024-12-30
[2025-01-07 10:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:52:05] Production.INFO: Date 2024-12-31
[2025-01-07 10:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:52:05] Production.INFO: Date 2025-01-01
[2025-01-07 10:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:52:05] Production.INFO: Date 2025-01-02
[2025-01-07 10:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:52:05] Production.INFO: Date 2025-01-03
[2025-01-07 10:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:52:05] Production.INFO: Date 2025-01-04
[2025-01-07 10:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:52:05] Production.INFO: Date 2025-01-05
[2025-01-07 10:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:52:05] Production.INFO: Date 2025-01-06
[2025-01-07 10:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:52:05] Production.INFO: Date 2025-01-07
[2025-01-07 10:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:52:05] Production.INFO: Total Charge 0
[2025-01-07 10:52:05] Production.INFO: CreateAllLog End
[2025-01-07 10:52:05] Production.INFO: Account Balance End.
[2025-01-07 10:52:05] Production.ERROR: CronJobId end 12
[2025-01-07 10:52:05] Production.INFO: ==385== Releasing lock...
[2025-01-07 10:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:52:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:52:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:52:06
[end_date_ymd] => 2025-01-07 10:52:06
[RateCDR] => 1
)
[2025-01-07 10: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-07 07:52:06' and `end` < '2025-01-07 10: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-07 10:52:12] Production.ERROR: CronJobId end10
[2025-01-07 10:52:12] Production.INFO: ==383== Releasing lock...
[2025-01-07 10:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:52:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:52:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:52:14] Production.INFO: call_cost start
[2025-01-07 10:52:14] Production.INFO: call_cost end
[2025-01-07 10:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:52:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:52:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:52:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:52:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:52:15] Production.INFO: ==379== Releasing lock...
[2025-01-07 10:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:52:19] Production.INFO: count ==3223
[2025-01-07 10:52:20] Production.ERROR: pbx CDR StartTime 2025-01-07 07:52:06 - End Time 2025-01-07 10:52:06
[2025-01-07 10:52:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194411', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194411', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194411', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194411', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:52:20] Production.INFO: ProcessCDR(1,14194411,1,1,2)
[2025-01-07 10:52:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194411,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:52:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194411,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:52:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194411,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:52:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194411,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:52:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194411', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:52:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194411', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:52:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:52:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:52:25] Production.INFO: ==387== Releasing lock...
[2025-01-07 10:52:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:52:25] Production.INFO: 53.75 MB #Memory Used#
[2025-01-07 15:53:01] Production.INFO: ==445== Lock acquired, processing the job...
[2025-01-07 15:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:53:01] Production.INFO: neon service started
[2025-01-07 15:53:01] Production.INFO: neon service started
[2025-01-07 15:53:01] Production.INFO: ==445== Releasing lock...
[2025-01-07 15:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:53:01] Production.INFO: ==447== Lock acquired, processing the job...
[2025-01-07 10:53:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:53:02] Production.INFO: ==447== Releasing lock...
[2025-01-07 10:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 15:53:02] Production.INFO: ==449== Lock acquired, processing the job...
[2025-01-07 15:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:53:02] Production.INFO: ==449== Releasing lock...
[2025-01-07 15:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:53:02] Production.INFO: ==451== Lock acquired, processing the job...
[2025-01-07 10:53:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:53:02] Production.INFO: ==459== Lock acquired, processing the job...
[2025-01-07 10:53:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:53:03] Production.INFO: ==453== Lock acquired, processing the job...
[2025-01-07 10:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:53:03] Production.INFO: ==455== Lock acquired, processing the job...
[2025-01-07 10:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:53:03] Production.INFO: ==457== Lock acquired, processing the job...
[2025-01-07 10:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:53:03] Production.INFO: ==461== Lock acquired, processing the job...
[2025-01-07 10:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:53:03] Production.ERROR: done
[2025-01-07 10:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:53:03] Production.INFO: Account Balance Start.
[2025-01-07 10:53:03] Production.INFO: CreateAllLog Start
[2025-01-07 10:53:03] Production.INFO: 117
[2025-01-07 10:53:03] Production.INFO: Date 2024-12-08
[2025-01-07 10:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 10:53:03] Production.ERROR: done
[2025-01-07 10:53:03] Production.INFO: count ==21
[2025-01-07 10:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 10:53:03] Production.INFO: Date 2024-12-09
[2025-01-07 10:53:03] Production.INFO: count ==21
[2025-01-07 10:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194414') start
[2025-01-07 10:53:03] Production.INFO: Date 2024-12-10
[2025-01-07 10:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:53:03] Production.INFO: Date 2024-12-11
[2025-01-07 10:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:53:03] Production.INFO: Date 2024-12-12
[2025-01-07 10:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194414') end
[2025-01-07 10:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:53:03] Production.INFO: 1
[2025-01-07 10:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:53:03] Production.INFO: ==453== Releasing lock...
[2025-01-07 10:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:53:03] Production.INFO: ==461== Releasing lock...
[2025-01-07 10:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:53:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:53:03] Production.INFO: Date 2024-12-13
[2025-01-07 10:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:53:03] Production.INFO: Date 2024-12-14
[2025-01-07 10:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:53:04] Production.INFO: Date 2024-12-15
[2025-01-07 10:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:53:04] Production.INFO: Date 2024-12-16
[2025-01-07 10:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:53:04] Production.INFO: Date 2024-12-17
[2025-01-07 10:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:53:04] Production.INFO: Date 2024-12-18
[2025-01-07 10:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:53:04] Production.INFO: Date 2024-12-19
[2025-01-07 10:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:53:04] Production.INFO: Date 2024-12-20
[2025-01-07 10:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:53:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:53:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:53:04] Production.INFO: Date 2024-12-23
[2025-01-07 10:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:53:04] Production.INFO: Date 2024-12-24
[2025-01-07 10:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:53:04] Production.INFO: Date 2024-12-25
[2025-01-07 10:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:53:04] Production.INFO: Date 2024-12-26
[2025-01-07 10:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:53:04] Production.INFO: Date 2024-12-27
[2025-01-07 10:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:53:04] Production.INFO: Date 2024-12-28
[2025-01-07 10:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:53:04] Production.INFO: Date 2024-12-29
[2025-01-07 10:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:53:04] Production.INFO: Date 2024-12-30
[2025-01-07 10:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:53:04] Production.INFO: Date 2024-12-31
[2025-01-07 10:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:53:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:53:04
[end_date_ymd] => 2025-01-07 10:53:04
[RateCDR] => 1
)
[2025-01-07 10:53:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 07:53:04' and `end` < '2025-01-07 10:53:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 10:53:04] Production.INFO: Date 2025-01-01
[2025-01-07 10:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:53:04] Production.INFO: Date 2025-01-02
[2025-01-07 10:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:53:04] Production.INFO: Date 2025-01-03
[2025-01-07 10:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:53:04] Production.INFO: Date 2025-01-04
[2025-01-07 10:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:53:04] Production.INFO: Date 2025-01-05
[2025-01-07 10:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:53:04] Production.INFO: Date 2025-01-06
[2025-01-07 10:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:53:04] Production.INFO: Date 2025-01-07
[2025-01-07 10:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:53:04] Production.INFO: Total Charge 0
[2025-01-07 10:53:04] Production.INFO: CreateAllLog End
[2025-01-07 10:53:04] Production.INFO: Account Balance End.
[2025-01-07 10:53:05] Production.ERROR: CronJobId end 12
[2025-01-07 10:53:05] Production.INFO: ==457== Releasing lock...
[2025-01-07 10:53:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:53:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:53:10] Production.ERROR: CronJobId end10
[2025-01-07 10:53:10] Production.INFO: ==455== Releasing lock...
[2025-01-07 10:53:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:53:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:53:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:53:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:53:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:53:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:53:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:53:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:53:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:53:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:53:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:53:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:53:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:53:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:53:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:53:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:53:12] Production.INFO: call_cost start
[2025-01-07 10:53:12] Production.INFO: call_cost end
[2025-01-07 10:53:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:53:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:53:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:53:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:53:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:53:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:53:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:53:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:53:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:53:13] Production.INFO: ==451== Releasing lock...
[2025-01-07 10:53:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:53:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:53:18] Production.INFO: count ==3227
[2025-01-07 10:53:19] Production.ERROR: pbx CDR StartTime 2025-01-07 07:53:04 - End Time 2025-01-07 10:53:04
[2025-01-07 10:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194416', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194416', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194416', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194416', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:53:19] Production.INFO: ProcessCDR(1,14194416,1,1,2)
[2025-01-07 10:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194416,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:53:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194416,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:53:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194416,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:53:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194416,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:53:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194416', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:53:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194416', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:53:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:53:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:53:24] Production.INFO: ==459== Releasing lock...
[2025-01-07 10:53:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:53:24] Production.INFO: 53.75 MB #Memory Used#
[2025-01-07 15:54:01] Production.INFO: ==520== Lock acquired, processing the job...
[2025-01-07 15:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:54:01] Production.INFO: neon service started
[2025-01-07 15:54:01] Production.INFO: neon service started
[2025-01-07 15:54:01] Production.INFO: ==520== Releasing lock...
[2025-01-07 15:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:54:02] Production.INFO: ==522== Lock acquired, processing the job...
[2025-01-07 10:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 15:54:02] Production.INFO: ==524== Lock acquired, processing the job...
[2025-01-07 15:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 10:54:02] Production.INFO: ==522== Releasing lock...
[2025-01-07 10:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 15:54:02] Production.INFO: ==524== Releasing lock...
[2025-01-07 15:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:54:03] Production.INFO: ==526== Lock acquired, processing the job...
[2025-01-07 10:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:54:03] Production.INFO: ==534== Lock acquired, processing the job...
[2025-01-07 10:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:54:03] Production.INFO: ==536== Lock acquired, processing the job...
[2025-01-07 10:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:54:03] Production.INFO: ==528== Lock acquired, processing the job...
[2025-01-07 10:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:54:03] Production.INFO: ==530== Lock acquired, processing the job...
[2025-01-07 10:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:54:03] Production.INFO: ==532== Lock acquired, processing the job...
[2025-01-07 10:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 10:54:03] Production.INFO: Account Balance Start.
[2025-01-07 10:54:03] Production.INFO: CreateAllLog Start
[2025-01-07 10:54:03] Production.INFO: 117
[2025-01-07 10:54:03] Production.INFO: Date 2024-12-08
[2025-01-07 10:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:54:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:54:03] Production.INFO: count ==21
[2025-01-07 10:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 10:54:03] Production.INFO: count ==21
[2025-01-07 10:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194418') start
[2025-01-07 10:54:03] Production.ERROR: done
[2025-01-07 10:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:54:04] Production.INFO: Date 2024-12-09
[2025-01-07 10:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194418') end
[2025-01-07 10:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:54:04] Production.INFO: 1
[2025-01-07 10:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:54:04] Production.INFO: Date 2024-12-10
[2025-01-07 10:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:54:04] Production.INFO: ==536== Releasing lock...
[2025-01-07 10:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:54:04] Production.INFO: ==528== Releasing lock...
[2025-01-07 10:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:54:04] Production.INFO: Date 2024-12-11
[2025-01-07 10:54:04] Production.ERROR: done
[2025-01-07 10:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:54:04] Production.INFO: Date 2024-12-12
[2025-01-07 10:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:54:04] Production.INFO: Date 2024-12-13
[2025-01-07 10:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:54:04] Production.INFO: Date 2024-12-14
[2025-01-07 10:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:54:04] Production.INFO: Date 2024-12-15
[2025-01-07 10:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:54:04] Production.INFO: Date 2024-12-16
[2025-01-07 10:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:54:04] Production.INFO: Date 2024-12-17
[2025-01-07 10:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:54:04] Production.INFO: Date 2024-12-18
[2025-01-07 10:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:54:04] Production.INFO: Date 2024-12-19
[2025-01-07 10:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:54:04] Production.INFO: Date 2024-12-20
[2025-01-07 10:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:54:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:54:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:54:04] Production.INFO: Date 2024-12-23
[2025-01-07 10:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:54:04] Production.INFO: Date 2024-12-24
[2025-01-07 10:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:54:04] Production.INFO: Date 2024-12-25
[2025-01-07 10:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:54:04] Production.INFO: Date 2024-12-26
[2025-01-07 10:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:54:04] Production.INFO: Date 2024-12-27
[2025-01-07 10:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:54:04] Production.INFO: Date 2024-12-28
[2025-01-07 10:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:54:04] Production.INFO: Date 2024-12-29
[2025-01-07 10:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:54:04] Production.INFO: Date 2024-12-30
[2025-01-07 10:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:54:04] Production.INFO: Date 2024-12-31
[2025-01-07 10:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:54:04] Production.INFO: Date 2025-01-01
[2025-01-07 10:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:54:05] Production.INFO: Date 2025-01-02
[2025-01-07 10:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:54:05] Production.INFO: Date 2025-01-03
[2025-01-07 10:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:54:05] Production.INFO: Date 2025-01-04
[2025-01-07 10:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:54:05] Production.INFO: Date 2025-01-05
[2025-01-07 10:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:54:05] Production.INFO: Date 2025-01-06
[2025-01-07 10:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:54:05] Production.INFO: Date 2025-01-07
[2025-01-07 10:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:54:05
[end_date_ymd] => 2025-01-07 10:54:05
[RateCDR] => 1
)
[2025-01-07 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-07 07:54:05' and `end` < '2025-01-07 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-07 10:54:05] Production.INFO: Total Charge 0
[2025-01-07 10:54:05] Production.INFO: CreateAllLog End
[2025-01-07 10:54:05] Production.INFO: Account Balance End.
[2025-01-07 10:54:05] Production.ERROR: CronJobId end 12
[2025-01-07 10:54:05] Production.INFO: ==532== Releasing lock...
[2025-01-07 10:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:54:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:54:11] Production.ERROR: CronJobId end10
[2025-01-07 10:54:11] Production.INFO: ==530== Releasing lock...
[2025-01-07 10:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:54:14] Production.INFO: call_cost start
[2025-01-07 10:54:14] Production.INFO: call_cost end
[2025-01-07 10:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:54:14] Production.INFO: ==526== Releasing lock...
[2025-01-07 10:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:54:25] Production.INFO: count ==3253
[2025-01-07 10:54:26] Production.ERROR: pbx CDR StartTime 2025-01-07 07:54:05 - End Time 2025-01-07 10:54:05
[2025-01-07 10:54:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:54:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194421', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:54:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194421', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:54:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194421', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:54:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194421', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:54:26] Production.INFO: ProcessCDR(1,14194421,1,1,2)
[2025-01-07 10:54:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194421,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:54:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194421,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:54:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194421,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:54:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194421,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:54:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194421', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:54:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194421', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:54:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:54:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:54:31] Production.INFO: ==534== Releasing lock...
[2025-01-07 10:54:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:54:31] Production.INFO: 53.25 MB #Memory Used#
[2025-01-07 15:55:01] Production.INFO: ==592== Lock acquired, processing the job...
[2025-01-07 15:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:55:01] Production.INFO: neon service started
[2025-01-07 15:55:01] Production.INFO: neon service started
[2025-01-07 15:55:01] Production.INFO: ==592== Releasing lock...
[2025-01-07 15:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:55:01] Production.INFO: ==595== Lock acquired, processing the job...
[2025-01-07 10:55:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:55:02] Production.INFO: ==595== Releasing lock...
[2025-01-07 10:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 15:55:02] Production.INFO: ==597== Lock acquired, processing the job...
[2025-01-07 15:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:55:02] Production.INFO: ==597== Releasing lock...
[2025-01-07 15:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:55:03] Production.INFO: ==603== Lock acquired, processing the job...
[2025-01-07 10:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:55:03] Production.INFO: ==601== Lock acquired, processing the job...
[2025-01-07 10:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:55:03] Production.INFO: ==599== Lock acquired, processing the job...
[2025-01-07 10:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:55:03] Production.INFO: ==611== Lock acquired, processing the job...
[2025-01-07 10:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:55:03] Production.INFO: ==606== Lock acquired, processing the job...
[2025-01-07 10:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:55:03] Production.INFO: ==609== Lock acquired, processing the job...
[2025-01-07 10:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 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-07 10:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:55:03] Production.INFO: Account Balance Start.
[2025-01-07 10:55:03] Production.INFO: CreateAllLog Start
[2025-01-07 10:55:03] Production.INFO: count ==21
[2025-01-07 10:55:03] Production.INFO: 117
[2025-01-07 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-07 10:55:03] Production.INFO: count ==21
[2025-01-07 10:55:03] Production.INFO: Date 2024-12-08
[2025-01-07 10:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194424') start
[2025-01-07 10:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194424') end
[2025-01-07 10:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:55:03] Production.INFO: 1
[2025-01-07 10:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:55:03] Production.INFO: Date 2024-12-09
[2025-01-07 10:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:55:03] Production.INFO: Date 2024-12-10
[2025-01-07 10:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:55:03] Production.INFO: Date 2024-12-11
[2025-01-07 10:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:55:03] Production.INFO: ==601== Releasing lock...
[2025-01-07 10:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:55:03] Production.INFO: Date 2024-12-12
[2025-01-07 10:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:55:03] Production.INFO: Date 2024-12-13
[2025-01-07 10:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:55:03] Production.INFO: ==611== Releasing lock...
[2025-01-07 10:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:55:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:55:03] Production.ERROR: done
[2025-01-07 10:55:03] Production.INFO: Date 2024-12-14
[2025-01-07 10:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:55:03] Production.INFO: Date 2024-12-15
[2025-01-07 10:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:55:03] Production.INFO: Date 2024-12-16
[2025-01-07 10:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:55:03] Production.INFO: Date 2024-12-17
[2025-01-07 10:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:55:03] Production.INFO: Date 2024-12-18
[2025-01-07 10:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:55:03] Production.ERROR: done
[2025-01-07 10:55:04] Production.INFO: Date 2024-12-19
[2025-01-07 10:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:55:04] Production.INFO: Date 2024-12-20
[2025-01-07 10:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:55:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:55:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:55:04] Production.INFO: Date 2024-12-23
[2025-01-07 10:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:55:04] Production.INFO: Date 2024-12-24
[2025-01-07 10:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:55:04] Production.INFO: Date 2024-12-25
[2025-01-07 10:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:55:04] Production.INFO: Date 2024-12-26
[2025-01-07 10:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:55:04] Production.INFO: Date 2024-12-27
[2025-01-07 10:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:55:04] Production.INFO: Date 2024-12-28
[2025-01-07 10:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:55:04] Production.INFO: Date 2024-12-29
[2025-01-07 10:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:55:04] Production.INFO: Date 2024-12-30
[2025-01-07 10:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:55:04] Production.INFO: Date 2024-12-31
[2025-01-07 10:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:55:04] Production.INFO: Date 2025-01-01
[2025-01-07 10:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:55:04] Production.INFO: Date 2025-01-02
[2025-01-07 10:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:55:04] Production.INFO: Date 2025-01-03
[2025-01-07 10:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:55:04] Production.INFO: Date 2025-01-04
[2025-01-07 10:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:55:04] Production.INFO: Date 2025-01-05
[2025-01-07 10:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:55:04] Production.INFO: Date 2025-01-06
[2025-01-07 10:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:55:04] Production.INFO: Date 2025-01-07
[2025-01-07 10:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:55:04] Production.INFO: Total Charge 0
[2025-01-07 10:55:04] Production.INFO: CreateAllLog End
[2025-01-07 10:55:04] Production.INFO: Account Balance End.
[2025-01-07 10:55:04] Production.ERROR: CronJobId end 12
[2025-01-07 10:55:04] Production.INFO: ==606== Releasing lock...
[2025-01-07 10:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:55:05
[end_date_ymd] => 2025-01-07 10:55:05
[RateCDR] => 1
)
[2025-01-07 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-07 07:55:05' and `end` < '2025-01-07 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-07 10:55:10] Production.ERROR: CronJobId end10
[2025-01-07 10:55:10] Production.INFO: ==603== Releasing lock...
[2025-01-07 10:55:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:55:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:55:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:55:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:55:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:55:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:55:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:55:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:55:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:55:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:55:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:55:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:55:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:55:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:55:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:55:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:55:13] Production.INFO: call_cost start
[2025-01-07 10:55:13] Production.INFO: call_cost end
[2025-01-07 10:55:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:55:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:55:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:55:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:55:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:55:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:55:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:55:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:55:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:55:13] Production.INFO: ==599== Releasing lock...
[2025-01-07 10:55:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:55:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:55:25] Production.INFO: count ==3271
[2025-01-07 10:55:26] Production.ERROR: pbx CDR StartTime 2025-01-07 07:55:05 - End Time 2025-01-07 10:55:05
[2025-01-07 10:55:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:55:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194426', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:55:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194426', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:55:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194426', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:55:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194426', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:55:26] Production.INFO: ProcessCDR(1,14194426,1,1,2)
[2025-01-07 10:55:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194426,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:55:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194426,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:55:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194426,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:55:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194426,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:55:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194426', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:55:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194426', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:55:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:55:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:55:31] Production.INFO: ==609== Releasing lock...
[2025-01-07 10:55:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:55:31] Production.INFO: 53.5 MB #Memory Used#
[2025-01-07 15:56:02] Production.INFO: ==684== Lock acquired, processing the job...
[2025-01-07 15:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:56:02] Production.INFO: neon service started
[2025-01-07 15:56:02] Production.INFO: neon service started
[2025-01-07 15:56:02] Production.INFO: ==684== Releasing lock...
[2025-01-07 15:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:56:02] Production.INFO: ==693== Lock acquired, processing the job...
[2025-01-07 10:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:56:02] Production.INFO: ==693== Releasing lock...
[2025-01-07 10:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 15:56:02] Production.INFO: ==696== Lock acquired, processing the job...
[2025-01-07 15:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:56:02] Production.INFO: ==696== Releasing lock...
[2025-01-07 15:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:56:03] Production.INFO: ==706== Lock acquired, processing the job...
[2025-01-07 10:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:56:03] Production.INFO: ==711== Lock acquired, processing the job...
[2025-01-07 10:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:56:03] Production.INFO: Account Balance Start.
[2025-01-07 10:56:03] Production.INFO: CreateAllLog Start
[2025-01-07 10:56:03] Production.INFO: 117
[2025-01-07 10:56:03] Production.INFO: ==698== Lock acquired, processing the job...
[2025-01-07 10:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:56:03] Production.INFO: Date 2024-12-08
[2025-01-07 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-07 10:56:03] Production.INFO: ==700== Lock acquired, processing the job...
[2025-01-07 10:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:56:03] Production.INFO: ==704== Lock acquired, processing the job...
[2025-01-07 10:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:56:03] Production.INFO: count ==21
[2025-01-07 10:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 10:56:04] Production.INFO: count ==21
[2025-01-07 10:56:04] Production.INFO: Date 2024-12-09
[2025-01-07 10:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194428') start
[2025-01-07 10:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:56:04] Production.INFO: ==709== Lock acquired, processing the job...
[2025-01-07 10:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194428') end
[2025-01-07 10:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:56:04] Production.INFO: 1
[2025-01-07 10:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:56:04] Production.INFO: Date 2024-12-10
[2025-01-07 10:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:56:04] Production.INFO: ==711== Releasing lock...
[2025-01-07 10:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:56:04] Production.INFO: Date 2024-12-11
[2025-01-07 10:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:56:04] Production.INFO: ==700== Releasing lock...
[2025-01-07 10:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:56:04] Production.INFO: Date 2024-12-12
[2025-01-07 10:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:56:04] Production.INFO: Date 2024-12-13
[2025-01-07 10:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:56:04] Production.INFO: Date 2024-12-14
[2025-01-07 10:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:56:04] Production.ERROR: done
[2025-01-07 10:56:04] Production.INFO: Date 2024-12-15
[2025-01-07 10:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:56:04] Production.INFO: Date 2024-12-16
[2025-01-07 10:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:56:04] Production.INFO: Date 2024-12-17
[2025-01-07 10:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:56:04] Production.INFO: Date 2024-12-18
[2025-01-07 10:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:56:04] Production.INFO: Date 2024-12-19
[2025-01-07 10:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:56:04] Production.ERROR: done
[2025-01-07 10:56:04] Production.INFO: Date 2024-12-20
[2025-01-07 10:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:56:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:56:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:56:05] Production.INFO: Date 2024-12-23
[2025-01-07 10:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:56:05] Production.INFO: Date 2024-12-24
[2025-01-07 10:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:56:05] Production.INFO: Date 2024-12-25
[2025-01-07 10:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:56:05] Production.INFO: Date 2024-12-26
[2025-01-07 10:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:56:05] Production.INFO: Date 2024-12-27
[2025-01-07 10:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:56:05] Production.INFO: Date 2024-12-28
[2025-01-07 10:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:56:05] Production.INFO: Date 2024-12-29
[2025-01-07 10:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:56:05] Production.INFO: Date 2024-12-30
[2025-01-07 10:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:56:05] Production.INFO: Date 2024-12-31
[2025-01-07 10:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:56:05] Production.INFO: Date 2025-01-01
[2025-01-07 10:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:56:05] Production.INFO: Date 2025-01-02
[2025-01-07 10:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:56:05] Production.INFO: Date 2025-01-03
[2025-01-07 10:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:56:05] Production.INFO: Date 2025-01-04
[2025-01-07 10:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:56:05] Production.INFO: Date 2025-01-05
[2025-01-07 10:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:56:05] Production.INFO: Date 2025-01-06
[2025-01-07 10:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:56:05] Production.INFO: Date 2025-01-07
[2025-01-07 10:56:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:56:05] Production.INFO: Total Charge 0
[2025-01-07 10:56:05] Production.INFO: CreateAllLog End
[2025-01-07 10:56:05] Production.INFO: Account Balance End.
[2025-01-07 10:56:05] Production.ERROR: CronJobId end 12
[2025-01-07 10:56:05] Production.INFO: ==706== Releasing lock...
[2025-01-07 10:56:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:56:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:56:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:56:06
[end_date_ymd] => 2025-01-07 10:56:06
[RateCDR] => 1
)
[2025-01-07 10:56:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 07:56:06' and `end` < '2025-01-07 10:56:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 10:56:11] Production.ERROR: CronJobId end10
[2025-01-07 10:56:11] Production.INFO: ==704== Releasing lock...
[2025-01-07 10:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:56:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:56:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:56:14] Production.INFO: call_cost start
[2025-01-07 10:56:14] Production.INFO: call_cost end
[2025-01-07 10:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:56:14] Production.INFO: ==698== Releasing lock...
[2025-01-07 10:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:56:32] Production.INFO: count ==3274
[2025-01-07 10:56:33] Production.ERROR: pbx CDR StartTime 2025-01-07 07:56:06 - End Time 2025-01-07 10:56:06
[2025-01-07 10:56:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:56:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194431', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:56:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194431', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:56:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194431', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:56:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194431', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:56:33] Production.INFO: ProcessCDR(1,14194431,1,1,2)
[2025-01-07 10:56:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194431,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:56:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194431,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:56:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194431,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:56:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194431,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:56:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194431', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:56:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194431', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:56:38] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:56:38] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:56:38] Production.INFO: ==709== Releasing lock...
[2025-01-07 10:56:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:56:38] Production.INFO: 53.5 MB #Memory Used#
[2025-01-07 15:57:01] Production.INFO: ==768== Lock acquired, processing the job...
[2025-01-07 15:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:57:01] Production.INFO: neon service started
[2025-01-07 15:57:01] Production.INFO: neon service started
[2025-01-07 15:57:01] Production.INFO: ==768== Releasing lock...
[2025-01-07 15:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:57:01] Production.INFO: ==770== Lock acquired, processing the job...
[2025-01-07 10:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:57:01] Production.INFO: ==770== Releasing lock...
[2025-01-07 10:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:57:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 15:57:02] Production.INFO: ==772== Lock acquired, processing the job...
[2025-01-07 15:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:57:02] Production.INFO: ==772== Releasing lock...
[2025-01-07 15:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:57:02] Production.INFO: ==775== Lock acquired, processing the job...
[2025-01-07 10:57:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:57:02] Production.INFO: ==777== Lock acquired, processing the job...
[2025-01-07 10:57:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:57:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:57:02] Production.INFO: ==781== Lock acquired, processing the job...
[2025-01-07 10:57:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:57:03] Production.INFO: ==779== Lock acquired, processing the job...
[2025-01-07 10:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:57:03] Production.INFO: ==783== Lock acquired, processing the job...
[2025-01-07 10:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:57:03] Production.INFO: Account Balance Start.
[2025-01-07 10:57:03] Production.INFO: CreateAllLog Start
[2025-01-07 10:57:03] Production.INFO: 117
[2025-01-07 10:57:03] Production.INFO: Date 2024-12-08
[2025-01-07 10:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:57:03] Production.INFO: ==777== Releasing lock...
[2025-01-07 10:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:57:03] Production.INFO: Date 2024-12-09
[2025-01-07 10:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:57:03] Production.INFO: Date 2024-12-10
[2025-01-07 10:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:57:03] Production.INFO: ==785== Lock acquired, processing the job...
[2025-01-07 10:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:57:03] Production.INFO: Date 2024-12-11
[2025-01-07 10:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:57:03] Production.INFO: Date 2024-12-12
[2025-01-07 10:57:03] Production.ERROR: done
[2025-01-07 10:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 10:57:03] Production.INFO: count ==21
[2025-01-07 10:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 10:57:03] Production.INFO: count ==21
[2025-01-07 10:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194435') start
[2025-01-07 10:57:03] Production.INFO: Date 2024-12-13
[2025-01-07 10:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194435') end
[2025-01-07 10:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:57:03] Production.INFO: 1
[2025-01-07 10:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:57:03] Production.ERROR: done
[2025-01-07 10:57:03] Production.INFO: Date 2024-12-14
[2025-01-07 10:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:57:03] Production.INFO: ==785== Releasing lock...
[2025-01-07 10:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:57:03] Production.INFO: Date 2024-12-15
[2025-01-07 10:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:57:03] Production.INFO: Date 2024-12-16
[2025-01-07 10:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:57:03] Production.INFO: Date 2024-12-17
[2025-01-07 10:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:57:03] Production.INFO: Date 2024-12-18
[2025-01-07 10:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:57:03] Production.INFO: Date 2024-12-19
[2025-01-07 10:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:57:03] Production.INFO: Date 2024-12-20
[2025-01-07 10:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:57:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:57:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:57:04] Production.INFO: Date 2024-12-23
[2025-01-07 10:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:57:04] Production.INFO: Date 2024-12-24
[2025-01-07 10:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:57:04] Production.INFO: Date 2024-12-25
[2025-01-07 10:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:57:04] Production.INFO: Date 2024-12-26
[2025-01-07 10:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:57:04] Production.INFO: Date 2024-12-27
[2025-01-07 10:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:57:04] Production.INFO: Date 2024-12-28
[2025-01-07 10:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:57:04] Production.INFO: Date 2024-12-29
[2025-01-07 10:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:57:04] Production.INFO: Date 2024-12-30
[2025-01-07 10:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:57:04] Production.INFO: Date 2024-12-31
[2025-01-07 10:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:57:04] Production.INFO: Date 2025-01-01
[2025-01-07 10:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:57:04] Production.INFO: Date 2025-01-02
[2025-01-07 10:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:57:04] Production.INFO: Date 2025-01-03
[2025-01-07 10:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:57:04] Production.INFO: Date 2025-01-04
[2025-01-07 10:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:57:04] Production.INFO: Date 2025-01-05
[2025-01-07 10:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:57:04] Production.INFO: Date 2025-01-06
[2025-01-07 10:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:57:04] Production.INFO: Date 2025-01-07
[2025-01-07 10:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:57:04] Production.INFO: Total Charge 0
[2025-01-07 10:57:04] Production.INFO: CreateAllLog End
[2025-01-07 10:57:04] Production.INFO: Account Balance End.
[2025-01-07 10:57:04] Production.ERROR: CronJobId end 12
[2025-01-07 10:57:04] Production.INFO: ==781== Releasing lock...
[2025-01-07 10:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:57:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:57:04
[end_date_ymd] => 2025-01-07 10:57:04
[RateCDR] => 1
)
[2025-01-07 10:57:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 07:57:04' and `end` < '2025-01-07 10:57:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 10:57:11] Production.ERROR: CronJobId end10
[2025-01-07 10:57:11] Production.INFO: ==779== Releasing lock...
[2025-01-07 10:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:57:13] Production.INFO: call_cost start
[2025-01-07 10:57:13] Production.INFO: call_cost end
[2025-01-07 10:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:57:14] Production.INFO: ==775== Releasing lock...
[2025-01-07 10:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:57:25] Production.INFO: count ==3307
[2025-01-07 10:57:26] Production.ERROR: pbx CDR StartTime 2025-01-07 07:57:04 - End Time 2025-01-07 10:57:04
[2025-01-07 10:57:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:57:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194436', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:57:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194436', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:57:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194436', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:57:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194436', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:57:26] Production.INFO: ProcessCDR(1,14194436,1,1,2)
[2025-01-07 10:57:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194436,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:57:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194436,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:57:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194436,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:57:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194436,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:57:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194436', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:57:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194436', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:57:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:57:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:57:31] Production.INFO: ==783== Releasing lock...
[2025-01-07 10:57:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:57:31] Production.INFO: 52.75 MB #Memory Used#
[2025-01-07 15:58:01] Production.INFO: ==839== Lock acquired, processing the job...
[2025-01-07 15:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:58:01] Production.INFO: neon service started
[2025-01-07 15:58:01] Production.INFO: neon service started
[2025-01-07 15:58:01] Production.INFO: ==839== Releasing lock...
[2025-01-07 15:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:58:02] Production.INFO: ==841== Lock acquired, processing the job...
[2025-01-07 10:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:58:02] Production.INFO: ==841== Releasing lock...
[2025-01-07 10:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 15:58:02] Production.INFO: ==843== Lock acquired, processing the job...
[2025-01-07 15:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:58:02] Production.INFO: ==843== Releasing lock...
[2025-01-07 15:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:58:03] Production.INFO: ==846== Lock acquired, processing the job...
[2025-01-07 10:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:58:03] Production.INFO: ==848== Lock acquired, processing the job...
[2025-01-07 10:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:58:03] Production.INFO: ==852== Lock acquired, processing the job...
[2025-01-07 10:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:58:03] Production.INFO: Account Balance Start.
[2025-01-07 10:58:03] Production.INFO: CreateAllLog Start
[2025-01-07 10:58:03] Production.INFO: 117
[2025-01-07 10:58:03] Production.INFO: Date 2024-12-08
[2025-01-07 10:58:03] Production.INFO: ==850== Lock acquired, processing the job...
[2025-01-07 10:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:58:03] Production.INFO: Date 2024-12-09
[2025-01-07 10:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:58:03] Production.INFO: Date 2024-12-10
[2025-01-07 10:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:58:03] Production.INFO: Date 2024-12-11
[2025-01-07 10:58:03] Production.INFO: ==856== Lock acquired, processing the job...
[2025-01-07 10:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:58:03] Production.INFO: Date 2024-12-12
[2025-01-07 10:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:58:03] Production.INFO: Date 2024-12-13
[2025-01-07 10:58:03] Production.INFO: ==854== Lock acquired, processing the job...
[2025-01-07 10:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:58:03] Production.INFO: ==848== Releasing lock...
[2025-01-07 10:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 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-07 10:58:03] Production.INFO: Date 2024-12-14
[2025-01-07 10:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:58:03] Production.INFO: count ==21
[2025-01-07 10:58:03] Production.INFO: Date 2024-12-15
[2025-01-07 10:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 10:58:03] Production.INFO: count ==21
[2025-01-07 10:58:03] Production.INFO: Date 2024-12-16
[2025-01-07 10:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194440') start
[2025-01-07 10:58:03] Production.INFO: Date 2024-12-17
[2025-01-07 10:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194440') end
[2025-01-07 10:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:58:03] Production.INFO: 1
[2025-01-07 10:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:58:03] Production.INFO: Date 2024-12-18
[2025-01-07 10:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:58:03] Production.INFO: Date 2024-12-19
[2025-01-07 10:58:03] Production.INFO: Reseller ==> 0
[2025-01-07 10:58:04] Production.INFO: ==856== Releasing lock...
[2025-01-07 10:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:58:04] Production.ERROR: done
[2025-01-07 10:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:58:04] Production.INFO: Date 2024-12-20
[2025-01-07 10:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:58:04] Production.ERROR: done
[2025-01-07 10:58:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:58:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:58:04] Production.INFO: Date 2024-12-23
[2025-01-07 10:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:58:04] Production.INFO: Date 2024-12-24
[2025-01-07 10:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:58:04] Production.INFO: Date 2024-12-25
[2025-01-07 10:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:58:04] Production.INFO: Date 2024-12-26
[2025-01-07 10:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:58:04] Production.INFO: Date 2024-12-27
[2025-01-07 10:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:58:04] Production.INFO: Date 2024-12-28
[2025-01-07 10:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:58:04] Production.INFO: Date 2024-12-29
[2025-01-07 10:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:58:04] Production.INFO: Date 2024-12-30
[2025-01-07 10:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:58:04] Production.INFO: Date 2024-12-31
[2025-01-07 10:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:58:04] Production.INFO: Date 2025-01-01
[2025-01-07 10:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:58:04] Production.INFO: Date 2025-01-02
[2025-01-07 10:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:58:04] Production.INFO: Date 2025-01-03
[2025-01-07 10:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:58:04] Production.INFO: Date 2025-01-04
[2025-01-07 10:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:58:04] Production.INFO: Date 2025-01-05
[2025-01-07 10:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:58:04] Production.INFO: Date 2025-01-06
[2025-01-07 10:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:58:04] Production.INFO: Date 2025-01-07
[2025-01-07 10:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:58:04] Production.INFO: Total Charge 0
[2025-01-07 10:58:04] Production.INFO: CreateAllLog End
[2025-01-07 10:58:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:58:04
[end_date_ymd] => 2025-01-07 10:58:04
[RateCDR] => 1
)
[2025-01-07 10: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-07 07:58:04' and `end` < '2025-01-07 10: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-07 10:58:05] Production.INFO: Account Balance End.
[2025-01-07 10:58:05] Production.ERROR: CronJobId end 12
[2025-01-07 10:58:05] Production.INFO: ==852== Releasing lock...
[2025-01-07 10:58:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:58:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:58:10] Production.ERROR: CronJobId end10
[2025-01-07 10:58:10] Production.INFO: ==850== Releasing lock...
[2025-01-07 10:58:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:58:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:58:13] Production.INFO: call_cost start
[2025-01-07 10:58:13] Production.INFO: call_cost end
[2025-01-07 10:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:58:14] Production.INFO: ==846== Releasing lock...
[2025-01-07 10:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:58:28] Production.INFO: count ==3361
[2025-01-07 10:58:29] Production.ERROR: pbx CDR StartTime 2025-01-07 07:58:04 - End Time 2025-01-07 10:58:04
[2025-01-07 10:58:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:58:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194441', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:58:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194441', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:58:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194441', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:58:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194441', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:58:29] Production.INFO: ProcessCDR(1,14194441,1,1,2)
[2025-01-07 10:58:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194441,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:58:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194441,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:58:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194441,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:58:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194441,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:58:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194441', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:58:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194441', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:58:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:58:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:58:34] Production.INFO: ==854== Releasing lock...
[2025-01-07 10:58:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:58:34] Production.INFO: 53.5 MB #Memory Used#
[2025-01-07 15:59:02] Production.INFO: ==913== Lock acquired, processing the job...
[2025-01-07 15:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 15:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 15:59:02] Production.INFO: neon service started
[2025-01-07 15:59:02] Production.INFO: neon service started
[2025-01-07 15:59:02] Production.INFO: ==913== Releasing lock...
[2025-01-07 15:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 15:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 10:59:02] Production.INFO: ==915== Lock acquired, processing the job...
[2025-01-07 10:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 10:59:02] Production.INFO: ==915== Releasing lock...
[2025-01-07 10:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 10:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 15:59:02] Production.INFO: ==917== Lock acquired, processing the job...
[2025-01-07 15:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 15:59:02] Production.INFO: ==917== Releasing lock...
[2025-01-07 15:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 15:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 10:59:03] Production.INFO: ==923== Lock acquired, processing the job...
[2025-01-07 10:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 10:59:03] Production.INFO: ==927== Lock acquired, processing the job...
[2025-01-07 10:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 10:59:03] Production.INFO: ==921== Lock acquired, processing the job...
[2025-01-07 10:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 10:59:03] Production.INFO: ==919== Lock acquired, processing the job...
[2025-01-07 10:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 10:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 10:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 10:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 10:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 10:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 10:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 10:59:03] Production.INFO: ==925== Lock acquired, processing the job...
[2025-01-07 10:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 10:59:04] Production.INFO: ==929== Lock acquired, processing the job...
[2025-01-07 10:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 10:59:04] Production.INFO: Account Balance Start.
[2025-01-07 10:59:04] Production.INFO: CreateAllLog Start
[2025-01-07 10:59:04] Production.INFO: 117
[2025-01-07 10:59:04] Production.INFO: Date 2024-12-08
[2025-01-07 10:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:59:04] Production.INFO: Date 2024-12-09
[2025-01-07 10:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:59:04] Production.INFO: Date 2024-12-10
[2025-01-07 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-07 10:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:59:04] Production.INFO: ==921== Releasing lock...
[2025-01-07 10:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 10:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 10:59:04] Production.ERROR: done
[2025-01-07 10:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 10:59:04] Production.INFO: count ==21
[2025-01-07 10:59:04] Production.INFO: Date 2024-12-11
[2025-01-07 10:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 10:59:04] Production.INFO: count ==21
[2025-01-07 10:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194445') start
[2025-01-07 10:59:04] Production.INFO: Date 2024-12-12
[2025-01-07 10:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:59:04] Production.ERROR: done
[2025-01-07 10:59:04] Production.INFO: Date 2024-12-13
[2025-01-07 10:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:59:04] Production.INFO: Date 2024-12-14
[2025-01-07 10:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:59:04] Production.INFO: Date 2024-12-15
[2025-01-07 10:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194445') end
[2025-01-07 10:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 10:59:04] Production.INFO: 1
[2025-01-07 10:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 10:59:04] Production.INFO: Date 2024-12-16
[2025-01-07 10:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:59:04] Production.INFO: Date 2024-12-17
[2025-01-07 10:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:59:04] Production.INFO: ==929== Releasing lock...
[2025-01-07 10:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 10:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 10:59:04] Production.INFO: Date 2024-12-18
[2025-01-07 10:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:59:04] Production.INFO: Date 2024-12-19
[2025-01-07 10:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:59:04] Production.INFO: Date 2024-12-20
[2025-01-07 10:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:59:04] Production.INFO: Date 2024-12-21
[2025-01-07 10:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:59:04] Production.INFO: Date 2024-12-22
[2025-01-07 10:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:59:04] Production.INFO: Date 2024-12-23
[2025-01-07 10:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:59:04] Production.INFO: Date 2024-12-24
[2025-01-07 10:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:59:04] Production.INFO: Date 2024-12-25
[2025-01-07 10:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:59:04] Production.INFO: Date 2024-12-26
[2025-01-07 10:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:59:04] Production.INFO: Date 2024-12-27
[2025-01-07 10:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 10:59:05] Production.INFO: Date 2024-12-28
[2025-01-07 10:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:59:05] Production.INFO: Date 2024-12-29
[2025-01-07 10:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:59:05] Production.INFO: Date 2024-12-30
[2025-01-07 10:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:59:05] Production.INFO: Date 2024-12-31
[2025-01-07 10:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:59:05] Production.INFO: Date 2025-01-01
[2025-01-07 10:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:59:05] Production.INFO: Date 2025-01-02
[2025-01-07 10:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:59:05] Production.INFO: Date 2025-01-03
[2025-01-07 10:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:59:05] Production.INFO: Date 2025-01-04
[2025-01-07 10:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:59:05] Production.INFO: Date 2025-01-05
[2025-01-07 10:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 07:59:05
[end_date_ymd] => 2025-01-07 10:59:05
[RateCDR] => 1
)
[2025-01-07 10:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 07:59:05' and `end` < '2025-01-07 10:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 10:59:05] Production.INFO: Date 2025-01-06
[2025-01-07 10:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:59:05] Production.INFO: Date 2025-01-07
[2025-01-07 10:59:05] Production.INFO: Reseller ==> 0
[2025-01-07 10:59:05] Production.INFO: Total Charge 0
[2025-01-07 10:59:05] Production.INFO: CreateAllLog End
[2025-01-07 10:59:05] Production.INFO: Account Balance End.
[2025-01-07 10:59:05] Production.ERROR: CronJobId end 12
[2025-01-07 10:59:05] Production.INFO: ==925== Releasing lock...
[2025-01-07 10:59:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 10:59:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 10:59:10] Production.ERROR: CronJobId end10
[2025-01-07 10:59:10] Production.INFO: ==923== Releasing lock...
[2025-01-07 10:59:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 10:59:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 10:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 10:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 10:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 10:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 10:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 10:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 10:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 10:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 10:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 10:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 10:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 10:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 10:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 10:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 10:59:13] Production.INFO: call_cost start
[2025-01-07 10:59:13] Production.INFO: call_cost end
[2025-01-07 10:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 10:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 10:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 10:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 10:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 10:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 10:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 10:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 10:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 10:59:14] Production.INFO: ==919== Releasing lock...
[2025-01-07 10:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 10:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 10:59:24] Production.INFO: count ==3371
[2025-01-07 10:59:25] Production.ERROR: pbx CDR StartTime 2025-01-07 07:59:05 - End Time 2025-01-07 10:59:05
[2025-01-07 10:59:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 10:59:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194446', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:59:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194446', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:59:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194446', 'tblTempVendorCDR_20' ) start
[2025-01-07 10:59:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194446', 'tblTempVendorCDR_20' ) end
[2025-01-07 10:59:25] Production.INFO: ProcessCDR(1,14194446,1,1,2)
[2025-01-07 10:59:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194446,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:59:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194446,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 10:59:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194446,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:59:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194446,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 10:59:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194446', 'tblTempUsageDetail_20' ) start
[2025-01-07 10:59:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194446', 'tblTempUsageDetail_20' ) end
[2025-01-07 10:59:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 10:59:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 10:59:30] Production.INFO: ==927== Releasing lock...
[2025-01-07 10:59:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 10:59:30] Production.INFO: 53.5 MB #Memory Used#
[2025-01-07 16:00:01] Production.INFO: ==984== Lock acquired, processing the job...
[2025-01-07 16:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:00:01] Production.INFO: neon service started
[2025-01-07 16:00:01] Production.INFO: neon service started
[2025-01-07 16:00:01] Production.INFO: ==984== Releasing lock...
[2025-01-07 16:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:00:02] Production.INFO: ==986== Lock acquired, processing the job...
[2025-01-07 11:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 16:00:02] Production.INFO: ==988== Lock acquired, processing the job...
[2025-01-07 16:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:00:02] Production.INFO: ==988== Releasing lock...
[2025-01-07 16:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:00:02] Production.INFO: ==986== Releasing lock...
[2025-01-07 11:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:00:03] Production.INFO: ==991== Lock acquired, processing the job...
[2025-01-07 11:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 11:00:03] Production.INFO: ==997== Lock acquired, processing the job...
[2025-01-07 11:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 11:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 11:00:03] Production.ERROR: CronJob PID - 997
[2025-01-07 11:00:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-07 11:00:03] Production.ERROR: CronJob ID - 10
[2025-01-07 11:00:03] Production.ERROR: CronJob Last Run Time 2025-01-07 11:00:00
[2025-01-07 11:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 11:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 11:00:03] Production.INFO: ==993== Lock acquired, processing the job...
[2025-01-07 11:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 11:00:03] Production.INFO: ==991== Releasing lock...
[2025-01-07 11:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 11:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 11:00:03] Production.INFO: ==1001== Lock acquired, processing the job...
[2025-01-07 11:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:00:03] Production.INFO: ==1003== Lock acquired, processing the job...
[2025-01-07 11:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 11:00:03] Production.INFO: ==995== Lock acquired, processing the job...
[2025-01-07 11:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:00:04] Production.INFO: ==999== Lock acquired, processing the job...
[2025-01-07 11:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:00:04] Production.INFO: ==1005== Lock acquired, processing the job...
[2025-01-07 11:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:00:04] Production.INFO: Account Balance Start.
[2025-01-07 11:00:04] Production.INFO: CreateAllLog Start
[2025-01-07 11:00:04] Production.INFO: 117
[2025-01-07 11:00:04] Production.INFO: Date 2024-12-08
[2025-01-07 11:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:00:04] Production.INFO: Date 2024-12-09
[2025-01-07 11:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:00:04] Production.INFO: Date 2024-12-10
[2025-01-07 11:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:00:04] Production.INFO: count ==21
[2025-01-07 11:00:04] Production.ERROR: done
[2025-01-07 11:00:04] Production.ERROR: done
[2025-01-07 11:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:00:04] Production.INFO: count ==21
[2025-01-07 11:00:04] Production.INFO: ==995== Releasing lock...
[2025-01-07 11:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194450') start
[2025-01-07 11:00:04] Production.INFO: Date 2024-12-11
[2025-01-07 11:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 11:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14194451', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 11:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:00:04] Production.INFO: Date 2024-12-12
[2025-01-07 11:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:00:04] Production.INFO: Date 2024-12-13
[2025-01-07 11:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:00:04] Production.ERROR: done
[2025-01-07 11:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194450') end
[2025-01-07 11:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:00:04] Production.INFO: 1
[2025-01-07 11:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:00:04] Production.INFO: Date 2024-12-14
[2025-01-07 11:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:00:04] Production.INFO: ==1005== Releasing lock...
[2025-01-07 11:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:00:04] Production.INFO: Date 2024-12-15
[2025-01-07 11:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:00:04] Production.INFO: Date 2024-12-16
[2025-01-07 11:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:00:04] Production.INFO: Date 2024-12-17
[2025-01-07 11:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:00:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:00:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:00:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:00:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:00:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:00:05] Production.INFO: Date 2024-12-23
[2025-01-07 11:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:00:05] Production.INFO: Date 2024-12-24
[2025-01-07 11:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:00:05] Production.INFO: Date 2024-12-25
[2025-01-07 11:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:00:05] Production.INFO: Date 2024-12-26
[2025-01-07 11:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:00:05] Production.INFO: Date 2024-12-27
[2025-01-07 11:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:00:05] Production.INFO: Date 2024-12-28
[2025-01-07 11:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:00:05] Production.INFO: Date 2024-12-29
[2025-01-07 11:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:00:05] Production.INFO: Date 2024-12-30
[2025-01-07 11:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:00:05] Production.INFO: Date 2024-12-31
[2025-01-07 11:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:00:05] Production.INFO: Date 2025-01-01
[2025-01-07 11:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:00:05] Production.INFO: Date 2025-01-02
[2025-01-07 11:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:00:05] Production.INFO: Date 2025-01-03
[2025-01-07 11:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:00:05] Production.INFO: Date 2025-01-04
[2025-01-07 11:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:00:05] Production.INFO: Date 2025-01-05
[2025-01-07 11:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:00:05] Production.INFO: Date 2025-01-06
[2025-01-07 11:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:00:05] Production.INFO: Date 2025-01-07
[2025-01-07 11:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:00:05] Production.INFO: Total Charge 0
[2025-01-07 11:00:05] Production.INFO: CreateAllLog End
[2025-01-07 11:00:05] Production.INFO: Account Balance End.
[2025-01-07 11:00:05] Production.ERROR: CronJobId end 12
[2025-01-07 11:00:05] Production.INFO: ==999== Releasing lock...
[2025-01-07 11:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:00:06
[end_date_ymd] => 2025-01-07 11:00:06
[RateCDR] => 1
)
[2025-01-07 11: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-07 08:00:06' and `end` < '2025-01-07 11: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-07 11:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14194451', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 11:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 11:00:08] Production.INFO: ProcessCDR(1,14194451,1,1,2)
[2025-01-07 11:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14194451,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14194451,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:00:08] Production.INFO: ==1003== Releasing lock...
[2025-01-07 11:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 11:00:08] Production.INFO: 26 MB #Memory Used#
[2025-01-07 11:00:12] Production.ERROR: CronJobId end10
[2025-01-07 11:00:12] Production.INFO: ==997== Releasing lock...
[2025-01-07 11:00:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:00:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:00:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:00:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:00:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:00:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:00:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:00:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:00:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:00:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:00:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:00:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:00:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:00:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:00:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:00:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:00:15] Production.INFO: call_cost start
[2025-01-07 11:00:15] Production.INFO: call_cost end
[2025-01-07 11:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:00:16] Production.INFO: ==993== Releasing lock...
[2025-01-07 11:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:00:21] Production.INFO: count ==3383
[2025-01-07 11:00:22] Production.ERROR: pbx CDR StartTime 2025-01-07 08:00:06 - End Time 2025-01-07 11:00:06
[2025-01-07 11:00:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194452', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194452', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194452', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194452', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:00:22] Production.INFO: ProcessCDR(1,14194452,1,1,2)
[2025-01-07 11:00:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194452,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:00:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194452,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:00:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194452,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:00:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194452,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:00:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194452', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:00:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194452', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:00:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:00:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:00:27] Production.INFO: ==1001== Releasing lock...
[2025-01-07 11:00:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:00:27] Production.INFO: 53.25 MB #Memory Used#
[2025-01-07 16:01:02] Production.INFO: ==1100== Lock acquired, processing the job...
[2025-01-07 16:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:01:02] Production.INFO: neon service started
[2025-01-07 16:01:02] Production.INFO: neon service started
[2025-01-07 16:01:02] Production.INFO: ==1100== Releasing lock...
[2025-01-07 16:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:01:02] Production.INFO: ==1113== Lock acquired, processing the job...
[2025-01-07 11:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 16:01:02] Production.INFO: ==1115== Lock acquired, processing the job...
[2025-01-07 16:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:01:03] Production.INFO: ==1115== Releasing lock...
[2025-01-07 16:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:01:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:01:03] Production.INFO: ==1113== Releasing lock...
[2025-01-07 11:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:01:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:01:03] Production.INFO: ==1119== Lock acquired, processing the job...
[2025-01-07 11:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:01:03] Production.INFO: ==1117== Lock acquired, processing the job...
[2025-01-07 11:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:01:03] Production.INFO: ==1121== Lock acquired, processing the job...
[2025-01-07 11:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:01:04] Production.INFO: ==1126== Lock acquired, processing the job...
[2025-01-07 11:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:01:04] Production.INFO: ==1124== Lock acquired, processing the job...
[2025-01-07 11:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:01:04] Production.INFO: Account Balance Start.
[2025-01-07 11:01:04] Production.INFO: CreateAllLog Start
[2025-01-07 11:01:04] Production.INFO: 117
[2025-01-07 11:01:04] Production.INFO: Date 2024-12-08
[2025-01-07 11:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:01:04] Production.INFO: ==1128== Lock acquired, processing the job...
[2025-01-07 11:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:01:04] Production.INFO: Date 2024-12-09
[2025-01-07 11:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:01:04] Production.INFO: ==1119== Releasing lock...
[2025-01-07 11:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:01:04] Production.INFO: Date 2024-12-10
[2025-01-07 11:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:01:04] Production.INFO: Date 2024-12-11
[2025-01-07 11:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 11:01:04] Production.INFO: count ==21
[2025-01-07 11:01:04] Production.ERROR: done
[2025-01-07 11:01:04] Production.INFO: Date 2024-12-12
[2025-01-07 11:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 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-07 11:01:04] Production.INFO: count ==21
[2025-01-07 11:01:04] Production.INFO: Date 2024-12-13
[2025-01-07 11:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194456') start
[2025-01-07 11:01:04] Production.INFO: Date 2024-12-14
[2025-01-07 11:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:01:04] Production.INFO: Date 2024-12-15
[2025-01-07 11:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:01:04] Production.INFO: Date 2024-12-16
[2025-01-07 11:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194456') end
[2025-01-07 11:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:01:04] Production.INFO: 1
[2025-01-07 11:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:01:04] Production.ERROR: done
[2025-01-07 11:01:04] Production.INFO: Date 2024-12-17
[2025-01-07 11:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:01:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:01:04] Production.INFO: ==1128== Releasing lock...
[2025-01-07 11:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:01:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:01:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:01:05] Production.INFO: Date 2024-12-21
[2025-01-07 11:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:01:05] Production.INFO: Date 2024-12-22
[2025-01-07 11:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:01:05] Production.INFO: Date 2024-12-23
[2025-01-07 11:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:01:05] Production.INFO: Date 2024-12-24
[2025-01-07 11:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:01:05] Production.INFO: Date 2024-12-25
[2025-01-07 11:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:01:05] Production.INFO: Date 2024-12-26
[2025-01-07 11:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:01:05] Production.INFO: Date 2024-12-27
[2025-01-07 11:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:01:05] Production.INFO: Date 2024-12-28
[2025-01-07 11:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:01:05] Production.INFO: Date 2024-12-29
[2025-01-07 11:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:01:05
[end_date_ymd] => 2025-01-07 11:01:05
[RateCDR] => 1
)
[2025-01-07 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-07 08:01:05' and `end` < '2025-01-07 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-07 11:01:05] Production.INFO: Date 2024-12-30
[2025-01-07 11:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:01:05] Production.INFO: Date 2024-12-31
[2025-01-07 11:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:01:05] Production.INFO: Date 2025-01-01
[2025-01-07 11:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:01:05] Production.INFO: Date 2025-01-02
[2025-01-07 11:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:01:05] Production.INFO: Date 2025-01-03
[2025-01-07 11:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:01:05] Production.INFO: Date 2025-01-04
[2025-01-07 11:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:01:05] Production.INFO: Date 2025-01-05
[2025-01-07 11:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:01:05] Production.INFO: Date 2025-01-06
[2025-01-07 11:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:01:05] Production.INFO: Date 2025-01-07
[2025-01-07 11:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:01:05] Production.INFO: Total Charge 0
[2025-01-07 11:01:05] Production.INFO: CreateAllLog End
[2025-01-07 11:01:06] Production.INFO: Account Balance End.
[2025-01-07 11:01:06] Production.ERROR: CronJobId end 12
[2025-01-07 11:01:06] Production.INFO: ==1124== Releasing lock...
[2025-01-07 11:01:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:01:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:01:12] Production.ERROR: CronJobId end10
[2025-01-07 11:01:12] Production.INFO: ==1121== Releasing lock...
[2025-01-07 11:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:01:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:01:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:01:15] Production.INFO: call_cost start
[2025-01-07 11:01:15] Production.INFO: call_cost end
[2025-01-07 11:01:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:01:16] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:01:16] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:01:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:01:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:01:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:01:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:01:16] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:01:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:01:16] Production.INFO: ==1117== Releasing lock...
[2025-01-07 11:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:01:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:01:19] Production.INFO: count ==3477
[2025-01-07 11:01:20] Production.ERROR: pbx CDR StartTime 2025-01-07 08:01:05 - End Time 2025-01-07 11:01:05
[2025-01-07 11:01:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194457', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194457', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194457', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194457', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:01:20] Production.INFO: ProcessCDR(1,14194457,1,1,2)
[2025-01-07 11:01:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194457,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:01:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194457,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:01:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194457,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:01:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194457,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:01:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194457', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:01:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194457', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:01:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:01:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:01:25] Production.INFO: ==1126== Releasing lock...
[2025-01-07 11:01:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:01:25] Production.INFO: 54 MB #Memory Used#
[2025-01-07 16:02:01] Production.INFO: ==1233== Lock acquired, processing the job...
[2025-01-07 16:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:02:01] Production.INFO: neon service started
[2025-01-07 16:02:01] Production.INFO: neon service started
[2025-01-07 16:02:01] Production.INFO: ==1233== Releasing lock...
[2025-01-07 16:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:02:02] Production.INFO: ==1235== Lock acquired, processing the job...
[2025-01-07 11:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:02:02] Production.INFO: ==1235== Releasing lock...
[2025-01-07 11:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 16:02:02] Production.INFO: ==1239== Lock acquired, processing the job...
[2025-01-07 16:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:02:02] Production.INFO: ==1239== Releasing lock...
[2025-01-07 16:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:02:03] Production.INFO: ==1243== Lock acquired, processing the job...
[2025-01-07 11:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:02:03] Production.INFO: ==1248== Lock acquired, processing the job...
[2025-01-07 11:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:02:03] Production.INFO: ==1260== Lock acquired, processing the job...
[2025-01-07 11:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 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-07 11:02:03] Production.INFO: count ==21
[2025-01-07 11:02:03] Production.INFO: ==1246== Lock acquired, processing the job...
[2025-01-07 11:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 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-07 11:02:03] Production.INFO: count ==21
[2025-01-07 11:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194459') start
[2025-01-07 11:02:03] Production.INFO: ==1256== Lock acquired, processing the job...
[2025-01-07 11:02:03] Production.INFO: ==1254== Lock acquired, processing the job...
[2025-01-07 11:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194459') end
[2025-01-07 11:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:02:03] Production.INFO: 1
[2025-01-07 11:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:02:03] Production.INFO: Account Balance Start.
[2025-01-07 11:02:03] Production.INFO: CreateAllLog Start
[2025-01-07 11:02:03] Production.INFO: 117
[2025-01-07 11:02:03] Production.INFO: ==1260== Releasing lock...
[2025-01-07 11:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:02:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:02:03] Production.INFO: Date 2024-12-08
[2025-01-07 11:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:02:03] Production.INFO: ==1246== Releasing lock...
[2025-01-07 11:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:02:03] Production.INFO: Date 2024-12-09
[2025-01-07 11:02:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:02:04] Production.INFO: Date 2024-12-10
[2025-01-07 11:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:02:04] Production.INFO: Date 2024-12-11
[2025-01-07 11:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:02:04] Production.ERROR: done
[2025-01-07 11:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:02:04] Production.INFO: Date 2024-12-12
[2025-01-07 11:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:02:04] Production.INFO: Date 2024-12-13
[2025-01-07 11:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:02:04] Production.INFO: Date 2024-12-14
[2025-01-07 11:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:02:04] Production.INFO: Date 2024-12-15
[2025-01-07 11:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:02:04] Production.ERROR: done
[2025-01-07 11:02:04] Production.INFO: Date 2024-12-16
[2025-01-07 11:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:02:04] Production.INFO: Date 2024-12-17
[2025-01-07 11:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:02:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:02:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:02:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:02:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:02:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:02:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:02:04] Production.INFO: Date 2024-12-24
[2025-01-07 11:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:02:04] Production.INFO: Date 2024-12-25
[2025-01-07 11:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:02:04] Production.INFO: Date 2024-12-26
[2025-01-07 11:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:02:04] Production.INFO: Date 2024-12-27
[2025-01-07 11:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:02:04] Production.INFO: Date 2024-12-28
[2025-01-07 11:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:02:04] Production.INFO: Date 2024-12-29
[2025-01-07 11:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:02:04] Production.INFO: Date 2024-12-30
[2025-01-07 11:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:02:04] Production.INFO: Date 2024-12-31
[2025-01-07 11:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:02:04] Production.INFO: Date 2025-01-01
[2025-01-07 11:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:02:04] Production.INFO: Date 2025-01-02
[2025-01-07 11:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:02:04] Production.INFO: Date 2025-01-03
[2025-01-07 11:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:02:04] Production.INFO: Date 2025-01-04
[2025-01-07 11:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:02:04] Production.INFO: Date 2025-01-05
[2025-01-07 11:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:02:05] Production.INFO: Date 2025-01-06
[2025-01-07 11:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:02:05] Production.INFO: Date 2025-01-07
[2025-01-07 11:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:02:05
[end_date_ymd] => 2025-01-07 11:02:05
[RateCDR] => 1
)
[2025-01-07 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-07 08:02:05' and `end` < '2025-01-07 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-07 11:02:05] Production.INFO: Total Charge 0
[2025-01-07 11:02:05] Production.INFO: CreateAllLog End
[2025-01-07 11:02:05] Production.INFO: Account Balance End.
[2025-01-07 11:02:05] Production.ERROR: CronJobId end 12
[2025-01-07 11:02:05] Production.INFO: ==1254== Releasing lock...
[2025-01-07 11:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:02:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:02:11] Production.ERROR: CronJobId end10
[2025-01-07 11:02:11] Production.INFO: ==1248== Releasing lock...
[2025-01-07 11:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:02:13] Production.INFO: call_cost start
[2025-01-07 11:02:13] Production.INFO: call_cost end
[2025-01-07 11:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:02:14] Production.INFO: ==1243== Releasing lock...
[2025-01-07 11:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:02:23] Production.INFO: count ==3504
[2025-01-07 11:02:24] Production.ERROR: pbx CDR StartTime 2025-01-07 08:02:05 - End Time 2025-01-07 11:02:05
[2025-01-07 11:02:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:02:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194462', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:02:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194462', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:02:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194462', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:02:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194462', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:02:24] Production.INFO: ProcessCDR(1,14194462,1,1,2)
[2025-01-07 11:02:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194462,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:02:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194462,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:02:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194462,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:02:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194462,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:02:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194462', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:02:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194462', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:02:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:02:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:02:29] Production.INFO: ==1256== Releasing lock...
[2025-01-07 11:02:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:02:29] Production.INFO: 54.5 MB #Memory Used#
[2025-01-07 16:03:02] Production.INFO: ==1356== Lock acquired, processing the job...
[2025-01-07 16:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:03:02] Production.INFO: neon service started
[2025-01-07 16:03:02] Production.INFO: neon service started
[2025-01-07 16:03:02] Production.INFO: ==1356== Releasing lock...
[2025-01-07 16:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 16:03:02] Production.INFO: ==1360== Lock acquired, processing the job...
[2025-01-07 16:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:03:02] Production.INFO: ==1360== Releasing lock...
[2025-01-07 16:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:03:02] Production.INFO: ==1358== Lock acquired, processing the job...
[2025-01-07 11:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:03:02] Production.INFO: ==1358== Releasing lock...
[2025-01-07 11:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:03:03] Production.INFO: ==1365== Lock acquired, processing the job...
[2025-01-07 11:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:03:03] Production.INFO: ==1367== Lock acquired, processing the job...
[2025-01-07 11:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:03:03] Production.INFO: ==1373== Lock acquired, processing the job...
[2025-01-07 11:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:03:03] Production.INFO: ==1363== Lock acquired, processing the job...
[2025-01-07 11:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 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-07 11:03:03] Production.INFO: count ==21
[2025-01-07 11:03:03] Production.INFO: ==1369== Lock acquired, processing the job...
[2025-01-07 11:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:03:04] Production.INFO: count ==21
[2025-01-07 11:03:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194464') start
[2025-01-07 11:03:04] Production.INFO: ==1365== Releasing lock...
[2025-01-07 11:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:03:04] Production.INFO: ==1371== Lock acquired, processing the job...
[2025-01-07 11:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:03:04] Production.INFO: Account Balance Start.
[2025-01-07 11:03:04] Production.INFO: CreateAllLog Start
[2025-01-07 11:03:04] Production.INFO: 117
[2025-01-07 11:03:04] Production.INFO: Date 2024-12-08
[2025-01-07 11:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194464') end
[2025-01-07 11:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:03:04] Production.INFO: 1
[2025-01-07 11:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:03:04] Production.INFO: ==1373== Releasing lock...
[2025-01-07 11:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:03:04] Production.INFO: Date 2024-12-09
[2025-01-07 11:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:03:04] Production.INFO: Date 2024-12-10
[2025-01-07 11:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:03:04] Production.INFO: Date 2024-12-11
[2025-01-07 11:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:03:04] Production.INFO: Date 2024-12-12
[2025-01-07 11:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:03:04] Production.INFO: Date 2024-12-13
[2025-01-07 11:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:03:04] Production.ERROR: done
[2025-01-07 11:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:03:04] Production.INFO: Date 2024-12-14
[2025-01-07 11:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:03:04] Production.INFO: Date 2024-12-15
[2025-01-07 11:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:03:04] Production.INFO: Date 2024-12-16
[2025-01-07 11:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:03:04] Production.ERROR: done
[2025-01-07 11:03:04] Production.INFO: Date 2024-12-17
[2025-01-07 11:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:03:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:03:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:03:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:03:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:03:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:03:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:03:04] Production.INFO: Date 2024-12-24
[2025-01-07 11:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:03:04] Production.INFO: Date 2024-12-25
[2025-01-07 11:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:03:04] Production.INFO: Date 2024-12-26
[2025-01-07 11:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:03:05] Production.INFO: Date 2024-12-27
[2025-01-07 11:03:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:03:05] Production.INFO: Date 2024-12-28
[2025-01-07 11:03:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:03:05] Production.INFO: Date 2024-12-29
[2025-01-07 11:03:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:03:05] Production.INFO: Date 2024-12-30
[2025-01-07 11:03:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:03:05] Production.INFO: Date 2024-12-31
[2025-01-07 11:03:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:03:05] Production.INFO: Date 2025-01-01
[2025-01-07 11:03:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:03:05] Production.INFO: Date 2025-01-02
[2025-01-07 11:03:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:03:05] Production.INFO: Date 2025-01-03
[2025-01-07 11:03:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:03:05] Production.INFO: Date 2025-01-04
[2025-01-07 11:03:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:03:05] Production.INFO: Date 2025-01-05
[2025-01-07 11:03:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:03:05] Production.INFO: Date 2025-01-06
[2025-01-07 11:03:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:03:05] Production.INFO: Date 2025-01-07
[2025-01-07 11:03:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:03:05] Production.INFO: Total Charge 0
[2025-01-07 11:03:05] Production.INFO: CreateAllLog End
[2025-01-07 11:03:05] Production.INFO: Account Balance End.
[2025-01-07 11:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:03:05
[end_date_ymd] => 2025-01-07 11:03:05
[RateCDR] => 1
)
[2025-01-07 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-07 08:03:05' and `end` < '2025-01-07 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-07 11:03:05] Production.ERROR: CronJobId end 12
[2025-01-07 11:03:05] Production.INFO: ==1369== Releasing lock...
[2025-01-07 11:03:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:03:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:03:10] Production.ERROR: CronJobId end10
[2025-01-07 11:03:10] Production.INFO: ==1367== Releasing lock...
[2025-01-07 11:03:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:03:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:03:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:03:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:03:13] Production.INFO: call_cost start
[2025-01-07 11:03:13] Production.INFO: call_cost end
[2025-01-07 11:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:03:14] Production.INFO: ==1363== Releasing lock...
[2025-01-07 11:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:03:19] Production.INFO: count ==3509
[2025-01-07 11:03:20] Production.ERROR: pbx CDR StartTime 2025-01-07 08:03:05 - End Time 2025-01-07 11:03:05
[2025-01-07 11:03:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194467', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194467', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194467', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194467', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:03:21] Production.INFO: ProcessCDR(1,14194467,1,1,2)
[2025-01-07 11:03:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194467,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:03:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194467,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:03:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194467,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:03:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194467,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:03:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194467', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:03:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194467', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:03:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:03:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:03:25] Production.INFO: ==1371== Releasing lock...
[2025-01-07 11:03:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:03:25] Production.INFO: 55 MB #Memory Used#
[2025-01-07 16:04:01] Production.INFO: ==1429== Lock acquired, processing the job...
[2025-01-07 16:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:04:01] Production.INFO: neon service started
[2025-01-07 16:04:01] Production.INFO: neon service started
[2025-01-07 16:04:01] Production.INFO: ==1429== Releasing lock...
[2025-01-07 16:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:04:02] Production.INFO: ==1431== Lock acquired, processing the job...
[2025-01-07 11:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 16:04:02] Production.INFO: ==1433== Lock acquired, processing the job...
[2025-01-07 16:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:04:02] Production.INFO: ==1433== Releasing lock...
[2025-01-07 16:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:04:02] Production.INFO: ==1431== Releasing lock...
[2025-01-07 11:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:04:03] Production.INFO: ==1438== Lock acquired, processing the job...
[2025-01-07 11:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:04:03] Production.INFO: ==1440== Lock acquired, processing the job...
[2025-01-07 11:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:04:03] Production.INFO: ==1444== Lock acquired, processing the job...
[2025-01-07 11:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:04:03] Production.INFO: ==1442== Lock acquired, processing the job...
[2025-01-07 11:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:04:03] Production.INFO: ==1436== Lock acquired, processing the job...
[2025-01-07 11:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:04:03] Production.INFO: ==1446== Lock acquired, processing the job...
[2025-01-07 11:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:04:03] Production.INFO: Account Balance Start.
[2025-01-07 11:04:03] Production.INFO: CreateAllLog Start
[2025-01-07 11:04:03] Production.INFO: 117
[2025-01-07 11:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:04:03] Production.INFO: Date 2024-12-08
[2025-01-07 11:04:03] Production.INFO: ==1438== Releasing lock...
[2025-01-07 11:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:04:03] Production.ERROR: done
[2025-01-07 11:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 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-07 11:04:03] Production.INFO: Date 2024-12-09
[2025-01-07 11:04:03] Production.INFO: count ==21
[2025-01-07 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-07 11:04:03] Production.INFO: count ==21
[2025-01-07 11:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194471') start
[2025-01-07 11:04:03] Production.INFO: Date 2024-12-10
[2025-01-07 11:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:04:03] Production.INFO: Date 2024-12-11
[2025-01-07 11:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:04:04] Production.INFO: Date 2024-12-12
[2025-01-07 11:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:04:04] Production.ERROR: done
[2025-01-07 11:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194471') end
[2025-01-07 11:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:04:04] Production.INFO: 1
[2025-01-07 11:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:04:04] Production.INFO: ==1446== Releasing lock...
[2025-01-07 11:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:04:04] Production.INFO: Date 2024-12-13
[2025-01-07 11:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:04:04] Production.INFO: Date 2024-12-14
[2025-01-07 11:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:04:04] Production.INFO: Date 2024-12-15
[2025-01-07 11:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:04:04] Production.INFO: Date 2024-12-16
[2025-01-07 11:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:04:04] Production.INFO: Date 2024-12-17
[2025-01-07 11:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:04:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:04:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:04:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:04:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:04:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:04:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:04:04] Production.INFO: Date 2024-12-24
[2025-01-07 11:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:04:04] Production.INFO: Date 2024-12-25
[2025-01-07 11:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:04:04] Production.INFO: Date 2024-12-26
[2025-01-07 11:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:04:04] Production.INFO: Date 2024-12-27
[2025-01-07 11:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:04:04] Production.INFO: Date 2024-12-28
[2025-01-07 11:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:04:04] Production.INFO: Date 2024-12-29
[2025-01-07 11:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:04:04] Production.INFO: Date 2024-12-30
[2025-01-07 11:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:04:04] Production.INFO: Date 2024-12-31
[2025-01-07 11:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:04:04] Production.INFO: Date 2025-01-01
[2025-01-07 11:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:04:05] Production.INFO: Date 2025-01-02
[2025-01-07 11:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:04:05
[end_date_ymd] => 2025-01-07 11:04:05
[RateCDR] => 1
)
[2025-01-07 11:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 08:04:05' and `end` < '2025-01-07 11:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 11:04:05] Production.INFO: Date 2025-01-03
[2025-01-07 11:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:04:05] Production.INFO: Date 2025-01-04
[2025-01-07 11:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:04:05] Production.INFO: Date 2025-01-05
[2025-01-07 11:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:04:05] Production.INFO: Date 2025-01-06
[2025-01-07 11:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:04:05] Production.INFO: Date 2025-01-07
[2025-01-07 11:04:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:04:05] Production.INFO: Total Charge 0
[2025-01-07 11:04:05] Production.INFO: CreateAllLog End
[2025-01-07 11:04:05] Production.INFO: Account Balance End.
[2025-01-07 11:04:05] Production.ERROR: CronJobId end 12
[2025-01-07 11:04:05] Production.INFO: ==1442== Releasing lock...
[2025-01-07 11:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:04:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:04:10] Production.ERROR: CronJobId end10
[2025-01-07 11:04:10] Production.INFO: ==1440== Releasing lock...
[2025-01-07 11:04:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:04:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:04:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:04:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:04:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:04:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:04:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:04:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:04:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:04:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:04:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:04:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:04:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:04:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:04:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:04:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:04:12] Production.INFO: call_cost start
[2025-01-07 11:04:12] Production.INFO: call_cost end
[2025-01-07 11:04:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:04:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:04:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:04:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:04:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:04:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:04:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:04:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:04:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:04:13] Production.INFO: ==1436== Releasing lock...
[2025-01-07 11:04:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:04:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:04:18] Production.INFO: count ==3504
[2025-01-07 11:04:19] Production.ERROR: pbx CDR StartTime 2025-01-07 08:04:05 - End Time 2025-01-07 11:04:05
[2025-01-07 11:04:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194472', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194472', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194472', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194472', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:04:19] Production.INFO: ProcessCDR(1,14194472,1,1,2)
[2025-01-07 11:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194472,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:04:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194472,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:04:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194472,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:04:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194472,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:04:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194472', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:04:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194472', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:04:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:04:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:04:24] Production.INFO: ==1444== Releasing lock...
[2025-01-07 11:04:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:04:24] Production.INFO: 55.25 MB #Memory Used#
[2025-01-07 16:05:02] Production.INFO: ==1617== Lock acquired, processing the job...
[2025-01-07 16:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:05:02] Production.INFO: neon service started
[2025-01-07 16:05:02] Production.INFO: neon service started
[2025-01-07 16:05:02] Production.INFO: ==1617== Releasing lock...
[2025-01-07 16:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:05:02] Production.INFO: ==1619== Lock acquired, processing the job...
[2025-01-07 11:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 16:05:02] Production.INFO: ==1621== Lock acquired, processing the job...
[2025-01-07 16:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:05:02] Production.INFO: ==1621== Releasing lock...
[2025-01-07 16:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:05:02] Production.INFO: ==1619== Releasing lock...
[2025-01-07 11:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:05:03] Production.INFO: ==1623== Lock acquired, processing the job...
[2025-01-07 11:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:05:03] Production.INFO: ==1632== Lock acquired, processing the job...
[2025-01-07 11:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:05:03] Production.INFO: ==1634== Lock acquired, processing the job...
[2025-01-07 11:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:05:03] Production.INFO: ==1627== Lock acquired, processing the job...
[2025-01-07 11:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 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-07 11:05:03] Production.INFO: ==1625== Lock acquired, processing the job...
[2025-01-07 11:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:05:03] Production.INFO: ==1630== Lock acquired, processing the job...
[2025-01-07 11:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:05:03] Production.INFO: count ==21
[2025-01-07 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-07 11:05:03] Production.INFO: count ==21
[2025-01-07 11:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194474') start
[2025-01-07 11:05:03] Production.ERROR: done
[2025-01-07 11:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:05:04] Production.INFO: Account Balance Start.
[2025-01-07 11:05:04] Production.INFO: CreateAllLog Start
[2025-01-07 11:05:04] Production.INFO: 117
[2025-01-07 11:05:04] Production.INFO: Date 2024-12-08
[2025-01-07 11:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194474') end
[2025-01-07 11:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:05:04] Production.INFO: 1
[2025-01-07 11:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:05:04] Production.INFO: Date 2024-12-09
[2025-01-07 11:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:05:04] Production.ERROR: done
[2025-01-07 11:05:04] Production.INFO: ==1634== Releasing lock...
[2025-01-07 11:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:05:04] Production.INFO: Date 2024-12-10
[2025-01-07 11:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:05:04] Production.INFO: Date 2024-12-11
[2025-01-07 11:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:05:04] Production.INFO: Date 2024-12-12
[2025-01-07 11:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:05:04] Production.INFO: Date 2024-12-13
[2025-01-07 11:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:05:04] Production.INFO: ==1625== Releasing lock...
[2025-01-07 11:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:05:04] Production.INFO: Date 2024-12-14
[2025-01-07 11:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:05:04] Production.INFO: Date 2024-12-15
[2025-01-07 11:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:05:04] Production.INFO: Date 2024-12-16
[2025-01-07 11:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:05:04] Production.INFO: Date 2024-12-17
[2025-01-07 11:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:05:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:05:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:05:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:05:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:05:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:05:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:05:04] Production.INFO: Date 2024-12-24
[2025-01-07 11:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:05:04] Production.INFO: Date 2024-12-25
[2025-01-07 11:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:05:04] Production.INFO: Date 2024-12-26
[2025-01-07 11:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:05:04] Production.INFO: Date 2024-12-27
[2025-01-07 11:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:05:04] Production.INFO: Date 2024-12-28
[2025-01-07 11:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:05:04] Production.INFO: Date 2024-12-29
[2025-01-07 11:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:05:04] Production.INFO: Date 2024-12-30
[2025-01-07 11:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:05:04] Production.INFO: Date 2024-12-31
[2025-01-07 11:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:05:04] Production.INFO: Date 2025-01-01
[2025-01-07 11:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:05:05] Production.INFO: Date 2025-01-02
[2025-01-07 11:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:05:05] Production.INFO: Date 2025-01-03
[2025-01-07 11:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:05:05] Production.INFO: Date 2025-01-04
[2025-01-07 11:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:05:05] Production.INFO: Date 2025-01-05
[2025-01-07 11:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:05:05
[end_date_ymd] => 2025-01-07 11:05:05
[RateCDR] => 1
)
[2025-01-07 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-07 08:05:05' and `end` < '2025-01-07 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-07 11:05:05] Production.INFO: Date 2025-01-06
[2025-01-07 11:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:05:05] Production.INFO: Date 2025-01-07
[2025-01-07 11:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:05:05] Production.INFO: Total Charge 0
[2025-01-07 11:05:05] Production.INFO: CreateAllLog End
[2025-01-07 11:05:05] Production.INFO: Account Balance End.
[2025-01-07 11:05:05] Production.ERROR: CronJobId end 12
[2025-01-07 11:05:05] Production.INFO: ==1630== Releasing lock...
[2025-01-07 11:05:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:05:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:05:12] Production.ERROR: CronJobId end10
[2025-01-07 11:05:12] Production.INFO: ==1627== Releasing lock...
[2025-01-07 11:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:05:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:05:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:05:13] Production.INFO: call_cost start
[2025-01-07 11:05:13] Production.INFO: call_cost end
[2025-01-07 11:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:05:14] Production.INFO: ==1623== Releasing lock...
[2025-01-07 11:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:05:19] Production.INFO: count ==3523
[2025-01-07 11:05:20] Production.ERROR: pbx CDR StartTime 2025-01-07 08:05:05 - End Time 2025-01-07 11:05:05
[2025-01-07 11:05:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194477', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194477', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194477', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194477', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:05:20] Production.INFO: ProcessCDR(1,14194477,1,1,2)
[2025-01-07 11:05:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194477,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:05:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194477,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:05:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194477,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:05:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194477,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:05:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194477', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:05:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194477', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:05:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:05:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:05:25] Production.INFO: ==1632== Releasing lock...
[2025-01-07 11:05:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:05:25] Production.INFO: 55.25 MB #Memory Used#
[2025-01-07 16:06:01] Production.INFO: ==1687== Lock acquired, processing the job...
[2025-01-07 16:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:06:01] Production.INFO: neon service started
[2025-01-07 16:06:01] Production.INFO: neon service started
[2025-01-07 16:06:01] Production.INFO: ==1687== Releasing lock...
[2025-01-07 16:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:06:01] Production.INFO: ==1689== Lock acquired, processing the job...
[2025-01-07 11:06:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 16:06:02] Production.INFO: ==1691== Lock acquired, processing the job...
[2025-01-07 16:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:06:02] Production.INFO: ==1691== Releasing lock...
[2025-01-07 16:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:06:02] Production.INFO: ==1689== Releasing lock...
[2025-01-07 11:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:06:03] Production.INFO: ==1693== Lock acquired, processing the job...
[2025-01-07 11:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:06:03] Production.INFO: ==1697== Lock acquired, processing the job...
[2025-01-07 11:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:06:03] Production.INFO: ==1695== Lock acquired, processing the job...
[2025-01-07 11:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:06:03] Production.INFO: ==1699== Lock acquired, processing the job...
[2025-01-07 11:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:06:03] Production.INFO: ==1701== Lock acquired, processing the job...
[2025-01-07 11:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:06:03] Production.INFO: ==1704== Lock acquired, processing the job...
[2025-01-07 11:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:06:03] Production.INFO: Account Balance Start.
[2025-01-07 11:06:03] Production.INFO: CreateAllLog Start
[2025-01-07 11:06:03] Production.INFO: 117
[2025-01-07 11:06:03] Production.INFO: Date 2024-12-08
[2025-01-07 11:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 11:06:03] Production.INFO: count ==21
[2025-01-07 11:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:06:03] Production.INFO: count ==21
[2025-01-07 11:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194481') start
[2025-01-07 11:06:03] Production.INFO: ==1695== Releasing lock...
[2025-01-07 11:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:06:03] Production.INFO: Date 2024-12-09
[2025-01-07 11:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194481') end
[2025-01-07 11:06:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:06:03] Production.INFO: 1
[2025-01-07 11:06:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:06:03] Production.INFO: Date 2024-12-10
[2025-01-07 11:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:06:03] Production.ERROR: done
[2025-01-07 11:06:03] Production.INFO: ==1704== Releasing lock...
[2025-01-07 11:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:06:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:06:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:06:03] Production.INFO: Date 2024-12-11
[2025-01-07 11:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:06:03] Production.INFO: Date 2024-12-12
[2025-01-07 11:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:06:03] Production.INFO: Date 2024-12-13
[2025-01-07 11:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:06:03] Production.INFO: Date 2024-12-14
[2025-01-07 11:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:06:03] Production.ERROR: done
[2025-01-07 11:06:03] Production.INFO: Date 2024-12-15
[2025-01-07 11:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:06:03] Production.INFO: Date 2024-12-16
[2025-01-07 11:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:06:03] Production.INFO: Date 2024-12-17
[2025-01-07 11:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:06:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:06:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:06:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:06:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:06:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:06:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:06:04] Production.INFO: Date 2024-12-24
[2025-01-07 11:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:06:04] Production.INFO: Date 2024-12-25
[2025-01-07 11:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:06:04] Production.INFO: Date 2024-12-26
[2025-01-07 11:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:06:04] Production.INFO: Date 2024-12-27
[2025-01-07 11:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:06:04] Production.INFO: Date 2024-12-28
[2025-01-07 11:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:06:04] Production.INFO: Date 2024-12-29
[2025-01-07 11:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:06:04] Production.INFO: Date 2024-12-30
[2025-01-07 11:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:06:04] Production.INFO: Date 2024-12-31
[2025-01-07 11:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:06:04] Production.INFO: Date 2025-01-01
[2025-01-07 11:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:06:04] Production.INFO: Date 2025-01-02
[2025-01-07 11:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:06:04] Production.INFO: Date 2025-01-03
[2025-01-07 11:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:06:04] Production.INFO: Date 2025-01-04
[2025-01-07 11:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:06:04] Production.INFO: Date 2025-01-05
[2025-01-07 11:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:06:04] Production.INFO: Date 2025-01-06
[2025-01-07 11:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:06:04] Production.INFO: Date 2025-01-07
[2025-01-07 11:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:06:04] Production.INFO: Total Charge 0
[2025-01-07 11:06:04] Production.INFO: CreateAllLog End
[2025-01-07 11:06:05] Production.INFO: Account Balance End.
[2025-01-07 11:06:05] Production.ERROR: CronJobId end 12
[2025-01-07 11:06:05] Production.INFO: ==1699== Releasing lock...
[2025-01-07 11:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:06:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:06:05
[end_date_ymd] => 2025-01-07 11:06:05
[RateCDR] => 1
)
[2025-01-07 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-07 08:06:05' and `end` < '2025-01-07 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-07 11:06:11] Production.ERROR: CronJobId end10
[2025-01-07 11:06:11] Production.INFO: ==1697== Releasing lock...
[2025-01-07 11:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:06:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:06:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:06:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:06:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:06:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:06:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:06:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:06:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:06:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:06:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:06:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:06:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:06:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:06:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:06:13] Production.INFO: call_cost start
[2025-01-07 11:06:13] Production.INFO: call_cost end
[2025-01-07 11:06:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:06:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:06:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:06:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:06:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:06:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:06:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:06:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:06:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:06:13] Production.INFO: ==1693== Releasing lock...
[2025-01-07 11:06:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:06:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:06:19] Production.INFO: count ==3526
[2025-01-07 11:06:21] Production.ERROR: pbx CDR StartTime 2025-01-07 08:06:05 - End Time 2025-01-07 11:06:05
[2025-01-07 11:06:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194482', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194482', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194482', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194482', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:06:21] Production.INFO: ProcessCDR(1,14194482,1,1,2)
[2025-01-07 11:06:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194482,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:06:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194482,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:06:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194482,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:06:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194482,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:06:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194482', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:06:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194482', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:06:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:06:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:06:26] Production.INFO: ==1701== Releasing lock...
[2025-01-07 11:06:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:06:26] Production.INFO: 54.75 MB #Memory Used#
[2025-01-07 16:07:02] Production.INFO: ==1761== Lock acquired, processing the job...
[2025-01-07 16:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:07:02] Production.INFO: neon service started
[2025-01-07 16:07:02] Production.INFO: neon service started
[2025-01-07 16:07:02] Production.INFO: ==1761== Releasing lock...
[2025-01-07 16:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:07:02] Production.INFO: ==1763== Lock acquired, processing the job...
[2025-01-07 11:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:07:02] Production.INFO: ==1763== Releasing lock...
[2025-01-07 11:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 16:07:02] Production.INFO: ==1765== Lock acquired, processing the job...
[2025-01-07 16:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:07:02] Production.INFO: ==1765== Releasing lock...
[2025-01-07 16:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:07:03] Production.INFO: ==1768== Lock acquired, processing the job...
[2025-01-07 11:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:07:03] Production.INFO: ==1776== Lock acquired, processing the job...
[2025-01-07 11:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:07:03] Production.INFO: ==1778== Lock acquired, processing the job...
[2025-01-07 11:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 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-07 11:07:03] Production.INFO: ==1770== Lock acquired, processing the job...
[2025-01-07 11:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:07:03] Production.INFO: ==1772== Lock acquired, processing the job...
[2025-01-07 11:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:07:03] Production.INFO: ==1774== Lock acquired, processing the job...
[2025-01-07 11:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:07:03] Production.INFO: count ==21
[2025-01-07 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-07 11:07:03] Production.INFO: count ==21
[2025-01-07 11:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194484') start
[2025-01-07 11:07:03] Production.INFO: Account Balance Start.
[2025-01-07 11:07:03] Production.INFO: CreateAllLog Start
[2025-01-07 11:07:03] Production.INFO: 117
[2025-01-07 11:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194484') end
[2025-01-07 11:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:07:03] Production.INFO: 1
[2025-01-07 11:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:07:03] Production.INFO: Date 2024-12-08
[2025-01-07 11:07:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:07:03] Production.INFO: Date 2024-12-09
[2025-01-07 11:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:07:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:07:03] Production.INFO: Date 2024-12-10
[2025-01-07 11:07:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:07:03] Production.INFO: ==1778== Releasing lock...
[2025-01-07 11:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:07:04] Production.ERROR: done
[2025-01-07 11:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:07:04] Production.INFO: Date 2024-12-11
[2025-01-07 11:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:07:04] Production.INFO: ==1770== Releasing lock...
[2025-01-07 11:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:07:04] Production.INFO: Date 2024-12-12
[2025-01-07 11:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:07:04] Production.ERROR: done
[2025-01-07 11:07:04] Production.INFO: Date 2024-12-13
[2025-01-07 11:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:07:04] Production.INFO: Date 2024-12-14
[2025-01-07 11:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:07:04] Production.INFO: Date 2024-12-15
[2025-01-07 11:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:07:04] Production.INFO: Date 2024-12-16
[2025-01-07 11:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:07:04] Production.INFO: Date 2024-12-17
[2025-01-07 11:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:07:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:07:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:07:05] Production.INFO: Date 2024-12-20
[2025-01-07 11:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:07:05] Production.INFO: Date 2024-12-21
[2025-01-07 11:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:07:05] Production.INFO: Date 2024-12-22
[2025-01-07 11:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:07:05
[end_date_ymd] => 2025-01-07 11:07:05
[RateCDR] => 1
)
[2025-01-07 11:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 08:07:05' and `end` < '2025-01-07 11:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 11:07:05] Production.INFO: Date 2024-12-23
[2025-01-07 11:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:07:05] Production.INFO: Date 2024-12-24
[2025-01-07 11:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:07:05] Production.INFO: Date 2024-12-25
[2025-01-07 11:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:07:05] Production.INFO: Date 2024-12-26
[2025-01-07 11:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:07:05] Production.INFO: Date 2024-12-27
[2025-01-07 11:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:07:05] Production.INFO: Date 2024-12-28
[2025-01-07 11:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:07:05] Production.INFO: Date 2024-12-29
[2025-01-07 11:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:07:05] Production.INFO: Date 2024-12-30
[2025-01-07 11:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:07:05] Production.INFO: Date 2024-12-31
[2025-01-07 11:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:07:05] Production.INFO: Date 2025-01-01
[2025-01-07 11:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:07:06] Production.INFO: Date 2025-01-02
[2025-01-07 11:07:06] Production.INFO: Reseller ==> 0
[2025-01-07 11:07:06] Production.INFO: Date 2025-01-03
[2025-01-07 11:07:06] Production.INFO: Reseller ==> 0
[2025-01-07 11:07:06] Production.INFO: Date 2025-01-04
[2025-01-07 11:07:06] Production.INFO: Reseller ==> 0
[2025-01-07 11:07:06] Production.INFO: Date 2025-01-05
[2025-01-07 11:07:06] Production.INFO: Reseller ==> 0
[2025-01-07 11:07:06] Production.INFO: Date 2025-01-06
[2025-01-07 11:07:06] Production.INFO: Reseller ==> 0
[2025-01-07 11:07:06] Production.INFO: Date 2025-01-07
[2025-01-07 11:07:06] Production.INFO: Reseller ==> 0
[2025-01-07 11:07:06] Production.INFO: Total Charge 0
[2025-01-07 11:07:06] Production.INFO: CreateAllLog End
[2025-01-07 11:07:06] Production.INFO: Account Balance End.
[2025-01-07 11:07:06] Production.ERROR: CronJobId end 12
[2025-01-07 11:07:06] Production.INFO: ==1774== Releasing lock...
[2025-01-07 11:07:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:07:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:07:12] Production.ERROR: CronJobId end10
[2025-01-07 11:07:12] Production.INFO: ==1772== Releasing lock...
[2025-01-07 11:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:07:13] Production.INFO: call_cost start
[2025-01-07 11:07:13] Production.INFO: call_cost end
[2025-01-07 11:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:07:14] Production.INFO: ==1768== Releasing lock...
[2025-01-07 11:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:07:21] Production.INFO: count ==3536
[2025-01-07 11:07:22] Production.ERROR: pbx CDR StartTime 2025-01-07 08:07:05 - End Time 2025-01-07 11:07:05
[2025-01-07 11:07:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:07:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194487', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:07:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194487', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:07:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194487', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:07:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194487', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:07:22] Production.INFO: ProcessCDR(1,14194487,1,1,2)
[2025-01-07 11:07:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194487,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:07:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194487,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:07:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194487,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:07:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194487,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:07:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194487', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:07:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194487', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:07:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:07:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:07:27] Production.INFO: ==1776== Releasing lock...
[2025-01-07 11:07:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:07:27] Production.INFO: 54.75 MB #Memory Used#
[2025-01-07 16:08:01] Production.INFO: ==1912== Lock acquired, processing the job...
[2025-01-07 16:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:08:01] Production.INFO: neon service started
[2025-01-07 16:08:01] Production.INFO: neon service started
[2025-01-07 16:08:01] Production.INFO: ==1912== Releasing lock...
[2025-01-07 16:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:08:01] Production.INFO: ==1914== Lock acquired, processing the job...
[2025-01-07 11:08:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:08:02] Production.INFO: ==1914== Releasing lock...
[2025-01-07 11:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 16:08:02] Production.INFO: ==1916== Lock acquired, processing the job...
[2025-01-07 16:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:08:02] Production.INFO: ==1916== Releasing lock...
[2025-01-07 16:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:08:02] Production.INFO: ==1918== Lock acquired, processing the job...
[2025-01-07 11:08:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:08:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:08:02] Production.INFO: ==1920== Lock acquired, processing the job...
[2025-01-07 11:08:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:08:03] Production.INFO: ==1925== Lock acquired, processing the job...
[2025-01-07 11:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:08:03] Production.INFO: ==1920== Releasing lock...
[2025-01-07 11:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:08:03] Production.INFO: Account Balance Start.
[2025-01-07 11:08:03] Production.INFO: CreateAllLog Start
[2025-01-07 11:08:03] Production.INFO: 117
[2025-01-07 11:08:03] Production.INFO: Date 2024-12-08
[2025-01-07 11:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:08:03] Production.INFO: ==1922== Lock acquired, processing the job...
[2025-01-07 11:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:08:03] Production.INFO: Date 2024-12-09
[2025-01-07 11:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:08:03] Production.INFO: ==1927== Lock acquired, processing the job...
[2025-01-07 11:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:08:03] Production.INFO: Date 2024-12-10
[2025-01-07 11:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:08:03] Production.INFO: ==1929== Lock acquired, processing the job...
[2025-01-07 11:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:08:03] Production.INFO: Date 2024-12-11
[2025-01-07 11:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:08:03] Production.INFO: Date 2024-12-12
[2025-01-07 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-07 11:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:08:03] Production.INFO: count ==21
[2025-01-07 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-07 11:08:03] Production.INFO: count ==21
[2025-01-07 11:08:03] Production.ERROR: done
[2025-01-07 11:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:08:03] Production.INFO: Date 2024-12-13
[2025-01-07 11:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194491') start
[2025-01-07 11:08:03] Production.INFO: Date 2024-12-14
[2025-01-07 11:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:08:03] Production.INFO: Date 2024-12-15
[2025-01-07 11:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:08:03] Production.INFO: Date 2024-12-16
[2025-01-07 11:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:08:03] Production.ERROR: done
[2025-01-07 11:08:04] Production.INFO: Date 2024-12-17
[2025-01-07 11:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194491') end
[2025-01-07 11:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:08:04] Production.INFO: 1
[2025-01-07 11:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:08:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:08:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:08:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:08:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:08:04] Production.INFO: ==1929== Releasing lock...
[2025-01-07 11:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:08:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:08:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:08:04] Production.INFO: Date 2024-12-24
[2025-01-07 11:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:08:04] Production.INFO: Date 2024-12-25
[2025-01-07 11:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:08:04] Production.INFO: Date 2024-12-26
[2025-01-07 11:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:08:04] Production.INFO: Date 2024-12-27
[2025-01-07 11:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:08:04] Production.INFO: Date 2024-12-28
[2025-01-07 11:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:08:04] Production.INFO: Date 2024-12-29
[2025-01-07 11:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:08:04] Production.INFO: Date 2024-12-30
[2025-01-07 11:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:08:04] Production.INFO: Date 2024-12-31
[2025-01-07 11:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:08:04] Production.INFO: Date 2025-01-01
[2025-01-07 11:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:08:04] Production.INFO: Date 2025-01-02
[2025-01-07 11:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:08:04] Production.INFO: Date 2025-01-03
[2025-01-07 11:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:08:04] Production.INFO: Date 2025-01-04
[2025-01-07 11:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:08:04] Production.INFO: Date 2025-01-05
[2025-01-07 11:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:08:04] Production.INFO: Date 2025-01-06
[2025-01-07 11:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:08:04] Production.INFO: Date 2025-01-07
[2025-01-07 11:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:08:04] Production.INFO: Total Charge 0
[2025-01-07 11:08:04] Production.INFO: CreateAllLog End
[2025-01-07 11:08:04] Production.INFO: Account Balance End.
[2025-01-07 11:08:05] Production.ERROR: CronJobId end 12
[2025-01-07 11:08:05] Production.INFO: ==1925== Releasing lock...
[2025-01-07 11:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:08:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:08:05
[end_date_ymd] => 2025-01-07 11:08:05
[RateCDR] => 1
)
[2025-01-07 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-07 08:08:05' and `end` < '2025-01-07 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-07 11:08:11] Production.ERROR: CronJobId end10
[2025-01-07 11:08:11] Production.INFO: ==1922== Releasing lock...
[2025-01-07 11:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:08:13] Production.INFO: call_cost start
[2025-01-07 11:08:13] Production.INFO: call_cost end
[2025-01-07 11:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:08:14] Production.INFO: ==1918== Releasing lock...
[2025-01-07 11:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:08:25] Production.INFO: count ==3561
[2025-01-07 11:08:26] Production.ERROR: pbx CDR StartTime 2025-01-07 08:08:05 - End Time 2025-01-07 11:08:05
[2025-01-07 11:08:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:08:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194492', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:08:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194492', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:08:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194492', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:08:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194492', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:08:26] Production.INFO: ProcessCDR(1,14194492,1,1,2)
[2025-01-07 11:08:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194492,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:08:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194492,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:08:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194492,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:08:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194492,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:08:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194492', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:08:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194492', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:08:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:08:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:08:31] Production.INFO: ==1927== Releasing lock...
[2025-01-07 11:08:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:08:31] Production.INFO: 55.5 MB #Memory Used#
[2025-01-07 16:09:01] Production.INFO: ==1985== Lock acquired, processing the job...
[2025-01-07 16:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:09:01] Production.INFO: neon service started
[2025-01-07 16:09:01] Production.INFO: neon service started
[2025-01-07 16:09:01] Production.INFO: ==1985== Releasing lock...
[2025-01-07 16:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:09:02] Production.INFO: ==1987== Lock acquired, processing the job...
[2025-01-07 11:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 16:09:02] Production.INFO: ==1989== Lock acquired, processing the job...
[2025-01-07 16:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:09:02] Production.INFO: ==1989== Releasing lock...
[2025-01-07 16:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:09:02] Production.INFO: ==1987== Releasing lock...
[2025-01-07 11:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:09:03] Production.INFO: ==2000== Lock acquired, processing the job...
[2025-01-07 11:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:09:03] Production.INFO: ==1991== Lock acquired, processing the job...
[2025-01-07 11:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:09:03] Production.INFO: ==1993== Lock acquired, processing the job...
[2025-01-07 11:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:09:03] Production.INFO: ==2003== Lock acquired, processing the job...
[2025-01-07 11:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:09:03] Production.INFO: ==1998== Lock acquired, processing the job...
[2025-01-07 11:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:09:03] Production.INFO: ==1996== Lock acquired, processing the job...
[2025-01-07 11:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 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-07 11:09:03] Production.ERROR: done
[2025-01-07 11:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:09:03] Production.INFO: Account Balance Start.
[2025-01-07 11:09:03] Production.INFO: CreateAllLog Start
[2025-01-07 11:09:03] Production.INFO: 117
[2025-01-07 11:09:03] Production.INFO: count ==21
[2025-01-07 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-07 11:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:09:03] Production.INFO: count ==21
[2025-01-07 11:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:09:03] Production.INFO: Date 2024-12-08
[2025-01-07 11:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194493') start
[2025-01-07 11:09:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:09:03] Production.ERROR: done
[2025-01-07 11:09:03] Production.INFO: Date 2024-12-09
[2025-01-07 11:09:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:09:04] Production.INFO: Date 2024-12-10
[2025-01-07 11:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:09:04] Production.INFO: Date 2024-12-11
[2025-01-07 11:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194493') end
[2025-01-07 11:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:09:04] Production.INFO: 1
[2025-01-07 11:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:09:04] Production.INFO: Date 2024-12-12
[2025-01-07 11:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:09:04] Production.INFO: ==1993== Releasing lock...
[2025-01-07 11:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:09:04] Production.INFO: ==2003== Releasing lock...
[2025-01-07 11:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:09:04] Production.INFO: Date 2024-12-13
[2025-01-07 11:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:09:04] Production.INFO: Date 2024-12-14
[2025-01-07 11:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:09:04] Production.INFO: Date 2024-12-15
[2025-01-07 11:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:09:04] Production.INFO: Date 2024-12-16
[2025-01-07 11:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:09:04] Production.INFO: Date 2024-12-17
[2025-01-07 11:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:09:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:09:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:09:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:09:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:09:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:09:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:09:04] Production.INFO: Date 2024-12-24
[2025-01-07 11:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:09:04] Production.INFO: Date 2024-12-25
[2025-01-07 11:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:09:04] Production.INFO: Date 2024-12-26
[2025-01-07 11:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:09:04] Production.INFO: Date 2024-12-27
[2025-01-07 11:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:09:04] Production.INFO: Date 2024-12-28
[2025-01-07 11:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:09:04] Production.INFO: Date 2024-12-29
[2025-01-07 11:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:09:04] Production.INFO: Date 2024-12-30
[2025-01-07 11:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:09:04] Production.INFO: Date 2024-12-31
[2025-01-07 11:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:09:04] Production.INFO: Date 2025-01-01
[2025-01-07 11:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:09:04] Production.INFO: Date 2025-01-02
[2025-01-07 11:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:09:04] Production.INFO: Date 2025-01-03
[2025-01-07 11:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:09:04] Production.INFO: Date 2025-01-04
[2025-01-07 11:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:09:04] Production.INFO: Date 2025-01-05
[2025-01-07 11:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:09:04] Production.INFO: Date 2025-01-06
[2025-01-07 11:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:09:04] Production.INFO: Date 2025-01-07
[2025-01-07 11:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:09:04] Production.INFO: Total Charge 0
[2025-01-07 11:09:05] Production.INFO: CreateAllLog End
[2025-01-07 11:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:09:05
[end_date_ymd] => 2025-01-07 11:09:05
[RateCDR] => 1
)
[2025-01-07 11:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 08:09:05' and `end` < '2025-01-07 11:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 11:09:05] Production.INFO: Account Balance End.
[2025-01-07 11:09:05] Production.ERROR: CronJobId end 12
[2025-01-07 11:09:05] Production.INFO: ==1998== Releasing lock...
[2025-01-07 11:09:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:09:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:09:11] Production.ERROR: CronJobId end10
[2025-01-07 11:09:11] Production.INFO: ==1996== Releasing lock...
[2025-01-07 11:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:09:13] Production.INFO: call_cost start
[2025-01-07 11:09:13] Production.INFO: call_cost end
[2025-01-07 11:09:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:09:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:09:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:09:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:09:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:09:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:09:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:09:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:09:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:09:13] Production.INFO: ==1991== Releasing lock...
[2025-01-07 11:09:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:09:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:09:27] Production.INFO: count ==3563
[2025-01-07 11:09:28] Production.ERROR: pbx CDR StartTime 2025-01-07 08:09:05 - End Time 2025-01-07 11:09:05
[2025-01-07 11:09:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:09:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194497', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:09:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194497', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:09:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194497', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:09:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194497', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:09:28] Production.INFO: ProcessCDR(1,14194497,1,1,2)
[2025-01-07 11:09:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194497,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:09:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194497,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:09:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194497,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:09:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194497,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:09:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194497', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:09:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194497', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:09:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:09:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:09:33] Production.INFO: ==2000== Releasing lock...
[2025-01-07 11:09:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:09:33] Production.INFO: 55.25 MB #Memory Used#
[2025-01-07 16:10:02] Production.INFO: ==2056== Lock acquired, processing the job...
[2025-01-07 16:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:10:02] Production.INFO: neon service started
[2025-01-07 16:10:02] Production.INFO: neon service started
[2025-01-07 16:10:02] Production.INFO: ==2056== Releasing lock...
[2025-01-07 16:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:10:02] Production.INFO: ==2058== Lock acquired, processing the job...
[2025-01-07 11:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:10:02] Production.INFO: ==2058== Releasing lock...
[2025-01-07 11:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 16:10:03] Production.INFO: ==2060== Lock acquired, processing the job...
[2025-01-07 16:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:10:03] Production.INFO: ==2060== Releasing lock...
[2025-01-07 16:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:10:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:10:04] Production.INFO: ==2064== Lock acquired, processing the job...
[2025-01-07 11:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:10:04] Production.INFO: ==2062== Lock acquired, processing the job...
[2025-01-07 11:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 11:10:04] Production.INFO: ==2074== Lock acquired, processing the job...
[2025-01-07 11:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 11:10:04] Production.INFO: ==2070== Lock acquired, processing the job...
[2025-01-07 11:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:10:04] Production.INFO: ==2066== Lock acquired, processing the job...
[2025-01-07 11:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 11:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 11:10:04] Production.ERROR: CronJob PID - 2064
[2025-01-07 11:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-07 11:10:04] Production.ERROR: CronJob ID - 5
[2025-01-07 11:10:04] Production.ERROR: CronJob Last Run Time 2025-01-07 11:10:00
[2025-01-07 11:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 11:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 11:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 11:10:04] Production.ERROR: CronJob PID - 2070
[2025-01-07 11:10:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-07 11:10:04] Production.ERROR: CronJob ID - 12
[2025-01-07 11:10:04] Production.ERROR: CronJob Last Run Time 2025-01-07 11:10:00
[2025-01-07 11:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 11:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 11:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 11:10:04] Production.ERROR: CronJob PID - 2074
[2025-01-07 11:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-07 11:10:04] Production.ERROR: CronJob ID - 17
[2025-01-07 11:10:04] Production.ERROR: CronJob Last Run Time 2025-01-07 11:10:00
[2025-01-07 11:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 11:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 11:10:04] Production.INFO: ==2068== Lock acquired, processing the job...
[2025-01-07 11:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:10:04] Production.INFO: Account Balance Start.
[2025-01-07 11:10:04] Production.INFO: CreateAllLog Start
[2025-01-07 11:10:04] Production.INFO: 117
[2025-01-07 11:10:04] Production.INFO: Date 2024-12-08
[2025-01-07 11:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:10:04] Production.INFO: Date 2024-12-09
[2025-01-07 11:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:10:04] Production.INFO: ==2072== Lock acquired, processing the job...
[2025-01-07 11:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 11:10:04] Production.INFO: ==2062== Releasing lock...
[2025-01-07 11:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 11:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 11:10:04] Production.INFO: Date 2024-12-10
[2025-01-07 11:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:10:04] Production.INFO: ==2076== Lock acquired, processing the job...
[2025-01-07 11:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:10:04] Production.INFO: Date 2024-12-11
[2025-01-07 11:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:10:04] Production.ERROR: done
[2025-01-07 11:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 11:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14194501', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 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-07 11:10:04] Production.INFO: Date 2024-12-12
[2025-01-07 11:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:10:04] Production.INFO: count ==21
[2025-01-07 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-07 11:10:04] Production.INFO: count ==21
[2025-01-07 11:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194502') start
[2025-01-07 11:10:04] Production.INFO: ==2066== Releasing lock...
[2025-01-07 11:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:10:04] Production.INFO: Date 2024-12-13
[2025-01-07 11:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:10:04] Production.INFO: Date 2024-12-14
[2025-01-07 11:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:10:04] Production.ERROR: done
[2025-01-07 11:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194502') end
[2025-01-07 11:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:10:04] Production.INFO: 1
[2025-01-07 11:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:10:04] Production.INFO: Date 2024-12-15
[2025-01-07 11:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:10:05] Production.INFO: Date 2024-12-16
[2025-01-07 11:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:10:05] Production.INFO: Date 2024-12-17
[2025-01-07 11:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:10:05] Production.INFO: ==2076== Releasing lock...
[2025-01-07 11:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:10:05] Production.INFO: Date 2024-12-18
[2025-01-07 11:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:10:05] Production.ERROR: done
[2025-01-07 11:10:05] Production.INFO: Date 2024-12-19
[2025-01-07 11:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:10:05] Production.INFO: Date 2024-12-20
[2025-01-07 11:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:10:05] Production.INFO: Date 2024-12-21
[2025-01-07 11:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:10:05] Production.INFO: Date 2024-12-22
[2025-01-07 11:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:10:05] Production.INFO: Date 2024-12-23
[2025-01-07 11:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:10:05] Production.INFO: Date 2024-12-24
[2025-01-07 11:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:10:05] Production.INFO: Date 2024-12-25
[2025-01-07 11:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:10:05] Production.INFO: Date 2024-12-26
[2025-01-07 11:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:10:05] Production.INFO: Date 2024-12-27
[2025-01-07 11:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:10:05] Production.INFO: Date 2024-12-28
[2025-01-07 11:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:10:05] Production.INFO: Date 2024-12-29
[2025-01-07 11:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:10:05] Production.INFO: Date 2024-12-30
[2025-01-07 11:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:10:05] Production.INFO: Date 2024-12-31
[2025-01-07 11:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:10:05] Production.INFO: Date 2025-01-01
[2025-01-07 11:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:10:05] Production.INFO: Date 2025-01-02
[2025-01-07 11:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:10:05] Production.INFO: Date 2025-01-03
[2025-01-07 11:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:10:05] Production.INFO: Date 2025-01-04
[2025-01-07 11:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:10:05] Production.INFO: Date 2025-01-05
[2025-01-07 11:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:10:05] Production.INFO: Date 2025-01-06
[2025-01-07 11:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:10:05] Production.INFO: Date 2025-01-07
[2025-01-07 11:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:10:05] Production.INFO: Total Charge 0
[2025-01-07 11:10:06] Production.INFO: CreateAllLog End
[2025-01-07 11:10:06] Production.INFO: Account Balance End.
[2025-01-07 11:10:06] Production.ERROR: CronJobId end 12
[2025-01-07 11:10:06] Production.INFO: ==2070== Releasing lock...
[2025-01-07 11:10:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:10:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:10:06
[end_date_ymd] => 2025-01-07 11:10:06
[RateCDR] => 1
)
[2025-01-07 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-07 08:10:06' and `end` < '2025-01-07 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-07 11:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14194501', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 11:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 11:10:08] Production.INFO: ProcessCDR(1,14194501,1,1,2)
[2025-01-07 11:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14194501,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14194501,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:10:08] Production.INFO: ==2074== Releasing lock...
[2025-01-07 11:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 11:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-07 11:10:12] Production.ERROR: CronJobId end10
[2025-01-07 11:10:12] Production.INFO: ==2068== Releasing lock...
[2025-01-07 11:10:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:10:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:10:15] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:10:15] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:10:15] Production.INFO: call_cost start
[2025-01-07 11:10:15] Production.INFO: call_cost end
[2025-01-07 11:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:10:16] Production.INFO: ==2064== Releasing lock...
[2025-01-07 11:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:10:36] Production.INFO: count ==3563
[2025-01-07 11:10:37] Production.ERROR: pbx CDR StartTime 2025-01-07 08:10:06 - End Time 2025-01-07 11:10:06
[2025-01-07 11:10:37] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:10:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194503', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:10:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194503', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:10:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194503', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:10:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194503', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:10:38] Production.INFO: ProcessCDR(1,14194503,1,1,2)
[2025-01-07 11:10:38] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194503,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:10:40] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194503,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:10:40] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194503,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:10:42] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194503,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:10:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194503', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:10:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194503', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:10:42] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:10:42] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:10:42] Production.INFO: ==2072== Releasing lock...
[2025-01-07 11:10:42] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:10:42] Production.INFO: 55.75 MB #Memory Used#
[2025-01-07 16:11:01] Production.INFO: ==2131== Lock acquired, processing the job...
[2025-01-07 16:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:11:01] Production.INFO: neon service started
[2025-01-07 16:11:01] Production.INFO: neon service started
[2025-01-07 16:11:01] Production.INFO: ==2131== Releasing lock...
[2025-01-07 16:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:11:02] Production.INFO: ==2134== Lock acquired, processing the job...
[2025-01-07 11:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 16:11:02] Production.INFO: ==2136== Lock acquired, processing the job...
[2025-01-07 16:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:11:02] Production.INFO: ==2134== Releasing lock...
[2025-01-07 11:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 16:11:02] Production.INFO: ==2136== Releasing lock...
[2025-01-07 16:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:11:03] Production.INFO: ==2146== Lock acquired, processing the job...
[2025-01-07 11:11:03] Production.INFO: ==2138== Lock acquired, processing the job...
[2025-01-07 11:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:11:03] Production.INFO: ==2148== Lock acquired, processing the job...
[2025-01-07 11:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:11:03] Production.INFO: ==2142== Lock acquired, processing the job...
[2025-01-07 11:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:11:03] Production.INFO: ==2140== Lock acquired, processing the job...
[2025-01-07 11:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:11:03] Production.INFO: ==2144== Lock acquired, processing the job...
[2025-01-07 11:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 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-07 11:11:03] Production.INFO: Account Balance Start.
[2025-01-07 11:11:03] Production.INFO: CreateAllLog Start
[2025-01-07 11:11:03] Production.INFO: 117
[2025-01-07 11:11:03] Production.INFO: Date 2024-12-08
[2025-01-07 11:11:03] Production.INFO: count ==21
[2025-01-07 11:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 11:11:03] Production.INFO: count ==21
[2025-01-07 11:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194505') start
[2025-01-07 11:11:03] Production.INFO: Date 2024-12-09
[2025-01-07 11:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:11:03] Production.INFO: Date 2024-12-10
[2025-01-07 11:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:11:03] Production.INFO: Date 2024-12-11
[2025-01-07 11:11:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:11:03] Production.ERROR: done
[2025-01-07 11:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194505') end
[2025-01-07 11:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:11:03] Production.INFO: 1
[2025-01-07 11:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:11:04] Production.INFO: Date 2024-12-12
[2025-01-07 11:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:11:04] Production.INFO: Date 2024-12-13
[2025-01-07 11:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:11:04] Production.INFO: Date 2024-12-14
[2025-01-07 11:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:11:04] Production.INFO: Date 2024-12-15
[2025-01-07 11:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:11:04] Production.INFO: ==2148== Releasing lock...
[2025-01-07 11:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:11:04] Production.INFO: ==2140== Releasing lock...
[2025-01-07 11:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:11:04] Production.INFO: Date 2024-12-16
[2025-01-07 11:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:11:04] Production.INFO: Date 2024-12-17
[2025-01-07 11:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:11:04] Production.ERROR: done
[2025-01-07 11:11:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:11:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:11:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:11:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:11:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:11:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:11:04] Production.INFO: Date 2024-12-24
[2025-01-07 11:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:11:04] Production.INFO: Date 2024-12-25
[2025-01-07 11:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:11:04] Production.INFO: Date 2024-12-26
[2025-01-07 11:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:11:04] Production.INFO: Date 2024-12-27
[2025-01-07 11:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:11:04] Production.INFO: Date 2024-12-28
[2025-01-07 11:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:11:04] Production.INFO: Date 2024-12-29
[2025-01-07 11:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:11:04] Production.INFO: Date 2024-12-30
[2025-01-07 11:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:11:04] Production.INFO: Date 2024-12-31
[2025-01-07 11:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:11:04] Production.INFO: Date 2025-01-01
[2025-01-07 11:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:11:04] Production.INFO: Date 2025-01-02
[2025-01-07 11:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:11:04] Production.INFO: Date 2025-01-03
[2025-01-07 11:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:11:04] Production.INFO: Date 2025-01-04
[2025-01-07 11:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:11:04] Production.INFO: Date 2025-01-05
[2025-01-07 11:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:11:04] Production.INFO: Date 2025-01-06
[2025-01-07 11:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:11:04] Production.INFO: Date 2025-01-07
[2025-01-07 11:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:11:04] Production.INFO: Total Charge 0
[2025-01-07 11:11:04] Production.INFO: CreateAllLog End
[2025-01-07 11:11:05] Production.INFO: Account Balance End.
[2025-01-07 11:11:05] Production.ERROR: CronJobId end 12
[2025-01-07 11:11:05] Production.INFO: ==2144== Releasing lock...
[2025-01-07 11:11:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:11:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:11:05
[end_date_ymd] => 2025-01-07 11:11:05
[RateCDR] => 1
)
[2025-01-07 11:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 08:11:05' and `end` < '2025-01-07 11:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 11:11:11] Production.ERROR: CronJobId end10
[2025-01-07 11:11:11] Production.INFO: ==2142== Releasing lock...
[2025-01-07 11:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:11:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:11:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:11:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:11:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:11:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:11:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:11:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:11:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:11:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:11:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:11:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:11:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:11:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:11:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:11:13] Production.INFO: call_cost start
[2025-01-07 11:11:13] Production.INFO: call_cost end
[2025-01-07 11:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:11:14] Production.INFO: ==2138== Releasing lock...
[2025-01-07 11:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:11:29] Production.INFO: count ==3634
[2025-01-07 11:11:30] Production.ERROR: pbx CDR StartTime 2025-01-07 08:11:05 - End Time 2025-01-07 11:11:05
[2025-01-07 11:11:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:11:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194508', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:11:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194508', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:11:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194508', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:11:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194508', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:11:30] Production.INFO: ProcessCDR(1,14194508,1,1,2)
[2025-01-07 11:11:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194508,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:11:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194508,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:11:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194508,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:11:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194508,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:11:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194508', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:11:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194508', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:11:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:11:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:11:35] Production.INFO: ==2146== Releasing lock...
[2025-01-07 11:11:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:11:35] Production.INFO: 55.25 MB #Memory Used#
[2025-01-07 16:12:01] Production.INFO: ==2283== Lock acquired, processing the job...
[2025-01-07 16:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:12:01] Production.INFO: neon service started
[2025-01-07 16:12:01] Production.INFO: neon service started
[2025-01-07 16:12:01] Production.INFO: ==2283== Releasing lock...
[2025-01-07 16:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:12:01] Production.INFO: ==2285== Lock acquired, processing the job...
[2025-01-07 11:12:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:12:02] Production.INFO: ==2285== Releasing lock...
[2025-01-07 11:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 16:12:02] Production.INFO: ==2287== Lock acquired, processing the job...
[2025-01-07 16:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:12:02] Production.INFO: ==2287== Releasing lock...
[2025-01-07 16:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:12:03] Production.INFO: ==2293== Lock acquired, processing the job...
[2025-01-07 11:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:12:03] Production.INFO: ==2297== Lock acquired, processing the job...
[2025-01-07 11:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:12:03] Production.INFO: ==2291== Lock acquired, processing the job...
[2025-01-07 11:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:12:03] Production.INFO: ==2289== Lock acquired, processing the job...
[2025-01-07 11:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:12:03] Production.INFO: ==2295== Lock acquired, processing the job...
[2025-01-07 11:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:12:03] Production.INFO: ==2299== Lock acquired, processing the job...
[2025-01-07 11:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:12:03] Production.ERROR: done
[2025-01-07 11:12:03] Production.INFO: Account Balance Start.
[2025-01-07 11:12:03] Production.INFO: CreateAllLog Start
[2025-01-07 11:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:12:03] Production.INFO: 117
[2025-01-07 11:12:03] Production.INFO: Date 2024-12-08
[2025-01-07 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-07 11:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:12:03] Production.INFO: count ==21
[2025-01-07 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-07 11:12:03] Production.INFO: count ==21
[2025-01-07 11:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194512') start
[2025-01-07 11:12:03] Production.ERROR: done
[2025-01-07 11:12:03] Production.INFO: Date 2024-12-09
[2025-01-07 11:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:12:03] Production.INFO: Date 2024-12-10
[2025-01-07 11:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:12:03] Production.INFO: ==2291== Releasing lock...
[2025-01-07 11:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:12:03] Production.INFO: Date 2024-12-11
[2025-01-07 11:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:12:03] Production.INFO: Date 2024-12-12
[2025-01-07 11:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194512') end
[2025-01-07 11:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:12:03] Production.INFO: 1
[2025-01-07 11:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:12:03] Production.INFO: Date 2024-12-13
[2025-01-07 11:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:12:03] Production.INFO: ==2299== Releasing lock...
[2025-01-07 11:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:12:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:12:03] Production.INFO: Date 2024-12-14
[2025-01-07 11:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:12:03] Production.INFO: Date 2024-12-15
[2025-01-07 11:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:12:04] Production.INFO: Date 2024-12-16
[2025-01-07 11:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:12:04] Production.INFO: Date 2024-12-17
[2025-01-07 11:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:12:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:12:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:12:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:12:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:12:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:12:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:12:04] Production.INFO: Date 2024-12-24
[2025-01-07 11:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:12:04] Production.INFO: Date 2024-12-25
[2025-01-07 11:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:12:04] Production.INFO: Date 2024-12-26
[2025-01-07 11:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:12:04] Production.INFO: Date 2024-12-27
[2025-01-07 11:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:12:04] Production.INFO: Date 2024-12-28
[2025-01-07 11:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:12:04] Production.INFO: Date 2024-12-29
[2025-01-07 11:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:12:04] Production.INFO: Date 2024-12-30
[2025-01-07 11:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:12:04] Production.INFO: Date 2024-12-31
[2025-01-07 11:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:12:04] Production.INFO: Date 2025-01-01
[2025-01-07 11:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:12:04] Production.INFO: Date 2025-01-02
[2025-01-07 11:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:12:04] Production.INFO: Date 2025-01-03
[2025-01-07 11:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:12:04] Production.INFO: Date 2025-01-04
[2025-01-07 11:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:12:04] Production.INFO: Date 2025-01-05
[2025-01-07 11:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:12:05] Production.INFO: Date 2025-01-06
[2025-01-07 11:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:12:05] Production.INFO: Date 2025-01-07
[2025-01-07 11:12:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:12:05] Production.INFO: Total Charge 0
[2025-01-07 11:12:05] Production.INFO: CreateAllLog End
[2025-01-07 11:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:12:05
[end_date_ymd] => 2025-01-07 11:12:05
[RateCDR] => 1
)
[2025-01-07 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-07 08:12:05' and `end` < '2025-01-07 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-07 11:12:05] Production.INFO: Account Balance End.
[2025-01-07 11:12:05] Production.ERROR: CronJobId end 12
[2025-01-07 11:12:05] Production.INFO: ==2295== Releasing lock...
[2025-01-07 11:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:12:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:12:11] Production.ERROR: CronJobId end10
[2025-01-07 11:12:11] Production.INFO: ==2293== Releasing lock...
[2025-01-07 11:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:12:14] Production.INFO: call_cost start
[2025-01-07 11:12:14] Production.INFO: call_cost end
[2025-01-07 11:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:12:14] Production.INFO: ==2289== Releasing lock...
[2025-01-07 11:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:12:24] Production.INFO: count ==3656
[2025-01-07 11:12:25] Production.ERROR: pbx CDR StartTime 2025-01-07 08:12:05 - End Time 2025-01-07 11:12:05
[2025-01-07 11:12:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:12:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194513', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:12:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194513', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:12:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194513', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:12:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194513', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:12:25] Production.INFO: ProcessCDR(1,14194513,1,1,2)
[2025-01-07 11:12:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194513,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:12:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194513,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:12:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194513,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:12:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194513,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:12:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194513', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:12:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194513', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:12:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:12:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:12:30] Production.INFO: ==2297== Releasing lock...
[2025-01-07 11:12:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:12:30] Production.INFO: 55.5 MB #Memory Used#
[2025-01-07 16:13:01] Production.INFO: ==2353== Lock acquired, processing the job...
[2025-01-07 16:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:13:01] Production.INFO: neon service started
[2025-01-07 16:13:01] Production.INFO: neon service started
[2025-01-07 16:13:01] Production.INFO: ==2353== Releasing lock...
[2025-01-07 16:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:13:02] Production.INFO: ==2355== Lock acquired, processing the job...
[2025-01-07 11:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:13:02] Production.INFO: ==2355== Releasing lock...
[2025-01-07 11:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 16:13:02] Production.INFO: ==2357== Lock acquired, processing the job...
[2025-01-07 16:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:13:02] Production.INFO: ==2357== Releasing lock...
[2025-01-07 16:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:13:03] Production.INFO: ==2364== Lock acquired, processing the job...
[2025-01-07 11:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:13:03] Production.INFO: ==2370== Lock acquired, processing the job...
[2025-01-07 11:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:13:03] Production.INFO: ==2362== Lock acquired, processing the job...
[2025-01-07 11:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:13:03] Production.INFO: ==2360== Lock acquired, processing the job...
[2025-01-07 11:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:13:03] Production.INFO: count ==21
[2025-01-07 11:13:03] Production.INFO: ==2366== Lock acquired, processing the job...
[2025-01-07 11:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:13:03] Production.INFO: ==2368== Lock acquired, processing the job...
[2025-01-07 11:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:13:03] Production.INFO: ==2362== Releasing lock...
[2025-01-07 11:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:13:03] Production.INFO: count ==21
[2025-01-07 11:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194514') start
[2025-01-07 11:13:03] Production.INFO: Account Balance Start.
[2025-01-07 11:13:03] Production.INFO: CreateAllLog Start
[2025-01-07 11:13:03] Production.INFO: 117
[2025-01-07 11:13:03] Production.INFO: Date 2024-12-08
[2025-01-07 11:13:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194514') end
[2025-01-07 11:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:13:04] Production.INFO: 1
[2025-01-07 11:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:13:04] Production.INFO: Date 2024-12-09
[2025-01-07 11:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:13:04] Production.INFO: Date 2024-12-10
[2025-01-07 11:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:13:04] Production.ERROR: done
[2025-01-07 11:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:13:04] Production.INFO: Date 2024-12-11
[2025-01-07 11:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:13:04] Production.INFO: Date 2024-12-12
[2025-01-07 11:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:13:04] Production.INFO: Date 2024-12-13
[2025-01-07 11:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:13:04] Production.INFO: Date 2024-12-14
[2025-01-07 11:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:13:04] Production.INFO: ==2370== Releasing lock...
[2025-01-07 11:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:13:04] Production.ERROR: done
[2025-01-07 11:13:04] Production.INFO: Date 2024-12-15
[2025-01-07 11:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:13:04] Production.INFO: Date 2024-12-16
[2025-01-07 11:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:13:04] Production.INFO: Date 2024-12-17
[2025-01-07 11:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:13:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:13:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:13:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:13:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:13:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:13:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:13:04] Production.INFO: Date 2024-12-24
[2025-01-07 11:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:13:04] Production.INFO: Date 2024-12-25
[2025-01-07 11:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:13:04] Production.INFO: Date 2024-12-26
[2025-01-07 11:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:13:04] Production.INFO: Date 2024-12-27
[2025-01-07 11:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:13:04] Production.INFO: Date 2024-12-28
[2025-01-07 11:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:13:04] Production.INFO: Date 2024-12-29
[2025-01-07 11:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:13:04] Production.INFO: Date 2024-12-30
[2025-01-07 11:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:13:04] Production.INFO: Date 2024-12-31
[2025-01-07 11:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:13:04] Production.INFO: Date 2025-01-01
[2025-01-07 11:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:13:04] Production.INFO: Date 2025-01-02
[2025-01-07 11:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:13:04] Production.INFO: Date 2025-01-03
[2025-01-07 11:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:13:04] Production.INFO: Date 2025-01-04
[2025-01-07 11:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:13:04] Production.INFO: Date 2025-01-05
[2025-01-07 11:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:13:04] Production.INFO: Date 2025-01-06
[2025-01-07 11:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:13:04] Production.INFO: Date 2025-01-07
[2025-01-07 11:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:13:05] Production.INFO: Total Charge 0
[2025-01-07 11:13:05] Production.INFO: CreateAllLog End
[2025-01-07 11:13:05] Production.INFO: Account Balance End.
[2025-01-07 11:13:05] Production.ERROR: CronJobId end 12
[2025-01-07 11:13:05] Production.INFO: ==2366== Releasing lock...
[2025-01-07 11:13:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:13:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:13:05
[end_date_ymd] => 2025-01-07 11:13:05
[RateCDR] => 1
)
[2025-01-07 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-07 08:13:05' and `end` < '2025-01-07 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-07 11:13:12] Production.ERROR: CronJobId end10
[2025-01-07 11:13:12] Production.INFO: ==2364== Releasing lock...
[2025-01-07 11:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:13:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:13:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:13:14] Production.INFO: call_cost start
[2025-01-07 11:13:14] Production.INFO: call_cost end
[2025-01-07 11:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:13:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:13:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:13:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:13:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:13:15] Production.INFO: ==2360== Releasing lock...
[2025-01-07 11:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:13:26] Production.INFO: count ==3675
[2025-01-07 11:13:27] Production.ERROR: pbx CDR StartTime 2025-01-07 08:13:05 - End Time 2025-01-07 11:13:05
[2025-01-07 11:13:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:13:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194518', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:13:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194518', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:13:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194518', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:13:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194518', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:13:27] Production.INFO: ProcessCDR(1,14194518,1,1,2)
[2025-01-07 11:13:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194518,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:13:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194518,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:13:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194518,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:13:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194518,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:13:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194518', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:13:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194518', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:13:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:13:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:13:33] Production.INFO: ==2368== Releasing lock...
[2025-01-07 11:13:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:13:33] Production.INFO: 55.5 MB #Memory Used#
[2025-01-07 16:14:02] Production.INFO: ==2428== Lock acquired, processing the job...
[2025-01-07 16:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:14:02] Production.INFO: neon service started
[2025-01-07 16:14:02] Production.INFO: neon service started
[2025-01-07 16:14:02] Production.INFO: ==2428== Releasing lock...
[2025-01-07 16:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 16:14:02] Production.INFO: ==2432== Lock acquired, processing the job...
[2025-01-07 16:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:14:02] Production.INFO: ==2432== Releasing lock...
[2025-01-07 16:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:14:02] Production.INFO: ==2430== Lock acquired, processing the job...
[2025-01-07 11:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:14:02] Production.INFO: ==2430== Releasing lock...
[2025-01-07 11:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:14:03] Production.INFO: ==2435== Lock acquired, processing the job...
[2025-01-07 11:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:14:03] Production.INFO: ==2441== Lock acquired, processing the job...
[2025-01-07 11:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:14:03] Production.INFO: ==2443== Lock acquired, processing the job...
[2025-01-07 11:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:14:03] Production.INFO: Account Balance Start.
[2025-01-07 11:14:03] Production.INFO: CreateAllLog Start
[2025-01-07 11:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:14:03] Production.INFO: 117
[2025-01-07 11:14:03] Production.INFO: Date 2024-12-08
[2025-01-07 11:14:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:14:03] Production.INFO: Date 2024-12-09
[2025-01-07 11:14:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:14:04] Production.INFO: Date 2024-12-10
[2025-01-07 11:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:14:04] Production.INFO: Date 2024-12-11
[2025-01-07 11:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:14:04] Production.INFO: Date 2024-12-12
[2025-01-07 11:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:14:04] Production.INFO: ==2445== Lock acquired, processing the job...
[2025-01-07 11:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:14:04] Production.INFO: Date 2024-12-13
[2025-01-07 11:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:14:04] Production.INFO: Date 2024-12-14
[2025-01-07 11:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:14:04] Production.INFO: ==2437== Lock acquired, processing the job...
[2025-01-07 11:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:14:04] Production.INFO: Date 2024-12-15
[2025-01-07 11:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:14:04] Production.INFO: ==2439== Lock acquired, processing the job...
[2025-01-07 11:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:14:04] Production.INFO: count ==21
[2025-01-07 11:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:14:04] Production.INFO: count ==21
[2025-01-07 11:14:04] Production.INFO: Date 2024-12-16
[2025-01-07 11:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:14:04] Production.ERROR: done
[2025-01-07 11:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194521') start
[2025-01-07 11:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:14:04] Production.INFO: Date 2024-12-17
[2025-01-07 11:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:14:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:14:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:14:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194521') end
[2025-01-07 11:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:14:04] Production.INFO: 1
[2025-01-07 11:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:14:04] Production.ERROR: done
[2025-01-07 11:14:04] Production.INFO: ==2445== Releasing lock...
[2025-01-07 11:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:14:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:14:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:14:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:14:04] Production.INFO: ==2437== Releasing lock...
[2025-01-07 11:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:14:04] Production.INFO: Date 2024-12-24
[2025-01-07 11:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:14:04] Production.INFO: Date 2024-12-25
[2025-01-07 11:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:14:04] Production.INFO: Date 2024-12-26
[2025-01-07 11:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:14:04] Production.INFO: Date 2024-12-27
[2025-01-07 11:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:14:04] Production.INFO: Date 2024-12-28
[2025-01-07 11:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:14:04] Production.INFO: Date 2024-12-29
[2025-01-07 11:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:14:05] Production.INFO: Date 2024-12-30
[2025-01-07 11:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:14:05] Production.INFO: Date 2024-12-31
[2025-01-07 11:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:14:05] Production.INFO: Date 2025-01-01
[2025-01-07 11:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:14:05] Production.INFO: Date 2025-01-02
[2025-01-07 11:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:14:05] Production.INFO: Date 2025-01-03
[2025-01-07 11:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:14:05] Production.INFO: Date 2025-01-04
[2025-01-07 11:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:14:05] Production.INFO: Date 2025-01-05
[2025-01-07 11:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:14:05] Production.INFO: Date 2025-01-06
[2025-01-07 11:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:14:05] Production.INFO: Date 2025-01-07
[2025-01-07 11:14:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:14:05] Production.INFO: Total Charge 0
[2025-01-07 11:14:05] Production.INFO: CreateAllLog End
[2025-01-07 11:14:05] Production.INFO: Account Balance End.
[2025-01-07 11:14:05] Production.ERROR: CronJobId end 12
[2025-01-07 11:14:05] Production.INFO: ==2441== Releasing lock...
[2025-01-07 11:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:14:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:14:05
[end_date_ymd] => 2025-01-07 11:14:05
[RateCDR] => 1
)
[2025-01-07 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-07 08:14:05' and `end` < '2025-01-07 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-07 11:14:12] Production.ERROR: CronJobId end10
[2025-01-07 11:14:12] Production.INFO: ==2439== Releasing lock...
[2025-01-07 11:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:14:14] Production.INFO: call_cost start
[2025-01-07 11:14:14] Production.INFO: call_cost end
[2025-01-07 11:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:14:14] Production.INFO: ==2435== Releasing lock...
[2025-01-07 11:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:14:20] Production.INFO: count ==3678
[2025-01-07 11:14:22] Production.ERROR: pbx CDR StartTime 2025-01-07 08:14:05 - End Time 2025-01-07 11:14:05
[2025-01-07 11:14:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:14:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194523', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:14:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194523', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:14:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194523', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:14:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194523', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:14:22] Production.INFO: ProcessCDR(1,14194523,1,1,2)
[2025-01-07 11:14:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194523,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:14:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194523,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:14:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194523,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:14:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194523,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:14:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194523', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:14:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194523', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:14:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:14:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:14:26] Production.INFO: ==2443== Releasing lock...
[2025-01-07 11:14:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:14:26] Production.INFO: 55.75 MB #Memory Used#
[2025-01-07 16:15:01] Production.INFO: ==2575== Lock acquired, processing the job...
[2025-01-07 16:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:15:01] Production.INFO: neon service started
[2025-01-07 16:15:01] Production.INFO: neon service started
[2025-01-07 16:15:01] Production.INFO: ==2575== Releasing lock...
[2025-01-07 16:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:15:01] Production.INFO: ==2577== Lock acquired, processing the job...
[2025-01-07 11:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:15:02] Production.INFO: ==2577== Releasing lock...
[2025-01-07 11:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 16:15:02] Production.INFO: ==2579== Lock acquired, processing the job...
[2025-01-07 16:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:15:02] Production.INFO: ==2579== Releasing lock...
[2025-01-07 16:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:15:02] Production.INFO: ==2581== Lock acquired, processing the job...
[2025-01-07 11:15:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:15:02] Production.INFO: ==2583== Lock acquired, processing the job...
[2025-01-07 11:15:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:15:03] Production.INFO: ==2585== Lock acquired, processing the job...
[2025-01-07 11:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:15:03] Production.INFO: ==2583== Releasing lock...
[2025-01-07 11:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:15:03] Production.INFO: ==2587== Lock acquired, processing the job...
[2025-01-07 11:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:15:03] Production.INFO: ==2589== Lock acquired, processing the job...
[2025-01-07 11:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:15:03] Production.INFO: Account Balance Start.
[2025-01-07 11:15:03] Production.INFO: CreateAllLog Start
[2025-01-07 11:15:03] Production.INFO: 117
[2025-01-07 11:15:03] Production.INFO: Date 2024-12-08
[2025-01-07 11:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:15:03] Production.INFO: Date 2024-12-09
[2025-01-07 11:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:15:03] Production.INFO: ==2591== Lock acquired, processing the job...
[2025-01-07 11:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:15:03] Production.INFO: Date 2024-12-10
[2025-01-07 11:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:15:03] Production.INFO: Date 2024-12-11
[2025-01-07 11:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:15:03] Production.INFO: Date 2024-12-12
[2025-01-07 11:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:15:03] Production.INFO: Date 2024-12-13
[2025-01-07 11:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:15:03] Production.INFO: Date 2024-12-14
[2025-01-07 11:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 11:15:03] Production.INFO: Date 2024-12-15
[2025-01-07 11:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:15:03] Production.INFO: Date 2024-12-16
[2025-01-07 11:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:15:03] Production.ERROR: done
[2025-01-07 11:15:03] Production.INFO: Date 2024-12-17
[2025-01-07 11:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:15:03] Production.INFO: count ==21
[2025-01-07 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-07 11:15:03] Production.INFO: count ==21
[2025-01-07 11:15:03] Production.INFO: Date 2024-12-18
[2025-01-07 11:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:15:03] Production.INFO: Date 2024-12-19
[2025-01-07 11:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194527') start
[2025-01-07 11:15:04] Production.ERROR: done
[2025-01-07 11:15:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:15:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:15:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194527') end
[2025-01-07 11:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:15:04] Production.INFO: 1
[2025-01-07 11:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:15:04] Production.INFO: ==2591== Releasing lock...
[2025-01-07 11:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:15:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:15:04] Production.INFO: Date 2024-12-24
[2025-01-07 11:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:15:04] Production.INFO: Date 2024-12-25
[2025-01-07 11:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:15:04] Production.INFO: Date 2024-12-26
[2025-01-07 11:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:15:04] Production.INFO: Date 2024-12-27
[2025-01-07 11:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:15:04] Production.INFO: Date 2024-12-28
[2025-01-07 11:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:15:04] Production.INFO: Date 2024-12-29
[2025-01-07 11:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:15:04] Production.INFO: Date 2024-12-30
[2025-01-07 11:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:15:04] Production.INFO: Date 2024-12-31
[2025-01-07 11:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:15:04] Production.INFO: Date 2025-01-01
[2025-01-07 11:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:15:04] Production.INFO: Date 2025-01-02
[2025-01-07 11:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:15:04] Production.INFO: Date 2025-01-03
[2025-01-07 11:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:15:04] Production.INFO: Date 2025-01-04
[2025-01-07 11:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:15:04] Production.INFO: Date 2025-01-05
[2025-01-07 11:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:15:04] Production.INFO: Date 2025-01-06
[2025-01-07 11:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:15:05] Production.INFO: Date 2025-01-07
[2025-01-07 11:15:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:15:05] Production.INFO: Total Charge 0
[2025-01-07 11:15:05] Production.INFO: CreateAllLog End
[2025-01-07 11:15:05] Production.INFO: Account Balance End.
[2025-01-07 11:15:05] Production.ERROR: CronJobId end 12
[2025-01-07 11:15:05] Production.INFO: ==2587== Releasing lock...
[2025-01-07 11:15:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:15:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:15:05
[end_date_ymd] => 2025-01-07 11:15:05
[RateCDR] => 1
)
[2025-01-07 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-07 08:15:05' and `end` < '2025-01-07 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-07 11:15:11] Production.ERROR: CronJobId end10
[2025-01-07 11:15:11] Production.INFO: ==2585== Releasing lock...
[2025-01-07 11:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:15:13] Production.INFO: call_cost start
[2025-01-07 11:15:13] Production.INFO: call_cost end
[2025-01-07 11:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:15:14] Production.INFO: ==2581== Releasing lock...
[2025-01-07 11:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:15:31] Production.INFO: count ==3686
[2025-01-07 11:15:33] Production.ERROR: pbx CDR StartTime 2025-01-07 08:15:05 - End Time 2025-01-07 11:15:05
[2025-01-07 11:15:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:15:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194528', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:15:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194528', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:15:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194528', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:15:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194528', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:15:33] Production.INFO: ProcessCDR(1,14194528,1,1,2)
[2025-01-07 11:15:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194528,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:15:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194528,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:15:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194528,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:15:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194528,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:15:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194528', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:15:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194528', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:15:38] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:15:38] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:15:38] Production.INFO: ==2589== Releasing lock...
[2025-01-07 11:15:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:15:38] Production.INFO: 56.25 MB #Memory Used#
[2025-01-07 16:16:02] Production.INFO: ==2658== Lock acquired, processing the job...
[2025-01-07 16:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:16:02] Production.INFO: neon service started
[2025-01-07 16:16:02] Production.INFO: neon service started
[2025-01-07 16:16:02] Production.INFO: ==2658== Releasing lock...
[2025-01-07 16:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:16:02] Production.INFO: ==2660== Lock acquired, processing the job...
[2025-01-07 11:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:16:02] Production.INFO: ==2660== Releasing lock...
[2025-01-07 11:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 16:16:02] Production.INFO: ==2662== Lock acquired, processing the job...
[2025-01-07 16:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:16:03] Production.INFO: ==2662== Releasing lock...
[2025-01-07 16:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:16:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:16:03] Production.INFO: ==2669== Lock acquired, processing the job...
[2025-01-07 11:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:16:03] Production.INFO: ==2673== Lock acquired, processing the job...
[2025-01-07 11:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:16:03] Production.INFO: ==2665== Lock acquired, processing the job...
[2025-01-07 11:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:16:03] Production.INFO: ==2667== Lock acquired, processing the job...
[2025-01-07 11:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:16:03] Production.INFO: ==2671== Lock acquired, processing the job...
[2025-01-07 11:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:16:04] Production.INFO: ==2675== Lock acquired, processing the job...
[2025-01-07 11:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:16:04] Production.ERROR: done
[2025-01-07 11:16:04] Production.INFO: Account Balance Start.
[2025-01-07 11:16:04] Production.INFO: CreateAllLog Start
[2025-01-07 11:16:04] Production.INFO: 117
[2025-01-07 11:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:16:04] Production.INFO: Date 2024-12-08
[2025-01-07 11:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:16:04] Production.INFO: Date 2024-12-09
[2025-01-07 11:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:16:04] Production.INFO: count ==21
[2025-01-07 11:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:16:04] Production.INFO: count ==21
[2025-01-07 11:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194532') start
[2025-01-07 11:16:04] Production.ERROR: done
[2025-01-07 11:16:04] Production.INFO: Date 2024-12-10
[2025-01-07 11:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:16:04] Production.INFO: Date 2024-12-11
[2025-01-07 11:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:16:04] Production.INFO: ==2667== Releasing lock...
[2025-01-07 11:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:16:04] Production.INFO: Date 2024-12-12
[2025-01-07 11:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194532') end
[2025-01-07 11:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:16:04] Production.INFO: 1
[2025-01-07 11:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:16:04] Production.INFO: Date 2024-12-13
[2025-01-07 11:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:16:04] Production.INFO: Date 2024-12-14
[2025-01-07 11:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:16:04] Production.INFO: ==2675== Releasing lock...
[2025-01-07 11:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:16:04] Production.INFO: Date 2024-12-15
[2025-01-07 11:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:16:04] Production.INFO: Date 2024-12-16
[2025-01-07 11:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:16:04] Production.INFO: Date 2024-12-17
[2025-01-07 11:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:16:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:16:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:16:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:16:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:16:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:16:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:16:05] Production.INFO: Date 2024-12-24
[2025-01-07 11:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:16:05] Production.INFO: Date 2024-12-25
[2025-01-07 11:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:16:05] Production.INFO: Date 2024-12-26
[2025-01-07 11:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:16:05] Production.INFO: Date 2024-12-27
[2025-01-07 11:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:16:05] Production.INFO: Date 2024-12-28
[2025-01-07 11:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:16:05] Production.INFO: Date 2024-12-29
[2025-01-07 11:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:16:05] Production.INFO: Date 2024-12-30
[2025-01-07 11:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:16:05] Production.INFO: Date 2024-12-31
[2025-01-07 11:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:16:05] Production.INFO: Date 2025-01-01
[2025-01-07 11:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:16:05] Production.INFO: Date 2025-01-02
[2025-01-07 11:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:16:05] Production.INFO: Date 2025-01-03
[2025-01-07 11:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:16:05] Production.INFO: Date 2025-01-04
[2025-01-07 11:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:16:05] Production.INFO: Date 2025-01-05
[2025-01-07 11:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:16:05] Production.INFO: Date 2025-01-06
[2025-01-07 11:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:16:05] Production.INFO: Date 2025-01-07
[2025-01-07 11:16:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:16:05] Production.INFO: Total Charge 0
[2025-01-07 11:16:05] Production.INFO: CreateAllLog End
[2025-01-07 11:16:05] Production.INFO: Account Balance End.
[2025-01-07 11:16:05] Production.ERROR: CronJobId end 12
[2025-01-07 11:16:05] Production.INFO: ==2671== Releasing lock...
[2025-01-07 11:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:16:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:16:05
[end_date_ymd] => 2025-01-07 11:16:05
[RateCDR] => 1
)
[2025-01-07 11:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 08:16:05' and `end` < '2025-01-07 11:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 11:16:12] Production.ERROR: CronJobId end10
[2025-01-07 11:16:12] Production.INFO: ==2669== Releasing lock...
[2025-01-07 11:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:16:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:16:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:16:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:16:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:16:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:16:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:16:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:16:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:16:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:16:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:16:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:16:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:16:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:16:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:16:14] Production.INFO: call_cost start
[2025-01-07 11:16:14] Production.INFO: call_cost end
[2025-01-07 11:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:16:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:16:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:16:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:16:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:16:15] Production.INFO: ==2665== Releasing lock...
[2025-01-07 11:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:16:21] Production.INFO: count ==3703
[2025-01-07 11:16:22] Production.ERROR: pbx CDR StartTime 2025-01-07 08:16:05 - End Time 2025-01-07 11:16:05
[2025-01-07 11:16:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:16:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194533', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:16:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194533', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:16:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194533', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:16:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194533', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:16:23] Production.INFO: ProcessCDR(1,14194533,1,1,2)
[2025-01-07 11:16:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194533,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:16:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194533,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:16:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194533,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:16:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194533,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:16:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194533', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:16:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194533', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:16:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:16:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:16:28] Production.INFO: ==2673== Releasing lock...
[2025-01-07 11:16:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:16:28] Production.INFO: 55.75 MB #Memory Used#
[2025-01-07 16:17:01] Production.INFO: ==2738== Lock acquired, processing the job...
[2025-01-07 16:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:17:01] Production.INFO: neon service started
[2025-01-07 16:17:01] Production.INFO: neon service started
[2025-01-07 16:17:01] Production.INFO: ==2738== Releasing lock...
[2025-01-07 16:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 16:17:01] Production.INFO: ==2742== Lock acquired, processing the job...
[2025-01-07 16:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:17:01] Production.INFO: ==2742== Releasing lock...
[2025-01-07 16:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:17:01] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:17:02] Production.INFO: ==2740== Lock acquired, processing the job...
[2025-01-07 11:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:17:02] Production.INFO: ==2740== Releasing lock...
[2025-01-07 11:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:17:03] Production.INFO: ==2748== Lock acquired, processing the job...
[2025-01-07 11:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:17:03] Production.INFO: ==2755== Lock acquired, processing the job...
[2025-01-07 11:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:17:03] Production.INFO: ==2744== Lock acquired, processing the job...
[2025-01-07 11:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:17:03] Production.INFO: ==2746== Lock acquired, processing the job...
[2025-01-07 11:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 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-07 11:17:03] Production.INFO: count ==21
[2025-01-07 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-07 11:17:03] Production.INFO: count ==21
[2025-01-07 11:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194534') start
[2025-01-07 11:17:03] Production.INFO: ==2751== Lock acquired, processing the job...
[2025-01-07 11:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:17:03] Production.INFO: ==2753== Lock acquired, processing the job...
[2025-01-07 11:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:17:03] Production.INFO: Account Balance Start.
[2025-01-07 11:17:03] Production.INFO: CreateAllLog Start
[2025-01-07 11:17:03] Production.INFO: 117
[2025-01-07 11:17:03] Production.INFO: Date 2024-12-08
[2025-01-07 11:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194534') end
[2025-01-07 11:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:17:03] Production.INFO: 1
[2025-01-07 11:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:17:03] Production.INFO: Date 2024-12-09
[2025-01-07 11:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:17:03] Production.INFO: Date 2024-12-10
[2025-01-07 11:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:17:03] Production.INFO: ==2755== Releasing lock...
[2025-01-07 11:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:17:03] Production.INFO: Date 2024-12-11
[2025-01-07 11:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:17:03] Production.INFO: ==2746== Releasing lock...
[2025-01-07 11:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:17:03] Production.INFO: Date 2024-12-12
[2025-01-07 11:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:17:03] Production.INFO: Date 2024-12-13
[2025-01-07 11:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:17:03] Production.INFO: Date 2024-12-14
[2025-01-07 11:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:17:03] Production.ERROR: done
[2025-01-07 11:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:17:03] Production.INFO: Date 2024-12-15
[2025-01-07 11:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:17:03] Production.INFO: Date 2024-12-16
[2025-01-07 11:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:17:03] Production.INFO: Date 2024-12-17
[2025-01-07 11:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:17:04] Production.ERROR: done
[2025-01-07 11:17:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:17:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:17:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:17:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:17:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:17:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:17:04] Production.INFO: Date 2024-12-24
[2025-01-07 11:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:17:04] Production.INFO: Date 2024-12-25
[2025-01-07 11:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:17:04] Production.INFO: Date 2024-12-26
[2025-01-07 11:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:17:04] Production.INFO: Date 2024-12-27
[2025-01-07 11:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:17:04] Production.INFO: Date 2024-12-28
[2025-01-07 11:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:17:04] Production.INFO: Date 2024-12-29
[2025-01-07 11:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:17:04] Production.INFO: Date 2024-12-30
[2025-01-07 11:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:17:04] Production.INFO: Date 2024-12-31
[2025-01-07 11:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:17:04] Production.INFO: Date 2025-01-01
[2025-01-07 11:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:17:04] Production.INFO: Date 2025-01-02
[2025-01-07 11:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:17:04] Production.INFO: Date 2025-01-03
[2025-01-07 11:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:17:04] Production.INFO: Date 2025-01-04
[2025-01-07 11:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:17:04] Production.INFO: Date 2025-01-05
[2025-01-07 11:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:17:04] Production.INFO: Date 2025-01-06
[2025-01-07 11:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:17:04] Production.INFO: Date 2025-01-07
[2025-01-07 11:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:17:04] Production.INFO: Total Charge 0
[2025-01-07 11:17:04] Production.INFO: CreateAllLog End
[2025-01-07 11:17:04] Production.INFO: Account Balance End.
[2025-01-07 11:17:04] Production.ERROR: CronJobId end 12
[2025-01-07 11:17:04] Production.INFO: ==2751== Releasing lock...
[2025-01-07 11:17:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:17:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:17:05
[end_date_ymd] => 2025-01-07 11:17:05
[RateCDR] => 1
)
[2025-01-07 11:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 08:17:05' and `end` < '2025-01-07 11:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 11:17:11] Production.ERROR: CronJobId end10
[2025-01-07 11:17:11] Production.INFO: ==2748== Releasing lock...
[2025-01-07 11:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:17:13] Production.INFO: call_cost start
[2025-01-07 11:17:13] Production.INFO: call_cost end
[2025-01-07 11:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:17:14] Production.INFO: ==2744== Releasing lock...
[2025-01-07 11:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:17:19] Production.INFO: count ==3711
[2025-01-07 11:17:20] Production.ERROR: pbx CDR StartTime 2025-01-07 08:17:05 - End Time 2025-01-07 11:17:05
[2025-01-07 11:17:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194538', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194538', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194538', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194538', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:17:20] Production.INFO: ProcessCDR(1,14194538,1,1,2)
[2025-01-07 11:17:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194538,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:17:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194538,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:17:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194538,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:17:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194538,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:17:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194538', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:17:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194538', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:17:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:17:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:17:25] Production.INFO: ==2753== Releasing lock...
[2025-01-07 11:17:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:17:25] Production.INFO: 55.75 MB #Memory Used#
[2025-01-07 16:18:02] Production.INFO: ==2847== Lock acquired, processing the job...
[2025-01-07 16:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:18:02] Production.INFO: neon service started
[2025-01-07 16:18:02] Production.INFO: neon service started
[2025-01-07 16:18:02] Production.INFO: ==2847== Releasing lock...
[2025-01-07 16:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:18:02] Production.INFO: ==2849== Lock acquired, processing the job...
[2025-01-07 11:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 16:18:02] Production.INFO: ==2851== Lock acquired, processing the job...
[2025-01-07 16:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:18:02] Production.INFO: ==2851== Releasing lock...
[2025-01-07 16:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:18:03] Production.INFO: ==2849== Releasing lock...
[2025-01-07 11:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:18:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:18:03] Production.INFO: ==2854== Lock acquired, processing the job...
[2025-01-07 11:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:18:04] Production.INFO: ==2858== Lock acquired, processing the job...
[2025-01-07 11:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:18:04] Production.INFO: ==2860== Lock acquired, processing the job...
[2025-01-07 11:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:18:04] Production.INFO: Account Balance Start.
[2025-01-07 11:18:04] Production.INFO: CreateAllLog Start
[2025-01-07 11:18:04] Production.INFO: 117
[2025-01-07 11:18:04] Production.INFO: Date 2024-12-08
[2025-01-07 11:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:18:04] Production.INFO: Date 2024-12-09
[2025-01-07 11:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:18:04] Production.INFO: ==2856== Lock acquired, processing the job...
[2025-01-07 11:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:18:04] Production.INFO: Date 2024-12-10
[2025-01-07 11:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:18:04] Production.INFO: Date 2024-12-11
[2025-01-07 11:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:18:04] Production.INFO: Date 2024-12-12
[2025-01-07 11:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:18:04] Production.INFO: Date 2024-12-13
[2025-01-07 11:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:18:04] Production.INFO: Date 2024-12-14
[2025-01-07 11:18:04] Production.INFO: ==2862== Lock acquired, processing the job...
[2025-01-07 11:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:18:04] Production.INFO: ==2864== Lock acquired, processing the job...
[2025-01-07 11:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:18:04] Production.INFO: Date 2024-12-15
[2025-01-07 11:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:18:04] Production.INFO: Date 2024-12-16
[2025-01-07 11:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:18:04] Production.INFO: Date 2024-12-17
[2025-01-07 11:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:18:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:18:04] Production.INFO: ==2856== Releasing lock...
[2025-01-07 11:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 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-07 11:18:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:18:04] Production.INFO: count ==21
[2025-01-07 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-07 11:18:04] Production.INFO: count ==21
[2025-01-07 11:18:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194542') start
[2025-01-07 11:18:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:18:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:18:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:18:05] Production.INFO: Date 2024-12-24
[2025-01-07 11:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:18:05] Production.ERROR: done
[2025-01-07 11:18:05] Production.ERROR: PBX CALL prc_importPBXExtension('14194542') end
[2025-01-07 11:18:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:18:05] Production.INFO: 1
[2025-01-07 11:18:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:18:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:18:05] Production.INFO: Date 2024-12-25
[2025-01-07 11:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:18:05] Production.INFO: ==2864== Releasing lock...
[2025-01-07 11:18:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:18:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:18:05] Production.INFO: Date 2024-12-26
[2025-01-07 11:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:18:05] Production.INFO: Date 2024-12-27
[2025-01-07 11:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:18:05] Production.INFO: Date 2024-12-28
[2025-01-07 11:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:18:05] Production.ERROR: done
[2025-01-07 11:18:05] Production.INFO: Date 2024-12-29
[2025-01-07 11:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:18:05] Production.INFO: Date 2024-12-30
[2025-01-07 11:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:18:05] Production.INFO: Date 2024-12-31
[2025-01-07 11:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:18:05] Production.INFO: Date 2025-01-01
[2025-01-07 11:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:18:05] Production.INFO: Date 2025-01-02
[2025-01-07 11:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:18:05] Production.INFO: Date 2025-01-03
[2025-01-07 11:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:18:05] Production.INFO: Date 2025-01-04
[2025-01-07 11:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:18:05] Production.INFO: Date 2025-01-05
[2025-01-07 11:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:18:05] Production.INFO: Date 2025-01-06
[2025-01-07 11:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:18:05] Production.INFO: Date 2025-01-07
[2025-01-07 11:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:18:05] Production.INFO: Total Charge 0
[2025-01-07 11:18:05] Production.INFO: CreateAllLog End
[2025-01-07 11:18:05] Production.INFO: Account Balance End.
[2025-01-07 11:18:05] Production.ERROR: CronJobId end 12
[2025-01-07 11:18:05] Production.INFO: ==2860== Releasing lock...
[2025-01-07 11:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:18:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:18:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:18:06
[end_date_ymd] => 2025-01-07 11:18:06
[RateCDR] => 1
)
[2025-01-07 11:18:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 08:18:06' and `end` < '2025-01-07 11:18:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 11:18:12] Production.ERROR: CronJobId end10
[2025-01-07 11:18:12] Production.INFO: ==2858== Releasing lock...
[2025-01-07 11:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:18:13] Production.INFO: call_cost start
[2025-01-07 11:18:13] Production.INFO: call_cost end
[2025-01-07 11:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:18:14] Production.INFO: ==2854== Releasing lock...
[2025-01-07 11:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:18:19] Production.INFO: count ==3723
[2025-01-07 11:18:21] Production.ERROR: pbx CDR StartTime 2025-01-07 08:18:06 - End Time 2025-01-07 11:18:06
[2025-01-07 11:18:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194543', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194543', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194543', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194543', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:18:21] Production.INFO: ProcessCDR(1,14194543,1,1,2)
[2025-01-07 11:18:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194543,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:18:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194543,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:18:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194543,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:18:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194543,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:18:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194543', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:18:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194543', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:18:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:18:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:18:26] Production.INFO: ==2862== Releasing lock...
[2025-01-07 11:18:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:18:26] Production.INFO: 56.5 MB #Memory Used#
[2025-01-07 16:19:01] Production.INFO: ==2918== Lock acquired, processing the job...
[2025-01-07 16:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:19:01] Production.INFO: neon service started
[2025-01-07 16:19:01] Production.INFO: neon service started
[2025-01-07 16:19:01] Production.INFO: ==2918== Releasing lock...
[2025-01-07 16:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:19:01] Production.INFO: ==2920== Lock acquired, processing the job...
[2025-01-07 11:19:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:19:02] Production.INFO: ==2920== Releasing lock...
[2025-01-07 11:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 16:19:02] Production.INFO: ==2922== Lock acquired, processing the job...
[2025-01-07 16:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:19:02] Production.INFO: ==2922== Releasing lock...
[2025-01-07 16:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:19:03] Production.INFO: ==2933== Lock acquired, processing the job...
[2025-01-07 11:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:19:03] Production.INFO: ==2925== Lock acquired, processing the job...
[2025-01-07 11:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:19:03] Production.INFO: ==2935== Lock acquired, processing the job...
[2025-01-07 11:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:19:03] Production.INFO: ==2927== Lock acquired, processing the job...
[2025-01-07 11:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:19:03] Production.INFO: ==2929== Lock acquired, processing the job...
[2025-01-07 11:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:19:03] Production.INFO: ==2931== Lock acquired, processing the job...
[2025-01-07 11:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 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-07 11:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:19:03] Production.INFO: count ==21
[2025-01-07 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-07 11:19:03] Production.ERROR: done
[2025-01-07 11:19:03] Production.INFO: count ==21
[2025-01-07 11:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194545') start
[2025-01-07 11:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:19:03] Production.INFO: Account Balance Start.
[2025-01-07 11:19:03] Production.INFO: CreateAllLog Start
[2025-01-07 11:19:03] Production.INFO: 117
[2025-01-07 11:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194545') end
[2025-01-07 11:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:19:03] Production.INFO: 1
[2025-01-07 11:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:19:03] Production.ERROR: done
[2025-01-07 11:19:03] Production.INFO: ==2935== Releasing lock...
[2025-01-07 11:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:19:03] Production.INFO: Date 2024-12-08
[2025-01-07 11:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:19:03] Production.INFO: ==2927== Releasing lock...
[2025-01-07 11:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:19:03] Production.INFO: Date 2024-12-09
[2025-01-07 11:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:19:03] Production.INFO: Date 2024-12-10
[2025-01-07 11:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:19:03] Production.INFO: Date 2024-12-11
[2025-01-07 11:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:19:03] Production.INFO: Date 2024-12-12
[2025-01-07 11:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:19:03] Production.INFO: Date 2024-12-13
[2025-01-07 11:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:19:03] Production.INFO: Date 2024-12-14
[2025-01-07 11:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:19:04] Production.INFO: Date 2024-12-15
[2025-01-07 11:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:19:04] Production.INFO: Date 2024-12-16
[2025-01-07 11:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:19:04] Production.INFO: Date 2024-12-17
[2025-01-07 11:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:19:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:19:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:19:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:19:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:19:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:19:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:19:04] Production.INFO: Date 2024-12-24
[2025-01-07 11:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:19:04] Production.INFO: Date 2024-12-25
[2025-01-07 11:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:19:04] Production.INFO: Date 2024-12-26
[2025-01-07 11:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:19:04] Production.INFO: Date 2024-12-27
[2025-01-07 11:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:19:04] Production.INFO: Date 2024-12-28
[2025-01-07 11:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:19:04] Production.INFO: Date 2024-12-29
[2025-01-07 11:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:19:04] Production.INFO: Date 2024-12-30
[2025-01-07 11:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:19:04] Production.INFO: Date 2024-12-31
[2025-01-07 11:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:19:04] Production.INFO: Date 2025-01-01
[2025-01-07 11:19:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:19:04
[end_date_ymd] => 2025-01-07 11:19:04
[RateCDR] => 1
)
[2025-01-07 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-07 08:19:04' and `end` < '2025-01-07 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-07 11:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:19:04] Production.INFO: Date 2025-01-02
[2025-01-07 11:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:19:04] Production.INFO: Date 2025-01-03
[2025-01-07 11:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:19:04] Production.INFO: Date 2025-01-04
[2025-01-07 11:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:19:04] Production.INFO: Date 2025-01-05
[2025-01-07 11:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:19:04] Production.INFO: Date 2025-01-06
[2025-01-07 11:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:19:04] Production.INFO: Date 2025-01-07
[2025-01-07 11:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:19:04] Production.INFO: Total Charge 0
[2025-01-07 11:19:04] Production.INFO: CreateAllLog End
[2025-01-07 11:19:05] Production.INFO: Account Balance End.
[2025-01-07 11:19:05] Production.ERROR: CronJobId end 12
[2025-01-07 11:19:05] Production.INFO: ==2931== Releasing lock...
[2025-01-07 11:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:19:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:19:10] Production.ERROR: CronJobId end10
[2025-01-07 11:19:10] Production.INFO: ==2929== Releasing lock...
[2025-01-07 11:19:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:19:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:19:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:19:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:19:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:19:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:19:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:19:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:19:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:19:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:19:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:19:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:19:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:19:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:19:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:19:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:19:13] Production.INFO: call_cost start
[2025-01-07 11:19:13] Production.INFO: call_cost end
[2025-01-07 11:19:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:19:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:19:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:19:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:19:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:19:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:19:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:19:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:19:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:19:13] Production.INFO: ==2925== Releasing lock...
[2025-01-07 11:19:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:19:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:19:20] Production.INFO: count ==3707
[2025-01-07 11:19:21] Production.ERROR: pbx CDR StartTime 2025-01-07 08:19:04 - End Time 2025-01-07 11:19:04
[2025-01-07 11:19:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:19:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194548', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194548', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194548', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194548', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:19:22] Production.INFO: ProcessCDR(1,14194548,1,1,2)
[2025-01-07 11:19:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194548,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:19:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194548,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:19:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194548,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:19:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194548,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:19:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194548', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:19:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194548', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:19:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:19:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:19:26] Production.INFO: ==2933== Releasing lock...
[2025-01-07 11:19:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:19:26] Production.INFO: 56.75 MB #Memory Used#
[2025-01-07 16:20:02] Production.INFO: ==2990== Lock acquired, processing the job...
[2025-01-07 16:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:20:02] Production.INFO: neon service started
[2025-01-07 16:20:02] Production.INFO: neon service started
[2025-01-07 16:20:02] Production.INFO: ==2990== Releasing lock...
[2025-01-07 16:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:20:02] Production.INFO: ==2992== Lock acquired, processing the job...
[2025-01-07 11:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:20:02] Production.INFO: ==2992== Releasing lock...
[2025-01-07 11:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 16:20:02] Production.INFO: ==2994== Lock acquired, processing the job...
[2025-01-07 16:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:20:02] Production.INFO: ==2994== Releasing lock...
[2025-01-07 16:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:20:03] Production.INFO: ==2996== Lock acquired, processing the job...
[2025-01-07 11:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 11:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 11:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 11:20:03] Production.INFO: ==2996== Releasing lock...
[2025-01-07 11:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 11:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 11:20:03] Production.INFO: ==3002== Lock acquired, processing the job...
[2025-01-07 11:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:20:03] Production.INFO: ==3004== Lock acquired, processing the job...
[2025-01-07 11:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:20:04] Production.INFO: Account Balance Start.
[2025-01-07 11:20:04] Production.INFO: CreateAllLog Start
[2025-01-07 11:20:04] Production.INFO: 117
[2025-01-07 11:20:04] Production.INFO: ==3011== Lock acquired, processing the job...
[2025-01-07 11:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:20:04] Production.INFO: Date 2024-12-08
[2025-01-07 11:20:04] Production.INFO: ==2998== Lock acquired, processing the job...
[2025-01-07 11:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:20:04] Production.INFO: ==3000== Lock acquired, processing the job...
[2025-01-07 11:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:20:04] Production.INFO: Date 2024-12-09
[2025-01-07 11:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:20:04] Production.INFO: Date 2024-12-10
[2025-01-07 11:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:20:04] Production.INFO: Date 2024-12-11
[2025-01-07 11:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:20:04] Production.INFO: ==3006== Lock acquired, processing the job...
[2025-01-07 11:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 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-07 11:20:04] Production.INFO: ==3008== Lock acquired, processing the job...
[2025-01-07 11:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 11:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:20:04] Production.INFO: Date 2024-12-12
[2025-01-07 11:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:20:04] Production.INFO: count ==21
[2025-01-07 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-07 11:20:04] Production.INFO: count ==21
[2025-01-07 11:20:04] Production.INFO: Date 2024-12-13
[2025-01-07 11:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194551') start
[2025-01-07 11:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:20:04] Production.INFO: Date 2024-12-14
[2025-01-07 11:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:20:04] Production.INFO: Date 2024-12-15
[2025-01-07 11:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:20:04] Production.INFO: Date 2024-12-16
[2025-01-07 11:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:20:04] Production.INFO: Date 2024-12-17
[2025-01-07 11:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194551') end
[2025-01-07 11:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:20:04] Production.INFO: 1
[2025-01-07 11:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:20:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:20:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:20:04] Production.ERROR: done
[2025-01-07 11:20:04] Production.INFO: ==3011== Releasing lock...
[2025-01-07 11:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:20:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:20:04] Production.INFO: ==3000== Releasing lock...
[2025-01-07 11:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:20:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:20:04] Production.ERROR: done
[2025-01-07 11:20:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:20:04] Production.ERROR: done
[2025-01-07 11:20:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 11:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14194554', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 11:20:05] Production.INFO: Date 2024-12-24
[2025-01-07 11:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:20:05] Production.INFO: Date 2024-12-25
[2025-01-07 11:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:20:05] Production.INFO: Date 2024-12-26
[2025-01-07 11:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:20:05] Production.INFO: Date 2024-12-27
[2025-01-07 11:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:20:05] Production.INFO: Date 2024-12-28
[2025-01-07 11:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:20:05] Production.INFO: Date 2024-12-29
[2025-01-07 11:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:20:05] Production.INFO: Date 2024-12-30
[2025-01-07 11:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:20:05] Production.INFO: Date 2024-12-31
[2025-01-07 11:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:20:05] Production.INFO: Date 2025-01-01
[2025-01-07 11:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:20:05] Production.INFO: Date 2025-01-02
[2025-01-07 11:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:20:05] Production.INFO: Date 2025-01-03
[2025-01-07 11:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:20:05] Production.INFO: Date 2025-01-04
[2025-01-07 11:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:20:05] Production.INFO: Date 2025-01-05
[2025-01-07 11:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:20:05] Production.INFO: Date 2025-01-06
[2025-01-07 11:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:20:05] Production.INFO: Date 2025-01-07
[2025-01-07 11:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:20:05] Production.INFO: Total Charge 0
[2025-01-07 11:20:05] Production.INFO: CreateAllLog End
[2025-01-07 11:20:05] Production.INFO: Account Balance End.
[2025-01-07 11:20:05] Production.ERROR: CronJobId end 12
[2025-01-07 11:20:05] Production.INFO: ==3004== Releasing lock...
[2025-01-07 11:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:20:06
[end_date_ymd] => 2025-01-07 11:20:06
[RateCDR] => 1
)
[2025-01-07 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-07 08:20:06' and `end` < '2025-01-07 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-07 11:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14194554', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 11:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 11:20:09] Production.INFO: ProcessCDR(1,14194554,1,1,2)
[2025-01-07 11:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14194554,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14194554,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:20:09] Production.INFO: ==3008== Releasing lock...
[2025-01-07 11:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 11:20:09] Production.INFO: 26 MB #Memory Used#
[2025-01-07 11:20:14] Production.ERROR: CronJobId end10
[2025-01-07 11:20:14] Production.INFO: ==3002== Releasing lock...
[2025-01-07 11:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:20:15] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:20:15] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:20:15] Production.INFO: call_cost start
[2025-01-07 11:20:15] Production.INFO: call_cost end
[2025-01-07 11:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:20:16] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:20:16] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:20:16] Production.INFO: ==2998== Releasing lock...
[2025-01-07 11:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:20:22] Production.INFO: count ==3742
[2025-01-07 11:20:24] Production.ERROR: pbx CDR StartTime 2025-01-07 08:20:06 - End Time 2025-01-07 11:20:06
[2025-01-07 11:20:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:20:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194553', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:20:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194553', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:20:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194553', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:20:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194553', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:20:24] Production.INFO: ProcessCDR(1,14194553,1,1,2)
[2025-01-07 11:20:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194553,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:20:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194553,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:20:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194553,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:20:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194553,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:20:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194553', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:20:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194553', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:20:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:20:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:20:28] Production.INFO: ==3006== Releasing lock...
[2025-01-07 11:20:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:20:28] Production.INFO: 56 MB #Memory Used#
[2025-01-07 16:21:01] Production.INFO: ==3068== Lock acquired, processing the job...
[2025-01-07 16:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:21:01] Production.INFO: neon service started
[2025-01-07 16:21:01] Production.INFO: neon service started
[2025-01-07 16:21:01] Production.INFO: ==3068== Releasing lock...
[2025-01-07 16:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 16:21:01] Production.INFO: ==3072== Lock acquired, processing the job...
[2025-01-07 16:21:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:21:01] Production.INFO: ==3072== Releasing lock...
[2025-01-07 16:21:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:21:01] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:21:02] Production.INFO: ==3070== Lock acquired, processing the job...
[2025-01-07 11:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:21:02] Production.INFO: ==3070== Releasing lock...
[2025-01-07 11:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:21:03] Production.INFO: ==3083== Lock acquired, processing the job...
[2025-01-07 11:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:21:03] Production.INFO: ==3074== Lock acquired, processing the job...
[2025-01-07 11:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:21:03] Production.INFO: ==3085== Lock acquired, processing the job...
[2025-01-07 11:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:21:03] Production.INFO: ==3076== Lock acquired, processing the job...
[2025-01-07 11:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:21:03] Production.INFO: ==3078== Lock acquired, processing the job...
[2025-01-07 11:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 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-07 11:21:03] Production.INFO: ==3080== Lock acquired, processing the job...
[2025-01-07 11:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:21:03] Production.INFO: count ==21
[2025-01-07 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-07 11:21:03] Production.INFO: count ==21
[2025-01-07 11:21:03] Production.ERROR: done
[2025-01-07 11:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194555') start
[2025-01-07 11:21:03] Production.INFO: Account Balance Start.
[2025-01-07 11:21:03] Production.INFO: CreateAllLog Start
[2025-01-07 11:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:21:03] Production.INFO: 117
[2025-01-07 11:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:21:03] Production.INFO: Date 2024-12-08
[2025-01-07 11:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:21:03] Production.INFO: Date 2024-12-09
[2025-01-07 11:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:21:03] Production.INFO: Date 2024-12-10
[2025-01-07 11:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:21:03] Production.ERROR: done
[2025-01-07 11:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194555') end
[2025-01-07 11:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:21:03] Production.INFO: 1
[2025-01-07 11:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:21:03] Production.INFO: Date 2024-12-11
[2025-01-07 11:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:21:03] Production.INFO: ==3076== Releasing lock...
[2025-01-07 11:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:21:03] Production.INFO: ==3085== Releasing lock...
[2025-01-07 11:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:21:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:21:03] Production.INFO: Date 2024-12-12
[2025-01-07 11:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:21:04] Production.INFO: Date 2024-12-13
[2025-01-07 11:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:21:04] Production.INFO: Date 2024-12-14
[2025-01-07 11:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:21:04] Production.INFO: Date 2024-12-15
[2025-01-07 11:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:21:04] Production.INFO: Date 2024-12-16
[2025-01-07 11:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:21:04] Production.INFO: Date 2024-12-17
[2025-01-07 11:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:21:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:21:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:21:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:21:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:21:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:21:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:21:04] Production.INFO: Date 2024-12-24
[2025-01-07 11:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:21:04] Production.INFO: Date 2024-12-25
[2025-01-07 11:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:21:04] Production.INFO: Date 2024-12-26
[2025-01-07 11:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:21:04] Production.INFO: Date 2024-12-27
[2025-01-07 11:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:21:04] Production.INFO: Date 2024-12-28
[2025-01-07 11:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:21:04] Production.INFO: Date 2024-12-29
[2025-01-07 11:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:21:04] Production.INFO: Date 2024-12-30
[2025-01-07 11:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:21:04] Production.INFO: Date 2024-12-31
[2025-01-07 11:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:21:04] Production.INFO: Date 2025-01-01
[2025-01-07 11:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:21:04] Production.INFO: Date 2025-01-02
[2025-01-07 11:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:21:04] Production.INFO: Date 2025-01-03
[2025-01-07 11:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:21:04] Production.INFO: Date 2025-01-04
[2025-01-07 11:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:21:04] Production.INFO: Date 2025-01-05
[2025-01-07 11:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:21:04] Production.INFO: Date 2025-01-06
[2025-01-07 11:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:21:04] Production.INFO: Date 2025-01-07
[2025-01-07 11:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:21:04] Production.INFO: Total Charge 0
[2025-01-07 11:21:04] Production.INFO: CreateAllLog End
[2025-01-07 11:21:04] Production.INFO: Account Balance End.
[2025-01-07 11:21:04] Production.ERROR: CronJobId end 12
[2025-01-07 11:21:04] Production.INFO: ==3080== Releasing lock...
[2025-01-07 11:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:21:05
[end_date_ymd] => 2025-01-07 11:21:05
[RateCDR] => 1
)
[2025-01-07 11:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 08:21:05' and `end` < '2025-01-07 11:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 11:21:10] Production.ERROR: CronJobId end10
[2025-01-07 11:21:10] Production.INFO: ==3078== Releasing lock...
[2025-01-07 11:21:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:21:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:21:13] Production.INFO: call_cost start
[2025-01-07 11:21:13] Production.INFO: call_cost end
[2025-01-07 11:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:21:14] Production.INFO: ==3074== Releasing lock...
[2025-01-07 11:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:21:23] Production.INFO: count ==3845
[2025-01-07 11:21:24] Production.ERROR: pbx CDR StartTime 2025-01-07 08:21:05 - End Time 2025-01-07 11:21:05
[2025-01-07 11:21:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:21:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194559', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:21:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194559', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:21:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194559', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:21:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194559', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:21:24] Production.INFO: ProcessCDR(1,14194559,1,1,2)
[2025-01-07 11:21:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194559,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:21:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194559,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:21:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194559,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:21:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194559,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:21:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194559', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:21:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194559', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:21:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:21:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:21:29] Production.INFO: ==3083== Releasing lock...
[2025-01-07 11:21:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:21:29] Production.INFO: 56.75 MB #Memory Used#
[2025-01-07 16:22:02] Production.INFO: ==3139== Lock acquired, processing the job...
[2025-01-07 16:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:22:02] Production.INFO: neon service started
[2025-01-07 16:22:02] Production.INFO: neon service started
[2025-01-07 16:22:02] Production.INFO: ==3139== Releasing lock...
[2025-01-07 16:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:22:02] Production.INFO: ==3142== Lock acquired, processing the job...
[2025-01-07 11:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 16:22:02] Production.INFO: ==3144== Lock acquired, processing the job...
[2025-01-07 16:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:22:02] Production.INFO: ==3144== Releasing lock...
[2025-01-07 16:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:22:03] Production.INFO: ==3142== Releasing lock...
[2025-01-07 11:22:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:22:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:22:04] Production.INFO: ==3146== Lock acquired, processing the job...
[2025-01-07 11:22:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:22:04] Production.INFO: ==3148== Lock acquired, processing the job...
[2025-01-07 11:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:22:04] Production.INFO: ==3150== Lock acquired, processing the job...
[2025-01-07 11:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:22:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:22:04] Production.INFO: ==3152== Lock acquired, processing the job...
[2025-01-07 11:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:22:04] Production.INFO: ==3148== Releasing lock...
[2025-01-07 11:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:22:04] Production.INFO: Account Balance Start.
[2025-01-07 11:22:04] Production.INFO: CreateAllLog Start
[2025-01-07 11:22:04] Production.INFO: 117
[2025-01-07 11:22:04] Production.INFO: Date 2024-12-08
[2025-01-07 11:22:04] Production.INFO: ==3154== Lock acquired, processing the job...
[2025-01-07 11:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:22:04] Production.INFO: ==3157== Lock acquired, processing the job...
[2025-01-07 11:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:22:04] Production.INFO: Date 2024-12-09
[2025-01-07 11:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:22:04] Production.INFO: Date 2024-12-10
[2025-01-07 11:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:22:04] Production.INFO: Date 2024-12-11
[2025-01-07 11:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:22:04] Production.INFO: Date 2024-12-12
[2025-01-07 11:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 11:22:04] Production.INFO: count ==21
[2025-01-07 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-07 11:22:04] Production.INFO: Date 2024-12-13
[2025-01-07 11:22:04] Production.INFO: count ==21
[2025-01-07 11:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194563') start
[2025-01-07 11:22:04] Production.INFO: Date 2024-12-14
[2025-01-07 11:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:22:04] Production.ERROR: done
[2025-01-07 11:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:22:04] Production.INFO: Date 2024-12-15
[2025-01-07 11:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:22:04] Production.INFO: Date 2024-12-16
[2025-01-07 11:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:22:05] Production.ERROR: done
[2025-01-07 11:22:05] Production.INFO: Date 2024-12-17
[2025-01-07 11:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:22:05] Production.INFO: Date 2024-12-18
[2025-01-07 11:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:22:05] Production.INFO: Date 2024-12-19
[2025-01-07 11:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:22:05] Production.ERROR: PBX CALL prc_importPBXExtension('14194563') end
[2025-01-07 11:22:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:22:05] Production.INFO: 1
[2025-01-07 11:22:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:22:05] Production.INFO: Date 2024-12-20
[2025-01-07 11:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:22:05] Production.INFO: Date 2024-12-21
[2025-01-07 11:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:22:05] Production.INFO: Date 2024-12-22
[2025-01-07 11:22:05] Production.INFO: ==3157== Releasing lock...
[2025-01-07 11:22:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:22:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:22:05] Production.INFO: Date 2024-12-23
[2025-01-07 11:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:22:05] Production.INFO: Date 2024-12-24
[2025-01-07 11:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:22:05] Production.INFO: Date 2024-12-25
[2025-01-07 11:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:22:05] Production.INFO: Date 2024-12-26
[2025-01-07 11:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:22:05] Production.INFO: Date 2024-12-27
[2025-01-07 11:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:22:05] Production.INFO: Date 2024-12-28
[2025-01-07 11:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:22:05] Production.INFO: Date 2024-12-29
[2025-01-07 11:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:22:05] Production.INFO: Date 2024-12-30
[2025-01-07 11:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:22:05] Production.INFO: Date 2024-12-31
[2025-01-07 11:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:22:05] Production.INFO: Date 2025-01-01
[2025-01-07 11:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:22:05] Production.INFO: Date 2025-01-02
[2025-01-07 11:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:22:05] Production.INFO: Date 2025-01-03
[2025-01-07 11:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:22:05] Production.INFO: Date 2025-01-04
[2025-01-07 11:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:22:05] Production.INFO: Date 2025-01-05
[2025-01-07 11:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:22:05] Production.INFO: Date 2025-01-06
[2025-01-07 11:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:22:05] Production.INFO: Date 2025-01-07
[2025-01-07 11:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:22:05] Production.INFO: Total Charge 0
[2025-01-07 11:22:05] Production.INFO: CreateAllLog End
[2025-01-07 11:22:05] Production.INFO: Account Balance End.
[2025-01-07 11:22:05] Production.ERROR: CronJobId end 12
[2025-01-07 11:22:05] Production.INFO: ==3152== Releasing lock...
[2025-01-07 11:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:22:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:22:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:22:06
[end_date_ymd] => 2025-01-07 11:22:06
[RateCDR] => 1
)
[2025-01-07 11:22:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 08:22:06' and `end` < '2025-01-07 11:22:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 11:22:12] Production.ERROR: CronJobId end10
[2025-01-07 11:22:12] Production.INFO: ==3150== Releasing lock...
[2025-01-07 11:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:22:13] Production.INFO: call_cost start
[2025-01-07 11:22:13] Production.INFO: call_cost end
[2025-01-07 11:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:22:14] Production.INFO: ==3146== Releasing lock...
[2025-01-07 11:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:22:22] Production.INFO: count ==3837
[2025-01-07 11:22:24] Production.ERROR: pbx CDR StartTime 2025-01-07 08:22:06 - End Time 2025-01-07 11:22:06
[2025-01-07 11:22:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:22:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194564', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:22:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194564', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:22:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194564', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:22:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194564', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:22:24] Production.INFO: ProcessCDR(1,14194564,1,1,2)
[2025-01-07 11:22:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194564,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:22:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194564,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:22:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194564,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:22:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194564,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:22:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194564', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:22:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194564', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:22:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:22:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:22:29] Production.INFO: ==3154== Releasing lock...
[2025-01-07 11:22:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:22:29] Production.INFO: 57 MB #Memory Used#
[2025-01-07 16:23:01] Production.INFO: ==3209== Lock acquired, processing the job...
[2025-01-07 16:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:23:01] Production.INFO: neon service started
[2025-01-07 16:23:01] Production.INFO: neon service started
[2025-01-07 16:23:01] Production.INFO: ==3209== Releasing lock...
[2025-01-07 16:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:23:02] Production.INFO: ==3211== Lock acquired, processing the job...
[2025-01-07 11:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 16:23:02] Production.INFO: ==3213== Lock acquired, processing the job...
[2025-01-07 16:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:23:02] Production.INFO: ==3213== Releasing lock...
[2025-01-07 16:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:23:02] Production.INFO: ==3211== Releasing lock...
[2025-01-07 11:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:23:03] Production.INFO: ==3216== Lock acquired, processing the job...
[2025-01-07 11:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:23:03] Production.INFO: ==3218== Lock acquired, processing the job...
[2025-01-07 11:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:23:03] Production.INFO: ==3224== Lock acquired, processing the job...
[2025-01-07 11:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:23:03] Production.INFO: ==3220== Lock acquired, processing the job...
[2025-01-07 11:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:23:03] Production.INFO: ==3222== Lock acquired, processing the job...
[2025-01-07 11:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:23:03] Production.INFO: ==3218== Releasing lock...
[2025-01-07 11:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:23:03] Production.INFO: ==3226== Lock acquired, processing the job...
[2025-01-07 11:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:23:03] Production.INFO: Account Balance Start.
[2025-01-07 11:23:03] Production.INFO: CreateAllLog Start
[2025-01-07 11:23:03] Production.INFO: 117
[2025-01-07 11:23:03] Production.INFO: Date 2024-12-08
[2025-01-07 11:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 11:23:03] Production.INFO: Date 2024-12-09
[2025-01-07 11:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:23:03] Production.ERROR: done
[2025-01-07 11:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:23:03] Production.INFO: Date 2024-12-10
[2025-01-07 11:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:23:03] Production.INFO: count ==21
[2025-01-07 11:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:23:03] Production.INFO: count ==21
[2025-01-07 11:23:03] Production.INFO: Date 2024-12-11
[2025-01-07 11:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194568') start
[2025-01-07 11:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:23:04] Production.INFO: Date 2024-12-12
[2025-01-07 11:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:23:04] Production.INFO: Date 2024-12-13
[2025-01-07 11:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:23:04] Production.ERROR: done
[2025-01-07 11:23:04] Production.INFO: Date 2024-12-14
[2025-01-07 11:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194568') end
[2025-01-07 11:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:23:04] Production.INFO: 1
[2025-01-07 11:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:23:04] Production.INFO: Date 2024-12-15
[2025-01-07 11:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:23:04] Production.INFO: ==3226== Releasing lock...
[2025-01-07 11:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:23:04] Production.INFO: Date 2024-12-16
[2025-01-07 11:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:23:04] Production.INFO: Date 2024-12-17
[2025-01-07 11:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:23:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:23:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:23:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:23:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:23:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:23:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:23:04] Production.INFO: Date 2024-12-24
[2025-01-07 11:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:23:04] Production.INFO: Date 2024-12-25
[2025-01-07 11:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:23:04] Production.INFO: Date 2024-12-26
[2025-01-07 11:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:23:04] Production.INFO: Date 2024-12-27
[2025-01-07 11:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:23:04] Production.INFO: Date 2024-12-28
[2025-01-07 11:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:23:04] Production.INFO: Date 2024-12-29
[2025-01-07 11:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:23:04] Production.INFO: Date 2024-12-30
[2025-01-07 11:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:23:04] Production.INFO: Date 2024-12-31
[2025-01-07 11:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:23:04] Production.INFO: Date 2025-01-01
[2025-01-07 11:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:23:04] Production.INFO: Date 2025-01-02
[2025-01-07 11:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:23:04] Production.INFO: Date 2025-01-03
[2025-01-07 11:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:23:04] Production.INFO: Date 2025-01-04
[2025-01-07 11:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:23:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:23:04
[end_date_ymd] => 2025-01-07 11:23:04
[RateCDR] => 1
)
[2025-01-07 11:23:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 08:23:04' and `end` < '2025-01-07 11:23:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 11:23:04] Production.INFO: Date 2025-01-05
[2025-01-07 11:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:23:04] Production.INFO: Date 2025-01-06
[2025-01-07 11:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:23:04] Production.INFO: Date 2025-01-07
[2025-01-07 11:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:23:04] Production.INFO: Total Charge 0
[2025-01-07 11:23:04] Production.INFO: CreateAllLog End
[2025-01-07 11:23:05] Production.INFO: Account Balance End.
[2025-01-07 11:23:05] Production.ERROR: CronJobId end 12
[2025-01-07 11:23:05] Production.INFO: ==3222== Releasing lock...
[2025-01-07 11:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:23:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:23:11] Production.ERROR: CronJobId end10
[2025-01-07 11:23:11] Production.INFO: ==3220== Releasing lock...
[2025-01-07 11:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:23:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:23:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:23:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:23:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:23:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:23:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:23:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:23:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:23:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:23:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:23:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:23:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:23:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:23:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:23:13] Production.INFO: call_cost start
[2025-01-07 11:23:13] Production.INFO: call_cost end
[2025-01-07 11:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:23:14] Production.INFO: ==3216== Releasing lock...
[2025-01-07 11:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:23:20] Production.INFO: count ==3838
[2025-01-07 11:23:22] Production.ERROR: pbx CDR StartTime 2025-01-07 08:23:04 - End Time 2025-01-07 11:23:04
[2025-01-07 11:23:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:23:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194569', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:23:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194569', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:23:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194569', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:23:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194569', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:23:22] Production.INFO: ProcessCDR(1,14194569,1,1,2)
[2025-01-07 11:23:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194569,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:23:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194569,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:23:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194569,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:23:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194569,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:23:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194569', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:23:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194569', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:23:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:23:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:23:27] Production.INFO: ==3224== Releasing lock...
[2025-01-07 11:23:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:23:27] Production.INFO: 57 MB #Memory Used#
[2025-01-07 16:24:02] Production.INFO: ==3281== Lock acquired, processing the job...
[2025-01-07 16:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:24:02] Production.INFO: neon service started
[2025-01-07 16:24:02] Production.INFO: neon service started
[2025-01-07 16:24:02] Production.INFO: ==3281== Releasing lock...
[2025-01-07 16:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:24:02] Production.INFO: ==3283== Lock acquired, processing the job...
[2025-01-07 11:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:24:02] Production.INFO: ==3283== Releasing lock...
[2025-01-07 11:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 16:24:02] Production.INFO: ==3285== Lock acquired, processing the job...
[2025-01-07 16:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:24:03] Production.INFO: ==3285== Releasing lock...
[2025-01-07 16:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:24:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:24:03] Production.INFO: ==3289== Lock acquired, processing the job...
[2025-01-07 11:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:24:03] Production.INFO: ==3287== Lock acquired, processing the job...
[2025-01-07 11:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:24:03] Production.INFO: ==3293== Lock acquired, processing the job...
[2025-01-07 11:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:24:03] Production.INFO: Account Balance Start.
[2025-01-07 11:24:03] Production.INFO: CreateAllLog Start
[2025-01-07 11:24:03] Production.INFO: 117
[2025-01-07 11:24:03] Production.INFO: Date 2024-12-08
[2025-01-07 11:24:03] Production.INFO: ==3291== Lock acquired, processing the job...
[2025-01-07 11:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:24:03] Production.INFO: Date 2024-12-09
[2025-01-07 11:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:24:03] Production.INFO: ==3295== Lock acquired, processing the job...
[2025-01-07 11:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:24:04] Production.INFO: ==3289== Releasing lock...
[2025-01-07 11:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:24:04] Production.INFO: ==3297== Lock acquired, processing the job...
[2025-01-07 11:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:24:04] Production.INFO: Date 2024-12-10
[2025-01-07 11:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:24:04] Production.INFO: Date 2024-12-11
[2025-01-07 11:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:24:04] Production.INFO: Date 2024-12-12
[2025-01-07 11:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:24:04] Production.INFO: Date 2024-12-13
[2025-01-07 11:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:24:04] Production.INFO: Date 2024-12-14
[2025-01-07 11:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:24:04] Production.INFO: count ==21
[2025-01-07 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-07 11:24:04] Production.INFO: count ==21
[2025-01-07 11:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194573') start
[2025-01-07 11:24:04] Production.INFO: Date 2024-12-15
[2025-01-07 11:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:24:04] Production.INFO: Date 2024-12-16
[2025-01-07 11:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:24:04] Production.INFO: Date 2024-12-17
[2025-01-07 11:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:24:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194573') end
[2025-01-07 11:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:24:04] Production.INFO: 1
[2025-01-07 11:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:24:04] Production.ERROR: done
[2025-01-07 11:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:24:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:24:04] Production.INFO: ==3297== Releasing lock...
[2025-01-07 11:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:24:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:24:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:24:04] Production.ERROR: done
[2025-01-07 11:24:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:24:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:24:04] Production.INFO: Date 2024-12-24
[2025-01-07 11:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:24:04] Production.INFO: Date 2024-12-25
[2025-01-07 11:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:24:04] Production.INFO: Date 2024-12-26
[2025-01-07 11:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:24:04] Production.INFO: Date 2024-12-27
[2025-01-07 11:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:24:04] Production.INFO: Date 2024-12-28
[2025-01-07 11:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:24:04] Production.INFO: Date 2024-12-29
[2025-01-07 11:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:24:04] Production.INFO: Date 2024-12-30
[2025-01-07 11:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:24:05] Production.INFO: Date 2024-12-31
[2025-01-07 11:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:24:05] Production.INFO: Date 2025-01-01
[2025-01-07 11:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:24:05] Production.INFO: Date 2025-01-02
[2025-01-07 11:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:24:05] Production.INFO: Date 2025-01-03
[2025-01-07 11:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:24:05] Production.INFO: Date 2025-01-04
[2025-01-07 11:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:24:05] Production.INFO: Date 2025-01-05
[2025-01-07 11:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:24:05] Production.INFO: Date 2025-01-06
[2025-01-07 11:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:24:05] Production.INFO: Date 2025-01-07
[2025-01-07 11:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:24:05
[end_date_ymd] => 2025-01-07 11:24:05
[RateCDR] => 1
)
[2025-01-07 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-07 08:24:05' and `end` < '2025-01-07 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-07 11:24:05] Production.INFO: Total Charge 0
[2025-01-07 11:24:05] Production.INFO: CreateAllLog End
[2025-01-07 11:24:05] Production.INFO: Account Balance End.
[2025-01-07 11:24:05] Production.ERROR: CronJobId end 12
[2025-01-07 11:24:05] Production.INFO: ==3293== Releasing lock...
[2025-01-07 11:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:24:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:24:11] Production.ERROR: CronJobId end10
[2025-01-07 11:24:11] Production.INFO: ==3291== Releasing lock...
[2025-01-07 11:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:24:13] Production.INFO: call_cost start
[2025-01-07 11:24:13] Production.INFO: call_cost end
[2025-01-07 11:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:24:14] Production.INFO: ==3287== Releasing lock...
[2025-01-07 11:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:24:26] Production.INFO: count ==3862
[2025-01-07 11:24:28] Production.ERROR: pbx CDR StartTime 2025-01-07 08:24:05 - End Time 2025-01-07 11:24:05
[2025-01-07 11:24:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:24:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194574', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:24:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194574', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:24:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194574', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:24:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194574', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:24:28] Production.INFO: ProcessCDR(1,14194574,1,1,2)
[2025-01-07 11:24:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194574,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:24:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194574,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:24:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194574,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:24:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194574,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:24:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194574', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:24:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194574', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:24:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:24:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:24:32] Production.INFO: ==3295== Releasing lock...
[2025-01-07 11:24:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:24:32] Production.INFO: 57.25 MB #Memory Used#
[2025-01-07 16:25:01] Production.INFO: ==3350== Lock acquired, processing the job...
[2025-01-07 16:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:25:01] Production.INFO: neon service started
[2025-01-07 16:25:01] Production.INFO: neon service started
[2025-01-07 16:25:01] Production.INFO: ==3350== Releasing lock...
[2025-01-07 16:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:25:02] Production.INFO: ==3353== Lock acquired, processing the job...
[2025-01-07 11:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 16:25:02] Production.INFO: ==3355== Lock acquired, processing the job...
[2025-01-07 16:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:25:02] Production.INFO: ==3355== Releasing lock...
[2025-01-07 16:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:25:02] Production.INFO: ==3353== Releasing lock...
[2025-01-07 11:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:25:03] Production.INFO: ==3363== Lock acquired, processing the job...
[2025-01-07 11:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:25:03] Production.INFO: ==3357== Lock acquired, processing the job...
[2025-01-07 11:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:25:03] Production.INFO: ==3367== Lock acquired, processing the job...
[2025-01-07 11:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:25:03] Production.INFO: Account Balance Start.
[2025-01-07 11:25:03] Production.INFO: CreateAllLog Start
[2025-01-07 11:25:03] Production.INFO: 117
[2025-01-07 11:25:03] Production.INFO: Date 2024-12-08
[2025-01-07 11:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:25:03] Production.INFO: ==3359== Lock acquired, processing the job...
[2025-01-07 11:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:25:03] Production.INFO: ==3361== Lock acquired, processing the job...
[2025-01-07 11:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:25:03] Production.INFO: Date 2024-12-09
[2025-01-07 11:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:25:03] Production.INFO: ==3365== Lock acquired, processing the job...
[2025-01-07 11:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:25:03] Production.INFO: count ==21
[2025-01-07 11:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:25:03] Production.INFO: count ==21
[2025-01-07 11:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194576') start
[2025-01-07 11:25:03] Production.INFO: Date 2024-12-10
[2025-01-07 11:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:25:03] Production.INFO: Date 2024-12-11
[2025-01-07 11:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194576') end
[2025-01-07 11:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:25:03] Production.INFO: 1
[2025-01-07 11:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:25:03] Production.INFO: ==3367== Releasing lock...
[2025-01-07 11:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:25:03] Production.INFO: Date 2024-12-12
[2025-01-07 11:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:25:03] Production.INFO: Date 2024-12-13
[2025-01-07 11:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:25:03] Production.ERROR: done
[2025-01-07 11:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:25:03] Production.INFO: Date 2024-12-14
[2025-01-07 11:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:25:03] Production.INFO: ==3359== Releasing lock...
[2025-01-07 11:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:25:03] Production.INFO: Date 2024-12-15
[2025-01-07 11:25:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:25:04] Production.ERROR: done
[2025-01-07 11:25:04] Production.INFO: Date 2024-12-16
[2025-01-07 11:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:25:04] Production.INFO: Date 2024-12-17
[2025-01-07 11:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:25:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:25:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:25:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:25:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:25:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:25:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:25:04] Production.INFO: Date 2024-12-24
[2025-01-07 11:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:25:04] Production.INFO: Date 2024-12-25
[2025-01-07 11:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:25:04] Production.INFO: Date 2024-12-26
[2025-01-07 11:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:25:04] Production.INFO: Date 2024-12-27
[2025-01-07 11:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:25:04] Production.INFO: Date 2024-12-28
[2025-01-07 11:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:25:04] Production.INFO: Date 2024-12-29
[2025-01-07 11:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:25:05
[end_date_ymd] => 2025-01-07 11:25:05
[RateCDR] => 1
)
[2025-01-07 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-07 08:25:05' and `end` < '2025-01-07 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-07 11:25:05] Production.INFO: Date 2024-12-30
[2025-01-07 11:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:25:05] Production.INFO: Date 2024-12-31
[2025-01-07 11:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:25:05] Production.INFO: Date 2025-01-01
[2025-01-07 11:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:25:05] Production.INFO: Date 2025-01-02
[2025-01-07 11:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:25:05] Production.INFO: Date 2025-01-03
[2025-01-07 11:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:25:05] Production.INFO: Date 2025-01-04
[2025-01-07 11:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:25:05] Production.INFO: Date 2025-01-05
[2025-01-07 11:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:25:05] Production.INFO: Date 2025-01-06
[2025-01-07 11:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:25:05] Production.INFO: Date 2025-01-07
[2025-01-07 11:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:25:05] Production.INFO: Total Charge 0
[2025-01-07 11:25:05] Production.INFO: CreateAllLog End
[2025-01-07 11:25:05] Production.INFO: Account Balance End.
[2025-01-07 11:25:06] Production.ERROR: CronJobId end 12
[2025-01-07 11:25:06] Production.INFO: ==3363== Releasing lock...
[2025-01-07 11:25:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:25:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:25:10] Production.ERROR: CronJobId end10
[2025-01-07 11:25:10] Production.INFO: ==3361== Releasing lock...
[2025-01-07 11:25:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:25:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:25:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:25:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:25:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:25:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:25:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:25:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:25:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:25:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:25:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:25:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:25:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:25:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:25:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:25:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:25:13] Production.INFO: call_cost start
[2025-01-07 11:25:13] Production.INFO: call_cost end
[2025-01-07 11:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:25:14] Production.INFO: ==3357== Releasing lock...
[2025-01-07 11:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:25:20] Production.INFO: count ==3907
[2025-01-07 11:25:22] Production.ERROR: pbx CDR StartTime 2025-01-07 08:25:05 - End Time 2025-01-07 11:25:05
[2025-01-07 11:25:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:25:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194579', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:25:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194579', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:25:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194579', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:25:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194579', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:25:22] Production.INFO: ProcessCDR(1,14194579,1,1,2)
[2025-01-07 11:25:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194579,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:25:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194579,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:25:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194579,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:25:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194579,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:25:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194579', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:25:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194579', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:25:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:25:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:25:27] Production.INFO: ==3365== Releasing lock...
[2025-01-07 11:25:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:25:27] Production.INFO: 57.5 MB #Memory Used#
[2025-01-07 16:26:02] Production.INFO: ==3422== Lock acquired, processing the job...
[2025-01-07 16:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:26:02] Production.INFO: neon service started
[2025-01-07 16:26:02] Production.INFO: neon service started
[2025-01-07 16:26:02] Production.INFO: ==3422== Releasing lock...
[2025-01-07 16:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:26:02] Production.INFO: ==3424== Lock acquired, processing the job...
[2025-01-07 11:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 16:26:02] Production.INFO: ==3426== Lock acquired, processing the job...
[2025-01-07 16:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:26:02] Production.INFO: ==3426== Releasing lock...
[2025-01-07 16:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:26:02] Production.INFO: ==3424== Releasing lock...
[2025-01-07 11:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:26:03] Production.INFO: ==3428== Lock acquired, processing the job...
[2025-01-07 11:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:26:03] Production.INFO: ==3434== Lock acquired, processing the job...
[2025-01-07 11:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:26:03] Production.INFO: ==3438== Lock acquired, processing the job...
[2025-01-07 11:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 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-07 11:26:03] Production.INFO: Account Balance Start.
[2025-01-07 11:26:03] Production.INFO: CreateAllLog Start
[2025-01-07 11:26:03] Production.INFO: 117
[2025-01-07 11:26:03] Production.INFO: Date 2024-12-08
[2025-01-07 11:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:26:03] Production.INFO: count ==21
[2025-01-07 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-07 11:26:03] Production.INFO: count ==21
[2025-01-07 11:26:03] Production.INFO: ==3430== Lock acquired, processing the job...
[2025-01-07 11:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194580') start
[2025-01-07 11:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:26:03] Production.INFO: Date 2024-12-09
[2025-01-07 11:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:26:03] Production.INFO: Date 2024-12-10
[2025-01-07 11:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:26:03] Production.INFO: ==3432== Lock acquired, processing the job...
[2025-01-07 11:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:26:03] Production.INFO: Date 2024-12-11
[2025-01-07 11:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194580') end
[2025-01-07 11:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:26:03] Production.INFO: 1
[2025-01-07 11:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:26:03] Production.INFO: Date 2024-12-12
[2025-01-07 11:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:26:03] Production.INFO: ==3438== Releasing lock...
[2025-01-07 11:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:26:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:26:04] Production.INFO: Date 2024-12-13
[2025-01-07 11:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:26:04] Production.INFO: ==3436== Lock acquired, processing the job...
[2025-01-07 11:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:26:04] Production.INFO: Date 2024-12-14
[2025-01-07 11:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:26:04] Production.INFO: Date 2024-12-15
[2025-01-07 11:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:26:04] Production.INFO: Date 2024-12-16
[2025-01-07 11:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:26:04] Production.INFO: Date 2024-12-17
[2025-01-07 11:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:26:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:26:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:26:04] Production.INFO: ==3430== Releasing lock...
[2025-01-07 11:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:26:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:26:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:26:04] Production.ERROR: done
[2025-01-07 11:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:26:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:26:04] Production.ERROR: done
[2025-01-07 11:26:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:26:04] Production.INFO: Date 2024-12-24
[2025-01-07 11:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:26:04] Production.INFO: Date 2024-12-25
[2025-01-07 11:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:26:04] Production.INFO: Date 2024-12-26
[2025-01-07 11:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:26:04] Production.INFO: Date 2024-12-27
[2025-01-07 11:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:26:04] Production.INFO: Date 2024-12-28
[2025-01-07 11:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:26:04] Production.INFO: Date 2024-12-29
[2025-01-07 11:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:26:04] Production.INFO: Date 2024-12-30
[2025-01-07 11:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:26:04] Production.INFO: Date 2024-12-31
[2025-01-07 11:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:26:05] Production.INFO: Date 2025-01-01
[2025-01-07 11:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:26:05] Production.INFO: Date 2025-01-02
[2025-01-07 11:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:26:05] Production.INFO: Date 2025-01-03
[2025-01-07 11:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:26:05] Production.INFO: Date 2025-01-04
[2025-01-07 11:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:26:05] Production.INFO: Date 2025-01-05
[2025-01-07 11:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:26:05] Production.INFO: Date 2025-01-06
[2025-01-07 11:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:26:05] Production.INFO: Date 2025-01-07
[2025-01-07 11:26:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:26:05] Production.INFO: Total Charge 0
[2025-01-07 11:26:05] Production.INFO: CreateAllLog End
[2025-01-07 11:26:05] Production.INFO: Account Balance End.
[2025-01-07 11:26:05] Production.ERROR: CronJobId end 12
[2025-01-07 11:26:05] Production.INFO: ==3434== Releasing lock...
[2025-01-07 11:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:26:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:26:05
[end_date_ymd] => 2025-01-07 11:26:05
[RateCDR] => 1
)
[2025-01-07 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-07 08:26:05' and `end` < '2025-01-07 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-07 11:26:11] Production.ERROR: CronJobId end10
[2025-01-07 11:26:11] Production.INFO: ==3432== Releasing lock...
[2025-01-07 11:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:26:13] Production.INFO: call_cost start
[2025-01-07 11:26:13] Production.INFO: call_cost end
[2025-01-07 11:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:26:14] Production.INFO: ==3428== Releasing lock...
[2025-01-07 11:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:26:21] Production.INFO: count ==3926
[2025-01-07 11:26:22] Production.ERROR: pbx CDR StartTime 2025-01-07 08:26:05 - End Time 2025-01-07 11:26:05
[2025-01-07 11:26:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:26:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194584', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:26:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194584', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:26:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194584', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:26:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194584', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:26:22] Production.INFO: ProcessCDR(1,14194584,1,1,2)
[2025-01-07 11:26:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194584,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:26:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194584,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:26:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194584,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:26:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194584,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:26:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194584', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:26:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194584', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:26:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:26:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:26:27] Production.INFO: ==3436== Releasing lock...
[2025-01-07 11:26:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:26:27] Production.INFO: 57.25 MB #Memory Used#
[2025-01-07 16:27:01] Production.INFO: ==3491== Lock acquired, processing the job...
[2025-01-07 16:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:27:01] Production.INFO: neon service started
[2025-01-07 16:27:01] Production.INFO: neon service started
[2025-01-07 16:27:01] Production.INFO: ==3491== Releasing lock...
[2025-01-07 16:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:27:01] Production.INFO: ==3494== Lock acquired, processing the job...
[2025-01-07 11:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 16:27:02] Production.INFO: ==3496== Lock acquired, processing the job...
[2025-01-07 16:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:27:02] Production.INFO: ==3494== Releasing lock...
[2025-01-07 11:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 16:27:02] Production.INFO: ==3496== Releasing lock...
[2025-01-07 16:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:27:03] Production.INFO: ==3498== Lock acquired, processing the job...
[2025-01-07 11:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:27:03] Production.INFO: ==3504== Lock acquired, processing the job...
[2025-01-07 11:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:27:03] Production.INFO: ==3506== Lock acquired, processing the job...
[2025-01-07 11:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:27:03] Production.INFO: ==3500== Lock acquired, processing the job...
[2025-01-07 11:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:27:03] Production.INFO: Account Balance Start.
[2025-01-07 11:27:03] Production.INFO: CreateAllLog Start
[2025-01-07 11:27:03] Production.INFO: 117
[2025-01-07 11:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:27:03] Production.INFO: ==3502== Lock acquired, processing the job...
[2025-01-07 11:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:27:03] Production.INFO: Date 2024-12-08
[2025-01-07 11:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:27:03] Production.INFO: Date 2024-12-09
[2025-01-07 11:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:27:03] Production.INFO: ==3508== Lock acquired, processing the job...
[2025-01-07 11:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:27:03] Production.INFO: Date 2024-12-10
[2025-01-07 11:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:27:03] Production.INFO: Date 2024-12-11
[2025-01-07 11:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:27:03] Production.INFO: Date 2024-12-12
[2025-01-07 11:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:27:03] Production.INFO: Date 2024-12-13
[2025-01-07 11:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:27:03] Production.INFO: Date 2024-12-14
[2025-01-07 11:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:27:03] Production.INFO: count ==21
[2025-01-07 11:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:27:03] Production.INFO: count ==21
[2025-01-07 11:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194588') start
[2025-01-07 11:27:03] Production.INFO: Date 2024-12-15
[2025-01-07 11:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:27:03] Production.INFO: Date 2024-12-16
[2025-01-07 11:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:27:03] Production.INFO: ==3500== Releasing lock...
[2025-01-07 11:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:27:03] Production.INFO: Date 2024-12-17
[2025-01-07 11:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:27:03] Production.ERROR: done
[2025-01-07 11:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:27:03] Production.INFO: Date 2024-12-18
[2025-01-07 11:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:27:03] Production.INFO: Date 2024-12-19
[2025-01-07 11:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194588') end
[2025-01-07 11:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:27:03] Production.INFO: 1
[2025-01-07 11:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:27:03] Production.ERROR: done
[2025-01-07 11:27:03] Production.INFO: ==3508== Releasing lock...
[2025-01-07 11:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:27:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:27:03] Production.INFO: Date 2024-12-20
[2025-01-07 11:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:27:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:27:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:27:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:27:04] Production.INFO: Date 2024-12-24
[2025-01-07 11:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:27:04] Production.INFO: Date 2024-12-25
[2025-01-07 11:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:27:04] Production.INFO: Date 2024-12-26
[2025-01-07 11:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:27:04] Production.INFO: Date 2024-12-27
[2025-01-07 11:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:27:04] Production.INFO: Date 2024-12-28
[2025-01-07 11:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:27:04] Production.INFO: Date 2024-12-29
[2025-01-07 11:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:27:04] Production.INFO: Date 2024-12-30
[2025-01-07 11:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:27:04] Production.INFO: Date 2024-12-31
[2025-01-07 11:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:27:04] Production.INFO: Date 2025-01-01
[2025-01-07 11:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:27:04] Production.INFO: Date 2025-01-02
[2025-01-07 11:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:27:04] Production.INFO: Date 2025-01-03
[2025-01-07 11:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:27:04] Production.INFO: Date 2025-01-04
[2025-01-07 11:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:27:04] Production.INFO: Date 2025-01-05
[2025-01-07 11:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:27:04] Production.INFO: Date 2025-01-06
[2025-01-07 11:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:27:04] Production.INFO: Date 2025-01-07
[2025-01-07 11:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:27:04] Production.INFO: Total Charge 0
[2025-01-07 11:27:04] Production.INFO: CreateAllLog End
[2025-01-07 11:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:27:05
[end_date_ymd] => 2025-01-07 11:27:05
[RateCDR] => 1
)
[2025-01-07 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-07 08:27:05' and `end` < '2025-01-07 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-07 11:27:05] Production.INFO: Account Balance End.
[2025-01-07 11:27:05] Production.ERROR: CronJobId end 12
[2025-01-07 11:27:05] Production.INFO: ==3504== Releasing lock...
[2025-01-07 11:27:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:27:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:27:11] Production.ERROR: CronJobId end10
[2025-01-07 11:27:11] Production.INFO: ==3502== Releasing lock...
[2025-01-07 11:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:27:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:27:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:27:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:27:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:27:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:27:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:27:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:27:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:27:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:27:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:27:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:27:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:27:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:27:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:27:13] Production.INFO: call_cost start
[2025-01-07 11:27:13] Production.INFO: call_cost end
[2025-01-07 11:27:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:27:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:27:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:27:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:27:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:27:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:27:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:27:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:27:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:27:13] Production.INFO: ==3498== Releasing lock...
[2025-01-07 11:27:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:27:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:27:21] Production.INFO: count ==3938
[2025-01-07 11:27:22] Production.ERROR: pbx CDR StartTime 2025-01-07 08:27:05 - End Time 2025-01-07 11:27:05
[2025-01-07 11:27:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:27:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194589', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:27:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194589', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:27:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194589', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:27:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194589', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:27:22] Production.INFO: ProcessCDR(1,14194589,1,1,2)
[2025-01-07 11:27:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194589,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:27:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194589,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:27:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194589,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:27:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194589,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:27:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194589', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:27:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194589', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:27:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:27:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:27:27] Production.INFO: ==3506== Releasing lock...
[2025-01-07 11:27:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:27:27] Production.INFO: 57.5 MB #Memory Used#
[2025-01-07 16:28:02] Production.INFO: ==3563== Lock acquired, processing the job...
[2025-01-07 16:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:28:02] Production.INFO: neon service started
[2025-01-07 16:28:02] Production.INFO: neon service started
[2025-01-07 16:28:02] Production.INFO: ==3563== Releasing lock...
[2025-01-07 16:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:28:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 11:28:02] Production.INFO: ==3566== Lock acquired, processing the job...
[2025-01-07 11:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 16:28:02] Production.INFO: ==3568== Lock acquired, processing the job...
[2025-01-07 16:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:28:02] Production.INFO: ==3568== Releasing lock...
[2025-01-07 16:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:28:03] Production.INFO: ==3566== Releasing lock...
[2025-01-07 11:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:28:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:28:03] Production.INFO: ==3572== Lock acquired, processing the job...
[2025-01-07 11:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:28:03] Production.INFO: ==3580== Lock acquired, processing the job...
[2025-01-07 11:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:28:04] Production.INFO: ==3570== Lock acquired, processing the job...
[2025-01-07 11:28:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:28:04] Production.INFO: count ==21
[2025-01-07 11:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:28:04] Production.INFO: count ==21
[2025-01-07 11:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194590') start
[2025-01-07 11:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:28:04] Production.INFO: ==3574== Lock acquired, processing the job...
[2025-01-07 11:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:28:04] Production.INFO: ==3576== Lock acquired, processing the job...
[2025-01-07 11:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:28:04] Production.INFO: ==3578== Lock acquired, processing the job...
[2025-01-07 11:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194590') end
[2025-01-07 11:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:28:04] Production.INFO: 1
[2025-01-07 11:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:28:04] Production.INFO: ==3580== Releasing lock...
[2025-01-07 11:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:28:04] Production.INFO: ==3572== Releasing lock...
[2025-01-07 11:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:28:04] Production.INFO: Account Balance Start.
[2025-01-07 11:28:04] Production.INFO: CreateAllLog Start
[2025-01-07 11:28:04] Production.INFO: 117
[2025-01-07 11:28:04] Production.INFO: Date 2024-12-08
[2025-01-07 11:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:28:04] Production.INFO: Date 2024-12-09
[2025-01-07 11:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:28:04] Production.INFO: Date 2024-12-10
[2025-01-07 11:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:28:04] Production.INFO: Date 2024-12-11
[2025-01-07 11:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:28:04] Production.INFO: Date 2024-12-12
[2025-01-07 11:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:28:04] Production.INFO: Date 2024-12-13
[2025-01-07 11:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:28:04] Production.INFO: Date 2024-12-14
[2025-01-07 11:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:28:04] Production.INFO: Date 2024-12-15
[2025-01-07 11:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:28:04] Production.INFO: Date 2024-12-16
[2025-01-07 11:28:04] Production.ERROR: done
[2025-01-07 11:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:28:04] Production.INFO: Date 2024-12-17
[2025-01-07 11:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:28:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:28:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:28:04] Production.ERROR: done
[2025-01-07 11:28:05] Production.INFO: Date 2024-12-20
[2025-01-07 11:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:28:05] Production.INFO: Date 2024-12-21
[2025-01-07 11:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:28:05] Production.INFO: Date 2024-12-22
[2025-01-07 11:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:28:05] Production.INFO: Date 2024-12-23
[2025-01-07 11:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:28:05] Production.INFO: Date 2024-12-24
[2025-01-07 11:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:28:05] Production.INFO: Date 2024-12-25
[2025-01-07 11:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:28:05] Production.INFO: Date 2024-12-26
[2025-01-07 11:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:28:05] Production.INFO: Date 2024-12-27
[2025-01-07 11:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:28:05] Production.INFO: Date 2024-12-28
[2025-01-07 11:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:28:05] Production.INFO: Date 2024-12-29
[2025-01-07 11:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:28:05] Production.INFO: Date 2024-12-30
[2025-01-07 11:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:28:05] Production.INFO: Date 2024-12-31
[2025-01-07 11:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:28:05] Production.INFO: Date 2025-01-01
[2025-01-07 11:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:28:05] Production.INFO: Date 2025-01-02
[2025-01-07 11:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:28:05] Production.INFO: Date 2025-01-03
[2025-01-07 11:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:28:05] Production.INFO: Date 2025-01-04
[2025-01-07 11:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:28:05] Production.INFO: Date 2025-01-05
[2025-01-07 11:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:28:05] Production.INFO: Date 2025-01-06
[2025-01-07 11:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:28:05] Production.INFO: Date 2025-01-07
[2025-01-07 11:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:28:05] Production.INFO: Total Charge 0
[2025-01-07 11:28:05] Production.INFO: CreateAllLog End
[2025-01-07 11:28:05] Production.INFO: Account Balance End.
[2025-01-07 11:28:05] Production.ERROR: CronJobId end 12
[2025-01-07 11:28:05] Production.INFO: ==3576== Releasing lock...
[2025-01-07 11:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:28:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:28:05
[end_date_ymd] => 2025-01-07 11:28:05
[RateCDR] => 1
)
[2025-01-07 11:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 08:28:05' and `end` < '2025-01-07 11:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 11:28:12] Production.ERROR: CronJobId end10
[2025-01-07 11:28:12] Production.INFO: ==3574== Releasing lock...
[2025-01-07 11:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:28:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:28:14] Production.INFO: call_cost start
[2025-01-07 11:28:14] Production.INFO: call_cost end
[2025-01-07 11:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:28:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:28:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:28:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:28:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:28:15] Production.INFO: ==3570== Releasing lock...
[2025-01-07 11:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:28:26] Production.INFO: count ==3944
[2025-01-07 11:28:27] Production.ERROR: pbx CDR StartTime 2025-01-07 08:28:05 - End Time 2025-01-07 11:28:05
[2025-01-07 11:28:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:28:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194594', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:28:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194594', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:28:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194594', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:28:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194594', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:28:27] Production.INFO: ProcessCDR(1,14194594,1,1,2)
[2025-01-07 11:28:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194594,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:28:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194594,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:28:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194594,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:28:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194594,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:28:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194594', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:28:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194594', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:28:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:28:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:28:32] Production.INFO: ==3578== Releasing lock...
[2025-01-07 11:28:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:28:32] Production.INFO: 57.5 MB #Memory Used#
[2025-01-07 16:29:01] Production.INFO: ==3639== Lock acquired, processing the job...
[2025-01-07 16:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:29:01] Production.INFO: neon service started
[2025-01-07 16:29:01] Production.INFO: neon service started
[2025-01-07 16:29:01] Production.INFO: ==3639== Releasing lock...
[2025-01-07 16:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:29:01] Production.INFO: ==3642== Lock acquired, processing the job...
[2025-01-07 11:29:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:29:02] Production.INFO: ==3642== Releasing lock...
[2025-01-07 11:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 16:29:02] Production.INFO: ==3644== Lock acquired, processing the job...
[2025-01-07 16:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:29:02] Production.INFO: ==3644== Releasing lock...
[2025-01-07 16:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:29:02] Production.INFO: ==3646== Lock acquired, processing the job...
[2025-01-07 11:29:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:29:02] Production.INFO: ==3650== Lock acquired, processing the job...
[2025-01-07 11:29:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:29:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:29:02] Production.INFO: ==3652== Lock acquired, processing the job...
[2025-01-07 11:29:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:29:03] Production.INFO: Account Balance Start.
[2025-01-07 11:29:03] Production.INFO: CreateAllLog Start
[2025-01-07 11:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:29:03] Production.INFO: 117
[2025-01-07 11:29:03] Production.INFO: Date 2024-12-08
[2025-01-07 11:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:29:03] Production.INFO: Date 2024-12-09
[2025-01-07 11:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:29:03] Production.INFO: Date 2024-12-10
[2025-01-07 11:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:29:03] Production.INFO: Date 2024-12-11
[2025-01-07 11:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:29:03] Production.INFO: Date 2024-12-12
[2025-01-07 11:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:29:03] Production.INFO: ==3648== Lock acquired, processing the job...
[2025-01-07 11:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:29:03] Production.INFO: Date 2024-12-13
[2025-01-07 11:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:29:03] Production.INFO: Date 2024-12-14
[2025-01-07 11:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:29:03] Production.INFO: ==3654== Lock acquired, processing the job...
[2025-01-07 11:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:29:03] Production.INFO: Date 2024-12-15
[2025-01-07 11:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:29:03] Production.INFO: Date 2024-12-16
[2025-01-07 11:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:29:03] Production.INFO: ==3656== Lock acquired, processing the job...
[2025-01-07 11:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:29:03] Production.INFO: Date 2024-12-17
[2025-01-07 11:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:29:03] Production.INFO: Date 2024-12-18
[2025-01-07 11:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 11: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-07 11:29:03] Production.INFO: ==3648== Releasing lock...
[2025-01-07 11:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:29:03] Production.INFO: count ==21
[2025-01-07 11: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-07 11:29:03] Production.INFO: count ==21
[2025-01-07 11:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194598') start
[2025-01-07 11:29:03] Production.INFO: Date 2024-12-19
[2025-01-07 11:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:29:03] Production.INFO: Date 2024-12-20
[2025-01-07 11:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:29:04] Production.ERROR: done
[2025-01-07 11:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194598') end
[2025-01-07 11:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:29:04] Production.INFO: 1
[2025-01-07 11:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:29:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:29:04] Production.INFO: ==3656== Releasing lock...
[2025-01-07 11:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:29:04] Production.ERROR: done
[2025-01-07 11:29:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:29:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:29:04] Production.INFO: Date 2024-12-24
[2025-01-07 11:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:29:04] Production.INFO: Date 2024-12-25
[2025-01-07 11:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:29:04] Production.INFO: Date 2024-12-26
[2025-01-07 11:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:29:04] Production.INFO: Date 2024-12-27
[2025-01-07 11:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:29:04] Production.INFO: Date 2024-12-28
[2025-01-07 11:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:29:04] Production.INFO: Date 2024-12-29
[2025-01-07 11:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:29:04] Production.INFO: Date 2024-12-30
[2025-01-07 11:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:29:04] Production.INFO: Date 2024-12-31
[2025-01-07 11:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:29:04] Production.INFO: Date 2025-01-01
[2025-01-07 11:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:29:04] Production.INFO: Date 2025-01-02
[2025-01-07 11:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:29:04] Production.INFO: Date 2025-01-03
[2025-01-07 11:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:29:04] Production.INFO: Date 2025-01-04
[2025-01-07 11:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:29:04] Production.INFO: Date 2025-01-05
[2025-01-07 11:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:29:04] Production.INFO: Date 2025-01-06
[2025-01-07 11:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:29:04] Production.INFO: Date 2025-01-07
[2025-01-07 11:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:29:04] Production.INFO: Total Charge 0
[2025-01-07 11:29:04] Production.INFO: CreateAllLog End
[2025-01-07 11:29:04] Production.INFO: Account Balance End.
[2025-01-07 11:29:05] Production.ERROR: CronJobId end 12
[2025-01-07 11:29:05] Production.INFO: ==3652== Releasing lock...
[2025-01-07 11:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:29:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:29:05
[end_date_ymd] => 2025-01-07 11:29:05
[RateCDR] => 1
)
[2025-01-07 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-07 08:29:05' and `end` < '2025-01-07 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-07 11:29:12] Production.ERROR: CronJobId end10
[2025-01-07 11:29:12] Production.INFO: ==3650== Releasing lock...
[2025-01-07 11:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:29:13] Production.INFO: call_cost start
[2025-01-07 11:29:13] Production.INFO: call_cost end
[2025-01-07 11:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:29:14] Production.INFO: ==3646== Releasing lock...
[2025-01-07 11:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:29:22] Production.INFO: count ==3948
[2025-01-07 11:29:24] Production.ERROR: pbx CDR StartTime 2025-01-07 08:29:05 - End Time 2025-01-07 11:29:05
[2025-01-07 11:29:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:29:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194599', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:29:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194599', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:29:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194599', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:29:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194599', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:29:24] Production.INFO: ProcessCDR(1,14194599,1,1,2)
[2025-01-07 11:29:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194599,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:29:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194599,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:29:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194599,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:29:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194599,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:29:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194599', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:29:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194599', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:29:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:29:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:29:28] Production.INFO: ==3654== Releasing lock...
[2025-01-07 11:29:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:29:28] Production.INFO: 57.5 MB #Memory Used#
[2025-01-07 16:30:01] Production.INFO: ==3713== Lock acquired, processing the job...
[2025-01-07 16:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:30:01] Production.INFO: neon service started
[2025-01-07 16:30:01] Production.INFO: neon service started
[2025-01-07 16:30:01] Production.INFO: ==3713== Releasing lock...
[2025-01-07 16:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:30:02] Production.INFO: ==3715== Lock acquired, processing the job...
[2025-01-07 11:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 16:30:02] Production.INFO: ==3717== Lock acquired, processing the job...
[2025-01-07 16:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:30:02] Production.INFO: ==3717== Releasing lock...
[2025-01-07 16:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:30:03] Production.INFO: ==3715== Releasing lock...
[2025-01-07 11:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:30:04] Production.INFO: ==3726== Lock acquired, processing the job...
[2025-01-07 11:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:30:04] Production.INFO: ==3730== Lock acquired, processing the job...
[2025-01-07 11:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:30:04] Production.INFO: ==3720== Lock acquired, processing the job...
[2025-01-07 11:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 11:30:04] Production.INFO: ==3734== Lock acquired, processing the job...
[2025-01-07 11:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:30:04] Production.INFO: ==3722== Lock acquired, processing the job...
[2025-01-07 11:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:30:04] Production.INFO: ==3724== Lock acquired, processing the job...
[2025-01-07 11:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:30:04] Production.INFO: ==3728== Lock acquired, processing the job...
[2025-01-07 11:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:30:04] Production.INFO: ==3732== Lock acquired, processing the job...
[2025-01-07 11:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 11:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 11:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 11:30:04] Production.ERROR: CronJob PID - 3722
[2025-01-07 11:30:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-07 11:30:04] Production.ERROR: CronJob ID - 5
[2025-01-07 11:30:04] Production.ERROR: CronJob Last Run Time 2025-01-07 11:30:00
[2025-01-07 11:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 11:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 11:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 11:30:04] Production.ERROR: CronJob PID - 3724
[2025-01-07 11:30:04] Production.ERROR: CronJob Title - Account Block
[2025-01-07 11:30:04] Production.ERROR: CronJob ID - 7
[2025-01-07 11:30:04] Production.ERROR: CronJob Last Run Time 2025-01-07 11:30:00
[2025-01-07 11:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 11:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 11:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 11:30:04] Production.ERROR: CronJob PID - 3726
[2025-01-07 11:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-07 11:30:04] Production.ERROR: CronJob ID - 10
[2025-01-07 11:30:04] Production.ERROR: CronJob Last Run Time 2025-01-07 11:30:00
[2025-01-07 11:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 11:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 11:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 11:30:04] Production.ERROR: CronJob PID - 3730
[2025-01-07 11:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-07 11:30:04] Production.ERROR: CronJob ID - 16
[2025-01-07 11:30:04] Production.ERROR: CronJob Last Run Time 2025-01-07 11:30:00
[2025-01-07 11:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 11:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 11:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 11:30:04] Production.ERROR: CronJob PID - 3734
[2025-01-07 11:30:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-07 11:30:04] Production.ERROR: CronJob ID - 19
[2025-01-07 11:30:04] Production.ERROR: CronJob Last Run Time 2025-01-07 11:30:00
[2025-01-07 11:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 11:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 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-07 11:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 11:30:04] Production.INFO: ==3720== Releasing lock...
[2025-01-07 11:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 11:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 11:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:30:04] Production.INFO: count ==21
[2025-01-07 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-07 11:30:04] Production.INFO: count ==21
[2025-01-07 11:30:04] Production.ERROR: done
[2025-01-07 11:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194600') start
[2025-01-07 11:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:30:04] Production.INFO: Account Balance Start.
[2025-01-07 11:30:04] Production.INFO: CreateAllLog Start
[2025-01-07 11:30:04] Production.INFO: 117
[2025-01-07 11:30:04] Production.INFO: Date 2024-12-08
[2025-01-07 11:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194600') end
[2025-01-07 11:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:30:04] Production.INFO: 1
[2025-01-07 11:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:30:04] Production.INFO: ==3734== Releasing lock...
[2025-01-07 11:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:30:04] Production.ERROR: done
[2025-01-07 11:30:04] Production.ERROR: done
[2025-01-07 11:30:04] Production.INFO: Date 2024-12-09
[2025-01-07 11:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 11:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14194604', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 11:30:05] Production.INFO: ==3724== Releasing lock...
[2025-01-07 11:30:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:30:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:30:05] Production.INFO: Date 2024-12-10
[2025-01-07 11:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:30:05] Production.INFO: Date 2024-12-11
[2025-01-07 11:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:30:05] Production.INFO: Date 2024-12-12
[2025-01-07 11:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:30:05] Production.INFO: Date 2024-12-13
[2025-01-07 11:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:30:05] Production.INFO: Date 2024-12-14
[2025-01-07 11:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:30:05] Production.INFO: Date 2024-12-15
[2025-01-07 11:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:30:05] Production.INFO: Date 2024-12-16
[2025-01-07 11:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:30:05] Production.INFO: Date 2024-12-17
[2025-01-07 11:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:30:05] Production.INFO: Date 2024-12-18
[2025-01-07 11:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:30:05] Production.INFO: Date 2024-12-19
[2025-01-07 11:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:30:05] Production.INFO: Date 2024-12-20
[2025-01-07 11:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:30:05] Production.INFO: Date 2024-12-21
[2025-01-07 11:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:30:05] Production.INFO: Date 2024-12-22
[2025-01-07 11:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:30:05] Production.INFO: Date 2024-12-23
[2025-01-07 11:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:30:05] Production.INFO: Date 2024-12-24
[2025-01-07 11:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:30:05] Production.INFO: Date 2024-12-25
[2025-01-07 11:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:30:05] Production.INFO: Date 2024-12-26
[2025-01-07 11:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:30:05] Production.INFO: Date 2024-12-27
[2025-01-07 11:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:30:05] Production.INFO: Date 2024-12-28
[2025-01-07 11:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:30:05] Production.INFO: Date 2024-12-29
[2025-01-07 11:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:30:05] Production.INFO: Date 2024-12-30
[2025-01-07 11:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:30:05] Production.INFO: Date 2024-12-31
[2025-01-07 11:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:30:05] Production.INFO: Date 2025-01-01
[2025-01-07 11:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:30:06] Production.INFO: Date 2025-01-02
[2025-01-07 11:30:06] Production.INFO: Reseller ==> 0
[2025-01-07 11:30:06] Production.INFO: Date 2025-01-03
[2025-01-07 11:30:06] Production.INFO: Reseller ==> 0
[2025-01-07 11:30:06] Production.INFO: Date 2025-01-04
[2025-01-07 11:30:06] Production.INFO: Reseller ==> 0
[2025-01-07 11:30:06] Production.INFO: Date 2025-01-05
[2025-01-07 11:30:06] Production.INFO: Reseller ==> 0
[2025-01-07 11:30:06] Production.INFO: Date 2025-01-06
[2025-01-07 11:30:06] Production.INFO: Reseller ==> 0
[2025-01-07 11:30:06] Production.INFO: Date 2025-01-07
[2025-01-07 11:30:06] Production.INFO: Reseller ==> 0
[2025-01-07 11:30:06] Production.INFO: Total Charge 0
[2025-01-07 11:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:30:06
[end_date_ymd] => 2025-01-07 11:30:06
[RateCDR] => 1
)
[2025-01-07 11:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 08:30:06' and `end` < '2025-01-07 11:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 11:30:06] Production.INFO: CreateAllLog End
[2025-01-07 11:30:06] Production.INFO: Account Balance End.
[2025-01-07 11:30:06] Production.ERROR: CronJobId end 12
[2025-01-07 11:30:06] Production.INFO: ==3728== Releasing lock...
[2025-01-07 11:30:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:30:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14194604', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 11:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 11:30:09] Production.INFO: ProcessCDR(1,14194604,1,1,2)
[2025-01-07 11:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14194604,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14194604,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:30:09] Production.INFO: ==3732== Releasing lock...
[2025-01-07 11:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 11:30:09] Production.INFO: 26 MB #Memory Used#
[2025-01-07 11:30:13] Production.ERROR: CronJobId end10
[2025-01-07 11:30:13] Production.INFO: ==3726== Releasing lock...
[2025-01-07 11:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:30:16] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:30:16] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:30:16] Production.INFO: call_cost start
[2025-01-07 11:30:16] Production.INFO: call_cost end
[2025-01-07 11:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:30:17] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:30:17] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:30:17] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:30:17] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:30:17] Production.INFO: ==3722== Releasing lock...
[2025-01-07 11:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:30:25] Production.INFO: count ==3969
[2025-01-07 11:30:27] Production.ERROR: pbx CDR StartTime 2025-01-07 08:30:06 - End Time 2025-01-07 11:30:06
[2025-01-07 11:30:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:30:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194605', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:30:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194605', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:30:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194605', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:30:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194605', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:30:27] Production.INFO: ProcessCDR(1,14194605,1,1,2)
[2025-01-07 11:30:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194605,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:30:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194605,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:30:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194605,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:30:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194605,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:30:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194605', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:30:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194605', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:30:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:30:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:30:32] Production.INFO: ==3730== Releasing lock...
[2025-01-07 11:30:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:30:32] Production.INFO: 57.75 MB #Memory Used#
[2025-01-07 16:31:01] Production.INFO: ==3787== Lock acquired, processing the job...
[2025-01-07 16:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:31:01] Production.INFO: neon service started
[2025-01-07 16:31:01] Production.INFO: neon service started
[2025-01-07 16:31:01] Production.INFO: ==3787== Releasing lock...
[2025-01-07 16:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 16:31:01] Production.INFO: ==3791== Lock acquired, processing the job...
[2025-01-07 16:31:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:31:01] Production.INFO: ==3791== Releasing lock...
[2025-01-07 16:31:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:31:01] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:31:01] Production.INFO: ==3789== Lock acquired, processing the job...
[2025-01-07 11:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:31:02] Production.INFO: ==3789== Releasing lock...
[2025-01-07 11:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:31:02] Production.INFO: ==3794== Lock acquired, processing the job...
[2025-01-07 11:31:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:31:03] Production.INFO: ==3796== Lock acquired, processing the job...
[2025-01-07 11:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:31:03] Production.INFO: ==3800== Lock acquired, processing the job...
[2025-01-07 11:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:31:03] Production.INFO: Account Balance Start.
[2025-01-07 11:31:03] Production.INFO: CreateAllLog Start
[2025-01-07 11:31:03] Production.INFO: 117
[2025-01-07 11:31:03] Production.INFO: Date 2024-12-08
[2025-01-07 11:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:31:03] Production.INFO: ==3798== Lock acquired, processing the job...
[2025-01-07 11:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:31:03] Production.INFO: Date 2024-12-09
[2025-01-07 11:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:31:03] Production.INFO: ==3796== Releasing lock...
[2025-01-07 11:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:31:03] Production.INFO: Date 2024-12-10
[2025-01-07 11:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:31:03] Production.INFO: Date 2024-12-11
[2025-01-07 11:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:31:03] Production.INFO: Date 2024-12-12
[2025-01-07 11:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:31:03] Production.INFO: ==3804== Lock acquired, processing the job...
[2025-01-07 11:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:31:03] Production.INFO: ==3802== Lock acquired, processing the job...
[2025-01-07 11:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:31:03] Production.INFO: Date 2024-12-13
[2025-01-07 11:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:31:03] Production.INFO: Date 2024-12-14
[2025-01-07 11:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:31:03] Production.INFO: Date 2024-12-15
[2025-01-07 11:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:31:03] Production.INFO: count ==21
[2025-01-07 11:31:03] Production.INFO: Date 2024-12-16
[2025-01-07 11:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:31:03] Production.INFO: count ==21
[2025-01-07 11:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194609') start
[2025-01-07 11:31:03] Production.INFO: Date 2024-12-17
[2025-01-07 11:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194609') end
[2025-01-07 11:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:31:03] Production.INFO: 1
[2025-01-07 11:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:31:03] Production.ERROR: done
[2025-01-07 11:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:31:03] Production.INFO: Date 2024-12-18
[2025-01-07 11:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:31:03] Production.INFO: Date 2024-12-19
[2025-01-07 11:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:31:03] Production.INFO: ==3804== Releasing lock...
[2025-01-07 11:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:31:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:31:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:31:04] Production.ERROR: done
[2025-01-07 11:31:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:31:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:31:04] Production.INFO: Date 2024-12-24
[2025-01-07 11:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:31:04] Production.INFO: Date 2024-12-25
[2025-01-07 11:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:31:04] Production.INFO: Date 2024-12-26
[2025-01-07 11:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:31:04] Production.INFO: Date 2024-12-27
[2025-01-07 11:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:31:04] Production.INFO: Date 2024-12-28
[2025-01-07 11:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:31:04] Production.INFO: Date 2024-12-29
[2025-01-07 11:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:31:04] Production.INFO: Date 2024-12-30
[2025-01-07 11:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:31:04] Production.INFO: Date 2024-12-31
[2025-01-07 11:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:31:04] Production.INFO: Date 2025-01-01
[2025-01-07 11:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:31:04] Production.INFO: Date 2025-01-02
[2025-01-07 11:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:31:04] Production.INFO: Date 2025-01-03
[2025-01-07 11:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:31:04] Production.INFO: Date 2025-01-04
[2025-01-07 11:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:31:04] Production.INFO: Date 2025-01-05
[2025-01-07 11:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:31:04] Production.INFO: Date 2025-01-06
[2025-01-07 11:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:31:04] Production.INFO: Date 2025-01-07
[2025-01-07 11:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:31:04] Production.INFO: Total Charge 0
[2025-01-07 11:31:04] Production.INFO: CreateAllLog End
[2025-01-07 11:31:04] Production.INFO: Account Balance End.
[2025-01-07 11:31:04] Production.ERROR: CronJobId end 12
[2025-01-07 11:31:04] Production.INFO: ==3800== Releasing lock...
[2025-01-07 11:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:31:05
[end_date_ymd] => 2025-01-07 11:31:05
[RateCDR] => 1
)
[2025-01-07 11:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 08:31:05' and `end` < '2025-01-07 11:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 11:31:11] Production.ERROR: CronJobId end10
[2025-01-07 11:31:11] Production.INFO: ==3798== Releasing lock...
[2025-01-07 11:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:31:13] Production.INFO: call_cost start
[2025-01-07 11:31:13] Production.INFO: call_cost end
[2025-01-07 11:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:31:14] Production.INFO: ==3794== Releasing lock...
[2025-01-07 11:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:31:30] Production.INFO: count ==4084
[2025-01-07 11:31:32] Production.ERROR: pbx CDR StartTime 2025-01-07 08:31:05 - End Time 2025-01-07 11:31:05
[2025-01-07 11:31:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:31:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194610', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:31:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194610', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:31:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194610', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:31:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194610', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:31:32] Production.INFO: ProcessCDR(1,14194610,1,1,2)
[2025-01-07 11:31:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194610,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:31:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194610,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:31:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194610,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:31:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194610,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:31:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194610', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:31:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194610', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:31:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:31:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:31:37] Production.INFO: ==3802== Releasing lock...
[2025-01-07 11:31:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:31:37] Production.INFO: 58.5 MB #Memory Used#
[2025-01-07 16:32:01] Production.INFO: ==3857== Lock acquired, processing the job...
[2025-01-07 16:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:32:02] Production.INFO: neon service started
[2025-01-07 16:32:02] Production.INFO: neon service started
[2025-01-07 16:32:02] Production.INFO: ==3857== Releasing lock...
[2025-01-07 16:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:32:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 11:32:02] Production.INFO: ==3859== Lock acquired, processing the job...
[2025-01-07 11:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:32:02] Production.INFO: ==3859== Releasing lock...
[2025-01-07 11:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 16:32:02] Production.INFO: ==3861== Lock acquired, processing the job...
[2025-01-07 16:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:32:02] Production.INFO: ==3861== Releasing lock...
[2025-01-07 16:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:32:03] Production.INFO: ==3864== Lock acquired, processing the job...
[2025-01-07 11:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:32:03] Production.INFO: ==3874== Lock acquired, processing the job...
[2025-01-07 11:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:32:03] Production.INFO: ==3866== Lock acquired, processing the job...
[2025-01-07 11:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:32:03] Production.INFO: ==3868== Lock acquired, processing the job...
[2025-01-07 11:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:32:03] Production.INFO: ==3870== Lock acquired, processing the job...
[2025-01-07 11:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:32:03] Production.INFO: ==3872== Lock acquired, processing the job...
[2025-01-07 11:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 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-07 11:32:03] Production.INFO: count ==21
[2025-01-07 11:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 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-07 11:32:03] Production.INFO: Account Balance Start.
[2025-01-07 11:32:03] Production.INFO: CreateAllLog Start
[2025-01-07 11:32:03] Production.INFO: count ==21
[2025-01-07 11:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194612') start
[2025-01-07 11:32:03] Production.INFO: 117
[2025-01-07 11:32:03] Production.INFO: Date 2024-12-08
[2025-01-07 11:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:32:03] Production.INFO: Date 2024-12-09
[2025-01-07 11:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:32:03] Production.INFO: Date 2024-12-10
[2025-01-07 11:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194612') end
[2025-01-07 11:32:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:32:03] Production.INFO: 1
[2025-01-07 11:32:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:32:04] Production.INFO: Date 2024-12-11
[2025-01-07 11:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:32:04] Production.INFO: ==3874== Releasing lock...
[2025-01-07 11:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:32:04] Production.INFO: ==3866== Releasing lock...
[2025-01-07 11:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:32:04] Production.INFO: Date 2024-12-12
[2025-01-07 11:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:32:04] Production.INFO: Date 2024-12-13
[2025-01-07 11:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:32:04] Production.INFO: Date 2024-12-14
[2025-01-07 11:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:32:04] Production.INFO: Date 2024-12-15
[2025-01-07 11:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:32:04] Production.INFO: Date 2024-12-16
[2025-01-07 11:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:32:04] Production.ERROR: done
[2025-01-07 11:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:32:04] Production.INFO: Date 2024-12-17
[2025-01-07 11:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:32:04] Production.ERROR: done
[2025-01-07 11:32:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:32:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:32:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:32:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:32:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:32:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:32:04] Production.INFO: Date 2024-12-24
[2025-01-07 11:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:32:04] Production.INFO: Date 2024-12-25
[2025-01-07 11:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:32:04] Production.INFO: Date 2024-12-26
[2025-01-07 11:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:32:04] Production.INFO: Date 2024-12-27
[2025-01-07 11:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:32:04] Production.INFO: Date 2024-12-28
[2025-01-07 11:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:32:04] Production.INFO: Date 2024-12-29
[2025-01-07 11:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:32:05] Production.INFO: Date 2024-12-30
[2025-01-07 11:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:32:05] Production.INFO: Date 2024-12-31
[2025-01-07 11:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:32:05] Production.INFO: Date 2025-01-01
[2025-01-07 11:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:32:05] Production.INFO: Date 2025-01-02
[2025-01-07 11:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:32:05] Production.INFO: Date 2025-01-03
[2025-01-07 11:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:32:05] Production.INFO: Date 2025-01-04
[2025-01-07 11:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:32:05] Production.INFO: Date 2025-01-05
[2025-01-07 11:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:32:05] Production.INFO: Date 2025-01-06
[2025-01-07 11:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:32:05] Production.INFO: Date 2025-01-07
[2025-01-07 11:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:32:05] Production.INFO: Total Charge 0
[2025-01-07 11:32:05] Production.INFO: CreateAllLog End
[2025-01-07 11:32:05] Production.INFO: Account Balance End.
[2025-01-07 11:32:05] Production.ERROR: CronJobId end 12
[2025-01-07 11:32:05] Production.INFO: ==3870== Releasing lock...
[2025-01-07 11:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:32:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:32:05
[end_date_ymd] => 2025-01-07 11:32:05
[RateCDR] => 1
)
[2025-01-07 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-07 08:32:05' and `end` < '2025-01-07 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-07 11:32:12] Production.ERROR: CronJobId end10
[2025-01-07 11:32:12] Production.INFO: ==3868== Releasing lock...
[2025-01-07 11:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:32:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:32:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:32:14] Production.INFO: call_cost start
[2025-01-07 11:32:14] Production.INFO: call_cost end
[2025-01-07 11:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:32:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:32:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:32:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:32:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:32:15] Production.INFO: ==3864== Releasing lock...
[2025-01-07 11:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:32:24] Production.INFO: count ==4093
[2025-01-07 11:32:25] Production.ERROR: pbx CDR StartTime 2025-01-07 08:32:05 - End Time 2025-01-07 11:32:05
[2025-01-07 11:32:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:32:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194615', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:32:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194615', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:32:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194615', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:32:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194615', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:32:26] Production.INFO: ProcessCDR(1,14194615,1,1,2)
[2025-01-07 11:32:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194615,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:32:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194615,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:32:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194615,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:32:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194615,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:32:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194615', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:32:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194615', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:32:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:32:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:32:30] Production.INFO: ==3872== Releasing lock...
[2025-01-07 11:32:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:32:30] Production.INFO: 58.5 MB #Memory Used#
[2025-01-07 16:33:01] Production.INFO: ==3929== Lock acquired, processing the job...
[2025-01-07 16:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:33:01] Production.INFO: neon service started
[2025-01-07 16:33:01] Production.INFO: neon service started
[2025-01-07 16:33:01] Production.INFO: ==3929== Releasing lock...
[2025-01-07 16:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:33:02] Production.INFO: ==3931== Lock acquired, processing the job...
[2025-01-07 11:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 16:33:02] Production.INFO: ==3933== Lock acquired, processing the job...
[2025-01-07 16:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:33:02] Production.INFO: ==3933== Releasing lock...
[2025-01-07 16:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:33:02] Production.INFO: ==3931== Releasing lock...
[2025-01-07 11:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:33:03] Production.INFO: ==3938== Lock acquired, processing the job...
[2025-01-07 11:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:33:03] Production.INFO: ==3942== Lock acquired, processing the job...
[2025-01-07 11:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:33:03] Production.INFO: ==3936== Lock acquired, processing the job...
[2025-01-07 11:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:33:03] Production.INFO: Account Balance Start.
[2025-01-07 11:33:03] Production.INFO: CreateAllLog Start
[2025-01-07 11:33:03] Production.INFO: 117
[2025-01-07 11:33:03] Production.INFO: Date 2024-12-08
[2025-01-07 11:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:33:03] Production.INFO: ==3940== Lock acquired, processing the job...
[2025-01-07 11:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:33:03] Production.INFO: Date 2024-12-09
[2025-01-07 11:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:33:03] Production.INFO: ==3944== Lock acquired, processing the job...
[2025-01-07 11:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:33:03] Production.INFO: Date 2024-12-10
[2025-01-07 11:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:33:03] Production.INFO: ==3946== Lock acquired, processing the job...
[2025-01-07 11:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:33:03] Production.INFO: Date 2024-12-11
[2025-01-07 11:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:33:03] Production.INFO: ==3938== Releasing lock...
[2025-01-07 11:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:33:03] Production.INFO: count ==21
[2025-01-07 11:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:33:03] Production.INFO: count ==21
[2025-01-07 11:33:03] Production.INFO: Date 2024-12-12
[2025-01-07 11:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:33:03] Production.INFO: Date 2024-12-13
[2025-01-07 11:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194619') start
[2025-01-07 11:33:03] Production.ERROR: done
[2025-01-07 11:33:03] Production.INFO: Date 2024-12-14
[2025-01-07 11:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:33:03] Production.INFO: Date 2024-12-15
[2025-01-07 11:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194619') end
[2025-01-07 11:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:33:03] Production.INFO: 1
[2025-01-07 11:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:33:03] Production.INFO: Date 2024-12-16
[2025-01-07 11:33:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:33:03] Production.INFO: ==3946== Releasing lock...
[2025-01-07 11:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:33:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:33:04] Production.INFO: Date 2024-12-17
[2025-01-07 11:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:33:04] Production.ERROR: done
[2025-01-07 11:33:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:33:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:33:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:33:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:33:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:33:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:33:04] Production.INFO: Date 2024-12-24
[2025-01-07 11:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:33:04] Production.INFO: Date 2024-12-25
[2025-01-07 11:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:33:04] Production.INFO: Date 2024-12-26
[2025-01-07 11:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:33:04] Production.INFO: Date 2024-12-27
[2025-01-07 11:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:33:04] Production.INFO: Date 2024-12-28
[2025-01-07 11:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:33:04] Production.INFO: Date 2024-12-29
[2025-01-07 11:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:33:04] Production.INFO: Date 2024-12-30
[2025-01-07 11:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:33:04] Production.INFO: Date 2024-12-31
[2025-01-07 11:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:33:04] Production.INFO: Date 2025-01-01
[2025-01-07 11:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:33:04] Production.INFO: Date 2025-01-02
[2025-01-07 11:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:33:04] Production.INFO: Date 2025-01-03
[2025-01-07 11:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:33:04] Production.INFO: Date 2025-01-04
[2025-01-07 11:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:33:04] Production.INFO: Date 2025-01-05
[2025-01-07 11:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:33:04] Production.INFO: Date 2025-01-06
[2025-01-07 11:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:33:04] Production.INFO: Date 2025-01-07
[2025-01-07 11:33:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:33:04] Production.INFO: Total Charge 0
[2025-01-07 11:33:04] Production.INFO: CreateAllLog End
[2025-01-07 11:33:05] Production.INFO: Account Balance End.
[2025-01-07 11:33:05] Production.ERROR: CronJobId end 12
[2025-01-07 11:33:05] Production.INFO: ==3942== Releasing lock...
[2025-01-07 11:33:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:33:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:33:05
[end_date_ymd] => 2025-01-07 11:33:05
[RateCDR] => 1
)
[2025-01-07 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-07 08:33:05' and `end` < '2025-01-07 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-07 11:33:11] Production.ERROR: CronJobId end10
[2025-01-07 11:33:11] Production.INFO: ==3940== Releasing lock...
[2025-01-07 11:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:33:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:33:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:33:13] Production.INFO: call_cost start
[2025-01-07 11:33:13] Production.INFO: call_cost end
[2025-01-07 11:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:33:14] Production.INFO: ==3936== Releasing lock...
[2025-01-07 11:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:33:23] Production.INFO: count ==4061
[2025-01-07 11:33:24] Production.ERROR: pbx CDR StartTime 2025-01-07 08:33:05 - End Time 2025-01-07 11:33:05
[2025-01-07 11:33:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:33:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194620', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:33:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194620', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:33:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194620', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:33:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194620', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:33:24] Production.INFO: ProcessCDR(1,14194620,1,1,2)
[2025-01-07 11:33:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194620,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:33:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194620,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:33:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194620,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:33:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194620,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:33:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194620', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:33:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194620', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:33:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:33:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:33:29] Production.INFO: ==3944== Releasing lock...
[2025-01-07 11:33:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:33:29] Production.INFO: 58.25 MB #Memory Used#
[2025-01-07 16:34:01] Production.INFO: ==4042== Lock acquired, processing the job...
[2025-01-07 16:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:34:01] Production.INFO: neon service started
[2025-01-07 16:34:01] Production.INFO: neon service started
[2025-01-07 16:34:01] Production.INFO: ==4042== Releasing lock...
[2025-01-07 16:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:34:02] Production.INFO: ==4044== Lock acquired, processing the job...
[2025-01-07 11:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:34:02] Production.INFO: ==4044== Releasing lock...
[2025-01-07 11:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 16:34:02] Production.INFO: ==4046== Lock acquired, processing the job...
[2025-01-07 16:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:34:02] Production.INFO: ==4046== Releasing lock...
[2025-01-07 16:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:34:03] Production.INFO: ==4055== Lock acquired, processing the job...
[2025-01-07 11:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:34:03] Production.INFO: ==4049== Lock acquired, processing the job...
[2025-01-07 11:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:34:03] Production.INFO: ==4051== Lock acquired, processing the job...
[2025-01-07 11:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:34:03] Production.INFO: ==4059== Lock acquired, processing the job...
[2025-01-07 11:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:34:03] Production.INFO: Account Balance Start.
[2025-01-07 11:34:03] Production.INFO: CreateAllLog Start
[2025-01-07 11:34:03] Production.INFO: 117
[2025-01-07 11:34:03] Production.INFO: Date 2024-12-08
[2025-01-07 11:34:03] Production.INFO: ==4053== Lock acquired, processing the job...
[2025-01-07 11:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:34:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:34:03] Production.INFO: ==4057== Lock acquired, processing the job...
[2025-01-07 11:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:34:03] Production.INFO: Date 2024-12-09
[2025-01-07 11:34:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 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-07 11:34:03] Production.INFO: Date 2024-12-10
[2025-01-07 11:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:34:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:34:03] Production.INFO: count ==21
[2025-01-07 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-07 11:34:04] Production.INFO: count ==21
[2025-01-07 11:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194623') start
[2025-01-07 11:34:04] Production.INFO: Date 2024-12-11
[2025-01-07 11:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194623') end
[2025-01-07 11:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:34:04] Production.INFO: 1
[2025-01-07 11:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:34:04] Production.INFO: Date 2024-12-12
[2025-01-07 11:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:34:04] Production.INFO: Date 2024-12-13
[2025-01-07 11:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:34:04] Production.INFO: ==4059== Releasing lock...
[2025-01-07 11:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:34:04] Production.INFO: ==4051== Releasing lock...
[2025-01-07 11:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:34:04] Production.ERROR: done
[2025-01-07 11:34:04] Production.INFO: Date 2024-12-14
[2025-01-07 11:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:34:04] Production.INFO: Date 2024-12-15
[2025-01-07 11:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:34:04] Production.ERROR: done
[2025-01-07 11:34:04] Production.INFO: Date 2024-12-16
[2025-01-07 11:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:34:04] Production.INFO: Date 2024-12-17
[2025-01-07 11:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:34:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:34:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:34:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:34:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:34:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:34:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:34:05] Production.INFO: Date 2024-12-23
[2025-01-07 11:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:34:05] Production.INFO: Date 2024-12-24
[2025-01-07 11:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:34:05] Production.INFO: Date 2024-12-25
[2025-01-07 11:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:34:05] Production.INFO: Date 2024-12-26
[2025-01-07 11:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:34:05] Production.INFO: Date 2024-12-27
[2025-01-07 11:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:34:05] Production.INFO: Date 2024-12-28
[2025-01-07 11:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:34:05] Production.INFO: Date 2024-12-29
[2025-01-07 11:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:34:05] Production.INFO: Date 2024-12-30
[2025-01-07 11:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:34:05] Production.INFO: Date 2024-12-31
[2025-01-07 11:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:34:05] Production.INFO: Date 2025-01-01
[2025-01-07 11:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:34:05] Production.INFO: Date 2025-01-02
[2025-01-07 11:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:34:05] Production.INFO: Date 2025-01-03
[2025-01-07 11:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:34:05] Production.INFO: Date 2025-01-04
[2025-01-07 11:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:34:05] Production.INFO: Date 2025-01-05
[2025-01-07 11:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:34:05] Production.INFO: Date 2025-01-06
[2025-01-07 11:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:34:05
[end_date_ymd] => 2025-01-07 11:34:05
[RateCDR] => 1
)
[2025-01-07 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-07 08:34:05' and `end` < '2025-01-07 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-07 11:34:05] Production.INFO: Date 2025-01-07
[2025-01-07 11:34:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:34:05] Production.INFO: Total Charge 0
[2025-01-07 11:34:05] Production.INFO: CreateAllLog End
[2025-01-07 11:34:06] Production.INFO: Account Balance End.
[2025-01-07 11:34:06] Production.ERROR: CronJobId end 12
[2025-01-07 11:34:06] Production.INFO: ==4055== Releasing lock...
[2025-01-07 11:34:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:34:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:34:11] Production.ERROR: CronJobId end10
[2025-01-07 11:34:11] Production.INFO: ==4053== Releasing lock...
[2025-01-07 11:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:34:13] Production.INFO: call_cost start
[2025-01-07 11:34:13] Production.INFO: call_cost end
[2025-01-07 11:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:34:14] Production.INFO: ==4049== Releasing lock...
[2025-01-07 11:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:34:27] Production.INFO: count ==4073
[2025-01-07 11:34:29] Production.ERROR: pbx CDR StartTime 2025-01-07 08:34:05 - End Time 2025-01-07 11:34:05
[2025-01-07 11:34:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:34:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194625', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:34:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194625', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:34:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194625', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:34:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194625', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:34:29] Production.INFO: ProcessCDR(1,14194625,1,1,2)
[2025-01-07 11:34:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194625,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:34:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194625,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:34:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194625,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:34:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194625,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:34:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194625', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:34:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194625', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:34:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:34:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:34:34] Production.INFO: ==4057== Releasing lock...
[2025-01-07 11:34:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:34:34] Production.INFO: 58.5 MB #Memory Used#
[2025-01-07 16:35:01] Production.INFO: ==4121== Lock acquired, processing the job...
[2025-01-07 16:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:35:01] Production.INFO: neon service started
[2025-01-07 16:35:01] Production.INFO: neon service started
[2025-01-07 16:35:01] Production.INFO: ==4121== Releasing lock...
[2025-01-07 16:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:35:01] Production.INFO: ==4123== Lock acquired, processing the job...
[2025-01-07 11:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 16:35:02] Production.INFO: ==4125== Lock acquired, processing the job...
[2025-01-07 16:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:35:02] Production.INFO: ==4125== Releasing lock...
[2025-01-07 16:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:35:02] Production.INFO: ==4123== Releasing lock...
[2025-01-07 11:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:35:02] Production.INFO: ==4129== Lock acquired, processing the job...
[2025-01-07 11:35:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:35:02] Production.INFO: ==4127== Lock acquired, processing the job...
[2025-01-07 11:35:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:35:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:35:03] Production.INFO: ==4137== Lock acquired, processing the job...
[2025-01-07 11:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:35:03] Production.INFO: ==4131== Lock acquired, processing the job...
[2025-01-07 11:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:35:03] Production.INFO: ==4133== Lock acquired, processing the job...
[2025-01-07 11:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 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-07 11:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:35:03] Production.INFO: ==4129== Releasing lock...
[2025-01-07 11:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:35:03] Production.INFO: count ==21
[2025-01-07 11:35:03] Production.INFO: ==4135== Lock acquired, processing the job...
[2025-01-07 11:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:35:03] Production.INFO: count ==21
[2025-01-07 11:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194628') start
[2025-01-07 11:35:03] Production.INFO: Account Balance Start.
[2025-01-07 11:35:03] Production.INFO: CreateAllLog Start
[2025-01-07 11:35:03] Production.INFO: 117
[2025-01-07 11:35:03] Production.INFO: Date 2024-12-08
[2025-01-07 11:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:35:03] Production.INFO: Date 2024-12-09
[2025-01-07 11:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194628') end
[2025-01-07 11:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:35:03] Production.INFO: 1
[2025-01-07 11:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:35:03] Production.INFO: ==4137== Releasing lock...
[2025-01-07 11:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:35:03] Production.INFO: Date 2024-12-10
[2025-01-07 11:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:35:03] Production.ERROR: done
[2025-01-07 11:35:03] Production.INFO: Date 2024-12-11
[2025-01-07 11:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:35:03] Production.INFO: Date 2024-12-12
[2025-01-07 11:35:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:35:04] Production.INFO: Date 2024-12-13
[2025-01-07 11:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:35:04] Production.INFO: Date 2024-12-14
[2025-01-07 11:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:35:04] Production.ERROR: done
[2025-01-07 11:35:04] Production.INFO: Date 2024-12-15
[2025-01-07 11:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:35:04] Production.INFO: Date 2024-12-16
[2025-01-07 11:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:35:04] Production.INFO: Date 2024-12-17
[2025-01-07 11:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:35:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:35:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:35:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:35:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:35:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:35:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:35:04] Production.INFO: Date 2024-12-24
[2025-01-07 11:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:35:04] Production.INFO: Date 2024-12-25
[2025-01-07 11:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:35:04] Production.INFO: Date 2024-12-26
[2025-01-07 11:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:35:04] Production.INFO: Date 2024-12-27
[2025-01-07 11:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:35:04] Production.INFO: Date 2024-12-28
[2025-01-07 11:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:35:04] Production.INFO: Date 2024-12-29
[2025-01-07 11:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:35:04] Production.INFO: Date 2024-12-30
[2025-01-07 11:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:35:04] Production.INFO: Date 2024-12-31
[2025-01-07 11:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:35:04] Production.INFO: Date 2025-01-01
[2025-01-07 11:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:35:04] Production.INFO: Date 2025-01-02
[2025-01-07 11:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:35:04] Production.INFO: Date 2025-01-03
[2025-01-07 11:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:35:04] Production.INFO: Date 2025-01-04
[2025-01-07 11:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:35:04] Production.INFO: Date 2025-01-05
[2025-01-07 11:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:35:04] Production.INFO: Date 2025-01-06
[2025-01-07 11:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:35:04] Production.INFO: Date 2025-01-07
[2025-01-07 11:35:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:35:04] Production.INFO: Total Charge 0
[2025-01-07 11:35:04] Production.INFO: CreateAllLog End
[2025-01-07 11:35:04] Production.INFO: Account Balance End.
[2025-01-07 11:35:04] Production.ERROR: CronJobId end 12
[2025-01-07 11:35:04] Production.INFO: ==4133== Releasing lock...
[2025-01-07 11:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:35:05
[end_date_ymd] => 2025-01-07 11:35:05
[RateCDR] => 1
)
[2025-01-07 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-07 08:35:05' and `end` < '2025-01-07 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-07 11:35:11] Production.ERROR: CronJobId end10
[2025-01-07 11:35:11] Production.INFO: ==4131== Releasing lock...
[2025-01-07 11:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:35:12] Production.INFO: call_cost start
[2025-01-07 11:35:12] Production.INFO: call_cost end
[2025-01-07 11:35:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:35:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:35:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:35:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:35:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:35:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:35:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:35:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:35:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:35:13] Production.INFO: ==4127== Releasing lock...
[2025-01-07 11:35:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:35:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:35:22] Production.INFO: count ==4068
[2025-01-07 11:35:23] Production.ERROR: pbx CDR StartTime 2025-01-07 08:35:05 - End Time 2025-01-07 11:35:05
[2025-01-07 11:35:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:35:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194630', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:35:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194630', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:35:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194630', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:35:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194630', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:35:24] Production.INFO: ProcessCDR(1,14194630,1,1,2)
[2025-01-07 11:35:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194630,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:35:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194630,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:35:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194630,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:35:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194630,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:35:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194630', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:35:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194630', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:35:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:35:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:35:28] Production.INFO: ==4135== Releasing lock...
[2025-01-07 11:35:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:35:28] Production.INFO: 58.5 MB #Memory Used#
[2025-01-07 16:36:01] Production.INFO: ==4196== Lock acquired, processing the job...
[2025-01-07 16:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:36:01] Production.INFO: neon service started
[2025-01-07 16:36:01] Production.INFO: neon service started
[2025-01-07 16:36:01] Production.INFO: ==4196== Releasing lock...
[2025-01-07 16:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:36:02] Production.INFO: ==4198== Lock acquired, processing the job...
[2025-01-07 11:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 16:36:02] Production.INFO: ==4200== Lock acquired, processing the job...
[2025-01-07 16:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:36:02] Production.INFO: ==4198== Releasing lock...
[2025-01-07 11:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 16:36:02] Production.INFO: ==4200== Releasing lock...
[2025-01-07 16:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:36:03] Production.INFO: ==4202== Lock acquired, processing the job...
[2025-01-07 11:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:36:03] Production.INFO: ==4205== Lock acquired, processing the job...
[2025-01-07 11:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:36:03] Production.INFO: ==4207== Lock acquired, processing the job...
[2025-01-07 11:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:36:03] Production.INFO: ==4205== Releasing lock...
[2025-01-07 11:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:36:03] Production.INFO: ==4209== Lock acquired, processing the job...
[2025-01-07 11:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:36:03] Production.INFO: ==4211== Lock acquired, processing the job...
[2025-01-07 11:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:36:03] Production.INFO: ==4213== Lock acquired, processing the job...
[2025-01-07 11:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:36:03] Production.INFO: Account Balance Start.
[2025-01-07 11:36:03] Production.INFO: CreateAllLog Start
[2025-01-07 11:36:03] Production.INFO: 117
[2025-01-07 11:36:03] Production.INFO: Date 2024-12-08
[2025-01-07 11:36:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:36:03] Production.INFO: Date 2024-12-09
[2025-01-07 11:36:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 11:36:03] Production.INFO: count ==21
[2025-01-07 11:36:03] Production.INFO: Date 2024-12-10
[2025-01-07 11:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:36:04] Production.INFO: count ==21
[2025-01-07 11:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:36:04] Production.ERROR: done
[2025-01-07 11:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194634') start
[2025-01-07 11:36:04] Production.INFO: Date 2024-12-11
[2025-01-07 11:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:36:04] Production.INFO: Date 2024-12-12
[2025-01-07 11:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:36:04] Production.INFO: Date 2024-12-13
[2025-01-07 11:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194634') end
[2025-01-07 11:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:36:04] Production.INFO: 1
[2025-01-07 11:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:36:04] Production.ERROR: done
[2025-01-07 11:36:04] Production.INFO: Date 2024-12-14
[2025-01-07 11:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:36:04] Production.INFO: ==4213== Releasing lock...
[2025-01-07 11:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:36:04] Production.INFO: Date 2024-12-15
[2025-01-07 11:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:36:04] Production.INFO: Date 2024-12-16
[2025-01-07 11:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:36:04] Production.INFO: Date 2024-12-17
[2025-01-07 11:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:36:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:36:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:36:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:36:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:36:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:36:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:36:04] Production.INFO: Date 2024-12-24
[2025-01-07 11:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:36:04] Production.INFO: Date 2024-12-25
[2025-01-07 11:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:36:04] Production.INFO: Date 2024-12-26
[2025-01-07 11:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:36:04] Production.INFO: Date 2024-12-27
[2025-01-07 11:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:36:04] Production.INFO: Date 2024-12-28
[2025-01-07 11:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:36:04] Production.INFO: Date 2024-12-29
[2025-01-07 11:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:36:04] Production.INFO: Date 2024-12-30
[2025-01-07 11:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:36:04] Production.INFO: Date 2024-12-31
[2025-01-07 11:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:36:04] Production.INFO: Date 2025-01-01
[2025-01-07 11:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:36:04] Production.INFO: Date 2025-01-02
[2025-01-07 11:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:36:04] Production.INFO: Date 2025-01-03
[2025-01-07 11:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:36:04] Production.INFO: Date 2025-01-04
[2025-01-07 11:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:36:04] Production.INFO: Date 2025-01-05
[2025-01-07 11:36:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:36:05] Production.INFO: Date 2025-01-06
[2025-01-07 11:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:36:05] Production.INFO: Date 2025-01-07
[2025-01-07 11:36:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:36:05] Production.INFO: Total Charge 0
[2025-01-07 11:36:05] Production.INFO: CreateAllLog End
[2025-01-07 11:36:05] Production.INFO: Account Balance End.
[2025-01-07 11:36:05] Production.ERROR: CronJobId end 12
[2025-01-07 11:36:05] Production.INFO: ==4209== Releasing lock...
[2025-01-07 11:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:36:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:36:05
[end_date_ymd] => 2025-01-07 11:36:05
[RateCDR] => 1
)
[2025-01-07 11:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 08:36:05' and `end` < '2025-01-07 11:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 11:36:11] Production.ERROR: CronJobId end10
[2025-01-07 11:36:11] Production.INFO: ==4207== Releasing lock...
[2025-01-07 11:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:36:13] Production.INFO: call_cost start
[2025-01-07 11:36:13] Production.INFO: call_cost end
[2025-01-07 11:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:36:14] Production.INFO: ==4202== Releasing lock...
[2025-01-07 11:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:36:31] Production.INFO: count ==4100
[2025-01-07 11:36:33] Production.ERROR: pbx CDR StartTime 2025-01-07 08:36:05 - End Time 2025-01-07 11:36:05
[2025-01-07 11:36:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:36:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194635', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:36:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194635', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:36:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194635', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:36:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194635', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:36:33] Production.INFO: ProcessCDR(1,14194635,1,1,2)
[2025-01-07 11:36:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194635,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:36:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194635,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:36:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194635,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:36:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194635,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:36:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194635', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:36:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194635', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:36:38] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:36:38] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:36:38] Production.INFO: ==4211== Releasing lock...
[2025-01-07 11:36:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:36:38] Production.INFO: 58.75 MB #Memory Used#
[2025-01-07 16:37:02] Production.INFO: ==4267== Lock acquired, processing the job...
[2025-01-07 16:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:37:02] Production.INFO: neon service started
[2025-01-07 16:37:02] Production.INFO: neon service started
[2025-01-07 16:37:02] Production.INFO: ==4267== Releasing lock...
[2025-01-07 16:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:37:02] Production.INFO: ==4269== Lock acquired, processing the job...
[2025-01-07 11:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:37:02] Production.INFO: ==4269== Releasing lock...
[2025-01-07 11:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 16:37:03] Production.INFO: ==4271== Lock acquired, processing the job...
[2025-01-07 16:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:37:03] Production.INFO: ==4271== Releasing lock...
[2025-01-07 16:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:37:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:37:03] Production.INFO: ==4280== Lock acquired, processing the job...
[2025-01-07 11:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:37:03] Production.INFO: Account Balance Start.
[2025-01-07 11:37:03] Production.INFO: CreateAllLog Start
[2025-01-07 11:37:03] Production.INFO: 117
[2025-01-07 11:37:03] Production.INFO: Date 2024-12-08
[2025-01-07 11:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:37:03] Production.INFO: ==4284== Lock acquired, processing the job...
[2025-01-07 11:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:37:03] Production.INFO: Date 2024-12-09
[2025-01-07 11:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:37:03] Production.INFO: ==4274== Lock acquired, processing the job...
[2025-01-07 11:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:37:03] Production.INFO: Date 2024-12-10
[2025-01-07 11:37:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:37:03] Production.INFO: ==4278== Lock acquired, processing the job...
[2025-01-07 11:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:37:03] Production.INFO: ==4276== Lock acquired, processing the job...
[2025-01-07 11:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:37:04] Production.INFO: count ==21
[2025-01-07 11:37:04] Production.INFO: ==4282== Lock acquired, processing the job...
[2025-01-07 11:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 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-07 11:37:04] Production.INFO: count ==21
[2025-01-07 11:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194637') start
[2025-01-07 11:37:04] Production.INFO: Date 2024-12-11
[2025-01-07 11:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:37:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:37:04] Production.INFO: Date 2024-12-12
[2025-01-07 11:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194637') end
[2025-01-07 11:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:37:04] Production.INFO: 1
[2025-01-07 11:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:37:04] Production.INFO: Date 2024-12-13
[2025-01-07 11:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:37:04] Production.INFO: Date 2024-12-14
[2025-01-07 11:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:37:04] Production.INFO: Date 2024-12-15
[2025-01-07 11:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:37:04] Production.INFO: ==4284== Releasing lock...
[2025-01-07 11:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:37:04] Production.ERROR: done
[2025-01-07 11:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:37:04] Production.INFO: ==4276== Releasing lock...
[2025-01-07 11:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:37:04] Production.INFO: Date 2024-12-16
[2025-01-07 11:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:37:04] Production.INFO: Date 2024-12-17
[2025-01-07 11:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:37:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:37:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:37:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:37:04] Production.ERROR: done
[2025-01-07 11:37:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:37:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:37:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:37:04] Production.INFO: Date 2024-12-24
[2025-01-07 11:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:37:04] Production.INFO: Date 2024-12-25
[2025-01-07 11:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:37:04] Production.INFO: Date 2024-12-26
[2025-01-07 11:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:37:04] Production.INFO: Date 2024-12-27
[2025-01-07 11:37:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:37:05] Production.INFO: Date 2024-12-28
[2025-01-07 11:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:37:05] Production.INFO: Date 2024-12-29
[2025-01-07 11:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:37:05] Production.INFO: Date 2024-12-30
[2025-01-07 11:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:37:05] Production.INFO: Date 2024-12-31
[2025-01-07 11:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:37:05] Production.INFO: Date 2025-01-01
[2025-01-07 11:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:37:05] Production.INFO: Date 2025-01-02
[2025-01-07 11:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:37:05] Production.INFO: Date 2025-01-03
[2025-01-07 11:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:37:05] Production.INFO: Date 2025-01-04
[2025-01-07 11:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:37:05] Production.INFO: Date 2025-01-05
[2025-01-07 11:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:37:05] Production.INFO: Date 2025-01-06
[2025-01-07 11:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:37:05] Production.INFO: Date 2025-01-07
[2025-01-07 11:37:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:37:05] Production.INFO: Total Charge 0
[2025-01-07 11:37:05] Production.INFO: CreateAllLog End
[2025-01-07 11:37:05] Production.INFO: Account Balance End.
[2025-01-07 11:37:05] Production.ERROR: CronJobId end 12
[2025-01-07 11:37:05] Production.INFO: ==4280== Releasing lock...
[2025-01-07 11:37:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:37:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:37:05
[end_date_ymd] => 2025-01-07 11:37:05
[RateCDR] => 1
)
[2025-01-07 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-07 08:37:05' and `end` < '2025-01-07 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-07 11:37:11] Production.ERROR: CronJobId end10
[2025-01-07 11:37:11] Production.INFO: ==4278== Releasing lock...
[2025-01-07 11:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:37:13] Production.INFO: call_cost start
[2025-01-07 11:37:13] Production.INFO: call_cost end
[2025-01-07 11:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:37:14] Production.INFO: ==4274== Releasing lock...
[2025-01-07 11:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:37:25] Production.INFO: count ==4116
[2025-01-07 11:37:27] Production.ERROR: pbx CDR StartTime 2025-01-07 08:37:05 - End Time 2025-01-07 11:37:05
[2025-01-07 11:37:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:37:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194640', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:37:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194640', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:37:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194640', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:37:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194640', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:37:27] Production.INFO: ProcessCDR(1,14194640,1,1,2)
[2025-01-07 11:37:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194640,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:37:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194640,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:37:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194640,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:37:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194640,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:37:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194640', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:37:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194640', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:37:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:37:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:37:32] Production.INFO: ==4282== Releasing lock...
[2025-01-07 11:37:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:37:32] Production.INFO: 58.75 MB #Memory Used#
[2025-01-07 16:38:01] Production.INFO: ==4350== Lock acquired, processing the job...
[2025-01-07 16:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:38:01] Production.INFO: neon service started
[2025-01-07 16:38:01] Production.INFO: neon service started
[2025-01-07 16:38:01] Production.INFO: ==4350== Releasing lock...
[2025-01-07 16:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 16:38:02] Production.INFO: ==4354== Lock acquired, processing the job...
[2025-01-07 16:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:38:02] Production.INFO: ==4354== Releasing lock...
[2025-01-07 16:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:38:02] Production.INFO: ==4352== Lock acquired, processing the job...
[2025-01-07 11:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:38:02] Production.INFO: ==4352== Releasing lock...
[2025-01-07 11:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:38:03] Production.INFO: ==4357== Lock acquired, processing the job...
[2025-01-07 11:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:38:03] Production.INFO: ==4359== Lock acquired, processing the job...
[2025-01-07 11:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:38:03] Production.INFO: ==4361== Lock acquired, processing the job...
[2025-01-07 11:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:38:03] Production.INFO: ==4363== Lock acquired, processing the job...
[2025-01-07 11:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:38:03] Production.INFO: ==4365== Lock acquired, processing the job...
[2025-01-07 11:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:38:03] Production.INFO: Account Balance Start.
[2025-01-07 11:38:03] Production.INFO: CreateAllLog Start
[2025-01-07 11:38:03] Production.INFO: 117
[2025-01-07 11:38:03] Production.INFO: ==4359== Releasing lock...
[2025-01-07 11:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:38:03] Production.INFO: Date 2024-12-08
[2025-01-07 11:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:38:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:38:03] Production.INFO: ==4367== Lock acquired, processing the job...
[2025-01-07 11:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:38:03] Production.INFO: Date 2024-12-09
[2025-01-07 11:38:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:38:03] Production.INFO: Date 2024-12-10
[2025-01-07 11:38:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:38:03] Production.INFO: Date 2024-12-11
[2025-01-07 11:38:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:38:03] Production.INFO: Date 2024-12-12
[2025-01-07 11:38:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:38:03] Production.INFO: Date 2024-12-13
[2025-01-07 11:38:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:38:03] Production.INFO: Date 2024-12-14
[2025-01-07 11:38:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:38:03] Production.INFO: count ==21
[2025-01-07 11:38:03] Production.ERROR: done
[2025-01-07 11:38:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:38:03] Production.INFO: Date 2024-12-15
[2025-01-07 11:38:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:38:04] Production.INFO: count ==21
[2025-01-07 11:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194644') start
[2025-01-07 11:38:04] Production.INFO: Date 2024-12-16
[2025-01-07 11:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:38:04] Production.ERROR: done
[2025-01-07 11:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194644') end
[2025-01-07 11:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:38:04] Production.INFO: 1
[2025-01-07 11:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:38:04] Production.INFO: Date 2024-12-17
[2025-01-07 11:38:04] Production.INFO: ==4367== Releasing lock...
[2025-01-07 11:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:38:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:38:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:38:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:38:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:38:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:38:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:38:04] Production.INFO: Date 2024-12-24
[2025-01-07 11:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:38:04] Production.INFO: Date 2024-12-25
[2025-01-07 11:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:38:04] Production.INFO: Date 2024-12-26
[2025-01-07 11:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:38:04] Production.INFO: Date 2024-12-27
[2025-01-07 11:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:38:04] Production.INFO: Date 2024-12-28
[2025-01-07 11:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:38:04] Production.INFO: Date 2024-12-29
[2025-01-07 11:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:38:04] Production.INFO: Date 2024-12-30
[2025-01-07 11:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:38:04] Production.INFO: Date 2024-12-31
[2025-01-07 11:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:38:04] Production.INFO: Date 2025-01-01
[2025-01-07 11:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:38:04] Production.INFO: Date 2025-01-02
[2025-01-07 11:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:38:04] Production.INFO: Date 2025-01-03
[2025-01-07 11:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:38:04] Production.INFO: Date 2025-01-04
[2025-01-07 11:38:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:38:05
[end_date_ymd] => 2025-01-07 11:38:05
[RateCDR] => 1
)
[2025-01-07 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-07 08:38:05' and `end` < '2025-01-07 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-07 11:38:05] Production.INFO: Date 2025-01-05
[2025-01-07 11:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:38:05] Production.INFO: Date 2025-01-06
[2025-01-07 11:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:38:05] Production.INFO: Date 2025-01-07
[2025-01-07 11:38:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:38:05] Production.INFO: Total Charge 0
[2025-01-07 11:38:05] Production.INFO: CreateAllLog End
[2025-01-07 11:38:05] Production.INFO: Account Balance End.
[2025-01-07 11:38:05] Production.ERROR: CronJobId end 12
[2025-01-07 11:38:05] Production.INFO: ==4363== Releasing lock...
[2025-01-07 11:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:38:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:38:11] Production.ERROR: CronJobId end10
[2025-01-07 11:38:11] Production.INFO: ==4361== Releasing lock...
[2025-01-07 11:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:38:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:38:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:38:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:38:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:38:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:38:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:38:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:38:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:38:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:38:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:38:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:38:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:38:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:38:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:38:13] Production.INFO: call_cost start
[2025-01-07 11:38:13] Production.INFO: call_cost end
[2025-01-07 11:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:38:14] Production.INFO: ==4357== Releasing lock...
[2025-01-07 11:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:38:39] Production.INFO: count ==4136
[2025-01-07 11:38:40] Production.ERROR: pbx CDR StartTime 2025-01-07 08:38:05 - End Time 2025-01-07 11:38:05
[2025-01-07 11:38:40] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:38:40] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194645', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:38:40] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194645', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:38:40] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194645', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:38:40] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194645', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:38:40] Production.INFO: ProcessCDR(1,14194645,1,1,2)
[2025-01-07 11:38:40] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194645,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:38:43] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194645,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:38:43] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194645,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:38:45] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194645,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:38:45] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194645', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:38:45] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194645', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:38:45] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:38:45] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:38:45] Production.INFO: ==4365== Releasing lock...
[2025-01-07 11:38:45] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:38:45] Production.INFO: 59 MB #Memory Used#
[2025-01-07 16:39:02] Production.INFO: ==4442== Lock acquired, processing the job...
[2025-01-07 16:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:39:02] Production.INFO: neon service started
[2025-01-07 16:39:02] Production.INFO: neon service started
[2025-01-07 16:39:02] Production.INFO: ==4442== Releasing lock...
[2025-01-07 16:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:39:02] Production.INFO: ==4444== Lock acquired, processing the job...
[2025-01-07 11:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:39:02] Production.INFO: ==4444== Releasing lock...
[2025-01-07 11:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 16:39:02] Production.INFO: ==4446== Lock acquired, processing the job...
[2025-01-07 16:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:39:02] Production.INFO: ==4446== Releasing lock...
[2025-01-07 16:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:39:03] Production.INFO: ==4448== Lock acquired, processing the job...
[2025-01-07 11:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:39:03] Production.INFO: ==4450== Lock acquired, processing the job...
[2025-01-07 11:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:39:03] Production.INFO: ==4458== Lock acquired, processing the job...
[2025-01-07 11:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:39:03] Production.INFO: ==4452== Lock acquired, processing the job...
[2025-01-07 11:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 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-07 11:39:03] Production.INFO: ==4454== Lock acquired, processing the job...
[2025-01-07 11:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:39:03] Production.INFO: count ==21
[2025-01-07 11:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:39:03] Production.INFO: ==4456== Lock acquired, processing the job...
[2025-01-07 11:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 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-07 11:39:03] Production.INFO: count ==21
[2025-01-07 11:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194647') start
[2025-01-07 11:39:03] Production.INFO: Account Balance Start.
[2025-01-07 11:39:03] Production.INFO: CreateAllLog Start
[2025-01-07 11:39:03] Production.INFO: 117
[2025-01-07 11:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:39:03] Production.INFO: Date 2024-12-08
[2025-01-07 11:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:39:03] Production.INFO: Date 2024-12-09
[2025-01-07 11:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:39:03] Production.INFO: Date 2024-12-10
[2025-01-07 11:39:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194647') end
[2025-01-07 11:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:39:03] Production.INFO: 1
[2025-01-07 11:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:39:04] Production.INFO: Date 2024-12-11
[2025-01-07 11:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:39:04] Production.INFO: ==4450== Releasing lock...
[2025-01-07 11:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:39:04] Production.INFO: Date 2024-12-12
[2025-01-07 11:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:39:04] Production.INFO: ==4458== Releasing lock...
[2025-01-07 11:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:39:04] Production.INFO: Date 2024-12-13
[2025-01-07 11:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:39:04] Production.INFO: Date 2024-12-14
[2025-01-07 11:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:39:04] Production.INFO: Date 2024-12-15
[2025-01-07 11:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:39:04] Production.ERROR: done
[2025-01-07 11:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:39:04] Production.INFO: Date 2024-12-16
[2025-01-07 11:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:39:04] Production.INFO: Date 2024-12-17
[2025-01-07 11:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:39:04] Production.ERROR: done
[2025-01-07 11:39:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:39:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:39:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:39:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:39:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:39:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:39:04] Production.INFO: Date 2024-12-24
[2025-01-07 11:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:39:04] Production.INFO: Date 2024-12-25
[2025-01-07 11:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:39:04] Production.INFO: Date 2024-12-26
[2025-01-07 11:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:39:04] Production.INFO: Date 2024-12-27
[2025-01-07 11:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:39:04] Production.INFO: Date 2024-12-28
[2025-01-07 11:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:39:04] Production.INFO: Date 2024-12-29
[2025-01-07 11:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:39:04] Production.INFO: Date 2024-12-30
[2025-01-07 11:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:39:04] Production.INFO: Date 2024-12-31
[2025-01-07 11:39:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:39:05] Production.INFO: Date 2025-01-01
[2025-01-07 11:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:39:05] Production.INFO: Date 2025-01-02
[2025-01-07 11:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:39:05] Production.INFO: Date 2025-01-03
[2025-01-07 11:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:39:05] Production.INFO: Date 2025-01-04
[2025-01-07 11:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:39:05] Production.INFO: Date 2025-01-05
[2025-01-07 11:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:39:05] Production.INFO: Date 2025-01-06
[2025-01-07 11:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:39:05] Production.INFO: Date 2025-01-07
[2025-01-07 11:39:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:39:05] Production.INFO: Total Charge 0
[2025-01-07 11:39:05] Production.INFO: CreateAllLog End
[2025-01-07 11:39:05] Production.INFO: Account Balance End.
[2025-01-07 11:39:05] Production.ERROR: CronJobId end 12
[2025-01-07 11:39:05] Production.INFO: ==4454== Releasing lock...
[2025-01-07 11:39:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:39:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:39:05
[end_date_ymd] => 2025-01-07 11:39:05
[RateCDR] => 1
)
[2025-01-07 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-07 08:39:05' and `end` < '2025-01-07 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-07 11:39:12] Production.ERROR: CronJobId end10
[2025-01-07 11:39:12] Production.INFO: ==4452== Releasing lock...
[2025-01-07 11:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:39:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:39:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:39:13] Production.INFO: call_cost start
[2025-01-07 11:39:13] Production.INFO: call_cost end
[2025-01-07 11:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:39:14] Production.INFO: ==4448== Releasing lock...
[2025-01-07 11:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:39:35] Production.INFO: count ==4129
[2025-01-07 11:39:36] Production.ERROR: pbx CDR StartTime 2025-01-07 08:39:05 - End Time 2025-01-07 11:39:05
[2025-01-07 11:39:36] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:39:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194650', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:39:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194650', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:39:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194650', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:39:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194650', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:39:36] Production.INFO: ProcessCDR(1,14194650,1,1,2)
[2025-01-07 11:39:36] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194650,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:39:39] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194650,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:39:39] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194650,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:39:41] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194650,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:39:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194650', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:39:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194650', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:39:41] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:39:41] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:39:41] Production.INFO: ==4456== Releasing lock...
[2025-01-07 11:39:41] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:39:41] Production.INFO: 59 MB #Memory Used#
[2025-01-07 16:40:01] Production.INFO: ==4527== Lock acquired, processing the job...
[2025-01-07 16:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:40:01] Production.INFO: neon service started
[2025-01-07 16:40:01] Production.INFO: neon service started
[2025-01-07 16:40:01] Production.INFO: ==4527== Releasing lock...
[2025-01-07 16:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:40:01] Production.INFO: ==4529== Lock acquired, processing the job...
[2025-01-07 11:40:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 16:40:02] Production.INFO: ==4531== Lock acquired, processing the job...
[2025-01-07 16:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:40:02] Production.INFO: ==4531== Releasing lock...
[2025-01-07 16:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:40:02] Production.INFO: ==4529== Releasing lock...
[2025-01-07 11:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:40:03] Production.INFO: ==4538== Lock acquired, processing the job...
[2025-01-07 11:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:40:03] Production.INFO: ==4534== Lock acquired, processing the job...
[2025-01-07 11:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 11:40:03] Production.INFO: ==4544== Lock acquired, processing the job...
[2025-01-07 11:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 11:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 11:40:03] Production.ERROR: CronJob PID - 4538
[2025-01-07 11:40:03] Production.ERROR: CronJob Title - Account Block
[2025-01-07 11:40:03] Production.ERROR: CronJob ID - 7
[2025-01-07 11:40:03] Production.ERROR: CronJob Last Run Time 2025-01-07 11:40:00
[2025-01-07 11:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 11:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 11:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 11:40:03] Production.ERROR: CronJob PID - 4544
[2025-01-07 11:40:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-07 11:40:03] Production.ERROR: CronJob ID - 16
[2025-01-07 11:40:03] Production.ERROR: CronJob Last Run Time 2025-01-07 11:40:00
[2025-01-07 11:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 11:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 11:40:03] Production.INFO: ==4548== Lock acquired, processing the job...
[2025-01-07 11:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 11:40:03] Production.INFO: ==4534== Releasing lock...
[2025-01-07 11:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 11:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 11:40:03] Production.INFO: ==4536== Lock acquired, processing the job...
[2025-01-07 11:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:40:03] Production.INFO: ==4540== Lock acquired, processing the job...
[2025-01-07 11:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:40:03] Production.INFO: ==4546== Lock acquired, processing the job...
[2025-01-07 11:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 11:40:03] Production.INFO: ==4542== Lock acquired, processing the job...
[2025-01-07 11:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:40:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:40:03] Production.INFO: count ==21
[2025-01-07 11:40:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:40:03] Production.INFO: count ==21
[2025-01-07 11:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:40:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194652') start
[2025-01-07 11:40:03] Production.INFO: Account Balance Start.
[2025-01-07 11:40:03] Production.INFO: CreateAllLog Start
[2025-01-07 11:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:40:04] Production.INFO: 117
[2025-01-07 11:40:04] Production.INFO: Date 2024-12-08
[2025-01-07 11:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:40:04] Production.INFO: ==4538== Releasing lock...
[2025-01-07 11:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194652') end
[2025-01-07 11:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:40:04] Production.INFO: 1
[2025-01-07 11:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:40:04] Production.ERROR: done
[2025-01-07 11:40:04] Production.ERROR: done
[2025-01-07 11:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:40:04] Production.INFO: ==4548== Releasing lock...
[2025-01-07 11:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:40:04] Production.INFO: Date 2024-12-09
[2025-01-07 11:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:40:04] Production.INFO: Date 2024-12-10
[2025-01-07 11:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 11:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14194655', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 11:40:04] Production.INFO: Date 2024-12-11
[2025-01-07 11:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:40:04] Production.INFO: Date 2024-12-12
[2025-01-07 11:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:40:04] Production.INFO: Date 2024-12-13
[2025-01-07 11:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:40:04] Production.ERROR: done
[2025-01-07 11:40:04] Production.INFO: Date 2024-12-14
[2025-01-07 11:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:40:04] Production.INFO: Date 2024-12-15
[2025-01-07 11:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:40:04] Production.INFO: Date 2024-12-16
[2025-01-07 11:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:40:04] Production.INFO: Date 2024-12-17
[2025-01-07 11:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:40:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:40:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:40:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:40:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:40:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:40:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:40:04] Production.INFO: Date 2024-12-24
[2025-01-07 11:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:40:04] Production.INFO: Date 2024-12-25
[2025-01-07 11:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:40:04] Production.INFO: Date 2024-12-26
[2025-01-07 11:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:40:04] Production.INFO: Date 2024-12-27
[2025-01-07 11:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:40:04] Production.INFO: Date 2024-12-28
[2025-01-07 11:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:40:04] Production.INFO: Date 2024-12-29
[2025-01-07 11:40:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:40:05] Production.INFO: Date 2024-12-30
[2025-01-07 11:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:40:05] Production.INFO: Date 2024-12-31
[2025-01-07 11:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:40:05] Production.INFO: Date 2025-01-01
[2025-01-07 11:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:40:05] Production.INFO: Date 2025-01-02
[2025-01-07 11:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:40:05] Production.INFO: Date 2025-01-03
[2025-01-07 11:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:40:05] Production.INFO: Date 2025-01-04
[2025-01-07 11:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:40:05] Production.INFO: Date 2025-01-05
[2025-01-07 11:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:40:05] Production.INFO: Date 2025-01-06
[2025-01-07 11:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:40:05] Production.INFO: Date 2025-01-07
[2025-01-07 11:40:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:40:05] Production.INFO: Total Charge 0
[2025-01-07 11:40:05] Production.INFO: CreateAllLog End
[2025-01-07 11:40:05] Production.INFO: Account Balance End.
[2025-01-07 11:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:40:05
[end_date_ymd] => 2025-01-07 11:40:05
[RateCDR] => 1
)
[2025-01-07 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-07 08:40:05' and `end` < '2025-01-07 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-07 11:40:05] Production.ERROR: CronJobId end 12
[2025-01-07 11:40:05] Production.INFO: ==4542== Releasing lock...
[2025-01-07 11:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14194655', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 11:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 11:40:08] Production.INFO: ProcessCDR(1,14194655,1,1,2)
[2025-01-07 11:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14194655,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14194655,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:40:08] Production.INFO: ==4546== Releasing lock...
[2025-01-07 11:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 11:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-07 11:40:13] Production.ERROR: CronJobId end10
[2025-01-07 11:40:13] Production.INFO: ==4540== Releasing lock...
[2025-01-07 11:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:40:15] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:40:15] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:40:15] Production.INFO: call_cost start
[2025-01-07 11:40:15] Production.INFO: call_cost end
[2025-01-07 11:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:40:16] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:40:16] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:40:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:40:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:40:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:40:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:40:16] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:40:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:40:16] Production.INFO: ==4536== Releasing lock...
[2025-01-07 11:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:40:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:40:27] Production.INFO: count ==4129
[2025-01-07 11:40:29] Production.ERROR: pbx CDR StartTime 2025-01-07 08:40:05 - End Time 2025-01-07 11:40:05
[2025-01-07 11:40:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:40:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194656', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:40:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194656', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:40:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194656', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:40:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194656', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:40:29] Production.INFO: ProcessCDR(1,14194656,1,1,2)
[2025-01-07 11:40:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194656,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:40:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194656,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:40:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194656,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:40:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194656,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:40:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194656', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:40:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194656', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:40:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:40:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:40:34] Production.INFO: ==4544== Releasing lock...
[2025-01-07 11:40:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:40:34] Production.INFO: 59 MB #Memory Used#
[2025-01-07 16:41:01] Production.INFO: ==4634== Lock acquired, processing the job...
[2025-01-07 16:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:41:01] Production.INFO: neon service started
[2025-01-07 16:41:01] Production.INFO: neon service started
[2025-01-07 16:41:01] Production.INFO: ==4634== Releasing lock...
[2025-01-07 16:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:41:02] Production.INFO: ==4636== Lock acquired, processing the job...
[2025-01-07 11:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 16:41:02] Production.INFO: ==4638== Lock acquired, processing the job...
[2025-01-07 16:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:41:02] Production.INFO: ==4638== Releasing lock...
[2025-01-07 16:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:41:02] Production.INFO: ==4636== Releasing lock...
[2025-01-07 11:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:41:03] Production.INFO: ==4645== Lock acquired, processing the job...
[2025-01-07 11:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:41:03] Production.INFO: ==4651== Lock acquired, processing the job...
[2025-01-07 11:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:41:03] Production.INFO: ==4641== Lock acquired, processing the job...
[2025-01-07 11:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:41:03] Production.INFO: ==4643== Lock acquired, processing the job...
[2025-01-07 11:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 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-07 11:41:03] Production.INFO: count ==21
[2025-01-07 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-07 11:41:03] Production.INFO: count ==21
[2025-01-07 11:41:03] Production.INFO: ==4647== Lock acquired, processing the job...
[2025-01-07 11:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:41:03] Production.INFO: ==4649== Lock acquired, processing the job...
[2025-01-07 11:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194657') start
[2025-01-07 11:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:41:04] Production.INFO: Account Balance Start.
[2025-01-07 11:41:04] Production.INFO: CreateAllLog Start
[2025-01-07 11:41:04] Production.INFO: 117
[2025-01-07 11:41:04] Production.INFO: Date 2024-12-08
[2025-01-07 11:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194657') end
[2025-01-07 11:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:41:04] Production.INFO: 1
[2025-01-07 11:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:41:04] Production.INFO: Date 2024-12-09
[2025-01-07 11:41:04] Production.INFO: ==4651== Releasing lock...
[2025-01-07 11:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:41:04] Production.INFO: ==4643== Releasing lock...
[2025-01-07 11:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:41:04] Production.INFO: Date 2024-12-10
[2025-01-07 11:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:41:04] Production.INFO: Date 2024-12-11
[2025-01-07 11:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:41:04] Production.INFO: Date 2024-12-12
[2025-01-07 11:41:04] Production.ERROR: done
[2025-01-07 11:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:41:04] Production.INFO: Date 2024-12-13
[2025-01-07 11:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:41:04] Production.INFO: Date 2024-12-14
[2025-01-07 11:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:41:04] Production.INFO: Date 2024-12-15
[2025-01-07 11:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:41:04] Production.INFO: Date 2024-12-16
[2025-01-07 11:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:41:04] Production.INFO: Date 2024-12-17
[2025-01-07 11:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:41:04] Production.ERROR: done
[2025-01-07 11:41:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:41:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:41:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:41:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:41:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:41:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:41:04] Production.INFO: Date 2024-12-24
[2025-01-07 11:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:41:04] Production.INFO: Date 2024-12-25
[2025-01-07 11:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:41:04] Production.INFO: Date 2024-12-26
[2025-01-07 11:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:41:04] Production.INFO: Date 2024-12-27
[2025-01-07 11:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:41:04] Production.INFO: Date 2024-12-28
[2025-01-07 11:41:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:41:05] Production.INFO: Date 2024-12-29
[2025-01-07 11:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:41:05] Production.INFO: Date 2024-12-30
[2025-01-07 11:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:41:05] Production.INFO: Date 2024-12-31
[2025-01-07 11:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:41:05] Production.INFO: Date 2025-01-01
[2025-01-07 11:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:41:05] Production.INFO: Date 2025-01-02
[2025-01-07 11:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:41:05] Production.INFO: Date 2025-01-03
[2025-01-07 11:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:41:05] Production.INFO: Date 2025-01-04
[2025-01-07 11:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:41:05] Production.INFO: Date 2025-01-05
[2025-01-07 11:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:41:05] Production.INFO: Date 2025-01-06
[2025-01-07 11:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:41:05] Production.INFO: Date 2025-01-07
[2025-01-07 11:41:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:41:05] Production.INFO: Total Charge 0
[2025-01-07 11:41:05] Production.INFO: CreateAllLog End
[2025-01-07 11:41:05] Production.INFO: Account Balance End.
[2025-01-07 11:41:05] Production.ERROR: CronJobId end 12
[2025-01-07 11:41:05] Production.INFO: ==4647== Releasing lock...
[2025-01-07 11:41:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:41:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:41:05
[end_date_ymd] => 2025-01-07 11:41:05
[RateCDR] => 1
)
[2025-01-07 11:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 08:41:05' and `end` < '2025-01-07 11:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 11:41:11] Production.ERROR: CronJobId end10
[2025-01-07 11:41:11] Production.INFO: ==4645== Releasing lock...
[2025-01-07 11:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:41:13] Production.INFO: call_cost start
[2025-01-07 11:41:13] Production.INFO: call_cost end
[2025-01-07 11:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:41:14] Production.INFO: ==4641== Releasing lock...
[2025-01-07 11:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:41:25] Production.INFO: count ==4178
[2025-01-07 11:41:27] Production.ERROR: pbx CDR StartTime 2025-01-07 08:41:05 - End Time 2025-01-07 11:41:05
[2025-01-07 11:41:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:41:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194661', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:41:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194661', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:41:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194661', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:41:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194661', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:41:27] Production.INFO: ProcessCDR(1,14194661,1,1,2)
[2025-01-07 11:41:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194661,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:41:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194661,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:41:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194661,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:41:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194661,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:41:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194661', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:41:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194661', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:41:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:41:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:41:31] Production.INFO: ==4649== Releasing lock...
[2025-01-07 11:41:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:41:31] Production.INFO: 59.25 MB #Memory Used#
[2025-01-07 16:42:02] Production.INFO: ==4730== Lock acquired, processing the job...
[2025-01-07 16:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:42:02] Production.INFO: neon service started
[2025-01-07 16:42:02] Production.INFO: neon service started
[2025-01-07 16:42:02] Production.INFO: ==4730== Releasing lock...
[2025-01-07 16:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:42:02] Production.INFO: ==4732== Lock acquired, processing the job...
[2025-01-07 11:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:42:02] Production.INFO: ==4732== Releasing lock...
[2025-01-07 11:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 16:42:02] Production.INFO: ==4734== Lock acquired, processing the job...
[2025-01-07 16:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:42:03] Production.INFO: ==4734== Releasing lock...
[2025-01-07 16:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:42:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:42:03] Production.INFO: ==4736== Lock acquired, processing the job...
[2025-01-07 11:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:42:03] Production.INFO: ==4738== Lock acquired, processing the job...
[2025-01-07 11:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:42:03] Production.INFO: ==4742== Lock acquired, processing the job...
[2025-01-07 11:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:42:03] Production.INFO: Account Balance Start.
[2025-01-07 11:42:03] Production.INFO: CreateAllLog Start
[2025-01-07 11:42:03] Production.INFO: 117
[2025-01-07 11:42:03] Production.INFO: Date 2024-12-08
[2025-01-07 11:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:42:03] Production.INFO: ==4740== Lock acquired, processing the job...
[2025-01-07 11:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:42:03] Production.INFO: ==4738== Releasing lock...
[2025-01-07 11:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:42:03] Production.INFO: Date 2024-12-09
[2025-01-07 11:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:42:03] Production.INFO: ==4747== Lock acquired, processing the job...
[2025-01-07 11:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:42:03] Production.INFO: Date 2024-12-10
[2025-01-07 11:42:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:42:04] Production.INFO: Date 2024-12-11
[2025-01-07 11:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:42:04] Production.INFO: ==4749== Lock acquired, processing the job...
[2025-01-07 11:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:42:04] Production.INFO: Date 2024-12-12
[2025-01-07 11:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:42:04] Production.INFO: Date 2024-12-13
[2025-01-07 11:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:42:04] Production.INFO: count ==21
[2025-01-07 11:42:04] Production.ERROR: done
[2025-01-07 11:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 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-07 11:42:04] Production.INFO: Date 2024-12-14
[2025-01-07 11:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:42:04] Production.INFO: count ==21
[2025-01-07 11:42:04] Production.INFO: Date 2024-12-15
[2025-01-07 11:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194665') start
[2025-01-07 11:42:04] Production.ERROR: done
[2025-01-07 11:42:04] Production.INFO: Date 2024-12-16
[2025-01-07 11:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194665') end
[2025-01-07 11:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:42:04] Production.INFO: 1
[2025-01-07 11:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:42:04] Production.INFO: ==4749== Releasing lock...
[2025-01-07 11:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:42:04] Production.INFO: Date 2024-12-17
[2025-01-07 11:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:42:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:42:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:42:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:42:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:42:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:42:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:42:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:42:05] Production.INFO: Date 2024-12-24
[2025-01-07 11:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:42:05] Production.INFO: Date 2024-12-25
[2025-01-07 11:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:42:05] Production.INFO: Date 2024-12-26
[2025-01-07 11:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:42:05] Production.INFO: Date 2024-12-27
[2025-01-07 11:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:42:05] Production.INFO: Date 2024-12-28
[2025-01-07 11:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:42:05] Production.INFO: Date 2024-12-29
[2025-01-07 11:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:42:05] Production.INFO: Date 2024-12-30
[2025-01-07 11:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:42:05] Production.INFO: Date 2024-12-31
[2025-01-07 11:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:42:05] Production.INFO: Date 2025-01-01
[2025-01-07 11:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:42:05] Production.INFO: Date 2025-01-02
[2025-01-07 11:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:42:05] Production.INFO: Date 2025-01-03
[2025-01-07 11:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:42:05] Production.INFO: Date 2025-01-04
[2025-01-07 11:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:42:05] Production.INFO: Date 2025-01-05
[2025-01-07 11:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:42:05] Production.INFO: Date 2025-01-06
[2025-01-07 11:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:42:05] Production.INFO: Date 2025-01-07
[2025-01-07 11:42:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:42:05] Production.INFO: Total Charge 0
[2025-01-07 11:42:05] Production.INFO: CreateAllLog End
[2025-01-07 11:42:05] Production.INFO: Account Balance End.
[2025-01-07 11:42:05] Production.ERROR: CronJobId end 12
[2025-01-07 11:42:05] Production.INFO: ==4742== Releasing lock...
[2025-01-07 11:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:42:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:42:05
[end_date_ymd] => 2025-01-07 11:42:05
[RateCDR] => 1
)
[2025-01-07 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-07 08:42:05' and `end` < '2025-01-07 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-07 11:42:12] Production.ERROR: CronJobId end10
[2025-01-07 11:42:12] Production.INFO: ==4740== Releasing lock...
[2025-01-07 11:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:42:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:42:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:42:15] Production.INFO: call_cost start
[2025-01-07 11:42:15] Production.INFO: call_cost end
[2025-01-07 11:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:42:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:42:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:42:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:42:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:42:15] Production.INFO: ==4736== Releasing lock...
[2025-01-07 11:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:42:25] Production.INFO: count ==4212
[2025-01-07 11:42:27] Production.ERROR: pbx CDR StartTime 2025-01-07 08:42:05 - End Time 2025-01-07 11:42:05
[2025-01-07 11:42:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:42:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194666', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:42:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194666', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:42:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194666', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:42:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194666', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:42:27] Production.INFO: ProcessCDR(1,14194666,1,1,2)
[2025-01-07 11:42:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194666,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:42:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194666,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:42:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194666,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:42:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194666,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:42:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194666', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:42:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194666', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:42:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:42:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:42:32] Production.INFO: ==4747== Releasing lock...
[2025-01-07 11:42:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:42:32] Production.INFO: 59.5 MB #Memory Used#
[2025-01-07 16:43:01] Production.INFO: ==4822== Lock acquired, processing the job...
[2025-01-07 16:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:43:01] Production.INFO: neon service started
[2025-01-07 16:43:01] Production.INFO: neon service started
[2025-01-07 16:43:01] Production.INFO: ==4822== Releasing lock...
[2025-01-07 16:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:43:02] Production.INFO: ==4824== Lock acquired, processing the job...
[2025-01-07 11:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 16:43:02] Production.INFO: ==4826== Lock acquired, processing the job...
[2025-01-07 16:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:43:02] Production.INFO: ==4826== Releasing lock...
[2025-01-07 16:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:43:02] Production.INFO: ==4824== Releasing lock...
[2025-01-07 11:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:43:03] Production.INFO: ==4829== Lock acquired, processing the job...
[2025-01-07 11:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:43:03] Production.INFO: ==4833== Lock acquired, processing the job...
[2025-01-07 11:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:43:03] Production.INFO: ==4835== Lock acquired, processing the job...
[2025-01-07 11:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:43:03] Production.INFO: Account Balance Start.
[2025-01-07 11:43:03] Production.INFO: CreateAllLog Start
[2025-01-07 11:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:43:03] Production.INFO: 117
[2025-01-07 11:43:03] Production.INFO: Date 2024-12-08
[2025-01-07 11:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:43:03] Production.INFO: Date 2024-12-09
[2025-01-07 11:43:03] Production.INFO: ==4831== Lock acquired, processing the job...
[2025-01-07 11:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:43:03] Production.INFO: Date 2024-12-10
[2025-01-07 11:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:43:03] Production.INFO: Date 2024-12-11
[2025-01-07 11:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:43:03] Production.INFO: ==4838== Lock acquired, processing the job...
[2025-01-07 11:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:43:03] Production.INFO: Date 2024-12-12
[2025-01-07 11:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:43:03] Production.INFO: Date 2024-12-13
[2025-01-07 11:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:43:03] Production.INFO: ==4841== Lock acquired, processing the job...
[2025-01-07 11:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:43:03] Production.INFO: Date 2024-12-14
[2025-01-07 11:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:43:03] Production.INFO: Date 2024-12-15
[2025-01-07 11:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:43:03] Production.INFO: Date 2024-12-16
[2025-01-07 11:43:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 11:43:04] Production.INFO: Date 2024-12-17
[2025-01-07 11:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:43:04] Production.INFO: count ==21
[2025-01-07 11:43:04] Production.INFO: ==4831== Releasing lock...
[2025-01-07 11:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:43:04] Production.INFO: count ==21
[2025-01-07 11:43:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194670') start
[2025-01-07 11:43:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:43:04] Production.ERROR: done
[2025-01-07 11:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194670') end
[2025-01-07 11:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:43:04] Production.INFO: 1
[2025-01-07 11:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:43:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:43:04] Production.INFO: ==4841== Releasing lock...
[2025-01-07 11:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:43:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:43:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:43:04] Production.ERROR: done
[2025-01-07 11:43:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:43:04] Production.INFO: Date 2024-12-24
[2025-01-07 11:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:43:04] Production.INFO: Date 2024-12-25
[2025-01-07 11:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:43:04] Production.INFO: Date 2024-12-26
[2025-01-07 11:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:43:04] Production.INFO: Date 2024-12-27
[2025-01-07 11:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:43:04] Production.INFO: Date 2024-12-28
[2025-01-07 11:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:43:04] Production.INFO: Date 2024-12-29
[2025-01-07 11:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:43:04] Production.INFO: Date 2024-12-30
[2025-01-07 11:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:43:04] Production.INFO: Date 2024-12-31
[2025-01-07 11:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:43:04] Production.INFO: Date 2025-01-01
[2025-01-07 11:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:43:04] Production.INFO: Date 2025-01-02
[2025-01-07 11:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:43:04] Production.INFO: Date 2025-01-03
[2025-01-07 11:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:43:04] Production.INFO: Date 2025-01-04
[2025-01-07 11:43:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:43:05] Production.INFO: Date 2025-01-05
[2025-01-07 11:43:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:43:05] Production.INFO: Date 2025-01-06
[2025-01-07 11:43:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:43:05] Production.INFO: Date 2025-01-07
[2025-01-07 11:43:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:43:05] Production.INFO: Total Charge 0
[2025-01-07 11:43:05] Production.INFO: CreateAllLog End
[2025-01-07 11:43:05] Production.INFO: Account Balance End.
[2025-01-07 11:43:05] Production.ERROR: CronJobId end 12
[2025-01-07 11:43:05] Production.INFO: ==4835== Releasing lock...
[2025-01-07 11:43:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:43:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:43:05
[end_date_ymd] => 2025-01-07 11:43:05
[RateCDR] => 1
)
[2025-01-07 11:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 08:43:05' and `end` < '2025-01-07 11:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 11:43:11] Production.ERROR: CronJobId end10
[2025-01-07 11:43:11] Production.INFO: ==4833== Releasing lock...
[2025-01-07 11:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:43:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:43:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:43:13] Production.INFO: call_cost start
[2025-01-07 11:43:13] Production.INFO: call_cost end
[2025-01-07 11:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:43:14] Production.INFO: ==4829== Releasing lock...
[2025-01-07 11:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:43:19] Production.INFO: count ==4231
[2025-01-07 11:43:20] Production.ERROR: pbx CDR StartTime 2025-01-07 08:43:05 - End Time 2025-01-07 11:43:05
[2025-01-07 11:43:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194671', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194671', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194671', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194671', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:43:21] Production.INFO: ProcessCDR(1,14194671,1,1,2)
[2025-01-07 11:43:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194671,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:43:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194671,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:43:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194671,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:43:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194671,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:43:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194671', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:43:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194671', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:43:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:43:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:43:25] Production.INFO: ==4838== Releasing lock...
[2025-01-07 11:43:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:43:25] Production.INFO: 59.75 MB #Memory Used#
[2025-01-07 16:44:02] Production.INFO: ==4918== Lock acquired, processing the job...
[2025-01-07 16:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:44:02] Production.INFO: neon service started
[2025-01-07 16:44:02] Production.INFO: neon service started
[2025-01-07 16:44:02] Production.INFO: ==4918== Releasing lock...
[2025-01-07 16:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:44:02] Production.INFO: ==4920== Lock acquired, processing the job...
[2025-01-07 11:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 16:44:02] Production.INFO: ==4922== Lock acquired, processing the job...
[2025-01-07 16:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:44:02] Production.INFO: ==4922== Releasing lock...
[2025-01-07 16:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:44:03] Production.INFO: ==4920== Releasing lock...
[2025-01-07 11:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:44:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:44:03] Production.INFO: ==4931== Lock acquired, processing the job...
[2025-01-07 11:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:44:03] Production.INFO: Account Balance Start.
[2025-01-07 11:44:03] Production.INFO: CreateAllLog Start
[2025-01-07 11:44:04] Production.INFO: 117
[2025-01-07 11:44:04] Production.INFO: Date 2024-12-08
[2025-01-07 11:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:44:04] Production.INFO: ==4935== Lock acquired, processing the job...
[2025-01-07 11:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:44:04] Production.INFO: Date 2024-12-09
[2025-01-07 11:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:44:04] Production.INFO: Date 2024-12-10
[2025-01-07 11:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:44:04] Production.INFO: Date 2024-12-11
[2025-01-07 11:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:44:04] Production.INFO: Date 2024-12-12
[2025-01-07 11:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:44:04] Production.INFO: Date 2024-12-13
[2025-01-07 11:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:44:04] Production.INFO: Date 2024-12-14
[2025-01-07 11:44:04] Production.INFO: count ==21
[2025-01-07 11:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:44:04] Production.INFO: count ==21
[2025-01-07 11:44:04] Production.INFO: ==4925== Lock acquired, processing the job...
[2025-01-07 11:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194673') start
[2025-01-07 11:44:04] Production.INFO: ==4927== Lock acquired, processing the job...
[2025-01-07 11:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:44:04] Production.INFO: Date 2024-12-15
[2025-01-07 11:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:44:04] Production.INFO: ==4933== Lock acquired, processing the job...
[2025-01-07 11:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:44:04] Production.INFO: ==4929== Lock acquired, processing the job...
[2025-01-07 11:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:44:04] Production.INFO: Date 2024-12-16
[2025-01-07 11:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:44:04] Production.INFO: Date 2024-12-17
[2025-01-07 11:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194673') end
[2025-01-07 11:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:44:04] Production.INFO: 1
[2025-01-07 11:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:44:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:44:04] Production.INFO: ==4935== Releasing lock...
[2025-01-07 11:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:44:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:44:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:44:04] Production.ERROR: done
[2025-01-07 11:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:44:04] Production.INFO: ==4927== Releasing lock...
[2025-01-07 11:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:44:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:44:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:44:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:44:04] Production.INFO: Date 2024-12-24
[2025-01-07 11:44:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:44:05] Production.INFO: Date 2024-12-25
[2025-01-07 11:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:44:05] Production.ERROR: done
[2025-01-07 11:44:05] Production.INFO: Date 2024-12-26
[2025-01-07 11:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:44:05] Production.INFO: Date 2024-12-27
[2025-01-07 11:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:44:05] Production.INFO: Date 2024-12-28
[2025-01-07 11:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:44:05] Production.INFO: Date 2024-12-29
[2025-01-07 11:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:44:05] Production.INFO: Date 2024-12-30
[2025-01-07 11:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:44:05] Production.INFO: Date 2024-12-31
[2025-01-07 11:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:44:05] Production.INFO: Date 2025-01-01
[2025-01-07 11:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:44:05] Production.INFO: Date 2025-01-02
[2025-01-07 11:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:44:05] Production.INFO: Date 2025-01-03
[2025-01-07 11:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:44:05] Production.INFO: Date 2025-01-04
[2025-01-07 11:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:44:05] Production.INFO: Date 2025-01-05
[2025-01-07 11:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:44:05] Production.INFO: Date 2025-01-06
[2025-01-07 11:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:44:05] Production.INFO: Date 2025-01-07
[2025-01-07 11:44:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:44:05] Production.INFO: Total Charge 0
[2025-01-07 11:44:05] Production.INFO: CreateAllLog End
[2025-01-07 11:44:05] Production.INFO: Account Balance End.
[2025-01-07 11:44:05] Production.ERROR: CronJobId end 12
[2025-01-07 11:44:05] Production.INFO: ==4931== Releasing lock...
[2025-01-07 11:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:44:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:44:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:44:06
[end_date_ymd] => 2025-01-07 11:44:06
[RateCDR] => 1
)
[2025-01-07 11:44:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 08:44:06' and `end` < '2025-01-07 11:44:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 11:44:12] Production.ERROR: CronJobId end10
[2025-01-07 11:44:12] Production.INFO: ==4929== Releasing lock...
[2025-01-07 11:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:44:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:44:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:44:14] Production.INFO: call_cost start
[2025-01-07 11:44:14] Production.INFO: call_cost end
[2025-01-07 11:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:44:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:44:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:44:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:44:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:44:15] Production.INFO: ==4925== Releasing lock...
[2025-01-07 11:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:44:24] Production.INFO: count ==4241
[2025-01-07 11:44:26] Production.ERROR: pbx CDR StartTime 2025-01-07 08:44:06 - End Time 2025-01-07 11:44:06
[2025-01-07 11:44:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:44:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194676', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:44:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194676', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:44:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194676', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:44:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194676', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:44:26] Production.INFO: ProcessCDR(1,14194676,1,1,2)
[2025-01-07 11:44:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194676,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:44:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194676,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:44:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194676,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:44:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194676,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:44:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194676', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:44:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194676', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:44:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:44:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:44:31] Production.INFO: ==4933== Releasing lock...
[2025-01-07 11:44:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:44:31] Production.INFO: 59.75 MB #Memory Used#
[2025-01-07 16:45:01] Production.INFO: ==5006== Lock acquired, processing the job...
[2025-01-07 16:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:45:01] Production.INFO: neon service started
[2025-01-07 16:45:01] Production.INFO: neon service started
[2025-01-07 16:45:01] Production.INFO: ==5006== Releasing lock...
[2025-01-07 16:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:45:02] Production.INFO: ==5008== Lock acquired, processing the job...
[2025-01-07 11:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:45:02] Production.INFO: ==5008== Releasing lock...
[2025-01-07 11:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 16:45:02] Production.INFO: ==5010== Lock acquired, processing the job...
[2025-01-07 16:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:45:02] Production.INFO: ==5010== Releasing lock...
[2025-01-07 16:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:45:03] Production.INFO: ==5012== Lock acquired, processing the job...
[2025-01-07 11:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:45:03] Production.INFO: ==5016== Lock acquired, processing the job...
[2025-01-07 11:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:45:03] Production.INFO: ==5014== Lock acquired, processing the job...
[2025-01-07 11:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:45:03] Production.INFO: ==5025== Lock acquired, processing the job...
[2025-01-07 11:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:45:03] Production.INFO: ==5019== Lock acquired, processing the job...
[2025-01-07 11:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:45:03] Production.INFO: ==5022== Lock acquired, processing the job...
[2025-01-07 11:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 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-07 11:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:45:03] Production.INFO: count ==21
[2025-01-07 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-07 11:45:03] Production.INFO: count ==21
[2025-01-07 11:45:03] Production.INFO: Account Balance Start.
[2025-01-07 11:45:03] Production.INFO: CreateAllLog Start
[2025-01-07 11:45:03] Production.INFO: 117
[2025-01-07 11:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194678') start
[2025-01-07 11:45:03] Production.INFO: Date 2024-12-08
[2025-01-07 11:45:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:45:03] Production.INFO: ==5014== Releasing lock...
[2025-01-07 11:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:45:03] Production.INFO: Date 2024-12-09
[2025-01-07 11:45:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:45:03] Production.INFO: Date 2024-12-10
[2025-01-07 11:45:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:45:03] Production.INFO: Date 2024-12-11
[2025-01-07 11:45:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:45:03] Production.INFO: Date 2024-12-12
[2025-01-07 11:45:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194678') end
[2025-01-07 11:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:45:03] Production.INFO: 1
[2025-01-07 11:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:45:03] Production.INFO: ==5025== Releasing lock...
[2025-01-07 11:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:45:03] Production.ERROR: done
[2025-01-07 11:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:45:04] Production.INFO: Date 2024-12-13
[2025-01-07 11:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:45:04] Production.INFO: Date 2024-12-14
[2025-01-07 11:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:45:04] Production.ERROR: done
[2025-01-07 11:45:04] Production.INFO: Date 2024-12-15
[2025-01-07 11:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:45:04] Production.INFO: Date 2024-12-16
[2025-01-07 11:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:45:04] Production.INFO: Date 2024-12-17
[2025-01-07 11:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:45:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:45:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:45:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:45:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:45:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:45:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:45:04] Production.INFO: Date 2024-12-24
[2025-01-07 11:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:45:04] Production.INFO: Date 2024-12-25
[2025-01-07 11:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:45:04] Production.INFO: Date 2024-12-26
[2025-01-07 11:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:45:04] Production.INFO: Date 2024-12-27
[2025-01-07 11:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:45:04] Production.INFO: Date 2024-12-28
[2025-01-07 11:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:45:04] Production.INFO: Date 2024-12-29
[2025-01-07 11:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:45:04] Production.INFO: Date 2024-12-30
[2025-01-07 11:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:45:04] Production.INFO: Date 2024-12-31
[2025-01-07 11:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:45:04] Production.INFO: Date 2025-01-01
[2025-01-07 11:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:45:04] Production.INFO: Date 2025-01-02
[2025-01-07 11:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:45:04] Production.INFO: Date 2025-01-03
[2025-01-07 11:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:45:04] Production.INFO: Date 2025-01-04
[2025-01-07 11:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:45:04] Production.INFO: Date 2025-01-05
[2025-01-07 11:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:45:04] Production.INFO: Date 2025-01-06
[2025-01-07 11:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:45:04] Production.INFO: Date 2025-01-07
[2025-01-07 11:45:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:45:04] Production.INFO: Total Charge 0
[2025-01-07 11:45:04] Production.INFO: CreateAllLog End
[2025-01-07 11:45:05] Production.INFO: Account Balance End.
[2025-01-07 11:45:05] Production.ERROR: CronJobId end 12
[2025-01-07 11:45:05] Production.INFO: ==5019== Releasing lock...
[2025-01-07 11:45:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:45:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:45:05
[end_date_ymd] => 2025-01-07 11:45:05
[RateCDR] => 1
)
[2025-01-07 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-07 08:45:05' and `end` < '2025-01-07 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-07 11:45:11] Production.ERROR: CronJobId end10
[2025-01-07 11:45:11] Production.INFO: ==5016== Releasing lock...
[2025-01-07 11:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:45:14] Production.INFO: call_cost start
[2025-01-07 11:45:14] Production.INFO: call_cost end
[2025-01-07 11:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:45:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:45:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:45:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:45:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:45:15] Production.INFO: ==5012== Releasing lock...
[2025-01-07 11:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:45:18] Production.INFO: count ==4241
[2025-01-07 11:45:20] Production.ERROR: pbx CDR StartTime 2025-01-07 08:45:05 - End Time 2025-01-07 11:45:05
[2025-01-07 11:45:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194681', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194681', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194681', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194681', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:45:20] Production.INFO: ProcessCDR(1,14194681,1,1,2)
[2025-01-07 11:45:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194681,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:45:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194681,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:45:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194681,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:45:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194681,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:45:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194681', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:45:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194681', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:45:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:45:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:45:25] Production.INFO: ==5022== Releasing lock...
[2025-01-07 11:45:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:45:25] Production.INFO: 59.75 MB #Memory Used#
[2025-01-07 16:46:02] Production.INFO: ==5102== Lock acquired, processing the job...
[2025-01-07 16:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:46:02] Production.INFO: neon service started
[2025-01-07 16:46:02] Production.INFO: neon service started
[2025-01-07 16:46:02] Production.INFO: ==5102== Releasing lock...
[2025-01-07 16:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:46:02] Production.INFO: ==5104== Lock acquired, processing the job...
[2025-01-07 11:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:46:02] Production.INFO: ==5104== Releasing lock...
[2025-01-07 11:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 16:46:02] Production.INFO: ==5106== Lock acquired, processing the job...
[2025-01-07 16:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:46:02] Production.INFO: ==5106== Releasing lock...
[2025-01-07 16:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:46:03] Production.INFO: ==5112== Lock acquired, processing the job...
[2025-01-07 11:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:46:03] Production.INFO: ==5112== Releasing lock...
[2025-01-07 11:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:46:03] Production.INFO: ==5110== Lock acquired, processing the job...
[2025-01-07 11:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:46:04] Production.INFO: ==5114== Lock acquired, processing the job...
[2025-01-07 11:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:46:04] Production.INFO: ==5116== Lock acquired, processing the job...
[2025-01-07 11:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:46:04] Production.INFO: ==5118== Lock acquired, processing the job...
[2025-01-07 11:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:46:04] Production.INFO: ==5120== Lock acquired, processing the job...
[2025-01-07 11:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:46:04] Production.INFO: Account Balance Start.
[2025-01-07 11:46:04] Production.INFO: CreateAllLog Start
[2025-01-07 11:46:04] Production.INFO: 117
[2025-01-07 11:46:04] Production.INFO: Date 2024-12-08
[2025-01-07 11:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:46:04] Production.INFO: Date 2024-12-09
[2025-01-07 11:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:46:04] Production.INFO: Date 2024-12-10
[2025-01-07 11:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:46:04] Production.INFO: Date 2024-12-11
[2025-01-07 11:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:46:04] Production.INFO: Date 2024-12-12
[2025-01-07 11:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:46:04] Production.INFO: Date 2024-12-13
[2025-01-07 11:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:46:04] Production.INFO: Date 2024-12-14
[2025-01-07 11:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:46:04] Production.INFO: Date 2024-12-15
[2025-01-07 11:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:46:04] Production.INFO: count ==21
[2025-01-07 11:46:04] Production.INFO: Date 2024-12-16
[2025-01-07 11:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 11:46:04] Production.INFO: count ==21
[2025-01-07 11:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194685') start
[2025-01-07 11:46:04] Production.ERROR: done
[2025-01-07 11:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:46:04] Production.INFO: Date 2024-12-17
[2025-01-07 11:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:46:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:46:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194685') end
[2025-01-07 11:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:46:04] Production.INFO: 1
[2025-01-07 11:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:46:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:46:04] Production.ERROR: done
[2025-01-07 11:46:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:46:04] Production.INFO: ==5120== Releasing lock...
[2025-01-07 11:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:46:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:46:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:46:04] Production.INFO: Date 2024-12-24
[2025-01-07 11:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:46:04] Production.INFO: Date 2024-12-25
[2025-01-07 11:46:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:46:05] Production.INFO: Date 2024-12-26
[2025-01-07 11:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:46:05] Production.INFO: Date 2024-12-27
[2025-01-07 11:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:46:05] Production.INFO: Date 2024-12-28
[2025-01-07 11:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:46:05] Production.INFO: Date 2024-12-29
[2025-01-07 11:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:46:05] Production.INFO: Date 2024-12-30
[2025-01-07 11:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:46:05] Production.INFO: Date 2024-12-31
[2025-01-07 11:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:46:05] Production.INFO: Date 2025-01-01
[2025-01-07 11:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:46:05] Production.INFO: Date 2025-01-02
[2025-01-07 11:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:46:05] Production.INFO: Date 2025-01-03
[2025-01-07 11:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:46:05] Production.INFO: Date 2025-01-04
[2025-01-07 11:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:46:05] Production.INFO: Date 2025-01-05
[2025-01-07 11:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:46:05] Production.INFO: Date 2025-01-06
[2025-01-07 11:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:46:05] Production.INFO: Date 2025-01-07
[2025-01-07 11:46:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:46:05] Production.INFO: Total Charge 0
[2025-01-07 11:46:05] Production.INFO: CreateAllLog End
[2025-01-07 11:46:05] Production.INFO: Account Balance End.
[2025-01-07 11:46:05] Production.ERROR: CronJobId end 12
[2025-01-07 11:46:05] Production.INFO: ==5116== Releasing lock...
[2025-01-07 11:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:46:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:46:05
[end_date_ymd] => 2025-01-07 11:46:05
[RateCDR] => 1
)
[2025-01-07 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-07 08:46:05' and `end` < '2025-01-07 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-07 11:46:11] Production.ERROR: CronJobId end10
[2025-01-07 11:46:11] Production.INFO: ==5114== Releasing lock...
[2025-01-07 11:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:46:14] Production.INFO: call_cost start
[2025-01-07 11:46:14] Production.INFO: call_cost end
[2025-01-07 11:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:46:14] Production.INFO: ==5110== Releasing lock...
[2025-01-07 11:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:46:24] Production.INFO: count ==4266
[2025-01-07 11:46:26] Production.ERROR: pbx CDR StartTime 2025-01-07 08:46:05 - End Time 2025-01-07 11:46:05
[2025-01-07 11:46:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:46:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194686', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:46:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194686', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:46:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194686', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:46:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194686', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:46:26] Production.INFO: ProcessCDR(1,14194686,1,1,2)
[2025-01-07 11:46:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194686,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:46:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194686,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:46:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194686,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:46:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194686,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:46:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194686', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:46:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194686', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:46:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:46:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:46:31] Production.INFO: ==5118== Releasing lock...
[2025-01-07 11:46:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:46:31] Production.INFO: 60 MB #Memory Used#
[2025-01-07 16:47:01] Production.INFO: ==5195== Lock acquired, processing the job...
[2025-01-07 16:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:47:01] Production.INFO: neon service started
[2025-01-07 16:47:01] Production.INFO: neon service started
[2025-01-07 16:47:01] Production.INFO: ==5195== Releasing lock...
[2025-01-07 16:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:47:01] Production.INFO: ==5197== Lock acquired, processing the job...
[2025-01-07 11:47:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:47:02] Production.INFO: ==5197== Releasing lock...
[2025-01-07 11:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 16:47:02] Production.INFO: ==5199== Lock acquired, processing the job...
[2025-01-07 16:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:47:02] Production.INFO: ==5199== Releasing lock...
[2025-01-07 16:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:47:03] Production.INFO: ==5203== Lock acquired, processing the job...
[2025-01-07 11:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:47:03] Production.INFO: ==5201== Lock acquired, processing the job...
[2025-01-07 11:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:47:03] Production.INFO: ==5209== Lock acquired, processing the job...
[2025-01-07 11:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:47:03] Production.INFO: ==5205== Lock acquired, processing the job...
[2025-01-07 11:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:47:03] Production.INFO: ==5207== Lock acquired, processing the job...
[2025-01-07 11:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:47:03] Production.INFO: ==5211== Lock acquired, processing the job...
[2025-01-07 11:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 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-07 11:47:03] Production.INFO: count ==21
[2025-01-07 11:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:47:03] Production.INFO: count ==21
[2025-01-07 11:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194689') start
[2025-01-07 11:47:03] Production.INFO: Account Balance Start.
[2025-01-07 11:47:03] Production.INFO: CreateAllLog Start
[2025-01-07 11:47:03] Production.INFO: 117
[2025-01-07 11:47:03] Production.INFO: ==5203== Releasing lock...
[2025-01-07 11:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:47:03] Production.ERROR: done
[2025-01-07 11:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:47:03] Production.INFO: Date 2024-12-08
[2025-01-07 11:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194689') end
[2025-01-07 11:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:47:03] Production.INFO: 1
[2025-01-07 11:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:47:03] Production.INFO: Date 2024-12-09
[2025-01-07 11:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:47:03] Production.INFO: Date 2024-12-10
[2025-01-07 11:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:47:03] Production.INFO: Date 2024-12-11
[2025-01-07 11:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:47:03] Production.INFO: Date 2024-12-12
[2025-01-07 11:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:47:03] Production.INFO: ==5211== Releasing lock...
[2025-01-07 11:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:47:03] Production.INFO: Date 2024-12-13
[2025-01-07 11:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:47:03] Production.ERROR: done
[2025-01-07 11:47:03] Production.INFO: Date 2024-12-14
[2025-01-07 11:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:47:03] Production.INFO: Date 2024-12-15
[2025-01-07 11:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:47:03] Production.INFO: Date 2024-12-16
[2025-01-07 11:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:47:03] Production.INFO: Date 2024-12-17
[2025-01-07 11:47:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:47:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:47:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:47:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:47:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:47:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:47:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:47:04] Production.INFO: Date 2024-12-24
[2025-01-07 11:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:47:04] Production.INFO: Date 2024-12-25
[2025-01-07 11:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:47:04] Production.INFO: Date 2024-12-26
[2025-01-07 11:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:47:04] Production.INFO: Date 2024-12-27
[2025-01-07 11:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:47:04] Production.INFO: Date 2024-12-28
[2025-01-07 11:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:47:04] Production.INFO: Date 2024-12-29
[2025-01-07 11:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:47:04] Production.INFO: Date 2024-12-30
[2025-01-07 11:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:47:04] Production.INFO: Date 2024-12-31
[2025-01-07 11:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:47:04] Production.INFO: Date 2025-01-01
[2025-01-07 11:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:47:04] Production.INFO: Date 2025-01-02
[2025-01-07 11:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:47:04] Production.INFO: Date 2025-01-03
[2025-01-07 11:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:47:04] Production.INFO: Date 2025-01-04
[2025-01-07 11:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:47:04] Production.INFO: Date 2025-01-05
[2025-01-07 11:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:47:04] Production.INFO: Date 2025-01-06
[2025-01-07 11:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:47:04] Production.INFO: Date 2025-01-07
[2025-01-07 11:47:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:47:04] Production.INFO: Total Charge 0
[2025-01-07 11:47:04] Production.INFO: CreateAllLog End
[2025-01-07 11:47:04] Production.INFO: Account Balance End.
[2025-01-07 11:47:04] Production.ERROR: CronJobId end 12
[2025-01-07 11:47:04] Production.INFO: ==5207== Releasing lock...
[2025-01-07 11:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:47:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:47:04
[end_date_ymd] => 2025-01-07 11:47:04
[RateCDR] => 1
)
[2025-01-07 11:47:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 08:47:04' and `end` < '2025-01-07 11:47:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 11:47:12] Production.ERROR: CronJobId end10
[2025-01-07 11:47:12] Production.INFO: ==5205== Releasing lock...
[2025-01-07 11:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:47:13] Production.INFO: call_cost start
[2025-01-07 11:47:13] Production.INFO: call_cost end
[2025-01-07 11:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:47:14] Production.INFO: ==5201== Releasing lock...
[2025-01-07 11:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:47:26] Production.INFO: count ==4268
[2025-01-07 11:47:28] Production.ERROR: pbx CDR StartTime 2025-01-07 08:47:04 - End Time 2025-01-07 11:47:04
[2025-01-07 11:47:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:47:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194691', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:47:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194691', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:47:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194691', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:47:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194691', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:47:28] Production.INFO: ProcessCDR(1,14194691,1,1,2)
[2025-01-07 11:47:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194691,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:47:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194691,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:47:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194691,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:47:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194691,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:47:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194691', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:47:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194691', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:47:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:47:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:47:33] Production.INFO: ==5209== Releasing lock...
[2025-01-07 11:47:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:47:33] Production.INFO: 60 MB #Memory Used#
[2025-01-07 16:48:02] Production.INFO: ==5284== Lock acquired, processing the job...
[2025-01-07 16:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:48:02] Production.INFO: neon service started
[2025-01-07 16:48:02] Production.INFO: neon service started
[2025-01-07 16:48:02] Production.INFO: ==5284== Releasing lock...
[2025-01-07 16:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:48:02] Production.INFO: ==5287== Lock acquired, processing the job...
[2025-01-07 11:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 16:48:03] Production.INFO: ==5289== Lock acquired, processing the job...
[2025-01-07 16:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:48:03] Production.INFO: ==5289== Releasing lock...
[2025-01-07 16:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:48:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:48:03] Production.INFO: ==5287== Releasing lock...
[2025-01-07 11:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:48:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:48:04] Production.INFO: ==5293== Lock acquired, processing the job...
[2025-01-07 11:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:48:04] Production.INFO: ==5301== Lock acquired, processing the job...
[2025-01-07 11:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:48:04] Production.INFO: ==5291== Lock acquired, processing the job...
[2025-01-07 11:48:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:48:04] Production.INFO: count ==21
[2025-01-07 11:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:48:04] Production.INFO: count ==21
[2025-01-07 11:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194693') start
[2025-01-07 11:48:04] Production.INFO: ==5295== Lock acquired, processing the job...
[2025-01-07 11:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:48:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:48:04] Production.INFO: ==5293== Releasing lock...
[2025-01-07 11:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:48:04] Production.INFO: ==5297== Lock acquired, processing the job...
[2025-01-07 11:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194693') end
[2025-01-07 11:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:48:04] Production.INFO: 1
[2025-01-07 11:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:48:04] Production.INFO: ==5299== Lock acquired, processing the job...
[2025-01-07 11:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:48:04] Production.INFO: ==5301== Releasing lock...
[2025-01-07 11:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:48:04] Production.INFO: Account Balance Start.
[2025-01-07 11:48:04] Production.INFO: CreateAllLog Start
[2025-01-07 11:48:04] Production.INFO: 117
[2025-01-07 11:48:04] Production.INFO: Date 2024-12-08
[2025-01-07 11:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:48:04] Production.INFO: Date 2024-12-09
[2025-01-07 11:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:48:04] Production.INFO: Date 2024-12-10
[2025-01-07 11:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:48:04] Production.ERROR: done
[2025-01-07 11:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:48:04] Production.INFO: Date 2024-12-11
[2025-01-07 11:48:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:48:05] Production.ERROR: done
[2025-01-07 11:48:05] Production.INFO: Date 2024-12-12
[2025-01-07 11:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:48:05] Production.INFO: Date 2024-12-13
[2025-01-07 11:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:48:05] Production.INFO: Date 2024-12-14
[2025-01-07 11:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:48:05] Production.INFO: Date 2024-12-15
[2025-01-07 11:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:48:05] Production.INFO: Date 2024-12-16
[2025-01-07 11:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:48:05] Production.INFO: Date 2024-12-17
[2025-01-07 11:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:48:05] Production.INFO: Date 2024-12-18
[2025-01-07 11:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:48:05] Production.INFO: Date 2024-12-19
[2025-01-07 11:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:48:05] Production.INFO: Date 2024-12-20
[2025-01-07 11:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:48:05] Production.INFO: Date 2024-12-21
[2025-01-07 11:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:48:05] Production.INFO: Date 2024-12-22
[2025-01-07 11:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:48:05] Production.INFO: Date 2024-12-23
[2025-01-07 11:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:48:05] Production.INFO: Date 2024-12-24
[2025-01-07 11:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:48:05] Production.INFO: Date 2024-12-25
[2025-01-07 11:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:48:05] Production.INFO: Date 2024-12-26
[2025-01-07 11:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:48:05] Production.INFO: Date 2024-12-27
[2025-01-07 11:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:48:05] Production.INFO: Date 2024-12-28
[2025-01-07 11:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:48:05] Production.INFO: Date 2024-12-29
[2025-01-07 11:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:48:05] Production.INFO: Date 2024-12-30
[2025-01-07 11:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:48:05] Production.INFO: Date 2024-12-31
[2025-01-07 11:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:48:05] Production.INFO: Date 2025-01-01
[2025-01-07 11:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:48:05] Production.INFO: Date 2025-01-02
[2025-01-07 11:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:48:05] Production.INFO: Date 2025-01-03
[2025-01-07 11:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:48:05] Production.INFO: Date 2025-01-04
[2025-01-07 11:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:48:05] Production.INFO: Date 2025-01-05
[2025-01-07 11:48:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:48:06] Production.INFO: Date 2025-01-06
[2025-01-07 11:48:06] Production.INFO: Reseller ==> 0
[2025-01-07 11:48:06] Production.INFO: Date 2025-01-07
[2025-01-07 11:48:06] Production.INFO: Reseller ==> 0
[2025-01-07 11:48:06] Production.INFO: Total Charge 0
[2025-01-07 11:48:06] Production.INFO: CreateAllLog End
[2025-01-07 11:48:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:48:06
[end_date_ymd] => 2025-01-07 11:48:06
[RateCDR] => 1
)
[2025-01-07 11:48:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 08:48:06' and `end` < '2025-01-07 11:48:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 11:48:06] Production.INFO: Account Balance End.
[2025-01-07 11:48:06] Production.ERROR: CronJobId end 12
[2025-01-07 11:48:06] Production.INFO: ==5297== Releasing lock...
[2025-01-07 11:48:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:48:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:48:13] Production.ERROR: CronJobId end10
[2025-01-07 11:48:13] Production.INFO: ==5295== Releasing lock...
[2025-01-07 11:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:48:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:48:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:48:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:48:14] Production.INFO: call_cost start
[2025-01-07 11:48:14] Production.INFO: call_cost end
[2025-01-07 11:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:48:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:48:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:48:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:48:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:48:15] Production.INFO: ==5291== Releasing lock...
[2025-01-07 11:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:48:29] Production.INFO: count ==4280
[2025-01-07 11:48:31] Production.ERROR: pbx CDR StartTime 2025-01-07 08:48:06 - End Time 2025-01-07 11:48:06
[2025-01-07 11:48:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:48:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194696', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:48:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194696', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:48:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194696', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:48:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194696', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:48:31] Production.INFO: ProcessCDR(1,14194696,1,1,2)
[2025-01-07 11:48:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194696,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:48:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194696,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:48:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194696,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:48:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194696,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:48:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194696', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:48:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194696', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:48:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:48:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:48:35] Production.INFO: ==5299== Releasing lock...
[2025-01-07 11:48:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:48:35] Production.INFO: 60 MB #Memory Used#
[2025-01-07 16:49:01] Production.INFO: ==5420== Lock acquired, processing the job...
[2025-01-07 16:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:49:01] Production.INFO: neon service started
[2025-01-07 16:49:01] Production.INFO: neon service started
[2025-01-07 16:49:01] Production.INFO: ==5420== Releasing lock...
[2025-01-07 16:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:49:02] Production.INFO: ==5422== Lock acquired, processing the job...
[2025-01-07 11:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 16:49:02] Production.INFO: ==5424== Lock acquired, processing the job...
[2025-01-07 16:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:49:02] Production.INFO: ==5424== Releasing lock...
[2025-01-07 16:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:49:02] Production.INFO: ==5422== Releasing lock...
[2025-01-07 11:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:49:03] Production.INFO: ==5433== Lock acquired, processing the job...
[2025-01-07 11:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:49:03] Production.INFO: ==5437== Lock acquired, processing the job...
[2025-01-07 11:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:49:03] Production.INFO: ==5427== Lock acquired, processing the job...
[2025-01-07 11:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:49:03] Production.INFO: Account Balance Start.
[2025-01-07 11:49:03] Production.INFO: CreateAllLog Start
[2025-01-07 11:49:03] Production.INFO: ==5429== Lock acquired, processing the job...
[2025-01-07 11:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:49:03] Production.INFO: 117
[2025-01-07 11:49:03] Production.INFO: Date 2024-12-08
[2025-01-07 11:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:49:03] Production.INFO: ==5431== Lock acquired, processing the job...
[2025-01-07 11:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:49:03] Production.INFO: Date 2024-12-09
[2025-01-07 11:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:49:03] Production.INFO: Date 2024-12-10
[2025-01-07 11:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:49:03] Production.INFO: ==5435== Lock acquired, processing the job...
[2025-01-07 11:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:49:03] Production.INFO: Date 2024-12-11
[2025-01-07 11:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:49:03] Production.INFO: count ==21
[2025-01-07 11:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:49:03] Production.INFO: count ==21
[2025-01-07 11:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:49:03] Production.INFO: Date 2024-12-12
[2025-01-07 11:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:49:03] Production.INFO: Date 2024-12-13
[2025-01-07 11:49:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194698') start
[2025-01-07 11:49:04] Production.INFO: Date 2024-12-14
[2025-01-07 11:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:49:04] Production.INFO: Date 2024-12-15
[2025-01-07 11:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:49:04] Production.INFO: Date 2024-12-16
[2025-01-07 11:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:49:04] Production.INFO: Date 2024-12-17
[2025-01-07 11:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:49:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:49:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194698') end
[2025-01-07 11:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:49:04] Production.INFO: 1
[2025-01-07 11:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:49:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:49:04] Production.INFO: ==5429== Releasing lock...
[2025-01-07 11:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:49:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:49:04] Production.INFO: ==5437== Releasing lock...
[2025-01-07 11:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:49:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:49:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:49:04] Production.ERROR: done
[2025-01-07 11:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:49:04] Production.INFO: Date 2024-12-24
[2025-01-07 11:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:49:04] Production.INFO: Date 2024-12-25
[2025-01-07 11:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:49:04] Production.INFO: Date 2024-12-26
[2025-01-07 11:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:49:04] Production.INFO: Date 2024-12-27
[2025-01-07 11:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:49:04] Production.INFO: Date 2024-12-28
[2025-01-07 11:49:04] Production.ERROR: done
[2025-01-07 11:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:49:04] Production.INFO: Date 2024-12-29
[2025-01-07 11:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:49:04] Production.INFO: Date 2024-12-30
[2025-01-07 11:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:49:04] Production.INFO: Date 2024-12-31
[2025-01-07 11:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:49:04] Production.INFO: Date 2025-01-01
[2025-01-07 11:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:49:04] Production.INFO: Date 2025-01-02
[2025-01-07 11:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:49:04] Production.INFO: Date 2025-01-03
[2025-01-07 11:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:49:04] Production.INFO: Date 2025-01-04
[2025-01-07 11:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:49:04] Production.INFO: Date 2025-01-05
[2025-01-07 11:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:49:04] Production.INFO: Date 2025-01-06
[2025-01-07 11:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:49:04] Production.INFO: Date 2025-01-07
[2025-01-07 11:49:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:49:05] Production.INFO: Total Charge 0
[2025-01-07 11:49:05] Production.INFO: CreateAllLog End
[2025-01-07 11:49:05] Production.INFO: Account Balance End.
[2025-01-07 11:49:05] Production.ERROR: CronJobId end 12
[2025-01-07 11:49:05] Production.INFO: ==5433== Releasing lock...
[2025-01-07 11:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:49:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:49:05
[end_date_ymd] => 2025-01-07 11:49:05
[RateCDR] => 1
)
[2025-01-07 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-07 08:49:05' and `end` < '2025-01-07 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-07 11:49:11] Production.ERROR: CronJobId end10
[2025-01-07 11:49:11] Production.INFO: ==5431== Releasing lock...
[2025-01-07 11:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:49:13] Production.INFO: call_cost start
[2025-01-07 11:49:13] Production.INFO: call_cost end
[2025-01-07 11:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:49:14] Production.INFO: ==5427== Releasing lock...
[2025-01-07 11:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:49:38] Production.INFO: count ==4307
[2025-01-07 11:49:40] Production.ERROR: pbx CDR StartTime 2025-01-07 08:49:05 - End Time 2025-01-07 11:49:05
[2025-01-07 11:49:40] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:49:40] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194701', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:49:40] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194701', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:49:40] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194701', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:49:40] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194701', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:49:40] Production.INFO: ProcessCDR(1,14194701,1,1,2)
[2025-01-07 11:49:40] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194701,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:49:42] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194701,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:49:42] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194701,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:49:44] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194701,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:49:44] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194701', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:49:44] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194701', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:49:44] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:49:45] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:49:45] Production.INFO: ==5435== Releasing lock...
[2025-01-07 11:49:45] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:49:45] Production.INFO: 60.25 MB #Memory Used#
[2025-01-07 16:50:02] Production.INFO: ==5510== Lock acquired, processing the job...
[2025-01-07 16:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:50:02] Production.INFO: neon service started
[2025-01-07 16:50:02] Production.INFO: neon service started
[2025-01-07 16:50:02] Production.INFO: ==5510== Releasing lock...
[2025-01-07 16:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:50:02] Production.INFO: ==5512== Lock acquired, processing the job...
[2025-01-07 11:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:50:02] Production.INFO: ==5512== Releasing lock...
[2025-01-07 11:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 16:50:02] Production.INFO: ==5514== Lock acquired, processing the job...
[2025-01-07 16:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:50:03] Production.INFO: ==5514== Releasing lock...
[2025-01-07 16:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:50:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:50:03] Production.INFO: ==5517== Lock acquired, processing the job...
[2025-01-07 11:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 11:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 11:50:03] Production.INFO: ==5519== Lock acquired, processing the job...
[2025-01-07 11:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 11:50:03] Production.INFO: ==5517== Releasing lock...
[2025-01-07 11:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 11:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 11:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:50:03] Production.INFO: ==5527== Lock acquired, processing the job...
[2025-01-07 11:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:50:04] Production.INFO: ==5531== Lock acquired, processing the job...
[2025-01-07 11:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:50:04] Production.ERROR: done
[2025-01-07 11:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:50:04] Production.INFO: ==5521== Lock acquired, processing the job...
[2025-01-07 11:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:50:04] Production.ERROR: done
[2025-01-07 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-07 11:50:04] Production.INFO: ==5523== Lock acquired, processing the job...
[2025-01-07 11:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:50:04] Production.INFO: count ==21
[2025-01-07 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-07 11:50:04] Production.INFO: ==5525== Lock acquired, processing the job...
[2025-01-07 11:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:50:04] Production.INFO: count ==21
[2025-01-07 11:50:04] Production.INFO: ==5529== Lock acquired, processing the job...
[2025-01-07 11:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 11:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194703') start
[2025-01-07 11:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194703') end
[2025-01-07 11:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:50:04] Production.INFO: 1
[2025-01-07 11:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:50:04] Production.INFO: Account Balance Start.
[2025-01-07 11:50:04] Production.INFO: CreateAllLog Start
[2025-01-07 11:50:04] Production.INFO: ==5531== Releasing lock...
[2025-01-07 11:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:50:04] Production.INFO: 117
[2025-01-07 11:50:04] Production.INFO: Date 2024-12-08
[2025-01-07 11:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:50:04] Production.INFO: ==5521== Releasing lock...
[2025-01-07 11:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:50:04] Production.INFO: Date 2024-12-09
[2025-01-07 11:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:50:04] Production.INFO: Date 2024-12-10
[2025-01-07 11:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:50:04] Production.INFO: Date 2024-12-11
[2025-01-07 11:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:50:04] Production.INFO: Date 2024-12-12
[2025-01-07 11:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:50:04] Production.ERROR: done
[2025-01-07 11:50:04] Production.INFO: Date 2024-12-13
[2025-01-07 11:50:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:50:05] Production.INFO: Date 2024-12-14
[2025-01-07 11:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 11:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14194707', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 11:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:50:05] Production.INFO: Date 2024-12-15
[2025-01-07 11:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:50:05] Production.INFO: Date 2024-12-16
[2025-01-07 11:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:50:05] Production.INFO: Date 2024-12-17
[2025-01-07 11:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:50:05] Production.INFO: Date 2024-12-18
[2025-01-07 11:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:50:05] Production.INFO: Date 2024-12-19
[2025-01-07 11:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:50:05] Production.INFO: Date 2024-12-20
[2025-01-07 11:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:50:05] Production.INFO: Date 2024-12-21
[2025-01-07 11:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:50:05] Production.INFO: Date 2024-12-22
[2025-01-07 11:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:50:05] Production.INFO: Date 2024-12-23
[2025-01-07 11:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:50:05] Production.INFO: Date 2024-12-24
[2025-01-07 11:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:50:05] Production.INFO: Date 2024-12-25
[2025-01-07 11:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:50:05] Production.INFO: Date 2024-12-26
[2025-01-07 11:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:50:05] Production.INFO: Date 2024-12-27
[2025-01-07 11:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:50:05
[end_date_ymd] => 2025-01-07 11:50:05
[RateCDR] => 1
)
[2025-01-07 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-07 08:50:05' and `end` < '2025-01-07 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-07 11:50:05] Production.INFO: Date 2024-12-28
[2025-01-07 11:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:50:05] Production.INFO: Date 2024-12-29
[2025-01-07 11:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:50:05] Production.INFO: Date 2024-12-30
[2025-01-07 11:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:50:05] Production.INFO: Date 2024-12-31
[2025-01-07 11:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:50:05] Production.INFO: Date 2025-01-01
[2025-01-07 11:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:50:05] Production.INFO: Date 2025-01-02
[2025-01-07 11:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:50:05] Production.INFO: Date 2025-01-03
[2025-01-07 11:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:50:05] Production.INFO: Date 2025-01-04
[2025-01-07 11:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:50:05] Production.INFO: Date 2025-01-05
[2025-01-07 11:50:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:50:06] Production.INFO: Date 2025-01-06
[2025-01-07 11:50:06] Production.INFO: Reseller ==> 0
[2025-01-07 11:50:06] Production.INFO: Date 2025-01-07
[2025-01-07 11:50:06] Production.INFO: Reseller ==> 0
[2025-01-07 11:50:06] Production.INFO: Total Charge 0
[2025-01-07 11:50:06] Production.INFO: CreateAllLog End
[2025-01-07 11:50:06] Production.INFO: Account Balance End.
[2025-01-07 11:50:06] Production.ERROR: CronJobId end 12
[2025-01-07 11:50:06] Production.INFO: ==5525== Releasing lock...
[2025-01-07 11:50:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:50:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14194707', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 11:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 11:50:09] Production.INFO: ProcessCDR(1,14194707,1,1,2)
[2025-01-07 11:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14194707,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14194707,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:50:09] Production.INFO: ==5529== Releasing lock...
[2025-01-07 11:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 11:50:09] Production.INFO: 26 MB #Memory Used#
[2025-01-07 11:50:13] Production.ERROR: CronJobId end10
[2025-01-07 11:50:13] Production.INFO: ==5523== Releasing lock...
[2025-01-07 11:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:50:15] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:50:15] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:50:15] Production.INFO: call_cost start
[2025-01-07 11:50:15] Production.INFO: call_cost end
[2025-01-07 11:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:50:16] Production.INFO: ==5519== Releasing lock...
[2025-01-07 11:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:50:34] Production.INFO: count ==4312
[2025-01-07 11:50:36] Production.ERROR: pbx CDR StartTime 2025-01-07 08:50:05 - End Time 2025-01-07 11:50:05
[2025-01-07 11:50:36] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:50:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194704', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:50:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194704', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:50:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194704', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:50:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194704', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:50:36] Production.INFO: ProcessCDR(1,14194704,1,1,2)
[2025-01-07 11:50:36] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194704,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:50:38] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194704,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:50:38] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194704,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:50:41] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194704,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:50:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194704', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:50:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194704', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:50:41] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:50:41] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:50:41] Production.INFO: ==5527== Releasing lock...
[2025-01-07 11:50:41] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:50:41] Production.INFO: 60.25 MB #Memory Used#
[2025-01-07 16:51:01] Production.INFO: ==5604== Lock acquired, processing the job...
[2025-01-07 16:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:51:01] Production.INFO: neon service started
[2025-01-07 16:51:01] Production.INFO: neon service started
[2025-01-07 16:51:01] Production.INFO: ==5604== Releasing lock...
[2025-01-07 16:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:51:01] Production.INFO: ==5606== Lock acquired, processing the job...
[2025-01-07 11:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:51:02] Production.INFO: ==5606== Releasing lock...
[2025-01-07 11:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 16:51:02] Production.INFO: ==5608== Lock acquired, processing the job...
[2025-01-07 16:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:51:02] Production.INFO: ==5608== Releasing lock...
[2025-01-07 16:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:51:03] Production.INFO: ==5613== Lock acquired, processing the job...
[2025-01-07 11:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:51:03] Production.INFO: ==5621== Lock acquired, processing the job...
[2025-01-07 11:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:51:03] Production.INFO: ==5611== Lock acquired, processing the job...
[2025-01-07 11:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:51:03] Production.INFO: ==5615== Lock acquired, processing the job...
[2025-01-07 11:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:51:03] Production.INFO: count ==21
[2025-01-07 11:51:03] Production.INFO: ==5617== Lock acquired, processing the job...
[2025-01-07 11:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:51:03] Production.INFO: count ==21
[2025-01-07 11:51:03] Production.INFO: ==5619== Lock acquired, processing the job...
[2025-01-07 11:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:51:03] Production.INFO: ==5613== Releasing lock...
[2025-01-07 11:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194709') start
[2025-01-07 11:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194709') end
[2025-01-07 11:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:51:03] Production.INFO: 1
[2025-01-07 11:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:51:03] Production.INFO: Account Balance Start.
[2025-01-07 11:51:03] Production.INFO: CreateAllLog Start
[2025-01-07 11:51:03] Production.INFO: 117
[2025-01-07 11:51:03] Production.INFO: Date 2024-12-08
[2025-01-07 11:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:51:03] Production.INFO: Date 2024-12-09
[2025-01-07 11:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:51:03] Production.INFO: Date 2024-12-10
[2025-01-07 11:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:51:03] Production.INFO: ==5621== Releasing lock...
[2025-01-07 11:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:51:03] Production.INFO: Date 2024-12-11
[2025-01-07 11:51:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:51:04] Production.INFO: Date 2024-12-12
[2025-01-07 11:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:51:04] Production.ERROR: done
[2025-01-07 11:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:51:04] Production.INFO: Date 2024-12-13
[2025-01-07 11:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:51:04] Production.INFO: Date 2024-12-14
[2025-01-07 11:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:51:04] Production.ERROR: done
[2025-01-07 11:51:04] Production.INFO: Date 2024-12-15
[2025-01-07 11:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:51:04] Production.INFO: Date 2024-12-16
[2025-01-07 11:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:51:04] Production.INFO: Date 2024-12-17
[2025-01-07 11:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:51:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:51:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:51:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:51:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:51:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:51:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:51:04] Production.INFO: Date 2024-12-24
[2025-01-07 11:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:51:04] Production.INFO: Date 2024-12-25
[2025-01-07 11:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:51:04] Production.INFO: Date 2024-12-26
[2025-01-07 11:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:51:04] Production.INFO: Date 2024-12-27
[2025-01-07 11:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:51:04] Production.INFO: Date 2024-12-28
[2025-01-07 11:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:51:04] Production.INFO: Date 2024-12-29
[2025-01-07 11:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:51:04] Production.INFO: Date 2024-12-30
[2025-01-07 11:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:51:04] Production.INFO: Date 2024-12-31
[2025-01-07 11:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:51:04] Production.INFO: Date 2025-01-01
[2025-01-07 11:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:51:04] Production.INFO: Date 2025-01-02
[2025-01-07 11:51:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:51:05] Production.INFO: Date 2025-01-03
[2025-01-07 11:51:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:51:05] Production.INFO: Date 2025-01-04
[2025-01-07 11:51:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:51:05] Production.INFO: Date 2025-01-05
[2025-01-07 11:51:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:51:05] Production.INFO: Date 2025-01-06
[2025-01-07 11:51:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:51:05] Production.INFO: Date 2025-01-07
[2025-01-07 11:51:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:51:05] Production.INFO: Total Charge 0
[2025-01-07 11:51:05] Production.INFO: CreateAllLog End
[2025-01-07 11:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:51:05
[end_date_ymd] => 2025-01-07 11:51:05
[RateCDR] => 1
)
[2025-01-07 11:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 08:51:05' and `end` < '2025-01-07 11:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 11:51:05] Production.INFO: Account Balance End.
[2025-01-07 11:51:05] Production.ERROR: CronJobId end 12
[2025-01-07 11:51:05] Production.INFO: ==5617== Releasing lock...
[2025-01-07 11:51:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:51:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:51:12] Production.ERROR: CronJobId end10
[2025-01-07 11:51:12] Production.INFO: ==5615== Releasing lock...
[2025-01-07 11:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:51:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:51:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:51:14] Production.INFO: call_cost start
[2025-01-07 11:51:14] Production.INFO: call_cost end
[2025-01-07 11:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:51:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:51:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:51:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:51:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:51:15] Production.INFO: ==5611== Releasing lock...
[2025-01-07 11:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:51:30] Production.INFO: count ==4399
[2025-01-07 11:51:32] Production.ERROR: pbx CDR StartTime 2025-01-07 08:51:05 - End Time 2025-01-07 11:51:05
[2025-01-07 11:51:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:51:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194712', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:51:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194712', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:51:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194712', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:51:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194712', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:51:32] Production.INFO: ProcessCDR(1,14194712,1,1,2)
[2025-01-07 11:51:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194712,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:51:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194712,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:51:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194712,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:51:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194712,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:51:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194712', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:51:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194712', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:51:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:51:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:51:37] Production.INFO: ==5619== Releasing lock...
[2025-01-07 11:51:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:51:37] Production.INFO: 61 MB #Memory Used#
[2025-01-07 16:52:02] Production.INFO: ==5699== Lock acquired, processing the job...
[2025-01-07 16:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:52:02] Production.INFO: neon service started
[2025-01-07 16:52:02] Production.INFO: neon service started
[2025-01-07 16:52:02] Production.INFO: ==5699== Releasing lock...
[2025-01-07 16:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:52:02] Production.INFO: ==5703== Lock acquired, processing the job...
[2025-01-07 11:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:52:02] Production.INFO: ==5703== Releasing lock...
[2025-01-07 11:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 16:52:03] Production.INFO: ==5705== Lock acquired, processing the job...
[2025-01-07 16:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:52:03] Production.INFO: ==5705== Releasing lock...
[2025-01-07 16:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:52:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:52:03] Production.INFO: ==5708== Lock acquired, processing the job...
[2025-01-07 11:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:52:03] Production.INFO: ==5710== Lock acquired, processing the job...
[2025-01-07 11:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:52:03] Production.INFO: ==5714== Lock acquired, processing the job...
[2025-01-07 11:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:52:03] Production.INFO: ==5716== Lock acquired, processing the job...
[2025-01-07 11:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:52:03] Production.INFO: ==5712== Lock acquired, processing the job...
[2025-01-07 11:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:52:03] Production.INFO: Account Balance Start.
[2025-01-07 11:52:03] Production.INFO: CreateAllLog Start
[2025-01-07 11:52:03] Production.INFO: 117
[2025-01-07 11:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:52:03] Production.INFO: Date 2024-12-08
[2025-01-07 11:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:52:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:52:03] Production.INFO: ==5718== Lock acquired, processing the job...
[2025-01-07 11:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:52:04] Production.INFO: Date 2024-12-09
[2025-01-07 11:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:52:04] Production.INFO: Date 2024-12-10
[2025-01-07 11:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:52:04] Production.INFO: Date 2024-12-11
[2025-01-07 11:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:52:04] Production.INFO: Date 2024-12-12
[2025-01-07 11:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 11:52:04] Production.INFO: Date 2024-12-13
[2025-01-07 11:52:04] Production.INFO: count ==21
[2025-01-07 11:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 11:52:04] Production.INFO: count ==21
[2025-01-07 11:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194716') start
[2025-01-07 11:52:04] Production.ERROR: done
[2025-01-07 11:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:52:04] Production.INFO: Date 2024-12-14
[2025-01-07 11:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:52:04] Production.INFO: Date 2024-12-15
[2025-01-07 11:52:04] Production.INFO: ==5710== Releasing lock...
[2025-01-07 11:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:52:04] Production.INFO: Date 2024-12-16
[2025-01-07 11:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194716') end
[2025-01-07 11:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:52:04] Production.INFO: 1
[2025-01-07 11:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:52:04] Production.INFO: Date 2024-12-17
[2025-01-07 11:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:52:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:52:04] Production.INFO: ==5718== Releasing lock...
[2025-01-07 11:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:52:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:52:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:52:04] Production.ERROR: done
[2025-01-07 11:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:52:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:52:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:52:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:52:04] Production.INFO: Date 2024-12-24
[2025-01-07 11:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:52:04] Production.INFO: Date 2024-12-25
[2025-01-07 11:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:52:04] Production.INFO: Date 2024-12-26
[2025-01-07 11:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:52:04] Production.INFO: Date 2024-12-27
[2025-01-07 11:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:52:04] Production.INFO: Date 2024-12-28
[2025-01-07 11:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:52:04] Production.INFO: Date 2024-12-29
[2025-01-07 11:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:52:04] Production.INFO: Date 2024-12-30
[2025-01-07 11:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:52:04] Production.INFO: Date 2024-12-31
[2025-01-07 11:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:52:04] Production.INFO: Date 2025-01-01
[2025-01-07 11:52:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:52:05] Production.INFO: Date 2025-01-02
[2025-01-07 11:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:52:05] Production.INFO: Date 2025-01-03
[2025-01-07 11:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:52:05] Production.INFO: Date 2025-01-04
[2025-01-07 11:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:52:05] Production.INFO: Date 2025-01-05
[2025-01-07 11:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:52:05] Production.INFO: Date 2025-01-06
[2025-01-07 11:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:52:05] Production.INFO: Date 2025-01-07
[2025-01-07 11:52:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:52:05] Production.INFO: Total Charge 0
[2025-01-07 11:52:05] Production.INFO: CreateAllLog End
[2025-01-07 11:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:52:05
[end_date_ymd] => 2025-01-07 11:52:05
[RateCDR] => 1
)
[2025-01-07 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-07 08:52:05' and `end` < '2025-01-07 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-07 11:52:05] Production.INFO: Account Balance End.
[2025-01-07 11:52:05] Production.ERROR: CronJobId end 12
[2025-01-07 11:52:05] Production.INFO: ==5714== Releasing lock...
[2025-01-07 11:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:52:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:52:12] Production.ERROR: CronJobId end10
[2025-01-07 11:52:12] Production.INFO: ==5712== Releasing lock...
[2025-01-07 11:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:52:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:52:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:52:14] Production.INFO: call_cost start
[2025-01-07 11:52:14] Production.INFO: call_cost end
[2025-01-07 11:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:52:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:52:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:52:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:52:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:52:15] Production.INFO: ==5708== Releasing lock...
[2025-01-07 11:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:52:26] Production.INFO: count ==4403
[2025-01-07 11:52:27] Production.ERROR: pbx CDR StartTime 2025-01-07 08:52:05 - End Time 2025-01-07 11:52:05
[2025-01-07 11:52:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:52:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194717', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:52:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194717', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:52:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194717', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:52:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194717', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:52:27] Production.INFO: ProcessCDR(1,14194717,1,1,2)
[2025-01-07 11:52:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194717,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:52:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194717,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:52:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194717,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:52:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194717,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:52:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194717', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:52:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194717', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:52:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:52:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:52:32] Production.INFO: ==5716== Releasing lock...
[2025-01-07 11:52:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:52:32] Production.INFO: 61 MB #Memory Used#
[2025-01-07 16:53:01] Production.INFO: ==5794== Lock acquired, processing the job...
[2025-01-07 16:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:53:01] Production.INFO: neon service started
[2025-01-07 16:53:01] Production.INFO: neon service started
[2025-01-07 16:53:01] Production.INFO: ==5794== Releasing lock...
[2025-01-07 16:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:53:02] Production.INFO: ==5796== Lock acquired, processing the job...
[2025-01-07 11:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 16:53:02] Production.INFO: ==5798== Lock acquired, processing the job...
[2025-01-07 16:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:53:02] Production.INFO: ==5798== Releasing lock...
[2025-01-07 16:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:53:02] Production.INFO: ==5796== Releasing lock...
[2025-01-07 11:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:53:03] Production.INFO: ==5801== Lock acquired, processing the job...
[2025-01-07 11:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:53:03] Production.INFO: ==5803== Lock acquired, processing the job...
[2025-01-07 11:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:53:03] Production.INFO: ==5809== Lock acquired, processing the job...
[2025-01-07 11:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:53:03] Production.INFO: ==5807== Lock acquired, processing the job...
[2025-01-07 11:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:53:03] Production.INFO: ==5805== Lock acquired, processing the job...
[2025-01-07 11:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:53:03] Production.INFO: ==5803== Releasing lock...
[2025-01-07 11:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:53:03] Production.INFO: Account Balance Start.
[2025-01-07 11:53:03] Production.INFO: CreateAllLog Start
[2025-01-07 11:53:03] Production.INFO: 117
[2025-01-07 11:53:03] Production.INFO: Date 2024-12-08
[2025-01-07 11:53:03] Production.INFO: ==5811== Lock acquired, processing the job...
[2025-01-07 11:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:53:03] Production.INFO: Date 2024-12-09
[2025-01-07 11:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:53:03] Production.INFO: Date 2024-12-10
[2025-01-07 11:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:53:03] Production.INFO: Date 2024-12-11
[2025-01-07 11:53:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:53:03] Production.ERROR: done
[2025-01-07 11:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 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-07 11:53:04] Production.INFO: Date 2024-12-12
[2025-01-07 11:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:53:04] Production.INFO: Date 2024-12-13
[2025-01-07 11:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:53:04] Production.INFO: Date 2024-12-14
[2025-01-07 11:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:53:04] Production.INFO: count ==21
[2025-01-07 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-07 11:53:04] Production.INFO: count ==21
[2025-01-07 11:53:04] Production.INFO: Date 2024-12-15
[2025-01-07 11:53:04] Production.ERROR: done
[2025-01-07 11:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194721') start
[2025-01-07 11:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:53:04] Production.INFO: Date 2024-12-16
[2025-01-07 11:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:53:04] Production.INFO: Date 2024-12-17
[2025-01-07 11:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:53:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194721') end
[2025-01-07 11:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:53:04] Production.INFO: 1
[2025-01-07 11:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:53:04] Production.INFO: ==5811== Releasing lock...
[2025-01-07 11:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:53:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:53:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:53:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:53:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:53:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:53:04] Production.INFO: Date 2024-12-24
[2025-01-07 11:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:53:04] Production.INFO: Date 2024-12-25
[2025-01-07 11:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:53:04] Production.INFO: Date 2024-12-26
[2025-01-07 11:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:53:04] Production.INFO: Date 2024-12-27
[2025-01-07 11:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:53:04] Production.INFO: Date 2024-12-28
[2025-01-07 11:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:53:04] Production.INFO: Date 2024-12-29
[2025-01-07 11:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:53:04] Production.INFO: Date 2024-12-30
[2025-01-07 11:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:53:04] Production.INFO: Date 2024-12-31
[2025-01-07 11:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:53:04] Production.INFO: Date 2025-01-01
[2025-01-07 11:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:53:04] Production.INFO: Date 2025-01-02
[2025-01-07 11:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:53:04] Production.INFO: Date 2025-01-03
[2025-01-07 11:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:53:04] Production.INFO: Date 2025-01-04
[2025-01-07 11:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:53:04] Production.INFO: Date 2025-01-05
[2025-01-07 11:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:53:04] Production.INFO: Date 2025-01-06
[2025-01-07 11:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:53:04] Production.INFO: Date 2025-01-07
[2025-01-07 11:53:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:53:04] Production.INFO: Total Charge 0
[2025-01-07 11:53:04] Production.INFO: CreateAllLog End
[2025-01-07 11:53:05] Production.INFO: Account Balance End.
[2025-01-07 11:53:05] Production.ERROR: CronJobId end 12
[2025-01-07 11:53:05] Production.INFO: ==5807== Releasing lock...
[2025-01-07 11:53:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:53:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:53:05
[end_date_ymd] => 2025-01-07 11:53:05
[RateCDR] => 1
)
[2025-01-07 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-07 08:53:05' and `end` < '2025-01-07 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-07 11:53:12] Production.ERROR: CronJobId end10
[2025-01-07 11:53:12] Production.INFO: ==5805== Releasing lock...
[2025-01-07 11:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:53:13] Production.INFO: call_cost start
[2025-01-07 11:53:13] Production.INFO: call_cost end
[2025-01-07 11:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:53:14] Production.INFO: ==5801== Releasing lock...
[2025-01-07 11:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:53:25] Production.INFO: count ==4417
[2025-01-07 11:53:26] Production.ERROR: pbx CDR StartTime 2025-01-07 08:53:05 - End Time 2025-01-07 11:53:05
[2025-01-07 11:53:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:53:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194722', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:53:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194722', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:53:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194722', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:53:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194722', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:53:27] Production.INFO: ProcessCDR(1,14194722,1,1,2)
[2025-01-07 11:53:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194722,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:53:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194722,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:53:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194722,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:53:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194722,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:53:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194722', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:53:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194722', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:53:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:53:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:53:31] Production.INFO: ==5809== Releasing lock...
[2025-01-07 11:53:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:53:31] Production.INFO: 61 MB #Memory Used#
[2025-01-07 16:54:02] Production.INFO: ==5887== Lock acquired, processing the job...
[2025-01-07 16:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:54:02] Production.INFO: neon service started
[2025-01-07 16:54:02] Production.INFO: neon service started
[2025-01-07 16:54:02] Production.INFO: ==5887== Releasing lock...
[2025-01-07 16:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:54:02] Production.INFO: ==5890== Lock acquired, processing the job...
[2025-01-07 11:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 16:54:02] Production.INFO: ==5892== Lock acquired, processing the job...
[2025-01-07 16:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:54:02] Production.INFO: ==5892== Releasing lock...
[2025-01-07 16:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:54:02] Production.INFO: ==5890== Releasing lock...
[2025-01-07 11:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:54:03] Production.INFO: ==5894== Lock acquired, processing the job...
[2025-01-07 11:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:54:03] Production.INFO: ==5896== Lock acquired, processing the job...
[2025-01-07 11:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:54:03] Production.INFO: ==5902== Lock acquired, processing the job...
[2025-01-07 11:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:54:03] Production.INFO: ==5898== Lock acquired, processing the job...
[2025-01-07 11:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:54:04] Production.INFO: ==5900== Lock acquired, processing the job...
[2025-01-07 11:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:54:04] Production.INFO: ==5904== Lock acquired, processing the job...
[2025-01-07 11:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:54:04] Production.INFO: ==5896== Releasing lock...
[2025-01-07 11:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 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-07 11:54:04] Production.INFO: Account Balance Start.
[2025-01-07 11:54:04] Production.INFO: CreateAllLog Start
[2025-01-07 11:54:04] Production.INFO: 117
[2025-01-07 11:54:04] Production.INFO: Date 2024-12-08
[2025-01-07 11:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:54:04] Production.INFO: Date 2024-12-09
[2025-01-07 11:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:54:04] Production.INFO: count ==21
[2025-01-07 11:54:04] Production.ERROR: done
[2025-01-07 11:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 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-07 11:54:04] Production.INFO: count ==21
[2025-01-07 11:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194725') start
[2025-01-07 11:54:04] Production.INFO: Date 2024-12-10
[2025-01-07 11:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:54:04] Production.INFO: Date 2024-12-11
[2025-01-07 11:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194725') end
[2025-01-07 11:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:54:04] Production.INFO: 1
[2025-01-07 11:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:54:04] Production.INFO: Date 2024-12-12
[2025-01-07 11:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:54:04] Production.ERROR: done
[2025-01-07 11:54:04] Production.INFO: ==5904== Releasing lock...
[2025-01-07 11:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:54:04] Production.INFO: Date 2024-12-13
[2025-01-07 11:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:54:04] Production.INFO: Date 2024-12-14
[2025-01-07 11:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:54:04] Production.INFO: Date 2024-12-15
[2025-01-07 11:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:54:04] Production.INFO: Date 2024-12-16
[2025-01-07 11:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:54:04] Production.INFO: Date 2024-12-17
[2025-01-07 11:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:54:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:54:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:54:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:54:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:54:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:54:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:54:05] Production.INFO: Date 2024-12-23
[2025-01-07 11:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:54:05] Production.INFO: Date 2024-12-24
[2025-01-07 11:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:54:05] Production.INFO: Date 2024-12-25
[2025-01-07 11:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:54:05] Production.INFO: Date 2024-12-26
[2025-01-07 11:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:54:05] Production.INFO: Date 2024-12-27
[2025-01-07 11:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:54:05] Production.INFO: Date 2024-12-28
[2025-01-07 11:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:54:05] Production.INFO: Date 2024-12-29
[2025-01-07 11:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:54:05] Production.INFO: Date 2024-12-30
[2025-01-07 11:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:54:05] Production.INFO: Date 2024-12-31
[2025-01-07 11:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:54:05] Production.INFO: Date 2025-01-01
[2025-01-07 11:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:54:05] Production.INFO: Date 2025-01-02
[2025-01-07 11:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:54:05] Production.INFO: Date 2025-01-03
[2025-01-07 11:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:54:05] Production.INFO: Date 2025-01-04
[2025-01-07 11:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:54:05] Production.INFO: Date 2025-01-05
[2025-01-07 11:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:54:05] Production.INFO: Date 2025-01-06
[2025-01-07 11:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:54:05] Production.INFO: Date 2025-01-07
[2025-01-07 11:54:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:54:05] Production.INFO: Total Charge 0
[2025-01-07 11:54:05] Production.INFO: CreateAllLog End
[2025-01-07 11:54:05] Production.INFO: Account Balance End.
[2025-01-07 11:54:05] Production.ERROR: CronJobId end 12
[2025-01-07 11:54:05] Production.INFO: ==5900== Releasing lock...
[2025-01-07 11:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:54:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:54:05
[end_date_ymd] => 2025-01-07 11:54:05
[RateCDR] => 1
)
[2025-01-07 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-07 08:54:05' and `end` < '2025-01-07 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-07 11:54:11] Production.ERROR: CronJobId end10
[2025-01-07 11:54:11] Production.INFO: ==5898== Releasing lock...
[2025-01-07 11:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:54:13] Production.INFO: call_cost start
[2025-01-07 11:54:13] Production.INFO: call_cost end
[2025-01-07 11:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:54:14] Production.INFO: ==5894== Releasing lock...
[2025-01-07 11:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:54:24] Production.INFO: count ==4437
[2025-01-07 11:54:26] Production.ERROR: pbx CDR StartTime 2025-01-07 08:54:05 - End Time 2025-01-07 11:54:05
[2025-01-07 11:54:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:54:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194727', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:54:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194727', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:54:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194727', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:54:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194727', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:54:26] Production.INFO: ProcessCDR(1,14194727,1,1,2)
[2025-01-07 11:54:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194727,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:54:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194727,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:54:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194727,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:54:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194727,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:54:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194727', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:54:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194727', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:54:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:54:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:54:31] Production.INFO: ==5902== Releasing lock...
[2025-01-07 11:54:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:54:31] Production.INFO: 61.25 MB #Memory Used#
[2025-01-07 16:55:01] Production.INFO: ==5972== Lock acquired, processing the job...
[2025-01-07 16:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:55:01] Production.INFO: neon service started
[2025-01-07 16:55:01] Production.INFO: neon service started
[2025-01-07 16:55:01] Production.INFO: ==5972== Releasing lock...
[2025-01-07 16:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 16:55:02] Production.INFO: ==5976== Lock acquired, processing the job...
[2025-01-07 16:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 11:55:02] Production.INFO: ==5974== Lock acquired, processing the job...
[2025-01-07 11:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 16:55:02] Production.INFO: ==5976== Releasing lock...
[2025-01-07 16:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:55:02] Production.INFO: ==5974== Releasing lock...
[2025-01-07 11:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:55:03] Production.INFO: ==5979== Lock acquired, processing the job...
[2025-01-07 11:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:55:03] Production.INFO: ==5981== Lock acquired, processing the job...
[2025-01-07 11:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:55:03] Production.INFO: ==5985== Lock acquired, processing the job...
[2025-01-07 11:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:55:03] Production.INFO: ==5983== Lock acquired, processing the job...
[2025-01-07 11:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:55:03] Production.INFO: Account Balance Start.
[2025-01-07 11:55:03] Production.INFO: CreateAllLog Start
[2025-01-07 11:55:03] Production.INFO: 117
[2025-01-07 11:55:03] Production.INFO: Date 2024-12-08
[2025-01-07 11:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:55:03] Production.INFO: Date 2024-12-09
[2025-01-07 11:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:55:03] Production.INFO: ==5987== Lock acquired, processing the job...
[2025-01-07 11:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:55:03] Production.INFO: Date 2024-12-10
[2025-01-07 11:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:55:03] Production.INFO: ==5981== Releasing lock...
[2025-01-07 11:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:55:03] Production.INFO: Date 2024-12-11
[2025-01-07 11:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:55:03] Production.INFO: Date 2024-12-12
[2025-01-07 11:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:55:03] Production.INFO: ==5989== Lock acquired, processing the job...
[2025-01-07 11:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:55:03] Production.INFO: Date 2024-12-13
[2025-01-07 11:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:55:03] Production.INFO: Date 2024-12-14
[2025-01-07 11:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:55:03] Production.INFO: Date 2024-12-15
[2025-01-07 11:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:55:03] Production.INFO: Date 2024-12-16
[2025-01-07 11:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:55:03] Production.INFO: Date 2024-12-17
[2025-01-07 11:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:55:03] Production.INFO: Date 2024-12-18
[2025-01-07 11:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:55:03] Production.INFO: Date 2024-12-19
[2025-01-07 11:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:55:03] Production.INFO: count ==21
[2025-01-07 11:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:55:03] Production.ERROR: done
[2025-01-07 11:55:03] Production.INFO: count ==21
[2025-01-07 11:55:03] Production.INFO: Date 2024-12-20
[2025-01-07 11:55:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194731') start
[2025-01-07 11:55:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:55:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:55:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:55:04] Production.INFO: Date 2024-12-24
[2025-01-07 11:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:55:04] Production.ERROR: done
[2025-01-07 11:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194731') end
[2025-01-07 11:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:55:04] Production.INFO: 1
[2025-01-07 11:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:55:04] Production.INFO: Date 2024-12-25
[2025-01-07 11:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:55:04] Production.INFO: ==5989== Releasing lock...
[2025-01-07 11:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:55:04] Production.INFO: Date 2024-12-26
[2025-01-07 11:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:55:04] Production.INFO: Date 2024-12-27
[2025-01-07 11:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:55:04] Production.INFO: Date 2024-12-28
[2025-01-07 11:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:55:04] Production.INFO: Date 2024-12-29
[2025-01-07 11:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:55:04] Production.INFO: Date 2024-12-30
[2025-01-07 11:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:55:04] Production.INFO: Date 2024-12-31
[2025-01-07 11:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:55:04] Production.INFO: Date 2025-01-01
[2025-01-07 11:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:55:04] Production.INFO: Date 2025-01-02
[2025-01-07 11:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:55:04] Production.INFO: Date 2025-01-03
[2025-01-07 11:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:55:04] Production.INFO: Date 2025-01-04
[2025-01-07 11:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:55:04] Production.INFO: Date 2025-01-05
[2025-01-07 11:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:55:04] Production.INFO: Date 2025-01-06
[2025-01-07 11:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:55:04] Production.INFO: Date 2025-01-07
[2025-01-07 11:55:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:55:04] Production.INFO: Total Charge 0
[2025-01-07 11:55:04] Production.INFO: CreateAllLog End
[2025-01-07 11:55:04] Production.INFO: Account Balance End.
[2025-01-07 11:55:04] Production.ERROR: CronJobId end 12
[2025-01-07 11:55:04] Production.INFO: ==5985== Releasing lock...
[2025-01-07 11:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:55:05
[end_date_ymd] => 2025-01-07 11:55:05
[RateCDR] => 1
)
[2025-01-07 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-07 08:55:05' and `end` < '2025-01-07 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-07 11:55:12] Production.ERROR: CronJobId end10
[2025-01-07 11:55:12] Production.INFO: ==5983== Releasing lock...
[2025-01-07 11:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:55:13] Production.INFO: call_cost start
[2025-01-07 11:55:13] Production.INFO: call_cost end
[2025-01-07 11:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:55:14] Production.INFO: ==5979== Releasing lock...
[2025-01-07 11:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:55:21] Production.INFO: count ==4443
[2025-01-07 11:55:23] Production.ERROR: pbx CDR StartTime 2025-01-07 08:55:05 - End Time 2025-01-07 11:55:05
[2025-01-07 11:55:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:55:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194732', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:55:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194732', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:55:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194732', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:55:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194732', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:55:23] Production.INFO: ProcessCDR(1,14194732,1,1,2)
[2025-01-07 11:55:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194732,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:55:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194732,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:55:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194732,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:55:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194732,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:55:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194732', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:55:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194732', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:55:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:55:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:55:27] Production.INFO: ==5987== Releasing lock...
[2025-01-07 11:55:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:55:27] Production.INFO: 61.25 MB #Memory Used#
[2025-01-07 16:56:01] Production.INFO: ==6060== Lock acquired, processing the job...
[2025-01-07 16:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:56:01] Production.INFO: neon service started
[2025-01-07 16:56:01] Production.INFO: neon service started
[2025-01-07 16:56:01] Production.INFO: ==6060== Releasing lock...
[2025-01-07 16:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:56:02] Production.INFO: ==6062== Lock acquired, processing the job...
[2025-01-07 11:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 16:56:02] Production.INFO: ==6064== Lock acquired, processing the job...
[2025-01-07 16:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:56:02] Production.INFO: ==6064== Releasing lock...
[2025-01-07 16:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:56:02] Production.INFO: ==6062== Releasing lock...
[2025-01-07 11:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:56:03] Production.INFO: ==6073== Lock acquired, processing the job...
[2025-01-07 11:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:56:03] Production.INFO: ==6067== Lock acquired, processing the job...
[2025-01-07 11:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:56:03] Production.INFO: ==6075== Lock acquired, processing the job...
[2025-01-07 11:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:56:03] Production.INFO: ==6069== Lock acquired, processing the job...
[2025-01-07 11:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:56:03] Production.INFO: Account Balance Start.
[2025-01-07 11:56:03] Production.INFO: CreateAllLog Start
[2025-01-07 11:56:03] Production.INFO: 117
[2025-01-07 11:56:03] Production.INFO: Date 2024-12-08
[2025-01-07 11:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:56:03] Production.INFO: Date 2024-12-09
[2025-01-07 11:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:56:03] Production.INFO: ==6071== Lock acquired, processing the job...
[2025-01-07 11:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:56:03] Production.INFO: Date 2024-12-10
[2025-01-07 11:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:56:03] Production.INFO: Date 2024-12-11
[2025-01-07 11:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:56:03] Production.INFO: ==6077== Lock acquired, processing the job...
[2025-01-07 11:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:56:03] Production.INFO: Date 2024-12-12
[2025-01-07 11:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:56:03] Production.INFO: Date 2024-12-13
[2025-01-07 11:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 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-07 11:56:03] Production.INFO: Date 2024-12-14
[2025-01-07 11:56:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:56:04] Production.INFO: count ==21
[2025-01-07 11:56:04] Production.ERROR: done
[2025-01-07 11:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:56:04] Production.INFO: count ==21
[2025-01-07 11:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194736') start
[2025-01-07 11:56:04] Production.INFO: Date 2024-12-15
[2025-01-07 11:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:56:04] Production.INFO: ==6069== Releasing lock...
[2025-01-07 11:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:56:04] Production.INFO: Date 2024-12-16
[2025-01-07 11:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:56:04] Production.INFO: Date 2024-12-17
[2025-01-07 11:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:56:04] Production.ERROR: done
[2025-01-07 11:56:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194736') end
[2025-01-07 11:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:56:04] Production.INFO: 1
[2025-01-07 11:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:56:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:56:04] Production.INFO: ==6077== Releasing lock...
[2025-01-07 11:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:56:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:56:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:56:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:56:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:56:04] Production.INFO: Date 2024-12-24
[2025-01-07 11:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:56:04] Production.INFO: Date 2024-12-25
[2025-01-07 11:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:56:04] Production.INFO: Date 2024-12-26
[2025-01-07 11:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:56:04] Production.INFO: Date 2024-12-27
[2025-01-07 11:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:56:04] Production.INFO: Date 2024-12-28
[2025-01-07 11:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:56:04] Production.INFO: Date 2024-12-29
[2025-01-07 11:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:56:04] Production.INFO: Date 2024-12-30
[2025-01-07 11:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:56:04] Production.INFO: Date 2024-12-31
[2025-01-07 11:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:56:04] Production.INFO: Date 2025-01-01
[2025-01-07 11:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:56:04] Production.INFO: Date 2025-01-02
[2025-01-07 11:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:56:04] Production.INFO: Date 2025-01-03
[2025-01-07 11:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:56:04] Production.INFO: Date 2025-01-04
[2025-01-07 11:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:56:04] Production.INFO: Date 2025-01-05
[2025-01-07 11:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:56:04] Production.INFO: Date 2025-01-06
[2025-01-07 11:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:56:04] Production.INFO: Date 2025-01-07
[2025-01-07 11:56:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:56:04] Production.INFO: Total Charge 0
[2025-01-07 11:56:04] Production.INFO: CreateAllLog End
[2025-01-07 11:56:05] Production.INFO: Account Balance End.
[2025-01-07 11:56:05] Production.ERROR: CronJobId end 12
[2025-01-07 11:56:05] Production.INFO: ==6073== Releasing lock...
[2025-01-07 11:56:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:56:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:56:05
[end_date_ymd] => 2025-01-07 11:56:05
[RateCDR] => 1
)
[2025-01-07 11:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 08:56:05' and `end` < '2025-01-07 11:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 11:56:11] Production.ERROR: CronJobId end10
[2025-01-07 11:56:11] Production.INFO: ==6071== Releasing lock...
[2025-01-07 11:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:56:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:56:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:56:13] Production.INFO: call_cost start
[2025-01-07 11:56:13] Production.INFO: call_cost end
[2025-01-07 11:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:56:14] Production.INFO: ==6067== Releasing lock...
[2025-01-07 11:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:56:24] Production.INFO: count ==4456
[2025-01-07 11:56:26] Production.ERROR: pbx CDR StartTime 2025-01-07 08:56:05 - End Time 2025-01-07 11:56:05
[2025-01-07 11:56:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:56:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194737', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:56:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194737', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:56:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194737', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:56:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194737', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:56:26] Production.INFO: ProcessCDR(1,14194737,1,1,2)
[2025-01-07 11:56:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194737,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:56:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194737,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:56:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194737,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:56:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194737,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:56:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194737', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:56:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194737', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:56:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:56:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:56:30] Production.INFO: ==6075== Releasing lock...
[2025-01-07 11:56:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:56:30] Production.INFO: 61.25 MB #Memory Used#
[2025-01-07 16:57:01] Production.INFO: ==6149== Lock acquired, processing the job...
[2025-01-07 16:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:57:01] Production.INFO: neon service started
[2025-01-07 16:57:01] Production.INFO: neon service started
[2025-01-07 16:57:01] Production.INFO: ==6149== Releasing lock...
[2025-01-07 16:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:57:01] Production.INFO: ==6151== Lock acquired, processing the job...
[2025-01-07 11:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:57:02] Production.INFO: ==6151== Releasing lock...
[2025-01-07 11:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 16:57:02] Production.INFO: ==6153== Lock acquired, processing the job...
[2025-01-07 16:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:57:02] Production.INFO: ==6153== Releasing lock...
[2025-01-07 16:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:57:03] Production.INFO: ==6162== Lock acquired, processing the job...
[2025-01-07 11:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:57:03] Production.INFO: ==6156== Lock acquired, processing the job...
[2025-01-07 11:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:57:03] Production.INFO: ==6158== Lock acquired, processing the job...
[2025-01-07 11:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:57:03] Production.INFO: ==6160== Lock acquired, processing the job...
[2025-01-07 11:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:57:03] Production.INFO: ==6164== Lock acquired, processing the job...
[2025-01-07 11:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:57:03] Production.INFO: Account Balance Start.
[2025-01-07 11:57:03] Production.INFO: CreateAllLog Start
[2025-01-07 11:57:03] Production.INFO: 117
[2025-01-07 11:57:03] Production.INFO: ==6166== Lock acquired, processing the job...
[2025-01-07 11:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:57:03] Production.INFO: Date 2024-12-08
[2025-01-07 11:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:57:03] Production.INFO: Date 2024-12-09
[2025-01-07 11:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:57:03] Production.INFO: Date 2024-12-10
[2025-01-07 11:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:57:03] Production.INFO: count ==21
[2025-01-07 11:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:57:03] Production.INFO: count ==21
[2025-01-07 11:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194741') start
[2025-01-07 11:57:03] Production.INFO: Date 2024-12-11
[2025-01-07 11:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:57:03] Production.INFO: ==6158== Releasing lock...
[2025-01-07 11:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:57:03] Production.INFO: Date 2024-12-12
[2025-01-07 11:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194741') end
[2025-01-07 11:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:57:03] Production.INFO: 1
[2025-01-07 11:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:57:03] Production.INFO: ==6166== Releasing lock...
[2025-01-07 11:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:57:03] Production.INFO: Date 2024-12-13
[2025-01-07 11:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:57:03] Production.INFO: Date 2024-12-14
[2025-01-07 11:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:57:03] Production.INFO: Date 2024-12-15
[2025-01-07 11:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:57:03] Production.INFO: Date 2024-12-16
[2025-01-07 11:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:57:03] Production.ERROR: done
[2025-01-07 11:57:03] Production.INFO: Date 2024-12-17
[2025-01-07 11:57:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:57:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:57:04] Production.ERROR: done
[2025-01-07 11:57:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:57:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:57:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:57:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:57:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:57:04] Production.INFO: Date 2024-12-24
[2025-01-07 11:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:57:04] Production.INFO: Date 2024-12-25
[2025-01-07 11:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:57:04] Production.INFO: Date 2024-12-26
[2025-01-07 11:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:57:04] Production.INFO: Date 2024-12-27
[2025-01-07 11:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:57:04] Production.INFO: Date 2024-12-28
[2025-01-07 11:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:57:04] Production.INFO: Date 2024-12-29
[2025-01-07 11:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:57:04] Production.INFO: Date 2024-12-30
[2025-01-07 11:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:57:04] Production.INFO: Date 2024-12-31
[2025-01-07 11:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:57:04] Production.INFO: Date 2025-01-01
[2025-01-07 11:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:57:04] Production.INFO: Date 2025-01-02
[2025-01-07 11:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:57:04] Production.INFO: Date 2025-01-03
[2025-01-07 11:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:57:04] Production.INFO: Date 2025-01-04
[2025-01-07 11:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:57:04] Production.INFO: Date 2025-01-05
[2025-01-07 11:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:57:04] Production.INFO: Date 2025-01-06
[2025-01-07 11:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:57:04] Production.INFO: Date 2025-01-07
[2025-01-07 11:57:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:57:05] Production.INFO: Total Charge 0
[2025-01-07 11:57:05] Production.INFO: CreateAllLog End
[2025-01-07 11:57:05] Production.INFO: Account Balance End.
[2025-01-07 11:57:05] Production.ERROR: CronJobId end 12
[2025-01-07 11:57:05] Production.INFO: ==6162== Releasing lock...
[2025-01-07 11:57:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:57:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:57:05
[end_date_ymd] => 2025-01-07 11:57:05
[RateCDR] => 1
)
[2025-01-07 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-07 08:57:05' and `end` < '2025-01-07 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-07 11:57:12] Production.ERROR: CronJobId end10
[2025-01-07 11:57:12] Production.INFO: ==6160== Releasing lock...
[2025-01-07 11:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:57:14] Production.INFO: call_cost start
[2025-01-07 11:57:14] Production.INFO: call_cost end
[2025-01-07 11:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:57:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:57:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:57:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:57:15] Production.INFO: ==6156== Releasing lock...
[2025-01-07 11:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:57:24] Production.INFO: count ==4476
[2025-01-07 11:57:26] Production.ERROR: pbx CDR StartTime 2025-01-07 08:57:05 - End Time 2025-01-07 11:57:05
[2025-01-07 11:57:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:57:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194742', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:57:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194742', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:57:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194742', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:57:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194742', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:57:26] Production.INFO: ProcessCDR(1,14194742,1,1,2)
[2025-01-07 11:57:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194742,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:57:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194742,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:57:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194742,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:57:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194742,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:57:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194742', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:57:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194742', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:57:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:57:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:57:30] Production.INFO: ==6164== Releasing lock...
[2025-01-07 11:57:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:57:30] Production.INFO: 61.5 MB #Memory Used#
[2025-01-07 16:58:01] Production.INFO: ==6235== Lock acquired, processing the job...
[2025-01-07 16:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:58:01] Production.INFO: neon service started
[2025-01-07 16:58:01] Production.INFO: neon service started
[2025-01-07 16:58:01] Production.INFO: ==6235== Releasing lock...
[2025-01-07 16:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:58:02] Production.INFO: ==6237== Lock acquired, processing the job...
[2025-01-07 11:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 16:58:02] Production.INFO: ==6239== Lock acquired, processing the job...
[2025-01-07 16:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:58:02] Production.INFO: ==6239== Releasing lock...
[2025-01-07 16:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:58:02] Production.INFO: ==6237== Releasing lock...
[2025-01-07 11:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 11:58:03] Production.INFO: ==6244== Lock acquired, processing the job...
[2025-01-07 11:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:58:03] Production.INFO: ==6252== Lock acquired, processing the job...
[2025-01-07 11:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:58:03] Production.INFO: ==6242== Lock acquired, processing the job...
[2025-01-07 11:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:58:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:58:04] Production.INFO: ==6246== Lock acquired, processing the job...
[2025-01-07 11:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:58:04] Production.INFO: ==6250== Lock acquired, processing the job...
[2025-01-07 11:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:58:04] Production.INFO: ==6248== Lock acquired, processing the job...
[2025-01-07 11:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:58:04] Production.INFO: count ==21
[2025-01-07 11:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:58:04] Production.INFO: count ==21
[2025-01-07 11:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194743') start
[2025-01-07 11:58:04] Production.INFO: Account Balance Start.
[2025-01-07 11:58:04] Production.INFO: CreateAllLog Start
[2025-01-07 11:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:58:04] Production.INFO: 117
[2025-01-07 11:58:04] Production.INFO: Date 2024-12-08
[2025-01-07 11:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:58:04] Production.INFO: Date 2024-12-09
[2025-01-07 11:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194743') end
[2025-01-07 11:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:58:04] Production.INFO: 1
[2025-01-07 11:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:58:04] Production.INFO: Date 2024-12-10
[2025-01-07 11:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:58:04] Production.INFO: Date 2024-12-11
[2025-01-07 11:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:58:04] Production.INFO: ==6244== Releasing lock...
[2025-01-07 11:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:58:04] Production.INFO: Date 2024-12-12
[2025-01-07 11:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:58:04] Production.INFO: Date 2024-12-13
[2025-01-07 11:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:58:04] Production.INFO: Date 2024-12-14
[2025-01-07 11:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:58:04] Production.INFO: ==6252== Releasing lock...
[2025-01-07 11:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:58:04] Production.INFO: Date 2024-12-15
[2025-01-07 11:58:04] Production.ERROR: done
[2025-01-07 11:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:58:04] Production.INFO: Date 2024-12-16
[2025-01-07 11:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:58:04] Production.INFO: Date 2024-12-17
[2025-01-07 11:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:58:04] Production.INFO: Date 2024-12-18
[2025-01-07 11:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:58:04] Production.ERROR: done
[2025-01-07 11:58:04] Production.INFO: Date 2024-12-19
[2025-01-07 11:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:58:04] Production.INFO: Date 2024-12-20
[2025-01-07 11:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:58:04] Production.INFO: Date 2024-12-21
[2025-01-07 11:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:58:04] Production.INFO: Date 2024-12-22
[2025-01-07 11:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:58:04] Production.INFO: Date 2024-12-23
[2025-01-07 11:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:58:04] Production.INFO: Date 2024-12-24
[2025-01-07 11:58:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:58:05] Production.INFO: Date 2024-12-25
[2025-01-07 11:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:58:05] Production.INFO: Date 2024-12-26
[2025-01-07 11:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:58:05] Production.INFO: Date 2024-12-27
[2025-01-07 11:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:58:05] Production.INFO: Date 2024-12-28
[2025-01-07 11:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:58:05] Production.INFO: Date 2024-12-29
[2025-01-07 11:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:58:05] Production.INFO: Date 2024-12-30
[2025-01-07 11:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:58:05] Production.INFO: Date 2024-12-31
[2025-01-07 11:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:58:05] Production.INFO: Date 2025-01-01
[2025-01-07 11:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:58:05] Production.INFO: Date 2025-01-02
[2025-01-07 11:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:58:05] Production.INFO: Date 2025-01-03
[2025-01-07 11:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:58:05] Production.INFO: Date 2025-01-04
[2025-01-07 11:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:58:05] Production.INFO: Date 2025-01-05
[2025-01-07 11:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:58:05] Production.INFO: Date 2025-01-06
[2025-01-07 11:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:58:05] Production.INFO: Date 2025-01-07
[2025-01-07 11:58:05] Production.INFO: Reseller ==> 0
[2025-01-07 11:58:05] Production.INFO: Total Charge 0
[2025-01-07 11:58:05] Production.INFO: CreateAllLog End
[2025-01-07 11:58:05] Production.INFO: Account Balance End.
[2025-01-07 11:58:05] Production.ERROR: CronJobId end 12
[2025-01-07 11:58:05] Production.INFO: ==6248== Releasing lock...
[2025-01-07 11:58:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:58:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:58:05
[end_date_ymd] => 2025-01-07 11:58:05
[RateCDR] => 1
)
[2025-01-07 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-07 08:58:05' and `end` < '2025-01-07 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-07 11:58:11] Production.ERROR: CronJobId end10
[2025-01-07 11:58:11] Production.INFO: ==6246== Releasing lock...
[2025-01-07 11:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:58:13] Production.INFO: call_cost start
[2025-01-07 11:58:13] Production.INFO: call_cost end
[2025-01-07 11:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:58:14] Production.INFO: ==6242== Releasing lock...
[2025-01-07 11:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:58:23] Production.INFO: count ==4493
[2025-01-07 11:58:24] Production.ERROR: pbx CDR StartTime 2025-01-07 08:58:05 - End Time 2025-01-07 11:58:05
[2025-01-07 11:58:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:58:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194747', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:58:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194747', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:58:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194747', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:58:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194747', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:58:25] Production.INFO: ProcessCDR(1,14194747,1,1,2)
[2025-01-07 11:58:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194747,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:58:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194747,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:58:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194747,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:58:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194747,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:58:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194747', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:58:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194747', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:58:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:58:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:58:29] Production.INFO: ==6250== Releasing lock...
[2025-01-07 11:58:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:58:29] Production.INFO: 61.5 MB #Memory Used#
[2025-01-07 16:59:01] Production.INFO: ==6312== Lock acquired, processing the job...
[2025-01-07 16:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 16:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 16:59:01] Production.INFO: neon service started
[2025-01-07 16:59:01] Production.INFO: neon service started
[2025-01-07 16:59:01] Production.INFO: ==6312== Releasing lock...
[2025-01-07 16:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 16:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 11:59:01] Production.INFO: ==6314== Lock acquired, processing the job...
[2025-01-07 11:59:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 11:59:02] Production.INFO: ==6314== Releasing lock...
[2025-01-07 11:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 11:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 16:59:02] Production.INFO: ==6316== Lock acquired, processing the job...
[2025-01-07 16:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 16:59:02] Production.INFO: ==6316== Releasing lock...
[2025-01-07 16:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 16:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 11:59:02] Production.INFO: ==6324== Lock acquired, processing the job...
[2025-01-07 11:59:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 11:59:02] Production.INFO: Account Balance Start.
[2025-01-07 11:59:02] Production.INFO: CreateAllLog Start
[2025-01-07 11:59:02] Production.INFO: 117
[2025-01-07 11:59:02] Production.INFO: Date 2024-12-08
[2025-01-07 11:59:02] Production.INFO: Reseller ==> 0
[2025-01-07 11:59:02] Production.INFO: Date 2024-12-09
[2025-01-07 11:59:02] Production.INFO: Reseller ==> 0
[2025-01-07 11:59:03] Production.INFO: Date 2024-12-10
[2025-01-07 11:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:59:03] Production.INFO: Date 2024-12-11
[2025-01-07 11:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:59:03] Production.INFO: Date 2024-12-12
[2025-01-07 11:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:59:03] Production.INFO: Date 2024-12-13
[2025-01-07 11:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:59:03] Production.INFO: Date 2024-12-14
[2025-01-07 11:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:59:03] Production.INFO: Date 2024-12-15
[2025-01-07 11:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:59:03] Production.INFO: ==6318== Lock acquired, processing the job...
[2025-01-07 11:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 11:59:03] Production.INFO: ==6322== Lock acquired, processing the job...
[2025-01-07 11:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 11:59:03] Production.INFO: Date 2024-12-16
[2025-01-07 11:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:59:03] Production.INFO: ==6320== Lock acquired, processing the job...
[2025-01-07 11:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 11:59:03] Production.INFO: Date 2024-12-17
[2025-01-07 11:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:59:03] Production.INFO: ==6326== Lock acquired, processing the job...
[2025-01-07 11:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 11:59:03] Production.INFO: Date 2024-12-18
[2025-01-07 11:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 11:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 11:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 11:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 11:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 11:59:03] Production.INFO: Date 2024-12-19
[2025-01-07 11:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 11:59:03] Production.INFO: Date 2024-12-20
[2025-01-07 11:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:59:03] Production.INFO: ==6328== Lock acquired, processing the job...
[2025-01-07 11:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 11:59:03] Production.INFO: Date 2024-12-21
[2025-01-07 11:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:59:03] Production.INFO: Date 2024-12-22
[2025-01-07 11:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:59:03] Production.INFO: Date 2024-12-23
[2025-01-07 11:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:59:03] Production.INFO: Date 2024-12-24
[2025-01-07 11:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:59:03] Production.INFO: Date 2024-12-25
[2025-01-07 11:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 11:59:03] Production.INFO: Date 2024-12-26
[2025-01-07 11:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:59:03] Production.INFO: count ==21
[2025-01-07 11:59:03] Production.INFO: ==6320== Releasing lock...
[2025-01-07 11:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 11:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 11:59:03] Production.INFO: Date 2024-12-27
[2025-01-07 11:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 11:59:03] Production.INFO: count ==21
[2025-01-07 11:59:03] Production.INFO: Date 2024-12-28
[2025-01-07 11:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:59:03] Production.INFO: Date 2024-12-29
[2025-01-07 11:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194751') start
[2025-01-07 11:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:59:03] Production.INFO: Date 2024-12-30
[2025-01-07 11:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:59:03] Production.ERROR: done
[2025-01-07 11:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 11:59:03] Production.INFO: Date 2024-12-31
[2025-01-07 11:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:59:03] Production.INFO: Date 2025-01-01
[2025-01-07 11:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194751') end
[2025-01-07 11:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 11:59:03] Production.INFO: 1
[2025-01-07 11:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 11:59:03] Production.INFO: Date 2025-01-02
[2025-01-07 11:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:59:03] Production.INFO: Date 2025-01-03
[2025-01-07 11:59:03] Production.INFO: Reseller ==> 0
[2025-01-07 11:59:04] Production.INFO: ==6328== Releasing lock...
[2025-01-07 11:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 11:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 11:59:04] Production.INFO: Date 2025-01-04
[2025-01-07 11:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:59:04] Production.ERROR: done
[2025-01-07 11:59:04] Production.INFO: Date 2025-01-05
[2025-01-07 11:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:59:04] Production.INFO: Date 2025-01-06
[2025-01-07 11:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:59:04] Production.INFO: Date 2025-01-07
[2025-01-07 11:59:04] Production.INFO: Reseller ==> 0
[2025-01-07 11:59:04] Production.INFO: Total Charge 0
[2025-01-07 11:59:04] Production.INFO: CreateAllLog End
[2025-01-07 11:59:04] Production.INFO: Account Balance End.
[2025-01-07 11:59:04] Production.ERROR: CronJobId end 12
[2025-01-07 11:59:04] Production.INFO: ==6324== Releasing lock...
[2025-01-07 11:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 11:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 11:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 08:59:05
[end_date_ymd] => 2025-01-07 11:59:05
[RateCDR] => 1
)
[2025-01-07 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-07 08:59:05' and `end` < '2025-01-07 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-07 11:59:11] Production.ERROR: CronJobId end10
[2025-01-07 11:59:11] Production.INFO: ==6322== Releasing lock...
[2025-01-07 11:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 11:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 11:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 11:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 11:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 11:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 11:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 11:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 11:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 11:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 11:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 11:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 11:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 11:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 11:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 11:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 11:59:13] Production.INFO: call_cost start
[2025-01-07 11:59:13] Production.INFO: call_cost end
[2025-01-07 11:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 11:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 11:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 11:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 11:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 11:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 11:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 11:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 11:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 11:59:14] Production.INFO: ==6318== Releasing lock...
[2025-01-07 11:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 11:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 11:59:33] Production.INFO: count ==4494
[2025-01-07 11:59:35] Production.ERROR: pbx CDR StartTime 2025-01-07 08:59:05 - End Time 2025-01-07 11:59:05
[2025-01-07 11:59:35] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 11:59:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194752', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:59:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194752', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:59:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194752', 'tblTempVendorCDR_20' ) start
[2025-01-07 11:59:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194752', 'tblTempVendorCDR_20' ) end
[2025-01-07 11:59:35] Production.INFO: ProcessCDR(1,14194752,1,1,2)
[2025-01-07 11:59:35] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194752,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:59:37] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194752,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 11:59:37] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194752,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:59:39] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194752,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 11:59:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194752', 'tblTempUsageDetail_20' ) start
[2025-01-07 11:59:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194752', 'tblTempUsageDetail_20' ) end
[2025-01-07 11:59:39] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 11:59:39] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 11:59:40] Production.INFO: ==6326== Releasing lock...
[2025-01-07 11:59:40] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 11:59:40] Production.INFO: 61.75 MB #Memory Used#
[2025-01-07 17:00:01] Production.INFO: ==6389== Lock acquired, processing the job...
[2025-01-07 17:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 17:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 17:00:01] Production.INFO: neon service started
[2025-01-07 17:00:01] Production.INFO: neon service started
[2025-01-07 17:00:01] Production.INFO: ==6389== Releasing lock...
[2025-01-07 17:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 17:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 12:00:02] Production.INFO: ==6391== Lock acquired, processing the job...
[2025-01-07 12:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 12:00:02] Production.INFO: ==6391== Releasing lock...
[2025-01-07 12:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 12:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 17:00:02] Production.INFO: ==6393== Lock acquired, processing the job...
[2025-01-07 17:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 17:00:02] Production.INFO: ==6393== Releasing lock...
[2025-01-07 17:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 17:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 12:00:03] Production.INFO: ==6401== Lock acquired, processing the job...
[2025-01-07 12:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 12:00:03] Production.INFO: ==6397== Lock acquired, processing the job...
[2025-01-07 12:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 12:00:03] Production.INFO: ==6410== Lock acquired, processing the job...
[2025-01-07 12:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 12:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 12:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 12:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 12:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 12:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 12: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-07 12:00:04] Production.INFO: count ==21
[2025-01-07 12:00:04] Production.INFO: ==6395== Lock acquired, processing the job...
[2025-01-07 12:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 12:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 12:00:04] Production.INFO: count ==21
[2025-01-07 12:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194754') start
[2025-01-07 12:00:04] Production.INFO: ==6399== Lock acquired, processing the job...
[2025-01-07 12:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 12:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194754') end
[2025-01-07 12:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 12:00:04] Production.INFO: 1
[2025-01-07 12:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 12:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 12:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 12:00:04] Production.ERROR: CronJob PID - 6397
[2025-01-07 12:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-07 12:00:04] Production.ERROR: CronJob ID - 5
[2025-01-07 12:00:04] Production.ERROR: CronJob Last Run Time 2025-01-07 12:00:00
[2025-01-07 12:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 12:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 12:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 12:00:04] Production.ERROR: CronJob PID - 6399
[2025-01-07 12:00:04] Production.ERROR: CronJob Title - Account Block
[2025-01-07 12:00:04] Production.ERROR: CronJob ID - 7
[2025-01-07 12:00:04] Production.ERROR: CronJob Last Run Time 2025-01-07 12:00:00
[2025-01-07 12:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 12:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 12:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 12:00:04] Production.ERROR: CronJob PID - 6401
[2025-01-07 12:00:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-07 12:00:04] Production.ERROR: CronJob ID - 10
[2025-01-07 12:00:04] Production.ERROR: CronJob Last Run Time 2025-01-07 12:00:00
[2025-01-07 12:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 12:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 12:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 12:00:04] Production.ERROR: CronJob PID - 6410
[2025-01-07 12:00:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-07 12:00:04] Production.ERROR: CronJob ID - 19
[2025-01-07 12:00:04] Production.ERROR: CronJob Last Run Time 2025-01-07 12:00:00
[2025-01-07 12:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 12:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 12:00:04] Production.INFO: ==6403== Lock acquired, processing the job...
[2025-01-07 12:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 12:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 12:00:04] Production.INFO: ==6395== Releasing lock...
[2025-01-07 12:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 12:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 12:00:04] Production.INFO: ==6406== Lock acquired, processing the job...
[2025-01-07 12:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 12:00:04] Production.INFO: ==6408== Lock acquired, processing the job...
[2025-01-07 12:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 12:00:04] Production.INFO: Account Balance Start.
[2025-01-07 12:00:04] Production.INFO: CreateAllLog Start
[2025-01-07 12:00:04] Production.INFO: 117
[2025-01-07 12:00:04] Production.INFO: Date 2024-12-08
[2025-01-07 12:00:04] Production.INFO: ==6410== Releasing lock...
[2025-01-07 12:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 12:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 12:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 12:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 12:00:04] Production.INFO: ==6399== Releasing lock...
[2025-01-07 12:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 12:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 12:00:04] Production.INFO: Date 2024-12-09
[2025-01-07 12:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:00:04] Production.INFO: Date 2024-12-10
[2025-01-07 12:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:00:04] Production.ERROR: done
[2025-01-07 12:00:04] Production.ERROR: done
[2025-01-07 12:00:04] Production.INFO: Date 2024-12-11
[2025-01-07 12:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 12:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14194757', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 12:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 12:00:04] Production.INFO: Date 2024-12-12
[2025-01-07 12:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:00:04] Production.INFO: Date 2024-12-13
[2025-01-07 12:00:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:00:05] Production.ERROR: done
[2025-01-07 12:00:05] Production.INFO: Date 2024-12-14
[2025-01-07 12:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:00:05] Production.INFO: Date 2024-12-15
[2025-01-07 12:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:00:05] Production.INFO: Date 2024-12-16
[2025-01-07 12:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:00:05] Production.INFO: Date 2024-12-17
[2025-01-07 12:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:00:05] Production.INFO: Date 2024-12-18
[2025-01-07 12:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:00:05] Production.INFO: Date 2024-12-19
[2025-01-07 12:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:00:05] Production.INFO: Date 2024-12-20
[2025-01-07 12:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:00:05] Production.INFO: Date 2024-12-21
[2025-01-07 12:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:00:05] Production.INFO: Date 2024-12-22
[2025-01-07 12:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:00:05] Production.INFO: Date 2024-12-23
[2025-01-07 12:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:00:05] Production.INFO: Date 2024-12-24
[2025-01-07 12:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:00:05] Production.INFO: Date 2024-12-25
[2025-01-07 12:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:00:05] Production.INFO: Date 2024-12-26
[2025-01-07 12:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:00:05] Production.INFO: Date 2024-12-27
[2025-01-07 12:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:00:05] Production.INFO: Date 2024-12-28
[2025-01-07 12:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:00:05] Production.INFO: Date 2024-12-29
[2025-01-07 12:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:00:05] Production.INFO: Date 2024-12-30
[2025-01-07 12:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:00:05] Production.INFO: Date 2024-12-31
[2025-01-07 12:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:00:05] Production.INFO: Date 2025-01-01
[2025-01-07 12:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:00:05] Production.INFO: Date 2025-01-02
[2025-01-07 12:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:00:05] Production.INFO: Date 2025-01-03
[2025-01-07 12:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:00:05] Production.INFO: Date 2025-01-04
[2025-01-07 12:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:00:05] Production.INFO: Date 2025-01-05
[2025-01-07 12:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:00:05] Production.INFO: Date 2025-01-06
[2025-01-07 12:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:00:05] Production.INFO: Date 2025-01-07
[2025-01-07 12:00:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:00:05] Production.INFO: Total Charge 0
[2025-01-07 12:00:06] Production.INFO: CreateAllLog End
[2025-01-07 12:00:06] Production.INFO: Account Balance End.
[2025-01-07 12:00:06] Production.ERROR: CronJobId end 12
[2025-01-07 12:00:06] Production.INFO: ==6403== Releasing lock...
[2025-01-07 12:00:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 12:00:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 12:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 09:00:06
[end_date_ymd] => 2025-01-07 12:00:06
[RateCDR] => 1
)
[2025-01-07 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-07 09:00:06' and `end` < '2025-01-07 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-07 12:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14194757', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 12:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 12:00:09] Production.INFO: ProcessCDR(1,14194757,1,1,2)
[2025-01-07 12:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14194757,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14194757,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 12:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 12:00:09] Production.INFO: ==6408== Releasing lock...
[2025-01-07 12:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 12:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-07 12:00:13] Production.ERROR: CronJobId end10
[2025-01-07 12:00:13] Production.INFO: ==6401== Releasing lock...
[2025-01-07 12:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 12:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 12:00:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 12:00:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 12:00:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 12:00:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 12:00:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 12:00:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 12:00:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 12:00:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 12:00:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 12:00:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 12:00:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 12:00:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 12:00:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 12:00:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 12:00:15] Production.INFO: call_cost start
[2025-01-07 12:00:15] Production.INFO: call_cost end
[2025-01-07 12:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 12:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-07 12:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-07 12:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 12:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 12:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 12:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 12:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-07 12:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 12:00:16] Production.INFO: ==6397== Releasing lock...
[2025-01-07 12:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 12:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:00:31] Production.INFO: count ==4494
[2025-01-07 12:00:33] Production.ERROR: pbx CDR StartTime 2025-01-07 09:00:06 - End Time 2025-01-07 12:00:06
[2025-01-07 12:00:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 12:00:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194758', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:00:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194758', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:00:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194758', 'tblTempVendorCDR_20' ) start
[2025-01-07 12:00:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194758', 'tblTempVendorCDR_20' ) end
[2025-01-07 12:00:33] Production.INFO: ProcessCDR(1,14194758,1,1,2)
[2025-01-07 12:00:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194758,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:00:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194758,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:00:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194758,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:00:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194758,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:00:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194758', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:00:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194758', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:00:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 12:00:38] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 12:00:38] Production.INFO: ==6406== Releasing lock...
[2025-01-07 12:00:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 12:00:38] Production.INFO: 61.75 MB #Memory Used#
[2025-01-07 17:01:02] Production.INFO: ==6478== Lock acquired, processing the job...
[2025-01-07 17:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 17:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 17:01:02] Production.INFO: neon service started
[2025-01-07 17:01:02] Production.INFO: neon service started
[2025-01-07 17:01:02] Production.INFO: ==6478== Releasing lock...
[2025-01-07 17:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 17:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 12:01:02] Production.INFO: ==6489== Lock acquired, processing the job...
[2025-01-07 12:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 12:01:03] Production.INFO: ==6489== Releasing lock...
[2025-01-07 12:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 12:01:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 17:01:03] Production.INFO: ==6491== Lock acquired, processing the job...
[2025-01-07 17:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 17:01:03] Production.INFO: ==6491== Releasing lock...
[2025-01-07 17:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 17:01:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 12:01:03] Production.INFO: ==6495== Lock acquired, processing the job...
[2025-01-07 12:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 12:01:04] Production.INFO: ==6493== Lock acquired, processing the job...
[2025-01-07 12:01:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 12:01:04] Production.INFO: ==6504== Lock acquired, processing the job...
[2025-01-07 12:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 12:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 12:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 12:01:04] Production.INFO: ==6497== Lock acquired, processing the job...
[2025-01-07 12:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 12:01:04] Production.INFO: count ==21
[2025-01-07 12:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 12:01:04] Production.INFO: count ==21
[2025-01-07 12:01:04] Production.INFO: ==6499== Lock acquired, processing the job...
[2025-01-07 12:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 12:01:04] Production.INFO: ==6495== Releasing lock...
[2025-01-07 12:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 12:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 12:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194760') start
[2025-01-07 12:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 12:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 12:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 12:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 12:01:04] Production.INFO: ==6502== Lock acquired, processing the job...
[2025-01-07 12:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 12:01:04] Production.INFO: Account Balance Start.
[2025-01-07 12:01:04] Production.INFO: CreateAllLog Start
[2025-01-07 12:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 12:01:04] Production.INFO: 117
[2025-01-07 12:01:04] Production.INFO: Date 2024-12-08
[2025-01-07 12:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194760') end
[2025-01-07 12:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 12:01:04] Production.INFO: 1
[2025-01-07 12:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 12:01:04] Production.INFO: Date 2024-12-09
[2025-01-07 12:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:01:04] Production.INFO: ==6504== Releasing lock...
[2025-01-07 12:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 12:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 12:01:04] Production.INFO: Date 2024-12-10
[2025-01-07 12:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:01:04] Production.INFO: Date 2024-12-11
[2025-01-07 12:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:01:04] Production.INFO: Date 2024-12-12
[2025-01-07 12:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:01:04] Production.INFO: Date 2024-12-13
[2025-01-07 12:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:01:04] Production.INFO: Date 2024-12-14
[2025-01-07 12:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:01:04] Production.INFO: Date 2024-12-15
[2025-01-07 12:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:01:04] Production.INFO: Date 2024-12-16
[2025-01-07 12:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:01:04] Production.INFO: Date 2024-12-17
[2025-01-07 12:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:01:04] Production.INFO: Date 2024-12-18
[2025-01-07 12:01:04] Production.ERROR: done
[2025-01-07 12:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 12:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:01:04] Production.INFO: Date 2024-12-19
[2025-01-07 12:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:01:04] Production.INFO: Date 2024-12-20
[2025-01-07 12:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:01:04] Production.ERROR: done
[2025-01-07 12:01:04] Production.INFO: Date 2024-12-21
[2025-01-07 12:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:01:04] Production.INFO: Date 2024-12-22
[2025-01-07 12:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:01:04] Production.INFO: Date 2024-12-23
[2025-01-07 12:01:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:01:05] Production.INFO: Date 2024-12-24
[2025-01-07 12:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:01:05] Production.INFO: Date 2024-12-25
[2025-01-07 12:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:01:05] Production.INFO: Date 2024-12-26
[2025-01-07 12:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:01:05] Production.INFO: Date 2024-12-27
[2025-01-07 12:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:01:05] Production.INFO: Date 2024-12-28
[2025-01-07 12:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:01:05] Production.INFO: Date 2024-12-29
[2025-01-07 12:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:01:05] Production.INFO: Date 2024-12-30
[2025-01-07 12:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:01:05] Production.INFO: Date 2024-12-31
[2025-01-07 12:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:01:05] Production.INFO: Date 2025-01-01
[2025-01-07 12:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:01:05] Production.INFO: Date 2025-01-02
[2025-01-07 12:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:01:05] Production.INFO: Date 2025-01-03
[2025-01-07 12:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:01:05] Production.INFO: Date 2025-01-04
[2025-01-07 12:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:01:05] Production.INFO: Date 2025-01-05
[2025-01-07 12:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:01:05] Production.INFO: Date 2025-01-06
[2025-01-07 12:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:01:05] Production.INFO: Date 2025-01-07
[2025-01-07 12:01:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:01:05] Production.INFO: Total Charge 0
[2025-01-07 12:01:05] Production.INFO: CreateAllLog End
[2025-01-07 12:01:05] Production.INFO: Account Balance End.
[2025-01-07 12:01:05] Production.ERROR: CronJobId end 12
[2025-01-07 12:01:05] Production.INFO: ==6499== Releasing lock...
[2025-01-07 12:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 12:01:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 12:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 09:01:05
[end_date_ymd] => 2025-01-07 12:01:05
[RateCDR] => 1
)
[2025-01-07 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-07 09:01:05' and `end` < '2025-01-07 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-07 12:01:12] Production.ERROR: CronJobId end10
[2025-01-07 12:01:12] Production.INFO: ==6497== Releasing lock...
[2025-01-07 12:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 12:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 12:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 12:01:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 12:01:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 12:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 12:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 12:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 12:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 12:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 12:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 12:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 12:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 12:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 12:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 12:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 12:01:15] Production.INFO: call_cost start
[2025-01-07 12:01:15] Production.INFO: call_cost end
[2025-01-07 12:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 12:01:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 12:01:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 12:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 12:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 12:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 12:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 12:01:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 12:01:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 12:01:15] Production.INFO: ==6493== Releasing lock...
[2025-01-07 12:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 12:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:01:29] Production.INFO: count ==4551
[2025-01-07 12:01:31] Production.ERROR: pbx CDR StartTime 2025-01-07 09:01:05 - End Time 2025-01-07 12:01:05
[2025-01-07 12:01:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 12:01:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194763', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:01:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194763', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:01:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194763', 'tblTempVendorCDR_20' ) start
[2025-01-07 12:01:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194763', 'tblTempVendorCDR_20' ) end
[2025-01-07 12:01:31] Production.INFO: ProcessCDR(1,14194763,1,1,2)
[2025-01-07 12:01:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194763,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:01:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194763,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:01:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194763,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:01:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194763,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:01:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194763', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:01:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194763', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:01:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 12:01:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 12:01:36] Production.INFO: ==6502== Releasing lock...
[2025-01-07 12:01:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 12:01:36] Production.INFO: 62 MB #Memory Used#
[2025-01-07 17:02:01] Production.INFO: ==6562== Lock acquired, processing the job...
[2025-01-07 17:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 17:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 17:02:01] Production.INFO: neon service started
[2025-01-07 17:02:02] Production.INFO: neon service started
[2025-01-07 17:02:02] Production.INFO: ==6562== Releasing lock...
[2025-01-07 17:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 17:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 12:02:02] Production.INFO: ==6564== Lock acquired, processing the job...
[2025-01-07 12:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 12:02:02] Production.INFO: ==6564== Releasing lock...
[2025-01-07 12:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 12:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 17:02:02] Production.INFO: ==6566== Lock acquired, processing the job...
[2025-01-07 17:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 17:02:02] Production.INFO: ==6566== Releasing lock...
[2025-01-07 17:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 17:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 12:02:03] Production.INFO: ==6573== Lock acquired, processing the job...
[2025-01-07 12:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 12:02:03] Production.INFO: ==6579== Lock acquired, processing the job...
[2025-01-07 12:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 12:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 12:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 12:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 12:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 12:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 12:02:03] Production.INFO: count ==21
[2025-01-07 12:02:03] Production.INFO: ==6569== Lock acquired, processing the job...
[2025-01-07 12:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 12:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 12:02:03] Production.INFO: count ==21
[2025-01-07 12:02:03] Production.INFO: ==6571== Lock acquired, processing the job...
[2025-01-07 12:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 12:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194764') start
[2025-01-07 12:02:03] Production.INFO: ==6577== Lock acquired, processing the job...
[2025-01-07 12:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 12:02:03] Production.INFO: ==6575== Lock acquired, processing the job...
[2025-01-07 12:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 12:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 12:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 12:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194764') end
[2025-01-07 12:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 12:02:03] Production.INFO: 1
[2025-01-07 12:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 12:02:03] Production.INFO: ==6579== Releasing lock...
[2025-01-07 12:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 12:02:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 12:02:04] Production.INFO: Account Balance Start.
[2025-01-07 12:02:04] Production.INFO: CreateAllLog Start
[2025-01-07 12:02:04] Production.INFO: 117
[2025-01-07 12:02:04] Production.INFO: Date 2024-12-08
[2025-01-07 12:02:04] Production.ERROR: done
[2025-01-07 12:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 12:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:02:04] Production.INFO: ==6571== Releasing lock...
[2025-01-07 12:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 12:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 12:02:04] Production.INFO: Date 2024-12-09
[2025-01-07 12:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:02:04] Production.INFO: Date 2024-12-10
[2025-01-07 12:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:02:04] Production.ERROR: done
[2025-01-07 12:02:04] Production.INFO: Date 2024-12-11
[2025-01-07 12:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:02:04] Production.INFO: Date 2024-12-12
[2025-01-07 12:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:02:04] Production.INFO: Date 2024-12-13
[2025-01-07 12:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:02:04] Production.INFO: Date 2024-12-14
[2025-01-07 12:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:02:04] Production.INFO: Date 2024-12-15
[2025-01-07 12:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:02:04] Production.INFO: Date 2024-12-16
[2025-01-07 12:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:02:04] Production.INFO: Date 2024-12-17
[2025-01-07 12:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:02:04] Production.INFO: Date 2024-12-18
[2025-01-07 12:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:02:04] Production.INFO: Date 2024-12-19
[2025-01-07 12:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:02:04] Production.INFO: Date 2024-12-20
[2025-01-07 12:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:02:04] Production.INFO: Date 2024-12-21
[2025-01-07 12:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:02:04] Production.INFO: Date 2024-12-22
[2025-01-07 12:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:02:04] Production.INFO: Date 2024-12-23
[2025-01-07 12:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:02:04] Production.INFO: Date 2024-12-24
[2025-01-07 12:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:02:04] Production.INFO: Date 2024-12-25
[2025-01-07 12:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:02:04] Production.INFO: Date 2024-12-26
[2025-01-07 12:02:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:02:05] Production.INFO: Date 2024-12-27
[2025-01-07 12:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:02:05] Production.INFO: Date 2024-12-28
[2025-01-07 12:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:02:05] Production.INFO: Date 2024-12-29
[2025-01-07 12:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:02:05] Production.INFO: Date 2024-12-30
[2025-01-07 12:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:02:05] Production.INFO: Date 2024-12-31
[2025-01-07 12:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:02:05] Production.INFO: Date 2025-01-01
[2025-01-07 12:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:02:05] Production.INFO: Date 2025-01-02
[2025-01-07 12:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:02:05] Production.INFO: Date 2025-01-03
[2025-01-07 12:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:02:05] Production.INFO: Date 2025-01-04
[2025-01-07 12:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:02:05] Production.INFO: Date 2025-01-05
[2025-01-07 12:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:02:05] Production.INFO: Date 2025-01-06
[2025-01-07 12:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:02:05] Production.INFO: Date 2025-01-07
[2025-01-07 12:02:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:02:05] Production.INFO: Total Charge 0
[2025-01-07 12:02:05] Production.INFO: CreateAllLog End
[2025-01-07 12:02:05] Production.INFO: Account Balance End.
[2025-01-07 12:02:05] Production.ERROR: CronJobId end 12
[2025-01-07 12:02:05] Production.INFO: ==6575== Releasing lock...
[2025-01-07 12:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 12:02:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 12:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 09:02:05
[end_date_ymd] => 2025-01-07 12:02:05
[RateCDR] => 1
)
[2025-01-07 12:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 09:02:05' and `end` < '2025-01-07 12:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 12:02:12] Production.ERROR: CronJobId end10
[2025-01-07 12:02:12] Production.INFO: ==6573== Releasing lock...
[2025-01-07 12:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 12:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 12:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 12:02:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 12:02:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 12:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 12:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 12:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 12:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 12:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 12:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 12:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 12:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 12:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 12:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 12:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 12:02:14] Production.INFO: call_cost start
[2025-01-07 12:02:14] Production.INFO: call_cost end
[2025-01-07 12:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 12:02:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 12:02:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 12:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 12:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 12:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 12:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 12:02:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 12:02:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 12:02:15] Production.INFO: ==6569== Releasing lock...
[2025-01-07 12:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 12:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:02:34] Production.INFO: count ==4570
[2025-01-07 12:02:35] Production.ERROR: pbx CDR StartTime 2025-01-07 09:02:05 - End Time 2025-01-07 12:02:05
[2025-01-07 12:02:35] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 12:02:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194768', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:02:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194768', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:02:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194768', 'tblTempVendorCDR_20' ) start
[2025-01-07 12:02:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194768', 'tblTempVendorCDR_20' ) end
[2025-01-07 12:02:35] Production.INFO: ProcessCDR(1,14194768,1,1,2)
[2025-01-07 12:02:35] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194768,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:02:38] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194768,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:02:38] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194768,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:02:40] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194768,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:02:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194768', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:02:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194768', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:02:40] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 12:02:40] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 12:02:40] Production.INFO: ==6577== Releasing lock...
[2025-01-07 12:02:40] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 12:02:40] Production.INFO: 62.25 MB #Memory Used#
[2025-01-07 17:03:01] Production.INFO: ==6649== Lock acquired, processing the job...
[2025-01-07 17:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 17:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 17:03:01] Production.INFO: neon service started
[2025-01-07 17:03:01] Production.INFO: neon service started
[2025-01-07 17:03:01] Production.INFO: ==6649== Releasing lock...
[2025-01-07 17:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 17:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 12:03:01] Production.INFO: ==6651== Lock acquired, processing the job...
[2025-01-07 12:03:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 17:03:01] Production.INFO: ==6653== Lock acquired, processing the job...
[2025-01-07 17:03:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 17:03:02] Production.INFO: ==6653== Releasing lock...
[2025-01-07 17:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 17:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 12:03:02] Production.INFO: ==6651== Releasing lock...
[2025-01-07 12:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 12:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:03:03] Production.INFO: ==6656== Lock acquired, processing the job...
[2025-01-07 12:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 12:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 12:03:03] Production.INFO: ==6658== Lock acquired, processing the job...
[2025-01-07 12:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 12:03:03] Production.INFO: ==6660== Lock acquired, processing the job...
[2025-01-07 12:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 12:03:03] Production.INFO: ==6664== Lock acquired, processing the job...
[2025-01-07 12:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 12:03:03] Production.INFO: ==6662== Lock acquired, processing the job...
[2025-01-07 12:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 12:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 12:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 12:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 12:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 12:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 12:03:03] Production.INFO: ==6666== Lock acquired, processing the job...
[2025-01-07 12:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 12:03:03] Production.INFO: Account Balance Start.
[2025-01-07 12:03:03] Production.INFO: CreateAllLog Start
[2025-01-07 12:03:03] Production.INFO: 117
[2025-01-07 12:03:03] Production.INFO: Date 2024-12-08
[2025-01-07 12:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:03:03] Production.INFO: Date 2024-12-09
[2025-01-07 12:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 12:03:03] Production.INFO: Date 2024-12-10
[2025-01-07 12:03:03] Production.INFO: count ==21
[2025-01-07 12:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 12:03:03] Production.INFO: count ==21
[2025-01-07 12:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194772') start
[2025-01-07 12:03:03] Production.INFO: Date 2024-12-11
[2025-01-07 12:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:03:03] Production.INFO: Date 2024-12-12
[2025-01-07 12:03:03] Production.INFO: ==6658== Releasing lock...
[2025-01-07 12:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 12:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 12:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:03:03] Production.INFO: Date 2024-12-13
[2025-01-07 12:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:03:03] Production.INFO: Date 2024-12-14
[2025-01-07 12:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194772') end
[2025-01-07 12:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 12:03:03] Production.INFO: 1
[2025-01-07 12:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 12:03:03] Production.INFO: Date 2024-12-15
[2025-01-07 12:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:03:03] Production.INFO: Date 2024-12-16
[2025-01-07 12:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:03:03] Production.INFO: Date 2024-12-17
[2025-01-07 12:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:03:03] Production.INFO: Date 2024-12-18
[2025-01-07 12:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:03:03] Production.INFO: Date 2024-12-19
[2025-01-07 12:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:03:03] Production.INFO: ==6666== Releasing lock...
[2025-01-07 12:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 12:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 12:03:03] Production.ERROR: done
[2025-01-07 12:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 12:03:03] Production.INFO: Date 2024-12-20
[2025-01-07 12:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:03:03] Production.INFO: Date 2024-12-21
[2025-01-07 12:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:03:03] Production.INFO: Date 2024-12-22
[2025-01-07 12:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:03:03] Production.INFO: Date 2024-12-23
[2025-01-07 12:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:03:03] Production.INFO: Date 2024-12-24
[2025-01-07 12:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:03:03] Production.INFO: Date 2024-12-25
[2025-01-07 12:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:03:03] Production.INFO: Date 2024-12-26
[2025-01-07 12:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:03:03] Production.INFO: Date 2024-12-27
[2025-01-07 12:03:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:03:04] Production.INFO: Date 2024-12-28
[2025-01-07 12:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:03:04] Production.ERROR: done
[2025-01-07 12:03:04] Production.INFO: Date 2024-12-29
[2025-01-07 12:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:03:04] Production.INFO: Date 2024-12-30
[2025-01-07 12:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:03:04] Production.INFO: Date 2024-12-31
[2025-01-07 12:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:03:04] Production.INFO: Date 2025-01-01
[2025-01-07 12:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:03:04] Production.INFO: Date 2025-01-02
[2025-01-07 12:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:03:04] Production.INFO: Date 2025-01-03
[2025-01-07 12:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:03:04] Production.INFO: Date 2025-01-04
[2025-01-07 12:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:03:04] Production.INFO: Date 2025-01-05
[2025-01-07 12:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:03:04] Production.INFO: Date 2025-01-06
[2025-01-07 12:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:03:04] Production.INFO: Date 2025-01-07
[2025-01-07 12:03:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:03:04] Production.INFO: Total Charge 0
[2025-01-07 12:03:04] Production.INFO: CreateAllLog End
[2025-01-07 12:03:04] Production.INFO: Account Balance End.
[2025-01-07 12:03:04] Production.ERROR: CronJobId end 12
[2025-01-07 12:03:04] Production.INFO: ==6662== Releasing lock...
[2025-01-07 12:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 12:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 12:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 09:03:05
[end_date_ymd] => 2025-01-07 12:03:05
[RateCDR] => 1
)
[2025-01-07 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-07 09:03:05' and `end` < '2025-01-07 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-07 12:03:12] Production.ERROR: CronJobId end10
[2025-01-07 12:03:12] Production.INFO: ==6660== Releasing lock...
[2025-01-07 12:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 12:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 12:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 12:03:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 12:03:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 12:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 12:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 12:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 12:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 12:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 12:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 12:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 12:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 12:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 12:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 12:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 12:03:14] Production.INFO: call_cost start
[2025-01-07 12:03:14] Production.INFO: call_cost end
[2025-01-07 12:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 12:03:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 12:03:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 12:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 12:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 12:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 12:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 12:03:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 12:03:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 12:03:15] Production.INFO: ==6656== Releasing lock...
[2025-01-07 12:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 12:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:03:23] Production.INFO: count ==4552
[2025-01-07 12:03:25] Production.ERROR: pbx CDR StartTime 2025-01-07 09:03:05 - End Time 2025-01-07 12:03:05
[2025-01-07 12:03:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 12:03:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194773', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:03:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194773', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:03:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194773', 'tblTempVendorCDR_20' ) start
[2025-01-07 12:03:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194773', 'tblTempVendorCDR_20' ) end
[2025-01-07 12:03:25] Production.INFO: ProcessCDR(1,14194773,1,1,2)
[2025-01-07 12:03:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194773,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:03:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194773,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:03:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194773,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:03:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194773,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:03:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194773', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:03:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194773', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:03:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 12:03:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 12:03:29] Production.INFO: ==6664== Releasing lock...
[2025-01-07 12:03:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 12:03:29] Production.INFO: 62 MB #Memory Used#
[2025-01-07 17:04:01] Production.INFO: ==6731== Lock acquired, processing the job...
[2025-01-07 17:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 17:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 17:04:01] Production.INFO: neon service started
[2025-01-07 17:04:01] Production.INFO: neon service started
[2025-01-07 17:04:01] Production.INFO: ==6731== Releasing lock...
[2025-01-07 17:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 17:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 17:04:02] Production.INFO: ==6735== Lock acquired, processing the job...
[2025-01-07 17:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:04:02] Production.INFO: ==6733== Lock acquired, processing the job...
[2025-01-07 12:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 17:04:02] Production.INFO: ==6735== Releasing lock...
[2025-01-07 17:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 17:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 12:04:02] Production.INFO: ==6733== Releasing lock...
[2025-01-07 12:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 12:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:04:03] Production.INFO: ==6740== Lock acquired, processing the job...
[2025-01-07 12:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 12:04:03] Production.INFO: ==6746== Lock acquired, processing the job...
[2025-01-07 12:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 12:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 12:04:03] Production.INFO: ==6738== Lock acquired, processing the job...
[2025-01-07 12:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 12:04:03] Production.INFO: ==6748== Lock acquired, processing the job...
[2025-01-07 12:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 12:04:03] Production.INFO: ==6744== Lock acquired, processing the job...
[2025-01-07 12:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 12:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 12:04:03] Production.INFO: ==6742== Lock acquired, processing the job...
[2025-01-07 12:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 12:04:03] Production.INFO: ==6740== Releasing lock...
[2025-01-07 12:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 12:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 12:04:03] Production.ERROR: done
[2025-01-07 12:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 12:04:03] Production.INFO: Account Balance Start.
[2025-01-07 12:04:03] Production.INFO: CreateAllLog Start
[2025-01-07 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-07 12:04:03] Production.INFO: 117
[2025-01-07 12:04:03] Production.INFO: Date 2024-12-08
[2025-01-07 12:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:04:03] Production.INFO: count ==21
[2025-01-07 12:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 12:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 12:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 12:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 12:04:03] Production.INFO: Date 2024-12-09
[2025-01-07 12:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:04:03] Production.INFO: Date 2024-12-10
[2025-01-07 12:04:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 12:04:04] Production.INFO: count ==21
[2025-01-07 12:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194776') start
[2025-01-07 12:04:04] Production.ERROR: done
[2025-01-07 12:04:04] Production.INFO: Date 2024-12-11
[2025-01-07 12:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:04:04] Production.INFO: Date 2024-12-12
[2025-01-07 12:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:04:04] Production.INFO: Date 2024-12-13
[2025-01-07 12:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194776') end
[2025-01-07 12:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 12:04:04] Production.INFO: 1
[2025-01-07 12:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 12:04:04] Production.INFO: ==6748== Releasing lock...
[2025-01-07 12:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 12:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 12:04:04] Production.INFO: Date 2024-12-14
[2025-01-07 12:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:04:04] Production.INFO: Date 2024-12-15
[2025-01-07 12:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:04:04] Production.INFO: Date 2024-12-16
[2025-01-07 12:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:04:04] Production.INFO: Date 2024-12-17
[2025-01-07 12:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:04:04] Production.INFO: Date 2024-12-18
[2025-01-07 12:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:04:04] Production.INFO: Date 2024-12-19
[2025-01-07 12:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:04:04] Production.INFO: Date 2024-12-20
[2025-01-07 12:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:04:04] Production.INFO: Date 2024-12-21
[2025-01-07 12:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:04:04] Production.INFO: Date 2024-12-22
[2025-01-07 12:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:04:04] Production.INFO: Date 2024-12-23
[2025-01-07 12:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:04:04] Production.INFO: Date 2024-12-24
[2025-01-07 12:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:04:04] Production.INFO: Date 2024-12-25
[2025-01-07 12:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:04:04] Production.INFO: Date 2024-12-26
[2025-01-07 12:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:04:04] Production.INFO: Date 2024-12-27
[2025-01-07 12:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:04:04] Production.INFO: Date 2024-12-28
[2025-01-07 12:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:04:04] Production.INFO: Date 2024-12-29
[2025-01-07 12:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:04:04] Production.INFO: Date 2024-12-30
[2025-01-07 12:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:04:04] Production.INFO: Date 2024-12-31
[2025-01-07 12:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:04:04] Production.INFO: Date 2025-01-01
[2025-01-07 12:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:04:04] Production.INFO: Date 2025-01-02
[2025-01-07 12:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:04:04] Production.INFO: Date 2025-01-03
[2025-01-07 12:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:04:04] Production.INFO: Date 2025-01-04
[2025-01-07 12:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:04:04] Production.INFO: Date 2025-01-05
[2025-01-07 12:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:04:04] Production.INFO: Date 2025-01-06
[2025-01-07 12:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:04:04] Production.INFO: Date 2025-01-07
[2025-01-07 12:04:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:04:05] Production.INFO: Total Charge 0
[2025-01-07 12:04:05] Production.INFO: CreateAllLog End
[2025-01-07 12:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 09:04:05
[end_date_ymd] => 2025-01-07 12:04:05
[RateCDR] => 1
)
[2025-01-07 12:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 09:04:05' and `end` < '2025-01-07 12:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 12:04:05] Production.INFO: Account Balance End.
[2025-01-07 12:04:05] Production.ERROR: CronJobId end 12
[2025-01-07 12:04:05] Production.INFO: ==6744== Releasing lock...
[2025-01-07 12:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 12:04:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 12:04:12] Production.ERROR: CronJobId end10
[2025-01-07 12:04:12] Production.INFO: ==6742== Releasing lock...
[2025-01-07 12:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 12:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 12:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 12:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 12:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 12:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 12:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 12:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 12:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 12:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 12:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 12:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 12:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 12:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 12:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 12:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 12:04:13] Production.INFO: call_cost start
[2025-01-07 12:04:13] Production.INFO: call_cost end
[2025-01-07 12:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 12:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 12:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 12:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 12:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 12:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 12:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 12:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 12:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 12:04:14] Production.INFO: ==6738== Releasing lock...
[2025-01-07 12:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 12:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:04:19] Production.INFO: count ==4555
[2025-01-07 12:04:20] Production.ERROR: pbx CDR StartTime 2025-01-07 09:04:05 - End Time 2025-01-07 12:04:05
[2025-01-07 12:04:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 12:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194778', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194778', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194778', 'tblTempVendorCDR_20' ) start
[2025-01-07 12:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194778', 'tblTempVendorCDR_20' ) end
[2025-01-07 12:04:20] Production.INFO: ProcessCDR(1,14194778,1,1,2)
[2025-01-07 12:04:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194778,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:04:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194778,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:04:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194778,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:04:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194778,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194778', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194778', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:04:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 12:04:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 12:04:23] Production.INFO: ==6746== Releasing lock...
[2025-01-07 12:04:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 12:04:23] Production.INFO: 62 MB #Memory Used#
[2025-01-07 17:05:02] Production.INFO: ==6847== Lock acquired, processing the job...
[2025-01-07 17:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 17:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 17:05:02] Production.INFO: neon service started
[2025-01-07 17:05:02] Production.INFO: neon service started
[2025-01-07 17:05:02] Production.INFO: ==6847== Releasing lock...
[2025-01-07 17:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 17:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 12:05:02] Production.INFO: ==6849== Lock acquired, processing the job...
[2025-01-07 12:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 12:05:02] Production.INFO: ==6849== Releasing lock...
[2025-01-07 12:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 12:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 17:05:03] Production.INFO: ==6851== Lock acquired, processing the job...
[2025-01-07 17:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 17:05:03] Production.INFO: ==6851== Releasing lock...
[2025-01-07 17:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 17:05:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 12:05:03] Production.INFO: ==6853== Lock acquired, processing the job...
[2025-01-07 12:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 12:05:03] Production.INFO: ==6857== Lock acquired, processing the job...
[2025-01-07 12:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 12:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 12:05:03] Production.INFO: ==6855== Lock acquired, processing the job...
[2025-01-07 12:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 12:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 12:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 12:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 12:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 12:05:03] Production.INFO: ==6859== Lock acquired, processing the job...
[2025-01-07 12:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 12:05:03] Production.INFO: ==6863== Lock acquired, processing the job...
[2025-01-07 12:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 12:05:03] Production.INFO: ==6861== Lock acquired, processing the job...
[2025-01-07 12:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 12:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 12:05:04] Production.INFO: Account Balance Start.
[2025-01-07 12:05:04] Production.INFO: CreateAllLog Start
[2025-01-07 12:05:04] Production.INFO: 117
[2025-01-07 12:05:04] Production.INFO: Date 2024-12-08
[2025-01-07 12:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 12:05:04] Production.INFO: Date 2024-12-09
[2025-01-07 12:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:05:04] Production.INFO: count ==21
[2025-01-07 12:05:04] Production.INFO: Date 2024-12-10
[2025-01-07 12:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 12:05:04] Production.INFO: count ==21
[2025-01-07 12:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194781') start
[2025-01-07 12:05:04] Production.INFO: Date 2024-12-11
[2025-01-07 12:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:05:04] Production.INFO: Date 2024-12-12
[2025-01-07 12:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:05:04] Production.INFO: Date 2024-12-13
[2025-01-07 12:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194781') end
[2025-01-07 12:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 12:05:04] Production.INFO: 1
[2025-01-07 12:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 12:05:04] Production.INFO: ==6855== Releasing lock...
[2025-01-07 12:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 12:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 12:05:04] Production.INFO: ==6863== Releasing lock...
[2025-01-07 12:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 12:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 12:05:04] Production.ERROR: done
[2025-01-07 12:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 12:05:04] Production.INFO: Date 2024-12-14
[2025-01-07 12:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:05:04] Production.INFO: Date 2024-12-15
[2025-01-07 12:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:05:04] Production.INFO: Date 2024-12-16
[2025-01-07 12:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:05:04] Production.ERROR: done
[2025-01-07 12:05:04] Production.INFO: Date 2024-12-17
[2025-01-07 12:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:05:04] Production.INFO: Date 2024-12-18
[2025-01-07 12:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:05:04] Production.INFO: Date 2024-12-19
[2025-01-07 12:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:05:04] Production.INFO: Date 2024-12-20
[2025-01-07 12:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:05:04] Production.INFO: Date 2024-12-21
[2025-01-07 12:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:05:04] Production.INFO: Date 2024-12-22
[2025-01-07 12:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:05:04] Production.INFO: Date 2024-12-23
[2025-01-07 12:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:05:04] Production.INFO: Date 2024-12-24
[2025-01-07 12:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:05:04] Production.INFO: Date 2024-12-25
[2025-01-07 12:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:05:04] Production.INFO: Date 2024-12-26
[2025-01-07 12:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:05:04] Production.INFO: Date 2024-12-27
[2025-01-07 12:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:05:04] Production.INFO: Date 2024-12-28
[2025-01-07 12:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:05:04] Production.INFO: Date 2024-12-29
[2025-01-07 12:05:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:05:05] Production.INFO: Date 2024-12-30
[2025-01-07 12:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:05:05] Production.INFO: Date 2024-12-31
[2025-01-07 12:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:05:05] Production.INFO: Date 2025-01-01
[2025-01-07 12:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:05:05] Production.INFO: Date 2025-01-02
[2025-01-07 12:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:05:05] Production.INFO: Date 2025-01-03
[2025-01-07 12:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:05:05] Production.INFO: Date 2025-01-04
[2025-01-07 12:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:05:05] Production.INFO: Date 2025-01-05
[2025-01-07 12:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:05:05] Production.INFO: Date 2025-01-06
[2025-01-07 12:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:05:05] Production.INFO: Date 2025-01-07
[2025-01-07 12:05:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:05:05] Production.INFO: Total Charge 0
[2025-01-07 12:05:05] Production.INFO: CreateAllLog End
[2025-01-07 12:05:05] Production.INFO: Account Balance End.
[2025-01-07 12:05:05] Production.ERROR: CronJobId end 12
[2025-01-07 12:05:05] Production.INFO: ==6859== Releasing lock...
[2025-01-07 12:05:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 12:05:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 12:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 09:05:05
[end_date_ymd] => 2025-01-07 12:05:05
[RateCDR] => 1
)
[2025-01-07 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-07 09:05:05' and `end` < '2025-01-07 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-07 12:05:11] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:362
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(362): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_update...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(363): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#4 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->statement()
#5 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::getOutstandingAmount()
#6 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_updateSOAOffSet(1,0))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(363): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#2 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->statement()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::getOutstandingAmount()
#4 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#7 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 {main}
[2025-01-07 12:05:11] Production.ERROR: CronJobId end10
[2025-01-07 12:05:11] Production.INFO: ==6857== Releasing lock...
[2025-01-07 12:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 12:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 12:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 12:05:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 12:05:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 12:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 12:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 12:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 12:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 12:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 12:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 12:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 12:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 12:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 12:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 12:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 12:05:13] Production.INFO: call_cost start
[2025-01-07 12:05:13] Production.INFO: call_cost end
[2025-01-07 12:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 12:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 12:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 12:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 12:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 12:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 12:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 12:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 12:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 12:05:14] Production.INFO: ==6853== Releasing lock...
[2025-01-07 12:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 12:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:05:19] Production.INFO: count ==4560
[2025-01-07 12:05:21] Production.ERROR: pbx CDR StartTime 2025-01-07 09:05:05 - End Time 2025-01-07 12:05:05
[2025-01-07 12:05:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 12:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194783', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194783', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194783', 'tblTempVendorCDR_20' ) start
[2025-01-07 12:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194783', 'tblTempVendorCDR_20' ) end
[2025-01-07 12:05:21] Production.INFO: ProcessCDR(1,14194783,1,1,2)
[2025-01-07 12:05:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194783,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:05:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194783,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:05:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194783,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:05:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194783,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:05:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194783', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:05:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194783', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:05:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 12:05:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 12:05:26] Production.INFO: ==6861== Releasing lock...
[2025-01-07 12:05:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 12:05:26] Production.INFO: 62 MB #Memory Used#
[2025-01-07 17:06:01] Production.INFO: ==6925== Lock acquired, processing the job...
[2025-01-07 17:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 17:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 17:06:01] Production.INFO: neon service started
[2025-01-07 17:06:01] Production.INFO: neon service started
[2025-01-07 17:06:01] Production.INFO: ==6925== Releasing lock...
[2025-01-07 17:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 17:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 12:06:02] Production.INFO: ==6927== Lock acquired, processing the job...
[2025-01-07 12:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 17:06:02] Production.INFO: ==6929== Lock acquired, processing the job...
[2025-01-07 17:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 17:06:02] Production.INFO: ==6929== Releasing lock...
[2025-01-07 17:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 17:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 12:06:02] Production.INFO: ==6927== Releasing lock...
[2025-01-07 12:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 12:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:06:03] Production.INFO: ==6932== Lock acquired, processing the job...
[2025-01-07 12:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 12:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 12:06:03] Production.INFO: ==6942== Lock acquired, processing the job...
[2025-01-07 12:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 12:06:03] Production.INFO: ==6934== Lock acquired, processing the job...
[2025-01-07 12:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 12:06:03] Production.INFO: ==6936== Lock acquired, processing the job...
[2025-01-07 12:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 12:06:03] Production.INFO: ==6938== Lock acquired, processing the job...
[2025-01-07 12:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 12:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 12:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 12:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 12:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 12:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 12:06:03] Production.INFO: count ==21
[2025-01-07 12:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 12:06:03] Production.INFO: Account Balance Start.
[2025-01-07 12:06:03] Production.INFO: CreateAllLog Start
[2025-01-07 12:06:03] Production.INFO: count ==21
[2025-01-07 12:06:03] Production.INFO: 117
[2025-01-07 12:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194785') start
[2025-01-07 12:06:03] Production.INFO: Date 2024-12-08
[2025-01-07 12:06:03] Production.INFO: ==6940== Lock acquired, processing the job...
[2025-01-07 12:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 12:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 12:06:03] Production.INFO: Date 2024-12-09
[2025-01-07 12:06:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194785') end
[2025-01-07 12:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 12:06:04] Production.INFO: 1
[2025-01-07 12:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 12:06:04] Production.INFO: Date 2024-12-10
[2025-01-07 12:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:06:04] Production.INFO: ==6942== Releasing lock...
[2025-01-07 12:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 12:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 12:06:04] Production.INFO: ==6934== Releasing lock...
[2025-01-07 12:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 12:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 12:06:04] Production.INFO: Date 2024-12-11
[2025-01-07 12:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:06:04] Production.INFO: Date 2024-12-12
[2025-01-07 12:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:06:04] Production.INFO: Date 2024-12-13
[2025-01-07 12:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:06:04] Production.INFO: Date 2024-12-14
[2025-01-07 12:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:06:04] Production.ERROR: done
[2025-01-07 12:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 12:06:04] Production.INFO: Date 2024-12-15
[2025-01-07 12:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:06:04] Production.INFO: Date 2024-12-16
[2025-01-07 12:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:06:04] Production.INFO: Date 2024-12-17
[2025-01-07 12:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:06:04] Production.ERROR: done
[2025-01-07 12:06:04] Production.INFO: Date 2024-12-18
[2025-01-07 12:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:06:04] Production.INFO: Date 2024-12-19
[2025-01-07 12:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:06:04] Production.INFO: Date 2024-12-20
[2025-01-07 12:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:06:04] Production.INFO: Date 2024-12-21
[2025-01-07 12:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:06:04] Production.INFO: Date 2024-12-22
[2025-01-07 12:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:06:04] Production.INFO: Date 2024-12-23
[2025-01-07 12:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:06:04] Production.INFO: Date 2024-12-24
[2025-01-07 12:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:06:04] Production.INFO: Date 2024-12-25
[2025-01-07 12:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:06:04] Production.INFO: Date 2024-12-26
[2025-01-07 12:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:06:04] Production.INFO: Date 2024-12-27
[2025-01-07 12:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:06:04] Production.INFO: Date 2024-12-28
[2025-01-07 12:06:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:06:05] Production.INFO: Date 2024-12-29
[2025-01-07 12:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:06:05] Production.INFO: Date 2024-12-30
[2025-01-07 12:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:06:05] Production.INFO: Date 2024-12-31
[2025-01-07 12:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:06:05] Production.INFO: Date 2025-01-01
[2025-01-07 12:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:06:05] Production.INFO: Date 2025-01-02
[2025-01-07 12:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:06:05] Production.INFO: Date 2025-01-03
[2025-01-07 12:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:06:05] Production.INFO: Date 2025-01-04
[2025-01-07 12:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:06:05] Production.INFO: Date 2025-01-05
[2025-01-07 12:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:06:05] Production.INFO: Date 2025-01-06
[2025-01-07 12:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:06:05] Production.INFO: Date 2025-01-07
[2025-01-07 12:06:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:06:05] Production.INFO: Total Charge 0
[2025-01-07 12:06:05] Production.INFO: CreateAllLog End
[2025-01-07 12:06:05] Production.INFO: Account Balance End.
[2025-01-07 12:06:05] Production.ERROR: CronJobId end 12
[2025-01-07 12:06:05] Production.INFO: ==6938== Releasing lock...
[2025-01-07 12:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 12:06:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 12:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 09:06:05
[end_date_ymd] => 2025-01-07 12:06:05
[RateCDR] => 1
)
[2025-01-07 12:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 09:06:05' and `end` < '2025-01-07 12:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 12:06:12] Production.ERROR: CronJobId end10
[2025-01-07 12:06:12] Production.INFO: ==6936== Releasing lock...
[2025-01-07 12:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 12:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 12:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 12:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 12:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 12:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 12:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 12:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 12:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 12:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 12:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 12:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 12:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 12:06:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 12:06:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 12:06:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 12:06:14] Production.INFO: call_cost start
[2025-01-07 12:06:14] Production.INFO: call_cost end
[2025-01-07 12:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 12:06:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 12:06:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 12:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 12:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 12:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 12:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 12:06:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 12:06:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 12:06:15] Production.INFO: ==6932== Releasing lock...
[2025-01-07 12:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 12:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:06:20] Production.INFO: count ==4559
[2025-01-07 12:06:21] Production.ERROR: pbx CDR StartTime 2025-01-07 09:06:05 - End Time 2025-01-07 12:06:05
[2025-01-07 12:06:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 12:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194788', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194788', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194788', 'tblTempVendorCDR_20' ) start
[2025-01-07 12:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194788', 'tblTempVendorCDR_20' ) end
[2025-01-07 12:06:21] Production.INFO: ProcessCDR(1,14194788,1,1,2)
[2025-01-07 12:06:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194788,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:06:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194788,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:06:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194788,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:06:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194788,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:06:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194788', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:06:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194788', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:06:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 12:06:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 12:06:26] Production.INFO: ==6940== Releasing lock...
[2025-01-07 12:06:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 12:06:26] Production.INFO: 62 MB #Memory Used#
[2025-01-07 17:07:02] Production.INFO: ==7004== Lock acquired, processing the job...
[2025-01-07 17:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 17:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 17:07:02] Production.INFO: neon service started
[2025-01-07 17:07:02] Production.INFO: neon service started
[2025-01-07 17:07:02] Production.INFO: ==7004== Releasing lock...
[2025-01-07 17:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 17:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 12:07:02] Production.INFO: ==7006== Lock acquired, processing the job...
[2025-01-07 12:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 12:07:02] Production.INFO: ==7006== Releasing lock...
[2025-01-07 12:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 12:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 17:07:03] Production.INFO: ==7008== Lock acquired, processing the job...
[2025-01-07 17:07:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 17:07:03] Production.INFO: ==7008== Releasing lock...
[2025-01-07 17:07:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 17:07:03] Production.INFO: 25 MB #Memory Used#
[2025-01-07 12:07:03] Production.INFO: ==7019== Lock acquired, processing the job...
[2025-01-07 12:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 12:07:04] Production.INFO: Account Balance Start.
[2025-01-07 12:07:04] Production.INFO: CreateAllLog Start
[2025-01-07 12:07:04] Production.INFO: ==7015== Lock acquired, processing the job...
[2025-01-07 12:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 12:07:04] Production.INFO: ==7023== Lock acquired, processing the job...
[2025-01-07 12:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 12:07:04] Production.INFO: 117
[2025-01-07 12:07:04] Production.INFO: Date 2024-12-08
[2025-01-07 12:07:04] Production.INFO: ==7013== Lock acquired, processing the job...
[2025-01-07 12:07:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 12:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:07:04] Production.INFO: ==7017== Lock acquired, processing the job...
[2025-01-07 12:07:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 12:07:04] Production.INFO: Date 2024-12-09
[2025-01-07 12:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:07:04] Production.INFO: Date 2024-12-10
[2025-01-07 12:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 12:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 12: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-07 12:07:04] Production.INFO: count ==21
[2025-01-07 12:07:04] Production.INFO: Date 2024-12-11
[2025-01-07 12:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 12:07:04] Production.INFO: count ==21
[2025-01-07 12:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194791') start
[2025-01-07 12:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 12:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 12:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 12:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 12:07:04] Production.INFO: ==7021== Lock acquired, processing the job...
[2025-01-07 12:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 12:07:04] Production.INFO: Date 2024-12-12
[2025-01-07 12:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194791') end
[2025-01-07 12:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 12:07:04] Production.INFO: 1
[2025-01-07 12:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 12:07:04] Production.INFO: ==7015== Releasing lock...
[2025-01-07 12:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 12:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 12:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 12:07:04] Production.INFO: ==7023== Releasing lock...
[2025-01-07 12:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 12:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 12:07:04] Production.INFO: Date 2024-12-13
[2025-01-07 12:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:07:04] Production.INFO: Date 2024-12-14
[2025-01-07 12:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:07:04] Production.INFO: Date 2024-12-15
[2025-01-07 12:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:07:04] Production.INFO: Date 2024-12-16
[2025-01-07 12:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:07:04] Production.INFO: Date 2024-12-17
[2025-01-07 12:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:07:04] Production.INFO: Date 2024-12-18
[2025-01-07 12:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:07:04] Production.ERROR: done
[2025-01-07 12:07:04] Production.INFO: Date 2024-12-19
[2025-01-07 12:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 12:07:04] Production.INFO: Date 2024-12-20
[2025-01-07 12:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:07:04] Production.INFO: Date 2024-12-21
[2025-01-07 12:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:07:04] Production.INFO: Date 2024-12-22
[2025-01-07 12:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:07:04] Production.ERROR: done
[2025-01-07 12:07:04] Production.INFO: Date 2024-12-23
[2025-01-07 12:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:07:04] Production.INFO: Date 2024-12-24
[2025-01-07 12:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:07:04] Production.INFO: Date 2024-12-25
[2025-01-07 12:07:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:07:05] Production.INFO: Date 2024-12-26
[2025-01-07 12:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:07:05] Production.INFO: Date 2024-12-27
[2025-01-07 12:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:07:05] Production.INFO: Date 2024-12-28
[2025-01-07 12:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:07:05] Production.INFO: Date 2024-12-29
[2025-01-07 12:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:07:05] Production.INFO: Date 2024-12-30
[2025-01-07 12:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:07:05] Production.INFO: Date 2024-12-31
[2025-01-07 12:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:07:05] Production.INFO: Date 2025-01-01
[2025-01-07 12:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:07:05] Production.INFO: Date 2025-01-02
[2025-01-07 12:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:07:05] Production.INFO: Date 2025-01-03
[2025-01-07 12:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:07:05] Production.INFO: Date 2025-01-04
[2025-01-07 12:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:07:05] Production.INFO: Date 2025-01-05
[2025-01-07 12:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:07:05] Production.INFO: Date 2025-01-06
[2025-01-07 12:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:07:05] Production.INFO: Date 2025-01-07
[2025-01-07 12:07:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:07:05] Production.INFO: Total Charge 0
[2025-01-07 12:07:05] Production.INFO: CreateAllLog End
[2025-01-07 12:07:05] Production.INFO: Account Balance End.
[2025-01-07 12:07:05] Production.ERROR: CronJobId end 12
[2025-01-07 12:07:05] Production.INFO: ==7019== Releasing lock...
[2025-01-07 12:07:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 12:07:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 12:07:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 09:07:06
[end_date_ymd] => 2025-01-07 12:07:06
[RateCDR] => 1
)
[2025-01-07 12: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-07 09:07:06' and `end` < '2025-01-07 12: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-07 12:07:12] Production.ERROR: CronJobId end10
[2025-01-07 12:07:12] Production.INFO: ==7017== Releasing lock...
[2025-01-07 12:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 12:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 12:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 12:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 12:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 12:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 12:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 12:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 12:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 12:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 12:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 12:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 12:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 12:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 12:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 12:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 12:07:14] Production.INFO: call_cost start
[2025-01-07 12:07:14] Production.INFO: call_cost end
[2025-01-07 12:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 12:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 12:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 12:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 12:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 12:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 12:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 12:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 12:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 12:07:14] Production.INFO: ==7013== Releasing lock...
[2025-01-07 12:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 12:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:07:24] Production.INFO: count ==4552
[2025-01-07 12:07:26] Production.ERROR: pbx CDR StartTime 2025-01-07 09:07:06 - End Time 2025-01-07 12:07:06
[2025-01-07 12:07:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 12:07:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194793', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:07:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194793', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:07:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194793', 'tblTempVendorCDR_20' ) start
[2025-01-07 12:07:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194793', 'tblTempVendorCDR_20' ) end
[2025-01-07 12:07:26] Production.INFO: ProcessCDR(1,14194793,1,1,2)
[2025-01-07 12:07:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194793,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:07:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194793,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:07:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194793,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:07:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194793,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:07:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194793', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:07:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194793', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:07:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 12:07:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 12:07:31] Production.INFO: ==7021== Releasing lock...
[2025-01-07 12:07:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 12:07:31] Production.INFO: 62 MB #Memory Used#
[2025-01-07 17:08:01] Production.INFO: ==7080== Lock acquired, processing the job...
[2025-01-07 17:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 17:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 17:08:01] Production.INFO: neon service started
[2025-01-07 17:08:01] Production.INFO: neon service started
[2025-01-07 17:08:01] Production.INFO: ==7080== Releasing lock...
[2025-01-07 17:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 17:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 12:08:02] Production.INFO: ==7083== Lock acquired, processing the job...
[2025-01-07 12:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 17:08:02] Production.INFO: ==7085== Lock acquired, processing the job...
[2025-01-07 17:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 17:08:02] Production.INFO: ==7085== Releasing lock...
[2025-01-07 17:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 17:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 12:08:02] Production.INFO: ==7083== Releasing lock...
[2025-01-07 12:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 12:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:08:03] Production.INFO: ==7089== Lock acquired, processing the job...
[2025-01-07 12:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 12:08:03] Production.INFO: ==7097== Lock acquired, processing the job...
[2025-01-07 12:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 12:08:03] Production.INFO: ==7087== Lock acquired, processing the job...
[2025-01-07 12:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 12:08:03] Production.INFO: ==7091== Lock acquired, processing the job...
[2025-01-07 12:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 12:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 12:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 12:08:03] Production.INFO: ==7095== Lock acquired, processing the job...
[2025-01-07 12:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 12:08:03] Production.INFO: count ==21
[2025-01-07 12:08:03] Production.INFO: ==7093== Lock acquired, processing the job...
[2025-01-07 12:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 12:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 12:08:03] Production.INFO: count ==21
[2025-01-07 12:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194795') start
[2025-01-07 12:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 12:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 12:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 12:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 12:08:03] Production.INFO: Account Balance Start.
[2025-01-07 12:08:03] Production.INFO: CreateAllLog Start
[2025-01-07 12:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 12:08:03] Production.INFO: 117
[2025-01-07 12:08:03] Production.INFO: Date 2024-12-08
[2025-01-07 12:08:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:08:03] Production.INFO: ==7089== Releasing lock...
[2025-01-07 12:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 12:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 12:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194795') end
[2025-01-07 12:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 12:08:04] Production.INFO: 1
[2025-01-07 12:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 12:08:04] Production.INFO: ==7097== Releasing lock...
[2025-01-07 12:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 12:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 12:08:04] Production.INFO: Date 2024-12-09
[2025-01-07 12:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:08:04] Production.INFO: Date 2024-12-10
[2025-01-07 12:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:08:04] Production.INFO: Date 2024-12-11
[2025-01-07 12:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:08:04] Production.INFO: Date 2024-12-12
[2025-01-07 12:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:08:04] Production.INFO: Date 2024-12-13
[2025-01-07 12:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:08:04] Production.ERROR: done
[2025-01-07 12:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 12:08:04] Production.INFO: Date 2024-12-14
[2025-01-07 12:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:08:04] Production.INFO: Date 2024-12-15
[2025-01-07 12:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:08:04] Production.INFO: Date 2024-12-16
[2025-01-07 12:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:08:04] Production.ERROR: done
[2025-01-07 12:08:04] Production.INFO: Date 2024-12-17
[2025-01-07 12:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:08:04] Production.INFO: Date 2024-12-18
[2025-01-07 12:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:08:04] Production.INFO: Date 2024-12-19
[2025-01-07 12:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:08:04] Production.INFO: Date 2024-12-20
[2025-01-07 12:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:08:04] Production.INFO: Date 2024-12-21
[2025-01-07 12:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:08:04] Production.INFO: Date 2024-12-22
[2025-01-07 12:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:08:04] Production.INFO: Date 2024-12-23
[2025-01-07 12:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:08:04] Production.INFO: Date 2024-12-24
[2025-01-07 12:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:08:04] Production.INFO: Date 2024-12-25
[2025-01-07 12:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:08:04] Production.INFO: Date 2024-12-26
[2025-01-07 12:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:08:04] Production.INFO: Date 2024-12-27
[2025-01-07 12:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:08:04] Production.INFO: Date 2024-12-28
[2025-01-07 12:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:08:04] Production.INFO: Date 2024-12-29
[2025-01-07 12:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:08:04] Production.INFO: Date 2024-12-30
[2025-01-07 12:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:08:04] Production.INFO: Date 2024-12-31
[2025-01-07 12:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:08:04] Production.INFO: Date 2025-01-01
[2025-01-07 12:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:08:04] Production.INFO: Date 2025-01-02
[2025-01-07 12:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:08:04] Production.INFO: Date 2025-01-03
[2025-01-07 12:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:08:04] Production.INFO: Date 2025-01-04
[2025-01-07 12:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:08:04] Production.INFO: Date 2025-01-05
[2025-01-07 12:08:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:08:05] Production.INFO: Date 2025-01-06
[2025-01-07 12:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:08:05] Production.INFO: Date 2025-01-07
[2025-01-07 12:08:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:08:05] Production.INFO: Total Charge 0
[2025-01-07 12:08:05] Production.INFO: CreateAllLog End
[2025-01-07 12:08:05] Production.INFO: Account Balance End.
[2025-01-07 12:08:05] Production.ERROR: CronJobId end 12
[2025-01-07 12:08:05] Production.INFO: ==7093== Releasing lock...
[2025-01-07 12:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 12:08:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 12:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 09:08:05
[end_date_ymd] => 2025-01-07 12:08:05
[RateCDR] => 1
)
[2025-01-07 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-07 09:08:05' and `end` < '2025-01-07 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-07 12:08:11] Production.ERROR: CronJobId end10
[2025-01-07 12:08:11] Production.INFO: ==7091== Releasing lock...
[2025-01-07 12:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 12:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 12:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 12:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 12:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 12:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 12:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 12:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 12:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 12:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 12:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 12:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 12:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 12:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 12:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 12:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 12:08:14] Production.INFO: call_cost start
[2025-01-07 12:08:14] Production.INFO: call_cost end
[2025-01-07 12:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 12:08:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 12:08:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 12:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 12:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 12:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 12:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 12:08:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 12:08:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 12:08:15] Production.INFO: ==7087== Releasing lock...
[2025-01-07 12:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 12:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:08:28] Production.INFO: count ==4555
[2025-01-07 12:08:29] Production.ERROR: pbx CDR StartTime 2025-01-07 09:08:05 - End Time 2025-01-07 12:08:05
[2025-01-07 12:08:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 12:08:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194798', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:08:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194798', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:08:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194798', 'tblTempVendorCDR_20' ) start
[2025-01-07 12:08:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194798', 'tblTempVendorCDR_20' ) end
[2025-01-07 12:08:29] Production.INFO: ProcessCDR(1,14194798,1,1,2)
[2025-01-07 12:08:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194798,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:08:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194798,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:08:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194798,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:08:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194798,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:08:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194798', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:08:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194798', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:08:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 12:08:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 12:08:34] Production.INFO: ==7095== Releasing lock...
[2025-01-07 12:08:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 12:08:34] Production.INFO: 62 MB #Memory Used#
[2025-01-07 17:09:02] Production.INFO: ==7155== Lock acquired, processing the job...
[2025-01-07 17:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 17:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 17:09:02] Production.INFO: neon service started
[2025-01-07 17:09:02] Production.INFO: neon service started
[2025-01-07 17:09:02] Production.INFO: ==7155== Releasing lock...
[2025-01-07 17:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 17:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 12:09:02] Production.INFO: ==7158== Lock acquired, processing the job...
[2025-01-07 12:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 12:09:02] Production.INFO: ==7158== Releasing lock...
[2025-01-07 12:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 12:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 17:09:02] Production.INFO: ==7160== Lock acquired, processing the job...
[2025-01-07 17:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 17:09:02] Production.INFO: ==7160== Releasing lock...
[2025-01-07 17:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 17:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 12:09:03] Production.INFO: ==7166== Lock acquired, processing the job...
[2025-01-07 12:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 12:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 12:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 12:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 12:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 12:09:03] Production.INFO: ==7172== Lock acquired, processing the job...
[2025-01-07 12:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 12:09:03] Production.INFO: ==7162== Lock acquired, processing the job...
[2025-01-07 12:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 12:09:03] Production.INFO: ==7164== Lock acquired, processing the job...
[2025-01-07 12:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 12:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 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-07 12:09:03] Production.INFO: ==7168== Lock acquired, processing the job...
[2025-01-07 12:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 12:09:03] Production.INFO: count ==21
[2025-01-07 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-07 12:09:03] Production.INFO: ==7170== Lock acquired, processing the job...
[2025-01-07 12:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 12:09:03] Production.INFO: count ==21
[2025-01-07 12:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194799') start
[2025-01-07 12:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 12:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194799') end
[2025-01-07 12:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 12:09:03] Production.INFO: 1
[2025-01-07 12:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 12:09:04] Production.INFO: Account Balance Start.
[2025-01-07 12:09:04] Production.INFO: CreateAllLog Start
[2025-01-07 12:09:04] Production.INFO: 117
[2025-01-07 12:09:04] Production.INFO: Date 2024-12-08
[2025-01-07 12:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:09:04] Production.INFO: ==7172== Releasing lock...
[2025-01-07 12:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 12:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 12:09:04] Production.INFO: Date 2024-12-09
[2025-01-07 12:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:09:04] Production.INFO: Date 2024-12-10
[2025-01-07 12:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:09:04] Production.INFO: Date 2024-12-11
[2025-01-07 12:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:09:04] Production.INFO: Date 2024-12-12
[2025-01-07 12:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:09:04] Production.INFO: Date 2024-12-13
[2025-01-07 12:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:09:04] Production.INFO: Date 2024-12-14
[2025-01-07 12:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:09:04] Production.ERROR: done
[2025-01-07 12:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 12:09:04] Production.INFO: ==7164== Releasing lock...
[2025-01-07 12:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 12:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 12:09:04] Production.INFO: Date 2024-12-15
[2025-01-07 12:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:09:04] Production.INFO: Date 2024-12-16
[2025-01-07 12:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:09:04] Production.INFO: Date 2024-12-17
[2025-01-07 12:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:09:04] Production.INFO: Date 2024-12-18
[2025-01-07 12:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:09:04] Production.ERROR: done
[2025-01-07 12:09:04] Production.INFO: Date 2024-12-19
[2025-01-07 12:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:09:04] Production.INFO: Date 2024-12-20
[2025-01-07 12:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:09:04] Production.INFO: Date 2024-12-21
[2025-01-07 12:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:09:04] Production.INFO: Date 2024-12-22
[2025-01-07 12:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:09:04] Production.INFO: Date 2024-12-23
[2025-01-07 12:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:09:04] Production.INFO: Date 2024-12-24
[2025-01-07 12:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:09:04] Production.INFO: Date 2024-12-25
[2025-01-07 12:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:09:04] Production.INFO: Date 2024-12-26
[2025-01-07 12:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:09:04] Production.INFO: Date 2024-12-27
[2025-01-07 12:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:09:04] Production.INFO: Date 2024-12-28
[2025-01-07 12:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:09:04] Production.INFO: Date 2024-12-29
[2025-01-07 12:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:09:04] Production.INFO: Date 2024-12-30
[2025-01-07 12:09:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:09:05] Production.INFO: Date 2024-12-31
[2025-01-07 12:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:09:05] Production.INFO: Date 2025-01-01
[2025-01-07 12:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:09:05] Production.INFO: Date 2025-01-02
[2025-01-07 12:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:09:05] Production.INFO: Date 2025-01-03
[2025-01-07 12:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:09:05] Production.INFO: Date 2025-01-04
[2025-01-07 12:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:09:05] Production.INFO: Date 2025-01-05
[2025-01-07 12:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:09:05] Production.INFO: Date 2025-01-06
[2025-01-07 12:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:09:05] Production.INFO: Date 2025-01-07
[2025-01-07 12:09:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 09:09:05
[end_date_ymd] => 2025-01-07 12:09:05
[RateCDR] => 1
)
[2025-01-07 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-07 09:09:05' and `end` < '2025-01-07 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-07 12:09:05] Production.INFO: Total Charge 0
[2025-01-07 12:09:05] Production.INFO: CreateAllLog End
[2025-01-07 12:09:05] Production.INFO: Account Balance End.
[2025-01-07 12:09:05] Production.ERROR: CronJobId end 12
[2025-01-07 12:09:05] Production.INFO: ==7168== Releasing lock...
[2025-01-07 12:09:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 12:09:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 12:09:11] Production.ERROR: CronJobId end10
[2025-01-07 12:09:11] Production.INFO: ==7166== Releasing lock...
[2025-01-07 12:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 12:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 12:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 12:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 12:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 12:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 12:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 12:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 12:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 12:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 12:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 12:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 12:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 12:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 12:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 12:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 12:09:13] Production.INFO: call_cost start
[2025-01-07 12:09:13] Production.INFO: call_cost end
[2025-01-07 12:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 12:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 12:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 12:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 12:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 12:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 12:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 12:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 12:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 12:09:14] Production.INFO: ==7162== Releasing lock...
[2025-01-07 12:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 12:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:09:34] Production.INFO: count ==4572
[2025-01-07 12:09:35] Production.ERROR: pbx CDR StartTime 2025-01-07 09:09:05 - End Time 2025-01-07 12:09:05
[2025-01-07 12:09:35] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 12:09:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194803', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:09:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194803', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:09:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194803', 'tblTempVendorCDR_20' ) start
[2025-01-07 12:09:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194803', 'tblTempVendorCDR_20' ) end
[2025-01-07 12:09:36] Production.INFO: ProcessCDR(1,14194803,1,1,2)
[2025-01-07 12:09:36] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194803,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:09:38] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194803,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:09:38] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194803,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:09:40] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194803,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:09:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194803', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:09:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194803', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:09:40] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 12:09:40] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 12:09:40] Production.INFO: ==7170== Releasing lock...
[2025-01-07 12:09:40] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 12:09:40] Production.INFO: 62.25 MB #Memory Used#
[2025-01-07 17:10:01] Production.INFO: ==7233== Lock acquired, processing the job...
[2025-01-07 17:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 17:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 17:10:01] Production.INFO: neon service started
[2025-01-07 17:10:01] Production.INFO: neon service started
[2025-01-07 17:10:01] Production.INFO: ==7233== Releasing lock...
[2025-01-07 17:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 17:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 12:10:02] Production.INFO: ==7235== Lock acquired, processing the job...
[2025-01-07 12:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 17:10:02] Production.INFO: ==7237== Lock acquired, processing the job...
[2025-01-07 17:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 17:10:02] Production.INFO: ==7237== Releasing lock...
[2025-01-07 17:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 17:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 12:10:02] Production.INFO: ==7235== Releasing lock...
[2025-01-07 12:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 12:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:10:03] Production.INFO: ==7242== Lock acquired, processing the job...
[2025-01-07 12:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 12:10:03] Production.INFO: ==7240== Lock acquired, processing the job...
[2025-01-07 12:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 12:10:03] Production.INFO: ==7244== Lock acquired, processing the job...
[2025-01-07 12:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 12:10:03] Production.INFO: ==7246== Lock acquired, processing the job...
[2025-01-07 12:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 12:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 12:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 12:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 12:10:03] Production.ERROR: CronJob PID - 7242
[2025-01-07 12:10:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-07 12:10:03] Production.ERROR: CronJob ID - 5
[2025-01-07 12:10:03] Production.ERROR: CronJob Last Run Time 2025-01-07 12:10:00
[2025-01-07 12:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 12:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 12:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 12:10:03] Production.ERROR: CronJob PID - 7244
[2025-01-07 12:10:03] Production.ERROR: CronJob Title - Account Block
[2025-01-07 12:10:03] Production.ERROR: CronJob ID - 7
[2025-01-07 12:10:03] Production.ERROR: CronJob Last Run Time 2025-01-07 12:10:00
[2025-01-07 12:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 12:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 12:10:03] Production.INFO: ==7248== Lock acquired, processing the job...
[2025-01-07 12:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 12:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 12:10:03] Production.INFO: ==7240== Releasing lock...
[2025-01-07 12:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 12:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 12:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 12:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 12:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 12:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 12:10:04] Production.INFO: Account Balance Start.
[2025-01-07 12:10:04] Production.INFO: CreateAllLog Start
[2025-01-07 12:10:04] Production.INFO: 117
[2025-01-07 12:10:04] Production.INFO: Date 2024-12-08
[2025-01-07 12:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:10:04] Production.INFO: Date 2024-12-09
[2025-01-07 12:10:04] Production.INFO: ==7250== Lock acquired, processing the job...
[2025-01-07 12:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 12:10:04] Production.INFO: Date 2024-12-10
[2025-01-07 12:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 12:10:04] Production.INFO: Date 2024-12-11
[2025-01-07 12:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:10:04] Production.INFO: ==7253== Lock acquired, processing the job...
[2025-01-07 12:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 12:10:04] Production.INFO: Date 2024-12-12
[2025-01-07 12:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:10:04] Production.INFO: Date 2024-12-13
[2025-01-07 12:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:10:04] Production.INFO: Date 2024-12-14
[2025-01-07 12:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:10:04] Production.INFO: ==7255== Lock acquired, processing the job...
[2025-01-07 12:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 12:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 12:10:04] Production.INFO: ==7244== Releasing lock...
[2025-01-07 12:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 12:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 12:10:04] Production.INFO: Date 2024-12-15
[2025-01-07 12:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:10:04] Production.INFO: Date 2024-12-16
[2025-01-07 12:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:10:04] Production.INFO: Date 2024-12-17
[2025-01-07 12:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:10:04] Production.ERROR: done
[2025-01-07 12:10:04] Production.ERROR: done
[2025-01-07 12:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 12:10:04] Production.INFO: Date 2024-12-18
[2025-01-07 12:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 12:10:04] Production.INFO: Date 2024-12-19
[2025-01-07 12:10:04] Production.INFO: count ==21
[2025-01-07 12:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 12:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14194808', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 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-07 12:10:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:10:04] Production.INFO: count ==21
[2025-01-07 12:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194807') start
[2025-01-07 12:10:05] Production.ERROR: done
[2025-01-07 12:10:05] Production.INFO: Date 2024-12-20
[2025-01-07 12:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:10:05] Production.INFO: Date 2024-12-21
[2025-01-07 12:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:10:05] Production.INFO: Date 2024-12-22
[2025-01-07 12:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14194807') end
[2025-01-07 12:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 12:10:05] Production.INFO: 1
[2025-01-07 12:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 12:10:05] Production.INFO: Date 2024-12-23
[2025-01-07 12:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:10:05] Production.INFO: Date 2024-12-24
[2025-01-07 12:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:10:05] Production.INFO: ==7255== Releasing lock...
[2025-01-07 12:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 12:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 12:10:05] Production.INFO: Date 2024-12-25
[2025-01-07 12:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:10:05] Production.INFO: Date 2024-12-26
[2025-01-07 12:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:10:05] Production.INFO: Date 2024-12-27
[2025-01-07 12:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:10:05] Production.INFO: Date 2024-12-28
[2025-01-07 12:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:10:05] Production.INFO: Date 2024-12-29
[2025-01-07 12:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:10:05] Production.INFO: Date 2024-12-30
[2025-01-07 12:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:10:05] Production.INFO: Date 2024-12-31
[2025-01-07 12:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:10:05] Production.INFO: Date 2025-01-01
[2025-01-07 12:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:10:05] Production.INFO: Date 2025-01-02
[2025-01-07 12:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:10:05] Production.INFO: Date 2025-01-03
[2025-01-07 12:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:10:05] Production.INFO: Date 2025-01-04
[2025-01-07 12:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:10:05] Production.INFO: Date 2025-01-05
[2025-01-07 12:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:10:05] Production.INFO: Date 2025-01-06
[2025-01-07 12:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:10:05] Production.INFO: Date 2025-01-07
[2025-01-07 12:10:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:10:05] Production.INFO: Total Charge 0
[2025-01-07 12:10:05] Production.INFO: CreateAllLog End
[2025-01-07 12:10:05] Production.INFO: Account Balance End.
[2025-01-07 12:10:05] Production.ERROR: CronJobId end 12
[2025-01-07 12:10:05] Production.INFO: ==7248== Releasing lock...
[2025-01-07 12:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 12:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 12:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 09:10:06
[end_date_ymd] => 2025-01-07 12:10:06
[RateCDR] => 1
)
[2025-01-07 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-07 09:10:06' and `end` < '2025-01-07 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-07 12:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14194808', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 12:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 12:10:09] Production.INFO: ProcessCDR(1,14194808,1,1,2)
[2025-01-07 12:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14194808,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14194808,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 12:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 12:10:09] Production.INFO: ==7253== Releasing lock...
[2025-01-07 12:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 12:10:09] Production.INFO: 26 MB #Memory Used#
[2025-01-07 12:10:14] Production.ERROR: CronJobId end10
[2025-01-07 12:10:14] Production.INFO: ==7246== Releasing lock...
[2025-01-07 12:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 12:10:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 12:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 12:10:15] Production.INFO: ============== Balance Warning START===========
[2025-01-07 12:10:15] Production.INFO: ============== Balance Warning END===========
[2025-01-07 12:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 12:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 12:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 12:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 12:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 12:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 12:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 12:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 12:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 12:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 12:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 12:10:15] Production.INFO: call_cost start
[2025-01-07 12:10:15] Production.INFO: call_cost end
[2025-01-07 12:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 12:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-07 12:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-07 12:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 12:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 12:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 12:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 12:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-07 12:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 12:10:16] Production.INFO: ==7242== Releasing lock...
[2025-01-07 12:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 12:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:10:34] Production.INFO: count ==4569
[2025-01-07 12:10:35] Production.ERROR: pbx CDR StartTime 2025-01-07 09:10:06 - End Time 2025-01-07 12:10:06
[2025-01-07 12:10:35] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 12:10:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194809', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:10:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194809', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:10:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194809', 'tblTempVendorCDR_20' ) start
[2025-01-07 12:10:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194809', 'tblTempVendorCDR_20' ) end
[2025-01-07 12:10:36] Production.INFO: ProcessCDR(1,14194809,1,1,2)
[2025-01-07 12:10:36] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194809,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:10:38] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194809,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:10:38] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194809,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:10:40] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194809,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:10:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194809', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:10:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194809', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:10:40] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 12:10:40] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 12:10:40] Production.INFO: ==7250== Releasing lock...
[2025-01-07 12:10:40] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 12:10:40] Production.INFO: 62.25 MB #Memory Used#
[2025-01-07 17:11:02] Production.INFO: ==7334== Lock acquired, processing the job...
[2025-01-07 17:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 17:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 17:11:02] Production.INFO: neon service started
[2025-01-07 17:11:02] Production.INFO: neon service started
[2025-01-07 17:11:02] Production.INFO: ==7334== Releasing lock...
[2025-01-07 17:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 17:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 12:11:02] Production.INFO: ==7336== Lock acquired, processing the job...
[2025-01-07 12:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 17:11:02] Production.INFO: ==7338== Lock acquired, processing the job...
[2025-01-07 17:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 17:11:02] Production.INFO: ==7338== Releasing lock...
[2025-01-07 17:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 17:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 12:11:03] Production.INFO: ==7336== Releasing lock...
[2025-01-07 12:11:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 12:11:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:11:03] Production.INFO: ==7341== Lock acquired, processing the job...
[2025-01-07 12:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 12:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 12:11:03] Production.INFO: ==7343== Lock acquired, processing the job...
[2025-01-07 12:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 12:11:04] Production.INFO: ==7349== Lock acquired, processing the job...
[2025-01-07 12:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 12:11:04] Production.INFO: ==7345== Lock acquired, processing the job...
[2025-01-07 12:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 12:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 12:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 12:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 12:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 12:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 12:11:04] Production.INFO: ==7351== Lock acquired, processing the job...
[2025-01-07 12:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 12:11:04] Production.INFO: ==7347== Lock acquired, processing the job...
[2025-01-07 12:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 12:11:04] Production.INFO: ==7343== Releasing lock...
[2025-01-07 12:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 12:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 12:11:04] Production.INFO: Account Balance Start.
[2025-01-07 12:11:04] Production.INFO: CreateAllLog Start
[2025-01-07 12:11:04] Production.INFO: 117
[2025-01-07 12: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-07 12:11:04] Production.ERROR: done
[2025-01-07 12:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 12:11:04] Production.INFO: Date 2024-12-08
[2025-01-07 12:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:11:04] Production.INFO: count ==21
[2025-01-07 12:11:04] Production.INFO: Date 2024-12-09
[2025-01-07 12:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:11:04] Production.INFO: Date 2024-12-10
[2025-01-07 12: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-07 12:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:11:04] Production.INFO: count ==21
[2025-01-07 12:11:04] Production.INFO: Date 2024-12-11
[2025-01-07 12:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194812') start
[2025-01-07 12:11:04] Production.ERROR: done
[2025-01-07 12:11:04] Production.INFO: Date 2024-12-12
[2025-01-07 12:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:11:04] Production.INFO: Date 2024-12-13
[2025-01-07 12:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:11:04] Production.INFO: Date 2024-12-14
[2025-01-07 12:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:11:04] Production.INFO: Date 2024-12-15
[2025-01-07 12:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194812') end
[2025-01-07 12:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 12:11:04] Production.INFO: 1
[2025-01-07 12:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 12:11:04] Production.INFO: Date 2024-12-16
[2025-01-07 12:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:11:04] Production.INFO: ==7351== Releasing lock...
[2025-01-07 12:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 12:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 12:11:04] Production.INFO: Date 2024-12-17
[2025-01-07 12:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:11:04] Production.INFO: Date 2024-12-18
[2025-01-07 12:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:11:04] Production.INFO: Date 2024-12-19
[2025-01-07 12:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:11:04] Production.INFO: Date 2024-12-20
[2025-01-07 12:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:11:04] Production.INFO: Date 2024-12-21
[2025-01-07 12:11:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:11:05] Production.INFO: Date 2024-12-22
[2025-01-07 12:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:11:05] Production.INFO: Date 2024-12-23
[2025-01-07 12:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:11:05] Production.INFO: Date 2024-12-24
[2025-01-07 12:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:11:05] Production.INFO: Date 2024-12-25
[2025-01-07 12:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:11:05] Production.INFO: Date 2024-12-26
[2025-01-07 12:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:11:05] Production.INFO: Date 2024-12-27
[2025-01-07 12:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:11:05] Production.INFO: Date 2024-12-28
[2025-01-07 12:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:11:05] Production.INFO: Date 2024-12-29
[2025-01-07 12:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:11:05] Production.INFO: Date 2024-12-30
[2025-01-07 12:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:11:05] Production.INFO: Date 2024-12-31
[2025-01-07 12:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:11:05] Production.INFO: Date 2025-01-01
[2025-01-07 12:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:11:05] Production.INFO: Date 2025-01-02
[2025-01-07 12:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:11:05] Production.INFO: Date 2025-01-03
[2025-01-07 12:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:11:05] Production.INFO: Date 2025-01-04
[2025-01-07 12:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:11:05] Production.INFO: Date 2025-01-05
[2025-01-07 12:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:11:05] Production.INFO: Date 2025-01-06
[2025-01-07 12:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:11:05] Production.INFO: Date 2025-01-07
[2025-01-07 12:11:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:11:05] Production.INFO: Total Charge 0
[2025-01-07 12:11:05] Production.INFO: CreateAllLog End
[2025-01-07 12:11:05] Production.INFO: Account Balance End.
[2025-01-07 12:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 09:11:05
[end_date_ymd] => 2025-01-07 12:11:05
[RateCDR] => 1
)
[2025-01-07 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-07 09:11:05' and `end` < '2025-01-07 12:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 12:11:05] Production.ERROR: CronJobId end 12
[2025-01-07 12:11:05] Production.INFO: ==7347== Releasing lock...
[2025-01-07 12:11:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 12:11:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 12:11:12] Production.ERROR: CronJobId end10
[2025-01-07 12:11:12] Production.INFO: ==7345== Releasing lock...
[2025-01-07 12:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 12:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 12:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 12:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 12:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 12:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 12:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 12:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 12:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 12:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 12:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 12:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 12:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 12:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 12:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 12:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 12:11:13] Production.INFO: call_cost start
[2025-01-07 12:11:13] Production.INFO: call_cost end
[2025-01-07 12:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 12:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 12:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 12:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 12:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 12:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 12:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 12:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 12:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 12:11:14] Production.INFO: ==7341== Releasing lock...
[2025-01-07 12:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 12:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:11:27] Production.INFO: count ==4610
[2025-01-07 12:11:29] Production.ERROR: pbx CDR StartTime 2025-01-07 09:11:05 - End Time 2025-01-07 12:11:05
[2025-01-07 12:11:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 12:11:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194814', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:11:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194814', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:11:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194814', 'tblTempVendorCDR_20' ) start
[2025-01-07 12:11:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194814', 'tblTempVendorCDR_20' ) end
[2025-01-07 12:11:29] Production.INFO: ProcessCDR(1,14194814,1,1,2)
[2025-01-07 12:11:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194814,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:11:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194814,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:11:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194814,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:11:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194814,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:11:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194814', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:11:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194814', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:11:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 12:11:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 12:11:34] Production.INFO: ==7349== Releasing lock...
[2025-01-07 12:11:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 12:11:34] Production.INFO: 62.5 MB #Memory Used#
[2025-01-07 17:12:01] Production.INFO: ==7423== Lock acquired, processing the job...
[2025-01-07 17:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 17:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 17:12:01] Production.INFO: neon service started
[2025-01-07 17:12:01] Production.INFO: neon service started
[2025-01-07 17:12:01] Production.INFO: ==7423== Releasing lock...
[2025-01-07 17:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 17:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 12:12:01] Production.INFO: ==7425== Lock acquired, processing the job...
[2025-01-07 12:12:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 12:12:02] Production.INFO: ==7425== Releasing lock...
[2025-01-07 12:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 12:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 17:12:02] Production.INFO: ==7427== Lock acquired, processing the job...
[2025-01-07 17:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 17:12:02] Production.INFO: ==7427== Releasing lock...
[2025-01-07 17:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 17:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 12:12:03] Production.INFO: ==7431== Lock acquired, processing the job...
[2025-01-07 12:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 12:12:03] Production.INFO: ==7429== Lock acquired, processing the job...
[2025-01-07 12:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 12:12:03] Production.INFO: ==7433== Lock acquired, processing the job...
[2025-01-07 12:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 12:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 12:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 12:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 12:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 12:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 12:12:03] Production.INFO: ==7435== Lock acquired, processing the job...
[2025-01-07 12:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 12:12:03] Production.INFO: ==7431== Releasing lock...
[2025-01-07 12:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 12:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 12:12:03] Production.INFO: ==7439== Lock acquired, processing the job...
[2025-01-07 12:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 12:12:03] Production.INFO: ==7437== Lock acquired, processing the job...
[2025-01-07 12:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 12:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 12:12:03] Production.INFO: Account Balance Start.
[2025-01-07 12:12:03] Production.INFO: CreateAllLog Start
[2025-01-07 12:12:03] Production.INFO: 117
[2025-01-07 12:12:03] Production.INFO: Date 2024-12-08
[2025-01-07 12:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 12:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:12:03] Production.INFO: count ==21
[2025-01-07 12:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 12:12:03] Production.INFO: count ==21
[2025-01-07 12:12:03] Production.INFO: Date 2024-12-09
[2025-01-07 12:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194818') start
[2025-01-07 12:12:03] Production.ERROR: done
[2025-01-07 12:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 12:12:03] Production.INFO: Date 2024-12-10
[2025-01-07 12:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194818') end
[2025-01-07 12:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 12:12:03] Production.INFO: 1
[2025-01-07 12:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 12:12:03] Production.ERROR: done
[2025-01-07 12:12:03] Production.INFO: ==7439== Releasing lock...
[2025-01-07 12:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 12:12:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 12:12:03] Production.INFO: Date 2024-12-11
[2025-01-07 12:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:12:03] Production.INFO: Date 2024-12-12
[2025-01-07 12:12:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:12:04] Production.INFO: Date 2024-12-13
[2025-01-07 12:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:12:04] Production.INFO: Date 2024-12-14
[2025-01-07 12:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:12:04] Production.INFO: Date 2024-12-15
[2025-01-07 12:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:12:04] Production.INFO: Date 2024-12-16
[2025-01-07 12:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:12:04] Production.INFO: Date 2024-12-17
[2025-01-07 12:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:12:04] Production.INFO: Date 2024-12-18
[2025-01-07 12:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:12:04] Production.INFO: Date 2024-12-19
[2025-01-07 12:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:12:04] Production.INFO: Date 2024-12-20
[2025-01-07 12:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:12:04] Production.INFO: Date 2024-12-21
[2025-01-07 12:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:12:04] Production.INFO: Date 2024-12-22
[2025-01-07 12:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:12:04] Production.INFO: Date 2024-12-23
[2025-01-07 12:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:12:04] Production.INFO: Date 2024-12-24
[2025-01-07 12:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:12:04] Production.INFO: Date 2024-12-25
[2025-01-07 12:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:12:04] Production.INFO: Date 2024-12-26
[2025-01-07 12:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:12:04] Production.INFO: Date 2024-12-27
[2025-01-07 12:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:12:04] Production.INFO: Date 2024-12-28
[2025-01-07 12:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:12:04] Production.INFO: Date 2024-12-29
[2025-01-07 12:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:12:04] Production.INFO: Date 2024-12-30
[2025-01-07 12:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:12:04] Production.INFO: Date 2024-12-31
[2025-01-07 12:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:12:04] Production.INFO: Date 2025-01-01
[2025-01-07 12:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:12:04] Production.INFO: Date 2025-01-02
[2025-01-07 12:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:12:04] Production.INFO: Date 2025-01-03
[2025-01-07 12:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:12:04] Production.INFO: Date 2025-01-04
[2025-01-07 12:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:12:04] Production.INFO: Date 2025-01-05
[2025-01-07 12:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:12:04] Production.INFO: Date 2025-01-06
[2025-01-07 12:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:12:04] Production.INFO: Date 2025-01-07
[2025-01-07 12:12:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:12:04] Production.INFO: Total Charge 0
[2025-01-07 12:12:04] Production.INFO: CreateAllLog End
[2025-01-07 12:12:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 09:12:04
[end_date_ymd] => 2025-01-07 12:12:04
[RateCDR] => 1
)
[2025-01-07 12: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-07 09:12:04' and `end` < '2025-01-07 12: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-07 12:12:04] Production.INFO: Account Balance End.
[2025-01-07 12:12:04] Production.ERROR: CronJobId end 12
[2025-01-07 12:12:04] Production.INFO: ==7435== Releasing lock...
[2025-01-07 12:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 12:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 12:12:11] Production.ERROR: CronJobId end10
[2025-01-07 12:12:11] Production.INFO: ==7433== Releasing lock...
[2025-01-07 12:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 12:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 12:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 12:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 12:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 12:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 12:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 12:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 12:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 12:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 12:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 12:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 12:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 12:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 12:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 12:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 12:12:13] Production.INFO: call_cost start
[2025-01-07 12:12:13] Production.INFO: call_cost end
[2025-01-07 12:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 12:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 12:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 12:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 12:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 12:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 12:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 12:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 12:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 12:12:14] Production.INFO: ==7429== Releasing lock...
[2025-01-07 12:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 12:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:12:22] Production.INFO: count ==4641
[2025-01-07 12:12:24] Production.ERROR: pbx CDR StartTime 2025-01-07 09:12:04 - End Time 2025-01-07 12:12:04
[2025-01-07 12:12:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 12:12:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194819', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:12:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194819', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:12:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194819', 'tblTempVendorCDR_20' ) start
[2025-01-07 12:12:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194819', 'tblTempVendorCDR_20' ) end
[2025-01-07 12:12:24] Production.INFO: ProcessCDR(1,14194819,1,1,2)
[2025-01-07 12:12:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194819,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:12:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194819,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:12:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194819,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:12:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194819,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:12:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194819', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:12:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194819', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:12:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 12:12:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 12:12:28] Production.INFO: ==7437== Releasing lock...
[2025-01-07 12:12:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 12:12:28] Production.INFO: 62.75 MB #Memory Used#
[2025-01-07 17:13:01] Production.INFO: ==7512== Lock acquired, processing the job...
[2025-01-07 17:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 17:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 17:13:02] Production.INFO: neon service started
[2025-01-07 17:13:02] Production.INFO: neon service started
[2025-01-07 17:13:02] Production.INFO: ==7512== Releasing lock...
[2025-01-07 17:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 17:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 12:13:02] Production.INFO: ==7514== Lock acquired, processing the job...
[2025-01-07 12:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 12:13:02] Production.INFO: ==7514== Releasing lock...
[2025-01-07 12:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 12:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 17:13:02] Production.INFO: ==7516== Lock acquired, processing the job...
[2025-01-07 17:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 17:13:02] Production.INFO: ==7516== Releasing lock...
[2025-01-07 17:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 17:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 12:13:03] Production.INFO: ==7518== Lock acquired, processing the job...
[2025-01-07 12:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 12:13:03] Production.INFO: ==7520== Lock acquired, processing the job...
[2025-01-07 12:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 12:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 12:13:03] Production.INFO: ==7529== Lock acquired, processing the job...
[2025-01-07 12:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 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-07 12:13:03] Production.INFO: count ==21
[2025-01-07 12:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 12:13:03] Production.INFO: ==7523== Lock acquired, processing the job...
[2025-01-07 12:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 12:13:03] Production.INFO: count ==21
[2025-01-07 12:13:03] Production.INFO: ==7525== Lock acquired, processing the job...
[2025-01-07 12:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 12:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194822') start
[2025-01-07 12:13:03] Production.INFO: ==7527== Lock acquired, processing the job...
[2025-01-07 12:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 12:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 12:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 12:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 12:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 12:13:03] Production.INFO: ==7520== Releasing lock...
[2025-01-07 12:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 12:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 12:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194822') end
[2025-01-07 12:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 12:13:03] Production.INFO: 1
[2025-01-07 12:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 12:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 12:13:03] Production.INFO: ==7529== Releasing lock...
[2025-01-07 12:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 12:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 12:13:04] Production.INFO: Account Balance Start.
[2025-01-07 12:13:04] Production.INFO: CreateAllLog Start
[2025-01-07 12:13:04] Production.INFO: 117
[2025-01-07 12:13:04] Production.INFO: Date 2024-12-08
[2025-01-07 12:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:13:04] Production.INFO: Date 2024-12-09
[2025-01-07 12:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:13:04] Production.INFO: Date 2024-12-10
[2025-01-07 12:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:13:04] Production.ERROR: done
[2025-01-07 12:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 12:13:04] Production.INFO: Date 2024-12-11
[2025-01-07 12:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:13:04] Production.ERROR: done
[2025-01-07 12:13:04] Production.INFO: Date 2024-12-12
[2025-01-07 12:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:13:04] Production.INFO: Date 2024-12-13
[2025-01-07 12:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:13:04] Production.INFO: Date 2024-12-14
[2025-01-07 12:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:13:04] Production.INFO: Date 2024-12-15
[2025-01-07 12:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:13:04] Production.INFO: Date 2024-12-16
[2025-01-07 12:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:13:04] Production.INFO: Date 2024-12-17
[2025-01-07 12:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:13:04] Production.INFO: Date 2024-12-18
[2025-01-07 12:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:13:04] Production.INFO: Date 2024-12-19
[2025-01-07 12:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:13:04] Production.INFO: Date 2024-12-20
[2025-01-07 12:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:13:04] Production.INFO: Date 2024-12-21
[2025-01-07 12:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:13:04] Production.INFO: Date 2024-12-22
[2025-01-07 12:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:13:04] Production.INFO: Date 2024-12-23
[2025-01-07 12:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:13:04] Production.INFO: Date 2024-12-24
[2025-01-07 12:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:13:04] Production.INFO: Date 2024-12-25
[2025-01-07 12:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:13:04] Production.INFO: Date 2024-12-26
[2025-01-07 12:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:13:04] Production.INFO: Date 2024-12-27
[2025-01-07 12:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:13:04] Production.INFO: Date 2024-12-28
[2025-01-07 12:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:13:04] Production.INFO: Date 2024-12-29
[2025-01-07 12:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:13:04] Production.INFO: Date 2024-12-30
[2025-01-07 12:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:13:04] Production.INFO: Date 2024-12-31
[2025-01-07 12:13:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:13:05] Production.INFO: Date 2025-01-01
[2025-01-07 12:13:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:13:05] Production.INFO: Date 2025-01-02
[2025-01-07 12:13:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:13:05] Production.INFO: Date 2025-01-03
[2025-01-07 12:13:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:13:05] Production.INFO: Date 2025-01-04
[2025-01-07 12:13:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:13:05] Production.INFO: Date 2025-01-05
[2025-01-07 12:13:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:13:05] Production.INFO: Date 2025-01-06
[2025-01-07 12:13:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:13:05] Production.INFO: Date 2025-01-07
[2025-01-07 12:13:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:13:05] Production.INFO: Total Charge 0
[2025-01-07 12:13:05] Production.INFO: CreateAllLog End
[2025-01-07 12:13:05] Production.INFO: Account Balance End.
[2025-01-07 12:13:05] Production.ERROR: CronJobId end 12
[2025-01-07 12:13:05] Production.INFO: ==7525== Releasing lock...
[2025-01-07 12:13:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 12:13:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 12:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 09:13:05
[end_date_ymd] => 2025-01-07 12:13:05
[RateCDR] => 1
)
[2025-01-07 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-07 09:13:05' and `end` < '2025-01-07 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-07 12:13:12] Production.ERROR: CronJobId end10
[2025-01-07 12:13:12] Production.INFO: ==7523== Releasing lock...
[2025-01-07 12:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 12:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 12:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 12:13:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 12:13:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 12:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 12:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 12:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 12:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 12:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 12:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 12:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 12:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 12:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 12:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 12:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 12:13:14] Production.INFO: call_cost start
[2025-01-07 12:13:14] Production.INFO: call_cost end
[2025-01-07 12:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 12:13:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 12:13:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 12:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 12:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 12:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 12:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 12:13:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 12:13:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 12:13:15] Production.INFO: ==7518== Releasing lock...
[2025-01-07 12:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 12:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:13:28] Production.INFO: count ==4642
[2025-01-07 12:13:30] Production.ERROR: pbx CDR StartTime 2025-01-07 09:13:05 - End Time 2025-01-07 12:13:05
[2025-01-07 12:13:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 12:13:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194824', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:13:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194824', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:13:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194824', 'tblTempVendorCDR_20' ) start
[2025-01-07 12:13:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194824', 'tblTempVendorCDR_20' ) end
[2025-01-07 12:13:30] Production.INFO: ProcessCDR(1,14194824,1,1,2)
[2025-01-07 12:13:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194824,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:13:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194824,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:13:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194824,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:13:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194824,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:13:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194824', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:13:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194824', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:13:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 12:13:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 12:13:35] Production.INFO: ==7527== Releasing lock...
[2025-01-07 12:13:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 12:13:35] Production.INFO: 62.75 MB #Memory Used#
[2025-01-07 17:14:01] Production.INFO: ==7597== Lock acquired, processing the job...
[2025-01-07 17:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 17:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 17:14:01] Production.INFO: neon service started
[2025-01-07 17:14:01] Production.INFO: neon service started
[2025-01-07 17:14:01] Production.INFO: ==7597== Releasing lock...
[2025-01-07 17:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 17:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 12:14:01] Production.INFO: ==7599== Lock acquired, processing the job...
[2025-01-07 12:14:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 12:14:02] Production.INFO: ==7599== Releasing lock...
[2025-01-07 12:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 12:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 17:14:02] Production.INFO: ==7601== Lock acquired, processing the job...
[2025-01-07 17:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 17:14:02] Production.INFO: ==7601== Releasing lock...
[2025-01-07 17:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 17:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 12:14:03] Production.INFO: ==7603== Lock acquired, processing the job...
[2025-01-07 12:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 12:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 12:14:03] Production.INFO: ==7612== Lock acquired, processing the job...
[2025-01-07 12:14:03] Production.INFO: xeropaymentimport-command-xeropaymentimport-companyid-1-cronjobid-14 #Starts#
[2025-01-07 12:14:03] Production.INFO: ==7605== Lock acquired, processing the job...
[2025-01-07 12:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 12:14:03] Production.INFO: -- Xero Api Check --
[2025-01-07 12:14:03] Production.INFO: ==7607== Lock acquired, processing the job...
[2025-01-07 12:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 12:14:03] Production.INFO: ==7616== Lock acquired, processing the job...
[2025-01-07 12:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 12:14:03] Production.INFO: ==7610== Lock acquired, processing the job...
[2025-01-07 12:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 12:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 12:14:03] Production.INFO: ==7614== Lock acquired, processing the job...
[2025-01-07 12:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 12:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 12:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 12:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 12:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 12:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 12:14:03] Production.INFO: Account Balance Start.
[2025-01-07 12:14:03] Production.INFO: CreateAllLog Start
[2025-01-07 12:14:03] Production.INFO: 117
[2025-01-07 12:14:03] Production.INFO: count ==21
[2025-01-07 12:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 12:14:03] Production.INFO: Date 2024-12-08
[2025-01-07 12:14:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:14:03] Production.INFO: count ==21
[2025-01-07 12:14:03] Production.INFO: ==7605== Releasing lock...
[2025-01-07 12:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 12:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 12:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194827') start
[2025-01-07 12:14:03] Production.INFO: Date 2024-12-09
[2025-01-07 12:14:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:14:03] Production.INFO: Date 2024-12-10
[2025-01-07 12:14:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:14:03] Production.INFO: Date 2024-12-11
[2025-01-07 12:14:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:14:03] Production.ERROR: done
[2025-01-07 12:14:03] Production.INFO: Date 2024-12-12
[2025-01-07 12:14:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:14:03] Production.INFO: Date 2024-12-13
[2025-01-07 12:14:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 12:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194827') end
[2025-01-07 12:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 12:14:03] Production.INFO: 1
[2025-01-07 12:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 12:14:03] Production.INFO: Date 2024-12-14
[2025-01-07 12:14:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:14:03] 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.64951
[namelookup_time] => 0.292734
[connect_time] => 0.293963
[pretransfer_time] => 0.495457
[size_upload] => 82
[size_download] => 2755
[speed_download] => 4241
[speed_upload] => 126
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.649441
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.33
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 44190
)
[2025-01-07 12:14:03] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNzAwNDMsImV4cCI6MTczNjI3MDM0MywiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjcwMDQzLCJhdF9oYXNoIjoiWXlNVGdYU2VSek4ySFhZODYzM2htQSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.OM6EvdwP3I8PPcp70bAOQJuuz4kH1jtSuwmCbuDYnxNS0pr5cnuPLr_NUezUVAReFD6YaaXGfAMaVJ0G1oF58cXMbQODKR-Lnzyv_hROIy6z3ecCqLpsDUG-UJfbC-0t0hVUEaTcYddVk5cq2PdbPa6nHeHA1IGOOSddaoTd0w9FLvvlUpDQBHYB9_r5dgtTYvxcXVj3QnAWbwYUjItgotGk0VogXh-S4CJ-mNZxmqu3xGSNx_2P4zxRQEffeS-Hnpqzeyj22dmMCrT2vtRPLayqmcYrMQORb14unbXzKO3y2fgE2faBHpVUgu_xUUWCwvA3SNaGdR5GP93QBTIhLw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNzAwNDMsImV4cCI6MTczNjI3MTg0MywiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.TYAN1JQq1dj4o4QASXn6ka4bKtIX5xwHZKqEeFiWAljVInKZzSGABwMBXl6N5Is3y7cPoSH4pBQK_KfLRxt8yef4Tc7zfYzCFi5RTx3_is6EqAn6RyGonKDBdX-F-yZH1dsasMYHYFIp-h37B8ITfqb4ah6nA0cIomWjvc4P1nqKHsYnI46pRRhbZoKOTieb9GdJbaRn1cgly4TVzv5rBoBDK4zNMlCELc6DixKKTQ_jfLzL6fvSN8_ONULnp3UPaTQedO6RkmpY3tuR05F5EIkUpw_THYiHO98PW7CSff0gYEsDa_uQjTOuUnCD_dLfr2irKsjcnjHttLQBcsh5Gg
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => lwdHO58Tuf7dcI9-k1Hc9xg-fP5jVI4tRm7O4Q2bk4A
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 12:14:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNzAwNDMsImV4cCI6MTczNjI3MDM0MywiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjcwMDQzLCJhdF9oYXNoIjoiWXlNVGdYU2VSek4ySFhZODYzM2htQSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.OM6EvdwP3I8PPcp70bAOQJuuz4kH1jtSuwmCbuDYnxNS0pr5cnuPLr_NUezUVAReFD6YaaXGfAMaVJ0G1oF58cXMbQODKR-Lnzyv_hROIy6z3ecCqLpsDUG-UJfbC-0t0hVUEaTcYddVk5cq2PdbPa6nHeHA1IGOOSddaoTd0w9FLvvlUpDQBHYB9_r5dgtTYvxcXVj3QnAWbwYUjItgotGk0VogXh-S4CJ-mNZxmqu3xGSNx_2P4zxRQEffeS-Hnpqzeyj22dmMCrT2vtRPLayqmcYrMQORb14unbXzKO3y2fgE2faBHpVUgu_xUUWCwvA3SNaGdR5GP93QBTIhLw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNzAwNDMsImV4cCI6MTczNjI3MTg0MywiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.TYAN1JQq1dj4o4QASXn6ka4bKtIX5xwHZKqEeFiWAljVInKZzSGABwMBXl6N5Is3y7cPoSH4pBQK_KfLRxt8yef4Tc7zfYzCFi5RTx3_is6EqAn6RyGonKDBdX-F-yZH1dsasMYHYFIp-h37B8ITfqb4ah6nA0cIomWjvc4P1nqKHsYnI46pRRhbZoKOTieb9GdJbaRn1cgly4TVzv5rBoBDK4zNMlCELc6DixKKTQ_jfLzL6fvSN8_ONULnp3UPaTQedO6RkmpY3tuR05F5EIkUpw_THYiHO98PW7CSff0gYEsDa_uQjTOuUnCD_dLfr2irKsjcnjHttLQBcsh5Gg
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => lwdHO58Tuf7dcI9-k1Hc9xg-fP5jVI4tRm7O4Q2bk4A
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-07 12:14:04] Production.ERROR: Invoice Payment Date 2025-01-06 00:00:00
[2025-01-07 12:14:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Payments?where=Date>=DateTime(2025,01,06)
[2025-01-07 12:14:04] Production.ERROR: done
[2025-01-07 12:14:04] Production.INFO: Date 2024-12-15
[2025-01-07 12:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:14:04] Production.INFO: ==7616== Releasing lock...
[2025-01-07 12:14:04] Production.INFO: Date 2024-12-16
[2025-01-07 12:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 12:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 12:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:14:04] Production.INFO: Date 2024-12-17
[2025-01-07 12:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:14:04] Production.INFO: Date 2024-12-18
[2025-01-07 12:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:14:04] Production.INFO: Date 2024-12-19
[2025-01-07 12:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:14:04] Production.INFO: Date 2024-12-20
[2025-01-07 12:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:14:04] Production.INFO: Date 2024-12-21
[2025-01-07 12:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:14:04] Production.INFO: Date 2024-12-22
[2025-01-07 12:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:14:04] Production.INFO: Date 2024-12-23
[2025-01-07 12:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:14:04] Production.INFO: Date 2024-12-24
[2025-01-07 12:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:14:04] Production.INFO: Date 2024-12-25
[2025-01-07 12:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:14:04] Production.INFO: Date 2024-12-26
[2025-01-07 12:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:14:04] Production.INFO: Date 2024-12-27
[2025-01-07 12:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:14:04] Production.INFO: Date 2024-12-28
[2025-01-07 12:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:14:04] Production.INFO: Date 2024-12-29
[2025-01-07 12:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:14:04] Production.INFO: Date 2024-12-30
[2025-01-07 12:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:14:04] Production.INFO: Date 2024-12-31
[2025-01-07 12:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:14:04] Production.INFO: Date 2025-01-01
[2025-01-07 12:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:14:04] Production.INFO: Date 2025-01-02
[2025-01-07 12:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:14:04] Production.INFO: Date 2025-01-03
[2025-01-07 12:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:14:04] Production.INFO: Date 2025-01-04
[2025-01-07 12:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:14:04] Production.INFO: Date 2025-01-05
[2025-01-07 12:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:14:04] Production.INFO: Date 2025-01-06
[2025-01-07 12:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:14:04] Production.INFO: Date 2025-01-07
[2025-01-07 12:14:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:14:04] Production.INFO: Total Charge 0
[2025-01-07 12:14:04] Production.INFO: CreateAllLog End
[2025-01-07 12:14:05] Production.INFO: Account Balance End.
[2025-01-07 12:14:05] Production.ERROR: CronJobId end 12
[2025-01-07 12:14:05] Production.INFO: ==7610== Releasing lock...
[2025-01-07 12:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 12:14:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 12:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 09:14:05
[end_date_ymd] => 2025-01-07 12:14:05
[RateCDR] => 1
)
[2025-01-07 12:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 09:14:05' and `end` < '2025-01-07 12:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 12:14:06] Production.INFO: Batch insert start
[2025-01-07 12:14:06] Production.INFO: global counter8
[2025-01-07 12:14:06] Production.INFO: insertion start
[2025-01-07 12:14:06] Production.INFO: last batch insert 8
[2025-01-07 12:14:06] Production.INFO: insertion end
[2025-01-07 12:14:06] Production.INFO: CALL prc_importPaymentAccounting ('cb9a12e0-cd1a-11ef-8d23-3955ed6efeaa') start
[2025-01-07 12:14:06] Production.INFO: CALL prc_importPaymentAccounting ('cb9a12e0-cd1a-11ef-8d23-3955ed6efeaa') end
[2025-01-07 12:14:06] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
1 =>
array (
'Message' => ' Invalid InvoiceNumber : Expenses - 18 May 2018',
),
)
[2025-01-07 12:14:06] Production.INFO: 2
[2025-01-07 12:14:06] Production.ERROR: CronJobId end14
[2025-01-07 12:14:06] Production.INFO: ==7612== Releasing lock...
[2025-01-07 12:14:06] Production.INFO: xeropaymentimport-command-xeropaymentimport-companyid-1-cronjobid-14 #Stops#
[2025-01-07 12:14:06] Production.INFO: 26 MB #Memory Used#
[2025-01-07 12:14:12] Production.ERROR: CronJobId end10
[2025-01-07 12:14:12] Production.INFO: ==7607== Releasing lock...
[2025-01-07 12:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 12:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 12:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 12:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 12:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 12:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 12:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 12:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 12:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 12:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 12:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 12:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 12:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 12:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 12:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 12:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 12:14:13] Production.INFO: call_cost start
[2025-01-07 12:14:13] Production.INFO: call_cost end
[2025-01-07 12:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 12:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 12:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 12:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 12:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 12:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 12:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 12:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 12:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 12:14:14] Production.INFO: ==7603== Releasing lock...
[2025-01-07 12:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 12:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:14:28] Production.INFO: count ==4646
[2025-01-07 12:14:30] Production.ERROR: pbx CDR StartTime 2025-01-07 09:14:05 - End Time 2025-01-07 12:14:05
[2025-01-07 12:14:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 12:14:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194829', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:14:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194829', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:14:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194829', 'tblTempVendorCDR_20' ) start
[2025-01-07 12:14:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194829', 'tblTempVendorCDR_20' ) end
[2025-01-07 12:14:30] Production.INFO: ProcessCDR(1,14194829,1,1,2)
[2025-01-07 12:14:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194829,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:14:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194829,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:14:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194829,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:14:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194829,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:14:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194829', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:14:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194829', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:14:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 12:14:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 12:14:35] Production.INFO: ==7614== Releasing lock...
[2025-01-07 12:14:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 12:14:35] Production.INFO: 62.75 MB #Memory Used#
[2025-01-07 17:15:01] Production.INFO: ==7693== Lock acquired, processing the job...
[2025-01-07 17:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 17:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 17:15:01] Production.INFO: neon service started
[2025-01-07 17:15:01] Production.INFO: neon service started
[2025-01-07 17:15:01] Production.INFO: ==7693== Releasing lock...
[2025-01-07 17:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 17:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 17:15:02] Production.INFO: ==7698== Lock acquired, processing the job...
[2025-01-07 17:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 17:15:02] Production.INFO: ==7698== Releasing lock...
[2025-01-07 17:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 17:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 12:15:02] Production.INFO: ==7696== Lock acquired, processing the job...
[2025-01-07 12:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 12:15:02] Production.INFO: ==7696== Releasing lock...
[2025-01-07 12:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 12:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:15:03] Production.INFO: ==7700== Lock acquired, processing the job...
[2025-01-07 12:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 12:15:03] Production.INFO: ==7704== Lock acquired, processing the job...
[2025-01-07 12:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 12:15:03] Production.INFO: ==7706== Lock acquired, processing the job...
[2025-01-07 12:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 12:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 12:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 12:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 12:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 12:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 12:15:03] Production.INFO: Account Balance Start.
[2025-01-07 12:15:03] Production.INFO: CreateAllLog Start
[2025-01-07 12:15:03] Production.INFO: 117
[2025-01-07 12:15:03] Production.INFO: Date 2024-12-08
[2025-01-07 12:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:15:03] Production.INFO: Date 2024-12-09
[2025-01-07 12:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:15:03] Production.INFO: Date 2024-12-10
[2025-01-07 12:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:15:03] Production.INFO: ==7702== Lock acquired, processing the job...
[2025-01-07 12:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 12:15:03] Production.INFO: Date 2024-12-11
[2025-01-07 12:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:15:03] Production.INFO: Date 2024-12-12
[2025-01-07 12:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:15:03] Production.INFO: Date 2024-12-13
[2025-01-07 12:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:15:03] Production.INFO: ==7710== Lock acquired, processing the job...
[2025-01-07 12:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 12:15:03] Production.INFO: Date 2024-12-14
[2025-01-07 12:15:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:15:04] Production.INFO: ==7708== Lock acquired, processing the job...
[2025-01-07 12:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 12:15:04] Production.INFO: Date 2024-12-15
[2025-01-07 12:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 12:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:15:04] Production.INFO: Date 2024-12-16
[2025-01-07 12:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 12:15:04] Production.INFO: count ==21
[2025-01-07 12:15:04] Production.INFO: Date 2024-12-17
[2025-01-07 12:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 12:15:04] Production.INFO: count ==21
[2025-01-07 12:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194833') start
[2025-01-07 12:15:04] Production.INFO: Date 2024-12-18
[2025-01-07 12:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:15:04] Production.INFO: Date 2024-12-19
[2025-01-07 12:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:15:04] Production.INFO: Date 2024-12-20
[2025-01-07 12:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:15:04] Production.INFO: Date 2024-12-21
[2025-01-07 12:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194833') end
[2025-01-07 12:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 12:15:04] Production.INFO: 1
[2025-01-07 12:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 12:15:04] Production.INFO: Date 2024-12-22
[2025-01-07 12:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:15:04] Production.INFO: ==7702== Releasing lock...
[2025-01-07 12:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 12:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 12:15:04] Production.INFO: Date 2024-12-23
[2025-01-07 12:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:15:04] Production.INFO: Date 2024-12-24
[2025-01-07 12:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:15:04] Production.INFO: Date 2024-12-25
[2025-01-07 12:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:15:04] Production.INFO: ==7710== Releasing lock...
[2025-01-07 12:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 12:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 12:15:04] Production.INFO: Date 2024-12-26
[2025-01-07 12:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:15:04] Production.ERROR: done
[2025-01-07 12:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 12:15:04] Production.INFO: Date 2024-12-27
[2025-01-07 12:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:15:04] Production.INFO: Date 2024-12-28
[2025-01-07 12:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:15:04] Production.INFO: Date 2024-12-29
[2025-01-07 12:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:15:04] Production.INFO: Date 2024-12-30
[2025-01-07 12:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:15:04] Production.ERROR: done
[2025-01-07 12:15:04] Production.INFO: Date 2024-12-31
[2025-01-07 12:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:15:04] Production.INFO: Date 2025-01-01
[2025-01-07 12:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:15:04] Production.INFO: Date 2025-01-02
[2025-01-07 12:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:15:04] Production.INFO: Date 2025-01-03
[2025-01-07 12:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:15:04] Production.INFO: Date 2025-01-04
[2025-01-07 12:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:15:04] Production.INFO: Date 2025-01-05
[2025-01-07 12:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:15:04] Production.INFO: Date 2025-01-06
[2025-01-07 12:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:15:04] Production.INFO: Date 2025-01-07
[2025-01-07 12:15:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:15:04] Production.INFO: Total Charge 0
[2025-01-07 12:15:05] Production.INFO: CreateAllLog End
[2025-01-07 12:15:05] Production.INFO: Account Balance End.
[2025-01-07 12:15:05] Production.ERROR: CronJobId end 12
[2025-01-07 12:15:05] Production.INFO: ==7706== Releasing lock...
[2025-01-07 12:15:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 12:15:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 12:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 09:15:05
[end_date_ymd] => 2025-01-07 12:15:05
[RateCDR] => 1
)
[2025-01-07 12:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 09:15:05' and `end` < '2025-01-07 12:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 12:15:13] Production.ERROR: CronJobId end10
[2025-01-07 12:15:13] Production.INFO: ==7704== Releasing lock...
[2025-01-07 12:15:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 12:15:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 12:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 12:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 12:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 12:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 12:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 12:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 12:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 12:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 12:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 12:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 12:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 12:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 12:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 12:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 12:15:14] Production.INFO: call_cost start
[2025-01-07 12:15:14] Production.INFO: call_cost end
[2025-01-07 12:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 12:15:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 12:15:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 12:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 12:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 12:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 12:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 12:15:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 12:15:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 12:15:15] Production.INFO: ==7700== Releasing lock...
[2025-01-07 12:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 12:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:15:29] Production.INFO: count ==4654
[2025-01-07 12:15:31] Production.ERROR: pbx CDR StartTime 2025-01-07 09:15:05 - End Time 2025-01-07 12:15:05
[2025-01-07 12:15:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 12:15:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194834', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:15:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194834', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:15:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194834', 'tblTempVendorCDR_20' ) start
[2025-01-07 12:15:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194834', 'tblTempVendorCDR_20' ) end
[2025-01-07 12:15:31] Production.INFO: ProcessCDR(1,14194834,1,1,2)
[2025-01-07 12:15:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194834,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:15:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194834,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:15:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194834,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:15:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194834,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:15:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194834', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:15:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194834', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:15:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 12:15:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 12:15:36] Production.INFO: ==7708== Releasing lock...
[2025-01-07 12:15:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 12:15:36] Production.INFO: 62.75 MB #Memory Used#
[2025-01-07 17:16:01] Production.INFO: ==7765== Lock acquired, processing the job...
[2025-01-07 17:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 17:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 17:16:01] Production.INFO: neon service started
[2025-01-07 17:16:01] Production.INFO: neon service started
[2025-01-07 17:16:01] Production.INFO: ==7765== Releasing lock...
[2025-01-07 17:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 17:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 17:16:01] Production.INFO: ==7769== Lock acquired, processing the job...
[2025-01-07 17:16:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 17:16:01] Production.INFO: ==7769== Releasing lock...
[2025-01-07 17:16:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 17:16:01] Production.INFO: 25 MB #Memory Used#
[2025-01-07 12:16:02] Production.INFO: ==7767== Lock acquired, processing the job...
[2025-01-07 12:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 12:16:02] Production.INFO: ==7767== Releasing lock...
[2025-01-07 12:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 12:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:16:03] Production.INFO: ==7772== Lock acquired, processing the job...
[2025-01-07 12:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 12:16:03] Production.INFO: ==7774== Lock acquired, processing the job...
[2025-01-07 12:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 12:16:03] Production.INFO: ==7778== Lock acquired, processing the job...
[2025-01-07 12:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 12:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 12:16:03] Production.INFO: Account Balance Start.
[2025-01-07 12:16:03] Production.INFO: CreateAllLog Start
[2025-01-07 12:16:03] Production.INFO: 117
[2025-01-07 12:16:03] Production.INFO: Date 2024-12-08
[2025-01-07 12:16:03] Production.INFO: ==7776== Lock acquired, processing the job...
[2025-01-07 12:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 12:16:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:16:03] Production.INFO: Date 2024-12-09
[2025-01-07 12:16:03] Production.INFO: ==7782== Lock acquired, processing the job...
[2025-01-07 12:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 12:16:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 12:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 12:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 12:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 12:16:03] Production.INFO: Date 2024-12-10
[2025-01-07 12:16:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:16:03] Production.INFO: Date 2024-12-11
[2025-01-07 12:16:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:16:03] Production.INFO: ==7780== Lock acquired, processing the job...
[2025-01-07 12:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 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-07 12:16:03] Production.INFO: count ==21
[2025-01-07 12:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 12:16:03] Production.INFO: Date 2024-12-12
[2025-01-07 12:16:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 12:16:03] Production.INFO: count ==21
[2025-01-07 12:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194838') start
[2025-01-07 12:16:03] Production.INFO: Date 2024-12-13
[2025-01-07 12:16:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:16:03] Production.INFO: Date 2024-12-14
[2025-01-07 12:16:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:16:03] Production.INFO: Date 2024-12-15
[2025-01-07 12:16:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:16:03] Production.INFO: ==7774== Releasing lock...
[2025-01-07 12:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 12:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 12:16:03] Production.INFO: Date 2024-12-16
[2025-01-07 12:16:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:16:03] Production.INFO: Date 2024-12-17
[2025-01-07 12:16:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:16:03] Production.INFO: Date 2024-12-18
[2025-01-07 12:16:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194838') end
[2025-01-07 12:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 12:16:03] Production.INFO: 1
[2025-01-07 12:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 12:16:04] Production.INFO: Date 2024-12-19
[2025-01-07 12:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:16:04] Production.INFO: ==7782== Releasing lock...
[2025-01-07 12:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 12:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 12:16:04] Production.ERROR: done
[2025-01-07 12:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 12:16:04] Production.INFO: Date 2024-12-20
[2025-01-07 12:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:16:04] Production.INFO: Date 2024-12-21
[2025-01-07 12:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:16:04] Production.INFO: Date 2024-12-22
[2025-01-07 12:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:16:04] Production.ERROR: done
[2025-01-07 12:16:04] Production.INFO: Date 2024-12-23
[2025-01-07 12:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:16:04] Production.INFO: Date 2024-12-24
[2025-01-07 12:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:16:04] Production.INFO: Date 2024-12-25
[2025-01-07 12:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:16:04] Production.INFO: Date 2024-12-26
[2025-01-07 12:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:16:04] Production.INFO: Date 2024-12-27
[2025-01-07 12:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:16:04] Production.INFO: Date 2024-12-28
[2025-01-07 12:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:16:04] Production.INFO: Date 2024-12-29
[2025-01-07 12:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:16:04] Production.INFO: Date 2024-12-30
[2025-01-07 12:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:16:04] Production.INFO: Date 2024-12-31
[2025-01-07 12:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:16:04] Production.INFO: Date 2025-01-01
[2025-01-07 12:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:16:04] Production.INFO: Date 2025-01-02
[2025-01-07 12:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:16:04] Production.INFO: Date 2025-01-03
[2025-01-07 12:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:16:04] Production.INFO: Date 2025-01-04
[2025-01-07 12:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:16:04] Production.INFO: Date 2025-01-05
[2025-01-07 12:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:16:04] Production.INFO: Date 2025-01-06
[2025-01-07 12:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:16:04] Production.INFO: Date 2025-01-07
[2025-01-07 12:16:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:16:05] Production.INFO: Total Charge 0
[2025-01-07 12:16:05] Production.INFO: CreateAllLog End
[2025-01-07 12:16:05] Production.INFO: Account Balance End.
[2025-01-07 12:16:05] Production.ERROR: CronJobId end 12
[2025-01-07 12:16:05] Production.INFO: ==7778== Releasing lock...
[2025-01-07 12:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 12:16:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 12:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 09:16:05
[end_date_ymd] => 2025-01-07 12:16:05
[RateCDR] => 1
)
[2025-01-07 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-07 09:16:05' and `end` < '2025-01-07 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-07 12:16:11] Production.ERROR: CronJobId end10
[2025-01-07 12:16:11] Production.INFO: ==7776== Releasing lock...
[2025-01-07 12:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 12:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 12:16:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 12:16:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 12:16:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 12:16:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 12:16:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 12:16:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 12:16:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 12:16:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 12:16:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 12:16:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 12:16:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 12:16:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 12:16:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 12:16:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 12:16:13] Production.INFO: call_cost start
[2025-01-07 12:16:13] Production.INFO: call_cost end
[2025-01-07 12:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 12:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 12:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 12:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 12:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 12:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 12:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 12:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 12:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 12:16:14] Production.INFO: ==7772== Releasing lock...
[2025-01-07 12:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 12:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:16:22] Production.INFO: count ==4651
[2025-01-07 12:16:24] Production.ERROR: pbx CDR StartTime 2025-01-07 09:16:05 - End Time 2025-01-07 12:16:05
[2025-01-07 12:16:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 12:16:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194839', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:16:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194839', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:16:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194839', 'tblTempVendorCDR_20' ) start
[2025-01-07 12:16:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194839', 'tblTempVendorCDR_20' ) end
[2025-01-07 12:16:24] Production.INFO: ProcessCDR(1,14194839,1,1,2)
[2025-01-07 12:16:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194839,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:16:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194839,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:16:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194839,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:16:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194839,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:16:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194839', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:16:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194839', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:16:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 12:16:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 12:16:29] Production.INFO: ==7780== Releasing lock...
[2025-01-07 12:16:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 12:16:29] Production.INFO: 62.75 MB #Memory Used#
[2025-01-07 17:17:01] Production.INFO: ==7838== Lock acquired, processing the job...
[2025-01-07 17:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 17:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 17:17:01] Production.INFO: neon service started
[2025-01-07 17:17:01] Production.INFO: neon service started
[2025-01-07 17:17:01] Production.INFO: ==7838== Releasing lock...
[2025-01-07 17:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 17:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 17:17:02] Production.INFO: ==7842== Lock acquired, processing the job...
[2025-01-07 17:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 17:17:02] Production.INFO: ==7842== Releasing lock...
[2025-01-07 17:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 17:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 12:17:02] Production.INFO: ==7840== Lock acquired, processing the job...
[2025-01-07 12:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 12:17:02] Production.INFO: ==7840== Releasing lock...
[2025-01-07 12:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 12:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:17:03] Production.INFO: ==7846== Lock acquired, processing the job...
[2025-01-07 12:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 12:17:03] Production.INFO: ==7844== Lock acquired, processing the job...
[2025-01-07 12:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 12:17:03] Production.INFO: ==7852== Lock acquired, processing the job...
[2025-01-07 12:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 12:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 12:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 12:17:03] Production.INFO: ==7848== Lock acquired, processing the job...
[2025-01-07 12:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 12:17:03] Production.INFO: ==7854== Lock acquired, processing the job...
[2025-01-07 12:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 12:17:03] Production.INFO: ==7850== Lock acquired, processing the job...
[2025-01-07 12:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 12:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 12:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 12:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 12:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 12:17:03] Production.ERROR: done
[2025-01-07 12:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 12:17:03] Production.INFO: Account Balance Start.
[2025-01-07 12:17:03] Production.INFO: CreateAllLog Start
[2025-01-07 12:17:03] Production.INFO: 117
[2025-01-07 12:17:03] Production.INFO: Date 2024-12-08
[2025-01-07 12:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 12:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:17:03] Production.INFO: Date 2024-12-09
[2025-01-07 12:17:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:17:03] Production.INFO: count ==21
[2025-01-07 12:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 12:17:03] Production.INFO: count ==21
[2025-01-07 12:17:03] Production.INFO: ==7846== Releasing lock...
[2025-01-07 12:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 12:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 12:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194842') start
[2025-01-07 12:17:04] Production.ERROR: done
[2025-01-07 12:17:04] Production.INFO: Date 2024-12-10
[2025-01-07 12:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:17:04] Production.INFO: Date 2024-12-11
[2025-01-07 12:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:17:04] Production.INFO: Date 2024-12-12
[2025-01-07 12:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:17:04] Production.INFO: Date 2024-12-13
[2025-01-07 12:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194842') end
[2025-01-07 12:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 12:17:04] Production.INFO: 1
[2025-01-07 12:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 12:17:04] Production.INFO: ==7854== Releasing lock...
[2025-01-07 12:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 12:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 12:17:04] Production.INFO: Date 2024-12-14
[2025-01-07 12:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:17:04] Production.INFO: Date 2024-12-15
[2025-01-07 12:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:17:04] Production.INFO: Date 2024-12-16
[2025-01-07 12:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:17:04] Production.INFO: Date 2024-12-17
[2025-01-07 12:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:17:04] Production.INFO: Date 2024-12-18
[2025-01-07 12:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:17:04] Production.INFO: Date 2024-12-19
[2025-01-07 12:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:17:04] Production.INFO: Date 2024-12-20
[2025-01-07 12:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:17:04] Production.INFO: Date 2024-12-21
[2025-01-07 12:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:17:04] Production.INFO: Date 2024-12-22
[2025-01-07 12:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:17:04] Production.INFO: Date 2024-12-23
[2025-01-07 12:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:17:04] Production.INFO: Date 2024-12-24
[2025-01-07 12:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:17:04] Production.INFO: Date 2024-12-25
[2025-01-07 12:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:17:04] Production.INFO: Date 2024-12-26
[2025-01-07 12:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:17:04] Production.INFO: Date 2024-12-27
[2025-01-07 12:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:17:04] Production.INFO: Date 2024-12-28
[2025-01-07 12:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:17:04] Production.INFO: Date 2024-12-29
[2025-01-07 12:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:17:04] Production.INFO: Date 2024-12-30
[2025-01-07 12:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:17:04] Production.INFO: Date 2024-12-31
[2025-01-07 12:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:17:04] Production.INFO: Date 2025-01-01
[2025-01-07 12:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:17:04] Production.INFO: Date 2025-01-02
[2025-01-07 12:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:17:04] Production.INFO: Date 2025-01-03
[2025-01-07 12:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:17:04] Production.INFO: Date 2025-01-04
[2025-01-07 12:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:17:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 09:17:04
[end_date_ymd] => 2025-01-07 12:17:04
[RateCDR] => 1
)
[2025-01-07 12:17:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 09:17:04' and `end` < '2025-01-07 12:17:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 12:17:04] Production.INFO: Date 2025-01-05
[2025-01-07 12:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:17:04] Production.INFO: Date 2025-01-06
[2025-01-07 12:17:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:17:05] Production.INFO: Date 2025-01-07
[2025-01-07 12:17:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:17:05] Production.INFO: Total Charge 0
[2025-01-07 12:17:05] Production.INFO: CreateAllLog End
[2025-01-07 12:17:05] Production.INFO: Account Balance End.
[2025-01-07 12:17:05] Production.ERROR: CronJobId end 12
[2025-01-07 12:17:05] Production.INFO: ==7850== Releasing lock...
[2025-01-07 12:17:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 12:17:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 12:17:12] Production.ERROR: CronJobId end10
[2025-01-07 12:17:12] Production.INFO: ==7848== Releasing lock...
[2025-01-07 12:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 12:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 12:17:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 12:17:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 12:17:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 12:17:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 12:17:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 12:17:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 12:17:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 12:17:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 12:17:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 12:17:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 12:17:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 12:17:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 12:17:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 12:17:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 12:17:13] Production.INFO: call_cost start
[2025-01-07 12:17:13] Production.INFO: call_cost end
[2025-01-07 12:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 12:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 12:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 12:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 12:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 12:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 12:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 12:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 12:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 12:17:14] Production.INFO: ==7844== Releasing lock...
[2025-01-07 12:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 12:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:17:21] Production.INFO: count ==4652
[2025-01-07 12:17:22] Production.ERROR: pbx CDR StartTime 2025-01-07 09:17:04 - End Time 2025-01-07 12:17:04
[2025-01-07 12:17:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 12:17:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194844', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:17:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194844', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:17:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194844', 'tblTempVendorCDR_20' ) start
[2025-01-07 12:17:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194844', 'tblTempVendorCDR_20' ) end
[2025-01-07 12:17:23] Production.INFO: ProcessCDR(1,14194844,1,1,2)
[2025-01-07 12:17:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194844,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:17:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194844,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:17:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194844,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:17:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194844,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:17:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194844', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:17:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194844', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:17:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 12:17:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 12:17:27] Production.INFO: ==7852== Releasing lock...
[2025-01-07 12:17:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 12:17:27] Production.INFO: 62.75 MB #Memory Used#
[2025-01-07 17:18:02] Production.INFO: ==7922== Lock acquired, processing the job...
[2025-01-07 17:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 17:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 17:18:02] Production.INFO: neon service started
[2025-01-07 17:18:02] Production.INFO: neon service started
[2025-01-07 17:18:02] Production.INFO: ==7922== Releasing lock...
[2025-01-07 17:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 17:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 17:18:02] Production.INFO: ==7927== Lock acquired, processing the job...
[2025-01-07 17:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 17:18:02] Production.INFO: ==7927== Releasing lock...
[2025-01-07 17:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 17:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 12:18:02] Production.INFO: ==7925== Lock acquired, processing the job...
[2025-01-07 12:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 12:18:03] Production.INFO: ==7925== Releasing lock...
[2025-01-07 12:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 12:18:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:18:03] Production.INFO: ==7933== Lock acquired, processing the job...
[2025-01-07 12:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 12:18:03] Production.INFO: ==7929== Lock acquired, processing the job...
[2025-01-07 12:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 12:18:03] Production.INFO: ==7937== Lock acquired, processing the job...
[2025-01-07 12:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 12:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 12:18:04] Production.INFO: ==7931== Lock acquired, processing the job...
[2025-01-07 12:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 12:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 12:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 12:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 12:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 12:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 12:18:04] Production.INFO: ==7935== Lock acquired, processing the job...
[2025-01-07 12:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 12:18:04] Production.INFO: ==7939== Lock acquired, processing the job...
[2025-01-07 12:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 12:18:04] Production.INFO: Account Balance Start.
[2025-01-07 12:18:04] Production.INFO: CreateAllLog Start
[2025-01-07 12:18:04] Production.INFO: 117
[2025-01-07 12:18:04] Production.INFO: Date 2024-12-08
[2025-01-07 12:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:18:04] Production.INFO: Date 2024-12-09
[2025-01-07 12:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 12:18:04] Production.INFO: Date 2024-12-10
[2025-01-07 12:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:18:04] Production.INFO: count ==21
[2025-01-07 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-07 12:18:04] Production.INFO: count ==21
[2025-01-07 12:18:04] Production.INFO: Date 2024-12-11
[2025-01-07 12:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:18:04] Production.ERROR: done
[2025-01-07 12:18:04] Production.INFO: Date 2024-12-12
[2025-01-07 12:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 12:18:04] Production.INFO: ==7931== Releasing lock...
[2025-01-07 12:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 12:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194848') start
[2025-01-07 12:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 12:18:04] Production.INFO: Date 2024-12-13
[2025-01-07 12:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:18:04] Production.INFO: Date 2024-12-14
[2025-01-07 12:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:18:04] Production.INFO: Date 2024-12-15
[2025-01-07 12:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:18:04] Production.ERROR: done
[2025-01-07 12:18:04] Production.INFO: Date 2024-12-16
[2025-01-07 12:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194848') end
[2025-01-07 12:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 12:18:04] Production.INFO: 1
[2025-01-07 12:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 12:18:04] Production.INFO: Date 2024-12-17
[2025-01-07 12:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:18:04] Production.INFO: ==7939== Releasing lock...
[2025-01-07 12:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 12:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 12:18:04] Production.INFO: Date 2024-12-18
[2025-01-07 12:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:18:04] Production.INFO: Date 2024-12-19
[2025-01-07 12:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:18:04] Production.INFO: Date 2024-12-20
[2025-01-07 12:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:18:04] Production.INFO: Date 2024-12-21
[2025-01-07 12:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:18:04] Production.INFO: Date 2024-12-22
[2025-01-07 12:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:18:04] Production.INFO: Date 2024-12-23
[2025-01-07 12:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:18:04] Production.INFO: Date 2024-12-24
[2025-01-07 12:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:18:04] Production.INFO: Date 2024-12-25
[2025-01-07 12:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:18:04] Production.INFO: Date 2024-12-26
[2025-01-07 12:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:18:04] Production.INFO: Date 2024-12-27
[2025-01-07 12:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:18:04] Production.INFO: Date 2024-12-28
[2025-01-07 12:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:18:04] Production.INFO: Date 2024-12-29
[2025-01-07 12:18:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:18:05] Production.INFO: Date 2024-12-30
[2025-01-07 12:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:18:05] Production.INFO: Date 2024-12-31
[2025-01-07 12:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:18:05] Production.INFO: Date 2025-01-01
[2025-01-07 12:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:18:05] Production.INFO: Date 2025-01-02
[2025-01-07 12:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:18:05] Production.INFO: Date 2025-01-03
[2025-01-07 12:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:18:05] Production.INFO: Date 2025-01-04
[2025-01-07 12:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:18:05] Production.INFO: Date 2025-01-05
[2025-01-07 12:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:18:05] Production.INFO: Date 2025-01-06
[2025-01-07 12:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:18:05] Production.INFO: Date 2025-01-07
[2025-01-07 12:18:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:18:05] Production.INFO: Total Charge 0
[2025-01-07 12:18:05] Production.INFO: CreateAllLog End
[2025-01-07 12:18:05] Production.INFO: Account Balance End.
[2025-01-07 12:18:05] Production.ERROR: CronJobId end 12
[2025-01-07 12:18:05] Production.INFO: ==7935== Releasing lock...
[2025-01-07 12:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 12:18:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 12:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 09:18:05
[end_date_ymd] => 2025-01-07 12:18:05
[RateCDR] => 1
)
[2025-01-07 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-07 09:18:05' and `end` < '2025-01-07 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-07 12:18:12] Production.ERROR: CronJobId end10
[2025-01-07 12:18:12] Production.INFO: ==7933== Releasing lock...
[2025-01-07 12:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 12:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 12:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 12:18:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 12:18:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 12:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 12:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 12:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 12:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 12:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 12:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 12:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 12:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 12:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 12:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 12:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 12:18:14] Production.INFO: call_cost start
[2025-01-07 12:18:14] Production.INFO: call_cost end
[2025-01-07 12:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 12:18:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 12:18:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 12:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 12:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 12:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 12:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 12:18:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 12:18:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 12:18:15] Production.INFO: ==7929== Releasing lock...
[2025-01-07 12:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 12:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:18:19] Production.INFO: count ==4643
[2025-01-07 12:18:21] Production.ERROR: pbx CDR StartTime 2025-01-07 09:18:05 - End Time 2025-01-07 12:18:05
[2025-01-07 12:18:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 12:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194849', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194849', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194849', 'tblTempVendorCDR_20' ) start
[2025-01-07 12:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194849', 'tblTempVendorCDR_20' ) end
[2025-01-07 12:18:21] Production.INFO: ProcessCDR(1,14194849,1,1,2)
[2025-01-07 12:18:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194849,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:18:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194849,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:18:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194849,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:18:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194849,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:18:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194849', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:18:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194849', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:18:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 12:18:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 12:18:25] Production.INFO: ==7937== Releasing lock...
[2025-01-07 12:18:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 12:18:25] Production.INFO: 62.75 MB #Memory Used#
[2025-01-07 17:19:01] Production.INFO: ==7996== Lock acquired, processing the job...
[2025-01-07 17:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 17:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 17:19:01] Production.INFO: neon service started
[2025-01-07 17:19:01] Production.INFO: neon service started
[2025-01-07 17:19:01] Production.INFO: ==7996== Releasing lock...
[2025-01-07 17:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 17:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 17:19:02] Production.INFO: ==8000== Lock acquired, processing the job...
[2025-01-07 17:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 17:19:02] Production.INFO: ==8000== Releasing lock...
[2025-01-07 17:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 17:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 12:19:02] Production.INFO: ==7998== Lock acquired, processing the job...
[2025-01-07 12:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 12:19:02] Production.INFO: ==7998== Releasing lock...
[2025-01-07 12:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 12:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:19:02] Production.INFO: ==8003== Lock acquired, processing the job...
[2025-01-07 12:19:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 12:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 12:19:03] Production.INFO: ==8009== Lock acquired, processing the job...
[2025-01-07 12:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 12:19:03] Production.INFO: Account Balance Start.
[2025-01-07 12:19:03] Production.INFO: CreateAllLog Start
[2025-01-07 12:19:03] Production.INFO: 117
[2025-01-07 12:19:03] Production.INFO: Date 2024-12-08
[2025-01-07 12:19:03] Production.INFO: ==8011== Lock acquired, processing the job...
[2025-01-07 12:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 12:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:19:03] Production.INFO: Date 2024-12-09
[2025-01-07 12:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 12:19:03] Production.INFO: Date 2024-12-10
[2025-01-07 12:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:19:03] Production.INFO: Date 2024-12-11
[2025-01-07 12:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:19:03] Production.INFO: ==8005== Lock acquired, processing the job...
[2025-01-07 12:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 12:19:03] Production.INFO: ==8007== Lock acquired, processing the job...
[2025-01-07 12:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 12:19:03] Production.INFO: Date 2024-12-12
[2025-01-07 12:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:19:03] Production.INFO: Date 2024-12-13
[2025-01-07 12:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:19:03] Production.INFO: ==8013== Lock acquired, processing the job...
[2025-01-07 12:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 12:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 12:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 12:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 12:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 12:19:03] Production.INFO: Date 2024-12-14
[2025-01-07 12:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:19:03] Production.ERROR: done
[2025-01-07 12:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 12:19:03] Production.INFO: Date 2024-12-15
[2025-01-07 12:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:19:03] Production.INFO: Date 2024-12-16
[2025-01-07 12:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 12:19:03] Production.INFO: count ==21
[2025-01-07 12:19:03] Production.INFO: Date 2024-12-17
[2025-01-07 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-07 12:19:03] Production.INFO: count ==21
[2025-01-07 12:19:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194853') start
[2025-01-07 12:19:04] Production.ERROR: done
[2025-01-07 12:19:04] Production.INFO: Date 2024-12-18
[2025-01-07 12:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194853') end
[2025-01-07 12:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 12:19:04] Production.INFO: 1
[2025-01-07 12:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 12:19:04] Production.INFO: ==8005== Releasing lock...
[2025-01-07 12:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 12:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 12:19:04] Production.INFO: Date 2024-12-19
[2025-01-07 12:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:19:04] Production.INFO: Date 2024-12-20
[2025-01-07 12:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:19:04] Production.INFO: ==8013== Releasing lock...
[2025-01-07 12:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 12:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 12:19:04] Production.INFO: Date 2024-12-21
[2025-01-07 12:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:19:04] Production.INFO: Date 2024-12-22
[2025-01-07 12:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:19:04] Production.INFO: Date 2024-12-23
[2025-01-07 12:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:19:04] Production.INFO: Date 2024-12-24
[2025-01-07 12:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:19:04] Production.INFO: Date 2024-12-25
[2025-01-07 12:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:19:04] Production.INFO: Date 2024-12-26
[2025-01-07 12:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:19:04] Production.INFO: Date 2024-12-27
[2025-01-07 12:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:19:04] Production.INFO: Date 2024-12-28
[2025-01-07 12:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:19:04] Production.INFO: Date 2024-12-29
[2025-01-07 12:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:19:04] Production.INFO: Date 2024-12-30
[2025-01-07 12:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:19:04] Production.INFO: Date 2024-12-31
[2025-01-07 12:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:19:04] Production.INFO: Date 2025-01-01
[2025-01-07 12:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:19:04] Production.INFO: Date 2025-01-02
[2025-01-07 12:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:19:04] Production.INFO: Date 2025-01-03
[2025-01-07 12:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:19:04] Production.INFO: Date 2025-01-04
[2025-01-07 12:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:19:04] Production.INFO: Date 2025-01-05
[2025-01-07 12:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:19:04] Production.INFO: Date 2025-01-06
[2025-01-07 12:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:19:04] Production.INFO: Date 2025-01-07
[2025-01-07 12:19:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:19:04] Production.INFO: Total Charge 0
[2025-01-07 12:19:04] Production.INFO: CreateAllLog End
[2025-01-07 12:19:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 09:19:04
[end_date_ymd] => 2025-01-07 12:19:04
[RateCDR] => 1
)
[2025-01-07 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-07 09:19:04' and `end` < '2025-01-07 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-07 12:19:04] Production.INFO: Account Balance End.
[2025-01-07 12:19:04] Production.ERROR: CronJobId end 12
[2025-01-07 12:19:04] Production.INFO: ==8009== Releasing lock...
[2025-01-07 12:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 12:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 12:19:11] Production.ERROR: CronJobId end10
[2025-01-07 12:19:11] Production.INFO: ==8007== Releasing lock...
[2025-01-07 12:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 12:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 12:19:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 12:19:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 12:19:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 12:19:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 12:19:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 12:19:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 12:19:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 12:19:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 12:19:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 12:19:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 12:19:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 12:19:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 12:19:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 12:19:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 12:19:13] Production.INFO: call_cost start
[2025-01-07 12:19:13] Production.INFO: call_cost end
[2025-01-07 12:19:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 12:19:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 12:19:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 12:19:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 12:19:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 12:19:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 12:19:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 12:19:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 12:19:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 12:19:13] Production.INFO: ==8003== Releasing lock...
[2025-01-07 12:19:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 12:19:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:19:35] Production.INFO: count ==4648
[2025-01-07 12:19:37] Production.ERROR: pbx CDR StartTime 2025-01-07 09:19:04 - End Time 2025-01-07 12:19:04
[2025-01-07 12:19:37] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 12:19:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194854', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:19:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194854', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:19:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194854', 'tblTempVendorCDR_20' ) start
[2025-01-07 12:19:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194854', 'tblTempVendorCDR_20' ) end
[2025-01-07 12:19:37] Production.INFO: ProcessCDR(1,14194854,1,1,2)
[2025-01-07 12:19:37] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194854,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:19:39] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194854,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:19:39] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194854,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:19:41] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194854,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:19:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194854', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:19:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194854', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:19:41] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 12:19:41] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 12:19:41] Production.INFO: ==8011== Releasing lock...
[2025-01-07 12:19:41] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 12:19:41] Production.INFO: 62.75 MB #Memory Used#
[2025-01-07 17:20:02] Production.INFO: ==8071== Lock acquired, processing the job...
[2025-01-07 17:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 17:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 17:20:02] Production.INFO: neon service started
[2025-01-07 17:20:02] Production.INFO: neon service started
[2025-01-07 17:20:02] Production.INFO: ==8071== Releasing lock...
[2025-01-07 17:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 17:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 17:20:02] Production.INFO: ==8075== Lock acquired, processing the job...
[2025-01-07 17:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 17:20:02] Production.INFO: ==8075== Releasing lock...
[2025-01-07 17:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 17:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 12:20:02] Production.INFO: ==8073== Lock acquired, processing the job...
[2025-01-07 12:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 12:20:03] Production.INFO: ==8073== Releasing lock...
[2025-01-07 12:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 12:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:20:03] Production.INFO: ==8082== Lock acquired, processing the job...
[2025-01-07 12:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 12:20:03] Production.INFO: ==8078== Lock acquired, processing the job...
[2025-01-07 12:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 12:20:04] Production.INFO: ==8080== Lock acquired, processing the job...
[2025-01-07 12:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 12:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 12:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 12:20:04] Production.ERROR: CronJob PID - 8082
[2025-01-07 12:20:04] Production.ERROR: CronJob Title - Account Block
[2025-01-07 12:20:04] Production.ERROR: CronJob ID - 7
[2025-01-07 12:20:04] Production.ERROR: CronJob Last Run Time 2025-01-07 12:20:00
[2025-01-07 12:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 12:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 12:20:04] Production.INFO: ==8088== Lock acquired, processing the job...
[2025-01-07 12:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 12:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 12:20:04] Production.INFO: ==8078== Releasing lock...
[2025-01-07 12:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 12:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 12:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 12:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 12:20:04] Production.INFO: ==8090== Lock acquired, processing the job...
[2025-01-07 12:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 12:20:04] Production.INFO: ==8084== Lock acquired, processing the job...
[2025-01-07 12:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 12:20:04] Production.INFO: ==8086== Lock acquired, processing the job...
[2025-01-07 12:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 12:20:04] Production.INFO: ==8092== Lock acquired, processing the job...
[2025-01-07 12:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 12:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 12:20:04] Production.INFO: ==8082== Releasing lock...
[2025-01-07 12:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 12:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 12:20:04] Production.INFO: Account Balance Start.
[2025-01-07 12:20:04] Production.INFO: CreateAllLog Start
[2025-01-07 12:20:04] Production.INFO: 117
[2025-01-07 12:20:04] Production.INFO: Date 2024-12-08
[2025-01-07 12:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 12:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 12:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 12:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 12:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:20:04] Production.INFO: Date 2024-12-09
[2025-01-07 12:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:20:04] Production.ERROR: done
[2025-01-07 12:20:04] Production.INFO: Date 2024-12-10
[2025-01-07 12:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 12:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 12:20:04] Production.INFO: Date 2024-12-11
[2025-01-07 12:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:20:04] Production.INFO: count ==21
[2025-01-07 12:20:04] Production.INFO: Date 2024-12-12
[2025-01-07 12:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 12:20:04] Production.INFO: count ==21
[2025-01-07 12:20:04] Production.ERROR: done
[2025-01-07 12:20:04] Production.ERROR: done
[2025-01-07 12:20:04] Production.INFO: Date 2024-12-13
[2025-01-07 12:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194858') start
[2025-01-07 12:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:20:04] Production.INFO: Date 2024-12-14
[2025-01-07 12:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:20:04] Production.INFO: Date 2024-12-15
[2025-01-07 12:20:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 12:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14194859', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 12:20:05] Production.INFO: Date 2024-12-16
[2025-01-07 12:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14194858') end
[2025-01-07 12:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 12:20:05] Production.INFO: 1
[2025-01-07 12:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 12:20:05] Production.INFO: Date 2024-12-17
[2025-01-07 12:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:20:05] Production.INFO: Date 2024-12-18
[2025-01-07 12:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:20:05] Production.INFO: ==8092== Releasing lock...
[2025-01-07 12:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 12:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 12:20:05] Production.INFO: Date 2024-12-19
[2025-01-07 12:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:20:05] Production.INFO: Date 2024-12-20
[2025-01-07 12:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:20:05] Production.INFO: Date 2024-12-21
[2025-01-07 12:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:20:05] Production.INFO: Date 2024-12-22
[2025-01-07 12:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:20:05] Production.INFO: Date 2024-12-23
[2025-01-07 12:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:20:05] Production.INFO: Date 2024-12-24
[2025-01-07 12:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:20:05] Production.INFO: Date 2024-12-25
[2025-01-07 12:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:20:05] Production.INFO: Date 2024-12-26
[2025-01-07 12:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:20:05] Production.INFO: Date 2024-12-27
[2025-01-07 12:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:20:05] Production.INFO: Date 2024-12-28
[2025-01-07 12:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:20:05] Production.INFO: Date 2024-12-29
[2025-01-07 12:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:20:05] Production.INFO: Date 2024-12-30
[2025-01-07 12:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:20:05] Production.INFO: Date 2024-12-31
[2025-01-07 12:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:20:05] Production.INFO: Date 2025-01-01
[2025-01-07 12:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:20:05] Production.INFO: Date 2025-01-02
[2025-01-07 12:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:20:05] Production.INFO: Date 2025-01-03
[2025-01-07 12:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:20:05] Production.INFO: Date 2025-01-04
[2025-01-07 12:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:20:05] Production.INFO: Date 2025-01-05
[2025-01-07 12:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:20:05] Production.INFO: Date 2025-01-06
[2025-01-07 12:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:20:05] Production.INFO: Date 2025-01-07
[2025-01-07 12:20:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:20:05] Production.INFO: Total Charge 0
[2025-01-07 12:20:05] Production.INFO: CreateAllLog End
[2025-01-07 12:20:06] Production.INFO: Account Balance End.
[2025-01-07 12:20:06] Production.ERROR: CronJobId end 12
[2025-01-07 12:20:06] Production.INFO: ==8086== Releasing lock...
[2025-01-07 12:20:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 12:20:06] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 12:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 09:20:06
[end_date_ymd] => 2025-01-07 12:20:06
[RateCDR] => 1
)
[2025-01-07 12:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 09:20:06' and `end` < '2025-01-07 12:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 12:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14194859', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 12:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 12:20:09] Production.INFO: ProcessCDR(1,14194859,1,1,2)
[2025-01-07 12:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14194859,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14194859,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 12:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 12:20:09] Production.INFO: ==8090== Releasing lock...
[2025-01-07 12:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 12:20:09] Production.INFO: 26 MB #Memory Used#
[2025-01-07 12:20:14] Production.ERROR: CronJobId end10
[2025-01-07 12:20:14] Production.INFO: ==8084== Releasing lock...
[2025-01-07 12:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 12:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 12:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 12:20:16] Production.INFO: ============== Balance Warning START===========
[2025-01-07 12:20:16] Production.INFO: ============== Balance Warning END===========
[2025-01-07 12:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 12:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 12:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 12:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 12:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 12:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 12:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 12:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 12:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 12:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 12:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 12:20:16] Production.INFO: call_cost start
[2025-01-07 12:20:16] Production.INFO: call_cost end
[2025-01-07 12:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 12:20:17] Production.INFO: ============== Report Schedule START===========
[2025-01-07 12:20:17] Production.INFO: ============== Report Schedule END===========
[2025-01-07 12:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 12:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 12:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 12:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 12:20:17] Production.INFO: ============== Deal alert START===========
[2025-01-07 12:20:17] Production.INFO: ============== Deal alert END===========
[2025-01-07 12:20:17] Production.INFO: ==8080== Releasing lock...
[2025-01-07 12:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 12:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:20:27] Production.INFO: count ==4638
[2025-01-07 12:20:28] Production.ERROR: pbx CDR StartTime 2025-01-07 09:20:06 - End Time 2025-01-07 12:20:06
[2025-01-07 12:20:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 12:20:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194860', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:20:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194860', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:20:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194860', 'tblTempVendorCDR_20' ) start
[2025-01-07 12:20:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194860', 'tblTempVendorCDR_20' ) end
[2025-01-07 12:20:29] Production.INFO: ProcessCDR(1,14194860,1,1,2)
[2025-01-07 12:20:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194860,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:20:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194860,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:20:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194860,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:20:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194860,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:20:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194860', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:20:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194860', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:20:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 12:20:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 12:20:33] Production.INFO: ==8088== Releasing lock...
[2025-01-07 12:20:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 12:20:33] Production.INFO: 62.75 MB #Memory Used#
[2025-01-07 17:21:01] Production.INFO: ==8189== Lock acquired, processing the job...
[2025-01-07 17:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 17:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 17:21:01] Production.INFO: neon service started
[2025-01-07 17:21:01] Production.INFO: neon service started
[2025-01-07 17:21:01] Production.INFO: ==8189== Releasing lock...
[2025-01-07 17:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 17:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 12:21:01] Production.INFO: ==8191== Lock acquired, processing the job...
[2025-01-07 12:21:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 12:21:02] Production.INFO: ==8191== Releasing lock...
[2025-01-07 12:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 12:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 17:21:02] Production.INFO: ==8193== Lock acquired, processing the job...
[2025-01-07 17:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 17:21:02] Production.INFO: ==8193== Releasing lock...
[2025-01-07 17:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 17:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 12:21:02] Production.INFO: ==8201== Lock acquired, processing the job...
[2025-01-07 12:21:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 12:21:02] Production.INFO: ==8203== Lock acquired, processing the job...
[2025-01-07 12:21:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 12:21:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 12:21:02] Production.INFO: Account Balance Start.
[2025-01-07 12:21:02] Production.INFO: CreateAllLog Start
[2025-01-07 12:21:02] Production.INFO: 117
[2025-01-07 12:21:02] Production.INFO: ==8195== Lock acquired, processing the job...
[2025-01-07 12:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 12:21:03] Production.INFO: ==8197== Lock acquired, processing the job...
[2025-01-07 12:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 12:21:03] Production.INFO: Date 2024-12-08
[2025-01-07 12:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:21:03] Production.INFO: ==8199== Lock acquired, processing the job...
[2025-01-07 12:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 12:21:03] Production.INFO: Date 2024-12-09
[2025-01-07 12:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:21:03] Production.INFO: ==8205== Lock acquired, processing the job...
[2025-01-07 12:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 12:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 12:21:03] Production.INFO: Date 2024-12-10
[2025-01-07 12:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 12:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 12:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 12:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 12:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 12:21:03] Production.INFO: Date 2024-12-11
[2025-01-07 12:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:21:03] Production.INFO: count ==21
[2025-01-07 12:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 12:21:03] Production.INFO: count ==21
[2025-01-07 12:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194862') start
[2025-01-07 12:21:03] Production.INFO: Date 2024-12-12
[2025-01-07 12:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:21:03] Production.ERROR: done
[2025-01-07 12:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 12:21:03] Production.INFO: Date 2024-12-13
[2025-01-07 12:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:21:03] Production.INFO: ==8197== Releasing lock...
[2025-01-07 12:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 12:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 12:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194862') end
[2025-01-07 12:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 12:21:03] Production.INFO: 1
[2025-01-07 12:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 12:21:03] Production.INFO: Date 2024-12-14
[2025-01-07 12:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:21:03] Production.INFO: Date 2024-12-15
[2025-01-07 12:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:21:03] Production.INFO: Date 2024-12-16
[2025-01-07 12:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:21:03] Production.INFO: ==8205== Releasing lock...
[2025-01-07 12:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 12:21:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 12:21:03] Production.INFO: Date 2024-12-17
[2025-01-07 12:21:03] Production.ERROR: done
[2025-01-07 12:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:21:03] Production.INFO: Date 2024-12-18
[2025-01-07 12:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:21:03] Production.INFO: Date 2024-12-19
[2025-01-07 12:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:21:03] Production.INFO: Date 2024-12-20
[2025-01-07 12:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:21:03] Production.INFO: Date 2024-12-21
[2025-01-07 12:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:21:03] Production.INFO: Date 2024-12-22
[2025-01-07 12:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:21:03] Production.INFO: Date 2024-12-23
[2025-01-07 12:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:21:03] Production.INFO: Date 2024-12-24
[2025-01-07 12:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:21:03] Production.INFO: Date 2024-12-25
[2025-01-07 12:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:21:03] Production.INFO: Date 2024-12-26
[2025-01-07 12:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:21:03] Production.INFO: Date 2024-12-27
[2025-01-07 12:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:21:03] Production.INFO: Date 2024-12-28
[2025-01-07 12:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:21:03] Production.INFO: Date 2024-12-29
[2025-01-07 12:21:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:21:04] Production.INFO: Date 2024-12-30
[2025-01-07 12:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:21:04] Production.INFO: Date 2024-12-31
[2025-01-07 12:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:21:04] Production.INFO: Date 2025-01-01
[2025-01-07 12:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:21:04] Production.INFO: Date 2025-01-02
[2025-01-07 12:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:21:04] Production.INFO: Date 2025-01-03
[2025-01-07 12:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:21:04] Production.INFO: Date 2025-01-04
[2025-01-07 12:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:21:04] Production.INFO: Date 2025-01-05
[2025-01-07 12:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:21:04] Production.INFO: Date 2025-01-06
[2025-01-07 12:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:21:04] Production.INFO: Date 2025-01-07
[2025-01-07 12:21:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:21:04] Production.INFO: Total Charge 0
[2025-01-07 12:21:04] Production.INFO: CreateAllLog End
[2025-01-07 12:21:04] Production.INFO: Account Balance End.
[2025-01-07 12:21:04] Production.ERROR: CronJobId end 12
[2025-01-07 12:21:04] Production.INFO: ==8201== Releasing lock...
[2025-01-07 12:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 12:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 12:21:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 09:21:04
[end_date_ymd] => 2025-01-07 12:21:04
[RateCDR] => 1
)
[2025-01-07 12: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-07 09:21:04' and `end` < '2025-01-07 12: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-07 12:21:09] Production.ERROR: CronJobId end10
[2025-01-07 12:21:09] Production.INFO: ==8199== Releasing lock...
[2025-01-07 12:21:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 12:21:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 12:21:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 12:21:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 12:21:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 12:21:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 12:21:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 12:21:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 12:21:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 12:21:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 12:21:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 12:21:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 12:21:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 12:21:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 12:21:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 12:21:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 12:21:12] Production.INFO: call_cost start
[2025-01-07 12:21:12] Production.INFO: call_cost end
[2025-01-07 12:21:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 12:21:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 12:21:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 12:21:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 12:21:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 12:21:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 12:21:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 12:21:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 12:21:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 12:21:13] Production.INFO: ==8195== Releasing lock...
[2025-01-07 12:21:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 12:21:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:21:25] Production.INFO: count ==4723
[2025-01-07 12:21:27] Production.ERROR: pbx CDR StartTime 2025-01-07 09:21:04 - End Time 2025-01-07 12:21:04
[2025-01-07 12:21:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 12:21:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194865', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:21:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194865', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:21:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194865', 'tblTempVendorCDR_20' ) start
[2025-01-07 12:21:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194865', 'tblTempVendorCDR_20' ) end
[2025-01-07 12:21:27] Production.INFO: ProcessCDR(1,14194865,1,1,2)
[2025-01-07 12:21:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194865,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:21:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194865,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:21:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194865,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:21:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194865,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:21:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194865', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:21:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194865', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:21:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 12:21:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 12:21:31] Production.INFO: ==8203== Releasing lock...
[2025-01-07 12:21:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 12:21:31] Production.INFO: 63.25 MB #Memory Used#
[2025-01-07 17:22:01] Production.INFO: ==8266== Lock acquired, processing the job...
[2025-01-07 17:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 17:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 17:22:01] Production.INFO: neon service started
[2025-01-07 17:22:01] Production.INFO: neon service started
[2025-01-07 17:22:01] Production.INFO: ==8266== Releasing lock...
[2025-01-07 17:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 17:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 17:22:02] Production.INFO: ==8270== Lock acquired, processing the job...
[2025-01-07 17:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 17:22:02] Production.INFO: ==8270== Releasing lock...
[2025-01-07 17:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 17:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 12:22:02] Production.INFO: ==8268== Lock acquired, processing the job...
[2025-01-07 12:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 12:22:02] Production.INFO: ==8268== Releasing lock...
[2025-01-07 12:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 12:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:22:03] Production.INFO: ==8276== Lock acquired, processing the job...
[2025-01-07 12:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 12:22:03] Production.INFO: ==8282== Lock acquired, processing the job...
[2025-01-07 12:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 12:22:03] Production.INFO: ==8274== Lock acquired, processing the job...
[2025-01-07 12:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 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-07 12:22:03] Production.INFO: ==8272== Lock acquired, processing the job...
[2025-01-07 12:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 12:22:03] Production.INFO: ==8278== Lock acquired, processing the job...
[2025-01-07 12:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 12:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 12:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 12:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 12:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 12:22:03] Production.INFO: count ==21
[2025-01-07 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-07 12:22:03] Production.INFO: count ==21
[2025-01-07 12:22:03] Production.INFO: ==8280== Lock acquired, processing the job...
[2025-01-07 12:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 12:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194866') start
[2025-01-07 12:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 12:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 12:22:03] Production.INFO: Account Balance Start.
[2025-01-07 12:22:03] Production.INFO: CreateAllLog Start
[2025-01-07 12:22:03] Production.INFO: 117
[2025-01-07 12:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194866') end
[2025-01-07 12:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 12:22:03] Production.INFO: 1
[2025-01-07 12:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 12:22:03] Production.INFO: Date 2024-12-08
[2025-01-07 12:22:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:22:04] Production.INFO: ==8282== Releasing lock...
[2025-01-07 12:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 12:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 12:22:04] Production.INFO: Date 2024-12-09
[2025-01-07 12:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:22:04] Production.INFO: Date 2024-12-10
[2025-01-07 12:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:22:04] Production.INFO: Date 2024-12-11
[2025-01-07 12:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:22:04] Production.INFO: Date 2024-12-12
[2025-01-07 12:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:22:04] Production.INFO: Date 2024-12-13
[2025-01-07 12:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:22:04] Production.INFO: ==8274== Releasing lock...
[2025-01-07 12:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 12:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 12:22:04] Production.INFO: Date 2024-12-14
[2025-01-07 12:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:22:04] Production.INFO: Date 2024-12-15
[2025-01-07 12:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:22:04] Production.ERROR: done
[2025-01-07 12:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 12:22:04] Production.INFO: Date 2024-12-16
[2025-01-07 12:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:22:04] Production.INFO: Date 2024-12-17
[2025-01-07 12:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:22:04] Production.INFO: Date 2024-12-18
[2025-01-07 12:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:22:04] Production.INFO: Date 2024-12-19
[2025-01-07 12:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:22:04] Production.INFO: Date 2024-12-20
[2025-01-07 12:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:22:04] Production.ERROR: done
[2025-01-07 12:22:04] Production.INFO: Date 2024-12-21
[2025-01-07 12:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:22:04] Production.INFO: Date 2024-12-22
[2025-01-07 12:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:22:04] Production.INFO: Date 2024-12-23
[2025-01-07 12:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:22:04] Production.INFO: Date 2024-12-24
[2025-01-07 12:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:22:04] Production.INFO: Date 2024-12-25
[2025-01-07 12:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:22:04] Production.INFO: Date 2024-12-26
[2025-01-07 12:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:22:04] Production.INFO: Date 2024-12-27
[2025-01-07 12:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:22:04] Production.INFO: Date 2024-12-28
[2025-01-07 12:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:22:04] Production.INFO: Date 2024-12-29
[2025-01-07 12:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:22:04] Production.INFO: Date 2024-12-30
[2025-01-07 12:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:22:04] Production.INFO: Date 2024-12-31
[2025-01-07 12:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:22:04] Production.INFO: Date 2025-01-01
[2025-01-07 12:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:22:04] Production.INFO: Date 2025-01-02
[2025-01-07 12:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:22:04] Production.INFO: Date 2025-01-03
[2025-01-07 12:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:22:04] Production.INFO: Date 2025-01-04
[2025-01-07 12:22:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:22:05] Production.INFO: Date 2025-01-05
[2025-01-07 12:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:22:05] Production.INFO: Date 2025-01-06
[2025-01-07 12:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:22:05] Production.INFO: Date 2025-01-07
[2025-01-07 12:22:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:22:05] Production.INFO: Total Charge 0
[2025-01-07 12:22:05] Production.INFO: CreateAllLog End
[2025-01-07 12:22:05] Production.INFO: Account Balance End.
[2025-01-07 12:22:05] Production.ERROR: CronJobId end 12
[2025-01-07 12:22:05] Production.INFO: ==8278== Releasing lock...
[2025-01-07 12:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 12:22:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 12:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 09:22:05
[end_date_ymd] => 2025-01-07 12:22:05
[RateCDR] => 1
)
[2025-01-07 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-07 09:22:05' and `end` < '2025-01-07 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-07 12:22:11] Production.ERROR: CronJobId end10
[2025-01-07 12:22:11] Production.INFO: ==8276== Releasing lock...
[2025-01-07 12:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 12:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 12:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 12:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 12:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 12:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 12:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 12:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 12:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 12:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 12:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 12:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 12:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 12:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 12:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 12:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 12:22:13] Production.INFO: call_cost start
[2025-01-07 12:22:13] Production.INFO: call_cost end
[2025-01-07 12:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 12:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 12:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 12:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 12:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 12:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 12:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 12:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 12:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 12:22:14] Production.INFO: ==8272== Releasing lock...
[2025-01-07 12:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 12:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:22:33] Production.INFO: count ==4765
[2025-01-07 12:22:34] Production.ERROR: pbx CDR StartTime 2025-01-07 09:22:05 - End Time 2025-01-07 12:22:05
[2025-01-07 12:22:34] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 12:22:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194870', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:22:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194870', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:22:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194870', 'tblTempVendorCDR_20' ) start
[2025-01-07 12:22:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194870', 'tblTempVendorCDR_20' ) end
[2025-01-07 12:22:35] Production.INFO: ProcessCDR(1,14194870,1,1,2)
[2025-01-07 12:22:35] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194870,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:22:37] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194870,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:22:37] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194870,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:22:39] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194870,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:22:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194870', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:22:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194870', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:22:39] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 12:22:39] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 12:22:39] Production.INFO: ==8280== Releasing lock...
[2025-01-07 12:22:39] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 12:22:39] Production.INFO: 63.75 MB #Memory Used#
[2025-01-07 17:23:02] Production.INFO: ==8338== Lock acquired, processing the job...
[2025-01-07 17:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 17:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 17:23:02] Production.INFO: neon service started
[2025-01-07 17:23:02] Production.INFO: neon service started
[2025-01-07 17:23:02] Production.INFO: ==8338== Releasing lock...
[2025-01-07 17:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 17:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 17:23:02] Production.INFO: ==8342== Lock acquired, processing the job...
[2025-01-07 17:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 17:23:02] Production.INFO: ==8342== Releasing lock...
[2025-01-07 17:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 17:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 12:23:02] Production.INFO: ==8340== Lock acquired, processing the job...
[2025-01-07 12:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 12:23:03] Production.INFO: ==8340== Releasing lock...
[2025-01-07 12:23:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 12:23:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:23:03] Production.INFO: ==8349== Lock acquired, processing the job...
[2025-01-07 12:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 12:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 12:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 12:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 12:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 12:23:03] Production.INFO: ==8351== Lock acquired, processing the job...
[2025-01-07 12:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 12:23:03] Production.INFO: Account Balance Start.
[2025-01-07 12:23:03] Production.INFO: CreateAllLog Start
[2025-01-07 12:23:03] Production.INFO: 117
[2025-01-07 12:23:03] Production.INFO: Date 2024-12-08
[2025-01-07 12:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:23:03] Production.INFO: Date 2024-12-09
[2025-01-07 12:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:23:03] Production.INFO: Date 2024-12-10
[2025-01-07 12:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:23:03] Production.INFO: Date 2024-12-11
[2025-01-07 12:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:23:03] Production.INFO: ==8345== Lock acquired, processing the job...
[2025-01-07 12:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 12:23:03] Production.INFO: ==8347== Lock acquired, processing the job...
[2025-01-07 12:23:03] Production.INFO: Date 2024-12-12
[2025-01-07 12:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 12:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:23:03] Production.INFO: ==8355== Lock acquired, processing the job...
[2025-01-07 12:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 12:23:03] Production.INFO: Date 2024-12-13
[2025-01-07 12:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:23:03] Production.INFO: Date 2024-12-14
[2025-01-07 12:23:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 12:23:04] Production.INFO: Date 2024-12-15
[2025-01-07 12:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 12:23:04] Production.INFO: Date 2024-12-16
[2025-01-07 12:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:23:04] Production.INFO: ==8353== Lock acquired, processing the job...
[2025-01-07 12:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 12:23:04] Production.INFO: count ==21
[2025-01-07 12:23:04] Production.INFO: Date 2024-12-17
[2025-01-07 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-07 12:23:04] Production.INFO: count ==21
[2025-01-07 12:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:23:04] Production.INFO: Date 2024-12-18
[2025-01-07 12:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194873') start
[2025-01-07 12:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 12:23:04] Production.INFO: Date 2024-12-19
[2025-01-07 12:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194873') end
[2025-01-07 12:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 12:23:04] Production.INFO: 1
[2025-01-07 12:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 12:23:04] Production.INFO: ==8355== Releasing lock...
[2025-01-07 12:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 12:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 12:23:04] Production.INFO: ==8347== Releasing lock...
[2025-01-07 12:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 12:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 12:23:04] Production.INFO: Date 2024-12-20
[2025-01-07 12:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:23:04] Production.ERROR: done
[2025-01-07 12:23:04] Production.INFO: Date 2024-12-21
[2025-01-07 12:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 12:23:04] Production.INFO: Date 2024-12-22
[2025-01-07 12:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:23:04] Production.ERROR: done
[2025-01-07 12:23:04] Production.INFO: Date 2024-12-23
[2025-01-07 12:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:23:04] Production.INFO: Date 2024-12-24
[2025-01-07 12:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:23:04] Production.INFO: Date 2024-12-25
[2025-01-07 12:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:23:04] Production.INFO: Date 2024-12-26
[2025-01-07 12:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:23:04] Production.INFO: Date 2024-12-27
[2025-01-07 12:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:23:04] Production.INFO: Date 2024-12-28
[2025-01-07 12:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:23:04] Production.INFO: Date 2024-12-29
[2025-01-07 12:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:23:04] Production.INFO: Date 2024-12-30
[2025-01-07 12:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:23:04] Production.INFO: Date 2024-12-31
[2025-01-07 12:23:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:23:05] Production.INFO: Date 2025-01-01
[2025-01-07 12:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:23:05] Production.INFO: Date 2025-01-02
[2025-01-07 12:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:23:05] Production.INFO: Date 2025-01-03
[2025-01-07 12:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:23:05] Production.INFO: Date 2025-01-04
[2025-01-07 12:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:23:05] Production.INFO: Date 2025-01-05
[2025-01-07 12:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:23:05] Production.INFO: Date 2025-01-06
[2025-01-07 12:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:23:05] Production.INFO: Date 2025-01-07
[2025-01-07 12:23:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:23:05] Production.INFO: Total Charge 0
[2025-01-07 12:23:05] Production.INFO: CreateAllLog End
[2025-01-07 12:23:05] Production.INFO: Account Balance End.
[2025-01-07 12:23:05] Production.ERROR: CronJobId end 12
[2025-01-07 12:23:05] Production.INFO: ==8351== Releasing lock...
[2025-01-07 12:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 12:23:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 12:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 09:23:05
[end_date_ymd] => 2025-01-07 12:23:05
[RateCDR] => 1
)
[2025-01-07 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-07 09:23:05' and `end` < '2025-01-07 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-07 12:23:10] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,7))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-01-07 12:23:10] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 12:23:10] Production.INFO: ============== Balance Warning START===========
[2025-01-07 12:23:10] Production.INFO: ============== Balance Warning END===========
[2025-01-07 12:23:10] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 12:23:10] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 12:23:10] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 12:23:10] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 12:23:10] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 12:23:10] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 12:23:10] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 12:23:10] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 12:23:10] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 12:23:10] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 12:23:10] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 12:23:10] Production.INFO: call_cost start
[2025-01-07 12:23:10] Production.INFO: call_cost end
[2025-01-07 12:23:10] Production.ERROR: CronJobId end10
[2025-01-07 12:23:10] Production.INFO: ==8349== Releasing lock...
[2025-01-07 12:23:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 12:23:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 12:23:11] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 12:23:11] Production.INFO: ============== Report Schedule START===========
[2025-01-07 12:23:11] Production.INFO: ============== Report Schedule END===========
[2025-01-07 12:23:11] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 12:23:11] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 12:23:11] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 12:23:11] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 12:23:11] Production.INFO: ============== Deal alert START===========
[2025-01-07 12:23:11] Production.INFO: ============== Deal alert END===========
[2025-01-07 12:23:11] Production.INFO: ==8345== Releasing lock...
[2025-01-07 12:23:11] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 12:23:11] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:23:37] Production.INFO: count ==4789
[2025-01-07 12:23:39] Production.ERROR: pbx CDR StartTime 2025-01-07 09:23:05 - End Time 2025-01-07 12:23:05
[2025-01-07 12:23:39] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 12:23:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194875', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:23:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194875', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:23:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194875', 'tblTempVendorCDR_20' ) start
[2025-01-07 12:23:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194875', 'tblTempVendorCDR_20' ) end
[2025-01-07 12:23:39] Production.INFO: ProcessCDR(1,14194875,1,1,2)
[2025-01-07 12:23:39] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194875,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:23:41] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194875,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:23:41] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194875,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:23:43] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194875,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:23:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194875', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:23:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194875', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:23:43] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 12:23:43] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 12:23:43] Production.INFO: ==8353== Releasing lock...
[2025-01-07 12:23:43] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 12:23:43] Production.INFO: 63.75 MB #Memory Used#
[2025-01-07 17:24:01] Production.INFO: ==8412== Lock acquired, processing the job...
[2025-01-07 17:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 17:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 17:24:01] Production.INFO: neon service started
[2025-01-07 17:24:01] Production.INFO: neon service started
[2025-01-07 17:24:01] Production.INFO: ==8412== Releasing lock...
[2025-01-07 17:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 17:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 12:24:02] Production.INFO: ==8414== Lock acquired, processing the job...
[2025-01-07 12:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 17:24:02] Production.INFO: ==8416== Lock acquired, processing the job...
[2025-01-07 17:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:24:02] Production.INFO: ==8414== Releasing lock...
[2025-01-07 12:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 12:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 17:24:02] Production.INFO: ==8416== Releasing lock...
[2025-01-07 17:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 17:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 12:24:03] Production.INFO: ==8418== Lock acquired, processing the job...
[2025-01-07 12:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 12:24:03] Production.INFO: ==8429== Lock acquired, processing the job...
[2025-01-07 12:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 12:24:03] Production.INFO: ==8427== Lock acquired, processing the job...
[2025-01-07 12:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 12:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 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-07 12:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 12:24:03] Production.INFO: count ==21
[2025-01-07 12:24:03] Production.INFO: ==8422== Lock acquired, processing the job...
[2025-01-07 12:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 12:24:03] Production.INFO: ==8420== Lock acquired, processing the job...
[2025-01-07 12:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 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-07 12:24:03] Production.INFO: count ==21
[2025-01-07 12:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194877') start
[2025-01-07 12:24:03] Production.INFO: ==8424== Lock acquired, processing the job...
[2025-01-07 12:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 12:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194877') end
[2025-01-07 12:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 12:24:03] Production.INFO: 1
[2025-01-07 12:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 12:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 12:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 12:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 12:24:03] Production.INFO: Account Balance Start.
[2025-01-07 12:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 12:24:03] Production.INFO: CreateAllLog Start
[2025-01-07 12:24:03] Production.INFO: 117
[2025-01-07 12:24:03] Production.INFO: ==8429== Releasing lock...
[2025-01-07 12:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 12:24:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 12:24:03] Production.ERROR: done
[2025-01-07 12:24:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 12:24:03] Production.INFO: Date 2024-12-08
[2025-01-07 12:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:24:03] Production.INFO: Date 2024-12-09
[2025-01-07 12:24:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:24:04] Production.INFO: Date 2024-12-10
[2025-01-07 12:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:24:04] Production.ERROR: done
[2025-01-07 12:24:04] Production.INFO: ==8420== Releasing lock...
[2025-01-07 12:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 12:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 12:24:04] Production.INFO: Date 2024-12-11
[2025-01-07 12:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:24:04] Production.INFO: Date 2024-12-12
[2025-01-07 12:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:24:04] Production.INFO: Date 2024-12-13
[2025-01-07 12:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:24:04] Production.INFO: Date 2024-12-14
[2025-01-07 12:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:24:04] Production.INFO: Date 2024-12-15
[2025-01-07 12:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:24:04] Production.INFO: Date 2024-12-16
[2025-01-07 12:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:24:04] Production.INFO: Date 2024-12-17
[2025-01-07 12:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:24:04] Production.INFO: Date 2024-12-18
[2025-01-07 12:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:24:04] Production.INFO: Date 2024-12-19
[2025-01-07 12:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:24:04] Production.INFO: Date 2024-12-20
[2025-01-07 12:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:24:04] Production.INFO: Date 2024-12-21
[2025-01-07 12:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:24:04] Production.INFO: Date 2024-12-22
[2025-01-07 12:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:24:04] Production.INFO: Date 2024-12-23
[2025-01-07 12:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:24:04] Production.INFO: Date 2024-12-24
[2025-01-07 12:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:24:04] Production.INFO: Date 2024-12-25
[2025-01-07 12:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:24:04] Production.INFO: Date 2024-12-26
[2025-01-07 12:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:24:04] Production.INFO: Date 2024-12-27
[2025-01-07 12:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:24:04] Production.INFO: Date 2024-12-28
[2025-01-07 12:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:24:04] Production.INFO: Date 2024-12-29
[2025-01-07 12:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:24:04] Production.INFO: Date 2024-12-30
[2025-01-07 12:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:24:04] Production.INFO: Date 2024-12-31
[2025-01-07 12:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:24:04] Production.INFO: Date 2025-01-01
[2025-01-07 12:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:24:04] Production.INFO: Date 2025-01-02
[2025-01-07 12:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:24:04] Production.INFO: Date 2025-01-03
[2025-01-07 12:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:24:04] Production.INFO: Date 2025-01-04
[2025-01-07 12:24:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:24:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 09:24:04
[end_date_ymd] => 2025-01-07 12:24:04
[RateCDR] => 1
)
[2025-01-07 12:24:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 09:24:04' and `end` < '2025-01-07 12:24:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 12:24:05] Production.INFO: Date 2025-01-05
[2025-01-07 12:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:24:05] Production.INFO: Date 2025-01-06
[2025-01-07 12:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:24:05] Production.INFO: Date 2025-01-07
[2025-01-07 12:24:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:24:05] Production.INFO: Total Charge 0
[2025-01-07 12:24:05] Production.INFO: CreateAllLog End
[2025-01-07 12:24:05] Production.INFO: Account Balance End.
[2025-01-07 12:24:05] Production.ERROR: CronJobId end 12
[2025-01-07 12:24:05] Production.INFO: ==8424== Releasing lock...
[2025-01-07 12:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 12:24:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 12:24:12] Production.ERROR: CronJobId end10
[2025-01-07 12:24:12] Production.INFO: ==8422== Releasing lock...
[2025-01-07 12:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 12:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 12:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 12:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 12:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 12:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 12:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 12:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 12:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 12:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 12:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 12:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 12:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 12:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 12:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 12:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 12:24:13] Production.INFO: call_cost start
[2025-01-07 12:24:13] Production.INFO: call_cost end
[2025-01-07 12:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 12:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 12:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 12:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 12:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 12:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 12:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 12:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 12:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 12:24:14] Production.INFO: ==8418== Releasing lock...
[2025-01-07 12:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 12:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:24:27] Production.INFO: count ==4814
[2025-01-07 12:24:28] Production.ERROR: pbx CDR StartTime 2025-01-07 09:24:04 - End Time 2025-01-07 12:24:04
[2025-01-07 12:24:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 12:24:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194880', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:24:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194880', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:24:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194880', 'tblTempVendorCDR_20' ) start
[2025-01-07 12:24:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194880', 'tblTempVendorCDR_20' ) end
[2025-01-07 12:24:29] Production.INFO: ProcessCDR(1,14194880,1,1,2)
[2025-01-07 12:24:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194880,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:24:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194880,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:24:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194880,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:24:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194880,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:24:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194880', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:24:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194880', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:24:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 12:24:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 12:24:33] Production.INFO: ==8427== Releasing lock...
[2025-01-07 12:24:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 12:24:33] Production.INFO: 64 MB #Memory Used#
[2025-01-07 17:25:02] Production.INFO: ==8491== Lock acquired, processing the job...
[2025-01-07 17:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 17:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 17:25:02] Production.INFO: neon service started
[2025-01-07 17:25:02] Production.INFO: neon service started
[2025-01-07 17:25:02] Production.INFO: ==8491== Releasing lock...
[2025-01-07 17:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 17:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 17:25:02] Production.INFO: ==8495== Lock acquired, processing the job...
[2025-01-07 17:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 12:25:02] Production.INFO: ==8493== Lock acquired, processing the job...
[2025-01-07 12:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 17:25:02] Production.INFO: ==8495== Releasing lock...
[2025-01-07 17:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 17:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 12:25:02] Production.INFO: ==8493== Releasing lock...
[2025-01-07 12:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 12:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:25:03] Production.INFO: ==8498== Lock acquired, processing the job...
[2025-01-07 12:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 12:25:03] Production.INFO: ==8506== Lock acquired, processing the job...
[2025-01-07 12:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 12:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 12:25:03] Production.INFO: ==8500== Lock acquired, processing the job...
[2025-01-07 12:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 12:25:03] Production.INFO: ==8502== Lock acquired, processing the job...
[2025-01-07 12:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 12:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 12:25:04] Production.INFO: ==8504== Lock acquired, processing the job...
[2025-01-07 12:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 12:25:04] Production.INFO: ==8508== Lock acquired, processing the job...
[2025-01-07 12:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 12:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 12:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 12:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 12:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 12:25:04] Production.INFO: Account Balance Start.
[2025-01-07 12:25:04] Production.INFO: CreateAllLog Start
[2025-01-07 12:25:04] Production.INFO: 117
[2025-01-07 12:25:04] Production.INFO: Date 2024-12-08
[2025-01-07 12:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 12:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:25:04] Production.INFO: count ==21
[2025-01-07 12:25:04] Production.INFO: Date 2024-12-09
[2025-01-07 12:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:25:04] Production.INFO: ==8500== Releasing lock...
[2025-01-07 12:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 12:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 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-07 12:25:04] Production.INFO: count ==21
[2025-01-07 12:25:04] Production.ERROR: done
[2025-01-07 12:25:04] Production.INFO: Date 2024-12-10
[2025-01-07 12:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 12:25:04] Production.INFO: Date 2024-12-11
[2025-01-07 12:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194883') start
[2025-01-07 12:25:04] Production.INFO: Date 2024-12-12
[2025-01-07 12:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:25:04] Production.INFO: Date 2024-12-13
[2025-01-07 12:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:25:04] Production.ERROR: done
[2025-01-07 12:25:04] Production.INFO: Date 2024-12-14
[2025-01-07 12:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194883') end
[2025-01-07 12:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 12:25:04] Production.INFO: 1
[2025-01-07 12:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 12:25:04] Production.INFO: Date 2024-12-15
[2025-01-07 12:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:25:04] Production.INFO: Date 2024-12-16
[2025-01-07 12:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:25:04] Production.INFO: ==8508== Releasing lock...
[2025-01-07 12:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 12:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 12:25:04] Production.INFO: Date 2024-12-17
[2025-01-07 12:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:25:04] Production.INFO: Date 2024-12-18
[2025-01-07 12:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:25:04] Production.INFO: Date 2024-12-19
[2025-01-07 12:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:25:04] Production.INFO: Date 2024-12-20
[2025-01-07 12:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:25:04] Production.INFO: Date 2024-12-21
[2025-01-07 12:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:25:04] Production.INFO: Date 2024-12-22
[2025-01-07 12:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:25:04] Production.INFO: Date 2024-12-23
[2025-01-07 12:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:25:04] Production.INFO: Date 2024-12-24
[2025-01-07 12:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:25:04] Production.INFO: Date 2024-12-25
[2025-01-07 12:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:25:04] Production.INFO: Date 2024-12-26
[2025-01-07 12:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:25:04] Production.INFO: Date 2024-12-27
[2025-01-07 12:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:25:04] Production.INFO: Date 2024-12-28
[2025-01-07 12:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:25:04] Production.INFO: Date 2024-12-29
[2025-01-07 12:25:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:25:05] Production.INFO: Date 2024-12-30
[2025-01-07 12:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:25:05] Production.INFO: Date 2024-12-31
[2025-01-07 12:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:25:05] Production.INFO: Date 2025-01-01
[2025-01-07 12:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:25:05] Production.INFO: Date 2025-01-02
[2025-01-07 12:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:25:05] Production.INFO: Date 2025-01-03
[2025-01-07 12:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:25:05] Production.INFO: Date 2025-01-04
[2025-01-07 12:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:25:05] Production.INFO: Date 2025-01-05
[2025-01-07 12:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:25:05] Production.INFO: Date 2025-01-06
[2025-01-07 12:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:25:05] Production.INFO: Date 2025-01-07
[2025-01-07 12:25:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:25:05] Production.INFO: Total Charge 0
[2025-01-07 12:25:05] Production.INFO: CreateAllLog End
[2025-01-07 12:25:05] Production.INFO: Account Balance End.
[2025-01-07 12:25:05] Production.ERROR: CronJobId end 12
[2025-01-07 12:25:05] Production.INFO: ==8504== Releasing lock...
[2025-01-07 12:25:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 12:25:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 12:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 09:25:05
[end_date_ymd] => 2025-01-07 12:25:05
[RateCDR] => 1
)
[2025-01-07 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-07 09:25:05' and `end` < '2025-01-07 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-07 12:25:11] Production.ERROR: CronJobId end10
[2025-01-07 12:25:11] Production.INFO: ==8502== Releasing lock...
[2025-01-07 12:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 12:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 12:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 12:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 12:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 12:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 12:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 12:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 12:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 12:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 12:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 12:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 12:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 12:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 12:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 12:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 12:25:13] Production.INFO: call_cost start
[2025-01-07 12:25:13] Production.INFO: call_cost end
[2025-01-07 12:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 12:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 12:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 12:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 12:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 12:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 12:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 12:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 12:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 12:25:14] Production.INFO: ==8498== Releasing lock...
[2025-01-07 12:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 12:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:25:28] Production.INFO: count ==4825
[2025-01-07 12:25:30] Production.ERROR: pbx CDR StartTime 2025-01-07 09:25:05 - End Time 2025-01-07 12:25:05
[2025-01-07 12:25:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 12:25:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194885', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:25:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194885', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:25:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194885', 'tblTempVendorCDR_20' ) start
[2025-01-07 12:25:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194885', 'tblTempVendorCDR_20' ) end
[2025-01-07 12:25:30] Production.INFO: ProcessCDR(1,14194885,1,1,2)
[2025-01-07 12:25:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194885,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:25:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194885,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:25:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194885,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:25:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194885,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:25:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194885', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:25:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194885', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:25:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 12:25:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 12:25:35] Production.INFO: ==8506== Releasing lock...
[2025-01-07 12:25:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 12:25:35] Production.INFO: 64 MB #Memory Used#
[2025-01-07 17:26:01] Production.INFO: ==8564== Lock acquired, processing the job...
[2025-01-07 17:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 17:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 17:26:01] Production.INFO: neon service started
[2025-01-07 17:26:01] Production.INFO: neon service started
[2025-01-07 17:26:01] Production.INFO: ==8564== Releasing lock...
[2025-01-07 17:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 17:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 12:26:01] Production.INFO: ==8566== Lock acquired, processing the job...
[2025-01-07 12:26:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 17:26:02] Production.INFO: ==8568== Lock acquired, processing the job...
[2025-01-07 17:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 17:26:02] Production.INFO: ==8568== Releasing lock...
[2025-01-07 17:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 17:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 12:26:02] Production.INFO: ==8566== Releasing lock...
[2025-01-07 12:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 12:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:26:02] Production.INFO: ==8570== Lock acquired, processing the job...
[2025-01-07 12:26:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 12:26:03] Production.INFO: ==8572== Lock acquired, processing the job...
[2025-01-07 12:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 12:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 12:26:03] Production.INFO: ==8581== Lock acquired, processing the job...
[2025-01-07 12:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 12:26:03] Production.INFO: ==8576== Lock acquired, processing the job...
[2025-01-07 12:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 12:26:03] Production.INFO: Account Balance Start.
[2025-01-07 12:26:03] Production.INFO: CreateAllLog Start
[2025-01-07 12:26:03] Production.INFO: 117
[2025-01-07 12:26:03] Production.INFO: Date 2024-12-08
[2025-01-07 12:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:26:03] Production.INFO: ==8574== Lock acquired, processing the job...
[2025-01-07 12:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 12:26:03] Production.INFO: ==8572== Releasing lock...
[2025-01-07 12:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 12:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 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-07 12:26:03] Production.INFO: Date 2024-12-09
[2025-01-07 12:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:26:03] Production.INFO: count ==21
[2025-01-07 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-07 12:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 12:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 12:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 12:26:03] Production.INFO: Date 2024-12-10
[2025-01-07 12:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 12:26:03] Production.INFO: count ==21
[2025-01-07 12:26:03] Production.INFO: Date 2024-12-11
[2025-01-07 12:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:26:03] Production.INFO: ==8579== Lock acquired, processing the job...
[2025-01-07 12:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 12:26:03] Production.INFO: Date 2024-12-12
[2025-01-07 12:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194889') start
[2025-01-07 12:26:03] Production.INFO: Date 2024-12-13
[2025-01-07 12:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 12:26:03] Production.INFO: Date 2024-12-14
[2025-01-07 12:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:26:03] Production.INFO: Date 2024-12-15
[2025-01-07 12:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:26:03] Production.INFO: Date 2024-12-16
[2025-01-07 12:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194889') end
[2025-01-07 12:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 12:26:03] Production.INFO: 1
[2025-01-07 12:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 12:26:03] Production.INFO: Date 2024-12-17
[2025-01-07 12:26:03] Production.INFO: ==8581== Releasing lock...
[2025-01-07 12:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 12:26:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 12:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:26:03] Production.INFO: Date 2024-12-18
[2025-01-07 12:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:26:03] Production.INFO: Date 2024-12-19
[2025-01-07 12:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:26:03] Production.ERROR: done
[2025-01-07 12:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 12:26:03] Production.INFO: Date 2024-12-20
[2025-01-07 12:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:26:03] Production.INFO: Date 2024-12-21
[2025-01-07 12:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:26:03] Production.INFO: Date 2024-12-22
[2025-01-07 12:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:26:03] Production.INFO: Date 2024-12-23
[2025-01-07 12:26:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:26:04] Production.INFO: Date 2024-12-24
[2025-01-07 12:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:26:04] Production.ERROR: done
[2025-01-07 12:26:04] Production.INFO: Date 2024-12-25
[2025-01-07 12:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:26:04] Production.INFO: Date 2024-12-26
[2025-01-07 12:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:26:04] Production.INFO: Date 2024-12-27
[2025-01-07 12:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:26:04] Production.INFO: Date 2024-12-28
[2025-01-07 12:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:26:04] Production.INFO: Date 2024-12-29
[2025-01-07 12:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:26:04] Production.INFO: Date 2024-12-30
[2025-01-07 12:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:26:04] Production.INFO: Date 2024-12-31
[2025-01-07 12:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:26:04] Production.INFO: Date 2025-01-01
[2025-01-07 12:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:26:04] Production.INFO: Date 2025-01-02
[2025-01-07 12:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:26:04] Production.INFO: Date 2025-01-03
[2025-01-07 12:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:26:04] Production.INFO: Date 2025-01-04
[2025-01-07 12:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:26:04] Production.INFO: Date 2025-01-05
[2025-01-07 12:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:26:04] Production.INFO: Date 2025-01-06
[2025-01-07 12:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:26:04] Production.INFO: Date 2025-01-07
[2025-01-07 12:26:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:26:04] Production.INFO: Total Charge 0
[2025-01-07 12:26:04] Production.INFO: CreateAllLog End
[2025-01-07 12:26:04] Production.INFO: Account Balance End.
[2025-01-07 12:26:04] Production.ERROR: CronJobId end 12
[2025-01-07 12:26:04] Production.INFO: ==8576== Releasing lock...
[2025-01-07 12:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 12:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 12:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 09:26:05
[end_date_ymd] => 2025-01-07 12:26:05
[RateCDR] => 1
)
[2025-01-07 12:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 09:26:05' and `end` < '2025-01-07 12:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 12:26:11] Production.ERROR: CronJobId end10
[2025-01-07 12:26:11] Production.INFO: ==8574== Releasing lock...
[2025-01-07 12:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 12:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 12:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 12:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 12:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 12:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 12:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 12:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 12:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 12:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 12:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 12:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 12:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 12:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 12:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 12:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 12:26:13] Production.INFO: call_cost start
[2025-01-07 12:26:13] Production.INFO: call_cost end
[2025-01-07 12:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 12:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 12:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 12:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 12:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 12:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 12:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 12:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 12:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 12:26:14] Production.INFO: ==8570== Releasing lock...
[2025-01-07 12:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 12:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:26:26] Production.INFO: count ==4822
[2025-01-07 12:26:28] Production.ERROR: pbx CDR StartTime 2025-01-07 09:26:05 - End Time 2025-01-07 12:26:05
[2025-01-07 12:26:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 12:26:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194890', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:26:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194890', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:26:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194890', 'tblTempVendorCDR_20' ) start
[2025-01-07 12:26:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194890', 'tblTempVendorCDR_20' ) end
[2025-01-07 12:26:28] Production.INFO: ProcessCDR(1,14194890,1,1,2)
[2025-01-07 12:26:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194890,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:26:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194890,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:26:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194890,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:26:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194890,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:26:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194890', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:26:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194890', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:26:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 12:26:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 12:26:32] Production.INFO: ==8579== Releasing lock...
[2025-01-07 12:26:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 12:26:32] Production.INFO: 64 MB #Memory Used#
[2025-01-07 17:27:01] Production.INFO: ==8639== Lock acquired, processing the job...
[2025-01-07 17:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 17:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 17:27:01] Production.INFO: neon service started
[2025-01-07 17:27:01] Production.INFO: neon service started
[2025-01-07 17:27:01] Production.INFO: ==8639== Releasing lock...
[2025-01-07 17:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 17:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 17:27:02] Production.INFO: ==8643== Lock acquired, processing the job...
[2025-01-07 17:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 17:27:02] Production.INFO: ==8643== Releasing lock...
[2025-01-07 17:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 17:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 12:27:02] Production.INFO: ==8641== Lock acquired, processing the job...
[2025-01-07 12:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 12:27:02] Production.INFO: ==8641== Releasing lock...
[2025-01-07 12:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 12:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:27:03] Production.INFO: ==8648== Lock acquired, processing the job...
[2025-01-07 12:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 12:27:03] Production.INFO: ==8650== Lock acquired, processing the job...
[2025-01-07 12:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 12:27:03] Production.INFO: ==8656== Lock acquired, processing the job...
[2025-01-07 12:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 12:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 12:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 12:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 12:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 12:27:03] Production.INFO: ==8648== Releasing lock...
[2025-01-07 12:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 12:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 12:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 12:27:03] Production.INFO: ==8646== Lock acquired, processing the job...
[2025-01-07 12:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 12:27:03] Production.INFO: count ==21
[2025-01-07 12:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 12:27:03] Production.INFO: count ==21
[2025-01-07 12:27:03] Production.INFO: ==8652== Lock acquired, processing the job...
[2025-01-07 12:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 12:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194892') start
[2025-01-07 12:27:03] Production.INFO: ==8654== Lock acquired, processing the job...
[2025-01-07 12:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 12:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 12:27:03] Production.INFO: Account Balance Start.
[2025-01-07 12:27:03] Production.INFO: CreateAllLog Start
[2025-01-07 12:27:03] Production.INFO: 117
[2025-01-07 12:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194892') end
[2025-01-07 12:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 12:27:03] Production.INFO: 1
[2025-01-07 12:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 12:27:03] Production.INFO: Date 2024-12-08
[2025-01-07 12:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 12:27:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:27:03] Production.INFO: ==8656== Releasing lock...
[2025-01-07 12:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 12:27:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 12:27:04] Production.INFO: Date 2024-12-09
[2025-01-07 12:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:27:04] Production.INFO: Date 2024-12-10
[2025-01-07 12:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:27:04] Production.INFO: Date 2024-12-11
[2025-01-07 12:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:27:04] Production.ERROR: done
[2025-01-07 12:27:04] Production.INFO: Date 2024-12-12
[2025-01-07 12:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 12:27:04] Production.INFO: Date 2024-12-13
[2025-01-07 12:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:27:04] Production.INFO: Date 2024-12-14
[2025-01-07 12:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:27:04] Production.INFO: Date 2024-12-15
[2025-01-07 12:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:27:04] Production.INFO: Date 2024-12-16
[2025-01-07 12:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:27:04] Production.INFO: Date 2024-12-17
[2025-01-07 12:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:27:04] Production.ERROR: done
[2025-01-07 12:27:04] Production.INFO: Date 2024-12-18
[2025-01-07 12:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:27:04] Production.INFO: Date 2024-12-19
[2025-01-07 12:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:27:04] Production.INFO: Date 2024-12-20
[2025-01-07 12:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:27:04] Production.INFO: Date 2024-12-21
[2025-01-07 12:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:27:04] Production.INFO: Date 2024-12-22
[2025-01-07 12:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:27:04] Production.INFO: Date 2024-12-23
[2025-01-07 12:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:27:04] Production.INFO: Date 2024-12-24
[2025-01-07 12:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:27:04] Production.INFO: Date 2024-12-25
[2025-01-07 12:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:27:04] Production.INFO: Date 2024-12-26
[2025-01-07 12:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:27:04] Production.INFO: Date 2024-12-27
[2025-01-07 12:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:27:04] Production.INFO: Date 2024-12-28
[2025-01-07 12:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:27:04] Production.INFO: Date 2024-12-29
[2025-01-07 12:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:27:04] Production.INFO: Date 2024-12-30
[2025-01-07 12:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:27:04] Production.INFO: Date 2024-12-31
[2025-01-07 12:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:27:04] Production.INFO: Date 2025-01-01
[2025-01-07 12:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:27:04] Production.INFO: Date 2025-01-02
[2025-01-07 12:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:27:04] Production.INFO: Date 2025-01-03
[2025-01-07 12:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:27:04] Production.INFO: Date 2025-01-04
[2025-01-07 12:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:27:04] Production.INFO: Date 2025-01-05
[2025-01-07 12:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:27:04] Production.INFO: Date 2025-01-06
[2025-01-07 12:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:27:04] Production.INFO: Date 2025-01-07
[2025-01-07 12:27:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:27:04] Production.INFO: Total Charge 0
[2025-01-07 12:27:04] Production.INFO: CreateAllLog End
[2025-01-07 12:27:04] Production.INFO: Account Balance End.
[2025-01-07 12:27:05] Production.ERROR: CronJobId end 12
[2025-01-07 12:27:05] Production.INFO: ==8652== Releasing lock...
[2025-01-07 12:27:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 12:27:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 12:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 09:27:05
[end_date_ymd] => 2025-01-07 12:27:05
[RateCDR] => 1
)
[2025-01-07 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-07 09:27:05' and `end` < '2025-01-07 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-07 12:27:11] Production.ERROR: CronJobId end10
[2025-01-07 12:27:11] Production.INFO: ==8650== Releasing lock...
[2025-01-07 12:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 12:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 12:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 12:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 12:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 12:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 12:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 12:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 12:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 12:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 12:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 12:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 12:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 12:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 12:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 12:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 12:27:13] Production.INFO: call_cost start
[2025-01-07 12:27:13] Production.INFO: call_cost end
[2025-01-07 12:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 12:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 12:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 12:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 12:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 12:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 12:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 12:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 12:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 12:27:14] Production.INFO: ==8646== Releasing lock...
[2025-01-07 12:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 12:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:27:24] Production.INFO: count ==4817
[2025-01-07 12:27:25] Production.ERROR: pbx CDR StartTime 2025-01-07 09:27:05 - End Time 2025-01-07 12:27:05
[2025-01-07 12:27:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 12:27:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194895', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:27:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194895', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:27:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194895', 'tblTempVendorCDR_20' ) start
[2025-01-07 12:27:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194895', 'tblTempVendorCDR_20' ) end
[2025-01-07 12:27:26] Production.INFO: ProcessCDR(1,14194895,1,1,2)
[2025-01-07 12:27:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194895,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:27:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194895,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:27:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194895,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:27:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194895,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:27:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194895', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:27:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194895', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:27:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 12:27:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 12:27:30] Production.INFO: ==8654== Releasing lock...
[2025-01-07 12:27:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 12:27:30] Production.INFO: 64 MB #Memory Used#
[2025-01-07 17:28:02] Production.INFO: ==8712== Lock acquired, processing the job...
[2025-01-07 17:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 17:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 17:28:02] Production.INFO: neon service started
[2025-01-07 17:28:02] Production.INFO: neon service started
[2025-01-07 17:28:02] Production.INFO: ==8712== Releasing lock...
[2025-01-07 17:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 17:28:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 17:28:02] Production.INFO: ==8716== Lock acquired, processing the job...
[2025-01-07 17:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 17:28:02] Production.INFO: ==8716== Releasing lock...
[2025-01-07 17:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 17:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 12:28:02] Production.INFO: ==8714== Lock acquired, processing the job...
[2025-01-07 12:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 12:28:03] Production.INFO: ==8714== Releasing lock...
[2025-01-07 12:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 12:28:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:28:03] Production.INFO: ==8722== Lock acquired, processing the job...
[2025-01-07 12:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 12:28:03] Production.INFO: ==8727== Lock acquired, processing the job...
[2025-01-07 12:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 12:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 12:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 12:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 12:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 12:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 12:28:04] Production.INFO: ==8718== Lock acquired, processing the job...
[2025-01-07 12:28:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 12:28:04] Production.INFO: ==8720== Lock acquired, processing the job...
[2025-01-07 12:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 12:28:04] Production.INFO: ==8725== Lock acquired, processing the job...
[2025-01-07 12:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 12:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 12:28:04] Production.INFO: ==8729== Lock acquired, processing the job...
[2025-01-07 12:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 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-07 12:28:04] Production.INFO: Account Balance Start.
[2025-01-07 12:28:04] Production.INFO: CreateAllLog Start
[2025-01-07 12:28:04] Production.INFO: 117
[2025-01-07 12:28:04] Production.INFO: count ==21
[2025-01-07 12:28:04] Production.INFO: Date 2024-12-08
[2025-01-07 12:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:28:04] Production.ERROR: done
[2025-01-07 12:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 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-07 12:28:04] Production.INFO: count ==21
[2025-01-07 12:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194898') start
[2025-01-07 12:28:04] Production.ERROR: done
[2025-01-07 12:28:04] Production.INFO: ==8720== Releasing lock...
[2025-01-07 12:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 12:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 12:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194898') end
[2025-01-07 12:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 12:28:04] Production.INFO: 1
[2025-01-07 12:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 12:28:04] Production.INFO: Date 2024-12-09
[2025-01-07 12:28:04] Production.INFO: ==8729== Releasing lock...
[2025-01-07 12:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 12:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 12:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:28:04] Production.INFO: Date 2024-12-10
[2025-01-07 12:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:28:04] Production.INFO: Date 2024-12-11
[2025-01-07 12:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:28:04] Production.INFO: Date 2024-12-12
[2025-01-07 12:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:28:04] Production.INFO: Date 2024-12-13
[2025-01-07 12:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:28:04] Production.INFO: Date 2024-12-14
[2025-01-07 12:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:28:04] Production.INFO: Date 2024-12-15
[2025-01-07 12:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:28:04] Production.INFO: Date 2024-12-16
[2025-01-07 12:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:28:04] Production.INFO: Date 2024-12-17
[2025-01-07 12:28:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:28:05] Production.INFO: Date 2024-12-18
[2025-01-07 12:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:28:05] Production.INFO: Date 2024-12-19
[2025-01-07 12:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:28:05] Production.INFO: Date 2024-12-20
[2025-01-07 12:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:28:05] Production.INFO: Date 2024-12-21
[2025-01-07 12:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:28:05] Production.INFO: Date 2024-12-22
[2025-01-07 12:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:28:05] Production.INFO: Date 2024-12-23
[2025-01-07 12:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:28:05] Production.INFO: Date 2024-12-24
[2025-01-07 12:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:28:05] Production.INFO: Date 2024-12-25
[2025-01-07 12:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:28:05] Production.INFO: Date 2024-12-26
[2025-01-07 12:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:28:05] Production.INFO: Date 2024-12-27
[2025-01-07 12:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:28:05] Production.INFO: Date 2024-12-28
[2025-01-07 12:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:28:05] Production.INFO: Date 2024-12-29
[2025-01-07 12:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:28:05] Production.INFO: Date 2024-12-30
[2025-01-07 12:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:28:05] Production.INFO: Date 2024-12-31
[2025-01-07 12:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:28:05] Production.INFO: Date 2025-01-01
[2025-01-07 12:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:28:05] Production.INFO: Date 2025-01-02
[2025-01-07 12:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:28:05] Production.INFO: Date 2025-01-03
[2025-01-07 12:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:28:05] Production.INFO: Date 2025-01-04
[2025-01-07 12:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:28:05] Production.INFO: Date 2025-01-05
[2025-01-07 12:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:28:05] Production.INFO: Date 2025-01-06
[2025-01-07 12:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 09:28:05
[end_date_ymd] => 2025-01-07 12:28:05
[RateCDR] => 1
)
[2025-01-07 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-07 09:28:05' and `end` < '2025-01-07 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-07 12:28:05] Production.INFO: Date 2025-01-07
[2025-01-07 12:28:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:28:05] Production.INFO: Total Charge 0
[2025-01-07 12:28:05] Production.INFO: CreateAllLog End
[2025-01-07 12:28:05] Production.INFO: Account Balance End.
[2025-01-07 12:28:05] Production.ERROR: CronJobId end 12
[2025-01-07 12:28:05] Production.INFO: ==8725== Releasing lock...
[2025-01-07 12:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 12:28:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 12:28:12] Production.ERROR: CronJobId end10
[2025-01-07 12:28:12] Production.INFO: ==8722== Releasing lock...
[2025-01-07 12:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 12:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 12:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 12:28:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 12:28:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 12:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 12:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 12:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 12:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 12:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 12:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 12:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 12:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 12:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 12:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 12:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 12:28:14] Production.INFO: call_cost start
[2025-01-07 12:28:14] Production.INFO: call_cost end
[2025-01-07 12:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 12:28:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 12:28:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 12:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 12:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 12:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 12:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 12:28:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 12:28:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 12:28:15] Production.INFO: ==8718== Releasing lock...
[2025-01-07 12:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 12:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:28:22] Production.INFO: count ==4803
[2025-01-07 12:28:24] Production.ERROR: pbx CDR StartTime 2025-01-07 09:28:05 - End Time 2025-01-07 12:28:05
[2025-01-07 12:28:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 12:28:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194900', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:28:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194900', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:28:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194900', 'tblTempVendorCDR_20' ) start
[2025-01-07 12:28:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194900', 'tblTempVendorCDR_20' ) end
[2025-01-07 12:28:24] Production.INFO: ProcessCDR(1,14194900,1,1,2)
[2025-01-07 12:28:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194900,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:28:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194900,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:28:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194900,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:28:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194900,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:28:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194900', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:28:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194900', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:28:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 12:28:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 12:28:29] Production.INFO: ==8727== Releasing lock...
[2025-01-07 12:28:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 12:28:29] Production.INFO: 64 MB #Memory Used#
[2025-01-07 17:29:01] Production.INFO: ==8784== Lock acquired, processing the job...
[2025-01-07 17:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 17:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 17:29:01] Production.INFO: neon service started
[2025-01-07 17:29:01] Production.INFO: neon service started
[2025-01-07 17:29:01] Production.INFO: ==8784== Releasing lock...
[2025-01-07 17:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 17:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 17:29:02] Production.INFO: ==8788== Lock acquired, processing the job...
[2025-01-07 17:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 17:29:02] Production.INFO: ==8788== Releasing lock...
[2025-01-07 17:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 17:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 12:29:02] Production.INFO: ==8786== Lock acquired, processing the job...
[2025-01-07 12:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 12:29:02] Production.INFO: ==8786== Releasing lock...
[2025-01-07 12:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 12:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:29:03] Production.INFO: ==8790== Lock acquired, processing the job...
[2025-01-07 12:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 12:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 12:29:03] Production.INFO: ==8800== Lock acquired, processing the job...
[2025-01-07 12:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 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-07 12:29:03] Production.INFO: ==8792== Lock acquired, processing the job...
[2025-01-07 12:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 12:29:03] Production.INFO: ==8794== Lock acquired, processing the job...
[2025-01-07 12:29:03] Production.INFO: count ==21
[2025-01-07 12:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 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-07 12:29:03] Production.INFO: count ==21
[2025-01-07 12:29:03] Production.INFO: ==8798== Lock acquired, processing the job...
[2025-01-07 12:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 12:29:03] Production.INFO: ==8796== Lock acquired, processing the job...
[2025-01-07 12:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 12:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194902') start
[2025-01-07 12:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 12:29:03] Production.INFO: Account Balance Start.
[2025-01-07 12:29:03] Production.INFO: CreateAllLog Start
[2025-01-07 12:29:03] Production.INFO: 117
[2025-01-07 12:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 12:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 12:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 12:29:03] Production.INFO: Date 2024-12-08
[2025-01-07 12:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 12:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194902') end
[2025-01-07 12:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 12:29:03] Production.INFO: 1
[2025-01-07 12:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 12:29:03] Production.INFO: Date 2024-12-09
[2025-01-07 12:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:29:03] Production.INFO: ==8800== Releasing lock...
[2025-01-07 12:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 12:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 12:29:03] Production.INFO: Date 2024-12-10
[2025-01-07 12:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:29:03] Production.INFO: Date 2024-12-11
[2025-01-07 12:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:29:03] Production.INFO: Date 2024-12-12
[2025-01-07 12:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:29:03] Production.INFO: Date 2024-12-13
[2025-01-07 12:29:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:29:04] Production.INFO: ==8792== Releasing lock...
[2025-01-07 12:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 12:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 12:29:04] Production.ERROR: done
[2025-01-07 12:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 12:29:04] Production.INFO: Date 2024-12-14
[2025-01-07 12:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:29:04] Production.INFO: Date 2024-12-15
[2025-01-07 12:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:29:04] Production.INFO: Date 2024-12-16
[2025-01-07 12:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:29:04] Production.INFO: Date 2024-12-17
[2025-01-07 12:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:29:04] Production.INFO: Date 2024-12-18
[2025-01-07 12:29:04] Production.ERROR: done
[2025-01-07 12:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:29:04] Production.INFO: Date 2024-12-19
[2025-01-07 12:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:29:04] Production.INFO: Date 2024-12-20
[2025-01-07 12:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:29:04] Production.INFO: Date 2024-12-21
[2025-01-07 12:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:29:04] Production.INFO: Date 2024-12-22
[2025-01-07 12:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:29:04] Production.INFO: Date 2024-12-23
[2025-01-07 12:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:29:04] Production.INFO: Date 2024-12-24
[2025-01-07 12:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:29:04] Production.INFO: Date 2024-12-25
[2025-01-07 12:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:29:04] Production.INFO: Date 2024-12-26
[2025-01-07 12:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:29:04] Production.INFO: Date 2024-12-27
[2025-01-07 12:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:29:04] Production.INFO: Date 2024-12-28
[2025-01-07 12:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:29:04] Production.INFO: Date 2024-12-29
[2025-01-07 12:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:29:04] Production.INFO: Date 2024-12-30
[2025-01-07 12:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:29:04] Production.INFO: Date 2024-12-31
[2025-01-07 12:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:29:04] Production.INFO: Date 2025-01-01
[2025-01-07 12:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:29:04] Production.INFO: Date 2025-01-02
[2025-01-07 12:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:29:04] Production.INFO: Date 2025-01-03
[2025-01-07 12:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:29:04] Production.INFO: Date 2025-01-04
[2025-01-07 12:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:29:04] Production.INFO: Date 2025-01-05
[2025-01-07 12:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:29:04] Production.INFO: Date 2025-01-06
[2025-01-07 12:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:29:04] Production.INFO: Date 2025-01-07
[2025-01-07 12:29:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:29:04] Production.INFO: Total Charge 0
[2025-01-07 12:29:04] Production.INFO: CreateAllLog End
[2025-01-07 12:29:05] Production.INFO: Account Balance End.
[2025-01-07 12:29:05] Production.ERROR: CronJobId end 12
[2025-01-07 12:29:05] Production.INFO: ==8796== Releasing lock...
[2025-01-07 12:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 12:29:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 12:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 09:29:05
[end_date_ymd] => 2025-01-07 12:29:05
[RateCDR] => 1
)
[2025-01-07 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-07 09:29:05' and `end` < '2025-01-07 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-07 12:29:11] Production.ERROR: CronJobId end10
[2025-01-07 12:29:11] Production.INFO: ==8794== Releasing lock...
[2025-01-07 12:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 12:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 12:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 12:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-07 12:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-07 12:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 12:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 12:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 12:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 12:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 12:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 12:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 12:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 12:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 12:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 12:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 12:29:13] Production.INFO: call_cost start
[2025-01-07 12:29:13] Production.INFO: call_cost end
[2025-01-07 12:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 12:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-07 12:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-07 12:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 12:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 12:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 12:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 12:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-07 12:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-07 12:29:14] Production.INFO: ==8790== Releasing lock...
[2025-01-07 12:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 12:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:29:29] Production.INFO: count ==4805
[2025-01-07 12:29:31] Production.ERROR: pbx CDR StartTime 2025-01-07 09:29:05 - End Time 2025-01-07 12:29:05
[2025-01-07 12:29:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 12:29:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194905', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:29:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194905', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:29:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194905', 'tblTempVendorCDR_20' ) start
[2025-01-07 12:29:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194905', 'tblTempVendorCDR_20' ) end
[2025-01-07 12:29:31] Production.INFO: ProcessCDR(1,14194905,1,1,2)
[2025-01-07 12:29:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194905,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:29:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194905,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:29:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194905,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:29:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194905,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:29:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194905', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:29:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194905', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:29:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 12:29:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 12:29:35] Production.INFO: ==8798== Releasing lock...
[2025-01-07 12:29:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 12:29:35] Production.INFO: 64 MB #Memory Used#
[2025-01-07 17:30:02] Production.INFO: ==8859== Lock acquired, processing the job...
[2025-01-07 17:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 17:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 17:30:02] Production.INFO: neon service started
[2025-01-07 17:30:02] Production.INFO: neon service started
[2025-01-07 17:30:02] Production.INFO: ==8859== Releasing lock...
[2025-01-07 17:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 17:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 12:30:02] Production.INFO: ==8861== Lock acquired, processing the job...
[2025-01-07 12:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 17:30:02] Production.INFO: ==8863== Lock acquired, processing the job...
[2025-01-07 17:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 17:30:02] Production.INFO: ==8863== Releasing lock...
[2025-01-07 17:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 17:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 12:30:03] Production.INFO: ==8861== Releasing lock...
[2025-01-07 12:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 12:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:30:03] Production.INFO: ==8870== Lock acquired, processing the job...
[2025-01-07 12:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 12:30:04] Production.INFO: ==8874== Lock acquired, processing the job...
[2025-01-07 12:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 12:30:04] Production.INFO: ==8866== Lock acquired, processing the job...
[2025-01-07 12:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-07 12:30:04] Production.INFO: ==8868== Lock acquired, processing the job...
[2025-01-07 12:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 12:30:04] Production.INFO: Account Balance Start.
[2025-01-07 12:30:04] Production.INFO: CreateAllLog Start
[2025-01-07 12:30:04] Production.INFO: 117
[2025-01-07 12:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-07 12:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 12:30:04] Production.ERROR: CronJob PID - 8870
[2025-01-07 12:30:04] Production.ERROR: CronJob Title - Account Block
[2025-01-07 12:30:04] Production.ERROR: CronJob ID - 7
[2025-01-07 12:30:04] Production.ERROR: CronJob Last Run Time 2025-01-07 12:30:00
[2025-01-07 12:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 12:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 12:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-07 12:30:04] Production.ERROR: CronJob PID - 8874
[2025-01-07 12:30:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-07 12:30:04] Production.ERROR: CronJob ID - 12
[2025-01-07 12:30:04] Production.ERROR: CronJob Last Run Time 2025-01-07 12:30:00
[2025-01-07 12:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-07 12:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-07 12:30:04] Production.INFO: Date 2024-12-08
[2025-01-07 12:30:04] Production.INFO: ==8876== Lock acquired, processing the job...
[2025-01-07 12:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 12:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-07 12:30:04] Production.INFO: ==8866== Releasing lock...
[2025-01-07 12:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-07 12:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 12:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:30:04] Production.INFO: Date 2024-12-09
[2025-01-07 12:30:04] Production.INFO: ==8872== Lock acquired, processing the job...
[2025-01-07 12:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 12:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 12:30:04] Production.INFO: Date 2024-12-10
[2025-01-07 12:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 12:30:04] Production.INFO: ==8878== Lock acquired, processing the job...
[2025-01-07 12:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-07 12:30:04] Production.INFO: ==8880== Lock acquired, processing the job...
[2025-01-07 12:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 12:30:04] Production.INFO: Date 2024-12-11
[2025-01-07 12:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:30:04] Production.INFO: Date 2024-12-12
[2025-01-07 12:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 12:30:04] Production.INFO: ==8870== Releasing lock...
[2025-01-07 12:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 12:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 12:30:04] Production.INFO: Date 2024-12-13
[2025-01-07 12:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 12:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 12:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 12:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 12:30:04] Production.INFO: Date 2024-12-14
[2025-01-07 12:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 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-07 12:30:04] Production.INFO: count ==21
[2025-01-07 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-07 12:30:04] Production.INFO: count ==21
[2025-01-07 12:30:04] Production.ERROR: done
[2025-01-07 12:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 12:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194909') start
[2025-01-07 12:30:04] Production.INFO: Date 2024-12-15
[2025-01-07 12:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:30:04] Production.INFO: Date 2024-12-16
[2025-01-07 12:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:30:04] Production.INFO: Date 2024-12-17
[2025-01-07 12:30:04] Production.ERROR: done
[2025-01-07 12:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:30:04] Production.INFO: Date 2024-12-18
[2025-01-07 12:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194909') end
[2025-01-07 12:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 12:30:04] Production.INFO: 1
[2025-01-07 12:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 12:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-07 12:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14194910', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) start
[2025-01-07 12:30:04] Production.INFO: Date 2024-12-19
[2025-01-07 12:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:30:04] Production.INFO: ==8880== Releasing lock...
[2025-01-07 12:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 12:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 12:30:04] Production.ERROR: done
[2025-01-07 12:30:04] Production.INFO: Date 2024-12-20
[2025-01-07 12:30:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:30:04] Production.INFO: Date 2024-12-21
[2025-01-07 12:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:30:05] Production.INFO: Date 2024-12-22
[2025-01-07 12:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:30:05] Production.INFO: Date 2024-12-23
[2025-01-07 12:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:30:05] Production.INFO: Date 2024-12-24
[2025-01-07 12:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:30:05] Production.INFO: Date 2024-12-25
[2025-01-07 12:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:30:05] Production.INFO: Date 2024-12-26
[2025-01-07 12:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:30:05] Production.INFO: Date 2024-12-27
[2025-01-07 12:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:30:05] Production.INFO: Date 2024-12-28
[2025-01-07 12:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:30:05] Production.INFO: Date 2024-12-29
[2025-01-07 12:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:30:05] Production.INFO: Date 2024-12-30
[2025-01-07 12:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:30:05] Production.INFO: Date 2024-12-31
[2025-01-07 12:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:30:05] Production.INFO: Date 2025-01-01
[2025-01-07 12:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:30:05] Production.INFO: Date 2025-01-02
[2025-01-07 12:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:30:05] Production.INFO: Date 2025-01-03
[2025-01-07 12:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:30:05] Production.INFO: Date 2025-01-04
[2025-01-07 12:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:30:05] Production.INFO: Date 2025-01-05
[2025-01-07 12:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:30:05] Production.INFO: Date 2025-01-06
[2025-01-07 12:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:30:05] Production.INFO: Date 2025-01-07
[2025-01-07 12:30:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:30:05] Production.INFO: Total Charge 0
[2025-01-07 12:30:05] Production.INFO: CreateAllLog End
[2025-01-07 12:30:05] Production.INFO: Account Balance End.
[2025-01-07 12:30:05] Production.ERROR: CronJobId end 12
[2025-01-07 12:30:05] Production.INFO: ==8874== Releasing lock...
[2025-01-07 12:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 12:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 12:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 09:30:06
[end_date_ymd] => 2025-01-07 12:30:06
[RateCDR] => 1
)
[2025-01-07 12:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 09:30:06' and `end` < '2025-01-07 12:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 12:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14194910', 'tblTempUsageDetail_20reseller','2025-01-07','2025-01-07','1' ) end
[2025-01-07 12:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-07 12:30:08] Production.INFO: ProcessCDR(1,14194910,1,1,2)
[2025-01-07 12:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14194910,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14194910,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 12:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 12:30:08] Production.INFO: ==8878== Releasing lock...
[2025-01-07 12:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-07 12:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-07 12:30:13] Production.ERROR: CronJobId end10
[2025-01-07 12:30:13] Production.INFO: ==8872== Releasing lock...
[2025-01-07 12:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 12:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 12:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 12:30:15] Production.INFO: ============== Balance Warning START===========
[2025-01-07 12:30:15] Production.INFO: ============== Balance Warning END===========
[2025-01-07 12:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 12:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 12:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 12:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 12:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 12:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 12:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 12:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 12:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 12:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 12:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 12:30:15] Production.INFO: call_cost start
[2025-01-07 12:30:15] Production.INFO: call_cost end
[2025-01-07 12:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 12:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-07 12:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-07 12:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 12:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 12:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 12:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 12:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-07 12:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-07 12:30:16] Production.INFO: ==8868== Releasing lock...
[2025-01-07 12:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 12:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:30:31] Production.INFO: count ==4833
[2025-01-07 12:30:33] Production.ERROR: pbx CDR StartTime 2025-01-07 09:30:06 - End Time 2025-01-07 12:30:06
[2025-01-07 12:30:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 12:30:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194911', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:30:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194911', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:30:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194911', 'tblTempVendorCDR_20' ) start
[2025-01-07 12:30:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194911', 'tblTempVendorCDR_20' ) end
[2025-01-07 12:30:33] Production.INFO: ProcessCDR(1,14194911,1,1,2)
[2025-01-07 12:30:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194911,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:30:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194911,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:30:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194911,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:30:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194911,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:30:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194911', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:30:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194911', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:30:38] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 12:30:38] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 12:30:38] Production.INFO: ==8876== Releasing lock...
[2025-01-07 12:30:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 12:30:38] Production.INFO: 64.25 MB #Memory Used#
[2025-01-07 17:31:01] Production.INFO: ==8934== Lock acquired, processing the job...
[2025-01-07 17:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 17:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 17:31:01] Production.INFO: neon service started
[2025-01-07 17:31:01] Production.INFO: neon service started
[2025-01-07 17:31:01] Production.INFO: ==8934== Releasing lock...
[2025-01-07 17:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 17:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 12:31:01] Production.INFO: ==8936== Lock acquired, processing the job...
[2025-01-07 12:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 12:31:02] Production.INFO: ==8936== Releasing lock...
[2025-01-07 12:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 12:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 17:31:02] Production.INFO: ==8938== Lock acquired, processing the job...
[2025-01-07 17:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 17:31:02] Production.INFO: ==8938== Releasing lock...
[2025-01-07 17:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 17:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 12:31:02] Production.INFO: ==8945== Lock acquired, processing the job...
[2025-01-07 12:31:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 12:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 12:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 12:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 12:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 12:31:03] Production.INFO: ==8951== Lock acquired, processing the job...
[2025-01-07 12:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 12:31:03] Production.INFO: ==8941== Lock acquired, processing the job...
[2025-01-07 12:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 12:31:03] Production.INFO: ==8943== Lock acquired, processing the job...
[2025-01-07 12:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 12:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 12:31:03] Production.INFO: ==8947== Lock acquired, processing the job...
[2025-01-07 12:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 12:31:03] Production.INFO: count ==21
[2025-01-07 12:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 12:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 12:31:03] Production.INFO: count ==21
[2025-01-07 12:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194912') start
[2025-01-07 12:31:03] Production.INFO: ==8949== Lock acquired, processing the job...
[2025-01-07 12:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 12:31:03] Production.INFO: Account Balance Start.
[2025-01-07 12:31:03] Production.INFO: CreateAllLog Start
[2025-01-07 12:31:03] Production.INFO: 117
[2025-01-07 12:31:03] Production.INFO: Date 2024-12-08
[2025-01-07 12:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 12:31:03] Production.INFO: Date 2024-12-09
[2025-01-07 12:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14194912') end
[2025-01-07 12:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 12:31:03] Production.INFO: 1
[2025-01-07 12:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 12:31:03] Production.INFO: Date 2024-12-10
[2025-01-07 12:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:31:03] Production.INFO: ==8951== Releasing lock...
[2025-01-07 12:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 12:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 12:31:03] Production.INFO: Date 2024-12-11
[2025-01-07 12:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:31:03] Production.INFO: ==8943== Releasing lock...
[2025-01-07 12:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 12:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 12:31:03] Production.INFO: Date 2024-12-12
[2025-01-07 12:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:31:03] Production.INFO: Date 2024-12-13
[2025-01-07 12:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:31:03] Production.INFO: Date 2024-12-14
[2025-01-07 12:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:31:03] Production.INFO: Date 2024-12-15
[2025-01-07 12:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:31:03] Production.ERROR: done
[2025-01-07 12:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 12:31:03] Production.INFO: Date 2024-12-16
[2025-01-07 12:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:31:03] Production.INFO: Date 2024-12-17
[2025-01-07 12:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:31:03] Production.INFO: Date 2024-12-18
[2025-01-07 12:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:31:03] Production.ERROR: done
[2025-01-07 12:31:03] Production.INFO: Date 2024-12-19
[2025-01-07 12:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:31:03] Production.INFO: Date 2024-12-20
[2025-01-07 12:31:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:31:04] Production.INFO: Date 2024-12-21
[2025-01-07 12:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:31:04] Production.INFO: Date 2024-12-22
[2025-01-07 12:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:31:04] Production.INFO: Date 2024-12-23
[2025-01-07 12:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:31:04] Production.INFO: Date 2024-12-24
[2025-01-07 12:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:31:04] Production.INFO: Date 2024-12-25
[2025-01-07 12:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:31:04] Production.INFO: Date 2024-12-26
[2025-01-07 12:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:31:04] Production.INFO: Date 2024-12-27
[2025-01-07 12:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:31:04] Production.INFO: Date 2024-12-28
[2025-01-07 12:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:31:04] Production.INFO: Date 2024-12-29
[2025-01-07 12:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:31:04] Production.INFO: Date 2024-12-30
[2025-01-07 12:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:31:04] Production.INFO: Date 2024-12-31
[2025-01-07 12:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:31:04] Production.INFO: Date 2025-01-01
[2025-01-07 12:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:31:04] Production.INFO: Date 2025-01-02
[2025-01-07 12:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:31:04] Production.INFO: Date 2025-01-03
[2025-01-07 12:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:31:04] Production.INFO: Date 2025-01-04
[2025-01-07 12:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:31:04] Production.INFO: Date 2025-01-05
[2025-01-07 12:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:31:04] Production.INFO: Date 2025-01-06
[2025-01-07 12:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:31:04] Production.INFO: Date 2025-01-07
[2025-01-07 12:31:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:31:04] Production.INFO: Total Charge 0
[2025-01-07 12:31:04] Production.INFO: CreateAllLog End
[2025-01-07 12:31:04] Production.INFO: Account Balance End.
[2025-01-07 12:31:04] Production.ERROR: CronJobId end 12
[2025-01-07 12:31:04] Production.INFO: ==8947== Releasing lock...
[2025-01-07 12:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 12:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 12:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 09:31:05
[end_date_ymd] => 2025-01-07 12:31:05
[RateCDR] => 1
)
[2025-01-07 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-07 09:31:05' and `end` < '2025-01-07 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-07 12:31:11] Production.ERROR: CronJobId end10
[2025-01-07 12:31:11] Production.INFO: ==8945== Releasing lock...
[2025-01-07 12:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 12:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 12:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 12:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-07 12:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-07 12:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 12:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 12:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 12:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 12:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 12:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 12:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 12:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 12:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 12:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 12:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 12:31:13] Production.INFO: call_cost start
[2025-01-07 12:31:13] Production.INFO: call_cost end
[2025-01-07 12:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 12:31:13] Production.INFO: ============== Report Schedule START===========
[2025-01-07 12:31:13] Production.INFO: ============== Report Schedule END===========
[2025-01-07 12:31:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 12:31:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 12:31:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 12:31:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 12:31:13] Production.INFO: ============== Deal alert START===========
[2025-01-07 12:31:13] Production.INFO: ============== Deal alert END===========
[2025-01-07 12:31:13] Production.INFO: ==8941== Releasing lock...
[2025-01-07 12:31:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 12:31:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:31:38] Production.INFO: count ==4809
[2025-01-07 12:31:40] Production.ERROR: pbx CDR StartTime 2025-01-07 09:31:05 - End Time 2025-01-07 12:31:05
[2025-01-07 12:31:40] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 12:31:40] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194916', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:31:40] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194916', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:31:40] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194916', 'tblTempVendorCDR_20' ) start
[2025-01-07 12:31:40] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194916', 'tblTempVendorCDR_20' ) end
[2025-01-07 12:31:40] Production.INFO: ProcessCDR(1,14194916,1,1,2)
[2025-01-07 12:31:40] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194916,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:31:42] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194916,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:31:42] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194916,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:31:45] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194916,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:31:45] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194916', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:31:45] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194916', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:31:45] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 12:31:45] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 12:31:45] Production.INFO: ==8949== Releasing lock...
[2025-01-07 12:31:45] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 12:31:45] Production.INFO: 64 MB #Memory Used#
[2025-01-07 17:32:02] Production.INFO: ==9005== Lock acquired, processing the job...
[2025-01-07 17:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 17:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 17:32:02] Production.INFO: neon service started
[2025-01-07 17:32:02] Production.INFO: neon service started
[2025-01-07 17:32:02] Production.INFO: ==9005== Releasing lock...
[2025-01-07 17:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 17:32:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-07 12:32:02] Production.INFO: ==9007== Lock acquired, processing the job...
[2025-01-07 12:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 17:32:02] Production.INFO: ==9010== Lock acquired, processing the job...
[2025-01-07 17:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 17:32:02] Production.INFO: ==9010== Releasing lock...
[2025-01-07 17:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 17:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-07 12:32:02] Production.INFO: ==9007== Releasing lock...
[2025-01-07 12:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 12:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:32:03] Production.INFO: ==9014== Lock acquired, processing the job...
[2025-01-07 12:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-07 12:32:03] Production.INFO: ==9018== Lock acquired, processing the job...
[2025-01-07 12:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-07 12:32:03] Production.INFO: ==9020== Lock acquired, processing the job...
[2025-01-07 12:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-07 12:32:03] Production.INFO: Account Balance Start.
[2025-01-07 12:32:03] Production.INFO: CreateAllLog Start
[2025-01-07 12:32:03] Production.INFO: 117
[2025-01-07 12:32:03] Production.INFO: Date 2024-12-08
[2025-01-07 12:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:32:03] Production.INFO: Date 2024-12-09
[2025-01-07 12:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-07 12:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:32:03] Production.INFO: ==9012== Lock acquired, processing the job...
[2025-01-07 12:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-07 12:32:03] Production.INFO: Date 2024-12-10
[2025-01-07 12:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:32:03] Production.INFO: Date 2024-12-11
[2025-01-07 12:32:03] Production.INFO: Reseller ==> 0
[2025-01-07 12:32:04] Production.INFO: ==9016== Lock acquired, processing the job...
[2025-01-07 12:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-07 12:32:04] Production.INFO: Date 2024-12-12
[2025-01-07 12:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:32:04] Production.INFO: ==9022== Lock acquired, processing the job...
[2025-01-07 12:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-07 12:32:04] Production.INFO: Date 2024-12-13
[2025-01-07 12:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-07 12:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:32:04] Production.INFO: ==9014== Releasing lock...
[2025-01-07 12:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-07 12:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-07 12:32:04] Production.INFO: Date 2024-12-14
[2025-01-07 12:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:32:04] Production.ERROR: done
[2025-01-07 12:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-07 12:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250107Live done
[2025-01-07 12:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107Live done
[2025-01-07 12:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250107Live)
[2025-01-07 12:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 12:32:04] Production.INFO: Date 2024-12-15
[2025-01-07 12:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-07','2025-01-07','120250107Live')
[2025-01-07 12:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:32:04] Production.INFO: count ==21
[2025-01-07 12:32:04] Production.INFO: Date 2024-12-16
[2025-01-07 12:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-07 12:32:04] Production.INFO: count ==21
[2025-01-07 12:32:04] Production.ERROR: done
[2025-01-07 12:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194920') start
[2025-01-07 12:32:04] Production.INFO: Date 2024-12-17
[2025-01-07 12:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14194920') end
[2025-01-07 12:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-07 12:32:04] Production.INFO: 1
[2025-01-07 12:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-07 12:32:04] Production.INFO: Date 2024-12-18
[2025-01-07 12:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:32:04] Production.INFO: ==9022== Releasing lock...
[2025-01-07 12:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-07 12:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-07 12:32:04] Production.INFO: Date 2024-12-19
[2025-01-07 12:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:32:04] Production.INFO: Date 2024-12-20
[2025-01-07 12:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:32:04] Production.INFO: Date 2024-12-21
[2025-01-07 12:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:32:04] Production.INFO: Date 2024-12-22
[2025-01-07 12:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:32:04] Production.INFO: Date 2024-12-23
[2025-01-07 12:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:32:04] Production.INFO: Date 2024-12-24
[2025-01-07 12:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:32:04] Production.INFO: Date 2024-12-25
[2025-01-07 12:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:32:04] Production.INFO: Date 2024-12-26
[2025-01-07 12:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:32:04] Production.INFO: Date 2024-12-27
[2025-01-07 12:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:32:04] Production.INFO: Date 2024-12-28
[2025-01-07 12:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:32:04] Production.INFO: Date 2024-12-29
[2025-01-07 12:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:32:04] Production.INFO: Date 2024-12-30
[2025-01-07 12:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:32:04] Production.INFO: Date 2024-12-31
[2025-01-07 12:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:32:04] Production.INFO: Date 2025-01-01
[2025-01-07 12:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:32:04] Production.INFO: Date 2025-01-02
[2025-01-07 12:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:32:04] Production.INFO: Date 2025-01-03
[2025-01-07 12:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:32:04] Production.INFO: Date 2025-01-04
[2025-01-07 12:32:04] Production.INFO: Reseller ==> 0
[2025-01-07 12:32:05] Production.INFO: Date 2025-01-05
[2025-01-07 12:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:32:05] Production.INFO: Date 2025-01-06
[2025-01-07 12:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:32:05] Production.INFO: Date 2025-01-07
[2025-01-07 12:32:05] Production.INFO: Reseller ==> 0
[2025-01-07 12:32:05] Production.INFO: Total Charge 0
[2025-01-07 12:32:05] Production.INFO: CreateAllLog End
[2025-01-07 12:32:05] Production.INFO: Account Balance End.
[2025-01-07 12:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-07 09:32:05
[end_date_ymd] => 2025-01-07 12:32:05
[RateCDR] => 1
)
[2025-01-07 12:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-07 09:32:05' and `end` < '2025-01-07 12:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-07 12:32:05] Production.ERROR: CronJobId end 12
[2025-01-07 12:32:05] Production.INFO: ==9018== Releasing lock...
[2025-01-07 12:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-07 12:32:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-07 12:32:12] Production.ERROR: CronJobId end10
[2025-01-07 12:32:12] Production.INFO: ==9016== Releasing lock...
[2025-01-07 12:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-07 12:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-07 12:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-07 12:32:14] Production.INFO: ============== Balance Warning START===========
[2025-01-07 12:32:14] Production.INFO: ============== Balance Warning END===========
[2025-01-07 12:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-07 12:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-07 12:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-07 12:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-07 12:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-07 12:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-07 12:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-07 12:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-07 12:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-07 12:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-07 12:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-07 12:32:14] Production.INFO: call_cost start
[2025-01-07 12:32:14] Production.INFO: call_cost end
[2025-01-07 12:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-07 12:32:15] Production.INFO: ============== Report Schedule START===========
[2025-01-07 12:32:15] Production.INFO: ============== Report Schedule END===========
[2025-01-07 12:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-07 12:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-07 12:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-07 12:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-07 12:32:15] Production.INFO: ============== Deal alert START===========
[2025-01-07 12:32:15] Production.INFO: ============== Deal alert END===========
[2025-01-07 12:32:15] Production.INFO: ==9012== Releasing lock...
[2025-01-07 12:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-07 12:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-07 12:32:38] Production.INFO: count ==4827
[2025-01-07 12:32:40] Production.ERROR: pbx CDR StartTime 2025-01-07 09:32:05 - End Time 2025-01-07 12:32:05
[2025-01-07 12:32:40] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-07 12:32:40] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194921', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:32:40] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14194921', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:32:40] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194921', 'tblTempVendorCDR_20' ) start
[2025-01-07 12:32:40] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14194921', 'tblTempVendorCDR_20' ) end
[2025-01-07 12:32:40] Production.INFO: ProcessCDR(1,14194921,1,1,2)
[2025-01-07 12:32:40] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14194921,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:32:42] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14194921,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-07 12:32:42] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14194921,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:32:44] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14194921,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-07 12:32:44] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194921', 'tblTempUsageDetail_20' ) start
[2025-01-07 12:32:44] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14194921', 'tblTempUsageDetail_20' ) end
[2025-01-07 12:32:44] Production.ERROR: pbx prc_insertCDR start
[2025-01-07 12:32:44] Production.ERROR: pbx prc_insertCDR end
[2025-01-07 12:32:44] Production.INFO: ==9020== Releasing lock...
[2025-01-07 12:32:44] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-07 12:32:44] Production.INFO: 64.25 MB #Memory Used#
[2025-01-07 17:33:01] Production.INFO: ==9077== Lock acquired, processing the job...
[2025-01-07 17:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-07 17:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-07 17:33:01] Production.INFO: neon service started
[2025-01-07 17:33:01] Production.INFO: neon service started
[2025-01-07 17:33:01] Production.INFO: ==9077== Releasing lock...
[2025-01-07 17:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-07 17:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-07 17:33:01] Production.INFO: ==9081== Lock acquired, processing the job...
[2025-01-07 17:33:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-07 17:33:01] Production.INFO: ==9081== Releasing lock...
[2025-01-07 17:33:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-07 17:33:01] Production.INFO: 25 MB #Memory Used#
[2025-01-07 12:33:01] Production.INFO: ==9079== Lock acquired, processing the job...
[2025-01-07 12:33:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-07 12:33:02] Production.INFO: ==9079== Releasing lock...
[2025-01-07 12:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-07 12:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-07 12:33:02] Production.INFO: ==9087== Lock acquired, processing the job...
[2025-01-07 12:33:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01